agentfootprint 9.22.0 → 9.24.0

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 (125) hide show
  1. package/dist/adapters/hosting/agentcore.js +10 -0
  2. package/dist/adapters/hosting/agentcore.js.map +1 -1
  3. package/dist/core/Agent.js +28 -0
  4. package/dist/core/Agent.js.map +1 -1
  5. package/dist/core/RunnerBase.js +8 -0
  6. package/dist/core/RunnerBase.js.map +1 -1
  7. package/dist/core/agent/middleware/ledger.js +1 -0
  8. package/dist/core/agent/middleware/ledger.js.map +1 -1
  9. package/dist/core/agent/middleware/outcomes.js +10 -2
  10. package/dist/core/agent/middleware/outcomes.js.map +1 -1
  11. package/dist/core/agent/stages/toolCalls.js +124 -0
  12. package/dist/core/agent/stages/toolCalls.js.map +1 -1
  13. package/dist/core/askComponent.js +143 -0
  14. package/dist/core/askComponent.js.map +1 -0
  15. package/dist/core/checkin.js.map +1 -1
  16. package/dist/core/pause.js.map +1 -1
  17. package/dist/core/tools.js +16 -0
  18. package/dist/core/tools.js.map +1 -1
  19. package/dist/esm/adapters/hosting/agentcore.js +10 -0
  20. package/dist/esm/adapters/hosting/agentcore.js.map +1 -1
  21. package/dist/esm/core/Agent.d.ts +15 -0
  22. package/dist/esm/core/Agent.js +28 -0
  23. package/dist/esm/core/Agent.js.map +1 -1
  24. package/dist/esm/core/RunnerBase.js +8 -0
  25. package/dist/esm/core/RunnerBase.js.map +1 -1
  26. package/dist/esm/core/agent/middleware/ledger.js +1 -0
  27. package/dist/esm/core/agent/middleware/ledger.js.map +1 -1
  28. package/dist/esm/core/agent/middleware/outcomes.js +10 -2
  29. package/dist/esm/core/agent/middleware/outcomes.js.map +1 -1
  30. package/dist/esm/core/agent/middleware/types.d.ts +14 -0
  31. package/dist/esm/core/agent/stages/toolCalls.js +124 -0
  32. package/dist/esm/core/agent/stages/toolCalls.js.map +1 -1
  33. package/dist/esm/core/agent/types.d.ts +1 -0
  34. package/dist/esm/core/askComponent.d.ts +121 -0
  35. package/dist/esm/core/askComponent.js +137 -0
  36. package/dist/esm/core/askComponent.js.map +1 -0
  37. package/dist/esm/core/checkin.d.ts +10 -0
  38. package/dist/esm/core/checkin.js.map +1 -1
  39. package/dist/esm/core/pause.d.ts +8 -0
  40. package/dist/esm/core/pause.js.map +1 -1
  41. package/dist/esm/core/tools.d.ts +16 -0
  42. package/dist/esm/core/tools.js +16 -0
  43. package/dist/esm/core/tools.js.map +1 -1
  44. package/dist/esm/events/payloads.d.ts +24 -4
  45. package/dist/esm/hosting/artifactWire.d.ts +94 -0
  46. package/dist/esm/hosting/artifactWire.js +90 -0
  47. package/dist/esm/hosting/artifactWire.js.map +1 -0
  48. package/dist/esm/hosting/errors.d.ts +78 -0
  49. package/dist/esm/hosting/errors.js +112 -0
  50. package/dist/esm/hosting/errors.js.map +1 -1
  51. package/dist/esm/hosting/httpHost.d.ts +26 -3
  52. package/dist/esm/hosting/httpHost.js +61 -13
  53. package/dist/esm/hosting/httpHost.js.map +1 -1
  54. package/dist/esm/hosting/index.d.ts +3 -1
  55. package/dist/esm/hosting/index.js +8 -1
  56. package/dist/esm/hosting/index.js.map +1 -1
  57. package/dist/esm/hosting/nodeHost.d.ts +5 -1
  58. package/dist/esm/hosting/nodeHost.js +15 -1
  59. package/dist/esm/hosting/nodeHost.js.map +1 -1
  60. package/dist/esm/hosting/standingAgent.js +187 -1
  61. package/dist/esm/hosting/standingAgent.js.map +1 -1
  62. package/dist/esm/hosting/types.d.ts +74 -13
  63. package/dist/esm/hosting/types.js.map +1 -1
  64. package/dist/esm/index.d.ts +1 -0
  65. package/dist/esm/index.js +12 -0
  66. package/dist/esm/index.js.map +1 -1
  67. package/dist/esm/recorders/core/CheckInRecorder.d.ts +3 -0
  68. package/dist/esm/recorders/core/CheckInRecorder.js +1 -0
  69. package/dist/esm/recorders/core/CheckInRecorder.js.map +1 -1
  70. package/dist/hosting/artifactWire.js +95 -0
  71. package/dist/hosting/artifactWire.js.map +1 -0
  72. package/dist/hosting/errors.js +118 -1
  73. package/dist/hosting/errors.js.map +1 -1
  74. package/dist/hosting/httpHost.js +60 -12
  75. package/dist/hosting/httpHost.js.map +1 -1
  76. package/dist/hosting/index.js +17 -1
  77. package/dist/hosting/index.js.map +1 -1
  78. package/dist/hosting/nodeHost.js +15 -1
  79. package/dist/hosting/nodeHost.js.map +1 -1
  80. package/dist/hosting/standingAgent.js +186 -0
  81. package/dist/hosting/standingAgent.js.map +1 -1
  82. package/dist/hosting/types.js.map +1 -1
  83. package/dist/index.js +18 -3
  84. package/dist/index.js.map +1 -1
  85. package/dist/recorders/core/CheckInRecorder.js +1 -0
  86. package/dist/recorders/core/CheckInRecorder.js.map +1 -1
  87. package/dist/types/adapters/hosting/agentcore.d.ts.map +1 -1
  88. package/dist/types/core/Agent.d.ts +15 -0
  89. package/dist/types/core/Agent.d.ts.map +1 -1
  90. package/dist/types/core/RunnerBase.d.ts.map +1 -1
  91. package/dist/types/core/agent/middleware/ledger.d.ts.map +1 -1
  92. package/dist/types/core/agent/middleware/outcomes.d.ts.map +1 -1
  93. package/dist/types/core/agent/middleware/types.d.ts +14 -0
  94. package/dist/types/core/agent/middleware/types.d.ts.map +1 -1
  95. package/dist/types/core/agent/stages/toolCalls.d.ts.map +1 -1
  96. package/dist/types/core/agent/types.d.ts +1 -0
  97. package/dist/types/core/agent/types.d.ts.map +1 -1
  98. package/dist/types/core/askComponent.d.ts +122 -0
  99. package/dist/types/core/askComponent.d.ts.map +1 -0
  100. package/dist/types/core/checkin.d.ts +10 -0
  101. package/dist/types/core/checkin.d.ts.map +1 -1
  102. package/dist/types/core/pause.d.ts +8 -0
  103. package/dist/types/core/pause.d.ts.map +1 -1
  104. package/dist/types/core/tools.d.ts +16 -0
  105. package/dist/types/core/tools.d.ts.map +1 -1
  106. package/dist/types/events/payloads.d.ts +24 -4
  107. package/dist/types/events/payloads.d.ts.map +1 -1
  108. package/dist/types/hosting/artifactWire.d.ts +95 -0
  109. package/dist/types/hosting/artifactWire.d.ts.map +1 -0
  110. package/dist/types/hosting/errors.d.ts +78 -0
  111. package/dist/types/hosting/errors.d.ts.map +1 -1
  112. package/dist/types/hosting/httpHost.d.ts +26 -3
  113. package/dist/types/hosting/httpHost.d.ts.map +1 -1
  114. package/dist/types/hosting/index.d.ts +3 -1
  115. package/dist/types/hosting/index.d.ts.map +1 -1
  116. package/dist/types/hosting/nodeHost.d.ts +5 -1
  117. package/dist/types/hosting/nodeHost.d.ts.map +1 -1
  118. package/dist/types/hosting/standingAgent.d.ts.map +1 -1
  119. package/dist/types/hosting/types.d.ts +74 -13
  120. package/dist/types/hosting/types.d.ts.map +1 -1
  121. package/dist/types/index.d.ts +1 -0
  122. package/dist/types/index.d.ts.map +1 -1
  123. package/dist/types/recorders/core/CheckInRecorder.d.ts +3 -0
  124. package/dist/types/recorders/core/CheckInRecorder.d.ts.map +1 -1
  125. package/package.json +1 -1
