@deepraxis/sdk 0.1.1-dev.f319013 → 0.1.1-dev.f44c601

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.
@@ -1,6 +1,8 @@
1
1
  import type * as Types from './generated/types.gen.js';
2
+ import type { DeprecationNotice } from './core/deprecation.js';
2
3
  import type { RenameParameters } from './core/bindings.js';
3
4
  import type { Transport } from './core/transport.js';
5
+ export declare const deprecatedMethods: Readonly<Record<string, DeprecationNotice>>;
4
6
  export declare function createAgent(transport: Transport): {
5
7
  agents: {
6
8
  archive: (options: import("./core/transport.js").CallOptions<Types.AgentsArchiveData>) => Promise<{
@@ -17,6 +19,7 @@ export declare function createAgent(transport: Transport): {
17
19
  speed?: "standard" | "fast";
18
20
  settings?: {
19
21
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
22
+ max_output_tokens?: number;
20
23
  };
21
24
  };
22
25
  multiagent?: null | Types.AgentManaged39;
@@ -38,9 +41,10 @@ export declare function createAgent(transport: Transport): {
38
41
  } | null;
39
42
  note: string | null;
40
43
  bindings: Array<{
41
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
44
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
42
45
  id: string;
43
46
  access: "read_only" | "read_write" | "invoke";
47
+ customer_access?: "read_only" | "read_write" | "invoke";
44
48
  instructions?: string;
45
49
  readonly verified?: boolean;
46
50
  enabled?: boolean;
@@ -142,6 +146,7 @@ export declare function createAgent(transport: Transport): {
142
146
  allowManagedHooksOnly?: boolean;
143
147
  allowManagedMcpServersOnly?: boolean;
144
148
  allowManagedPermissionRulesOnly?: boolean;
149
+ idleCompaction?: boolean;
145
150
  autoMemoryEnabled?: boolean;
146
151
  disabled?: {
147
152
  subagents?: Array<string>;
@@ -150,7 +155,6 @@ export declare function createAgent(transport: Transport): {
150
155
  mcpServers?: Array<string>;
151
156
  hooks?: Array<string>;
152
157
  };
153
- idleCompaction?: boolean;
154
158
  outputStyle?: string;
155
159
  } | null;
156
160
  models?: {
@@ -158,6 +162,7 @@ export declare function createAgent(transport: Transport): {
158
162
  };
159
163
  avatar: string | null;
160
164
  creation_source: string | null;
165
+ managed_by: string | null;
161
166
  identity_number: string | null;
162
167
  environment_id?: string | null;
163
168
  vault_ids?: Array<string>;
@@ -199,6 +204,7 @@ export declare function createAgent(transport: Transport): {
199
204
  speed?: "standard" | "fast";
200
205
  settings?: {
201
206
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
207
+ max_output_tokens?: number;
202
208
  };
203
209
  };
204
210
  multiagent?: null | Types.AgentManaged39;
@@ -220,9 +226,10 @@ export declare function createAgent(transport: Transport): {
220
226
  } | null;
221
227
  note: string | null;
222
228
  bindings: Array<{
223
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
229
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
224
230
  id: string;
225
231
  access: "read_only" | "read_write" | "invoke";
232
+ customer_access?: "read_only" | "read_write" | "invoke";
226
233
  instructions?: string;
227
234
  readonly verified?: boolean;
228
235
  enabled?: boolean;
@@ -232,6 +239,13 @@ export declare function createAgent(transport: Transport): {
232
239
  enabled?: boolean;
233
240
  }>;
234
241
  kind: "general" | "service" | "assume";
242
+ computers?: {
243
+ default: string;
244
+ allowed: Array<{
245
+ template: string;
246
+ name: string;
247
+ }>;
248
+ };
235
249
  computer_id?: string;
236
250
  subagent_model?: string | null;
237
251
  subagents?: Array<{
@@ -324,6 +338,7 @@ export declare function createAgent(transport: Transport): {
324
338
  allowManagedHooksOnly?: boolean;
325
339
  allowManagedMcpServersOnly?: boolean;
326
340
  allowManagedPermissionRulesOnly?: boolean;
341
+ idleCompaction?: boolean;
327
342
  autoMemoryEnabled?: boolean;
328
343
  disabled?: {
329
344
  subagents?: Array<string>;
@@ -332,7 +347,6 @@ export declare function createAgent(transport: Transport): {
332
347
  mcpServers?: Array<string>;
333
348
  hooks?: Array<string>;
334
349
  };
335
- idleCompaction?: boolean;
336
350
  outputStyle?: string;
337
351
  } | null;
338
352
  models?: {
@@ -340,6 +354,7 @@ export declare function createAgent(transport: Transport): {
340
354
  };
341
355
  avatar: string | null;
342
356
  creation_source: string | null;
357
+ managed_by: string | null;
343
358
  identity_number: string | null;
344
359
  environment_id?: string | null;
345
360
  vault_ids?: Array<string>;
@@ -352,42 +367,6 @@ export declare function createAgent(transport: Transport): {
352
367
  }> | null;
353
368
  }>;
354
369
  customers: {
355
- auth: {
356
- accessTokens: {
357
- create: (options: import("./core/transport.js").CallOptions<Types.CreateCustomerAccessTokenData>) => Promise<{
358
- type: "customer_access_token";
359
- access_token: string;
360
- expires_at: string;
361
- session_expires_at: string;
362
- customer: {
363
- id: string;
364
- type: "identified" | "anonymous";
365
- };
366
- }>;
367
- deleteCurrent: (options: import("./core/transport.js").CallOptions<Types.DeleteCurrentCustomerAccessTokenData>) => Promise<void>;
368
- renew: {
369
- create: (options: import("./core/transport.js").CallOptions<Types.RenewCustomerAccessTokenData>) => Promise<{
370
- type: "customer_access_token";
371
- access_token: string;
372
- expires_at: string;
373
- session_expires_at: string;
374
- customer: {
375
- id: string;
376
- type: "identified" | "anonymous";
377
- };
378
- }>;
379
- };
380
- };
381
- grantCodes: {
382
- create: (options: import("./core/transport.js").CallOptions<Types.CreateCustomerGrantCodeData>) => Promise<{
383
- type: "customer_grant_code";
384
- code: string;
385
- customer_id: string;
386
- expires_at: string;
387
- hosted_url?: string;
388
- }>;
389
- };
390
- };
391
370
  block: {
392
371
  create: (options: import("./core/transport.js").CallOptions<Types.BlockCustomerData>) => Promise<{
393
372
  id: string;
@@ -519,7 +498,6 @@ export declare function createAgent(transport: Transport): {
519
498
  run_id: string | null;
520
499
  message_id?: string;
521
500
  } | {
522
- full_access_available?: boolean;
523
501
  id: string;
524
502
  input: Types.AgentManaged197;
525
503
  mcp_server_name: string;
@@ -529,6 +507,18 @@ export declare function createAgent(transport: Transport): {
529
507
  evaluated_permission?: "allow" | "deny" | "ask";
530
508
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
531
509
  session_thread_id?: null | string;
510
+ permission_suggestions?: Array<{
511
+ type: "add_rules";
512
+ behavior: "allow";
513
+ destination: "agent" | "session";
514
+ rules: Array<{
515
+ tool_name: string;
516
+ rule_content: string;
517
+ }>;
518
+ }>;
519
+ full_access_available?: boolean;
520
+ user_once?: true;
521
+ guarded_rule?: string;
532
522
  run_id: string | null;
533
523
  _meta?: {
534
524
  ui?: {
@@ -542,17 +532,6 @@ export declare function createAgent(transport: Transport): {
542
532
  };
543
533
  source?: "app" | "codemode";
544
534
  parent_tool_use_id?: string;
545
- user_once?: true;
546
- guarded_rule?: string;
547
- permission_suggestions?: Array<{
548
- type: "add_rules";
549
- behavior: "allow";
550
- destination: "agent" | "session";
551
- rules: Array<{
552
- tool_name: string;
553
- rule_content: string;
554
- }>;
555
- }>;
556
535
  title?: string;
557
536
  input_titles?: {
558
537
  [key: string]: string;
@@ -571,7 +550,6 @@ export declare function createAgent(transport: Transport): {
571
550
  };
572
551
  source?: "app" | "codemode";
573
552
  } | {
574
- full_access_available?: boolean;
575
553
  id: string;
576
554
  input: Types.AgentManaged206;
577
555
  name: string;
@@ -580,9 +558,6 @@ export declare function createAgent(transport: Transport): {
580
558
  evaluated_permission?: "allow" | "deny" | "ask";
581
559
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
582
560
  session_thread_id?: null | string;
583
- run_id: string | null;
584
- user_once?: true;
585
- guarded_rule?: string;
586
561
  permission_suggestions?: Array<{
587
562
  type: "add_rules";
588
563
  behavior: "allow";
@@ -592,6 +567,10 @@ export declare function createAgent(transport: Transport): {
592
567
  rule_content: string;
593
568
  }>;
594
569
  }>;
570
+ full_access_available?: boolean;
571
+ user_once?: true;
572
+ guarded_rule?: string;
573
+ run_id: string | null;
595
574
  } | {
596
575
  id: string;
597
576
  processed_at: string;
@@ -612,9 +591,6 @@ export declare function createAgent(transport: Transport): {
612
591
  type: "session.status_idle";
613
592
  run_id: string | null;
614
593
  } | Types.AgentManaged230 | Types.AgentManaged231 | Types.AgentManaged232 | Types.AgentManaged233 | Types.AgentManaged235 | Types.AgentManaged236 | Types.AgentManaged237 | Types.AgentManaged238 | Types.AgentManaged239 | Types.AgentManaged240 | Types.AgentManaged241 | Types.AgentManaged242 | Types.AgentManaged243 | Types.AgentManaged244 | {
615
- permission_mode_version?: number;
616
- previous_permission_mode?: string | null;
617
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
618
594
  id: string;
619
595
  processed_at: string;
620
596
  type: "session.updated";
@@ -622,6 +598,9 @@ export declare function createAgent(transport: Transport): {
622
598
  budget?: null | Types.AgentManaged76;
623
599
  metadata?: Types.AgentManaged246;
624
600
  title?: null | string;
601
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
602
+ previous_permission_mode?: string | null;
603
+ permission_mode_version?: number;
625
604
  model?: {
626
605
  id: string;
627
606
  };
@@ -680,21 +659,6 @@ export declare function createAgent(transport: Transport): {
680
659
  type: "user.steer";
681
660
  event_id: string;
682
661
  processed_at: string;
683
- } | {
684
- id: string;
685
- type: "user.tool_confirmation";
686
- processed_at: string;
687
- tool_use_id: string;
688
- result: "allow";
689
- answers: {
690
- [key: string]: string;
691
- };
692
- annotations?: {
693
- [key: string]: {
694
- preview?: string;
695
- notes?: string;
696
- };
697
- };
698
662
  }>;
699
663
  next_page: string | null;
700
664
  }>;
@@ -715,21 +679,6 @@ export declare function createAgent(transport: Transport): {
715
679
  type: "user.steer";
716
680
  event_id: string;
717
681
  processed_at: string;
718
- } | {
719
- id: string;
720
- type: "user.tool_confirmation";
721
- processed_at: string;
722
- tool_use_id: string;
723
- result: "allow";
724
- answers: {
725
- [key: string]: string;
726
- };
727
- annotations?: {
728
- [key: string]: {
729
- preview?: string;
730
- notes?: string;
731
- };
732
- };
733
682
  }>;
734
683
  }>;
735
684
  stream: (options: import("./core/transport.js").StreamOptions<Types.StreamAgentEventsData>) => AsyncIterable<Types.AgentSseEvent>;
@@ -763,6 +712,7 @@ export declare function createAgent(transport: Transport): {
763
712
  speed?: "standard" | "fast";
764
713
  settings?: {
765
714
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
715
+ max_output_tokens?: number;
766
716
  };
767
717
  };
768
718
  multiagent?: null | Types.AgentManaged39;
@@ -784,9 +734,10 @@ export declare function createAgent(transport: Transport): {
784
734
  } | null;
785
735
  note: string | null;
786
736
  bindings: Array<{
787
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
737
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
788
738
  id: string;
789
739
  access: "read_only" | "read_write" | "invoke";
740
+ customer_access?: "read_only" | "read_write" | "invoke";
790
741
  instructions?: string;
791
742
  readonly verified?: boolean;
792
743
  enabled?: boolean;
@@ -796,6 +747,13 @@ export declare function createAgent(transport: Transport): {
796
747
  enabled?: boolean;
797
748
  }>;
798
749
  kind: "general" | "service" | "assume";
750
+ computers?: {
751
+ default: string;
752
+ allowed: Array<{
753
+ template: string;
754
+ name: string;
755
+ }>;
756
+ };
799
757
  computer_id?: string;
800
758
  subagent_model?: string | null;
801
759
  subagents?: Array<{
@@ -888,6 +846,7 @@ export declare function createAgent(transport: Transport): {
888
846
  allowManagedHooksOnly?: boolean;
889
847
  allowManagedMcpServersOnly?: boolean;
890
848
  allowManagedPermissionRulesOnly?: boolean;
849
+ idleCompaction?: boolean;
891
850
  autoMemoryEnabled?: boolean;
892
851
  disabled?: {
893
852
  subagents?: Array<string>;
@@ -896,7 +855,6 @@ export declare function createAgent(transport: Transport): {
896
855
  mcpServers?: Array<string>;
897
856
  hooks?: Array<string>;
898
857
  };
899
- idleCompaction?: boolean;
900
858
  outputStyle?: string;
901
859
  } | null;
902
860
  models?: {
@@ -904,6 +862,7 @@ export declare function createAgent(transport: Transport): {
904
862
  };
905
863
  avatar: string | null;
906
864
  creation_source: string | null;
865
+ managed_by: string | null;
907
866
  identity_number: string | null;
908
867
  environment_id?: string | null;
909
868
  vault_ids?: Array<string>;
@@ -917,6 +876,34 @@ export declare function createAgent(transport: Transport): {
917
876
  }>;
918
877
  next_page: string | null;
919
878
  }>;
879
+ phone: {
880
+ release: (options: import("./core/transport.js").CallOptions<Types.AgentsPhoneReleaseData>) => Promise<{
881
+ object: "agent_phone";
882
+ agent_id: string;
883
+ configured: boolean;
884
+ state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing" | "online" | "offline";
885
+ sku: string | null;
886
+ byod_device: string | null;
887
+ name: string | null;
888
+ sandbox_id: string | null;
889
+ lease_ends_at: string | null;
890
+ archived_at: string | null;
891
+ archive_error: string | null;
892
+ }>;
893
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.AgentsPhoneRetrieveData>) => Promise<{
894
+ object: "agent_phone";
895
+ agent_id: string;
896
+ configured: boolean;
897
+ state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing" | "online" | "offline";
898
+ sku: string | null;
899
+ byod_device: string | null;
900
+ name: string | null;
901
+ sandbox_id: string | null;
902
+ lease_ends_at: string | null;
903
+ archived_at: string | null;
904
+ archive_error: string | null;
905
+ }>;
906
+ };
920
907
  retrieve: (options: import("./core/transport.js").CallOptions<Types.AgentsRetrieveData>) => Promise<{
921
908
  id: string;
922
909
  archived_at: null | string;
@@ -931,6 +918,7 @@ export declare function createAgent(transport: Transport): {
931
918
  speed?: "standard" | "fast";
932
919
  settings?: {
933
920
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
921
+ max_output_tokens?: number;
934
922
  };
935
923
  };
936
924
  multiagent?: null | Types.AgentManaged39;
@@ -953,9 +941,10 @@ export declare function createAgent(transport: Transport): {
953
941
  } | null;
954
942
  note: string | null;
955
943
  bindings: Array<{
956
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
944
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
957
945
  id: string;
958
946
  access: "read_only" | "read_write" | "invoke";
947
+ customer_access?: "read_only" | "read_write" | "invoke";
959
948
  instructions?: string;
960
949
  readonly verified?: boolean;
961
950
  enabled?: boolean;
@@ -965,6 +954,13 @@ export declare function createAgent(transport: Transport): {
965
954
  enabled?: boolean;
966
955
  }>;
967
956
  kind: "general" | "service" | "assume";
957
+ computers?: {
958
+ default: string;
959
+ allowed: Array<{
960
+ template: string;
961
+ name: string;
962
+ }>;
963
+ };
968
964
  computer_id?: string;
969
965
  subagent_model?: string | null;
970
966
  subagents?: Array<{
@@ -1057,6 +1053,7 @@ export declare function createAgent(transport: Transport): {
1057
1053
  allowManagedHooksOnly?: boolean;
1058
1054
  allowManagedMcpServersOnly?: boolean;
1059
1055
  allowManagedPermissionRulesOnly?: boolean;
1056
+ idleCompaction?: boolean;
1060
1057
  autoMemoryEnabled?: boolean;
1061
1058
  disabled?: {
1062
1059
  subagents?: Array<string>;
@@ -1065,7 +1062,6 @@ export declare function createAgent(transport: Transport): {
1065
1062
  mcpServers?: Array<string>;
1066
1063
  hooks?: Array<string>;
1067
1064
  };
1068
- idleCompaction?: boolean;
1069
1065
  outputStyle?: string;
1070
1066
  } | null;
1071
1067
  models?: {
@@ -1073,6 +1069,7 @@ export declare function createAgent(transport: Transport): {
1073
1069
  };
1074
1070
  avatar: string | null;
1075
1071
  creation_source: string | null;
1072
+ managed_by: string | null;
1076
1073
  identity_number: string | null;
1077
1074
  environment_id?: string | null;
1078
1075
  vault_ids?: Array<string>;
@@ -1141,6 +1138,26 @@ export declare function createAgent(transport: Transport): {
1141
1138
  history?: {
1142
1139
  enabled?: boolean;
1143
1140
  };
1141
+ uploads?: {
1142
+ enabled: boolean;
1143
+ max_file_bytes: number;
1144
+ max_files_per_session: number;
1145
+ };
1146
+ }>;
1147
+ retrieveEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.GetAgentEmbedPolicyData>) => Promise<{
1148
+ allowed_origins: Array<string>;
1149
+ allow_localhost: boolean;
1150
+ uploads: {
1151
+ enabled: boolean;
1152
+ max_file_bytes: number;
1153
+ max_files_per_session: number;
1154
+ };
1155
+ share_links: {
1156
+ enabled: boolean;
1157
+ daily_session_cap: number | null;
1158
+ daily_spend_cap_micro_usd: number | null;
1159
+ currency?: "USD" | "CNY" | null;
1160
+ };
1144
1161
  }>;
1145
1162
  unarchive: {
1146
1163
  create: (options: import("./core/transport.js").CallOptions<Types.UnarchiveAgentData>) => Promise<{
@@ -1194,6 +1211,7 @@ export declare function createAgent(transport: Transport): {
1194
1211
  speed?: "standard" | "fast";
1195
1212
  settings?: {
1196
1213
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1214
+ max_output_tokens?: number;
1197
1215
  };
1198
1216
  };
1199
1217
  multiagent?: null | {
@@ -1381,9 +1399,10 @@ export declare function createAgent(transport: Transport): {
1381
1399
  } | null;
1382
1400
  note: string | null;
1383
1401
  bindings: Array<{
1384
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1402
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
1385
1403
  id: string;
1386
1404
  access: "read_only" | "read_write" | "invoke";
1405
+ customer_access?: "read_only" | "read_write" | "invoke";
1387
1406
  instructions?: string;
1388
1407
  readonly verified?: boolean;
1389
1408
  enabled?: boolean;
@@ -1393,6 +1412,13 @@ export declare function createAgent(transport: Transport): {
1393
1412
  enabled?: boolean;
1394
1413
  }>;
1395
1414
  kind: "general" | "service" | "assume";
1415
+ computers?: {
1416
+ default: string;
1417
+ allowed: Array<{
1418
+ template: string;
1419
+ name: string;
1420
+ }>;
1421
+ };
1396
1422
  computer_id?: string;
1397
1423
  subagent_model?: string | null;
1398
1424
  subagents?: Array<{
@@ -1485,6 +1511,7 @@ export declare function createAgent(transport: Transport): {
1485
1511
  allowManagedHooksOnly?: boolean;
1486
1512
  allowManagedMcpServersOnly?: boolean;
1487
1513
  allowManagedPermissionRulesOnly?: boolean;
1514
+ idleCompaction?: boolean;
1488
1515
  autoMemoryEnabled?: boolean;
1489
1516
  disabled?: {
1490
1517
  subagents?: Array<string>;
@@ -1493,7 +1520,6 @@ export declare function createAgent(transport: Transport): {
1493
1520
  mcpServers?: Array<string>;
1494
1521
  hooks?: Array<string>;
1495
1522
  };
1496
- idleCompaction?: boolean;
1497
1523
  outputStyle?: string;
1498
1524
  } | null;
1499
1525
  models?: {
@@ -1501,6 +1527,7 @@ export declare function createAgent(transport: Transport): {
1501
1527
  };
1502
1528
  avatar: string | null;
1503
1529
  creation_source: string | null;
1530
+ managed_by: string | null;
1504
1531
  identity_number: string | null;
1505
1532
  environment_id?: string | null;
1506
1533
  vault_ids?: Array<string>;
@@ -1527,6 +1554,7 @@ export declare function createAgent(transport: Transport): {
1527
1554
  speed?: "standard" | "fast";
1528
1555
  settings?: {
1529
1556
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1557
+ max_output_tokens?: number;
1530
1558
  };
1531
1559
  };
1532
1560
  multiagent?: null | Types.AgentManaged39;
@@ -1549,9 +1577,10 @@ export declare function createAgent(transport: Transport): {
1549
1577
  } | null;
1550
1578
  note: string | null;
1551
1579
  bindings: Array<{
1552
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1580
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
1553
1581
  id: string;
1554
1582
  access: "read_only" | "read_write" | "invoke";
1583
+ customer_access?: "read_only" | "read_write" | "invoke";
1555
1584
  instructions?: string;
1556
1585
  readonly verified?: boolean;
1557
1586
  enabled?: boolean;
@@ -1561,6 +1590,13 @@ export declare function createAgent(transport: Transport): {
1561
1590
  enabled?: boolean;
1562
1591
  }>;
1563
1592
  kind: "general" | "service" | "assume";
1593
+ computers?: {
1594
+ default: string;
1595
+ allowed: Array<{
1596
+ template: string;
1597
+ name: string;
1598
+ }>;
1599
+ };
1564
1600
  computer_id?: string;
1565
1601
  subagent_model?: string | null;
1566
1602
  subagents?: Array<{
@@ -1653,6 +1689,7 @@ export declare function createAgent(transport: Transport): {
1653
1689
  allowManagedHooksOnly?: boolean;
1654
1690
  allowManagedMcpServersOnly?: boolean;
1655
1691
  allowManagedPermissionRulesOnly?: boolean;
1692
+ idleCompaction?: boolean;
1656
1693
  autoMemoryEnabled?: boolean;
1657
1694
  disabled?: {
1658
1695
  subagents?: Array<string>;
@@ -1661,7 +1698,6 @@ export declare function createAgent(transport: Transport): {
1661
1698
  mcpServers?: Array<string>;
1662
1699
  hooks?: Array<string>;
1663
1700
  };
1664
- idleCompaction?: boolean;
1665
1701
  outputStyle?: string;
1666
1702
  } | null;
1667
1703
  models?: {
@@ -1669,6 +1705,7 @@ export declare function createAgent(transport: Transport): {
1669
1705
  };
1670
1706
  avatar: string | null;
1671
1707
  creation_source: string | null;
1708
+ managed_by: string | null;
1672
1709
  identity_number: string | null;
1673
1710
  environment_id?: string | null;
1674
1711
  vault_ids?: Array<string>;
@@ -1680,114 +1717,340 @@ export declare function createAgent(transport: Transport): {
1680
1717
  keep_coding_instructions?: boolean;
1681
1718
  }> | null;
1682
1719
  }>;
1720
+ updateEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.UpdateAgentEmbedPolicyData>) => Promise<{
1721
+ allowed_origins: Array<string>;
1722
+ allow_localhost: boolean;
1723
+ uploads: {
1724
+ enabled: boolean;
1725
+ max_file_bytes: number;
1726
+ max_files_per_session: number;
1727
+ };
1728
+ share_links: {
1729
+ enabled: boolean;
1730
+ daily_session_cap: number | null;
1731
+ daily_spend_cap_micro_usd: number | null;
1732
+ currency?: "USD" | "CNY" | null;
1733
+ };
1734
+ }>;
1683
1735
  versions: {
1684
1736
  apply: (options: import("./core/transport.js").CallOptions<Types.ApplyAgentVersionData>) => Promise<{
1685
1737
  id: string;
1686
1738
  archived_at: null | string;
1687
1739
  created_at: string;
1688
1740
  description: null | string;
1689
- mcp_servers: Array<Types.AgentManaged36>;
1690
- metadata: Types.AgentManaged37;
1741
+ mcp_servers: Array<{
1742
+ type: "url";
1743
+ name: string;
1744
+ url: string;
1745
+ headers?: {
1746
+ [key: string]: string;
1747
+ };
1748
+ timeout_ms?: number;
1749
+ } | {
1750
+ type: "sse";
1751
+ name: string;
1752
+ url: string;
1753
+ headers?: {
1754
+ [key: string]: string;
1755
+ };
1756
+ timeout_ms?: number;
1757
+ } | {
1758
+ type: "stdio";
1759
+ name: string;
1760
+ command: string;
1761
+ args?: Array<string>;
1762
+ env?: {
1763
+ [key: string]: string;
1764
+ };
1765
+ timeout_ms?: number;
1766
+ }>;
1767
+ metadata: {
1768
+ [key: string]: string;
1769
+ };
1691
1770
  model?: {
1692
1771
  id: string;
1693
- effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
1772
+ effort?: {
1773
+ type: "low";
1774
+ } | {
1775
+ type: "medium";
1776
+ } | {
1777
+ type: "high";
1778
+ } | {
1779
+ type: "xhigh";
1780
+ } | {
1781
+ type: "max";
1782
+ };
1694
1783
  inference_geo?: string;
1695
1784
  speed?: "standard" | "fast";
1696
1785
  settings?: {
1697
1786
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1787
+ max_output_tokens?: number;
1698
1788
  };
1699
1789
  };
1700
- multiagent?: null | Types.AgentManaged39;
1790
+ multiagent?: null | {
1791
+ agents: Array<{
1792
+ id: string;
1793
+ type: "agent";
1794
+ version: number;
1795
+ } | {
1796
+ model: string;
1797
+ type: "advisor";
1798
+ }>;
1799
+ type: "coordinator";
1800
+ };
1701
1801
  name: string;
1702
- skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
1703
- system: null | string;
1704
- tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
1705
- type: "agent";
1706
- updated_at: string;
1707
- version: number;
1708
- latest_version?: number;
1709
- active_version: number;
1710
- created_by: {
1711
- type: "user";
1712
- id: string;
1713
- name?: string;
1714
- } | {
1715
- type: "api_key";
1716
- id: string;
1717
- } | null;
1718
- note: string | null;
1719
- bindings: Array<{
1720
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1721
- id: string;
1722
- access: "read_only" | "read_write" | "invoke";
1723
- instructions?: string;
1724
- readonly verified?: boolean;
1725
- enabled?: boolean;
1802
+ skills: Array<{
1803
+ skill_id: string;
1804
+ type: "anthropic";
1805
+ version: string;
1726
1806
  } | {
1727
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1728
- readonly verified?: boolean;
1729
- enabled?: boolean;
1807
+ skill_id: string;
1808
+ type: "custom";
1809
+ version: string;
1730
1810
  }>;
1731
- kind: "general" | "service" | "assume";
1732
- computer_id?: string;
1733
- subagent_model?: string | null;
1734
- subagents?: Array<{
1735
- name: string;
1736
- description: string;
1737
- prompt: string;
1738
- tools?: Array<string>;
1739
- disallowed_tools?: Array<string>;
1740
- model?: string;
1741
- }> | null;
1742
- commands?: Array<{
1743
- name: string;
1744
- description?: string;
1745
- argument_hint?: string;
1746
- prompt: string;
1747
- }> | null;
1748
- settings?: {
1749
- hooks?: {
1750
- SessionStart?: Array<{
1751
- matcher?: string;
1752
- hooks: Array<{
1753
- type: "command";
1754
- command: string;
1755
- timeout?: number;
1756
- async?: boolean;
1757
- enabled?: boolean;
1758
- }>;
1759
- }>;
1760
- UserPromptSubmit?: Array<{
1761
- matcher?: string;
1762
- hooks: Array<{
1763
- type: "command";
1764
- command: string;
1765
- timeout?: number;
1766
- async?: boolean;
1767
- enabled?: boolean;
1768
- }>;
1769
- }>;
1770
- PreToolUse?: Array<{
1771
- matcher?: string;
1772
- hooks: Array<{
1773
- type: "command";
1774
- command: string;
1775
- timeout?: number;
1776
- async?: boolean;
1777
- enabled?: boolean;
1778
- }>;
1779
- }>;
1780
- PermissionRequest?: Array<{
1781
- matcher?: string;
1782
- hooks: Array<{
1783
- type: "command";
1784
- command: string;
1785
- timeout?: number;
1786
- async?: boolean;
1787
- enabled?: boolean;
1788
- }>;
1789
- }>;
1790
- PostToolUse?: Array<{
1811
+ system: null | string;
1812
+ tools: Array<{
1813
+ configs: Array<{
1814
+ enabled: boolean;
1815
+ name: "bash";
1816
+ permission_policy: {
1817
+ type: "always_allow";
1818
+ } | {
1819
+ type: "always_ask";
1820
+ } | {
1821
+ type: "auto";
1822
+ };
1823
+ type: "bash";
1824
+ } | {
1825
+ enabled: boolean;
1826
+ name: "edit";
1827
+ permission_policy: {
1828
+ type: "always_allow";
1829
+ } | {
1830
+ type: "always_ask";
1831
+ } | {
1832
+ type: "auto";
1833
+ };
1834
+ type: "edit";
1835
+ } | {
1836
+ enabled: boolean;
1837
+ name: "read";
1838
+ permission_policy: {
1839
+ type: "always_allow";
1840
+ } | {
1841
+ type: "always_ask";
1842
+ } | {
1843
+ type: "auto";
1844
+ };
1845
+ type: "read";
1846
+ } | {
1847
+ enabled: boolean;
1848
+ name: "write";
1849
+ permission_policy: {
1850
+ type: "always_allow";
1851
+ } | {
1852
+ type: "always_ask";
1853
+ } | {
1854
+ type: "auto";
1855
+ };
1856
+ type: "write";
1857
+ } | {
1858
+ enabled: boolean;
1859
+ name: "glob";
1860
+ permission_policy: {
1861
+ type: "always_allow";
1862
+ } | {
1863
+ type: "always_ask";
1864
+ } | {
1865
+ type: "auto";
1866
+ };
1867
+ type: "glob";
1868
+ } | {
1869
+ enabled: boolean;
1870
+ name: "grep";
1871
+ permission_policy: {
1872
+ type: "always_allow";
1873
+ } | {
1874
+ type: "always_ask";
1875
+ } | {
1876
+ type: "auto";
1877
+ };
1878
+ type: "grep";
1879
+ } | {
1880
+ enabled: boolean;
1881
+ name: "web_fetch";
1882
+ permission_policy: {
1883
+ type: "always_allow";
1884
+ } | {
1885
+ type: "always_ask";
1886
+ } | {
1887
+ type: "auto";
1888
+ };
1889
+ type: "web_fetch";
1890
+ allowed_domains?: Array<string>;
1891
+ blocked_domains?: Array<string>;
1892
+ max_content_tokens?: null | number;
1893
+ } | {
1894
+ enabled: boolean;
1895
+ name: "web_search";
1896
+ permission_policy: {
1897
+ type: "always_allow";
1898
+ } | {
1899
+ type: "always_ask";
1900
+ } | {
1901
+ type: "auto";
1902
+ };
1903
+ type: "web_search";
1904
+ allowed_domains?: Array<string>;
1905
+ blocked_domains?: Array<string>;
1906
+ user_location?: null | {
1907
+ type: "approximate";
1908
+ city?: null | string;
1909
+ country?: null | string;
1910
+ region?: null | string;
1911
+ timezone?: null | string;
1912
+ };
1913
+ } | {
1914
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
1915
+ enabled: boolean;
1916
+ permission_policy: {
1917
+ type: "always_allow" | "always_ask";
1918
+ };
1919
+ }>;
1920
+ default_config: {
1921
+ enabled: boolean;
1922
+ permission_policy: {
1923
+ type: "always_allow";
1924
+ } | {
1925
+ type: "always_ask";
1926
+ } | {
1927
+ type: "auto";
1928
+ };
1929
+ };
1930
+ type: "agent_toolset_20260401";
1931
+ } | {
1932
+ type: "mcp_toolset";
1933
+ mcp_server_name: string;
1934
+ default_config?: {
1935
+ enabled?: boolean | null;
1936
+ permission_policy?: null | {
1937
+ type: "always_allow" | "always_ask";
1938
+ };
1939
+ } | null;
1940
+ configs?: Array<{
1941
+ name: string;
1942
+ enabled?: boolean | null;
1943
+ permission_policy?: null | {
1944
+ type: "always_allow" | "always_ask";
1945
+ };
1946
+ }> | null;
1947
+ } | {
1948
+ description: string;
1949
+ input_schema: {
1950
+ type: "object";
1951
+ properties?: null | {
1952
+ [key: string]: unknown;
1953
+ };
1954
+ required?: null | Array<string>;
1955
+ [key: string]: unknown;
1956
+ };
1957
+ name: string;
1958
+ type: "custom";
1959
+ }>;
1960
+ type: "agent";
1961
+ updated_at: string;
1962
+ version: number;
1963
+ latest_version?: number;
1964
+ active_version: number;
1965
+ created_by: {
1966
+ type: "user";
1967
+ id: string;
1968
+ name?: string;
1969
+ } | {
1970
+ type: "api_key";
1971
+ id: string;
1972
+ } | null;
1973
+ note: string | null;
1974
+ bindings: Array<{
1975
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
1976
+ id: string;
1977
+ access: "read_only" | "read_write" | "invoke";
1978
+ customer_access?: "read_only" | "read_write" | "invoke";
1979
+ instructions?: string;
1980
+ readonly verified?: boolean;
1981
+ enabled?: boolean;
1982
+ } | {
1983
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1984
+ readonly verified?: boolean;
1985
+ enabled?: boolean;
1986
+ }>;
1987
+ kind: "general" | "service" | "assume";
1988
+ computers?: {
1989
+ default: string;
1990
+ allowed: Array<{
1991
+ template: string;
1992
+ name: string;
1993
+ }>;
1994
+ };
1995
+ computer_id?: string;
1996
+ subagent_model?: string | null;
1997
+ subagents?: Array<{
1998
+ name: string;
1999
+ description: string;
2000
+ prompt: string;
2001
+ tools?: Array<string>;
2002
+ disallowed_tools?: Array<string>;
2003
+ model?: string;
2004
+ }> | null;
2005
+ commands?: Array<{
2006
+ name: string;
2007
+ description?: string;
2008
+ argument_hint?: string;
2009
+ prompt: string;
2010
+ }> | null;
2011
+ settings?: {
2012
+ hooks?: {
2013
+ SessionStart?: Array<{
2014
+ matcher?: string;
2015
+ hooks: Array<{
2016
+ type: "command";
2017
+ command: string;
2018
+ timeout?: number;
2019
+ async?: boolean;
2020
+ enabled?: boolean;
2021
+ }>;
2022
+ }>;
2023
+ UserPromptSubmit?: Array<{
2024
+ matcher?: string;
2025
+ hooks: Array<{
2026
+ type: "command";
2027
+ command: string;
2028
+ timeout?: number;
2029
+ async?: boolean;
2030
+ enabled?: boolean;
2031
+ }>;
2032
+ }>;
2033
+ PreToolUse?: Array<{
2034
+ matcher?: string;
2035
+ hooks: Array<{
2036
+ type: "command";
2037
+ command: string;
2038
+ timeout?: number;
2039
+ async?: boolean;
2040
+ enabled?: boolean;
2041
+ }>;
2042
+ }>;
2043
+ PermissionRequest?: Array<{
2044
+ matcher?: string;
2045
+ hooks: Array<{
2046
+ type: "command";
2047
+ command: string;
2048
+ timeout?: number;
2049
+ async?: boolean;
2050
+ enabled?: boolean;
2051
+ }>;
2052
+ }>;
2053
+ PostToolUse?: Array<{
1791
2054
  matcher?: string;
1792
2055
  hooks: Array<{
1793
2056
  type: "command";
@@ -1821,6 +2084,7 @@ export declare function createAgent(transport: Transport): {
1821
2084
  allowManagedHooksOnly?: boolean;
1822
2085
  allowManagedMcpServersOnly?: boolean;
1823
2086
  allowManagedPermissionRulesOnly?: boolean;
2087
+ idleCompaction?: boolean;
1824
2088
  autoMemoryEnabled?: boolean;
1825
2089
  disabled?: {
1826
2090
  subagents?: Array<string>;
@@ -1829,7 +2093,6 @@ export declare function createAgent(transport: Transport): {
1829
2093
  mcpServers?: Array<string>;
1830
2094
  hooks?: Array<string>;
1831
2095
  };
1832
- idleCompaction?: boolean;
1833
2096
  outputStyle?: string;
1834
2097
  } | null;
1835
2098
  models?: {
@@ -1837,6 +2100,7 @@ export declare function createAgent(transport: Transport): {
1837
2100
  };
1838
2101
  avatar: string | null;
1839
2102
  creation_source: string | null;
2103
+ managed_by: string | null;
1840
2104
  identity_number: string | null;
1841
2105
  environment_id?: string | null;
1842
2106
  vault_ids?: Array<string>;
@@ -1863,6 +2127,7 @@ export declare function createAgent(transport: Transport): {
1863
2127
  speed?: "standard" | "fast";
1864
2128
  settings?: {
1865
2129
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2130
+ max_output_tokens?: number;
1866
2131
  };
1867
2132
  };
1868
2133
  multiagent?: null | Types.AgentManaged39;
@@ -1885,9 +2150,10 @@ export declare function createAgent(transport: Transport): {
1885
2150
  } | null;
1886
2151
  note: string | null;
1887
2152
  bindings: Array<{
1888
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
2153
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
1889
2154
  id: string;
1890
2155
  access: "read_only" | "read_write" | "invoke";
2156
+ customer_access?: "read_only" | "read_write" | "invoke";
1891
2157
  instructions?: string;
1892
2158
  readonly verified?: boolean;
1893
2159
  enabled?: boolean;
@@ -1897,6 +2163,13 @@ export declare function createAgent(transport: Transport): {
1897
2163
  enabled?: boolean;
1898
2164
  }>;
1899
2165
  kind: "general" | "service" | "assume";
2166
+ computers?: {
2167
+ default: string;
2168
+ allowed: Array<{
2169
+ template: string;
2170
+ name: string;
2171
+ }>;
2172
+ };
1900
2173
  computer_id?: string;
1901
2174
  subagent_model?: string | null;
1902
2175
  subagents?: Array<{
@@ -1989,6 +2262,7 @@ export declare function createAgent(transport: Transport): {
1989
2262
  allowManagedHooksOnly?: boolean;
1990
2263
  allowManagedMcpServersOnly?: boolean;
1991
2264
  allowManagedPermissionRulesOnly?: boolean;
2265
+ idleCompaction?: boolean;
1992
2266
  autoMemoryEnabled?: boolean;
1993
2267
  disabled?: {
1994
2268
  subagents?: Array<string>;
@@ -1997,7 +2271,6 @@ export declare function createAgent(transport: Transport): {
1997
2271
  mcpServers?: Array<string>;
1998
2272
  hooks?: Array<string>;
1999
2273
  };
2000
- idleCompaction?: boolean;
2001
2274
  outputStyle?: string;
2002
2275
  } | null;
2003
2276
  models?: {
@@ -2005,6 +2278,7 @@ export declare function createAgent(transport: Transport): {
2005
2278
  };
2006
2279
  avatar: string | null;
2007
2280
  creation_source: string | null;
2281
+ managed_by: string | null;
2008
2282
  identity_number: string | null;
2009
2283
  environment_id?: string | null;
2010
2284
  vault_ids?: Array<string>;
@@ -2092,6 +2366,24 @@ export declare function createAgent(transport: Transport): {
2092
2366
  tier: "light" | "heavy";
2093
2367
  }>;
2094
2368
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesContentData>) => Promise<Blob | File>;
2369
+ retrievePreview: (options: import("./core/transport.js").CallOptions<Types.PreviewComputerFileData>) => Promise<{
2370
+ variant: "image" | "pdf" | "text" | "original";
2371
+ version?: string;
2372
+ mime_type?: string;
2373
+ size?: number;
2374
+ file_id?: string;
2375
+ url?: string;
2376
+ expires_at?: string;
2377
+ cached: boolean;
2378
+ fallback?: "content";
2379
+ skipped?: boolean;
2380
+ }>;
2381
+ updateContent: (options: import("./core/transport.js").CallOptions<Types.UpdateComputerFileContentData>) => Promise<{
2382
+ path: string;
2383
+ size: number;
2384
+ mtime: string | null;
2385
+ version: string;
2386
+ }>;
2095
2387
  };
2096
2388
  leases: {
2097
2389
  delete: (options: import("./core/transport.js").CallOptions<Types.ReleaseComputerLeaseData>) => Promise<{
@@ -2367,77 +2659,614 @@ export declare function createAgent(transport: Transport): {
2367
2659
  effort?: null | "low" | "medium" | "high" | "xhigh" | "max" | Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
2368
2660
  speed?: null | "standard" | "fast";
2369
2661
  };
2370
- version: number;
2662
+ version: number;
2663
+ };
2664
+ archived_at: null | string;
2665
+ created_at: string;
2666
+ description: null | string;
2667
+ environment_id?: string | null;
2668
+ initial_events: Array<Types.AgentManaged86 | Types.AgentManaged87 | Types.AgentManaged90>;
2669
+ metadata: Types.AgentManaged91;
2670
+ name: string;
2671
+ paused_reason: null | Types.AgentManaged92 | Types.AgentManaged93;
2672
+ resources: Array<Types.AgentManaged108 | Types.AgentManaged109 | Types.AgentManaged110>;
2673
+ schedule: null | Types.AgentManaged111;
2674
+ status: "active" | "paused";
2675
+ type: "deployment";
2676
+ updated_at: string;
2677
+ vault_ids: Array<string>;
2678
+ budget?: null | Types.AgentManaged76;
2679
+ target: {
2680
+ type: "environment" | "computer";
2681
+ };
2682
+ }>;
2683
+ };
2684
+ update: (options: import("./core/transport.js").CallOptions<Types.DeploymentsUpdateData>) => Promise<{
2685
+ id: string;
2686
+ agent: {
2687
+ id: string;
2688
+ type: "agent";
2689
+ version: number;
2690
+ } | {
2691
+ id: string;
2692
+ type: "agent_with_overrides";
2693
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2694
+ cwd?: string;
2695
+ model?: string | {
2696
+ id: string;
2697
+ effort?: null | "low" | "medium" | "high" | "xhigh" | "max" | Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
2698
+ speed?: null | "standard" | "fast";
2699
+ };
2700
+ version: number;
2701
+ };
2702
+ archived_at: null | string;
2703
+ created_at: string;
2704
+ description: null | string;
2705
+ environment_id?: string | null;
2706
+ initial_events: Array<Types.AgentManaged86 | Types.AgentManaged87 | Types.AgentManaged90>;
2707
+ metadata: Types.AgentManaged91;
2708
+ name: string;
2709
+ paused_reason: null | Types.AgentManaged92 | Types.AgentManaged93;
2710
+ resources: Array<Types.AgentManaged108 | Types.AgentManaged109 | Types.AgentManaged110>;
2711
+ schedule: null | Types.AgentManaged111;
2712
+ status: "active" | "paused";
2713
+ type: "deployment";
2714
+ updated_at: string;
2715
+ vault_ids: Array<string>;
2716
+ budget?: null | Types.AgentManaged76;
2717
+ target: {
2718
+ type: "environment" | "computer";
2719
+ };
2720
+ }>;
2721
+ };
2722
+ environments: {
2723
+ archive: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsArchiveData>) => Promise<Types.AgentManaged138>;
2724
+ create: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsCreateData>) => Promise<Types.AgentManaged138>;
2725
+ list: (options?: import("./core/transport.js").CallOptions<Types.EnvironmentsListData> | undefined) => Promise<{
2726
+ data: Array<Types.AgentManaged138>;
2727
+ next_page: string | null;
2728
+ }>;
2729
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsRetrieveData>) => Promise<Types.AgentManaged138>;
2730
+ update: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsUpdateData>) => Promise<Types.AgentManaged138>;
2731
+ };
2732
+ sessions: {
2733
+ agentVersion: {
2734
+ create: (options: import("./core/transport.js").CallOptions<Types.UpdateSessionAgentVersionData>) => Promise<{
2735
+ id: string;
2736
+ agent: {
2737
+ id: string;
2738
+ description: null | string;
2739
+ mcp_servers: Array<{
2740
+ type: "url";
2741
+ name: string;
2742
+ url: string;
2743
+ headers?: {
2744
+ [key: string]: string;
2745
+ };
2746
+ timeout_ms?: number;
2747
+ } | {
2748
+ type: "sse";
2749
+ name: string;
2750
+ url: string;
2751
+ headers?: {
2752
+ [key: string]: string;
2753
+ };
2754
+ timeout_ms?: number;
2755
+ } | {
2756
+ type: "stdio";
2757
+ name: string;
2758
+ command: string;
2759
+ args?: Array<string>;
2760
+ env?: {
2761
+ [key: string]: string;
2762
+ };
2763
+ timeout_ms?: number;
2764
+ }>;
2765
+ model: {
2766
+ id: string;
2767
+ effort?: {
2768
+ type: "low";
2769
+ } | {
2770
+ type: "medium";
2771
+ } | {
2772
+ type: "high";
2773
+ } | {
2774
+ type: "xhigh";
2775
+ } | {
2776
+ type: "max";
2777
+ };
2778
+ inference_geo?: string;
2779
+ speed?: "standard" | "fast";
2780
+ settings?: {
2781
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2782
+ max_output_tokens?: number;
2783
+ };
2784
+ };
2785
+ multiagent: null | {
2786
+ agents: Array<{
2787
+ model: string;
2788
+ type: "advisor";
2789
+ } | {
2790
+ id: string;
2791
+ description: null | string;
2792
+ mcp_servers: Array<{
2793
+ type: "url";
2794
+ name: string;
2795
+ url: string;
2796
+ headers?: {
2797
+ [key: string]: string;
2798
+ };
2799
+ timeout_ms?: number;
2800
+ } | {
2801
+ type: "sse";
2802
+ name: string;
2803
+ url: string;
2804
+ headers?: {
2805
+ [key: string]: string;
2806
+ };
2807
+ timeout_ms?: number;
2808
+ } | {
2809
+ type: "stdio";
2810
+ name: string;
2811
+ command: string;
2812
+ args?: Array<string>;
2813
+ env?: {
2814
+ [key: string]: string;
2815
+ };
2816
+ timeout_ms?: number;
2817
+ }>;
2818
+ model: {
2819
+ id: string;
2820
+ effort?: {
2821
+ type: "low";
2822
+ } | {
2823
+ type: "medium";
2824
+ } | {
2825
+ type: "high";
2826
+ } | {
2827
+ type: "xhigh";
2828
+ } | {
2829
+ type: "max";
2830
+ };
2831
+ inference_geo?: string;
2832
+ speed?: "standard" | "fast";
2833
+ };
2834
+ name: string;
2835
+ skills: Array<{
2836
+ skill_id: string;
2837
+ type: "anthropic";
2838
+ version: string;
2839
+ } | {
2840
+ skill_id: string;
2841
+ type: "custom";
2842
+ version: string;
2843
+ }>;
2844
+ system: null | string;
2845
+ tools: Array<{
2846
+ configs: Array<{
2847
+ enabled: boolean;
2848
+ name: "bash";
2849
+ permission_policy: {
2850
+ type: "always_allow";
2851
+ } | {
2852
+ type: "always_ask";
2853
+ } | {
2854
+ type: "auto";
2855
+ };
2856
+ type: "bash";
2857
+ } | {
2858
+ enabled: boolean;
2859
+ name: "edit";
2860
+ permission_policy: {
2861
+ type: "always_allow";
2862
+ } | {
2863
+ type: "always_ask";
2864
+ } | {
2865
+ type: "auto";
2866
+ };
2867
+ type: "edit";
2868
+ } | {
2869
+ enabled: boolean;
2870
+ name: "read";
2871
+ permission_policy: {
2872
+ type: "always_allow";
2873
+ } | {
2874
+ type: "always_ask";
2875
+ } | {
2876
+ type: "auto";
2877
+ };
2878
+ type: "read";
2879
+ } | {
2880
+ enabled: boolean;
2881
+ name: "write";
2882
+ permission_policy: {
2883
+ type: "always_allow";
2884
+ } | {
2885
+ type: "always_ask";
2886
+ } | {
2887
+ type: "auto";
2888
+ };
2889
+ type: "write";
2890
+ } | {
2891
+ enabled: boolean;
2892
+ name: "glob";
2893
+ permission_policy: {
2894
+ type: "always_allow";
2895
+ } | {
2896
+ type: "always_ask";
2897
+ } | {
2898
+ type: "auto";
2899
+ };
2900
+ type: "glob";
2901
+ } | {
2902
+ enabled: boolean;
2903
+ name: "grep";
2904
+ permission_policy: {
2905
+ type: "always_allow";
2906
+ } | {
2907
+ type: "always_ask";
2908
+ } | {
2909
+ type: "auto";
2910
+ };
2911
+ type: "grep";
2912
+ } | {
2913
+ enabled: boolean;
2914
+ name: "web_fetch";
2915
+ permission_policy: {
2916
+ type: "always_allow";
2917
+ } | {
2918
+ type: "always_ask";
2919
+ } | {
2920
+ type: "auto";
2921
+ };
2922
+ type: "web_fetch";
2923
+ allowed_domains?: Array<string>;
2924
+ blocked_domains?: Array<string>;
2925
+ max_content_tokens?: null | number;
2926
+ } | {
2927
+ enabled: boolean;
2928
+ name: "web_search";
2929
+ permission_policy: {
2930
+ type: "always_allow";
2931
+ } | {
2932
+ type: "always_ask";
2933
+ } | {
2934
+ type: "auto";
2935
+ };
2936
+ type: "web_search";
2937
+ allowed_domains?: Array<string>;
2938
+ blocked_domains?: Array<string>;
2939
+ user_location?: null | {
2940
+ type: "approximate";
2941
+ city?: null | string;
2942
+ country?: null | string;
2943
+ region?: null | string;
2944
+ timezone?: null | string;
2945
+ };
2946
+ } | {
2947
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
2948
+ enabled: boolean;
2949
+ permission_policy: {
2950
+ type: "always_allow" | "always_ask";
2951
+ };
2952
+ }>;
2953
+ default_config: {
2954
+ enabled: boolean;
2955
+ permission_policy: {
2956
+ type: "always_allow";
2957
+ } | {
2958
+ type: "always_ask";
2959
+ } | {
2960
+ type: "auto";
2961
+ };
2962
+ };
2963
+ type: "agent_toolset_20260401";
2964
+ } | {
2965
+ type: "mcp_toolset";
2966
+ mcp_server_name: string;
2967
+ default_config?: {
2968
+ enabled?: boolean | null;
2969
+ permission_policy?: null | {
2970
+ type: "always_allow" | "always_ask";
2971
+ };
2972
+ } | null;
2973
+ configs?: Array<{
2974
+ name: string;
2975
+ enabled?: boolean | null;
2976
+ permission_policy?: null | {
2977
+ type: "always_allow" | "always_ask";
2978
+ };
2979
+ }> | null;
2980
+ } | {
2981
+ description: string;
2982
+ input_schema: {
2983
+ type: "object";
2984
+ properties?: null | {
2985
+ [key: string]: unknown;
2986
+ };
2987
+ required?: null | Array<string>;
2988
+ [key: string]: unknown;
2989
+ };
2990
+ name: string;
2991
+ type: "custom";
2992
+ }>;
2993
+ type: "agent";
2994
+ version: number;
2995
+ }>;
2996
+ type: "coordinator";
2997
+ };
2998
+ name: string;
2999
+ skills: Array<{
3000
+ skill_id: string;
3001
+ type: "anthropic";
3002
+ version: string;
3003
+ } | {
3004
+ skill_id: string;
3005
+ type: "custom";
3006
+ version: string;
3007
+ }>;
3008
+ system: null | string;
3009
+ tools: Array<{
3010
+ configs: Array<{
3011
+ enabled: boolean;
3012
+ name: "bash";
3013
+ permission_policy: {
3014
+ type: "always_allow";
3015
+ } | {
3016
+ type: "always_ask";
3017
+ } | {
3018
+ type: "auto";
3019
+ };
3020
+ type: "bash";
3021
+ } | {
3022
+ enabled: boolean;
3023
+ name: "edit";
3024
+ permission_policy: {
3025
+ type: "always_allow";
3026
+ } | {
3027
+ type: "always_ask";
3028
+ } | {
3029
+ type: "auto";
3030
+ };
3031
+ type: "edit";
3032
+ } | {
3033
+ enabled: boolean;
3034
+ name: "read";
3035
+ permission_policy: {
3036
+ type: "always_allow";
3037
+ } | {
3038
+ type: "always_ask";
3039
+ } | {
3040
+ type: "auto";
3041
+ };
3042
+ type: "read";
3043
+ } | {
3044
+ enabled: boolean;
3045
+ name: "write";
3046
+ permission_policy: {
3047
+ type: "always_allow";
3048
+ } | {
3049
+ type: "always_ask";
3050
+ } | {
3051
+ type: "auto";
3052
+ };
3053
+ type: "write";
3054
+ } | {
3055
+ enabled: boolean;
3056
+ name: "glob";
3057
+ permission_policy: {
3058
+ type: "always_allow";
3059
+ } | {
3060
+ type: "always_ask";
3061
+ } | {
3062
+ type: "auto";
3063
+ };
3064
+ type: "glob";
3065
+ } | {
3066
+ enabled: boolean;
3067
+ name: "grep";
3068
+ permission_policy: {
3069
+ type: "always_allow";
3070
+ } | {
3071
+ type: "always_ask";
3072
+ } | {
3073
+ type: "auto";
3074
+ };
3075
+ type: "grep";
3076
+ } | {
3077
+ enabled: boolean;
3078
+ name: "web_fetch";
3079
+ permission_policy: {
3080
+ type: "always_allow";
3081
+ } | {
3082
+ type: "always_ask";
3083
+ } | {
3084
+ type: "auto";
3085
+ };
3086
+ type: "web_fetch";
3087
+ allowed_domains?: Array<string>;
3088
+ blocked_domains?: Array<string>;
3089
+ max_content_tokens?: null | number;
3090
+ } | {
3091
+ enabled: boolean;
3092
+ name: "web_search";
3093
+ permission_policy: {
3094
+ type: "always_allow";
3095
+ } | {
3096
+ type: "always_ask";
3097
+ } | {
3098
+ type: "auto";
3099
+ };
3100
+ type: "web_search";
3101
+ allowed_domains?: Array<string>;
3102
+ blocked_domains?: Array<string>;
3103
+ user_location?: null | {
3104
+ type: "approximate";
3105
+ city?: null | string;
3106
+ country?: null | string;
3107
+ region?: null | string;
3108
+ timezone?: null | string;
3109
+ };
3110
+ } | {
3111
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
3112
+ enabled: boolean;
3113
+ permission_policy: {
3114
+ type: "always_allow" | "always_ask";
3115
+ };
3116
+ }>;
3117
+ default_config: {
3118
+ enabled: boolean;
3119
+ permission_policy: {
3120
+ type: "always_allow";
3121
+ } | {
3122
+ type: "always_ask";
3123
+ } | {
3124
+ type: "auto";
3125
+ };
3126
+ };
3127
+ type: "agent_toolset_20260401";
3128
+ } | {
3129
+ type: "mcp_toolset";
3130
+ mcp_server_name: string;
3131
+ default_config?: {
3132
+ enabled?: boolean | null;
3133
+ permission_policy?: null | {
3134
+ type: "always_allow" | "always_ask";
3135
+ };
3136
+ } | null;
3137
+ configs?: Array<{
3138
+ name: string;
3139
+ enabled?: boolean | null;
3140
+ permission_policy?: null | {
3141
+ type: "always_allow" | "always_ask";
3142
+ };
3143
+ }> | null;
3144
+ } | {
3145
+ description: string;
3146
+ input_schema: {
3147
+ type: "object";
3148
+ properties?: null | {
3149
+ [key: string]: unknown;
3150
+ };
3151
+ required?: null | Array<string>;
3152
+ [key: string]: unknown;
3153
+ };
3154
+ name: string;
3155
+ type: "custom";
3156
+ }>;
3157
+ type: "agent";
3158
+ version: number;
3159
+ };
3160
+ archived_at: null | string;
3161
+ budget: null | {
3162
+ max_list_cost: {
3163
+ amount: string;
3164
+ currency: "USD";
3165
+ };
3166
+ type: "limit";
3167
+ };
3168
+ created_at: string;
3169
+ environment_id?: string;
3170
+ metadata: {
3171
+ [key: string]: string;
3172
+ };
3173
+ outcome_evaluations: Array<{
3174
+ completed_at: null | string;
3175
+ description: string;
3176
+ explanation: null | string;
3177
+ iteration: number;
3178
+ outcome_id: string;
3179
+ result: string;
3180
+ type: "outcome_evaluation";
3181
+ }>;
3182
+ resources: Array<{
3183
+ id: string;
3184
+ created_at: string;
3185
+ mount_path: string;
3186
+ type: "github_repository";
3187
+ updated_at: string;
3188
+ url: string;
3189
+ checkout?: null | {
3190
+ name: string;
3191
+ type: "branch";
3192
+ } | {
3193
+ sha: string;
3194
+ type: "commit";
3195
+ };
3196
+ } | {
3197
+ id: string;
3198
+ created_at: string;
3199
+ file_id: string;
3200
+ mount_path: string;
3201
+ type: "file";
3202
+ updated_at: string;
3203
+ } | {
3204
+ memory_store_id: string;
3205
+ type: "memory_store";
3206
+ access?: null | "read_write" | "read_only";
3207
+ description?: string;
3208
+ instructions?: null | string;
3209
+ mount_path?: null | string;
3210
+ name?: null | string;
3211
+ }>;
3212
+ stats: {
3213
+ active_seconds?: number;
3214
+ duration_seconds?: number;
2371
3215
  };
2372
- archived_at: null | string;
2373
- created_at: string;
2374
- description: null | string;
2375
- environment_id?: string | null;
2376
- initial_events: Array<Types.AgentManaged86 | Types.AgentManaged87 | Types.AgentManaged90>;
2377
- metadata: Types.AgentManaged91;
2378
- name: string;
2379
- paused_reason: null | Types.AgentManaged92 | Types.AgentManaged93;
2380
- resources: Array<Types.AgentManaged108 | Types.AgentManaged109 | Types.AgentManaged110>;
2381
- schedule: null | Types.AgentManaged111;
2382
- status: "active" | "paused";
2383
- type: "deployment";
3216
+ status: "rescheduling" | "running" | "idle" | "terminated";
3217
+ title: null | string;
3218
+ type: "session";
2384
3219
  updated_at: string;
3220
+ usage: {
3221
+ active_seconds?: number;
3222
+ cache_creation?: {
3223
+ ephemeral_1h_input_tokens?: number;
3224
+ ephemeral_5m_input_tokens?: number;
3225
+ };
3226
+ cache_read_input_tokens?: number;
3227
+ input_tokens?: number;
3228
+ list_cost?: null | {
3229
+ amount: string;
3230
+ currency: "USD";
3231
+ };
3232
+ output_tokens?: number;
3233
+ server_tool_use?: null | {
3234
+ web_fetch_requests?: number;
3235
+ web_search_requests?: number;
3236
+ };
3237
+ cost_by_product?: {
3238
+ [key: string]: string;
3239
+ };
3240
+ subagent_cost_micro_usd?: number;
3241
+ };
2385
3242
  vault_ids: Array<string>;
2386
- budget?: null | Types.AgentManaged76;
2387
- target: {
2388
- type: "environment" | "computer";
3243
+ deployment_id?: null | string;
3244
+ cwd: string;
3245
+ workspace?: {
3246
+ kind: "shared" | "isolated";
3247
+ path?: string;
3248
+ branch?: string;
2389
3249
  };
2390
- }>;
2391
- };
2392
- update: (options: import("./core/transport.js").CallOptions<Types.DeploymentsUpdateData>) => Promise<{
2393
- id: string;
2394
- agent: {
2395
- id: string;
2396
- type: "agent";
2397
- version: number;
2398
- } | {
2399
- id: string;
2400
- type: "agent_with_overrides";
2401
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2402
- cwd?: string;
2403
- model?: string | {
3250
+ computer_id?: string;
3251
+ model?: {
2404
3252
  id: string;
2405
- effort?: null | "low" | "medium" | "high" | "xhigh" | "max" | Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
2406
- speed?: null | "standard" | "fast";
3253
+ thinking: {
3254
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
3255
+ can_disable: boolean;
3256
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
3257
+ } | null;
2407
3258
  };
2408
- version: number;
2409
- };
2410
- archived_at: null | string;
2411
- created_at: string;
2412
- description: null | string;
2413
- environment_id?: string | null;
2414
- initial_events: Array<Types.AgentManaged86 | Types.AgentManaged87 | Types.AgentManaged90>;
2415
- metadata: Types.AgentManaged91;
2416
- name: string;
2417
- paused_reason: null | Types.AgentManaged92 | Types.AgentManaged93;
2418
- resources: Array<Types.AgentManaged108 | Types.AgentManaged109 | Types.AgentManaged110>;
2419
- schedule: null | Types.AgentManaged111;
2420
- status: "active" | "paused";
2421
- type: "deployment";
2422
- updated_at: string;
2423
- vault_ids: Array<string>;
2424
- budget?: null | Types.AgentManaged76;
2425
- target: {
2426
- type: "environment" | "computer";
2427
- };
2428
- }>;
2429
- };
2430
- environments: {
2431
- archive: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsArchiveData>) => Promise<Types.AgentManaged138>;
2432
- create: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsCreateData>) => Promise<Types.AgentManaged138>;
2433
- list: (options?: import("./core/transport.js").CallOptions<Types.EnvironmentsListData> | undefined) => Promise<{
2434
- data: Array<Types.AgentManaged138>;
2435
- next_page: string | null;
2436
- }>;
2437
- retrieve: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsRetrieveData>) => Promise<Types.AgentManaged138>;
2438
- update: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsUpdateData>) => Promise<Types.AgentManaged138>;
2439
- };
2440
- sessions: {
3259
+ thinking?: {
3260
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3261
+ } | null;
3262
+ forked_from?: {
3263
+ session_id: string;
3264
+ message_id: string;
3265
+ } | null;
3266
+ readonly external_user_id: string | null;
3267
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
3268
+ }>;
3269
+ };
2441
3270
  archive: (options: import("./core/transport.js").CallOptions<Types.SessionsArchiveData>) => Promise<{
2442
3271
  id: string;
2443
3272
  agent: {
@@ -2451,6 +3280,7 @@ export declare function createAgent(transport: Transport): {
2451
3280
  speed?: "standard" | "fast";
2452
3281
  settings?: {
2453
3282
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3283
+ max_output_tokens?: number;
2454
3284
  };
2455
3285
  };
2456
3286
  multiagent: null | Types.AgentManaged171;
@@ -2477,6 +3307,11 @@ export declare function createAgent(transport: Transport): {
2477
3307
  vault_ids: Array<string>;
2478
3308
  deployment_id?: null | string;
2479
3309
  cwd: string;
3310
+ workspace?: {
3311
+ kind: "shared" | "isolated";
3312
+ path?: string;
3313
+ branch?: string;
3314
+ };
2480
3315
  computer_id?: string;
2481
3316
  model?: {
2482
3317
  id: string;
@@ -2612,6 +3447,7 @@ export declare function createAgent(transport: Transport): {
2612
3447
  speed?: "standard" | "fast";
2613
3448
  settings?: {
2614
3449
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3450
+ max_output_tokens?: number;
2615
3451
  };
2616
3452
  };
2617
3453
  multiagent: null | Types.AgentManaged171;
@@ -2638,6 +3474,11 @@ export declare function createAgent(transport: Transport): {
2638
3474
  vault_ids: Array<string>;
2639
3475
  deployment_id?: null | string;
2640
3476
  cwd: string;
3477
+ workspace?: {
3478
+ kind: "shared" | "isolated";
3479
+ path?: string;
3480
+ branch?: string;
3481
+ };
2641
3482
  computer_id?: string;
2642
3483
  model?: {
2643
3484
  id: string;
@@ -2698,7 +3539,6 @@ export declare function createAgent(transport: Transport): {
2698
3539
  run_id: string | null;
2699
3540
  message_id?: string;
2700
3541
  } | {
2701
- full_access_available?: boolean;
2702
3542
  id: string;
2703
3543
  input: Types.AgentManaged197;
2704
3544
  mcp_server_name: string;
@@ -2708,6 +3548,18 @@ export declare function createAgent(transport: Transport): {
2708
3548
  evaluated_permission?: "allow" | "deny" | "ask";
2709
3549
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2710
3550
  session_thread_id?: null | string;
3551
+ permission_suggestions?: Array<{
3552
+ type: "add_rules";
3553
+ behavior: "allow";
3554
+ destination: "agent" | "session";
3555
+ rules: Array<{
3556
+ tool_name: string;
3557
+ rule_content: string;
3558
+ }>;
3559
+ }>;
3560
+ full_access_available?: boolean;
3561
+ user_once?: true;
3562
+ guarded_rule?: string;
2711
3563
  run_id: string | null;
2712
3564
  _meta?: {
2713
3565
  ui?: {
@@ -2721,17 +3573,6 @@ export declare function createAgent(transport: Transport): {
2721
3573
  };
2722
3574
  source?: "app" | "codemode";
2723
3575
  parent_tool_use_id?: string;
2724
- user_once?: true;
2725
- guarded_rule?: string;
2726
- permission_suggestions?: Array<{
2727
- type: "add_rules";
2728
- behavior: "allow";
2729
- destination: "agent" | "session";
2730
- rules: Array<{
2731
- tool_name: string;
2732
- rule_content: string;
2733
- }>;
2734
- }>;
2735
3576
  title?: string;
2736
3577
  input_titles?: {
2737
3578
  [key: string]: string;
@@ -2750,7 +3591,6 @@ export declare function createAgent(transport: Transport): {
2750
3591
  };
2751
3592
  source?: "app" | "codemode";
2752
3593
  } | {
2753
- full_access_available?: boolean;
2754
3594
  id: string;
2755
3595
  input: Types.AgentManaged206;
2756
3596
  name: string;
@@ -2759,9 +3599,6 @@ export declare function createAgent(transport: Transport): {
2759
3599
  evaluated_permission?: "allow" | "deny" | "ask";
2760
3600
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2761
3601
  session_thread_id?: null | string;
2762
- run_id: string | null;
2763
- user_once?: true;
2764
- guarded_rule?: string;
2765
3602
  permission_suggestions?: Array<{
2766
3603
  type: "add_rules";
2767
3604
  behavior: "allow";
@@ -2771,6 +3608,10 @@ export declare function createAgent(transport: Transport): {
2771
3608
  rule_content: string;
2772
3609
  }>;
2773
3610
  }>;
3611
+ full_access_available?: boolean;
3612
+ user_once?: true;
3613
+ guarded_rule?: string;
3614
+ run_id: string | null;
2774
3615
  } | {
2775
3616
  id: string;
2776
3617
  processed_at: string;
@@ -2791,9 +3632,6 @@ export declare function createAgent(transport: Transport): {
2791
3632
  type: "session.status_idle";
2792
3633
  run_id: string | null;
2793
3634
  } | Types.AgentManaged230 | Types.AgentManaged231 | Types.AgentManaged232 | Types.AgentManaged233 | Types.AgentManaged235 | Types.AgentManaged236 | Types.AgentManaged237 | Types.AgentManaged238 | Types.AgentManaged239 | Types.AgentManaged240 | Types.AgentManaged241 | Types.AgentManaged242 | Types.AgentManaged243 | Types.AgentManaged244 | {
2794
- permission_mode_version?: number;
2795
- previous_permission_mode?: string | null;
2796
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2797
3635
  id: string;
2798
3636
  processed_at: string;
2799
3637
  type: "session.updated";
@@ -2801,6 +3639,9 @@ export declare function createAgent(transport: Transport): {
2801
3639
  budget?: null | Types.AgentManaged76;
2802
3640
  metadata?: Types.AgentManaged246;
2803
3641
  title?: null | string;
3642
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
3643
+ previous_permission_mode?: string | null;
3644
+ permission_mode_version?: number;
2804
3645
  model?: {
2805
3646
  id: string;
2806
3647
  };
@@ -2859,21 +3700,6 @@ export declare function createAgent(transport: Transport): {
2859
3700
  type: "user.steer";
2860
3701
  event_id: string;
2861
3702
  processed_at: string;
2862
- } | {
2863
- id: string;
2864
- type: "user.tool_confirmation";
2865
- processed_at: string;
2866
- tool_use_id: string;
2867
- result: "allow";
2868
- answers: {
2869
- [key: string]: string;
2870
- };
2871
- annotations?: {
2872
- [key: string]: {
2873
- preview?: string;
2874
- notes?: string;
2875
- };
2876
- };
2877
3703
  }>;
2878
3704
  next_page: string | null;
2879
3705
  }>;
@@ -2894,21 +3720,6 @@ export declare function createAgent(transport: Transport): {
2894
3720
  type: "user.steer";
2895
3721
  event_id: string;
2896
3722
  processed_at: string;
2897
- } | {
2898
- id: string;
2899
- type: "user.tool_confirmation";
2900
- processed_at: string;
2901
- tool_use_id: string;
2902
- result: "allow";
2903
- answers: {
2904
- [key: string]: string;
2905
- };
2906
- annotations?: {
2907
- [key: string]: {
2908
- preview?: string;
2909
- notes?: string;
2910
- };
2911
- };
2912
3723
  }>;
2913
3724
  }>;
2914
3725
  stream: (options: import("./core/transport.js").StreamOptions<Types.SessionsEventsStreamData>) => AsyncIterable<Types.AgentSseEvent>;
@@ -2961,6 +3772,7 @@ export declare function createAgent(transport: Transport): {
2961
3772
  speed?: "standard" | "fast";
2962
3773
  settings?: {
2963
3774
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3775
+ max_output_tokens?: number;
2964
3776
  };
2965
3777
  };
2966
3778
  multiagent: null | {
@@ -3423,6 +4235,11 @@ export declare function createAgent(transport: Transport): {
3423
4235
  vault_ids: Array<string>;
3424
4236
  deployment_id?: null | string;
3425
4237
  cwd: string;
4238
+ workspace?: {
4239
+ kind: "shared" | "isolated";
4240
+ path?: string;
4241
+ branch?: string;
4242
+ };
3426
4243
  computer_id?: string;
3427
4244
  model?: {
3428
4245
  id: string;
@@ -3456,32 +4273,576 @@ export declare function createAgent(transport: Transport): {
3456
4273
  speed?: "standard" | "fast";
3457
4274
  settings?: {
3458
4275
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4276
+ max_output_tokens?: number;
4277
+ };
4278
+ };
4279
+ multiagent: null | Types.AgentManaged171;
4280
+ name: string;
4281
+ skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
4282
+ system: null | string;
4283
+ tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
4284
+ type: "agent";
4285
+ version: number;
4286
+ };
4287
+ archived_at: null | string;
4288
+ budget: null | Types.AgentManaged76;
4289
+ created_at: string;
4290
+ environment_id?: string;
4291
+ metadata: Types.AgentManaged173;
4292
+ outcome_evaluations: Array<Types.AgentManaged174>;
4293
+ resources: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
4294
+ stats: Types.AgentManaged178;
4295
+ status: "rescheduling" | "running" | "idle" | "terminated";
4296
+ title: null | string;
4297
+ type: "session";
4298
+ updated_at: string;
4299
+ usage: Types.AgentManaged179;
4300
+ vault_ids: Array<string>;
4301
+ deployment_id?: null | string;
4302
+ cwd: string;
4303
+ workspace?: {
4304
+ kind: "shared" | "isolated";
4305
+ path?: string;
4306
+ branch?: string;
4307
+ };
4308
+ computer_id?: string;
4309
+ model?: {
4310
+ id: string;
4311
+ thinking: {
4312
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
4313
+ can_disable: boolean;
4314
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
4315
+ } | null;
4316
+ };
4317
+ thinking?: {
4318
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4319
+ } | null;
4320
+ forked_from?: {
4321
+ session_id: string;
4322
+ message_id: string;
4323
+ } | null;
4324
+ readonly external_user_id: string | null;
4325
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
4326
+ }>;
4327
+ next_page: string | null;
4328
+ }>;
4329
+ name: {
4330
+ create: (options: import("./core/transport.js").CallOptions<Types.RenameSessionData>) => Promise<{
4331
+ id: string;
4332
+ agent: {
4333
+ id: string;
4334
+ description: null | string;
4335
+ mcp_servers: Array<{
4336
+ type: "url";
4337
+ name: string;
4338
+ url: string;
4339
+ headers?: {
4340
+ [key: string]: string;
4341
+ };
4342
+ timeout_ms?: number;
4343
+ } | {
4344
+ type: "sse";
4345
+ name: string;
4346
+ url: string;
4347
+ headers?: {
4348
+ [key: string]: string;
4349
+ };
4350
+ timeout_ms?: number;
4351
+ } | {
4352
+ type: "stdio";
4353
+ name: string;
4354
+ command: string;
4355
+ args?: Array<string>;
4356
+ env?: {
4357
+ [key: string]: string;
4358
+ };
4359
+ timeout_ms?: number;
4360
+ }>;
4361
+ model: {
4362
+ id: string;
4363
+ effort?: {
4364
+ type: "low";
4365
+ } | {
4366
+ type: "medium";
4367
+ } | {
4368
+ type: "high";
4369
+ } | {
4370
+ type: "xhigh";
4371
+ } | {
4372
+ type: "max";
4373
+ };
4374
+ inference_geo?: string;
4375
+ speed?: "standard" | "fast";
4376
+ settings?: {
4377
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4378
+ max_output_tokens?: number;
3459
4379
  };
3460
4380
  };
3461
- multiagent: null | Types.AgentManaged171;
4381
+ multiagent: null | {
4382
+ agents: Array<{
4383
+ model: string;
4384
+ type: "advisor";
4385
+ } | {
4386
+ id: string;
4387
+ description: null | string;
4388
+ mcp_servers: Array<{
4389
+ type: "url";
4390
+ name: string;
4391
+ url: string;
4392
+ headers?: {
4393
+ [key: string]: string;
4394
+ };
4395
+ timeout_ms?: number;
4396
+ } | {
4397
+ type: "sse";
4398
+ name: string;
4399
+ url: string;
4400
+ headers?: {
4401
+ [key: string]: string;
4402
+ };
4403
+ timeout_ms?: number;
4404
+ } | {
4405
+ type: "stdio";
4406
+ name: string;
4407
+ command: string;
4408
+ args?: Array<string>;
4409
+ env?: {
4410
+ [key: string]: string;
4411
+ };
4412
+ timeout_ms?: number;
4413
+ }>;
4414
+ model: {
4415
+ id: string;
4416
+ effort?: {
4417
+ type: "low";
4418
+ } | {
4419
+ type: "medium";
4420
+ } | {
4421
+ type: "high";
4422
+ } | {
4423
+ type: "xhigh";
4424
+ } | {
4425
+ type: "max";
4426
+ };
4427
+ inference_geo?: string;
4428
+ speed?: "standard" | "fast";
4429
+ };
4430
+ name: string;
4431
+ skills: Array<{
4432
+ skill_id: string;
4433
+ type: "anthropic";
4434
+ version: string;
4435
+ } | {
4436
+ skill_id: string;
4437
+ type: "custom";
4438
+ version: string;
4439
+ }>;
4440
+ system: null | string;
4441
+ tools: Array<{
4442
+ configs: Array<{
4443
+ enabled: boolean;
4444
+ name: "bash";
4445
+ permission_policy: {
4446
+ type: "always_allow";
4447
+ } | {
4448
+ type: "always_ask";
4449
+ } | {
4450
+ type: "auto";
4451
+ };
4452
+ type: "bash";
4453
+ } | {
4454
+ enabled: boolean;
4455
+ name: "edit";
4456
+ permission_policy: {
4457
+ type: "always_allow";
4458
+ } | {
4459
+ type: "always_ask";
4460
+ } | {
4461
+ type: "auto";
4462
+ };
4463
+ type: "edit";
4464
+ } | {
4465
+ enabled: boolean;
4466
+ name: "read";
4467
+ permission_policy: {
4468
+ type: "always_allow";
4469
+ } | {
4470
+ type: "always_ask";
4471
+ } | {
4472
+ type: "auto";
4473
+ };
4474
+ type: "read";
4475
+ } | {
4476
+ enabled: boolean;
4477
+ name: "write";
4478
+ permission_policy: {
4479
+ type: "always_allow";
4480
+ } | {
4481
+ type: "always_ask";
4482
+ } | {
4483
+ type: "auto";
4484
+ };
4485
+ type: "write";
4486
+ } | {
4487
+ enabled: boolean;
4488
+ name: "glob";
4489
+ permission_policy: {
4490
+ type: "always_allow";
4491
+ } | {
4492
+ type: "always_ask";
4493
+ } | {
4494
+ type: "auto";
4495
+ };
4496
+ type: "glob";
4497
+ } | {
4498
+ enabled: boolean;
4499
+ name: "grep";
4500
+ permission_policy: {
4501
+ type: "always_allow";
4502
+ } | {
4503
+ type: "always_ask";
4504
+ } | {
4505
+ type: "auto";
4506
+ };
4507
+ type: "grep";
4508
+ } | {
4509
+ enabled: boolean;
4510
+ name: "web_fetch";
4511
+ permission_policy: {
4512
+ type: "always_allow";
4513
+ } | {
4514
+ type: "always_ask";
4515
+ } | {
4516
+ type: "auto";
4517
+ };
4518
+ type: "web_fetch";
4519
+ allowed_domains?: Array<string>;
4520
+ blocked_domains?: Array<string>;
4521
+ max_content_tokens?: null | number;
4522
+ } | {
4523
+ enabled: boolean;
4524
+ name: "web_search";
4525
+ permission_policy: {
4526
+ type: "always_allow";
4527
+ } | {
4528
+ type: "always_ask";
4529
+ } | {
4530
+ type: "auto";
4531
+ };
4532
+ type: "web_search";
4533
+ allowed_domains?: Array<string>;
4534
+ blocked_domains?: Array<string>;
4535
+ user_location?: null | {
4536
+ type: "approximate";
4537
+ city?: null | string;
4538
+ country?: null | string;
4539
+ region?: null | string;
4540
+ timezone?: null | string;
4541
+ };
4542
+ } | {
4543
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
4544
+ enabled: boolean;
4545
+ permission_policy: {
4546
+ type: "always_allow" | "always_ask";
4547
+ };
4548
+ }>;
4549
+ default_config: {
4550
+ enabled: boolean;
4551
+ permission_policy: {
4552
+ type: "always_allow";
4553
+ } | {
4554
+ type: "always_ask";
4555
+ } | {
4556
+ type: "auto";
4557
+ };
4558
+ };
4559
+ type: "agent_toolset_20260401";
4560
+ } | {
4561
+ type: "mcp_toolset";
4562
+ mcp_server_name: string;
4563
+ default_config?: {
4564
+ enabled?: boolean | null;
4565
+ permission_policy?: null | {
4566
+ type: "always_allow" | "always_ask";
4567
+ };
4568
+ } | null;
4569
+ configs?: Array<{
4570
+ name: string;
4571
+ enabled?: boolean | null;
4572
+ permission_policy?: null | {
4573
+ type: "always_allow" | "always_ask";
4574
+ };
4575
+ }> | null;
4576
+ } | {
4577
+ description: string;
4578
+ input_schema: {
4579
+ type: "object";
4580
+ properties?: null | {
4581
+ [key: string]: unknown;
4582
+ };
4583
+ required?: null | Array<string>;
4584
+ [key: string]: unknown;
4585
+ };
4586
+ name: string;
4587
+ type: "custom";
4588
+ }>;
4589
+ type: "agent";
4590
+ version: number;
4591
+ }>;
4592
+ type: "coordinator";
4593
+ };
3462
4594
  name: string;
3463
- skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
4595
+ skills: Array<{
4596
+ skill_id: string;
4597
+ type: "anthropic";
4598
+ version: string;
4599
+ } | {
4600
+ skill_id: string;
4601
+ type: "custom";
4602
+ version: string;
4603
+ }>;
3464
4604
  system: null | string;
3465
- tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
4605
+ tools: Array<{
4606
+ configs: Array<{
4607
+ enabled: boolean;
4608
+ name: "bash";
4609
+ permission_policy: {
4610
+ type: "always_allow";
4611
+ } | {
4612
+ type: "always_ask";
4613
+ } | {
4614
+ type: "auto";
4615
+ };
4616
+ type: "bash";
4617
+ } | {
4618
+ enabled: boolean;
4619
+ name: "edit";
4620
+ permission_policy: {
4621
+ type: "always_allow";
4622
+ } | {
4623
+ type: "always_ask";
4624
+ } | {
4625
+ type: "auto";
4626
+ };
4627
+ type: "edit";
4628
+ } | {
4629
+ enabled: boolean;
4630
+ name: "read";
4631
+ permission_policy: {
4632
+ type: "always_allow";
4633
+ } | {
4634
+ type: "always_ask";
4635
+ } | {
4636
+ type: "auto";
4637
+ };
4638
+ type: "read";
4639
+ } | {
4640
+ enabled: boolean;
4641
+ name: "write";
4642
+ permission_policy: {
4643
+ type: "always_allow";
4644
+ } | {
4645
+ type: "always_ask";
4646
+ } | {
4647
+ type: "auto";
4648
+ };
4649
+ type: "write";
4650
+ } | {
4651
+ enabled: boolean;
4652
+ name: "glob";
4653
+ permission_policy: {
4654
+ type: "always_allow";
4655
+ } | {
4656
+ type: "always_ask";
4657
+ } | {
4658
+ type: "auto";
4659
+ };
4660
+ type: "glob";
4661
+ } | {
4662
+ enabled: boolean;
4663
+ name: "grep";
4664
+ permission_policy: {
4665
+ type: "always_allow";
4666
+ } | {
4667
+ type: "always_ask";
4668
+ } | {
4669
+ type: "auto";
4670
+ };
4671
+ type: "grep";
4672
+ } | {
4673
+ enabled: boolean;
4674
+ name: "web_fetch";
4675
+ permission_policy: {
4676
+ type: "always_allow";
4677
+ } | {
4678
+ type: "always_ask";
4679
+ } | {
4680
+ type: "auto";
4681
+ };
4682
+ type: "web_fetch";
4683
+ allowed_domains?: Array<string>;
4684
+ blocked_domains?: Array<string>;
4685
+ max_content_tokens?: null | number;
4686
+ } | {
4687
+ enabled: boolean;
4688
+ name: "web_search";
4689
+ permission_policy: {
4690
+ type: "always_allow";
4691
+ } | {
4692
+ type: "always_ask";
4693
+ } | {
4694
+ type: "auto";
4695
+ };
4696
+ type: "web_search";
4697
+ allowed_domains?: Array<string>;
4698
+ blocked_domains?: Array<string>;
4699
+ user_location?: null | {
4700
+ type: "approximate";
4701
+ city?: null | string;
4702
+ country?: null | string;
4703
+ region?: null | string;
4704
+ timezone?: null | string;
4705
+ };
4706
+ } | {
4707
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
4708
+ enabled: boolean;
4709
+ permission_policy: {
4710
+ type: "always_allow" | "always_ask";
4711
+ };
4712
+ }>;
4713
+ default_config: {
4714
+ enabled: boolean;
4715
+ permission_policy: {
4716
+ type: "always_allow";
4717
+ } | {
4718
+ type: "always_ask";
4719
+ } | {
4720
+ type: "auto";
4721
+ };
4722
+ };
4723
+ type: "agent_toolset_20260401";
4724
+ } | {
4725
+ type: "mcp_toolset";
4726
+ mcp_server_name: string;
4727
+ default_config?: {
4728
+ enabled?: boolean | null;
4729
+ permission_policy?: null | {
4730
+ type: "always_allow" | "always_ask";
4731
+ };
4732
+ } | null;
4733
+ configs?: Array<{
4734
+ name: string;
4735
+ enabled?: boolean | null;
4736
+ permission_policy?: null | {
4737
+ type: "always_allow" | "always_ask";
4738
+ };
4739
+ }> | null;
4740
+ } | {
4741
+ description: string;
4742
+ input_schema: {
4743
+ type: "object";
4744
+ properties?: null | {
4745
+ [key: string]: unknown;
4746
+ };
4747
+ required?: null | Array<string>;
4748
+ [key: string]: unknown;
4749
+ };
4750
+ name: string;
4751
+ type: "custom";
4752
+ }>;
3466
4753
  type: "agent";
3467
4754
  version: number;
3468
4755
  };
3469
4756
  archived_at: null | string;
3470
- budget: null | Types.AgentManaged76;
4757
+ budget: null | {
4758
+ max_list_cost: {
4759
+ amount: string;
4760
+ currency: "USD";
4761
+ };
4762
+ type: "limit";
4763
+ };
3471
4764
  created_at: string;
3472
4765
  environment_id?: string;
3473
- metadata: Types.AgentManaged173;
3474
- outcome_evaluations: Array<Types.AgentManaged174>;
3475
- resources: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
3476
- stats: Types.AgentManaged178;
4766
+ metadata: {
4767
+ [key: string]: string;
4768
+ };
4769
+ outcome_evaluations: Array<{
4770
+ completed_at: null | string;
4771
+ description: string;
4772
+ explanation: null | string;
4773
+ iteration: number;
4774
+ outcome_id: string;
4775
+ result: string;
4776
+ type: "outcome_evaluation";
4777
+ }>;
4778
+ resources: Array<{
4779
+ id: string;
4780
+ created_at: string;
4781
+ mount_path: string;
4782
+ type: "github_repository";
4783
+ updated_at: string;
4784
+ url: string;
4785
+ checkout?: null | {
4786
+ name: string;
4787
+ type: "branch";
4788
+ } | {
4789
+ sha: string;
4790
+ type: "commit";
4791
+ };
4792
+ } | {
4793
+ id: string;
4794
+ created_at: string;
4795
+ file_id: string;
4796
+ mount_path: string;
4797
+ type: "file";
4798
+ updated_at: string;
4799
+ } | {
4800
+ memory_store_id: string;
4801
+ type: "memory_store";
4802
+ access?: null | "read_write" | "read_only";
4803
+ description?: string;
4804
+ instructions?: null | string;
4805
+ mount_path?: null | string;
4806
+ name?: null | string;
4807
+ }>;
4808
+ stats: {
4809
+ active_seconds?: number;
4810
+ duration_seconds?: number;
4811
+ };
3477
4812
  status: "rescheduling" | "running" | "idle" | "terminated";
3478
4813
  title: null | string;
3479
4814
  type: "session";
3480
4815
  updated_at: string;
3481
- usage: Types.AgentManaged179;
4816
+ usage: {
4817
+ active_seconds?: number;
4818
+ cache_creation?: {
4819
+ ephemeral_1h_input_tokens?: number;
4820
+ ephemeral_5m_input_tokens?: number;
4821
+ };
4822
+ cache_read_input_tokens?: number;
4823
+ input_tokens?: number;
4824
+ list_cost?: null | {
4825
+ amount: string;
4826
+ currency: "USD";
4827
+ };
4828
+ output_tokens?: number;
4829
+ server_tool_use?: null | {
4830
+ web_fetch_requests?: number;
4831
+ web_search_requests?: number;
4832
+ };
4833
+ cost_by_product?: {
4834
+ [key: string]: string;
4835
+ };
4836
+ subagent_cost_micro_usd?: number;
4837
+ };
3482
4838
  vault_ids: Array<string>;
3483
4839
  deployment_id?: null | string;
3484
4840
  cwd: string;
4841
+ workspace?: {
4842
+ kind: "shared" | "isolated";
4843
+ path?: string;
4844
+ branch?: string;
4845
+ };
3485
4846
  computer_id?: string;
3486
4847
  model?: {
3487
4848
  id: string;
@@ -3501,8 +4862,7 @@ export declare function createAgent(transport: Transport): {
3501
4862
  readonly external_user_id: string | null;
3502
4863
  readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
3503
4864
  }>;
3504
- next_page: string | null;
3505
- }>;
4865
+ };
3506
4866
  requests: {
3507
4867
  list: (options: import("./core/transport.js").CallOptions<Types.ListSessionRequestsData>) => Promise<{
3508
4868
  data: Array<{
@@ -3547,6 +4907,7 @@ export declare function createAgent(transport: Transport): {
3547
4907
  speed?: "standard" | "fast";
3548
4908
  settings?: {
3549
4909
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4910
+ max_output_tokens?: number;
3550
4911
  };
3551
4912
  };
3552
4913
  multiagent: null | Types.AgentManaged171;
@@ -3573,6 +4934,11 @@ export declare function createAgent(transport: Transport): {
3573
4934
  vault_ids: Array<string>;
3574
4935
  deployment_id?: null | string;
3575
4936
  cwd: string;
4937
+ workspace?: {
4938
+ kind: "shared" | "isolated";
4939
+ path?: string;
4940
+ branch?: string;
4941
+ };
3576
4942
  computer_id?: string;
3577
4943
  model?: {
3578
4944
  id: string;
@@ -3719,7 +5085,6 @@ export declare function createAgent(transport: Transport): {
3719
5085
  run_id: string | null;
3720
5086
  message_id?: string;
3721
5087
  } | {
3722
- full_access_available?: boolean;
3723
5088
  id: string;
3724
5089
  input: Types.AgentManaged197;
3725
5090
  mcp_server_name: string;
@@ -3729,6 +5094,18 @@ export declare function createAgent(transport: Transport): {
3729
5094
  evaluated_permission?: "allow" | "deny" | "ask";
3730
5095
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3731
5096
  session_thread_id?: null | string;
5097
+ permission_suggestions?: Array<{
5098
+ type: "add_rules";
5099
+ behavior: "allow";
5100
+ destination: "agent" | "session";
5101
+ rules: Array<{
5102
+ tool_name: string;
5103
+ rule_content: string;
5104
+ }>;
5105
+ }>;
5106
+ full_access_available?: boolean;
5107
+ user_once?: true;
5108
+ guarded_rule?: string;
3732
5109
  run_id: string | null;
3733
5110
  parent_tool_use_id?: string;
3734
5111
  _meta?: {
@@ -3742,17 +5119,6 @@ export declare function createAgent(transport: Transport): {
3742
5119
  };
3743
5120
  };
3744
5121
  source?: "app" | "codemode";
3745
- user_once?: true;
3746
- guarded_rule?: string;
3747
- permission_suggestions?: Array<{
3748
- type: "add_rules";
3749
- behavior: "allow";
3750
- destination: "agent" | "session";
3751
- rules: Array<{
3752
- tool_name: string;
3753
- rule_content: string;
3754
- }>;
3755
- }>;
3756
5122
  title?: string;
3757
5123
  input_titles?: {
3758
5124
  [key: string]: string;
@@ -3771,7 +5137,6 @@ export declare function createAgent(transport: Transport): {
3771
5137
  };
3772
5138
  source?: "app" | "codemode";
3773
5139
  } | {
3774
- full_access_available?: boolean;
3775
5140
  id: string;
3776
5141
  input: Types.AgentManaged206;
3777
5142
  name: string;
@@ -3780,9 +5145,6 @@ export declare function createAgent(transport: Transport): {
3780
5145
  evaluated_permission?: "allow" | "deny" | "ask";
3781
5146
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3782
5147
  session_thread_id?: null | string;
3783
- run_id: string | null;
3784
- user_once?: true;
3785
- guarded_rule?: string;
3786
5148
  permission_suggestions?: Array<{
3787
5149
  type: "add_rules";
3788
5150
  behavior: "allow";
@@ -3792,6 +5154,10 @@ export declare function createAgent(transport: Transport): {
3792
5154
  rule_content: string;
3793
5155
  }>;
3794
5156
  }>;
5157
+ full_access_available?: boolean;
5158
+ user_once?: true;
5159
+ guarded_rule?: string;
5160
+ run_id: string | null;
3795
5161
  } | {
3796
5162
  id: string;
3797
5163
  processed_at: string;
@@ -3812,9 +5178,6 @@ export declare function createAgent(transport: Transport): {
3812
5178
  type: "session.status_idle";
3813
5179
  run_id: string | null;
3814
5180
  } | Types.AgentManaged230 | Types.AgentManaged231 | Types.AgentManaged232 | Types.AgentManaged233 | Types.AgentManaged235 | Types.AgentManaged236 | Types.AgentManaged237 | Types.AgentManaged238 | Types.AgentManaged239 | Types.AgentManaged240 | Types.AgentManaged241 | Types.AgentManaged242 | Types.AgentManaged243 | Types.AgentManaged244 | {
3815
- permission_mode_version?: number;
3816
- previous_permission_mode?: string | null;
3817
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
3818
5181
  id: string;
3819
5182
  processed_at: string;
3820
5183
  type: "session.updated";
@@ -3822,6 +5185,9 @@ export declare function createAgent(transport: Transport): {
3822
5185
  budget?: null | Types.AgentManaged76;
3823
5186
  metadata?: Types.AgentManaged246;
3824
5187
  title?: null | string;
5188
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
5189
+ previous_permission_mode?: string | null;
5190
+ permission_mode_version?: number;
3825
5191
  model?: {
3826
5192
  id: string;
3827
5193
  };
@@ -3912,6 +5278,7 @@ export declare function createAgent(transport: Transport): {
3912
5278
  speed?: "standard" | "fast";
3913
5279
  settings?: {
3914
5280
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
5281
+ max_output_tokens?: number;
3915
5282
  };
3916
5283
  };
3917
5284
  multiagent: null | Types.AgentManaged171;
@@ -3938,6 +5305,11 @@ export declare function createAgent(transport: Transport): {
3938
5305
  vault_ids: Array<string>;
3939
5306
  deployment_id?: null | string;
3940
5307
  cwd: string;
5308
+ workspace?: {
5309
+ kind: "shared" | "isolated";
5310
+ path?: string;
5311
+ branch?: string;
5312
+ };
3941
5313
  computer_id?: string;
3942
5314
  model?: {
3943
5315
  id: string;
@@ -4002,6 +5374,29 @@ export declare function createAgent(transport: Transport): {
4002
5374
  next_page: null;
4003
5375
  }>;
4004
5376
  };
5377
+ uploads: {
5378
+ contentUrl: {
5379
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadContentUrlData>) => Promise<{
5380
+ url: string;
5381
+ expires_at: string;
5382
+ }>;
5383
+ };
5384
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadData>) => Promise<{
5385
+ upload_id: string;
5386
+ expires_at: string;
5387
+ url: string;
5388
+ } | {
5389
+ upload_id: string;
5390
+ expires_at: string;
5391
+ part_size: number;
5392
+ parts: Array<{
5393
+ part_number: number;
5394
+ url: string;
5395
+ }>;
5396
+ complete_url: string;
5397
+ status_url: string;
5398
+ }>;
5399
+ };
4005
5400
  };
4006
5401
  export declare function createApplication(transport: Transport): {
4007
5402
  assets: {
@@ -4266,6 +5661,11 @@ export declare function createAutomation(transport: Transport): {
4266
5661
  };
4267
5662
  };
4268
5663
  };
5664
+ export declare function createBilling(transport: Transport): {
5665
+ prices: {
5666
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListPublicPricesData> | undefined) => Promise<Types.BillingPriceList>;
5667
+ };
5668
+ };
4269
5669
  export declare function createBrowser(transport: Transport): {
4270
5670
  connect: {
4271
5671
  retrieve: (options?: import("./core/transport.js").CallOptions<Types.BrowserConnectData> | undefined) => Promise<unknown>;
@@ -4387,6 +5787,24 @@ export declare function createCanvas(transport: Transport): {
4387
5787
  update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCollectionData>) => Promise<Types.CanvasCollection>;
4388
5788
  };
4389
5789
  };
5790
+ export declare function createContent(transport: Transport): {
5791
+ contents: {
5792
+ archive: (options: import("./core/transport.js").CallOptions<Types.ContentArchiveContentData>) => Promise<Types.ContentContent>;
5793
+ create: (options: import("./core/transport.js").CallOptions<Types.ContentCreateContentData>) => Promise<Types.ContentContent>;
5794
+ list: (options?: import("./core/transport.js").CallOptions<Types.ContentListContentsData> | undefined) => Promise<Types.ContentContentPage>;
5795
+ publish: (options: import("./core/transport.js").CallOptions<Types.ContentPublishContentData>) => Promise<Types.ContentContent>;
5796
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetContentData>) => Promise<Types.ContentContent>;
5797
+ unpublish: (options: import("./core/transport.js").CallOptions<Types.ContentUnpublishContentData>) => Promise<Types.ContentContent>;
5798
+ update: (options: import("./core/transport.js").CallOptions<Types.ContentUpdateContentData>) => Promise<Types.ContentContent>;
5799
+ };
5800
+ playbackSessions: {
5801
+ create: (options: import("./core/transport.js").CallOptions<Types.ContentCreatePlaybackSessionData>) => Promise<Types.ContentPlaybackSession>;
5802
+ };
5803
+ versions: {
5804
+ list: (options: import("./core/transport.js").CallOptions<Types.ContentListVersionsData>) => Promise<Types.ContentContentVersionPage>;
5805
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetVersionData>) => Promise<Types.ContentContentVersion>;
5806
+ };
5807
+ };
4390
5808
  export declare function createCrm(transport: Transport): {
4391
5809
  associations: {
4392
5810
  create: (options: import("./core/transport.js").CallOptions<Types.CrmAssociationsCreateData>) => Promise<Types.CrmAssociationsLabelsBetweenObjectPair & Types.CrmWriteResult>;
@@ -4447,6 +5865,32 @@ export declare function createCrm(transport: Transport): {
4447
5865
  list: (options?: import("./core/transport.js").CallOptions<Types.CrmSchemasListData> | undefined) => Promise<Types.CrmSchemasCollectionResponseObjectSchemaNoPaging>;
4448
5866
  };
4449
5867
  };
5868
+ export declare function createCustomer(transport: Transport): {
5869
+ accessTokens: {
5870
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateAccessTokenData>) => Promise<Types.CustomerAccessToken>;
5871
+ renew: (options?: import("./core/transport.js").CallOptions<Types.CustomerRenewAccessTokenData> | undefined) => Promise<Types.CustomerAccessToken>;
5872
+ revoke: (options?: import("./core/transport.js").CallOptions<Types.CustomerRevokeCurrentTokensData> | undefined) => Promise<unknown>;
5873
+ };
5874
+ customers: {
5875
+ block: (options: import("./core/transport.js").CallOptions<Types.CustomerBlockCustomerData>) => Promise<Types.CustomerCustomer>;
5876
+ delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeleteCustomerData>) => Promise<Types.CustomerCustomerDeleted>;
5877
+ list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListCustomersData> | undefined) => Promise<Types.CustomerCustomerPage>;
5878
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetCustomerData>) => Promise<Types.CustomerCustomer>;
5879
+ revokeTokens: (options: import("./core/transport.js").CallOptions<Types.CustomerRevokeTokensData>) => Promise<Types.CustomerTokensRevoked>;
5880
+ unblock: (options: import("./core/transport.js").CallOptions<Types.CustomerUnblockCustomerData>) => Promise<Types.CustomerCustomer>;
5881
+ };
5882
+ grantCodes: {
5883
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateGrantCodeData>) => Promise<Types.CustomerGrantCode>;
5884
+ };
5885
+ publishableKeys: {
5886
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreatePublishableKeyData>) => Promise<Types.CustomerPublishableKey>;
5887
+ delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeletePublishableKeyData>) => Promise<Types.CustomerPublishableKeyDeleted>;
5888
+ list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListPublishableKeysData> | undefined) => Promise<Types.CustomerPublishableKeyPage>;
5889
+ };
5890
+ usage: {
5891
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetUsageData>) => Promise<Types.CustomerCustomerUsage>;
5892
+ };
5893
+ };
4450
5894
  export declare function createCut(transport: Transport): {
4451
5895
  exports: {
4452
5896
  cancel: (options: import("./core/transport.js").CallOptions<Types.CutCancelExportData>) => Promise<Types.CutExport>;
@@ -4499,15 +5943,40 @@ export declare function createCut(transport: Transport): {
4499
5943
  };
4500
5944
  export declare function createDatabase(transport: Transport): {
4501
5945
  databases: {
5946
+ commands: {
5947
+ /** @deprecated use praxis.database.kv.commands.execute instead; this path stops working on 2027-03-01. */
5948
+ execute: (options: import("./core/transport.js").CallOptions<Types.DatabaseExecuteCommandData>) => Promise<{
5949
+ result: unknown;
5950
+ }>;
5951
+ };
5952
+ /** @deprecated use praxis.database.table.create for a table database or praxis.database.kv.create for a key-value database instead; this path stops working on 2027-03-01. */
4502
5953
  create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateDatabaseData>) => Promise<Types.DatabaseDatabase>;
5954
+ /** @deprecated use praxis.database.table.delete for a table database or praxis.database.kv.delete for a key-value database instead; this path stops working on 2027-03-01. */
4503
5955
  delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteDatabaseData>) => Promise<Types.DatabaseDatabase>;
4504
5956
  events: {
5957
+ /** @deprecated use praxis.database.table.events.list for a table database or praxis.database.kv.events.list for a key-value database instead; this path stops working on 2027-03-01. */
4505
5958
  list: (options: import("./core/transport.js").CallOptions<Types.DatabaseListEventsData>) => Promise<Types.DatabasePage & {
4506
5959
  data: Array<Types.DatabaseDatabaseEvent>;
4507
5960
  }>;
4508
5961
  };
5962
+ keys: {
5963
+ /** @deprecated use praxis.database.kv.keys.delete instead; this path stops working on 2027-03-01. */
5964
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteKeyData>) => Promise<{
5965
+ deleted: boolean;
5966
+ }>;
5967
+ /** @deprecated use praxis.database.kv.keys.list instead; this path stops working on 2027-03-01. */
5968
+ list: (options: import("./core/transport.js").CallOptions<Types.DatabaseListKeysData>) => Promise<import("./automation.js").Page<Types.DatabaseKeySummary>>;
5969
+ /** @deprecated use praxis.database.kv.keys.retrieve instead; this path stops working on 2027-03-01. */
5970
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetKeyData>) => Promise<Types.DatabaseKey>;
5971
+ /** @deprecated use praxis.database.kv.keys.set instead; this path stops working on 2027-03-01. */
5972
+ set: (options: import("./core/transport.js").CallOptions<Types.DatabaseSetKeyData>) => Promise<Types.DatabaseKey>;
5973
+ /** @deprecated use praxis.database.kv.keys.update instead; this path stops working on 2027-03-01. */
5974
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateKeyData>) => Promise<Types.DatabaseKey>;
5975
+ };
5976
+ /** @deprecated use praxis.database.table.list for a table database or praxis.database.kv.list for a key-value database instead; this path stops working on 2027-03-01. */
4509
5977
  list: (options?: import("./core/transport.js").CallOptions<Types.DatabaseListDatabasesData> | undefined) => Promise<import("./automation.js").Page<Types.DatabaseDatabase>>;
4510
5978
  purge: {
5979
+ /** @deprecated use praxis.database.table.purge.create for a table database or praxis.database.kv.purge.create for a key-value database instead; this path stops working on 2027-03-01. */
4511
5980
  create: (options: import("./core/transport.js").CallOptions<Types.DatabasePurgeDatabaseData>) => Promise<{
4512
5981
  id: string;
4513
5982
  object: "database";
@@ -4515,37 +5984,132 @@ export declare function createDatabase(transport: Transport): {
4515
5984
  }>;
4516
5985
  };
4517
5986
  rest: {
5987
+ /** @deprecated use praxis.database.table.rest.create instead; this path stops working on 2027-03-01. */
4518
5988
  create: (options: import("./core/transport.js").CallOptions<Types.DatabaseInsertData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
5989
+ /** @deprecated use praxis.database.table.rest.delete instead; this path stops working on 2027-03-01. */
4519
5990
  delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
5991
+ /** @deprecated use praxis.database.table.rest.head instead; this path stops working on 2027-03-01. */
4520
5992
  head: (options: import("./core/transport.js").CallOptions<Types.DatabaseHeadData>) => Promise<unknown>;
5993
+ /** @deprecated use praxis.database.table.rest.retrieve instead; this path stops working on 2027-03-01. */
4521
5994
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseSelectData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
5995
+ /** @deprecated use praxis.database.table.rest.update instead; this path stops working on 2027-03-01. */
4522
5996
  update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
4523
5997
  };
5998
+ /** @deprecated use praxis.database.table.restore for a table database or praxis.database.kv.restore for a key-value database instead; this path stops working on 2027-03-01. */
4524
5999
  restore: (options: import("./core/transport.js").CallOptions<Types.DatabaseRestoreDatabaseData>) => Promise<Types.DatabaseDatabase>;
6000
+ /** @deprecated use praxis.database.table.retrieve for a table database or praxis.database.kv.retrieve for a key-value database instead; this path stops working on 2027-03-01. */
4525
6001
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetDatabaseData>) => Promise<Types.DatabaseDatabase>;
4526
6002
  tables: {
6003
+ /** @deprecated use praxis.database.table.tables.create instead; this path stops working on 2027-03-01. */
4527
6004
  create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateTableData>) => Promise<Types.DatabaseTable>;
6005
+ /** @deprecated use praxis.database.table.tables.delete instead; this path stops working on 2027-03-01. */
4528
6006
  delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteTableData>) => Promise<{
4529
6007
  deleted: true;
4530
6008
  }>;
4531
6009
  fields: {
6010
+ /** @deprecated use praxis.database.table.tables.fields.create instead; this path stops working on 2027-03-01. */
4532
6011
  create: (options: import("./core/transport.js").CallOptions<Types.DatabaseAddFieldData>) => Promise<Types.DatabaseTable>;
6012
+ /** @deprecated use praxis.database.table.tables.fields.delete instead; this path stops working on 2027-03-01. */
4533
6013
  delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteFieldData>) => Promise<Types.DatabaseTable>;
6014
+ /** @deprecated use praxis.database.table.tables.fields.update instead; this path stops working on 2027-03-01. */
4534
6015
  update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateFieldData>) => Promise<Types.DatabaseTable>;
4535
6016
  };
6017
+ /** @deprecated use praxis.database.table.tables.list instead; this path stops working on 2027-03-01. */
4536
6018
  list: (options: import("./core/transport.js").CallOptions<Types.DatabaseListTablesData>) => Promise<Types.DatabasePage & {
4537
6019
  data: Array<Types.DatabaseTable>;
4538
6020
  }>;
6021
+ /** @deprecated use praxis.database.table.tables.retrieve instead; this path stops working on 2027-03-01. */
4539
6022
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetTableData>) => Promise<Types.DatabaseTable>;
6023
+ /** @deprecated use praxis.database.table.tables.update instead; this path stops working on 2027-03-01. */
4540
6024
  update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateTableData>) => Promise<Types.DatabaseTable>;
4541
6025
  };
6026
+ /** @deprecated use praxis.database.table.update for a table database or praxis.database.kv.update for a key-value database instead; this path stops working on 2027-03-01. */
4542
6027
  update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateDatabaseData>) => Promise<Types.DatabaseDatabase>;
4543
6028
  };
6029
+ kv: {
6030
+ commands: {
6031
+ execute: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvExecuteCommandData>) => Promise<{
6032
+ result: unknown;
6033
+ }>;
6034
+ };
6035
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
6036
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
6037
+ events: {
6038
+ list: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvListEventsData>) => Promise<Types.DatabasePage & {
6039
+ data: Array<Types.DatabaseDatabaseEvent>;
6040
+ }>;
6041
+ };
6042
+ keys: {
6043
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvDeleteKeyData>) => Promise<{
6044
+ deleted: boolean;
6045
+ }>;
6046
+ list: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvListKeysData>) => Promise<import("./automation.js").Page<Types.DatabaseKeySummary>>;
6047
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvGetKeyData>) => Promise<Types.DatabaseKey>;
6048
+ set: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvSetKeyData>) => Promise<Types.DatabaseKey>;
6049
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvUpdateKeyData>) => Promise<Types.DatabaseKey>;
6050
+ };
6051
+ list: (options?: import("./core/transport.js").CallOptions<Types.DatabaseListKvDatabasesData> | undefined) => Promise<import("./automation.js").Page<Types.DatabaseDatabase>>;
6052
+ purge: {
6053
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabasePurgeKvDatabaseData>) => Promise<{
6054
+ id: string;
6055
+ object: "database";
6056
+ purged: true;
6057
+ }>;
6058
+ };
6059
+ restore: (options: import("./core/transport.js").CallOptions<Types.DatabaseRestoreKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
6060
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
6061
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
6062
+ };
6063
+ table: {
6064
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
6065
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
6066
+ events: {
6067
+ list: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableListEventsData>) => Promise<Types.DatabasePage & {
6068
+ data: Array<Types.DatabaseDatabaseEvent>;
6069
+ }>;
6070
+ };
6071
+ list: (options?: import("./core/transport.js").CallOptions<Types.DatabaseListTableDatabasesData> | undefined) => Promise<import("./automation.js").Page<Types.DatabaseDatabase>>;
6072
+ purge: {
6073
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabasePurgeTableDatabaseData>) => Promise<{
6074
+ id: string;
6075
+ object: "database";
6076
+ purged: true;
6077
+ }>;
6078
+ };
6079
+ rest: {
6080
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableInsertData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
6081
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableDeleteData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
6082
+ head: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableHeadData>) => Promise<unknown>;
6083
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableSelectData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
6084
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableUpdateData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
6085
+ };
6086
+ restore: (options: import("./core/transport.js").CallOptions<Types.DatabaseRestoreTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
6087
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
6088
+ tables: {
6089
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableCreateTableData>) => Promise<Types.DatabaseTable>;
6090
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableDeleteTableData>) => Promise<{
6091
+ deleted: true;
6092
+ }>;
6093
+ fields: {
6094
+ create: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableAddFieldData>) => Promise<Types.DatabaseTable>;
6095
+ delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableDeleteFieldData>) => Promise<Types.DatabaseTable>;
6096
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableUpdateFieldData>) => Promise<Types.DatabaseTable>;
6097
+ };
6098
+ list: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableListTablesData>) => Promise<Types.DatabasePage & {
6099
+ data: Array<Types.DatabaseTable>;
6100
+ }>;
6101
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableGetTableData>) => Promise<Types.DatabaseTable>;
6102
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableUpdateTableData>) => Promise<Types.DatabaseTable>;
6103
+ };
6104
+ update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
6105
+ };
4544
6106
  };
4545
6107
  export declare function createDevops(transport: Transport): {
4546
6108
  changes: {
4547
6109
  abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesAbandonData>) => Promise<Types.DevopsChange>;
6110
+ gitCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGitCredentialData>) => Promise<Types.DevopsChangeGitCredential>;
4548
6111
  markLastSlice: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesMarkLastSliceData>) => Promise<Types.DevopsChange>;
6112
+ openPullRequest: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesOpenPullRequestData>) => Promise<Types.DevopsChangePullRequestOpened>;
4549
6113
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGetData>) => Promise<Types.DevopsChange>;
4550
6114
  };
4551
6115
  connections: {
@@ -4585,6 +6149,13 @@ export declare function createDevops(transport: Transport): {
4585
6149
  create: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesCreateData>) => Promise<Types.DevopsChange>;
4586
6150
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesListData>) => Promise<Types.DevopsChangePage>;
4587
6151
  };
6152
+ cleanups: {
6153
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsCleanupsListData>) => Promise<Types.DevopsCleanupPage>;
6154
+ };
6155
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsCreateData>) => Promise<Types.DevopsProject>;
6156
+ defaultBranch: {
6157
+ initialize: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsInitializeDefaultBranchData>) => Promise<Types.DevopsDefaultBranchInitialized>;
6158
+ };
4588
6159
  environments: {
4589
6160
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsListData>) => Promise<Types.DevopsEnvironmentList>;
4590
6161
  targets: {
@@ -4657,6 +6228,7 @@ export declare function createDevops(transport: Transport): {
4657
6228
  promotions: {
4658
6229
  approve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsApproveData>) => Promise<Types.DevopsPromotion>;
4659
6230
  cancel: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCancelData>) => Promise<Types.DevopsPromotion>;
6231
+ checkoutCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCheckoutCredentialData>) => Promise<Types.DevopsCheckoutCredential>;
4660
6232
  conclude: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsConcludeData>) => Promise<Types.DevopsPromotion>;
4661
6233
  create: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCreateData>) => Promise<Types.DevopsPromotion>;
4662
6234
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsGetData>) => Promise<Types.DevopsPromotion>;
@@ -4666,10 +6238,14 @@ export declare function createDevops(transport: Transport): {
4666
6238
  };
4667
6239
  };
4668
6240
  pullRequests: {
6241
+ close: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsCloseData>) => Promise<Types.DevopsPullRequest>;
4669
6242
  merge: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsMergeData>) => Promise<Types.DevopsPullRequest>;
4670
6243
  recordVerdict: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRecordVerdictData>) => Promise<Types.DevopsPullRequest>;
4671
6244
  rerunGate: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRerunGateData>) => Promise<Types.DevopsPullRequest>;
4672
6245
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsGetData>) => Promise<Types.DevopsPullRequest>;
6246
+ reviews: {
6247
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsReviewsCreateData>) => Promise<Types.DevopsPullRequest>;
6248
+ };
4673
6249
  };
4674
6250
  releases: {
4675
6251
  abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesAbandonData>) => Promise<Types.DevopsRelease>;
@@ -4885,6 +6461,12 @@ export declare function createMedia(transport: Transport): {
4885
6461
  retrieveFailureSummary: (options: import("./core/transport.js").CallOptions<Types.MediaUnderstandingFailureSummaryData>) => Promise<Types.MediaFailureSummary>;
4886
6462
  };
4887
6463
  update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateLibraryData>) => Promise<Types.MediaLibrary>;
6464
+ voices: {
6465
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateVoiceData>) => Promise<Types.MediaJob>;
6466
+ designs: {
6467
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaDesignVoiceData>) => Promise<Types.MediaJob>;
6468
+ };
6469
+ };
4888
6470
  };
4889
6471
  speech: {
4890
6472
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateSpeechData>) => Promise<Types.MediaJob>;
@@ -5408,6 +6990,7 @@ export declare function createModel(transport: Transport): {
5408
6990
  unsigned_urls: Array<string>;
5409
6991
  usage?: {
5410
6992
  cost: number;
6993
+ billed_seconds?: number;
5411
6994
  };
5412
6995
  }>;
5413
6996
  delete: (options: import("./core/transport.js").CallOptions<Types.DeleteVideoData>) => Promise<{
@@ -5438,6 +7021,7 @@ export declare function createModel(transport: Transport): {
5438
7021
  unsigned_urls: Array<string>;
5439
7022
  usage?: {
5440
7023
  cost: number;
7024
+ billed_seconds?: number;
5441
7025
  };
5442
7026
  }>;
5443
7027
  has_more: boolean;
@@ -5466,6 +7050,7 @@ export declare function createModel(transport: Transport): {
5466
7050
  unsigned_urls: Array<string>;
5467
7051
  usage?: {
5468
7052
  cost: number;
7053
+ billed_seconds?: number;
5469
7054
  };
5470
7055
  }>;
5471
7056
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.DownloadVideoContentData>) => Promise<Blob | File>;
@@ -5494,32 +7079,15 @@ export declare function createOntology(transport: Transport): {
5494
7079
  retrieve: (options: import("./core/transport.js").CallOptions<Types.OntologyRetrieveRelationData>) => Promise<Types.OntologyRelation>;
5495
7080
  };
5496
7081
  search: {
5497
- create: (options: import("./core/transport.js").CallOptions<Types.OntologySearchData>) => Promise<Types.OntologySearchResult>;
5498
- };
5499
- types: {
5500
- create: (options: import("./core/transport.js").CallOptions<Types.OntologyRegisterTypeData>) => Promise<unknown>;
5501
- list: (options?: import("./core/transport.js").CallOptions<Types.OntologyListTypesData> | undefined) => Promise<Types.OntologyTypeRegistrationPage>;
5502
- retrieve: (options: import("./core/transport.js").CallOptions<Types.OntologyRetrieveTypeData>) => Promise<Types.OntologyTypeLookup>;
5503
- };
5504
- };
5505
- export declare function createOrganization(transport: Transport): {
5506
- actors: {
5507
- list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationActorsData> | undefined) => Promise<Types.OrganizationActorList>;
5508
- retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationActorData>) => Promise<Types.OrganizationPositionChain>;
5509
- };
5510
- assignments: {
5511
- list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationAssignmentsData> | undefined) => Promise<Types.OrganizationAssignmentList>;
5512
- makePrimary: {
5513
- create: (options: import("./core/transport.js").CallOptions<Types.MakePrimaryOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
5514
- };
5515
- retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
5516
- terminate: {
5517
- create: (options: import("./core/transport.js").CallOptions<Types.TerminateOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
5518
- };
5519
- transfer: {
5520
- create: (options: import("./core/transport.js").CallOptions<Types.TransferOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
5521
- };
7082
+ create: (options: import("./core/transport.js").CallOptions<Types.OntologySearchData>) => Promise<Types.OntologySearchResult>;
7083
+ };
7084
+ types: {
7085
+ create: (options: import("./core/transport.js").CallOptions<Types.OntologyRegisterTypeData>) => Promise<unknown>;
7086
+ list: (options?: import("./core/transport.js").CallOptions<Types.OntologyListTypesData> | undefined) => Promise<Types.OntologyTypeRegistrationPage>;
7087
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.OntologyRetrieveTypeData>) => Promise<Types.OntologyTypeLookup>;
5522
7088
  };
7089
+ };
7090
+ export declare function createOrganization(transport: Transport): {
5523
7091
  charges: {
5524
7092
  list: (options: import("./core/transport.js").CallOptions<Types.ExportOrganizationChargesData>) => Promise<{
5525
7093
  ChargePeriodStart: string;
@@ -5561,16 +7129,6 @@ export declare function createOrganization(transport: Transport): {
5561
7129
  next_page: string | null;
5562
7130
  }>;
5563
7131
  };
5564
- departments: {
5565
- create: (options: import("./core/transport.js").CallOptions<Types.EstablishOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
5566
- dissolve: {
5567
- create: (options: import("./core/transport.js").CallOptions<Types.DissolveOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
5568
- };
5569
- list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationDepartmentsData> | undefined) => Promise<Types.OrganizationDepartmentList>;
5570
- retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
5571
- update: (options: import("./core/transport.js").CallOptions<Types.ReorganizeOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
5572
- updateCharter: (options: import("./core/transport.js").CallOptions<Types.AmendOrganizationDepartmentCharterData>) => Promise<Types.OrganizationDepartment>;
5573
- };
5574
7132
  events: {
5575
7133
  list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationEventsData>) => Promise<{
5576
7134
  object: "page";
@@ -5773,27 +7331,6 @@ export declare function createOrganization(transport: Transport): {
5773
7331
  }>;
5774
7332
  }>;
5775
7333
  };
5776
- jobs: {
5777
- create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationJobData>) => Promise<Types.OrganizationJob>;
5778
- list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationJobsData> | undefined) => Promise<Types.OrganizationJobList>;
5779
- retire: {
5780
- create: (options: import("./core/transport.js").CallOptions<Types.RetireOrganizationJobData>) => Promise<Types.OrganizationJob>;
5781
- };
5782
- retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationJobData>) => Promise<Types.OrganizationJob>;
5783
- update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationJobData>) => Promise<Types.OrganizationJob>;
5784
- };
5785
- keyResults: {
5786
- create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
5787
- list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationKeyResultsData> | undefined) => Promise<Types.OrganizationKeyResultList>;
5788
- retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
5789
- update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
5790
- };
5791
- ladders: {
5792
- create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
5793
- list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationLaddersData> | undefined) => Promise<Types.OrganizationLadderList>;
5794
- retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
5795
- update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
5796
- };
5797
7334
  members: {
5798
7335
  list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationMembersData> | undefined) => Promise<{
5799
7336
  data: Array<{
@@ -5807,51 +7344,82 @@ export declare function createOrganization(transport: Transport): {
5807
7344
  next_page: string | null;
5808
7345
  }>;
5809
7346
  };
5810
- objectives: {
5811
- create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
5812
- grade: {
5813
- create: (options: import("./core/transport.js").CallOptions<Types.GradeOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
5814
- };
5815
- list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationObjectivesData> | undefined) => Promise<Types.OrganizationObjectiveList>;
5816
- parents: {
5817
- update: (options: import("./core/transport.js").CallOptions<Types.AlignOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
5818
- };
5819
- retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
5820
- update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
5821
- };
5822
- periods: {
5823
- close: {
5824
- create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
5825
- };
5826
- create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
5827
- list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPeriodsData> | undefined) => Promise<Types.OrganizationPeriodList>;
5828
- retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
5829
- };
5830
- positions: {
5831
- close: {
5832
- create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
5833
- };
5834
- create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPositionsData>) => Promise<Types.OrganizationPositionBatch>;
5835
- designateHead: {
5836
- create: (options: import("./core/transport.js").CallOptions<Types.DesignateOrganizationPositionHeadData>) => Promise<Types.OrganizationDepartment>;
5837
- };
5838
- freeze: {
5839
- create: (options: import("./core/transport.js").CallOptions<Types.FreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7347
+ notifications: {
7348
+ deliveries: {
7349
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationNotificationDeliveriesData> | undefined) => Promise<{
7350
+ [key: string]: unknown;
7351
+ }>;
5840
7352
  };
5841
- hire: {
5842
- create: (options: import("./core/transport.js").CallOptions<Types.HireOrganizationPositionData>) => Promise<Types.OrganizationAssignment>;
7353
+ letters: {
7354
+ archive: (options: import("./core/transport.js").CallOptions<Types.ArchiveOrganizationNotificationLetterData>) => Promise<{
7355
+ unread: number;
7356
+ }>;
7357
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationNotificationLettersData> | undefined) => Promise<{
7358
+ letters: Array<{
7359
+ id: string;
7360
+ sender: string;
7361
+ summary: string;
7362
+ body: string;
7363
+ thread: string;
7364
+ kind: "notice" | "mention" | "decision";
7365
+ source: {
7366
+ [key: string]: unknown;
7367
+ };
7368
+ read: boolean;
7369
+ deliveredAt: string;
7370
+ createTime: string;
7371
+ reason: string;
7372
+ archived: boolean;
7373
+ }>;
7374
+ nextCursor: string;
7375
+ unread: number;
7376
+ }>;
7377
+ read: (options: import("./core/transport.js").CallOptions<Types.ReadOrganizationNotificationLetterData>) => Promise<{
7378
+ unread: number;
7379
+ }>;
7380
+ readAll: (options?: import("./core/transport.js").CallOptions<Types.ReadAllOrganizationNotificationLettersData> | undefined) => Promise<{
7381
+ unread: number;
7382
+ }>;
5843
7383
  };
5844
- list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPositionsData> | undefined) => Promise<Types.OrganizationPositionList>;
5845
- replaceHolder: {
5846
- create: (options: import("./core/transport.js").CallOptions<Types.ReplaceOrganizationPositionHolderData>) => Promise<Types.OrganizationAssignment>;
7384
+ organizationDefault: {
7385
+ create: (options: import("./core/transport.js").CallOptions<Types.UpdateOrganizationNotificationDefaultsData>) => Promise<{
7386
+ [key: string]: unknown;
7387
+ }>;
5847
7388
  };
5848
- retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
5849
- unfreeze: {
5850
- create: (options: import("./core/transport.js").CallOptions<Types.UnfreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7389
+ preferences: {
7390
+ create: (options: import("./core/transport.js").CallOptions<Types.UpdateOrganizationNotificationPreferencesData>) => Promise<{
7391
+ [key: string]: unknown;
7392
+ }>;
7393
+ list: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationNotificationPreferencesData> | undefined) => Promise<{
7394
+ name: string;
7395
+ workflows: {
7396
+ [key: string]: unknown;
7397
+ };
7398
+ channelOptOuts?: Array<"in_app" | "email" | "sms">;
7399
+ updateTime?: string;
7400
+ catalog: Array<{
7401
+ workflow: string;
7402
+ group: string;
7403
+ title: string;
7404
+ description?: string;
7405
+ critical: boolean;
7406
+ channels: Array<string>;
7407
+ }>;
7408
+ organization: {
7409
+ [key: string]: unknown;
7410
+ };
7411
+ effective: {
7412
+ [key: string]: unknown;
7413
+ };
7414
+ }>;
5851
7415
  };
5852
- update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
5853
- updateLevel: (options: import("./core/transport.js").CallOptions<Types.RegradeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
5854
- updateManager: (options: import("./core/transport.js").CallOptions<Types.ReassignOrganizationPositionManagerData>) => Promise<Types.OrganizationPosition>;
7416
+ retrieveInbox: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationNotificationsInboxData> | undefined) => Promise<{
7417
+ unreadCount: number;
7418
+ unseenCount: number;
7419
+ }>;
7420
+ retrieveOrganizationDefault: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationNotificationDefaultsData> | undefined) => Promise<{
7421
+ [key: string]: unknown;
7422
+ }>;
5855
7423
  };
5856
7424
  usage: {
5857
7425
  list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationUsageData>) => Promise<{
@@ -5882,6 +7450,27 @@ export declare function createRegistry(transport: Transport): {
5882
7450
  update: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsUpdateData>) => Promise<Types.RegistryInstallation>;
5883
7451
  };
5884
7452
  packages: {
7453
+ git: {
7454
+ commits: {
7455
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCommitsRetrieveData>) => Promise<Types.RegistryGitCommitDetail>;
7456
+ };
7457
+ files: {
7458
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitFilesRetrieveData>) => Promise<Blob | File>;
7459
+ };
7460
+ refs: {
7461
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryGitRefsData>) => Promise<Types.RegistryGitRefs>;
7462
+ };
7463
+ retrieveCompare: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCompareData>) => Promise<Types.RegistryGitComparison>;
7464
+ retrieveLog: (options: import("./core/transport.js").CallOptions<Types.RegistryGitLogData>) => Promise<Types.RegistryGitLog>;
7465
+ retrieveResolve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitResolveData>) => Promise<Types.RegistryGitResolvedRef>;
7466
+ trees: {
7467
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRetrieveData>) => Promise<Types.RegistryGitTree>;
7468
+ retrieveRecursive: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRecursiveData>) => Promise<Types.RegistryGitTreeRecursive>;
7469
+ };
7470
+ };
7471
+ gitCredential: {
7472
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesGitCredentialCreateData>) => Promise<Types.RegistryGitCredential>;
7473
+ };
5885
7474
  installations: {
5886
7475
  create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsCreateData>) => Promise<Types.RegistryInstallResult>;
