@deepraxis/sdk 0.1.1-dev.b8773c9 → 0.1.1-dev.b87ed5a

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -17,6 +17,7 @@ export declare function createAgent(transport: Transport): {
17
17
  speed?: "standard" | "fast";
18
18
  settings?: {
19
19
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
20
+ max_output_tokens?: number;
20
21
  };
21
22
  };
22
23
  multiagent?: null | Types.AgentManaged39;
@@ -41,15 +42,16 @@ export declare function createAgent(transport: Transport): {
41
42
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
42
43
  id: string;
43
44
  access: "read_only" | "read_write" | "invoke";
45
+ customer_access?: "read_only" | "read_write" | "invoke";
44
46
  instructions?: string;
45
47
  readonly verified?: boolean;
46
48
  enabled?: boolean;
47
49
  } | {
48
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
50
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
49
51
  readonly verified?: boolean;
50
52
  enabled?: boolean;
51
53
  }>;
52
- kind: "general" | "personal" | "service" | "assume";
54
+ kind: "general" | "service" | "assume";
53
55
  computer_id?: string;
54
56
  subagent_model?: string | null;
55
57
  subagents?: Array<{
@@ -142,6 +144,7 @@ export declare function createAgent(transport: Transport): {
142
144
  allowManagedHooksOnly?: boolean;
143
145
  allowManagedMcpServersOnly?: boolean;
144
146
  allowManagedPermissionRulesOnly?: boolean;
147
+ idleCompaction?: boolean;
145
148
  autoMemoryEnabled?: boolean;
146
149
  disabled?: {
147
150
  subagents?: Array<string>;
@@ -150,7 +153,6 @@ export declare function createAgent(transport: Transport): {
150
153
  mcpServers?: Array<string>;
151
154
  hooks?: Array<string>;
152
155
  };
153
- idleCompaction?: boolean;
154
156
  outputStyle?: string;
155
157
  } | null;
156
158
  models?: {
@@ -169,6 +171,22 @@ export declare function createAgent(transport: Transport): {
169
171
  keep_coding_instructions?: boolean;
170
172
  }> | null;
171
173
  }>;
174
+ consolidations: {
175
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentConsolidationData>) => Promise<{
176
+ id: string;
177
+ session_id: string;
178
+ status: "queued" | "running" | "done" | "failed";
179
+ engram_id?: string;
180
+ error?: string;
181
+ }>;
182
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetAgentConsolidationData>) => Promise<{
183
+ id: string;
184
+ session_id: string;
185
+ status: "queued" | "running" | "done" | "failed";
186
+ engram_id?: string;
187
+ error?: string;
188
+ }>;
189
+ };
172
190
  create: (options: import("./core/transport.js").CallOptions<Types.AgentsCreateData>) => Promise<{
173
191
  id: string;
174
192
  archived_at: null | string;
@@ -183,6 +201,7 @@ export declare function createAgent(transport: Transport): {
183
201
  speed?: "standard" | "fast";
184
202
  settings?: {
185
203
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
204
+ max_output_tokens?: number;
186
205
  };
187
206
  };
188
207
  multiagent?: null | Types.AgentManaged39;
@@ -207,15 +226,23 @@ export declare function createAgent(transport: Transport): {
207
226
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
208
227
  id: string;
209
228
  access: "read_only" | "read_write" | "invoke";
229
+ customer_access?: "read_only" | "read_write" | "invoke";
210
230
  instructions?: string;
211
231
  readonly verified?: boolean;
212
232
  enabled?: boolean;
213
233
  } | {
214
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
234
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
215
235
  readonly verified?: boolean;
216
236
  enabled?: boolean;
217
237
  }>;
218
- kind: "general" | "personal" | "service" | "assume";
238
+ kind: "general" | "service" | "assume";
239
+ computers?: {
240
+ default: string;
241
+ allowed: Array<{
242
+ template: string;
243
+ name: string;
244
+ }>;
245
+ };
219
246
  computer_id?: string;
220
247
  subagent_model?: string | null;
221
248
  subagents?: Array<{
@@ -308,6 +335,7 @@ export declare function createAgent(transport: Transport): {
308
335
  allowManagedHooksOnly?: boolean;
309
336
  allowManagedMcpServersOnly?: boolean;
310
337
  allowManagedPermissionRulesOnly?: boolean;
338
+ idleCompaction?: boolean;
311
339
  autoMemoryEnabled?: boolean;
312
340
  disabled?: {
313
341
  subagents?: Array<string>;
@@ -316,7 +344,6 @@ export declare function createAgent(transport: Transport): {
316
344
  mcpServers?: Array<string>;
317
345
  hooks?: Array<string>;
318
346
  };
319
- idleCompaction?: boolean;
320
347
  outputStyle?: string;
321
348
  } | null;
322
349
  models?: {
@@ -336,42 +363,6 @@ export declare function createAgent(transport: Transport): {
336
363
  }> | null;
337
364
  }>;
338
365
  customers: {
339
- auth: {
340
- accessTokens: {
341
- create: (options: import("./core/transport.js").CallOptions<Types.CreateCustomerAccessTokenData>) => Promise<{
342
- type: "customer_access_token";
343
- access_token: string;
344
- expires_at: string;
345
- session_expires_at: string;
346
- customer: {
347
- id: string;
348
- type: "identified" | "anonymous";
349
- };
350
- }>;
351
- deleteCurrent: (options: import("./core/transport.js").CallOptions<Types.DeleteCurrentCustomerAccessTokenData>) => Promise<void>;
352
- renew: {
353
- create: (options: import("./core/transport.js").CallOptions<Types.RenewCustomerAccessTokenData>) => Promise<{
354
- type: "customer_access_token";
355
- access_token: string;
356
- expires_at: string;
357
- session_expires_at: string;
358
- customer: {
359
- id: string;
360
- type: "identified" | "anonymous";
361
- };
362
- }>;
363
- };
364
- };
365
- grantCodes: {
366
- create: (options: import("./core/transport.js").CallOptions<Types.CreateCustomerGrantCodeData>) => Promise<{
367
- type: "customer_grant_code";
368
- code: string;
369
- customer_id: string;
370
- expires_at: string;
371
- hosted_url?: string;
372
- }>;
373
- };
374
- };
375
366
  block: {
376
367
  create: (options: import("./core/transport.js").CallOptions<Types.BlockCustomerData>) => Promise<{
377
368
  id: string;
@@ -463,6 +454,275 @@ export declare function createAgent(transport: Transport): {
463
454
  }>;
464
455
  };
465
456
  };
457
+ events: {
458
+ list: (options: import("./core/transport.js").CallOptions<Types.ListAgentEventsData>) => Promise<{
459
+ data: Array<{
460
+ id: string;
461
+ content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
462
+ type: "user.message";
463
+ processed_at?: null | string;
464
+ praxis_context?: {
465
+ items: Array<{
466
+ name: string;
467
+ value: string;
468
+ }>;
469
+ };
470
+ message_id?: string;
471
+ } | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged192 | {
472
+ id: string;
473
+ content: Array<{
474
+ text: string;
475
+ type: "text";
476
+ citations?: Array<{
477
+ type: "search_result_location";
478
+ source: string;
479
+ title: string;
480
+ cited_text: string;
481
+ search_result_index: number;
482
+ start_block_index: number;
483
+ end_block_index: number;
484
+ }>;
485
+ } | Types.AgentManaged70>;
486
+ processed_at: string;
487
+ type: "agent.message";
488
+ run_id: string | null;
489
+ message_id?: string;
490
+ } | {
491
+ id: string;
492
+ processed_at: string;
493
+ type: "agent.thinking";
494
+ run_id: string | null;
495
+ message_id?: string;
496
+ } | {
497
+ id: string;
498
+ input: Types.AgentManaged197;
499
+ mcp_server_name: string;
500
+ name: string;
501
+ processed_at: string;
502
+ type: "agent.mcp_tool_use";
503
+ evaluated_permission?: "allow" | "deny" | "ask";
504
+ evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
505
+ session_thread_id?: null | string;
506
+ permission_suggestions?: Array<{
507
+ type: "add_rules";
508
+ behavior: "allow";
509
+ destination: "agent" | "session";
510
+ rules: Array<{
511
+ tool_name: string;
512
+ rule_content: string;
513
+ }>;
514
+ }>;
515
+ full_access_available?: boolean;
516
+ user_once?: true;
517
+ guarded_rule?: string;
518
+ run_id: string | null;
519
+ _meta?: {
520
+ ui?: {
521
+ resourceUri?: string;
522
+ visibility?: Array<string>;
523
+ [key: string]: unknown;
524
+ };
525
+ "openai/ui"?: {
526
+ [key: string]: unknown;
527
+ };
528
+ };
529
+ source?: "app" | "codemode";
530
+ parent_tool_use_id?: string;
531
+ title?: string;
532
+ input_titles?: {
533
+ [key: string]: string;
534
+ };
535
+ } | {
536
+ id: string;
537
+ mcp_tool_use_id: string;
538
+ processed_at: string;
539
+ type: "agent.mcp_tool_result";
540
+ content?: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged189>;
541
+ is_error?: null | false | true;
542
+ run_id: string | null;
543
+ structured_content?: unknown;
544
+ _meta?: {
545
+ [key: string]: unknown;
546
+ };
547
+ source?: "app" | "codemode";
548
+ } | {
549
+ id: string;
550
+ input: Types.AgentManaged206;
551
+ name: string;
552
+ processed_at: string;
553
+ type: "agent.tool_use";
554
+ evaluated_permission?: "allow" | "deny" | "ask";
555
+ evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
556
+ session_thread_id?: null | string;
557
+ permission_suggestions?: Array<{
558
+ type: "add_rules";
559
+ behavior: "allow";
560
+ destination: "agent" | "session";
561
+ rules: Array<{
562
+ tool_name: string;
563
+ rule_content: string;
564
+ }>;
565
+ }>;
566
+ full_access_available?: boolean;
567
+ user_once?: true;
568
+ guarded_rule?: string;
569
+ run_id: string | null;
570
+ } | {
571
+ id: string;
572
+ processed_at: string;
573
+ tool_use_id: string;
574
+ type: "agent.tool_result";
575
+ content?: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged189>;
576
+ is_error?: null | false | true;
577
+ run_id: string | null;
578
+ } | Types.AgentManaged208 | Types.AgentManaged209 | Types.AgentManaged210 | Types.AgentManaged211 | Types.AgentManaged223 | {
579
+ id: string;
580
+ processed_at: string;
581
+ type: "session.status_running";
582
+ run_id: string | null;
583
+ } | {
584
+ id: string;
585
+ processed_at: string;
586
+ stop_reason: Types.AgentManaged226 | Types.AgentManaged227 | Types.AgentManaged228 | Types.AgentManaged229;
587
+ type: "session.status_idle";
588
+ run_id: string | null;
589
+ } | 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 | {
590
+ id: string;
591
+ processed_at: string;
592
+ type: "session.updated";
593
+ agent?: null | Types.AgentManaged170;
594
+ budget?: null | Types.AgentManaged76;
595
+ metadata?: Types.AgentManaged246;
596
+ title?: null | string;
597
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
598
+ previous_permission_mode?: string | null;
599
+ permission_mode_version?: number;
600
+ model?: {
601
+ id: string;
602
+ };
603
+ } | Types.AgentManaged247 | Types.AgentManaged248 | {
604
+ id: string;
605
+ type: "session.forked";
606
+ processed_at: string;
607
+ forked_from_session_id: string;
608
+ forked_from_message_id: string;
609
+ } | {
610
+ id: string;
611
+ type: "session.goal_changed";
612
+ processed_at: string;
613
+ action: "set" | "status_updated" | "cleared" | "usage_accounted";
614
+ source: "command" | "runtime";
615
+ goal: {
616
+ goal_id: string;
617
+ objective: string;
618
+ summary_title: string | null;
619
+ status: "active" | "paused" | "budget_limited" | "complete";
620
+ token_budget: number | null;
621
+ tokens_used: number;
622
+ time_used_seconds: number;
623
+ iteration: number;
624
+ created_at: number;
625
+ updated_at: number;
626
+ } | null;
627
+ previous_goal: {
628
+ goal_id: string;
629
+ objective: string;
630
+ summary_title: string | null;
631
+ status: "active" | "paused" | "budget_limited" | "complete";
632
+ token_budget: number | null;
633
+ tokens_used: number;
634
+ time_used_seconds: number;
635
+ iteration: number;
636
+ created_at: number;
637
+ updated_at: number;
638
+ } | null;
639
+ } | {
640
+ id: string;
641
+ type: "session.goal_verification";
642
+ processed_at: string;
643
+ status: "started" | "completed" | "failed_closed" | "cancelled";
644
+ goal_id: string;
645
+ goal_iteration: number;
646
+ verification_id: string;
647
+ anchor_message_id: string | null;
648
+ verification?: {
649
+ passed: boolean;
650
+ reason: string;
651
+ next_action?: string;
652
+ };
653
+ } | {
654
+ id: string;
655
+ type: "user.steer";
656
+ event_id: string;
657
+ processed_at: string;
658
+ } | {
659
+ id: string;
660
+ type: "user.tool_confirmation";
661
+ processed_at: string;
662
+ tool_use_id: string;
663
+ result: "allow";
664
+ answers: {
665
+ [key: string]: string;
666
+ };
667
+ annotations?: {
668
+ [key: string]: {
669
+ preview?: string;
670
+ notes?: string;
671
+ };
672
+ };
673
+ }>;
674
+ next_page: string | null;
675
+ }>;
676
+ send: (options: import("./core/transport.js").CallOptions<Types.SendAgentEventsData>) => Promise<{
677
+ data?: Array<{
678
+ id: string;
679
+ content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
680
+ type: "user.message";
681
+ processed_at?: null | string;
682
+ praxis_context?: {
683
+ items: Array<{
684
+ name: string;
685
+ value: string;
686
+ }>;
687
+ };
688
+ } | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged238 | Types.AgentManaged243 | Types.AgentManaged247 | {
689
+ id: string;
690
+ type: "user.steer";
691
+ event_id: string;
692
+ processed_at: string;
693
+ } | {
694
+ id: string;
695
+ type: "user.tool_confirmation";
696
+ processed_at: string;
697
+ tool_use_id: string;
698
+ result: "allow";
699
+ answers: {
700
+ [key: string]: string;
701
+ };
702
+ annotations?: {
703
+ [key: string]: {
704
+ preview?: string;
705
+ notes?: string;
706
+ };
707
+ };
708
+ }>;
709
+ }>;
710
+ stream: (options: import("./core/transport.js").StreamOptions<Types.StreamAgentEventsData>) => AsyncIterable<Types.AgentSseEvent>;
711
+ };
712
+ inbox: {
713
+ letters: {
714
+ list: (options: import("./core/transport.js").CallOptions<Types.ListAgentInboxLettersData>) => Promise<{
715
+ unread: number;
716
+ letters: Array<{
717
+ id: string;
718
+ sender: string;
719
+ summary: string;
720
+ thread: string | null;
721
+ create_time: string;
722
+ }>;
723
+ }>;
724
+ };
725
+ };
466
726
  list: (options?: import("./core/transport.js").CallOptions<Types.AgentsListData> | undefined) => Promise<{
467
727
  data: Array<{
468
728
  id: string;
@@ -478,6 +738,7 @@ export declare function createAgent(transport: Transport): {
478
738
  speed?: "standard" | "fast";
479
739
  settings?: {
480
740
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
741
+ max_output_tokens?: number;
481
742
  };
482
743
  };
483
744
  multiagent?: null | Types.AgentManaged39;
@@ -502,15 +763,23 @@ export declare function createAgent(transport: Transport): {
502
763
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
503
764
  id: string;
504
765
  access: "read_only" | "read_write" | "invoke";
766
+ customer_access?: "read_only" | "read_write" | "invoke";
505
767
  instructions?: string;
506
768
  readonly verified?: boolean;
507
769
  enabled?: boolean;
508
770
  } | {
509
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
771
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
510
772
  readonly verified?: boolean;
511
773
  enabled?: boolean;
512
774
  }>;
513
- kind: "general" | "personal" | "service" | "assume";
775
+ kind: "general" | "service" | "assume";
776
+ computers?: {
777
+ default: string;
778
+ allowed: Array<{
779
+ template: string;
780
+ name: string;
781
+ }>;
782
+ };
514
783
  computer_id?: string;
515
784
  subagent_model?: string | null;
516
785
  subagents?: Array<{
@@ -603,6 +872,7 @@ export declare function createAgent(transport: Transport): {
603
872
  allowManagedHooksOnly?: boolean;
604
873
  allowManagedMcpServersOnly?: boolean;
605
874
  allowManagedPermissionRulesOnly?: boolean;
875
+ idleCompaction?: boolean;
606
876
  autoMemoryEnabled?: boolean;
607
877
  disabled?: {
608
878
  subagents?: Array<string>;
@@ -611,7 +881,6 @@ export declare function createAgent(transport: Transport): {
611
881
  mcpServers?: Array<string>;
612
882
  hooks?: Array<string>;
613
883
  };
614
- idleCompaction?: boolean;
615
884
  outputStyle?: string;
616
885
  } | null;
617
886
  models?: {
@@ -646,6 +915,7 @@ export declare function createAgent(transport: Transport): {
646
915
  speed?: "standard" | "fast";
647
916
  settings?: {
648
917
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
918
+ max_output_tokens?: number;
649
919
  };
650
920
  };
651
921
  multiagent?: null | Types.AgentManaged39;
@@ -671,15 +941,23 @@ export declare function createAgent(transport: Transport): {
671
941
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
672
942
  id: string;
673
943
  access: "read_only" | "read_write" | "invoke";
944
+ customer_access?: "read_only" | "read_write" | "invoke";
674
945
  instructions?: string;
675
946
  readonly verified?: boolean;
676
947
  enabled?: boolean;
677
948
  } | {
678
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
949
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
679
950
  readonly verified?: boolean;
680
951
  enabled?: boolean;
681
952
  }>;
682
- kind: "general" | "personal" | "service" | "assume";
953
+ kind: "general" | "service" | "assume";
954
+ computers?: {
955
+ default: string;
956
+ allowed: Array<{
957
+ template: string;
958
+ name: string;
959
+ }>;
960
+ };
683
961
  computer_id?: string;
684
962
  subagent_model?: string | null;
685
963
  subagents?: Array<{
@@ -772,6 +1050,7 @@ export declare function createAgent(transport: Transport): {
772
1050
  allowManagedHooksOnly?: boolean;
773
1051
  allowManagedMcpServersOnly?: boolean;
774
1052
  allowManagedPermissionRulesOnly?: boolean;
1053
+ idleCompaction?: boolean;
775
1054
  autoMemoryEnabled?: boolean;
776
1055
  disabled?: {
777
1056
  subagents?: Array<string>;
@@ -780,7 +1059,6 @@ export declare function createAgent(transport: Transport): {
780
1059
  mcpServers?: Array<string>;
781
1060
  hooks?: Array<string>;
782
1061
  };
783
- idleCompaction?: boolean;
784
1062
  outputStyle?: string;
785
1063
  } | null;
786
1064
  models?: {
@@ -856,6 +1134,25 @@ export declare function createAgent(transport: Transport): {
856
1134
  history?: {
857
1135
  enabled?: boolean;
858
1136
  };
1137
+ uploads?: {
1138
+ enabled: boolean;
1139
+ max_file_bytes: number;
1140
+ max_files_per_session: number;
1141
+ };
1142
+ }>;
1143
+ retrieveEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.GetAgentEmbedPolicyData>) => Promise<{
1144
+ allowed_origins: Array<string>;
1145
+ allow_localhost: boolean;
1146
+ uploads: {
1147
+ enabled: boolean;
1148
+ max_file_bytes: number;
1149
+ max_files_per_session: number;
1150
+ };
1151
+ share_links: {
1152
+ enabled: boolean;
1153
+ daily_session_cap: number | null;
1154
+ daily_spend_cap_micro_usd: number | null;
1155
+ };
859
1156
  }>;
860
1157
  unarchive: {
861
1158
  create: (options: import("./core/transport.js").CallOptions<Types.UnarchiveAgentData>) => Promise<{
@@ -909,6 +1206,7 @@ export declare function createAgent(transport: Transport): {
909
1206
  speed?: "standard" | "fast";
910
1207
  settings?: {
911
1208
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1209
+ max_output_tokens?: number;
912
1210
  };
913
1211
  };
914
1212
  multiagent?: null | {
@@ -1099,15 +1397,23 @@ export declare function createAgent(transport: Transport): {
1099
1397
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1100
1398
  id: string;
1101
1399
  access: "read_only" | "read_write" | "invoke";
1400
+ customer_access?: "read_only" | "read_write" | "invoke";
1102
1401
  instructions?: string;
1103
1402
  readonly verified?: boolean;
1104
1403
  enabled?: boolean;
1105
1404
  } | {
1106
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
1405
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1107
1406
  readonly verified?: boolean;
1108
1407
  enabled?: boolean;
1109
1408
  }>;
1110
- kind: "general" | "personal" | "service" | "assume";
1409
+ kind: "general" | "service" | "assume";
1410
+ computers?: {
1411
+ default: string;
1412
+ allowed: Array<{
1413
+ template: string;
1414
+ name: string;
1415
+ }>;
1416
+ };
1111
1417
  computer_id?: string;
1112
1418
  subagent_model?: string | null;
1113
1419
  subagents?: Array<{
@@ -1200,6 +1506,7 @@ export declare function createAgent(transport: Transport): {
1200
1506
  allowManagedHooksOnly?: boolean;
1201
1507
  allowManagedMcpServersOnly?: boolean;
1202
1508
  allowManagedPermissionRulesOnly?: boolean;
1509
+ idleCompaction?: boolean;
1203
1510
  autoMemoryEnabled?: boolean;
1204
1511
  disabled?: {
1205
1512
  subagents?: Array<string>;
@@ -1208,7 +1515,6 @@ export declare function createAgent(transport: Transport): {
1208
1515
  mcpServers?: Array<string>;
1209
1516
  hooks?: Array<string>;
1210
1517
  };
1211
- idleCompaction?: boolean;
1212
1518
  outputStyle?: string;
1213
1519
  } | null;
1214
1520
  models?: {
@@ -1242,6 +1548,7 @@ export declare function createAgent(transport: Transport): {
1242
1548
  speed?: "standard" | "fast";
1243
1549
  settings?: {
1244
1550
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1551
+ max_output_tokens?: number;
1245
1552
  };
1246
1553
  };
1247
1554
  multiagent?: null | Types.AgentManaged39;
@@ -1267,15 +1574,23 @@ export declare function createAgent(transport: Transport): {
1267
1574
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1268
1575
  id: string;
1269
1576
  access: "read_only" | "read_write" | "invoke";
1577
+ customer_access?: "read_only" | "read_write" | "invoke";
1270
1578
  instructions?: string;
1271
1579
  readonly verified?: boolean;
1272
1580
  enabled?: boolean;
1273
1581
  } | {
1274
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
1582
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1275
1583
  readonly verified?: boolean;
1276
1584
  enabled?: boolean;
1277
1585
  }>;
1278
- kind: "general" | "personal" | "service" | "assume";
1586
+ kind: "general" | "service" | "assume";
1587
+ computers?: {
1588
+ default: string;
1589
+ allowed: Array<{
1590
+ template: string;
1591
+ name: string;
1592
+ }>;
1593
+ };
1279
1594
  computer_id?: string;
1280
1595
  subagent_model?: string | null;
1281
1596
  subagents?: Array<{
@@ -1368,6 +1683,7 @@ export declare function createAgent(transport: Transport): {
1368
1683
  allowManagedHooksOnly?: boolean;
1369
1684
  allowManagedMcpServersOnly?: boolean;
1370
1685
  allowManagedPermissionRulesOnly?: boolean;
1686
+ idleCompaction?: boolean;
1371
1687
  autoMemoryEnabled?: boolean;
1372
1688
  disabled?: {
1373
1689
  subagents?: Array<string>;
@@ -1376,7 +1692,6 @@ export declare function createAgent(transport: Transport): {
1376
1692
  mcpServers?: Array<string>;
1377
1693
  hooks?: Array<string>;
1378
1694
  };
1379
- idleCompaction?: boolean;
1380
1695
  outputStyle?: string;
1381
1696
  } | null;
1382
1697
  models?: {
@@ -1395,28 +1710,245 @@ export declare function createAgent(transport: Transport): {
1395
1710
  keep_coding_instructions?: boolean;
1396
1711
  }> | null;
1397
1712
  }>;
1713
+ updateEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.UpdateAgentEmbedPolicyData>) => Promise<{
1714
+ allowed_origins: Array<string>;
1715
+ allow_localhost: boolean;
1716
+ uploads: {
1717
+ enabled: boolean;
1718
+ max_file_bytes: number;
1719
+ max_files_per_session: number;
1720
+ };
1721
+ share_links: {
1722
+ enabled: boolean;
1723
+ daily_session_cap: number | null;
1724
+ daily_spend_cap_micro_usd: number | null;
1725
+ };
1726
+ }>;
1398
1727
  versions: {
1399
1728
  apply: (options: import("./core/transport.js").CallOptions<Types.ApplyAgentVersionData>) => Promise<{
1400
1729
  id: string;
1401
1730
  archived_at: null | string;
1402
1731
  created_at: string;
1403
1732
  description: null | string;
1404
- mcp_servers: Array<Types.AgentManaged36>;
1405
- metadata: Types.AgentManaged37;
1733
+ mcp_servers: Array<{
1734
+ type: "url";
1735
+ name: string;
1736
+ url: string;
1737
+ headers?: {
1738
+ [key: string]: string;
1739
+ };
1740
+ timeout_ms?: number;
1741
+ } | {
1742
+ type: "sse";
1743
+ name: string;
1744
+ url: string;
1745
+ headers?: {
1746
+ [key: string]: string;
1747
+ };
1748
+ timeout_ms?: number;
1749
+ } | {
1750
+ type: "stdio";
1751
+ name: string;
1752
+ command: string;
1753
+ args?: Array<string>;
1754
+ env?: {
1755
+ [key: string]: string;
1756
+ };
1757
+ timeout_ms?: number;
1758
+ }>;
1759
+ metadata: {
1760
+ [key: string]: string;
1761
+ };
1406
1762
  model?: {
1407
1763
  id: string;
1408
- effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
1764
+ effort?: {
1765
+ type: "low";
1766
+ } | {
1767
+ type: "medium";
1768
+ } | {
1769
+ type: "high";
1770
+ } | {
1771
+ type: "xhigh";
1772
+ } | {
1773
+ type: "max";
1774
+ };
1409
1775
  inference_geo?: string;
1410
1776
  speed?: "standard" | "fast";
1411
1777
  settings?: {
1412
1778
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1779
+ max_output_tokens?: number;
1780
+ };
1781
+ };
1782
+ multiagent?: null | {
1783
+ agents: Array<{
1784
+ id: string;
1785
+ type: "agent";
1786
+ version: number;
1787
+ } | {
1788
+ model: string;
1789
+ type: "advisor";
1790
+ }>;
1791
+ type: "coordinator";
1792
+ };
1793
+ name: string;
1794
+ skills: Array<{
1795
+ skill_id: string;
1796
+ type: "anthropic";
1797
+ version: string;
1798
+ } | {
1799
+ skill_id: string;
1800
+ type: "custom";
1801
+ version: string;
1802
+ }>;
1803
+ system: null | string;
1804
+ tools: Array<{
1805
+ configs: Array<{
1806
+ enabled: boolean;
1807
+ name: "bash";
1808
+ permission_policy: {
1809
+ type: "always_allow";
1810
+ } | {
1811
+ type: "always_ask";
1812
+ } | {
1813
+ type: "auto";
1814
+ };
1815
+ type: "bash";
1816
+ } | {
1817
+ enabled: boolean;
1818
+ name: "edit";
1819
+ permission_policy: {
1820
+ type: "always_allow";
1821
+ } | {
1822
+ type: "always_ask";
1823
+ } | {
1824
+ type: "auto";
1825
+ };
1826
+ type: "edit";
1827
+ } | {
1828
+ enabled: boolean;
1829
+ name: "read";
1830
+ permission_policy: {
1831
+ type: "always_allow";
1832
+ } | {
1833
+ type: "always_ask";
1834
+ } | {
1835
+ type: "auto";
1836
+ };
1837
+ type: "read";
1838
+ } | {
1839
+ enabled: boolean;
1840
+ name: "write";
1841
+ permission_policy: {
1842
+ type: "always_allow";
1843
+ } | {
1844
+ type: "always_ask";
1845
+ } | {
1846
+ type: "auto";
1847
+ };
1848
+ type: "write";
1849
+ } | {
1850
+ enabled: boolean;
1851
+ name: "glob";
1852
+ permission_policy: {
1853
+ type: "always_allow";
1854
+ } | {
1855
+ type: "always_ask";
1856
+ } | {
1857
+ type: "auto";
1858
+ };
1859
+ type: "glob";
1860
+ } | {
1861
+ enabled: boolean;
1862
+ name: "grep";
1863
+ permission_policy: {
1864
+ type: "always_allow";
1865
+ } | {
1866
+ type: "always_ask";
1867
+ } | {
1868
+ type: "auto";
1869
+ };
1870
+ type: "grep";
1871
+ } | {
1872
+ enabled: boolean;
1873
+ name: "web_fetch";
1874
+ permission_policy: {
1875
+ type: "always_allow";
1876
+ } | {
1877
+ type: "always_ask";
1878
+ } | {
1879
+ type: "auto";
1880
+ };
1881
+ type: "web_fetch";
1882
+ allowed_domains?: Array<string>;
1883
+ blocked_domains?: Array<string>;
1884
+ max_content_tokens?: null | number;
1885
+ } | {
1886
+ enabled: boolean;
1887
+ name: "web_search";
1888
+ permission_policy: {
1889
+ type: "always_allow";
1890
+ } | {
1891
+ type: "always_ask";
1892
+ } | {
1893
+ type: "auto";
1894
+ };
1895
+ type: "web_search";
1896
+ allowed_domains?: Array<string>;
1897
+ blocked_domains?: Array<string>;
1898
+ user_location?: null | {
1899
+ type: "approximate";
1900
+ city?: null | string;
1901
+ country?: null | string;
1902
+ region?: null | string;
1903
+ timezone?: null | string;
1904
+ };
1905
+ } | {
1906
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
1907
+ enabled: boolean;
1908
+ permission_policy: {
1909
+ type: "always_allow" | "always_ask";
1910
+ };
1911
+ }>;
1912
+ default_config: {
1913
+ enabled: boolean;
1914
+ permission_policy: {
1915
+ type: "always_allow";
1916
+ } | {
1917
+ type: "always_ask";
1918
+ } | {
1919
+ type: "auto";
1920
+ };
1921
+ };
1922
+ type: "agent_toolset_20260401";
1923
+ } | {
1924
+ type: "mcp_toolset";
1925
+ mcp_server_name: string;
1926
+ default_config?: {
1927
+ enabled?: boolean | null;
1928
+ permission_policy?: null | {
1929
+ type: "always_allow" | "always_ask";
1930
+ };
1931
+ } | null;
1932
+ configs?: Array<{
1933
+ name: string;
1934
+ enabled?: boolean | null;
1935
+ permission_policy?: null | {
1936
+ type: "always_allow" | "always_ask";
1937
+ };
1938
+ }> | null;
1939
+ } | {
1940
+ description: string;
1941
+ input_schema: {
1942
+ type: "object";
1943
+ properties?: null | {
1944
+ [key: string]: unknown;
1945
+ };
1946
+ required?: null | Array<string>;
1947
+ [key: string]: unknown;
1413
1948
  };
1414
- };
1415
- multiagent?: null | Types.AgentManaged39;
1416
- name: string;
1417
- skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
1418
- system: null | string;
1419
- tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
1949
+ name: string;
1950
+ type: "custom";
1951
+ }>;
1420
1952
  type: "agent";
1421
1953
  updated_at: string;
1422
1954
  version: number;
@@ -1435,15 +1967,23 @@ export declare function createAgent(transport: Transport): {
1435
1967
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1436
1968
  id: string;
1437
1969
  access: "read_only" | "read_write" | "invoke";
1970
+ customer_access?: "read_only" | "read_write" | "invoke";
1438
1971
  instructions?: string;
1439
1972
  readonly verified?: boolean;
1440
1973
  enabled?: boolean;
1441
1974
  } | {
1442
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
1975
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1443
1976
  readonly verified?: boolean;
1444
1977
  enabled?: boolean;
1445
1978
  }>;
1446
- kind: "general" | "personal" | "service" | "assume";
1979
+ kind: "general" | "service" | "assume";
1980
+ computers?: {
1981
+ default: string;
1982
+ allowed: Array<{
1983
+ template: string;
1984
+ name: string;
1985
+ }>;
1986
+ };
1447
1987
  computer_id?: string;
1448
1988
  subagent_model?: string | null;
1449
1989
  subagents?: Array<{
@@ -1536,6 +2076,7 @@ export declare function createAgent(transport: Transport): {
1536
2076
  allowManagedHooksOnly?: boolean;
1537
2077
  allowManagedMcpServersOnly?: boolean;
1538
2078
  allowManagedPermissionRulesOnly?: boolean;
2079
+ idleCompaction?: boolean;
1539
2080
  autoMemoryEnabled?: boolean;
1540
2081
  disabled?: {
1541
2082
  subagents?: Array<string>;
@@ -1544,7 +2085,6 @@ export declare function createAgent(transport: Transport): {
1544
2085
  mcpServers?: Array<string>;
1545
2086
  hooks?: Array<string>;
1546
2087
  };
1547
- idleCompaction?: boolean;
1548
2088
  outputStyle?: string;
1549
2089
  } | null;
1550
2090
  models?: {
@@ -1578,6 +2118,7 @@ export declare function createAgent(transport: Transport): {
1578
2118
  speed?: "standard" | "fast";
1579
2119
  settings?: {
1580
2120
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2121
+ max_output_tokens?: number;
1581
2122
  };
1582
2123
  };
1583
2124
  multiagent?: null | Types.AgentManaged39;
@@ -1603,15 +2144,23 @@ export declare function createAgent(transport: Transport): {
1603
2144
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1604
2145
  id: string;
1605
2146
  access: "read_only" | "read_write" | "invoke";
2147
+ customer_access?: "read_only" | "read_write" | "invoke";
1606
2148
  instructions?: string;
1607
2149
  readonly verified?: boolean;
1608
2150
  enabled?: boolean;
1609
2151
  } | {
1610
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
2152
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1611
2153
  readonly verified?: boolean;
1612
2154
  enabled?: boolean;
1613
2155
  }>;
1614
- kind: "general" | "personal" | "service" | "assume";
2156
+ kind: "general" | "service" | "assume";
2157
+ computers?: {
2158
+ default: string;
2159
+ allowed: Array<{
2160
+ template: string;
2161
+ name: string;
2162
+ }>;
2163
+ };
1615
2164
  computer_id?: string;
1616
2165
  subagent_model?: string | null;
1617
2166
  subagents?: Array<{
@@ -1704,6 +2253,7 @@ export declare function createAgent(transport: Transport): {
1704
2253
  allowManagedHooksOnly?: boolean;
1705
2254
  allowManagedMcpServersOnly?: boolean;
1706
2255
  allowManagedPermissionRulesOnly?: boolean;
2256
+ idleCompaction?: boolean;
1707
2257
  autoMemoryEnabled?: boolean;
1708
2258
  disabled?: {
1709
2259
  subagents?: Array<string>;
@@ -1712,7 +2262,6 @@ export declare function createAgent(transport: Transport): {
1712
2262
  mcpServers?: Array<string>;
1713
2263
  hooks?: Array<string>;
1714
2264
  };
1715
- idleCompaction?: boolean;
1716
2265
  outputStyle?: string;
1717
2266
  } | null;
1718
2267
  models?: {
@@ -1787,16 +2336,9 @@ export declare function createAgent(transport: Transport): {
1787
2336
  files: {
1788
2337
  convert: {
1789
2338
  create: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesConvertData>) => Promise<{
1790
- type: "computer";
1791
- id: string;
1792
- name: string;
1793
- sandbox_id: string | null;
1794
- machine_state: "not_started" | "provisioned";
1795
- environment_id: string | null;
1796
- status: "active" | "archived";
1797
- created_at: string;
1798
- updated_at: string;
1799
- archived_at: string | null;
2339
+ data: string;
2340
+ mime: "application/pdf";
2341
+ cached: boolean;
1800
2342
  }>;
1801
2343
  };
1802
2344
  list: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesListData>) => Promise<{
@@ -2109,57 +2651,589 @@ export declare function createAgent(transport: Transport): {
2109
2651
  target: {
2110
2652
  type: "environment" | "computer";
2111
2653
  };
2112
- }>;
2113
- };
2114
- update: (options: import("./core/transport.js").CallOptions<Types.DeploymentsUpdateData>) => Promise<{
2115
- id: string;
2116
- agent: {
2117
- id: string;
2118
- type: "agent";
2119
- version: number;
2120
- } | {
2121
- id: string;
2122
- type: "agent_with_overrides";
2123
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2124
- cwd?: string;
2125
- model?: string | {
2654
+ }>;
2655
+ };
2656
+ update: (options: import("./core/transport.js").CallOptions<Types.DeploymentsUpdateData>) => Promise<{
2657
+ id: string;
2658
+ agent: {
2659
+ id: string;
2660
+ type: "agent";
2661
+ version: number;
2662
+ } | {
2663
+ id: string;
2664
+ type: "agent_with_overrides";
2665
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2666
+ cwd?: string;
2667
+ model?: string | {
2668
+ id: string;
2669
+ effort?: null | "low" | "medium" | "high" | "xhigh" | "max" | Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
2670
+ speed?: null | "standard" | "fast";
2671
+ };
2672
+ version: number;
2673
+ };
2674
+ archived_at: null | string;
2675
+ created_at: string;
2676
+ description: null | string;
2677
+ environment_id?: string | null;
2678
+ initial_events: Array<Types.AgentManaged86 | Types.AgentManaged87 | Types.AgentManaged90>;
2679
+ metadata: Types.AgentManaged91;
2680
+ name: string;
2681
+ paused_reason: null | Types.AgentManaged92 | Types.AgentManaged93;
2682
+ resources: Array<Types.AgentManaged108 | Types.AgentManaged109 | Types.AgentManaged110>;
2683
+ schedule: null | Types.AgentManaged111;
2684
+ status: "active" | "paused";
2685
+ type: "deployment";
2686
+ updated_at: string;
2687
+ vault_ids: Array<string>;
2688
+ budget?: null | Types.AgentManaged76;
2689
+ target: {
2690
+ type: "environment" | "computer";
2691
+ };
2692
+ }>;
2693
+ };
2694
+ environments: {
2695
+ archive: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsArchiveData>) => Promise<Types.AgentManaged138>;
2696
+ create: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsCreateData>) => Promise<Types.AgentManaged138>;
2697
+ list: (options?: import("./core/transport.js").CallOptions<Types.EnvironmentsListData> | undefined) => Promise<{
2698
+ data: Array<Types.AgentManaged138>;
2699
+ next_page: string | null;
2700
+ }>;
2701
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsRetrieveData>) => Promise<Types.AgentManaged138>;
2702
+ update: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsUpdateData>) => Promise<Types.AgentManaged138>;
2703
+ };
2704
+ sessions: {
2705
+ agentVersion: {
2706
+ create: (options: import("./core/transport.js").CallOptions<Types.UpdateSessionAgentVersionData>) => Promise<{
2707
+ id: string;
2708
+ agent: {
2709
+ id: string;
2710
+ description: null | string;
2711
+ mcp_servers: Array<{
2712
+ type: "url";
2713
+ name: string;
2714
+ url: string;
2715
+ headers?: {
2716
+ [key: string]: string;
2717
+ };
2718
+ timeout_ms?: number;
2719
+ } | {
2720
+ type: "sse";
2721
+ name: string;
2722
+ url: string;
2723
+ headers?: {
2724
+ [key: string]: string;
2725
+ };
2726
+ timeout_ms?: number;
2727
+ } | {
2728
+ type: "stdio";
2729
+ name: string;
2730
+ command: string;
2731
+ args?: Array<string>;
2732
+ env?: {
2733
+ [key: string]: string;
2734
+ };
2735
+ timeout_ms?: number;
2736
+ }>;
2737
+ model: {
2738
+ id: string;
2739
+ effort?: {
2740
+ type: "low";
2741
+ } | {
2742
+ type: "medium";
2743
+ } | {
2744
+ type: "high";
2745
+ } | {
2746
+ type: "xhigh";
2747
+ } | {
2748
+ type: "max";
2749
+ };
2750
+ inference_geo?: string;
2751
+ speed?: "standard" | "fast";
2752
+ settings?: {
2753
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2754
+ max_output_tokens?: number;
2755
+ };
2756
+ };
2757
+ multiagent: null | {
2758
+ agents: Array<{
2759
+ model: string;
2760
+ type: "advisor";
2761
+ } | {
2762
+ id: string;
2763
+ description: null | string;
2764
+ mcp_servers: Array<{
2765
+ type: "url";
2766
+ name: string;
2767
+ url: string;
2768
+ headers?: {
2769
+ [key: string]: string;
2770
+ };
2771
+ timeout_ms?: number;
2772
+ } | {
2773
+ type: "sse";
2774
+ name: string;
2775
+ url: string;
2776
+ headers?: {
2777
+ [key: string]: string;
2778
+ };
2779
+ timeout_ms?: number;
2780
+ } | {
2781
+ type: "stdio";
2782
+ name: string;
2783
+ command: string;
2784
+ args?: Array<string>;
2785
+ env?: {
2786
+ [key: string]: string;
2787
+ };
2788
+ timeout_ms?: number;
2789
+ }>;
2790
+ model: {
2791
+ id: string;
2792
+ effort?: {
2793
+ type: "low";
2794
+ } | {
2795
+ type: "medium";
2796
+ } | {
2797
+ type: "high";
2798
+ } | {
2799
+ type: "xhigh";
2800
+ } | {
2801
+ type: "max";
2802
+ };
2803
+ inference_geo?: string;
2804
+ speed?: "standard" | "fast";
2805
+ };
2806
+ name: string;
2807
+ skills: Array<{
2808
+ skill_id: string;
2809
+ type: "anthropic";
2810
+ version: string;
2811
+ } | {
2812
+ skill_id: string;
2813
+ type: "custom";
2814
+ version: string;
2815
+ }>;
2816
+ system: null | string;
2817
+ tools: Array<{
2818
+ configs: Array<{
2819
+ enabled: boolean;
2820
+ name: "bash";
2821
+ permission_policy: {
2822
+ type: "always_allow";
2823
+ } | {
2824
+ type: "always_ask";
2825
+ } | {
2826
+ type: "auto";
2827
+ };
2828
+ type: "bash";
2829
+ } | {
2830
+ enabled: boolean;
2831
+ name: "edit";
2832
+ permission_policy: {
2833
+ type: "always_allow";
2834
+ } | {
2835
+ type: "always_ask";
2836
+ } | {
2837
+ type: "auto";
2838
+ };
2839
+ type: "edit";
2840
+ } | {
2841
+ enabled: boolean;
2842
+ name: "read";
2843
+ permission_policy: {
2844
+ type: "always_allow";
2845
+ } | {
2846
+ type: "always_ask";
2847
+ } | {
2848
+ type: "auto";
2849
+ };
2850
+ type: "read";
2851
+ } | {
2852
+ enabled: boolean;
2853
+ name: "write";
2854
+ permission_policy: {
2855
+ type: "always_allow";
2856
+ } | {
2857
+ type: "always_ask";
2858
+ } | {
2859
+ type: "auto";
2860
+ };
2861
+ type: "write";
2862
+ } | {
2863
+ enabled: boolean;
2864
+ name: "glob";
2865
+ permission_policy: {
2866
+ type: "always_allow";
2867
+ } | {
2868
+ type: "always_ask";
2869
+ } | {
2870
+ type: "auto";
2871
+ };
2872
+ type: "glob";
2873
+ } | {
2874
+ enabled: boolean;
2875
+ name: "grep";
2876
+ permission_policy: {
2877
+ type: "always_allow";
2878
+ } | {
2879
+ type: "always_ask";
2880
+ } | {
2881
+ type: "auto";
2882
+ };
2883
+ type: "grep";
2884
+ } | {
2885
+ enabled: boolean;
2886
+ name: "web_fetch";
2887
+ permission_policy: {
2888
+ type: "always_allow";
2889
+ } | {
2890
+ type: "always_ask";
2891
+ } | {
2892
+ type: "auto";
2893
+ };
2894
+ type: "web_fetch";
2895
+ allowed_domains?: Array<string>;
2896
+ blocked_domains?: Array<string>;
2897
+ max_content_tokens?: null | number;
2898
+ } | {
2899
+ enabled: boolean;
2900
+ name: "web_search";
2901
+ permission_policy: {
2902
+ type: "always_allow";
2903
+ } | {
2904
+ type: "always_ask";
2905
+ } | {
2906
+ type: "auto";
2907
+ };
2908
+ type: "web_search";
2909
+ allowed_domains?: Array<string>;
2910
+ blocked_domains?: Array<string>;
2911
+ user_location?: null | {
2912
+ type: "approximate";
2913
+ city?: null | string;
2914
+ country?: null | string;
2915
+ region?: null | string;
2916
+ timezone?: null | string;
2917
+ };
2918
+ } | {
2919
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
2920
+ enabled: boolean;
2921
+ permission_policy: {
2922
+ type: "always_allow" | "always_ask";
2923
+ };
2924
+ }>;
2925
+ default_config: {
2926
+ enabled: boolean;
2927
+ permission_policy: {
2928
+ type: "always_allow";
2929
+ } | {
2930
+ type: "always_ask";
2931
+ } | {
2932
+ type: "auto";
2933
+ };
2934
+ };
2935
+ type: "agent_toolset_20260401";
2936
+ } | {
2937
+ type: "mcp_toolset";
2938
+ mcp_server_name: string;
2939
+ default_config?: {
2940
+ enabled?: boolean | null;
2941
+ permission_policy?: null | {
2942
+ type: "always_allow" | "always_ask";
2943
+ };
2944
+ } | null;
2945
+ configs?: Array<{
2946
+ name: string;
2947
+ enabled?: boolean | null;
2948
+ permission_policy?: null | {
2949
+ type: "always_allow" | "always_ask";
2950
+ };
2951
+ }> | null;
2952
+ } | {
2953
+ description: string;
2954
+ input_schema: {
2955
+ type: "object";
2956
+ properties?: null | {
2957
+ [key: string]: unknown;
2958
+ };
2959
+ required?: null | Array<string>;
2960
+ [key: string]: unknown;
2961
+ };
2962
+ name: string;
2963
+ type: "custom";
2964
+ }>;
2965
+ type: "agent";
2966
+ version: number;
2967
+ }>;
2968
+ type: "coordinator";
2969
+ };
2970
+ name: string;
2971
+ skills: Array<{
2972
+ skill_id: string;
2973
+ type: "anthropic";
2974
+ version: string;
2975
+ } | {
2976
+ skill_id: string;
2977
+ type: "custom";
2978
+ version: string;
2979
+ }>;
2980
+ system: null | string;
2981
+ tools: Array<{
2982
+ configs: Array<{
2983
+ enabled: boolean;
2984
+ name: "bash";
2985
+ permission_policy: {
2986
+ type: "always_allow";
2987
+ } | {
2988
+ type: "always_ask";
2989
+ } | {
2990
+ type: "auto";
2991
+ };
2992
+ type: "bash";
2993
+ } | {
2994
+ enabled: boolean;
2995
+ name: "edit";
2996
+ permission_policy: {
2997
+ type: "always_allow";
2998
+ } | {
2999
+ type: "always_ask";
3000
+ } | {
3001
+ type: "auto";
3002
+ };
3003
+ type: "edit";
3004
+ } | {
3005
+ enabled: boolean;
3006
+ name: "read";
3007
+ permission_policy: {
3008
+ type: "always_allow";
3009
+ } | {
3010
+ type: "always_ask";
3011
+ } | {
3012
+ type: "auto";
3013
+ };
3014
+ type: "read";
3015
+ } | {
3016
+ enabled: boolean;
3017
+ name: "write";
3018
+ permission_policy: {
3019
+ type: "always_allow";
3020
+ } | {
3021
+ type: "always_ask";
3022
+ } | {
3023
+ type: "auto";
3024
+ };
3025
+ type: "write";
3026
+ } | {
3027
+ enabled: boolean;
3028
+ name: "glob";
3029
+ permission_policy: {
3030
+ type: "always_allow";
3031
+ } | {
3032
+ type: "always_ask";
3033
+ } | {
3034
+ type: "auto";
3035
+ };
3036
+ type: "glob";
3037
+ } | {
3038
+ enabled: boolean;
3039
+ name: "grep";
3040
+ permission_policy: {
3041
+ type: "always_allow";
3042
+ } | {
3043
+ type: "always_ask";
3044
+ } | {
3045
+ type: "auto";
3046
+ };
3047
+ type: "grep";
3048
+ } | {
3049
+ enabled: boolean;
3050
+ name: "web_fetch";
3051
+ permission_policy: {
3052
+ type: "always_allow";
3053
+ } | {
3054
+ type: "always_ask";
3055
+ } | {
3056
+ type: "auto";
3057
+ };
3058
+ type: "web_fetch";
3059
+ allowed_domains?: Array<string>;
3060
+ blocked_domains?: Array<string>;
3061
+ max_content_tokens?: null | number;
3062
+ } | {
3063
+ enabled: boolean;
3064
+ name: "web_search";
3065
+ permission_policy: {
3066
+ type: "always_allow";
3067
+ } | {
3068
+ type: "always_ask";
3069
+ } | {
3070
+ type: "auto";
3071
+ };
3072
+ type: "web_search";
3073
+ allowed_domains?: Array<string>;
3074
+ blocked_domains?: Array<string>;
3075
+ user_location?: null | {
3076
+ type: "approximate";
3077
+ city?: null | string;
3078
+ country?: null | string;
3079
+ region?: null | string;
3080
+ timezone?: null | string;
3081
+ };
3082
+ } | {
3083
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
3084
+ enabled: boolean;
3085
+ permission_policy: {
3086
+ type: "always_allow" | "always_ask";
3087
+ };
3088
+ }>;
3089
+ default_config: {
3090
+ enabled: boolean;
3091
+ permission_policy: {
3092
+ type: "always_allow";
3093
+ } | {
3094
+ type: "always_ask";
3095
+ } | {
3096
+ type: "auto";
3097
+ };
3098
+ };
3099
+ type: "agent_toolset_20260401";
3100
+ } | {
3101
+ type: "mcp_toolset";
3102
+ mcp_server_name: string;
3103
+ default_config?: {
3104
+ enabled?: boolean | null;
3105
+ permission_policy?: null | {
3106
+ type: "always_allow" | "always_ask";
3107
+ };
3108
+ } | null;
3109
+ configs?: Array<{
3110
+ name: string;
3111
+ enabled?: boolean | null;
3112
+ permission_policy?: null | {
3113
+ type: "always_allow" | "always_ask";
3114
+ };
3115
+ }> | null;
3116
+ } | {
3117
+ description: string;
3118
+ input_schema: {
3119
+ type: "object";
3120
+ properties?: null | {
3121
+ [key: string]: unknown;
3122
+ };
3123
+ required?: null | Array<string>;
3124
+ [key: string]: unknown;
3125
+ };
3126
+ name: string;
3127
+ type: "custom";
3128
+ }>;
3129
+ type: "agent";
3130
+ version: number;
3131
+ };
3132
+ archived_at: null | string;
3133
+ budget: null | {
3134
+ max_list_cost: {
3135
+ amount: string;
3136
+ currency: "USD";
3137
+ };
3138
+ type: "limit";
3139
+ };
3140
+ created_at: string;
3141
+ environment_id?: string;
3142
+ metadata: {
3143
+ [key: string]: string;
3144
+ };
3145
+ outcome_evaluations: Array<{
3146
+ completed_at: null | string;
3147
+ description: string;
3148
+ explanation: null | string;
3149
+ iteration: number;
3150
+ outcome_id: string;
3151
+ result: string;
3152
+ type: "outcome_evaluation";
3153
+ }>;
3154
+ resources: Array<{
3155
+ id: string;
3156
+ created_at: string;
3157
+ mount_path: string;
3158
+ type: "github_repository";
3159
+ updated_at: string;
3160
+ url: string;
3161
+ checkout?: null | {
3162
+ name: string;
3163
+ type: "branch";
3164
+ } | {
3165
+ sha: string;
3166
+ type: "commit";
3167
+ };
3168
+ } | {
3169
+ id: string;
3170
+ created_at: string;
3171
+ file_id: string;
3172
+ mount_path: string;
3173
+ type: "file";
3174
+ updated_at: string;
3175
+ } | {
3176
+ memory_store_id: string;
3177
+ type: "memory_store";
3178
+ access?: null | "read_write" | "read_only";
3179
+ description?: string;
3180
+ instructions?: null | string;
3181
+ mount_path?: null | string;
3182
+ name?: null | string;
3183
+ }>;
3184
+ stats: {
3185
+ active_seconds?: number;
3186
+ duration_seconds?: number;
3187
+ };
3188
+ status: "rescheduling" | "running" | "idle" | "terminated";
3189
+ title: null | string;
3190
+ type: "session";
3191
+ updated_at: string;
3192
+ usage: {
3193
+ active_seconds?: number;
3194
+ cache_creation?: {
3195
+ ephemeral_1h_input_tokens?: number;
3196
+ ephemeral_5m_input_tokens?: number;
3197
+ };
3198
+ cache_read_input_tokens?: number;
3199
+ input_tokens?: number;
3200
+ list_cost?: null | {
3201
+ amount: string;
3202
+ currency: "USD";
3203
+ };
3204
+ output_tokens?: number;
3205
+ server_tool_use?: null | {
3206
+ web_fetch_requests?: number;
3207
+ web_search_requests?: number;
3208
+ };
3209
+ cost_by_product?: {
3210
+ [key: string]: string;
3211
+ };
3212
+ subagent_cost_micro_usd?: number;
3213
+ };
3214
+ vault_ids: Array<string>;
3215
+ deployment_id?: null | string;
3216
+ cwd: string;
3217
+ computer_id?: string;
3218
+ model?: {
2126
3219
  id: string;
2127
- effort?: null | "low" | "medium" | "high" | "xhigh" | "max" | Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
2128
- speed?: null | "standard" | "fast";
3220
+ thinking: {
3221
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
3222
+ can_disable: boolean;
3223
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
3224
+ } | null;
2129
3225
  };
2130
- version: number;
2131
- };
2132
- archived_at: null | string;
2133
- created_at: string;
2134
- description: null | string;
2135
- environment_id?: string | null;
2136
- initial_events: Array<Types.AgentManaged86 | Types.AgentManaged87 | Types.AgentManaged90>;
2137
- metadata: Types.AgentManaged91;
2138
- name: string;
2139
- paused_reason: null | Types.AgentManaged92 | Types.AgentManaged93;
2140
- resources: Array<Types.AgentManaged108 | Types.AgentManaged109 | Types.AgentManaged110>;
2141
- schedule: null | Types.AgentManaged111;
2142
- status: "active" | "paused";
2143
- type: "deployment";
2144
- updated_at: string;
2145
- vault_ids: Array<string>;
2146
- budget?: null | Types.AgentManaged76;
2147
- target: {
2148
- type: "environment" | "computer";
2149
- };
2150
- }>;
2151
- };
2152
- environments: {
2153
- archive: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsArchiveData>) => Promise<Types.AgentManaged138>;
2154
- create: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsCreateData>) => Promise<Types.AgentManaged138>;
2155
- list: (options?: import("./core/transport.js").CallOptions<Types.EnvironmentsListData> | undefined) => Promise<{
2156
- data: Array<Types.AgentManaged138>;
2157
- next_page: string | null;
2158
- }>;
2159
- retrieve: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsRetrieveData>) => Promise<Types.AgentManaged138>;
2160
- update: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsUpdateData>) => Promise<Types.AgentManaged138>;
2161
- };
2162
- sessions: {
3226
+ thinking?: {
3227
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3228
+ } | null;
3229
+ forked_from?: {
3230
+ session_id: string;
3231
+ message_id: string;
3232
+ } | null;
3233
+ readonly external_user_id: string | null;
3234
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
3235
+ }>;
3236
+ };
2163
3237
  archive: (options: import("./core/transport.js").CallOptions<Types.SessionsArchiveData>) => Promise<{
2164
3238
  id: string;
2165
3239
  agent: {
@@ -2173,6 +3247,7 @@ export declare function createAgent(transport: Transport): {
2173
3247
  speed?: "standard" | "fast";
2174
3248
  settings?: {
2175
3249
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3250
+ max_output_tokens?: number;
2176
3251
  };
2177
3252
  };
2178
3253
  multiagent: null | Types.AgentManaged171;
@@ -2218,6 +3293,40 @@ export declare function createAgent(transport: Transport): {
2218
3293
  readonly external_user_id: string | null;
2219
3294
  readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
2220
3295
  }>;
3296
+ artifacts: {
3297
+ contentUrl: {
3298
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateSessionArtifactContentUrlData>) => Promise<{
3299
+ url: string;
3300
+ expire_time: string;
3301
+ }>;
3302
+ };
3303
+ list: (options: import("./core/transport.js").CallOptions<Types.ListSessionArtifactsData>) => Promise<{
3304
+ data: Array<{
3305
+ object: "artifact";
3306
+ id: string;
3307
+ session_id: string;
3308
+ run_id: string | null;
3309
+ name: string;
3310
+ version: number;
3311
+ parts: Array<{
3312
+ kind: "file";
3313
+ file_id: string;
3314
+ filename: string;
3315
+ mime_type: string;
3316
+ bytes: number;
3317
+ } | {
3318
+ kind: "object";
3319
+ object_type: "canvas" | "media_asset";
3320
+ object_id: string;
3321
+ href: string;
3322
+ title: string | null;
3323
+ }>;
3324
+ source_hrefs: Array<string>;
3325
+ create_time: string;
3326
+ update_time: string;
3327
+ }>;
3328
+ }>;
3329
+ };
2221
3330
  backgroundTasks: {
2222
3331
  list: (options: import("./core/transport.js").CallOptions<Types.ListSessionBackgroundTasksData>) => Promise<{
2223
3332
  data: Array<{
@@ -2300,6 +3409,7 @@ export declare function createAgent(transport: Transport): {
2300
3409
  speed?: "standard" | "fast";
2301
3410
  settings?: {
2302
3411
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3412
+ max_output_tokens?: number;
2303
3413
  };
2304
3414
  };
2305
3415
  multiagent: null | Types.AgentManaged171;
@@ -2386,7 +3496,6 @@ export declare function createAgent(transport: Transport): {
2386
3496
  run_id: string | null;
2387
3497
  message_id?: string;
2388
3498
  } | {
2389
- full_access_available?: boolean;
2390
3499
  id: string;
2391
3500
  input: Types.AgentManaged197;
2392
3501
  mcp_server_name: string;
@@ -2396,6 +3505,18 @@ export declare function createAgent(transport: Transport): {
2396
3505
  evaluated_permission?: "allow" | "deny" | "ask";
2397
3506
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2398
3507
  session_thread_id?: null | string;
3508
+ permission_suggestions?: Array<{
3509
+ type: "add_rules";
3510
+ behavior: "allow";
3511
+ destination: "agent" | "session";
3512
+ rules: Array<{
3513
+ tool_name: string;
3514
+ rule_content: string;
3515
+ }>;
3516
+ }>;
3517
+ full_access_available?: boolean;
3518
+ user_once?: true;
3519
+ guarded_rule?: string;
2399
3520
  run_id: string | null;
2400
3521
  _meta?: {
2401
3522
  ui?: {
@@ -2409,17 +3530,6 @@ export declare function createAgent(transport: Transport): {
2409
3530
  };
2410
3531
  source?: "app" | "codemode";
2411
3532
  parent_tool_use_id?: string;
2412
- user_once?: true;
2413
- guarded_rule?: string;
2414
- permission_suggestions?: Array<{
2415
- type: "add_rules";
2416
- behavior: "allow";
2417
- destination: "agent" | "session";
2418
- rules: Array<{
2419
- tool_name: string;
2420
- rule_content: string;
2421
- }>;
2422
- }>;
2423
3533
  title?: string;
2424
3534
  input_titles?: {
2425
3535
  [key: string]: string;
@@ -2438,7 +3548,6 @@ export declare function createAgent(transport: Transport): {
2438
3548
  };
2439
3549
  source?: "app" | "codemode";
2440
3550
  } | {
2441
- full_access_available?: boolean;
2442
3551
  id: string;
2443
3552
  input: Types.AgentManaged206;
2444
3553
  name: string;
@@ -2447,9 +3556,6 @@ export declare function createAgent(transport: Transport): {
2447
3556
  evaluated_permission?: "allow" | "deny" | "ask";
2448
3557
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2449
3558
  session_thread_id?: null | string;
2450
- run_id: string | null;
2451
- user_once?: true;
2452
- guarded_rule?: string;
2453
3559
  permission_suggestions?: Array<{
2454
3560
  type: "add_rules";
2455
3561
  behavior: "allow";
@@ -2459,6 +3565,10 @@ export declare function createAgent(transport: Transport): {
2459
3565
  rule_content: string;
2460
3566
  }>;
2461
3567
  }>;
3568
+ full_access_available?: boolean;
3569
+ user_once?: true;
3570
+ guarded_rule?: string;
3571
+ run_id: string | null;
2462
3572
  } | {
2463
3573
  id: string;
2464
3574
  processed_at: string;
@@ -2479,9 +3589,6 @@ export declare function createAgent(transport: Transport): {
2479
3589
  type: "session.status_idle";
2480
3590
  run_id: string | null;
2481
3591
  } | Types.AgentManaged230 | Types.AgentManaged231 | Types.AgentManaged232 | Types.AgentManaged233 | Types.AgentManaged235 | Types.AgentManaged236 | Types.AgentManaged237 | Types.AgentManaged238 | Types.AgentManaged239 | Types.AgentManaged240 | Types.AgentManaged241 | Types.AgentManaged242 | Types.AgentManaged243 | Types.AgentManaged244 | {
2482
- permission_mode_version?: number;
2483
- previous_permission_mode?: string | null;
2484
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2485
3592
  id: string;
2486
3593
  processed_at: string;
2487
3594
  type: "session.updated";
@@ -2489,6 +3596,9 @@ export declare function createAgent(transport: Transport): {
2489
3596
  budget?: null | Types.AgentManaged76;
2490
3597
  metadata?: Types.AgentManaged246;
2491
3598
  title?: null | string;
3599
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
3600
+ previous_permission_mode?: string | null;
3601
+ permission_mode_version?: number;
2492
3602
  model?: {
2493
3603
  id: string;
2494
3604
  };
@@ -2649,6 +3759,7 @@ export declare function createAgent(transport: Transport): {
2649
3759
  speed?: "standard" | "fast";
2650
3760
  settings?: {
2651
3761
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3762
+ max_output_tokens?: number;
2652
3763
  };
2653
3764
  };
2654
3765
  multiagent: null | {
@@ -3144,6 +4255,7 @@ export declare function createAgent(transport: Transport): {
3144
4255
  speed?: "standard" | "fast";
3145
4256
  settings?: {
3146
4257
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4258
+ max_output_tokens?: number;
3147
4259
  };
3148
4260
  };
3149
4261
  multiagent: null | Types.AgentManaged171;
@@ -3191,6 +4303,20 @@ export declare function createAgent(transport: Transport): {
3191
4303
  }>;
3192
4304
  next_page: string | null;
3193
4305
  }>;
4306
+ requests: {
4307
+ list: (options: import("./core/transport.js").CallOptions<Types.ListSessionRequestsData>) => Promise<{
4308
+ data: Array<{
4309
+ id: string;
4310
+ object: "request";
4311
+ kind: "question" | "approval";
4312
+ status: "pending";
4313
+ tool_name: string;
4314
+ input: unknown;
4315
+ create_time: string;
4316
+ expire_time: string | null;
4317
+ }>;
4318
+ }>;
4319
+ };
3194
4320
  resources: {
3195
4321
  create: (options: import("./core/transport.js").CallOptions<Types.SessionsResourcesAddData>) => Promise<Types.AgentManaged176>;
3196
4322
  delete: (options: import("./core/transport.js").CallOptions<RenameParameters<Types.SessionsResourcesDeleteData, {
@@ -3221,6 +4347,7 @@ export declare function createAgent(transport: Transport): {
3221
4347
  speed?: "standard" | "fast";
3222
4348
  settings?: {
3223
4349
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4350
+ max_output_tokens?: number;
3224
4351
  };
3225
4352
  };
3226
4353
  multiagent: null | Types.AgentManaged171;
@@ -3393,7 +4520,6 @@ export declare function createAgent(transport: Transport): {
3393
4520
  run_id: string | null;
3394
4521
  message_id?: string;
3395
4522
  } | {
3396
- full_access_available?: boolean;
3397
4523
  id: string;
3398
4524
  input: Types.AgentManaged197;
3399
4525
  mcp_server_name: string;
@@ -3403,6 +4529,18 @@ export declare function createAgent(transport: Transport): {
3403
4529
  evaluated_permission?: "allow" | "deny" | "ask";
3404
4530
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3405
4531
  session_thread_id?: null | string;
4532
+ permission_suggestions?: Array<{
4533
+ type: "add_rules";
4534
+ behavior: "allow";
4535
+ destination: "agent" | "session";
4536
+ rules: Array<{
4537
+ tool_name: string;
4538
+ rule_content: string;
4539
+ }>;
4540
+ }>;
4541
+ full_access_available?: boolean;
4542
+ user_once?: true;
4543
+ guarded_rule?: string;
3406
4544
  run_id: string | null;
3407
4545
  parent_tool_use_id?: string;
3408
4546
  _meta?: {
@@ -3416,17 +4554,6 @@ export declare function createAgent(transport: Transport): {
3416
4554
  };
3417
4555
  };
3418
4556
  source?: "app" | "codemode";
3419
- user_once?: true;
3420
- guarded_rule?: string;
3421
- permission_suggestions?: Array<{
3422
- type: "add_rules";
3423
- behavior: "allow";
3424
- destination: "agent" | "session";
3425
- rules: Array<{
3426
- tool_name: string;
3427
- rule_content: string;
3428
- }>;
3429
- }>;
3430
4557
  title?: string;
3431
4558
  input_titles?: {
3432
4559
  [key: string]: string;
@@ -3445,7 +4572,6 @@ export declare function createAgent(transport: Transport): {
3445
4572
  };
3446
4573
  source?: "app" | "codemode";
3447
4574
  } | {
3448
- full_access_available?: boolean;
3449
4575
  id: string;
3450
4576
  input: Types.AgentManaged206;
3451
4577
  name: string;
@@ -3454,9 +4580,6 @@ export declare function createAgent(transport: Transport): {
3454
4580
  evaluated_permission?: "allow" | "deny" | "ask";
3455
4581
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3456
4582
  session_thread_id?: null | string;
3457
- run_id: string | null;
3458
- user_once?: true;
3459
- guarded_rule?: string;
3460
4583
  permission_suggestions?: Array<{
3461
4584
  type: "add_rules";
3462
4585
  behavior: "allow";
@@ -3466,6 +4589,10 @@ export declare function createAgent(transport: Transport): {
3466
4589
  rule_content: string;
3467
4590
  }>;
3468
4591
  }>;
4592
+ full_access_available?: boolean;
4593
+ user_once?: true;
4594
+ guarded_rule?: string;
4595
+ run_id: string | null;
3469
4596
  } | {
3470
4597
  id: string;
3471
4598
  processed_at: string;
@@ -3486,9 +4613,6 @@ export declare function createAgent(transport: Transport): {
3486
4613
  type: "session.status_idle";
3487
4614
  run_id: string | null;
3488
4615
  } | Types.AgentManaged230 | Types.AgentManaged231 | Types.AgentManaged232 | Types.AgentManaged233 | Types.AgentManaged235 | Types.AgentManaged236 | Types.AgentManaged237 | Types.AgentManaged238 | Types.AgentManaged239 | Types.AgentManaged240 | Types.AgentManaged241 | Types.AgentManaged242 | Types.AgentManaged243 | Types.AgentManaged244 | {
3489
- permission_mode_version?: number;
3490
- previous_permission_mode?: string | null;
3491
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
3492
4616
  id: string;
3493
4617
  processed_at: string;
3494
4618
  type: "session.updated";
@@ -3496,6 +4620,9 @@ export declare function createAgent(transport: Transport): {
3496
4620
  budget?: null | Types.AgentManaged76;
3497
4621
  metadata?: Types.AgentManaged246;
3498
4622
  title?: null | string;
4623
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
4624
+ previous_permission_mode?: string | null;
4625
+ permission_mode_version?: number;
3499
4626
  model?: {
3500
4627
  id: string;
3501
4628
  };
@@ -3586,6 +4713,7 @@ export declare function createAgent(transport: Transport): {
3586
4713
  speed?: "standard" | "fast";
3587
4714
  settings?: {
3588
4715
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4716
+ max_output_tokens?: number;
3589
4717
  };
3590
4718
  };
3591
4719
  multiagent: null | Types.AgentManaged171;
@@ -3676,6 +4804,29 @@ export declare function createAgent(transport: Transport): {
3676
4804
  next_page: null;
3677
4805
  }>;
3678
4806
  };
4807
+ uploads: {
4808
+ contentUrl: {
4809
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadContentUrlData>) => Promise<{
4810
+ url: string;
4811
+ expires_at: string;
4812
+ }>;
4813
+ };
4814
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadData>) => Promise<{
4815
+ upload_id: string;
4816
+ expires_at: string;
4817
+ url: string;
4818
+ } | {
4819
+ upload_id: string;
4820
+ expires_at: string;
4821
+ part_size: number;
4822
+ parts: Array<{
4823
+ part_number: number;
4824
+ url: string;
4825
+ }>;
4826
+ complete_url: string;
4827
+ status_url: string;
4828
+ }>;
4829
+ };
3679
4830
  };
3680
4831
  export declare function createApplication(transport: Transport): {
3681
4832
  assets: {
@@ -3969,6 +5120,10 @@ export declare function createBrowser(transport: Transport): {
3969
5120
  tab: string;
3970
5121
  url: string;
3971
5122
  title: string;
5123
+ } | {
5124
+ type: "select";
5125
+ tab: string;
5126
+ values: Array<string>;
3972
5127
  } | {
3973
5128
  type: "tabs.list";
3974
5129
  tabs: Array<{
@@ -3995,6 +5150,11 @@ export declare function createBrowser(transport: Transport): {
3995
5150
  type: "evaluate";
3996
5151
  tab: string;
3997
5152
  value: unknown;
5153
+ } | {
5154
+ type: "set_cookie";
5155
+ tab: string;
5156
+ name: string;
5157
+ domain: string;
3998
5158
  }>;
3999
5159
  };
4000
5160
  create: (options: import("./core/transport.js").CallOptions<Types.BrowserCreateSessionData>) => Promise<Types.BrowserSessionCreateResult>;
@@ -4052,6 +5212,24 @@ export declare function createCanvas(transport: Transport): {
4052
5212
  update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCollectionData>) => Promise<Types.CanvasCollection>;
4053
5213
  };
4054
5214
  };
5215
+ export declare function createContent(transport: Transport): {
5216
+ contents: {
5217
+ archive: (options: import("./core/transport.js").CallOptions<Types.ContentArchiveContentData>) => Promise<Types.ContentContent>;
5218
+ create: (options: import("./core/transport.js").CallOptions<Types.ContentCreateContentData>) => Promise<Types.ContentContent>;
5219
+ list: (options?: import("./core/transport.js").CallOptions<Types.ContentListContentsData> | undefined) => Promise<Types.ContentContentPage>;
5220
+ publish: (options: import("./core/transport.js").CallOptions<Types.ContentPublishContentData>) => Promise<Types.ContentContent>;
5221
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetContentData>) => Promise<Types.ContentContent>;
5222
+ unpublish: (options: import("./core/transport.js").CallOptions<Types.ContentUnpublishContentData>) => Promise<Types.ContentContent>;
5223
+ update: (options: import("./core/transport.js").CallOptions<Types.ContentUpdateContentData>) => Promise<Types.ContentContent>;
5224
+ };
5225
+ playbackSessions: {
5226
+ create: (options: import("./core/transport.js").CallOptions<Types.ContentCreatePlaybackSessionData>) => Promise<Types.ContentPlaybackSession>;
5227
+ };
5228
+ versions: {
5229
+ list: (options: import("./core/transport.js").CallOptions<Types.ContentListVersionsData>) => Promise<Types.ContentContentVersionPage>;
5230
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetVersionData>) => Promise<Types.ContentContentVersion>;
5231
+ };
5232
+ };
4055
5233
  export declare function createCrm(transport: Transport): {
4056
5234
  associations: {
4057
5235
  create: (options: import("./core/transport.js").CallOptions<Types.CrmAssociationsCreateData>) => Promise<Types.CrmAssociationsLabelsBetweenObjectPair & Types.CrmWriteResult>;
@@ -4112,6 +5290,32 @@ export declare function createCrm(transport: Transport): {
4112
5290
  list: (options?: import("./core/transport.js").CallOptions<Types.CrmSchemasListData> | undefined) => Promise<Types.CrmSchemasCollectionResponseObjectSchemaNoPaging>;
4113
5291
  };
4114
5292
  };
5293
+ export declare function createCustomer(transport: Transport): {
5294
+ accessTokens: {
5295
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateAccessTokenData>) => Promise<Types.CustomerAccessToken>;
5296
+ renew: (options?: import("./core/transport.js").CallOptions<Types.CustomerRenewAccessTokenData> | undefined) => Promise<Types.CustomerAccessToken>;
5297
+ revoke: (options?: import("./core/transport.js").CallOptions<Types.CustomerRevokeCurrentTokensData> | undefined) => Promise<unknown>;
5298
+ };
5299
+ customers: {
5300
+ block: (options: import("./core/transport.js").CallOptions<Types.CustomerBlockCustomerData>) => Promise<Types.CustomerCustomer>;
5301
+ delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeleteCustomerData>) => Promise<Types.CustomerCustomerDeleted>;
5302
+ list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListCustomersData> | undefined) => Promise<Types.CustomerCustomerPage>;
5303
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetCustomerData>) => Promise<Types.CustomerCustomer>;
5304
+ revokeTokens: (options: import("./core/transport.js").CallOptions<Types.CustomerRevokeTokensData>) => Promise<Types.CustomerTokensRevoked>;
5305
+ unblock: (options: import("./core/transport.js").CallOptions<Types.CustomerUnblockCustomerData>) => Promise<Types.CustomerCustomer>;
5306
+ };
5307
+ grantCodes: {
5308
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateGrantCodeData>) => Promise<Types.CustomerGrantCode>;
5309
+ };
5310
+ publishableKeys: {
5311
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreatePublishableKeyData>) => Promise<Types.CustomerPublishableKey>;
5312
+ delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeletePublishableKeyData>) => Promise<Types.CustomerPublishableKeyDeleted>;
5313
+ list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListPublishableKeysData> | undefined) => Promise<Types.CustomerPublishableKeyPage>;
5314
+ };
5315
+ usage: {
5316
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetUsageData>) => Promise<Types.CustomerCustomerUsage>;
5317
+ };
5318
+ };
4115
5319
  export declare function createCut(transport: Transport): {
4116
5320
  exports: {
4117
5321
  cancel: (options: import("./core/transport.js").CallOptions<Types.CutCancelExportData>) => Promise<Types.CutExport>;
@@ -4210,13 +5414,25 @@ export declare function createDatabase(transport: Transport): {
4210
5414
  export declare function createDevops(transport: Transport): {
4211
5415
  changes: {
4212
5416
  abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesAbandonData>) => Promise<Types.DevopsChange>;
5417
+ gitCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGitCredentialData>) => Promise<Types.DevopsChangeGitCredential>;
4213
5418
  markLastSlice: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesMarkLastSliceData>) => Promise<Types.DevopsChange>;
5419
+ openPullRequest: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesOpenPullRequestData>) => Promise<Types.DevopsChangePullRequestOpened>;
4214
5420
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGetData>) => Promise<Types.DevopsChange>;
4215
5421
  };
5422
+ connections: {
5423
+ complete: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsCompleteData>) => Promise<Types.DevopsConnection>;
5424
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsCreateData>) => Promise<Types.DevopsConnectionStart>;
5425
+ list: (options?: import("./core/transport.js").CallOptions<Types.DevopsConnectionsListData> | undefined) => Promise<Types.DevopsConnectionPage>;
5426
+ repositories: {
5427
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsListRepositoriesData>) => Promise<Types.DevopsRepositoryPage>;
5428
+ };
5429
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsGetData>) => Promise<Types.DevopsConnection>;
5430
+ };
4216
5431
  environments: {
4217
5432
  checkpoints: {
4218
5433
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsCheckpointsListData>) => Promise<Types.DevopsCheckpointList>;
4219
5434
  };
5435
+ rollback: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsRollbackData>) => Promise<Types.DevopsPromotion>;
4220
5436
  update: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsUpdateData>) => Promise<Types.DevopsEnvironment>;
4221
5437
  };
4222
5438
  flags: {
@@ -4257,17 +5473,26 @@ export declare function createDevops(transport: Transport): {
4257
5473
  flags: {
4258
5474
  create: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsCreateData>) => Promise<Types.DevopsFlag>;
4259
5475
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsListData>) => Promise<Types.DevopsFlagPage>;
5476
+ reportCodeRefs: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsReportCodeRefsData>) => Promise<Types.DevopsFlagCodeRefsReportResult>;
4260
5477
  };
4261
5478
  list: (options?: import("./core/transport.js").CallOptions<Types.DevopsProjectsListData> | undefined) => Promise<Types.DevopsProjectPage>;
4262
5479
  promotions: {
4263
5480
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsListData>) => Promise<Types.DevopsPromotionPage>;
4264
5481
  };
5482
+ pullRequests: {
5483
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsListData>) => Promise<Types.DevopsPullRequestPage>;
5484
+ };
4265
5485
  releases: {
4266
5486
  create: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesCreateData>) => Promise<Types.DevopsRelease>;
4267
5487
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesListData>) => Promise<Types.DevopsReleasePage>;
4268
5488
  };
4269
5489
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsGetData>) => Promise<Types.DevopsProject>;
4270
5490
  retrieveTestCatalog: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCatalogGetData>) => Promise<Types.DevopsCatalogVersion>;
5491
+ retrieveTestPlan: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlanGetData>) => Promise<Types.DevopsTestPlan>;
5492
+ segments: {
5493
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsCreateData>) => Promise<Types.DevopsSegment>;
5494
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsListData>) => Promise<Types.DevopsSegmentPage>;
5495
+ };
4271
5496
  targets: {
4272
5497
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsTargetsListData>) => Promise<Types.DevopsTargetPage>;
4273
5498
  refresh: (options: import("./core/transport.js").CallOptions<Types.DevopsTargetsRefreshData>) => Promise<Types.DevopsTargetCatalog>;
@@ -4289,7 +5514,16 @@ export declare function createDevops(transport: Transport): {
4289
5514
  testSuites: {
4290
5515
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestSuitesListData>) => Promise<Types.DevopsSuitePage>;
4291
5516
  };
5517
+ units: {
5518
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsCreateData>) => Promise<Types.DevopsUnit>;
5519
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsListData>) => Promise<Types.DevopsUnitPage>;
5520
+ };
4292
5521
  update: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsUpdateData>) => Promise<Types.DevopsProject>;
5522
+ workspaces: {
5523
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesListData>) => Promise<Types.DevopsWorkspaceList>;
5524
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesGetData>) => Promise<Types.DevopsWorkspace>;
5525
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesUpdateData>) => Promise<Types.DevopsWorkspace>;
5526
+ };
4293
5527
  };
