@deepraxis/sdk 0.1.1-dev.8ab3c22 → 0.1.1-dev.8b3a7d5

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.
@@ -42,6 +42,7 @@ export declare function createAgent(transport: Transport): {
42
42
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
43
43
  id: string;
44
44
  access: "read_only" | "read_write" | "invoke";
45
+ customer_access?: "read_only" | "read_write" | "invoke";
45
46
  instructions?: string;
46
47
  readonly verified?: boolean;
47
48
  enabled?: boolean;
@@ -159,6 +160,7 @@ export declare function createAgent(transport: Transport): {
159
160
  };
160
161
  avatar: string | null;
161
162
  creation_source: string | null;
163
+ managed_by: string | null;
162
164
  identity_number: string | null;
163
165
  environment_id?: string | null;
164
166
  vault_ids?: Array<string>;
@@ -225,6 +227,7 @@ export declare function createAgent(transport: Transport): {
225
227
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
226
228
  id: string;
227
229
  access: "read_only" | "read_write" | "invoke";
230
+ customer_access?: "read_only" | "read_write" | "invoke";
228
231
  instructions?: string;
229
232
  readonly verified?: boolean;
230
233
  enabled?: boolean;
@@ -349,6 +352,7 @@ export declare function createAgent(transport: Transport): {
349
352
  };
350
353
  avatar: string | null;
351
354
  creation_source: string | null;
355
+ managed_by: string | null;
352
356
  identity_number: string | null;
353
357
  environment_id?: string | null;
354
358
  vault_ids?: Array<string>;
@@ -653,21 +657,6 @@ export declare function createAgent(transport: Transport): {
653
657
  type: "user.steer";
654
658
  event_id: string;
655
659
  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
660
  }>;
672
661
  next_page: string | null;
673
662
  }>;
@@ -688,21 +677,6 @@ export declare function createAgent(transport: Transport): {
688
677
  type: "user.steer";
689
678
  event_id: string;
690
679
  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
680
  }>;
707
681
  }>;
708
682
  stream: (options: import("./core/transport.js").StreamOptions<Types.StreamAgentEventsData>) => AsyncIterable<Types.AgentSseEvent>;
@@ -761,6 +735,7 @@ export declare function createAgent(transport: Transport): {
761
735
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
762
736
  id: string;
763
737
  access: "read_only" | "read_write" | "invoke";
738
+ customer_access?: "read_only" | "read_write" | "invoke";
764
739
  instructions?: string;
765
740
  readonly verified?: boolean;
766
741
  enabled?: boolean;
@@ -885,6 +860,7 @@ export declare function createAgent(transport: Transport): {
885
860
  };
886
861
  avatar: string | null;
887
862
  creation_source: string | null;
863
+ managed_by: string | null;
888
864
  identity_number: string | null;
889
865
  environment_id?: string | null;
890
866
  vault_ids?: Array<string>;
@@ -898,6 +874,34 @@ export declare function createAgent(transport: Transport): {
898
874
  }>;
899
875
  next_page: string | null;
900
876
  }>;
