stitchkit 0.136.0 → 0.136.2

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 (128) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/README.md +12 -0
  3. package/dist/agent-executor/executor-contract.d.ts.map +1 -1
  4. package/dist/agent-executor/vocabulary.d.ts +80 -0
  5. package/dist/agent-executor/vocabulary.d.ts.map +1 -1
  6. package/dist/agent-parts/model.d.ts +94 -0
  7. package/dist/agent-parts/model.d.ts.map +1 -1
  8. package/dist/agent-parts/parts.d.ts +176 -0
  9. package/dist/agent-parts/parts.d.ts.map +1 -1
  10. package/dist/agent-runtime/browser/browser-control-contract.d.ts +440 -0
  11. package/dist/agent-runtime/browser/browser-control-contract.d.ts.map +1 -1
  12. package/dist/agent-runtime/browser/control-schema.d.ts +528 -0
  13. package/dist/agent-runtime/browser/control-schema.d.ts.map +1 -1
  14. package/dist/agent-runtime/event-schema.d.ts +704 -0
  15. package/dist/agent-runtime/event-schema.d.ts.map +1 -1
  16. package/dist/agent-runtime/history/run-history-parts.d.ts.map +1 -1
  17. package/dist/agent-runtime/loop/provider-stream-parts.d.ts.map +1 -1
  18. package/dist/agent-runtime/loop/provider-stream-segments.d.ts +0 -2
  19. package/dist/agent-runtime/loop/provider-stream-segments.d.ts.map +1 -1
  20. package/dist/agent-runtime/loop/run-approval-signature.d.ts +5 -1
  21. package/dist/agent-runtime/loop/run-approval-signature.d.ts.map +1 -1
  22. package/dist/agent-runtime/loop/run-loop-events.d.ts +6 -1
  23. package/dist/agent-runtime/loop/run-loop-events.d.ts.map +1 -1
  24. package/dist/agent-runtime/loop/run-stream-parts.d.ts.map +1 -1
  25. package/dist/agent-runtime/loop/run-stream-recorded.d.ts.map +1 -1
  26. package/dist/agent-runtime/loop/run-tool-call.d.ts +11 -3
  27. package/dist/agent-runtime/loop/run-tool-call.d.ts.map +1 -1
  28. package/dist/agent-runtime/providers/ai-sdk-normalize.d.ts +4 -0
  29. package/dist/agent-runtime/providers/ai-sdk-normalize.d.ts.map +1 -1
  30. package/dist/agent-runtime/providers/ai-sdk-tools.d.ts.map +1 -1
  31. package/dist/agent-runtime/runtime-internals.d.ts +1 -3
  32. package/dist/agent-runtime/runtime-internals.d.ts.map +1 -1
  33. package/dist/agent-runtime/schemas-json-projection.d.ts +29 -0
  34. package/dist/agent-runtime/schemas-json-projection.d.ts.map +1 -0
  35. package/dist/agent-runtime/schemas-message.d.ts +88 -0
  36. package/dist/agent-runtime/schemas-message.d.ts.map +1 -1
  37. package/dist/agent-runtime/schemas-run.d.ts +88 -0
  38. package/dist/agent-runtime/schemas-run.d.ts.map +1 -1
  39. package/dist/agent-runtime/stores/branch-messages.d.ts.map +1 -1
  40. package/dist/agent-runtime/stores/branch-replay.d.ts +264 -0
  41. package/dist/agent-runtime/stores/branch-replay.d.ts.map +1 -1
  42. package/dist/agent-runtime/stores/conversations.d.ts +88 -0
  43. package/dist/agent-runtime/stores/conversations.d.ts.map +1 -1
  44. package/dist/agent-runtime/stores/sql-rows.d.ts +64 -0
  45. package/dist/agent-runtime/stores/sql-rows.d.ts.map +1 -1
  46. package/dist/agent-runtime/stores/store-driver-contract.d.ts +616 -0
  47. package/dist/agent-runtime/stores/store-driver-contract.d.ts.map +1 -1
  48. package/dist/agent-runtime/stores/store-events.d.ts +1056 -0
  49. package/dist/agent-runtime/stores/store-events.d.ts.map +1 -1
  50. package/dist/agent-runtime/stores/store.d.ts +1232 -0
  51. package/dist/agent-runtime/stores/store.d.ts.map +1 -1
  52. package/dist/agent-runtime/terminal-commit.d.ts +69 -5
  53. package/dist/agent-runtime/terminal-commit.d.ts.map +1 -1
  54. package/dist/agent-runtime/testing/store-conformance-lifecycle.d.ts +164 -36
  55. package/dist/agent-runtime/testing/store-conformance-lifecycle.d.ts.map +1 -1
  56. package/dist/agent-runtime/testing/store-conformance-support.d.ts +82 -18
  57. package/dist/agent-runtime/testing/store-conformance-support.d.ts.map +1 -1
  58. package/dist/application/diagnostic-journal-manager.d.ts +1 -1
  59. package/dist/application/diagnostic-journal-manager.d.ts.map +1 -1
  60. package/dist/application/notification-delivery.d.ts.map +1 -1
  61. package/dist/entrypoints/agent-executor/acp.js +5 -4
  62. package/dist/entrypoints/agent-executor/claude-sdk.js +7 -6
  63. package/dist/entrypoints/agent-executor/claude.js +7 -6
  64. package/dist/entrypoints/agent-executor/codex.js +6 -5
  65. package/dist/entrypoints/agent-executor/testing/claude-sdk.js +4 -3
  66. package/dist/entrypoints/agent-executor/testing.js +7 -6
  67. package/dist/entrypoints/agent-executor.js +7 -7
  68. package/dist/entrypoints/agent-runtime/ai-sdk.js +30 -24
  69. package/dist/entrypoints/agent-runtime/anthropic.js +3 -3
  70. package/dist/entrypoints/agent-runtime/browser.js +8 -7
  71. package/dist/entrypoints/agent-runtime/harness.js +14 -14
  72. package/dist/entrypoints/agent-runtime/openai.js +3 -3
  73. package/dist/entrypoints/agent-runtime/openrouter.js +3 -3
  74. package/dist/entrypoints/agent-runtime/postgres.js +9 -9
  75. package/dist/entrypoints/agent-runtime/realtime.js +9 -8
  76. package/dist/entrypoints/agent-runtime/sqlite/bun.js +10 -10
  77. package/dist/entrypoints/agent-runtime/sqlite/node.js +10 -10
  78. package/dist/entrypoints/agent-runtime/testing.js +8 -8
  79. package/dist/entrypoints/agent-runtime.js +21 -21
  80. package/dist/entrypoints/application/diagnostic-journal.js +14 -10
  81. package/dist/entrypoints/application.js +16 -4
  82. package/dist/entrypoints/files/packaging.js +72 -36
  83. package/dist/entrypoints/tools/agent.js +2 -2
  84. package/dist/entrypoints/tools/toolkit.js +1 -1
  85. package/dist/entrypoints/tools.js +5 -3
  86. package/dist/files/client-declarations.d.ts +11 -3
  87. package/dist/files/client-declarations.d.ts.map +1 -1
  88. package/dist/files/client-package.d.ts.map +1 -1
  89. package/dist/index-1psbyyhj.js +21 -0
  90. package/dist/{index-kzsetgh9.js → index-26v8hjqm.js} +4 -4
  91. package/dist/{index-4243301z.js → index-2wm9b9vs.js} +5 -5
  92. package/dist/{index-tb36xawm.js → index-32ew02z1.js} +1 -1
  93. package/dist/{index-1en7k3q5.js → index-4q9tmzea.js} +3 -3
  94. package/dist/{index-shte29pg.js → index-8cnfgwg8.js} +148 -106
  95. package/dist/{index-mkmep637.js → index-9m1m92rg.js} +1 -1
  96. package/dist/index-a1rjr381.js +114 -0
  97. package/dist/{index-6kwdfb9m.js → index-akesakvj.js} +23 -4
  98. package/dist/{index-rg08syp1.js → index-d5mhgx72.js} +7 -5
  99. package/dist/{index-36mtj8xm.js → index-e4w0sfm1.js} +2 -2
  100. package/dist/{index-jperyn0c.js → index-gj4wdts6.js} +1 -1
  101. package/dist/{index-pd9e8rz4.js → index-gvv7y0s4.js} +1 -1
  102. package/dist/{index-vebzvse6.js → index-jy907kcs.js} +24 -1
  103. package/dist/{index-54wp467c.js → index-k5azb3v3.js} +4 -21
  104. package/dist/{index-qcy8et93.js → index-kaq9nb7h.js} +6 -6
  105. package/dist/{index-vse7x1qt.js → index-knqye3gv.js} +1 -1
  106. package/dist/{index-tav72wz5.js → index-ks4rhtcc.js} +5 -0
  107. package/dist/{index-xnqab06h.js → index-mtpcax6d.js} +3 -3
  108. package/dist/{index-7qza24g1.js → index-px9r6wv1.js} +1 -1
  109. package/dist/{index-epwvp88y.js → index-r9w7wfgn.js} +1 -1
  110. package/dist/{index-aacwkve4.js → index-sjq4akrx.js} +3 -5
  111. package/dist/{index-5dxgx3yj.js → index-tcv71frn.js} +1 -1
  112. package/dist/{index-1zy31r3b.js → index-v92djygb.js} +1 -1
  113. package/dist/{index-9f60gnfn.js → index-xaa3603f.js} +4 -11
  114. package/dist/{index-j3r7r1mh.js → index-yv7d6tav.js} +1 -1
  115. package/dist/{index-hberxns4.js → index-zagc12j1.js} +5 -5
  116. package/dist/{index-j5vzhj3d.js → index-zqc64g69.js} +3 -3
  117. package/dist/{index-hpzhz1vm.js → index-zthekmrt.js} +2 -2
  118. package/dist/internal/json-stringify.d.ts +37 -0
  119. package/dist/internal/json-stringify.d.ts.map +1 -0
  120. package/llms/agent-runtime.5.txt +1 -1
  121. package/llms/agent-runtime.txt +14 -0
  122. package/llms/application.2.txt +6 -3
  123. package/llms/application.3.txt +2 -1
  124. package/llms/application.txt +4 -1
  125. package/llms/process.2.txt +2 -3
  126. package/llms-full.txt +29 -9
  127. package/llms.txt +2 -2
  128. package/package.json +1 -1
