@cello-protocol/daemon 0.0.53 → 0.0.54

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 (173) hide show
  1. package/dist/agent-handlers.d.ts +57 -0
  2. package/dist/agent-handlers.d.ts.map +1 -0
  3. package/dist/agent-handlers.js +360 -0
  4. package/dist/agent-handlers.js.map +1 -0
  5. package/dist/agent-id-migration.d.ts.map +1 -1
  6. package/dist/agent-id-migration.js +1 -0
  7. package/dist/agent-id-migration.js.map +1 -1
  8. package/dist/agent-loader.d.ts +3 -4
  9. package/dist/agent-loader.d.ts.map +1 -1
  10. package/dist/agent-loader.js +3 -4
  11. package/dist/agent-loader.js.map +1 -1
  12. package/dist/cbor-blob-migration.d.ts +8 -0
  13. package/dist/cbor-blob-migration.d.ts.map +1 -0
  14. package/dist/cbor-blob-migration.js +115 -0
  15. package/dist/cbor-blob-migration.js.map +1 -0
  16. package/dist/close-session-handler.d.ts +41 -0
  17. package/dist/close-session-handler.d.ts.map +1 -0
  18. package/dist/close-session-handler.js +399 -0
  19. package/dist/close-session-handler.js.map +1 -0
  20. package/dist/consortium-bootstrap.d.ts +83 -0
  21. package/dist/consortium-bootstrap.d.ts.map +1 -0
  22. package/dist/consortium-bootstrap.js +120 -0
  23. package/dist/consortium-bootstrap.js.map +1 -0
  24. package/dist/contact-handlers.d.ts +56 -0
  25. package/dist/contact-handlers.d.ts.map +1 -0
  26. package/dist/contact-handlers.js +303 -0
  27. package/dist/contact-handlers.js.map +1 -0
  28. package/dist/content-park-client.d.ts.map +1 -1
  29. package/dist/content-park-client.js +7 -7
  30. package/dist/content-park-client.js.map +1 -1
  31. package/dist/content-park.d.ts +15 -0
  32. package/dist/content-park.d.ts.map +1 -0
  33. package/dist/content-park.js +227 -0
  34. package/dist/content-park.js.map +1 -0
  35. package/dist/daemon.d.ts +0 -11
  36. package/dist/daemon.d.ts.map +1 -1
  37. package/dist/daemon.js +407 -4552
  38. package/dist/daemon.js.map +1 -1
  39. package/dist/db-identity-store.d.ts +31 -35
  40. package/dist/db-identity-store.d.ts.map +1 -1
  41. package/dist/db-identity-store.js +62 -66
  42. package/dist/db-identity-store.js.map +1 -1
  43. package/dist/directory-bootstrap.d.ts +27 -31
  44. package/dist/directory-bootstrap.d.ts.map +1 -1
  45. package/dist/directory-bootstrap.js +18 -21
  46. package/dist/directory-bootstrap.js.map +1 -1
  47. package/dist/frame-values.d.ts +3 -0
  48. package/dist/frame-values.d.ts.map +1 -0
  49. package/dist/frame-values.js +73 -0
  50. package/dist/frame-values.js.map +1 -0
  51. package/dist/identity-migration.d.ts +8 -8
  52. package/dist/identity-migration.d.ts.map +1 -1
  53. package/dist/identity-migration.js +30 -31
  54. package/dist/identity-migration.js.map +1 -1
  55. package/dist/inbound-seal-request.d.ts +17 -0
  56. package/dist/inbound-seal-request.d.ts.map +1 -0
  57. package/dist/inbound-seal-request.js +155 -0
  58. package/dist/inbound-seal-request.js.map +1 -0
  59. package/dist/inbound-sessions.d.ts +54 -0
  60. package/dist/inbound-sessions.d.ts.map +1 -0
  61. package/dist/inbound-sessions.js +603 -0
  62. package/dist/inbound-sessions.js.map +1 -0
  63. package/dist/index.d.ts.map +1 -1
  64. package/dist/index.js +8 -10
  65. package/dist/index.js.map +1 -1
  66. package/dist/initiate-session-handler.d.ts +22 -0
  67. package/dist/initiate-session-handler.d.ts.map +1 -0
  68. package/dist/initiate-session-handler.js +150 -0
  69. package/dist/initiate-session-handler.js.map +1 -0
  70. package/dist/network-directory-node.d.ts +6 -6
  71. package/dist/network-directory-node.d.ts.map +1 -1
  72. package/dist/network-directory-node.js +29 -28
  73. package/dist/network-directory-node.js.map +1 -1
  74. package/dist/notification-handlers.d.ts +32 -0
  75. package/dist/notification-handlers.d.ts.map +1 -0
  76. package/dist/notification-handlers.js +73 -0
  77. package/dist/notification-handlers.js.map +1 -0
  78. package/dist/outbound-sessions.d.ts +54 -0
  79. package/dist/outbound-sessions.d.ts.map +1 -0
  80. package/dist/outbound-sessions.js +429 -0
  81. package/dist/outbound-sessions.js.map +1 -0
  82. package/dist/park-envelope.d.ts.map +1 -1
  83. package/dist/park-envelope.js +3 -2
  84. package/dist/park-envelope.js.map +1 -1
  85. package/dist/register-handler.d.ts +35 -0
  86. package/dist/register-handler.d.ts.map +1 -0
  87. package/dist/register-handler.js +179 -0
  88. package/dist/register-handler.js.map +1 -0
  89. package/dist/registration-manager.d.ts.map +1 -1
  90. package/dist/registration-manager.js +3 -6
  91. package/dist/registration-manager.js.map +1 -1
  92. package/dist/relay-receipt-store.d.ts.map +1 -1
  93. package/dist/relay-receipt-store.js +1 -2
  94. package/dist/relay-receipt-store.js.map +1 -1
  95. package/dist/retry-queue.d.ts +18 -60
  96. package/dist/retry-queue.d.ts.map +1 -1
  97. package/dist/retry-queue.js +46 -97
  98. package/dist/retry-queue.js.map +1 -1
  99. package/dist/seal-coordinator.d.ts +47 -0
  100. package/dist/seal-coordinator.d.ts.map +1 -0
  101. package/dist/seal-coordinator.js +551 -0
  102. package/dist/seal-coordinator.js.map +1 -0
  103. package/dist/seal-flows.d.ts +50 -0
  104. package/dist/seal-flows.d.ts.map +1 -0
  105. package/dist/seal-flows.js +454 -0
  106. package/dist/seal-flows.js.map +1 -0
  107. package/dist/seal-frontier-verify.d.ts +9 -9
  108. package/dist/seal-frontier-verify.d.ts.map +1 -1
  109. package/dist/seal-frontier-verify.js +11 -12
  110. package/dist/seal-frontier-verify.js.map +1 -1
  111. package/dist/seal-leaf.d.ts +58 -0
  112. package/dist/seal-leaf.d.ts.map +1 -0
  113. package/dist/seal-leaf.js +111 -0
  114. package/dist/seal-leaf.js.map +1 -0
  115. package/dist/seal-receipt-upgrade.d.ts +1 -1
  116. package/dist/seal-receipt-upgrade.js +1 -1
  117. package/dist/seal-upgrade.d.ts +10 -10
  118. package/dist/seal-upgrade.d.ts.map +1 -1
  119. package/dist/seal-upgrade.js +23 -24
  120. package/dist/seal-upgrade.js.map +1 -1
  121. package/dist/session-assignment-parser.d.ts +16 -19
  122. package/dist/session-assignment-parser.d.ts.map +1 -1
  123. package/dist/session-assignment-parser.js +30 -29
  124. package/dist/session-assignment-parser.js.map +1 -1
  125. package/dist/session-ceremony.d.ts +3 -6
  126. package/dist/session-ceremony.d.ts.map +1 -1
  127. package/dist/session-ceremony.js +7 -9
  128. package/dist/session-ceremony.js.map +1 -1
  129. package/dist/session-content-handlers.d.ts +25 -0
  130. package/dist/session-content-handlers.d.ts.map +1 -0
  131. package/dist/session-content-handlers.js +436 -0
  132. package/dist/session-content-handlers.js.map +1 -0
  133. package/dist/session-name.d.ts +35 -0
  134. package/dist/session-name.d.ts.map +1 -0
  135. package/dist/session-name.js +60 -0
  136. package/dist/session-name.js.map +1 -0
  137. package/dist/session-node-manager.d.ts +26 -62
  138. package/dist/session-node-manager.d.ts.map +1 -1
  139. package/dist/session-node-manager.js +115 -92
  140. package/dist/session-node-manager.js.map +1 -1
  141. package/dist/session-read-handlers.d.ts +38 -0
  142. package/dist/session-read-handlers.d.ts.map +1 -0
  143. package/dist/session-read-handlers.js +233 -0
  144. package/dist/session-read-handlers.js.map +1 -0
  145. package/dist/session-relay-client.d.ts +8 -8
  146. package/dist/session-relay-client.d.ts.map +1 -1
  147. package/dist/session-relay-client.js +44 -46
  148. package/dist/session-relay-client.js.map +1 -1
  149. package/dist/session-tree.d.ts +11 -23
  150. package/dist/session-tree.d.ts.map +1 -1
  151. package/dist/session-tree.js +14 -26
  152. package/dist/session-tree.js.map +1 -1
  153. package/dist/signaling-connect.d.ts +2 -5
  154. package/dist/signaling-connect.d.ts.map +1 -1
  155. package/dist/signaling-connect.js +7 -12
  156. package/dist/signaling-connect.js.map +1 -1
  157. package/dist/sqlcipher-db.d.ts +18 -19
  158. package/dist/sqlcipher-db.d.ts.map +1 -1
  159. package/dist/sqlcipher-db.js +30 -30
  160. package/dist/sqlcipher-db.js.map +1 -1
  161. package/dist/telegram-doorbell.d.ts +38 -0
  162. package/dist/telegram-doorbell.d.ts.map +1 -0
  163. package/dist/telegram-doorbell.js +139 -0
  164. package/dist/telegram-doorbell.js.map +1 -0
  165. package/dist/types.d.ts +86 -79
  166. package/dist/types.d.ts.map +1 -1
  167. package/dist/types.js +0 -1
  168. package/dist/types.js.map +1 -1
  169. package/dist/vocabulary.d.ts +30 -30
  170. package/dist/vocabulary.d.ts.map +1 -1
  171. package/dist/vocabulary.js +41 -49
  172. package/dist/vocabulary.js.map +1 -1
  173. package/package.json +5 -5
