@deepraxis/sdk 0.1.1-dev.30a84bf → 0.1.1-dev.335a095

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,18 +42,18 @@ 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;
47
49
  } | {
48
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
50
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
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
- image_model?: string | null;
56
57
  subagents?: Array<{
57
58
  name: string;
58
59
  description: string;
@@ -143,6 +144,7 @@ export declare function createAgent(transport: Transport): {
143
144
  allowManagedHooksOnly?: boolean;
144
145
  allowManagedMcpServersOnly?: boolean;
145
146
  allowManagedPermissionRulesOnly?: boolean;
147
+ idleCompaction?: boolean;
146
148
  autoMemoryEnabled?: boolean;
147
149
  disabled?: {
148
150
  subagents?: Array<string>;
@@ -151,7 +153,6 @@ export declare function createAgent(transport: Transport): {
151
153
  mcpServers?: Array<string>;
152
154
  hooks?: Array<string>;
153
155
  };
154
- idleCompaction?: boolean;
155
156
  outputStyle?: string;
156
157
  } | null;
157
158
  models?: {
@@ -159,6 +160,7 @@ export declare function createAgent(transport: Transport): {
159
160
  };
160
161
  avatar: string | null;
161
162
  creation_source: string | null;
163
+ managed_by: string | null;
162
164
  identity_number: string | null;
163
165
  environment_id?: string | null;
164
166
  vault_ids?: Array<string>;
@@ -170,6 +172,22 @@ export declare function createAgent(transport: Transport): {
170
172
  keep_coding_instructions?: boolean;
171
173
  }> | null;
172
174
  }>;
175
+ consolidations: {
176
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentConsolidationData>) => Promise<{
177
+ id: string;
178
+ session_id: string;
179
+ status: "queued" | "running" | "done" | "failed";
180
+ engram_id?: string;
181
+ error?: string;
182
+ }>;
183
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetAgentConsolidationData>) => Promise<{
184
+ id: string;
185
+ session_id: string;
186
+ status: "queued" | "running" | "done" | "failed";
187
+ engram_id?: string;
188
+ error?: string;
189
+ }>;
190
+ };
173
191
  create: (options: import("./core/transport.js").CallOptions<Types.AgentsCreateData>) => Promise<{
174
192
  id: string;
175
193
  archived_at: null | string;
@@ -184,6 +202,7 @@ export declare function createAgent(transport: Transport): {
184
202
  speed?: "standard" | "fast";
185
203
  settings?: {
186
204
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
205
+ max_output_tokens?: number;
187
206
  };
188
207
  };
189
208
  multiagent?: null | Types.AgentManaged39;
@@ -208,18 +227,25 @@ export declare function createAgent(transport: Transport): {
208
227
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
209
228
  id: string;
210
229
  access: "read_only" | "read_write" | "invoke";
230
+ customer_access?: "read_only" | "read_write" | "invoke";
211
231
  instructions?: string;
212
232
  readonly verified?: boolean;
213
233
  enabled?: boolean;
214
234
  } | {
215
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
235
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
216
236
  readonly verified?: boolean;
217
237
  enabled?: boolean;
218
238
  }>;
219
- 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
+ };
220
247
  computer_id?: string;
221
248
  subagent_model?: string | null;
222
- image_model?: string | null;
223
249
  subagents?: Array<{
224
250
  name: string;
225
251
  description: string;
@@ -310,6 +336,7 @@ export declare function createAgent(transport: Transport): {
310
336
  allowManagedHooksOnly?: boolean;
311
337
  allowManagedMcpServersOnly?: boolean;
312
338
  allowManagedPermissionRulesOnly?: boolean;
339
+ idleCompaction?: boolean;
313
340
  autoMemoryEnabled?: boolean;
314
341
  disabled?: {
315
342
  subagents?: Array<string>;
@@ -318,7 +345,6 @@ export declare function createAgent(transport: Transport): {
318
345
  mcpServers?: Array<string>;
319
346
  hooks?: Array<string>;
320
347
  };
321
- idleCompaction?: boolean;
322
348
  outputStyle?: string;
323
349
  } | null;
324
350
  models?: {
@@ -326,6 +352,7 @@ export declare function createAgent(transport: Transport): {
326
352
  };
327
353
  avatar: string | null;
328
354
  creation_source: string | null;
355
+ managed_by: string | null;
329
356
  identity_number: string | null;
330
357
  environment_id?: string | null;
331
358
  vault_ids?: Array<string>;
@@ -338,42 +365,6 @@ export declare function createAgent(transport: Transport): {
338
365
  }> | null;
339
366
  }>;
340
367
  customers: {
341
- auth: {
342
- accessTokens: {
343
- create: (options: import("./core/transport.js").CallOptions<Types.CreateCustomerAccessTokenData>) => Promise<{
344
- type: "customer_access_token";
345
- access_token: string;
346
- expires_at: string;
347
- session_expires_at: string;
348
- customer: {
349
- id: string;
350
- type: "identified" | "anonymous";
351
- };
352
- }>;
353
- deleteCurrent: (options: import("./core/transport.js").CallOptions<Types.DeleteCurrentCustomerAccessTokenData>) => Promise<void>;
354
- renew: {
355
- create: (options: import("./core/transport.js").CallOptions<Types.RenewCustomerAccessTokenData>) => Promise<{
356
- type: "customer_access_token";
357
- access_token: string;
358
- expires_at: string;
359
- session_expires_at: string;
360
- customer: {
361
- id: string;
362
- type: "identified" | "anonymous";
363
- };
364
- }>;
365
- };
366
- };
367
- grantCodes: {
368
- create: (options: import("./core/transport.js").CallOptions<Types.CreateCustomerGrantCodeData>) => Promise<{
369
- type: "customer_grant_code";
370
- code: string;
371
- customer_id: string;
372
- expires_at: string;
373
- hosted_url?: string;
374
- }>;
375
- };
376
- };
377
368
  block: {
378
369
  create: (options: import("./core/transport.js").CallOptions<Types.BlockCustomerData>) => Promise<{
379
370
  id: string;
@@ -465,6 +456,245 @@ export declare function createAgent(transport: Transport): {
465
456
  }>;
466
457
  };
467
458
  };
459
+ events: {
460
+ list: (options: import("./core/transport.js").CallOptions<Types.ListAgentEventsData>) => Promise<{
461
+ data: Array<{
462
+ id: string;
463
+ content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
464
+ type: "user.message";
465
+ processed_at?: null | string;
466
+ praxis_context?: {
467
+ items: Array<{
468
+ name: string;
469
+ value: string;
470
+ }>;
471
+ };
472
+ message_id?: string;
473
+ } | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged192 | {
474
+ id: string;
475
+ content: Array<{
476
+ text: string;
477
+ type: "text";
478
+ citations?: Array<{
479
+ type: "search_result_location";
480
+ source: string;
481
+ title: string;
482
+ cited_text: string;
483
+ search_result_index: number;
484
+ start_block_index: number;
485
+ end_block_index: number;
486
+ }>;
487
+ } | Types.AgentManaged70>;
488
+ processed_at: string;
489
+ type: "agent.message";
490
+ run_id: string | null;
491
+ message_id?: string;
492
+ } | {
493
+ id: string;
494
+ processed_at: string;
495
+ type: "agent.thinking";
496
+ run_id: string | null;
497
+ message_id?: string;
498
+ } | {
499
+ id: string;
500
+ input: Types.AgentManaged197;
501
+ mcp_server_name: string;
502
+ name: string;
503
+ processed_at: string;
504
+ type: "agent.mcp_tool_use";
505
+ evaluated_permission?: "allow" | "deny" | "ask";
506
+ evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
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;
520
+ run_id: string | null;
521
+ _meta?: {
522
+ ui?: {
523
+ resourceUri?: string;
524
+ visibility?: Array<string>;
525
+ [key: string]: unknown;
526
+ };
527
+ "openai/ui"?: {
528
+ [key: string]: unknown;
529
+ };
530
+ };
531
+ source?: "app" | "codemode";
532
+ parent_tool_use_id?: string;
533
+ title?: string;
534
+ input_titles?: {
535
+ [key: string]: string;
536
+ };
537
+ } | {
538
+ id: string;
539
+ mcp_tool_use_id: string;
540
+ processed_at: string;
541
+ type: "agent.mcp_tool_result";
542
+ content?: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged189>;
543
+ is_error?: null | false | true;
544
+ run_id: string | null;
545
+ structured_content?: unknown;
546
+ _meta?: {
547
+ [key: string]: unknown;
548
+ };
549
+ source?: "app" | "codemode";
550
+ } | {
551
+ id: string;
552
+ input: Types.AgentManaged206;
553
+ name: string;
554
+ processed_at: string;
555
+ type: "agent.tool_use";
556
+ evaluated_permission?: "allow" | "deny" | "ask";
557
+ evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
558
+ session_thread_id?: null | string;
559
+ permission_suggestions?: Array<{
560
+ type: "add_rules";
561
+ behavior: "allow";
562
+ destination: "agent" | "session";
563
+ rules: Array<{
564
+ tool_name: string;
565
+ rule_content: string;
566
+ }>;
567
+ }>;
568
+ full_access_available?: boolean;
569
+ user_once?: true;
570
+ guarded_rule?: string;
571
+ run_id: string | null;
572
+ } | {
573
+ id: string;
574
+ processed_at: string;
575
+ tool_use_id: string;
576
+ type: "agent.tool_result";
577
+ content?: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged189>;
578
+ is_error?: null | false | true;
579
+ run_id: string | null;
580
+ } | Types.AgentManaged208 | Types.AgentManaged209 | Types.AgentManaged210 | Types.AgentManaged211 | Types.AgentManaged223 | {
581
+ id: string;
582
+ processed_at: string;
583
+ type: "session.status_running";
584
+ run_id: string | null;
585
+ } | {
586
+ id: string;
587
+ processed_at: string;
588
+ stop_reason: Types.AgentManaged226 | Types.AgentManaged227 | Types.AgentManaged228 | Types.AgentManaged229;
589
+ type: "session.status_idle";
590
+ run_id: string | null;
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 | {
592
+ id: string;
593
+ processed_at: string;
594
+ type: "session.updated";
595
+ agent?: null | Types.AgentManaged170;
596
+ budget?: null | Types.AgentManaged76;
597
+ metadata?: Types.AgentManaged246;
598
+ title?: null | string;
599
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
600
+ previous_permission_mode?: string | null;
601
+ permission_mode_version?: number;
602
+ model?: {
603
+ id: string;
604
+ };
605
+ } | Types.AgentManaged247 | Types.AgentManaged248 | {
606
+ id: string;
607
+ type: "session.forked";
608
+ processed_at: string;
609
+ forked_from_session_id: string;
610
+ forked_from_message_id: string;
611
+ } | {
612
+ id: string;
613
+ type: "session.goal_changed";
614
+ processed_at: string;
615
+ action: "set" | "status_updated" | "cleared" | "usage_accounted";
616
+ source: "command" | "runtime";
617
+ goal: {
618
+ goal_id: string;
619
+ objective: string;
620
+ summary_title: string | null;
621
+ status: "active" | "paused" | "budget_limited" | "complete";
622
+ token_budget: number | null;
623
+ tokens_used: number;
624
+ time_used_seconds: number;
625
+ iteration: number;
626
+ created_at: number;
627
+ updated_at: number;
628
+ } | null;
629
+ previous_goal: {
630
+ goal_id: string;
631
+ objective: string;
632
+ summary_title: string | null;
633
+ status: "active" | "paused" | "budget_limited" | "complete";
634
+ token_budget: number | null;
635
+ tokens_used: number;
636
+ time_used_seconds: number;
637
+ iteration: number;
638
+ created_at: number;
639
+ updated_at: number;
640
+ } | null;
641
+ } | {
642
+ id: string;
643
+ type: "session.goal_verification";
644
+ processed_at: string;
645
+ status: "started" | "completed" | "failed_closed" | "cancelled";
646
+ goal_id: string;
647
+ goal_iteration: number;
648
+ verification_id: string;
649
+ anchor_message_id: string | null;
650
+ verification?: {
651
+ passed: boolean;
652
+ reason: string;
653
+ next_action?: string;
654
+ };
655
+ } | {
656
+ id: string;
657
+ type: "user.steer";
658
+ event_id: string;
659
+ processed_at: string;
660
+ }>;
661
+ next_page: string | null;
662
+ }>;
663
+ send: (options: import("./core/transport.js").CallOptions<Types.SendAgentEventsData>) => Promise<{
664
+ data?: Array<{
665
+ id: string;
666
+ content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
667
+ type: "user.message";
668
+ processed_at?: null | string;
669
+ praxis_context?: {
670
+ items: Array<{
671
+ name: string;
672
+ value: string;
673
+ }>;
674
+ };
675
+ } | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged238 | Types.AgentManaged243 | Types.AgentManaged247 | {
676
+ id: string;
677
+ type: "user.steer";
678
+ event_id: string;
679
+ processed_at: string;
680
+ }>;
681
+ }>;
682
+ stream: (options: import("./core/transport.js").StreamOptions<Types.StreamAgentEventsData>) => AsyncIterable<Types.AgentSseEvent>;
683
+ };
684
+ inbox: {
685
+ letters: {
686
+ list: (options: import("./core/transport.js").CallOptions<Types.ListAgentInboxLettersData>) => Promise<{
687
+ unread: number;
688
+ letters: Array<{
689
+ id: string;
690
+ sender: string;
691
+ summary: string;
692
+ thread: string | null;
693
+ create_time: string;
694
+ }>;
695
+ }>;
696
+ };
697
+ };
468
698
  list: (options?: import("./core/transport.js").CallOptions<Types.AgentsListData> | undefined) => Promise<{
469
699
  data: Array<{
470
700
  id: string;
@@ -480,6 +710,7 @@ export declare function createAgent(transport: Transport): {
480
710
  speed?: "standard" | "fast";
481
711
  settings?: {
482
712
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
713
+ max_output_tokens?: number;
483
714
  };
484
715
  };
485
716
  multiagent?: null | Types.AgentManaged39;
@@ -504,18 +735,25 @@ export declare function createAgent(transport: Transport): {
504
735
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
505
736
  id: string;
506
737
  access: "read_only" | "read_write" | "invoke";
738
+ customer_access?: "read_only" | "read_write" | "invoke";
507
739
  instructions?: string;
508
740
  readonly verified?: boolean;
509
741
  enabled?: boolean;
510
742
  } | {
511
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
743
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
512
744
  readonly verified?: boolean;
513
745
  enabled?: boolean;
514
746
  }>;
515
- kind: "general" | "personal" | "service" | "assume";
747
+ kind: "general" | "service" | "assume";
748
+ computers?: {
749
+ default: string;
750
+ allowed: Array<{
751
+ template: string;
752
+ name: string;
753
+ }>;
754
+ };
516
755
  computer_id?: string;
517
756
  subagent_model?: string | null;
518
- image_model?: string | null;
519
757
  subagents?: Array<{
520
758
  name: string;
521
759
  description: string;
@@ -606,6 +844,7 @@ export declare function createAgent(transport: Transport): {
606
844
  allowManagedHooksOnly?: boolean;
607
845
  allowManagedMcpServersOnly?: boolean;
608
846
  allowManagedPermissionRulesOnly?: boolean;
847
+ idleCompaction?: boolean;
609
848
  autoMemoryEnabled?: boolean;
610
849
  disabled?: {
611
850
  subagents?: Array<string>;
@@ -614,7 +853,6 @@ export declare function createAgent(transport: Transport): {
614
853
  mcpServers?: Array<string>;
615
854
  hooks?: Array<string>;
616
855
  };
617
- idleCompaction?: boolean;
618
856
  outputStyle?: string;
619
857
  } | null;
620
858
  models?: {
@@ -622,6 +860,7 @@ export declare function createAgent(transport: Transport): {
622
860
  };
623
861
  avatar: string | null;
624
862
  creation_source: string | null;
863
+ managed_by: string | null;
625
864
  identity_number: string | null;
626
865
  environment_id?: string | null;
627
866
  vault_ids?: Array<string>;
@@ -635,6 +874,34 @@ export declare function createAgent(transport: Transport): {
635
874
  }>;
636
875
  next_page: string | null;
637
876
  }>;
877
+ phone: {
878
+ release: (options: import("./core/transport.js").CallOptions<Types.AgentsPhoneReleaseData>) => Promise<{
879
+ object: "agent_phone";
880
+ agent_id: string;
881
+ configured: boolean;
882
+ state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing" | "online" | "offline";
883
+ sku: string | null;
884
+ byod_device: string | null;
885
+ name: string | null;
886
+ sandbox_id: string | null;
887
+ lease_ends_at: string | null;
888
+ archived_at: string | null;
889
+ archive_error: string | null;
890
+ }>;
891
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.AgentsPhoneRetrieveData>) => Promise<{
892
+ object: "agent_phone";
893
+ agent_id: string;
894
+ configured: boolean;
895
+ state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing" | "online" | "offline";
896
+ sku: string | null;
897
+ byod_device: string | null;
898
+ name: string | null;
899
+ sandbox_id: string | null;
900
+ lease_ends_at: string | null;
901
+ archived_at: string | null;
902
+ archive_error: string | null;
903
+ }>;
904
+ };
638
905
  retrieve: (options: import("./core/transport.js").CallOptions<Types.AgentsRetrieveData>) => Promise<{
639
906
  id: string;
640
907
  archived_at: null | string;
@@ -649,6 +916,7 @@ export declare function createAgent(transport: Transport): {
649
916
  speed?: "standard" | "fast";
650
917
  settings?: {
651
918
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
919
+ max_output_tokens?: number;
652
920
  };
653
921
  };
654
922
  multiagent?: null | Types.AgentManaged39;
@@ -674,18 +942,25 @@ export declare function createAgent(transport: Transport): {
674
942
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
675
943
  id: string;
676
944
  access: "read_only" | "read_write" | "invoke";
945
+ customer_access?: "read_only" | "read_write" | "invoke";
677
946
  instructions?: string;
678
947
  readonly verified?: boolean;
679
948
  enabled?: boolean;
680
949
  } | {
681
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
950
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
682
951
  readonly verified?: boolean;
683
952
  enabled?: boolean;
684
953
  }>;
685
- kind: "general" | "personal" | "service" | "assume";
954
+ kind: "general" | "service" | "assume";
955
+ computers?: {
956
+ default: string;
957
+ allowed: Array<{
958
+ template: string;
959
+ name: string;
960
+ }>;
961
+ };
686
962
  computer_id?: string;
687
963
  subagent_model?: string | null;
688
- image_model?: string | null;
689
964
  subagents?: Array<{
690
965
  name: string;
691
966
  description: string;
@@ -776,6 +1051,7 @@ export declare function createAgent(transport: Transport): {
776
1051
  allowManagedHooksOnly?: boolean;
777
1052
  allowManagedMcpServersOnly?: boolean;
778
1053
  allowManagedPermissionRulesOnly?: boolean;
1054
+ idleCompaction?: boolean;
779
1055
  autoMemoryEnabled?: boolean;
780
1056
  disabled?: {
781
1057
  subagents?: Array<string>;
@@ -784,7 +1060,6 @@ export declare function createAgent(transport: Transport): {
784
1060
  mcpServers?: Array<string>;
785
1061
  hooks?: Array<string>;
786
1062
  };
787
- idleCompaction?: boolean;
788
1063
  outputStyle?: string;
789
1064
  } | null;
790
1065
  models?: {
@@ -792,6 +1067,7 @@ export declare function createAgent(transport: Transport): {
792
1067
  };
793
1068
  avatar: string | null;
794
1069
  creation_source: string | null;
1070
+ managed_by: string | null;
795
1071
  identity_number: string | null;
796
1072
  environment_id?: string | null;
797
1073
  vault_ids?: Array<string>;
@@ -860,6 +1136,25 @@ export declare function createAgent(transport: Transport): {
860
1136
  history?: {
861
1137
  enabled?: boolean;
862
1138
  };
1139
+ uploads?: {
1140
+ enabled: boolean;
1141
+ max_file_bytes: number;
1142
+ max_files_per_session: number;
1143
+ };
1144
+ }>;
1145
+ retrieveEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.GetAgentEmbedPolicyData>) => Promise<{
1146
+ allowed_origins: Array<string>;
1147
+ allow_localhost: boolean;
1148
+ uploads: {
1149
+ enabled: boolean;
1150
+ max_file_bytes: number;
1151
+ max_files_per_session: number;
1152
+ };
1153
+ share_links: {
1154
+ enabled: boolean;
1155
+ daily_session_cap: number | null;
1156
+ daily_spend_cap_micro_usd: number | null;
1157
+ };
863
1158
  }>;
864
1159
  unarchive: {
865
1160
  create: (options: import("./core/transport.js").CallOptions<Types.UnarchiveAgentData>) => Promise<{
@@ -913,6 +1208,7 @@ export declare function createAgent(transport: Transport): {
913
1208
  speed?: "standard" | "fast";
914
1209
  settings?: {
915
1210
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1211
+ max_output_tokens?: number;
916
1212
  };
917
1213
  };
918
1214
  multiagent?: null | {
@@ -1103,18 +1399,25 @@ export declare function createAgent(transport: Transport): {
1103
1399
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1104
1400
  id: string;
1105
1401
  access: "read_only" | "read_write" | "invoke";
1402
+ customer_access?: "read_only" | "read_write" | "invoke";
1106
1403
  instructions?: string;
1107
1404
  readonly verified?: boolean;
1108
1405
  enabled?: boolean;
1109
1406
  } | {
1110
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
1407
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1111
1408
  readonly verified?: boolean;
1112
1409
  enabled?: boolean;
1113
1410
  }>;
1114
- kind: "general" | "personal" | "service" | "assume";
1411
+ kind: "general" | "service" | "assume";
1412
+ computers?: {
1413
+ default: string;
1414
+ allowed: Array<{
1415
+ template: string;
1416
+ name: string;
1417
+ }>;
1418
+ };
1115
1419
  computer_id?: string;
1116
1420
  subagent_model?: string | null;
1117
- image_model?: string | null;
1118
1421
  subagents?: Array<{
1119
1422
  name: string;
1120
1423
  description: string;
@@ -1205,6 +1508,7 @@ export declare function createAgent(transport: Transport): {
1205
1508
  allowManagedHooksOnly?: boolean;
1206
1509
  allowManagedMcpServersOnly?: boolean;
1207
1510
  allowManagedPermissionRulesOnly?: boolean;
1511
+ idleCompaction?: boolean;
1208
1512
  autoMemoryEnabled?: boolean;
1209
1513
  disabled?: {
1210
1514
  subagents?: Array<string>;
@@ -1213,7 +1517,6 @@ export declare function createAgent(transport: Transport): {
1213
1517
  mcpServers?: Array<string>;
1214
1518
  hooks?: Array<string>;
1215
1519
  };
1216
- idleCompaction?: boolean;
1217
1520
  outputStyle?: string;
1218
1521
  } | null;
1219
1522
  models?: {
@@ -1221,6 +1524,7 @@ export declare function createAgent(transport: Transport): {
1221
1524
  };
1222
1525
  avatar: string | null;
1223
1526
  creation_source: string | null;
1527
+ managed_by: string | null;
1224
1528
  identity_number: string | null;
1225
1529
  environment_id?: string | null;
1226
1530
  vault_ids?: Array<string>;
@@ -1247,6 +1551,7 @@ export declare function createAgent(transport: Transport): {
1247
1551
  speed?: "standard" | "fast";
1248
1552
  settings?: {
1249
1553
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1554
+ max_output_tokens?: number;
1250
1555
  };
1251
1556
  };
1252
1557
  multiagent?: null | Types.AgentManaged39;
@@ -1272,18 +1577,25 @@ export declare function createAgent(transport: Transport): {
1272
1577
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1273
1578
  id: string;
1274
1579
  access: "read_only" | "read_write" | "invoke";
1580
+ customer_access?: "read_only" | "read_write" | "invoke";
1275
1581
  instructions?: string;
1276
1582
  readonly verified?: boolean;
1277
1583
  enabled?: boolean;
1278
1584
  } | {
1279
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
1585
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1280
1586
  readonly verified?: boolean;
1281
1587
  enabled?: boolean;
1282
1588
  }>;
1283
- kind: "general" | "personal" | "service" | "assume";
1589
+ kind: "general" | "service" | "assume";
1590
+ computers?: {
1591
+ default: string;
1592
+ allowed: Array<{
1593
+ template: string;
1594
+ name: string;
1595
+ }>;
1596
+ };
1284
1597
  computer_id?: string;
1285
1598
  subagent_model?: string | null;
1286
- image_model?: string | null;
1287
1599
  subagents?: Array<{
1288
1600
  name: string;
1289
1601
  description: string;
@@ -1374,6 +1686,7 @@ export declare function createAgent(transport: Transport): {
1374
1686
  allowManagedHooksOnly?: boolean;
1375
1687
  allowManagedMcpServersOnly?: boolean;
1376
1688
  allowManagedPermissionRulesOnly?: boolean;
1689
+ idleCompaction?: boolean;
1377
1690
  autoMemoryEnabled?: boolean;
1378
1691
  disabled?: {
1379
1692
  subagents?: Array<string>;
@@ -1382,7 +1695,6 @@ export declare function createAgent(transport: Transport): {
1382
1695
  mcpServers?: Array<string>;
1383
1696
  hooks?: Array<string>;
1384
1697
  };
1385
- idleCompaction?: boolean;
1386
1698
  outputStyle?: string;
1387
1699
  } | null;
1388
1700
  models?: {
@@ -1390,6 +1702,7 @@ export declare function createAgent(transport: Transport): {
1390
1702
  };
1391
1703
  avatar: string | null;
1392
1704
  creation_source: string | null;
1705
+ managed_by: string | null;
1393
1706
  identity_number: string | null;
1394
1707
  environment_id?: string | null;
1395
1708
  vault_ids?: Array<string>;
@@ -1401,28 +1714,245 @@ export declare function createAgent(transport: Transport): {
1401
1714
  keep_coding_instructions?: boolean;
1402
1715
  }> | null;
1403
1716
  }>;
1717
+ updateEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.UpdateAgentEmbedPolicyData>) => Promise<{
1718
+ allowed_origins: Array<string>;
1719
+ allow_localhost: boolean;
1720
+ uploads: {
1721
+ enabled: boolean;
1722
+ max_file_bytes: number;
1723
+ max_files_per_session: number;
1724
+ };
1725
+ share_links: {
1726
+ enabled: boolean;
1727
+ daily_session_cap: number | null;
1728
+ daily_spend_cap_micro_usd: number | null;
1729
+ };
1730
+ }>;
1404
1731
  versions: {
1405
1732
  apply: (options: import("./core/transport.js").CallOptions<Types.ApplyAgentVersionData>) => Promise<{
1406
1733
  id: string;
1407
1734
  archived_at: null | string;
1408
1735
  created_at: string;
1409
1736
  description: null | string;
1410
- mcp_servers: Array<Types.AgentManaged36>;
1411
- metadata: Types.AgentManaged37;
1737
+ mcp_servers: Array<{
1738
+ type: "url";
1739
+ name: string;
1740
+ url: string;
1741
+ headers?: {
1742
+ [key: string]: string;
1743
+ };
1744
+ timeout_ms?: number;
1745
+ } | {
1746
+ type: "sse";
1747
+ name: string;
1748
+ url: string;
1749
+ headers?: {
1750
+ [key: string]: string;
1751
+ };
1752
+ timeout_ms?: number;
1753
+ } | {
1754
+ type: "stdio";
1755
+ name: string;
1756
+ command: string;
1757
+ args?: Array<string>;
1758
+ env?: {
1759
+ [key: string]: string;
1760
+ };
1761
+ timeout_ms?: number;
1762
+ }>;
1763
+ metadata: {
1764
+ [key: string]: string;
1765
+ };
1412
1766
  model?: {
1413
1767
  id: string;
1414
- effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
1768
+ effort?: {
1769
+ type: "low";
1770
+ } | {
1771
+ type: "medium";
1772
+ } | {
1773
+ type: "high";
1774
+ } | {
1775
+ type: "xhigh";
1776
+ } | {
1777
+ type: "max";
1778
+ };
1415
1779
  inference_geo?: string;
1416
1780
  speed?: "standard" | "fast";
1417
1781
  settings?: {
1418
1782
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1783
+ max_output_tokens?: number;
1784
+ };
1785
+ };
1786
+ multiagent?: null | {
1787
+ agents: Array<{
1788
+ id: string;
1789
+ type: "agent";
1790
+ version: number;
1791
+ } | {
1792
+ model: string;
1793
+ type: "advisor";
1794
+ }>;
1795
+ type: "coordinator";
1796
+ };
1797
+ name: string;
1798
+ skills: Array<{
1799
+ skill_id: string;
1800
+ type: "anthropic";
1801
+ version: string;
1802
+ } | {
1803
+ skill_id: string;
1804
+ type: "custom";
1805
+ version: string;
1806
+ }>;
1807
+ system: null | string;
1808
+ tools: Array<{
1809
+ configs: Array<{
1810
+ enabled: boolean;
1811
+ name: "bash";
1812
+ permission_policy: {
1813
+ type: "always_allow";
1814
+ } | {
1815
+ type: "always_ask";
1816
+ } | {
1817
+ type: "auto";
1818
+ };
1819
+ type: "bash";
1820
+ } | {
1821
+ enabled: boolean;
1822
+ name: "edit";
1823
+ permission_policy: {
1824
+ type: "always_allow";
1825
+ } | {
1826
+ type: "always_ask";
1827
+ } | {
1828
+ type: "auto";
1829
+ };
1830
+ type: "edit";
1831
+ } | {
1832
+ enabled: boolean;
1833
+ name: "read";
1834
+ permission_policy: {
1835
+ type: "always_allow";
1836
+ } | {
1837
+ type: "always_ask";
1838
+ } | {
1839
+ type: "auto";
1840
+ };
1841
+ type: "read";
1842
+ } | {
1843
+ enabled: boolean;
1844
+ name: "write";
1845
+ permission_policy: {
1846
+ type: "always_allow";
1847
+ } | {
1848
+ type: "always_ask";
1849
+ } | {
1850
+ type: "auto";
1851
+ };
1852
+ type: "write";
1853
+ } | {
1854
+ enabled: boolean;
1855
+ name: "glob";
1856
+ permission_policy: {
1857
+ type: "always_allow";
1858
+ } | {
1859
+ type: "always_ask";
1860
+ } | {
1861
+ type: "auto";
1862
+ };
1863
+ type: "glob";
1864
+ } | {
1865
+ enabled: boolean;
1866
+ name: "grep";
1867
+ permission_policy: {
1868
+ type: "always_allow";
1869
+ } | {
1870
+ type: "always_ask";
1871
+ } | {
1872
+ type: "auto";
1873
+ };
1874
+ type: "grep";
1875
+ } | {
1876
+ enabled: boolean;
1877
+ name: "web_fetch";
1878
+ permission_policy: {
1879
+ type: "always_allow";
1880
+ } | {
1881
+ type: "always_ask";
1882
+ } | {
1883
+ type: "auto";
1884
+ };
1885
+ type: "web_fetch";
1886
+ allowed_domains?: Array<string>;
1887
+ blocked_domains?: Array<string>;
1888
+ max_content_tokens?: null | number;
1889
+ } | {
1890
+ enabled: boolean;
1891
+ name: "web_search";
1892
+ permission_policy: {
1893
+ type: "always_allow";
1894
+ } | {
1895
+ type: "always_ask";
1896
+ } | {
1897
+ type: "auto";
1898
+ };
1899
+ type: "web_search";
1900
+ allowed_domains?: Array<string>;
1901
+ blocked_domains?: Array<string>;
1902
+ user_location?: null | {
1903
+ type: "approximate";
1904
+ city?: null | string;
1905
+ country?: null | string;
1906
+ region?: null | string;
1907
+ timezone?: null | string;
1908
+ };
1909
+ } | {
1910
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
1911
+ enabled: boolean;
1912
+ permission_policy: {
1913
+ type: "always_allow" | "always_ask";
1914
+ };
1915
+ }>;
1916
+ default_config: {
1917
+ enabled: boolean;
1918
+ permission_policy: {
1919
+ type: "always_allow";
1920
+ } | {
1921
+ type: "always_ask";
1922
+ } | {
1923
+ type: "auto";
1924
+ };
1419
1925
  };
1420
- };
1421
- multiagent?: null | Types.AgentManaged39;
1422
- name: string;
1423
- skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
1424
- system: null | string;
1425
- tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
1926
+ type: "agent_toolset_20260401";
1927
+ } | {
1928
+ type: "mcp_toolset";
1929
+ mcp_server_name: string;
1930
+ default_config?: {
1931
+ enabled?: boolean | null;
1932
+ permission_policy?: null | {
1933
+ type: "always_allow" | "always_ask";
1934
+ };
1935
+ } | null;
1936
+ configs?: Array<{
1937
+ name: string;
1938
+ enabled?: boolean | null;
1939
+ permission_policy?: null | {
1940
+ type: "always_allow" | "always_ask";
1941
+ };
1942
+ }> | null;
1943
+ } | {
1944
+ description: string;
1945
+ input_schema: {
1946
+ type: "object";
1947
+ properties?: null | {
1948
+ [key: string]: unknown;
1949
+ };
1950
+ required?: null | Array<string>;
1951
+ [key: string]: unknown;
1952
+ };
1953
+ name: string;
1954
+ type: "custom";
1955
+ }>;
1426
1956
  type: "agent";
1427
1957
  updated_at: string;
1428
1958
  version: number;
@@ -1441,18 +1971,25 @@ export declare function createAgent(transport: Transport): {
1441
1971
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1442
1972
  id: string;
1443
1973
  access: "read_only" | "read_write" | "invoke";
1974
+ customer_access?: "read_only" | "read_write" | "invoke";
1444
1975
  instructions?: string;
1445
1976
  readonly verified?: boolean;
1446
1977
  enabled?: boolean;
1447
1978
  } | {
1448
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
1979
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1449
1980
  readonly verified?: boolean;
1450
1981
  enabled?: boolean;
1451
1982
  }>;
1452
- kind: "general" | "personal" | "service" | "assume";
1983
+ kind: "general" | "service" | "assume";
1984
+ computers?: {
1985
+ default: string;
1986
+ allowed: Array<{
1987
+ template: string;
1988
+ name: string;
1989
+ }>;
1990
+ };
1453
1991
  computer_id?: string;
1454
1992
  subagent_model?: string | null;
1455
- image_model?: string | null;
1456
1993
  subagents?: Array<{
1457
1994
  name: string;
1458
1995
  description: string;
@@ -1543,6 +2080,7 @@ export declare function createAgent(transport: Transport): {
1543
2080
  allowManagedHooksOnly?: boolean;
1544
2081
  allowManagedMcpServersOnly?: boolean;
1545
2082
  allowManagedPermissionRulesOnly?: boolean;
2083
+ idleCompaction?: boolean;
1546
2084
  autoMemoryEnabled?: boolean;
1547
2085
  disabled?: {
1548
2086
  subagents?: Array<string>;
@@ -1551,7 +2089,6 @@ export declare function createAgent(transport: Transport): {
1551
2089
  mcpServers?: Array<string>;
1552
2090
  hooks?: Array<string>;
1553
2091
  };
1554
- idleCompaction?: boolean;
1555
2092
  outputStyle?: string;
1556
2093
  } | null;
1557
2094
  models?: {
@@ -1559,6 +2096,7 @@ export declare function createAgent(transport: Transport): {
1559
2096
  };
1560
2097
  avatar: string | null;
1561
2098
  creation_source: string | null;
2099
+ managed_by: string | null;
1562
2100
  identity_number: string | null;
1563
2101
  environment_id?: string | null;
1564
2102
  vault_ids?: Array<string>;
@@ -1585,6 +2123,7 @@ export declare function createAgent(transport: Transport): {
1585
2123
  speed?: "standard" | "fast";
1586
2124
  settings?: {
1587
2125
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2126
+ max_output_tokens?: number;
1588
2127
  };
1589
2128
  };
1590
2129
  multiagent?: null | Types.AgentManaged39;
@@ -1610,18 +2149,25 @@ export declare function createAgent(transport: Transport): {
1610
2149
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1611
2150
  id: string;
1612
2151
  access: "read_only" | "read_write" | "invoke";
2152
+ customer_access?: "read_only" | "read_write" | "invoke";
1613
2153
  instructions?: string;
1614
2154
  readonly verified?: boolean;
1615
2155
  enabled?: boolean;
1616
2156
  } | {
1617
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
2157
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1618
2158
  readonly verified?: boolean;
1619
2159
  enabled?: boolean;
1620
2160
  }>;
1621
- kind: "general" | "personal" | "service" | "assume";
2161
+ kind: "general" | "service" | "assume";
2162
+ computers?: {
2163
+ default: string;
2164
+ allowed: Array<{
2165
+ template: string;
2166
+ name: string;
2167
+ }>;
2168
+ };
1622
2169
  computer_id?: string;
1623
2170
  subagent_model?: string | null;
1624
- image_model?: string | null;
1625
2171
  subagents?: Array<{
1626
2172
  name: string;
1627
2173
  description: string;
@@ -1712,6 +2258,7 @@ export declare function createAgent(transport: Transport): {
1712
2258
  allowManagedHooksOnly?: boolean;
1713
2259
  allowManagedMcpServersOnly?: boolean;
1714
2260
  allowManagedPermissionRulesOnly?: boolean;
2261
+ idleCompaction?: boolean;
1715
2262
  autoMemoryEnabled?: boolean;
1716
2263
  disabled?: {
1717
2264
  subagents?: Array<string>;
@@ -1720,7 +2267,6 @@ export declare function createAgent(transport: Transport): {
1720
2267
  mcpServers?: Array<string>;
1721
2268
  hooks?: Array<string>;
1722
2269
  };
1723
- idleCompaction?: boolean;
1724
2270
  outputStyle?: string;
1725
2271
  } | null;
1726
2272
  models?: {
@@ -1728,6 +2274,7 @@ export declare function createAgent(transport: Transport): {
1728
2274
  };
1729
2275
  avatar: string | null;
1730
2276
  creation_source: string | null;
2277
+ managed_by: string | null;
1731
2278
  identity_number: string | null;
1732
2279
  environment_id?: string | null;
1733
2280
  vault_ids?: Array<string>;
@@ -1795,16 +2342,9 @@ export declare function createAgent(transport: Transport): {
1795
2342
  files: {
1796
2343
  convert: {
1797
2344
  create: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesConvertData>) => Promise<{
1798
- type: "computer";
1799
- id: string;
1800
- name: string;
1801
- sandbox_id: string | null;
1802
- machine_state: "not_started" | "provisioned";
1803
- environment_id: string | null;
1804
- status: "active" | "archived";
1805
- created_at: string;
1806
- updated_at: string;
1807
- archived_at: string | null;
2345
+ data: string;
2346
+ mime: "application/pdf";
2347
+ cached: boolean;
1808
2348
  }>;
1809
2349
  };
1810
2350
  list: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesListData>) => Promise<{
@@ -1822,6 +2362,24 @@ export declare function createAgent(transport: Transport): {
1822
2362
  tier: "light" | "heavy";
1823
2363
  }>;
1824
2364
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesContentData>) => Promise<Blob | File>;
2365
+ retrievePreview: (options: import("./core/transport.js").CallOptions<Types.PreviewComputerFileData>) => Promise<{
2366
+ variant: "image" | "pdf" | "text" | "original";
2367
+ version?: string;
2368
+ mime_type?: string;
2369
+ size?: number;
2370
+ file_id?: string;
2371
+ url?: string;
2372
+ expires_at?: string;
2373
+ cached: boolean;
2374
+ fallback?: "content";
2375
+ skipped?: boolean;
2376
+ }>;
2377
+ updateContent: (options: import("./core/transport.js").CallOptions<Types.UpdateComputerFileContentData>) => Promise<{
2378
+ path: string;
2379
+ size: number;
2380
+ mtime: string | null;
2381
+ version: string;
2382
+ }>;
1825
2383
  };
1826
2384
  leases: {
1827
2385
  delete: (options: import("./core/transport.js").CallOptions<Types.ReleaseComputerLeaseData>) => Promise<{
@@ -2168,6 +2726,543 @@ export declare function createAgent(transport: Transport): {
2168
2726
  update: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsUpdateData>) => Promise<Types.AgentManaged138>;
2169
2727
  };
2170
2728
  sessions: {
2729
+ agentVersion: {
2730
+ create: (options: import("./core/transport.js").CallOptions<Types.UpdateSessionAgentVersionData>) => Promise<{
2731
+ id: string;
2732
+ agent: {
2733
+ id: string;
2734
+ description: null | string;
2735
+ mcp_servers: Array<{
2736
+ type: "url";
2737
+ name: string;
2738
+ url: string;
2739
+ headers?: {
2740
+ [key: string]: string;
2741
+ };
2742
+ timeout_ms?: number;
2743
+ } | {
2744
+ type: "sse";
2745
+ name: string;
2746
+ url: string;
2747
+ headers?: {
2748
+ [key: string]: string;
2749
+ };
2750
+ timeout_ms?: number;
2751
+ } | {
2752
+ type: "stdio";
2753
+ name: string;
2754
+ command: string;
2755
+ args?: Array<string>;
2756
+ env?: {
2757
+ [key: string]: string;
2758
+ };
2759
+ timeout_ms?: number;
2760
+ }>;
2761
+ model: {
2762
+ id: string;
2763
+ effort?: {
2764
+ type: "low";
2765
+ } | {
2766
+ type: "medium";
2767
+ } | {
2768
+ type: "high";
2769
+ } | {
2770
+ type: "xhigh";
2771
+ } | {
2772
+ type: "max";
2773
+ };
2774
+ inference_geo?: string;
2775
+ speed?: "standard" | "fast";
2776
+ settings?: {
2777
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2778
+ max_output_tokens?: number;
2779
+ };
2780
+ };
2781
+ multiagent: null | {
2782
+ agents: Array<{
2783
+ model: string;
2784
+ type: "advisor";
2785
+ } | {
2786
+ id: string;
2787
+ description: null | string;
2788
+ mcp_servers: Array<{
2789
+ type: "url";
2790
+ name: string;
2791
+ url: string;
2792
+ headers?: {
2793
+ [key: string]: string;
2794
+ };
2795
+ timeout_ms?: number;
2796
+ } | {
2797
+ type: "sse";
2798
+ name: string;
2799
+ url: string;
2800
+ headers?: {
2801
+ [key: string]: string;
2802
+ };
2803
+ timeout_ms?: number;
2804
+ } | {
2805
+ type: "stdio";
2806
+ name: string;
2807
+ command: string;
2808
+ args?: Array<string>;
2809
+ env?: {
2810
+ [key: string]: string;
2811
+ };
2812
+ timeout_ms?: number;
2813
+ }>;
2814
+ model: {
2815
+ id: string;
2816
+ effort?: {
2817
+ type: "low";
2818
+ } | {
2819
+ type: "medium";
2820
+ } | {
2821
+ type: "high";
2822
+ } | {
2823
+ type: "xhigh";
2824
+ } | {
2825
+ type: "max";
2826
+ };
2827
+ inference_geo?: string;
2828
+ speed?: "standard" | "fast";
2829
+ };
2830
+ name: string;
2831
+ skills: Array<{
2832
+ skill_id: string;
2833
+ type: "anthropic";
2834
+ version: string;
2835
+ } | {
2836
+ skill_id: string;
2837
+ type: "custom";
2838
+ version: string;
2839
+ }>;
2840
+ system: null | string;
2841
+ tools: Array<{
2842
+ configs: Array<{
2843
+ enabled: boolean;
2844
+ name: "bash";
2845
+ permission_policy: {
2846
+ type: "always_allow";
2847
+ } | {
2848
+ type: "always_ask";
2849
+ } | {
2850
+ type: "auto";
2851
+ };
2852
+ type: "bash";
2853
+ } | {
2854
+ enabled: boolean;
2855
+ name: "edit";
2856
+ permission_policy: {
2857
+ type: "always_allow";
2858
+ } | {
2859
+ type: "always_ask";
2860
+ } | {
2861
+ type: "auto";
2862
+ };
2863
+ type: "edit";
2864
+ } | {
2865
+ enabled: boolean;
2866
+ name: "read";
2867
+ permission_policy: {
2868
+ type: "always_allow";
2869
+ } | {
2870
+ type: "always_ask";
2871
+ } | {
2872
+ type: "auto";
2873
+ };
2874
+ type: "read";
2875
+ } | {
2876
+ enabled: boolean;
2877
+ name: "write";
2878
+ permission_policy: {
2879
+ type: "always_allow";
2880
+ } | {
2881
+ type: "always_ask";
2882
+ } | {
2883
+ type: "auto";
2884
+ };
2885
+ type: "write";
2886
+ } | {
2887
+ enabled: boolean;
2888
+ name: "glob";
2889
+ permission_policy: {
2890
+ type: "always_allow";
2891
+ } | {
2892
+ type: "always_ask";
2893
+ } | {
2894
+ type: "auto";
2895
+ };
2896
+ type: "glob";
2897
+ } | {
2898
+ enabled: boolean;
2899
+ name: "grep";
2900
+ permission_policy: {
2901
+ type: "always_allow";
2902
+ } | {
2903
+ type: "always_ask";
2904
+ } | {
2905
+ type: "auto";
2906
+ };
2907
+ type: "grep";
2908
+ } | {
2909
+ enabled: boolean;
2910
+ name: "web_fetch";
2911
+ permission_policy: {
2912
+ type: "always_allow";
2913
+ } | {
2914
+ type: "always_ask";
2915
+ } | {
2916
+ type: "auto";
2917
+ };
2918
+ type: "web_fetch";
2919
+ allowed_domains?: Array<string>;
2920
+ blocked_domains?: Array<string>;
2921
+ max_content_tokens?: null | number;
2922
+ } | {
2923
+ enabled: boolean;
2924
+ name: "web_search";
2925
+ permission_policy: {
2926
+ type: "always_allow";
2927
+ } | {
2928
+ type: "always_ask";
2929
+ } | {
2930
+ type: "auto";
2931
+ };
2932
+ type: "web_search";
2933
+ allowed_domains?: Array<string>;
2934
+ blocked_domains?: Array<string>;
2935
+ user_location?: null | {
2936
+ type: "approximate";
2937
+ city?: null | string;
2938
+ country?: null | string;
2939
+ region?: null | string;
2940
+ timezone?: null | string;
2941
+ };
2942
+ } | {
2943
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
2944
+ enabled: boolean;
2945
+ permission_policy: {
2946
+ type: "always_allow" | "always_ask";
2947
+ };
2948
+ }>;
2949
+ default_config: {
2950
+ enabled: boolean;
2951
+ permission_policy: {
2952
+ type: "always_allow";
2953
+ } | {
2954
+ type: "always_ask";
2955
+ } | {
2956
+ type: "auto";
2957
+ };
2958
+ };
2959
+ type: "agent_toolset_20260401";
2960
+ } | {
2961
+ type: "mcp_toolset";
2962
+ mcp_server_name: string;
2963
+ default_config?: {
2964
+ enabled?: boolean | null;
2965
+ permission_policy?: null | {
2966
+ type: "always_allow" | "always_ask";
2967
+ };
2968
+ } | null;
2969
+ configs?: Array<{
2970
+ name: string;
2971
+ enabled?: boolean | null;
2972
+ permission_policy?: null | {
2973
+ type: "always_allow" | "always_ask";
2974
+ };
2975
+ }> | null;
2976
+ } | {
2977
+ description: string;
2978
+ input_schema: {
2979
+ type: "object";
2980
+ properties?: null | {
2981
+ [key: string]: unknown;
2982
+ };
2983
+ required?: null | Array<string>;
2984
+ [key: string]: unknown;
2985
+ };
2986
+ name: string;
2987
+ type: "custom";
2988
+ }>;
2989
+ type: "agent";
2990
+ version: number;
2991
+ }>;
2992
+ type: "coordinator";
2993
+ };
2994
+ name: string;
2995
+ skills: Array<{
2996
+ skill_id: string;
2997
+ type: "anthropic";
2998
+ version: string;
2999
+ } | {
3000
+ skill_id: string;
3001
+ type: "custom";
3002
+ version: string;
3003
+ }>;
3004
+ system: null | string;
3005
+ tools: Array<{
3006
+ configs: Array<{
3007
+ enabled: boolean;
3008
+ name: "bash";
3009
+ permission_policy: {
3010
+ type: "always_allow";
3011
+ } | {
3012
+ type: "always_ask";
3013
+ } | {
3014
+ type: "auto";
3015
+ };
3016
+ type: "bash";
3017
+ } | {
3018
+ enabled: boolean;
3019
+ name: "edit";
3020
+ permission_policy: {
3021
+ type: "always_allow";
3022
+ } | {
3023
+ type: "always_ask";
3024
+ } | {
3025
+ type: "auto";
3026
+ };
3027
+ type: "edit";
3028
+ } | {
3029
+ enabled: boolean;
3030
+ name: "read";
3031
+ permission_policy: {
3032
+ type: "always_allow";
3033
+ } | {
3034
+ type: "always_ask";
3035
+ } | {
3036
+ type: "auto";
3037
+ };
3038
+ type: "read";
3039
+ } | {
3040
+ enabled: boolean;
3041
+ name: "write";
3042
+ permission_policy: {
3043
+ type: "always_allow";
3044
+ } | {
3045
+ type: "always_ask";
3046
+ } | {
3047
+ type: "auto";
3048
+ };
3049
+ type: "write";
3050
+ } | {
3051
+ enabled: boolean;
3052
+ name: "glob";
3053
+ permission_policy: {
3054
+ type: "always_allow";
3055
+ } | {
3056
+ type: "always_ask";
3057
+ } | {
3058
+ type: "auto";
3059
+ };
3060
+ type: "glob";
3061
+ } | {
3062
+ enabled: boolean;
3063
+ name: "grep";
3064
+ permission_policy: {
3065
+ type: "always_allow";
3066
+ } | {
3067
+ type: "always_ask";
3068
+ } | {
3069
+ type: "auto";
3070
+ };
3071
+ type: "grep";
3072
+ } | {
3073
+ enabled: boolean;
3074
+ name: "web_fetch";
3075
+ permission_policy: {
3076
+ type: "always_allow";
3077
+ } | {
3078
+ type: "always_ask";
3079
+ } | {
3080
+ type: "auto";
3081
+ };
3082
+ type: "web_fetch";
3083
+ allowed_domains?: Array<string>;
3084
+ blocked_domains?: Array<string>;
3085
+ max_content_tokens?: null | number;
3086
+ } | {
3087
+ enabled: boolean;
3088
+ name: "web_search";
3089
+ permission_policy: {
3090
+ type: "always_allow";
3091
+ } | {
3092
+ type: "always_ask";
3093
+ } | {
3094
+ type: "auto";
3095
+ };
3096
+ type: "web_search";
3097
+ allowed_domains?: Array<string>;
3098
+ blocked_domains?: Array<string>;
3099
+ user_location?: null | {
3100
+ type: "approximate";
3101
+ city?: null | string;
3102
+ country?: null | string;
3103
+ region?: null | string;
3104
+ timezone?: null | string;
3105
+ };
3106
+ } | {
3107
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
3108
+ enabled: boolean;
3109
+ permission_policy: {
3110
+ type: "always_allow" | "always_ask";
3111
+ };
3112
+ }>;
3113
+ default_config: {
3114
+ enabled: boolean;
3115
+ permission_policy: {
3116
+ type: "always_allow";
3117
+ } | {
3118
+ type: "always_ask";
3119
+ } | {
3120
+ type: "auto";
3121
+ };
3122
+ };
3123
+ type: "agent_toolset_20260401";
3124
+ } | {
3125
+ type: "mcp_toolset";
3126
+ mcp_server_name: string;
3127
+ default_config?: {
3128
+ enabled?: boolean | null;
3129
+ permission_policy?: null | {
3130
+ type: "always_allow" | "always_ask";
3131
+ };
3132
+ } | null;
3133
+ configs?: Array<{
3134
+ name: string;
3135
+ enabled?: boolean | null;
3136
+ permission_policy?: null | {
3137
+ type: "always_allow" | "always_ask";
3138
+ };
3139
+ }> | null;
3140
+ } | {
3141
+ description: string;
3142
+ input_schema: {
3143
+ type: "object";
3144
+ properties?: null | {
3145
+ [key: string]: unknown;
3146
+ };
3147
+ required?: null | Array<string>;
3148
+ [key: string]: unknown;
3149
+ };
3150
+ name: string;
3151
+ type: "custom";
3152
+ }>;
3153
+ type: "agent";
3154
+ version: number;
3155
+ };
3156
+ archived_at: null | string;
3157
+ budget: null | {
3158
+ max_list_cost: {
3159
+ amount: string;
3160
+ currency: "USD";
3161
+ };
3162
+ type: "limit";
3163
+ };
3164
+ created_at: string;
3165
+ environment_id?: string;
3166
+ metadata: {
3167
+ [key: string]: string;
3168
+ };
3169
+ outcome_evaluations: Array<{
3170
+ completed_at: null | string;
3171
+ description: string;
3172
+ explanation: null | string;
3173
+ iteration: number;
3174
+ outcome_id: string;
3175
+ result: string;
3176
+ type: "outcome_evaluation";
3177
+ }>;
3178
+ resources: Array<{
3179
+ id: string;
3180
+ created_at: string;
3181
+ mount_path: string;
3182
+ type: "github_repository";
3183
+ updated_at: string;
3184
+ url: string;
3185
+ checkout?: null | {
3186
+ name: string;
3187
+ type: "branch";
3188
+ } | {
3189
+ sha: string;
3190
+ type: "commit";
3191
+ };
3192
+ } | {
3193
+ id: string;
3194
+ created_at: string;
3195
+ file_id: string;
3196
+ mount_path: string;
3197
+ type: "file";
3198
+ updated_at: string;
3199
+ } | {
3200
+ memory_store_id: string;
3201
+ type: "memory_store";
3202
+ access?: null | "read_write" | "read_only";
3203
+ description?: string;
3204
+ instructions?: null | string;
3205
+ mount_path?: null | string;
3206
+ name?: null | string;
3207
+ }>;
3208
+ stats: {
3209
+ active_seconds?: number;
3210
+ duration_seconds?: number;
3211
+ };
3212
+ status: "rescheduling" | "running" | "idle" | "terminated";
3213
+ title: null | string;
3214
+ type: "session";
3215
+ updated_at: string;
3216
+ usage: {
3217
+ active_seconds?: number;
3218
+ cache_creation?: {
3219
+ ephemeral_1h_input_tokens?: number;
3220
+ ephemeral_5m_input_tokens?: number;
3221
+ };
3222
+ cache_read_input_tokens?: number;
3223
+ input_tokens?: number;
3224
+ list_cost?: null | {
3225
+ amount: string;
3226
+ currency: "USD";
3227
+ };
3228
+ output_tokens?: number;
3229
+ server_tool_use?: null | {
3230
+ web_fetch_requests?: number;
3231
+ web_search_requests?: number;
3232
+ };
3233
+ cost_by_product?: {
3234
+ [key: string]: string;
3235
+ };
3236
+ subagent_cost_micro_usd?: number;
3237
+ };
3238
+ vault_ids: Array<string>;
3239
+ deployment_id?: null | string;
3240
+ cwd: string;
3241
+ workspace?: {
3242
+ kind: "shared" | "isolated";
3243
+ path?: string;
3244
+ branch?: string;
3245
+ };
3246
+ computer_id?: string;
3247
+ model?: {
3248
+ id: string;
3249
+ thinking: {
3250
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
3251
+ can_disable: boolean;
3252
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
3253
+ } | null;
3254
+ };
3255
+ thinking?: {
3256
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3257
+ } | null;
3258
+ forked_from?: {
3259
+ session_id: string;
3260
+ message_id: string;
3261
+ } | null;
3262
+ readonly external_user_id: string | null;
3263
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
3264
+ }>;
3265
+ };
2171
3266
  archive: (options: import("./core/transport.js").CallOptions<Types.SessionsArchiveData>) => Promise<{
2172
3267
  id: string;
2173
3268
  agent: {
@@ -2181,6 +3276,7 @@ export declare function createAgent(transport: Transport): {
2181
3276
  speed?: "standard" | "fast";
2182
3277
  settings?: {
2183
3278
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3279
+ max_output_tokens?: number;
2184
3280
  };
2185
3281
  };
2186
3282
  multiagent: null | Types.AgentManaged171;
@@ -2207,6 +3303,11 @@ export declare function createAgent(transport: Transport): {
2207
3303
  vault_ids: Array<string>;
2208
3304
  deployment_id?: null | string;
2209
3305
  cwd: string;
3306
+ workspace?: {
3307
+ kind: "shared" | "isolated";
3308
+ path?: string;
3309
+ branch?: string;
3310
+ };
2210
3311
  computer_id?: string;
2211
3312
  model?: {
2212
3313
  id: string;
@@ -2226,6 +3327,40 @@ export declare function createAgent(transport: Transport): {
2226
3327
  readonly external_user_id: string | null;
2227
3328
  readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
2228
3329
  }>;
3330
+ artifacts: {
3331
+ contentUrl: {
3332
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateSessionArtifactContentUrlData>) => Promise<{
3333
+ url: string;
3334
+ expire_time: string;
3335
+ }>;
3336
+ };
3337
+ list: (options: import("./core/transport.js").CallOptions<Types.ListSessionArtifactsData>) => Promise<{
3338
+ data: Array<{
3339
+ object: "artifact";
3340
+ id: string;
3341
+ session_id: string;
3342
+ run_id: string | null;
3343
+ name: string;
3344
+ version: number;
3345
+ parts: Array<{
3346
+ kind: "file";
3347
+ file_id: string;
3348
+ filename: string;
3349
+ mime_type: string;
3350
+ bytes: number;
3351
+ } | {
3352
+ kind: "object";
3353
+ object_type: "canvas" | "media_asset";
3354
+ object_id: string;
3355
+ href: string;
3356
+ title: string | null;
3357
+ }>;
3358
+ source_hrefs: Array<string>;
3359
+ create_time: string;
3360
+ update_time: string;
3361
+ }>;
3362
+ }>;
3363
+ };
2229
3364
  backgroundTasks: {
2230
3365
  list: (options: import("./core/transport.js").CallOptions<Types.ListSessionBackgroundTasksData>) => Promise<{
2231
3366
  data: Array<{
@@ -2308,6 +3443,7 @@ export declare function createAgent(transport: Transport): {
2308
3443
  speed?: "standard" | "fast";
2309
3444
  settings?: {
2310
3445
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3446
+ max_output_tokens?: number;
2311
3447
  };
2312
3448
  };
2313
3449
  multiagent: null | Types.AgentManaged171;
@@ -2334,6 +3470,11 @@ export declare function createAgent(transport: Transport): {
2334
3470
  vault_ids: Array<string>;
2335
3471
  deployment_id?: null | string;
2336
3472
  cwd: string;
3473
+ workspace?: {
3474
+ kind: "shared" | "isolated";
3475
+ path?: string;
3476
+ branch?: string;
3477
+ };
2337
3478
  computer_id?: string;
2338
3479
  model?: {
2339
3480
  id: string;
@@ -2394,7 +3535,6 @@ export declare function createAgent(transport: Transport): {
2394
3535
  run_id: string | null;
2395
3536
  message_id?: string;
2396
3537
  } | {
2397
- full_access_available?: boolean;
2398
3538
  id: string;
2399
3539
  input: Types.AgentManaged197;
2400
3540
  mcp_server_name: string;
@@ -2404,6 +3544,18 @@ export declare function createAgent(transport: Transport): {
2404
3544
  evaluated_permission?: "allow" | "deny" | "ask";
2405
3545
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2406
3546
  session_thread_id?: null | string;
3547
+ permission_suggestions?: Array<{
3548
+ type: "add_rules";
3549
+ behavior: "allow";
3550
+ destination: "agent" | "session";
3551
+ rules: Array<{
3552
+ tool_name: string;
3553
+ rule_content: string;
3554
+ }>;
3555
+ }>;
3556
+ full_access_available?: boolean;
3557
+ user_once?: true;
3558
+ guarded_rule?: string;
2407
3559
  run_id: string | null;
2408
3560
  _meta?: {
2409
3561
  ui?: {
@@ -2417,17 +3569,6 @@ export declare function createAgent(transport: Transport): {
2417
3569
  };
2418
3570
  source?: "app" | "codemode";
2419
3571
  parent_tool_use_id?: string;
2420
- user_once?: true;
2421
- guarded_rule?: string;
2422
- permission_suggestions?: Array<{
2423
- type: "add_rules";
2424
- behavior: "allow";
2425
- destination: "agent" | "session";
2426
- rules: Array<{
2427
- tool_name: string;
2428
- rule_content: string;
2429
- }>;
2430
- }>;
2431
3572
  title?: string;
2432
3573
  input_titles?: {
2433
3574
  [key: string]: string;
@@ -2446,7 +3587,6 @@ export declare function createAgent(transport: Transport): {
2446
3587
  };
2447
3588
  source?: "app" | "codemode";
2448
3589
  } | {
2449
- full_access_available?: boolean;
2450
3590
  id: string;
2451
3591
  input: Types.AgentManaged206;
2452
3592
  name: string;
@@ -2455,9 +3595,6 @@ export declare function createAgent(transport: Transport): {
2455
3595
  evaluated_permission?: "allow" | "deny" | "ask";
2456
3596
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2457
3597
  session_thread_id?: null | string;
2458
- run_id: string | null;
2459
- user_once?: true;
2460
- guarded_rule?: string;
2461
3598
  permission_suggestions?: Array<{
2462
3599
  type: "add_rules";
2463
3600
  behavior: "allow";
@@ -2467,6 +3604,10 @@ export declare function createAgent(transport: Transport): {
2467
3604
  rule_content: string;
2468
3605
  }>;
2469
3606
  }>;
3607
+ full_access_available?: boolean;
3608
+ user_once?: true;
3609
+ guarded_rule?: string;
3610
+ run_id: string | null;
2470
3611
  } | {
2471
3612
  id: string;
2472
3613
  processed_at: string;
@@ -2487,9 +3628,6 @@ export declare function createAgent(transport: Transport): {
2487
3628
  type: "session.status_idle";
2488
3629
  run_id: string | null;
2489
3630
  } | 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 | {
2490
- permission_mode_version?: number;
2491
- previous_permission_mode?: string | null;
2492
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2493
3631
  id: string;
2494
3632
  processed_at: string;
2495
3633
  type: "session.updated";
@@ -2497,6 +3635,9 @@ export declare function createAgent(transport: Transport): {
2497
3635
  budget?: null | Types.AgentManaged76;
2498
3636
  metadata?: Types.AgentManaged246;
2499
3637
  title?: null | string;
3638
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
3639
+ previous_permission_mode?: string | null;
3640
+ permission_mode_version?: number;
2500
3641
  model?: {
2501
3642
  id: string;
2502
3643
  };
@@ -2555,21 +3696,6 @@ export declare function createAgent(transport: Transport): {
2555
3696
  type: "user.steer";
2556
3697
  event_id: string;
2557
3698
  processed_at: string;
2558
- } | {
2559
- id: string;
2560
- type: "user.tool_confirmation";
2561
- processed_at: string;
2562
- tool_use_id: string;
2563
- result: "allow";
2564
- answers: {
2565
- [key: string]: string;
2566
- };
2567
- annotations?: {
2568
- [key: string]: {
2569
- preview?: string;
2570
- notes?: string;
2571
- };
2572
- };
2573
3699
  }>;
2574
3700
  next_page: string | null;
2575
3701
  }>;
@@ -2590,21 +3716,6 @@ export declare function createAgent(transport: Transport): {
2590
3716
  type: "user.steer";
2591
3717
  event_id: string;
2592
3718
  processed_at: string;
2593
- } | {
2594
- id: string;
2595
- type: "user.tool_confirmation";
2596
- processed_at: string;
2597
- tool_use_id: string;
2598
- result: "allow";
2599
- answers: {
2600
- [key: string]: string;
2601
- };
2602
- annotations?: {
2603
- [key: string]: {
2604
- preview?: string;
2605
- notes?: string;
2606
- };
2607
- };
2608
3719
  }>;
2609
3720
  }>;
2610
3721
  stream: (options: import("./core/transport.js").StreamOptions<Types.SessionsEventsStreamData>) => AsyncIterable<Types.AgentSseEvent>;
@@ -2657,6 +3768,7 @@ export declare function createAgent(transport: Transport): {
2657
3768
  speed?: "standard" | "fast";
2658
3769
  settings?: {
2659
3770
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3771
+ max_output_tokens?: number;
2660
3772
  };
2661
3773
  };
2662
3774
  multiagent: null | {
@@ -3119,6 +4231,11 @@ export declare function createAgent(transport: Transport): {
3119
4231
  vault_ids: Array<string>;
3120
4232
  deployment_id?: null | string;
3121
4233
  cwd: string;
4234
+ workspace?: {
4235
+ kind: "shared" | "isolated";
4236
+ path?: string;
4237
+ branch?: string;
4238
+ };
3122
4239
  computer_id?: string;
3123
4240
  model?: {
3124
4241
  id: string;
@@ -3152,32 +4269,576 @@ export declare function createAgent(transport: Transport): {
3152
4269
  speed?: "standard" | "fast";
3153
4270
  settings?: {
3154
4271
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4272
+ max_output_tokens?: number;
4273
+ };
4274
+ };
4275
+ multiagent: null | Types.AgentManaged171;
4276
+ name: string;
4277
+ skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
4278
+ system: null | string;
4279
+ tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
4280
+ type: "agent";
4281
+ version: number;
4282
+ };
4283
+ archived_at: null | string;
4284
+ budget: null | Types.AgentManaged76;
4285
+ created_at: string;
4286
+ environment_id?: string;
4287
+ metadata: Types.AgentManaged173;
4288
+ outcome_evaluations: Array<Types.AgentManaged174>;
4289
+ resources: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
4290
+ stats: Types.AgentManaged178;
4291
+ status: "rescheduling" | "running" | "idle" | "terminated";
4292
+ title: null | string;
4293
+ type: "session";
4294
+ updated_at: string;
4295
+ usage: Types.AgentManaged179;
4296
+ vault_ids: Array<string>;
4297
+ deployment_id?: null | string;
4298
+ cwd: string;
4299
+ workspace?: {
4300
+ kind: "shared" | "isolated";
4301
+ path?: string;
4302
+ branch?: string;
4303
+ };
4304
+ computer_id?: string;
4305
+ model?: {
4306
+ id: string;
4307
+ thinking: {
4308
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
4309
+ can_disable: boolean;
4310
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
4311
+ } | null;
4312
+ };
4313
+ thinking?: {
4314
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4315
+ } | null;
4316
+ forked_from?: {
4317
+ session_id: string;
4318
+ message_id: string;
4319
+ } | null;
4320
+ readonly external_user_id: string | null;
4321
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
4322
+ }>;
4323
+ next_page: string | null;
4324
+ }>;
4325
+ name: {
4326
+ create: (options: import("./core/transport.js").CallOptions<Types.RenameSessionData>) => Promise<{
4327
+ id: string;
4328
+ agent: {
4329
+ id: string;
4330
+ description: null | string;
4331
+ mcp_servers: Array<{
4332
+ type: "url";
4333
+ name: string;
4334
+ url: string;
4335
+ headers?: {
4336
+ [key: string]: string;
4337
+ };
4338
+ timeout_ms?: number;
4339
+ } | {
4340
+ type: "sse";
4341
+ name: string;
4342
+ url: string;
4343
+ headers?: {
4344
+ [key: string]: string;
4345
+ };
4346
+ timeout_ms?: number;
4347
+ } | {
4348
+ type: "stdio";
4349
+ name: string;
4350
+ command: string;
4351
+ args?: Array<string>;
4352
+ env?: {
4353
+ [key: string]: string;
4354
+ };
4355
+ timeout_ms?: number;
4356
+ }>;
4357
+ model: {
4358
+ id: string;
4359
+ effort?: {
4360
+ type: "low";
4361
+ } | {
4362
+ type: "medium";
4363
+ } | {
4364
+ type: "high";
4365
+ } | {
4366
+ type: "xhigh";
4367
+ } | {
4368
+ type: "max";
4369
+ };
4370
+ inference_geo?: string;
4371
+ speed?: "standard" | "fast";
4372
+ settings?: {
4373
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4374
+ max_output_tokens?: number;
4375
+ };
4376
+ };
4377
+ multiagent: null | {
4378
+ agents: Array<{
4379
+ model: string;
4380
+ type: "advisor";
4381
+ } | {
4382
+ id: string;
4383
+ description: null | string;
4384
+ mcp_servers: Array<{
4385
+ type: "url";
4386
+ name: string;
4387
+ url: string;
4388
+ headers?: {
4389
+ [key: string]: string;
4390
+ };
4391
+ timeout_ms?: number;
4392
+ } | {
4393
+ type: "sse";
4394
+ name: string;
4395
+ url: string;
4396
+ headers?: {
4397
+ [key: string]: string;
4398
+ };
4399
+ timeout_ms?: number;
4400
+ } | {
4401
+ type: "stdio";
4402
+ name: string;
4403
+ command: string;
4404
+ args?: Array<string>;
4405
+ env?: {
4406
+ [key: string]: string;
4407
+ };
4408
+ timeout_ms?: number;
4409
+ }>;
4410
+ model: {
4411
+ id: string;
4412
+ effort?: {
4413
+ type: "low";
4414
+ } | {
4415
+ type: "medium";
4416
+ } | {
4417
+ type: "high";
4418
+ } | {
4419
+ type: "xhigh";
4420
+ } | {
4421
+ type: "max";
4422
+ };
4423
+ inference_geo?: string;
4424
+ speed?: "standard" | "fast";
4425
+ };
4426
+ name: string;
4427
+ skills: Array<{
4428
+ skill_id: string;
4429
+ type: "anthropic";
4430
+ version: string;
4431
+ } | {
4432
+ skill_id: string;
4433
+ type: "custom";
4434
+ version: string;
4435
+ }>;
4436
+ system: null | string;
4437
+ tools: Array<{
4438
+ configs: Array<{
4439
+ enabled: boolean;
4440
+ name: "bash";
4441
+ permission_policy: {
4442
+ type: "always_allow";
4443
+ } | {
4444
+ type: "always_ask";
4445
+ } | {
4446
+ type: "auto";
4447
+ };
4448
+ type: "bash";
4449
+ } | {
4450
+ enabled: boolean;
4451
+ name: "edit";
4452
+ permission_policy: {
4453
+ type: "always_allow";
4454
+ } | {
4455
+ type: "always_ask";
4456
+ } | {
4457
+ type: "auto";
4458
+ };
4459
+ type: "edit";
4460
+ } | {
4461
+ enabled: boolean;
4462
+ name: "read";
4463
+ permission_policy: {
4464
+ type: "always_allow";
4465
+ } | {
4466
+ type: "always_ask";
4467
+ } | {
4468
+ type: "auto";
4469
+ };
4470
+ type: "read";
4471
+ } | {
4472
+ enabled: boolean;
4473
+ name: "write";
4474
+ permission_policy: {
4475
+ type: "always_allow";
4476
+ } | {
4477
+ type: "always_ask";
4478
+ } | {
4479
+ type: "auto";
4480
+ };
4481
+ type: "write";
4482
+ } | {
4483
+ enabled: boolean;
4484
+ name: "glob";
4485
+ permission_policy: {
4486
+ type: "always_allow";
4487
+ } | {
4488
+ type: "always_ask";
4489
+ } | {
4490
+ type: "auto";
4491
+ };
4492
+ type: "glob";
4493
+ } | {
4494
+ enabled: boolean;
4495
+ name: "grep";
4496
+ permission_policy: {
4497
+ type: "always_allow";
4498
+ } | {
4499
+ type: "always_ask";
4500
+ } | {
4501
+ type: "auto";
4502
+ };
4503
+ type: "grep";
4504
+ } | {
4505
+ enabled: boolean;
4506
+ name: "web_fetch";
4507
+ permission_policy: {
4508
+ type: "always_allow";
4509
+ } | {
4510
+ type: "always_ask";
4511
+ } | {
4512
+ type: "auto";
4513
+ };
4514
+ type: "web_fetch";
4515
+ allowed_domains?: Array<string>;
4516
+ blocked_domains?: Array<string>;
4517
+ max_content_tokens?: null | number;
4518
+ } | {
4519
+ enabled: boolean;
4520
+ name: "web_search";
4521
+ permission_policy: {
4522
+ type: "always_allow";
4523
+ } | {
4524
+ type: "always_ask";
4525
+ } | {
4526
+ type: "auto";
4527
+ };
4528
+ type: "web_search";
4529
+ allowed_domains?: Array<string>;
4530
+ blocked_domains?: Array<string>;
4531
+ user_location?: null | {
4532
+ type: "approximate";
4533
+ city?: null | string;
4534
+ country?: null | string;
4535
+ region?: null | string;
4536
+ timezone?: null | string;
4537
+ };
4538
+ } | {
4539
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
4540
+ enabled: boolean;
4541
+ permission_policy: {
4542
+ type: "always_allow" | "always_ask";
4543
+ };
4544
+ }>;
4545
+ default_config: {
4546
+ enabled: boolean;
4547
+ permission_policy: {
4548
+ type: "always_allow";
4549
+ } | {
4550
+ type: "always_ask";
4551
+ } | {
4552
+ type: "auto";
4553
+ };
4554
+ };
4555
+ type: "agent_toolset_20260401";
4556
+ } | {
4557
+ type: "mcp_toolset";
4558
+ mcp_server_name: string;
4559
+ default_config?: {
4560
+ enabled?: boolean | null;
4561
+ permission_policy?: null | {
4562
+ type: "always_allow" | "always_ask";
4563
+ };
4564
+ } | null;
4565
+ configs?: Array<{
4566
+ name: string;
4567
+ enabled?: boolean | null;
4568
+ permission_policy?: null | {
4569
+ type: "always_allow" | "always_ask";
4570
+ };
4571
+ }> | null;
4572
+ } | {
4573
+ description: string;
4574
+ input_schema: {
4575
+ type: "object";
4576
+ properties?: null | {
4577
+ [key: string]: unknown;
4578
+ };
4579
+ required?: null | Array<string>;
4580
+ [key: string]: unknown;
4581
+ };
4582
+ name: string;
4583
+ type: "custom";
4584
+ }>;
4585
+ type: "agent";
4586
+ version: number;
4587
+ }>;
4588
+ type: "coordinator";
4589
+ };
4590
+ name: string;
4591
+ skills: Array<{
4592
+ skill_id: string;
4593
+ type: "anthropic";
4594
+ version: string;
4595
+ } | {
4596
+ skill_id: string;
4597
+ type: "custom";
4598
+ version: string;
4599
+ }>;
4600
+ system: null | string;
4601
+ tools: Array<{
4602
+ configs: Array<{
4603
+ enabled: boolean;
4604
+ name: "bash";
4605
+ permission_policy: {
4606
+ type: "always_allow";
4607
+ } | {
4608
+ type: "always_ask";
4609
+ } | {
4610
+ type: "auto";
4611
+ };
4612
+ type: "bash";
4613
+ } | {
4614
+ enabled: boolean;
4615
+ name: "edit";
4616
+ permission_policy: {
4617
+ type: "always_allow";
4618
+ } | {
4619
+ type: "always_ask";
4620
+ } | {
4621
+ type: "auto";
4622
+ };
4623
+ type: "edit";
4624
+ } | {
4625
+ enabled: boolean;
4626
+ name: "read";
4627
+ permission_policy: {
4628
+ type: "always_allow";
4629
+ } | {
4630
+ type: "always_ask";
4631
+ } | {
4632
+ type: "auto";
4633
+ };
4634
+ type: "read";
4635
+ } | {
4636
+ enabled: boolean;
4637
+ name: "write";
4638
+ permission_policy: {
4639
+ type: "always_allow";
4640
+ } | {
4641
+ type: "always_ask";
4642
+ } | {
4643
+ type: "auto";
4644
+ };
4645
+ type: "write";
4646
+ } | {
4647
+ enabled: boolean;
4648
+ name: "glob";
4649
+ permission_policy: {
4650
+ type: "always_allow";
4651
+ } | {
4652
+ type: "always_ask";
4653
+ } | {
4654
+ type: "auto";
4655
+ };
4656
+ type: "glob";
4657
+ } | {
4658
+ enabled: boolean;
4659
+ name: "grep";
4660
+ permission_policy: {
4661
+ type: "always_allow";
4662
+ } | {
4663
+ type: "always_ask";
4664
+ } | {
4665
+ type: "auto";
4666
+ };
4667
+ type: "grep";
4668
+ } | {
4669
+ enabled: boolean;
4670
+ name: "web_fetch";
4671
+ permission_policy: {
4672
+ type: "always_allow";
4673
+ } | {
4674
+ type: "always_ask";
4675
+ } | {
4676
+ type: "auto";
4677
+ };
4678
+ type: "web_fetch";
4679
+ allowed_domains?: Array<string>;
4680
+ blocked_domains?: Array<string>;
4681
+ max_content_tokens?: null | number;
4682
+ } | {
4683
+ enabled: boolean;
4684
+ name: "web_search";
4685
+ permission_policy: {
4686
+ type: "always_allow";
4687
+ } | {
4688
+ type: "always_ask";
4689
+ } | {
4690
+ type: "auto";
4691
+ };
4692
+ type: "web_search";
4693
+ allowed_domains?: Array<string>;
4694
+ blocked_domains?: Array<string>;
4695
+ user_location?: null | {
4696
+ type: "approximate";
4697
+ city?: null | string;
4698
+ country?: null | string;
4699
+ region?: null | string;
4700
+ timezone?: null | string;
4701
+ };
4702
+ } | {
4703
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
4704
+ enabled: boolean;
4705
+ permission_policy: {
4706
+ type: "always_allow" | "always_ask";
4707
+ };
4708
+ }>;
4709
+ default_config: {
4710
+ enabled: boolean;
4711
+ permission_policy: {
4712
+ type: "always_allow";
4713
+ } | {
4714
+ type: "always_ask";
4715
+ } | {
4716
+ type: "auto";
4717
+ };
4718
+ };
4719
+ type: "agent_toolset_20260401";
4720
+ } | {
4721
+ type: "mcp_toolset";
4722
+ mcp_server_name: string;
4723
+ default_config?: {
4724
+ enabled?: boolean | null;
4725
+ permission_policy?: null | {
4726
+ type: "always_allow" | "always_ask";
4727
+ };
4728
+ } | null;
4729
+ configs?: Array<{
4730
+ name: string;
4731
+ enabled?: boolean | null;
4732
+ permission_policy?: null | {
4733
+ type: "always_allow" | "always_ask";
4734
+ };
4735
+ }> | null;
4736
+ } | {
4737
+ description: string;
4738
+ input_schema: {
4739
+ type: "object";
4740
+ properties?: null | {
4741
+ [key: string]: unknown;
4742
+ };
4743
+ required?: null | Array<string>;
4744
+ [key: string]: unknown;
3155
4745
  };
3156
- };
3157
- multiagent: null | Types.AgentManaged171;
3158
- name: string;
3159
- skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
3160
- system: null | string;
3161
- tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
4746
+ name: string;
4747
+ type: "custom";
4748
+ }>;
3162
4749
  type: "agent";
3163
4750
  version: number;
3164
4751
  };
3165
4752
  archived_at: null | string;
3166
- budget: null | Types.AgentManaged76;
4753
+ budget: null | {
4754
+ max_list_cost: {
4755
+ amount: string;
4756
+ currency: "USD";
4757
+ };
4758
+ type: "limit";
4759
+ };
3167
4760
  created_at: string;
3168
4761
  environment_id?: string;
3169
- metadata: Types.AgentManaged173;
3170
- outcome_evaluations: Array<Types.AgentManaged174>;
3171
- resources: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
3172
- stats: Types.AgentManaged178;
4762
+ metadata: {
4763
+ [key: string]: string;
4764
+ };
4765
+ outcome_evaluations: Array<{
4766
+ completed_at: null | string;
4767
+ description: string;
4768
+ explanation: null | string;
4769
+ iteration: number;
4770
+ outcome_id: string;
4771
+ result: string;
4772
+ type: "outcome_evaluation";
4773
+ }>;
4774
+ resources: Array<{
4775
+ id: string;
4776
+ created_at: string;
4777
+ mount_path: string;
4778
+ type: "github_repository";
4779
+ updated_at: string;
4780
+ url: string;
4781
+ checkout?: null | {
4782
+ name: string;
4783
+ type: "branch";
4784
+ } | {
4785
+ sha: string;
4786
+ type: "commit";
4787
+ };
4788
+ } | {
4789
+ id: string;
4790
+ created_at: string;
4791
+ file_id: string;
4792
+ mount_path: string;
4793
+ type: "file";
4794
+ updated_at: string;
4795
+ } | {
4796
+ memory_store_id: string;
4797
+ type: "memory_store";
4798
+ access?: null | "read_write" | "read_only";
4799
+ description?: string;
4800
+ instructions?: null | string;
4801
+ mount_path?: null | string;
4802
+ name?: null | string;
4803
+ }>;
4804
+ stats: {
4805
+ active_seconds?: number;
4806
+ duration_seconds?: number;
4807
+ };
3173
4808
  status: "rescheduling" | "running" | "idle" | "terminated";
3174
4809
  title: null | string;
3175
4810
  type: "session";
3176
4811
  updated_at: string;
3177
- usage: Types.AgentManaged179;
4812
+ usage: {
4813
+ active_seconds?: number;
4814
+ cache_creation?: {
4815
+ ephemeral_1h_input_tokens?: number;
4816
+ ephemeral_5m_input_tokens?: number;
4817
+ };
4818
+ cache_read_input_tokens?: number;
4819
+ input_tokens?: number;
4820
+ list_cost?: null | {
4821
+ amount: string;
4822
+ currency: "USD";
4823
+ };
4824
+ output_tokens?: number;
4825
+ server_tool_use?: null | {
4826
+ web_fetch_requests?: number;
4827
+ web_search_requests?: number;
4828
+ };
4829
+ cost_by_product?: {
4830
+ [key: string]: string;
4831
+ };
4832
+ subagent_cost_micro_usd?: number;
4833
+ };
3178
4834
  vault_ids: Array<string>;
3179
4835
  deployment_id?: null | string;
3180
4836
  cwd: string;
4837
+ workspace?: {
4838
+ kind: "shared" | "isolated";
4839
+ path?: string;
4840
+ branch?: string;
4841
+ };
3181
4842
  computer_id?: string;
3182
4843
  model?: {
3183
4844
  id: string;
@@ -3197,8 +4858,21 @@ export declare function createAgent(transport: Transport): {
3197
4858
  readonly external_user_id: string | null;
3198
4859
  readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
3199
4860
  }>;
3200
- next_page: string | null;
3201
- }>;
4861
+ };
4862
+ requests: {
4863
+ list: (options: import("./core/transport.js").CallOptions<Types.ListSessionRequestsData>) => Promise<{
4864
+ data: Array<{
4865
+ id: string;
4866
+ object: "request";
4867
+ kind: "question" | "approval";
4868
+ status: "pending";
4869
+ tool_name: string;
4870
+ input: unknown;
4871
+ create_time: string;
4872
+ expire_time: string | null;
4873
+ }>;
4874
+ }>;
4875
+ };
3202
4876
  resources: {
3203
4877
  create: (options: import("./core/transport.js").CallOptions<Types.SessionsResourcesAddData>) => Promise<Types.AgentManaged176>;
3204
4878
  delete: (options: import("./core/transport.js").CallOptions<RenameParameters<Types.SessionsResourcesDeleteData, {
@@ -3229,6 +4903,7 @@ export declare function createAgent(transport: Transport): {
3229
4903
  speed?: "standard" | "fast";
3230
4904
  settings?: {
3231
4905
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4906
+ max_output_tokens?: number;
3232
4907
  };
3233
4908
  };
3234
4909
  multiagent: null | Types.AgentManaged171;
@@ -3255,6 +4930,11 @@ export declare function createAgent(transport: Transport): {
3255
4930
  vault_ids: Array<string>;
3256
4931
  deployment_id?: null | string;
3257
4932
  cwd: string;
4933
+ workspace?: {
4934
+ kind: "shared" | "isolated";
4935
+ path?: string;
4936
+ branch?: string;
4937
+ };
3258
4938
  computer_id?: string;
3259
4939
  model?: {
3260
4940
  id: string;
@@ -3401,7 +5081,6 @@ export declare function createAgent(transport: Transport): {
3401
5081
  run_id: string | null;
3402
5082
  message_id?: string;
3403
5083
  } | {
3404
- full_access_available?: boolean;
3405
5084
  id: string;
3406
5085
  input: Types.AgentManaged197;
3407
5086
  mcp_server_name: string;
@@ -3411,6 +5090,18 @@ export declare function createAgent(transport: Transport): {
3411
5090
  evaluated_permission?: "allow" | "deny" | "ask";
3412
5091
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3413
5092
  session_thread_id?: null | string;
5093
+ permission_suggestions?: Array<{
5094
+ type: "add_rules";
5095
+ behavior: "allow";
5096
+ destination: "agent" | "session";
5097
+ rules: Array<{
5098
+ tool_name: string;
5099
+ rule_content: string;
5100
+ }>;
5101
+ }>;
5102
+ full_access_available?: boolean;
5103
+ user_once?: true;
5104
+ guarded_rule?: string;
3414
5105
  run_id: string | null;
3415
5106
  parent_tool_use_id?: string;
3416
5107
  _meta?: {
@@ -3424,17 +5115,6 @@ export declare function createAgent(transport: Transport): {
3424
5115
  };
3425
5116
  };
3426
5117
  source?: "app" | "codemode";
3427
- user_once?: true;
3428
- guarded_rule?: string;
3429
- permission_suggestions?: Array<{
3430
- type: "add_rules";
3431
- behavior: "allow";
3432
- destination: "agent" | "session";
3433
- rules: Array<{
3434
- tool_name: string;
3435
- rule_content: string;
3436
- }>;
3437
- }>;
3438
5118
  title?: string;
3439
5119
  input_titles?: {
3440
5120
  [key: string]: string;
@@ -3453,7 +5133,6 @@ export declare function createAgent(transport: Transport): {
3453
5133
  };
3454
5134
  source?: "app" | "codemode";
3455
5135
  } | {
3456
- full_access_available?: boolean;
3457
5136
  id: string;
3458
5137
  input: Types.AgentManaged206;
3459
5138
  name: string;
@@ -3462,9 +5141,6 @@ export declare function createAgent(transport: Transport): {
3462
5141
  evaluated_permission?: "allow" | "deny" | "ask";
3463
5142
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3464
5143
  session_thread_id?: null | string;
3465
- run_id: string | null;
3466
- user_once?: true;
3467
- guarded_rule?: string;
3468
5144
  permission_suggestions?: Array<{
3469
5145
  type: "add_rules";
3470
5146
  behavior: "allow";
@@ -3474,6 +5150,10 @@ export declare function createAgent(transport: Transport): {
3474
5150
  rule_content: string;
3475
5151
  }>;
3476
5152
  }>;
5153
+ full_access_available?: boolean;
5154
+ user_once?: true;
5155
+ guarded_rule?: string;
5156
+ run_id: string | null;
3477
5157
  } | {
3478
5158
  id: string;
3479
5159
  processed_at: string;
@@ -3494,9 +5174,6 @@ export declare function createAgent(transport: Transport): {
3494
5174
  type: "session.status_idle";
3495
5175
  run_id: string | null;
3496
5176
  } | 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 | {
3497
- permission_mode_version?: number;
3498
- previous_permission_mode?: string | null;
3499
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
3500
5177
  id: string;
3501
5178
  processed_at: string;
3502
5179
  type: "session.updated";
@@ -3504,6 +5181,9 @@ export declare function createAgent(transport: Transport): {
3504
5181
  budget?: null | Types.AgentManaged76;
3505
5182
  metadata?: Types.AgentManaged246;
3506
5183
  title?: null | string;
5184
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
5185
+ previous_permission_mode?: string | null;
5186
+ permission_mode_version?: number;
3507
5187
  model?: {
3508
5188
  id: string;
3509
5189
  };
@@ -3594,6 +5274,7 @@ export declare function createAgent(transport: Transport): {
3594
5274
  speed?: "standard" | "fast";
3595
5275
  settings?: {
3596
5276
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
5277
+ max_output_tokens?: number;
3597
5278
  };
3598
5279
  };
3599
5280
  multiagent: null | Types.AgentManaged171;
@@ -3620,6 +5301,11 @@ export declare function createAgent(transport: Transport): {
3620
5301
  vault_ids: Array<string>;
3621
5302
  deployment_id?: null | string;
3622
5303
  cwd: string;
5304
+ workspace?: {
5305
+ kind: "shared" | "isolated";
5306
+ path?: string;
5307
+ branch?: string;
5308
+ };
3623
5309
  computer_id?: string;
3624
5310
  model?: {
3625
5311
  id: string;
@@ -3684,6 +5370,29 @@ export declare function createAgent(transport: Transport): {
3684
5370
  next_page: null;
3685
5371
  }>;
3686
5372
  };
5373
+ uploads: {
5374
+ contentUrl: {
5375
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadContentUrlData>) => Promise<{
5376
+ url: string;
5377
+ expires_at: string;
5378
+ }>;
5379
+ };
5380
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadData>) => Promise<{
5381
+ upload_id: string;
5382
+ expires_at: string;
5383
+ url: string;
5384
+ } | {
5385
+ upload_id: string;
5386
+ expires_at: string;
5387
+ part_size: number;
5388
+ parts: Array<{
5389
+ part_number: number;
5390
+ url: string;
5391
+ }>;
5392
+ complete_url: string;
5393
+ status_url: string;
5394
+ }>;
5395
+ };
3687
5396
  };
3688
5397
  export declare function createApplication(transport: Transport): {
3689
5398
  assets: {
@@ -3948,6 +5657,11 @@ export declare function createAutomation(transport: Transport): {
3948
5657
  };
3949
5658
  };
3950
5659
  };
5660
+ export declare function createBilling(transport: Transport): {
5661
+ prices: {
5662
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListPublicPricesData> | undefined) => Promise<Types.BillingPriceList>;
5663
+ };
5664
+ };
3951
5665
  export declare function createBrowser(transport: Transport): {
3952
5666
  connect: {
3953
5667
  retrieve: (options?: import("./core/transport.js").CallOptions<Types.BrowserConnectData> | undefined) => Promise<unknown>;
@@ -3977,6 +5691,10 @@ export declare function createBrowser(transport: Transport): {
3977
5691
  tab: string;
3978
5692
  url: string;
3979
5693
  title: string;
5694
+ } | {
5695
+ type: "select";
5696
+ tab: string;
5697
+ values: Array<string>;
3980
5698
  } | {
3981
5699
  type: "tabs.list";
3982
5700
  tabs: Array<{
@@ -4003,6 +5721,11 @@ export declare function createBrowser(transport: Transport): {
4003
5721
  type: "evaluate";
4004
5722
  tab: string;
4005
5723
  value: unknown;
5724
+ } | {
5725
+ type: "set_cookie";
5726
+ tab: string;
5727
+ name: string;
5728
+ domain: string;
4006
5729
  }>;
4007
5730
  };
4008
5731
  create: (options: import("./core/transport.js").CallOptions<Types.BrowserCreateSessionData>) => Promise<Types.BrowserSessionCreateResult>;
@@ -4060,6 +5783,24 @@ export declare function createCanvas(transport: Transport): {
4060
5783
  update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCollectionData>) => Promise<Types.CanvasCollection>;
4061
5784
  };
4062
5785
  };
5786
+ export declare function createContent(transport: Transport): {
5787
+ contents: {
5788
+ archive: (options: import("./core/transport.js").CallOptions<Types.ContentArchiveContentData>) => Promise<Types.ContentContent>;
5789
+ create: (options: import("./core/transport.js").CallOptions<Types.ContentCreateContentData>) => Promise<Types.ContentContent>;
5790
+ list: (options?: import("./core/transport.js").CallOptions<Types.ContentListContentsData> | undefined) => Promise<Types.ContentContentPage>;
5791
+ publish: (options: import("./core/transport.js").CallOptions<Types.ContentPublishContentData>) => Promise<Types.ContentContent>;
5792
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetContentData>) => Promise<Types.ContentContent>;
5793
+ unpublish: (options: import("./core/transport.js").CallOptions<Types.ContentUnpublishContentData>) => Promise<Types.ContentContent>;
5794
+ update: (options: import("./core/transport.js").CallOptions<Types.ContentUpdateContentData>) => Promise<Types.ContentContent>;
5795
+ };
5796
+ playbackSessions: {
5797
+ create: (options: import("./core/transport.js").CallOptions<Types.ContentCreatePlaybackSessionData>) => Promise<Types.ContentPlaybackSession>;
5798
+ };
5799
+ versions: {
5800
+ list: (options: import("./core/transport.js").CallOptions<Types.ContentListVersionsData>) => Promise<Types.ContentContentVersionPage>;
5801
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetVersionData>) => Promise<Types.ContentContentVersion>;
5802
+ };
5803
+ };
4063
5804
  export declare function createCrm(transport: Transport): {
4064
5805
  associations: {
4065
5806
  create: (options: import("./core/transport.js").CallOptions<Types.CrmAssociationsCreateData>) => Promise<Types.CrmAssociationsLabelsBetweenObjectPair & Types.CrmWriteResult>;
@@ -4120,6 +5861,32 @@ export declare function createCrm(transport: Transport): {
4120
5861
  list: (options?: import("./core/transport.js").CallOptions<Types.CrmSchemasListData> | undefined) => Promise<Types.CrmSchemasCollectionResponseObjectSchemaNoPaging>;
4121
5862
  };
4122
5863
  };
5864
+ export declare function createCustomer(transport: Transport): {
5865
+ accessTokens: {
5866
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateAccessTokenData>) => Promise<Types.CustomerAccessToken>;
5867
+ renew: (options?: import("./core/transport.js").CallOptions<Types.CustomerRenewAccessTokenData> | undefined) => Promise<Types.CustomerAccessToken>;
5868
+ revoke: (options?: import("./core/transport.js").CallOptions<Types.CustomerRevokeCurrentTokensData> | undefined) => Promise<unknown>;
5869
+ };
5870
+ customers: {
5871
+ block: (options: import("./core/transport.js").CallOptions<Types.CustomerBlockCustomerData>) => Promise<Types.CustomerCustomer>;
5872
+ delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeleteCustomerData>) => Promise<Types.CustomerCustomerDeleted>;
5873
+ list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListCustomersData> | undefined) => Promise<Types.CustomerCustomerPage>;
5874
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetCustomerData>) => Promise<Types.CustomerCustomer>;
5875
+ revokeTokens: (options: import("./core/transport.js").CallOptions<Types.CustomerRevokeTokensData>) => Promise<Types.CustomerTokensRevoked>;
5876
+ unblock: (options: import("./core/transport.js").CallOptions<Types.CustomerUnblockCustomerData>) => Promise<Types.CustomerCustomer>;
5877
+ };
5878
+ grantCodes: {
5879
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateGrantCodeData>) => Promise<Types.CustomerGrantCode>;
5880
+ };
5881
+ publishableKeys: {
5882
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreatePublishableKeyData>) => Promise<Types.CustomerPublishableKey>;
5883
+ delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeletePublishableKeyData>) => Promise<Types.CustomerPublishableKeyDeleted>;
5884
+ list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListPublishableKeysData> | undefined) => Promise<Types.CustomerPublishableKeyPage>;
5885
+ };
5886
+ usage: {
5887
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetUsageData>) => Promise<Types.CustomerCustomerUsage>;
5888
+ };
5889
+ };
4123
5890
  export declare function createCut(transport: Transport): {
4124
5891
  exports: {
4125
5892
  cancel: (options: import("./core/transport.js").CallOptions<Types.CutCancelExportData>) => Promise<Types.CutExport>;
@@ -4218,13 +5985,26 @@ export declare function createDatabase(transport: Transport): {
4218
5985
  export declare function createDevops(transport: Transport): {
4219
5986
  changes: {
4220
5987
  abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesAbandonData>) => Promise<Types.DevopsChange>;
5988
+ gitCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGitCredentialData>) => Promise<Types.DevopsChangeGitCredential>;
4221
5989
  markLastSlice: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesMarkLastSliceData>) => Promise<Types.DevopsChange>;
5990
+ openPullRequest: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesOpenPullRequestData>) => Promise<Types.DevopsChangePullRequestOpened>;
4222
5991
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGetData>) => Promise<Types.DevopsChange>;
4223
5992
  };
5993
+ connections: {
5994
+ complete: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsCompleteData>) => Promise<Types.DevopsConnection>;
5995
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsCreateData>) => Promise<Types.DevopsConnectionStart>;
5996
+ list: (options?: import("./core/transport.js").CallOptions<Types.DevopsConnectionsListData> | undefined) => Promise<Types.DevopsConnectionPage>;
5997
+ repositories: {
5998
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsListRepositoriesData>) => Promise<Types.DevopsRepositoryPage>;
5999
+ };
6000
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsGetData>) => Promise<Types.DevopsConnection>;
6001
+ };
4224
6002
  environments: {
4225
6003
  checkpoints: {
4226
6004
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsCheckpointsListData>) => Promise<Types.DevopsCheckpointList>;
4227
6005
  };
6006
+ rollback: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsRollbackData>) => Promise<Types.DevopsPromotion>;
6007
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsUpdateData>) => Promise<Types.DevopsEnvironment>;
4228
6008
  };
4229
6009
  flags: {
4230
6010
  archive: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsArchiveData>) => Promise<Types.DevopsFlag>;
@@ -4247,6 +6027,13 @@ export declare function createDevops(transport: Transport): {
4247
6027
  create: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesCreateData>) => Promise<Types.DevopsChange>;
4248
6028
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesListData>) => Promise<Types.DevopsChangePage>;
4249
6029
  };
6030
+ cleanups: {
6031
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsCleanupsListData>) => Promise<Types.DevopsCleanupPage>;
6032
+ };
6033
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsCreateData>) => Promise<Types.DevopsProject>;
6034
+ defaultBranch: {
6035
+ initialize: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsInitializeDefaultBranchData>) => Promise<Types.DevopsDefaultBranchInitialized>;
6036
+ };
4250
6037
  environments: {
4251
6038
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsListData>) => Promise<Types.DevopsEnvironmentList>;
4252
6039
  targets: {
@@ -4264,17 +6051,26 @@ export declare function createDevops(transport: Transport): {
4264
6051
  flags: {
4265
6052
  create: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsCreateData>) => Promise<Types.DevopsFlag>;
4266
6053
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsListData>) => Promise<Types.DevopsFlagPage>;
6054
+ reportCodeRefs: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsReportCodeRefsData>) => Promise<Types.DevopsFlagCodeRefsReportResult>;
4267
6055
  };
4268
6056
  list: (options?: import("./core/transport.js").CallOptions<Types.DevopsProjectsListData> | undefined) => Promise<Types.DevopsProjectPage>;
4269
6057
  promotions: {
4270
6058
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsListData>) => Promise<Types.DevopsPromotionPage>;
4271
6059
  };
6060
+ pullRequests: {
6061
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsListData>) => Promise<Types.DevopsPullRequestPage>;
6062
+ };
4272
6063
  releases: {
4273
6064
  create: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesCreateData>) => Promise<Types.DevopsRelease>;
4274
6065
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesListData>) => Promise<Types.DevopsReleasePage>;
4275
6066
  };
4276
6067
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsGetData>) => Promise<Types.DevopsProject>;
4277
6068
  retrieveTestCatalog: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCatalogGetData>) => Promise<Types.DevopsCatalogVersion>;
6069
+ retrieveTestPlan: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlanGetData>) => Promise<Types.DevopsTestPlan>;
6070
+ segments: {
6071
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsCreateData>) => Promise<Types.DevopsSegment>;
6072
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsListData>) => Promise<Types.DevopsSegmentPage>;
6073
+ };
4278
6074
  targets: {
4279
6075
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsTargetsListData>) => Promise<Types.DevopsTargetPage>;
4280
6076
  refresh: (options: import("./core/transport.js").CallOptions<Types.DevopsTargetsRefreshData>) => Promise<Types.DevopsTargetCatalog>;
@@ -4296,10 +6092,21 @@ export declare function createDevops(transport: Transport): {
4296
6092
  testSuites: {
4297
6093
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestSuitesListData>) => Promise<Types.DevopsSuitePage>;
4298
6094
  };
6095
+ units: {
6096
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsCreateData>) => Promise<Types.DevopsUnit>;
6097
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsListData>) => Promise<Types.DevopsUnitPage>;
6098
+ };
6099
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsUpdateData>) => Promise<Types.DevopsProject>;
6100
+ workspaces: {
6101
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesListData>) => Promise<Types.DevopsWorkspaceList>;
6102
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesGetData>) => Promise<Types.DevopsWorkspace>;
6103
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesUpdateData>) => Promise<Types.DevopsWorkspace>;
6104
+ };
4299
6105
  };
4300
6106
  promotions: {
4301
6107
  approve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsApproveData>) => Promise<Types.DevopsPromotion>;
4302
6108
  cancel: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCancelData>) => Promise<Types.DevopsPromotion>;
6109
+ checkoutCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCheckoutCredentialData>) => Promise<Types.DevopsCheckoutCredential>;
4303
6110
  conclude: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsConcludeData>) => Promise<Types.DevopsPromotion>;
4304
6111
  create: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCreateData>) => Promise<Types.DevopsPromotion>;
4305
6112
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsGetData>) => Promise<Types.DevopsPromotion>;
@@ -4308,6 +6115,16 @@ export declare function createDevops(transport: Transport): {
4308
6115
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsRolloutsListData>) => Promise<Types.DevopsRolloutPage>;
4309
6116
  };
4310
6117
  };
6118
+ pullRequests: {
6119
+ close: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsCloseData>) => Promise<Types.DevopsPullRequest>;
6120
+ merge: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsMergeData>) => Promise<Types.DevopsPullRequest>;
6121
+ recordVerdict: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRecordVerdictData>) => Promise<Types.DevopsPullRequest>;
6122
+ rerunGate: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRerunGateData>) => Promise<Types.DevopsPullRequest>;
6123
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsGetData>) => Promise<Types.DevopsPullRequest>;
6124
+ reviews: {
6125
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsReviewsCreateData>) => Promise<Types.DevopsPullRequest>;
6126
+ };
6127
+ };
4311
6128
  releases: {
4312
6129
  abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesAbandonData>) => Promise<Types.DevopsRelease>;
