From 8346926568652edfa34b8a41453405075b885dbc Mon Sep 17 00:00:00 2001 From: Anthony Ettinger Date: Sun, 4 Oct 2026 09:51:52 +0000 Subject: [PATCH] CLI 0.5.0 for teams key; install via install.sh, not npm @logicsrc/cli is not on npm; the CLI ships through curl -fsSL https://logicsrc.com/install.sh | sh, which builds master and reports the version from packages/cli/package.json. 0.5.0 marks the first build with teams key, and the vault page now says so and points older installs at the jq fallback. Co-Authored-By: Claude Opus 5.5 --- apps/pwa/src/lib/vault-page.mjs | 4 ++-- bun.lock | 2 +- packages/cli/package.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/pwa/src/lib/vault-page.mjs b/apps/pwa/src/lib/vault-page.mjs index 5bd6b31f..ab5916db 100644 --- a/apps/pwa/src/lib/vault-page.mjs +++ b/apps/pwa/src/lib/vault-page.mjs @@ -24,7 +24,7 @@ export const KEY_HELP = `

It is the identity secret key the logicsrc CLI created the first time you ran logicsrc login. It lives only on that machine, in ~/.config/logicsrc/identity.json. On that machine, run:

logicsrc teams key
-

With an older CLI that has no key command, either of these prints the same thing:

+

That needs CLI 0.5.0 or later (curl -fsSL https://logicsrc.com/install.sh | sh -s -- update). On an older CLI, either of these prints the same thing:

jq -r .keys.secretKey ~/.config/logicsrc/identity.json
 node -p 'require(require("os").homedir()+"/.config/logicsrc/identity.json").keys.secretKey'

Pasting the whole identity.json works too; only secretKey is read. Installs from before the config move keep it at ~/.logicsrc/identity.json. Anyone holding this key can read every vault you can, so treat it like a password.

@@ -39,7 +39,7 @@ function keyCard({ publicKey, hasGrant, grantCommand }) {

You have no identity key yet, so no vault can be shared with you. Values are encrypted to a key only you hold. Make one in either place:

    -
  • In a terminal: npm i -g @logicsrc/cli, then logicsrc login. Then logicsrc teams key prints the key to paste here.
  • +
  • In a terminal: curl -fsSL https://logicsrc.com/install.sh | sh, then logicsrc login. Then logicsrc teams key prints the key to paste here.
  • Or here in this browser:
diff --git a/bun.lock b/bun.lock index 2d1e68f0..a45bdbfd 100644 --- a/bun.lock +++ b/bun.lock @@ -144,7 +144,7 @@ }, "packages/cli": { "name": "@logicsrc/cli", - "version": "0.4.0", + "version": "0.5.0", "bin": { "logicsrc": "dist/index.js", }, diff --git a/packages/cli/package.json b/packages/cli/package.json index 7ea4ce07..c87958ec 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@logicsrc/cli", - "version": "0.4.0", + "version": "0.5.0", "description": "LogicSRC CLI: every LogicSRC standard and tool as one command.", "type": "module", "main": "./dist/index.js",