@deepraxis/sdk 0.1.1-dev.4e5fc1f → 0.1.1-dev.522f44a

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;
@@ -45,14 +46,13 @@ export declare function createAgent(transport: Transport): {
45
46
  readonly verified?: boolean;
46
47
  enabled?: boolean;
47
48
  } | {
48
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
49
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
49
50
  readonly verified?: boolean;
50
51
  enabled?: boolean;
51
52
  }>;
52
- kind: "general" | "personal" | "service" | "assume";
53
+ kind: "general" | "service" | "assume";
53
54
  computer_id?: string;
54
55
  subagent_model?: string | null;
55
- image_model?: string | null;
56
56
  subagents?: Array<{
57
57
  name: string;
58
58
  description: string;
@@ -143,6 +143,7 @@ export declare function createAgent(transport: Transport): {
143
143
  allowManagedHooksOnly?: boolean;
144
144
  allowManagedMcpServersOnly?: boolean;
145
145
  allowManagedPermissionRulesOnly?: boolean;
146
+ idleCompaction?: boolean;
146
147
  autoMemoryEnabled?: boolean;
147
148
  disabled?: {
148
149
  subagents?: Array<string>;
@@ -151,7 +152,6 @@ export declare function createAgent(transport: Transport): {
151
152
  mcpServers?: Array<string>;
152
153
  hooks?: Array<string>;
153
154
  };
154
- idleCompaction?: boolean;
155
155
  outputStyle?: string;
156
156
  } | null;
157
157
  models?: {
@@ -170,6 +170,22 @@ export declare function createAgent(transport: Transport): {
170
170
  keep_coding_instructions?: boolean;
171
171
  }> | null;
172
172
  }>;
173
+ consolidations: {
174
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentConsolidationData>) => Promise<{
175
+ id: string;
176
+ session_id: string;
177
+ status: "queued" | "running" | "done" | "failed";
178
+ engram_id?: string;
179
+ error?: string;
180
+ }>;
181
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetAgentConsolidationData>) => Promise<{
182
+ id: string;
183
+ session_id: string;
184
+ status: "queued" | "running" | "done" | "failed";
185
+ engram_id?: string;
186
+ error?: string;
187
+ }>;
188
+ };
173
189
  create: (options: import("./core/transport.js").CallOptions<Types.AgentsCreateData>) => Promise<{
174
190
  id: string;
175
191
  archived_at: null | string;
@@ -184,6 +200,7 @@ export declare function createAgent(transport: Transport): {
184
200
  speed?: "standard" | "fast";
185
201
  settings?: {
186
202
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
203
+ max_output_tokens?: number;
187
204
  };
188
205
  };
189
206
  multiagent?: null | Types.AgentManaged39;
@@ -212,14 +229,20 @@ export declare function createAgent(transport: Transport): {
212
229
  readonly verified?: boolean;
213
230
  enabled?: boolean;
214
231
  } | {
215
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
232
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
216
233
  readonly verified?: boolean;
217
234
  enabled?: boolean;
218
235
  }>;
219
- kind: "general" | "personal" | "service" | "assume";
236
+ kind: "general" | "service" | "assume";
237
+ computers?: {
238
+ default: string;
239
+ allowed: Array<{
240
+ template: string;
241
+ name: string;
242
+ }>;
243
+ };
220
244
  computer_id?: string;
221
245
  subagent_model?: string | null;
222
- image_model?: string | null;
223
246
  subagents?: Array<{
224
247
  name: string;
225
248
  description: string;
@@ -310,6 +333,7 @@ export declare function createAgent(transport: Transport): {
310
333
  allowManagedHooksOnly?: boolean;
311
334
  allowManagedMcpServersOnly?: boolean;
312
335
  allowManagedPermissionRulesOnly?: boolean;
336
+ idleCompaction?: boolean;
313
337
  autoMemoryEnabled?: boolean;
314
338
  disabled?: {
315
339
  subagents?: Array<string>;
@@ -318,7 +342,6 @@ export declare function createAgent(transport: Transport): {
318
342
  mcpServers?: Array<string>;
319
343
  hooks?: Array<string>;
320
344
  };
321
- idleCompaction?: boolean;
322
345
  outputStyle?: string;
323
346
  } | null;
324
347
  models?: {
@@ -338,42 +361,6 @@ export declare function createAgent(transport: Transport): {
338
361
  }> | null;
339
362
  }>;
340
363
  customers: {
341
- auth: {
342
- accessTokens: {
343
- create: (options: import("./core/transport.js").CallOptions<Types.CreateCustomerAccessTokenData>) => Promise<{
344
- type: "customer_access_token";
345
- access_token: string;
346
- expires_at: string;
347
- session_expires_at: string;
348
- customer: {
349
- id: string;
350
- type: "identified" | "anonymous";
351
- };
352
- }>;
353
- deleteCurrent: (options: import("./core/transport.js").CallOptions<Types.DeleteCurrentCustomerAccessTokenData>) => Promise<void>;
354
- renew: {
355
- create: (options: import("./core/transport.js").CallOptions<Types.RenewCustomerAccessTokenData>) => Promise<{
356
- type: "customer_access_token";
357
- access_token: string;
358
- expires_at: string;
359
- session_expires_at: string;
360
- customer: {
361
- id: string;
362
- type: "identified" | "anonymous";
363
- };
364
- }>;
365
- };
366
- };
367
- grantCodes: {
368
- create: (options: import("./core/transport.js").CallOptions<Types.CreateCustomerGrantCodeData>) => Promise<{
369
- type: "customer_grant_code";
370
- code: string;
371
- customer_id: string;
372
- expires_at: string;
373
- hosted_url?: string;
374
- }>;
375
- };
376
- };
377
364
  block: {
378
365
  create: (options: import("./core/transport.js").CallOptions<Types.BlockCustomerData>) => Promise<{
379
366
  id: string;
@@ -465,6 +452,275 @@ export declare function createAgent(transport: Transport): {
465
452
  }>;
466
453
  };
467
454
  };
455
+ events: {
456
+ list: (options: import("./core/transport.js").CallOptions<Types.ListAgentEventsData>) => Promise<{
457
+ data: Array<{
458
+ id: string;
459
+ content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
460
+ type: "user.message";
461
+ processed_at?: null | string;
462
+ praxis_context?: {
463
+ items: Array<{
464
+ name: string;
465
+ value: string;
466
+ }>;
467
+ };
468
+ message_id?: string;
469
+ } | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged192 | {
470
+ id: string;
471
+ content: Array<{
472
+ text: string;
473
+ type: "text";
474
+ citations?: Array<{
475
+ type: "search_result_location";
476
+ source: string;
477
+ title: string;
478
+ cited_text: string;
479
+ search_result_index: number;
480
+ start_block_index: number;
481
+ end_block_index: number;
482
+ }>;
483
+ } | Types.AgentManaged70>;
484
+ processed_at: string;
485
+ type: "agent.message";
486
+ run_id: string | null;
487
+ message_id?: string;
488
+ } | {
489
+ id: string;
490
+ processed_at: string;
491
+ type: "agent.thinking";
492
+ run_id: string | null;
493
+ message_id?: string;
494
+ } | {
495
+ id: string;
496
+ input: Types.AgentManaged197;
497
+ mcp_server_name: string;
498
+ name: string;
499
+ processed_at: string;
500
+ type: "agent.mcp_tool_use";
501
+ evaluated_permission?: "allow" | "deny" | "ask";
502
+ evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
503
+ session_thread_id?: null | string;
504
+ permission_suggestions?: Array<{
505
+ type: "add_rules";
506
+ behavior: "allow";
507
+ destination: "agent" | "session";
508
+ rules: Array<{
509
+ tool_name: string;
510
+ rule_content: string;
511
+ }>;
512
+ }>;
513
+ full_access_available?: boolean;
514
+ user_once?: true;
515
+ guarded_rule?: string;
516
+ run_id: string | null;
517
+ _meta?: {
518
+ ui?: {
519
+ resourceUri?: string;
520
+ visibility?: Array<string>;
521
+ [key: string]: unknown;
522
+ };
523
+ "openai/ui"?: {
524
+ [key: string]: unknown;
525
+ };
526
+ };
527
+ source?: "app" | "codemode";
528
+ parent_tool_use_id?: string;
529
+ title?: string;
530
+ input_titles?: {
531
+ [key: string]: string;
532
+ };
533
+ } | {
534
+ id: string;
535
+ mcp_tool_use_id: string;
536
+ processed_at: string;
537
+ type: "agent.mcp_tool_result";
538
+ content?: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged189>;
539
+ is_error?: null | false | true;
540
+ run_id: string | null;
541
+ structured_content?: unknown;
542
+ _meta?: {
543
+ [key: string]: unknown;
544
+ };
545
+ source?: "app" | "codemode";
546
+ } | {
547
+ id: string;
548
+ input: Types.AgentManaged206;
549
+ name: string;
550
+ processed_at: string;
551
+ type: "agent.tool_use";
552
+ evaluated_permission?: "allow" | "deny" | "ask";
553
+ evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
554
+ session_thread_id?: null | string;
555
+ permission_suggestions?: Array<{
556
+ type: "add_rules";
557
+ behavior: "allow";
558
+ destination: "agent" | "session";
559
+ rules: Array<{
560
+ tool_name: string;
561
+ rule_content: string;
562
+ }>;
563
+ }>;
564
+ full_access_available?: boolean;
565
+ user_once?: true;
566
+ guarded_rule?: string;
567
+ run_id: string | null;
568
+ } | {
569
+ id: string;
570
+ processed_at: string;
571
+ tool_use_id: string;
572
+ type: "agent.tool_result";
573
+ content?: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged189>;
574
+ is_error?: null | false | true;
575
+ run_id: string | null;
576
+ } | Types.AgentManaged208 | Types.AgentManaged209 | Types.AgentManaged210 | Types.AgentManaged211 | Types.AgentManaged223 | {
577
+ id: string;
578
+ processed_at: string;
579
+ type: "session.status_running";
580
+ run_id: string | null;
581
+ } | {
582
+ id: string;
583
+ processed_at: string;
584
+ stop_reason: Types.AgentManaged226 | Types.AgentManaged227 | Types.AgentManaged228 | Types.AgentManaged229;
585
+ type: "session.status_idle";
586
+ run_id: string | null;
587
+ } | 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 | {
588
+ id: string;
589
+ processed_at: string;
590
+ type: "session.updated";
591
+ agent?: null | Types.AgentManaged170;
592
+ budget?: null | Types.AgentManaged76;
593
+ metadata?: Types.AgentManaged246;
594
+ title?: null | string;
595
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
596
+ previous_permission_mode?: string | null;
597
+ permission_mode_version?: number;
598
+ model?: {
599
+ id: string;
600
+ };
601
+ } | Types.AgentManaged247 | Types.AgentManaged248 | {
602
+ id: string;
603
+ type: "session.forked";
604
+ processed_at: string;
605
+ forked_from_session_id: string;
606
+ forked_from_message_id: string;
607
+ } | {
608
+ id: string;
609
+ type: "session.goal_changed";
610
+ processed_at: string;
611
+ action: "set" | "status_updated" | "cleared" | "usage_accounted";
612
+ source: "command" | "runtime";
613
+ goal: {
614
+ goal_id: string;
615
+ objective: string;
616
+ summary_title: string | null;
617
+ status: "active" | "paused" | "budget_limited" | "complete";
618
+ token_budget: number | null;
619
+ tokens_used: number;
620
+ time_used_seconds: number;
621
+ iteration: number;
622
+ created_at: number;
623
+ updated_at: number;
624
+ } | null;
625
+ previous_goal: {
626
+ goal_id: string;
627
+ objective: string;
628
+ summary_title: string | null;
629
+ status: "active" | "paused" | "budget_limited" | "complete";
630
+ token_budget: number | null;
631
+ tokens_used: number;
632
+ time_used_seconds: number;
633
+ iteration: number;
634
+ created_at: number;
635
+ updated_at: number;
636
+ } | null;
637
+ } | {
638
+ id: string;
639
+ type: "session.goal_verification";
640
+ processed_at: string;
641
+ status: "started" | "completed" | "failed_closed" | "cancelled";
642
+ goal_id: string;
643
+ goal_iteration: number;
644
+ verification_id: string;
645
+ anchor_message_id: string | null;
646
+ verification?: {
647
+ passed: boolean;
648
+ reason: string;
649
+ next_action?: string;
650
+ };
651
+ } | {
652
+ id: string;
653
+ type: "user.steer";
654
+ event_id: string;
655
+ processed_at: string;
656
+ } | {
657
+ id: string;
658
+ type: "user.tool_confirmation";
659
+ processed_at: string;
660
+ tool_use_id: string;
661
+ result: "allow";
662
+ answers: {
663
+ [key: string]: string;
664
+ };
665
+ annotations?: {
666
+ [key: string]: {
667
+ preview?: string;
668
+ notes?: string;
669
+ };
670
+ };
671
+ }>;
672
+ next_page: string | null;
673
+ }>;
674
+ send: (options: import("./core/transport.js").CallOptions<Types.SendAgentEventsData>) => Promise<{
675
+ data?: Array<{
676
+ id: string;
677
+ content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
678
+ type: "user.message";
679
+ processed_at?: null | string;
680
+ praxis_context?: {
681
+ items: Array<{
682
+ name: string;
683
+ value: string;
684
+ }>;
685
+ };
686
+ } | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged238 | Types.AgentManaged243 | Types.AgentManaged247 | {
687
+ id: string;
688
+ type: "user.steer";
689
+ event_id: string;
690
+ processed_at: string;
691
+ } | {
692
+ id: string;
693
+ type: "user.tool_confirmation";
694
+ processed_at: string;
695
+ tool_use_id: string;
696
+ result: "allow";
697
+ answers: {
698
+ [key: string]: string;
699
+ };
700
+ annotations?: {
701
+ [key: string]: {
702
+ preview?: string;
703
+ notes?: string;
704
+ };
705
+ };
706
+ }>;
707
+ }>;
708
+ stream: (options: import("./core/transport.js").StreamOptions<Types.StreamAgentEventsData>) => AsyncIterable<Types.AgentSseEvent>;
709
+ };
710
+ inbox: {
711
+ letters: {
712
+ list: (options: import("./core/transport.js").CallOptions<Types.ListAgentInboxLettersData>) => Promise<{
713
+ unread: number;
714
+ letters: Array<{
715
+ id: string;
716
+ sender: string;
717
+ summary: string;
718
+ thread: string | null;
719
+ create_time: string;
720
+ }>;
721
+ }>;
722
+ };
723
+ };
468
724
  list: (options?: import("./core/transport.js").CallOptions<Types.AgentsListData> | undefined) => Promise<{
469
725
  data: Array<{
470
726
  id: string;
@@ -480,6 +736,7 @@ export declare function createAgent(transport: Transport): {
480
736
  speed?: "standard" | "fast";
481
737
  settings?: {
482
738
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
739
+ max_output_tokens?: number;
483
740
  };
484
741
  };
485
742
  multiagent?: null | Types.AgentManaged39;
@@ -508,14 +765,20 @@ export declare function createAgent(transport: Transport): {
508
765
  readonly verified?: boolean;
509
766
  enabled?: boolean;
510
767
  } | {
511
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
768
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
512
769
  readonly verified?: boolean;
513
770
  enabled?: boolean;
514
771
  }>;
515
- kind: "general" | "personal" | "service" | "assume";
772
+ kind: "general" | "service" | "assume";
773
+ computers?: {
774
+ default: string;
775
+ allowed: Array<{
776
+ template: string;
777
+ name: string;
778
+ }>;
779
+ };
516
780
  computer_id?: string;
517
781
  subagent_model?: string | null;
518
- image_model?: string | null;
519
782
  subagents?: Array<{
520
783
  name: string;
521
784
  description: string;
@@ -606,6 +869,7 @@ export declare function createAgent(transport: Transport): {
606
869
  allowManagedHooksOnly?: boolean;
607
870
  allowManagedMcpServersOnly?: boolean;
608
871
  allowManagedPermissionRulesOnly?: boolean;
872
+ idleCompaction?: boolean;
609
873
  autoMemoryEnabled?: boolean;
610
874
  disabled?: {
611
875
  subagents?: Array<string>;
@@ -614,7 +878,6 @@ export declare function createAgent(transport: Transport): {
614
878
  mcpServers?: Array<string>;
615
879
  hooks?: Array<string>;
616
880
  };
617
- idleCompaction?: boolean;
618
881
  outputStyle?: string;
619
882
  } | null;
620
883
  models?: {
@@ -649,6 +912,7 @@ export declare function createAgent(transport: Transport): {
649
912
  speed?: "standard" | "fast";
650
913
  settings?: {
651
914
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
915
+ max_output_tokens?: number;
652
916
  };
653
917
  };
654
918
  multiagent?: null | Types.AgentManaged39;
@@ -678,14 +942,20 @@ export declare function createAgent(transport: Transport): {
678
942
  readonly verified?: boolean;
679
943
  enabled?: boolean;
680
944
  } | {
681
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
945
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
682
946
  readonly verified?: boolean;
683
947
  enabled?: boolean;
684
948
  }>;
685
- kind: "general" | "personal" | "service" | "assume";
949
+ kind: "general" | "service" | "assume";
950
+ computers?: {
951
+ default: string;
952
+ allowed: Array<{
953
+ template: string;
954
+ name: string;
955
+ }>;
956
+ };
686
957
  computer_id?: string;
687
958
  subagent_model?: string | null;
688
- image_model?: string | null;
689
959
  subagents?: Array<{
690
960
  name: string;
691
961
  description: string;
@@ -776,6 +1046,7 @@ export declare function createAgent(transport: Transport): {
776
1046
  allowManagedHooksOnly?: boolean;
777
1047
  allowManagedMcpServersOnly?: boolean;
778
1048
  allowManagedPermissionRulesOnly?: boolean;
1049
+ idleCompaction?: boolean;
779
1050
  autoMemoryEnabled?: boolean;
780
1051
  disabled?: {
781
1052
  subagents?: Array<string>;
@@ -784,7 +1055,6 @@ export declare function createAgent(transport: Transport): {
784
1055
  mcpServers?: Array<string>;
785
1056
  hooks?: Array<string>;
786
1057
  };
787
- idleCompaction?: boolean;
788
1058
  outputStyle?: string;
789
1059
  } | null;
790
1060
  models?: {
@@ -860,6 +1130,25 @@ export declare function createAgent(transport: Transport): {
860
1130
  history?: {
861
1131
  enabled?: boolean;
862
1132
  };
1133
+ uploads?: {
1134
+ enabled: boolean;
1135
+ max_file_bytes: number;
1136
+ max_files_per_session: number;
1137
+ };
1138
+ }>;
1139
+ retrieveEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.GetAgentEmbedPolicyData>) => Promise<{
1140
+ allowed_origins: Array<string>;
1141
+ allow_localhost: boolean;
1142
+ uploads: {
1143
+ enabled: boolean;
1144
+ max_file_bytes: number;
1145
+ max_files_per_session: number;
1146
+ };
1147
+ share_links: {
1148
+ enabled: boolean;
1149
+ daily_session_cap: number | null;
1150
+ daily_spend_cap_micro_usd: number | null;
1151
+ };
863
1152
  }>;
864
1153
  unarchive: {
865
1154
  create: (options: import("./core/transport.js").CallOptions<Types.UnarchiveAgentData>) => Promise<{
@@ -913,6 +1202,7 @@ export declare function createAgent(transport: Transport): {
913
1202
  speed?: "standard" | "fast";
914
1203
  settings?: {
915
1204
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1205
+ max_output_tokens?: number;
916
1206
  };
917
1207
  };
918
1208
  multiagent?: null | {
@@ -1107,14 +1397,20 @@ export declare function createAgent(transport: Transport): {
1107
1397
  readonly verified?: boolean;
1108
1398
  enabled?: boolean;
1109
1399
  } | {
1110
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
1400
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1111
1401
  readonly verified?: boolean;
1112
1402
  enabled?: boolean;
1113
1403
  }>;
1114
- kind: "general" | "personal" | "service" | "assume";
1404
+ kind: "general" | "service" | "assume";
1405
+ computers?: {
1406
+ default: string;
1407
+ allowed: Array<{
1408
+ template: string;
1409
+ name: string;
1410
+ }>;
1411
+ };
1115
1412
  computer_id?: string;
1116
1413
  subagent_model?: string | null;
1117
- image_model?: string | null;
1118
1414
  subagents?: Array<{
1119
1415
  name: string;
1120
1416
  description: string;
@@ -1205,6 +1501,7 @@ export declare function createAgent(transport: Transport): {
1205
1501
  allowManagedHooksOnly?: boolean;
1206
1502
  allowManagedMcpServersOnly?: boolean;
1207
1503
  allowManagedPermissionRulesOnly?: boolean;
1504
+ idleCompaction?: boolean;
1208
1505
  autoMemoryEnabled?: boolean;
1209
1506
  disabled?: {
1210
1507
  subagents?: Array<string>;
@@ -1213,7 +1510,6 @@ export declare function createAgent(transport: Transport): {
1213
1510
  mcpServers?: Array<string>;
1214
1511
  hooks?: Array<string>;
1215
1512
  };
1216
- idleCompaction?: boolean;
1217
1513
  outputStyle?: string;
1218
1514
  } | null;
1219
1515
  models?: {
@@ -1247,6 +1543,7 @@ export declare function createAgent(transport: Transport): {
1247
1543
  speed?: "standard" | "fast";
1248
1544
  settings?: {
1249
1545
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1546
+ max_output_tokens?: number;
1250
1547
  };
1251
1548
  };
1252
1549
  multiagent?: null | Types.AgentManaged39;
@@ -1276,14 +1573,20 @@ export declare function createAgent(transport: Transport): {
1276
1573
  readonly verified?: boolean;
1277
1574
  enabled?: boolean;
1278
1575
  } | {
1279
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
1576
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1280
1577
  readonly verified?: boolean;
1281
1578
  enabled?: boolean;
1282
1579
  }>;
1283
- kind: "general" | "personal" | "service" | "assume";
1580
+ kind: "general" | "service" | "assume";
1581
+ computers?: {
1582
+ default: string;
1583
+ allowed: Array<{
1584
+ template: string;
1585
+ name: string;
1586
+ }>;
1587
+ };
1284
1588
  computer_id?: string;
1285
1589
  subagent_model?: string | null;
1286
- image_model?: string | null;
1287
1590
  subagents?: Array<{
1288
1591
  name: string;
1289
1592
  description: string;
@@ -1374,6 +1677,7 @@ export declare function createAgent(transport: Transport): {
1374
1677
  allowManagedHooksOnly?: boolean;
1375
1678
  allowManagedMcpServersOnly?: boolean;
1376
1679
  allowManagedPermissionRulesOnly?: boolean;
1680
+ idleCompaction?: boolean;
1377
1681
  autoMemoryEnabled?: boolean;
1378
1682
  disabled?: {
1379
1683
  subagents?: Array<string>;
@@ -1382,7 +1686,6 @@ export declare function createAgent(transport: Transport): {
1382
1686
  mcpServers?: Array<string>;
1383
1687
  hooks?: Array<string>;
1384
1688
  };
1385
- idleCompaction?: boolean;
1386
1689
  outputStyle?: string;
1387
1690
  } | null;
1388
1691
  models?: {
@@ -1401,28 +1704,245 @@ export declare function createAgent(transport: Transport): {
1401
1704
  keep_coding_instructions?: boolean;
1402
1705
  }> | null;
1403
1706
  }>;
1707
+ updateEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.UpdateAgentEmbedPolicyData>) => Promise<{
1708
+ allowed_origins: Array<string>;
1709
+ allow_localhost: boolean;
1710
+ uploads: {
1711
+ enabled: boolean;
1712
+ max_file_bytes: number;
1713
+ max_files_per_session: number;
1714
+ };
1715
+ share_links: {
1716
+ enabled: boolean;
1717
+ daily_session_cap: number | null;
1718
+ daily_spend_cap_micro_usd: number | null;
1719
+ };
1720
+ }>;
1404
1721
  versions: {
1405
1722
  apply: (options: import("./core/transport.js").CallOptions<Types.ApplyAgentVersionData>) => Promise<{
1406
1723
  id: string;
1407
1724
  archived_at: null | string;
1408
1725
  created_at: string;
1409
1726
  description: null | string;
1410
- mcp_servers: Array<Types.AgentManaged36>;
1411
- metadata: Types.AgentManaged37;
1727
+ mcp_servers: Array<{
1728
+ type: "url";
1729
+ name: string;
1730
+ url: string;
1731
+ headers?: {
1732
+ [key: string]: string;
1733
+ };
1734
+ timeout_ms?: number;
1735
+ } | {
1736
+ type: "sse";
1737
+ name: string;
1738
+ url: string;
1739
+ headers?: {
1740
+ [key: string]: string;
1741
+ };
1742
+ timeout_ms?: number;
1743
+ } | {
1744
+ type: "stdio";
1745
+ name: string;
1746
+ command: string;
1747
+ args?: Array<string>;
1748
+ env?: {
1749
+ [key: string]: string;
1750
+ };
1751
+ timeout_ms?: number;
1752
+ }>;
1753
+ metadata: {
1754
+ [key: string]: string;
1755
+ };
1412
1756
  model?: {
1413
1757
  id: string;
1414
- effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
1758
+ effort?: {
1759
+ type: "low";
1760
+ } | {
1761
+ type: "medium";
1762
+ } | {
1763
+ type: "high";
1764
+ } | {
1765
+ type: "xhigh";
1766
+ } | {
1767
+ type: "max";
1768
+ };
1415
1769
  inference_geo?: string;
1416
1770
  speed?: "standard" | "fast";
1417
1771
  settings?: {
1418
1772
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1773
+ max_output_tokens?: number;
1774
+ };
1775
+ };
1776
+ multiagent?: null | {
1777
+ agents: Array<{
1778
+ id: string;
1779
+ type: "agent";
1780
+ version: number;
1781
+ } | {
1782
+ model: string;
1783
+ type: "advisor";
1784
+ }>;
1785
+ type: "coordinator";
1786
+ };
1787
+ name: string;
1788
+ skills: Array<{
1789
+ skill_id: string;
1790
+ type: "anthropic";
1791
+ version: string;
1792
+ } | {
1793
+ skill_id: string;
1794
+ type: "custom";
1795
+ version: string;
1796
+ }>;
1797
+ system: null | string;
1798
+ tools: Array<{
1799
+ configs: Array<{
1800
+ enabled: boolean;
1801
+ name: "bash";
1802
+ permission_policy: {
1803
+ type: "always_allow";
1804
+ } | {
1805
+ type: "always_ask";
1806
+ } | {
1807
+ type: "auto";
1808
+ };
1809
+ type: "bash";
1810
+ } | {
1811
+ enabled: boolean;
1812
+ name: "edit";
1813
+ permission_policy: {
1814
+ type: "always_allow";
1815
+ } | {
1816
+ type: "always_ask";
1817
+ } | {
1818
+ type: "auto";
1819
+ };
1820
+ type: "edit";
1821
+ } | {
1822
+ enabled: boolean;
1823
+ name: "read";
1824
+ permission_policy: {
1825
+ type: "always_allow";
1826
+ } | {
1827
+ type: "always_ask";
1828
+ } | {
1829
+ type: "auto";
1830
+ };
1831
+ type: "read";
1832
+ } | {
1833
+ enabled: boolean;
1834
+ name: "write";
1835
+ permission_policy: {
1836
+ type: "always_allow";
1837
+ } | {
1838
+ type: "always_ask";
1839
+ } | {
1840
+ type: "auto";
1841
+ };
1842
+ type: "write";
1843
+ } | {
1844
+ enabled: boolean;
1845
+ name: "glob";
1846
+ permission_policy: {
1847
+ type: "always_allow";
1848
+ } | {
1849
+ type: "always_ask";
1850
+ } | {
1851
+ type: "auto";
1852
+ };
1853
+ type: "glob";
1854
+ } | {
1855
+ enabled: boolean;
1856
+ name: "grep";
1857
+ permission_policy: {
1858
+ type: "always_allow";
1859
+ } | {
1860
+ type: "always_ask";
1861
+ } | {
1862
+ type: "auto";
1863
+ };
1864
+ type: "grep";
1865
+ } | {
1866
+ enabled: boolean;
1867
+ name: "web_fetch";
1868
+ permission_policy: {
1869
+ type: "always_allow";
1870
+ } | {
1871
+ type: "always_ask";
1872
+ } | {
1873
+ type: "auto";
1874
+ };
1875
+ type: "web_fetch";
1876
+ allowed_domains?: Array<string>;
1877
+ blocked_domains?: Array<string>;
1878
+ max_content_tokens?: null | number;
1879
+ } | {
1880
+ enabled: boolean;
1881
+ name: "web_search";
1882
+ permission_policy: {
1883
+ type: "always_allow";
1884
+ } | {
1885
+ type: "always_ask";
1886
+ } | {
1887
+ type: "auto";
1888
+ };
1889
+ type: "web_search";
1890
+ allowed_domains?: Array<string>;
1891
+ blocked_domains?: Array<string>;
1892
+ user_location?: null | {
1893
+ type: "approximate";
1894
+ city?: null | string;
1895
+ country?: null | string;
1896
+ region?: null | string;
1897
+ timezone?: null | string;
1898
+ };
1899
+ } | {
1900
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
1901
+ enabled: boolean;
1902
+ permission_policy: {
1903
+ type: "always_allow" | "always_ask";
1904
+ };
1905
+ }>;
1906
+ default_config: {
1907
+ enabled: boolean;
1908
+ permission_policy: {
1909
+ type: "always_allow";
1910
+ } | {
1911
+ type: "always_ask";
1912
+ } | {
1913
+ type: "auto";
1914
+ };
1915
+ };
1916
+ type: "agent_toolset_20260401";
1917
+ } | {
1918
+ type: "mcp_toolset";
1919
+ mcp_server_name: string;
1920
+ default_config?: {
1921
+ enabled?: boolean | null;
1922
+ permission_policy?: null | {
1923
+ type: "always_allow" | "always_ask";
1924
+ };
1925
+ } | null;
1926
+ configs?: Array<{
1927
+ name: string;
1928
+ enabled?: boolean | null;
1929
+ permission_policy?: null | {
1930
+ type: "always_allow" | "always_ask";
1931
+ };
1932
+ }> | null;
1933
+ } | {
1934
+ description: string;
1935
+ input_schema: {
1936
+ type: "object";
1937
+ properties?: null | {
1938
+ [key: string]: unknown;
1939
+ };
1940
+ required?: null | Array<string>;
1941
+ [key: string]: unknown;
1419
1942
  };
1420
- };
1421
- multiagent?: null | Types.AgentManaged39;
1422
- name: string;
1423
- skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
1424
- system: null | string;
1425
- tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
1943
+ name: string;
1944
+ type: "custom";
1945
+ }>;
1426
1946
  type: "agent";
1427
1947
  updated_at: string;
1428
1948
  version: number;
@@ -1445,14 +1965,20 @@ export declare function createAgent(transport: Transport): {
1445
1965
  readonly verified?: boolean;
1446
1966
  enabled?: boolean;
1447
1967
  } | {
1448
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
1968
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1449
1969
  readonly verified?: boolean;
1450
1970
  enabled?: boolean;
1451
1971
  }>;
1452
- kind: "general" | "personal" | "service" | "assume";
1972
+ kind: "general" | "service" | "assume";
1973
+ computers?: {
1974
+ default: string;
1975
+ allowed: Array<{
1976
+ template: string;
1977
+ name: string;
1978
+ }>;
1979
+ };
1453
1980
  computer_id?: string;
1454
1981
  subagent_model?: string | null;
1455
- image_model?: string | null;
1456
1982
  subagents?: Array<{
1457
1983
  name: string;
1458
1984
  description: string;
@@ -1543,6 +2069,7 @@ export declare function createAgent(transport: Transport): {
1543
2069
  allowManagedHooksOnly?: boolean;
1544
2070
  allowManagedMcpServersOnly?: boolean;
1545
2071
  allowManagedPermissionRulesOnly?: boolean;
2072
+ idleCompaction?: boolean;
1546
2073
  autoMemoryEnabled?: boolean;
1547
2074
  disabled?: {
1548
2075
  subagents?: Array<string>;
@@ -1551,7 +2078,6 @@ export declare function createAgent(transport: Transport): {
1551
2078
  mcpServers?: Array<string>;
1552
2079
  hooks?: Array<string>;
1553
2080
  };
1554
- idleCompaction?: boolean;
1555
2081
  outputStyle?: string;
1556
2082
  } | null;
1557
2083
  models?: {
@@ -1585,6 +2111,7 @@ export declare function createAgent(transport: Transport): {
1585
2111
  speed?: "standard" | "fast";
1586
2112
  settings?: {
1587
2113
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2114
+ max_output_tokens?: number;
1588
2115
  };
1589
2116
  };
1590
2117
  multiagent?: null | Types.AgentManaged39;
@@ -1614,14 +2141,20 @@ export declare function createAgent(transport: Transport): {
1614
2141
  readonly verified?: boolean;
1615
2142
  enabled?: boolean;
1616
2143
  } | {
1617
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
2144
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1618
2145
  readonly verified?: boolean;
1619
2146
  enabled?: boolean;
1620
2147
  }>;
1621
- kind: "general" | "personal" | "service" | "assume";
2148
+ kind: "general" | "service" | "assume";
2149
+ computers?: {
2150
+ default: string;
2151
+ allowed: Array<{
2152
+ template: string;
2153
+ name: string;
2154
+ }>;
2155
+ };
1622
2156
  computer_id?: string;
1623
2157
  subagent_model?: string | null;
1624
- image_model?: string | null;
1625
2158
  subagents?: Array<{
1626
2159
  name: string;
1627
2160
  description: string;
@@ -1712,6 +2245,7 @@ export declare function createAgent(transport: Transport): {
1712
2245
  allowManagedHooksOnly?: boolean;
1713
2246
  allowManagedMcpServersOnly?: boolean;
1714
2247
  allowManagedPermissionRulesOnly?: boolean;
2248
+ idleCompaction?: boolean;
1715
2249
  autoMemoryEnabled?: boolean;
1716
2250
  disabled?: {
1717
2251
  subagents?: Array<string>;
@@ -1720,7 +2254,6 @@ export declare function createAgent(transport: Transport): {
1720
2254
  mcpServers?: Array<string>;
1721
2255
  hooks?: Array<string>;
1722
2256
  };
1723
- idleCompaction?: boolean;
1724
2257
  outputStyle?: string;
1725
2258
  } | null;
1726
2259
  models?: {
@@ -1795,16 +2328,9 @@ export declare function createAgent(transport: Transport): {
1795
2328
  files: {
1796
2329
  convert: {
1797
2330
  create: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesConvertData>) => Promise<{
1798
- type: "computer";
1799
- id: string;
1800
- name: string;
1801
- sandbox_id: string | null;
1802
- machine_state: "not_started" | "provisioned";
1803
- environment_id: string | null;
1804
- status: "active" | "archived";
1805
- created_at: string;
1806
- updated_at: string;
1807
- archived_at: string | null;
2331
+ data: string;
2332
+ mime: "application/pdf";
2333
+ cached: boolean;
1808
2334
  }>;
1809
2335
  };
1810
2336
  list: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesListData>) => Promise<{
@@ -2119,55 +2645,587 @@ export declare function createAgent(transport: Transport): {
2119
2645
  };
2120
2646
  }>;
2121
2647
  };
2122
- update: (options: import("./core/transport.js").CallOptions<Types.DeploymentsUpdateData>) => Promise<{
2123
- id: string;
2124
- agent: {
2125
- id: string;
2126
- type: "agent";
2127
- version: number;
2128
- } | {
2129
- id: string;
2130
- type: "agent_with_overrides";
2131
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2132
- cwd?: string;
2133
- model?: string | {
2134
- id: string;
2135
- effort?: null | "low" | "medium" | "high" | "xhigh" | "max" | Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
2136
- speed?: null | "standard" | "fast";
2137
- };
2138
- version: number;
2139
- };
2140
- archived_at: null | string;
2141
- created_at: string;
2142
- description: null | string;
2143
- environment_id?: string | null;
2144
- initial_events: Array<Types.AgentManaged86 | Types.AgentManaged87 | Types.AgentManaged90>;
2145
- metadata: Types.AgentManaged91;
2146
- name: string;
2147
- paused_reason: null | Types.AgentManaged92 | Types.AgentManaged93;
2148
- resources: Array<Types.AgentManaged108 | Types.AgentManaged109 | Types.AgentManaged110>;
2149
- schedule: null | Types.AgentManaged111;
2150
- status: "active" | "paused";
2151
- type: "deployment";
2152
- updated_at: string;
2153
- vault_ids: Array<string>;
2154
- budget?: null | Types.AgentManaged76;
2155
- target: {
2156
- type: "environment" | "computer";
2157
- };
2158
- }>;
2159
- };
2160
- environments: {
2161
- archive: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsArchiveData>) => Promise<Types.AgentManaged138>;
2162
- create: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsCreateData>) => Promise<Types.AgentManaged138>;
2163
- list: (options?: import("./core/transport.js").CallOptions<Types.EnvironmentsListData> | undefined) => Promise<{
2164
- data: Array<Types.AgentManaged138>;
2165
- next_page: string | null;
2166
- }>;
2167
- retrieve: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsRetrieveData>) => Promise<Types.AgentManaged138>;
2168
- update: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsUpdateData>) => Promise<Types.AgentManaged138>;
2169
- };
2170
- sessions: {
2648
+ update: (options: import("./core/transport.js").CallOptions<Types.DeploymentsUpdateData>) => Promise<{
2649
+ id: string;
2650
+ agent: {
2651
+ id: string;
2652
+ type: "agent";
2653
+ version: number;
2654
+ } | {
2655
+ id: string;
2656
+ type: "agent_with_overrides";
2657
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2658
+ cwd?: string;
2659
+ model?: string | {
2660
+ id: string;
2661
+ effort?: null | "low" | "medium" | "high" | "xhigh" | "max" | Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
2662
+ speed?: null | "standard" | "fast";
2663
+ };
2664
+ version: number;
2665
+ };
2666
+ archived_at: null | string;
2667
+ created_at: string;
2668
+ description: null | string;
2669
+ environment_id?: string | null;
2670
+ initial_events: Array<Types.AgentManaged86 | Types.AgentManaged87 | Types.AgentManaged90>;
2671
+ metadata: Types.AgentManaged91;
2672
+ name: string;
2673
+ paused_reason: null | Types.AgentManaged92 | Types.AgentManaged93;
2674
+ resources: Array<Types.AgentManaged108 | Types.AgentManaged109 | Types.AgentManaged110>;
2675
+ schedule: null | Types.AgentManaged111;
2676
+ status: "active" | "paused";
2677
+ type: "deployment";
2678
+ updated_at: string;
2679
+ vault_ids: Array<string>;
2680
+ budget?: null | Types.AgentManaged76;
2681
+ target: {
2682
+ type: "environment" | "computer";
2683
+ };
2684
+ }>;
2685
+ };
2686
+ environments: {
2687
+ archive: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsArchiveData>) => Promise<Types.AgentManaged138>;
2688
+ create: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsCreateData>) => Promise<Types.AgentManaged138>;
2689
+ list: (options?: import("./core/transport.js").CallOptions<Types.EnvironmentsListData> | undefined) => Promise<{
2690
+ data: Array<Types.AgentManaged138>;
2691
+ next_page: string | null;
2692
+ }>;
2693
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsRetrieveData>) => Promise<Types.AgentManaged138>;
2694
+ update: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsUpdateData>) => Promise<Types.AgentManaged138>;
2695
+ };
2696
+ sessions: {
2697
+ agentVersion: {
2698
+ create: (options: import("./core/transport.js").CallOptions<Types.UpdateSessionAgentVersionData>) => Promise<{
2699
+ id: string;
2700
+ agent: {
2701
+ id: string;
2702
+ description: null | string;
2703
+ mcp_servers: Array<{
2704
+ type: "url";
2705
+ name: string;
2706
+ url: string;
2707
+ headers?: {
2708
+ [key: string]: string;
2709
+ };
2710
+ timeout_ms?: number;
2711
+ } | {
2712
+ type: "sse";
2713
+ name: string;
2714
+ url: string;
2715
+ headers?: {
2716
+ [key: string]: string;
2717
+ };
2718
+ timeout_ms?: number;
2719
+ } | {
2720
+ type: "stdio";
2721
+ name: string;
2722
+ command: string;
2723
+ args?: Array<string>;
2724
+ env?: {
2725
+ [key: string]: string;
2726
+ };
2727
+ timeout_ms?: number;
2728
+ }>;
2729
+ model: {
2730
+ id: string;
2731
+ effort?: {
2732
+ type: "low";
2733
+ } | {
2734
+ type: "medium";
2735
+ } | {
2736
+ type: "high";
2737
+ } | {
2738
+ type: "xhigh";
2739
+ } | {
2740
+ type: "max";
2741
+ };
2742
+ inference_geo?: string;
2743
+ speed?: "standard" | "fast";
2744
+ settings?: {
2745
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2746
+ max_output_tokens?: number;
2747
+ };
2748
+ };
2749
+ multiagent: null | {
2750
+ agents: Array<{
2751
+ model: string;
2752
+ type: "advisor";
2753
+ } | {
2754
+ id: string;
2755
+ description: null | string;
2756
+ mcp_servers: Array<{
2757
+ type: "url";
2758
+ name: string;
2759
+ url: string;
2760
+ headers?: {
2761
+ [key: string]: string;
2762
+ };
2763
+ timeout_ms?: number;
2764
+ } | {
2765
+ type: "sse";
2766
+ name: string;
2767
+ url: string;
2768
+ headers?: {
2769
+ [key: string]: string;
2770
+ };
2771
+ timeout_ms?: number;
2772
+ } | {
2773
+ type: "stdio";
2774
+ name: string;
2775
+ command: string;
2776
+ args?: Array<string>;
2777
+ env?: {
2778
+ [key: string]: string;
2779
+ };
2780
+ timeout_ms?: number;
2781
+ }>;
2782
+ model: {
2783
+ id: string;
2784
+ effort?: {
2785
+ type: "low";
2786
+ } | {
2787
+ type: "medium";
2788
+ } | {
2789
+ type: "high";
2790
+ } | {
2791
+ type: "xhigh";
2792
+ } | {
2793
+ type: "max";
2794
+ };
2795
+ inference_geo?: string;
2796
+ speed?: "standard" | "fast";
2797
+ };
2798
+ name: string;
2799
+ skills: Array<{
2800
+ skill_id: string;
2801
+ type: "anthropic";
2802
+ version: string;
2803
+ } | {
2804
+ skill_id: string;
2805
+ type: "custom";
2806
+ version: string;
2807
+ }>;
2808
+ system: null | string;
2809
+ tools: Array<{
2810
+ configs: Array<{
2811
+ enabled: boolean;
2812
+ name: "bash";
2813
+ permission_policy: {
2814
+ type: "always_allow";
2815
+ } | {
2816
+ type: "always_ask";
2817
+ } | {
2818
+ type: "auto";
2819
+ };
2820
+ type: "bash";
2821
+ } | {
2822
+ enabled: boolean;
2823
+ name: "edit";
2824
+ permission_policy: {
2825
+ type: "always_allow";
2826
+ } | {
2827
+ type: "always_ask";
2828
+ } | {
2829
+ type: "auto";
2830
+ };
2831
+ type: "edit";
2832
+ } | {
2833
+ enabled: boolean;
2834
+ name: "read";
2835
+ permission_policy: {
2836
+ type: "always_allow";
2837
+ } | {
2838
+ type: "always_ask";
2839
+ } | {
2840
+ type: "auto";
2841
+ };
2842
+ type: "read";
2843
+ } | {
2844
+ enabled: boolean;
2845
+ name: "write";
2846
+ permission_policy: {
2847
+ type: "always_allow";
2848
+ } | {
2849
+ type: "always_ask";
2850
+ } | {
2851
+ type: "auto";
2852
+ };
2853
+ type: "write";
2854
+ } | {
2855
+ enabled: boolean;
2856
+ name: "glob";
2857
+ permission_policy: {
2858
+ type: "always_allow";
2859
+ } | {
2860
+ type: "always_ask";
2861
+ } | {
2862
+ type: "auto";
2863
+ };
2864
+ type: "glob";
2865
+ } | {
2866
+ enabled: boolean;
2867
+ name: "grep";
2868
+ permission_policy: {
2869
+ type: "always_allow";
2870
+ } | {
2871
+ type: "always_ask";
2872
+ } | {
2873
+ type: "auto";
2874
+ };
2875
+ type: "grep";
2876
+ } | {
2877
+ enabled: boolean;
2878
+ name: "web_fetch";
2879
+ permission_policy: {
2880
+ type: "always_allow";
2881
+ } | {
2882
+ type: "always_ask";
2883
+ } | {
2884
+ type: "auto";
2885
+ };
2886
+ type: "web_fetch";
2887
+ allowed_domains?: Array<string>;
2888
+ blocked_domains?: Array<string>;
2889
+ max_content_tokens?: null | number;
2890
+ } | {
2891
+ enabled: boolean;
2892
+ name: "web_search";
2893
+ permission_policy: {
2894
+ type: "always_allow";
2895
+ } | {
2896
+ type: "always_ask";
2897
+ } | {
2898
+ type: "auto";
2899
+ };
2900
+ type: "web_search";
2901
+ allowed_domains?: Array<string>;
2902
+ blocked_domains?: Array<string>;
2903
+ user_location?: null | {
2904
+ type: "approximate";
2905
+ city?: null | string;
2906
+ country?: null | string;
2907
+ region?: null | string;
2908
+ timezone?: null | string;
2909
+ };
2910
+ } | {
2911
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
2912
+ enabled: boolean;
2913
+ permission_policy: {
2914
+ type: "always_allow" | "always_ask";
2915
+ };
2916
+ }>;
2917
+ default_config: {
2918
+ enabled: boolean;
2919
+ permission_policy: {
2920
+ type: "always_allow";
2921
+ } | {
2922
+ type: "always_ask";
2923
+ } | {
2924
+ type: "auto";
2925
+ };
2926
+ };
2927
+ type: "agent_toolset_20260401";
2928
+ } | {
2929
+ type: "mcp_toolset";
2930
+ mcp_server_name: string;
2931
+ default_config?: {
2932
+ enabled?: boolean | null;
2933
+ permission_policy?: null | {
2934
+ type: "always_allow" | "always_ask";
2935
+ };
2936
+ } | null;
2937
+ configs?: Array<{
2938
+ name: string;
2939
+ enabled?: boolean | null;
2940
+ permission_policy?: null | {
2941
+ type: "always_allow" | "always_ask";
2942
+ };
2943
+ }> | null;
2944
+ } | {
2945
+ description: string;
2946
+ input_schema: {
2947
+ type: "object";
2948
+ properties?: null | {
2949
+ [key: string]: unknown;
2950
+ };
2951
+ required?: null | Array<string>;
2952
+ [key: string]: unknown;
2953
+ };
2954
+ name: string;
2955
+ type: "custom";
2956
+ }>;
2957
+ type: "agent";
2958
+ version: number;
2959
+ }>;
2960
+ type: "coordinator";
2961
+ };
2962
+ name: string;
2963
+ skills: Array<{
2964
+ skill_id: string;
2965
+ type: "anthropic";
2966
+ version: string;
2967
+ } | {
2968
+ skill_id: string;
2969
+ type: "custom";
2970
+ version: string;
2971
+ }>;
2972
+ system: null | string;
2973
+ tools: Array<{
2974
+ configs: Array<{
2975
+ enabled: boolean;
2976
+ name: "bash";
2977
+ permission_policy: {
2978
+ type: "always_allow";
2979
+ } | {
2980
+ type: "always_ask";
2981
+ } | {
2982
+ type: "auto";
2983
+ };
2984
+ type: "bash";
2985
+ } | {
2986
+ enabled: boolean;
2987
+ name: "edit";
2988
+ permission_policy: {
2989
+ type: "always_allow";
2990
+ } | {
2991
+ type: "always_ask";
2992
+ } | {
2993
+ type: "auto";
2994
+ };
2995
+ type: "edit";
2996
+ } | {
2997
+ enabled: boolean;
2998
+ name: "read";
2999
+ permission_policy: {
3000
+ type: "always_allow";
3001
+ } | {
3002
+ type: "always_ask";
3003
+ } | {
3004
+ type: "auto";
3005
+ };
3006
+ type: "read";
3007
+ } | {
3008
+ enabled: boolean;
3009
+ name: "write";
3010
+ permission_policy: {
3011
+ type: "always_allow";
3012
+ } | {
3013
+ type: "always_ask";
3014
+ } | {
3015
+ type: "auto";
3016
+ };
3017
+ type: "write";
3018
+ } | {
3019
+ enabled: boolean;
3020
+ name: "glob";
3021
+ permission_policy: {
3022
+ type: "always_allow";
3023
+ } | {
3024
+ type: "always_ask";
3025
+ } | {
3026
+ type: "auto";
3027
+ };
3028
+ type: "glob";
3029
+ } | {
3030
+ enabled: boolean;
3031
+ name: "grep";
3032
+ permission_policy: {
3033
+ type: "always_allow";
3034
+ } | {
3035
+ type: "always_ask";
3036
+ } | {
3037
+ type: "auto";
3038
+ };
3039
+ type: "grep";
3040
+ } | {
3041
+ enabled: boolean;
3042
+ name: "web_fetch";
3043
+ permission_policy: {
3044
+ type: "always_allow";
3045
+ } | {
3046
+ type: "always_ask";
3047
+ } | {
3048
+ type: "auto";
3049
+ };
3050
+ type: "web_fetch";
3051
+ allowed_domains?: Array<string>;
3052
+ blocked_domains?: Array<string>;
3053
+ max_content_tokens?: null | number;
3054
+ } | {
3055
+ enabled: boolean;
3056
+ name: "web_search";
3057
+ permission_policy: {
3058
+ type: "always_allow";
3059
+ } | {
3060
+ type: "always_ask";
3061
+ } | {
3062
+ type: "auto";
3063
+ };
3064
+ type: "web_search";
3065
+ allowed_domains?: Array<string>;
3066
+ blocked_domains?: Array<string>;
3067
+ user_location?: null | {
3068
+ type: "approximate";
3069
+ city?: null | string;
3070
+ country?: null | string;
3071
+ region?: null | string;
3072
+ timezone?: null | string;
3073
+ };
3074
+ } | {
3075
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
3076
+ enabled: boolean;
3077
+ permission_policy: {
3078
+ type: "always_allow" | "always_ask";
3079
+ };
3080
+ }>;
3081
+ default_config: {
3082
+ enabled: boolean;
3083
+ permission_policy: {
3084
+ type: "always_allow";
3085
+ } | {
3086
+ type: "always_ask";
3087
+ } | {
3088
+ type: "auto";
3089
+ };
3090
+ };
3091
+ type: "agent_toolset_20260401";
3092
+ } | {
3093
+ type: "mcp_toolset";
3094
+ mcp_server_name: string;
3095
+ default_config?: {
3096
+ enabled?: boolean | null;
3097
+ permission_policy?: null | {
3098
+ type: "always_allow" | "always_ask";
3099
+ };
3100
+ } | null;
3101
+ configs?: Array<{
3102
+ name: string;
3103
+ enabled?: boolean | null;
3104
+ permission_policy?: null | {
3105
+ type: "always_allow" | "always_ask";
3106
+ };
3107
+ }> | null;
3108
+ } | {
3109
+ description: string;
3110
+ input_schema: {
3111
+ type: "object";
3112
+ properties?: null | {
3113
+ [key: string]: unknown;
3114
+ };
3115
+ required?: null | Array<string>;
3116
+ [key: string]: unknown;
3117
+ };
3118
+ name: string;
3119
+ type: "custom";
3120
+ }>;
3121
+ type: "agent";
3122
+ version: number;
3123
+ };
3124
+ archived_at: null | string;
3125
+ budget: null | {
3126
+ max_list_cost: {
3127
+ amount: string;
3128
+ currency: "USD";
3129
+ };
3130
+ type: "limit";
3131
+ };
3132
+ created_at: string;
3133
+ environment_id?: string;
3134
+ metadata: {
3135
+ [key: string]: string;
3136
+ };
3137
+ outcome_evaluations: Array<{
3138
+ completed_at: null | string;
3139
+ description: string;
3140
+ explanation: null | string;
3141
+ iteration: number;
3142
+ outcome_id: string;
3143
+ result: string;
3144
+ type: "outcome_evaluation";
3145
+ }>;
3146
+ resources: Array<{
3147
+ id: string;
3148
+ created_at: string;
3149
+ mount_path: string;
3150
+ type: "github_repository";
3151
+ updated_at: string;
3152
+ url: string;
3153
+ checkout?: null | {
3154
+ name: string;
3155
+ type: "branch";
3156
+ } | {
3157
+ sha: string;
3158
+ type: "commit";
3159
+ };
3160
+ } | {
3161
+ id: string;
3162
+ created_at: string;
3163
+ file_id: string;
3164
+ mount_path: string;
3165
+ type: "file";
3166
+ updated_at: string;
3167
+ } | {
3168
+ memory_store_id: string;
3169
+ type: "memory_store";
3170
+ access?: null | "read_write" | "read_only";
3171
+ description?: string;
3172
+ instructions?: null | string;
3173
+ mount_path?: null | string;
3174
+ name?: null | string;
3175
+ }>;
3176
+ stats: {
3177
+ active_seconds?: number;
3178
+ duration_seconds?: number;
3179
+ };
3180
+ status: "rescheduling" | "running" | "idle" | "terminated";
3181
+ title: null | string;
3182
+ type: "session";
3183
+ updated_at: string;
3184
+ usage: {
3185
+ active_seconds?: number;
3186
+ cache_creation?: {
3187
+ ephemeral_1h_input_tokens?: number;
3188
+ ephemeral_5m_input_tokens?: number;
3189
+ };
3190
+ cache_read_input_tokens?: number;
3191
+ input_tokens?: number;
3192
+ list_cost?: null | {
3193
+ amount: string;
3194
+ currency: "USD";
3195
+ };
3196
+ output_tokens?: number;
3197
+ server_tool_use?: null | {
3198
+ web_fetch_requests?: number;
3199
+ web_search_requests?: number;
3200
+ };
3201
+ cost_by_product?: {
3202
+ [key: string]: string;
3203
+ };
3204
+ subagent_cost_micro_usd?: number;
3205
+ };
3206
+ vault_ids: Array<string>;
3207
+ deployment_id?: null | string;
3208
+ cwd: string;
3209
+ computer_id?: string;
3210
+ model?: {
3211
+ id: string;
3212
+ thinking: {
3213
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
3214
+ can_disable: boolean;
3215
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
3216
+ } | null;
3217
+ };
3218
+ thinking?: {
3219
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3220
+ } | null;
3221
+ forked_from?: {
3222
+ session_id: string;
3223
+ message_id: string;
3224
+ } | null;
3225
+ readonly external_user_id: string | null;
3226
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
3227
+ }>;
3228
+ };
2171
3229
  archive: (options: import("./core/transport.js").CallOptions<Types.SessionsArchiveData>) => Promise<{
2172
3230
  id: string;
2173
3231
  agent: {
@@ -2181,6 +3239,7 @@ export declare function createAgent(transport: Transport): {
2181
3239
  speed?: "standard" | "fast";
2182
3240
  settings?: {
2183
3241
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3242
+ max_output_tokens?: number;
2184
3243
  };
2185
3244
  };
2186
3245
  multiagent: null | Types.AgentManaged171;
@@ -2226,6 +3285,40 @@ export declare function createAgent(transport: Transport): {
2226
3285
  readonly external_user_id: string | null;
2227
3286
  readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
2228
3287
  }>;
3288
+ artifacts: {
3289
+ contentUrl: {
3290
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateSessionArtifactContentUrlData>) => Promise<{
3291
+ url: string;
3292
+ expire_time: string;
3293
+ }>;
3294
+ };
3295
+ list: (options: import("./core/transport.js").CallOptions<Types.ListSessionArtifactsData>) => Promise<{
3296
+ data: Array<{
3297
+ object: "artifact";
3298
+ id: string;
3299
+ session_id: string;
3300
+ run_id: string | null;
3301
+ name: string;
3302
+ version: number;
3303
+ parts: Array<{
3304
+ kind: "file";
3305
+ file_id: string;
3306
+ filename: string;
3307
+ mime_type: string;
3308
+ bytes: number;
3309
+ } | {
3310
+ kind: "object";
3311
+ object_type: "canvas" | "media_asset";
3312
+ object_id: string;
3313
+ href: string;
3314
+ title: string | null;
3315
+ }>;
3316
+ source_hrefs: Array<string>;
3317
+ create_time: string;
3318
+ update_time: string;
3319
+ }>;
3320
+ }>;
3321
+ };
2229
3322
  backgroundTasks: {
2230
3323
  list: (options: import("./core/transport.js").CallOptions<Types.ListSessionBackgroundTasksData>) => Promise<{
2231
3324
  data: Array<{
@@ -2308,6 +3401,7 @@ export declare function createAgent(transport: Transport): {
2308
3401
  speed?: "standard" | "fast";
2309
3402
  settings?: {
2310
3403
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3404
+ max_output_tokens?: number;
2311
3405
  };
2312
3406
  };
2313
3407
  multiagent: null | Types.AgentManaged171;
@@ -2394,7 +3488,6 @@ export declare function createAgent(transport: Transport): {
2394
3488
  run_id: string | null;
2395
3489
  message_id?: string;
2396
3490
  } | {
2397
- full_access_available?: boolean;
2398
3491
  id: string;
2399
3492
  input: Types.AgentManaged197;
2400
3493
  mcp_server_name: string;
@@ -2404,6 +3497,18 @@ export declare function createAgent(transport: Transport): {
2404
3497
  evaluated_permission?: "allow" | "deny" | "ask";
2405
3498
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2406
3499
  session_thread_id?: null | string;
3500
+ permission_suggestions?: Array<{
3501
+ type: "add_rules";
3502
+ behavior: "allow";
3503
+ destination: "agent" | "session";
3504
+ rules: Array<{
3505
+ tool_name: string;
3506
+ rule_content: string;
3507
+ }>;
3508
+ }>;
3509
+ full_access_available?: boolean;
3510
+ user_once?: true;
3511
+ guarded_rule?: string;
2407
3512
  run_id: string | null;
2408
3513
  _meta?: {
2409
3514
  ui?: {
@@ -2417,17 +3522,6 @@ export declare function createAgent(transport: Transport): {
2417
3522
  };
2418
3523
  source?: "app" | "codemode";
2419
3524
  parent_tool_use_id?: string;
2420
- user_once?: true;
2421
- guarded_rule?: string;
2422
- permission_suggestions?: Array<{
2423
- type: "add_rules";
2424
- behavior: "allow";
2425
- destination: "agent" | "session";
2426
- rules: Array<{
2427
- tool_name: string;
2428
- rule_content: string;
2429
- }>;
2430
- }>;
2431
3525
  title?: string;
2432
3526
  input_titles?: {
2433
3527
  [key: string]: string;
@@ -2446,7 +3540,6 @@ export declare function createAgent(transport: Transport): {
2446
3540
  };
2447
3541
  source?: "app" | "codemode";
2448
3542
  } | {
2449
- full_access_available?: boolean;
2450
3543
  id: string;
2451
3544
  input: Types.AgentManaged206;
2452
3545
  name: string;
@@ -2455,9 +3548,6 @@ export declare function createAgent(transport: Transport): {
2455
3548
  evaluated_permission?: "allow" | "deny" | "ask";
2456
3549
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2457
3550
  session_thread_id?: null | string;
2458
- run_id: string | null;
2459
- user_once?: true;
2460
- guarded_rule?: string;
2461
3551
  permission_suggestions?: Array<{
2462
3552
  type: "add_rules";
2463
3553
  behavior: "allow";
@@ -2467,6 +3557,10 @@ export declare function createAgent(transport: Transport): {
2467
3557
  rule_content: string;
2468
3558
  }>;
2469
3559
  }>;
3560
+ full_access_available?: boolean;
3561
+ user_once?: true;
3562
+ guarded_rule?: string;
3563
+ run_id: string | null;
2470
3564
  } | {
2471
3565
  id: string;
2472
3566
  processed_at: string;
@@ -2487,9 +3581,6 @@ export declare function createAgent(transport: Transport): {
2487
3581
  type: "session.status_idle";
2488
3582
  run_id: string | null;
2489
3583
  } | Types.AgentManaged230 | Types.AgentManaged231 | Types.AgentManaged232 | Types.AgentManaged233 | Types.AgentManaged235 | Types.AgentManaged236 | Types.AgentManaged237 | Types.AgentManaged238 | Types.AgentManaged239 | Types.AgentManaged240 | Types.AgentManaged241 | Types.AgentManaged242 | Types.AgentManaged243 | Types.AgentManaged244 | {
2490
- permission_mode_version?: number;
2491
- previous_permission_mode?: string | null;
2492
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2493
3584
  id: string;
2494
3585
  processed_at: string;
2495
3586
  type: "session.updated";
@@ -2497,6 +3588,9 @@ export declare function createAgent(transport: Transport): {
2497
3588
  budget?: null | Types.AgentManaged76;
2498
3589
  metadata?: Types.AgentManaged246;
2499
3590
  title?: null | string;
3591
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
3592
+ previous_permission_mode?: string | null;
3593
+ permission_mode_version?: number;
2500
3594
  model?: {
2501
3595
  id: string;
2502
3596
  };
@@ -2657,6 +3751,7 @@ export declare function createAgent(transport: Transport): {
2657
3751
  speed?: "standard" | "fast";
2658
3752
  settings?: {
2659
3753
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3754
+ max_output_tokens?: number;
2660
3755
  };
2661
3756
  };
2662
3757
  multiagent: null | {
@@ -3152,6 +4247,7 @@ export declare function createAgent(transport: Transport): {
3152
4247
  speed?: "standard" | "fast";
3153
4248
  settings?: {
3154
4249
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4250
+ max_output_tokens?: number;
3155
4251
  };
3156
4252
  };
3157
4253
  multiagent: null | Types.AgentManaged171;
@@ -3199,6 +4295,20 @@ export declare function createAgent(transport: Transport): {
3199
4295
  }>;
3200
4296
  next_page: string | null;
3201
4297
  }>;
4298
+ requests: {
4299
+ list: (options: import("./core/transport.js").CallOptions<Types.ListSessionRequestsData>) => Promise<{
4300
+ data: Array<{
4301
+ id: string;
4302
+ object: "request";
4303
+ kind: "question" | "approval";
4304
+ status: "pending";
4305
+ tool_name: string;
4306
+ input: unknown;
4307
+ create_time: string;
4308
+ expire_time: string | null;
4309
+ }>;
4310
+ }>;
4311
+ };
3202
4312
  resources: {
3203
4313
  create: (options: import("./core/transport.js").CallOptions<Types.SessionsResourcesAddData>) => Promise<Types.AgentManaged176>;
3204
4314
  delete: (options: import("./core/transport.js").CallOptions<RenameParameters<Types.SessionsResourcesDeleteData, {
@@ -3229,6 +4339,7 @@ export declare function createAgent(transport: Transport): {
3229
4339
  speed?: "standard" | "fast";
3230
4340
  settings?: {
3231
4341
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4342
+ max_output_tokens?: number;
3232
4343
  };
3233
4344
  };
3234
4345
  multiagent: null | Types.AgentManaged171;
@@ -3401,7 +4512,6 @@ export declare function createAgent(transport: Transport): {
3401
4512
  run_id: string | null;
3402
4513
  message_id?: string;
3403
4514
  } | {
3404
- full_access_available?: boolean;
3405
4515
  id: string;
3406
4516
  input: Types.AgentManaged197;
3407
4517
  mcp_server_name: string;
@@ -3411,6 +4521,18 @@ export declare function createAgent(transport: Transport): {
3411
4521
  evaluated_permission?: "allow" | "deny" | "ask";
3412
4522
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3413
4523
  session_thread_id?: null | string;
4524
+ permission_suggestions?: Array<{
4525
+ type: "add_rules";
4526
+ behavior: "allow";
4527
+ destination: "agent" | "session";
4528
+ rules: Array<{
4529
+ tool_name: string;
4530
+ rule_content: string;
4531
+ }>;
4532
+ }>;
4533
+ full_access_available?: boolean;
4534
+ user_once?: true;
4535
+ guarded_rule?: string;
3414
4536
  run_id: string | null;
3415
4537
  parent_tool_use_id?: string;
3416
4538
  _meta?: {
@@ -3424,17 +4546,6 @@ export declare function createAgent(transport: Transport): {
3424
4546
  };
3425
4547
  };
3426
4548
  source?: "app" | "codemode";
3427
- user_once?: true;
3428
- guarded_rule?: string;
3429
- permission_suggestions?: Array<{
3430
- type: "add_rules";
3431
- behavior: "allow";
3432
- destination: "agent" | "session";
3433
- rules: Array<{
3434
- tool_name: string;
3435
- rule_content: string;
3436
- }>;
3437
- }>;
3438
4549
  title?: string;
3439
4550
  input_titles?: {
3440
4551
  [key: string]: string;
@@ -3453,7 +4564,6 @@ export declare function createAgent(transport: Transport): {
3453
4564
  };
3454
4565
  source?: "app" | "codemode";
3455
4566
  } | {
3456
- full_access_available?: boolean;
3457
4567
  id: string;
3458
4568
  input: Types.AgentManaged206;
3459
4569
  name: string;
@@ -3462,9 +4572,6 @@ export declare function createAgent(transport: Transport): {
3462
4572
  evaluated_permission?: "allow" | "deny" | "ask";
3463
4573
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3464
4574
  session_thread_id?: null | string;
3465
- run_id: string | null;
3466
- user_once?: true;
3467
- guarded_rule?: string;
3468
4575
  permission_suggestions?: Array<{
3469
4576
  type: "add_rules";
3470
4577
  behavior: "allow";
@@ -3474,6 +4581,10 @@ export declare function createAgent(transport: Transport): {
3474
4581
  rule_content: string;
3475
4582
  }>;
3476
4583
  }>;
4584
+ full_access_available?: boolean;
4585
+ user_once?: true;
4586
+ guarded_rule?: string;
4587
+ run_id: string | null;
3477
4588
  } | {
3478
4589
  id: string;
3479
4590
  processed_at: string;
@@ -3494,9 +4605,6 @@ export declare function createAgent(transport: Transport): {
3494
4605
  type: "session.status_idle";
3495
4606
  run_id: string | null;
3496
4607
  } | Types.AgentManaged230 | Types.AgentManaged231 | Types.AgentManaged232 | Types.AgentManaged233 | Types.AgentManaged235 | Types.AgentManaged236 | Types.AgentManaged237 | Types.AgentManaged238 | Types.AgentManaged239 | Types.AgentManaged240 | Types.AgentManaged241 | Types.AgentManaged242 | Types.AgentManaged243 | Types.AgentManaged244 | {
3497
- permission_mode_version?: number;
3498
- previous_permission_mode?: string | null;
3499
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
3500
4608
  id: string;
3501
4609
  processed_at: string;
3502
4610
  type: "session.updated";
@@ -3504,6 +4612,9 @@ export declare function createAgent(transport: Transport): {
3504
4612
  budget?: null | Types.AgentManaged76;
3505
4613
  metadata?: Types.AgentManaged246;
3506
4614
  title?: null | string;
4615
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
4616
+ previous_permission_mode?: string | null;
4617
+ permission_mode_version?: number;
3507
4618
  model?: {
3508
4619
  id: string;
3509
4620
  };
@@ -3594,6 +4705,7 @@ export declare function createAgent(transport: Transport): {
3594
4705
  speed?: "standard" | "fast";
3595
4706
  settings?: {
3596
4707
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4708
+ max_output_tokens?: number;
3597
4709
  };
3598
4710
  };
3599
4711
  multiagent: null | Types.AgentManaged171;
@@ -3684,6 +4796,29 @@ export declare function createAgent(transport: Transport): {
3684
4796
  next_page: null;
3685
4797
  }>;
3686
4798
  };
4799
+ uploads: {
4800
+ contentUrl: {
4801
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadContentUrlData>) => Promise<{
4802
+ url: string;
4803
+ expires_at: string;
4804
+ }>;
4805
+ };
4806
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadData>) => Promise<{
4807
+ upload_id: string;
4808
+ expires_at: string;
4809
+ url: string;
4810
+ } | {
4811
+ upload_id: string;
4812
+ expires_at: string;
4813
+ part_size: number;
4814
+ parts: Array<{
4815
+ part_number: number;
4816
+ url: string;
4817
+ }>;
4818
+ complete_url: string;
4819
+ status_url: string;
4820
+ }>;
4821
+ };
3687
4822
  };
3688
4823
  export declare function createApplication(transport: Transport): {
3689
4824
  assets: {
@@ -3977,6 +5112,10 @@ export declare function createBrowser(transport: Transport): {
3977
5112
  tab: string;
3978
5113
  url: string;
3979
5114
  title: string;
5115
+ } | {
5116
+ type: "select";
5117
+ tab: string;
5118
+ values: Array<string>;
3980
5119
  } | {
3981
5120
  type: "tabs.list";
3982
5121
  tabs: Array<{
@@ -4003,6 +5142,11 @@ export declare function createBrowser(transport: Transport): {
4003
5142
  type: "evaluate";
4004
5143
  tab: string;
4005
5144
  value: unknown;
5145
+ } | {
5146
+ type: "set_cookie";
5147
+ tab: string;
5148
+ name: string;
5149
+ domain: string;
4006
5150
  }>;
4007
5151
  };
4008
5152
  create: (options: import("./core/transport.js").CallOptions<Types.BrowserCreateSessionData>) => Promise<Types.BrowserSessionCreateResult>;
@@ -4060,6 +5204,24 @@ export declare function createCanvas(transport: Transport): {
4060
5204
  update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCollectionData>) => Promise<Types.CanvasCollection>;
4061
5205
  };
4062
5206
  };
5207
+ export declare function createContent(transport: Transport): {
5208
+ contents: {
5209
+ archive: (options: import("./core/transport.js").CallOptions<Types.ContentArchiveContentData>) => Promise<Types.ContentContent>;
5210
+ create: (options: import("./core/transport.js").CallOptions<Types.ContentCreateContentData>) => Promise<Types.ContentContent>;
5211
+ list: (options?: import("./core/transport.js").CallOptions<Types.ContentListContentsData> | undefined) => Promise<Types.ContentContentPage>;
5212
+ publish: (options: import("./core/transport.js").CallOptions<Types.ContentPublishContentData>) => Promise<Types.ContentContent>;
5213
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetContentData>) => Promise<Types.ContentContent>;
5214
+ unpublish: (options: import("./core/transport.js").CallOptions<Types.ContentUnpublishContentData>) => Promise<Types.ContentContent>;
5215
+ update: (options: import("./core/transport.js").CallOptions<Types.ContentUpdateContentData>) => Promise<Types.ContentContent>;
5216
+ };
5217
+ playbackSessions: {
5218
+ create: (options: import("./core/transport.js").CallOptions<Types.ContentCreatePlaybackSessionData>) => Promise<Types.ContentPlaybackSession>;
5219
+ };
5220
+ versions: {
5221
+ list: (options: import("./core/transport.js").CallOptions<Types.ContentListVersionsData>) => Promise<Types.ContentContentVersionPage>;
5222
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetVersionData>) => Promise<Types.ContentContentVersion>;
5223
+ };
5224
+ };
4063
5225
  export declare function createCrm(transport: Transport): {
4064
5226
  associations: {
4065
5227
  create: (options: import("./core/transport.js").CallOptions<Types.CrmAssociationsCreateData>) => Promise<Types.CrmAssociationsLabelsBetweenObjectPair & Types.CrmWriteResult>;
@@ -4120,6 +5282,32 @@ export declare function createCrm(transport: Transport): {
4120
5282
  list: (options?: import("./core/transport.js").CallOptions<Types.CrmSchemasListData> | undefined) => Promise<Types.CrmSchemasCollectionResponseObjectSchemaNoPaging>;
4121
5283
  };
4122
5284
  };
5285
+ export declare function createCustomer(transport: Transport): {
5286
+ accessTokens: {
5287
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateAccessTokenData>) => Promise<Types.CustomerAccessToken>;
5288
+ renew: (options?: import("./core/transport.js").CallOptions<Types.CustomerRenewAccessTokenData> | undefined) => Promise<Types.CustomerAccessToken>;
5289
+ revoke: (options?: import("./core/transport.js").CallOptions<Types.CustomerRevokeCurrentTokensData> | undefined) => Promise<unknown>;
5290
+ };
5291
+ customers: {
5292
+ block: (options: import("./core/transport.js").CallOptions<Types.CustomerBlockCustomerData>) => Promise<Types.CustomerCustomer>;
5293
+ delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeleteCustomerData>) => Promise<Types.CustomerCustomerDeleted>;
5294
+ list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListCustomersData> | undefined) => Promise<Types.CustomerCustomerPage>;
5295
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetCustomerData>) => Promise<Types.CustomerCustomer>;
5296
+ revokeTokens: (options: import("./core/transport.js").CallOptions<Types.CustomerRevokeTokensData>) => Promise<Types.CustomerTokensRevoked>;
5297
+ unblock: (options: import("./core/transport.js").CallOptions<Types.CustomerUnblockCustomerData>) => Promise<Types.CustomerCustomer>;
5298
+ };
5299
+ grantCodes: {
5300
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateGrantCodeData>) => Promise<Types.CustomerGrantCode>;
5301
+ };
5302
+ publishableKeys: {
5303
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreatePublishableKeyData>) => Promise<Types.CustomerPublishableKey>;
5304
+ delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeletePublishableKeyData>) => Promise<Types.CustomerPublishableKeyDeleted>;
5305
+ list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListPublishableKeysData> | undefined) => Promise<Types.CustomerPublishableKeyPage>;
5306
+ };
5307
+ usage: {
5308
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetUsageData>) => Promise<Types.CustomerCustomerUsage>;
5309
+ };
5310
+ };
4123
5311
  export declare function createCut(transport: Transport): {
4124
5312
  exports: {
4125
5313
  cancel: (options: import("./core/transport.js").CallOptions<Types.CutCancelExportData>) => Promise<Types.CutExport>;
@@ -4218,13 +5406,26 @@ export declare function createDatabase(transport: Transport): {
4218
5406
  export declare function createDevops(transport: Transport): {
4219
5407
  changes: {
4220
5408
  abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesAbandonData>) => Promise<Types.DevopsChange>;
5409
+ gitCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGitCredentialData>) => Promise<Types.DevopsChangeGitCredential>;
4221
5410
  markLastSlice: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesMarkLastSliceData>) => Promise<Types.DevopsChange>;
5411
+ openPullRequest: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesOpenPullRequestData>) => Promise<Types.DevopsChangePullRequestOpened>;
4222
5412
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGetData>) => Promise<Types.DevopsChange>;
4223
5413
  };
5414
+ connections: {
5415
+ complete: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsCompleteData>) => Promise<Types.DevopsConnection>;
5416
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsCreateData>) => Promise<Types.DevopsConnectionStart>;
5417
+ list: (options?: import("./core/transport.js").CallOptions<Types.DevopsConnectionsListData> | undefined) => Promise<Types.DevopsConnectionPage>;
5418
+ repositories: {
5419
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsListRepositoriesData>) => Promise<Types.DevopsRepositoryPage>;
5420
+ };
5421
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsGetData>) => Promise<Types.DevopsConnection>;
5422
+ };
4224
5423
  environments: {
4225
5424
  checkpoints: {
4226
5425
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsCheckpointsListData>) => Promise<Types.DevopsCheckpointList>;
4227
5426
  };
5427
+ rollback: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsRollbackData>) => Promise<Types.DevopsPromotion>;
5428
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsUpdateData>) => Promise<Types.DevopsEnvironment>;
4228
5429
  };
4229
5430
  flags: {
4230
5431
  archive: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsArchiveData>) => Promise<Types.DevopsFlag>;
@@ -4264,17 +5465,26 @@ export declare function createDevops(transport: Transport): {
4264
5465
  flags: {
4265
5466
  create: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsCreateData>) => Promise<Types.DevopsFlag>;
4266
5467
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsListData>) => Promise<Types.DevopsFlagPage>;
5468
+ reportCodeRefs: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsReportCodeRefsData>) => Promise<Types.DevopsFlagCodeRefsReportResult>;
4267
5469
  };
4268
5470
  list: (options?: import("./core/transport.js").CallOptions<Types.DevopsProjectsListData> | undefined) => Promise<Types.DevopsProjectPage>;
4269
5471
  promotions: {
4270
5472
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsListData>) => Promise<Types.DevopsPromotionPage>;
4271
5473
  };
5474
+ pullRequests: {
5475
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsListData>) => Promise<Types.DevopsPullRequestPage>;
5476
+ };
4272
5477
  releases: {
4273
5478
  create: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesCreateData>) => Promise<Types.DevopsRelease>;
4274
5479
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesListData>) => Promise<Types.DevopsReleasePage>;
4275
5480
  };
4276
5481
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsGetData>) => Promise<Types.DevopsProject>;
4277
5482
  retrieveTestCatalog: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCatalogGetData>) => Promise<Types.DevopsCatalogVersion>;
5483
+ retrieveTestPlan: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlanGetData>) => Promise<Types.DevopsTestPlan>;
5484
+ segments: {
5485
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsCreateData>) => Promise<Types.DevopsSegment>;
5486
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsListData>) => Promise<Types.DevopsSegmentPage>;
5487
+ };
4278
5488
  targets: {
4279
5489
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsTargetsListData>) => Promise<Types.DevopsTargetPage>;
4280
5490
  refresh: (options: import("./core/transport.js").CallOptions<Types.DevopsTargetsRefreshData>) => Promise<Types.DevopsTargetCatalog>;
@@ -4296,6 +5506,16 @@ export declare function createDevops(transport: Transport): {
4296
5506
  testSuites: {
4297
5507
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestSuitesListData>) => Promise<Types.DevopsSuitePage>;
4298
5508
  };
5509
+ units: {
5510
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsCreateData>) => Promise<Types.DevopsUnit>;
5511
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsListData>) => Promise<Types.DevopsUnitPage>;
5512
+ };
5513
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsUpdateData>) => Promise<Types.DevopsProject>;
5514
+ workspaces: {
5515
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesListData>) => Promise<Types.DevopsWorkspaceList>;
5516
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesGetData>) => Promise<Types.DevopsWorkspace>;
5517
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesUpdateData>) => Promise<Types.DevopsWorkspace>;
5518
+ };
4299
5519
  };