4313
6130
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesGetData>) => Promise<Types.DevopsRelease>;
@@ -4315,6 +6132,9 @@ export declare function createDevops(transport: Transport): {
4315
6132
  rollouts: {
4316
6133
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsRolloutsGetData>) => Promise<Types.DevopsRollout>;
4317
6134
  };
6135
+ segments: {
6136
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsUpdateData>) => Promise<Types.DevopsSegment>;
6137
+ };
4318
6138
  testCases: {
4319
6139
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCasesGetData>) => Promise<Types.DevopsTestCase>;
4320
6140
  };
@@ -4332,10 +6152,24 @@ export declare function createDevops(transport: Transport): {
4332
6152
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestExecutionsGetData>) => Promise<Types.DevopsExecution>;
4333
6153
  };
4334
6154
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsGetData>) => Promise<Types.DevopsRun>;
6155
+ retryFailed: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsRetryFailedData>) => Promise<Types.DevopsRun>;
4335
6156
  };
4336
6157
  testSuites: {
4337
6158
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestSuitesGetData>) => Promise<Types.DevopsSuite>;
4338
6159
  };
6160
+ units: {
6161
+ connect: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsConnectData>) => Promise<Types.DevopsUnitConnectResult>;
6162
+ delete: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsDeleteData>) => Promise<Types.DevopsUnitDeleted>;
6163
+ exec: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsExecData>) => Promise<Types.DevopsUnitExecResult>;
6164
+ fetch: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsFetchData>) => Promise<Types.DevopsUnit>;
6165
+ push: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsPushData>) => Promise<Types.DevopsUnitPushResult>;
6166
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsGetData>) => Promise<Types.DevopsUnit>;
6167
+ start: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsStartData>) => Promise<Types.DevopsUnit>;
6168
+ stop: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsStopData>) => Promise<Types.DevopsUnit>;
6169
+ transitions: {
6170
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsTransitionsListData>) => Promise<Types.DevopsUnitTransitionPage>;
6171
+ };
6172
+ };
4339
6173
  };