877
+ phone: {
878
+ release: (options: import("./core/transport.js").CallOptions<Types.AgentsPhoneReleaseData>) => Promise<{
879
+ object: "agent_phone";
880
+ agent_id: string;
881
+ configured: boolean;
882
+ state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing" | "online" | "offline";
883
+ sku: string | null;
884
+ byod_device: string | null;
885
+ name: string | null;
886
+ sandbox_id: string | null;
887
+ lease_ends_at: string | null;
888
+ archived_at: string | null;
889
+ archive_error: string | null;
890
+ }>;
891
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.AgentsPhoneRetrieveData>) => Promise<{
892
+ object: "agent_phone";
893
+ agent_id: string;
894
+ configured: boolean;
895
+ state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing" | "online" | "offline";
896
+ sku: string | null;
897
+ byod_device: string | null;
898
+ name: string | null;
899
+ sandbox_id: string | null;
900
+ lease_ends_at: string | null;
901
+ archived_at: string | null;
902
+ archive_error: string | null;
903
+ }>;
904
+ };
901
905
  retrieve: (options: import("./core/transport.js").CallOptions<Types.AgentsRetrieveData>) => Promise<{
902
906
  id: string;
903
907
  archived_at: null | string;
@@ -938,6 +942,7 @@ export declare function createAgent(transport: Transport): {
938
942
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
939
943
  id: string;
940
944
  access: "read_only" | "read_write" | "invoke";
945
+ customer_access?: "read_only" | "read_write" | "invoke";
941
946
  instructions?: string;
942
947
  readonly verified?: boolean;
943
948
  enabled?: boolean;
@@ -1062,6 +1067,7 @@ export declare function createAgent(transport: Transport): {
1062
1067
  };
1063
1068
  avatar: string | null;
1064
1069
  creation_source: string | null;
1070
+ managed_by: string | null;
1065
1071
  identity_number: string | null;
1066
1072
  environment_id?: string | null;
1067
1073
  vault_ids?: Array<string>;
@@ -1144,6 +1150,11 @@ export declare function createAgent(transport: Transport): {
1144
1150
  max_file_bytes: number;
1145
1151
  max_files_per_session: number;
1146
1152
  };
1153
+ share_links: {
1154
+ enabled: boolean;
1155
+ daily_session_cap: number | null;
1156
+ daily_spend_cap_micro_usd: number | null;
1157
+ };
1147
1158
  }>;
1148
1159
  unarchive: {
1149
1160
  create: (options: import("./core/transport.js").CallOptions<Types.UnarchiveAgentData>) => Promise<{
@@ -1388,6 +1399,7 @@ export declare function createAgent(transport: Transport): {
1388
1399
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1389
1400
  id: string;
1390
1401
  access: "read_only" | "read_write" | "invoke";
1402
+ customer_access?: "read_only" | "read_write" | "invoke";
1391
1403
  instructions?: string;
1392
1404
  readonly verified?: boolean;
1393
1405
  enabled?: boolean;
@@ -1512,6 +1524,7 @@ export declare function createAgent(transport: Transport): {
1512
1524
  };
1513
1525
  avatar: string | null;
1514
1526
  creation_source: string | null;
1527
+ managed_by: string | null;
1515
1528
  identity_number: string | null;
1516
1529
  environment_id?: string | null;
1517
1530
  vault_ids?: Array<string>;
@@ -1564,6 +1577,7 @@ export declare function createAgent(transport: Transport): {
1564
1577
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1565
1578
  id: string;
1566
1579
  access: "read_only" | "read_write" | "invoke";
1580
+ customer_access?: "read_only" | "read_write" | "invoke";
1567
1581
  instructions?: string;
1568
1582
  readonly verified?: boolean;
1569
1583
  enabled?: boolean;
@@ -1688,6 +1702,7 @@ export declare function createAgent(transport: Transport): {
1688
1702
  };
1689
1703
  avatar: string | null;
1690
1704
  creation_source: string | null;
1705
+ managed_by: string | null;
1691
1706
  identity_number: string | null;
1692
1707
  environment_id?: string | null;
1693
1708
  vault_ids?: Array<string>;
@@ -1707,6 +1722,11 @@ export declare function createAgent(transport: Transport): {
1707
1722
  max_file_bytes: number;
1708
1723
  max_files_per_session: number;
1709
1724
  };
1725
+ share_links: {
1726
+ enabled: boolean;
1727
+ daily_session_cap: number | null;
1728
+ daily_spend_cap_micro_usd: number | null;
1729
+ };
1710
1730
  }>;
1711
1731
  versions: {
1712
1732
  apply: (options: import("./core/transport.js").CallOptions<Types.ApplyAgentVersionData>) => Promise<{
@@ -1951,6 +1971,7 @@ export declare function createAgent(transport: Transport): {
1951
1971
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1952
1972
  id: string;
1953
1973
  access: "read_only" | "read_write" | "invoke";
1974
+ customer_access?: "read_only" | "read_write" | "invoke";
1954
1975
  instructions?: string;
1955
1976
  readonly verified?: boolean;
1956
1977
  enabled?: boolean;
@@ -2075,6 +2096,7 @@ export declare function createAgent(transport: Transport): {
2075
2096
  };
2076
2097
  avatar: string | null;
2077
2098
  creation_source: string | null;
2099
+ managed_by: string | null;
2078
2100
  identity_number: string | null;
2079
2101
  environment_id?: string | null;
2080
2102
  vault_ids?: Array<string>;
@@ -2127,6 +2149,7 @@ export declare function createAgent(transport: Transport): {
2127
2149
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
2128
2150
  id: string;
2129
2151
  access: "read_only" | "read_write" | "invoke";
2152
+ customer_access?: "read_only" | "read_write" | "invoke";
2130
2153
  instructions?: string;
2131
2154
  readonly verified?: boolean;
2132
2155
  enabled?: boolean;
@@ -2251,6 +2274,7 @@ export declare function createAgent(transport: Transport): {
2251
2274
  };
2252
2275
  avatar: string | null;
2253
2276
  creation_source: string | null;
2277
+ managed_by: string | null;
2254
2278
  identity_number: string | null;
2255
2279
  environment_id?: string | null;
2256
2280
  vault_ids?: Array<string>;
@@ -2338,6 +2362,24 @@ export declare function createAgent(transport: Transport): {
2338
2362
  tier: "light" | "heavy";
2339
2363
  }>;
2340
2364
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesContentData>) => Promise<Blob | File>;
2365
+ retrievePreview: (options: import("./core/transport.js").CallOptions<Types.PreviewComputerFileData>) => Promise<{
2366
+ variant: "image" | "pdf" | "text" | "original";
2367
+ version?: string;
2368
+ mime_type?: string;
2369
+ size?: number;
2370
+ file_id?: string;
2371
+ url?: string;
2372
+ expires_at?: string;
2373
+ cached: boolean;
2374
+ fallback?: "content";
2375
+ skipped?: boolean;
2376
+ }>;
2377
+ updateContent: (options: import("./core/transport.js").CallOptions<Types.UpdateComputerFileContentData>) => Promise<{
2378
+ path: string;
2379
+ size: number;
2380
+ mtime: string | null;
2381
+ version: string;
2382
+ }>;
2341
2383
  };
2342
2384
  leases: {
2343
2385
  delete: (options: import("./core/transport.js").CallOptions<Types.ReleaseComputerLeaseData>) => Promise<{
@@ -2684,6 +2726,543 @@ export declare function createAgent(transport: Transport): {
2684
2726
  update: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsUpdateData>) => Promise<Types.AgentManaged138>;
2685
2727
  };
2686
2728
  sessions: {
2729
+ agentVersion: {
2730
+ create: (options: import("./core/transport.js").CallOptions<Types.UpdateSessionAgentVersionData>) => Promise<{
2731
+ id: string;
2732
+ agent: {
2733
+ id: string;
2734
+ description: null | string;
2735
+ mcp_servers: Array<{
2736
+ type: "url";
2737
+ name: string;
2738
+ url: string;
2739
+ headers?: {
2740
+ [key: string]: string;
2741
+ };
2742
+ timeout_ms?: number;
2743
+ } | {
2744
+ type: "sse";
2745
+ name: string;
2746
+ url: string;
2747
+ headers?: {
2748
+ [key: string]: string;
2749
+ };
2750
+ timeout_ms?: number;
2751
+ } | {
2752
+ type: "stdio";
2753
+ name: string;
2754
+ command: string;
2755
+ args?: Array<string>;
2756
+ env?: {
2757
+ [key: string]: string;
2758
+ };
2759
+ timeout_ms?: number;
2760
+ }>;
2761
+ model: {
2762
+ id: string;
2763
+ effort?: {
2764
+ type: "low";
2765
+ } | {
2766
+ type: "medium";
2767
+ } | {
2768
+ type: "high";
2769
+ } | {
2770
+ type: "xhigh";
2771
+ } | {
2772
+ type: "max";
2773
+ };
2774
+ inference_geo?: string;
2775
+ speed?: "standard" | "fast";
2776
+ settings?: {
2777
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2778
+ max_output_tokens?: number;
2779
+ };
2780
+ };
2781
+ multiagent: null | {
2782
+ agents: Array<{
2783
+ model: string;
2784
+ type: "advisor";
2785
+ } | {
2786
+ id: string;
2787
+ description: null | string;
2788
+ mcp_servers: Array<{
2789
+ type: "url";
2790
+ name: string;
2791
+ url: string;
2792
+ headers?: {
2793
+ [key: string]: string;
2794
+ };
2795
+ timeout_ms?: number;
2796
+ } | {
2797
+ type: "sse";
2798
+ name: string;
2799
+ url: string;
2800
+ headers?: {
2801
+ [key: string]: string;
2802
+ };
2803
+ timeout_ms?: number;
2804
+ } | {
2805
+ type: "stdio";
2806
+ name: string;
2807
+ command: string;
2808
+ args?: Array<string>;
2809
+ env?: {
2810
+ [key: string]: string;
2811
+ };
2812
+ timeout_ms?: number;
2813
+ }>;
2814
+ model: {
2815
+ id: string;
2816
+ effort?: {
2817
+ type: "low";
2818
+ } | {
2819
+ type: "medium";
2820
+ } | {
2821
+ type: "high";
2822
+ } | {
2823
+ type: "xhigh";
2824
+ } | {
2825
+ type: "max";
2826
+ };
2827
+ inference_geo?: string;
2828
+ speed?: "standard" | "fast";
2829
+ };
2830
+ name: string;
2831
+ skills: Array<{
2832
+ skill_id: string;
2833
+ type: "anthropic";
2834
+ version: string;
2835
+ } | {
2836
+ skill_id: string;
2837
+ type: "custom";
2838
+ version: string;
2839
+ }>;
2840
+ system: null | string;
2841
+ tools: Array<{
2842
+ configs: Array<{
2843
+ enabled: boolean;
2844
+ name: "bash";
2845
+ permission_policy: {
2846
+ type: "always_allow";
2847
+ } | {
2848
+ type: "always_ask";
2849
+ } | {
2850
+ type: "auto";
2851
+ };
2852
+ type: "bash";
2853
+ } | {
2854
+ enabled: boolean;
2855
+ name: "edit";
2856
+ permission_policy: {
2857
+ type: "always_allow";
2858
+ } | {
2859
+ type: "always_ask";
2860
+ } | {
2861
+ type: "auto";
2862
+ };
2863
+ type: "edit";
2864
+ } | {
2865
+ enabled: boolean;
2866
+ name: "read";
2867
+ permission_policy: {
2868
+ type: "always_allow";
2869
+ } | {
2870
+ type: "always_ask";
2871
+ } | {
2872
+ type: "auto";
2873
+ };
2874
+ type: "read";
2875
+ } | {
2876
+ enabled: boolean;
2877
+ name: "write";
2878
+ permission_policy: {
2879
+ type: "always_allow";
2880
+ } | {
2881
+ type: "always_ask";
2882
+ } | {
2883
+ type: "auto";
2884
+ };
2885
+ type: "write";
2886
+ } | {
2887
+ enabled: boolean;
2888
+ name: "glob";
2889
+ permission_policy: {
2890
+ type: "always_allow";
2891
+ } | {
2892
+ type: "always_ask";
2893
+ } | {
2894
+ type: "auto";
2895
+ };
2896
+ type: "glob";
2897
+ } | {
2898
+ enabled: boolean;
2899
+ name: "grep";
2900
+ permission_policy: {
2901
+ type: "always_allow";
2902
+ } | {
2903
+ type: "always_ask";
2904
+ } | {
2905
+ type: "auto";
2906
+ };
2907
+ type: "grep";
2908
+ } | {
2909
+ enabled: boolean;
2910
+ name: "web_fetch";
2911
+ permission_policy: {
2912
+ type: "always_allow";
2913
+ } | {
2914
+ type: "always_ask";
2915
+ } | {
2916
+ type: "auto";
2917
+ };
2918
+ type: "web_fetch";
2919
+ allowed_domains?: Array<string>;
2920
+ blocked_domains?: Array<string>;
2921
+ max_content_tokens?: null | number;
2922
+ } | {
2923
+ enabled: boolean;
2924
+ name: "web_search";
2925
+ permission_policy: {
2926
+ type: "always_allow";
2927
+ } | {
2928
+ type: "always_ask";
2929
+ } | {
2930
+ type: "auto";
2931
+ };
2932
+ type: "web_search";
2933
+ allowed_domains?: Array<string>;
2934
+ blocked_domains?: Array<string>;
2935
+ user_location?: null | {
2936
+ type: "approximate";
2937
+ city?: null | string;
2938
+ country?: null | string;
2939
+ region?: null | string;
2940
+ timezone?: null | string;
2941
+ };
2942
+ } | {
2943
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
2944
+ enabled: boolean;
2945
+ permission_policy: {
2946
+ type: "always_allow" | "always_ask";
2947
+ };
2948
+ }>;
2949
+ default_config: {
2950
+ enabled: boolean;
2951
+ permission_policy: {
2952
+ type: "always_allow";
2953
+ } | {
2954
+ type: "always_ask";
2955
+ } | {
2956
+ type: "auto";
2957
+ };
2958
+ };
2959
+ type: "agent_toolset_20260401";
2960
+ } | {
2961
+ type: "mcp_toolset";
2962
+ mcp_server_name: string;
2963
+ default_config?: {
2964
+ enabled?: boolean | null;
2965
+ permission_policy?: null | {
2966
+ type: "always_allow" | "always_ask";
2967
+ };
2968
+ } | null;
2969
+ configs?: Array<{
2970
+ name: string;
2971
+ enabled?: boolean | null;
2972
+ permission_policy?: null | {
2973
+ type: "always_allow" | "always_ask";
2974
+ };
2975
+ }> | null;
2976
+ } | {
2977
+ description: string;
2978
+ input_schema: {
2979
+ type: "object";
2980
+ properties?: null | {
2981
+ [key: string]: unknown;
2982
+ };
2983
+ required?: null | Array<string>;
2984
+ [key: string]: unknown;
2985
+ };
2986
+ name: string;
2987
+ type: "custom";
2988
+ }>;
2989
+ type: "agent";
2990
+ version: number;
2991
+ }>;
2992
+ type: "coordinator";
2993
+ };
2994
+ name: string;
2995
+ skills: Array<{
2996
+ skill_id: string;
2997
+ type: "anthropic";
2998
+ version: string;
2999
+ } | {
3000
+ skill_id: string;
3001
+ type: "custom";
3002
+ version: string;
3003
+ }>;
3004
+ system: null | string;
3005
+ tools: Array<{
3006
+ configs: Array<{
3007
+ enabled: boolean;
3008
+ name: "bash";
3009
+ permission_policy: {
3010
+ type: "always_allow";
3011
+ } | {
3012
+ type: "always_ask";
3013
+ } | {
3014
+ type: "auto";
3015
+ };
3016
+ type: "bash";
3017
+ } | {
3018
+ enabled: boolean;
3019
+ name: "edit";
3020
+ permission_policy: {
3021
+ type: "always_allow";
3022
+ } | {
3023
+ type: "always_ask";
3024
+ } | {
3025
+ type: "auto";
3026
+ };
3027
+ type: "edit";
3028
+ } | {
3029
+ enabled: boolean;
3030
+ name: "read";
3031
+ permission_policy: {
3032
+ type: "always_allow";
3033
+ } | {
3034
+ type: "always_ask";
3035
+ } | {
3036
+ type: "auto";
3037
+ };
3038
+ type: "read";
3039
+ } | {
3040
+ enabled: boolean;
3041
+ name: "write";
3042
+ permission_policy: {
3043
+ type: "always_allow";
3044
+ } | {
3045
+ type: "always_ask";
3046
+ } | {
3047
+ type: "auto";
3048
+ };
3049
+ type: "write";
3050
+ } | {
3051
+ enabled: boolean;
3052
+ name: "glob";
3053
+ permission_policy: {
3054
+ type: "always_allow";
3055
+ } | {
3056
+ type: "always_ask";
3057
+ } | {
3058
+ type: "auto";
3059
+ };
3060
+ type: "glob";
3061
+ } | {
3062
+ enabled: boolean;
3063
+ name: "grep";
3064
+ permission_policy: {
3065
+ type: "always_allow";
3066
+ } | {
3067
+ type: "always_ask";
3068
+ } | {
3069
+ type: "auto";
3070
+ };
3071
+ type: "grep";
3072
+ } | {
3073
+ enabled: boolean;
3074
+ name: "web_fetch";
3075
+ permission_policy: {
3076
+ type: "always_allow";
3077
+ } | {
3078
+ type: "always_ask";
3079
+ } | {
3080
+ type: "auto";
3081
+ };
3082
+ type: "web_fetch";
3083
+ allowed_domains?: Array<string>;
3084
+ blocked_domains?: Array<string>;
3085
+ max_content_tokens?: null | number;
3086
+ } | {
3087
+ enabled: boolean;
3088
+ name: "web_search";
3089
+ permission_policy: {
3090
+ type: "always_allow";
3091
+ } | {
3092
+ type: "always_ask";
3093
+ } | {
3094
+ type: "auto";
3095
+ };
3096
+ type: "web_search";
3097
+ allowed_domains?: Array<string>;
3098
+ blocked_domains?: Array<string>;
3099
+ user_location?: null | {
3100
+ type: "approximate";
3101
+ city?: null | string;
3102
+ country?: null | string;
3103
+ region?: null | string;
3104
+ timezone?: null | string;
3105
+ };
3106
+ } | {
3107
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
3108
+ enabled: boolean;
3109
+ permission_policy: {
3110
+ type: "always_allow" | "always_ask";
3111
+ };
3112
+ }>;
3113
+ default_config: {
3114
+ enabled: boolean;
3115
+ permission_policy: {
3116
+ type: "always_allow";
3117
+ } | {
3118
+ type: "always_ask";
3119
+ } | {
3120
+ type: "auto";
3121
+ };
3122
+ };
3123
+ type: "agent_toolset_20260401";
3124
+ } | {
3125
+ type: "mcp_toolset";
3126
+ mcp_server_name: string;
3127
+ default_config?: {
3128
+ enabled?: boolean | null;
3129
+ permission_policy?: null | {
3130
+ type: "always_allow" | "always_ask";
3131
+ };
3132
+ } | null;
3133
+ configs?: Array<{
3134
+ name: string;
3135
+ enabled?: boolean | null;
3136
+ permission_policy?: null | {
3137
+ type: "always_allow" | "always_ask";
3138
+ };
3139
+ }> | null;
3140
+ } | {
3141
+ description: string;
3142
+ input_schema: {
3143
+ type: "object";
3144
+ properties?: null | {
3145
+ [key: string]: unknown;
3146
+ };
3147
+ required?: null | Array<string>;
3148
+ [key: string]: unknown;
3149
+ };
3150
+ name: string;
3151
+ type: "custom";
3152
+ }>;
3153
+ type: "agent";
3154
+ version: number;
3155
+ };
3156
+ archived_at: null | string;
3157
+ budget: null | {
3158
+ max_list_cost: {
3159
+ amount: string;
3160
+ currency: "USD";
3161
+ };
3162
+ type: "limit";
3163
+ };
3164
+ created_at: string;
3165
+ environment_id?: string;
3166
+ metadata: {
3167
+ [key: string]: string;
3168
+ };
3169
+ outcome_evaluations: Array<{
3170
+ completed_at: null | string;
3171
+ description: string;
3172
+ explanation: null | string;
3173
+ iteration: number;
3174
+ outcome_id: string;
3175
+ result: string;
3176
+ type: "outcome_evaluation";
3177
+ }>;
3178
+ resources: Array<{
3179
+ id: string;
3180
+ created_at: string;
3181
+ mount_path: string;
3182
+ type: "github_repository";
3183
+ updated_at: string;
3184
+ url: string;
3185
+ checkout?: null | {
3186
+ name: string;
3187
+ type: "branch";
3188
+ } | {
3189
+ sha: string;
3190
+ type: "commit";
3191
+ };
3192
+ } | {
3193
+ id: string;
3194
+ created_at: string;
3195
+ file_id: string;
3196
+ mount_path: string;
3197
+ type: "file";
3198
+ updated_at: string;
3199
+ } | {
3200
+ memory_store_id: string;
3201
+ type: "memory_store";
3202
+ access?: null | "read_write" | "read_only";
3203
+ description?: string;
3204
+ instructions?: null | string;
3205
+ mount_path?: null | string;
3206
+ name?: null | string;
3207
+ }>;
3208
+ stats: {
3209
+ active_seconds?: number;
3210
+ duration_seconds?: number;
3211
+ };
3212
+ status: "rescheduling" | "running" | "idle" | "terminated";
3213
+ title: null | string;
3214
+ type: "session";
3215
+ updated_at: string;
3216
+ usage: {
3217
+ active_seconds?: number;
3218
+ cache_creation?: {
3219
+ ephemeral_1h_input_tokens?: number;
3220
+ ephemeral_5m_input_tokens?: number;
3221
+ };
3222
+ cache_read_input_tokens?: number;
3223
+ input_tokens?: number;
3224
+ list_cost?: null | {
3225
+ amount: string;
3226
+ currency: "USD";
3227
+ };
3228
+ output_tokens?: number;
3229
+ server_tool_use?: null | {
3230
+ web_fetch_requests?: number;
3231
+ web_search_requests?: number;
3232
+ };
3233
+ cost_by_product?: {
3234
+ [key: string]: string;
3235
+ };
3236
+ subagent_cost_micro_usd?: number;
3237
+ };
3238
+ vault_ids: Array<string>;
3239
+ deployment_id?: null | string;
3240
+ cwd: string;
3241
+ workspace?: {
3242
+ kind: "shared" | "isolated";
3243
+ path?: string;
3244
+ branch?: string;
3245
+ };
3246
+ computer_id?: string;
3247
+ model?: {
3248
+ id: string;
3249
+ thinking: {
3250
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
3251
+ can_disable: boolean;
3252
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
3253
+ } | null;
3254
+ };
3255
+ thinking?: {
3256
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3257
+ } | null;
3258
+ forked_from?: {
3259
+ session_id: string;
3260
+ message_id: string;
3261
+ } | null;
3262
+ readonly external_user_id: string | null;
3263
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
3264
+ }>;
3265
+ };
2687
3266
  archive: (options: import("./core/transport.js").CallOptions<Types.SessionsArchiveData>) => Promise<{
2688
3267
  id: string;
2689
3268
  agent: {
@@ -2724,6 +3303,11 @@ export declare function createAgent(transport: Transport): {
2724
3303
  vault_ids: Array<string>;
2725
3304
  deployment_id?: null | string;
2726
3305
  cwd: string;
3306
+ workspace?: {
3307
+ kind: "shared" | "isolated";
3308
+ path?: string;
3309
+ branch?: string;
3310
+ };
2727
3311
  computer_id?: string;
2728
3312
  model?: {
2729
3313
  id: string;
@@ -2886,6 +3470,11 @@ export declare function createAgent(transport: Transport): {
2886
3470
  vault_ids: Array<string>;
2887
3471
  deployment_id?: null | string;
2888
3472
  cwd: string;
3473
+ workspace?: {
3474
+ kind: "shared" | "isolated";
3475
+ path?: string;
3476
+ branch?: string;
3477
+ };
2889
3478
  computer_id?: string;
2890
3479
  model?: {
2891
3480
  id: string;
@@ -3107,21 +3696,6 @@ export declare function createAgent(transport: Transport): {
3107
3696
  type: "user.steer";
3108
3697
  event_id: string;
3109
3698
  processed_at: string;
3110
- } | {
3111
- id: string;
3112
- type: "user.tool_confirmation";
3113
- processed_at: string;
3114
- tool_use_id: string;
3115
- result: "allow";
3116
- answers: {
3117
- [key: string]: string;
3118
- };
3119
- annotations?: {
3120
- [key: string]: {
3121
- preview?: string;
3122
- notes?: string;
3123
- };
3124
- };
3125
3699
  }>;
3126
3700
  next_page: string | null;
3127
3701
  }>;
@@ -3142,21 +3716,6 @@ export declare function createAgent(transport: Transport): {
3142
3716
  type: "user.steer";
3143
3717
  event_id: string;
3144
3718
  processed_at: string;
3145
- } | {
3146
- id: string;
3147
- type: "user.tool_confirmation";
3148
- processed_at: string;
3149
- tool_use_id: string;
3150
- result: "allow";
3151
- answers: {
3152
- [key: string]: string;
3153
- };
3154
- annotations?: {
3155
- [key: string]: {
3156
- preview?: string;
3157
- notes?: string;
3158
- };
3159
- };
3160
3719
  }>;
3161
3720
  }>;
3162
3721
  stream: (options: import("./core/transport.js").StreamOptions<Types.SessionsEventsStreamData>) => AsyncIterable<Types.AgentSseEvent>;
@@ -3672,6 +4231,11 @@ export declare function createAgent(transport: Transport): {
3672
4231
  vault_ids: Array<string>;
3673
4232
  deployment_id?: null | string;
3674
4233
  cwd: string;
4234
+ workspace?: {
4235
+ kind: "shared" | "isolated";
4236
+ path?: string;
4237
+ branch?: string;
4238
+ };
3675
4239
  computer_id?: string;
3676
4240
  model?: {
3677
4241
  id: string;
@@ -3732,6 +4296,11 @@ export declare function createAgent(transport: Transport): {
3732
4296
  vault_ids: Array<string>;
3733
4297
  deployment_id?: null | string;
3734
4298
  cwd: string;
4299
+ workspace?: {
4300
+ kind: "shared" | "isolated";
4301
+ path?: string;
4302
+ branch?: string;
4303
+ };
3735
4304
  computer_id?: string;
3736
4305
  model?: {
3737
4306
  id: string;
@@ -3753,6 +4322,543 @@ export declare function createAgent(transport: Transport): {
3753
4322
  }>;
3754
4323
  next_page: string | null;
3755
4324
  }>;
4325
+ name: {
4326
+ create: (options: import("./core/transport.js").CallOptions<Types.RenameSessionData>) => Promise<{
4327
+ id: string;
4328
+ agent: {
4329
+ id: string;
4330
+ description: null | string;
4331
+ mcp_servers: Array<{
4332
+ type: "url";
4333
+ name: string;
4334
+ url: string;
4335
+ headers?: {
4336
+ [key: string]: string;
4337
+ };
4338
+ timeout_ms?: number;
4339
+ } | {
4340
+ type: "sse";
4341
+ name: string;
4342
+ url: string;
4343
+ headers?: {
4344
+ [key: string]: string;
4345
+ };
4346
+ timeout_ms?: number;
4347
+ } | {
4348
+ type: "stdio";
4349
+ name: string;
4350
+ command: string;
4351
+ args?: Array<string>;
4352
+ env?: {
4353
+ [key: string]: string;
4354
+ };
4355
+ timeout_ms?: number;
4356
+ }>;
4357
+ model: {
4358
+ id: string;
4359
+ effort?: {
4360
+ type: "low";
4361
+ } | {
4362
+ type: "medium";
4363
+ } | {
4364
+ type: "high";
4365
+ } | {
4366
+ type: "xhigh";
4367
+ } | {
4368
+ type: "max";
4369
+ };
4370
+ inference_geo?: string;
4371
+ speed?: "standard" | "fast";
4372
+ settings?: {
4373
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4374
+ max_output_tokens?: number;
4375
+ };
4376
+ };
4377
+ multiagent: null | {
4378
+ agents: Array<{
4379
+ model: string;
4380
+ type: "advisor";
4381
+ } | {
4382
+ id: string;
4383
+ description: null | string;
4384
+ mcp_servers: Array<{
4385
+ type: "url";
4386
+ name: string;
4387
+ url: string;
4388
+ headers?: {
4389
+ [key: string]: string;
4390
+ };
4391
+ timeout_ms?: number;
4392
+ } | {
4393
+ type: "sse";
4394
+ name: string;
4395
+ url: string;
4396
+ headers?: {
4397
+ [key: string]: string;
4398
+ };
4399
+ timeout_ms?: number;
4400
+ } | {
4401
+ type: "stdio";
4402
+ name: string;
4403
+ command: string;
4404
+ args?: Array<string>;
4405
+ env?: {
4406
+ [key: string]: string;
4407
+ };
4408
+ timeout_ms?: number;
4409
+ }>;
4410
+ model: {
4411
+ id: string;
4412
+ effort?: {
4413
+ type: "low";
4414
+ } | {
4415
+ type: "medium";
4416
+ } | {
4417
+ type: "high";
4418
+ } | {
4419
+ type: "xhigh";
4420
+ } | {
4421
+ type: "max";
4422
+ };
4423
+ inference_geo?: string;
4424
+ speed?: "standard" | "fast";
4425
+ };
4426
+ name: string;
4427
+ skills: Array<{
4428
+ skill_id: string;
4429
+ type: "anthropic";
4430
+ version: string;
4431
+ } | {
4432
+ skill_id: string;
4433
+ type: "custom";
4434
+ version: string;
4435
+ }>;
4436
+ system: null | string;
4437
+ tools: Array<{
4438
+ configs: Array<{
4439
+ enabled: boolean;
4440
+ name: "bash";
4441
+ permission_policy: {
4442
+ type: "always_allow";
4443
+ } | {
4444
+ type: "always_ask";
4445
+ } | {
4446
+ type: "auto";
4447
+ };
4448
+ type: "bash";
4449
+ } | {
4450
+ enabled: boolean;
4451
+ name: "edit";
4452
+ permission_policy: {
4453
+ type: "always_allow";
4454
+ } | {
4455
+ type: "always_ask";
4456
+ } | {
4457
+ type: "auto";
4458
+ };
4459
+ type: "edit";
4460
+ } | {
4461
+ enabled: boolean;
4462
+ name: "read";
4463
+ permission_policy: {
4464
+ type: "always_allow";
4465
+ } | {
4466
+ type: "always_ask";
4467
+ } | {
4468
+ type: "auto";
4469
+ };
4470
+ type: "read";
4471
+ } | {
4472
+ enabled: boolean;
4473
+ name: "write";
4474
+ permission_policy: {
4475
+ type: "always_allow";
4476
+ } | {
4477
+ type: "always_ask";
4478
+ } | {
4479
+ type: "auto";
4480
+ };
4481
+ type: "write";
4482
+ } | {
4483
+ enabled: boolean;
4484
+ name: "glob";
4485
+ permission_policy: {
4486
+ type: "always_allow";
4487
+ } | {
4488
+ type: "always_ask";
4489
+ } | {
4490
+ type: "auto";
4491
+ };
4492
+ type: "glob";
4493
+ } | {
4494
+ enabled: boolean;
4495
+ name: "grep";
4496
+ permission_policy: {
4497
+ type: "always_allow";
4498
+ } | {
4499
+ type: "always_ask";
4500
+ } | {
4501
+ type: "auto";
4502
+ };
4503
+ type: "grep";
4504
+ } | {
4505
+ enabled: boolean;
4506
+ name: "web_fetch";
4507
+ permission_policy: {
4508
+ type: "always_allow";
4509
+ } | {
4510
+ type: "always_ask";
4511
+ } | {
4512
+ type: "auto";
4513
+ };
4514
+ type: "web_fetch";
4515
+ allowed_domains?: Array<string>;
4516
+ blocked_domains?: Array<string>;
4517
+ max_content_tokens?: null | number;
4518
+ } | {
4519
+ enabled: boolean;
4520
+ name: "web_search";
4521
+ permission_policy: {
4522
+ type: "always_allow";
4523
+ } | {
4524
+ type: "always_ask";
4525
+ } | {
4526
+ type: "auto";
4527
+ };
4528
+ type: "web_search";
4529
+ allowed_domains?: Array<string>;
4530
+ blocked_domains?: Array<string>;
4531
+ user_location?: null | {
4532
+ type: "approximate";
4533
+ city?: null | string;
4534
+ country?: null | string;
4535
+ region?: null | string;
4536
+ timezone?: null | string;
4537
+ };
4538
+ } | {
4539
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
4540
+ enabled: boolean;
4541
+ permission_policy: {
4542
+ type: "always_allow" | "always_ask";
4543
+ };
4544
+ }>;
4545
+ default_config: {
4546
+ enabled: boolean;
4547
+ permission_policy: {
4548
+ type: "always_allow";
4549
+ } | {
4550
+ type: "always_ask";
4551
+ } | {
4552
+ type: "auto";
4553
+ };
4554
+ };
4555
+ type: "agent_toolset_20260401";
4556
+ } | {
4557
+ type: "mcp_toolset";
4558
+ mcp_server_name: string;
4559
+ default_config?: {
4560
+ enabled?: boolean | null;
4561
+ permission_policy?: null | {
4562
+ type: "always_allow" | "always_ask";
4563
+ };
4564
+ } | null;
4565
+ configs?: Array<{
4566
+ name: string;
4567
+ enabled?: boolean | null;
4568
+ permission_policy?: null | {
4569
+ type: "always_allow" | "always_ask";
4570
+ };
4571
+ }> | null;
4572
+ } | {
4573
+ description: string;
4574
+ input_schema: {
4575
+ type: "object";
4576
+ properties?: null | {
4577
+ [key: string]: unknown;
4578
+ };
4579
+ required?: null | Array<string>;
4580
+ [key: string]: unknown;
4581
+ };
4582
+ name: string;
4583
+ type: "custom";
4584
+ }>;
4585
+ type: "agent";
4586
+ version: number;
4587
+ }>;
4588
+ type: "coordinator";
4589
+ };
4590
+ name: string;
4591
+ skills: Array<{
4592
+ skill_id: string;
4593
+ type: "anthropic";
4594
+ version: string;
4595
+ } | {
4596
+ skill_id: string;
4597
+ type: "custom";
4598
+ version: string;
4599
+ }>;
4600
+ system: null | string;
4601
+ tools: Array<{
4602
+ configs: Array<{
4603
+ enabled: boolean;
4604
+ name: "bash";
4605
+ permission_policy: {
4606
+ type: "always_allow";
4607
+ } | {
4608
+ type: "always_ask";
4609
+ } | {
4610
+ type: "auto";
4611
+ };
4612
+ type: "bash";
4613
+ } | {
4614
+ enabled: boolean;
4615
+ name: "edit";
4616
+ permission_policy: {
4617
+ type: "always_allow";
4618
+ } | {
4619
+ type: "always_ask";
4620
+ } | {
4621
+ type: "auto";
4622
+ };
4623
+ type: "edit";
4624
+ } | {
4625
+ enabled: boolean;
4626
+ name: "read";
4627
+ permission_policy: {
4628
+ type: "always_allow";
4629
+ } | {
4630
+ type: "always_ask";
4631
+ } | {
4632
+ type: "auto";
4633
+ };
4634
+ type: "read";
4635
+ } | {
4636
+ enabled: boolean;
4637
+ name: "write";
4638
+ permission_policy: {
4639
+ type: "always_allow";
4640
+ } | {
4641
+ type: "always_ask";
4642
+ } | {
4643
+ type: "auto";
4644
+ };
4645
+ type: "write";
4646
+ } | {
4647
+ enabled: boolean;
4648
+ name: "glob";
4649
+ permission_policy: {
4650
+ type: "always_allow";
4651
+ } | {
4652
+ type: "always_ask";
4653
+ } | {
4654
+ type: "auto";
4655
+ };
4656
+ type: "glob";
4657
+ } | {
4658
+ enabled: boolean;
4659
+ name: "grep";
4660
+ permission_policy: {
4661
+ type: "always_allow";
4662
+ } | {
4663
+ type: "always_ask";
4664
+ } | {
4665
+ type: "auto";
4666
+ };
4667
+ type: "grep";
4668
+ } | {
4669
+ enabled: boolean;
4670
+ name: "web_fetch";
4671
+ permission_policy: {
4672
+ type: "always_allow";
4673
+ } | {
4674
+ type: "always_ask";
4675
+ } | {
4676
+ type: "auto";
4677
+ };
4678
+ type: "web_fetch";
4679
+ allowed_domains?: Array<string>;
4680
+ blocked_domains?: Array<string>;
4681
+ max_content_tokens?: null | number;
4682
+ } | {
4683
+ enabled: boolean;
4684
+ name: "web_search";
4685
+ permission_policy: {
4686
+ type: "always_allow";
4687
+ } | {
4688
+ type: "always_ask";
4689
+ } | {
4690
+ type: "auto";
4691
+ };
4692
+ type: "web_search";
4693
+ allowed_domains?: Array<string>;
4694
+ blocked_domains?: Array<string>;
4695
+ user_location?: null | {
4696
+ type: "approximate";
4697
+ city?: null | string;
4698
+ country?: null | string;
4699
+ region?: null | string;
4700
+ timezone?: null | string;
4701
+ };
4702
+ } | {
4703
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
4704
+ enabled: boolean;
4705
+ permission_policy: {
4706
+ type: "always_allow" | "always_ask";
4707
+ };
4708
+ }>;
4709
+ default_config: {
4710
+ enabled: boolean;
4711
+ permission_policy: {
4712
+ type: "always_allow";
4713
+ } | {
4714
+ type: "always_ask";
4715
+ } | {
4716
+ type: "auto";
4717
+ };
4718
+ };
4719
+ type: "agent_toolset_20260401";
4720
+ } | {
4721
+ type: "mcp_toolset";
4722
+ mcp_server_name: string;
4723
+ default_config?: {
4724
+ enabled?: boolean | null;
4725
+ permission_policy?: null | {
4726
+ type: "always_allow" | "always_ask";
4727
+ };
4728
+ } | null;
4729
+ configs?: Array<{
4730
+ name: string;
4731
+ enabled?: boolean | null;
4732
+ permission_policy?: null | {
4733
+ type: "always_allow" | "always_ask";
4734
+ };
4735
+ }> | null;
4736
+ } | {
4737
+ description: string;
4738
+ input_schema: {
4739
+ type: "object";
4740
+ properties?: null | {
4741
+ [key: string]: unknown;
4742
+ };
4743
+ required?: null | Array<string>;
4744
+ [key: string]: unknown;
4745
+ };
4746
+ name: string;
4747
+ type: "custom";
4748
+ }>;
4749
+ type: "agent";
4750
+ version: number;
4751
+ };
4752
+ archived_at: null | string;
4753
+ budget: null | {
4754
+ max_list_cost: {
4755
+ amount: string;
4756
+ currency: "USD";
4757
+ };
4758
+ type: "limit";
4759
+ };
4760
+ created_at: string;
4761
+ environment_id?: string;
4762
+ metadata: {
4763
+ [key: string]: string;
4764
+ };
4765
+ outcome_evaluations: Array<{
4766
+ completed_at: null | string;
4767
+ description: string;
4768
+ explanation: null | string;
4769
+ iteration: number;
4770
+ outcome_id: string;
4771
+ result: string;
4772
+ type: "outcome_evaluation";
4773
+ }>;
4774
+ resources: Array<{
4775
+ id: string;
4776
+ created_at: string;
4777
+ mount_path: string;
4778
+ type: "github_repository";
4779
+ updated_at: string;
4780
+ url: string;
4781
+ checkout?: null | {
4782
+ name: string;
4783
+ type: "branch";
4784
+ } | {
4785
+ sha: string;
4786
+ type: "commit";
4787
+ };
4788
+ } | {
4789
+ id: string;
4790
+ created_at: string;
4791
+ file_id: string;
4792
+ mount_path: string;
4793
+ type: "file";
4794
+ updated_at: string;
4795
+ } | {
4796
+ memory_store_id: string;
4797
+ type: "memory_store";
4798
+ access?: null | "read_write" | "read_only";
4799
+ description?: string;
4800
+ instructions?: null | string;
4801
+ mount_path?: null | string;
4802
+ name?: null | string;
4803
+ }>;
4804
+ stats: {
4805
+ active_seconds?: number;
4806
+ duration_seconds?: number;
4807
+ };
4808
+ status: "rescheduling" | "running" | "idle" | "terminated";
4809
+ title: null | string;
4810
+ type: "session";
4811
+ updated_at: string;
4812
+ usage: {
4813
+ active_seconds?: number;
4814
+ cache_creation?: {
4815
+ ephemeral_1h_input_tokens?: number;
4816
+ ephemeral_5m_input_tokens?: number;
4817
+ };
4818
+ cache_read_input_tokens?: number;
4819
+ input_tokens?: number;
4820
+ list_cost?: null | {
4821
+ amount: string;
4822
+ currency: "USD";
4823
+ };
4824
+ output_tokens?: number;
4825
+ server_tool_use?: null | {
4826
+ web_fetch_requests?: number;
4827
+ web_search_requests?: number;
4828
+ };
4829
+ cost_by_product?: {
4830
+ [key: string]: string;
4831
+ };
4832
+ subagent_cost_micro_usd?: number;
4833
+ };
4834
+ vault_ids: Array<string>;
4835
+ deployment_id?: null | string;
4836
+ cwd: string;
4837
+ workspace?: {
4838
+ kind: "shared" | "isolated";
4839
+ path?: string;
4840
+ branch?: string;
4841
+ };
4842
+ computer_id?: string;
4843
+ model?: {
4844
+ id: string;
4845
+ thinking: {
4846
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
4847
+ can_disable: boolean;
4848
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
4849
+ } | null;
4850
+ };
4851
+ thinking?: {
4852
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4853
+ } | null;
4854
+ forked_from?: {
4855
+ session_id: string;
4856
+ message_id: string;
4857
+ } | null;
4858
+ readonly external_user_id: string | null;
4859
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
4860
+ }>;
4861
+ };
3756
4862
  requests: {
3757
4863
  list: (options: import("./core/transport.js").CallOptions<Types.ListSessionRequestsData>) => Promise<{
3758
4864
  data: Array<{
@@ -3824,6 +4930,11 @@ export declare function createAgent(transport: Transport): {
3824
4930
  vault_ids: Array<string>;
3825
4931
  deployment_id?: null | string;
3826
4932
  cwd: string;
4933
+ workspace?: {
4934
+ kind: "shared" | "isolated";
4935
+ path?: string;
4936
+ branch?: string;
4937
+ };
3827
4938
  computer_id?: string;
3828
4939
  model?: {
3829
4940
  id: string;
@@ -4190,6 +5301,11 @@ export declare function createAgent(transport: Transport): {
4190
5301
  vault_ids: Array<string>;
4191
5302
  deployment_id?: null | string;
4192
5303
  cwd: string;
5304
+ workspace?: {
5305
+ kind: "shared" | "isolated";
5306
+ path?: string;
5307
+ branch?: string;
5308
+ };
4193
5309
  computer_id?: string;
4194
5310
  model?: {
4195
5311
  id: string;
@@ -4541,6 +5657,11 @@ export declare function createAutomation(transport: Transport): {
4541
5657
  };
4542
5658
  };
4543
5659
  };
5660
+ export declare function createBilling(transport: Transport): {
5661
+ prices: {
5662
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListPublicPricesData> | undefined) => Promise<Types.BillingPriceList>;
5663
+ };
5664
+ };
4544
5665
  export declare function createBrowser(transport: Transport): {
4545
5666
  connect: {
4546
5667
  retrieve: (options?: import("./core/transport.js").CallOptions<Types.BrowserConnectData> | undefined) => Promise<unknown>;
@@ -4906,6 +6027,13 @@ export declare function createDevops(transport: Transport): {
4906
6027
  create: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesCreateData>) => Promise<Types.DevopsChange>;
4907
6028
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesListData>) => Promise<Types.DevopsChangePage>;
4908
6029
  };
6030
+ cleanups: {
6031
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsCleanupsListData>) => Promise<Types.DevopsCleanupPage>;
6032
+ };
6033
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsCreateData>) => Promise<Types.DevopsProject>;
6034
+ defaultBranch: {
6035
+ initialize: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsInitializeDefaultBranchData>) => Promise<Types.DevopsDefaultBranchInitialized>;
6036
+ };
4909
6037
  environments: {
4910
6038
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsListData>) => Promise<Types.DevopsEnvironmentList>;
4911
6039
  targets: {
@@ -4978,6 +6106,7 @@ export declare function createDevops(transport: Transport): {
4978
6106
  promotions: {
4979
6107
  approve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsApproveData>) => Promise<Types.DevopsPromotion>;
4980
6108
  cancel: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCancelData>) => Promise<Types.DevopsPromotion>;
6109
+ checkoutCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCheckoutCredentialData>) => Promise<Types.DevopsCheckoutCredential>;
4981
6110
  conclude: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsConcludeData>) => Promise<Types.DevopsPromotion>;
4982
6111
  create: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCreateData>) => Promise<Types.DevopsPromotion>;
4983
6112
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsGetData>) => Promise<Types.DevopsPromotion>;
@@ -4987,10 +6116,14 @@ export declare function createDevops(transport: Transport): {
4987
6116
  };
4988
6117
  };
4989
6118
  pullRequests: {
6119
+ close: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsCloseData>) => Promise<Types.DevopsPullRequest>;
4990
6120
  merge: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsMergeData>) => Promise<Types.DevopsPullRequest>;
4991
6121
  recordVerdict: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRecordVerdictData>) => Promise<Types.DevopsPullRequest>;
4992
6122
  rerunGate: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRerunGateData>) => Promise<Types.DevopsPullRequest>;
4993
6123
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsGetData>) => Promise<Types.DevopsPullRequest>;
6124
+ reviews: {
6125
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsReviewsCreateData>) => Promise<Types.DevopsPullRequest>;
6126
+ };
4994
6127
  };
4995
6128
  releases: {
4996
6129
  abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesAbandonData>) => Promise<Types.DevopsRelease>;
@@ -5206,6 +6339,12 @@ export declare function createMedia(transport: Transport): {
5206
6339
  retrieveFailureSummary: (options: import("./core/transport.js").CallOptions<Types.MediaUnderstandingFailureSummaryData>) => Promise<Types.MediaFailureSummary>;
5207
6340
  };
5208
6341
  update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateLibraryData>) => Promise<Types.MediaLibrary>;
6342
+ voices: {
6343
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateVoiceData>) => Promise<Types.MediaJob>;
6344
+ designs: {
6345
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaDesignVoiceData>) => Promise<Types.MediaJob>;
6346
+ };
6347
+ };
5209
6348
  };
5210
6349
  speech: {
5211
6350
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateSpeechData>) => Promise<Types.MediaJob>;
@@ -5729,6 +6868,7 @@ export declare function createModel(transport: Transport): {
5729
6868
  unsigned_urls: Array<string>;
5730
6869
  usage?: {
5731
6870
  cost: number;
6871
+ billed_seconds?: number;
5732
6872
  };
5733
6873
  }>;
5734
6874
  delete: (options: import("./core/transport.js").CallOptions<Types.DeleteVideoData>) => Promise<{
@@ -5759,6 +6899,7 @@ export declare function createModel(transport: Transport): {
5759
6899
  unsigned_urls: Array<string>;
5760
6900
  usage?: {
5761
6901
  cost: number;
6902
+ billed_seconds?: number;
5762
6903
  };
5763
6904
  }>;
5764
6905
  has_more: boolean;
@@ -5787,6 +6928,7 @@ export declare function createModel(transport: Transport): {
5787
6928
  unsigned_urls: Array<string>;
5788
6929
  usage?: {
5789
6930
  cost: number;
6931
+ billed_seconds?: number;
5790
6932
  };
5791
6933
  }>;
5792
6934
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.DownloadVideoContentData>) => Promise<Blob | File>;
@@ -5892,6 +7034,9 @@ export declare function createOrganization(transport: Transport): {
5892
7034
  update: (options: import("./core/transport.js").CallOptions<Types.ReorganizeOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
5893
7035
  updateCharter: (options: import("./core/transport.js").CallOptions<Types.AmendOrganizationDepartmentCharterData>) => Promise<Types.OrganizationDepartment>;
5894
7036
  };
7037
+ effectiveSpec: {
7038
+ retrieve: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationEffectiveSpecData> | undefined) => Promise<Types.OrganizationEffectiveSpec>;
7039
+ };
5895
7040
  events: {
5896
7041
  list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationEventsData>) => Promise<{
5897
7042
  object: "page";
@@ -6174,6 +7319,26 @@ export declare function createOrganization(transport: Transport): {
6174
7319
  updateLevel: (options: import("./core/transport.js").CallOptions<Types.RegradeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
6175
7320
  updateManager: (options: import("./core/transport.js").CallOptions<Types.ReassignOrganizationPositionManagerData>) => Promise<Types.OrganizationPosition>;
6176
7321
  };
7322
+ reconcile: {
7323
+ pause: (options: import("./core/transport.js").CallOptions<Types.PauseOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
7324
+ resume: (options: import("./core/transport.js").CallOptions<Types.ResumeOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
7325
+ retrievePlan: (options: import("./core/transport.js").CallOptions<Types.PlanOrganizationReconcileData>) => Promise<Types.OrganizationReconcilePlan>;
7326
+ run: {
7327
+ create: (options: import("./core/transport.js").CallOptions<Types.RunOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
7328
+ };
7329
+ status: {
7330
+ list: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationReconcileStatusData>) => Promise<Types.OrganizationReconcileStatus>;
7331
+ };
7332
+ };
7333
+ specs: {
7334
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecsData> | undefined) => Promise<Types.OrganizationSpecList>;
7335
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationSpecData>) => Promise<Types.OrganizationSpec>;
7336
+ retrieveDiff: (options: import("./core/transport.js").CallOptions<Types.DiffOrganizationSpecData>) => Promise<Types.OrganizationSpecDiff>;
7337
+ revisions: {
7338
+ list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecRevisionsData>) => Promise<Types.OrganizationSpecRevisionList>;
7339
+ };
7340
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationSpecData>) => Promise<Types.OrganizationSpec>;
7341
+ };
6177
7342
  usage: {
6178
7343
  list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationUsageData>) => Promise<{
6179
7344
  object: "page";
@@ -6203,6 +7368,27 @@ export declare function createRegistry(transport: Transport): {
6203
7368
  update: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsUpdateData>) => Promise<Types.RegistryInstallation>;
6204
7369
  };
6205
7370
  packages: {
7371
+ git: {
7372
+ commits: {
7373
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCommitsRetrieveData>) => Promise<Types.RegistryGitCommitDetail>;
7374
+ };
7375
+ files: {
7376
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitFilesRetrieveData>) => Promise<Blob | File>;
7377
+ };
7378
+ refs: {
7379
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryGitRefsData>) => Promise<Types.RegistryGitRefs>;
7380
+ };
7381
+ retrieveCompare: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCompareData>) => Promise<Types.RegistryGitComparison>;
7382
+ retrieveLog: (options: import("./core/transport.js").CallOptions<Types.RegistryGitLogData>) => Promise<Types.RegistryGitLog>;
7383
+ retrieveResolve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitResolveData>) => Promise<Types.RegistryGitResolvedRef>;
7384
+ trees: {
7385
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRetrieveData>) => Promise<Types.RegistryGitTree>;
7386
+ retrieveRecursive: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRecursiveData>) => Promise<Types.RegistryGitTreeRecursive>;
7387
+ };
7388
+ };
7389
+ gitCredential: {
7390
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesGitCredentialCreateData>) => Promise<Types.RegistryGitCredential>;
7391
+ };
6206
7392
  installations: {
6207
7393
  create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsCreateData>) => Promise<Types.RegistryInstallResult>;
