@deepraxis/sdk 0.1.1-dev.b58d05d → 0.1.1-dev.b5dbc63

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,11 +46,11 @@ 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
56
  subagents?: Array<{
@@ -142,6 +143,7 @@ export declare function createAgent(transport: Transport): {
142
143
  allowManagedHooksOnly?: boolean;
143
144
  allowManagedMcpServersOnly?: boolean;
144
145
  allowManagedPermissionRulesOnly?: boolean;
146
+ idleCompaction?: boolean;
145
147
  autoMemoryEnabled?: boolean;
146
148
  disabled?: {
147
149
  subagents?: Array<string>;
@@ -150,7 +152,6 @@ export declare function createAgent(transport: Transport): {
150
152
  mcpServers?: Array<string>;
151
153
  hooks?: Array<string>;
152
154
  };
153
- idleCompaction?: boolean;
154
155
  outputStyle?: string;
155
156
  } | null;
156
157
  models?: {
@@ -169,6 +170,22 @@ export declare function createAgent(transport: Transport): {
169
170
  keep_coding_instructions?: boolean;
170
171
  }> | null;
171
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
+ };
172
189
  create: (options: import("./core/transport.js").CallOptions<Types.AgentsCreateData>) => Promise<{
173
190
  id: string;
174
191
  archived_at: null | string;
@@ -183,6 +200,7 @@ export declare function createAgent(transport: Transport): {
183
200
  speed?: "standard" | "fast";
184
201
  settings?: {
185
202
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
203
+ max_output_tokens?: number;
186
204
  };
187
205
  };
188
206
  multiagent?: null | Types.AgentManaged39;
@@ -211,11 +229,18 @@ export declare function createAgent(transport: Transport): {
211
229
  readonly verified?: boolean;
212
230
  enabled?: boolean;
213
231
  } | {
214
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
232
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
215
233
  readonly verified?: boolean;
216
234
  enabled?: boolean;
217
235
  }>;
218
- 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
+ };
219
244
  computer_id?: string;
220
245
  subagent_model?: string | null;
221
246
  subagents?: Array<{
@@ -308,6 +333,7 @@ export declare function createAgent(transport: Transport): {
308
333
  allowManagedHooksOnly?: boolean;
309
334
  allowManagedMcpServersOnly?: boolean;
310
335
  allowManagedPermissionRulesOnly?: boolean;
336
+ idleCompaction?: boolean;
311
337
  autoMemoryEnabled?: boolean;
312
338
  disabled?: {
313
339
  subagents?: Array<string>;
@@ -316,7 +342,6 @@ export declare function createAgent(transport: Transport): {
316
342
  mcpServers?: Array<string>;
317
343
  hooks?: Array<string>;
318
344
  };
319
- idleCompaction?: boolean;
320
345
  outputStyle?: string;
321
346
  } | null;
322
347
  models?: {
@@ -336,42 +361,6 @@ export declare function createAgent(transport: Transport): {
336
361
  }> | null;
337
362
  }>;
338
363
  customers: {
339
- auth: {
340
- accessTokens: {
341
- create: (options: import("./core/transport.js").CallOptions<Types.CreateCustomerAccessTokenData>) => Promise<{
342
- type: "customer_access_token";
343
- access_token: string;
344
- expires_at: string;
345
- session_expires_at: string;
346
- customer: {
347
- id: string;
348
- type: "identified" | "anonymous";
349
- };
350
- }>;
351
- deleteCurrent: (options: import("./core/transport.js").CallOptions<Types.DeleteCurrentCustomerAccessTokenData>) => Promise<void>;
352
- renew: {
353
- create: (options: import("./core/transport.js").CallOptions<Types.RenewCustomerAccessTokenData>) => Promise<{
354
- type: "customer_access_token";
355
- access_token: string;
356
- expires_at: string;
357
- session_expires_at: string;
358
- customer: {
359
- id: string;
360
- type: "identified" | "anonymous";
361
- };
362
- }>;
363
- };
364
- };
365
- grantCodes: {
366
- create: (options: import("./core/transport.js").CallOptions<Types.CreateCustomerGrantCodeData>) => Promise<{
367
- type: "customer_grant_code";
368
- code: string;
369
- customer_id: string;
370
- expires_at: string;
371
- hosted_url?: string;
372
- }>;
373
- };
374
- };
375
364
  block: {
376
365
  create: (options: import("./core/transport.js").CallOptions<Types.BlockCustomerData>) => Promise<{
377
366
  id: string;
@@ -463,6 +452,275 @@ export declare function createAgent(transport: Transport): {
463
452
  }>;
464
453
  };
465
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
+ };
466
724
  list: (options?: import("./core/transport.js").CallOptions<Types.AgentsListData> | undefined) => Promise<{
467
725
  data: Array<{
468
726
  id: string;
@@ -478,6 +736,7 @@ export declare function createAgent(transport: Transport): {
478
736
  speed?: "standard" | "fast";
479
737
  settings?: {
480
738
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
739
+ max_output_tokens?: number;
481
740
  };
482
741
  };
483
742
  multiagent?: null | Types.AgentManaged39;
@@ -506,11 +765,18 @@ export declare function createAgent(transport: Transport): {
506
765
  readonly verified?: boolean;
507
766
  enabled?: boolean;
508
767
  } | {
509
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
768
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
510
769
  readonly verified?: boolean;
511
770
  enabled?: boolean;
512
771
  }>;
513
- 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
+ };
514
780
  computer_id?: string;
515
781
  subagent_model?: string | null;
516
782
  subagents?: Array<{
@@ -603,6 +869,7 @@ export declare function createAgent(transport: Transport): {
603
869
  allowManagedHooksOnly?: boolean;
604
870
  allowManagedMcpServersOnly?: boolean;
605
871
  allowManagedPermissionRulesOnly?: boolean;
872
+ idleCompaction?: boolean;
606
873
  autoMemoryEnabled?: boolean;
607
874
  disabled?: {
608
875
  subagents?: Array<string>;
@@ -611,7 +878,6 @@ export declare function createAgent(transport: Transport): {
611
878
  mcpServers?: Array<string>;
612
879
  hooks?: Array<string>;
613
880
  };
614
- idleCompaction?: boolean;
615
881
  outputStyle?: string;
616
882
  } | null;
617
883
  models?: {
@@ -646,6 +912,7 @@ export declare function createAgent(transport: Transport): {
646
912
  speed?: "standard" | "fast";
647
913
  settings?: {
648
914
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
915
+ max_output_tokens?: number;
649
916
  };
650
917
  };
651
918
  multiagent?: null | Types.AgentManaged39;
@@ -675,11 +942,18 @@ export declare function createAgent(transport: Transport): {
675
942
  readonly verified?: boolean;
676
943
  enabled?: boolean;
677
944
  } | {
678
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
945
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
679
946
  readonly verified?: boolean;
680
947
  enabled?: boolean;
681
948
  }>;
682
- 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
+ };
683
957
  computer_id?: string;
684
958
  subagent_model?: string | null;
685
959
  subagents?: Array<{
@@ -772,6 +1046,7 @@ export declare function createAgent(transport: Transport): {
772
1046
  allowManagedHooksOnly?: boolean;
773
1047
  allowManagedMcpServersOnly?: boolean;
774
1048
  allowManagedPermissionRulesOnly?: boolean;
1049
+ idleCompaction?: boolean;
775
1050
  autoMemoryEnabled?: boolean;
776
1051
  disabled?: {
777
1052
  subagents?: Array<string>;
@@ -780,7 +1055,6 @@ export declare function createAgent(transport: Transport): {
780
1055
  mcpServers?: Array<string>;
781
1056
  hooks?: Array<string>;
782
1057
  };
783
- idleCompaction?: boolean;
784
1058
  outputStyle?: string;
785
1059
  } | null;
786
1060
  models?: {
@@ -856,6 +1130,20 @@ export declare function createAgent(transport: Transport): {
856
1130
  history?: {
857
1131
  enabled?: boolean;
858
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
+ };
859
1147
  }>;
860
1148
  unarchive: {
861
1149
  create: (options: import("./core/transport.js").CallOptions<Types.UnarchiveAgentData>) => Promise<{
@@ -909,6 +1197,7 @@ export declare function createAgent(transport: Transport): {
909
1197
  speed?: "standard" | "fast";
910
1198
  settings?: {
911
1199
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1200
+ max_output_tokens?: number;
912
1201
  };
913
1202
  };
914
1203
  multiagent?: null | {
@@ -1103,11 +1392,18 @@ export declare function createAgent(transport: Transport): {
1103
1392
  readonly verified?: boolean;
1104
1393
  enabled?: boolean;
1105
1394
  } | {
1106
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
1395
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1107
1396
  readonly verified?: boolean;
1108
1397
  enabled?: boolean;
1109
1398
  }>;
1110
- kind: "general" | "personal" | "service" | "assume";
1399
+ kind: "general" | "service" | "assume";
1400
+ computers?: {
1401
+ default: string;
1402
+ allowed: Array<{
1403
+ template: string;
1404
+ name: string;
1405
+ }>;
1406
+ };
1111
1407
  computer_id?: string;
1112
1408
  subagent_model?: string | null;
1113
1409
  subagents?: Array<{
@@ -1200,6 +1496,7 @@ export declare function createAgent(transport: Transport): {
1200
1496
  allowManagedHooksOnly?: boolean;
1201
1497
  allowManagedMcpServersOnly?: boolean;
1202
1498
  allowManagedPermissionRulesOnly?: boolean;
1499
+ idleCompaction?: boolean;
1203
1500
  autoMemoryEnabled?: boolean;
1204
1501
  disabled?: {
1205
1502
  subagents?: Array<string>;
@@ -1208,7 +1505,6 @@ export declare function createAgent(transport: Transport): {
1208
1505
  mcpServers?: Array<string>;
1209
1506
  hooks?: Array<string>;
1210
1507
  };
1211
- idleCompaction?: boolean;
1212
1508
  outputStyle?: string;
1213
1509
  } | null;
1214
1510
  models?: {
@@ -1242,6 +1538,7 @@ export declare function createAgent(transport: Transport): {
1242
1538
  speed?: "standard" | "fast";
1243
1539
  settings?: {
1244
1540
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1541
+ max_output_tokens?: number;
1245
1542
  };
1246
1543
  };
1247
1544
  multiagent?: null | Types.AgentManaged39;
@@ -1271,11 +1568,18 @@ export declare function createAgent(transport: Transport): {
1271
1568
  readonly verified?: boolean;
1272
1569
  enabled?: boolean;
1273
1570
  } | {
1274
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
1571
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1275
1572
  readonly verified?: boolean;
1276
1573
  enabled?: boolean;
1277
1574
  }>;
1278
- kind: "general" | "personal" | "service" | "assume";
1575
+ kind: "general" | "service" | "assume";
1576
+ computers?: {
1577
+ default: string;
1578
+ allowed: Array<{
1579
+ template: string;
1580
+ name: string;
1581
+ }>;
1582
+ };
1279
1583
  computer_id?: string;
1280
1584
  subagent_model?: string | null;
1281
1585
  subagents?: Array<{
@@ -1368,6 +1672,7 @@ export declare function createAgent(transport: Transport): {
1368
1672
  allowManagedHooksOnly?: boolean;
1369
1673
  allowManagedMcpServersOnly?: boolean;
1370
1674
  allowManagedPermissionRulesOnly?: boolean;
1675
+ idleCompaction?: boolean;
1371
1676
  autoMemoryEnabled?: boolean;
1372
1677
  disabled?: {
1373
1678
  subagents?: Array<string>;
@@ -1376,7 +1681,6 @@ export declare function createAgent(transport: Transport): {
1376
1681
  mcpServers?: Array<string>;
1377
1682
  hooks?: Array<string>;
1378
1683
  };
1379
- idleCompaction?: boolean;
1380
1684
  outputStyle?: string;
1381
1685
  } | null;
1382
1686
  models?: {
@@ -1395,28 +1699,240 @@ export declare function createAgent(transport: Transport): {
1395
1699
  keep_coding_instructions?: boolean;
1396
1700
  }> | null;
1397
1701
  }>;
1702
+ updateEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.UpdateAgentEmbedPolicyData>) => Promise<{
1703
+ allowed_origins: Array<string>;
1704
+ allow_localhost: boolean;
1705
+ uploads: {
1706
+ enabled: boolean;
1707
+ max_file_bytes: number;
1708
+ max_files_per_session: number;
1709
+ };
1710
+ }>;
1398
1711
  versions: {
1399
1712
  apply: (options: import("./core/transport.js").CallOptions<Types.ApplyAgentVersionData>) => Promise<{
1400
1713
  id: string;
1401
1714
  archived_at: null | string;
1402
1715
  created_at: string;
1403
1716
  description: null | string;
1404
- mcp_servers: Array<Types.AgentManaged36>;
1405
- metadata: Types.AgentManaged37;
1717
+ mcp_servers: Array<{
1718
+ type: "url";
1719
+ name: string;
1720
+ url: string;
1721
+ headers?: {
1722
+ [key: string]: string;
1723
+ };
1724
+ timeout_ms?: number;
1725
+ } | {
1726
+ type: "sse";
1727
+ name: string;
1728
+ url: string;
1729
+ headers?: {
1730
+ [key: string]: string;
1731
+ };
1732
+ timeout_ms?: number;
1733
+ } | {
1734
+ type: "stdio";
1735
+ name: string;
1736
+ command: string;
1737
+ args?: Array<string>;
1738
+ env?: {
1739
+ [key: string]: string;
1740
+ };
1741
+ timeout_ms?: number;
1742
+ }>;
1743
+ metadata: {
1744
+ [key: string]: string;
1745
+ };
1406
1746
  model?: {
1407
1747
  id: string;
1408
- effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
1748
+ effort?: {
1749
+ type: "low";
1750
+ } | {
1751
+ type: "medium";
1752
+ } | {
1753
+ type: "high";
1754
+ } | {
1755
+ type: "xhigh";
1756
+ } | {
1757
+ type: "max";
1758
+ };
1409
1759
  inference_geo?: string;
1410
1760
  speed?: "standard" | "fast";
1411
1761
  settings?: {
1412
1762
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1763
+ max_output_tokens?: number;
1764
+ };
1765
+ };
1766
+ multiagent?: null | {
1767
+ agents: Array<{
1768
+ id: string;
1769
+ type: "agent";
1770
+ version: number;
1771
+ } | {
1772
+ model: string;
1773
+ type: "advisor";
1774
+ }>;
1775
+ type: "coordinator";
1776
+ };
1777
+ name: string;
1778
+ skills: Array<{
1779
+ skill_id: string;
1780
+ type: "anthropic";
1781
+ version: string;
1782
+ } | {
1783
+ skill_id: string;
1784
+ type: "custom";
1785
+ version: string;
1786
+ }>;
1787
+ system: null | string;
1788
+ tools: Array<{
1789
+ configs: Array<{
1790
+ enabled: boolean;
1791
+ name: "bash";
1792
+ permission_policy: {
1793
+ type: "always_allow";
1794
+ } | {
1795
+ type: "always_ask";
1796
+ } | {
1797
+ type: "auto";
1798
+ };
1799
+ type: "bash";
1800
+ } | {
1801
+ enabled: boolean;
1802
+ name: "edit";
1803
+ permission_policy: {
1804
+ type: "always_allow";
1805
+ } | {
1806
+ type: "always_ask";
1807
+ } | {
1808
+ type: "auto";
1809
+ };
1810
+ type: "edit";
1811
+ } | {
1812
+ enabled: boolean;
1813
+ name: "read";
1814
+ permission_policy: {
1815
+ type: "always_allow";
1816
+ } | {
1817
+ type: "always_ask";
1818
+ } | {
1819
+ type: "auto";
1820
+ };
1821
+ type: "read";
1822
+ } | {
1823
+ enabled: boolean;
1824
+ name: "write";
1825
+ permission_policy: {
1826
+ type: "always_allow";
1827
+ } | {
1828
+ type: "always_ask";
1829
+ } | {
1830
+ type: "auto";
1831
+ };
1832
+ type: "write";
1833
+ } | {
1834
+ enabled: boolean;
1835
+ name: "glob";
1836
+ permission_policy: {
1837
+ type: "always_allow";
1838
+ } | {
1839
+ type: "always_ask";
1840
+ } | {
1841
+ type: "auto";
1842
+ };
1843
+ type: "glob";
1844
+ } | {
1845
+ enabled: boolean;
1846
+ name: "grep";
1847
+ permission_policy: {
1848
+ type: "always_allow";
1849
+ } | {
1850
+ type: "always_ask";
1851
+ } | {
1852
+ type: "auto";
1853
+ };
1854
+ type: "grep";
1855
+ } | {
1856
+ enabled: boolean;
1857
+ name: "web_fetch";
1858
+ permission_policy: {
1859
+ type: "always_allow";
1860
+ } | {
1861
+ type: "always_ask";
1862
+ } | {
1863
+ type: "auto";
1864
+ };
1865
+ type: "web_fetch";
1866
+ allowed_domains?: Array<string>;
1867
+ blocked_domains?: Array<string>;
1868
+ max_content_tokens?: null | number;
1869
+ } | {
1870
+ enabled: boolean;
1871
+ name: "web_search";
1872
+ permission_policy: {
1873
+ type: "always_allow";
1874
+ } | {
1875
+ type: "always_ask";
1876
+ } | {
1877
+ type: "auto";
1878
+ };
1879
+ type: "web_search";
1880
+ allowed_domains?: Array<string>;
1881
+ blocked_domains?: Array<string>;
1882
+ user_location?: null | {
1883
+ type: "approximate";
1884
+ city?: null | string;
1885
+ country?: null | string;
1886
+ region?: null | string;
1887
+ timezone?: null | string;
1888
+ };
1889
+ } | {
1890
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
1891
+ enabled: boolean;
1892
+ permission_policy: {
1893
+ type: "always_allow" | "always_ask";
1894
+ };
1895
+ }>;
1896
+ default_config: {
1897
+ enabled: boolean;
1898
+ permission_policy: {
1899
+ type: "always_allow";
1900
+ } | {
1901
+ type: "always_ask";
1902
+ } | {
1903
+ type: "auto";
1904
+ };
1905
+ };
1906
+ type: "agent_toolset_20260401";
1907
+ } | {
1908
+ type: "mcp_toolset";
1909
+ mcp_server_name: string;
1910
+ default_config?: {
1911
+ enabled?: boolean | null;
1912
+ permission_policy?: null | {
1913
+ type: "always_allow" | "always_ask";
1914
+ };
1915
+ } | null;
1916
+ configs?: Array<{
1917
+ name: string;
1918
+ enabled?: boolean | null;
1919
+ permission_policy?: null | {
1920
+ type: "always_allow" | "always_ask";
1921
+ };
1922
+ }> | null;
1923
+ } | {
1924
+ description: string;
1925
+ input_schema: {
1926
+ type: "object";
1927
+ properties?: null | {
1928
+ [key: string]: unknown;
1929
+ };
1930
+ required?: null | Array<string>;
1931
+ [key: string]: unknown;
1413
1932
  };
1414
- };
1415
- multiagent?: null | Types.AgentManaged39;
1416
- name: string;
1417
- skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
1418
- system: null | string;
1419
- tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
1933
+ name: string;
1934
+ type: "custom";
1935
+ }>;
1420
1936
  type: "agent";
1421
1937
  updated_at: string;
1422
1938
  version: number;
@@ -1439,11 +1955,18 @@ export declare function createAgent(transport: Transport): {
1439
1955
  readonly verified?: boolean;
1440
1956
  enabled?: boolean;
1441
1957
  } | {
1442
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
1958
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1443
1959
  readonly verified?: boolean;
1444
1960
  enabled?: boolean;
1445
1961
  }>;
1446
- kind: "general" | "personal" | "service" | "assume";
1962
+ kind: "general" | "service" | "assume";
1963
+ computers?: {
1964
+ default: string;
1965
+ allowed: Array<{
1966
+ template: string;
1967
+ name: string;
1968
+ }>;
1969
+ };
1447
1970
  computer_id?: string;
1448
1971
  subagent_model?: string | null;
1449
1972
  subagents?: Array<{
@@ -1536,6 +2059,7 @@ export declare function createAgent(transport: Transport): {
1536
2059
  allowManagedHooksOnly?: boolean;
1537
2060
  allowManagedMcpServersOnly?: boolean;
1538
2061
  allowManagedPermissionRulesOnly?: boolean;
2062
+ idleCompaction?: boolean;
1539
2063
  autoMemoryEnabled?: boolean;
1540
2064
  disabled?: {
1541
2065
  subagents?: Array<string>;
@@ -1544,7 +2068,6 @@ export declare function createAgent(transport: Transport): {
1544
2068
  mcpServers?: Array<string>;
1545
2069
  hooks?: Array<string>;
1546
2070
  };
1547
- idleCompaction?: boolean;
1548
2071
  outputStyle?: string;
1549
2072
  } | null;
1550
2073
  models?: {
@@ -1578,6 +2101,7 @@ export declare function createAgent(transport: Transport): {
1578
2101
  speed?: "standard" | "fast";
1579
2102
  settings?: {
1580
2103
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2104
+ max_output_tokens?: number;
1581
2105
  };
1582
2106
  };
1583
2107
  multiagent?: null | Types.AgentManaged39;
@@ -1607,11 +2131,18 @@ export declare function createAgent(transport: Transport): {
1607
2131
  readonly verified?: boolean;
1608
2132
  enabled?: boolean;
1609
2133
  } | {
1610
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
2134
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1611
2135
  readonly verified?: boolean;
1612
2136
  enabled?: boolean;
1613
2137
  }>;
1614
- kind: "general" | "personal" | "service" | "assume";
2138
+ kind: "general" | "service" | "assume";
2139
+ computers?: {
2140
+ default: string;
2141
+ allowed: Array<{
2142
+ template: string;
2143
+ name: string;
2144
+ }>;
2145
+ };
1615
2146
  computer_id?: string;
1616
2147
  subagent_model?: string | null;
1617
2148
  subagents?: Array<{
@@ -1704,6 +2235,7 @@ export declare function createAgent(transport: Transport): {
1704
2235
  allowManagedHooksOnly?: boolean;
1705
2236
  allowManagedMcpServersOnly?: boolean;
1706
2237
  allowManagedPermissionRulesOnly?: boolean;
2238
+ idleCompaction?: boolean;
1707
2239
  autoMemoryEnabled?: boolean;
1708
2240
  disabled?: {
1709
2241
  subagents?: Array<string>;
@@ -1712,7 +2244,6 @@ export declare function createAgent(transport: Transport): {
1712
2244
  mcpServers?: Array<string>;
1713
2245
  hooks?: Array<string>;
1714
2246
  };
1715
- idleCompaction?: boolean;
1716
2247
  outputStyle?: string;
1717
2248
  } | null;
1718
2249
  models?: {
@@ -1787,16 +2318,9 @@ export declare function createAgent(transport: Transport): {
1787
2318
  files: {
1788
2319
  convert: {
1789
2320
  create: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesConvertData>) => Promise<{
1790
- type: "computer";
1791
- id: string;
1792
- name: string;
1793
- sandbox_id: string | null;
1794
- machine_state: "not_started" | "provisioned";
1795
- environment_id: string | null;
1796
- status: "active" | "archived";
1797
- created_at: string;
1798
- updated_at: string;
1799
- archived_at: string | null;
2321
+ data: string;
2322
+ mime: "application/pdf";
2323
+ cached: boolean;
1800
2324
  }>;
1801
2325
  };
1802
2326
  list: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesListData>) => Promise<{
@@ -2109,57 +2633,589 @@ export declare function createAgent(transport: Transport): {
2109
2633
  target: {
2110
2634
  type: "environment" | "computer";
2111
2635
  };
2112
- }>;
2113
- };
2114
- update: (options: import("./core/transport.js").CallOptions<Types.DeploymentsUpdateData>) => Promise<{
2115
- id: string;
2116
- agent: {
2117
- id: string;
2118
- type: "agent";
2119
- version: number;
2120
- } | {
2121
- id: string;
2122
- type: "agent_with_overrides";
2123
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2124
- cwd?: string;
2125
- model?: string | {
2636
+ }>;
2637
+ };
2638
+ update: (options: import("./core/transport.js").CallOptions<Types.DeploymentsUpdateData>) => Promise<{
2639
+ id: string;
2640
+ agent: {
2641
+ id: string;
2642
+ type: "agent";
2643
+ version: number;
2644
+ } | {
2645
+ id: string;
2646
+ type: "agent_with_overrides";
2647
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2648
+ cwd?: string;
2649
+ model?: string | {
2650
+ id: string;
2651
+ effort?: null | "low" | "medium" | "high" | "xhigh" | "max" | Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
2652
+ speed?: null | "standard" | "fast";
2653
+ };
2654
+ version: number;
2655
+ };
2656
+ archived_at: null | string;
2657
+ created_at: string;
2658
+ description: null | string;
2659
+ environment_id?: string | null;
2660
+ initial_events: Array<Types.AgentManaged86 | Types.AgentManaged87 | Types.AgentManaged90>;
2661
+ metadata: Types.AgentManaged91;
2662
+ name: string;
2663
+ paused_reason: null | Types.AgentManaged92 | Types.AgentManaged93;
2664
+ resources: Array<Types.AgentManaged108 | Types.AgentManaged109 | Types.AgentManaged110>;
2665
+ schedule: null | Types.AgentManaged111;
2666
+ status: "active" | "paused";
2667
+ type: "deployment";
2668
+ updated_at: string;
2669
+ vault_ids: Array<string>;
2670
+ budget?: null | Types.AgentManaged76;
2671
+ target: {
2672
+ type: "environment" | "computer";
2673
+ };
2674
+ }>;
2675
+ };
2676
+ environments: {
2677
+ archive: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsArchiveData>) => Promise<Types.AgentManaged138>;
2678
+ create: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsCreateData>) => Promise<Types.AgentManaged138>;
2679
+ list: (options?: import("./core/transport.js").CallOptions<Types.EnvironmentsListData> | undefined) => Promise<{
2680
+ data: Array<Types.AgentManaged138>;
2681
+ next_page: string | null;
2682
+ }>;
2683
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsRetrieveData>) => Promise<Types.AgentManaged138>;
2684
+ update: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsUpdateData>) => Promise<Types.AgentManaged138>;
2685
+ };
2686
+ sessions: {
2687
+ agentVersion: {
2688
+ create: (options: import("./core/transport.js").CallOptions<Types.UpdateSessionAgentVersionData>) => Promise<{
2689
+ id: string;
2690
+ agent: {
2691
+ id: string;
2692
+ description: null | string;
2693
+ mcp_servers: Array<{
2694
+ type: "url";
2695
+ name: string;
2696
+ url: string;
2697
+ headers?: {
2698
+ [key: string]: string;
2699
+ };
2700
+ timeout_ms?: number;
2701
+ } | {
2702
+ type: "sse";
2703
+ name: string;
2704
+ url: string;
2705
+ headers?: {
2706
+ [key: string]: string;
2707
+ };
2708
+ timeout_ms?: number;
2709
+ } | {
2710
+ type: "stdio";
2711
+ name: string;
2712
+ command: string;
2713
+ args?: Array<string>;
2714
+ env?: {
2715
+ [key: string]: string;
2716
+ };
2717
+ timeout_ms?: number;
2718
+ }>;
2719
+ model: {
2720
+ id: string;
2721
+ effort?: {
2722
+ type: "low";
2723
+ } | {
2724
+ type: "medium";
2725
+ } | {
2726
+ type: "high";
2727
+ } | {
2728
+ type: "xhigh";
2729
+ } | {
2730
+ type: "max";
2731
+ };
2732
+ inference_geo?: string;
2733
+ speed?: "standard" | "fast";
2734
+ settings?: {
2735
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2736
+ max_output_tokens?: number;
2737
+ };
2738
+ };
2739
+ multiagent: null | {
2740
+ agents: Array<{
2741
+ model: string;
2742
+ type: "advisor";
2743
+ } | {
2744
+ id: string;
2745
+ description: null | string;
2746
+ mcp_servers: Array<{
2747
+ type: "url";
2748
+ name: string;
2749
+ url: string;
2750
+ headers?: {
2751
+ [key: string]: string;
2752
+ };
2753
+ timeout_ms?: number;
2754
+ } | {
2755
+ type: "sse";
2756
+ name: string;
2757
+ url: string;
2758
+ headers?: {
2759
+ [key: string]: string;
2760
+ };
2761
+ timeout_ms?: number;
2762
+ } | {
2763
+ type: "stdio";
2764
+ name: string;
2765
+ command: string;
2766
+ args?: Array<string>;
2767
+ env?: {
2768
+ [key: string]: string;
2769
+ };
2770
+ timeout_ms?: number;
2771
+ }>;
2772
+ model: {
2773
+ id: string;
2774
+ effort?: {
2775
+ type: "low";
2776
+ } | {
2777
+ type: "medium";
2778
+ } | {
2779
+ type: "high";
2780
+ } | {
2781
+ type: "xhigh";
2782
+ } | {
2783
+ type: "max";
2784
+ };
2785
+ inference_geo?: string;
2786
+ speed?: "standard" | "fast";
2787
+ };
2788
+ name: string;
2789
+ skills: Array<{
2790
+ skill_id: string;
2791
+ type: "anthropic";
2792
+ version: string;
2793
+ } | {
2794
+ skill_id: string;
2795
+ type: "custom";
2796
+ version: string;
2797
+ }>;
2798
+ system: null | string;
2799
+ tools: Array<{
2800
+ configs: Array<{
2801
+ enabled: boolean;
2802
+ name: "bash";
2803
+ permission_policy: {
2804
+ type: "always_allow";
2805
+ } | {
2806
+ type: "always_ask";
2807
+ } | {
2808
+ type: "auto";
2809
+ };
2810
+ type: "bash";
2811
+ } | {
2812
+ enabled: boolean;
2813
+ name: "edit";
2814
+ permission_policy: {
2815
+ type: "always_allow";
2816
+ } | {
2817
+ type: "always_ask";
2818
+ } | {
2819
+ type: "auto";
2820
+ };
2821
+ type: "edit";
2822
+ } | {
2823
+ enabled: boolean;
2824
+ name: "read";
2825
+ permission_policy: {
2826
+ type: "always_allow";
2827
+ } | {
2828
+ type: "always_ask";
2829
+ } | {
2830
+ type: "auto";
2831
+ };
2832
+ type: "read";
2833
+ } | {
2834
+ enabled: boolean;
2835
+ name: "write";
2836
+ permission_policy: {
2837
+ type: "always_allow";
2838
+ } | {
2839
+ type: "always_ask";
2840
+ } | {
2841
+ type: "auto";
2842
+ };
2843
+ type: "write";
2844
+ } | {
2845
+ enabled: boolean;
2846
+ name: "glob";
2847
+ permission_policy: {
2848
+ type: "always_allow";
2849
+ } | {
2850
+ type: "always_ask";
2851
+ } | {
2852
+ type: "auto";
2853
+ };
2854
+ type: "glob";
2855
+ } | {
2856
+ enabled: boolean;
2857
+ name: "grep";
2858
+ permission_policy: {
2859
+ type: "always_allow";
2860
+ } | {
2861
+ type: "always_ask";
2862
+ } | {
2863
+ type: "auto";
2864
+ };
2865
+ type: "grep";
2866
+ } | {
2867
+ enabled: boolean;
2868
+ name: "web_fetch";
2869
+ permission_policy: {
2870
+ type: "always_allow";
2871
+ } | {
2872
+ type: "always_ask";
2873
+ } | {
2874
+ type: "auto";
2875
+ };
2876
+ type: "web_fetch";
2877
+ allowed_domains?: Array<string>;
2878
+ blocked_domains?: Array<string>;
2879
+ max_content_tokens?: null | number;
2880
+ } | {
2881
+ enabled: boolean;
2882
+ name: "web_search";
2883
+ permission_policy: {
2884
+ type: "always_allow";
2885
+ } | {
2886
+ type: "always_ask";
2887
+ } | {
2888
+ type: "auto";
2889
+ };
2890
+ type: "web_search";
2891
+ allowed_domains?: Array<string>;
2892
+ blocked_domains?: Array<string>;
2893
+ user_location?: null | {
2894
+ type: "approximate";
2895
+ city?: null | string;
2896
+ country?: null | string;
2897
+ region?: null | string;
2898
+ timezone?: null | string;
2899
+ };
2900
+ } | {
2901
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
2902
+ enabled: boolean;
2903
+ permission_policy: {
2904
+ type: "always_allow" | "always_ask";
2905
+ };
2906
+ }>;
2907
+ default_config: {
2908
+ enabled: boolean;
2909
+ permission_policy: {
2910
+ type: "always_allow";
2911
+ } | {
2912
+ type: "always_ask";
2913
+ } | {
2914
+ type: "auto";
2915
+ };
2916
+ };
2917
+ type: "agent_toolset_20260401";
2918
+ } | {
2919
+ type: "mcp_toolset";
2920
+ mcp_server_name: string;
2921
+ default_config?: {
2922
+ enabled?: boolean | null;
2923
+ permission_policy?: null | {
2924
+ type: "always_allow" | "always_ask";
2925
+ };
2926
+ } | null;
2927
+ configs?: Array<{
2928
+ name: string;
2929
+ enabled?: boolean | null;
2930
+ permission_policy?: null | {
2931
+ type: "always_allow" | "always_ask";
2932
+ };
2933
+ }> | null;
2934
+ } | {
2935
+ description: string;
2936
+ input_schema: {
2937
+ type: "object";
2938
+ properties?: null | {
2939
+ [key: string]: unknown;
2940
+ };
2941
+ required?: null | Array<string>;
2942
+ [key: string]: unknown;
2943
+ };
2944
+ name: string;
2945
+ type: "custom";
2946
+ }>;
2947
+ type: "agent";
2948
+ version: number;
2949
+ }>;
2950
+ type: "coordinator";
2951
+ };
2952
+ name: string;
2953
+ skills: Array<{
2954
+ skill_id: string;
2955
+ type: "anthropic";
2956
+ version: string;
2957
+ } | {
2958
+ skill_id: string;
2959
+ type: "custom";
2960
+ version: string;
2961
+ }>;
2962
+ system: null | string;
2963
+ tools: Array<{
2964
+ configs: Array<{
2965
+ enabled: boolean;
2966
+ name: "bash";
2967
+ permission_policy: {
2968
+ type: "always_allow";
2969
+ } | {
2970
+ type: "always_ask";
2971
+ } | {
2972
+ type: "auto";
2973
+ };
2974
+ type: "bash";
2975
+ } | {
2976
+ enabled: boolean;
2977
+ name: "edit";
2978
+ permission_policy: {
2979
+ type: "always_allow";
2980
+ } | {
2981
+ type: "always_ask";
2982
+ } | {
2983
+ type: "auto";
2984
+ };
2985
+ type: "edit";
2986
+ } | {
2987
+ enabled: boolean;
2988
+ name: "read";
2989
+ permission_policy: {
2990
+ type: "always_allow";
2991
+ } | {
2992
+ type: "always_ask";
2993
+ } | {
2994
+ type: "auto";
2995
+ };
2996
+ type: "read";
2997
+ } | {
2998
+ enabled: boolean;
2999
+ name: "write";
3000
+ permission_policy: {
3001
+ type: "always_allow";
3002
+ } | {
3003
+ type: "always_ask";
3004
+ } | {
3005
+ type: "auto";
3006
+ };
3007
+ type: "write";
3008
+ } | {
3009
+ enabled: boolean;
3010
+ name: "glob";
3011
+ permission_policy: {
3012
+ type: "always_allow";
3013
+ } | {
3014
+ type: "always_ask";
3015
+ } | {
3016
+ type: "auto";
3017
+ };
3018
+ type: "glob";
3019
+ } | {
3020
+ enabled: boolean;
3021
+ name: "grep";
3022
+ permission_policy: {
3023
+ type: "always_allow";
3024
+ } | {
3025
+ type: "always_ask";
3026
+ } | {
3027
+ type: "auto";
3028
+ };
3029
+ type: "grep";
3030
+ } | {
3031
+ enabled: boolean;
3032
+ name: "web_fetch";
3033
+ permission_policy: {
3034
+ type: "always_allow";
3035
+ } | {
3036
+ type: "always_ask";
3037
+ } | {
3038
+ type: "auto";
3039
+ };
3040
+ type: "web_fetch";
3041
+ allowed_domains?: Array<string>;
3042
+ blocked_domains?: Array<string>;
3043
+ max_content_tokens?: null | number;
3044
+ } | {
3045
+ enabled: boolean;
3046
+ name: "web_search";
3047
+ permission_policy: {
3048
+ type: "always_allow";
3049
+ } | {
3050
+ type: "always_ask";
3051
+ } | {
3052
+ type: "auto";
3053
+ };
3054
+ type: "web_search";
3055
+ allowed_domains?: Array<string>;
3056
+ blocked_domains?: Array<string>;
3057
+ user_location?: null | {
3058
+ type: "approximate";
3059
+ city?: null | string;
3060
+ country?: null | string;
3061
+ region?: null | string;
3062
+ timezone?: null | string;
3063
+ };
3064
+ } | {
3065
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
3066
+ enabled: boolean;
3067
+ permission_policy: {
3068
+ type: "always_allow" | "always_ask";
3069
+ };
3070
+ }>;
3071
+ default_config: {
3072
+ enabled: boolean;
3073
+ permission_policy: {
3074
+ type: "always_allow";
3075
+ } | {
3076
+ type: "always_ask";
3077
+ } | {
3078
+ type: "auto";
3079
+ };
3080
+ };
3081
+ type: "agent_toolset_20260401";
3082
+ } | {
3083
+ type: "mcp_toolset";
3084
+ mcp_server_name: string;
3085
+ default_config?: {
3086
+ enabled?: boolean | null;
3087
+ permission_policy?: null | {
3088
+ type: "always_allow" | "always_ask";
3089
+ };
3090
+ } | null;
3091
+ configs?: Array<{
3092
+ name: string;
3093
+ enabled?: boolean | null;
3094
+ permission_policy?: null | {
3095
+ type: "always_allow" | "always_ask";
3096
+ };
3097
+ }> | null;
3098
+ } | {
3099
+ description: string;
3100
+ input_schema: {
3101
+ type: "object";
3102
+ properties?: null | {
3103
+ [key: string]: unknown;
3104
+ };
3105
+ required?: null | Array<string>;
3106
+ [key: string]: unknown;
3107
+ };
3108
+ name: string;
3109
+ type: "custom";
3110
+ }>;
3111
+ type: "agent";
3112
+ version: number;
3113
+ };
3114
+ archived_at: null | string;
3115
+ budget: null | {
3116
+ max_list_cost: {
3117
+ amount: string;
3118
+ currency: "USD";
3119
+ };
3120
+ type: "limit";
3121
+ };
3122
+ created_at: string;
3123
+ environment_id?: string;
3124
+ metadata: {
3125
+ [key: string]: string;
3126
+ };
3127
+ outcome_evaluations: Array<{
3128
+ completed_at: null | string;
3129
+ description: string;
3130
+ explanation: null | string;
3131
+ iteration: number;
3132
+ outcome_id: string;
3133
+ result: string;
3134
+ type: "outcome_evaluation";
3135
+ }>;
3136
+ resources: Array<{
3137
+ id: string;
3138
+ created_at: string;
3139
+ mount_path: string;
3140
+ type: "github_repository";
3141
+ updated_at: string;
3142
+ url: string;
3143
+ checkout?: null | {
3144
+ name: string;
3145
+ type: "branch";
3146
+ } | {
3147
+ sha: string;
3148
+ type: "commit";
3149
+ };
3150
+ } | {
3151
+ id: string;
3152
+ created_at: string;
3153
+ file_id: string;
3154
+ mount_path: string;
3155
+ type: "file";
3156
+ updated_at: string;
3157
+ } | {
3158
+ memory_store_id: string;
3159
+ type: "memory_store";
3160
+ access?: null | "read_write" | "read_only";
3161
+ description?: string;
3162
+ instructions?: null | string;
3163
+ mount_path?: null | string;
3164
+ name?: null | string;
3165
+ }>;
3166
+ stats: {
3167
+ active_seconds?: number;
3168
+ duration_seconds?: number;
3169
+ };
3170
+ status: "rescheduling" | "running" | "idle" | "terminated";
3171
+ title: null | string;
3172
+ type: "session";
3173
+ updated_at: string;
3174
+ usage: {
3175
+ active_seconds?: number;
3176
+ cache_creation?: {
3177
+ ephemeral_1h_input_tokens?: number;
3178
+ ephemeral_5m_input_tokens?: number;
3179
+ };
3180
+ cache_read_input_tokens?: number;
3181
+ input_tokens?: number;
3182
+ list_cost?: null | {
3183
+ amount: string;
3184
+ currency: "USD";
3185
+ };
3186
+ output_tokens?: number;
3187
+ server_tool_use?: null | {
3188
+ web_fetch_requests?: number;
3189
+ web_search_requests?: number;
3190
+ };
3191
+ cost_by_product?: {
3192
+ [key: string]: string;
3193
+ };
3194
+ subagent_cost_micro_usd?: number;
3195
+ };
3196
+ vault_ids: Array<string>;
3197
+ deployment_id?: null | string;
3198
+ cwd: string;
3199
+ computer_id?: string;
3200
+ model?: {
2126
3201
  id: string;
2127
- effort?: null | "low" | "medium" | "high" | "xhigh" | "max" | Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
2128
- speed?: null | "standard" | "fast";
3202
+ thinking: {
3203
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
3204
+ can_disable: boolean;
3205
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
3206
+ } | null;
2129
3207
  };
2130
- version: number;
2131
- };
2132
- archived_at: null | string;
2133
- created_at: string;
2134
- description: null | string;
2135
- environment_id?: string | null;
2136
- initial_events: Array<Types.AgentManaged86 | Types.AgentManaged87 | Types.AgentManaged90>;
2137
- metadata: Types.AgentManaged91;
2138
- name: string;
2139
- paused_reason: null | Types.AgentManaged92 | Types.AgentManaged93;
2140
- resources: Array<Types.AgentManaged108 | Types.AgentManaged109 | Types.AgentManaged110>;
2141
- schedule: null | Types.AgentManaged111;
2142
- status: "active" | "paused";
2143
- type: "deployment";
2144
- updated_at: string;
2145
- vault_ids: Array<string>;
2146
- budget?: null | Types.AgentManaged76;
2147
- target: {
2148
- type: "environment" | "computer";
2149
- };
2150
- }>;
2151
- };
2152
- environments: {
2153
- archive: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsArchiveData>) => Promise<Types.AgentManaged138>;
2154
- create: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsCreateData>) => Promise<Types.AgentManaged138>;
2155
- list: (options?: import("./core/transport.js").CallOptions<Types.EnvironmentsListData> | undefined) => Promise<{
2156
- data: Array<Types.AgentManaged138>;
2157
- next_page: string | null;
2158
- }>;
2159
- retrieve: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsRetrieveData>) => Promise<Types.AgentManaged138>;
2160
- update: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsUpdateData>) => Promise<Types.AgentManaged138>;
2161
- };
2162
- sessions: {
3208
+ thinking?: {
3209
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3210
+ } | null;
3211
+ forked_from?: {
3212
+ session_id: string;
3213
+ message_id: string;
3214
+ } | null;
3215
+ readonly external_user_id: string | null;
3216
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
3217
+ }>;
3218
+ };
2163
3219
  archive: (options: import("./core/transport.js").CallOptions<Types.SessionsArchiveData>) => Promise<{
2164
3220
  id: string;
2165
3221
  agent: {
@@ -2173,6 +3229,7 @@ export declare function createAgent(transport: Transport): {
2173
3229
  speed?: "standard" | "fast";
2174
3230
  settings?: {
2175
3231
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3232
+ max_output_tokens?: number;
2176
3233
  };
2177
3234
  };
2178
3235
  multiagent: null | Types.AgentManaged171;
@@ -2218,6 +3275,40 @@ export declare function createAgent(transport: Transport): {
2218
3275
  readonly external_user_id: string | null;
2219
3276
  readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
2220
3277
  }>;
3278
+ artifacts: {
3279
+ contentUrl: {
3280
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateSessionArtifactContentUrlData>) => Promise<{
3281
+ url: string;
3282
+ expire_time: string;
3283
+ }>;
3284
+ };
3285
+ list: (options: import("./core/transport.js").CallOptions<Types.ListSessionArtifactsData>) => Promise<{
3286
+ data: Array<{
3287
+ object: "artifact";
3288
+ id: string;
3289
+ session_id: string;
3290
+ run_id: string | null;
3291
+ name: string;
3292
+ version: number;
3293
+ parts: Array<{
3294
+ kind: "file";
3295
+ file_id: string;
3296
+ filename: string;
3297
+ mime_type: string;
3298
+ bytes: number;
3299
+ } | {
3300
+ kind: "object";
3301
+ object_type: "canvas" | "media_asset";
3302
+ object_id: string;
3303
+ href: string;
3304
+ title: string | null;
3305
+ }>;
3306
+ source_hrefs: Array<string>;
3307
+ create_time: string;
3308
+ update_time: string;
3309
+ }>;
3310
+ }>;
3311
+ };
2221
3312
  backgroundTasks: {
2222
3313
  list: (options: import("./core/transport.js").CallOptions<Types.ListSessionBackgroundTasksData>) => Promise<{
2223
3314
  data: Array<{
@@ -2300,6 +3391,7 @@ export declare function createAgent(transport: Transport): {
2300
3391
  speed?: "standard" | "fast";
2301
3392
  settings?: {
2302
3393
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3394
+ max_output_tokens?: number;
2303
3395
  };
2304
3396
  };
2305
3397
  multiagent: null | Types.AgentManaged171;
@@ -2386,7 +3478,6 @@ export declare function createAgent(transport: Transport): {
2386
3478
  run_id: string | null;
2387
3479
  message_id?: string;
2388
3480
  } | {
2389
- full_access_available?: boolean;
2390
3481
  id: string;
2391
3482
  input: Types.AgentManaged197;
2392
3483
  mcp_server_name: string;
@@ -2396,6 +3487,18 @@ export declare function createAgent(transport: Transport): {
2396
3487
  evaluated_permission?: "allow" | "deny" | "ask";
2397
3488
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2398
3489
  session_thread_id?: null | string;
3490
+ permission_suggestions?: Array<{
3491
+ type: "add_rules";
3492
+ behavior: "allow";
3493
+ destination: "agent" | "session";
3494
+ rules: Array<{
3495
+ tool_name: string;
3496
+ rule_content: string;
3497
+ }>;
3498
+ }>;
3499
+ full_access_available?: boolean;
3500
+ user_once?: true;
3501
+ guarded_rule?: string;
2399
3502
  run_id: string | null;
2400
3503
  _meta?: {
2401
3504
  ui?: {
@@ -2409,17 +3512,6 @@ export declare function createAgent(transport: Transport): {
2409
3512
  };
2410
3513
  source?: "app" | "codemode";
2411
3514
  parent_tool_use_id?: string;
2412
- user_once?: true;
2413
- guarded_rule?: string;
2414
- permission_suggestions?: Array<{
2415
- type: "add_rules";
2416
- behavior: "allow";
2417
- destination: "agent" | "session";
2418
- rules: Array<{
2419
- tool_name: string;
2420
- rule_content: string;
2421
- }>;
2422
- }>;
2423
3515
  title?: string;
2424
3516
  input_titles?: {
2425
3517
  [key: string]: string;
@@ -2438,7 +3530,6 @@ export declare function createAgent(transport: Transport): {
2438
3530
  };
2439
3531
  source?: "app" | "codemode";
2440
3532
  } | {
2441
- full_access_available?: boolean;
2442
3533
  id: string;
2443
3534
  input: Types.AgentManaged206;
2444
3535
  name: string;
@@ -2447,9 +3538,6 @@ export declare function createAgent(transport: Transport): {
2447
3538
  evaluated_permission?: "allow" | "deny" | "ask";
2448
3539
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2449
3540
  session_thread_id?: null | string;
2450
- run_id: string | null;
2451
- user_once?: true;
2452
- guarded_rule?: string;
2453
3541
  permission_suggestions?: Array<{
2454
3542
  type: "add_rules";
2455
3543
  behavior: "allow";
@@ -2459,6 +3547,10 @@ export declare function createAgent(transport: Transport): {
2459
3547
  rule_content: string;
2460
3548
  }>;
2461
3549
  }>;
3550
+ full_access_available?: boolean;
3551
+ user_once?: true;
3552
+ guarded_rule?: string;
3553
+ run_id: string | null;
2462
3554
  } | {
2463
3555
  id: string;
2464
3556
  processed_at: string;
@@ -2479,9 +3571,6 @@ export declare function createAgent(transport: Transport): {
2479
3571
  type: "session.status_idle";
2480
3572
  run_id: string | null;
2481
3573
  } | Types.AgentManaged230 | Types.AgentManaged231 | Types.AgentManaged232 | Types.AgentManaged233 | Types.AgentManaged235 | Types.AgentManaged236 | Types.AgentManaged237 | Types.AgentManaged238 | Types.AgentManaged239 | Types.AgentManaged240 | Types.AgentManaged241 | Types.AgentManaged242 | Types.AgentManaged243 | Types.AgentManaged244 | {
2482
- permission_mode_version?: number;
2483
- previous_permission_mode?: string | null;
2484
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2485
3574
  id: string;
2486
3575
  processed_at: string;
2487
3576
  type: "session.updated";
@@ -2489,6 +3578,9 @@ export declare function createAgent(transport: Transport): {
2489
3578
  budget?: null | Types.AgentManaged76;
2490
3579
  metadata?: Types.AgentManaged246;
2491
3580
  title?: null | string;
3581
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
3582
+ previous_permission_mode?: string | null;
3583
+ permission_mode_version?: number;
2492
3584
  model?: {
2493
3585
  id: string;
2494
3586
  };
@@ -2649,6 +3741,7 @@ export declare function createAgent(transport: Transport): {
2649
3741
  speed?: "standard" | "fast";
2650
3742
  settings?: {
2651
3743
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3744
+ max_output_tokens?: number;
2652
3745
  };
2653
3746
  };
2654
3747
  multiagent: null | {
@@ -3144,6 +4237,7 @@ export declare function createAgent(transport: Transport): {
3144
4237
  speed?: "standard" | "fast";
3145
4238
  settings?: {
3146
4239
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4240
+ max_output_tokens?: number;
3147
4241
  };
3148
4242
  };
3149
4243
  multiagent: null | Types.AgentManaged171;
@@ -3191,6 +4285,20 @@ export declare function createAgent(transport: Transport): {
3191
4285
  }>;
3192
4286
  next_page: string | null;
3193
4287
  }>;
4288
+ requests: {
4289
+ list: (options: import("./core/transport.js").CallOptions<Types.ListSessionRequestsData>) => Promise<{
4290
+ data: Array<{
4291
+ id: string;
4292
+ object: "request";
4293
+ kind: "question" | "approval";
4294
+ status: "pending";
4295
+ tool_name: string;
4296
+ input: unknown;
4297
+ create_time: string;
4298
+ expire_time: string | null;
4299
+ }>;
4300
+ }>;
4301
+ };
3194
4302
  resources: {
3195
4303
  create: (options: import("./core/transport.js").CallOptions<Types.SessionsResourcesAddData>) => Promise<Types.AgentManaged176>;
3196
4304
  delete: (options: import("./core/transport.js").CallOptions<RenameParameters<Types.SessionsResourcesDeleteData, {
@@ -3221,6 +4329,7 @@ export declare function createAgent(transport: Transport): {
3221
4329
  speed?: "standard" | "fast";
3222
4330
  settings?: {
3223
4331
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4332
+ max_output_tokens?: number;
3224
4333
  };
3225
4334
  };
3226
4335
  multiagent: null | Types.AgentManaged171;
@@ -3393,7 +4502,6 @@ export declare function createAgent(transport: Transport): {
3393
4502
  run_id: string | null;
3394
4503
  message_id?: string;
3395
4504
  } | {
3396
- full_access_available?: boolean;
3397
4505
  id: string;
3398
4506
  input: Types.AgentManaged197;
3399
4507
  mcp_server_name: string;
@@ -3403,6 +4511,18 @@ export declare function createAgent(transport: Transport): {
3403
4511
  evaluated_permission?: "allow" | "deny" | "ask";
3404
4512
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3405
4513
  session_thread_id?: null | string;
4514
+ permission_suggestions?: Array<{
4515
+ type: "add_rules";
4516
+ behavior: "allow";
4517
+ destination: "agent" | "session";
4518
+ rules: Array<{
4519
+ tool_name: string;
4520
+ rule_content: string;
4521
+ }>;
4522
+ }>;
4523
+ full_access_available?: boolean;
4524
+ user_once?: true;
4525
+ guarded_rule?: string;
3406
4526
  run_id: string | null;
3407
4527
  parent_tool_use_id?: string;
3408
4528
  _meta?: {
@@ -3416,17 +4536,6 @@ export declare function createAgent(transport: Transport): {
3416
4536
  };
3417
4537
  };
3418
4538
  source?: "app" | "codemode";
3419
- user_once?: true;
3420
- guarded_rule?: string;
3421
- permission_suggestions?: Array<{
3422
- type: "add_rules";
3423
- behavior: "allow";
3424
- destination: "agent" | "session";
3425
- rules: Array<{
3426
- tool_name: string;
3427
- rule_content: string;
3428
- }>;
3429
- }>;
3430
4539
  title?: string;
3431
4540
  input_titles?: {
3432
4541
  [key: string]: string;
@@ -3445,7 +4554,6 @@ export declare function createAgent(transport: Transport): {
3445
4554
  };
3446
4555
  source?: "app" | "codemode";
3447
4556
  } | {
3448
- full_access_available?: boolean;
3449
4557
  id: string;
3450
4558
  input: Types.AgentManaged206;
3451
4559
  name: string;
@@ -3454,9 +4562,6 @@ export declare function createAgent(transport: Transport): {
3454
4562
  evaluated_permission?: "allow" | "deny" | "ask";
3455
4563
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3456
4564
  session_thread_id?: null | string;
3457
- run_id: string | null;
3458
- user_once?: true;
3459
- guarded_rule?: string;
3460
4565
  permission_suggestions?: Array<{
3461
4566
  type: "add_rules";
3462
4567
  behavior: "allow";
@@ -3466,6 +4571,10 @@ export declare function createAgent(transport: Transport): {
3466
4571
  rule_content: string;
3467
4572
  }>;
3468
4573
  }>;
4574
+ full_access_available?: boolean;
4575
+ user_once?: true;
4576
+ guarded_rule?: string;
4577
+ run_id: string | null;
3469
4578
  } | {
3470
4579
  id: string;
3471
4580
  processed_at: string;
@@ -3486,9 +4595,6 @@ export declare function createAgent(transport: Transport): {
3486
4595
  type: "session.status_idle";
3487
4596
  run_id: string | null;
3488
4597
  } | Types.AgentManaged230 | Types.AgentManaged231 | Types.AgentManaged232 | Types.AgentManaged233 | Types.AgentManaged235 | Types.AgentManaged236 | Types.AgentManaged237 | Types.AgentManaged238 | Types.AgentManaged239 | Types.AgentManaged240 | Types.AgentManaged241 | Types.AgentManaged242 | Types.AgentManaged243 | Types.AgentManaged244 | {
3489
- permission_mode_version?: number;
3490
- previous_permission_mode?: string | null;
3491
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
3492
4598
  id: string;
3493
4599
  processed_at: string;
3494
4600
  type: "session.updated";
@@ -3496,6 +4602,9 @@ export declare function createAgent(transport: Transport): {
3496
4602
  budget?: null | Types.AgentManaged76;
3497
4603
  metadata?: Types.AgentManaged246;
3498
4604
  title?: null | string;
4605
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
4606
+ previous_permission_mode?: string | null;
4607
+ permission_mode_version?: number;
3499
4608
  model?: {
3500
4609
  id: string;
3501
4610
  };
@@ -3586,6 +4695,7 @@ export declare function createAgent(transport: Transport): {
3586
4695
  speed?: "standard" | "fast";
3587
4696
  settings?: {
3588
4697
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4698
+ max_output_tokens?: number;
3589
4699
  };
3590
4700
  };
3591
4701
  multiagent: null | Types.AgentManaged171;
@@ -3676,6 +4786,29 @@ export declare function createAgent(transport: Transport): {
3676
4786
  next_page: null;
3677
4787
  }>;
3678
4788
  };
4789
+ uploads: {
4790
+ contentUrl: {
4791
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadContentUrlData>) => Promise<{
4792
+ url: string;
4793
+ expires_at: string;
4794
+ }>;
4795
+ };
4796
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadData>) => Promise<{
4797
+ upload_id: string;
4798
+ expires_at: string;
4799
+ url: string;
4800
+ } | {
4801
+ upload_id: string;
4802
+ expires_at: string;
4803
+ part_size: number;
4804
+ parts: Array<{
4805
+ part_number: number;
4806
+ url: string;
4807
+ }>;
4808
+ complete_url: string;
4809
+ status_url: string;
4810
+ }>;
4811
+ };
3679
4812
  };
3680
4813
  export declare function createApplication(transport: Transport): {
3681
4814
  assets: {
@@ -3969,6 +5102,10 @@ export declare function createBrowser(transport: Transport): {
3969
5102
  tab: string;
3970
5103
  url: string;
3971
5104
  title: string;
5105
+ } | {
5106
+ type: "select";
5107
+ tab: string;
5108
+ values: Array<string>;
3972
5109
  } | {
3973
5110
  type: "tabs.list";
3974
5111
  tabs: Array<{
@@ -3995,6 +5132,11 @@ export declare function createBrowser(transport: Transport): {
3995
5132
  type: "evaluate";
3996
5133
  tab: string;
3997
5134
  value: unknown;
5135
+ } | {
5136
+ type: "set_cookie";
5137
+ tab: string;
5138
+ name: string;
5139
+ domain: string;
3998
5140
  }>;
3999
5141
  };
4000
5142
  create: (options: import("./core/transport.js").CallOptions<Types.BrowserCreateSessionData>) => Promise<Types.BrowserSessionCreateResult>;
@@ -4052,6 +5194,24 @@ export declare function createCanvas(transport: Transport): {
4052
5194
  update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCollectionData>) => Promise<Types.CanvasCollection>;
4053
5195
  };
4054
5196
  };
5197
+ export declare function createContent(transport: Transport): {
5198
+ contents: {
5199
+ archive: (options: import("./core/transport.js").CallOptions<Types.ContentArchiveContentData>) => Promise<Types.ContentContent>;
5200
+ create: (options: import("./core/transport.js").CallOptions<Types.ContentCreateContentData>) => Promise<Types.ContentContent>;
5201
+ list: (options?: import("./core/transport.js").CallOptions<Types.ContentListContentsData> | undefined) => Promise<Types.ContentContentPage>;
5202
+ publish: (options: import("./core/transport.js").CallOptions<Types.ContentPublishContentData>) => Promise<Types.ContentContent>;
5203
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetContentData>) => Promise<Types.ContentContent>;
5204
+ unpublish: (options: import("./core/transport.js").CallOptions<Types.ContentUnpublishContentData>) => Promise<Types.ContentContent>;
5205
+ update: (options: import("./core/transport.js").CallOptions<Types.ContentUpdateContentData>) => Promise<Types.ContentContent>;
5206
+ };
5207
+ playbackSessions: {
5208
+ create: (options: import("./core/transport.js").CallOptions<Types.ContentCreatePlaybackSessionData>) => Promise<Types.ContentPlaybackSession>;
5209
+ };
5210
+ versions: {
5211
+ list: (options: import("./core/transport.js").CallOptions<Types.ContentListVersionsData>) => Promise<Types.ContentContentVersionPage>;
5212
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetVersionData>) => Promise<Types.ContentContentVersion>;
5213
+ };
5214
+ };
4055
5215
  export declare function createCrm(transport: Transport): {
4056
5216
  associations: {
4057
5217
  create: (options: import("./core/transport.js").CallOptions<Types.CrmAssociationsCreateData>) => Promise<Types.CrmAssociationsLabelsBetweenObjectPair & Types.CrmWriteResult>;
@@ -4112,6 +5272,32 @@ export declare function createCrm(transport: Transport): {
4112
5272
  list: (options?: import("./core/transport.js").CallOptions<Types.CrmSchemasListData> | undefined) => Promise<Types.CrmSchemasCollectionResponseObjectSchemaNoPaging>;
4113
5273
  };
4114
5274
  };
5275
+ export declare function createCustomer(transport: Transport): {
5276
+ accessTokens: {
5277
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateAccessTokenData>) => Promise<Types.CustomerAccessToken>;
5278
+ renew: (options?: import("./core/transport.js").CallOptions<Types.CustomerRenewAccessTokenData> | undefined) => Promise<Types.CustomerAccessToken>;
5279
+ revoke: (options?: import("./core/transport.js").CallOptions<Types.CustomerRevokeCurrentTokensData> | undefined) => Promise<unknown>;
5280
+ };
5281
+ customers: {
5282
+ block: (options: import("./core/transport.js").CallOptions<Types.CustomerBlockCustomerData>) => Promise<Types.CustomerCustomer>;
5283
+ delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeleteCustomerData>) => Promise<Types.CustomerCustomerDeleted>;
5284
+ list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListCustomersData> | undefined) => Promise<Types.CustomerCustomerPage>;
5285
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetCustomerData>) => Promise<Types.CustomerCustomer>;
5286
+ revokeTokens: (options: import("./core/transport.js").CallOptions<Types.CustomerRevokeTokensData>) => Promise<Types.CustomerTokensRevoked>;
5287
+ unblock: (options: import("./core/transport.js").CallOptions<Types.CustomerUnblockCustomerData>) => Promise<Types.CustomerCustomer>;
5288
+ };
5289
+ grantCodes: {
5290
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateGrantCodeData>) => Promise<Types.CustomerGrantCode>;
5291
+ };
5292
+ publishableKeys: {
5293
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreatePublishableKeyData>) => Promise<Types.CustomerPublishableKey>;
5294
+ delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeletePublishableKeyData>) => Promise<Types.CustomerPublishableKeyDeleted>;
5295
+ list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListPublishableKeysData> | undefined) => Promise<Types.CustomerPublishableKeyPage>;
5296
+ };
5297
+ usage: {
5298
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetUsageData>) => Promise<Types.CustomerCustomerUsage>;
5299
+ };
5300
+ };
4115
5301
  export declare function createCut(transport: Transport): {
4116
5302
  exports: {
4117
5303
  cancel: (options: import("./core/transport.js").CallOptions<Types.CutCancelExportData>) => Promise<Types.CutExport>;
@@ -4210,13 +5396,26 @@ export declare function createDatabase(transport: Transport): {
4210
5396
  export declare function createDevops(transport: Transport): {
4211
5397
  changes: {
4212
5398
  abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesAbandonData>) => Promise<Types.DevopsChange>;
5399
+ gitCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGitCredentialData>) => Promise<Types.DevopsChangeGitCredential>;
4213
5400
  markLastSlice: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesMarkLastSliceData>) => Promise<Types.DevopsChange>;
5401
+ openPullRequest: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesOpenPullRequestData>) => Promise<Types.DevopsChangePullRequestOpened>;
4214
5402
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGetData>) => Promise<Types.DevopsChange>;
4215
5403
  };
5404
+ connections: {
5405
+ complete: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsCompleteData>) => Promise<Types.DevopsConnection>;
5406
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsCreateData>) => Promise<Types.DevopsConnectionStart>;
5407
+ list: (options?: import("./core/transport.js").CallOptions<Types.DevopsConnectionsListData> | undefined) => Promise<Types.DevopsConnectionPage>;
5408
+ repositories: {
5409
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsListRepositoriesData>) => Promise<Types.DevopsRepositoryPage>;
5410
+ };
5411
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsGetData>) => Promise<Types.DevopsConnection>;
5412
+ };
4216
5413
  environments: {
4217
5414
  checkpoints: {
4218
5415
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsCheckpointsListData>) => Promise<Types.DevopsCheckpointList>;
4219
5416
  };
5417
+ rollback: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsRollbackData>) => Promise<Types.DevopsPromotion>;
5418
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsUpdateData>) => Promise<Types.DevopsEnvironment>;
4220
5419
  };
4221
5420
  flags: {
4222
5421
  archive: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsArchiveData>) => Promise<Types.DevopsFlag>;
@@ -4256,17 +5455,26 @@ export declare function createDevops(transport: Transport): {
4256
5455
  flags: {
4257
5456
  create: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsCreateData>) => Promise<Types.DevopsFlag>;
4258
5457
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsListData>) => Promise<Types.DevopsFlagPage>;
5458
+ reportCodeRefs: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsReportCodeRefsData>) => Promise<Types.DevopsFlagCodeRefsReportResult>;
4259
5459
  };
4260
5460
  list: (options?: import("./core/transport.js").CallOptions<Types.DevopsProjectsListData> | undefined) => Promise<Types.DevopsProjectPage>;
4261
5461
  promotions: {
4262
5462
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsListData>) => Promise<Types.DevopsPromotionPage>;
4263
5463
  };
5464
+ pullRequests: {
5465
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsListData>) => Promise<Types.DevopsPullRequestPage>;
5466
+ };
4264
5467
  releases: {
4265
5468
  create: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesCreateData>) => Promise<Types.DevopsRelease>;
4266
5469
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesListData>) => Promise<Types.DevopsReleasePage>;
4267
5470
  };
4268
5471
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsGetData>) => Promise<Types.DevopsProject>;
4269
5472
  retrieveTestCatalog: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCatalogGetData>) => Promise<Types.DevopsCatalogVersion>;
5473
+ retrieveTestPlan: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlanGetData>) => Promise<Types.DevopsTestPlan>;
5474
+ segments: {
5475
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsCreateData>) => Promise<Types.DevopsSegment>;
5476
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsListData>) => Promise<Types.DevopsSegmentPage>;
5477
+ };
4270
5478
  targets: {
4271
5479
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsTargetsListData>) => Promise<Types.DevopsTargetPage>;
4272
5480
  refresh: (options: import("./core/transport.js").CallOptions<Types.DevopsTargetsRefreshData>) => Promise<Types.DevopsTargetCatalog>;
@@ -4288,6 +5496,16 @@ export declare function createDevops(transport: Transport): {
4288
5496
  testSuites: {
4289
5497
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestSuitesListData>) => Promise<Types.DevopsSuitePage>;
4290
5498
  };
5499
+ units: {
5500
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsCreateData>) => Promise<Types.DevopsUnit>;
5501
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsListData>) => Promise<Types.DevopsUnitPage>;
5502
+ };
5503
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsUpdateData>) => Promise<Types.DevopsProject>;
5504
+ workspaces: {
5505
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesListData>) => Promise<Types.DevopsWorkspaceList>;
5506
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesGetData>) => Promise<Types.DevopsWorkspace>;
5507
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesUpdateData>) => Promise<Types.DevopsWorkspace>;
5508
+ };
4291
5509
  };
