@deepraxis/sdk 0.1.1-dev.e5ed890 → 0.1.1-dev.e78e8d8

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,24 @@ 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
+ }>;
2377
+ updateContent: (options: import("./core/transport.js").CallOptions<Types.UpdateComputerFileContentData>) => Promise<{
2378
+ path: string;
2379
+ size: number;
2380
+ mtime: string | null;
2381
+ version: string;
2382
+ }>;
2341
2383
  };
2342
2384
  leases: {
2343
2385
  delete: (options: import("./core/transport.js").CallOptions<Types.ReleaseComputerLeaseData>) => Promise<{
@@ -3196,6 +3238,11 @@ export declare function createAgent(transport: Transport): {
3196
3238
  vault_ids: Array<string>;
3197
3239
  deployment_id?: null | string;
3198
3240
  cwd: string;
3241
+ workspace?: {
3242
+ kind: "shared" | "isolated";
3243
+ path?: string;
3244
+ branch?: string;
3245
+ };
3199
3246
  computer_id?: string;
3200
3247
  model?: {
3201
3248
  id: string;
@@ -3256,6 +3303,11 @@ export declare function createAgent(transport: Transport): {
3256
3303
  vault_ids: Array<string>;
3257
3304
  deployment_id?: null | string;
3258
3305
  cwd: string;
3306
+ workspace?: {
3307
+ kind: "shared" | "isolated";
3308
+ path?: string;
3309
+ branch?: string;
3310
+ };
3259
3311
  computer_id?: string;
3260
3312
  model?: {
3261
3313
  id: string;
@@ -3418,6 +3470,11 @@ export declare function createAgent(transport: Transport): {
3418
3470
  vault_ids: Array<string>;
3419
3471
  deployment_id?: null | string;
3420
3472
  cwd: string;
3473
+ workspace?: {
3474
+ kind: "shared" | "isolated";
3475
+ path?: string;
3476
+ branch?: string;
3477
+ };
3421
3478
  computer_id?: string;
3422
3479
  model?: {
3423
3480
  id: string;
@@ -3639,21 +3696,6 @@ export declare function createAgent(transport: Transport): {
3639
3696
  type: "user.steer";
3640
3697
  event_id: string;
3641
3698
  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
3699
  }>;
3658
3700
  next_page: string | null;
3659
3701
  }>;
@@ -3674,21 +3716,6 @@ export declare function createAgent(transport: Transport): {
3674
3716
  type: "user.steer";
3675
3717
  event_id: string;
3676
3718
  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
3719
  }>;
3693
3720
  }>;
3694
3721
  stream: (options: import("./core/transport.js").StreamOptions<Types.SessionsEventsStreamData>) => AsyncIterable<Types.AgentSseEvent>;
@@ -4204,6 +4231,11 @@ export declare function createAgent(transport: Transport): {
4204
4231
  vault_ids: Array<string>;
4205
4232
  deployment_id?: null | string;
4206
4233
  cwd: string;
4234
+ workspace?: {
4235
+ kind: "shared" | "isolated";
4236
+ path?: string;
4237
+ branch?: string;
4238
+ };
4207
4239
  computer_id?: string;
4208
4240
  model?: {
4209
4241
  id: string;
@@ -4264,6 +4296,11 @@ export declare function createAgent(transport: Transport): {
4264
4296
  vault_ids: Array<string>;
4265
4297
  deployment_id?: null | string;
4266
4298
  cwd: string;
4299
+ workspace?: {
4300
+ kind: "shared" | "isolated";
4301
+ path?: string;
4302
+ branch?: string;
4303
+ };
4267
4304
  computer_id?: string;
4268
4305
  model?: {
4269
4306
  id: string;
@@ -4285,201 +4322,743 @@ export declare function createAgent(transport: Transport): {
4285
4322
  }>;
4286
4323
  next_page: string | null;
4287
4324
  }>;
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: {
4325
+ name: {
4326
+ create: (options: import("./core/transport.js").CallOptions<Types.RenameSessionData>) => Promise<{
4322
4327
  id: string;
4323
- description: null | string;
4324
- mcp_servers: Array<Types.AgentManaged36>;
4325
- model: {
4328
+ agent: {
4326
4329
  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
- }>;
4330
+ description: null | string;
4331
+ mcp_servers: Array<{
4332
+ type: "url";
4333
+ name: string;
4334
+ url: string;
4335
+ headers?: {
4336
+ [key: string]: string;
4477
4337
  };
4478
- message_id?: string;
4479
- } | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged192 | {
4480
- id: string;
4481
- content: Array<{
4482
- text: string;
4338
+ timeout_ms?: number;
4339
+ } | {
4340
+ type: "sse";
4341
+ name: string;
4342
+ url: string;
4343
+ headers?: {
4344
+ [key: string]: string;
4345
+ };
4346
+ timeout_ms?: number;
4347
+ } | {
4348
+ type: "stdio";
4349
+ name: string;
4350
+ command: string;
4351
+ args?: Array<string>;
4352
+ env?: {
4353
+ [key: string]: string;
4354
+ };
4355
+ timeout_ms?: number;
4356
+ }>;
4357
+ model: {
4358
+ id: string;
4359
+ effort?: {
4360
+ type: "low";
4361
+ } | {
4362
+ type: "medium";
4363
+ } | {
4364
+ type: "high";
4365
+ } | {
4366
+ type: "xhigh";
4367
+ } | {
4368
+ type: "max";
4369
+ };
4370
+ inference_geo?: string;
4371
+ speed?: "standard" | "fast";
4372
+ settings?: {
4373
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4374
+ max_output_tokens?: number;
4375
+ };
4376
+ };
4377
+ multiagent: null | {
4378
+ agents: Array<{
4379
+ model: string;
4380
+ type: "advisor";
4381
+ } | {
4382
+ id: string;
4383
+ description: null | string;
4384
+ mcp_servers: Array<{
4385
+ type: "url";
4386
+ name: string;
4387
+ url: string;
4388
+ headers?: {
4389
+ [key: string]: string;
4390
+ };
4391
+ timeout_ms?: number;
4392
+ } | {
4393
+ type: "sse";
4394
+ name: string;
4395
+ url: string;
4396
+ headers?: {
4397
+ [key: string]: string;
4398
+ };
4399
+ timeout_ms?: number;
4400
+ } | {
4401
+ type: "stdio";
4402
+ name: string;
4403
+ command: string;
4404
+ args?: Array<string>;
4405
+ env?: {
4406
+ [key: string]: string;
4407
+ };
4408
+ timeout_ms?: number;
4409
+ }>;
4410
+ model: {
4411
+ id: string;
4412
+ effort?: {
4413
+ type: "low";
4414
+ } | {
4415
+ type: "medium";
4416
+ } | {
4417
+ type: "high";
4418
+ } | {
4419
+ type: "xhigh";
4420
+ } | {
4421
+ type: "max";
4422
+ };
4423
+ inference_geo?: string;
4424
+ speed?: "standard" | "fast";
4425
+ };
4426
+ name: string;
4427
+ skills: Array<{
4428
+ skill_id: string;
4429
+ type: "anthropic";
4430
+ version: string;
4431
+ } | {
4432
+ skill_id: string;
4433
+ type: "custom";
4434
+ version: string;
4435
+ }>;
4436
+ system: null | string;
4437
+ tools: Array<{
4438
+ configs: Array<{
4439
+ enabled: boolean;
4440
+ name: "bash";
4441
+ permission_policy: {
4442
+ type: "always_allow";
4443
+ } | {
4444
+ type: "always_ask";
4445
+ } | {
4446
+ type: "auto";
4447
+ };
4448
+ type: "bash";
4449
+ } | {
4450
+ enabled: boolean;
4451
+ name: "edit";
4452
+ permission_policy: {
4453
+ type: "always_allow";
4454
+ } | {
4455
+ type: "always_ask";
4456
+ } | {
4457
+ type: "auto";
4458
+ };
4459
+ type: "edit";
4460
+ } | {
4461
+ enabled: boolean;
4462
+ name: "read";
4463
+ permission_policy: {
4464
+ type: "always_allow";
4465
+ } | {
4466
+ type: "always_ask";
4467
+ } | {
4468
+ type: "auto";
4469
+ };
4470
+ type: "read";
4471
+ } | {
4472
+ enabled: boolean;
4473
+ name: "write";
4474
+ permission_policy: {
4475
+ type: "always_allow";
4476
+ } | {
4477
+ type: "always_ask";
4478
+ } | {
4479
+ type: "auto";
4480
+ };
4481
+ type: "write";
4482
+ } | {
4483
+ enabled: boolean;
4484
+ name: "glob";
4485
+ permission_policy: {
4486
+ type: "always_allow";
4487
+ } | {
4488
+ type: "always_ask";
4489
+ } | {
4490
+ type: "auto";
4491
+ };
4492
+ type: "glob";
4493
+ } | {
4494
+ enabled: boolean;
4495
+ name: "grep";
4496
+ permission_policy: {
4497
+ type: "always_allow";
4498
+ } | {
4499
+ type: "always_ask";
4500
+ } | {
4501
+ type: "auto";
4502
+ };
4503
+ type: "grep";
4504
+ } | {
4505
+ enabled: boolean;
4506
+ name: "web_fetch";
4507
+ permission_policy: {
4508
+ type: "always_allow";
4509
+ } | {
4510
+ type: "always_ask";
4511
+ } | {
4512
+ type: "auto";
4513
+ };
4514
+ type: "web_fetch";
4515
+ allowed_domains?: Array<string>;
4516
+ blocked_domains?: Array<string>;
4517
+ max_content_tokens?: null | number;
4518
+ } | {
4519
+ enabled: boolean;
4520
+ name: "web_search";
4521
+ permission_policy: {
4522
+ type: "always_allow";
4523
+ } | {
4524
+ type: "always_ask";
4525
+ } | {
4526
+ type: "auto";
4527
+ };
4528
+ type: "web_search";
4529
+ allowed_domains?: Array<string>;
4530
+ blocked_domains?: Array<string>;
4531
+ user_location?: null | {
4532
+ type: "approximate";
4533
+ city?: null | string;
4534
+ country?: null | string;
4535
+ region?: null | string;
4536
+ timezone?: null | string;
4537
+ };
4538
+ } | {
4539
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
4540
+ enabled: boolean;
4541
+ permission_policy: {
4542
+ type: "always_allow" | "always_ask";
4543
+ };
4544
+ }>;
4545
+ default_config: {
4546
+ enabled: boolean;
4547
+ permission_policy: {
4548
+ type: "always_allow";
4549
+ } | {
4550
+ type: "always_ask";
4551
+ } | {
4552
+ type: "auto";
4553
+ };
4554
+ };
4555
+ type: "agent_toolset_20260401";
4556
+ } | {
4557
+ type: "mcp_toolset";
4558
+ mcp_server_name: string;
4559
+ default_config?: {
4560
+ enabled?: boolean | null;
4561
+ permission_policy?: null | {
4562
+ type: "always_allow" | "always_ask";
4563
+ };
4564
+ } | null;
4565
+ configs?: Array<{
4566
+ name: string;
4567
+ enabled?: boolean | null;
4568
+ permission_policy?: null | {
4569
+ type: "always_allow" | "always_ask";
4570
+ };
4571
+ }> | null;
4572
+ } | {
4573
+ description: string;
4574
+ input_schema: {
4575
+ type: "object";
4576
+ properties?: null | {
4577
+ [key: string]: unknown;
4578
+ };
4579
+ required?: null | Array<string>;
4580
+ [key: string]: unknown;
4581
+ };
4582
+ name: string;
4583
+ type: "custom";
4584
+ }>;
4585
+ type: "agent";
4586
+ version: number;
4587
+ }>;
4588
+ type: "coordinator";
4589
+ };
4590
+ name: string;
4591
+ skills: Array<{
4592
+ skill_id: string;
4593
+ type: "anthropic";
4594
+ version: string;
4595
+ } | {
4596
+ skill_id: string;
4597
+ type: "custom";
4598
+ version: string;
4599
+ }>;
4600
+ system: null | string;
4601
+ tools: Array<{
4602
+ configs: Array<{
4603
+ enabled: boolean;
4604
+ name: "bash";
4605
+ permission_policy: {
4606
+ type: "always_allow";
4607
+ } | {
4608
+ type: "always_ask";
4609
+ } | {
4610
+ type: "auto";
4611
+ };
4612
+ type: "bash";
4613
+ } | {
4614
+ enabled: boolean;
4615
+ name: "edit";
4616
+ permission_policy: {
4617
+ type: "always_allow";
4618
+ } | {
4619
+ type: "always_ask";
4620
+ } | {
4621
+ type: "auto";
4622
+ };
4623
+ type: "edit";
4624
+ } | {
4625
+ enabled: boolean;
4626
+ name: "read";
4627
+ permission_policy: {
4628
+ type: "always_allow";
4629
+ } | {
4630
+ type: "always_ask";
4631
+ } | {
4632
+ type: "auto";
4633
+ };
4634
+ type: "read";
4635
+ } | {
4636
+ enabled: boolean;
4637
+ name: "write";
4638
+ permission_policy: {
4639
+ type: "always_allow";
4640
+ } | {
4641
+ type: "always_ask";
4642
+ } | {
4643
+ type: "auto";
4644
+ };
4645
+ type: "write";
4646
+ } | {
4647
+ enabled: boolean;
4648
+ name: "glob";
4649
+ permission_policy: {
4650
+ type: "always_allow";
4651
+ } | {
4652
+ type: "always_ask";
4653
+ } | {
4654
+ type: "auto";
4655
+ };
4656
+ type: "glob";
4657
+ } | {
4658
+ enabled: boolean;
4659
+ name: "grep";
4660
+ permission_policy: {
4661
+ type: "always_allow";
4662
+ } | {
4663
+ type: "always_ask";
4664
+ } | {
4665
+ type: "auto";
4666
+ };
4667
+ type: "grep";
4668
+ } | {
4669
+ enabled: boolean;
4670
+ name: "web_fetch";
4671
+ permission_policy: {
4672
+ type: "always_allow";
4673
+ } | {
4674
+ type: "always_ask";
4675
+ } | {
4676
+ type: "auto";
4677
+ };
4678
+ type: "web_fetch";
4679
+ allowed_domains?: Array<string>;
4680
+ blocked_domains?: Array<string>;
4681
+ max_content_tokens?: null | number;
4682
+ } | {
4683
+ enabled: boolean;
4684
+ name: "web_search";
4685
+ permission_policy: {
4686
+ type: "always_allow";
4687
+ } | {
4688
+ type: "always_ask";
4689
+ } | {
4690
+ type: "auto";
4691
+ };
4692
+ type: "web_search";
4693
+ allowed_domains?: Array<string>;
4694
+ blocked_domains?: Array<string>;
4695
+ user_location?: null | {
4696
+ type: "approximate";
4697
+ city?: null | string;
4698
+ country?: null | string;
4699
+ region?: null | string;
4700
+ timezone?: null | string;
4701
+ };
4702
+ } | {
4703
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
4704
+ enabled: boolean;
4705
+ permission_policy: {
4706
+ type: "always_allow" | "always_ask";
4707
+ };
4708
+ }>;
4709
+ default_config: {
4710
+ enabled: boolean;
4711
+ permission_policy: {
4712
+ type: "always_allow";
4713
+ } | {
4714
+ type: "always_ask";
4715
+ } | {
4716
+ type: "auto";
4717
+ };
4718
+ };
4719
+ type: "agent_toolset_20260401";
4720
+ } | {
4721
+ type: "mcp_toolset";
4722
+ mcp_server_name: string;
4723
+ default_config?: {
4724
+ enabled?: boolean | null;
4725
+ permission_policy?: null | {
4726
+ type: "always_allow" | "always_ask";
4727
+ };
4728
+ } | null;
4729
+ configs?: Array<{
4730
+ name: string;
4731
+ enabled?: boolean | null;
4732
+ permission_policy?: null | {
4733
+ type: "always_allow" | "always_ask";
4734
+ };
4735
+ }> | null;
4736
+ } | {
4737
+ description: string;
4738
+ input_schema: {
4739
+ type: "object";
4740
+ properties?: null | {
4741
+ [key: string]: unknown;
4742
+ };
4743
+ required?: null | Array<string>;
4744
+ [key: string]: unknown;
4745
+ };
4746
+ name: string;
4747
+ type: "custom";
4748
+ }>;
4749
+ type: "agent";
4750
+ version: number;
4751
+ };
4752
+ archived_at: null | string;
4753
+ budget: null | {
4754
+ max_list_cost: {
4755
+ amount: string;
4756
+ currency: "USD";
4757
+ };
4758
+ type: "limit";
4759
+ };
4760
+ created_at: string;
4761
+ environment_id?: string;
4762
+ metadata: {
4763
+ [key: string]: string;
4764
+ };
4765
+ outcome_evaluations: Array<{
4766
+ completed_at: null | string;
4767
+ description: string;
4768
+ explanation: null | string;
4769
+ iteration: number;
4770
+ outcome_id: string;
4771
+ result: string;
4772
+ type: "outcome_evaluation";
4773
+ }>;
4774
+ resources: Array<{
4775
+ id: string;
4776
+ created_at: string;
4777
+ mount_path: string;
4778
+ type: "github_repository";
4779
+ updated_at: string;
4780
+ url: string;
4781
+ checkout?: null | {
4782
+ name: string;
4783
+ type: "branch";
4784
+ } | {
4785
+ sha: string;
4786
+ type: "commit";
4787
+ };
4788
+ } | {
4789
+ id: string;
4790
+ created_at: string;
4791
+ file_id: string;
4792
+ mount_path: string;
4793
+ type: "file";
4794
+ updated_at: string;
4795
+ } | {
4796
+ memory_store_id: string;
4797
+ type: "memory_store";
4798
+ access?: null | "read_write" | "read_only";
4799
+ description?: string;
4800
+ instructions?: null | string;
4801
+ mount_path?: null | string;
4802
+ name?: null | string;
4803
+ }>;
4804
+ stats: {
4805
+ active_seconds?: number;
4806
+ duration_seconds?: number;
4807
+ };
4808
+ status: "rescheduling" | "running" | "idle" | "terminated";
4809
+ title: null | string;
4810
+ type: "session";
4811
+ updated_at: string;
4812
+ usage: {
4813
+ active_seconds?: number;
4814
+ cache_creation?: {
4815
+ ephemeral_1h_input_tokens?: number;
4816
+ ephemeral_5m_input_tokens?: number;
4817
+ };
4818
+ cache_read_input_tokens?: number;
4819
+ input_tokens?: number;
4820
+ list_cost?: null | {
4821
+ amount: string;
4822
+ currency: "USD";
4823
+ };
4824
+ output_tokens?: number;
4825
+ server_tool_use?: null | {
4826
+ web_fetch_requests?: number;
4827
+ web_search_requests?: number;
4828
+ };
4829
+ cost_by_product?: {
4830
+ [key: string]: string;
4831
+ };
4832
+ subagent_cost_micro_usd?: number;
4833
+ };
4834
+ vault_ids: Array<string>;
4835
+ deployment_id?: null | string;
4836
+ cwd: string;
4837
+ workspace?: {
4838
+ kind: "shared" | "isolated";
4839
+ path?: string;
4840
+ branch?: string;
4841
+ };
4842
+ computer_id?: string;
4843
+ model?: {
4844
+ id: string;
4845
+ thinking: {
4846
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
4847
+ can_disable: boolean;
4848
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
4849
+ } | null;
4850
+ };
4851
+ thinking?: {
4852
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4853
+ } | null;
4854
+ forked_from?: {
4855
+ session_id: string;
4856
+ message_id: string;
4857
+ } | null;
4858
+ readonly external_user_id: string | null;
4859
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
4860
+ }>;
4861
+ };
4862
+ requests: {
4863
+ list: (options: import("./core/transport.js").CallOptions<Types.ListSessionRequestsData>) => Promise<{
4864
+ data: Array<{
4865
+ id: string;
4866
+ object: "request";
4867
+ kind: "question" | "approval";
4868
+ status: "pending";
4869
+ tool_name: string;
4870
+ input: unknown;
4871
+ create_time: string;
4872
+ expire_time: string | null;
4873
+ }>;
4874
+ }>;
4875
+ };
4876
+ resources: {
4877
+ create: (options: import("./core/transport.js").CallOptions<Types.SessionsResourcesAddData>) => Promise<Types.AgentManaged176>;
4878
+ delete: (options: import("./core/transport.js").CallOptions<RenameParameters<Types.SessionsResourcesDeleteData, {
4879
+ query: {
4880
+ "session_id": "query_session_id";
4881
+ };
4882
+ }>>) => Promise<Types.AgentManaged255>;
4883
+ list: (options: import("./core/transport.js").CallOptions<Types.SessionsResourcesListData>) => Promise<{
4884
+ data: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
4885
+ next_page: string | null;
4886
+ }>;
4887
+ retrieve: (options: import("./core/transport.js").CallOptions<RenameParameters<Types.SessionsResourcesRetrieveData, {
4888
+ query: {
4889
+ "session_id": "query_session_id";
4890
+ };
4891
+ }>>) => Promise<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
4892
+ };
4893
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.SessionsRetrieveData>) => Promise<{
4894
+ id: string;
4895
+ agent: {
4896
+ id: string;
4897
+ description: null | string;
4898
+ mcp_servers: Array<Types.AgentManaged36>;
4899
+ model: {
4900
+ id: string;
4901
+ effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
4902
+ inference_geo?: string;
4903
+ speed?: "standard" | "fast";
4904
+ settings?: {
4905
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4906
+ max_output_tokens?: number;
4907
+ };
4908
+ };
4909
+ multiagent: null | Types.AgentManaged171;
4910
+ name: string;
4911
+ skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
4912
+ system: null | string;
4913
+ tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
4914
+ type: "agent";
4915
+ version: number;
4916
+ };
4917
+ archived_at: null | string;
4918
+ budget: null | Types.AgentManaged76;
4919
+ created_at: string;
4920
+ environment_id?: string;
4921
+ metadata: Types.AgentManaged173;
4922
+ outcome_evaluations: Array<Types.AgentManaged174>;
4923
+ resources: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
4924
+ stats: Types.AgentManaged178;
4925
+ status: "rescheduling" | "running" | "idle" | "terminated";
4926
+ title: null | string;
4927
+ type: "session";
4928
+ updated_at: string;
4929
+ usage: Types.AgentManaged179;
4930
+ vault_ids: Array<string>;
4931
+ deployment_id?: null | string;
4932
+ cwd: string;
4933
+ workspace?: {
4934
+ kind: "shared" | "isolated";
4935
+ path?: string;
4936
+ branch?: string;
4937
+ };
4938
+ computer_id?: string;
4939
+ model?: {
4940
+ id: string;
4941
+ thinking: {
4942
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
4943
+ can_disable: boolean;
4944
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
4945
+ } | null;
4946
+ };
4947
+ thinking?: {
4948
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4949
+ } | null;
4950
+ forked_from?: {
4951
+ session_id: string;
4952
+ message_id: string;
4953
+ } | null;
4954
+ readonly external_user_id: string | null;
4955
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
4956
+ }>;
4957
+ retrieveCompact: (options: import("./core/transport.js").CallOptions<Types.GetSessionCompactionData>) => Promise<{
4958
+ type: "session_compaction";
4959
+ id: string;
4960
+ status: "queued" | "running" | "skipped" | "succeeded" | "failed" | "cancelled";
4961
+ reason?: string;
4962
+ }>;
4963
+ retrieveContext: (options: import("./core/transport.js").CallOptions<Types.GetSessionContextData>) => Promise<{
4964
+ type: "session_context";
4965
+ session_id: string;
4966
+ model: {
4967
+ id: string;
4968
+ display_name: string;
4969
+ thinking: {
4970
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
4971
+ can_disable: boolean;
4972
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
4973
+ } | null;
4974
+ };
4975
+ total_tokens: number | null;
4976
+ total_tokens_source: "actual" | "estimated" | null;
4977
+ max_tokens: number | null;
4978
+ max_input_tokens: number | null;
4979
+ percentage: number;
4980
+ auto_compact_threshold: number | null;
4981
+ is_auto_compact_enabled: boolean;
4982
+ clear_tool_results_at: number;
4983
+ detail: "summary";
4984
+ categories: Array<{
4985
+ key: string;
4986
+ name: string;
4987
+ tokens: number;
4988
+ kind: "used" | "free" | "buffer" | "deferred";
4989
+ }>;
4990
+ mcp_tools: Array<{
4991
+ name: string;
4992
+ server_name: string;
4993
+ tokens: number;
4994
+ }>;
4995
+ plugin_blocks: Array<{
4996
+ name: string;
4997
+ tokens: number;
4998
+ }>;
4999
+ message_breakdown: {
5000
+ user_message_tokens: number;
5001
+ assistant_message_tokens: number;
5002
+ tool_call_tokens: number;
5003
+ tool_result_tokens: number;
5004
+ reasoning_tokens: number;
5005
+ tool_calls_by_type: Array<{
5006
+ name: string;
5007
+ call_tokens: number;
5008
+ result_tokens: number;
5009
+ }>;
5010
+ };
5011
+ compaction_summary: {
5012
+ tokens: number;
5013
+ } | null;
5014
+ excluded_items: {
5015
+ count: number;
5016
+ tokens: number;
5017
+ };
5018
+ measured_at: string | null;
5019
+ }>;
5020
+ runs: {
5021
+ deleteFeedback: (options: import("./core/transport.js").CallOptions<Types.DeleteRunFeedbackData>) => Promise<void>;
5022
+ feedback: {
5023
+ create: (options: import("./core/transport.js").CallOptions<Types.SetRunFeedbackData>) => Promise<{
5024
+ type: "run_feedback";
5025
+ session_id: string;
5026
+ run_id: string;
5027
+ rating: "positive" | "negative";
5028
+ comment: string | null;
5029
+ created_at: string;
5030
+ updated_at: string;
5031
+ }>;
5032
+ };
5033
+ };
5034
+ threads: {
5035
+ archive: (options: import("./core/transport.js").CallOptions<RenameParameters<Types.SessionsThreadsArchiveData, {
5036
+ query: {
5037
+ "session_id": "query_session_id";
5038
+ };
5039
+ }>>) => Promise<Types.AgentManaged256>;
5040
+ events: {
5041
+ list: (options: import("./core/transport.js").CallOptions<RenameParameters<Types.SessionsThreadsEventsListData, {
5042
+ query: {
5043
+ "session_id": "query_session_id";
5044
+ };
5045
+ }>>) => Promise<{
5046
+ data: Array<{
5047
+ id: string;
5048
+ content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
5049
+ type: "user.message";
5050
+ processed_at?: null | string;
5051
+ praxis_context?: {
5052
+ items: Array<{
5053
+ name: string;
5054
+ value: string;
5055
+ }>;
5056
+ };
5057
+ message_id?: string;
5058
+ } | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged192 | {
5059
+ id: string;
5060
+ content: Array<{
5061
+ text: string;
4483
5062
  type: "text";
4484
5063
  citations?: Array<{
4485
5064
  type: "search_result_location";
@@ -4722,6 +5301,11 @@ export declare function createAgent(transport: Transport): {
4722
5301
  vault_ids: Array<string>;
4723
5302
  deployment_id?: null | string;
4724
5303
  cwd: string;
5304
+ workspace?: {
5305
+ kind: "shared" | "isolated";
5306
+ path?: string;
5307
+ branch?: string;
5308
+ };
4725
5309
  computer_id?: string;
4726
5310
  model?: {
4727
5311
  id: string;
@@ -5073,6 +5657,11 @@ export declare function createAutomation(transport: Transport): {
5073
5657
  };
5074
5658
  };
5075
5659
  };
5660
+ export declare function createBilling(transport: Transport): {
5661
+ prices: {
5662
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListPublicPricesData> | undefined) => Promise<Types.BillingPriceList>;
5663
+ };
5664
+ };
5076
5665
  export declare function createBrowser(transport: Transport): {
5077
5666
  connect: {
5078
5667
  retrieve: (options?: import("./core/transport.js").CallOptions<Types.BrowserConnectData> | undefined) => Promise<unknown>;
@@ -5438,6 +6027,13 @@ export declare function createDevops(transport: Transport): {
5438
6027
  create: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesCreateData>) => Promise<Types.DevopsChange>;
5439
6028
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesListData>) => Promise<Types.DevopsChangePage>;
5440
6029
  };
6030
+ cleanups: {
6031
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsCleanupsListData>) => Promise<Types.DevopsCleanupPage>;
6032
+ };
6033
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsCreateData>) => Promise<Types.DevopsProject>;
6034
+ defaultBranch: {
6035
+ initialize: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsInitializeDefaultBranchData>) => Promise<Types.DevopsDefaultBranchInitialized>;
6036
+ };
5441
6037
  environments: {
5442
6038
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsListData>) => Promise<Types.DevopsEnvironmentList>;
5443
6039
  targets: {
@@ -5510,6 +6106,7 @@ export declare function createDevops(transport: Transport): {
5510
6106
  promotions: {
5511
6107
  approve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsApproveData>) => Promise<Types.DevopsPromotion>;
5512
6108
  cancel: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCancelData>) => Promise<Types.DevopsPromotion>;
6109
+ checkoutCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCheckoutCredentialData>) => Promise<Types.DevopsCheckoutCredential>;
5513
6110
  conclude: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsConcludeData>) => Promise<Types.DevopsPromotion>;
5514
6111
  create: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCreateData>) => Promise<Types.DevopsPromotion>;
5515
6112
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsGetData>) => Promise<Types.DevopsPromotion>;
@@ -5519,10 +6116,14 @@ export declare function createDevops(transport: Transport): {
5519
6116
  };
5520
6117
  };
5521
6118
  pullRequests: {
6119
+ close: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsCloseData>) => Promise<Types.DevopsPullRequest>;
5522
6120
  merge: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsMergeData>) => Promise<Types.DevopsPullRequest>;
5523
6121
  recordVerdict: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRecordVerdictData>) => Promise<Types.DevopsPullRequest>;
5524
6122
  rerunGate: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRerunGateData>) => Promise<Types.DevopsPullRequest>;
5525
6123
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsGetData>) => Promise<Types.DevopsPullRequest>;
6124
+ reviews: {
6125
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsReviewsCreateData>) => Promise<Types.DevopsPullRequest>;
6126
+ };
5526
6127
  };
5527
6128
  releases: {
5528
6129
  abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesAbandonData>) => Promise<Types.DevopsRelease>;
@@ -5738,6 +6339,12 @@ export declare function createMedia(transport: Transport): {
5738
6339
  retrieveFailureSummary: (options: import("./core/transport.js").CallOptions<Types.MediaUnderstandingFailureSummaryData>) => Promise<Types.MediaFailureSummary>;
5739
6340
  };
5740
6341
  update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateLibraryData>) => Promise<Types.MediaLibrary>;
6342
+ voices: {
6343
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateVoiceData>) => Promise<Types.MediaJob>;
6344
+ designs: {
6345
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaDesignVoiceData>) => Promise<Types.MediaJob>;
6346
+ };
6347
+ };
5741
6348
  };