@@ -1,12 +1,12 @@
1
1
  /**
2
- * DOD-ONBOARD-HELP-1 §2b — the ONE vocabulary.
2
+ * The ONE vocabulary.
3
3
  *
4
4
  * A capability has exactly one name, and that name renders differently on each surface:
5
5
  *
6
6
  * capability "agents" → MCP tool `cello_agents` · CLI command `cello agents`
7
7
  *
8
- * The rule (Andre, 2026-07-11): **an MCP tool's name is `cello_` + the CLI command name**,
9
- * snake_cased, keeping any sub-verb. Humans and agents learn a capability ONCE.
8
+ * The rule: **an MCP tool's name is `cello_` + the CLI command name**, snake_cased, keeping any
9
+ * sub-verb. Humans and agents learn a capability ONCE.
10
10
  *
11
11
  * Why this table exists rather than three lists of string literals:
12
12
  *
@@ -46,6 +46,7 @@ export const DUAL_SURFACE_VERBS = [
46
46
  { mcp: "cello_initiate_session", cli: "cello initiate-session" },
47
47
  { mcp: "cello_await_session", cli: "cello await-session" },
48
48
  { mcp: "cello_close_session", cli: "cello close-session" },
49
+ { mcp: "cello_name_session", cli: "cello name-session" },
49
50
  { mcp: "cello_send", cli: "cello send" },
50
51
  { mcp: "cello_receive", cli: "cello receive" },
51
52
  { mcp: "cello_inbox", cli: "cello inbox" },
@@ -66,9 +67,9 @@ export const DUAL_SURFACE_VERBS = [
66
67
  { mcp: "cello_settings_set", cli: "cello settings set" },
67
68
  ];
68
69
  /**
69
- * Tools that exist ONLY on the MCP surface. They are the DOD-CUSTODY-DAEMON-1 stubs — the daemon
70
- * handlers return `not_implemented`, so there is deliberately no CLI command to build a second
71
- * broken path to. Listed so the audit test can tell "known MCP-only" from "stale name".
70
+ * Tools that exist ONLY on the MCP surface. Their daemon handlers return `not_implemented`, so
71
+ * there is deliberately no CLI command to build a second broken path to. Listed so the audit test
72
+ * can tell "known MCP-only" from "stale name".
72
73
  */