4294
5528
  promotions: {
4295
5529
  approve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsApproveData>) => Promise<Types.DevopsPromotion>;
@@ -4302,6 +5536,12 @@ export declare function createDevops(transport: Transport): {
4302
5536
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsRolloutsListData>) => Promise<Types.DevopsRolloutPage>;
4303
5537
  };
4304
5538
  };
5539
+ pullRequests: {
5540
+ merge: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsMergeData>) => Promise<Types.DevopsPullRequest>;
5541
+ recordVerdict: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRecordVerdictData>) => Promise<Types.DevopsPullRequest>;
5542
+ rerunGate: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRerunGateData>) => Promise<Types.DevopsPullRequest>;
5543
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsGetData>) => Promise<Types.DevopsPullRequest>;
5544
+ };
4305
5545
  releases: {
4306
5546
  abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesAbandonData>) => Promise<Types.DevopsRelease>;
4307
5547
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesGetData>) => Promise<Types.DevopsRelease>;
@@ -4309,6 +5549,9 @@ export declare function createDevops(transport: Transport): {
4309
5549
  rollouts: {
4310
5550
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsRolloutsGetData>) => Promise<Types.DevopsRollout>;
4311
5551
  };
5552
+ segments: {
5553
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsUpdateData>) => Promise<Types.DevopsSegment>;
5554
+ };
4312
5555
  testCases: {
4313
5556
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCasesGetData>) => Promise<Types.DevopsTestCase>;
4314
5557
  };
