@sentry/junior 0.106.0 → 0.107.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-KR5BCWOK.js → agent-hooks-ICPIJAFY.js} +9 -7
- package/dist/api/conversations/detail.d.ts +1 -1
- package/dist/api/conversations/events.d.ts +14 -0
- package/dist/api/conversations/schema.d.ts +196 -463
- package/dist/api/schema.d.ts +2 -7
- package/dist/api/schema.js +10 -8
- package/dist/api.js +377 -810
- package/dist/app.js +3586 -3614
- package/dist/{catalog-runtime-5CVM2DOF.js → catalog-runtime-FOFNPR3P.js} +3 -2
- package/dist/chat/agent/prompt.d.ts +1 -1
- package/dist/chat/agent/request.d.ts +28 -29
- package/dist/chat/agent/resume.d.ts +7 -7
- package/dist/chat/agent/session.d.ts +5 -6
- package/dist/chat/agent/tools.d.ts +3 -3
- package/dist/chat/agent-dispatch/runner.d.ts +2 -0
- package/dist/chat/config.d.ts +2 -2
- package/dist/chat/conversations/history.d.ts +582 -167
- package/dist/chat/conversations/message-projection.d.ts +6 -0
- package/dist/chat/conversations/message-summaries.d.ts +9 -0
- package/dist/chat/conversations/messages.d.ts +13 -27
- package/dist/chat/conversations/projection.d.ts +30 -53
- package/dist/chat/conversations/provenance.d.ts +42 -0
- package/dist/chat/conversations/search.d.ts +2 -2
- package/dist/chat/conversations/sql/conversation-row.d.ts +1 -1
- package/dist/chat/conversations/sql/event-lock.d.ts +3 -0
- package/dist/chat/conversations/sql/history.d.ts +3 -3
- package/dist/chat/conversations/sql/privacy.d.ts +27 -0
- package/dist/chat/conversations/sql/purge.d.ts +2 -10
- package/dist/chat/conversations/sql/store.d.ts +0 -5
- package/dist/chat/conversations/store.d.ts +8 -13
- package/dist/chat/conversations/turn-lifecycle.d.ts +41 -0
- package/dist/chat/db.d.ts +4 -10
- package/dist/chat/model-profile.d.ts +10 -0
- package/dist/chat/oauth-flow.d.ts +0 -5
- package/dist/chat/pi/conversation-events.d.ts +33 -0
- package/dist/chat/pi/sql-model-usage.d.ts +10 -0
- package/dist/chat/plugins/agent-hooks.d.ts +4 -2
- package/dist/chat/resource-events/ingest.d.ts +0 -13
- package/dist/chat/runtime/delivered-turn-state.d.ts +1 -1
- package/dist/chat/runtime/generated-artifacts.d.ts +1 -1
- package/dist/chat/runtime/reply-executor.d.ts +2 -0
- package/dist/chat/runtime/slack-resume.d.ts +23 -28
- package/dist/chat/runtime/slack-runtime.d.ts +2 -0
- package/dist/chat/runtime/turn.d.ts +14 -1
- package/dist/chat/services/context-compaction-marker.d.ts +0 -1
- package/dist/chat/services/context-compaction.d.ts +1 -0
- package/dist/chat/services/conversation-memory.d.ts +9 -0
- package/dist/chat/services/plugin-auth-orchestration.d.ts +1 -4
- package/dist/chat/services/subscribed-decision.d.ts +1 -1
- package/dist/chat/services/turn-failure-response.d.ts +10 -3
- package/dist/chat/services/turn-result.d.ts +7 -12
- package/dist/chat/services/{turn-reasoning-level.d.ts → turn-router.d.ts} +12 -8
- package/dist/chat/services/turn-session-record.d.ts +15 -16
- package/dist/chat/slack/adapter.d.ts +2 -2
- package/dist/chat/slack/errors.d.ts +2 -0
- package/dist/chat/slack/outbound.d.ts +0 -1
- package/dist/chat/slack/reply.d.ts +2 -8
- package/dist/chat/slack/tools/channel-capabilities.d.ts +2 -2
- package/dist/chat/slack/tools/{send-message.d.ts → send-files.d.ts} +27 -19
- package/dist/chat/state/conversation.d.ts +4 -4
- package/dist/chat/state/turn-id.d.ts +2 -0
- package/dist/chat/state/turn-session-keys.d.ts +6 -0
- package/dist/chat/state/turn-session.d.ts +11 -9
- package/dist/chat/task-execution/state.d.ts +6 -1
- package/dist/chat/task-execution/store.d.ts +1 -1
- package/dist/chat/tool-support/pi-tool-adapter.d.ts +1 -1
- package/dist/chat/tool-support/tool-execution-report.d.ts +1 -0
- package/dist/chat/tools/handoff/tool.d.ts +2 -2
- package/dist/chat/tools/sandbox/file-uploads.d.ts +28 -6
- package/dist/chat/tools/types.d.ts +6 -9
- package/dist/chat/tools/web/image-generate.d.ts +4 -6
- package/dist/{chunk-DDRQ4U7I.js → chunk-4YF7Z6IA.js} +390 -270
- package/dist/{chunk-AZ5OMSN5.js → chunk-AUUOHQAT.js} +2 -2
- package/dist/chunk-B2Z2H66D.js +250 -0
- package/dist/{chunk-4W4O4DCV.js → chunk-CQ7KSO2B.js} +75 -45
- package/dist/{chunk-MJSJAHBW.js → chunk-DY7TRYB5.js} +1 -1
- package/dist/{chunk-GPPUTY5M.js → chunk-EDLNHZH3.js} +861 -891
- package/dist/{chunk-R5BFYK2O.js → chunk-IGHMVDWI.js} +134 -18
- package/dist/chunk-MU6HHZEN.js +99 -0
- package/dist/{chunk-XTKJPSMF.js → chunk-NVOTGWYX.js} +458 -684
- package/dist/{chunk-AEWZ7F65.js → chunk-O24R4DCK.js} +2 -179
- package/dist/{chunk-CCFROYAV.js → chunk-PUAMO4PI.js} +115 -125
- package/dist/{chunk-ZMRLBBD5.js → chunk-RMVOAJRL.js} +30 -13
- package/dist/{chunk-3NYUCBLE.js → chunk-SPUAJVVH.js} +6 -4
- package/dist/{chunk-4UYIRWDW.js → chunk-SS67LUOK.js} +41 -290
- package/dist/{chunk-FXFQNHRU.js → chunk-VFUK3X5B.js} +4 -2
- package/dist/{chunk-3MPPVPGZ.js → chunk-VH6KWKG2.js} +2 -2
- package/dist/chunk-VIXFG2VC.js +182 -0
- package/dist/{chunk-BKM4UXUD.js → chunk-YFQ7CQDE.js} +669 -18
- package/dist/{chunk-77LHNQK4.js → chunk-YIPD3L6L.js} +4 -2
- package/dist/{chunk-3OUSJPR7.js → chunk-YNP2ATQX.js} +6 -4
- package/dist/{chunk-WR7H7VLJ.js → chunk-YT72TOEK.js} +2 -2
- package/dist/cli/chat.js +21 -20
- package/dist/cli/check.js +4 -3
- package/dist/cli/plugins.js +11 -9
- package/dist/cli/snapshot-warmup.js +7 -5
- package/dist/cli/upgrade.js +2046 -105
- package/dist/db/schema/{agent-steps.d.ts → conversation-events.d.ts} +37 -21
- package/dist/db/schema.d.ts +28 -159
- package/dist/{db-S33LFWG2.js → db-DIGO4TGW.js} +6 -8
- package/dist/{runner-HA5XAL6K.js → runner-ACR2HAIC.js} +209 -101
- package/dist/{skills-722AXRV5.js → skills-ITNHBARB.js} +4 -3
- package/dist/{validation-EUI2UFRM.js → validation-AGQ46ZGV.js} +4 -3
- package/migrations/0005_conversation_events.sql +122 -0
- package/migrations/README.md +23 -10
- package/migrations/meta/0005_snapshot.json +948 -0
- package/migrations/meta/_journal.json +7 -0
- package/package.json +5 -5
- package/dist/api/conversations/activity.d.ts +0 -40
- package/dist/api/conversations/detail-projection.d.ts +0 -11
- package/dist/api/conversations/detail.query.d.ts +0 -3
- package/dist/api/conversations/subagent.d.ts +0 -10
- package/dist/api/conversations/transcript.d.ts +0 -28
- package/dist/chat/conversations/legacy-advisor-session.d.ts +0 -7
- package/dist/chat/conversations/legacy-import.d.ts +0 -38
- package/dist/chat/conversations/sql/legacy-history-import.d.ts +0 -55
- package/dist/chat/conversations/sql/messages.d.ts +0 -4
- package/dist/chat/conversations/visible-compactions.d.ts +0 -11
- package/dist/chat/conversations/visible-messages.d.ts +0 -47
- package/dist/chat/services/reply-delivery-plan.d.ts +0 -5
- package/dist/chat/state/session-log.d.ts +0 -384
- package/dist/chunk-P4P7O5WG.js +0 -1072
- package/dist/chunk-XIMUQ4IU.js +0 -147
- package/dist/db/schema/conversation-messages.d.ts +0 -153
- package/dist/handlers/github-webhook/check-suite.d.ts +0 -3
- package/dist/handlers/github-webhook/issue-comment.d.ts +0 -3
- package/dist/handlers/github-webhook/pull-request-review-comment.d.ts +0 -3
- package/dist/handlers/github-webhook/pull-request-review.d.ts +0 -3
- package/dist/handlers/github-webhook/pull-request.d.ts +0 -3
- package/dist/handlers/github-webhook/resource.d.ts +0 -10
- package/dist/handlers/github-webhook.d.ts +0 -15
- package/dist/legacy-import-TMJISRKO.js +0 -18
|
@@ -85,240 +85,142 @@ export declare const conversationSummaryReportSchema: z.ZodObject<{
|
|
|
85
85
|
sentryTraceUrl: z.ZodOptional<z.ZodString>;
|
|
86
86
|
traceId: z.ZodOptional<z.ZodString>;
|
|
87
87
|
}, z.core.$strict>;
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
thinking: "thinking";
|
|
93
|
-
tool_result: "tool_result";
|
|
94
|
-
}>;
|
|
95
|
-
export declare const transcriptPartSchema: z.ZodObject<{
|
|
96
|
-
bytes: z.ZodOptional<z.ZodNumber>;
|
|
97
|
-
chars: z.ZodOptional<z.ZodNumber>;
|
|
98
|
-
id: z.ZodOptional<z.ZodString>;
|
|
99
|
-
input: z.ZodOptional<z.ZodUnknown>;
|
|
100
|
-
inputKeys: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
101
|
-
inputSizeBytes: z.ZodOptional<z.ZodNumber>;
|
|
102
|
-
inputSizeChars: z.ZodOptional<z.ZodNumber>;
|
|
103
|
-
inputType: z.ZodOptional<z.ZodString>;
|
|
104
|
-
name: z.ZodOptional<z.ZodString>;
|
|
105
|
-
output: z.ZodOptional<z.ZodUnknown>;
|
|
106
|
-
outputKeys: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
107
|
-
outputSizeBytes: z.ZodOptional<z.ZodNumber>;
|
|
108
|
-
outputSizeChars: z.ZodOptional<z.ZodNumber>;
|
|
109
|
-
outputType: z.ZodOptional<z.ZodString>;
|
|
110
|
-
redacted: z.ZodOptional<z.ZodBoolean>;
|
|
111
|
-
sourceType: z.ZodOptional<z.ZodString>;
|
|
112
|
-
text: z.ZodOptional<z.ZodString>;
|
|
113
|
-
type: z.ZodEnum<{
|
|
114
|
-
tool_call: "tool_call";
|
|
115
|
-
text: "text";
|
|
116
|
-
unknown: "unknown";
|
|
117
|
-
thinking: "thinking";
|
|
118
|
-
tool_result: "tool_result";
|
|
119
|
-
}>;
|
|
120
|
-
}, z.core.$strict>;
|
|
121
|
-
export declare const transcriptRoleSchema: z.ZodEnum<{
|
|
122
|
-
system: "system";
|
|
123
|
-
user: "user";
|
|
124
|
-
unknown: "unknown";
|
|
125
|
-
assistant: "assistant";
|
|
126
|
-
toolResult: "toolResult";
|
|
127
|
-
tool: "tool";
|
|
128
|
-
}>;
|
|
129
|
-
export declare const transcriptMessageSchema: z.ZodObject<{
|
|
130
|
-
outcome: z.ZodOptional<z.ZodEnum<{
|
|
131
|
-
error: "error";
|
|
132
|
-
aborted: "aborted";
|
|
133
|
-
}>>;
|
|
134
|
-
parts: z.ZodArray<z.ZodObject<{
|
|
135
|
-
bytes: z.ZodOptional<z.ZodNumber>;
|
|
136
|
-
chars: z.ZodOptional<z.ZodNumber>;
|
|
137
|
-
id: z.ZodOptional<z.ZodString>;
|
|
138
|
-
input: z.ZodOptional<z.ZodUnknown>;
|
|
139
|
-
inputKeys: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
140
|
-
inputSizeBytes: z.ZodOptional<z.ZodNumber>;
|
|
141
|
-
inputSizeChars: z.ZodOptional<z.ZodNumber>;
|
|
142
|
-
inputType: z.ZodOptional<z.ZodString>;
|
|
143
|
-
name: z.ZodOptional<z.ZodString>;
|
|
144
|
-
output: z.ZodOptional<z.ZodUnknown>;
|
|
145
|
-
outputKeys: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
146
|
-
outputSizeBytes: z.ZodOptional<z.ZodNumber>;
|
|
147
|
-
outputSizeChars: z.ZodOptional<z.ZodNumber>;
|
|
148
|
-
outputType: z.ZodOptional<z.ZodString>;
|
|
149
|
-
redacted: z.ZodOptional<z.ZodBoolean>;
|
|
150
|
-
sourceType: z.ZodOptional<z.ZodString>;
|
|
151
|
-
text: z.ZodOptional<z.ZodString>;
|
|
152
|
-
type: z.ZodEnum<{
|
|
153
|
-
tool_call: "tool_call";
|
|
154
|
-
text: "text";
|
|
155
|
-
unknown: "unknown";
|
|
156
|
-
thinking: "thinking";
|
|
157
|
-
tool_result: "tool_result";
|
|
158
|
-
}>;
|
|
159
|
-
}, z.core.$strict>>;
|
|
88
|
+
/** Privacy-safe event variants owned by the conversation reporting API. */
|
|
89
|
+
export declare const conversationReportEventDataSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
90
|
+
type: z.ZodLiteral<"message">;
|
|
91
|
+
messageId: z.ZodString;
|
|
160
92
|
role: z.ZodEnum<{
|
|
161
93
|
system: "system";
|
|
162
94
|
user: "user";
|
|
163
|
-
unknown: "unknown";
|
|
164
95
|
assistant: "assistant";
|
|
165
|
-
toolResult: "toolResult";
|
|
166
|
-
tool: "tool";
|
|
167
96
|
}>;
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
outcome: z.ZodOptional<z.ZodEnum<{
|
|
184
|
-
error: "error";
|
|
185
|
-
aborted: "aborted";
|
|
186
|
-
success: "success";
|
|
187
|
-
}>>;
|
|
188
|
-
parentToolCallId: z.ZodOptional<z.ZodString>;
|
|
189
|
-
reasoningLevel: z.ZodOptional<z.ZodString>;
|
|
190
|
-
status: z.ZodEnum<{
|
|
191
|
-
error: "error";
|
|
192
|
-
aborted: "aborted";
|
|
193
|
-
success: "success";
|
|
194
|
-
running: "running";
|
|
195
|
-
completed: "completed";
|
|
97
|
+
text: z.ZodOptional<z.ZodString>;
|
|
98
|
+
redacted: z.ZodOptional<z.ZodLiteral<true>>;
|
|
99
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
100
|
+
type: z.ZodLiteral<"message_handled">;
|
|
101
|
+
messageId: z.ZodString;
|
|
102
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
103
|
+
type: z.ZodLiteral<"tool_started">;
|
|
104
|
+
name: z.ZodString;
|
|
105
|
+
}, z.core.$strict>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
106
|
+
type: z.ZodLiteral<"turn_lifecycle">;
|
|
107
|
+
turnId: z.ZodString;
|
|
108
|
+
state: z.ZodEnum<{
|
|
109
|
+
no_reply: "no_reply";
|
|
110
|
+
started: "started";
|
|
111
|
+
succeeded: "succeeded";
|
|
196
112
|
}>;
|
|
113
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
114
|
+
type: z.ZodLiteral<"turn_lifecycle">;
|
|
115
|
+
turnId: z.ZodString;
|
|
116
|
+
state: z.ZodLiteral<"failed">;
|
|
117
|
+
failureKind: z.ZodEnum<{
|
|
118
|
+
delivery: "delivery";
|
|
119
|
+
agent: "agent";
|
|
120
|
+
}>;
|
|
121
|
+
}, z.core.$strict>], "state">, z.ZodObject<{
|
|
122
|
+
type: z.ZodLiteral<"compaction">;
|
|
123
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
124
|
+
type: z.ZodLiteral<"handoff">;
|
|
125
|
+
toolStartedSeq: z.ZodOptional<z.ZodNumber>;
|
|
126
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
127
|
+
type: z.ZodLiteral<"subagent_started">;
|
|
128
|
+
childConversationId: z.ZodString;
|
|
197
129
|
subagentKind: z.ZodString;
|
|
198
|
-
|
|
199
|
-
}, z.core.$strict
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
createdAt: z.ZodString;
|
|
204
|
-
id: z.ZodString;
|
|
205
|
-
inputKeys: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
206
|
-
inputSizeBytes: z.ZodOptional<z.ZodNumber>;
|
|
207
|
-
inputSizeChars: z.ZodOptional<z.ZodNumber>;
|
|
208
|
-
inputType: z.ZodOptional<z.ZodString>;
|
|
209
|
-
redacted: z.ZodOptional<z.ZodBoolean>;
|
|
210
|
-
status: z.ZodEnum<{
|
|
130
|
+
toolStartedSeq: z.ZodOptional<z.ZodNumber>;
|
|
131
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
132
|
+
type: z.ZodLiteral<"subagent_ended">;
|
|
133
|
+
startedSeq: z.ZodNumber;
|
|
134
|
+
outcome: z.ZodEnum<{
|
|
211
135
|
error: "error";
|
|
212
136
|
aborted: "aborted";
|
|
213
137
|
success: "success";
|
|
214
|
-
running: "running";
|
|
215
|
-
completed: "completed";
|
|
216
138
|
}>;
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
reasoningLevel: z.ZodOptional<z.ZodString>;
|
|
230
|
-
status: z.ZodEnum<{
|
|
231
|
-
error: "error";
|
|
232
|
-
aborted: "aborted";
|
|
233
|
-
success: "success";
|
|
234
|
-
running: "running";
|
|
235
|
-
completed: "completed";
|
|
139
|
+
}, z.core.$strict>], "type">;
|
|
140
|
+
/** One ordered, privacy-safe canonical event projected for API consumers. */
|
|
141
|
+
export declare const conversationReportEventSchema: z.ZodObject<{
|
|
142
|
+
seq: z.ZodNumber;
|
|
143
|
+
createdAt: z.ZodString;
|
|
144
|
+
data: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
145
|
+
type: z.ZodLiteral<"message">;
|
|
146
|
+
messageId: z.ZodString;
|
|
147
|
+
role: z.ZodEnum<{
|
|
148
|
+
system: "system";
|
|
149
|
+
user: "user";
|
|
150
|
+
assistant: "assistant";
|
|
236
151
|
}>;
|
|
152
|
+
text: z.ZodOptional<z.ZodString>;
|
|
153
|
+
redacted: z.ZodOptional<z.ZodLiteral<true>>;
|
|
154
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
155
|
+
type: z.ZodLiteral<"message_handled">;
|
|
156
|
+
messageId: z.ZodString;
|
|
157
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
158
|
+
type: z.ZodLiteral<"tool_started">;
|
|
159
|
+
name: z.ZodString;
|
|
160
|
+
}, z.core.$strict>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
161
|
+
type: z.ZodLiteral<"turn_lifecycle">;
|
|
162
|
+
turnId: z.ZodString;
|
|
163
|
+
state: z.ZodEnum<{
|
|
164
|
+
no_reply: "no_reply";
|
|
165
|
+
started: "started";
|
|
166
|
+
succeeded: "succeeded";
|
|
167
|
+
}>;
|
|
168
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
169
|
+
type: z.ZodLiteral<"turn_lifecycle">;
|
|
170
|
+
turnId: z.ZodString;
|
|
171
|
+
state: z.ZodLiteral<"failed">;
|
|
172
|
+
failureKind: z.ZodEnum<{
|
|
173
|
+
delivery: "delivery";
|
|
174
|
+
agent: "agent";
|
|
175
|
+
}>;
|
|
176
|
+
}, z.core.$strict>], "state">, z.ZodObject<{
|
|
177
|
+
type: z.ZodLiteral<"compaction">;
|
|
178
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
179
|
+
type: z.ZodLiteral<"handoff">;
|
|
180
|
+
toolStartedSeq: z.ZodOptional<z.ZodNumber>;
|
|
181
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
182
|
+
type: z.ZodLiteral<"subagent_started">;
|
|
183
|
+
childConversationId: z.ZodString;
|
|
237
184
|
subagentKind: z.ZodString;
|
|
238
|
-
|
|
239
|
-
}, z.core.$strict
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
export declare const conversationActivityReportSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
244
|
-
type: z.ZodLiteral<"tool_execution">;
|
|
245
|
-
args: z.ZodOptional<z.ZodUnknown>;
|
|
246
|
-
createdAt: z.ZodString;
|
|
247
|
-
id: z.ZodString;
|
|
248
|
-
inputKeys: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
249
|
-
inputSizeBytes: z.ZodOptional<z.ZodNumber>;
|
|
250
|
-
inputSizeChars: z.ZodOptional<z.ZodNumber>;
|
|
251
|
-
inputType: z.ZodOptional<z.ZodString>;
|
|
252
|
-
redacted: z.ZodOptional<z.ZodBoolean>;
|
|
253
|
-
status: z.ZodEnum<{
|
|
254
|
-
error: "error";
|
|
255
|
-
aborted: "aborted";
|
|
256
|
-
success: "success";
|
|
257
|
-
running: "running";
|
|
258
|
-
completed: "completed";
|
|
259
|
-
}>;
|
|
260
|
-
subagents: z.ZodArray<z.ZodObject<{
|
|
261
|
-
type: z.ZodLiteral<"subagent">;
|
|
262
|
-
createdAt: z.ZodString;
|
|
263
|
-
endedAt: z.ZodOptional<z.ZodString>;
|
|
264
|
-
id: z.ZodString;
|
|
265
|
-
modelId: z.ZodOptional<z.ZodString>;
|
|
266
|
-
outcome: z.ZodOptional<z.ZodEnum<{
|
|
267
|
-
error: "error";
|
|
268
|
-
aborted: "aborted";
|
|
269
|
-
success: "success";
|
|
270
|
-
}>>;
|
|
271
|
-
parentToolCallId: z.ZodOptional<z.ZodString>;
|
|
272
|
-
reasoningLevel: z.ZodOptional<z.ZodString>;
|
|
273
|
-
status: z.ZodEnum<{
|
|
185
|
+
toolStartedSeq: z.ZodOptional<z.ZodNumber>;
|
|
186
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
187
|
+
type: z.ZodLiteral<"subagent_ended">;
|
|
188
|
+
startedSeq: z.ZodNumber;
|
|
189
|
+
outcome: z.ZodEnum<{
|
|
274
190
|
error: "error";
|
|
275
191
|
aborted: "aborted";
|
|
276
192
|
success: "success";
|
|
277
|
-
running: "running";
|
|
278
|
-
completed: "completed";
|
|
279
193
|
}>;
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
194
|
+
}, z.core.$strict>], "type">;
|
|
195
|
+
}, z.core.$strict>;
|
|
196
|
+
/** Availability of the canonical event history attached to a detail report. */
|
|
197
|
+
export declare const conversationEventHistorySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
198
|
+
status: z.ZodLiteral<"available">;
|
|
285
199
|
}, z.core.$strict>, z.ZodObject<{
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
endedAt: z.ZodOptional<z.ZodString>;
|
|
289
|
-
id: z.ZodString;
|
|
290
|
-
modelId: z.ZodOptional<z.ZodString>;
|
|
291
|
-
outcome: z.ZodOptional<z.ZodEnum<{
|
|
292
|
-
error: "error";
|
|
293
|
-
aborted: "aborted";
|
|
294
|
-
success: "success";
|
|
295
|
-
}>>;
|
|
296
|
-
parentToolCallId: z.ZodOptional<z.ZodString>;
|
|
297
|
-
reasoningLevel: z.ZodOptional<z.ZodString>;
|
|
298
|
-
status: z.ZodEnum<{
|
|
299
|
-
error: "error";
|
|
300
|
-
aborted: "aborted";
|
|
301
|
-
success: "success";
|
|
302
|
-
running: "running";
|
|
303
|
-
completed: "completed";
|
|
304
|
-
}>;
|
|
305
|
-
subagentKind: z.ZodString;
|
|
306
|
-
transcriptAvailable: z.ZodOptional<z.ZodBoolean>;
|
|
307
|
-
}, z.core.$strict>], "type">;
|
|
308
|
-
export declare const conversationContextEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
309
|
-
type: z.ZodLiteral<"context_compacted">;
|
|
310
|
-
createdAt: z.ZodString;
|
|
311
|
-
modelId: z.ZodOptional<z.ZodString>;
|
|
312
|
-
summary: z.ZodOptional<z.ZodString>;
|
|
313
|
-
transcriptIndex: z.ZodNumber;
|
|
200
|
+
status: z.ZodLiteral<"redacted">;
|
|
201
|
+
reason: z.ZodLiteral<"non_public_conversation">;
|
|
314
202
|
}, z.core.$strict>, z.ZodObject<{
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
203
|
+
status: z.ZodLiteral<"expired">;
|
|
204
|
+
expiredAt: z.ZodString;
|
|
205
|
+
}, z.core.$strict>], "status">;
|
|
206
|
+
export declare const conversationModelUsageSchema: z.ZodObject<{
|
|
207
|
+
modelId: z.ZodString;
|
|
208
|
+
usage: z.ZodObject<{
|
|
209
|
+
inputTokens: z.ZodOptional<z.ZodNumber>;
|
|
210
|
+
outputTokens: z.ZodOptional<z.ZodNumber>;
|
|
211
|
+
cachedInputTokens: z.ZodOptional<z.ZodNumber>;
|
|
212
|
+
cacheCreationTokens: z.ZodOptional<z.ZodNumber>;
|
|
213
|
+
reasoningTokens: z.ZodOptional<z.ZodNumber>;
|
|
214
|
+
totalTokens: z.ZodOptional<z.ZodNumber>;
|
|
215
|
+
cost: z.ZodOptional<z.ZodObject<{
|
|
216
|
+
input: z.ZodOptional<z.ZodNumber>;
|
|
217
|
+
output: z.ZodOptional<z.ZodNumber>;
|
|
218
|
+
cacheRead: z.ZodOptional<z.ZodNumber>;
|
|
219
|
+
cacheWrite: z.ZodOptional<z.ZodNumber>;
|
|
220
|
+
total: z.ZodOptional<z.ZodNumber>;
|
|
221
|
+
}, z.core.$strict>>;
|
|
222
|
+
}, z.core.$strict>;
|
|
223
|
+
}, z.core.$strict>;
|
|
322
224
|
export declare const conversationDetailReportSchema: z.ZodObject<{
|
|
323
225
|
displayTitle: z.ZodString;
|
|
324
226
|
cumulativeDurationMs: z.ZodNumber;
|
|
@@ -365,254 +267,91 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
365
267
|
locationId: z.ZodOptional<z.ZodString>;
|
|
366
268
|
sentryTraceUrl: z.ZodOptional<z.ZodString>;
|
|
367
269
|
traceId: z.ZodOptional<z.ZodString>;
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
270
|
+
modelUsage: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
271
|
+
modelId: z.ZodString;
|
|
272
|
+
usage: z.ZodObject<{
|
|
273
|
+
inputTokens: z.ZodOptional<z.ZodNumber>;
|
|
274
|
+
outputTokens: z.ZodOptional<z.ZodNumber>;
|
|
275
|
+
cachedInputTokens: z.ZodOptional<z.ZodNumber>;
|
|
276
|
+
cacheCreationTokens: z.ZodOptional<z.ZodNumber>;
|
|
277
|
+
reasoningTokens: z.ZodOptional<z.ZodNumber>;
|
|
278
|
+
totalTokens: z.ZodOptional<z.ZodNumber>;
|
|
279
|
+
cost: z.ZodOptional<z.ZodObject<{
|
|
280
|
+
input: z.ZodOptional<z.ZodNumber>;
|
|
281
|
+
output: z.ZodOptional<z.ZodNumber>;
|
|
282
|
+
cacheRead: z.ZodOptional<z.ZodNumber>;
|
|
283
|
+
cacheWrite: z.ZodOptional<z.ZodNumber>;
|
|
284
|
+
total: z.ZodOptional<z.ZodNumber>;
|
|
285
|
+
}, z.core.$strict>>;
|
|
286
|
+
}, z.core.$strict>;
|
|
287
|
+
}, z.core.$strict>>>;
|
|
288
|
+
events: z.ZodArray<z.ZodObject<{
|
|
289
|
+
seq: z.ZodNumber;
|
|
371
290
|
createdAt: z.ZodString;
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
type: z.ZodLiteral<"
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
}
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
291
|
+
data: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
292
|
+
type: z.ZodLiteral<"message">;
|
|
293
|
+
messageId: z.ZodString;
|
|
294
|
+
role: z.ZodEnum<{
|
|
295
|
+
system: "system";
|
|
296
|
+
user: "user";
|
|
297
|
+
assistant: "assistant";
|
|
298
|
+
}>;
|
|
299
|
+
text: z.ZodOptional<z.ZodString>;
|
|
300
|
+
redacted: z.ZodOptional<z.ZodLiteral<true>>;
|
|
301
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
302
|
+
type: z.ZodLiteral<"message_handled">;
|
|
303
|
+
messageId: z.ZodString;
|
|
304
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
305
|
+
type: z.ZodLiteral<"tool_started">;
|
|
306
|
+
name: z.ZodString;
|
|
307
|
+
}, z.core.$strict>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
308
|
+
type: z.ZodLiteral<"turn_lifecycle">;
|
|
309
|
+
turnId: z.ZodString;
|
|
310
|
+
state: z.ZodEnum<{
|
|
311
|
+
no_reply: "no_reply";
|
|
312
|
+
started: "started";
|
|
313
|
+
succeeded: "succeeded";
|
|
314
|
+
}>;
|
|
315
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
316
|
+
type: z.ZodLiteral<"turn_lifecycle">;
|
|
317
|
+
turnId: z.ZodString;
|
|
318
|
+
state: z.ZodLiteral<"failed">;
|
|
319
|
+
failureKind: z.ZodEnum<{
|
|
320
|
+
delivery: "delivery";
|
|
321
|
+
agent: "agent";
|
|
322
|
+
}>;
|
|
323
|
+
}, z.core.$strict>], "state">, z.ZodObject<{
|
|
324
|
+
type: z.ZodLiteral<"compaction">;
|
|
325
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
326
|
+
type: z.ZodLiteral<"handoff">;
|
|
327
|
+
toolStartedSeq: z.ZodOptional<z.ZodNumber>;
|
|
328
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
329
|
+
type: z.ZodLiteral<"subagent_started">;
|
|
330
|
+
childConversationId: z.ZodString;
|
|
331
|
+
subagentKind: z.ZodString;
|
|
332
|
+
toolStartedSeq: z.ZodOptional<z.ZodNumber>;
|
|
333
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
334
|
+
type: z.ZodLiteral<"subagent_ended">;
|
|
335
|
+
startedSeq: z.ZodNumber;
|
|
336
|
+
outcome: z.ZodEnum<{
|
|
399
337
|
error: "error";
|
|
400
338
|
aborted: "aborted";
|
|
401
339
|
success: "success";
|
|
402
|
-
running: "running";
|
|
403
|
-
completed: "completed";
|
|
404
340
|
}>;
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
toolName: z.ZodString;
|
|
341
|
+
}, z.core.$strict>], "type">;
|
|
342
|
+
}, z.core.$strict>>;
|
|
343
|
+
eventHistory: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
344
|
+
status: z.ZodLiteral<"available">;
|
|
410
345
|
}, z.core.$strict>, z.ZodObject<{
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
endedAt: z.ZodOptional<z.ZodString>;
|
|
414
|
-
id: z.ZodString;
|
|
415
|
-
modelId: z.ZodOptional<z.ZodString>;
|
|
416
|
-
outcome: z.ZodOptional<z.ZodEnum<{
|
|
417
|
-
error: "error";
|
|
418
|
-
aborted: "aborted";
|
|
419
|
-
success: "success";
|
|
420
|
-
}>>;
|
|
421
|
-
parentToolCallId: z.ZodOptional<z.ZodString>;
|
|
422
|
-
reasoningLevel: z.ZodOptional<z.ZodString>;
|
|
423
|
-
status: z.ZodEnum<{
|
|
424
|
-
error: "error";
|
|
425
|
-
aborted: "aborted";
|
|
426
|
-
success: "success";
|
|
427
|
-
running: "running";
|
|
428
|
-
completed: "completed";
|
|
429
|
-
}>;
|
|
430
|
-
subagentKind: z.ZodString;
|
|
431
|
-
transcriptAvailable: z.ZodOptional<z.ZodBoolean>;
|
|
432
|
-
}, z.core.$strict>], "type">>>;
|
|
433
|
-
modelId: z.ZodOptional<z.ZodString>;
|
|
434
|
-
reasoningLevel: z.ZodOptional<z.ZodString>;
|
|
435
|
-
contextEvents: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
436
|
-
type: z.ZodLiteral<"context_compacted">;
|
|
437
|
-
createdAt: z.ZodString;
|
|
438
|
-
modelId: z.ZodOptional<z.ZodString>;
|
|
439
|
-
summary: z.ZodOptional<z.ZodString>;
|
|
440
|
-
transcriptIndex: z.ZodNumber;
|
|
346
|
+
status: z.ZodLiteral<"redacted">;
|
|
347
|
+
reason: z.ZodLiteral<"non_public_conversation">;
|
|
441
348
|
}, z.core.$strict>, z.ZodObject<{
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
message: z.ZodOptional<z.ZodString>;
|
|
446
|
-
toModelId: z.ZodString;
|
|
447
|
-
transcriptIndex: z.ZodNumber;
|
|
448
|
-
}, z.core.$strict>], "type">>>;
|
|
449
|
-
transcriptAvailable: z.ZodBoolean;
|
|
450
|
-
transcriptMetadata: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
451
|
-
outcome: z.ZodOptional<z.ZodEnum<{
|
|
452
|
-
error: "error";
|
|
453
|
-
aborted: "aborted";
|
|
454
|
-
}>>;
|
|
455
|
-
parts: z.ZodArray<z.ZodObject<{
|
|
456
|
-
bytes: z.ZodOptional<z.ZodNumber>;
|
|
457
|
-
chars: z.ZodOptional<z.ZodNumber>;
|
|
458
|
-
id: z.ZodOptional<z.ZodString>;
|
|
459
|
-
input: z.ZodOptional<z.ZodUnknown>;
|
|
460
|
-
inputKeys: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
461
|
-
inputSizeBytes: z.ZodOptional<z.ZodNumber>;
|
|
462
|
-
inputSizeChars: z.ZodOptional<z.ZodNumber>;
|
|
463
|
-
inputType: z.ZodOptional<z.ZodString>;
|
|
464
|
-
name: z.ZodOptional<z.ZodString>;
|
|
465
|
-
output: z.ZodOptional<z.ZodUnknown>;
|
|
466
|
-
outputKeys: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
467
|
-
outputSizeBytes: z.ZodOptional<z.ZodNumber>;
|
|
468
|
-
outputSizeChars: z.ZodOptional<z.ZodNumber>;
|
|
469
|
-
outputType: z.ZodOptional<z.ZodString>;
|
|
470
|
-
redacted: z.ZodOptional<z.ZodBoolean>;
|
|
471
|
-
sourceType: z.ZodOptional<z.ZodString>;
|
|
472
|
-
text: z.ZodOptional<z.ZodString>;
|
|
473
|
-
type: z.ZodEnum<{
|
|
474
|
-
tool_call: "tool_call";
|
|
475
|
-
text: "text";
|
|
476
|
-
unknown: "unknown";
|
|
477
|
-
thinking: "thinking";
|
|
478
|
-
tool_result: "tool_result";
|
|
479
|
-
}>;
|
|
480
|
-
}, z.core.$strict>>;
|
|
481
|
-
role: z.ZodEnum<{
|
|
482
|
-
system: "system";
|
|
483
|
-
user: "user";
|
|
484
|
-
unknown: "unknown";
|
|
485
|
-
assistant: "assistant";
|
|
486
|
-
toolResult: "toolResult";
|
|
487
|
-
tool: "tool";
|
|
488
|
-
}>;
|
|
489
|
-
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
490
|
-
}, z.core.$strict>>>;
|
|
491
|
-
transcriptMessageCount: z.ZodOptional<z.ZodNumber>;
|
|
492
|
-
transcriptRedacted: z.ZodOptional<z.ZodBoolean>;
|
|
493
|
-
transcriptRedactionReason: z.ZodOptional<z.ZodLiteral<"non_public_conversation">>;
|
|
494
|
-
transcriptExpired: z.ZodOptional<z.ZodBoolean>;
|
|
495
|
-
transcriptExpiredAt: z.ZodOptional<z.ZodString>;
|
|
496
|
-
transcript: z.ZodArray<z.ZodObject<{
|
|
497
|
-
outcome: z.ZodOptional<z.ZodEnum<{
|
|
498
|
-
error: "error";
|
|
499
|
-
aborted: "aborted";
|
|
500
|
-
}>>;
|
|
501
|
-
parts: z.ZodArray<z.ZodObject<{
|
|
502
|
-
bytes: z.ZodOptional<z.ZodNumber>;
|
|
503
|
-
chars: z.ZodOptional<z.ZodNumber>;
|
|
504
|
-
id: z.ZodOptional<z.ZodString>;
|
|
505
|
-
input: z.ZodOptional<z.ZodUnknown>;
|
|
506
|
-
inputKeys: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
507
|
-
inputSizeBytes: z.ZodOptional<z.ZodNumber>;
|
|
508
|
-
inputSizeChars: z.ZodOptional<z.ZodNumber>;
|
|
509
|
-
inputType: z.ZodOptional<z.ZodString>;
|
|
510
|
-
name: z.ZodOptional<z.ZodString>;
|
|
511
|
-
output: z.ZodOptional<z.ZodUnknown>;
|
|
512
|
-
outputKeys: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
513
|
-
outputSizeBytes: z.ZodOptional<z.ZodNumber>;
|
|
514
|
-
outputSizeChars: z.ZodOptional<z.ZodNumber>;
|
|
515
|
-
outputType: z.ZodOptional<z.ZodString>;
|
|
516
|
-
redacted: z.ZodOptional<z.ZodBoolean>;
|
|
517
|
-
sourceType: z.ZodOptional<z.ZodString>;
|
|
518
|
-
text: z.ZodOptional<z.ZodString>;
|
|
519
|
-
type: z.ZodEnum<{
|
|
520
|
-
tool_call: "tool_call";
|
|
521
|
-
text: "text";
|
|
522
|
-
unknown: "unknown";
|
|
523
|
-
thinking: "thinking";
|
|
524
|
-
tool_result: "tool_result";
|
|
525
|
-
}>;
|
|
526
|
-
}, z.core.$strict>>;
|
|
527
|
-
role: z.ZodEnum<{
|
|
528
|
-
system: "system";
|
|
529
|
-
user: "user";
|
|
530
|
-
unknown: "unknown";
|
|
531
|
-
assistant: "assistant";
|
|
532
|
-
toolResult: "toolResult";
|
|
533
|
-
tool: "tool";
|
|
534
|
-
}>;
|
|
535
|
-
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
536
|
-
}, z.core.$strict>>;
|
|
349
|
+
status: z.ZodLiteral<"expired">;
|
|
350
|
+
expiredAt: z.ZodString;
|
|
351
|
+
}, z.core.$strict>], "status">;
|
|
537
352
|
generatedAt: z.ZodString;
|
|
538
353
|
sentryConversationUrl: z.ZodOptional<z.ZodString>;
|
|
539
354
|
}, z.core.$strict>;
|
|
540
|
-
export declare const conversationSubagentTranscriptReportSchema: z.ZodObject<{
|
|
541
|
-
type: z.ZodLiteral<"subagent">;
|
|
542
|
-
createdAt: z.ZodString;
|
|
543
|
-
endedAt: z.ZodOptional<z.ZodString>;
|
|
544
|
-
id: z.ZodString;
|
|
545
|
-
modelId: z.ZodOptional<z.ZodString>;
|
|
546
|
-
outcome: z.ZodOptional<z.ZodEnum<{
|
|
547
|
-
error: "error";
|
|
548
|
-
aborted: "aborted";
|
|
549
|
-
success: "success";
|
|
550
|
-
}>>;
|
|
551
|
-
parentToolCallId: z.ZodOptional<z.ZodString>;
|
|
552
|
-
reasoningLevel: z.ZodOptional<z.ZodString>;
|
|
553
|
-
status: z.ZodEnum<{
|
|
554
|
-
error: "error";
|
|
555
|
-
aborted: "aborted";
|
|
556
|
-
success: "success";
|
|
557
|
-
running: "running";
|
|
558
|
-
completed: "completed";
|
|
559
|
-
}>;
|
|
560
|
-
subagentConversationId: z.ZodOptional<z.ZodString>;
|
|
561
|
-
subagentKind: z.ZodString;
|
|
562
|
-
subagentSentryConversationUrl: z.ZodOptional<z.ZodString>;
|
|
563
|
-
transcript: z.ZodArray<z.ZodObject<{
|
|
564
|
-
outcome: z.ZodOptional<z.ZodEnum<{
|
|
565
|
-
error: "error";
|
|
566
|
-
aborted: "aborted";
|
|
567
|
-
}>>;
|
|
568
|
-
parts: z.ZodArray<z.ZodObject<{
|
|
569
|
-
bytes: z.ZodOptional<z.ZodNumber>;
|
|
570
|
-
chars: z.ZodOptional<z.ZodNumber>;
|
|
571
|
-
id: z.ZodOptional<z.ZodString>;
|
|
572
|
-
input: z.ZodOptional<z.ZodUnknown>;
|
|
573
|
-
inputKeys: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
574
|
-
inputSizeBytes: z.ZodOptional<z.ZodNumber>;
|
|
575
|
-
inputSizeChars: z.ZodOptional<z.ZodNumber>;
|
|
576
|
-
inputType: z.ZodOptional<z.ZodString>;
|
|
577
|
-
name: z.ZodOptional<z.ZodString>;
|
|
578
|
-
output: z.ZodOptional<z.ZodUnknown>;
|
|
579
|
-
outputKeys: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
580
|
-
outputSizeBytes: z.ZodOptional<z.ZodNumber>;
|
|
581
|
-
outputSizeChars: z.ZodOptional<z.ZodNumber>;
|
|
582
|
-
outputType: z.ZodOptional<z.ZodString>;
|
|
583
|
-
redacted: z.ZodOptional<z.ZodBoolean>;
|
|
584
|
-
sourceType: z.ZodOptional<z.ZodString>;
|
|
585
|
-
text: z.ZodOptional<z.ZodString>;
|
|
586
|
-
type: z.ZodEnum<{
|
|
587
|
-
tool_call: "tool_call";
|
|
588
|
-
text: "text";
|
|
589
|
-
unknown: "unknown";
|
|
590
|
-
thinking: "thinking";
|
|
591
|
-
tool_result: "tool_result";
|
|
592
|
-
}>;
|
|
593
|
-
}, z.core.$strict>>;
|
|
594
|
-
role: z.ZodEnum<{
|
|
595
|
-
system: "system";
|
|
596
|
-
user: "user";
|
|
597
|
-
unknown: "unknown";
|
|
598
|
-
assistant: "assistant";
|
|
599
|
-
toolResult: "toolResult";
|
|
600
|
-
tool: "tool";
|
|
601
|
-
}>;
|
|
602
|
-
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
603
|
-
}, z.core.$strict>>;
|
|
604
|
-
transcriptAvailable: z.ZodBoolean;
|
|
605
|
-
transcriptMessageCount: z.ZodOptional<z.ZodNumber>;
|
|
606
|
-
transcriptRedacted: z.ZodOptional<z.ZodBoolean>;
|
|
607
|
-
transcriptRedactionReason: z.ZodOptional<z.ZodLiteral<"non_public_conversation">>;
|
|
608
|
-
transcriptExpired: z.ZodOptional<z.ZodBoolean>;
|
|
609
|
-
transcriptExpiredAt: z.ZodOptional<z.ZodString>;
|
|
610
|
-
unavailableReason: z.ZodOptional<z.ZodEnum<{
|
|
611
|
-
not_found: "not_found";
|
|
612
|
-
missing_transcript_range: "missing_transcript_range";
|
|
613
|
-
missing_transcript_ref: "missing_transcript_ref";
|
|
614
|
-
}>>;
|
|
615
|
-
}, z.core.$strict>;
|
|
616
355
|
export declare const conversationFeedSchema: z.ZodObject<{
|
|
617
356
|
conversations: z.ZodArray<z.ZodObject<{
|
|
618
357
|
displayTitle: z.ZodString;
|
|
@@ -721,17 +460,11 @@ export type ConversationCost = z.infer<typeof conversationCostSchema>;
|
|
|
721
460
|
export type ConversationUsage = z.infer<typeof conversationUsageSchema>;
|
|
722
461
|
export type ActorIdentity = z.infer<typeof actorIdentitySchema>;
|
|
723
462
|
export type ConversationSummaryReport = z.infer<typeof conversationSummaryReportSchema>;
|
|
724
|
-
export type
|
|
725
|
-
export type
|
|
726
|
-
export type
|
|
727
|
-
export type
|
|
728
|
-
export type ConversationContextEvent = z.infer<typeof conversationContextEventSchema>;
|
|
729
|
-
export type ConversationActivityStatus = z.infer<typeof conversationActivityStatusSchema>;
|
|
730
|
-
export type ConversationSubagentActivityReport = z.infer<typeof conversationSubagentActivityReportSchema>;
|
|
731
|
-
export type ConversationToolActivityReport = z.infer<typeof conversationToolActivityReportSchema>;
|
|
732
|
-
export type ConversationActivityReport = z.infer<typeof conversationActivityReportSchema>;
|
|
463
|
+
export type ConversationModelUsage = z.infer<typeof conversationModelUsageSchema>;
|
|
464
|
+
export type ConversationReportEventData = z.infer<typeof conversationReportEventDataSchema>;
|
|
465
|
+
export type ConversationReportEvent = z.infer<typeof conversationReportEventSchema>;
|
|
466
|
+
export type ConversationEventHistory = z.infer<typeof conversationEventHistorySchema>;
|
|
733
467
|
export type ConversationDetailReport = z.infer<typeof conversationDetailReportSchema>;
|
|
734
|
-
export type ConversationSubagentTranscriptReport = z.infer<typeof conversationSubagentTranscriptReportSchema>;
|
|
735
468
|
export type ConversationFeed = z.infer<typeof conversationFeedSchema>;
|
|
736
469
|
export type ConversationStatsItem = z.infer<typeof conversationStatsItemSchema>;
|
|
737
470
|
export type ConversationMetricDay = z.infer<typeof conversationMetricDaySchema>;
|