4292
5510
  promotions: {
4293
5511
  approve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsApproveData>) => Promise<Types.DevopsPromotion>;
@@ -4300,6 +5518,12 @@ export declare function createDevops(transport: Transport): {
4300
5518
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsRolloutsListData>) => Promise<Types.DevopsRolloutPage>;
4301
5519
  };
4302
5520
  };
5521
+ pullRequests: {
5522
+ merge: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsMergeData>) => Promise<Types.DevopsPullRequest>;
5523
+ recordVerdict: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRecordVerdictData>) => Promise<Types.DevopsPullRequest>;
5524
+ rerunGate: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRerunGateData>) => Promise<Types.DevopsPullRequest>;
5525
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsGetData>) => Promise<Types.DevopsPullRequest>;
5526
+ };
4303
5527
  releases: {
4304
5528
  abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesAbandonData>) => Promise<Types.DevopsRelease>;
4305
5529
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesGetData>) => Promise<Types.DevopsRelease>;
@@ -4307,6 +5531,9 @@ export declare function createDevops(transport: Transport): {
4307
5531
  rollouts: {
4308
5532
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsRolloutsGetData>) => Promise<Types.DevopsRollout>;
4309
5533
  };
5534
+ segments: {
5535
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsUpdateData>) => Promise<Types.DevopsSegment>;
5536
+ };
4310
5537
  testCases: {
4311
5538
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCasesGetData>) => Promise<Types.DevopsTestCase>;
4312
5539
  };
