@deepraxis/sdk 0.1.1-dev.6c28f93 → 0.1.1-dev.6c474b9

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,15 +42,16 @@ 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
57
  subagents?: Array<{
@@ -142,6 +144,7 @@ export declare function createAgent(transport: Transport): {
142
144
  allowManagedHooksOnly?: boolean;
143
145
  allowManagedMcpServersOnly?: boolean;
144
146
  allowManagedPermissionRulesOnly?: boolean;
147
+ idleCompaction?: boolean;
145
148
  autoMemoryEnabled?: boolean;
146
149
  disabled?: {
147
150
  subagents?: Array<string>;
@@ -150,7 +153,6 @@ export declare function createAgent(transport: Transport): {
150
153
  mcpServers?: Array<string>;
151
154
  hooks?: Array<string>;
152
155
  };
153
- idleCompaction?: boolean;
154
156
  outputStyle?: string;
155
157
  } | null;
156
158
  models?: {
@@ -158,6 +160,7 @@ export declare function createAgent(transport: Transport): {
158
160
  };
159
161
  avatar: string | null;
160
162
  creation_source: string | null;
163
+ managed_by: string | null;
161
164
  identity_number: string | null;
162
165
  environment_id?: string | null;
163
166
  vault_ids?: Array<string>;
@@ -169,6 +172,22 @@ export declare function createAgent(transport: Transport): {
169
172
  keep_coding_instructions?: boolean;
170
173
  }> | null;
171
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
+ };
172
191
  create: (options: import("./core/transport.js").CallOptions<Types.AgentsCreateData>) => Promise<{
173
192
  id: string;
174
193
  archived_at: null | string;
@@ -183,6 +202,7 @@ export declare function createAgent(transport: Transport): {
183
202
  speed?: "standard" | "fast";
184
203
  settings?: {
185
204
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
205
+ max_output_tokens?: number;
186
206
  };
187
207
  };
188
208
  multiagent?: null | Types.AgentManaged39;
@@ -207,15 +227,23 @@ export declare function createAgent(transport: Transport): {
207
227
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
208
228
  id: string;
209
229
  access: "read_only" | "read_write" | "invoke";
230
+ customer_access?: "read_only" | "read_write" | "invoke";
210
231
  instructions?: string;
211
232
  readonly verified?: boolean;
212
233
  enabled?: boolean;
213
234
  } | {
214
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
235
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
215
236
  readonly verified?: boolean;
216
237
  enabled?: boolean;
217
238
  }>;
218
- 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
+ };
219
247
  computer_id?: string;
220
248
  subagent_model?: string | null;
221
249
  subagents?: Array<{
@@ -308,6 +336,7 @@ export declare function createAgent(transport: Transport): {
308
336
  allowManagedHooksOnly?: boolean;
309
337
  allowManagedMcpServersOnly?: boolean;
310
338
  allowManagedPermissionRulesOnly?: boolean;
339
+ idleCompaction?: boolean;
311
340
  autoMemoryEnabled?: boolean;
312
341
  disabled?: {
313
342
  subagents?: Array<string>;
@@ -316,7 +345,6 @@ export declare function createAgent(transport: Transport): {
316
345
  mcpServers?: Array<string>;
317
346
  hooks?: Array<string>;
318
347
  };
319
- idleCompaction?: boolean;
320
348
  outputStyle?: string;
321
349
  } | null;
322
350
  models?: {
@@ -324,6 +352,7 @@ export declare function createAgent(transport: Transport): {
324
352
  };
325
353
  avatar: string | null;
326
354
  creation_source: string | null;
355
+ managed_by: string | null;
327
356
  identity_number: string | null;
328
357
  environment_id?: string | null;
329
358
  vault_ids?: Array<string>;
@@ -336,42 +365,6 @@ export declare function createAgent(transport: Transport): {
336
365
  }> | null;
337
366
  }>;
338
367
  customers: {
339
- auth: {
340
- accessTokens: {
341
- create: (options: import("./core/transport.js").CallOptions<Types.CreateCustomerAccessTokenData>) => Promise<{
342
- type: "customer_access_token";
343
- access_token: string;
344
- expires_at: string;
345
- session_expires_at: string;
346
- customer: {
347
- id: string;
348
- type: "identified" | "anonymous";
349
- };
350
- }>;
351
- deleteCurrent: (options: import("./core/transport.js").CallOptions<Types.DeleteCurrentCustomerAccessTokenData>) => Promise<void>;
352
- renew: {
353
- create: (options: import("./core/transport.js").CallOptions<Types.RenewCustomerAccessTokenData>) => Promise<{
354
- type: "customer_access_token";
355
- access_token: string;
356
- expires_at: string;
357
- session_expires_at: string;
358
- customer: {
359
- id: string;
360
- type: "identified" | "anonymous";
361
- };
362
- }>;
363
- };
364
- };
365
- grantCodes: {
366
- create: (options: import("./core/transport.js").CallOptions<Types.CreateCustomerGrantCodeData>) => Promise<{
367
- type: "customer_grant_code";
368
- code: string;
369
- customer_id: string;
370
- expires_at: string;
371
- hosted_url?: string;
372
- }>;
373
- };
374
- };
375
368
  block: {
376
369
  create: (options: import("./core/transport.js").CallOptions<Types.BlockCustomerData>) => Promise<{
377
370
  id: string;
@@ -463,6 +456,275 @@ export declare function createAgent(transport: Transport): {
463
456
  }>;
464
457
  };
465
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
+ };
466
728
  list: (options?: import("./core/transport.js").CallOptions<Types.AgentsListData> | undefined) => Promise<{
467
729
  data: Array<{
468
730
  id: string;
@@ -478,6 +740,7 @@ export declare function createAgent(transport: Transport): {
478
740
  speed?: "standard" | "fast";
479
741
  settings?: {
480
742
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
743
+ max_output_tokens?: number;
481
744
  };
482
745
  };
483
746
  multiagent?: null | Types.AgentManaged39;
@@ -502,15 +765,23 @@ export declare function createAgent(transport: Transport): {
502
765
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
503
766
  id: string;
504
767
  access: "read_only" | "read_write" | "invoke";
768
+ customer_access?: "read_only" | "read_write" | "invoke";
505
769
  instructions?: string;
506
770
  readonly verified?: boolean;
507
771
  enabled?: boolean;
508
772
  } | {
509
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
773
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
510
774
  readonly verified?: boolean;
511
775
  enabled?: boolean;
512
776
  }>;
513
- 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
+ };
514
785
  computer_id?: string;
515
786
  subagent_model?: string | null;
516
787
  subagents?: Array<{
@@ -603,6 +874,7 @@ export declare function createAgent(transport: Transport): {
603
874
  allowManagedHooksOnly?: boolean;
604
875
  allowManagedMcpServersOnly?: boolean;
605
876
  allowManagedPermissionRulesOnly?: boolean;
877
+ idleCompaction?: boolean;
606
878
  autoMemoryEnabled?: boolean;
607
879
  disabled?: {
608
880
  subagents?: Array<string>;
@@ -611,7 +883,6 @@ export declare function createAgent(transport: Transport): {
611
883
  mcpServers?: Array<string>;
612
884
  hooks?: Array<string>;
613
885
  };
614
- idleCompaction?: boolean;
615
886
  outputStyle?: string;
616
887
  } | null;
617
888
  models?: {
@@ -619,6 +890,7 @@ export declare function createAgent(transport: Transport): {
619
890
  };
620
891
  avatar: string | null;
621
892
  creation_source: string | null;
893
+ managed_by: string | null;
622
894
  identity_number: string | null;
623
895
  environment_id?: string | null;
624
896
  vault_ids?: Array<string>;
@@ -646,6 +918,7 @@ export declare function createAgent(transport: Transport): {
646
918
  speed?: "standard" | "fast";
647
919
  settings?: {
648
920
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
921
+ max_output_tokens?: number;
649
922
  };
650
923
  };
651
924
  multiagent?: null | Types.AgentManaged39;
@@ -671,15 +944,23 @@ export declare function createAgent(transport: Transport): {
671
944
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
672
945
  id: string;
673
946
  access: "read_only" | "read_write" | "invoke";
947
+ customer_access?: "read_only" | "read_write" | "invoke";
674
948
  instructions?: string;
675
949
  readonly verified?: boolean;
676
950
  enabled?: boolean;
677
951
  } | {
678
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
952
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
679
953
  readonly verified?: boolean;
680
954
  enabled?: boolean;
681
955
  }>;
682
- kind: "general" | "personal" | "service" | "assume";
956
+ kind: "general" | "service" | "assume";
957
+ computers?: {
958
+ default: string;
959
+ allowed: Array<{
960
+ template: string;
961
+ name: string;
962
+ }>;
963
+ };
683
964
  computer_id?: string;
684
965
  subagent_model?: string | null;
685
966
  subagents?: Array<{
@@ -772,6 +1053,7 @@ export declare function createAgent(transport: Transport): {
772
1053
  allowManagedHooksOnly?: boolean;
773
1054
  allowManagedMcpServersOnly?: boolean;
774
1055
  allowManagedPermissionRulesOnly?: boolean;
1056
+ idleCompaction?: boolean;
775
1057
  autoMemoryEnabled?: boolean;
776
1058
  disabled?: {
777
1059
  subagents?: Array<string>;
@@ -780,7 +1062,6 @@ export declare function createAgent(transport: Transport): {
780
1062
  mcpServers?: Array<string>;
781
1063
  hooks?: Array<string>;
782
1064
  };
783
- idleCompaction?: boolean;
784
1065
  outputStyle?: string;
785
1066
  } | null;
786
1067
  models?: {
@@ -788,6 +1069,7 @@ export declare function createAgent(transport: Transport): {
788
1069
  };
789
1070
  avatar: string | null;
790
1071
  creation_source: string | null;
1072
+ managed_by: string | null;
791
1073
  identity_number: string | null;
792
1074
  environment_id?: string | null;
793
1075
  vault_ids?: Array<string>;
@@ -856,6 +1138,25 @@ export declare function createAgent(transport: Transport): {
856
1138
  history?: {
857
1139
  enabled?: boolean;
858
1140
  };
1141
+ uploads?: {
1142
+ enabled: boolean;
1143
+ max_file_bytes: number;
1144
+ max_files_per_session: number;
1145
+ };
1146
+ }>;
1147
+ retrieveEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.GetAgentEmbedPolicyData>) => Promise<{
1148
+ allowed_origins: Array<string>;
1149
+ allow_localhost: boolean;
1150
+ uploads: {
1151
+ enabled: boolean;
1152
+ max_file_bytes: number;
1153
+ max_files_per_session: number;
1154
+ };
1155
+ share_links: {
1156
+ enabled: boolean;
1157
+ daily_session_cap: number | null;
1158
+ daily_spend_cap_micro_usd: number | null;
1159
+ };
859
1160
  }>;
860
1161
  unarchive: {
861
1162
  create: (options: import("./core/transport.js").CallOptions<Types.UnarchiveAgentData>) => Promise<{
@@ -909,6 +1210,7 @@ export declare function createAgent(transport: Transport): {
909
1210
  speed?: "standard" | "fast";
910
1211
  settings?: {
911
1212
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1213
+ max_output_tokens?: number;
912
1214
  };
913
1215
  };
914
1216
  multiagent?: null | {
@@ -1099,15 +1401,23 @@ export declare function createAgent(transport: Transport): {
1099
1401
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1100
1402
  id: string;
1101
1403
  access: "read_only" | "read_write" | "invoke";
1404
+ customer_access?: "read_only" | "read_write" | "invoke";
1102
1405
  instructions?: string;
1103
1406
  readonly verified?: boolean;
1104
1407
  enabled?: boolean;
1105
1408
  } | {
1106
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
1409
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1107
1410
  readonly verified?: boolean;
1108
1411
  enabled?: boolean;
1109
1412
  }>;
1110
- kind: "general" | "personal" | "service" | "assume";
1413
+ kind: "general" | "service" | "assume";
1414
+ computers?: {
1415
+ default: string;
1416
+ allowed: Array<{
1417
+ template: string;
1418
+ name: string;
1419
+ }>;
1420
+ };
1111
1421
  computer_id?: string;
1112
1422
  subagent_model?: string | null;
1113
1423
  subagents?: Array<{
@@ -1200,6 +1510,7 @@ export declare function createAgent(transport: Transport): {
1200
1510
  allowManagedHooksOnly?: boolean;
1201
1511
  allowManagedMcpServersOnly?: boolean;
1202
1512
  allowManagedPermissionRulesOnly?: boolean;
1513
+ idleCompaction?: boolean;
1203
1514
  autoMemoryEnabled?: boolean;
1204
1515
  disabled?: {
1205
1516
  subagents?: Array<string>;
@@ -1208,7 +1519,6 @@ export declare function createAgent(transport: Transport): {
1208
1519
  mcpServers?: Array<string>;
1209
1520
  hooks?: Array<string>;
1210
1521
  };
1211
- idleCompaction?: boolean;
1212
1522
  outputStyle?: string;
1213
1523
  } | null;
1214
1524
  models?: {
@@ -1216,6 +1526,7 @@ export declare function createAgent(transport: Transport): {
1216
1526
  };
1217
1527
  avatar: string | null;
1218
1528
  creation_source: string | null;
1529
+ managed_by: string | null;
1219
1530
  identity_number: string | null;
1220
1531
  environment_id?: string | null;
1221
1532
  vault_ids?: Array<string>;
@@ -1242,6 +1553,7 @@ export declare function createAgent(transport: Transport): {
1242
1553
  speed?: "standard" | "fast";
1243
1554
  settings?: {
1244
1555
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1556
+ max_output_tokens?: number;
1245
1557
  };
1246
1558
  };
1247
1559
  multiagent?: null | Types.AgentManaged39;
@@ -1267,15 +1579,23 @@ export declare function createAgent(transport: Transport): {
1267
1579
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1268
1580
  id: string;
1269
1581
  access: "read_only" | "read_write" | "invoke";
1582
+ customer_access?: "read_only" | "read_write" | "invoke";
1270
1583
  instructions?: string;
1271
1584
  readonly verified?: boolean;
1272
1585
  enabled?: boolean;
1273
1586
  } | {
1274
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
1587
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1275
1588
  readonly verified?: boolean;
1276
1589
  enabled?: boolean;
1277
1590
  }>;
1278
- kind: "general" | "personal" | "service" | "assume";
1591
+ kind: "general" | "service" | "assume";
1592
+ computers?: {
1593
+ default: string;
1594
+ allowed: Array<{
1595
+ template: string;
1596
+ name: string;
1597
+ }>;
1598
+ };
1279
1599
  computer_id?: string;
1280
1600
  subagent_model?: string | null;
1281
1601
  subagents?: Array<{
@@ -1368,6 +1688,7 @@ export declare function createAgent(transport: Transport): {
1368
1688
  allowManagedHooksOnly?: boolean;
1369
1689
  allowManagedMcpServersOnly?: boolean;
1370
1690
  allowManagedPermissionRulesOnly?: boolean;
1691
+ idleCompaction?: boolean;
1371
1692
  autoMemoryEnabled?: boolean;
1372
1693
  disabled?: {
1373
1694
  subagents?: Array<string>;
@@ -1376,7 +1697,6 @@ export declare function createAgent(transport: Transport): {
1376
1697
  mcpServers?: Array<string>;
1377
1698
  hooks?: Array<string>;
1378
1699
  };
1379
- idleCompaction?: boolean;
1380
1700
  outputStyle?: string;
1381
1701
  } | null;
1382
1702
  models?: {
@@ -1384,6 +1704,7 @@ export declare function createAgent(transport: Transport): {
1384
1704
  };
1385
1705
  avatar: string | null;
1386
1706
  creation_source: string | null;
1707
+ managed_by: string | null;
1387
1708
  identity_number: string | null;
1388
1709
  environment_id?: string | null;
1389
1710
  vault_ids?: Array<string>;
@@ -1395,28 +1716,245 @@ export declare function createAgent(transport: Transport): {
1395
1716
  keep_coding_instructions?: boolean;
1396
1717
  }> | null;
1397
1718
  }>;
1719
+ updateEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.UpdateAgentEmbedPolicyData>) => Promise<{
1720
+ allowed_origins: Array<string>;
1721
+ allow_localhost: boolean;
1722
+ uploads: {
1723
+ enabled: boolean;
1724
+ max_file_bytes: number;
1725
+ max_files_per_session: number;
1726
+ };
1727
+ share_links: {
1728
+ enabled: boolean;
1729
+ daily_session_cap: number | null;
1730
+ daily_spend_cap_micro_usd: number | null;
1731
+ };
1732
+ }>;
1398
1733
  versions: {
1399
1734
  apply: (options: import("./core/transport.js").CallOptions<Types.ApplyAgentVersionData>) => Promise<{
1400
1735
  id: string;
1401
1736
  archived_at: null | string;
1402
1737
  created_at: string;
1403
1738
  description: null | string;
1404
- mcp_servers: Array<Types.AgentManaged36>;
1405
- metadata: Types.AgentManaged37;
1739
+ mcp_servers: Array<{
1740
+ type: "url";
1741
+ name: string;
1742
+ url: string;
1743
+ headers?: {
1744
+ [key: string]: string;
1745
+ };
1746
+ timeout_ms?: number;
1747
+ } | {
1748
+ type: "sse";
1749
+ name: string;
1750
+ url: string;
1751
+ headers?: {
1752
+ [key: string]: string;
1753
+ };
1754
+ timeout_ms?: number;
1755
+ } | {
1756
+ type: "stdio";
1757
+ name: string;
1758
+ command: string;
1759
+ args?: Array<string>;
1760
+ env?: {
1761
+ [key: string]: string;
1762
+ };
1763
+ timeout_ms?: number;
1764
+ }>;
1765
+ metadata: {
1766
+ [key: string]: string;
1767
+ };
1406
1768
  model?: {
1407
1769
  id: string;
1408
- effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
1770
+ effort?: {
1771
+ type: "low";
1772
+ } | {
1773
+ type: "medium";
1774
+ } | {
1775
+ type: "high";
1776
+ } | {
1777
+ type: "xhigh";
1778
+ } | {
1779
+ type: "max";
1780
+ };
1409
1781
  inference_geo?: string;
1410
1782
  speed?: "standard" | "fast";
1411
1783
  settings?: {
1412
1784
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1785
+ max_output_tokens?: number;
1413
1786
  };
1414
1787
  };
1415
- multiagent?: null | Types.AgentManaged39;
1788
+ multiagent?: null | {
1789
+ agents: Array<{
1790
+ id: string;
1791
+ type: "agent";
1792
+ version: number;
1793
+ } | {
1794
+ model: string;
1795
+ type: "advisor";
1796
+ }>;
1797
+ type: "coordinator";
1798
+ };
1416
1799
  name: string;
1417
- skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
1800
+ skills: Array<{
1801
+ skill_id: string;
1802
+ type: "anthropic";
1803
+ version: string;
1804
+ } | {
1805
+ skill_id: string;
1806
+ type: "custom";
1807
+ version: string;
1808
+ }>;
1418
1809
  system: null | string;
1419
- tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
1810
+ tools: Array<{
1811
+ configs: Array<{
1812
+ enabled: boolean;
1813
+ name: "bash";
1814
+ permission_policy: {
1815
+ type: "always_allow";
1816
+ } | {
1817
+ type: "always_ask";
1818
+ } | {
1819
+ type: "auto";
1820
+ };
1821
+ type: "bash";
1822
+ } | {
1823
+ enabled: boolean;
1824
+ name: "edit";
1825
+ permission_policy: {
1826
+ type: "always_allow";
1827
+ } | {
1828
+ type: "always_ask";
1829
+ } | {
1830
+ type: "auto";
1831
+ };
1832
+ type: "edit";
1833
+ } | {
1834
+ enabled: boolean;
1835
+ name: "read";
1836
+ permission_policy: {
1837
+ type: "always_allow";
1838
+ } | {
1839
+ type: "always_ask";
1840
+ } | {
1841
+ type: "auto";
1842
+ };
1843
+ type: "read";
1844
+ } | {
1845
+ enabled: boolean;
1846
+ name: "write";
1847
+ permission_policy: {
1848
+ type: "always_allow";
1849
+ } | {
1850
+ type: "always_ask";
1851
+ } | {
1852
+ type: "auto";
1853
+ };
1854
+ type: "write";
1855
+ } | {
1856
+ enabled: boolean;
1857
+ name: "glob";
1858
+ permission_policy: {
1859
+ type: "always_allow";
1860
+ } | {
1861
+ type: "always_ask";
1862
+ } | {
1863
+ type: "auto";
1864
+ };
1865
+ type: "glob";
1866
+ } | {
1867
+ enabled: boolean;
1868
+ name: "grep";
1869
+ permission_policy: {
1870
+ type: "always_allow";
1871
+ } | {
1872
+ type: "always_ask";
1873
+ } | {
1874
+ type: "auto";
1875
+ };
1876
+ type: "grep";
1877
+ } | {
1878
+ enabled: boolean;
1879
+ name: "web_fetch";
1880
+ permission_policy: {
1881
+ type: "always_allow";
1882
+ } | {
1883
+ type: "always_ask";
1884
+ } | {
1885
+ type: "auto";
1886
+ };
1887
+ type: "web_fetch";
1888
+ allowed_domains?: Array<string>;
1889
+ blocked_domains?: Array<string>;
1890
+ max_content_tokens?: null | number;
1891
+ } | {
1892
+ enabled: boolean;
1893
+ name: "web_search";
1894
+ permission_policy: {
1895
+ type: "always_allow";
1896
+ } | {
1897
+ type: "always_ask";
1898
+ } | {
1899
+ type: "auto";
1900
+ };
1901
+ type: "web_search";
1902
+ allowed_domains?: Array<string>;
1903
+ blocked_domains?: Array<string>;
1904
+ user_location?: null | {
1905
+ type: "approximate";
1906
+ city?: null | string;
1907
+ country?: null | string;
1908
+ region?: null | string;
1909
+ timezone?: null | string;
1910
+ };
1911
+ } | {
1912
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
1913
+ enabled: boolean;
1914
+ permission_policy: {
1915
+ type: "always_allow" | "always_ask";
1916
+ };
1917
+ }>;
1918
+ default_config: {
1919
+ enabled: boolean;
1920
+ permission_policy: {
1921
+ type: "always_allow";
1922
+ } | {
1923
+ type: "always_ask";
1924
+ } | {
1925
+ type: "auto";
1926
+ };
1927
+ };
1928
+ type: "agent_toolset_20260401";
1929
+ } | {
1930
+ type: "mcp_toolset";
1931
+ mcp_server_name: string;
1932
+ default_config?: {
1933
+ enabled?: boolean | null;
1934
+ permission_policy?: null | {
1935
+ type: "always_allow" | "always_ask";
1936
+ };
1937
+ } | null;
1938
+ configs?: Array<{
1939
+ name: string;
1940
+ enabled?: boolean | null;
1941
+ permission_policy?: null | {
1942
+ type: "always_allow" | "always_ask";
1943
+ };
1944
+ }> | null;
1945
+ } | {
1946
+ description: string;
1947
+ input_schema: {
1948
+ type: "object";
1949
+ properties?: null | {
1950
+ [key: string]: unknown;
1951
+ };
1952
+ required?: null | Array<string>;
1953
+ [key: string]: unknown;
1954
+ };
1955
+ name: string;
1956
+ type: "custom";
1957
+ }>;
1420
1958
  type: "agent";
1421
1959
  updated_at: string;
1422
1960
  version: number;
@@ -1435,15 +1973,23 @@ export declare function createAgent(transport: Transport): {
1435
1973
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1436
1974
  id: string;
1437
1975
  access: "read_only" | "read_write" | "invoke";
1976
+ customer_access?: "read_only" | "read_write" | "invoke";
1438
1977
  instructions?: string;
1439
1978
  readonly verified?: boolean;
1440
1979
  enabled?: boolean;
1441
1980
  } | {
1442
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
1981
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1443
1982
  readonly verified?: boolean;
1444
1983
  enabled?: boolean;
1445
1984
  }>;
1446
- kind: "general" | "personal" | "service" | "assume";
1985
+ kind: "general" | "service" | "assume";
1986
+ computers?: {
1987
+ default: string;
1988
+ allowed: Array<{
1989
+ template: string;
1990
+ name: string;
1991
+ }>;
1992
+ };
1447
1993
  computer_id?: string;
1448
1994
  subagent_model?: string | null;
1449
1995
  subagents?: Array<{
@@ -1536,6 +2082,7 @@ export declare function createAgent(transport: Transport): {
1536
2082
  allowManagedHooksOnly?: boolean;
1537
2083
  allowManagedMcpServersOnly?: boolean;
1538
2084
  allowManagedPermissionRulesOnly?: boolean;
2085
+ idleCompaction?: boolean;
1539
2086
  autoMemoryEnabled?: boolean;
1540
2087
  disabled?: {
1541
2088
  subagents?: Array<string>;
@@ -1544,7 +2091,6 @@ export declare function createAgent(transport: Transport): {
1544
2091
  mcpServers?: Array<string>;
1545
2092
  hooks?: Array<string>;
1546
2093
  };
1547
- idleCompaction?: boolean;
1548
2094
  outputStyle?: string;
1549
2095
  } | null;
1550
2096
  models?: {
@@ -1552,6 +2098,7 @@ export declare function createAgent(transport: Transport): {
1552
2098
  };
1553
2099
  avatar: string | null;
1554
2100
  creation_source: string | null;
2101
+ managed_by: string | null;
1555
2102
  identity_number: string | null;
1556
2103
  environment_id?: string | null;
1557
2104
  vault_ids?: Array<string>;
@@ -1578,6 +2125,7 @@ export declare function createAgent(transport: Transport): {
1578
2125
  speed?: "standard" | "fast";
1579
2126
  settings?: {
1580
2127
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2128
+ max_output_tokens?: number;
1581
2129
  };
1582
2130
  };
1583
2131
  multiagent?: null | Types.AgentManaged39;
@@ -1603,15 +2151,23 @@ export declare function createAgent(transport: Transport): {
1603
2151
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1604
2152
  id: string;
1605
2153
  access: "read_only" | "read_write" | "invoke";
2154
+ customer_access?: "read_only" | "read_write" | "invoke";
1606
2155
  instructions?: string;
1607
2156
  readonly verified?: boolean;
1608
2157
  enabled?: boolean;
1609
2158
  } | {
1610
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
2159
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1611
2160
  readonly verified?: boolean;
1612
2161
  enabled?: boolean;
1613
2162
  }>;
1614
- kind: "general" | "personal" | "service" | "assume";
2163
+ kind: "general" | "service" | "assume";
2164
+ computers?: {
2165
+ default: string;
2166
+ allowed: Array<{
2167
+ template: string;
2168
+ name: string;
2169
+ }>;
2170
+ };
1615
2171
  computer_id?: string;
1616
2172
  subagent_model?: string | null;
1617
2173
  subagents?: Array<{
@@ -1704,6 +2260,7 @@ export declare function createAgent(transport: Transport): {
1704
2260
  allowManagedHooksOnly?: boolean;
1705
2261
  allowManagedMcpServersOnly?: boolean;
1706
2262
  allowManagedPermissionRulesOnly?: boolean;
2263
+ idleCompaction?: boolean;
1707
2264
  autoMemoryEnabled?: boolean;
1708
2265
  disabled?: {
1709
2266
  subagents?: Array<string>;
@@ -1712,7 +2269,6 @@ export declare function createAgent(transport: Transport): {
1712
2269
  mcpServers?: Array<string>;
1713
2270
  hooks?: Array<string>;
1714
2271
  };
1715
- idleCompaction?: boolean;
1716
2272
  outputStyle?: string;
1717
2273
  } | null;
1718
2274
  models?: {
@@ -1720,6 +2276,7 @@ export declare function createAgent(transport: Transport): {
1720
2276
  };
1721
2277
  avatar: string | null;
1722
2278
  creation_source: string | null;
2279
+ managed_by: string | null;
1723
2280
  identity_number: string | null;
1724
2281
  environment_id?: string | null;
1725
2282
  vault_ids?: Array<string>;
@@ -1787,16 +2344,9 @@ export declare function createAgent(transport: Transport): {
1787
2344
  files: {
1788
2345
  convert: {
1789
2346
  create: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesConvertData>) => Promise<{
1790
- type: "computer";
1791
- id: string;
1792
- name: string;
1793
- sandbox_id: string | null;
1794
- machine_state: "not_started" | "provisioned";
1795
- environment_id: string | null;
1796
- status: "active" | "archived";
1797
- created_at: string;
1798
- updated_at: string;
1799
- archived_at: string | null;
2347
+ data: string;
2348
+ mime: "application/pdf";
2349
+ cached: boolean;
1800
2350
  }>;
1801
2351
  };
1802
2352
  list: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesListData>) => Promise<{
@@ -1814,6 +2364,18 @@ export declare function createAgent(transport: Transport): {
1814
2364
  tier: "light" | "heavy";
1815
2365
  }>;
1816
2366
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesContentData>) => Promise<Blob | File>;
2367
+ retrievePreview: (options: import("./core/transport.js").CallOptions<Types.PreviewComputerFileData>) => Promise<{
2368
+ variant: "image" | "pdf" | "text" | "original";
2369
+ version?: string;
2370
+ mime_type?: string;
2371
+ size?: number;
2372
+ file_id?: string;
2373
+ url?: string;
2374
+ expires_at?: string;
2375
+ cached: boolean;
2376
+ fallback?: "content";
2377
+ skipped?: boolean;
2378
+ }>;
1817
2379
  };
1818
2380
  leases: {
1819
2381
  delete: (options: import("./core/transport.js").CallOptions<Types.ReleaseComputerLeaseData>) => Promise<{
@@ -2089,77 +2651,614 @@ export declare function createAgent(transport: Transport): {
2089
2651
  effort?: null | "low" | "medium" | "high" | "xhigh" | "max" | Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
2090
2652
  speed?: null | "standard" | "fast";
2091
2653
  };
2092
- version: number;
2654
+ version: number;
2655
+ };
2656
+ archived_at: null | string;
2657
+ created_at: string;
2658
+ description: null | string;
2659
+ environment_id?: string | null;
2660
+ initial_events: Array<Types.AgentManaged86 | Types.AgentManaged87 | Types.AgentManaged90>;
2661
+ metadata: Types.AgentManaged91;
2662
+ name: string;
2663
+ paused_reason: null | Types.AgentManaged92 | Types.AgentManaged93;
2664
+ resources: Array<Types.AgentManaged108 | Types.AgentManaged109 | Types.AgentManaged110>;
2665
+ schedule: null | Types.AgentManaged111;
2666
+ status: "active" | "paused";
2667
+ type: "deployment";
2668
+ updated_at: string;
2669
+ vault_ids: Array<string>;
2670
+ budget?: null | Types.AgentManaged76;
2671
+ target: {
2672
+ type: "environment" | "computer";
2673
+ };
2674
+ }>;
2675
+ };
2676
+ update: (options: import("./core/transport.js").CallOptions<Types.DeploymentsUpdateData>) => Promise<{
2677
+ id: string;
2678
+ agent: {
2679
+ id: string;
2680
+ type: "agent";
2681
+ version: number;
2682
+ } | {
2683
+ id: string;
2684
+ type: "agent_with_overrides";
2685
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2686
+ cwd?: string;
2687
+ model?: string | {
2688
+ id: string;
2689
+ effort?: null | "low" | "medium" | "high" | "xhigh" | "max" | Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
2690
+ speed?: null | "standard" | "fast";
2691
+ };
2692
+ version: number;
2693
+ };
2694
+ archived_at: null | string;
2695
+ created_at: string;
2696
+ description: null | string;
2697
+ environment_id?: string | null;
2698
+ initial_events: Array<Types.AgentManaged86 | Types.AgentManaged87 | Types.AgentManaged90>;
2699
+ metadata: Types.AgentManaged91;
2700
+ name: string;
2701
+ paused_reason: null | Types.AgentManaged92 | Types.AgentManaged93;
2702
+ resources: Array<Types.AgentManaged108 | Types.AgentManaged109 | Types.AgentManaged110>;
2703
+ schedule: null | Types.AgentManaged111;
2704
+ status: "active" | "paused";
2705
+ type: "deployment";
2706
+ updated_at: string;
2707
+ vault_ids: Array<string>;
2708
+ budget?: null | Types.AgentManaged76;
2709
+ target: {
2710
+ type: "environment" | "computer";
2711
+ };
2712
+ }>;
2713
+ };
2714
+ environments: {
2715
+ archive: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsArchiveData>) => Promise<Types.AgentManaged138>;
2716
+ create: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsCreateData>) => Promise<Types.AgentManaged138>;
2717
+ list: (options?: import("./core/transport.js").CallOptions<Types.EnvironmentsListData> | undefined) => Promise<{
2718
+ data: Array<Types.AgentManaged138>;
2719
+ next_page: string | null;
2720
+ }>;
2721
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsRetrieveData>) => Promise<Types.AgentManaged138>;
2722
+ update: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsUpdateData>) => Promise<Types.AgentManaged138>;
2723
+ };
2724
+ sessions: {
2725
+ agentVersion: {
2726
+ create: (options: import("./core/transport.js").CallOptions<Types.UpdateSessionAgentVersionData>) => Promise<{
2727
+ id: string;
2728
+ agent: {
2729
+ id: string;
2730
+ description: null | string;
2731
+ mcp_servers: Array<{
2732
+ type: "url";
2733
+ name: string;
2734
+ url: string;
2735
+ headers?: {
2736
+ [key: string]: string;
2737
+ };
2738
+ timeout_ms?: number;
2739
+ } | {
2740
+ type: "sse";
2741
+ name: string;
2742
+ url: string;
2743
+ headers?: {
2744
+ [key: string]: string;
2745
+ };
2746
+ timeout_ms?: number;
2747
+ } | {
2748
+ type: "stdio";
2749
+ name: string;
2750
+ command: string;
2751
+ args?: Array<string>;
2752
+ env?: {
2753
+ [key: string]: string;
2754
+ };
2755
+ timeout_ms?: number;
2756
+ }>;
2757
+ model: {
2758
+ id: string;
2759
+ effort?: {
2760
+ type: "low";
2761
+ } | {
2762
+ type: "medium";
2763
+ } | {
2764
+ type: "high";
2765
+ } | {
2766
+ type: "xhigh";
2767
+ } | {
2768
+ type: "max";
2769
+ };
2770
+ inference_geo?: string;
2771
+ speed?: "standard" | "fast";
2772
+ settings?: {
2773
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2774
+ max_output_tokens?: number;
2775
+ };
2776
+ };
2777
+ multiagent: null | {
2778
+ agents: Array<{
2779
+ model: string;
2780
+ type: "advisor";
2781
+ } | {
2782
+ id: string;
2783
+ description: null | string;
2784
+ mcp_servers: Array<{
2785
+ type: "url";
2786
+ name: string;
2787
+ url: string;
2788
+ headers?: {
2789
+ [key: string]: string;
2790
+ };
2791
+ timeout_ms?: number;
2792
+ } | {
2793
+ type: "sse";
2794
+ name: string;
2795
+ url: string;
2796
+ headers?: {
2797
+ [key: string]: string;
2798
+ };
2799
+ timeout_ms?: number;
2800
+ } | {
2801
+ type: "stdio";
2802
+ name: string;
2803
+ command: string;
2804
+ args?: Array<string>;
2805
+ env?: {
2806
+ [key: string]: string;
2807
+ };
2808
+ timeout_ms?: number;
2809
+ }>;
2810
+ model: {
2811
+ id: string;
2812
+ effort?: {
2813
+ type: "low";
2814
+ } | {
2815
+ type: "medium";
2816
+ } | {
2817
+ type: "high";
2818
+ } | {
2819
+ type: "xhigh";
2820
+ } | {
2821
+ type: "max";
2822
+ };
2823
+ inference_geo?: string;
2824
+ speed?: "standard" | "fast";
2825
+ };
2826
+ name: string;
2827
+ skills: Array<{
2828
+ skill_id: string;
2829
+ type: "anthropic";
2830
+ version: string;
2831
+ } | {
2832
+ skill_id: string;
2833
+ type: "custom";
2834
+ version: string;
2835
+ }>;
2836
+ system: null | string;
2837
+ tools: Array<{
2838
+ configs: Array<{
2839
+ enabled: boolean;
2840
+ name: "bash";
2841
+ permission_policy: {
2842
+ type: "always_allow";
2843
+ } | {
2844
+ type: "always_ask";
2845
+ } | {
2846
+ type: "auto";
2847
+ };
2848
+ type: "bash";
2849
+ } | {
2850
+ enabled: boolean;
2851
+ name: "edit";
2852
+ permission_policy: {
2853
+ type: "always_allow";
2854
+ } | {
2855
+ type: "always_ask";
2856
+ } | {
2857
+ type: "auto";
2858
+ };
2859
+ type: "edit";
2860
+ } | {
2861
+ enabled: boolean;
2862
+ name: "read";
2863
+ permission_policy: {
2864
+ type: "always_allow";
2865
+ } | {
2866
+ type: "always_ask";
2867
+ } | {
2868
+ type: "auto";
2869
+ };
2870
+ type: "read";
2871
+ } | {
2872
+ enabled: boolean;
2873
+ name: "write";
2874
+ permission_policy: {
2875
+ type: "always_allow";
2876
+ } | {
2877
+ type: "always_ask";
2878
+ } | {
2879
+ type: "auto";
2880
+ };
2881
+ type: "write";
2882
+ } | {
2883
+ enabled: boolean;
2884
+ name: "glob";
2885
+ permission_policy: {
2886
+ type: "always_allow";
2887
+ } | {
2888
+ type: "always_ask";
2889
+ } | {
2890
+ type: "auto";
2891
+ };
2892
+ type: "glob";
2893
+ } | {
2894
+ enabled: boolean;
2895
+ name: "grep";
2896
+ permission_policy: {
2897
+ type: "always_allow";
2898
+ } | {
2899
+ type: "always_ask";
2900
+ } | {
2901
+ type: "auto";
2902
+ };
2903
+ type: "grep";
2904
+ } | {
2905
+ enabled: boolean;
2906
+ name: "web_fetch";
2907
+ permission_policy: {
2908
+ type: "always_allow";
2909
+ } | {
2910
+ type: "always_ask";
2911
+ } | {
2912
+ type: "auto";
2913
+ };
2914
+ type: "web_fetch";
2915
+ allowed_domains?: Array<string>;
2916
+ blocked_domains?: Array<string>;
2917
+ max_content_tokens?: null | number;
2918
+ } | {
2919
+ enabled: boolean;
2920
+ name: "web_search";
2921
+ permission_policy: {
2922
+ type: "always_allow";
2923
+ } | {
2924
+ type: "always_ask";
2925
+ } | {
2926
+ type: "auto";
2927
+ };
2928
+ type: "web_search";
2929
+ allowed_domains?: Array<string>;
2930
+ blocked_domains?: Array<string>;
2931
+ user_location?: null | {
2932
+ type: "approximate";
2933
+ city?: null | string;
2934
+ country?: null | string;
2935
+ region?: null | string;
2936
+ timezone?: null | string;
2937
+ };
2938
+ } | {
2939
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
2940
+ enabled: boolean;
2941
+ permission_policy: {
2942
+ type: "always_allow" | "always_ask";
2943
+ };
2944
+ }>;
2945
+ default_config: {
2946
+ enabled: boolean;
2947
+ permission_policy: {
2948
+ type: "always_allow";
2949
+ } | {
2950
+ type: "always_ask";
2951
+ } | {
2952
+ type: "auto";
2953
+ };
2954
+ };
2955
+ type: "agent_toolset_20260401";
2956
+ } | {
2957
+ type: "mcp_toolset";
2958
+ mcp_server_name: string;
2959
+ default_config?: {
2960
+ enabled?: boolean | null;
2961
+ permission_policy?: null | {
2962
+ type: "always_allow" | "always_ask";
2963
+ };
2964
+ } | null;
2965
+ configs?: Array<{
2966
+ name: string;
2967
+ enabled?: boolean | null;
2968
+ permission_policy?: null | {
2969
+ type: "always_allow" | "always_ask";
2970
+ };
2971
+ }> | null;
2972
+ } | {
2973
+ description: string;
2974
+ input_schema: {
2975
+ type: "object";
2976
+ properties?: null | {
2977
+ [key: string]: unknown;
2978
+ };
2979
+ required?: null | Array<string>;
2980
+ [key: string]: unknown;
2981
+ };
2982
+ name: string;
2983
+ type: "custom";
2984
+ }>;
2985
+ type: "agent";
2986
+ version: number;
2987
+ }>;
2988
+ type: "coordinator";
2989
+ };
2990
+ name: string;
2991
+ skills: Array<{
2992
+ skill_id: string;
2993
+ type: "anthropic";
2994
+ version: string;
2995
+ } | {
2996
+ skill_id: string;
2997
+ type: "custom";
2998
+ version: string;
2999
+ }>;
3000
+ system: null | string;
3001
+ tools: Array<{
3002
+ configs: Array<{
3003
+ enabled: boolean;
3004
+ name: "bash";
3005
+ permission_policy: {
3006
+ type: "always_allow";
3007
+ } | {
3008
+ type: "always_ask";
3009
+ } | {
3010
+ type: "auto";
3011
+ };
3012
+ type: "bash";
3013
+ } | {
3014
+ enabled: boolean;
3015
+ name: "edit";
3016
+ permission_policy: {
3017
+ type: "always_allow";
3018
+ } | {
3019
+ type: "always_ask";
3020
+ } | {
3021
+ type: "auto";
3022
+ };
3023
+ type: "edit";
3024
+ } | {
3025
+ enabled: boolean;
3026
+ name: "read";
3027
+ permission_policy: {
3028
+ type: "always_allow";
3029
+ } | {
3030
+ type: "always_ask";
3031
+ } | {
3032
+ type: "auto";
3033
+ };
3034
+ type: "read";
3035
+ } | {
3036
+ enabled: boolean;
3037
+ name: "write";
3038
+ permission_policy: {
3039
+ type: "always_allow";
3040
+ } | {
3041
+ type: "always_ask";
3042
+ } | {
3043
+ type: "auto";
3044
+ };
3045
+ type: "write";
3046
+ } | {
3047
+ enabled: boolean;
3048
+ name: "glob";
3049
+ permission_policy: {
3050
+ type: "always_allow";
3051
+ } | {
3052
+ type: "always_ask";
3053
+ } | {
3054
+ type: "auto";
3055
+ };
3056
+ type: "glob";
3057
+ } | {
3058
+ enabled: boolean;
3059
+ name: "grep";
3060
+ permission_policy: {
3061
+ type: "always_allow";
3062
+ } | {
3063
+ type: "always_ask";
3064
+ } | {
3065
+ type: "auto";
3066
+ };
3067
+ type: "grep";
3068
+ } | {
3069
+ enabled: boolean;
3070
+ name: "web_fetch";
3071
+ permission_policy: {
3072
+ type: "always_allow";
3073
+ } | {
3074
+ type: "always_ask";
3075
+ } | {
3076
+ type: "auto";
3077
+ };
3078
+ type: "web_fetch";
3079
+ allowed_domains?: Array<string>;
3080
+ blocked_domains?: Array<string>;
3081
+ max_content_tokens?: null | number;
3082
+ } | {
3083
+ enabled: boolean;
3084
+ name: "web_search";
3085
+ permission_policy: {
3086
+ type: "always_allow";
3087
+ } | {
3088
+ type: "always_ask";
3089
+ } | {
3090
+ type: "auto";
3091
+ };
3092
+ type: "web_search";
3093
+ allowed_domains?: Array<string>;
3094
+ blocked_domains?: Array<string>;
3095
+ user_location?: null | {
3096
+ type: "approximate";
3097
+ city?: null | string;
3098
+ country?: null | string;
3099
+ region?: null | string;
3100
+ timezone?: null | string;
3101
+ };
3102
+ } | {
3103
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
3104
+ enabled: boolean;
3105
+ permission_policy: {
3106
+ type: "always_allow" | "always_ask";
3107
+ };
3108
+ }>;
3109
+ default_config: {
3110
+ enabled: boolean;
3111
+ permission_policy: {
3112
+ type: "always_allow";
3113
+ } | {
3114
+ type: "always_ask";
3115
+ } | {
3116
+ type: "auto";
3117
+ };
3118
+ };
3119
+ type: "agent_toolset_20260401";
3120
+ } | {
3121
+ type: "mcp_toolset";
3122
+ mcp_server_name: string;
3123
+ default_config?: {
3124
+ enabled?: boolean | null;
3125
+ permission_policy?: null | {
3126
+ type: "always_allow" | "always_ask";
3127
+ };
3128
+ } | null;
3129
+ configs?: Array<{
3130
+ name: string;
3131
+ enabled?: boolean | null;
3132
+ permission_policy?: null | {
3133
+ type: "always_allow" | "always_ask";
3134
+ };
3135
+ }> | null;
3136
+ } | {
3137
+ description: string;
3138
+ input_schema: {
3139
+ type: "object";
3140
+ properties?: null | {
3141
+ [key: string]: unknown;
3142
+ };
3143
+ required?: null | Array<string>;
3144
+ [key: string]: unknown;
3145
+ };
3146
+ name: string;
3147
+ type: "custom";
3148
+ }>;
3149
+ type: "agent";
3150
+ version: number;
3151
+ };
3152
+ archived_at: null | string;
3153
+ budget: null | {
3154
+ max_list_cost: {
3155
+ amount: string;
3156
+ currency: "USD";
3157
+ };
3158
+ type: "limit";
3159
+ };
3160
+ created_at: string;
3161
+ environment_id?: string;
3162
+ metadata: {
3163
+ [key: string]: string;
3164
+ };
3165
+ outcome_evaluations: Array<{
3166
+ completed_at: null | string;
3167
+ description: string;
3168
+ explanation: null | string;
3169
+ iteration: number;
3170
+ outcome_id: string;
3171
+ result: string;
3172
+ type: "outcome_evaluation";
3173
+ }>;
3174
+ resources: Array<{
3175
+ id: string;
3176
+ created_at: string;
3177
+ mount_path: string;
3178
+ type: "github_repository";
3179
+ updated_at: string;
3180
+ url: string;
3181
+ checkout?: null | {
3182
+ name: string;
3183
+ type: "branch";
3184
+ } | {
3185
+ sha: string;
3186
+ type: "commit";
3187
+ };
3188
+ } | {
3189
+ id: string;
3190
+ created_at: string;
3191
+ file_id: string;
3192
+ mount_path: string;
3193
+ type: "file";
3194
+ updated_at: string;
3195
+ } | {
3196
+ memory_store_id: string;
3197
+ type: "memory_store";
3198
+ access?: null | "read_write" | "read_only";
3199
+ description?: string;
3200
+ instructions?: null | string;
3201
+ mount_path?: null | string;
3202
+ name?: null | string;
3203
+ }>;
3204
+ stats: {
3205
+ active_seconds?: number;
3206
+ duration_seconds?: number;
3207
+ };
3208
+ status: "rescheduling" | "running" | "idle" | "terminated";
3209
+ title: null | string;
3210
+ type: "session";
3211
+ updated_at: string;
3212
+ usage: {
3213
+ active_seconds?: number;
3214
+ cache_creation?: {
3215
+ ephemeral_1h_input_tokens?: number;
3216
+ ephemeral_5m_input_tokens?: number;
3217
+ };
3218
+ cache_read_input_tokens?: number;
3219
+ input_tokens?: number;
3220
+ list_cost?: null | {
3221
+ amount: string;
3222
+ currency: "USD";
3223
+ };
3224
+ output_tokens?: number;
3225
+ server_tool_use?: null | {
3226
+ web_fetch_requests?: number;
3227
+ web_search_requests?: number;
3228
+ };
3229
+ cost_by_product?: {
3230
+ [key: string]: string;
3231
+ };
3232
+ subagent_cost_micro_usd?: number;
2093
3233
  };
2094
- archived_at: null | string;
2095
- created_at: string;
2096
- description: null | string;
2097
- environment_id?: string | null;
2098
- initial_events: Array<Types.AgentManaged86 | Types.AgentManaged87 | Types.AgentManaged90>;
2099
- metadata: Types.AgentManaged91;
2100
- name: string;
2101
- paused_reason: null | Types.AgentManaged92 | Types.AgentManaged93;
2102
- resources: Array<Types.AgentManaged108 | Types.AgentManaged109 | Types.AgentManaged110>;
2103
- schedule: null | Types.AgentManaged111;
2104
- status: "active" | "paused";
2105
- type: "deployment";
2106
- updated_at: string;
2107
3234
  vault_ids: Array<string>;
2108
- budget?: null | Types.AgentManaged76;
2109
- target: {
2110
- type: "environment" | "computer";
3235
+ deployment_id?: null | string;
3236
+ cwd: string;
3237
+ workspace?: {
3238
+ kind: "shared" | "isolated";
3239
+ path?: string;
3240
+ branch?: string;
2111
3241
  };
2112
- }>;
2113
- };
2114
- update: (options: import("./core/transport.js").CallOptions<Types.DeploymentsUpdateData>) => Promise<{
2115
- id: string;
2116
- agent: {
2117
- id: string;
2118
- type: "agent";
2119
- version: number;
2120
- } | {
2121
- id: string;
2122
- type: "agent_with_overrides";
2123
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2124
- cwd?: string;
2125
- model?: string | {
3242
+ computer_id?: string;
3243
+ model?: {
2126
3244
  id: string;
2127
- effort?: null | "low" | "medium" | "high" | "xhigh" | "max" | Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
2128
- speed?: null | "standard" | "fast";
3245
+ thinking: {
3246
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
3247
+ can_disable: boolean;
3248
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
3249
+ } | null;
2129
3250
  };
2130
- version: number;
2131
- };
2132
- archived_at: null | string;
2133
- created_at: string;
2134
- description: null | string;
2135
- environment_id?: string | null;
2136
- initial_events: Array<Types.AgentManaged86 | Types.AgentManaged87 | Types.AgentManaged90>;
2137
- metadata: Types.AgentManaged91;
2138
- name: string;
2139
- paused_reason: null | Types.AgentManaged92 | Types.AgentManaged93;
2140
- resources: Array<Types.AgentManaged108 | Types.AgentManaged109 | Types.AgentManaged110>;
2141
- schedule: null | Types.AgentManaged111;
2142
- status: "active" | "paused";
2143
- type: "deployment";
2144
- updated_at: string;
2145
- vault_ids: Array<string>;
2146
- budget?: null | Types.AgentManaged76;
2147
- target: {
2148
- type: "environment" | "computer";
2149
- };
2150
- }>;
2151
- };
2152
- environments: {
2153
- archive: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsArchiveData>) => Promise<Types.AgentManaged138>;
2154
- create: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsCreateData>) => Promise<Types.AgentManaged138>;
2155
- list: (options?: import("./core/transport.js").CallOptions<Types.EnvironmentsListData> | undefined) => Promise<{
2156
- data: Array<Types.AgentManaged138>;
2157
- next_page: string | null;
2158
- }>;
2159
- retrieve: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsRetrieveData>) => Promise<Types.AgentManaged138>;
2160
- update: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsUpdateData>) => Promise<Types.AgentManaged138>;
2161
- };
2162
- sessions: {
3251
+ thinking?: {
3252
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3253
+ } | null;
3254
+ forked_from?: {
3255
+ session_id: string;
3256
+ message_id: string;
3257
+ } | null;
3258
+ readonly external_user_id: string | null;
3259
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
3260
+ }>;
3261
+ };
2163
3262
  archive: (options: import("./core/transport.js").CallOptions<Types.SessionsArchiveData>) => Promise<{
2164
3263
  id: string;
2165
3264
  agent: {
@@ -2173,6 +3272,7 @@ export declare function createAgent(transport: Transport): {
2173
3272
  speed?: "standard" | "fast";
2174
3273
  settings?: {
2175
3274
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3275
+ max_output_tokens?: number;
2176
3276
  };
2177
3277
  };
2178
3278
  multiagent: null | Types.AgentManaged171;
@@ -2199,6 +3299,11 @@ export declare function createAgent(transport: Transport): {
2199
3299
  vault_ids: Array<string>;
2200
3300
  deployment_id?: null | string;
2201
3301
  cwd: string;
3302
+ workspace?: {
3303
+ kind: "shared" | "isolated";
3304
+ path?: string;
3305
+ branch?: string;
3306
+ };
2202
3307
  computer_id?: string;
2203
3308
  model?: {
2204
3309
  id: string;
@@ -2218,6 +3323,40 @@ export declare function createAgent(transport: Transport): {
2218
3323
  readonly external_user_id: string | null;
2219
3324
  readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
2220
3325
  }>;
3326
+ artifacts: {
3327
+ contentUrl: {
3328
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateSessionArtifactContentUrlData>) => Promise<{
3329
+ url: string;
3330
+ expire_time: string;
3331
+ }>;
3332
+ };
3333
+ list: (options: import("./core/transport.js").CallOptions<Types.ListSessionArtifactsData>) => Promise<{
3334
+ data: Array<{
3335
+ object: "artifact";
3336
+ id: string;
3337
+ session_id: string;
3338
+ run_id: string | null;
3339
+ name: string;
3340
+ version: number;
3341
+ parts: Array<{
3342
+ kind: "file";
3343
+ file_id: string;
3344
+ filename: string;
3345
+ mime_type: string;
3346
+ bytes: number;
3347
+ } | {
3348
+ kind: "object";
3349
+ object_type: "canvas" | "media_asset";
3350
+ object_id: string;
3351
+ href: string;
3352
+ title: string | null;
3353
+ }>;
3354
+ source_hrefs: Array<string>;
3355
+ create_time: string;
3356
+ update_time: string;
3357
+ }>;
3358
+ }>;
3359
+ };
2221
3360
  backgroundTasks: {
2222
3361
  list: (options: import("./core/transport.js").CallOptions<Types.ListSessionBackgroundTasksData>) => Promise<{
2223
3362
  data: Array<{
@@ -2300,6 +3439,7 @@ export declare function createAgent(transport: Transport): {
2300
3439
  speed?: "standard" | "fast";
2301
3440
  settings?: {
2302
3441
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3442
+ max_output_tokens?: number;
2303
3443
  };
2304
3444
  };
2305
3445
  multiagent: null | Types.AgentManaged171;
@@ -2326,6 +3466,11 @@ export declare function createAgent(transport: Transport): {
2326
3466
  vault_ids: Array<string>;
2327
3467
  deployment_id?: null | string;
2328
3468
  cwd: string;
3469
+ workspace?: {
3470
+ kind: "shared" | "isolated";
3471
+ path?: string;
3472
+ branch?: string;
3473
+ };
2329
3474
  computer_id?: string;
2330
3475
  model?: {
2331
3476
  id: string;
@@ -2386,7 +3531,6 @@ export declare function createAgent(transport: Transport): {
2386
3531
  run_id: string | null;
2387
3532
  message_id?: string;
2388
3533
  } | {
2389
- full_access_available?: boolean;
2390
3534
  id: string;
2391
3535
  input: Types.AgentManaged197;
2392
3536
  mcp_server_name: string;
@@ -2396,6 +3540,18 @@ export declare function createAgent(transport: Transport): {
2396
3540
  evaluated_permission?: "allow" | "deny" | "ask";
2397
3541
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2398
3542
  session_thread_id?: null | string;
3543
+ permission_suggestions?: Array<{
3544
+ type: "add_rules";
3545
+ behavior: "allow";
3546
+ destination: "agent" | "session";
3547
+ rules: Array<{
3548
+ tool_name: string;
3549
+ rule_content: string;
3550
+ }>;
3551
+ }>;
3552
+ full_access_available?: boolean;
3553
+ user_once?: true;
3554
+ guarded_rule?: string;
2399
3555
  run_id: string | null;
2400
3556
  _meta?: {
2401
3557
  ui?: {
@@ -2409,17 +3565,6 @@ export declare function createAgent(transport: Transport): {
2409
3565
  };
2410
3566
  source?: "app" | "codemode";
2411
3567
  parent_tool_use_id?: string;
2412
- user_once?: true;
2413
- guarded_rule?: string;
2414
- permission_suggestions?: Array<{
2415
- type: "add_rules";
2416
- behavior: "allow";
2417
- destination: "agent" | "session";
2418
- rules: Array<{
2419
- tool_name: string;
2420
- rule_content: string;
2421
- }>;
2422
- }>;
2423
3568
  title?: string;
2424
3569
  input_titles?: {
2425
3570
  [key: string]: string;
@@ -2438,7 +3583,6 @@ export declare function createAgent(transport: Transport): {
2438
3583
  };
2439
3584
  source?: "app" | "codemode";
2440
3585
  } | {
2441
- full_access_available?: boolean;
2442
3586
  id: string;
2443
3587
  input: Types.AgentManaged206;
2444
3588
  name: string;
@@ -2447,9 +3591,6 @@ export declare function createAgent(transport: Transport): {
2447
3591
  evaluated_permission?: "allow" | "deny" | "ask";
2448
3592
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2449
3593
  session_thread_id?: null | string;
2450
- run_id: string | null;
2451
- user_once?: true;
2452
- guarded_rule?: string;
2453
3594
  permission_suggestions?: Array<{
2454
3595
  type: "add_rules";
2455
3596
  behavior: "allow";
@@ -2459,6 +3600,10 @@ export declare function createAgent(transport: Transport): {
2459
3600
  rule_content: string;
2460
3601
  }>;
2461
3602
  }>;
3603
+ full_access_available?: boolean;
3604
+ user_once?: true;
3605
+ guarded_rule?: string;
3606
+ run_id: string | null;
2462
3607
  } | {
2463
3608
  id: string;
2464
3609
  processed_at: string;
@@ -2479,9 +3624,6 @@ export declare function createAgent(transport: Transport): {
2479
3624
  type: "session.status_idle";
2480
3625
  run_id: string | null;
2481
3626
  } | 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 | {
2482
- permission_mode_version?: number;
2483
- previous_permission_mode?: string | null;
2484
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2485
3627
  id: string;
2486
3628
  processed_at: string;
2487
3629
  type: "session.updated";
@@ -2489,6 +3631,9 @@ export declare function createAgent(transport: Transport): {
2489
3631
  budget?: null | Types.AgentManaged76;
2490
3632
  metadata?: Types.AgentManaged246;
2491
3633
  title?: null | string;
3634
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
3635
+ previous_permission_mode?: string | null;
3636
+ permission_mode_version?: number;
2492
3637
  model?: {
2493
3638
  id: string;
2494
3639
  };
@@ -2649,6 +3794,7 @@ export declare function createAgent(transport: Transport): {
2649
3794
  speed?: "standard" | "fast";
2650
3795
  settings?: {
2651
3796
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3797
+ max_output_tokens?: number;
2652
3798
  };
2653
3799
  };
2654
3800
  multiagent: null | {
@@ -3111,6 +4257,11 @@ export declare function createAgent(transport: Transport): {
3111
4257
  vault_ids: Array<string>;
3112
4258
  deployment_id?: null | string;
3113
4259
  cwd: string;
4260
+ workspace?: {
4261
+ kind: "shared" | "isolated";
4262
+ path?: string;
4263
+ branch?: string;
4264
+ };
3114
4265
  computer_id?: string;
3115
4266
  model?: {
3116
4267
  id: string;
@@ -3144,32 +4295,576 @@ export declare function createAgent(transport: Transport): {
3144
4295
  speed?: "standard" | "fast";
3145
4296
  settings?: {
3146
4297
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4298
+ max_output_tokens?: number;
4299
+ };
4300
+ };
4301
+ multiagent: null | Types.AgentManaged171;
4302
+ name: string;
4303
+ skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
4304
+ system: null | string;
4305
+ tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
4306
+ type: "agent";
4307
+ version: number;
4308
+ };
4309
+ archived_at: null | string;
4310
+ budget: null | Types.AgentManaged76;
4311
+ created_at: string;
4312
+ environment_id?: string;
4313
+ metadata: Types.AgentManaged173;
4314
+ outcome_evaluations: Array<Types.AgentManaged174>;
4315
+ resources: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
4316
+ stats: Types.AgentManaged178;
4317
+ status: "rescheduling" | "running" | "idle" | "terminated";
4318
+ title: null | string;
4319
+ type: "session";
4320
+ updated_at: string;
4321
+ usage: Types.AgentManaged179;
4322
+ vault_ids: Array<string>;
4323
+ deployment_id?: null | string;
4324
+ cwd: string;
4325
+ workspace?: {
4326
+ kind: "shared" | "isolated";
4327
+ path?: string;
4328
+ branch?: string;
4329
+ };
4330
+ computer_id?: string;
4331
+ model?: {
4332
+ id: string;
4333
+ thinking: {
4334
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
4335
+ can_disable: boolean;
4336
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
4337
+ } | null;
4338
+ };
4339
+ thinking?: {
4340
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4341
+ } | null;
4342
+ forked_from?: {
4343
+ session_id: string;
4344
+ message_id: string;
4345
+ } | null;
4346
+ readonly external_user_id: string | null;
4347
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
4348
+ }>;
4349
+ next_page: string | null;
4350
+ }>;
4351
+ name: {
4352
+ create: (options: import("./core/transport.js").CallOptions<Types.RenameSessionData>) => Promise<{
4353
+ id: string;
4354
+ agent: {
4355
+ id: string;
4356
+ description: null | string;
4357
+ mcp_servers: Array<{
4358
+ type: "url";
4359
+ name: string;
4360
+ url: string;
4361
+ headers?: {
4362
+ [key: string]: string;
4363
+ };
4364
+ timeout_ms?: number;
4365
+ } | {
4366
+ type: "sse";
4367
+ name: string;
4368
+ url: string;
4369
+ headers?: {
4370
+ [key: string]: string;
4371
+ };
4372
+ timeout_ms?: number;
4373
+ } | {
4374
+ type: "stdio";
4375
+ name: string;
4376
+ command: string;
4377
+ args?: Array<string>;
4378
+ env?: {
4379
+ [key: string]: string;
4380
+ };
4381
+ timeout_ms?: number;
4382
+ }>;
4383
+ model: {
4384
+ id: string;
4385
+ effort?: {
4386
+ type: "low";
4387
+ } | {
4388
+ type: "medium";
4389
+ } | {
4390
+ type: "high";
4391
+ } | {
4392
+ type: "xhigh";
4393
+ } | {
4394
+ type: "max";
4395
+ };
4396
+ inference_geo?: string;
4397
+ speed?: "standard" | "fast";
4398
+ settings?: {
4399
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4400
+ max_output_tokens?: number;
3147
4401
  };
3148
4402
  };
3149
- multiagent: null | Types.AgentManaged171;
4403
+ multiagent: null | {
4404
+ agents: Array<{
4405
+ model: string;
4406
+ type: "advisor";
4407
+ } | {
4408
+ id: string;
4409
+ description: null | string;
4410
+ mcp_servers: Array<{
4411
+ type: "url";
4412
+ name: string;
4413
+ url: string;
4414
+ headers?: {
4415
+ [key: string]: string;
4416
+ };
4417
+ timeout_ms?: number;
4418
+ } | {
4419
+ type: "sse";
4420
+ name: string;
4421
+ url: string;
4422
+ headers?: {
4423
+ [key: string]: string;
4424
+ };
4425
+ timeout_ms?: number;
4426
+ } | {
4427
+ type: "stdio";
4428
+ name: string;
4429
+ command: string;
4430
+ args?: Array<string>;
4431
+ env?: {
4432
+ [key: string]: string;
4433
+ };
4434
+ timeout_ms?: number;
4435
+ }>;
4436
+ model: {
4437
+ id: string;
4438
+ effort?: {
4439
+ type: "low";
4440
+ } | {
4441
+ type: "medium";
4442
+ } | {
4443
+ type: "high";
4444
+ } | {
4445
+ type: "xhigh";
4446
+ } | {
4447
+ type: "max";
4448
+ };
4449
+ inference_geo?: string;
4450
+ speed?: "standard" | "fast";
4451
+ };
4452
+ name: string;
4453
+ skills: Array<{
4454
+ skill_id: string;
4455
+ type: "anthropic";
4456
+ version: string;
4457
+ } | {
4458
+ skill_id: string;
4459
+ type: "custom";
4460
+ version: string;
4461
+ }>;
4462
+ system: null | string;
4463
+ tools: Array<{
4464
+ configs: Array<{
4465
+ enabled: boolean;
4466
+ name: "bash";
4467
+ permission_policy: {
4468
+ type: "always_allow";
4469
+ } | {
4470
+ type: "always_ask";
4471
+ } | {
4472
+ type: "auto";
4473
+ };
4474
+ type: "bash";
4475
+ } | {
4476
+ enabled: boolean;
4477
+ name: "edit";
4478
+ permission_policy: {
4479
+ type: "always_allow";
4480
+ } | {
4481
+ type: "always_ask";
4482
+ } | {
4483
+ type: "auto";
4484
+ };
4485
+ type: "edit";
4486
+ } | {
4487
+ enabled: boolean;
4488
+ name: "read";
4489
+ permission_policy: {
4490
+ type: "always_allow";
4491
+ } | {
4492
+ type: "always_ask";
4493
+ } | {
4494
+ type: "auto";
4495
+ };
4496
+ type: "read";
4497
+ } | {
4498
+ enabled: boolean;
4499
+ name: "write";
4500
+ permission_policy: {
4501
+ type: "always_allow";
4502
+ } | {
4503
+ type: "always_ask";
4504
+ } | {
4505
+ type: "auto";
4506
+ };
4507
+ type: "write";
4508
+ } | {
4509
+ enabled: boolean;
4510
+ name: "glob";
4511
+ permission_policy: {
4512
+ type: "always_allow";
4513
+ } | {
4514
+ type: "always_ask";
4515
+ } | {
4516
+ type: "auto";
4517
+ };
4518
+ type: "glob";
4519
+ } | {
4520
+ enabled: boolean;
4521
+ name: "grep";
4522
+ permission_policy: {
4523
+ type: "always_allow";
4524
+ } | {
4525
+ type: "always_ask";
4526
+ } | {
4527
+ type: "auto";
4528
+ };
4529
+ type: "grep";
4530
+ } | {
4531
+ enabled: boolean;
4532
+ name: "web_fetch";
4533
+ permission_policy: {
4534
+ type: "always_allow";
4535
+ } | {
4536
+ type: "always_ask";
4537
+ } | {
4538
+ type: "auto";
4539
+ };
4540
+ type: "web_fetch";
4541
+ allowed_domains?: Array<string>;
4542
+ blocked_domains?: Array<string>;
4543
+ max_content_tokens?: null | number;
4544
+ } | {
4545
+ enabled: boolean;
4546
+ name: "web_search";
4547
+ permission_policy: {
4548
+ type: "always_allow";
4549
+ } | {
4550
+ type: "always_ask";
4551
+ } | {
4552
+ type: "auto";
4553
+ };
4554
+ type: "web_search";
4555
+ allowed_domains?: Array<string>;
4556
+ blocked_domains?: Array<string>;
4557
+ user_location?: null | {
4558
+ type: "approximate";
4559
+ city?: null | string;
4560
+ country?: null | string;
4561
+ region?: null | string;
4562
+ timezone?: null | string;
4563
+ };
4564
+ } | {
4565
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
4566
+ enabled: boolean;
4567
+ permission_policy: {
4568
+ type: "always_allow" | "always_ask";
4569
+ };
4570
+ }>;
4571
+ default_config: {
4572
+ enabled: boolean;
4573
+ permission_policy: {
4574
+ type: "always_allow";
4575
+ } | {
4576
+ type: "always_ask";
4577
+ } | {
4578
+ type: "auto";
4579
+ };
4580
+ };
4581
+ type: "agent_toolset_20260401";
4582
+ } | {
4583
+ type: "mcp_toolset";
4584
+ mcp_server_name: string;
4585
+ default_config?: {
4586
+ enabled?: boolean | null;
4587
+ permission_policy?: null | {
4588
+ type: "always_allow" | "always_ask";
4589
+ };
4590
+ } | null;
4591
+ configs?: Array<{
4592
+ name: string;
4593
+ enabled?: boolean | null;
4594
+ permission_policy?: null | {
4595
+ type: "always_allow" | "always_ask";
4596
+ };
4597
+ }> | null;
4598
+ } | {
4599
+ description: string;
4600
+ input_schema: {
4601
+ type: "object";
4602
+ properties?: null | {
4603
+ [key: string]: unknown;
4604
+ };
4605
+ required?: null | Array<string>;
4606
+ [key: string]: unknown;
4607
+ };
4608
+ name: string;
4609
+ type: "custom";
4610
+ }>;
4611
+ type: "agent";
4612
+ version: number;
4613
+ }>;
4614
+ type: "coordinator";
4615
+ };
3150
4616
  name: string;
3151
- skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
4617
+ skills: Array<{
4618
+ skill_id: string;
4619
+ type: "anthropic";
4620
+ version: string;
4621
+ } | {
4622
+ skill_id: string;
4623
+ type: "custom";
4624
+ version: string;
4625
+ }>;
3152
4626
  system: null | string;
3153
- tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
4627
+ tools: Array<{
4628
+ configs: Array<{
4629
+ enabled: boolean;
4630
+ name: "bash";
4631
+ permission_policy: {
4632
+ type: "always_allow";
4633
+ } | {
4634
+ type: "always_ask";
4635
+ } | {
4636
+ type: "auto";
4637
+ };
4638
+ type: "bash";
4639
+ } | {
4640
+ enabled: boolean;
4641
+ name: "edit";
4642
+ permission_policy: {
4643
+ type: "always_allow";
4644
+ } | {
4645
+ type: "always_ask";
4646
+ } | {
4647
+ type: "auto";
4648
+ };
4649
+ type: "edit";
4650
+ } | {
4651
+ enabled: boolean;
4652
+ name: "read";
4653
+ permission_policy: {
4654
+ type: "always_allow";
4655
+ } | {
4656
+ type: "always_ask";
4657
+ } | {
4658
+ type: "auto";
4659
+ };
4660
+ type: "read";
4661
+ } | {
4662
+ enabled: boolean;
4663
+ name: "write";
4664
+ permission_policy: {
4665
+ type: "always_allow";
4666
+ } | {
4667
+ type: "always_ask";
4668
+ } | {
4669
+ type: "auto";
4670
+ };
4671
+ type: "write";
4672
+ } | {
4673
+ enabled: boolean;
4674
+ name: "glob";
4675
+ permission_policy: {
4676
+ type: "always_allow";
4677
+ } | {
4678
+ type: "always_ask";
4679
+ } | {
4680
+ type: "auto";
4681
+ };
4682
+ type: "glob";
4683
+ } | {
4684
+ enabled: boolean;
4685
+ name: "grep";
4686
+ permission_policy: {
4687
+ type: "always_allow";
4688
+ } | {
4689
+ type: "always_ask";
4690
+ } | {
4691
+ type: "auto";
4692
+ };
4693
+ type: "grep";
4694
+ } | {
4695
+ enabled: boolean;
4696
+ name: "web_fetch";
4697
+ permission_policy: {
4698
+ type: "always_allow";
4699
+ } | {
4700
+ type: "always_ask";
4701
+ } | {
4702
+ type: "auto";
4703
+ };
4704
+ type: "web_fetch";
4705
+ allowed_domains?: Array<string>;
4706
+ blocked_domains?: Array<string>;
4707
+ max_content_tokens?: null | number;
4708
+ } | {
4709
+ enabled: boolean;
4710
+ name: "web_search";
4711
+ permission_policy: {
4712
+ type: "always_allow";
4713
+ } | {
4714
+ type: "always_ask";
4715
+ } | {
4716
+ type: "auto";
4717
+ };
4718
+ type: "web_search";
4719
+ allowed_domains?: Array<string>;
4720
+ blocked_domains?: Array<string>;
4721
+ user_location?: null | {
4722
+ type: "approximate";
4723
+ city?: null | string;
4724
+ country?: null | string;
4725
+ region?: null | string;
4726
+ timezone?: null | string;
4727
+ };
4728
+ } | {
4729
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
4730
+ enabled: boolean;
4731
+ permission_policy: {
4732
+ type: "always_allow" | "always_ask";
4733
+ };
4734
+ }>;
4735
+ default_config: {
4736
+ enabled: boolean;
4737
+ permission_policy: {
4738
+ type: "always_allow";
4739
+ } | {
4740
+ type: "always_ask";
4741
+ } | {
4742
+ type: "auto";
4743
+ };
4744
+ };
4745
+ type: "agent_toolset_20260401";
4746
+ } | {
4747
+ type: "mcp_toolset";
4748
+ mcp_server_name: string;
4749
+ default_config?: {
4750
+ enabled?: boolean | null;
4751
+ permission_policy?: null | {
4752
+ type: "always_allow" | "always_ask";
4753
+ };
4754
+ } | null;
4755
+ configs?: Array<{
4756
+ name: string;
4757
+ enabled?: boolean | null;
4758
+ permission_policy?: null | {
4759
+ type: "always_allow" | "always_ask";
4760
+ };
4761
+ }> | null;
4762
+ } | {
4763
+ description: string;
4764
+ input_schema: {
4765
+ type: "object";
4766
+ properties?: null | {
4767
+ [key: string]: unknown;
4768
+ };
4769
+ required?: null | Array<string>;
4770
+ [key: string]: unknown;
4771
+ };
4772
+ name: string;
4773
+ type: "custom";
4774
+ }>;
3154
4775
  type: "agent";
3155
4776
  version: number;
3156
4777
  };
3157
4778
  archived_at: null | string;
3158
- budget: null | Types.AgentManaged76;
4779
+ budget: null | {
4780
+ max_list_cost: {
4781
+ amount: string;
4782
+ currency: "USD";
4783
+ };
4784
+ type: "limit";
4785
+ };
3159
4786
  created_at: string;
3160
4787
  environment_id?: string;
3161
- metadata: Types.AgentManaged173;
3162
- outcome_evaluations: Array<Types.AgentManaged174>;
3163
- resources: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
3164
- stats: Types.AgentManaged178;
4788
+ metadata: {
4789
+ [key: string]: string;
4790
+ };
4791
+ outcome_evaluations: Array<{
4792
+ completed_at: null | string;
4793
+ description: string;
4794
+ explanation: null | string;
4795
+ iteration: number;
4796
+ outcome_id: string;
4797
+ result: string;
4798
+ type: "outcome_evaluation";
4799
+ }>;
4800
+ resources: Array<{
4801
+ id: string;
4802
+ created_at: string;
4803
+ mount_path: string;
4804
+ type: "github_repository";
4805
+ updated_at: string;
4806
+ url: string;
4807
+ checkout?: null | {
4808
+ name: string;
4809
+ type: "branch";
4810
+ } | {
4811
+ sha: string;
4812
+ type: "commit";
4813
+ };
4814
+ } | {
4815
+ id: string;
4816
+ created_at: string;
4817
+ file_id: string;
4818
+ mount_path: string;
4819
+ type: "file";
4820
+ updated_at: string;
4821
+ } | {
4822
+ memory_store_id: string;
4823
+ type: "memory_store";
4824
+ access?: null | "read_write" | "read_only";
4825
+ description?: string;
4826
+ instructions?: null | string;
4827
+ mount_path?: null | string;
4828
+ name?: null | string;
4829
+ }>;
4830
+ stats: {
4831
+ active_seconds?: number;
4832
+ duration_seconds?: number;
4833
+ };
3165
4834
  status: "rescheduling" | "running" | "idle" | "terminated";
3166
4835
  title: null | string;
3167
4836
  type: "session";
3168
4837
  updated_at: string;
3169
- usage: Types.AgentManaged179;
4838
+ usage: {
4839
+ active_seconds?: number;
4840
+ cache_creation?: {
4841
+ ephemeral_1h_input_tokens?: number;
4842
+ ephemeral_5m_input_tokens?: number;
4843
+ };
4844
+ cache_read_input_tokens?: number;
4845
+ input_tokens?: number;
4846
+ list_cost?: null | {
4847
+ amount: string;
4848
+ currency: "USD";
4849
+ };
4850
+ output_tokens?: number;
4851
+ server_tool_use?: null | {
4852
+ web_fetch_requests?: number;
4853
+ web_search_requests?: number;
4854
+ };
4855
+ cost_by_product?: {
4856
+ [key: string]: string;
4857
+ };
4858
+ subagent_cost_micro_usd?: number;
4859
+ };
3170
4860
  vault_ids: Array<string>;
3171
4861
  deployment_id?: null | string;
3172
4862
  cwd: string;
4863
+ workspace?: {
4864
+ kind: "shared" | "isolated";
4865
+ path?: string;
4866
+ branch?: string;
4867
+ };
3173
4868
  computer_id?: string;
3174
4869
  model?: {
3175
4870
  id: string;
@@ -3189,8 +4884,21 @@ export declare function createAgent(transport: Transport): {
3189
4884
  readonly external_user_id: string | null;
3190
4885
  readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
3191
4886
  }>;
3192
- next_page: string | null;
3193
- }>;
4887
+ };
4888
+ requests: {
4889
+ list: (options: import("./core/transport.js").CallOptions<Types.ListSessionRequestsData>) => Promise<{
4890
+ data: Array<{
4891
+ id: string;
4892
+ object: "request";
4893
+ kind: "question" | "approval";
4894
+ status: "pending";
4895
+ tool_name: string;
4896
+ input: unknown;
4897
+ create_time: string;
4898
+ expire_time: string | null;
4899
+ }>;
4900
+ }>;
4901
+ };
3194
4902
  resources: {
3195
4903
  create: (options: import("./core/transport.js").CallOptions<Types.SessionsResourcesAddData>) => Promise<Types.AgentManaged176>;
3196
4904
  delete: (options: import("./core/transport.js").CallOptions<RenameParameters<Types.SessionsResourcesDeleteData, {
@@ -3221,6 +4929,7 @@ export declare function createAgent(transport: Transport): {
3221
4929
  speed?: "standard" | "fast";
3222
4930
  settings?: {
3223
4931
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4932
+ max_output_tokens?: number;
3224
4933
  };
3225
4934
  };
3226
4935
  multiagent: null | Types.AgentManaged171;
@@ -3247,6 +4956,11 @@ export declare function createAgent(transport: Transport): {
3247
4956
  vault_ids: Array<string>;
3248
4957
  deployment_id?: null | string;
3249
4958
  cwd: string;
4959
+ workspace?: {
4960
+ kind: "shared" | "isolated";
4961
+ path?: string;
4962
+ branch?: string;
4963
+ };
3250
4964
  computer_id?: string;
3251
4965
  model?: {
3252
4966
  id: string;
@@ -3393,7 +5107,6 @@ export declare function createAgent(transport: Transport): {
3393
5107
  run_id: string | null;
3394
5108
  message_id?: string;
3395
5109
  } | {
3396
- full_access_available?: boolean;
3397
5110
  id: string;
3398
5111
  input: Types.AgentManaged197;
3399
5112
  mcp_server_name: string;
@@ -3403,6 +5116,18 @@ export declare function createAgent(transport: Transport): {
3403
5116
  evaluated_permission?: "allow" | "deny" | "ask";
3404
5117
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3405
5118
  session_thread_id?: null | string;
5119
+ permission_suggestions?: Array<{
5120
+ type: "add_rules";
5121
+ behavior: "allow";
5122
+ destination: "agent" | "session";
5123
+ rules: Array<{
5124
+ tool_name: string;
5125
+ rule_content: string;
5126
+ }>;
5127
+ }>;
5128
+ full_access_available?: boolean;
5129
+ user_once?: true;
5130
+ guarded_rule?: string;
3406
5131
  run_id: string | null;
3407
5132
  parent_tool_use_id?: string;
3408
5133
  _meta?: {
@@ -3416,17 +5141,6 @@ export declare function createAgent(transport: Transport): {
3416
5141
  };
3417
5142
  };
3418
5143
  source?: "app" | "codemode";
3419
- user_once?: true;
3420
- guarded_rule?: string;
3421
- permission_suggestions?: Array<{
3422
- type: "add_rules";
3423
- behavior: "allow";
3424
- destination: "agent" | "session";
3425
- rules: Array<{
3426
- tool_name: string;
3427
- rule_content: string;
3428
- }>;
3429
- }>;
3430
5144
  title?: string;
3431
5145
  input_titles?: {
3432
5146
  [key: string]: string;
@@ -3445,7 +5159,6 @@ export declare function createAgent(transport: Transport): {
3445
5159
  };
3446
5160
  source?: "app" | "codemode";
3447
5161
  } | {
3448
- full_access_available?: boolean;
3449
5162
  id: string;
3450
5163
  input: Types.AgentManaged206;
3451
5164
  name: string;
@@ -3454,9 +5167,6 @@ export declare function createAgent(transport: Transport): {
3454
5167
  evaluated_permission?: "allow" | "deny" | "ask";
3455
5168
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3456
5169
  session_thread_id?: null | string;
3457
- run_id: string | null;
3458
- user_once?: true;
3459
- guarded_rule?: string;
3460
5170
  permission_suggestions?: Array<{
3461
5171
  type: "add_rules";
3462
5172
  behavior: "allow";
@@ -3466,6 +5176,10 @@ export declare function createAgent(transport: Transport): {
3466
5176
  rule_content: string;
3467
5177
  }>;
3468
5178
  }>;
5179
+ full_access_available?: boolean;
5180
+ user_once?: true;
5181
+ guarded_rule?: string;
5182
+ run_id: string | null;
3469
5183
  } | {
3470
5184
  id: string;
3471
5185
  processed_at: string;
@@ -3486,9 +5200,6 @@ export declare function createAgent(transport: Transport): {
3486
5200
  type: "session.status_idle";
3487
5201
  run_id: string | null;
3488
5202
  } | 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 | {
3489
- permission_mode_version?: number;
3490
- previous_permission_mode?: string | null;
3491
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
3492
5203
  id: string;
3493
5204
  processed_at: string;
3494
5205
  type: "session.updated";
@@ -3496,6 +5207,9 @@ export declare function createAgent(transport: Transport): {
3496
5207
  budget?: null | Types.AgentManaged76;
3497
5208
  metadata?: Types.AgentManaged246;
3498
5209
  title?: null | string;
5210
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
5211
+ previous_permission_mode?: string | null;
5212
+ permission_mode_version?: number;
3499
5213
  model?: {
3500
5214
  id: string;
3501
5215
  };
@@ -3586,6 +5300,7 @@ export declare function createAgent(transport: Transport): {
3586
5300
  speed?: "standard" | "fast";
3587
5301
  settings?: {
3588
5302
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
5303
+ max_output_tokens?: number;
3589
5304
  };
3590
5305
  };
3591
5306
  multiagent: null | Types.AgentManaged171;
@@ -3612,6 +5327,11 @@ export declare function createAgent(transport: Transport): {
3612
5327
  vault_ids: Array<string>;
3613
5328
  deployment_id?: null | string;
3614
5329
  cwd: string;
5330
+ workspace?: {
5331
+ kind: "shared" | "isolated";
5332
+ path?: string;
5333
+ branch?: string;
5334
+ };
3615
5335
  computer_id?: string;
3616
5336
  model?: {
3617
5337
  id: string;
@@ -3676,6 +5396,29 @@ export declare function createAgent(transport: Transport): {
3676
5396
  next_page: null;
3677
5397
  }>;
3678
5398
  };
5399
+ uploads: {
5400
+ contentUrl: {
5401
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadContentUrlData>) => Promise<{
5402
+ url: string;
5403
+ expires_at: string;
5404
+ }>;
5405
+ };
5406
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadData>) => Promise<{
5407
+ upload_id: string;
5408
+ expires_at: string;
5409
+ url: string;
5410
+ } | {
5411
+ upload_id: string;
5412
+ expires_at: string;
5413
+ part_size: number;
5414
+ parts: Array<{
5415
+ part_number: number;
5416
+ url: string;
5417
+ }>;
5418
+ complete_url: string;
5419
+ status_url: string;
5420
+ }>;
5421
+ };
3679
5422
  };
3680
5423
  export declare function createApplication(transport: Transport): {
3681
5424
  assets: {
@@ -3969,6 +5712,10 @@ export declare function createBrowser(transport: Transport): {
3969
5712
  tab: string;
3970
5713
  url: string;
3971
5714
  title: string;
5715
+ } | {
5716
+ type: "select";
5717
+ tab: string;
5718
+ values: Array<string>;
3972
5719
  } | {
3973
5720
  type: "tabs.list";
3974
5721
  tabs: Array<{
@@ -3995,6 +5742,11 @@ export declare function createBrowser(transport: Transport): {
3995
5742
  type: "evaluate";
3996
5743
  tab: string;
3997
5744
  value: unknown;
5745
+ } | {
5746
+ type: "set_cookie";
5747
+ tab: string;
5748
+ name: string;
5749
+ domain: string;
3998
5750
  }>;
3999
5751
  };
4000
5752
  create: (options: import("./core/transport.js").CallOptions<Types.BrowserCreateSessionData>) => Promise<Types.BrowserSessionCreateResult>;
@@ -4052,6 +5804,24 @@ export declare function createCanvas(transport: Transport): {
4052
5804
  update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCollectionData>) => Promise<Types.CanvasCollection>;
4053
5805
  };
4054
5806
  };
5807
+ export declare function createContent(transport: Transport): {
5808
+ contents: {
5809
+ archive: (options: import("./core/transport.js").CallOptions<Types.ContentArchiveContentData>) => Promise<Types.ContentContent>;
5810
+ create: (options: import("./core/transport.js").CallOptions<Types.ContentCreateContentData>) => Promise<Types.ContentContent>;
5811
+ list: (options?: import("./core/transport.js").CallOptions<Types.ContentListContentsData> | undefined) => Promise<Types.ContentContentPage>;
5812
+ publish: (options: import("./core/transport.js").CallOptions<Types.ContentPublishContentData>) => Promise<Types.ContentContent>;
5813
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetContentData>) => Promise<Types.ContentContent>;
5814
+ unpublish: (options: import("./core/transport.js").CallOptions<Types.ContentUnpublishContentData>) => Promise<Types.ContentContent>;
5815
+ update: (options: import("./core/transport.js").CallOptions<Types.ContentUpdateContentData>) => Promise<Types.ContentContent>;
5816
+ };
5817
+ playbackSessions: {
5818
+ create: (options: import("./core/transport.js").CallOptions<Types.ContentCreatePlaybackSessionData>) => Promise<Types.ContentPlaybackSession>;
5819
+ };
5820
+ versions: {
5821
+ list: (options: import("./core/transport.js").CallOptions<Types.ContentListVersionsData>) => Promise<Types.ContentContentVersionPage>;
5822
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetVersionData>) => Promise<Types.ContentContentVersion>;
5823
+ };
5824
+ };
4055
5825
  export declare function createCrm(transport: Transport): {
4056
5826
  associations: {
4057
5827
  create: (options: import("./core/transport.js").CallOptions<Types.CrmAssociationsCreateData>) => Promise<Types.CrmAssociationsLabelsBetweenObjectPair & Types.CrmWriteResult>;
@@ -4112,6 +5882,32 @@ export declare function createCrm(transport: Transport): {
4112
5882
  list: (options?: import("./core/transport.js").CallOptions<Types.CrmSchemasListData> | undefined) => Promise<Types.CrmSchemasCollectionResponseObjectSchemaNoPaging>;
4113
5883
  };
4114
5884
  };
5885
+ export declare function createCustomer(transport: Transport): {
5886
+ accessTokens: {
5887
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateAccessTokenData>) => Promise<Types.CustomerAccessToken>;
5888
+ renew: (options?: import("./core/transport.js").CallOptions<Types.CustomerRenewAccessTokenData> | undefined) => Promise<Types.CustomerAccessToken>;
5889
+ revoke: (options?: import("./core/transport.js").CallOptions<Types.CustomerRevokeCurrentTokensData> | undefined) => Promise<unknown>;
5890
+ };
5891
+ customers: {
5892
+ block: (options: import("./core/transport.js").CallOptions<Types.CustomerBlockCustomerData>) => Promise<Types.CustomerCustomer>;
5893
+ delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeleteCustomerData>) => Promise<Types.CustomerCustomerDeleted>;
5894
+ list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListCustomersData> | undefined) => Promise<Types.CustomerCustomerPage>;
5895
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetCustomerData>) => Promise<Types.CustomerCustomer>;
5896
+ revokeTokens: (options: import("./core/transport.js").CallOptions<Types.CustomerRevokeTokensData>) => Promise<Types.CustomerTokensRevoked>;
5897
+ unblock: (options: import("./core/transport.js").CallOptions<Types.CustomerUnblockCustomerData>) => Promise<Types.CustomerCustomer>;
5898
+ };
5899
+ grantCodes: {
5900
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateGrantCodeData>) => Promise<Types.CustomerGrantCode>;
5901
+ };
5902
+ publishableKeys: {
5903
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreatePublishableKeyData>) => Promise<Types.CustomerPublishableKey>;
5904
+ delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeletePublishableKeyData>) => Promise<Types.CustomerPublishableKeyDeleted>;
5905
+ list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListPublishableKeysData> | undefined) => Promise<Types.CustomerPublishableKeyPage>;
5906
+ };
5907
+ usage: {
5908
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetUsageData>) => Promise<Types.CustomerCustomerUsage>;
5909
+ };
5910
+ };
4115
5911
  export declare function createCut(transport: Transport): {
4116
5912
  exports: {
4117
5913
  cancel: (options: import("./core/transport.js").CallOptions<Types.CutCancelExportData>) => Promise<Types.CutExport>;
@@ -4210,13 +6006,25 @@ export declare function createDatabase(transport: Transport): {
4210
6006
  export declare function createDevops(transport: Transport): {
4211
6007
  changes: {
4212
6008
  abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesAbandonData>) => Promise<Types.DevopsChange>;
6009
+ gitCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGitCredentialData>) => Promise<Types.DevopsChangeGitCredential>;
4213
6010
  markLastSlice: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesMarkLastSliceData>) => Promise<Types.DevopsChange>;
6011
+ openPullRequest: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesOpenPullRequestData>) => Promise<Types.DevopsChangePullRequestOpened>;
4214
6012
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGetData>) => Promise<Types.DevopsChange>;
4215
6013
  };
6014
+ connections: {
6015
+ complete: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsCompleteData>) => Promise<Types.DevopsConnection>;
6016
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsCreateData>) => Promise<Types.DevopsConnectionStart>;
6017
+ list: (options?: import("./core/transport.js").CallOptions<Types.DevopsConnectionsListData> | undefined) => Promise<Types.DevopsConnectionPage>;
6018
+ repositories: {
6019
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsListRepositoriesData>) => Promise<Types.DevopsRepositoryPage>;
6020
+ };
6021
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsGetData>) => Promise<Types.DevopsConnection>;
6022
+ };
4216
6023
  environments: {
4217
6024
  checkpoints: {
4218
6025
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsCheckpointsListData>) => Promise<Types.DevopsCheckpointList>;
4219
6026
  };
6027
+ rollback: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsRollbackData>) => Promise<Types.DevopsPromotion>;
4220
6028
  update: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsUpdateData>) => Promise<Types.DevopsEnvironment>;
4221
6029
  };
4222
6030
  flags: {
@@ -4257,17 +6065,26 @@ export declare function createDevops(transport: Transport): {
4257
6065
  flags: {
4258
6066
  create: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsCreateData>) => Promise<Types.DevopsFlag>;
4259
6067
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsListData>) => Promise<Types.DevopsFlagPage>;
6068
+ reportCodeRefs: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsReportCodeRefsData>) => Promise<Types.DevopsFlagCodeRefsReportResult>;
4260
6069
  };
4261
6070
  list: (options?: import("./core/transport.js").CallOptions<Types.DevopsProjectsListData> | undefined) => Promise<Types.DevopsProjectPage>;
4262
6071
  promotions: {
4263
6072
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsListData>) => Promise<Types.DevopsPromotionPage>;
4264
6073
  };
6074
+ pullRequests: {
6075
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsListData>) => Promise<Types.DevopsPullRequestPage>;
6076
+ };
4265
6077
  releases: {
4266
6078
  create: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesCreateData>) => Promise<Types.DevopsRelease>;
4267
6079
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesListData>) => Promise<Types.DevopsReleasePage>;
4268
6080
  };
4269
6081
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsGetData>) => Promise<Types.DevopsProject>;
4270
6082
  retrieveTestCatalog: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCatalogGetData>) => Promise<Types.DevopsCatalogVersion>;
6083
+ retrieveTestPlan: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlanGetData>) => Promise<Types.DevopsTestPlan>;
6084
+ segments: {
6085
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsCreateData>) => Promise<Types.DevopsSegment>;
6086
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsListData>) => Promise<Types.DevopsSegmentPage>;
6087
+ };
4271
6088
  targets: {
4272
6089
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsTargetsListData>) => Promise<Types.DevopsTargetPage>;
4273
6090
  refresh: (options: import("./core/transport.js").CallOptions<Types.DevopsTargetsRefreshData>) => Promise<Types.DevopsTargetCatalog>;
@@ -4289,7 +6106,16 @@ export declare function createDevops(transport: Transport): {
4289
6106
  testSuites: {
4290
6107
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestSuitesListData>) => Promise<Types.DevopsSuitePage>;
4291
6108
  };
6109
+ units: {
6110
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsCreateData>) => Promise<Types.DevopsUnit>;
6111
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsListData>) => Promise<Types.DevopsUnitPage>;
6112
+ };
4292
6113
  update: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsUpdateData>) => Promise<Types.DevopsProject>;
6114
+ workspaces: {
6115
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesListData>) => Promise<Types.DevopsWorkspaceList>;
6116
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesGetData>) => Promise<Types.DevopsWorkspace>;
6117
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesUpdateData>) => Promise<Types.DevopsWorkspace>;
6118
+ };
4293
6119
  };
4294
6120
  promotions: {
4295
6121
  approve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsApproveData>) => Promise<Types.DevopsPromotion>;
@@ -4302,6 +6128,13 @@ export declare function createDevops(transport: Transport): {
4302
6128
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsRolloutsListData>) => Promise<Types.DevopsRolloutPage>;
4303
6129
  };
4304
6130
  };
6131
+ pullRequests: {
6132
+ close: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsCloseData>) => Promise<Types.DevopsPullRequest>;
6133
+ merge: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsMergeData>) => Promise<Types.DevopsPullRequest>;
6134
+ recordVerdict: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRecordVerdictData>) => Promise<Types.DevopsPullRequest>;
6135
+ rerunGate: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRerunGateData>) => Promise<Types.DevopsPullRequest>;
6136
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsGetData>) => Promise<Types.DevopsPullRequest>;
6137
+ };
4305
6138
  releases: {
4306
6139
  abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesAbandonData>) => Promise<Types.DevopsRelease>;
4307
6140
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesGetData>) => Promise<Types.DevopsRelease>;
@@ -4309,6 +6142,9 @@ export declare function createDevops(transport: Transport): {
4309
6142
  rollouts: {
4310
6143
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsRolloutsGetData>) => Promise<Types.DevopsRollout>;
4311
6144
  };