4300
5520
  promotions: {
4301
5521
  approve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsApproveData>) => Promise<Types.DevopsPromotion>;
@@ -4308,6 +5528,12 @@ export declare function createDevops(transport: Transport): {
4308
5528
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsRolloutsListData>) => Promise<Types.DevopsRolloutPage>;
4309
5529
  };
4310
5530
  };
5531
+ pullRequests: {
5532
+ merge: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsMergeData>) => Promise<Types.DevopsPullRequest>;
5533
+ recordVerdict: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRecordVerdictData>) => Promise<Types.DevopsPullRequest>;
5534
+ rerunGate: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRerunGateData>) => Promise<Types.DevopsPullRequest>;
5535
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsGetData>) => Promise<Types.DevopsPullRequest>;
5536
+ };
4311
5537
  releases: {
4312
5538
  abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesAbandonData>) => Promise<Types.DevopsRelease>;
4313
5539
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesGetData>) => Promise<Types.DevopsRelease>;
@@ -4315,6 +5541,9 @@ export declare function createDevops(transport: Transport): {
4315
5541
  rollouts: {
4316
5542
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsRolloutsGetData>) => Promise<Types.DevopsRollout>;
4317
5543
  };
5544
+ segments: {
5545
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsUpdateData>) => Promise<Types.DevopsSegment>;
5546
+ };
4318
5547
  testCases: {
4319
5548
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCasesGetData>) => Promise<Types.DevopsTestCase>;
4320
5549
  };