5742
6349
  speech: {
5743
6350
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateSpeechData>) => Promise<Types.MediaJob>;
@@ -6427,6 +7034,9 @@ export declare function createOrganization(transport: Transport): {
6427
7034
  update: (options: import("./core/transport.js").CallOptions<Types.ReorganizeOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
6428
7035
  updateCharter: (options: import("./core/transport.js").CallOptions<Types.AmendOrganizationDepartmentCharterData>) => Promise<Types.OrganizationDepartment>;
6429
7036
  };
7037
+ effectiveSpec: {
7038
+ retrieve: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationEffectiveSpecData> | undefined) => Promise<Types.OrganizationEffectiveSpec>;
7039
+ };
6430
7040
  events: {
6431
7041
  list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationEventsData>) => Promise<{
6432
7042
  object: "page";
@@ -6709,6 +7319,26 @@ export declare function createOrganization(transport: Transport): {
6709
7319
  updateLevel: (options: import("./core/transport.js").CallOptions<Types.RegradeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
6710
7320
  updateManager: (options: import("./core/transport.js").CallOptions<Types.ReassignOrganizationPositionManagerData>) => Promise<Types.OrganizationPosition>;
6711
7321
  };
7322
+ reconcile: {
7323
+ pause: (options: import("./core/transport.js").CallOptions<Types.PauseOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
7324
+ resume: (options: import("./core/transport.js").CallOptions<Types.ResumeOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
7325
+ retrievePlan: (options: import("./core/transport.js").CallOptions<Types.PlanOrganizationReconcileData>) => Promise<Types.OrganizationReconcilePlan>;
7326
+ run: {
7327
+ create: (options: import("./core/transport.js").CallOptions<Types.RunOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
7328
+ };
7329
+ status: {
7330
+ list: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationReconcileStatusData>) => Promise<Types.OrganizationReconcileStatus>;
7331
+ };
7332
+ };
7333
+ specs: {
7334
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecsData> | undefined) => Promise<Types.OrganizationSpecList>;
7335
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationSpecData>) => Promise<Types.OrganizationSpec>;
7336
+ retrieveDiff: (options: import("./core/transport.js").CallOptions<Types.DiffOrganizationSpecData>) => Promise<Types.OrganizationSpecDiff>;
7337
+ revisions: {
7338
+ list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecRevisionsData>) => Promise<Types.OrganizationSpecRevisionList>;
7339
+ };
7340
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationSpecData>) => Promise<Types.OrganizationSpec>;
7341
+ };
6712
7342
  usage: {
6713
7343
  list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationUsageData>) => Promise<{
6714
7344
  object: "page";
@@ -6738,6 +7368,27 @@ export declare function createRegistry(transport: Transport): {
6738
7368
  update: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsUpdateData>) => Promise<Types.RegistryInstallation>;
6739
7369
  };