@@ -4324,10 +5551,24 @@ export declare function createDevops(transport: Transport): {
4324
5551
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestExecutionsGetData>) => Promise<Types.DevopsExecution>;
4325
5552
  };
4326
5553
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsGetData>) => Promise<Types.DevopsRun>;
5554
+ retryFailed: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsRetryFailedData>) => Promise<Types.DevopsRun>;
4327
5555
  };
4328
5556
  testSuites: {
4329
5557
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestSuitesGetData>) => Promise<Types.DevopsSuite>;
4330
5558
  };
5559
+ units: {
5560
+ connect: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsConnectData>) => Promise<Types.DevopsUnitConnectResult>;
5561
+ delete: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsDeleteData>) => Promise<Types.DevopsUnitDeleted>;
5562
+ exec: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsExecData>) => Promise<Types.DevopsUnitExecResult>;
5563
+ fetch: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsFetchData>) => Promise<Types.DevopsUnit>;
5564
+ push: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsPushData>) => Promise<Types.DevopsUnitPushResult>;
5565
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsGetData>) => Promise<Types.DevopsUnit>;
5566
+ start: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsStartData>) => Promise<Types.DevopsUnit>;
5567
+ stop: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsStopData>) => Promise<Types.DevopsUnit>;
5568
+ transitions: {
5569
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsTransitionsListData>) => Promise<Types.DevopsUnitTransitionPage>;
5570
+ };
5571
+ };
4331
5572
  };