@@ -4332,10 +5561,24 @@ export declare function createDevops(transport: Transport): {
4332
5561
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestExecutionsGetData>) => Promise<Types.DevopsExecution>;
4333
5562
  };
4334
5563
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsGetData>) => Promise<Types.DevopsRun>;
5564
+ retryFailed: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsRetryFailedData>) => Promise<Types.DevopsRun>;
4335
5565
  };
4336
5566
  testSuites: {
4337
5567
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestSuitesGetData>) => Promise<Types.DevopsSuite>;
4338
5568
  };
5569
+ units: {
5570
+ connect: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsConnectData>) => Promise<Types.DevopsUnitConnectResult>;
5571
+ delete: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsDeleteData>) => Promise<Types.DevopsUnitDeleted>;
5572
+ exec: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsExecData>) => Promise<Types.DevopsUnitExecResult>;
5573
+ fetch: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsFetchData>) => Promise<Types.DevopsUnit>;
5574
+ push: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsPushData>) => Promise<Types.DevopsUnitPushResult>;
5575
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsGetData>) => Promise<Types.DevopsUnit>;
5576
+ start: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsStartData>) => Promise<Types.DevopsUnit>;
5577
+ stop: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsStopData>) => Promise<Types.DevopsUnit>;
5578
+ transitions: {
5579
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsTransitionsListData>) => Promise<Types.DevopsUnitTransitionPage>;
5580
+ };
5581
+ };
4339
5582
  };