6740
7370
  packages: {
7371
+ git: {
7372
+ commits: {
7373
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCommitsRetrieveData>) => Promise<Types.RegistryGitCommitDetail>;
7374
+ };
7375
+ files: {
7376
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitFilesRetrieveData>) => Promise<Blob | File>;
7377
+ };
7378
+ refs: {
7379
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryGitRefsData>) => Promise<Types.RegistryGitRefs>;
7380
+ };
7381
+ retrieveCompare: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCompareData>) => Promise<Types.RegistryGitComparison>;
7382
+ retrieveLog: (options: import("./core/transport.js").CallOptions<Types.RegistryGitLogData>) => Promise<Types.RegistryGitLog>;
7383
+ retrieveResolve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitResolveData>) => Promise<Types.RegistryGitResolvedRef>;
7384
+ trees: {
7385
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRetrieveData>) => Promise<Types.RegistryGitTree>;
7386
+ retrieveRecursive: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRecursiveData>) => Promise<Types.RegistryGitTreeRecursive>;
7387
+ };
7388
+ };
7389
+ gitCredential: {
7390
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesGitCredentialCreateData>) => Promise<Types.RegistryGitCredential>;
7391
+ };
6741
7392
  installations: {
6742
7393
  create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsCreateData>) => Promise<Types.RegistryInstallResult>;
