@deepraxis/sdk 0.1.1-dev.cf193b8 → 0.1.1-dev.d14b4f9

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,275 @@ 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
+ id: string;
662
+ type: "user.tool_confirmation";
663
+ processed_at: string;
664
+ tool_use_id: string;
665
+ result: "allow";
666
+ answers: {
667
+ [key: string]: string;
668
+ };
669
+ annotations?: {
670
+ [key: string]: {
671
+ preview?: string;
672
+ notes?: string;
673
+ };
674
+ };
675
+ }>;
676
+ next_page: string | null;
677
+ }>;
678
+ send: (options: import("./core/transport.js").CallOptions<Types.SendAgentEventsData>) => Promise<{
679
+ data?: Array<{
680
+ id: string;
681
+ content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
682
+ type: "user.message";
683
+ processed_at?: null | string;
684
+ praxis_context?: {
685
+ items: Array<{
686
+ name: string;
687
+ value: string;
688
+ }>;
689
+ };
690
+ } | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged238 | Types.AgentManaged243 | Types.AgentManaged247 | {
691
+ id: string;
692
+ type: "user.steer";
693
+ event_id: string;
694
+ processed_at: string;
695
+ } | {
696
+ id: string;
697
+ type: "user.tool_confirmation";
698
+ processed_at: string;
699
+ tool_use_id: string;
700
+ result: "allow";
701
+ answers: {
702
+ [key: string]: string;
703
+ };
704
+ annotations?: {
705
+ [key: string]: {
706
+ preview?: string;
707
+ notes?: string;
708
+ };
709
+ };
710
+ }>;
711
+ }>;
712
+ stream: (options: import("./core/transport.js").StreamOptions<Types.StreamAgentEventsData>) => AsyncIterable<Types.AgentSseEvent>;
713
+ };
714
+ inbox: {
715
+ letters: {
716
+ list: (options: import("./core/transport.js").CallOptions<Types.ListAgentInboxLettersData>) => Promise<{
717
+ unread: number;
718
+ letters: Array<{
719
+ id: string;
720
+ sender: string;
721
+ summary: string;
722
+ thread: string | null;
723
+ create_time: string;
724
+ }>;
725
+ }>;
726
+ };
727
+ };
468
728
  list: (options?: import("./core/transport.js").CallOptions<Types.AgentsListData> | undefined) => Promise<{
469
729
  data: Array<{
470
730
  id: string;
@@ -480,6 +740,7 @@ export declare function createAgent(transport: Transport): {
480
740
  speed?: "standard" | "fast";
481
741
  settings?: {
482
742
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
743
+ max_output_tokens?: number;
483
744
  };
484
745
  };
485
746
  multiagent?: null | Types.AgentManaged39;
@@ -504,18 +765,25 @@ export declare function createAgent(transport: Transport): {
504
765
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
505
766
  id: string;
506
767
  access: "read_only" | "read_write" | "invoke";
768
+ customer_access?: "read_only" | "read_write" | "invoke";
507
769
  instructions?: string;
508
770
  readonly verified?: boolean;
509
771
  enabled?: boolean;
510
772
  } | {
511
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
773
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
512
774
  readonly verified?: boolean;
513
775
  enabled?: boolean;
514
776
  }>;
515
- kind: "general" | "personal" | "service" | "assume";
777
+ kind: "general" | "service" | "assume";
778
+ computers?: {
779
+ default: string;
780
+ allowed: Array<{
781
+ template: string;
782
+ name: string;
783
+ }>;
784
+ };
516
785
  computer_id?: string;
517
786
  subagent_model?: string | null;
518
- image_model?: string | null;
519
787
  subagents?: Array<{
520
788
  name: string;
521
789
  description: string;
@@ -606,6 +874,7 @@ export declare function createAgent(transport: Transport): {
606
874
  allowManagedHooksOnly?: boolean;
607
875
  allowManagedMcpServersOnly?: boolean;
608
876
  allowManagedPermissionRulesOnly?: boolean;
877
+ idleCompaction?: boolean;
609
878
  autoMemoryEnabled?: boolean;
610
879
  disabled?: {
611
880
  subagents?: Array<string>;
@@ -614,7 +883,6 @@ export declare function createAgent(transport: Transport): {
614
883
  mcpServers?: Array<string>;
615
884
  hooks?: Array<string>;
616
885
  };
617
- idleCompaction?: boolean;
618
886
  outputStyle?: string;
619
887
  } | null;
620
888
  models?: {
@@ -622,6 +890,7 @@ export declare function createAgent(transport: Transport): {
622
890
  };
623
891
  avatar: string | null;
624
892
  creation_source: string | null;
893
+ managed_by: string | null;
625
894
  identity_number: string | null;
626
895
  environment_id?: string | null;
627
896
  vault_ids?: Array<string>;
@@ -635,6 +904,34 @@ export declare function createAgent(transport: Transport): {
635
904
  }>;
636
905
  next_page: string | null;
637
906
  }>;
907
+ phone: {
908
+ release: (options: import("./core/transport.js").CallOptions<Types.AgentsPhoneReleaseData>) => Promise<{
909
+ object: "agent_phone";
910
+ agent_id: string;
911
+ configured: boolean;
912
+ state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing" | "online" | "offline";
913
+ sku: string | null;
914
+ byod_device: string | null;
915
+ name: string | null;
916
+ sandbox_id: string | null;
917
+ lease_ends_at: string | null;
918
+ archived_at: string | null;
919
+ archive_error: string | null;
920
+ }>;
921
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.AgentsPhoneRetrieveData>) => Promise<{
922
+ object: "agent_phone";
923
+ agent_id: string;
924
+ configured: boolean;
925
+ state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing" | "online" | "offline";
926
+ sku: string | null;
927
+ byod_device: string | null;
928
+ name: string | null;
929
+ sandbox_id: string | null;
930
+ lease_ends_at: string | null;
931
+ archived_at: string | null;
932
+ archive_error: string | null;
933
+ }>;
934
+ };
638
935
  retrieve: (options: import("./core/transport.js").CallOptions<Types.AgentsRetrieveData>) => Promise<{
639
936
  id: string;
640
937
  archived_at: null | string;
@@ -649,6 +946,7 @@ export declare function createAgent(transport: Transport): {
649
946
  speed?: "standard" | "fast";
650
947
  settings?: {
651
948
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
949
+ max_output_tokens?: number;
652
950
  };
653
951
  };
654
952
  multiagent?: null | Types.AgentManaged39;
@@ -674,18 +972,25 @@ export declare function createAgent(transport: Transport): {
674
972
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
675
973
  id: string;
676
974
  access: "read_only" | "read_write" | "invoke";
975
+ customer_access?: "read_only" | "read_write" | "invoke";
677
976
  instructions?: string;
678
977
  readonly verified?: boolean;
679
978
  enabled?: boolean;
680
979
  } | {
681
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
980
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
682
981
  readonly verified?: boolean;
683
982
  enabled?: boolean;
684
983
  }>;
685
- kind: "general" | "personal" | "service" | "assume";
984
+ kind: "general" | "service" | "assume";
985
+ computers?: {
986
+ default: string;
987
+ allowed: Array<{
988
+ template: string;
989
+ name: string;
990
+ }>;
991
+ };
686
992
  computer_id?: string;
687
993
  subagent_model?: string | null;
688
- image_model?: string | null;
689
994
  subagents?: Array<{
690
995
  name: string;
691
996
  description: string;
@@ -776,6 +1081,7 @@ export declare function createAgent(transport: Transport): {
776
1081
  allowManagedHooksOnly?: boolean;
777
1082
  allowManagedMcpServersOnly?: boolean;
778
1083
  allowManagedPermissionRulesOnly?: boolean;
1084
+ idleCompaction?: boolean;
779
1085
  autoMemoryEnabled?: boolean;
780
1086
  disabled?: {
781
1087
  subagents?: Array<string>;
@@ -784,7 +1090,6 @@ export declare function createAgent(transport: Transport): {
784
1090
  mcpServers?: Array<string>;
785
1091
  hooks?: Array<string>;
786
1092
  };
787
- idleCompaction?: boolean;
788
1093
  outputStyle?: string;
789
1094
  } | null;
790
1095
  models?: {
@@ -792,6 +1097,7 @@ export declare function createAgent(transport: Transport): {
792
1097
  };
793
1098
  avatar: string | null;
794
1099
  creation_source: string | null;
1100
+ managed_by: string | null;
795
1101
  identity_number: string | null;
796
1102
  environment_id?: string | null;
797
1103
  vault_ids?: Array<string>;
@@ -860,6 +1166,25 @@ export declare function createAgent(transport: Transport): {
860
1166
  history?: {
861
1167
  enabled?: boolean;
862
1168
  };
1169
+ uploads?: {
1170
+ enabled: boolean;
1171
+ max_file_bytes: number;
1172
+ max_files_per_session: number;
1173
+ };
1174
+ }>;
1175
+ retrieveEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.GetAgentEmbedPolicyData>) => Promise<{
1176
+ allowed_origins: Array<string>;
1177
+ allow_localhost: boolean;
1178
+ uploads: {
1179
+ enabled: boolean;
1180
+ max_file_bytes: number;
1181
+ max_files_per_session: number;
1182
+ };
1183
+ share_links: {
1184
+ enabled: boolean;
1185
+ daily_session_cap: number | null;
1186
+ daily_spend_cap_micro_usd: number | null;
1187
+ };
863
1188
  }>;
864
1189
  unarchive: {
865
1190
  create: (options: import("./core/transport.js").CallOptions<Types.UnarchiveAgentData>) => Promise<{
@@ -913,6 +1238,7 @@ export declare function createAgent(transport: Transport): {
913
1238
  speed?: "standard" | "fast";
914
1239
  settings?: {
915
1240
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1241
+ max_output_tokens?: number;
916
1242
  };
917
1243
  };
918
1244
  multiagent?: null | {
@@ -1103,18 +1429,25 @@ export declare function createAgent(transport: Transport): {
1103
1429
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1104
1430
  id: string;
1105
1431
  access: "read_only" | "read_write" | "invoke";
1432
+ customer_access?: "read_only" | "read_write" | "invoke";
1106
1433
  instructions?: string;
1107
1434
  readonly verified?: boolean;
1108
1435
  enabled?: boolean;
1109
1436
  } | {
1110
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
1437
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1111
1438
  readonly verified?: boolean;
1112
1439
  enabled?: boolean;
1113
1440
  }>;
1114
- kind: "general" | "personal" | "service" | "assume";
1441
+ kind: "general" | "service" | "assume";
1442
+ computers?: {
1443
+ default: string;
1444
+ allowed: Array<{
1445
+ template: string;
1446
+ name: string;
1447
+ }>;
1448
+ };
1115
1449
  computer_id?: string;
1116
1450
  subagent_model?: string | null;
1117
- image_model?: string | null;
1118
1451
  subagents?: Array<{
1119
1452
  name: string;
1120
1453
  description: string;
@@ -1205,6 +1538,7 @@ export declare function createAgent(transport: Transport): {
1205
1538
  allowManagedHooksOnly?: boolean;
1206
1539
  allowManagedMcpServersOnly?: boolean;
1207
1540
  allowManagedPermissionRulesOnly?: boolean;
1541
+ idleCompaction?: boolean;
1208
1542
  autoMemoryEnabled?: boolean;
1209
1543
  disabled?: {
1210
1544
  subagents?: Array<string>;
@@ -1213,7 +1547,6 @@ export declare function createAgent(transport: Transport): {
1213
1547
  mcpServers?: Array<string>;
1214
1548
  hooks?: Array<string>;
1215
1549
  };
1216
- idleCompaction?: boolean;
1217
1550
  outputStyle?: string;
1218
1551
  } | null;
1219
1552
  models?: {
@@ -1221,6 +1554,7 @@ export declare function createAgent(transport: Transport): {
1221
1554
  };
1222
1555
  avatar: string | null;
1223
1556
  creation_source: string | null;
1557
+ managed_by: string | null;
1224
1558
  identity_number: string | null;
1225
1559
  environment_id?: string | null;
1226
1560
  vault_ids?: Array<string>;
@@ -1247,6 +1581,7 @@ export declare function createAgent(transport: Transport): {
1247
1581
  speed?: "standard" | "fast";
1248
1582
  settings?: {
1249
1583
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1584
+ max_output_tokens?: number;
1250
1585
  };
1251
1586
  };
1252
1587
  multiagent?: null | Types.AgentManaged39;
@@ -1272,18 +1607,25 @@ export declare function createAgent(transport: Transport): {
1272
1607
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1273
1608
  id: string;
1274
1609
  access: "read_only" | "read_write" | "invoke";
1610
+ customer_access?: "read_only" | "read_write" | "invoke";
1275
1611
  instructions?: string;
1276
1612
  readonly verified?: boolean;
1277
1613
  enabled?: boolean;
1278
1614
  } | {
1279
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
1615
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1280
1616
  readonly verified?: boolean;
1281
1617
  enabled?: boolean;
1282
1618
  }>;
1283
- kind: "general" | "personal" | "service" | "assume";
1619
+ kind: "general" | "service" | "assume";
1620
+ computers?: {
1621
+ default: string;
1622
+ allowed: Array<{
1623
+ template: string;
1624
+ name: string;
1625
+ }>;
1626
+ };
1284
1627
  computer_id?: string;
1285
1628
  subagent_model?: string | null;
1286
- image_model?: string | null;
1287
1629
  subagents?: Array<{
1288
1630
  name: string;
1289
1631
  description: string;
@@ -1374,6 +1716,7 @@ export declare function createAgent(transport: Transport): {
1374
1716
  allowManagedHooksOnly?: boolean;
1375
1717
  allowManagedMcpServersOnly?: boolean;
1376
1718
  allowManagedPermissionRulesOnly?: boolean;
1719
+ idleCompaction?: boolean;
1377
1720
  autoMemoryEnabled?: boolean;
1378
1721
  disabled?: {
1379
1722
  subagents?: Array<string>;
@@ -1382,7 +1725,6 @@ export declare function createAgent(transport: Transport): {
1382
1725
  mcpServers?: Array<string>;
1383
1726
  hooks?: Array<string>;
1384
1727
  };
1385
- idleCompaction?: boolean;
1386
1728
  outputStyle?: string;
1387
1729
  } | null;
1388
1730
  models?: {
@@ -1390,6 +1732,7 @@ export declare function createAgent(transport: Transport): {
1390
1732
  };
1391
1733
  avatar: string | null;
1392
1734
  creation_source: string | null;
1735
+ managed_by: string | null;
1393
1736
  identity_number: string | null;
1394
1737
  environment_id?: string | null;
1395
1738
  vault_ids?: Array<string>;
@@ -1401,28 +1744,245 @@ export declare function createAgent(transport: Transport): {
1401
1744
  keep_coding_instructions?: boolean;
1402
1745
  }> | null;
1403
1746
  }>;
1747
+ updateEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.UpdateAgentEmbedPolicyData>) => Promise<{
1748
+ allowed_origins: Array<string>;
1749
+ allow_localhost: boolean;
1750
+ uploads: {
1751
+ enabled: boolean;
1752
+ max_file_bytes: number;
1753
+ max_files_per_session: number;
1754
+ };
1755
+ share_links: {
1756
+ enabled: boolean;
1757
+ daily_session_cap: number | null;
1758
+ daily_spend_cap_micro_usd: number | null;
1759
+ };
1760
+ }>;
1404
1761
  versions: {
1405
1762
  apply: (options: import("./core/transport.js").CallOptions<Types.ApplyAgentVersionData>) => Promise<{
1406
1763
  id: string;
1407
1764
  archived_at: null | string;
1408
1765
  created_at: string;
1409
1766
  description: null | string;
1410
- mcp_servers: Array<Types.AgentManaged36>;
1411
- metadata: Types.AgentManaged37;
1767
+ mcp_servers: Array<{
1768
+ type: "url";
1769
+ name: string;
1770
+ url: string;
1771
+ headers?: {
1772
+ [key: string]: string;
1773
+ };
1774
+ timeout_ms?: number;
1775
+ } | {
1776
+ type: "sse";
1777
+ name: string;
1778
+ url: string;
1779
+ headers?: {
1780
+ [key: string]: string;
1781
+ };
1782
+ timeout_ms?: number;
1783
+ } | {
1784
+ type: "stdio";
1785
+ name: string;
1786
+ command: string;
1787
+ args?: Array<string>;
1788
+ env?: {
1789
+ [key: string]: string;
1790
+ };
1791
+ timeout_ms?: number;
1792
+ }>;
1793
+ metadata: {
1794
+ [key: string]: string;
1795
+ };
1412
1796
  model?: {
1413
1797
  id: string;
1414
- effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
1798
+ effort?: {
1799
+ type: "low";
1800
+ } | {
1801
+ type: "medium";
1802
+ } | {
1803
+ type: "high";
1804
+ } | {
1805
+ type: "xhigh";
1806
+ } | {
1807
+ type: "max";
1808
+ };
1415
1809
  inference_geo?: string;
1416
1810
  speed?: "standard" | "fast";
1417
1811
  settings?: {
1418
1812
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1813
+ max_output_tokens?: number;
1814
+ };
1815
+ };
1816
+ multiagent?: null | {
1817
+ agents: Array<{
1818
+ id: string;
1819
+ type: "agent";
1820
+ version: number;
1821
+ } | {
1822
+ model: string;
1823
+ type: "advisor";
1824
+ }>;
1825
+ type: "coordinator";
1826
+ };
1827
+ name: string;
1828
+ skills: Array<{
1829
+ skill_id: string;
1830
+ type: "anthropic";
1831
+ version: string;
1832
+ } | {
1833
+ skill_id: string;
1834
+ type: "custom";
1835
+ version: string;
1836
+ }>;
1837
+ system: null | string;
1838
+ tools: Array<{
1839
+ configs: Array<{
1840
+ enabled: boolean;
1841
+ name: "bash";
1842
+ permission_policy: {
1843
+ type: "always_allow";
1844
+ } | {
1845
+ type: "always_ask";
1846
+ } | {
1847
+ type: "auto";
1848
+ };
1849
+ type: "bash";
1850
+ } | {
1851
+ enabled: boolean;
1852
+ name: "edit";
1853
+ permission_policy: {
1854
+ type: "always_allow";
1855
+ } | {
1856
+ type: "always_ask";
1857
+ } | {
1858
+ type: "auto";
1859
+ };
1860
+ type: "edit";
1861
+ } | {
1862
+ enabled: boolean;
1863
+ name: "read";
1864
+ permission_policy: {
1865
+ type: "always_allow";
1866
+ } | {
1867
+ type: "always_ask";
1868
+ } | {
1869
+ type: "auto";
1870
+ };
1871
+ type: "read";
1872
+ } | {
1873
+ enabled: boolean;
1874
+ name: "write";
1875
+ permission_policy: {
1876
+ type: "always_allow";
1877
+ } | {
1878
+ type: "always_ask";
1879
+ } | {
1880
+ type: "auto";
1881
+ };
1882
+ type: "write";
1883
+ } | {
1884
+ enabled: boolean;
1885
+ name: "glob";
1886
+ permission_policy: {
1887
+ type: "always_allow";
1888
+ } | {
1889
+ type: "always_ask";
1890
+ } | {
1891
+ type: "auto";
1892
+ };
1893
+ type: "glob";
1894
+ } | {
1895
+ enabled: boolean;
1896
+ name: "grep";
1897
+ permission_policy: {
1898
+ type: "always_allow";
1899
+ } | {
1900
+ type: "always_ask";
1901
+ } | {
1902
+ type: "auto";
1903
+ };
1904
+ type: "grep";
1905
+ } | {
1906
+ enabled: boolean;
1907
+ name: "web_fetch";
1908
+ permission_policy: {
1909
+ type: "always_allow";
1910
+ } | {
1911
+ type: "always_ask";
1912
+ } | {
1913
+ type: "auto";
1914
+ };
1915
+ type: "web_fetch";
1916
+ allowed_domains?: Array<string>;
1917
+ blocked_domains?: Array<string>;
1918
+ max_content_tokens?: null | number;
1919
+ } | {
1920
+ enabled: boolean;
1921
+ name: "web_search";
1922
+ permission_policy: {
1923
+ type: "always_allow";
1924
+ } | {
1925
+ type: "always_ask";
1926
+ } | {
1927
+ type: "auto";
1928
+ };
1929
+ type: "web_search";
1930
+ allowed_domains?: Array<string>;
1931
+ blocked_domains?: Array<string>;
1932
+ user_location?: null | {
1933
+ type: "approximate";
1934
+ city?: null | string;
1935
+ country?: null | string;
1936
+ region?: null | string;
1937
+ timezone?: null | string;
1938
+ };
1939
+ } | {
1940
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
1941
+ enabled: boolean;
1942
+ permission_policy: {
1943
+ type: "always_allow" | "always_ask";
1944
+ };
1945
+ }>;
1946
+ default_config: {
1947
+ enabled: boolean;
1948
+ permission_policy: {
1949
+ type: "always_allow";
1950
+ } | {
1951
+ type: "always_ask";
1952
+ } | {
1953
+ type: "auto";
1954
+ };
1955
+ };
1956
+ type: "agent_toolset_20260401";
1957
+ } | {
1958
+ type: "mcp_toolset";
1959
+ mcp_server_name: string;
1960
+ default_config?: {
1961
+ enabled?: boolean | null;
1962
+ permission_policy?: null | {
1963
+ type: "always_allow" | "always_ask";
1964
+ };
1965
+ } | null;
1966
+ configs?: Array<{
1967
+ name: string;
1968
+ enabled?: boolean | null;
1969
+ permission_policy?: null | {
1970
+ type: "always_allow" | "always_ask";
1971
+ };
1972
+ }> | null;
1973
+ } | {
1974
+ description: string;
1975
+ input_schema: {
1976
+ type: "object";
1977
+ properties?: null | {
1978
+ [key: string]: unknown;
1979
+ };
1980
+ required?: null | Array<string>;
1981
+ [key: string]: unknown;
1419
1982
  };
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>;
1983
+ name: string;
1984
+ type: "custom";
1985
+ }>;
1426
1986
  type: "agent";
1427
1987
  updated_at: string;
1428
1988
  version: number;
@@ -1441,18 +2001,25 @@ export declare function createAgent(transport: Transport): {
1441
2001
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1442
2002
  id: string;
1443
2003
  access: "read_only" | "read_write" | "invoke";
2004
+ customer_access?: "read_only" | "read_write" | "invoke";
1444
2005
  instructions?: string;
1445
2006
  readonly verified?: boolean;
1446
2007
  enabled?: boolean;
1447
2008
  } | {
1448
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
2009
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1449
2010
  readonly verified?: boolean;
1450
2011
  enabled?: boolean;
1451
2012
  }>;
1452
- kind: "general" | "personal" | "service" | "assume";
2013
+ kind: "general" | "service" | "assume";
2014
+ computers?: {
2015
+ default: string;
2016
+ allowed: Array<{
2017
+ template: string;
2018
+ name: string;
2019
+ }>;
2020
+ };
1453
2021
  computer_id?: string;
1454
2022
  subagent_model?: string | null;
1455
- image_model?: string | null;
1456
2023
  subagents?: Array<{
1457
2024
  name: string;
1458
2025
  description: string;
@@ -1543,6 +2110,7 @@ export declare function createAgent(transport: Transport): {
1543
2110
  allowManagedHooksOnly?: boolean;
1544
2111
  allowManagedMcpServersOnly?: boolean;
1545
2112
  allowManagedPermissionRulesOnly?: boolean;
2113
+ idleCompaction?: boolean;
1546
2114
  autoMemoryEnabled?: boolean;
1547
2115
  disabled?: {
1548
2116
  subagents?: Array<string>;
@@ -1551,7 +2119,6 @@ export declare function createAgent(transport: Transport): {
1551
2119
  mcpServers?: Array<string>;
1552
2120
  hooks?: Array<string>;
1553
2121
  };
1554
- idleCompaction?: boolean;
1555
2122
  outputStyle?: string;
1556
2123
  } | null;
1557
2124
  models?: {
@@ -1559,6 +2126,7 @@ export declare function createAgent(transport: Transport): {
1559
2126
  };
1560
2127
  avatar: string | null;
1561
2128
  creation_source: string | null;
2129
+ managed_by: string | null;
1562
2130
  identity_number: string | null;
1563
2131
  environment_id?: string | null;
1564
2132
  vault_ids?: Array<string>;
@@ -1585,6 +2153,7 @@ export declare function createAgent(transport: Transport): {
1585
2153
  speed?: "standard" | "fast";
1586
2154
  settings?: {
1587
2155
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2156
+ max_output_tokens?: number;
1588
2157
  };
1589
2158
  };
1590
2159
  multiagent?: null | Types.AgentManaged39;
@@ -1610,18 +2179,25 @@ export declare function createAgent(transport: Transport): {
1610
2179
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1611
2180
  id: string;
1612
2181
  access: "read_only" | "read_write" | "invoke";
2182
+ customer_access?: "read_only" | "read_write" | "invoke";
1613
2183
  instructions?: string;
1614
2184
  readonly verified?: boolean;
1615
2185
  enabled?: boolean;
1616
2186
  } | {
1617
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
2187
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1618
2188
  readonly verified?: boolean;
1619
2189
  enabled?: boolean;
1620
2190
  }>;
1621
- kind: "general" | "personal" | "service" | "assume";
2191
+ kind: "general" | "service" | "assume";
2192
+ computers?: {
2193
+ default: string;
2194
+ allowed: Array<{
2195
+ template: string;
2196
+ name: string;
2197
+ }>;
2198
+ };
1622
2199
  computer_id?: string;
1623
2200
  subagent_model?: string | null;
1624
- image_model?: string | null;
1625
2201
  subagents?: Array<{
1626
2202
  name: string;
1627
2203
  description: string;
@@ -1712,6 +2288,7 @@ export declare function createAgent(transport: Transport): {
1712
2288
  allowManagedHooksOnly?: boolean;
1713
2289
  allowManagedMcpServersOnly?: boolean;
1714
2290
  allowManagedPermissionRulesOnly?: boolean;
2291
+ idleCompaction?: boolean;
1715
2292
  autoMemoryEnabled?: boolean;
1716
2293
  disabled?: {
1717
2294
  subagents?: Array<string>;
@@ -1720,7 +2297,6 @@ export declare function createAgent(transport: Transport): {
1720
2297
  mcpServers?: Array<string>;
1721
2298
  hooks?: Array<string>;
1722
2299
  };
1723
- idleCompaction?: boolean;
1724
2300
  outputStyle?: string;
1725
2301
  } | null;
1726
2302
  models?: {
@@ -1728,6 +2304,7 @@ export declare function createAgent(transport: Transport): {
1728
2304
  };
1729
2305
  avatar: string | null;
1730
2306
  creation_source: string | null;
2307
+ managed_by: string | null;
1731
2308
  identity_number: string | null;
1732
2309
  environment_id?: string | null;
1733
2310
  vault_ids?: Array<string>;
@@ -1795,16 +2372,9 @@ export declare function createAgent(transport: Transport): {
1795
2372
  files: {
1796
2373
  convert: {
1797
2374
  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;
2375
+ data: string;
2376
+ mime: "application/pdf";
2377
+ cached: boolean;
1808
2378
  }>;
1809
2379
  };
1810
2380
  list: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesListData>) => Promise<{
@@ -1822,6 +2392,18 @@ export declare function createAgent(transport: Transport): {
1822
2392
  tier: "light" | "heavy";
1823
2393
  }>;
1824
2394
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesContentData>) => Promise<Blob | File>;
2395
+ retrievePreview: (options: import("./core/transport.js").CallOptions<Types.PreviewComputerFileData>) => Promise<{
2396
+ variant: "image" | "pdf" | "text" | "original";
2397
+ version?: string;
2398
+ mime_type?: string;
2399
+ size?: number;
2400
+ file_id?: string;
2401
+ url?: string;
2402
+ expires_at?: string;
2403
+ cached: boolean;
2404
+ fallback?: "content";
2405
+ skipped?: boolean;
2406
+ }>;
1825
2407
  };
1826
2408
  leases: {
1827
2409
  delete: (options: import("./core/transport.js").CallOptions<Types.ReleaseComputerLeaseData>) => Promise<{
@@ -2135,39 +2717,576 @@ export declare function createAgent(transport: Transport): {
2135
2717
  effort?: null | "low" | "medium" | "high" | "xhigh" | "max" | Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
2136
2718
  speed?: null | "standard" | "fast";
2137
2719
  };
2138
- version: number;
2139
- };
2140
- archived_at: null | string;
2141
- created_at: string;
2142
- description: null | string;
2143
- environment_id?: string | null;
2144
- initial_events: Array<Types.AgentManaged86 | Types.AgentManaged87 | Types.AgentManaged90>;
2145
- metadata: Types.AgentManaged91;
2146
- name: string;
2147
- paused_reason: null | Types.AgentManaged92 | Types.AgentManaged93;
2148
- resources: Array<Types.AgentManaged108 | Types.AgentManaged109 | Types.AgentManaged110>;
2149
- schedule: null | Types.AgentManaged111;
2150
- status: "active" | "paused";
2151
- type: "deployment";
2152
- updated_at: string;
2153
- vault_ids: Array<string>;
2154
- budget?: null | Types.AgentManaged76;
2155
- target: {
2156
- type: "environment" | "computer";
2157
- };
2158
- }>;
2159
- };
2160
- environments: {
2161
- archive: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsArchiveData>) => Promise<Types.AgentManaged138>;
2162
- create: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsCreateData>) => Promise<Types.AgentManaged138>;
2163
- list: (options?: import("./core/transport.js").CallOptions<Types.EnvironmentsListData> | undefined) => Promise<{
2164
- data: Array<Types.AgentManaged138>;
2165
- next_page: string | null;
2166
- }>;
2167
- retrieve: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsRetrieveData>) => Promise<Types.AgentManaged138>;
2168
- update: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsUpdateData>) => Promise<Types.AgentManaged138>;
2169
- };
2170
- sessions: {
2720
+ version: number;
2721
+ };
2722
+ archived_at: null | string;
2723
+ created_at: string;
2724
+ description: null | string;
2725
+ environment_id?: string | null;
2726
+ initial_events: Array<Types.AgentManaged86 | Types.AgentManaged87 | Types.AgentManaged90>;
2727
+ metadata: Types.AgentManaged91;
2728
+ name: string;
2729
+ paused_reason: null | Types.AgentManaged92 | Types.AgentManaged93;
2730
+ resources: Array<Types.AgentManaged108 | Types.AgentManaged109 | Types.AgentManaged110>;
2731
+ schedule: null | Types.AgentManaged111;
2732
+ status: "active" | "paused";
2733
+ type: "deployment";
2734
+ updated_at: string;
2735
+ vault_ids: Array<string>;
2736
+ budget?: null | Types.AgentManaged76;
2737
+ target: {
2738
+ type: "environment" | "computer";
2739
+ };
2740
+ }>;
2741
+ };
2742
+ environments: {
2743
+ archive: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsArchiveData>) => Promise<Types.AgentManaged138>;
2744
+ create: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsCreateData>) => Promise<Types.AgentManaged138>;
2745
+ list: (options?: import("./core/transport.js").CallOptions<Types.EnvironmentsListData> | undefined) => Promise<{
2746
+ data: Array<Types.AgentManaged138>;
2747
+ next_page: string | null;
2748
+ }>;
2749
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsRetrieveData>) => Promise<Types.AgentManaged138>;
2750
+ update: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsUpdateData>) => Promise<Types.AgentManaged138>;
2751
+ };
2752
+ sessions: {
2753
+ agentVersion: {
2754
+ create: (options: import("./core/transport.js").CallOptions<Types.UpdateSessionAgentVersionData>) => Promise<{
2755
+ id: string;
2756
+ agent: {
2757
+ id: string;
2758
+ description: null | string;
2759
+ mcp_servers: Array<{
2760
+ type: "url";
2761
+ name: string;
2762
+ url: string;
2763
+ headers?: {
2764
+ [key: string]: string;
2765
+ };
2766
+ timeout_ms?: number;
2767
+ } | {
2768
+ type: "sse";
2769
+ name: string;
2770
+ url: string;
2771
+ headers?: {
2772
+ [key: string]: string;
2773
+ };
2774
+ timeout_ms?: number;
2775
+ } | {
2776
+ type: "stdio";
2777
+ name: string;
2778
+ command: string;
2779
+ args?: Array<string>;
2780
+ env?: {
2781
+ [key: string]: string;
2782
+ };
2783
+ timeout_ms?: number;
2784
+ }>;
2785
+ model: {
2786
+ id: string;
2787
+ effort?: {
2788
+ type: "low";
2789
+ } | {
2790
+ type: "medium";
2791
+ } | {
2792
+ type: "high";
2793
+ } | {
2794
+ type: "xhigh";
2795
+ } | {
2796
+ type: "max";
2797
+ };
2798
+ inference_geo?: string;
2799
+ speed?: "standard" | "fast";
2800
+ settings?: {
2801
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2802
+ max_output_tokens?: number;
2803
+ };
2804
+ };
2805
+ multiagent: null | {
2806
+ agents: Array<{
2807
+ model: string;
2808
+ type: "advisor";
2809
+ } | {
2810
+ id: string;
2811
+ description: null | string;
2812
+ mcp_servers: Array<{
2813
+ type: "url";
2814
+ name: string;
2815
+ url: string;
2816
+ headers?: {
2817
+ [key: string]: string;
2818
+ };
2819
+ timeout_ms?: number;
2820
+ } | {
2821
+ type: "sse";
2822
+ name: string;
2823
+ url: string;
2824
+ headers?: {
2825
+ [key: string]: string;
2826
+ };
2827
+ timeout_ms?: number;
2828
+ } | {
2829
+ type: "stdio";
2830
+ name: string;
2831
+ command: string;
2832
+ args?: Array<string>;
2833
+ env?: {
2834
+ [key: string]: string;
2835
+ };
2836
+ timeout_ms?: number;
2837
+ }>;
2838
+ model: {
2839
+ id: string;
2840
+ effort?: {
2841
+ type: "low";
2842
+ } | {
2843
+ type: "medium";
2844
+ } | {
2845
+ type: "high";
2846
+ } | {
2847
+ type: "xhigh";
2848
+ } | {
2849
+ type: "max";
2850
+ };
2851
+ inference_geo?: string;
2852
+ speed?: "standard" | "fast";
2853
+ };
2854
+ name: string;
2855
+ skills: Array<{
2856
+ skill_id: string;
2857
+ type: "anthropic";
2858
+ version: string;
2859
+ } | {
2860
+ skill_id: string;
2861
+ type: "custom";
2862
+ version: string;
2863
+ }>;
2864
+ system: null | string;
2865
+ tools: Array<{
2866
+ configs: Array<{
2867
+ enabled: boolean;
2868
+ name: "bash";
2869
+ permission_policy: {
2870
+ type: "always_allow";
2871
+ } | {
2872
+ type: "always_ask";
2873
+ } | {
2874
+ type: "auto";
2875
+ };
2876
+ type: "bash";
2877
+ } | {
2878
+ enabled: boolean;
2879
+ name: "edit";
2880
+ permission_policy: {
2881
+ type: "always_allow";
2882
+ } | {
2883
+ type: "always_ask";
2884
+ } | {
2885
+ type: "auto";
2886
+ };
2887
+ type: "edit";
2888
+ } | {
2889
+ enabled: boolean;
2890
+ name: "read";
2891
+ permission_policy: {
2892
+ type: "always_allow";
2893
+ } | {
2894
+ type: "always_ask";
2895
+ } | {
2896
+ type: "auto";
2897
+ };
2898
+ type: "read";
2899
+ } | {
2900
+ enabled: boolean;
2901
+ name: "write";
2902
+ permission_policy: {
2903
+ type: "always_allow";
2904
+ } | {
2905
+ type: "always_ask";
2906
+ } | {
2907
+ type: "auto";
2908
+ };
2909
+ type: "write";
2910
+ } | {
2911
+ enabled: boolean;
2912
+ name: "glob";
2913
+ permission_policy: {
2914
+ type: "always_allow";
2915
+ } | {
2916
+ type: "always_ask";
2917
+ } | {
2918
+ type: "auto";
2919
+ };
2920
+ type: "glob";
2921
+ } | {
2922
+ enabled: boolean;
2923
+ name: "grep";
2924
+ permission_policy: {
2925
+ type: "always_allow";
2926
+ } | {
2927
+ type: "always_ask";
2928
+ } | {
2929
+ type: "auto";
2930
+ };
2931
+ type: "grep";
2932
+ } | {
2933
+ enabled: boolean;
2934
+ name: "web_fetch";
2935
+ permission_policy: {
2936
+ type: "always_allow";
2937
+ } | {
2938
+ type: "always_ask";
2939
+ } | {
2940
+ type: "auto";
2941
+ };
2942
+ type: "web_fetch";
2943
+ allowed_domains?: Array<string>;
2944
+ blocked_domains?: Array<string>;
2945
+ max_content_tokens?: null | number;
2946
+ } | {
2947
+ enabled: boolean;
2948
+ name: "web_search";
2949
+ permission_policy: {
2950
+ type: "always_allow";
2951
+ } | {
2952
+ type: "always_ask";
2953
+ } | {
2954
+ type: "auto";
2955
+ };
2956
+ type: "web_search";
2957
+ allowed_domains?: Array<string>;
2958
+ blocked_domains?: Array<string>;
2959
+ user_location?: null | {
2960
+ type: "approximate";
2961
+ city?: null | string;
2962
+ country?: null | string;
2963
+ region?: null | string;
2964
+ timezone?: null | string;
2965
+ };
2966
+ } | {
2967
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
2968
+ enabled: boolean;
2969
+ permission_policy: {
2970
+ type: "always_allow" | "always_ask";
2971
+ };
2972
+ }>;
2973
+ default_config: {
2974
+ enabled: boolean;
2975
+ permission_policy: {
2976
+ type: "always_allow";
2977
+ } | {
2978
+ type: "always_ask";
2979
+ } | {
2980
+ type: "auto";
2981
+ };
2982
+ };
2983
+ type: "agent_toolset_20260401";
2984
+ } | {
2985
+ type: "mcp_toolset";
2986
+ mcp_server_name: string;
2987
+ default_config?: {
2988
+ enabled?: boolean | null;
2989
+ permission_policy?: null | {
2990
+ type: "always_allow" | "always_ask";
2991
+ };
2992
+ } | null;
2993
+ configs?: Array<{
2994
+ name: string;
2995
+ enabled?: boolean | null;
2996
+ permission_policy?: null | {
2997
+ type: "always_allow" | "always_ask";
2998
+ };
2999
+ }> | null;
3000
+ } | {
3001
+ description: string;
3002
+ input_schema: {
3003
+ type: "object";
3004
+ properties?: null | {
3005
+ [key: string]: unknown;
3006
+ };
3007
+ required?: null | Array<string>;
3008
+ [key: string]: unknown;
3009
+ };
3010
+ name: string;
3011
+ type: "custom";
3012
+ }>;
3013
+ type: "agent";
3014
+ version: number;
3015
+ }>;
3016
+ type: "coordinator";
3017
+ };
3018
+ name: string;
3019
+ skills: Array<{
3020
+ skill_id: string;
3021
+ type: "anthropic";
3022
+ version: string;
3023
+ } | {
3024
+ skill_id: string;
3025
+ type: "custom";
3026
+ version: string;
3027
+ }>;
3028
+ system: null | string;
3029
+ tools: Array<{
3030
+ configs: Array<{
3031
+ enabled: boolean;
3032
+ name: "bash";
3033
+ permission_policy: {
3034
+ type: "always_allow";
3035
+ } | {
3036
+ type: "always_ask";
3037
+ } | {
3038
+ type: "auto";
3039
+ };
3040
+ type: "bash";
3041
+ } | {
3042
+ enabled: boolean;
3043
+ name: "edit";
3044
+ permission_policy: {
3045
+ type: "always_allow";
3046
+ } | {
3047
+ type: "always_ask";
3048
+ } | {
3049
+ type: "auto";
3050
+ };
3051
+ type: "edit";
3052
+ } | {
3053
+ enabled: boolean;
3054
+ name: "read";
3055
+ permission_policy: {
3056
+ type: "always_allow";
3057
+ } | {
3058
+ type: "always_ask";
3059
+ } | {
3060
+ type: "auto";
3061
+ };
3062
+ type: "read";
3063
+ } | {
3064
+ enabled: boolean;
3065
+ name: "write";
3066
+ permission_policy: {
3067
+ type: "always_allow";
3068
+ } | {
3069
+ type: "always_ask";
3070
+ } | {
3071
+ type: "auto";
3072
+ };
3073
+ type: "write";
3074
+ } | {
3075
+ enabled: boolean;
3076
+ name: "glob";
3077
+ permission_policy: {
3078
+ type: "always_allow";
3079
+ } | {
3080
+ type: "always_ask";
3081
+ } | {
3082
+ type: "auto";
3083
+ };
3084
+ type: "glob";
3085
+ } | {
3086
+ enabled: boolean;
3087
+ name: "grep";
3088
+ permission_policy: {
3089
+ type: "always_allow";
3090
+ } | {
3091
+ type: "always_ask";
3092
+ } | {
3093
+ type: "auto";
3094
+ };
3095
+ type: "grep";
3096
+ } | {
3097
+ enabled: boolean;
3098
+ name: "web_fetch";
3099
+ permission_policy: {
3100
+ type: "always_allow";
3101
+ } | {
3102
+ type: "always_ask";
3103
+ } | {
3104
+ type: "auto";
3105
+ };
3106
+ type: "web_fetch";
3107
+ allowed_domains?: Array<string>;
3108
+ blocked_domains?: Array<string>;
3109
+ max_content_tokens?: null | number;
3110
+ } | {
3111
+ enabled: boolean;
3112
+ name: "web_search";
3113
+ permission_policy: {
3114
+ type: "always_allow";
3115
+ } | {
3116
+ type: "always_ask";
3117
+ } | {
3118
+ type: "auto";
3119
+ };
3120
+ type: "web_search";
3121
+ allowed_domains?: Array<string>;
3122
+ blocked_domains?: Array<string>;
3123
+ user_location?: null | {
3124
+ type: "approximate";
3125
+ city?: null | string;
3126
+ country?: null | string;
3127
+ region?: null | string;
3128
+ timezone?: null | string;
3129
+ };
3130
+ } | {
3131
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
3132
+ enabled: boolean;
3133
+ permission_policy: {
3134
+ type: "always_allow" | "always_ask";
3135
+ };
3136
+ }>;
3137
+ default_config: {
3138
+ enabled: boolean;
3139
+ permission_policy: {
3140
+ type: "always_allow";
3141
+ } | {
3142
+ type: "always_ask";
3143
+ } | {
3144
+ type: "auto";
3145
+ };
3146
+ };
3147
+ type: "agent_toolset_20260401";
3148
+ } | {
3149
+ type: "mcp_toolset";
3150
+ mcp_server_name: string;
3151
+ default_config?: {
3152
+ enabled?: boolean | null;
3153
+ permission_policy?: null | {
3154
+ type: "always_allow" | "always_ask";
3155
+ };
3156
+ } | null;
3157
+ configs?: Array<{
3158
+ name: string;
3159
+ enabled?: boolean | null;
3160
+ permission_policy?: null | {
3161
+ type: "always_allow" | "always_ask";
3162
+ };
3163
+ }> | null;
3164
+ } | {
3165
+ description: string;
3166
+ input_schema: {
3167
+ type: "object";
3168
+ properties?: null | {
3169
+ [key: string]: unknown;
3170
+ };
3171
+ required?: null | Array<string>;
3172
+ [key: string]: unknown;
3173
+ };
3174
+ name: string;
3175
+ type: "custom";
3176
+ }>;
3177
+ type: "agent";
3178
+ version: number;
3179
+ };
3180
+ archived_at: null | string;
3181
+ budget: null | {
3182
+ max_list_cost: {
3183
+ amount: string;
3184
+ currency: "USD";
3185
+ };
3186
+ type: "limit";
3187
+ };
3188
+ created_at: string;
3189
+ environment_id?: string;
3190
+ metadata: {
3191
+ [key: string]: string;
3192
+ };
3193
+ outcome_evaluations: Array<{
3194
+ completed_at: null | string;
3195
+ description: string;
3196
+ explanation: null | string;
3197
+ iteration: number;
3198
+ outcome_id: string;
3199
+ result: string;
3200
+ type: "outcome_evaluation";
3201
+ }>;
3202
+ resources: Array<{
3203
+ id: string;
3204
+ created_at: string;
3205
+ mount_path: string;
3206
+ type: "github_repository";
3207
+ updated_at: string;
3208
+ url: string;
3209
+ checkout?: null | {
3210
+ name: string;
3211
+ type: "branch";
3212
+ } | {
3213
+ sha: string;
3214
+ type: "commit";
3215
+ };
3216
+ } | {
3217
+ id: string;
3218
+ created_at: string;
3219
+ file_id: string;
3220
+ mount_path: string;
3221
+ type: "file";
3222
+ updated_at: string;
3223
+ } | {
3224
+ memory_store_id: string;
3225
+ type: "memory_store";
3226
+ access?: null | "read_write" | "read_only";
3227
+ description?: string;
3228
+ instructions?: null | string;
3229
+ mount_path?: null | string;
3230
+ name?: null | string;
3231
+ }>;
3232
+ stats: {
3233
+ active_seconds?: number;
3234
+ duration_seconds?: number;
3235
+ };
3236
+ status: "rescheduling" | "running" | "idle" | "terminated";
3237
+ title: null | string;
3238
+ type: "session";
3239
+ updated_at: string;
3240
+ usage: {
3241
+ active_seconds?: number;
3242
+ cache_creation?: {
3243
+ ephemeral_1h_input_tokens?: number;
3244
+ ephemeral_5m_input_tokens?: number;
3245
+ };
3246
+ cache_read_input_tokens?: number;
3247
+ input_tokens?: number;
3248
+ list_cost?: null | {
3249
+ amount: string;
3250
+ currency: "USD";
3251
+ };
3252
+ output_tokens?: number;
3253
+ server_tool_use?: null | {
3254
+ web_fetch_requests?: number;
3255
+ web_search_requests?: number;
3256
+ };
3257
+ cost_by_product?: {
3258
+ [key: string]: string;
3259
+ };
3260
+ subagent_cost_micro_usd?: number;
3261
+ };
3262
+ vault_ids: Array<string>;
3263
+ deployment_id?: null | string;
3264
+ cwd: string;
3265
+ workspace?: {
3266
+ kind: "shared" | "isolated";
3267
+ path?: string;
3268
+ branch?: string;
3269
+ };
3270
+ computer_id?: string;
3271
+ model?: {
3272
+ id: string;
3273
+ thinking: {
3274
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
3275
+ can_disable: boolean;
3276
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
3277
+ } | null;
3278
+ };
3279
+ thinking?: {
3280
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3281
+ } | null;
3282
+ forked_from?: {
3283
+ session_id: string;
3284
+ message_id: string;
3285
+ } | null;
3286
+ readonly external_user_id: string | null;
3287
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
3288
+ }>;
3289
+ };
2171
3290
  archive: (options: import("./core/transport.js").CallOptions<Types.SessionsArchiveData>) => Promise<{
2172
3291
  id: string;
2173
3292
  agent: {
@@ -2181,6 +3300,7 @@ export declare function createAgent(transport: Transport): {
2181
3300
  speed?: "standard" | "fast";
2182
3301
  settings?: {
2183
3302
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3303
+ max_output_tokens?: number;
2184
3304
  };
2185
3305
  };
2186
3306
  multiagent: null | Types.AgentManaged171;
@@ -2207,6 +3327,11 @@ export declare function createAgent(transport: Transport): {
2207
3327
  vault_ids: Array<string>;
2208
3328
  deployment_id?: null | string;
2209
3329
  cwd: string;
3330
+ workspace?: {
3331
+ kind: "shared" | "isolated";
3332
+ path?: string;
3333
+ branch?: string;
3334
+ };
2210
3335
  computer_id?: string;
2211
3336
  model?: {
2212
3337
  id: string;
@@ -2226,6 +3351,40 @@ export declare function createAgent(transport: Transport): {
2226
3351
  readonly external_user_id: string | null;
2227
3352
  readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
2228
3353
  }>;
3354
+ artifacts: {
3355
+ contentUrl: {
3356
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateSessionArtifactContentUrlData>) => Promise<{
3357
+ url: string;
3358
+ expire_time: string;
3359
+ }>;
3360
+ };
3361
+ list: (options: import("./core/transport.js").CallOptions<Types.ListSessionArtifactsData>) => Promise<{
3362
+ data: Array<{
3363
+ object: "artifact";
3364
+ id: string;
3365
+ session_id: string;
3366
+ run_id: string | null;
3367
+ name: string;
3368
+ version: number;
3369
+ parts: Array<{
3370
+ kind: "file";
3371
+ file_id: string;
3372
+ filename: string;
3373
+ mime_type: string;
3374
+ bytes: number;
3375
+ } | {
3376
+ kind: "object";
3377
+ object_type: "canvas" | "media_asset";
3378
+ object_id: string;
3379
+ href: string;
3380
+ title: string | null;
3381
+ }>;
3382
+ source_hrefs: Array<string>;
3383
+ create_time: string;
3384
+ update_time: string;
3385
+ }>;
3386
+ }>;
3387
+ };
2229
3388
  backgroundTasks: {
2230
3389
  list: (options: import("./core/transport.js").CallOptions<Types.ListSessionBackgroundTasksData>) => Promise<{
2231
3390
  data: Array<{
@@ -2308,6 +3467,7 @@ export declare function createAgent(transport: Transport): {
2308
3467
  speed?: "standard" | "fast";
2309
3468
  settings?: {
2310
3469
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3470
+ max_output_tokens?: number;
2311
3471
  };
2312
3472
  };
2313
3473
  multiagent: null | Types.AgentManaged171;
@@ -2334,6 +3494,11 @@ export declare function createAgent(transport: Transport): {
2334
3494
  vault_ids: Array<string>;
2335
3495
  deployment_id?: null | string;
2336
3496
  cwd: string;
3497
+ workspace?: {
3498
+ kind: "shared" | "isolated";
3499
+ path?: string;
3500
+ branch?: string;
3501
+ };
2337
3502
  computer_id?: string;
2338
3503
  model?: {
2339
3504
  id: string;
@@ -2394,7 +3559,6 @@ export declare function createAgent(transport: Transport): {
2394
3559
  run_id: string | null;
2395
3560
  message_id?: string;
2396
3561
  } | {
2397
- full_access_available?: boolean;
2398
3562
  id: string;
2399
3563
  input: Types.AgentManaged197;
2400
3564
  mcp_server_name: string;
@@ -2404,6 +3568,18 @@ export declare function createAgent(transport: Transport): {
2404
3568
  evaluated_permission?: "allow" | "deny" | "ask";
2405
3569
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2406
3570
  session_thread_id?: null | string;
3571
+ permission_suggestions?: Array<{
3572
+ type: "add_rules";
3573
+ behavior: "allow";
3574
+ destination: "agent" | "session";
3575
+ rules: Array<{
3576
+ tool_name: string;
3577
+ rule_content: string;
3578
+ }>;
3579
+ }>;
3580
+ full_access_available?: boolean;
3581
+ user_once?: true;
3582
+ guarded_rule?: string;
2407
3583
  run_id: string | null;
2408
3584
  _meta?: {
2409
3585
  ui?: {
@@ -2417,17 +3593,6 @@ export declare function createAgent(transport: Transport): {
2417
3593
  };
2418
3594
  source?: "app" | "codemode";
2419
3595
  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
3596
  title?: string;
2432
3597
  input_titles?: {
2433
3598
  [key: string]: string;
@@ -2446,7 +3611,6 @@ export declare function createAgent(transport: Transport): {
2446
3611
  };
2447
3612
  source?: "app" | "codemode";
2448
3613
  } | {
2449
- full_access_available?: boolean;
2450
3614
  id: string;
2451
3615
  input: Types.AgentManaged206;
2452
3616
  name: string;
@@ -2455,9 +3619,6 @@ export declare function createAgent(transport: Transport): {
2455
3619
  evaluated_permission?: "allow" | "deny" | "ask";
2456
3620
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2457
3621
  session_thread_id?: null | string;
2458
- run_id: string | null;
2459
- user_once?: true;
2460
- guarded_rule?: string;
2461
3622
  permission_suggestions?: Array<{
2462
3623
  type: "add_rules";
2463
3624
  behavior: "allow";
@@ -2467,6 +3628,10 @@ export declare function createAgent(transport: Transport): {
2467
3628
  rule_content: string;
2468
3629
  }>;
2469
3630
  }>;
3631
+ full_access_available?: boolean;
3632
+ user_once?: true;
3633
+ guarded_rule?: string;
3634
+ run_id: string | null;
2470
3635
  } | {
2471
3636
  id: string;
2472
3637
  processed_at: string;
@@ -2487,9 +3652,6 @@ export declare function createAgent(transport: Transport): {
2487
3652
  type: "session.status_idle";
2488
3653
  run_id: string | null;
2489
3654
  } | 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
3655
  id: string;
2494
3656
  processed_at: string;
2495
3657
  type: "session.updated";
@@ -2497,6 +3659,9 @@ export declare function createAgent(transport: Transport): {
2497
3659
  budget?: null | Types.AgentManaged76;
2498
3660
  metadata?: Types.AgentManaged246;
2499
3661
  title?: null | string;
3662
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
3663
+ previous_permission_mode?: string | null;
3664
+ permission_mode_version?: number;
2500
3665
  model?: {
2501
3666
  id: string;
2502
3667
  };
@@ -2657,6 +3822,7 @@ export declare function createAgent(transport: Transport): {
2657
3822
  speed?: "standard" | "fast";
2658
3823
  settings?: {
2659
3824
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3825
+ max_output_tokens?: number;
2660
3826
  };
2661
3827
  };
2662
3828
  multiagent: null | {
@@ -3119,6 +4285,11 @@ export declare function createAgent(transport: Transport): {
3119
4285
  vault_ids: Array<string>;
3120
4286
  deployment_id?: null | string;
3121
4287
  cwd: string;
4288
+ workspace?: {
4289
+ kind: "shared" | "isolated";
4290
+ path?: string;
4291
+ branch?: string;
4292
+ };
3122
4293
  computer_id?: string;
3123
4294
  model?: {
3124
4295
  id: string;
@@ -3152,32 +4323,576 @@ export declare function createAgent(transport: Transport): {
3152
4323
  speed?: "standard" | "fast";
3153
4324
  settings?: {
3154
4325
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4326
+ max_output_tokens?: number;
4327
+ };
4328
+ };
4329
+ multiagent: null | Types.AgentManaged171;
4330
+ name: string;
4331
+ skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
4332
+ system: null | string;
4333
+ tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
4334
+ type: "agent";
4335
+ version: number;
4336
+ };
4337
+ archived_at: null | string;
4338
+ budget: null | Types.AgentManaged76;
4339
+ created_at: string;
4340
+ environment_id?: string;
4341
+ metadata: Types.AgentManaged173;
4342
+ outcome_evaluations: Array<Types.AgentManaged174>;
4343
+ resources: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
4344
+ stats: Types.AgentManaged178;
4345
+ status: "rescheduling" | "running" | "idle" | "terminated";
4346
+ title: null | string;
4347
+ type: "session";
4348
+ updated_at: string;
4349
+ usage: Types.AgentManaged179;
4350
+ vault_ids: Array<string>;
4351
+ deployment_id?: null | string;
4352
+ cwd: string;
4353
+ workspace?: {
4354
+ kind: "shared" | "isolated";
4355
+ path?: string;
4356
+ branch?: string;
4357
+ };
4358
+ computer_id?: string;
4359
+ model?: {
4360
+ id: string;
4361
+ thinking: {
4362
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
4363
+ can_disable: boolean;
4364
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
4365
+ } | null;
4366
+ };
4367
+ thinking?: {
4368
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4369
+ } | null;
4370
+ forked_from?: {
4371
+ session_id: string;
4372
+ message_id: string;
4373
+ } | null;
4374
+ readonly external_user_id: string | null;
4375
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
4376
+ }>;
4377
+ next_page: string | null;
4378
+ }>;
4379
+ name: {
4380
+ create: (options: import("./core/transport.js").CallOptions<Types.RenameSessionData>) => Promise<{
4381
+ id: string;
4382
+ agent: {
4383
+ id: string;
4384
+ description: null | string;
4385
+ mcp_servers: Array<{
4386
+ type: "url";
4387
+ name: string;
4388
+ url: string;
4389
+ headers?: {
4390
+ [key: string]: string;
4391
+ };
4392
+ timeout_ms?: number;
4393
+ } | {
4394
+ type: "sse";
4395
+ name: string;
4396
+ url: string;
4397
+ headers?: {
4398
+ [key: string]: string;
4399
+ };
4400
+ timeout_ms?: number;
4401
+ } | {
4402
+ type: "stdio";
4403
+ name: string;
4404
+ command: string;
4405
+ args?: Array<string>;
4406
+ env?: {
4407
+ [key: string]: string;
4408
+ };
4409
+ timeout_ms?: number;
4410
+ }>;
4411
+ model: {
4412
+ id: string;
4413
+ effort?: {
4414
+ type: "low";
4415
+ } | {
4416
+ type: "medium";
4417
+ } | {
4418
+ type: "high";
4419
+ } | {
4420
+ type: "xhigh";
4421
+ } | {
4422
+ type: "max";
4423
+ };
4424
+ inference_geo?: string;
4425
+ speed?: "standard" | "fast";
4426
+ settings?: {
4427
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4428
+ max_output_tokens?: number;
4429
+ };
4430
+ };
4431
+ multiagent: null | {
4432
+ agents: Array<{
4433
+ model: string;
4434
+ type: "advisor";
4435
+ } | {
4436
+ id: string;
4437
+ description: null | string;
4438
+ mcp_servers: Array<{
4439
+ type: "url";
4440
+ name: string;
4441
+ url: string;
4442
+ headers?: {
4443
+ [key: string]: string;
4444
+ };
4445
+ timeout_ms?: number;
4446
+ } | {
4447
+ type: "sse";
4448
+ name: string;
4449
+ url: string;
4450
+ headers?: {
4451
+ [key: string]: string;
4452
+ };
4453
+ timeout_ms?: number;
4454
+ } | {
4455
+ type: "stdio";
4456
+ name: string;
4457
+ command: string;
4458
+ args?: Array<string>;
4459
+ env?: {
4460
+ [key: string]: string;
4461
+ };
4462
+ timeout_ms?: number;
4463
+ }>;
4464
+ model: {
4465
+ id: string;
4466
+ effort?: {
4467
+ type: "low";
4468
+ } | {
4469
+ type: "medium";
4470
+ } | {
4471
+ type: "high";
4472
+ } | {
4473
+ type: "xhigh";
4474
+ } | {
4475
+ type: "max";
4476
+ };
4477
+ inference_geo?: string;
4478
+ speed?: "standard" | "fast";
4479
+ };
4480
+ name: string;
4481
+ skills: Array<{
4482
+ skill_id: string;
4483
+ type: "anthropic";
4484
+ version: string;
4485
+ } | {
4486
+ skill_id: string;
4487
+ type: "custom";
4488
+ version: string;
4489
+ }>;
4490
+ system: null | string;
4491
+ tools: Array<{
4492
+ configs: Array<{
4493
+ enabled: boolean;
4494
+ name: "bash";
4495
+ permission_policy: {
4496
+ type: "always_allow";
4497
+ } | {
4498
+ type: "always_ask";
4499
+ } | {
4500
+ type: "auto";
4501
+ };
4502
+ type: "bash";
4503
+ } | {
4504
+ enabled: boolean;
4505
+ name: "edit";
4506
+ permission_policy: {
4507
+ type: "always_allow";
4508
+ } | {
4509
+ type: "always_ask";
4510
+ } | {
4511
+ type: "auto";
4512
+ };
4513
+ type: "edit";
4514
+ } | {
4515
+ enabled: boolean;
4516
+ name: "read";
4517
+ permission_policy: {
4518
+ type: "always_allow";
4519
+ } | {
4520
+ type: "always_ask";
4521
+ } | {
4522
+ type: "auto";
4523
+ };
4524
+ type: "read";
4525
+ } | {
4526
+ enabled: boolean;
4527
+ name: "write";
4528
+ permission_policy: {
4529
+ type: "always_allow";
4530
+ } | {
4531
+ type: "always_ask";
4532
+ } | {
4533
+ type: "auto";
4534
+ };
4535
+ type: "write";
4536
+ } | {
4537
+ enabled: boolean;
4538
+ name: "glob";
4539
+ permission_policy: {
4540
+ type: "always_allow";
4541
+ } | {
4542
+ type: "always_ask";
4543
+ } | {
4544
+ type: "auto";
4545
+ };
4546
+ type: "glob";
4547
+ } | {
4548
+ enabled: boolean;
4549
+ name: "grep";
4550
+ permission_policy: {
4551
+ type: "always_allow";
4552
+ } | {
4553
+ type: "always_ask";
4554
+ } | {
4555
+ type: "auto";
4556
+ };
4557
+ type: "grep";
4558
+ } | {
4559
+ enabled: boolean;
4560
+ name: "web_fetch";
4561
+ permission_policy: {
4562
+ type: "always_allow";
4563
+ } | {
4564
+ type: "always_ask";
4565
+ } | {
4566
+ type: "auto";
4567
+ };
4568
+ type: "web_fetch";
4569
+ allowed_domains?: Array<string>;
4570
+ blocked_domains?: Array<string>;
4571
+ max_content_tokens?: null | number;
4572
+ } | {
4573
+ enabled: boolean;
4574
+ name: "web_search";
4575
+ permission_policy: {
4576
+ type: "always_allow";
4577
+ } | {
4578
+ type: "always_ask";
4579
+ } | {
4580
+ type: "auto";
4581
+ };
4582
+ type: "web_search";
4583
+ allowed_domains?: Array<string>;
4584
+ blocked_domains?: Array<string>;
4585
+ user_location?: null | {
4586
+ type: "approximate";
4587
+ city?: null | string;
4588
+ country?: null | string;
4589
+ region?: null | string;
4590
+ timezone?: null | string;
4591
+ };
4592
+ } | {
4593
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
4594
+ enabled: boolean;
4595
+ permission_policy: {
4596
+ type: "always_allow" | "always_ask";
4597
+ };
4598
+ }>;
4599
+ default_config: {
4600
+ enabled: boolean;
4601
+ permission_policy: {
4602
+ type: "always_allow";
4603
+ } | {
4604
+ type: "always_ask";
4605
+ } | {
4606
+ type: "auto";
4607
+ };
4608
+ };
4609
+ type: "agent_toolset_20260401";
4610
+ } | {
4611
+ type: "mcp_toolset";
4612
+ mcp_server_name: string;
4613
+ default_config?: {
4614
+ enabled?: boolean | null;
4615
+ permission_policy?: null | {
4616
+ type: "always_allow" | "always_ask";
4617
+ };
4618
+ } | null;
4619
+ configs?: Array<{
4620
+ name: string;
4621
+ enabled?: boolean | null;
4622
+ permission_policy?: null | {
4623
+ type: "always_allow" | "always_ask";
4624
+ };
4625
+ }> | null;
4626
+ } | {
4627
+ description: string;
4628
+ input_schema: {
4629
+ type: "object";
4630
+ properties?: null | {
4631
+ [key: string]: unknown;
4632
+ };
4633
+ required?: null | Array<string>;
4634
+ [key: string]: unknown;
4635
+ };
4636
+ name: string;
4637
+ type: "custom";
4638
+ }>;
4639
+ type: "agent";
4640
+ version: number;
4641
+ }>;
4642
+ type: "coordinator";
4643
+ };
4644
+ name: string;
4645
+ skills: Array<{
4646
+ skill_id: string;
4647
+ type: "anthropic";
4648
+ version: string;
4649
+ } | {
4650
+ skill_id: string;
4651
+ type: "custom";
4652
+ version: string;
4653
+ }>;
4654
+ system: null | string;
4655
+ tools: Array<{
4656
+ configs: Array<{
4657
+ enabled: boolean;
4658
+ name: "bash";
4659
+ permission_policy: {
4660
+ type: "always_allow";
4661
+ } | {
4662
+ type: "always_ask";
4663
+ } | {
4664
+ type: "auto";
4665
+ };
4666
+ type: "bash";
4667
+ } | {
4668
+ enabled: boolean;
4669
+ name: "edit";
4670
+ permission_policy: {
4671
+ type: "always_allow";
4672
+ } | {
4673
+ type: "always_ask";
4674
+ } | {
4675
+ type: "auto";
4676
+ };
4677
+ type: "edit";
4678
+ } | {
4679
+ enabled: boolean;
4680
+ name: "read";
4681
+ permission_policy: {
4682
+ type: "always_allow";
4683
+ } | {
4684
+ type: "always_ask";
4685
+ } | {
4686
+ type: "auto";
4687
+ };
4688
+ type: "read";
4689
+ } | {
4690
+ enabled: boolean;
4691
+ name: "write";
4692
+ permission_policy: {
4693
+ type: "always_allow";
4694
+ } | {
4695
+ type: "always_ask";
4696
+ } | {
4697
+ type: "auto";
4698
+ };
4699
+ type: "write";
4700
+ } | {
4701
+ enabled: boolean;
4702
+ name: "glob";
4703
+ permission_policy: {
4704
+ type: "always_allow";
4705
+ } | {
4706
+ type: "always_ask";
4707
+ } | {
4708
+ type: "auto";
4709
+ };
4710
+ type: "glob";
4711
+ } | {
4712
+ enabled: boolean;
4713
+ name: "grep";
4714
+ permission_policy: {
4715
+ type: "always_allow";
4716
+ } | {
4717
+ type: "always_ask";
4718
+ } | {
4719
+ type: "auto";
4720
+ };
4721
+ type: "grep";
4722
+ } | {
4723
+ enabled: boolean;
4724
+ name: "web_fetch";
4725
+ permission_policy: {
4726
+ type: "always_allow";
4727
+ } | {
4728
+ type: "always_ask";
4729
+ } | {
4730
+ type: "auto";
4731
+ };
4732
+ type: "web_fetch";
4733
+ allowed_domains?: Array<string>;
4734
+ blocked_domains?: Array<string>;
4735
+ max_content_tokens?: null | number;
4736
+ } | {
4737
+ enabled: boolean;
4738
+ name: "web_search";
4739
+ permission_policy: {
4740
+ type: "always_allow";
4741
+ } | {
4742
+ type: "always_ask";
4743
+ } | {
4744
+ type: "auto";
4745
+ };
4746
+ type: "web_search";
4747
+ allowed_domains?: Array<string>;
4748
+ blocked_domains?: Array<string>;
4749
+ user_location?: null | {
4750
+ type: "approximate";
4751
+ city?: null | string;
4752
+ country?: null | string;
4753
+ region?: null | string;
4754
+ timezone?: null | string;
4755
+ };
4756
+ } | {
4757
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
4758
+ enabled: boolean;
4759
+ permission_policy: {
4760
+ type: "always_allow" | "always_ask";
4761
+ };
4762
+ }>;
4763
+ default_config: {
4764
+ enabled: boolean;
4765
+ permission_policy: {
4766
+ type: "always_allow";
4767
+ } | {
4768
+ type: "always_ask";
4769
+ } | {
4770
+ type: "auto";
4771
+ };
3155
4772
  };
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>;
4773
+ type: "agent_toolset_20260401";
4774
+ } | {
4775
+ type: "mcp_toolset";
4776
+ mcp_server_name: string;
4777
+ default_config?: {
4778
+ enabled?: boolean | null;
4779
+ permission_policy?: null | {
4780
+ type: "always_allow" | "always_ask";
4781
+ };
4782
+ } | null;
4783
+ configs?: Array<{
4784
+ name: string;
4785
+ enabled?: boolean | null;
4786
+ permission_policy?: null | {
4787
+ type: "always_allow" | "always_ask";
4788
+ };
4789
+ }> | null;
4790
+ } | {
4791
+ description: string;
4792
+ input_schema: {
4793
+ type: "object";
4794
+ properties?: null | {
4795
+ [key: string]: unknown;
4796
+ };
4797
+ required?: null | Array<string>;
4798
+ [key: string]: unknown;
4799
+ };
4800
+ name: string;
4801
+ type: "custom";
4802
+ }>;
3162
4803
  type: "agent";
3163
4804
  version: number;
3164
4805
  };
3165
4806
  archived_at: null | string;
3166
- budget: null | Types.AgentManaged76;
4807
+ budget: null | {
4808
+ max_list_cost: {
4809
+ amount: string;
4810
+ currency: "USD";
4811
+ };
4812
+ type: "limit";
4813
+ };
3167
4814
  created_at: string;
3168
4815
  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;
4816
+ metadata: {
4817
+ [key: string]: string;
4818
+ };
4819
+ outcome_evaluations: Array<{
4820
+ completed_at: null | string;
4821
+ description: string;
4822
+ explanation: null | string;
4823
+ iteration: number;
4824
+ outcome_id: string;
4825
+ result: string;
4826
+ type: "outcome_evaluation";
4827
+ }>;
4828
+ resources: Array<{
4829
+ id: string;
4830
+ created_at: string;
4831
+ mount_path: string;
4832
+ type: "github_repository";
4833
+ updated_at: string;
4834
+ url: string;
4835
+ checkout?: null | {
4836
+ name: string;
4837
+ type: "branch";
4838
+ } | {
4839
+ sha: string;
4840
+ type: "commit";
4841
+ };
4842
+ } | {
4843
+ id: string;
4844
+ created_at: string;
4845
+ file_id: string;
4846
+ mount_path: string;
4847
+ type: "file";
4848
+ updated_at: string;
4849
+ } | {
4850
+ memory_store_id: string;
4851
+ type: "memory_store";
4852
+ access?: null | "read_write" | "read_only";
4853
+ description?: string;
4854
+ instructions?: null | string;
4855
+ mount_path?: null | string;
4856
+ name?: null | string;
4857
+ }>;
4858
+ stats: {
4859
+ active_seconds?: number;
4860
+ duration_seconds?: number;
4861
+ };
3173
4862
  status: "rescheduling" | "running" | "idle" | "terminated";
3174
4863
  title: null | string;
3175
4864
  type: "session";
3176
4865
  updated_at: string;
3177
- usage: Types.AgentManaged179;
4866
+ usage: {
4867
+ active_seconds?: number;
4868
+ cache_creation?: {
4869
+ ephemeral_1h_input_tokens?: number;
4870
+ ephemeral_5m_input_tokens?: number;
4871
+ };
4872
+ cache_read_input_tokens?: number;
4873
+ input_tokens?: number;
4874
+ list_cost?: null | {
4875
+ amount: string;
4876
+ currency: "USD";
4877
+ };
4878
+ output_tokens?: number;
4879
+ server_tool_use?: null | {
4880
+ web_fetch_requests?: number;
4881
+ web_search_requests?: number;
4882
+ };
4883
+ cost_by_product?: {
4884
+ [key: string]: string;
4885
+ };
4886
+ subagent_cost_micro_usd?: number;
4887
+ };
3178
4888
  vault_ids: Array<string>;
3179
4889
  deployment_id?: null | string;
3180
4890
  cwd: string;
4891
+ workspace?: {
4892
+ kind: "shared" | "isolated";
4893
+ path?: string;
4894
+ branch?: string;
4895
+ };
3181
4896
  computer_id?: string;
3182
4897
  model?: {
3183
4898
  id: string;
@@ -3197,8 +4912,21 @@ export declare function createAgent(transport: Transport): {
3197
4912
  readonly external_user_id: string | null;
3198
4913
  readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
3199
4914
  }>;
3200
- next_page: string | null;
3201
- }>;
4915
+ };
4916
+ requests: {
4917
+ list: (options: import("./core/transport.js").CallOptions<Types.ListSessionRequestsData>) => Promise<{
4918
+ data: Array<{
4919
+ id: string;
4920
+ object: "request";
4921
+ kind: "question" | "approval";
4922
+ status: "pending";
4923
+ tool_name: string;
4924
+ input: unknown;
4925
+ create_time: string;
4926
+ expire_time: string | null;
4927
+ }>;
4928
+ }>;
4929
+ };
3202
4930
  resources: {
3203
4931
  create: (options: import("./core/transport.js").CallOptions<Types.SessionsResourcesAddData>) => Promise<Types.AgentManaged176>;
3204
4932
  delete: (options: import("./core/transport.js").CallOptions<RenameParameters<Types.SessionsResourcesDeleteData, {
@@ -3229,6 +4957,7 @@ export declare function createAgent(transport: Transport): {
3229
4957
  speed?: "standard" | "fast";
3230
4958
  settings?: {
3231
4959
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4960
+ max_output_tokens?: number;
3232
4961
  };
3233
4962
  };
3234
4963
  multiagent: null | Types.AgentManaged171;
@@ -3255,6 +4984,11 @@ export declare function createAgent(transport: Transport): {
3255
4984
  vault_ids: Array<string>;
3256
4985
  deployment_id?: null | string;
3257
4986
  cwd: string;
4987
+ workspace?: {
4988
+ kind: "shared" | "isolated";
4989
+ path?: string;
4990
+ branch?: string;
4991
+ };
3258
4992
  computer_id?: string;
3259
4993
  model?: {
3260
4994
  id: string;
@@ -3401,7 +5135,6 @@ export declare function createAgent(transport: Transport): {
3401
5135
  run_id: string | null;
3402
5136
  message_id?: string;
3403
5137
  } | {
3404
- full_access_available?: boolean;
3405
5138
  id: string;
3406
5139
  input: Types.AgentManaged197;
3407
5140
  mcp_server_name: string;
@@ -3411,6 +5144,18 @@ export declare function createAgent(transport: Transport): {
3411
5144
  evaluated_permission?: "allow" | "deny" | "ask";
3412
5145
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3413
5146
  session_thread_id?: null | string;
5147
+ permission_suggestions?: Array<{
5148
+ type: "add_rules";
5149
+ behavior: "allow";
5150
+ destination: "agent" | "session";
5151
+ rules: Array<{
5152
+ tool_name: string;
5153
+ rule_content: string;
5154
+ }>;
5155
+ }>;
5156
+ full_access_available?: boolean;
5157
+ user_once?: true;
5158
+ guarded_rule?: string;
3414
5159
  run_id: string | null;
3415
5160
  parent_tool_use_id?: string;
3416
5161
  _meta?: {
@@ -3424,17 +5169,6 @@ export declare function createAgent(transport: Transport): {
3424
5169
  };
3425
5170
  };
3426
5171
  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
5172
  title?: string;
3439
5173
  input_titles?: {
3440
5174
  [key: string]: string;
@@ -3453,7 +5187,6 @@ export declare function createAgent(transport: Transport): {
3453
5187
  };
3454
5188
  source?: "app" | "codemode";
3455
5189
  } | {
3456
- full_access_available?: boolean;
3457
5190
  id: string;
3458
5191
  input: Types.AgentManaged206;
3459
5192
  name: string;
@@ -3462,9 +5195,6 @@ export declare function createAgent(transport: Transport): {
3462
5195
  evaluated_permission?: "allow" | "deny" | "ask";
3463
5196
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3464
5197
  session_thread_id?: null | string;
3465
- run_id: string | null;
3466
- user_once?: true;
3467
- guarded_rule?: string;
3468
5198
  permission_suggestions?: Array<{
3469
5199
  type: "add_rules";
3470
5200
  behavior: "allow";
@@ -3474,6 +5204,10 @@ export declare function createAgent(transport: Transport): {
3474
5204
  rule_content: string;
3475
5205
  }>;
3476
5206
  }>;
5207
+ full_access_available?: boolean;
5208
+ user_once?: true;
5209
+ guarded_rule?: string;
5210
+ run_id: string | null;
3477
5211
  } | {
3478
5212
  id: string;
3479
5213
  processed_at: string;
@@ -3494,9 +5228,6 @@ export declare function createAgent(transport: Transport): {
3494
5228
  type: "session.status_idle";
3495
5229
  run_id: string | null;
3496
5230
  } | 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
5231
  id: string;
3501
5232
  processed_at: string;
3502
5233
  type: "session.updated";
@@ -3504,6 +5235,9 @@ export declare function createAgent(transport: Transport): {
3504
5235
  budget?: null | Types.AgentManaged76;
3505
5236
  metadata?: Types.AgentManaged246;
3506
5237
  title?: null | string;
5238
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
5239
+ previous_permission_mode?: string | null;
5240
+ permission_mode_version?: number;
3507
5241
  model?: {
3508
5242
  id: string;
3509
5243
  };
@@ -3594,6 +5328,7 @@ export declare function createAgent(transport: Transport): {
3594
5328
  speed?: "standard" | "fast";
3595
5329
  settings?: {
3596
5330
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
5331
+ max_output_tokens?: number;
3597
5332
  };
3598
5333
  };
3599
5334
  multiagent: null | Types.AgentManaged171;
@@ -3620,6 +5355,11 @@ export declare function createAgent(transport: Transport): {
3620
5355
  vault_ids: Array<string>;
3621
5356
  deployment_id?: null | string;
3622
5357
  cwd: string;
5358
+ workspace?: {
5359
+ kind: "shared" | "isolated";
5360
+ path?: string;
5361
+ branch?: string;
5362
+ };
3623
5363
  computer_id?: string;
3624
5364
  model?: {
3625
5365
  id: string;
@@ -3684,6 +5424,29 @@ export declare function createAgent(transport: Transport): {
3684
5424
  next_page: null;
3685
5425
  }>;
3686
5426
  };
5427
+ uploads: {
5428
+ contentUrl: {
5429
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadContentUrlData>) => Promise<{
5430
+ url: string;
5431
+ expires_at: string;
5432
+ }>;
5433
+ };
5434
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadData>) => Promise<{
5435
+ upload_id: string;
5436
+ expires_at: string;
5437
+ url: string;
5438
+ } | {
5439
+ upload_id: string;
5440
+ expires_at: string;
5441
+ part_size: number;
5442
+ parts: Array<{
5443
+ part_number: number;
5444
+ url: string;
5445
+ }>;
5446
+ complete_url: string;
5447
+ status_url: string;
5448
+ }>;
5449
+ };
3687
5450
  };
3688
5451
  export declare function createApplication(transport: Transport): {
3689
5452
  assets: {
@@ -3948,6 +5711,11 @@ export declare function createAutomation(transport: Transport): {
3948
5711
  };
3949
5712
  };
3950
5713
  };
5714
+ export declare function createBilling(transport: Transport): {
5715
+ prices: {
5716
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListPublicPricesData> | undefined) => Promise<Types.BillingPriceList>;
5717
+ };
5718
+ };
3951
5719
  export declare function createBrowser(transport: Transport): {
3952
5720
  connect: {
3953
5721
  retrieve: (options?: import("./core/transport.js").CallOptions<Types.BrowserConnectData> | undefined) => Promise<unknown>;
@@ -3977,6 +5745,10 @@ export declare function createBrowser(transport: Transport): {
3977
5745
  tab: string;
3978
5746
  url: string;
3979
5747
  title: string;
5748
+ } | {
5749
+ type: "select";
5750
+ tab: string;
5751
+ values: Array<string>;
3980
5752
  } | {
3981
5753
  type: "tabs.list";
3982
5754
  tabs: Array<{
@@ -4003,6 +5775,11 @@ export declare function createBrowser(transport: Transport): {
4003
5775
  type: "evaluate";
4004
5776
  tab: string;
4005
5777
  value: unknown;
5778
+ } | {
5779
+ type: "set_cookie";
5780
+ tab: string;
5781
+ name: string;
5782
+ domain: string;
4006
5783
  }>;
4007
5784
  };
4008
5785
  create: (options: import("./core/transport.js").CallOptions<Types.BrowserCreateSessionData>) => Promise<Types.BrowserSessionCreateResult>;
@@ -4060,6 +5837,24 @@ export declare function createCanvas(transport: Transport): {
4060
5837
  update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCollectionData>) => Promise<Types.CanvasCollection>;
4061
5838
  };
4062
5839
  };
5840
+ export declare function createContent(transport: Transport): {
5841
+ contents: {
5842
+ archive: (options: import("./core/transport.js").CallOptions<Types.ContentArchiveContentData>) => Promise<Types.ContentContent>;
5843
+ create: (options: import("./core/transport.js").CallOptions<Types.ContentCreateContentData>) => Promise<Types.ContentContent>;
5844
+ list: (options?: import("./core/transport.js").CallOptions<Types.ContentListContentsData> | undefined) => Promise<Types.ContentContentPage>;
5845
+ publish: (options: import("./core/transport.js").CallOptions<Types.ContentPublishContentData>) => Promise<Types.ContentContent>;
5846
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetContentData>) => Promise<Types.ContentContent>;
5847
+ unpublish: (options: import("./core/transport.js").CallOptions<Types.ContentUnpublishContentData>) => Promise<Types.ContentContent>;
5848
+ update: (options: import("./core/transport.js").CallOptions<Types.ContentUpdateContentData>) => Promise<Types.ContentContent>;
5849
+ };
5850
+ playbackSessions: {
5851
+ create: (options: import("./core/transport.js").CallOptions<Types.ContentCreatePlaybackSessionData>) => Promise<Types.ContentPlaybackSession>;
5852
+ };
5853
+ versions: {
5854
+ list: (options: import("./core/transport.js").CallOptions<Types.ContentListVersionsData>) => Promise<Types.ContentContentVersionPage>;
5855
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetVersionData>) => Promise<Types.ContentContentVersion>;
5856
+ };
5857
+ };
4063
5858
  export declare function createCrm(transport: Transport): {
4064
5859
  associations: {
4065
5860
  create: (options: import("./core/transport.js").CallOptions<Types.CrmAssociationsCreateData>) => Promise<Types.CrmAssociationsLabelsBetweenObjectPair & Types.CrmWriteResult>;
@@ -4120,6 +5915,32 @@ export declare function createCrm(transport: Transport): {
4120
5915
  list: (options?: import("./core/transport.js").CallOptions<Types.CrmSchemasListData> | undefined) => Promise<Types.CrmSchemasCollectionResponseObjectSchemaNoPaging>;
4121
5916
  };
4122
5917
  };
5918
+ export declare function createCustomer(transport: Transport): {
5919
+ accessTokens: {
5920
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateAccessTokenData>) => Promise<Types.CustomerAccessToken>;
5921
+ renew: (options?: import("./core/transport.js").CallOptions<Types.CustomerRenewAccessTokenData> | undefined) => Promise<Types.CustomerAccessToken>;
5922
+ revoke: (options?: import("./core/transport.js").CallOptions<Types.CustomerRevokeCurrentTokensData> | undefined) => Promise<unknown>;
5923
+ };
5924
+ customers: {
5925
+ block: (options: import("./core/transport.js").CallOptions<Types.CustomerBlockCustomerData>) => Promise<Types.CustomerCustomer>;
5926
+ delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeleteCustomerData>) => Promise<Types.CustomerCustomerDeleted>;
5927
+ list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListCustomersData> | undefined) => Promise<Types.CustomerCustomerPage>;
5928
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetCustomerData>) => Promise<Types.CustomerCustomer>;
5929
+ revokeTokens: (options: import("./core/transport.js").CallOptions<Types.CustomerRevokeTokensData>) => Promise<Types.CustomerTokensRevoked>;
5930
+ unblock: (options: import("./core/transport.js").CallOptions<Types.CustomerUnblockCustomerData>) => Promise<Types.CustomerCustomer>;
5931
+ };
5932
+ grantCodes: {
5933
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateGrantCodeData>) => Promise<Types.CustomerGrantCode>;
5934
+ };
5935
+ publishableKeys: {
5936
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreatePublishableKeyData>) => Promise<Types.CustomerPublishableKey>;
5937
+ delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeletePublishableKeyData>) => Promise<Types.CustomerPublishableKeyDeleted>;
5938
+ list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListPublishableKeysData> | undefined) => Promise<Types.CustomerPublishableKeyPage>;
5939
+ };
5940
+ usage: {
5941
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetUsageData>) => Promise<Types.CustomerCustomerUsage>;
5942
+ };
5943
+ };
4123
5944
  export declare function createCut(transport: Transport): {
4124
5945
  exports: {
4125
5946
  cancel: (options: import("./core/transport.js").CallOptions<Types.CutCancelExportData>) => Promise<Types.CutExport>;
@@ -4218,13 +6039,26 @@ export declare function createDatabase(transport: Transport): {
4218
6039
  export declare function createDevops(transport: Transport): {
4219
6040
  changes: {
4220
6041
  abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesAbandonData>) => Promise<Types.DevopsChange>;
6042
+ gitCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGitCredentialData>) => Promise<Types.DevopsChangeGitCredential>;
4221
6043
  markLastSlice: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesMarkLastSliceData>) => Promise<Types.DevopsChange>;
6044
+ openPullRequest: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesOpenPullRequestData>) => Promise<Types.DevopsChangePullRequestOpened>;
4222
6045
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGetData>) => Promise<Types.DevopsChange>;
4223
6046
  };
6047
+ connections: {
6048
+ complete: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsCompleteData>) => Promise<Types.DevopsConnection>;
6049
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsCreateData>) => Promise<Types.DevopsConnectionStart>;
6050
+ list: (options?: import("./core/transport.js").CallOptions<Types.DevopsConnectionsListData> | undefined) => Promise<Types.DevopsConnectionPage>;
6051
+ repositories: {
6052
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsListRepositoriesData>) => Promise<Types.DevopsRepositoryPage>;
6053
+ };
6054
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsGetData>) => Promise<Types.DevopsConnection>;
6055
+ };
4224
6056
  environments: {
4225
6057
  checkpoints: {
4226
6058
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsCheckpointsListData>) => Promise<Types.DevopsCheckpointList>;
4227
6059
  };
6060
+ rollback: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsRollbackData>) => Promise<Types.DevopsPromotion>;
6061
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsUpdateData>) => Promise<Types.DevopsEnvironment>;
4228
6062
  };
4229
6063
  flags: {
4230
6064
  archive: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsArchiveData>) => Promise<Types.DevopsFlag>;
@@ -4264,17 +6098,26 @@ export declare function createDevops(transport: Transport): {
4264
6098
  flags: {
4265
6099
  create: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsCreateData>) => Promise<Types.DevopsFlag>;
4266
6100
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsListData>) => Promise<Types.DevopsFlagPage>;
6101
+ reportCodeRefs: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsReportCodeRefsData>) => Promise<Types.DevopsFlagCodeRefsReportResult>;
4267
6102
  };
4268
6103
  list: (options?: import("./core/transport.js").CallOptions<Types.DevopsProjectsListData> | undefined) => Promise<Types.DevopsProjectPage>;
4269
6104
  promotions: {
4270
6105
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsListData>) => Promise<Types.DevopsPromotionPage>;
4271
6106
  };
6107
+ pullRequests: {
6108
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsListData>) => Promise<Types.DevopsPullRequestPage>;
6109
+ };
4272
6110
  releases: {
4273
6111
  create: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesCreateData>) => Promise<Types.DevopsRelease>;
4274
6112
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesListData>) => Promise<Types.DevopsReleasePage>;
4275
6113
  };
4276
6114
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsGetData>) => Promise<Types.DevopsProject>;
4277
6115
  retrieveTestCatalog: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCatalogGetData>) => Promise<Types.DevopsCatalogVersion>;
6116
+ retrieveTestPlan: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlanGetData>) => Promise<Types.DevopsTestPlan>;
6117
+ segments: {
6118
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsCreateData>) => Promise<Types.DevopsSegment>;
6119
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsListData>) => Promise<Types.DevopsSegmentPage>;
6120
+ };
4278
6121
  targets: {
4279
6122
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsTargetsListData>) => Promise<Types.DevopsTargetPage>;
4280
6123
  refresh: (options: import("./core/transport.js").CallOptions<Types.DevopsTargetsRefreshData>) => Promise<Types.DevopsTargetCatalog>;
@@ -4296,6 +6139,16 @@ export declare function createDevops(transport: Transport): {
4296
6139
  testSuites: {
4297
6140
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestSuitesListData>) => Promise<Types.DevopsSuitePage>;
4298
6141
  };
6142
+ units: {
6143
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsCreateData>) => Promise<Types.DevopsUnit>;
6144
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsListData>) => Promise<Types.DevopsUnitPage>;
6145
+ };
6146
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsUpdateData>) => Promise<Types.DevopsProject>;
6147
+ workspaces: {
6148
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesListData>) => Promise<Types.DevopsWorkspaceList>;
6149
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesGetData>) => Promise<Types.DevopsWorkspace>;
6150
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesUpdateData>) => Promise<Types.DevopsWorkspace>;
6151
+ };
4299
6152
  };
