@inf-monkeys-tech/monkeys 1.0.8 → 1.0.10
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/lib/contracts/agent.d.ts +730 -0
- package/lib/contracts/agent.d.ts.map +1 -0
- package/lib/contracts/agent.js +247 -0
- package/lib/contracts/agent.js.map +1 -0
- package/lib/contracts/capability.d.ts +3 -3
- package/lib/contracts/data.d.ts +1 -1
- package/lib/contracts/index.d.ts +1 -0
- package/lib/contracts/index.d.ts.map +1 -1
- package/lib/contracts/index.js +1 -0
- package/lib/contracts/index.js.map +1 -1
- package/lib/contracts/page.d.ts +7 -7
- package/lib/contracts/render.d.ts +7 -7
- package/lib/contracts/semantic.d.ts +6 -6
- package/lib/contracts/tenant.d.ts +10 -10
- package/lib/contracts/trend.d.ts +2 -2
- package/lib/esm/contracts/index.mjs +1190 -951
- package/lib/esm/contracts/index.mjs.map +1 -1
- package/lib/esm/index.mjs +1191 -950
- package/lib/esm/index.mjs.map +1 -1
- package/lib/esm/schemas/index.mjs +1073 -843
- package/lib/esm/schemas/index.mjs.map +1 -1
- package/lib/json-schema/agent-session-event.schema.json +1322 -0
- package/lib/json-schema/agent-session-view-model.schema.json +1485 -0
- package/lib/json-schema/index.json +2 -0
- package/lib/schemas/index.d.ts +673 -25
- package/lib/schemas/index.d.ts.map +1 -1
- package/lib/schemas/index.js +14 -3
- package/lib/schemas/index.js.map +1 -1
- package/package.json +1 -1
package/lib/schemas/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export { ArtifactManifestSchema, OutputRecordSchema, StorageLocatorSchema, } from '../contracts/artifact';
|
|
2
2
|
export { CapabilityRegistryDocumentSchema, CapabilityRegistryEntrySchema, CapabilityRegistrySourceSchema, CapabilitySourceTypeSchema, CapabilityManifestSchema, ContractPortSchema, } from '../contracts/capability';
|
|
3
3
|
export { ContractMetadataSchema, EntityRefSchema, JsonObjectSchema, JsonValueSchema, } from '../contracts/common';
|
|
4
|
+
export { AgentModeSchema, AgentSessionCapabilitiesSchema, AgentSessionCapabilitySchema, AgentSessionEventSchema, AgentSessionSnapshotSchema, AgentSessionViewModelSchema, AgentExecutionModeSchema, } from '../contracts/agent';
|
|
4
5
|
export { AgentRuntimeEventSchema, CompletionEventSchema, CompletionHeaderSchema, ExecutionLinkSchema, RequestScopeSchema, } from '../contracts/context';
|
|
5
6
|
export { ApplicationRunSchema, BodyRelationRecordSchema, DataContinuityEnvelopeSchema, ExpiringAccessGrantSchema, } from '../contracts/continuity';
|
|
6
7
|
export { DomainEventSchema, LineageRecordSchema, OntologyDefinitionSchema, ProjectionSpecSchema, SourceRecordRefSchema, } from '../contracts/data';
|
|
@@ -12,6 +13,653 @@ export { ResolvedThemeTokensSchema, ThemeTokenGroupSchema, ThemeTokenTypeSchema,
|
|
|
12
13
|
export { BrandGeneticsProfileSchema, BrandBodySchema, HotwordBodySchema, ProductBodySchema, RadarActionRecordSchema, RadarAnalysisAssetSchema, RadarAnalysisDetailSchema, RadarAnalysisRunSchema, RadarDecisionMetricsSchema, RadarOpportunityMatrixSchema, RadarOpportunityMatrixPointSchema, RadarPanoramaEdgeSchema, RadarPanoramaNodeSchema, RadarPanoramaSchema, RadarQueryBodySchema, RadarScoreModelBodySchema, RadarScoreProjectionSchema, RadarSelectionSchema, RadarWritebackRecordSchema, SavedRadarQuerySchema, TrendIngestRunSchema, TrendMetricSnapshotSchema, TrendSourceSchema, TrendSourceRecordSchema, } from '../contracts/trend';
|
|
13
14
|
export { ConductorTaskDefinitionSchema, ConductorTaskTypeSchema, ConductorWorkflowDefinitionSchema, WorkflowDefinitionSchema, WorkflowEdgeSchema, WorkflowNodeSchema, WorkflowOutputBindingSchema, WorkflowParameterSchema, WorkflowParameterTypeSchema, WorkflowTriggerSchema, WorkflowValidationIssueSchema, } from '../contracts/workflow-definition';
|
|
14
15
|
export declare const canonicalContractSchemas: {
|
|
16
|
+
readonly 'agent-session-event': import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
17
|
+
contract: import("zod").ZodLiteral<"AgentSessionEvent">;
|
|
18
|
+
eventId: import("zod").ZodString;
|
|
19
|
+
sessionId: import("zod").ZodString;
|
|
20
|
+
sequence: import("zod").ZodNumber;
|
|
21
|
+
idempotencyKey: import("zod").ZodString;
|
|
22
|
+
occurredAt: import("zod").ZodString;
|
|
23
|
+
eventType: import("zod").ZodLiteral<"message">;
|
|
24
|
+
payload: import("zod").ZodObject<{
|
|
25
|
+
messageId: import("zod").ZodString;
|
|
26
|
+
role: import("zod").ZodEnum<{
|
|
27
|
+
user: "user";
|
|
28
|
+
assistant: "assistant";
|
|
29
|
+
system: "system";
|
|
30
|
+
}>;
|
|
31
|
+
operation: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
32
|
+
replace: "replace";
|
|
33
|
+
append: "append";
|
|
34
|
+
}>>;
|
|
35
|
+
parts: import("zod").ZodArray<import("zod").ZodType<import("../contracts/common").JsonValue, unknown, import("zod/v4/core").$ZodTypeInternals<import("../contracts/common").JsonValue, unknown>>>;
|
|
36
|
+
status: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
37
|
+
streaming: "streaming";
|
|
38
|
+
completed: "completed";
|
|
39
|
+
failed: "failed";
|
|
40
|
+
}>>;
|
|
41
|
+
}, import("zod/v4/core").$strict>;
|
|
42
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
43
|
+
contract: import("zod").ZodLiteral<"AgentSessionEvent">;
|
|
44
|
+
eventId: import("zod").ZodString;
|
|
45
|
+
sessionId: import("zod").ZodString;
|
|
46
|
+
sequence: import("zod").ZodNumber;
|
|
47
|
+
idempotencyKey: import("zod").ZodString;
|
|
48
|
+
occurredAt: import("zod").ZodString;
|
|
49
|
+
eventType: import("zod").ZodLiteral<"reasoning">;
|
|
50
|
+
payload: import("zod").ZodObject<{
|
|
51
|
+
reasoningId: import("zod").ZodString;
|
|
52
|
+
text: import("zod").ZodString;
|
|
53
|
+
status: import("zod").ZodEnum<{
|
|
54
|
+
streaming: "streaming";
|
|
55
|
+
completed: "completed";
|
|
56
|
+
}>;
|
|
57
|
+
}, import("zod/v4/core").$strict>;
|
|
58
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
59
|
+
contract: import("zod").ZodLiteral<"AgentSessionEvent">;
|
|
60
|
+
eventId: import("zod").ZodString;
|
|
61
|
+
sessionId: import("zod").ZodString;
|
|
62
|
+
sequence: import("zod").ZodNumber;
|
|
63
|
+
idempotencyKey: import("zod").ZodString;
|
|
64
|
+
occurredAt: import("zod").ZodString;
|
|
65
|
+
eventType: import("zod").ZodLiteral<"plan">;
|
|
66
|
+
payload: import("zod").ZodObject<{
|
|
67
|
+
planId: import("zod").ZodString;
|
|
68
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
69
|
+
status: import("zod").ZodEnum<{
|
|
70
|
+
completed: "completed";
|
|
71
|
+
failed: "failed";
|
|
72
|
+
pending: "pending";
|
|
73
|
+
running: "running";
|
|
74
|
+
}>;
|
|
75
|
+
steps: import("zod").ZodArray<import("zod").ZodObject<{
|
|
76
|
+
id: import("zod").ZodString;
|
|
77
|
+
title: import("zod").ZodString;
|
|
78
|
+
status: import("zod").ZodEnum<{
|
|
79
|
+
completed: "completed";
|
|
80
|
+
failed: "failed";
|
|
81
|
+
pending: "pending";
|
|
82
|
+
running: "running";
|
|
83
|
+
skipped: "skipped";
|
|
84
|
+
}>;
|
|
85
|
+
}, import("zod/v4/core").$strict>>;
|
|
86
|
+
}, import("zod/v4/core").$strict>;
|
|
87
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
88
|
+
contract: import("zod").ZodLiteral<"AgentSessionEvent">;
|
|
89
|
+
eventId: import("zod").ZodString;
|
|
90
|
+
sessionId: import("zod").ZodString;
|
|
91
|
+
sequence: import("zod").ZodNumber;
|
|
92
|
+
idempotencyKey: import("zod").ZodString;
|
|
93
|
+
occurredAt: import("zod").ZodString;
|
|
94
|
+
eventType: import("zod").ZodLiteral<"task">;
|
|
95
|
+
payload: import("zod").ZodObject<{
|
|
96
|
+
taskId: import("zod").ZodString;
|
|
97
|
+
title: import("zod").ZodString;
|
|
98
|
+
status: import("zod").ZodEnum<{
|
|
99
|
+
completed: "completed";
|
|
100
|
+
failed: "failed";
|
|
101
|
+
pending: "pending";
|
|
102
|
+
running: "running";
|
|
103
|
+
skipped: "skipped";
|
|
104
|
+
}>;
|
|
105
|
+
detail: import("zod").ZodOptional<import("zod").ZodString>;
|
|
106
|
+
}, import("zod/v4/core").$strict>;
|
|
107
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
108
|
+
contract: import("zod").ZodLiteral<"AgentSessionEvent">;
|
|
109
|
+
eventId: import("zod").ZodString;
|
|
110
|
+
sessionId: import("zod").ZodString;
|
|
111
|
+
sequence: import("zod").ZodNumber;
|
|
112
|
+
idempotencyKey: import("zod").ZodString;
|
|
113
|
+
occurredAt: import("zod").ZodString;
|
|
114
|
+
eventType: import("zod").ZodLiteral<"tool">;
|
|
115
|
+
payload: import("zod").ZodObject<{
|
|
116
|
+
toolCallId: import("zod").ZodString;
|
|
117
|
+
toolName: import("zod").ZodString;
|
|
118
|
+
status: import("zod").ZodEnum<{
|
|
119
|
+
completed: "completed";
|
|
120
|
+
failed: "failed";
|
|
121
|
+
pending: "pending";
|
|
122
|
+
running: "running";
|
|
123
|
+
denied: "denied";
|
|
124
|
+
}>;
|
|
125
|
+
input: import("zod").ZodOptional<import("zod").ZodType<import("../contracts/common").JsonValue, unknown, import("zod/v4/core").$ZodTypeInternals<import("../contracts/common").JsonValue, unknown>>>;
|
|
126
|
+
output: import("zod").ZodOptional<import("zod").ZodType<import("../contracts/common").JsonValue, unknown, import("zod/v4/core").$ZodTypeInternals<import("../contracts/common").JsonValue, unknown>>>;
|
|
127
|
+
error: import("zod").ZodOptional<import("zod").ZodString>;
|
|
128
|
+
startedAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
129
|
+
completedAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
130
|
+
}, import("zod/v4/core").$strict>;
|
|
131
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
132
|
+
contract: import("zod").ZodLiteral<"AgentSessionEvent">;
|
|
133
|
+
eventId: import("zod").ZodString;
|
|
134
|
+
sessionId: import("zod").ZodString;
|
|
135
|
+
sequence: import("zod").ZodNumber;
|
|
136
|
+
idempotencyKey: import("zod").ZodString;
|
|
137
|
+
occurredAt: import("zod").ZodString;
|
|
138
|
+
eventType: import("zod").ZodLiteral<"approval">;
|
|
139
|
+
payload: import("zod").ZodObject<{
|
|
140
|
+
approvalId: import("zod").ZodString;
|
|
141
|
+
toolCallId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
142
|
+
status: import("zod").ZodEnum<{
|
|
143
|
+
requested: "requested";
|
|
144
|
+
approved: "approved";
|
|
145
|
+
rejected: "rejected";
|
|
146
|
+
expired: "expired";
|
|
147
|
+
}>;
|
|
148
|
+
title: import("zod").ZodString;
|
|
149
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
150
|
+
requestedAction: import("zod").ZodOptional<import("zod").ZodType<import("../contracts/common").JsonValue, unknown, import("zod/v4/core").$ZodTypeInternals<import("../contracts/common").JsonValue, unknown>>>;
|
|
151
|
+
}, import("zod/v4/core").$strict>;
|
|
152
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
153
|
+
contract: import("zod").ZodLiteral<"AgentSessionEvent">;
|
|
154
|
+
eventId: import("zod").ZodString;
|
|
155
|
+
sessionId: import("zod").ZodString;
|
|
156
|
+
sequence: import("zod").ZodNumber;
|
|
157
|
+
idempotencyKey: import("zod").ZodString;
|
|
158
|
+
occurredAt: import("zod").ZodString;
|
|
159
|
+
eventType: import("zod").ZodLiteral<"status">;
|
|
160
|
+
payload: import("zod").ZodObject<{
|
|
161
|
+
status: import("zod").ZodEnum<{
|
|
162
|
+
completed: "completed";
|
|
163
|
+
failed: "failed";
|
|
164
|
+
running: "running";
|
|
165
|
+
queued: "queued";
|
|
166
|
+
waiting_approval: "waiting_approval";
|
|
167
|
+
stopping: "stopping";
|
|
168
|
+
stopped: "stopped";
|
|
169
|
+
}>;
|
|
170
|
+
detail: import("zod").ZodOptional<import("zod").ZodString>;
|
|
171
|
+
}, import("zod/v4/core").$strict>;
|
|
172
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
173
|
+
contract: import("zod").ZodLiteral<"AgentSessionEvent">;
|
|
174
|
+
eventId: import("zod").ZodString;
|
|
175
|
+
sessionId: import("zod").ZodString;
|
|
176
|
+
sequence: import("zod").ZodNumber;
|
|
177
|
+
idempotencyKey: import("zod").ZodString;
|
|
178
|
+
occurredAt: import("zod").ZodString;
|
|
179
|
+
eventType: import("zod").ZodLiteral<"artifact">;
|
|
180
|
+
payload: import("zod").ZodObject<{
|
|
181
|
+
artifactId: import("zod").ZodString;
|
|
182
|
+
name: import("zod").ZodString;
|
|
183
|
+
kind: import("zod").ZodEnum<{
|
|
184
|
+
file: "file";
|
|
185
|
+
image: "image";
|
|
186
|
+
video: "video";
|
|
187
|
+
audio: "audio";
|
|
188
|
+
web: "web";
|
|
189
|
+
other: "other";
|
|
190
|
+
}>;
|
|
191
|
+
status: import("zod").ZodEnum<{
|
|
192
|
+
failed: "failed";
|
|
193
|
+
pending: "pending";
|
|
194
|
+
ready: "ready";
|
|
195
|
+
}>;
|
|
196
|
+
mimeType: import("zod").ZodOptional<import("zod").ZodString>;
|
|
197
|
+
url: import("zod").ZodOptional<import("zod").ZodString>;
|
|
198
|
+
size: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
199
|
+
sourceEventId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
200
|
+
}, import("zod/v4/core").$strict>;
|
|
201
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
202
|
+
contract: import("zod").ZodLiteral<"AgentSessionEvent">;
|
|
203
|
+
eventId: import("zod").ZodString;
|
|
204
|
+
sessionId: import("zod").ZodString;
|
|
205
|
+
sequence: import("zod").ZodNumber;
|
|
206
|
+
idempotencyKey: import("zod").ZodString;
|
|
207
|
+
occurredAt: import("zod").ZodString;
|
|
208
|
+
eventType: import("zod").ZodLiteral<"usage">;
|
|
209
|
+
payload: import("zod").ZodObject<{
|
|
210
|
+
inputTokens: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
211
|
+
outputTokens: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
212
|
+
totalTokens: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
213
|
+
contextTokens: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
214
|
+
contextWindow: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
215
|
+
}, import("zod/v4/core").$strict>;
|
|
216
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
217
|
+
contract: import("zod").ZodLiteral<"AgentSessionEvent">;
|
|
218
|
+
eventId: import("zod").ZodString;
|
|
219
|
+
sessionId: import("zod").ZodString;
|
|
220
|
+
sequence: import("zod").ZodNumber;
|
|
221
|
+
idempotencyKey: import("zod").ZodString;
|
|
222
|
+
occurredAt: import("zod").ZodString;
|
|
223
|
+
eventType: import("zod").ZodLiteral<"resume">;
|
|
224
|
+
payload: import("zod").ZodObject<{
|
|
225
|
+
resumable: import("zod").ZodBoolean;
|
|
226
|
+
state: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodType<import("../contracts/common").JsonValue, unknown, import("zod/v4/core").$ZodTypeInternals<import("../contracts/common").JsonValue, unknown>>>>;
|
|
227
|
+
reason: import("zod").ZodOptional<import("zod").ZodString>;
|
|
228
|
+
}, import("zod/v4/core").$strict>;
|
|
229
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
230
|
+
contract: import("zod").ZodLiteral<"AgentSessionEvent">;
|
|
231
|
+
eventId: import("zod").ZodString;
|
|
232
|
+
sessionId: import("zod").ZodString;
|
|
233
|
+
sequence: import("zod").ZodNumber;
|
|
234
|
+
idempotencyKey: import("zod").ZodString;
|
|
235
|
+
occurredAt: import("zod").ZodString;
|
|
236
|
+
eventType: import("zod").ZodLiteral<"error">;
|
|
237
|
+
payload: import("zod").ZodObject<{
|
|
238
|
+
code: import("zod").ZodString;
|
|
239
|
+
message: import("zod").ZodString;
|
|
240
|
+
retryable: import("zod").ZodBoolean;
|
|
241
|
+
sourceEventId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
242
|
+
details: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodType<import("../contracts/common").JsonValue, unknown, import("zod/v4/core").$ZodTypeInternals<import("../contracts/common").JsonValue, unknown>>>>;
|
|
243
|
+
}, import("zod/v4/core").$strict>;
|
|
244
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
245
|
+
contract: import("zod").ZodLiteral<"AgentSessionEvent">;
|
|
246
|
+
eventId: import("zod").ZodString;
|
|
247
|
+
sessionId: import("zod").ZodString;
|
|
248
|
+
sequence: import("zod").ZodNumber;
|
|
249
|
+
idempotencyKey: import("zod").ZodString;
|
|
250
|
+
occurredAt: import("zod").ZodString;
|
|
251
|
+
eventType: import("zod").ZodLiteral<"diff">;
|
|
252
|
+
payload: import("zod").ZodObject<{
|
|
253
|
+
path: import("zod").ZodString;
|
|
254
|
+
status: import("zod").ZodEnum<{
|
|
255
|
+
added: "added";
|
|
256
|
+
modified: "modified";
|
|
257
|
+
deleted: "deleted";
|
|
258
|
+
renamed: "renamed";
|
|
259
|
+
}>;
|
|
260
|
+
patch: import("zod").ZodOptional<import("zod").ZodString>;
|
|
261
|
+
}, import("zod/v4/core").$strict>;
|
|
262
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
263
|
+
contract: import("zod").ZodLiteral<"AgentSessionEvent">;
|
|
264
|
+
eventId: import("zod").ZodString;
|
|
265
|
+
sessionId: import("zod").ZodString;
|
|
266
|
+
sequence: import("zod").ZodNumber;
|
|
267
|
+
idempotencyKey: import("zod").ZodString;
|
|
268
|
+
occurredAt: import("zod").ZodString;
|
|
269
|
+
eventType: import("zod").ZodLiteral<"workspace-file">;
|
|
270
|
+
payload: import("zod").ZodObject<{
|
|
271
|
+
path: import("zod").ZodString;
|
|
272
|
+
operation: import("zod").ZodEnum<{
|
|
273
|
+
upsert: "upsert";
|
|
274
|
+
delete: "delete";
|
|
275
|
+
}>;
|
|
276
|
+
mimeType: import("zod").ZodOptional<import("zod").ZodString>;
|
|
277
|
+
size: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
278
|
+
}, import("zod/v4/core").$strict>;
|
|
279
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
280
|
+
contract: import("zod").ZodLiteral<"AgentSessionEvent">;
|
|
281
|
+
eventId: import("zod").ZodString;
|
|
282
|
+
sessionId: import("zod").ZodString;
|
|
283
|
+
sequence: import("zod").ZodNumber;
|
|
284
|
+
idempotencyKey: import("zod").ZodString;
|
|
285
|
+
occurredAt: import("zod").ZodString;
|
|
286
|
+
eventType: import("zod").ZodLiteral<"terminal">;
|
|
287
|
+
payload: import("zod").ZodObject<{
|
|
288
|
+
terminalId: import("zod").ZodString;
|
|
289
|
+
stream: import("zod").ZodEnum<{
|
|
290
|
+
status: "status";
|
|
291
|
+
stdin: "stdin";
|
|
292
|
+
stdout: "stdout";
|
|
293
|
+
stderr: "stderr";
|
|
294
|
+
}>;
|
|
295
|
+
chunk: import("zod").ZodString;
|
|
296
|
+
exitCode: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
297
|
+
}, import("zod/v4/core").$strict>;
|
|
298
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
299
|
+
contract: import("zod").ZodLiteral<"AgentSessionEvent">;
|
|
300
|
+
eventId: import("zod").ZodString;
|
|
301
|
+
sessionId: import("zod").ZodString;
|
|
302
|
+
sequence: import("zod").ZodNumber;
|
|
303
|
+
idempotencyKey: import("zod").ZodString;
|
|
304
|
+
occurredAt: import("zod").ZodString;
|
|
305
|
+
eventType: import("zod").ZodLiteral<"test-result">;
|
|
306
|
+
payload: import("zod").ZodObject<{
|
|
307
|
+
testId: import("zod").ZodString;
|
|
308
|
+
name: import("zod").ZodString;
|
|
309
|
+
status: import("zod").ZodEnum<{
|
|
310
|
+
failed: "failed";
|
|
311
|
+
running: "running";
|
|
312
|
+
skipped: "skipped";
|
|
313
|
+
passed: "passed";
|
|
314
|
+
}>;
|
|
315
|
+
durationMs: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
316
|
+
output: import("zod").ZodOptional<import("zod").ZodString>;
|
|
317
|
+
}, import("zod/v4/core").$strict>;
|
|
318
|
+
}, import("zod/v4/core").$strict>], "eventType">;
|
|
319
|
+
readonly 'agent-session-view-model': import("zod").ZodObject<{
|
|
320
|
+
contract: import("zod").ZodLiteral<"AgentSessionViewModel">;
|
|
321
|
+
sessionId: import("zod").ZodString;
|
|
322
|
+
snapshot: import("zod").ZodObject<{
|
|
323
|
+
mode: import("zod").ZodEnum<{
|
|
324
|
+
chatbot: "chatbot";
|
|
325
|
+
agent: "agent";
|
|
326
|
+
}>;
|
|
327
|
+
modelId: import("zod").ZodString;
|
|
328
|
+
capabilities: import("zod").ZodObject<{
|
|
329
|
+
text: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
330
|
+
reasoning: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
331
|
+
plan: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
332
|
+
tasks: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
333
|
+
tools: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
334
|
+
mcp: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
335
|
+
shell: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
336
|
+
fileChange: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
337
|
+
skills: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
338
|
+
approval: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
339
|
+
artifacts: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
340
|
+
usage: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
341
|
+
resume: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
342
|
+
diff: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
343
|
+
workspaceFiles: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
344
|
+
terminal: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
345
|
+
testResults: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
346
|
+
}, import("zod/v4/core").$strict>;
|
|
347
|
+
}, import("zod/v4/core").$strict>;
|
|
348
|
+
status: import("zod").ZodEnum<{
|
|
349
|
+
completed: "completed";
|
|
350
|
+
failed: "failed";
|
|
351
|
+
running: "running";
|
|
352
|
+
queued: "queued";
|
|
353
|
+
waiting_approval: "waiting_approval";
|
|
354
|
+
stopping: "stopping";
|
|
355
|
+
stopped: "stopped";
|
|
356
|
+
}>;
|
|
357
|
+
events: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
358
|
+
contract: import("zod").ZodLiteral<"AgentSessionEvent">;
|
|
359
|
+
eventId: import("zod").ZodString;
|
|
360
|
+
sessionId: import("zod").ZodString;
|
|
361
|
+
sequence: import("zod").ZodNumber;
|
|
362
|
+
idempotencyKey: import("zod").ZodString;
|
|
363
|
+
occurredAt: import("zod").ZodString;
|
|
364
|
+
eventType: import("zod").ZodLiteral<"message">;
|
|
365
|
+
payload: import("zod").ZodObject<{
|
|
366
|
+
messageId: import("zod").ZodString;
|
|
367
|
+
role: import("zod").ZodEnum<{
|
|
368
|
+
user: "user";
|
|
369
|
+
assistant: "assistant";
|
|
370
|
+
system: "system";
|
|
371
|
+
}>;
|
|
372
|
+
operation: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
373
|
+
replace: "replace";
|
|
374
|
+
append: "append";
|
|
375
|
+
}>>;
|
|
376
|
+
parts: import("zod").ZodArray<import("zod").ZodType<import("../contracts/common").JsonValue, unknown, import("zod/v4/core").$ZodTypeInternals<import("../contracts/common").JsonValue, unknown>>>;
|
|
377
|
+
status: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
378
|
+
streaming: "streaming";
|
|
379
|
+
completed: "completed";
|
|
380
|
+
failed: "failed";
|
|
381
|
+
}>>;
|
|
382
|
+
}, import("zod/v4/core").$strict>;
|
|
383
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
384
|
+
contract: import("zod").ZodLiteral<"AgentSessionEvent">;
|
|
385
|
+
eventId: import("zod").ZodString;
|
|
386
|
+
sessionId: import("zod").ZodString;
|
|
387
|
+
sequence: import("zod").ZodNumber;
|
|
388
|
+
idempotencyKey: import("zod").ZodString;
|
|
389
|
+
occurredAt: import("zod").ZodString;
|
|
390
|
+
eventType: import("zod").ZodLiteral<"reasoning">;
|
|
391
|
+
payload: import("zod").ZodObject<{
|
|
392
|
+
reasoningId: import("zod").ZodString;
|
|
393
|
+
text: import("zod").ZodString;
|
|
394
|
+
status: import("zod").ZodEnum<{
|
|
395
|
+
streaming: "streaming";
|
|
396
|
+
completed: "completed";
|
|
397
|
+
}>;
|
|
398
|
+
}, import("zod/v4/core").$strict>;
|
|
399
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
400
|
+
contract: import("zod").ZodLiteral<"AgentSessionEvent">;
|
|
401
|
+
eventId: import("zod").ZodString;
|
|
402
|
+
sessionId: import("zod").ZodString;
|
|
403
|
+
sequence: import("zod").ZodNumber;
|
|
404
|
+
idempotencyKey: import("zod").ZodString;
|
|
405
|
+
occurredAt: import("zod").ZodString;
|
|
406
|
+
eventType: import("zod").ZodLiteral<"plan">;
|
|
407
|
+
payload: import("zod").ZodObject<{
|
|
408
|
+
planId: import("zod").ZodString;
|
|
409
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
410
|
+
status: import("zod").ZodEnum<{
|
|
411
|
+
completed: "completed";
|
|
412
|
+
failed: "failed";
|
|
413
|
+
pending: "pending";
|
|
414
|
+
running: "running";
|
|
415
|
+
}>;
|
|
416
|
+
steps: import("zod").ZodArray<import("zod").ZodObject<{
|
|
417
|
+
id: import("zod").ZodString;
|
|
418
|
+
title: import("zod").ZodString;
|
|
419
|
+
status: import("zod").ZodEnum<{
|
|
420
|
+
completed: "completed";
|
|
421
|
+
failed: "failed";
|
|
422
|
+
pending: "pending";
|
|
423
|
+
running: "running";
|
|
424
|
+
skipped: "skipped";
|
|
425
|
+
}>;
|
|
426
|
+
}, import("zod/v4/core").$strict>>;
|
|
427
|
+
}, import("zod/v4/core").$strict>;
|
|
428
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
429
|
+
contract: import("zod").ZodLiteral<"AgentSessionEvent">;
|
|
430
|
+
eventId: import("zod").ZodString;
|
|
431
|
+
sessionId: import("zod").ZodString;
|
|
432
|
+
sequence: import("zod").ZodNumber;
|
|
433
|
+
idempotencyKey: import("zod").ZodString;
|
|
434
|
+
occurredAt: import("zod").ZodString;
|
|
435
|
+
eventType: import("zod").ZodLiteral<"task">;
|
|
436
|
+
payload: import("zod").ZodObject<{
|
|
437
|
+
taskId: import("zod").ZodString;
|
|
438
|
+
title: import("zod").ZodString;
|
|
439
|
+
status: import("zod").ZodEnum<{
|
|
440
|
+
completed: "completed";
|
|
441
|
+
failed: "failed";
|
|
442
|
+
pending: "pending";
|
|
443
|
+
running: "running";
|
|
444
|
+
skipped: "skipped";
|
|
445
|
+
}>;
|
|
446
|
+
detail: import("zod").ZodOptional<import("zod").ZodString>;
|
|
447
|
+
}, import("zod/v4/core").$strict>;
|
|
448
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
449
|
+
contract: import("zod").ZodLiteral<"AgentSessionEvent">;
|
|
450
|
+
eventId: import("zod").ZodString;
|
|
451
|
+
sessionId: import("zod").ZodString;
|
|
452
|
+
sequence: import("zod").ZodNumber;
|
|
453
|
+
idempotencyKey: import("zod").ZodString;
|
|
454
|
+
occurredAt: import("zod").ZodString;
|
|
455
|
+
eventType: import("zod").ZodLiteral<"tool">;
|
|
456
|
+
payload: import("zod").ZodObject<{
|
|
457
|
+
toolCallId: import("zod").ZodString;
|
|
458
|
+
toolName: import("zod").ZodString;
|
|
459
|
+
status: import("zod").ZodEnum<{
|
|
460
|
+
completed: "completed";
|
|
461
|
+
failed: "failed";
|
|
462
|
+
pending: "pending";
|
|
463
|
+
running: "running";
|
|
464
|
+
denied: "denied";
|
|
465
|
+
}>;
|
|
466
|
+
input: import("zod").ZodOptional<import("zod").ZodType<import("../contracts/common").JsonValue, unknown, import("zod/v4/core").$ZodTypeInternals<import("../contracts/common").JsonValue, unknown>>>;
|
|
467
|
+
output: import("zod").ZodOptional<import("zod").ZodType<import("../contracts/common").JsonValue, unknown, import("zod/v4/core").$ZodTypeInternals<import("../contracts/common").JsonValue, unknown>>>;
|
|
468
|
+
error: import("zod").ZodOptional<import("zod").ZodString>;
|
|
469
|
+
startedAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
470
|
+
completedAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
471
|
+
}, import("zod/v4/core").$strict>;
|
|
472
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
473
|
+
contract: import("zod").ZodLiteral<"AgentSessionEvent">;
|
|
474
|
+
eventId: import("zod").ZodString;
|
|
475
|
+
sessionId: import("zod").ZodString;
|
|
476
|
+
sequence: import("zod").ZodNumber;
|
|
477
|
+
idempotencyKey: import("zod").ZodString;
|
|
478
|
+
occurredAt: import("zod").ZodString;
|
|
479
|
+
eventType: import("zod").ZodLiteral<"approval">;
|
|
480
|
+
payload: import("zod").ZodObject<{
|
|
481
|
+
approvalId: import("zod").ZodString;
|
|
482
|
+
toolCallId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
483
|
+
status: import("zod").ZodEnum<{
|
|
484
|
+
requested: "requested";
|
|
485
|
+
approved: "approved";
|
|
486
|
+
rejected: "rejected";
|
|
487
|
+
expired: "expired";
|
|
488
|
+
}>;
|
|
489
|
+
title: import("zod").ZodString;
|
|
490
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
491
|
+
requestedAction: import("zod").ZodOptional<import("zod").ZodType<import("../contracts/common").JsonValue, unknown, import("zod/v4/core").$ZodTypeInternals<import("../contracts/common").JsonValue, unknown>>>;
|
|
492
|
+
}, import("zod/v4/core").$strict>;
|
|
493
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
494
|
+
contract: import("zod").ZodLiteral<"AgentSessionEvent">;
|
|
495
|
+
eventId: import("zod").ZodString;
|
|
496
|
+
sessionId: import("zod").ZodString;
|
|
497
|
+
sequence: import("zod").ZodNumber;
|
|
498
|
+
idempotencyKey: import("zod").ZodString;
|
|
499
|
+
occurredAt: import("zod").ZodString;
|
|
500
|
+
eventType: import("zod").ZodLiteral<"status">;
|
|
501
|
+
payload: import("zod").ZodObject<{
|
|
502
|
+
status: import("zod").ZodEnum<{
|
|
503
|
+
completed: "completed";
|
|
504
|
+
failed: "failed";
|
|
505
|
+
running: "running";
|
|
506
|
+
queued: "queued";
|
|
507
|
+
waiting_approval: "waiting_approval";
|
|
508
|
+
stopping: "stopping";
|
|
509
|
+
stopped: "stopped";
|
|
510
|
+
}>;
|
|
511
|
+
detail: import("zod").ZodOptional<import("zod").ZodString>;
|
|
512
|
+
}, import("zod/v4/core").$strict>;
|
|
513
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
514
|
+
contract: import("zod").ZodLiteral<"AgentSessionEvent">;
|
|
515
|
+
eventId: import("zod").ZodString;
|
|
516
|
+
sessionId: import("zod").ZodString;
|
|
517
|
+
sequence: import("zod").ZodNumber;
|
|
518
|
+
idempotencyKey: import("zod").ZodString;
|
|
519
|
+
occurredAt: import("zod").ZodString;
|
|
520
|
+
eventType: import("zod").ZodLiteral<"artifact">;
|
|
521
|
+
payload: import("zod").ZodObject<{
|
|
522
|
+
artifactId: import("zod").ZodString;
|
|
523
|
+
name: import("zod").ZodString;
|
|
524
|
+
kind: import("zod").ZodEnum<{
|
|
525
|
+
file: "file";
|
|
526
|
+
image: "image";
|
|
527
|
+
video: "video";
|
|
528
|
+
audio: "audio";
|
|
529
|
+
web: "web";
|
|
530
|
+
other: "other";
|
|
531
|
+
}>;
|
|
532
|
+
status: import("zod").ZodEnum<{
|
|
533
|
+
failed: "failed";
|
|
534
|
+
pending: "pending";
|
|
535
|
+
ready: "ready";
|
|
536
|
+
}>;
|
|
537
|
+
mimeType: import("zod").ZodOptional<import("zod").ZodString>;
|
|
538
|
+
url: import("zod").ZodOptional<import("zod").ZodString>;
|
|
539
|
+
size: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
540
|
+
sourceEventId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
541
|
+
}, import("zod/v4/core").$strict>;
|
|
542
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
543
|
+
contract: import("zod").ZodLiteral<"AgentSessionEvent">;
|
|
544
|
+
eventId: import("zod").ZodString;
|
|
545
|
+
sessionId: import("zod").ZodString;
|
|
546
|
+
sequence: import("zod").ZodNumber;
|
|
547
|
+
idempotencyKey: import("zod").ZodString;
|
|
548
|
+
occurredAt: import("zod").ZodString;
|
|
549
|
+
eventType: import("zod").ZodLiteral<"usage">;
|
|
550
|
+
payload: import("zod").ZodObject<{
|
|
551
|
+
inputTokens: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
552
|
+
outputTokens: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
553
|
+
totalTokens: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
554
|
+
contextTokens: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
555
|
+
contextWindow: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
556
|
+
}, import("zod/v4/core").$strict>;
|
|
557
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
558
|
+
contract: import("zod").ZodLiteral<"AgentSessionEvent">;
|
|
559
|
+
eventId: import("zod").ZodString;
|
|
560
|
+
sessionId: import("zod").ZodString;
|
|
561
|
+
sequence: import("zod").ZodNumber;
|
|
562
|
+
idempotencyKey: import("zod").ZodString;
|
|
563
|
+
occurredAt: import("zod").ZodString;
|
|
564
|
+
eventType: import("zod").ZodLiteral<"resume">;
|
|
565
|
+
payload: import("zod").ZodObject<{
|
|
566
|
+
resumable: import("zod").ZodBoolean;
|
|
567
|
+
state: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodType<import("../contracts/common").JsonValue, unknown, import("zod/v4/core").$ZodTypeInternals<import("../contracts/common").JsonValue, unknown>>>>;
|
|
568
|
+
reason: import("zod").ZodOptional<import("zod").ZodString>;
|
|
569
|
+
}, import("zod/v4/core").$strict>;
|
|
570
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
571
|
+
contract: import("zod").ZodLiteral<"AgentSessionEvent">;
|
|
572
|
+
eventId: import("zod").ZodString;
|
|
573
|
+
sessionId: import("zod").ZodString;
|
|
574
|
+
sequence: import("zod").ZodNumber;
|
|
575
|
+
idempotencyKey: import("zod").ZodString;
|
|
576
|
+
occurredAt: import("zod").ZodString;
|
|
577
|
+
eventType: import("zod").ZodLiteral<"error">;
|
|
578
|
+
payload: import("zod").ZodObject<{
|
|
579
|
+
code: import("zod").ZodString;
|
|
580
|
+
message: import("zod").ZodString;
|
|
581
|
+
retryable: import("zod").ZodBoolean;
|
|
582
|
+
sourceEventId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
583
|
+
details: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodType<import("../contracts/common").JsonValue, unknown, import("zod/v4/core").$ZodTypeInternals<import("../contracts/common").JsonValue, unknown>>>>;
|
|
584
|
+
}, import("zod/v4/core").$strict>;
|
|
585
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
586
|
+
contract: import("zod").ZodLiteral<"AgentSessionEvent">;
|
|
587
|
+
eventId: import("zod").ZodString;
|
|
588
|
+
sessionId: import("zod").ZodString;
|
|
589
|
+
sequence: import("zod").ZodNumber;
|
|
590
|
+
idempotencyKey: import("zod").ZodString;
|
|
591
|
+
occurredAt: import("zod").ZodString;
|
|
592
|
+
eventType: import("zod").ZodLiteral<"diff">;
|
|
593
|
+
payload: import("zod").ZodObject<{
|
|
594
|
+
path: import("zod").ZodString;
|
|
595
|
+
status: import("zod").ZodEnum<{
|
|
596
|
+
added: "added";
|
|
597
|
+
modified: "modified";
|
|
598
|
+
deleted: "deleted";
|
|
599
|
+
renamed: "renamed";
|
|
600
|
+
}>;
|
|
601
|
+
patch: import("zod").ZodOptional<import("zod").ZodString>;
|
|
602
|
+
}, import("zod/v4/core").$strict>;
|
|
603
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
604
|
+
contract: import("zod").ZodLiteral<"AgentSessionEvent">;
|
|
605
|
+
eventId: import("zod").ZodString;
|
|
606
|
+
sessionId: import("zod").ZodString;
|
|
607
|
+
sequence: import("zod").ZodNumber;
|
|
608
|
+
idempotencyKey: import("zod").ZodString;
|
|
609
|
+
occurredAt: import("zod").ZodString;
|
|
610
|
+
eventType: import("zod").ZodLiteral<"workspace-file">;
|
|
611
|
+
payload: import("zod").ZodObject<{
|
|
612
|
+
path: import("zod").ZodString;
|
|
613
|
+
operation: import("zod").ZodEnum<{
|
|
614
|
+
upsert: "upsert";
|
|
615
|
+
delete: "delete";
|
|
616
|
+
}>;
|
|
617
|
+
mimeType: import("zod").ZodOptional<import("zod").ZodString>;
|
|
618
|
+
size: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
619
|
+
}, import("zod/v4/core").$strict>;
|
|
620
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
621
|
+
contract: import("zod").ZodLiteral<"AgentSessionEvent">;
|
|
622
|
+
eventId: import("zod").ZodString;
|
|
623
|
+
sessionId: import("zod").ZodString;
|
|
624
|
+
sequence: import("zod").ZodNumber;
|
|
625
|
+
idempotencyKey: import("zod").ZodString;
|
|
626
|
+
occurredAt: import("zod").ZodString;
|
|
627
|
+
eventType: import("zod").ZodLiteral<"terminal">;
|
|
628
|
+
payload: import("zod").ZodObject<{
|
|
629
|
+
terminalId: import("zod").ZodString;
|
|
630
|
+
stream: import("zod").ZodEnum<{
|
|
631
|
+
status: "status";
|
|
632
|
+
stdin: "stdin";
|
|
633
|
+
stdout: "stdout";
|
|
634
|
+
stderr: "stderr";
|
|
635
|
+
}>;
|
|
636
|
+
chunk: import("zod").ZodString;
|
|
637
|
+
exitCode: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
638
|
+
}, import("zod/v4/core").$strict>;
|
|
639
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
640
|
+
contract: import("zod").ZodLiteral<"AgentSessionEvent">;
|
|
641
|
+
eventId: import("zod").ZodString;
|
|
642
|
+
sessionId: import("zod").ZodString;
|
|
643
|
+
sequence: import("zod").ZodNumber;
|
|
644
|
+
idempotencyKey: import("zod").ZodString;
|
|
645
|
+
occurredAt: import("zod").ZodString;
|
|
646
|
+
eventType: import("zod").ZodLiteral<"test-result">;
|
|
647
|
+
payload: import("zod").ZodObject<{
|
|
648
|
+
testId: import("zod").ZodString;
|
|
649
|
+
name: import("zod").ZodString;
|
|
650
|
+
status: import("zod").ZodEnum<{
|
|
651
|
+
failed: "failed";
|
|
652
|
+
running: "running";
|
|
653
|
+
skipped: "skipped";
|
|
654
|
+
passed: "passed";
|
|
655
|
+
}>;
|
|
656
|
+
durationMs: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
657
|
+
output: import("zod").ZodOptional<import("zod").ZodString>;
|
|
658
|
+
}, import("zod/v4/core").$strict>;
|
|
659
|
+
}, import("zod/v4/core").$strict>], "eventType">>;
|
|
660
|
+
lastSequence: import("zod").ZodNumber;
|
|
661
|
+
resumable: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
662
|
+
}, import("zod/v4/core").$strict>;
|
|
15
663
|
readonly 'agent-runtime-event': import("zod").ZodObject<{
|
|
16
664
|
contract: import("zod").ZodLiteral<"AgentRuntimeEvent">;
|
|
17
665
|
runtimeEventId: import("zod").ZodString;
|
|
@@ -291,11 +939,11 @@ export declare const canonicalContractSchemas: {
|
|
|
291
939
|
ownerRepo: import("zod").ZodString;
|
|
292
940
|
kind: import("zod").ZodEnum<{
|
|
293
941
|
workflow: "workflow";
|
|
942
|
+
tool: "tool";
|
|
294
943
|
view: "view";
|
|
295
944
|
"professional-provider": "professional-provider";
|
|
296
945
|
primitive: "primitive";
|
|
297
946
|
composite: "composite";
|
|
298
|
-
tool: "tool";
|
|
299
947
|
}>;
|
|
300
948
|
displayName: import("zod").ZodString;
|
|
301
949
|
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -384,11 +1032,11 @@ export declare const canonicalContractSchemas: {
|
|
|
384
1032
|
ownerRepo: import("zod").ZodString;
|
|
385
1033
|
kind: import("zod").ZodEnum<{
|
|
386
1034
|
workflow: "workflow";
|
|
1035
|
+
tool: "tool";
|
|
387
1036
|
view: "view";
|
|
388
1037
|
"professional-provider": "professional-provider";
|
|
389
1038
|
primitive: "primitive";
|
|
390
1039
|
composite: "composite";
|
|
391
|
-
tool: "tool";
|
|
392
1040
|
}>;
|
|
393
1041
|
displayName: import("zod").ZodString;
|
|
394
1042
|
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -720,11 +1368,11 @@ export declare const canonicalContractSchemas: {
|
|
|
720
1368
|
source: import("zod").ZodObject<{
|
|
721
1369
|
product: import("zod").ZodEnum<{
|
|
722
1370
|
service: "service";
|
|
1371
|
+
agent: "agent";
|
|
1372
|
+
mcp: "mcp";
|
|
723
1373
|
studio: "studio";
|
|
724
1374
|
kernel: "kernel";
|
|
725
1375
|
compute: "compute";
|
|
726
|
-
agent: "agent";
|
|
727
|
-
mcp: "mcp";
|
|
728
1376
|
}>;
|
|
729
1377
|
pageId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
730
1378
|
capabilityId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -949,8 +1597,8 @@ export declare const canonicalContractSchemas: {
|
|
|
949
1597
|
scope: import("zod").ZodEnum<{
|
|
950
1598
|
team: "team";
|
|
951
1599
|
tenant: "tenant";
|
|
952
|
-
global: "global";
|
|
953
1600
|
user: "user";
|
|
1601
|
+
global: "global";
|
|
954
1602
|
}>;
|
|
955
1603
|
}, import("zod/v4/core").$strict>;
|
|
956
1604
|
relationKinds: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString>>;
|
|
@@ -965,11 +1613,11 @@ export declare const canonicalContractSchemas: {
|
|
|
965
1613
|
kind: import("zod").ZodEnum<{
|
|
966
1614
|
record: "record";
|
|
967
1615
|
shell: "shell";
|
|
1616
|
+
detail: "detail";
|
|
968
1617
|
page: "page";
|
|
969
1618
|
navigation: "navigation";
|
|
970
1619
|
view: "view";
|
|
971
1620
|
control: "control";
|
|
972
|
-
detail: "detail";
|
|
973
1621
|
action: "action";
|
|
974
1622
|
overlay: "overlay";
|
|
975
1623
|
"professional-provider": "professional-provider";
|
|
@@ -1174,11 +1822,11 @@ export declare const canonicalContractSchemas: {
|
|
|
1174
1822
|
fullscreen: "fullscreen";
|
|
1175
1823
|
}>;
|
|
1176
1824
|
zIndexLane: import("zod").ZodEnum<{
|
|
1825
|
+
system: "system";
|
|
1177
1826
|
drawer: "drawer";
|
|
1178
1827
|
modal: "modal";
|
|
1179
1828
|
fullscreen: "fullscreen";
|
|
1180
1829
|
popover: "popover";
|
|
1181
|
-
system: "system";
|
|
1182
1830
|
}>;
|
|
1183
1831
|
url: import("zod").ZodObject<{
|
|
1184
1832
|
parameter: import("zod").ZodString;
|
|
@@ -1234,12 +1882,12 @@ export declare const canonicalContractSchemas: {
|
|
|
1234
1882
|
"design-board": "design-board";
|
|
1235
1883
|
process: "process";
|
|
1236
1884
|
record: "record";
|
|
1885
|
+
agent: "agent";
|
|
1237
1886
|
page: "page";
|
|
1238
1887
|
view: "view";
|
|
1239
1888
|
action: "action";
|
|
1240
1889
|
overlay: "overlay";
|
|
1241
1890
|
workspace: "workspace";
|
|
1242
|
-
agent: "agent";
|
|
1243
1891
|
log: "log";
|
|
1244
1892
|
chat: "chat";
|
|
1245
1893
|
preview: "preview";
|
|
@@ -1269,12 +1917,12 @@ export declare const canonicalContractSchemas: {
|
|
|
1269
1917
|
}, import("zod/v4/core").$strict>;
|
|
1270
1918
|
surface: import("zod").ZodEnum<{
|
|
1271
1919
|
record: "record";
|
|
1920
|
+
agent: "agent";
|
|
1272
1921
|
page: "page";
|
|
1273
1922
|
view: "view";
|
|
1274
1923
|
action: "action";
|
|
1275
1924
|
overlay: "overlay";
|
|
1276
1925
|
workspace: "workspace";
|
|
1277
|
-
agent: "agent";
|
|
1278
1926
|
}>;
|
|
1279
1927
|
routeId: import("zod").ZodString;
|
|
1280
1928
|
routePath: import("zod").ZodString;
|
|
@@ -1346,12 +1994,12 @@ export declare const canonicalContractSchemas: {
|
|
|
1346
1994
|
"design-board": "design-board";
|
|
1347
1995
|
process: "process";
|
|
1348
1996
|
record: "record";
|
|
1997
|
+
agent: "agent";
|
|
1349
1998
|
page: "page";
|
|
1350
1999
|
view: "view";
|
|
1351
2000
|
action: "action";
|
|
1352
2001
|
overlay: "overlay";
|
|
1353
2002
|
workspace: "workspace";
|
|
1354
|
-
agent: "agent";
|
|
1355
2003
|
log: "log";
|
|
1356
2004
|
chat: "chat";
|
|
1357
2005
|
preview: "preview";
|
|
@@ -1381,12 +2029,12 @@ export declare const canonicalContractSchemas: {
|
|
|
1381
2029
|
}, import("zod/v4/core").$strict>;
|
|
1382
2030
|
surface: import("zod").ZodEnum<{
|
|
1383
2031
|
record: "record";
|
|
2032
|
+
agent: "agent";
|
|
1384
2033
|
page: "page";
|
|
1385
2034
|
view: "view";
|
|
1386
2035
|
action: "action";
|
|
1387
2036
|
overlay: "overlay";
|
|
1388
2037
|
workspace: "workspace";
|
|
1389
|
-
agent: "agent";
|
|
1390
2038
|
}>;
|
|
1391
2039
|
routeId: import("zod").ZodString;
|
|
1392
2040
|
routePath: import("zod").ZodString;
|
|
@@ -1544,12 +2192,12 @@ export declare const canonicalContractSchemas: {
|
|
|
1544
2192
|
pageId: import("zod").ZodString;
|
|
1545
2193
|
surface: import("zod").ZodEnum<{
|
|
1546
2194
|
record: "record";
|
|
2195
|
+
agent: "agent";
|
|
1547
2196
|
page: "page";
|
|
1548
2197
|
view: "view";
|
|
1549
2198
|
action: "action";
|
|
1550
2199
|
overlay: "overlay";
|
|
1551
2200
|
workspace: "workspace";
|
|
1552
|
-
agent: "agent";
|
|
1553
2201
|
}>;
|
|
1554
2202
|
rendererKey: import("zod").ZodString;
|
|
1555
2203
|
capabilityRef: import("zod").ZodObject<{
|
|
@@ -1653,8 +2301,8 @@ export declare const canonicalContractSchemas: {
|
|
|
1653
2301
|
scope: import("zod").ZodEnum<{
|
|
1654
2302
|
team: "team";
|
|
1655
2303
|
tenant: "tenant";
|
|
1656
|
-
global: "global";
|
|
1657
2304
|
user: "user";
|
|
2305
|
+
global: "global";
|
|
1658
2306
|
}>;
|
|
1659
2307
|
}, import("zod/v4/core").$strict>;
|
|
1660
2308
|
relationKinds: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString>>;
|
|
@@ -1720,11 +2368,11 @@ export declare const canonicalContractSchemas: {
|
|
|
1720
2368
|
ownerRepo: import("zod").ZodString;
|
|
1721
2369
|
kind: import("zod").ZodEnum<{
|
|
1722
2370
|
workflow: "workflow";
|
|
2371
|
+
tool: "tool";
|
|
1723
2372
|
view: "view";
|
|
1724
2373
|
"professional-provider": "professional-provider";
|
|
1725
2374
|
primitive: "primitive";
|
|
1726
2375
|
composite: "composite";
|
|
1727
|
-
tool: "tool";
|
|
1728
2376
|
}>;
|
|
1729
2377
|
displayName: import("zod").ZodString;
|
|
1730
2378
|
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -1812,12 +2460,12 @@ export declare const canonicalContractSchemas: {
|
|
|
1812
2460
|
"design-board": "design-board";
|
|
1813
2461
|
process: "process";
|
|
1814
2462
|
record: "record";
|
|
2463
|
+
agent: "agent";
|
|
1815
2464
|
page: "page";
|
|
1816
2465
|
view: "view";
|
|
1817
2466
|
action: "action";
|
|
1818
2467
|
overlay: "overlay";
|
|
1819
2468
|
workspace: "workspace";
|
|
1820
|
-
agent: "agent";
|
|
1821
2469
|
log: "log";
|
|
1822
2470
|
chat: "chat";
|
|
1823
2471
|
preview: "preview";
|
|
@@ -1847,12 +2495,12 @@ export declare const canonicalContractSchemas: {
|
|
|
1847
2495
|
}, import("zod/v4/core").$strict>;
|
|
1848
2496
|
surface: import("zod").ZodEnum<{
|
|
1849
2497
|
record: "record";
|
|
2498
|
+
agent: "agent";
|
|
1850
2499
|
page: "page";
|
|
1851
2500
|
view: "view";
|
|
1852
2501
|
action: "action";
|
|
1853
2502
|
overlay: "overlay";
|
|
1854
2503
|
workspace: "workspace";
|
|
1855
|
-
agent: "agent";
|
|
1856
2504
|
}>;
|
|
1857
2505
|
routeId: import("zod").ZodString;
|
|
1858
2506
|
routePath: import("zod").ZodString;
|
|
@@ -2061,9 +2709,9 @@ export declare const canonicalContractSchemas: {
|
|
|
2061
2709
|
ownerRepo: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2062
2710
|
}, import("zod/v4/core").$strict>>;
|
|
2063
2711
|
status: import("zod").ZodEnum<{
|
|
2712
|
+
rejected: "rejected";
|
|
2064
2713
|
selected: "selected";
|
|
2065
2714
|
stashed: "stashed";
|
|
2066
|
-
rejected: "rejected";
|
|
2067
2715
|
archived: "archived";
|
|
2068
2716
|
}>;
|
|
2069
2717
|
note: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -2376,9 +3024,9 @@ export declare const canonicalContractSchemas: {
|
|
|
2376
3024
|
ownerRepo: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2377
3025
|
}, import("zod/v4/core").$strict>>;
|
|
2378
3026
|
status: import("zod").ZodEnum<{
|
|
3027
|
+
rejected: "rejected";
|
|
2379
3028
|
selected: "selected";
|
|
2380
3029
|
stashed: "stashed";
|
|
2381
|
-
rejected: "rejected";
|
|
2382
3030
|
archived: "archived";
|
|
2383
3031
|
}>;
|
|
2384
3032
|
note: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -2448,11 +3096,11 @@ export declare const canonicalContractSchemas: {
|
|
|
2448
3096
|
kind: import("zod").ZodEnum<{
|
|
2449
3097
|
record: "record";
|
|
2450
3098
|
shell: "shell";
|
|
3099
|
+
detail: "detail";
|
|
2451
3100
|
page: "page";
|
|
2452
3101
|
navigation: "navigation";
|
|
2453
3102
|
view: "view";
|
|
2454
3103
|
control: "control";
|
|
2455
|
-
detail: "detail";
|
|
2456
3104
|
action: "action";
|
|
2457
3105
|
overlay: "overlay";
|
|
2458
3106
|
"professional-provider": "professional-provider";
|
|
@@ -2666,11 +3314,11 @@ export declare const canonicalContractSchemas: {
|
|
|
2666
3314
|
kind: import("zod").ZodEnum<{
|
|
2667
3315
|
record: "record";
|
|
2668
3316
|
shell: "shell";
|
|
3317
|
+
detail: "detail";
|
|
2669
3318
|
page: "page";
|
|
2670
3319
|
navigation: "navigation";
|
|
2671
3320
|
view: "view";
|
|
2672
3321
|
control: "control";
|
|
2673
|
-
detail: "detail";
|
|
2674
3322
|
action: "action";
|
|
2675
3323
|
overlay: "overlay";
|
|
2676
3324
|
"professional-provider": "professional-provider";
|
|
@@ -3210,12 +3858,12 @@ export declare const canonicalContractSchemas: {
|
|
|
3210
3858
|
"design-board": "design-board";
|
|
3211
3859
|
process: "process";
|
|
3212
3860
|
record: "record";
|
|
3861
|
+
agent: "agent";
|
|
3213
3862
|
page: "page";
|
|
3214
3863
|
view: "view";
|
|
3215
3864
|
action: "action";
|
|
3216
3865
|
overlay: "overlay";
|
|
3217
3866
|
workspace: "workspace";
|
|
3218
|
-
agent: "agent";
|
|
3219
3867
|
log: "log";
|
|
3220
3868
|
chat: "chat";
|
|
3221
3869
|
preview: "preview";
|
|
@@ -3245,12 +3893,12 @@ export declare const canonicalContractSchemas: {
|
|
|
3245
3893
|
}, import("zod/v4/core").$strict>;
|
|
3246
3894
|
surface: import("zod").ZodEnum<{
|
|
3247
3895
|
record: "record";
|
|
3896
|
+
agent: "agent";
|
|
3248
3897
|
page: "page";
|
|
3249
3898
|
view: "view";
|
|
3250
3899
|
action: "action";
|
|
3251
3900
|
overlay: "overlay";
|
|
3252
3901
|
workspace: "workspace";
|
|
3253
|
-
agent: "agent";
|
|
3254
3902
|
}>;
|
|
3255
3903
|
routeId: import("zod").ZodString;
|
|
3256
3904
|
routePath: import("zod").ZodString;
|
|
@@ -3930,12 +4578,12 @@ export declare const canonicalContractSchemas: {
|
|
|
3930
4578
|
"design-board": "design-board";
|
|
3931
4579
|
process: "process";
|
|
3932
4580
|
record: "record";
|
|
4581
|
+
agent: "agent";
|
|
3933
4582
|
page: "page";
|
|
3934
4583
|
view: "view";
|
|
3935
4584
|
action: "action";
|
|
3936
4585
|
overlay: "overlay";
|
|
3937
4586
|
workspace: "workspace";
|
|
3938
|
-
agent: "agent";
|
|
3939
4587
|
log: "log";
|
|
3940
4588
|
chat: "chat";
|
|
3941
4589
|
preview: "preview";
|
|
@@ -3965,12 +4613,12 @@ export declare const canonicalContractSchemas: {
|
|
|
3965
4613
|
}, import("zod/v4/core").$strict>;
|
|
3966
4614
|
surface: import("zod").ZodEnum<{
|
|
3967
4615
|
record: "record";
|
|
4616
|
+
agent: "agent";
|
|
3968
4617
|
page: "page";
|
|
3969
4618
|
view: "view";
|
|
3970
4619
|
action: "action";
|
|
3971
4620
|
overlay: "overlay";
|
|
3972
4621
|
workspace: "workspace";
|
|
3973
|
-
agent: "agent";
|
|
3974
4622
|
}>;
|
|
3975
4623
|
routeId: import("zod").ZodString;
|
|
3976
4624
|
routePath: import("zod").ZodString;
|
|
@@ -4440,12 +5088,12 @@ export declare const canonicalContractSchemas: {
|
|
|
4440
5088
|
supportedPageTypes: import("zod").ZodArray<import("zod").ZodString>;
|
|
4441
5089
|
supportedSurfaces: import("zod").ZodArray<import("zod").ZodEnum<{
|
|
4442
5090
|
record: "record";
|
|
5091
|
+
agent: "agent";
|
|
4443
5092
|
page: "page";
|
|
4444
5093
|
view: "view";
|
|
4445
5094
|
action: "action";
|
|
4446
5095
|
overlay: "overlay";
|
|
4447
5096
|
workspace: "workspace";
|
|
4448
|
-
agent: "agent";
|
|
4449
5097
|
}>>;
|
|
4450
5098
|
frameOwner: import("zod").ZodEnum<{
|
|
4451
5099
|
provider: "provider";
|