@@ -0,0 +1,90 @@
1
+ /**
2
+ * hosting/artifactWire — the wire grammar for redeeming claim tickets, owned
3
+ * once.
4
+ *
5
+ * The artifacts layer (9.21–9.22) taught tools and the model to route refs
6
+ * instead of hauling data; `present({ ref, as })` hands one to the screen.
7
+ * This module is the screen's half of that handshake: the two WIRE OPERATIONS
8
+ * a hosting door answers so a frontend can redeem the ticket —
9
+ *
10
+ * `{ op: 'artifact-head', ref }` → the ticket's metadata (the render
11
+ * decision: pick a component from `kind`
12
+ * and `bytes` without paying for bytes)
13
+ * `{ op: 'artifact-get', ref }` → metadata + the payload (render it)
14
+ *
15
+ * Read-only on purpose. The wire deliberately carries NO put/delete/list:
16
+ * a screen redeems tickets, it does not mint or sweep, and `list` over a wire
17
+ * would let a caller ENUMERATE a scope — possession of a ref is the whole
18
+ * entitlement this door honours, and even that only under the requesting
19
+ * session's identity-composed scope (`standingAgent` composes it; the store
20
+ * enforces it).
21
+ *
22
+ * ── Why ONE owner ────────────────────────────────────────────────────────────
23
+ * Two shipped dialects speak these ops (`jsonWire`, and the managed-runtime
24
+ * wire in `adapters/hosting/`) and any custom `HttpWire` may join them. An op
25
+ * grammar re-derived per dialect is how one of them ends up accepting
26
+ * `'artifact-head'` and another `'artifactHead'` — so the reader, the op names
27
+ * and the standard reply body live here and every dialect calls them (the
28
+ * `headerValue` precedent).
29
+ *
30
+ * ── The refusal law ──────────────────────────────────────────────────────────
31
+ * A body that NAMES an `op` never falls through to a model turn. A caller who
32
+ * typo'd `'artifact-head'` and silently got a conversation turn (with the ref
33
+ * as garbage input) would be the accepted-and-silently-wrong failure, so an
34
+ * unknown op — and a known op missing its `ref` — throws
35
+ * {@link InvalidWireOpError}, which `httpHost` answers as that request's 400.
36
+ */
37
+ import { InvalidWireOpError } from './errors.js';
38
+ /** The wire spelling of `head` — metadata only, the render-by-ref decision. */
39
+ export const ARTIFACT_HEAD_OP = 'artifact-head';
40
+ /** The wire spelling of `get` — metadata + payload. */
41
+ export const ARTIFACT_GET_OP = 'artifact-get';
42
+ /**
43
+ * Read an artifact operation out of a request body, if the body names one.
44
+ *
45
+ * Returns `undefined` for a body with no `op` field — an ordinary invoke,
46
+ * untouched. Throws {@link InvalidWireOpError} for an `op` this grammar does
47
+ * not know, and for a known op whose `ref` is missing or blank: a request
48
+ * that NAMED an operation must never quietly become something else.
49
+ *
50
+ * Exported for custom {@link import('./httpHost.js').HttpWire} dialects, so a
51
+ * third dialect reads the ops exactly as the two shipped ones do.
52
+ */
53
+ export function readArtifactWireOp(body) {
54
+ const op = body.op;
55
+ if (op === undefined)
56
+ return undefined;
57
+ if (op !== ARTIFACT_HEAD_OP && op !== ARTIFACT_GET_OP) {
58
+ throw new InvalidWireOpError(`the wire operation '${String(op)}' is not one this host speaks. Known operations: ` +
59
+ `'${ARTIFACT_HEAD_OP}' (the claim ticket's metadata) and '${ARTIFACT_GET_OP}' ` +
60
+ `(metadata + payload), each taking { ref }. A request without 'op' is an ordinary ` +
61
+ `invoke.`);
62
+ }
63
+ const ref = body.ref;
64
+ if (typeof ref !== 'string' || ref.trim().length === 0) {
65
+ throw new InvalidWireOpError(`'${String(op)}' needs 'ref' — the art_… claim ticket to redeem. The refs a run ` +
66
+ `minted travel in its tool results and artifacts.minted events; a present(...) ` +
67
+ `result carries the ref beside its description snapshot.`);
68
+ }
69
+ return { op: op === ARTIFACT_HEAD_OP ? 'head' : 'get', ref };
70
+ }
71
+ /**
72
+ * The standard reply body for a resolved artifact operation:
73
+ * `{ artifact: { ref, meta } }` for `head`, `{ artifact: { ref, meta, data } }`
74
+ * for `get`.
75
+ *
76
+ * Authored once so the two shipped dialects (and any custom one that wants
77
+ * interop with the lens family's resolver) answer byte-compatibly; a dialect
78
+ * that must add its own envelope fields spreads this and adds them beside
79
+ * `artifact` (the managed-runtime wire adds its own `status`).
80
+ */
81
+ export function artifactWireBody(result) {
82
+ return {
83
+ artifact: {
84
+ ref: result.ref,
85
+ meta: result.meta,
86
+ ...(result.op === 'get' && { data: result.data }),
87
+ },
88
+ };
89
+ }
90
+ //# sourceMappingURL=artifactWire.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"artifactWire.js","sourceRoot":"","sources":["../../../src/hosting/artifactWire.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AAGH,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAEjD,+EAA+E;AAC/E,MAAM,CAAC,MAAM,gBAAgB,GAAG,eAAe,CAAC;AAChD,uDAAuD;AACvD,MAAM,CAAC,MAAM,eAAe,GAAG,cAAc,CAAC;AAgC9C;;;;;;;;;;GAUG;AACH,MAAM,UAAU,kBAAkB,CAChC,IAAuC;IAEvC,MAAM,EAAE,GAAG,IAAI,CAAC,EAAE,CAAC;IACnB,IAAI,EAAE,KAAK,SAAS;QAAE,OAAO,SAAS,CAAC;IACvC,IAAI,EAAE,KAAK,gBAAgB,IAAI,EAAE,KAAK,eAAe,EAAE,CAAC;QACtD,MAAM,IAAI,kBAAkB,CAC1B,uBAAuB,MAAM,CAAC,EAAE,CAAC,mDAAmD;YAClF,IAAI,gBAAgB,wCAAwC,eAAe,IAAI;YAC/E,mFAAmF;YACnF,SAAS,CACZ,CAAC;IACJ,CAAC;IACD,MAAM,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC;IACrB,IAAI,OAAO,GAAG,KAAK,QAAQ,IAAI,GAAG,CAAC,IAAI,EAAE,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACvD,MAAM,IAAI,kBAAkB,CAC1B,IAAI,MAAM,CAAC,EAAE,CAAC,mEAAmE;YAC/E,gFAAgF;YAChF,yDAAyD,CAC5D,CAAC;IACJ,CAAC;IACD,OAAO,EAAE,EAAE,EAAE,EAAE,KAAK,gBAAgB,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,EAAE,GAAG,EAAE,CAAC;AAC/D,CAAC;AAED;;;;;;;;;GASG;AACH,MAAM,UAAU,gBAAgB,CAAC,MAA0B;IAGzD,OAAO;QACL,QAAQ,EAAE;YACR,GAAG,EAAE,MAAM,CAAC,GAAG;YACf,IAAI,EAAE,MAAM,CAAC,IAAI;YACjB,GAAG,CAAC,MAAM,CAAC,EAAE,KAAK,KAAK,IAAI,EAAE,IAAI,EAAE,MAAM,CAAC,IAAI,EAAE,CAAC;SAClD;KACF,CAAC;AACJ,CAAC"}
@@ -148,6 +148,84 @@ export declare class FrameTooLargeError extends Error {
148
148
  readonly maxFrameBytes: number;
149
149
  constructor(hostName: string, bytes: number, maxFrameBytes: number);
150
150
  }
