logicsrc/packages/cli/src
Anthony Ettinger 3d155af970
vault + teams: filter secrets by category, export to CSV, simpler help (#195)
Every secret now has a category derived from its name (db, social, server,
api, cloud, finance, crypto, ai, email, messaging, storage, dns, analytics,
devtools, auth, config, other). One rule table in @logicsrc/opencreds serves
both vaults; services win over generic words, so STRIPE_WEBHOOK_SECRET is
finance, not auth. Checked against the 1,208 distinct key names in the
profullstack team: 74 fall to "other".

Team vaults (where the shared .env secrets live):
- teams categories [team]    the filter words, with per-category counts
- teams secrets <team> [project] [env] --category/-c --search/-s
                             names + categories, never decrypts; --format csv
- teams export  <team> [project] [env] --category -o file.csv [--yes]
                             decrypts into team,project,env,category,key,
                             value,updated_at (0600); skips vaults without a
                             grant and names them

Personal vault (OpenCreds):
- vault list --category, and the category column in list output
- vault export --format csv: one flat row per item, keeps key/account
  secrets that a Bitwarden CSV drops; --category on every export format

DX:
- examples in `logicsrc vault help` / -h / --help that start by saying which
  of the two vaults you want, plus examples on teams and each subcommand
- password prompts go to stderr, so eval "$(logicsrc vault unlock)" works
- hints name the command you actually ran (logicsrc vault init, not
  opencreds init)

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-23 21:08:08 -07:00
..
config.test.ts fix(cli): block config prototype pollution (#54) 2026-06-13 22:52:20 -07:00
config.ts fix(credentials): one vault per user, in the config dir (#119) 2026-07-31 22:53:17 -07:00
context.ts Add the LogicSRC OpenContext specification (#132) 2026-08-09 11:46:11 -07:00
creds.ts vault + teams: filter secrets by category, export to CSV, simpler help (#195) 2026-09-23 21:08:08 -07:00
fixtures.ts Scaffold LogicSRC and CommandBoard plugins 2026-06-06 11:24:02 +00:00
fleet.test.ts OpenFleet reference implementation: @logicsrc/openfleet, logicsrc fleet, and Claude Code hooks (#185) 2026-09-13 10:58:55 +00:00
fleet.ts OpenFleet reference implementation: @logicsrc/openfleet, logicsrc fleet, and Claude Code hooks (#185) 2026-09-13 10:58:55 +00:00
format.ts vault + teams: filter secrets by category, export to CSV, simpler help (#195) 2026-09-23 21:08:08 -07:00
index.test.ts Add feed discovery plugin 2026-06-09 09:34:31 +00:00
index.ts vault + teams: filter secrets by category, export to CSV, simpler help (#195) 2026-09-23 21:08:08 -07:00
install-npm.test.ts Ship OpenFleet contracts and the OpenWall draft proposal (#177) 2026-09-13 00:57:45 -07:00
mcp.ts logicsrc CLI 0.2.0: every LogicSRC tool is a word after logicsrc (#157) 2026-09-12 11:16:40 -07:00
numeric-options.test.ts fix(cli): validate positive numeric options (#49) 2026-06-13 22:55:18 -07:00
numeric-options.ts fix(cli): validate positive numeric options (#49) 2026-06-13 22:55:18 -07:00
ontology.ts feat(openontology): Phase 2 + Phase 3 — storage, REST/SSE, MCP, RDF/SHACL, adapters, TUI, explorer (#101) 2026-07-28 05:10:33 -07:00
openmcp.ts logicsrc CLI 0.2.0: every LogicSRC tool is a word after logicsrc (#157) 2026-09-12 11:16:40 -07:00
openspec-dev.ts logicsrc CLI 0.2.0: every LogicSRC tool is a word after logicsrc (#157) 2026-09-12 11:16:40 -07:00
openspec.ts Implement OpenSpec artifacts and SDK contracts 2026-06-06 16:44:58 +00:00
prd.ts Add Tech Stack and Monetization sections to OpenPRD (0.3) (#144) 2026-09-06 16:50:11 -07:00
registry.ts Add AgentBBS connector plugin (#131) 2026-08-04 18:43:31 -07:00
rotate.ts feat(credentials): re-key team vaults, and reach sh1pt's vault as a provider (#117) 2026-07-30 18:41:03 -07:00
secrets-link.test.ts feat(credentials): link directories to team secrets (#129) 2026-08-04 17:17:04 -07:00
secrets-link.ts feat(credentials): link directories to team secrets (#129) 2026-08-04 17:17:04 -07:00
ssh.test.ts Add SSH keys and config to credential sharing (#139) 2026-08-13 17:03:00 -07:00
ssh.ts Add SSH keys and config to credential sharing (#139) 2026-08-13 17:03:00 -07:00
teams.test.ts fix(cli): vault names join with "--", not "/" — the server rejects slashes (#112) 2026-07-30 13:32:07 -07:00
teams.ts vault + teams: filter secrets by category, export to CSV, simpler help (#195) 2026-09-23 21:08:08 -07:00
umbrella.test.ts logicsrc CLI 0.2.0: every LogicSRC tool is a word after logicsrc (#157) 2026-09-12 11:16:40 -07:00
update.test.ts fix(cli): make logicsrc update actually check for updates 2026-07-29 06:15:28 +00:00
update.ts fix(credentials): one vault per user, in the config dir (#119) 2026-07-31 22:53:17 -07:00
vault-tui-run.ts Add logicsrc teams tui, a browser for team vaults (#146) 2026-09-08 08:07:17 -07:00
vault-tui.test.ts Add logicsrc teams tui, a browser for team vaults (#146) 2026-09-08 08:07:17 -07:00
vault-tui.ts Add logicsrc teams tui, a browser for team vaults (#146) 2026-09-08 08:07:17 -07:00