@@ -7,8 +7,9 @@ import {
7
7
  assertImageFrameBytes,
8
8
  imageTurnStarter
9
9
  } from "../../index-65p8v81y.js";
10
- import"../../index-tav72wz5.js";
11
- import"../../index-6kwdfb9m.js";
10
+ import"../../index-jy907kcs.js";
11
+ import"../../index-ks4rhtcc.js";
12
+ import"../../index-akesakvj.js";
12
13
  import {
13
14
  ENGINE_LINE_BYTES,
14
15
  assertEngineWrapCommand,
@@ -22,7 +23,7 @@ import {
22
23
  runEngineCli,
23
24
  stopConnection,
24
25
  emitStartupPhase
25
- } from "../../index-aacwkve4.js";
26
+ } from "../../index-sjq4akrx.js";
26
27
  import"../../index-02kdtrcd.js";
27
28
  import {
28
29
  claudeUserContent,
@@ -39,14 +40,14 @@ import {
39
40
  claudeTranscriptHasUuid2,
40
41
  claudeTranscriptExists,
41
42
  findTranscriptInput2
42
- } from "../../index-xnqab06h.js";
43
- import"../../index-mkmep637.js";
43
+ } from "../../index-mtpcax6d.js";
44
+ import"../../index-9m1m92rg.js";
44
45
  import {
45
46
  holdEngineRequest,
46
47
  loseEngineTurn,
47
48
  interruptEngineTurn,
48
49
  respondToEngineRequest
49
- } from "../../index-5dxgx3yj.js";
50
+ } from "../../index-tcv71frn.js";
50
51
  import"../../index-8cek82ar.js";