4300
6153
  promotions: {
4301
6154
  approve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsApproveData>) => Promise<Types.DevopsPromotion>;
@@ -4308,6 +6161,13 @@ export declare function createDevops(transport: Transport): {
4308
6161
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsRolloutsListData>) => Promise<Types.DevopsRolloutPage>;
4309
6162
  };
4310
6163
  };
6164
+ pullRequests: {
6165
+ close: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsCloseData>) => Promise<Types.DevopsPullRequest>;
6166
+ merge: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsMergeData>) => Promise<Types.DevopsPullRequest>;
6167
+ recordVerdict: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRecordVerdictData>) => Promise<Types.DevopsPullRequest>;
6168
+ rerunGate: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRerunGateData>) => Promise<Types.DevopsPullRequest>;
6169
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsGetData>) => Promise<Types.DevopsPullRequest>;
6170
+ };
4311
6171
  releases: {
4312
6172
  abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesAbandonData>) => Promise<Types.DevopsRelease>;
4313
6173
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesGetData>) => Promise<Types.DevopsRelease>;
@@ -4315,6 +6175,9 @@ export declare function createDevops(transport: Transport): {
4315
6175
  rollouts: {
4316
6176
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsRolloutsGetData>) => Promise<Types.DevopsRollout>;
4317
6177
  };
