@converge.ai/a13n 0.0.90 → 0.0.95
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/README.md +87 -61
- package/THIRD_PARTY_NOTICES.txt +83 -0
- package/dist/client.d.ts +1 -1
- package/dist/client.js +2 -2
- package/dist/client.js.map +1 -1
- package/dist/dispatch.d.ts +6 -0
- package/dist/dispatch.d.ts.map +1 -0
- package/dist/dispatch.js +19 -0
- package/dist/dispatch.js.map +1 -0
- package/dist/errors.d.ts +23 -1
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +38 -5
- package/dist/errors.js.map +1 -1
- package/dist/index.d.ts +7 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/resources/base.d.ts.map +1 -1
- package/dist/resources/base.js +5 -2
- package/dist/resources/base.js.map +1 -1
- package/dist/resources/generated.d.ts +3441 -1180
- package/dist/resources/generated.d.ts.map +1 -1
- package/dist/resources/generated.js +2188 -461
- package/dist/resources/generated.js.map +1 -1
- package/dist/resources/interaction.d.ts +1 -7
- package/dist/resources/interaction.d.ts.map +1 -1
- package/dist/resources/interaction.js +2 -30
- package/dist/resources/interaction.js.map +1 -1
- package/dist/schema.d.ts +14939 -6070
- package/dist/schema.d.ts.map +1 -1
- package/dist/semantic.d.ts +102 -117
- package/dist/semantic.d.ts.map +1 -1
- package/dist/semantic.js +461 -168
- package/dist/semantic.js.map +1 -1
- package/dist/session-stream-schema.d.ts +1773 -0
- package/dist/session-stream-schema.d.ts.map +1 -0
- package/dist/session-stream-schema.js +2 -0
- package/dist/session-stream-schema.js.map +1 -0
- package/dist/session-stream-validation.d.ts +128 -0
- package/dist/session-stream-validation.d.ts.map +1 -0
- package/dist/session-stream-validation.js +29384 -0
- package/dist/session-stream-validation.js.map +1 -0
- package/dist/streams/session-stream.d.ts +12 -0
- package/dist/streams/session-stream.d.ts.map +1 -0
- package/dist/streams/session-stream.js +36 -0
- package/dist/streams/session-stream.js.map +1 -0
- package/dist/streams/sse.d.ts +5 -1
- package/dist/streams/sse.d.ts.map +1 -1
- package/dist/streams/sse.js +11 -4
- package/dist/streams/sse.js.map +1 -1
- package/dist/streams/thread-stream.d.ts +21 -2
- package/dist/streams/thread-stream.d.ts.map +1 -1
- package/dist/streams/thread-stream.js +34 -4
- package/dist/streams/thread-stream.js.map +1 -1
- package/dist/transport.d.ts.map +1 -1
- package/dist/transport.js +3 -0
- package/dist/transport.js.map +1 -1
- package/dist/workflow.d.ts +117 -0
- package/dist/workflow.d.ts.map +1 -0
- package/dist/workflow.js +90 -0
- package/dist/workflow.js.map +1 -0
- package/dist/workspace-scope.d.ts.map +1 -1
- package/dist/workspace-scope.js +125 -0
- package/dist/workspace-scope.js.map +1 -1
- package/openapi.json +34024 -10870
- package/package.json +5 -1
|
@@ -0,0 +1,1773 @@
|
|
|
1
|
+
export type paths = Record<string, never>;
|
|
2
|
+
export type webhooks = Record<string, never>;
|
|
3
|
+
export interface components {
|
|
4
|
+
schemas: {
|
|
5
|
+
/**
|
|
6
|
+
* AgentModelCharacteristics
|
|
7
|
+
* @description The agent's context policy, layered over what the model declares.
|
|
8
|
+
*/
|
|
9
|
+
AgentModelCharacteristics: {
|
|
10
|
+
/**
|
|
11
|
+
* Compact Threshold
|
|
12
|
+
* @default 0.9
|
|
13
|
+
*/
|
|
14
|
+
compact_threshold?: number;
|
|
15
|
+
/**
|
|
16
|
+
* Context Window Tokens
|
|
17
|
+
* @default null
|
|
18
|
+
*/
|
|
19
|
+
context_window_tokens?: number | null;
|
|
20
|
+
/**
|
|
21
|
+
* Proactive Context Management Threshold
|
|
22
|
+
* @default 0.65
|
|
23
|
+
*/
|
|
24
|
+
proactive_context_management_threshold?: number | null;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* AgentOverride
|
|
28
|
+
* @description What one run changes of its revision's configuration; an omitted or null field keeps the revision's.
|
|
29
|
+
*
|
|
30
|
+
* `toolsets` replaces whole toolsets; `retries` and each subagent edge replace the fields they set, and a null
|
|
31
|
+
* edge removes it; every other field replaces the revision's value.
|
|
32
|
+
*/
|
|
33
|
+
AgentOverride: {
|
|
34
|
+
/**
|
|
35
|
+
* Builtin Skills
|
|
36
|
+
* @default null
|
|
37
|
+
*/
|
|
38
|
+
builtin_skills?: components["schemas"]["BuiltinSkillName"][] | null;
|
|
39
|
+
/**
|
|
40
|
+
* Client Tools
|
|
41
|
+
* @default null
|
|
42
|
+
*/
|
|
43
|
+
client_tools?: components["schemas"]["ClientToolDefinition"][] | null;
|
|
44
|
+
/**
|
|
45
|
+
* Connection Tools
|
|
46
|
+
* @default null
|
|
47
|
+
*/
|
|
48
|
+
connection_tools?: components["schemas"]["ConnectionSelection"][] | null;
|
|
49
|
+
/**
|
|
50
|
+
* Instructions
|
|
51
|
+
* @default null
|
|
52
|
+
*/
|
|
53
|
+
instructions?: string | null;
|
|
54
|
+
/**
|
|
55
|
+
* Lazy Environment
|
|
56
|
+
* @default null
|
|
57
|
+
*/
|
|
58
|
+
lazy_environment?: boolean | null;
|
|
59
|
+
/** @default null */
|
|
60
|
+
media_understanding?: components["schemas"]["MediaUnderstandingSelection"] | null;
|
|
61
|
+
/**
|
|
62
|
+
* Model
|
|
63
|
+
* @default null
|
|
64
|
+
*/
|
|
65
|
+
model?: string | null;
|
|
66
|
+
/** @default null */
|
|
67
|
+
model_characteristics?: components["schemas"]["AgentModelCharacteristics"] | null;
|
|
68
|
+
/**
|
|
69
|
+
* Model Settings
|
|
70
|
+
* @default null
|
|
71
|
+
*/
|
|
72
|
+
model_settings?: {
|
|
73
|
+
[key: string]: components["schemas"]["JsonValue"];
|
|
74
|
+
} | null;
|
|
75
|
+
/** @default null */
|
|
76
|
+
output_spec?: components["schemas"]["OutputSpec"] | null;
|
|
77
|
+
/**
|
|
78
|
+
* Plugins
|
|
79
|
+
* @default null
|
|
80
|
+
*/
|
|
81
|
+
plugins?: components["schemas"]["PluginSelection"][] | null;
|
|
82
|
+
/** @default null */
|
|
83
|
+
retries?: components["schemas"]["RetryOverride"] | null;
|
|
84
|
+
/** @default null */
|
|
85
|
+
reviewer?: components["schemas"]["AgentReviewer"] | null;
|
|
86
|
+
/**
|
|
87
|
+
* Skill Sync
|
|
88
|
+
* @default null
|
|
89
|
+
*/
|
|
90
|
+
skill_sync?: (components["schemas"]["SharedSkillSync"] | components["schemas"]["IsolatedSkillSync"]) | null;
|
|
91
|
+
/**
|
|
92
|
+
* Skills
|
|
93
|
+
* @default null
|
|
94
|
+
*/
|
|
95
|
+
skills?: components["schemas"]["SkillSelection"][] | null;
|
|
96
|
+
/**
|
|
97
|
+
* Subagents
|
|
98
|
+
* @default null
|
|
99
|
+
*/
|
|
100
|
+
subagents?: {
|
|
101
|
+
[key: string]: components["schemas"]["SubagentOverride"] | null;
|
|
102
|
+
} | null;
|
|
103
|
+
/** @default null */
|
|
104
|
+
tool_search?: components["schemas"]["ToolSearch"] | null;
|
|
105
|
+
/**
|
|
106
|
+
* Toolsets
|
|
107
|
+
* @default null
|
|
108
|
+
*/
|
|
109
|
+
toolsets?: {
|
|
110
|
+
[key: string]: components["schemas"]["ToolsetSelection"];
|
|
111
|
+
} | null;
|
|
112
|
+
};
|
|
113
|
+
/**
|
|
114
|
+
* AgentReviewer
|
|
115
|
+
* @description The model reviewing calls whose permission is `review`, selected by model key.
|
|
116
|
+
*/
|
|
117
|
+
AgentReviewer: {
|
|
118
|
+
/**
|
|
119
|
+
* Instruction
|
|
120
|
+
* @default null
|
|
121
|
+
*/
|
|
122
|
+
instruction?: string | null;
|
|
123
|
+
/** Model */
|
|
124
|
+
model: string;
|
|
125
|
+
/**
|
|
126
|
+
* Model Settings
|
|
127
|
+
* @default null
|
|
128
|
+
*/
|
|
129
|
+
model_settings?: {
|
|
130
|
+
[key: string]: components["schemas"]["JsonValue"];
|
|
131
|
+
} | null;
|
|
132
|
+
/**
|
|
133
|
+
* On Error
|
|
134
|
+
* @default approval_required
|
|
135
|
+
* @enum {string}
|
|
136
|
+
*/
|
|
137
|
+
on_error?: "deny" | "approval_required" | "allow";
|
|
138
|
+
/**
|
|
139
|
+
* On Flagged
|
|
140
|
+
* @default deny
|
|
141
|
+
* @enum {string}
|
|
142
|
+
*/
|
|
143
|
+
on_flagged?: "deny" | "approval_required";
|
|
144
|
+
/** @default extra_high */
|
|
145
|
+
risk_threshold?: components["schemas"]["ToolRiskLevel"];
|
|
146
|
+
/** Rules */
|
|
147
|
+
rules?: {
|
|
148
|
+
[key: string]: components["schemas"]["ToolReviewRule"];
|
|
149
|
+
};
|
|
150
|
+
/**
|
|
151
|
+
* Shell Instruction
|
|
152
|
+
* @default null
|
|
153
|
+
*/
|
|
154
|
+
shell_instruction?: string | null;
|
|
155
|
+
/**
|
|
156
|
+
* Timeout Seconds
|
|
157
|
+
* @default 120
|
|
158
|
+
*/
|
|
159
|
+
timeout_seconds?: number;
|
|
160
|
+
};
|
|
161
|
+
/**
|
|
162
|
+
* AppReady
|
|
163
|
+
* @description App originals and references are committed; opening still checks access and fetches current HTML.
|
|
164
|
+
*/
|
|
165
|
+
AppReady: {
|
|
166
|
+
/** Apps */
|
|
167
|
+
apps: components["schemas"]["AppReference"][];
|
|
168
|
+
/** Run Id */
|
|
169
|
+
run_id: string;
|
|
170
|
+
/** Thread Id */
|
|
171
|
+
thread_id: string;
|
|
172
|
+
};
|
|
173
|
+
/** AppReference */
|
|
174
|
+
AppReference: {
|
|
175
|
+
/** Agent Revision Id */
|
|
176
|
+
agent_revision_id: string;
|
|
177
|
+
/** App Id */
|
|
178
|
+
app_id: string;
|
|
179
|
+
/** Connection Id */
|
|
180
|
+
connection_id: string;
|
|
181
|
+
/** Resource Uri */
|
|
182
|
+
resource_uri: string;
|
|
183
|
+
/** Source Run Id */
|
|
184
|
+
source_run_id: string;
|
|
185
|
+
/** Tool Call Id */
|
|
186
|
+
tool_call_id: string;
|
|
187
|
+
/** Tool Name */
|
|
188
|
+
tool_name: string;
|
|
189
|
+
/**
|
|
190
|
+
* Unavailable
|
|
191
|
+
* @default false
|
|
192
|
+
*/
|
|
193
|
+
unavailable?: boolean;
|
|
194
|
+
};
|
|
195
|
+
ApprovalDecision: components["schemas"]["Approve"] | components["schemas"]["Deny"];
|
|
196
|
+
/** Approve */
|
|
197
|
+
Approve: {
|
|
198
|
+
/**
|
|
199
|
+
* @description discriminator enum property added by openapi-typescript
|
|
200
|
+
* @enum {string}
|
|
201
|
+
*/
|
|
202
|
+
action: "approve";
|
|
203
|
+
reason?: never;
|
|
204
|
+
};
|
|
205
|
+
/** AssetPart */
|
|
206
|
+
AssetPart: {
|
|
207
|
+
/** Asset Id */
|
|
208
|
+
asset_id: string;
|
|
209
|
+
/**
|
|
210
|
+
* @description discriminator enum property added by openapi-typescript
|
|
211
|
+
* @enum {string}
|
|
212
|
+
*/
|
|
213
|
+
type: "asset";
|
|
214
|
+
text?: never;
|
|
215
|
+
url?: never;
|
|
216
|
+
value?: never;
|
|
217
|
+
};
|
|
218
|
+
/** @constant */
|
|
219
|
+
BuiltinSkillName: "platform-operations";
|
|
220
|
+
CallResult: components["schemas"]["Returned"] | components["schemas"]["Failed"];
|
|
221
|
+
/**
|
|
222
|
+
* ChildEnvironmentPolicy
|
|
223
|
+
* @description What a child run mounts: no environment, the parent's, or a new one from `template_id`.
|
|
224
|
+
*/
|
|
225
|
+
ChildEnvironmentPolicy: {
|
|
226
|
+
/**
|
|
227
|
+
* Mode
|
|
228
|
+
* @default shared
|
|
229
|
+
* @enum {string}
|
|
230
|
+
*/
|
|
231
|
+
mode?: "none" | "shared" | "dedicated";
|
|
232
|
+
/**
|
|
233
|
+
* Template Id
|
|
234
|
+
* @default null
|
|
235
|
+
*/
|
|
236
|
+
template_id?: string | null;
|
|
237
|
+
};
|
|
238
|
+
/**
|
|
239
|
+
* ClientToolDefinition
|
|
240
|
+
* @description Portable model guidance for one externally executed client tool.
|
|
241
|
+
*/
|
|
242
|
+
ClientToolDefinition: {
|
|
243
|
+
/** Description */
|
|
244
|
+
description: string;
|
|
245
|
+
/**
|
|
246
|
+
* Instruction
|
|
247
|
+
* @default null
|
|
248
|
+
*/
|
|
249
|
+
instruction?: string | null;
|
|
250
|
+
/** Metadata */
|
|
251
|
+
metadata?: {
|
|
252
|
+
[key: string]: components["schemas"]["JsonValue"];
|
|
253
|
+
};
|
|
254
|
+
/** Name */
|
|
255
|
+
name: string;
|
|
256
|
+
/** Parameters Json Schema */
|
|
257
|
+
parameters_json_schema: {
|
|
258
|
+
[key: string]: components["schemas"]["JsonValue"];
|
|
259
|
+
};
|
|
260
|
+
/**
|
|
261
|
+
* Permission
|
|
262
|
+
* @default inherit
|
|
263
|
+
* @enum {string}
|
|
264
|
+
*/
|
|
265
|
+
permission?: "inherit" | "allow" | "deny";
|
|
266
|
+
};
|
|
267
|
+
/** Configuration */
|
|
268
|
+
Configuration: {
|
|
269
|
+
/** Id */
|
|
270
|
+
id: string;
|
|
271
|
+
/** Max Lateness Seconds */
|
|
272
|
+
max_lateness_seconds: number;
|
|
273
|
+
/** Name */
|
|
274
|
+
name: string;
|
|
275
|
+
/** Pause Reason */
|
|
276
|
+
pause_reason: string | null;
|
|
277
|
+
/** Principal Id */
|
|
278
|
+
principal_id: string;
|
|
279
|
+
schedule: components["schemas"]["ScheduleRule"];
|
|
280
|
+
/** Session Id */
|
|
281
|
+
session_id: string;
|
|
282
|
+
state: components["schemas"]["ScheduleState"];
|
|
283
|
+
/** Version */
|
|
284
|
+
version: number;
|
|
285
|
+
};
|
|
286
|
+
/**
|
|
287
|
+
* ConnectionSelection
|
|
288
|
+
* @description An agent's selected tools and permissions.
|
|
289
|
+
*/
|
|
290
|
+
ConnectionSelection: {
|
|
291
|
+
/** Connection Id */
|
|
292
|
+
connection_id: string;
|
|
293
|
+
/** @default inherit */
|
|
294
|
+
permission?: components["schemas"]["ToolPermissionSetting"];
|
|
295
|
+
/** Permissions */
|
|
296
|
+
permissions?: {
|
|
297
|
+
[key: string]: components["schemas"]["ToolPermissionSetting"];
|
|
298
|
+
};
|
|
299
|
+
/**
|
|
300
|
+
* Tools
|
|
301
|
+
* @default null
|
|
302
|
+
*/
|
|
303
|
+
tools?: string[] | null;
|
|
304
|
+
};
|
|
305
|
+
/**
|
|
306
|
+
* ContentRef
|
|
307
|
+
* @description An immutable Host-owned value, loaded through that Host's authorized content API.
|
|
308
|
+
*/
|
|
309
|
+
ContentRef: {
|
|
310
|
+
/** Id */
|
|
311
|
+
id: string;
|
|
312
|
+
/**
|
|
313
|
+
* Media Type
|
|
314
|
+
* @enum {string}
|
|
315
|
+
*/
|
|
316
|
+
media_type: "text/plain" | "application/json";
|
|
317
|
+
/** Preview */
|
|
318
|
+
preview: string;
|
|
319
|
+
/** Size Bytes */
|
|
320
|
+
size_bytes: number;
|
|
321
|
+
/**
|
|
322
|
+
* Truncated
|
|
323
|
+
* @default false
|
|
324
|
+
*/
|
|
325
|
+
truncated?: boolean;
|
|
326
|
+
};
|
|
327
|
+
/** CronSchedule */
|
|
328
|
+
CronSchedule: {
|
|
329
|
+
/** Expression */
|
|
330
|
+
expression: string;
|
|
331
|
+
/** Timezone */
|
|
332
|
+
timezone: string;
|
|
333
|
+
/**
|
|
334
|
+
* Type
|
|
335
|
+
* @default cron
|
|
336
|
+
* @constant
|
|
337
|
+
*/
|
|
338
|
+
type?: "cron";
|
|
339
|
+
};
|
|
340
|
+
/** DelegationContextPolicy */
|
|
341
|
+
DelegationContextPolicy: {
|
|
342
|
+
/**
|
|
343
|
+
* History
|
|
344
|
+
* @default none
|
|
345
|
+
* @enum {string}
|
|
346
|
+
*/
|
|
347
|
+
history?: "none" | "summary" | "selected";
|
|
348
|
+
/**
|
|
349
|
+
* Include Task
|
|
350
|
+
* @default true
|
|
351
|
+
*/
|
|
352
|
+
include_task?: boolean;
|
|
353
|
+
/**
|
|
354
|
+
* Task State
|
|
355
|
+
* @default shared
|
|
356
|
+
* @enum {string}
|
|
357
|
+
*/
|
|
358
|
+
task_state?: "shared" | "isolated";
|
|
359
|
+
};
|
|
360
|
+
/** @enum {string} */
|
|
361
|
+
Delivery: "steer" | "next_run";
|
|
362
|
+
/**
|
|
363
|
+
* Delta
|
|
364
|
+
* @description One raw AG-UI event, sequenced by the producer and correlated to its display item.
|
|
365
|
+
*/
|
|
366
|
+
Delta: {
|
|
367
|
+
/** Attempt */
|
|
368
|
+
attempt: number;
|
|
369
|
+
/** Event */
|
|
370
|
+
event: {
|
|
371
|
+
[key: string]: unknown;
|
|
372
|
+
};
|
|
373
|
+
item: components["schemas"]["ItemRef"] | null;
|
|
374
|
+
/** Run Id */
|
|
375
|
+
run_id: string;
|
|
376
|
+
/** Sequence */
|
|
377
|
+
sequence: number;
|
|
378
|
+
/** Thread Id */
|
|
379
|
+
thread_id: string;
|
|
380
|
+
};
|
|
381
|
+
/** Deny */
|
|
382
|
+
Deny: {
|
|
383
|
+
/**
|
|
384
|
+
* @description discriminator enum property added by openapi-typescript
|
|
385
|
+
* @enum {string}
|
|
386
|
+
*/
|
|
387
|
+
action: "deny";
|
|
388
|
+
/**
|
|
389
|
+
* Reason
|
|
390
|
+
* @default null
|
|
391
|
+
*/
|
|
392
|
+
reason?: string | null;
|
|
393
|
+
};
|
|
394
|
+
/**
|
|
395
|
+
* DisplayContinuation
|
|
396
|
+
* @description Parsing state at a semantic cut; Host paging may retire only immutable items.
|
|
397
|
+
*/
|
|
398
|
+
DisplayContinuation: {
|
|
399
|
+
/** @default null */
|
|
400
|
+
arguments?: components["schemas"]["_Arguments"] | null;
|
|
401
|
+
fragments?: components["schemas"]["FragmentState"];
|
|
402
|
+
/**
|
|
403
|
+
* Full Content
|
|
404
|
+
* @default false
|
|
405
|
+
*/
|
|
406
|
+
full_content?: boolean;
|
|
407
|
+
/** Memory Sources */
|
|
408
|
+
memory_sources?: {
|
|
409
|
+
[key: string]: components["schemas"]["MemorySource"][];
|
|
410
|
+
};
|
|
411
|
+
/** Next Ordinal */
|
|
412
|
+
next_ordinal: number;
|
|
413
|
+
observer?: components["schemas"]["ObserverContinuation"];
|
|
414
|
+
position: components["schemas"]["StreamPosition"];
|
|
415
|
+
/** Response Groups */
|
|
416
|
+
response_groups?: {
|
|
417
|
+
[key: string]: string;
|
|
418
|
+
};
|
|
419
|
+
/** Run Id */
|
|
420
|
+
run_id: string;
|
|
421
|
+
};
|
|
422
|
+
/** @enum {string} */
|
|
423
|
+
EntryStatus: "pending" | "assigned" | "consumed" | "failed" | "withdrawn";
|
|
424
|
+
/** EntryView */
|
|
425
|
+
EntryView: {
|
|
426
|
+
/** Agent Id */
|
|
427
|
+
agent_id: string | null;
|
|
428
|
+
/** Agent Revision Id */
|
|
429
|
+
agent_revision_id: string | null;
|
|
430
|
+
/** Assigned Run Id */
|
|
431
|
+
assigned_run_id: string | null;
|
|
432
|
+
/** Child Run Id */
|
|
433
|
+
child_run_id: string | null;
|
|
434
|
+
/**
|
|
435
|
+
* Created At
|
|
436
|
+
* Format: date-time
|
|
437
|
+
*/
|
|
438
|
+
created_at: string;
|
|
439
|
+
delivery: components["schemas"]["Delivery"];
|
|
440
|
+
failure: components["schemas"]["Failure"] | null;
|
|
441
|
+
/** Finished At */
|
|
442
|
+
finished_at: string | null;
|
|
443
|
+
/** Id */
|
|
444
|
+
id: string;
|
|
445
|
+
/** Incorporated Checkpoint Seq */
|
|
446
|
+
incorporated_checkpoint_seq: number | null;
|
|
447
|
+
/**
|
|
448
|
+
* Kind
|
|
449
|
+
* @enum {string}
|
|
450
|
+
*/
|
|
451
|
+
kind: "message" | "child_result" | "tool_result";
|
|
452
|
+
options: components["schemas"]["RunOptions"];
|
|
453
|
+
/** Origin Run Id */
|
|
454
|
+
origin_run_id: string | null;
|
|
455
|
+
/** Payload */
|
|
456
|
+
payload: {
|
|
457
|
+
[key: string]: components["schemas"]["JsonValue"];
|
|
458
|
+
};
|
|
459
|
+
/** Position */
|
|
460
|
+
position: number;
|
|
461
|
+
/** Principal Id */
|
|
462
|
+
principal_id: string;
|
|
463
|
+
status: components["schemas"]["EntryStatus"];
|
|
464
|
+
/** Thread Id */
|
|
465
|
+
thread_id: string;
|
|
466
|
+
};
|
|
467
|
+
/**
|
|
468
|
+
* EnvironmentAction
|
|
469
|
+
* @description Exact authorization values in the locked first-party catalog.
|
|
470
|
+
* @enum {string}
|
|
471
|
+
*/
|
|
472
|
+
EnvironmentAction: "environment.file.stat" | "environment.file.read_text" | "environment.file.read_bytes" | "environment.file.write_text" | "environment.file.patch_text" | "environment.file.list" | "environment.file.query" | "environment.file.search_text" | "environment.file.mkdir" | "environment.file.move" | "environment.file.remove" | "environment.file.write_bytes" | "environment.file.copy_source" | "environment.file.copy_destination" | "environment.shell.exec" | "environment.process.list" | "environment.process.start" | "environment.process.inspect" | "environment.process.read_output" | "environment.process.write_stdin" | "environment.process.close_stdin" | "environment.process.signal" | "environment.process.wait" | "environment.process.kill" | "environment.process.release" | "environment.output.read" | "environment.output.release" | "environment.port.inspect" | "environment.port.wait" | "environment.state.export" | "environment.state.restore" | "environment.computer.describe" | "environment.computer.observe" | "environment.computer.zoom" | "environment.computer.click" | "environment.computer.move" | "environment.computer.drag" | "environment.computer.scroll" | "environment.computer.type_text" | "environment.computer.press_keys" | "environment.computer.read_clipboard" | "environment.computer.write_clipboard";
|
|
473
|
+
/** EnvironmentMount */
|
|
474
|
+
EnvironmentMount: {
|
|
475
|
+
/** Environment Id */
|
|
476
|
+
environment_id: string;
|
|
477
|
+
/** Name */
|
|
478
|
+
name: string;
|
|
479
|
+
/**
|
|
480
|
+
* @default {
|
|
481
|
+
* "operations": [
|
|
482
|
+
* "environment.file.copy_destination",
|
|
483
|
+
* "environment.file.copy_source",
|
|
484
|
+
* "environment.file.list",
|
|
485
|
+
* "environment.file.mkdir",
|
|
486
|
+
* "environment.file.move",
|
|
487
|
+
* "environment.file.patch_text",
|
|
488
|
+
* "environment.file.query",
|
|
489
|
+
* "environment.file.read_bytes",
|
|
490
|
+
* "environment.file.read_text",
|
|
491
|
+
* "environment.file.remove",
|
|
492
|
+
* "environment.file.search_text",
|
|
493
|
+
* "environment.file.stat",
|
|
494
|
+
* "environment.file.write_bytes",
|
|
495
|
+
* "environment.file.write_text",
|
|
496
|
+
* "environment.output.read",
|
|
497
|
+
* "environment.output.release",
|
|
498
|
+
* "environment.port.inspect",
|
|
499
|
+
* "environment.port.wait",
|
|
500
|
+
* "environment.process.close_stdin",
|
|
501
|
+
* "environment.process.inspect",
|
|
502
|
+
* "environment.process.kill",
|
|
503
|
+
* "environment.process.list",
|
|
504
|
+
* "environment.process.read_output",
|
|
505
|
+
* "environment.process.release",
|
|
506
|
+
* "environment.process.signal",
|
|
507
|
+
* "environment.process.start",
|
|
508
|
+
* "environment.process.wait",
|
|
509
|
+
* "environment.process.write_stdin",
|
|
510
|
+
* "environment.shell.exec",
|
|
511
|
+
* "environment.state.export",
|
|
512
|
+
* "environment.state.restore"
|
|
513
|
+
* ]
|
|
514
|
+
* }
|
|
515
|
+
*/
|
|
516
|
+
permission_ceiling?: components["schemas"]["EnvironmentPermissionSet"];
|
|
517
|
+
/**
|
|
518
|
+
* Working Directory
|
|
519
|
+
* @default null
|
|
520
|
+
*/
|
|
521
|
+
working_directory?: string | null;
|
|
522
|
+
};
|
|
523
|
+
/** EnvironmentPermissionSet */
|
|
524
|
+
EnvironmentPermissionSet: {
|
|
525
|
+
/** Operations */
|
|
526
|
+
operations?: components["schemas"]["EnvironmentAction"][];
|
|
527
|
+
};
|
|
528
|
+
/** @description Default variables for Agent commands. Ordinary readable configuration, not secret storage. Command variables override these defaults. */
|
|
529
|
+
EnvironmentVariables: {
|
|
530
|
+
[key: string]: string;
|
|
531
|
+
};
|
|
532
|
+
/**
|
|
533
|
+
* ExecutionOverride
|
|
534
|
+
* @description Sparse choices: null inherits; Thread PATCH distinguishes omission from null.
|
|
535
|
+
*/
|
|
536
|
+
ExecutionOverride: {
|
|
537
|
+
/** @default null */
|
|
538
|
+
environment?: components["schemas"]["EnvironmentVariables"] | null;
|
|
539
|
+
/** @default null */
|
|
540
|
+
steering?: components["schemas"]["Steering"] | null;
|
|
541
|
+
/** @default null */
|
|
542
|
+
tools?: components["schemas"]["ToolExecutionOverride"] | null;
|
|
543
|
+
};
|
|
544
|
+
/**
|
|
545
|
+
* Failed
|
|
546
|
+
* @description An explicit external tool failure, including an intentional unanswered question.
|
|
547
|
+
*/
|
|
548
|
+
Failed: {
|
|
549
|
+
/** Message */
|
|
550
|
+
message: string;
|
|
551
|
+
/**
|
|
552
|
+
* @description discriminator enum property added by openapi-typescript
|
|
553
|
+
* @enum {string}
|
|
554
|
+
*/
|
|
555
|
+
status: "failed";
|
|
556
|
+
value?: never;
|
|
557
|
+
};
|
|
558
|
+
/** Failure */
|
|
559
|
+
Failure: {
|
|
560
|
+
/** Code */
|
|
561
|
+
code: string;
|
|
562
|
+
/** Message */
|
|
563
|
+
message: string;
|
|
564
|
+
};
|
|
565
|
+
/** FileSource */
|
|
566
|
+
FileSource: {
|
|
567
|
+
/** Bytes */
|
|
568
|
+
bytes: number;
|
|
569
|
+
/** Path */
|
|
570
|
+
path: string;
|
|
571
|
+
/** Sha256 */
|
|
572
|
+
sha256: string;
|
|
573
|
+
/**
|
|
574
|
+
* Truncated
|
|
575
|
+
* @default false
|
|
576
|
+
*/
|
|
577
|
+
truncated?: boolean;
|
|
578
|
+
};
|
|
579
|
+
/**
|
|
580
|
+
* FragmentState
|
|
581
|
+
* @description Incomplete custom payloads, not a journal of completed events.
|
|
582
|
+
*/
|
|
583
|
+
FragmentState: {
|
|
584
|
+
/**
|
|
585
|
+
* Gap
|
|
586
|
+
* @default false
|
|
587
|
+
*/
|
|
588
|
+
gap?: boolean;
|
|
589
|
+
/**
|
|
590
|
+
* Max Bytes
|
|
591
|
+
* @default 67108864
|
|
592
|
+
*/
|
|
593
|
+
max_bytes?: number;
|
|
594
|
+
/**
|
|
595
|
+
* Max Pending
|
|
596
|
+
* @default 8
|
|
597
|
+
*/
|
|
598
|
+
max_pending?: number;
|
|
599
|
+
/** Pending */
|
|
600
|
+
pending?: {
|
|
601
|
+
[key: string]: components["schemas"]["_Assembly"];
|
|
602
|
+
};
|
|
603
|
+
};
|
|
604
|
+
/**
|
|
605
|
+
* FrozenMemoryMount
|
|
606
|
+
* @description Host-resolved Space identity and roots, never accepted from a mount request.
|
|
607
|
+
*/
|
|
608
|
+
FrozenMemoryMount: {
|
|
609
|
+
access: components["schemas"]["MemoryAccess"];
|
|
610
|
+
/** Memory Id */
|
|
611
|
+
memory_id: string;
|
|
612
|
+
/** Name */
|
|
613
|
+
name: string;
|
|
614
|
+
/**
|
|
615
|
+
* Recall
|
|
616
|
+
* @default true
|
|
617
|
+
*/
|
|
618
|
+
recall?: boolean;
|
|
619
|
+
/**
|
|
620
|
+
* Roots
|
|
621
|
+
* @default []
|
|
622
|
+
*/
|
|
623
|
+
roots?: string[];
|
|
624
|
+
/**
|
|
625
|
+
* Space Id
|
|
626
|
+
* @default null
|
|
627
|
+
*/
|
|
628
|
+
space_id?: string | null;
|
|
629
|
+
};
|
|
630
|
+
/**
|
|
631
|
+
* Gap
|
|
632
|
+
* @description Output of a followed run was lost: its deltas are held until an `items` frame repairs it.
|
|
633
|
+
*/
|
|
634
|
+
Gap: {
|
|
635
|
+
/** Run Id */
|
|
636
|
+
run_id: string;
|
|
637
|
+
/** Thread Id */
|
|
638
|
+
thread_id: string;
|
|
639
|
+
};
|
|
640
|
+
/** InitialRun */
|
|
641
|
+
InitialRun: {
|
|
642
|
+
/** Id */
|
|
643
|
+
id: string;
|
|
644
|
+
status: components["schemas"]["RunStatus"];
|
|
645
|
+
};
|
|
646
|
+
/**
|
|
647
|
+
* IsolatedSkillSync
|
|
648
|
+
* @description Reuse immutable package directories, with a soft count budget.
|
|
649
|
+
*/
|
|
650
|
+
IsolatedSkillSync: {
|
|
651
|
+
/**
|
|
652
|
+
* Cache Count
|
|
653
|
+
* @default 128
|
|
654
|
+
*/
|
|
655
|
+
cache_count?: number;
|
|
656
|
+
/**
|
|
657
|
+
* @description discriminator enum property added by openapi-typescript
|
|
658
|
+
* @enum {string}
|
|
659
|
+
*/
|
|
660
|
+
mode: "isolated";
|
|
661
|
+
};
|
|
662
|
+
/** Item */
|
|
663
|
+
Item: {
|
|
664
|
+
/** Content */
|
|
665
|
+
content: {
|
|
666
|
+
[key: string]: components["schemas"]["JsonValue"];
|
|
667
|
+
};
|
|
668
|
+
/** Content Refs */
|
|
669
|
+
content_refs?: {
|
|
670
|
+
[key: string]: components["schemas"]["ContentRef"];
|
|
671
|
+
};
|
|
672
|
+
/**
|
|
673
|
+
* Ended At
|
|
674
|
+
* @default null
|
|
675
|
+
*/
|
|
676
|
+
ended_at?: string | null;
|
|
677
|
+
/** First Stream Id */
|
|
678
|
+
first_stream_id: string;
|
|
679
|
+
/** Id */
|
|
680
|
+
id: string;
|
|
681
|
+
kind: components["schemas"]["ItemKind"];
|
|
682
|
+
/** Last Stream Id */
|
|
683
|
+
last_stream_id: string;
|
|
684
|
+
/** Ordinal */
|
|
685
|
+
ordinal: number;
|
|
686
|
+
/**
|
|
687
|
+
* Started At
|
|
688
|
+
* Format: date-time
|
|
689
|
+
*/
|
|
690
|
+
started_at: string;
|
|
691
|
+
state: components["schemas"]["ItemState"];
|
|
692
|
+
};
|
|
693
|
+
/** @enum {string} */
|
|
694
|
+
ItemKind: "text_message" | "reasoning_message" | "tool_call" | "observation";
|
|
695
|
+
/**
|
|
696
|
+
* ItemRef
|
|
697
|
+
* @description The item a live event changed, and its state after the event.
|
|
698
|
+
*/
|
|
699
|
+
ItemRef: {
|
|
700
|
+
/**
|
|
701
|
+
* Failure
|
|
702
|
+
* @default null
|
|
703
|
+
*/
|
|
704
|
+
failure?: {
|
|
705
|
+
[key: string]: components["schemas"]["JsonValue"];
|
|
706
|
+
} | null;
|
|
707
|
+
/** Id */
|
|
708
|
+
id: string;
|
|
709
|
+
kind: components["schemas"]["ItemKind"];
|
|
710
|
+
/**
|
|
711
|
+
* Memory Sources
|
|
712
|
+
* @default null
|
|
713
|
+
*/
|
|
714
|
+
memory_sources?: components["schemas"]["MemorySource"][] | null;
|
|
715
|
+
/**
|
|
716
|
+
* Ordinal
|
|
717
|
+
* @default null
|
|
718
|
+
*/
|
|
719
|
+
ordinal?: number | null;
|
|
720
|
+
/**
|
|
721
|
+
* Response Group
|
|
722
|
+
* @default null
|
|
723
|
+
*/
|
|
724
|
+
response_group?: string | null;
|
|
725
|
+
state: components["schemas"]["ItemState"];
|
|
726
|
+
};
|
|
727
|
+
/** @enum {string} */
|
|
728
|
+
ItemState: "in_progress" | "completed" | "interrupted" | "failed";
|
|
729
|
+
/** JsonPart */
|
|
730
|
+
JsonPart: {
|
|
731
|
+
/**
|
|
732
|
+
* @description discriminator enum property added by openapi-typescript
|
|
733
|
+
* @enum {string}
|
|
734
|
+
*/
|
|
735
|
+
type: "json";
|
|
736
|
+
value: components["schemas"]["JsonValue"];
|
|
737
|
+
text?: never;
|
|
738
|
+
asset_id?: never;
|
|
739
|
+
url?: never;
|
|
740
|
+
};
|
|
741
|
+
JsonValue: unknown;
|
|
742
|
+
/** @enum {string} */
|
|
743
|
+
Lineage: "root" | "continue" | "fork";
|
|
744
|
+
/**
|
|
745
|
+
* MediaUnderstandingSelection
|
|
746
|
+
* @description The model, by key, describing each media kind a model cannot read; a kind without one is unavailable.
|
|
747
|
+
*/
|
|
748
|
+
MediaUnderstandingSelection: {
|
|
749
|
+
/**
|
|
750
|
+
* Audio
|
|
751
|
+
* @default null
|
|
752
|
+
*/
|
|
753
|
+
audio?: string | null;
|
|
754
|
+
/**
|
|
755
|
+
* Image
|
|
756
|
+
* @default null
|
|
757
|
+
*/
|
|
758
|
+
image?: string | null;
|
|
759
|
+
/**
|
|
760
|
+
* Video
|
|
761
|
+
* @default null
|
|
762
|
+
*/
|
|
763
|
+
video?: string | null;
|
|
764
|
+
};
|
|
765
|
+
/** @enum {string} */
|
|
766
|
+
MemoryAccess: "read" | "write";
|
|
767
|
+
/**
|
|
768
|
+
* MemoryMount
|
|
769
|
+
* @description A memory under the name the model addresses it by, exposing the tools its access allows. `recall` lets a
|
|
770
|
+
* record memory recall records into each run's first input; file memories ignore it.
|
|
771
|
+
*/
|
|
772
|
+
MemoryMount: {
|
|
773
|
+
access: components["schemas"]["MemoryAccess"];
|
|
774
|
+
/** Memory Id */
|
|
775
|
+
memory_id: string;
|
|
776
|
+
/** Name */
|
|
777
|
+
name: string;
|
|
778
|
+
/**
|
|
779
|
+
* Recall
|
|
780
|
+
* @default true
|
|
781
|
+
*/
|
|
782
|
+
recall?: boolean;
|
|
783
|
+
};
|
|
784
|
+
/**
|
|
785
|
+
* MemorySource
|
|
786
|
+
* @description One automatic delivery in this Run; content remains in the memory or execution archive.
|
|
787
|
+
*/
|
|
788
|
+
MemorySource: {
|
|
789
|
+
/**
|
|
790
|
+
* Cursor
|
|
791
|
+
* @default null
|
|
792
|
+
*/
|
|
793
|
+
cursor?: string | null;
|
|
794
|
+
/**
|
|
795
|
+
* Files
|
|
796
|
+
* @default []
|
|
797
|
+
*/
|
|
798
|
+
files?: components["schemas"]["FileSource"][];
|
|
799
|
+
/**
|
|
800
|
+
* Kind
|
|
801
|
+
* @enum {string}
|
|
802
|
+
*/
|
|
803
|
+
kind: "record" | "file";
|
|
804
|
+
/** Memory */
|
|
805
|
+
memory: string;
|
|
806
|
+
/**
|
|
807
|
+
* Memory Id
|
|
808
|
+
* @default null
|
|
809
|
+
*/
|
|
810
|
+
memory_id?: string | null;
|
|
811
|
+
/**
|
|
812
|
+
* Records
|
|
813
|
+
* @default []
|
|
814
|
+
*/
|
|
815
|
+
records?: components["schemas"]["RecordSource"][];
|
|
816
|
+
/**
|
|
817
|
+
* Sources Truncated
|
|
818
|
+
* @default false
|
|
819
|
+
*/
|
|
820
|
+
sources_truncated?: boolean;
|
|
821
|
+
/**
|
|
822
|
+
* Status
|
|
823
|
+
* @enum {string}
|
|
824
|
+
*/
|
|
825
|
+
status: "recalled" | "failed" | "timeout" | "full" | "changes" | "unchanged" | "omitted" | "unavailable";
|
|
826
|
+
};
|
|
827
|
+
/** MessagePayload */
|
|
828
|
+
MessagePayload: {
|
|
829
|
+
/** Content */
|
|
830
|
+
content: components["schemas"]["Part"][];
|
|
831
|
+
};
|
|
832
|
+
/**
|
|
833
|
+
* ObserverContinuation
|
|
834
|
+
* @description Native conversion cursors required to resume mid-part, without raw history.
|
|
835
|
+
*/
|
|
836
|
+
ObserverContinuation: {
|
|
837
|
+
/**
|
|
838
|
+
* Run Id
|
|
839
|
+
* @default null
|
|
840
|
+
*/
|
|
841
|
+
run_id?: string | null;
|
|
842
|
+
state?: components["schemas"]["_ObserverState"];
|
|
843
|
+
/**
|
|
844
|
+
* Thread Id
|
|
845
|
+
* @default null
|
|
846
|
+
*/
|
|
847
|
+
thread_id?: string | null;
|
|
848
|
+
};
|
|
849
|
+
/** OccurrenceEvent */
|
|
850
|
+
OccurrenceEvent: {
|
|
851
|
+
occurrence: components["schemas"]["OccurrenceSummary"];
|
|
852
|
+
/** Schedule Id */
|
|
853
|
+
schedule_id: string;
|
|
854
|
+
/** Session Id */
|
|
855
|
+
session_id: string;
|
|
856
|
+
};
|
|
857
|
+
/**
|
|
858
|
+
* OccurrenceExecution
|
|
859
|
+
* @description Current execution observations alongside the durable occurrence completion facts.
|
|
860
|
+
*/
|
|
861
|
+
OccurrenceExecution: {
|
|
862
|
+
/** Has Unfinished Work */
|
|
863
|
+
has_unfinished_work: boolean;
|
|
864
|
+
initial_entry_status: components["schemas"]["EntryStatus"] | null;
|
|
865
|
+
initial_run: components["schemas"]["InitialRun"] | null;
|
|
866
|
+
/**
|
|
867
|
+
* Observed At
|
|
868
|
+
* Format: date-time
|
|
869
|
+
*/
|
|
870
|
+
observed_at: string;
|
|
871
|
+
};
|
|
872
|
+
/** @enum {string} */
|
|
873
|
+
OccurrenceStatus: "pending" | "submitted" | "completed" | "skipped" | "failed" | "cancelled";
|
|
874
|
+
/** OccurrenceSummary */
|
|
875
|
+
OccurrenceSummary: {
|
|
876
|
+
/**
|
|
877
|
+
* Completed At
|
|
878
|
+
* @default null
|
|
879
|
+
*/
|
|
880
|
+
completed_at?: string | null;
|
|
881
|
+
/**
|
|
882
|
+
* Completion Run Id
|
|
883
|
+
* @default null
|
|
884
|
+
*/
|
|
885
|
+
completion_run_id?: string | null;
|
|
886
|
+
/** Covered From At */
|
|
887
|
+
covered_from_at: string | null;
|
|
888
|
+
/**
|
|
889
|
+
* Created At
|
|
890
|
+
* Format: date-time
|
|
891
|
+
*/
|
|
892
|
+
created_at: string;
|
|
893
|
+
/**
|
|
894
|
+
* Deadline At
|
|
895
|
+
* Format: date-time
|
|
896
|
+
*/
|
|
897
|
+
deadline_at: string;
|
|
898
|
+
/** Dispatch Attempts */
|
|
899
|
+
dispatch_attempts: number;
|
|
900
|
+
/** Entry Id */
|
|
901
|
+
entry_id: string | null;
|
|
902
|
+
/** @default null */
|
|
903
|
+
execution?: components["schemas"]["OccurrenceExecution"] | null;
|
|
904
|
+
/**
|
|
905
|
+
* Execution Outcome
|
|
906
|
+
* @default null
|
|
907
|
+
*/
|
|
908
|
+
execution_outcome?: ("succeeded" | "failed" | "cancelled") | null;
|
|
909
|
+
/** Finished At */
|
|
910
|
+
finished_at: string | null;
|
|
911
|
+
/** Id */
|
|
912
|
+
id: string;
|
|
913
|
+
/** Last Error */
|
|
914
|
+
last_error: string | null;
|
|
915
|
+
/** Next Attempt At */
|
|
916
|
+
next_attempt_at: string | null;
|
|
917
|
+
/** Reason */
|
|
918
|
+
reason: string | null;
|
|
919
|
+
/** Schedule Id */
|
|
920
|
+
schedule_id: string;
|
|
921
|
+
/** Schedule Version */
|
|
922
|
+
schedule_version: number;
|
|
923
|
+
/** Scheduled At */
|
|
924
|
+
scheduled_at: string | null;
|
|
925
|
+
/** Session Id */
|
|
926
|
+
session_id: string;
|
|
927
|
+
status: components["schemas"]["OccurrenceStatus"];
|
|
928
|
+
/** Thread Id */
|
|
929
|
+
thread_id: string | null;
|
|
930
|
+
trigger: components["schemas"]["ScheduleTrigger"];
|
|
931
|
+
/**
|
|
932
|
+
* Updated At
|
|
933
|
+
* Format: date-time
|
|
934
|
+
*/
|
|
935
|
+
updated_at: string;
|
|
936
|
+
/** Version */
|
|
937
|
+
version: number;
|
|
938
|
+
};
|
|
939
|
+
/** OnceSchedule */
|
|
940
|
+
OnceSchedule: {
|
|
941
|
+
/**
|
|
942
|
+
* Run At
|
|
943
|
+
* Format: date-time
|
|
944
|
+
*/
|
|
945
|
+
run_at: string;
|
|
946
|
+
/**
|
|
947
|
+
* Type
|
|
948
|
+
* @constant
|
|
949
|
+
*/
|
|
950
|
+
type: "once";
|
|
951
|
+
};
|
|
952
|
+
/**
|
|
953
|
+
* OutputSpec
|
|
954
|
+
* @description Plain text without a schema, one structured output, or at least two named variants.
|
|
955
|
+
*
|
|
956
|
+
* `resources` are the schemas `$ref`s may name besides the schema's own definitions.
|
|
957
|
+
*/
|
|
958
|
+
OutputSpec: {
|
|
959
|
+
/**
|
|
960
|
+
* Description
|
|
961
|
+
* @default null
|
|
962
|
+
*/
|
|
963
|
+
description?: string | null;
|
|
964
|
+
/**
|
|
965
|
+
* Name
|
|
966
|
+
* @default null
|
|
967
|
+
*/
|
|
968
|
+
name?: string | null;
|
|
969
|
+
/** Resources */
|
|
970
|
+
resources?: {
|
|
971
|
+
[key: string]: {
|
|
972
|
+
[key: string]: components["schemas"]["JsonValue"];
|
|
973
|
+
};
|
|
974
|
+
};
|
|
975
|
+
/**
|
|
976
|
+
* Schema
|
|
977
|
+
* @default null
|
|
978
|
+
*/
|
|
979
|
+
schema?: {
|
|
980
|
+
[key: string]: components["schemas"]["JsonValue"];
|
|
981
|
+
} | null;
|
|
982
|
+
/**
|
|
983
|
+
* Variants
|
|
984
|
+
* @default null
|
|
985
|
+
*/
|
|
986
|
+
variants?: components["schemas"]["OutputVariant"][] | null;
|
|
987
|
+
};
|
|
988
|
+
/** OutputVariant */
|
|
989
|
+
OutputVariant: {
|
|
990
|
+
/**
|
|
991
|
+
* Description
|
|
992
|
+
* @default null
|
|
993
|
+
*/
|
|
994
|
+
description?: string | null;
|
|
995
|
+
/** Name */
|
|
996
|
+
name: string;
|
|
997
|
+
/** Resources */
|
|
998
|
+
resources?: {
|
|
999
|
+
[key: string]: {
|
|
1000
|
+
[key: string]: components["schemas"]["JsonValue"];
|
|
1001
|
+
};
|
|
1002
|
+
};
|
|
1003
|
+
/** Schema */
|
|
1004
|
+
schema: {
|
|
1005
|
+
[key: string]: components["schemas"]["JsonValue"];
|
|
1006
|
+
};
|
|
1007
|
+
};
|
|
1008
|
+
Part: components["schemas"]["TextPart"] | components["schemas"]["AssetPart"] | components["schemas"]["UrlPart"] | components["schemas"]["JsonPart"];
|
|
1009
|
+
/**
|
|
1010
|
+
* Pending
|
|
1011
|
+
* @description Public projection; complete native requests and private metadata stay in the checkpoint.
|
|
1012
|
+
*/
|
|
1013
|
+
Pending: {
|
|
1014
|
+
/** Approvals */
|
|
1015
|
+
approvals: components["schemas"]["PendingCall"][];
|
|
1016
|
+
/** Calls */
|
|
1017
|
+
calls: components["schemas"]["PendingCall"][];
|
|
1018
|
+
/**
|
|
1019
|
+
* Desktop Control Id
|
|
1020
|
+
* @default null
|
|
1021
|
+
*/
|
|
1022
|
+
desktop_control_id?: string | null;
|
|
1023
|
+
};
|
|
1024
|
+
/** PendingCall */
|
|
1025
|
+
PendingCall: {
|
|
1026
|
+
/** Arguments */
|
|
1027
|
+
arguments: {
|
|
1028
|
+
[key: string]: components["schemas"]["JsonValue"];
|
|
1029
|
+
};
|
|
1030
|
+
/**
|
|
1031
|
+
* Presentation
|
|
1032
|
+
* @default null
|
|
1033
|
+
*/
|
|
1034
|
+
presentation?: {
|
|
1035
|
+
[key: string]: components["schemas"]["JsonValue"];
|
|
1036
|
+
} | null;
|
|
1037
|
+
tool_call_id: components["schemas"]["ToolCallId"];
|
|
1038
|
+
/** Tool Name */
|
|
1039
|
+
tool_name: string;
|
|
1040
|
+
};
|
|
1041
|
+
/** @enum {string} */
|
|
1042
|
+
PlatformGroup: "agents" | "models" | "connections" | "skills" | "environment_templates" | "providers" | "execution" | "schedules";
|
|
1043
|
+
/**
|
|
1044
|
+
* PluginSelection
|
|
1045
|
+
* @description One instance of a Harness plugin factory the deployment installed.
|
|
1046
|
+
*/
|
|
1047
|
+
PluginSelection: {
|
|
1048
|
+
/** Config */
|
|
1049
|
+
config?: {
|
|
1050
|
+
[key: string]: components["schemas"]["JsonValue"];
|
|
1051
|
+
};
|
|
1052
|
+
/** Instance Name */
|
|
1053
|
+
instance_name: string;
|
|
1054
|
+
/** Plugin Key */
|
|
1055
|
+
plugin_key: string;
|
|
1056
|
+
};
|
|
1057
|
+
/** Progress */
|
|
1058
|
+
Progress: {
|
|
1059
|
+
/** Last Occurrence Id */
|
|
1060
|
+
last_occurrence_id: string | null;
|
|
1061
|
+
/** Next Fire At */
|
|
1062
|
+
next_fire_at: string | null;
|
|
1063
|
+
/** Pending Occurrence Id */
|
|
1064
|
+
pending_occurrence_id: string | null;
|
|
1065
|
+
};
|
|
1066
|
+
/** RecordSource */
|
|
1067
|
+
RecordSource: {
|
|
1068
|
+
/** Id */
|
|
1069
|
+
id: string;
|
|
1070
|
+
/** Sha256 */
|
|
1071
|
+
sha256: string;
|
|
1072
|
+
};
|
|
1073
|
+
/**
|
|
1074
|
+
* RequestContext
|
|
1075
|
+
* @description Explicit business headers, frozen in accepted Run options and kept out of model projections.
|
|
1076
|
+
*/
|
|
1077
|
+
RequestContext: {
|
|
1078
|
+
/** Headers */
|
|
1079
|
+
headers?: {
|
|
1080
|
+
[key: string]: string;
|
|
1081
|
+
};
|
|
1082
|
+
};
|
|
1083
|
+
/**
|
|
1084
|
+
* Resume
|
|
1085
|
+
* @description The complete result batch, submitted and stored on the successor without omission defaults.
|
|
1086
|
+
*/
|
|
1087
|
+
Resume: {
|
|
1088
|
+
/** Approvals */
|
|
1089
|
+
approvals: {
|
|
1090
|
+
[key: string]: components["schemas"]["ApprovalDecision"];
|
|
1091
|
+
};
|
|
1092
|
+
/** Calls */
|
|
1093
|
+
calls: {
|
|
1094
|
+
[key: string]: components["schemas"]["CallResult"];
|
|
1095
|
+
};
|
|
1096
|
+
/** @default null */
|
|
1097
|
+
input?: components["schemas"]["MessagePayload"] | null;
|
|
1098
|
+
};
|
|
1099
|
+
/** RetryOverride */
|
|
1100
|
+
RetryOverride: {
|
|
1101
|
+
/**
|
|
1102
|
+
* Output
|
|
1103
|
+
* @default null
|
|
1104
|
+
*/
|
|
1105
|
+
output?: number | null;
|
|
1106
|
+
/**
|
|
1107
|
+
* Tools
|
|
1108
|
+
* @default null
|
|
1109
|
+
*/
|
|
1110
|
+
tools?: number | null;
|
|
1111
|
+
};
|
|
1112
|
+
/**
|
|
1113
|
+
* Returned
|
|
1114
|
+
* @description A JSON tool result. Built-in question values are validated by the Harness.
|
|
1115
|
+
*/
|
|
1116
|
+
Returned: {
|
|
1117
|
+
/**
|
|
1118
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1119
|
+
* @enum {string}
|
|
1120
|
+
*/
|
|
1121
|
+
status: "returned";
|
|
1122
|
+
value: components["schemas"]["JsonValue"];
|
|
1123
|
+
message?: never;
|
|
1124
|
+
};
|
|
1125
|
+
/**
|
|
1126
|
+
* RunConfiguration
|
|
1127
|
+
* @description An accepted snapshot, independent of Agent definitions and Capability configuration.
|
|
1128
|
+
*
|
|
1129
|
+
* Consumers explicitly opt into namespaced extensions and own their validation.
|
|
1130
|
+
* Extension lookups return detached values, not mutable shared state.
|
|
1131
|
+
*/
|
|
1132
|
+
RunConfiguration: {
|
|
1133
|
+
/**
|
|
1134
|
+
* Allowed Hosts
|
|
1135
|
+
* @description Allowed normalized hostnames/IP literals or regex:<Python pattern> rules matched against the entire normalized hostname. Null is unrestricted; an empty array denies all.
|
|
1136
|
+
*/
|
|
1137
|
+
allowed_hosts?: string[] | null;
|
|
1138
|
+
/** Extensions */
|
|
1139
|
+
extensions?: {
|
|
1140
|
+
[key: string]: components["schemas"]["JsonValue"];
|
|
1141
|
+
};
|
|
1142
|
+
};
|
|
1143
|
+
/**
|
|
1144
|
+
* RunOptions
|
|
1145
|
+
* @description What a message may choose for the run it starts. A steer joins a run with the defaults or equal options.
|
|
1146
|
+
*/
|
|
1147
|
+
RunOptions: {
|
|
1148
|
+
/** @default null */
|
|
1149
|
+
configuration?: components["schemas"]["RunConfiguration"] | null;
|
|
1150
|
+
/** @default null */
|
|
1151
|
+
context?: components["schemas"]["RequestContext"] | null;
|
|
1152
|
+
/** @default null */
|
|
1153
|
+
execution?: components["schemas"]["ExecutionOverride"] | null;
|
|
1154
|
+
/** Labels */
|
|
1155
|
+
labels?: {
|
|
1156
|
+
[key: string]: string;
|
|
1157
|
+
};
|
|
1158
|
+
/** @default null */
|
|
1159
|
+
max_usage?: components["schemas"]["UsageLimit"] | null;
|
|
1160
|
+
/** @default null */
|
|
1161
|
+
overrides?: components["schemas"]["AgentOverride"] | null;
|
|
1162
|
+
};
|
|
1163
|
+
/**
|
|
1164
|
+
* RunSnapshot
|
|
1165
|
+
* @description A run's committed items from ordinal `first` on. The receiver deletes the items it holds from `first` on and
|
|
1166
|
+
* inserts these; earlier items are final. `complete` marks the run's final display.
|
|
1167
|
+
*/
|
|
1168
|
+
RunSnapshot: {
|
|
1169
|
+
/** Complete */
|
|
1170
|
+
complete: boolean;
|
|
1171
|
+
continuation: components["schemas"]["DisplayContinuation"] | null;
|
|
1172
|
+
/** First */
|
|
1173
|
+
first: number;
|
|
1174
|
+
/** Items */
|
|
1175
|
+
items: components["schemas"]["Item"][];
|
|
1176
|
+
/** Run Id */
|
|
1177
|
+
run_id: string;
|
|
1178
|
+
/** Thread Id */
|
|
1179
|
+
thread_id: string;
|
|
1180
|
+
};
|
|
1181
|
+
/** @enum {string} */
|
|
1182
|
+
RunStatus: "accepted" | "running" | "waiting" | "completed" | "failed" | "cancelled";
|
|
1183
|
+
/** RunView */
|
|
1184
|
+
RunView: {
|
|
1185
|
+
/** Agent Id */
|
|
1186
|
+
agent_id: string;
|
|
1187
|
+
/** Agent Revision Id */
|
|
1188
|
+
agent_revision_id: string;
|
|
1189
|
+
/** Attempts */
|
|
1190
|
+
attempts: number;
|
|
1191
|
+
/** Cancel Requested At */
|
|
1192
|
+
cancel_requested_at: string | null;
|
|
1193
|
+
/**
|
|
1194
|
+
* Created At
|
|
1195
|
+
* Format: date-time
|
|
1196
|
+
*/
|
|
1197
|
+
created_at: string;
|
|
1198
|
+
/** Current Attempt Id */
|
|
1199
|
+
current_attempt_id: string | null;
|
|
1200
|
+
/** Environment Mounts */
|
|
1201
|
+
environment_mounts: components["schemas"]["EnvironmentMount"][];
|
|
1202
|
+
failure: components["schemas"]["Failure"] | null;
|
|
1203
|
+
/** Id */
|
|
1204
|
+
id: string;
|
|
1205
|
+
/**
|
|
1206
|
+
* Input
|
|
1207
|
+
* @default null
|
|
1208
|
+
*/
|
|
1209
|
+
input?: {
|
|
1210
|
+
[key: string]: components["schemas"]["JsonValue"];
|
|
1211
|
+
} | null;
|
|
1212
|
+
/** Labels */
|
|
1213
|
+
labels: {
|
|
1214
|
+
[key: string]: string;
|
|
1215
|
+
};
|
|
1216
|
+
lineage: components["schemas"]["Lineage"];
|
|
1217
|
+
/** Max Attempts */
|
|
1218
|
+
max_attempts: number;
|
|
1219
|
+
/** Memory Mounts */
|
|
1220
|
+
memory_mounts: (components["schemas"]["MemoryMount"] | components["schemas"]["FrozenMemoryMount"])[];
|
|
1221
|
+
options: components["schemas"]["RunOptions"];
|
|
1222
|
+
output: components["schemas"]["JsonValue"] | null;
|
|
1223
|
+
/** Parent Run Id */
|
|
1224
|
+
parent_run_id: string | null;
|
|
1225
|
+
pending: components["schemas"]["Pending"] | null;
|
|
1226
|
+
/** Principal Id */
|
|
1227
|
+
principal_id: string;
|
|
1228
|
+
resume: components["schemas"]["Resume"] | null;
|
|
1229
|
+
/** Resumed By Id */
|
|
1230
|
+
resumed_by_id: string | null;
|
|
1231
|
+
/**
|
|
1232
|
+
* Revision Selection
|
|
1233
|
+
* @enum {string}
|
|
1234
|
+
*/
|
|
1235
|
+
revision_selection: "pinned" | "default" | "inherited";
|
|
1236
|
+
/** @default null */
|
|
1237
|
+
schedule_origin?: components["schemas"]["ScheduleOrigin"] | null;
|
|
1238
|
+
/** Sealed At */
|
|
1239
|
+
sealed_at: string | null;
|
|
1240
|
+
/** Session Id */
|
|
1241
|
+
session_id: string;
|
|
1242
|
+
/** Source Entry Id */
|
|
1243
|
+
source_entry_id: string | null;
|
|
1244
|
+
/** Started At */
|
|
1245
|
+
started_at: string | null;
|
|
1246
|
+
status: components["schemas"]["RunStatus"];
|
|
1247
|
+
/** Thread Id */
|
|
1248
|
+
thread_id: string;
|
|
1249
|
+
trigger: components["schemas"]["Trigger"];
|
|
1250
|
+
/**
|
|
1251
|
+
* Updated At
|
|
1252
|
+
* Format: date-time
|
|
1253
|
+
*/
|
|
1254
|
+
updated_at: string;
|
|
1255
|
+
/** Usage At Seal */
|
|
1256
|
+
usage_at_seal: {
|
|
1257
|
+
[key: string]: components["schemas"]["JsonValue"];
|
|
1258
|
+
} | null;
|
|
1259
|
+
/** Version */
|
|
1260
|
+
version: number;
|
|
1261
|
+
wait_reason: components["schemas"]["WaitReason"] | null;
|
|
1262
|
+
/** Workspace Id */
|
|
1263
|
+
workspace_id: string;
|
|
1264
|
+
};
|
|
1265
|
+
/** ScheduleEvent */
|
|
1266
|
+
ScheduleEvent: {
|
|
1267
|
+
configuration: components["schemas"]["Configuration"];
|
|
1268
|
+
progress: components["schemas"]["Progress"];
|
|
1269
|
+
/** Schedule Id */
|
|
1270
|
+
schedule_id: string;
|
|
1271
|
+
/** Session Id */
|
|
1272
|
+
session_id: string;
|
|
1273
|
+
};
|
|
1274
|
+
/** ScheduleOrigin */
|
|
1275
|
+
ScheduleOrigin: {
|
|
1276
|
+
/** Occurrence Id */
|
|
1277
|
+
occurrence_id: string;
|
|
1278
|
+
/** Schedule Id */
|
|
1279
|
+
schedule_id: string;
|
|
1280
|
+
};
|
|
1281
|
+
ScheduleRule: components["schemas"]["CronSchedule"] | components["schemas"]["OnceSchedule"];
|
|
1282
|
+
/** @enum {string} */
|
|
1283
|
+
ScheduleState: "paused" | "enabled" | "completed" | "archived";
|
|
1284
|
+
/** @enum {string} */
|
|
1285
|
+
ScheduleTrigger: "scheduled" | "manual";
|
|
1286
|
+
/**
|
|
1287
|
+
* SharedSkillSync
|
|
1288
|
+
* @description Publish mutable conventional names; the last completed publication wins.
|
|
1289
|
+
*/
|
|
1290
|
+
SharedSkillSync: {
|
|
1291
|
+
/**
|
|
1292
|
+
* Cleanup
|
|
1293
|
+
* @default false
|
|
1294
|
+
*/
|
|
1295
|
+
cleanup?: boolean;
|
|
1296
|
+
/**
|
|
1297
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1298
|
+
* @enum {string}
|
|
1299
|
+
*/
|
|
1300
|
+
mode: "shared";
|
|
1301
|
+
/**
|
|
1302
|
+
* Overwrite
|
|
1303
|
+
* @default true
|
|
1304
|
+
*/
|
|
1305
|
+
overwrite?: boolean;
|
|
1306
|
+
};
|
|
1307
|
+
/** SkillSelection */
|
|
1308
|
+
SkillSelection: {
|
|
1309
|
+
/**
|
|
1310
|
+
* Revision Id
|
|
1311
|
+
* @default null
|
|
1312
|
+
*/
|
|
1313
|
+
revision_id?: string | null;
|
|
1314
|
+
/** Skill Id */
|
|
1315
|
+
skill_id: string;
|
|
1316
|
+
};
|
|
1317
|
+
/** @enum {string} */
|
|
1318
|
+
Steering: "boundary" | "immediate";
|
|
1319
|
+
/** StreamPosition */
|
|
1320
|
+
StreamPosition: {
|
|
1321
|
+
/** Attempt */
|
|
1322
|
+
attempt: number;
|
|
1323
|
+
/** Sequence */
|
|
1324
|
+
sequence: number;
|
|
1325
|
+
};
|
|
1326
|
+
/**
|
|
1327
|
+
* SubagentOverride
|
|
1328
|
+
* @description Replaces the fields it sets of an edge; an edge the revision lacks sets at least `agent_id`.
|
|
1329
|
+
*/
|
|
1330
|
+
SubagentOverride: {
|
|
1331
|
+
/**
|
|
1332
|
+
* Agent Id
|
|
1333
|
+
* @default null
|
|
1334
|
+
*/
|
|
1335
|
+
agent_id?: string | null;
|
|
1336
|
+
/** @default null */
|
|
1337
|
+
context?: components["schemas"]["DelegationContextPolicy"] | null;
|
|
1338
|
+
/**
|
|
1339
|
+
* Description
|
|
1340
|
+
* @default null
|
|
1341
|
+
*/
|
|
1342
|
+
description?: string | null;
|
|
1343
|
+
/** @default null */
|
|
1344
|
+
environment?: components["schemas"]["ChildEnvironmentPolicy"] | null;
|
|
1345
|
+
/**
|
|
1346
|
+
* Revision Id
|
|
1347
|
+
* @default null
|
|
1348
|
+
*/
|
|
1349
|
+
revision_id?: string | null;
|
|
1350
|
+
/** @default null */
|
|
1351
|
+
usage_limits?: components["schemas"]["UsageLimits"] | null;
|
|
1352
|
+
};
|
|
1353
|
+
/** TextPart */
|
|
1354
|
+
TextPart: {
|
|
1355
|
+
/** Text */
|
|
1356
|
+
text: string;
|
|
1357
|
+
/**
|
|
1358
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1359
|
+
* @enum {string}
|
|
1360
|
+
*/
|
|
1361
|
+
type: "text";
|
|
1362
|
+
asset_id?: never;
|
|
1363
|
+
url?: never;
|
|
1364
|
+
value?: never;
|
|
1365
|
+
};
|
|
1366
|
+
/**
|
|
1367
|
+
* ThreadState
|
|
1368
|
+
* @description A thread's current state: the thread, the runs its pointers name and its open inbox entries.
|
|
1369
|
+
*/
|
|
1370
|
+
ThreadState: {
|
|
1371
|
+
current_run: components["schemas"]["RunView"] | null;
|
|
1372
|
+
/** Entries */
|
|
1373
|
+
entries: components["schemas"]["EntryView"][];
|
|
1374
|
+
last_run: components["schemas"]["RunView"] | null;
|
|
1375
|
+
thread: components["schemas"]["ThreadView"];
|
|
1376
|
+
};
|
|
1377
|
+
/** ThreadView */
|
|
1378
|
+
ThreadView: {
|
|
1379
|
+
/** Archived At */
|
|
1380
|
+
archived_at: string | null;
|
|
1381
|
+
/**
|
|
1382
|
+
* Created At
|
|
1383
|
+
* Format: date-time
|
|
1384
|
+
*/
|
|
1385
|
+
created_at: string;
|
|
1386
|
+
/** Current Run Id */
|
|
1387
|
+
current_run_id: string | null;
|
|
1388
|
+
/** @default null */
|
|
1389
|
+
execution?: components["schemas"]["ExecutionOverride"] | null;
|
|
1390
|
+
/** Id */
|
|
1391
|
+
id: string;
|
|
1392
|
+
/** Labels */
|
|
1393
|
+
labels: {
|
|
1394
|
+
[key: string]: string;
|
|
1395
|
+
};
|
|
1396
|
+
/** Last Run Id */
|
|
1397
|
+
last_run_id: string | null;
|
|
1398
|
+
/** Mcp Headers */
|
|
1399
|
+
mcp_headers: {
|
|
1400
|
+
[key: string]: {
|
|
1401
|
+
[key: string]: string;
|
|
1402
|
+
};
|
|
1403
|
+
};
|
|
1404
|
+
/**
|
|
1405
|
+
* Origin
|
|
1406
|
+
* @enum {string}
|
|
1407
|
+
*/
|
|
1408
|
+
origin: "new" | "fork" | "child";
|
|
1409
|
+
/** Origin Run Id */
|
|
1410
|
+
origin_run_id: string | null;
|
|
1411
|
+
/** Origin Thread Id */
|
|
1412
|
+
origin_thread_id: string | null;
|
|
1413
|
+
/** Origin Tool Call Id */
|
|
1414
|
+
origin_tool_call_id: string | null;
|
|
1415
|
+
/**
|
|
1416
|
+
* Purpose
|
|
1417
|
+
* @default conversation
|
|
1418
|
+
* @enum {string}
|
|
1419
|
+
*/
|
|
1420
|
+
purpose?: "conversation" | "memory_organization";
|
|
1421
|
+
/**
|
|
1422
|
+
* Schedule Occurrence Id
|
|
1423
|
+
* @default null
|
|
1424
|
+
*/
|
|
1425
|
+
schedule_occurrence_id?: string | null;
|
|
1426
|
+
/** Session Id */
|
|
1427
|
+
session_id: string;
|
|
1428
|
+
/** Subagent */
|
|
1429
|
+
subagent: string | null;
|
|
1430
|
+
/**
|
|
1431
|
+
* Updated At
|
|
1432
|
+
* Format: date-time
|
|
1433
|
+
*/
|
|
1434
|
+
updated_at: string;
|
|
1435
|
+
/** Version */
|
|
1436
|
+
version: number;
|
|
1437
|
+
/** Workspace Id */
|
|
1438
|
+
workspace_id: string;
|
|
1439
|
+
};
|
|
1440
|
+
ToolCallId: string;
|
|
1441
|
+
/** ToolExecutionOverride */
|
|
1442
|
+
ToolExecutionOverride: {
|
|
1443
|
+
/**
|
|
1444
|
+
* Foreground Wait Seconds
|
|
1445
|
+
* @default null
|
|
1446
|
+
*/
|
|
1447
|
+
foreground_wait_seconds?: number | null;
|
|
1448
|
+
/**
|
|
1449
|
+
* Mode
|
|
1450
|
+
* @default null
|
|
1451
|
+
*/
|
|
1452
|
+
mode?: ("inline" | "auto") | null;
|
|
1453
|
+
};
|
|
1454
|
+
/** @enum {string} */
|
|
1455
|
+
ToolPermissionMode: "allow" | "deny" | "ask" | "review";
|
|
1456
|
+
ToolPermissionSetting: components["schemas"]["ToolPermissionMode"] | "inherit";
|
|
1457
|
+
/**
|
|
1458
|
+
* ToolReviewRule
|
|
1459
|
+
* @description A matching rule overrides the supplied fields of the global policy.
|
|
1460
|
+
*/
|
|
1461
|
+
ToolReviewRule: {
|
|
1462
|
+
/**
|
|
1463
|
+
* On Flagged
|
|
1464
|
+
* @default null
|
|
1465
|
+
*/
|
|
1466
|
+
on_flagged?: ("deny" | "approval_required") | null;
|
|
1467
|
+
/** @default null */
|
|
1468
|
+
risk_threshold?: components["schemas"]["ToolRiskLevel"] | null;
|
|
1469
|
+
};
|
|
1470
|
+
/**
|
|
1471
|
+
* ToolRiskLevel
|
|
1472
|
+
* @enum {string}
|
|
1473
|
+
*/
|
|
1474
|
+
ToolRiskLevel: "low" | "medium" | "high" | "extra_high";
|
|
1475
|
+
/**
|
|
1476
|
+
* ToolSearch
|
|
1477
|
+
* @description Presentation of already-selected sources, composed by Harness once per agent.
|
|
1478
|
+
*/
|
|
1479
|
+
ToolSearch: {
|
|
1480
|
+
config?: components["schemas"]["ToolSearchConfig"];
|
|
1481
|
+
/** Groups */
|
|
1482
|
+
groups?: {
|
|
1483
|
+
[key: string]: components["schemas"]["ToolSearchGroup"];
|
|
1484
|
+
};
|
|
1485
|
+
};
|
|
1486
|
+
/**
|
|
1487
|
+
* ProxyToolSearchConfig
|
|
1488
|
+
* @description Names and bounded discovery settings for one Agent's proxy surface.
|
|
1489
|
+
*/
|
|
1490
|
+
ToolSearchConfig: {
|
|
1491
|
+
/**
|
|
1492
|
+
* Call Name
|
|
1493
|
+
* @default call_tool
|
|
1494
|
+
*/
|
|
1495
|
+
call_name?: string;
|
|
1496
|
+
/**
|
|
1497
|
+
* Describe Name
|
|
1498
|
+
* @default describe_tool
|
|
1499
|
+
*/
|
|
1500
|
+
describe_name?: string;
|
|
1501
|
+
/**
|
|
1502
|
+
* Groups Name
|
|
1503
|
+
* @default list_tool_groups
|
|
1504
|
+
*/
|
|
1505
|
+
groups_name?: string;
|
|
1506
|
+
/**
|
|
1507
|
+
* List Name
|
|
1508
|
+
* @default list_tools
|
|
1509
|
+
*/
|
|
1510
|
+
list_name?: string;
|
|
1511
|
+
/**
|
|
1512
|
+
* Max Results
|
|
1513
|
+
* @default 10
|
|
1514
|
+
*/
|
|
1515
|
+
max_results?: number;
|
|
1516
|
+
/**
|
|
1517
|
+
* Max Search Bytes
|
|
1518
|
+
* @default 32768
|
|
1519
|
+
*/
|
|
1520
|
+
max_search_bytes?: number;
|
|
1521
|
+
/**
|
|
1522
|
+
* Mode
|
|
1523
|
+
* @default proxy
|
|
1524
|
+
* @constant
|
|
1525
|
+
*/
|
|
1526
|
+
mode?: "proxy";
|
|
1527
|
+
/**
|
|
1528
|
+
* Search Name
|
|
1529
|
+
* @default discover_tools
|
|
1530
|
+
*/
|
|
1531
|
+
search_name?: string;
|
|
1532
|
+
};
|
|
1533
|
+
/** ToolSearchGroup */
|
|
1534
|
+
ToolSearchGroup: {
|
|
1535
|
+
/**
|
|
1536
|
+
* Capabilities
|
|
1537
|
+
* @default []
|
|
1538
|
+
*/
|
|
1539
|
+
capabilities?: ("environment" | "web")[];
|
|
1540
|
+
/**
|
|
1541
|
+
* Connections
|
|
1542
|
+
* @default []
|
|
1543
|
+
*/
|
|
1544
|
+
connections?: string[];
|
|
1545
|
+
/** Description */
|
|
1546
|
+
description: string;
|
|
1547
|
+
/**
|
|
1548
|
+
* Platform
|
|
1549
|
+
* @default false
|
|
1550
|
+
*/
|
|
1551
|
+
platform?: boolean;
|
|
1552
|
+
/**
|
|
1553
|
+
* Plugins
|
|
1554
|
+
* @default []
|
|
1555
|
+
*/
|
|
1556
|
+
plugins?: string[];
|
|
1557
|
+
};
|
|
1558
|
+
/** ToolSelection */
|
|
1559
|
+
ToolSelection: {
|
|
1560
|
+
/** Config */
|
|
1561
|
+
config?: {
|
|
1562
|
+
[key: string]: components["schemas"]["JsonValue"];
|
|
1563
|
+
};
|
|
1564
|
+
/**
|
|
1565
|
+
* Enabled
|
|
1566
|
+
* @default true
|
|
1567
|
+
*/
|
|
1568
|
+
enabled?: boolean;
|
|
1569
|
+
/** @default inherit */
|
|
1570
|
+
permission?: components["schemas"]["ToolPermissionSetting"];
|
|
1571
|
+
};
|
|
1572
|
+
ToolsetKey: ("files" | "shell" | "computer" | "web" | "memory" | "assets") | components["schemas"]["PlatformGroup"];
|
|
1573
|
+
/** ToolsetSelection */
|
|
1574
|
+
ToolsetSelection: {
|
|
1575
|
+
/** Config */
|
|
1576
|
+
config?: {
|
|
1577
|
+
[key: string]: components["schemas"]["JsonValue"];
|
|
1578
|
+
};
|
|
1579
|
+
/**
|
|
1580
|
+
* Enabled
|
|
1581
|
+
* @default true
|
|
1582
|
+
*/
|
|
1583
|
+
enabled?: boolean;
|
|
1584
|
+
/** Tools */
|
|
1585
|
+
tools?: {
|
|
1586
|
+
[key: string]: components["schemas"]["ToolSelection"];
|
|
1587
|
+
};
|
|
1588
|
+
};
|
|
1589
|
+
/** @enum {string} */
|
|
1590
|
+
Trigger: "input" | "queued" | "resume" | "child_result" | "tool_result" | "spawned";
|
|
1591
|
+
/** UrlPart */
|
|
1592
|
+
UrlPart: {
|
|
1593
|
+
/**
|
|
1594
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1595
|
+
* @enum {string}
|
|
1596
|
+
*/
|
|
1597
|
+
type: "url";
|
|
1598
|
+
/** Url */
|
|
1599
|
+
url: string;
|
|
1600
|
+
text?: never;
|
|
1601
|
+
asset_id?: never;
|
|
1602
|
+
value?: never;
|
|
1603
|
+
};
|
|
1604
|
+
/** UsageLimit */
|
|
1605
|
+
UsageLimit: {
|
|
1606
|
+
/** Requests */
|
|
1607
|
+
requests: number;
|
|
1608
|
+
};
|
|
1609
|
+
/**
|
|
1610
|
+
* UsageLimits
|
|
1611
|
+
* @description Limits on model usage.
|
|
1612
|
+
*
|
|
1613
|
+
* The request count is tracked by Pydantic AI, and the request limit is checked at the start of each step of the
|
|
1614
|
+
* agent loop. Token counts are provided in responses from the model, and the token limits are checked after each response.
|
|
1615
|
+
*
|
|
1616
|
+
* Each of the limits can be set to `None` to disable that limit.
|
|
1617
|
+
*/
|
|
1618
|
+
UsageLimits: {
|
|
1619
|
+
/**
|
|
1620
|
+
* Cost Limit
|
|
1621
|
+
* @default null
|
|
1622
|
+
*/
|
|
1623
|
+
cost_limit?: string | null;
|
|
1624
|
+
/**
|
|
1625
|
+
* Count Tokens Before Request
|
|
1626
|
+
* @default false
|
|
1627
|
+
*/
|
|
1628
|
+
count_tokens_before_request?: boolean;
|
|
1629
|
+
/**
|
|
1630
|
+
* Input Tokens Limit
|
|
1631
|
+
* @default null
|
|
1632
|
+
*/
|
|
1633
|
+
input_tokens_limit?: number | null;
|
|
1634
|
+
/**
|
|
1635
|
+
* Output Tokens Limit
|
|
1636
|
+
* @default null
|
|
1637
|
+
*/
|
|
1638
|
+
output_tokens_limit?: number | null;
|
|
1639
|
+
/**
|
|
1640
|
+
* Per Request Input Tokens Limit
|
|
1641
|
+
* @default null
|
|
1642
|
+
*/
|
|
1643
|
+
per_request_input_tokens_limit?: number | null;
|
|
1644
|
+
/**
|
|
1645
|
+
* Request Limit
|
|
1646
|
+
* @default 50
|
|
1647
|
+
*/
|
|
1648
|
+
request_limit?: number | null;
|
|
1649
|
+
/**
|
|
1650
|
+
* Tool Calls Limit
|
|
1651
|
+
* @default null
|
|
1652
|
+
*/
|
|
1653
|
+
tool_calls_limit?: number | null;
|
|
1654
|
+
/**
|
|
1655
|
+
* Total Tokens Limit
|
|
1656
|
+
* @default null
|
|
1657
|
+
*/
|
|
1658
|
+
total_tokens_limit?: number | null;
|
|
1659
|
+
};
|
|
1660
|
+
/** @enum {string} */
|
|
1661
|
+
WaitReason: "approval" | "call" | "multiple" | "desktop_control";
|
|
1662
|
+
/**
|
|
1663
|
+
* _Arguments
|
|
1664
|
+
* @description A tool-call part's streamed arguments so far and the one observation item that holds them.
|
|
1665
|
+
*/
|
|
1666
|
+
_Arguments: {
|
|
1667
|
+
/**
|
|
1668
|
+
* At
|
|
1669
|
+
* Format: date-time
|
|
1670
|
+
*/
|
|
1671
|
+
at: string;
|
|
1672
|
+
/** Event */
|
|
1673
|
+
event: {
|
|
1674
|
+
[key: string]: unknown;
|
|
1675
|
+
} | null;
|
|
1676
|
+
/** Key */
|
|
1677
|
+
key: string;
|
|
1678
|
+
/** Sequence */
|
|
1679
|
+
sequence: number;
|
|
1680
|
+
/** Size */
|
|
1681
|
+
size: number;
|
|
1682
|
+
stream: components["schemas"]["JsonValue"];
|
|
1683
|
+
};
|
|
1684
|
+
/** _Assembly */
|
|
1685
|
+
_Assembly: {
|
|
1686
|
+
/** Count */
|
|
1687
|
+
count: number;
|
|
1688
|
+
/** Parts */
|
|
1689
|
+
parts?: string[];
|
|
1690
|
+
/**
|
|
1691
|
+
* Size
|
|
1692
|
+
* @default 0
|
|
1693
|
+
*/
|
|
1694
|
+
size?: number;
|
|
1695
|
+
};
|
|
1696
|
+
/** _ObserverState */
|
|
1697
|
+
_ObserverState: {
|
|
1698
|
+
/** Children */
|
|
1699
|
+
children?: {
|
|
1700
|
+
[key: string]: components["schemas"]["_ObserverState"];
|
|
1701
|
+
};
|
|
1702
|
+
/** Parts */
|
|
1703
|
+
parts?: {
|
|
1704
|
+
[key: string]: components["schemas"]["_PartCursor"];
|
|
1705
|
+
};
|
|
1706
|
+
/**
|
|
1707
|
+
* Request Index
|
|
1708
|
+
* @default 0
|
|
1709
|
+
*/
|
|
1710
|
+
request_index?: number;
|
|
1711
|
+
/** Threads */
|
|
1712
|
+
threads?: {
|
|
1713
|
+
[key: string]: string;
|
|
1714
|
+
};
|
|
1715
|
+
};
|
|
1716
|
+
/** _PartCursor */
|
|
1717
|
+
_PartCursor: {
|
|
1718
|
+
/**
|
|
1719
|
+
* Emitted Content
|
|
1720
|
+
* @default false
|
|
1721
|
+
*/
|
|
1722
|
+
emitted_content?: boolean;
|
|
1723
|
+
/**
|
|
1724
|
+
* Emitted Signature
|
|
1725
|
+
* @default false
|
|
1726
|
+
*/
|
|
1727
|
+
emitted_signature?: boolean;
|
|
1728
|
+
/**
|
|
1729
|
+
* Kind
|
|
1730
|
+
* @enum {string}
|
|
1731
|
+
*/
|
|
1732
|
+
kind: "text" | "reasoning" | "tool_call";
|
|
1733
|
+
/** Part Id */
|
|
1734
|
+
part_id: string;
|
|
1735
|
+
/**
|
|
1736
|
+
* Tool Name
|
|
1737
|
+
* @default null
|
|
1738
|
+
*/
|
|
1739
|
+
tool_name?: string | null;
|
|
1740
|
+
};
|
|
1741
|
+
};
|
|
1742
|
+
responses: never;
|
|
1743
|
+
parameters: never;
|
|
1744
|
+
requestBodies: never;
|
|
1745
|
+
headers: never;
|
|
1746
|
+
pathItems: never;
|
|
1747
|
+
}
|
|
1748
|
+
export type $defs = Record<string, never>;
|
|
1749
|
+
export type operations = Record<string, never>;
|
|
1750
|
+
export type SessionStreamSchemas = components["schemas"];
|
|
1751
|
+
export type SessionStreamFrame = {
|
|
1752
|
+
type: "app_ready";
|
|
1753
|
+
data: components["schemas"]["AppReady"];
|
|
1754
|
+
} | {
|
|
1755
|
+
type: "delta";
|
|
1756
|
+
data: components["schemas"]["Delta"];
|
|
1757
|
+
} | {
|
|
1758
|
+
type: "gap";
|
|
1759
|
+
data: components["schemas"]["Gap"];
|
|
1760
|
+
} | {
|
|
1761
|
+
type: "items";
|
|
1762
|
+
data: components["schemas"]["RunSnapshot"];
|
|
1763
|
+
} | {
|
|
1764
|
+
type: "occurrence";
|
|
1765
|
+
data: components["schemas"]["OccurrenceEvent"];
|
|
1766
|
+
} | {
|
|
1767
|
+
type: "schedule";
|
|
1768
|
+
data: components["schemas"]["ScheduleEvent"];
|
|
1769
|
+
} | {
|
|
1770
|
+
type: "thread";
|
|
1771
|
+
data: components["schemas"]["ThreadState"];
|
|
1772
|
+
};
|
|
1773
|
+
//# sourceMappingURL=session-stream-schema.d.ts.map
|