51
52
  import"../../index-0sxj3y45.js";
52
53
  import {
@@ -2,8 +2,9 @@ import"../../index-02kdtrcd.js";
2
2
  import"../../index-tgehj4bp.js";
3
3
  import"../../index-5c4m8zdf.js";
4
4
  import"../../index-6kec3b14.js";
5
- import"../../index-tav72wz5.js";
6
- import"../../index-6kwdfb9m.js";
5
+ import"../../index-jy907kcs.js";
6
+ import"../../index-ks4rhtcc.js";
7
+ import"../../index-akesakvj.js";
7
8
  import {
8
9
  InteractionReplySchema2,
9
10
  PlanWindowSchema2,
@@ -30,7 +31,7 @@ import {
30
31
  invokeObserver,
31
32
  emitStartupPhase,
32
33
  clampUniqueWindowName
33
- } from "../../index-aacwkve4.js";
34
+ } from "../../index-sjq4akrx.js";
34
35
  import {
35
36
  JsonRpcValueSchema2,
36
37
  JsonRpcError2,
@@ -83,7 +84,7 @@ import {
83
84
  } from "../../index-c7fj4yw9.js";
84
85
  import {
85
86
  planLimitsReadFailed2
86
- } from "../../index-mkmep637.js";
87
+ } from "../../index-9m1m92rg.js";
87
88
  import {
88
89
  holdEngineRequest,
89
90
  endEngineTurn,
@@ -92,7 +93,7 @@ import {
92
93
  refuseEngineTurnRequests,
93
94
  interruptEngineTurn,
94
95
  respondToEngineRequest
95
- } from "../../index-5dxgx3yj.js";
96
+ } from "../../index-tcv71frn.js";
96
97
  import"../../index-8cek82ar.js";
97
98
  import"../../index-0sxj3y45.js";
98
99
  import {
@@ -1,12 +1,13 @@
1
1
  import"../../../index-1w69rj9f.js";
2
2
  import"../../../index-c9j8441q.js";
3
- import"../../../index-tav72wz5.js";
4
- import"../../../index-6kwdfb9m.js";
3
+ import"../../../index-jy907kcs.js";
4
+ import"../../../index-ks4rhtcc.js";
5
+ import"../../../index-akesakvj.js";
5
6
  import {
6
7
  unexpected,
7
8
  noopClose,
8
9
  pickOptional
9
- } from "../../../index-epwvp88y.js";
10
+ } from "../../../index-r9w7wfgn.js";
10
11
  import {
11
12
  untilAborted,
12
13
  linkAbortSignals
@@ -2,12 +2,13 @@ import"../../index-snef22zr.js";
2
2
  import {
3
3
  createLocalStepDurability2
4
4
  } from "../../index-xrsryvd2.js";
5
- import"../../index-tav72wz5.js";
5
+ import"../../index-jy907kcs.js";
6
+ import"../../index-ks4rhtcc.js";
6
7
  import {
7
8
  ExecutorThreadDispositionSchema2,
8
9
  ExecutorStartupPhaseSchema2,
9
10
  ExecutorErrorKindSchema2
10
- } from "../../index-6kwdfb9m.js";
11
+ } from "../../index-akesakvj.js";
11
12
  import {
12
13
  InteractionReplySchema2,
13
14
  ExecutorEngineSchema2,
@@ -19,7 +20,7 @@ import {
19
20
  sessionAbort,
20
21
  sessionLiveness,
21
22
  emitStartupPhase
22
- } from "../../index-aacwkve4.js";
23
+ } from "../../index-sjq4akrx.js";
23
24
  import {
24
25
  JsonRpcValueSchema2,
25
26
  JsonRpcError2,
@@ -43,7 +44,7 @@ import {
43
44
  createStubAgentEngineTurn2,
44
45
  createStubCodexTurn2,
45
46
  createStubAcpSession2
46
- } from "../../index-epwvp88y.js";
47
+ } from "../../index-r9w7wfgn.js";
47
48
  import {
48
49
  dispatchTurn2,
49
50
  projectExecutorDeltas2
@@ -55,14 +56,14 @@ import {
55
56
  } from "../../index-c7fj4yw9.js";
56
57
  import {
57
58
  mergeRateLimitEvent2
58
- } from "../../index-mkmep637.js";
59
+ } from "../../index-9m1m92rg.js";
59
60
  import {
60
61
  holdEngineRequest,
61
62
  endEngineTurn,
62
63
  loseEngineTurn,
63
64
  interruptEngineTurn,
64
65
  respondToEngineRequest
65
- } from "../../index-5dxgx3yj.js";
66
+ } from "../../index-tcv71frn.js";
66
67
  import"../../index-8cek82ar.js";
