@deepraxis/sdk 0.1.1-dev.cc84163 → 0.1.1-dev.cdb6bda

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -17,6 +17,7 @@ export declare function createAgent(transport: Transport): {
17
17
  speed?: "standard" | "fast";
18
18
  settings?: {
19
19
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
20
+ max_output_tokens?: number;
20
21
  };
21
22
  };
22
23
  multiagent?: null | Types.AgentManaged39;
@@ -41,18 +42,18 @@ export declare function createAgent(transport: Transport): {
41
42
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
42
43
  id: string;
43
44
  access: "read_only" | "read_write" | "invoke";
45
+ customer_access?: "read_only" | "read_write" | "invoke";
44
46
  instructions?: string;
45
47
  readonly verified?: boolean;
46
48
  enabled?: boolean;
47
49
  } | {
48
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
50
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
49
51
  readonly verified?: boolean;
50
52
  enabled?: boolean;
51
53
  }>;
52
- kind: "general" | "personal" | "service" | "assume";
54
+ kind: "general" | "service" | "assume";
53
55
  computer_id?: string;
54
56
  subagent_model?: string | null;
55
- image_model?: string | null;
56
57
  subagents?: Array<{
57
58
  name: string;
58
59
  description: string;
@@ -143,6 +144,7 @@ export declare function createAgent(transport: Transport): {
143
144
  allowManagedHooksOnly?: boolean;
144
145
  allowManagedMcpServersOnly?: boolean;
145
146
  allowManagedPermissionRulesOnly?: boolean;
147
+ idleCompaction?: boolean;
146
148
  autoMemoryEnabled?: boolean;
147
149
  disabled?: {
148
150
  subagents?: Array<string>;
@@ -151,7 +153,6 @@ export declare function createAgent(transport: Transport): {
151
153
  mcpServers?: Array<string>;
152
154
  hooks?: Array<string>;
153
155
  };
154
- idleCompaction?: boolean;
155
156
  outputStyle?: string;
156
157
  } | null;
157
158
  models?: {
@@ -159,6 +160,7 @@ export declare function createAgent(transport: Transport): {
159
160
  };
160
161
  avatar: string | null;
161
162
  creation_source: string | null;
163
+ managed_by: string | null;
162
164
  identity_number: string | null;
163
165
  environment_id?: string | null;
164
166
  vault_ids?: Array<string>;
@@ -170,6 +172,22 @@ export declare function createAgent(transport: Transport): {
170
172
  keep_coding_instructions?: boolean;
171
173
  }> | null;
172
174
  }>;
175
+ consolidations: {
176
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentConsolidationData>) => Promise<{
177
+ id: string;
178
+ session_id: string;
179
+ status: "queued" | "running" | "done" | "failed";
180
+ engram_id?: string;
181
+ error?: string;
182
+ }>;
183
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetAgentConsolidationData>) => Promise<{
184
+ id: string;
185
+ session_id: string;
186
+ status: "queued" | "running" | "done" | "failed";
187
+ engram_id?: string;
188
+ error?: string;
189
+ }>;
190
+ };
173
191
  create: (options: import("./core/transport.js").CallOptions<Types.AgentsCreateData>) => Promise<{
174
192
  id: string;
175
193
  archived_at: null | string;
@@ -184,6 +202,7 @@ export declare function createAgent(transport: Transport): {
184
202
  speed?: "standard" | "fast";
185
203
  settings?: {
186
204
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
205
+ max_output_tokens?: number;
187
206
  };
188
207
  };
189
208
  multiagent?: null | Types.AgentManaged39;
@@ -208,18 +227,25 @@ export declare function createAgent(transport: Transport): {
208
227
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
209
228
  id: string;
210
229
  access: "read_only" | "read_write" | "invoke";
230
+ customer_access?: "read_only" | "read_write" | "invoke";
211
231
  instructions?: string;
212
232
  readonly verified?: boolean;
213
233
  enabled?: boolean;
214
234
  } | {
215
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
235
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
216
236
  readonly verified?: boolean;
217
237
  enabled?: boolean;
218
238
  }>;
219
- kind: "general" | "personal" | "service" | "assume";
239
+ kind: "general" | "service" | "assume";
240
+ computers?: {
241
+ default: string;
242
+ allowed: Array<{
243
+ template: string;
244
+ name: string;
245
+ }>;
246
+ };
220
247
  computer_id?: string;
221
248
  subagent_model?: string | null;
222
- image_model?: string | null;
223
249
  subagents?: Array<{
224
250
  name: string;
225
251
  description: string;
@@ -310,6 +336,7 @@ export declare function createAgent(transport: Transport): {
310
336
  allowManagedHooksOnly?: boolean;
311
337
  allowManagedMcpServersOnly?: boolean;
312
338
  allowManagedPermissionRulesOnly?: boolean;
339
+ idleCompaction?: boolean;
313
340
  autoMemoryEnabled?: boolean;
314
341
  disabled?: {
315
342
  subagents?: Array<string>;
@@ -318,7 +345,6 @@ export declare function createAgent(transport: Transport): {
318
345
  mcpServers?: Array<string>;
319
346
  hooks?: Array<string>;
320
347
  };
321
- idleCompaction?: boolean;
322
348
  outputStyle?: string;
323
349
  } | null;
324
350
  models?: {
@@ -326,6 +352,7 @@ export declare function createAgent(transport: Transport): {
326
352
  };
327
353
  avatar: string | null;
328
354
  creation_source: string | null;
355
+ managed_by: string | null;
329
356
  identity_number: string | null;
330
357
  environment_id?: string | null;
331
358
  vault_ids?: Array<string>;
@@ -338,42 +365,6 @@ export declare function createAgent(transport: Transport): {
338
365
  }> | null;
339
366
  }>;
340
367
  customers: {
341
- auth: {
342
- accessTokens: {
343
- create: (options: import("./core/transport.js").CallOptions<Types.CreateCustomerAccessTokenData>) => Promise<{
344
- type: "customer_access_token";
345
- access_token: string;
346
- expires_at: string;
347
- session_expires_at: string;
348
- customer: {
349
- id: string;
350
- type: "identified" | "anonymous";
351
- };
352
- }>;
353
- deleteCurrent: (options: import("./core/transport.js").CallOptions<Types.DeleteCurrentCustomerAccessTokenData>) => Promise<void>;
354
- renew: {
355
- create: (options: import("./core/transport.js").CallOptions<Types.RenewCustomerAccessTokenData>) => Promise<{
356
- type: "customer_access_token";
357
- access_token: string;
358
- expires_at: string;
359
- session_expires_at: string;
360
- customer: {
361
- id: string;
362
- type: "identified" | "anonymous";
363
- };
364
- }>;
365
- };
366
- };
367
- grantCodes: {
368
- create: (options: import("./core/transport.js").CallOptions<Types.CreateCustomerGrantCodeData>) => Promise<{
369
- type: "customer_grant_code";
370
- code: string;
371
- customer_id: string;
372
- expires_at: string;
373
- hosted_url?: string;
374
- }>;
375
- };
376
- };
377
368
  block: {
378
369
  create: (options: import("./core/transport.js").CallOptions<Types.BlockCustomerData>) => Promise<{
379
370
  id: string;
@@ -465,6 +456,275 @@ export declare function createAgent(transport: Transport): {
465
456
  }>;
466
457
  };
467
458
  };
459
+ events: {
460
+ list: (options: import("./core/transport.js").CallOptions<Types.ListAgentEventsData>) => Promise<{
461
+ data: Array<{
462
+ id: string;
463
+ content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
464
+ type: "user.message";
465
+ processed_at?: null | string;
466
+ praxis_context?: {
467
+ items: Array<{
468
+ name: string;
469
+ value: string;
470
+ }>;
471
+ };
472
+ message_id?: string;
473
+ } | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged192 | {
474
+ id: string;
475
+ content: Array<{
476
+ text: string;
477
+ type: "text";
478
+ citations?: Array<{
479
+ type: "search_result_location";
480
+ source: string;
481
+ title: string;
482
+ cited_text: string;
483
+ search_result_index: number;
484
+ start_block_index: number;
485
+ end_block_index: number;
486
+ }>;
487
+ } | Types.AgentManaged70>;
488
+ processed_at: string;
489
+ type: "agent.message";
490
+ run_id: string | null;
491
+ message_id?: string;
492
+ } | {
493
+ id: string;
494
+ processed_at: string;
495
+ type: "agent.thinking";
496
+ run_id: string | null;
497
+ message_id?: string;
498
+ } | {
499
+ id: string;
500
+ input: Types.AgentManaged197;
501
+ mcp_server_name: string;
502
+ name: string;
503
+ processed_at: string;
504
+ type: "agent.mcp_tool_use";
505
+ evaluated_permission?: "allow" | "deny" | "ask";
506
+ evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
507
+ session_thread_id?: null | string;
508
+ permission_suggestions?: Array<{
509
+ type: "add_rules";
510
+ behavior: "allow";
511
+ destination: "agent" | "session";
512
+ rules: Array<{
513
+ tool_name: string;
514
+ rule_content: string;
515
+ }>;
516
+ }>;
517
+ full_access_available?: boolean;
518
+ user_once?: true;
519
+ guarded_rule?: string;
520
+ run_id: string | null;
521
+ _meta?: {
522
+ ui?: {
523
+ resourceUri?: string;
524
+ visibility?: Array<string>;
525
+ [key: string]: unknown;
526
+ };
527
+ "openai/ui"?: {
528
+ [key: string]: unknown;
529
+ };
530
+ };
531
+ source?: "app" | "codemode";
532
+ parent_tool_use_id?: string;
533
+ title?: string;
534
+ input_titles?: {
535
+ [key: string]: string;
536
+ };
537
+ } | {
538
+ id: string;
539
+ mcp_tool_use_id: string;
540
+ processed_at: string;
541
+ type: "agent.mcp_tool_result";
542
+ content?: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged189>;
543
+ is_error?: null | false | true;
544
+ run_id: string | null;
545
+ structured_content?: unknown;
546
+ _meta?: {
547
+ [key: string]: unknown;
548
+ };
549
+ source?: "app" | "codemode";
550
+ } | {
551
+ id: string;
552
+ input: Types.AgentManaged206;
553
+ name: string;
554
+ processed_at: string;
555
+ type: "agent.tool_use";
556
+ evaluated_permission?: "allow" | "deny" | "ask";
557
+ evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
558
+ session_thread_id?: null | string;
559
+ permission_suggestions?: Array<{
560
+ type: "add_rules";
561
+ behavior: "allow";
562
+ destination: "agent" | "session";
563
+ rules: Array<{
564
+ tool_name: string;
565
+ rule_content: string;
566
+ }>;
567
+ }>;
568
+ full_access_available?: boolean;
569
+ user_once?: true;
570
+ guarded_rule?: string;
571
+ run_id: string | null;
572
+ } | {
573
+ id: string;
574
+ processed_at: string;
575
+ tool_use_id: string;
576
+ type: "agent.tool_result";
577
+ content?: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged189>;
578
+ is_error?: null | false | true;
579
+ run_id: string | null;
580
+ } | Types.AgentManaged208 | Types.AgentManaged209 | Types.AgentManaged210 | Types.AgentManaged211 | Types.AgentManaged223 | {
581
+ id: string;
582
+ processed_at: string;
583
+ type: "session.status_running";
584
+ run_id: string | null;
585
+ } | {
586
+ id: string;
587
+ processed_at: string;
588
+ stop_reason: Types.AgentManaged226 | Types.AgentManaged227 | Types.AgentManaged228 | Types.AgentManaged229;
589
+ type: "session.status_idle";
590
+ run_id: string | null;
591
+ } | Types.AgentManaged230 | Types.AgentManaged231 | Types.AgentManaged232 | Types.AgentManaged233 | Types.AgentManaged235 | Types.AgentManaged236 | Types.AgentManaged237 | Types.AgentManaged238 | Types.AgentManaged239 | Types.AgentManaged240 | Types.AgentManaged241 | Types.AgentManaged242 | Types.AgentManaged243 | Types.AgentManaged244 | {
592
+ id: string;
593
+ processed_at: string;
594
+ type: "session.updated";
595
+ agent?: null | Types.AgentManaged170;
596
+ budget?: null | Types.AgentManaged76;
597
+ metadata?: Types.AgentManaged246;
598
+ title?: null | string;
599
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
600
+ previous_permission_mode?: string | null;
601
+ permission_mode_version?: number;
602
+ model?: {
603
+ id: string;
604
+ };
605
+ } | Types.AgentManaged247 | Types.AgentManaged248 | {
606
+ id: string;
607
+ type: "session.forked";
608
+ processed_at: string;
609
+ forked_from_session_id: string;
610
+ forked_from_message_id: string;
611
+ } | {
612
+ id: string;
613
+ type: "session.goal_changed";
614
+ processed_at: string;
615
+ action: "set" | "status_updated" | "cleared" | "usage_accounted";
616
+ source: "command" | "runtime";
617
+ goal: {
618
+ goal_id: string;
619
+ objective: string;
620
+ summary_title: string | null;
621
+ status: "active" | "paused" | "budget_limited" | "complete";
622
+ token_budget: number | null;
623
+ tokens_used: number;
624
+ time_used_seconds: number;
625
+ iteration: number;
626
+ created_at: number;
627
+ updated_at: number;
628
+ } | null;
629
+ previous_goal: {
630
+ goal_id: string;
631
+ objective: string;
632
+ summary_title: string | null;
633
+ status: "active" | "paused" | "budget_limited" | "complete";
634
+ token_budget: number | null;
635
+ tokens_used: number;
636
+ time_used_seconds: number;
637
+ iteration: number;
638
+ created_at: number;
639
+ updated_at: number;
640
+ } | null;
641
+ } | {
642
+ id: string;
643
+ type: "session.goal_verification";
644
+ processed_at: string;
645
+ status: "started" | "completed" | "failed_closed" | "cancelled";
646
+ goal_id: string;
647
+ goal_iteration: number;
648
+ verification_id: string;
649
+ anchor_message_id: string | null;
650
+ verification?: {
651
+ passed: boolean;
652
+ reason: string;
653
+ next_action?: string;
654
+ };
655
+ } | {
656
+ id: string;
657
+ type: "user.steer";
658
+ event_id: string;
659
+ processed_at: string;
660
+ } | {
661
+ id: string;
662
+ type: "user.tool_confirmation";
663
+ processed_at: string;
664
+ tool_use_id: string;
665
+ result: "allow";
666
+ answers: {
667
+ [key: string]: string;
668
+ };
669
+ annotations?: {
670
+ [key: string]: {
671
+ preview?: string;
672
+ notes?: string;
673
+ };
674
+ };
675
+ }>;
676
+ next_page: string | null;
677
+ }>;
678
+ send: (options: import("./core/transport.js").CallOptions<Types.SendAgentEventsData>) => Promise<{
679
+ data?: Array<{
680
+ id: string;
681
+ content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
682
+ type: "user.message";
683
+ processed_at?: null | string;
684
+ praxis_context?: {
685
+ items: Array<{
686
+ name: string;
687
+ value: string;
688
+ }>;
689
+ };
690
+ } | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged238 | Types.AgentManaged243 | Types.AgentManaged247 | {
691
+ id: string;
692
+ type: "user.steer";
693
+ event_id: string;
694
+ processed_at: string;
695
+ } | {
696
+ id: string;
697
+ type: "user.tool_confirmation";
698
+ processed_at: string;
699
+ tool_use_id: string;
700
+ result: "allow";
701
+ answers: {
702
+ [key: string]: string;
703
+ };
704
+ annotations?: {
705
+ [key: string]: {
706
+ preview?: string;
707
+ notes?: string;
708
+ };
709
+ };
710
+ }>;
711
+ }>;
712
+ stream: (options: import("./core/transport.js").StreamOptions<Types.StreamAgentEventsData>) => AsyncIterable<Types.AgentSseEvent>;
713
+ };
714
+ inbox: {
715
+ letters: {
716
+ list: (options: import("./core/transport.js").CallOptions<Types.ListAgentInboxLettersData>) => Promise<{
717
+ unread: number;
718
+ letters: Array<{
719
+ id: string;
720
+ sender: string;
721
+ summary: string;
722
+ thread: string | null;
723
+ create_time: string;
724
+ }>;
725
+ }>;
726
+ };
727
+ };
468
728
  list: (options?: import("./core/transport.js").CallOptions<Types.AgentsListData> | undefined) => Promise<{
469
729
  data: Array<{
470
730
  id: string;
@@ -480,6 +740,7 @@ export declare function createAgent(transport: Transport): {
480
740
  speed?: "standard" | "fast";
481
741
  settings?: {
482
742
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
743
+ max_output_tokens?: number;
483
744
  };
484
745
  };
485
746
  multiagent?: null | Types.AgentManaged39;
@@ -504,18 +765,25 @@ export declare function createAgent(transport: Transport): {
504
765
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
505
766
  id: string;
506
767
  access: "read_only" | "read_write" | "invoke";
768
+ customer_access?: "read_only" | "read_write" | "invoke";
507
769
  instructions?: string;
508
770
  readonly verified?: boolean;
509
771
  enabled?: boolean;
510
772
  } | {
511
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
773
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
512
774
  readonly verified?: boolean;
513
775
  enabled?: boolean;
514
776
  }>;
515
- kind: "general" | "personal" | "service" | "assume";
777
+ kind: "general" | "service" | "assume";
778
+ computers?: {
779
+ default: string;
780
+ allowed: Array<{
781
+ template: string;
782
+ name: string;
783
+ }>;
784
+ };
516
785
  computer_id?: string;
517
786
  subagent_model?: string | null;
518
- image_model?: string | null;
519
787
  subagents?: Array<{
520
788
  name: string;
521
789
  description: string;
@@ -606,6 +874,7 @@ export declare function createAgent(transport: Transport): {
606
874
  allowManagedHooksOnly?: boolean;
607
875
  allowManagedMcpServersOnly?: boolean;
608
876
  allowManagedPermissionRulesOnly?: boolean;
877
+ idleCompaction?: boolean;
609
878
  autoMemoryEnabled?: boolean;
610
879
  disabled?: {
611
880
  subagents?: Array<string>;
@@ -614,7 +883,6 @@ export declare function createAgent(transport: Transport): {
614
883
  mcpServers?: Array<string>;
615
884
  hooks?: Array<string>;
616
885
  };
617
- idleCompaction?: boolean;
618
886
  outputStyle?: string;
619
887
  } | null;
620
888
  models?: {
@@ -622,6 +890,7 @@ export declare function createAgent(transport: Transport): {
622
890
  };
623
891
  avatar: string | null;
624
892
  creation_source: string | null;
893
+ managed_by: string | null;
625
894
  identity_number: string | null;
626
895
  environment_id?: string | null;
627
896
  vault_ids?: Array<string>;
@@ -649,6 +918,7 @@ export declare function createAgent(transport: Transport): {
649
918
  speed?: "standard" | "fast";
650
919
  settings?: {
651
920
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
921
+ max_output_tokens?: number;
652
922
  };
653
923
  };
654
924
  multiagent?: null | Types.AgentManaged39;
@@ -674,18 +944,25 @@ export declare function createAgent(transport: Transport): {
674
944
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
675
945
  id: string;
676
946
  access: "read_only" | "read_write" | "invoke";
947
+ customer_access?: "read_only" | "read_write" | "invoke";
677
948
  instructions?: string;
678
949
  readonly verified?: boolean;
679
950
  enabled?: boolean;
680
951
  } | {
681
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
952
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
682
953
  readonly verified?: boolean;
683
954
  enabled?: boolean;
684
955
  }>;
685
- 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
+ };
686
964
  computer_id?: string;
687
965
  subagent_model?: string | null;
688
- image_model?: string | null;
689
966
  subagents?: Array<{
690
967
  name: string;
691
968
  description: string;
@@ -776,6 +1053,7 @@ export declare function createAgent(transport: Transport): {
776
1053
  allowManagedHooksOnly?: boolean;
777
1054
  allowManagedMcpServersOnly?: boolean;
778
1055
  allowManagedPermissionRulesOnly?: boolean;
1056
+ idleCompaction?: boolean;
779
1057
  autoMemoryEnabled?: boolean;
780
1058
  disabled?: {
781
1059
  subagents?: Array<string>;
@@ -784,7 +1062,6 @@ export declare function createAgent(transport: Transport): {
784
1062
  mcpServers?: Array<string>;
785
1063
  hooks?: Array<string>;
786
1064
  };
787
- idleCompaction?: boolean;
788
1065
  outputStyle?: string;
789
1066
  } | null;
790
1067
  models?: {
@@ -792,6 +1069,7 @@ export declare function createAgent(transport: Transport): {
792
1069
  };
793
1070
  avatar: string | null;
794
1071
  creation_source: string | null;
1072
+ managed_by: string | null;
795
1073
  identity_number: string | null;
796
1074
  environment_id?: string | null;
797
1075
  vault_ids?: Array<string>;
@@ -860,6 +1138,25 @@ export declare function createAgent(transport: Transport): {
860
1138
  history?: {
861
1139
  enabled?: boolean;
862
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
+ };
863
1160
  }>;
864
1161
  unarchive: {
865
1162
  create: (options: import("./core/transport.js").CallOptions<Types.UnarchiveAgentData>) => Promise<{
@@ -913,6 +1210,7 @@ export declare function createAgent(transport: Transport): {
913
1210
  speed?: "standard" | "fast";
914
1211
  settings?: {
915
1212
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1213
+ max_output_tokens?: number;
916
1214
  };
917
1215
  };
918
1216
  multiagent?: null | {
@@ -1103,18 +1401,25 @@ export declare function createAgent(transport: Transport): {
1103
1401
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1104
1402
  id: string;
1105
1403
  access: "read_only" | "read_write" | "invoke";
1404
+ customer_access?: "read_only" | "read_write" | "invoke";
1106
1405
  instructions?: string;
1107
1406
  readonly verified?: boolean;
1108
1407
  enabled?: boolean;
1109
1408
  } | {
1110
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
1409
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1111
1410
  readonly verified?: boolean;
1112
1411
  enabled?: boolean;
1113
1412
  }>;
1114
- 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
+ };
1115
1421
  computer_id?: string;
1116
1422
  subagent_model?: string | null;
1117
- image_model?: string | null;
1118
1423
  subagents?: Array<{
1119
1424
  name: string;
1120
1425
  description: string;
@@ -1205,6 +1510,7 @@ export declare function createAgent(transport: Transport): {
1205
1510
  allowManagedHooksOnly?: boolean;
1206
1511
  allowManagedMcpServersOnly?: boolean;
1207
1512
  allowManagedPermissionRulesOnly?: boolean;
1513
+ idleCompaction?: boolean;
1208
1514
  autoMemoryEnabled?: boolean;
1209
1515
  disabled?: {
1210
1516
  subagents?: Array<string>;
@@ -1213,7 +1519,6 @@ export declare function createAgent(transport: Transport): {
1213
1519
  mcpServers?: Array<string>;
1214
1520
  hooks?: Array<string>;
1215
1521
  };
1216
- idleCompaction?: boolean;
1217
1522
  outputStyle?: string;
1218
1523
  } | null;
1219
1524
  models?: {
@@ -1221,6 +1526,7 @@ export declare function createAgent(transport: Transport): {
1221
1526
  };
1222
1527
  avatar: string | null;
1223
1528
  creation_source: string | null;
1529
+ managed_by: string | null;
1224
1530
  identity_number: string | null;
1225
1531
  environment_id?: string | null;
1226
1532
  vault_ids?: Array<string>;
@@ -1247,6 +1553,7 @@ export declare function createAgent(transport: Transport): {
1247
1553
  speed?: "standard" | "fast";
1248
1554
  settings?: {
1249
1555
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1556
+ max_output_tokens?: number;
1250
1557
  };
1251
1558
  };
1252
1559
  multiagent?: null | Types.AgentManaged39;
@@ -1272,18 +1579,25 @@ export declare function createAgent(transport: Transport): {
1272
1579
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1273
1580
  id: string;
1274
1581
  access: "read_only" | "read_write" | "invoke";
1582
+ customer_access?: "read_only" | "read_write" | "invoke";
1275
1583
  instructions?: string;
1276
1584
  readonly verified?: boolean;
1277
1585
  enabled?: boolean;
1278
1586
  } | {
1279
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
1587
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1280
1588
  readonly verified?: boolean;
1281
1589
  enabled?: boolean;
1282
1590
  }>;
1283
- 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
+ };
1284
1599
  computer_id?: string;
1285
1600
  subagent_model?: string | null;
1286
- image_model?: string | null;
1287
1601
  subagents?: Array<{
1288
1602
  name: string;
1289
1603
  description: string;
@@ -1374,6 +1688,7 @@ export declare function createAgent(transport: Transport): {
1374
1688
  allowManagedHooksOnly?: boolean;
1375
1689
  allowManagedMcpServersOnly?: boolean;
1376
1690
  allowManagedPermissionRulesOnly?: boolean;
1691
+ idleCompaction?: boolean;
1377
1692
  autoMemoryEnabled?: boolean;
1378
1693
  disabled?: {
1379
1694
  subagents?: Array<string>;
@@ -1382,7 +1697,6 @@ export declare function createAgent(transport: Transport): {
1382
1697
  mcpServers?: Array<string>;
1383
1698
  hooks?: Array<string>;
1384
1699
  };
1385
- idleCompaction?: boolean;
1386
1700
  outputStyle?: string;
1387
1701
  } | null;
1388
1702
  models?: {
@@ -1390,6 +1704,7 @@ export declare function createAgent(transport: Transport): {
1390
1704
  };
1391
1705
  avatar: string | null;
1392
1706
  creation_source: string | null;
1707
+ managed_by: string | null;
1393
1708
  identity_number: string | null;
1394
1709
  environment_id?: string | null;
1395
1710
  vault_ids?: Array<string>;
@@ -1401,28 +1716,245 @@ export declare function createAgent(transport: Transport): {
1401
1716
  keep_coding_instructions?: boolean;
1402
1717
  }> | null;
1403
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
+ }>;
1404
1733
  versions: {
1405
1734
  apply: (options: import("./core/transport.js").CallOptions<Types.ApplyAgentVersionData>) => Promise<{
1406
1735
  id: string;
1407
1736
  archived_at: null | string;
1408
1737
  created_at: string;
1409
1738
  description: null | string;
1410
- mcp_servers: Array<Types.AgentManaged36>;
1411
- 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
+ };
1412
1768
  model?: {
1413
1769
  id: string;
1414
- 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
+ };
1415
1781
  inference_geo?: string;
1416
1782
  speed?: "standard" | "fast";
1417
1783
  settings?: {
1418
1784
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1785
+ max_output_tokens?: number;
1786
+ };
1787
+ };
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
+ };
1799
+ name: string;
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
+ }>;
1809
+ system: null | string;
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;
1419
1954
  };
1420
- };
1421
- multiagent?: null | Types.AgentManaged39;
1422
- name: string;
1423
- skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
1424
- system: null | string;
1425
- tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
1955
+ name: string;
1956
+ type: "custom";
1957
+ }>;
1426
1958
  type: "agent";
1427
1959
  updated_at: string;
1428
1960
  version: number;
@@ -1441,18 +1973,25 @@ export declare function createAgent(transport: Transport): {
1441
1973
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1442
1974
  id: string;
1443
1975
  access: "read_only" | "read_write" | "invoke";
1976
+ customer_access?: "read_only" | "read_write" | "invoke";
1444
1977
  instructions?: string;
1445
1978
  readonly verified?: boolean;
1446
1979
  enabled?: boolean;
1447
1980
  } | {
1448
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
1981
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1449
1982
  readonly verified?: boolean;
1450
1983
  enabled?: boolean;
1451
1984
  }>;
1452
- 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
+ };
1453
1993
  computer_id?: string;
1454
1994
  subagent_model?: string | null;
1455
- image_model?: string | null;
1456
1995
  subagents?: Array<{
1457
1996
  name: string;
1458
1997
  description: string;
@@ -1543,6 +2082,7 @@ export declare function createAgent(transport: Transport): {
1543
2082
  allowManagedHooksOnly?: boolean;
1544
2083
  allowManagedMcpServersOnly?: boolean;
1545
2084
  allowManagedPermissionRulesOnly?: boolean;
2085
+ idleCompaction?: boolean;
1546
2086
  autoMemoryEnabled?: boolean;
1547
2087
  disabled?: {
1548
2088
  subagents?: Array<string>;
@@ -1551,7 +2091,6 @@ export declare function createAgent(transport: Transport): {
1551
2091
  mcpServers?: Array<string>;
1552
2092
  hooks?: Array<string>;
1553
2093
  };
1554
- idleCompaction?: boolean;
1555
2094
  outputStyle?: string;
1556
2095
  } | null;
1557
2096
  models?: {
@@ -1559,6 +2098,7 @@ export declare function createAgent(transport: Transport): {
1559
2098
  };
1560
2099
  avatar: string | null;
1561
2100
  creation_source: string | null;
2101
+ managed_by: string | null;
1562
2102
  identity_number: string | null;
1563
2103
  environment_id?: string | null;
1564
2104
  vault_ids?: Array<string>;
@@ -1585,6 +2125,7 @@ export declare function createAgent(transport: Transport): {
1585
2125
  speed?: "standard" | "fast";
1586
2126
  settings?: {
1587
2127
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2128
+ max_output_tokens?: number;
1588
2129
  };
1589
2130
  };
1590
2131
  multiagent?: null | Types.AgentManaged39;
@@ -1610,18 +2151,25 @@ export declare function createAgent(transport: Transport): {
1610
2151
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1611
2152
  id: string;
1612
2153
  access: "read_only" | "read_write" | "invoke";
2154
+ customer_access?: "read_only" | "read_write" | "invoke";
1613
2155
  instructions?: string;
1614
2156
  readonly verified?: boolean;
1615
2157
  enabled?: boolean;
1616
2158
  } | {
1617
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
2159
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1618
2160
  readonly verified?: boolean;
1619
2161
  enabled?: boolean;
1620
2162
  }>;
1621
- 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
+ };
1622
2171
  computer_id?: string;
1623
2172
  subagent_model?: string | null;
1624
- image_model?: string | null;
1625
2173
  subagents?: Array<{
1626
2174
  name: string;
1627
2175
  description: string;
@@ -1712,6 +2260,7 @@ export declare function createAgent(transport: Transport): {
1712
2260
  allowManagedHooksOnly?: boolean;
1713
2261
  allowManagedMcpServersOnly?: boolean;
1714
2262
  allowManagedPermissionRulesOnly?: boolean;
2263
+ idleCompaction?: boolean;
1715
2264
  autoMemoryEnabled?: boolean;
1716
2265
  disabled?: {
1717
2266
  subagents?: Array<string>;
@@ -1720,7 +2269,6 @@ export declare function createAgent(transport: Transport): {
1720
2269
  mcpServers?: Array<string>;
1721
2270
  hooks?: Array<string>;
1722
2271
  };
1723
- idleCompaction?: boolean;
1724
2272
  outputStyle?: string;
1725
2273
  } | null;
1726
2274
  models?: {
@@ -1728,6 +2276,7 @@ export declare function createAgent(transport: Transport): {
1728
2276
  };
1729
2277
  avatar: string | null;
1730
2278
  creation_source: string | null;
2279
+ managed_by: string | null;
1731
2280
  identity_number: string | null;
1732
2281
  environment_id?: string | null;
1733
2282
  vault_ids?: Array<string>;
@@ -1795,16 +2344,9 @@ export declare function createAgent(transport: Transport): {
1795
2344
  files: {
1796
2345
  convert: {
1797
2346
  create: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesConvertData>) => Promise<{
1798
- type: "computer";
1799
- id: string;
1800
- name: string;
1801
- sandbox_id: string | null;
1802
- machine_state: "not_started" | "provisioned";
1803
- environment_id: string | null;
1804
- status: "active" | "archived";
1805
- created_at: string;
1806
- updated_at: string;
1807
- archived_at: string | null;
2347
+ data: string;
2348
+ mime: "application/pdf";
2349
+ cached: boolean;
1808
2350
  }>;
1809
2351
  };
1810
2352
  list: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesListData>) => Promise<{
@@ -1822,6 +2364,18 @@ export declare function createAgent(transport: Transport): {
1822
2364
  tier: "light" | "heavy";
1823
2365
  }>;
1824
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
+ }>;
1825
2379
  };
1826
2380
  leases: {
1827
2381
  delete: (options: import("./core/transport.js").CallOptions<Types.ReleaseComputerLeaseData>) => Promise<{
@@ -2099,75 +2653,607 @@ export declare function createAgent(transport: Transport): {
2099
2653
  };
2100
2654
  version: number;
2101
2655
  };
2102
- archived_at: null | string;
2103
- created_at: string;
2104
- description: null | string;
2105
- environment_id?: string | null;
2106
- initial_events: Array<Types.AgentManaged86 | Types.AgentManaged87 | Types.AgentManaged90>;
2107
- metadata: Types.AgentManaged91;
2108
- name: string;
2109
- paused_reason: null | Types.AgentManaged92 | Types.AgentManaged93;
2110
- resources: Array<Types.AgentManaged108 | Types.AgentManaged109 | Types.AgentManaged110>;
2111
- schedule: null | Types.AgentManaged111;
2112
- status: "active" | "paused";
2113
- type: "deployment";
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";
2114
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;
3233
+ };
2115
3234
  vault_ids: Array<string>;
2116
- budget?: null | Types.AgentManaged76;
2117
- target: {
2118
- type: "environment" | "computer";
3235
+ deployment_id?: null | string;
3236
+ cwd: string;
3237
+ computer_id?: string;
3238
+ model?: {
3239
+ id: string;
3240
+ thinking: {
3241
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
3242
+ can_disable: boolean;
3243
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
3244
+ } | null;
2119
3245
  };
3246
+ thinking?: {
3247
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3248
+ } | null;
3249
+ forked_from?: {
3250
+ session_id: string;
3251
+ message_id: string;
3252
+ } | null;
3253
+ readonly external_user_id: string | null;
3254
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
2120
3255
  }>;
2121
3256
  };
2122
- update: (options: import("./core/transport.js").CallOptions<Types.DeploymentsUpdateData>) => Promise<{
2123
- id: string;
2124
- agent: {
2125
- id: string;
2126
- type: "agent";
2127
- version: number;
2128
- } | {
2129
- id: string;
2130
- type: "agent_with_overrides";
2131
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2132
- cwd?: string;
2133
- model?: string | {
2134
- id: string;
2135
- effort?: null | "low" | "medium" | "high" | "xhigh" | "max" | Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
2136
- speed?: null | "standard" | "fast";
2137
- };
2138
- version: number;
2139
- };
2140
- archived_at: null | string;
2141
- created_at: string;
2142
- description: null | string;
2143
- environment_id?: string | null;
2144
- initial_events: Array<Types.AgentManaged86 | Types.AgentManaged87 | Types.AgentManaged90>;
2145
- metadata: Types.AgentManaged91;
2146
- name: string;
2147
- paused_reason: null | Types.AgentManaged92 | Types.AgentManaged93;
2148
- resources: Array<Types.AgentManaged108 | Types.AgentManaged109 | Types.AgentManaged110>;
2149
- schedule: null | Types.AgentManaged111;
2150
- status: "active" | "paused";
2151
- type: "deployment";
2152
- updated_at: string;
2153
- vault_ids: Array<string>;
2154
- budget?: null | Types.AgentManaged76;
2155
- target: {
2156
- type: "environment" | "computer";
2157
- };
2158
- }>;
2159
- };
2160
- environments: {
2161
- archive: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsArchiveData>) => Promise<Types.AgentManaged138>;
2162
- create: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsCreateData>) => Promise<Types.AgentManaged138>;
2163
- list: (options?: import("./core/transport.js").CallOptions<Types.EnvironmentsListData> | undefined) => Promise<{
2164
- data: Array<Types.AgentManaged138>;
2165
- next_page: string | null;
2166
- }>;
2167
- retrieve: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsRetrieveData>) => Promise<Types.AgentManaged138>;
2168
- update: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsUpdateData>) => Promise<Types.AgentManaged138>;
2169
- };
2170
- sessions: {
2171
3257
  archive: (options: import("./core/transport.js").CallOptions<Types.SessionsArchiveData>) => Promise<{
2172
3258
  id: string;
2173
3259
  agent: {
@@ -2181,6 +3267,7 @@ export declare function createAgent(transport: Transport): {
2181
3267
  speed?: "standard" | "fast";
2182
3268
  settings?: {
2183
3269
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3270
+ max_output_tokens?: number;
2184
3271
  };
2185
3272
  };
2186
3273
  multiagent: null | Types.AgentManaged171;
@@ -2226,6 +3313,40 @@ export declare function createAgent(transport: Transport): {
2226
3313
  readonly external_user_id: string | null;
2227
3314
  readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
2228
3315
  }>;
3316
+ artifacts: {
3317
+ contentUrl: {
3318
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateSessionArtifactContentUrlData>) => Promise<{
3319
+ url: string;
3320
+ expire_time: string;
3321
+ }>;
3322
+ };
3323
+ list: (options: import("./core/transport.js").CallOptions<Types.ListSessionArtifactsData>) => Promise<{
3324
+ data: Array<{
3325
+ object: "artifact";
3326
+ id: string;
3327
+ session_id: string;
3328
+ run_id: string | null;
3329
+ name: string;
3330
+ version: number;
3331
+ parts: Array<{
3332
+ kind: "file";
3333
+ file_id: string;
3334
+ filename: string;
3335
+ mime_type: string;
3336
+ bytes: number;
3337
+ } | {
3338
+ kind: "object";
3339
+ object_type: "canvas" | "media_asset";
3340
+ object_id: string;
3341
+ href: string;
3342
+ title: string | null;
3343
+ }>;
3344
+ source_hrefs: Array<string>;
3345
+ create_time: string;
3346
+ update_time: string;
3347
+ }>;
3348
+ }>;
3349
+ };
2229
3350
  backgroundTasks: {
2230
3351
  list: (options: import("./core/transport.js").CallOptions<Types.ListSessionBackgroundTasksData>) => Promise<{
2231
3352
  data: Array<{
@@ -2308,6 +3429,7 @@ export declare function createAgent(transport: Transport): {
2308
3429
  speed?: "standard" | "fast";
2309
3430
  settings?: {
2310
3431
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3432
+ max_output_tokens?: number;
2311
3433
  };
2312
3434
  };
2313
3435
  multiagent: null | Types.AgentManaged171;
@@ -2394,7 +3516,6 @@ export declare function createAgent(transport: Transport): {
2394
3516
  run_id: string | null;
2395
3517
  message_id?: string;
2396
3518
  } | {
2397
- full_access_available?: boolean;
2398
3519
  id: string;
2399
3520
  input: Types.AgentManaged197;
2400
3521
  mcp_server_name: string;
@@ -2404,6 +3525,18 @@ export declare function createAgent(transport: Transport): {
2404
3525
  evaluated_permission?: "allow" | "deny" | "ask";
2405
3526
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2406
3527
  session_thread_id?: null | string;
3528
+ permission_suggestions?: Array<{
3529
+ type: "add_rules";
3530
+ behavior: "allow";
3531
+ destination: "agent" | "session";
3532
+ rules: Array<{
3533
+ tool_name: string;
3534
+ rule_content: string;
3535
+ }>;
3536
+ }>;
3537
+ full_access_available?: boolean;
3538
+ user_once?: true;
3539
+ guarded_rule?: string;
2407
3540
  run_id: string | null;
2408
3541
  _meta?: {
2409
3542
  ui?: {
@@ -2417,17 +3550,6 @@ export declare function createAgent(transport: Transport): {
2417
3550
  };
2418
3551
  source?: "app" | "codemode";
2419
3552
  parent_tool_use_id?: string;
2420
- user_once?: true;
2421
- guarded_rule?: string;
2422
- permission_suggestions?: Array<{
2423
- type: "add_rules";
2424
- behavior: "allow";
2425
- destination: "agent" | "session";
2426
- rules: Array<{
2427
- tool_name: string;
2428
- rule_content: string;
2429
- }>;
2430
- }>;
2431
3553
  title?: string;
2432
3554
  input_titles?: {
2433
3555
  [key: string]: string;
@@ -2446,7 +3568,6 @@ export declare function createAgent(transport: Transport): {
2446
3568
  };
2447
3569
  source?: "app" | "codemode";
2448
3570
  } | {
2449
- full_access_available?: boolean;
2450
3571
  id: string;
2451
3572
  input: Types.AgentManaged206;
2452
3573
  name: string;
@@ -2455,9 +3576,6 @@ export declare function createAgent(transport: Transport): {
2455
3576
  evaluated_permission?: "allow" | "deny" | "ask";
2456
3577
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2457
3578
  session_thread_id?: null | string;
2458
- run_id: string | null;
2459
- user_once?: true;
2460
- guarded_rule?: string;
2461
3579
  permission_suggestions?: Array<{
2462
3580
  type: "add_rules";
2463
3581
  behavior: "allow";
@@ -2467,6 +3585,10 @@ export declare function createAgent(transport: Transport): {
2467
3585
  rule_content: string;
2468
3586
  }>;
2469
3587
  }>;
3588
+ full_access_available?: boolean;
3589
+ user_once?: true;
3590
+ guarded_rule?: string;
3591
+ run_id: string | null;
2470
3592
  } | {
2471
3593
  id: string;
2472
3594
  processed_at: string;
@@ -2487,9 +3609,6 @@ export declare function createAgent(transport: Transport): {
2487
3609
  type: "session.status_idle";
2488
3610
  run_id: string | null;
2489
3611
  } | Types.AgentManaged230 | Types.AgentManaged231 | Types.AgentManaged232 | Types.AgentManaged233 | Types.AgentManaged235 | Types.AgentManaged236 | Types.AgentManaged237 | Types.AgentManaged238 | Types.AgentManaged239 | Types.AgentManaged240 | Types.AgentManaged241 | Types.AgentManaged242 | Types.AgentManaged243 | Types.AgentManaged244 | {
2490
- permission_mode_version?: number;
2491
- previous_permission_mode?: string | null;
2492
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2493
3612
  id: string;
2494
3613
  processed_at: string;
2495
3614
  type: "session.updated";
@@ -2497,6 +3616,9 @@ export declare function createAgent(transport: Transport): {
2497
3616
  budget?: null | Types.AgentManaged76;
2498
3617
  metadata?: Types.AgentManaged246;
2499
3618
  title?: null | string;
3619
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
3620
+ previous_permission_mode?: string | null;
3621
+ permission_mode_version?: number;
2500
3622
  model?: {
2501
3623
  id: string;
2502
3624
  };
@@ -2657,6 +3779,7 @@ export declare function createAgent(transport: Transport): {
2657
3779
  speed?: "standard" | "fast";
2658
3780
  settings?: {
2659
3781
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3782
+ max_output_tokens?: number;
2660
3783
  };
2661
3784
  };
2662
3785
  multiagent: null | {
@@ -3152,29 +4275,563 @@ export declare function createAgent(transport: Transport): {
3152
4275
  speed?: "standard" | "fast";
3153
4276
  settings?: {
3154
4277
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4278
+ max_output_tokens?: number;
4279
+ };
4280
+ };
4281
+ multiagent: null | Types.AgentManaged171;
4282
+ name: string;
4283
+ skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
4284
+ system: null | string;
4285
+ tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
4286
+ type: "agent";
4287
+ version: number;
4288
+ };
4289
+ archived_at: null | string;
4290
+ budget: null | Types.AgentManaged76;
4291
+ created_at: string;
4292
+ environment_id?: string;
4293
+ metadata: Types.AgentManaged173;
4294
+ outcome_evaluations: Array<Types.AgentManaged174>;
4295
+ resources: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
4296
+ stats: Types.AgentManaged178;
4297
+ status: "rescheduling" | "running" | "idle" | "terminated";
4298
+ title: null | string;
4299
+ type: "session";
4300
+ updated_at: string;
4301
+ usage: Types.AgentManaged179;
4302
+ vault_ids: Array<string>;
4303
+ deployment_id?: null | string;
4304
+ cwd: string;
4305
+ computer_id?: string;
4306
+ model?: {
4307
+ id: string;
4308
+ thinking: {
4309
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
4310
+ can_disable: boolean;
4311
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
4312
+ } | null;
4313
+ };
4314
+ thinking?: {
4315
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4316
+ } | null;
4317
+ forked_from?: {
4318
+ session_id: string;
4319
+ message_id: string;
4320
+ } | null;
4321
+ readonly external_user_id: string | null;
4322
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
4323
+ }>;
4324
+ next_page: string | null;
4325
+ }>;
4326
+ name: {
4327
+ create: (options: import("./core/transport.js").CallOptions<Types.RenameSessionData>) => Promise<{
4328
+ id: string;
4329
+ agent: {
4330
+ id: string;
4331
+ description: null | string;
4332
+ mcp_servers: Array<{
4333
+ type: "url";
4334
+ name: string;
4335
+ url: string;
4336
+ headers?: {
4337
+ [key: string]: string;
4338
+ };
4339
+ timeout_ms?: number;
4340
+ } | {
4341
+ type: "sse";
4342
+ name: string;
4343
+ url: string;
4344
+ headers?: {
4345
+ [key: string]: string;
4346
+ };
4347
+ timeout_ms?: number;
4348
+ } | {
4349
+ type: "stdio";
4350
+ name: string;
4351
+ command: string;
4352
+ args?: Array<string>;
4353
+ env?: {
4354
+ [key: string]: string;
4355
+ };
4356
+ timeout_ms?: number;
4357
+ }>;
4358
+ model: {
4359
+ id: string;
4360
+ effort?: {
4361
+ type: "low";
4362
+ } | {
4363
+ type: "medium";
4364
+ } | {
4365
+ type: "high";
4366
+ } | {
4367
+ type: "xhigh";
4368
+ } | {
4369
+ type: "max";
4370
+ };
4371
+ inference_geo?: string;
4372
+ speed?: "standard" | "fast";
4373
+ settings?: {
4374
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4375
+ max_output_tokens?: number;
3155
4376
  };
3156
4377
  };
3157
- multiagent: null | Types.AgentManaged171;
4378
+ multiagent: null | {
4379
+ agents: Array<{
4380
+ model: string;
4381
+ type: "advisor";
4382
+ } | {
4383
+ id: string;
4384
+ description: null | string;
4385
+ mcp_servers: Array<{
4386
+ type: "url";
4387
+ name: string;
4388
+ url: string;
4389
+ headers?: {
4390
+ [key: string]: string;
4391
+ };
4392
+ timeout_ms?: number;
4393
+ } | {
4394
+ type: "sse";
4395
+ name: string;
4396
+ url: string;
4397
+ headers?: {
4398
+ [key: string]: string;
4399
+ };
4400
+ timeout_ms?: number;
4401
+ } | {
4402
+ type: "stdio";
4403
+ name: string;
4404
+ command: string;
4405
+ args?: Array<string>;
4406
+ env?: {
4407
+ [key: string]: string;
4408
+ };
4409
+ timeout_ms?: number;
4410
+ }>;
4411
+ model: {
4412
+ id: string;
4413
+ effort?: {
4414
+ type: "low";
4415
+ } | {
4416
+ type: "medium";
4417
+ } | {
4418
+ type: "high";
4419
+ } | {
4420
+ type: "xhigh";
4421
+ } | {
4422
+ type: "max";
4423
+ };
4424
+ inference_geo?: string;
4425
+ speed?: "standard" | "fast";
4426
+ };
4427
+ name: string;
4428
+ skills: Array<{
4429
+ skill_id: string;
4430
+ type: "anthropic";
4431
+ version: string;
4432
+ } | {
4433
+ skill_id: string;
4434
+ type: "custom";
4435
+ version: string;
4436
+ }>;
4437
+ system: null | string;
4438
+ tools: Array<{
4439
+ configs: Array<{
4440
+ enabled: boolean;
4441
+ name: "bash";
4442
+ permission_policy: {
4443
+ type: "always_allow";
4444
+ } | {
4445
+ type: "always_ask";
4446
+ } | {
4447
+ type: "auto";
4448
+ };
4449
+ type: "bash";
4450
+ } | {
4451
+ enabled: boolean;
4452
+ name: "edit";
4453
+ permission_policy: {
4454
+ type: "always_allow";
4455
+ } | {
4456
+ type: "always_ask";
4457
+ } | {
4458
+ type: "auto";
4459
+ };
4460
+ type: "edit";
4461
+ } | {
4462
+ enabled: boolean;
4463
+ name: "read";
4464
+ permission_policy: {
4465
+ type: "always_allow";
4466
+ } | {
4467
+ type: "always_ask";
4468
+ } | {
4469
+ type: "auto";
4470
+ };
4471
+ type: "read";
4472
+ } | {
4473
+ enabled: boolean;
4474
+ name: "write";
4475
+ permission_policy: {
4476
+ type: "always_allow";
4477
+ } | {
4478
+ type: "always_ask";
4479
+ } | {
4480
+ type: "auto";
4481
+ };
4482
+ type: "write";
4483
+ } | {
4484
+ enabled: boolean;
4485
+ name: "glob";
4486
+ permission_policy: {
4487
+ type: "always_allow";
4488
+ } | {
4489
+ type: "always_ask";
4490
+ } | {
4491
+ type: "auto";
4492
+ };
4493
+ type: "glob";
4494
+ } | {
4495
+ enabled: boolean;
4496
+ name: "grep";
4497
+ permission_policy: {
4498
+ type: "always_allow";
4499
+ } | {
4500
+ type: "always_ask";
4501
+ } | {
4502
+ type: "auto";
4503
+ };
4504
+ type: "grep";
4505
+ } | {
4506
+ enabled: boolean;
4507
+ name: "web_fetch";
4508
+ permission_policy: {
4509
+ type: "always_allow";
4510
+ } | {
4511
+ type: "always_ask";
4512
+ } | {
4513
+ type: "auto";
4514
+ };
4515
+ type: "web_fetch";
4516
+ allowed_domains?: Array<string>;
4517
+ blocked_domains?: Array<string>;
4518
+ max_content_tokens?: null | number;
4519
+ } | {
4520
+ enabled: boolean;
4521
+ name: "web_search";
4522
+ permission_policy: {
4523
+ type: "always_allow";
4524
+ } | {
4525
+ type: "always_ask";
4526
+ } | {
4527
+ type: "auto";
4528
+ };
4529
+ type: "web_search";
4530
+ allowed_domains?: Array<string>;
4531
+ blocked_domains?: Array<string>;
4532
+ user_location?: null | {
4533
+ type: "approximate";
4534
+ city?: null | string;
4535
+ country?: null | string;
4536
+ region?: null | string;
4537
+ timezone?: null | string;
4538
+ };
4539
+ } | {
4540
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
4541
+ enabled: boolean;
4542
+ permission_policy: {
4543
+ type: "always_allow" | "always_ask";
4544
+ };
4545
+ }>;
4546
+ default_config: {
4547
+ enabled: boolean;
4548
+ permission_policy: {
4549
+ type: "always_allow";
4550
+ } | {
4551
+ type: "always_ask";
4552
+ } | {
4553
+ type: "auto";
4554
+ };
4555
+ };
4556
+ type: "agent_toolset_20260401";
4557
+ } | {
4558
+ type: "mcp_toolset";
4559
+ mcp_server_name: string;
4560
+ default_config?: {
4561
+ enabled?: boolean | null;
4562
+ permission_policy?: null | {
4563
+ type: "always_allow" | "always_ask";
4564
+ };
4565
+ } | null;
4566
+ configs?: Array<{
4567
+ name: string;
4568
+ enabled?: boolean | null;
4569
+ permission_policy?: null | {
4570
+ type: "always_allow" | "always_ask";
4571
+ };
4572
+ }> | null;
4573
+ } | {
4574
+ description: string;
4575
+ input_schema: {
4576
+ type: "object";
4577
+ properties?: null | {
4578
+ [key: string]: unknown;
4579
+ };
4580
+ required?: null | Array<string>;
4581
+ [key: string]: unknown;
4582
+ };
4583
+ name: string;
4584
+ type: "custom";
4585
+ }>;
4586
+ type: "agent";
4587
+ version: number;
4588
+ }>;
4589
+ type: "coordinator";
4590
+ };
3158
4591
  name: string;
3159
- skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
4592
+ skills: Array<{
4593
+ skill_id: string;
4594
+ type: "anthropic";
4595
+ version: string;
4596
+ } | {
4597
+ skill_id: string;
4598
+ type: "custom";
4599
+ version: string;
4600
+ }>;
3160
4601
  system: null | string;
3161
- tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
4602
+ tools: Array<{
4603
+ configs: Array<{
4604
+ enabled: boolean;
4605
+ name: "bash";
4606
+ permission_policy: {
4607
+ type: "always_allow";
4608
+ } | {
4609
+ type: "always_ask";
4610
+ } | {
4611
+ type: "auto";
4612
+ };
4613
+ type: "bash";
4614
+ } | {
4615
+ enabled: boolean;
4616
+ name: "edit";
4617
+ permission_policy: {
4618
+ type: "always_allow";
4619
+ } | {
4620
+ type: "always_ask";
4621
+ } | {
4622
+ type: "auto";
4623
+ };
4624
+ type: "edit";
4625
+ } | {
4626
+ enabled: boolean;
4627
+ name: "read";
4628
+ permission_policy: {
4629
+ type: "always_allow";
4630
+ } | {
4631
+ type: "always_ask";
4632
+ } | {
4633
+ type: "auto";
4634
+ };
4635
+ type: "read";
4636
+ } | {
4637
+ enabled: boolean;
4638
+ name: "write";
4639
+ permission_policy: {
4640
+ type: "always_allow";
4641
+ } | {
4642
+ type: "always_ask";
4643
+ } | {
4644
+ type: "auto";
4645
+ };
4646
+ type: "write";
4647
+ } | {
4648
+ enabled: boolean;
4649
+ name: "glob";
4650
+ permission_policy: {
4651
+ type: "always_allow";
4652
+ } | {
4653
+ type: "always_ask";
4654
+ } | {
4655
+ type: "auto";
4656
+ };
4657
+ type: "glob";
4658
+ } | {
4659
+ enabled: boolean;
4660
+ name: "grep";
4661
+ permission_policy: {
4662
+ type: "always_allow";
4663
+ } | {
4664
+ type: "always_ask";
4665
+ } | {
4666
+ type: "auto";
4667
+ };
4668
+ type: "grep";
4669
+ } | {
4670
+ enabled: boolean;
4671
+ name: "web_fetch";
4672
+ permission_policy: {
4673
+ type: "always_allow";
4674
+ } | {
4675
+ type: "always_ask";
4676
+ } | {
4677
+ type: "auto";
4678
+ };
4679
+ type: "web_fetch";
4680
+ allowed_domains?: Array<string>;
4681
+ blocked_domains?: Array<string>;
4682
+ max_content_tokens?: null | number;
4683
+ } | {
4684
+ enabled: boolean;
4685
+ name: "web_search";
4686
+ permission_policy: {
4687
+ type: "always_allow";
4688
+ } | {
4689
+ type: "always_ask";
4690
+ } | {
4691
+ type: "auto";
4692
+ };
4693
+ type: "web_search";
4694
+ allowed_domains?: Array<string>;
4695
+ blocked_domains?: Array<string>;
4696
+ user_location?: null | {
4697
+ type: "approximate";
4698
+ city?: null | string;
4699
+ country?: null | string;
4700
+ region?: null | string;
4701
+ timezone?: null | string;
4702
+ };
4703
+ } | {
4704
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
4705
+ enabled: boolean;
4706
+ permission_policy: {
4707
+ type: "always_allow" | "always_ask";
4708
+ };
4709
+ }>;
4710
+ default_config: {
4711
+ enabled: boolean;
4712
+ permission_policy: {
4713
+ type: "always_allow";
4714
+ } | {
4715
+ type: "always_ask";
4716
+ } | {
4717
+ type: "auto";
4718
+ };
4719
+ };
4720
+ type: "agent_toolset_20260401";
4721
+ } | {
4722
+ type: "mcp_toolset";
4723
+ mcp_server_name: string;
4724
+ default_config?: {
4725
+ enabled?: boolean | null;
4726
+ permission_policy?: null | {
4727
+ type: "always_allow" | "always_ask";
4728
+ };
4729
+ } | null;
4730
+ configs?: Array<{
4731
+ name: string;
4732
+ enabled?: boolean | null;
4733
+ permission_policy?: null | {
4734
+ type: "always_allow" | "always_ask";
4735
+ };
4736
+ }> | null;
4737
+ } | {
4738
+ description: string;
4739
+ input_schema: {
4740
+ type: "object";
4741
+ properties?: null | {
4742
+ [key: string]: unknown;
4743
+ };
4744
+ required?: null | Array<string>;
4745
+ [key: string]: unknown;
4746
+ };
4747
+ name: string;
4748
+ type: "custom";
4749
+ }>;
3162
4750
  type: "agent";
3163
4751
  version: number;
3164
4752
  };
3165
4753
  archived_at: null | string;
3166
- budget: null | Types.AgentManaged76;
4754
+ budget: null | {
4755
+ max_list_cost: {
4756
+ amount: string;
4757
+ currency: "USD";
4758
+ };
4759
+ type: "limit";
4760
+ };
3167
4761
  created_at: string;
3168
4762
  environment_id?: string;
3169
- metadata: Types.AgentManaged173;
3170
- outcome_evaluations: Array<Types.AgentManaged174>;
3171
- resources: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
3172
- stats: Types.AgentManaged178;
4763
+ metadata: {
4764
+ [key: string]: string;
4765
+ };
4766
+ outcome_evaluations: Array<{
4767
+ completed_at: null | string;
4768
+ description: string;
4769
+ explanation: null | string;
4770
+ iteration: number;
4771
+ outcome_id: string;
4772
+ result: string;
4773
+ type: "outcome_evaluation";
4774
+ }>;
4775
+ resources: Array<{
4776
+ id: string;
4777
+ created_at: string;
4778
+ mount_path: string;
4779
+ type: "github_repository";
4780
+ updated_at: string;
4781
+ url: string;
4782
+ checkout?: null | {
4783
+ name: string;
4784
+ type: "branch";
4785
+ } | {
4786
+ sha: string;
4787
+ type: "commit";
4788
+ };
4789
+ } | {
4790
+ id: string;
4791
+ created_at: string;
4792
+ file_id: string;
4793
+ mount_path: string;
4794
+ type: "file";
4795
+ updated_at: string;
4796
+ } | {
4797
+ memory_store_id: string;
4798
+ type: "memory_store";
4799
+ access?: null | "read_write" | "read_only";
4800
+ description?: string;
4801
+ instructions?: null | string;
4802
+ mount_path?: null | string;
4803
+ name?: null | string;
4804
+ }>;
4805
+ stats: {
4806
+ active_seconds?: number;
4807
+ duration_seconds?: number;
4808
+ };
3173
4809
  status: "rescheduling" | "running" | "idle" | "terminated";
3174
4810
  title: null | string;
3175
4811
  type: "session";
3176
4812
  updated_at: string;
3177
- usage: Types.AgentManaged179;
4813
+ usage: {
4814
+ active_seconds?: number;
4815
+ cache_creation?: {
4816
+ ephemeral_1h_input_tokens?: number;
4817
+ ephemeral_5m_input_tokens?: number;
4818
+ };
4819
+ cache_read_input_tokens?: number;
4820
+ input_tokens?: number;
4821
+ list_cost?: null | {
4822
+ amount: string;
4823
+ currency: "USD";
4824
+ };
4825
+ output_tokens?: number;
4826
+ server_tool_use?: null | {
4827
+ web_fetch_requests?: number;
4828
+ web_search_requests?: number;
4829
+ };
4830
+ cost_by_product?: {
4831
+ [key: string]: string;
4832
+ };
4833
+ subagent_cost_micro_usd?: number;
4834
+ };
3178
4835
  vault_ids: Array<string>;
3179
4836
  deployment_id?: null | string;
3180
4837
  cwd: string;
@@ -3197,8 +4854,21 @@ export declare function createAgent(transport: Transport): {
3197
4854
  readonly external_user_id: string | null;
3198
4855
  readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
3199
4856
  }>;
3200
- next_page: string | null;
3201
- }>;
4857
+ };
4858
+ requests: {
4859
+ list: (options: import("./core/transport.js").CallOptions<Types.ListSessionRequestsData>) => Promise<{
4860
+ data: Array<{
4861
+ id: string;
4862
+ object: "request";
4863
+ kind: "question" | "approval";
4864
+ status: "pending";
4865
+ tool_name: string;
4866
+ input: unknown;
4867
+ create_time: string;
4868
+ expire_time: string | null;
4869
+ }>;
4870
+ }>;
4871
+ };
3202
4872
  resources: {
3203
4873
  create: (options: import("./core/transport.js").CallOptions<Types.SessionsResourcesAddData>) => Promise<Types.AgentManaged176>;
3204
4874
  delete: (options: import("./core/transport.js").CallOptions<RenameParameters<Types.SessionsResourcesDeleteData, {
@@ -3229,6 +4899,7 @@ export declare function createAgent(transport: Transport): {
3229
4899
  speed?: "standard" | "fast";
3230
4900
  settings?: {
3231
4901
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4902
+ max_output_tokens?: number;
3232
4903
  };
3233
4904
  };
3234
4905
  multiagent: null | Types.AgentManaged171;
@@ -3401,7 +5072,6 @@ export declare function createAgent(transport: Transport): {
3401
5072
  run_id: string | null;
3402
5073
  message_id?: string;
3403
5074
  } | {
3404
- full_access_available?: boolean;
3405
5075
  id: string;
3406
5076
  input: Types.AgentManaged197;
3407
5077
  mcp_server_name: string;
@@ -3411,6 +5081,18 @@ export declare function createAgent(transport: Transport): {
3411
5081
  evaluated_permission?: "allow" | "deny" | "ask";
3412
5082
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3413
5083
  session_thread_id?: null | string;
5084
+ permission_suggestions?: Array<{
5085
+ type: "add_rules";
5086
+ behavior: "allow";
5087
+ destination: "agent" | "session";
5088
+ rules: Array<{
5089
+ tool_name: string;
5090
+ rule_content: string;
5091
+ }>;
5092
+ }>;
5093
+ full_access_available?: boolean;
5094
+ user_once?: true;
5095
+ guarded_rule?: string;
3414
5096
  run_id: string | null;
3415
5097
  parent_tool_use_id?: string;
3416
5098
  _meta?: {
@@ -3424,17 +5106,6 @@ export declare function createAgent(transport: Transport): {
3424
5106
  };
3425
5107
  };
3426
5108
  source?: "app" | "codemode";
3427
- user_once?: true;
3428
- guarded_rule?: string;
3429
- permission_suggestions?: Array<{
3430
- type: "add_rules";
3431
- behavior: "allow";
3432
- destination: "agent" | "session";
3433
- rules: Array<{
3434
- tool_name: string;
3435
- rule_content: string;
3436
- }>;
3437
- }>;
3438
5109
  title?: string;
3439
5110
  input_titles?: {
3440
5111
  [key: string]: string;
@@ -3453,7 +5124,6 @@ export declare function createAgent(transport: Transport): {
3453
5124
  };
3454
5125
  source?: "app" | "codemode";
3455
5126
  } | {
3456
- full_access_available?: boolean;
3457
5127
  id: string;
3458
5128
  input: Types.AgentManaged206;
3459
5129
  name: string;
@@ -3462,9 +5132,6 @@ export declare function createAgent(transport: Transport): {
3462
5132
  evaluated_permission?: "allow" | "deny" | "ask";
3463
5133
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3464
5134
  session_thread_id?: null | string;
3465
- run_id: string | null;
3466
- user_once?: true;
3467
- guarded_rule?: string;
3468
5135
  permission_suggestions?: Array<{
3469
5136
  type: "add_rules";
3470
5137
  behavior: "allow";
@@ -3474,6 +5141,10 @@ export declare function createAgent(transport: Transport): {
3474
5141
  rule_content: string;
3475
5142
  }>;
3476
5143
  }>;
5144
+ full_access_available?: boolean;
5145
+ user_once?: true;
5146
+ guarded_rule?: string;
5147
+ run_id: string | null;
3477
5148
  } | {
3478
5149
  id: string;
3479
5150
  processed_at: string;
@@ -3494,9 +5165,6 @@ export declare function createAgent(transport: Transport): {
3494
5165
  type: "session.status_idle";
3495
5166
  run_id: string | null;
3496
5167
  } | Types.AgentManaged230 | Types.AgentManaged231 | Types.AgentManaged232 | Types.AgentManaged233 | Types.AgentManaged235 | Types.AgentManaged236 | Types.AgentManaged237 | Types.AgentManaged238 | Types.AgentManaged239 | Types.AgentManaged240 | Types.AgentManaged241 | Types.AgentManaged242 | Types.AgentManaged243 | Types.AgentManaged244 | {
3497
- permission_mode_version?: number;
3498
- previous_permission_mode?: string | null;
3499
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
3500
5168
  id: string;
3501
5169
  processed_at: string;
3502
5170
  type: "session.updated";
@@ -3504,6 +5172,9 @@ export declare function createAgent(transport: Transport): {
3504
5172
  budget?: null | Types.AgentManaged76;
3505
5173
  metadata?: Types.AgentManaged246;
3506
5174
  title?: null | string;
5175
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
5176
+ previous_permission_mode?: string | null;
5177
+ permission_mode_version?: number;
3507
5178
  model?: {
3508
5179
  id: string;
3509
5180
  };
@@ -3594,6 +5265,7 @@ export declare function createAgent(transport: Transport): {
3594
5265
  speed?: "standard" | "fast";
3595
5266
  settings?: {
3596
5267
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
5268
+ max_output_tokens?: number;
3597
5269
  };
3598
5270
  };
3599
5271
  multiagent: null | Types.AgentManaged171;
@@ -3684,6 +5356,29 @@ export declare function createAgent(transport: Transport): {
3684
5356
  next_page: null;
3685
5357
  }>;
3686
5358
  };
5359
+ uploads: {
5360
+ contentUrl: {
5361
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadContentUrlData>) => Promise<{
5362
+ url: string;
5363
+ expires_at: string;
5364
+ }>;
5365
+ };
5366
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadData>) => Promise<{
5367
+ upload_id: string;
5368
+ expires_at: string;
5369
+ url: string;
5370
+ } | {
5371
+ upload_id: string;
5372
+ expires_at: string;
5373
+ part_size: number;
5374
+ parts: Array<{
5375
+ part_number: number;
5376
+ url: string;
5377
+ }>;
5378
+ complete_url: string;
5379
+ status_url: string;
5380
+ }>;
5381
+ };
3687
5382
  };
3688
5383
  export declare function createApplication(transport: Transport): {
3689
5384
  assets: {
@@ -3977,6 +5672,10 @@ export declare function createBrowser(transport: Transport): {
3977
5672
  tab: string;
3978
5673
  url: string;
3979
5674
  title: string;
5675
+ } | {
5676
+ type: "select";
5677
+ tab: string;
5678
+ values: Array<string>;
3980
5679
  } | {
3981
5680
  type: "tabs.list";
3982
5681
  tabs: Array<{
@@ -4003,6 +5702,11 @@ export declare function createBrowser(transport: Transport): {
4003
5702
  type: "evaluate";
4004
5703
  tab: string;
4005
5704
  value: unknown;
5705
+ } | {
5706
+ type: "set_cookie";
5707
+ tab: string;
5708
+ name: string;
5709
+ domain: string;
4006
5710
  }>;
4007
5711
  };
4008
5712
  create: (options: import("./core/transport.js").CallOptions<Types.BrowserCreateSessionData>) => Promise<Types.BrowserSessionCreateResult>;
@@ -4060,6 +5764,24 @@ export declare function createCanvas(transport: Transport): {
4060
5764
  update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCollectionData>) => Promise<Types.CanvasCollection>;
4061
5765
  };
4062
5766
  };
5767
+ export declare function createContent(transport: Transport): {
5768
+ contents: {
5769
+ archive: (options: import("./core/transport.js").CallOptions<Types.ContentArchiveContentData>) => Promise<Types.ContentContent>;
5770
+ create: (options: import("./core/transport.js").CallOptions<Types.ContentCreateContentData>) => Promise<Types.ContentContent>;
5771
+ list: (options?: import("./core/transport.js").CallOptions<Types.ContentListContentsData> | undefined) => Promise<Types.ContentContentPage>;
5772
+ publish: (options: import("./core/transport.js").CallOptions<Types.ContentPublishContentData>) => Promise<Types.ContentContent>;
5773
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetContentData>) => Promise<Types.ContentContent>;
5774
+ unpublish: (options: import("./core/transport.js").CallOptions<Types.ContentUnpublishContentData>) => Promise<Types.ContentContent>;
5775
+ update: (options: import("./core/transport.js").CallOptions<Types.ContentUpdateContentData>) => Promise<Types.ContentContent>;
5776
+ };
5777
+ playbackSessions: {
5778
+ create: (options: import("./core/transport.js").CallOptions<Types.ContentCreatePlaybackSessionData>) => Promise<Types.ContentPlaybackSession>;
5779
+ };
5780
+ versions: {
5781
+ list: (options: import("./core/transport.js").CallOptions<Types.ContentListVersionsData>) => Promise<Types.ContentContentVersionPage>;
5782
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetVersionData>) => Promise<Types.ContentContentVersion>;
5783
+ };
5784
+ };
4063
5785
  export declare function createCrm(transport: Transport): {
4064
5786
  associations: {
4065
5787
  create: (options: import("./core/transport.js").CallOptions<Types.CrmAssociationsCreateData>) => Promise<Types.CrmAssociationsLabelsBetweenObjectPair & Types.CrmWriteResult>;
@@ -4120,6 +5842,32 @@ export declare function createCrm(transport: Transport): {
4120
5842
  list: (options?: import("./core/transport.js").CallOptions<Types.CrmSchemasListData> | undefined) => Promise<Types.CrmSchemasCollectionResponseObjectSchemaNoPaging>;
4121
5843
  };
4122
5844
  };
5845
+ export declare function createCustomer(transport: Transport): {
5846
+ accessTokens: {
5847
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateAccessTokenData>) => Promise<Types.CustomerAccessToken>;
5848
+ renew: (options?: import("./core/transport.js").CallOptions<Types.CustomerRenewAccessTokenData> | undefined) => Promise<Types.CustomerAccessToken>;
5849
+ revoke: (options?: import("./core/transport.js").CallOptions<Types.CustomerRevokeCurrentTokensData> | undefined) => Promise<unknown>;
5850
+ };
5851
+ customers: {
5852
+ block: (options: import("./core/transport.js").CallOptions<Types.CustomerBlockCustomerData>) => Promise<Types.CustomerCustomer>;
5853
+ delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeleteCustomerData>) => Promise<Types.CustomerCustomerDeleted>;
5854
+ list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListCustomersData> | undefined) => Promise<Types.CustomerCustomerPage>;
5855
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetCustomerData>) => Promise<Types.CustomerCustomer>;
5856
+ revokeTokens: (options: import("./core/transport.js").CallOptions<Types.CustomerRevokeTokensData>) => Promise<Types.CustomerTokensRevoked>;
5857
+ unblock: (options: import("./core/transport.js").CallOptions<Types.CustomerUnblockCustomerData>) => Promise<Types.CustomerCustomer>;
5858
+ };
5859
+ grantCodes: {
5860
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateGrantCodeData>) => Promise<Types.CustomerGrantCode>;
5861
+ };
5862
+ publishableKeys: {
5863
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreatePublishableKeyData>) => Promise<Types.CustomerPublishableKey>;
5864
+ delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeletePublishableKeyData>) => Promise<Types.CustomerPublishableKeyDeleted>;
5865
+ list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListPublishableKeysData> | undefined) => Promise<Types.CustomerPublishableKeyPage>;
5866
+ };
5867
+ usage: {
5868
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetUsageData>) => Promise<Types.CustomerCustomerUsage>;
5869
+ };
5870
+ };
4123
5871
  export declare function createCut(transport: Transport): {
4124
5872
  exports: {
4125
5873
  cancel: (options: import("./core/transport.js").CallOptions<Types.CutCancelExportData>) => Promise<Types.CutExport>;
@@ -4218,13 +5966,26 @@ export declare function createDatabase(transport: Transport): {
4218
5966
  export declare function createDevops(transport: Transport): {
4219
5967
  changes: {
4220
5968
  abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesAbandonData>) => Promise<Types.DevopsChange>;
5969
+ gitCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGitCredentialData>) => Promise<Types.DevopsChangeGitCredential>;
4221
5970
  markLastSlice: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesMarkLastSliceData>) => Promise<Types.DevopsChange>;
5971
+ openPullRequest: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesOpenPullRequestData>) => Promise<Types.DevopsChangePullRequestOpened>;
4222
5972
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGetData>) => Promise<Types.DevopsChange>;
4223
5973
  };
5974
+ connections: {
5975
+ complete: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsCompleteData>) => Promise<Types.DevopsConnection>;
5976
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsCreateData>) => Promise<Types.DevopsConnectionStart>;
5977
+ list: (options?: import("./core/transport.js").CallOptions<Types.DevopsConnectionsListData> | undefined) => Promise<Types.DevopsConnectionPage>;
5978
+ repositories: {
5979
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsListRepositoriesData>) => Promise<Types.DevopsRepositoryPage>;
5980
+ };
5981
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsGetData>) => Promise<Types.DevopsConnection>;
5982
+ };
4224
5983
  environments: {
4225
5984
  checkpoints: {
4226
5985
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsCheckpointsListData>) => Promise<Types.DevopsCheckpointList>;
4227
5986
  };
5987
+ rollback: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsRollbackData>) => Promise<Types.DevopsPromotion>;
5988
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsUpdateData>) => Promise<Types.DevopsEnvironment>;
4228
5989
  };
4229
5990
  flags: {
4230
5991
  archive: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsArchiveData>) => Promise<Types.DevopsFlag>;
@@ -4264,17 +6025,26 @@ export declare function createDevops(transport: Transport): {
4264
6025
  flags: {
4265
6026
  create: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsCreateData>) => Promise<Types.DevopsFlag>;
4266
6027
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsListData>) => Promise<Types.DevopsFlagPage>;
6028
+ reportCodeRefs: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsReportCodeRefsData>) => Promise<Types.DevopsFlagCodeRefsReportResult>;
4267
6029
  };
4268
6030
  list: (options?: import("./core/transport.js").CallOptions<Types.DevopsProjectsListData> | undefined) => Promise<Types.DevopsProjectPage>;
4269
6031
  promotions: {
4270
6032
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsListData>) => Promise<Types.DevopsPromotionPage>;
4271
6033
  };
6034
+ pullRequests: {
6035
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsListData>) => Promise<Types.DevopsPullRequestPage>;
6036
+ };
4272
6037
  releases: {
4273
6038
  create: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesCreateData>) => Promise<Types.DevopsRelease>;
4274
6039
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesListData>) => Promise<Types.DevopsReleasePage>;
4275
6040
  };
4276
6041
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsGetData>) => Promise<Types.DevopsProject>;
4277
6042
  retrieveTestCatalog: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCatalogGetData>) => Promise<Types.DevopsCatalogVersion>;