73
74
  export const MCP_ONLY_TOOLS = [
74
75
  "cello_backup",
@@ -93,17 +94,13 @@ export function knownToolNames() {
93
94
  ]);
94
95
  }
95
96
  /**
96
- * CLI verbs that NO LONGER EXIST (DOD-ONBOARD-HELP-1 §2, clean renames no aliases).
97
+ * CLI verbs that DO NOT EXIST. No string anywhere may hand one of these to an operator.
97
98
  *
98
- * Why this list exists as well as the tool audit: the tool audit matches `cello_*` tokens, so it is
99
- * structurally BLIND to a dead *CLI* verb — `cello register` is just prose to it. That blindness is
100
- * exactly how three dead-command instructions survived a green build in the first cut of this story
101
- * (the missing-token onboarding error, an unregistered-agent warning, and relay-receipts' own usage
102
- * line all still said `cello register` / `cello receipts`). A user handed a command that does not
103
- * dispatch is worse off than one handed nothing.
99
+ * This list is needed IN ADDITION to the tool audit: that audit matches `cello_*` tokens, so it is
100
+ * structurally BLIND to a dead *CLI* verb — `cello register` is just prose to it. A user handed a
101
+ * command that does not dispatch is worse off than one handed nothing.
104
102
  *
105
- * Anchoring is by NEGATIVE LOOKAHEAD, not a trailing space — see deadCliVerbPattern() for why the
106
- * space failed.
103
+ * Anchoring is by NEGATIVE LOOKAHEAD, not a trailing space — see deadCliVerbPattern().
107
104
  */