67
68
  import"../../index-0sxj3y45.js";
68
69
  import {
@@ -7,10 +7,10 @@ import {
7
7
  import {
8
8
  defineRealtimeContract2
9
9
  } from "../index-814xpr6d.js";
10
+ import"../index-jy907kcs.js";
11
+ import"../index-ks4rhtcc.js";
10
12
  import {
11
- AgentMessagePartSchema2
12
- } from "../index-tav72wz5.js";
13
- import {
13
+ ExecutorMessagePartSchema,
14
14
  ExecutorRawSchema2,
15
15
  ExecutorTokenUsageSchema2,
16
16
  ExecutorModelUsageSchema2,
@@ -23,7 +23,7 @@ import {
23
23
  ExecutorPlanDeltaSchema2,
24
24
  ExecutorErrorKindSchema2,
25
25
  ExecutorDeltaSchema2
26
- } from "../index-6kwdfb9m.js";
26
+ } from "../index-akesakvj.js";
27
27
  import {
28
28
  ThreadClaimSchema2,
29
29
  ThreadLeaseSchema2,
@@ -54,7 +54,7 @@ import {
54
54
  engineEnvironment2,
55
55
  ownCredentials2,
56
56
  helloProfile2
57
- } from "../index-aacwkve4.js";
57
+ } from "../index-sjq4akrx.js";
58
58
  import"../index-tgehj4bp.js";
59
59
  import"../index-5c4m8zdf.js";
60
60
  import"../index-6kec3b14.js";
@@ -77,7 +77,7 @@ import {
77
77
  planLimitsDue2,
78
78
  planLimitsReadFailed2,
79
79
  mergeRateLimitEvent2
80
- } from "../index-mkmep637.js";
80
+ } from "../index-9m1m92rg.js";
81
81
  import"../index-8cek82ar.js";
82
82
  import"../index-0sxj3y45.js";
83
83
  import {
@@ -201,7 +201,7 @@ var ContextHandoffMessageEntrySchema = z2.strictObject({
201
201
  kind: z2.literal("message"),
202
202
  id: IdSchema,
203
203
  role: z2.enum(["user", "assistant"]),
204
- parts: z2.array(AgentMessagePartSchema2).max(HANDOFF_LIMITS.partsPerEntry),
204
+ parts: z2.array(ExecutorMessagePartSchema).max(HANDOFF_LIMITS.partsPerEntry),
205
205
  turnId: IdSchema.optional(),
206
206
  providerThreadId: IdSchema.optional(),
207
207
  status: z2.enum(["completed", "interrupted", "failed"]).optional()
@@ -1,17 +1,25 @@
1
- import"../../index-tav72wz5.js";
2
- import"../../index-j3r7r1mh.js";
3
- import"../../index-7qza24g1.js";
1
+ import {
2
+ AgentCacheControlSchema2,
3
+ AgentToolModelOutputSchema2
4
+ } from "../../index-jy907kcs.js";
5
+ import"../../index-ks4rhtcc.js";
6
+ import"../../index-yv7d6tav.js";
7
+ import"../../index-px9r6wv1.js";
4
8
  import {
5
9
  providerEnvelope,
6
10
  normalizeTokenUsage
7
- } from "../../index-9f60gnfn.js";
11
+ } from "../../index-xaa3603f.js";
8
12
  import {
9
- AgentCacheControlSchema2,
10
- AgentToolModelOutputSchema2
11
- } from "../../index-vebzvse6.js";
13
+ describeJsonRefusal,
14
+ projectJson,
15
+ recordedJson
16
+ } from "../../index-a1rjr381.js";
12
17
  import {
13
18
  runWithCompatToolCallContext
14
19
  } from "../../index-125ks2ec.js";
20
+ import {
21
+ AgentToolError2
22
+ } from "../../index-1psbyyhj.js";
15
23
  import {
16
24
  abortReason,
17
25
  raceAbort
@@ -340,20 +348,7 @@ function toV4CallOptions(request, signal) {
340
348
 
341
349
  // src/agent-runtime/providers/ai-sdk-normalize.ts
342
350
  function toAgentJsonValue(value) {
343
- if (value === null || typeof value === "string" || typeof value === "boolean" || typeof value === "number" && Number.isFinite(value)) {
344
- return value;
345
- }
346
- if (Array.isArray(value))
347
- return value.map(toAgentJsonValue);
348
- if (isRecord(value)) {
349
- const nested = {};
350
- for (const [k, v] of Object.entries(value)) {
351
- if (v !== undefined)
352
- nested[k] = toAgentJsonValue(v);
353
- }
354
- return nested;
355
- }
356
- return String(value);
351
+ return recordedJson(value);
357
352
  }
358
353
  function toAgentProviderOptions(raw) {
359
354
  if (!isRecord(raw))
@@ -661,12 +656,17 @@ function fromAiSdkModel(model, options = {}) {
661
656
  }
662
657
  // src/agent-runtime/providers/ai-sdk-tools.ts
663
658
  import { asSchema } from "ai";
659
+ function jsonText(raw) {
660
+ if (raw === undefined || typeof raw === "function" || typeof raw === "symbol")
661
+ return "";
662
+ return JSON.stringify(toAgentJsonValue(raw));
663
+ }
664
664
  function normalizeExternalToolOutput(raw) {
665
665
  const direct = AgentToolModelOutputSchema2.safeParse(raw);
666
666
  if (direct.success)
667
667
  return direct.data;
668
668
  if (!isRecord(raw) || typeof raw.type !== "string") {
669
- return { type: "text", value: JSON.stringify(raw) ?? "" };
669
+ return { type: "text", value: jsonText(raw) };
670
670
  }
671
671
  const topOpts = toAgentProviderOptions(raw.providerOptions);
672
672
  const parsedCc = AgentCacheControlSchema2.safeParse(raw.cacheControl);
@@ -678,7 +678,13 @@ function normalizeExternalToolOutput(raw) {
678
678
  return { type: raw.type, value: raw.value, ...topFields };
679
679
  }
680
680
  if ((raw.type === "json" || raw.type === "error-json") && "value" in raw) {
681
- return { type: raw.type, value: toAgentJsonValue(raw.value), ...topFields };
681
+ const value = projectJson(raw.value);
682
+ if (!value.ok) {
683
+ throw new AgentToolError2({
684
+ message: `toModelOutput value cannot be sent as JSON: ${describeJsonRefusal(value.refusal)}`
685
+ });
686
+ }
687
+ return { type: raw.type, value: value.value, ...topFields };
682
688
  }
683
689
  if (raw.type === "execution-denied") {
684
690
  return {
@@ -688,7 +694,7 @@ function normalizeExternalToolOutput(raw) {
688
694
  };
689
695
  }
690
696
  if (raw.type !== "content" || !Array.isArray(raw.value)) {
691
- return { type: "text", value: JSON.stringify(raw) ?? "" };
697
+ return { type: "text", value: jsonText(raw) };
692
698
  }
693
699
  const parts = [];
694
700
  for (const entry of raw.value) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  AgentCacheControlSchema2
3
- } from "../../index-vebzvse6.js";
3
+ } from "../../index-jy907kcs.js";
4
4
  import {
5
5
  reportedInt,
6
6
  computedInt,
@@ -17,7 +17,7 @@ import {
17
17
  historyHasToolTraffic,
18
18
  parseSseStream,
19
19
  parseSseJson
20
- } from "../../index-tb36xawm.js";
20
+ } from "../../index-32ew02z1.js";
21
21
  import {
22
22
  MAX_CACHE_BREAKPOINTS,
23
23
  toWireCacheControl,
@@ -36,7 +36,7 @@ import {
36
36
  readPortableCacheControl,
37
37
  AgentProviderError2,
38
38
  AgentProviderStreamCutError2
39
- } from "../../index-vse7x1qt.js";
39
+ } from "../../index-knqye3gv.js";
40
40
  import {
41
41
  base64ToBytes
42
42
  } from "../../index-edtg4tak.js";
@@ -1,4 +1,5 @@
1
1
  import"../../index-814xpr6d.js";
2
+ import"../../index-jy907kcs.js";
2
3
  import {
3
4
  AgentProviderEnvelopeSchema2,
4
5
  AgentTextPartSchema2,
@@ -12,7 +13,7 @@ import {
12
13
  AgentOpaquePartSchema2,
13
14
  AgentControlPartSchema2,
14
15
  AgentMessagePartSchema2
15
- } from "../../index-tav72wz5.js";
16
+ } from "../../index-ks4rhtcc.js";
16
17
  import {
17
18
  AgentRecordIdSchema2,
18
19
  AgentRecordVersionSchema2,
@@ -26,10 +27,10 @@ import {
26
27
  AgentUsageValueSchema2,
27
28
  AgentCostValueSchema2,
28
29
  AgentUsageSchema2
29
- } from "../../index-j3r7r1mh.js";
30
+ } from "../../index-yv7d6tav.js";
30
31
  import {
31
32
  AgentProviderResponseSchema2
32
- } from "../../index-7qza24g1.js";
33
+ } from "../../index-px9r6wv1.js";
33
34
  import {
34
35
  AgentRunStateSchema2,
35
36
  AgentRunQueuePrioritySchema2,
@@ -41,7 +42,7 @@ import {
41
42
  AgentRunSchema2,
42
43
  AgentSnapshotSchema2,
43
44
  AgentRunMetricsSchema2
44
- } from "../../index-pd9e8rz4.js";
45
+ } from "../../index-gvv7y0s4.js";
45
46
  import {
46
47
  isDurableAgentRuntimeEvent,
47
48
  AgentAdmissionEventSchema2,
@@ -61,7 +62,7 @@ import {
61
62
  AgentRuntimeEventCursorSchema2,
62
63
  advanceAgentRuntimeEventCursor2,
63
64
  agentDurableEventId2
64
- } from "../../index-1en7k3q5.js";
65
+ } from "../../index-4q9tmzea.js";
65
66
  import {
66
67
  AgentPermissionModeSchema2,
67
68
  AgentHostStatusSchema2,
@@ -82,11 +83,11 @@ import {
82
83
  AgentControlDeliverySchema2,
83
84
  AgentMultiSessionCursorSchema2,
84
85
  advanceAgentMultiSessionCursor2
85
- } from "../../index-kzsetgh9.js";
86
+ } from "../../index-26v8hjqm.js";
86
87
  import {
87
88
  AgentBrowserRequestSchema2,
88
89
  agentControlRealtimeContract2
89
- } from "../../index-hpzhz1vm.js";
90
+ } from "../../index-zthekmrt.js";
90
91
  import"../../index-0k1ba0ss.js";
91
92
  import"../../index-4s0fep5q.js";
92
93
  import {
@@ -1,16 +1,15 @@
1
1
  import"../../index-7an2fs5h.js";
2
- import"../../index-j3r7r1mh.js";
3
- import"../../index-tav72wz5.js";
4
- import"../../index-7qza24g1.js";
5
- import"../../index-pd9e8rz4.js";
6
- import"../../index-1en7k3q5.js";
7
- import"../../index-9f60gnfn.js";
8
- import"../../index-qcy8et93.js";
2
+ import"../../index-yv7d6tav.js";
3
+ import"../../index-jy907kcs.js";
4
+ import"../../index-ks4rhtcc.js";
5
+ import"../../index-px9r6wv1.js";
6
+ import"../../index-gvv7y0s4.js";
7
+ import"../../index-4q9tmzea.js";
8
+ import"../../index-kaq9nb7h.js";
9
9
  import {
10
10
  createAgentRuntime2,
11
11
  composeAgentPrompt2
12
- } from "../../index-shte29pg.js";
13
- import"../../index-vebzvse6.js";
12
+ } from "../../index-8cnfgwg8.js";
14
13
  import"../../index-dsa676h8.js";
15
14
  import"../../index-ha1tv70k.js";
16
15
  import"../../index-d1pdv8qc.js";
@@ -29,19 +28,20 @@ import {
29
28
  AgentModelDescriptorSchema2
30
29
  } from "../../index-refgnzy0.js";
31
30
  import"../../index-6kec3b14.js";
32
- import"../../index-kzsetgh9.js";
31
+ import"../../index-26v8hjqm.js";
33
32
  import {
34
33
  createAgentHarnessControlServer2
35
- } from "../../index-36mtj8xm.js";
34
+ } from "../../index-e4w0sfm1.js";
35
+ import"../../index-xaa3603f.js";
36
36
  import {
37
37
  walkContainedFiles
38
38
  } from "../../index-p9cab61p.js";
39
- import"../../index-jperyn0c.js";
40
- import"../../index-vse7x1qt.js";
39
+ import"../../index-gj4wdts6.js";
40
+ import"../../index-knqye3gv.js";
41
41
  import"../../index-fatke81t.js";
42
42
  import"../../index-gq35s3bm.js";
43
43
  import"../../index-4gbybjg6.js";
44
- import"../../index-54wp467c.js";
44
+ import"../../index-k5azb3v3.js";
45
45
  import"../../index-xrgn784x.js";
46
46
  import"../../index-bjrcbcn2.js";
47
47
  import {
@@ -1,4 +1,4 @@
1
- import"../../index-vebzvse6.js";
1
+ import"../../index-jy907kcs.js";
2
2
  import {
3
3
  reportedInt,
4
4
  buildProviderUsage,
@@ -11,7 +11,7 @@ import {
11
11
  normalizeProviderHistory,
12
12
  parseSseStream,
13
13
  parseSseJson
14
- } from "../../index-tb36xawm.js";
14
+ } from "../../index-32ew02z1.js";
15
15
  import {
16
16
  normalizeOpenAiJsonSchema
17
17
  } from "../../index-6y3eae97.js";
@@ -23,7 +23,7 @@ import {
23
23
  fallbackFilenameForMediaType,
24
24
  AgentProviderError2,
25
25
  AgentProviderStreamCutError2
26
- } from "../../index-vse7x1qt.js";
26
+ } from "../../index-knqye3gv.js";
27
27
  import {
28
28
  isRecord
29
29
  } from "../../index-ps3djm8d.js";
@@ -26,10 +26,10 @@ import {
26
26
  historyHasToolTraffic,
27
27
  parseSseStream,
28
28
  parseSseJson
29
- } from "../../index-tb36xawm.js";
29
+ } from "../../index-32ew02z1.js";
30
30
  import {
31
31
  AgentCacheControlSchema2
32
- } from "../../index-vebzvse6.js";
32
+ } from "../../index-jy907kcs.js";
33
33
  import {
34
34
  openAiCompatibleUsage2
35
35
  } from "../../index-6t4c98gr.js";
