logicsrc/packages/cli/package.json
Anthony Ettinger 31d7375f58 feat(teams): rotate secret values, with per-entry rotation instructions (CLI 0.9.0)
`credentials rotate` only re-keys a vault: values stay the same, so it does
nothing after a value leaks. This adds value rotation that agents can run.

- `teams rotation <team> [project] [env]`: per value, the method (random,
  ssh-keygen, command, manual), where the instructions come from, how many
  vaults hold it, and since when. --format json carries the steps for agents.
- `teams rotation-set <team> <project> <env> <KEY>`: store instructions as an
  encrypted `__ROTATE__<KEY>` entry. The team provider hides that prefix
  from sync, so it never lands in a .env and a push never deletes it.
- `teams rotate-keys <team> [project] [env] [--key] [--approve]`: dry run by
  default. random/ssh-keygen/command values are minted and written to EVERY
  vault holding the same value (by fingerprint); manual ones come back as
  steps. `--set-from-stdin` stores a hand-rotated value everywhere the old
  one lives. Values never print.
- Built-in catalog by key name: wallet keys and data-encryption keys are
  never automatic; provider keys point at the provider's dashboard; only
  secrets we mint ourselves are random (META_APP_SECRET etc. are not).
- Empty values (one shared fingerprint) are never planned or overwritten.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 14:31:15 +00:00

44 lines
1.6 KiB
JSON

{
"name": "@logicsrc/cli",
"version": "0.9.0",
"description": "LogicSRC CLI: every LogicSRC standard and tool as one command.",
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"bin": {
"logicsrc": "./dist/index.js"
},
"scripts": {
"build": "tsc -p tsconfig.json",
"dev": "tsx src/index.ts",
"test": "vitest run src"
},
"dependencies": {
"@fission-ai/openspec": "^1.15.0",
"@logicsrc/account-core": "file:../account-core",
"@logicsrc/opencontext": "file:../opencontext",
"@logicsrc/opencreds": "file:../opencreds",
"@logicsrc/openerrand": "file:../openerrand",
"@logicsrc/openfleet": "file:../openfleet",
"@logicsrc/openmcp": "^0.4.1",
"@logicsrc/openontology": "file:../openontology",
"@logicsrc/openprd": "file:../openprd",
"@logicsrc/plugin-agentbbs": "file:../../plugins/agentbbs",
"@logicsrc/plugin-coinpay": "file:../../plugins/coinpay",
"@logicsrc/plugin-core": "file:../plugin-core",
"@logicsrc/plugin-credential-sharing": "file:../../plugins/credential-sharing",
"@logicsrc/plugin-email-accounts": "file:../../plugins/email-accounts",
"@logicsrc/plugin-feed-discovery": "file:../../plugins/feed-discovery",
"@logicsrc/plugin-social-accounts": "file:../../plugins/social-accounts",
"@logicsrc/plugin-ugig": "file:../../plugins/ugig",
"@logicsrc/tui": "file:../tui",
"@logicsrc/validators": "file:../validators",
"@profullstack/hqtui": "^0.11.1",
"@profullstack/logicsrc-mcp": "file:../logicsrc-mcp",
"commander": "^15.0.0"
},
"devDependencies": {
"tsx": "^4.23.15",
"vitest": "^5.0.5"
}
}