6145
+ segments: {
6146
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsUpdateData>) => Promise<Types.DevopsSegment>;
6147
+ };
4312
6148
  testCases: {
4313
6149
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCasesGetData>) => Promise<Types.DevopsTestCase>;
4314
6150
  };
@@ -4326,10 +6162,24 @@ export declare function createDevops(transport: Transport): {
4326
6162
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestExecutionsGetData>) => Promise<Types.DevopsExecution>;
4327
6163
  };
4328
6164
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsGetData>) => Promise<Types.DevopsRun>;
6165
+ retryFailed: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsRetryFailedData>) => Promise<Types.DevopsRun>;
4329
6166
  };
4330
6167
  testSuites: {
4331
6168
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestSuitesGetData>) => Promise<Types.DevopsSuite>;
4332
6169
  };
6170
+ units: {
6171
+ connect: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsConnectData>) => Promise<Types.DevopsUnitConnectResult>;
6172
+ delete: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsDeleteData>) => Promise<Types.DevopsUnitDeleted>;
6173
+ exec: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsExecData>) => Promise<Types.DevopsUnitExecResult>;
6174
+ fetch: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsFetchData>) => Promise<Types.DevopsUnit>;
6175
+ push: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsPushData>) => Promise<Types.DevopsUnitPushResult>;
6176
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsGetData>) => Promise<Types.DevopsUnit>;
6177
+ start: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsStartData>) => Promise<Types.DevopsUnit>;
6178
+ stop: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsStopData>) => Promise<Types.DevopsUnit>;
6179
+ transitions: {
6180
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsTransitionsListData>) => Promise<Types.DevopsUnitTransitionPage>;
6181
+ };
6182
+ };
4333
6183
  };
