@deepraxis/sdk 0.1.1-dev.75f07a9 → 0.1.1-dev.77dc43d
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/METHODS.md +45 -1
- package/dist/core/binary-operations.d.ts +3 -0
- package/dist/core/binary-operations.js +14 -0
- package/dist/core/transport.js +8 -4
- package/dist/generated/binary-operations.gen.d.ts +3 -0
- package/dist/generated/binary-operations.gen.js +14 -0
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +69 -13
- package/dist/generated/sdk.gen.js +164 -12
- package/dist/generated/types.gen.d.ts +2823 -108
- package/dist/helpers/application-publish.js +16 -2
- package/dist/helpers/browser-connect-error.d.ts +28 -0
- package/dist/helpers/browser-connect-error.js +74 -0
- package/dist/helpers/browser-connect.js +5 -33
- package/dist/operations.generated.js +363 -19
- package/dist/resources.generated.d.ts +718 -147
- package/dist/resources.generated.js +23 -0
- package/package.json +1 -1
|
@@ -160,6 +160,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
160
160
|
};
|
|
161
161
|
avatar: string | null;
|
|
162
162
|
creation_source: string | null;
|
|
163
|
+
managed_by: string | null;
|
|
163
164
|
identity_number: string | null;
|
|
164
165
|
environment_id?: string | null;
|
|
165
166
|
vault_ids?: Array<string>;
|
|
@@ -351,6 +352,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
351
352
|
};
|
|
352
353
|
avatar: string | null;
|
|
353
354
|
creation_source: string | null;
|
|
355
|
+
managed_by: string | null;
|
|
354
356
|
identity_number: string | null;
|
|
355
357
|
environment_id?: string | null;
|
|
356
358
|
vault_ids?: Array<string>;
|
|
@@ -888,6 +890,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
888
890
|
};
|
|
889
891
|
avatar: string | null;
|
|
890
892
|
creation_source: string | null;
|
|
893
|
+
managed_by: string | null;
|
|
891
894
|
identity_number: string | null;
|
|
892
895
|
environment_id?: string | null;
|
|
893
896
|
vault_ids?: Array<string>;
|
|
@@ -1066,6 +1069,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1066
1069
|
};
|
|
1067
1070
|
avatar: string | null;
|
|
1068
1071
|
creation_source: string | null;
|
|
1072
|
+
managed_by: string | null;
|
|
1069
1073
|
identity_number: string | null;
|
|
1070
1074
|
environment_id?: string | null;
|
|
1071
1075
|
vault_ids?: Array<string>;
|
|
@@ -1522,6 +1526,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1522
1526
|
};
|
|
1523
1527
|
avatar: string | null;
|
|
1524
1528
|
creation_source: string | null;
|
|
1529
|
+
managed_by: string | null;
|
|
1525
1530
|
identity_number: string | null;
|
|
1526
1531
|
environment_id?: string | null;
|
|
1527
1532
|
vault_ids?: Array<string>;
|
|
@@ -1699,6 +1704,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1699
1704
|
};
|
|
1700
1705
|
avatar: string | null;
|
|
1701
1706
|
creation_source: string | null;
|
|
1707
|
+
managed_by: string | null;
|
|
1702
1708
|
identity_number: string | null;
|
|
1703
1709
|
environment_id?: string | null;
|
|
1704
1710
|
vault_ids?: Array<string>;
|
|
@@ -2092,6 +2098,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2092
2098
|
};
|
|
2093
2099
|
avatar: string | null;
|
|
2094
2100
|
creation_source: string | null;
|
|
2101
|
+
managed_by: string | null;
|
|
2095
2102
|
identity_number: string | null;
|
|
2096
2103
|
environment_id?: string | null;
|
|
2097
2104
|
vault_ids?: Array<string>;
|
|
@@ -2269,6 +2276,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2269
2276
|
};
|
|
2270
2277
|
avatar: string | null;
|
|
2271
2278
|
creation_source: string | null;
|
|
2279
|
+
managed_by: string | null;
|
|
2272
2280
|
identity_number: string | null;
|
|
2273
2281
|
environment_id?: string | null;
|
|
2274
2282
|
vault_ids?: Array<string>;
|
|
@@ -2356,6 +2364,18 @@ export declare function createAgent(transport: Transport): {
|
|
|
2356
2364
|
tier: "light" | "heavy";
|
|
2357
2365
|
}>;
|
|
2358
2366
|
retrieveContent: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesContentData>) => Promise<Blob | File>;
|
|
2367
|
+
retrievePreview: (options: import("./core/transport.js").CallOptions<Types.PreviewComputerFileData>) => Promise<{
|
|
2368
|
+
variant: "image" | "pdf" | "text" | "original";
|
|
2369
|
+
version?: string;
|
|
2370
|
+
mime_type?: string;
|
|
2371
|
+
size?: number;
|
|
2372
|
+
file_id?: string;
|
|
2373
|
+
url?: string;
|
|
2374
|
+
expires_at?: string;
|
|
2375
|
+
cached: boolean;
|
|
2376
|
+
fallback?: "content";
|
|
2377
|
+
skipped?: boolean;
|
|
2378
|
+
}>;
|
|
2359
2379
|
};
|
|
2360
2380
|
leases: {
|
|
2361
2381
|
delete: (options: import("./core/transport.js").CallOptions<Types.ReleaseComputerLeaseData>) => Promise<{
|
|
@@ -4120,165 +4140,698 @@ export declare function createAgent(transport: Transport): {
|
|
|
4120
4140
|
permission_policy?: null | {
|
|
4121
4141
|
type: "always_allow" | "always_ask";
|
|
4122
4142
|
};
|
|
4123
|
-
}> | null;
|
|
4124
|
-
} | {
|
|
4125
|
-
description: string;
|
|
4126
|
-
input_schema: {
|
|
4127
|
-
type: "object";
|
|
4128
|
-
properties?: null | {
|
|
4143
|
+
}> | null;
|
|
4144
|
+
} | {
|
|
4145
|
+
description: string;
|
|
4146
|
+
input_schema: {
|
|
4147
|
+
type: "object";
|
|
4148
|
+
properties?: null | {
|
|
4149
|
+
[key: string]: unknown;
|
|
4150
|
+
};
|
|
4151
|
+
required?: null | Array<string>;
|
|
4152
|
+
[key: string]: unknown;
|
|
4153
|
+
};
|
|
4154
|
+
name: string;
|
|
4155
|
+
type: "custom";
|
|
4156
|
+
}>;
|
|
4157
|
+
type: "agent";
|
|
4158
|
+
version: number;
|
|
4159
|
+
};
|
|
4160
|
+
archived_at: null | string;
|
|
4161
|
+
budget: null | {
|
|
4162
|
+
max_list_cost: {
|
|
4163
|
+
amount: string;
|
|
4164
|
+
currency: "USD";
|
|
4165
|
+
};
|
|
4166
|
+
type: "limit";
|
|
4167
|
+
};
|
|
4168
|
+
created_at: string;
|
|
4169
|
+
environment_id?: string;
|
|
4170
|
+
metadata: {
|
|
4171
|
+
[key: string]: string;
|
|
4172
|
+
};
|
|
4173
|
+
outcome_evaluations: Array<{
|
|
4174
|
+
completed_at: null | string;
|
|
4175
|
+
description: string;
|
|
4176
|
+
explanation: null | string;
|
|
4177
|
+
iteration: number;
|
|
4178
|
+
outcome_id: string;
|
|
4179
|
+
result: string;
|
|
4180
|
+
type: "outcome_evaluation";
|
|
4181
|
+
}>;
|
|
4182
|
+
resources: Array<{
|
|
4183
|
+
id: string;
|
|
4184
|
+
created_at: string;
|
|
4185
|
+
mount_path: string;
|
|
4186
|
+
type: "github_repository";
|
|
4187
|
+
updated_at: string;
|
|
4188
|
+
url: string;
|
|
4189
|
+
checkout?: null | {
|
|
4190
|
+
name: string;
|
|
4191
|
+
type: "branch";
|
|
4192
|
+
} | {
|
|
4193
|
+
sha: string;
|
|
4194
|
+
type: "commit";
|
|
4195
|
+
};
|
|
4196
|
+
} | {
|
|
4197
|
+
id: string;
|
|
4198
|
+
created_at: string;
|
|
4199
|
+
file_id: string;
|
|
4200
|
+
mount_path: string;
|
|
4201
|
+
type: "file";
|
|
4202
|
+
updated_at: string;
|
|
4203
|
+
} | {
|
|
4204
|
+
memory_store_id: string;
|
|
4205
|
+
type: "memory_store";
|
|
4206
|
+
access?: null | "read_write" | "read_only";
|
|
4207
|
+
description?: string;
|
|
4208
|
+
instructions?: null | string;
|
|
4209
|
+
mount_path?: null | string;
|
|
4210
|
+
name?: null | string;
|
|
4211
|
+
}>;
|
|
4212
|
+
stats: {
|
|
4213
|
+
active_seconds?: number;
|
|
4214
|
+
duration_seconds?: number;
|
|
4215
|
+
};
|
|
4216
|
+
status: "rescheduling" | "running" | "idle" | "terminated";
|
|
4217
|
+
title: null | string;
|
|
4218
|
+
type: "session";
|
|
4219
|
+
updated_at: string;
|
|
4220
|
+
usage: {
|
|
4221
|
+
active_seconds?: number;
|
|
4222
|
+
cache_creation?: {
|
|
4223
|
+
ephemeral_1h_input_tokens?: number;
|
|
4224
|
+
ephemeral_5m_input_tokens?: number;
|
|
4225
|
+
};
|
|
4226
|
+
cache_read_input_tokens?: number;
|
|
4227
|
+
input_tokens?: number;
|
|
4228
|
+
list_cost?: null | {
|
|
4229
|
+
amount: string;
|
|
4230
|
+
currency: "USD";
|
|
4231
|
+
};
|
|
4232
|
+
output_tokens?: number;
|
|
4233
|
+
server_tool_use?: null | {
|
|
4234
|
+
web_fetch_requests?: number;
|
|
4235
|
+
web_search_requests?: number;
|
|
4236
|
+
};
|
|
4237
|
+
cost_by_product?: {
|
|
4238
|
+
[key: string]: string;
|
|
4239
|
+
};
|
|
4240
|
+
subagent_cost_micro_usd?: number;
|
|
4241
|
+
};
|
|
4242
|
+
vault_ids: Array<string>;
|
|
4243
|
+
deployment_id?: null | string;
|
|
4244
|
+
cwd: string;
|
|
4245
|
+
computer_id?: string;
|
|
4246
|
+
model?: {
|
|
4247
|
+
id: string;
|
|
4248
|
+
thinking: {
|
|
4249
|
+
efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
|
|
4250
|
+
can_disable: boolean;
|
|
4251
|
+
default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
|
|
4252
|
+
} | null;
|
|
4253
|
+
};
|
|
4254
|
+
thinking?: {
|
|
4255
|
+
effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
4256
|
+
} | null;
|
|
4257
|
+
forked_from?: {
|
|
4258
|
+
session_id: string;
|
|
4259
|
+
message_id: string;
|
|
4260
|
+
} | null;
|
|
4261
|
+
readonly external_user_id: string | null;
|
|
4262
|
+
readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
|
|
4263
|
+
}>;
|
|
4264
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.SessionsListData> | undefined) => Promise<{
|
|
4265
|
+
data: Array<{
|
|
4266
|
+
id: string;
|
|
4267
|
+
agent: {
|
|
4268
|
+
id: string;
|
|
4269
|
+
description: null | string;
|
|
4270
|
+
mcp_servers: Array<Types.AgentManaged36>;
|
|
4271
|
+
model: {
|
|
4272
|
+
id: string;
|
|
4273
|
+
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
4274
|
+
inference_geo?: string;
|
|
4275
|
+
speed?: "standard" | "fast";
|
|
4276
|
+
settings?: {
|
|
4277
|
+
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
4278
|
+
max_output_tokens?: number;
|
|
4279
|
+
};
|
|
4280
|
+
};
|
|
4281
|
+
multiagent: null | Types.AgentManaged171;
|
|
4282
|
+
name: string;
|
|
4283
|
+
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
4284
|
+
system: null | string;
|
|
4285
|
+
tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
|
|
4286
|
+
type: "agent";
|
|
4287
|
+
version: number;
|
|
4288
|
+
};
|
|
4289
|
+
archived_at: null | string;
|
|
4290
|
+
budget: null | Types.AgentManaged76;
|
|
4291
|
+
created_at: string;
|
|
4292
|
+
environment_id?: string;
|
|
4293
|
+
metadata: Types.AgentManaged173;
|
|
4294
|
+
outcome_evaluations: Array<Types.AgentManaged174>;
|
|
4295
|
+
resources: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
|
|
4296
|
+
stats: Types.AgentManaged178;
|
|
4297
|
+
status: "rescheduling" | "running" | "idle" | "terminated";
|
|
4298
|
+
title: null | string;
|
|
4299
|
+
type: "session";
|
|
4300
|
+
updated_at: string;
|
|
4301
|
+
usage: Types.AgentManaged179;
|
|
4302
|
+
vault_ids: Array<string>;
|
|
4303
|
+
deployment_id?: null | string;
|
|
4304
|
+
cwd: string;
|
|
4305
|
+
computer_id?: string;
|
|
4306
|
+
model?: {
|
|
4307
|
+
id: string;
|
|
4308
|
+
thinking: {
|
|
4309
|
+
efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
|
|
4310
|
+
can_disable: boolean;
|
|
4311
|
+
default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
|
|
4312
|
+
} | null;
|
|
4313
|
+
};
|
|
4314
|
+
thinking?: {
|
|
4315
|
+
effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
4316
|
+
} | null;
|
|
4317
|
+
forked_from?: {
|
|
4318
|
+
session_id: string;
|
|
4319
|
+
message_id: string;
|
|
4320
|
+
} | null;
|
|
4321
|
+
readonly external_user_id: string | null;
|
|
4322
|
+
readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
|
|
4323
|
+
}>;
|
|
4324
|
+
next_page: string | null;
|
|
4325
|
+
}>;
|
|
4326
|
+
name: {
|
|
4327
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RenameSessionData>) => Promise<{
|
|
4328
|
+
id: string;
|
|
4329
|
+
agent: {
|
|
4330
|
+
id: string;
|
|
4331
|
+
description: null | string;
|
|
4332
|
+
mcp_servers: Array<{
|
|
4333
|
+
type: "url";
|
|
4334
|
+
name: string;
|
|
4335
|
+
url: string;
|
|
4336
|
+
headers?: {
|
|
4337
|
+
[key: string]: string;
|
|
4338
|
+
};
|
|
4339
|
+
timeout_ms?: number;
|
|
4340
|
+
} | {
|
|
4341
|
+
type: "sse";
|
|
4342
|
+
name: string;
|
|
4343
|
+
url: string;
|
|
4344
|
+
headers?: {
|
|
4345
|
+
[key: string]: string;
|
|
4346
|
+
};
|
|
4347
|
+
timeout_ms?: number;
|
|
4348
|
+
} | {
|
|
4349
|
+
type: "stdio";
|
|
4350
|
+
name: string;
|
|
4351
|
+
command: string;
|
|
4352
|
+
args?: Array<string>;
|
|
4353
|
+
env?: {
|
|
4354
|
+
[key: string]: string;
|
|
4355
|
+
};
|
|
4356
|
+
timeout_ms?: number;
|
|
4357
|
+
}>;
|
|
4358
|
+
model: {
|
|
4359
|
+
id: string;
|
|
4360
|
+
effort?: {
|
|
4361
|
+
type: "low";
|
|
4362
|
+
} | {
|
|
4363
|
+
type: "medium";
|
|
4364
|
+
} | {
|
|
4365
|
+
type: "high";
|
|
4366
|
+
} | {
|
|
4367
|
+
type: "xhigh";
|
|
4368
|
+
} | {
|
|
4369
|
+
type: "max";
|
|
4370
|
+
};
|
|
4371
|
+
inference_geo?: string;
|
|
4372
|
+
speed?: "standard" | "fast";
|
|
4373
|
+
settings?: {
|
|
4374
|
+
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
4375
|
+
max_output_tokens?: number;
|
|
4376
|
+
};
|
|
4377
|
+
};
|
|
4378
|
+
multiagent: null | {
|
|
4379
|
+
agents: Array<{
|
|
4380
|
+
model: string;
|
|
4381
|
+
type: "advisor";
|
|
4382
|
+
} | {
|
|
4383
|
+
id: string;
|
|
4384
|
+
description: null | string;
|
|
4385
|
+
mcp_servers: Array<{
|
|
4386
|
+
type: "url";
|
|
4387
|
+
name: string;
|
|
4388
|
+
url: string;
|
|
4389
|
+
headers?: {
|
|
4390
|
+
[key: string]: string;
|
|
4391
|
+
};
|
|
4392
|
+
timeout_ms?: number;
|
|
4393
|
+
} | {
|
|
4394
|
+
type: "sse";
|
|
4395
|
+
name: string;
|
|
4396
|
+
url: string;
|
|
4397
|
+
headers?: {
|
|
4398
|
+
[key: string]: string;
|
|
4399
|
+
};
|
|
4400
|
+
timeout_ms?: number;
|
|
4401
|
+
} | {
|
|
4402
|
+
type: "stdio";
|
|
4403
|
+
name: string;
|
|
4404
|
+
command: string;
|
|
4405
|
+
args?: Array<string>;
|
|
4406
|
+
env?: {
|
|
4407
|
+
[key: string]: string;
|
|
4408
|
+
};
|
|
4409
|
+
timeout_ms?: number;
|
|
4410
|
+
}>;
|
|
4411
|
+
model: {
|
|
4412
|
+
id: string;
|
|
4413
|
+
effort?: {
|
|
4414
|
+
type: "low";
|
|
4415
|
+
} | {
|
|
4416
|
+
type: "medium";
|
|
4417
|
+
} | {
|
|
4418
|
+
type: "high";
|
|
4419
|
+
} | {
|
|
4420
|
+
type: "xhigh";
|
|
4421
|
+
} | {
|
|
4422
|
+
type: "max";
|
|
4423
|
+
};
|
|
4424
|
+
inference_geo?: string;
|
|
4425
|
+
speed?: "standard" | "fast";
|
|
4426
|
+
};
|
|
4427
|
+
name: string;
|
|
4428
|
+
skills: Array<{
|
|
4429
|
+
skill_id: string;
|
|
4430
|
+
type: "anthropic";
|
|
4431
|
+
version: string;
|
|
4432
|
+
} | {
|
|
4433
|
+
skill_id: string;
|
|
4434
|
+
type: "custom";
|
|
4435
|
+
version: string;
|
|
4436
|
+
}>;
|
|
4437
|
+
system: null | string;
|
|
4438
|
+
tools: Array<{
|
|
4439
|
+
configs: Array<{
|
|
4440
|
+
enabled: boolean;
|
|
4441
|
+
name: "bash";
|
|
4442
|
+
permission_policy: {
|
|
4443
|
+
type: "always_allow";
|
|
4444
|
+
} | {
|
|
4445
|
+
type: "always_ask";
|
|
4446
|
+
} | {
|
|
4447
|
+
type: "auto";
|
|
4448
|
+
};
|
|
4449
|
+
type: "bash";
|
|
4450
|
+
} | {
|
|
4451
|
+
enabled: boolean;
|
|
4452
|
+
name: "edit";
|
|
4453
|
+
permission_policy: {
|
|
4454
|
+
type: "always_allow";
|
|
4455
|
+
} | {
|
|
4456
|
+
type: "always_ask";
|
|
4457
|
+
} | {
|
|
4458
|
+
type: "auto";
|
|
4459
|
+
};
|
|
4460
|
+
type: "edit";
|
|
4461
|
+
} | {
|
|
4462
|
+
enabled: boolean;
|
|
4463
|
+
name: "read";
|
|
4464
|
+
permission_policy: {
|
|
4465
|
+
type: "always_allow";
|
|
4466
|
+
} | {
|
|
4467
|
+
type: "always_ask";
|
|
4468
|
+
} | {
|
|
4469
|
+
type: "auto";
|
|
4470
|
+
};
|
|
4471
|
+
type: "read";
|
|
4472
|
+
} | {
|
|
4473
|
+
enabled: boolean;
|
|
4474
|
+
name: "write";
|
|
4475
|
+
permission_policy: {
|
|
4476
|
+
type: "always_allow";
|
|
4477
|
+
} | {
|
|
4478
|
+
type: "always_ask";
|
|
4479
|
+
} | {
|
|
4480
|
+
type: "auto";
|
|
4481
|
+
};
|
|
4482
|
+
type: "write";
|
|
4483
|
+
} | {
|
|
4484
|
+
enabled: boolean;
|
|
4485
|
+
name: "glob";
|
|
4486
|
+
permission_policy: {
|
|
4487
|
+
type: "always_allow";
|
|
4488
|
+
} | {
|
|
4489
|
+
type: "always_ask";
|
|
4490
|
+
} | {
|
|
4491
|
+
type: "auto";
|
|
4492
|
+
};
|
|
4493
|
+
type: "glob";
|
|
4494
|
+
} | {
|
|
4495
|
+
enabled: boolean;
|
|
4496
|
+
name: "grep";
|
|
4497
|
+
permission_policy: {
|
|
4498
|
+
type: "always_allow";
|
|
4499
|
+
} | {
|
|
4500
|
+
type: "always_ask";
|
|
4501
|
+
} | {
|
|
4502
|
+
type: "auto";
|
|
4503
|
+
};
|
|
4504
|
+
type: "grep";
|
|
4505
|
+
} | {
|
|
4506
|
+
enabled: boolean;
|
|
4507
|
+
name: "web_fetch";
|
|
4508
|
+
permission_policy: {
|
|
4509
|
+
type: "always_allow";
|
|
4510
|
+
} | {
|
|
4511
|
+
type: "always_ask";
|
|
4512
|
+
} | {
|
|
4513
|
+
type: "auto";
|
|
4514
|
+
};
|
|
4515
|
+
type: "web_fetch";
|
|
4516
|
+
allowed_domains?: Array<string>;
|
|
4517
|
+
blocked_domains?: Array<string>;
|
|
4518
|
+
max_content_tokens?: null | number;
|
|
4519
|
+
} | {
|
|
4520
|
+
enabled: boolean;
|
|
4521
|
+
name: "web_search";
|
|
4522
|
+
permission_policy: {
|
|
4523
|
+
type: "always_allow";
|
|
4524
|
+
} | {
|
|
4525
|
+
type: "always_ask";
|
|
4526
|
+
} | {
|
|
4527
|
+
type: "auto";
|
|
4528
|
+
};
|
|
4529
|
+
type: "web_search";
|
|
4530
|
+
allowed_domains?: Array<string>;
|
|
4531
|
+
blocked_domains?: Array<string>;
|
|
4532
|
+
user_location?: null | {
|
|
4533
|
+
type: "approximate";
|
|
4534
|
+
city?: null | string;
|
|
4535
|
+
country?: null | string;
|
|
4536
|
+
region?: null | string;
|
|
4537
|
+
timezone?: null | string;
|
|
4538
|
+
};
|
|
4539
|
+
} | {
|
|
4540
|
+
name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
|
|
4541
|
+
enabled: boolean;
|
|
4542
|
+
permission_policy: {
|
|
4543
|
+
type: "always_allow" | "always_ask";
|
|
4544
|
+
};
|
|
4545
|
+
}>;
|
|
4546
|
+
default_config: {
|
|
4547
|
+
enabled: boolean;
|
|
4548
|
+
permission_policy: {
|
|
4549
|
+
type: "always_allow";
|
|
4550
|
+
} | {
|
|
4551
|
+
type: "always_ask";
|
|
4552
|
+
} | {
|
|
4553
|
+
type: "auto";
|
|
4554
|
+
};
|
|
4555
|
+
};
|
|
4556
|
+
type: "agent_toolset_20260401";
|
|
4557
|
+
} | {
|
|
4558
|
+
type: "mcp_toolset";
|
|
4559
|
+
mcp_server_name: string;
|
|
4560
|
+
default_config?: {
|
|
4561
|
+
enabled?: boolean | null;
|
|
4562
|
+
permission_policy?: null | {
|
|
4563
|
+
type: "always_allow" | "always_ask";
|
|
4564
|
+
};
|
|
4565
|
+
} | null;
|
|
4566
|
+
configs?: Array<{
|
|
4567
|
+
name: string;
|
|
4568
|
+
enabled?: boolean | null;
|
|
4569
|
+
permission_policy?: null | {
|
|
4570
|
+
type: "always_allow" | "always_ask";
|
|
4571
|
+
};
|
|
4572
|
+
}> | null;
|
|
4573
|
+
} | {
|
|
4574
|
+
description: string;
|
|
4575
|
+
input_schema: {
|
|
4576
|
+
type: "object";
|
|
4577
|
+
properties?: null | {
|
|
4578
|
+
[key: string]: unknown;
|
|
4579
|
+
};
|
|
4580
|
+
required?: null | Array<string>;
|
|
4581
|
+
[key: string]: unknown;
|
|
4582
|
+
};
|
|
4583
|
+
name: string;
|
|
4584
|
+
type: "custom";
|
|
4585
|
+
}>;
|
|
4586
|
+
type: "agent";
|
|
4587
|
+
version: number;
|
|
4588
|
+
}>;
|
|
4589
|
+
type: "coordinator";
|
|
4590
|
+
};
|
|
4591
|
+
name: string;
|
|
4592
|
+
skills: Array<{
|
|
4593
|
+
skill_id: string;
|
|
4594
|
+
type: "anthropic";
|
|
4595
|
+
version: string;
|
|
4596
|
+
} | {
|
|
4597
|
+
skill_id: string;
|
|
4598
|
+
type: "custom";
|
|
4599
|
+
version: string;
|
|
4600
|
+
}>;
|
|
4601
|
+
system: null | string;
|
|
4602
|
+
tools: Array<{
|
|
4603
|
+
configs: Array<{
|
|
4604
|
+
enabled: boolean;
|
|
4605
|
+
name: "bash";
|
|
4606
|
+
permission_policy: {
|
|
4607
|
+
type: "always_allow";
|
|
4608
|
+
} | {
|
|
4609
|
+
type: "always_ask";
|
|
4610
|
+
} | {
|
|
4611
|
+
type: "auto";
|
|
4612
|
+
};
|
|
4613
|
+
type: "bash";
|
|
4614
|
+
} | {
|
|
4615
|
+
enabled: boolean;
|
|
4616
|
+
name: "edit";
|
|
4617
|
+
permission_policy: {
|
|
4618
|
+
type: "always_allow";
|
|
4619
|
+
} | {
|
|
4620
|
+
type: "always_ask";
|
|
4621
|
+
} | {
|
|
4622
|
+
type: "auto";
|
|
4623
|
+
};
|
|
4624
|
+
type: "edit";
|
|
4625
|
+
} | {
|
|
4626
|
+
enabled: boolean;
|
|
4627
|
+
name: "read";
|
|
4628
|
+
permission_policy: {
|
|
4629
|
+
type: "always_allow";
|
|
4630
|
+
} | {
|
|
4631
|
+
type: "always_ask";
|
|
4632
|
+
} | {
|
|
4633
|
+
type: "auto";
|
|
4634
|
+
};
|
|
4635
|
+
type: "read";
|
|
4636
|
+
} | {
|
|
4637
|
+
enabled: boolean;
|
|
4638
|
+
name: "write";
|
|
4639
|
+
permission_policy: {
|
|
4640
|
+
type: "always_allow";
|
|
4641
|
+
} | {
|
|
4642
|
+
type: "always_ask";
|
|
4643
|
+
} | {
|
|
4644
|
+
type: "auto";
|
|
4645
|
+
};
|
|
4646
|
+
type: "write";
|
|
4647
|
+
} | {
|
|
4648
|
+
enabled: boolean;
|
|
4649
|
+
name: "glob";
|
|
4650
|
+
permission_policy: {
|
|
4651
|
+
type: "always_allow";
|
|
4652
|
+
} | {
|
|
4653
|
+
type: "always_ask";
|
|
4654
|
+
} | {
|
|
4655
|
+
type: "auto";
|
|
4656
|
+
};
|
|
4657
|
+
type: "glob";
|
|
4658
|
+
} | {
|
|
4659
|
+
enabled: boolean;
|
|
4660
|
+
name: "grep";
|
|
4661
|
+
permission_policy: {
|
|
4662
|
+
type: "always_allow";
|
|
4663
|
+
} | {
|
|
4664
|
+
type: "always_ask";
|
|
4665
|
+
} | {
|
|
4666
|
+
type: "auto";
|
|
4667
|
+
};
|
|
4668
|
+
type: "grep";
|
|
4669
|
+
} | {
|
|
4670
|
+
enabled: boolean;
|
|
4671
|
+
name: "web_fetch";
|
|
4672
|
+
permission_policy: {
|
|
4673
|
+
type: "always_allow";
|
|
4674
|
+
} | {
|
|
4675
|
+
type: "always_ask";
|
|
4676
|
+
} | {
|
|
4677
|
+
type: "auto";
|
|
4678
|
+
};
|
|
4679
|
+
type: "web_fetch";
|
|
4680
|
+
allowed_domains?: Array<string>;
|
|
4681
|
+
blocked_domains?: Array<string>;
|
|
4682
|
+
max_content_tokens?: null | number;
|
|
4683
|
+
} | {
|
|
4684
|
+
enabled: boolean;
|
|
4685
|
+
name: "web_search";
|
|
4686
|
+
permission_policy: {
|
|
4687
|
+
type: "always_allow";
|
|
4688
|
+
} | {
|
|
4689
|
+
type: "always_ask";
|
|
4690
|
+
} | {
|
|
4691
|
+
type: "auto";
|
|
4692
|
+
};
|
|
4693
|
+
type: "web_search";
|
|
4694
|
+
allowed_domains?: Array<string>;
|
|
4695
|
+
blocked_domains?: Array<string>;
|
|
4696
|
+
user_location?: null | {
|
|
4697
|
+
type: "approximate";
|
|
4698
|
+
city?: null | string;
|
|
4699
|
+
country?: null | string;
|
|
4700
|
+
region?: null | string;
|
|
4701
|
+
timezone?: null | string;
|
|
4702
|
+
};
|
|
4703
|
+
} | {
|
|
4704
|
+
name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
|
|
4705
|
+
enabled: boolean;
|
|
4706
|
+
permission_policy: {
|
|
4707
|
+
type: "always_allow" | "always_ask";
|
|
4708
|
+
};
|
|
4709
|
+
}>;
|
|
4710
|
+
default_config: {
|
|
4711
|
+
enabled: boolean;
|
|
4712
|
+
permission_policy: {
|
|
4713
|
+
type: "always_allow";
|
|
4714
|
+
} | {
|
|
4715
|
+
type: "always_ask";
|
|
4716
|
+
} | {
|
|
4717
|
+
type: "auto";
|
|
4718
|
+
};
|
|
4719
|
+
};
|
|
4720
|
+
type: "agent_toolset_20260401";
|
|
4721
|
+
} | {
|
|
4722
|
+
type: "mcp_toolset";
|
|
4723
|
+
mcp_server_name: string;
|
|
4724
|
+
default_config?: {
|
|
4725
|
+
enabled?: boolean | null;
|
|
4726
|
+
permission_policy?: null | {
|
|
4727
|
+
type: "always_allow" | "always_ask";
|
|
4728
|
+
};
|
|
4729
|
+
} | null;
|
|
4730
|
+
configs?: Array<{
|
|
4731
|
+
name: string;
|
|
4732
|
+
enabled?: boolean | null;
|
|
4733
|
+
permission_policy?: null | {
|
|
4734
|
+
type: "always_allow" | "always_ask";
|
|
4735
|
+
};
|
|
4736
|
+
}> | null;
|
|
4737
|
+
} | {
|
|
4738
|
+
description: string;
|
|
4739
|
+
input_schema: {
|
|
4740
|
+
type: "object";
|
|
4741
|
+
properties?: null | {
|
|
4742
|
+
[key: string]: unknown;
|
|
4743
|
+
};
|
|
4744
|
+
required?: null | Array<string>;
|
|
4129
4745
|
[key: string]: unknown;
|
|
4130
4746
|
};
|
|
4131
|
-
|
|
4132
|
-
|
|
4133
|
-
}
|
|
4134
|
-
|
|
4135
|
-
|
|
4136
|
-
}>;
|
|
4137
|
-
type: "agent";
|
|
4138
|
-
version: number;
|
|
4139
|
-
};
|
|
4140
|
-
archived_at: null | string;
|
|
4141
|
-
budget: null | {
|
|
4142
|
-
max_list_cost: {
|
|
4143
|
-
amount: string;
|
|
4144
|
-
currency: "USD";
|
|
4747
|
+
name: string;
|
|
4748
|
+
type: "custom";
|
|
4749
|
+
}>;
|
|
4750
|
+
type: "agent";
|
|
4751
|
+
version: number;
|
|
4145
4752
|
};
|
|
4146
|
-
|
|
4147
|
-
|
|
4148
|
-
|
|
4149
|
-
|
|
4150
|
-
|
|
4151
|
-
|
|
4152
|
-
|
|
4153
|
-
outcome_evaluations: Array<{
|
|
4154
|
-
completed_at: null | string;
|
|
4155
|
-
description: string;
|
|
4156
|
-
explanation: null | string;
|
|
4157
|
-
iteration: number;
|
|
4158
|
-
outcome_id: string;
|
|
4159
|
-
result: string;
|
|
4160
|
-
type: "outcome_evaluation";
|
|
4161
|
-
}>;
|
|
4162
|
-
resources: Array<{
|
|
4163
|
-
id: string;
|
|
4164
|
-
created_at: string;
|
|
4165
|
-
mount_path: string;
|
|
4166
|
-
type: "github_repository";
|
|
4167
|
-
updated_at: string;
|
|
4168
|
-
url: string;
|
|
4169
|
-
checkout?: null | {
|
|
4170
|
-
name: string;
|
|
4171
|
-
type: "branch";
|
|
4172
|
-
} | {
|
|
4173
|
-
sha: string;
|
|
4174
|
-
type: "commit";
|
|
4753
|
+
archived_at: null | string;
|
|
4754
|
+
budget: null | {
|
|
4755
|
+
max_list_cost: {
|
|
4756
|
+
amount: string;
|
|
4757
|
+
currency: "USD";
|
|
4758
|
+
};
|
|
4759
|
+
type: "limit";
|
|
4175
4760
|
};
|
|
4176
|
-
} | {
|
|
4177
|
-
id: string;
|
|
4178
4761
|
created_at: string;
|
|
4179
|
-
|
|
4180
|
-
|
|
4181
|
-
type: "file";
|
|
4182
|
-
updated_at: string;
|
|
4183
|
-
} | {
|
|
4184
|
-
memory_store_id: string;
|
|
4185
|
-
type: "memory_store";
|
|
4186
|
-
access?: null | "read_write" | "read_only";
|
|
4187
|
-
description?: string;
|
|
4188
|
-
instructions?: null | string;
|
|
4189
|
-
mount_path?: null | string;
|
|
4190
|
-
name?: null | string;
|
|
4191
|
-
}>;
|
|
4192
|
-
stats: {
|
|
4193
|
-
active_seconds?: number;
|
|
4194
|
-
duration_seconds?: number;
|
|
4195
|
-
};
|
|
4196
|
-
status: "rescheduling" | "running" | "idle" | "terminated";
|
|
4197
|
-
title: null | string;
|
|
4198
|
-
type: "session";
|
|
4199
|
-
updated_at: string;
|
|
4200
|
-
usage: {
|
|
4201
|
-
active_seconds?: number;
|
|
4202
|
-
cache_creation?: {
|
|
4203
|
-
ephemeral_1h_input_tokens?: number;
|
|
4204
|
-
ephemeral_5m_input_tokens?: number;
|
|
4205
|
-
};
|
|
4206
|
-
cache_read_input_tokens?: number;
|
|
4207
|
-
input_tokens?: number;
|
|
4208
|
-
list_cost?: null | {
|
|
4209
|
-
amount: string;
|
|
4210
|
-
currency: "USD";
|
|
4211
|
-
};
|
|
4212
|
-
output_tokens?: number;
|
|
4213
|
-
server_tool_use?: null | {
|
|
4214
|
-
web_fetch_requests?: number;
|
|
4215
|
-
web_search_requests?: number;
|
|
4216
|
-
};
|
|
4217
|
-
cost_by_product?: {
|
|
4762
|
+
environment_id?: string;
|
|
4763
|
+
metadata: {
|
|
4218
4764
|
[key: string]: string;
|
|
4219
4765
|
};
|
|
4220
|
-
|
|
4221
|
-
|
|
4222
|
-
|
|
4223
|
-
|
|
4224
|
-
|
|
4225
|
-
|
|
4226
|
-
|
|
4227
|
-
|
|
4228
|
-
|
|
4229
|
-
|
|
4230
|
-
can_disable: boolean;
|
|
4231
|
-
default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
|
|
4232
|
-
} | null;
|
|
4233
|
-
};
|
|
4234
|
-
thinking?: {
|
|
4235
|
-
effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
4236
|
-
} | null;
|
|
4237
|
-
forked_from?: {
|
|
4238
|
-
session_id: string;
|
|
4239
|
-
message_id: string;
|
|
4240
|
-
} | null;
|
|
4241
|
-
readonly external_user_id: string | null;
|
|
4242
|
-
readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
|
|
4243
|
-
}>;
|
|
4244
|
-
list: (options?: import("./core/transport.js").CallOptions<Types.SessionsListData> | undefined) => Promise<{
|
|
4245
|
-
data: Array<{
|
|
4246
|
-
id: string;
|
|
4247
|
-
agent: {
|
|
4766
|
+
outcome_evaluations: Array<{
|
|
4767
|
+
completed_at: null | string;
|
|
4768
|
+
description: string;
|
|
4769
|
+
explanation: null | string;
|
|
4770
|
+
iteration: number;
|
|
4771
|
+
outcome_id: string;
|
|
4772
|
+
result: string;
|
|
4773
|
+
type: "outcome_evaluation";
|
|
4774
|
+
}>;
|
|
4775
|
+
resources: Array<{
|
|
4248
4776
|
id: string;
|
|
4249
|
-
|
|
4250
|
-
|
|
4251
|
-
|
|
4252
|
-
|
|
4253
|
-
|
|
4254
|
-
|
|
4255
|
-
|
|
4256
|
-
|
|
4257
|
-
|
|
4258
|
-
|
|
4259
|
-
|
|
4777
|
+
created_at: string;
|
|
4778
|
+
mount_path: string;
|
|
4779
|
+
type: "github_repository";
|
|
4780
|
+
updated_at: string;
|
|
4781
|
+
url: string;
|
|
4782
|
+
checkout?: null | {
|
|
4783
|
+
name: string;
|
|
4784
|
+
type: "branch";
|
|
4785
|
+
} | {
|
|
4786
|
+
sha: string;
|
|
4787
|
+
type: "commit";
|
|
4260
4788
|
};
|
|
4261
|
-
|
|
4262
|
-
|
|
4263
|
-
|
|
4264
|
-
|
|
4265
|
-
|
|
4266
|
-
type: "
|
|
4267
|
-
|
|
4789
|
+
} | {
|
|
4790
|
+
id: string;
|
|
4791
|
+
created_at: string;
|
|
4792
|
+
file_id: string;
|
|
4793
|
+
mount_path: string;
|
|
4794
|
+
type: "file";
|
|
4795
|
+
updated_at: string;
|
|
4796
|
+
} | {
|
|
4797
|
+
memory_store_id: string;
|
|
4798
|
+
type: "memory_store";
|
|
4799
|
+
access?: null | "read_write" | "read_only";
|
|
4800
|
+
description?: string;
|
|
4801
|
+
instructions?: null | string;
|
|
4802
|
+
mount_path?: null | string;
|
|
4803
|
+
name?: null | string;
|
|
4804
|
+
}>;
|
|
4805
|
+
stats: {
|
|
4806
|
+
active_seconds?: number;
|
|
4807
|
+
duration_seconds?: number;
|
|
4268
4808
|
};
|
|
4269
|
-
archived_at: null | string;
|
|
4270
|
-
budget: null | Types.AgentManaged76;
|
|
4271
|
-
created_at: string;
|
|
4272
|
-
environment_id?: string;
|
|
4273
|
-
metadata: Types.AgentManaged173;
|
|
4274
|
-
outcome_evaluations: Array<Types.AgentManaged174>;
|
|
4275
|
-
resources: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
|
|
4276
|
-
stats: Types.AgentManaged178;
|
|
4277
4809
|
status: "rescheduling" | "running" | "idle" | "terminated";
|
|
4278
4810
|
title: null | string;
|
|
4279
4811
|
type: "session";
|
|
4280
4812
|
updated_at: string;
|
|
4281
|
-
usage:
|
|
4813
|
+
usage: {
|
|
4814
|
+
active_seconds?: number;
|
|
4815
|
+
cache_creation?: {
|
|
4816
|
+
ephemeral_1h_input_tokens?: number;
|
|
4817
|
+
ephemeral_5m_input_tokens?: number;
|
|
4818
|
+
};
|
|
4819
|
+
cache_read_input_tokens?: number;
|
|
4820
|
+
input_tokens?: number;
|
|
4821
|
+
list_cost?: null | {
|
|
4822
|
+
amount: string;
|
|
4823
|
+
currency: "USD";
|
|
4824
|
+
};
|
|
4825
|
+
output_tokens?: number;
|
|
4826
|
+
server_tool_use?: null | {
|
|
4827
|
+
web_fetch_requests?: number;
|
|
4828
|
+
web_search_requests?: number;
|
|
4829
|
+
};
|
|
4830
|
+
cost_by_product?: {
|
|
4831
|
+
[key: string]: string;
|
|
4832
|
+
};
|
|
4833
|
+
subagent_cost_micro_usd?: number;
|
|
4834
|
+
};
|
|
4282
4835
|
vault_ids: Array<string>;
|
|
4283
4836
|
deployment_id?: null | string;
|
|
4284
4837
|
cwd: string;
|
|
@@ -4301,8 +4854,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
4301
4854
|
readonly external_user_id: string | null;
|
|
4302
4855
|
readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
|
|
4303
4856
|
}>;
|
|
4304
|
-
|
|
4305
|
-
}>;
|
|
4857
|
+
};
|
|
4306
4858
|
requests: {
|
|
4307
4859
|
list: (options: import("./core/transport.js").CallOptions<Types.ListSessionRequestsData>) => Promise<{
|
|
4308
4860
|
data: Array<{
|
|
@@ -5537,6 +6089,7 @@ export declare function createDevops(transport: Transport): {
|
|
|
5537
6089
|
};
|
|
5538
6090
|
};
|
|
5539
6091
|
pullRequests: {
|
|
6092
|
+
close: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsCloseData>) => Promise<Types.DevopsPullRequest>;
|
|
5540
6093
|
merge: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsMergeData>) => Promise<Types.DevopsPullRequest>;
|
|
5541
6094
|
recordVerdict: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRecordVerdictData>) => Promise<Types.DevopsPullRequest>;
|
|
5542
6095
|
rerunGate: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRerunGateData>) => Promise<Types.DevopsPullRequest>;
|
|
@@ -5756,6 +6309,12 @@ export declare function createMedia(transport: Transport): {
|
|
|
5756
6309
|
retrieveFailureSummary: (options: import("./core/transport.js").CallOptions<Types.MediaUnderstandingFailureSummaryData>) => Promise<Types.MediaFailureSummary>;
|
|
5757
6310
|
};
|
|
5758
6311
|
update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateLibraryData>) => Promise<Types.MediaLibrary>;
|
|
6312
|
+
voices: {
|
|
6313
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateVoiceData>) => Promise<Types.MediaJob>;
|
|
6314
|
+
designs: {
|
|
6315
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MediaDesignVoiceData>) => Promise<Types.MediaJob>;
|
|
6316
|
+
};
|
|
6317
|
+
};
|
|
5759
6318
|
};
|
|
5760
6319
|
speech: {
|
|
5761
6320
|
create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateSpeechData>) => Promise<Types.MediaJob>;
|
|
@@ -6756,6 +7315,18 @@ export declare function createRegistry(transport: Transport): {
|
|
|
6756
7315
|
update: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsUpdateData>) => Promise<Types.RegistryInstallation>;
|
|
6757
7316
|
};
|
|
6758
7317
|
packages: {
|
|
7318
|
+
git: {
|
|
7319
|
+
commits: {
|
|
7320
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCommitsRetrieveData>) => Promise<Types.RegistryGitCommit>;
|
|
7321
|
+
};
|
|
7322
|
+
files: {
|
|
7323
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitFilesRetrieveData>) => Promise<Blob | File>;
|
|
7324
|
+
};
|
|
7325
|
+
retrieveLog: (options: import("./core/transport.js").CallOptions<Types.RegistryGitLogData>) => Promise<Types.RegistryGitLog>;
|
|
7326
|
+
trees: {
|
|
7327
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRetrieveData>) => Promise<Types.RegistryGitTree>;
|
|
7328
|
+
};
|
|
7329
|
+
};
|
|
6759
7330
|
installations: {
|
|
6760
7331
|
create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsCreateData>) => Promise<Types.RegistryInstallResult>;
|
|
6761
7332
|
list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsListData>) => Promise<Types.RegistryInstallationList>;
|