4332
5573
  export declare function createFile(transport: Transport): {
4333
5574
  files: {
@@ -4418,12 +5659,19 @@ export declare function createMedia(transport: Transport): {
4418
5659
  };
4419
5660
  libraries: {
4420
5661
  assets: {
5662
+ align: {
5663
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaAlignAssetData>) => Promise<Types.MediaJob>;
5664
+ };
4421
5665
  batch: (options: import("./core/transport.js").CallOptions<Types.MediaBatchAssetsData>) => Promise<Types.MediaJob>;
4422
5666
  create: (options: import("./core/transport.js").CallOptions<Types.MediaUploadAssetData>) => Promise<Types.MediaUploadResult>;
4423
5667
  delete: (options: import("./core/transport.js").CallOptions<Types.MediaDeleteAssetData>) => Promise<Types.MediaDeleted>;
4424
5668
  frames: {
4425
5669
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateFrameUrlsData>) => Promise<Types.MediaFrameUrls>;
4426
5670
  };
5671
+ hls: {
5672
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaRequestHlsRenditionsData>) => Promise<Types.MediaHlsLadder>;
5673
+ list: (options: import("./core/transport.js").CallOptions<Types.MediaGetHlsRenditionsData>) => Promise<Types.MediaHlsLadder>;
5674
+ };
4427
5675
  import: {
4428
5676
  create: (options: import("./core/transport.js").CallOptions<Types.MediaImportAssetData>) => Promise<Types.MediaAsset>;
4429
5677
  };
@@ -4436,6 +5684,9 @@ export declare function createMedia(transport: Transport): {
4436
5684
  list: (options: import("./core/transport.js").CallOptions<Types.MediaListUnderstandingsData>) => Promise<import("./automation.js").Page<Types.MediaUnderstanding>>;
4437
5685
  };
4438
5686
  update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateAssetData>) => Promise<Types.MediaAsset>;