4340
6174
  export declare function createFile(transport: Transport): {
4341
6175
  files: {
@@ -4426,12 +6260,19 @@ export declare function createMedia(transport: Transport): {
4426
6260
  };
4427
6261
  libraries: {
4428
6262
  assets: {
6263
+ align: {
6264
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaAlignAssetData>) => Promise<Types.MediaJob>;
6265
+ };
4429
6266
  batch: (options: import("./core/transport.js").CallOptions<Types.MediaBatchAssetsData>) => Promise<Types.MediaJob>;
4430
6267
  create: (options: import("./core/transport.js").CallOptions<Types.MediaUploadAssetData>) => Promise<Types.MediaUploadResult>;
4431
6268
  delete: (options: import("./core/transport.js").CallOptions<Types.MediaDeleteAssetData>) => Promise<Types.MediaDeleted>;
4432
6269
  frames: {
4433
6270
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateFrameUrlsData>) => Promise<Types.MediaFrameUrls>;
4434
6271
  };
6272
+ hls: {
6273
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaRequestHlsRenditionsData>) => Promise<Types.MediaHlsLadder>;
6274
+ list: (options: import("./core/transport.js").CallOptions<Types.MediaGetHlsRenditionsData>) => Promise<Types.MediaHlsLadder>;
6275
+ };
4435
6276
  import: {
4436
6277
  create: (options: import("./core/transport.js").CallOptions<Types.MediaImportAssetData>) => Promise<Types.MediaAsset>;
4437
6278
  };
@@ -4444,6 +6285,9 @@ export declare function createMedia(transport: Transport): {
4444
6285
  list: (options: import("./core/transport.js").CallOptions<Types.MediaListUnderstandingsData>) => Promise<import("./automation.js").Page<Types.MediaUnderstanding>>;
4445
6286
  };
4446
6287
  update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateAssetData>) => Promise<Types.MediaAsset>;