6178
+ segments: {
6179
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsUpdateData>) => Promise<Types.DevopsSegment>;
6180
+ };
4318
6181
  testCases: {
4319
6182
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCasesGetData>) => Promise<Types.DevopsTestCase>;
4320
6183
  };
@@ -4332,10 +6195,24 @@ export declare function createDevops(transport: Transport): {
4332
6195
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestExecutionsGetData>) => Promise<Types.DevopsExecution>;
4333
6196
  };
4334
6197
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsGetData>) => Promise<Types.DevopsRun>;
6198
+ retryFailed: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsRetryFailedData>) => Promise<Types.DevopsRun>;
4335
6199
  };
4336
6200
  testSuites: {
4337
6201
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestSuitesGetData>) => Promise<Types.DevopsSuite>;
4338
6202
  };
6203
+ units: {
6204
+ connect: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsConnectData>) => Promise<Types.DevopsUnitConnectResult>;
6205
+ delete: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsDeleteData>) => Promise<Types.DevopsUnitDeleted>;
6206
+ exec: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsExecData>) => Promise<Types.DevopsUnitExecResult>;
6207
+ fetch: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsFetchData>) => Promise<Types.DevopsUnit>;
6208
+ push: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsPushData>) => Promise<Types.DevopsUnitPushResult>;
6209
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsGetData>) => Promise<Types.DevopsUnit>;
6210
+ start: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsStartData>) => Promise<Types.DevopsUnit>;
6211
+ stop: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsStopData>) => Promise<Types.DevopsUnit>;
6212
+ transitions: {
6213
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsTransitionsListData>) => Promise<Types.DevopsUnitTransitionPage>;
6214
+ };
6215
+ };
4339
6216
  };
