stitchkit 0.136.0 → 0.136.1

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 (123) hide show
  1. package/CHANGELOG.md +13 -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/tools/agent.js +2 -2
  83. package/dist/entrypoints/tools/toolkit.js +1 -1
  84. package/dist/entrypoints/tools.js +5 -3
  85. package/dist/index-1psbyyhj.js +21 -0
  86. package/dist/{index-kzsetgh9.js → index-26v8hjqm.js} +4 -4
  87. package/dist/{index-4243301z.js → index-2wm9b9vs.js} +5 -5
  88. package/dist/{index-tb36xawm.js → index-32ew02z1.js} +1 -1
  89. package/dist/{index-1en7k3q5.js → index-4q9tmzea.js} +3 -3
  90. package/dist/{index-shte29pg.js → index-8cnfgwg8.js} +148 -106
  91. package/dist/{index-mkmep637.js → index-9m1m92rg.js} +1 -1
  92. package/dist/index-a1rjr381.js +114 -0
  93. package/dist/{index-6kwdfb9m.js → index-akesakvj.js} +23 -4
  94. package/dist/{index-rg08syp1.js → index-d5mhgx72.js} +7 -5
  95. package/dist/{index-36mtj8xm.js → index-e4w0sfm1.js} +2 -2
  96. package/dist/{index-jperyn0c.js → index-gj4wdts6.js} +1 -1
  97. package/dist/{index-pd9e8rz4.js → index-gvv7y0s4.js} +1 -1
  98. package/dist/{index-vebzvse6.js → index-jy907kcs.js} +24 -1
  99. package/dist/{index-54wp467c.js → index-k5azb3v3.js} +4 -21
  100. package/dist/{index-qcy8et93.js → index-kaq9nb7h.js} +6 -6
  101. package/dist/{index-vse7x1qt.js → index-knqye3gv.js} +1 -1
  102. package/dist/{index-tav72wz5.js → index-ks4rhtcc.js} +5 -0
  103. package/dist/{index-xnqab06h.js → index-mtpcax6d.js} +3 -3
  104. package/dist/{index-7qza24g1.js → index-px9r6wv1.js} +1 -1
  105. package/dist/{index-epwvp88y.js → index-r9w7wfgn.js} +1 -1
  106. package/dist/{index-aacwkve4.js → index-sjq4akrx.js} +3 -5
  107. package/dist/{index-5dxgx3yj.js → index-tcv71frn.js} +1 -1
  108. package/dist/{index-1zy31r3b.js → index-v92djygb.js} +1 -1
  109. package/dist/{index-9f60gnfn.js → index-xaa3603f.js} +4 -11
  110. package/dist/{index-j3r7r1mh.js → index-yv7d6tav.js} +1 -1
  111. package/dist/{index-hberxns4.js → index-zagc12j1.js} +5 -5
  112. package/dist/{index-j5vzhj3d.js → index-zqc64g69.js} +3 -3
  113. package/dist/{index-hpzhz1vm.js → index-zthekmrt.js} +2 -2
  114. package/dist/internal/json-stringify.d.ts +37 -0
  115. package/dist/internal/json-stringify.d.ts.map +1 -0
  116. package/llms/agent-runtime.5.txt +1 -1
  117. package/llms/agent-runtime.txt +14 -0
  118. package/llms/application.2.txt +6 -3
  119. package/llms/application.3.txt +2 -1
  120. package/llms/application.txt +4 -1
  121. package/llms-full.txt +27 -6
  122. package/llms.txt +2 -2
  123. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../src/agent-runtime/stores/store.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAEL,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EAC1B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAGL,KAAK,QAAQ,EAGb,KAAK,aAAa,EAInB,MAAM,YAAY,CAAC;AACpB,OAAO,KAAK,EACV,4BAA4B,EAC5B,6BAA6B,EAC9B,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAK,EACV,2BAA2B,EAC3B,6BAA6B,EAC7B,4BAA4B,EAC7B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,EAAE,2BAA2B,EAAE,4BAA4B,EAAE,MAAM,SAAS,CAAC;AACzF,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,sBAAsB,CAAC;AAE1E,eAAO,MAAM,wBAAwB;;;iBAGnC,CAAC;AACH,eAAO,MAAM,wBAAwB;;iBAAgD,CAAC;AACtF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAGlC,CAAC;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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"}