4334
6184
  export declare function createFile(transport: Transport): {
4335
6185
  files: {
@@ -4420,12 +6270,19 @@ export declare function createMedia(transport: Transport): {
4420
6270
  };
4421
6271
  libraries: {
4422
6272
  assets: {
6273
+ align: {
6274
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaAlignAssetData>) => Promise<Types.MediaJob>;
6275
+ };
4423
6276
  batch: (options: import("./core/transport.js").CallOptions<Types.MediaBatchAssetsData>) => Promise<Types.MediaJob>;
4424
6277
  create: (options: import("./core/transport.js").CallOptions<Types.MediaUploadAssetData>) => Promise<Types.MediaUploadResult>;
4425
6278
  delete: (options: import("./core/transport.js").CallOptions<Types.MediaDeleteAssetData>) => Promise<Types.MediaDeleted>;
4426
6279
  frames: {
4427
6280
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateFrameUrlsData>) => Promise<Types.MediaFrameUrls>;
4428
6281
  };
6282
+ hls: {
6283
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaRequestHlsRenditionsData>) => Promise<Types.MediaHlsLadder>;
6284
+ list: (options: import("./core/transport.js").CallOptions<Types.MediaGetHlsRenditionsData>) => Promise<Types.MediaHlsLadder>;
6285
+ };
4429
6286
  import: {
4430
6287
  create: (options: import("./core/transport.js").CallOptions<Types.MediaImportAssetData>) => Promise<Types.MediaAsset>;
4431
6288
  };
@@ -4438,6 +6295,9 @@ export declare function createMedia(transport: Transport): {
4438
6295
  list: (options: import("./core/transport.js").CallOptions<Types.MediaListUnderstandingsData>) => Promise<import("./automation.js").Page<Types.MediaUnderstanding>>;
4439
6296
  };
4440
6297
  update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateAssetData>) => Promise<Types.MediaAsset>;
