@sentry/junior 0.112.0 → 0.114.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-hooks-6MVTPKP4.js → agent-hooks-WNBUY4OB.js} +8 -8
- package/dist/api/conversations/cursor.d.ts +17 -0
- package/dist/api/conversations/detail.d.ts +40 -18
- package/dist/api/conversations/event-list.d.ts +115 -0
- package/dist/api/conversations/event-page.d.ts +18 -0
- package/dist/api/conversations/events.d.ts +6 -2
- package/dist/api/conversations/projection.d.ts +6 -1
- package/dist/api/schema/conversation.d.ts +228 -51
- package/dist/api/schema.d.ts +2 -2
- package/dist/api/schema.js +7 -1
- package/dist/api.js +461 -139
- package/dist/app.d.ts +2 -0
- package/dist/app.js +33 -24
- package/dist/{catalog-runtime-UEO25P2J.js → catalog-runtime-6O4M6JGA.js} +5 -5
- package/dist/chat/config.d.ts +1 -1
- package/dist/chat/conversations/history.d.ts +86 -0
- package/dist/chat/conversations/projection.d.ts +20 -1
- package/dist/chat/pi/transcript.d.ts +2 -0
- package/dist/chat/services/context-budget.d.ts +7 -2
- package/dist/chat/services/context-compaction.d.ts +28 -1
- package/dist/chat/services/conversation-memory.d.ts +1 -0
- package/dist/chat/services/provider-error.d.ts +40 -0
- package/dist/chat/services/provider-retry.d.ts +3 -6
- package/dist/chat/services/turn-router.d.ts +1 -0
- package/dist/chat/task-execution/state.d.ts +2 -2
- package/dist/chat/task-execution/store.d.ts +1 -1
- package/dist/chat/tools/sandbox/edit-file.d.ts +1 -1
- package/dist/chat/tools/sandbox/text-edits.d.ts +1 -0
- package/dist/{chunk-CSS7JHEM.js → chunk-4FUEG3QY.js} +1 -1
- package/dist/{chunk-AU2JVUDF.js → chunk-5CZ7RETL.js} +1 -1
- package/dist/{chunk-SKEMI4IF.js → chunk-6QWPVTMO.js} +200 -52
- package/dist/{chunk-AWNDKI5K.js → chunk-ABPSDO6M.js} +20 -15
- package/dist/{chunk-QIALGHRN.js → chunk-FIGAF6KL.js} +34 -2
- package/dist/{chunk-TZU3R5OC.js → chunk-K2W4CK7K.js} +1 -1
- package/dist/{chunk-2FJ6WEYV.js → chunk-O4GT7LYB.js} +1 -1
- package/dist/{chunk-ZHP4KNF7.js → chunk-OSKEC4XU.js} +1 -1
- package/dist/{chunk-IV2O4HQJ.js → chunk-PM3PX42K.js} +1 -1
- package/dist/{chunk-NDQL4ESR.js → chunk-RD7EJI7H.js} +2 -2
- package/dist/{chunk-JE23YR3X.js → chunk-S4QDH23A.js} +75 -43
- package/dist/{chunk-GJG67YFS.js → chunk-TLGM5X2M.js} +2 -2
- package/dist/{chunk-VBSVNOLA.js → chunk-VNNBSKCO.js} +5 -5
- package/dist/{chunk-4EJO4HIC.js → chunk-W6RDUAO3.js} +1 -1
- package/dist/{chunk-GR4IB6OQ.js → chunk-WV4UJBAS.js} +431 -96
- package/dist/{chunk-66IP6WED.js → chunk-XLFBQJUO.js} +4 -4
- package/dist/{chunk-X3SP5RDW.js → chunk-YU6PO42Q.js} +1 -1
- package/dist/{chunk-PK4ETCUQ.js → chunk-ZGXH3REA.js} +226 -215
- package/dist/cli/chat.js +19 -19
- package/dist/cli/check.js +6 -6
- package/dist/cli/plugins.js +11 -11
- package/dist/cli/snapshot-warmup.js +8 -8
- package/dist/cli/upgrade.js +5 -5
- package/dist/{db-P5H5RVQV.js → db-4VLP7KBF.js} +5 -5
- package/dist/instrumentation.js +2 -2
- package/dist/nitro.js +2 -2
- package/dist/{runner-B4ZDUO3R.js → runner-IPXLWQOF.js} +12 -13
- package/dist/{skills-GWTOZ3XV.js → skills-QCNZISNF.js} +6 -6
- package/dist/{validation-QFIC6XH6.js → validation-I2BW3UHD.js} +6 -6
- package/dist/version.js +1 -1
- package/package.json +6 -6
|
@@ -35,6 +35,13 @@ export declare const conversationUsageSchema: z.ZodObject<{
|
|
|
35
35
|
export declare const conversationParamsSchema: z.ZodObject<{
|
|
36
36
|
conversationId: z.ZodString;
|
|
37
37
|
}, z.core.$strict>;
|
|
38
|
+
export declare const conversationDetailQuerySchema: z.ZodObject<{
|
|
39
|
+
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
40
|
+
}, z.core.$strict>;
|
|
41
|
+
export declare const conversationEventsQuerySchema: z.ZodObject<{
|
|
42
|
+
before: z.ZodString;
|
|
43
|
+
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
44
|
+
}, z.core.$strict>;
|
|
38
45
|
export declare const conversationFeedQuerySchema: z.ZodObject<{
|
|
39
46
|
actorEmail: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
40
47
|
}, z.core.$strict>;
|
|
@@ -114,25 +121,21 @@ export declare const conversationReportEventDataSchema: z.ZodDiscriminatedUnion<
|
|
|
114
121
|
}, z.core.$strict>, z.ZodObject<{
|
|
115
122
|
type: z.ZodLiteral<"message_handled">;
|
|
116
123
|
messageId: z.ZodString;
|
|
117
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
118
|
-
type: z.ZodLiteral<"tool_started">;
|
|
119
|
-
toolCallId: z.ZodString;
|
|
120
|
-
name: z.ZodString;
|
|
121
124
|
}, z.core.$strict>, z.ZodObject<{
|
|
122
125
|
type: z.ZodLiteral<"tool_calls">;
|
|
123
126
|
calls: z.ZodArray<z.ZodObject<{
|
|
124
127
|
toolCallId: z.ZodString;
|
|
125
128
|
name: z.ZodString;
|
|
129
|
+
status: z.ZodEnum<{
|
|
130
|
+
error: "error";
|
|
131
|
+
running: "running";
|
|
132
|
+
completed: "completed";
|
|
133
|
+
}>;
|
|
134
|
+
startedAt: z.ZodOptional<z.ZodString>;
|
|
135
|
+
startedSeq: z.ZodOptional<z.ZodNumber>;
|
|
126
136
|
input: z.ZodOptional<z.ZodUnknown>;
|
|
137
|
+
output: z.ZodOptional<z.ZodUnknown>;
|
|
127
138
|
}, z.core.$strict>>;
|
|
128
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
129
|
-
type: z.ZodLiteral<"tool_result">;
|
|
130
|
-
toolCallId: z.ZodString;
|
|
131
|
-
outcome: z.ZodEnum<{
|
|
132
|
-
error: "error";
|
|
133
|
-
completed: "completed";
|
|
134
|
-
}>;
|
|
135
|
-
output: z.ZodOptional<z.ZodUnknown>;
|
|
136
139
|
}, z.core.$strict>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
137
140
|
type: z.ZodLiteral<"turn_lifecycle">;
|
|
138
141
|
turnId: z.ZodString;
|
|
@@ -150,7 +153,31 @@ export declare const conversationReportEventDataSchema: z.ZodDiscriminatedUnion<
|
|
|
150
153
|
agent: "agent";
|
|
151
154
|
}>;
|
|
152
155
|
}, z.core.$strict>], "state">, z.ZodObject<{
|
|
156
|
+
type: z.ZodLiteral<"turn_routed">;
|
|
157
|
+
turnId: z.ZodString;
|
|
158
|
+
modelProfile: z.ZodString;
|
|
159
|
+
modelId: z.ZodString;
|
|
160
|
+
reasoningLevel: z.ZodString;
|
|
161
|
+
confidence: z.ZodOptional<z.ZodNumber>;
|
|
162
|
+
source: z.ZodEnum<{
|
|
163
|
+
configured: "configured";
|
|
164
|
+
inherited: "inherited";
|
|
165
|
+
router: "router";
|
|
166
|
+
}>;
|
|
167
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
153
168
|
type: z.ZodLiteral<"compaction">;
|
|
169
|
+
modelProfile: z.ZodOptional<z.ZodString>;
|
|
170
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
171
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
172
|
+
reason: z.ZodLiteral<"capacity">;
|
|
173
|
+
estimatedInputTokens: z.ZodNumber;
|
|
174
|
+
replacementInputTokens: z.ZodOptional<z.ZodNumber>;
|
|
175
|
+
triggerTokens: z.ZodNumber;
|
|
176
|
+
inputLimitTokens: z.ZodNumber;
|
|
177
|
+
inputMessageCount: z.ZodNumber;
|
|
178
|
+
retainedMessageCount: z.ZodNumber;
|
|
179
|
+
summaryChars: z.ZodNumber;
|
|
180
|
+
}, z.core.$strict>>;
|
|
154
181
|
}, z.core.$strict>, z.ZodObject<{
|
|
155
182
|
type: z.ZodLiteral<"handoff">;
|
|
156
183
|
modelProfile: z.ZodString;
|
|
@@ -158,17 +185,17 @@ export declare const conversationReportEventDataSchema: z.ZodDiscriminatedUnion<
|
|
|
158
185
|
reasoningLevel: z.ZodOptional<z.ZodString>;
|
|
159
186
|
triggeringToolCallId: z.ZodOptional<z.ZodString>;
|
|
160
187
|
}, z.core.$strict>, z.ZodObject<{
|
|
161
|
-
type: z.ZodLiteral<"
|
|
188
|
+
type: z.ZodLiteral<"subagent">;
|
|
189
|
+
startedSeq: z.ZodNumber;
|
|
190
|
+
startedAt: z.ZodString;
|
|
162
191
|
childConversationId: z.ZodString;
|
|
163
192
|
subagentKind: z.ZodString;
|
|
164
193
|
parentToolCallId: z.ZodOptional<z.ZodString>;
|
|
165
|
-
|
|
166
|
-
type: z.ZodLiteral<"subagent_ended">;
|
|
167
|
-
startedSeq: z.ZodNumber;
|
|
168
|
-
outcome: z.ZodEnum<{
|
|
194
|
+
status: z.ZodEnum<{
|
|
169
195
|
error: "error";
|
|
170
|
-
success: "success";
|
|
171
196
|
aborted: "aborted";
|
|
197
|
+
running: "running";
|
|
198
|
+
completed: "completed";
|
|
172
199
|
}>;
|
|
173
200
|
}, z.core.$strict>], "type">;
|
|
174
201
|
/** One ordered, privacy-safe canonical event projected for API consumers. */
|
|
@@ -189,25 +216,21 @@ export declare const conversationReportEventSchema: z.ZodObject<{
|
|
|
189
216
|
}, z.core.$strict>, z.ZodObject<{
|
|
190
217
|
type: z.ZodLiteral<"message_handled">;
|
|
191
218
|
messageId: z.ZodString;
|
|
192
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
193
|
-
type: z.ZodLiteral<"tool_started">;
|
|
194
|
-
toolCallId: z.ZodString;
|
|
195
|
-
name: z.ZodString;
|
|
196
219
|
}, z.core.$strict>, z.ZodObject<{
|
|
197
220
|
type: z.ZodLiteral<"tool_calls">;
|
|
198
221
|
calls: z.ZodArray<z.ZodObject<{
|
|
199
222
|
toolCallId: z.ZodString;
|
|
200
223
|
name: z.ZodString;
|
|
224
|
+
status: z.ZodEnum<{
|
|
225
|
+
error: "error";
|
|
226
|
+
running: "running";
|
|
227
|
+
completed: "completed";
|
|
228
|
+
}>;
|
|
229
|
+
startedAt: z.ZodOptional<z.ZodString>;
|
|
230
|
+
startedSeq: z.ZodOptional<z.ZodNumber>;
|
|
201
231
|
input: z.ZodOptional<z.ZodUnknown>;
|
|
232
|
+
output: z.ZodOptional<z.ZodUnknown>;
|
|
202
233
|
}, z.core.$strict>>;
|
|
203
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
204
|
-
type: z.ZodLiteral<"tool_result">;
|
|
205
|
-
toolCallId: z.ZodString;
|
|
206
|
-
outcome: z.ZodEnum<{
|
|
207
|
-
error: "error";
|
|
208
|
-
completed: "completed";
|
|
209
|
-
}>;
|
|
210
|
-
output: z.ZodOptional<z.ZodUnknown>;
|
|
211
234
|
}, z.core.$strict>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
212
235
|
type: z.ZodLiteral<"turn_lifecycle">;
|
|
213
236
|
turnId: z.ZodString;
|
|
@@ -225,7 +248,31 @@ export declare const conversationReportEventSchema: z.ZodObject<{
|
|
|
225
248
|
agent: "agent";
|
|
226
249
|
}>;
|
|
227
250
|
}, z.core.$strict>], "state">, z.ZodObject<{
|
|
251
|
+
type: z.ZodLiteral<"turn_routed">;
|
|
252
|
+
turnId: z.ZodString;
|
|
253
|
+
modelProfile: z.ZodString;
|
|
254
|
+
modelId: z.ZodString;
|
|
255
|
+
reasoningLevel: z.ZodString;
|
|
256
|
+
confidence: z.ZodOptional<z.ZodNumber>;
|
|
257
|
+
source: z.ZodEnum<{
|
|
258
|
+
configured: "configured";
|
|
259
|
+
inherited: "inherited";
|
|
260
|
+
router: "router";
|
|
261
|
+
}>;
|
|
262
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
228
263
|
type: z.ZodLiteral<"compaction">;
|
|
264
|
+
modelProfile: z.ZodOptional<z.ZodString>;
|
|
265
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
266
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
267
|
+
reason: z.ZodLiteral<"capacity">;
|
|
268
|
+
estimatedInputTokens: z.ZodNumber;
|
|
269
|
+
replacementInputTokens: z.ZodOptional<z.ZodNumber>;
|
|
270
|
+
triggerTokens: z.ZodNumber;
|
|
271
|
+
inputLimitTokens: z.ZodNumber;
|
|
272
|
+
inputMessageCount: z.ZodNumber;
|
|
273
|
+
retainedMessageCount: z.ZodNumber;
|
|
274
|
+
summaryChars: z.ZodNumber;
|
|
275
|
+
}, z.core.$strict>>;
|
|
229
276
|
}, z.core.$strict>, z.ZodObject<{
|
|
230
277
|
type: z.ZodLiteral<"handoff">;
|
|
231
278
|
modelProfile: z.ZodString;
|
|
@@ -233,17 +280,17 @@ export declare const conversationReportEventSchema: z.ZodObject<{
|
|
|
233
280
|
reasoningLevel: z.ZodOptional<z.ZodString>;
|
|
234
281
|
triggeringToolCallId: z.ZodOptional<z.ZodString>;
|
|
235
282
|
}, z.core.$strict>, z.ZodObject<{
|
|
236
|
-
type: z.ZodLiteral<"
|
|
283
|
+
type: z.ZodLiteral<"subagent">;
|
|
284
|
+
startedSeq: z.ZodNumber;
|
|
285
|
+
startedAt: z.ZodString;
|
|
237
286
|
childConversationId: z.ZodString;
|
|
238
287
|
subagentKind: z.ZodString;
|
|
239
288
|
parentToolCallId: z.ZodOptional<z.ZodString>;
|
|
240
|
-
|
|
241
|
-
type: z.ZodLiteral<"subagent_ended">;
|
|
242
|
-
startedSeq: z.ZodNumber;
|
|
243
|
-
outcome: z.ZodEnum<{
|
|
289
|
+
status: z.ZodEnum<{
|
|
244
290
|
error: "error";
|
|
245
|
-
success: "success";
|
|
246
291
|
aborted: "aborted";
|
|
292
|
+
running: "running";
|
|
293
|
+
completed: "completed";
|
|
247
294
|
}>;
|
|
248
295
|
}, z.core.$strict>], "type">;
|
|
249
296
|
}, z.core.$strict>;
|
|
@@ -357,25 +404,130 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
357
404
|
}, z.core.$strict>, z.ZodObject<{
|
|
358
405
|
type: z.ZodLiteral<"message_handled">;
|
|
359
406
|
messageId: z.ZodString;
|
|
360
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
361
|
-
type: z.ZodLiteral<"tool_started">;
|
|
362
|
-
toolCallId: z.ZodString;
|
|
363
|
-
name: z.ZodString;
|
|
364
407
|
}, z.core.$strict>, z.ZodObject<{
|
|
365
408
|
type: z.ZodLiteral<"tool_calls">;
|
|
366
409
|
calls: z.ZodArray<z.ZodObject<{
|
|
367
410
|
toolCallId: z.ZodString;
|
|
368
411
|
name: z.ZodString;
|
|
412
|
+
status: z.ZodEnum<{
|
|
413
|
+
error: "error";
|
|
414
|
+
running: "running";
|
|
415
|
+
completed: "completed";
|
|
416
|
+
}>;
|
|
417
|
+
startedAt: z.ZodOptional<z.ZodString>;
|
|
418
|
+
startedSeq: z.ZodOptional<z.ZodNumber>;
|
|
369
419
|
input: z.ZodOptional<z.ZodUnknown>;
|
|
420
|
+
output: z.ZodOptional<z.ZodUnknown>;
|
|
370
421
|
}, z.core.$strict>>;
|
|
422
|
+
}, z.core.$strict>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
423
|
+
type: z.ZodLiteral<"turn_lifecycle">;
|
|
424
|
+
turnId: z.ZodString;
|
|
425
|
+
state: z.ZodEnum<{
|
|
426
|
+
no_reply: "no_reply";
|
|
427
|
+
started: "started";
|
|
428
|
+
succeeded: "succeeded";
|
|
429
|
+
}>;
|
|
371
430
|
}, z.core.$strict>, z.ZodObject<{
|
|
372
|
-
type: z.ZodLiteral<"
|
|
373
|
-
|
|
374
|
-
|
|
431
|
+
type: z.ZodLiteral<"turn_lifecycle">;
|
|
432
|
+
turnId: z.ZodString;
|
|
433
|
+
state: z.ZodLiteral<"failed">;
|
|
434
|
+
failureKind: z.ZodEnum<{
|
|
435
|
+
delivery: "delivery";
|
|
436
|
+
agent: "agent";
|
|
437
|
+
}>;
|
|
438
|
+
}, z.core.$strict>], "state">, z.ZodObject<{
|
|
439
|
+
type: z.ZodLiteral<"turn_routed">;
|
|
440
|
+
turnId: z.ZodString;
|
|
441
|
+
modelProfile: z.ZodString;
|
|
442
|
+
modelId: z.ZodString;
|
|
443
|
+
reasoningLevel: z.ZodString;
|
|
444
|
+
confidence: z.ZodOptional<z.ZodNumber>;
|
|
445
|
+
source: z.ZodEnum<{
|
|
446
|
+
configured: "configured";
|
|
447
|
+
inherited: "inherited";
|
|
448
|
+
router: "router";
|
|
449
|
+
}>;
|
|
450
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
451
|
+
type: z.ZodLiteral<"compaction">;
|
|
452
|
+
modelProfile: z.ZodOptional<z.ZodString>;
|
|
453
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
454
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
455
|
+
reason: z.ZodLiteral<"capacity">;
|
|
456
|
+
estimatedInputTokens: z.ZodNumber;
|
|
457
|
+
replacementInputTokens: z.ZodOptional<z.ZodNumber>;
|
|
458
|
+
triggerTokens: z.ZodNumber;
|
|
459
|
+
inputLimitTokens: z.ZodNumber;
|
|
460
|
+
inputMessageCount: z.ZodNumber;
|
|
461
|
+
retainedMessageCount: z.ZodNumber;
|
|
462
|
+
summaryChars: z.ZodNumber;
|
|
463
|
+
}, z.core.$strict>>;
|
|
464
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
465
|
+
type: z.ZodLiteral<"handoff">;
|
|
466
|
+
modelProfile: z.ZodString;
|
|
467
|
+
modelId: z.ZodString;
|
|
468
|
+
reasoningLevel: z.ZodOptional<z.ZodString>;
|
|
469
|
+
triggeringToolCallId: z.ZodOptional<z.ZodString>;
|
|
470
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
471
|
+
type: z.ZodLiteral<"subagent">;
|
|
472
|
+
startedSeq: z.ZodNumber;
|
|
473
|
+
startedAt: z.ZodString;
|
|
474
|
+
childConversationId: z.ZodString;
|
|
475
|
+
subagentKind: z.ZodString;
|
|
476
|
+
parentToolCallId: z.ZodOptional<z.ZodString>;
|
|
477
|
+
status: z.ZodEnum<{
|
|
375
478
|
error: "error";
|
|
479
|
+
aborted: "aborted";
|
|
480
|
+
running: "running";
|
|
376
481
|
completed: "completed";
|
|
377
482
|
}>;
|
|
378
|
-
|
|
483
|
+
}, z.core.$strict>], "type">;
|
|
484
|
+
}, z.core.$strict>>;
|
|
485
|
+
eventHistory: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
486
|
+
status: z.ZodLiteral<"available">;
|
|
487
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
488
|
+
status: z.ZodLiteral<"redacted">;
|
|
489
|
+
reason: z.ZodLiteral<"non_public_conversation">;
|
|
490
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
491
|
+
status: z.ZodLiteral<"expired">;
|
|
492
|
+
expiredAt: z.ZodString;
|
|
493
|
+
}, z.core.$strict>], "status">;
|
|
494
|
+
previousCursor: z.ZodOptional<z.ZodString>;
|
|
495
|
+
generatedAt: z.ZodString;
|
|
496
|
+
sentryConversationUrl: z.ZodOptional<z.ZodString>;
|
|
497
|
+
}, z.core.$strict>;
|
|
498
|
+
export declare const conversationEventPageSchema: z.ZodObject<{
|
|
499
|
+
events: z.ZodArray<z.ZodObject<{
|
|
500
|
+
seq: z.ZodNumber;
|
|
501
|
+
createdAt: z.ZodString;
|
|
502
|
+
data: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
503
|
+
type: z.ZodLiteral<"message">;
|
|
504
|
+
messageId: z.ZodString;
|
|
505
|
+
role: z.ZodEnum<{
|
|
506
|
+
system: "system";
|
|
507
|
+
user: "user";
|
|
508
|
+
assistant: "assistant";
|
|
509
|
+
}>;
|
|
510
|
+
eventType: z.ZodOptional<z.ZodString>;
|
|
511
|
+
text: z.ZodOptional<z.ZodString>;
|
|
512
|
+
redacted: z.ZodOptional<z.ZodLiteral<true>>;
|
|
513
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
514
|
+
type: z.ZodLiteral<"message_handled">;
|
|
515
|
+
messageId: z.ZodString;
|
|
516
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
517
|
+
type: z.ZodLiteral<"tool_calls">;
|
|
518
|
+
calls: z.ZodArray<z.ZodObject<{
|
|
519
|
+
toolCallId: z.ZodString;
|
|
520
|
+
name: z.ZodString;
|
|
521
|
+
status: z.ZodEnum<{
|
|
522
|
+
error: "error";
|
|
523
|
+
running: "running";
|
|
524
|
+
completed: "completed";
|
|
525
|
+
}>;
|
|
526
|
+
startedAt: z.ZodOptional<z.ZodString>;
|
|
527
|
+
startedSeq: z.ZodOptional<z.ZodNumber>;
|
|
528
|
+
input: z.ZodOptional<z.ZodUnknown>;
|
|
529
|
+
output: z.ZodOptional<z.ZodUnknown>;
|
|
530
|
+
}, z.core.$strict>>;
|
|
379
531
|
}, z.core.$strict>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
380
532
|
type: z.ZodLiteral<"turn_lifecycle">;
|
|
381
533
|
turnId: z.ZodString;
|
|
@@ -393,7 +545,31 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
393
545
|
agent: "agent";
|
|
394
546
|
}>;
|
|
395
547
|
}, z.core.$strict>], "state">, z.ZodObject<{
|
|
548
|
+
type: z.ZodLiteral<"turn_routed">;
|
|
549
|
+
turnId: z.ZodString;
|
|
550
|
+
modelProfile: z.ZodString;
|
|
551
|
+
modelId: z.ZodString;
|
|
552
|
+
reasoningLevel: z.ZodString;
|
|
553
|
+
confidence: z.ZodOptional<z.ZodNumber>;
|
|
554
|
+
source: z.ZodEnum<{
|
|
555
|
+
configured: "configured";
|
|
556
|
+
inherited: "inherited";
|
|
557
|
+
router: "router";
|
|
558
|
+
}>;
|
|
559
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
396
560
|
type: z.ZodLiteral<"compaction">;
|
|
561
|
+
modelProfile: z.ZodOptional<z.ZodString>;
|
|
562
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
563
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
564
|
+
reason: z.ZodLiteral<"capacity">;
|
|
565
|
+
estimatedInputTokens: z.ZodNumber;
|
|
566
|
+
replacementInputTokens: z.ZodOptional<z.ZodNumber>;
|
|
567
|
+
triggerTokens: z.ZodNumber;
|
|
568
|
+
inputLimitTokens: z.ZodNumber;
|
|
569
|
+
inputMessageCount: z.ZodNumber;
|
|
570
|
+
retainedMessageCount: z.ZodNumber;
|
|
571
|
+
summaryChars: z.ZodNumber;
|
|
572
|
+
}, z.core.$strict>>;
|
|
397
573
|
}, z.core.$strict>, z.ZodObject<{
|
|
398
574
|
type: z.ZodLiteral<"handoff">;
|
|
399
575
|
modelProfile: z.ZodString;
|
|
@@ -401,17 +577,17 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
401
577
|
reasoningLevel: z.ZodOptional<z.ZodString>;
|
|
402
578
|
triggeringToolCallId: z.ZodOptional<z.ZodString>;
|
|
403
579
|
}, z.core.$strict>, z.ZodObject<{
|
|
404
|
-
type: z.ZodLiteral<"
|
|
580
|
+
type: z.ZodLiteral<"subagent">;
|
|
581
|
+
startedSeq: z.ZodNumber;
|
|
582
|
+
startedAt: z.ZodString;
|
|
405
583
|
childConversationId: z.ZodString;
|
|
406
584
|
subagentKind: z.ZodString;
|
|
407
585
|
parentToolCallId: z.ZodOptional<z.ZodString>;
|
|
408
|
-
|
|
409
|
-
type: z.ZodLiteral<"subagent_ended">;
|
|
410
|
-
startedSeq: z.ZodNumber;
|
|
411
|
-
outcome: z.ZodEnum<{
|
|
586
|
+
status: z.ZodEnum<{
|
|
412
587
|
error: "error";
|
|
413
|
-
success: "success";
|
|
414
588
|
aborted: "aborted";
|
|
589
|
+
running: "running";
|
|
590
|
+
completed: "completed";
|
|
415
591
|
}>;
|
|
416
592
|
}, z.core.$strict>], "type">;
|
|
417
593
|
}, z.core.$strict>>;
|
|
@@ -424,8 +600,8 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
424
600
|
status: z.ZodLiteral<"expired">;
|
|
425
601
|
expiredAt: z.ZodString;
|
|
426
602
|
}, z.core.$strict>], "status">;
|
|
603
|
+
previousCursor: z.ZodOptional<z.ZodString>;
|
|
427
604
|
generatedAt: z.ZodString;
|
|
428
|
-
sentryConversationUrl: z.ZodOptional<z.ZodString>;
|
|
429
605
|
}, z.core.$strict>;
|
|
430
606
|
export declare const conversationFeedSchema: z.ZodObject<{
|
|
431
607
|
conversations: z.ZodArray<z.ZodObject<{
|
|
@@ -541,6 +717,7 @@ export type ConversationReportEventData = z.infer<typeof conversationReportEvent
|
|
|
541
717
|
export type ConversationReportEvent = z.infer<typeof conversationReportEventSchema>;
|
|
542
718
|
export type ConversationEventHistory = z.infer<typeof conversationEventHistorySchema>;
|
|
543
719
|
export type ConversationDetailReport = z.infer<typeof conversationDetailReportSchema>;
|
|
720
|
+
export type ConversationEventPage = z.infer<typeof conversationEventPageSchema>;
|
|
544
721
|
export type ConversationFeed = z.infer<typeof conversationFeedSchema>;
|
|
545
722
|
export type ConversationStatsItem = z.infer<typeof conversationStatsItemSchema>;
|
|
546
723
|
export type ConversationMetricDay = z.infer<typeof conversationMetricDaySchema>;
|
package/dist/api/schema.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { dailyConversationActivitySchema } from "./activity";
|
|
2
2
|
export type { DailyConversationActivity } from "./activity";
|
|
3
|
-
export { archiveConversationBodySchema, archiveConversationResponseSchema, conversationDetailReportSchema, conversationEventHistorySchema, conversationFeedQuerySchema, conversationFeedSchema, conversationParamsSchema, conversationReportEventDataSchema, conversationReportEventSchema, conversationStatsReportSchema, conversationSummaryReportSchema, } from "./schema/conversation";
|
|
4
|
-
export type { ArchiveConversationBody, ArchiveConversationResponse, ActorIdentity, ConversationCost, ConversationDetailReport, ConversationEventHistory, ConversationFeed, ConversationReportEvent, ConversationReportEventData, ConversationReportStatus, ConversationMetricDay, ConversationModelUsage, ConversationParams, ConversationStatsItem, ConversationStatsReport, ConversationSummaryReport, ConversationSurface, ConversationUsage, } from "./schema/conversation";
|
|
3
|
+
export { archiveConversationBodySchema, archiveConversationResponseSchema, conversationDetailQuerySchema, conversationDetailReportSchema, conversationEventPageSchema, conversationEventHistorySchema, conversationEventsQuerySchema, conversationFeedQuerySchema, conversationFeedSchema, conversationParamsSchema, conversationReportEventDataSchema, conversationReportEventSchema, conversationStatsReportSchema, conversationSummaryReportSchema, } from "./schema/conversation";
|
|
4
|
+
export type { ArchiveConversationBody, ArchiveConversationResponse, ActorIdentity, ConversationCost, ConversationDetailReport, ConversationEventPage, ConversationEventHistory, ConversationFeed, ConversationReportEvent, ConversationReportEventData, ConversationReportStatus, ConversationMetricDay, ConversationModelUsage, ConversationParams, ConversationStatsItem, ConversationStatsReport, ConversationSummaryReport, ConversationSurface, ConversationUsage, } from "./schema/conversation";
|
|
5
5
|
export { actorDirectoryReportSchema, actorProfileReportSchema, personParamsSchema, } from "./schema/person";
|
|
6
6
|
export { locationActivityDayReportSchema, locationDetailReportSchema, locationDirectoryReportSchema, locationParamsSchema, } from "./schema/location";
|
|
7
7
|
export type { LocationActorSummaryReport, LocationActivityDayReport, LocationDetailReport, LocationDirectoryReport, LocationSummaryReport, LocationParams, } from "./schema/location";
|
package/dist/api/schema.js
CHANGED
|
@@ -4,8 +4,11 @@ import {
|
|
|
4
4
|
apiErrorSchema,
|
|
5
5
|
archiveConversationBodySchema,
|
|
6
6
|
archiveConversationResponseSchema,
|
|
7
|
+
conversationDetailQuerySchema,
|
|
7
8
|
conversationDetailReportSchema,
|
|
8
9
|
conversationEventHistorySchema,
|
|
10
|
+
conversationEventPageSchema,
|
|
11
|
+
conversationEventsQuerySchema,
|
|
9
12
|
conversationFeedQuerySchema,
|
|
10
13
|
conversationFeedSchema,
|
|
11
14
|
conversationParamsSchema,
|
|
@@ -19,7 +22,7 @@ import {
|
|
|
19
22
|
locationDirectoryReportSchema,
|
|
20
23
|
locationParamsSchema,
|
|
21
24
|
personParamsSchema
|
|
22
|
-
} from "../chunk-
|
|
25
|
+
} from "../chunk-S4QDH23A.js";
|
|
23
26
|
import {
|
|
24
27
|
healthReportSchema,
|
|
25
28
|
pluginOperationalReportFeedSchema,
|
|
@@ -41,8 +44,11 @@ export {
|
|
|
41
44
|
apiErrorSchema,
|
|
42
45
|
archiveConversationBodySchema,
|
|
43
46
|
archiveConversationResponseSchema,
|
|
47
|
+
conversationDetailQuerySchema,
|
|
44
48
|
conversationDetailReportSchema,
|
|
45
49
|
conversationEventHistorySchema,
|
|
50
|
+
conversationEventPageSchema,
|
|
51
|
+
conversationEventsQuerySchema,
|
|
46
52
|
conversationFeedQuerySchema,
|
|
47
53
|
conversationFeedSchema,
|
|
48
54
|
conversationParamsSchema,
|