@deepraxis/sdk 0.1.1-dev.ea5b65f → 0.1.1-dev.ea6154a
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 +91 -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 +157 -31
- package/dist/generated/sdk.gen.js +384 -30
- package/dist/generated/types.gen.d.ts +4665 -625
- 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.d.ts +2 -0
- package/dist/helpers/browser-connect.js +36 -42
- package/dist/helpers/browser-decisions.d.ts +13 -0
- package/dist/helpers/browser-decisions.js +11 -0
- package/dist/helpers/browser-documentation.d.ts +1 -1
- package/dist/helpers/browser-documentation.js +4 -2
- package/dist/operations.generated.js +726 -48
- package/dist/resources.generated.d.ts +965 -218
- package/dist/resources.generated.js +53 -0
- package/package.json +1 -1
|
@@ -42,6 +42,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
42
42
|
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
43
43
|
id: string;
|
|
44
44
|
access: "read_only" | "read_write" | "invoke";
|
|
45
|
+
customer_access?: "read_only" | "read_write" | "invoke";
|
|
45
46
|
instructions?: string;
|
|
46
47
|
readonly verified?: boolean;
|
|
47
48
|
enabled?: boolean;
|
|
@@ -159,6 +160,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
159
160
|
};
|
|
160
161
|
avatar: string | null;
|
|
161
162
|
creation_source: string | null;
|
|
163
|
+
managed_by: string | null;
|
|
162
164
|
identity_number: string | null;
|
|
163
165
|
environment_id?: string | null;
|
|
164
166
|
vault_ids?: Array<string>;
|
|
@@ -225,6 +227,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
225
227
|
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
226
228
|
id: string;
|
|
227
229
|
access: "read_only" | "read_write" | "invoke";
|
|
230
|
+
customer_access?: "read_only" | "read_write" | "invoke";
|
|
228
231
|
instructions?: string;
|
|
229
232
|
readonly verified?: boolean;
|
|
230
233
|
enabled?: boolean;
|
|
@@ -349,6 +352,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
349
352
|
};
|
|
350
353
|
avatar: string | null;
|
|
351
354
|
creation_source: string | null;
|
|
355
|
+
managed_by: string | null;
|
|
352
356
|
identity_number: string | null;
|
|
353
357
|
environment_id?: string | null;
|
|
354
358
|
vault_ids?: Array<string>;
|
|
@@ -761,6 +765,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
761
765
|
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
762
766
|
id: string;
|
|
763
767
|
access: "read_only" | "read_write" | "invoke";
|
|
768
|
+
customer_access?: "read_only" | "read_write" | "invoke";
|
|
764
769
|
instructions?: string;
|
|
765
770
|
readonly verified?: boolean;
|
|
766
771
|
enabled?: boolean;
|
|
@@ -885,6 +890,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
885
890
|
};
|
|
886
891
|
avatar: string | null;
|
|
887
892
|
creation_source: string | null;
|
|
893
|
+
managed_by: string | null;
|
|
888
894
|
identity_number: string | null;
|
|
889
895
|
environment_id?: string | null;
|
|
890
896
|
vault_ids?: Array<string>;
|
|
@@ -898,6 +904,34 @@ export declare function createAgent(transport: Transport): {
|
|
|
898
904
|
}>;
|
|
899
905
|
next_page: string | null;
|
|
900
906
|
}>;
|
|
907
|
+
phone: {
|
|
908
|
+
release: (options: import("./core/transport.js").CallOptions<Types.AgentsPhoneReleaseData>) => Promise<{
|
|
909
|
+
object: "agent_phone";
|
|
910
|
+
agent_id: string;
|
|
911
|
+
configured: boolean;
|
|
912
|
+
state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing" | "online" | "offline";
|
|
913
|
+
sku: string | null;
|
|
914
|
+
byod_device: string | null;
|
|
915
|
+
name: string | null;
|
|
916
|
+
sandbox_id: string | null;
|
|
917
|
+
lease_ends_at: string | null;
|
|
918
|
+
archived_at: string | null;
|
|
919
|
+
archive_error: string | null;
|
|
920
|
+
}>;
|
|
921
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.AgentsPhoneRetrieveData>) => Promise<{
|
|
922
|
+
object: "agent_phone";
|
|
923
|
+
agent_id: string;
|
|
924
|
+
configured: boolean;
|
|
925
|
+
state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing" | "online" | "offline";
|
|
926
|
+
sku: string | null;
|
|
927
|
+
byod_device: string | null;
|
|
928
|
+
name: string | null;
|
|
929
|
+
sandbox_id: string | null;
|
|
930
|
+
lease_ends_at: string | null;
|
|
931
|
+
archived_at: string | null;
|
|
932
|
+
archive_error: string | null;
|
|
933
|
+
}>;
|
|
934
|
+
};
|
|
901
935
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.AgentsRetrieveData>) => Promise<{
|
|
902
936
|
id: string;
|
|
903
937
|
archived_at: null | string;
|
|
@@ -938,6 +972,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
938
972
|
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
939
973
|
id: string;
|
|
940
974
|
access: "read_only" | "read_write" | "invoke";
|
|
975
|
+
customer_access?: "read_only" | "read_write" | "invoke";
|
|
941
976
|
instructions?: string;
|
|
942
977
|
readonly verified?: boolean;
|
|
943
978
|
enabled?: boolean;
|
|
@@ -1062,6 +1097,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1062
1097
|
};
|
|
1063
1098
|
avatar: string | null;
|
|
1064
1099
|
creation_source: string | null;
|
|
1100
|
+
managed_by: string | null;
|
|
1065
1101
|
identity_number: string | null;
|
|
1066
1102
|
environment_id?: string | null;
|
|
1067
1103
|
vault_ids?: Array<string>;
|
|
@@ -1144,6 +1180,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
1144
1180
|
max_file_bytes: number;
|
|
1145
1181
|
max_files_per_session: number;
|
|
1146
1182
|
};
|
|
1183
|
+
share_links: {
|
|
1184
|
+
enabled: boolean;
|
|
1185
|
+
daily_session_cap: number | null;
|
|
1186
|
+
daily_spend_cap_micro_usd: number | null;
|
|
1187
|
+
};
|
|
1147
1188
|
}>;
|
|
1148
1189
|
unarchive: {
|
|
1149
1190
|
create: (options: import("./core/transport.js").CallOptions<Types.UnarchiveAgentData>) => Promise<{
|
|
@@ -1388,6 +1429,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1388
1429
|
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
1389
1430
|
id: string;
|
|
1390
1431
|
access: "read_only" | "read_write" | "invoke";
|
|
1432
|
+
customer_access?: "read_only" | "read_write" | "invoke";
|
|
1391
1433
|
instructions?: string;
|
|
1392
1434
|
readonly verified?: boolean;
|
|
1393
1435
|
enabled?: boolean;
|
|
@@ -1512,6 +1554,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1512
1554
|
};
|
|
1513
1555
|
avatar: string | null;
|
|
1514
1556
|
creation_source: string | null;
|
|
1557
|
+
managed_by: string | null;
|
|
1515
1558
|
identity_number: string | null;
|
|
1516
1559
|
environment_id?: string | null;
|
|
1517
1560
|
vault_ids?: Array<string>;
|
|
@@ -1564,6 +1607,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1564
1607
|
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
1565
1608
|
id: string;
|
|
1566
1609
|
access: "read_only" | "read_write" | "invoke";
|
|
1610
|
+
customer_access?: "read_only" | "read_write" | "invoke";
|
|
1567
1611
|
instructions?: string;
|
|
1568
1612
|
readonly verified?: boolean;
|
|
1569
1613
|
enabled?: boolean;
|
|
@@ -1688,6 +1732,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1688
1732
|
};
|
|
1689
1733
|
avatar: string | null;
|
|
1690
1734
|
creation_source: string | null;
|
|
1735
|
+
managed_by: string | null;
|
|
1691
1736
|
identity_number: string | null;
|
|
1692
1737
|
environment_id?: string | null;
|
|
1693
1738
|
vault_ids?: Array<string>;
|
|
@@ -1707,6 +1752,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
1707
1752
|
max_file_bytes: number;
|
|
1708
1753
|
max_files_per_session: number;
|
|
1709
1754
|
};
|
|
1755
|
+
share_links: {
|
|
1756
|
+
enabled: boolean;
|
|
1757
|
+
daily_session_cap: number | null;
|
|
1758
|
+
daily_spend_cap_micro_usd: number | null;
|
|
1759
|
+
};
|
|
1710
1760
|
}>;
|
|
1711
1761
|
versions: {
|
|
1712
1762
|
apply: (options: import("./core/transport.js").CallOptions<Types.ApplyAgentVersionData>) => Promise<{
|
|
@@ -1951,6 +2001,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1951
2001
|
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
1952
2002
|
id: string;
|
|
1953
2003
|
access: "read_only" | "read_write" | "invoke";
|
|
2004
|
+
customer_access?: "read_only" | "read_write" | "invoke";
|
|
1954
2005
|
instructions?: string;
|
|
1955
2006
|
readonly verified?: boolean;
|
|
1956
2007
|
enabled?: boolean;
|
|
@@ -2075,6 +2126,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2075
2126
|
};
|
|
2076
2127
|
avatar: string | null;
|
|
2077
2128
|
creation_source: string | null;
|
|
2129
|
+
managed_by: string | null;
|
|
2078
2130
|
identity_number: string | null;
|
|
2079
2131
|
environment_id?: string | null;
|
|
2080
2132
|
vault_ids?: Array<string>;
|
|
@@ -2127,6 +2179,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2127
2179
|
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
2128
2180
|
id: string;
|
|
2129
2181
|
access: "read_only" | "read_write" | "invoke";
|
|
2182
|
+
customer_access?: "read_only" | "read_write" | "invoke";
|
|
2130
2183
|
instructions?: string;
|
|
2131
2184
|
readonly verified?: boolean;
|
|
2132
2185
|
enabled?: boolean;
|
|
@@ -2251,6 +2304,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2251
2304
|
};
|
|
2252
2305
|
avatar: string | null;
|
|
2253
2306
|
creation_source: string | null;
|
|
2307
|
+
managed_by: string | null;
|
|
2254
2308
|
identity_number: string | null;
|
|
2255
2309
|
environment_id?: string | null;
|
|
2256
2310
|
vault_ids?: Array<string>;
|
|
@@ -2338,6 +2392,18 @@ export declare function createAgent(transport: Transport): {
|
|
|
2338
2392
|
tier: "light" | "heavy";
|
|
2339
2393
|
}>;
|
|
2340
2394
|
retrieveContent: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesContentData>) => Promise<Blob | File>;
|
|
2395
|
+
retrievePreview: (options: import("./core/transport.js").CallOptions<Types.PreviewComputerFileData>) => Promise<{
|
|
2396
|
+
variant: "image" | "pdf" | "text" | "original";
|
|
2397
|
+
version?: string;
|
|
2398
|
+
mime_type?: string;
|
|
2399
|
+
size?: number;
|
|
2400
|
+
file_id?: string;
|
|
2401
|
+
url?: string;
|
|
2402
|
+
expires_at?: string;
|
|
2403
|
+
cached: boolean;
|
|
2404
|
+
fallback?: "content";
|
|
2405
|
+
skipped?: boolean;
|
|
2406
|
+
}>;
|
|
2341
2407
|
};
|
|
2342
2408
|
leases: {
|
|
2343
2409
|
delete: (options: import("./core/transport.js").CallOptions<Types.ReleaseComputerLeaseData>) => Promise<{
|
|
@@ -3196,6 +3262,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
3196
3262
|
vault_ids: Array<string>;
|
|
3197
3263
|
deployment_id?: null | string;
|
|
3198
3264
|
cwd: string;
|
|
3265
|
+
workspace?: {
|
|
3266
|
+
kind: "shared" | "isolated";
|
|
3267
|
+
path?: string;
|
|
3268
|
+
branch?: string;
|
|
3269
|
+
};
|
|
3199
3270
|
computer_id?: string;
|
|
3200
3271
|
model?: {
|
|
3201
3272
|
id: string;
|
|
@@ -3256,6 +3327,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
3256
3327
|
vault_ids: Array<string>;
|
|
3257
3328
|
deployment_id?: null | string;
|
|
3258
3329
|
cwd: string;
|
|
3330
|
+
workspace?: {
|
|
3331
|
+
kind: "shared" | "isolated";
|
|
3332
|
+
path?: string;
|
|
3333
|
+
branch?: string;
|
|
3334
|
+
};
|
|
3259
3335
|
computer_id?: string;
|
|
3260
3336
|
model?: {
|
|
3261
3337
|
id: string;
|
|
@@ -3418,6 +3494,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
3418
3494
|
vault_ids: Array<string>;
|
|
3419
3495
|
deployment_id?: null | string;
|
|
3420
3496
|
cwd: string;
|
|
3497
|
+
workspace?: {
|
|
3498
|
+
kind: "shared" | "isolated";
|
|
3499
|
+
path?: string;
|
|
3500
|
+
branch?: string;
|
|
3501
|
+
};
|
|
3421
3502
|
computer_id?: string;
|
|
3422
3503
|
model?: {
|
|
3423
3504
|
id: string;
|
|
@@ -4204,6 +4285,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
4204
4285
|
vault_ids: Array<string>;
|
|
4205
4286
|
deployment_id?: null | string;
|
|
4206
4287
|
cwd: string;
|
|
4288
|
+
workspace?: {
|
|
4289
|
+
kind: "shared" | "isolated";
|
|
4290
|
+
path?: string;
|
|
4291
|
+
branch?: string;
|
|
4292
|
+
};
|
|
4207
4293
|
computer_id?: string;
|
|
4208
4294
|
model?: {
|
|
4209
4295
|
id: string;
|
|
@@ -4264,6 +4350,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
4264
4350
|
vault_ids: Array<string>;
|
|
4265
4351
|
deployment_id?: null | string;
|
|
4266
4352
|
cwd: string;
|
|
4353
|
+
workspace?: {
|
|
4354
|
+
kind: "shared" | "isolated";
|
|
4355
|
+
path?: string;
|
|
4356
|
+
branch?: string;
|
|
4357
|
+
};
|
|
4267
4358
|
computer_id?: string;
|
|
4268
4359
|
model?: {
|
|
4269
4360
|
id: string;
|
|
@@ -4285,230 +4376,772 @@ export declare function createAgent(transport: Transport): {
|
|
|
4285
4376
|
}>;
|
|
4286
4377
|
next_page: string | null;
|
|
4287
4378
|
}>;
|
|
4288
|
-
|
|
4289
|
-
|
|
4290
|
-
data: Array<{
|
|
4291
|
-
id: string;
|
|
4292
|
-
object: "request";
|
|
4293
|
-
kind: "question" | "approval";
|
|
4294
|
-
status: "pending";
|
|
4295
|
-
tool_name: string;
|
|
4296
|
-
input: unknown;
|
|
4297
|
-
create_time: string;
|
|
4298
|
-
expire_time: string | null;
|
|
4299
|
-
}>;
|
|
4300
|
-
}>;
|
|
4301
|
-
};
|
|
4302
|
-
resources: {
|
|
4303
|
-
create: (options: import("./core/transport.js").CallOptions<Types.SessionsResourcesAddData>) => Promise<Types.AgentManaged176>;
|
|
4304
|
-
delete: (options: import("./core/transport.js").CallOptions<RenameParameters<Types.SessionsResourcesDeleteData, {
|
|
4305
|
-
query: {
|
|
4306
|
-
"session_id": "query_session_id";
|
|
4307
|
-
};
|
|
4308
|
-
}>>) => Promise<Types.AgentManaged255>;
|
|
4309
|
-
list: (options: import("./core/transport.js").CallOptions<Types.SessionsResourcesListData>) => Promise<{
|
|
4310
|
-
data: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
|
|
4311
|
-
next_page: string | null;
|
|
4312
|
-
}>;
|
|
4313
|
-
retrieve: (options: import("./core/transport.js").CallOptions<RenameParameters<Types.SessionsResourcesRetrieveData, {
|
|
4314
|
-
query: {
|
|
4315
|
-
"session_id": "query_session_id";
|
|
4316
|
-
};
|
|
4317
|
-
}>>) => Promise<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
|
|
4318
|
-
};
|
|
4319
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.SessionsRetrieveData>) => Promise<{
|
|
4320
|
-
id: string;
|
|
4321
|
-
agent: {
|
|
4379
|
+
name: {
|
|
4380
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RenameSessionData>) => Promise<{
|
|
4322
4381
|
id: string;
|
|
4323
|
-
|
|
4324
|
-
mcp_servers: Array<Types.AgentManaged36>;
|
|
4325
|
-
model: {
|
|
4382
|
+
agent: {
|
|
4326
4383
|
id: string;
|
|
4327
|
-
|
|
4328
|
-
|
|
4329
|
-
|
|
4330
|
-
|
|
4331
|
-
|
|
4332
|
-
|
|
4333
|
-
|
|
4334
|
-
};
|
|
4335
|
-
multiagent: null | Types.AgentManaged171;
|
|
4336
|
-
name: string;
|
|
4337
|
-
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
4338
|
-
system: null | string;
|
|
4339
|
-
tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
|
|
4340
|
-
type: "agent";
|
|
4341
|
-
version: number;
|
|
4342
|
-
};
|
|
4343
|
-
archived_at: null | string;
|
|
4344
|
-
budget: null | Types.AgentManaged76;
|
|
4345
|
-
created_at: string;
|
|
4346
|
-
environment_id?: string;
|
|
4347
|
-
metadata: Types.AgentManaged173;
|
|
4348
|
-
outcome_evaluations: Array<Types.AgentManaged174>;
|
|
4349
|
-
resources: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
|
|
4350
|
-
stats: Types.AgentManaged178;
|
|
4351
|
-
status: "rescheduling" | "running" | "idle" | "terminated";
|
|
4352
|
-
title: null | string;
|
|
4353
|
-
type: "session";
|
|
4354
|
-
updated_at: string;
|
|
4355
|
-
usage: Types.AgentManaged179;
|
|
4356
|
-
vault_ids: Array<string>;
|
|
4357
|
-
deployment_id?: null | string;
|
|
4358
|
-
cwd: string;
|
|
4359
|
-
computer_id?: string;
|
|
4360
|
-
model?: {
|
|
4361
|
-
id: string;
|
|
4362
|
-
thinking: {
|
|
4363
|
-
efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
|
|
4364
|
-
can_disable: boolean;
|
|
4365
|
-
default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
|
|
4366
|
-
} | null;
|
|
4367
|
-
};
|
|
4368
|
-
thinking?: {
|
|
4369
|
-
effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
4370
|
-
} | null;
|
|
4371
|
-
forked_from?: {
|
|
4372
|
-
session_id: string;
|
|
4373
|
-
message_id: string;
|
|
4374
|
-
} | null;
|
|
4375
|
-
readonly external_user_id: string | null;
|
|
4376
|
-
readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
|
|
4377
|
-
}>;
|
|
4378
|
-
retrieveCompact: (options: import("./core/transport.js").CallOptions<Types.GetSessionCompactionData>) => Promise<{
|
|
4379
|
-
type: "session_compaction";
|
|
4380
|
-
id: string;
|
|
4381
|
-
status: "queued" | "running" | "skipped" | "succeeded" | "failed" | "cancelled";
|
|
4382
|
-
reason?: string;
|
|
4383
|
-
}>;
|
|
4384
|
-
retrieveContext: (options: import("./core/transport.js").CallOptions<Types.GetSessionContextData>) => Promise<{
|
|
4385
|
-
type: "session_context";
|
|
4386
|
-
session_id: string;
|
|
4387
|
-
model: {
|
|
4388
|
-
id: string;
|
|
4389
|
-
display_name: string;
|
|
4390
|
-
thinking: {
|
|
4391
|
-
efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
|
|
4392
|
-
can_disable: boolean;
|
|
4393
|
-
default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
|
|
4394
|
-
} | null;
|
|
4395
|
-
};
|
|
4396
|
-
total_tokens: number | null;
|
|
4397
|
-
total_tokens_source: "actual" | "estimated" | null;
|
|
4398
|
-
max_tokens: number | null;
|
|
4399
|
-
max_input_tokens: number | null;
|
|
4400
|
-
percentage: number;
|
|
4401
|
-
auto_compact_threshold: number | null;
|
|
4402
|
-
is_auto_compact_enabled: boolean;
|
|
4403
|
-
clear_tool_results_at: number;
|
|
4404
|
-
detail: "summary";
|
|
4405
|
-
categories: Array<{
|
|
4406
|
-
key: string;
|
|
4407
|
-
name: string;
|
|
4408
|
-
tokens: number;
|
|
4409
|
-
kind: "used" | "free" | "buffer" | "deferred";
|
|
4410
|
-
}>;
|
|
4411
|
-
mcp_tools: Array<{
|
|
4412
|
-
name: string;
|
|
4413
|
-
server_name: string;
|
|
4414
|
-
tokens: number;
|
|
4415
|
-
}>;
|
|
4416
|
-
plugin_blocks: Array<{
|
|
4417
|
-
name: string;
|
|
4418
|
-
tokens: number;
|
|
4419
|
-
}>;
|
|
4420
|
-
message_breakdown: {
|
|
4421
|
-
user_message_tokens: number;
|
|
4422
|
-
assistant_message_tokens: number;
|
|
4423
|
-
tool_call_tokens: number;
|
|
4424
|
-
tool_result_tokens: number;
|
|
4425
|
-
reasoning_tokens: number;
|
|
4426
|
-
tool_calls_by_type: Array<{
|
|
4427
|
-
name: string;
|
|
4428
|
-
call_tokens: number;
|
|
4429
|
-
result_tokens: number;
|
|
4430
|
-
}>;
|
|
4431
|
-
};
|
|
4432
|
-
compaction_summary: {
|
|
4433
|
-
tokens: number;
|
|
4434
|
-
} | null;
|
|
4435
|
-
excluded_items: {
|
|
4436
|
-
count: number;
|
|
4437
|
-
tokens: number;
|
|
4438
|
-
};
|
|
4439
|
-
measured_at: string | null;
|
|
4440
|
-
}>;
|
|
4441
|
-
runs: {
|
|
4442
|
-
deleteFeedback: (options: import("./core/transport.js").CallOptions<Types.DeleteRunFeedbackData>) => Promise<void>;
|
|
4443
|
-
feedback: {
|
|
4444
|
-
create: (options: import("./core/transport.js").CallOptions<Types.SetRunFeedbackData>) => Promise<{
|
|
4445
|
-
type: "run_feedback";
|
|
4446
|
-
session_id: string;
|
|
4447
|
-
run_id: string;
|
|
4448
|
-
rating: "positive" | "negative";
|
|
4449
|
-
comment: string | null;
|
|
4450
|
-
created_at: string;
|
|
4451
|
-
updated_at: string;
|
|
4452
|
-
}>;
|
|
4453
|
-
};
|
|
4454
|
-
};
|
|
4455
|
-
threads: {
|
|
4456
|
-
archive: (options: import("./core/transport.js").CallOptions<RenameParameters<Types.SessionsThreadsArchiveData, {
|
|
4457
|
-
query: {
|
|
4458
|
-
"session_id": "query_session_id";
|
|
4459
|
-
};
|
|
4460
|
-
}>>) => Promise<Types.AgentManaged256>;
|
|
4461
|
-
events: {
|
|
4462
|
-
list: (options: import("./core/transport.js").CallOptions<RenameParameters<Types.SessionsThreadsEventsListData, {
|
|
4463
|
-
query: {
|
|
4464
|
-
"session_id": "query_session_id";
|
|
4465
|
-
};
|
|
4466
|
-
}>>) => Promise<{
|
|
4467
|
-
data: Array<{
|
|
4468
|
-
id: string;
|
|
4469
|
-
content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
|
|
4470
|
-
type: "user.message";
|
|
4471
|
-
processed_at?: null | string;
|
|
4472
|
-
praxis_context?: {
|
|
4473
|
-
items: Array<{
|
|
4474
|
-
name: string;
|
|
4475
|
-
value: string;
|
|
4476
|
-
}>;
|
|
4384
|
+
description: null | string;
|
|
4385
|
+
mcp_servers: Array<{
|
|
4386
|
+
type: "url";
|
|
4387
|
+
name: string;
|
|
4388
|
+
url: string;
|
|
4389
|
+
headers?: {
|
|
4390
|
+
[key: string]: string;
|
|
4477
4391
|
};
|
|
4478
|
-
|
|
4479
|
-
} | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged192 | {
|
|
4480
|
-
id: string;
|
|
4481
|
-
content: Array<{
|
|
4482
|
-
text: string;
|
|
4483
|
-
type: "text";
|
|
4484
|
-
citations?: Array<{
|
|
4485
|
-
type: "search_result_location";
|
|
4486
|
-
source: string;
|
|
4487
|
-
title: string;
|
|
4488
|
-
cited_text: string;
|
|
4489
|
-
search_result_index: number;
|
|
4490
|
-
start_block_index: number;
|
|
4491
|
-
end_block_index: number;
|
|
4492
|
-
}>;
|
|
4493
|
-
} | Types.AgentManaged70>;
|
|
4494
|
-
processed_at: string;
|
|
4495
|
-
type: "agent.message";
|
|
4496
|
-
run_id: string | null;
|
|
4497
|
-
message_id?: string;
|
|
4392
|
+
timeout_ms?: number;
|
|
4498
4393
|
} | {
|
|
4499
|
-
|
|
4500
|
-
|
|
4501
|
-
|
|
4502
|
-
|
|
4503
|
-
|
|
4394
|
+
type: "sse";
|
|
4395
|
+
name: string;
|
|
4396
|
+
url: string;
|
|
4397
|
+
headers?: {
|
|
4398
|
+
[key: string]: string;
|
|
4399
|
+
};
|
|
4400
|
+
timeout_ms?: number;
|
|
4504
4401
|
} | {
|
|
4505
|
-
|
|
4506
|
-
input: Types.AgentManaged197;
|
|
4507
|
-
mcp_server_name: string;
|
|
4402
|
+
type: "stdio";
|
|
4508
4403
|
name: string;
|
|
4509
|
-
|
|
4510
|
-
|
|
4511
|
-
|
|
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
|
+
settings?: {
|
|
4427
|
+
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
4428
|
+
max_output_tokens?: number;
|
|
4429
|
+
};
|
|
4430
|
+
};
|
|
4431
|
+
multiagent: null | {
|
|
4432
|
+
agents: Array<{
|
|
4433
|
+
model: string;
|
|
4434
|
+
type: "advisor";
|
|
4435
|
+
} | {
|
|
4436
|
+
id: string;
|
|
4437
|
+
description: null | string;
|
|
4438
|
+
mcp_servers: Array<{
|
|
4439
|
+
type: "url";
|
|
4440
|
+
name: string;
|
|
4441
|
+
url: string;
|
|
4442
|
+
headers?: {
|
|
4443
|
+
[key: string]: string;
|
|
4444
|
+
};
|
|
4445
|
+
timeout_ms?: number;
|
|
4446
|
+
} | {
|
|
4447
|
+
type: "sse";
|
|
4448
|
+
name: string;
|
|
4449
|
+
url: string;
|
|
4450
|
+
headers?: {
|
|
4451
|
+
[key: string]: string;
|
|
4452
|
+
};
|
|
4453
|
+
timeout_ms?: number;
|
|
4454
|
+
} | {
|
|
4455
|
+
type: "stdio";
|
|
4456
|
+
name: string;
|
|
4457
|
+
command: string;
|
|
4458
|
+
args?: Array<string>;
|
|
4459
|
+
env?: {
|
|
4460
|
+
[key: string]: string;
|
|
4461
|
+
};
|
|
4462
|
+
timeout_ms?: number;
|
|
4463
|
+
}>;
|
|
4464
|
+
model: {
|
|
4465
|
+
id: string;
|
|
4466
|
+
effort?: {
|
|
4467
|
+
type: "low";
|
|
4468
|
+
} | {
|
|
4469
|
+
type: "medium";
|
|
4470
|
+
} | {
|
|
4471
|
+
type: "high";
|
|
4472
|
+
} | {
|
|
4473
|
+
type: "xhigh";
|
|
4474
|
+
} | {
|
|
4475
|
+
type: "max";
|
|
4476
|
+
};
|
|
4477
|
+
inference_geo?: string;
|
|
4478
|
+
speed?: "standard" | "fast";
|
|
4479
|
+
};
|
|
4480
|
+
name: string;
|
|
4481
|
+
skills: Array<{
|
|
4482
|
+
skill_id: string;
|
|
4483
|
+
type: "anthropic";
|
|
4484
|
+
version: string;
|
|
4485
|
+
} | {
|
|
4486
|
+
skill_id: string;
|
|
4487
|
+
type: "custom";
|
|
4488
|
+
version: string;
|
|
4489
|
+
}>;
|
|
4490
|
+
system: null | string;
|
|
4491
|
+
tools: Array<{
|
|
4492
|
+
configs: Array<{
|
|
4493
|
+
enabled: boolean;
|
|
4494
|
+
name: "bash";
|
|
4495
|
+
permission_policy: {
|
|
4496
|
+
type: "always_allow";
|
|
4497
|
+
} | {
|
|
4498
|
+
type: "always_ask";
|
|
4499
|
+
} | {
|
|
4500
|
+
type: "auto";
|
|
4501
|
+
};
|
|
4502
|
+
type: "bash";
|
|
4503
|
+
} | {
|
|
4504
|
+
enabled: boolean;
|
|
4505
|
+
name: "edit";
|
|
4506
|
+
permission_policy: {
|
|
4507
|
+
type: "always_allow";
|
|
4508
|
+
} | {
|
|
4509
|
+
type: "always_ask";
|
|
4510
|
+
} | {
|
|
4511
|
+
type: "auto";
|
|
4512
|
+
};
|
|
4513
|
+
type: "edit";
|
|
4514
|
+
} | {
|
|
4515
|
+
enabled: boolean;
|
|
4516
|
+
name: "read";
|
|
4517
|
+
permission_policy: {
|
|
4518
|
+
type: "always_allow";
|
|
4519
|
+
} | {
|
|
4520
|
+
type: "always_ask";
|
|
4521
|
+
} | {
|
|
4522
|
+
type: "auto";
|
|
4523
|
+
};
|
|
4524
|
+
type: "read";
|
|
4525
|
+
} | {
|
|
4526
|
+
enabled: boolean;
|
|
4527
|
+
name: "write";
|
|
4528
|
+
permission_policy: {
|
|
4529
|
+
type: "always_allow";
|
|
4530
|
+
} | {
|
|
4531
|
+
type: "always_ask";
|
|
4532
|
+
} | {
|
|
4533
|
+
type: "auto";
|
|
4534
|
+
};
|
|
4535
|
+
type: "write";
|
|
4536
|
+
} | {
|
|
4537
|
+
enabled: boolean;
|
|
4538
|
+
name: "glob";
|
|
4539
|
+
permission_policy: {
|
|
4540
|
+
type: "always_allow";
|
|
4541
|
+
} | {
|
|
4542
|
+
type: "always_ask";
|
|
4543
|
+
} | {
|
|
4544
|
+
type: "auto";
|
|
4545
|
+
};
|
|
4546
|
+
type: "glob";
|
|
4547
|
+
} | {
|
|
4548
|
+
enabled: boolean;
|
|
4549
|
+
name: "grep";
|
|
4550
|
+
permission_policy: {
|
|
4551
|
+
type: "always_allow";
|
|
4552
|
+
} | {
|
|
4553
|
+
type: "always_ask";
|
|
4554
|
+
} | {
|
|
4555
|
+
type: "auto";
|
|
4556
|
+
};
|
|
4557
|
+
type: "grep";
|
|
4558
|
+
} | {
|
|
4559
|
+
enabled: boolean;
|
|
4560
|
+
name: "web_fetch";
|
|
4561
|
+
permission_policy: {
|
|
4562
|
+
type: "always_allow";
|
|
4563
|
+
} | {
|
|
4564
|
+
type: "always_ask";
|
|
4565
|
+
} | {
|
|
4566
|
+
type: "auto";
|
|
4567
|
+
};
|
|
4568
|
+
type: "web_fetch";
|
|
4569
|
+
allowed_domains?: Array<string>;
|
|
4570
|
+
blocked_domains?: Array<string>;
|
|
4571
|
+
max_content_tokens?: null | number;
|
|
4572
|
+
} | {
|
|
4573
|
+
enabled: boolean;
|
|
4574
|
+
name: "web_search";
|
|
4575
|
+
permission_policy: {
|
|
4576
|
+
type: "always_allow";
|
|
4577
|
+
} | {
|
|
4578
|
+
type: "always_ask";
|
|
4579
|
+
} | {
|
|
4580
|
+
type: "auto";
|
|
4581
|
+
};
|
|
4582
|
+
type: "web_search";
|
|
4583
|
+
allowed_domains?: Array<string>;
|
|
4584
|
+
blocked_domains?: Array<string>;
|
|
4585
|
+
user_location?: null | {
|
|
4586
|
+
type: "approximate";
|
|
4587
|
+
city?: null | string;
|
|
4588
|
+
country?: null | string;
|
|
4589
|
+
region?: null | string;
|
|
4590
|
+
timezone?: null | string;
|
|
4591
|
+
};
|
|
4592
|
+
} | {
|
|
4593
|
+
name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
|
|
4594
|
+
enabled: boolean;
|
|
4595
|
+
permission_policy: {
|
|
4596
|
+
type: "always_allow" | "always_ask";
|
|
4597
|
+
};
|
|
4598
|
+
}>;
|
|
4599
|
+
default_config: {
|
|
4600
|
+
enabled: boolean;
|
|
4601
|
+
permission_policy: {
|
|
4602
|
+
type: "always_allow";
|
|
4603
|
+
} | {
|
|
4604
|
+
type: "always_ask";
|
|
4605
|
+
} | {
|
|
4606
|
+
type: "auto";
|
|
4607
|
+
};
|
|
4608
|
+
};
|
|
4609
|
+
type: "agent_toolset_20260401";
|
|
4610
|
+
} | {
|
|
4611
|
+
type: "mcp_toolset";
|
|
4612
|
+
mcp_server_name: string;
|
|
4613
|
+
default_config?: {
|
|
4614
|
+
enabled?: boolean | null;
|
|
4615
|
+
permission_policy?: null | {
|
|
4616
|
+
type: "always_allow" | "always_ask";
|
|
4617
|
+
};
|
|
4618
|
+
} | null;
|
|
4619
|
+
configs?: Array<{
|
|
4620
|
+
name: string;
|
|
4621
|
+
enabled?: boolean | null;
|
|
4622
|
+
permission_policy?: null | {
|
|
4623
|
+
type: "always_allow" | "always_ask";
|
|
4624
|
+
};
|
|
4625
|
+
}> | null;
|
|
4626
|
+
} | {
|
|
4627
|
+
description: string;
|
|
4628
|
+
input_schema: {
|
|
4629
|
+
type: "object";
|
|
4630
|
+
properties?: null | {
|
|
4631
|
+
[key: string]: unknown;
|
|
4632
|
+
};
|
|
4633
|
+
required?: null | Array<string>;
|
|
4634
|
+
[key: string]: unknown;
|
|
4635
|
+
};
|
|
4636
|
+
name: string;
|
|
4637
|
+
type: "custom";
|
|
4638
|
+
}>;
|
|
4639
|
+
type: "agent";
|
|
4640
|
+
version: number;
|
|
4641
|
+
}>;
|
|
4642
|
+
type: "coordinator";
|
|
4643
|
+
};
|
|
4644
|
+
name: string;
|
|
4645
|
+
skills: Array<{
|
|
4646
|
+
skill_id: string;
|
|
4647
|
+
type: "anthropic";
|
|
4648
|
+
version: string;
|
|
4649
|
+
} | {
|
|
4650
|
+
skill_id: string;
|
|
4651
|
+
type: "custom";
|
|
4652
|
+
version: string;
|
|
4653
|
+
}>;
|
|
4654
|
+
system: null | string;
|
|
4655
|
+
tools: Array<{
|
|
4656
|
+
configs: Array<{
|
|
4657
|
+
enabled: boolean;
|
|
4658
|
+
name: "bash";
|
|
4659
|
+
permission_policy: {
|
|
4660
|
+
type: "always_allow";
|
|
4661
|
+
} | {
|
|
4662
|
+
type: "always_ask";
|
|
4663
|
+
} | {
|
|
4664
|
+
type: "auto";
|
|
4665
|
+
};
|
|
4666
|
+
type: "bash";
|
|
4667
|
+
} | {
|
|
4668
|
+
enabled: boolean;
|
|
4669
|
+
name: "edit";
|
|
4670
|
+
permission_policy: {
|
|
4671
|
+
type: "always_allow";
|
|
4672
|
+
} | {
|
|
4673
|
+
type: "always_ask";
|
|
4674
|
+
} | {
|
|
4675
|
+
type: "auto";
|
|
4676
|
+
};
|
|
4677
|
+
type: "edit";
|
|
4678
|
+
} | {
|
|
4679
|
+
enabled: boolean;
|
|
4680
|
+
name: "read";
|
|
4681
|
+
permission_policy: {
|
|
4682
|
+
type: "always_allow";
|
|
4683
|
+
} | {
|
|
4684
|
+
type: "always_ask";
|
|
4685
|
+
} | {
|
|
4686
|
+
type: "auto";
|
|
4687
|
+
};
|
|
4688
|
+
type: "read";
|
|
4689
|
+
} | {
|
|
4690
|
+
enabled: boolean;
|
|
4691
|
+
name: "write";
|
|
4692
|
+
permission_policy: {
|
|
4693
|
+
type: "always_allow";
|
|
4694
|
+
} | {
|
|
4695
|
+
type: "always_ask";
|
|
4696
|
+
} | {
|
|
4697
|
+
type: "auto";
|
|
4698
|
+
};
|
|
4699
|
+
type: "write";
|
|
4700
|
+
} | {
|
|
4701
|
+
enabled: boolean;
|
|
4702
|
+
name: "glob";
|
|
4703
|
+
permission_policy: {
|
|
4704
|
+
type: "always_allow";
|
|
4705
|
+
} | {
|
|
4706
|
+
type: "always_ask";
|
|
4707
|
+
} | {
|
|
4708
|
+
type: "auto";
|
|
4709
|
+
};
|
|
4710
|
+
type: "glob";
|
|
4711
|
+
} | {
|
|
4712
|
+
enabled: boolean;
|
|
4713
|
+
name: "grep";
|
|
4714
|
+
permission_policy: {
|
|
4715
|
+
type: "always_allow";
|
|
4716
|
+
} | {
|
|
4717
|
+
type: "always_ask";
|
|
4718
|
+
} | {
|
|
4719
|
+
type: "auto";
|
|
4720
|
+
};
|
|
4721
|
+
type: "grep";
|
|
4722
|
+
} | {
|
|
4723
|
+
enabled: boolean;
|
|
4724
|
+
name: "web_fetch";
|
|
4725
|
+
permission_policy: {
|
|
4726
|
+
type: "always_allow";
|
|
4727
|
+
} | {
|
|
4728
|
+
type: "always_ask";
|
|
4729
|
+
} | {
|
|
4730
|
+
type: "auto";
|
|
4731
|
+
};
|
|
4732
|
+
type: "web_fetch";
|
|
4733
|
+
allowed_domains?: Array<string>;
|
|
4734
|
+
blocked_domains?: Array<string>;
|
|
4735
|
+
max_content_tokens?: null | number;
|
|
4736
|
+
} | {
|
|
4737
|
+
enabled: boolean;
|
|
4738
|
+
name: "web_search";
|
|
4739
|
+
permission_policy: {
|
|
4740
|
+
type: "always_allow";
|
|
4741
|
+
} | {
|
|
4742
|
+
type: "always_ask";
|
|
4743
|
+
} | {
|
|
4744
|
+
type: "auto";
|
|
4745
|
+
};
|
|
4746
|
+
type: "web_search";
|
|
4747
|
+
allowed_domains?: Array<string>;
|
|
4748
|
+
blocked_domains?: Array<string>;
|
|
4749
|
+
user_location?: null | {
|
|
4750
|
+
type: "approximate";
|
|
4751
|
+
city?: null | string;
|
|
4752
|
+
country?: null | string;
|
|
4753
|
+
region?: null | string;
|
|
4754
|
+
timezone?: null | string;
|
|
4755
|
+
};
|
|
4756
|
+
} | {
|
|
4757
|
+
name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
|
|
4758
|
+
enabled: boolean;
|
|
4759
|
+
permission_policy: {
|
|
4760
|
+
type: "always_allow" | "always_ask";
|
|
4761
|
+
};
|
|
4762
|
+
}>;
|
|
4763
|
+
default_config: {
|
|
4764
|
+
enabled: boolean;
|
|
4765
|
+
permission_policy: {
|
|
4766
|
+
type: "always_allow";
|
|
4767
|
+
} | {
|
|
4768
|
+
type: "always_ask";
|
|
4769
|
+
} | {
|
|
4770
|
+
type: "auto";
|
|
4771
|
+
};
|
|
4772
|
+
};
|
|
4773
|
+
type: "agent_toolset_20260401";
|
|
4774
|
+
} | {
|
|
4775
|
+
type: "mcp_toolset";
|
|
4776
|
+
mcp_server_name: string;
|
|
4777
|
+
default_config?: {
|
|
4778
|
+
enabled?: boolean | null;
|
|
4779
|
+
permission_policy?: null | {
|
|
4780
|
+
type: "always_allow" | "always_ask";
|
|
4781
|
+
};
|
|
4782
|
+
} | null;
|
|
4783
|
+
configs?: Array<{
|
|
4784
|
+
name: string;
|
|
4785
|
+
enabled?: boolean | null;
|
|
4786
|
+
permission_policy?: null | {
|
|
4787
|
+
type: "always_allow" | "always_ask";
|
|
4788
|
+
};
|
|
4789
|
+
}> | null;
|
|
4790
|
+
} | {
|
|
4791
|
+
description: string;
|
|
4792
|
+
input_schema: {
|
|
4793
|
+
type: "object";
|
|
4794
|
+
properties?: null | {
|
|
4795
|
+
[key: string]: unknown;
|
|
4796
|
+
};
|
|
4797
|
+
required?: null | Array<string>;
|
|
4798
|
+
[key: string]: unknown;
|
|
4799
|
+
};
|
|
4800
|
+
name: string;
|
|
4801
|
+
type: "custom";
|
|
4802
|
+
}>;
|
|
4803
|
+
type: "agent";
|
|
4804
|
+
version: number;
|
|
4805
|
+
};
|
|
4806
|
+
archived_at: null | string;
|
|
4807
|
+
budget: null | {
|
|
4808
|
+
max_list_cost: {
|
|
4809
|
+
amount: string;
|
|
4810
|
+
currency: "USD";
|
|
4811
|
+
};
|
|
4812
|
+
type: "limit";
|
|
4813
|
+
};
|
|
4814
|
+
created_at: string;
|
|
4815
|
+
environment_id?: string;
|
|
4816
|
+
metadata: {
|
|
4817
|
+
[key: string]: string;
|
|
4818
|
+
};
|
|
4819
|
+
outcome_evaluations: Array<{
|
|
4820
|
+
completed_at: null | string;
|
|
4821
|
+
description: string;
|
|
4822
|
+
explanation: null | string;
|
|
4823
|
+
iteration: number;
|
|
4824
|
+
outcome_id: string;
|
|
4825
|
+
result: string;
|
|
4826
|
+
type: "outcome_evaluation";
|
|
4827
|
+
}>;
|
|
4828
|
+
resources: Array<{
|
|
4829
|
+
id: string;
|
|
4830
|
+
created_at: string;
|
|
4831
|
+
mount_path: string;
|
|
4832
|
+
type: "github_repository";
|
|
4833
|
+
updated_at: string;
|
|
4834
|
+
url: string;
|
|
4835
|
+
checkout?: null | {
|
|
4836
|
+
name: string;
|
|
4837
|
+
type: "branch";
|
|
4838
|
+
} | {
|
|
4839
|
+
sha: string;
|
|
4840
|
+
type: "commit";
|
|
4841
|
+
};
|
|
4842
|
+
} | {
|
|
4843
|
+
id: string;
|
|
4844
|
+
created_at: string;
|
|
4845
|
+
file_id: string;
|
|
4846
|
+
mount_path: string;
|
|
4847
|
+
type: "file";
|
|
4848
|
+
updated_at: string;
|
|
4849
|
+
} | {
|
|
4850
|
+
memory_store_id: string;
|
|
4851
|
+
type: "memory_store";
|
|
4852
|
+
access?: null | "read_write" | "read_only";
|
|
4853
|
+
description?: string;
|
|
4854
|
+
instructions?: null | string;
|
|
4855
|
+
mount_path?: null | string;
|
|
4856
|
+
name?: null | string;
|
|
4857
|
+
}>;
|
|
4858
|
+
stats: {
|
|
4859
|
+
active_seconds?: number;
|
|
4860
|
+
duration_seconds?: number;
|
|
4861
|
+
};
|
|
4862
|
+
status: "rescheduling" | "running" | "idle" | "terminated";
|
|
4863
|
+
title: null | string;
|
|
4864
|
+
type: "session";
|
|
4865
|
+
updated_at: string;
|
|
4866
|
+
usage: {
|
|
4867
|
+
active_seconds?: number;
|
|
4868
|
+
cache_creation?: {
|
|
4869
|
+
ephemeral_1h_input_tokens?: number;
|
|
4870
|
+
ephemeral_5m_input_tokens?: number;
|
|
4871
|
+
};
|
|
4872
|
+
cache_read_input_tokens?: number;
|
|
4873
|
+
input_tokens?: number;
|
|
4874
|
+
list_cost?: null | {
|
|
4875
|
+
amount: string;
|
|
4876
|
+
currency: "USD";
|
|
4877
|
+
};
|
|
4878
|
+
output_tokens?: number;
|
|
4879
|
+
server_tool_use?: null | {
|
|
4880
|
+
web_fetch_requests?: number;
|
|
4881
|
+
web_search_requests?: number;
|
|
4882
|
+
};
|
|
4883
|
+
cost_by_product?: {
|
|
4884
|
+
[key: string]: string;
|
|
4885
|
+
};
|
|
4886
|
+
subagent_cost_micro_usd?: number;
|
|
4887
|
+
};
|
|
4888
|
+
vault_ids: Array<string>;
|
|
4889
|
+
deployment_id?: null | string;
|
|
4890
|
+
cwd: string;
|
|
4891
|
+
workspace?: {
|
|
4892
|
+
kind: "shared" | "isolated";
|
|
4893
|
+
path?: string;
|
|
4894
|
+
branch?: string;
|
|
4895
|
+
};
|
|
4896
|
+
computer_id?: string;
|
|
4897
|
+
model?: {
|
|
4898
|
+
id: string;
|
|
4899
|
+
thinking: {
|
|
4900
|
+
efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
|
|
4901
|
+
can_disable: boolean;
|
|
4902
|
+
default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
|
|
4903
|
+
} | null;
|
|
4904
|
+
};
|
|
4905
|
+
thinking?: {
|
|
4906
|
+
effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
4907
|
+
} | null;
|
|
4908
|
+
forked_from?: {
|
|
4909
|
+
session_id: string;
|
|
4910
|
+
message_id: string;
|
|
4911
|
+
} | null;
|
|
4912
|
+
readonly external_user_id: string | null;
|
|
4913
|
+
readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
|
|
4914
|
+
}>;
|
|
4915
|
+
};
|
|
4916
|
+
requests: {
|
|
4917
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ListSessionRequestsData>) => Promise<{
|
|
4918
|
+
data: Array<{
|
|
4919
|
+
id: string;
|
|
4920
|
+
object: "request";
|
|
4921
|
+
kind: "question" | "approval";
|
|
4922
|
+
status: "pending";
|
|
4923
|
+
tool_name: string;
|
|
4924
|
+
input: unknown;
|
|
4925
|
+
create_time: string;
|
|
4926
|
+
expire_time: string | null;
|
|
4927
|
+
}>;
|
|
4928
|
+
}>;
|
|
4929
|
+
};
|
|
4930
|
+
resources: {
|
|
4931
|
+
create: (options: import("./core/transport.js").CallOptions<Types.SessionsResourcesAddData>) => Promise<Types.AgentManaged176>;
|
|
4932
|
+
delete: (options: import("./core/transport.js").CallOptions<RenameParameters<Types.SessionsResourcesDeleteData, {
|
|
4933
|
+
query: {
|
|
4934
|
+
"session_id": "query_session_id";
|
|
4935
|
+
};
|
|
4936
|
+
}>>) => Promise<Types.AgentManaged255>;
|
|
4937
|
+
list: (options: import("./core/transport.js").CallOptions<Types.SessionsResourcesListData>) => Promise<{
|
|
4938
|
+
data: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
|
|
4939
|
+
next_page: string | null;
|
|
4940
|
+
}>;
|
|
4941
|
+
retrieve: (options: import("./core/transport.js").CallOptions<RenameParameters<Types.SessionsResourcesRetrieveData, {
|
|
4942
|
+
query: {
|
|
4943
|
+
"session_id": "query_session_id";
|
|
4944
|
+
};
|
|
4945
|
+
}>>) => Promise<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
|
|
4946
|
+
};
|
|
4947
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.SessionsRetrieveData>) => Promise<{
|
|
4948
|
+
id: string;
|
|
4949
|
+
agent: {
|
|
4950
|
+
id: string;
|
|
4951
|
+
description: null | string;
|
|
4952
|
+
mcp_servers: Array<Types.AgentManaged36>;
|
|
4953
|
+
model: {
|
|
4954
|
+
id: string;
|
|
4955
|
+
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
4956
|
+
inference_geo?: string;
|
|
4957
|
+
speed?: "standard" | "fast";
|
|
4958
|
+
settings?: {
|
|
4959
|
+
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
4960
|
+
max_output_tokens?: number;
|
|
4961
|
+
};
|
|
4962
|
+
};
|
|
4963
|
+
multiagent: null | Types.AgentManaged171;
|
|
4964
|
+
name: string;
|
|
4965
|
+
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
4966
|
+
system: null | string;
|
|
4967
|
+
tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
|
|
4968
|
+
type: "agent";
|
|
4969
|
+
version: number;
|
|
4970
|
+
};
|
|
4971
|
+
archived_at: null | string;
|
|
4972
|
+
budget: null | Types.AgentManaged76;
|
|
4973
|
+
created_at: string;
|
|
4974
|
+
environment_id?: string;
|
|
4975
|
+
metadata: Types.AgentManaged173;
|
|
4976
|
+
outcome_evaluations: Array<Types.AgentManaged174>;
|
|
4977
|
+
resources: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
|
|
4978
|
+
stats: Types.AgentManaged178;
|
|
4979
|
+
status: "rescheduling" | "running" | "idle" | "terminated";
|
|
4980
|
+
title: null | string;
|
|
4981
|
+
type: "session";
|
|
4982
|
+
updated_at: string;
|
|
4983
|
+
usage: Types.AgentManaged179;
|
|
4984
|
+
vault_ids: Array<string>;
|
|
4985
|
+
deployment_id?: null | string;
|
|
4986
|
+
cwd: string;
|
|
4987
|
+
workspace?: {
|
|
4988
|
+
kind: "shared" | "isolated";
|
|
4989
|
+
path?: string;
|
|
4990
|
+
branch?: string;
|
|
4991
|
+
};
|
|
4992
|
+
computer_id?: string;
|
|
4993
|
+
model?: {
|
|
4994
|
+
id: string;
|
|
4995
|
+
thinking: {
|
|
4996
|
+
efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
|
|
4997
|
+
can_disable: boolean;
|
|
4998
|
+
default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
|
|
4999
|
+
} | null;
|
|
5000
|
+
};
|
|
5001
|
+
thinking?: {
|
|
5002
|
+
effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
5003
|
+
} | null;
|
|
5004
|
+
forked_from?: {
|
|
5005
|
+
session_id: string;
|
|
5006
|
+
message_id: string;
|
|
5007
|
+
} | null;
|
|
5008
|
+
readonly external_user_id: string | null;
|
|
5009
|
+
readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
|
|
5010
|
+
}>;
|
|
5011
|
+
retrieveCompact: (options: import("./core/transport.js").CallOptions<Types.GetSessionCompactionData>) => Promise<{
|
|
5012
|
+
type: "session_compaction";
|
|
5013
|
+
id: string;
|
|
5014
|
+
status: "queued" | "running" | "skipped" | "succeeded" | "failed" | "cancelled";
|
|
5015
|
+
reason?: string;
|
|
5016
|
+
}>;
|
|
5017
|
+
retrieveContext: (options: import("./core/transport.js").CallOptions<Types.GetSessionContextData>) => Promise<{
|
|
5018
|
+
type: "session_context";
|
|
5019
|
+
session_id: string;
|
|
5020
|
+
model: {
|
|
5021
|
+
id: string;
|
|
5022
|
+
display_name: string;
|
|
5023
|
+
thinking: {
|
|
5024
|
+
efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
|
|
5025
|
+
can_disable: boolean;
|
|
5026
|
+
default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
|
|
5027
|
+
} | null;
|
|
5028
|
+
};
|
|
5029
|
+
total_tokens: number | null;
|
|
5030
|
+
total_tokens_source: "actual" | "estimated" | null;
|
|
5031
|
+
max_tokens: number | null;
|
|
5032
|
+
max_input_tokens: number | null;
|
|
5033
|
+
percentage: number;
|
|
5034
|
+
auto_compact_threshold: number | null;
|
|
5035
|
+
is_auto_compact_enabled: boolean;
|
|
5036
|
+
clear_tool_results_at: number;
|
|
5037
|
+
detail: "summary";
|
|
5038
|
+
categories: Array<{
|
|
5039
|
+
key: string;
|
|
5040
|
+
name: string;
|
|
5041
|
+
tokens: number;
|
|
5042
|
+
kind: "used" | "free" | "buffer" | "deferred";
|
|
5043
|
+
}>;
|
|
5044
|
+
mcp_tools: Array<{
|
|
5045
|
+
name: string;
|
|
5046
|
+
server_name: string;
|
|
5047
|
+
tokens: number;
|
|
5048
|
+
}>;
|
|
5049
|
+
plugin_blocks: Array<{
|
|
5050
|
+
name: string;
|
|
5051
|
+
tokens: number;
|
|
5052
|
+
}>;
|
|
5053
|
+
message_breakdown: {
|
|
5054
|
+
user_message_tokens: number;
|
|
5055
|
+
assistant_message_tokens: number;
|
|
5056
|
+
tool_call_tokens: number;
|
|
5057
|
+
tool_result_tokens: number;
|
|
5058
|
+
reasoning_tokens: number;
|
|
5059
|
+
tool_calls_by_type: Array<{
|
|
5060
|
+
name: string;
|
|
5061
|
+
call_tokens: number;
|
|
5062
|
+
result_tokens: number;
|
|
5063
|
+
}>;
|
|
5064
|
+
};
|
|
5065
|
+
compaction_summary: {
|
|
5066
|
+
tokens: number;
|
|
5067
|
+
} | null;
|
|
5068
|
+
excluded_items: {
|
|
5069
|
+
count: number;
|
|
5070
|
+
tokens: number;
|
|
5071
|
+
};
|
|
5072
|
+
measured_at: string | null;
|
|
5073
|
+
}>;
|
|
5074
|
+
runs: {
|
|
5075
|
+
deleteFeedback: (options: import("./core/transport.js").CallOptions<Types.DeleteRunFeedbackData>) => Promise<void>;
|
|
5076
|
+
feedback: {
|
|
5077
|
+
create: (options: import("./core/transport.js").CallOptions<Types.SetRunFeedbackData>) => Promise<{
|
|
5078
|
+
type: "run_feedback";
|
|
5079
|
+
session_id: string;
|
|
5080
|
+
run_id: string;
|
|
5081
|
+
rating: "positive" | "negative";
|
|
5082
|
+
comment: string | null;
|
|
5083
|
+
created_at: string;
|
|
5084
|
+
updated_at: string;
|
|
5085
|
+
}>;
|
|
5086
|
+
};
|
|
5087
|
+
};
|
|
5088
|
+
threads: {
|
|
5089
|
+
archive: (options: import("./core/transport.js").CallOptions<RenameParameters<Types.SessionsThreadsArchiveData, {
|
|
5090
|
+
query: {
|
|
5091
|
+
"session_id": "query_session_id";
|
|
5092
|
+
};
|
|
5093
|
+
}>>) => Promise<Types.AgentManaged256>;
|
|
5094
|
+
events: {
|
|
5095
|
+
list: (options: import("./core/transport.js").CallOptions<RenameParameters<Types.SessionsThreadsEventsListData, {
|
|
5096
|
+
query: {
|
|
5097
|
+
"session_id": "query_session_id";
|
|
5098
|
+
};
|
|
5099
|
+
}>>) => Promise<{
|
|
5100
|
+
data: Array<{
|
|
5101
|
+
id: string;
|
|
5102
|
+
content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
|
|
5103
|
+
type: "user.message";
|
|
5104
|
+
processed_at?: null | string;
|
|
5105
|
+
praxis_context?: {
|
|
5106
|
+
items: Array<{
|
|
5107
|
+
name: string;
|
|
5108
|
+
value: string;
|
|
5109
|
+
}>;
|
|
5110
|
+
};
|
|
5111
|
+
message_id?: string;
|
|
5112
|
+
} | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged192 | {
|
|
5113
|
+
id: string;
|
|
5114
|
+
content: Array<{
|
|
5115
|
+
text: string;
|
|
5116
|
+
type: "text";
|
|
5117
|
+
citations?: Array<{
|
|
5118
|
+
type: "search_result_location";
|
|
5119
|
+
source: string;
|
|
5120
|
+
title: string;
|
|
5121
|
+
cited_text: string;
|
|
5122
|
+
search_result_index: number;
|
|
5123
|
+
start_block_index: number;
|
|
5124
|
+
end_block_index: number;
|
|
5125
|
+
}>;
|
|
5126
|
+
} | Types.AgentManaged70>;
|
|
5127
|
+
processed_at: string;
|
|
5128
|
+
type: "agent.message";
|
|
5129
|
+
run_id: string | null;
|
|
5130
|
+
message_id?: string;
|
|
5131
|
+
} | {
|
|
5132
|
+
id: string;
|
|
5133
|
+
processed_at: string;
|
|
5134
|
+
type: "agent.thinking";
|
|
5135
|
+
run_id: string | null;
|
|
5136
|
+
message_id?: string;
|
|
5137
|
+
} | {
|
|
5138
|
+
id: string;
|
|
5139
|
+
input: Types.AgentManaged197;
|
|
5140
|
+
mcp_server_name: string;
|
|
5141
|
+
name: string;
|
|
5142
|
+
processed_at: string;
|
|
5143
|
+
type: "agent.mcp_tool_use";
|
|
5144
|
+
evaluated_permission?: "allow" | "deny" | "ask";
|
|
4512
5145
|
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
4513
5146
|
session_thread_id?: null | string;
|
|
4514
5147
|
permission_suggestions?: Array<{
|
|
@@ -4722,6 +5355,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
4722
5355
|
vault_ids: Array<string>;
|
|
4723
5356
|
deployment_id?: null | string;
|
|
4724
5357
|
cwd: string;
|
|
5358
|
+
workspace?: {
|
|
5359
|
+
kind: "shared" | "isolated";
|
|
5360
|
+
path?: string;
|
|
5361
|
+
branch?: string;
|
|
5362
|
+
};
|
|
4725
5363
|
computer_id?: string;
|
|
4726
5364
|
model?: {
|
|
4727
5365
|
id: string;
|
|
@@ -5073,6 +5711,11 @@ export declare function createAutomation(transport: Transport): {
|
|
|
5073
5711
|
};
|
|
5074
5712
|
};
|
|
5075
5713
|
};
|
|
5714
|
+
export declare function createBilling(transport: Transport): {
|
|
5715
|
+
prices: {
|
|
5716
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListPublicPricesData> | undefined) => Promise<Types.BillingPriceList>;
|
|
5717
|
+
};
|
|
5718
|
+
};
|
|
5076
5719
|
export declare function createBrowser(transport: Transport): {
|
|
5077
5720
|
connect: {
|
|
5078
5721
|
retrieve: (options?: import("./core/transport.js").CallOptions<Types.BrowserConnectData> | undefined) => Promise<unknown>;
|
|
@@ -5519,6 +6162,7 @@ export declare function createDevops(transport: Transport): {
|
|
|
5519
6162
|
};
|
|
5520
6163
|
};
|
|
5521
6164
|
pullRequests: {
|
|
6165
|
+
close: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsCloseData>) => Promise<Types.DevopsPullRequest>;
|
|
5522
6166
|
merge: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsMergeData>) => Promise<Types.DevopsPullRequest>;
|
|
5523
6167
|
recordVerdict: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRecordVerdictData>) => Promise<Types.DevopsPullRequest>;
|
|
5524
6168
|
rerunGate: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRerunGateData>) => Promise<Types.DevopsPullRequest>;
|
|
@@ -5738,6 +6382,12 @@ export declare function createMedia(transport: Transport): {
|
|
|
5738
6382
|
retrieveFailureSummary: (options: import("./core/transport.js").CallOptions<Types.MediaUnderstandingFailureSummaryData>) => Promise<Types.MediaFailureSummary>;
|
|
5739
6383
|
};
|
|
5740
6384
|
update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateLibraryData>) => Promise<Types.MediaLibrary>;
|
|
6385
|
+
voices: {
|
|
6386
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateVoiceData>) => Promise<Types.MediaJob>;
|
|
6387
|
+
designs: {
|
|
6388
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MediaDesignVoiceData>) => Promise<Types.MediaJob>;
|
|
6389
|
+
};
|
|
6390
|
+
};
|
|
5741
6391
|
};
|
|
5742
6392
|
speech: {
|
|
5743
6393
|
create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateSpeechData>) => Promise<Types.MediaJob>;
|
|
@@ -6738,6 +7388,18 @@ export declare function createRegistry(transport: Transport): {
|
|
|
6738
7388
|
update: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsUpdateData>) => Promise<Types.RegistryInstallation>;
|
|
6739
7389
|
};
|
|
6740
7390
|
packages: {
|
|
7391
|
+
git: {
|
|
7392
|
+
commits: {
|
|
7393
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCommitsRetrieveData>) => Promise<Types.RegistryGitCommit>;
|
|
7394
|
+
};
|
|
7395
|
+
files: {
|
|
7396
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitFilesRetrieveData>) => Promise<Blob | File>;
|
|
7397
|
+
};
|
|
7398
|
+
retrieveLog: (options: import("./core/transport.js").CallOptions<Types.RegistryGitLogData>) => Promise<Types.RegistryGitLog>;
|
|
7399
|
+
trees: {
|
|
7400
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRetrieveData>) => Promise<Types.RegistryGitTree>;
|
|
7401
|
+
};
|
|
7402
|
+
};
|
|
6741
7403
|
installations: {
|
|
6742
7404
|
create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsCreateData>) => Promise<Types.RegistryInstallResult>;
|
|
6743
7405
|
list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsListData>) => Promise<Types.RegistryInstallationList>;
|
|
@@ -6769,12 +7431,96 @@ export declare function createRegistry(transport: Transport): {
|
|
|
6769
7431
|
};
|
|
6770
7432
|
};
|
|
6771
7433
|
export declare function createSandbox(transport: Transport): {
|
|
7434
|
+
byod: {
|
|
7435
|
+
devices: {
|
|
7436
|
+
disconnect: {
|
|
7437
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DisconnectByodDeviceData>) => Promise<{
|
|
7438
|
+
id: string;
|
|
7439
|
+
object: "byod_device";
|
|
7440
|
+
disconnected: true;
|
|
7441
|
+
}>;
|
|
7442
|
+
};
|
|
7443
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListByodDevicesData> | undefined) => Promise<{
|
|
7444
|
+
data: Array<{
|
|
7445
|
+
object: "byod_device";
|
|
7446
|
+
id: string;
|
|
7447
|
+
platform: "android";
|
|
7448
|
+
name: string;
|
|
7449
|
+
model: string;
|
|
7450
|
+
os_version: string;
|
|
7451
|
+
online: boolean;
|
|
7452
|
+
last_seen_at: string | null;
|
|
7453
|
+
created_at: string;
|
|
7454
|
+
}>;
|
|
7455
|
+
}>;
|
|
7456
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodDeviceData>) => Promise<{
|
|
7457
|
+
object: "byod_device";
|
|
7458
|
+
id: string;
|
|
7459
|
+
platform: "android";
|
|
7460
|
+
name: string;
|
|
7461
|
+
model: string;
|
|
7462
|
+
os_version: string;
|
|
7463
|
+
online: boolean;
|
|
7464
|
+
last_seen_at: string | null;
|
|
7465
|
+
created_at: string;
|
|
7466
|
+
}>;
|
|
7467
|
+
update: (options: import("./core/transport.js").CallOptions<Types.UpdateByodDeviceData>) => Promise<{
|
|
7468
|
+
object: "byod_device";
|
|
7469
|
+
id: string;
|
|
7470
|
+
platform: "android";
|
|
7471
|
+
name: string;
|
|
7472
|
+
model: string;
|
|
7473
|
+
os_version: string;
|
|
7474
|
+
online: boolean;
|
|
7475
|
+
last_seen_at: string | null;
|
|
7476
|
+
created_at: string;
|
|
7477
|
+
}>;
|
|
7478
|
+
};
|
|
7479
|
+
pairings: {
|
|
7480
|
+
claim: {
|
|
7481
|
+
create: (options: import("./core/transport.js").CallOptions<Types.ClaimByodPairingData>) => Promise<{
|
|
7482
|
+
device_id: string;
|
|
7483
|
+
credential: string;
|
|
7484
|
+
socket_url: string;
|
|
7485
|
+
}>;
|
|
7486
|
+
};
|
|
7487
|
+
create: (options?: import("./core/transport.js").CallOptions<Types.CreateByodPairingData> | undefined) => Promise<{
|
|
7488
|
+
code: string;
|
|
7489
|
+
expires_at: string;
|
|
7490
|
+
qr: string;
|
|
7491
|
+
}>;
|
|
7492
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodPairingData>) => Promise<{
|
|
7493
|
+
organization_name: string;
|
|
7494
|
+
expires_at: string;
|
|
7495
|
+
}>;
|
|
7496
|
+
};
|
|
7497
|
+
};
|
|
6772
7498
|
events: {
|
|
6773
7499
|
sandboxes: {
|
|
6774
7500
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetSandboxEventsData>) => Promise<Types.SandboxSandboxEvent[]>;
|
|
6775
7501
|
};
|
|
6776
7502
|
};
|
|
6777
7503
|
sandboxes: {
|
|
7504
|
+
act: (options: import("./core/transport.js").CallOptions<Types.ActOnSandboxDisplayData>) => Promise<{
|
|
7505
|
+
type: "snapshot";
|
|
7506
|
+
snapshot: string;
|
|
7507
|
+
refs: number;
|
|
7508
|
+
truncated: boolean;
|
|
7509
|
+
package: string;
|
|
7510
|
+
} | {
|
|
7511
|
+
type: "screenshot";
|
|
7512
|
+
mediaType: string;
|
|
7513
|
+
data: string;
|
|
7514
|
+
width: number;
|
|
7515
|
+
height: number;
|
|
7516
|
+
bytes: number;
|
|
7517
|
+
} | {
|
|
7518
|
+
type: "ok";
|
|
7519
|
+
ms?: number;
|
|
7520
|
+
} | {
|
|
7521
|
+
type: "wait";
|
|
7522
|
+
ms: number;
|
|
7523
|
+
}>;
|
|
6778
7524
|
commands: {
|
|
6779
7525
|
run: (options: import("./core/transport.js").CallOptions<Types.RunSandboxCommandData>) => Promise<{
|
|
6780
7526
|
stdout: string;
|
|
@@ -7303,6 +8049,7 @@ export declare const resourceFactories: {
|
|
|
7303
8049
|
agent: typeof createAgent;
|
|
7304
8050
|
application: typeof createApplication;
|
|
7305
8051
|
automation: typeof createAutomation;
|
|
8052
|
+
billing: typeof createBilling;
|
|
7306
8053
|
browser: typeof createBrowser;
|
|
7307
8054
|
canvas: typeof createCanvas;
|
|
7308
8055
|
content: typeof createContent;
|