6743
7394
  list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsListData>) => Promise<Types.RegistryInstallationList>;
@@ -6769,12 +7420,105 @@ export declare function createRegistry(transport: Transport): {
6769
7420
  };
6770
7421
  };
6771
7422
  export declare function createSandbox(transport: Transport): {
7423
+ byod: {
7424
+ devices: {
7425
+ disconnect: {
7426
+ create: (options: import("./core/transport.js").CallOptions<Types.DisconnectByodDeviceData>) => Promise<{
7427
+ id: string;
7428
+ object: "byod_device";
7429
+ disconnected: true;
7430
+ }>;
7431
+ };
7432
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListByodDevicesData> | undefined) => Promise<{
7433
+ data: Array<{
7434
+ object: "byod_device";
7435
+ id: string;
7436
+ platform: "android" | "macos" | "linux";
7437
+ name: string;
7438
+ model: string;
7439
+ os_version: string;
7440
+ online: boolean;
7441
+ last_seen_at: string | null;
7442
+ created_at: string;
7443
+ capabilities: Array<"display" | "agent">;
7444
+ agent_dirs: Array<string>;
7445
+ allow_bypass: boolean;
7446
+ }>;
7447
+ }>;
7448
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodDeviceData>) => Promise<{
7449
+ object: "byod_device";
7450
+ id: string;
7451
+ platform: "android" | "macos" | "linux";
7452
+ name: string;
7453
+ model: string;
7454
+ os_version: string;
7455
+ online: boolean;
7456
+ last_seen_at: string | null;
7457
+ created_at: string;
7458
+ capabilities: Array<"display" | "agent">;
7459
+ agent_dirs: Array<string>;
7460
+ allow_bypass: boolean;
7461
+ }>;
7462
+ update: (options: import("./core/transport.js").CallOptions<Types.UpdateByodDeviceData>) => Promise<{
7463
+ object: "byod_device";
7464
+ id: string;
7465
+ platform: "android" | "macos" | "linux";
7466
+ name: string;
7467
+ model: string;
7468
+ os_version: string;
7469
+ online: boolean;
7470
+ last_seen_at: string | null;
7471
+ created_at: string;
7472
+ capabilities: Array<"display" | "agent">;
7473
+ agent_dirs: Array<string>;
7474
+ allow_bypass: boolean;
7475
+ }>;
7476
+ };
7477
+ pairings: {
7478
+ claim: {
7479
+ create: (options: import("./core/transport.js").CallOptions<Types.ClaimByodPairingData>) => Promise<{
7480
+ device_id: string;
7481
+ credential: string;
7482
+ socket_url: string;
7483
+ }>;
7484
+ };
7485
+ create: (options?: import("./core/transport.js").CallOptions<Types.CreateByodPairingData> | undefined) => Promise<{
7486
+ code: string;
7487
+ expires_at: string;
7488
+ qr: string;
7489
+ }>;
7490
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodPairingData>) => Promise<{
7491
+ organization_name: string;
7492
+ expires_at: string;
7493
+ }>;
7494
+ };
7495
+ };
6772
7496
  events: {
6773
7497
  sandboxes: {
6774
7498
  retrieve: (options: import("./core/transport.js").CallOptions<Types.GetSandboxEventsData>) => Promise<Types.SandboxSandboxEvent[]>;
6775
7499
  };
6776
7500
  };