@@ -55,7 +55,7 @@ import {
55
55
  readPortableCacheControl,
56
56
  AgentProviderError2,
57
57
  AgentProviderStreamCutError2
58
- } from "../../index-vse7x1qt.js";
58
+ } from "../../index-knqye3gv.js";
59
59
  import {
60
60
  readBoundedChunks,
61
61
  concatChunks,
@@ -1,7 +1,8 @@
1
- import"../../index-j3r7r1mh.js";
2
- import"../../index-tav72wz5.js";
3
- import"../../index-7qza24g1.js";
4
- import"../../index-pd9e8rz4.js";
1
+ import"../../index-yv7d6tav.js";
2
+ import"../../index-jy907kcs.js";
3
+ import"../../index-ks4rhtcc.js";
4
+ import"../../index-px9r6wv1.js";
5
+ import"../../index-gvv7y0s4.js";
5
6
  import {
6
7
  CountRowSchema,
7
8
  agentSqlTables,
@@ -11,8 +12,8 @@ import {
11
12
  setPostgresTransactionIsolation,
12
13
  runPostgresTransaction,
13
14
  createAgentRuntimeStore2
14
- } from "../../index-rg08syp1.js";
15
- import"../../index-qcy8et93.js";
15
+ } from "../../index-d5mhgx72.js";
16
+ import"../../index-kaq9nb7h.js";
16
17
  import"../../index-brhhaygm.js";
17
18
  import"../../index-64t6pheq.js";
18
19
  import {
@@ -26,14 +27,13 @@ import {
26
27
  scanSqlRecoverable,
27
28
  listSqlConversations,
28
29
  pageSqlConversationMessages
29
- } from "../../index-hberxns4.js";
30
- import"../../index-1zy31r3b.js";
30
+ } from "../../index-zagc12j1.js";
31
+ import"../../index-v92djygb.js";
31
32
  import"../../index-werjqesf.js";
32
33
  import"../../index-6kec3b14.js";
33
34
  import"../../index-tgehj4bp.js";
34
35
  import"../../index-5c4m8zdf.js";
35
36
  import"../../index-snef22zr.js";
36
- import"../../index-vebzvse6.js";
37
37
  import"../../index-p9cab61p.js";
38
38
  import"../../index-rjs94dny.js";
39
39
  import"../../index-xrgn784x.js";
@@ -1,23 +1,24 @@
1
1
  import"../../index-0k1ba0ss.js";
2
2
  import"../../index-4s0fep5q.js";
3
3
  import"../../index-814xpr6d.js";
4
- import"../../index-tav72wz5.js";
5
- import"../../index-j3r7r1mh.js";
6
- import"../../index-pd9e8rz4.js";
7
- import"../../index-1en7k3q5.js";
8
- import"../../index-kzsetgh9.js";
4
+ import"../../index-jy907kcs.js";
5
+ import"../../index-ks4rhtcc.js";
6
+ import"../../index-yv7d6tav.js";
7
+ import"../../index-gvv7y0s4.js";
8
+ import"../../index-4q9tmzea.js";
9
+ import"../../index-26v8hjqm.js";
9
10
  import {
10
11
  agentControlRealtimeContract2
11
- } from "../../index-hpzhz1vm.js";
12
+ } from "../../index-zthekmrt.js";
12
13
  import"../../index-7an2fs5h.js";