6043
+ retrieveTestPlan: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlanGetData>) => Promise<Types.DevopsTestPlan>;
6044
+ segments: {
6045
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsCreateData>) => Promise<Types.DevopsSegment>;
6046
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsListData>) => Promise<Types.DevopsSegmentPage>;
6047
+ };
4278
6048
  targets: {
4279
6049
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsTargetsListData>) => Promise<Types.DevopsTargetPage>;
4280
6050
  refresh: (options: import("./core/transport.js").CallOptions<Types.DevopsTargetsRefreshData>) => Promise<Types.DevopsTargetCatalog>;
@@ -4296,6 +6066,16 @@ export declare function createDevops(transport: Transport): {
4296
6066
  testSuites: {
4297
6067
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestSuitesListData>) => Promise<Types.DevopsSuitePage>;
4298
6068
  };
6069
+ units: {
6070
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsCreateData>) => Promise<Types.DevopsUnit>;
6071
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsListData>) => Promise<Types.DevopsUnitPage>;
6072
+ };
6073
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsUpdateData>) => Promise<Types.DevopsProject>;
6074
+ workspaces: {
6075
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesListData>) => Promise<Types.DevopsWorkspaceList>;
6076
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesGetData>) => Promise<Types.DevopsWorkspace>;
6077
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesUpdateData>) => Promise<Types.DevopsWorkspace>;
6078
+ };
4299
6079
  };
