@sechroom/cli 2026.6.8 → 2026.6.9-rc.2a81188f

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +29 -1
  2. package/dist/index.js +3087 -282
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -132,6 +132,27 @@ export SECHROOM_TENANT=ocd
132
132
  sechroom --json memory search "rate limiting"
133
133
  ```
134
134
 
135
+ ## Command surface (MCP parity)
136
+
137
+ The CLI mirrors the sechroom MCP tool surface — every command is a thin wrapper over the same HTTP endpoint the matching MCP tool shims, so enforcement (`[TenantPermission]`) is identical. Run `sechroom <group> --help` for the subcommands + examples.
138
+
139
+ | Group | Covers |
140
+ |---|---|
141
+ | `memory` | create / get / search · edit-text(+batch) · archive / restore / move · versions / revert · list-archived · owners / tags / types · sum-tokens · similar · by-url |
142
+ | `relationship` | create / list / delete · suggest · `suggestion` get / accept / reject / defer |
143
+ | `workspace` | create / list / get · rename / describe / move · archive / restore · feed |
144
+ | `project` | create / list / get · rename / describe / move · status · victory-conditions · archive / restore |
145
+ | `filing` | suggestions / get · preview · accept / reject / defer / edit-and-accept |
146
+ | `continuity` | snapshot-create / -get · snapshots · resume-me / resume-lane · changed-since · load-set · grant / revoke-grant |
147
+ | `id` | next / peek (FR-_/D-_ sequence allocation) |
148
+ | `account` | profile / set-profile · feed · reviews / review-get / review-accept · lookup-batch |
149
+ | `chat` | send · messages · replies · stop-tracking (Slack / Discord, via `--surface`) |
150
+ | `worklog` · `lookup` | append · resolve any id |
151
+
152
+ Notes on deliberate gaps (API-rooted, not CLI):
153
+ - **No `memory delete`** — the API exposes no hard DELETE; `memory archive` is the soft-delete path.
154
+ - **`memory revert`** needs `--text` + `--content` — the revert endpoint doesn't reconstruct a version's body from its number; pull them from `memory versions` / `memory get` first.
155
+
135
156
  ## Onboarding (`init` / `setup`)
136
157
 
137
158
  `sechroom init` wires a project for sechroom by rendering the server's
@@ -196,7 +217,14 @@ src/
196
217
  config.ts base-url / tenant / token resolution + persistence
197
218
  generated/api.d.ts typed client — `pnpm run gen`; real types committed (hermetic)
198
219
  commands/
199
- memory.ts create / get / search
220
+ memory.ts create / get / search / edit / archive / move / versions / …
221
+ relationships.ts relationships + relationship-suggestions
222
+ workspace.ts workspace CRUD + feed
223
+ project.ts project CRUD + status / victory-conditions
224
+ filing.ts filing-suggestion review (accept / reject / defer / edit-and-accept)
225
+ continuity.ts snapshots + resume / grant
226
+ account.ts id next/peek + profile / feed / reviews / lookup-batch
227
+ chat.ts read Slack / Discord messages + replies
200
228
  worklog.ts append
201
229
  lookup.ts resolve any id (mem_…/unprefixed/sechroom:<id>) -> kind/title/url
202
230
  setup.ts init + setup mcp/agent-files