6298
+ versions: {
6299
+ restore: (options: import("./core/transport.js").CallOptions<Types.MediaRestoreAssetVersionData>) => Promise<Types.MediaAsset>;
6300
+ };
4441
6301
  };
4442
6302
  batches: {
4443
6303
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateBatchData>) => Promise<Types.MediaJob>;
@@ -4460,6 +6320,11 @@ export declare function createMedia(transport: Transport): {
4460
6320
  retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetJobData>) => Promise<Types.MediaJob>;
4461
6321
  };
4462
6322
  list: (options?: import("./core/transport.js").CallOptions<Types.MediaListLibrariesData> | undefined) => Promise<import("./automation.js").Page<Types.MediaLibrary>>;
6323
+ materials: {
6324
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateMaterialData>) => Promise<Types.MediaMaterial>;
6325
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetMaterialData>) => Promise<Types.MediaMaterial>;
6326
+ update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateMaterialData>) => Promise<Types.MediaMaterial>;
6327
+ };
4463
6328
  purge: {
4464
6329
  create: (options: import("./core/transport.js").CallOptions<Types.MediaPurgeLibraryData>) => Promise<Types.MediaPurgedLibrary>;
4465
6330
  };
@@ -4484,6 +6349,12 @@ export declare function createMedia(transport: Transport): {
4484
6349
  retrieveFailureSummary: (options: import("./core/transport.js").CallOptions<Types.MediaUnderstandingFailureSummaryData>) => Promise<Types.MediaFailureSummary>;
4485
6350
  };