4300
6080
  promotions: {
4301
6081
  approve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsApproveData>) => Promise<Types.DevopsPromotion>;
@@ -4308,6 +6088,13 @@ export declare function createDevops(transport: Transport): {
4308
6088
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsRolloutsListData>) => Promise<Types.DevopsRolloutPage>;
4309
6089
  };
4310
6090
  };
6091
+ pullRequests: {
6092
+ close: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsCloseData>) => Promise<Types.DevopsPullRequest>;
6093
+ merge: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsMergeData>) => Promise<Types.DevopsPullRequest>;
6094
+ recordVerdict: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRecordVerdictData>) => Promise<Types.DevopsPullRequest>;
6095
+ rerunGate: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRerunGateData>) => Promise<Types.DevopsPullRequest>;
6096
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsGetData>) => Promise<Types.DevopsPullRequest>;
6097
+ };
4311
6098
  releases: {
4312
6099
  abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesAbandonData>) => Promise<Types.DevopsRelease>;
4313
6100
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesGetData>) => Promise<Types.DevopsRelease>;
@@ -4315,6 +6102,9 @@ export declare function createDevops(transport: Transport): {
4315
6102
  rollouts: {
4316
6103
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsRolloutsGetData>) => Promise<Types.DevopsRollout>;
4317
6104
  };