@@ -4326,10 +5569,24 @@ export declare function createDevops(transport: Transport): {
4326
5569
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestExecutionsGetData>) => Promise<Types.DevopsExecution>;
4327
5570
  };
4328
5571
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsGetData>) => Promise<Types.DevopsRun>;
5572
+ retryFailed: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsRetryFailedData>) => Promise<Types.DevopsRun>;
4329
5573
  };
4330
5574
  testSuites: {
4331
5575
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestSuitesGetData>) => Promise<Types.DevopsSuite>;
4332
5576
  };
5577
+ units: {
5578
+ connect: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsConnectData>) => Promise<Types.DevopsUnitConnectResult>;
5579
+ delete: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsDeleteData>) => Promise<Types.DevopsUnitDeleted>;
5580
+ exec: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsExecData>) => Promise<Types.DevopsUnitExecResult>;
5581
+ fetch: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsFetchData>) => Promise<Types.DevopsUnit>;
5582
+ push: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsPushData>) => Promise<Types.DevopsUnitPushResult>;
5583
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsGetData>) => Promise<Types.DevopsUnit>;
5584
+ start: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsStartData>) => Promise<Types.DevopsUnit>;
5585
+ stop: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsStopData>) => Promise<Types.DevopsUnit>;
5586
+ transitions: {
5587
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsTransitionsListData>) => Promise<Types.DevopsUnitTransitionPage>;
5588
+ };
5589
+ };
4333
5590
  };
