@cello-protocol/cli 0.0.305 → 0.0.307

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 (234) hide show
  1. package/.claude-plugin/marketplace.json +15 -0
  2. package/README.md +107 -0
  3. package/dist/cli.d.ts +2 -0
  4. package/dist/cli.js +564 -0
  5. package/dist/daemon/account-page-assets.d.ts +4 -0
  6. package/dist/daemon/account-page-assets.js +160 -0
  7. package/dist/daemon/account-page.d.ts +14 -0
  8. package/dist/daemon/account-page.js +104 -0
  9. package/dist/daemon/address.d.ts +10 -0
  10. package/dist/daemon/address.js +34 -0
  11. package/dist/daemon/away.d.ts +31 -0
  12. package/dist/daemon/away.js +65 -0
  13. package/dist/daemon/channel-store.d.ts +112 -0
  14. package/dist/daemon/channel-store.js +284 -0
  15. package/dist/daemon/channels.d.ts +46 -0
  16. package/dist/daemon/channels.js +1049 -0
  17. package/dist/daemon/contacts.d.ts +26 -0
  18. package/dist/daemon/contacts.js +74 -0
  19. package/dist/daemon/engine.d.ts +80 -0
  20. package/dist/daemon/engine.js +2882 -0
  21. package/dist/daemon/errors.d.ts +5 -0
  22. package/dist/daemon/errors.js +16 -0
  23. package/dist/daemon/governance.d.ts +66 -0
  24. package/dist/daemon/governance.js +514 -0
  25. package/dist/daemon/guards.d.ts +36 -0
  26. package/dist/daemon/guards.js +140 -0
  27. package/dist/daemon/issuer-client.d.ts +56 -0
  28. package/dist/daemon/issuer-client.js +143 -0
  29. package/dist/daemon/link.d.ts +30 -0
  30. package/dist/daemon/link.js +191 -0
  31. package/dist/daemon/log.d.ts +1 -0
  32. package/dist/daemon/log.js +4 -0
  33. package/dist/daemon/main.d.ts +1 -0
  34. package/dist/daemon/main.js +511 -0
  35. package/dist/daemon/paths.d.ts +6 -0
  36. package/dist/daemon/paths.js +21 -0
  37. package/dist/daemon/pii.d.ts +24 -0
  38. package/dist/daemon/pii.js +146 -0
  39. package/dist/daemon/policy-cadence.d.ts +33 -0
  40. package/dist/daemon/policy-cadence.js +59 -0
  41. package/dist/daemon/policy-proposals.d.ts +41 -0
  42. package/dist/daemon/policy-proposals.js +83 -0
  43. package/dist/daemon/policy-store.d.ts +47 -0
  44. package/dist/daemon/policy-store.js +144 -0
  45. package/dist/daemon/presented.d.ts +36 -0
  46. package/dist/daemon/presented.js +94 -0
  47. package/dist/daemon/rate-limit.d.ts +17 -0
  48. package/dist/daemon/rate-limit.js +44 -0
  49. package/dist/daemon/reach.d.ts +63 -0
  50. package/dist/daemon/reach.js +207 -0
  51. package/dist/daemon/screening.d.ts +97 -0
  52. package/dist/daemon/screening.js +362 -0
  53. package/dist/daemon/settings.d.ts +125 -0
  54. package/dist/daemon/settings.js +73 -0
  55. package/dist/daemon/signal-rules.d.ts +55 -0
  56. package/dist/daemon/signal-rules.js +127 -0
  57. package/dist/daemon/signal-store.d.ts +53 -0
  58. package/dist/daemon/signal-store.js +114 -0
  59. package/dist/daemon/store.d.ts +188 -0
  60. package/dist/daemon/store.js +474 -0
  61. package/dist/daemon/tiers.d.ts +14 -0
  62. package/dist/daemon/tiers.js +9 -0
  63. package/dist/daemon/wallet.d.ts +73 -0
  64. package/dist/daemon/wallet.js +428 -0
  65. package/dist/daemon/who-label.d.ts +3 -0
  66. package/dist/daemon/who-label.js +11 -0
  67. package/dist/guidance.d.ts +39 -0
  68. package/dist/guidance.js +98 -0
  69. package/dist/hermes-bridge.d.ts +26 -0
  70. package/dist/hermes-bridge.js +180 -0
  71. package/dist/install-mcp.d.ts +6 -0
  72. package/dist/install-mcp.js +77 -0
  73. package/dist/ipc/client.d.ts +18 -0
  74. package/dist/ipc/client.js +107 -0
  75. package/dist/ipc/operations.d.ts +30 -0
  76. package/dist/ipc/operations.js +835 -0
  77. package/dist/ipc/protocol.d.ts +21 -0
  78. package/dist/ipc/protocol.js +1 -0
  79. package/dist/issuer-list-sign.d.ts +12 -0
  80. package/dist/issuer-list-sign.js +43 -0
  81. package/dist/local-operations.d.ts +2 -0
  82. package/dist/local-operations.js +73 -0
  83. package/dist/mcp-tools.d.ts +14 -0
  84. package/dist/mcp-tools.js +45 -0
  85. package/dist/mcp.d.ts +2 -0
  86. package/dist/mcp.js +155 -0
  87. package/dist/protocol/aead.d.ts +4 -0
  88. package/dist/protocol/aead.js +35 -0
  89. package/dist/protocol/cbor.d.ts +40 -0
  90. package/dist/protocol/cbor.js +106 -0
  91. package/dist/protocol/chain.d.ts +44 -0
  92. package/dist/protocol/chain.js +126 -0
  93. package/dist/protocol/channel.d.ts +153 -0
  94. package/dist/protocol/channel.js +298 -0
  95. package/dist/protocol/encode.d.ts +6 -0
  96. package/dist/protocol/encode.js +21 -0
  97. package/dist/protocol/identity.d.ts +27 -0
  98. package/dist/protocol/identity.js +94 -0
  99. package/dist/protocol/issuer-list.d.ts +56 -0
  100. package/dist/protocol/issuer-list.js +193 -0
  101. package/dist/protocol/issuer-roots.d.ts +6 -0
  102. package/dist/protocol/issuer-roots.js +10 -0
  103. package/dist/protocol/key-agreement.d.ts +20 -0
  104. package/dist/protocol/key-agreement.js +88 -0
  105. package/dist/protocol/merkle.d.ts +16 -0
  106. package/dist/protocol/merkle.js +166 -0
  107. package/dist/protocol/ml-dsa.d.ts +28 -0
  108. package/dist/protocol/ml-dsa.js +58 -0
  109. package/dist/protocol/ml-kem.d.ts +14 -0
  110. package/dist/protocol/ml-kem.js +57 -0
  111. package/dist/protocol/pq-errors.d.ts +9 -0
  112. package/dist/protocol/pq-errors.js +23 -0
  113. package/dist/protocol/pq-warnings.d.ts +1 -0
  114. package/dist/protocol/pq-warnings.js +18 -0
  115. package/dist/protocol/presented-signals.d.ts +17 -0
  116. package/dist/protocol/presented-signals.js +92 -0
  117. package/dist/protocol/salt.d.ts +5 -0
  118. package/dist/protocol/salt.js +47 -0
  119. package/dist/protocol/seal.d.ts +58 -0
  120. package/dist/protocol/seal.js +220 -0
  121. package/dist/protocol/signal.d.ts +54 -0
  122. package/dist/protocol/signal.js +266 -0
  123. package/dist/protocol/status.d.ts +41 -0
  124. package/dist/protocol/status.js +64 -0
  125. package/dist/protocol/structures.d.ts +359 -0
  126. package/dist/protocol/structures.js +296 -0
  127. package/dist/protocol/transcript.d.ts +61 -0
  128. package/dist/protocol/transcript.js +319 -0
  129. package/dist/protocol/wire.d.ts +212 -0
  130. package/dist/protocol/wire.js +161 -0
  131. package/dist/require-node.d.ts +1 -0
  132. package/dist/require-node.js +10 -0
  133. package/dist/screener/affordance.d.ts +1 -0
  134. package/dist/screener/affordance.js +2 -0
  135. package/dist/screener/classifier-selfcheck.d.ts +29 -0
  136. package/dist/screener/classifier-selfcheck.js +56 -0
  137. package/dist/screener/exfil.d.ts +11 -0
  138. package/dist/screener/exfil.js +45 -0
  139. package/dist/screener/gitleaks-rules.d.ts +9 -0
  140. package/dist/screener/gitleaks-rules.js +226 -0
  141. package/dist/screener/inbound.d.ts +25 -0
  142. package/dist/screener/inbound.js +102 -0
  143. package/dist/screener/injection-classifier-onnx.d.ts +20 -0
  144. package/dist/screener/injection-classifier-onnx.js +89 -0
  145. package/dist/screener/injection-classifier-wasm.d.ts +2 -0
  146. package/dist/screener/injection-classifier-wasm.js +97 -0
  147. package/dist/screener/injection-patterns.d.ts +8 -0
  148. package/dist/screener/injection-patterns.js +48 -0
  149. package/dist/screener/injection-windows.d.ts +9 -0
  150. package/dist/screener/injection-windows.js +37 -0
  151. package/dist/screener/language.d.ts +15 -0
  152. package/dist/screener/language.js +71 -0
  153. package/dist/screener/linear-regex.d.ts +8 -0
  154. package/dist/screener/linear-regex.js +27 -0
  155. package/dist/screener/model-installer.d.ts +14 -0
  156. package/dist/screener/model-installer.js +61 -0
  157. package/dist/screener/outbound.d.ts +19 -0
  158. package/dist/screener/outbound.js +62 -0
  159. package/dist/screener/sanitize.d.ts +44 -0
  160. package/dist/screener/sanitize.js +361 -0
  161. package/dist/screener/scan-variants.d.ts +5 -0
  162. package/dist/screener/scan-variants.js +146 -0
  163. package/dist/screener/screener-model-manifest.d.ts +16 -0
  164. package/dist/screener/screener-model-manifest.js +20 -0
  165. package/dist/screener/screener-state.d.ts +29 -0
  166. package/dist/screener/screener-state.js +119 -0
  167. package/dist/screener/secrets.d.ts +18 -0
  168. package/dist/screener/secrets.js +84 -0
  169. package/dist/screener/worker.d.ts +6 -0
  170. package/dist/screener/worker.js +83 -0
  171. package/dist/setup.d.ts +9 -0
  172. package/dist/setup.js +252 -0
  173. package/dist/shipped-issuer-list.d.ts +1 -0
  174. package/dist/shipped-issuer-list.js +3 -0
  175. package/dist/signals-text.d.ts +46 -0
  176. package/dist/signals-text.js +81 -0
  177. package/dist/verify-seal.d.ts +9 -0
  178. package/dist/verify-seal.js +30 -0
  179. package/hermes/plugin/__init__.py +1040 -0
  180. package/hermes/plugin/plugin.yaml +30 -0
  181. package/hermes/skills/cello-bridge-setup/SKILL.md +38 -0
  182. package/hermes/skills/cello-policy/SKILL.md +44 -0
  183. package/package.json +48 -16
  184. package/plugins/cello/.claude-plugin/plugin.json +19 -0
  185. package/plugins/cello/.mcp.json +7 -0
  186. package/plugins/cello/skills/cello/SKILL.md +117 -0
  187. package/dist/arg-parse.d.ts +0 -19
  188. package/dist/arg-parse.d.ts.map +0 -1
  189. package/dist/arg-parse.js +0 -29
  190. package/dist/arg-parse.js.map +0 -1
  191. package/dist/bin/cello.d.ts +0 -15
  192. package/dist/bin/cello.d.ts.map +0 -1
  193. package/dist/bin/cello.js +0 -110
  194. package/dist/bin/cello.js.map +0 -1
  195. package/dist/cli-args.d.ts +0 -62
  196. package/dist/cli-args.d.ts.map +0 -1
  197. package/dist/cli-args.js +0 -129
  198. package/dist/cli-args.js.map +0 -1
  199. package/dist/commands.d.ts +0 -196
  200. package/dist/commands.d.ts.map +0 -1
  201. package/dist/commands.js +0 -1544
  202. package/dist/commands.js.map +0 -1
  203. package/dist/hermes/assets.d.ts +0 -41
  204. package/dist/hermes/assets.d.ts.map +0 -1
  205. package/dist/hermes/assets.js +0 -2281
  206. package/dist/hermes/assets.js.map +0 -1
  207. package/dist/hermes/install-hermes.d.ts +0 -50
  208. package/dist/hermes/install-hermes.d.ts.map +0 -1
  209. package/dist/hermes/install-hermes.js +0 -232
  210. package/dist/hermes/install-hermes.js.map +0 -1
  211. package/dist/json-out.d.ts +0 -41
  212. package/dist/json-out.d.ts.map +0 -1
  213. package/dist/json-out.js +0 -59
  214. package/dist/json-out.js.map +0 -1
  215. package/dist/node-runtime-guard-init.d.ts +0 -6
  216. package/dist/node-runtime-guard-init.d.ts.map +0 -1
  217. package/dist/node-runtime-guard-init.js +0 -7
  218. package/dist/node-runtime-guard-init.js.map +0 -1
  219. package/dist/node-runtime-guard.d.ts +0 -48
  220. package/dist/node-runtime-guard.d.ts.map +0 -1
  221. package/dist/node-runtime-guard.js +0 -79
  222. package/dist/node-runtime-guard.js.map +0 -1
  223. package/dist/parity-commands.d.ts +0 -427
  224. package/dist/parity-commands.d.ts.map +0 -1
  225. package/dist/parity-commands.js +0 -953
  226. package/dist/parity-commands.js.map +0 -1
  227. package/dist/registry.d.ts +0 -120
  228. package/dist/registry.d.ts.map +0 -1
  229. package/dist/registry.js +0 -2169
  230. package/dist/registry.js.map +0 -1
  231. package/dist/screener-commands.d.ts +0 -85
  232. package/dist/screener-commands.d.ts.map +0 -1
  233. package/dist/screener-commands.js +0 -313
  234. package/dist/screener-commands.js.map +0 -1