4340
6217
  export declare function createFile(transport: Transport): {
4341
6218
  files: {
@@ -4426,12 +6303,19 @@ export declare function createMedia(transport: Transport): {
4426
6303
  };
4427
6304
  libraries: {
4428
6305
  assets: {
6306
+ align: {
6307
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaAlignAssetData>) => Promise<Types.MediaJob>;
6308
+ };
4429
6309
  batch: (options: import("./core/transport.js").CallOptions<Types.MediaBatchAssetsData>) => Promise<Types.MediaJob>;
4430
6310
  create: (options: import("./core/transport.js").CallOptions<Types.MediaUploadAssetData>) => Promise<Types.MediaUploadResult>;
4431
6311
  delete: (options: import("./core/transport.js").CallOptions<Types.MediaDeleteAssetData>) => Promise<Types.MediaDeleted>;
4432
6312
  frames: {
4433
6313
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateFrameUrlsData>) => Promise<Types.MediaFrameUrls>;
4434
6314
  };
6315
+ hls: {
6316
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaRequestHlsRenditionsData>) => Promise<Types.MediaHlsLadder>;
6317
+ list: (options: import("./core/transport.js").CallOptions<Types.MediaGetHlsRenditionsData>) => Promise<Types.MediaHlsLadder>;
6318
+ };
4435
6319
  import: {
4436
6320
  create: (options: import("./core/transport.js").CallOptions<Types.MediaImportAssetData>) => Promise<Types.MediaAsset>;
4437
6321
  };
@@ -4444,6 +6328,9 @@ export declare function createMedia(transport: Transport): {
4444
6328
  list: (options: import("./core/transport.js").CallOptions<Types.MediaListUnderstandingsData>) => Promise<import("./automation.js").Page<Types.MediaUnderstanding>>;
4445
6329
  };
4446
6330
  update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateAssetData>) => Promise<Types.MediaAsset>;