4334
5591
  export declare function createFile(transport: Transport): {
4335
5592
  files: {
@@ -4420,12 +5677,19 @@ export declare function createMedia(transport: Transport): {
4420
5677
  };
4421
5678
  libraries: {
4422
5679
  assets: {
5680
+ align: {
5681
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaAlignAssetData>) => Promise<Types.MediaJob>;
5682
+ };
4423
5683
  batch: (options: import("./core/transport.js").CallOptions<Types.MediaBatchAssetsData>) => Promise<Types.MediaJob>;
4424
5684
  create: (options: import("./core/transport.js").CallOptions<Types.MediaUploadAssetData>) => Promise<Types.MediaUploadResult>;
4425
5685
  delete: (options: import("./core/transport.js").CallOptions<Types.MediaDeleteAssetData>) => Promise<Types.MediaDeleted>;
4426
5686
  frames: {
4427
5687
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateFrameUrlsData>) => Promise<Types.MediaFrameUrls>;
4428
5688
  };
5689
+ hls: {
5690
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaRequestHlsRenditionsData>) => Promise<Types.MediaHlsLadder>;
5691
+ list: (options: import("./core/transport.js").CallOptions<Types.MediaGetHlsRenditionsData>) => Promise<Types.MediaHlsLadder>;
5692
+ };
4429
5693
  import: {
4430
5694
  create: (options: import("./core/transport.js").CallOptions<Types.MediaImportAssetData>) => Promise<Types.MediaAsset>;
4431
5695
  };
@@ -4438,6 +5702,9 @@ export declare function createMedia(transport: Transport): {
4438
5702
  list: (options: import("./core/transport.js").CallOptions<Types.MediaListUnderstandingsData>) => Promise<import("./automation.js").Page<Types.MediaUnderstanding>>;
4439
5703
  };
4440
5704
  update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateAssetData>) => Promise<Types.MediaAsset>;