4340
5583
  export declare function createFile(transport: Transport): {
4341
5584
  files: {
@@ -4426,12 +5669,19 @@ export declare function createMedia(transport: Transport): {
4426
5669
  };
4427
5670
  libraries: {
4428
5671
  assets: {
5672
+ align: {
5673
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaAlignAssetData>) => Promise<Types.MediaJob>;
5674
+ };
4429
5675
  batch: (options: import("./core/transport.js").CallOptions<Types.MediaBatchAssetsData>) => Promise<Types.MediaJob>;
4430
5676
  create: (options: import("./core/transport.js").CallOptions<Types.MediaUploadAssetData>) => Promise<Types.MediaUploadResult>;
4431
5677
  delete: (options: import("./core/transport.js").CallOptions<Types.MediaDeleteAssetData>) => Promise<Types.MediaDeleted>;
4432
5678
  frames: {
4433
5679
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateFrameUrlsData>) => Promise<Types.MediaFrameUrls>;
4434
5680
  };
5681
+ hls: {
5682
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaRequestHlsRenditionsData>) => Promise<Types.MediaHlsLadder>;
5683
+ list: (options: import("./core/transport.js").CallOptions<Types.MediaGetHlsRenditionsData>) => Promise<Types.MediaHlsLadder>;
5684
+ };
4435
5685
  import: {
4436
5686
  create: (options: import("./core/transport.js").CallOptions<Types.MediaImportAssetData>) => Promise<Types.MediaAsset>;
4437
5687
  };
@@ -4444,6 +5694,9 @@ export declare function createMedia(transport: Transport): {
4444
5694
  list: (options: import("./core/transport.js").CallOptions<Types.MediaListUnderstandingsData>) => Promise<import("./automation.js").Page<Types.MediaUnderstanding>>;
4445
5695
  };
4446
5696
  update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateAssetData>) => Promise<Types.MediaAsset>;