@@ -31,6 +31,11 @@ export declare function appliedSnapshot(result: AgentStoreMutationResult, operat
31
31
  role: "assistant" | "summary" | "system" | "tool" | "user";
32
32
  status: "committed" | "completed" | "failed" | "interrupted" | "streaming" | "superseded";
33
33
  parts: ({
34
+ type: "source";
35
+ sourceId: string;
36
+ url?: string | undefined;
37
+ title?: string | undefined;
38
+ } | {
34
39
  type: "text";
35
40
  text: string;
36
41
  provider?: {
@@ -51,11 +56,6 @@ export declare function appliedSnapshot(result: AgentStoreMutationResult, operat
51
56
  mediaType: string;
52
57
  reference: string;
53
58
  filename?: string | undefined;
54
- } | {
55
- type: "source";
56
- sourceId: string;
57
- url?: string | undefined;
58
- title?: string | undefined;
59
59
  } | {
60
60
  type: "tool-call";
61
61
  callId: string;
@@ -72,6 +72,70 @@ export declare function appliedSnapshot(result: AgentStoreMutationResult, operat
72
72
  toolName: string;
73
73
  outcome: "error" | "interrupted" | "success";
74
74
  output?: import("zod").JSONType | undefined;
75
+ modelOutput?: {
76
+ providerOptions?: Record<string, Record<string, import("zod").JSONType>> | undefined;
77
+ cacheControl?: {
78
+ type: "ephemeral";
79
+ ttl?: "1h" | "5m" | undefined;
80
+ } | undefined;
81
+ type: "text";
82
+ value: string;
83
+ } | {
84
+ providerOptions?: Record<string, Record<string, import("zod").JSONType>> | undefined;
85
+ cacheControl?: {
86
+ type: "ephemeral";
87
+ ttl?: "1h" | "5m" | undefined;
88
+ } | undefined;
89
+ type: "error-text";
90
+ value: string;
91
+ } | {
92
+ providerOptions?: Record<string, Record<string, import("zod").JSONType>> | undefined;
93
+ cacheControl?: {
94
+ type: "ephemeral";
95
+ ttl?: "1h" | "5m" | undefined;
96
+ } | undefined;
97
+ type: "json";
98
+ value: import("zod").JSONType;
99
+ } | {
100
+ providerOptions?: Record<string, Record<string, import("zod").JSONType>> | undefined;
101
+ cacheControl?: {
102
+ type: "ephemeral";
103
+ ttl?: "1h" | "5m" | undefined;
104
+ } | undefined;
105
+ type: "error-json";
106
+ value: import("zod").JSONType;
107
+ } | {
108
+ providerOptions?: Record<string, Record<string, import("zod").JSONType>> | undefined;
109
+ cacheControl?: {
110
+ type: "ephemeral";
111
+ ttl?: "1h" | "5m" | undefined;
112
+ } | undefined;
113
+ type: "execution-denied";
114
+ reason?: string | undefined;
115
+ } | {
116
+ providerOptions?: Record<string, Record<string, import("zod").JSONType>> | undefined;
117
+ cacheControl?: {
118
+ type: "ephemeral";
119
+ ttl?: "1h" | "5m" | undefined;
120
+ } | undefined;
121
+ type: "content";
122
+ value: ({
123
+ providerOptions?: Record<string, Record<string, import("zod").JSONType>> | undefined;
124
+ cacheControl?: {
125
+ type: "ephemeral";
126
+ ttl?: "1h" | "5m" | undefined;
127
+ } | undefined;
128
+ type: "text";
129
+ text: string;
130
+ } | {
131
+ providerOptions?: Record<string, Record<string, import("zod").JSONType>> | undefined;
132
+ cacheControl?: {
133
+ type: "ephemeral";
134
+ ttl?: "1h" | "5m" | undefined;
135
+ } | undefined;
136
+ type: "custom";
137
+ })[];
138
+ } | undefined;
75
139
  provider?: {
76
140
  schemaVersion: number;
77
141
  provider: string;
@@ -1 +1 @@
1
- {"version":3,"file":"terminal-commit.d.ts","sourceRoot":"","sources":["../../src/agent-runtime/terminal-commit.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,YAAY,EAGjB,KAAK,QAAQ,EACb,KAAK,aAAa,EAClB,KAAK,mBAAmB,EACxB,KAAK,UAAU,EAChB,MAAM,WAAW,CAAC;AACnB,OAAO,KAAK,EACV,iBAAiB,EACjB,YAAY,EACZ,wBAAwB,EACzB,MAAM,gBAAgB,CAAC;AAGxB,qBAAa,yBAA0B,SAAQ,KAAK;IAClD,YAAY,SAAS,EAAE,MAAM,EAG5B;CACF;AAED;;;;;;;;;;GAUG;AACH,qBAAa,sBAAuB,SAAQ,KAAK;IAC/C,QAAQ,CAAC,GAAG,EAAE,QAAQ,CAAC;IACvB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,YAAY,GAA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9D,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB;;;;;;OAMG;IACH,MAAM,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,eAAe,EAAE,MAAM,EAAE,CAAA;KAAE,EAAE,CAAC;CACzD;AAED,MAAM,WAAW,6BAA8B,SAAQ,uBAAuB;IAC5E;;;;;;OAMG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB,iBAAiB,EAAE,OAAO,CAAC;IAC3B;;;;;;;;;OASG;IACH,QAAQ,CAAC,EAAE,SAAS,QAAQ,EAAE,CAAC;CAChC;AA2BD,wEAAwE;AACxE,wBAAgB,kBAAkB,CAChC,QAAQ,EAAE,aAAa,EACvB,KAAK,EAAE,MAAM,GACZ,6BAA6B,GAAG,SAAS,CAE3C;AAED,gEAAgE;AAChE,wBAAgB,iBAAiB,CAC/B,IAAI,EAAE,YAAY,EAClB,cAAc,EAAE,MAAM,GACrB,6BAA6B,GAAG,SAAS,CAE3C;AA8GD,UAAU,mBAAmB;IAC3B,KAAK,EAAE,iBAAiB,CAAC;IACzB,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,uBAAuB,CAAC;IACnC,GAAG,EAAE,MAAM,IAAI,CAAC;CACjB;AAuFD;;;;;;;;GAQG;AACH,wBAAsB,sBAAsB,CAC1C,KAAK,EAAE,mBAAmB,GACzB,OAAO,CAAC,6BAA6B,CAAC,CA8BxC"}
@@ -131,37 +131,91 @@ export declare function fencingPhase(store: AgentRuntimeStore, conversationId: s
131
131
  role: "assistant" | "summary" | "system" | "tool" | "user";
132
132
  status: "committed" | "completed" | "failed" | "interrupted" | "streaming" | "superseded";
133
133
  parts: ({
134
- type: "text";
135
- text: string;
136
- provider?: {
137
- schemaVersion: number;
138
- provider: string;
139
- data: Record<string, import("zod").JSONType>;
134
+ type: "tool-result";
135
+ callId: string;
136
+ toolName: string;
137
+ outcome: "error" | "interrupted" | "success";
138
+ output?: import("zod").JSONType | undefined;
139
+ modelOutput?: {
140
+ providerOptions?: Record<string, Record<string, import("zod").JSONType>> | undefined;
141
+ cacheControl?: {
142
+ type: "ephemeral";
143
+ ttl?: "1h" | "5m" | undefined;
144
+ } | undefined;
145
+ type: "text";
146
+ value: string;
147
+ } | {
148
+ providerOptions?: Record<string, Record<string, import("zod").JSONType>> | undefined;
149
+ cacheControl?: {
150
+ type: "ephemeral";
151
+ ttl?: "1h" | "5m" | undefined;
152
+ } | undefined;
153
+ type: "error-text";
154
+ value: string;
155
+ } | {
156
+ providerOptions?: Record<string, Record<string, import("zod").JSONType>> | undefined;
157
+ cacheControl?: {
158
+ type: "ephemeral";
159
+ ttl?: "1h" | "5m" | undefined;
160
+ } | undefined;
161
+ type: "json";
162
+ value: import("zod").JSONType;
163
+ } | {
164
+ providerOptions?: Record<string, Record<string, import("zod").JSONType>> | undefined;
165
+ cacheControl?: {
166
+ type: "ephemeral";
167
+ ttl?: "1h" | "5m" | undefined;
168
+ } | undefined;
169
+ type: "error-json";
170
+ value: import("zod").JSONType;
171
+ } | {
172
+ providerOptions?: Record<string, Record<string, import("zod").JSONType>> | undefined;
173
+ cacheControl?: {
174
+ type: "ephemeral";
175
+ ttl?: "1h" | "5m" | undefined;
176
+ } | undefined;
177
+ type: "execution-denied";
178
+ reason?: string | undefined;
179
+ } | {
180
+ providerOptions?: Record<string, Record<string, import("zod").JSONType>> | undefined;
181
+ cacheControl?: {
182
+ type: "ephemeral";
183
+ ttl?: "1h" | "5m" | undefined;
184
+ } | undefined;
185
+ type: "content";
186
+ value: ({
187
+ providerOptions?: Record<string, Record<string, import("zod").JSONType>> | undefined;
188
+ cacheControl?: {
189
+ type: "ephemeral";
190
+ ttl?: "1h" | "5m" | undefined;
191
+ } | undefined;
192
+ type: "text";
193
+ text: string;
194
+ } | {
195
+ providerOptions?: Record<string, Record<string, import("zod").JSONType>> | undefined;
196
+ cacheControl?: {
197
+ type: "ephemeral";
198
+ ttl?: "1h" | "5m" | undefined;
199
+ } | undefined;
200
+ type: "custom";
201
+ })[];
140
202
  } | undefined;
141
- } | {
142
- type: "reasoning";
143
- text: string;
144
203
  provider?: {
145
204
  schemaVersion: number;
146
205
  provider: string;
147
206
  data: Record<string, import("zod").JSONType>;
148
207
  } | undefined;
149
208
  } | {
150
- type: "tool-call";
151
- callId: string;
152
- toolName: string;
153
- input: import("zod").JSONType;
209
+ type: "text";
210
+ text: string;
154
211
  provider?: {
155
212
  schemaVersion: number;
156
213
  provider: string;
157
214
  data: Record<string, import("zod").JSONType>;
158
215
  } | undefined;
159
216
  } | {
160
- type: "tool-result";
161
- callId: string;
162
- toolName: string;
163
- outcome: "error" | "interrupted" | "success";
164
- output?: import("zod").JSONType | undefined;
217
+ type: "reasoning";
218
+ text: string;
165
219
  provider?: {
166
220
  schemaVersion: number;
167
221
  provider: string;
@@ -177,6 +231,16 @@ export declare function fencingPhase(store: AgentRuntimeStore, conversationId: s
177
231
  sourceId: string;
178
232
  url?: string | undefined;
179
233
  title?: string | undefined;
234
+ } | {
235
+ type: "tool-call";
236
+ callId: string;
237
+ toolName: string;
238
+ input: import("zod").JSONType;
239
+ provider?: {
240
+ schemaVersion: number;
241
+ provider: string;
242
+ data: Record<string, import("zod").JSONType>;
243
+ } | undefined;
180
244
  } | {
181
245
  type: "tool-approval-request";
182
246
  approvalId: string;
@@ -321,37 +385,91 @@ export declare function fencingPhase(store: AgentRuntimeStore, conversationId: s
321
385
  role: "assistant" | "summary" | "system" | "tool" | "user";
322
386
  status: "committed" | "completed" | "failed" | "interrupted" | "streaming" | "superseded";
323
387
  parts: ({
324
- type: "text";
325
- text: string;
326
- provider?: {
327
- schemaVersion: number;
328
- provider: string;
329
- data: Record<string, import("zod").JSONType>;
388
+ type: "tool-result";
389
+ callId: string;
390
+ toolName: string;
391
+ outcome: "error" | "interrupted" | "success";
392
+ output?: import("zod").JSONType | undefined;
393
+ modelOutput?: {
394
+ providerOptions?: Record<string, Record<string, import("zod").JSONType>> | undefined;
395
+ cacheControl?: {
396
+ type: "ephemeral";
397
+ ttl?: "1h" | "5m" | undefined;
398
+ } | undefined;
399
+ type: "text";
400
+ value: string;
401
+ } | {
402
+ providerOptions?: Record<string, Record<string, import("zod").JSONType>> | undefined;
403
+ cacheControl?: {
404
+ type: "ephemeral";
405
+ ttl?: "1h" | "5m" | undefined;
406
+ } | undefined;
407
+ type: "error-text";
408
+ value: string;
409
+ } | {
410
+ providerOptions?: Record<string, Record<string, import("zod").JSONType>> | undefined;
411
+ cacheControl?: {
412
+ type: "ephemeral";
413
+ ttl?: "1h" | "5m" | undefined;
414
+ } | undefined;
415
+ type: "json";
416
+ value: import("zod").JSONType;
417
+ } | {
418
+ providerOptions?: Record<string, Record<string, import("zod").JSONType>> | undefined;
419
+ cacheControl?: {
420
+ type: "ephemeral";
421
+ ttl?: "1h" | "5m" | undefined;
422
+ } | undefined;
423
+ type: "error-json";
424
+ value: import("zod").JSONType;
425
+ } | {
426
+ providerOptions?: Record<string, Record<string, import("zod").JSONType>> | undefined;
427
+ cacheControl?: {
428
+ type: "ephemeral";
429
+ ttl?: "1h" | "5m" | undefined;
430
+ } | undefined;
431
+ type: "execution-denied";
432
+ reason?: string | undefined;
433
+ } | {
434
+ providerOptions?: Record<string, Record<string, import("zod").JSONType>> | undefined;
435
+ cacheControl?: {
436
+ type: "ephemeral";
437
+ ttl?: "1h" | "5m" | undefined;
438
+ } | undefined;
439
+ type: "content";
440
+ value: ({
441
+ providerOptions?: Record<string, Record<string, import("zod").JSONType>> | undefined;
442
+ cacheControl?: {
443
+ type: "ephemeral";
444
+ ttl?: "1h" | "5m" | undefined;
445
+ } | undefined;
446
+ type: "text";
447
+ text: string;
448
+ } | {
449
+ providerOptions?: Record<string, Record<string, import("zod").JSONType>> | undefined;
450
+ cacheControl?: {
451
+ type: "ephemeral";
452
+ ttl?: "1h" | "5m" | undefined;
453
+ } | undefined;
454
+ type: "custom";
455
+ })[];
330
456
  } | undefined;
331
- } | {
332
- type: "reasoning";
333
- text: string;
334
457
  provider?: {
335
458
  schemaVersion: number;
336
459
  provider: string;
337
460
  data: Record<string, import("zod").JSONType>;
338
461
  } | undefined;
339
462
  } | {
340
- type: "tool-call";
341
- callId: string;
342
- toolName: string;
343
- input: import("zod").JSONType;
463
+ type: "text";
464
+ text: string;
344
465
  provider?: {
345
466
  schemaVersion: number;
346
467
  provider: string;
347
468
  data: Record<string, import("zod").JSONType>;
348
469
  } | undefined;
349
470
  } | {
350
- type: "tool-result";
351
- callId: string;
352
- toolName: string;
353
- outcome: "error" | "interrupted" | "success";
354
- output?: import("zod").JSONType | undefined;
471
+ type: "reasoning";
472
+ text: string;
355
473
  provider?: {
356
474
  schemaVersion: number;
357
475
  provider: string;
@@ -367,6 +485,16 @@ export declare function fencingPhase(store: AgentRuntimeStore, conversationId: s
367
485
  sourceId: string;
368
486
  url?: string | undefined;
369
487
  title?: string | undefined;
488
+ } | {
489
+ type: "tool-call";
490
+ callId: string;
491
+ toolName: string;
492
+ input: import("zod").JSONType;
493
+ provider?: {
494
+ schemaVersion: number;
495
+ provider: string;
496
+ data: Record<string, import("zod").JSONType>;
497
+ } | undefined;
370
498
  } | {
371
499
  type: "tool-approval-request";
372
500
  approvalId: string;
@@ -1 +1 @@
1
- {"version":3,"file":"store-conformance-lifecycle.d.ts","sourceRoot":"","sources":["../../../src/agent-runtime/testing/store-conformance-lifecycle.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAsB,KAAK,QAAQ,EAAE,MAAM,YAAY,CAAC;AAC/D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAGzD,6FAA6F;AAC7F,wBAAsB,cAAc,CAAC,KAAK,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0GpF;AAED,+FAA+F;AAC/F,wBAAsB,YAAY,CAChC,KAAK,EAAE,iBAAiB,EACxB,cAAc,EAAE,MAAM,EACtB,QAAQ,EAAE,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4InB;AAED,gGAAgG;AAChG,wBAAsB,iBAAiB,CACrC,KAAK,EAAE,iBAAiB,EACxB,cAAc,EAAE,MAAM,EACtB,oBAAoB,EAAE,MAAM,EAC5B,YAAY,EAAE,OAAO,CAAC,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC,GACrD,OAAO,CAAC,IAAI,CAAC,CAqDf;AAED,wFAAwF;AACxF,wBAAsB,cAAc,CAClC,KAAK,EAAE,iBAAiB,EACxB,cAAc,EAAE,MAAM,EACtB,YAAY,EAAE,OAAO,CAAC,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CvD"}
1
+ {"version":3,"file":"store-conformance-lifecycle.d.ts","sourceRoot":"","sources":["../../../src/agent-runtime/testing/store-conformance-lifecycle.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAsB,KAAK,QAAQ,EAAE,MAAM,YAAY,CAAC;AAC/D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAGzD,6FAA6F;AAC7F,wBAAsB,cAAc,CAAC,KAAK,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0GpF;AAED,+FAA+F;AAC/F,wBAAsB,YAAY,CAChC,KAAK,EAAE,iBAAiB,EACxB,cAAc,EAAE,MAAM,EACtB,QAAQ,EAAE,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4InB;AAED,gGAAgG;AAChG,wBAAsB,iBAAiB,CACrC,KAAK,EAAE,iBAAiB,EACxB,cAAc,EAAE,MAAM,EACtB,oBAAoB,EAAE,MAAM,EAC5B,YAAY,EAAE,OAAO,CAAC,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC,GACrD,OAAO,CAAC,IAAI,CAAC,CAqDf;AAED,wFAAwF;AACxF,wBAAsB,cAAc,CAClC,KAAK,EAAE,iBAAiB,EACxB,cAAc,EAAE,MAAM,EACtB,YAAY,EAAE,OAAO,CAAC,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CvD"}
@@ -6,37 +6,91 @@ export declare function userMessage(conversationId: string, id: string): {
6
6
  role: "assistant" | "summary" | "system" | "tool" | "user";
7
7
  status: "committed" | "completed" | "failed" | "interrupted" | "streaming" | "superseded";
8
8
  parts: ({
9
- type: "text";
10
- text: string;
11
- provider?: {
12
- schemaVersion: number;
13
- provider: string;
14
- data: Record<string, import("zod").JSONType>;
9
+ type: "tool-result";
10
+ callId: string;
11
+ toolName: string;
12
+ outcome: "error" | "interrupted" | "success";
13
+ output?: import("zod").JSONType | undefined;
14
+ modelOutput?: {
15
+ providerOptions?: Record<string, Record<string, import("zod").JSONType>> | undefined;
16
+ cacheControl?: {
17
+ type: "ephemeral";
18
+ ttl?: "1h" | "5m" | undefined;
19
+ } | undefined;
20
+ type: "text";
21
+ value: string;
22
+ } | {
23
+ providerOptions?: Record<string, Record<string, import("zod").JSONType>> | undefined;
24
+ cacheControl?: {
25
+ type: "ephemeral";
26
+ ttl?: "1h" | "5m" | undefined;
27
+ } | undefined;
28
+ type: "error-text";
29
+ value: string;
30
+ } | {
31
+ providerOptions?: Record<string, Record<string, import("zod").JSONType>> | undefined;
32
+ cacheControl?: {
33
+ type: "ephemeral";
34
+ ttl?: "1h" | "5m" | undefined;
35
+ } | undefined;
36
+ type: "json";
37
+ value: import("zod").JSONType;
38
+ } | {
39
+ providerOptions?: Record<string, Record<string, import("zod").JSONType>> | undefined;
40
+ cacheControl?: {
41
+ type: "ephemeral";
42
+ ttl?: "1h" | "5m" | undefined;
43
+ } | undefined;
44
+ type: "error-json";
45
+ value: import("zod").JSONType;
46
+ } | {
47
+ providerOptions?: Record<string, Record<string, import("zod").JSONType>> | undefined;
48
+ cacheControl?: {
49
+ type: "ephemeral";
50
+ ttl?: "1h" | "5m" | undefined;
51
+ } | undefined;
52
+ type: "execution-denied";
53
+ reason?: string | undefined;
54
+ } | {
55
+ providerOptions?: Record<string, Record<string, import("zod").JSONType>> | undefined;
56
+ cacheControl?: {
57
+ type: "ephemeral";
58
+ ttl?: "1h" | "5m" | undefined;
59
+ } | undefined;
60
+ type: "content";
61
+ value: ({
62
+ providerOptions?: Record<string, Record<string, import("zod").JSONType>> | undefined;
63
+ cacheControl?: {
64
+ type: "ephemeral";
65
+ ttl?: "1h" | "5m" | undefined;
66
+ } | undefined;
67
+ type: "text";
68
+ text: string;
69
+ } | {
70
+ providerOptions?: Record<string, Record<string, import("zod").JSONType>> | undefined;
71
+ cacheControl?: {
72
+ type: "ephemeral";
73
+ ttl?: "1h" | "5m" | undefined;
74
+ } | undefined;
75
+ type: "custom";
76
+ })[];
15
77
  } | undefined;
16
- } | {
17
- type: "reasoning";
18
- text: string;
19
78
  provider?: {
20
79
  schemaVersion: number;
21
80
  provider: string;
22
81
  data: Record<string, import("zod").JSONType>;
23
82
  } | undefined;
24
83
  } | {
25
- type: "tool-call";
26
- callId: string;
27
- toolName: string;
28
- input: import("zod").JSONType;
84
+ type: "text";
85
+ text: string;
29
86
  provider?: {
30
87
  schemaVersion: number;
31
88
  provider: string;
32
89
  data: Record<string, import("zod").JSONType>;
33
90
  } | undefined;
34
91
  } | {
35
- type: "tool-result";
36
- callId: string;
37
- toolName: string;
38
- outcome: "error" | "interrupted" | "success";
39
- output?: import("zod").JSONType | undefined;
92
+ type: "reasoning";
93
+ text: string;
40
94
  provider?: {
41
95
  schemaVersion: number;
42
96
  provider: string;
@@ -52,6 +106,16 @@ export declare function userMessage(conversationId: string, id: string): {
52
106
  sourceId: string;
53
107
  url?: string | undefined;
54
108
  title?: string | undefined;
109
+ } | {
110
+ type: "tool-call";
111
+ callId: string;
112
+ toolName: string;
113
+ input: import("zod").JSONType;
114
+ provider?: {
115
+ schemaVersion: number;
116
+ provider: string;
117
+ data: Record<string, import("zod").JSONType>;
118
+ } | undefined;
55
119
  } | {
56
120
  type: "tool-approval-request";
57
121
  approvalId: string;
@@ -1 +1 @@
1
- {"version":3,"file":"store-conformance-support.d.ts","sourceRoot":"","sources":["../../../src/agent-runtime/testing/store-conformance-support.ts"],"names":[],"mappings":"AAGA,wBAAgB,WAAW,CAAC,cAAc,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAW7D;AAED,wBAAgB,SAAS,CAAC,cAAc,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYnF;AAED,wBAAgB,cAAc,CAAC,OAAO,SAAS,MAAM,EACnD,MAAM,EAAE;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE,EAC3B,QAAQ,EAAE,OAAO,GAChB,OAAO,CAAC,MAAM,IAAI;IAAE,OAAO,EAAE,OAAO,CAAA;CAAE,CAMxC"}
1
+ {"version":3,"file":"store-conformance-support.d.ts","sourceRoot":"","sources":["../../../src/agent-runtime/testing/store-conformance-support.ts"],"names":[],"mappings":"AAGA,wBAAgB,WAAW,CAAC,cAAc,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAW7D;AAED,wBAAgB,SAAS,CAAC,cAAc,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYnF;AAED,wBAAgB,cAAc,CAAC,OAAO,SAAS,MAAM,EACnD,MAAM,EAAE;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE,EAC3B,QAAQ,EAAE,OAAO,GAChB,OAAO,CAAC,MAAM,IAAI;IAAE,OAAO,EAAE,OAAO,CAAA;CAAE,CAMxC"}
@@ -1,4 +1,4 @@
1
- import { z } from 'zod';
1
+ import type { z } from 'zod';
2
2
  import { type DiagnosticJournal, type DiagnosticJournalFailure, type DiagnosticJournalLimits, type DiagnosticJournalStatus } from './diagnostic-journal-contract.js';
3
3
  import { type DiagnosticJournalStorage } from './diagnostic-journal-storage.js';
4
4
  interface DiagnosticJournalManagerConfig<SCHEMA extends z.ZodType> {
@@ -1 +1 @@
1
- {"version":3,"file":"diagnostic-journal-manager.d.ts","sourceRoot":"","sources":["../../src/application/diagnostic-journal-manager.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EACL,KAAK,iBAAiB,EAEtB,KAAK,wBAAwB,EAG7B,KAAK,uBAAuB,EAI5B,KAAK,uBAAuB,EAK7B,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACL,KAAK,wBAAwB,EAE9B,MAAM,8BAA8B,CAAC;AAEtC,UAAU,8BAA8B,CAAC,MAAM,SAAS,CAAC,CAAC,OAAO;IAC/D,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,MAAM,EAAE,uBAAuB,CAAC;IACzC,QAAQ,CAAC,IAAI,EAAE,uBAAuB,CAAC,MAAM,CAAC,CAAC;IAC/C,QAAQ,CAAC,SAAS,CAAC,EAAE,CAAC,OAAO,EAAE,wBAAwB,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CAClF;AAuDD,wBAAgB,8BAA8B,CAAC,MAAM,SAAS,CAAC,CAAC,OAAO,EACrE,MAAM,EAAE,8BAA8B,CAAC,MAAM,CAAC,EAC9C,OAAO,EAAE,wBAAwB,GAChC,iBAAiB,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAoMpC"}
1
+ {"version":3,"file":"diagnostic-journal-manager.d.ts","sourceRoot":"","sources":["../../src/application/diagnostic-journal-manager.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAI7B,OAAO,EACL,KAAK,iBAAi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CAAC,OAAO,EAAE,MAAM,CAAC;IAEzB,YAAY,OAAO,EAAE,MAAM,EAI1B;CACF;AA4BD,qEAAqE;AACrE,wBAAgB,wBAAwB,CAAC,CAAC,EACxC,MAAM,EAAE,0BAA0B,CAAC,CAAC,CAAC,EACrC,OAAO,EAAE,CAAC,GACT,yBAAyB,CAM3B;AAED,uEAAuE;AACvE,wBAAsB,mBAAmB,CAAC,CAAC,EAAE,KAAK,EAAE;IAClD,IAAI,EAAE,sBAAsB,CAAC,CAAC,CAAC,CAAC;IAChC,KAAK,EAAE,UAAU,CAAC,uBAAuB,CAAC,CAAC,CAAC,CAAC,CAAC;IAC9C,MAAM,EAAE,0BAA0B,CAAC,CAAC,CAAC,CAAC;IACtC,IAAI,CAAC,YAAY,EAAE,gBAAgB,CAAC,CAAC,CAAC,GAAG,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IACpE,KAAK,IAAI,IAAI,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,IAAI,OAAO,CAAC;IAClB,OAAO,CAAC,KAAK,EAAE,uBAAuB,CAAC,CAAC,CAAC,GAAG,uBAAuB,CAAC,CAAC,CAAC,CAAC;IACvE,yEAAyE;IACzE,MAAM,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACvC,GAAG,OAAO,CAAC,OAAO,CAAC,CAsFnB"}
@@ -1,10 +1,11 @@
1
- import"../../index-tav72wz5.js";
1
+ import"../../index-jy907kcs.js";
2
+ import"../../index-ks4rhtcc.js";
2
3
  import {
3
4
  ExecutorThreadDispositionSchema2,
4
5
  ExecutorPlanEntryStatusSchema2,
5
6
  ExecutorPlanEntryPrioritySchema2,
6
7
  ExecutorErrorKindSchema2
7
- } from "../../index-6kwdfb9m.js";
8
+ } from "../../index-akesakvj.js";
8
9
  import {
9
10
  InteractionReplySchema2,
10
11
  assertEngineWrapCommand,
@@ -23,7 +24,7 @@ import {
23
24
  reportObserverError,
24
25
  invokeObserver,
25
26
  emitStartupPhase
26
- } from "../../index-aacwkve4.js";
27
+ } from "../../index-sjq4akrx.js";
27
28
  import"../../index-02kdtrcd.js";
28
29
  import {
29
30
  NativeCommandError2
@@ -52,7 +53,7 @@ import {
52
53
  leaveEngineRequestUnanswered,
53
54
  interruptEngineTurn,
54
55
  respondToEngineRequest
55
- } from "../../index-5dxgx3yj.js";
56
+ } from "../../index-tcv71frn.js";
56
57
  import"../../index-8cek82ar.js";
57
58
  import"../../index-0sxj3y45.js";
58
59
  import {
@@ -10,11 +10,12 @@ import {
10
10
  claudeTranscriptHasUuid2,
11
11
  claudeTranscriptExists,
12
12
  findTranscriptInput2
13
- } from "../../index-xnqab06h.js";
14
- import"../../index-tav72wz5.js";
13
+ } from "../../index-mtpcax6d.js";
14
+ import"../../index-jy907kcs.js";
15
+ import"../../index-ks4rhtcc.js";
15
16
  import {
16
17
  ExecutorModelUsageSchema2
17
- } from "../../index-6kwdfb9m.js";
18
+ } from "../../index-akesakvj.js";
18
19
  import {
19
20
  PlanLimitsSchema2,
20
21
  assertEngineWrapCommand,
@@ -29,7 +30,7 @@ import {
29
30
  reportObserverError,
30
31
  invokeObserver,
31
32
  emitStartupPhase
32
- } from "../../index-aacwkve4.js";
33
+ } from "../../index-sjq4akrx.js";
33
34
  import"../../index-02kdtrcd.js";
34
35
  import"../../index-tgehj4bp.js";
35
36
  import"../../index-5c4m8zdf.js";
@@ -43,14 +44,14 @@ import {
43
44
  } from "../../index-1w69rj9f.js";
44
45
  import {
45
46
  planLimitsReadFailed2
46
- } from "../../index-mkmep637.js";
47
+ } from "../../index-9m1m92rg.js";
47
48
  import {
48
49
  holdEngineRequest,
49
50
  answerEngineRequest,
50
51
  loseEngineTurn,
51
52
  interruptEngineTurn,
52
53
  respondToEngineRequest
53
- } from "../../index-5dxgx3yj.js";
54
+ } from "../../index-tcv71frn.js";
54
55
  import {
55
56
  streamNativeCommand2
56
57
  } from "../../index-8cek82ar.js";