@@ -981,7 +981,6 @@ def execute( |
981 | 981 | command_id: str | None = None, |
982 | 982 | last_n: str | Omit = omit, |
983 | 983 | optimistic_timeout: Optional[int] | Omit = omit, |
984 | | - shell_name: Optional[str] | Omit = omit, |
985 | 984 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. |
986 | 985 | # The extra values given here take precedence over values defined on the client or passed to this method. |
987 | 986 | extra_headers: Headers | None = None, |
@@ -998,10 +997,8 @@ def execute( |
998 | 997 | support. |
999 | 998 |
|
1000 | 999 | Args: |
1001 | | - command: The command to execute via the Devbox shell. By default, commands are run from |
1002 | | - the user home directory unless shell_name is specified. If shell_name is |
1003 | | - specified the command is run from the directory based on the recent state of the |
1004 | | - persistent shell. |
| 1000 | + command: The command to execute via the Devbox shell. Commands are run from the user home |
| 1001 | + directory in a fresh login shell. |
1005 | 1002 |
|
1006 | 1003 | command_id: The command ID in UUIDv7 string format for idempotency and tracking. |
1007 | 1004 | A fresh UUID is generated per call if not provided. |
@@ -1011,10 +1008,6 @@ def execute( |
1011 | 1008 | optimistic_timeout: Timeout in seconds to wait for command completion, up to 25 seconds. Defaults to |
1012 | 1009 | 25 seconds. Operation is not killed. |
1013 | 1010 |
|
1014 | | - shell_name: The name of the persistent shell to create or use if already created. When using |
1015 | | - a persistent shell, the command will run from the directory at the end of the |
1016 | | - previous command and environment variables will be preserved. |
1017 | | -
|
1018 | 1011 | extra_headers: Send extra headers |
1019 | 1012 |
|
1020 | 1013 | extra_query: Add additional query parameters to the request |
@@ -1038,7 +1031,6 @@ def execute( |
1038 | 1031 | "command": command, |
1039 | 1032 | "command_id": command_id, |
1040 | 1033 | "optimistic_timeout": optimistic_timeout, |
1041 | | - "shell_name": shell_name, |
1042 | 1034 | }, |
1043 | 1035 | devbox_execute_params.DevboxExecuteParams, |
1044 | 1036 | ), |
@@ -1129,7 +1121,6 @@ def execute_async( |
1129 | 1121 | *, |
1130 | 1122 | command: str, |
1131 | 1123 | attach_stdin: Optional[bool] | Omit = omit, |
1132 | | - shell_name: Optional[str] | Omit = omit, |
1133 | 1124 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. |
1134 | 1125 | # The extra values given here take precedence over values defined on the client or passed to this method. |
1135 | 1126 | extra_headers: Headers | None = None, |
@@ -1143,18 +1134,12 @@ def execute_async( |
1143 | 1134 | execution that can be used to track the command's progress. |
1144 | 1135 |
|
1145 | 1136 | Args: |
1146 | | - command: The command to execute via the Devbox shell. By default, commands are run from |
1147 | | - the user home directory unless shell_name is specified. If shell_name is |
1148 | | - specified the command is run from the directory based on the recent state of the |
1149 | | - persistent shell. |
| 1137 | + command: The command to execute via the Devbox shell. Commands are run from the user home |
| 1138 | + directory in a fresh login shell. |
1150 | 1139 |
|
1151 | 1140 | attach_stdin: Whether to attach stdin streaming for async commands. Not valid for execute_sync |
1152 | 1141 | endpoint. Defaults to false if not specified. |
1153 | 1142 |
|
1154 | | - shell_name: The name of the persistent shell to create or use if already created. When using |
1155 | | - a persistent shell, the command will run from the directory at the end of the |
1156 | | - previous command and environment variables will be preserved. |
1157 | | -
|
1158 | 1143 | extra_headers: Send extra headers |
1159 | 1144 |
|
1160 | 1145 | extra_query: Add additional query parameters to the request |
@@ -1173,7 +1158,6 @@ def execute_async( |
1173 | 1158 | { |
1174 | 1159 | "command": command, |
1175 | 1160 | "attach_stdin": attach_stdin, |
1176 | | - "shell_name": shell_name, |
1177 | 1161 | }, |
1178 | 1162 | devbox_execute_async_params.DevboxExecuteAsyncParams, |
1179 | 1163 | ), |
@@ -1195,7 +1179,6 @@ def execute_sync( |
1195 | 1179 | *, |
1196 | 1180 | command: str, |
1197 | 1181 | attach_stdin: Optional[bool] | Omit = omit, |
1198 | | - shell_name: Optional[str] | Omit = omit, |
1199 | 1182 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. |
1200 | 1183 | # The extra values given here take precedence over values defined on the client or passed to this method. |
1201 | 1184 | extra_headers: Headers | None = None, |
@@ -1213,18 +1196,12 @@ def execute_sync( |
1213 | 1196 | Use execute, execute_async, or execute_and_await_completion instead. |
1214 | 1197 |
|
1215 | 1198 | Args: |
1216 | | - command: The command to execute via the Devbox shell. By default, commands are run from |
1217 | | - the user home directory unless shell_name is specified. If shell_name is |
1218 | | - specified the command is run from the directory based on the recent state of the |
1219 | | - persistent shell. |
| 1199 | + command: The command to execute via the Devbox shell. Commands are run from the user home |
| 1200 | + directory in a fresh login shell. |
1220 | 1201 |
|
1221 | 1202 | attach_stdin: Whether to attach stdin streaming for async commands. Not valid for execute_sync |
1222 | 1203 | endpoint. Defaults to false if not specified. |
1223 | 1204 |
|
1224 | | - shell_name: The name of the persistent shell to create or use if already created. When using |
1225 | | - a persistent shell, the command will run from the directory at the end of the |
1226 | | - previous command and environment variables will be preserved. |
1227 | | -
|
1228 | 1205 | extra_headers: Send extra headers |
1229 | 1206 |
|
1230 | 1207 | extra_query: Add additional query parameters to the request |
@@ -1245,7 +1222,6 @@ def execute_sync( |
1245 | 1222 | { |
1246 | 1223 | "command": command, |
1247 | 1224 | "attach_stdin": attach_stdin, |
1248 | | - "shell_name": shell_name, |
1249 | 1225 | }, |
1250 | 1226 | devbox_execute_sync_params.DevboxExecuteSyncParams, |
1251 | 1227 | ), |
@@ -2819,7 +2795,6 @@ async def execute( |
2819 | 2795 | command_id: str | None = None, |
2820 | 2796 | last_n: str | Omit = omit, |
2821 | 2797 | optimistic_timeout: Optional[int] | Omit = omit, |
2822 | | - shell_name: Optional[str] | Omit = omit, |
2823 | 2798 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. |
2824 | 2799 | # The extra values given here take precedence over values defined on the client or passed to this method. |
2825 | 2800 | extra_headers: Headers | None = None, |
@@ -2836,10 +2811,8 @@ async def execute( |
2836 | 2811 | support. |
2837 | 2812 |
|
2838 | 2813 | Args: |
2839 | | - command: The command to execute via the Devbox shell. By default, commands are run from |
2840 | | - the user home directory unless shell_name is specified. If shell_name is |
2841 | | - specified the command is run from the directory based on the recent state of the |
2842 | | - persistent shell. |
| 2814 | + command: The command to execute via the Devbox shell. Commands are run from the user home |
| 2815 | + directory in a fresh login shell. |
2843 | 2816 |
|
2844 | 2817 | command_id: The command ID in UUIDv7 string format for idempotency and tracking. |
2845 | 2818 | A fresh UUID is generated per call if not provided. |
@@ -2849,10 +2822,6 @@ async def execute( |
2849 | 2822 | optimistic_timeout: Timeout in seconds to wait for command completion, up to 25 seconds. Defaults to |
2850 | 2823 | 25 seconds. Operation is not killed. |
2851 | 2824 |
|
2852 | | - shell_name: The name of the persistent shell to create or use if already created. When using |
2853 | | - a persistent shell, the command will run from the directory at the end of the |
2854 | | - previous command and environment variables will be preserved. |
2855 | | -
|
2856 | 2825 | extra_headers: Send extra headers |
2857 | 2826 |
|
2858 | 2827 | extra_query: Add additional query parameters to the request |
@@ -2876,7 +2845,6 @@ async def execute( |
2876 | 2845 | "command": command, |
2877 | 2846 | "command_id": command_id, |
2878 | 2847 | "optimistic_timeout": optimistic_timeout, |
2879 | | - "shell_name": shell_name, |
2880 | 2848 | }, |
2881 | 2849 | devbox_execute_params.DevboxExecuteParams, |
2882 | 2850 | ), |
@@ -2966,7 +2934,6 @@ async def execute_async( |
2966 | 2934 | *, |
2967 | 2935 | command: str, |
2968 | 2936 | attach_stdin: Optional[bool] | Omit = omit, |
2969 | | - shell_name: Optional[str] | Omit = omit, |
2970 | 2937 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. |
2971 | 2938 | # The extra values given here take precedence over values defined on the client or passed to this method. |
2972 | 2939 | extra_headers: Headers | None = None, |
@@ -2980,18 +2947,12 @@ async def execute_async( |
2980 | 2947 | execution that can be used to track the command's progress. |
2981 | 2948 |
|
2982 | 2949 | Args: |
2983 | | - command: The command to execute via the Devbox shell. By default, commands are run from |
2984 | | - the user home directory unless shell_name is specified. If shell_name is |
2985 | | - specified the command is run from the directory based on the recent state of the |
2986 | | - persistent shell. |
| 2950 | + command: The command to execute via the Devbox shell. Commands are run from the user home |
| 2951 | + directory in a fresh login shell. |
2987 | 2952 |
|
2988 | 2953 | attach_stdin: Whether to attach stdin streaming for async commands. Not valid for execute_sync |
2989 | 2954 | endpoint. Defaults to false if not specified. |
2990 | 2955 |
|
2991 | | - shell_name: The name of the persistent shell to create or use if already created. When using |
2992 | | - a persistent shell, the command will run from the directory at the end of the |
2993 | | - previous command and environment variables will be preserved. |
2994 | | -
|
2995 | 2956 | extra_headers: Send extra headers |
2996 | 2957 |
|
2997 | 2958 | extra_query: Add additional query parameters to the request |
@@ -3010,7 +2971,6 @@ async def execute_async( |
3010 | 2971 | { |
3011 | 2972 | "command": command, |
3012 | 2973 | "attach_stdin": attach_stdin, |
3013 | | - "shell_name": shell_name, |
3014 | 2974 | }, |
3015 | 2975 | devbox_execute_async_params.DevboxExecuteAsyncParams, |
3016 | 2976 | ), |
@@ -3032,7 +2992,6 @@ async def execute_sync( |
3032 | 2992 | *, |
3033 | 2993 | command: str, |
3034 | 2994 | attach_stdin: Optional[bool] | Omit = omit, |
3035 | | - shell_name: Optional[str] | Omit = omit, |
3036 | 2995 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. |
3037 | 2996 | # The extra values given here take precedence over values defined on the client or passed to this method. |
3038 | 2997 | extra_headers: Headers | None = None, |
@@ -3050,18 +3009,12 @@ async def execute_sync( |
3050 | 3009 | Use execute, execute_async, or execute_and_await_completion instead. |
3051 | 3010 |
|
3052 | 3011 | Args: |
3053 | | - command: The command to execute via the Devbox shell. By default, commands are run from |
3054 | | - the user home directory unless shell_name is specified. If shell_name is |
3055 | | - specified the command is run from the directory based on the recent state of the |
3056 | | - persistent shell. |
| 3012 | + command: The command to execute via the Devbox shell. Commands are run from the user home |
| 3013 | + directory in a fresh login shell. |
3057 | 3014 |
|
3058 | 3015 | attach_stdin: Whether to attach stdin streaming for async commands. Not valid for execute_sync |
3059 | 3016 | endpoint. Defaults to false if not specified. |
3060 | 3017 |
|
3061 | | - shell_name: The name of the persistent shell to create or use if already created. When using |
3062 | | - a persistent shell, the command will run from the directory at the end of the |
3063 | | - previous command and environment variables will be preserved. |
3064 | | -
|
3065 | 3018 | extra_headers: Send extra headers |
3066 | 3019 |
|
3067 | 3020 | extra_query: Add additional query parameters to the request |
@@ -3082,7 +3035,6 @@ async def execute_sync( |
3082 | 3035 | { |
3083 | 3036 | "command": command, |
3084 | 3037 | "attach_stdin": attach_stdin, |
3085 | | - "shell_name": shell_name, |
3086 | 3038 | }, |
3087 | 3039 | devbox_execute_sync_params.DevboxExecuteSyncParams, |
3088 | 3040 | ), |
|