5705
+ versions: {
5706
+ restore: (options: import("./core/transport.js").CallOptions<Types.MediaRestoreAssetVersionData>) => Promise<Types.MediaAsset>;
5707
+ };
4441
5708
  };
4442
5709
  batches: {
4443
5710
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateBatchData>) => Promise<Types.MediaJob>;
@@ -4460,6 +5727,11 @@ export declare function createMedia(transport: Transport): {
4460
5727
  retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetJobData>) => Promise<Types.MediaJob>;
4461
5728
  };
4462
5729
  list: (options?: import("./core/transport.js").CallOptions<Types.MediaListLibrariesData> | undefined) => Promise<import("./automation.js").Page<Types.MediaLibrary>>;
5730
+ materials: {
5731
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateMaterialData>) => Promise<Types.MediaMaterial>;
5732
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetMaterialData>) => Promise<Types.MediaMaterial>;
5733
+ update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateMaterialData>) => Promise<Types.MediaMaterial>;
5734
+ };
4463
5735
  purge: {
4464
5736
  create: (options: import("./core/transport.js").CallOptions<Types.MediaPurgeLibraryData>) => Promise<Types.MediaPurgedLibrary>;
4465
5737
  };
@@ -4690,7 +5962,35 @@ export declare function createModel(transport: Transport): {
4690
5962
  countTokens: (options: import("./core/transport.js").CallOptions<Types.CountTokensData>) => Promise<Types.AnthropicMessageTokensCount>;
4691
5963
  create: import("./core/bindings.js").MixedMethod<Types.CreateMessageData, Types.AnthropicMessage, Types.PraxisSdkSsePostModelV1Messages>;
4692
5964
  };
