@deepraxis/sdk 0.1.1-dev.218780d → 0.1.1-dev.21f8389
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 +160 -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 +276 -38
- package/dist/generated/sdk.gen.js +766 -72
- package/dist/generated/types.gen.d.ts +6294 -910
- 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 +1479 -134
- package/dist/resources.generated.d.ts +968 -259
- package/dist/resources.generated.js +92 -0
- package/package.json +1 -1
|
@@ -657,21 +657,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
657
657
|
type: "user.steer";
|
|
658
658
|
event_id: string;
|
|
659
659
|
processed_at: string;
|
|
660
|
-
} | {
|
|
661
|
-
id: string;
|
|
662
|
-
type: "user.tool_confirmation";
|
|
663
|
-
processed_at: string;
|
|
664
|
-
tool_use_id: string;
|
|
665
|
-
result: "allow";
|
|
666
|
-
answers: {
|
|
667
|
-
[key: string]: string;
|
|
668
|
-
};
|
|
669
|
-
annotations?: {
|
|
670
|
-
[key: string]: {
|
|
671
|
-
preview?: string;
|
|
672
|
-
notes?: string;
|
|
673
|
-
};
|
|
674
|
-
};
|
|
675
660
|
}>;
|
|
676
661
|
next_page: string | null;
|
|
677
662
|
}>;
|
|
@@ -692,21 +677,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
692
677
|
type: "user.steer";
|
|
693
678
|
event_id: string;
|
|
694
679
|
processed_at: string;
|
|
695
|
-
} | {
|
|
696
|
-
id: string;
|
|
697
|
-
type: "user.tool_confirmation";
|
|
698
|
-
processed_at: string;
|
|
699
|
-
tool_use_id: string;
|
|
700
|
-
result: "allow";
|
|
701
|
-
answers: {
|
|
702
|
-
[key: string]: string;
|
|
703
|
-
};
|
|
704
|
-
annotations?: {
|
|
705
|
-
[key: string]: {
|
|
706
|
-
preview?: string;
|
|
707
|
-
notes?: string;
|
|
708
|
-
};
|
|
709
|
-
};
|
|
710
680
|
}>;
|
|
711
681
|
}>;
|
|
712
682
|
stream: (options: import("./core/transport.js").StreamOptions<Types.StreamAgentEventsData>) => AsyncIterable<Types.AgentSseEvent>;
|
|
@@ -904,6 +874,34 @@ export declare function createAgent(transport: Transport): {
|
|
|
904
874
|
}>;
|
|
905
875
|
next_page: string | null;
|
|
906
876
|
}>;
|
|
877
|
+
phone: {
|
|
878
|
+
release: (options: import("./core/transport.js").CallOptions<Types.AgentsPhoneReleaseData>) => Promise<{
|
|
879
|
+
object: "agent_phone";
|
|
880
|
+
agent_id: string;
|
|
881
|
+
configured: boolean;
|
|
882
|
+
state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing" | "online" | "offline";
|
|
883
|
+
sku: string | null;
|
|
884
|
+
byod_device: string | null;
|
|
885
|
+
name: string | null;
|
|
886
|
+
sandbox_id: string | null;
|
|
887
|
+
lease_ends_at: string | null;
|
|
888
|
+
archived_at: string | null;
|
|
889
|
+
archive_error: string | null;
|
|
890
|
+
}>;
|
|
891
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.AgentsPhoneRetrieveData>) => Promise<{
|
|
892
|
+
object: "agent_phone";
|
|
893
|
+
agent_id: string;
|
|
894
|
+
configured: boolean;
|
|
895
|
+
state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing" | "online" | "offline";
|
|
896
|
+
sku: string | null;
|
|
897
|
+
byod_device: string | null;
|
|
898
|
+
name: string | null;
|
|
899
|
+
sandbox_id: string | null;
|
|
900
|
+
lease_ends_at: string | null;
|
|
901
|
+
archived_at: string | null;
|
|
902
|
+
archive_error: string | null;
|
|
903
|
+
}>;
|
|
904
|
+
};
|
|
907
905
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.AgentsRetrieveData>) => Promise<{
|
|
908
906
|
id: string;
|
|
909
907
|
archived_at: null | string;
|
|
@@ -2364,6 +2362,18 @@ export declare function createAgent(transport: Transport): {
|
|
|
2364
2362
|
tier: "light" | "heavy";
|
|
2365
2363
|
}>;
|
|
2366
2364
|
retrieveContent: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesContentData>) => Promise<Blob | File>;
|
|
2365
|
+
retrievePreview: (options: import("./core/transport.js").CallOptions<Types.PreviewComputerFileData>) => Promise<{
|
|
2366
|
+
variant: "image" | "pdf" | "text" | "original";
|
|
2367
|
+
version?: string;
|
|
2368
|
+
mime_type?: string;
|
|
2369
|
+
size?: number;
|
|
2370
|
+
file_id?: string;
|
|
2371
|
+
url?: string;
|
|
2372
|
+
expires_at?: string;
|
|
2373
|
+
cached: boolean;
|
|
2374
|
+
fallback?: "content";
|
|
2375
|
+
skipped?: boolean;
|
|
2376
|
+
}>;
|
|
2367
2377
|
};
|
|
2368
2378
|
leases: {
|
|
2369
2379
|
delete: (options: import("./core/transport.js").CallOptions<Types.ReleaseComputerLeaseData>) => Promise<{
|
|
@@ -3222,6 +3232,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
3222
3232
|
vault_ids: Array<string>;
|
|
3223
3233
|
deployment_id?: null | string;
|
|
3224
3234
|
cwd: string;
|
|
3235
|
+
workspace?: {
|
|
3236
|
+
kind: "shared" | "isolated";
|
|
3237
|
+
path?: string;
|
|
3238
|
+
branch?: string;
|
|
3239
|
+
};
|
|
3225
3240
|
computer_id?: string;
|
|
3226
3241
|
model?: {
|
|
3227
3242
|
id: string;
|
|
@@ -3282,6 +3297,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
3282
3297
|
vault_ids: Array<string>;
|
|
3283
3298
|
deployment_id?: null | string;
|
|
3284
3299
|
cwd: string;
|
|
3300
|
+
workspace?: {
|
|
3301
|
+
kind: "shared" | "isolated";
|
|
3302
|
+
path?: string;
|
|
3303
|
+
branch?: string;
|
|
3304
|
+
};
|
|
3285
3305
|
computer_id?: string;
|
|
3286
3306
|
model?: {
|
|
3287
3307
|
id: string;
|
|
@@ -3444,6 +3464,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
3444
3464
|
vault_ids: Array<string>;
|
|
3445
3465
|
deployment_id?: null | string;
|
|
3446
3466
|
cwd: string;
|
|
3467
|
+
workspace?: {
|
|
3468
|
+
kind: "shared" | "isolated";
|
|
3469
|
+
path?: string;
|
|
3470
|
+
branch?: string;
|
|
3471
|
+
};
|
|
3447
3472
|
computer_id?: string;
|
|
3448
3473
|
model?: {
|
|
3449
3474
|
id: string;
|
|
@@ -3665,21 +3690,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
3665
3690
|
type: "user.steer";
|
|
3666
3691
|
event_id: string;
|
|
3667
3692
|
processed_at: string;
|
|
3668
|
-
} | {
|
|
3669
|
-
id: string;
|
|
3670
|
-
type: "user.tool_confirmation";
|
|
3671
|
-
processed_at: string;
|
|
3672
|
-
tool_use_id: string;
|
|
3673
|
-
result: "allow";
|
|
3674
|
-
answers: {
|
|
3675
|
-
[key: string]: string;
|
|
3676
|
-
};
|
|
3677
|
-
annotations?: {
|
|
3678
|
-
[key: string]: {
|
|
3679
|
-
preview?: string;
|
|
3680
|
-
notes?: string;
|
|
3681
|
-
};
|
|
3682
|
-
};
|
|
3683
3693
|
}>;
|
|
3684
3694
|
next_page: string | null;
|
|
3685
3695
|
}>;
|
|
@@ -3700,21 +3710,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
3700
3710
|
type: "user.steer";
|
|
3701
3711
|
event_id: string;
|
|
3702
3712
|
processed_at: string;
|
|
3703
|
-
} | {
|
|
3704
|
-
id: string;
|
|
3705
|
-
type: "user.tool_confirmation";
|
|
3706
|
-
processed_at: string;
|
|
3707
|
-
tool_use_id: string;
|
|
3708
|
-
result: "allow";
|
|
3709
|
-
answers: {
|
|
3710
|
-
[key: string]: string;
|
|
3711
|
-
};
|
|
3712
|
-
annotations?: {
|
|
3713
|
-
[key: string]: {
|
|
3714
|
-
preview?: string;
|
|
3715
|
-
notes?: string;
|
|
3716
|
-
};
|
|
3717
|
-
};
|
|
3718
3713
|
}>;
|
|
3719
3714
|
}>;
|
|
3720
3715
|
stream: (options: import("./core/transport.js").StreamOptions<Types.SessionsEventsStreamData>) => AsyncIterable<Types.AgentSseEvent>;
|
|
@@ -4230,6 +4225,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
4230
4225
|
vault_ids: Array<string>;
|
|
4231
4226
|
deployment_id?: null | string;
|
|
4232
4227
|
cwd: string;
|
|
4228
|
+
workspace?: {
|
|
4229
|
+
kind: "shared" | "isolated";
|
|
4230
|
+
path?: string;
|
|
4231
|
+
branch?: string;
|
|
4232
|
+
};
|
|
4233
4233
|
computer_id?: string;
|
|
4234
4234
|
model?: {
|
|
4235
4235
|
id: string;
|
|
@@ -4290,6 +4290,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
4290
4290
|
vault_ids: Array<string>;
|
|
4291
4291
|
deployment_id?: null | string;
|
|
4292
4292
|
cwd: string;
|
|
4293
|
+
workspace?: {
|
|
4294
|
+
kind: "shared" | "isolated";
|
|
4295
|
+
path?: string;
|
|
4296
|
+
branch?: string;
|
|
4297
|
+
};
|
|
4293
4298
|
computer_id?: string;
|
|
4294
4299
|
model?: {
|
|
4295
4300
|
id: string;
|
|
@@ -4311,208 +4316,750 @@ export declare function createAgent(transport: Transport): {
|
|
|
4311
4316
|
}>;
|
|
4312
4317
|
next_page: string | null;
|
|
4313
4318
|
}>;
|
|
4314
|
-
|
|
4315
|
-
|
|
4316
|
-
data: Array<{
|
|
4317
|
-
id: string;
|
|
4318
|
-
object: "request";
|
|
4319
|
-
kind: "question" | "approval";
|
|
4320
|
-
status: "pending";
|
|
4321
|
-
tool_name: string;
|
|
4322
|
-
input: unknown;
|
|
4323
|
-
create_time: string;
|
|
4324
|
-
expire_time: string | null;
|
|
4325
|
-
}>;
|
|
4326
|
-
}>;
|
|
4327
|
-
};
|
|
4328
|
-
resources: {
|
|
4329
|
-
create: (options: import("./core/transport.js").CallOptions<Types.SessionsResourcesAddData>) => Promise<Types.AgentManaged176>;
|
|
4330
|
-
delete: (options: import("./core/transport.js").CallOptions<RenameParameters<Types.SessionsResourcesDeleteData, {
|
|
4331
|
-
query: {
|
|
4332
|
-
"session_id": "query_session_id";
|
|
4333
|
-
};
|
|
4334
|
-
}>>) => Promise<Types.AgentManaged255>;
|
|
4335
|
-
list: (options: import("./core/transport.js").CallOptions<Types.SessionsResourcesListData>) => Promise<{
|
|
4336
|
-
data: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
|
|
4337
|
-
next_page: string | null;
|
|
4338
|
-
}>;
|
|
4339
|
-
retrieve: (options: import("./core/transport.js").CallOptions<RenameParameters<Types.SessionsResourcesRetrieveData, {
|
|
4340
|
-
query: {
|
|
4341
|
-
"session_id": "query_session_id";
|
|
4342
|
-
};
|
|
4343
|
-
}>>) => Promise<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
|
|
4344
|
-
};
|
|
4345
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.SessionsRetrieveData>) => Promise<{
|
|
4346
|
-
id: string;
|
|
4347
|
-
agent: {
|
|
4319
|
+
name: {
|
|
4320
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RenameSessionData>) => Promise<{
|
|
4348
4321
|
id: string;
|
|
4349
|
-
|
|
4350
|
-
mcp_servers: Array<Types.AgentManaged36>;
|
|
4351
|
-
model: {
|
|
4322
|
+
agent: {
|
|
4352
4323
|
id: string;
|
|
4353
|
-
|
|
4354
|
-
|
|
4355
|
-
|
|
4356
|
-
|
|
4357
|
-
|
|
4358
|
-
|
|
4359
|
-
|
|
4360
|
-
};
|
|
4361
|
-
multiagent: null | Types.AgentManaged171;
|
|
4362
|
-
name: string;
|
|
4363
|
-
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
4364
|
-
system: null | string;
|
|
4365
|
-
tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
|
|
4366
|
-
type: "agent";
|
|
4367
|
-
version: number;
|
|
4368
|
-
};
|
|
4369
|
-
archived_at: null | string;
|
|
4370
|
-
budget: null | Types.AgentManaged76;
|
|
4371
|
-
created_at: string;
|
|
4372
|
-
environment_id?: string;
|
|
4373
|
-
metadata: Types.AgentManaged173;
|
|
4374
|
-
outcome_evaluations: Array<Types.AgentManaged174>;
|
|
4375
|
-
resources: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
|
|
4376
|
-
stats: Types.AgentManaged178;
|
|
4377
|
-
status: "rescheduling" | "running" | "idle" | "terminated";
|
|
4378
|
-
title: null | string;
|
|
4379
|
-
type: "session";
|
|
4380
|
-
updated_at: string;
|
|
4381
|
-
usage: Types.AgentManaged179;
|
|
4382
|
-
vault_ids: Array<string>;
|
|
4383
|
-
deployment_id?: null | string;
|
|
4384
|
-
cwd: string;
|
|
4385
|
-
computer_id?: string;
|
|
4386
|
-
model?: {
|
|
4387
|
-
id: string;
|
|
4388
|
-
thinking: {
|
|
4389
|
-
efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
|
|
4390
|
-
can_disable: boolean;
|
|
4391
|
-
default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
|
|
4392
|
-
} | null;
|
|
4393
|
-
};
|
|
4394
|
-
thinking?: {
|
|
4395
|
-
effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
4396
|
-
} | null;
|
|
4397
|
-
forked_from?: {
|
|
4398
|
-
session_id: string;
|
|
4399
|
-
message_id: string;
|
|
4400
|
-
} | null;
|
|
4401
|
-
readonly external_user_id: string | null;
|
|
4402
|
-
readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
|
|
4403
|
-
}>;
|
|
4404
|
-
retrieveCompact: (options: import("./core/transport.js").CallOptions<Types.GetSessionCompactionData>) => Promise<{
|
|
4405
|
-
type: "session_compaction";
|
|
4406
|
-
id: string;
|
|
4407
|
-
status: "queued" | "running" | "skipped" | "succeeded" | "failed" | "cancelled";
|
|
4408
|
-
reason?: string;
|
|
4409
|
-
}>;
|
|
4410
|
-
retrieveContext: (options: import("./core/transport.js").CallOptions<Types.GetSessionContextData>) => Promise<{
|
|
4411
|
-
type: "session_context";
|
|
4412
|
-
session_id: string;
|
|
4413
|
-
model: {
|
|
4414
|
-
id: string;
|
|
4415
|
-
display_name: string;
|
|
4416
|
-
thinking: {
|
|
4417
|
-
efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
|
|
4418
|
-
can_disable: boolean;
|
|
4419
|
-
default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
|
|
4420
|
-
} | null;
|
|
4421
|
-
};
|
|
4422
|
-
total_tokens: number | null;
|
|
4423
|
-
total_tokens_source: "actual" | "estimated" | null;
|
|
4424
|
-
max_tokens: number | null;
|
|
4425
|
-
max_input_tokens: number | null;
|
|
4426
|
-
percentage: number;
|
|
4427
|
-
auto_compact_threshold: number | null;
|
|
4428
|
-
is_auto_compact_enabled: boolean;
|
|
4429
|
-
clear_tool_results_at: number;
|
|
4430
|
-
detail: "summary";
|
|
4431
|
-
categories: Array<{
|
|
4432
|
-
key: string;
|
|
4433
|
-
name: string;
|
|
4434
|
-
tokens: number;
|
|
4435
|
-
kind: "used" | "free" | "buffer" | "deferred";
|
|
4436
|
-
}>;
|
|
4437
|
-
mcp_tools: Array<{
|
|
4438
|
-
name: string;
|
|
4439
|
-
server_name: string;
|
|
4440
|
-
tokens: number;
|
|
4441
|
-
}>;
|
|
4442
|
-
plugin_blocks: Array<{
|
|
4443
|
-
name: string;
|
|
4444
|
-
tokens: number;
|
|
4445
|
-
}>;
|
|
4446
|
-
message_breakdown: {
|
|
4447
|
-
user_message_tokens: number;
|
|
4448
|
-
assistant_message_tokens: number;
|
|
4449
|
-
tool_call_tokens: number;
|
|
4450
|
-
tool_result_tokens: number;
|
|
4451
|
-
reasoning_tokens: number;
|
|
4452
|
-
tool_calls_by_type: Array<{
|
|
4453
|
-
name: string;
|
|
4454
|
-
call_tokens: number;
|
|
4455
|
-
result_tokens: number;
|
|
4456
|
-
}>;
|
|
4457
|
-
};
|
|
4458
|
-
compaction_summary: {
|
|
4459
|
-
tokens: number;
|
|
4460
|
-
} | null;
|
|
4461
|
-
excluded_items: {
|
|
4462
|
-
count: number;
|
|
4463
|
-
tokens: number;
|
|
4464
|
-
};
|
|
4465
|
-
measured_at: string | null;
|
|
4466
|
-
}>;
|
|
4467
|
-
runs: {
|
|
4468
|
-
deleteFeedback: (options: import("./core/transport.js").CallOptions<Types.DeleteRunFeedbackData>) => Promise<void>;
|
|
4469
|
-
feedback: {
|
|
4470
|
-
create: (options: import("./core/transport.js").CallOptions<Types.SetRunFeedbackData>) => Promise<{
|
|
4471
|
-
type: "run_feedback";
|
|
4472
|
-
session_id: string;
|
|
4473
|
-
run_id: string;
|
|
4474
|
-
rating: "positive" | "negative";
|
|
4475
|
-
comment: string | null;
|
|
4476
|
-
created_at: string;
|
|
4477
|
-
updated_at: string;
|
|
4478
|
-
}>;
|
|
4479
|
-
};
|
|
4480
|
-
};
|
|
4481
|
-
threads: {
|
|
4482
|
-
archive: (options: import("./core/transport.js").CallOptions<RenameParameters<Types.SessionsThreadsArchiveData, {
|
|
4483
|
-
query: {
|
|
4484
|
-
"session_id": "query_session_id";
|
|
4485
|
-
};
|
|
4486
|
-
}>>) => Promise<Types.AgentManaged256>;
|
|
4487
|
-
events: {
|
|
4488
|
-
list: (options: import("./core/transport.js").CallOptions<RenameParameters<Types.SessionsThreadsEventsListData, {
|
|
4489
|
-
query: {
|
|
4490
|
-
"session_id": "query_session_id";
|
|
4491
|
-
};
|
|
4492
|
-
}>>) => Promise<{
|
|
4493
|
-
data: Array<{
|
|
4494
|
-
id: string;
|
|
4495
|
-
content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
|
|
4496
|
-
type: "user.message";
|
|
4497
|
-
processed_at?: null | string;
|
|
4498
|
-
praxis_context?: {
|
|
4499
|
-
items: Array<{
|
|
4500
|
-
name: string;
|
|
4501
|
-
value: string;
|
|
4502
|
-
}>;
|
|
4324
|
+
description: null | string;
|
|
4325
|
+
mcp_servers: Array<{
|
|
4326
|
+
type: "url";
|
|
4327
|
+
name: string;
|
|
4328
|
+
url: string;
|
|
4329
|
+
headers?: {
|
|
4330
|
+
[key: string]: string;
|
|
4503
4331
|
};
|
|
4504
|
-
|
|
4505
|
-
} |
|
|
4506
|
-
|
|
4507
|
-
|
|
4508
|
-
|
|
4509
|
-
|
|
4510
|
-
|
|
4511
|
-
|
|
4512
|
-
|
|
4513
|
-
|
|
4514
|
-
|
|
4515
|
-
|
|
4332
|
+
timeout_ms?: number;
|
|
4333
|
+
} | {
|
|
4334
|
+
type: "sse";
|
|
4335
|
+
name: string;
|
|
4336
|
+
url: string;
|
|
4337
|
+
headers?: {
|
|
4338
|
+
[key: string]: string;
|
|
4339
|
+
};
|
|
4340
|
+
timeout_ms?: number;
|
|
4341
|
+
} | {
|
|
4342
|
+
type: "stdio";
|
|
4343
|
+
name: string;
|
|
4344
|
+
command: string;
|
|
4345
|
+
args?: Array<string>;
|
|
4346
|
+
env?: {
|
|
4347
|
+
[key: string]: string;
|
|
4348
|
+
};
|
|
4349
|
+
timeout_ms?: number;
|
|
4350
|
+
}>;
|
|
4351
|
+
model: {
|
|
4352
|
+
id: string;
|
|
4353
|
+
effort?: {
|
|
4354
|
+
type: "low";
|
|
4355
|
+
} | {
|
|
4356
|
+
type: "medium";
|
|
4357
|
+
} | {
|
|
4358
|
+
type: "high";
|
|
4359
|
+
} | {
|
|
4360
|
+
type: "xhigh";
|
|
4361
|
+
} | {
|
|
4362
|
+
type: "max";
|
|
4363
|
+
};
|
|
4364
|
+
inference_geo?: string;
|
|
4365
|
+
speed?: "standard" | "fast";
|
|
4366
|
+
settings?: {
|
|
4367
|
+
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
4368
|
+
max_output_tokens?: number;
|
|
4369
|
+
};
|
|
4370
|
+
};
|
|
4371
|
+
multiagent: null | {
|
|
4372
|
+
agents: Array<{
|
|
4373
|
+
model: string;
|
|
4374
|
+
type: "advisor";
|
|
4375
|
+
} | {
|
|
4376
|
+
id: string;
|
|
4377
|
+
description: null | string;
|
|
4378
|
+
mcp_servers: Array<{
|
|
4379
|
+
type: "url";
|
|
4380
|
+
name: string;
|
|
4381
|
+
url: string;
|
|
4382
|
+
headers?: {
|
|
4383
|
+
[key: string]: string;
|
|
4384
|
+
};
|
|
4385
|
+
timeout_ms?: number;
|
|
4386
|
+
} | {
|
|
4387
|
+
type: "sse";
|
|
4388
|
+
name: string;
|
|
4389
|
+
url: string;
|
|
4390
|
+
headers?: {
|
|
4391
|
+
[key: string]: string;
|
|
4392
|
+
};
|
|
4393
|
+
timeout_ms?: number;
|
|
4394
|
+
} | {
|
|
4395
|
+
type: "stdio";
|
|
4396
|
+
name: string;
|
|
4397
|
+
command: string;
|
|
4398
|
+
args?: Array<string>;
|
|
4399
|
+
env?: {
|
|
4400
|
+
[key: string]: string;
|
|
4401
|
+
};
|
|
4402
|
+
timeout_ms?: number;
|
|
4403
|
+
}>;
|
|
4404
|
+
model: {
|
|
4405
|
+
id: string;
|
|
4406
|
+
effort?: {
|
|
4407
|
+
type: "low";
|
|
4408
|
+
} | {
|
|
4409
|
+
type: "medium";
|
|
4410
|
+
} | {
|
|
4411
|
+
type: "high";
|
|
4412
|
+
} | {
|
|
4413
|
+
type: "xhigh";
|
|
4414
|
+
} | {
|
|
4415
|
+
type: "max";
|
|
4416
|
+
};
|
|
4417
|
+
inference_geo?: string;
|
|
4418
|
+
speed?: "standard" | "fast";
|
|
4419
|
+
};
|
|
4420
|
+
name: string;
|
|
4421
|
+
skills: Array<{
|
|
4422
|
+
skill_id: string;
|
|
4423
|
+
type: "anthropic";
|
|
4424
|
+
version: string;
|
|
4425
|
+
} | {
|
|
4426
|
+
skill_id: string;
|
|
4427
|
+
type: "custom";
|
|
4428
|
+
version: string;
|
|
4429
|
+
}>;
|
|
4430
|
+
system: null | string;
|
|
4431
|
+
tools: Array<{
|
|
4432
|
+
configs: Array<{
|
|
4433
|
+
enabled: boolean;
|
|
4434
|
+
name: "bash";
|
|
4435
|
+
permission_policy: {
|
|
4436
|
+
type: "always_allow";
|
|
4437
|
+
} | {
|
|
4438
|
+
type: "always_ask";
|
|
4439
|
+
} | {
|
|
4440
|
+
type: "auto";
|
|
4441
|
+
};
|
|
4442
|
+
type: "bash";
|
|
4443
|
+
} | {
|
|
4444
|
+
enabled: boolean;
|
|
4445
|
+
name: "edit";
|
|
4446
|
+
permission_policy: {
|
|
4447
|
+
type: "always_allow";
|
|
4448
|
+
} | {
|
|
4449
|
+
type: "always_ask";
|
|
4450
|
+
} | {
|
|
4451
|
+
type: "auto";
|
|
4452
|
+
};
|
|
4453
|
+
type: "edit";
|
|
4454
|
+
} | {
|
|
4455
|
+
enabled: boolean;
|
|
4456
|
+
name: "read";
|
|
4457
|
+
permission_policy: {
|
|
4458
|
+
type: "always_allow";
|
|
4459
|
+
} | {
|
|
4460
|
+
type: "always_ask";
|
|
4461
|
+
} | {
|
|
4462
|
+
type: "auto";
|
|
4463
|
+
};
|
|
4464
|
+
type: "read";
|
|
4465
|
+
} | {
|
|
4466
|
+
enabled: boolean;
|
|
4467
|
+
name: "write";
|
|
4468
|
+
permission_policy: {
|
|
4469
|
+
type: "always_allow";
|
|
4470
|
+
} | {
|
|
4471
|
+
type: "always_ask";
|
|
4472
|
+
} | {
|
|
4473
|
+
type: "auto";
|
|
4474
|
+
};
|
|
4475
|
+
type: "write";
|
|
4476
|
+
} | {
|
|
4477
|
+
enabled: boolean;
|
|
4478
|
+
name: "glob";
|
|
4479
|
+
permission_policy: {
|
|
4480
|
+
type: "always_allow";
|
|
4481
|
+
} | {
|
|
4482
|
+
type: "always_ask";
|
|
4483
|
+
} | {
|
|
4484
|
+
type: "auto";
|
|
4485
|
+
};
|
|
4486
|
+
type: "glob";
|
|
4487
|
+
} | {
|
|
4488
|
+
enabled: boolean;
|
|
4489
|
+
name: "grep";
|
|
4490
|
+
permission_policy: {
|
|
4491
|
+
type: "always_allow";
|
|
4492
|
+
} | {
|
|
4493
|
+
type: "always_ask";
|
|
4494
|
+
} | {
|
|
4495
|
+
type: "auto";
|
|
4496
|
+
};
|
|
4497
|
+
type: "grep";
|
|
4498
|
+
} | {
|
|
4499
|
+
enabled: boolean;
|
|
4500
|
+
name: "web_fetch";
|
|
4501
|
+
permission_policy: {
|
|
4502
|
+
type: "always_allow";
|
|
4503
|
+
} | {
|
|
4504
|
+
type: "always_ask";
|
|
4505
|
+
} | {
|
|
4506
|
+
type: "auto";
|
|
4507
|
+
};
|
|
4508
|
+
type: "web_fetch";
|
|
4509
|
+
allowed_domains?: Array<string>;
|
|
4510
|
+
blocked_domains?: Array<string>;
|
|
4511
|
+
max_content_tokens?: null | number;
|
|
4512
|
+
} | {
|
|
4513
|
+
enabled: boolean;
|
|
4514
|
+
name: "web_search";
|
|
4515
|
+
permission_policy: {
|
|
4516
|
+
type: "always_allow";
|
|
4517
|
+
} | {
|
|
4518
|
+
type: "always_ask";
|
|
4519
|
+
} | {
|
|
4520
|
+
type: "auto";
|
|
4521
|
+
};
|
|
4522
|
+
type: "web_search";
|
|
4523
|
+
allowed_domains?: Array<string>;
|
|
4524
|
+
blocked_domains?: Array<string>;
|
|
4525
|
+
user_location?: null | {
|
|
4526
|
+
type: "approximate";
|
|
4527
|
+
city?: null | string;
|
|
4528
|
+
country?: null | string;
|
|
4529
|
+
region?: null | string;
|
|
4530
|
+
timezone?: null | string;
|
|
4531
|
+
};
|
|
4532
|
+
} | {
|
|
4533
|
+
name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
|
|
4534
|
+
enabled: boolean;
|
|
4535
|
+
permission_policy: {
|
|
4536
|
+
type: "always_allow" | "always_ask";
|
|
4537
|
+
};
|
|
4538
|
+
}>;
|
|
4539
|
+
default_config: {
|
|
4540
|
+
enabled: boolean;
|
|
4541
|
+
permission_policy: {
|
|
4542
|
+
type: "always_allow";
|
|
4543
|
+
} | {
|
|
4544
|
+
type: "always_ask";
|
|
4545
|
+
} | {
|
|
4546
|
+
type: "auto";
|
|
4547
|
+
};
|
|
4548
|
+
};
|
|
4549
|
+
type: "agent_toolset_20260401";
|
|
4550
|
+
} | {
|
|
4551
|
+
type: "mcp_toolset";
|
|
4552
|
+
mcp_server_name: string;
|
|
4553
|
+
default_config?: {
|
|
4554
|
+
enabled?: boolean | null;
|
|
4555
|
+
permission_policy?: null | {
|
|
4556
|
+
type: "always_allow" | "always_ask";
|
|
4557
|
+
};
|
|
4558
|
+
} | null;
|
|
4559
|
+
configs?: Array<{
|
|
4560
|
+
name: string;
|
|
4561
|
+
enabled?: boolean | null;
|
|
4562
|
+
permission_policy?: null | {
|
|
4563
|
+
type: "always_allow" | "always_ask";
|
|
4564
|
+
};
|
|
4565
|
+
}> | null;
|
|
4566
|
+
} | {
|
|
4567
|
+
description: string;
|
|
4568
|
+
input_schema: {
|
|
4569
|
+
type: "object";
|
|
4570
|
+
properties?: null | {
|
|
4571
|
+
[key: string]: unknown;
|
|
4572
|
+
};
|
|
4573
|
+
required?: null | Array<string>;
|
|
4574
|
+
[key: string]: unknown;
|
|
4575
|
+
};
|
|
4576
|
+
name: string;
|
|
4577
|
+
type: "custom";
|
|
4578
|
+
}>;
|
|
4579
|
+
type: "agent";
|
|
4580
|
+
version: number;
|
|
4581
|
+
}>;
|
|
4582
|
+
type: "coordinator";
|
|
4583
|
+
};
|
|
4584
|
+
name: string;
|
|
4585
|
+
skills: Array<{
|
|
4586
|
+
skill_id: string;
|
|
4587
|
+
type: "anthropic";
|
|
4588
|
+
version: string;
|
|
4589
|
+
} | {
|
|
4590
|
+
skill_id: string;
|
|
4591
|
+
type: "custom";
|
|
4592
|
+
version: string;
|
|
4593
|
+
}>;
|
|
4594
|
+
system: null | string;
|
|
4595
|
+
tools: Array<{
|
|
4596
|
+
configs: Array<{
|
|
4597
|
+
enabled: boolean;
|
|
4598
|
+
name: "bash";
|
|
4599
|
+
permission_policy: {
|
|
4600
|
+
type: "always_allow";
|
|
4601
|
+
} | {
|
|
4602
|
+
type: "always_ask";
|
|
4603
|
+
} | {
|
|
4604
|
+
type: "auto";
|
|
4605
|
+
};
|
|
4606
|
+
type: "bash";
|
|
4607
|
+
} | {
|
|
4608
|
+
enabled: boolean;
|
|
4609
|
+
name: "edit";
|
|
4610
|
+
permission_policy: {
|
|
4611
|
+
type: "always_allow";
|
|
4612
|
+
} | {
|
|
4613
|
+
type: "always_ask";
|
|
4614
|
+
} | {
|
|
4615
|
+
type: "auto";
|
|
4616
|
+
};
|
|
4617
|
+
type: "edit";
|
|
4618
|
+
} | {
|
|
4619
|
+
enabled: boolean;
|
|
4620
|
+
name: "read";
|
|
4621
|
+
permission_policy: {
|
|
4622
|
+
type: "always_allow";
|
|
4623
|
+
} | {
|
|
4624
|
+
type: "always_ask";
|
|
4625
|
+
} | {
|
|
4626
|
+
type: "auto";
|
|
4627
|
+
};
|
|
4628
|
+
type: "read";
|
|
4629
|
+
} | {
|
|
4630
|
+
enabled: boolean;
|
|
4631
|
+
name: "write";
|
|
4632
|
+
permission_policy: {
|
|
4633
|
+
type: "always_allow";
|
|
4634
|
+
} | {
|
|
4635
|
+
type: "always_ask";
|
|
4636
|
+
} | {
|
|
4637
|
+
type: "auto";
|
|
4638
|
+
};
|
|
4639
|
+
type: "write";
|
|
4640
|
+
} | {
|
|
4641
|
+
enabled: boolean;
|
|
4642
|
+
name: "glob";
|
|
4643
|
+
permission_policy: {
|
|
4644
|
+
type: "always_allow";
|
|
4645
|
+
} | {
|
|
4646
|
+
type: "always_ask";
|
|
4647
|
+
} | {
|
|
4648
|
+
type: "auto";
|
|
4649
|
+
};
|
|
4650
|
+
type: "glob";
|
|
4651
|
+
} | {
|
|
4652
|
+
enabled: boolean;
|
|
4653
|
+
name: "grep";
|
|
4654
|
+
permission_policy: {
|
|
4655
|
+
type: "always_allow";
|
|
4656
|
+
} | {
|
|
4657
|
+
type: "always_ask";
|
|
4658
|
+
} | {
|
|
4659
|
+
type: "auto";
|
|
4660
|
+
};
|
|
4661
|
+
type: "grep";
|
|
4662
|
+
} | {
|
|
4663
|
+
enabled: boolean;
|
|
4664
|
+
name: "web_fetch";
|
|
4665
|
+
permission_policy: {
|
|
4666
|
+
type: "always_allow";
|
|
4667
|
+
} | {
|
|
4668
|
+
type: "always_ask";
|
|
4669
|
+
} | {
|
|
4670
|
+
type: "auto";
|
|
4671
|
+
};
|
|
4672
|
+
type: "web_fetch";
|
|
4673
|
+
allowed_domains?: Array<string>;
|
|
4674
|
+
blocked_domains?: Array<string>;
|
|
4675
|
+
max_content_tokens?: null | number;
|
|
4676
|
+
} | {
|
|
4677
|
+
enabled: boolean;
|
|
4678
|
+
name: "web_search";
|
|
4679
|
+
permission_policy: {
|
|
4680
|
+
type: "always_allow";
|
|
4681
|
+
} | {
|
|
4682
|
+
type: "always_ask";
|
|
4683
|
+
} | {
|
|
4684
|
+
type: "auto";
|
|
4685
|
+
};
|
|
4686
|
+
type: "web_search";
|
|
4687
|
+
allowed_domains?: Array<string>;
|
|
4688
|
+
blocked_domains?: Array<string>;
|
|
4689
|
+
user_location?: null | {
|
|
4690
|
+
type: "approximate";
|
|
4691
|
+
city?: null | string;
|
|
4692
|
+
country?: null | string;
|
|
4693
|
+
region?: null | string;
|
|
4694
|
+
timezone?: null | string;
|
|
4695
|
+
};
|
|
4696
|
+
} | {
|
|
4697
|
+
name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
|
|
4698
|
+
enabled: boolean;
|
|
4699
|
+
permission_policy: {
|
|
4700
|
+
type: "always_allow" | "always_ask";
|
|
4701
|
+
};
|
|
4702
|
+
}>;
|
|
4703
|
+
default_config: {
|
|
4704
|
+
enabled: boolean;
|
|
4705
|
+
permission_policy: {
|
|
4706
|
+
type: "always_allow";
|
|
4707
|
+
} | {
|
|
4708
|
+
type: "always_ask";
|
|
4709
|
+
} | {
|
|
4710
|
+
type: "auto";
|
|
4711
|
+
};
|
|
4712
|
+
};
|
|
4713
|
+
type: "agent_toolset_20260401";
|
|
4714
|
+
} | {
|
|
4715
|
+
type: "mcp_toolset";
|
|
4716
|
+
mcp_server_name: string;
|
|
4717
|
+
default_config?: {
|
|
4718
|
+
enabled?: boolean | null;
|
|
4719
|
+
permission_policy?: null | {
|
|
4720
|
+
type: "always_allow" | "always_ask";
|
|
4721
|
+
};
|
|
4722
|
+
} | null;
|
|
4723
|
+
configs?: Array<{
|
|
4724
|
+
name: string;
|
|
4725
|
+
enabled?: boolean | null;
|
|
4726
|
+
permission_policy?: null | {
|
|
4727
|
+
type: "always_allow" | "always_ask";
|
|
4728
|
+
};
|
|
4729
|
+
}> | null;
|
|
4730
|
+
} | {
|
|
4731
|
+
description: string;
|
|
4732
|
+
input_schema: {
|
|
4733
|
+
type: "object";
|
|
4734
|
+
properties?: null | {
|
|
4735
|
+
[key: string]: unknown;
|
|
4736
|
+
};
|
|
4737
|
+
required?: null | Array<string>;
|
|
4738
|
+
[key: string]: unknown;
|
|
4739
|
+
};
|
|
4740
|
+
name: string;
|
|
4741
|
+
type: "custom";
|
|
4742
|
+
}>;
|
|
4743
|
+
type: "agent";
|
|
4744
|
+
version: number;
|
|
4745
|
+
};
|
|
4746
|
+
archived_at: null | string;
|
|
4747
|
+
budget: null | {
|
|
4748
|
+
max_list_cost: {
|
|
4749
|
+
amount: string;
|
|
4750
|
+
currency: "USD";
|
|
4751
|
+
};
|
|
4752
|
+
type: "limit";
|
|
4753
|
+
};
|
|
4754
|
+
created_at: string;
|
|
4755
|
+
environment_id?: string;
|
|
4756
|
+
metadata: {
|
|
4757
|
+
[key: string]: string;
|
|
4758
|
+
};
|
|
4759
|
+
outcome_evaluations: Array<{
|
|
4760
|
+
completed_at: null | string;
|
|
4761
|
+
description: string;
|
|
4762
|
+
explanation: null | string;
|
|
4763
|
+
iteration: number;
|
|
4764
|
+
outcome_id: string;
|
|
4765
|
+
result: string;
|
|
4766
|
+
type: "outcome_evaluation";
|
|
4767
|
+
}>;
|
|
4768
|
+
resources: Array<{
|
|
4769
|
+
id: string;
|
|
4770
|
+
created_at: string;
|
|
4771
|
+
mount_path: string;
|
|
4772
|
+
type: "github_repository";
|
|
4773
|
+
updated_at: string;
|
|
4774
|
+
url: string;
|
|
4775
|
+
checkout?: null | {
|
|
4776
|
+
name: string;
|
|
4777
|
+
type: "branch";
|
|
4778
|
+
} | {
|
|
4779
|
+
sha: string;
|
|
4780
|
+
type: "commit";
|
|
4781
|
+
};
|
|
4782
|
+
} | {
|
|
4783
|
+
id: string;
|
|
4784
|
+
created_at: string;
|
|
4785
|
+
file_id: string;
|
|
4786
|
+
mount_path: string;
|
|
4787
|
+
type: "file";
|
|
4788
|
+
updated_at: string;
|
|
4789
|
+
} | {
|
|
4790
|
+
memory_store_id: string;
|
|
4791
|
+
type: "memory_store";
|
|
4792
|
+
access?: null | "read_write" | "read_only";
|
|
4793
|
+
description?: string;
|
|
4794
|
+
instructions?: null | string;
|
|
4795
|
+
mount_path?: null | string;
|
|
4796
|
+
name?: null | string;
|
|
4797
|
+
}>;
|
|
4798
|
+
stats: {
|
|
4799
|
+
active_seconds?: number;
|
|
4800
|
+
duration_seconds?: number;
|
|
4801
|
+
};
|
|
4802
|
+
status: "rescheduling" | "running" | "idle" | "terminated";
|
|
4803
|
+
title: null | string;
|
|
4804
|
+
type: "session";
|
|
4805
|
+
updated_at: string;
|
|
4806
|
+
usage: {
|
|
4807
|
+
active_seconds?: number;
|
|
4808
|
+
cache_creation?: {
|
|
4809
|
+
ephemeral_1h_input_tokens?: number;
|
|
4810
|
+
ephemeral_5m_input_tokens?: number;
|
|
4811
|
+
};
|
|
4812
|
+
cache_read_input_tokens?: number;
|
|
4813
|
+
input_tokens?: number;
|
|
4814
|
+
list_cost?: null | {
|
|
4815
|
+
amount: string;
|
|
4816
|
+
currency: "USD";
|
|
4817
|
+
};
|
|
4818
|
+
output_tokens?: number;
|
|
4819
|
+
server_tool_use?: null | {
|
|
4820
|
+
web_fetch_requests?: number;
|
|
4821
|
+
web_search_requests?: number;
|
|
4822
|
+
};
|
|
4823
|
+
cost_by_product?: {
|
|
4824
|
+
[key: string]: string;
|
|
4825
|
+
};
|
|
4826
|
+
subagent_cost_micro_usd?: number;
|
|
4827
|
+
};
|
|
4828
|
+
vault_ids: Array<string>;
|
|
4829
|
+
deployment_id?: null | string;
|
|
4830
|
+
cwd: string;
|
|
4831
|
+
workspace?: {
|
|
4832
|
+
kind: "shared" | "isolated";
|
|
4833
|
+
path?: string;
|
|
4834
|
+
branch?: string;
|
|
4835
|
+
};
|
|
4836
|
+
computer_id?: string;
|
|
4837
|
+
model?: {
|
|
4838
|
+
id: string;
|
|
4839
|
+
thinking: {
|
|
4840
|
+
efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
|
|
4841
|
+
can_disable: boolean;
|
|
4842
|
+
default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
|
|
4843
|
+
} | null;
|
|
4844
|
+
};
|
|
4845
|
+
thinking?: {
|
|
4846
|
+
effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
4847
|
+
} | null;
|
|
4848
|
+
forked_from?: {
|
|
4849
|
+
session_id: string;
|
|
4850
|
+
message_id: string;
|
|
4851
|
+
} | null;
|
|
4852
|
+
readonly external_user_id: string | null;
|
|
4853
|
+
readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
|
|
4854
|
+
}>;
|
|
4855
|
+
};
|
|
4856
|
+
requests: {
|
|
4857
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ListSessionRequestsData>) => Promise<{
|
|
4858
|
+
data: Array<{
|
|
4859
|
+
id: string;
|
|
4860
|
+
object: "request";
|
|
4861
|
+
kind: "question" | "approval";
|
|
4862
|
+
status: "pending";
|
|
4863
|
+
tool_name: string;
|
|
4864
|
+
input: unknown;
|
|
4865
|
+
create_time: string;
|
|
4866
|
+
expire_time: string | null;
|
|
4867
|
+
}>;
|
|
4868
|
+
}>;
|
|
4869
|
+
};
|
|
4870
|
+
resources: {
|
|
4871
|
+
create: (options: import("./core/transport.js").CallOptions<Types.SessionsResourcesAddData>) => Promise<Types.AgentManaged176>;
|
|
4872
|
+
delete: (options: import("./core/transport.js").CallOptions<RenameParameters<Types.SessionsResourcesDeleteData, {
|
|
4873
|
+
query: {
|
|
4874
|
+
"session_id": "query_session_id";
|
|
4875
|
+
};
|
|
4876
|
+
}>>) => Promise<Types.AgentManaged255>;
|
|
4877
|
+
list: (options: import("./core/transport.js").CallOptions<Types.SessionsResourcesListData>) => Promise<{
|
|
4878
|
+
data: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
|
|
4879
|
+
next_page: string | null;
|
|
4880
|
+
}>;
|
|
4881
|
+
retrieve: (options: import("./core/transport.js").CallOptions<RenameParameters<Types.SessionsResourcesRetrieveData, {
|
|
4882
|
+
query: {
|
|
4883
|
+
"session_id": "query_session_id";
|
|
4884
|
+
};
|
|
4885
|
+
}>>) => Promise<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
|
|
4886
|
+
};
|
|
4887
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.SessionsRetrieveData>) => Promise<{
|
|
4888
|
+
id: string;
|
|
4889
|
+
agent: {
|
|
4890
|
+
id: string;
|
|
4891
|
+
description: null | string;
|
|
4892
|
+
mcp_servers: Array<Types.AgentManaged36>;
|
|
4893
|
+
model: {
|
|
4894
|
+
id: string;
|
|
4895
|
+
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
4896
|
+
inference_geo?: string;
|
|
4897
|
+
speed?: "standard" | "fast";
|
|
4898
|
+
settings?: {
|
|
4899
|
+
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
4900
|
+
max_output_tokens?: number;
|
|
4901
|
+
};
|
|
4902
|
+
};
|
|
4903
|
+
multiagent: null | Types.AgentManaged171;
|
|
4904
|
+
name: string;
|
|
4905
|
+
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
4906
|
+
system: null | string;
|
|
4907
|
+
tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
|
|
4908
|
+
type: "agent";
|
|
4909
|
+
version: number;
|
|
4910
|
+
};
|
|
4911
|
+
archived_at: null | string;
|
|
4912
|
+
budget: null | Types.AgentManaged76;
|
|
4913
|
+
created_at: string;
|
|
4914
|
+
environment_id?: string;
|
|
4915
|
+
metadata: Types.AgentManaged173;
|
|
4916
|
+
outcome_evaluations: Array<Types.AgentManaged174>;
|
|
4917
|
+
resources: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
|
|
4918
|
+
stats: Types.AgentManaged178;
|
|
4919
|
+
status: "rescheduling" | "running" | "idle" | "terminated";
|
|
4920
|
+
title: null | string;
|
|
4921
|
+
type: "session";
|
|
4922
|
+
updated_at: string;
|
|
4923
|
+
usage: Types.AgentManaged179;
|
|
4924
|
+
vault_ids: Array<string>;
|
|
4925
|
+
deployment_id?: null | string;
|
|
4926
|
+
cwd: string;
|
|
4927
|
+
workspace?: {
|
|
4928
|
+
kind: "shared" | "isolated";
|
|
4929
|
+
path?: string;
|
|
4930
|
+
branch?: string;
|
|
4931
|
+
};
|
|
4932
|
+
computer_id?: string;
|
|
4933
|
+
model?: {
|
|
4934
|
+
id: string;
|
|
4935
|
+
thinking: {
|
|
4936
|
+
efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
|
|
4937
|
+
can_disable: boolean;
|
|
4938
|
+
default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
|
|
4939
|
+
} | null;
|
|
4940
|
+
};
|
|
4941
|
+
thinking?: {
|
|
4942
|
+
effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
4943
|
+
} | null;
|
|
4944
|
+
forked_from?: {
|
|
4945
|
+
session_id: string;
|
|
4946
|
+
message_id: string;
|
|
4947
|
+
} | null;
|
|
4948
|
+
readonly external_user_id: string | null;
|
|
4949
|
+
readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
|
|
4950
|
+
}>;
|
|
4951
|
+
retrieveCompact: (options: import("./core/transport.js").CallOptions<Types.GetSessionCompactionData>) => Promise<{
|
|
4952
|
+
type: "session_compaction";
|
|
4953
|
+
id: string;
|
|
4954
|
+
status: "queued" | "running" | "skipped" | "succeeded" | "failed" | "cancelled";
|
|
4955
|
+
reason?: string;
|
|
4956
|
+
}>;
|
|
4957
|
+
retrieveContext: (options: import("./core/transport.js").CallOptions<Types.GetSessionContextData>) => Promise<{
|
|
4958
|
+
type: "session_context";
|
|
4959
|
+
session_id: string;
|
|
4960
|
+
model: {
|
|
4961
|
+
id: string;
|
|
4962
|
+
display_name: string;
|
|
4963
|
+
thinking: {
|
|
4964
|
+
efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
|
|
4965
|
+
can_disable: boolean;
|
|
4966
|
+
default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
|
|
4967
|
+
} | null;
|
|
4968
|
+
};
|
|
4969
|
+
total_tokens: number | null;
|
|
4970
|
+
total_tokens_source: "actual" | "estimated" | null;
|
|
4971
|
+
max_tokens: number | null;
|
|
4972
|
+
max_input_tokens: number | null;
|
|
4973
|
+
percentage: number;
|
|
4974
|
+
auto_compact_threshold: number | null;
|
|
4975
|
+
is_auto_compact_enabled: boolean;
|
|
4976
|
+
clear_tool_results_at: number;
|
|
4977
|
+
detail: "summary";
|
|
4978
|
+
categories: Array<{
|
|
4979
|
+
key: string;
|
|
4980
|
+
name: string;
|
|
4981
|
+
tokens: number;
|
|
4982
|
+
kind: "used" | "free" | "buffer" | "deferred";
|
|
4983
|
+
}>;
|
|
4984
|
+
mcp_tools: Array<{
|
|
4985
|
+
name: string;
|
|
4986
|
+
server_name: string;
|
|
4987
|
+
tokens: number;
|
|
4988
|
+
}>;
|
|
4989
|
+
plugin_blocks: Array<{
|
|
4990
|
+
name: string;
|
|
4991
|
+
tokens: number;
|
|
4992
|
+
}>;
|
|
4993
|
+
message_breakdown: {
|
|
4994
|
+
user_message_tokens: number;
|
|
4995
|
+
assistant_message_tokens: number;
|
|
4996
|
+
tool_call_tokens: number;
|
|
4997
|
+
tool_result_tokens: number;
|
|
4998
|
+
reasoning_tokens: number;
|
|
4999
|
+
tool_calls_by_type: Array<{
|
|
5000
|
+
name: string;
|
|
5001
|
+
call_tokens: number;
|
|
5002
|
+
result_tokens: number;
|
|
5003
|
+
}>;
|
|
5004
|
+
};
|
|
5005
|
+
compaction_summary: {
|
|
5006
|
+
tokens: number;
|
|
5007
|
+
} | null;
|
|
5008
|
+
excluded_items: {
|
|
5009
|
+
count: number;
|
|
5010
|
+
tokens: number;
|
|
5011
|
+
};
|
|
5012
|
+
measured_at: string | null;
|
|
5013
|
+
}>;
|
|
5014
|
+
runs: {
|
|
5015
|
+
deleteFeedback: (options: import("./core/transport.js").CallOptions<Types.DeleteRunFeedbackData>) => Promise<void>;
|
|
5016
|
+
feedback: {
|
|
5017
|
+
create: (options: import("./core/transport.js").CallOptions<Types.SetRunFeedbackData>) => Promise<{
|
|
5018
|
+
type: "run_feedback";
|
|
5019
|
+
session_id: string;
|
|
5020
|
+
run_id: string;
|
|
5021
|
+
rating: "positive" | "negative";
|
|
5022
|
+
comment: string | null;
|
|
5023
|
+
created_at: string;
|
|
5024
|
+
updated_at: string;
|
|
5025
|
+
}>;
|
|
5026
|
+
};
|
|
5027
|
+
};
|
|
5028
|
+
threads: {
|
|
5029
|
+
archive: (options: import("./core/transport.js").CallOptions<RenameParameters<Types.SessionsThreadsArchiveData, {
|
|
5030
|
+
query: {
|
|
5031
|
+
"session_id": "query_session_id";
|
|
5032
|
+
};
|
|
5033
|
+
}>>) => Promise<Types.AgentManaged256>;
|
|
5034
|
+
events: {
|
|
5035
|
+
list: (options: import("./core/transport.js").CallOptions<RenameParameters<Types.SessionsThreadsEventsListData, {
|
|
5036
|
+
query: {
|
|
5037
|
+
"session_id": "query_session_id";
|
|
5038
|
+
};
|
|
5039
|
+
}>>) => Promise<{
|
|
5040
|
+
data: Array<{
|
|
5041
|
+
id: string;
|
|
5042
|
+
content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
|
|
5043
|
+
type: "user.message";
|
|
5044
|
+
processed_at?: null | string;
|
|
5045
|
+
praxis_context?: {
|
|
5046
|
+
items: Array<{
|
|
5047
|
+
name: string;
|
|
5048
|
+
value: string;
|
|
5049
|
+
}>;
|
|
5050
|
+
};
|
|
5051
|
+
message_id?: string;
|
|
5052
|
+
} | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged192 | {
|
|
5053
|
+
id: string;
|
|
5054
|
+
content: Array<{
|
|
5055
|
+
text: string;
|
|
5056
|
+
type: "text";
|
|
5057
|
+
citations?: Array<{
|
|
5058
|
+
type: "search_result_location";
|
|
5059
|
+
source: string;
|
|
5060
|
+
title: string;
|
|
5061
|
+
cited_text: string;
|
|
5062
|
+
search_result_index: number;
|
|
4516
5063
|
start_block_index: number;
|
|
4517
5064
|
end_block_index: number;
|
|
4518
5065
|
}>;
|
|
@@ -4748,6 +5295,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
4748
5295
|
vault_ids: Array<string>;
|
|
4749
5296
|
deployment_id?: null | string;
|
|
4750
5297
|
cwd: string;
|
|
5298
|
+
workspace?: {
|
|
5299
|
+
kind: "shared" | "isolated";
|
|
5300
|
+
path?: string;
|
|
5301
|
+
branch?: string;
|
|
5302
|
+
};
|
|
4751
5303
|
computer_id?: string;
|
|
4752
5304
|
model?: {
|
|
4753
5305
|
id: string;
|
|
@@ -5099,6 +5651,11 @@ export declare function createAutomation(transport: Transport): {
|
|
|
5099
5651
|
};
|
|
5100
5652
|
};
|
|
5101
5653
|
};
|
|
5654
|
+
export declare function createBilling(transport: Transport): {
|
|
5655
|
+
prices: {
|
|
5656
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListPublicPricesData> | undefined) => Promise<Types.BillingPriceList>;
|
|
5657
|
+
};
|
|
5658
|
+
};
|
|
5102
5659
|
export declare function createBrowser(transport: Transport): {
|
|
5103
5660
|
connect: {
|
|
5104
5661
|
retrieve: (options?: import("./core/transport.js").CallOptions<Types.BrowserConnectData> | undefined) => Promise<unknown>;
|
|
@@ -5464,6 +6021,10 @@ export declare function createDevops(transport: Transport): {
|
|
|
5464
6021
|
create: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesCreateData>) => Promise<Types.DevopsChange>;
|
|
5465
6022
|
list: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesListData>) => Promise<Types.DevopsChangePage>;
|
|
5466
6023
|
};
|
|
6024
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsCreateData>) => Promise<Types.DevopsProject>;
|
|
6025
|
+
defaultBranch: {
|
|
6026
|
+
initialize: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsInitializeDefaultBranchData>) => Promise<Types.DevopsDefaultBranchInitialized>;
|
|
6027
|
+
};
|
|
5467
6028
|
environments: {
|
|
5468
6029
|
list: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsListData>) => Promise<Types.DevopsEnvironmentList>;
|
|
5469
6030
|
targets: {
|
|
@@ -5545,10 +6106,14 @@ export declare function createDevops(transport: Transport): {
|
|
|
5545
6106
|
};
|
|
5546
6107
|
};
|
|
5547
6108
|
pullRequests: {
|
|
6109
|
+
close: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsCloseData>) => Promise<Types.DevopsPullRequest>;
|
|
5548
6110
|
merge: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsMergeData>) => Promise<Types.DevopsPullRequest>;
|
|
5549
6111
|
recordVerdict: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRecordVerdictData>) => Promise<Types.DevopsPullRequest>;
|
|
5550
6112
|
rerunGate: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRerunGateData>) => Promise<Types.DevopsPullRequest>;
|
|
5551
6113
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsGetData>) => Promise<Types.DevopsPullRequest>;
|
|
6114
|
+
reviews: {
|
|
6115
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsReviewsCreateData>) => Promise<Types.DevopsPullRequest>;
|
|
6116
|
+
};
|
|
5552
6117
|
};
|
|
5553
6118
|
releases: {
|
|
5554
6119
|
abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesAbandonData>) => Promise<Types.DevopsRelease>;
|
|
@@ -5764,6 +6329,12 @@ export declare function createMedia(transport: Transport): {
|
|
|
5764
6329
|
retrieveFailureSummary: (options: import("./core/transport.js").CallOptions<Types.MediaUnderstandingFailureSummaryData>) => Promise<Types.MediaFailureSummary>;
|
|
5765
6330
|
};
|
|
5766
6331
|
update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateLibraryData>) => Promise<Types.MediaLibrary>;
|
|
6332
|
+
voices: {
|
|
6333
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateVoiceData>) => Promise<Types.MediaJob>;
|
|
6334
|
+
designs: {
|
|
6335
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MediaDesignVoiceData>) => Promise<Types.MediaJob>;
|
|
6336
|
+
};
|
|
6337
|
+
};
|
|
5767
6338
|
};
|
|
5768
6339
|
speech: {
|
|
5769
6340
|
create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateSpeechData>) => Promise<Types.MediaJob>;
|
|
@@ -6453,6 +7024,9 @@ export declare function createOrganization(transport: Transport): {
|
|
|
6453
7024
|
update: (options: import("./core/transport.js").CallOptions<Types.ReorganizeOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
6454
7025
|
updateCharter: (options: import("./core/transport.js").CallOptions<Types.AmendOrganizationDepartmentCharterData>) => Promise<Types.OrganizationDepartment>;
|
|
6455
7026
|
};
|
|
7027
|
+
effectiveSpec: {
|
|
7028
|
+
retrieve: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationEffectiveSpecData> | undefined) => Promise<Types.OrganizationEffectiveSpec>;
|
|
7029
|
+
};
|
|
6456
7030
|
events: {
|
|
6457
7031
|
list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationEventsData>) => Promise<{
|
|
6458
7032
|
object: "page";
|
|
@@ -6735,6 +7309,26 @@ export declare function createOrganization(transport: Transport): {
|
|
|
6735
7309
|
updateLevel: (options: import("./core/transport.js").CallOptions<Types.RegradeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
6736
7310
|
updateManager: (options: import("./core/transport.js").CallOptions<Types.ReassignOrganizationPositionManagerData>) => Promise<Types.OrganizationPosition>;
|
|
6737
7311
|
};
|
|
7312
|
+
reconcile: {
|
|
7313
|
+
pause: (options: import("./core/transport.js").CallOptions<Types.PauseOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
|
|
7314
|
+
resume: (options: import("./core/transport.js").CallOptions<Types.ResumeOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
|
|
7315
|
+
retrievePlan: (options: import("./core/transport.js").CallOptions<Types.PlanOrganizationReconcileData>) => Promise<Types.OrganizationReconcilePlan>;
|
|
7316
|
+
run: {
|
|
7317
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RunOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
|
|
7318
|
+
};
|
|
7319
|
+
status: {
|
|
7320
|
+
list: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationReconcileStatusData>) => Promise<Types.OrganizationReconcileStatus>;
|
|
7321
|
+
};
|
|
7322
|
+
};
|
|
7323
|
+
specs: {
|
|
7324
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecsData> | undefined) => Promise<Types.OrganizationSpecList>;
|
|
7325
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationSpecData>) => Promise<Types.OrganizationSpec>;
|
|
7326
|
+
retrieveDiff: (options: import("./core/transport.js").CallOptions<Types.DiffOrganizationSpecData>) => Promise<Types.OrganizationSpecDiff>;
|
|
7327
|
+
revisions: {
|
|
7328
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecRevisionsData>) => Promise<Types.OrganizationSpecRevisionList>;
|
|
7329
|
+
};
|
|
7330
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationSpecData>) => Promise<Types.OrganizationSpec>;
|
|
7331
|
+
};
|
|
6738
7332
|
usage: {
|
|
6739
7333
|
list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationUsageData>) => Promise<{
|
|
6740
7334
|
object: "page";
|
|
@@ -6764,6 +7358,27 @@ export declare function createRegistry(transport: Transport): {
|
|
|
6764
7358
|
update: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsUpdateData>) => Promise<Types.RegistryInstallation>;
|
|
6765
7359
|
};
|
|
6766
7360
|
packages: {
|
|
7361
|
+
git: {
|
|
7362
|
+
commits: {
|
|
7363
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCommitsRetrieveData>) => Promise<Types.RegistryGitCommitDetail>;
|
|
7364
|
+
};
|
|
7365
|
+
files: {
|
|
7366
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitFilesRetrieveData>) => Promise<Blob | File>;
|
|
7367
|
+
};
|
|
7368
|
+
refs: {
|
|
7369
|
+
list: (options: import("./core/transport.js").CallOptions<Types.RegistryGitRefsData>) => Promise<Types.RegistryGitRefs>;
|
|
7370
|
+
};
|
|
7371
|
+
retrieveCompare: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCompareData>) => Promise<Types.RegistryGitComparison>;
|
|
7372
|
+
retrieveLog: (options: import("./core/transport.js").CallOptions<Types.RegistryGitLogData>) => Promise<Types.RegistryGitLog>;
|
|
7373
|
+
retrieveResolve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitResolveData>) => Promise<Types.RegistryGitResolvedRef>;
|
|
7374
|
+
trees: {
|
|
7375
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRetrieveData>) => Promise<Types.RegistryGitTree>;
|
|
7376
|
+
retrieveRecursive: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRecursiveData>) => Promise<Types.RegistryGitTreeRecursive>;
|
|
7377
|
+
};
|
|
7378
|
+
};
|
|
7379
|
+
gitCredential: {
|
|
7380
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesGitCredentialCreateData>) => Promise<Types.RegistryGitCredential>;
|
|
7381
|
+
};
|
|
6767
7382
|
installations: {
|
|
6768
7383
|
create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsCreateData>) => Promise<Types.RegistryInstallResult>;
|
|
6769
7384
|
list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsListData>) => Promise<Types.RegistryInstallationList>;
|
|
@@ -6795,12 +7410,105 @@ export declare function createRegistry(transport: Transport): {
|
|
|
6795
7410
|
};
|
|
6796
7411
|
};
|
|
6797
7412
|
export declare function createSandbox(transport: Transport): {
|
|
7413
|
+
byod: {
|
|
7414
|
+
devices: {
|
|
7415
|
+
disconnect: {
|
|
7416
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DisconnectByodDeviceData>) => Promise<{
|
|
7417
|
+
id: string;
|
|
7418
|
+
object: "byod_device";
|
|
7419
|
+
disconnected: true;
|
|
7420
|
+
}>;
|
|
7421
|
+
};
|
|
7422
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListByodDevicesData> | undefined) => Promise<{
|
|
7423
|
+
data: Array<{
|
|
7424
|
+
object: "byod_device";
|
|
7425
|
+
id: string;
|
|
7426
|
+
platform: "android" | "macos" | "linux";
|
|
7427
|
+
name: string;
|
|
7428
|
+
model: string;
|
|
7429
|
+
os_version: string;
|
|
7430
|
+
online: boolean;
|
|
7431
|
+
last_seen_at: string | null;
|
|
7432
|
+
created_at: string;
|
|
7433
|
+
capabilities: Array<"display" | "agent">;
|
|
7434
|
+
agent_dirs: Array<string>;
|
|
7435
|
+
allow_bypass: boolean;
|
|
7436
|
+
}>;
|
|
7437
|
+
}>;
|
|
7438
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodDeviceData>) => Promise<{
|
|
7439
|
+
object: "byod_device";
|
|
7440
|
+
id: string;
|
|
7441
|
+
platform: "android" | "macos" | "linux";
|
|
7442
|
+
name: string;
|
|
7443
|
+
model: string;
|
|
7444
|
+
os_version: string;
|
|
7445
|
+
online: boolean;
|
|
7446
|
+
last_seen_at: string | null;
|
|
7447
|
+
created_at: string;
|
|
7448
|
+
capabilities: Array<"display" | "agent">;
|
|
7449
|
+
agent_dirs: Array<string>;
|
|
7450
|
+
allow_bypass: boolean;
|
|
7451
|
+
}>;
|
|
7452
|
+
update: (options: import("./core/transport.js").CallOptions<Types.UpdateByodDeviceData>) => Promise<{
|
|
7453
|
+
object: "byod_device";
|
|
7454
|
+
id: string;
|
|
7455
|
+
platform: "android" | "macos" | "linux";
|
|
7456
|
+
name: string;
|
|
7457
|
+
model: string;
|
|
7458
|
+
os_version: string;
|
|
7459
|
+
online: boolean;
|
|
7460
|
+
last_seen_at: string | null;
|
|
7461
|
+
created_at: string;
|
|
7462
|
+
capabilities: Array<"display" | "agent">;
|
|
7463
|
+
agent_dirs: Array<string>;
|
|
7464
|
+
allow_bypass: boolean;
|
|
7465
|
+
}>;
|
|
7466
|
+
};
|
|
7467
|
+
pairings: {
|
|
7468
|
+
claim: {
|
|
7469
|
+
create: (options: import("./core/transport.js").CallOptions<Types.ClaimByodPairingData>) => Promise<{
|
|
7470
|
+
device_id: string;
|
|
7471
|
+
credential: string;
|
|
7472
|
+
socket_url: string;
|
|
7473
|
+
}>;
|
|
7474
|
+
};
|
|
7475
|
+
create: (options?: import("./core/transport.js").CallOptions<Types.CreateByodPairingData> | undefined) => Promise<{
|
|
7476
|
+
code: string;
|
|
7477
|
+
expires_at: string;
|
|
7478
|
+
qr: string;
|
|
7479
|
+
}>;
|
|
7480
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodPairingData>) => Promise<{
|
|
7481
|
+
organization_name: string;
|
|
7482
|
+
expires_at: string;
|
|
7483
|
+
}>;
|
|
7484
|
+
};
|
|
7485
|
+
};
|
|
6798
7486
|
events: {
|
|
6799
7487
|
sandboxes: {
|
|
6800
7488
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetSandboxEventsData>) => Promise<Types.SandboxSandboxEvent[]>;
|
|
6801
7489
|
};
|
|
6802
7490
|
};
|
|
6803
7491
|
sandboxes: {
|
|
7492
|
+
act: (options: import("./core/transport.js").CallOptions<Types.ActOnSandboxDisplayData>) => Promise<{
|
|
7493
|
+
type: "snapshot";
|
|
7494
|
+
snapshot: string;
|
|
7495
|
+
refs: number;
|
|
7496
|
+
truncated: boolean;
|
|
7497
|
+
package: string;
|
|
7498
|
+
} | {
|
|
7499
|
+
type: "screenshot";
|
|
7500
|
+
mediaType: string;
|
|
7501
|
+
data: string;
|
|
7502
|
+
width: number;
|
|
7503
|
+
height: number;
|
|
7504
|
+
bytes: number;
|
|
7505
|
+
} | {
|
|
7506
|
+
type: "ok";
|
|
7507
|
+
ms?: number;
|
|
7508
|
+
} | {
|
|
7509
|
+
type: "wait";
|
|
7510
|
+
ms: number;
|
|
7511
|
+
}>;
|
|
6804
7512
|
commands: {
|
|
6805
7513
|
run: (options: import("./core/transport.js").CallOptions<Types.RunSandboxCommandData>) => Promise<{
|
|
6806
7514
|
stdout: string;
|
|
@@ -7329,6 +8037,7 @@ export declare const resourceFactories: {
|
|
|
7329
8037
|
agent: typeof createAgent;
|
|
7330
8038
|
application: typeof createApplication;
|
|
7331
8039
|
automation: typeof createAutomation;
|
|
8040
|
+
billing: typeof createBilling;
|
|
7332
8041
|
browser: typeof createBrowser;
|
|
7333
8042
|
canvas: typeof createCanvas;
|
|
7334
8043
|
content: typeof createContent;
|