4486
6351
  update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateLibraryData>) => Promise<Types.MediaLibrary>;
6352
+ voices: {
6353
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateVoiceData>) => Promise<Types.MediaJob>;
6354
+ designs: {
6355
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaDesignVoiceData>) => Promise<Types.MediaJob>;
6356
+ };
6357
+ };
4487
6358
  };
4488
6359
  speech: {
4489
6360
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateSpeechData>) => Promise<Types.MediaJob>;
@@ -4690,7 +6561,35 @@ export declare function createModel(transport: Transport): {
4690
6561
  countTokens: (options: import("./core/transport.js").CallOptions<Types.CountTokensData>) => Promise<Types.AnthropicMessageTokensCount>;
4691
6562
  create: import("./core/bindings.js").MixedMethod<Types.CreateMessageData, Types.AnthropicMessage, Types.PraxisSdkSsePostModelV1Messages>;
4692
6563
  };
6564
+ modelAccess: {
6565
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListModelAccessData> | undefined) => Promise<{
6566
+ items: Array<{
6567
+ model: string;
6568
+ access_required: boolean;
6569
+ granted: boolean;
6570
+ granted_by: string | null;
6571
+ granted_at: string | null;
6572
+ sell_input_price: number | null;
6573
+ sell_output_price: number | null;
6574
+ }>;
6575
+ }>;
6576
+ };
4693
6577
  models: {
6578
+ access: {
6579
+ delete: (options: import("./core/transport.js").CallOptions<Types.DisableModelAccessData>) => Promise<{
6580
+ model: string;
6581
+ revoked: true;
6582
+ }>;
6583
+ update: (options: import("./core/transport.js").CallOptions<Types.EnableModelAccessData>) => Promise<{
6584
+ model: string;
6585
+ access_required: boolean;
6586
+ granted: true;
6587
+ granted_by: string;
6588
+ granted_at: string;
6589
+ sell_input_price: number | null;
6590
+ sell_output_price: number | null;
6591
+ }>;
6592
+ };
4694
6593
  list: (options?: import("./core/transport.js").CallOptions<Types.ListModelsData> | undefined) => Promise<{
4695
6594
  object: "list";
4696
6595
  data: Array<{
@@ -4705,6 +6604,7 @@ export declare function createModel(transport: Transport): {
4705
6604
  type: "language" | "image" | "embedding" | "ocr" | "transcription" | "speech" | "video" | "reranking";
4706
6605
  supported_apis: Array<string>;
4707
6606
  tags: Array<string>;
6607
+ access_required: boolean;
4708
6608
  architecture: {
4709
6609
  modality: string;
4710
6610
  input_modalities: Array<string>;
@@ -4751,6 +6651,7 @@ export declare function createModel(transport: Transport): {
4751
6651
  type: "language" | "image" | "embedding" | "ocr" | "transcription" | "speech" | "video" | "reranking";
4752
6652
  supported_apis: Array<string>;
4753
6653
  tags: Array<string>;
6654
+ access_required: boolean;
4754
6655
  architecture: {
4755
6656
  modality: string;
4756
6657
  input_modalities: Array<string>;
@@ -4977,6 +6878,7 @@ export declare function createModel(transport: Transport): {
4977
6878
  unsigned_urls: Array<string>;
4978
6879
  usage?: {
4979
6880
  cost: number;
6881
+ billed_seconds?: number;
4980
6882
  };
4981
6883
  }>;
4982
6884
  delete: (options: import("./core/transport.js").CallOptions<Types.DeleteVideoData>) => Promise<{
@@ -5007,6 +6909,7 @@ export declare function createModel(transport: Transport): {
5007
6909
  unsigned_urls: Array<string>;
5008
6910
  usage?: {
5009
6911
  cost: number;
6912
+ billed_seconds?: number;
5010
6913
  };
5011
6914
  }>;
5012
6915
  has_more: boolean;
@@ -5035,6 +6938,7 @@ export declare function createModel(transport: Transport): {
5035
6938
  unsigned_urls: Array<string>;
5036
6939
  usage?: {
5037
6940
  cost: number;
6941
+ billed_seconds?: number;
5038
6942
  };
5039
6943
  }>;
5040
6944
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.DownloadVideoContentData>) => Promise<Blob | File>;
@@ -5072,6 +6976,23 @@ export declare function createOntology(transport: Transport): {
5072
6976
  };
5073
6977
  };
5074
6978
  export declare function createOrganization(transport: Transport): {
6979
+ actors: {
6980
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationActorsData> | undefined) => Promise<Types.OrganizationActorList>;
6981
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationActorData>) => Promise<Types.OrganizationPositionChain>;
6982
+ };
6983
+ assignments: {
6984
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationAssignmentsData> | undefined) => Promise<Types.OrganizationAssignmentList>;
6985
+ makePrimary: {
6986
+ create: (options: import("./core/transport.js").CallOptions<Types.MakePrimaryOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
6987
+ };
6988
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
6989
+ terminate: {
6990
+ create: (options: import("./core/transport.js").CallOptions<Types.TerminateOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
6991
+ };
6992
+ transfer: {
6993
+ create: (options: import("./core/transport.js").CallOptions<Types.TransferOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
6994
+ };
6995
+ };
5075
6996
  charges: {
5076
6997
  list: (options: import("./core/transport.js").CallOptions<Types.ExportOrganizationChargesData>) => Promise<{
5077
6998
  ChargePeriodStart: string;
@@ -5113,6 +7034,16 @@ export declare function createOrganization(transport: Transport): {
5113
7034
  next_page: string | null;
5114
7035
  }>;
5115
7036
  };
7037
+ departments: {
7038
+ create: (options: import("./core/transport.js").CallOptions<Types.EstablishOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
7039
+ dissolve: {
7040
+ create: (options: import("./core/transport.js").CallOptions<Types.DissolveOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
7041
+ };
7042
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationDepartmentsData> | undefined) => Promise<Types.OrganizationDepartmentList>;
7043
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
7044
+ update: (options: import("./core/transport.js").CallOptions<Types.ReorganizeOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
7045
+ updateCharter: (options: import("./core/transport.js").CallOptions<Types.AmendOrganizationDepartmentCharterData>) => Promise<Types.OrganizationDepartment>;
7046
+ };
5116
7047
  events: {
5117
7048
  list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationEventsData>) => Promise<{
5118
7049
  object: "page";
@@ -5315,6 +7246,27 @@ export declare function createOrganization(transport: Transport): {
5315
7246
  }>;
5316
7247
  }>;
5317
7248
  };
7249
+ jobs: {
7250
+ create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationJobData>) => Promise<Types.OrganizationJob>;
7251
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationJobsData> | undefined) => Promise<Types.OrganizationJobList>;
7252
+ retire: {
7253
+ create: (options: import("./core/transport.js").CallOptions<Types.RetireOrganizationJobData>) => Promise<Types.OrganizationJob>;
7254
+ };
7255
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationJobData>) => Promise<Types.OrganizationJob>;
7256
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationJobData>) => Promise<Types.OrganizationJob>;
7257
+ };
7258
+ keyResults: {
7259
+ create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
7260
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationKeyResultsData> | undefined) => Promise<Types.OrganizationKeyResultList>;
7261
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
7262
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
7263
+ };
7264
+ ladders: {
7265
+ create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
7266
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationLaddersData> | undefined) => Promise<Types.OrganizationLadderList>;
7267
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
7268
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
7269
+ };
5318
7270
  members: {
5319
7271
  list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationMembersData> | undefined) => Promise<{
5320
7272
  data: Array<{
@@ -5328,6 +7280,52 @@ export declare function createOrganization(transport: Transport): {
5328
7280
  next_page: string | null;
5329
7281
  }>;
5330
7282
  };
7283
+ objectives: {
7284
+ create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
7285
+ grade: {
7286
+ create: (options: import("./core/transport.js").CallOptions<Types.GradeOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
7287
+ };
7288
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationObjectivesData> | undefined) => Promise<Types.OrganizationObjectiveList>;
7289
+ parents: {
7290
+ update: (options: import("./core/transport.js").CallOptions<Types.AlignOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
7291
+ };
7292
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
7293
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
7294
+ };
7295
+ periods: {
7296
+ close: {
7297
+ create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
7298
+ };
7299
+ create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
7300
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPeriodsData> | undefined) => Promise<Types.OrganizationPeriodList>;
7301
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
7302
+ };
7303
+ positions: {
7304
+ close: {
7305
+ create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7306
+ };
7307
+ create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPositionsData>) => Promise<Types.OrganizationPositionBatch>;
7308
+ designateHead: {
7309
+ create: (options: import("./core/transport.js").CallOptions<Types.DesignateOrganizationPositionHeadData>) => Promise<Types.OrganizationDepartment>;
7310
+ };
7311
+ freeze: {
7312
+ create: (options: import("./core/transport.js").CallOptions<Types.FreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7313
+ };
7314
+ hire: {
7315
+ create: (options: import("./core/transport.js").CallOptions<Types.HireOrganizationPositionData>) => Promise<Types.OrganizationAssignment>;
7316
+ };
7317
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPositionsData> | undefined) => Promise<Types.OrganizationPositionList>;
7318
+ replaceHolder: {
7319
+ create: (options: import("./core/transport.js").CallOptions<Types.ReplaceOrganizationPositionHolderData>) => Promise<Types.OrganizationAssignment>;
7320
+ };
7321
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7322
+ unfreeze: {
7323
+ create: (options: import("./core/transport.js").CallOptions<Types.UnfreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7324
+ };
7325
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7326
+ updateLevel: (options: import("./core/transport.js").CallOptions<Types.RegradeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7327
+ updateManager: (options: import("./core/transport.js").CallOptions<Types.ReassignOrganizationPositionManagerData>) => Promise<Types.OrganizationPosition>;
7328
+ };
5331
7329
  usage: {
5332
7330
  list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationUsageData>) => Promise<{
5333
7331
  object: "page";
@@ -5351,6 +7349,54 @@ export declare function createOrganization(transport: Transport): {
5351
7349
  }>;
5352
7350
  };
5353
7351
  };
7352
+ export declare function createRegistry(transport: Transport): {
7353
+ installations: {
7354
+ delete: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsDeleteData>) => Promise<Types.RegistryDeletedInstallation>;
7355
+ update: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsUpdateData>) => Promise<Types.RegistryInstallation>;
7356
+ };
7357
+ packages: {
7358
+ git: {
7359
+ commits: {
7360
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCommitsRetrieveData>) => Promise<Types.RegistryGitCommit>;
7361
+ };
7362
+ files: {
7363
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitFilesRetrieveData>) => Promise<Blob | File>;
7364
+ };
7365
+ retrieveLog: (options: import("./core/transport.js").CallOptions<Types.RegistryGitLogData>) => Promise<Types.RegistryGitLog>;
7366
+ trees: {
7367
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRetrieveData>) => Promise<Types.RegistryGitTree>;
7368
+ };
7369
+ };
7370
+ installations: {
7371
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsCreateData>) => Promise<Types.RegistryInstallResult>;
7372
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsListData>) => Promise<Types.RegistryInstallationList>;
7373
+ };
7374
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesRetrieveData>) => Promise<Types.RegistryPackage>;
7375
+ versions: {
7376
+ contents: {
7377
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsContentsData>) => Promise<Types.RegistryFileEntryPage>;
7378
+ };
7379
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsCreateData>) => Promise<Types.RegistryVersion>;
7380
+ files: {
7381
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsFilesRetrieveData>) => Promise<Blob | File>;
7382
+ };
7383
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsListData>) => Promise<import("./automation.js").Page<Types.RegistryVersion>>;
7384
+ retrieveArchive: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsArchiveData>) => Promise<Blob | File>;
7385
+ withdraw: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsWithdrawData>) => Promise<Types.RegistryVersion>;
7386
+ };
7387
+ };
7388
+ repositories: {
7389
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesCreateData>) => Promise<Types.RegistryRepository>;
7390
+ delete: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesDeleteData>) => Promise<Types.RegistryDeletedRepository>;
7391
+ list: (options?: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesListData> | undefined) => Promise<import("./automation.js").Page<Types.RegistryRepository>>;
7392
+ packages: {
7393
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesPackagesCreateData>) => Promise<Types.RegistryPackage>;
7394
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesPackagesListData>) => Promise<import("./automation.js").Page<Types.RegistryPackage>>;
7395
+ };
7396
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesRetrieveData>) => Promise<Types.RegistryRepository>;
7397
+ update: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesUpdateData>) => Promise<Types.RegistryRepository>;
7398
+ };
7399
+ };
5354
7400
  export declare function createSandbox(transport: Transport): {
5355
7401
  events: {
5356
7402
  sandboxes: {
@@ -5358,6 +7404,26 @@ export declare function createSandbox(transport: Transport): {
5358
7404
  };
5359
7405
  };
5360
7406
  sandboxes: {
7407
+ act: (options: import("./core/transport.js").CallOptions<Types.ActOnSandboxDisplayData>) => Promise<{
7408
+ type: "snapshot";
7409
+ snapshot: string;
7410
+ refs: number;
7411
+ truncated: boolean;
7412
+ package: string;
7413
+ } | {
7414
+ type: "screenshot";
7415
+ mediaType: string;
7416
+ data: string;
7417
+ width: number;
7418
+ height: number;
7419
+ bytes: number;
7420
+ } | {
7421
+ type: "ok";
7422
+ ms?: number;
7423
+ } | {
7424
+ type: "wait";
7425
+ ms: number;
7426
+ }>;
5361
7427
  commands: {
5362
7428
  run: (options: import("./core/transport.js").CallOptions<Types.RunSandboxCommandData>) => Promise<{
5363
7429
  stdout: string;
@@ -5587,6 +7653,14 @@ export declare function createSearch(transport: Transport): {
5587
7653
  }>;
5588
7654
  };
5589
7655
  };
7656
+ export declare function createShare(transport: Transport): {
7657
+ permissions: {
7658
+ create: (options: import("./core/transport.js").CallOptions<Types.ShareCreatePermissionData>) => Promise<Types.ShareSharePermission>;
7659
+ delete: (options: import("./core/transport.js").CallOptions<Types.ShareDeletePermissionData>) => Promise<void>;
7660
+ list: (options?: import("./core/transport.js").CallOptions<Types.ShareListPermissionsData> | undefined) => Promise<Types.ShareSharePermissionPage>;
7661
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ShareRetrievePermissionData>) => Promise<Types.ShareSharePermission>;
7662
+ };
7663
+ };
5590
7664
  export declare function createStudio(transport: Transport): {
5591
7665
  codexes: {
5592
7666
  create: (options: import("./core/transport.js").CallOptions<Types.StudioCodexesCreateData>) => Promise<Types.StudioCodex>;
@@ -5880,7 +7954,9 @@ export declare const resourceFactories: {
5880
7954
  automation: typeof createAutomation;
5881
7955
  browser: typeof createBrowser;
5882
7956
  canvas: typeof createCanvas;
7957
+ content: typeof createContent;
5883
7958
  crm: typeof createCrm;
7959
+ customer: typeof createCustomer;
5884
7960
  cut: typeof createCut;
5885
7961
  database: typeof createDatabase;
5886
7962
  devops: typeof createDevops;
@@ -5891,8 +7967,10 @@ export declare const resourceFactories: {
5891
7967
  model: typeof createModel;
5892
7968
  ontology: typeof createOntology;
5893
7969
  organization: typeof createOrganization;
7970
+ registry: typeof createRegistry;
5894
7971
  sandbox: typeof createSandbox;
5895
7972
  search: typeof createSearch;
7973
+ share: typeof createShare;
5896
7974
  studio: typeof createStudio;
5897
7975
  ticket: typeof createTicket;
5898
7976
  vault: typeof createVault;