5697
+ versions: {
5698
+ restore: (options: import("./core/transport.js").CallOptions<Types.MediaRestoreAssetVersionData>) => Promise<Types.MediaAsset>;
5699
+ };
4447
5700
  };
4448
5701
  batches: {
4449
5702
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateBatchData>) => Promise<Types.MediaJob>;
@@ -4466,6 +5719,11 @@ export declare function createMedia(transport: Transport): {
4466
5719
  retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetJobData>) => Promise<Types.MediaJob>;
4467
5720
  };
4468
5721
  list: (options?: import("./core/transport.js").CallOptions<Types.MediaListLibrariesData> | undefined) => Promise<import("./automation.js").Page<Types.MediaLibrary>>;
5722
+ materials: {
5723
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateMaterialData>) => Promise<Types.MediaMaterial>;
5724
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetMaterialData>) => Promise<Types.MediaMaterial>;
5725
+ update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateMaterialData>) => Promise<Types.MediaMaterial>;
5726
+ };
4469
5727
  purge: {
4470
5728
  create: (options: import("./core/transport.js").CallOptions<Types.MediaPurgeLibraryData>) => Promise<Types.MediaPurgedLibrary>;
4471
5729
  };
@@ -4696,7 +5954,35 @@ export declare function createModel(transport: Transport): {
4696
5954
  countTokens: (options: import("./core/transport.js").CallOptions<Types.CountTokensData>) => Promise<Types.AnthropicMessageTokensCount>;
4697
5955
  create: import("./core/bindings.js").MixedMethod<Types.CreateMessageData, Types.AnthropicMessage, Types.PraxisSdkSsePostModelV1Messages>;
4698
5956
  };
