@deepraxis/sdk 0.1.1-dev.185c0c2 → 0.1.1-dev.18e71b2

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.
@@ -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>;
@@ -653,21 +657,6 @@ export declare function createAgent(transport: Transport): {
653
657
  type: "user.steer";
654
658
  event_id: string;
655
659
  processed_at: string;
656
- } | {
657
- id: string;
658
- type: "user.tool_confirmation";
659
- processed_at: string;
660
- tool_use_id: string;
661
- result: "allow";
662
- answers: {
663
- [key: string]: string;
664
- };
665
- annotations?: {
666
- [key: string]: {
667
- preview?: string;
668
- notes?: string;
669
- };
670
- };
671
660
  }>;
672
661
  next_page: string | null;
673
662
  }>;
@@ -688,21 +677,6 @@ export declare function createAgent(transport: Transport): {
688
677
  type: "user.steer";
689
678
  event_id: string;
690
679
  processed_at: string;
691
- } | {
692
- id: string;
693
- type: "user.tool_confirmation";
694
- processed_at: string;
695
- tool_use_id: string;
696
- result: "allow";
697
- answers: {
698
- [key: string]: string;
699
- };
700
- annotations?: {
701
- [key: string]: {
702
- preview?: string;
703
- notes?: string;
704
- };
705
- };
706
680
  }>;
707
681
  }>;
708
682
  stream: (options: import("./core/transport.js").StreamOptions<Types.StreamAgentEventsData>) => AsyncIterable<Types.AgentSseEvent>;
