@deepraxis/sdk 0.1.1-dev.cfc116e → 0.1.1-dev.d03c066

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.
@@ -39,9 +39,10 @@ export declare function createAgent(transport: Transport): {
39
39
  } | null;
40
40
  note: string | null;
41
41
  bindings: Array<{
42
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
42
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
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>;
@@ -222,9 +224,10 @@ export declare function createAgent(transport: Transport): {
222
224
  } | null;
223
225
  note: string | null;
224
226
  bindings: Array<{
225
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
227
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
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>;
@@ -758,9 +732,10 @@ export declare function createAgent(transport: Transport): {
758
732
  } | null;
759
733
  note: string | null;
760
734
  bindings: Array<{
761
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
735
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
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;
@@ -935,9 +939,10 @@ export declare function createAgent(transport: Transport): {
935
939
  } | null;
936
940
  note: string | null;
937
941
  bindings: Array<{
938
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
942
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
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,12 @@ 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
+ currency?: "USD" | "CNY" | null;
1158
+ };
1147
1159
  }>;
1148
1160
  unarchive: {
1149
1161
  create: (options: import("./core/transport.js").CallOptions<Types.UnarchiveAgentData>) => Promise<{
@@ -1385,9 +1397,10 @@ export declare function createAgent(transport: Transport): {
1385
1397
  } | null;
1386
1398
  note: string | null;
1387
1399
  bindings: Array<{
1388
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1400
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
1389
1401
  id: string;
1390
1402
  access: "read_only" | "read_write" | "invoke";
1403
+ customer_access?: "read_only" | "read_write" | "invoke";
1391
1404
  instructions?: string;
1392
1405
  readonly verified?: boolean;
1393
1406
  enabled?: boolean;
@@ -1512,6 +1525,7 @@ export declare function createAgent(transport: Transport): {
1512
1525
  };
1513
1526
  avatar: string | null;
1514
1527
  creation_source: string | null;
1528
+ managed_by: string | null;
1515
1529
  identity_number: string | null;
1516
1530
  environment_id?: string | null;
1517
1531
  vault_ids?: Array<string>;
@@ -1561,9 +1575,10 @@ export declare function createAgent(transport: Transport): {
1561
1575
  } | null;
1562
1576
  note: string | null;
1563
1577
  bindings: Array<{
1564
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1578
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
1565
1579
  id: string;
1566
1580
  access: "read_only" | "read_write" | "invoke";
1581
+ customer_access?: "read_only" | "read_write" | "invoke";
1567
1582
  instructions?: string;
1568
1583
  readonly verified?: boolean;
1569
1584
  enabled?: boolean;
@@ -1688,6 +1703,7 @@ export declare function createAgent(transport: Transport): {
1688
1703
  };
1689
1704
  avatar: string | null;
1690
1705
  creation_source: string | null;
1706
+ managed_by: string | null;
1691
1707
  identity_number: string | null;
1692
1708
  environment_id?: string | null;
1693
1709
  vault_ids?: Array<string>;
@@ -1707,6 +1723,12 @@ export declare function createAgent(transport: Transport): {
1707
1723
  max_file_bytes: number;
1708
1724
  max_files_per_session: number;
1709
1725
  };
1726
+ share_links: {
1727
+ enabled: boolean;
1728
+ daily_session_cap: number | null;
1729
+ daily_spend_cap_micro_usd: number | null;
1730
+ currency?: "USD" | "CNY" | null;
1731
+ };
1710
1732
  }>;
1711
1733
  versions: {
1712
1734
  apply: (options: import("./core/transport.js").CallOptions<Types.ApplyAgentVersionData>) => Promise<{
@@ -1948,9 +1970,10 @@ export declare function createAgent(transport: Transport): {
1948
1970
  } | null;
1949
1971
  note: string | null;
1950
1972
  bindings: Array<{
1951
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1973
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
1952
1974
  id: string;
1953
1975
  access: "read_only" | "read_write" | "invoke";
1976
+ customer_access?: "read_only" | "read_write" | "invoke";
1954
1977
  instructions?: string;
1955
1978
  readonly verified?: boolean;
1956
1979
  enabled?: boolean;
@@ -2075,6 +2098,7 @@ export declare function createAgent(transport: Transport): {
2075
2098
  };
2076
2099
  avatar: string | null;
2077
2100
  creation_source: string | null;
2101
+ managed_by: string | null;
2078
2102
  identity_number: string | null;
2079
2103
  environment_id?: string | null;
2080
2104
  vault_ids?: Array<string>;
@@ -2124,9 +2148,10 @@ export declare function createAgent(transport: Transport): {
2124
2148
  } | null;
2125
2149
  note: string | null;
2126
2150
  bindings: Array<{
2127
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
2151
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
2128
2152
  id: string;
2129
2153
  access: "read_only" | "read_write" | "invoke";
2154
+ customer_access?: "read_only" | "read_write" | "invoke";
2130
2155
  instructions?: string;
2131
2156
  readonly verified?: boolean;
2132
2157
  enabled?: boolean;
@@ -2251,6 +2276,7 @@ export declare function createAgent(transport: Transport): {
2251
2276
  };
2252
2277
  avatar: string | null;
2253
2278
  creation_source: string | null;
2279
+ managed_by: string | null;
2254
2280
  identity_number: string | null;
2255
2281
  environment_id?: string | null;
2256
2282
  vault_ids?: Array<string>;
@@ -2338,6 +2364,24 @@ export declare function createAgent(transport: Transport): {
2338
2364
  tier: "light" | "heavy";
2339
2365
  }>;
2340
2366
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesContentData>) => Promise<Blob | File>;
2367
+ retrievePreview: (options: import("./core/transport.js").CallOptions<Types.PreviewComputerFileData>) => Promise<{
2368
+ variant: "image" | "pdf" | "text" | "original";
2369
+ version?: string;
2370
+ mime_type?: string;
2371
+ size?: number;
2372
+ file_id?: string;
2373
+ url?: string;
2374
+ expires_at?: string;
2375
+ cached: boolean;
2376
+ fallback?: "content";
2377
+ skipped?: boolean;
2378
+ }>;
2379
+ updateContent: (options: import("./core/transport.js").CallOptions<Types.UpdateComputerFileContentData>) => Promise<{
2380
+ path: string;
2381
+ size: number;
2382
+ mtime: string | null;
2383
+ version: string;
2384
+ }>;
2341
2385
  };
2342
2386
  leases: {
2343
2387
  delete: (options: import("./core/transport.js").CallOptions<Types.ReleaseComputerLeaseData>) => Promise<{
@@ -3196,6 +3240,11 @@ export declare function createAgent(transport: Transport): {
3196
3240
  vault_ids: Array<string>;
3197
3241
  deployment_id?: null | string;
3198
3242
  cwd: string;
3243
+ workspace?: {
3244
+ kind: "shared" | "isolated";
3245
+ path?: string;
3246
+ branch?: string;
3247
+ };
3199
3248
  computer_id?: string;
3200
3249
  model?: {
3201
3250
  id: string;
@@ -3256,6 +3305,11 @@ export declare function createAgent(transport: Transport): {
3256
3305
  vault_ids: Array<string>;
3257
3306
  deployment_id?: null | string;
3258
3307
  cwd: string;
3308
+ workspace?: {
3309
+ kind: "shared" | "isolated";
3310
+ path?: string;
3311
+ branch?: string;
3312
+ };
3259
3313
  computer_id?: string;
3260
3314
  model?: {
3261
3315
  id: string;
@@ -3418,6 +3472,11 @@ export declare function createAgent(transport: Transport): {
3418
3472
  vault_ids: Array<string>;
3419
3473
  deployment_id?: null | string;
3420
3474
  cwd: string;
3475
+ workspace?: {
3476
+ kind: "shared" | "isolated";
3477
+ path?: string;
3478
+ branch?: string;
3479
+ };
3421
3480
  computer_id?: string;
3422
3481
  model?: {
3423
3482
  id: string;
@@ -3639,21 +3698,6 @@ export declare function createAgent(transport: Transport): {
3639
3698
  type: "user.steer";
3640
3699
  event_id: string;
3641
3700
  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
3701
  }>;
3658
3702
  next_page: string | null;
3659
3703
  }>;
@@ -3674,21 +3718,6 @@ export declare function createAgent(transport: Transport): {
3674
3718
  type: "user.steer";
3675
3719
  event_id: string;
3676
3720
  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
3721
  }>;
3693
3722
  }>;
3694
3723
  stream: (options: import("./core/transport.js").StreamOptions<Types.SessionsEventsStreamData>) => AsyncIterable<Types.AgentSseEvent>;
@@ -4204,6 +4233,11 @@ export declare function createAgent(transport: Transport): {
4204
4233
  vault_ids: Array<string>;
4205
4234
  deployment_id?: null | string;
4206
4235
  cwd: string;
4236
+ workspace?: {
4237
+ kind: "shared" | "isolated";
4238
+ path?: string;
4239
+ branch?: string;
4240
+ };
4207
4241
  computer_id?: string;
4208
4242
  model?: {
4209
4243
  id: string;
@@ -4264,6 +4298,11 @@ export declare function createAgent(transport: Transport): {
4264
4298
  vault_ids: Array<string>;
4265
4299
  deployment_id?: null | string;
4266
4300
  cwd: string;
4301
+ workspace?: {
4302
+ kind: "shared" | "isolated";
4303
+ path?: string;
4304
+ branch?: string;
4305
+ };
4267
4306
  computer_id?: string;
4268
4307
  model?: {
4269
4308
  id: string;
@@ -4285,201 +4324,743 @@ export declare function createAgent(transport: Transport): {
4285
4324
  }>;
4286
4325
  next_page: string | null;
4287
4326
  }>;
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: {
4327
+ name: {
4328
+ create: (options: import("./core/transport.js").CallOptions<Types.RenameSessionData>) => Promise<{
4322
4329
  id: string;
4323
- description: null | string;
4324
- mcp_servers: Array<Types.AgentManaged36>;
4325
- model: {
4330
+ agent: {
4326
4331
  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
- }>;
4332
+ description: null | string;
4333
+ mcp_servers: Array<{
4334
+ type: "url";
4335
+ name: string;
4336
+ url: string;
4337
+ headers?: {
4338
+ [key: string]: string;
4477
4339
  };
4478
- message_id?: string;
4479
- } | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged192 | {
4480
- id: string;
4481
- content: Array<{
4482
- text: string;
4340
+ timeout_ms?: number;
4341
+ } | {
4342
+ type: "sse";
4343
+ name: string;
4344
+ url: string;
4345
+ headers?: {
4346
+ [key: string]: string;
4347
+ };
4348
+ timeout_ms?: number;
4349
+ } | {
4350
+ type: "stdio";
4351
+ name: string;
4352
+ command: string;
4353
+ args?: Array<string>;
4354
+ env?: {
4355
+ [key: string]: string;
4356
+ };
4357
+ timeout_ms?: number;
4358
+ }>;
4359
+ model: {
4360
+ id: string;
4361
+ effort?: {
4362
+ type: "low";
4363
+ } | {
4364
+ type: "medium";
4365
+ } | {
4366
+ type: "high";
4367
+ } | {
4368
+ type: "xhigh";
4369
+ } | {
4370
+ type: "max";
4371
+ };
4372
+ inference_geo?: string;
4373
+ speed?: "standard" | "fast";
4374
+ settings?: {
4375
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4376
+ max_output_tokens?: number;
4377
+ };
4378
+ };
4379
+ multiagent: null | {
4380
+ agents: Array<{
4381
+ model: string;
4382
+ type: "advisor";
4383
+ } | {
4384
+ id: string;
4385
+ description: null | string;
4386
+ mcp_servers: Array<{
4387
+ type: "url";
4388
+ name: string;
4389
+ url: string;
4390
+ headers?: {
4391
+ [key: string]: string;
4392
+ };
4393
+ timeout_ms?: number;
4394
+ } | {
4395
+ type: "sse";
4396
+ name: string;
4397
+ url: string;
4398
+ headers?: {
4399
+ [key: string]: string;
4400
+ };
4401
+ timeout_ms?: number;
4402
+ } | {
4403
+ type: "stdio";
4404
+ name: string;
4405
+ command: string;
4406
+ args?: Array<string>;
4407
+ env?: {
4408
+ [key: string]: string;
4409
+ };
4410
+ timeout_ms?: number;
4411
+ }>;
4412
+ model: {
4413
+ id: string;
4414
+ effort?: {
4415
+ type: "low";
4416
+ } | {
4417
+ type: "medium";
4418
+ } | {
4419
+ type: "high";
4420
+ } | {
4421
+ type: "xhigh";
4422
+ } | {
4423
+ type: "max";
4424
+ };
4425
+ inference_geo?: string;
4426
+ speed?: "standard" | "fast";
4427
+ };
4428
+ name: string;
4429
+ skills: Array<{
4430
+ skill_id: string;
4431
+ type: "anthropic";
4432
+ version: string;
4433
+ } | {
4434
+ skill_id: string;
4435
+ type: "custom";
4436
+ version: string;
4437
+ }>;
4438
+ system: null | string;
4439
+ tools: Array<{
4440
+ configs: Array<{
4441
+ enabled: boolean;
4442
+ name: "bash";
4443
+ permission_policy: {
4444
+ type: "always_allow";
4445
+ } | {
4446
+ type: "always_ask";
4447
+ } | {
4448
+ type: "auto";
4449
+ };
4450
+ type: "bash";
4451
+ } | {
4452
+ enabled: boolean;
4453
+ name: "edit";
4454
+ permission_policy: {
4455
+ type: "always_allow";
4456
+ } | {
4457
+ type: "always_ask";
4458
+ } | {
4459
+ type: "auto";
4460
+ };
4461
+ type: "edit";
4462
+ } | {
4463
+ enabled: boolean;
4464
+ name: "read";
4465
+ permission_policy: {
4466
+ type: "always_allow";
4467
+ } | {
4468
+ type: "always_ask";
4469
+ } | {
4470
+ type: "auto";
4471
+ };
4472
+ type: "read";
4473
+ } | {
4474
+ enabled: boolean;
4475
+ name: "write";
4476
+ permission_policy: {
4477
+ type: "always_allow";
4478
+ } | {
4479
+ type: "always_ask";
4480
+ } | {
4481
+ type: "auto";
4482
+ };
4483
+ type: "write";
4484
+ } | {
4485
+ enabled: boolean;
4486
+ name: "glob";
4487
+ permission_policy: {
4488
+ type: "always_allow";
4489
+ } | {
4490
+ type: "always_ask";
4491
+ } | {
4492
+ type: "auto";
4493
+ };
4494
+ type: "glob";
4495
+ } | {
4496
+ enabled: boolean;
4497
+ name: "grep";
4498
+ permission_policy: {
4499
+ type: "always_allow";
4500
+ } | {
4501
+ type: "always_ask";
4502
+ } | {
4503
+ type: "auto";
4504
+ };
4505
+ type: "grep";
4506
+ } | {
4507
+ enabled: boolean;
4508
+ name: "web_fetch";
4509
+ permission_policy: {
4510
+ type: "always_allow";
4511
+ } | {
4512
+ type: "always_ask";
4513
+ } | {
4514
+ type: "auto";
4515
+ };
4516
+ type: "web_fetch";
4517
+ allowed_domains?: Array<string>;
4518
+ blocked_domains?: Array<string>;
4519
+ max_content_tokens?: null | number;
4520
+ } | {
4521
+ enabled: boolean;
4522
+ name: "web_search";
4523
+ permission_policy: {
4524
+ type: "always_allow";
4525
+ } | {
4526
+ type: "always_ask";
4527
+ } | {
4528
+ type: "auto";
4529
+ };
4530
+ type: "web_search";
4531
+ allowed_domains?: Array<string>;
4532
+ blocked_domains?: Array<string>;
4533
+ user_location?: null | {
4534
+ type: "approximate";
4535
+ city?: null | string;
4536
+ country?: null | string;
4537
+ region?: null | string;
4538
+ timezone?: null | string;
4539
+ };
4540
+ } | {
4541
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
4542
+ enabled: boolean;
4543
+ permission_policy: {
4544
+ type: "always_allow" | "always_ask";
4545
+ };
4546
+ }>;
4547
+ default_config: {
4548
+ enabled: boolean;
4549
+ permission_policy: {
4550
+ type: "always_allow";
4551
+ } | {
4552
+ type: "always_ask";
4553
+ } | {
4554
+ type: "auto";
4555
+ };
4556
+ };
4557
+ type: "agent_toolset_20260401";
4558
+ } | {
4559
+ type: "mcp_toolset";
4560
+ mcp_server_name: string;
4561
+ default_config?: {
4562
+ enabled?: boolean | null;
4563
+ permission_policy?: null | {
4564
+ type: "always_allow" | "always_ask";
4565
+ };
4566
+ } | null;
4567
+ configs?: Array<{
4568
+ name: string;
4569
+ enabled?: boolean | null;
4570
+ permission_policy?: null | {
4571
+ type: "always_allow" | "always_ask";
4572
+ };
4573
+ }> | null;
4574
+ } | {
4575
+ description: string;
4576
+ input_schema: {
4577
+ type: "object";
4578
+ properties?: null | {
4579
+ [key: string]: unknown;
4580
+ };
4581
+ required?: null | Array<string>;
4582
+ [key: string]: unknown;
4583
+ };
4584
+ name: string;
4585
+ type: "custom";
4586
+ }>;
4587
+ type: "agent";
4588
+ version: number;
4589
+ }>;
4590
+ type: "coordinator";
4591
+ };
4592
+ name: string;
4593
+ skills: Array<{
4594
+ skill_id: string;
4595
+ type: "anthropic";
4596
+ version: string;
4597
+ } | {
4598
+ skill_id: string;
4599
+ type: "custom";
4600
+ version: string;
4601
+ }>;
4602
+ system: null | string;
4603
+ tools: Array<{
4604
+ configs: Array<{
4605
+ enabled: boolean;
4606
+ name: "bash";
4607
+ permission_policy: {
4608
+ type: "always_allow";
4609
+ } | {
4610
+ type: "always_ask";
4611
+ } | {
4612
+ type: "auto";
4613
+ };
4614
+ type: "bash";
4615
+ } | {
4616
+ enabled: boolean;
4617
+ name: "edit";
4618
+ permission_policy: {
4619
+ type: "always_allow";
4620
+ } | {
4621
+ type: "always_ask";
4622
+ } | {
4623
+ type: "auto";
4624
+ };
4625
+ type: "edit";
4626
+ } | {
4627
+ enabled: boolean;
4628
+ name: "read";
4629
+ permission_policy: {
4630
+ type: "always_allow";
4631
+ } | {
4632
+ type: "always_ask";
4633
+ } | {
4634
+ type: "auto";
4635
+ };
4636
+ type: "read";
4637
+ } | {
4638
+ enabled: boolean;
4639
+ name: "write";
4640
+ permission_policy: {
4641
+ type: "always_allow";
4642
+ } | {
4643
+ type: "always_ask";
4644
+ } | {
4645
+ type: "auto";
4646
+ };
4647
+ type: "write";
4648
+ } | {
4649
+ enabled: boolean;
4650
+ name: "glob";
4651
+ permission_policy: {
4652
+ type: "always_allow";
4653
+ } | {
4654
+ type: "always_ask";
4655
+ } | {
4656
+ type: "auto";
4657
+ };
4658
+ type: "glob";
4659
+ } | {
4660
+ enabled: boolean;
4661
+ name: "grep";
4662
+ permission_policy: {
4663
+ type: "always_allow";
4664
+ } | {
4665
+ type: "always_ask";
4666
+ } | {
4667
+ type: "auto";
4668
+ };
4669
+ type: "grep";
4670
+ } | {
4671
+ enabled: boolean;
4672
+ name: "web_fetch";
4673
+ permission_policy: {
4674
+ type: "always_allow";
4675
+ } | {
4676
+ type: "always_ask";
4677
+ } | {
4678
+ type: "auto";
4679
+ };
4680
+ type: "web_fetch";
4681
+ allowed_domains?: Array<string>;
4682
+ blocked_domains?: Array<string>;
4683
+ max_content_tokens?: null | number;
4684
+ } | {
4685
+ enabled: boolean;
4686
+ name: "web_search";
4687
+ permission_policy: {
4688
+ type: "always_allow";
4689
+ } | {
4690
+ type: "always_ask";
4691
+ } | {
4692
+ type: "auto";
4693
+ };
4694
+ type: "web_search";
4695
+ allowed_domains?: Array<string>;
4696
+ blocked_domains?: Array<string>;
4697
+ user_location?: null | {
4698
+ type: "approximate";
4699
+ city?: null | string;
4700
+ country?: null | string;
4701
+ region?: null | string;
4702
+ timezone?: null | string;
4703
+ };
4704
+ } | {
4705
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
4706
+ enabled: boolean;
4707
+ permission_policy: {
4708
+ type: "always_allow" | "always_ask";
4709
+ };
4710
+ }>;
4711
+ default_config: {
4712
+ enabled: boolean;
4713
+ permission_policy: {
4714
+ type: "always_allow";
4715
+ } | {
4716
+ type: "always_ask";
4717
+ } | {
4718
+ type: "auto";
4719
+ };
4720
+ };
4721
+ type: "agent_toolset_20260401";
4722
+ } | {
4723
+ type: "mcp_toolset";
4724
+ mcp_server_name: string;
4725
+ default_config?: {
4726
+ enabled?: boolean | null;
4727
+ permission_policy?: null | {
4728
+ type: "always_allow" | "always_ask";
4729
+ };
4730
+ } | null;
4731
+ configs?: Array<{
4732
+ name: string;
4733
+ enabled?: boolean | null;
4734
+ permission_policy?: null | {
4735
+ type: "always_allow" | "always_ask";
4736
+ };
4737
+ }> | null;
4738
+ } | {
4739
+ description: string;
4740
+ input_schema: {
4741
+ type: "object";
4742
+ properties?: null | {
4743
+ [key: string]: unknown;
4744
+ };
4745
+ required?: null | Array<string>;
4746
+ [key: string]: unknown;
4747
+ };
4748
+ name: string;
4749
+ type: "custom";
4750
+ }>;
4751
+ type: "agent";
4752
+ version: number;
4753
+ };
4754
+ archived_at: null | string;
4755
+ budget: null | {
4756
+ max_list_cost: {
4757
+ amount: string;
4758
+ currency: "USD";
4759
+ };
4760
+ type: "limit";
4761
+ };
4762
+ created_at: string;
4763
+ environment_id?: string;
4764
+ metadata: {
4765
+ [key: string]: string;
4766
+ };
4767
+ outcome_evaluations: Array<{
4768
+ completed_at: null | string;
4769
+ description: string;
4770
+ explanation: null | string;
4771
+ iteration: number;
4772
+ outcome_id: string;
4773
+ result: string;
4774
+ type: "outcome_evaluation";
4775
+ }>;
4776
+ resources: Array<{
4777
+ id: string;
4778
+ created_at: string;
4779
+ mount_path: string;
4780
+ type: "github_repository";
4781
+ updated_at: string;
4782
+ url: string;
4783
+ checkout?: null | {
4784
+ name: string;
4785
+ type: "branch";
4786
+ } | {
4787
+ sha: string;
4788
+ type: "commit";
4789
+ };
4790
+ } | {
4791
+ id: string;
4792
+ created_at: string;
4793
+ file_id: string;
4794
+ mount_path: string;
4795
+ type: "file";
4796
+ updated_at: string;
4797
+ } | {
4798
+ memory_store_id: string;
4799
+ type: "memory_store";
4800
+ access?: null | "read_write" | "read_only";
4801
+ description?: string;
4802
+ instructions?: null | string;
4803
+ mount_path?: null | string;
4804
+ name?: null | string;
4805
+ }>;
4806
+ stats: {
4807
+ active_seconds?: number;
4808
+ duration_seconds?: number;
4809
+ };
4810
+ status: "rescheduling" | "running" | "idle" | "terminated";
4811
+ title: null | string;
4812
+ type: "session";
4813
+ updated_at: string;
4814
+ usage: {
4815
+ active_seconds?: number;
4816
+ cache_creation?: {
4817
+ ephemeral_1h_input_tokens?: number;
4818
+ ephemeral_5m_input_tokens?: number;
4819
+ };
4820
+ cache_read_input_tokens?: number;
4821
+ input_tokens?: number;
4822
+ list_cost?: null | {
4823
+ amount: string;
4824
+ currency: "USD";
4825
+ };
4826
+ output_tokens?: number;
4827
+ server_tool_use?: null | {
4828
+ web_fetch_requests?: number;
4829
+ web_search_requests?: number;
4830
+ };
4831
+ cost_by_product?: {
4832
+ [key: string]: string;
4833
+ };
4834
+ subagent_cost_micro_usd?: number;
4835
+ };
4836
+ vault_ids: Array<string>;
4837
+ deployment_id?: null | string;
4838
+ cwd: string;
4839
+ workspace?: {
4840
+ kind: "shared" | "isolated";
4841
+ path?: string;
4842
+ branch?: string;
4843
+ };
4844
+ computer_id?: string;
4845
+ model?: {
4846
+ id: string;
4847
+ thinking: {
4848
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
4849
+ can_disable: boolean;
4850
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
4851
+ } | null;
4852
+ };
4853
+ thinking?: {
4854
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4855
+ } | null;
4856
+ forked_from?: {
4857
+ session_id: string;
4858
+ message_id: string;
4859
+ } | null;
4860
+ readonly external_user_id: string | null;
4861
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
4862
+ }>;
4863
+ };
4864
+ requests: {
4865
+ list: (options: import("./core/transport.js").CallOptions<Types.ListSessionRequestsData>) => Promise<{
4866
+ data: Array<{
4867
+ id: string;
4868
+ object: "request";
4869
+ kind: "question" | "approval";
4870
+ status: "pending";
4871
+ tool_name: string;
4872
+ input: unknown;
4873
+ create_time: string;
4874
+ expire_time: string | null;
4875
+ }>;
4876
+ }>;
4877
+ };
4878
+ resources: {
4879
+ create: (options: import("./core/transport.js").CallOptions<Types.SessionsResourcesAddData>) => Promise<Types.AgentManaged176>;
4880
+ delete: (options: import("./core/transport.js").CallOptions<RenameParameters<Types.SessionsResourcesDeleteData, {
4881
+ query: {
4882
+ "session_id": "query_session_id";
4883
+ };
4884
+ }>>) => Promise<Types.AgentManaged255>;
4885
+ list: (options: import("./core/transport.js").CallOptions<Types.SessionsResourcesListData>) => Promise<{
4886
+ data: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
4887
+ next_page: string | null;
4888
+ }>;
4889
+ retrieve: (options: import("./core/transport.js").CallOptions<RenameParameters<Types.SessionsResourcesRetrieveData, {
4890
+ query: {
4891
+ "session_id": "query_session_id";
4892
+ };
4893
+ }>>) => Promise<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
4894
+ };
4895
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.SessionsRetrieveData>) => Promise<{
4896
+ id: string;
4897
+ agent: {
4898
+ id: string;
4899
+ description: null | string;
4900
+ mcp_servers: Array<Types.AgentManaged36>;
4901
+ model: {
4902
+ id: string;
4903
+ effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
4904
+ inference_geo?: string;
4905
+ speed?: "standard" | "fast";
4906
+ settings?: {
4907
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4908
+ max_output_tokens?: number;
4909
+ };
4910
+ };
4911
+ multiagent: null | Types.AgentManaged171;
4912
+ name: string;
4913
+ skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
4914
+ system: null | string;
4915
+ tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
4916
+ type: "agent";
4917
+ version: number;
4918
+ };
4919
+ archived_at: null | string;
4920
+ budget: null | Types.AgentManaged76;
4921
+ created_at: string;
4922
+ environment_id?: string;
4923
+ metadata: Types.AgentManaged173;
4924
+ outcome_evaluations: Array<Types.AgentManaged174>;
4925
+ resources: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
4926
+ stats: Types.AgentManaged178;
4927
+ status: "rescheduling" | "running" | "idle" | "terminated";
4928
+ title: null | string;
4929
+ type: "session";
4930
+ updated_at: string;
4931
+ usage: Types.AgentManaged179;
4932
+ vault_ids: Array<string>;
4933
+ deployment_id?: null | string;
4934
+ cwd: string;
4935
+ workspace?: {
4936
+ kind: "shared" | "isolated";
4937
+ path?: string;
4938
+ branch?: string;
4939
+ };
4940
+ computer_id?: string;
4941
+ model?: {
4942
+ id: string;
4943
+ thinking: {
4944
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
4945
+ can_disable: boolean;
4946
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
4947
+ } | null;
4948
+ };
4949
+ thinking?: {
4950
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4951
+ } | null;
4952
+ forked_from?: {
4953
+ session_id: string;
4954
+ message_id: string;
4955
+ } | null;
4956
+ readonly external_user_id: string | null;
4957
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
4958
+ }>;
4959
+ retrieveCompact: (options: import("./core/transport.js").CallOptions<Types.GetSessionCompactionData>) => Promise<{
4960
+ type: "session_compaction";
4961
+ id: string;
4962
+ status: "queued" | "running" | "skipped" | "succeeded" | "failed" | "cancelled";
4963
+ reason?: string;
4964
+ }>;
4965
+ retrieveContext: (options: import("./core/transport.js").CallOptions<Types.GetSessionContextData>) => Promise<{
4966
+ type: "session_context";
4967
+ session_id: string;
4968
+ model: {
4969
+ id: string;
4970
+ display_name: string;
4971
+ thinking: {
4972
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
4973
+ can_disable: boolean;
4974
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
4975
+ } | null;
4976
+ };
4977
+ total_tokens: number | null;
4978
+ total_tokens_source: "actual" | "estimated" | null;
4979
+ max_tokens: number | null;
4980
+ max_input_tokens: number | null;
4981
+ percentage: number;
4982
+ auto_compact_threshold: number | null;
4983
+ is_auto_compact_enabled: boolean;
4984
+ clear_tool_results_at: number;
4985
+ detail: "summary";
4986
+ categories: Array<{
4987
+ key: string;
4988
+ name: string;
4989
+ tokens: number;
4990
+ kind: "used" | "free" | "buffer" | "deferred";
4991
+ }>;
4992
+ mcp_tools: Array<{
4993
+ name: string;
4994
+ server_name: string;
4995
+ tokens: number;
4996
+ }>;
4997
+ plugin_blocks: Array<{
4998
+ name: string;
4999
+ tokens: number;
5000
+ }>;
5001
+ message_breakdown: {
5002
+ user_message_tokens: number;
5003
+ assistant_message_tokens: number;
5004
+ tool_call_tokens: number;
5005
+ tool_result_tokens: number;
5006
+ reasoning_tokens: number;
5007
+ tool_calls_by_type: Array<{
5008
+ name: string;
5009
+ call_tokens: number;
5010
+ result_tokens: number;
5011
+ }>;
5012
+ };
5013
+ compaction_summary: {
5014
+ tokens: number;
5015
+ } | null;
5016
+ excluded_items: {
5017
+ count: number;
5018
+ tokens: number;
5019
+ };
5020
+ measured_at: string | null;
5021
+ }>;
5022
+ runs: {
5023
+ deleteFeedback: (options: import("./core/transport.js").CallOptions<Types.DeleteRunFeedbackData>) => Promise<void>;
5024
+ feedback: {
5025
+ create: (options: import("./core/transport.js").CallOptions<Types.SetRunFeedbackData>) => Promise<{
5026
+ type: "run_feedback";
5027
+ session_id: string;
5028
+ run_id: string;
5029
+ rating: "positive" | "negative";
5030
+ comment: string | null;
5031
+ created_at: string;
5032
+ updated_at: string;
5033
+ }>;
5034
+ };
5035
+ };
5036
+ threads: {
5037
+ archive: (options: import("./core/transport.js").CallOptions<RenameParameters<Types.SessionsThreadsArchiveData, {
5038
+ query: {
5039
+ "session_id": "query_session_id";
5040
+ };
5041
+ }>>) => Promise<Types.AgentManaged256>;
5042
+ events: {
5043
+ list: (options: import("./core/transport.js").CallOptions<RenameParameters<Types.SessionsThreadsEventsListData, {
5044
+ query: {
5045
+ "session_id": "query_session_id";
5046
+ };
5047
+ }>>) => Promise<{
5048
+ data: Array<{
5049
+ id: string;
5050
+ content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
5051
+ type: "user.message";
5052
+ processed_at?: null | string;
5053
+ praxis_context?: {
5054
+ items: Array<{
5055
+ name: string;
5056
+ value: string;
5057
+ }>;
5058
+ };
5059
+ message_id?: string;
5060
+ } | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged192 | {
5061
+ id: string;
5062
+ content: Array<{
5063
+ text: string;
4483
5064
  type: "text";
4484
5065
  citations?: Array<{
4485
5066
  type: "search_result_location";
@@ -4722,6 +5303,11 @@ export declare function createAgent(transport: Transport): {
4722
5303
  vault_ids: Array<string>;
4723
5304
  deployment_id?: null | string;
4724
5305
  cwd: string;
5306
+ workspace?: {
5307
+ kind: "shared" | "isolated";
5308
+ path?: string;
5309
+ branch?: string;
5310
+ };
4725
5311
  computer_id?: string;
4726
5312
  model?: {
4727
5313
  id: string;
@@ -5073,6 +5659,11 @@ export declare function createAutomation(transport: Transport): {
5073
5659
  };
5074
5660
  };
5075
5661
  };
5662
+ export declare function createBilling(transport: Transport): {
5663
+ prices: {
5664
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListPublicPricesData> | undefined) => Promise<Types.BillingPriceList>;
5665
+ };
5666
+ };
5076
5667
  export declare function createBrowser(transport: Transport): {
5077
5668
  connect: {
5078
5669
  retrieve: (options?: import("./core/transport.js").CallOptions<Types.BrowserConnectData> | undefined) => Promise<unknown>;
@@ -5350,6 +5941,11 @@ export declare function createCut(transport: Transport): {
5350
5941
  };
5351
5942
  export declare function createDatabase(transport: Transport): {
5352
5943
  databases: {
5944
+ commands: {
5945
+ execute: (options: import("./core/transport.js").CallOptions<Types.DatabaseExecuteCommandData>) => Promise<{
5946
+ result: unknown;
5947
+ }>;
5948
+ };
5353
5949
  create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateDatabaseData>) => Promise<Types.DatabaseDatabase>;
5354
5950
  delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteDatabaseData>) => Promise<Types.DatabaseDatabase>;
5355
5951
  events: {
@@ -5357,6 +5953,15 @@ export declare function createDatabase(transport: Transport): {
5357
5953
  data: Array<Types.DatabaseDatabaseEvent>;
5358
5954
  }>;
5359
5955
  };
5956
+ keys: {
5957
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteKeyData>) => Promise<{
5958
+ deleted: boolean;
5959
+ }>;
5960
+ list: (options: import("./core/transport.js").CallOptions<Types.DatabaseListKeysData>) => Promise<import("./automation.js").Page<Types.DatabaseKeySummary>>;
5961
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetKeyData>) => Promise<Types.DatabaseKey>;
5962
+ set: (options: import("./core/transport.js").CallOptions<Types.DatabaseSetKeyData>) => Promise<Types.DatabaseKey>;
5963
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateKeyData>) => Promise<Types.DatabaseKey>;
5964
+ };
5360
5965
  list: (options?: import("./core/transport.js").CallOptions<Types.DatabaseListDatabasesData> | undefined) => Promise<import("./automation.js").Page<Types.DatabaseDatabase>>;
5361
5966
  purge: {
5362
5967
  create: (options: import("./core/transport.js").CallOptions<Types.DatabasePurgeDatabaseData>) => Promise<{
@@ -5438,6 +6043,13 @@ export declare function createDevops(transport: Transport): {
5438
6043
  create: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesCreateData>) => Promise<Types.DevopsChange>;
5439
6044
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesListData>) => Promise<Types.DevopsChangePage>;
5440
6045
  };
6046
+ cleanups: {
6047
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsCleanupsListData>) => Promise<Types.DevopsCleanupPage>;
6048
+ };
6049
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsCreateData>) => Promise<Types.DevopsProject>;
6050
+ defaultBranch: {
6051
+ initialize: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsInitializeDefaultBranchData>) => Promise<Types.DevopsDefaultBranchInitialized>;
6052
+ };
5441
6053
  environments: {
5442
6054
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsListData>) => Promise<Types.DevopsEnvironmentList>;
5443
6055
  targets: {
@@ -5510,6 +6122,7 @@ export declare function createDevops(transport: Transport): {
5510
6122
  promotions: {
5511
6123
  approve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsApproveData>) => Promise<Types.DevopsPromotion>;
5512
6124
  cancel: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCancelData>) => Promise<Types.DevopsPromotion>;
6125
+ checkoutCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCheckoutCredentialData>) => Promise<Types.DevopsCheckoutCredential>;
5513
6126
  conclude: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsConcludeData>) => Promise<Types.DevopsPromotion>;
5514
6127
  create: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCreateData>) => Promise<Types.DevopsPromotion>;
5515
6128
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsGetData>) => Promise<Types.DevopsPromotion>;
@@ -5519,10 +6132,14 @@ export declare function createDevops(transport: Transport): {
5519
6132
  };
5520
6133
  };
5521
6134
  pullRequests: {
6135
+ close: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsCloseData>) => Promise<Types.DevopsPullRequest>;
5522
6136
  merge: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsMergeData>) => Promise<Types.DevopsPullRequest>;
5523
6137
  recordVerdict: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRecordVerdictData>) => Promise<Types.DevopsPullRequest>;
5524
6138
  rerunGate: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRerunGateData>) => Promise<Types.DevopsPullRequest>;
5525
6139
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsGetData>) => Promise<Types.DevopsPullRequest>;
6140
+ reviews: {
6141
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsReviewsCreateData>) => Promise<Types.DevopsPullRequest>;
6142
+ };
5526
6143
  };
5527
6144
  releases: {
5528
6145
  abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesAbandonData>) => Promise<Types.DevopsRelease>;
@@ -5738,6 +6355,12 @@ export declare function createMedia(transport: Transport): {
5738
6355
  retrieveFailureSummary: (options: import("./core/transport.js").CallOptions<Types.MediaUnderstandingFailureSummaryData>) => Promise<Types.MediaFailureSummary>;
5739
6356
  };
5740
6357
  update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateLibraryData>) => Promise<Types.MediaLibrary>;
6358
+ voices: {
6359
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateVoiceData>) => Promise<Types.MediaJob>;
6360
+ designs: {
6361
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaDesignVoiceData>) => Promise<Types.MediaJob>;
6362
+ };
6363
+ };
5741
6364
  };
5742
6365
  speech: {
5743
6366
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateSpeechData>) => Promise<Types.MediaJob>;
@@ -6359,23 +6982,6 @@ export declare function createOntology(transport: Transport): {
6359
6982
  };
6360
6983
  };
6361
6984
  export declare function createOrganization(transport: Transport): {
6362
- actors: {
6363
- list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationActorsData> | undefined) => Promise<Types.OrganizationActorList>;
6364
- retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationActorData>) => Promise<Types.OrganizationPositionChain>;
6365
- };
6366
- assignments: {
6367
- list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationAssignmentsData> | undefined) => Promise<Types.OrganizationAssignmentList>;
6368
- makePrimary: {
6369
- create: (options: import("./core/transport.js").CallOptions<Types.MakePrimaryOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
6370
- };
6371
- retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
6372
- terminate: {
6373
- create: (options: import("./core/transport.js").CallOptions<Types.TerminateOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
6374
- };
6375
- transfer: {
6376
- create: (options: import("./core/transport.js").CallOptions<Types.TransferOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
6377
- };
6378
- };
6379
6985
  charges: {
6380
6986
  list: (options: import("./core/transport.js").CallOptions<Types.ExportOrganizationChargesData>) => Promise<{
6381
6987
  ChargePeriodStart: string;
@@ -6417,16 +7023,6 @@ export declare function createOrganization(transport: Transport): {
6417
7023
  next_page: string | null;
6418
7024
  }>;
6419
7025
  };
6420
- departments: {
6421
- create: (options: import("./core/transport.js").CallOptions<Types.EstablishOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
6422
- dissolve: {
6423
- create: (options: import("./core/transport.js").CallOptions<Types.DissolveOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
6424
- };
6425
- list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationDepartmentsData> | undefined) => Promise<Types.OrganizationDepartmentList>;
6426
- retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
6427
- update: (options: import("./core/transport.js").CallOptions<Types.ReorganizeOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
6428
- updateCharter: (options: import("./core/transport.js").CallOptions<Types.AmendOrganizationDepartmentCharterData>) => Promise<Types.OrganizationDepartment>;
6429
- };
6430
7026
  events: {
6431
7027
  list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationEventsData>) => Promise<{
6432
7028
  object: "page";
@@ -6629,27 +7225,6 @@ export declare function createOrganization(transport: Transport): {
6629
7225
  }>;
6630
7226
  }>;
6631
7227
  };
6632
- jobs: {
6633
- create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationJobData>) => Promise<Types.OrganizationJob>;
6634
- list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationJobsData> | undefined) => Promise<Types.OrganizationJobList>;
6635
- retire: {
6636
- create: (options: import("./core/transport.js").CallOptions<Types.RetireOrganizationJobData>) => Promise<Types.OrganizationJob>;
6637
- };
6638
- retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationJobData>) => Promise<Types.OrganizationJob>;
6639
- update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationJobData>) => Promise<Types.OrganizationJob>;
6640
- };
6641
- keyResults: {
6642
- create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
6643
- list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationKeyResultsData> | undefined) => Promise<Types.OrganizationKeyResultList>;
6644
- retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
6645
- update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
6646
- };
6647
- ladders: {
6648
- create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
6649
- list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationLaddersData> | undefined) => Promise<Types.OrganizationLadderList>;
6650
- retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
6651
- update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
6652
- };
6653
7228
  members: {
6654
7229
  list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationMembersData> | undefined) => Promise<{
6655
7230
  data: Array<{
@@ -6663,52 +7238,6 @@ export declare function createOrganization(transport: Transport): {
6663
7238
  next_page: string | null;
6664
7239
  }>;
6665
7240
  };
6666
- objectives: {
6667
- create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
6668
- grade: {
6669
- create: (options: import("./core/transport.js").CallOptions<Types.GradeOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
6670
- };
6671
- list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationObjectivesData> | undefined) => Promise<Types.OrganizationObjectiveList>;
6672
- parents: {
6673
- update: (options: import("./core/transport.js").CallOptions<Types.AlignOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
6674
- };
6675
- retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
6676
- update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
6677
- };
6678
- periods: {
6679
- close: {
6680
- create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
6681
- };
6682
- create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
6683
- list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPeriodsData> | undefined) => Promise<Types.OrganizationPeriodList>;
6684
- retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
6685
- };
6686
- positions: {
6687
- close: {
6688
- create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
6689
- };
6690
- create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPositionsData>) => Promise<Types.OrganizationPositionBatch>;
6691
- designateHead: {
6692
- create: (options: import("./core/transport.js").CallOptions<Types.DesignateOrganizationPositionHeadData>) => Promise<Types.OrganizationDepartment>;
6693
- };
6694
- freeze: {
6695
- create: (options: import("./core/transport.js").CallOptions<Types.FreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
6696
- };
6697
- hire: {
6698
- create: (options: import("./core/transport.js").CallOptions<Types.HireOrganizationPositionData>) => Promise<Types.OrganizationAssignment>;
6699
- };
6700
- list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPositionsData> | undefined) => Promise<Types.OrganizationPositionList>;
6701
- replaceHolder: {
6702
- create: (options: import("./core/transport.js").CallOptions<Types.ReplaceOrganizationPositionHolderData>) => Promise<Types.OrganizationAssignment>;
6703
- };
6704
- retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
6705
- unfreeze: {
6706
- create: (options: import("./core/transport.js").CallOptions<Types.UnfreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
6707
- };
6708
- update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
6709
- updateLevel: (options: import("./core/transport.js").CallOptions<Types.RegradeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
6710
- updateManager: (options: import("./core/transport.js").CallOptions<Types.ReassignOrganizationPositionManagerData>) => Promise<Types.OrganizationPosition>;
6711
- };
6712
7241
  usage: {
6713
7242
  list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationUsageData>) => Promise<{
6714
7243
  object: "page";
@@ -6738,6 +7267,27 @@ export declare function createRegistry(transport: Transport): {
6738
7267
  update: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsUpdateData>) => Promise<Types.RegistryInstallation>;
6739
7268
  };
6740
7269
  packages: {
7270
+ git: {
7271
+ commits: {
7272
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCommitsRetrieveData>) => Promise<Types.RegistryGitCommitDetail>;
7273
+ };
7274
+ files: {
7275
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitFilesRetrieveData>) => Promise<Blob | File>;
7276
+ };
7277
+ refs: {
7278
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryGitRefsData>) => Promise<Types.RegistryGitRefs>;
7279
+ };
7280
+ retrieveCompare: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCompareData>) => Promise<Types.RegistryGitComparison>;
7281
+ retrieveLog: (options: import("./core/transport.js").CallOptions<Types.RegistryGitLogData>) => Promise<Types.RegistryGitLog>;
7282
+ retrieveResolve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitResolveData>) => Promise<Types.RegistryGitResolvedRef>;
7283
+ trees: {
7284
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRetrieveData>) => Promise<Types.RegistryGitTree>;
7285
+ retrieveRecursive: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRecursiveData>) => Promise<Types.RegistryGitTreeRecursive>;
7286
+ };
7287
+ };
7288
+ gitCredential: {
7289
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesGitCredentialCreateData>) => Promise<Types.RegistryGitCredential>;
7290
+ };
6741
7291
  installations: {
6742
7292
  create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsCreateData>) => Promise<Types.RegistryInstallResult>;