5687
+ versions: {
5688
+ restore: (options: import("./core/transport.js").CallOptions<Types.MediaRestoreAssetVersionData>) => Promise<Types.MediaAsset>;
5689
+ };
4439
5690
  };
4440
5691
  batches: {
4441
5692
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateBatchData>) => Promise<Types.MediaJob>;
@@ -4458,6 +5709,11 @@ export declare function createMedia(transport: Transport): {
4458
5709
  retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetJobData>) => Promise<Types.MediaJob>;
4459
5710
  };
4460
5711
  list: (options?: import("./core/transport.js").CallOptions<Types.MediaListLibrariesData> | undefined) => Promise<import("./automation.js").Page<Types.MediaLibrary>>;
5712
+ materials: {
5713
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateMaterialData>) => Promise<Types.MediaMaterial>;
5714
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetMaterialData>) => Promise<Types.MediaMaterial>;
5715
+ update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateMaterialData>) => Promise<Types.MediaMaterial>;
5716
+ };
4461
5717
  purge: {
4462
5718
  create: (options: import("./core/transport.js").CallOptions<Types.MediaPurgeLibraryData>) => Promise<Types.MediaPurgedLibrary>;
4463
5719
  };
@@ -4688,7 +5944,35 @@ export declare function createModel(transport: Transport): {
4688
5944
  countTokens: (options: import("./core/transport.js").CallOptions<Types.CountTokensData>) => Promise<Types.AnthropicMessageTokensCount>;
4689
5945
  create: import("./core/bindings.js").MixedMethod<Types.CreateMessageData, Types.AnthropicMessage, Types.PraxisSdkSsePostModelV1Messages>;
4690
5946
  };