6331
+ versions: {
6332
+ restore: (options: import("./core/transport.js").CallOptions<Types.MediaRestoreAssetVersionData>) => Promise<Types.MediaAsset>;
6333
+ };
4447
6334
  };
4448
6335
  batches: {
4449
6336
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateBatchData>) => Promise<Types.MediaJob>;
@@ -4466,6 +6353,11 @@ export declare function createMedia(transport: Transport): {
4466
6353
  retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetJobData>) => Promise<Types.MediaJob>;
4467
6354
  };
4468
6355
  list: (options?: import("./core/transport.js").CallOptions<Types.MediaListLibrariesData> | undefined) => Promise<import("./automation.js").Page<Types.MediaLibrary>>;
6356
+ materials: {
6357
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateMaterialData>) => Promise<Types.MediaMaterial>;
6358
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetMaterialData>) => Promise<Types.MediaMaterial>;
6359
+ update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateMaterialData>) => Promise<Types.MediaMaterial>;
6360
+ };
4469
6361
  purge: {
4470
6362
  create: (options: import("./core/transport.js").CallOptions<Types.MediaPurgeLibraryData>) => Promise<Types.MediaPurgedLibrary>;
4471
6363
  };
@@ -4490,6 +6382,12 @@ export declare function createMedia(transport: Transport): {
4490
6382
  retrieveFailureSummary: (options: import("./core/transport.js").CallOptions<Types.MediaUnderstandingFailureSummaryData>) => Promise<Types.MediaFailureSummary>;
4491
6383
  };