6743
7293
  list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsListData>) => Promise<Types.RegistryInstallationList>;
@@ -6769,12 +7319,105 @@ export declare function createRegistry(transport: Transport): {
6769
7319
  };
6770
7320
  };
6771
7321
  export declare function createSandbox(transport: Transport): {
7322
+ byod: {
7323
+ devices: {
7324
+ disconnect: {
7325
+ create: (options: import("./core/transport.js").CallOptions<Types.DisconnectByodDeviceData>) => Promise<{
7326
+ id: string;
7327
+ object: "byod_device";
7328
+ disconnected: true;
7329
+ }>;
7330
+ };
7331
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListByodDevicesData> | undefined) => Promise<{
7332
+ data: Array<{
7333
+ object: "byod_device";
7334
+ id: string;
7335
+ platform: "android" | "macos" | "linux";
7336
+ name: string;
7337
+ model: string;
7338
+ os_version: string;
7339
+ online: boolean;
7340
+ last_seen_at: string | null;
7341
+ created_at: string;
7342
+ capabilities: Array<"display" | "agent">;
7343
+ agent_dirs: Array<string>;
7344
+ allow_bypass: boolean;
7345
+ }>;
7346
+ }>;
7347
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodDeviceData>) => Promise<{
7348
+ object: "byod_device";
7349
+ id: string;
7350
+ platform: "android" | "macos" | "linux";
7351
+ name: string;
7352
+ model: string;
7353
+ os_version: string;
7354
+ online: boolean;
7355
+ last_seen_at: string | null;
7356
+ created_at: string;
7357
+ capabilities: Array<"display" | "agent">;
7358
+ agent_dirs: Array<string>;
7359
+ allow_bypass: boolean;
7360
+ }>;
7361
+ update: (options: import("./core/transport.js").CallOptions<Types.UpdateByodDeviceData>) => Promise<{
7362
+ object: "byod_device";
7363
+ id: string;
7364
+ platform: "android" | "macos" | "linux";
7365
+ name: string;
7366
+ model: string;
7367
+ os_version: string;
7368
+ online: boolean;
7369
+ last_seen_at: string | null;
7370
+ created_at: string;
7371
+ capabilities: Array<"display" | "agent">;
7372
+ agent_dirs: Array<string>;
7373
+ allow_bypass: boolean;
7374
+ }>;
7375
+ };
7376
+ pairings: {
7377
+ claim: {
7378
+ create: (options: import("./core/transport.js").CallOptions<Types.ClaimByodPairingData>) => Promise<{
7379
+ device_id: string;
7380
+ credential: string;
7381
+ socket_url: string;
7382
+ }>;
7383
+ };
7384
+ create: (options?: import("./core/transport.js").CallOptions<Types.CreateByodPairingData> | undefined) => Promise<{
7385
+ code: string;
7386
+ expires_at: string;
7387
+ qr: string;
7388
+ }>;
7389
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodPairingData>) => Promise<{
7390
+ organization_name: string;
7391
+ expires_at: string;
7392
+ }>;
7393
+ };
7394
+ };
6772
7395
  events: {
6773
7396
  sandboxes: {
6774
7397
  retrieve: (options: import("./core/transport.js").CallOptions<Types.GetSandboxEventsData>) => Promise<Types.SandboxSandboxEvent[]>;
6775
7398
  };
6776
7399
  };