@@ -761,6 +735,7 @@ export declare function createAgent(transport: Transport): {
761
735
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
762
736
  id: string;
763
737
  access: "read_only" | "read_write" | "invoke";
738
+ customer_access?: "read_only" | "read_write" | "invoke";
764
739
  instructions?: string;
765
740
  readonly verified?: boolean;
766
741
  enabled?: boolean;
@@ -885,6 +860,7 @@ export declare function createAgent(transport: Transport): {
885
860
  };
886
861
  avatar: string | null;
887
862
  creation_source: string | null;
863
+ managed_by: string | null;
888
864
  identity_number: string | null;
889
865
  environment_id?: string | null;
890
866
  vault_ids?: Array<string>;
@@ -898,6 +874,34 @@ export declare function createAgent(transport: Transport): {
898
874
  }>;
899
875
  next_page: string | null;
900
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
+ };
901
905
  retrieve: (options: import("./core/transport.js").CallOptions<Types.AgentsRetrieveData>) => Promise<{
902
906
  id: string;
903
907
  archived_at: null | string;
@@ -938,6 +942,7 @@ export declare function createAgent(transport: Transport): {
938
942
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
939
943
  id: string;
940
944
  access: "read_only" | "read_write" | "invoke";
945
+ customer_access?: "read_only" | "read_write" | "invoke";
941
946
  instructions?: string;
942
947
  readonly verified?: boolean;
943
948
  enabled?: boolean;
@@ -1062,6 +1067,7 @@ export declare function createAgent(transport: Transport): {
1062
1067
  };
1063
1068
  avatar: string | null;
1064
1069
  creation_source: string | null;
1070
+ managed_by: string | null;
1065
1071
  identity_number: string | null;
1066
1072
  environment_id?: string | null;
1067
1073
  vault_ids?: Array<string>;
@@ -1144,6 +1150,11 @@ export declare function createAgent(transport: Transport): {
1144
1150
  max_file_bytes: number;
1145
1151
  max_files_per_session: number;
1146
1152
  };
1153
+ share_links: {
1154
+ enabled: boolean;
1155
+ daily_session_cap: number | null;
1156
+ daily_spend_cap_micro_usd: number | null;
1157
+ };
1147
1158
  }>;
1148
1159
  unarchive: {
1149
1160
  create: (options: import("./core/transport.js").CallOptions<Types.UnarchiveAgentData>) => Promise<{
@@ -1388,6 +1399,7 @@ export declare function createAgent(transport: Transport): {
1388
1399
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1389
1400
  id: string;
1390
1401
  access: "read_only" | "read_write" | "invoke";
1402
+ customer_access?: "read_only" | "read_write" | "invoke";
1391
1403
  instructions?: string;
1392
1404
  readonly verified?: boolean;
1393
1405
  enabled?: boolean;
@@ -1512,6 +1524,7 @@ export declare function createAgent(transport: Transport): {
1512
1524
  };
1513
1525
  avatar: string | null;
1514
1526
  creation_source: string | null;
1527
+ managed_by: string | null;
1515
1528
  identity_number: string | null;
1516
1529
  environment_id?: string | null;
1517
1530
  vault_ids?: Array<string>;
@@ -1564,6 +1577,7 @@ export declare function createAgent(transport: Transport): {
1564
1577
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1565
1578
  id: string;
1566
1579
  access: "read_only" | "read_write" | "invoke";
1580
+ customer_access?: "read_only" | "read_write" | "invoke";
1567
1581
  instructions?: string;
1568
1582
  readonly verified?: boolean;
1569
1583
  enabled?: boolean;
@@ -1688,6 +1702,7 @@ export declare function createAgent(transport: Transport): {
1688
1702
  };
1689
1703
  avatar: string | null;
1690
1704
  creation_source: string | null;
1705
+ managed_by: string | null;
1691
1706
  identity_number: string | null;
1692
1707
  environment_id?: string | null;
1693
1708
  vault_ids?: Array<string>;
@@ -1707,6 +1722,11 @@ export declare function createAgent(transport: Transport): {
1707
1722
  max_file_bytes: number;
1708
1723
  max_files_per_session: number;
1709
1724
  };
1725
+ share_links: {
1726
+ enabled: boolean;
1727
+ daily_session_cap: number | null;
1728
+ daily_spend_cap_micro_usd: number | null;
1729
+ };
1710
1730
  }>;
1711
1731
  versions: {
1712
1732
  apply: (options: import("./core/transport.js").CallOptions<Types.ApplyAgentVersionData>) => Promise<{
@@ -1951,6 +1971,7 @@ export declare function createAgent(transport: Transport): {
1951
1971
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1952
1972
  id: string;
1953
1973
  access: "read_only" | "read_write" | "invoke";
1974
+ customer_access?: "read_only" | "read_write" | "invoke";
1954
1975
  instructions?: string;
1955
1976
  readonly verified?: boolean;
1956
1977
  enabled?: boolean;
@@ -2075,6 +2096,7 @@ export declare function createAgent(transport: Transport): {
2075
2096
  };
2076
2097
  avatar: string | null;
2077
2098
  creation_source: string | null;
2099
+ managed_by: string | null;
2078
2100
  identity_number: string | null;
2079
2101
  environment_id?: string | null;
2080
2102
  vault_ids?: Array<string>;
@@ -2127,6 +2149,7 @@ export declare function createAgent(transport: Transport): {
2127
2149
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
2128
2150
  id: string;
2129
2151
  access: "read_only" | "read_write" | "invoke";
2152
+ customer_access?: "read_only" | "read_write" | "invoke";
2130
2153
  instructions?: string;
2131
2154
  readonly verified?: boolean;
2132
2155
  enabled?: boolean;
@@ -2251,6 +2274,7 @@ export declare function createAgent(transport: Transport): {
2251
2274
  };
2252
2275
  avatar: string | null;
2253
2276
  creation_source: string | null;
2277
+ managed_by: string | null;
2254
2278
  identity_number: string | null;
2255
2279
  environment_id?: string | null;
2256
2280
  vault_ids?: Array<string>;
@@ -2338,6 +2362,18 @@ export declare function createAgent(transport: Transport): {
2338
2362
  tier: "light" | "heavy";
2339
2363
  }>;
2340
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
+ }>;
2341
2377
  };
2342
2378
  leases: {
2343
2379
  delete: (options: import("./core/transport.js").CallOptions<Types.ReleaseComputerLeaseData>) => Promise<{
@@ -3196,6 +3232,11 @@ export declare function createAgent(transport: Transport): {
3196
3232
  vault_ids: Array<string>;
3197
3233
  deployment_id?: null | string;
3198
3234
  cwd: string;
3235
+ workspace?: {
3236
+ kind: "shared" | "isolated";
3237
+ path?: string;
3238
+ branch?: string;
3239
+ };
3199
3240
  computer_id?: string;
3200
3241
  model?: {
3201
3242
  id: string;
@@ -3256,6 +3297,11 @@ export declare function createAgent(transport: Transport): {
3256
3297
  vault_ids: Array<string>;
3257
3298
  deployment_id?: null | string;
3258
3299
  cwd: string;
3300
+ workspace?: {
3301
+ kind: "shared" | "isolated";
3302
+ path?: string;
3303
+ branch?: string;
3304
+ };
3259
3305
  computer_id?: string;
3260
3306
  model?: {
3261
3307
  id: string;
@@ -3418,6 +3464,11 @@ export declare function createAgent(transport: Transport): {
3418
3464
  vault_ids: Array<string>;
3419
3465
  deployment_id?: null | string;
3420
3466
  cwd: string;
3467
+ workspace?: {
3468
+ kind: "shared" | "isolated";
3469
+ path?: string;
3470
+ branch?: string;
3471
+ };
3421
3472
  computer_id?: string;
3422
3473
  model?: {
3423
3474
  id: string;
@@ -3639,21 +3690,6 @@ export declare function createAgent(transport: Transport): {
3639
3690
  type: "user.steer";
3640
3691
  event_id: string;
3641
3692
  processed_at: string;
3642
- } | {
3643
- id: string;
3644
- type: "user.tool_confirmation";
3645
- processed_at: string;
3646
- tool_use_id: string;
3647
- result: "allow";
3648
- answers: {
3649
- [key: string]: string;
3650
- };
3651
- annotations?: {
3652
- [key: string]: {
3653
- preview?: string;
3654
- notes?: string;
3655
- };
3656
- };
3657
3693
  }>;
3658
3694
  next_page: string | null;
3659
3695
  }>;
@@ -3674,21 +3710,6 @@ export declare function createAgent(transport: Transport): {
3674
3710
  type: "user.steer";
3675
3711
  event_id: string;
3676
3712
  processed_at: string;
3677
- } | {
3678
- id: string;
3679
- type: "user.tool_confirmation";
3680
- processed_at: string;
3681
- tool_use_id: string;
3682
- result: "allow";
3683
- answers: {
3684
- [key: string]: string;
3685
- };
3686
- annotations?: {
3687
- [key: string]: {
3688
- preview?: string;
3689
- notes?: string;
3690
- };
3691
- };
3692
3713
  }>;
3693
3714
  }>;
3694
3715
  stream: (options: import("./core/transport.js").StreamOptions<Types.SessionsEventsStreamData>) => AsyncIterable<Types.AgentSseEvent>;
@@ -4204,6 +4225,11 @@ export declare function createAgent(transport: Transport): {
4204
4225
  vault_ids: Array<string>;
4205
4226
  deployment_id?: null | string;
4206
4227
  cwd: string;
4228
+ workspace?: {
4229
+ kind: "shared" | "isolated";
4230
+ path?: string;
4231
+ branch?: string;
4232
+ };
4207
4233
  computer_id?: string;
4208
4234
  model?: {
4209
4235
  id: string;
@@ -4264,6 +4290,11 @@ export declare function createAgent(transport: Transport): {
4264
4290
  vault_ids: Array<string>;
4265
4291
  deployment_id?: null | string;
4266
4292
  cwd: string;
4293
+ workspace?: {
4294
+ kind: "shared" | "isolated";
4295
+ path?: string;
4296
+ branch?: string;
4297
+ };
4267
4298
  computer_id?: string;
4268
4299
  model?: {
4269
4300
  id: string;
@@ -4285,204 +4316,746 @@ export declare function createAgent(transport: Transport): {
4285
4316
  }>;
4286
4317
  next_page: string | null;
4287
4318
  }>;
4288
- requests: {
4289
- list: (options: import("./core/transport.js").CallOptions<Types.ListSessionRequestsData>) => Promise<{
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: {
4319
+ name: {
4320
+ create: (options: import("./core/transport.js").CallOptions<Types.RenameSessionData>) => Promise<{
4322
4321
  id: string;
4323
- description: null | string;
4324
- mcp_servers: Array<Types.AgentManaged36>;
4325
- model: {
4322
+ agent: {
4326
4323
  id: string;
4327
- effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
4328
- inference_geo?: string;
4329
- speed?: "standard" | "fast";
4330
- settings?: {
4331
- reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4332
- max_output_tokens?: number;
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
- }>;
4324
+ description: null | string;
4325
+ mcp_servers: Array<{
4326
+ type: "url";
4327
+ name: string;
4328
+ url: string;
4329
+ headers?: {
4330
+ [key: string]: string;
4477
4331
  };
4478
- message_id?: string;
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";
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";
4486
5059
  source: string;
4487
5060
  title: string;
4488
5061
  cited_text: string;
@@ -4722,6 +5295,11 @@ export declare function createAgent(transport: Transport): {
4722
5295
  vault_ids: Array<string>;
4723
5296
  deployment_id?: null | string;
4724
5297
  cwd: string;
5298
+ workspace?: {
5299
+ kind: "shared" | "isolated";
5300
+ path?: string;
5301
+ branch?: string;
5302
+ };
4725
5303
  computer_id?: string;
4726
5304
  model?: {
4727
5305
  id: string;
@@ -5073,6 +5651,11 @@ export declare function createAutomation(transport: Transport): {
5073
5651
  };
5074
5652
  };
5075
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
+ };
5076
5659
  export declare function createBrowser(transport: Transport): {
5077
5660
  connect: {
5078
5661
  retrieve: (options?: import("./core/transport.js").CallOptions<Types.BrowserConnectData> | undefined) => Promise<unknown>;
@@ -5519,6 +6102,7 @@ export declare function createDevops(transport: Transport): {
5519
6102
  };
5520
6103
  };
5521
6104
  pullRequests: {
6105
+ close: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsCloseData>) => Promise<Types.DevopsPullRequest>;
5522
6106
  merge: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsMergeData>) => Promise<Types.DevopsPullRequest>;
5523
6107
  recordVerdict: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRecordVerdictData>) => Promise<Types.DevopsPullRequest>;
5524
6108
  rerunGate: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRerunGateData>) => Promise<Types.DevopsPullRequest>;
@@ -5738,6 +6322,12 @@ export declare function createMedia(transport: Transport): {
5738
6322
  retrieveFailureSummary: (options: import("./core/transport.js").CallOptions<Types.MediaUnderstandingFailureSummaryData>) => Promise<Types.MediaFailureSummary>;
5739
6323
  };
5740
6324
  update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateLibraryData>) => Promise<Types.MediaLibrary>;
6325
+ voices: {
6326
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateVoiceData>) => Promise<Types.MediaJob>;
6327
+ designs: {
6328
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaDesignVoiceData>) => Promise<Types.MediaJob>;
6329
+ };
6330
+ };
5741
6331
  };
5742
6332
  speech: {
5743
6333
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateSpeechData>) => Promise<Types.MediaJob>;
@@ -6261,6 +6851,7 @@ export declare function createModel(transport: Transport): {
6261
6851
  unsigned_urls: Array<string>;
6262
6852
  usage?: {
6263
6853
  cost: number;
6854
+ billed_seconds?: number;
6264
6855
  };
6265
6856
  }>;
6266
6857
  delete: (options: import("./core/transport.js").CallOptions<Types.DeleteVideoData>) => Promise<{
@@ -6291,6 +6882,7 @@ export declare function createModel(transport: Transport): {
6291
6882
  unsigned_urls: Array<string>;
6292
6883
  usage?: {
6293
6884
  cost: number;
6885
+ billed_seconds?: number;
6294
6886
  };
6295
6887
  }>;
6296
6888
  has_more: boolean;
@@ -6319,6 +6911,7 @@ export declare function createModel(transport: Transport): {
6319
6911
  unsigned_urls: Array<string>;
6320
6912
  usage?: {
6321
6913
  cost: number;
6914
+ billed_seconds?: number;
6322
6915
  };
6323
6916
  }>;
6324
6917
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.DownloadVideoContentData>) => Promise<Blob | File>;
@@ -6424,6 +7017,9 @@ export declare function createOrganization(transport: Transport): {
6424
7017
  update: (options: import("./core/transport.js").CallOptions<Types.ReorganizeOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
6425
7018
  updateCharter: (options: import("./core/transport.js").CallOptions<Types.AmendOrganizationDepartmentCharterData>) => Promise<Types.OrganizationDepartment>;
6426
7019
  };
7020
+ effectiveSpec: {
7021
+ retrieve: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationEffectiveSpecData> | undefined) => Promise<Types.OrganizationEffectiveSpec>;
7022
+ };
6427
7023
  events: {
6428
7024
  list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationEventsData>) => Promise<{
6429
7025
  object: "page";
@@ -6706,6 +7302,26 @@ export declare function createOrganization(transport: Transport): {
6706
7302
  updateLevel: (options: import("./core/transport.js").CallOptions<Types.RegradeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
6707
7303
  updateManager: (options: import("./core/transport.js").CallOptions<Types.ReassignOrganizationPositionManagerData>) => Promise<Types.OrganizationPosition>;
6708
7304
  };
7305
+ reconcile: {
7306
+ pause: (options: import("./core/transport.js").CallOptions<Types.PauseOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
7307
+ resume: (options: import("./core/transport.js").CallOptions<Types.ResumeOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
7308
+ retrievePlan: (options: import("./core/transport.js").CallOptions<Types.PlanOrganizationReconcileData>) => Promise<Types.OrganizationReconcilePlan>;
7309
+ run: {
7310
+ create: (options: import("./core/transport.js").CallOptions<Types.RunOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
7311
+ };
7312
+ status: {
7313
+ list: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationReconcileStatusData>) => Promise<Types.OrganizationReconcileStatus>;
7314
+ };
7315
+ };
7316
+ specs: {
7317
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecsData> | undefined) => Promise<Types.OrganizationSpecList>;
7318
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationSpecData>) => Promise<Types.OrganizationSpec>;
7319
+ retrieveDiff: (options: import("./core/transport.js").CallOptions<Types.DiffOrganizationSpecData>) => Promise<Types.OrganizationSpecDiff>;
7320
+ revisions: {
7321
+ list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecRevisionsData>) => Promise<Types.OrganizationSpecRevisionList>;
7322
+ };
7323
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationSpecData>) => Promise<Types.OrganizationSpec>;
7324
+ };
6709
7325
  usage: {
6710
7326
  list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationUsageData>) => Promise<{
6711
7327
  object: "page";
@@ -6735,6 +7351,27 @@ export declare function createRegistry(transport: Transport): {
6735
7351
  update: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsUpdateData>) => Promise<Types.RegistryInstallation>;
6736
7352
  };
6737
7353
  packages: {
7354
+ git: {
7355
+ commits: {
7356
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCommitsRetrieveData>) => Promise<Types.RegistryGitCommitDetail>;
7357
+ };
7358
+ files: {
7359
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitFilesRetrieveData>) => Promise<Blob | File>;
7360
+ };
7361
+ refs: {
7362
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryGitRefsData>) => Promise<Types.RegistryGitRefs>;
7363
+ };
7364
+ retrieveCompare: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCompareData>) => Promise<Types.RegistryGitComparison>;
7365
+ retrieveLog: (options: import("./core/transport.js").CallOptions<Types.RegistryGitLogData>) => Promise<Types.RegistryGitLog>;
7366
+ retrieveResolve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitResolveData>) => Promise<Types.RegistryGitResolvedRef>;
7367
+ trees: {
7368
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRetrieveData>) => Promise<Types.RegistryGitTree>;
7369
+ retrieveRecursive: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRecursiveData>) => Promise<Types.RegistryGitTreeRecursive>;
7370
+ };
7371
+ };
7372
+ gitCredential: {
7373
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesGitCredentialCreateData>) => Promise<Types.RegistryGitCredential>;
7374
+ };
6738
7375
  installations: {
6739
7376
  create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsCreateData>) => Promise<Types.RegistryInstallResult>;
6740
7377
  list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsListData>) => Promise<Types.RegistryInstallationList>;
@@ -6766,12 +7403,105 @@ export declare function createRegistry(transport: Transport): {
6766
7403
  };
6767
7404
  };
6768
7405
  export declare function createSandbox(transport: Transport): {
7406
+ byod: {
7407
+ devices: {
7408
+ disconnect: {
7409
+ create: (options: import("./core/transport.js").CallOptions<Types.DisconnectByodDeviceData>) => Promise<{
7410
+ id: string;
7411
+ object: "byod_device";
7412
+ disconnected: true;
7413
+ }>;
7414
+ };
7415
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListByodDevicesData> | undefined) => Promise<{
7416
+ data: Array<{
7417
+ object: "byod_device";
7418
+ id: string;
7419
+ platform: "android" | "macos" | "linux";
7420
+ name: string;
7421
+ model: string;
7422
+ os_version: string;
7423
+ online: boolean;
7424
+ last_seen_at: string | null;
7425
+ created_at: string;
7426
+ capabilities: Array<"display" | "agent">;
7427
+ agent_dirs: Array<string>;
7428
+ allow_bypass: boolean;
7429
+ }>;
7430
+ }>;
7431
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodDeviceData>) => Promise<{
7432
+ object: "byod_device";
7433
+ id: string;
7434
+ platform: "android" | "macos" | "linux";
7435
+ name: string;
7436
+ model: string;
7437
+ os_version: string;
7438
+ online: boolean;
7439
+ last_seen_at: string | null;
7440
+ created_at: string;
7441
+ capabilities: Array<"display" | "agent">;
7442
+ agent_dirs: Array<string>;
7443
+ allow_bypass: boolean;
7444
+ }>;
7445
+ update: (options: import("./core/transport.js").CallOptions<Types.UpdateByodDeviceData>) => Promise<{
7446
+ object: "byod_device";
7447
+ id: string;
7448
+ platform: "android" | "macos" | "linux";
7449
+ name: string;
7450
+ model: string;
7451
+ os_version: string;
7452
+ online: boolean;
7453
+ last_seen_at: string | null;
7454
+ created_at: string;
7455
+ capabilities: Array<"display" | "agent">;
7456
+ agent_dirs: Array<string>;
7457
+ allow_bypass: boolean;
7458
+ }>;
7459
+ };
7460
+ pairings: {
7461
+ claim: {
7462
+ create: (options: import("./core/transport.js").CallOptions<Types.ClaimByodPairingData>) => Promise<{
7463
+ device_id: string;
7464
+ credential: string;
7465
+ socket_url: string;
7466
+ }>;
7467
+ };
7468
+ create: (options?: import("./core/transport.js").CallOptions<Types.CreateByodPairingData> | undefined) => Promise<{
7469
+ code: string;
7470
+ expires_at: string;
7471
+ qr: string;
7472
+ }>;
7473
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodPairingData>) => Promise<{
7474
+ organization_name: string;
7475
+ expires_at: string;
7476
+ }>;
7477
+ };
7478
+ };
6769
7479
  events: {
6770
7480
  sandboxes: {
6771
7481
  retrieve: (options: import("./core/transport.js").CallOptions<Types.GetSandboxEventsData>) => Promise<Types.SandboxSandboxEvent[]>;
6772
7482
  };
6773
7483
  };
6774
7484
  sandboxes: {
7485
+ act: (options: import("./core/transport.js").CallOptions<Types.ActOnSandboxDisplayData>) => Promise<{
7486
+ type: "snapshot";
7487
+ snapshot: string;
7488
+ refs: number;
7489
+ truncated: boolean;
7490
+ package: string;
7491
+ } | {
7492
+ type: "screenshot";
7493
+ mediaType: string;
7494
+ data: string;
7495
+ width: number;
7496
+ height: number;
7497
+ bytes: number;
7498
+ } | {
7499
+ type: "ok";
7500
+ ms?: number;
7501
+ } | {
7502
+ type: "wait";
7503
+ ms: number;
7504
+ }>;
6775
7505
  commands: {
6776
7506
  run: (options: import("./core/transport.js").CallOptions<Types.RunSandboxCommandData>) => Promise<{
6777
7507
  stdout: string;
@@ -7300,6 +8030,7 @@ export declare const resourceFactories: {
7300
8030
  agent: typeof createAgent;
7301
8031
  application: typeof createApplication;
7302
8032
  automation: typeof createAutomation;
8033
+ billing: typeof createBilling;
7303
8034
  browser: typeof createBrowser;
7304
8035
  canvas: typeof createCanvas;
7305
8036
  content: typeof createContent;