6105
+ segments: {
6106
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsUpdateData>) => Promise<Types.DevopsSegment>;
6107
+ };
4318
6108
  testCases: {
4319
6109
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCasesGetData>) => Promise<Types.DevopsTestCase>;
4320
6110
  };
@@ -4332,10 +6122,24 @@ export declare function createDevops(transport: Transport): {
4332
6122
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestExecutionsGetData>) => Promise<Types.DevopsExecution>;
4333
6123
  };
4334
6124
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsGetData>) => Promise<Types.DevopsRun>;
6125
+ retryFailed: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsRetryFailedData>) => Promise<Types.DevopsRun>;
4335
6126
  };
4336
6127
  testSuites: {
4337
6128
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestSuitesGetData>) => Promise<Types.DevopsSuite>;
4338
6129
  };
6130
+ units: {
6131
+ connect: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsConnectData>) => Promise<Types.DevopsUnitConnectResult>;
6132
+ delete: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsDeleteData>) => Promise<Types.DevopsUnitDeleted>;
6133
+ exec: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsExecData>) => Promise<Types.DevopsUnitExecResult>;
6134
+ fetch: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsFetchData>) => Promise<Types.DevopsUnit>;
6135
+ push: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsPushData>) => Promise<Types.DevopsUnitPushResult>;
6136
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsGetData>) => Promise<Types.DevopsUnit>;
6137
+ start: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsStartData>) => Promise<Types.DevopsUnit>;
6138
+ stop: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsStopData>) => Promise<Types.DevopsUnit>;
6139
+ transitions: {
6140
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsTransitionsListData>) => Promise<Types.DevopsUnitTransitionPage>;
6141
+ };
6142
+ };
4339
6143
  };