151
+ /**
152
+ * Thrown when a request body names a wire operation this host does not speak,
153
+ * or names one and leaves out what it needs (an artifact op without a `ref`).
154
+ *
155
+ * The law it enforces: **a body that named an `op` never falls through to a
156
+ * model turn.** A caller who typo'd `'artifact-head'` and silently got a
157
+ * conversation turn — with the ref as garbage input — would be told nothing
158
+ * and billed anyway, which is the accepted-and-silently-wrong failure this
159
+ * refusal exists to prevent. Adapters answer it as that request's 400: the
160
+ * request is what is wrong, and the same caller can send the right shape.
161
+ */
162
+ export declare class InvalidWireOpError extends Error {
163
+ readonly code: "ERR_INVALID_WIRE_OP";
164
+ constructor(detail: string);
165
+ }
166
+ /**
167
+ * Thrown when an artifact operation arrives with no session id.
168
+ *
169
+ * Artifact resolution is governed by the requesting session's identity —
170
+ * a ref is redeemed under exactly the scope the run's tools minted it in, and
171
+ * a request that names no session presents no scope to resolve under. (A run
172
+ * served without a session scopes its artifacts to its own runId, which no
173
+ * later request can name — so there is genuinely nothing this request could
174
+ * ever redeem.) There is deliberately no bare-ref mode: an id alone opens
175
+ * nothing, ever.
176
+ */
177
+ export declare class ArtifactSessionRequiredError extends Error {
178
+ readonly code: "ERR_ARTIFACT_SESSION_REQUIRED";
179
+ constructor(op: 'head' | 'get');
180
+ }
181
+ /**
182
+ * Thrown when an artifact operation arrives and the agent serving this
183
+ * session has no artifact store attached.
184
+ *
185
+ * The teaching refusal of the fail-closed capability (`ctx.artifacts` with no
186
+ * store), spoken at the hosting door: it names the attach rather than
187
+ * answering "not found" — a deployment gap and a missing ref are different
188
+ * facts, and only one of them is the operator's to fix.
189
+ */
190
+ export declare class NoArtifactStoreError extends Error {
191
+ readonly code: "ERR_NO_ARTIFACT_STORE";
192
+ constructor(op: 'head' | 'get');
193
+ }
194
+ /**
195
+ * Thrown when a ref does not resolve for the requesting session — missing,
196
+ * expired, or minted under a scope this session's identity does not compose.
197
+ *
198
+ * **Deliberately one shape for all three.** Distinguishing "never existed"
199
+ * from "another session's" would let a caller probe scopes it does not own;
200
+ * the store already answers a wrong scope with "no data" rather than a
201
+ * cross-tenant error, and this refusal keeps that ambiguity on the wire.
202
+ * The screen renders a stated absence in place — the `present` result's
203
+ * description snapshot exists exactly so an expired pane can still say what
204
+ * is gone.
205
+ */
206
+ export declare class ArtifactNotFoundError extends Error {
207
+ readonly code: "ERR_ARTIFACT_NOT_FOUND";
208
+ /** The ref that did not resolve. */
209
+ readonly ref: string;
210
+ constructor(ref: string);
211
+ }
212
+ /**
213
+ * Raised when an artifact RESOLVED and the reply cannot describe it — a host
214
+ * without {@link HostReply.artifact}, or an `HttpWire` dialect without an
215
+ * `artifact` body shape.
216
+ *
217
+ * The `PauseNotCarriedError` shape, for the other optional terminal: the
218
+ * resolution itself succeeded and nothing about the store is wrong — it is
219
+ * THIS REPLY that has no vocabulary for the answer. Named rather than
220
+ * improvised, because an adapter inventing a body shape on the spot would be
221
+ * a body no client was written against.
222
+ */
223
+ export declare class ArtifactNotCarriedError extends Error {
224
+ readonly code: "ERR_ARTIFACT_NOT_CARRIED";
225
+ /** The ref that resolved but could not be delivered. */
226
+ readonly ref: string;
227
+ constructor(ref: string, hostName?: string);
228
+ }
151
229
  /**
152
230
  * Thrown when a store hands back something that is **present but unreadable**
153
231
  * where a `CheckpointEnvelope` should be.
@@ -227,6 +227,118 @@ export class FrameTooLargeError extends Error {
227
227
  this.maxFrameBytes = maxFrameBytes;
228
228
  }
229
229
  }
230
+ /**
231
+ * Thrown when a request body names a wire operation this host does not speak,
232
+ * or names one and leaves out what it needs (an artifact op without a `ref`).
233
+ *
234
+ * The law it enforces: **a body that named an `op` never falls through to a
235
+ * model turn.** A caller who typo'd `'artifact-head'` and silently got a
236
+ * conversation turn — with the ref as garbage input — would be told nothing
237
+ * and billed anyway, which is the accepted-and-silently-wrong failure this
238
+ * refusal exists to prevent. Adapters answer it as that request's 400: the
239
+ * request is what is wrong, and the same caller can send the right shape.
240
+ */
241
+ export class InvalidWireOpError extends Error {
242
+ code = 'ERR_INVALID_WIRE_OP';
243
+ constructor(detail) {
244
+ super(`[hosting] ${detail}`);
245
+ this.name = 'InvalidWireOpError';
246
+ }
247
+ }
248
+ /**
249
+ * Thrown when an artifact operation arrives with no session id.
250
+ *
251
+ * Artifact resolution is governed by the requesting session's identity —
252
+ * a ref is redeemed under exactly the scope the run's tools minted it in, and
253
+ * a request that names no session presents no scope to resolve under. (A run
254
+ * served without a session scopes its artifacts to its own runId, which no
255
+ * later request can name — so there is genuinely nothing this request could
256
+ * ever redeem.) There is deliberately no bare-ref mode: an id alone opens
257
+ * nothing, ever.
258
+ */
259
+ export class ArtifactSessionRequiredError extends Error {
260
+ code = 'ERR_ARTIFACT_SESSION_REQUIRED';
261
+ constructor(op) {
262
+ super(`[hosting] artifact-${op} needs the session whose run minted the ref: refs resolve ` +
263
+ `under the requesting session's identity-composed scope, and this request named no ` +
264
+ `session. Send sessionId the same way the conversation's own requests do — in the ` +
265
+ `body, the session header, or the session cookie. There is no bare-ref mode: a ref ` +
266
+ `alone opens nothing.`);
267
+ this.name = 'ArtifactSessionRequiredError';
268
+ }
269
+ }
270
+ /**
271
+ * Thrown when an artifact operation arrives and the agent serving this
272
+ * session has no artifact store attached.
273
+ *
274
+ * The teaching refusal of the fail-closed capability (`ctx.artifacts` with no
275
+ * store), spoken at the hosting door: it names the attach rather than
276
+ * answering "not found" — a deployment gap and a missing ref are different
277
+ * facts, and only one of them is the operator's to fix.
278
+ */
279
+ export class NoArtifactStoreError extends Error {
280
+ code = 'ERR_NO_ARTIFACT_STORE';
281
+ constructor(op) {
282
+ super(`[hosting] artifact-${op} has no artifact store behind it: the agent serving this ` +
283
+ `session was built without one, so no ref could ever resolve here. Pass ` +
284
+ `\`artifacts\` to Agent.create({ ..., artifacts }) — inMemoryArtifacts() for an ` +
285
+ `in-process store, fileArtifacts({ directory }) or sqliteArtifacts({ file }) for ` +
286
+ `one that survives a restart — and the wire operations answer from it.`);
287
+ this.name = 'NoArtifactStoreError';
288
+ }
289
+ }
290
+ /**
291
+ * Thrown when a ref does not resolve for the requesting session — missing,
292
+ * expired, or minted under a scope this session's identity does not compose.
293
+ *
294
+ * **Deliberately one shape for all three.** Distinguishing "never existed"
295
+ * from "another session's" would let a caller probe scopes it does not own;
296
+ * the store already answers a wrong scope with "no data" rather than a
297
+ * cross-tenant error, and this refusal keeps that ambiguity on the wire.
298
+ * The screen renders a stated absence in place — the `present` result's
299
+ * description snapshot exists exactly so an expired pane can still say what
300
+ * is gone.
301
+ */
302
+ export class ArtifactNotFoundError extends Error {
303
+ code = 'ERR_ARTIFACT_NOT_FOUND';
304
+ /** The ref that did not resolve. */
305
+ ref;
306
+ constructor(ref) {
307
+ super(`[hosting] artifact '${ref}' does not resolve for this session — missing, expired, ` +
308
+ `swept, or never stored under this session's scope. Render its stated absence in ` +
309
+ `place (a present(...) result carries a description snapshot for exactly this ` +
310
+ `moment); re-run to regenerate the data.`);
311
+ this.name = 'ArtifactNotFoundError';
312
+ this.ref = ref;
313
+ }
314
+ }
315
+ /**
316
+ * Raised when an artifact RESOLVED and the reply cannot describe it — a host
317
+ * without {@link HostReply.artifact}, or an `HttpWire` dialect without an
318
+ * `artifact` body shape.
319
+ *
320
+ * The `PauseNotCarriedError` shape, for the other optional terminal: the
321
+ * resolution itself succeeded and nothing about the store is wrong — it is
322
+ * THIS REPLY that has no vocabulary for the answer. Named rather than
323
+ * improvised, because an adapter inventing a body shape on the spot would be
324
+ * a body no client was written against.
325
+ */
326
+ export class ArtifactNotCarriedError extends Error {
327
+ code = 'ERR_ARTIFACT_NOT_CARRIED';
328
+ /** The ref that resolved but could not be delivered. */
329
+ ref;
330
+ constructor(ref, hostName) {
331
+ super(`[hosting] artifact '${ref}' resolved, but ` +
332
+ (hostName !== undefined
333
+ ? `the '${hostName}' host's wire has no artifact() body shape, `
334
+ : `this host does not implement reply.artifact(), `) +
335
+ `so the result cannot be described on this wire. Nothing is wrong with the ` +
336
+ `artifact — serve on an adapter that carries artifact results (nodeHost does), or ` +
337
+ `add the artifact body shape to the dialect.`);
338
+ this.name = 'ArtifactNotCarriedError';
339
+ this.ref = ref;
340
+ }
341
+ }
230
342
  /**
231
343
  * An already-computed preview, so {@link UnreadableEnvelopeError.withSession}
232
344
  * can copy a refusal without being handed the stored bytes a second time. Not
@@ -1 +1 @@
1
- {"version":3,"file":"errors.js","sourceRoot":"","sources":["../../../src/hosting/errors.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,OAAO,EAAE,aAAa,EAAE,M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CAA0C,OAAO,IAAI;YACrD,2EAA2E;YAC3E,gBAAgB;YAChB,sFAAsF;YACtF,6EAA6E;YAC7E,kBAAkB,CACrB,CAAC;QACF,IAAI,CAAC,IAAI,GAAG,yBAAyB,CAAC;QACtC,IAAI,SAAS,KAAK,SAAS;YAAE,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QACxD,IAAI,CAAC,aAAa,GAAG,OAAO,CAAC;IAC/B,CAAC;IAED;;;;;;;OAOG;IACH,WAAW,CAAC,SAAiB;QAC3B,IAAI,IAAI,CAAC,SAAS,KAAK,SAAS;YAAE,OAAO,IAAI,CAAC;QAC9C,MAAM,KAAK,GAAG,IAAI,uBAAuB,CAAC,IAAI,aAAa,CAAC,IAAI,CAAC,aAAa,CAAC,EAAE,SAAS,CAAC,CAAC;QAC5F,KAAK,CAAC,KAAK,GAAG,IAAI,CAAC;QACnB,OAAO,KAAK,CAAC;IACf,CAAC;CACF;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,UAAU,iBAAiB,CAC/B,IAAkC,EAClC,UAA0B;IAE1B,IAAI,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,UAAU,CAAC;QAAE,OAAO;IACnD,MAAM,GAAG,GAAG,IAAI,CAAC,YAAY,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC;IACjF,MAAM,IAAI,KAAK,CACb,kBAAkB,IAAI,CAAC,IAAI,4BAA4B,UAAU,KAAK;QACpE,eAAe,GAAG,wBAAwB;QAC1C,+BAA+B,UAAU,uCAAuC;QAChF,oFAAoF,CACvF,CAAC;AACJ,CAAC"}
@@ -8,9 +8,9 @@
8
8
  * what the caller asked for.
9
9
  *
10
10
  * Everything a deployment target gets to re-decide is an {@link HttpWire}: the
11
- * two paths, and the five JSON shapes — how a request names its input and its
12
- * session, and what a health probe, a completion, a failure and a streamed
13
- * piece look like on the wire.
11
+ * two paths, and the JSON body shapes — how a request names its input and its
12
+ * session, and what a health probe, a completion, a failure, a streamed piece,
13
+ * a pending question and a resolved artifact look like on the wire.
14
14
  *
15
15
  * ── Why this file exists ─────────────────────────────────────────────────────
16
16
  * `nodeHost` shipped first and hard-coded its own dialect: `{ input }` in,
@@ -68,6 +68,7 @@
68
68
  */