13
14
  import {
14
15
  reportAgentControlError,
15
16
  createAgentHarnessControlServer2
16
- } from "../../index-36mtj8xm.js";
17
+ } from "../../index-e4w0sfm1.js";
17
18
  import {
18
19
  bindRealtimeServer2
19
20
  } from "../../index-y68gavb5.js";
20
- import"../../index-jperyn0c.js";
21
+ import"../../index-gj4wdts6.js";
21
22
  import {
22
23
  assertPositiveSafeInteger
23
24
  } from "../../index-gr0kxymw.js";
@@ -1,23 +1,23 @@
1
- import"../../../index-j3r7r1mh.js";
2
- import"../../../index-tav72wz5.js";
3
- import"../../../index-7qza24g1.js";
4
- import"../../../index-pd9e8rz4.js";
5
- import"../../../index-rg08syp1.js";
6
- import"../../../index-qcy8et93.js";
1
+ import"../../../index-yv7d6tav.js";
2
+ import"../../../index-jy907kcs.js";
3
+ import"../../../index-ks4rhtcc.js";
4
+ import"../../../index-px9r6wv1.js";
5
+ import"../../../index-gvv7y0s4.js";
6
+ import"../../../index-d5mhgx72.js";
7
+ import"../../../index-kaq9nb7h.js";
7
8
  import"../../../index-brhhaygm.js";
