windows-development-sandbox 0.0.0-stage → 1.0.5

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.
Files changed (231) hide show
  1. package/.sandbox-config.example.json +14 -0
  2. package/README.md +78 -2
  3. package/config.example.json +332 -0
  4. package/dist/api.d.ts +31 -0
  5. package/dist/api.js +30 -0
  6. package/dist/bin/agent-sandbox.d.ts +2 -0
  7. package/dist/bin/agent-sandbox.js +3 -0
  8. package/dist/bin/claude-host.d.ts +2 -0
  9. package/dist/bin/claude-host.js +5 -0
  10. package/dist/bin/claude-sbx.d.ts +2 -0
  11. package/dist/bin/claude-sbx.js +3 -0
  12. package/dist/bin/codex-sbx.d.ts +2 -0
  13. package/dist/bin/codex-sbx.js +3 -0
  14. package/dist/bin/gemini-sbx.d.ts +2 -0
  15. package/dist/bin/gemini-sbx.js +3 -0
  16. package/dist/bin/sandbox.d.ts +2 -0
  17. package/dist/bin/sandbox.js +4 -0
  18. package/dist/bin/sbx-hide.d.ts +2 -0
  19. package/dist/bin/sbx-hide.js +3 -0
  20. package/dist/bin/sbx-show.d.ts +2 -0
  21. package/dist/bin/sbx-show.js +3 -0
  22. package/dist/cli/args.d.ts +32 -0
  23. package/dist/cli/args.js +111 -0
  24. package/dist/cli/commands/accounts.d.ts +2 -0
  25. package/dist/cli/commands/accounts.js +52 -0
  26. package/dist/cli/commands/context.d.ts +21 -0
  27. package/dist/cli/commands/context.js +54 -0
  28. package/dist/cli/commands/data.d.ts +46 -0
  29. package/dist/cli/commands/data.js +249 -0
  30. package/dist/cli/commands/index.d.ts +8 -0
  31. package/dist/cli/commands/index.js +8 -0
  32. package/dist/cli/commands/launch.d.ts +5 -0
  33. package/dist/cli/commands/launch.js +152 -0
  34. package/dist/cli/commands/maintenance.d.ts +8 -0
  35. package/dist/cli/commands/maintenance.js +125 -0
  36. package/dist/cli/commands/repair.d.ts +59 -0
  37. package/dist/cli/commands/repair.js +332 -0
  38. package/dist/cli/commands/sessions.d.ts +11 -0
  39. package/dist/cli/commands/sessions.js +113 -0
  40. package/dist/cli/commands/setup.d.ts +45 -0
  41. package/dist/cli/commands/setup.js +152 -0
  42. package/dist/cli/index.d.ts +14 -0
  43. package/dist/cli/index.js +96 -0
  44. package/dist/cli/manifest.d.ts +95 -0
  45. package/dist/cli/manifest.js +87 -0
  46. package/dist/cli/menu.d.ts +22 -0
  47. package/dist/cli/menu.js +187 -0
  48. package/dist/cli/settings.d.ts +11 -0
  49. package/dist/cli/settings.js +156 -0
  50. package/dist/core/config.d.ts +17 -0
  51. package/dist/core/config.js +103 -0
  52. package/dist/core/detect-databases.d.ts +15 -0
  53. package/dist/core/detect-databases.js +147 -0
  54. package/dist/core/detect-pwsh.d.ts +18 -0
  55. package/dist/core/detect-pwsh.js +111 -0
  56. package/dist/core/detect-toolchains.d.ts +30 -0
  57. package/dist/core/detect-toolchains.js +58 -0
  58. package/dist/core/local-config.d.ts +12 -0
  59. package/dist/core/local-config.js +64 -0
  60. package/dist/core/schema.d.ts +604 -0
  61. package/dist/core/schema.js +264 -0
  62. package/dist/core/types.d.ts +162 -0
  63. package/dist/core/types.js +1 -0
  64. package/dist/core/util.d.ts +53 -0
  65. package/dist/core/util.js +145 -0
  66. package/dist/core/workspace.d.ts +23 -0
  67. package/dist/core/workspace.js +162 -0
  68. package/dist/guest/daemon.d.ts +1 -0
  69. package/dist/guest/daemon.js +186 -0
  70. package/dist/guest/db.d.ts +1 -0
  71. package/dist/guest/db.js +60 -0
  72. package/dist/guest/env.d.ts +49 -0
  73. package/dist/guest/env.js +99 -0
  74. package/dist/guest/gitguard.d.ts +7 -0
  75. package/dist/guest/gitguard.js +60 -0
  76. package/dist/guest/gitrules.d.ts +2 -0
  77. package/dist/guest/gitrules.js +11 -0
  78. package/dist/guest/guide.d.ts +12 -0
  79. package/dist/guest/guide.js +68 -0
  80. package/dist/guest/main.d.ts +1 -0
  81. package/dist/guest/main.js +120 -0
  82. package/dist/guest/ptyhost.d.ts +40 -0
  83. package/dist/guest/ptyhost.js +94 -0
  84. package/dist/guest/setup/agents.d.ts +8 -0
  85. package/dist/guest/setup/agents.js +73 -0
  86. package/dist/guest/setup/claude.d.ts +21 -0
  87. package/dist/guest/setup/claude.js +138 -0
  88. package/dist/guest/setup/environment.d.ts +6 -0
  89. package/dist/guest/setup/environment.js +65 -0
  90. package/dist/guest/setup/hooks.d.ts +1 -0
  91. package/dist/guest/setup/hooks.js +36 -0
  92. package/dist/guest/setup/network.d.ts +10 -0
  93. package/dist/guest/setup/network.js +99 -0
  94. package/dist/guest/setup/policy.d.ts +3 -0
  95. package/dist/guest/setup/policy.js +18 -0
  96. package/dist/guest/setup/user.d.ts +7 -0
  97. package/dist/guest/setup/user.js +47 -0
  98. package/dist/guest/toolchains/binstall.d.ts +7 -0
  99. package/dist/guest/toolchains/binstall.js +55 -0
  100. package/dist/guest/toolchains/catalogue.d.ts +51 -0
  101. package/dist/guest/toolchains/catalogue.js +31 -0
  102. package/dist/guest/toolchains/cli.d.ts +10 -0
  103. package/dist/guest/toolchains/cli.js +64 -0
  104. package/dist/guest/toolchains/common.d.ts +37 -0
  105. package/dist/guest/toolchains/common.js +124 -0
  106. package/dist/guest/toolchains/databases.d.ts +7 -0
  107. package/dist/guest/toolchains/databases.js +226 -0
  108. package/dist/guest/toolchains/git.d.ts +3 -0
  109. package/dist/guest/toolchains/git.js +112 -0
  110. package/dist/guest/toolchains/go.d.ts +3 -0
  111. package/dist/guest/toolchains/go.js +33 -0
  112. package/dist/guest/toolchains/index.d.ts +13 -0
  113. package/dist/guest/toolchains/index.js +122 -0
  114. package/dist/guest/toolchains/java.d.ts +8 -0
  115. package/dist/guest/toolchains/java.js +96 -0
  116. package/dist/guest/toolchains/managers.d.ts +16 -0
  117. package/dist/guest/toolchains/managers.js +82 -0
  118. package/dist/guest/toolchains/msvc.d.ts +10 -0
  119. package/dist/guest/toolchains/msvc.js +216 -0
  120. package/dist/guest/toolchains/native.d.ts +12 -0
  121. package/dist/guest/toolchains/native.js +220 -0
  122. package/dist/guest/toolchains/node.d.ts +3 -0
  123. package/dist/guest/toolchains/node.js +132 -0
  124. package/dist/guest/toolchains/pwsh.d.ts +4 -0
  125. package/dist/guest/toolchains/pwsh.js +14 -0
  126. package/dist/guest/toolchains/python.d.ts +3 -0
  127. package/dist/guest/toolchains/python.js +47 -0
  128. package/dist/guest/toolchains/runtimes.d.ts +17 -0
  129. package/dist/guest/toolchains/runtimes.js +40 -0
  130. package/dist/guest/toolchains/scripting.d.ts +10 -0
  131. package/dist/guest/toolchains/scripting.js +137 -0
  132. package/dist/guest/toolchains/versions.d.ts +47 -0
  133. package/dist/guest/toolchains/versions.js +77 -0
  134. package/dist/guest/toolchains/vscode.d.ts +2 -0
  135. package/dist/guest/toolchains/vscode.js +53 -0
  136. package/dist/guest/view.d.ts +1 -0
  137. package/dist/guest/view.js +22 -0
  138. package/dist/host/accounts.d.ts +32 -0
  139. package/dist/host/accounts.js +119 -0
  140. package/dist/host/channel.d.ts +37 -0
  141. package/dist/host/channel.js +180 -0
  142. package/dist/host/claude-profile.d.ts +15 -0
  143. package/dist/host/claude-profile.js +103 -0
  144. package/dist/host/cleanup.d.ts +23 -0
  145. package/dist/host/cleanup.js +66 -0
  146. package/dist/host/generate.d.ts +15 -0
  147. package/dist/host/generate.js +185 -0
  148. package/dist/host/personalize.d.ts +10 -0
  149. package/dist/host/personalize.js +97 -0
  150. package/dist/host/platform.d.ts +17 -0
  151. package/dist/host/platform.js +114 -0
  152. package/dist/host/project-scan.d.ts +23 -0
  153. package/dist/host/project-scan.js +173 -0
  154. package/dist/host/repo-guard.d.ts +23 -0
  155. package/dist/host/repo-guard.js +128 -0
  156. package/dist/host/secrets.d.ts +14 -0
  157. package/dist/host/secrets.js +133 -0
  158. package/dist/host/terminal.d.ts +32 -0
  159. package/dist/host/terminal.js +127 -0
  160. package/dist/host/window.d.ts +4 -0
  161. package/dist/host/window.js +68 -0
  162. package/dist/runtime/daemon.js +20291 -0
  163. package/dist/runtime/db.js +20423 -0
  164. package/dist/runtime/gitguard.js +84 -0
  165. package/dist/runtime/main.js +22398 -0
  166. package/dist/runtime/view.js +19966 -0
  167. package/dist/selftest/cli.test.d.ts +2 -0
  168. package/dist/selftest/cli.test.js +30 -0
  169. package/dist/selftest/config.test.d.ts +3 -0
  170. package/dist/selftest/config.test.js +74 -0
  171. package/dist/selftest/data.test.d.ts +2 -0
  172. package/dist/selftest/data.test.js +73 -0
  173. package/dist/selftest/detect.test.d.ts +2 -0
  174. package/dist/selftest/detect.test.js +42 -0
  175. package/dist/selftest/fixtures.d.ts +232 -0
  176. package/dist/selftest/fixtures.js +63 -0
  177. package/dist/selftest/guest.test.d.ts +3 -0
  178. package/dist/selftest/guest.test.js +61 -0
  179. package/dist/selftest/harness.d.ts +14 -0
  180. package/dist/selftest/harness.js +36 -0
  181. package/dist/selftest/helpers.test.d.ts +2 -0
  182. package/dist/selftest/helpers.test.js +125 -0
  183. package/dist/selftest/host.test.d.ts +2 -0
  184. package/dist/selftest/host.test.js +71 -0
  185. package/dist/selftest/index.d.ts +1 -0
  186. package/dist/selftest/index.js +56 -0
  187. package/dist/selftest/live.test.d.ts +7 -0
  188. package/dist/selftest/live.test.js +127 -0
  189. package/dist/selftest/mirror.test.d.ts +3 -0
  190. package/dist/selftest/mirror.test.js +74 -0
  191. package/dist/selftest/security.test.d.ts +3 -0
  192. package/dist/selftest/security.test.js +143 -0
  193. package/dist/selftest/setup.test.d.ts +2 -0
  194. package/dist/selftest/setup.test.js +23 -0
  195. package/dist/selftest/sync.test.d.ts +3 -0
  196. package/dist/selftest/sync.test.js +82 -0
  197. package/dist/shared/download.d.ts +58 -0
  198. package/dist/shared/download.js +200 -0
  199. package/dist/shared/guest-paths.d.ts +30 -0
  200. package/dist/shared/guest-paths.js +61 -0
  201. package/dist/shared/netrules.d.ts +18 -0
  202. package/dist/shared/netrules.js +98 -0
  203. package/dist/shared/paths.d.ts +9 -0
  204. package/dist/shared/paths.js +22 -0
  205. package/dist/shared/pty-client.d.ts +86 -0
  206. package/dist/shared/pty-client.js +227 -0
  207. package/dist/shared/rundir.d.ts +30 -0
  208. package/dist/shared/rundir.js +86 -0
  209. package/dist/shared/safe-remove.d.ts +10 -0
  210. package/dist/shared/safe-remove.js +55 -0
  211. package/dist/shared/schema.d.ts +84 -0
  212. package/dist/shared/schema.js +51 -0
  213. package/dist/shared/system.d.ts +15 -0
  214. package/dist/shared/system.js +19 -0
  215. package/dist/sync/claude-mem.d.ts +8 -0
  216. package/dist/sync/claude-mem.js +77 -0
  217. package/dist/sync/history.d.ts +30 -0
  218. package/dist/sync/history.js +129 -0
  219. package/dist/sync/watcher.d.ts +13 -0
  220. package/dist/sync/watcher.js +116 -0
  221. package/hooks/post-agent/README.txt +1 -0
  222. package/hooks/pre-provision/README.txt +1 -0
  223. package/package.json +91 -4
  224. package/sandbox/bootstrap.ps1 +258 -0
  225. package/sandbox/gitshim.cs +35 -0
  226. package/sandbox/logon.cmd +16 -0
  227. package/sandbox/ptyhost.cs +603 -0
  228. package/sandbox/trust.cmd +35 -0
  229. package/sandbox/vswhere.cs +83 -0
  230. package/schemas/config.schema.json +1062 -0
  231. package/schemas/sandbox-config.schema.json +952 -0