6288
+ versions: {
6289
+ restore: (options: import("./core/transport.js").CallOptions<Types.MediaRestoreAssetVersionData>) => Promise<Types.MediaAsset>;
6290
+ };
4447
6291
  };
4448
6292
  batches: {
4449
6293
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateBatchData>) => Promise<Types.MediaJob>;
@@ -4466,6 +6310,11 @@ export declare function createMedia(transport: Transport): {
4466
6310
  retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetJobData>) => Promise<Types.MediaJob>;
4467
6311
  };
4468
6312
  list: (options?: import("./core/transport.js").CallOptions<Types.MediaListLibrariesData> | undefined) => Promise<import("./automation.js").Page<Types.MediaLibrary>>;
6313
+ materials: {
6314
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateMaterialData>) => Promise<Types.MediaMaterial>;
6315
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetMaterialData>) => Promise<Types.MediaMaterial>;
6316
+ update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateMaterialData>) => Promise<Types.MediaMaterial>;
6317
+ };
4469
6318
  purge: {
4470
6319
  create: (options: import("./core/transport.js").CallOptions<Types.MediaPurgeLibraryData>) => Promise<Types.MediaPurgedLibrary>;
4471
6320
  };
@@ -4490,6 +6339,12 @@ export declare function createMedia(transport: Transport): {
4490
6339
  retrieveFailureSummary: (options: import("./core/transport.js").CallOptions<Types.MediaUnderstandingFailureSummaryData>) => Promise<Types.MediaFailureSummary>;
4491
6340
  };