5887
7476
  list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsListData>) => Promise<Types.RegistryInstallationList>;
@@ -5913,12 +7502,105 @@ export declare function createRegistry(transport: Transport): {
5913
7502
  };
5914
7503
  };
5915
7504
  export declare function createSandbox(transport: Transport): {
7505
+ byod: {
7506
+ devices: {
7507
+ disconnect: {
7508
+ create: (options: import("./core/transport.js").CallOptions<Types.DisconnectByodDeviceData>) => Promise<{
7509
+ id: string;
7510
+ object: "byod_device";
7511
+ disconnected: true;
7512
+ }>;
7513
+ };
7514
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListByodDevicesData> | undefined) => Promise<{
7515
+ data: Array<{
7516
+ object: "byod_device";
7517
+ id: string;
7518
+ platform: "android" | "macos" | "linux";
7519
+ name: string;
7520
+ model: string;
7521
+ os_version: string;
7522
+ online: boolean;
7523
+ last_seen_at: string | null;
7524
+ created_at: string;
7525
+ capabilities: Array<"display" | "agent">;
7526
+ agent_dirs: Array<string>;
7527
+ allow_bypass: boolean;
7528
+ }>;
7529
+ }>;
7530
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodDeviceData>) => Promise<{
7531
+ object: "byod_device";
7532
+ id: string;
7533
+ platform: "android" | "macos" | "linux";
7534
+ name: string;
7535
+ model: string;
7536
+ os_version: string;
7537
+ online: boolean;
7538
+ last_seen_at: string | null;
7539
+ created_at: string;
7540
+ capabilities: Array<"display" | "agent">;
7541
+ agent_dirs: Array<string>;
7542
+ allow_bypass: boolean;
7543
+ }>;
7544
+ update: (options: import("./core/transport.js").CallOptions<Types.UpdateByodDeviceData>) => Promise<{
7545
+ object: "byod_device";
7546
+ id: string;
7547
+ platform: "android" | "macos" | "linux";
7548
+ name: string;
7549
+ model: string;
7550
+ os_version: string;
7551
+ online: boolean;
7552
+ last_seen_at: string | null;
7553
+ created_at: string;
7554
+ capabilities: Array<"display" | "agent">;
7555
+ agent_dirs: Array<string>;
7556
+ allow_bypass: boolean;
7557
+ }>;
7558
+ };
7559
+ pairings: {
7560
+ claim: {
7561
+ create: (options: import("./core/transport.js").CallOptions<Types.ClaimByodPairingData>) => Promise<{
7562
+ device_id: string;
7563
+ credential: string;
7564
+ socket_url: string;
7565
+ }>;
7566
+ };
7567
+ create: (options?: import("./core/transport.js").CallOptions<Types.CreateByodPairingData> | undefined) => Promise<{
7568
+ code: string;
7569
+ expires_at: string;
7570
+ qr: string;
7571
+ }>;
7572
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodPairingData>) => Promise<{
7573
+ organization_name: string;
7574
+ expires_at: string;
7575
+ }>;
7576
+ };
7577
+ };
5916
7578
  events: {
5917
7579
  sandboxes: {
5918
7580
  retrieve: (options: import("./core/transport.js").CallOptions<Types.GetSandboxEventsData>) => Promise<Types.SandboxSandboxEvent[]>;
5919
7581
  };
5920
7582
  };