5965
+ modelAccess: {
5966
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListModelAccessData> | undefined) => Promise<{
5967
+ items: Array<{
5968
+ model: string;
5969
+ access_required: boolean;
5970
+ granted: boolean;
5971
+ granted_by: string | null;
5972
+ granted_at: string | null;
5973
+ sell_input_price: number | null;
5974
+ sell_output_price: number | null;
5975
+ }>;
5976
+ }>;
5977
+ };
4693
5978
  models: {
5979
+ access: {
5980
+ delete: (options: import("./core/transport.js").CallOptions<Types.DisableModelAccessData>) => Promise<{
5981
+ model: string;
5982
+ revoked: true;
5983
+ }>;
5984
+ update: (options: import("./core/transport.js").CallOptions<Types.EnableModelAccessData>) => Promise<{
5985
+ model: string;
5986
+ access_required: boolean;
5987
+ granted: true;
5988
+ granted_by: string;
5989
+ granted_at: string;
5990
+ sell_input_price: number | null;
5991
+ sell_output_price: number | null;
5992
+ }>;
5993
+ };
4694
5994
  list: (options?: import("./core/transport.js").CallOptions<Types.ListModelsData> | undefined) => Promise<{
4695
5995
  object: "list";
4696
5996
  data: Array<{
@@ -4705,6 +6005,7 @@ export declare function createModel(transport: Transport): {
4705
6005
  type: "language" | "image" | "embedding" | "ocr" | "transcription" | "speech" | "video" | "reranking";
4706
6006
  supported_apis: Array<string>;
4707
6007
  tags: Array<string>;
6008
+ access_required: boolean;
4708
6009
  architecture: {
4709
6010
  modality: string;
4710
6011
  input_modalities: Array<string>;
@@ -4751,6 +6052,7 @@ export declare function createModel(transport: Transport): {
4751
6052
  type: "language" | "image" | "embedding" | "ocr" | "transcription" | "speech" | "video" | "reranking";
4752
6053
  supported_apis: Array<string>;
4753
6054
  tags: Array<string>;
6055
+ access_required: boolean;
4754
6056
  architecture: {
4755
6057
  modality: string;
4756
6058
  input_modalities: Array<string>;
@@ -4977,6 +6279,7 @@ export declare function createModel(transport: Transport): {
4977
6279
  unsigned_urls: Array<string>;
4978
6280
  usage?: {
4979
6281
  cost: number;
6282
+ billed_seconds?: number;
4980
6283
  };
4981
6284
  }>;
4982
6285
  delete: (options: import("./core/transport.js").CallOptions<Types.DeleteVideoData>) => Promise<{
@@ -5007,6 +6310,7 @@ export declare function createModel(transport: Transport): {
5007
6310
  unsigned_urls: Array<string>;
5008
6311
  usage?: {
5009
6312
  cost: number;
6313
+ billed_seconds?: number;
5010
6314
  };
5011
6315
  }>;
5012
6316
  has_more: boolean;
@@ -5035,6 +6339,7 @@ export declare function createModel(transport: Transport): {
5035
6339
  unsigned_urls: Array<string>;
5036
6340
  usage?: {
5037
6341
  cost: number;
6342
+ billed_seconds?: number;
5038
6343
  };
5039
6344
  }>;
5040
6345
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.DownloadVideoContentData>) => Promise<Blob | File>;
@@ -5072,6 +6377,23 @@ export declare function createOntology(transport: Transport): {
5072
6377
  };
5073
6378
  };
5074
6379
  export declare function createOrganization(transport: Transport): {
6380
+ actors: {
6381
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationActorsData> | undefined) => Promise<Types.OrganizationActorList>;
6382
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationActorData>) => Promise<Types.OrganizationPositionChain>;
6383
+ };
6384
+ assignments: {
6385
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationAssignmentsData> | undefined) => Promise<Types.OrganizationAssignmentList>;
6386
+ makePrimary: {
6387
+ create: (options: import("./core/transport.js").CallOptions<Types.MakePrimaryOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
6388
+ };
6389
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
6390
+ terminate: {
6391
+ create: (options: import("./core/transport.js").CallOptions<Types.TerminateOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
6392
+ };
6393
+ transfer: {
6394
+ create: (options: import("./core/transport.js").CallOptions<Types.TransferOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
6395
+ };
6396
+ };
5075
6397
  charges: {
5076
6398
  list: (options: import("./core/transport.js").CallOptions<Types.ExportOrganizationChargesData>) => Promise<{
5077
6399
  ChargePeriodStart: string;
@@ -5113,6 +6435,16 @@ export declare function createOrganization(transport: Transport): {
5113
6435
  next_page: string | null;
5114
6436
  }>;
5115
6437
  };
6438
+ departments: {
6439
+ create: (options: import("./core/transport.js").CallOptions<Types.EstablishOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
6440
+ dissolve: {
6441
+ create: (options: import("./core/transport.js").CallOptions<Types.DissolveOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
6442
+ };
6443
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationDepartmentsData> | undefined) => Promise<Types.OrganizationDepartmentList>;
6444
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
6445
+ update: (options: import("./core/transport.js").CallOptions<Types.ReorganizeOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
6446
+ updateCharter: (options: import("./core/transport.js").CallOptions<Types.AmendOrganizationDepartmentCharterData>) => Promise<Types.OrganizationDepartment>;
6447
+ };
5116
6448
  events: {
5117
6449
  list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationEventsData>) => Promise<{
5118
6450
  object: "page";
@@ -5315,6 +6647,27 @@ export declare function createOrganization(transport: Transport): {
5315
6647
  }>;
5316
6648
  }>;
5317
6649
  };
6650
+ jobs: {
6651
+ create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationJobData>) => Promise<Types.OrganizationJob>;
6652
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationJobsData> | undefined) => Promise<Types.OrganizationJobList>;
6653
+ retire: {
6654
+ create: (options: import("./core/transport.js").CallOptions<Types.RetireOrganizationJobData>) => Promise<Types.OrganizationJob>;
6655
+ };
6656
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationJobData>) => Promise<Types.OrganizationJob>;
6657
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationJobData>) => Promise<Types.OrganizationJob>;
6658
+ };
6659
+ keyResults: {
6660
+ create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
6661
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationKeyResultsData> | undefined) => Promise<Types.OrganizationKeyResultList>;
6662
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
6663
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
6664
+ };
6665
+ ladders: {
6666
+ create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
6667
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationLaddersData> | undefined) => Promise<Types.OrganizationLadderList>;
6668
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
6669
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
6670
+ };
5318
6671
  members: {
5319
6672
  list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationMembersData> | undefined) => Promise<{
5320
6673
  data: Array<{
@@ -5328,6 +6681,52 @@ export declare function createOrganization(transport: Transport): {
5328
6681
  next_page: string | null;
5329
6682
  }>;
5330
6683
  };
6684
+ objectives: {
6685
+ create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
6686
+ grade: {
6687
+ create: (options: import("./core/transport.js").CallOptions<Types.GradeOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
6688
+ };
6689
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationObjectivesData> | undefined) => Promise<Types.OrganizationObjectiveList>;
6690
+ parents: {
6691
+ update: (options: import("./core/transport.js").CallOptions<Types.AlignOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
6692
+ };
6693
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
6694
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
6695
+ };
6696
+ periods: {
6697
+ close: {
6698
+ create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
6699
+ };
6700
+ create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
6701
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPeriodsData> | undefined) => Promise<Types.OrganizationPeriodList>;
6702
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
6703
+ };
6704
+ positions: {
6705
+ close: {
6706
+ create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
6707
+ };
6708
+ create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPositionsData>) => Promise<Types.OrganizationPositionBatch>;
6709
+ designateHead: {
6710
+ create: (options: import("./core/transport.js").CallOptions<Types.DesignateOrganizationPositionHeadData>) => Promise<Types.OrganizationDepartment>;
6711
+ };
6712
+ freeze: {
6713
+ create: (options: import("./core/transport.js").CallOptions<Types.FreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
6714
+ };
6715
+ hire: {
6716
+ create: (options: import("./core/transport.js").CallOptions<Types.HireOrganizationPositionData>) => Promise<Types.OrganizationAssignment>;
6717
+ };
6718
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPositionsData> | undefined) => Promise<Types.OrganizationPositionList>;
6719
+ replaceHolder: {
6720
+ create: (options: import("./core/transport.js").CallOptions<Types.ReplaceOrganizationPositionHolderData>) => Promise<Types.OrganizationAssignment>;
6721
+ };
6722
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
6723
+ unfreeze: {
6724
+ create: (options: import("./core/transport.js").CallOptions<Types.UnfreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
6725
+ };
6726
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
6727
+ updateLevel: (options: import("./core/transport.js").CallOptions<Types.RegradeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
6728
+ updateManager: (options: import("./core/transport.js").CallOptions<Types.ReassignOrganizationPositionManagerData>) => Promise<Types.OrganizationPosition>;
6729
+ };
5331
6730
  usage: {
5332
6731
  list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationUsageData>) => Promise<{
5333
6732
  object: "page";
@@ -5351,6 +6750,42 @@ export declare function createOrganization(transport: Transport): {
5351
6750
  }>;
5352
6751
  };
5353
6752
  };
6753
+ export declare function createRegistry(transport: Transport): {
6754
+ installations: {
6755
+ delete: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsDeleteData>) => Promise<Types.RegistryDeletedInstallation>;
6756
+ update: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsUpdateData>) => Promise<Types.RegistryInstallation>;
6757
+ };
6758
+ packages: {
6759
+ installations: {
6760
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsCreateData>) => Promise<Types.RegistryInstallResult>;
6761
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsListData>) => Promise<Types.RegistryInstallationList>;
6762
+ };
6763
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesRetrieveData>) => Promise<Types.RegistryPackage>;
6764
+ versions: {
6765
+ contents: {
6766
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsContentsData>) => Promise<Types.RegistryFileEntryPage>;
6767
+ };
6768
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsCreateData>) => Promise<Types.RegistryVersion>;
6769
+ files: {
6770
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsFilesRetrieveData>) => Promise<Blob | File>;
6771
+ };
6772
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsListData>) => Promise<import("./automation.js").Page<Types.RegistryVersion>>;
6773
+ retrieveArchive: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsArchiveData>) => Promise<Blob | File>;
6774
+ withdraw: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsWithdrawData>) => Promise<Types.RegistryVersion>;
6775
+ };
6776
+ };
6777
+ repositories: {
6778
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesCreateData>) => Promise<Types.RegistryRepository>;
6779
+ delete: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesDeleteData>) => Promise<Types.RegistryDeletedRepository>;
6780
+ list: (options?: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesListData> | undefined) => Promise<import("./automation.js").Page<Types.RegistryRepository>>;
6781
+ packages: {
6782
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesPackagesCreateData>) => Promise<Types.RegistryPackage>;
6783
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesPackagesListData>) => Promise<import("./automation.js").Page<Types.RegistryPackage>>;
6784
+ };
6785
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesRetrieveData>) => Promise<Types.RegistryRepository>;
6786
+ update: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesUpdateData>) => Promise<Types.RegistryRepository>;
6787
+ };
6788
+ };
5354
6789
  export declare function createSandbox(transport: Transport): {
5355
6790
  events: {
5356
6791
  sandboxes: {
@@ -5587,6 +7022,14 @@ export declare function createSearch(transport: Transport): {
5587
7022
  }>;
5588
7023
  };
5589
7024
  };
7025
+ export declare function createShare(transport: Transport): {
7026
+ permissions: {
7027
+ create: (options: import("./core/transport.js").CallOptions<Types.ShareCreatePermissionData>) => Promise<Types.ShareSharePermission>;
7028
+ delete: (options: import("./core/transport.js").CallOptions<Types.ShareDeletePermissionData>) => Promise<void>;
7029
+ list: (options?: import("./core/transport.js").CallOptions<Types.ShareListPermissionsData> | undefined) => Promise<Types.ShareSharePermissionPage>;
7030
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ShareRetrievePermissionData>) => Promise<Types.ShareSharePermission>;
7031
+ };
7032
+ };
5590
7033
  export declare function createStudio(transport: Transport): {
5591
7034
  codexes: {
5592
7035
  create: (options: import("./core/transport.js").CallOptions<Types.StudioCodexesCreateData>) => Promise<Types.StudioCodex>;
@@ -5880,7 +7323,9 @@ export declare const resourceFactories: {
5880
7323
  automation: typeof createAutomation;
5881
7324
  browser: typeof createBrowser;
5882
7325
  canvas: typeof createCanvas;
7326
+ content: typeof createContent;
5883
7327
  crm: typeof createCrm;
7328
+ customer: typeof createCustomer;
5884
7329
  cut: typeof createCut;
5885
7330
  database: typeof createDatabase;
5886
7331
  devops: typeof createDevops;
@@ -5891,8 +7336,10 @@ export declare const resourceFactories: {
5891
7336
  model: typeof createModel;
5892
7337
  ontology: typeof createOntology;
5893
7338
  organization: typeof createOrganization;
7339
+ registry: typeof createRegistry;
5894
7340
  sandbox: typeof createSandbox;
5895
7341
  search: typeof createSearch;
7342
+ share: typeof createShare;
5896
7343
  studio: typeof createStudio;
5897
7344
  ticket: typeof createTicket;
5898
7345
  vault: typeof createVault;