8
9
  import"../../../index-64t6pheq.js";
9
- import"../../../index-hberxns4.js";
10
- import"../../../index-1zy31r3b.js";
10
+ import"../../../index-zagc12j1.js";
11
+ import"../../../index-v92djygb.js";
11
12
  import {
12
13
  initializeAgentRuntimeSqlite2,
13
14
  createSqliteAgentRuntimeStore2
14
- } from "../../../index-4243301z.js";
15
+ } from "../../../index-2wm9b9vs.js";
15
16
  import"../../../index-werjqesf.js";
16
17
  import"../../../index-6kec3b14.js";
17
18
  import"../../../index-tgehj4bp.js";
18
19
  import"../../../index-5c4m8zdf.js";
19
20
  import"../../../index-snef22zr.js";
20
- import"../../../index-vebzvse6.js";
21
21
  import"../../../index-p9cab61p.js";
22
22
  import"../../../index-rjs94dny.js";
23
23
  import"../../../index-xrgn784x.js";
@@ -1,23 +1,23 @@
1
- import"../../../index-j3r7r1mh.js";
2
- import"../../../index-tav72wz5.js";
3
- import"../../../index-7qza24g1.js";
4
- import"../../../index-pd9e8rz4.js";
5
- import"../../../index-rg08syp1.js";
6
- import"../../../index-qcy8et93.js";
1
+ import"../../../index-yv7d6tav.js";
2
+ import"../../../index-jy907kcs.js";
3
+ import"../../../index-ks4rhtcc.js";
4
+ import"../../../index-px9r6wv1.js";
5
+ import"../../../index-gvv7y0s4.js";
6
+ import"../../../index-d5mhgx72.js";
7
+ import"../../../index-kaq9nb7h.js";
7
8
  import"../../../index-brhhaygm.js";