4340
6144
  export declare function createFile(transport: Transport): {
4341
6145
  files: {
@@ -4426,12 +6230,19 @@ export declare function createMedia(transport: Transport): {
4426
6230
  };
4427
6231
  libraries: {
4428
6232
  assets: {
6233
+ align: {
6234
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaAlignAssetData>) => Promise<Types.MediaJob>;
6235
+ };
4429
6236
  batch: (options: import("./core/transport.js").CallOptions<Types.MediaBatchAssetsData>) => Promise<Types.MediaJob>;
4430
6237
  create: (options: import("./core/transport.js").CallOptions<Types.MediaUploadAssetData>) => Promise<Types.MediaUploadResult>;
4431
6238
  delete: (options: import("./core/transport.js").CallOptions<Types.MediaDeleteAssetData>) => Promise<Types.MediaDeleted>;
4432
6239
  frames: {
4433
6240
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateFrameUrlsData>) => Promise<Types.MediaFrameUrls>;
4434
6241
  };
6242
+ hls: {
6243
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaRequestHlsRenditionsData>) => Promise<Types.MediaHlsLadder>;
6244
+ list: (options: import("./core/transport.js").CallOptions<Types.MediaGetHlsRenditionsData>) => Promise<Types.MediaHlsLadder>;
6245
+ };
4435
6246
  import: {
4436
6247
  create: (options: import("./core/transport.js").CallOptions<Types.MediaImportAssetData>) => Promise<Types.MediaAsset>;
4437
6248
  };
@@ -4444,6 +6255,9 @@ export declare function createMedia(transport: Transport): {
4444
6255
  list: (options: import("./core/transport.js").CallOptions<Types.MediaListUnderstandingsData>) => Promise<import("./automation.js").Page<Types.MediaUnderstanding>>;
4445
6256
  };
4446
6257
  update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateAssetData>) => Promise<Types.MediaAsset>;
