@deepraxis/sdk 0.1.1-dev.2f7caec → 0.1.1-dev.3014f27

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.
@@ -17,6 +17,7 @@ export declare function createAgent(transport: Transport): {
17
17
  speed?: "standard" | "fast";
18
18
  settings?: {
19
19
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
20
+ max_output_tokens?: number;
20
21
  };
21
22
  };
22
23
  multiagent?: null | Types.AgentManaged39;
@@ -41,6 +42,7 @@ export declare function createAgent(transport: Transport): {
41
42
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
42
43
  id: string;
43
44
  access: "read_only" | "read_write" | "invoke";
45
+ customer_access?: "read_only" | "read_write" | "invoke";
44
46
  instructions?: string;
45
47
  readonly verified?: boolean;
46
48
  enabled?: boolean;
@@ -49,7 +51,7 @@ export declare function createAgent(transport: Transport): {
49
51
  readonly verified?: boolean;
50
52
  enabled?: boolean;
51
53
  }>;
52
- kind: "general" | "personal" | "service" | "assume";
54
+ kind: "general" | "service" | "assume";
53
55
  computer_id?: string;
54
56
  subagent_model?: string | null;
55
57
  subagents?: Array<{
@@ -142,6 +144,7 @@ export declare function createAgent(transport: Transport): {
142
144
  allowManagedHooksOnly?: boolean;
143
145
  allowManagedMcpServersOnly?: boolean;
144
146
  allowManagedPermissionRulesOnly?: boolean;
147
+ idleCompaction?: boolean;
145
148
  autoMemoryEnabled?: boolean;
146
149
  disabled?: {
147
150
  subagents?: Array<string>;
@@ -150,7 +153,6 @@ export declare function createAgent(transport: Transport): {
150
153
  mcpServers?: Array<string>;
151
154
  hooks?: Array<string>;
152
155
  };
153
- idleCompaction?: boolean;
154
156
  outputStyle?: string;
155
157
  } | null;
156
158
  models?: {
@@ -158,6 +160,7 @@ export declare function createAgent(transport: Transport): {
158
160
  };
159
161
  avatar: string | null;
160
162
  creation_source: string | null;
163
+ managed_by: string | null;
161
164
  identity_number: string | null;
162
165
  environment_id?: string | null;
163
166
  vault_ids?: Array<string>;
@@ -199,6 +202,7 @@ export declare function createAgent(transport: Transport): {
199
202
  speed?: "standard" | "fast";
200
203
  settings?: {
201
204
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
205
+ max_output_tokens?: number;
202
206
  };
203
207
  };
204
208
  multiagent?: null | Types.AgentManaged39;
@@ -223,6 +227,7 @@ export declare function createAgent(transport: Transport): {
223
227
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
224
228
  id: string;
225
229
  access: "read_only" | "read_write" | "invoke";
230
+ customer_access?: "read_only" | "read_write" | "invoke";
226
231
  instructions?: string;
227
232
  readonly verified?: boolean;
228
233
  enabled?: boolean;
@@ -231,7 +236,14 @@ export declare function createAgent(transport: Transport): {
231
236
  readonly verified?: boolean;
232
237
  enabled?: boolean;
233
238
  }>;
234
- kind: "general" | "personal" | "service" | "assume";
239
+ kind: "general" | "service" | "assume";
240
+ computers?: {
241
+ default: string;
242
+ allowed: Array<{
243
+ template: string;
244
+ name: string;
245
+ }>;
246
+ };
235
247
  computer_id?: string;
236
248
  subagent_model?: string | null;
237
249
  subagents?: Array<{
@@ -324,6 +336,7 @@ export declare function createAgent(transport: Transport): {
324
336
  allowManagedHooksOnly?: boolean;
325
337
  allowManagedMcpServersOnly?: boolean;
326
338
  allowManagedPermissionRulesOnly?: boolean;
339
+ idleCompaction?: boolean;
327
340
  autoMemoryEnabled?: boolean;
328
341
  disabled?: {
329
342
  subagents?: Array<string>;
@@ -332,7 +345,6 @@ export declare function createAgent(transport: Transport): {
332
345
  mcpServers?: Array<string>;
333
346
  hooks?: Array<string>;
334
347
  };
335
- idleCompaction?: boolean;
336
348
  outputStyle?: string;
337
349
  } | null;
338
350
  models?: {
@@ -340,6 +352,7 @@ export declare function createAgent(transport: Transport): {
340
352
  };
341
353
  avatar: string | null;
342
354
  creation_source: string | null;
355
+ managed_by: string | null;
343
356
  identity_number: string | null;
344
357
  environment_id?: string | null;
345
358
  vault_ids?: Array<string>;
@@ -352,42 +365,6 @@ export declare function createAgent(transport: Transport): {
352
365
  }> | null;
353
366
  }>;
354
367
  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
368
  block: {
392
369
  create: (options: import("./core/transport.js").CallOptions<Types.BlockCustomerData>) => Promise<{
393
370
  id: string;
@@ -519,7 +496,6 @@ export declare function createAgent(transport: Transport): {
519
496
  run_id: string | null;
520
497
  message_id?: string;
521
498
  } | {
522
- full_access_available?: boolean;
523
499
  id: string;
524
500
  input: Types.AgentManaged197;
525
501
  mcp_server_name: string;
@@ -529,6 +505,18 @@ export declare function createAgent(transport: Transport): {
529
505
  evaluated_permission?: "allow" | "deny" | "ask";
530
506
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
531
507
  session_thread_id?: null | string;
508
+ permission_suggestions?: Array<{
509
+ type: "add_rules";
510
+ behavior: "allow";
511
+ destination: "agent" | "session";
512
+ rules: Array<{
513
+ tool_name: string;
514
+ rule_content: string;
515
+ }>;
516
+ }>;
517
+ full_access_available?: boolean;
518
+ user_once?: true;
519
+ guarded_rule?: string;
532
520
  run_id: string | null;
533
521
  _meta?: {
534
522
  ui?: {
@@ -542,17 +530,6 @@ export declare function createAgent(transport: Transport): {
542
530
  };
543
531
  source?: "app" | "codemode";
544
532
  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
533
  title?: string;
557
534
  input_titles?: {
558
535
  [key: string]: string;
@@ -571,7 +548,6 @@ export declare function createAgent(transport: Transport): {
571
548
  };
572
549
  source?: "app" | "codemode";
573
550
  } | {
574
- full_access_available?: boolean;
575
551
  id: string;
576
552
  input: Types.AgentManaged206;
577
553
  name: string;
@@ -580,9 +556,6 @@ export declare function createAgent(transport: Transport): {
580
556
  evaluated_permission?: "allow" | "deny" | "ask";
581
557
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
582
558
  session_thread_id?: null | string;
583
- run_id: string | null;
584
- user_once?: true;
585
- guarded_rule?: string;
586
559
  permission_suggestions?: Array<{
587
560
  type: "add_rules";
588
561
  behavior: "allow";
@@ -592,6 +565,10 @@ export declare function createAgent(transport: Transport): {
592
565
  rule_content: string;
593
566
  }>;
594
567
  }>;
568
+ full_access_available?: boolean;
569
+ user_once?: true;
570
+ guarded_rule?: string;
571
+ run_id: string | null;
595
572
  } | {
596
573
  id: string;
597
574
  processed_at: string;
@@ -612,9 +589,6 @@ export declare function createAgent(transport: Transport): {
612
589
  type: "session.status_idle";
613
590
  run_id: string | null;
614
591
  } | 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
592
  id: string;
619
593
  processed_at: string;
620
594
  type: "session.updated";
@@ -622,6 +596,9 @@ export declare function createAgent(transport: Transport): {
622
596
  budget?: null | Types.AgentManaged76;
623
597
  metadata?: Types.AgentManaged246;
624
598
  title?: null | string;
599
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
600
+ previous_permission_mode?: string | null;
601
+ permission_mode_version?: number;
625
602
  model?: {
626
603
  id: string;
627
604
  };
@@ -734,6 +711,20 @@ export declare function createAgent(transport: Transport): {
734
711
  }>;
735
712
  stream: (options: import("./core/transport.js").StreamOptions<Types.StreamAgentEventsData>) => AsyncIterable<Types.AgentSseEvent>;
736
713
  };
714
+ inbox: {
715
+ letters: {
716
+ list: (options: import("./core/transport.js").CallOptions<Types.ListAgentInboxLettersData>) => Promise<{
717
+ unread: number;
718
+ letters: Array<{
719
+ id: string;
720
+ sender: string;
721
+ summary: string;
722
+ thread: string | null;
723
+ create_time: string;
724
+ }>;
725
+ }>;
726
+ };
727
+ };
737
728
  list: (options?: import("./core/transport.js").CallOptions<Types.AgentsListData> | undefined) => Promise<{
738
729
  data: Array<{
739
730
  id: string;
@@ -749,6 +740,7 @@ export declare function createAgent(transport: Transport): {
749
740
  speed?: "standard" | "fast";
750
741
  settings?: {
751
742
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
743
+ max_output_tokens?: number;
752
744
  };
753
745
  };
754
746
  multiagent?: null | Types.AgentManaged39;
@@ -773,6 +765,7 @@ export declare function createAgent(transport: Transport): {
773
765
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
774
766
  id: string;
775
767
  access: "read_only" | "read_write" | "invoke";
768
+ customer_access?: "read_only" | "read_write" | "invoke";
776
769
  instructions?: string;
777
770
  readonly verified?: boolean;
778
771
  enabled?: boolean;
@@ -781,7 +774,14 @@ export declare function createAgent(transport: Transport): {
781
774
  readonly verified?: boolean;
782
775
  enabled?: boolean;
783
776
  }>;
784
- kind: "general" | "personal" | "service" | "assume";
777
+ kind: "general" | "service" | "assume";
778
+ computers?: {
779
+ default: string;
780
+ allowed: Array<{
781
+ template: string;
782
+ name: string;
783
+ }>;
784
+ };
785
785
  computer_id?: string;
786
786
  subagent_model?: string | null;
787
787
  subagents?: Array<{
@@ -874,6 +874,7 @@ export declare function createAgent(transport: Transport): {
874
874
  allowManagedHooksOnly?: boolean;
875
875
  allowManagedMcpServersOnly?: boolean;
876
876
  allowManagedPermissionRulesOnly?: boolean;
877
+ idleCompaction?: boolean;
877
878
  autoMemoryEnabled?: boolean;
878
879
  disabled?: {
879
880
  subagents?: Array<string>;
@@ -882,7 +883,6 @@ export declare function createAgent(transport: Transport): {
882
883
  mcpServers?: Array<string>;
883
884
  hooks?: Array<string>;
884
885
  };
885
- idleCompaction?: boolean;
886
886
  outputStyle?: string;
887
887
  } | null;
888
888
  models?: {
@@ -890,6 +890,7 @@ export declare function createAgent(transport: Transport): {
890
890
  };
891
891
  avatar: string | null;
892
892
  creation_source: string | null;
893
+ managed_by: string | null;
893
894
  identity_number: string | null;
894
895
  environment_id?: string | null;
895
896
  vault_ids?: Array<string>;
@@ -903,6 +904,32 @@ export declare function createAgent(transport: Transport): {
903
904
  }>;
904
905
  next_page: string | null;
905
906
  }>;
907
+ phone: {
908
+ release: (options: import("./core/transport.js").CallOptions<Types.AgentsPhoneReleaseData>) => Promise<{
909
+ object: "agent_phone";
910
+ agent_id: string;
911
+ configured: boolean;
912
+ state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing";
913
+ sku: string | null;
914
+ name: string | null;
915
+ sandbox_id: string | null;
916
+ lease_ends_at: string | null;
917
+ archived_at: string | null;
918
+ archive_error: string | null;
919
+ }>;
920
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.AgentsPhoneRetrieveData>) => Promise<{
921
+ object: "agent_phone";
922
+ agent_id: string;
923
+ configured: boolean;
924
+ state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing";
925
+ sku: string | null;
926
+ name: string | null;
927
+ sandbox_id: string | null;
928
+ lease_ends_at: string | null;
929
+ archived_at: string | null;
930
+ archive_error: string | null;
931
+ }>;
932
+ };
906
933
  retrieve: (options: import("./core/transport.js").CallOptions<Types.AgentsRetrieveData>) => Promise<{
907
934
  id: string;
908
935
  archived_at: null | string;
@@ -917,6 +944,7 @@ export declare function createAgent(transport: Transport): {
917
944
  speed?: "standard" | "fast";
918
945
  settings?: {
919
946
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
947
+ max_output_tokens?: number;
920
948
  };
921
949
  };
922
950
  multiagent?: null | Types.AgentManaged39;
@@ -942,6 +970,7 @@ export declare function createAgent(transport: Transport): {
942
970
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
943
971
  id: string;
944
972
  access: "read_only" | "read_write" | "invoke";
973
+ customer_access?: "read_only" | "read_write" | "invoke";
945
974
  instructions?: string;
946
975
  readonly verified?: boolean;
947
976
  enabled?: boolean;
@@ -950,7 +979,14 @@ export declare function createAgent(transport: Transport): {
950
979
  readonly verified?: boolean;
951
980
  enabled?: boolean;
952
981
  }>;
953
- kind: "general" | "personal" | "service" | "assume";
982
+ kind: "general" | "service" | "assume";
983
+ computers?: {
984
+ default: string;
985
+ allowed: Array<{
986
+ template: string;
987
+ name: string;
988
+ }>;
989
+ };
954
990
  computer_id?: string;
955
991
  subagent_model?: string | null;
956
992
  subagents?: Array<{
@@ -1043,6 +1079,7 @@ export declare function createAgent(transport: Transport): {
1043
1079
  allowManagedHooksOnly?: boolean;
1044
1080
  allowManagedMcpServersOnly?: boolean;
1045
1081
  allowManagedPermissionRulesOnly?: boolean;
1082
+ idleCompaction?: boolean;
1046
1083
  autoMemoryEnabled?: boolean;
1047
1084
  disabled?: {
1048
1085
  subagents?: Array<string>;
@@ -1051,7 +1088,6 @@ export declare function createAgent(transport: Transport): {
1051
1088
  mcpServers?: Array<string>;
1052
1089
  hooks?: Array<string>;
1053
1090
  };
1054
- idleCompaction?: boolean;
1055
1091
  outputStyle?: string;
1056
1092
  } | null;
1057
1093
  models?: {
@@ -1059,6 +1095,7 @@ export declare function createAgent(transport: Transport): {
1059
1095
  };
1060
1096
  avatar: string | null;
1061
1097
  creation_source: string | null;
1098
+ managed_by: string | null;
1062
1099
  identity_number: string | null;
1063
1100
  environment_id?: string | null;
1064
1101
  vault_ids?: Array<string>;
@@ -1127,6 +1164,25 @@ export declare function createAgent(transport: Transport): {
1127
1164
  history?: {
1128
1165
  enabled?: boolean;
1129
1166
  };
1167
+ uploads?: {
1168
+ enabled: boolean;
1169
+ max_file_bytes: number;
1170
+ max_files_per_session: number;
1171
+ };
1172
+ }>;
1173
+ retrieveEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.GetAgentEmbedPolicyData>) => Promise<{
1174
+ allowed_origins: Array<string>;
1175
+ allow_localhost: boolean;
1176
+ uploads: {
1177
+ enabled: boolean;
1178
+ max_file_bytes: number;
1179
+ max_files_per_session: number;
1180
+ };
1181
+ share_links: {
1182
+ enabled: boolean;
1183
+ daily_session_cap: number | null;
1184
+ daily_spend_cap_micro_usd: number | null;
1185
+ };
1130
1186
  }>;
1131
1187
  unarchive: {
1132
1188
  create: (options: import("./core/transport.js").CallOptions<Types.UnarchiveAgentData>) => Promise<{
@@ -1180,6 +1236,7 @@ export declare function createAgent(transport: Transport): {
1180
1236
  speed?: "standard" | "fast";
1181
1237
  settings?: {
1182
1238
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1239
+ max_output_tokens?: number;
1183
1240
  };
1184
1241
  };
1185
1242
  multiagent?: null | {
@@ -1370,6 +1427,7 @@ export declare function createAgent(transport: Transport): {
1370
1427
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1371
1428
  id: string;
1372
1429
  access: "read_only" | "read_write" | "invoke";
1430
+ customer_access?: "read_only" | "read_write" | "invoke";
1373
1431
  instructions?: string;
1374
1432
  readonly verified?: boolean;
1375
1433
  enabled?: boolean;
@@ -1378,7 +1436,14 @@ export declare function createAgent(transport: Transport): {
1378
1436
  readonly verified?: boolean;
1379
1437
  enabled?: boolean;
1380
1438
  }>;
1381
- kind: "general" | "personal" | "service" | "assume";
1439
+ kind: "general" | "service" | "assume";
1440
+ computers?: {
1441
+ default: string;
1442
+ allowed: Array<{
1443
+ template: string;
1444
+ name: string;
1445
+ }>;
1446
+ };
1382
1447
  computer_id?: string;
1383
1448
  subagent_model?: string | null;
1384
1449
  subagents?: Array<{
@@ -1471,6 +1536,7 @@ export declare function createAgent(transport: Transport): {
1471
1536
  allowManagedHooksOnly?: boolean;
1472
1537
  allowManagedMcpServersOnly?: boolean;
1473
1538
  allowManagedPermissionRulesOnly?: boolean;
1539
+ idleCompaction?: boolean;
1474
1540
  autoMemoryEnabled?: boolean;
1475
1541
  disabled?: {
1476
1542
  subagents?: Array<string>;
@@ -1479,7 +1545,6 @@ export declare function createAgent(transport: Transport): {
1479
1545
  mcpServers?: Array<string>;
1480
1546
  hooks?: Array<string>;
1481
1547
  };
1482
- idleCompaction?: boolean;
1483
1548
  outputStyle?: string;
1484
1549
  } | null;
1485
1550
  models?: {
@@ -1487,6 +1552,7 @@ export declare function createAgent(transport: Transport): {
1487
1552
  };
1488
1553
  avatar: string | null;
1489
1554
  creation_source: string | null;
1555
+ managed_by: string | null;
1490
1556
  identity_number: string | null;
1491
1557
  environment_id?: string | null;
1492
1558
  vault_ids?: Array<string>;
@@ -1513,6 +1579,7 @@ export declare function createAgent(transport: Transport): {
1513
1579
  speed?: "standard" | "fast";
1514
1580
  settings?: {
1515
1581
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1582
+ max_output_tokens?: number;
1516
1583
  };
1517
1584
  };
1518
1585
  multiagent?: null | Types.AgentManaged39;
@@ -1538,6 +1605,7 @@ export declare function createAgent(transport: Transport): {
1538
1605
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1539
1606
  id: string;
1540
1607
  access: "read_only" | "read_write" | "invoke";
1608
+ customer_access?: "read_only" | "read_write" | "invoke";
1541
1609
  instructions?: string;
1542
1610
  readonly verified?: boolean;
1543
1611
  enabled?: boolean;
@@ -1546,7 +1614,14 @@ export declare function createAgent(transport: Transport): {
1546
1614
  readonly verified?: boolean;
1547
1615
  enabled?: boolean;
1548
1616
  }>;
1549
- kind: "general" | "personal" | "service" | "assume";
1617
+ kind: "general" | "service" | "assume";
1618
+ computers?: {
1619
+ default: string;
1620
+ allowed: Array<{
1621
+ template: string;
1622
+ name: string;
1623
+ }>;
1624
+ };
1550
1625
  computer_id?: string;
1551
1626
  subagent_model?: string | null;
1552
1627
  subagents?: Array<{
@@ -1639,6 +1714,7 @@ export declare function createAgent(transport: Transport): {
1639
1714
  allowManagedHooksOnly?: boolean;
1640
1715
  allowManagedMcpServersOnly?: boolean;
1641
1716
  allowManagedPermissionRulesOnly?: boolean;
1717
+ idleCompaction?: boolean;
1642
1718
  autoMemoryEnabled?: boolean;
1643
1719
  disabled?: {
1644
1720
  subagents?: Array<string>;
@@ -1647,7 +1723,6 @@ export declare function createAgent(transport: Transport): {
1647
1723
  mcpServers?: Array<string>;
1648
1724
  hooks?: Array<string>;
1649
1725
  };
1650
- idleCompaction?: boolean;
1651
1726
  outputStyle?: string;
1652
1727
  } | null;
1653
1728
  models?: {
@@ -1655,6 +1730,7 @@ export declare function createAgent(transport: Transport): {
1655
1730
  };
1656
1731
  avatar: string | null;
1657
1732
  creation_source: string | null;
1733
+ managed_by: string | null;
1658
1734
  identity_number: string | null;
1659
1735
  environment_id?: string | null;
1660
1736
  vault_ids?: Array<string>;
@@ -1666,125 +1742,350 @@ export declare function createAgent(transport: Transport): {
1666
1742
  keep_coding_instructions?: boolean;
1667
1743
  }> | null;
1668
1744
  }>;
1745
+ updateEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.UpdateAgentEmbedPolicyData>) => Promise<{
1746
+ allowed_origins: Array<string>;
1747
+ allow_localhost: boolean;
1748
+ uploads: {
1749
+ enabled: boolean;
1750
+ max_file_bytes: number;
1751
+ max_files_per_session: number;
1752
+ };
1753
+ share_links: {
1754
+ enabled: boolean;
1755
+ daily_session_cap: number | null;
1756
+ daily_spend_cap_micro_usd: number | null;
1757
+ };
1758
+ }>;
1669
1759
  versions: {
1670
1760
  apply: (options: import("./core/transport.js").CallOptions<Types.ApplyAgentVersionData>) => Promise<{
1671
1761
  id: string;
1672
1762
  archived_at: null | string;
1673
1763
  created_at: string;
1674
1764
  description: null | string;
1675
- mcp_servers: Array<Types.AgentManaged36>;
1676
- metadata: Types.AgentManaged37;
1765
+ mcp_servers: Array<{
1766
+ type: "url";
1767
+ name: string;
1768
+ url: string;
1769
+ headers?: {
1770
+ [key: string]: string;
1771
+ };
1772
+ timeout_ms?: number;
1773
+ } | {
1774
+ type: "sse";
1775
+ name: string;
1776
+ url: string;
1777
+ headers?: {
1778
+ [key: string]: string;
1779
+ };
1780
+ timeout_ms?: number;
1781
+ } | {
1782
+ type: "stdio";
1783
+ name: string;
1784
+ command: string;
1785
+ args?: Array<string>;
1786
+ env?: {
1787
+ [key: string]: string;
1788
+ };
1789
+ timeout_ms?: number;
1790
+ }>;
1791
+ metadata: {
1792
+ [key: string]: string;
1793
+ };
1677
1794
  model?: {
1678
1795
  id: string;
1679
- effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
1796
+ effort?: {
1797
+ type: "low";
1798
+ } | {
1799
+ type: "medium";
1800
+ } | {
1801
+ type: "high";
1802
+ } | {
1803
+ type: "xhigh";
1804
+ } | {
1805
+ type: "max";
1806
+ };
1680
1807
  inference_geo?: string;
1681
1808
  speed?: "standard" | "fast";
1682
1809
  settings?: {
1683
1810
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1811
+ max_output_tokens?: number;
1684
1812
  };
1685
1813
  };
1686
- multiagent?: null | Types.AgentManaged39;
1814
+ multiagent?: null | {
1815
+ agents: Array<{
1816
+ id: string;
1817
+ type: "agent";
1818
+ version: number;
1819
+ } | {
1820
+ model: string;
1821
+ type: "advisor";
1822
+ }>;
1823
+ type: "coordinator";
1824
+ };
1687
1825
  name: string;
1688
- skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
1689
- system: null | string;
1690
- tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
1691
- type: "agent";
1692
- updated_at: string;
1693
- version: number;
1694
- latest_version?: number;
1695
- active_version: number;
1696
- created_by: {
1697
- type: "user";
1698
- id: string;
1699
- name?: string;
1700
- } | {
1701
- type: "api_key";
1702
- id: string;
1703
- } | null;
1704
- note: string | null;
1705
- bindings: Array<{
1706
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1707
- id: string;
1708
- access: "read_only" | "read_write" | "invoke";
1709
- instructions?: string;
1710
- readonly verified?: boolean;
1711
- enabled?: boolean;
1826
+ skills: Array<{
1827
+ skill_id: string;
1828
+ type: "anthropic";
1829
+ version: string;
1712
1830
  } | {
1713
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1714
- readonly verified?: boolean;
1715
- enabled?: boolean;
1831
+ skill_id: string;
1832
+ type: "custom";
1833
+ version: string;
1716
1834
  }>;
1717
- kind: "general" | "personal" | "service" | "assume";
1718
- computer_id?: string;
1719
- subagent_model?: string | null;
1720
- subagents?: Array<{
1721
- name: string;
1722
- description: string;
1723
- prompt: string;
1724
- tools?: Array<string>;
1725
- disallowed_tools?: Array<string>;
1726
- model?: string;
1727
- }> | null;
1728
- commands?: Array<{
1729
- name: string;
1730
- description?: string;
1731
- argument_hint?: string;
1732
- prompt: string;
1733
- }> | null;
1734
- settings?: {
1735
- hooks?: {
1736
- SessionStart?: Array<{
1737
- matcher?: string;
1738
- hooks: Array<{
1739
- type: "command";
1740
- command: string;
1741
- timeout?: number;
1742
- async?: boolean;
1743
- enabled?: boolean;
1744
- }>;
1745
- }>;
1746
- UserPromptSubmit?: Array<{
1747
- matcher?: string;
1748
- hooks: Array<{
1749
- type: "command";
1750
- command: string;
1751
- timeout?: number;
1752
- async?: boolean;
1753
- enabled?: boolean;
1754
- }>;
1755
- }>;
1756
- PreToolUse?: Array<{
1757
- matcher?: string;
1758
- hooks: Array<{
1759
- type: "command";
1760
- command: string;
1761
- timeout?: number;
1762
- async?: boolean;
1763
- enabled?: boolean;
1764
- }>;
1765
- }>;
1766
- PermissionRequest?: Array<{
1767
- matcher?: string;
1768
- hooks: Array<{
1769
- type: "command";
1770
- command: string;
1771
- timeout?: number;
1772
- async?: boolean;
1773
- enabled?: boolean;
1774
- }>;
1775
- }>;
1776
- PostToolUse?: Array<{
1777
- matcher?: string;
1778
- hooks: Array<{
1779
- type: "command";
1780
- command: string;
1781
- timeout?: number;
1782
- async?: boolean;
1783
- enabled?: boolean;
1784
- }>;
1785
- }>;
1786
- PostToolUseFailure?: Array<{
1787
- matcher?: string;
1835
+ system: null | string;
1836
+ tools: Array<{
1837
+ configs: Array<{
1838
+ enabled: boolean;
1839
+ name: "bash";
1840
+ permission_policy: {
1841
+ type: "always_allow";
1842
+ } | {
1843
+ type: "always_ask";
1844
+ } | {
1845
+ type: "auto";
1846
+ };
1847
+ type: "bash";
1848
+ } | {
1849
+ enabled: boolean;
1850
+ name: "edit";
1851
+ permission_policy: {
1852
+ type: "always_allow";
1853
+ } | {
1854
+ type: "always_ask";
1855
+ } | {
1856
+ type: "auto";
1857
+ };
1858
+ type: "edit";
1859
+ } | {
1860
+ enabled: boolean;
1861
+ name: "read";
1862
+ permission_policy: {
1863
+ type: "always_allow";
1864
+ } | {
1865
+ type: "always_ask";
1866
+ } | {
1867
+ type: "auto";
1868
+ };
1869
+ type: "read";
1870
+ } | {
1871
+ enabled: boolean;
1872
+ name: "write";
1873
+ permission_policy: {
1874
+ type: "always_allow";
1875
+ } | {
1876
+ type: "always_ask";
1877
+ } | {
1878
+ type: "auto";
1879
+ };
1880
+ type: "write";
1881
+ } | {
1882
+ enabled: boolean;
1883
+ name: "glob";
1884
+ permission_policy: {
1885
+ type: "always_allow";
1886
+ } | {
1887
+ type: "always_ask";
1888
+ } | {
1889
+ type: "auto";
1890
+ };
1891
+ type: "glob";
1892
+ } | {
1893
+ enabled: boolean;
1894
+ name: "grep";
1895
+ permission_policy: {
1896
+ type: "always_allow";
1897
+ } | {
1898
+ type: "always_ask";
1899
+ } | {
1900
+ type: "auto";
1901
+ };
1902
+ type: "grep";
1903
+ } | {
1904
+ enabled: boolean;
1905
+ name: "web_fetch";
1906
+ permission_policy: {
1907
+ type: "always_allow";
1908
+ } | {
1909
+ type: "always_ask";
1910
+ } | {
1911
+ type: "auto";
1912
+ };
1913
+ type: "web_fetch";
1914
+ allowed_domains?: Array<string>;
1915
+ blocked_domains?: Array<string>;
1916
+ max_content_tokens?: null | number;
1917
+ } | {
1918
+ enabled: boolean;
1919
+ name: "web_search";
1920
+ permission_policy: {
1921
+ type: "always_allow";
1922
+ } | {
1923
+ type: "always_ask";
1924
+ } | {
1925
+ type: "auto";
1926
+ };
1927
+ type: "web_search";
1928
+ allowed_domains?: Array<string>;
1929
+ blocked_domains?: Array<string>;
1930
+ user_location?: null | {
1931
+ type: "approximate";
1932
+ city?: null | string;
1933
+ country?: null | string;
1934
+ region?: null | string;
1935
+ timezone?: null | string;
1936
+ };
1937
+ } | {
1938
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
1939
+ enabled: boolean;
1940
+ permission_policy: {
1941
+ type: "always_allow" | "always_ask";
1942
+ };
1943
+ }>;
1944
+ default_config: {
1945
+ enabled: boolean;
1946
+ permission_policy: {
1947
+ type: "always_allow";
1948
+ } | {
1949
+ type: "always_ask";
1950
+ } | {
1951
+ type: "auto";
1952
+ };
1953
+ };
1954
+ type: "agent_toolset_20260401";
1955
+ } | {
1956
+ type: "mcp_toolset";
1957
+ mcp_server_name: string;
1958
+ default_config?: {
1959
+ enabled?: boolean | null;
1960
+ permission_policy?: null | {
1961
+ type: "always_allow" | "always_ask";
1962
+ };
1963
+ } | null;
1964
+ configs?: Array<{
1965
+ name: string;
1966
+ enabled?: boolean | null;
1967
+ permission_policy?: null | {
1968
+ type: "always_allow" | "always_ask";
1969
+ };
1970
+ }> | null;
1971
+ } | {
1972
+ description: string;
1973
+ input_schema: {
1974
+ type: "object";
1975
+ properties?: null | {
1976
+ [key: string]: unknown;
1977
+ };
1978
+ required?: null | Array<string>;
1979
+ [key: string]: unknown;
1980
+ };
1981
+ name: string;
1982
+ type: "custom";
1983
+ }>;
1984
+ type: "agent";
1985
+ updated_at: string;
1986
+ version: number;
1987
+ latest_version?: number;
1988
+ active_version: number;
1989
+ created_by: {
1990
+ type: "user";
1991
+ id: string;
1992
+ name?: string;
1993
+ } | {
1994
+ type: "api_key";
1995
+ id: string;
1996
+ } | null;
1997
+ note: string | null;
1998
+ bindings: Array<{
1999
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
2000
+ id: string;
2001
+ access: "read_only" | "read_write" | "invoke";
2002
+ customer_access?: "read_only" | "read_write" | "invoke";
2003
+ instructions?: string;
2004
+ readonly verified?: boolean;
2005
+ enabled?: boolean;
2006
+ } | {
2007
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
2008
+ readonly verified?: boolean;
2009
+ enabled?: boolean;
2010
+ }>;
2011
+ kind: "general" | "service" | "assume";
2012
+ computers?: {
2013
+ default: string;
2014
+ allowed: Array<{
2015
+ template: string;
2016
+ name: string;
2017
+ }>;
2018
+ };
2019
+ computer_id?: string;
2020
+ subagent_model?: string | null;
2021
+ subagents?: Array<{
2022
+ name: string;
2023
+ description: string;
2024
+ prompt: string;
2025
+ tools?: Array<string>;
2026
+ disallowed_tools?: Array<string>;
2027
+ model?: string;
2028
+ }> | null;
2029
+ commands?: Array<{
2030
+ name: string;
2031
+ description?: string;
2032
+ argument_hint?: string;
2033
+ prompt: string;
2034
+ }> | null;
2035
+ settings?: {
2036
+ hooks?: {
2037
+ SessionStart?: Array<{
2038
+ matcher?: string;
2039
+ hooks: Array<{
2040
+ type: "command";
2041
+ command: string;
2042
+ timeout?: number;
2043
+ async?: boolean;
2044
+ enabled?: boolean;
2045
+ }>;
2046
+ }>;
2047
+ UserPromptSubmit?: Array<{
2048
+ matcher?: string;
2049
+ hooks: Array<{
2050
+ type: "command";
2051
+ command: string;
2052
+ timeout?: number;
2053
+ async?: boolean;
2054
+ enabled?: boolean;
2055
+ }>;
2056
+ }>;
2057
+ PreToolUse?: Array<{
2058
+ matcher?: string;
2059
+ hooks: Array<{
2060
+ type: "command";
2061
+ command: string;
2062
+ timeout?: number;
2063
+ async?: boolean;
2064
+ enabled?: boolean;
2065
+ }>;
2066
+ }>;
2067
+ PermissionRequest?: Array<{
2068
+ matcher?: string;
2069
+ hooks: Array<{
2070
+ type: "command";
2071
+ command: string;
2072
+ timeout?: number;
2073
+ async?: boolean;
2074
+ enabled?: boolean;
2075
+ }>;
2076
+ }>;
2077
+ PostToolUse?: Array<{
2078
+ matcher?: string;
2079
+ hooks: Array<{
2080
+ type: "command";
2081
+ command: string;
2082
+ timeout?: number;
2083
+ async?: boolean;
2084
+ enabled?: boolean;
2085
+ }>;
2086
+ }>;
2087
+ PostToolUseFailure?: Array<{
2088
+ matcher?: string;
1788
2089
  hooks: Array<{
1789
2090
  type: "command";
1790
2091
  command: string;
@@ -1807,6 +2108,7 @@ export declare function createAgent(transport: Transport): {
1807
2108
  allowManagedHooksOnly?: boolean;
1808
2109
  allowManagedMcpServersOnly?: boolean;
1809
2110
  allowManagedPermissionRulesOnly?: boolean;
2111
+ idleCompaction?: boolean;
1810
2112
  autoMemoryEnabled?: boolean;
1811
2113
  disabled?: {
1812
2114
  subagents?: Array<string>;
@@ -1815,7 +2117,6 @@ export declare function createAgent(transport: Transport): {
1815
2117
  mcpServers?: Array<string>;
1816
2118
  hooks?: Array<string>;
1817
2119
  };
1818
- idleCompaction?: boolean;
1819
2120
  outputStyle?: string;
1820
2121
  } | null;
1821
2122
  models?: {
@@ -1823,6 +2124,7 @@ export declare function createAgent(transport: Transport): {
1823
2124
  };
1824
2125
  avatar: string | null;
1825
2126
  creation_source: string | null;
2127
+ managed_by: string | null;
1826
2128
  identity_number: string | null;
1827
2129
  environment_id?: string | null;
1828
2130
  vault_ids?: Array<string>;
@@ -1849,6 +2151,7 @@ export declare function createAgent(transport: Transport): {
1849
2151
  speed?: "standard" | "fast";
1850
2152
  settings?: {
1851
2153
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2154
+ max_output_tokens?: number;
1852
2155
  };
1853
2156
  };
1854
2157
  multiagent?: null | Types.AgentManaged39;
@@ -1874,6 +2177,7 @@ export declare function createAgent(transport: Transport): {
1874
2177
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1875
2178
  id: string;
1876
2179
  access: "read_only" | "read_write" | "invoke";
2180
+ customer_access?: "read_only" | "read_write" | "invoke";
1877
2181
  instructions?: string;
1878
2182
  readonly verified?: boolean;
1879
2183
  enabled?: boolean;
@@ -1882,7 +2186,14 @@ export declare function createAgent(transport: Transport): {
1882
2186
  readonly verified?: boolean;
1883
2187
  enabled?: boolean;
1884
2188
  }>;
1885
- kind: "general" | "personal" | "service" | "assume";
2189
+ kind: "general" | "service" | "assume";
2190
+ computers?: {
2191
+ default: string;
2192
+ allowed: Array<{
2193
+ template: string;
2194
+ name: string;
2195
+ }>;
2196
+ };
1886
2197
  computer_id?: string;
1887
2198
  subagent_model?: string | null;
1888
2199
  subagents?: Array<{
@@ -1975,6 +2286,7 @@ export declare function createAgent(transport: Transport): {
1975
2286
  allowManagedHooksOnly?: boolean;
1976
2287
  allowManagedMcpServersOnly?: boolean;
1977
2288
  allowManagedPermissionRulesOnly?: boolean;
2289
+ idleCompaction?: boolean;
1978
2290
  autoMemoryEnabled?: boolean;
1979
2291
  disabled?: {
1980
2292
  subagents?: Array<string>;
@@ -1983,7 +2295,6 @@ export declare function createAgent(transport: Transport): {
1983
2295
  mcpServers?: Array<string>;
1984
2296
  hooks?: Array<string>;
1985
2297
  };
1986
- idleCompaction?: boolean;
1987
2298
  outputStyle?: string;
1988
2299
  } | null;
1989
2300
  models?: {
@@ -1991,6 +2302,7 @@ export declare function createAgent(transport: Transport): {
1991
2302
  };
1992
2303
  avatar: string | null;
1993
2304
  creation_source: string | null;
2305
+ managed_by: string | null;
1994
2306
  identity_number: string | null;
1995
2307
  environment_id?: string | null;
1996
2308
  vault_ids?: Array<string>;
@@ -2058,16 +2370,9 @@ export declare function createAgent(transport: Transport): {
2058
2370
  files: {
2059
2371
  convert: {
2060
2372
  create: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesConvertData>) => Promise<{
2061
- type: "computer";
2062
- id: string;
2063
- name: string;
2064
- sandbox_id: string | null;
2065
- machine_state: "not_started" | "provisioned";
2066
- environment_id: string | null;
2067
- status: "active" | "archived";
2068
- created_at: string;
2069
- updated_at: string;
2070
- archived_at: string | null;
2373
+ data: string;
2374
+ mime: "application/pdf";
2375
+ cached: boolean;
2071
2376
  }>;
2072
2377
  };
2073
2378
  list: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesListData>) => Promise<{
@@ -2085,6 +2390,18 @@ export declare function createAgent(transport: Transport): {
2085
2390
  tier: "light" | "heavy";
2086
2391
  }>;
2087
2392
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesContentData>) => Promise<Blob | File>;
2393
+ retrievePreview: (options: import("./core/transport.js").CallOptions<Types.PreviewComputerFileData>) => Promise<{
2394
+ variant: "image" | "pdf" | "text" | "original";
2395
+ version?: string;
2396
+ mime_type?: string;
2397
+ size?: number;
2398
+ file_id?: string;
2399
+ url?: string;
2400
+ expires_at?: string;
2401
+ cached: boolean;
2402
+ fallback?: "content";
2403
+ skipped?: boolean;
2404
+ }>;
2088
2405
  };
2089
2406
  leases: {
2090
2407
  delete: (options: import("./core/transport.js").CallOptions<Types.ReleaseComputerLeaseData>) => Promise<{
@@ -2364,73 +2681,610 @@ export declare function createAgent(transport: Transport): {
2364
2681
  };
2365
2682
  archived_at: null | string;
2366
2683
  created_at: string;
2367
- description: null | string;
2368
- environment_id?: string | null;
2369
- initial_events: Array<Types.AgentManaged86 | Types.AgentManaged87 | Types.AgentManaged90>;
2370
- metadata: Types.AgentManaged91;
2371
- name: string;
2372
- paused_reason: null | Types.AgentManaged92 | Types.AgentManaged93;
2373
- resources: Array<Types.AgentManaged108 | Types.AgentManaged109 | Types.AgentManaged110>;
2374
- schedule: null | Types.AgentManaged111;
2375
- status: "active" | "paused";
2376
- type: "deployment";
2684
+ description: null | string;
2685
+ environment_id?: string | null;
2686
+ initial_events: Array<Types.AgentManaged86 | Types.AgentManaged87 | Types.AgentManaged90>;
2687
+ metadata: Types.AgentManaged91;
2688
+ name: string;
2689
+ paused_reason: null | Types.AgentManaged92 | Types.AgentManaged93;
2690
+ resources: Array<Types.AgentManaged108 | Types.AgentManaged109 | Types.AgentManaged110>;
2691
+ schedule: null | Types.AgentManaged111;
2692
+ status: "active" | "paused";
2693
+ type: "deployment";
2694
+ updated_at: string;
2695
+ vault_ids: Array<string>;
2696
+ budget?: null | Types.AgentManaged76;
2697
+ target: {
2698
+ type: "environment" | "computer";
2699
+ };
2700
+ }>;
2701
+ };
2702
+ update: (options: import("./core/transport.js").CallOptions<Types.DeploymentsUpdateData>) => Promise<{
2703
+ id: string;
2704
+ agent: {
2705
+ id: string;
2706
+ type: "agent";
2707
+ version: number;
2708
+ } | {
2709
+ id: string;
2710
+ type: "agent_with_overrides";
2711
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2712
+ cwd?: string;
2713
+ model?: string | {
2714
+ id: string;
2715
+ effort?: null | "low" | "medium" | "high" | "xhigh" | "max" | Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
2716
+ speed?: null | "standard" | "fast";
2717
+ };
2718
+ version: number;
2719
+ };
2720
+ archived_at: null | string;
2721
+ created_at: string;
2722
+ description: null | string;
2723
+ environment_id?: string | null;
2724
+ initial_events: Array<Types.AgentManaged86 | Types.AgentManaged87 | Types.AgentManaged90>;
2725
+ metadata: Types.AgentManaged91;
2726
+ name: string;
2727
+ paused_reason: null | Types.AgentManaged92 | Types.AgentManaged93;
2728
+ resources: Array<Types.AgentManaged108 | Types.AgentManaged109 | Types.AgentManaged110>;
2729
+ schedule: null | Types.AgentManaged111;
2730
+ status: "active" | "paused";
2731
+ type: "deployment";
2732
+ updated_at: string;
2733
+ vault_ids: Array<string>;
2734
+ budget?: null | Types.AgentManaged76;
2735
+ target: {
2736
+ type: "environment" | "computer";
2737
+ };
2738
+ }>;
2739
+ };
2740
+ environments: {
2741
+ archive: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsArchiveData>) => Promise<Types.AgentManaged138>;
2742
+ create: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsCreateData>) => Promise<Types.AgentManaged138>;
2743
+ list: (options?: import("./core/transport.js").CallOptions<Types.EnvironmentsListData> | undefined) => Promise<{
2744
+ data: Array<Types.AgentManaged138>;
2745
+ next_page: string | null;
2746
+ }>;
2747
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsRetrieveData>) => Promise<Types.AgentManaged138>;
2748
+ update: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsUpdateData>) => Promise<Types.AgentManaged138>;
2749
+ };
2750
+ sessions: {
2751
+ agentVersion: {
2752
+ create: (options: import("./core/transport.js").CallOptions<Types.UpdateSessionAgentVersionData>) => Promise<{
2753
+ id: string;
2754
+ agent: {
2755
+ id: string;
2756
+ description: null | string;
2757
+ mcp_servers: Array<{
2758
+ type: "url";
2759
+ name: string;
2760
+ url: string;
2761
+ headers?: {
2762
+ [key: string]: string;
2763
+ };
2764
+ timeout_ms?: number;
2765
+ } | {
2766
+ type: "sse";
2767
+ name: string;
2768
+ url: string;
2769
+ headers?: {
2770
+ [key: string]: string;
2771
+ };
2772
+ timeout_ms?: number;
2773
+ } | {
2774
+ type: "stdio";
2775
+ name: string;
2776
+ command: string;
2777
+ args?: Array<string>;
2778
+ env?: {
2779
+ [key: string]: string;
2780
+ };
2781
+ timeout_ms?: number;
2782
+ }>;
2783
+ model: {
2784
+ id: string;
2785
+ effort?: {
2786
+ type: "low";
2787
+ } | {
2788
+ type: "medium";
2789
+ } | {
2790
+ type: "high";
2791
+ } | {
2792
+ type: "xhigh";
2793
+ } | {
2794
+ type: "max";
2795
+ };
2796
+ inference_geo?: string;
2797
+ speed?: "standard" | "fast";
2798
+ settings?: {
2799
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2800
+ max_output_tokens?: number;
2801
+ };
2802
+ };
2803
+ multiagent: null | {
2804
+ agents: Array<{
2805
+ model: string;
2806
+ type: "advisor";
2807
+ } | {
2808
+ id: string;
2809
+ description: null | string;
2810
+ mcp_servers: Array<{
2811
+ type: "url";
2812
+ name: string;
2813
+ url: string;
2814
+ headers?: {
2815
+ [key: string]: string;
2816
+ };
2817
+ timeout_ms?: number;
2818
+ } | {
2819
+ type: "sse";
2820
+ name: string;
2821
+ url: string;
2822
+ headers?: {
2823
+ [key: string]: string;
2824
+ };
2825
+ timeout_ms?: number;
2826
+ } | {
2827
+ type: "stdio";
2828
+ name: string;
2829
+ command: string;
2830
+ args?: Array<string>;
2831
+ env?: {
2832
+ [key: string]: string;
2833
+ };
2834
+ timeout_ms?: number;
2835
+ }>;
2836
+ model: {
2837
+ id: string;
2838
+ effort?: {
2839
+ type: "low";
2840
+ } | {
2841
+ type: "medium";
2842
+ } | {
2843
+ type: "high";
2844
+ } | {
2845
+ type: "xhigh";
2846
+ } | {
2847
+ type: "max";
2848
+ };
2849
+ inference_geo?: string;
2850
+ speed?: "standard" | "fast";
2851
+ };
2852
+ name: string;
2853
+ skills: Array<{
2854
+ skill_id: string;
2855
+ type: "anthropic";
2856
+ version: string;
2857
+ } | {
2858
+ skill_id: string;
2859
+ type: "custom";
2860
+ version: string;
2861
+ }>;
2862
+ system: null | string;
2863
+ tools: Array<{
2864
+ configs: Array<{
2865
+ enabled: boolean;
2866
+ name: "bash";
2867
+ permission_policy: {
2868
+ type: "always_allow";
2869
+ } | {
2870
+ type: "always_ask";
2871
+ } | {
2872
+ type: "auto";
2873
+ };
2874
+ type: "bash";
2875
+ } | {
2876
+ enabled: boolean;
2877
+ name: "edit";
2878
+ permission_policy: {
2879
+ type: "always_allow";
2880
+ } | {
2881
+ type: "always_ask";
2882
+ } | {
2883
+ type: "auto";
2884
+ };
2885
+ type: "edit";
2886
+ } | {
2887
+ enabled: boolean;
2888
+ name: "read";
2889
+ permission_policy: {
2890
+ type: "always_allow";
2891
+ } | {
2892
+ type: "always_ask";
2893
+ } | {
2894
+ type: "auto";
2895
+ };
2896
+ type: "read";
2897
+ } | {
2898
+ enabled: boolean;
2899
+ name: "write";
2900
+ permission_policy: {
2901
+ type: "always_allow";
2902
+ } | {
2903
+ type: "always_ask";
2904
+ } | {
2905
+ type: "auto";
2906
+ };
2907
+ type: "write";
2908
+ } | {
2909
+ enabled: boolean;
2910
+ name: "glob";
2911
+ permission_policy: {
2912
+ type: "always_allow";
2913
+ } | {
2914
+ type: "always_ask";
2915
+ } | {
2916
+ type: "auto";
2917
+ };
2918
+ type: "glob";
2919
+ } | {
2920
+ enabled: boolean;
2921
+ name: "grep";
2922
+ permission_policy: {
2923
+ type: "always_allow";
2924
+ } | {
2925
+ type: "always_ask";
2926
+ } | {
2927
+ type: "auto";
2928
+ };
2929
+ type: "grep";
2930
+ } | {
2931
+ enabled: boolean;
2932
+ name: "web_fetch";
2933
+ permission_policy: {
2934
+ type: "always_allow";
2935
+ } | {
2936
+ type: "always_ask";
2937
+ } | {
2938
+ type: "auto";
2939
+ };
2940
+ type: "web_fetch";
2941
+ allowed_domains?: Array<string>;
2942
+ blocked_domains?: Array<string>;
2943
+ max_content_tokens?: null | number;
2944
+ } | {
2945
+ enabled: boolean;
2946
+ name: "web_search";
2947
+ permission_policy: {
2948
+ type: "always_allow";
2949
+ } | {
2950
+ type: "always_ask";
2951
+ } | {
2952
+ type: "auto";
2953
+ };
2954
+ type: "web_search";
2955
+ allowed_domains?: Array<string>;
2956
+ blocked_domains?: Array<string>;
2957
+ user_location?: null | {
2958
+ type: "approximate";
2959
+ city?: null | string;
2960
+ country?: null | string;
2961
+ region?: null | string;
2962
+ timezone?: null | string;
2963
+ };
2964
+ } | {
2965
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
2966
+ enabled: boolean;
2967
+ permission_policy: {
2968
+ type: "always_allow" | "always_ask";
2969
+ };
2970
+ }>;
2971
+ default_config: {
2972
+ enabled: boolean;
2973
+ permission_policy: {
2974
+ type: "always_allow";
2975
+ } | {
2976
+ type: "always_ask";
2977
+ } | {
2978
+ type: "auto";
2979
+ };
2980
+ };
2981
+ type: "agent_toolset_20260401";
2982
+ } | {
2983
+ type: "mcp_toolset";
2984
+ mcp_server_name: string;
2985
+ default_config?: {
2986
+ enabled?: boolean | null;
2987
+ permission_policy?: null | {
2988
+ type: "always_allow" | "always_ask";
2989
+ };
2990
+ } | null;
2991
+ configs?: Array<{
2992
+ name: string;
2993
+ enabled?: boolean | null;
2994
+ permission_policy?: null | {
2995
+ type: "always_allow" | "always_ask";
2996
+ };
2997
+ }> | null;
2998
+ } | {
2999
+ description: string;
3000
+ input_schema: {
3001
+ type: "object";
3002
+ properties?: null | {
3003
+ [key: string]: unknown;
3004
+ };
3005
+ required?: null | Array<string>;
3006
+ [key: string]: unknown;
3007
+ };
3008
+ name: string;
3009
+ type: "custom";
3010
+ }>;
3011
+ type: "agent";
3012
+ version: number;
3013
+ }>;
3014
+ type: "coordinator";
3015
+ };
3016
+ name: string;
3017
+ skills: Array<{
3018
+ skill_id: string;
3019
+ type: "anthropic";
3020
+ version: string;
3021
+ } | {
3022
+ skill_id: string;
3023
+ type: "custom";
3024
+ version: string;
3025
+ }>;
3026
+ system: null | string;
3027
+ tools: Array<{
3028
+ configs: Array<{
3029
+ enabled: boolean;
3030
+ name: "bash";
3031
+ permission_policy: {
3032
+ type: "always_allow";
3033
+ } | {
3034
+ type: "always_ask";
3035
+ } | {
3036
+ type: "auto";
3037
+ };
3038
+ type: "bash";
3039
+ } | {
3040
+ enabled: boolean;
3041
+ name: "edit";
3042
+ permission_policy: {
3043
+ type: "always_allow";
3044
+ } | {
3045
+ type: "always_ask";
3046
+ } | {
3047
+ type: "auto";
3048
+ };
3049
+ type: "edit";
3050
+ } | {
3051
+ enabled: boolean;
3052
+ name: "read";
3053
+ permission_policy: {
3054
+ type: "always_allow";
3055
+ } | {
3056
+ type: "always_ask";
3057
+ } | {
3058
+ type: "auto";
3059
+ };
3060
+ type: "read";
3061
+ } | {
3062
+ enabled: boolean;
3063
+ name: "write";
3064
+ permission_policy: {
3065
+ type: "always_allow";
3066
+ } | {
3067
+ type: "always_ask";
3068
+ } | {
3069
+ type: "auto";
3070
+ };
3071
+ type: "write";
3072
+ } | {
3073
+ enabled: boolean;
3074
+ name: "glob";
3075
+ permission_policy: {
3076
+ type: "always_allow";
3077
+ } | {
3078
+ type: "always_ask";
3079
+ } | {
3080
+ type: "auto";
3081
+ };
3082
+ type: "glob";
3083
+ } | {
3084
+ enabled: boolean;
3085
+ name: "grep";
3086
+ permission_policy: {
3087
+ type: "always_allow";
3088
+ } | {
3089
+ type: "always_ask";
3090
+ } | {
3091
+ type: "auto";
3092
+ };
3093
+ type: "grep";
3094
+ } | {
3095
+ enabled: boolean;
3096
+ name: "web_fetch";
3097
+ permission_policy: {
3098
+ type: "always_allow";
3099
+ } | {
3100
+ type: "always_ask";
3101
+ } | {
3102
+ type: "auto";
3103
+ };
3104
+ type: "web_fetch";
3105
+ allowed_domains?: Array<string>;
3106
+ blocked_domains?: Array<string>;
3107
+ max_content_tokens?: null | number;
3108
+ } | {
3109
+ enabled: boolean;
3110
+ name: "web_search";
3111
+ permission_policy: {
3112
+ type: "always_allow";
3113
+ } | {
3114
+ type: "always_ask";
3115
+ } | {
3116
+ type: "auto";
3117
+ };
3118
+ type: "web_search";
3119
+ allowed_domains?: Array<string>;
3120
+ blocked_domains?: Array<string>;
3121
+ user_location?: null | {
3122
+ type: "approximate";
3123
+ city?: null | string;
3124
+ country?: null | string;
3125
+ region?: null | string;
3126
+ timezone?: null | string;
3127
+ };
3128
+ } | {
3129
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
3130
+ enabled: boolean;
3131
+ permission_policy: {
3132
+ type: "always_allow" | "always_ask";
3133
+ };
3134
+ }>;
3135
+ default_config: {
3136
+ enabled: boolean;
3137
+ permission_policy: {
3138
+ type: "always_allow";
3139
+ } | {
3140
+ type: "always_ask";
3141
+ } | {
3142
+ type: "auto";
3143
+ };
3144
+ };
3145
+ type: "agent_toolset_20260401";
3146
+ } | {
3147
+ type: "mcp_toolset";
3148
+ mcp_server_name: string;
3149
+ default_config?: {
3150
+ enabled?: boolean | null;
3151
+ permission_policy?: null | {
3152
+ type: "always_allow" | "always_ask";
3153
+ };
3154
+ } | null;
3155
+ configs?: Array<{
3156
+ name: string;
3157
+ enabled?: boolean | null;
3158
+ permission_policy?: null | {
3159
+ type: "always_allow" | "always_ask";
3160
+ };
3161
+ }> | null;
3162
+ } | {
3163
+ description: string;
3164
+ input_schema: {
3165
+ type: "object";
3166
+ properties?: null | {
3167
+ [key: string]: unknown;
3168
+ };
3169
+ required?: null | Array<string>;
3170
+ [key: string]: unknown;
3171
+ };
3172
+ name: string;
3173
+ type: "custom";
3174
+ }>;
3175
+ type: "agent";
3176
+ version: number;
3177
+ };
3178
+ archived_at: null | string;
3179
+ budget: null | {
3180
+ max_list_cost: {
3181
+ amount: string;
3182
+ currency: "USD";
3183
+ };
3184
+ type: "limit";
3185
+ };
3186
+ created_at: string;
3187
+ environment_id?: string;
3188
+ metadata: {
3189
+ [key: string]: string;
3190
+ };
3191
+ outcome_evaluations: Array<{
3192
+ completed_at: null | string;
3193
+ description: string;
3194
+ explanation: null | string;
3195
+ iteration: number;
3196
+ outcome_id: string;
3197
+ result: string;
3198
+ type: "outcome_evaluation";
3199
+ }>;
3200
+ resources: Array<{
3201
+ id: string;
3202
+ created_at: string;
3203
+ mount_path: string;
3204
+ type: "github_repository";
3205
+ updated_at: string;
3206
+ url: string;
3207
+ checkout?: null | {
3208
+ name: string;
3209
+ type: "branch";
3210
+ } | {
3211
+ sha: string;
3212
+ type: "commit";
3213
+ };
3214
+ } | {
3215
+ id: string;
3216
+ created_at: string;
3217
+ file_id: string;
3218
+ mount_path: string;
3219
+ type: "file";
3220
+ updated_at: string;
3221
+ } | {
3222
+ memory_store_id: string;
3223
+ type: "memory_store";
3224
+ access?: null | "read_write" | "read_only";
3225
+ description?: string;
3226
+ instructions?: null | string;
3227
+ mount_path?: null | string;
3228
+ name?: null | string;
3229
+ }>;
3230
+ stats: {
3231
+ active_seconds?: number;
3232
+ duration_seconds?: number;
3233
+ };
3234
+ status: "rescheduling" | "running" | "idle" | "terminated";
3235
+ title: null | string;
3236
+ type: "session";
2377
3237
  updated_at: string;
3238
+ usage: {
3239
+ active_seconds?: number;
3240
+ cache_creation?: {
3241
+ ephemeral_1h_input_tokens?: number;
3242
+ ephemeral_5m_input_tokens?: number;
3243
+ };
3244
+ cache_read_input_tokens?: number;
3245
+ input_tokens?: number;
3246
+ list_cost?: null | {
3247
+ amount: string;
3248
+ currency: "USD";
3249
+ };
3250
+ output_tokens?: number;
3251
+ server_tool_use?: null | {
3252
+ web_fetch_requests?: number;
3253
+ web_search_requests?: number;
3254
+ };
3255
+ cost_by_product?: {
3256
+ [key: string]: string;
3257
+ };
3258
+ subagent_cost_micro_usd?: number;
3259
+ };
2378
3260
  vault_ids: Array<string>;
2379
- budget?: null | Types.AgentManaged76;
2380
- target: {
2381
- type: "environment" | "computer";
3261
+ deployment_id?: null | string;
3262
+ cwd: string;
3263
+ workspace?: {
3264
+ kind: "shared" | "isolated";
3265
+ path?: string;
3266
+ branch?: string;
2382
3267
  };
2383
- }>;
2384
- };
2385
- update: (options: import("./core/transport.js").CallOptions<Types.DeploymentsUpdateData>) => Promise<{
2386
- id: string;
2387
- agent: {
2388
- id: string;
2389
- type: "agent";
2390
- version: number;
2391
- } | {
2392
- id: string;
2393
- type: "agent_with_overrides";
2394
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2395
- cwd?: string;
2396
- model?: string | {
3268
+ computer_id?: string;
3269
+ model?: {
2397
3270
  id: string;
2398
- effort?: null | "low" | "medium" | "high" | "xhigh" | "max" | Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
2399
- speed?: null | "standard" | "fast";
3271
+ thinking: {
3272
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
3273
+ can_disable: boolean;
3274
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
3275
+ } | null;
2400
3276
  };
2401
- version: number;
2402
- };
2403
- archived_at: null | string;
2404
- created_at: string;
2405
- description: null | string;
2406
- environment_id?: string | null;
2407
- initial_events: Array<Types.AgentManaged86 | Types.AgentManaged87 | Types.AgentManaged90>;
2408
- metadata: Types.AgentManaged91;
2409
- name: string;
2410
- paused_reason: null | Types.AgentManaged92 | Types.AgentManaged93;
2411
- resources: Array<Types.AgentManaged108 | Types.AgentManaged109 | Types.AgentManaged110>;
2412
- schedule: null | Types.AgentManaged111;
2413
- status: "active" | "paused";
2414
- type: "deployment";
2415
- updated_at: string;
2416
- vault_ids: Array<string>;
2417
- budget?: null | Types.AgentManaged76;
2418
- target: {
2419
- type: "environment" | "computer";
2420
- };
2421
- }>;
2422
- };
2423
- environments: {
2424
- archive: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsArchiveData>) => Promise<Types.AgentManaged138>;
2425
- create: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsCreateData>) => Promise<Types.AgentManaged138>;
2426
- list: (options?: import("./core/transport.js").CallOptions<Types.EnvironmentsListData> | undefined) => Promise<{
2427
- data: Array<Types.AgentManaged138>;
2428
- next_page: string | null;
2429
- }>;
2430
- retrieve: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsRetrieveData>) => Promise<Types.AgentManaged138>;
2431
- update: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsUpdateData>) => Promise<Types.AgentManaged138>;
2432
- };
2433
- sessions: {
3277
+ thinking?: {
3278
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3279
+ } | null;
3280
+ forked_from?: {
3281
+ session_id: string;
3282
+ message_id: string;
3283
+ } | null;
3284
+ readonly external_user_id: string | null;
3285
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
3286
+ }>;
3287
+ };
2434
3288
  archive: (options: import("./core/transport.js").CallOptions<Types.SessionsArchiveData>) => Promise<{
2435
3289
  id: string;
2436
3290
  agent: {
@@ -2444,6 +3298,7 @@ export declare function createAgent(transport: Transport): {
2444
3298
  speed?: "standard" | "fast";
2445
3299
  settings?: {
2446
3300
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3301
+ max_output_tokens?: number;
2447
3302
  };
2448
3303
  };
2449
3304
  multiagent: null | Types.AgentManaged171;
@@ -2470,6 +3325,11 @@ export declare function createAgent(transport: Transport): {
2470
3325
  vault_ids: Array<string>;
2471
3326
  deployment_id?: null | string;
2472
3327
  cwd: string;
3328
+ workspace?: {
3329
+ kind: "shared" | "isolated";
3330
+ path?: string;
3331
+ branch?: string;
3332
+ };
2473
3333
  computer_id?: string;
2474
3334
  model?: {
2475
3335
  id: string;
@@ -2489,6 +3349,40 @@ export declare function createAgent(transport: Transport): {
2489
3349
  readonly external_user_id: string | null;
2490
3350
  readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
2491
3351
  }>;
3352
+ artifacts: {
3353
+ contentUrl: {
3354
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateSessionArtifactContentUrlData>) => Promise<{
3355
+ url: string;
3356
+ expire_time: string;
3357
+ }>;
3358
+ };
3359
+ list: (options: import("./core/transport.js").CallOptions<Types.ListSessionArtifactsData>) => Promise<{
3360
+ data: Array<{
3361
+ object: "artifact";
3362
+ id: string;
3363
+ session_id: string;
3364
+ run_id: string | null;
3365
+ name: string;
3366
+ version: number;
3367
+ parts: Array<{
3368
+ kind: "file";
3369
+ file_id: string;
3370
+ filename: string;
3371
+ mime_type: string;
3372
+ bytes: number;
3373
+ } | {
3374
+ kind: "object";
3375
+ object_type: "canvas" | "media_asset";
3376
+ object_id: string;
3377
+ href: string;
3378
+ title: string | null;
3379
+ }>;
3380
+ source_hrefs: Array<string>;
3381
+ create_time: string;
3382
+ update_time: string;
3383
+ }>;
3384
+ }>;
3385
+ };
2492
3386
  backgroundTasks: {
2493
3387
  list: (options: import("./core/transport.js").CallOptions<Types.ListSessionBackgroundTasksData>) => Promise<{
2494
3388
  data: Array<{
@@ -2571,6 +3465,7 @@ export declare function createAgent(transport: Transport): {
2571
3465
  speed?: "standard" | "fast";
2572
3466
  settings?: {
2573
3467
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3468
+ max_output_tokens?: number;
2574
3469
  };
2575
3470
  };
2576
3471
  multiagent: null | Types.AgentManaged171;
@@ -2597,6 +3492,11 @@ export declare function createAgent(transport: Transport): {
2597
3492
  vault_ids: Array<string>;
2598
3493
  deployment_id?: null | string;
2599
3494
  cwd: string;
3495
+ workspace?: {
3496
+ kind: "shared" | "isolated";
3497
+ path?: string;
3498
+ branch?: string;
3499
+ };
2600
3500
  computer_id?: string;
2601
3501
  model?: {
2602
3502
  id: string;
@@ -2657,7 +3557,6 @@ export declare function createAgent(transport: Transport): {
2657
3557
  run_id: string | null;
2658
3558
  message_id?: string;
2659
3559
  } | {
2660
- full_access_available?: boolean;
2661
3560
  id: string;
2662
3561
  input: Types.AgentManaged197;
2663
3562
  mcp_server_name: string;
@@ -2667,6 +3566,18 @@ export declare function createAgent(transport: Transport): {
2667
3566
  evaluated_permission?: "allow" | "deny" | "ask";
2668
3567
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2669
3568
  session_thread_id?: null | string;
3569
+ permission_suggestions?: Array<{
3570
+ type: "add_rules";
3571
+ behavior: "allow";
3572
+ destination: "agent" | "session";
3573
+ rules: Array<{
3574
+ tool_name: string;
3575
+ rule_content: string;
3576
+ }>;
3577
+ }>;
3578
+ full_access_available?: boolean;
3579
+ user_once?: true;
3580
+ guarded_rule?: string;
2670
3581
  run_id: string | null;
2671
3582
  _meta?: {
2672
3583
  ui?: {
@@ -2680,17 +3591,6 @@ export declare function createAgent(transport: Transport): {
2680
3591
  };
2681
3592
  source?: "app" | "codemode";
2682
3593
  parent_tool_use_id?: string;
2683
- user_once?: true;
2684
- guarded_rule?: string;
2685
- permission_suggestions?: Array<{
2686
- type: "add_rules";
2687
- behavior: "allow";
2688
- destination: "agent" | "session";
2689
- rules: Array<{
2690
- tool_name: string;
2691
- rule_content: string;
2692
- }>;
2693
- }>;
2694
3594
  title?: string;
2695
3595
  input_titles?: {
2696
3596
  [key: string]: string;
@@ -2709,7 +3609,6 @@ export declare function createAgent(transport: Transport): {
2709
3609
  };
2710
3610
  source?: "app" | "codemode";
2711
3611
  } | {
2712
- full_access_available?: boolean;
2713
3612
  id: string;
2714
3613
  input: Types.AgentManaged206;
2715
3614
  name: string;
@@ -2718,9 +3617,6 @@ export declare function createAgent(transport: Transport): {
2718
3617
  evaluated_permission?: "allow" | "deny" | "ask";
2719
3618
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2720
3619
  session_thread_id?: null | string;
2721
- run_id: string | null;
2722
- user_once?: true;
2723
- guarded_rule?: string;
2724
3620
  permission_suggestions?: Array<{
2725
3621
  type: "add_rules";
2726
3622
  behavior: "allow";
@@ -2730,6 +3626,10 @@ export declare function createAgent(transport: Transport): {
2730
3626
  rule_content: string;
2731
3627
  }>;
2732
3628
  }>;
3629
+ full_access_available?: boolean;
3630
+ user_once?: true;
3631
+ guarded_rule?: string;
3632
+ run_id: string | null;
2733
3633
  } | {
2734
3634
  id: string;
2735
3635
  processed_at: string;
@@ -2750,9 +3650,6 @@ export declare function createAgent(transport: Transport): {
2750
3650
  type: "session.status_idle";
2751
3651
  run_id: string | null;
2752
3652
  } | 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 | {
2753
- permission_mode_version?: number;
2754
- previous_permission_mode?: string | null;
2755
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2756
3653
  id: string;
2757
3654
  processed_at: string;
2758
3655
  type: "session.updated";
@@ -2760,6 +3657,9 @@ export declare function createAgent(transport: Transport): {
2760
3657
  budget?: null | Types.AgentManaged76;
2761
3658
  metadata?: Types.AgentManaged246;
2762
3659
  title?: null | string;
3660
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
3661
+ previous_permission_mode?: string | null;
3662
+ permission_mode_version?: number;
2763
3663
  model?: {
2764
3664
  id: string;
2765
3665
  };
@@ -2920,6 +3820,7 @@ export declare function createAgent(transport: Transport): {
2920
3820
  speed?: "standard" | "fast";
2921
3821
  settings?: {
2922
3822
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3823
+ max_output_tokens?: number;
2923
3824
  };
2924
3825
  };
2925
3826
  multiagent: null | {
@@ -3382,6 +4283,11 @@ export declare function createAgent(transport: Transport): {
3382
4283
  vault_ids: Array<string>;
3383
4284
  deployment_id?: null | string;
3384
4285
  cwd: string;
4286
+ workspace?: {
4287
+ kind: "shared" | "isolated";
4288
+ path?: string;
4289
+ branch?: string;
4290
+ };
3385
4291
  computer_id?: string;
3386
4292
  model?: {
3387
4293
  id: string;
@@ -3410,37 +4316,581 @@ export declare function createAgent(transport: Transport): {
3410
4316
  mcp_servers: Array<Types.AgentManaged36>;
3411
4317
  model: {
3412
4318
  id: string;
3413
- effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
4319
+ effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
4320
+ inference_geo?: string;
4321
+ speed?: "standard" | "fast";
4322
+ settings?: {
4323
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4324
+ max_output_tokens?: number;
4325
+ };
4326
+ };
4327
+ multiagent: null | Types.AgentManaged171;
4328
+ name: string;
4329
+ skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
4330
+ system: null | string;
4331
+ tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
4332
+ type: "agent";
4333
+ version: number;
4334
+ };
4335
+ archived_at: null | string;
4336
+ budget: null | Types.AgentManaged76;
4337
+ created_at: string;
4338
+ environment_id?: string;
4339
+ metadata: Types.AgentManaged173;
4340
+ outcome_evaluations: Array<Types.AgentManaged174>;
4341
+ resources: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
4342
+ stats: Types.AgentManaged178;
4343
+ status: "rescheduling" | "running" | "idle" | "terminated";
4344
+ title: null | string;
4345
+ type: "session";
4346
+ updated_at: string;
4347
+ usage: Types.AgentManaged179;
4348
+ vault_ids: Array<string>;
4349
+ deployment_id?: null | string;
4350
+ cwd: string;
4351
+ workspace?: {
4352
+ kind: "shared" | "isolated";
4353
+ path?: string;
4354
+ branch?: string;
4355
+ };
4356
+ computer_id?: string;
4357
+ model?: {
4358
+ id: string;
4359
+ thinking: {
4360
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
4361
+ can_disable: boolean;
4362
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
4363
+ } | null;
4364
+ };
4365
+ thinking?: {
4366
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4367
+ } | null;
4368
+ forked_from?: {
4369
+ session_id: string;
4370
+ message_id: string;
4371
+ } | null;
4372
+ readonly external_user_id: string | null;
4373
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
4374
+ }>;
4375
+ next_page: string | null;
4376
+ }>;
4377
+ name: {
4378
+ create: (options: import("./core/transport.js").CallOptions<Types.RenameSessionData>) => Promise<{
4379
+ id: string;
4380
+ agent: {
4381
+ id: string;
4382
+ description: null | string;
4383
+ mcp_servers: Array<{
4384
+ type: "url";
4385
+ name: string;
4386
+ url: string;
4387
+ headers?: {
4388
+ [key: string]: string;
4389
+ };
4390
+ timeout_ms?: number;
4391
+ } | {
4392
+ type: "sse";
4393
+ name: string;
4394
+ url: string;
4395
+ headers?: {
4396
+ [key: string]: string;
4397
+ };
4398
+ timeout_ms?: number;
4399
+ } | {
4400
+ type: "stdio";
4401
+ name: string;
4402
+ command: string;
4403
+ args?: Array<string>;
4404
+ env?: {
4405
+ [key: string]: string;
4406
+ };
4407
+ timeout_ms?: number;
4408
+ }>;
4409
+ model: {
4410
+ id: string;
4411
+ effort?: {
4412
+ type: "low";
4413
+ } | {
4414
+ type: "medium";
4415
+ } | {
4416
+ type: "high";
4417
+ } | {
4418
+ type: "xhigh";
4419
+ } | {
4420
+ type: "max";
4421
+ };
3414
4422
  inference_geo?: string;
3415
4423
  speed?: "standard" | "fast";
3416
4424
  settings?: {
3417
4425
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4426
+ max_output_tokens?: number;
3418
4427
  };
3419
4428
  };
3420
- multiagent: null | Types.AgentManaged171;
4429
+ multiagent: null | {
4430
+ agents: Array<{
4431
+ model: string;
4432
+ type: "advisor";
4433
+ } | {
4434
+ id: string;
4435
+ description: null | string;
4436
+ mcp_servers: Array<{
4437
+ type: "url";
4438
+ name: string;
4439
+ url: string;
4440
+ headers?: {
4441
+ [key: string]: string;
4442
+ };
4443
+ timeout_ms?: number;
4444
+ } | {
4445
+ type: "sse";
4446
+ name: string;
4447
+ url: string;
4448
+ headers?: {
4449
+ [key: string]: string;
4450
+ };
4451
+ timeout_ms?: number;
4452
+ } | {
4453
+ type: "stdio";
4454
+ name: string;
4455
+ command: string;
4456
+ args?: Array<string>;
4457
+ env?: {
4458
+ [key: string]: string;
4459
+ };
4460
+ timeout_ms?: number;
4461
+ }>;
4462
+ model: {
4463
+ id: string;
4464
+ effort?: {
4465
+ type: "low";
4466
+ } | {
4467
+ type: "medium";
4468
+ } | {
4469
+ type: "high";
4470
+ } | {
4471
+ type: "xhigh";
4472
+ } | {
4473
+ type: "max";
4474
+ };
4475
+ inference_geo?: string;
4476
+ speed?: "standard" | "fast";
4477
+ };
4478
+ name: string;
4479
+ skills: Array<{
4480
+ skill_id: string;
4481
+ type: "anthropic";
4482
+ version: string;
4483
+ } | {
4484
+ skill_id: string;
4485
+ type: "custom";
4486
+ version: string;
4487
+ }>;
4488
+ system: null | string;
4489
+ tools: Array<{
4490
+ configs: Array<{
4491
+ enabled: boolean;
4492
+ name: "bash";
4493
+ permission_policy: {
4494
+ type: "always_allow";
4495
+ } | {
4496
+ type: "always_ask";
4497
+ } | {
4498
+ type: "auto";
4499
+ };
4500
+ type: "bash";
4501
+ } | {
4502
+ enabled: boolean;
4503
+ name: "edit";
4504
+ permission_policy: {
4505
+ type: "always_allow";
4506
+ } | {
4507
+ type: "always_ask";
4508
+ } | {
4509
+ type: "auto";
4510
+ };
4511
+ type: "edit";
4512
+ } | {
4513
+ enabled: boolean;
4514
+ name: "read";
4515
+ permission_policy: {
4516
+ type: "always_allow";
4517
+ } | {
4518
+ type: "always_ask";
4519
+ } | {
4520
+ type: "auto";
4521
+ };
4522
+ type: "read";
4523
+ } | {
4524
+ enabled: boolean;
4525
+ name: "write";
4526
+ permission_policy: {
4527
+ type: "always_allow";
4528
+ } | {
4529
+ type: "always_ask";
4530
+ } | {
4531
+ type: "auto";
4532
+ };
4533
+ type: "write";
4534
+ } | {
4535
+ enabled: boolean;
4536
+ name: "glob";
4537
+ permission_policy: {
4538
+ type: "always_allow";
4539
+ } | {
4540
+ type: "always_ask";
4541
+ } | {
4542
+ type: "auto";
4543
+ };
4544
+ type: "glob";
4545
+ } | {
4546
+ enabled: boolean;
4547
+ name: "grep";
4548
+ permission_policy: {
4549
+ type: "always_allow";
4550
+ } | {
4551
+ type: "always_ask";
4552
+ } | {
4553
+ type: "auto";
4554
+ };
4555
+ type: "grep";
4556
+ } | {
4557
+ enabled: boolean;
4558
+ name: "web_fetch";
4559
+ permission_policy: {
4560
+ type: "always_allow";
4561
+ } | {
4562
+ type: "always_ask";
4563
+ } | {
4564
+ type: "auto";
4565
+ };
4566
+ type: "web_fetch";
4567
+ allowed_domains?: Array<string>;
4568
+ blocked_domains?: Array<string>;
4569
+ max_content_tokens?: null | number;
4570
+ } | {
4571
+ enabled: boolean;
4572
+ name: "web_search";
4573
+ permission_policy: {
4574
+ type: "always_allow";
4575
+ } | {
4576
+ type: "always_ask";
4577
+ } | {
4578
+ type: "auto";
4579
+ };
4580
+ type: "web_search";
4581
+ allowed_domains?: Array<string>;
4582
+ blocked_domains?: Array<string>;
4583
+ user_location?: null | {
4584
+ type: "approximate";
4585
+ city?: null | string;
4586
+ country?: null | string;
4587
+ region?: null | string;
4588
+ timezone?: null | string;
4589
+ };
4590
+ } | {
4591
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
4592
+ enabled: boolean;
4593
+ permission_policy: {
4594
+ type: "always_allow" | "always_ask";
4595
+ };
4596
+ }>;
4597
+ default_config: {
4598
+ enabled: boolean;
4599
+ permission_policy: {
4600
+ type: "always_allow";
4601
+ } | {
4602
+ type: "always_ask";
4603
+ } | {
4604
+ type: "auto";
4605
+ };
4606
+ };
4607
+ type: "agent_toolset_20260401";
4608
+ } | {
4609
+ type: "mcp_toolset";
4610
+ mcp_server_name: string;
4611
+ default_config?: {
4612
+ enabled?: boolean | null;
4613
+ permission_policy?: null | {
4614
+ type: "always_allow" | "always_ask";
4615
+ };
4616
+ } | null;
4617
+ configs?: Array<{
4618
+ name: string;
4619
+ enabled?: boolean | null;
4620
+ permission_policy?: null | {
4621
+ type: "always_allow" | "always_ask";
4622
+ };
4623
+ }> | null;
4624
+ } | {
4625
+ description: string;
4626
+ input_schema: {
4627
+ type: "object";
4628
+ properties?: null | {
4629
+ [key: string]: unknown;
4630
+ };
4631
+ required?: null | Array<string>;
4632
+ [key: string]: unknown;
4633
+ };
4634
+ name: string;
4635
+ type: "custom";
4636
+ }>;
4637
+ type: "agent";
4638
+ version: number;
4639
+ }>;
4640
+ type: "coordinator";
4641
+ };
3421
4642
  name: string;
3422
- skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
4643
+ skills: Array<{
4644
+ skill_id: string;
4645
+ type: "anthropic";
4646
+ version: string;
4647
+ } | {
4648
+ skill_id: string;
4649
+ type: "custom";
4650
+ version: string;
4651
+ }>;
3423
4652
  system: null | string;
3424
- tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
4653
+ tools: Array<{
4654
+ configs: Array<{
4655
+ enabled: boolean;
4656
+ name: "bash";
4657
+ permission_policy: {
4658
+ type: "always_allow";
4659
+ } | {
4660
+ type: "always_ask";
4661
+ } | {
4662
+ type: "auto";
4663
+ };
4664
+ type: "bash";
4665
+ } | {
4666
+ enabled: boolean;
4667
+ name: "edit";
4668
+ permission_policy: {
4669
+ type: "always_allow";
4670
+ } | {
4671
+ type: "always_ask";
4672
+ } | {
4673
+ type: "auto";
4674
+ };
4675
+ type: "edit";
4676
+ } | {
4677
+ enabled: boolean;
4678
+ name: "read";
4679
+ permission_policy: {
4680
+ type: "always_allow";
4681
+ } | {
4682
+ type: "always_ask";
4683
+ } | {
4684
+ type: "auto";
4685
+ };
4686
+ type: "read";
4687
+ } | {
4688
+ enabled: boolean;
4689
+ name: "write";
4690
+ permission_policy: {
4691
+ type: "always_allow";
4692
+ } | {
4693
+ type: "always_ask";
4694
+ } | {
4695
+ type: "auto";
4696
+ };
4697
+ type: "write";
4698
+ } | {
4699
+ enabled: boolean;
4700
+ name: "glob";
4701
+ permission_policy: {
4702
+ type: "always_allow";
4703
+ } | {
4704
+ type: "always_ask";
4705
+ } | {
4706
+ type: "auto";
4707
+ };
4708
+ type: "glob";
4709
+ } | {
4710
+ enabled: boolean;
4711
+ name: "grep";
4712
+ permission_policy: {
4713
+ type: "always_allow";
4714
+ } | {
4715
+ type: "always_ask";
4716
+ } | {
4717
+ type: "auto";
4718
+ };
4719
+ type: "grep";
4720
+ } | {
4721
+ enabled: boolean;
4722
+ name: "web_fetch";
4723
+ permission_policy: {
4724
+ type: "always_allow";
4725
+ } | {
4726
+ type: "always_ask";
4727
+ } | {
4728
+ type: "auto";
4729
+ };
4730
+ type: "web_fetch";
4731
+ allowed_domains?: Array<string>;
4732
+ blocked_domains?: Array<string>;
4733
+ max_content_tokens?: null | number;
4734
+ } | {
4735
+ enabled: boolean;
4736
+ name: "web_search";
4737
+ permission_policy: {
4738
+ type: "always_allow";
4739
+ } | {
4740
+ type: "always_ask";
4741
+ } | {
4742
+ type: "auto";
4743
+ };
4744
+ type: "web_search";
4745
+ allowed_domains?: Array<string>;
4746
+ blocked_domains?: Array<string>;
4747
+ user_location?: null | {
4748
+ type: "approximate";
4749
+ city?: null | string;
4750
+ country?: null | string;
4751
+ region?: null | string;
4752
+ timezone?: null | string;
4753
+ };
4754
+ } | {
4755
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
4756
+ enabled: boolean;
4757
+ permission_policy: {
4758
+ type: "always_allow" | "always_ask";
4759
+ };
4760
+ }>;
4761
+ default_config: {
4762
+ enabled: boolean;
4763
+ permission_policy: {
4764
+ type: "always_allow";
4765
+ } | {
4766
+ type: "always_ask";
4767
+ } | {
4768
+ type: "auto";
4769
+ };
4770
+ };
4771
+ type: "agent_toolset_20260401";
4772
+ } | {
4773
+ type: "mcp_toolset";
4774
+ mcp_server_name: string;
4775
+ default_config?: {
4776
+ enabled?: boolean | null;
4777
+ permission_policy?: null | {
4778
+ type: "always_allow" | "always_ask";
4779
+ };
4780
+ } | null;
4781
+ configs?: Array<{
4782
+ name: string;
4783
+ enabled?: boolean | null;
4784
+ permission_policy?: null | {
4785
+ type: "always_allow" | "always_ask";
4786
+ };
4787
+ }> | null;
4788
+ } | {
4789
+ description: string;
4790
+ input_schema: {
4791
+ type: "object";
4792
+ properties?: null | {
4793
+ [key: string]: unknown;
4794
+ };
4795
+ required?: null | Array<string>;
4796
+ [key: string]: unknown;
4797
+ };
4798
+ name: string;
4799
+ type: "custom";
4800
+ }>;
3425
4801
  type: "agent";
3426
4802
  version: number;
3427
4803
  };
3428
4804
  archived_at: null | string;
3429
- budget: null | Types.AgentManaged76;
4805
+ budget: null | {
4806
+ max_list_cost: {
4807
+ amount: string;
4808
+ currency: "USD";
4809
+ };
4810
+ type: "limit";
4811
+ };
3430
4812
  created_at: string;
3431
4813
  environment_id?: string;
3432
- metadata: Types.AgentManaged173;
3433
- outcome_evaluations: Array<Types.AgentManaged174>;
3434
- resources: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
3435
- stats: Types.AgentManaged178;
4814
+ metadata: {
4815
+ [key: string]: string;
4816
+ };
4817
+ outcome_evaluations: Array<{
4818
+ completed_at: null | string;
4819
+ description: string;
4820
+ explanation: null | string;
4821
+ iteration: number;
4822
+ outcome_id: string;
4823
+ result: string;
4824
+ type: "outcome_evaluation";
4825
+ }>;
4826
+ resources: Array<{
4827
+ id: string;
4828
+ created_at: string;
4829
+ mount_path: string;
4830
+ type: "github_repository";
4831
+ updated_at: string;
4832
+ url: string;
4833
+ checkout?: null | {
4834
+ name: string;
4835
+ type: "branch";
4836
+ } | {
4837
+ sha: string;
4838
+ type: "commit";
4839
+ };
4840
+ } | {
4841
+ id: string;
4842
+ created_at: string;
4843
+ file_id: string;
4844
+ mount_path: string;
4845
+ type: "file";
4846
+ updated_at: string;
4847
+ } | {
4848
+ memory_store_id: string;
4849
+ type: "memory_store";
4850
+ access?: null | "read_write" | "read_only";
4851
+ description?: string;
4852
+ instructions?: null | string;
4853
+ mount_path?: null | string;
4854
+ name?: null | string;
4855
+ }>;
4856
+ stats: {
4857
+ active_seconds?: number;
4858
+ duration_seconds?: number;
4859
+ };
3436
4860
  status: "rescheduling" | "running" | "idle" | "terminated";
3437
4861
  title: null | string;
3438
4862
  type: "session";
3439
4863
  updated_at: string;
3440
- usage: Types.AgentManaged179;
4864
+ usage: {
4865
+ active_seconds?: number;
4866
+ cache_creation?: {
4867
+ ephemeral_1h_input_tokens?: number;
4868
+ ephemeral_5m_input_tokens?: number;
4869
+ };
4870
+ cache_read_input_tokens?: number;
4871
+ input_tokens?: number;
4872
+ list_cost?: null | {
4873
+ amount: string;
4874
+ currency: "USD";
4875
+ };
4876
+ output_tokens?: number;
4877
+ server_tool_use?: null | {
4878
+ web_fetch_requests?: number;
4879
+ web_search_requests?: number;
4880
+ };
4881
+ cost_by_product?: {
4882
+ [key: string]: string;
4883
+ };
4884
+ subagent_cost_micro_usd?: number;
4885
+ };
3441
4886
  vault_ids: Array<string>;
3442
4887
  deployment_id?: null | string;
3443
4888
  cwd: string;
4889
+ workspace?: {
4890
+ kind: "shared" | "isolated";
4891
+ path?: string;
4892
+ branch?: string;
4893
+ };
3444
4894
  computer_id?: string;
3445
4895
  model?: {
3446
4896
  id: string;
@@ -3460,8 +4910,21 @@ export declare function createAgent(transport: Transport): {
3460
4910
  readonly external_user_id: string | null;
3461
4911
  readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
3462
4912
  }>;
3463
- next_page: string | null;
3464
- }>;
4913
+ };
4914
+ requests: {
4915
+ list: (options: import("./core/transport.js").CallOptions<Types.ListSessionRequestsData>) => Promise<{
4916
+ data: Array<{
4917
+ id: string;
4918
+ object: "request";
4919
+ kind: "question" | "approval";
4920
+ status: "pending";
4921
+ tool_name: string;
4922
+ input: unknown;
4923
+ create_time: string;
4924
+ expire_time: string | null;
4925
+ }>;
4926
+ }>;
4927
+ };
3465
4928
  resources: {
3466
4929
  create: (options: import("./core/transport.js").CallOptions<Types.SessionsResourcesAddData>) => Promise<Types.AgentManaged176>;
3467
4930
  delete: (options: import("./core/transport.js").CallOptions<RenameParameters<Types.SessionsResourcesDeleteData, {
@@ -3492,6 +4955,7 @@ export declare function createAgent(transport: Transport): {
3492
4955
  speed?: "standard" | "fast";
3493
4956
  settings?: {
3494
4957
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4958
+ max_output_tokens?: number;
3495
4959
  };
3496
4960
  };
3497
4961
  multiagent: null | Types.AgentManaged171;
@@ -3518,6 +4982,11 @@ export declare function createAgent(transport: Transport): {
3518
4982
  vault_ids: Array<string>;
3519
4983
  deployment_id?: null | string;
3520
4984
  cwd: string;
4985
+ workspace?: {
4986
+ kind: "shared" | "isolated";
4987
+ path?: string;
4988
+ branch?: string;
4989
+ };
3521
4990
  computer_id?: string;
3522
4991
  model?: {
3523
4992
  id: string;
@@ -3664,7 +5133,6 @@ export declare function createAgent(transport: Transport): {
3664
5133
  run_id: string | null;
3665
5134
  message_id?: string;
3666
5135
  } | {
3667
- full_access_available?: boolean;
3668
5136
  id: string;
3669
5137
  input: Types.AgentManaged197;
3670
5138
  mcp_server_name: string;
@@ -3674,6 +5142,18 @@ export declare function createAgent(transport: Transport): {
3674
5142
  evaluated_permission?: "allow" | "deny" | "ask";
3675
5143
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3676
5144
  session_thread_id?: null | string;
5145
+ permission_suggestions?: Array<{
5146
+ type: "add_rules";
5147
+ behavior: "allow";
5148
+ destination: "agent" | "session";
5149
+ rules: Array<{
5150
+ tool_name: string;
5151
+ rule_content: string;
5152
+ }>;
5153
+ }>;
5154
+ full_access_available?: boolean;
5155
+ user_once?: true;
5156
+ guarded_rule?: string;
3677
5157
  run_id: string | null;
3678
5158
  parent_tool_use_id?: string;
3679
5159
  _meta?: {
@@ -3687,17 +5167,6 @@ export declare function createAgent(transport: Transport): {
3687
5167
  };
3688
5168
  };
3689
5169
  source?: "app" | "codemode";
3690
- user_once?: true;
3691
- guarded_rule?: string;
3692
- permission_suggestions?: Array<{
3693
- type: "add_rules";
3694
- behavior: "allow";
3695
- destination: "agent" | "session";
3696
- rules: Array<{
3697
- tool_name: string;
3698
- rule_content: string;
3699
- }>;
3700
- }>;
3701
5170
  title?: string;
3702
5171
  input_titles?: {
3703
5172
  [key: string]: string;
@@ -3716,7 +5185,6 @@ export declare function createAgent(transport: Transport): {
3716
5185
  };
3717
5186
  source?: "app" | "codemode";
3718
5187
  } | {
3719
- full_access_available?: boolean;
3720
5188
  id: string;
3721
5189
  input: Types.AgentManaged206;
3722
5190
  name: string;
@@ -3725,9 +5193,6 @@ export declare function createAgent(transport: Transport): {
3725
5193
  evaluated_permission?: "allow" | "deny" | "ask";
3726
5194
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3727
5195
  session_thread_id?: null | string;
3728
- run_id: string | null;
3729
- user_once?: true;
3730
- guarded_rule?: string;
3731
5196
  permission_suggestions?: Array<{
3732
5197
  type: "add_rules";
3733
5198
  behavior: "allow";
@@ -3737,6 +5202,10 @@ export declare function createAgent(transport: Transport): {
3737
5202
  rule_content: string;
3738
5203
  }>;
3739
5204
  }>;
5205
+ full_access_available?: boolean;
5206
+ user_once?: true;
5207
+ guarded_rule?: string;
5208
+ run_id: string | null;
3740
5209
  } | {
3741
5210
  id: string;
3742
5211
  processed_at: string;
@@ -3757,9 +5226,6 @@ export declare function createAgent(transport: Transport): {
3757
5226
  type: "session.status_idle";
3758
5227
  run_id: string | null;
3759
5228
  } | 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 | {
3760
- permission_mode_version?: number;
3761
- previous_permission_mode?: string | null;
3762
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
3763
5229
  id: string;
3764
5230
  processed_at: string;
3765
5231
  type: "session.updated";
@@ -3767,6 +5233,9 @@ export declare function createAgent(transport: Transport): {
3767
5233
  budget?: null | Types.AgentManaged76;
3768
5234
  metadata?: Types.AgentManaged246;
3769
5235
  title?: null | string;
5236
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
5237
+ previous_permission_mode?: string | null;
5238
+ permission_mode_version?: number;
3770
5239
  model?: {
3771
5240
  id: string;
3772
5241
  };
@@ -3857,6 +5326,7 @@ export declare function createAgent(transport: Transport): {
3857
5326
  speed?: "standard" | "fast";
3858
5327
  settings?: {
3859
5328
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
5329
+ max_output_tokens?: number;
3860
5330
  };
3861
5331
  };
3862
5332
  multiagent: null | Types.AgentManaged171;
@@ -3883,6 +5353,11 @@ export declare function createAgent(transport: Transport): {
3883
5353
  vault_ids: Array<string>;
3884
5354
  deployment_id?: null | string;
3885
5355
  cwd: string;
5356
+ workspace?: {
5357
+ kind: "shared" | "isolated";
5358
+ path?: string;
5359
+ branch?: string;
5360
+ };
3886
5361
  computer_id?: string;
3887
5362
  model?: {
3888
5363
  id: string;
@@ -3947,6 +5422,29 @@ export declare function createAgent(transport: Transport): {
3947
5422
  next_page: null;
3948
5423
  }>;
3949
5424
  };
5425
+ uploads: {
5426
+ contentUrl: {
5427
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadContentUrlData>) => Promise<{
5428
+ url: string;
5429
+ expires_at: string;
5430
+ }>;
5431
+ };
5432
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadData>) => Promise<{
5433
+ upload_id: string;
5434
+ expires_at: string;
5435
+ url: string;
5436
+ } | {
5437
+ upload_id: string;
5438
+ expires_at: string;
5439
+ part_size: number;
5440
+ parts: Array<{
5441
+ part_number: number;
5442
+ url: string;
5443
+ }>;
5444
+ complete_url: string;
5445
+ status_url: string;
5446
+ }>;
5447
+ };
3950
5448
  };
3951
5449
  export declare function createApplication(transport: Transport): {
3952
5450
  assets: {
@@ -4211,6 +5709,11 @@ export declare function createAutomation(transport: Transport): {
4211
5709
  };
4212
5710
  };
4213
5711
  };
5712
+ export declare function createBilling(transport: Transport): {
5713
+ prices: {
5714
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListPublicPricesData> | undefined) => Promise<Types.BillingPriceList>;
5715
+ };
5716
+ };
4214
5717
  export declare function createBrowser(transport: Transport): {
4215
5718
  connect: {
4216
5719
  retrieve: (options?: import("./core/transport.js").CallOptions<Types.BrowserConnectData> | undefined) => Promise<unknown>;
@@ -4270,6 +5773,11 @@ export declare function createBrowser(transport: Transport): {
4270
5773
  type: "evaluate";
4271
5774
  tab: string;
4272
5775
  value: unknown;
5776
+ } | {
5777
+ type: "set_cookie";
5778
+ tab: string;
5779
+ name: string;
5780
+ domain: string;
4273
5781
  }>;
4274
5782
  };
4275
5783
  create: (options: import("./core/transport.js").CallOptions<Types.BrowserCreateSessionData>) => Promise<Types.BrowserSessionCreateResult>;
@@ -4327,6 +5835,24 @@ export declare function createCanvas(transport: Transport): {
4327
5835
  update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCollectionData>) => Promise<Types.CanvasCollection>;
4328
5836
  };
4329
5837
  };
5838
+ export declare function createContent(transport: Transport): {
5839
+ contents: {
5840
+ archive: (options: import("./core/transport.js").CallOptions<Types.ContentArchiveContentData>) => Promise<Types.ContentContent>;
5841
+ create: (options: import("./core/transport.js").CallOptions<Types.ContentCreateContentData>) => Promise<Types.ContentContent>;
5842
+ list: (options?: import("./core/transport.js").CallOptions<Types.ContentListContentsData> | undefined) => Promise<Types.ContentContentPage>;
5843
+ publish: (options: import("./core/transport.js").CallOptions<Types.ContentPublishContentData>) => Promise<Types.ContentContent>;
5844
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetContentData>) => Promise<Types.ContentContent>;
5845
+ unpublish: (options: import("./core/transport.js").CallOptions<Types.ContentUnpublishContentData>) => Promise<Types.ContentContent>;
5846
+ update: (options: import("./core/transport.js").CallOptions<Types.ContentUpdateContentData>) => Promise<Types.ContentContent>;
5847
+ };
5848
+ playbackSessions: {
5849
+ create: (options: import("./core/transport.js").CallOptions<Types.ContentCreatePlaybackSessionData>) => Promise<Types.ContentPlaybackSession>;
5850
+ };
5851
+ versions: {
5852
+ list: (options: import("./core/transport.js").CallOptions<Types.ContentListVersionsData>) => Promise<Types.ContentContentVersionPage>;
5853
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetVersionData>) => Promise<Types.ContentContentVersion>;
5854
+ };
5855
+ };
4330
5856
  export declare function createCrm(transport: Transport): {
4331
5857
  associations: {
4332
5858
  create: (options: import("./core/transport.js").CallOptions<Types.CrmAssociationsCreateData>) => Promise<Types.CrmAssociationsLabelsBetweenObjectPair & Types.CrmWriteResult>;
@@ -4387,6 +5913,32 @@ export declare function createCrm(transport: Transport): {
4387
5913
  list: (options?: import("./core/transport.js").CallOptions<Types.CrmSchemasListData> | undefined) => Promise<Types.CrmSchemasCollectionResponseObjectSchemaNoPaging>;
4388
5914
  };
4389
5915
  };
5916
+ export declare function createCustomer(transport: Transport): {
5917
+ accessTokens: {
5918
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateAccessTokenData>) => Promise<Types.CustomerAccessToken>;
5919
+ renew: (options?: import("./core/transport.js").CallOptions<Types.CustomerRenewAccessTokenData> | undefined) => Promise<Types.CustomerAccessToken>;
5920
+ revoke: (options?: import("./core/transport.js").CallOptions<Types.CustomerRevokeCurrentTokensData> | undefined) => Promise<unknown>;
5921
+ };
5922
+ customers: {
5923
+ block: (options: import("./core/transport.js").CallOptions<Types.CustomerBlockCustomerData>) => Promise<Types.CustomerCustomer>;
5924
+ delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeleteCustomerData>) => Promise<Types.CustomerCustomerDeleted>;
5925
+ list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListCustomersData> | undefined) => Promise<Types.CustomerCustomerPage>;
5926
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetCustomerData>) => Promise<Types.CustomerCustomer>;
5927
+ revokeTokens: (options: import("./core/transport.js").CallOptions<Types.CustomerRevokeTokensData>) => Promise<Types.CustomerTokensRevoked>;
5928
+ unblock: (options: import("./core/transport.js").CallOptions<Types.CustomerUnblockCustomerData>) => Promise<Types.CustomerCustomer>;
5929
+ };
5930
+ grantCodes: {
5931
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateGrantCodeData>) => Promise<Types.CustomerGrantCode>;
5932
+ };
5933
+ publishableKeys: {
5934
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreatePublishableKeyData>) => Promise<Types.CustomerPublishableKey>;
5935
+ delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeletePublishableKeyData>) => Promise<Types.CustomerPublishableKeyDeleted>;
5936
+ list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListPublishableKeysData> | undefined) => Promise<Types.CustomerPublishableKeyPage>;
5937
+ };
5938
+ usage: {
5939
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetUsageData>) => Promise<Types.CustomerCustomerUsage>;
5940
+ };
5941
+ };
4390
5942
  export declare function createCut(transport: Transport): {
4391
5943
  exports: {
4392
5944
  cancel: (options: import("./core/transport.js").CallOptions<Types.CutCancelExportData>) => Promise<Types.CutExport>;
@@ -4485,7 +6037,9 @@ export declare function createDatabase(transport: Transport): {
4485
6037
  export declare function createDevops(transport: Transport): {
4486
6038
  changes: {
4487
6039
  abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesAbandonData>) => Promise<Types.DevopsChange>;
6040
+ gitCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGitCredentialData>) => Promise<Types.DevopsChangeGitCredential>;
4488
6041
  markLastSlice: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesMarkLastSliceData>) => Promise<Types.DevopsChange>;
6042
+ openPullRequest: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesOpenPullRequestData>) => Promise<Types.DevopsChangePullRequestOpened>;
4489
6043
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGetData>) => Promise<Types.DevopsChange>;
4490
6044
  };
4491
6045
  connections: {
@@ -4542,6 +6096,7 @@ export declare function createDevops(transport: Transport): {
4542
6096
  flags: {
4543
6097
  create: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsCreateData>) => Promise<Types.DevopsFlag>;
4544
6098
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsListData>) => Promise<Types.DevopsFlagPage>;
6099
+ reportCodeRefs: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsReportCodeRefsData>) => Promise<Types.DevopsFlagCodeRefsReportResult>;
4545
6100
  };
4546
6101
  list: (options?: import("./core/transport.js").CallOptions<Types.DevopsProjectsListData> | undefined) => Promise<Types.DevopsProjectPage>;
4547
6102
  promotions: {
@@ -4556,6 +6111,7 @@ export declare function createDevops(transport: Transport): {
4556
6111
  };
4557
6112
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsGetData>) => Promise<Types.DevopsProject>;
4558
6113
  retrieveTestCatalog: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCatalogGetData>) => Promise<Types.DevopsCatalogVersion>;
6114
+ retrieveTestPlan: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlanGetData>) => Promise<Types.DevopsTestPlan>;
4559
6115
  segments: {
4560
6116
  create: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsCreateData>) => Promise<Types.DevopsSegment>;
4561
6117
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsListData>) => Promise<Types.DevopsSegmentPage>;
@@ -4604,6 +6160,7 @@ export declare function createDevops(transport: Transport): {
4604
6160
  };
4605
6161
  };
4606
6162
  pullRequests: {
6163
+ close: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsCloseData>) => Promise<Types.DevopsPullRequest>;
4607
6164
  merge: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsMergeData>) => Promise<Types.DevopsPullRequest>;
4608
6165
  recordVerdict: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRecordVerdictData>) => Promise<Types.DevopsPullRequest>;
4609
6166
  rerunGate: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRerunGateData>) => Promise<Types.DevopsPullRequest>;
@@ -4744,12 +6301,19 @@ export declare function createMedia(transport: Transport): {
4744
6301
  };
4745
6302
  libraries: {
4746
6303
  assets: {
6304
+ align: {
6305
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaAlignAssetData>) => Promise<Types.MediaJob>;
6306
+ };
4747
6307
  batch: (options: import("./core/transport.js").CallOptions<Types.MediaBatchAssetsData>) => Promise<Types.MediaJob>;
4748
6308
  create: (options: import("./core/transport.js").CallOptions<Types.MediaUploadAssetData>) => Promise<Types.MediaUploadResult>;
4749
6309
  delete: (options: import("./core/transport.js").CallOptions<Types.MediaDeleteAssetData>) => Promise<Types.MediaDeleted>;
4750
6310
  frames: {
4751
6311
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateFrameUrlsData>) => Promise<Types.MediaFrameUrls>;
4752
6312
  };
6313
+ hls: {
6314
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaRequestHlsRenditionsData>) => Promise<Types.MediaHlsLadder>;
6315
+ list: (options: import("./core/transport.js").CallOptions<Types.MediaGetHlsRenditionsData>) => Promise<Types.MediaHlsLadder>;
6316
+ };
4753
6317
  import: {
4754
6318
  create: (options: import("./core/transport.js").CallOptions<Types.MediaImportAssetData>) => Promise<Types.MediaAsset>;
4755
6319
  };
@@ -4816,6 +6380,12 @@ export declare function createMedia(transport: Transport): {
4816
6380
  retrieveFailureSummary: (options: import("./core/transport.js").CallOptions<Types.MediaUnderstandingFailureSummaryData>) => Promise<Types.MediaFailureSummary>;
4817
6381
  };
4818
6382
  update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateLibraryData>) => Promise<Types.MediaLibrary>;
6383
+ voices: {
6384
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateVoiceData>) => Promise<Types.MediaJob>;
6385
+ designs: {
6386
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaDesignVoiceData>) => Promise<Types.MediaJob>;
6387
+ };
6388
+ };
4819
6389
  };
4820
6390
  speech: {
4821
6391
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateSpeechData>) => Promise<Types.MediaJob>;
@@ -5022,7 +6592,35 @@ export declare function createModel(transport: Transport): {
5022
6592
  countTokens: (options: import("./core/transport.js").CallOptions<Types.CountTokensData>) => Promise<Types.AnthropicMessageTokensCount>;
5023
6593
  create: import("./core/bindings.js").MixedMethod<Types.CreateMessageData, Types.AnthropicMessage, Types.PraxisSdkSsePostModelV1Messages>;
5024
6594
  };
6595
+ modelAccess: {
6596
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListModelAccessData> | undefined) => Promise<{
6597
+ items: Array<{
6598
+ model: string;
6599
+ access_required: boolean;
6600
+ granted: boolean;
6601
+ granted_by: string | null;
6602
+ granted_at: string | null;
6603
+ sell_input_price: number | null;
6604
+ sell_output_price: number | null;
6605
+ }>;
6606
+ }>;
6607
+ };
5025
6608
  models: {
6609
+ access: {
6610
+ delete: (options: import("./core/transport.js").CallOptions<Types.DisableModelAccessData>) => Promise<{
6611
+ model: string;
6612
+ revoked: true;
6613
+ }>;
6614
+ update: (options: import("./core/transport.js").CallOptions<Types.EnableModelAccessData>) => Promise<{
6615
+ model: string;
6616
+ access_required: boolean;
6617
+ granted: true;
6618
+ granted_by: string;
6619
+ granted_at: string;
6620
+ sell_input_price: number | null;
6621
+ sell_output_price: number | null;
6622
+ }>;
6623
+ };
5026
6624
  list: (options?: import("./core/transport.js").CallOptions<Types.ListModelsData> | undefined) => Promise<{
5027
6625
  object: "list";
5028
6626
  data: Array<{
@@ -5037,6 +6635,7 @@ export declare function createModel(transport: Transport): {
5037
6635
  type: "language" | "image" | "embedding" | "ocr" | "transcription" | "speech" | "video" | "reranking";
5038
6636
  supported_apis: Array<string>;
5039
6637
  tags: Array<string>;
6638
+ access_required: boolean;
5040
6639
  architecture: {
5041
6640
  modality: string;
5042
6641
  input_modalities: Array<string>;
@@ -5083,6 +6682,7 @@ export declare function createModel(transport: Transport): {
5083
6682
  type: "language" | "image" | "embedding" | "ocr" | "transcription" | "speech" | "video" | "reranking";
5084
6683
  supported_apis: Array<string>;
5085
6684
  tags: Array<string>;
6685
+ access_required: boolean;
5086
6686
  architecture: {
5087
6687
  modality: string;
5088
6688
  input_modalities: Array<string>;
@@ -5309,6 +6909,7 @@ export declare function createModel(transport: Transport): {
5309
6909
  unsigned_urls: Array<string>;
5310
6910
  usage?: {
5311
6911
  cost: number;
6912
+ billed_seconds?: number;
5312
6913
  };
5313
6914
  }>;
5314
6915
  delete: (options: import("./core/transport.js").CallOptions<Types.DeleteVideoData>) => Promise<{
@@ -5339,6 +6940,7 @@ export declare function createModel(transport: Transport): {
5339
6940
  unsigned_urls: Array<string>;
5340
6941
  usage?: {
5341
6942
  cost: number;
6943
+ billed_seconds?: number;
5342
6944
  };
5343
6945
  }>;
5344
6946
  has_more: boolean;
@@ -5367,6 +6969,7 @@ export declare function createModel(transport: Transport): {
5367
6969
  unsigned_urls: Array<string>;
5368
6970
  usage?: {
5369
6971
  cost: number;
6972
+ billed_seconds?: number;
5370
6973
  };
5371
6974
  }>;
5372
6975
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.DownloadVideoContentData>) => Promise<Blob | File>;
@@ -5777,6 +7380,54 @@ export declare function createOrganization(transport: Transport): {
5777
7380
  }>;
5778
7381
  };
5779
7382
  };
7383
+ export declare function createRegistry(transport: Transport): {
7384
+ installations: {
7385
+ delete: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsDeleteData>) => Promise<Types.RegistryDeletedInstallation>;
7386
+ update: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsUpdateData>) => Promise<Types.RegistryInstallation>;
7387
+ };
7388
+ packages: {
7389
+ git: {
7390
+ commits: {
7391
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCommitsRetrieveData>) => Promise<Types.RegistryGitCommit>;
7392
+ };
7393
+ files: {
7394
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitFilesRetrieveData>) => Promise<Blob | File>;
7395
+ };
7396
+ retrieveLog: (options: import("./core/transport.js").CallOptions<Types.RegistryGitLogData>) => Promise<Types.RegistryGitLog>;
7397
+ trees: {
7398
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRetrieveData>) => Promise<Types.RegistryGitTree>;
7399
+ };
7400
+ };
7401
+ installations: {
7402
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsCreateData>) => Promise<Types.RegistryInstallResult>;
7403
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsListData>) => Promise<Types.RegistryInstallationList>;
7404
+ };
7405
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesRetrieveData>) => Promise<Types.RegistryPackage>;
7406
+ versions: {
7407
+ contents: {
7408
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsContentsData>) => Promise<Types.RegistryFileEntryPage>;
7409
+ };
7410
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsCreateData>) => Promise<Types.RegistryVersion>;
7411
+ files: {
7412
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsFilesRetrieveData>) => Promise<Blob | File>;
7413
+ };
7414
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsListData>) => Promise<import("./automation.js").Page<Types.RegistryVersion>>;
7415
+ retrieveArchive: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsArchiveData>) => Promise<Blob | File>;
7416
+ withdraw: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsWithdrawData>) => Promise<Types.RegistryVersion>;
7417
+ };
7418
+ };
7419
+ repositories: {
7420
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesCreateData>) => Promise<Types.RegistryRepository>;
7421
+ delete: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesDeleteData>) => Promise<Types.RegistryDeletedRepository>;
7422
+ list: (options?: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesListData> | undefined) => Promise<import("./automation.js").Page<Types.RegistryRepository>>;
7423
+ packages: {
7424
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesPackagesCreateData>) => Promise<Types.RegistryPackage>;
7425
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesPackagesListData>) => Promise<import("./automation.js").Page<Types.RegistryPackage>>;
7426
+ };
7427
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesRetrieveData>) => Promise<Types.RegistryRepository>;
7428
+ update: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesUpdateData>) => Promise<Types.RegistryRepository>;
7429
+ };
7430
+ };
5780
7431
  export declare function createSandbox(transport: Transport): {
5781
7432
  events: {
5782
7433
  sandboxes: {
@@ -5784,6 +7435,26 @@ export declare function createSandbox(transport: Transport): {
5784
7435
  };
5785
7436
  };
5786
7437
  sandboxes: {
7438
+ act: (options: import("./core/transport.js").CallOptions<Types.ActOnSandboxDisplayData>) => Promise<{
7439
+ type: "snapshot";
7440
+ snapshot: string;
7441
+ refs: number;
7442
+ truncated: boolean;
7443
+ package: string;
7444
+ } | {
7445
+ type: "screenshot";
7446
+ mediaType: string;
7447
+ data: string;
7448
+ width: number;
7449
+ height: number;
7450
+ bytes: number;
7451
+ } | {
7452
+ type: "ok";
7453
+ ms?: number;
7454
+ } | {
7455
+ type: "wait";
7456
+ ms: number;
7457
+ }>;
5787
7458
  commands: {
5788
7459
  run: (options: import("./core/transport.js").CallOptions<Types.RunSandboxCommandData>) => Promise<{
5789
7460
  stdout: string;
@@ -6013,6 +7684,14 @@ export declare function createSearch(transport: Transport): {
6013
7684
  }>;
6014
7685
  };
6015
7686
  };
7687
+ export declare function createShare(transport: Transport): {
7688
+ permissions: {
7689
+ create: (options: import("./core/transport.js").CallOptions<Types.ShareCreatePermissionData>) => Promise<Types.ShareSharePermission>;
7690
+ delete: (options: import("./core/transport.js").CallOptions<Types.ShareDeletePermissionData>) => Promise<void>;
7691
+ list: (options?: import("./core/transport.js").CallOptions<Types.ShareListPermissionsData> | undefined) => Promise<Types.ShareSharePermissionPage>;
7692
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ShareRetrievePermissionData>) => Promise<Types.ShareSharePermission>;
7693
+ };
7694
+ };
6016
7695
  export declare function createStudio(transport: Transport): {
6017
7696
  codexes: {
6018
7697
  create: (options: import("./core/transport.js").CallOptions<Types.StudioCodexesCreateData>) => Promise<Types.StudioCodex>;
@@ -6304,9 +7983,12 @@ export declare const resourceFactories: {
6304
7983
  agent: typeof createAgent;
6305
7984
  application: typeof createApplication;
6306
7985
  automation: typeof createAutomation;
7986
+ billing: typeof createBilling;
6307
7987
  browser: typeof createBrowser;
6308
7988
  canvas: typeof createCanvas;
7989
+ content: typeof createContent;
6309
7990
  crm: typeof createCrm;
7991
+ customer: typeof createCustomer;
6310
7992
  cut: typeof createCut;
6311
7993
  database: typeof createDatabase;
6312
7994
  devops: typeof createDevops;
@@ -6317,8 +7999,10 @@ export declare const resourceFactories: {
6317
7999
  model: typeof createModel;
6318
8000
  ontology: typeof createOntology;
6319
8001
  organization: typeof createOrganization;
8002
+ registry: typeof createRegistry;
6320
8003
  sandbox: typeof createSandbox;
6321
8004
  search: typeof createSearch;
8005
+ share: typeof createShare;
6322
8006
  studio: typeof createStudio;
6323
8007
  ticket: typeof createTicket;
6324
8008
  vault: typeof createVault;