5947
+ modelAccess: {
5948
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListModelAccessData> | undefined) => Promise<{
5949
+ items: Array<{
5950
+ model: string;
5951
+ access_required: boolean;
5952
+ granted: boolean;
5953
+ granted_by: string | null;
5954
+ granted_at: string | null;
5955
+ sell_input_price: number | null;
5956
+ sell_output_price: number | null;
5957
+ }>;
5958
+ }>;
5959
+ };
4691
5960
  models: {
5961
+ access: {
5962
+ delete: (options: import("./core/transport.js").CallOptions<Types.DisableModelAccessData>) => Promise<{
5963
+ model: string;
5964
+ revoked: true;
5965
+ }>;
5966
+ update: (options: import("./core/transport.js").CallOptions<Types.EnableModelAccessData>) => Promise<{
5967
+ model: string;
5968
+ access_required: boolean;
5969
+ granted: true;
5970
+ granted_by: string;
5971
+ granted_at: string;
5972
+ sell_input_price: number | null;
5973
+ sell_output_price: number | null;
5974
+ }>;
5975
+ };
4692
5976
  list: (options?: import("./core/transport.js").CallOptions<Types.ListModelsData> | undefined) => Promise<{
4693
5977
  object: "list";
4694
5978
  data: Array<{
@@ -4703,6 +5987,7 @@ export declare function createModel(transport: Transport): {
4703
5987
  type: "language" | "image" | "embedding" | "ocr" | "transcription" | "speech" | "video" | "reranking";
4704
5988
  supported_apis: Array<string>;
4705
5989
  tags: Array<string>;
5990
+ access_required: boolean;
4706
5991
  architecture: {
4707
5992
  modality: string;
4708
5993
  input_modalities: Array<string>;
@@ -4749,6 +6034,7 @@ export declare function createModel(transport: Transport): {
4749
6034
  type: "language" | "image" | "embedding" | "ocr" | "transcription" | "speech" | "video" | "reranking";
4750
6035
  supported_apis: Array<string>;
4751
6036
  tags: Array<string>;
6037
+ access_required: boolean;
4752
6038
  architecture: {
4753
6039
  modality: string;
4754
6040
  input_modalities: Array<string>;
@@ -4975,6 +6261,7 @@ export declare function createModel(transport: Transport): {
4975
6261
  unsigned_urls: Array<string>;
4976
6262
  usage?: {
4977
6263
  cost: number;
6264
+ billed_seconds?: number;
4978
6265
  };
4979
6266
  }>;
4980
6267
  delete: (options: import("./core/transport.js").CallOptions<Types.DeleteVideoData>) => Promise<{
@@ -5005,6 +6292,7 @@ export declare function createModel(transport: Transport): {
5005
6292
  unsigned_urls: Array<string>;
5006
6293
  usage?: {
5007
6294
  cost: number;
6295
+ billed_seconds?: number;
5008
6296
  };
5009
6297
  }>;
5010
6298
  has_more: boolean;
@@ -5033,6 +6321,7 @@ export declare function createModel(transport: Transport): {
5033
6321
  unsigned_urls: Array<string>;
5034
6322
  usage?: {
5035
6323
  cost: number;
6324
+ billed_seconds?: number;
5036
6325
  };
5037
6326
  }>;
5038
6327
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.DownloadVideoContentData>) => Promise<Blob | File>;
@@ -5070,6 +6359,23 @@ export declare function createOntology(transport: Transport): {
5070
6359
  };
5071
6360
  };
5072
6361
  export declare function createOrganization(transport: Transport): {
6362
+ actors: {
6363
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationActorsData> | undefined) => Promise<Types.OrganizationActorList>;
6364
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationActorData>) => Promise<Types.OrganizationPositionChain>;
6365
+ };
6366
+ assignments: {
6367
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationAssignmentsData> | undefined) => Promise<Types.OrganizationAssignmentList>;
6368
+ makePrimary: {
6369
+ create: (options: import("./core/transport.js").CallOptions<Types.MakePrimaryOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
6370
+ };
6371
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
6372
+ terminate: {
6373
+ create: (options: import("./core/transport.js").CallOptions<Types.TerminateOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
6374
+ };
6375
+ transfer: {
6376
+ create: (options: import("./core/transport.js").CallOptions<Types.TransferOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
6377
+ };
6378
+ };
5073
6379
  charges: {
5074
6380
  list: (options: import("./core/transport.js").CallOptions<Types.ExportOrganizationChargesData>) => Promise<{
5075
6381
  ChargePeriodStart: string;
@@ -5111,6 +6417,16 @@ export declare function createOrganization(transport: Transport): {
5111
6417
  next_page: string | null;
5112
6418
  }>;
5113
6419
  };
6420
+ departments: {
6421
+ create: (options: import("./core/transport.js").CallOptions<Types.EstablishOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
6422
+ dissolve: {
6423
+ create: (options: import("./core/transport.js").CallOptions<Types.DissolveOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
6424
+ };
6425
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationDepartmentsData> | undefined) => Promise<Types.OrganizationDepartmentList>;
6426
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
6427
+ update: (options: import("./core/transport.js").CallOptions<Types.ReorganizeOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
6428
+ updateCharter: (options: import("./core/transport.js").CallOptions<Types.AmendOrganizationDepartmentCharterData>) => Promise<Types.OrganizationDepartment>;
6429
+ };
5114
6430
  events: {
5115
6431
  list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationEventsData>) => Promise<{
5116
6432
  object: "page";
@@ -5313,6 +6629,27 @@ export declare function createOrganization(transport: Transport): {
5313
6629
  }>;
5314
6630
  }>;
5315
6631
  };
6632
+ jobs: {
6633
+ create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationJobData>) => Promise<Types.OrganizationJob>;
6634
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationJobsData> | undefined) => Promise<Types.OrganizationJobList>;
6635
+ retire: {
6636
+ create: (options: import("./core/transport.js").CallOptions<Types.RetireOrganizationJobData>) => Promise<Types.OrganizationJob>;
6637
+ };
6638
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationJobData>) => Promise<Types.OrganizationJob>;
6639
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationJobData>) => Promise<Types.OrganizationJob>;
6640
+ };
6641
+ keyResults: {
6642
+ create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
6643
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationKeyResultsData> | undefined) => Promise<Types.OrganizationKeyResultList>;
6644
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
6645
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
6646
+ };
6647
+ ladders: {
6648
+ create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
6649
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationLaddersData> | undefined) => Promise<Types.OrganizationLadderList>;
6650
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
6651
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
6652
+ };
5316
6653
  members: {
5317
6654
  list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationMembersData> | undefined) => Promise<{
5318
6655
  data: Array<{
@@ -5326,6 +6663,52 @@ export declare function createOrganization(transport: Transport): {
5326
6663
  next_page: string | null;
5327
6664
  }>;
5328
6665
  };
6666
+ objectives: {
6667
+ create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
6668
+ grade: {
6669
+ create: (options: import("./core/transport.js").CallOptions<Types.GradeOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
6670
+ };
6671
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationObjectivesData> | undefined) => Promise<Types.OrganizationObjectiveList>;
6672
+ parents: {
6673
+ update: (options: import("./core/transport.js").CallOptions<Types.AlignOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
6674
+ };
6675
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
6676
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
6677
+ };
6678
+ periods: {
6679
+ close: {
6680
+ create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
6681
+ };
6682
+ create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
6683
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPeriodsData> | undefined) => Promise<Types.OrganizationPeriodList>;
6684
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
6685
+ };
6686
+ positions: {
6687
+ close: {
6688
+ create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
6689
+ };
6690
+ create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPositionsData>) => Promise<Types.OrganizationPositionBatch>;
6691
+ designateHead: {
6692
+ create: (options: import("./core/transport.js").CallOptions<Types.DesignateOrganizationPositionHeadData>) => Promise<Types.OrganizationDepartment>;
6693
+ };
6694
+ freeze: {
6695
+ create: (options: import("./core/transport.js").CallOptions<Types.FreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
6696
+ };
6697
+ hire: {
6698
+ create: (options: import("./core/transport.js").CallOptions<Types.HireOrganizationPositionData>) => Promise<Types.OrganizationAssignment>;
6699
+ };
6700
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPositionsData> | undefined) => Promise<Types.OrganizationPositionList>;
6701
+ replaceHolder: {
6702
+ create: (options: import("./core/transport.js").CallOptions<Types.ReplaceOrganizationPositionHolderData>) => Promise<Types.OrganizationAssignment>;
6703
+ };
6704
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
6705
+ unfreeze: {
6706
+ create: (options: import("./core/transport.js").CallOptions<Types.UnfreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
6707
+ };
6708
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
6709
+ updateLevel: (options: import("./core/transport.js").CallOptions<Types.RegradeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
6710
+ updateManager: (options: import("./core/transport.js").CallOptions<Types.ReassignOrganizationPositionManagerData>) => Promise<Types.OrganizationPosition>;
6711
+ };
5329
6712
  usage: {
5330
6713
  list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationUsageData>) => Promise<{
5331
6714
  object: "page";
@@ -5349,6 +6732,42 @@ export declare function createOrganization(transport: Transport): {
5349
6732
  }>;
5350
6733
  };
5351
6734
  };
6735
+ export declare function createRegistry(transport: Transport): {
6736
+ installations: {
6737
+ delete: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsDeleteData>) => Promise<Types.RegistryDeletedInstallation>;
6738
+ update: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsUpdateData>) => Promise<Types.RegistryInstallation>;
6739
+ };
6740
+ packages: {
6741
+ installations: {
6742
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsCreateData>) => Promise<Types.RegistryInstallResult>;
6743
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsListData>) => Promise<Types.RegistryInstallationList>;
6744
+ };
6745
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesRetrieveData>) => Promise<Types.RegistryPackage>;
6746
+ versions: {
6747
+ contents: {
6748
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsContentsData>) => Promise<Types.RegistryFileEntryPage>;
6749
+ };
6750
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsCreateData>) => Promise<Types.RegistryVersion>;
6751
+ files: {
6752
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsFilesRetrieveData>) => Promise<Blob | File>;
6753
+ };
6754
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsListData>) => Promise<import("./automation.js").Page<Types.RegistryVersion>>;
6755
+ retrieveArchive: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsArchiveData>) => Promise<Blob | File>;
6756
+ withdraw: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsWithdrawData>) => Promise<Types.RegistryVersion>;
6757
+ };
6758
+ };
6759
+ repositories: {
6760
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesCreateData>) => Promise<Types.RegistryRepository>;
6761
+ delete: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesDeleteData>) => Promise<Types.RegistryDeletedRepository>;
6762
+ list: (options?: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesListData> | undefined) => Promise<import("./automation.js").Page<Types.RegistryRepository>>;
6763
+ packages: {
6764
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesPackagesCreateData>) => Promise<Types.RegistryPackage>;
6765
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesPackagesListData>) => Promise<import("./automation.js").Page<Types.RegistryPackage>>;
6766
+ };
6767
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesRetrieveData>) => Promise<Types.RegistryRepository>;
6768
+ update: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesUpdateData>) => Promise<Types.RegistryRepository>;
6769
+ };
6770
+ };
5352
6771
  export declare function createSandbox(transport: Transport): {
5353
6772
  events: {
5354
6773
  sandboxes: {
@@ -5585,6 +7004,14 @@ export declare function createSearch(transport: Transport): {
5585
7004
  }>;
5586
7005
  };
5587
7006
  };
7007
+ export declare function createShare(transport: Transport): {
7008
+ permissions: {
7009
+ create: (options: import("./core/transport.js").CallOptions<Types.ShareCreatePermissionData>) => Promise<Types.ShareSharePermission>;
7010
+ delete: (options: import("./core/transport.js").CallOptions<Types.ShareDeletePermissionData>) => Promise<void>;
7011
+ list: (options?: import("./core/transport.js").CallOptions<Types.ShareListPermissionsData> | undefined) => Promise<Types.ShareSharePermissionPage>;
7012
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ShareRetrievePermissionData>) => Promise<Types.ShareSharePermission>;
7013
+ };
7014
+ };
5588
7015
  export declare function createStudio(transport: Transport): {
5589
7016
  codexes: {
5590
7017
  create: (options: import("./core/transport.js").CallOptions<Types.StudioCodexesCreateData>) => Promise<Types.StudioCodex>;
@@ -5878,7 +7305,9 @@ export declare const resourceFactories: {
5878
7305
  automation: typeof createAutomation;
5879
7306
  browser: typeof createBrowser;
5880
7307
  canvas: typeof createCanvas;
7308
+ content: typeof createContent;
5881
7309
  crm: typeof createCrm;
7310
+ customer: typeof createCustomer;
5882
7311
  cut: typeof createCut;
5883
7312
  database: typeof createDatabase;
5884
7313
  devops: typeof createDevops;
@@ -5889,8 +7318,10 @@ export declare const resourceFactories: {
5889
7318
  model: typeof createModel;
5890
7319
  ontology: typeof createOntology;
5891
7320
  organization: typeof createOrganization;
7321
+ registry: typeof createRegistry;
5892
7322
  sandbox: typeof createSandbox;
5893
7323
  search: typeof createSearch;
7324
+ share: typeof createShare;
5894
7325
  studio: typeof createStudio;
5895
7326
  ticket: typeof createTicket;
5896
7327
  vault: typeof createVault;