6258
+ versions: {
6259
+ restore: (options: import("./core/transport.js").CallOptions<Types.MediaRestoreAssetVersionData>) => Promise<Types.MediaAsset>;
6260
+ };
4447
6261
  };
4448
6262
  batches: {
4449
6263
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateBatchData>) => Promise<Types.MediaJob>;
@@ -4466,6 +6280,11 @@ export declare function createMedia(transport: Transport): {
4466
6280
  retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetJobData>) => Promise<Types.MediaJob>;
4467
6281
  };
4468
6282
  list: (options?: import("./core/transport.js").CallOptions<Types.MediaListLibrariesData> | undefined) => Promise<import("./automation.js").Page<Types.MediaLibrary>>;
6283
+ materials: {
6284
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateMaterialData>) => Promise<Types.MediaMaterial>;
6285
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetMaterialData>) => Promise<Types.MediaMaterial>;
6286
+ update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateMaterialData>) => Promise<Types.MediaMaterial>;
6287
+ };
4469
6288
  purge: {
4470
6289
  create: (options: import("./core/transport.js").CallOptions<Types.MediaPurgeLibraryData>) => Promise<Types.MediaPurgedLibrary>;
4471
6290
  };
@@ -4490,6 +6309,12 @@ export declare function createMedia(transport: Transport): {
4490
6309
  retrieveFailureSummary: (options: import("./core/transport.js").CallOptions<Types.MediaUnderstandingFailureSummaryData>) => Promise<Types.MediaFailureSummary>;
4491
6310
  };