6777
7501
  sandboxes: {
7502
+ act: (options: import("./core/transport.js").CallOptions<Types.ActOnSandboxDisplayData>) => Promise<{
7503
+ type: "snapshot";
7504
+ snapshot: string;
7505
+ refs: number;
7506
+ truncated: boolean;
7507
+ package: string;
7508
+ } | {
7509
+ type: "screenshot";
7510
+ mediaType: string;
7511
+ data: string;
7512
+ width: number;
7513
+ height: number;
7514
+ bytes: number;
7515
+ } | {
7516
+ type: "ok";
7517
+ ms?: number;
7518
+ } | {
7519
+ type: "wait";
7520
+ ms: number;
7521
+ }>;
6778
7522
  commands: {
6779
7523
  run: (options: import("./core/transport.js").CallOptions<Types.RunSandboxCommandData>) => Promise<{
6780
7524
  stdout: string;
@@ -7303,6 +8047,7 @@ export declare const resourceFactories: {
7303
8047
  agent: typeof createAgent;
7304
8048
  application: typeof createApplication;
7305
8049
  automation: typeof createAutomation;
8050
+ billing: typeof createBilling;
7306
8051
  browser: typeof createBrowser;
7307
8052
  canvas: typeof createCanvas;
7308
8053
  content: typeof createContent;