4492
6341
  update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateLibraryData>) => Promise<Types.MediaLibrary>;
6342
+ voices: {
6343
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateVoiceData>) => Promise<Types.MediaJob>;
6344
+ designs: {
6345
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaDesignVoiceData>) => Promise<Types.MediaJob>;
6346
+ };
6347
+ };
4493
6348
  };
4494
6349
  speech: {
4495
6350
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateSpeechData>) => Promise<Types.MediaJob>;
@@ -4696,7 +6551,35 @@ export declare function createModel(transport: Transport): {
4696
6551
  countTokens: (options: import("./core/transport.js").CallOptions<Types.CountTokensData>) => Promise<Types.AnthropicMessageTokensCount>;
4697
6552
  create: import("./core/bindings.js").MixedMethod<Types.CreateMessageData, Types.AnthropicMessage, Types.PraxisSdkSsePostModelV1Messages>;
4698
6553
  };
6554
+ modelAccess: {
6555
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListModelAccessData> | undefined) => Promise<{
6556
+ items: Array<{
6557
+ model: string;
6558
+ access_required: boolean;
6559
+ granted: boolean;
6560
+ granted_by: string | null;
6561
+ granted_at: string | null;
6562
+ sell_input_price: number | null;
6563
+ sell_output_price: number | null;
6564
+ }>;
6565
+ }>;
6566
+ };
4699
6567
  models: {
6568
+ access: {
6569
+ delete: (options: import("./core/transport.js").CallOptions<Types.DisableModelAccessData>) => Promise<{
6570
+ model: string;
6571
+ revoked: true;
6572
+ }>;
6573
+ update: (options: import("./core/transport.js").CallOptions<Types.EnableModelAccessData>) => Promise<{
6574
+ model: string;
6575
+ access_required: boolean;
6576
+ granted: true;
6577
+ granted_by: string;
6578
+ granted_at: string;
6579
+ sell_input_price: number | null;
6580
+ sell_output_price: number | null;
6581
+ }>;
6582
+ };
4700
6583
  list: (options?: import("./core/transport.js").CallOptions<Types.ListModelsData> | undefined) => Promise<{
4701
6584
  object: "list";
4702
6585
  data: Array<{
@@ -4711,6 +6594,7 @@ export declare function createModel(transport: Transport): {
4711
6594
  type: "language" | "image" | "embedding" | "ocr" | "transcription" | "speech" | "video" | "reranking";
4712
6595
  supported_apis: Array<string>;
4713
6596
  tags: Array<string>;
6597
+ access_required: boolean;
4714
6598
  architecture: {
4715
6599
  modality: string;
4716
6600
  input_modalities: Array<string>;
@@ -4757,6 +6641,7 @@ export declare function createModel(transport: Transport): {
4757
6641
  type: "language" | "image" | "embedding" | "ocr" | "transcription" | "speech" | "video" | "reranking";
4758
6642
  supported_apis: Array<string>;
4759
6643
  tags: Array<string>;
6644
+ access_required: boolean;
4760
6645
  architecture: {
4761
6646
  modality: string;
4762
6647
  input_modalities: Array<string>;
@@ -4983,6 +6868,7 @@ export declare function createModel(transport: Transport): {
4983
6868
  unsigned_urls: Array<string>;
4984
6869
  usage?: {
4985
6870
  cost: number;
6871
+ billed_seconds?: number;
4986
6872
  };
4987
6873
  }>;
4988
6874
  delete: (options: import("./core/transport.js").CallOptions<Types.DeleteVideoData>) => Promise<{
@@ -5013,6 +6899,7 @@ export declare function createModel(transport: Transport): {
5013
6899
  unsigned_urls: Array<string>;
5014
6900
  usage?: {
5015
6901
  cost: number;
6902
+ billed_seconds?: number;
5016
6903
  };
5017
6904
  }>;
5018
6905
  has_more: boolean;
@@ -5041,6 +6928,7 @@ export declare function createModel(transport: Transport): {
5041
6928
  unsigned_urls: Array<string>;
5042
6929
  usage?: {
5043
6930
  cost: number;
6931
+ billed_seconds?: number;
5044
6932
  };
5045
6933
  }>;
5046
6934
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.DownloadVideoContentData>) => Promise<Blob | File>;
@@ -5078,6 +6966,23 @@ export declare function createOntology(transport: Transport): {
5078
6966
  };
5079
6967
  };
5080
6968
  export declare function createOrganization(transport: Transport): {
6969
+ actors: {
6970
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationActorsData> | undefined) => Promise<Types.OrganizationActorList>;
6971
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationActorData>) => Promise<Types.OrganizationPositionChain>;
6972
+ };
6973
+ assignments: {
6974
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationAssignmentsData> | undefined) => Promise<Types.OrganizationAssignmentList>;
6975
+ makePrimary: {
6976
+ create: (options: import("./core/transport.js").CallOptions<Types.MakePrimaryOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
6977
+ };
6978
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
6979
+ terminate: {
6980
+ create: (options: import("./core/transport.js").CallOptions<Types.TerminateOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
6981
+ };
6982
+ transfer: {
6983
+ create: (options: import("./core/transport.js").CallOptions<Types.TransferOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
6984
+ };
6985
+ };
5081
6986
  charges: {
5082
6987
  list: (options: import("./core/transport.js").CallOptions<Types.ExportOrganizationChargesData>) => Promise<{
5083
6988
  ChargePeriodStart: string;
@@ -5119,6 +7024,19 @@ export declare function createOrganization(transport: Transport): {
5119
7024
  next_page: string | null;
5120
7025
  }>;
5121
7026
  };
7027
+ departments: {
7028
+ create: (options: import("./core/transport.js").CallOptions<Types.EstablishOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
7029
+ dissolve: {
7030
+ create: (options: import("./core/transport.js").CallOptions<Types.DissolveOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
7031
+ };
7032
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationDepartmentsData> | undefined) => Promise<Types.OrganizationDepartmentList>;
7033
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
7034
+ update: (options: import("./core/transport.js").CallOptions<Types.ReorganizeOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
7035
+ updateCharter: (options: import("./core/transport.js").CallOptions<Types.AmendOrganizationDepartmentCharterData>) => Promise<Types.OrganizationDepartment>;
7036
+ };
7037
+ effectiveSpec: {
7038
+ retrieve: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationEffectiveSpecData> | undefined) => Promise<Types.OrganizationEffectiveSpec>;
7039
+ };
5122
7040
  events: {
5123
7041
  list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationEventsData>) => Promise<{
5124
7042
  object: "page";
@@ -5321,6 +7239,27 @@ export declare function createOrganization(transport: Transport): {
5321
7239
  }>;
5322
7240
  }>;
5323
7241
  };
7242
+ jobs: {
7243
+ create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationJobData>) => Promise<Types.OrganizationJob>;
7244
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationJobsData> | undefined) => Promise<Types.OrganizationJobList>;
7245
+ retire: {
7246
+ create: (options: import("./core/transport.js").CallOptions<Types.RetireOrganizationJobData>) => Promise<Types.OrganizationJob>;
7247
+ };
7248
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationJobData>) => Promise<Types.OrganizationJob>;
7249
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationJobData>) => Promise<Types.OrganizationJob>;
7250
+ };
7251
+ keyResults: {
7252
+ create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
7253
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationKeyResultsData> | undefined) => Promise<Types.OrganizationKeyResultList>;
7254
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
7255
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
7256
+ };
7257
+ ladders: {
7258
+ create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
7259
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationLaddersData> | undefined) => Promise<Types.OrganizationLadderList>;
7260
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
7261
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
7262
+ };
5324
7263
  members: {
5325
7264
  list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationMembersData> | undefined) => Promise<{
5326
7265
  data: Array<{
@@ -5334,6 +7273,72 @@ export declare function createOrganization(transport: Transport): {
5334
7273
  next_page: string | null;
5335
7274
  }>;
5336
7275
  };
7276
+ objectives: {
7277
+ create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
7278
+ grade: {
7279
+ create: (options: import("./core/transport.js").CallOptions<Types.GradeOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
7280
+ };
7281
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationObjectivesData> | undefined) => Promise<Types.OrganizationObjectiveList>;
7282
+ parents: {
7283
+ update: (options: import("./core/transport.js").CallOptions<Types.AlignOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
7284
+ };
7285
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
7286
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
7287
+ };
7288
+ periods: {
7289
+ close: {
7290
+ create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
7291
+ };
7292
+ create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
7293
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPeriodsData> | undefined) => Promise<Types.OrganizationPeriodList>;
7294
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
7295
+ };
7296
+ positions: {
7297
+ close: {
7298
+ create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7299
+ };
7300
+ create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPositionsData>) => Promise<Types.OrganizationPositionBatch>;
7301
+ designateHead: {
7302
+ create: (options: import("./core/transport.js").CallOptions<Types.DesignateOrganizationPositionHeadData>) => Promise<Types.OrganizationDepartment>;
7303
+ };
7304
+ freeze: {
7305
+ create: (options: import("./core/transport.js").CallOptions<Types.FreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7306
+ };
7307
+ hire: {
7308
+ create: (options: import("./core/transport.js").CallOptions<Types.HireOrganizationPositionData>) => Promise<Types.OrganizationAssignment>;
7309
+ };
7310
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPositionsData> | undefined) => Promise<Types.OrganizationPositionList>;
7311
+ replaceHolder: {
7312
+ create: (options: import("./core/transport.js").CallOptions<Types.ReplaceOrganizationPositionHolderData>) => Promise<Types.OrganizationAssignment>;
7313
+ };
7314
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7315
+ unfreeze: {
7316
+ create: (options: import("./core/transport.js").CallOptions<Types.UnfreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7317
+ };
7318
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7319
+ updateLevel: (options: import("./core/transport.js").CallOptions<Types.RegradeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7320
+ updateManager: (options: import("./core/transport.js").CallOptions<Types.ReassignOrganizationPositionManagerData>) => Promise<Types.OrganizationPosition>;
7321
+ };
7322
+ reconcile: {
7323
+ pause: (options: import("./core/transport.js").CallOptions<Types.PauseOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
7324
+ resume: (options: import("./core/transport.js").CallOptions<Types.ResumeOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
7325
+ retrievePlan: (options: import("./core/transport.js").CallOptions<Types.PlanOrganizationReconcileData>) => Promise<Types.OrganizationReconcilePlan>;
7326
+ run: {
7327
+ create: (options: import("./core/transport.js").CallOptions<Types.RunOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
7328
+ };
7329
+ status: {
7330
+ list: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationReconcileStatusData>) => Promise<Types.OrganizationReconcileStatus>;
7331
+ };
7332
+ };
7333
+ specs: {
7334
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecsData> | undefined) => Promise<Types.OrganizationSpecList>;
7335
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationSpecData>) => Promise<Types.OrganizationSpec>;
7336
+ retrieveDiff: (options: import("./core/transport.js").CallOptions<Types.DiffOrganizationSpecData>) => Promise<Types.OrganizationSpecDiff>;
7337
+ revisions: {
7338
+ list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecRevisionsData>) => Promise<Types.OrganizationSpecRevisionList>;
7339
+ };
7340
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationSpecData>) => Promise<Types.OrganizationSpec>;
7341
+ };
5337
7342
  usage: {
5338
7343
  list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationUsageData>) => Promise<{
5339
7344
  object: "page";
@@ -5357,13 +7362,163 @@ export declare function createOrganization(transport: Transport): {
5357
7362
  }>;
5358
7363
  };
5359
7364
  };
7365
+ export declare function createRegistry(transport: Transport): {
7366
+ installations: {
7367
+ delete: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsDeleteData>) => Promise<Types.RegistryDeletedInstallation>;
7368
+ update: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsUpdateData>) => Promise<Types.RegistryInstallation>;
7369
+ };
7370
+ packages: {
7371
+ git: {
7372
+ commits: {
7373
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCommitsRetrieveData>) => Promise<Types.RegistryGitCommitDetail>;
7374
+ };
7375
+ files: {
7376
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitFilesRetrieveData>) => Promise<Blob | File>;
7377
+ };
7378
+ refs: {
7379
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryGitRefsData>) => Promise<Types.RegistryGitRefs>;
7380
+ };
7381
+ retrieveCompare: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCompareData>) => Promise<Types.RegistryGitComparison>;
7382
+ retrieveLog: (options: import("./core/transport.js").CallOptions<Types.RegistryGitLogData>) => Promise<Types.RegistryGitLog>;
7383
+ retrieveResolve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitResolveData>) => Promise<Types.RegistryGitResolvedRef>;
7384
+ trees: {
7385
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRetrieveData>) => Promise<Types.RegistryGitTree>;
7386
+ retrieveRecursive: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRecursiveData>) => Promise<Types.RegistryGitTreeRecursive>;
7387
+ };
7388
+ };
7389
+ gitCredential: {
7390
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesGitCredentialCreateData>) => Promise<Types.RegistryGitCredential>;
7391
+ };
7392
+ installations: {
7393
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsCreateData>) => Promise<Types.RegistryInstallResult>;
7394
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsListData>) => Promise<Types.RegistryInstallationList>;
7395
+ };
7396
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesRetrieveData>) => Promise<Types.RegistryPackage>;
7397
+ versions: {
7398
+ contents: {
7399
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsContentsData>) => Promise<Types.RegistryFileEntryPage>;
7400
+ };
7401
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsCreateData>) => Promise<Types.RegistryVersion>;
7402
+ files: {
7403
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsFilesRetrieveData>) => Promise<Blob | File>;
7404
+ };
7405
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsListData>) => Promise<import("./automation.js").Page<Types.RegistryVersion>>;
7406
+ retrieveArchive: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsArchiveData>) => Promise<Blob | File>;
7407
+ withdraw: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsWithdrawData>) => Promise<Types.RegistryVersion>;
7408
+ };
7409
+ };
7410
+ repositories: {
7411
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesCreateData>) => Promise<Types.RegistryRepository>;
7412
+ delete: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesDeleteData>) => Promise<Types.RegistryDeletedRepository>;
7413
+ list: (options?: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesListData> | undefined) => Promise<import("./automation.js").Page<Types.RegistryRepository>>;
7414
+ packages: {
7415
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesPackagesCreateData>) => Promise<Types.RegistryPackage>;
7416
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesPackagesListData>) => Promise<import("./automation.js").Page<Types.RegistryPackage>>;
7417
+ };
7418
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesRetrieveData>) => Promise<Types.RegistryRepository>;
7419
+ update: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesUpdateData>) => Promise<Types.RegistryRepository>;
7420
+ };
7421
+ };
5360
7422
  export declare function createSandbox(transport: Transport): {
7423
+ byod: {
7424
+ devices: {
7425
+ disconnect: {
7426
+ create: (options: import("./core/transport.js").CallOptions<Types.DisconnectByodDeviceData>) => Promise<{
7427
+ id: string;
7428
+ object: "byod_device";
7429
+ disconnected: true;
7430
+ }>;
7431
+ };
7432
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListByodDevicesData> | undefined) => Promise<{
7433
+ data: Array<{
7434
+ object: "byod_device";
7435
+ id: string;
7436
+ platform: "android" | "macos" | "linux";
7437
+ name: string;
7438
+ model: string;
7439
+ os_version: string;
7440
+ online: boolean;
7441
+ last_seen_at: string | null;
7442
+ created_at: string;
7443
+ capabilities: Array<"display" | "agent">;
7444
+ agent_dirs: Array<string>;
7445
+ allow_bypass: boolean;
7446
+ }>;
7447
+ }>;
7448
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodDeviceData>) => Promise<{
7449
+ object: "byod_device";
7450
+ id: string;
7451
+ platform: "android" | "macos" | "linux";
7452
+ name: string;
7453
+ model: string;
7454
+ os_version: string;
7455
+ online: boolean;
7456
+ last_seen_at: string | null;
7457
+ created_at: string;
7458
+ capabilities: Array<"display" | "agent">;
7459
+ agent_dirs: Array<string>;
7460
+ allow_bypass: boolean;
7461
+ }>;
7462
+ update: (options: import("./core/transport.js").CallOptions<Types.UpdateByodDeviceData>) => Promise<{
7463
+ object: "byod_device";
7464
+ id: string;
7465
+ platform: "android" | "macos" | "linux";
7466
+ name: string;
7467
+ model: string;
7468
+ os_version: string;
7469
+ online: boolean;
7470
+ last_seen_at: string | null;
7471
+ created_at: string;
7472
+ capabilities: Array<"display" | "agent">;
7473
+ agent_dirs: Array<string>;
7474
+ allow_bypass: boolean;
7475
+ }>;
7476
+ };
7477
+ pairings: {
7478
+ claim: {
7479
+ create: (options: import("./core/transport.js").CallOptions<Types.ClaimByodPairingData>) => Promise<{
7480
+ device_id: string;
7481
+ credential: string;
7482
+ socket_url: string;
7483
+ }>;
7484
+ };
7485
+ create: (options?: import("./core/transport.js").CallOptions<Types.CreateByodPairingData> | undefined) => Promise<{
7486
+ code: string;
7487
+ expires_at: string;
7488
+ qr: string;
7489
+ }>;
7490
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodPairingData>) => Promise<{
7491
+ organization_name: string;
7492
+ expires_at: string;
7493
+ }>;
7494
+ };
7495
+ };
5361
7496
  events: {
5362
7497
  sandboxes: {
5363
7498
  retrieve: (options: import("./core/transport.js").CallOptions<Types.GetSandboxEventsData>) => Promise<Types.SandboxSandboxEvent[]>;
5364
7499
  };
5365
7500
  };