8
9
  import"../../../index-64t6pheq.js";
9
- import"../../../index-hberxns4.js";
10
- import"../../../index-1zy31r3b.js";
10
+ import"../../../index-zagc12j1.js";
11
+ import"../../../index-v92djygb.js";
11
12
  import {
12
13
  initializeAgentRuntimeSqlite2,
13
14
  createSqliteAgentRuntimeStore2
14
- } from "../../../index-4243301z.js";
15
+ } from "../../../index-2wm9b9vs.js";
15
16
  import"../../../index-werjqesf.js";
16
17
  import"../../../index-6kec3b14.js";
17
18
  import"../../../index-tgehj4bp.js";
18
19
  import"../../../index-5c4m8zdf.js";
19
20
  import"../../../index-snef22zr.js";
20
- import"../../../index-vebzvse6.js";
21
21
  import"../../../index-p9cab61p.js";
22
22
  import"../../../index-rjs94dny.js";
23
23
  import"../../../index-xrgn784x.js";
@@ -1,32 +1,32 @@
1
- import"../../index-tav72wz5.js";
1
+ import"../../index-jy907kcs.js";
2
+ import"../../index-ks4rhtcc.js";
2
3
  import {
3
4
  AgentMessageSchema2
4
- } from "../../index-j3r7r1mh.js";
5
- import"../../index-7qza24g1.js";
5
+ } from "../../index-yv7d6tav.js";
6
+ import"../../index-px9r6wv1.js";
6
7
  import {
7
8
  AgentRunSchema2,
8
9
  AgentSnapshotSchema2
9
- } from "../../index-pd9e8rz4.js";
10
+ } from "../../index-gvv7y0s4.js";
10
11
  import"../../index-brhhaygm.js";
11
12
  import {
12
13
  canonicalAgentJson2,
13
14
  encodeAgentConversationArchive2,
14
15
  decodeAgentConversationArchive2
15
- } from "../../index-qcy8et93.js";
16
+ } from "../../index-kaq9nb7h.js";
16
17
  import {
17
18
  AgentConversationBranchRefusedError2,
18
19
  AgentStoreUnsupportedCapabilityError2
19
- } from "../../index-rg08syp1.js";
20
+ } from "../../index-d5mhgx72.js";
20
21
  import"../../index-64t6pheq.js";
21
22
  import"../../index-werjqesf.js";
22
23
  import"../../index-6kec3b14.js";
23
24
  import"../../index-tgehj4bp.js";
24
25
  import"../../index-5c4m8zdf.js";
25
26
  import"../../index-snef22zr.js";
26
- import"../../index-vebzvse6.js";
27
27
  import {
28
28
  createMemoryAgentRuntimeStore2
29
- } from "../../index-j5vzhj3d.js";
29
+ } from "../../index-zqc64g69.js";
30
30
  import {
31
31
  createToolChronology,
32
32
  advanceToolChronology