6777
7400
  sandboxes: {
7401
+ act: (options: import("./core/transport.js").CallOptions<Types.ActOnSandboxDisplayData>) => Promise<{
7402
+ type: "snapshot";
7403
+ snapshot: string;
7404
+ refs: number;
7405
+ truncated: boolean;
7406
+ package: string;
7407
+ } | {
7408
+ type: "screenshot";
7409
+ mediaType: string;
7410
+ data: string;
7411
+ width: number;
7412
+ height: number;
7413
+ bytes: number;
7414
+ } | {
7415
+ type: "ok";
7416
+ ms?: number;
7417
+ } | {
7418
+ type: "wait";
7419
+ ms: number;
7420
+ }>;
6778
7421
  commands: {
6779
7422
  run: (options: import("./core/transport.js").CallOptions<Types.RunSandboxCommandData>) => Promise<{
6780
7423
  stdout: string;
@@ -7299,10 +7942,133 @@ export declare function createVault(transport: Transport): {
7299
7942
  update: (options: import("./core/transport.js").CallOptions<Types.VaultUpdateVaultData>) => Promise<Types.VaultVault>;
7300
7943
  };
7301
7944
  };
7945
+ export declare function createWorkforce(transport: Transport): {
7946
+ actors: {
7947
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationActorsData> | undefined) => Promise<Types.OrganizationActorList>;
7948
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationActorData>) => Promise<Types.OrganizationPositionChain>;
7949
+ };
7950
+ assignments: {
7951
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationAssignmentsData> | undefined) => Promise<Types.OrganizationAssignmentList>;
7952
+ makePrimary: {
7953
+ create: (options: import("./core/transport.js").CallOptions<Types.MakePrimaryOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
7954
+ };
7955
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
7956
+ terminate: {
7957
+ create: (options: import("./core/transport.js").CallOptions<Types.TerminateOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
7958
+ };
7959
+ transfer: {
7960
+ create: (options: import("./core/transport.js").CallOptions<Types.TransferOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
7961
+ };
7962
+ };
7963
+ departments: {
7964
+ create: (options: import("./core/transport.js").CallOptions<Types.EstablishOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
7965
+ dissolve: {
7966
+ create: (options: import("./core/transport.js").CallOptions<Types.DissolveOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
7967
+ };
7968
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationDepartmentsData> | undefined) => Promise<Types.OrganizationDepartmentList>;
7969
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
7970
+ update: (options: import("./core/transport.js").CallOptions<Types.ReorganizeOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
7971
+ updateCharter: (options: import("./core/transport.js").CallOptions<Types.AmendOrganizationDepartmentCharterData>) => Promise<Types.OrganizationDepartment>;
7972
+ };
7973
+ effectiveSpec: {
7974
+ retrieve: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationEffectiveSpecData> | undefined) => Promise<Types.OrganizationEffectiveSpec>;
7975
+ };
7976
+ jobs: {
7977
+ create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationJobData>) => Promise<Types.OrganizationJob>;
7978
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationJobsData> | undefined) => Promise<Types.OrganizationJobList>;
7979
+ retire: {
7980
+ create: (options: import("./core/transport.js").CallOptions<Types.RetireOrganizationJobData>) => Promise<Types.OrganizationJob>;
7981
+ };
7982
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationJobData>) => Promise<Types.OrganizationJob>;
7983
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationJobData>) => Promise<Types.OrganizationJob>;
7984
+ };
7985
+ keyResults: {
7986
+ create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
7987
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationKeyResultsData> | undefined) => Promise<Types.OrganizationKeyResultList>;
7988
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
7989
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
7990
+ };
7991
+ ladders: {
7992
+ create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
7993
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationLaddersData> | undefined) => Promise<Types.OrganizationLadderList>;
7994
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
7995
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
7996
+ };
7997
+ objectives: {
7998
+ create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
7999
+ grade: {
8000
+ create: (options: import("./core/transport.js").CallOptions<Types.GradeOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
8001
+ };
8002
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationObjectivesData> | undefined) => Promise<Types.OrganizationObjectiveList>;
8003
+ parents: {
8004
+ update: (options: import("./core/transport.js").CallOptions<Types.AlignOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
8005
+ };
8006
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
8007
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
8008
+ };
8009
+ periods: {
8010
+ close: {
8011
+ create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
8012
+ };
8013
+ create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
8014
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPeriodsData> | undefined) => Promise<Types.OrganizationPeriodList>;
8015
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
8016
+ };
8017
+ positions: {
8018
+ close: {
8019
+ create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8020
+ };
8021
+ create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPositionsData>) => Promise<Types.OrganizationPositionBatch>;
8022
+ designateHead: {
8023
+ create: (options: import("./core/transport.js").CallOptions<Types.DesignateOrganizationPositionHeadData>) => Promise<Types.OrganizationDepartment>;
8024
+ };
8025
+ freeze: {
8026
+ create: (options: import("./core/transport.js").CallOptions<Types.FreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8027
+ };
8028
+ hire: {
8029
+ create: (options: import("./core/transport.js").CallOptions<Types.HireOrganizationPositionData>) => Promise<Types.OrganizationAssignment>;
8030
+ };
8031
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPositionsData> | undefined) => Promise<Types.OrganizationPositionList>;
8032
+ replaceHolder: {
8033
+ create: (options: import("./core/transport.js").CallOptions<Types.ReplaceOrganizationPositionHolderData>) => Promise<Types.OrganizationAssignment>;
8034
+ };
8035
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8036
+ unfreeze: {
8037
+ create: (options: import("./core/transport.js").CallOptions<Types.UnfreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8038
+ };
8039
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8040
+ updateLevel: (options: import("./core/transport.js").CallOptions<Types.RegradeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8041
+ updateManager: (options: import("./core/transport.js").CallOptions<Types.ReassignOrganizationPositionManagerData>) => Promise<Types.OrganizationPosition>;
8042
+ };
8043
+ reconcile: {
8044
+ pause: (options: import("./core/transport.js").CallOptions<Types.PauseOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
8045
+ resume: (options: import("./core/transport.js").CallOptions<Types.ResumeOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
8046
+ retrievePlan: (options: import("./core/transport.js").CallOptions<Types.PlanOrganizationReconcileData>) => Promise<Types.OrganizationReconcilePlan>;
8047
+ run: {
8048
+ create: (options: import("./core/transport.js").CallOptions<Types.RunOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
8049
+ };
8050
+ status: {
8051
+ list: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationReconcileStatusData>) => Promise<Types.OrganizationReconcileStatus>;
8052
+ };
8053
+ };
8054
+ specSchema: {
8055
+ retrieve: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationSpecSchemaData> | undefined) => Promise<Types.OrganizationSpecSchema>;
8056
+ };
8057
+ specs: {
8058
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecsData> | undefined) => Promise<Types.OrganizationSpecList>;
8059
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationSpecData>) => Promise<Types.OrganizationSpec>;
8060
+ retrieveDiff: (options: import("./core/transport.js").CallOptions<Types.DiffOrganizationSpecData>) => Promise<Types.OrganizationSpecDiff>;
8061
+ revisions: {
8062
+ list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecRevisionsData>) => Promise<Types.OrganizationSpecRevisionList>;
8063
+ };
8064
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationSpecData>) => Promise<Types.OrganizationSpec | Types.OrganizationSpecDryRun>;
8065
+ };
8066
+ };
7302
8067
  export declare const resourceFactories: {
7303
8068
  agent: typeof createAgent;
7304
8069
  application: typeof createApplication;
7305
8070
  automation: typeof createAutomation;
8071
+ billing: typeof createBilling;
7306
8072
  browser: typeof createBrowser;
7307
8073
  canvas: typeof createCanvas;
7308
8074
  content: typeof createContent;
@@ -7325,4 +8091,5 @@ export declare const resourceFactories: {
7325
8091
  studio: typeof createStudio;
7326
8092
  ticket: typeof createTicket;
7327
8093
  vault: typeof createVault;
8094
+ workforce: typeof createWorkforce;
7328
8095
  };