stitchkit 0.56.5 → 0.58.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.
- package/dist/agent-runtime/compaction.d.ts +3 -0
- package/dist/agent-runtime/compaction.d.ts.map +1 -1
- package/dist/agent-runtime/events.d.ts +693 -0
- package/dist/agent-runtime/events.d.ts.map +1 -1
- package/dist/agent-runtime/history.d.ts +13 -0
- package/dist/agent-runtime/history.d.ts.map +1 -1
- package/dist/agent-runtime/managed-tools.d.ts +1 -0
- package/dist/agent-runtime/managed-tools.d.ts.map +1 -1
- package/dist/agent-runtime/models.d.ts +39 -3
- package/dist/agent-runtime/models.d.ts.map +1 -1
- package/dist/agent-runtime/observability.d.ts +3 -0
- package/dist/agent-runtime/observability.d.ts.map +1 -1
- package/dist/agent-runtime/prompt.d.ts +21 -0
- package/dist/agent-runtime/prompt.d.ts.map +1 -1
- package/dist/agent-runtime/runtime.d.ts +43 -4
- package/dist/agent-runtime/runtime.d.ts.map +1 -1
- package/dist/agent-runtime/schemas.d.ts +75 -0
- package/dist/agent-runtime/schemas.d.ts.map +1 -1
- package/dist/agent-runtime/store-driver.d.ts +409 -0
- package/dist/agent-runtime/store-driver.d.ts.map +1 -0
- package/dist/agent-runtime/store.d.ts +169 -2
- package/dist/agent-runtime/store.d.ts.map +1 -1
- package/dist/agent-runtime/testing.d.ts +10 -1
- package/dist/agent-runtime/testing.d.ts.map +1 -1
- package/dist/agent-runtime.d.ts +7 -6
- package/dist/agent-runtime.d.ts.map +1 -1
- package/dist/agent-runtime.js +1157 -511
- package/dist/index-vtjgx3vv.js +161 -0
- package/dist/server/error-hook.d.ts +8 -1
- package/dist/server/error-hook.d.ts.map +1 -1
- package/dist/server/index.js +4 -2
- package/dist/testing/agent-store-conformance.d.ts +7 -0
- package/dist/testing/agent-store-conformance.d.ts.map +1 -0
- package/dist/testing.d.ts +2 -0
- package/dist/testing.d.ts.map +1 -1
- package/dist/testing.js +331 -0
- package/llms-full.txt +201 -28
- package/package.json +1 -1
|
@@ -0,0 +1,409 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { type AgentMessage } from './schemas';
|
|
3
|
+
import { type AgentRuntimeStore } from './store';
|
|
4
|
+
export declare const AgentAdmissionIdentitySchema: z.ZodObject<{
|
|
5
|
+
idempotencyKey: z.ZodString;
|
|
6
|
+
inputMessageId: z.ZodString;
|
|
7
|
+
runId: z.ZodString;
|
|
8
|
+
assistantMessageId: z.ZodString;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
export declare const AgentStoredStateSchema: z.ZodObject<{
|
|
11
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
12
|
+
conversationId: z.ZodString;
|
|
13
|
+
version: z.ZodInt;
|
|
14
|
+
runs: z.ZodArray<z.ZodObject<{
|
|
15
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
16
|
+
id: z.ZodString;
|
|
17
|
+
conversationId: z.ZodString;
|
|
18
|
+
inputMessageIds: z.ZodArray<z.ZodString>;
|
|
19
|
+
assistantMessageId: z.ZodString;
|
|
20
|
+
state: z.ZodEnum<{
|
|
21
|
+
abandoned: "abandoned";
|
|
22
|
+
cancelled: "cancelled";
|
|
23
|
+
completed: "completed";
|
|
24
|
+
failed: "failed";
|
|
25
|
+
interrupt_requested: "interrupt_requested";
|
|
26
|
+
interrupted: "interrupted";
|
|
27
|
+
queued: "queued";
|
|
28
|
+
running: "running";
|
|
29
|
+
}>;
|
|
30
|
+
revision: z.ZodInt;
|
|
31
|
+
ownerId: z.ZodOptional<z.ZodString>;
|
|
32
|
+
fencingToken: z.ZodOptional<z.ZodInt>;
|
|
33
|
+
terminalReason: z.ZodOptional<z.ZodEnum<{
|
|
34
|
+
abandoned: "abandoned";
|
|
35
|
+
cancelled: "cancelled";
|
|
36
|
+
interrupted: "interrupted";
|
|
37
|
+
policy_stop: "policy_stop";
|
|
38
|
+
provider_failure: "provider_failure";
|
|
39
|
+
shutdown: "shutdown";
|
|
40
|
+
success: "success";
|
|
41
|
+
timeout: "timeout";
|
|
42
|
+
tool_failure: "tool_failure";
|
|
43
|
+
}>>;
|
|
44
|
+
terminalPolicyName: z.ZodOptional<z.ZodString>;
|
|
45
|
+
createdAt: z.ZodISODateTime;
|
|
46
|
+
updatedAt: z.ZodISODateTime;
|
|
47
|
+
}, z.core.$strip>>;
|
|
48
|
+
admissions: z.ZodArray<z.ZodObject<{
|
|
49
|
+
idempotencyKey: z.ZodString;
|
|
50
|
+
inputMessageId: z.ZodString;
|
|
51
|
+
runId: z.ZodString;
|
|
52
|
+
assistantMessageId: z.ZodString;
|
|
53
|
+
}, z.core.$strip>>;
|
|
54
|
+
}, z.core.$strip>;
|
|
55
|
+
export type AgentAdmissionIdentity = z.infer<typeof AgentAdmissionIdentitySchema>;
|
|
56
|
+
export type AgentStoredState = z.infer<typeof AgentStoredStateSchema>;
|
|
57
|
+
export declare const AgentHistoryMutationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
58
|
+
type: z.ZodLiteral<"admit">;
|
|
59
|
+
input: z.ZodObject<{
|
|
60
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
61
|
+
id: z.ZodString;
|
|
62
|
+
conversationId: z.ZodString;
|
|
63
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
64
|
+
role: z.ZodEnum<{
|
|
65
|
+
assistant: "assistant";
|
|
66
|
+
summary: "summary";
|
|
67
|
+
system: "system";
|
|
68
|
+
user: "user";
|
|
69
|
+
}>;
|
|
70
|
+
status: z.ZodEnum<{
|
|
71
|
+
committed: "committed";
|
|
72
|
+
completed: "completed";
|
|
73
|
+
failed: "failed";
|
|
74
|
+
interrupted: "interrupted";
|
|
75
|
+
streaming: "streaming";
|
|
76
|
+
}>;
|
|
77
|
+
parts: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
78
|
+
type: z.ZodLiteral<"text">;
|
|
79
|
+
text: z.ZodString;
|
|
80
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
81
|
+
type: z.ZodLiteral<"reasoning">;
|
|
82
|
+
text: z.ZodString;
|
|
83
|
+
provider: z.ZodOptional<z.ZodObject<{
|
|
84
|
+
schemaVersion: z.ZodInt;
|
|
85
|
+
provider: z.ZodString;
|
|
86
|
+
data: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
87
|
+
}, z.core.$strip>>;
|
|
88
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
89
|
+
type: z.ZodLiteral<"file">;
|
|
90
|
+
mediaType: z.ZodString;
|
|
91
|
+
reference: z.ZodString;
|
|
92
|
+
filename: z.ZodOptional<z.ZodString>;
|
|
93
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
94
|
+
type: z.ZodLiteral<"source">;
|
|
95
|
+
sourceId: z.ZodString;
|
|
96
|
+
url: z.ZodOptional<z.ZodURL>;
|
|
97
|
+
title: z.ZodOptional<z.ZodString>;
|
|
98
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
99
|
+
type: z.ZodLiteral<"tool-call">;
|
|
100
|
+
callId: z.ZodString;
|
|
101
|
+
toolName: z.ZodString;
|
|
102
|
+
input: z.ZodJSONSchema;
|
|
103
|
+
provider: z.ZodOptional<z.ZodObject<{
|
|
104
|
+
schemaVersion: z.ZodInt;
|
|
105
|
+
provider: z.ZodString;
|
|
106
|
+
data: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
107
|
+
}, z.core.$strip>>;
|
|
108
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
109
|
+
type: z.ZodLiteral<"tool-result">;
|
|
110
|
+
callId: z.ZodString;
|
|
111
|
+
toolName: z.ZodString;
|
|
112
|
+
outcome: z.ZodEnum<{
|
|
113
|
+
error: "error";
|
|
114
|
+
interrupted: "interrupted";
|
|
115
|
+
success: "success";
|
|
116
|
+
}>;
|
|
117
|
+
output: z.ZodOptional<z.ZodJSONSchema>;
|
|
118
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
119
|
+
type: z.ZodLiteral<"provider">;
|
|
120
|
+
envelope: z.ZodObject<{
|
|
121
|
+
schemaVersion: z.ZodInt;
|
|
122
|
+
provider: z.ZodString;
|
|
123
|
+
data: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
124
|
+
}, z.core.$strip>;
|
|
125
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
126
|
+
type: z.ZodLiteral<"control">;
|
|
127
|
+
reason: z.ZodEnum<{
|
|
128
|
+
"run-interrupted": "run-interrupted";
|
|
129
|
+
"stale-run": "stale-run";
|
|
130
|
+
}>;
|
|
131
|
+
}, z.core.$strip>], "type">>;
|
|
132
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
133
|
+
createdAt: z.ZodISODateTime;
|
|
134
|
+
updatedAt: z.ZodISODateTime;
|
|
135
|
+
}, z.core.$strip>;
|
|
136
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
137
|
+
type: z.ZodLiteral<"upsert-assistant">;
|
|
138
|
+
message: z.ZodObject<{
|
|
139
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
140
|
+
id: z.ZodString;
|
|
141
|
+
conversationId: z.ZodString;
|
|
142
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
143
|
+
role: z.ZodEnum<{
|
|
144
|
+
assistant: "assistant";
|
|
145
|
+
summary: "summary";
|
|
146
|
+
system: "system";
|
|
147
|
+
user: "user";
|
|
148
|
+
}>;
|
|
149
|
+
status: z.ZodEnum<{
|
|
150
|
+
committed: "committed";
|
|
151
|
+
completed: "completed";
|
|
152
|
+
failed: "failed";
|
|
153
|
+
interrupted: "interrupted";
|
|
154
|
+
streaming: "streaming";
|
|
155
|
+
}>;
|
|
156
|
+
parts: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
157
|
+
type: z.ZodLiteral<"text">;
|
|
158
|
+
text: z.ZodString;
|
|
159
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
160
|
+
type: z.ZodLiteral<"reasoning">;
|
|
161
|
+
text: z.ZodString;
|
|
162
|
+
provider: z.ZodOptional<z.ZodObject<{
|
|
163
|
+
schemaVersion: z.ZodInt;
|
|
164
|
+
provider: z.ZodString;
|
|
165
|
+
data: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
166
|
+
}, z.core.$strip>>;
|
|
167
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
168
|
+
type: z.ZodLiteral<"file">;
|
|
169
|
+
mediaType: z.ZodString;
|
|
170
|
+
reference: z.ZodString;
|
|
171
|
+
filename: z.ZodOptional<z.ZodString>;
|
|
172
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
173
|
+
type: z.ZodLiteral<"source">;
|
|
174
|
+
sourceId: z.ZodString;
|
|
175
|
+
url: z.ZodOptional<z.ZodURL>;
|
|
176
|
+
title: z.ZodOptional<z.ZodString>;
|
|
177
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
178
|
+
type: z.ZodLiteral<"tool-call">;
|
|
179
|
+
callId: z.ZodString;
|
|
180
|
+
toolName: z.ZodString;
|
|
181
|
+
input: z.ZodJSONSchema;
|
|
182
|
+
provider: z.ZodOptional<z.ZodObject<{
|
|
183
|
+
schemaVersion: z.ZodInt;
|
|
184
|
+
provider: z.ZodString;
|
|
185
|
+
data: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
186
|
+
}, z.core.$strip>>;
|
|
187
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
188
|
+
type: z.ZodLiteral<"tool-result">;
|
|
189
|
+
callId: z.ZodString;
|
|
190
|
+
toolName: z.ZodString;
|
|
191
|
+
outcome: z.ZodEnum<{
|
|
192
|
+
error: "error";
|
|
193
|
+
interrupted: "interrupted";
|
|
194
|
+
success: "success";
|
|
195
|
+
}>;
|
|
196
|
+
output: z.ZodOptional<z.ZodJSONSchema>;
|
|
197
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
198
|
+
type: z.ZodLiteral<"provider">;
|
|
199
|
+
envelope: z.ZodObject<{
|
|
200
|
+
schemaVersion: z.ZodInt;
|
|
201
|
+
provider: z.ZodString;
|
|
202
|
+
data: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
203
|
+
}, z.core.$strip>;
|
|
204
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
205
|
+
type: z.ZodLiteral<"control">;
|
|
206
|
+
reason: z.ZodEnum<{
|
|
207
|
+
"run-interrupted": "run-interrupted";
|
|
208
|
+
"stale-run": "stale-run";
|
|
209
|
+
}>;
|
|
210
|
+
}, z.core.$strip>], "type">>;
|
|
211
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
212
|
+
createdAt: z.ZodISODateTime;
|
|
213
|
+
updatedAt: z.ZodISODateTime;
|
|
214
|
+
}, z.core.$strip>;
|
|
215
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
216
|
+
type: z.ZodLiteral<"replace-compacted-range">;
|
|
217
|
+
replacedMessageIds: z.ZodArray<z.ZodString>;
|
|
218
|
+
summary: z.ZodObject<{
|
|
219
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
220
|
+
id: z.ZodString;
|
|
221
|
+
conversationId: z.ZodString;
|
|
222
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
223
|
+
role: z.ZodEnum<{
|
|
224
|
+
assistant: "assistant";
|
|
225
|
+
summary: "summary";
|
|
226
|
+
system: "system";
|
|
227
|
+
user: "user";
|
|
228
|
+
}>;
|
|
229
|
+
status: z.ZodEnum<{
|
|
230
|
+
committed: "committed";
|
|
231
|
+
completed: "completed";
|
|
232
|
+
failed: "failed";
|
|
233
|
+
interrupted: "interrupted";
|
|
234
|
+
streaming: "streaming";
|
|
235
|
+
}>;
|
|
236
|
+
parts: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
237
|
+
type: z.ZodLiteral<"text">;
|
|
238
|
+
text: z.ZodString;
|
|
239
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
240
|
+
type: z.ZodLiteral<"reasoning">;
|
|
241
|
+
text: z.ZodString;
|
|
242
|
+
provider: z.ZodOptional<z.ZodObject<{
|
|
243
|
+
schemaVersion: z.ZodInt;
|
|
244
|
+
provider: z.ZodString;
|
|
245
|
+
data: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
246
|
+
}, z.core.$strip>>;
|
|
247
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
248
|
+
type: z.ZodLiteral<"file">;
|
|
249
|
+
mediaType: z.ZodString;
|
|
250
|
+
reference: z.ZodString;
|
|
251
|
+
filename: z.ZodOptional<z.ZodString>;
|
|
252
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
253
|
+
type: z.ZodLiteral<"source">;
|
|
254
|
+
sourceId: z.ZodString;
|
|
255
|
+
url: z.ZodOptional<z.ZodURL>;
|
|
256
|
+
title: z.ZodOptional<z.ZodString>;
|
|
257
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
258
|
+
type: z.ZodLiteral<"tool-call">;
|
|
259
|
+
callId: z.ZodString;
|
|
260
|
+
toolName: z.ZodString;
|
|
261
|
+
input: z.ZodJSONSchema;
|
|
262
|
+
provider: z.ZodOptional<z.ZodObject<{
|
|
263
|
+
schemaVersion: z.ZodInt;
|
|
264
|
+
provider: z.ZodString;
|
|
265
|
+
data: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
266
|
+
}, z.core.$strip>>;
|
|
267
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
268
|
+
type: z.ZodLiteral<"tool-result">;
|
|
269
|
+
callId: z.ZodString;
|
|
270
|
+
toolName: z.ZodString;
|
|
271
|
+
outcome: z.ZodEnum<{
|
|
272
|
+
error: "error";
|
|
273
|
+
interrupted: "interrupted";
|
|
274
|
+
success: "success";
|
|
275
|
+
}>;
|
|
276
|
+
output: z.ZodOptional<z.ZodJSONSchema>;
|
|
277
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
278
|
+
type: z.ZodLiteral<"provider">;
|
|
279
|
+
envelope: z.ZodObject<{
|
|
280
|
+
schemaVersion: z.ZodInt;
|
|
281
|
+
provider: z.ZodString;
|
|
282
|
+
data: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
283
|
+
}, z.core.$strip>;
|
|
284
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
285
|
+
type: z.ZodLiteral<"control">;
|
|
286
|
+
reason: z.ZodEnum<{
|
|
287
|
+
"run-interrupted": "run-interrupted";
|
|
288
|
+
"stale-run": "stale-run";
|
|
289
|
+
}>;
|
|
290
|
+
}, z.core.$strip>], "type">>;
|
|
291
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
292
|
+
createdAt: z.ZodISODateTime;
|
|
293
|
+
updatedAt: z.ZodISODateTime;
|
|
294
|
+
}, z.core.$strip>;
|
|
295
|
+
}, z.core.$strip>], "type">;
|
|
296
|
+
export type AgentHistoryMutation = z.infer<typeof AgentHistoryMutationSchema>;
|
|
297
|
+
export declare const AgentRecoverableDescriptorSchema: z.ZodObject<{
|
|
298
|
+
conversationId: z.ZodString;
|
|
299
|
+
run: z.ZodObject<{
|
|
300
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
301
|
+
id: z.ZodString;
|
|
302
|
+
conversationId: z.ZodString;
|
|
303
|
+
inputMessageIds: z.ZodArray<z.ZodString>;
|
|
304
|
+
assistantMessageId: z.ZodString;
|
|
305
|
+
state: z.ZodEnum<{
|
|
306
|
+
abandoned: "abandoned";
|
|
307
|
+
cancelled: "cancelled";
|
|
308
|
+
completed: "completed";
|
|
309
|
+
failed: "failed";
|
|
310
|
+
interrupt_requested: "interrupt_requested";
|
|
311
|
+
interrupted: "interrupted";
|
|
312
|
+
queued: "queued";
|
|
313
|
+
running: "running";
|
|
314
|
+
}>;
|
|
315
|
+
revision: z.ZodInt;
|
|
316
|
+
ownerId: z.ZodOptional<z.ZodString>;
|
|
317
|
+
fencingToken: z.ZodOptional<z.ZodInt>;
|
|
318
|
+
terminalReason: z.ZodOptional<z.ZodEnum<{
|
|
319
|
+
abandoned: "abandoned";
|
|
320
|
+
cancelled: "cancelled";
|
|
321
|
+
interrupted: "interrupted";
|
|
322
|
+
policy_stop: "policy_stop";
|
|
323
|
+
provider_failure: "provider_failure";
|
|
324
|
+
shutdown: "shutdown";
|
|
325
|
+
success: "success";
|
|
326
|
+
timeout: "timeout";
|
|
327
|
+
tool_failure: "tool_failure";
|
|
328
|
+
}>>;
|
|
329
|
+
terminalPolicyName: z.ZodOptional<z.ZodString>;
|
|
330
|
+
createdAt: z.ZodISODateTime;
|
|
331
|
+
updatedAt: z.ZodISODateTime;
|
|
332
|
+
}, z.core.$strip>;
|
|
333
|
+
}, z.core.$strip>;
|
|
334
|
+
export declare const AgentRecoverablePageSchema: z.ZodObject<{
|
|
335
|
+
items: z.ZodArray<z.ZodObject<{
|
|
336
|
+
conversationId: z.ZodString;
|
|
337
|
+
run: z.ZodObject<{
|
|
338
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
339
|
+
id: z.ZodString;
|
|
340
|
+
conversationId: z.ZodString;
|
|
341
|
+
inputMessageIds: z.ZodArray<z.ZodString>;
|
|
342
|
+
assistantMessageId: z.ZodString;
|
|
343
|
+
state: z.ZodEnum<{
|
|
344
|
+
abandoned: "abandoned";
|
|
345
|
+
cancelled: "cancelled";
|
|
346
|
+
completed: "completed";
|
|
347
|
+
failed: "failed";
|
|
348
|
+
interrupt_requested: "interrupt_requested";
|
|
349
|
+
interrupted: "interrupted";
|
|
350
|
+
queued: "queued";
|
|
351
|
+
running: "running";
|
|
352
|
+
}>;
|
|
353
|
+
revision: z.ZodInt;
|
|
354
|
+
ownerId: z.ZodOptional<z.ZodString>;
|
|
355
|
+
fencingToken: z.ZodOptional<z.ZodInt>;
|
|
356
|
+
terminalReason: z.ZodOptional<z.ZodEnum<{
|
|
357
|
+
abandoned: "abandoned";
|
|
358
|
+
cancelled: "cancelled";
|
|
359
|
+
interrupted: "interrupted";
|
|
360
|
+
policy_stop: "policy_stop";
|
|
361
|
+
provider_failure: "provider_failure";
|
|
362
|
+
shutdown: "shutdown";
|
|
363
|
+
success: "success";
|
|
364
|
+
timeout: "timeout";
|
|
365
|
+
tool_failure: "tool_failure";
|
|
366
|
+
}>>;
|
|
367
|
+
terminalPolicyName: z.ZodOptional<z.ZodString>;
|
|
368
|
+
createdAt: z.ZodISODateTime;
|
|
369
|
+
updatedAt: z.ZodISODateTime;
|
|
370
|
+
}, z.core.$strip>;
|
|
371
|
+
}, z.core.$strip>>;
|
|
372
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
373
|
+
}, z.core.$strip>;
|
|
374
|
+
export type AgentRecoverableDescriptor = z.infer<typeof AgentRecoverableDescriptorSchema>;
|
|
375
|
+
export type AgentRecoverablePage = z.infer<typeof AgentRecoverablePageSchema>;
|
|
376
|
+
export type AgentStoreCompareAndSwapResult = {
|
|
377
|
+
outcome: 'applied';
|
|
378
|
+
} | {
|
|
379
|
+
outcome: 'conflict';
|
|
380
|
+
actualVersion: number;
|
|
381
|
+
};
|
|
382
|
+
export interface AgentRuntimeStoreDriver<TRANSACTION> {
|
|
383
|
+
transaction<RESULT>(work: (transaction: TRANSACTION) => Promise<RESULT>): Promise<RESULT>;
|
|
384
|
+
state: {
|
|
385
|
+
load(transaction: TRANSACTION, conversationId: string): Promise<AgentStoredState | undefined>;
|
|
386
|
+
compareAndSwap(transaction: TRANSACTION, input: {
|
|
387
|
+
conversationId: string;
|
|
388
|
+
expectedVersion: number;
|
|
389
|
+
next: AgentStoredState;
|
|
390
|
+
recoverable: readonly AgentRecoverableDescriptor[];
|
|
391
|
+
}): Promise<AgentStoreCompareAndSwapResult>;
|
|
392
|
+
};
|
|
393
|
+
history: {
|
|
394
|
+
load(transaction: TRANSACTION, conversationId: string): Promise<readonly AgentMessage[]>;
|
|
395
|
+
loadById(transaction: TRANSACTION, input: {
|
|
396
|
+
conversationId: string;
|
|
397
|
+
messageId: string;
|
|
398
|
+
}): Promise<AgentMessage | undefined>;
|
|
399
|
+
apply(transaction: TRANSACTION, mutation: AgentHistoryMutation): Promise<void>;
|
|
400
|
+
};
|
|
401
|
+
scanRecoverable(input: {
|
|
402
|
+
cursor?: string;
|
|
403
|
+
limit: number;
|
|
404
|
+
}): Promise<AgentRecoverablePage>;
|
|
405
|
+
}
|
|
406
|
+
export declare function createAgentRuntimeStore<TRANSACTION>(driver: AgentRuntimeStoreDriver<TRANSACTION>): AgentRuntimeStore;
|
|
407
|
+
/** In-memory reference adapter backed by the same reducer and driver contract as durable stores. */
|
|
408
|
+
export declare function createMemoryAgentRuntimeStore(): AgentRuntimeStore;
|
|
409
|
+
//# sourceMappingURL=store-driver.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"store-driver.d.ts","sourceRoot":"","sources":["../../src/agent-runtime/store-driver.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,KAAK,YAAY,EASlB,MAAM,WAAW,CAAC;AACnB,OAAO,EAKL,KAAK,iBAAiB,EAYvB,MAAM,SAAS,CAAC;AAEjB,eAAO,MAAM,4BAA4B;;;;;iBAKvC,CAAC;AAEH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAMjC,CAAC;AAEH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAClF,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAEtE,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAC;KAC5C,CAAC;IACF,OAAO,EAAE;QACP,IAAI,CAAC,WAAW,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,GAAG,OAAO,CAAC,SAAS,YAAY,EAAE,CAAC,CAAC;QACzF,QAAQ,CACN,WAAW,EAAE,WAAW,EACxB,KAAK,EAAE;YAAE,cAAc,EAAE,MAAM,CAAC;YAAC,SAAS,EAAE,MAAM,CAAA;SAAE,GACnD,OAAO,CAAC,YAAY,GAAG,SAAS,CAAC,CAAC;QACrC,KAAK,CAAC,WAAW,EAAE,WAAW,EAAE,QAAQ,EAAE,oBAAoB,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;KAChF,CAAC;IACF,eAAe,CAAC,KAAK,EAAE;QAAE,MAAM,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAC;CAC3F;AA4eD,wBAAgB,uBAAuB,CAAC,WAAW,EACjD,MAAM,EAAE,uBAAuB,CAAC,WAAW,CAAC,GAC3C,iBAAiB,CAqHnB;AA0BD,oGAAoG;AACpG,wBAAgB,6BAA6B,IAAI,iBAAiB,CAqIjE"}
|
|
@@ -108,6 +108,7 @@ export declare const AgentStoreAppliedSchema: z.ZodObject<{
|
|
|
108
108
|
}>;
|
|
109
109
|
revision: z.ZodInt;
|
|
110
110
|
ownerId: z.ZodOptional<z.ZodString>;
|
|
111
|
+
fencingToken: z.ZodOptional<z.ZodInt>;
|
|
111
112
|
terminalReason: z.ZodOptional<z.ZodEnum<{
|
|
112
113
|
abandoned: "abandoned";
|
|
113
114
|
cancelled: "cancelled";
|
|
@@ -127,7 +128,86 @@ export declare const AgentStoreAppliedSchema: z.ZodObject<{
|
|
|
127
128
|
}, z.core.$strip>;
|
|
128
129
|
export declare const AgentStoreDuplicateSchema: z.ZodObject<{
|
|
129
130
|
outcome: z.ZodLiteral<"duplicate">;
|
|
131
|
+
input: z.ZodObject<{
|
|
132
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
133
|
+
id: z.ZodString;
|
|
134
|
+
conversationId: z.ZodString;
|
|
135
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
136
|
+
role: z.ZodEnum<{
|
|
137
|
+
assistant: "assistant";
|
|
138
|
+
summary: "summary";
|
|
139
|
+
system: "system";
|
|
140
|
+
user: "user";
|
|
141
|
+
}>;
|
|
142
|
+
status: z.ZodEnum<{
|
|
143
|
+
committed: "committed";
|
|
144
|
+
completed: "completed";
|
|
145
|
+
failed: "failed";
|
|
146
|
+
interrupted: "interrupted";
|
|
147
|
+
streaming: "streaming";
|
|
148
|
+
}>;
|
|
149
|
+
parts: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
150
|
+
type: z.ZodLiteral<"text">;
|
|
151
|
+
text: z.ZodString;
|
|
152
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
153
|
+
type: z.ZodLiteral<"reasoning">;
|
|
154
|
+
text: z.ZodString;
|
|
155
|
+
provider: z.ZodOptional<z.ZodObject<{
|
|
156
|
+
schemaVersion: z.ZodInt;
|
|
157
|
+
provider: z.ZodString;
|
|
158
|
+
data: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
159
|
+
}, z.core.$strip>>;
|
|
160
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
161
|
+
type: z.ZodLiteral<"file">;
|
|
162
|
+
mediaType: z.ZodString;
|
|
163
|
+
reference: z.ZodString;
|
|
164
|
+
filename: z.ZodOptional<z.ZodString>;
|
|
165
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
166
|
+
type: z.ZodLiteral<"source">;
|
|
167
|
+
sourceId: z.ZodString;
|
|
168
|
+
url: z.ZodOptional<z.ZodURL>;
|
|
169
|
+
title: z.ZodOptional<z.ZodString>;
|
|
170
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
171
|
+
type: z.ZodLiteral<"tool-call">;
|
|
172
|
+
callId: z.ZodString;
|
|
173
|
+
toolName: z.ZodString;
|
|
174
|
+
input: z.ZodJSONSchema;
|
|
175
|
+
provider: z.ZodOptional<z.ZodObject<{
|
|
176
|
+
schemaVersion: z.ZodInt;
|
|
177
|
+
provider: z.ZodString;
|
|
178
|
+
data: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
179
|
+
}, z.core.$strip>>;
|
|
180
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
181
|
+
type: z.ZodLiteral<"tool-result">;
|
|
182
|
+
callId: z.ZodString;
|
|
183
|
+
toolName: z.ZodString;
|
|
184
|
+
outcome: z.ZodEnum<{
|
|
185
|
+
error: "error";
|
|
186
|
+
interrupted: "interrupted";
|
|
187
|
+
success: "success";
|
|
188
|
+
}>;
|
|
189
|
+
output: z.ZodOptional<z.ZodJSONSchema>;
|
|
190
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
191
|
+
type: z.ZodLiteral<"provider">;
|
|
192
|
+
envelope: z.ZodObject<{
|
|
193
|
+
schemaVersion: z.ZodInt;
|
|
194
|
+
provider: z.ZodString;
|
|
195
|
+
data: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
196
|
+
}, z.core.$strip>;
|
|
197
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
198
|
+
type: z.ZodLiteral<"control">;
|
|
199
|
+
reason: z.ZodEnum<{
|
|
200
|
+
"run-interrupted": "run-interrupted";
|
|
201
|
+
"stale-run": "stale-run";
|
|
202
|
+
}>;
|
|
203
|
+
}, z.core.$strip>], "type">>;
|
|
204
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
205
|
+
createdAt: z.ZodISODateTime;
|
|
206
|
+
updatedAt: z.ZodISODateTime;
|
|
207
|
+
}, z.core.$strip>;
|
|
208
|
+
inputMessageId: z.ZodString;
|
|
130
209
|
runId: z.ZodString;
|
|
210
|
+
assistantMessageId: z.ZodString;
|
|
131
211
|
snapshot: z.ZodObject<{
|
|
132
212
|
schemaVersion: z.ZodLiteral<1>;
|
|
133
213
|
conversationId: z.ZodString;
|
|
@@ -227,6 +307,7 @@ export declare const AgentStoreDuplicateSchema: z.ZodObject<{
|
|
|
227
307
|
}>;
|
|
228
308
|
revision: z.ZodInt;
|
|
229
309
|
ownerId: z.ZodOptional<z.ZodString>;
|
|
310
|
+
fencingToken: z.ZodOptional<z.ZodInt>;
|
|
230
311
|
terminalReason: z.ZodOptional<z.ZodEnum<{
|
|
231
312
|
abandoned: "abandoned";
|
|
232
313
|
cancelled: "cancelled";
|
|
@@ -345,6 +426,7 @@ export declare const AgentStoreMutationResultSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
345
426
|
}>;
|
|
346
427
|
revision: z.ZodInt;
|
|
347
428
|
ownerId: z.ZodOptional<z.ZodString>;
|
|
429
|
+
fencingToken: z.ZodOptional<z.ZodInt>;
|
|
348
430
|
terminalReason: z.ZodOptional<z.ZodEnum<{
|
|
349
431
|
abandoned: "abandoned";
|
|
350
432
|
cancelled: "cancelled";
|
|
@@ -363,7 +445,86 @@ export declare const AgentStoreMutationResultSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
363
445
|
}, z.core.$strip>;
|
|
364
446
|
}, z.core.$strip>, z.ZodObject<{
|
|
365
447
|
outcome: z.ZodLiteral<"duplicate">;
|
|
448
|
+
input: z.ZodObject<{
|
|
449
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
450
|
+
id: z.ZodString;
|
|
451
|
+
conversationId: z.ZodString;
|
|
452
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
453
|
+
role: z.ZodEnum<{
|
|
454
|
+
assistant: "assistant";
|
|
455
|
+
summary: "summary";
|
|
456
|
+
system: "system";
|
|
457
|
+
user: "user";
|
|
458
|
+
}>;
|
|
459
|
+
status: z.ZodEnum<{
|
|
460
|
+
committed: "committed";
|
|
461
|
+
completed: "completed";
|
|
462
|
+
failed: "failed";
|
|
463
|
+
interrupted: "interrupted";
|
|
464
|
+
streaming: "streaming";
|
|
465
|
+
}>;
|
|
466
|
+
parts: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
467
|
+
type: z.ZodLiteral<"text">;
|
|
468
|
+
text: z.ZodString;
|
|
469
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
470
|
+
type: z.ZodLiteral<"reasoning">;
|
|
471
|
+
text: z.ZodString;
|
|
472
|
+
provider: z.ZodOptional<z.ZodObject<{
|
|
473
|
+
schemaVersion: z.ZodInt;
|
|
474
|
+
provider: z.ZodString;
|
|
475
|
+
data: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
476
|
+
}, z.core.$strip>>;
|
|
477
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
478
|
+
type: z.ZodLiteral<"file">;
|
|
479
|
+
mediaType: z.ZodString;
|
|
480
|
+
reference: z.ZodString;
|
|
481
|
+
filename: z.ZodOptional<z.ZodString>;
|
|
482
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
483
|
+
type: z.ZodLiteral<"source">;
|
|
484
|
+
sourceId: z.ZodString;
|
|
485
|
+
url: z.ZodOptional<z.ZodURL>;
|
|
486
|
+
title: z.ZodOptional<z.ZodString>;
|
|
487
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
488
|
+
type: z.ZodLiteral<"tool-call">;
|
|
489
|
+
callId: z.ZodString;
|
|
490
|
+
toolName: z.ZodString;
|
|
491
|
+
input: z.ZodJSONSchema;
|
|
492
|
+
provider: z.ZodOptional<z.ZodObject<{
|
|
493
|
+
schemaVersion: z.ZodInt;
|
|
494
|
+
provider: z.ZodString;
|
|
495
|
+
data: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
496
|
+
}, z.core.$strip>>;
|
|
497
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
498
|
+
type: z.ZodLiteral<"tool-result">;
|
|
499
|
+
callId: z.ZodString;
|
|
500
|
+
toolName: z.ZodString;
|
|
501
|
+
outcome: z.ZodEnum<{
|
|
502
|
+
error: "error";
|
|
503
|
+
interrupted: "interrupted";
|
|
504
|
+
success: "success";
|
|
505
|
+
}>;
|
|
506
|
+
output: z.ZodOptional<z.ZodJSONSchema>;
|
|
507
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
508
|
+
type: z.ZodLiteral<"provider">;
|
|
509
|
+
envelope: z.ZodObject<{
|
|
510
|
+
schemaVersion: z.ZodInt;
|
|
511
|
+
provider: z.ZodString;
|
|
512
|
+
data: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
513
|
+
}, z.core.$strip>;
|
|
514
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
515
|
+
type: z.ZodLiteral<"control">;
|
|
516
|
+
reason: z.ZodEnum<{
|
|
517
|
+
"run-interrupted": "run-interrupted";
|
|
518
|
+
"stale-run": "stale-run";
|
|
519
|
+
}>;
|
|
520
|
+
}, z.core.$strip>], "type">>;
|
|
521
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
522
|
+
createdAt: z.ZodISODateTime;
|
|
523
|
+
updatedAt: z.ZodISODateTime;
|
|
524
|
+
}, z.core.$strip>;
|
|
525
|
+
inputMessageId: z.ZodString;
|
|
366
526
|
runId: z.ZodString;
|
|
527
|
+
assistantMessageId: z.ZodString;
|
|
367
528
|
snapshot: z.ZodObject<{
|
|
368
529
|
schemaVersion: z.ZodLiteral<1>;
|
|
369
530
|
conversationId: z.ZodString;
|
|
@@ -463,6 +624,7 @@ export declare const AgentStoreMutationResultSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
463
624
|
}>;
|
|
464
625
|
revision: z.ZodInt;
|
|
465
626
|
ownerId: z.ZodOptional<z.ZodString>;
|
|
627
|
+
fencingToken: z.ZodOptional<z.ZodInt>;
|
|
466
628
|
terminalReason: z.ZodOptional<z.ZodEnum<{
|
|
467
629
|
abandoned: "abandoned";
|
|
468
630
|
cancelled: "cancelled";
|
|
@@ -584,6 +746,7 @@ export declare const AcceptInputAndAssignRunSchema: z.ZodObject<{
|
|
|
584
746
|
}>;
|
|
585
747
|
revision: z.ZodInt;
|
|
586
748
|
ownerId: z.ZodOptional<z.ZodString>;
|
|
749
|
+
fencingToken: z.ZodOptional<z.ZodInt>;
|
|
587
750
|
terminalReason: z.ZodOptional<z.ZodEnum<{
|
|
588
751
|
abandoned: "abandoned";
|
|
589
752
|
cancelled: "cancelled";
|
|
@@ -612,6 +775,7 @@ export declare const CheckpointRunAssistantSchema: z.ZodObject<{
|
|
|
612
775
|
runId: z.ZodString;
|
|
613
776
|
expectedRevision: z.ZodInt;
|
|
614
777
|
ownerId: z.ZodString;
|
|
778
|
+
fencingToken: z.ZodOptional<z.ZodInt>;
|
|
615
779
|
assistant: z.ZodObject<{
|
|
616
780
|
schemaVersion: z.ZodLiteral<1>;
|
|
617
781
|
id: z.ZodString;
|
|
@@ -695,6 +859,7 @@ export declare const CommitRunTerminalSchema: z.ZodObject<{
|
|
|
695
859
|
runId: z.ZodString;
|
|
696
860
|
expectedRevision: z.ZodInt;
|
|
697
861
|
ownerId: z.ZodString;
|
|
862
|
+
fencingToken: z.ZodOptional<z.ZodInt>;
|
|
698
863
|
assistant: z.ZodObject<{
|
|
699
864
|
schemaVersion: z.ZodLiteral<1>;
|
|
700
865
|
id: z.ZodString;
|
|
@@ -899,7 +1064,9 @@ export interface AgentRuntimeStore {
|
|
|
899
1064
|
commitRunTerminal(input: CommitRunTerminal): Promise<AgentStoreMutationResult>;
|
|
900
1065
|
replaceCompactedRange(input: ReplaceCompactedRange): Promise<AgentStoreMutationResult>;
|
|
901
1066
|
scanRecoverable(): Promise<readonly AgentSnapshot[]>;
|
|
1067
|
+
scanRecoverablePage?(input: {
|
|
1068
|
+
cursor?: string;
|
|
1069
|
+
limit: number;
|
|
1070
|
+
}): Promise<import('./store-driver').AgentRecoverablePage>;
|
|
902
1071
|
}
|
|
903
|
-
/** In-memory reference adapter. It is process-local and deliberately offers no lease guarantee. */
|
|
904
|
-
export declare function createMemoryAgentRuntimeStore(): AgentRuntimeStore;
|
|
905
1072
|
//# sourceMappingURL=store.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../src/agent-runtime/store.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,
|
|
1
|
+
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../src/agent-runtime/store.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAKL,KAAK,aAAa,EAGnB,MAAM,WAAW,CAAC;AAEnB,eAAO,MAAM,wBAAwB;;;iBAGnC,CAAC;AACH,eAAO,MAAM,wBAAwB;;iBAAgD,CAAC;AACtF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAGlC,CAAC;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAOpC,CAAC;AACH,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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