6208
7394
  list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsListData>) => Promise<Types.RegistryInstallationList>;
@@ -6234,12 +7420,105 @@ export declare function createRegistry(transport: Transport): {
6234
7420
  };
6235
7421
  };
6236
7422
  export declare function createSandbox(transport: Transport): {
7423
+ byod: {
7424
+ devices: {
7425
+ disconnect: {
7426
+ create: (options: import("./core/transport.js").CallOptions<Types.DisconnectByodDeviceData>) => Promise<{
7427
+ id: string;
7428
+ object: "byod_device";
7429
+ disconnected: true;
7430
+ }>;
7431
+ };
7432
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListByodDevicesData> | undefined) => Promise<{
7433
+ data: Array<{
7434
+ object: "byod_device";
7435
+ id: string;
7436
+ platform: "android" | "macos" | "linux";
7437
+ name: string;
7438
+ model: string;
7439
+ os_version: string;
7440
+ online: boolean;
7441
+ last_seen_at: string | null;
7442
+ created_at: string;
7443
+ capabilities: Array<"display" | "agent">;
7444
+ agent_dirs: Array<string>;
7445
+ allow_bypass: boolean;
7446
+ }>;
7447
+ }>;
7448
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodDeviceData>) => Promise<{
7449
+ object: "byod_device";
7450
+ id: string;
7451
+ platform: "android" | "macos" | "linux";
7452
+ name: string;
7453
+ model: string;
7454
+ os_version: string;
7455
+ online: boolean;
7456
+ last_seen_at: string | null;
7457
+ created_at: string;
7458
+ capabilities: Array<"display" | "agent">;
7459
+ agent_dirs: Array<string>;
7460
+ allow_bypass: boolean;
7461
+ }>;
7462
+ update: (options: import("./core/transport.js").CallOptions<Types.UpdateByodDeviceData>) => Promise<{
7463
+ object: "byod_device";
7464
+ id: string;
7465
+ platform: "android" | "macos" | "linux";
7466
+ name: string;
7467
+ model: string;
7468
+ os_version: string;
7469
+ online: boolean;
7470
+ last_seen_at: string | null;
7471
+ created_at: string;
7472
+ capabilities: Array<"display" | "agent">;
7473
+ agent_dirs: Array<string>;
7474
+ allow_bypass: boolean;
7475
+ }>;
7476
+ };
7477
+ pairings: {
7478
+ claim: {
7479
+ create: (options: import("./core/transport.js").CallOptions<Types.ClaimByodPairingData>) => Promise<{
7480
+ device_id: string;
7481
+ credential: string;
7482
+ socket_url: string;
7483
+ }>;
7484
+ };
7485
+ create: (options?: import("./core/transport.js").CallOptions<Types.CreateByodPairingData> | undefined) => Promise<{
7486
+ code: string;
7487
+ expires_at: string;
7488
+ qr: string;
7489
+ }>;
7490
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodPairingData>) => Promise<{
7491
+ organization_name: string;
7492
+ expires_at: string;
7493
+ }>;
7494
+ };
7495
+ };
6237
7496
  events: {
6238
7497
  sandboxes: {
6239
7498
  retrieve: (options: import("./core/transport.js").CallOptions<Types.GetSandboxEventsData>) => Promise<Types.SandboxSandboxEvent[]>;
6240
7499
  };
6241
7500
  };