5921
7583
  sandboxes: {
7584
+ act: (options: import("./core/transport.js").CallOptions<Types.ActOnSandboxDisplayData>) => Promise<{
7585
+ type: "snapshot";
7586
+ snapshot: string;
7587
+ refs: number;
7588
+ truncated: boolean;
7589
+ package: string;
7590
+ } | {
7591
+ type: "screenshot";
7592
+ mediaType: string;
7593
+ data: string;
7594
+ width: number;
7595
+ height: number;
7596
+ bytes: number;
7597
+ } | {
7598
+ type: "ok";
7599
+ ms?: number;
7600
+ } | {
7601
+ type: "wait";
7602
+ ms: number;
7603
+ }>;
5922
7604
  commands: {
5923
7605
  run: (options: import("./core/transport.js").CallOptions<Types.RunSandboxCommandData>) => Promise<{
5924
7606
  stdout: string;
@@ -6443,13 +8125,138 @@ export declare function createVault(transport: Transport): {
6443
8125
  update: (options: import("./core/transport.js").CallOptions<Types.VaultUpdateVaultData>) => Promise<Types.VaultVault>;
6444
8126
  };
6445
8127
  };
8128
+ export declare function createWorkforce(transport: Transport): {
8129
+ actors: {
8130
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationActorsData> | undefined) => Promise<Types.OrganizationActorList>;
8131
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationActorData>) => Promise<Types.OrganizationPositionChain>;
8132
+ };
8133
+ assignments: {
8134
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationAssignmentsData> | undefined) => Promise<Types.OrganizationAssignmentList>;
8135
+ makePrimary: {
8136
+ create: (options: import("./core/transport.js").CallOptions<Types.MakePrimaryOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
8137
+ };
8138
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
8139
+ terminate: {
8140
+ create: (options: import("./core/transport.js").CallOptions<Types.TerminateOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
8141
+ };
8142
+ transfer: {
8143
+ create: (options: import("./core/transport.js").CallOptions<Types.TransferOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
8144
+ };
8145
+ };
8146
+ departments: {
8147
+ create: (options: import("./core/transport.js").CallOptions<Types.EstablishOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
8148
+ dissolve: {
8149
+ create: (options: import("./core/transport.js").CallOptions<Types.DissolveOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
8150
+ };
8151
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationDepartmentsData> | undefined) => Promise<Types.OrganizationDepartmentList>;
8152
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
8153
+ update: (options: import("./core/transport.js").CallOptions<Types.ReorganizeOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
8154
+ updateCharter: (options: import("./core/transport.js").CallOptions<Types.AmendOrganizationDepartmentCharterData>) => Promise<Types.OrganizationDepartment>;
8155
+ };
8156
+ effectiveSpec: {
8157
+ retrieve: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationEffectiveSpecData> | undefined) => Promise<Types.OrganizationEffectiveSpec>;
8158
+ };
8159
+ jobs: {
8160
+ create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationJobData>) => Promise<Types.OrganizationJob>;
8161
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationJobsData> | undefined) => Promise<Types.OrganizationJobList>;
8162
+ retire: {
8163
+ create: (options: import("./core/transport.js").CallOptions<Types.RetireOrganizationJobData>) => Promise<Types.OrganizationJob>;
8164
+ };
8165
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationJobData>) => Promise<Types.OrganizationJob>;
8166
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationJobData>) => Promise<Types.OrganizationJob>;
8167
+ };
8168
+ keyResults: {
8169
+ create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
8170
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationKeyResultsData> | undefined) => Promise<Types.OrganizationKeyResultList>;
8171
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
8172
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
8173
+ };
8174
+ ladders: {
8175
+ create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
8176
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationLaddersData> | undefined) => Promise<Types.OrganizationLadderList>;
8177
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
8178
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
8179
+ };
8180
+ objectives: {
8181
+ create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
8182
+ grade: {
8183
+ create: (options: import("./core/transport.js").CallOptions<Types.GradeOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
8184
+ };
8185
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationObjectivesData> | undefined) => Promise<Types.OrganizationObjectiveList>;
8186
+ parents: {
8187
+ update: (options: import("./core/transport.js").CallOptions<Types.AlignOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
8188
+ };
8189
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
8190
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
8191
+ };
8192
+ periods: {
8193
+ close: {
8194
+ create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
8195
+ };
8196
+ create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
8197
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPeriodsData> | undefined) => Promise<Types.OrganizationPeriodList>;
8198
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
8199
+ };
8200
+ positions: {
8201
+ close: {
8202
+ create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8203
+ };
8204
+ create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPositionsData>) => Promise<Types.OrganizationPositionBatch>;
8205
+ designateHead: {
8206
+ create: (options: import("./core/transport.js").CallOptions<Types.DesignateOrganizationPositionHeadData>) => Promise<Types.OrganizationDepartment>;
8207
+ };
8208
+ freeze: {
8209
+ create: (options: import("./core/transport.js").CallOptions<Types.FreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8210
+ };
8211
+ hire: {
8212
+ create: (options: import("./core/transport.js").CallOptions<Types.HireOrganizationPositionData>) => Promise<Types.OrganizationAssignment>;
8213
+ };
8214
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPositionsData> | undefined) => Promise<Types.OrganizationPositionList>;
8215
+ replaceHolder: {
8216
+ create: (options: import("./core/transport.js").CallOptions<Types.ReplaceOrganizationPositionHolderData>) => Promise<Types.OrganizationAssignment>;
8217
+ };
8218
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8219
+ unfreeze: {
8220
+ create: (options: import("./core/transport.js").CallOptions<Types.UnfreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8221
+ };
8222
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8223
+ updateLevel: (options: import("./core/transport.js").CallOptions<Types.RegradeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
8224
+ updateManager: (options: import("./core/transport.js").CallOptions<Types.ReassignOrganizationPositionManagerData>) => Promise<Types.OrganizationPosition>;
8225
+ };
8226
+ reconcile: {
8227
+ pause: (options: import("./core/transport.js").CallOptions<Types.PauseOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
8228
+ resume: (options: import("./core/transport.js").CallOptions<Types.ResumeOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
8229
+ retrievePlan: (options: import("./core/transport.js").CallOptions<Types.PlanOrganizationReconcileData>) => Promise<Types.OrganizationReconcilePlan>;
8230
+ run: {
8231
+ create: (options: import("./core/transport.js").CallOptions<Types.RunOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
8232
+ };
8233
+ status: {
8234
+ list: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationReconcileStatusData>) => Promise<Types.OrganizationReconcileStatus>;
8235
+ };
8236
+ };
8237
+ specSchema: {
8238
+ retrieve: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationSpecSchemaData> | undefined) => Promise<Types.OrganizationSpecSchema>;
8239
+ };
8240
+ specs: {
8241
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecsData> | undefined) => Promise<Types.OrganizationSpecList>;
8242
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationSpecData>) => Promise<Types.OrganizationSpec>;
8243
+ retrieveDiff: (options: import("./core/transport.js").CallOptions<Types.DiffOrganizationSpecData>) => Promise<Types.OrganizationSpecDiff>;
8244
+ revisions: {
8245
+ list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecRevisionsData>) => Promise<Types.OrganizationSpecRevisionList>;
8246
+ };
8247
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationSpecData>) => Promise<Types.OrganizationSpec | Types.OrganizationSpecDryRun>;
8248
+ };
8249
+ };
6446
8250
  export declare const resourceFactories: {
6447
8251
  agent: typeof createAgent;
6448
8252
  application: typeof createApplication;
6449
8253
  automation: typeof createAutomation;
8254
+ billing: typeof createBilling;
6450
8255
  browser: typeof createBrowser;
6451
8256
  canvas: typeof createCanvas;
8257
+ content: typeof createContent;
6452
8258
  crm: typeof createCrm;
8259
+ customer: typeof createCustomer;
6453
8260
  cut: typeof createCut;
6454
8261
  database: typeof createDatabase;
6455
8262
  devops: typeof createDevops;
@@ -6467,4 +8274,5 @@ export declare const resourceFactories: {
6467
8274
  studio: typeof createStudio;
6468
8275
  ticket: typeof createTicket;
6469
8276
  vault: typeof createVault;
8277
+ workforce: typeof createWorkforce;
6470
8278
  };