4492
6311
  update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateLibraryData>) => Promise<Types.MediaLibrary>;
6312
+ voices: {
6313
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateVoiceData>) => Promise<Types.MediaJob>;
6314
+ designs: {
6315
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaDesignVoiceData>) => Promise<Types.MediaJob>;
6316
+ };
6317
+ };
4493
6318
  };
4494
6319
  speech: {
4495
6320
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateSpeechData>) => Promise<Types.MediaJob>;
@@ -4696,7 +6521,35 @@ export declare function createModel(transport: Transport): {
4696
6521
  countTokens: (options: import("./core/transport.js").CallOptions<Types.CountTokensData>) => Promise<Types.AnthropicMessageTokensCount>;
4697
6522
  create: import("./core/bindings.js").MixedMethod<Types.CreateMessageData, Types.AnthropicMessage, Types.PraxisSdkSsePostModelV1Messages>;
4698
6523
  };
6524
+ modelAccess: {
6525
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListModelAccessData> | undefined) => Promise<{
6526
+ items: Array<{
6527
+ model: string;
6528
+ access_required: boolean;
6529
+ granted: boolean;
6530
+ granted_by: string | null;
6531
+ granted_at: string | null;
6532
+ sell_input_price: number | null;
6533
+ sell_output_price: number | null;
6534
+ }>;
6535
+ }>;
6536
+ };
4699
6537
  models: {
6538
+ access: {
6539
+ delete: (options: import("./core/transport.js").CallOptions<Types.DisableModelAccessData>) => Promise<{
6540
+ model: string;
6541
+ revoked: true;
6542
+ }>;
6543
+ update: (options: import("./core/transport.js").CallOptions<Types.EnableModelAccessData>) => Promise<{
6544
+ model: string;
6545
+ access_required: boolean;
6546
+ granted: true;
6547
+ granted_by: string;
6548
+ granted_at: string;
6549
+ sell_input_price: number | null;
6550
+ sell_output_price: number | null;
6551
+ }>;
6552
+ };
4700
6553
  list: (options?: import("./core/transport.js").CallOptions<Types.ListModelsData> | undefined) => Promise<{
4701
6554
  object: "list";
4702
6555
  data: Array<{
@@ -4711,6 +6564,7 @@ export declare function createModel(transport: Transport): {
4711
6564
  type: "language" | "image" | "embedding" | "ocr" | "transcription" | "speech" | "video" | "reranking";
4712
6565
  supported_apis: Array<string>;
4713
6566
  tags: Array<string>;
6567
+ access_required: boolean;
4714
6568
  architecture: {
4715
6569
  modality: string;
4716
6570
  input_modalities: Array<string>;
@@ -4757,6 +6611,7 @@ export declare function createModel(transport: Transport): {
4757
6611
  type: "language" | "image" | "embedding" | "ocr" | "transcription" | "speech" | "video" | "reranking";
4758
6612
  supported_apis: Array<string>;
4759
6613
  tags: Array<string>;
6614
+ access_required: boolean;
4760
6615
  architecture: {
4761
6616
  modality: string;
4762
6617
  input_modalities: Array<string>;
@@ -4983,6 +6838,7 @@ export declare function createModel(transport: Transport): {
4983
6838
  unsigned_urls: Array<string>;
4984
6839
  usage?: {
4985
6840
  cost: number;
6841
+ billed_seconds?: number;
4986
6842
  };
4987
6843
  }>;
4988
6844
  delete: (options: import("./core/transport.js").CallOptions<Types.DeleteVideoData>) => Promise<{
@@ -5013,6 +6869,7 @@ export declare function createModel(transport: Transport): {
5013
6869
  unsigned_urls: Array<string>;
5014
6870
  usage?: {
5015
6871
  cost: number;
6872
+ billed_seconds?: number;
5016
6873
  };
5017
6874
  }>;
5018
6875
  has_more: boolean;
@@ -5041,6 +6898,7 @@ export declare function createModel(transport: Transport): {
5041
6898
  unsigned_urls: Array<string>;
5042
6899
  usage?: {
5043
6900
  cost: number;
6901
+ billed_seconds?: number;
5044
6902
  };
5045
6903
  }>;
5046
6904
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.DownloadVideoContentData>) => Promise<Blob | File>;
@@ -5078,6 +6936,23 @@ export declare function createOntology(transport: Transport): {
5078
6936
  };
5079
6937
  };
5080
6938
  export declare function createOrganization(transport: Transport): {
6939
+ actors: {
6940
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationActorsData> | undefined) => Promise<Types.OrganizationActorList>;
6941
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationActorData>) => Promise<Types.OrganizationPositionChain>;
6942
+ };
6943
+ assignments: {
6944
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationAssignmentsData> | undefined) => Promise<Types.OrganizationAssignmentList>;
6945
+ makePrimary: {
6946
+ create: (options: import("./core/transport.js").CallOptions<Types.MakePrimaryOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
6947
+ };
6948
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
6949
+ terminate: {
6950
+ create: (options: import("./core/transport.js").CallOptions<Types.TerminateOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
6951
+ };
6952
+ transfer: {
6953
+ create: (options: import("./core/transport.js").CallOptions<Types.TransferOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
6954
+ };
6955
+ };
5081
6956
  charges: {
5082
6957
  list: (options: import("./core/transport.js").CallOptions<Types.ExportOrganizationChargesData>) => Promise<{
5083
6958
  ChargePeriodStart: string;
@@ -5119,6 +6994,16 @@ export declare function createOrganization(transport: Transport): {
5119
6994
  next_page: string | null;
5120
6995
  }>;
5121
6996
  };
6997
+ departments: {
6998
+ create: (options: import("./core/transport.js").CallOptions<Types.EstablishOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
6999
+ dissolve: {
7000
+ create: (options: import("./core/transport.js").CallOptions<Types.DissolveOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
7001
+ };
7002
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationDepartmentsData> | undefined) => Promise<Types.OrganizationDepartmentList>;
7003
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
7004
+ update: (options: import("./core/transport.js").CallOptions<Types.ReorganizeOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
7005
+ updateCharter: (options: import("./core/transport.js").CallOptions<Types.AmendOrganizationDepartmentCharterData>) => Promise<Types.OrganizationDepartment>;
7006
+ };
5122
7007
  events: {
5123
7008
  list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationEventsData>) => Promise<{
5124
7009
  object: "page";
@@ -5321,6 +7206,27 @@ export declare function createOrganization(transport: Transport): {
5321
7206
  }>;
5322
7207
  }>;
5323
7208
  };
7209
+ jobs: {
7210
+ create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationJobData>) => Promise<Types.OrganizationJob>;
7211
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationJobsData> | undefined) => Promise<Types.OrganizationJobList>;
7212
+ retire: {
7213
+ create: (options: import("./core/transport.js").CallOptions<Types.RetireOrganizationJobData>) => Promise<Types.OrganizationJob>;
7214
+ };
7215
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationJobData>) => Promise<Types.OrganizationJob>;
7216
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationJobData>) => Promise<Types.OrganizationJob>;
7217
+ };
7218
+ keyResults: {
7219
+ create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
7220
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationKeyResultsData> | undefined) => Promise<Types.OrganizationKeyResultList>;
7221
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
7222
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
7223
+ };
7224
+ ladders: {
7225
+ create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
7226
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationLaddersData> | undefined) => Promise<Types.OrganizationLadderList>;
7227
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
7228
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
7229
+ };
5324
7230
  members: {
5325
7231
  list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationMembersData> | undefined) => Promise<{
5326
7232
  data: Array<{
@@ -5334,6 +7240,52 @@ export declare function createOrganization(transport: Transport): {
5334
7240
  next_page: string | null;
5335
7241
  }>;
5336
7242
  };
7243
+ objectives: {
7244
+ create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
7245
+ grade: {
7246
+ create: (options: import("./core/transport.js").CallOptions<Types.GradeOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
7247
+ };
7248
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationObjectivesData> | undefined) => Promise<Types.OrganizationObjectiveList>;
7249
+ parents: {
7250
+ update: (options: import("./core/transport.js").CallOptions<Types.AlignOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
7251
+ };
7252
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
7253
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
7254
+ };
7255
+ periods: {
7256
+ close: {
7257
+ create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
7258
+ };
7259
+ create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
7260
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPeriodsData> | undefined) => Promise<Types.OrganizationPeriodList>;
7261
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
7262
+ };
7263
+ positions: {
7264
+ close: {
7265
+ create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7266
+ };
7267
+ create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPositionsData>) => Promise<Types.OrganizationPositionBatch>;
7268
+ designateHead: {
7269
+ create: (options: import("./core/transport.js").CallOptions<Types.DesignateOrganizationPositionHeadData>) => Promise<Types.OrganizationDepartment>;
7270
+ };
7271
+ freeze: {
7272
+ create: (options: import("./core/transport.js").CallOptions<Types.FreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7273
+ };
7274
+ hire: {
7275
+ create: (options: import("./core/transport.js").CallOptions<Types.HireOrganizationPositionData>) => Promise<Types.OrganizationAssignment>;
7276
+ };
7277
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPositionsData> | undefined) => Promise<Types.OrganizationPositionList>;
7278
+ replaceHolder: {
7279
+ create: (options: import("./core/transport.js").CallOptions<Types.ReplaceOrganizationPositionHolderData>) => Promise<Types.OrganizationAssignment>;
7280
+ };
7281
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7282
+ unfreeze: {
7283
+ create: (options: import("./core/transport.js").CallOptions<Types.UnfreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7284
+ };
7285
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7286
+ updateLevel: (options: import("./core/transport.js").CallOptions<Types.RegradeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
7287
+ updateManager: (options: import("./core/transport.js").CallOptions<Types.ReassignOrganizationPositionManagerData>) => Promise<Types.OrganizationPosition>;
7288
+ };
5337
7289
  usage: {
5338
7290
  list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationUsageData>) => Promise<{
5339
7291
  object: "page";
@@ -5357,6 +7309,54 @@ export declare function createOrganization(transport: Transport): {
5357
7309
  }>;
5358
7310
  };
5359
7311
  };
7312
+ export declare function createRegistry(transport: Transport): {
7313
+ installations: {
7314
+ delete: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsDeleteData>) => Promise<Types.RegistryDeletedInstallation>;
7315
+ update: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsUpdateData>) => Promise<Types.RegistryInstallation>;
7316
+ };
7317
+ packages: {
7318
+ git: {
7319
+ commits: {
7320
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCommitsRetrieveData>) => Promise<Types.RegistryGitCommit>;
7321
+ };
7322
+ files: {
7323
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitFilesRetrieveData>) => Promise<Blob | File>;
7324
+ };
7325
+ retrieveLog: (options: import("./core/transport.js").CallOptions<Types.RegistryGitLogData>) => Promise<Types.RegistryGitLog>;
7326
+ trees: {
7327
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRetrieveData>) => Promise<Types.RegistryGitTree>;
7328
+ };
7329
+ };
7330
+ installations: {
7331
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsCreateData>) => Promise<Types.RegistryInstallResult>;
7332
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsListData>) => Promise<Types.RegistryInstallationList>;
7333
+ };
7334
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesRetrieveData>) => Promise<Types.RegistryPackage>;
7335
+ versions: {
7336
+ contents: {
7337
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsContentsData>) => Promise<Types.RegistryFileEntryPage>;
7338
+ };
7339
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsCreateData>) => Promise<Types.RegistryVersion>;
7340
+ files: {
7341
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsFilesRetrieveData>) => Promise<Blob | File>;
7342
+ };
7343
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsListData>) => Promise<import("./automation.js").Page<Types.RegistryVersion>>;
7344
+ retrieveArchive: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsArchiveData>) => Promise<Blob | File>;
7345
+ withdraw: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsWithdrawData>) => Promise<Types.RegistryVersion>;
7346
+ };
7347
+ };
7348
+ repositories: {
7349
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesCreateData>) => Promise<Types.RegistryRepository>;
7350
+ delete: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesDeleteData>) => Promise<Types.RegistryDeletedRepository>;
7351
+ list: (options?: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesListData> | undefined) => Promise<import("./automation.js").Page<Types.RegistryRepository>>;
7352
+ packages: {
7353
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesPackagesCreateData>) => Promise<Types.RegistryPackage>;
7354
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesPackagesListData>) => Promise<import("./automation.js").Page<Types.RegistryPackage>>;
7355
+ };
7356
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesRetrieveData>) => Promise<Types.RegistryRepository>;
7357
+ update: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesUpdateData>) => Promise<Types.RegistryRepository>;
7358
+ };
7359
+ };
5360
7360
  export declare function createSandbox(transport: Transport): {
5361
7361
  events: {
5362
7362
  sandboxes: {
@@ -5441,6 +7441,20 @@ export declare function createSandbox(transport: Transport): {
5441
7441
  snapshots: {
5442
7442
  create: (options: import("./core/transport.js").CallOptions<Types.PostSandboxV1SandboxesBySandboxIdSnapshotsData>) => Promise<Types.SandboxSnapshotInfo>;
5443
7443
  };
7444
+ tasks: {
7445
+ create: (options: import("./core/transport.js").CallOptions<Types.StartSandboxTaskData>) => Promise<{
7446
+ taskId: string;
7447
+ instanceId: string;
7448
+ startedAt: number;
7449
+ }>;
7450
+ retrieveLog: (options: import("./core/transport.js").CallOptions<Types.GetSandboxTaskLogData>) => Promise<{
7451
+ text: string;
7452
+ nextOffset: number;
7453
+ done: boolean;
7454
+ exitCode: number | null;
7455
+ size: number | null;
7456
+ }>;
7457
+ };
5444
7458
  timeout: (options: import("./core/transport.js").CallOptions<Types.PostSandboxV1SandboxesBySandboxIdTimeoutData>) => Promise<void>;
5445
7459
  update: (options: import("./core/transport.js").CallOptions<Types.RenameSandboxData>) => Promise<Types.SandboxSandboxDetail & {
5446
7460
  name: string;
@@ -5579,6 +7593,14 @@ export declare function createSearch(transport: Transport): {
5579
7593
  }>;
5580
7594
  };
5581
7595
  };
7596
+ export declare function createShare(transport: Transport): {
7597
+ permissions: {
7598
+ create: (options: import("./core/transport.js").CallOptions<Types.ShareCreatePermissionData>) => Promise<Types.ShareSharePermission>;
7599
+ delete: (options: import("./core/transport.js").CallOptions<Types.ShareDeletePermissionData>) => Promise<void>;
7600
+ list: (options?: import("./core/transport.js").CallOptions<Types.ShareListPermissionsData> | undefined) => Promise<Types.ShareSharePermissionPage>;
7601
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ShareRetrievePermissionData>) => Promise<Types.ShareSharePermission>;
7602
+ };
7603
+ };
5582
7604
  export declare function createStudio(transport: Transport): {
5583
7605
  codexes: {
5584
7606
  create: (options: import("./core/transport.js").CallOptions<Types.StudioCodexesCreateData>) => Promise<Types.StudioCodex>;
@@ -5872,7 +7894,9 @@ export declare const resourceFactories: {
5872
7894
  automation: typeof createAutomation;
5873
7895
  browser: typeof createBrowser;
5874
7896
  canvas: typeof createCanvas;
7897
+ content: typeof createContent;
5875
7898
  crm: typeof createCrm;
7899
+ customer: typeof createCustomer;
5876
7900
  cut: typeof createCut;
5877
7901
  database: typeof createDatabase;
5878
7902
  devops: typeof createDevops;
@@ -5883,8 +7907,10 @@ export declare const resourceFactories: {
5883
7907
  model: typeof createModel;
5884
7908
  ontology: typeof createOntology;
5885
7909
  organization: typeof createOrganization;
7910
+ registry: typeof createRegistry;
5886
7911
  sandbox: typeof createSandbox;
5887
7912
  search: typeof createSearch;
7913
+ share: typeof createShare;
5888
7914
  studio: typeof createStudio;
5889
7915
  ticket: typeof createTicket;
5890
7916
  vault: typeof createVault;