5366
7501
  sandboxes: {
7502
+ act: (options: import("./core/transport.js").CallOptions<Types.ActOnSandboxDisplayData>) => Promise<{
7503
+ type: "snapshot";
7504
+ snapshot: string;
7505
+ refs: number;
7506
+ truncated: boolean;
7507
+ package: string;
7508
+ } | {
7509
+ type: "screenshot";
7510
+ mediaType: string;
7511
+ data: string;
7512
+ width: number;
7513
+ height: number;
7514
+ bytes: number;
7515
+ } | {
7516
+ type: "ok";
7517
+ ms?: number;
7518
+ } | {
7519
+ type: "wait";
7520
+ ms: number;
7521
+ }>;
5367
7522
  commands: {
5368
7523
  run: (options: import("./core/transport.js").CallOptions<Types.RunSandboxCommandData>) => Promise<{
5369
7524
  stdout: string;
@@ -5593,6 +7748,14 @@ export declare function createSearch(transport: Transport): {
5593
7748
  }>;
5594
7749
  };
5595
7750
  };
7751
+ export declare function createShare(transport: Transport): {
7752
+ permissions: {
7753
+ create: (options: import("./core/transport.js").CallOptions<Types.ShareCreatePermissionData>) => Promise<Types.ShareSharePermission>;
7754
+ delete: (options: import("./core/transport.js").CallOptions<Types.ShareDeletePermissionData>) => Promise<void>;
7755
+ list: (options?: import("./core/transport.js").CallOptions<Types.ShareListPermissionsData> | undefined) => Promise<Types.ShareSharePermissionPage>;
7756
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ShareRetrievePermissionData>) => Promise<Types.ShareSharePermission>;
7757
+ };
7758
+ };
5596
7759
  export declare function createStudio(transport: Transport): {
5597
7760
  codexes: {
5598
7761
  create: (options: import("./core/transport.js").CallOptions<Types.StudioCodexesCreateData>) => Promise<Types.StudioCodex>;
@@ -5884,9 +8047,12 @@ export declare const resourceFactories: {
5884
8047
  agent: typeof createAgent;
5885
8048
  application: typeof createApplication;
5886
8049
  automation: typeof createAutomation;
8050
+ billing: typeof createBilling;
5887
8051
  browser: typeof createBrowser;
5888
8052
  canvas: typeof createCanvas;
8053
+ content: typeof createContent;
5889
8054
  crm: typeof createCrm;
8055
+ customer: typeof createCustomer;
5890
8056
  cut: typeof createCut;
5891
8057
  database: typeof createDatabase;
5892
8058
  devops: typeof createDevops;
@@ -5897,8 +8063,10 @@ export declare const resourceFactories: {
5897
8063
  model: typeof createModel;
5898
8064
  ontology: typeof createOntology;
5899
8065
  organization: typeof createOrganization;
8066
+ registry: typeof createRegistry;
5900
8067
  sandbox: typeof createSandbox;
5901
8068
  search: typeof createSearch;
8069
+ share: typeof createShare;
5902
8070
  studio: typeof createStudio;
5903
8071
  ticket: typeof createTicket;
5904
8072
  vault: typeof createVault;