@@ -0,0 +1,1062 @@
1
+ {
2
+ "title": "windows-development-sandbox user config (~/.agent-sandbox/config.json)",
3
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
4
+ "type": "object",
5
+ "properties": {
6
+ "$schema": {
7
+ "type": "string",
8
+ "description": "Path or URL of the JSON Schema for editor autocomplete and docs."
9
+ },
10
+ "defaultHarness": {
11
+ "type": "string",
12
+ "pattern": "^[A-Za-z0-9_-]+$",
13
+ "description": "Agent started by `sandbox launch` (sandbox claude always runs claude)."
14
+ },
15
+ "guestWorkspace": {
16
+ "anyOf": [
17
+ {
18
+ "type": "string",
19
+ "const": "auto"
20
+ },
21
+ {
22
+ "type": "string",
23
+ "const": "mirror"
24
+ },
25
+ {
26
+ "type": "string"
27
+ }
28
+ ],
29
+ "description": "Where the workspace appears inside the sandbox. \"auto\" = C:\\Workspace\\<folder name>. \"mirror\" = the same path as on this PC, so absolute paths in configs and build caches match (another drive letter such as F: is a subst drive onto C:\\Mirror\\F); paths the sandbox reserves (C:\\Users\\..., C:\\Program Files\\...) fall back to \"auto\"."
30
+ },
31
+ "readOnly": {
32
+ "type": "boolean",
33
+ "description": "Map the workspace read-only."
34
+ },
35
+ "mappings": {
36
+ "type": "array",
37
+ "items": {
38
+ "type": "object",
39
+ "properties": {
40
+ "host": {
41
+ "type": "string",
42
+ "minLength": 1,
43
+ "description": "Folder on this PC (relative paths are relative to the config file)."
44
+ },
45
+ "guest": {
46
+ "type": "string",
47
+ "description": "Where it appears inside the sandbox, e.g. C:\\Assets, or on another drive letter (D: to Z:) such as F:\\SteamLibrary\\steamapps\\common\\Game: mapped to C:\\Mirror\\F\\... and shown as F: (subst) at boot."
48
+ },
49
+ "readOnly": {
50
+ "type": "boolean",
51
+ "description": "true = the agent can only read it."
52
+ },
53
+ "optional": {
54
+ "description": "true = skip it quietly when the host folder does not exist.",
55
+ "type": "boolean"
56
+ }
57
+ },
58
+ "additionalProperties": false
59
+ },
60
+ "description": "Extra folders from this PC."
61
+ },
62
+ "sandbox": {
63
+ "type": "object",
64
+ "properties": {
65
+ "memoryMb": {
66
+ "anyOf": [
67
+ {
68
+ "type": "string",
69
+ "const": "auto"
70
+ },
71
+ {
72
+ "type": "integer",
73
+ "minimum": 2048,
74
+ "maximum": 9007199254740991
75
+ }
76
+ ],
77
+ "description": "Sandbox RAM in MB (>= 2048), or \"auto\": free RAM minus reserveHostMb, capped at maxMemoryMb."
78
+ },
79
+ "maxMemoryMb": {
80
+ "type": "integer",
81
+ "exclusiveMinimum": 0,
82
+ "maximum": 9007199254740991,
83
+ "description": "Upper limit for memoryMb \"auto\"."
84
+ },
85
+ "reserveHostMb": {
86
+ "type": "integer",
87
+ "minimum": 0,
88
+ "maximum": 9007199254740991,
89
+ "description": "RAM always left for this PC when memoryMb is \"auto\"."
90
+ },
91
+ "vGpu": {
92
+ "type": "boolean",
93
+ "description": "Virtual GPU. Off by default: Microsoft notes it widens the sandbox attack surface."
94
+ },
95
+ "networking": {
96
+ "type": "boolean",
97
+ "description": "Internet access. false is the only hard network isolation Windows Sandbox offers."
98
+ },
99
+ "clipboard": {
100
+ "type": "boolean",
101
+ "description": "Shared clipboard between this PC and the sandbox."
102
+ },
103
+ "audioInput": {
104
+ "type": "boolean",
105
+ "description": "Microphone access."
106
+ },
107
+ "videoInput": {
108
+ "type": "boolean",
109
+ "description": "Camera access."
110
+ },
111
+ "printerRedirection": {
112
+ "type": "boolean",
113
+ "description": "Printers from this PC."
114
+ },
115
+ "protectedClient": {
116
+ "type": "boolean",
117
+ "description": "Run the sandbox window in Protected Client mode (recommended)."
118
+ },
119
+ "headless": {
120
+ "type": "boolean",
121
+ "description": "Hide the sandbox window (sbx-show brings it back). A headless sandbox shuts down when its last session ends."
122
+ }
123
+ },
124
+ "additionalProperties": false
125
+ },
126
+ "storage": {
127
+ "type": "object",
128
+ "properties": {
129
+ "root": {
130
+ "type": "string",
131
+ "minLength": 1,
132
+ "description": "Where everything is kept on this PC (tools, databases, logins, launches)."
133
+ },
134
+ "persistAgentState": {
135
+ "type": "boolean",
136
+ "description": "Keep agent logins and history between sandboxes."
137
+ },
138
+ "dataName": {
139
+ "type": "string",
140
+ "pattern": "^[A-Za-z0-9_-]+$",
141
+ "description": "Name of the persistent data set (C:\\AgentData) shared by all workspaces."
142
+ }
143
+ },
144
+ "additionalProperties": false
145
+ },
146
+ "network": {
147
+ "type": "object",
148
+ "properties": {
149
+ "blockPrivateRanges": {
150
+ "type": "boolean",
151
+ "description": "Block your LAN (10/8, 172.16/12, 192.168/16, SMB) from inside the sandbox."
152
+ }
153
+ },
154
+ "additionalProperties": false
155
+ },
156
+ "provisioning": {
157
+ "type": "object",
158
+ "properties": {
159
+ "copyFromHost": {
160
+ "type": "boolean",
161
+ "description": "Copy Node, Git, nvm and the agent from this PC when they are installed here."
162
+ },
163
+ "fallbackToInstall": {
164
+ "type": "boolean",
165
+ "description": "Download anything that cannot be copied from this PC."
166
+ },
167
+ "refresh": {
168
+ "type": "boolean",
169
+ "description": "Re-copy / re-download everything on the next launch."
170
+ },
171
+ "git": {
172
+ "type": "object",
173
+ "properties": {
174
+ "enabled": {
175
+ "type": "boolean",
176
+ "description": "Provide Git for Windows (and Git Bash, which Claude Code needs)."
177
+ },
178
+ "access": {
179
+ "type": "string",
180
+ "enum": [
181
+ "full",
182
+ "readonly",
183
+ "none"
184
+ ],
185
+ "description": "full: normal git. readonly: status/log/diff/show/blame only (no commit, push, checkout, ...). none: no git at all; .git is hidden from the agent."
186
+ }
187
+ },
188
+ "additionalProperties": false
189
+ },
190
+ "terminal": {
191
+ "type": "object",
192
+ "properties": {
193
+ "enabled": {
194
+ "type": "boolean",
195
+ "description": "Windows Terminal as the sandbox window (downloaded once)."
196
+ }
197
+ },
198
+ "additionalProperties": false
199
+ }
200
+ },
201
+ "additionalProperties": false
202
+ },
203
+ "toolchains": {
204
+ "type": "object",
205
+ "properties": {
206
+ "node": {
207
+ "type": "object",
208
+ "properties": {
209
+ "version": {
210
+ "type": "string",
211
+ "minLength": 1,
212
+ "description": "Default Node version for nvm. \"host\" = the Node on this PC. A project's .nvmrc / .node-version wins."
213
+ },
214
+ "extraVersions": {
215
+ "type": "array",
216
+ "items": {
217
+ "type": "string"
218
+ },
219
+ "description": "More Node versions to install (switch with nvm use). On top of the up to 3 versions copied from this PC's nvm, not counted towards that limit."
220
+ },
221
+ "corepack": {
222
+ "type": "boolean",
223
+ "description": "pnpm and yarn through corepack (a project's \"packageManager\" in package.json picks the version)."
224
+ },
225
+ "volta": {
226
+ "anyOf": [
227
+ {
228
+ "type": "boolean"
229
+ },
230
+ {
231
+ "type": "string",
232
+ "const": "auto"
233
+ }
234
+ ],
235
+ "description": "Volta: true, false, or \"auto\" = when the project's package.json has \"volta\" pins or this PC uses Volta. With pins, Volta's node/npm/yarn/pnpm come first on PATH."
236
+ },
237
+ "globalPackages": {
238
+ "type": "array",
239
+ "items": {
240
+ "type": "string"
241
+ },
242
+ "description": "npm packages installed globally into the default Node version, installed once and kept (e.g. [\"typescript\", \"npm-check-updates\"])."
243
+ }
244
+ },
245
+ "additionalProperties": false
246
+ },
247
+ "python": {
248
+ "type": "object",
249
+ "properties": {
250
+ "enabled": {
251
+ "anyOf": [
252
+ {
253
+ "type": "boolean"
254
+ },
255
+ {
256
+ "type": "string",
257
+ "const": "auto"
258
+ }
259
+ ],
260
+ "description": "Python 3 (CPython with pip). true, false, or \"auto\" = only when the project has pyproject.toml, requirements.txt, setup.py, Pipfile or .python-version."
261
+ },
262
+ "version": {
263
+ "type": "string",
264
+ "minLength": 1,
265
+ "description": "Python 3 version prefix, e.g. \"3\" or \"3.12\". A project's .python-version wins."
266
+ },
267
+ "python2": {
268
+ "type": "boolean",
269
+ "description": "Also install Python 2.7 as python2 / pip2."
270
+ },
271
+ "pyenv": {
272
+ "anyOf": [
273
+ {
274
+ "type": "boolean"
275
+ },
276
+ {
277
+ "type": "string",
278
+ "const": "auto"
279
+ }
280
+ ],
281
+ "description": "pyenv-win (pyenv install / local / global): true, false, or \"auto\" = when this PC uses pyenv. .python-version is honoured either way, and `uv python install` always works."
282
+ },
283
+ "tools": {
284
+ "type": "array",
285
+ "items": {
286
+ "type": "string"
287
+ },
288
+ "description": "Python command-line tools installed with `uv tool install` (needs uv), installed once and kept (e.g. [\"poetry\", \"ruff\", \"pre-commit\"])."
289
+ }
290
+ },
291
+ "additionalProperties": false
292
+ },
293
+ "rust": {
294
+ "type": "object",
295
+ "properties": {
296
+ "enabled": {
297
+ "anyOf": [
298
+ {
299
+ "type": "boolean"
300
+ },
301
+ {
302
+ "type": "string",
303
+ "const": "auto"
304
+ }
305
+ ],
306
+ "description": "Rust via rustup (cargo, rustc). true, false, or \"auto\" = only when the project has Cargo.toml or rust-toolchain(.toml)."
307
+ },
308
+ "toolchain": {
309
+ "type": "string",
310
+ "minLength": 1,
311
+ "description": "Default toolchain, e.g. \"stable\". rust-toolchain.toml in a project wins."
312
+ },
313
+ "host": {
314
+ "type": "string",
315
+ "minLength": 1,
316
+ "description": "Host triple, or \"auto\": x86_64-pc-windows-msvc when the MSVC toolchain is on (like most PCs), else x86_64-pc-windows-gnu (MinGW is its linker)."
317
+ },
318
+ "components": {
319
+ "type": "array",
320
+ "items": {
321
+ "type": "string"
322
+ },
323
+ "description": "Extra rustup components, installed once and kept (e.g. [\"rust-src\", \"llvm-tools\"])."
324
+ },
325
+ "targets": {
326
+ "type": "array",
327
+ "items": {
328
+ "type": "string"
329
+ },
330
+ "description": "Extra rustup targets, installed once and kept (e.g. [\"wasm32-unknown-unknown\"])."
331
+ },
332
+ "crates": {
333
+ "type": "array",
334
+ "items": {
335
+ "type": "string"
336
+ },
337
+ "description": "Binaries for cargo: prebuilt via cargo-binstall when the crate publishes a Windows build, else compiled with `cargo install --locked` (slow the first time), installed once and kept (e.g. [\"sccache\", \"cargo-nextest\", \"cargo-deny\"])."
338
+ },
339
+ "targetDir": {
340
+ "type": "string",
341
+ "minLength": 1,
342
+ "description": "\"shared\": cargo's default target\\ (shared with builds on this PC, so builds on either side invalidate the other), \"separate\": <workspace>\\target\\sandbox (kept, no cross-talk), \"local\": on the sandbox's own disk (fastest, lost every boot), or a guest path."
343
+ }
344
+ },
345
+ "additionalProperties": false
346
+ },
347
+ "msvc": {
348
+ "type": "object",
349
+ "properties": {
350
+ "enabled": {
351
+ "anyOf": [
352
+ {
353
+ "type": "boolean"
354
+ },
355
+ {
356
+ "type": "string",
357
+ "const": "auto"
358
+ }
359
+ ],
360
+ "description": "MSVC (cl, link) and the Windows SDK, portable from Microsoft's Visual Studio manifest (~1-2 GB once), with vcvars64.bat and vswhere. true, false, or \"auto\" = only when the project has a .vcxproj, CMakePresets.json, a script calling vcvars/vswhere, or a Rust project when this PC builds Rust with MSVC."
361
+ },
362
+ "acceptLicense": {
363
+ "type": "boolean",
364
+ "description": "Required to install MSVC: you accept the Visual Studio licence terms (https://visualstudio.microsoft.com/license-terms/), which need a Visual Studio licence."
365
+ },
366
+ "msvcVersion": {
367
+ "type": "string",
368
+ "minLength": 1,
369
+ "description": "\"latest\" or an MSVC tools version prefix, e.g. \"14.44\"."
370
+ },
371
+ "sdkVersion": {
372
+ "type": "string",
373
+ "minLength": 1,
374
+ "description": "\"latest\" or a Windows SDK build, e.g. \"26100\" or \"10.0.22621\"."
375
+ }
376
+ },
377
+ "additionalProperties": false
378
+ },
379
+ "cpp": {
380
+ "type": "object",
381
+ "properties": {
382
+ "enabled": {
383
+ "anyOf": [
384
+ {
385
+ "type": "boolean"
386
+ },
387
+ {
388
+ "type": "string",
389
+ "const": "auto"
390
+ }
391
+ ],
392
+ "description": "MinGW-w64 GCC with CMake, Ninja, premake5 and mingw32-make (also Rust's linker). true, false, or \"auto\" = only when the project has CMakeLists.txt, Makefile, meson.build, premake5.lua or Cargo.toml."
393
+ },
394
+ "flexBison": {
395
+ "type": "boolean",
396
+ "description": "win_flex / win_bison, the parser generators many C/C++ projects (game engines among them) need; CMake finds them."
397
+ }
398
+ },
399
+ "additionalProperties": false
400
+ },
401
+ "dotnet": {
402
+ "type": "object",
403
+ "properties": {
404
+ "enabled": {
405
+ "anyOf": [
406
+ {
407
+ "type": "boolean"
408
+ },
409
+ {
410
+ "type": "string",
411
+ "const": "auto"
412
+ }
413
+ ],
414
+ "description": ".NET SDK (C#, F#). true, false, or \"auto\" = only when the project has a .sln, .slnx, .csproj, .fsproj or global.json."
415
+ },
416
+ "channels": {
417
+ "type": "array",
418
+ "items": {
419
+ "type": "string"
420
+ },
421
+ "description": "SDK channels, e.g. [\"LTS\", \"8.0\"]. A project's global.json is installed too."
422
+ },
423
+ "tools": {
424
+ "type": "array",
425
+ "items": {
426
+ "type": "string"
427
+ },
428
+ "description": "Global .NET tools (`dotnet tool install -g`), installed once and kept (e.g. [\"dotnet-ef\", \"csharpier\"])."
429
+ },
430
+ "workloads": {
431
+ "type": "array",
432
+ "items": {
433
+ "type": "string"
434
+ },
435
+ "description": "SDK workloads (`dotnet workload install`), installed once and kept (e.g. [\"aspire\", \"wasm-tools\"])."
436
+ },
437
+ "frameworkTargets": {
438
+ "type": "array",
439
+ "items": {
440
+ "type": "string"
441
+ },
442
+ "description": ".NET Framework reference assemblies (targeting packs) from NuGet, so net4x and old-style .csproj projects build without Visual Studio, e.g. [\"net48\", \"net472\", \"net462\"]. The 4.8 runtime itself ships with Windows."
443
+ },
444
+ "netfx35": {
445
+ "type": "boolean",
446
+ "description": ".NET Framework 3.5 runtime (a Windows feature, enabled from Windows Update on every boot; a few minutes)."
447
+ }
448
+ },
449
+ "additionalProperties": false
450
+ },
451
+ "go": {
452
+ "type": "object",
453
+ "properties": {
454
+ "enabled": {
455
+ "anyOf": [
456
+ {
457
+ "type": "boolean"
458
+ },
459
+ {
460
+ "type": "string",
461
+ "const": "auto"
462
+ }
463
+ ],
464
+ "description": "Go. true, false, or \"auto\" = only when the project has go.mod or go.work."
465
+ },
466
+ "version": {
467
+ "type": "string",
468
+ "minLength": 1,
469
+ "description": "\"stable\" or a version prefix such as \"1.23\". A go.mod asking for newer fetches it itself (GOTOOLCHAIN=auto)."
470
+ },
471
+ "tools": {
472
+ "type": "array",
473
+ "items": {
474
+ "type": "string"
475
+ },
476
+ "description": "Go tools (`go install <path>@<version>`), installed once and kept (e.g. [\"golang.org/x/tools/gopls@latest\"])."
477
+ }
478
+ },
479
+ "additionalProperties": false
480
+ },
481
+ "java": {
482
+ "type": "object",
483
+ "properties": {
484
+ "enabled": {
485
+ "anyOf": [
486
+ {
487
+ "type": "boolean"
488
+ },
489
+ {
490
+ "type": "string",
491
+ "const": "auto"
492
+ }
493
+ ],
494
+ "description": "Java: Eclipse Temurin JDK. true, false, or \"auto\" = only when the project has pom.xml, build.gradle(.kts), settings.gradle(.kts), mvnw, gradlew or .java-version."
495
+ },
496
+ "version": {
497
+ "type": "string",
498
+ "minLength": 1,
499
+ "description": "\"lts\" (newest LTS) or a major version such as \"21\". A project's .java-version or .sdkmanrc wins."
500
+ },
501
+ "maven": {
502
+ "type": "boolean",
503
+ "description": "Apache Maven (mvn). A project's mvnw works either way."
504
+ },
505
+ "gradle": {
506
+ "type": "boolean",
507
+ "description": "Gradle (gradle). A project's gradlew works either way."
508
+ }
509
+ },
510
+ "additionalProperties": false
511
+ },
512
+ "ruby": {
513
+ "type": "object",
514
+ "properties": {
515
+ "enabled": {
516
+ "anyOf": [
517
+ {
518
+ "type": "boolean"
519
+ },
520
+ {
521
+ "type": "string",
522
+ "const": "auto"
523
+ }
524
+ ],
525
+ "description": "Ruby (RubyInstaller, with gem and bundler). Gems with C extensions need MSYS2, which is not included. true, false, or \"auto\" = only when the project has Gemfile, a .gemspec or .ruby-version."
526
+ },
527
+ "version": {
528
+ "type": "string",
529
+ "minLength": 1,
530
+ "description": "Version prefix, e.g. \"3\" or \"3.3\". A project's .ruby-version wins."
531
+ },
532
+ "gems": {
533
+ "type": "array",
534
+ "items": {
535
+ "type": "string"
536
+ },
537
+ "description": "Gems installed globally, installed once and kept (e.g. [\"rubocop\"])."
538
+ }
539
+ },
540
+ "additionalProperties": false
541
+ },
542
+ "php": {
543
+ "type": "object",
544
+ "properties": {
545
+ "enabled": {
546
+ "anyOf": [
547
+ {
548
+ "type": "boolean"
549
+ },
550
+ {
551
+ "type": "string",
552
+ "const": "auto"
553
+ }
554
+ ],
555
+ "description": "PHP (with the Visual C++ runtime it needs, installed on every boot). true, false, or \"auto\" = only when the project has composer.json, artisan or .php-version."
556
+ },
557
+ "version": {
558
+ "type": "string",
559
+ "minLength": 1,
560
+ "description": "Version prefix, e.g. \"8\" or \"8.3\". A project's .php-version wins."
561
+ },
562
+ "composer": {
563
+ "type": "boolean",
564
+ "description": "Composer."
565
+ }
566
+ },
567
+ "additionalProperties": false
568
+ },
569
+ "deno": {
570
+ "type": "object",
571
+ "properties": {
572
+ "enabled": {
573
+ "anyOf": [
574
+ {
575
+ "type": "boolean"
576
+ },
577
+ {
578
+ "type": "string",
579
+ "const": "auto"
580
+ }
581
+ ],
582
+ "description": "Deno. true, false, or \"auto\" = only when the project has deno.json, deno.jsonc or deno.lock."
583
+ }
584
+ },
585
+ "additionalProperties": false
586
+ },
587
+ "pwsh": {
588
+ "type": "object",
589
+ "properties": {
590
+ "enabled": {
591
+ "anyOf": [
592
+ {
593
+ "type": "boolean"
594
+ },
595
+ {
596
+ "type": "string",
597
+ "const": "auto"
598
+ }
599
+ ],
600
+ "description": "PowerShell 7 (pwsh), portable (~110 MB once); `powershell` stays Windows PowerShell 5.1. true, false, or \"auto\" = when a .ps1 at the root or one folder down has #Requires -Version 7 / -PSEdition Core or a `pwsh ...` usage line, or, in a folder that is no project yet, when this PC has PowerShell 7."
601
+ }
602
+ },
603
+ "additionalProperties": false
604
+ },
605
+ "cli": {
606
+ "type": "object",
607
+ "properties": {
608
+ "gh": {
609
+ "anyOf": [
610
+ {
611
+ "type": "boolean"
612
+ },
613
+ {
614
+ "type": "string",
615
+ "const": "auto"
616
+ }
617
+ ],
618
+ "description": "GitHub CLI (gh). Only with provisioning.git.access \"full\": gh can push and merge through the GitHub API, past a read-only git. Your PC's gh login is never copied; `gh auth login` inside persists (GH_CONFIG_DIR). \"auto\" = when the project has a .github folder."
619
+ },
620
+ "zstd": {
621
+ "anyOf": [
622
+ {
623
+ "type": "boolean"
624
+ },
625
+ {
626
+ "type": "string",
627
+ "const": "auto"
628
+ }
629
+ ],
630
+ "description": "Zstandard (zstd). \"auto\" = off; set true to get it."
631
+ },
632
+ "openssl": {
633
+ "anyOf": [
634
+ {
635
+ "type": "boolean"
636
+ },
637
+ {
638
+ "type": "string",
639
+ "const": "auto"
640
+ }
641
+ ],
642
+ "description": "`openssl` on PATH, from the copy Git for Windows ships (its mingw64\\bin is not put on PATH, so it cannot shadow MinGW's gcc). \"auto\" = on."
643
+ }
644
+ },
645
+ "additionalProperties": false,
646
+ "description": "Small portable command-line tools from their GitHub releases, installed once into tools\\cli."
647
+ },
648
+ "bun": {
649
+ "type": "object",
650
+ "properties": {
651
+ "enabled": {
652
+ "type": "boolean",
653
+ "description": "Bun runtime (claude-mem needs it)."
654
+ }
655
+ },
656
+ "additionalProperties": false
657
+ },
658
+ "uv": {
659
+ "type": "object",
660
+ "properties": {
661
+ "enabled": {
662
+ "type": "boolean",
663
+ "description": "uv, the Python package manager (claude-mem needs it)."
664
+ }
665
+ },
666
+ "additionalProperties": false
667
+ },
668
+ "vcRuntime": {
669
+ "type": "object",
670
+ "properties": {
671
+ "enabled": {
672
+ "type": "boolean",
673
+ "description": "Microsoft Visual C++ runtime for tools that need it (a real installer, so it runs on every boot, ~15 s). PHP installs it regardless."
674
+ }
675
+ },
676
+ "additionalProperties": false
677
+ },
678
+ "mesa": {
679
+ "type": "object",
680
+ "properties": {
681
+ "enabled": {
682
+ "type": "boolean",
683
+ "description": "Mesa 3D (llvmpipe): OpenGL 4.5 in software for games and apps when there is no GPU (sandbox.vGpu off). Copy opengl32.dll and libgallium_wgl.dll from %MESA_DIR% next to the program's .exe."
684
+ },
685
+ "vulkan": {
686
+ "type": "boolean",
687
+ "description": "Also software Vulkan 1.4 (Mesa lavapipe) with the Khronos loader, registered for every program; for wgpu set WGPU_BACKEND=vulkan."
688
+ }
689
+ },
690
+ "additionalProperties": false
691
+ },
692
+ "vscode": {
693
+ "type": "object",
694
+ "properties": {
695
+ "enabled": {
696
+ "type": "boolean",
697
+ "description": "Portable VS Code inside the sandbox (code on PATH, desktop shortcut); its settings and extensions persist."
698
+ }
699
+ },
700
+ "additionalProperties": false
701
+ },
702
+ "environment": {
703
+ "type": "object",
704
+ "propertyNames": {
705
+ "type": "string",
706
+ "pattern": "^[A-Za-z_][A-Za-z0-9_]*$"
707
+ },
708
+ "additionalProperties": {
709
+ "type": "string"
710
+ },
711
+ "description": "Extra environment variables for the agent and every terminal, e.g. registry mirrors: {\"NPM_CONFIG_REGISTRY\": \"https://...\", \"PIP_INDEX_URL\": \"https://...\"}."
712
+ }
713
+ },
714
+ "additionalProperties": false
715
+ },
716
+ "databases": {
717
+ "type": "object",
718
+ "properties": {
719
+ "postgres": {
720
+ "type": "object",
721
+ "properties": {
722
+ "enabled": {
723
+ "anyOf": [
724
+ {
725
+ "type": "boolean"
726
+ },
727
+ {
728
+ "type": "string",
729
+ "const": "auto"
730
+ }
731
+ ],
732
+ "description": "PostgreSQL (with psql, pg_dump). User postgres, no password, localhost only: true, false, or \"auto\" = only when the project needs it (found from compose files, dependencies of every language, Prisma/ORM config and connection strings)."
733
+ },
734
+ "version": {
735
+ "type": "string",
736
+ "minLength": 1,
737
+ "description": "\"latest\" or a major version such as \"16\". A compose file pinning postgres:<major> wins."
738
+ },
739
+ "port": {
740
+ "type": "integer",
741
+ "minimum": 1024,
742
+ "maximum": 65535,
743
+ "description": "Port inside the sandbox."
744
+ }
745
+ },
746
+ "additionalProperties": false
747
+ },
748
+ "mysql": {
749
+ "type": "object",
750
+ "properties": {
751
+ "enabled": {
752
+ "anyOf": [
753
+ {
754
+ "type": "boolean"
755
+ },
756
+ {
757
+ "type": "string",
758
+ "const": "auto"
759
+ }
760
+ ],
761
+ "description": "MySQL-compatible database (MariaDB). User root, no password, localhost only: true, false, or \"auto\" = only when the project needs it (found from compose files, dependencies of every language, Prisma/ORM config and connection strings)."
762
+ },
763
+ "version": {
764
+ "type": "string",
765
+ "minLength": 1,
766
+ "description": "\"lts\" (newest MariaDB LTS) or a MariaDB series such as \"11.4\"."
767
+ },
768
+ "port": {
769
+ "type": "integer",
770
+ "minimum": 1024,
771
+ "maximum": 65535,
772
+ "description": "Port inside the sandbox."
773
+ }
774
+ },
775
+ "additionalProperties": false
776
+ },
777
+ "mongodb": {
778
+ "type": "object",
779
+ "properties": {
780
+ "enabled": {
781
+ "anyOf": [
782
+ {
783
+ "type": "boolean"
784
+ },
785
+ {
786
+ "type": "string",
787
+ "const": "auto"
788
+ }
789
+ ],
790
+ "description": "MongoDB with mongosh, localhost only: true, false, or \"auto\" = only when the project needs it (found from compose files, dependencies of every language, Prisma/ORM config and connection strings)."
791
+ },
792
+ "version": {
793
+ "type": "string",
794
+ "minLength": 1,
795
+ "description": "\"latest\" or a version prefix such as \"8.0\"."
796
+ },
797
+ "port": {
798
+ "type": "integer",
799
+ "minimum": 1024,
800
+ "maximum": 65535,
801
+ "description": "Port inside the sandbox."
802
+ }
803
+ },
804
+ "additionalProperties": false
805
+ },
806
+ "redis": {
807
+ "type": "object",
808
+ "properties": {
809
+ "enabled": {
810
+ "anyOf": [
811
+ {
812
+ "type": "boolean"
813
+ },
814
+ {
815
+ "type": "string",
816
+ "const": "auto"
817
+ }
818
+ ],
819
+ "description": "Redis (community Windows build), localhost only: true, false, or \"auto\" = only when the project needs it (found from compose files, dependencies of every language, Prisma/ORM config and connection strings)."
820
+ },
821
+ "port": {
822
+ "type": "integer",
823
+ "minimum": 1024,
824
+ "maximum": 65535,
825
+ "description": "Port inside the sandbox."
826
+ }
827
+ },
828
+ "additionalProperties": false
829
+ },
830
+ "dynamodb": {
831
+ "type": "object",
832
+ "properties": {
833
+ "enabled": {
834
+ "anyOf": [
835
+ {
836
+ "type": "boolean"
837
+ },
838
+ {
839
+ "type": "string",
840
+ "const": "auto"
841
+ }
842
+ ],
843
+ "description": "DynamoDB Local (Amazon's official emulator, on the Java toolchain) with dynamodb-admin, a web UI to browse and edit tables: true, false, or \"auto\" = only when the project needs it (found from compose files, dependencies of every language, Prisma/ORM config and connection strings)."
844
+ },
845
+ "port": {
846
+ "type": "integer",
847
+ "minimum": 1024,
848
+ "maximum": 65535,
849
+ "description": "DynamoDB endpoint port inside the sandbox (http://localhost:<port>)."
850
+ },
851
+ "adminPort": {
852
+ "type": "integer",
853
+ "minimum": 1024,
854
+ "maximum": 65535,
855
+ "description": "dynamodb-admin web UI port (open http://localhost:<adminPort> in the sandbox's browser)."
856
+ },
857
+ "admin": {
858
+ "type": "boolean",
859
+ "description": "Run dynamodb-admin next to DynamoDB Local."
860
+ }
861
+ },
862
+ "additionalProperties": false
863
+ },
864
+ "sqlserver": {
865
+ "type": "object",
866
+ "properties": {
867
+ "enabled": {
868
+ "anyOf": [
869
+ {
870
+ "type": "boolean"
871
+ },
872
+ {
873
+ "type": "string",
874
+ "const": "auto"
875
+ }
876
+ ],
877
+ "description": "SQL Server. It cannot run inside Windows Sandbox; when a project needs it you get a hint to reach the one on this PC through hostAccess.forwards: true, false, or \"auto\" = only when the project needs it (found from compose files, dependencies of every language, Prisma/ORM config and connection strings)."
878
+ }
879
+ },
880
+ "additionalProperties": false
881
+ }
882
+ },
883
+ "additionalProperties": false,
884
+ "description": "Databases running inside the sandbox. Data persists in C:\\AgentData\\databases; each one starts at boot."
885
+ },
886
+ "attach": {
887
+ "type": "object",
888
+ "properties": {
889
+ "enabled": {
890
+ "type": "boolean",
891
+ "description": "Allow sandbox claude --terminal / sandbox attach from this PC."
892
+ },
893
+ "reuseSession": {
894
+ "type": "boolean",
895
+ "description": "sandbox claude -t in a running sandbox reattaches to this folder's session when no terminal on this PC is attached to it (--new always starts another)."
896
+ },
897
+ "auto": {
898
+ "type": "boolean",
899
+ "description": "Starting an agent attaches this terminal automatically, as if you passed -t (only in an interactive terminal)."
900
+ },
901
+ "autoHide": {
902
+ "type": "boolean",
903
+ "description": "Hide the Windows Sandbox window whenever this terminal attaches; it keeps running (sandbox show brings it back)."
904
+ }
905
+ },
906
+ "additionalProperties": false
907
+ },
908
+ "secrets": {
909
+ "type": "object",
910
+ "properties": {
911
+ "strip": {
912
+ "type": "boolean",
913
+ "description": "Remove credentials from everything copied into the sandbox (your Claude settings.json \"env\" and credential helpers, MCP servers' env, headers and arguments): AWS, Azure, Google Cloud, Cloudflare, hosting, CI, registries, payment, AI API keys, database URLs, anything named *_TOKEN / *_SECRET / *PASSWORD* / *_KEY or *PROD*, and values that look like keys."
914
+ },
915
+ "allow": {
916
+ "type": "array",
917
+ "items": {
918
+ "type": "string"
919
+ },
920
+ "description": "Variable names that may go in anyway; * matches anything, e.g. [\"AWS_REGION\", \"AWS_PROFILE\", \"MY_APP_*\"]."
921
+ },
922
+ "patterns": {
923
+ "type": "array",
924
+ "items": {
925
+ "type": "string"
926
+ },
927
+ "description": "More variable names to treat as secrets; * matches anything, e.g. [\"ACME_*\", \"*_INTERNAL_URL\"]."
928
+ },
929
+ "warnFiles": {
930
+ "type": "boolean",
931
+ "description": "Warn at launch about files in the workspace that usually hold secrets (.env, *.pem, credentials.json, ...). The agent CAN read them: Windows Sandbox maps the whole folder."
932
+ }
933
+ },
934
+ "additionalProperties": false
935
+ },
936
+ "personalization": {
937
+ "type": "object",
938
+ "properties": {
939
+ "enabled": {
940
+ "type": "boolean",
941
+ "description": "Copy your desktop look (theme, accent, taskbar, wallpaper, ...) into the sandbox."
942
+ }
943
+ },
944
+ "additionalProperties": false
945
+ },
946
+ "claudeProfile": {
947
+ "type": "object",
948
+ "properties": {
949
+ "enabled": {
950
+ "type": "boolean",
951
+ "description": "Copy selected Claude settings from this PC into the sandbox."
952
+ },
953
+ "hostDir": {
954
+ "type": "string",
955
+ "description": "Your Claude folder, or \"auto\" (~/.claude or CLAUDE_CONFIG_DIR)."
956
+ },
957
+ "include": {
958
+ "type": "array",
959
+ "items": {
960
+ "type": "string",
961
+ "pattern": "^[A-Za-z0-9._-]+$"
962
+ },
963
+ "description": "Files and folders copied from it."
964
+ },
965
+ "globalStateFile": {
966
+ "type": "string",
967
+ "description": "Your .claude.json, or \"auto\". Empty string = do not copy."
968
+ },
969
+ "copyCredentials": {
970
+ "type": "boolean",
971
+ "description": "Copy your Claude LOGIN into the sandbox. Prefer sandbox account instead."
972
+ },
973
+ "overwrite": {
974
+ "type": "boolean",
975
+ "description": "Refresh these settings from this PC on every launch."
976
+ },
977
+ "syncHistory": {
978
+ "type": "boolean",
979
+ "description": "Bring all conversation history in, and sync new history back (path-translated)."
980
+ },
981
+ "syncClaudeMem": {
982
+ "type": "boolean",
983
+ "description": "Bring claude-mem data in, and its database back when the sandbox closes."
984
+ }
985
+ },
986
+ "additionalProperties": false
987
+ },
988
+ "harnesses": {
989
+ "type": "object",
990
+ "propertyNames": {
991
+ "type": "string",
992
+ "pattern": "^[A-Za-z0-9_-]+$"
993
+ },
994
+ "additionalProperties": {
995
+ "type": "object",
996
+ "properties": {
997
+ "hostExecutable": {
998
+ "description": "Executable copied from this PC when installed here (e.g. claude.exe).",
999
+ "type": "string"
1000
+ },
1001
+ "hostDir": {
1002
+ "description": "Folder of hostExecutable on this PC, or \"auto\" to search PATH and ~/.local/bin.",
1003
+ "type": "string"
1004
+ },
1005
+ "npmPackage": {
1006
+ "description": "npm package installed inside the sandbox when there is no host copy.",
1007
+ "type": "string"
1008
+ },
1009
+ "npmBin": {
1010
+ "description": "Command the npm package provides.",
1011
+ "type": "string"
1012
+ },
1013
+ "uvPackage": {
1014
+ "description": "Python package installed with `uv tool install` inside the sandbox (e.g. aider-chat).",
1015
+ "type": "string"
1016
+ },
1017
+ "uvBin": {
1018
+ "description": "Command the uv package provides.",
1019
+ "type": "string"
1020
+ },
1021
+ "arguments": {
1022
+ "type": "array",
1023
+ "items": {
1024
+ "type": "string"
1025
+ },
1026
+ "description": "Arguments always passed to the agent."
1027
+ },
1028
+ "environment": {
1029
+ "type": "object",
1030
+ "propertyNames": {
1031
+ "type": "string"
1032
+ },
1033
+ "additionalProperties": {
1034
+ "type": "string"
1035
+ },
1036
+ "description": "Environment variables for the agent."
1037
+ },
1038
+ "resumeArguments": {
1039
+ "description": "Arguments used when the agent is restarted in place (e.g. after an account switch) so it resumes the conversation.",
1040
+ "type": "array",
1041
+ "items": {
1042
+ "type": "string"
1043
+ }
1044
+ }
1045
+ },
1046
+ "additionalProperties": false
1047
+ },
1048
+ "description": "Agents that can run in the sandbox."
1049
+ },
1050
+ "hooks": {
1051
+ "type": "object",
1052
+ "properties": {
1053
+ "failFast": {
1054
+ "type": "boolean",
1055
+ "description": "Stop when a hook script fails."
1056
+ }
1057
+ },
1058
+ "additionalProperties": false
1059
+ }
1060
+ },
1061
+ "additionalProperties": false
1062
+ }