6242
7501
  sandboxes: {
7502
+ act: (options: import("./core/transport.js").CallOptions<Types.ActOnSandboxDisplayData>) => Promise<{
7503
+ type: "snapshot";
7504
+ snapshot: string;
7505
+ refs: number;
7506
+ truncated: boolean;
7507
+ package: string;
7508
+ } | {
7509
+ type: "screenshot";
7510
+ mediaType: string;
7511
+ data: string;
7512
+ width: number;
7513
+ height: number;
7514
+ bytes: number;
7515
+ } | {
7516
+ type: "ok";
7517
+ ms?: number;
7518
+ } | {
7519
+ type: "wait";
7520
+ ms: number;
7521
+ }>;
6243
7522
  commands: {
6244
7523
  run: (options: import("./core/transport.js").CallOptions<Types.RunSandboxCommandData>) => Promise<{
6245
7524
  stdout: string;
@@ -6768,6 +8047,7 @@ export declare const resourceFactories: {
6768
8047
  agent: typeof createAgent;
6769
8048
  application: typeof createApplication;
6770
8049
  automation: typeof createAutomation;
8050
+ billing: typeof createBilling;
6771
8051
  browser: typeof createBrowser;
6772
8052
  canvas: typeof createCanvas;
6773
8053
  content: typeof createContent;