@@ -1,427 +0,0 @@
1
- /**
2
- * DOD-CLI-PARITY-1 Phases 1-2 — every daemon capability that was MCP-only, reachable from `cello`.
3
- *
4
- * Bash is the universal agent adapter: with these commands any bash-capable agent (not just Claude
5
- * Code or Hermes) operates a CELLO node — connect, send, receive, seal — with no MCP dependency.
6
- *
7
- * Each command is a THIN PASS-THROUGH: parse args → call the SAME daemon IPC handler the
8
- * corresponding cello_* MCP tool calls → emit the response under the §3 contract (json-out.ts).
9
- * No daemon changes, no second IPC client, no logic that the daemon owns (validation, tier bounds,
10
- * agent_id resolution) is duplicated here — the CLI surfaces the daemon's verdict, verbatim.
11
- *
12
- * ── The per-invocation current-agent problem (why `use-agent` persists) ──────────────────────
13
- * The daemon's "current agent" is PER-CONNECTION state. The MCP shim holds one long-lived socket,
14
- * so `cello_use_agent` sticks for the whole session. The CLI is the opposite: a fresh process and a
15
- * fresh connection per invocation, torn down microseconds later. A naive `cello use-agent alice`
16
- * pass-through would therefore set state on a dying socket and report ok:true while changing NOTHING
17
- * for the next command — a fabricated success of exactly the kind §3 forbids.
18
- *
19
- * So the selection is DURABLE: `use-agent` calls the real handler (which validates the agent and
20
- * auto-starts it — AUTOSTART-1) and, only if the daemon says ok, persists the name. Every
21
- * agent-scoped command then REPLAYS `cello_use_agent` on its new connection before dispatching.
22
- * That is not a parallel path — it is the same replay the MCP proxy performs after a reconnect
23
- * (ipc-proxy.ts invariant 1), reusing the existing handler.
24
- *
25
- * Agent resolution, in order: explicit `--agent` > the persisted selection > (omitted, so the
26
- * daemon applies its own sole-online-agent fallback, and stays ambiguous → no_current_agent when
27
- * two or more are online). If a replay FAILS, the command STOPS and surfaces that error — it never
28
- * shrugs and lets the daemon's fallback quietly run the work as a different agent.
29
- */
30
- import { type IpcClient } from "@cello-protocol/daemon";
31
- import { type EmittedOutput, type EmitOptions } from "./json-out.js";
32
- export type CliOutput = EmittedOutput;
33
- /** Options every parity command accepts. */
34
- export interface ParityOptions extends EmitOptions {
35
- /** `--agent <name>` — overrides the persisted selection for this invocation only. */
36
- agent?: string;
37
- }
38
- /**
39
- * The persisted agent selection, or undefined if none was ever made.
40
- *
41
- * ENOENT — never selected — is the ONLY swallowed error. A blanket catch here would let
42
- * an unreadable file (EACCES, EISDIR, a corrupt mount) read as "no selection", after which the
43
- * daemon's sole-online fallback would quietly run the command as whatever agent happens to be up:
44
- * the operator's selection silently replaced by a different identity, exit 0. Anything that is not
45
- * "the file isn't there" is a real failure and is thrown.
46
- */
47
- export declare function readCurrentAgent(celloDir: string): Promise<string | undefined>;
48
- /**
49
- * Establish the current agent on a fresh CLI connection — explicit name > the persisted
50
- * `use-agent` selection > the daemon's own fallback, refused when it would be a guess. Returns
51
- * null when the connection may proceed, or why it may not. Exported so commands that open their
52
- * own connection (the attestation and endorsement verbs) resolve the agent by the SAME rule —
53
- * a second rule would make one operator gesture mean two things.
54
- */
55
- export declare function replaySelectedAgent(client: IpcClient, celloDir: string, explicit?: string): Promise<{
56
- reason: string;
57
- guidance: string;
58
- daemonReply?: Record<string, unknown>;
59
- } | null>;
60
- /**
61
- * CLI command name → the daemon IPC method it calls. The ONE place a CLI command's daemon IPC
62
- * method is named.
63
- *
64
- * The registry's `ipcMethod` field is set FROM this map, and every function below dispatches FROM
65
- * this map — so the field that DoD §9's parity test audits is, by construction, the literal that is
66
- * actually sent. Two independent strings would let the registry say `cello_contact_set_moniker`
67
- * while the code calls `cello_contact_set_away`, and the audit — which only reads the metadata —
68
- * would happily pass. A comment-in-a-field is not a guarantee; this is.
69
- *
70
- * The KEYS are the CLI/MCP capability names (DOD-ONBOARD-HELP-1 §2b: one vocabulary). The VALUES
71
- * are the daemon's IPC WIRE names, which deliberately do NOT move — the shim maps tool
72
- * `cello_agents` onto the existing `cello_list_agents` method. Renaming the wire would break a new
73
- * daemon talking to an OLD connect shim; connect has no daemon dependency, so nothing pins the two
74
- * together. That asymmetry is the whole reason this table exists rather than a string concat.
75
- */
76
- export declare const IPC_METHODS: {
77
- readonly agents: "cello_list_agents";
78
- readonly "start-agent": "cello_start_agent";
79
- readonly "set-agent-offline": "cello_set_agent_offline";
80
- readonly "use-agent": "cello_use_agent";
81
- readonly "stop-using-agent": "cello_stop_using_agent";
82
- readonly inbox: "cello_check_notifications";
83
- readonly sessions: "cello_list_sessions";
84
- readonly transcript: "cello_get_transcript";
85
- readonly quarantined: "cello_get_quarantined";
86
- readonly "sealed-receipt": "cello_get_sealed_receipt";
87
- readonly "initiate-session": "cello_initiate_session";
88
- readonly send: "cello_send";
89
- readonly receive: "cello_receive";
90
- readonly "close-session": "cello_close_session";
91
- readonly "await-session": "cello_await_session";
92
- readonly "name-session": "cello_name_session";
93
- readonly dismiss: "cello_dismiss";
94
- readonly contacts: "cello_contact_list";
95
- readonly "contact-add": "cello_contact_add";
96
- readonly "contact-remove": "cello_contact_remove";
97
- readonly "contact-set-tier": "cello_contact_set_tier";
98
- readonly "contact-set-away": "cello_contact_set_away";
99
- readonly "contact-set-moniker": "cello_contact_set_moniker";
100
- readonly "contact-set-signal": "cello_contact_set_signal";
101
- readonly "settings-get": "cello_settings_get";
102
- readonly "settings-set": "cello_settings_set";
103
- readonly "moniker-set": "cello_set_moniker";
104
- readonly "doc-propose": "cello_doc_propose";
105
- readonly "doc-invite": "cello_doc_invite";
106
- readonly "doc-remove": "cello_doc_remove";
107
- readonly "doc-inbox": "cello_doc_inbox";
108
- readonly "doc-accept": "cello_doc_accept";
109
- readonly "doc-refuse": "cello_doc_refuse";
110
- readonly "doc-list": "cello_doc_list";
111
- readonly "doc-read": "cello_doc_read";
112
- readonly "doc-diff": "cello_doc_diff";
113
- readonly "doc-watch": "cello_doc_watch";
114
- readonly "doc-write": "cello_doc_write";
115
- readonly "doc-publish": "cello_doc_publish";
116
- readonly "doc-close": "cello_doc_close";
117
- readonly "doc-kill": "cello_doc_kill";
118
- readonly "endorsement-consent-list": "cello_endorsement_consent_list";
119
- readonly "endorsement-consent-accept": "cello_endorsement_consent_accept";
120
- readonly "endorsement-consent-refuse": "cello_endorsement_consent_refuse";
121
- };
122
- /** `cello agents` → cello_list_agents. Daemon-wide, not agent-scoped. */
123
- export declare function listAgents(celloDir: string, opts: ParityOptions): Promise<CliOutput>;
124
- /** `cello start-agent <name>` → cello_start_agent. Brings an agent online WITHOUT claiming current. */
125
- export declare function startAgent(celloDir: string, name: string, opts: ParityOptions): Promise<CliOutput>;
126
- /**
127
- * `cello set-agent-offline <name>` → cello_set_agent_offline. (Was `set-agent-offline`, renamed because
128
- * "stop" read as the opposite of `use-agent` when it is the opposite of `start-agent` — see the
129
- * handler comment in agent-handlers.ts.)
130
- *
131
- * Also CLEARS the persisted selection when it names this agent (review F1). The daemon clears an
132
- * offline agent from every connection's current-agent state; the CLI's durable mirror of that state
133
- * must follow, or the next command would try to act as an agent the operator just took offline.
134
- */
135
- export declare function setAgentOffline(celloDir: string, name: string, opts: ParityOptions): Promise<CliOutput>;
136
- /**
137
- * `cello stop-using-agent` — forget the CLI's persisted selection.
138
- *
139
- * IT DOES NOT RELEASE A LIVE MCP SESSION, AND MUST NOT CLAIM TO. Attendance is PER-CONNECTION. The
140
- * MCP shim holds one long-lived socket, which is what `isAttended()` sees; every CLI invocation is a
141
- * fresh ephemeral connection that starts with `currentAgent: null` and dies microseconds later. So
142
- * calling the daemon handler from here would always take its idempotent branch and answer "this
143
- * connection was not attending any agent" — true of the socket, and worthless to the operator, whose
144
- * agent is attended somewhere else entirely.
145
- *
146
- * That is exactly the gesture to expect: attended in Claude Code, step over to a terminal, run
147
- * `cello stop-using-agent`. Passing the daemon's reply through would print "nothing to release",
148
- * exit 0, delete the persisted selection, and leave the agent attended with its away message still
149
- * suppressed — a success message for the opposite of what happened, which is the same class of
150
- * defect as the name that started all this (review finding 2).
151
- *
152
- * So the CLI reports ITS OWN effect and names the half it cannot reach. The daemon call is skipped
153
- * rather than made-and-ignored: an IPC round-trip whose answer we would discard is not honesty, it
154
- * is theatre.
155
- */
156
- export declare function stopUsingAgent(celloDir: string, opts: ParityOptions): Promise<CliOutput>;
157
- /**
158
- * `cello use-agent <name> [--force]` → cello_use_agent, and — only if the daemon accepts it —
159
- * persists the selection so it survives this process. An offline agent is refused (start it first);
160
- * an agent another session holds is refused unless `--force`. A rejected selection is NEVER written:
161
- * a later command must not silently act as an agent the daemon refused.
162
- */
163
- export declare function useAgent(celloDir: string, name: string, opts: ParityOptions & {
164
- force?: boolean;
165
- }): Promise<CliOutput>;
166
- /** `cello inbox [--scope current|all]` → cello_check_notifications (the push-loss reconciler). */
167
- export declare function inbox(celloDir: string, opts: ParityOptions & {
168
- scope?: "current" | "all";
169
- }): Promise<CliOutput>;
170
- /**
171
- * `cello sessions` → cello_list_sessions: THIS agent's sessions, matching the MCP tool exactly.
172
- *
173
- * DOD-CLI-SESSIONS-SCOPE-1. It used to call the daemon-wide `list_sessions` instead, whose comment
174
- * explained why — "for the `cello sessions` CLI which has no current agent". That was true when it
175
- * was written and stopped being true when `use-agent` became durable: the CLI has a persisted
176
- * selection now, and every other agent-scoped command replays it. The effect of the stale premise
177
- * was that `cello sessions` answered for ALL agents while `cello_sessions` answered for one, so the
178
- * two surfaces reported different open-session sets for the same selection — and a multi-agent
179
- * operator read another agent's rows as their own.
180
- *
181
- * The daemon-wide view is still reachable, as `--all-agents`, because it is genuinely useful for
182
- * "what is open anywhere on this machine". It is opt-in: a listing that silently answers for a
183
- * principal you did not ask about is the bug, not the feature.
184
- */
185
- export declare function listSessions(celloDir: string, opts: ParityOptions & {
186
- filter?: string;
187
- limit?: number;
188
- }): Promise<CliOutput>;
189
- /** `cello transcript <session-id>` → cello_get_transcript (durable, survives a daemon restart). */
190
- export declare function transcript(celloDir: string, sessionId: string, opts: ParityOptions): Promise<CliOutput>;
191
- /**
192
- * `cello quarantined <session-id> [sequence]` → cello_get_quarantined — a message CELLO REFUSED.
193
- *
194
- * DOD-M15-REFUSEDEVIDENCE-1. With no sequence it lists what is retained (metadata only); with one
195
- * it returns that message's original text wrapped in a warning, as the LAST field of the response.
196
- * The CLI exists alongside the MCP tool for the same reason the MCP tool exists at all: an operator
197
- * who cannot reach it here will get their agent to go looking, and find it unframed.
198
- */
199
- export declare function quarantined(celloDir: string, sessionId: string, sequence: number | string | undefined, opts: ParityOptions): Promise<CliOutput>;
200
- /**
201
- * `cello sealed-receipt <session-id>` → cello_get_sealed_receipt: the notarized SEAL receipt, the
202
- * artifact the whole close ceremony exists to produce and the one an arbitrator reads.
203
- *
204
- * NOT necessarily bilateral — this said "bilateral" and that was wrong. `seal-escalation.ts:219`
205
- * returns `seal_type: "unilateral"` when the counterparty never comes back, and that is exactly the
206
- * receipt someone is holding when something went wrong. The response here carries no `seal_type`
207
- * either (`session-read-handlers.ts`), so a reader distinguishes the two only via
208
- * `legibility.participants[].attestation_mode === "absent"` — see `DOD-M15-UNILATERAL-1`.
209
- *
210
- * NOT the same handler as `cello relay-receipts <name>`, which calls cello_get_relay_receipts
211
- * (per-message relay delivery proofs). The two are routinely conflated; they are different
212
- * artifacts and must keep distinct names.
213
- */
214
- export declare function sealedReceipt(celloDir: string, sessionId: string, opts: ParityOptions): Promise<CliOutput>;
215
- /** `cello contact <pubkey> add` → cello_contact_add. */
216
- export declare function contactAdd(celloDir: string, pubkey: string, opts: ParityOptions): Promise<CliOutput>;
217
- /** `cello contact remove <pubkey>` → cello_contact_remove. */
218
- export declare function contactRemove(celloDir: string, pubkey: string, opts: ParityOptions): Promise<CliOutput>;
219
- /** `cello contacts` → cello_contact_list. */
220
- export declare function contactList(celloDir: string, opts: ParityOptions): Promise<CliOutput>;
221
- /** `cello contact set-tier <pubkey> <tier>` → cello_contact_set_tier. */
222
- export declare function contactSetTier(celloDir: string, pubkey: string, tier: number, opts: ParityOptions): Promise<CliOutput>;
223
- /** `cello contact set-away <pubkey> <message>` → cello_contact_set_away (empty message clears it). */
224
- export declare function contactSetAway(celloDir: string, pubkey: string, message: string | null, opts: ParityOptions): Promise<CliOutput>;
225
- /** `cello contact set-moniker <pubkey> <moniker>` → cello_contact_set_moniker (per-CONTACT pet name). */
226
- export declare function contactSetMoniker(celloDir: string, pubkey: string, moniker: string | null, opts: ParityOptions): Promise<CliOutput>;
227
- /** `cello settings get [key]` → cello_settings_get. Omitted key returns the whole set. */
228
- export declare function settingsGet(celloDir: string, key: string | undefined, opts: ParityOptions): Promise<CliOutput>;
229
- /** `cello settings set <key> <value>` → cello_settings_set. The DAEMON validates the key and, for
230
- * bound keys, that the value is a positive integer — 0 is refused, and its refusal names
231
- * `bounds.<tier>.not_accepting true` as the way to shut a tier. The CLI surfaces that verdict
232
- * verbatim, so the remedy reaches the operator without being restated here. */
233
- export declare function settingsSet(celloDir: string, key: string, value: string | null, opts: ParityOptions, maxSessions?: number): Promise<CliOutput>;
234
- /** `cello config list` → every guard with its value AND its governance (version, direction, confirmed). */
235
- export declare function gatewayConfigList(celloDir: string, opts: ParityOptions): Promise<CliOutput>;
236
- /** `cello config get <key>` → one guard, plus whether its version chain still verifies. */
237
- export declare function gatewayConfigGet(celloDir: string, key: string, opts: ParityOptions): Promise<CliOutput>;
238
- /**
239
- * `cello config set <key> <value>` — and THE human confirmation the whole D-4 decision rests on.
240
- *
241
- * Two phases, and the first one is not a dry run: the daemon attempts the change unconfirmed. If it
242
- * TIGHTENS, it is already applied and we print the result. If it LOOSENS, the store refuses it (no
243
- * row written) and answers `needs_confirmation` — only then do we prompt, and only then do we
244
- * re-send with `confirmed: true`.
245
- *
246
- * There is deliberately NO `--yes` flag (M9B-D16). A flag that lets a script confirm a loosening is
247
- * the environment-variable bypass with a friendlier name, and removing that bypass is the sibling
248
- * decision (D-5). If stdin is not a TTY there is no human here, so the answer is no.
249
- */
250
- export declare function gatewayConfigSet(celloDir: string, key: string, value: string, opts: ParityOptions, prompt?: (question: string) => Promise<ConfirmAnswer>): Promise<CliOutput>;
251
- /** What a confirmation attempt actually resolved to. `no_tty` is NOT `no` — see F3 above. */
252
- export type ConfirmAnswer = "yes" | "no" | "no_tty";
253
- /**
254
- * What a POLICY-approval prompt resolves to. Unlike `ConfirmAnswer`, a bare Enter / Ctrl-D / stray
255
- * key is `skip` — leave the draft pending — NOT `no`, because for a policy `no` DISCARDS the draft
256
- * and the safe-looking key must not be the destructive one (085-POLICYSKIP). `config set` keeps the
257
- * two-way `ConfirmAnswer`, where "anything but y means no" is exactly right.
258
- */
259
- export type PolicyConfirmAnswer = "yes" | "no" | "skip" | "no_tty";
260
- /**
261
- * `cello screening log` → cello_screening_log (DOD-M9B-AUDIT-1, policy D-11).
262
- *
263
- * Ships with the enforcement flip by decision: it is the answer to "did this new error come from
264
- * the security layer or from my own change?" — a lookup instead of a guess.
265
- */
266
- export declare function screeningLog(celloDir: string, opts: ParityOptions & {
267
- limit?: number;
268
- sinceMs?: number;
269
- }): Promise<CliOutput>;
270
- /**
271
- * `cello policy propose <scope> [target] <admission|conduct> (--text "<t>" | --none | --clear) [--every N]`
272
- * → cello_policy_propose. The proposal is pending; nothing is in force until `cello policy approve`.
273
- */
274
- export declare function policyPropose(celloDir: string, args: readonly string[], opts: ParityOptions): Promise<CliOutput>;
275
- /** `cello policy pending` → cello_policy_pending. */
276
- export declare function policyPending(celloDir: string, opts: ParityOptions): Promise<CliOutput>;
277
- /** `cello policy list` → cello_policy_list: what is in force, and which level wins per tier and channel. */
278
- export declare function policyList(celloDir: string, opts: ParityOptions): Promise<CliOutput>;
279
- /**
280
- * A proposal expires 24 hours after it was drafted. The daemon owns this — `PROPOSAL_TTL_MS` in
281
- * `core/daemon/src/policy-proposals.ts`, which is not exported from any package the CLI imports — so
282
- * the value is duplicated here and pinned to the daemon's by a test that reads the daemon source, so
283
- * the two cannot drift.
284
- */
285
- export declare const PROPOSAL_TTL_MS: number;
286
- /**
287
- * How long is left before a draft expires, phrased for the operator. Remaining time is the ttl minus
288
- * the proposal's age; it is clamped at zero so it never prints a negative number — a draft already
289
- * past its ttl reads `expires now`.
290
- */
291
- export declare function policyExpiryPhrase(ageMs: number): string;
292
- /**
293
- * `cello policy approve [p<n>]` — THE human step that puts a policy in force (008 amendment).
294
- *
295
- * The same mechanism as `gatewayConfigSet`: a prompt at an interactive terminal, `not_a_tty` —
296
- * never `declined` — when stdin is not one, and no `--yes` flag. No argument walks every pending
297
- * proposal in turn. `y` approves; a typed `n` discards the proposal; a bare Enter, Ctrl-D or a stray
298
- * key leaves it pending (`skip`), so the safe-looking key is not the destructive one.
299
- */
300
- export declare function policyApprove(celloDir: string, proposalId: string | undefined, opts: ParityOptions, prompt?: (question: string) => Promise<PolicyConfirmAnswer>): Promise<CliOutput>;
301
- /** `cello moniker set <name>` / `cello moniker clear` → cello_set_moniker. Null clears the override.
302
- * This is the agent's OWN outbound name — not `contact set-moniker`, which names a COUNTERPARTY. */
303
- export declare function monikerSet(celloDir: string, moniker: string | null, opts: ParityOptions): Promise<CliOutput>;
304
- /** `cello initiate-session <target-pubkey>` → cello_initiate_session. Prints the session_id. */
305
- export declare function initiate(celloDir: string, targetPubkey: string, opts: ParityOptions & {
306
- include?: string[];
307
- exclude?: string[];
308
- }): Promise<CliOutput>;
309
- /**
310
- * `cello send <session-id> <message>` → cello_send.
311
- *
312
- * Honors read-before-write exactly as the MCP tool does: if the daemon returns session_not_current
313
- * (with its cursor), that verdict is surfaced VERBATIM and the command exits non-zero. It is never
314
- * auto-fixed by silently reading the transcript first — the operator/agent must catch up explicitly,
315
- * because a send that "worked" after a hidden read is a send whose ordering guarantees are a fiction.
316
- */
317
- export declare function send(celloDir: string, sessionId: string, content: string, opts: ParityOptions & {
318
- governanceDecisions?: Record<string, string>;
319
- signal?: "over" | "standby" | "wrap";
320
- estMinutes?: number;
321
- redactFlagged?: boolean;
322
- }): Promise<CliOutput>;
323
- /**
324
- * `--redact-flagged`: a privacy warning costs the flagged value, not the message.
325
- *
326
- * The daemon holds a flagged message and names each flag, and only a re-send carrying a decision per
327
- * flag lets it go. A script has no second step to take, so without this it loses the message.
328
- *
329
- * `redact` is the one decision an agent may always make, because the value is replaced by a typed
330
- * placeholder and never leaves. This never sends `allow_once` or `allow_always`, so it can't loosen
331
- * anything. Anything it can't answer comes back as it arrived, and nothing is sent.
332
- */
333
- export declare function sendRedactingFlagged(client: {
334
- send(method: string, params?: Record<string, unknown>): Promise<unknown>;
335
- }, params: Record<string, unknown>): Promise<Record<string, unknown>>;
336
- /**
337
- * `cello receive <session-id> [--timeout-ms N]` → cello_receive. Every unread message at once;
338
- * waits up to timeout_ms only when nothing is unread.
339
- */
340
- export declare function receive(celloDir: string, sessionId: string, opts: ParityOptions & {
341
- timeoutMs?: number;
342
- }): Promise<CliOutput>;
343
- /**
344
- * `cello close-session <session-id> [--force]` → cello_close_session. Triggers the seal ceremony —
345
- * bilateral when the counterparty co-signs, unilateral when they never return
346
- * (`seal-escalation.ts:219`). This said "the bilateral seal ceremony", which named the good case as
347
- * the only case. --force is passed ONLY when asked for (mirroring the shim), since it forfeits the
348
- * seal outright.
349
- */
350
- export declare function closeSession(celloDir: string, sessionId: string, opts: ParityOptions & {
351
- force?: boolean;
352
- sessionName?: string;
353
- }): Promise<CliOutput>;
354
- /**
355
- * `cello name-session <session-id> <name...>` (or --clear) → cello_name_session.
356
- *
357
- * DOD-SESSION-NAME-1 (AC-A15). The name is taken from the remaining positionals and joined, so
358
- * multi-word names work without quoting: `cello name-session ab12… the deploy postmortem`.
359
- * `--clear` sends null, which is how you un-name a session.
360
- */
361
- export declare function nameSession(celloDir: string, sessionId: string, sessionName: string | null, opts: ParityOptions): Promise<CliOutput>;
362
- /** `cello dismiss <session-id>` → cello_dismiss. Clears a terminal session from the inbox. */
363
- export declare function dismissSession(celloDir: string, sessionId: string, opts: ParityOptions): Promise<CliOutput>;
364
- /** `cello await-session [--timeout-ms N]` → cello_await_session. Blocks for an inbound doorbell. */
365
- export declare function awaitSession(celloDir: string, opts: ParityOptions & {
366
- timeoutMs?: number;
367
- }): Promise<CliOutput>;
368
- /** `cello endorsement-consent list` → cello_endorsement_consent_list. */
369
- export declare function endorsementConsentList(celloDir: string, opts: ParityOptions): Promise<CliOutput>;
370
- /** `cello endorsement-consent accept <signal-hash>` → cello_endorsement_consent_accept. */
371
- export declare function endorsementConsentAccept(celloDir: string, hashPrefix: string, opts: ParityOptions): Promise<CliOutput>;
372
- /** `cello endorsement-consent refuse <hash> [message…]` → cello_endorsement_consent_refuse. An empty message is OMITTED, not
373
- * sent as "": silence is the default and it must be the literal absence of the field (M10B-D4). */
374
- export declare function endorsementConsentRefuse(celloDir: string, hashPrefix: string, message: string | null, opts: ParityOptions): Promise<CliOutput>;
375
- /** `cello contact <pubkey> set-signal <hash> <on|off|clear>` → cello_contact_set_signal.
376
- * `clear` sends null — distinct from `off`, which is an explicit "never show this to them". */
377
- export declare function contactSetSignal(celloDir: string, pubkey: string, hashPrefix: string, present: boolean | null, opts: ParityOptions): Promise<CliOutput>;
378
- /**
379
- * `cello doc propose <peer-pubkey> [--type <t>] [--content <text>] [--append-only] [--admins <hex,hex>] [--retry <id>]`
380
- * → cello_doc_propose.
381
- *
382
- * `--retry` re-sends an offer that was created locally but never reached the peer. The daemon has
383
- * always had that branch and its failure guidance names it by id — but no surface forwarded the
384
- * parameter, so the instruction could not be carried out and the closest thing an operator could do
385
- * (propose again) minted a SECOND document, which is what the guidance warns against.
386
- *
387
- * The doc comment advertised a `--from-file` flag that was never implemented; corrected here rather
388
- * than left for the next reader to try.
389
- */
390
- export declare function docPropose(celloDir: string, peerPubkey: string, opts: ParityOptions & {
391
- documentType?: string;
392
- appendOnly?: boolean;
393
- startingContent?: string;
394
- documentId?: string;
395
- admins?: string[];
396
- }): Promise<CliOutput>;
397
- /** `cello doc invite <document-id> <invitee-pubkey>` → cello_doc_invite. */
398
- export declare function docInvite(celloDir: string, documentId: string, inviteePubkey: string, opts: ParityOptions): Promise<CliOutput>;
399
- /** `cello doc remove <document-id> <holder-pubkey>` → cello_doc_remove. */
400
- export declare function docRemove(celloDir: string, documentId: string, holderPubkey: string, opts: ParityOptions): Promise<CliOutput>;
401
- /** `cello doc inbox` → cello_doc_inbox. Proposals awaiting a consent decision. */
402
- export declare function docInbox(celloDir: string, opts: ParityOptions): Promise<CliOutput>;
403
- /** `cello doc accept <document-id>` → cello_doc_accept. */
404
- export declare function docAccept(celloDir: string, documentId: string, opts: ParityOptions): Promise<CliOutput>;
405
- /** `cello doc refuse <document-id> [why…]` → cello_doc_refuse. An empty reason is OMITTED, so the
406
- * daemon applies its own default rather than recording the empty string as the operator's words. */
407
- export declare function docRefuse(celloDir: string, documentId: string, reason: string | null, opts: ParityOptions): Promise<CliOutput>;
408
- /** `cello doc list` → cello_doc_list. */
409
- export declare function docList(celloDir: string, opts: ParityOptions): Promise<CliOutput>;
410
- /** `cello doc read <document-id>` → cello_doc_read. */
411
- export declare function docRead(celloDir: string, documentId: string, opts: ParityOptions): Promise<CliOutput>;
412
- /** `cello doc diff <document-id>` → cello_doc_diff. What changed since you last read it. */
413
- export declare function docDiff(celloDir: string, documentId: string, opts: ParityOptions): Promise<CliOutput>;
414
- /** `cello doc watch <document-id> [paths…]` → cello_doc_watch. No paths LISTS; `--clear` clears. */
415
- export declare function docWatch(celloDir: string, documentId: string, paths: string[] | null, opts: ParityOptions): Promise<CliOutput>;
416
- /** `cello doc write <document-id> <content…>` → cello_doc_write.
417
- *
418
- * The COMPLETE new text, never a patch — the daemon diffs it against current state, so an offset
419
- * cannot go stale under the peer's concurrent edit. */
420
- export declare function docWrite(celloDir: string, documentId: string, content: string, opts: ParityOptions): Promise<CliOutput>;
421
- /** `cello doc close <document-id>` → cello_doc_close. Every current holder is told; `holdersNotified` says who took it. */
422
- export declare function docClose(celloDir: string, documentId: string, opts: ParityOptions): Promise<CliOutput>;
423
- /** `cello doc kill <document-id>` → cello_doc_kill. One-sided and immediate; every holder is told best-effort. */
424
- export declare function docKill(celloDir: string, documentId: string, opts: ParityOptions): Promise<CliOutput>;
425
- /** `cello doc publish <document-id>` → cello_doc_publish. Publishes what is in the FILE right now. */
426
- export declare function docPublish(celloDir: string, documentId: string, opts: ParityOptions): Promise<CliOutput>;
427
- //# sourceMappingURL=parity-commands.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"parity-commands.d.ts","sourceRoot":"","sources":["../src/parity-commands.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AAIH,OAAO,EAA6C,KAAK,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnG,OAAO,EAAqC,KAAK,aAAa,EAAE,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AAExG,MAAM,MAAM,SAAS,GAAG,aAAa,CAAC;AAEtC,4CAA4C;AAC5C,MAAM,WAAW,aAAc,SAAQ,WAAW;IAChD,qFAAqF;IACrF,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAOD;;;;;;;;GAQG;AACH,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