@deepraxis/sdk 0.0.0-stage → 0.1.0-dev.6cb2ca2
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/LICENSE +202 -0
- package/METHODS.md +1126 -0
- package/README.md +279 -2
- package/dist/automation.d.ts +151 -0
- package/dist/automation.js +8 -0
- package/dist/core/bindings.d.ts +25 -0
- package/dist/core/bindings.js +45 -0
- package/dist/core/client.d.ts +15 -0
- package/dist/core/client.js +15 -0
- package/dist/core/credentials.d.ts +14 -0
- package/dist/core/credentials.js +33 -0
- package/dist/core/errors.d.ts +38 -0
- package/dist/core/errors.js +60 -0
- package/dist/core/multipart.d.ts +2 -0
- package/dist/core/multipart.js +25 -0
- package/dist/core/pagination.d.ts +12 -0
- package/dist/core/pagination.js +26 -0
- package/dist/core/retry.d.ts +13 -0
- package/dist/core/retry.js +56 -0
- package/dist/core/sse.d.ts +13 -0
- package/dist/core/sse.js +67 -0
- package/dist/core/transport.d.ts +36 -0
- package/dist/core/transport.js +121 -0
- package/dist/generated/client/client.gen.d.ts +2 -0
- package/dist/generated/client/client.gen.js +216 -0
- package/dist/generated/client/index.d.ts +10 -0
- package/dist/generated/client/index.js +6 -0
- package/dist/generated/client/types.gen.d.ts +120 -0
- package/dist/generated/client/types.gen.js +2 -0
- package/dist/generated/client/utils.gen.d.ts +37 -0
- package/dist/generated/client/utils.gen.js +228 -0
- package/dist/generated/client.gen.d.ts +12 -0
- package/dist/generated/client.gen.js +3 -0
- package/dist/generated/core/auth.gen.d.ts +25 -0
- package/dist/generated/core/auth.gen.js +14 -0
- package/dist/generated/core/bodySerializer.gen.d.ts +25 -0
- package/dist/generated/core/bodySerializer.gen.js +57 -0
- package/dist/generated/core/params.gen.d.ts +43 -0
- package/dist/generated/core/params.gen.js +109 -0
- package/dist/generated/core/pathSerializer.gen.d.ts +33 -0
- package/dist/generated/core/pathSerializer.gen.js +106 -0
- package/dist/generated/core/queryKeySerializer.gen.d.ts +18 -0
- package/dist/generated/core/queryKeySerializer.gen.js +92 -0
- package/dist/generated/core/serverSentEvents.gen.d.ts +71 -0
- package/dist/generated/core/serverSentEvents.gen.js +132 -0
- package/dist/generated/core/types.gen.d.ts +83 -0
- package/dist/generated/core/types.gen.js +2 -0
- package/dist/generated/core/utils.gen.d.ts +19 -0
- package/dist/generated/core/utils.gen.js +87 -0
- package/dist/generated/index.d.ts +2 -0
- package/dist/generated/index.js +2 -0
- package/dist/generated/sdk.gen.d.ts +2172 -0
- package/dist/generated/sdk.gen.js +6579 -0
- package/dist/generated/types.gen.d.ts +56802 -0
- package/dist/generated/types.gen.js +2 -0
- package/dist/helpers/application-publish.d.ts +41 -0
- package/dist/helpers/application-publish.js +116 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +5 -0
- package/dist/operations.generated.d.ts +10965 -0
- package/dist/operations.generated.js +13837 -0
- package/dist/resources.generated.d.ts +3852 -0
- package/dist/resources.generated.js +724 -0
- package/package.json +50 -4
|
@@ -0,0 +1,3852 @@
|
|
|
1
|
+
import type * as Types from './generated/types.gen.js';
|
|
2
|
+
import type { RenameParameters } from './core/bindings.js';
|
|
3
|
+
import type { Transport } from './core/transport.js';
|
|
4
|
+
export declare function createAgent(transport: Transport): {
|
|
5
|
+
agents: {
|
|
6
|
+
archive: (options: import("./core/transport.js").CallOptions<Types.AgentsArchiveData>) => Promise<{
|
|
7
|
+
id: string;
|
|
8
|
+
archived_at: null | string;
|
|
9
|
+
created_at: string;
|
|
10
|
+
description: null | string;
|
|
11
|
+
mcp_servers: Array<Types.AgentManaged36>;
|
|
12
|
+
metadata: Types.AgentManaged37;
|
|
13
|
+
model: {
|
|
14
|
+
id: "claude-opus-5-5" | "claude-fable-5-1" | "claude-sonnet-5" | "claude-fable-5" | "claude-opus-5" | "claude-opus-4-8" | "claude-opus-4-7" | "claude-opus-4-6" | "claude-sonnet-4-6" | "claude-haiku-4-5" | "claude-haiku-4-5-20251001" | "claude-opus-4-5" | "claude-opus-4-5-20251101" | "claude-sonnet-4-5" | "claude-sonnet-4-5-20250929" | string;
|
|
15
|
+
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
16
|
+
inference_geo?: string;
|
|
17
|
+
speed?: "standard" | "fast";
|
|
18
|
+
settings?: {
|
|
19
|
+
reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
multiagent: null | Types.AgentManaged39;
|
|
23
|
+
name: string;
|
|
24
|
+
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
25
|
+
system: null | string;
|
|
26
|
+
tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
|
|
27
|
+
type: "agent";
|
|
28
|
+
updated_at: string;
|
|
29
|
+
version: number;
|
|
30
|
+
kind: "personal" | "service";
|
|
31
|
+
computer_id?: string;
|
|
32
|
+
subagent_model?: string | null;
|
|
33
|
+
subagents?: Array<{
|
|
34
|
+
name: string;
|
|
35
|
+
description: string;
|
|
36
|
+
prompt: string;
|
|
37
|
+
tools?: Array<string>;
|
|
38
|
+
disallowed_tools?: Array<string>;
|
|
39
|
+
model?: string;
|
|
40
|
+
}> | null;
|
|
41
|
+
commands?: Array<{
|
|
42
|
+
name: string;
|
|
43
|
+
description?: string;
|
|
44
|
+
argument_hint?: string;
|
|
45
|
+
prompt: string;
|
|
46
|
+
}> | null;
|
|
47
|
+
settings?: {
|
|
48
|
+
hooks?: {
|
|
49
|
+
SessionStart?: Array<{
|
|
50
|
+
matcher?: string;
|
|
51
|
+
hooks: Array<{
|
|
52
|
+
type: "command";
|
|
53
|
+
command: string;
|
|
54
|
+
timeout?: number;
|
|
55
|
+
async?: boolean;
|
|
56
|
+
enabled?: boolean;
|
|
57
|
+
}>;
|
|
58
|
+
}>;
|
|
59
|
+
UserPromptSubmit?: Array<{
|
|
60
|
+
matcher?: string;
|
|
61
|
+
hooks: Array<{
|
|
62
|
+
type: "command";
|
|
63
|
+
command: string;
|
|
64
|
+
timeout?: number;
|
|
65
|
+
async?: boolean;
|
|
66
|
+
enabled?: boolean;
|
|
67
|
+
}>;
|
|
68
|
+
}>;
|
|
69
|
+
PreToolUse?: Array<{
|
|
70
|
+
matcher?: string;
|
|
71
|
+
hooks: Array<{
|
|
72
|
+
type: "command";
|
|
73
|
+
command: string;
|
|
74
|
+
timeout?: number;
|
|
75
|
+
async?: boolean;
|
|
76
|
+
enabled?: boolean;
|
|
77
|
+
}>;
|
|
78
|
+
}>;
|
|
79
|
+
PermissionRequest?: Array<{
|
|
80
|
+
matcher?: string;
|
|
81
|
+
hooks: Array<{
|
|
82
|
+
type: "command";
|
|
83
|
+
command: string;
|
|
84
|
+
timeout?: number;
|
|
85
|
+
async?: boolean;
|
|
86
|
+
enabled?: boolean;
|
|
87
|
+
}>;
|
|
88
|
+
}>;
|
|
89
|
+
PostToolUse?: Array<{
|
|
90
|
+
matcher?: string;
|
|
91
|
+
hooks: Array<{
|
|
92
|
+
type: "command";
|
|
93
|
+
command: string;
|
|
94
|
+
timeout?: number;
|
|
95
|
+
async?: boolean;
|
|
96
|
+
enabled?: boolean;
|
|
97
|
+
}>;
|
|
98
|
+
}>;
|
|
99
|
+
PostToolUseFailure?: Array<{
|
|
100
|
+
matcher?: string;
|
|
101
|
+
hooks: Array<{
|
|
102
|
+
type: "command";
|
|
103
|
+
command: string;
|
|
104
|
+
timeout?: number;
|
|
105
|
+
async?: boolean;
|
|
106
|
+
enabled?: boolean;
|
|
107
|
+
}>;
|
|
108
|
+
}>;
|
|
109
|
+
Stop?: Array<{
|
|
110
|
+
matcher?: string;
|
|
111
|
+
hooks: Array<{
|
|
112
|
+
type: "command";
|
|
113
|
+
command: string;
|
|
114
|
+
timeout?: number;
|
|
115
|
+
async?: boolean;
|
|
116
|
+
enabled?: boolean;
|
|
117
|
+
}>;
|
|
118
|
+
}>;
|
|
119
|
+
};
|
|
120
|
+
allowManagedHooksOnly?: boolean;
|
|
121
|
+
allowManagedMcpServersOnly?: boolean;
|
|
122
|
+
allowManagedPermissionRulesOnly?: boolean;
|
|
123
|
+
autoMemoryEnabled?: boolean;
|
|
124
|
+
disabled?: {
|
|
125
|
+
subagents?: Array<string>;
|
|
126
|
+
commands?: Array<string>;
|
|
127
|
+
skills?: Array<string>;
|
|
128
|
+
mcpServers?: Array<string>;
|
|
129
|
+
hooks?: Array<string>;
|
|
130
|
+
};
|
|
131
|
+
} | null;
|
|
132
|
+
models?: {
|
|
133
|
+
allowed: Array<string>;
|
|
134
|
+
};
|
|
135
|
+
}>;
|
|
136
|
+
create: (options: import("./core/transport.js").CallOptions<Types.AgentsCreateData>) => Promise<{
|
|
137
|
+
id: string;
|
|
138
|
+
archived_at: null | string;
|
|
139
|
+
created_at: string;
|
|
140
|
+
description: null | string;
|
|
141
|
+
mcp_servers: Array<Types.AgentManaged36>;
|
|
142
|
+
metadata: Types.AgentManaged37;
|
|
143
|
+
model: {
|
|
144
|
+
id: "claude-opus-5-5" | "claude-fable-5-1" | "claude-sonnet-5" | "claude-fable-5" | "claude-opus-5" | "claude-opus-4-8" | "claude-opus-4-7" | "claude-opus-4-6" | "claude-sonnet-4-6" | "claude-haiku-4-5" | "claude-haiku-4-5-20251001" | "claude-opus-4-5" | "claude-opus-4-5-20251101" | "claude-sonnet-4-5" | "claude-sonnet-4-5-20250929" | string;
|
|
145
|
+
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
146
|
+
inference_geo?: string;
|
|
147
|
+
speed?: "standard" | "fast";
|
|
148
|
+
settings?: {
|
|
149
|
+
reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
|
|
150
|
+
};
|
|
151
|
+
};
|
|
152
|
+
multiagent: null | Types.AgentManaged39;
|
|
153
|
+
name: string;
|
|
154
|
+
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
155
|
+
system: null | string;
|
|
156
|
+
tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
|
|
157
|
+
type: "agent";
|
|
158
|
+
updated_at: string;
|
|
159
|
+
version: number;
|
|
160
|
+
kind: "personal" | "service";
|
|
161
|
+
computer_id?: string;
|
|
162
|
+
subagent_model?: string | null;
|
|
163
|
+
subagents?: Array<{
|
|
164
|
+
name: string;
|
|
165
|
+
description: string;
|
|
166
|
+
prompt: string;
|
|
167
|
+
tools?: Array<string>;
|
|
168
|
+
disallowed_tools?: Array<string>;
|
|
169
|
+
model?: string;
|
|
170
|
+
}> | null;
|
|
171
|
+
commands?: Array<{
|
|
172
|
+
name: string;
|
|
173
|
+
description?: string;
|
|
174
|
+
argument_hint?: string;
|
|
175
|
+
prompt: string;
|
|
176
|
+
}> | null;
|
|
177
|
+
settings?: {
|
|
178
|
+
hooks?: {
|
|
179
|
+
SessionStart?: Array<{
|
|
180
|
+
matcher?: string;
|
|
181
|
+
hooks: Array<{
|
|
182
|
+
type: "command";
|
|
183
|
+
command: string;
|
|
184
|
+
timeout?: number;
|
|
185
|
+
async?: boolean;
|
|
186
|
+
enabled?: boolean;
|
|
187
|
+
}>;
|
|
188
|
+
}>;
|
|
189
|
+
UserPromptSubmit?: Array<{
|
|
190
|
+
matcher?: string;
|
|
191
|
+
hooks: Array<{
|
|
192
|
+
type: "command";
|
|
193
|
+
command: string;
|
|
194
|
+
timeout?: number;
|
|
195
|
+
async?: boolean;
|
|
196
|
+
enabled?: boolean;
|
|
197
|
+
}>;
|
|
198
|
+
}>;
|
|
199
|
+
PreToolUse?: Array<{
|
|
200
|
+
matcher?: string;
|
|
201
|
+
hooks: Array<{
|
|
202
|
+
type: "command";
|
|
203
|
+
command: string;
|
|
204
|
+
timeout?: number;
|
|
205
|
+
async?: boolean;
|
|
206
|
+
enabled?: boolean;
|
|
207
|
+
}>;
|
|
208
|
+
}>;
|
|
209
|
+
PermissionRequest?: Array<{
|
|
210
|
+
matcher?: string;
|
|
211
|
+
hooks: Array<{
|
|
212
|
+
type: "command";
|
|
213
|
+
command: string;
|
|
214
|
+
timeout?: number;
|
|
215
|
+
async?: boolean;
|
|
216
|
+
enabled?: boolean;
|
|
217
|
+
}>;
|
|
218
|
+
}>;
|
|
219
|
+
PostToolUse?: Array<{
|
|
220
|
+
matcher?: string;
|
|
221
|
+
hooks: Array<{
|
|
222
|
+
type: "command";
|
|
223
|
+
command: string;
|
|
224
|
+
timeout?: number;
|
|
225
|
+
async?: boolean;
|
|
226
|
+
enabled?: boolean;
|
|
227
|
+
}>;
|
|
228
|
+
}>;
|
|
229
|
+
PostToolUseFailure?: Array<{
|
|
230
|
+
matcher?: string;
|
|
231
|
+
hooks: Array<{
|
|
232
|
+
type: "command";
|
|
233
|
+
command: string;
|
|
234
|
+
timeout?: number;
|
|
235
|
+
async?: boolean;
|
|
236
|
+
enabled?: boolean;
|
|
237
|
+
}>;
|
|
238
|
+
}>;
|
|
239
|
+
Stop?: Array<{
|
|
240
|
+
matcher?: string;
|
|
241
|
+
hooks: Array<{
|
|
242
|
+
type: "command";
|
|
243
|
+
command: string;
|
|
244
|
+
timeout?: number;
|
|
245
|
+
async?: boolean;
|
|
246
|
+
enabled?: boolean;
|
|
247
|
+
}>;
|
|
248
|
+
}>;
|
|
249
|
+
};
|
|
250
|
+
allowManagedHooksOnly?: boolean;
|
|
251
|
+
allowManagedMcpServersOnly?: boolean;
|
|
252
|
+
allowManagedPermissionRulesOnly?: boolean;
|
|
253
|
+
autoMemoryEnabled?: boolean;
|
|
254
|
+
disabled?: {
|
|
255
|
+
subagents?: Array<string>;
|
|
256
|
+
commands?: Array<string>;
|
|
257
|
+
skills?: Array<string>;
|
|
258
|
+
mcpServers?: Array<string>;
|
|
259
|
+
hooks?: Array<string>;
|
|
260
|
+
};
|
|
261
|
+
} | null;
|
|
262
|
+
models?: {
|
|
263
|
+
allowed: Array<string>;
|
|
264
|
+
};
|
|
265
|
+
}>;
|
|
266
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.AgentsListData> | undefined) => Promise<{
|
|
267
|
+
data: Array<{
|
|
268
|
+
id: string;
|
|
269
|
+
archived_at: null | string;
|
|
270
|
+
created_at: string;
|
|
271
|
+
description: null | string;
|
|
272
|
+
mcp_servers: Array<Types.AgentManaged36>;
|
|
273
|
+
metadata: Types.AgentManaged37;
|
|
274
|
+
model: {
|
|
275
|
+
id: "claude-opus-5-5" | "claude-fable-5-1" | "claude-sonnet-5" | "claude-fable-5" | "claude-opus-5" | "claude-opus-4-8" | "claude-opus-4-7" | "claude-opus-4-6" | "claude-sonnet-4-6" | "claude-haiku-4-5" | "claude-haiku-4-5-20251001" | "claude-opus-4-5" | "claude-opus-4-5-20251101" | "claude-sonnet-4-5" | "claude-sonnet-4-5-20250929" | string;
|
|
276
|
+
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
277
|
+
inference_geo?: string;
|
|
278
|
+
speed?: "standard" | "fast";
|
|
279
|
+
settings?: {
|
|
280
|
+
reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
|
|
281
|
+
};
|
|
282
|
+
};
|
|
283
|
+
multiagent: null | Types.AgentManaged39;
|
|
284
|
+
name: string;
|
|
285
|
+
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
286
|
+
system: null | string;
|
|
287
|
+
tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
|
|
288
|
+
type: "agent";
|
|
289
|
+
updated_at: string;
|
|
290
|
+
version: number;
|
|
291
|
+
kind: "personal" | "service";
|
|
292
|
+
computer_id?: string;
|
|
293
|
+
subagent_model?: string | null;
|
|
294
|
+
subagents?: Array<{
|
|
295
|
+
name: string;
|
|
296
|
+
description: string;
|
|
297
|
+
prompt: string;
|
|
298
|
+
tools?: Array<string>;
|
|
299
|
+
disallowed_tools?: Array<string>;
|
|
300
|
+
model?: string;
|
|
301
|
+
}> | null;
|
|
302
|
+
commands?: Array<{
|
|
303
|
+
name: string;
|
|
304
|
+
description?: string;
|
|
305
|
+
argument_hint?: string;
|
|
306
|
+
prompt: string;
|
|
307
|
+
}> | null;
|
|
308
|
+
settings?: {
|
|
309
|
+
hooks?: {
|
|
310
|
+
SessionStart?: Array<{
|
|
311
|
+
matcher?: string;
|
|
312
|
+
hooks: Array<{
|
|
313
|
+
type: "command";
|
|
314
|
+
command: string;
|
|
315
|
+
timeout?: number;
|
|
316
|
+
async?: boolean;
|
|
317
|
+
enabled?: boolean;
|
|
318
|
+
}>;
|
|
319
|
+
}>;
|
|
320
|
+
UserPromptSubmit?: Array<{
|
|
321
|
+
matcher?: string;
|
|
322
|
+
hooks: Array<{
|
|
323
|
+
type: "command";
|
|
324
|
+
command: string;
|
|
325
|
+
timeout?: number;
|
|
326
|
+
async?: boolean;
|
|
327
|
+
enabled?: boolean;
|
|
328
|
+
}>;
|
|
329
|
+
}>;
|
|
330
|
+
PreToolUse?: Array<{
|
|
331
|
+
matcher?: string;
|
|
332
|
+
hooks: Array<{
|
|
333
|
+
type: "command";
|
|
334
|
+
command: string;
|
|
335
|
+
timeout?: number;
|
|
336
|
+
async?: boolean;
|
|
337
|
+
enabled?: boolean;
|
|
338
|
+
}>;
|
|
339
|
+
}>;
|
|
340
|
+
PermissionRequest?: Array<{
|
|
341
|
+
matcher?: string;
|
|
342
|
+
hooks: Array<{
|
|
343
|
+
type: "command";
|
|
344
|
+
command: string;
|
|
345
|
+
timeout?: number;
|
|
346
|
+
async?: boolean;
|
|
347
|
+
enabled?: boolean;
|
|
348
|
+
}>;
|
|
349
|
+
}>;
|
|
350
|
+
PostToolUse?: Array<{
|
|
351
|
+
matcher?: string;
|
|
352
|
+
hooks: Array<{
|
|
353
|
+
type: "command";
|
|
354
|
+
command: string;
|
|
355
|
+
timeout?: number;
|
|
356
|
+
async?: boolean;
|
|
357
|
+
enabled?: boolean;
|
|
358
|
+
}>;
|
|
359
|
+
}>;
|
|
360
|
+
PostToolUseFailure?: Array<{
|
|
361
|
+
matcher?: string;
|
|
362
|
+
hooks: Array<{
|
|
363
|
+
type: "command";
|
|
364
|
+
command: string;
|
|
365
|
+
timeout?: number;
|
|
366
|
+
async?: boolean;
|
|
367
|
+
enabled?: boolean;
|
|
368
|
+
}>;
|
|
369
|
+
}>;
|
|
370
|
+
Stop?: Array<{
|
|
371
|
+
matcher?: string;
|
|
372
|
+
hooks: Array<{
|
|
373
|
+
type: "command";
|
|
374
|
+
command: string;
|
|
375
|
+
timeout?: number;
|
|
376
|
+
async?: boolean;
|
|
377
|
+
enabled?: boolean;
|
|
378
|
+
}>;
|
|
379
|
+
}>;
|
|
380
|
+
};
|
|
381
|
+
allowManagedHooksOnly?: boolean;
|
|
382
|
+
allowManagedMcpServersOnly?: boolean;
|
|
383
|
+
allowManagedPermissionRulesOnly?: boolean;
|
|
384
|
+
autoMemoryEnabled?: boolean;
|
|
385
|
+
disabled?: {
|
|
386
|
+
subagents?: Array<string>;
|
|
387
|
+
commands?: Array<string>;
|
|
388
|
+
skills?: Array<string>;
|
|
389
|
+
mcpServers?: Array<string>;
|
|
390
|
+
hooks?: Array<string>;
|
|
391
|
+
};
|
|
392
|
+
} | null;
|
|
393
|
+
models?: {
|
|
394
|
+
allowed: Array<string>;
|
|
395
|
+
};
|
|
396
|
+
}>;
|
|
397
|
+
next_page: string | null;
|
|
398
|
+
}>;
|
|
399
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.AgentsRetrieveData>) => Promise<{
|
|
400
|
+
id: string;
|
|
401
|
+
archived_at: null | string;
|
|
402
|
+
created_at: string;
|
|
403
|
+
description: null | string;
|
|
404
|
+
mcp_servers: Array<Types.AgentManaged36>;
|
|
405
|
+
metadata: Types.AgentManaged37;
|
|
406
|
+
model: {
|
|
407
|
+
id: "claude-opus-5-5" | "claude-fable-5-1" | "claude-sonnet-5" | "claude-fable-5" | "claude-opus-5" | "claude-opus-4-8" | "claude-opus-4-7" | "claude-opus-4-6" | "claude-sonnet-4-6" | "claude-haiku-4-5" | "claude-haiku-4-5-20251001" | "claude-opus-4-5" | "claude-opus-4-5-20251101" | "claude-sonnet-4-5" | "claude-sonnet-4-5-20250929" | string;
|
|
408
|
+
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
409
|
+
inference_geo?: string;
|
|
410
|
+
speed?: "standard" | "fast";
|
|
411
|
+
settings?: {
|
|
412
|
+
reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
|
|
413
|
+
};
|
|
414
|
+
};
|
|
415
|
+
multiagent: null | Types.AgentManaged39;
|
|
416
|
+
name: string;
|
|
417
|
+
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
418
|
+
system: null | string;
|
|
419
|
+
tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
|
|
420
|
+
type: "agent";
|
|
421
|
+
updated_at: string;
|
|
422
|
+
version: number;
|
|
423
|
+
kind: "personal" | "service";
|
|
424
|
+
computer_id?: string;
|
|
425
|
+
subagent_model?: string | null;
|
|
426
|
+
subagents?: Array<{
|
|
427
|
+
name: string;
|
|
428
|
+
description: string;
|
|
429
|
+
prompt: string;
|
|
430
|
+
tools?: Array<string>;
|
|
431
|
+
disallowed_tools?: Array<string>;
|
|
432
|
+
model?: string;
|
|
433
|
+
}> | null;
|
|
434
|
+
commands?: Array<{
|
|
435
|
+
name: string;
|
|
436
|
+
description?: string;
|
|
437
|
+
argument_hint?: string;
|
|
438
|
+
prompt: string;
|
|
439
|
+
}> | null;
|
|
440
|
+
settings?: {
|
|
441
|
+
hooks?: {
|
|
442
|
+
SessionStart?: Array<{
|
|
443
|
+
matcher?: string;
|
|
444
|
+
hooks: Array<{
|
|
445
|
+
type: "command";
|
|
446
|
+
command: string;
|
|
447
|
+
timeout?: number;
|
|
448
|
+
async?: boolean;
|
|
449
|
+
enabled?: boolean;
|
|
450
|
+
}>;
|
|
451
|
+
}>;
|
|
452
|
+
UserPromptSubmit?: Array<{
|
|
453
|
+
matcher?: string;
|
|
454
|
+
hooks: Array<{
|
|
455
|
+
type: "command";
|
|
456
|
+
command: string;
|
|
457
|
+
timeout?: number;
|
|
458
|
+
async?: boolean;
|
|
459
|
+
enabled?: boolean;
|
|
460
|
+
}>;
|
|
461
|
+
}>;
|
|
462
|
+
PreToolUse?: Array<{
|
|
463
|
+
matcher?: string;
|
|
464
|
+
hooks: Array<{
|
|
465
|
+
type: "command";
|
|
466
|
+
command: string;
|
|
467
|
+
timeout?: number;
|
|
468
|
+
async?: boolean;
|
|
469
|
+
enabled?: boolean;
|
|
470
|
+
}>;
|
|
471
|
+
}>;
|
|
472
|
+
PermissionRequest?: Array<{
|
|
473
|
+
matcher?: string;
|
|
474
|
+
hooks: Array<{
|
|
475
|
+
type: "command";
|
|
476
|
+
command: string;
|
|
477
|
+
timeout?: number;
|
|
478
|
+
async?: boolean;
|
|
479
|
+
enabled?: boolean;
|
|
480
|
+
}>;
|
|
481
|
+
}>;
|
|
482
|
+
PostToolUse?: Array<{
|
|
483
|
+
matcher?: string;
|
|
484
|
+
hooks: Array<{
|
|
485
|
+
type: "command";
|
|
486
|
+
command: string;
|
|
487
|
+
timeout?: number;
|
|
488
|
+
async?: boolean;
|
|
489
|
+
enabled?: boolean;
|
|
490
|
+
}>;
|
|
491
|
+
}>;
|
|
492
|
+
PostToolUseFailure?: Array<{
|
|
493
|
+
matcher?: string;
|
|
494
|
+
hooks: Array<{
|
|
495
|
+
type: "command";
|
|
496
|
+
command: string;
|
|
497
|
+
timeout?: number;
|
|
498
|
+
async?: boolean;
|
|
499
|
+
enabled?: boolean;
|
|
500
|
+
}>;
|
|
501
|
+
}>;
|
|
502
|
+
Stop?: Array<{
|
|
503
|
+
matcher?: string;
|
|
504
|
+
hooks: Array<{
|
|
505
|
+
type: "command";
|
|
506
|
+
command: string;
|
|
507
|
+
timeout?: number;
|
|
508
|
+
async?: boolean;
|
|
509
|
+
enabled?: boolean;
|
|
510
|
+
}>;
|
|
511
|
+
}>;
|
|
512
|
+
};
|
|
513
|
+
allowManagedHooksOnly?: boolean;
|
|
514
|
+
allowManagedMcpServersOnly?: boolean;
|
|
515
|
+
allowManagedPermissionRulesOnly?: boolean;
|
|
516
|
+
autoMemoryEnabled?: boolean;
|
|
517
|
+
disabled?: {
|
|
518
|
+
subagents?: Array<string>;
|
|
519
|
+
commands?: Array<string>;
|
|
520
|
+
skills?: Array<string>;
|
|
521
|
+
mcpServers?: Array<string>;
|
|
522
|
+
hooks?: Array<string>;
|
|
523
|
+
};
|
|
524
|
+
} | null;
|
|
525
|
+
models?: {
|
|
526
|
+
allowed: Array<string>;
|
|
527
|
+
};
|
|
528
|
+
}>;
|
|
529
|
+
update: (options: import("./core/transport.js").CallOptions<Types.AgentsUpdateData>) => Promise<{
|
|
530
|
+
id: string;
|
|
531
|
+
archived_at: null | string;
|
|
532
|
+
created_at: string;
|
|
533
|
+
description: null | string;
|
|
534
|
+
mcp_servers: Array<Types.AgentManaged36>;
|
|
535
|
+
metadata: Types.AgentManaged37;
|
|
536
|
+
model: {
|
|
537
|
+
id: "claude-opus-5-5" | "claude-fable-5-1" | "claude-sonnet-5" | "claude-fable-5" | "claude-opus-5" | "claude-opus-4-8" | "claude-opus-4-7" | "claude-opus-4-6" | "claude-sonnet-4-6" | "claude-haiku-4-5" | "claude-haiku-4-5-20251001" | "claude-opus-4-5" | "claude-opus-4-5-20251101" | "claude-sonnet-4-5" | "claude-sonnet-4-5-20250929" | string;
|
|
538
|
+
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
539
|
+
inference_geo?: string;
|
|
540
|
+
speed?: "standard" | "fast";
|
|
541
|
+
settings?: {
|
|
542
|
+
reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
|
|
543
|
+
};
|
|
544
|
+
};
|
|
545
|
+
multiagent: null | Types.AgentManaged39;
|
|
546
|
+
name: string;
|
|
547
|
+
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
548
|
+
system: null | string;
|
|
549
|
+
tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
|
|
550
|
+
type: "agent";
|
|
551
|
+
updated_at: string;
|
|
552
|
+
version: number;
|
|
553
|
+
kind: "personal" | "service";
|
|
554
|
+
computer_id?: string;
|
|
555
|
+
subagent_model?: string | null;
|
|
556
|
+
subagents?: Array<{
|
|
557
|
+
name: string;
|
|
558
|
+
description: string;
|
|
559
|
+
prompt: string;
|
|
560
|
+
tools?: Array<string>;
|
|
561
|
+
disallowed_tools?: Array<string>;
|
|
562
|
+
model?: string;
|
|
563
|
+
}> | null;
|
|
564
|
+
commands?: Array<{
|
|
565
|
+
name: string;
|
|
566
|
+
description?: string;
|
|
567
|
+
argument_hint?: string;
|
|
568
|
+
prompt: string;
|
|
569
|
+
}> | null;
|
|
570
|
+
settings?: {
|
|
571
|
+
hooks?: {
|
|
572
|
+
SessionStart?: Array<{
|
|
573
|
+
matcher?: string;
|
|
574
|
+
hooks: Array<{
|
|
575
|
+
type: "command";
|
|
576
|
+
command: string;
|
|
577
|
+
timeout?: number;
|
|
578
|
+
async?: boolean;
|
|
579
|
+
enabled?: boolean;
|
|
580
|
+
}>;
|
|
581
|
+
}>;
|
|
582
|
+
UserPromptSubmit?: Array<{
|
|
583
|
+
matcher?: string;
|
|
584
|
+
hooks: Array<{
|
|
585
|
+
type: "command";
|
|
586
|
+
command: string;
|
|
587
|
+
timeout?: number;
|
|
588
|
+
async?: boolean;
|
|
589
|
+
enabled?: boolean;
|
|
590
|
+
}>;
|
|
591
|
+
}>;
|
|
592
|
+
PreToolUse?: Array<{
|
|
593
|
+
matcher?: string;
|
|
594
|
+
hooks: Array<{
|
|
595
|
+
type: "command";
|
|
596
|
+
command: string;
|
|
597
|
+
timeout?: number;
|
|
598
|
+
async?: boolean;
|
|
599
|
+
enabled?: boolean;
|
|
600
|
+
}>;
|
|
601
|
+
}>;
|
|
602
|
+
PermissionRequest?: Array<{
|
|
603
|
+
matcher?: string;
|
|
604
|
+
hooks: Array<{
|
|
605
|
+
type: "command";
|
|
606
|
+
command: string;
|
|
607
|
+
timeout?: number;
|
|
608
|
+
async?: boolean;
|
|
609
|
+
enabled?: boolean;
|
|
610
|
+
}>;
|
|
611
|
+
}>;
|
|
612
|
+
PostToolUse?: Array<{
|
|
613
|
+
matcher?: string;
|
|
614
|
+
hooks: Array<{
|
|
615
|
+
type: "command";
|
|
616
|
+
command: string;
|
|
617
|
+
timeout?: number;
|
|
618
|
+
async?: boolean;
|
|
619
|
+
enabled?: boolean;
|
|
620
|
+
}>;
|
|
621
|
+
}>;
|
|
622
|
+
PostToolUseFailure?: Array<{
|
|
623
|
+
matcher?: string;
|
|
624
|
+
hooks: Array<{
|
|
625
|
+
type: "command";
|
|
626
|
+
command: string;
|
|
627
|
+
timeout?: number;
|
|
628
|
+
async?: boolean;
|
|
629
|
+
enabled?: boolean;
|
|
630
|
+
}>;
|
|
631
|
+
}>;
|
|
632
|
+
Stop?: Array<{
|
|
633
|
+
matcher?: string;
|
|
634
|
+
hooks: Array<{
|
|
635
|
+
type: "command";
|
|
636
|
+
command: string;
|
|
637
|
+
timeout?: number;
|
|
638
|
+
async?: boolean;
|
|
639
|
+
enabled?: boolean;
|
|
640
|
+
}>;
|
|
641
|
+
}>;
|
|
642
|
+
};
|
|
643
|
+
allowManagedHooksOnly?: boolean;
|
|
644
|
+
allowManagedMcpServersOnly?: boolean;
|
|
645
|
+
allowManagedPermissionRulesOnly?: boolean;
|
|
646
|
+
autoMemoryEnabled?: boolean;
|
|
647
|
+
disabled?: {
|
|
648
|
+
subagents?: Array<string>;
|
|
649
|
+
commands?: Array<string>;
|
|
650
|
+
skills?: Array<string>;
|
|
651
|
+
mcpServers?: Array<string>;
|
|
652
|
+
hooks?: Array<string>;
|
|
653
|
+
};
|
|
654
|
+
} | null;
|
|
655
|
+
models?: {
|
|
656
|
+
allowed: Array<string>;
|
|
657
|
+
};
|
|
658
|
+
}>;
|
|
659
|
+
versions: {
|
|
660
|
+
list: (options: import("./core/transport.js").CallOptions<Types.AgentsVersionsListData>) => Promise<{
|
|
661
|
+
data: Array<{
|
|
662
|
+
id: string;
|
|
663
|
+
archived_at: null | string;
|
|
664
|
+
created_at: string;
|
|
665
|
+
description: null | string;
|
|
666
|
+
mcp_servers: Array<Types.AgentManaged36>;
|
|
667
|
+
metadata: Types.AgentManaged37;
|
|
668
|
+
model: {
|
|
669
|
+
id: "claude-opus-5-5" | "claude-fable-5-1" | "claude-sonnet-5" | "claude-fable-5" | "claude-opus-5" | "claude-opus-4-8" | "claude-opus-4-7" | "claude-opus-4-6" | "claude-sonnet-4-6" | "claude-haiku-4-5" | "claude-haiku-4-5-20251001" | "claude-opus-4-5" | "claude-opus-4-5-20251101" | "claude-sonnet-4-5" | "claude-sonnet-4-5-20250929" | string;
|
|
670
|
+
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
671
|
+
inference_geo?: string;
|
|
672
|
+
speed?: "standard" | "fast";
|
|
673
|
+
settings?: {
|
|
674
|
+
reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
|
|
675
|
+
};
|
|
676
|
+
};
|
|
677
|
+
multiagent: null | Types.AgentManaged39;
|
|
678
|
+
name: string;
|
|
679
|
+
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
680
|
+
system: null | string;
|
|
681
|
+
tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
|
|
682
|
+
type: "agent";
|
|
683
|
+
updated_at: string;
|
|
684
|
+
version: number;
|
|
685
|
+
kind: "personal" | "service";
|
|
686
|
+
computer_id?: string;
|
|
687
|
+
subagent_model?: string | null;
|
|
688
|
+
subagents?: Array<{
|
|
689
|
+
name: string;
|
|
690
|
+
description: string;
|
|
691
|
+
prompt: string;
|
|
692
|
+
tools?: Array<string>;
|
|
693
|
+
disallowed_tools?: Array<string>;
|
|
694
|
+
model?: string;
|
|
695
|
+
}> | null;
|
|
696
|
+
commands?: Array<{
|
|
697
|
+
name: string;
|
|
698
|
+
description?: string;
|
|
699
|
+
argument_hint?: string;
|
|
700
|
+
prompt: string;
|
|
701
|
+
}> | null;
|
|
702
|
+
settings?: {
|
|
703
|
+
hooks?: {
|
|
704
|
+
SessionStart?: Array<{
|
|
705
|
+
matcher?: string;
|
|
706
|
+
hooks: Array<{
|
|
707
|
+
type: "command";
|
|
708
|
+
command: string;
|
|
709
|
+
timeout?: number;
|
|
710
|
+
async?: boolean;
|
|
711
|
+
enabled?: boolean;
|
|
712
|
+
}>;
|
|
713
|
+
}>;
|
|
714
|
+
UserPromptSubmit?: Array<{
|
|
715
|
+
matcher?: string;
|
|
716
|
+
hooks: Array<{
|
|
717
|
+
type: "command";
|
|
718
|
+
command: string;
|
|
719
|
+
timeout?: number;
|
|
720
|
+
async?: boolean;
|
|
721
|
+
enabled?: boolean;
|
|
722
|
+
}>;
|
|
723
|
+
}>;
|
|
724
|
+
PreToolUse?: Array<{
|
|
725
|
+
matcher?: string;
|
|
726
|
+
hooks: Array<{
|
|
727
|
+
type: "command";
|
|
728
|
+
command: string;
|
|
729
|
+
timeout?: number;
|
|
730
|
+
async?: boolean;
|
|
731
|
+
enabled?: boolean;
|
|
732
|
+
}>;
|
|
733
|
+
}>;
|
|
734
|
+
PermissionRequest?: Array<{
|
|
735
|
+
matcher?: string;
|
|
736
|
+
hooks: Array<{
|
|
737
|
+
type: "command";
|
|
738
|
+
command: string;
|
|
739
|
+
timeout?: number;
|
|
740
|
+
async?: boolean;
|
|
741
|
+
enabled?: boolean;
|
|
742
|
+
}>;
|
|
743
|
+
}>;
|
|
744
|
+
PostToolUse?: Array<{
|
|
745
|
+
matcher?: string;
|
|
746
|
+
hooks: Array<{
|
|
747
|
+
type: "command";
|
|
748
|
+
command: string;
|
|
749
|
+
timeout?: number;
|
|
750
|
+
async?: boolean;
|
|
751
|
+
enabled?: boolean;
|
|
752
|
+
}>;
|
|
753
|
+
}>;
|
|
754
|
+
PostToolUseFailure?: Array<{
|
|
755
|
+
matcher?: string;
|
|
756
|
+
hooks: Array<{
|
|
757
|
+
type: "command";
|
|
758
|
+
command: string;
|
|
759
|
+
timeout?: number;
|
|
760
|
+
async?: boolean;
|
|
761
|
+
enabled?: boolean;
|
|
762
|
+
}>;
|
|
763
|
+
}>;
|
|
764
|
+
Stop?: Array<{
|
|
765
|
+
matcher?: string;
|
|
766
|
+
hooks: Array<{
|
|
767
|
+
type: "command";
|
|
768
|
+
command: string;
|
|
769
|
+
timeout?: number;
|
|
770
|
+
async?: boolean;
|
|
771
|
+
enabled?: boolean;
|
|
772
|
+
}>;
|
|
773
|
+
}>;
|
|
774
|
+
};
|
|
775
|
+
allowManagedHooksOnly?: boolean;
|
|
776
|
+
allowManagedMcpServersOnly?: boolean;
|
|
777
|
+
allowManagedPermissionRulesOnly?: boolean;
|
|
778
|
+
autoMemoryEnabled?: boolean;
|
|
779
|
+
disabled?: {
|
|
780
|
+
subagents?: Array<string>;
|
|
781
|
+
commands?: Array<string>;
|
|
782
|
+
skills?: Array<string>;
|
|
783
|
+
mcpServers?: Array<string>;
|
|
784
|
+
hooks?: Array<string>;
|
|
785
|
+
};
|
|
786
|
+
} | null;
|
|
787
|
+
models?: {
|
|
788
|
+
allowed: Array<string>;
|
|
789
|
+
};
|
|
790
|
+
}>;
|
|
791
|
+
next_page: string | null;
|
|
792
|
+
}>;
|
|
793
|
+
};
|
|
794
|
+
};
|
|
795
|
+
computers: {
|
|
796
|
+
archive: (options: import("./core/transport.js").CallOptions<Types.ComputersArchiveData>) => Promise<{
|
|
797
|
+
type: "computer";
|
|
798
|
+
id: string;
|
|
799
|
+
name: string;
|
|
800
|
+
sandbox_id: string | null;
|
|
801
|
+
environment_id: string | null;
|
|
802
|
+
status: "active" | "archived";
|
|
803
|
+
created_at: string;
|
|
804
|
+
updated_at: string;
|
|
805
|
+
archived_at: string | null;
|
|
806
|
+
}>;
|
|
807
|
+
attachments: {
|
|
808
|
+
create: (options: import("./core/transport.js").CallOptions<Types.ComputersAttachmentsCreateData>) => Promise<{
|
|
809
|
+
path: string;
|
|
810
|
+
name: string;
|
|
811
|
+
type: "file" | "dir" | "symlink";
|
|
812
|
+
size: number;
|
|
813
|
+
mime_type: string;
|
|
814
|
+
read_only: boolean;
|
|
815
|
+
digest?: string | null;
|
|
816
|
+
updated_at: string | null;
|
|
817
|
+
}>;
|
|
818
|
+
};
|
|
819
|
+
connect: (options: import("./core/transport.js").CallOptions<Types.ConnectComputerData>) => Promise<{
|
|
820
|
+
sandbox_id: string;
|
|
821
|
+
envd_access_token: string;
|
|
822
|
+
template_id: string;
|
|
823
|
+
}>;
|
|
824
|
+
create: (options: import("./core/transport.js").CallOptions<Types.ComputersCreateData>) => Promise<{
|
|
825
|
+
type: "computer";
|
|
826
|
+
id: string;
|
|
827
|
+
name: string;
|
|
828
|
+
sandbox_id: string | null;
|
|
829
|
+
environment_id: string | null;
|
|
830
|
+
status: "active" | "archived";
|
|
831
|
+
created_at: string;
|
|
832
|
+
updated_at: string;
|
|
833
|
+
archived_at: string | null;
|
|
834
|
+
}>;
|
|
835
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.ComputersDeleteData>) => Promise<{
|
|
836
|
+
id: string;
|
|
837
|
+
type: "computer_deleted";
|
|
838
|
+
}>;
|
|
839
|
+
files: {
|
|
840
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesListData>) => Promise<{
|
|
841
|
+
data: Array<{
|
|
842
|
+
path: string;
|
|
843
|
+
name: string;
|
|
844
|
+
type: "file" | "dir" | "symlink";
|
|
845
|
+
size: number;
|
|
846
|
+
mime_type: string;
|
|
847
|
+
read_only: boolean;
|
|
848
|
+
digest?: string | null;
|
|
849
|
+
updated_at: string | null;
|
|
850
|
+
}>;
|
|
851
|
+
has_more: false;
|
|
852
|
+
}>;
|
|
853
|
+
retrieveContent: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesContentData>) => Promise<Blob | File>;
|
|
854
|
+
};
|
|
855
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ComputersListData> | undefined) => Promise<{
|
|
856
|
+
data: Array<{
|
|
857
|
+
type: "computer";
|
|
858
|
+
id: string;
|
|
859
|
+
name: string;
|
|
860
|
+
sandbox_id: string | null;
|
|
861
|
+
environment_id: string | null;
|
|
862
|
+
status: "active" | "archived";
|
|
863
|
+
created_at: string;
|
|
864
|
+
updated_at: string;
|
|
865
|
+
archived_at: string | null;
|
|
866
|
+
}>;
|
|
867
|
+
has_more: boolean;
|
|
868
|
+
next_page: string | null;
|
|
869
|
+
}>;
|
|
870
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.ComputersRetrieveData>) => Promise<{
|
|
871
|
+
type: "computer";
|
|
872
|
+
id: string;
|
|
873
|
+
name: string;
|
|
874
|
+
sandbox_id: string | null;
|
|
875
|
+
environment_id: string | null;
|
|
876
|
+
status: "active" | "archived";
|
|
877
|
+
created_at: string;
|
|
878
|
+
updated_at: string;
|
|
879
|
+
archived_at: string | null;
|
|
880
|
+
implementation: "virtual" | "sandbox";
|
|
881
|
+
storage_bytes: number;
|
|
882
|
+
file_count: number;
|
|
883
|
+
}>;
|
|
884
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ComputersUpdateData>) => Promise<{
|
|
885
|
+
type: "computer";
|
|
886
|
+
id: string;
|
|
887
|
+
name: string;
|
|
888
|
+
sandbox_id: string | null;
|
|
889
|
+
environment_id: string | null;
|
|
890
|
+
status: "active" | "archived";
|
|
891
|
+
created_at: string;
|
|
892
|
+
updated_at: string;
|
|
893
|
+
archived_at: string | null;
|
|
894
|
+
}>;
|
|
895
|
+
};
|
|
896
|
+
deploymentRuns: {
|
|
897
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.DeploymentRunsListData> | undefined) => Promise<{
|
|
898
|
+
data: Array<Types.AgentManaged113>;
|
|
899
|
+
next_page: string | null;
|
|
900
|
+
}>;
|
|
901
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DeploymentRunsRetrieveData>) => Promise<Types.AgentManaged113>;
|
|
902
|
+
};
|
|
903
|
+
deployments: {
|
|
904
|
+
archive: (options: import("./core/transport.js").CallOptions<Types.DeploymentsArchiveData>) => Promise<{
|
|
905
|
+
id: string;
|
|
906
|
+
agent: {
|
|
907
|
+
id: string;
|
|
908
|
+
type: "agent";
|
|
909
|
+
version: number;
|
|
910
|
+
} | {
|
|
911
|
+
id: string;
|
|
912
|
+
type: "agent_with_overrides";
|
|
913
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
|
|
914
|
+
cwd?: string;
|
|
915
|
+
model?: string | {
|
|
916
|
+
id: string;
|
|
917
|
+
effort?: null | "low" | "medium" | "high" | "xhigh" | "max" | Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
918
|
+
speed?: null | "standard" | "fast";
|
|
919
|
+
};
|
|
920
|
+
version: number;
|
|
921
|
+
};
|
|
922
|
+
archived_at: null | string;
|
|
923
|
+
created_at: string;
|
|
924
|
+
description: null | string;
|
|
925
|
+
environment_id?: string | null;
|
|
926
|
+
initial_events: Array<Types.AgentManaged86 | Types.AgentManaged87 | Types.AgentManaged90>;
|
|
927
|
+
metadata: Types.AgentManaged91;
|
|
928
|
+
name: string;
|
|
929
|
+
paused_reason: null | Types.AgentManaged92 | Types.AgentManaged93;
|
|
930
|
+
resources: Array<Types.AgentManaged108 | Types.AgentManaged109 | Types.AgentManaged110>;
|
|
931
|
+
schedule: null | Types.AgentManaged111;
|
|
932
|
+
status: "active" | "paused";
|
|
933
|
+
type: "deployment";
|
|
934
|
+
updated_at: string;
|
|
935
|
+
vault_ids: Array<string>;
|
|
936
|
+
budget?: null | Types.AgentManaged76;
|
|
937
|
+
target: {
|
|
938
|
+
type: "environment" | "computer";
|
|
939
|
+
};
|
|
940
|
+
}>;
|
|
941
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DeploymentsCreateData>) => Promise<{
|
|
942
|
+
id: string;
|
|
943
|
+
agent: {
|
|
944
|
+
id: string;
|
|
945
|
+
type: "agent";
|
|
946
|
+
version: number;
|
|
947
|
+
} | {
|
|
948
|
+
id: string;
|
|
949
|
+
type: "agent_with_overrides";
|
|
950
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
|
|
951
|
+
cwd?: string;
|
|
952
|
+
model?: string | {
|
|
953
|
+
id: string;
|
|
954
|
+
effort?: null | "low" | "medium" | "high" | "xhigh" | "max" | Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
955
|
+
speed?: null | "standard" | "fast";
|
|
956
|
+
};
|
|
957
|
+
version: number;
|
|
958
|
+
};
|
|
959
|
+
archived_at: null | string;
|
|
960
|
+
created_at: string;
|
|
961
|
+
description: null | string;
|
|
962
|
+
environment_id?: string | null;
|
|
963
|
+
initial_events: Array<Types.AgentManaged86 | Types.AgentManaged87 | Types.AgentManaged90>;
|
|
964
|
+
metadata: Types.AgentManaged91;
|
|
965
|
+
name: string;
|
|
966
|
+
paused_reason: null | Types.AgentManaged92 | Types.AgentManaged93;
|
|
967
|
+
resources: Array<Types.AgentManaged108 | Types.AgentManaged109 | Types.AgentManaged110>;
|
|
968
|
+
schedule: null | Types.AgentManaged111;
|
|
969
|
+
status: "active" | "paused";
|
|
970
|
+
type: "deployment";
|
|
971
|
+
updated_at: string;
|
|
972
|
+
vault_ids: Array<string>;
|
|
973
|
+
budget?: null | Types.AgentManaged76;
|
|
974
|
+
target: {
|
|
975
|
+
type: "environment" | "computer";
|
|
976
|
+
};
|
|
977
|
+
}>;
|
|
978
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.DeploymentsListData> | undefined) => Promise<{
|
|
979
|
+
data: Array<{
|
|
980
|
+
id: string;
|
|
981
|
+
agent: {
|
|
982
|
+
id: string;
|
|
983
|
+
type: "agent";
|
|
984
|
+
version: number;
|
|
985
|
+
} | {
|
|
986
|
+
id: string;
|
|
987
|
+
type: "agent_with_overrides";
|
|
988
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
|
|
989
|
+
cwd?: string;
|
|
990
|
+
model?: string | {
|
|
991
|
+
id: string;
|
|
992
|
+
effort?: null | "low" | "medium" | "high" | "xhigh" | "max" | Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
993
|
+
speed?: null | "standard" | "fast";
|
|
994
|
+
};
|
|
995
|
+
version: number;
|
|
996
|
+
};
|
|
997
|
+
archived_at: null | string;
|
|
998
|
+
created_at: string;
|
|
999
|
+
description: null | string;
|
|
1000
|
+
environment_id?: string | null;
|
|
1001
|
+
initial_events: Array<Types.AgentManaged86 | Types.AgentManaged87 | Types.AgentManaged90>;
|
|
1002
|
+
metadata: Types.AgentManaged91;
|
|
1003
|
+
name: string;
|
|
1004
|
+
paused_reason: null | Types.AgentManaged92 | Types.AgentManaged93;
|
|
1005
|
+
resources: Array<Types.AgentManaged108 | Types.AgentManaged109 | Types.AgentManaged110>;
|
|
1006
|
+
schedule: null | Types.AgentManaged111;
|
|
1007
|
+
status: "active" | "paused";
|
|
1008
|
+
type: "deployment";
|
|
1009
|
+
updated_at: string;
|
|
1010
|
+
vault_ids: Array<string>;
|
|
1011
|
+
budget?: null | Types.AgentManaged76;
|
|
1012
|
+
target: {
|
|
1013
|
+
type: "environment" | "computer";
|
|
1014
|
+
};
|
|
1015
|
+
}>;
|
|
1016
|
+
next_page: string | null;
|
|
1017
|
+
}>;
|
|
1018
|
+
pause: (options: import("./core/transport.js").CallOptions<Types.DeploymentsPauseData>) => Promise<{
|
|
1019
|
+
id: string;
|
|
1020
|
+
agent: {
|
|
1021
|
+
id: string;
|
|
1022
|
+
type: "agent";
|
|
1023
|
+
version: number;
|
|
1024
|
+
} | {
|
|
1025
|
+
id: string;
|
|
1026
|
+
type: "agent_with_overrides";
|
|
1027
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
|
|
1028
|
+
cwd?: string;
|
|
1029
|
+
model?: string | {
|
|
1030
|
+
id: string;
|
|
1031
|
+
effort?: null | "low" | "medium" | "high" | "xhigh" | "max" | Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
1032
|
+
speed?: null | "standard" | "fast";
|
|
1033
|
+
};
|
|
1034
|
+
version: number;
|
|
1035
|
+
};
|
|
1036
|
+
archived_at: null | string;
|
|
1037
|
+
created_at: string;
|
|
1038
|
+
description: null | string;
|
|
1039
|
+
environment_id?: string | null;
|
|
1040
|
+
initial_events: Array<Types.AgentManaged86 | Types.AgentManaged87 | Types.AgentManaged90>;
|
|
1041
|
+
metadata: Types.AgentManaged91;
|
|
1042
|
+
name: string;
|
|
1043
|
+
paused_reason: null | Types.AgentManaged92 | Types.AgentManaged93;
|
|
1044
|
+
resources: Array<Types.AgentManaged108 | Types.AgentManaged109 | Types.AgentManaged110>;
|
|
1045
|
+
schedule: null | Types.AgentManaged111;
|
|
1046
|
+
status: "active" | "paused";
|
|
1047
|
+
type: "deployment";
|
|
1048
|
+
updated_at: string;
|
|
1049
|
+
vault_ids: Array<string>;
|
|
1050
|
+
budget?: null | Types.AgentManaged76;
|
|
1051
|
+
target: {
|
|
1052
|
+
type: "environment" | "computer";
|
|
1053
|
+
};
|
|
1054
|
+
}>;
|
|
1055
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DeploymentsRetrieveData>) => Promise<{
|
|
1056
|
+
id: string;
|
|
1057
|
+
agent: {
|
|
1058
|
+
id: string;
|
|
1059
|
+
type: "agent";
|
|
1060
|
+
version: number;
|
|
1061
|
+
} | {
|
|
1062
|
+
id: string;
|
|
1063
|
+
type: "agent_with_overrides";
|
|
1064
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
|
|
1065
|
+
cwd?: string;
|
|
1066
|
+
model?: string | {
|
|
1067
|
+
id: string;
|
|
1068
|
+
effort?: null | "low" | "medium" | "high" | "xhigh" | "max" | Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
1069
|
+
speed?: null | "standard" | "fast";
|
|
1070
|
+
};
|
|
1071
|
+
version: number;
|
|
1072
|
+
};
|
|
1073
|
+
archived_at: null | string;
|
|
1074
|
+
created_at: string;
|
|
1075
|
+
description: null | string;
|
|
1076
|
+
environment_id?: string | null;
|
|
1077
|
+
initial_events: Array<Types.AgentManaged86 | Types.AgentManaged87 | Types.AgentManaged90>;
|
|
1078
|
+
metadata: Types.AgentManaged91;
|
|
1079
|
+
name: string;
|
|
1080
|
+
paused_reason: null | Types.AgentManaged92 | Types.AgentManaged93;
|
|
1081
|
+
resources: Array<Types.AgentManaged108 | Types.AgentManaged109 | Types.AgentManaged110>;
|
|
1082
|
+
schedule: null | Types.AgentManaged111;
|
|
1083
|
+
status: "active" | "paused";
|
|
1084
|
+
type: "deployment";
|
|
1085
|
+
updated_at: string;
|
|
1086
|
+
vault_ids: Array<string>;
|
|
1087
|
+
budget?: null | Types.AgentManaged76;
|
|
1088
|
+
target: {
|
|
1089
|
+
type: "environment" | "computer";
|
|
1090
|
+
};
|
|
1091
|
+
}>;
|
|
1092
|
+
run: {
|
|
1093
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DeploymentsRunData>) => Promise<Types.AgentManaged113>;
|
|
1094
|
+
};
|
|
1095
|
+
unpause: {
|
|
1096
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DeploymentsUnpauseData>) => Promise<{
|
|
1097
|
+
id: string;
|
|
1098
|
+
agent: {
|
|
1099
|
+
id: string;
|
|
1100
|
+
type: "agent";
|
|
1101
|
+
version: number;
|
|
1102
|
+
} | {
|
|
1103
|
+
id: string;
|
|
1104
|
+
type: "agent_with_overrides";
|
|
1105
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
|
|
1106
|
+
cwd?: string;
|
|
1107
|
+
model?: string | {
|
|
1108
|
+
id: string;
|
|
1109
|
+
effort?: null | "low" | "medium" | "high" | "xhigh" | "max" | Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
1110
|
+
speed?: null | "standard" | "fast";
|
|
1111
|
+
};
|
|
1112
|
+
version: number;
|
|
1113
|
+
};
|
|
1114
|
+
archived_at: null | string;
|
|
1115
|
+
created_at: string;
|
|
1116
|
+
description: null | string;
|
|
1117
|
+
environment_id?: string | null;
|
|
1118
|
+
initial_events: Array<Types.AgentManaged86 | Types.AgentManaged87 | Types.AgentManaged90>;
|
|
1119
|
+
metadata: Types.AgentManaged91;
|
|
1120
|
+
name: string;
|
|
1121
|
+
paused_reason: null | Types.AgentManaged92 | Types.AgentManaged93;
|
|
1122
|
+
resources: Array<Types.AgentManaged108 | Types.AgentManaged109 | Types.AgentManaged110>;
|
|
1123
|
+
schedule: null | Types.AgentManaged111;
|
|
1124
|
+
status: "active" | "paused";
|
|
1125
|
+
type: "deployment";
|
|
1126
|
+
updated_at: string;
|
|
1127
|
+
vault_ids: Array<string>;
|
|
1128
|
+
budget?: null | Types.AgentManaged76;
|
|
1129
|
+
target: {
|
|
1130
|
+
type: "environment" | "computer";
|
|
1131
|
+
};
|
|
1132
|
+
}>;
|
|
1133
|
+
};
|
|
1134
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DeploymentsUpdateData>) => Promise<{
|
|
1135
|
+
id: string;
|
|
1136
|
+
agent: {
|
|
1137
|
+
id: string;
|
|
1138
|
+
type: "agent";
|
|
1139
|
+
version: number;
|
|
1140
|
+
} | {
|
|
1141
|
+
id: string;
|
|
1142
|
+
type: "agent_with_overrides";
|
|
1143
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
|
|
1144
|
+
cwd?: string;
|
|
1145
|
+
model?: string | {
|
|
1146
|
+
id: string;
|
|
1147
|
+
effort?: null | "low" | "medium" | "high" | "xhigh" | "max" | Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
1148
|
+
speed?: null | "standard" | "fast";
|
|
1149
|
+
};
|
|
1150
|
+
version: number;
|
|
1151
|
+
};
|
|
1152
|
+
archived_at: null | string;
|
|
1153
|
+
created_at: string;
|
|
1154
|
+
description: null | string;
|
|
1155
|
+
environment_id?: string | null;
|
|
1156
|
+
initial_events: Array<Types.AgentManaged86 | Types.AgentManaged87 | Types.AgentManaged90>;
|
|
1157
|
+
metadata: Types.AgentManaged91;
|
|
1158
|
+
name: string;
|
|
1159
|
+
paused_reason: null | Types.AgentManaged92 | Types.AgentManaged93;
|
|
1160
|
+
resources: Array<Types.AgentManaged108 | Types.AgentManaged109 | Types.AgentManaged110>;
|
|
1161
|
+
schedule: null | Types.AgentManaged111;
|
|
1162
|
+
status: "active" | "paused";
|
|
1163
|
+
type: "deployment";
|
|
1164
|
+
updated_at: string;
|
|
1165
|
+
vault_ids: Array<string>;
|
|
1166
|
+
budget?: null | Types.AgentManaged76;
|
|
1167
|
+
target: {
|
|
1168
|
+
type: "environment" | "computer";
|
|
1169
|
+
};
|
|
1170
|
+
}>;
|
|
1171
|
+
};
|
|
1172
|
+
embedTokens: {
|
|
1173
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateEmbedTokenData>) => Promise<{
|
|
1174
|
+
id: string;
|
|
1175
|
+
token: string;
|
|
1176
|
+
expires_at: string;
|
|
1177
|
+
}>;
|
|
1178
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListEmbedTokensData> | undefined) => Promise<{
|
|
1179
|
+
data: Array<{
|
|
1180
|
+
id: string;
|
|
1181
|
+
type: "embed_token";
|
|
1182
|
+
agent_id: string;
|
|
1183
|
+
agent_version: number;
|
|
1184
|
+
external_user_id: string;
|
|
1185
|
+
created_at: string;
|
|
1186
|
+
expires_at: string;
|
|
1187
|
+
revoked_at: string | null;
|
|
1188
|
+
host_origin: string | null;
|
|
1189
|
+
issued_by: {
|
|
1190
|
+
type: "user" | "api_key";
|
|
1191
|
+
id: string;
|
|
1192
|
+
};
|
|
1193
|
+
}>;
|
|
1194
|
+
next_page: string | null;
|
|
1195
|
+
}>;
|
|
1196
|
+
revoke: {
|
|
1197
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RevokeEmbedTokenData>) => Promise<{
|
|
1198
|
+
id: string;
|
|
1199
|
+
type: "embed_token";
|
|
1200
|
+
agent_id: string;
|
|
1201
|
+
agent_version: number;
|
|
1202
|
+
external_user_id: string;
|
|
1203
|
+
created_at: string;
|
|
1204
|
+
expires_at: string;
|
|
1205
|
+
revoked_at: string | null;
|
|
1206
|
+
host_origin: string | null;
|
|
1207
|
+
issued_by: {
|
|
1208
|
+
type: "user" | "api_key";
|
|
1209
|
+
id: string;
|
|
1210
|
+
};
|
|
1211
|
+
}>;
|
|
1212
|
+
};
|
|
1213
|
+
};
|
|
1214
|
+
environments: {
|
|
1215
|
+
archive: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsArchiveData>) => Promise<Types.AgentManaged138>;
|
|
1216
|
+
create: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsCreateData>) => Promise<Types.AgentManaged138>;
|
|
1217
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.EnvironmentsListData> | undefined) => Promise<{
|
|
1218
|
+
data: Array<Types.AgentManaged138>;
|
|
1219
|
+
next_page: string | null;
|
|
1220
|
+
}>;
|
|
1221
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsRetrieveData>) => Promise<Types.AgentManaged138>;
|
|
1222
|
+
update: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsUpdateData>) => Promise<Types.AgentManaged138>;
|
|
1223
|
+
};
|
|
1224
|
+
sessions: {
|
|
1225
|
+
archive: (options: import("./core/transport.js").CallOptions<Types.SessionsArchiveData>) => Promise<{
|
|
1226
|
+
id: string;
|
|
1227
|
+
agent: {
|
|
1228
|
+
id: string;
|
|
1229
|
+
description: null | string;
|
|
1230
|
+
mcp_servers: Array<Types.AgentManaged36>;
|
|
1231
|
+
model: {
|
|
1232
|
+
id: "claude-opus-5-5" | "claude-fable-5-1" | "claude-sonnet-5" | "claude-fable-5" | "claude-opus-5" | "claude-opus-4-8" | "claude-opus-4-7" | "claude-opus-4-6" | "claude-sonnet-4-6" | "claude-haiku-4-5" | "claude-haiku-4-5-20251001" | "claude-opus-4-5" | "claude-opus-4-5-20251101" | "claude-sonnet-4-5" | "claude-sonnet-4-5-20250929" | string;
|
|
1233
|
+
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
1234
|
+
inference_geo?: string;
|
|
1235
|
+
speed?: "standard" | "fast";
|
|
1236
|
+
settings?: {
|
|
1237
|
+
reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
|
|
1238
|
+
};
|
|
1239
|
+
};
|
|
1240
|
+
multiagent: null | Types.AgentManaged171;
|
|
1241
|
+
name: string;
|
|
1242
|
+
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
1243
|
+
system: null | string;
|
|
1244
|
+
tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
|
|
1245
|
+
type: "agent";
|
|
1246
|
+
version: number;
|
|
1247
|
+
};
|
|
1248
|
+
archived_at: null | string;
|
|
1249
|
+
budget: null | Types.AgentManaged76;
|
|
1250
|
+
created_at: string;
|
|
1251
|
+
environment_id?: string;
|
|
1252
|
+
metadata: Types.AgentManaged173;
|
|
1253
|
+
outcome_evaluations: Array<Types.AgentManaged174>;
|
|
1254
|
+
resources: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
|
|
1255
|
+
stats: Types.AgentManaged178;
|
|
1256
|
+
status: "rescheduling" | "running" | "idle" | "terminated";
|
|
1257
|
+
title: null | string;
|
|
1258
|
+
type: "session";
|
|
1259
|
+
updated_at: string;
|
|
1260
|
+
usage: Types.AgentManaged179;
|
|
1261
|
+
vault_ids: Array<string>;
|
|
1262
|
+
deployment_id?: null | string;
|
|
1263
|
+
cwd: string;
|
|
1264
|
+
computer_id?: string;
|
|
1265
|
+
model?: {
|
|
1266
|
+
id: string;
|
|
1267
|
+
thinking: {
|
|
1268
|
+
efforts: Array<"low" | "medium" | "high" | "xhigh">;
|
|
1269
|
+
can_disable: boolean;
|
|
1270
|
+
default_effort: "low" | "medium" | "high" | "xhigh" | null;
|
|
1271
|
+
} | null;
|
|
1272
|
+
};
|
|
1273
|
+
thinking?: {
|
|
1274
|
+
effort: "low" | "medium" | "high" | "xhigh" | "none";
|
|
1275
|
+
} | null;
|
|
1276
|
+
forked_from?: {
|
|
1277
|
+
session_id: string;
|
|
1278
|
+
message_id: string;
|
|
1279
|
+
} | null;
|
|
1280
|
+
}>;
|
|
1281
|
+
backgroundTasks: {
|
|
1282
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ListSessionBackgroundTasksData>) => Promise<{
|
|
1283
|
+
data: Array<{
|
|
1284
|
+
id: string;
|
|
1285
|
+
kind: string;
|
|
1286
|
+
title: string;
|
|
1287
|
+
thread_id: string | null;
|
|
1288
|
+
status: "running" | "result_pending" | "completed" | "failed" | "cancelled" | "lost";
|
|
1289
|
+
started_at: string;
|
|
1290
|
+
ended_at: string | null;
|
|
1291
|
+
cancellable: boolean;
|
|
1292
|
+
notified_at: string | null;
|
|
1293
|
+
trigger_count: number | null;
|
|
1294
|
+
}>;
|
|
1295
|
+
}>;
|
|
1296
|
+
retrieveOutput: (options: import("./core/transport.js").CallOptions<Types.GetSessionBackgroundTaskOutputData>) => Promise<{
|
|
1297
|
+
text: string;
|
|
1298
|
+
next_offset: number;
|
|
1299
|
+
eof: boolean;
|
|
1300
|
+
unavailable?: true;
|
|
1301
|
+
}>;
|
|
1302
|
+
stop: (options: import("./core/transport.js").CallOptions<Types.StopSessionBackgroundTaskData>) => Promise<{
|
|
1303
|
+
id: string;
|
|
1304
|
+
kind: string;
|
|
1305
|
+
title: string;
|
|
1306
|
+
thread_id: string | null;
|
|
1307
|
+
status: "running" | "result_pending" | "completed" | "failed" | "cancelled" | "lost";
|
|
1308
|
+
started_at: string;
|
|
1309
|
+
ended_at: string | null;
|
|
1310
|
+
cancellable: boolean;
|
|
1311
|
+
notified_at: string | null;
|
|
1312
|
+
trigger_count: number | null;
|
|
1313
|
+
}>;
|
|
1314
|
+
};
|
|
1315
|
+
compact: (options: import("./core/transport.js").CallOptions<Types.CompactSessionData>) => Promise<{
|
|
1316
|
+
type: "session_compaction";
|
|
1317
|
+
id: string;
|
|
1318
|
+
status: "queued" | "running" | "skipped" | "succeeded" | "failed";
|
|
1319
|
+
reason?: string;
|
|
1320
|
+
} | {
|
|
1321
|
+
type: "session_compaction";
|
|
1322
|
+
id: string;
|
|
1323
|
+
status: "queued" | "running" | "skipped" | "succeeded" | "failed";
|
|
1324
|
+
reason?: string;
|
|
1325
|
+
}>;
|
|
1326
|
+
compactions: {
|
|
1327
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ListSessionCompactionsData>) => Promise<{
|
|
1328
|
+
data: Array<{
|
|
1329
|
+
type: "context_compaction";
|
|
1330
|
+
id: string;
|
|
1331
|
+
event_id: string | null;
|
|
1332
|
+
trigger: "auto" | "manual" | "model_downshift";
|
|
1333
|
+
status: "succeeded" | "failed";
|
|
1334
|
+
model: string;
|
|
1335
|
+
compacted_message_count: number;
|
|
1336
|
+
input_tokens_before: number;
|
|
1337
|
+
input_tokens_after: number | null;
|
|
1338
|
+
summary: string | null;
|
|
1339
|
+
error: string | null;
|
|
1340
|
+
created_at: string;
|
|
1341
|
+
}>;
|
|
1342
|
+
}>;
|
|
1343
|
+
};
|
|
1344
|
+
create: (options: import("./core/transport.js").CallOptions<Types.SessionsCreateData>) => Promise<{
|
|
1345
|
+
id: string;
|
|
1346
|
+
agent: {
|
|
1347
|
+
id: string;
|
|
1348
|
+
description: null | string;
|
|
1349
|
+
mcp_servers: Array<Types.AgentManaged36>;
|
|
1350
|
+
model: {
|
|
1351
|
+
id: "claude-opus-5-5" | "claude-fable-5-1" | "claude-sonnet-5" | "claude-fable-5" | "claude-opus-5" | "claude-opus-4-8" | "claude-opus-4-7" | "claude-opus-4-6" | "claude-sonnet-4-6" | "claude-haiku-4-5" | "claude-haiku-4-5-20251001" | "claude-opus-4-5" | "claude-opus-4-5-20251101" | "claude-sonnet-4-5" | "claude-sonnet-4-5-20250929" | string;
|
|
1352
|
+
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
1353
|
+
inference_geo?: string;
|
|
1354
|
+
speed?: "standard" | "fast";
|
|
1355
|
+
settings?: {
|
|
1356
|
+
reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
|
|
1357
|
+
};
|
|
1358
|
+
};
|
|
1359
|
+
multiagent: null | Types.AgentManaged171;
|
|
1360
|
+
name: string;
|
|
1361
|
+
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
1362
|
+
system: null | string;
|
|
1363
|
+
tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
|
|
1364
|
+
type: "agent";
|
|
1365
|
+
version: number;
|
|
1366
|
+
};
|
|
1367
|
+
archived_at: null | string;
|
|
1368
|
+
budget: null | Types.AgentManaged76;
|
|
1369
|
+
created_at: string;
|
|
1370
|
+
environment_id?: string;
|
|
1371
|
+
metadata: Types.AgentManaged173;
|
|
1372
|
+
outcome_evaluations: Array<Types.AgentManaged174>;
|
|
1373
|
+
resources: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
|
|
1374
|
+
stats: Types.AgentManaged178;
|
|
1375
|
+
status: "rescheduling" | "running" | "idle" | "terminated";
|
|
1376
|
+
title: null | string;
|
|
1377
|
+
type: "session";
|
|
1378
|
+
updated_at: string;
|
|
1379
|
+
usage: Types.AgentManaged179;
|
|
1380
|
+
vault_ids: Array<string>;
|
|
1381
|
+
deployment_id?: null | string;
|
|
1382
|
+
cwd: string;
|
|
1383
|
+
computer_id?: string;
|
|
1384
|
+
model?: {
|
|
1385
|
+
id: string;
|
|
1386
|
+
thinking: {
|
|
1387
|
+
efforts: Array<"low" | "medium" | "high" | "xhigh">;
|
|
1388
|
+
can_disable: boolean;
|
|
1389
|
+
default_effort: "low" | "medium" | "high" | "xhigh" | null;
|
|
1390
|
+
} | null;
|
|
1391
|
+
};
|
|
1392
|
+
thinking?: {
|
|
1393
|
+
effort: "low" | "medium" | "high" | "xhigh" | "none";
|
|
1394
|
+
} | null;
|
|
1395
|
+
forked_from?: {
|
|
1396
|
+
session_id: string;
|
|
1397
|
+
message_id: string;
|
|
1398
|
+
} | null;
|
|
1399
|
+
}>;
|
|
1400
|
+
events: {
|
|
1401
|
+
list: (options: import("./core/transport.js").CallOptions<Types.SessionsEventsListData>) => Promise<{
|
|
1402
|
+
data: Array<{
|
|
1403
|
+
id: string;
|
|
1404
|
+
content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
|
|
1405
|
+
type: "user.message";
|
|
1406
|
+
processed_at?: null | string;
|
|
1407
|
+
message_id?: string;
|
|
1408
|
+
} | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged192 | {
|
|
1409
|
+
id: string;
|
|
1410
|
+
content: Array<{
|
|
1411
|
+
text: string;
|
|
1412
|
+
type: "text";
|
|
1413
|
+
citations?: Array<{
|
|
1414
|
+
type: "search_result_location";
|
|
1415
|
+
source: string;
|
|
1416
|
+
title: string;
|
|
1417
|
+
cited_text: string;
|
|
1418
|
+
search_result_index: number;
|
|
1419
|
+
start_block_index: number;
|
|
1420
|
+
end_block_index: number;
|
|
1421
|
+
}>;
|
|
1422
|
+
} | Types.AgentManaged70>;
|
|
1423
|
+
processed_at: string;
|
|
1424
|
+
type: "agent.message";
|
|
1425
|
+
run_id: string | null;
|
|
1426
|
+
message_id?: string;
|
|
1427
|
+
} | {
|
|
1428
|
+
id: string;
|
|
1429
|
+
processed_at: string;
|
|
1430
|
+
type: "agent.thinking";
|
|
1431
|
+
run_id: string | null;
|
|
1432
|
+
message_id?: string;
|
|
1433
|
+
} | {
|
|
1434
|
+
id: string;
|
|
1435
|
+
input: Types.AgentManaged197;
|
|
1436
|
+
mcp_server_name: string;
|
|
1437
|
+
name: string;
|
|
1438
|
+
processed_at: string;
|
|
1439
|
+
type: "agent.mcp_tool_use";
|
|
1440
|
+
evaluated_permission?: "allow" | "deny" | "ask";
|
|
1441
|
+
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
1442
|
+
session_thread_id?: null | string;
|
|
1443
|
+
run_id: string | null;
|
|
1444
|
+
_meta?: {
|
|
1445
|
+
ui?: {
|
|
1446
|
+
resourceUri?: string;
|
|
1447
|
+
visibility?: Array<string>;
|
|
1448
|
+
[key: string]: unknown;
|
|
1449
|
+
};
|
|
1450
|
+
"openai/ui"?: {
|
|
1451
|
+
[key: string]: unknown;
|
|
1452
|
+
};
|
|
1453
|
+
};
|
|
1454
|
+
source?: "app" | "codemode";
|
|
1455
|
+
parent_tool_use_id?: string;
|
|
1456
|
+
} | {
|
|
1457
|
+
id: string;
|
|
1458
|
+
mcp_tool_use_id: string;
|
|
1459
|
+
processed_at: string;
|
|
1460
|
+
type: "agent.mcp_tool_result";
|
|
1461
|
+
content?: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged189>;
|
|
1462
|
+
is_error?: null | false | true;
|
|
1463
|
+
run_id: string | null;
|
|
1464
|
+
structured_content?: unknown;
|
|
1465
|
+
_meta?: {
|
|
1466
|
+
[key: string]: unknown;
|
|
1467
|
+
};
|
|
1468
|
+
source?: "app" | "codemode";
|
|
1469
|
+
} | {
|
|
1470
|
+
id: string;
|
|
1471
|
+
input: Types.AgentManaged206;
|
|
1472
|
+
name: string;
|
|
1473
|
+
processed_at: string;
|
|
1474
|
+
type: "agent.tool_use";
|
|
1475
|
+
evaluated_permission?: "allow" | "deny" | "ask";
|
|
1476
|
+
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
1477
|
+
session_thread_id?: null | string;
|
|
1478
|
+
run_id: string | null;
|
|
1479
|
+
} | {
|
|
1480
|
+
id: string;
|
|
1481
|
+
processed_at: string;
|
|
1482
|
+
tool_use_id: string;
|
|
1483
|
+
type: "agent.tool_result";
|
|
1484
|
+
content?: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged189>;
|
|
1485
|
+
is_error?: null | false | true;
|
|
1486
|
+
run_id: string | null;
|
|
1487
|
+
} | Types.AgentManaged208 | Types.AgentManaged209 | Types.AgentManaged210 | Types.AgentManaged211 | Types.AgentManaged223 | {
|
|
1488
|
+
id: string;
|
|
1489
|
+
processed_at: string;
|
|
1490
|
+
type: "session.status_running";
|
|
1491
|
+
run_id: string | null;
|
|
1492
|
+
} | {
|
|
1493
|
+
id: string;
|
|
1494
|
+
processed_at: string;
|
|
1495
|
+
stop_reason: Types.AgentManaged226 | Types.AgentManaged227 | Types.AgentManaged228 | Types.AgentManaged229;
|
|
1496
|
+
type: "session.status_idle";
|
|
1497
|
+
run_id: string | null;
|
|
1498
|
+
} | Types.AgentManaged230 | Types.AgentManaged231 | Types.AgentManaged232 | Types.AgentManaged233 | Types.AgentManaged235 | Types.AgentManaged236 | Types.AgentManaged237 | Types.AgentManaged238 | Types.AgentManaged239 | Types.AgentManaged240 | Types.AgentManaged241 | Types.AgentManaged242 | Types.AgentManaged243 | Types.AgentManaged244 | {
|
|
1499
|
+
id: string;
|
|
1500
|
+
processed_at: string;
|
|
1501
|
+
type: "session.updated";
|
|
1502
|
+
agent?: null | Types.AgentManaged170;
|
|
1503
|
+
budget?: null | Types.AgentManaged76;
|
|
1504
|
+
metadata?: Types.AgentManaged246;
|
|
1505
|
+
title?: null | string;
|
|
1506
|
+
model?: {
|
|
1507
|
+
id: string;
|
|
1508
|
+
};
|
|
1509
|
+
} | Types.AgentManaged247 | Types.AgentManaged248 | {
|
|
1510
|
+
id: string;
|
|
1511
|
+
type: "session.forked";
|
|
1512
|
+
processed_at: string;
|
|
1513
|
+
forked_from_session_id: string;
|
|
1514
|
+
forked_from_message_id: string;
|
|
1515
|
+
} | {
|
|
1516
|
+
id: string;
|
|
1517
|
+
type: "session.goal_changed";
|
|
1518
|
+
processed_at: string;
|
|
1519
|
+
action: "set" | "status_updated" | "cleared" | "usage_accounted";
|
|
1520
|
+
source: "command" | "runtime";
|
|
1521
|
+
goal: {
|
|
1522
|
+
goal_id: string;
|
|
1523
|
+
objective: string;
|
|
1524
|
+
summary_title: string | null;
|
|
1525
|
+
status: "active" | "paused" | "budget_limited" | "complete";
|
|
1526
|
+
token_budget: number | null;
|
|
1527
|
+
tokens_used: number;
|
|
1528
|
+
time_used_seconds: number;
|
|
1529
|
+
iteration: number;
|
|
1530
|
+
created_at: number;
|
|
1531
|
+
updated_at: number;
|
|
1532
|
+
} | null;
|
|
1533
|
+
previous_goal: {
|
|
1534
|
+
goal_id: string;
|
|
1535
|
+
objective: string;
|
|
1536
|
+
summary_title: string | null;
|
|
1537
|
+
status: "active" | "paused" | "budget_limited" | "complete";
|
|
1538
|
+
token_budget: number | null;
|
|
1539
|
+
tokens_used: number;
|
|
1540
|
+
time_used_seconds: number;
|
|
1541
|
+
iteration: number;
|
|
1542
|
+
created_at: number;
|
|
1543
|
+
updated_at: number;
|
|
1544
|
+
} | null;
|
|
1545
|
+
} | {
|
|
1546
|
+
id: string;
|
|
1547
|
+
type: "session.goal_verification";
|
|
1548
|
+
processed_at: string;
|
|
1549
|
+
status: "started" | "completed" | "failed_closed" | "cancelled";
|
|
1550
|
+
goal_id: string;
|
|
1551
|
+
goal_iteration: number;
|
|
1552
|
+
verification_id: string;
|
|
1553
|
+
anchor_message_id: string | null;
|
|
1554
|
+
verification?: {
|
|
1555
|
+
passed: boolean;
|
|
1556
|
+
reason: string;
|
|
1557
|
+
next_action?: string;
|
|
1558
|
+
};
|
|
1559
|
+
} | {
|
|
1560
|
+
id: string;
|
|
1561
|
+
type: "user.steer";
|
|
1562
|
+
event_id: string;
|
|
1563
|
+
processed_at: string;
|
|
1564
|
+
} | {
|
|
1565
|
+
id: string;
|
|
1566
|
+
type: "user.tool_confirmation";
|
|
1567
|
+
processed_at: string;
|
|
1568
|
+
tool_use_id: string;
|
|
1569
|
+
result: "allow";
|
|
1570
|
+
answers: {
|
|
1571
|
+
[key: string]: string;
|
|
1572
|
+
};
|
|
1573
|
+
annotations?: {
|
|
1574
|
+
[key: string]: {
|
|
1575
|
+
preview?: string;
|
|
1576
|
+
notes?: string;
|
|
1577
|
+
};
|
|
1578
|
+
};
|
|
1579
|
+
}>;
|
|
1580
|
+
next_page: string | null;
|
|
1581
|
+
}>;
|
|
1582
|
+
send: (options: import("./core/transport.js").CallOptions<Types.SessionsEventsSendData>) => Promise<{
|
|
1583
|
+
data?: Array<Types.AgentManaged185 | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged238 | Types.AgentManaged243 | Types.AgentManaged247 | {
|
|
1584
|
+
id: string;
|
|
1585
|
+
type: "user.steer";
|
|
1586
|
+
event_id: string;
|
|
1587
|
+
processed_at: string;
|
|
1588
|
+
} | {
|
|
1589
|
+
id: string;
|
|
1590
|
+
type: "user.tool_confirmation";
|
|
1591
|
+
processed_at: string;
|
|
1592
|
+
tool_use_id: string;
|
|
1593
|
+
result: "allow";
|
|
1594
|
+
answers: {
|
|
1595
|
+
[key: string]: string;
|
|
1596
|
+
};
|
|
1597
|
+
annotations?: {
|
|
1598
|
+
[key: string]: {
|
|
1599
|
+
preview?: string;
|
|
1600
|
+
notes?: string;
|
|
1601
|
+
};
|
|
1602
|
+
};
|
|
1603
|
+
}>;
|
|
1604
|
+
}>;
|
|
1605
|
+
stream: (options: import("./core/transport.js").StreamOptions<Types.SessionsEventsStreamData>) => AsyncIterable<Types.AgentSseEvent>;
|
|
1606
|
+
};
|
|
1607
|
+
fork: (options: import("./core/transport.js").CallOptions<Types.ForkSessionData>) => Promise<{
|
|
1608
|
+
id: string;
|
|
1609
|
+
agent: {
|
|
1610
|
+
id: string;
|
|
1611
|
+
description: null | string;
|
|
1612
|
+
mcp_servers: Array<{
|
|
1613
|
+
type: "url";
|
|
1614
|
+
name: string;
|
|
1615
|
+
url: string;
|
|
1616
|
+
}>;
|
|
1617
|
+
model: {
|
|
1618
|
+
id: "claude-opus-5-5" | "claude-fable-5-1" | "claude-sonnet-5" | "claude-fable-5" | "claude-opus-5" | "claude-opus-4-8" | "claude-opus-4-7" | "claude-opus-4-6" | "claude-sonnet-4-6" | "claude-haiku-4-5" | "claude-haiku-4-5-20251001" | "claude-opus-4-5" | "claude-opus-4-5-20251101" | "claude-sonnet-4-5" | "claude-sonnet-4-5-20250929" | string;
|
|
1619
|
+
effort?: {
|
|
1620
|
+
type: "low";
|
|
1621
|
+
} | {
|
|
1622
|
+
type: "medium";
|
|
1623
|
+
} | {
|
|
1624
|
+
type: "high";
|
|
1625
|
+
} | {
|
|
1626
|
+
type: "xhigh";
|
|
1627
|
+
} | {
|
|
1628
|
+
type: "max";
|
|
1629
|
+
};
|
|
1630
|
+
inference_geo?: string;
|
|
1631
|
+
speed?: "standard" | "fast";
|
|
1632
|
+
settings?: {
|
|
1633
|
+
reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
|
|
1634
|
+
};
|
|
1635
|
+
};
|
|
1636
|
+
multiagent: null | {
|
|
1637
|
+
agents: Array<{
|
|
1638
|
+
model: string;
|
|
1639
|
+
type: "advisor";
|
|
1640
|
+
} | {
|
|
1641
|
+
id: string;
|
|
1642
|
+
description: null | string;
|
|
1643
|
+
mcp_servers: Array<{
|
|
1644
|
+
type: "url";
|
|
1645
|
+
name: string;
|
|
1646
|
+
url: string;
|
|
1647
|
+
}>;
|
|
1648
|
+
model: {
|
|
1649
|
+
id: "claude-opus-5-5" | "claude-fable-5-1" | "claude-sonnet-5" | "claude-fable-5" | "claude-opus-5" | "claude-opus-4-8" | "claude-opus-4-7" | "claude-opus-4-6" | "claude-sonnet-4-6" | "claude-haiku-4-5" | "claude-haiku-4-5-20251001" | "claude-opus-4-5" | "claude-opus-4-5-20251101" | "claude-sonnet-4-5" | "claude-sonnet-4-5-20250929" | string;
|
|
1650
|
+
effort?: {
|
|
1651
|
+
type: "low";
|
|
1652
|
+
} | {
|
|
1653
|
+
type: "medium";
|
|
1654
|
+
} | {
|
|
1655
|
+
type: "high";
|
|
1656
|
+
} | {
|
|
1657
|
+
type: "xhigh";
|
|
1658
|
+
} | {
|
|
1659
|
+
type: "max";
|
|
1660
|
+
};
|
|
1661
|
+
inference_geo?: string;
|
|
1662
|
+
speed?: "standard" | "fast";
|
|
1663
|
+
};
|
|
1664
|
+
name: string;
|
|
1665
|
+
skills: Array<{
|
|
1666
|
+
skill_id: string;
|
|
1667
|
+
type: "anthropic";
|
|
1668
|
+
version: string;
|
|
1669
|
+
} | {
|
|
1670
|
+
skill_id: string;
|
|
1671
|
+
type: "custom";
|
|
1672
|
+
version: string;
|
|
1673
|
+
}>;
|
|
1674
|
+
system: null | string;
|
|
1675
|
+
tools: Array<{
|
|
1676
|
+
configs: Array<{
|
|
1677
|
+
enabled: boolean;
|
|
1678
|
+
name: "bash";
|
|
1679
|
+
permission_policy: {
|
|
1680
|
+
type: "always_allow";
|
|
1681
|
+
} | {
|
|
1682
|
+
type: "always_ask";
|
|
1683
|
+
} | {
|
|
1684
|
+
type: "auto";
|
|
1685
|
+
};
|
|
1686
|
+
type: "bash";
|
|
1687
|
+
} | {
|
|
1688
|
+
enabled: boolean;
|
|
1689
|
+
name: "edit";
|
|
1690
|
+
permission_policy: {
|
|
1691
|
+
type: "always_allow";
|
|
1692
|
+
} | {
|
|
1693
|
+
type: "always_ask";
|
|
1694
|
+
} | {
|
|
1695
|
+
type: "auto";
|
|
1696
|
+
};
|
|
1697
|
+
type: "edit";
|
|
1698
|
+
} | {
|
|
1699
|
+
enabled: boolean;
|
|
1700
|
+
name: "read";
|
|
1701
|
+
permission_policy: {
|
|
1702
|
+
type: "always_allow";
|
|
1703
|
+
} | {
|
|
1704
|
+
type: "always_ask";
|
|
1705
|
+
} | {
|
|
1706
|
+
type: "auto";
|
|
1707
|
+
};
|
|
1708
|
+
type: "read";
|
|
1709
|
+
} | {
|
|
1710
|
+
enabled: boolean;
|
|
1711
|
+
name: "write";
|
|
1712
|
+
permission_policy: {
|
|
1713
|
+
type: "always_allow";
|
|
1714
|
+
} | {
|
|
1715
|
+
type: "always_ask";
|
|
1716
|
+
} | {
|
|
1717
|
+
type: "auto";
|
|
1718
|
+
};
|
|
1719
|
+
type: "write";
|
|
1720
|
+
} | {
|
|
1721
|
+
enabled: boolean;
|
|
1722
|
+
name: "glob";
|
|
1723
|
+
permission_policy: {
|
|
1724
|
+
type: "always_allow";
|
|
1725
|
+
} | {
|
|
1726
|
+
type: "always_ask";
|
|
1727
|
+
} | {
|
|
1728
|
+
type: "auto";
|
|
1729
|
+
};
|
|
1730
|
+
type: "glob";
|
|
1731
|
+
} | {
|
|
1732
|
+
enabled: boolean;
|
|
1733
|
+
name: "grep";
|
|
1734
|
+
permission_policy: {
|
|
1735
|
+
type: "always_allow";
|
|
1736
|
+
} | {
|
|
1737
|
+
type: "always_ask";
|
|
1738
|
+
} | {
|
|
1739
|
+
type: "auto";
|
|
1740
|
+
};
|
|
1741
|
+
type: "grep";
|
|
1742
|
+
} | {
|
|
1743
|
+
enabled: boolean;
|
|
1744
|
+
name: "web_fetch";
|
|
1745
|
+
permission_policy: {
|
|
1746
|
+
type: "always_allow";
|
|
1747
|
+
} | {
|
|
1748
|
+
type: "always_ask";
|
|
1749
|
+
} | {
|
|
1750
|
+
type: "auto";
|
|
1751
|
+
};
|
|
1752
|
+
type: "web_fetch";
|
|
1753
|
+
allowed_domains?: Array<string>;
|
|
1754
|
+
blocked_domains?: Array<string>;
|
|
1755
|
+
max_content_tokens?: null | number;
|
|
1756
|
+
} | {
|
|
1757
|
+
enabled: boolean;
|
|
1758
|
+
name: "web_search";
|
|
1759
|
+
permission_policy: {
|
|
1760
|
+
type: "always_allow";
|
|
1761
|
+
} | {
|
|
1762
|
+
type: "always_ask";
|
|
1763
|
+
} | {
|
|
1764
|
+
type: "auto";
|
|
1765
|
+
};
|
|
1766
|
+
type: "web_search";
|
|
1767
|
+
allowed_domains?: Array<string>;
|
|
1768
|
+
blocked_domains?: Array<string>;
|
|
1769
|
+
user_location?: null | {
|
|
1770
|
+
type: "approximate";
|
|
1771
|
+
city?: null | string;
|
|
1772
|
+
country?: null | string;
|
|
1773
|
+
region?: null | string;
|
|
1774
|
+
timezone?: null | string;
|
|
1775
|
+
};
|
|
1776
|
+
} | {
|
|
1777
|
+
name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
|
|
1778
|
+
enabled: boolean;
|
|
1779
|
+
permission_policy: {
|
|
1780
|
+
type: "always_allow" | "always_ask";
|
|
1781
|
+
};
|
|
1782
|
+
}>;
|
|
1783
|
+
default_config: {
|
|
1784
|
+
enabled: boolean;
|
|
1785
|
+
permission_policy: {
|
|
1786
|
+
type: "always_allow";
|
|
1787
|
+
} | {
|
|
1788
|
+
type: "always_ask";
|
|
1789
|
+
} | {
|
|
1790
|
+
type: "auto";
|
|
1791
|
+
};
|
|
1792
|
+
};
|
|
1793
|
+
type: "agent_toolset_20260401";
|
|
1794
|
+
} | {
|
|
1795
|
+
type: "mcp_toolset";
|
|
1796
|
+
mcp_server_name: string;
|
|
1797
|
+
default_config?: {
|
|
1798
|
+
enabled?: boolean | null;
|
|
1799
|
+
permission_policy?: null | {
|
|
1800
|
+
type: "always_allow" | "always_ask";
|
|
1801
|
+
};
|
|
1802
|
+
} | null;
|
|
1803
|
+
configs?: Array<{
|
|
1804
|
+
name: string;
|
|
1805
|
+
enabled?: boolean | null;
|
|
1806
|
+
permission_policy?: null | {
|
|
1807
|
+
type: "always_allow" | "always_ask";
|
|
1808
|
+
};
|
|
1809
|
+
}> | null;
|
|
1810
|
+
} | {
|
|
1811
|
+
description: string;
|
|
1812
|
+
input_schema: {
|
|
1813
|
+
type: "object";
|
|
1814
|
+
properties?: null | {
|
|
1815
|
+
[key: string]: unknown;
|
|
1816
|
+
};
|
|
1817
|
+
required?: null | Array<string>;
|
|
1818
|
+
[key: string]: unknown;
|
|
1819
|
+
};
|
|
1820
|
+
name: string;
|
|
1821
|
+
type: "custom";
|
|
1822
|
+
}>;
|
|
1823
|
+
type: "agent";
|
|
1824
|
+
version: number;
|
|
1825
|
+
}>;
|
|
1826
|
+
type: "coordinator";
|
|
1827
|
+
};
|
|
1828
|
+
name: string;
|
|
1829
|
+
skills: Array<{
|
|
1830
|
+
skill_id: string;
|
|
1831
|
+
type: "anthropic";
|
|
1832
|
+
version: string;
|
|
1833
|
+
} | {
|
|
1834
|
+
skill_id: string;
|
|
1835
|
+
type: "custom";
|
|
1836
|
+
version: string;
|
|
1837
|
+
}>;
|
|
1838
|
+
system: null | string;
|
|
1839
|
+
tools: Array<{
|
|
1840
|
+
configs: Array<{
|
|
1841
|
+
enabled: boolean;
|
|
1842
|
+
name: "bash";
|
|
1843
|
+
permission_policy: {
|
|
1844
|
+
type: "always_allow";
|
|
1845
|
+
} | {
|
|
1846
|
+
type: "always_ask";
|
|
1847
|
+
} | {
|
|
1848
|
+
type: "auto";
|
|
1849
|
+
};
|
|
1850
|
+
type: "bash";
|
|
1851
|
+
} | {
|
|
1852
|
+
enabled: boolean;
|
|
1853
|
+
name: "edit";
|
|
1854
|
+
permission_policy: {
|
|
1855
|
+
type: "always_allow";
|
|
1856
|
+
} | {
|
|
1857
|
+
type: "always_ask";
|
|
1858
|
+
} | {
|
|
1859
|
+
type: "auto";
|
|
1860
|
+
};
|
|
1861
|
+
type: "edit";
|
|
1862
|
+
} | {
|
|
1863
|
+
enabled: boolean;
|
|
1864
|
+
name: "read";
|
|
1865
|
+
permission_policy: {
|
|
1866
|
+
type: "always_allow";
|
|
1867
|
+
} | {
|
|
1868
|
+
type: "always_ask";
|
|
1869
|
+
} | {
|
|
1870
|
+
type: "auto";
|
|
1871
|
+
};
|
|
1872
|
+
type: "read";
|
|
1873
|
+
} | {
|
|
1874
|
+
enabled: boolean;
|
|
1875
|
+
name: "write";
|
|
1876
|
+
permission_policy: {
|
|
1877
|
+
type: "always_allow";
|
|
1878
|
+
} | {
|
|
1879
|
+
type: "always_ask";
|
|
1880
|
+
} | {
|
|
1881
|
+
type: "auto";
|
|
1882
|
+
};
|
|
1883
|
+
type: "write";
|
|
1884
|
+
} | {
|
|
1885
|
+
enabled: boolean;
|
|
1886
|
+
name: "glob";
|
|
1887
|
+
permission_policy: {
|
|
1888
|
+
type: "always_allow";
|
|
1889
|
+
} | {
|
|
1890
|
+
type: "always_ask";
|
|
1891
|
+
} | {
|
|
1892
|
+
type: "auto";
|
|
1893
|
+
};
|
|
1894
|
+
type: "glob";
|
|
1895
|
+
} | {
|
|
1896
|
+
enabled: boolean;
|
|
1897
|
+
name: "grep";
|
|
1898
|
+
permission_policy: {
|
|
1899
|
+
type: "always_allow";
|
|
1900
|
+
} | {
|
|
1901
|
+
type: "always_ask";
|
|
1902
|
+
} | {
|
|
1903
|
+
type: "auto";
|
|
1904
|
+
};
|
|
1905
|
+
type: "grep";
|
|
1906
|
+
} | {
|
|
1907
|
+
enabled: boolean;
|
|
1908
|
+
name: "web_fetch";
|
|
1909
|
+
permission_policy: {
|
|
1910
|
+
type: "always_allow";
|
|
1911
|
+
} | {
|
|
1912
|
+
type: "always_ask";
|
|
1913
|
+
} | {
|
|
1914
|
+
type: "auto";
|
|
1915
|
+
};
|
|
1916
|
+
type: "web_fetch";
|
|
1917
|
+
allowed_domains?: Array<string>;
|
|
1918
|
+
blocked_domains?: Array<string>;
|
|
1919
|
+
max_content_tokens?: null | number;
|
|
1920
|
+
} | {
|
|
1921
|
+
enabled: boolean;
|
|
1922
|
+
name: "web_search";
|
|
1923
|
+
permission_policy: {
|
|
1924
|
+
type: "always_allow";
|
|
1925
|
+
} | {
|
|
1926
|
+
type: "always_ask";
|
|
1927
|
+
} | {
|
|
1928
|
+
type: "auto";
|
|
1929
|
+
};
|
|
1930
|
+
type: "web_search";
|
|
1931
|
+
allowed_domains?: Array<string>;
|
|
1932
|
+
blocked_domains?: Array<string>;
|
|
1933
|
+
user_location?: null | {
|
|
1934
|
+
type: "approximate";
|
|
1935
|
+
city?: null | string;
|
|
1936
|
+
country?: null | string;
|
|
1937
|
+
region?: null | string;
|
|
1938
|
+
timezone?: null | string;
|
|
1939
|
+
};
|
|
1940
|
+
} | {
|
|
1941
|
+
name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
|
|
1942
|
+
enabled: boolean;
|
|
1943
|
+
permission_policy: {
|
|
1944
|
+
type: "always_allow" | "always_ask";
|
|
1945
|
+
};
|
|
1946
|
+
}>;
|
|
1947
|
+
default_config: {
|
|
1948
|
+
enabled: boolean;
|
|
1949
|
+
permission_policy: {
|
|
1950
|
+
type: "always_allow";
|
|
1951
|
+
} | {
|
|
1952
|
+
type: "always_ask";
|
|
1953
|
+
} | {
|
|
1954
|
+
type: "auto";
|
|
1955
|
+
};
|
|
1956
|
+
};
|
|
1957
|
+
type: "agent_toolset_20260401";
|
|
1958
|
+
} | {
|
|
1959
|
+
type: "mcp_toolset";
|
|
1960
|
+
mcp_server_name: string;
|
|
1961
|
+
default_config?: {
|
|
1962
|
+
enabled?: boolean | null;
|
|
1963
|
+
permission_policy?: null | {
|
|
1964
|
+
type: "always_allow" | "always_ask";
|
|
1965
|
+
};
|
|
1966
|
+
} | null;
|
|
1967
|
+
configs?: Array<{
|
|
1968
|
+
name: string;
|
|
1969
|
+
enabled?: boolean | null;
|
|
1970
|
+
permission_policy?: null | {
|
|
1971
|
+
type: "always_allow" | "always_ask";
|
|
1972
|
+
};
|
|
1973
|
+
}> | null;
|
|
1974
|
+
} | {
|
|
1975
|
+
description: string;
|
|
1976
|
+
input_schema: {
|
|
1977
|
+
type: "object";
|
|
1978
|
+
properties?: null | {
|
|
1979
|
+
[key: string]: unknown;
|
|
1980
|
+
};
|
|
1981
|
+
required?: null | Array<string>;
|
|
1982
|
+
[key: string]: unknown;
|
|
1983
|
+
};
|
|
1984
|
+
name: string;
|
|
1985
|
+
type: "custom";
|
|
1986
|
+
}>;
|
|
1987
|
+
type: "agent";
|
|
1988
|
+
version: number;
|
|
1989
|
+
};
|
|
1990
|
+
archived_at: null | string;
|
|
1991
|
+
budget: null | {
|
|
1992
|
+
max_list_cost: {
|
|
1993
|
+
amount: string;
|
|
1994
|
+
currency: "USD";
|
|
1995
|
+
};
|
|
1996
|
+
type: "limit";
|
|
1997
|
+
};
|
|
1998
|
+
created_at: string;
|
|
1999
|
+
environment_id?: string;
|
|
2000
|
+
metadata: {
|
|
2001
|
+
[key: string]: string;
|
|
2002
|
+
};
|
|
2003
|
+
outcome_evaluations: Array<{
|
|
2004
|
+
completed_at: null | string;
|
|
2005
|
+
description: string;
|
|
2006
|
+
explanation: null | string;
|
|
2007
|
+
iteration: number;
|
|
2008
|
+
outcome_id: string;
|
|
2009
|
+
result: string;
|
|
2010
|
+
type: "outcome_evaluation";
|
|
2011
|
+
}>;
|
|
2012
|
+
resources: Array<{
|
|
2013
|
+
id: string;
|
|
2014
|
+
created_at: string;
|
|
2015
|
+
mount_path: string;
|
|
2016
|
+
type: "github_repository";
|
|
2017
|
+
updated_at: string;
|
|
2018
|
+
url: string;
|
|
2019
|
+
checkout?: null | {
|
|
2020
|
+
name: string;
|
|
2021
|
+
type: "branch";
|
|
2022
|
+
} | {
|
|
2023
|
+
sha: string;
|
|
2024
|
+
type: "commit";
|
|
2025
|
+
};
|
|
2026
|
+
} | {
|
|
2027
|
+
id: string;
|
|
2028
|
+
created_at: string;
|
|
2029
|
+
file_id: string;
|
|
2030
|
+
mount_path: string;
|
|
2031
|
+
type: "file";
|
|
2032
|
+
updated_at: string;
|
|
2033
|
+
} | {
|
|
2034
|
+
memory_store_id: string;
|
|
2035
|
+
type: "memory_store";
|
|
2036
|
+
access?: null | "read_write" | "read_only";
|
|
2037
|
+
description?: string;
|
|
2038
|
+
instructions?: null | string;
|
|
2039
|
+
mount_path?: null | string;
|
|
2040
|
+
name?: null | string;
|
|
2041
|
+
}>;
|
|
2042
|
+
stats: {
|
|
2043
|
+
active_seconds?: number;
|
|
2044
|
+
duration_seconds?: number;
|
|
2045
|
+
};
|
|
2046
|
+
status: "rescheduling" | "running" | "idle" | "terminated";
|
|
2047
|
+
title: null | string;
|
|
2048
|
+
type: "session";
|
|
2049
|
+
updated_at: string;
|
|
2050
|
+
usage: {
|
|
2051
|
+
active_seconds?: number;
|
|
2052
|
+
cache_creation?: {
|
|
2053
|
+
ephemeral_1h_input_tokens?: number;
|
|
2054
|
+
ephemeral_5m_input_tokens?: number;
|
|
2055
|
+
};
|
|
2056
|
+
cache_read_input_tokens?: number;
|
|
2057
|
+
input_tokens?: number;
|
|
2058
|
+
list_cost?: null | {
|
|
2059
|
+
amount: string;
|
|
2060
|
+
currency: "USD";
|
|
2061
|
+
};
|
|
2062
|
+
output_tokens?: number;
|
|
2063
|
+
server_tool_use?: null | {
|
|
2064
|
+
web_fetch_requests?: number;
|
|
2065
|
+
web_search_requests?: number;
|
|
2066
|
+
};
|
|
2067
|
+
};
|
|
2068
|
+
vault_ids: Array<string>;
|
|
2069
|
+
deployment_id?: null | string;
|
|
2070
|
+
cwd: string;
|
|
2071
|
+
computer_id?: string;
|
|
2072
|
+
model?: {
|
|
2073
|
+
id: string;
|
|
2074
|
+
thinking: {
|
|
2075
|
+
efforts: Array<"low" | "medium" | "high" | "xhigh">;
|
|
2076
|
+
can_disable: boolean;
|
|
2077
|
+
default_effort: "low" | "medium" | "high" | "xhigh" | null;
|
|
2078
|
+
} | null;
|
|
2079
|
+
};
|
|
2080
|
+
thinking?: {
|
|
2081
|
+
effort: "low" | "medium" | "high" | "xhigh" | "none";
|
|
2082
|
+
} | null;
|
|
2083
|
+
forked_from?: {
|
|
2084
|
+
session_id: string;
|
|
2085
|
+
message_id: string;
|
|
2086
|
+
} | null;
|
|
2087
|
+
}>;
|
|
2088
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.SessionsListData> | undefined) => Promise<{
|
|
2089
|
+
data: Array<{
|
|
2090
|
+
id: string;
|
|
2091
|
+
agent: {
|
|
2092
|
+
id: string;
|
|
2093
|
+
description: null | string;
|
|
2094
|
+
mcp_servers: Array<Types.AgentManaged36>;
|
|
2095
|
+
model: {
|
|
2096
|
+
id: "claude-opus-5-5" | "claude-fable-5-1" | "claude-sonnet-5" | "claude-fable-5" | "claude-opus-5" | "claude-opus-4-8" | "claude-opus-4-7" | "claude-opus-4-6" | "claude-sonnet-4-6" | "claude-haiku-4-5" | "claude-haiku-4-5-20251001" | "claude-opus-4-5" | "claude-opus-4-5-20251101" | "claude-sonnet-4-5" | "claude-sonnet-4-5-20250929" | string;
|
|
2097
|
+
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
2098
|
+
inference_geo?: string;
|
|
2099
|
+
speed?: "standard" | "fast";
|
|
2100
|
+
settings?: {
|
|
2101
|
+
reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
|
|
2102
|
+
};
|
|
2103
|
+
};
|
|
2104
|
+
multiagent: null | Types.AgentManaged171;
|
|
2105
|
+
name: string;
|
|
2106
|
+
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
2107
|
+
system: null | string;
|
|
2108
|
+
tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
|
|
2109
|
+
type: "agent";
|
|
2110
|
+
version: number;
|
|
2111
|
+
};
|
|
2112
|
+
archived_at: null | string;
|
|
2113
|
+
budget: null | Types.AgentManaged76;
|
|
2114
|
+
created_at: string;
|
|
2115
|
+
environment_id?: string;
|
|
2116
|
+
metadata: Types.AgentManaged173;
|
|
2117
|
+
outcome_evaluations: Array<Types.AgentManaged174>;
|
|
2118
|
+
resources: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
|
|
2119
|
+
stats: Types.AgentManaged178;
|
|
2120
|
+
status: "rescheduling" | "running" | "idle" | "terminated";
|
|
2121
|
+
title: null | string;
|
|
2122
|
+
type: "session";
|
|
2123
|
+
updated_at: string;
|
|
2124
|
+
usage: Types.AgentManaged179;
|
|
2125
|
+
vault_ids: Array<string>;
|
|
2126
|
+
deployment_id?: null | string;
|
|
2127
|
+
cwd: string;
|
|
2128
|
+
computer_id?: string;
|
|
2129
|
+
model?: {
|
|
2130
|
+
id: string;
|
|
2131
|
+
thinking: {
|
|
2132
|
+
efforts: Array<"low" | "medium" | "high" | "xhigh">;
|
|
2133
|
+
can_disable: boolean;
|
|
2134
|
+
default_effort: "low" | "medium" | "high" | "xhigh" | null;
|
|
2135
|
+
} | null;
|
|
2136
|
+
};
|
|
2137
|
+
thinking?: {
|
|
2138
|
+
effort: "low" | "medium" | "high" | "xhigh" | "none";
|
|
2139
|
+
} | null;
|
|
2140
|
+
forked_from?: {
|
|
2141
|
+
session_id: string;
|
|
2142
|
+
message_id: string;
|
|
2143
|
+
} | null;
|
|
2144
|
+
}>;
|
|
2145
|
+
next_page: string | null;
|
|
2146
|
+
}>;
|
|
2147
|
+
resources: {
|
|
2148
|
+
create: (options: import("./core/transport.js").CallOptions<Types.SessionsResourcesAddData>) => Promise<Types.AgentManaged176>;
|
|
2149
|
+
delete: (options: import("./core/transport.js").CallOptions<RenameParameters<Types.SessionsResourcesDeleteData, {
|
|
2150
|
+
query: {
|
|
2151
|
+
"session_id": "query_session_id";
|
|
2152
|
+
};
|
|
2153
|
+
}>>) => Promise<Types.AgentManaged255>;
|
|
2154
|
+
list: (options: import("./core/transport.js").CallOptions<Types.SessionsResourcesListData>) => Promise<{
|
|
2155
|
+
data: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
|
|
2156
|
+
next_page: string | null;
|
|
2157
|
+
}>;
|
|
2158
|
+
retrieve: (options: import("./core/transport.js").CallOptions<RenameParameters<Types.SessionsResourcesRetrieveData, {
|
|
2159
|
+
query: {
|
|
2160
|
+
"session_id": "query_session_id";
|
|
2161
|
+
};
|
|
2162
|
+
}>>) => Promise<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
|
|
2163
|
+
};
|
|
2164
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.SessionsRetrieveData>) => Promise<{
|
|
2165
|
+
id: string;
|
|
2166
|
+
agent: {
|
|
2167
|
+
id: string;
|
|
2168
|
+
description: null | string;
|
|
2169
|
+
mcp_servers: Array<Types.AgentManaged36>;
|
|
2170
|
+
model: {
|
|
2171
|
+
id: "claude-opus-5-5" | "claude-fable-5-1" | "claude-sonnet-5" | "claude-fable-5" | "claude-opus-5" | "claude-opus-4-8" | "claude-opus-4-7" | "claude-opus-4-6" | "claude-sonnet-4-6" | "claude-haiku-4-5" | "claude-haiku-4-5-20251001" | "claude-opus-4-5" | "claude-opus-4-5-20251101" | "claude-sonnet-4-5" | "claude-sonnet-4-5-20250929" | string;
|
|
2172
|
+
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
2173
|
+
inference_geo?: string;
|
|
2174
|
+
speed?: "standard" | "fast";
|
|
2175
|
+
settings?: {
|
|
2176
|
+
reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
|
|
2177
|
+
};
|
|
2178
|
+
};
|
|
2179
|
+
multiagent: null | Types.AgentManaged171;
|
|
2180
|
+
name: string;
|
|
2181
|
+
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
2182
|
+
system: null | string;
|
|
2183
|
+
tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
|
|
2184
|
+
type: "agent";
|
|
2185
|
+
version: number;
|
|
2186
|
+
};
|
|
2187
|
+
archived_at: null | string;
|
|
2188
|
+
budget: null | Types.AgentManaged76;
|
|
2189
|
+
created_at: string;
|
|
2190
|
+
environment_id?: string;
|
|
2191
|
+
metadata: Types.AgentManaged173;
|
|
2192
|
+
outcome_evaluations: Array<Types.AgentManaged174>;
|
|
2193
|
+
resources: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
|
|
2194
|
+
stats: Types.AgentManaged178;
|
|
2195
|
+
status: "rescheduling" | "running" | "idle" | "terminated";
|
|
2196
|
+
title: null | string;
|
|
2197
|
+
type: "session";
|
|
2198
|
+
updated_at: string;
|
|
2199
|
+
usage: Types.AgentManaged179;
|
|
2200
|
+
vault_ids: Array<string>;
|
|
2201
|
+
deployment_id?: null | string;
|
|
2202
|
+
cwd: string;
|
|
2203
|
+
computer_id?: string;
|
|
2204
|
+
model?: {
|
|
2205
|
+
id: string;
|
|
2206
|
+
thinking: {
|
|
2207
|
+
efforts: Array<"low" | "medium" | "high" | "xhigh">;
|
|
2208
|
+
can_disable: boolean;
|
|
2209
|
+
default_effort: "low" | "medium" | "high" | "xhigh" | null;
|
|
2210
|
+
} | null;
|
|
2211
|
+
};
|
|
2212
|
+
thinking?: {
|
|
2213
|
+
effort: "low" | "medium" | "high" | "xhigh" | "none";
|
|
2214
|
+
} | null;
|
|
2215
|
+
forked_from?: {
|
|
2216
|
+
session_id: string;
|
|
2217
|
+
message_id: string;
|
|
2218
|
+
} | null;
|
|
2219
|
+
}>;
|
|
2220
|
+
retrieveCompact: (options: import("./core/transport.js").CallOptions<Types.GetSessionCompactionData>) => Promise<{
|
|
2221
|
+
type: "session_compaction";
|
|
2222
|
+
id: string;
|
|
2223
|
+
status: "queued" | "running" | "skipped" | "succeeded" | "failed";
|
|
2224
|
+
reason?: string;
|
|
2225
|
+
}>;
|
|
2226
|
+
retrieveContext: (options: import("./core/transport.js").CallOptions<Types.GetSessionContextData>) => Promise<{
|
|
2227
|
+
type: "session_context";
|
|
2228
|
+
session_id: string;
|
|
2229
|
+
model: {
|
|
2230
|
+
id: string;
|
|
2231
|
+
display_name: string;
|
|
2232
|
+
thinking: {
|
|
2233
|
+
efforts: Array<"low" | "medium" | "high" | "xhigh">;
|
|
2234
|
+
can_disable: boolean;
|
|
2235
|
+
default_effort: "low" | "medium" | "high" | "xhigh" | null;
|
|
2236
|
+
} | null;
|
|
2237
|
+
};
|
|
2238
|
+
total_tokens: number | null;
|
|
2239
|
+
total_tokens_source: "actual" | "estimated" | null;
|
|
2240
|
+
max_tokens: number | null;
|
|
2241
|
+
max_input_tokens: number | null;
|
|
2242
|
+
percentage: number;
|
|
2243
|
+
auto_compact_threshold: number | null;
|
|
2244
|
+
is_auto_compact_enabled: boolean;
|
|
2245
|
+
clear_tool_results_at: number;
|
|
2246
|
+
detail: "summary";
|
|
2247
|
+
categories: Array<{
|
|
2248
|
+
key: string;
|
|
2249
|
+
name: string;
|
|
2250
|
+
tokens: number;
|
|
2251
|
+
kind: "used" | "free" | "buffer" | "deferred";
|
|
2252
|
+
}>;
|
|
2253
|
+
mcp_tools: Array<{
|
|
2254
|
+
name: string;
|
|
2255
|
+
server_name: string;
|
|
2256
|
+
tokens: number;
|
|
2257
|
+
}>;
|
|
2258
|
+
plugin_blocks: Array<{
|
|
2259
|
+
name: string;
|
|
2260
|
+
tokens: number;
|
|
2261
|
+
}>;
|
|
2262
|
+
message_breakdown: {
|
|
2263
|
+
user_message_tokens: number;
|
|
2264
|
+
assistant_message_tokens: number;
|
|
2265
|
+
tool_call_tokens: number;
|
|
2266
|
+
tool_result_tokens: number;
|
|
2267
|
+
reasoning_tokens: number;
|
|
2268
|
+
tool_calls_by_type: Array<{
|
|
2269
|
+
name: string;
|
|
2270
|
+
call_tokens: number;
|
|
2271
|
+
result_tokens: number;
|
|
2272
|
+
}>;
|
|
2273
|
+
};
|
|
2274
|
+
compaction_summary: {
|
|
2275
|
+
tokens: number;
|
|
2276
|
+
} | null;
|
|
2277
|
+
excluded_items: {
|
|
2278
|
+
count: number;
|
|
2279
|
+
tokens: number;
|
|
2280
|
+
};
|
|
2281
|
+
measured_at: string | null;
|
|
2282
|
+
}>;
|
|
2283
|
+
runs: {
|
|
2284
|
+
deleteFeedback: (options: import("./core/transport.js").CallOptions<Types.DeleteRunFeedbackData>) => Promise<void>;
|
|
2285
|
+
feedback: {
|
|
2286
|
+
create: (options: import("./core/transport.js").CallOptions<Types.SetRunFeedbackData>) => Promise<{
|
|
2287
|
+
type: "run_feedback";
|
|
2288
|
+
session_id: string;
|
|
2289
|
+
run_id: string;
|
|
2290
|
+
rating: "positive" | "negative";
|
|
2291
|
+
comment: string | null;
|
|
2292
|
+
created_at: string;
|
|
2293
|
+
updated_at: string;
|
|
2294
|
+
}>;
|
|
2295
|
+
};
|
|
2296
|
+
};
|
|
2297
|
+
threads: {
|
|
2298
|
+
archive: (options: import("./core/transport.js").CallOptions<RenameParameters<Types.SessionsThreadsArchiveData, {
|
|
2299
|
+
query: {
|
|
2300
|
+
"session_id": "query_session_id";
|
|
2301
|
+
};
|
|
2302
|
+
}>>) => Promise<Types.AgentManaged256>;
|
|
2303
|
+
events: {
|
|
2304
|
+
list: (options: import("./core/transport.js").CallOptions<RenameParameters<Types.SessionsThreadsEventsListData, {
|
|
2305
|
+
query: {
|
|
2306
|
+
"session_id": "query_session_id";
|
|
2307
|
+
};
|
|
2308
|
+
}>>) => Promise<{
|
|
2309
|
+
data: Array<{
|
|
2310
|
+
id: string;
|
|
2311
|
+
content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
|
|
2312
|
+
type: "user.message";
|
|
2313
|
+
processed_at?: null | string;
|
|
2314
|
+
message_id?: string;
|
|
2315
|
+
} | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged192 | {
|
|
2316
|
+
id: string;
|
|
2317
|
+
content: Array<{
|
|
2318
|
+
text: string;
|
|
2319
|
+
type: "text";
|
|
2320
|
+
citations?: Array<{
|
|
2321
|
+
type: "search_result_location";
|
|
2322
|
+
source: string;
|
|
2323
|
+
title: string;
|
|
2324
|
+
cited_text: string;
|
|
2325
|
+
search_result_index: number;
|
|
2326
|
+
start_block_index: number;
|
|
2327
|
+
end_block_index: number;
|
|
2328
|
+
}>;
|
|
2329
|
+
} | Types.AgentManaged70>;
|
|
2330
|
+
processed_at: string;
|
|
2331
|
+
type: "agent.message";
|
|
2332
|
+
run_id: string | null;
|
|
2333
|
+
message_id?: string;
|
|
2334
|
+
} | {
|
|
2335
|
+
id: string;
|
|
2336
|
+
processed_at: string;
|
|
2337
|
+
type: "agent.thinking";
|
|
2338
|
+
run_id: string | null;
|
|
2339
|
+
message_id?: string;
|
|
2340
|
+
} | {
|
|
2341
|
+
id: string;
|
|
2342
|
+
input: Types.AgentManaged197;
|
|
2343
|
+
mcp_server_name: string;
|
|
2344
|
+
name: string;
|
|
2345
|
+
processed_at: string;
|
|
2346
|
+
type: "agent.mcp_tool_use";
|
|
2347
|
+
evaluated_permission?: "allow" | "deny" | "ask";
|
|
2348
|
+
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
2349
|
+
session_thread_id?: null | string;
|
|
2350
|
+
run_id: string | null;
|
|
2351
|
+
parent_tool_use_id?: string;
|
|
2352
|
+
_meta?: {
|
|
2353
|
+
ui?: {
|
|
2354
|
+
resourceUri?: string;
|
|
2355
|
+
visibility?: Array<string>;
|
|
2356
|
+
[key: string]: unknown;
|
|
2357
|
+
};
|
|
2358
|
+
"openai/ui"?: {
|
|
2359
|
+
[key: string]: unknown;
|
|
2360
|
+
};
|
|
2361
|
+
};
|
|
2362
|
+
source?: "app" | "codemode";
|
|
2363
|
+
} | {
|
|
2364
|
+
id: string;
|
|
2365
|
+
mcp_tool_use_id: string;
|
|
2366
|
+
processed_at: string;
|
|
2367
|
+
type: "agent.mcp_tool_result";
|
|
2368
|
+
content?: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged189>;
|
|
2369
|
+
is_error?: null | false | true;
|
|
2370
|
+
run_id: string | null;
|
|
2371
|
+
structured_content?: unknown;
|
|
2372
|
+
_meta?: {
|
|
2373
|
+
[key: string]: unknown;
|
|
2374
|
+
};
|
|
2375
|
+
source?: "app" | "codemode";
|
|
2376
|
+
} | {
|
|
2377
|
+
id: string;
|
|
2378
|
+
input: Types.AgentManaged206;
|
|
2379
|
+
name: string;
|
|
2380
|
+
processed_at: string;
|
|
2381
|
+
type: "agent.tool_use";
|
|
2382
|
+
evaluated_permission?: "allow" | "deny" | "ask";
|
|
2383
|
+
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
2384
|
+
session_thread_id?: null | string;
|
|
2385
|
+
run_id: string | null;
|
|
2386
|
+
} | {
|
|
2387
|
+
id: string;
|
|
2388
|
+
processed_at: string;
|
|
2389
|
+
tool_use_id: string;
|
|
2390
|
+
type: "agent.tool_result";
|
|
2391
|
+
content?: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged189>;
|
|
2392
|
+
is_error?: null | false | true;
|
|
2393
|
+
run_id: string | null;
|
|
2394
|
+
} | Types.AgentManaged208 | Types.AgentManaged209 | Types.AgentManaged210 | Types.AgentManaged211 | Types.AgentManaged223 | {
|
|
2395
|
+
id: string;
|
|
2396
|
+
processed_at: string;
|
|
2397
|
+
type: "session.status_running";
|
|
2398
|
+
run_id: string | null;
|
|
2399
|
+
} | {
|
|
2400
|
+
id: string;
|
|
2401
|
+
processed_at: string;
|
|
2402
|
+
stop_reason: Types.AgentManaged226 | Types.AgentManaged227 | Types.AgentManaged228 | Types.AgentManaged229;
|
|
2403
|
+
type: "session.status_idle";
|
|
2404
|
+
run_id: string | null;
|
|
2405
|
+
} | Types.AgentManaged230 | Types.AgentManaged231 | Types.AgentManaged232 | Types.AgentManaged233 | Types.AgentManaged235 | Types.AgentManaged236 | Types.AgentManaged237 | Types.AgentManaged238 | Types.AgentManaged239 | Types.AgentManaged240 | Types.AgentManaged241 | Types.AgentManaged242 | Types.AgentManaged243 | Types.AgentManaged244 | {
|
|
2406
|
+
id: string;
|
|
2407
|
+
processed_at: string;
|
|
2408
|
+
type: "session.updated";
|
|
2409
|
+
agent?: null | Types.AgentManaged170;
|
|
2410
|
+
budget?: null | Types.AgentManaged76;
|
|
2411
|
+
metadata?: Types.AgentManaged246;
|
|
2412
|
+
title?: null | string;
|
|
2413
|
+
model?: {
|
|
2414
|
+
id: string;
|
|
2415
|
+
};
|
|
2416
|
+
} | Types.AgentManaged247 | Types.AgentManaged248 | {
|
|
2417
|
+
id: string;
|
|
2418
|
+
type: "session.forked";
|
|
2419
|
+
processed_at: string;
|
|
2420
|
+
forked_from_session_id: string;
|
|
2421
|
+
forked_from_message_id: string;
|
|
2422
|
+
} | {
|
|
2423
|
+
id: string;
|
|
2424
|
+
type: "session.goal_changed";
|
|
2425
|
+
processed_at: string;
|
|
2426
|
+
action: "set" | "status_updated" | "cleared" | "usage_accounted";
|
|
2427
|
+
source: "command" | "runtime";
|
|
2428
|
+
goal: {
|
|
2429
|
+
goal_id: string;
|
|
2430
|
+
objective: string;
|
|
2431
|
+
summary_title: string | null;
|
|
2432
|
+
status: "active" | "paused" | "budget_limited" | "complete";
|
|
2433
|
+
token_budget: number | null;
|
|
2434
|
+
tokens_used: number;
|
|
2435
|
+
time_used_seconds: number;
|
|
2436
|
+
iteration: number;
|
|
2437
|
+
created_at: number;
|
|
2438
|
+
updated_at: number;
|
|
2439
|
+
} | null;
|
|
2440
|
+
previous_goal: {
|
|
2441
|
+
goal_id: string;
|
|
2442
|
+
objective: string;
|
|
2443
|
+
summary_title: string | null;
|
|
2444
|
+
status: "active" | "paused" | "budget_limited" | "complete";
|
|
2445
|
+
token_budget: number | null;
|
|
2446
|
+
tokens_used: number;
|
|
2447
|
+
time_used_seconds: number;
|
|
2448
|
+
iteration: number;
|
|
2449
|
+
created_at: number;
|
|
2450
|
+
updated_at: number;
|
|
2451
|
+
} | null;
|
|
2452
|
+
} | {
|
|
2453
|
+
id: string;
|
|
2454
|
+
type: "session.goal_verification";
|
|
2455
|
+
processed_at: string;
|
|
2456
|
+
status: "started" | "completed" | "failed_closed" | "cancelled";
|
|
2457
|
+
goal_id: string;
|
|
2458
|
+
goal_iteration: number;
|
|
2459
|
+
verification_id: string;
|
|
2460
|
+
anchor_message_id: string | null;
|
|
2461
|
+
verification?: {
|
|
2462
|
+
passed: boolean;
|
|
2463
|
+
reason: string;
|
|
2464
|
+
next_action?: string;
|
|
2465
|
+
};
|
|
2466
|
+
} | {
|
|
2467
|
+
id: string;
|
|
2468
|
+
type: "user.steer";
|
|
2469
|
+
event_id: string;
|
|
2470
|
+
processed_at: string;
|
|
2471
|
+
}>;
|
|
2472
|
+
next_page: string | null;
|
|
2473
|
+
}>;
|
|
2474
|
+
};
|
|
2475
|
+
list: (options: import("./core/transport.js").CallOptions<Types.SessionsThreadsListData>) => Promise<{
|
|
2476
|
+
data: Array<Types.AgentManaged256>;
|
|
2477
|
+
next_page: string | null;
|
|
2478
|
+
}>;
|
|
2479
|
+
retrieve: (options: import("./core/transport.js").CallOptions<RenameParameters<Types.SessionsThreadsRetrieveData, {
|
|
2480
|
+
query: {
|
|
2481
|
+
"session_id": "query_session_id";
|
|
2482
|
+
};
|
|
2483
|
+
}>>) => Promise<Types.AgentManaged256>;
|
|
2484
|
+
stream: (options: import("./core/transport.js").StreamOptions<RenameParameters<Types.SessionsThreadsEventsStreamData, {
|
|
2485
|
+
query: {
|
|
2486
|
+
"session_id": "query_session_id";
|
|
2487
|
+
};
|
|
2488
|
+
}>>) => AsyncIterable<Types.AgentSseEvent>;
|
|
2489
|
+
};
|
|
2490
|
+
update: (options: import("./core/transport.js").CallOptions<Types.SessionsUpdateData>) => Promise<{
|
|
2491
|
+
id: string;
|
|
2492
|
+
agent: {
|
|
2493
|
+
id: string;
|
|
2494
|
+
description: null | string;
|
|
2495
|
+
mcp_servers: Array<Types.AgentManaged36>;
|
|
2496
|
+
model: {
|
|
2497
|
+
id: "claude-opus-5-5" | "claude-fable-5-1" | "claude-sonnet-5" | "claude-fable-5" | "claude-opus-5" | "claude-opus-4-8" | "claude-opus-4-7" | "claude-opus-4-6" | "claude-sonnet-4-6" | "claude-haiku-4-5" | "claude-haiku-4-5-20251001" | "claude-opus-4-5" | "claude-opus-4-5-20251101" | "claude-sonnet-4-5" | "claude-sonnet-4-5-20250929" | string;
|
|
2498
|
+
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
2499
|
+
inference_geo?: string;
|
|
2500
|
+
speed?: "standard" | "fast";
|
|
2501
|
+
settings?: {
|
|
2502
|
+
reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
|
|
2503
|
+
};
|
|
2504
|
+
};
|
|
2505
|
+
multiagent: null | Types.AgentManaged171;
|
|
2506
|
+
name: string;
|
|
2507
|
+
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
2508
|
+
system: null | string;
|
|
2509
|
+
tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
|
|
2510
|
+
type: "agent";
|
|
2511
|
+
version: number;
|
|
2512
|
+
};
|
|
2513
|
+
archived_at: null | string;
|
|
2514
|
+
budget: null | Types.AgentManaged76;
|
|
2515
|
+
created_at: string;
|
|
2516
|
+
environment_id?: string;
|
|
2517
|
+
metadata: Types.AgentManaged173;
|
|
2518
|
+
outcome_evaluations: Array<Types.AgentManaged174>;
|
|
2519
|
+
resources: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
|
|
2520
|
+
stats: Types.AgentManaged178;
|
|
2521
|
+
status: "rescheduling" | "running" | "idle" | "terminated";
|
|
2522
|
+
title: null | string;
|
|
2523
|
+
type: "session";
|
|
2524
|
+
updated_at: string;
|
|
2525
|
+
usage: Types.AgentManaged179;
|
|
2526
|
+
vault_ids: Array<string>;
|
|
2527
|
+
deployment_id?: null | string;
|
|
2528
|
+
cwd: string;
|
|
2529
|
+
computer_id?: string;
|
|
2530
|
+
model?: {
|
|
2531
|
+
id: string;
|
|
2532
|
+
thinking: {
|
|
2533
|
+
efforts: Array<"low" | "medium" | "high" | "xhigh">;
|
|
2534
|
+
can_disable: boolean;
|
|
2535
|
+
default_effort: "low" | "medium" | "high" | "xhigh" | null;
|
|
2536
|
+
} | null;
|
|
2537
|
+
};
|
|
2538
|
+
thinking?: {
|
|
2539
|
+
effort: "low" | "medium" | "high" | "xhigh" | "none";
|
|
2540
|
+
} | null;
|
|
2541
|
+
forked_from?: {
|
|
2542
|
+
session_id: string;
|
|
2543
|
+
message_id: string;
|
|
2544
|
+
} | null;
|
|
2545
|
+
}>;
|
|
2546
|
+
};
|
|
2547
|
+
toolsets: {
|
|
2548
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListToolsetsData> | undefined) => Promise<{
|
|
2549
|
+
data: Array<{
|
|
2550
|
+
type: string;
|
|
2551
|
+
plugin: {
|
|
2552
|
+
name: string;
|
|
2553
|
+
version: string;
|
|
2554
|
+
};
|
|
2555
|
+
description: string;
|
|
2556
|
+
environment: string;
|
|
2557
|
+
tools: Array<{
|
|
2558
|
+
name: string;
|
|
2559
|
+
description: string;
|
|
2560
|
+
input_schema: {
|
|
2561
|
+
[key: string]: unknown;
|
|
2562
|
+
};
|
|
2563
|
+
read_only: boolean;
|
|
2564
|
+
default_permission_policy: "always_allow" | "always_ask";
|
|
2565
|
+
mod: string;
|
|
2566
|
+
configurable: boolean;
|
|
2567
|
+
}>;
|
|
2568
|
+
}>;
|
|
2569
|
+
next_page: null;
|
|
2570
|
+
}>;
|
|
2571
|
+
};
|
|
2572
|
+
};
|
|
2573
|
+
export declare function createApplication(transport: Transport): {
|
|
2574
|
+
assets: {
|
|
2575
|
+
upload: {
|
|
2576
|
+
create: (options: import("./core/transport.js").CallOptions<Types.ApplicationUploadAssetsData>) => Promise<Types.ApplicationAssetUploadResult>;
|
|
2577
|
+
};
|
|
2578
|
+
};
|
|
2579
|
+
subdomain: {
|
|
2580
|
+
retrieve: (options?: import("./core/transport.js").CallOptions<Types.ApplicationGetSubdomainData> | undefined) => Promise<Types.ApplicationAccountSubdomain>;
|
|
2581
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ApplicationPutSubdomainData>) => Promise<Types.ApplicationAccountSubdomain>;
|
|
2582
|
+
};
|
|
2583
|
+
workers: {
|
|
2584
|
+
assetsUploadSession: {
|
|
2585
|
+
create: (options: import("./core/transport.js").CallOptions<Types.ApplicationCreateAssetUploadSessionData>) => Promise<Types.ApplicationAssetUploadSession>;
|
|
2586
|
+
};
|
|
2587
|
+
components: {
|
|
2588
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ApplicationListComponentsData>) => Promise<Types.ApplicationComponent[]>;
|
|
2589
|
+
};
|
|
2590
|
+
create: (options: import("./core/transport.js").CallOptions<Types.ApplicationCreateWorkerData>) => Promise<Types.ApplicationWorker>;
|
|
2591
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.ApplicationDeleteWorkerData>) => Promise<Types.ApplicationWorker>;
|
|
2592
|
+
deployments: {
|
|
2593
|
+
create: (options: import("./core/transport.js").CallOptions<Types.ApplicationCreateDeploymentData>) => Promise<Types.ApplicationDeployment>;
|
|
2594
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ApplicationListDeploymentsData>) => Promise<import("./automation.js").Page<Types.ApplicationDeployment>>;
|
|
2595
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.ApplicationGetDeploymentData>) => Promise<Types.ApplicationDeployment>;
|
|
2596
|
+
};
|
|
2597
|
+
events: {
|
|
2598
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ApplicationListEventsData>) => Promise<Types.ApplicationEventPage>;
|
|
2599
|
+
};
|
|
2600
|
+
grants: {
|
|
2601
|
+
create: (options: import("./core/transport.js").CallOptions<Types.ApplicationCreateGrantData>) => Promise<Types.ApplicationGrant>;
|
|
2602
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.ApplicationDeleteGrantData>) => Promise<{
|
|
2603
|
+
deleted: true;
|
|
2604
|
+
}>;
|
|
2605
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ApplicationListGrantsData>) => Promise<Types.ApplicationGrant[]>;
|
|
2606
|
+
};
|
|
2607
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ApplicationListWorkersData> | undefined) => Promise<import("./automation.js").Page<Types.ApplicationWorker>>;
|
|
2608
|
+
restore: (options: import("./core/transport.js").CallOptions<Types.ApplicationRestoreWorkerData>) => Promise<Types.ApplicationWorker>;
|
|
2609
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.ApplicationGetWorkerData>) => Promise<Types.ApplicationWorkerDetail>;
|
|
2610
|
+
secrets: {
|
|
2611
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.ApplicationDeleteSecretData>) => Promise<{
|
|
2612
|
+
deployment: Types.ApplicationDeployment;
|
|
2613
|
+
}>;
|
|
2614
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ApplicationListSecretsData>) => Promise<Types.ApplicationSecret[]>;
|
|
2615
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ApplicationPutSecretData>) => Promise<Types.ApplicationSecretWriteResult>;
|
|
2616
|
+
};
|
|
2617
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ApplicationUpdateWorkerData>) => Promise<Types.ApplicationWorker>;
|
|
2618
|
+
versions: {
|
|
2619
|
+
create: (options: import("./core/transport.js").CallOptions<Types.ApplicationCreateVersionData>) => Promise<Types.ApplicationCreateVersionResult>;
|
|
2620
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ApplicationListVersionsData>) => Promise<import("./automation.js").Page<Types.ApplicationVersion>>;
|
|
2621
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.ApplicationGetVersionData>) => Promise<Types.ApplicationVersion>;
|
|
2622
|
+
};
|
|
2623
|
+
};
|
|
2624
|
+
};
|
|
2625
|
+
export declare function createAutomation(transport: Transport): {
|
|
2626
|
+
actions: {
|
|
2627
|
+
archive: (options: import("./core/transport.js").CallOptions<Types.AutomationActionsArchiveData>) => Promise<Types.AutomationActionArchiveResult>;
|
|
2628
|
+
create: (options: import("./core/transport.js").CallOptions<Types.AutomationActionsCreateData>) => Promise<Types.AutomationActionDef>;
|
|
2629
|
+
dependents: {
|
|
2630
|
+
list: (options: import("./core/transport.js").CallOptions<Types.AutomationActionsDependentsData>) => Promise<import("./automation.js").Page<Types.AutomationDependent>>;
|
|
2631
|
+
};
|
|
2632
|
+
invocations: {
|
|
2633
|
+
list: (options: import("./core/transport.js").CallOptions<Types.AutomationActionsInvocationsData>) => Promise<import("./automation.js").Page<Types.AutomationInvocation>>;
|
|
2634
|
+
};
|
|
2635
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.AutomationActionsListData> | undefined) => Promise<import("./automation.js").Page<Types.AutomationActionListItem>>;
|
|
2636
|
+
restore: (options: import("./core/transport.js").CallOptions<Types.AutomationActionsRestoreData>) => Promise<Types.AutomationActionDef>;
|
|
2637
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.AutomationActionsGetData>) => Promise<Types.AutomationActionDef>;
|
|
2638
|
+
revisions: {
|
|
2639
|
+
list: (options: import("./core/transport.js").CallOptions<Types.AutomationActionsRevisionsData>) => Promise<import("./automation.js").Page<Types.AutomationRevisionSummary>>;
|
|
2640
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.AutomationActionsRevisionData>) => Promise<Types.AutomationRevisionListItem>;
|
|
2641
|
+
};
|
|
2642
|
+
rollback: (options: import("./core/transport.js").CallOptions<Types.AutomationActionsRollbackData>) => Promise<Types.AutomationActionDef>;
|
|
2643
|
+
update: (options: import("./core/transport.js").CallOptions<Types.AutomationActionsUpdateData>) => Promise<Types.AutomationActionUpdateResult>;
|
|
2644
|
+
};
|
|
2645
|
+
hooks: {
|
|
2646
|
+
send: (options: import("./core/transport.js").CallOptions<Types.AutomationHooksReceiveData>) => Promise<Types.AutomationFiring>;
|
|
2647
|
+
};
|
|
2648
|
+
resolve: {
|
|
2649
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.AutomationResolveResolveData>) => Promise<Types.AutomationResolveResult>;
|
|
2650
|
+
};
|
|
2651
|
+
runs: {
|
|
2652
|
+
artifacts: {
|
|
2653
|
+
list: (options: import("./core/transport.js").CallOptions<Types.AutomationRunsArtifactsData>) => Promise<import("./automation.js").Page<Types.AutomationRunArtifact>>;
|
|
2654
|
+
};
|
|
2655
|
+
calls: {
|
|
2656
|
+
list: (options: import("./core/transport.js").CallOptions<Types.AutomationRunsCallsData>) => Promise<import("./automation.js").Page<Types.AutomationCall>>;
|
|
2657
|
+
};
|
|
2658
|
+
cancel: (options: import("./core/transport.js").CallOptions<Types.AutomationRunsCancelData>) => Promise<Types.AutomationRun>;
|
|
2659
|
+
create: (options: import("./core/transport.js").CallOptions<Types.AutomationRunsCreateData>) => Promise<Types.AutomationRun>;
|
|
2660
|
+
events: (options: import("./core/transport.js").StreamOptions<Types.AutomationRunsEventsData>) => AsyncIterable<Types.PraxisSdkSseGetAutomationV1RunsIdEvents>;
|
|
2661
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.AutomationRunsListData> | undefined) => Promise<import("./automation.js").Page<Types.AutomationRun>>;
|
|
2662
|
+
logs: (options: import("./core/transport.js").StreamOptions<Types.AutomationRunsLogsData>) => AsyncIterable<Types.PraxisSdkSseGetAutomationV1RunsIdLogs>;
|
|
2663
|
+
rerun: (options: import("./core/transport.js").CallOptions<Types.AutomationRunsRerunData>) => Promise<Types.AutomationRun>;
|
|
2664
|
+
resume: (options: import("./core/transport.js").CallOptions<Types.AutomationRunsResumeData>) => Promise<Types.AutomationRun>;
|
|
2665
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.AutomationRunsGetData>) => Promise<Types.AutomationExpandedRun>;
|
|
2666
|
+
retrieveSource: (options: import("./core/transport.js").CallOptions<Types.AutomationRunsSourceData>) => Promise<{
|
|
2667
|
+
language: Types.AutomationSourceLanguage;
|
|
2668
|
+
source: string;
|
|
2669
|
+
sha256: string;
|
|
2670
|
+
}>;
|
|
2671
|
+
suspend: (options: import("./core/transport.js").CallOptions<Types.AutomationRunsSuspendData>) => Promise<Types.AutomationRun>;
|
|
2672
|
+
tasks: {
|
|
2673
|
+
list: (options: import("./core/transport.js").CallOptions<Types.AutomationRunsTasksData>) => Promise<import("./automation.js").Page<Types.AutomationTask | Types.AutomationTaskGroup>>;
|
|
2674
|
+
};
|
|
2675
|
+
waits: {
|
|
2676
|
+
complete: (options: import("./core/transport.js").CallOptions<Types.AutomationRunsCompleteWaitData>) => Promise<{
|
|
2677
|
+
id: string;
|
|
2678
|
+
run_id: string;
|
|
2679
|
+
kind: "event" | "timer" | "child";
|
|
2680
|
+
state: "cancelled" | "open" | "resolved" | "expired";
|
|
2681
|
+
task: null | {
|
|
2682
|
+
reference: string;
|
|
2683
|
+
name: string;
|
|
2684
|
+
};
|
|
2685
|
+
resume_at: null | string;
|
|
2686
|
+
event_type: null | string;
|
|
2687
|
+
child_run_id: null | string;
|
|
2688
|
+
created_at: string;
|
|
2689
|
+
expires_at: null | string;
|
|
2690
|
+
resolved_at: null | string;
|
|
2691
|
+
replayed: boolean;
|
|
2692
|
+
}>;
|
|
2693
|
+
list: (options: import("./core/transport.js").CallOptions<Types.AutomationRunsWaitsData>) => Promise<import("./automation.js").Page<Types.AutomationWait>>;
|
|
2694
|
+
};
|
|
2695
|
+
};
|
|
2696
|
+
scripts: {
|
|
2697
|
+
archive: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsArchiveData>) => Promise<Types.AutomationDefinition>;
|
|
2698
|
+
create: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsCreateData>) => Promise<Types.AutomationDefinitionDetail>;
|
|
2699
|
+
distTags: {
|
|
2700
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsDeleteDistTagData>) => Promise<{
|
|
2701
|
+
[key: string]: Types.AutomationDistTag;
|
|
2702
|
+
}>;
|
|
2703
|
+
list: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsDistTagsData>) => Promise<{
|
|
2704
|
+
[key: string]: Types.AutomationDistTag;
|
|
2705
|
+
}>;
|
|
2706
|
+
set: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsSetDistTagData>) => Promise<{
|
|
2707
|
+
[key: string]: Types.AutomationDistTag;
|
|
2708
|
+
}>;
|
|
2709
|
+
};
|
|
2710
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.AutomationScriptsListData> | undefined) => Promise<import("./automation.js").Page<Types.AutomationDefinition>>;
|
|
2711
|
+
restore: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsRestoreData>) => Promise<Types.AutomationDefinition>;
|
|
2712
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsGetData>) => Promise<Types.AutomationDefinitionDetail>;
|
|
2713
|
+
update: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsPatchData>) => Promise<Types.AutomationDefinitionDetail>;
|
|
2714
|
+
versions: {
|
|
2715
|
+
create: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsPublishData>) => Promise<Types.AutomationVersion>;
|
|
2716
|
+
deprecate: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsDeprecateData>) => Promise<Types.AutomationVersion>;
|
|
2717
|
+
list: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsVersionsData>) => Promise<import("./automation.js").Page<Types.AutomationVersionListItem>>;
|
|
2718
|
+
publish: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsPublishData>) => Promise<Types.AutomationVersion>;
|
|
2719
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsVersionData>) => Promise<Types.AutomationVersion>;
|
|
2720
|
+
};
|
|
2721
|
+
};
|
|
2722
|
+
targets: {
|
|
2723
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.AutomationTargetsTargetsData> | undefined) => Promise<import("./automation.js").Page<Types.AutomationTargetHit>>;
|
|
2724
|
+
};
|
|
2725
|
+
triggers: {
|
|
2726
|
+
create: (options: import("./core/transport.js").CallOptions<Types.AutomationTriggersCreateData>) => Promise<Types.AutomationTriggerCreateResult>;
|
|
2727
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.AutomationTriggersDeleteData>) => Promise<void>;
|
|
2728
|
+
fire: (options: import("./core/transport.js").CallOptions<Types.AutomationTriggersFireData>) => Promise<Types.AutomationFiring>;
|
|
2729
|
+
firings: {
|
|
2730
|
+
list: (options: import("./core/transport.js").CallOptions<Types.AutomationTriggersFiringsData>) => Promise<import("./automation.js").Page<Types.AutomationFiring>>;
|
|
2731
|
+
};
|
|
2732
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.AutomationTriggersListData> | undefined) => Promise<import("./automation.js").Page<Types.AutomationTrigger>>;
|
|
2733
|
+
pause: (options: import("./core/transport.js").CallOptions<Types.AutomationTriggersPauseData>) => Promise<Types.AutomationTrigger>;
|
|
2734
|
+
preview: (options: import("./core/transport.js").CallOptions<Types.AutomationTriggersPreviewData>) => Promise<Types.AutomationTriggerPreview>;
|
|
2735
|
+
resume: (options: import("./core/transport.js").CallOptions<Types.AutomationTriggersResumeData>) => Promise<Types.AutomationTrigger>;
|
|
2736
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.AutomationTriggersGetData>) => Promise<Types.AutomationTrigger>;
|
|
2737
|
+
rotateWebhook: (options: import("./core/transport.js").CallOptions<Types.AutomationTriggersRotateWebhookData>) => Promise<Types.AutomationWebhookUrl>;
|
|
2738
|
+
update: (options: import("./core/transport.js").CallOptions<Types.AutomationTriggersPatchData>) => Promise<Types.AutomationTrigger>;
|
|
2739
|
+
};
|
|
2740
|
+
validate: {
|
|
2741
|
+
create: (options: import("./core/transport.js").CallOptions<Types.AutomationValidateValidateData>) => Promise<Types.AutomationValidateResult>;
|
|
2742
|
+
};
|
|
2743
|
+
workflows: {
|
|
2744
|
+
archive: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsArchiveData>) => Promise<Types.AutomationDefinition>;
|
|
2745
|
+
create: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsCreateData>) => Promise<Types.AutomationDefinitionDetail>;
|
|
2746
|
+
distTags: {
|
|
2747
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsDeleteDistTagData>) => Promise<{
|
|
2748
|
+
[key: string]: Types.AutomationDistTag;
|
|
2749
|
+
}>;
|
|
2750
|
+
list: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsDistTagsData>) => Promise<{
|
|
2751
|
+
[key: string]: Types.AutomationDistTag;
|
|
2752
|
+
}>;
|
|
2753
|
+
set: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsSetDistTagData>) => Promise<{
|
|
2754
|
+
[key: string]: Types.AutomationDistTag;
|
|
2755
|
+
}>;
|
|
2756
|
+
};
|
|
2757
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsListData> | undefined) => Promise<import("./automation.js").Page<Types.AutomationDefinition>>;
|
|
2758
|
+
restore: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsRestoreData>) => Promise<Types.AutomationDefinition>;
|
|
2759
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsGetData>) => Promise<Types.AutomationDefinitionDetail>;
|
|
2760
|
+
update: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsPatchData>) => Promise<Types.AutomationDefinitionDetail>;
|
|
2761
|
+
versions: {
|
|
2762
|
+
create: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsPublishData>) => Promise<Types.AutomationVersion>;
|
|
2763
|
+
deprecate: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsDeprecateData>) => Promise<Types.AutomationVersion>;
|
|
2764
|
+
list: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsVersionsData>) => Promise<import("./automation.js").Page<Types.AutomationVersionListItem>>;
|
|
2765
|
+
publish: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsPublishData>) => Promise<Types.AutomationVersion>;
|
|
2766
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsVersionData>) => Promise<Types.AutomationVersion>;
|
|
2767
|
+
};
|
|
2768
|
+
};
|
|
2769
|
+
};
|
|
2770
|
+
export declare function createBrowser(transport: Transport): {
|
|
2771
|
+
connect: {
|
|
2772
|
+
retrieve: (options?: import("./core/transport.js").CallOptions<Types.BrowserConnectData> | undefined) => Promise<unknown>;
|
|
2773
|
+
};
|
|
2774
|
+
contexts: {
|
|
2775
|
+
create: (options: import("./core/transport.js").CallOptions<Types.BrowserCreateContextData>) => Promise<Types.BrowserContextCreateResult>;
|
|
2776
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.BrowserDeleteContextData>) => Promise<{
|
|
2777
|
+
deleted: true;
|
|
2778
|
+
}>;
|
|
2779
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.BrowserListContextsData> | undefined) => Promise<{
|
|
2780
|
+
data: Array<Types.BrowserContext>;
|
|
2781
|
+
nextCursor: string | null;
|
|
2782
|
+
}>;
|
|
2783
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.BrowserGetContextData>) => Promise<Types.BrowserContext>;
|
|
2784
|
+
update: (options: import("./core/transport.js").CallOptions<Types.BrowserUpdateContextData>) => Promise<Types.BrowserContext>;
|
|
2785
|
+
};
|
|
2786
|
+
live: {
|
|
2787
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.BrowserLiveViewData>) => Promise<unknown>;
|
|
2788
|
+
};
|
|
2789
|
+
seleniumUnsupported: {
|
|
2790
|
+
retrieve: (options?: import("./core/transport.js").CallOptions<Types.BrowserSeleniumUnsupportedData> | undefined) => Promise<unknown>;
|
|
2791
|
+
};
|
|
2792
|
+
sessions: {
|
|
2793
|
+
create: (options: import("./core/transport.js").CallOptions<Types.BrowserCreateSessionData>) => Promise<Types.BrowserSessionCreateResult>;
|
|
2794
|
+
events: {
|
|
2795
|
+
list: (options: import("./core/transport.js").CallOptions<Types.BrowserListEventsData>) => Promise<{
|
|
2796
|
+
data: Array<Types.BrowserEventRecord>;
|
|
2797
|
+
nextCursor: string | null;
|
|
2798
|
+
}>;
|
|
2799
|
+
};
|
|
2800
|
+
handoff: {
|
|
2801
|
+
complete: (options: import("./core/transport.js").CallOptions<Types.BrowserCompleteHandoffData>) => Promise<Types.BrowserEventRecord>;
|
|
2802
|
+
create: (options: import("./core/transport.js").CallOptions<Types.BrowserRequestHandoffData>) => Promise<Types.BrowserEventRecord>;
|
|
2803
|
+
};
|
|
2804
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.BrowserListSessionsData> | undefined) => Promise<{
|
|
2805
|
+
data: Array<Types.BrowserSession>;
|
|
2806
|
+
nextCursor: string | null;
|
|
2807
|
+
}>;
|
|
2808
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.BrowserGetSessionData>) => Promise<Types.BrowserSessionGetResult>;
|
|
2809
|
+
retrieveDebug: (options: import("./core/transport.js").CallOptions<Types.BrowserGetDebugData>) => Promise<Types.BrowserSessionLiveUrls>;
|
|
2810
|
+
stream: (options: import("./core/transport.js").StreamOptions<Types.BrowserStreamSessionData>) => AsyncIterable<Types.BrowserStreamMessage>;
|
|
2811
|
+
update: (options: import("./core/transport.js").CallOptions<Types.BrowserCloseSessionData>) => Promise<Types.BrowserSession>;
|
|
2812
|
+
viewer: {
|
|
2813
|
+
create: (options: import("./core/transport.js").CallOptions<Types.BrowserViewerHeartbeatData>) => Promise<{
|
|
2814
|
+
ok: true;
|
|
2815
|
+
}>;
|
|
2816
|
+
};
|
|
2817
|
+
};
|
|
2818
|
+
};
|
|
2819
|
+
export declare function createDatabase(transport: Transport): {
|
|
2820
|
+
databases: {
|
|
2821
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
2822
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
2823
|
+
events: {
|
|
2824
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DatabaseListEventsData>) => Promise<Types.DatabasePage & {
|
|
2825
|
+
data: Array<Types.DatabaseDatabaseEvent>;
|
|
2826
|
+
}>;
|
|
2827
|
+
};
|
|
2828
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.DatabaseListDatabasesData> | undefined) => Promise<import("./automation.js").Page<Types.DatabaseDatabase>>;
|
|
2829
|
+
purge: {
|
|
2830
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DatabasePurgeDatabaseData>) => Promise<{
|
|
2831
|
+
id: string;
|
|
2832
|
+
object: "database";
|
|
2833
|
+
purged: true;
|
|
2834
|
+
}>;
|
|
2835
|
+
};
|
|
2836
|
+
rest: {
|
|
2837
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseInsertData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
|
|
2838
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
|
|
2839
|
+
head: (options: import("./core/transport.js").CallOptions<Types.DatabaseHeadData>) => Promise<unknown>;
|
|
2840
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseSelectData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
|
|
2841
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
|
|
2842
|
+
};
|
|
2843
|
+
restore: (options: import("./core/transport.js").CallOptions<Types.DatabaseRestoreDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
2844
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
2845
|
+
tables: {
|
|
2846
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateTableData>) => Promise<Types.DatabaseTable>;
|
|
2847
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteTableData>) => Promise<{
|
|
2848
|
+
deleted: true;
|
|
2849
|
+
}>;
|
|
2850
|
+
fields: {
|
|
2851
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseAddFieldData>) => Promise<Types.DatabaseTable>;
|
|
2852
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteFieldData>) => Promise<Types.DatabaseTable>;
|
|
2853
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateFieldData>) => Promise<Types.DatabaseTable>;
|
|
2854
|
+
};
|
|
2855
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DatabaseListTablesData>) => Promise<Types.DatabasePage & {
|
|
2856
|
+
data: Array<Types.DatabaseTable>;
|
|
2857
|
+
}>;
|
|
2858
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetTableData>) => Promise<Types.DatabaseTable>;
|
|
2859
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateTableData>) => Promise<Types.DatabaseTable>;
|
|
2860
|
+
};
|
|
2861
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
2862
|
+
};
|
|
2863
|
+
};
|
|
2864
|
+
export declare function createFile(transport: Transport): {
|
|
2865
|
+
files: {
|
|
2866
|
+
create: (options: import("./core/transport.js").CallOptions<Types.FileCreateFileData>) => Promise<Types.OwnFileOpenAiFile>;
|
|
2867
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.FileDeleteFileData>) => Promise<Types.OwnFileDeleteFileResponse>;
|
|
2868
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.FileListFilesData> | undefined) => Promise<Types.OwnFileListFilesResponse>;
|
|
2869
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.FileRetrieveFileData>) => Promise<Types.OwnFileOpenAiFile>;
|
|
2870
|
+
retrieveContent: (options: import("./core/transport.js").CallOptions<Types.FileRetrieveFileContentData>) => Promise<Blob | File>;
|
|
2871
|
+
};
|
|
2872
|
+
};
|
|
2873
|
+
export declare function createKnowledge(transport: Transport): {
|
|
2874
|
+
vectorStores: {
|
|
2875
|
+
create: (options: import("./core/transport.js").CallOptions<Types.KnowledgeCreateVectorStoreData>) => Promise<Types.KnowledgeNativeVectorStore>;
|
|
2876
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.KnowledgeDeleteVectorStoreData>) => Promise<Types.KnowledgeNativeVectorStore>;
|
|
2877
|
+
events: {
|
|
2878
|
+
list: (options: import("./core/transport.js").CallOptions<Types.KnowledgeListEventsData>) => Promise<Types.KnowledgeEventList>;
|
|
2879
|
+
};
|
|
2880
|
+
fileBatches: {
|
|
2881
|
+
cancel: (options: import("./core/transport.js").CallOptions<Types.KnowledgeCancelFileBatchData>) => Promise<Types.KnowledgeFileBatch>;
|
|
2882
|
+
create: (options: import("./core/transport.js").CallOptions<Types.KnowledgeCreateFileBatchData>) => Promise<Types.KnowledgeFileBatch>;
|
|
2883
|
+
files: {
|
|
2884
|
+
list: (options: import("./core/transport.js").CallOptions<Types.KnowledgeListBatchFilesData>) => Promise<Types.KnowledgeNativeVectorStoreFileList>;
|
|
2885
|
+
};
|
|
2886
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.KnowledgeRetrieveFileBatchData>) => Promise<Types.KnowledgeFileBatch>;
|
|
2887
|
+
};
|
|
2888
|
+
files: {
|
|
2889
|
+
create: (options: import("./core/transport.js").CallOptions<Types.KnowledgeAttachFileData>) => Promise<Types.KnowledgeNativeVectorStoreFile>;
|
|
2890
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.KnowledgeRemoveFileData>) => Promise<Types.KnowledgeRemovedFile>;
|
|
2891
|
+
list: (options: import("./core/transport.js").CallOptions<Types.KnowledgeListFilesData>) => Promise<Types.KnowledgeNativeVectorStoreFileList>;
|
|
2892
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.KnowledgeRetrieveFileData>) => Promise<Types.KnowledgeNativeVectorStoreFile>;
|
|
2893
|
+
retrieveContent: (options: import("./core/transport.js").CallOptions<Types.KnowledgeRetrieveFileContentData>) => Promise<Types.KnowledgeFileContent>;
|
|
2894
|
+
retry: {
|
|
2895
|
+
create: (options: import("./core/transport.js").CallOptions<Types.KnowledgeRetryFileData>) => Promise<Types.KnowledgeNativeVectorStoreFile>;
|
|
2896
|
+
};
|
|
2897
|
+
segments: {
|
|
2898
|
+
list: (options: import("./core/transport.js").CallOptions<Types.KnowledgeListSegmentsData>) => Promise<Types.KnowledgeSegmentList>;
|
|
2899
|
+
};
|
|
2900
|
+
update: (options: import("./core/transport.js").CallOptions<Types.KnowledgeUpdateFileData>) => Promise<Types.KnowledgeNativeVectorStoreFile>;
|
|
2901
|
+
};
|
|
2902
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.KnowledgeListVectorStoresData> | undefined) => Promise<Types.KnowledgeNativeVectorStoreList>;
|
|
2903
|
+
purge: {
|
|
2904
|
+
create: (options: import("./core/transport.js").CallOptions<Types.KnowledgePurgeVectorStoreData>) => Promise<Types.KnowledgePurgedVectorStore>;
|
|
2905
|
+
};
|
|
2906
|
+
restore: (options: import("./core/transport.js").CallOptions<Types.KnowledgeRestoreVectorStoreData>) => Promise<Types.KnowledgeNativeVectorStore>;
|
|
2907
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.KnowledgeRetrieveVectorStoreData>) => Promise<Types.KnowledgeNativeExpandedVectorStore>;
|
|
2908
|
+
search: {
|
|
2909
|
+
create: (options: import("./core/transport.js").CallOptions<Types.KnowledgeSearchVectorStoreData>) => Promise<Types.KnowledgeNativeSearchPage>;
|
|
2910
|
+
};
|
|
2911
|
+
segments: {
|
|
2912
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.KnowledgeRetrieveSegmentData>) => Promise<Types.KnowledgeSegmentDetail>;
|
|
2913
|
+
};
|
|
2914
|
+
update: (options: import("./core/transport.js").CallOptions<Types.KnowledgeUpdateVectorStoreData>) => Promise<Types.KnowledgeNativeVectorStore>;
|
|
2915
|
+
};
|
|
2916
|
+
};
|
|
2917
|
+
export declare function createMedia(transport: Transport): {
|
|
2918
|
+
libraries: {
|
|
2919
|
+
assets: {
|
|
2920
|
+
batch: (options: import("./core/transport.js").CallOptions<Types.MediaBatchAssetsData>) => Promise<Types.MediaJob>;
|
|
2921
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MediaUploadAssetData>) => Promise<Types.MediaUploadResult>;
|
|
2922
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.MediaDeleteAssetData>) => Promise<Types.MediaDeleted>;
|
|
2923
|
+
import: {
|
|
2924
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MediaImportAssetData>) => Promise<Types.MediaAsset>;
|
|
2925
|
+
};
|
|
2926
|
+
list: (options: import("./core/transport.js").CallOptions<Types.MediaListAssetsData>) => Promise<import("./automation.js").Page<Types.MediaAsset>>;
|
|
2927
|
+
reprocess: {
|
|
2928
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MediaReprocessAssetData>) => Promise<Types.MediaAsset>;
|
|
2929
|
+
};
|
|
2930
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetAssetData>) => Promise<Types.MediaAsset>;
|
|
2931
|
+
understandings: {
|
|
2932
|
+
list: (options: import("./core/transport.js").CallOptions<Types.MediaListUnderstandingsData>) => Promise<import("./automation.js").Page<Types.MediaUnderstanding>>;
|
|
2933
|
+
};
|
|
2934
|
+
update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateAssetData>) => Promise<Types.MediaAsset>;
|
|
2935
|
+
};
|
|
2936
|
+
batches: {
|
|
2937
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateBatchData>) => Promise<Types.MediaJob>;
|
|
2938
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetBatchData>) => Promise<Types.MediaJob>;
|
|
2939
|
+
};
|
|
2940
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateLibraryData>) => Promise<Types.MediaLibrary>;
|
|
2941
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.MediaDeleteLibraryData>) => Promise<Types.MediaLibrary>;
|
|
2942
|
+
events: {
|
|
2943
|
+
list: (options: import("./core/transport.js").CallOptions<Types.MediaListEventsData>) => Promise<Types.MediaMediaEventPage>;
|
|
2944
|
+
};
|
|
2945
|
+
folders: {
|
|
2946
|
+
list: (options: import("./core/transport.js").CallOptions<Types.MediaListFoldersData>) => Promise<Types.MediaFolders>;
|
|
2947
|
+
};
|
|
2948
|
+
jobs: {
|
|
2949
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetJobData>) => Promise<Types.MediaJob>;
|
|
2950
|
+
};
|
|
2951
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.MediaListLibrariesData> | undefined) => Promise<import("./automation.js").Page<Types.MediaLibrary>>;
|
|
2952
|
+
purge: {
|
|
2953
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MediaPurgeLibraryData>) => Promise<Types.MediaPurgedLibrary>;
|
|
2954
|
+
};
|
|
2955
|
+
restore: (options: import("./core/transport.js").CallOptions<Types.MediaRestoreLibraryData>) => Promise<Types.MediaLibrary>;
|
|
2956
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetLibraryData>) => Promise<Types.MediaLibrary>;
|
|
2957
|
+
search: {
|
|
2958
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MediaSearchData>) => Promise<Types.MediaSemanticSearchResult>;
|
|
2959
|
+
expression: {
|
|
2960
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MediaExpressionSearchData>) => Promise<Types.MediaExpressionSearchResult>;
|
|
2961
|
+
};
|
|
2962
|
+
semantic: {
|
|
2963
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MediaSemanticSearchData>) => Promise<Types.MediaSemanticSearchResult>;
|
|
2964
|
+
};
|
|
2965
|
+
visual: {
|
|
2966
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MediaVisualSearchData>) => Promise<Types.MediaSemanticSearchResult>;
|
|
2967
|
+
};
|
|
2968
|
+
};
|
|
2969
|
+
update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateLibraryData>) => Promise<Types.MediaLibrary>;
|
|
2970
|
+
};
|
|
2971
|
+
};
|
|
2972
|
+
export declare function createMeta(transport: Transport): {
|
|
2973
|
+
health: {
|
|
2974
|
+
retrieve: (options?: import("./core/transport.js").CallOptions<Types.HealthCheckData> | undefined) => Promise<string>;
|
|
2975
|
+
};
|
|
2976
|
+
methods: {
|
|
2977
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.MetaMethodsSearchData> | undefined) => Promise<{
|
|
2978
|
+
has_more?: boolean;
|
|
2979
|
+
first_id?: string | null;
|
|
2980
|
+
last_id?: string | null;
|
|
2981
|
+
data: Array<{
|
|
2982
|
+
params: string;
|
|
2983
|
+
name: string;
|
|
2984
|
+
summary: string;
|
|
2985
|
+
http: string;
|
|
2986
|
+
path: string;
|
|
2987
|
+
}>;
|
|
2988
|
+
}>;
|
|
2989
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.MetaMethodsRetrieveData>) => Promise<Types.MetaMethod>;
|
|
2990
|
+
};
|
|
2991
|
+
};
|
|
2992
|
+
export declare function createModel(transport: Transport): {
|
|
2993
|
+
audio: {
|
|
2994
|
+
speech: {
|
|
2995
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateAudioSpeechData>) => Promise<Blob | File>;
|
|
2996
|
+
};
|
|
2997
|
+
transcriptions: {
|
|
2998
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateAudioTranscriptionData>) => Promise<{
|
|
2999
|
+
text: string;
|
|
3000
|
+
task?: "transcribe";
|
|
3001
|
+
language?: string;
|
|
3002
|
+
duration?: number;
|
|
3003
|
+
segments?: Array<{
|
|
3004
|
+
id: number;
|
|
3005
|
+
start: number;
|
|
3006
|
+
end: number;
|
|
3007
|
+
text: string;
|
|
3008
|
+
temperature?: number;
|
|
3009
|
+
avg_logprob?: number;
|
|
3010
|
+
compression_ratio?: number;
|
|
3011
|
+
no_speech_prob?: number;
|
|
3012
|
+
}>;
|
|
3013
|
+
}>;
|
|
3014
|
+
};
|
|
3015
|
+
};
|
|
3016
|
+
chat: {
|
|
3017
|
+
completions: {
|
|
3018
|
+
create: import("./core/bindings.js").MixedMethod<Types.CreateChatCompletionData, {
|
|
3019
|
+
id: string;
|
|
3020
|
+
object: "chat.completion";
|
|
3021
|
+
created: number;
|
|
3022
|
+
model: string;
|
|
3023
|
+
choices: Array<{
|
|
3024
|
+
index: number;
|
|
3025
|
+
message: {
|
|
3026
|
+
role: string;
|
|
3027
|
+
content: string | null;
|
|
3028
|
+
reasoning?: string | null;
|
|
3029
|
+
reasoning_details?: Array<{
|
|
3030
|
+
[key: string]: unknown;
|
|
3031
|
+
}> | null;
|
|
3032
|
+
};
|
|
3033
|
+
finish_reason: string | null;
|
|
3034
|
+
logprobs?: unknown | null;
|
|
3035
|
+
}>;
|
|
3036
|
+
usage: {
|
|
3037
|
+
prompt_tokens: number;
|
|
3038
|
+
completion_tokens: number;
|
|
3039
|
+
total_tokens: number;
|
|
3040
|
+
prompt_tokens_details: {
|
|
3041
|
+
cached_tokens: number;
|
|
3042
|
+
audio_tokens: number;
|
|
3043
|
+
};
|
|
3044
|
+
completion_tokens_details: {
|
|
3045
|
+
reasoning_tokens: number;
|
|
3046
|
+
audio_tokens: number;
|
|
3047
|
+
};
|
|
3048
|
+
prompt_cache_hit_tokens?: number;
|
|
3049
|
+
prompt_cache_miss_tokens?: number;
|
|
3050
|
+
};
|
|
3051
|
+
system_fingerprint: string | null;
|
|
3052
|
+
service_tier?: string | null;
|
|
3053
|
+
providerMetadata: {
|
|
3054
|
+
praxis: {
|
|
3055
|
+
generationId: string | null;
|
|
3056
|
+
cost: number | null;
|
|
3057
|
+
credential: "platform" | "byok";
|
|
3058
|
+
model: string;
|
|
3059
|
+
};
|
|
3060
|
+
};
|
|
3061
|
+
}, Types.PraxisSdkSsePostModelV1ChatCompletions>;
|
|
3062
|
+
};
|
|
3063
|
+
};
|
|
3064
|
+
conversations: {
|
|
3065
|
+
create: (options?: import("./core/transport.js").CallOptions<Types.CreateConversationData> | undefined) => Promise<Types.Conversation>;
|
|
3066
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DeleteConversationData>) => Promise<{
|
|
3067
|
+
id?: string;
|
|
3068
|
+
object?: "conversation.deleted";
|
|
3069
|
+
deleted?: boolean;
|
|
3070
|
+
}>;
|
|
3071
|
+
items: {
|
|
3072
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateConversationItemsData>) => Promise<Types.ConversationItemList>;
|
|
3073
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DeleteConversationItemData>) => Promise<Types.Conversation>;
|
|
3074
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ListConversationItemsData>) => Promise<Types.ConversationItemList>;
|
|
3075
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.RetrieveConversationItemData>) => Promise<{
|
|
3076
|
+
[key: string]: unknown;
|
|
3077
|
+
}>;
|
|
3078
|
+
};
|
|
3079
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.RetrieveConversationData>) => Promise<Types.Conversation>;
|
|
3080
|
+
update: (options: import("./core/transport.js").CallOptions<Types.UpdateConversationData>) => Promise<Types.Conversation>;
|
|
3081
|
+
};
|
|
3082
|
+
embeddings: {
|
|
3083
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateEmbeddingData>) => Promise<{
|
|
3084
|
+
data: Array<{
|
|
3085
|
+
embedding: Array<number> | string;
|
|
3086
|
+
index?: number;
|
|
3087
|
+
object: "embedding";
|
|
3088
|
+
}>;
|
|
3089
|
+
id?: string;
|
|
3090
|
+
model: string;
|
|
3091
|
+
object: "list";
|
|
3092
|
+
usage?: {
|
|
3093
|
+
cost?: number;
|
|
3094
|
+
cost_details?: Types.OpenaiCostDetails;
|
|
3095
|
+
is_byok?: boolean;
|
|
3096
|
+
prompt_tokens: number;
|
|
3097
|
+
prompt_tokens_details?: {
|
|
3098
|
+
audio_tokens?: number;
|
|
3099
|
+
file_tokens?: number;
|
|
3100
|
+
image_tokens?: number;
|
|
3101
|
+
text_tokens?: number;
|
|
3102
|
+
video_tokens?: number;
|
|
3103
|
+
};
|
|
3104
|
+
total_tokens: number;
|
|
3105
|
+
};
|
|
3106
|
+
}>;
|
|
3107
|
+
};
|
|
3108
|
+
generation: {
|
|
3109
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetGenerationData>) => Promise<{
|
|
3110
|
+
id: string;
|
|
3111
|
+
model: string;
|
|
3112
|
+
cost: number | null;
|
|
3113
|
+
usage: {
|
|
3114
|
+
prompt_tokens: number;
|
|
3115
|
+
completion_tokens: number;
|
|
3116
|
+
total_tokens: number;
|
|
3117
|
+
cached_input_tokens: number;
|
|
3118
|
+
};
|
|
3119
|
+
latency_ms: number | null;
|
|
3120
|
+
created: number;
|
|
3121
|
+
}>;
|
|
3122
|
+
};
|
|
3123
|
+
images: {
|
|
3124
|
+
edits: {
|
|
3125
|
+
create: (options: import("./core/transport.js").CallOptions<Types.EditImageData>) => Promise<{
|
|
3126
|
+
[key: string]: unknown;
|
|
3127
|
+
created: number;
|
|
3128
|
+
data: Array<{
|
|
3129
|
+
url?: string;
|
|
3130
|
+
b64_json?: string;
|
|
3131
|
+
[key: string]: unknown;
|
|
3132
|
+
}>;
|
|
3133
|
+
}>;
|
|
3134
|
+
};
|
|
3135
|
+
generations: {
|
|
3136
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateImageData>) => Promise<{
|
|
3137
|
+
created?: number;
|
|
3138
|
+
data?: Array<{
|
|
3139
|
+
url?: string;
|
|
3140
|
+
b64_json?: string;
|
|
3141
|
+
revised_prompt?: string;
|
|
3142
|
+
}>;
|
|
3143
|
+
}>;
|
|
3144
|
+
};
|
|
3145
|
+
};
|
|
3146
|
+
messages: {
|
|
3147
|
+
countTokens: (options: import("./core/transport.js").CallOptions<Types.CountTokensData>) => Promise<Types.AnthropicMessageTokensCount>;
|
|
3148
|
+
create: import("./core/bindings.js").MixedMethod<Types.CreateMessageData, Types.AnthropicMessage, Types.PraxisSdkSsePostModelV1Messages>;
|
|
3149
|
+
};
|
|
3150
|
+
models: {
|
|
3151
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListModelsData> | undefined) => Promise<{
|
|
3152
|
+
object: "list";
|
|
3153
|
+
data: Array<{
|
|
3154
|
+
id: string;
|
|
3155
|
+
object: "model";
|
|
3156
|
+
created: number;
|
|
3157
|
+
owned_by: string;
|
|
3158
|
+
name: string;
|
|
3159
|
+
description: string | null;
|
|
3160
|
+
context_window: number | null;
|
|
3161
|
+
max_tokens: number | null;
|
|
3162
|
+
type: "language" | "image" | "embedding" | "ocr" | "transcription" | "speech" | "video" | "reranking";
|
|
3163
|
+
supported_apis: Array<string>;
|
|
3164
|
+
tags: Array<string>;
|
|
3165
|
+
architecture: {
|
|
3166
|
+
modality: string;
|
|
3167
|
+
input_modalities: Array<string>;
|
|
3168
|
+
output_modalities: Array<string>;
|
|
3169
|
+
tokenizer: string | null;
|
|
3170
|
+
instruct_type: string | null;
|
|
3171
|
+
};
|
|
3172
|
+
x_praxis: {
|
|
3173
|
+
input_modalities: {
|
|
3174
|
+
text: "native" | "converted" | "unsupported";
|
|
3175
|
+
image: "native" | "converted" | "unsupported";
|
|
3176
|
+
pdf: "native" | "converted" | "unsupported";
|
|
3177
|
+
docx: "native" | "converted" | "unsupported";
|
|
3178
|
+
pptx: "native" | "converted" | "unsupported";
|
|
3179
|
+
xlsx: "native" | "converted" | "unsupported";
|
|
3180
|
+
audio: "native" | "converted" | "unsupported";
|
|
3181
|
+
video: "native" | "converted" | "unsupported";
|
|
3182
|
+
};
|
|
3183
|
+
};
|
|
3184
|
+
pricing: {
|
|
3185
|
+
input?: string;
|
|
3186
|
+
output?: string;
|
|
3187
|
+
input_cache_read?: string;
|
|
3188
|
+
input_cache_write?: string;
|
|
3189
|
+
image?: string;
|
|
3190
|
+
video_second?: string;
|
|
3191
|
+
audio_input_minute?: string;
|
|
3192
|
+
audio_output_minute?: string;
|
|
3193
|
+
input_character?: string;
|
|
3194
|
+
page?: string;
|
|
3195
|
+
};
|
|
3196
|
+
released: string;
|
|
3197
|
+
}>;
|
|
3198
|
+
}>;
|
|
3199
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.RetrieveModelData>) => Promise<{
|
|
3200
|
+
id: string;
|
|
3201
|
+
object: "model";
|
|
3202
|
+
created: number;
|
|
3203
|
+
owned_by: string;
|
|
3204
|
+
name: string;
|
|
3205
|
+
description: string | null;
|
|
3206
|
+
context_window: number | null;
|
|
3207
|
+
max_tokens: number | null;
|
|
3208
|
+
type: "language" | "image" | "embedding" | "ocr" | "transcription" | "speech" | "video" | "reranking";
|
|
3209
|
+
supported_apis: Array<string>;
|
|
3210
|
+
tags: Array<string>;
|
|
3211
|
+
architecture: {
|
|
3212
|
+
modality: string;
|
|
3213
|
+
input_modalities: Array<string>;
|
|
3214
|
+
output_modalities: Array<string>;
|
|
3215
|
+
tokenizer: string | null;
|
|
3216
|
+
instruct_type: string | null;
|
|
3217
|
+
};
|
|
3218
|
+
x_praxis: {
|
|
3219
|
+
input_modalities: {
|
|
3220
|
+
text: "native" | "converted" | "unsupported";
|
|
3221
|
+
image: "native" | "converted" | "unsupported";
|
|
3222
|
+
pdf: "native" | "converted" | "unsupported";
|
|
3223
|
+
docx: "native" | "converted" | "unsupported";
|
|
3224
|
+
pptx: "native" | "converted" | "unsupported";
|
|
3225
|
+
xlsx: "native" | "converted" | "unsupported";
|
|
3226
|
+
audio: "native" | "converted" | "unsupported";
|
|
3227
|
+
video: "native" | "converted" | "unsupported";
|
|
3228
|
+
};
|
|
3229
|
+
};
|
|
3230
|
+
pricing: {
|
|
3231
|
+
input?: string;
|
|
3232
|
+
output?: string;
|
|
3233
|
+
input_cache_read?: string;
|
|
3234
|
+
input_cache_write?: string;
|
|
3235
|
+
image?: string;
|
|
3236
|
+
video_second?: string;
|
|
3237
|
+
audio_input_minute?: string;
|
|
3238
|
+
audio_output_minute?: string;
|
|
3239
|
+
input_character?: string;
|
|
3240
|
+
page?: string;
|
|
3241
|
+
};
|
|
3242
|
+
released: string;
|
|
3243
|
+
}>;
|
|
3244
|
+
};
|
|
3245
|
+
ocr: {
|
|
3246
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateOcrData>) => Promise<{
|
|
3247
|
+
[key: string]: unknown;
|
|
3248
|
+
pages: Array<{
|
|
3249
|
+
index: number;
|
|
3250
|
+
markdown: string;
|
|
3251
|
+
images: Array<{
|
|
3252
|
+
id: string;
|
|
3253
|
+
top_left_x: number | null;
|
|
3254
|
+
top_left_y: number | null;
|
|
3255
|
+
bottom_right_x: number | null;
|
|
3256
|
+
bottom_right_y: number | null;
|
|
3257
|
+
image_base64?: string | null;
|
|
3258
|
+
image_annotation?: string | null;
|
|
3259
|
+
[key: string]: unknown;
|
|
3260
|
+
}>;
|
|
3261
|
+
dimensions: {
|
|
3262
|
+
dpi: number;
|
|
3263
|
+
height: number;
|
|
3264
|
+
width: number;
|
|
3265
|
+
[key: string]: unknown;
|
|
3266
|
+
} | null;
|
|
3267
|
+
tables?: Array<{
|
|
3268
|
+
id: string;
|
|
3269
|
+
content: string;
|
|
3270
|
+
format: "markdown" | "html";
|
|
3271
|
+
word_confidence_scores?: Array<{
|
|
3272
|
+
text: string;
|
|
3273
|
+
confidence: number;
|
|
3274
|
+
start_index: number;
|
|
3275
|
+
[key: string]: unknown;
|
|
3276
|
+
}> | null;
|
|
3277
|
+
[key: string]: unknown;
|
|
3278
|
+
}>;
|
|
3279
|
+
hyperlinks?: Array<string>;
|
|
3280
|
+
header?: string | null;
|
|
3281
|
+
footer?: string | null;
|
|
3282
|
+
blocks?: Array<{
|
|
3283
|
+
top_left_x: number;
|
|
3284
|
+
top_left_y: number;
|
|
3285
|
+
bottom_right_x: number;
|
|
3286
|
+
bottom_right_y: number;
|
|
3287
|
+
content: string;
|
|
3288
|
+
confidence_scores?: {
|
|
3289
|
+
average_content_confidence_score?: number | null;
|
|
3290
|
+
minimum_content_confidence_score?: number | null;
|
|
3291
|
+
block_type_confidence_score?: number | null;
|
|
3292
|
+
[key: string]: unknown;
|
|
3293
|
+
} | null;
|
|
3294
|
+
type?: "text" | "list" | "title" | "equation" | "caption" | "code" | "references" | "aside_text" | "header" | "footer" | "signature";
|
|
3295
|
+
[key: string]: unknown;
|
|
3296
|
+
} | {
|
|
3297
|
+
top_left_x: number;
|
|
3298
|
+
top_left_y: number;
|
|
3299
|
+
bottom_right_x: number;
|
|
3300
|
+
bottom_right_y: number;
|
|
3301
|
+
content: string;
|
|
3302
|
+
confidence_scores?: {
|
|
3303
|
+
average_content_confidence_score?: number | null;
|
|
3304
|
+
minimum_content_confidence_score?: number | null;
|
|
3305
|
+
block_type_confidence_score?: number | null;
|
|
3306
|
+
[key: string]: unknown;
|
|
3307
|
+
} | null;
|
|
3308
|
+
type?: "image";
|
|
3309
|
+
image_id: string;
|
|
3310
|
+
[key: string]: unknown;
|
|
3311
|
+
} | {
|
|
3312
|
+
top_left_x: number;
|
|
3313
|
+
top_left_y: number;
|
|
3314
|
+
bottom_right_x: number;
|
|
3315
|
+
bottom_right_y: number;
|
|
3316
|
+
content: string;
|
|
3317
|
+
confidence_scores?: {
|
|
3318
|
+
average_content_confidence_score?: number | null;
|
|
3319
|
+
minimum_content_confidence_score?: number | null;
|
|
3320
|
+
block_type_confidence_score?: number | null;
|
|
3321
|
+
[key: string]: unknown;
|
|
3322
|
+
} | null;
|
|
3323
|
+
type?: "table";
|
|
3324
|
+
table_id?: string | null;
|
|
3325
|
+
[key: string]: unknown;
|
|
3326
|
+
}> | null;
|
|
3327
|
+
confidence_scores?: {
|
|
3328
|
+
word_confidence_scores?: Array<{
|
|
3329
|
+
text: string;
|
|
3330
|
+
confidence: number;
|
|
3331
|
+
start_index: number;
|
|
3332
|
+
[key: string]: unknown;
|
|
3333
|
+
}>;
|
|
3334
|
+
average_page_confidence_score: number;
|
|
3335
|
+
minimum_page_confidence_score: number;
|
|
3336
|
+
[key: string]: unknown;
|
|
3337
|
+
} | null;
|
|
3338
|
+
[key: string]: unknown;
|
|
3339
|
+
}>;
|
|
3340
|
+
model: string;
|
|
3341
|
+
usage_info: {
|
|
3342
|
+
pages_processed: number;
|
|
3343
|
+
doc_size_bytes?: number | null;
|
|
3344
|
+
[key: string]: unknown;
|
|
3345
|
+
};
|
|
3346
|
+
document_annotation?: string | null;
|
|
3347
|
+
}>;
|
|
3348
|
+
};
|
|
3349
|
+
rerank: {
|
|
3350
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RerankData>) => Promise<{
|
|
3351
|
+
results: Array<{
|
|
3352
|
+
index: number;
|
|
3353
|
+
relevance_score: number;
|
|
3354
|
+
}>;
|
|
3355
|
+
}>;
|
|
3356
|
+
};
|
|
3357
|
+
responses: {
|
|
3358
|
+
cancel: (options: import("./core/transport.js").CallOptions<Types.CancelResponseData>) => Promise<{
|
|
3359
|
+
[key: string]: unknown;
|
|
3360
|
+
}>;
|
|
3361
|
+
compact: (options: import("./core/transport.js").CallOptions<Types.CompactResponseData>) => Promise<{
|
|
3362
|
+
[key: string]: unknown;
|
|
3363
|
+
}>;
|
|
3364
|
+
create: import("./core/bindings.js").MixedMethod<Types.CreateResponseData, Types.OpenaiOpenResponsesResult, Types.PraxisSdkSsePostModelV1Responses>;
|
|
3365
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DeleteResponseData>) => Promise<{
|
|
3366
|
+
[key: string]: unknown;
|
|
3367
|
+
}>;
|
|
3368
|
+
inputItems: {
|
|
3369
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ListResponseInputItemsData>) => Promise<{
|
|
3370
|
+
[key: string]: unknown;
|
|
3371
|
+
}>;
|
|
3372
|
+
};
|
|
3373
|
+
inputTokens: {
|
|
3374
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CountResponseInputTokensData>) => Promise<{
|
|
3375
|
+
[key: string]: unknown;
|
|
3376
|
+
}>;
|
|
3377
|
+
};
|
|
3378
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.RetrieveResponseData>) => Promise<{
|
|
3379
|
+
[key: string]: unknown;
|
|
3380
|
+
}>;
|
|
3381
|
+
};
|
|
3382
|
+
videos: {
|
|
3383
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateVideoData>) => Promise<{
|
|
3384
|
+
id: string;
|
|
3385
|
+
object: "video";
|
|
3386
|
+
model: string;
|
|
3387
|
+
status: "queued" | "in_progress" | "completed" | "failed";
|
|
3388
|
+
progress: number;
|
|
3389
|
+
created_at: number;
|
|
3390
|
+
completed_at: number | null;
|
|
3391
|
+
expires_at: number | null;
|
|
3392
|
+
seconds: string;
|
|
3393
|
+
size: string;
|
|
3394
|
+
prompt?: string | null;
|
|
3395
|
+
remixed_from_video_id?: null;
|
|
3396
|
+
error: {
|
|
3397
|
+
code?: string;
|
|
3398
|
+
message?: string;
|
|
3399
|
+
} | null;
|
|
3400
|
+
polling_url: string;
|
|
3401
|
+
unsigned_urls: Array<string>;
|
|
3402
|
+
usage?: {
|
|
3403
|
+
cost: number;
|
|
3404
|
+
};
|
|
3405
|
+
}>;
|
|
3406
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DeleteVideoData>) => Promise<{
|
|
3407
|
+
id: string;
|
|
3408
|
+
object: "video.deleted";
|
|
3409
|
+
deleted: true;
|
|
3410
|
+
}>;
|
|
3411
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListVideosData> | undefined) => Promise<{
|
|
3412
|
+
object: "list";
|
|
3413
|
+
data: Array<{
|
|
3414
|
+
id: string;
|
|
3415
|
+
object: "video";
|
|
3416
|
+
model: string;
|
|
3417
|
+
status: "queued" | "in_progress" | "completed" | "failed";
|
|
3418
|
+
progress: number;
|
|
3419
|
+
created_at: number;
|
|
3420
|
+
completed_at: number | null;
|
|
3421
|
+
expires_at: number | null;
|
|
3422
|
+
seconds: string;
|
|
3423
|
+
size: string;
|
|
3424
|
+
prompt?: string | null;
|
|
3425
|
+
remixed_from_video_id?: null;
|
|
3426
|
+
error: {
|
|
3427
|
+
code?: string;
|
|
3428
|
+
message?: string;
|
|
3429
|
+
} | null;
|
|
3430
|
+
polling_url: string;
|
|
3431
|
+
unsigned_urls: Array<string>;
|
|
3432
|
+
usage?: {
|
|
3433
|
+
cost: number;
|
|
3434
|
+
};
|
|
3435
|
+
}>;
|
|
3436
|
+
has_more: boolean;
|
|
3437
|
+
first_id: string | null;
|
|
3438
|
+
last_id: string | null;
|
|
3439
|
+
}>;
|
|
3440
|
+
remix: (options: import("./core/transport.js").CallOptions<Types.RemixVideoData>) => Promise<unknown>;
|
|
3441
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.RetrieveVideoData>) => Promise<{
|
|
3442
|
+
id: string;
|
|
3443
|
+
object: "video";
|
|
3444
|
+
model: string;
|
|
3445
|
+
status: "queued" | "in_progress" | "completed" | "failed";
|
|
3446
|
+
progress: number;
|
|
3447
|
+
created_at: number;
|
|
3448
|
+
completed_at: number | null;
|
|
3449
|
+
expires_at: number | null;
|
|
3450
|
+
seconds: string;
|
|
3451
|
+
size: string;
|
|
3452
|
+
prompt?: string | null;
|
|
3453
|
+
remixed_from_video_id?: null;
|
|
3454
|
+
error: {
|
|
3455
|
+
code?: string;
|
|
3456
|
+
message?: string;
|
|
3457
|
+
} | null;
|
|
3458
|
+
polling_url: string;
|
|
3459
|
+
unsigned_urls: Array<string>;
|
|
3460
|
+
usage?: {
|
|
3461
|
+
cost: number;
|
|
3462
|
+
};
|
|
3463
|
+
}>;
|
|
3464
|
+
retrieveContent: (options: import("./core/transport.js").CallOptions<Types.DownloadVideoContentData>) => Promise<Blob | File>;
|
|
3465
|
+
};
|
|
3466
|
+
};
|
|
3467
|
+
export declare function createOrganization(transport: Transport): {
|
|
3468
|
+
charges: {
|
|
3469
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ExportOrganizationChargesData>) => Promise<{
|
|
3470
|
+
ChargePeriodStart: string;
|
|
3471
|
+
ChargePeriodEnd: string;
|
|
3472
|
+
BilledCost: string;
|
|
3473
|
+
BillingCurrency: "CNY" | "USD";
|
|
3474
|
+
ServiceName: string;
|
|
3475
|
+
ServiceCategory: string;
|
|
3476
|
+
ResourceId: string;
|
|
3477
|
+
ResourceName: string;
|
|
3478
|
+
ConsumedQuantity: string;
|
|
3479
|
+
ConsumedUnit: string;
|
|
3480
|
+
ChargeCategory: "Usage" | "Adjustment";
|
|
3481
|
+
ChargeClass: "Correction" | null;
|
|
3482
|
+
ChargeDescription: string;
|
|
3483
|
+
x_RequestId: string | null;
|
|
3484
|
+
x_EventId: string;
|
|
3485
|
+
}>;
|
|
3486
|
+
};
|
|
3487
|
+
costs: {
|
|
3488
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationCostsData>) => Promise<{
|
|
3489
|
+
object: "page";
|
|
3490
|
+
data: Array<{
|
|
3491
|
+
object: "bucket";
|
|
3492
|
+
starting_at: string;
|
|
3493
|
+
ending_at: string;
|
|
3494
|
+
estimated: boolean;
|
|
3495
|
+
results: Array<{
|
|
3496
|
+
ServiceName?: string;
|
|
3497
|
+
ServiceCategory?: string;
|
|
3498
|
+
ResourceId?: string;
|
|
3499
|
+
ResourceName?: string;
|
|
3500
|
+
BilledCost: string;
|
|
3501
|
+
BillingCurrency: "CNY" | "USD";
|
|
3502
|
+
x_EventCount: string;
|
|
3503
|
+
}>;
|
|
3504
|
+
}>;
|
|
3505
|
+
has_more: boolean;
|
|
3506
|
+
next_page: string | null;
|
|
3507
|
+
}>;
|
|
3508
|
+
};
|
|
3509
|
+
events: {
|
|
3510
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationEventsData>) => Promise<{
|
|
3511
|
+
object: "page";
|
|
3512
|
+
data: Array<{
|
|
3513
|
+
object: "usage.event";
|
|
3514
|
+
id: string;
|
|
3515
|
+
occurred_at: string;
|
|
3516
|
+
ServiceName: string;
|
|
3517
|
+
ServiceCategory: string;
|
|
3518
|
+
ResourceId: string;
|
|
3519
|
+
ResourceName: string;
|
|
3520
|
+
BilledCost: string;
|
|
3521
|
+
BillingCurrency: "CNY" | "USD";
|
|
3522
|
+
ChargeClass: "Correction" | null;
|
|
3523
|
+
request_id: string | null;
|
|
3524
|
+
settlement: {
|
|
3525
|
+
status: "settled" | "no_charge" | "rejected";
|
|
3526
|
+
shortfall: string | null;
|
|
3527
|
+
zero_reason: string | null;
|
|
3528
|
+
};
|
|
3529
|
+
lines: Array<{
|
|
3530
|
+
meter: string;
|
|
3531
|
+
display_name: string;
|
|
3532
|
+
ConsumedQuantity: string;
|
|
3533
|
+
ConsumedUnit: string;
|
|
3534
|
+
}>;
|
|
3535
|
+
}>;
|
|
3536
|
+
has_more: boolean;
|
|
3537
|
+
next_page: string | null;
|
|
3538
|
+
}>;
|
|
3539
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationEventData>) => Promise<{
|
|
3540
|
+
object: "usage.event";
|
|
3541
|
+
id: string;
|
|
3542
|
+
occurred_at: string;
|
|
3543
|
+
ServiceName: string;
|
|
3544
|
+
ServiceCategory: string;
|
|
3545
|
+
ResourceId: string;
|
|
3546
|
+
ResourceName: string;
|
|
3547
|
+
BilledCost: string;
|
|
3548
|
+
BillingCurrency: "CNY" | "USD";
|
|
3549
|
+
ChargeClass: "Correction" | null;
|
|
3550
|
+
request_id: string | null;
|
|
3551
|
+
settlement: {
|
|
3552
|
+
status: "settled" | "no_charge" | "rejected";
|
|
3553
|
+
shortfall: string | null;
|
|
3554
|
+
zero_reason: string | null;
|
|
3555
|
+
};
|
|
3556
|
+
lines?: Array<{
|
|
3557
|
+
meter: string;
|
|
3558
|
+
display_name: string;
|
|
3559
|
+
ConsumedQuantity: string;
|
|
3560
|
+
ConsumedUnit: string;
|
|
3561
|
+
ListUnitPrice: string | null;
|
|
3562
|
+
PricingUnit: string | null;
|
|
3563
|
+
BilledCost: string;
|
|
3564
|
+
}>;
|
|
3565
|
+
x_Charges?: Array<{
|
|
3566
|
+
transaction_id: string;
|
|
3567
|
+
BilledCost: string;
|
|
3568
|
+
BillingCurrency: "CNY" | "USD";
|
|
3569
|
+
sub_account: "cash" | "promotional";
|
|
3570
|
+
}>;
|
|
3571
|
+
}>;
|
|
3572
|
+
};
|
|
3573
|
+
feedback: {
|
|
3574
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateOrganizationFeedbackData>) => Promise<{
|
|
3575
|
+
id: string;
|
|
3576
|
+
}>;
|
|
3577
|
+
};
|
|
3578
|
+
usage: {
|
|
3579
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationUsageData>) => Promise<{
|
|
3580
|
+
object: "page";
|
|
3581
|
+
data: Array<{
|
|
3582
|
+
object: "bucket";
|
|
3583
|
+
starting_at: string;
|
|
3584
|
+
ending_at: string;
|
|
3585
|
+
estimated: boolean;
|
|
3586
|
+
results: Array<{
|
|
3587
|
+
ServiceName?: string;
|
|
3588
|
+
ServiceCategory?: string;
|
|
3589
|
+
ResourceId?: string;
|
|
3590
|
+
ResourceName?: string;
|
|
3591
|
+
ConsumedQuantity: string;
|
|
3592
|
+
ConsumedUnit: string;
|
|
3593
|
+
x_EventCount: string;
|
|
3594
|
+
}>;
|
|
3595
|
+
}>;
|
|
3596
|
+
has_more: boolean;
|
|
3597
|
+
next_page: string | null;
|
|
3598
|
+
}>;
|
|
3599
|
+
};
|
|
3600
|
+
};
|
|
3601
|
+
export declare function createSandbox(transport: Transport): {
|
|
3602
|
+
sandboxes: {
|
|
3603
|
+
commands: {
|
|
3604
|
+
run: (options: import("./core/transport.js").CallOptions<Types.RunSandboxCommandData>) => Promise<{
|
|
3605
|
+
stdout: string;
|
|
3606
|
+
stderr: string;
|
|
3607
|
+
exitCode: number;
|
|
3608
|
+
}>;
|
|
3609
|
+
};
|
|
3610
|
+
connect: (options: import("./core/transport.js").CallOptions<Types.PostSandboxV1SandboxesBySandboxIdConnectData>) => Promise<Types.SandboxSandbox>;
|
|
3611
|
+
create: (options: import("./core/transport.js").CallOptions<Types.PostSandboxV1SandboxesData>) => Promise<Types.SandboxSandbox>;
|
|
3612
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DeleteSandboxV1SandboxesBySandboxIdData>) => Promise<void>;
|
|
3613
|
+
extend: (options: import("./core/transport.js").CallOptions<Types.ExtendSandboxData>) => Promise<{
|
|
3614
|
+
endAt: string;
|
|
3615
|
+
}>;
|
|
3616
|
+
files: {
|
|
3617
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ListSandboxFilesData>) => Promise<{
|
|
3618
|
+
name: string;
|
|
3619
|
+
path: string;
|
|
3620
|
+
type: "file" | "dir" | "symlink";
|
|
3621
|
+
size: number;
|
|
3622
|
+
}[]>;
|
|
3623
|
+
makeDir: (options: import("./core/transport.js").CallOptions<Types.MakeSandboxDirectoryData>) => Promise<boolean>;
|
|
3624
|
+
read: (options: import("./core/transport.js").CallOptions<Types.ReadSandboxFileData>) => Promise<string>;
|
|
3625
|
+
remove: (options: import("./core/transport.js").CallOptions<Types.RemoveSandboxFileData>) => Promise<void>;
|
|
3626
|
+
write: (options: import("./core/transport.js").CallOptions<Types.WriteSandboxFileData>) => Promise<{
|
|
3627
|
+
name: string;
|
|
3628
|
+
path: string;
|
|
3629
|
+
type: "file" | "dir" | "symlink";
|
|
3630
|
+
size: number;
|
|
3631
|
+
}>;
|
|
3632
|
+
};
|
|
3633
|
+
fork: (options: import("./core/transport.js").CallOptions<Types.PostSandboxV1SandboxesBySandboxIdForkData>) => Promise<Types.SandboxSandboxForkResult[]>;
|
|
3634
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.GetSandboxV1SandboxesData> | undefined) => Promise<Types.SandboxListedSandbox[]>;
|
|
3635
|
+
logs: {
|
|
3636
|
+
list: (options: import("./core/transport.js").CallOptions<Types.GetSandboxV1SandboxesBySandboxIdLogsData>) => Promise<Types.SandboxSandboxLogsV2Response>;
|
|
3637
|
+
};
|
|
3638
|
+
metrics: {
|
|
3639
|
+
list: (options: import("./core/transport.js").CallOptions<Types.GetSandboxV1SandboxesBySandboxIdMetricsData>) => Promise<Types.SandboxSandboxMetric[]>;
|
|
3640
|
+
};
|
|
3641
|
+
pause: (options: import("./core/transport.js").CallOptions<Types.PostSandboxV1SandboxesBySandboxIdPauseData>) => Promise<void>;
|
|
3642
|
+
processes: {
|
|
3643
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ListObservedProcessesData>) => Promise<{
|
|
3644
|
+
processes: Array<{
|
|
3645
|
+
processId: string;
|
|
3646
|
+
pid: number;
|
|
3647
|
+
tag?: string;
|
|
3648
|
+
config: {
|
|
3649
|
+
cmd: string;
|
|
3650
|
+
args: Array<string>;
|
|
3651
|
+
cwd?: string;
|
|
3652
|
+
};
|
|
3653
|
+
pty?: boolean;
|
|
3654
|
+
startedAt?: string;
|
|
3655
|
+
exitedAt?: string;
|
|
3656
|
+
exitCode?: number;
|
|
3657
|
+
state: "running" | "exited" | "unknown";
|
|
3658
|
+
observed: boolean;
|
|
3659
|
+
observationGap: boolean;
|
|
3660
|
+
outputTruncated: boolean;
|
|
3661
|
+
}>;
|
|
3662
|
+
}>;
|
|
3663
|
+
retrieveOutput: (options: import("./core/transport.js").CallOptions<Types.GetObservedProcessOutputData>) => Promise<{
|
|
3664
|
+
chunks: Array<{
|
|
3665
|
+
seq: number;
|
|
3666
|
+
stream: "stdout" | "stderr" | "pty";
|
|
3667
|
+
data: string;
|
|
3668
|
+
timestamp: number;
|
|
3669
|
+
}>;
|
|
3670
|
+
complete: boolean;
|
|
3671
|
+
gap: boolean;
|
|
3672
|
+
truncated: boolean;
|
|
3673
|
+
exitCode: number | null;
|
|
3674
|
+
}>;
|
|
3675
|
+
};
|
|
3676
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetSandboxV1SandboxesBySandboxIdData>) => Promise<Types.SandboxSandboxDetail>;
|
|
3677
|
+
snapshots: {
|
|
3678
|
+
create: (options: import("./core/transport.js").CallOptions<Types.PostSandboxV1SandboxesBySandboxIdSnapshotsData>) => Promise<Types.SandboxSnapshotInfo>;
|
|
3679
|
+
};
|
|
3680
|
+
timeout: (options: import("./core/transport.js").CallOptions<Types.PostSandboxV1SandboxesBySandboxIdTimeoutData>) => Promise<void>;
|
|
3681
|
+
update: (options: import("./core/transport.js").CallOptions<Types.RenameSandboxData>) => Promise<Types.SandboxSandboxDetail & {
|
|
3682
|
+
name: string;
|
|
3683
|
+
}>;
|
|
3684
|
+
updateNetwork: (options: import("./core/transport.js").CallOptions<Types.PutSandboxV1SandboxesBySandboxIdNetworkData>) => Promise<void>;
|
|
3685
|
+
upgrade: {
|
|
3686
|
+
create: (options: import("./core/transport.js").CallOptions<Types.UpgradeSandboxData>) => Promise<Types.SandboxSandboxDetail>;
|
|
3687
|
+
};
|
|
3688
|
+
};
|
|
3689
|
+
snapshots: {
|
|
3690
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DeleteSandboxV1SnapshotsBySnapshotIdData>) => Promise<void>;
|
|
3691
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.GetSandboxV1SnapshotsData> | undefined) => Promise<Types.SandboxSnapshotInfo[]>;
|
|
3692
|
+
};
|
|
3693
|
+
templates: {
|
|
3694
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.GetSandboxV1TemplatesData> | undefined) => Promise<Types.SandboxTemplate[]>;
|
|
3695
|
+
};
|
|
3696
|
+
volumes: {
|
|
3697
|
+
create: (options: import("./core/transport.js").CallOptions<Types.PostSandboxV1VolumesData>) => Promise<Types.SandboxVolumeAndToken>;
|
|
3698
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DeleteSandboxV1VolumesByVolumeIdData>) => Promise<void>;
|
|
3699
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.GetSandboxV1VolumesData> | undefined) => Promise<Types.SandboxVolume[]>;
|
|
3700
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetSandboxV1VolumesByVolumeIdData>) => Promise<Types.SandboxVolumeAndToken>;
|
|
3701
|
+
};
|
|
3702
|
+
};
|
|
3703
|
+
export declare function createSearch(transport: Transport): {
|
|
3704
|
+
crawl: {
|
|
3705
|
+
create: (options: import("./core/transport.js").CallOptions<Types.SearchCrawlData>) => Promise<{
|
|
3706
|
+
base_url?: string;
|
|
3707
|
+
results?: Array<{
|
|
3708
|
+
url?: string;
|
|
3709
|
+
raw_content?: string;
|
|
3710
|
+
favicon?: string;
|
|
3711
|
+
}>;
|
|
3712
|
+
response_time?: number;
|
|
3713
|
+
usage?: {
|
|
3714
|
+
[key: string]: unknown;
|
|
3715
|
+
};
|
|
3716
|
+
request_id?: string;
|
|
3717
|
+
}>;
|
|
3718
|
+
};
|
|
3719
|
+
extract: {
|
|
3720
|
+
create: (options: import("./core/transport.js").CallOptions<Types.SearchExtractData>) => Promise<{
|
|
3721
|
+
results?: Array<{
|
|
3722
|
+
url?: string;
|
|
3723
|
+
raw_content?: string;
|
|
3724
|
+
images?: Array<string>;
|
|
3725
|
+
favicon?: string;
|
|
3726
|
+
}>;
|
|
3727
|
+
failed_results?: Array<{
|
|
3728
|
+
url?: string;
|
|
3729
|
+
error?: string;
|
|
3730
|
+
}>;
|
|
3731
|
+
response_time?: number;
|
|
3732
|
+
usage?: {
|
|
3733
|
+
[key: string]: unknown;
|
|
3734
|
+
};
|
|
3735
|
+
request_id?: string;
|
|
3736
|
+
}>;
|
|
3737
|
+
};
|
|
3738
|
+
map: {
|
|
3739
|
+
create: (options: import("./core/transport.js").CallOptions<Types.SearchMapData>) => Promise<{
|
|
3740
|
+
base_url?: string;
|
|
3741
|
+
results?: Array<string>;
|
|
3742
|
+
response_time?: number;
|
|
3743
|
+
usage?: {
|
|
3744
|
+
[key: string]: unknown;
|
|
3745
|
+
};
|
|
3746
|
+
request_id?: string;
|
|
3747
|
+
}>;
|
|
3748
|
+
};
|
|
3749
|
+
search: {
|
|
3750
|
+
create: (options: import("./core/transport.js").CallOptions<Types.SearchSearchData>) => Promise<{
|
|
3751
|
+
query: string;
|
|
3752
|
+
answer: string;
|
|
3753
|
+
images: Array<{
|
|
3754
|
+
url?: string;
|
|
3755
|
+
description?: string;
|
|
3756
|
+
}>;
|
|
3757
|
+
results: Array<{
|
|
3758
|
+
title?: string;
|
|
3759
|
+
url?: string;
|
|
3760
|
+
content?: string;
|
|
3761
|
+
score?: number;
|
|
3762
|
+
raw_content?: string;
|
|
3763
|
+
published_date?: string;
|
|
3764
|
+
favicon?: string;
|
|
3765
|
+
images?: Array<{
|
|
3766
|
+
url?: string;
|
|
3767
|
+
description?: string;
|
|
3768
|
+
}>;
|
|
3769
|
+
id?: string;
|
|
3770
|
+
}>;
|
|
3771
|
+
auto_parameters?: {
|
|
3772
|
+
[key: string]: unknown;
|
|
3773
|
+
};
|
|
3774
|
+
response_time: number;
|
|
3775
|
+
usage?: {
|
|
3776
|
+
[key: string]: unknown;
|
|
3777
|
+
};
|
|
3778
|
+
request_id?: string;
|
|
3779
|
+
}>;
|
|
3780
|
+
};
|
|
3781
|
+
};
|
|
3782
|
+
export declare function createVault(transport: Transport): {
|
|
3783
|
+
authorizations: {
|
|
3784
|
+
create: (options: import("./core/transport.js").CallOptions<Types.VaultCreateAuthorizationData>) => Promise<Types.VaultAuthorization>;
|
|
3785
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.VaultGetAuthorizationData>) => Promise<Types.VaultAuthorization>;
|
|
3786
|
+
retrieveCallback: (options?: import("./core/transport.js").CallOptions<Types.VaultAuthorizationCallbackData> | undefined) => Promise<string>;
|
|
3787
|
+
};
|
|
3788
|
+
connect: {
|
|
3789
|
+
continue: {
|
|
3790
|
+
create: (options: import("./core/transport.js").CallOptions<Types.VaultConnectContinueData>) => Promise<unknown>;
|
|
3791
|
+
};
|
|
3792
|
+
deny: {
|
|
3793
|
+
create: (options: import("./core/transport.js").CallOptions<Types.VaultConnectDenyData>) => Promise<string>;
|
|
3794
|
+
};
|
|
3795
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.VaultConnectPageData>) => Promise<string>;
|
|
3796
|
+
};
|
|
3797
|
+
oauth: {
|
|
3798
|
+
retrieveClientMetadata: (options?: import("./core/transport.js").CallOptions<Types.VaultOAuthClientMetadataData> | undefined) => Promise<Types.VaultOAuthClientMetadata>;
|
|
3799
|
+
};
|
|
3800
|
+
settings: {
|
|
3801
|
+
returnUrls: {
|
|
3802
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.VaultGetReturnUrlsData> | undefined) => Promise<Types.VaultReturnUrls>;
|
|
3803
|
+
update: (options: import("./core/transport.js").CallOptions<Types.VaultSetReturnUrlsData>) => Promise<Types.VaultReturnUrls>;
|
|
3804
|
+
};
|
|
3805
|
+
};
|
|
3806
|
+
templates: {
|
|
3807
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.VaultListTemplatesData> | undefined) => Promise<Types.VaultTemplateList>;
|
|
3808
|
+
};
|
|
3809
|
+
vaults: {
|
|
3810
|
+
archive: (options: import("./core/transport.js").CallOptions<Types.VaultArchiveVaultData>) => Promise<Types.VaultVault>;
|
|
3811
|
+
check: (options: import("./core/transport.js").CallOptions<Types.VaultCheckVaultsData>) => Promise<Types.VaultCheckVaultsResult>;
|
|
3812
|
+
create: (options: import("./core/transport.js").CallOptions<Types.VaultCreateVaultData>) => Promise<Types.VaultVault>;
|
|
3813
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.VaultDeleteVaultData>) => Promise<Types.VaultVaultDeleted>;
|
|
3814
|
+
events: {
|
|
3815
|
+
list: (options: import("./core/transport.js").CallOptions<Types.VaultListEventsData>) => Promise<import("./automation.js").Page<Types.VaultVaultEvent>>;
|
|
3816
|
+
};
|
|
3817
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.VaultListVaultsData> | undefined) => Promise<import("./automation.js").Page<Types.VaultVault>>;
|
|
3818
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.VaultGetVaultData>) => Promise<Types.VaultVault>;
|
|
3819
|
+
secrets: {
|
|
3820
|
+
archive: (options: import("./core/transport.js").CallOptions<Types.VaultArchiveSecretData>) => Promise<Types.VaultSecret>;
|
|
3821
|
+
create: (options: import("./core/transport.js").CallOptions<Types.VaultCreateSecretData>) => Promise<Types.VaultSecret>;
|
|
3822
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.VaultDeleteSecretData>) => Promise<Types.VaultSecretDeleted>;
|
|
3823
|
+
import: (options: import("./core/transport.js").CallOptions<Types.VaultImportSecretsData>) => Promise<Types.VaultImportResult>;
|
|
3824
|
+
list: (options: import("./core/transport.js").CallOptions<Types.VaultListSecretsData>) => Promise<import("./automation.js").Page<Types.VaultSecret>>;
|
|
3825
|
+
refresh: {
|
|
3826
|
+
create: (options: import("./core/transport.js").CallOptions<Types.VaultRefreshSecretData>) => Promise<Types.VaultSecret>;
|
|
3827
|
+
};
|
|
3828
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.VaultGetSecretData>) => Promise<Types.VaultSecret>;
|
|
3829
|
+
update: (options: import("./core/transport.js").CallOptions<Types.VaultUpdateSecretData>) => Promise<Types.VaultSecret>;
|
|
3830
|
+
validate: {
|
|
3831
|
+
create: (options: import("./core/transport.js").CallOptions<Types.VaultValidateSecretData>) => Promise<Types.VaultSecretValidation>;
|
|
3832
|
+
};
|
|
3833
|
+
};
|
|
3834
|
+
update: (options: import("./core/transport.js").CallOptions<Types.VaultUpdateVaultData>) => Promise<Types.VaultVault>;
|
|
3835
|
+
};
|
|
3836
|
+
};
|
|
3837
|
+
export declare const resourceFactories: {
|
|
3838
|
+
agent: typeof createAgent;
|
|
3839
|
+
application: typeof createApplication;
|
|
3840
|
+
automation: typeof createAutomation;
|
|
3841
|
+
browser: typeof createBrowser;
|
|
3842
|
+
database: typeof createDatabase;
|
|
3843
|
+
file: typeof createFile;
|
|
3844
|
+
knowledge: typeof createKnowledge;
|
|
3845
|
+
media: typeof createMedia;
|
|
3846
|
+
meta: typeof createMeta;
|
|
3847
|
+
model: typeof createModel;
|
|
3848
|
+
organization: typeof createOrganization;
|
|
3849
|
+
sandbox: typeof createSandbox;
|
|
3850
|
+
search: typeof createSearch;
|
|
3851
|
+
vault: typeof createVault;
|
|
3852
|
+
};
|