5957
+ modelAccess: {
5958
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListModelAccessData> | undefined) => Promise<{
5959
+ items: Array<{
5960
+ model: string;
5961
+ access_required: boolean;
5962
+ granted: boolean;
5963
+ granted_by: string | null;
5964
+ granted_at: string | null;
5965
+ sell_input_price: number | null;
5966
+ sell_output_price: number | null;
5967
+ }>;
5968
+ }>;
5969
+ };
4699
5970
  models: {
5971
+ access: {
5972
+ delete: (options: import("./core/transport.js").CallOptions<Types.DisableModelAccessData>) => Promise<{
5973
+ model: string;
5974
+ revoked: true;
5975
+ }>;
5976
+ update: (options: import("./core/transport.js").CallOptions<Types.EnableModelAccessData>) => Promise<{
5977
+ model: string;
5978
+ access_required: boolean;
5979
+ granted: true;
5980
+ granted_by: string;
5981
+ granted_at: string;
5982
+ sell_input_price: number | null;
5983
+ sell_output_price: number | null;
5984
+ }>;
5985
+ };
4700
5986
  list: (options?: import("./core/transport.js").CallOptions<Types.ListModelsData> | undefined) => Promise<{
4701
5987
  object: "list";
4702
5988
  data: Array<{
@@ -4711,6 +5997,7 @@ export declare function createModel(transport: Transport): {
4711
5997
  type: "language" | "image" | "embedding" | "ocr" | "transcription" | "speech" | "video" | "reranking";
4712
5998
  supported_apis: Array<string>;
4713
5999
  tags: Array<string>;
6000
+ access_required: boolean;
4714
6001
  architecture: {
4715
6002
  modality: string;
4716
6003
  input_modalities: Array<string>;
@@ -4757,6 +6044,7 @@ export declare function createModel(transport: Transport): {
4757
6044
  type: "language" | "image" | "embedding" | "ocr" | "transcription" | "speech" | "video" | "reranking";
4758
6045
  supported_apis: Array<string>;
4759
6046
  tags: Array<string>;
6047
+ access_required: boolean;
4760
6048
  architecture: {
4761
6049
  modality: string;
4762
6050
  input_modalities: Array<string>;
@@ -4983,6 +6271,7 @@ export declare function createModel(transport: Transport): {
4983
6271
  unsigned_urls: Array<string>;
4984
6272
  usage?: {
4985
6273
  cost: number;
6274
+ billed_seconds?: number;
4986
6275
  };
4987
6276
  }>;
4988
6277
  delete: (options: import("./core/transport.js").CallOptions<Types.DeleteVideoData>) => Promise<{
@@ -5013,6 +6302,7 @@ export declare function createModel(transport: Transport): {
5013
6302
  unsigned_urls: Array<string>;
5014
6303
  usage?: {
5015
6304
  cost: number;
6305
+ billed_seconds?: number;
5016
6306
  };
5017
6307
  }>;
5018
6308
  has_more: boolean;
@@ -5041,6 +6331,7 @@ export declare function createModel(transport: Transport): {
5041
6331
  unsigned_urls: Array<string>;
5042
6332
  usage?: {
5043
6333
  cost: number;
6334
+ billed_seconds?: number;
5044
6335
  };
5045
6336
  }>;
5046
6337
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.DownloadVideoContentData>) => Promise<Blob | File>;
@@ -5078,6 +6369,23 @@ export declare function createOntology(transport: Transport): {
5078
6369
  };
5079
6370
  };
5080
6371
  export declare function createOrganization(transport: Transport): {
6372
+ actors: {
6373
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationActorsData> | undefined) => Promise<Types.OrganizationActorList>;
6374
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationActorData>) => Promise<Types.OrganizationPositionChain>;
6375
+ };
6376
+ assignments: {
6377
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationAssignmentsData> | undefined) => Promise<Types.OrganizationAssignmentList>;
6378
+ makePrimary: {
6379
+ create: (options: import("./core/transport.js").CallOptions<Types.MakePrimaryOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
6380
+ };
6381
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
6382
+ terminate: {
6383
+ create: (options: import("./core/transport.js").CallOptions<Types.TerminateOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
6384
+ };
6385
+ transfer: {
6386
+ create: (options: import("./core/transport.js").CallOptions<Types.TransferOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
6387
+ };
6388
+ };
5081
6389
  charges: {
5082
6390
  list: (options: import("./core/transport.js").CallOptions<Types.ExportOrganizationChargesData>) => Promise<{
5083
6391
  ChargePeriodStart: string;
@@ -5119,6 +6427,16 @@ export declare function createOrganization(transport: Transport): {
5119
6427
  next_page: string | null;
5120
6428
  }>;
5121
6429
  };
6430
+ departments: {
6431
+ create: (options: import("./core/transport.js").CallOptions<Types.EstablishOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
6432
+ dissolve: {
6433
+ create: (options: import("./core/transport.js").CallOptions<Types.DissolveOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
6434
+ };
6435
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationDepartmentsData> | undefined) => Promise<Types.OrganizationDepartmentList>;
6436
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
6437
+ update: (options: import("./core/transport.js").CallOptions<Types.ReorganizeOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
6438
+ updateCharter: (options: import("./core/transport.js").CallOptions<Types.AmendOrganizationDepartmentCharterData>) => Promise<Types.OrganizationDepartment>;
6439
+ };
5122
6440
  events: {
5123
6441
  list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationEventsData>) => Promise<{
5124
6442
  object: "page";
@@ -5321,6 +6639,27 @@ export declare function createOrganization(transport: Transport): {
5321
6639
  }>;
5322
6640
  }>;
5323
6641
  };
6642
+ jobs: {
6643
+ create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationJobData>) => Promise<Types.OrganizationJob>;
6644
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationJobsData> | undefined) => Promise<Types.OrganizationJobList>;
6645
+ retire: {
6646
+ create: (options: import("./core/transport.js").CallOptions<Types.RetireOrganizationJobData>) => Promise<Types.OrganizationJob>;
6647
+ };
6648
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationJobData>) => Promise<Types.OrganizationJob>;
6649
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationJobData>) => Promise<Types.OrganizationJob>;
6650
+ };
6651
+ keyResults: {
6652
+ create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
6653
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationKeyResultsData> | undefined) => Promise<Types.OrganizationKeyResultList>;
6654
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
6655
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
6656
+ };
6657
+ ladders: {
6658
+ create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
6659
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationLaddersData> | undefined) => Promise<Types.OrganizationLadderList>;
6660
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
6661
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
6662
+ };
5324
6663
  members: {
5325
6664
  list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationMembersData> | undefined) => Promise<{
5326
6665
  data: Array<{
@@ -5334,6 +6673,52 @@ export declare function createOrganization(transport: Transport): {
5334
6673
  next_page: string | null;
5335
6674
  }>;
5336
6675
  };
6676
+ objectives: {
6677
+ create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
6678
+ grade: {
6679
+ create: (options: import("./core/transport.js").CallOptions<Types.GradeOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
6680
+ };
6681
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationObjectivesData> | undefined) => Promise<Types.OrganizationObjectiveList>;
6682
+ parents: {
6683
+ update: (options: import("./core/transport.js").CallOptions<Types.AlignOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
6684
+ };
6685
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
6686
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
6687
+ };
6688
+ periods: {
6689
+ close: {
6690
+ create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
6691
+ };
6692
+ create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
6693
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPeriodsData> | undefined) => Promise<Types.OrganizationPeriodList>;
6694
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
6695
+ };
6696
+ positions: {
6697
+ close: {
6698
+ create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
6699
+ };
6700
+ create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPositionsData>) => Promise<Types.OrganizationPositionBatch>;
6701
+ designateHead: {
6702
+ create: (options: import("./core/transport.js").CallOptions<Types.DesignateOrganizationPositionHeadData>) => Promise<Types.OrganizationDepartment>;
6703
+ };
6704
+ freeze: {
6705
+ create: (options: import("./core/transport.js").CallOptions<Types.FreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
6706
+ };
6707
+ hire: {
6708
+ create: (options: import("./core/transport.js").CallOptions<Types.HireOrganizationPositionData>) => Promise<Types.OrganizationAssignment>;
6709
+ };
6710
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPositionsData> | undefined) => Promise<Types.OrganizationPositionList>;
6711
+ replaceHolder: {
6712
+ create: (options: import("./core/transport.js").CallOptions<Types.ReplaceOrganizationPositionHolderData>) => Promise<Types.OrganizationAssignment>;
6713
+ };
6714
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
6715
+ unfreeze: {
6716
+ create: (options: import("./core/transport.js").CallOptions<Types.UnfreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
6717
+ };
6718
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
6719
+ updateLevel: (options: import("./core/transport.js").CallOptions<Types.RegradeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
6720
+ updateManager: (options: import("./core/transport.js").CallOptions<Types.ReassignOrganizationPositionManagerData>) => Promise<Types.OrganizationPosition>;
6721
+ };
5337
6722
  usage: {
5338
6723
  list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationUsageData>) => Promise<{
5339
6724
  object: "page";
@@ -5357,6 +6742,42 @@ export declare function createOrganization(transport: Transport): {
5357
6742
  }>;
5358
6743
  };
5359
6744
  };
6745
+ export declare function createRegistry(transport: Transport): {
6746
+ installations: {
6747
+ delete: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsDeleteData>) => Promise<Types.RegistryDeletedInstallation>;
6748
+ update: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsUpdateData>) => Promise<Types.RegistryInstallation>;
6749
+ };
6750
+ packages: {
6751
+ installations: {
6752
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsCreateData>) => Promise<Types.RegistryInstallResult>;
6753
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsListData>) => Promise<Types.RegistryInstallationList>;
6754
+ };
6755
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesRetrieveData>) => Promise<Types.RegistryPackage>;
6756
+ versions: {
6757
+ contents: {
6758
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsContentsData>) => Promise<Types.RegistryFileEntryPage>;
6759
+ };
6760
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsCreateData>) => Promise<Types.RegistryVersion>;
6761
+ files: {
6762
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsFilesRetrieveData>) => Promise<Blob | File>;
6763
+ };
6764
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsListData>) => Promise<import("./automation.js").Page<Types.RegistryVersion>>;
6765
+ retrieveArchive: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsArchiveData>) => Promise<Blob | File>;
6766
+ withdraw: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsWithdrawData>) => Promise<Types.RegistryVersion>;
6767
+ };
6768
+ };
6769
+ repositories: {
6770
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesCreateData>) => Promise<Types.RegistryRepository>;
6771
+ delete: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesDeleteData>) => Promise<Types.RegistryDeletedRepository>;
6772
+ list: (options?: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesListData> | undefined) => Promise<import("./automation.js").Page<Types.RegistryRepository>>;
6773
+ packages: {
6774
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesPackagesCreateData>) => Promise<Types.RegistryPackage>;
6775
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesPackagesListData>) => Promise<import("./automation.js").Page<Types.RegistryPackage>>;
6776
+ };
6777
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesRetrieveData>) => Promise<Types.RegistryRepository>;
6778
+ update: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesUpdateData>) => Promise<Types.RegistryRepository>;
6779
+ };
6780
+ };
5360
6781
  export declare function createSandbox(transport: Transport): {
5361
6782
  events: {
5362
6783
  sandboxes: {
@@ -5441,6 +6862,20 @@ export declare function createSandbox(transport: Transport): {
5441
6862
  snapshots: {
5442
6863
  create: (options: import("./core/transport.js").CallOptions<Types.PostSandboxV1SandboxesBySandboxIdSnapshotsData>) => Promise<Types.SandboxSnapshotInfo>;
5443
6864
  };
6865
+ tasks: {
6866
+ create: (options: import("./core/transport.js").CallOptions<Types.StartSandboxTaskData>) => Promise<{
6867
+ taskId: string;
6868
+ instanceId: string;
6869
+ startedAt: number;
6870
+ }>;
6871
+ retrieveLog: (options: import("./core/transport.js").CallOptions<Types.GetSandboxTaskLogData>) => Promise<{
6872
+ text: string;
6873
+ nextOffset: number;
6874
+ done: boolean;
6875
+ exitCode: number | null;
6876
+ size: number | null;
6877
+ }>;
6878
+ };
5444
6879
  timeout: (options: import("./core/transport.js").CallOptions<Types.PostSandboxV1SandboxesBySandboxIdTimeoutData>) => Promise<void>;
5445
6880
  update: (options: import("./core/transport.js").CallOptions<Types.RenameSandboxData>) => Promise<Types.SandboxSandboxDetail & {
5446
6881
  name: string;
@@ -5579,6 +7014,14 @@ export declare function createSearch(transport: Transport): {
5579
7014
  }>;
5580
7015
  };
5581
7016
  };
7017
+ export declare function createShare(transport: Transport): {
7018
+ permissions: {
7019
+ create: (options: import("./core/transport.js").CallOptions<Types.ShareCreatePermissionData>) => Promise<Types.ShareSharePermission>;
7020
+ delete: (options: import("./core/transport.js").CallOptions<Types.ShareDeletePermissionData>) => Promise<void>;
7021
+ list: (options?: import("./core/transport.js").CallOptions<Types.ShareListPermissionsData> | undefined) => Promise<Types.ShareSharePermissionPage>;
7022
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ShareRetrievePermissionData>) => Promise<Types.ShareSharePermission>;
7023
+ };
7024
+ };
5582
7025
  export declare function createStudio(transport: Transport): {
5583
7026
  codexes: {
5584
7027
  create: (options: import("./core/transport.js").CallOptions<Types.StudioCodexesCreateData>) => Promise<Types.StudioCodex>;
@@ -5872,7 +7315,9 @@ export declare const resourceFactories: {
5872
7315
  automation: typeof createAutomation;
5873
7316
  browser: typeof createBrowser;
5874
7317
  canvas: typeof createCanvas;
7318
+ content: typeof createContent;
5875
7319
  crm: typeof createCrm;
7320
+ customer: typeof createCustomer;
5876
7321
  cut: typeof createCut;
5877
7322
  database: typeof createDatabase;
5878
7323
  devops: typeof createDevops;
@@ -5883,8 +7328,10 @@ export declare const resourceFactories: {
5883
7328
  model: typeof createModel;
5884
7329
  ontology: typeof createOntology;
5885
7330
  organization: typeof createOrganization;
7331
+ registry: typeof createRegistry;
5886
7332
  sandbox: typeof createSandbox;
5887
7333
  search: typeof createSearch;
7334
+ share: typeof createShare;
5888
7335
  studio: typeof createStudio;
5889
7336
  ticket: typeof createTicket;
5890
7337
  vault: typeof createVault;