69
69
  /// <reference types="node" />
70
70
  import type { IncomingMessage, Server, ServerResponse } from 'node:http';
71
+ import type { ArtifactWireRequest, ArtifactWireResult } from './artifactWire.js';
71
72
  import type { AgentHost, ConversationHandler, ConversationHost, ConversationLimits, HostCapability, HostHandle, HostHandler, PendingAsk } from './types.js';
72
73
  import { type ConversationHandshake, type HandshakeFacts } from './webSocketConversation.js';
73
74
  export type { ConversationHandshake, HandshakeFacts };
@@ -115,6 +116,16 @@ export interface HttpWire {
115
116
  * message, so a wire that never returns it can only ever start new turns.
116
117
  */
117
118
  readonly decision?: unknown;
119
+ /**
120
+ * An artifact operation this request carries instead of a message
121
+ * (9.23.0). Read it with `readArtifactWireOp(facts.body)` — the one owner
122
+ * of the `{ op: 'artifact-head' | 'artifact-get', ref }` grammar — rather
123
+ * than re-deriving the op names per dialect. A dialect that never returns
124
+ * it simply cannot serve artifact resolution; a dialect that DOES must
125
+ * also implement {@link HttpWire.artifact}, or every resolved ref answers
126
+ * with the named not-carried refusal.
127
+ */
128
+ readonly artifact?: ArtifactWireRequest;
118
129
  /**
119
130
  * Headers to put on THIS request's reply, whatever terminal it ends with
120
131
  * (9.10.0).
@@ -148,6 +159,18 @@ export interface HttpWire {
148
159
  * either way.
149
160
  */
150
161
  awaiting?(pending: PendingAsk): unknown;
162
+ /**
163
+ * Body for a RESOLVED artifact operation (9.23.0) — the metadata for a
164
+ * `head`, metadata + payload for a `get`. Compose it with
165
+ * `artifactWireBody(result)` (both shipped dialects do) so clients read one
166
+ * shape; add dialect envelope fields beside it when the deployment's
167
+ * contract demands them.
168
+ *
169
+ * Optional exactly as `awaiting` is: a wire without it keeps compiling, and
170
+ * a resolved ref on such a wire is answered with the named
171
+ * `ArtifactNotCarriedError` refusal instead of an improvised body.
172
+ */
173
+ artifact?(result: ArtifactWireResult): unknown;
151
174
  /**
152
175
  * Pull the port's vocabulary out of one conversation handshake — the session
153
176
  * this conversation claims, any header mapping this dialect performs, and the
@@ -8,9 +8,9 @@
8
8
  * what the caller asked for.
9
9
  *
10
10
  * Everything a deployment target gets to re-decide is an {@link HttpWire}: the
11
- * two paths, and the five JSON shapes — how a request names its input and its
12
- * session, and what a health probe, a completion, a failure and a streamed
13
- * piece look like on the wire.
11
+ * two paths, and the JSON body shapes — how a request names its input and its
12
+ * session, and what a health probe, a completion, a failure, a streamed piece,
13
+ * a pending question and a resolved artifact look like on the wire.
14
14
  *
15
15
  * ── Why this file exists ─────────────────────────────────────────────────────
16
16
  * `nodeHost` shipped first and hard-coded its own dialect: `{ input }` in,
@@ -67,7 +67,7 @@
67
67
  * Everything HTTP lives here and in the wires; `types.ts` knows none of it.
68
68
  */
69
69
  import { encodeSSE } from '../stream.js';
70
- import { HostClosedError } from './errors.js';
70
+ import { ArtifactNotCarriedError, HostClosedError, InvalidWireOpError } from './errors.js';
71
71
  import { lowerCasedHeaders } from './headers.js';
72
72
  import { conversationDoor, } from './webSocketConversation.js';
73
73
  /**
@@ -83,6 +83,15 @@ import { conversationDoor, } from './webSocketConversation.js';
83
83
  * consistent state and it is the REQUEST that is wrong — it answered a consent
84
84
  * gate with a value instead of a decision. Nothing ran and the pause is still
85
85
  * there, so the same caller can send the right shape and continue.
86
+ *
87
+ * The artifact rows (9.23.0) follow the same reading. The two 400s are
88
+ * requests the same caller can fix (a malformed wire op; an op with no
89
+ * session). `ERR_ARTIFACT_NOT_FOUND` is 404 — the honest HTTP word for "no
90
+ * data at this name", and deliberately ONE status for missing, expired and
91
+ * another-session's alike, so the wire teaches a caller nothing about scopes
92
+ * it does not own. The two 501s are deployments that cannot do this at all —
93
+ * an agent without a store, a wire without the body shape — which no retry
94
+ * and no different request will change.
86
95
  */
87
96
  const STATUS_BY_CODE = {
88
97
  ERR_HOST_CLOSED: 503,
@@ -91,6 +100,11 @@ const STATUS_BY_CODE = {
91
100
  ERR_AWAITING_DECISION: 409,
92
101
  ERR_NO_PENDING_ASK: 409,
93
102
  ERR_DECISION_REQUIRED: 400,
103
+ ERR_INVALID_WIRE_OP: 400,
104
+ ERR_ARTIFACT_SESSION_REQUIRED: 400,
105
+ ERR_ARTIFACT_NOT_FOUND: 404,
106
+ ERR_NO_ARTIFACT_STORE: 501,
107
+ ERR_ARTIFACT_NOT_CARRIED: 501,
94
108
  };
95
109
  /**
96
110
  * What a run that stopped to ask a person answers with: **202 Accepted.**
@@ -377,7 +391,7 @@ export function httpHost(options) {
377
391
  sendJson(res, STATUS_BY_CODE[refusal.code] ?? 500, wire.failure(refusal.message, refusal.code));
378
392
  return;
379
393
  }
380
- const served = serveOne(req, res, handler, wire);
394
+ const served = serveOne(req, res, handler, wire, name);
381
395
  inFlight.add(served);
382
396
  // `serveOne` never rejects, by construction — see its doc.
383
397
  void served.finally(() => inFlight.delete(served));
@@ -447,9 +461,9 @@ export function httpHost(options) {
447
461
  * which on node's defaults is the same crash the law above forbids, reached by
448
462
  * a different road.
449
463
  */
450
- async function serveOne(req, res, handler, wire) {
464
+ async function serveOne(req, res, handler, wire, hostName) {
451
465
  try {
452
- await dispatchOne(req, res, handler, wire);
466
+ await dispatchOne(req, res, handler, wire, hostName);
453
467
  }
454
468
  catch (err) {
455
469
  // Everything inside answers its own failures; anything that got past them
@@ -458,7 +472,7 @@ async function serveOne(req, res, handler, wire) {
458
472
  failSafely(res, wire, err);
459
473
  }
460
474
  }
461
- async function dispatchOne(req, res, handler, wire) {
475
+ async function dispatchOne(req, res, handler, wire, hostName) {
462
476
  const wantsStream = (req.headers.accept ?? '').includes('text/event-stream');
463
477
  const controller = new AbortController();
464
478
  let body;
@@ -471,11 +485,23 @@ async function dispatchOne(req, res, handler, wire) {
471
485
  }
472
486
  const headers = lowerCasedHeaders(req.headers);
473
487
  const query = new URLSearchParams((req.url ?? '').split('?')[1] ?? '');
474
- const { input, sessionId, userId, decision, responseHeaders } = wire.readRequest({
475
- body,
476
- headers,
477
- query,
478
- });
488
+ let read;
489
+ try {
490
+ read = wire.readRequest({ body, headers, query });
491
+ }
492
+ catch (err) {
493
+ // A body that NAMED a wire operation this dialect does not speak — or
494
+ // named one and left out what it needs. The request is what is wrong, so
495
+ // it gets its own 400 with the teaching refusal, and never falls through
496
+ // to a model turn. Anything else a dialect throws stays what it always
497
+ // was: this request's 500, via serveOne's catch.
498
+ if (err instanceof InvalidWireOpError) {
499
+ sendJson(res, STATUS_BY_CODE[err.code] ?? 400, wire.failure(err.message, err.code));
500
+ return;
501
+ }
502
+ throw err;
503
+ }
504
+ const { input, sessionId, userId, decision, artifact, responseHeaders } = read;
479
505
  // The dialect's own reply headers — a `Set-Cookie` that issues a session, and
480
506
  // nothing else so far. Stripped of `content-type` because the framing below
481
507
  // is this host's to decide: a dialect that set it would be choosing between
@@ -523,6 +549,27 @@ async function dispatchOne(req, res, handler, wire) {
523
549
  sendJson(res, 200, wire.output(output), extraHeaders);
524
550
  }
525
551
  },
552
+ artifact(result) {
553
+ if (settled)
554
+ return;
555
+ // A wire that cannot describe an artifact result must not answer 200
556
+ // with an improvised body — a shape no client was written against is a
557
+ // blank pane with extra steps. The named refusal says what resolved and
558
+ // why this wire could not carry it.
559
+ if (!wire.artifact) {
560
+ reply.fail(new ArtifactNotCarriedError(result.ref, hostName));
561
+ return;
562
+ }
563
+ settled = true;
564
+ const payload = wire.artifact(result);
565
+ if (wantsStream) {
566
+ res.write(encodeSSE('artifact', payload));
567
+ res.end();
568
+ }
569
+ else {
570
+ sendJson(res, 200, payload, extraHeaders);
571
+ }
572
+ },
526
573
  awaiting(pending) {
527
574
  if (settled)
528
575
  return;
@@ -569,6 +616,7 @@ async function dispatchOne(req, res, handler, wire) {
569
616
  ...(sessionId !== undefined && { sessionId }),
570
617
  ...(userId !== undefined && { userId }),
571
618
  ...(decision !== undefined && { decision }),
619
+ ...(artifact !== undefined && { artifact }),
572
620
  headers,
573
621
  signal: controller.signal,
574
622
  }, reply);
@@ -1 +1 @@
1
- {"version":3,"file":"httpHost.js","sourceRoot":"","sources":["../../../src/hosting/httpHost.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmEG;AAKH,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAYjD,OAAO,EACL,gBAAgB,GAGjB,MAAM,4BAA4B,CAAC;AAmRpC;;;;;;;;;;;;;GAaG;AACH,MAAM,cAAc,GAAqC;IACvD,eAAe,EAAE,GAAG;IACpB,kBAAkB,EAAE,GAAG;IACvB,qBAAqB,EAAE,GAAG;IAC1B,qBAAqB,EAAE,GAAG;IAC1B,kBAAkB,EAAE,GAAG;IACvB,qBAAqB,EAAE,GAAG;CAC3B,CAAC;AAEF;;;;;;GAMG;AACH,MAAM,eAAe,GAAG,GAAG,CAAC;AAE5B,MAAM,oBAAoB,GAA8B,CAAC,WAAW,CAAC,CAAC;AAEtE;;;;;;;;;GASG;AACH,MAAM,2BAA2B,GAAG;IAClC,aAAa,EAAE,SAAS;IACxB,eAAe,EAAE,SAAS;CAClB,CAAC;AAEX;;;;;;GAMG;AACH,MAAM,UAAU,QAAQ,CAAC,OAAwB;IAC/C,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,UAAU,EAAE,UAAU,EAAE,gBAAgB,EAAE,GAAG,OAAO,CAAC;IACzE,MAAM,SAAS,GAAG,OAAO,CAAC,MAAM,CAAC;IACjC,yEAAyE;IACzE,2EAA2E;IAC3E,4EAA4E;IAC5E,qBAAqB;IACrB,IAAI,SAAS,IAAI,CAAC,OAAO,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O,CAAC,OAAO,CAAC,CAAC,CAAC;QAC/C,CAAC;QAAC,MAAM,CAAC;YACP,yEAAyE;YACzE,IAAI,GAAG,IAAI,CAAC,SAAS,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC,CAAC;QAC5C,CAAC;QACD,GAAG,CAAC,SAAS,CAAC,GAAG,EAAE,EAAE,cAAc,EAAE,kBAAkB,EAAE,CAAC,CAAC;QAC3D,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;IAChB,CAAC;IAAC,MAAM,CAAC;QACP,yEAAyE;QACzE,kEAAkE;IACpE,CAAC;AACH,CAAC;AAED,SAAS,OAAO,CAAC,GAAY;IAC3B,OAAO,GAAG,YAAY,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC;AAC7D,CAAC;AAED;;;;;;;;;GASG;AACH,MAAM,UAAU,WAAW,CACzB,KAA6D,EAC7D,IAAY,EACZ,GAAG,SAAmB;IAEtB,KAAK,MAAM,SAAS,IAAI,CAAC,IAAI,EAAE,GAAG,SAAS,CAAC,EAAE,CAAC;QAC7C,MAAM,KAAK,GAAG,KAAK,CAAC,OAAO,CAAC,SAAS,CAAC,WAAW,EAAE,CAAC,CAAC;QACrD,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC;YAAE,OAAO,KAAK,CAAC;IAClE,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC"}
@@ -95,5 +95,7 @@ export type { SqliteSessions, SqliteSessionsOptions } from './sqliteSessions.js'
95
95
  export { toEnvelope, toPausedEnvelope, readEnvelope, readPausedRun, checkEnvelope, } from './envelope.js';
96
96
  export { standingAgent } from './standingAgent.js';
97
97
  export { DEFAULT_MAX_ACTIVE_SESSIONS } from './types.js';
98
- export { requireCapability, HostClosedError, ConcurrentRunError, PauseNotCarriedError, AwaitingDecisionError, NoPendingAskError, UnreadableEnvelopeError, ConversationClosedError, FrameTooLargeError, } from './errors.js';
98
+ export { requireCapability, HostClosedError, ConcurrentRunError, PauseNotCarriedError, AwaitingDecisionError, NoPendingAskError, UnreadableEnvelopeError, ConversationClosedError, FrameTooLargeError, InvalidWireOpError, ArtifactSessionRequiredError, NoArtifactStoreError, ArtifactNotFoundError, ArtifactNotCarriedError, } from './errors.js';
99
+ export { readArtifactWireOp, artifactWireBody, ARTIFACT_HEAD_OP, ARTIFACT_GET_OP, } from './artifactWire.js';
100
+ export type { ArtifactWireRequest, ArtifactWireResult } from './artifactWire.js';
99
101
  export type { AgentHost, CheckpointEnvelope, ConcurrentInvokePolicy, ConversationClose, ConversationEnvelope, ConversationHandler, ConversationHost, ConversationLimits, DurabilityMode, HostCapability, HostConversation, HostHandle, HostHandler, HostReply, HostRequest, PausedRun, PausedRunEnvelope, PendingAsk, SessionLifecycle, StandingAgentBaseOptions, StandingAgentOptions, StandingAgentPoolOptions, StandingAgentSharedOptions, Unsubscribe, WakeReason, } from './types.js';
@@ -98,5 +98,12 @@ export { sqliteSessions, SqliteUnavailableError, UnreadableSessionFileError, } f
98
98
  export { toEnvelope, toPausedEnvelope, readEnvelope, readPausedRun, checkEnvelope, } from './envelope.js';
99
99
  export { standingAgent } from './standingAgent.js';
100
100
  export { DEFAULT_MAX_ACTIVE_SESSIONS } from './types.js';
101
- export { requireCapability, HostClosedError, ConcurrentRunError, PauseNotCarriedError, AwaitingDecisionError, NoPendingAskError, UnreadableEnvelopeError, ConversationClosedError, FrameTooLargeError, } from './errors.js';
101
+ export { requireCapability, HostClosedError, ConcurrentRunError, PauseNotCarriedError, AwaitingDecisionError, NoPendingAskError, UnreadableEnvelopeError, ConversationClosedError, FrameTooLargeError, InvalidWireOpError, ArtifactSessionRequiredError, NoArtifactStoreError, ArtifactNotFoundError, ArtifactNotCarriedError, } from './errors.js';
102
+ // The artifact wire operations (9.23.0) — the screen's half of render-by-ref:
103
+ // `{ op: 'artifact-head' | 'artifact-get', ref }` on the invoke path redeems
104
+ // a claim ticket under the requesting session's identity-composed scope.
105
+ // The grammar has ONE owner; a custom HttpWire dialect reads the ops with
106
+ // `readArtifactWireOp` and answers with `artifactWireBody`, exactly as the
107
+ // two shipped dialects do.
108
+ export { readArtifactWireOp, artifactWireBody, ARTIFACT_HEAD_OP, ARTIFACT_GET_OP, } from './artifactWire.js';
102
109
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/hosting/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsFG;AAEH,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,YAAY,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAC;AAEzF,6EAA6E;AAC7E,2EAA2E;AAC3E,+EAA+E;AAC/E,0EAA0E;AAC1E,+EAA+E;AAC/E,oCAAoC;AAEpC,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAWtD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EACL,cAAc,EACd,sBAAsB,EACtB,0BAA0B,GAC3B,MAAM,qBAAqB,CAAC;AAK7B,OAAO,EACL,UAAU,EACV,gBAAgB,EAChB,YAAY,EACZ,aAAa,EACb,aAAa,GACd,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAEnD,OAAO,EAAE,2BAA2B,EAAE,MAAM,YAAY,CAAC;AAEzD,OAAO,EACL,iBAAiB,EACjB,eAAe,EACf,kBAAkB,EAClB,oBAAoB,EACpB,qBAAqB,EACrB,iBAAiB,EACjB,uBAAuB,EACvB,uBAAuB,EACvB,kBAAkB,GACnB,MAAM,aAAa,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","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