4492
6384
  update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateLibraryData>) => Promise<Types.MediaLibrary>;
6385
+ voices: {
6386
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateVoiceData>) => Promise<Types.MediaJob>;
6387
+ designs: {
6388
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaDesignVoiceData>) => Promise<Types.MediaJob>;
6389
+ };
6390
+ };
4493
6391
  };
4494
6392
  speech: {
4495
6393
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateSpeechData>) => Promise<Types.MediaJob>;
@@ -4696,7 +6594,35 @@ export declare function createModel(transport: Transport): {
4696
6594
  countTokens: (options: import("./core/transport.js").CallOptions<Types.CountTokensData>) => Promise<Types.AnthropicMessageTokensCount>;
4697
6595
  create: import("./core/bindings.js").MixedMethod<Types.CreateMessageData, Types.AnthropicMessage, Types.PraxisSdkSsePostModelV1Messages>;
4698
6596
  };
6597
+ modelAccess: {
6598
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListModelAccessData> | undefined) => Promise<{
6599
+ items: Array<{
6600
+ model: string;
6601
+ access_required: boolean;
6602
+ granted: boolean;
6603
+ granted_by: string | null;
6604
+ granted_at: string | null;
6605
+ sell_input_price: number | null;
6606
+ sell_output_price: number | null;
6607
+ }>;
6608
+ }>;
6609
+ };
4699
6610
  models: {
6611
+ access: {
6612
+ delete: (options: import("./core/transport.js").CallOptions<Types.DisableModelAccessData>) => Promise<{
6613
+ model: string;
6614
+ revoked: true;
6615
+ }>;
6616
+ update: (options: import("./core/transport.js").CallOptions<Types.EnableModelAccessData>) => Promise<{
6617
+ model: string;
6618
+ access_required: boolean;
6619
+ granted: true;
6620
+ granted_by: string;
6621
+ granted_at: string;
6622
+ sell_input_price: number | null;
6623
+ sell_output_price: number | null;
6624
+ }>;
6625
+ };
4700
6626
  list: (options?: import("./core/transport.js").CallOptions<Types.ListModelsData> | undefined) => Promise<{
4701
6627
  object: "list";
4702
6628
  data: Array<{
@@ -4711,6 +6637,7 @@ export declare function createModel(transport: Transport): {
4711
6637
  type: "language" | "image" | "embedding" | "ocr" | "transcription" | "speech" | "video" | "reranking";
4712
6638
  supported_apis: Array<string>;
4713
6639
  tags: Array<string>;
6640
+ access_required: boolean;
4714
6641
  architecture: {
4715
6642
  modality: string;
4716
6643
  input_modalities: Array<string>;
@@ -4757,6 +6684,7 @@ export declare function createModel(transport: Transport): {
4757
6684
  type: "language" | "image" | "embedding" | "ocr" | "transcription" | "speech" | "video" | "reranking";
4758
6685
  supported_apis: Array<string>;
4759
6686
  tags: Array<string>;
6687
+ access_required: boolean;
4760
6688
  architecture: {
4761
6689
  modality: string;
4762
6690
  input_modalities: Array<string>;
@@ -4983,6 +6911,7 @@ export declare function createModel(transport: Transport): {
4983
6911
  unsigned_urls: Array<string>;
4984
6912
  usage?: {
4985
6913
  cost: number;
6914
+ billed_seconds?: number;
4986
6915
  };
4987
6916
  }>;
4988
6917
  delete: (options: import("./core/transport.js").CallOptions<Types.DeleteVideoData>) => Promise<{
@@ -5013,6 +6942,7 @@ export declare function createModel(transport: Transport): {
5013
6942
  unsigned_urls: Array<string>;
5014
6943
  usage?: {
5015
6944
  cost: number;
6945
+ billed_seconds?: number;
5016
6946
  };
5017
6947
  }>;
5018
6948
  has_more: boolean;
@@ -5041,6 +6971,7 @@ export declare function createModel(transport: Transport): {
5041
6971
  unsigned_urls: Array<string>;
5042
6972
  usage?: {
5043
6973
  cost: number;
6974
+ billed_seconds?: number;
5044
6975
  };
5045
6976
  }>;
5046
6977
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.DownloadVideoContentData>) => Promise<Blob | File>;
@@ -5078,6 +7009,23 @@ export declare function createOntology(transport: Transport): {
5078
7009
  };
5079
7010
  };
5080
7011
  export declare function createOrganization(transport: Transport): {
7012
+ actors: {
7013
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationActorsData> | undefined) => Promise<Types.OrganizationActorList>;
7014
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationActorData>) => Promise<Types.OrganizationPositionChain>;
7015
+ };
7016
+ assignments: {
7017
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationAssignmentsData> | undefined) => Promise<Types.OrganizationAssignmentList>;
7018
+ makePrimary: {
7019
+ create: (options: import("./core/transport.js").CallOptions<Types.MakePrimaryOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
7020
+ };
7021
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
7022
+ terminate: {
7023
+ create: (options: import("./core/transport.js").CallOptions<Types.TerminateOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
7024
+ };
7025
+ transfer: {
7026
+ create: (options: import("./core/transport.js").CallOptions<Types.TransferOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
7027
+ };
7028
+ };
5081
7029
  charges: {
5082
7030
  list: (options: import("./core/transport.js").CallOptions<Types.ExportOrganizationChargesData>) => Promise<{
5083
7031
  ChargePeriodStart: string;
@@ -5119,6 +7067,16 @@ export declare function createOrganization(transport: Transport): {
5119
7067
  next_page: string | null;
5120
7068
  }>;
5121
7069
  };
7070
+ departments: {
7071
+ create: (options: import("./core/transport.js").CallOptions<Types.EstablishOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
7072
+ dissolve: {
7073
+ create: (options: import("./core/transport.js").CallOptions<Types.DissolveOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
7074
+ };
7075
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationDepartmentsData> | undefined) => Promise<Types.OrganizationDepartmentList>;
7076
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
7077
+ update: (options: import("./core/transport.js").CallOptions<Types.ReorganizeOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
7078
+ updateCharter: (options: import("./core/transport.js").CallOptions<Types.AmendOrganizationDepartmentCharterData>) => Promise<Types.OrganizationDepartment>;
7079
+ };
5122
7080
  events: {
5123
7081
  list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationEventsData>) => Promise<{
5124
7082
  object: "page";
@@ -5321,6 +7279,27 @@ export declare function createOrganization(transport: Transport): {
5321
7279
  }>;
5322
7280
  }>;
5323
7281
  };
7282
+ jobs: {
7283
+ create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationJobData>) => Promise<Types.OrganizationJob>;
7284
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationJobsData> | undefined) => Promise<Types.OrganizationJobList>;
7285
+ retire: {
7286
+ create: (options: import("./core/transport.js").CallOptions<Types.RetireOrganizationJobData>) => Promise<Types.OrganizationJob>;
7287
+ };
7288
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationJobData>) => Promise<Types.OrganizationJob>;
7289
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationJobData>) => Promise<Types.OrganizationJob>;
7290
+ };
7291
+ keyResults: {
7292
+ create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
7293
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationKeyResultsData> | undefined) => Promise<Types.OrganizationKeyResultList>;
7294
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
7295
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
7296
+ };
7297
+ ladders: {
7298
+ create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
7299
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationLaddersData> | undefined) => Promise<Types.OrganizationLadderList>;
7300
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
7301
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
7302
+ };
5324
7303
  members: {
5325
7304
  list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationMembersData> | undefined) => Promise<{
5326
7305
  data: Array<{
@@ -5334,6 +7313,52 @@ export declare function createOrganization(transport: Transport): {
5334
7313
  next_page: string | null;
5335
7314
  }>;
5336
7315
  };
7316
+ objectives: {
7317
+ create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
7318
+ grade: {
7319
+ create: (options: import("./core/transport.js").CallOptions<Types.GradeOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
7320
+ };
7321
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationObjectivesData> | undefined) => Promise<Types.OrganizationObjectiveList>;
7322
+ parents: {
7323
+ update: (options: import("./core/transport.js").CallOptions<Types.AlignOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
7324
+ };
7325
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
7326
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
7327
+ };
7328
+ periods: {
7329
+ close: {
7330
+ create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
7331
+ };
7332
+ create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
7333
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPeriodsData> | undefined) => Promise<Types.OrganizationPeriodList>;
7334
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
7335
+ };
7336
+ positions: {
7337
+ close: {
7338
+ create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7339
+ };
7340
+ create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPositionsData>) => Promise<Types.OrganizationPositionBatch>;
7341
+ designateHead: {
7342
+ create: (options: import("./core/transport.js").CallOptions<Types.DesignateOrganizationPositionHeadData>) => Promise<Types.OrganizationDepartment>;
7343
+ };
7344
+ freeze: {
7345
+ create: (options: import("./core/transport.js").CallOptions<Types.FreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7346
+ };
7347
+ hire: {
7348
+ create: (options: import("./core/transport.js").CallOptions<Types.HireOrganizationPositionData>) => Promise<Types.OrganizationAssignment>;
7349
+ };
7350
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPositionsData> | undefined) => Promise<Types.OrganizationPositionList>;
7351
+ replaceHolder: {
7352
+ create: (options: import("./core/transport.js").CallOptions<Types.ReplaceOrganizationPositionHolderData>) => Promise<Types.OrganizationAssignment>;
7353
+ };
7354
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7355
+ unfreeze: {
7356
+ create: (options: import("./core/transport.js").CallOptions<Types.UnfreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7357
+ };
7358
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7359
+ updateLevel: (options: import("./core/transport.js").CallOptions<Types.RegradeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7360
+ updateManager: (options: import("./core/transport.js").CallOptions<Types.ReassignOrganizationPositionManagerData>) => Promise<Types.OrganizationPosition>;
7361
+ };
5337
7362
  usage: {
5338
7363
  list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationUsageData>) => Promise<{
5339
7364
  object: "page";
@@ -5357,13 +7382,145 @@ export declare function createOrganization(transport: Transport): {
5357
7382
  }>;
5358
7383
  };
5359
7384
  };
7385
+ export declare function createRegistry(transport: Transport): {
7386
+ installations: {
7387
+ delete: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsDeleteData>) => Promise<Types.RegistryDeletedInstallation>;
7388
+ update: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsUpdateData>) => Promise<Types.RegistryInstallation>;
7389
+ };
7390
+ packages: {
7391
+ git: {
7392
+ commits: {
7393
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCommitsRetrieveData>) => Promise<Types.RegistryGitCommit>;
7394
+ };
7395
+ files: {
7396
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitFilesRetrieveData>) => Promise<Blob | File>;
7397
+ };
7398
+ retrieveLog: (options: import("./core/transport.js").CallOptions<Types.RegistryGitLogData>) => Promise<Types.RegistryGitLog>;
7399
+ trees: {
7400
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRetrieveData>) => Promise<Types.RegistryGitTree>;
7401
+ };
7402
+ };
7403
+ installations: {
7404
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsCreateData>) => Promise<Types.RegistryInstallResult>;
7405
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsListData>) => Promise<Types.RegistryInstallationList>;
7406
+ };
7407
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesRetrieveData>) => Promise<Types.RegistryPackage>;
7408
+ versions: {
7409
+ contents: {
7410
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsContentsData>) => Promise<Types.RegistryFileEntryPage>;
7411
+ };
7412
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsCreateData>) => Promise<Types.RegistryVersion>;
7413
+ files: {
7414
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsFilesRetrieveData>) => Promise<Blob | File>;
7415
+ };
7416
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsListData>) => Promise<import("./automation.js").Page<Types.RegistryVersion>>;
7417
+ retrieveArchive: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsArchiveData>) => Promise<Blob | File>;
7418
+ withdraw: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsWithdrawData>) => Promise<Types.RegistryVersion>;
7419
+ };
7420
+ };
7421
+ repositories: {
7422
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesCreateData>) => Promise<Types.RegistryRepository>;
7423
+ delete: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesDeleteData>) => Promise<Types.RegistryDeletedRepository>;
7424
+ list: (options?: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesListData> | undefined) => Promise<import("./automation.js").Page<Types.RegistryRepository>>;
7425
+ packages: {
7426
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesPackagesCreateData>) => Promise<Types.RegistryPackage>;
7427
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesPackagesListData>) => Promise<import("./automation.js").Page<Types.RegistryPackage>>;
7428
+ };
7429
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesRetrieveData>) => Promise<Types.RegistryRepository>;
7430
+ update: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesUpdateData>) => Promise<Types.RegistryRepository>;
7431
+ };
7432
+ };
5360
7433
  export declare function createSandbox(transport: Transport): {
7434
+ byod: {
7435
+ devices: {
7436
+ disconnect: {
7437
+ create: (options: import("./core/transport.js").CallOptions<Types.DisconnectByodDeviceData>) => Promise<{
7438
+ id: string;
7439
+ object: "byod_device";
7440
+ disconnected: true;
7441
+ }>;
7442
+ };
7443
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListByodDevicesData> | undefined) => Promise<{
7444
+ data: Array<{
7445
+ object: "byod_device";
7446
+ id: string;
7447
+ platform: "android";
7448
+ name: string;
7449
+ model: string;
7450
+ os_version: string;
7451
+ online: boolean;
7452
+ last_seen_at: string | null;
7453
+ created_at: string;
7454
+ }>;
7455
+ }>;
7456
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodDeviceData>) => Promise<{
7457
+ object: "byod_device";
7458
+ id: string;
7459
+ platform: "android";
7460
+ name: string;
7461
+ model: string;
7462
+ os_version: string;
7463
+ online: boolean;
7464
+ last_seen_at: string | null;
7465
+ created_at: string;
7466
+ }>;
7467
+ update: (options: import("./core/transport.js").CallOptions<Types.UpdateByodDeviceData>) => Promise<{
7468
+ object: "byod_device";
7469
+ id: string;
7470
+ platform: "android";
7471
+ name: string;
7472
+ model: string;
7473
+ os_version: string;
7474
+ online: boolean;
7475
+ last_seen_at: string | null;
7476
+ created_at: string;
7477
+ }>;
7478
+ };
7479
+ pairings: {
7480
+ claim: {
7481
+ create: (options: import("./core/transport.js").CallOptions<Types.ClaimByodPairingData>) => Promise<{
7482
+ device_id: string;
7483
+ credential: string;
7484
+ socket_url: string;
7485
+ }>;
7486
+ };
7487
+ create: (options?: import("./core/transport.js").CallOptions<Types.CreateByodPairingData> | undefined) => Promise<{
7488
+ code: string;
7489
+ expires_at: string;
7490
+ qr: string;
7491
+ }>;
7492
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodPairingData>) => Promise<{
7493
+ organization_name: string;
7494
+ expires_at: string;
7495
+ }>;
7496
+ };
7497
+ };
5361
7498
  events: {
5362
7499
  sandboxes: {
5363
7500
  retrieve: (options: import("./core/transport.js").CallOptions<Types.GetSandboxEventsData>) => Promise<Types.SandboxSandboxEvent[]>;
5364
7501
  };
5365
7502
  };
