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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -17,6 +17,7 @@ export declare function createAgent(transport: Transport): {
17
17
  speed?: "standard" | "fast";
18
18
  settings?: {
19
19
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
20
+ max_output_tokens?: number;
20
21
  };
21
22
  };
22
23
  multiagent?: null | Types.AgentManaged39;
@@ -45,14 +46,13 @@ export declare function createAgent(transport: Transport): {
45
46
  readonly verified?: boolean;
46
47
  enabled?: boolean;
47
48
  } | {
48
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
49
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
49
50
  readonly verified?: boolean;
50
51
  enabled?: boolean;
51
52
  }>;
52
- kind: "general" | "personal" | "service" | "assume";
53
+ kind: "general" | "service" | "assume";
53
54
  computer_id?: string;
54
55
  subagent_model?: string | null;
55
- image_model?: string | null;
56
56
  subagents?: Array<{
57
57
  name: string;
58
58
  description: string;
@@ -143,6 +143,7 @@ export declare function createAgent(transport: Transport): {
143
143
  allowManagedHooksOnly?: boolean;
144
144
  allowManagedMcpServersOnly?: boolean;
145
145
  allowManagedPermissionRulesOnly?: boolean;
146
+ idleCompaction?: boolean;
146
147
  autoMemoryEnabled?: boolean;
147
148
  disabled?: {
148
149
  subagents?: Array<string>;
@@ -151,7 +152,6 @@ export declare function createAgent(transport: Transport): {
151
152
  mcpServers?: Array<string>;
152
153
  hooks?: Array<string>;
153
154
  };
154
- idleCompaction?: boolean;
155
155
  outputStyle?: string;
156
156
  } | null;
157
157
  models?: {
@@ -170,6 +170,22 @@ export declare function createAgent(transport: Transport): {
170
170
  keep_coding_instructions?: boolean;
171
171
  }> | null;
172
172
  }>;
173
+ consolidations: {
174
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentConsolidationData>) => Promise<{
175
+ id: string;
176
+ session_id: string;
177
+ status: "queued" | "running" | "done" | "failed";
178
+ engram_id?: string;
179
+ error?: string;
180
+ }>;
181
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetAgentConsolidationData>) => Promise<{
182
+ id: string;
183
+ session_id: string;
184
+ status: "queued" | "running" | "done" | "failed";
185
+ engram_id?: string;
186
+ error?: string;
187
+ }>;
188
+ };
173
189
  create: (options: import("./core/transport.js").CallOptions<Types.AgentsCreateData>) => Promise<{
174
190
  id: string;
175
191
  archived_at: null | string;
@@ -184,6 +200,7 @@ export declare function createAgent(transport: Transport): {
184
200
  speed?: "standard" | "fast";
185
201
  settings?: {
186
202
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
203
+ max_output_tokens?: number;
187
204
  };
188
205
  };
189
206
  multiagent?: null | Types.AgentManaged39;
@@ -212,14 +229,20 @@ export declare function createAgent(transport: Transport): {
212
229
  readonly verified?: boolean;
213
230
  enabled?: boolean;
214
231
  } | {
215
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
232
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
216
233
  readonly verified?: boolean;
217
234
  enabled?: boolean;
218
235
  }>;
219
- kind: "general" | "personal" | "service" | "assume";
236
+ kind: "general" | "service" | "assume";
237
+ computers?: {
238
+ default: string;
239
+ allowed: Array<{
240
+ template: string;
241
+ name: string;
242
+ }>;
243
+ };
220
244
  computer_id?: string;
221
245
  subagent_model?: string | null;
222
- image_model?: string | null;
223
246
  subagents?: Array<{
224
247
  name: string;
225
248
  description: string;
@@ -310,6 +333,7 @@ export declare function createAgent(transport: Transport): {
310
333
  allowManagedHooksOnly?: boolean;
311
334
  allowManagedMcpServersOnly?: boolean;
312
335
  allowManagedPermissionRulesOnly?: boolean;
336
+ idleCompaction?: boolean;
313
337
  autoMemoryEnabled?: boolean;
314
338
  disabled?: {
315
339
  subagents?: Array<string>;
@@ -318,7 +342,6 @@ export declare function createAgent(transport: Transport): {
318
342
  mcpServers?: Array<string>;
319
343
  hooks?: Array<string>;
320
344
  };
321
- idleCompaction?: boolean;
322
345
  outputStyle?: string;
323
346
  } | null;
324
347
  models?: {
@@ -338,42 +361,6 @@ export declare function createAgent(transport: Transport): {
338
361
  }> | null;
339
362
  }>;
340
363
  customers: {
341
- auth: {
342
- accessTokens: {
343
- create: (options: import("./core/transport.js").CallOptions<Types.CreateCustomerAccessTokenData>) => Promise<{
344
- type: "customer_access_token";
345
- access_token: string;
346
- expires_at: string;
347
- session_expires_at: string;
348
- customer: {
349
- id: string;
350
- type: "identified" | "anonymous";
351
- };
352
- }>;
353
- deleteCurrent: (options: import("./core/transport.js").CallOptions<Types.DeleteCurrentCustomerAccessTokenData>) => Promise<void>;
354
- renew: {
355
- create: (options: import("./core/transport.js").CallOptions<Types.RenewCustomerAccessTokenData>) => Promise<{
356
- type: "customer_access_token";
357
- access_token: string;
358
- expires_at: string;
359
- session_expires_at: string;
360
- customer: {
361
- id: string;
362
- type: "identified" | "anonymous";
363
- };
364
- }>;
365
- };
366
- };
367
- grantCodes: {
368
- create: (options: import("./core/transport.js").CallOptions<Types.CreateCustomerGrantCodeData>) => Promise<{
369
- type: "customer_grant_code";
370
- code: string;
371
- customer_id: string;
372
- expires_at: string;
373
- hosted_url?: string;
374
- }>;
375
- };
376
- };
377
364
  block: {
378
365
  create: (options: import("./core/transport.js").CallOptions<Types.BlockCustomerData>) => Promise<{
379
366
  id: string;
@@ -465,6 +452,275 @@ export declare function createAgent(transport: Transport): {
465
452
  }>;
466
453
  };
467
454
  };
455
+ events: {
456
+ list: (options: import("./core/transport.js").CallOptions<Types.ListAgentEventsData>) => Promise<{
457
+ data: Array<{
458
+ id: string;
459
+ content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
460
+ type: "user.message";
461
+ processed_at?: null | string;
462
+ praxis_context?: {
463
+ items: Array<{
464
+ name: string;
465
+ value: string;
466
+ }>;
467
+ };
468
+ message_id?: string;
469
+ } | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged192 | {
470
+ id: string;
471
+ content: Array<{
472
+ text: string;
473
+ type: "text";
474
+ citations?: Array<{
475
+ type: "search_result_location";
476
+ source: string;
477
+ title: string;
478
+ cited_text: string;
479
+ search_result_index: number;
480
+ start_block_index: number;
481
+ end_block_index: number;
482
+ }>;
483
+ } | Types.AgentManaged70>;
484
+ processed_at: string;
485
+ type: "agent.message";
486
+ run_id: string | null;
487
+ message_id?: string;
488
+ } | {
489
+ id: string;
490
+ processed_at: string;
491
+ type: "agent.thinking";
492
+ run_id: string | null;
493
+ message_id?: string;
494
+ } | {
495
+ id: string;
496
+ input: Types.AgentManaged197;
497
+ mcp_server_name: string;
498
+ name: string;
499
+ processed_at: string;
500
+ type: "agent.mcp_tool_use";
501
+ evaluated_permission?: "allow" | "deny" | "ask";
502
+ evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
503
+ session_thread_id?: null | string;
504
+ permission_suggestions?: Array<{
505
+ type: "add_rules";
506
+ behavior: "allow";
507
+ destination: "agent" | "session";
508
+ rules: Array<{
509
+ tool_name: string;
510
+ rule_content: string;
511
+ }>;
512
+ }>;
513
+ full_access_available?: boolean;
514
+ user_once?: true;
515
+ guarded_rule?: string;
516
+ run_id: string | null;
517
+ _meta?: {
518
+ ui?: {
519
+ resourceUri?: string;
520
+ visibility?: Array<string>;
521
+ [key: string]: unknown;
522
+ };
523
+ "openai/ui"?: {
524
+ [key: string]: unknown;
525
+ };
526
+ };
527
+ source?: "app" | "codemode";
528
+ parent_tool_use_id?: string;
529
+ title?: string;
530
+ input_titles?: {
531
+ [key: string]: string;
532
+ };
533
+ } | {
534
+ id: string;
535
+ mcp_tool_use_id: string;
536
+ processed_at: string;
537
+ type: "agent.mcp_tool_result";
538
+ content?: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged189>;
539
+ is_error?: null | false | true;
540
+ run_id: string | null;
541
+ structured_content?: unknown;
542
+ _meta?: {
543
+ [key: string]: unknown;
544
+ };
545
+ source?: "app" | "codemode";
546
+ } | {
547
+ id: string;
548
+ input: Types.AgentManaged206;
549
+ name: string;
550
+ processed_at: string;
551
+ type: "agent.tool_use";
552
+ evaluated_permission?: "allow" | "deny" | "ask";
553
+ evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
554
+ session_thread_id?: null | string;
555
+ permission_suggestions?: Array<{
556
+ type: "add_rules";
557
+ behavior: "allow";
558
+ destination: "agent" | "session";
559
+ rules: Array<{
560
+ tool_name: string;
561
+ rule_content: string;
562
+ }>;
563
+ }>;
564
+ full_access_available?: boolean;
565
+ user_once?: true;
566
+ guarded_rule?: string;
567
+ run_id: string | null;
568
+ } | {
569
+ id: string;
570
+ processed_at: string;
571
+ tool_use_id: string;
572
+ type: "agent.tool_result";
573
+ content?: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged189>;
574
+ is_error?: null | false | true;
575
+ run_id: string | null;
576
+ } | Types.AgentManaged208 | Types.AgentManaged209 | Types.AgentManaged210 | Types.AgentManaged211 | Types.AgentManaged223 | {
577
+ id: string;
578
+ processed_at: string;
579
+ type: "session.status_running";
580
+ run_id: string | null;
581
+ } | {
582
+ id: string;
583
+ processed_at: string;
584
+ stop_reason: Types.AgentManaged226 | Types.AgentManaged227 | Types.AgentManaged228 | Types.AgentManaged229;
585
+ type: "session.status_idle";
586
+ run_id: string | null;
587
+ } | Types.AgentManaged230 | Types.AgentManaged231 | Types.AgentManaged232 | Types.AgentManaged233 | Types.AgentManaged235 | Types.AgentManaged236 | Types.AgentManaged237 | Types.AgentManaged238 | Types.AgentManaged239 | Types.AgentManaged240 | Types.AgentManaged241 | Types.AgentManaged242 | Types.AgentManaged243 | Types.AgentManaged244 | {
588
+ id: string;
589
+ processed_at: string;
590
+ type: "session.updated";
591
+ agent?: null | Types.AgentManaged170;
592
+ budget?: null | Types.AgentManaged76;
593
+ metadata?: Types.AgentManaged246;
594
+ title?: null | string;
595
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
596
+ previous_permission_mode?: string | null;
597
+ permission_mode_version?: number;
598
+ model?: {
599
+ id: string;
600
+ };
601
+ } | Types.AgentManaged247 | Types.AgentManaged248 | {
602
+ id: string;
603
+ type: "session.forked";
604
+ processed_at: string;
605
+ forked_from_session_id: string;
606
+ forked_from_message_id: string;
607
+ } | {
608
+ id: string;
609
+ type: "session.goal_changed";
610
+ processed_at: string;
611
+ action: "set" | "status_updated" | "cleared" | "usage_accounted";
612
+ source: "command" | "runtime";
613
+ goal: {
614
+ goal_id: string;
615
+ objective: string;
616
+ summary_title: string | null;
617
+ status: "active" | "paused" | "budget_limited" | "complete";
618
+ token_budget: number | null;
619
+ tokens_used: number;
620
+ time_used_seconds: number;
621
+ iteration: number;
622
+ created_at: number;
623
+ updated_at: number;
624
+ } | null;
625
+ previous_goal: {
626
+ goal_id: string;
627
+ objective: string;
628
+ summary_title: string | null;
629
+ status: "active" | "paused" | "budget_limited" | "complete";
630
+ token_budget: number | null;
631
+ tokens_used: number;
632
+ time_used_seconds: number;
633
+ iteration: number;
634
+ created_at: number;
635
+ updated_at: number;
636
+ } | null;
637
+ } | {
638
+ id: string;
639
+ type: "session.goal_verification";
640
+ processed_at: string;
641
+ status: "started" | "completed" | "failed_closed" | "cancelled";
642
+ goal_id: string;
643
+ goal_iteration: number;
644
+ verification_id: string;
645
+ anchor_message_id: string | null;
646
+ verification?: {
647
+ passed: boolean;
648
+ reason: string;
649
+ next_action?: string;
650
+ };
651
+ } | {
652
+ id: string;
653
+ type: "user.steer";
654
+ event_id: string;
655
+ processed_at: string;
656
+ } | {
657
+ id: string;
658
+ type: "user.tool_confirmation";
659
+ processed_at: string;
660
+ tool_use_id: string;
661
+ result: "allow";
662
+ answers: {
663
+ [key: string]: string;
664
+ };
665
+ annotations?: {
666
+ [key: string]: {
667
+ preview?: string;
668
+ notes?: string;
669
+ };
670
+ };
671
+ }>;
672
+ next_page: string | null;
673
+ }>;
674
+ send: (options: import("./core/transport.js").CallOptions<Types.SendAgentEventsData>) => Promise<{
675
+ data?: Array<{
676
+ id: string;
677
+ content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
678
+ type: "user.message";
679
+ processed_at?: null | string;
680
+ praxis_context?: {
681
+ items: Array<{
682
+ name: string;
683
+ value: string;
684
+ }>;
685
+ };
686
+ } | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged238 | Types.AgentManaged243 | Types.AgentManaged247 | {
687
+ id: string;
688
+ type: "user.steer";
689
+ event_id: string;
690
+ processed_at: string;
691
+ } | {
692
+ id: string;
693
+ type: "user.tool_confirmation";
694
+ processed_at: string;
695
+ tool_use_id: string;
696
+ result: "allow";
697
+ answers: {
698
+ [key: string]: string;
699
+ };
700
+ annotations?: {
701
+ [key: string]: {
702
+ preview?: string;
703
+ notes?: string;
704
+ };
705
+ };
706
+ }>;
707
+ }>;
708
+ stream: (options: import("./core/transport.js").StreamOptions<Types.StreamAgentEventsData>) => AsyncIterable<Types.AgentSseEvent>;
709
+ };
710
+ inbox: {
711
+ letters: {
712
+ list: (options: import("./core/transport.js").CallOptions<Types.ListAgentInboxLettersData>) => Promise<{
713
+ unread: number;
714
+ letters: Array<{
715
+ id: string;
716
+ sender: string;
717
+ summary: string;
718
+ thread: string | null;
719
+ create_time: string;
720
+ }>;
721
+ }>;
722
+ };
723
+ };
468
724
  list: (options?: import("./core/transport.js").CallOptions<Types.AgentsListData> | undefined) => Promise<{
469
725
  data: Array<{
470
726
  id: string;
@@ -480,6 +736,7 @@ export declare function createAgent(transport: Transport): {
480
736
  speed?: "standard" | "fast";
481
737
  settings?: {
482
738
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
739
+ max_output_tokens?: number;
483
740
  };
484
741
  };
485
742
  multiagent?: null | Types.AgentManaged39;
@@ -508,14 +765,20 @@ export declare function createAgent(transport: Transport): {
508
765
  readonly verified?: boolean;
509
766
  enabled?: boolean;
510
767
  } | {
511
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
768
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
512
769
  readonly verified?: boolean;
513
770
  enabled?: boolean;
514
771
  }>;
515
- kind: "general" | "personal" | "service" | "assume";
772
+ kind: "general" | "service" | "assume";
773
+ computers?: {
774
+ default: string;
775
+ allowed: Array<{
776
+ template: string;
777
+ name: string;
778
+ }>;
779
+ };
516
780
  computer_id?: string;
517
781
  subagent_model?: string | null;
518
- image_model?: string | null;
519
782
  subagents?: Array<{
520
783
  name: string;
521
784
  description: string;
@@ -606,6 +869,7 @@ export declare function createAgent(transport: Transport): {
606
869
  allowManagedHooksOnly?: boolean;
607
870
  allowManagedMcpServersOnly?: boolean;
608
871
  allowManagedPermissionRulesOnly?: boolean;
872
+ idleCompaction?: boolean;
609
873
  autoMemoryEnabled?: boolean;
610
874
  disabled?: {
611
875
  subagents?: Array<string>;
@@ -614,7 +878,6 @@ export declare function createAgent(transport: Transport): {
614
878
  mcpServers?: Array<string>;
615
879
  hooks?: Array<string>;
616
880
  };
617
- idleCompaction?: boolean;
618
881
  outputStyle?: string;
619
882
  } | null;
620
883
  models?: {
@@ -649,6 +912,7 @@ export declare function createAgent(transport: Transport): {
649
912
  speed?: "standard" | "fast";
650
913
  settings?: {
651
914
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
915
+ max_output_tokens?: number;
652
916
  };
653
917
  };
654
918
  multiagent?: null | Types.AgentManaged39;
@@ -678,14 +942,20 @@ export declare function createAgent(transport: Transport): {
678
942
  readonly verified?: boolean;
679
943
  enabled?: boolean;
680
944
  } | {
681
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
945
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
682
946
  readonly verified?: boolean;
683
947
  enabled?: boolean;
684
948
  }>;
685
- kind: "general" | "personal" | "service" | "assume";
949
+ kind: "general" | "service" | "assume";
950
+ computers?: {
951
+ default: string;
952
+ allowed: Array<{
953
+ template: string;
954
+ name: string;
955
+ }>;
956
+ };
686
957
  computer_id?: string;
687
958
  subagent_model?: string | null;
688
- image_model?: string | null;
689
959
  subagents?: Array<{
690
960
  name: string;
691
961
  description: string;
@@ -776,6 +1046,7 @@ export declare function createAgent(transport: Transport): {
776
1046
  allowManagedHooksOnly?: boolean;
777
1047
  allowManagedMcpServersOnly?: boolean;
778
1048
  allowManagedPermissionRulesOnly?: boolean;
1049
+ idleCompaction?: boolean;
779
1050
  autoMemoryEnabled?: boolean;
780
1051
  disabled?: {
781
1052
  subagents?: Array<string>;
@@ -784,7 +1055,6 @@ export declare function createAgent(transport: Transport): {
784
1055
  mcpServers?: Array<string>;
785
1056
  hooks?: Array<string>;
786
1057
  };
787
- idleCompaction?: boolean;
788
1058
  outputStyle?: string;
789
1059
  } | null;
790
1060
  models?: {
@@ -860,6 +1130,20 @@ export declare function createAgent(transport: Transport): {
860
1130
  history?: {
861
1131
  enabled?: boolean;
862
1132
  };
1133
+ uploads?: {
1134
+ enabled: boolean;
1135
+ max_file_bytes: number;
1136
+ max_files_per_session: number;
1137
+ };
1138
+ }>;
1139
+ retrieveEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.GetAgentEmbedPolicyData>) => Promise<{
1140
+ allowed_origins: Array<string>;
1141
+ allow_localhost: boolean;
1142
+ uploads: {
1143
+ enabled: boolean;
1144
+ max_file_bytes: number;
1145
+ max_files_per_session: number;
1146
+ };
863
1147
  }>;
864
1148
  unarchive: {
865
1149
  create: (options: import("./core/transport.js").CallOptions<Types.UnarchiveAgentData>) => Promise<{
@@ -913,6 +1197,7 @@ export declare function createAgent(transport: Transport): {
913
1197
  speed?: "standard" | "fast";
914
1198
  settings?: {
915
1199
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1200
+ max_output_tokens?: number;
916
1201
  };
917
1202
  };
918
1203
  multiagent?: null | {
@@ -1107,14 +1392,20 @@ export declare function createAgent(transport: Transport): {
1107
1392
  readonly verified?: boolean;
1108
1393
  enabled?: boolean;
1109
1394
  } | {
1110
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
1395
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1111
1396
  readonly verified?: boolean;
1112
1397
  enabled?: boolean;
1113
1398
  }>;
1114
- 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
+ };
1115
1407
  computer_id?: string;
1116
1408
  subagent_model?: string | null;
1117
- image_model?: string | null;
1118
1409
  subagents?: Array<{
1119
1410
  name: string;
1120
1411
  description: string;
@@ -1205,6 +1496,7 @@ export declare function createAgent(transport: Transport): {
1205
1496
  allowManagedHooksOnly?: boolean;
1206
1497
  allowManagedMcpServersOnly?: boolean;
1207
1498
  allowManagedPermissionRulesOnly?: boolean;
1499
+ idleCompaction?: boolean;
1208
1500
  autoMemoryEnabled?: boolean;
1209
1501
  disabled?: {
1210
1502
  subagents?: Array<string>;
@@ -1213,7 +1505,6 @@ export declare function createAgent(transport: Transport): {
1213
1505
  mcpServers?: Array<string>;
1214
1506
  hooks?: Array<string>;
1215
1507
  };
1216
- idleCompaction?: boolean;
1217
1508
  outputStyle?: string;
1218
1509
  } | null;
1219
1510
  models?: {
@@ -1247,6 +1538,7 @@ export declare function createAgent(transport: Transport): {
1247
1538
  speed?: "standard" | "fast";
1248
1539
  settings?: {
1249
1540
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1541
+ max_output_tokens?: number;
1250
1542
  };
1251
1543
  };
1252
1544
  multiagent?: null | Types.AgentManaged39;
@@ -1276,14 +1568,20 @@ export declare function createAgent(transport: Transport): {
1276
1568
  readonly verified?: boolean;
1277
1569
  enabled?: boolean;
1278
1570
  } | {
1279
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
1571
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1280
1572
  readonly verified?: boolean;
1281
1573
  enabled?: boolean;
1282
1574
  }>;
1283
- 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
+ };
1284
1583
  computer_id?: string;
1285
1584
  subagent_model?: string | null;
1286
- image_model?: string | null;
1287
1585
  subagents?: Array<{
1288
1586
  name: string;
1289
1587
  description: string;
@@ -1374,6 +1672,7 @@ export declare function createAgent(transport: Transport): {
1374
1672
  allowManagedHooksOnly?: boolean;
1375
1673
  allowManagedMcpServersOnly?: boolean;
1376
1674
  allowManagedPermissionRulesOnly?: boolean;
1675
+ idleCompaction?: boolean;
1377
1676
  autoMemoryEnabled?: boolean;
1378
1677
  disabled?: {
1379
1678
  subagents?: Array<string>;
@@ -1382,7 +1681,6 @@ export declare function createAgent(transport: Transport): {
1382
1681
  mcpServers?: Array<string>;
1383
1682
  hooks?: Array<string>;
1384
1683
  };
1385
- idleCompaction?: boolean;
1386
1684
  outputStyle?: string;
1387
1685
  } | null;
1388
1686
  models?: {
@@ -1401,28 +1699,240 @@ export declare function createAgent(transport: Transport): {
1401
1699
  keep_coding_instructions?: boolean;
1402
1700
  }> | null;
1403
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
+ }>;
1404
1711
  versions: {
1405
1712
  apply: (options: import("./core/transport.js").CallOptions<Types.ApplyAgentVersionData>) => Promise<{
1406
1713
  id: string;
1407
1714
  archived_at: null | string;
1408
1715
  created_at: string;
1409
1716
  description: null | string;
1410
- mcp_servers: Array<Types.AgentManaged36>;
1411
- 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
+ };
1412
1746
  model?: {
1413
1747
  id: string;
1414
- 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
+ };
1415
1759
  inference_geo?: string;
1416
1760
  speed?: "standard" | "fast";
1417
1761
  settings?: {
1418
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;
1419
1932
  };
1420
- };
1421
- multiagent?: null | Types.AgentManaged39;
1422
- name: string;
1423
- skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
1424
- system: null | string;
1425
- tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
1933
+ name: string;
1934
+ type: "custom";
1935
+ }>;
1426
1936
  type: "agent";
1427
1937
  updated_at: string;
1428
1938
  version: number;
@@ -1445,14 +1955,20 @@ export declare function createAgent(transport: Transport): {
1445
1955
  readonly verified?: boolean;
1446
1956
  enabled?: boolean;
1447
1957
  } | {
1448
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
1958
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1449
1959
  readonly verified?: boolean;
1450
1960
  enabled?: boolean;
1451
1961
  }>;
1452
- 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
+ };
1453
1970
  computer_id?: string;
1454
1971
  subagent_model?: string | null;
1455
- image_model?: string | null;
1456
1972
  subagents?: Array<{
1457
1973
  name: string;
1458
1974
  description: string;
@@ -1543,6 +2059,7 @@ export declare function createAgent(transport: Transport): {
1543
2059
  allowManagedHooksOnly?: boolean;
1544
2060
  allowManagedMcpServersOnly?: boolean;
1545
2061
  allowManagedPermissionRulesOnly?: boolean;
2062
+ idleCompaction?: boolean;
1546
2063
  autoMemoryEnabled?: boolean;
1547
2064
  disabled?: {
1548
2065
  subagents?: Array<string>;
@@ -1551,7 +2068,6 @@ export declare function createAgent(transport: Transport): {
1551
2068
  mcpServers?: Array<string>;
1552
2069
  hooks?: Array<string>;
1553
2070
  };
1554
- idleCompaction?: boolean;
1555
2071
  outputStyle?: string;
1556
2072
  } | null;
1557
2073
  models?: {
@@ -1585,6 +2101,7 @@ export declare function createAgent(transport: Transport): {
1585
2101
  speed?: "standard" | "fast";
1586
2102
  settings?: {
1587
2103
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2104
+ max_output_tokens?: number;
1588
2105
  };
1589
2106
  };
1590
2107
  multiagent?: null | Types.AgentManaged39;
@@ -1614,14 +2131,20 @@ export declare function createAgent(transport: Transport): {
1614
2131
  readonly verified?: boolean;
1615
2132
  enabled?: boolean;
1616
2133
  } | {
1617
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
2134
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1618
2135
  readonly verified?: boolean;
1619
2136
  enabled?: boolean;
1620
2137
  }>;
1621
- 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
+ };
1622
2146
  computer_id?: string;
1623
2147
  subagent_model?: string | null;
1624
- image_model?: string | null;
1625
2148
  subagents?: Array<{
1626
2149
  name: string;
1627
2150
  description: string;
@@ -1712,6 +2235,7 @@ export declare function createAgent(transport: Transport): {
1712
2235
  allowManagedHooksOnly?: boolean;
1713
2236
  allowManagedMcpServersOnly?: boolean;
1714
2237
  allowManagedPermissionRulesOnly?: boolean;
2238
+ idleCompaction?: boolean;
1715
2239
  autoMemoryEnabled?: boolean;
1716
2240
  disabled?: {
1717
2241
  subagents?: Array<string>;
@@ -1720,7 +2244,6 @@ export declare function createAgent(transport: Transport): {
1720
2244
  mcpServers?: Array<string>;
1721
2245
  hooks?: Array<string>;
1722
2246
  };
1723
- idleCompaction?: boolean;
1724
2247
  outputStyle?: string;
1725
2248
  } | null;
1726
2249
  models?: {
@@ -1795,16 +2318,9 @@ export declare function createAgent(transport: Transport): {
1795
2318
  files: {
1796
2319
  convert: {
1797
2320
  create: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesConvertData>) => Promise<{
1798
- type: "computer";
1799
- id: string;
1800
- name: string;
1801
- sandbox_id: string | null;
1802
- machine_state: "not_started" | "provisioned";
1803
- environment_id: string | null;
1804
- status: "active" | "archived";
1805
- created_at: string;
1806
- updated_at: string;
1807
- archived_at: string | null;
2321
+ data: string;
2322
+ mime: "application/pdf";
2323
+ cached: boolean;
1808
2324
  }>;
1809
2325
  };
1810
2326
  list: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesListData>) => Promise<{
@@ -2119,55 +2635,587 @@ export declare function createAgent(transport: Transport): {
2119
2635
  };
2120
2636
  }>;
2121
2637
  };
2122
- update: (options: import("./core/transport.js").CallOptions<Types.DeploymentsUpdateData>) => Promise<{
2123
- id: string;
2124
- agent: {
2125
- id: string;
2126
- type: "agent";
2127
- version: number;
2128
- } | {
2129
- id: string;
2130
- type: "agent_with_overrides";
2131
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2132
- cwd?: string;
2133
- model?: string | {
2134
- id: string;
2135
- effort?: null | "low" | "medium" | "high" | "xhigh" | "max" | Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
2136
- speed?: null | "standard" | "fast";
2137
- };
2138
- version: number;
2139
- };
2140
- archived_at: null | string;
2141
- created_at: string;
2142
- description: null | string;
2143
- environment_id?: string | null;
2144
- initial_events: Array<Types.AgentManaged86 | Types.AgentManaged87 | Types.AgentManaged90>;
2145
- metadata: Types.AgentManaged91;
2146
- name: string;
2147
- paused_reason: null | Types.AgentManaged92 | Types.AgentManaged93;
2148
- resources: Array<Types.AgentManaged108 | Types.AgentManaged109 | Types.AgentManaged110>;
2149
- schedule: null | Types.AgentManaged111;
2150
- status: "active" | "paused";
2151
- type: "deployment";
2152
- updated_at: string;
2153
- vault_ids: Array<string>;
2154
- budget?: null | Types.AgentManaged76;
2155
- target: {
2156
- type: "environment" | "computer";
2157
- };
2158
- }>;
2159
- };
2160
- environments: {
2161
- archive: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsArchiveData>) => Promise<Types.AgentManaged138>;
2162
- create: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsCreateData>) => Promise<Types.AgentManaged138>;
2163
- list: (options?: import("./core/transport.js").CallOptions<Types.EnvironmentsListData> | undefined) => Promise<{
2164
- data: Array<Types.AgentManaged138>;
2165
- next_page: string | null;
2166
- }>;
2167
- retrieve: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsRetrieveData>) => Promise<Types.AgentManaged138>;
2168
- update: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsUpdateData>) => Promise<Types.AgentManaged138>;
2169
- };
2170
- sessions: {
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?: {
3201
+ id: string;
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;
3207
+ };
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
+ };
2171
3219
  archive: (options: import("./core/transport.js").CallOptions<Types.SessionsArchiveData>) => Promise<{
2172
3220
  id: string;
2173
3221
  agent: {
@@ -2181,6 +3229,7 @@ export declare function createAgent(transport: Transport): {
2181
3229
  speed?: "standard" | "fast";
2182
3230
  settings?: {
2183
3231
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3232
+ max_output_tokens?: number;
2184
3233
  };
2185
3234
  };
2186
3235
  multiagent: null | Types.AgentManaged171;
@@ -2226,6 +3275,40 @@ export declare function createAgent(transport: Transport): {
2226
3275
  readonly external_user_id: string | null;
2227
3276
  readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
2228
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
+ };
2229
3312
  backgroundTasks: {
2230
3313
  list: (options: import("./core/transport.js").CallOptions<Types.ListSessionBackgroundTasksData>) => Promise<{
2231
3314
  data: Array<{
@@ -2308,6 +3391,7 @@ export declare function createAgent(transport: Transport): {
2308
3391
  speed?: "standard" | "fast";
2309
3392
  settings?: {
2310
3393
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3394
+ max_output_tokens?: number;
2311
3395
  };
2312
3396
  };
2313
3397
  multiagent: null | Types.AgentManaged171;
@@ -2394,7 +3478,6 @@ export declare function createAgent(transport: Transport): {
2394
3478
  run_id: string | null;
2395
3479
  message_id?: string;
2396
3480
  } | {
2397
- full_access_available?: boolean;
2398
3481
  id: string;
2399
3482
  input: Types.AgentManaged197;
2400
3483
  mcp_server_name: string;
@@ -2404,6 +3487,18 @@ export declare function createAgent(transport: Transport): {
2404
3487
  evaluated_permission?: "allow" | "deny" | "ask";
2405
3488
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2406
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;
2407
3502
  run_id: string | null;
2408
3503
  _meta?: {
2409
3504
  ui?: {
@@ -2417,17 +3512,6 @@ export declare function createAgent(transport: Transport): {
2417
3512
  };
2418
3513
  source?: "app" | "codemode";
2419
3514
  parent_tool_use_id?: string;
2420
- user_once?: true;
2421
- guarded_rule?: string;
2422
- permission_suggestions?: Array<{
2423
- type: "add_rules";
2424
- behavior: "allow";
2425
- destination: "agent" | "session";
2426
- rules: Array<{
2427
- tool_name: string;
2428
- rule_content: string;
2429
- }>;
2430
- }>;
2431
3515
  title?: string;
2432
3516
  input_titles?: {
2433
3517
  [key: string]: string;
@@ -2446,7 +3530,6 @@ export declare function createAgent(transport: Transport): {
2446
3530
  };
2447
3531
  source?: "app" | "codemode";
2448
3532
  } | {
2449
- full_access_available?: boolean;
2450
3533
  id: string;
2451
3534
  input: Types.AgentManaged206;
2452
3535
  name: string;
@@ -2455,9 +3538,6 @@ export declare function createAgent(transport: Transport): {
2455
3538
  evaluated_permission?: "allow" | "deny" | "ask";
2456
3539
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2457
3540
  session_thread_id?: null | string;
2458
- run_id: string | null;
2459
- user_once?: true;
2460
- guarded_rule?: string;
2461
3541
  permission_suggestions?: Array<{
2462
3542
  type: "add_rules";
2463
3543
  behavior: "allow";
@@ -2467,6 +3547,10 @@ export declare function createAgent(transport: Transport): {
2467
3547
  rule_content: string;
2468
3548
  }>;
2469
3549
  }>;
3550
+ full_access_available?: boolean;
3551
+ user_once?: true;
3552
+ guarded_rule?: string;
3553
+ run_id: string | null;
2470
3554
  } | {
2471
3555
  id: string;
2472
3556
  processed_at: string;
@@ -2487,9 +3571,6 @@ export declare function createAgent(transport: Transport): {
2487
3571
  type: "session.status_idle";
2488
3572
  run_id: string | null;
2489
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 | {
2490
- permission_mode_version?: number;
2491
- previous_permission_mode?: string | null;
2492
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2493
3574
  id: string;
2494
3575
  processed_at: string;
2495
3576
  type: "session.updated";
@@ -2497,6 +3578,9 @@ export declare function createAgent(transport: Transport): {
2497
3578
  budget?: null | Types.AgentManaged76;
2498
3579
  metadata?: Types.AgentManaged246;
2499
3580
  title?: null | string;
3581
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
3582
+ previous_permission_mode?: string | null;
3583
+ permission_mode_version?: number;
2500
3584
  model?: {
2501
3585
  id: string;
2502
3586
  };
@@ -2657,6 +3741,7 @@ export declare function createAgent(transport: Transport): {
2657
3741
  speed?: "standard" | "fast";
2658
3742
  settings?: {
2659
3743
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3744
+ max_output_tokens?: number;
2660
3745
  };
2661
3746
  };
2662
3747
  multiagent: null | {
@@ -3152,6 +4237,7 @@ export declare function createAgent(transport: Transport): {
3152
4237
  speed?: "standard" | "fast";
3153
4238
  settings?: {
3154
4239
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4240
+ max_output_tokens?: number;
3155
4241
  };
3156
4242
  };
3157
4243
  multiagent: null | Types.AgentManaged171;
@@ -3199,6 +4285,20 @@ export declare function createAgent(transport: Transport): {
3199
4285
  }>;
3200
4286
  next_page: string | null;
3201
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
+ };
3202
4302
  resources: {
3203
4303
  create: (options: import("./core/transport.js").CallOptions<Types.SessionsResourcesAddData>) => Promise<Types.AgentManaged176>;
3204
4304
  delete: (options: import("./core/transport.js").CallOptions<RenameParameters<Types.SessionsResourcesDeleteData, {
@@ -3229,6 +4329,7 @@ export declare function createAgent(transport: Transport): {
3229
4329
  speed?: "standard" | "fast";
3230
4330
  settings?: {
3231
4331
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4332
+ max_output_tokens?: number;
3232
4333
  };
3233
4334
  };
3234
4335
  multiagent: null | Types.AgentManaged171;
@@ -3401,7 +4502,6 @@ export declare function createAgent(transport: Transport): {
3401
4502
  run_id: string | null;
3402
4503
  message_id?: string;
3403
4504
  } | {
3404
- full_access_available?: boolean;
3405
4505
  id: string;
3406
4506
  input: Types.AgentManaged197;
3407
4507
  mcp_server_name: string;
@@ -3411,6 +4511,18 @@ export declare function createAgent(transport: Transport): {
3411
4511
  evaluated_permission?: "allow" | "deny" | "ask";
3412
4512
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3413
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;
3414
4526
  run_id: string | null;
3415
4527
  parent_tool_use_id?: string;
3416
4528
  _meta?: {
@@ -3424,17 +4536,6 @@ export declare function createAgent(transport: Transport): {
3424
4536
  };
3425
4537
  };
3426
4538
  source?: "app" | "codemode";
3427
- user_once?: true;
3428
- guarded_rule?: string;
3429
- permission_suggestions?: Array<{
3430
- type: "add_rules";
3431
- behavior: "allow";
3432
- destination: "agent" | "session";
3433
- rules: Array<{
3434
- tool_name: string;
3435
- rule_content: string;
3436
- }>;
3437
- }>;
3438
4539
  title?: string;
3439
4540
  input_titles?: {
3440
4541
  [key: string]: string;
@@ -3453,7 +4554,6 @@ export declare function createAgent(transport: Transport): {
3453
4554
  };
3454
4555
  source?: "app" | "codemode";
3455
4556
  } | {
3456
- full_access_available?: boolean;
3457
4557
  id: string;
3458
4558
  input: Types.AgentManaged206;
3459
4559
  name: string;
@@ -3462,9 +4562,6 @@ export declare function createAgent(transport: Transport): {
3462
4562
  evaluated_permission?: "allow" | "deny" | "ask";
3463
4563
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3464
4564
  session_thread_id?: null | string;
3465
- run_id: string | null;
3466
- user_once?: true;
3467
- guarded_rule?: string;
3468
4565
  permission_suggestions?: Array<{
3469
4566
  type: "add_rules";
3470
4567
  behavior: "allow";
@@ -3474,6 +4571,10 @@ export declare function createAgent(transport: Transport): {
3474
4571
  rule_content: string;
3475
4572
  }>;
3476
4573
  }>;
4574
+ full_access_available?: boolean;
4575
+ user_once?: true;
4576
+ guarded_rule?: string;
4577
+ run_id: string | null;
3477
4578
  } | {
3478
4579
  id: string;
3479
4580
  processed_at: string;
@@ -3494,9 +4595,6 @@ export declare function createAgent(transport: Transport): {
3494
4595
  type: "session.status_idle";
3495
4596
  run_id: string | null;
3496
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 | {
3497
- permission_mode_version?: number;
3498
- previous_permission_mode?: string | null;
3499
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
3500
4598
  id: string;
3501
4599
  processed_at: string;
3502
4600
  type: "session.updated";
@@ -3504,6 +4602,9 @@ export declare function createAgent(transport: Transport): {
3504
4602
  budget?: null | Types.AgentManaged76;
3505
4603
  metadata?: Types.AgentManaged246;
3506
4604
  title?: null | string;
4605
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
4606
+ previous_permission_mode?: string | null;
4607
+ permission_mode_version?: number;
3507
4608
  model?: {
3508
4609
  id: string;
3509
4610
  };
@@ -3594,6 +4695,7 @@ export declare function createAgent(transport: Transport): {
3594
4695
  speed?: "standard" | "fast";
3595
4696
  settings?: {
3596
4697
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4698
+ max_output_tokens?: number;
3597
4699
  };
3598
4700
  };
3599
4701
  multiagent: null | Types.AgentManaged171;
@@ -3684,6 +4786,29 @@ export declare function createAgent(transport: Transport): {
3684
4786
  next_page: null;
3685
4787
  }>;
3686
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
+ };
3687
4812
  };
3688
4813
  export declare function createApplication(transport: Transport): {
3689
4814
  assets: {
@@ -3977,6 +5102,10 @@ export declare function createBrowser(transport: Transport): {
3977
5102
  tab: string;
3978
5103
  url: string;
3979
5104
  title: string;
5105
+ } | {
5106
+ type: "select";
5107
+ tab: string;
5108
+ values: Array<string>;
3980
5109
  } | {
3981
5110
  type: "tabs.list";
3982
5111
  tabs: Array<{
@@ -4003,6 +5132,11 @@ export declare function createBrowser(transport: Transport): {
4003
5132
  type: "evaluate";
4004
5133
  tab: string;
4005
5134
  value: unknown;
5135
+ } | {
5136
+ type: "set_cookie";
5137
+ tab: string;
5138
+ name: string;
5139
+ domain: string;
4006
5140
  }>;
4007
5141
  };
4008
5142
  create: (options: import("./core/transport.js").CallOptions<Types.BrowserCreateSessionData>) => Promise<Types.BrowserSessionCreateResult>;
@@ -4060,6 +5194,24 @@ export declare function createCanvas(transport: Transport): {
4060
5194
  update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCollectionData>) => Promise<Types.CanvasCollection>;
4061
5195
  };
4062
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
+ };
4063
5215
  export declare function createCrm(transport: Transport): {
4064
5216
  associations: {
4065
5217
  create: (options: import("./core/transport.js").CallOptions<Types.CrmAssociationsCreateData>) => Promise<Types.CrmAssociationsLabelsBetweenObjectPair & Types.CrmWriteResult>;
@@ -4120,6 +5272,32 @@ export declare function createCrm(transport: Transport): {
4120
5272
  list: (options?: import("./core/transport.js").CallOptions<Types.CrmSchemasListData> | undefined) => Promise<Types.CrmSchemasCollectionResponseObjectSchemaNoPaging>;
4121
5273
  };
4122
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
+ };
4123
5301
  export declare function createCut(transport: Transport): {
4124
5302
  exports: {
4125
5303
  cancel: (options: import("./core/transport.js").CallOptions<Types.CutCancelExportData>) => Promise<Types.CutExport>;
@@ -4218,13 +5396,26 @@ export declare function createDatabase(transport: Transport): {
4218
5396
  export declare function createDevops(transport: Transport): {
4219
5397
  changes: {
4220
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>;
4221
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>;
4222
5402
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGetData>) => Promise<Types.DevopsChange>;
4223
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
+ };
4224
5413
  environments: {
4225
5414
  checkpoints: {
4226
5415
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsCheckpointsListData>) => Promise<Types.DevopsCheckpointList>;
4227
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>;
4228
5419
  };
4229
5420
  flags: {
4230
5421
  archive: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsArchiveData>) => Promise<Types.DevopsFlag>;
@@ -4264,17 +5455,26 @@ export declare function createDevops(transport: Transport): {
4264
5455
  flags: {
4265
5456
  create: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsCreateData>) => Promise<Types.DevopsFlag>;
4266
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>;
4267
5459
  };
4268
5460
  list: (options?: import("./core/transport.js").CallOptions<Types.DevopsProjectsListData> | undefined) => Promise<Types.DevopsProjectPage>;
4269
5461
  promotions: {
4270
5462
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsListData>) => Promise<Types.DevopsPromotionPage>;
4271
5463
  };
5464
+ pullRequests: {
5465
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsListData>) => Promise<Types.DevopsPullRequestPage>;
5466
+ };
4272
5467
  releases: {
4273
5468
  create: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesCreateData>) => Promise<Types.DevopsRelease>;
4274
5469
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesListData>) => Promise<Types.DevopsReleasePage>;
4275
5470
  };
4276
5471
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsGetData>) => Promise<Types.DevopsProject>;
4277
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
+ };
4278
5478
  targets: {
4279
5479
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsTargetsListData>) => Promise<Types.DevopsTargetPage>;
4280
5480
  refresh: (options: import("./core/transport.js").CallOptions<Types.DevopsTargetsRefreshData>) => Promise<Types.DevopsTargetCatalog>;
@@ -4296,6 +5496,16 @@ export declare function createDevops(transport: Transport): {
4296
5496
  testSuites: {
4297
5497
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestSuitesListData>) => Promise<Types.DevopsSuitePage>;
4298
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
+ };
4299
5509
  };
4300
5510
  promotions: {
4301
5511
  approve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsApproveData>) => Promise<Types.DevopsPromotion>;
@@ -4308,6 +5518,12 @@ export declare function createDevops(transport: Transport): {
4308
5518
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsRolloutsListData>) => Promise<Types.DevopsRolloutPage>;
4309
5519
  };
4310
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
+ };
4311
5527
  releases: {
4312
5528
  abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesAbandonData>) => Promise<Types.DevopsRelease>;
4313
5529
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesGetData>) => Promise<Types.DevopsRelease>;
@@ -4315,6 +5531,9 @@ export declare function createDevops(transport: Transport): {
4315
5531
  rollouts: {
4316
5532
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsRolloutsGetData>) => Promise<Types.DevopsRollout>;
4317
5533
  };
5534
+ segments: {
5535
+ update: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsUpdateData>) => Promise<Types.DevopsSegment>;
5536
+ };
4318
5537
  testCases: {
4319
5538
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCasesGetData>) => Promise<Types.DevopsTestCase>;
4320
5539
  };
@@ -4332,10 +5551,24 @@ export declare function createDevops(transport: Transport): {
4332
5551
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestExecutionsGetData>) => Promise<Types.DevopsExecution>;
4333
5552
  };
4334
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>;
4335
5555
  };
4336
5556
  testSuites: {
4337
5557
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestSuitesGetData>) => Promise<Types.DevopsSuite>;
4338
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
+ };
4339
5572
  };
4340
5573
  export declare function createFile(transport: Transport): {
4341
5574
  files: {
@@ -4426,12 +5659,19 @@ export declare function createMedia(transport: Transport): {
4426
5659
  };
4427
5660
  libraries: {
4428
5661
  assets: {
5662
+ align: {
5663
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaAlignAssetData>) => Promise<Types.MediaJob>;
5664
+ };
4429
5665
  batch: (options: import("./core/transport.js").CallOptions<Types.MediaBatchAssetsData>) => Promise<Types.MediaJob>;
4430
5666
  create: (options: import("./core/transport.js").CallOptions<Types.MediaUploadAssetData>) => Promise<Types.MediaUploadResult>;
4431
5667
  delete: (options: import("./core/transport.js").CallOptions<Types.MediaDeleteAssetData>) => Promise<Types.MediaDeleted>;
4432
5668
  frames: {
4433
5669
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateFrameUrlsData>) => Promise<Types.MediaFrameUrls>;
4434
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
+ };
4435
5675
  import: {
4436
5676
  create: (options: import("./core/transport.js").CallOptions<Types.MediaImportAssetData>) => Promise<Types.MediaAsset>;
4437
5677
  };
@@ -4444,6 +5684,9 @@ export declare function createMedia(transport: Transport): {
4444
5684
  list: (options: import("./core/transport.js").CallOptions<Types.MediaListUnderstandingsData>) => Promise<import("./automation.js").Page<Types.MediaUnderstanding>>;
4445
5685
  };
4446
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
+ };
4447
5690
  };
4448
5691
  batches: {
4449
5692
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateBatchData>) => Promise<Types.MediaJob>;
@@ -4466,6 +5709,11 @@ export declare function createMedia(transport: Transport): {
4466
5709
  retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetJobData>) => Promise<Types.MediaJob>;
4467
5710
  };
4468
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
+ };
4469
5717
  purge: {
4470
5718
  create: (options: import("./core/transport.js").CallOptions<Types.MediaPurgeLibraryData>) => Promise<Types.MediaPurgedLibrary>;
4471
5719
  };
@@ -4696,7 +5944,35 @@ export declare function createModel(transport: Transport): {
4696
5944
  countTokens: (options: import("./core/transport.js").CallOptions<Types.CountTokensData>) => Promise<Types.AnthropicMessageTokensCount>;
4697
5945
  create: import("./core/bindings.js").MixedMethod<Types.CreateMessageData, Types.AnthropicMessage, Types.PraxisSdkSsePostModelV1Messages>;
4698
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
+ };
4699
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
+ };
4700
5976
  list: (options?: import("./core/transport.js").CallOptions<Types.ListModelsData> | undefined) => Promise<{
4701
5977
  object: "list";
4702
5978
  data: Array<{
@@ -4711,6 +5987,7 @@ export declare function createModel(transport: Transport): {
4711
5987
  type: "language" | "image" | "embedding" | "ocr" | "transcription" | "speech" | "video" | "reranking";
4712
5988
  supported_apis: Array<string>;
4713
5989
  tags: Array<string>;
5990
+ access_required: boolean;
4714
5991
  architecture: {
4715
5992
  modality: string;
4716
5993
  input_modalities: Array<string>;
@@ -4757,6 +6034,7 @@ export declare function createModel(transport: Transport): {
4757
6034
  type: "language" | "image" | "embedding" | "ocr" | "transcription" | "speech" | "video" | "reranking";
4758
6035
  supported_apis: Array<string>;
4759
6036
  tags: Array<string>;
6037
+ access_required: boolean;
4760
6038
  architecture: {
4761
6039
  modality: string;
4762
6040
  input_modalities: Array<string>;
@@ -4983,6 +6261,7 @@ export declare function createModel(transport: Transport): {
4983
6261
  unsigned_urls: Array<string>;
4984
6262
  usage?: {
4985
6263
  cost: number;
6264
+ billed_seconds?: number;
4986
6265
  };
4987
6266
  }>;
4988
6267
  delete: (options: import("./core/transport.js").CallOptions<Types.DeleteVideoData>) => Promise<{
@@ -5013,6 +6292,7 @@ export declare function createModel(transport: Transport): {
5013
6292
  unsigned_urls: Array<string>;
5014
6293
  usage?: {
5015
6294
  cost: number;
6295
+ billed_seconds?: number;
5016
6296
  };
5017
6297
  }>;
5018
6298
  has_more: boolean;
@@ -5041,6 +6321,7 @@ export declare function createModel(transport: Transport): {
5041
6321
  unsigned_urls: Array<string>;
5042
6322
  usage?: {
5043
6323
  cost: number;
6324
+ billed_seconds?: number;
5044
6325
  };
5045
6326
  }>;
5046
6327
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.DownloadVideoContentData>) => Promise<Blob | File>;
@@ -5078,6 +6359,23 @@ export declare function createOntology(transport: Transport): {
5078
6359
  };
5079
6360
  };
5080
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
+ };
5081
6379
  charges: {
5082
6380
  list: (options: import("./core/transport.js").CallOptions<Types.ExportOrganizationChargesData>) => Promise<{
5083
6381
  ChargePeriodStart: string;
@@ -5119,6 +6417,16 @@ export declare function createOrganization(transport: Transport): {
5119
6417
  next_page: string | null;
5120
6418
  }>;
5121
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
+ };
5122
6430
  events: {
5123
6431
  list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationEventsData>) => Promise<{
5124
6432
  object: "page";
@@ -5321,6 +6629,27 @@ export declare function createOrganization(transport: Transport): {
5321
6629
  }>;
5322
6630
  }>;
5323
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
+ };
5324
6653
  members: {
5325
6654
  list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationMembersData> | undefined) => Promise<{
5326
6655
  data: Array<{
@@ -5334,6 +6663,52 @@ export declare function createOrganization(transport: Transport): {
5334
6663
  next_page: string | null;
5335
6664
  }>;
5336
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
+ };
5337
6712
  usage: {
5338
6713
  list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationUsageData>) => Promise<{
5339
6714
  object: "page";
@@ -5357,6 +6732,42 @@ export declare function createOrganization(transport: Transport): {
5357
6732
  }>;
5358
6733
  };
5359
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
+ };
5360
6771
  export declare function createSandbox(transport: Transport): {
5361
6772
  events: {
5362
6773
  sandboxes: {
@@ -5441,6 +6852,20 @@ export declare function createSandbox(transport: Transport): {
5441
6852
  snapshots: {
5442
6853
  create: (options: import("./core/transport.js").CallOptions<Types.PostSandboxV1SandboxesBySandboxIdSnapshotsData>) => Promise<Types.SandboxSnapshotInfo>;
5443
6854
  };
6855
+ tasks: {
6856
+ create: (options: import("./core/transport.js").CallOptions<Types.StartSandboxTaskData>) => Promise<{
6857
+ taskId: string;
6858
+ instanceId: string;
6859
+ startedAt: number;
6860
+ }>;
6861
+ retrieveLog: (options: import("./core/transport.js").CallOptions<Types.GetSandboxTaskLogData>) => Promise<{
6862
+ text: string;
6863
+ nextOffset: number;
6864
+ done: boolean;
6865
+ exitCode: number | null;
6866
+ size: number | null;
6867
+ }>;
6868
+ };
5444
6869
  timeout: (options: import("./core/transport.js").CallOptions<Types.PostSandboxV1SandboxesBySandboxIdTimeoutData>) => Promise<void>;
5445
6870
  update: (options: import("./core/transport.js").CallOptions<Types.RenameSandboxData>) => Promise<Types.SandboxSandboxDetail & {
5446
6871
  name: string;
@@ -5579,6 +7004,14 @@ export declare function createSearch(transport: Transport): {
5579
7004
  }>;
5580
7005
  };
5581
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
+ };
5582
7015
  export declare function createStudio(transport: Transport): {
5583
7016
  codexes: {
5584
7017
  create: (options: import("./core/transport.js").CallOptions<Types.StudioCodexesCreateData>) => Promise<Types.StudioCodex>;
@@ -5872,7 +7305,9 @@ export declare const resourceFactories: {
5872
7305
  automation: typeof createAutomation;
5873
7306
  browser: typeof createBrowser;
5874
7307
  canvas: typeof createCanvas;
7308
+ content: typeof createContent;
5875
7309
  crm: typeof createCrm;
7310
+ customer: typeof createCustomer;
5876
7311
  cut: typeof createCut;
5877
7312
  database: typeof createDatabase;
5878
7313
  devops: typeof createDevops;
@@ -5883,8 +7318,10 @@ export declare const resourceFactories: {
5883
7318
  model: typeof createModel;
5884
7319
  ontology: typeof createOntology;
5885
7320
  organization: typeof createOrganization;
7321
+ registry: typeof createRegistry;
5886
7322
  sandbox: typeof createSandbox;
5887
7323
  search: typeof createSearch;
7324
+ share: typeof createShare;
5888
7325
  studio: typeof createStudio;
5889
7326
  ticket: typeof createTicket;
5890
7327
  vault: typeof createVault;