108
105
  export const DEAD_CLI_VERBS = [
109
106
  "cello register",
@@ -111,13 +108,12 @@ export const DEAD_CLI_VERBS = [
111
108
  "cello receipts",
112
109
  "cello close",
113
110
  "cello initiate",
114
- // DELETED outright (Andre, 2026-07-11), not renamed there is no replacement to point at. It was
115
- // a literal alias of `cello receive` (the daemon ran the SAME handler) whose help claimed an
116
- // accept/join step CELLO does not have. Listed here so no string can quietly offer it again.
111
+ // No replacement to point at: this was an alias of `cello receive` (same daemon handler) whose
112
+ // help claimed an accept/join step CELLO does not have. Listed so no string can offer it again.
117
113
  "cello receive-session",
118
114
  ];
119
115
  /**
120
- * The pre-§3 flat contact shape: `cello contact <op> <pubkey>`. The arguments are REVERSED now
116
+ * Dead flat contact shape: `cello contact <op> <pubkey>`. The live shape REVERSES the arguments
121
117
  * (`cello contact <pubkey> <op>`), so these are not merely renamed — following one silently targets
122
118
  * a contact named "add". In the live shape an OP can never follow `contact` directly; a pubkey does.
123
119
  */
@@ -125,11 +121,10 @@ const DEAD_CONTACT_OPS = ["list", "add", "remove", "tier", "away", "set-tier", "
125
121
  /**
126
122
  * Match any dead CLI verb, wherever it is SPOKEN — the one regex both audits share.
127
123
  *
128
- * The negative lookahead `(?![-\w])` is what makes this work, and the first cut got it wrong: it
129
- * anchored on a trailing SPACE (`"cello register "`), which review broke immediately a verb
130
- * followed by a quote, period, backtick, paren or comma slipped straight through, and a live string
131
- * (`'cello register'`, in the Hermes plugin scaffolded onto the operator's disk) was sailing past a
132
- * green audit. An audit defeated by a full stop is not an audit.
124
+ * The negative lookahead `(?![-\w])` is load-bearing; do NOT weaken it to a trailing SPACE. A verb
125
+ * followed by a quote, period, backtick, paren or comma would slip straight through, and dead verbs
126
+ * appear inside quotes and at end of sentence in real guidance strings. An audit defeated by a full
127
+ * stop is not an audit.
133
128
  *
134
129
  * The lookahead still lets the LIVE commands through, because each dead verb is a strict prefix of
135
130
  * its replacement: `cello register-agent`, `cello close-session`, `cello initiate-session` all have
@@ -141,7 +136,7 @@ export function deadCliVerbPattern() {
141
136
  return new RegExp(`cello\\s+(?:${verbs})(?![-\\w])|cello\\s+contact\\s+(?:${ops})(?![-\\w])`, "g");
142
137
  }
143
138
  /**
144
- * MCP tool names this story RENAMED AWAY. Nothing may hand one of these to an agent again.
139
+ * MCP tool names that DO NOT EXIST. Nothing may hand one of these to an agent.
145
140
  *
146
141
  * Distinct from `knownToolNames()` (an allowlist: "every cello_* token must be in the table"). That
147
142
  * allowlist works inside the daemon, where every `cello_*` token IS a tool name — but it cannot be
@@ -150,15 +145,13 @@ export function deadCliVerbPattern() {
150
145
  * assets, plain config identifiers (`cello_socket_path`, `cello_dir`). An allowlist there would
151
146
  * either drown in false positives or be so riddled with exceptions it stopped meaning anything.
152
147
  *
153
- * So outside the daemon we assert the DENYLIST instead: whatever else a string says, it must not
154
- * name a tool we deleted. That is precisely the regression that shipped the Hermes `platform_hint`
155
- * told the operator's agent to call `cello_check_notifications` and `cello_list_sessions` after both
156
- * had ceased to exist.
148
+ * So outside the daemon assert the DENYLIST instead: whatever else a string says, it must not name a
149
+ * deleted tool. The exposure is real non-code assets ship to the operator's disk and instruct
150
+ * their agent (the Hermes `platform_hint` is a live example).
157
151
  */
158
152
  export const RENAMED_AWAY_TOOLS = [
159
- // DELETED outright (Andre, 2026-07-11), not renamed: cello_receive_session was a literal alias of
160
- // cello_receive — the same daemon handler — whose help claimed an accept/join step that does not
161
- // exist. There is no replacement to point at; the capability was never real.
153
+ // No replacement to point at: this was an alias of cello_receive — the same daemon handler —
154
+ // whose help claimed an accept/join step that does not exist. The capability was never real.
162
155
  "cello_receive_session",
163
156
  "cello_list_agents",
164
157
  "cello_list_sessions",
@@ -170,13 +163,6 @@ export const RENAMED_AWAY_TOOLS = [
170
163
  ];
171
164
  /** Longest-first, so `cello_contact_set_moniker` is matched before a hypothetical `cello_contact`. */
172
165
  const CLI_BY_MCP = [...DUAL_SURFACE_VERBS].sort((a, b) => b.mcp.length - a.mcp.length);
173
- /**
174
- * Rewrite MCP tool names in a guidance string into the CLI verbs an operator would type.
175
- *
176
- * Only `cello_*` tokens in DUAL_SURFACE_VERBS are rewritten. An MCP-only tool has no CLI verb to
177
- * offer, so it is left alone — inventing one would send the operator to a command that does not
178
- * exist, which is the exact failure this whole mechanism prevents.
179
- */
180
166
  /**
181
167
  * Instructions that carry ARGUMENTS, not just a name — rewritten whole, before the token pass.
182
168
  *
@@ -185,13 +171,13 @@ const CLI_BY_MCP = [...DUAL_SURFACE_VERBS].sort((a, b) => b.mcp.length - a.mcp.l
185
171
  *
186
172
  * Adopt it: cello_contact_set_moniker { pubkey: "abcd…", moniker: "Zoe" }, or ignore.
187
173
  *
188
- * Rewriting only the token gave a CLI operator `cello contact <pubkey> set-moniker { pubkey: "abcd…",
189
- * moniker: "Zoe" }` the tool's name with the tool's JSON still bolted on, and a literal `<pubkey>`
190
- * placeholder next to the real key. It looks like a command and is not one; pasting it now trips the
191
- * invalid_pubkey gate. Half a translation is its own kind of wrong answer.
174
+ * Rewriting only the token would give a CLI operator the tool's name with the tool's JSON still
175
+ * bolted on, and a literal `<pubkey>` placeholder next to the real key it looks like a command and
176
+ * is not one; pasting it trips the invalid_pubkey gate. Half a translation is its own kind of wrong
177
+ * answer.
192
178
  *
193
179
  * So the call form is translated as a unit, arguments and all, and the result is a line the operator
194
- * can actually paste. Run BEFORE the token pass, which would otherwise have already eaten the name.
180
+ * can actually paste. MUST run BEFORE the token pass, which would otherwise have eaten the name.
195
181
  */
196
182
  const CALL_FORMS = [
197
183
  {
@@ -199,6 +185,13 @@ const CALL_FORMS = [
199
185
  cli: (m) => `cello contact ${m[1]} set-moniker "${m[2]}"`,
200
186
  },
201
187
  ];
188
+ /**
189
+ * Rewrite MCP tool names in a guidance string into the CLI verbs an operator would type.
190
+ *
191
+ * Only `cello_*` tokens in DUAL_SURFACE_VERBS are rewritten. An MCP-only tool has no CLI verb to
192
+ * offer, so it is left alone — inventing one would send the operator to a command that does not
193
+ * exist, which is the exact failure this whole mechanism prevents.
194
+ */
202
195
  export function toCliGuidance(text) {
203
196
  let out = text;
204
197
  for (const { re, cli } of CALL_FORMS) {
@@ -224,11 +217,10 @@ const INSTRUCTION_KEYS = new Set(["guidance", "warning_guidance", "notice"]);
224
217
  * cannot forget it and a new guidance string cannot drift. MCP callers get the response verbatim —
225
218
  * the source strings already hold the canonical MCP names.
226
219
  *
227
- * RECURSES into nested objects and arrays. The first cut only rewrote a TOP-LEVEL `guidance`, which
228
- * left real instructions per-surface-wrong: `cello inbox`'s rename notices live at
229
- * `agents[i].rename_notices[j].notice` and told a CLI operator to call `cello_contact_set_moniker`
230
- * with JSON arguments a thing they cannot type. A choke point that only covers the easy shape is
231
- * not a choke point; it just moves the leak somewhere less visible.
220
+ * MUST RECURSE into nested objects and arrays; rewriting only a TOP-LEVEL `guidance` is not enough.
221
+ * Real instructions live deep — `cello inbox`'s rename notices sit at
222
+ * `agents[i].rename_notices[j].notice`. A choke point that only covers the easy shape is not a choke
223
+ * point; it just moves the leak somewhere less visible.
232
224
  */
233
225
  export function renderForSurface(result, surface) {
234
226
  if (surface === "mcp")
@@ -1 +1 @@
1
- {"version":3,"file":"vocabulary.js","sourceRoot":"","sources":["../src/vocabulary.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAQH;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAA+B;IAC5D,SAAS;IACT,EAAE,GAAG,EAAE,cAAc,EAAE,GAAG,EAAE,cAAc,EAAE;IAC5C,EAAE,GAAG,EAAE,mBAAmB,EAAE,GAAG,EAAE,mBAAmB,EAAE;IACtD,EAAE,GAAG,EAAE,kBAAkB,EAAE,GAAG,EAAE,kBAAkB,EAAE;IACpD,EAAE,GAAG,EAAE,iBAAiB,EAAE,GAAG,EAAE,iBAAiB,EAAE;IAClD,EAAE,GAAG,EAAE,cAAc,EAAE,GAAG,EAAE,cAAc,EAAE;IAC5C,YAAY;IACZ,EAAE,GAAG,EAAE,wBAAwB,EAAE,GAAG,EAAE,wBAAwB,EAAE;IAChE,EAAE,GAAG,EAAE,qBAAqB,EAAE,GAAG,EAAE,qBAAqB,EAAE;IAC1D,EAAE,GAAG,EAAE,qBAAqB,EAAE,GAAG,EAAE,qBAAqB,EAAE;IAC1D,EAAE,GAAG,EAAE,YAAY,EAAE,GAAG,EAAE,YAAY,EAAE;IACxC,EAAE,GAAG,EAAE,eAAe,EAAE,GAAG,EAAE,eAAe,EAAE;IAC9C,EAAE,GAAG,EAAE,aAAa,EAAE,GAAG,EA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AAI,IAAI,OAAO,KAAK,KAAK,QAAQ;QAAE,OAAO,KAAK,CAAC;IAE9D,MAAM,MAAM,GAAG,KAAgC,CAAC;IAChD,IAAI,OAAO,GAAG,KAAK,CAAC;IACpB,MAAM,GAAG,GAA4B,EAAE,CAAC;IACxC,KAAK,MAAM,CAAC,GAAG,EAAE,CAAC,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC;QAC9C,IAAI,IAAI,GAAY,CAAC,CAAC;QACtB,IAAI,gBAAgB,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,OAAO,CAAC,KAAK,QAAQ,EAAE,CAAC;YACvD,IAAI,GAAG,aAAa,CAAC,CAAC,CAAC,CAAC;QAC1B,CAAC;aAAM,IAAI,CAAC,KAAK,IAAI,IAAI,OAAO,CAAC,KAAK,QAAQ,EAAE,CAAC;YAC/C,IAAI,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC;QACtB,CAAC;QACD,IAAI,IAAI,KAAK,CAAC;YAAE,OAAO,GAAG,IAAI,CAAC;QAC/B,GAAG,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC;IAClB,CAAC;IACD,8FAA8F;IAC9F,6FAA6F;IAC7F,OAAO,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC;AAC/B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cello-protocol/daemon",
3
- "version": "0.0.53",
3
+ "version": "0.0.54",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "engines": {
@@ -30,10 +30,10 @@
30
30
  "@signalapp/sqlcipher": "^3.3.5",
31
31
  "cbor-x": "^1.6.0",
32
32
  "it-length-prefixed": "^10.0.1",
33
- "@cello-protocol/crypto": "0.0.20",
34
- "@cello-protocol/protocol-types": "0.0.21",
35
- "@cello-protocol/transport": "0.0.20",
36
- "@cello-protocol/gateway": "0.0.2"
33
+ "@cello-protocol/protocol-types": "0.0.22",
34
+ "@cello-protocol/gateway": "0.0.3",
35
+ "@cello-protocol/crypto": "0.0.21",
36
+ "@cello-protocol/transport": "0.0.21"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@types/node": "^25.6.2",