5366
7503
  sandboxes: {
7504
+ act: (options: import("./core/transport.js").CallOptions<Types.ActOnSandboxDisplayData>) => Promise<{
7505
+ type: "snapshot";
7506
+ snapshot: string;
7507
+ refs: number;
7508
+ truncated: boolean;
7509
+ package: string;
7510
+ } | {
7511
+ type: "screenshot";
7512
+ mediaType: string;
7513
+ data: string;
7514
+ width: number;
7515
+ height: number;
7516
+ bytes: number;
7517
+ } | {
7518
+ type: "ok";
7519
+ ms?: number;
7520
+ } | {
7521
+ type: "wait";
7522
+ ms: number;
7523
+ }>;
5367
7524
  commands: {
5368
7525
  run: (options: import("./core/transport.js").CallOptions<Types.RunSandboxCommandData>) => Promise<{
5369
7526
  stdout: string;
@@ -5441,6 +7598,20 @@ export declare function createSandbox(transport: Transport): {
5441
7598
  snapshots: {
5442
7599
  create: (options: import("./core/transport.js").CallOptions<Types.PostSandboxV1SandboxesBySandboxIdSnapshotsData>) => Promise<Types.SandboxSnapshotInfo>;
5443
7600
  };
7601
+ tasks: {
7602
+ create: (options: import("./core/transport.js").CallOptions<Types.StartSandboxTaskData>) => Promise<{
7603
+ taskId: string;
7604
+ instanceId: string;
7605
+ startedAt: number;
7606
+ }>;
7607
+ retrieveLog: (options: import("./core/transport.js").CallOptions<Types.GetSandboxTaskLogData>) => Promise<{
7608
+ text: string;
7609
+ nextOffset: number;
7610
+ done: boolean;
7611
+ exitCode: number | null;
7612
+ size: number | null;
7613
+ }>;
7614
+ };
5444
7615
  timeout: (options: import("./core/transport.js").CallOptions<Types.PostSandboxV1SandboxesBySandboxIdTimeoutData>) => Promise<void>;
5445
7616
  update: (options: import("./core/transport.js").CallOptions<Types.RenameSandboxData>) => Promise<Types.SandboxSandboxDetail & {
5446
7617
  name: string;
@@ -5579,6 +7750,14 @@ export declare function createSearch(transport: Transport): {
5579
7750
  }>;
5580
7751
  };
5581
7752
  };
7753
+ export declare function createShare(transport: Transport): {
7754
+ permissions: {
7755
+ create: (options: import("./core/transport.js").CallOptions<Types.ShareCreatePermissionData>) => Promise<Types.ShareSharePermission>;
7756
+ delete: (options: import("./core/transport.js").CallOptions<Types.ShareDeletePermissionData>) => Promise<void>;
7757
+ list: (options?: import("./core/transport.js").CallOptions<Types.ShareListPermissionsData> | undefined) => Promise<Types.ShareSharePermissionPage>;
7758
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ShareRetrievePermissionData>) => Promise<Types.ShareSharePermission>;
7759
+ };
7760
+ };
5582
7761
  export declare function createStudio(transport: Transport): {
5583
7762
  codexes: {
5584
7763
  create: (options: import("./core/transport.js").CallOptions<Types.StudioCodexesCreateData>) => Promise<Types.StudioCodex>;
@@ -5626,6 +7805,11 @@ export declare function createStudio(transport: Transport): {
5626
7805
  create: (options: import("./core/transport.js").CallOptions<Types.StudioWorksCreateData>) => Promise<Types.StudioWork>;
5627
7806
  drafts: {
5628
7807
  create: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsCreateData>) => Promise<Types.StudioDraftDetail>;
7808
+ foreshadows: {
7809
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioForeshadowsDeleteData>) => Promise<Types.StudioDeleted>;
7810
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioForeshadowsListData>) => Promise<Types.StudioForeshadowList>;
7811
+ update: (options: import("./core/transport.js").CallOptions<Types.StudioForeshadowsUpsertData>) => Promise<Types.StudioForeshadow>;
7812
+ };
5629
7813
  list: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsListData>) => Promise<Types.StudioDraftList>;
5630
7814
  rebase: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsRebaseData>) => Promise<Types.StudioDraftWriteResult>;
5631
7815
  renditions: {
@@ -5647,6 +7831,11 @@ export declare function createStudio(transport: Transport): {
5647
7831
  updateBrief: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsUpdateBriefData>) => Promise<Types.StudioBriefWriteResult>;
5648
7832
  };
5649
7833
  list: (options?: import("./core/transport.js").CallOptions<Types.StudioWorksListData> | undefined) => Promise<Types.StudioWorkPage>;
7834
+ progressions: {
7835
+ create: (options: import("./core/transport.js").CallOptions<Types.StudioProgressionsCreateData>) => Promise<Types.StudioProgression>;
7836
+ delete: (options: import("./core/transport.js").CallOptions<Types.StudioProgressionsDeleteData>) => Promise<Types.StudioDeleted>;
7837
+ list: (options: import("./core/transport.js").CallOptions<Types.StudioProgressionsListData>) => Promise<Types.StudioProgressionList>;
7838
+ };
5650
7839
  renditions: {
5651
7840
  delete: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsDeleteData>) => Promise<Types.StudioDeleted>;
5652
7841
  list: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsListData>) => Promise<Types.StudioRenditionPage>;
@@ -5860,9 +8049,12 @@ export declare const resourceFactories: {
5860
8049
  agent: typeof createAgent;
5861
8050
  application: typeof createApplication;
5862
8051
  automation: typeof createAutomation;
8052
+ billing: typeof createBilling;
5863
8053
  browser: typeof createBrowser;
5864
8054
  canvas: typeof createCanvas;
8055
+ content: typeof createContent;
5865
8056
  crm: typeof createCrm;
8057
+ customer: typeof createCustomer;
5866
8058
  cut: typeof createCut;
5867
8059
  database: typeof createDatabase;
5868
8060
  devops: typeof createDevops;
@@ -5873,8 +8065,10 @@ export declare const resourceFactories: {
5873
8065
  model: typeof createModel;
5874
8066
  ontology: typeof createOntology;
5875
8067
  organization: typeof createOrganization;
8068
+ registry: typeof createRegistry;
5876
8069
  sandbox: typeof createSandbox;
5877
8070
  search: typeof createSearch;
8071
+ share: typeof createShare;
5878
8072
  studio: typeof createStudio;
5879
8073
  ticket: typeof createTicket;
5880
8074
  vault: typeof createVault;