logicsrc/packages/cli/src
Anthony Ettinger ca21348fcd
Add logicsrc teams tui, a browser for team vaults (#146)
Teams on the left, their vaults in the middle, and the selected vault's
detail on the right across three tabs: secret names, who can decrypt,
and the audit trail.

It never handles plaintext, and that is the point rather than a
limitation. The server only ever holds ciphertext and this keeps it that
way: no decryption key is fetched, none is unwrapped, and there is no
keybinding that would. The secrets tab says so on screen and points at
`logicsrc teams pull`, because otherwise the first thing anyone does is
hunt for a reveal key. A value that can appear on screen can appear in a
screen share, a scrollback buffer or a recording; names are what you
need to navigate, values are what you rarely need to look at.

Names, fingerprints and versions are enough to answer the questions you
actually open this for: does the vault exist, has the rotation landed,
and who can still read it.

Notes on the shape:

  - Vaults and detail load lazily, because each is a round trip. The
    three detail calls are settled independently, so a member without
    decryption access still sees the vault's shape and a missing audit
    endpoint does not blank the secrets list.
  - Changing team resets the vault selection. The old index means
    nothing in a different team's list, and keeping it silently selects
    an unrelated vault.
  - The secrets table shows a date rather than a timestamp. Three fixed
    columns plus a name that can run to thirty characters leaves no room,
    and a truncated clock looks like data while telling you nothing.
  - The audit table gives its widest floor to the action, not the actor:
    an email truncates to something recognisable, where "secrets…" could
    be put, get or delete.

The view is split from the loader so it renders headlessly without an
authenticated client or a terminal. 17 tests cover that, including one
asserting no ciphertext reaches the screen; 226 pass across the CLI.


Claude-Session: https://claude.ai/code/session_017Df2FNu5DhinMV2soRz3cy

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-08 08:07:17 -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 Add the LogicSRC OpenCreds specification (#140) 2026-08-29 04:11:38 -07:00
fixtures.ts
format.ts
index.test.ts Add feed discovery plugin 2026-06-09 09:34:31 +00:00
index.ts Add logicsrc teams tui, a browser for team vaults (#146) 2026-09-08 08:07:17 -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
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 Add logicsrc teams tui, a browser for team vaults (#146) 2026-09-08 08:07:17 -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