dsh-super-code 0.3.9 → 0.3.10

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 (59) hide show
  1. package/README.en.md +34 -9
  2. package/README.md +34 -9
  3. package/client/index.js +63 -18
  4. package/cordis.patch.yml +3 -7
  5. package/docs/Changelog.md +16 -0
  6. package/docs/Compatibility.md +38 -3
  7. package/docs/EvaluationResults.md +21 -5
  8. package/docs/UsageGuide.md +18 -1
  9. package/docs/en/Changelog.md +16 -0
  10. package/docs/en/Compatibility.md +38 -3
  11. package/docs/en/EvaluationResults.md +21 -5
  12. package/docs/en/UsageGuide.md +18 -1
  13. package/lib/core/deletion-command.d.ts.map +1 -1
  14. package/lib/core/deletion-command.js +2 -1
  15. package/lib/core/deletion-command.js.map +1 -1
  16. package/lib/core/windows-runtime.d.ts +16 -0
  17. package/lib/core/windows-runtime.d.ts.map +1 -0
  18. package/lib/core/windows-runtime.js +123 -0
  19. package/lib/core/windows-runtime.js.map +1 -0
  20. package/lib/dsh/budget-settings.d.ts +2 -0
  21. package/lib/dsh/budget-settings.d.ts.map +1 -1
  22. package/lib/dsh/budget-settings.js +9 -3
  23. package/lib/dsh/budget-settings.js.map +1 -1
  24. package/lib/dsh/budgets.d.ts +2 -0
  25. package/lib/dsh/budgets.d.ts.map +1 -1
  26. package/lib/dsh/budgets.js +6 -0
  27. package/lib/dsh/budgets.js.map +1 -1
  28. package/lib/dsh/index.d.ts.map +1 -1
  29. package/lib/dsh/index.js +4 -0
  30. package/lib/dsh/index.js.map +1 -1
  31. package/lib/dsh/official-windows-shell.d.ts +4 -0
  32. package/lib/dsh/official-windows-shell.d.ts.map +1 -0
  33. package/lib/dsh/official-windows-shell.js +128 -0
  34. package/lib/dsh/official-windows-shell.js.map +1 -0
  35. package/lib/dsh/windows-shell.d.ts +53 -0
  36. package/lib/dsh/windows-shell.d.ts.map +1 -0
  37. package/lib/dsh/windows-shell.js +182 -0
  38. package/lib/dsh/windows-shell.js.map +1 -0
  39. package/package.json +21 -16
  40. package/presets/super-code/agent.cordis.yml +3 -7
  41. package/runtime/windows/README.md +45 -0
  42. package/runtime/windows/arm64-busybox.exe.gz +0 -0
  43. package/runtime/windows/bash.exe.gz +0 -0
  44. package/runtime/windows/grep.exe.gz +0 -0
  45. package/runtime/windows/licenses/BusyBox-LICENSE.txt +348 -0
  46. package/runtime/windows/licenses/GPL-3.0.txt +674 -0
  47. package/runtime/windows/licenses/LGPL-3.0.txt +165 -0
  48. package/runtime/windows/licenses/MSYS-COPYING.LIB +165 -0
  49. package/runtime/windows/licenses/MSYS-COPYING.RUNTIME +674 -0
  50. package/runtime/windows/licenses/PCRE-LICENCE.txt +93 -0
  51. package/runtime/windows/licenses/ncurses-COPYING.txt +29 -0
  52. package/runtime/windows/manifest.json +236 -0
  53. package/runtime/windows/msys-2.0.dll.gz +0 -0
  54. package/runtime/windows/msys-iconv-2.dll.gz +0 -0
  55. package/runtime/windows/msys-intl-8.dll.gz +0 -0
  56. package/runtime/windows/msys-pcre-1.dll.gz +0 -0
  57. package/runtime/windows/sources/busybox-w32-FRP-6354-g5f09fb446.tgz +0 -0
  58. package/runtime/windows/sources.json +45 -0
  59. package/runtime/windows/x64-busybox.exe.gz +0 -0
@@ -11,6 +11,7 @@
11
11
  - [侧边栏](#侧边栏)
12
12
  - [批量工具调用](#批量工具调用)
13
13
  - [运行预算](#运行预算)
14
+ - [Windows 命令环境](#windows-命令环境)
14
15
  - [删除保护](#删除保护)
15
16
  - [MCP 连接](#mcp-连接)
16
17
  - [前端 Skill](#前端-skill)
@@ -41,7 +42,7 @@
41
42
  | 标签页 | 内容 |
42
43
  |---|---|
43
44
  | 首页 | 预设状态与版本、删除保护等级、MCP 开关、在线与历史对话数 |
44
- | 预设配置 | 安装、重装、重命名 |
45
+ | 预设配置 | 安装、重装、重命名、Windows 命令环境 |
45
46
  | 上下文配置 | [运行预算](#运行预算) |
46
47
  | 删除保护 | [删除保护](#删除保护) |
47
48
  | 连接 | [MCP 连接](#mcp-连接) |
@@ -183,6 +184,22 @@ maxContextBytes: 32768 # Super Code:任务记忆上下文字节数
183
184
  - 旧宿主的 PTC 按 CPU 忙碌时间计时,新宿主按总耗时计时,两者不可直接比较。
184
185
  - 调大 `maxTasks`、`maxContextBytes` 会占用更多上下文,一般保持默认即可。
185
186
 
187
+ ## Windows 命令环境
188
+
189
+ 验证范围见[兼容性记录](Compatibility.md)。
190
+
191
+ Windows 宿主默认在 Super Code 预设中使用内置 GNU Bash、BusyBox 和 GNU grep,运行常见 Bash 命令无需额外安装 Git。Git、Node、Python 等开发工具仍需自行安装。macOS、Linux 沿用宿主原有环境。
192
+
193
+ 在「预设配置 → 命令环境」关闭「使用内置 Bash(Windows)」,新启动的会话将改用宿主的 PowerShell。设置自动保存,运行中的 Agent 保留原有环境,子 Agent 继承会话环境和工具限制;已安装的旧预设需要先重新安装,才能使用新的命令环境入口。判断依据是 DSH 服务端系统,浏览器所在系统不影响选择。仅检测为 Windows 时可修改这里的开关;其他平台显示为灰色,悬浮提示「仅 Windows 生效」。
194
+
195
+ 开启同一位置的「同时应用到官方预设」,也可让官方标准、PTC、创建模式使用内置 Bash,默认关闭。此选项与预算和删除保护的适用范围独立;关闭 Bash 总开关后,官方预设也使用原有 Shell,已保存的适用范围选择会保留。极简模式保留原有持久终端,自定义预设不自动修改。官方预设无需安装 Super Code 副本即可使用此设置。
196
+
197
+ 运行时随插件提供,首次使用时离线准备到 `%LOCALAPPDATA%\dsh-super-code\shell`,不更改系统 PATH。设置页显示准备状态;准备失败时显示原因,关闭开关后可用宿主环境。命令失败不会换 Shell 重放。审批、删除保护和进程管理继续使用 DSH 的工具链。
198
+
199
+ 官方 Windows 限权沙箱会阻止 MSYS 创建内部命名管道,因此 `read-only`、`workspace-write` 下的 Bash 调用会在命令执行前明确报错。确需运行时,Agent 可为**同一条命令**请求 DSH 的 `sandbox_permissions="danger-full-access"` 单次审批,并说明原因。只有批准的这次调用可以执行;拒绝、取消或禁用审批时不执行,也不会自动修改会话权限或切换 Shell。PTC 的 `run_code` 本身若需更大权限,仍须经过宿主对该程序的独立审批,Bash 的批准不授予外层程序权限。
200
+
201
+ 这仍是 Windows 环境:BusyBox 不包含所有 GNU 选项,`.cmd` 的引号及原生程序的 `/` 参数也不等同于 Linux。MSYS 会自动转换部分路径;确需传递原样参数时,可仅对该次调用设置 `MSYS2_ARG_CONV_EXCL`,不要全局关闭转换。内置工具不包含 `trash`,也不会把永久删除伪装成回收站操作。ARM64 Windows 上的 Bash、grep 和 MSYS DLL 使用 x64 兼容执行。验证范围见[兼容性](Compatibility.md),组件来源与许可证见[运行时说明](../runtime/windows/README.md)。
202
+
186
203
  ## 删除保护
187
204
 
188
205
  位于「删除保护」标签页,默认为**宽松**模式。
@@ -4,6 +4,22 @@
4
4
 
5
5
  Versions are `major.performance.maintenance`. The second number changes when coding results or efficiency improve; the third covers fixes, UI, and compatibility. See [Compatibility](Compatibility.md) for what each release was tested on.
6
6
 
7
+ ## 0.3.10 · 2026-11-03
8
+
9
+ **Windows command environment**
10
+
11
+ - Bundles GNU Bash, required MSYS DLLs, BusyBox, and GNU grep, so Git is not required just to run Bash commands. Developer tools such as Git, Node, and Python still need separate installation.
12
+ - Bundled Bash defaults on. **Also apply to official presets** defaults off and covers Standard, PTC, and Create when enabled; Minimal retains its persistent terminal. Settings autosave, running Agents retain their selection, and children inherit it.
13
+ - Command environment switches are editable only on Windows hosts; other platforms show gray switches with an **Only available on Windows** tooltip. Fixed readiness alignment and long-version wrapping; tooltips follow light and dark themes.
14
+ - Fixed host-shell module resolution for legacy directory presets with nested dependencies, Windows PATH aliases and overrides of fixed BusyBox options, and failed parent/child Agents being reactivated by another conversation's recovery.
15
+ - Strict deletion protection recognizes MSYS `cmd.exe //c` and `//k` deletion commands. Confined Bash calls refuse before execution and require DSH approval for that invocation, without automatic permission changes or replay through another shell.
16
+
17
+ **Documentation and checks**
18
+
19
+ - Appended full Pro100 comparisons with official and third-party configurations to README, sorted by tasks passed, preserving the opening results and each batch's accounting conventions.
20
+ - Added Windows Web process records from the minimum version through rc.5, plus official rc.5 Desktop and NEXT Windows acceptance. Component and static-frontend checks remain separate. Historical native Windows desktops have not been accepted version by version; see [Compatibility](Compatibility.md) for full scope.
21
+ - The fixed command suite passes 97/100; remaining differences concern `.cmd` quoting and MSYS conversion of native arguments. This is not a complete Linux environment. No new 100-task effectiveness evaluation was run for this release.
22
+
7
23
  ## 0.3.9 · 2026-10-28
8
24
 
9
25
  **UI**
@@ -4,6 +4,8 @@
4
4
 
5
5
  Web is verified from Harness `0.1.5-alpha.1` through `0.2.1-rc.4`, with incremental rc.4 coverage detailed below. Official Desktop is verified through `0.2.1-rc.4` (x64 archive under Rosetta), and NEXT at `2.0.19-next` (bundled `0.2.1-rc.2`).
6
6
 
7
+ The bundled Windows Bash in 0.3.10 also passes full-process Windows acceptance on official Desktop `0.2.1-rc.5` and NEXT `2.0.21-next` (bundled `0.2.1-rc.4`), within the scope below.
8
+
7
9
  ## Verified hosts
8
10
 
9
11
  The 26 targets below were each checked as a full set for 0.3.6, 0.3.7, and 0.3.8.
@@ -24,12 +26,12 @@ The 0.3.8 incremental features were also checked on NEXT `2.0.19-next` (bundled
24
26
 
25
27
  - Each host runs in an isolated profile with pinned, audited host dependencies. Daily apps and configuration are untouched.
26
28
  - A local deterministic program supplies model responses through the real host Agents and tools. **No external model is called**; these are not effectiveness evaluations.
27
- - Web uses Chromium; native tests run on macOS arm64, with the official rc.4 x64 archive additionally tested under Rosetta, not Intel hardware.
29
+ - Web uses Chromium; historical native tests run on macOS arm64, with the official rc.4 x64 archive additionally tested under Rosetta. Windows Bash checks also run actual x64 desktop releases in a Windows 11 ARM64 VM, not Intel hardware.
28
30
  - Every release also runs the full unit tests, type checking, build, and client syntax checks.
29
31
 
30
32
  ## Not covered
31
33
 
32
- - Native Windows/Linux clients, Intel hardware, Safari-specific behavior
34
+ - Native Linux clients, Intel hardware, Safari-specific behavior; Windows desktop coverage is limited to the Bash checks below, without rerunning every plugin feature on each version
33
35
  - Live model services, full upgrade and custom-configuration regression, every tool combination
34
36
  - Narrow windows: at 440px the host sidebar leaves only 156px for the plugin, which is not counted as usable (the settings page without the plugin has the same problem)
35
37
  - Confirm/cancel in the native directory picker (OS accessibility API timed out)
@@ -49,7 +51,40 @@ The test environments use exact overrides, but that does not fix the upstream de
49
51
 
50
52
  Under npm rules, a range like `>=0.1.5-alpha.1 <0.3.0` excludes prereleases such as `0.1.6-alpha.1` and `0.2.0-rc.2`, so peer dependencies have to list each series separately.
51
53
 
52
- `zod`, `js-yaml`, and `@modelcontextprotocol/sdk` are runtime dependencies and are not bundled. The published package contains only the plugin, public docs, and screenshots.
54
+ `zod`, `js-yaml`, and `@modelcontextprotocol/sdk` are runtime dependencies and are not bundled. The Windows shell also packages separately licensed programs that run as subprocesses; see [runtime notes](../../runtime/windows/README.md) for sources, licenses, and corresponding source.
55
+
56
+ ## 0.3.10 · 2026-11-03
57
+
58
+ These Windows Bash checks ran at successive stages on November 2–3, 2026. Each batch retains its code baseline and scope; historical release records below are unchanged.
59
+
60
+ - **Release checks**: all 326 tests, type checking, build, and client syntax checks pass for 0.3.10. Release preparation changes only version metadata and documentation; execution code retains the tested implementation. The complete host matrix was not repeated for the version change.
61
+ - **Official-preset shell settings**: a separate **Also apply to official presets** switch defaults off. When enabled, Standard, PTC and Create use bundled Bash; Minimal keeps its persistent terminal, and custom presets are unchanged. Autosave is independent of budget and deletion-protection scopes, and the main switch retains the saved scope choice when disabled. Running Agents keep their selection; children inherit through actual runtime ownership. Failed parent/child preparation cannot be reactivated by another conversation recovering. All 325 unit tests, type checking, build and client syntax checks pass, together with 15 shell-component checks on each of 24 versions, 360 total. Component checks do not substitute for full Windows-host acceptance.
62
+ - **Official-preset host checks**: six Windows Web hosts each pass 13 check groups, 78 total: `0.1.5-alpha.1`, `0.1.6-alpha.1`, `0.1.7-rc.2`, `0.2.0-rc.2`, `0.2.1-alpha.3`, and `0.2.1-rc.5`. After the final failed-parent readiness fix, the final runtime package passes another 13 groups each on minimum-version and rc.5 Web, official rc.5 Desktop, and NEXT `2.0.21-next` (bundled rc.4). Checks cover actual Standard/PTC/Create Bash, default-off PowerShell, Minimal's persistent terminal, both autosave directions, running-Agent selection, confined refusal and single-command host approval, Chinese paths with spaces, file side effects, and complete process cold restart. The final package was not used to rerun the other four Web hosts or every historical desktop suite; the earlier 155/558 groups predate the official-scope setting.
63
+ - **Command environment UI follow-up**: switches are editable only on Windows hosts. Other platforms show both switches in gray with a top-side **Only available on Windows** tooltip. Bash defaults on and the official scope defaults off, retaining saved choices. Readiness text aligns with the setting labels and long versions wrap. All 326 unit tests and client syntax checks pass, alongside 192 browser check groups across 32 official static frontend targets (24 Web, 8 Desktop/NEXT). Coverage includes both tooltip languages, no writes while disabled, defaults, existing button tooltips, and narrow layouts. These UI checks use fixture services and do not represent a full Windows-host acceptance rerun.
64
+ - **Tooltip themes**: shared tooltips follow the host theme: a white surface with dark text in light mode, and a dark surface with light text in dark mode. Arrows, borders, and shadows follow the same palette. Thirty-two static-frontend check groups across the minimum version, rc.5, alpha.2, and NEXT pass, covering buttons, disabled switches, modal dialogs, and theme changes while a tooltip is visible. Full hosts were not rerun for this styling change.
65
+ - **Full Windows Web**: `0.2.1-rc.4` and `rc.5` pass checks with the real Loader, preset, Agent, PTC, and Windows ACL sandbox. `run_code → bash` passes approval, rejection, and cancellation through the actual DSH UI, plus disabled approvals, subsequent refusal, and background preflight refusal. The approved command exits 0 and writes exactly once; six unapproved paths leave no files, with the session remaining in workspace-write. Actual critical component versions are checked for both hosts.
66
+ - **Minimum-version Windows Web follow-up**: `0.1.5-alpha.1`, `alpha.2`, `rc.1`, `rc.2`, and `rc.3` each pass 31 full-process check groups, 155 total, covering presets, settings autosave, legacy codeRuntime, Bash, actual UI approvals, deletion protection, nonzero exit, cancellation, file side effects, and CLI cold restart. Legacy 120ms timeouts terminate rather than promote the command, with no cancellation/timeout writes after their delay windows. All 229/230 resolvable DSH components in each actual profile match its target version, including 12 individually checked execution-critical packages. These hosts use official Node `24.18.1` ARM64 with the original Cordis `4.0.2` combination.
67
+ - **Intermediate Windows Web versions**: all 16 hosts pass full-process acceptance: `0.1.6-alpha.1/alpha.2`, `0.1.7-alpha.1/alpha.2/rc.1/rc.2`, `0.2.0-rc.1/rc.2`, and `0.2.1-alpha.1`–`alpha.5` plus `rc.1`–`rc.3`. The two 0.1.6 hosts each pass 34 check groups, and the other 14 each pass 35, totaling 558. Coverage includes preset availability, settings autosave, PTC → Bash, actual UI approvals, all three deletion modes, nonzero exit, timeout, cancellation, file side effects, and complete CLI cold restart. Disabling Bash preserves the running Agent's choice; a new Agent successfully uses official PowerShell.
68
+ - **Intermediate graph and timeout checks**: each host runs in a Windows 11 ARM64 VM with official Node `24.18.1` ARM64, Cordis/Schemastery dependencies pinned from that release's official declarations, and an isolated profile. All 236–296 installed DSH components match the target version; 18 critical modules are checked individually, and loaded development-package runtime hashes match. A 120ms timeout kills the command on 0.1.6; the other versions promote it to one background job that completes successfully. From `0.2.1-alpha.3`, v4 job registration and settlement events are also checked. Cancellation waits for an actual Bash process and start-marker file before cancelling, then verifies process exit and no delayed write after more than 12 seconds. These are Windows Web results; historical native desktop scope remains separate below.
69
+ - **Legacy module-resolution fix**: directory presets without `profileContext` could fail to create a session when host shell modules were nested by npm. Resolution now uses the actual root profile, retaining precedence for explicit installation anchors on newer hosts. The new regression reproduces the failure before the fix; all 317 unit tests and 216 shell checks across 24 versions pass afterward. The five 0.1.5 hosts and 16 intermediate hosts above all pass Windows Web acceptance with the fixed package.
70
+ - **0.1.5 desktop limit**: the five checked Windows installer URLs and corresponding `dsh-desktop` npm metadata return 404, leaving native legacy desktop acceptance incomplete. Full Web results do not substitute for desktop results. The full Desktop/NEXT, deletion-protection, and timeout records below use the package before the module-resolution fix. This follow-up's final-package official-preset checks are listed separately above, rather than presenting both batches as a complete suite rerun.
71
+ - **Full Windows Desktop / NEXT**: official Desktop `0.2.1-rc.5` and NEXT `2.0.21-next` run serially from actual release installers; NEXT bundles Harness `0.2.1-rc.4`. Both actual Hosts use x64, Node `24.21.0`, and Electron `44.7.0`, with 11 critical host packages audited. Both pass native plugin-page installation and activation of the development tgz tested at that time, preset availability, both Bash autosave directions, budget preservation, tab switching, and complete application cold restart. No page script errors during the checks.
72
+ - **Desktop execution and approval**: both actual `run_code → bash` paths pass arrays, Chinese filenames with spaces, GNU grep, BusyBox, nonzero exit, running cancellation, and timeout promotion to a successfully completed background job. Confined calls refuse explicitly; a host-approved call runs exactly once. Rejection, cancellation, never, subsequent ordinary calls, and background preflight refusal leave no files, with the session remaining in workspace-write. Disabling Bash preserves the existing Agent's choice; a new Agent uses host PowerShell.
73
+ - **Desktop deletion protection**: both pass rejection, cancellation, and approval of MSYS `cmd.exe //c` deletion in strict mode. Under Workspace write + ask, the deletion confirmation and that Bash call's sandbox escalation require separate approvals before deleting the task-owned temporary file. Rejection and cancellation preserve it; relaxed/off add no plugin confirmation. Host Full access also sets approval=never by default, so strict deletion requests are rejected automatically; the plugin does not change that policy.
74
+ - **Desktop installer provenance**: the official installer comes from the [DeepSeek Windows nightly feed](https://download.deepseek.com/dsh-desk/feeds/win-x64/nightly.yml), matches its SHA-512, and has valid Windows Authenticode. NEXT comes from the [NEXT Windows download API](https://www.dshdesktop.cn/api/downloads/windows), with next-channel and target-version headers. Its installer is unsigned and the API supplies no public digest; only HTTPS provenance, product version, and matching SHA-256 before/after transfer are verified, not a valid signature.
75
+ - **Confined-mode boundary**: MSYS cannot create its internal named pipes in the official Windows confined sandbox. The plugin keeps Bash and rejects confined calls explicitly before process launch. Only the host-approved per-call `danger-full-access` policy is accepted; later commands still require approval, without changing session permissions or switching shells. Arrays, Chinese file I/O, and GNU grep are also verified in an explicitly full-access test session.
76
+ - **Environment comparison**: earlier Node 22.23.4 ARM64 produced fs.mkdir/ACL-lock EPERM even without loading the plugin. Those failures are retained. The complete approval and settings checks above use official Node 24.18.1 on the same VM, without ACL changes or disabling protection.
77
+ - **Windows scope**: a dedicated Windows 11 ARM64 VM; each payload passes seven execution checks. Desktop releases and Bash/MSYS/grep use x64 compatibility execution, not native ARM64 Bash builds or native x64 hardware. Full desktop acceptance covers only the two releases above, without rerunning all historical Windows desktop versions or external-model evaluations.
78
+ - **Actual tool components**: 12 rc.4 checks pass for root/child restrictions, conversation-frozen shell choice, PowerShell selection, single execution, timeout/cancellation, deletion protection and per-call approval, host denial, background jobs, and disposal isolation. Real tools and Windows processes are used, without proving that Bash works in the complete confined host.
79
+ - **Fixed command suite**: 97/100 pass, including all original 45. Three remaining cases concern `.cmd` quoting and MSYS conversion of native `/` arguments. Fixtures and expectations are unchanged. No global path-conversion disable or failed-command replay.
80
+ - **Every published version**: all 24 npm releases from `0.1.5-alpha.1` through `0.2.2-alpha.2` pass 591 shell-scope, deletion-protection, and settings checks. Older versions use the actual SettingsProvider; newer ones use the actual Loader and SettingsForms with a temporary-file ConfigEditor fixture. Alpha uses its actual native executor, batch API, and session projections, and passes the full deletion suite. The 24 actual providers also pass 240 execution checks on macOS with stubbed sandbox denial. This is not acceptance of 24 complete Windows hosts.
81
+ - **Windows execution for every version**: all 24 versions also have separately installed and audited provider graphs on the Windows VM, passing 288 checks for actual Bash processes, Unicode, stdin/stderr, nonzero exit, timeout/cancellation, single side effects, truncation/full spill files, tool isolation, confined-mode preflight refusal, and environment masking. Each version runs in a fresh Node process. Approval-policy checks use component services, not a complete ACL host. The 13 runtime tests for corruption, concurrency, hard links/symlinks, and environment boundaries also pass on Windows.
82
+ - **Installation**: npm latest/next is `0.2.1-rc.5` and alpha is `0.2.2-alpha.2` at the time of checking. All 360 peer-range checks across 24 versions pass; the new alpha series and its Cordis/Schemastery prereleases are explicitly covered. The development package installs into an isolated alpha dependency graph; its package-root plugin activates through the published Loader and SettingsForms and supports settings reads/writes, with fixture ConfigEditor persistence.
83
+ - **Frontend and units**: 32 official static frontend targets (24 Web, eight Desktop/NEXT) pass 128 switch, autosave, error, and non-Windows disabling checks without page errors. RPC is a fixture, not live desktop acceptance. All 316 unit tests, type checking, build, and client syntax checks pass. Live Windows Web settings also pass both autosave directions, budget/platform preservation, tab switching, and cold restart.
84
+ - **Concurrency follow-up**: another 192 shell checks pass across all 24 versions, adding pending parent/child preparation, duplicate lifecycle events, parent/child failure followed by sibling recovery, and the actual offline preparation service's shared Promise, retry, and detached status snapshots. These checks run on macOS without executing Windows binaries or starting complete hosts.
85
+ - **Environment and deletion follow-up**: fixed `PATH`/`Path` ordering that could remove the final PATH, and aliases that could override fixed BusyBox options. The 24 actual environment functions pass 240 checks; another 168 actual-process checks pass on the Windows VM. Strict deletion protection now recognizes MSYS `cmd.exe //c` and `//k` forms, with 360 deletion-protection component checks passing across all 24 versions; echoed command text remains allowed. These checks are not complete-host or external-model acceptance.
86
+ - **Review fixes**: an Agent that fails preparation exposes neither shell and cannot be reactivated by a sibling's successful preparation. Children preserve a disabled parent choice with nonstandard providers. Malformed manifests fail before preparation; Windows PATH aliases follow Node precedence, and startup-script/exported-function environment variables are masked.
87
+ - **Size and model**: compressed payload assets total about 4.50 MB; the latest development package is about 9.1 MB including BusyBox corresponding source. Tests use fixed commands or local deterministic model responses, without external model calls or effectiveness evaluation.
53
88
 
54
89
  ## 0.3.9 · 2026-10-27–28
55
90
 
@@ -2,6 +2,22 @@
2
2
 
3
3
  [中文](../EvaluationResults.md) · English
4
4
 
5
+ ## Pro100: continuous-environment comparison
6
+
7
+ All runs use Harness `0.2.1-rc.2`, `deepseek-v4.1-flash-1017`, high reasoning effort, and legacy budgets. Each group reuses its environment continuously across tasks. These are full 100-task results, sorted by tasks passed.
8
+
9
+ | Configuration | Passed/valid | Mean total tokens (M) | Mean time (min) | Mean model calls | Mean tool calls | Cache rate |
10
+ |---|---:|---:|---:|---:|---:|---:|
11
+ | Super Code 0.3.5 | **51/100** | 6.435 | 24.751 | 76.660 | 75.840 | 98.927% |
12
+ | Official Standard | 50/100 | 8.030 | 17.198 | 91.990 | 113.880 | 99.167% |
13
+ | Unmodified dsh-ops 0.4.4 · Standard | 49/100 | 7.099 | 23.132 | 82.500 | 102.360 | 99.062% |
14
+ | Official Standard + billion-context 0.1.209 | 45/100 | 6.359 | 18.471 | 108.950 | 131.140 | 97.654% |
15
+ | Unmodified dsh-ops 0.4.4 · PTC | 44/100 | 7.322 | 23.695 | 81.490 | 80.960 | 99.056% |
16
+
17
+ M means one million tokens, including reasoning tokens. Time includes some in-run service waits. Super Code `0.3.5` is the continuous legacy-budget baseline for this batch.
18
+
19
+ This batch uses different environment-reuse and time-accounting conventions from the historical budget experiments below. They remain separate; pass counts, times, and efficiency percentages are not mixed. The historical `49/100` and `46/100` results are from earlier runs, rather than the `51/100` and `50/100` in this table. Existing per-task files still describe their original runs.
20
+
5
21
  ## Evaluation design
6
22
 
7
23
  ### Task set
@@ -10,17 +26,17 @@ SWE-bench Pro hard-100 (frozen ID `swebench-pro-hard-100-ddd22492f1c38839`), gra
10
26
 
11
27
  - "hard-100" is this project's selection of 100 tasks by an existing difficulty method, not an official hardest-100 list.
12
28
  - Tuning uses only 33 valid hard tasks selected from the SWE-bench dev split. hard-100 is used only to evaluate frozen candidates and investigate issues, **never for tuning**, to avoid overfitting to the evaluation tasks.
13
- - All scores include later reviews (see [Grading corrections](#grading-corrections)); every run has 100 valid scores.
29
+ - The historical scores below include later reviews (see [Grading corrections](#grading-corrections)); every run has 100 valid scores.
14
30
 
15
31
  ### Baseline
16
32
 
17
- The baseline is the official Standard preset rather than Minimal. On the old host, Standard + high passed 51 tasks and Minimal + high passed 46, with Standard using 23.5% fewer tokens per task. Comparing against the stronger baseline gives a stricter conclusion.
33
+ Baselines include the official Standard preset and third-party plugin configurations. The historical official-preset comparison uses Standard rather than Minimal: on the old host, Standard + high passed 51 tasks and Minimal + high passed 46, with Standard using 23.5% fewer tokens per task.
18
34
 
19
35
  ### Controlled variables
20
36
 
21
- Within each comparison, host, model, reasoning effort, and budgets are held constant; only the Agent preset differs. Where the host or model changes, this is stated explicitly.
37
+ Comparisons on the same host keep model, reasoning effort, and budgets fixed while comparing preset and plugin combinations. Host or model changes are identified separately. The continuous-environment table above includes some in-run service waits; historical budget experiments use net time, excluding failed requests and retry waits.
22
38
 
23
- ### Process
39
+ ### Historical process
24
40
 
25
41
  1. **Old-host baseline**: official presets and plugin versions were evaluated on DSH `0.1.5-rc.2` with `deepseek-v4.1-flash`. The Super Code `0.3.0` candidate passed 56 tasks, above the best official result (Standard + high, 51).
26
42
  2. **Regression after the host upgrade**: on DSH `0.2.1-rc.2` with `deepseek-v4.1-flash-1017`, under default budgets Standard fell to 46 and Super Code `0.3.4` to 41, below Standard.
@@ -28,7 +44,7 @@ Within each comparison, host, model, reasoning effort, and budgets are held cons
28
44
  4. **Retest with legacy budgets**: both sides switched to legacy budgets. Standard stayed at 46; Super Code `0.3.5` rose to 49. Based on this, the plugin uses legacy budgets by default from `0.3.6`.
29
45
  5. **Cross-model check**: compared with native ZCode on `glm-5.3-flash` to test whether the approach depends on a specific model.
30
46
 
31
- ## Summary
47
+ ## Historical summary
32
48
 
33
49
  | Comparison | Result |
34
50
  |---|---|
@@ -11,6 +11,7 @@ New here? Read the Install and Use sections of the [README](../../README.en.md)
11
11
  - [Sidebar](#sidebar)
12
12
  - [Batched tool calls](#batched-tool-calls)
13
13
  - [Runtime budgets](#runtime-budgets)
14
+ - [Windows command environment](#windows-command-environment)
14
15
  - [Deletion protection](#deletion-protection)
15
16
  - [MCP connection](#mcp-connection)
16
17
  - [Frontend Skill](#frontend-skill)
@@ -41,7 +42,7 @@ Before plugin 0.2.0, the settings page lives under **Plugins → Plugin configur
41
42
  | Tab | Contents |
42
43
  |---|---|
43
44
  | Home | Preset status and versions, deletion-protection level, MCP switch, connected/past conversation counts |
44
- | Preset configuration | Install, reinstall, rename |
45
+ | Preset configuration | Install, reinstall, rename, Windows command environment |
45
46
  | Context settings | [Runtime budgets](#runtime-budgets) |
46
47
  | Deletion protection | [Deletion protection](#deletion-protection) |
47
48
  | Connection | [MCP connection](#mcp-connection) |
@@ -183,6 +184,22 @@ maxContextBytes: 32768 # Super Code: task-memory context bytes
183
184
  - Older hosts time PTC by busy CPU time; newer hosts by elapsed time. The two aren't comparable.
184
185
  - Raising `maxTasks` or `maxContextBytes` uses more context. The defaults are usually fine.
185
186
 
187
+ ## Windows command environment
188
+
189
+ See [Compatibility](Compatibility.md) for the tested scope.
190
+
191
+ On Windows, Super Code defaults to bundled GNU Bash, BusyBox and GNU grep. Common Bash commands work without installing Git for its shell. Developer tools such as Git, Node and Python still need separate installation. macOS and Linux keep the host's existing environment.
192
+
193
+ Turn off **Preset configuration → Command environment → Use bundled Bash (Windows)** to use the host's PowerShell for new conversations. Changes save automatically; running Agents retain their environment, and child Agents inherit their conversation's shell and tool restrictions. Reinstall an older installed preset to pick up the new shell entry. Selection follows the DSH server's platform, independently of the browser's operating system. These switches are editable only on Windows hosts; other platforms show gray, disabled switches with an **Only available on Windows** hover tooltip.
194
+
195
+ Enable **Also apply to official presets** in the same section to use bundled Bash in Standard, PTC and Create; it is off by default. This choice is independent of the budget and deletion-protection scopes. Turning off the main Bash switch also restores the original shell for new official Agents while retaining the saved scope choice. Minimal keeps its persistent terminal; custom presets are not changed automatically. Official presets can use this setting without an installed Super Code preset copy.
196
+
197
+ The plugin carries its runtime and prepares it offline under `%LOCALAPPDATA%\dsh-super-code\shell` on first use. It does not change the system PATH. Settings shows readiness and preparation errors; turn the switch off to use the host environment after an error. Failed commands are never replayed through a different shell. DSH continues to own approvals, deletion protection and process management.
198
+
199
+ The official Windows sandbox blocks the internal named pipes MSYS requires. Bash calls under `read-only` or `workspace-write` therefore fail explicitly before the command runs. If still needed, the Agent can request DSH approval for the **exact same command** with `sandbox_permissions="danger-full-access"` and a justification. Approval permits only that invocation; rejection, cancellation, or disabled approvals leave it unexecuted. The plugin never changes session permissions or switches shells automatically. If the outer PTC `run_code` program also needs wider access, it requires its own host approval; approving Bash does not authorize that outer program.
200
+
201
+ Programs still run on Windows. BusyBox does not implement every GNU option; `.cmd` quoting and native `/` arguments differ from Linux. MSYS converts some paths automatically. Use `MSYS2_ARG_CONV_EXCL` for an individual invocation that needs literal arguments rather than disabling conversion globally. The bundle does not include `trash`, and permanent deletion is never presented as a recycle-bin operation. On ARM64 Windows, Bash, grep and the MSYS DLLs run through x64 emulation. See [Compatibility](Compatibility.md) for tested scope and the [runtime notes](../../runtime/windows/README.md) for sources and licenses.
202
+
186
203
  ## Deletion protection
187
204
 
188
205
  Under the **Deletion protection** tab. Default is **Relaxed**.
@@ -1 +1 @@
1
- {"version":3,"file":"deletion-command.d.ts","sourceRoot":"","sources":["../../src/core/deletion-command.ts"],"names":[],"mappings":"AAqDA,qGAAqG;AACrG,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,EAAE,UAAU,UAAQ,EAAE,KAAK,SAAI,GAAG,OAAO,CAkDrF"}
1
+ {"version":3,"file":"deletion-command.d.ts","sourceRoot":"","sources":["../../src/core/deletion-command.ts"],"names":[],"mappings":"AAqDA,qGAAqG;AACrG,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,EAAE,UAAU,UAAQ,EAAE,KAAK,SAAI,GAAG,OAAO,CAmDrF"}
@@ -155,7 +155,8 @@ export function deletionCommand(input, powershell = false, depth = 0) {
155
155
  return true;
156
156
  }
157
157
  if (['sh', 'bash', 'zsh', 'dash', 'ksh', 'fish', 'pwsh', 'powershell', 'cmd'].includes(name)) {
158
- const code = args.findIndex(arg => /^-[a-z]*c[a-z]*$/i.test(arg.text) || ['-command', '/c', '/k'].includes(arg.text.toLowerCase()));
158
+ const code = args.findIndex(arg => /^-[a-z]*c[a-z]*$/i.test(arg.text) || ['-command', '/c', '/k'].includes(arg.text.toLowerCase())
159
+ || name === 'cmd' && !powershell && ['//c', '//k'].includes(arg.text.toLowerCase())); // MSYS escapes native /c and /k this way.
159
160
  if (code >= 0 && deletionCommand(args.slice(code + 1).map(arg => arg.text).join(' '), ['pwsh', 'powershell', 'cmd'].includes(name), depth + 1))
160
161
  return true;
161
162
  }
@@ -1 +1 @@
1
- {"version":3,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E,CAAC;uBAC7H,IAAI,KAAK,KAAK,IAAI,CAAC,UAAU,IAAI,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC,CAAC,CAAA,CAAC,0CAA0C;gBACjI,IAAI,IAAI,IAAI,CAAC,IAAI,eAAe,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,MAAM,EAAE,YAAY,EAAE,KAAK,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,KAAK,GAAG,CAAC,CAAC;oBAAE,OAAO,IAAI,CAAA;YAC7J,CAAC;YACD,IAAI,CAAC,MAAM,EAAE,mBAAmB,EAAE,KAAK,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,eAAe,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,UAAU,EAAE,KAAK,GAAG,CAAC,CAAC;gBAAE,OAAO,IAAI,CAAA;YACnJ,MAAK;QACP,CAAC;IACH,CAAC;IACD,OAAO,KAAK,CAAA;AACd,CAAC"}
@@ -0,0 +1,16 @@
1
+ export interface WindowsRuntime {
2
+ readonly root: string;
3
+ readonly bin: string;
4
+ readonly bash: string;
5
+ readonly version: string;
6
+ readonly arch: string;
7
+ }
8
+ /** Decode only the manifest's fixed files, then publish the complete private runtime. */
9
+ export declare function prepareWindowsRuntime(options?: {
10
+ cacheRoot?: string;
11
+ arch?: string;
12
+ source?: string;
13
+ }): Promise<WindowsRuntime>;
14
+ /** Supply only shell-specific overrides; the host still scrubs its ambient credentials. */
15
+ export declare function windowsRuntimeEnvironment(runtime: WindowsRuntime, supplied?: NodeJS.ProcessEnv): NodeJS.ProcessEnv;
16
+ //# sourceMappingURL=windows-runtime.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"windows-runtime.d.ts","sourceRoot":"","sources":["../../src/core/windows-runtime.ts"],"names":[],"mappings":"AAUA,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;IACxB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;CACtB;AA6CD,yFAAyF;AACzF,wBAAsB,qBAAqB,CAAC,OAAO,GAAE;IAAE,SAAS,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CAAO,GAAG,OAAO,CAAC,cAAc,CAAC,CAyCzI;AAED,2FAA2F;AAC3F,wBAAgB,yBAAyB,CAAC,OAAO,EAAE,cAAc,EAAE,QAAQ,GAAE,MAAM,CAAC,UAAe,GAAG,MAAM,CAAC,UAAU,CActH"}
@@ -0,0 +1,123 @@
1
+ /** Prepare the packaged Windows shell without an installer or changes to the system PATH. */
2
+ import { createHash } from 'node:crypto';
3
+ import { gunzipSync } from 'node:zlib';
4
+ import { homedir } from 'node:os';
5
+ import { join, isAbsolute } from 'node:path';
6
+ import { fileURLToPath } from 'node:url';
7
+ import { mkdir, mkdtemp, readFile, writeFile, link, lstat, rename, rm } from 'node:fs/promises';
8
+ const packagedRoot = fileURLToPath(new URL('../../runtime/windows/', import.meta.url));
9
+ const digest = (bytes) => createHash('sha256').update(bytes).digest('hex');
10
+ async function manifestAt(source) {
11
+ const value = JSON.parse(await readFile(join(source, 'manifest.json'), 'utf8'));
12
+ if (!value || typeof value !== 'object' || typeof value.id !== 'string' || !/^[a-z0-9-]{1,80}$/.test(value.id)
13
+ || !Array.isArray(value.files) || !Array.isArray(value.applets)
14
+ || value.files.length > 20 || value.applets.length > 256
15
+ || value.files.some(file => !file || typeof file !== 'object'
16
+ || typeof file.name !== 'string' || !/^[a-z0-9.-]+\.(exe|dll)$/.test(file.name)
17
+ || typeof file.asset !== 'string' || !/^[a-z0-9.-]+\.gz$/.test(file.asset)
18
+ || !['all', 'x64', 'arm64'].includes(file.arch) || !/^[a-f0-9]{64}$/.test(file.sha256)
19
+ || !Number.isSafeInteger(file.bytes) || file.bytes <= 0 || file.bytes > 16 * 1024 * 1024)
20
+ || new Set(value.applets).size !== value.applets.length
21
+ || value.applets.some(name => typeof name !== 'string' || !/^[a-z0-9_-]+$/.test(name) || ['bash', 'sh', 'busybox'].includes(name))) {
22
+ throw new Error('Invalid bundled Bash manifest');
23
+ }
24
+ return value;
25
+ }
26
+ async function verify(root, files, applets) {
27
+ const directory = await lstat(root);
28
+ if (!directory.isDirectory() || directory.isSymbolicLink())
29
+ throw new Error('Unsafe bundled Bash cache');
30
+ const bin = join(root, 'usr', 'bin');
31
+ for (const directoryPath of [join(root, 'usr'), bin, join(root, 'tmp')]) {
32
+ const stat = await lstat(directoryPath);
33
+ if (!stat.isDirectory() || stat.isSymbolicLink())
34
+ throw new Error('Unsafe bundled Bash directory');
35
+ }
36
+ for (const file of files) {
37
+ const path = join(bin, file.name), stat = await lstat(path);
38
+ if (!stat.isFile() || stat.isSymbolicLink() || stat.size !== file.bytes || digest(await readFile(path)) !== file.sha256) {
39
+ throw new Error(`Bundled Bash file failed verification: ${file.name}`);
40
+ }
41
+ }
42
+ const busybox = await lstat(join(bin, 'busybox.exe'), { bigint: true }), bash = await lstat(join(bin, 'bash.exe'), { bigint: true });
43
+ for (const name of [...applets, 'sh']) {
44
+ const target = name === 'sh' ? bash : busybox, stat = await lstat(join(bin, name + '.exe'), { bigint: true });
45
+ if (!stat.isFile() || stat.isSymbolicLink() || stat.ino !== target.ino || stat.dev !== target.dev) {
46
+ throw new Error(`Invalid bundled Bash command entry: ${name}`);
47
+ }
48
+ }
49
+ }
50
+ /** Decode only the manifest's fixed files, then publish the complete private runtime. */
51
+ export async function prepareWindowsRuntime(options = {}) {
52
+ const arch = options.arch ?? process.arch;
53
+ if (!['x64', 'arm64'].includes(arch))
54
+ throw new Error(`Bundled Bash does not support Windows ${arch}`);
55
+ const source = options.source ?? packagedRoot, manifest = await manifestAt(source);
56
+ const files = manifest.files.filter(file => file.arch === 'all' || file.arch === arch);
57
+ if (new Set(files.map(file => file.name)).size !== files.length
58
+ || !['bash.exe', 'msys-2.0.dll', 'busybox.exe'].every(name => files.some(file => file.name === name))) {
59
+ throw new Error('Incomplete bundled Bash payload');
60
+ }
61
+ const cache = options.cacheRoot ?? join(process.env.LOCALAPPDATA || join(homedir(), 'AppData', 'Local'), 'dsh-super-code', 'shell');
62
+ if (!isAbsolute(cache))
63
+ throw new Error('Bundled Bash cache must be an absolute path');
64
+ await mkdir(cache, { recursive: true, mode: 0o700 });
65
+ const root = join(cache, manifest.id + '-' + arch), bin = join(root, 'usr', 'bin');
66
+ const runtime = { root, bin, bash: join(bin, 'bash.exe'), version: manifest.id, arch };
67
+ try {
68
+ await lstat(root);
69
+ }
70
+ catch (error) {
71
+ if (error.code !== 'ENOENT')
72
+ throw error;
73
+ const staging = await mkdtemp(join(cache, '.prepare-'));
74
+ try {
75
+ const target = join(staging, 'usr', 'bin');
76
+ await mkdir(target, { recursive: true });
77
+ await mkdir(join(staging, 'tmp'));
78
+ for (const file of files) {
79
+ const bytes = gunzipSync(await readFile(join(source, file.asset)), { maxOutputLength: file.bytes });
80
+ if (bytes.length !== file.bytes || digest(bytes) !== file.sha256)
81
+ throw new Error(`Corrupt bundled Bash payload: ${file.name}`);
82
+ await writeFile(join(target, file.name), bytes, { flag: 'wx', mode: 0o700 });
83
+ }
84
+ for (const name of manifest.applets)
85
+ await link(join(target, 'busybox.exe'), join(target, name + '.exe'));
86
+ await link(join(target, 'bash.exe'), join(target, 'sh.exe'));
87
+ await verify(staging, files, manifest.applets);
88
+ try {
89
+ await rename(staging, root);
90
+ }
91
+ catch (error) {
92
+ // Another process may have completed the same immutable runtime first.
93
+ if (!['EEXIST', 'ENOTEMPTY', 'EPERM'].includes(error.code ?? ''))
94
+ throw error;
95
+ await verify(root, files, manifest.applets);
96
+ }
97
+ }
98
+ finally {
99
+ await rm(staging, { recursive: true, force: true });
100
+ }
101
+ }
102
+ await verify(root, files, manifest.applets);
103
+ return runtime;
104
+ }
105
+ /** Supply only shell-specific overrides; the host still scrubs its ambient credentials. */
106
+ export function windowsRuntimeEnvironment(runtime, supplied = {}) {
107
+ const pathKey = Object.keys(supplied).sort().find(key => key.toUpperCase() === 'PATH');
108
+ const parentKey = Object.keys(process.env).sort().find(key => key.toUpperCase() === 'PATH');
109
+ const existing = pathKey ? supplied[pathKey] : parentKey ? process.env[parentKey] : '';
110
+ const env = { ...supplied };
111
+ for (const key of new Set([...Object.keys(process.env), ...Object.keys(supplied)])) {
112
+ if (['PATH', 'BASH_ENV', 'ENV', 'SHELLOPTS', 'BASHOPTS'].includes(key.toUpperCase()) || key.toUpperCase().startsWith('BASH_FUNC_'))
113
+ env[key] = undefined;
114
+ }
115
+ const overrides = { PATH: runtime.bin + ';' + (existing ?? ''), BB_GLOBBING: '0', BB_OVERRIDE_APPLETS: 'bash,sh',
116
+ TERM: 'dumb', BASH_ENV: '', ENV: '' };
117
+ // Newer hosts fold Windows aliases in insertion order before Node sorts keys.
118
+ // Updating an existing property does not move it after a later alias/tombstone.
119
+ for (const key of Object.keys(overrides))
120
+ delete env[key];
121
+ return { ...env, ...overrides };
122
+ }
123
+ //# sourceMappingURL=windows-runtime.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"windows-runtime.js","sourceRoot":"","sources":["../../src/core/windows-runtime.ts"],"names":[],"mappings":"AAAA,6FAA6F;AAC7F,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAA;AACtC,O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,CAAC,GAAG,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE,GAAG,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC;QACnF,IAAI,CAAC,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,WAAW,EAAE,UAAU,CAAC,CAAC,QAAQ,CAAC,GAAG,CAAC,WAAW,EAAE,CAAC,IAAI,GAAG,CAAC,WAAW,EAAE,CAAC,UAAU,CAAC,YAAY,CAAC;YAAE,GAAG,CAAC,GAAG,CAAC,GAAG,SAAS,CAAA;IAC1J,CAAC;IACD,MAAM,SAAS,GAAG,EAAE,IAAI,EAAE,OAAO,CAAC,GAAG,GAAG,GAAG,GAAG,CAAC,QAAQ,IAAI,EAAE,CAAC,EAAE,WAAW,EAAE,GAAG,EAAE,mBAAmB,EAAE,SAAS;QAC9G,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,CAAA;IACvC,8EAA8E;IAC9E,gFAAgF;IAChF,KAAK,MAAM,GAAG,IAAI,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC;QAAE,OAAO,GAAG,CAAC,GAAG,CAAC,CAAA;IACzD,OAAO,EAAE,GAAG,GAAG,EAAE,GAAG,SAAS,EAAE,CAAA;AACjC,CAAC"}
@@ -3,6 +3,7 @@ import type { Context } from '@deepseek-ai/cordis';
3
3
  import type { SettingsScope } from '@deepseek-ai/dsh-settings';
4
4
  import { TypertRemoteService } from '@deepseek-ai/dsh-typert-protocol';
5
5
  import type { Configuration } from './budgets.js';
6
+ import type { ShellStatus } from './windows-shell.js';
6
7
  interface SettingsWriter {
7
8
  readonly writable: boolean;
8
9
  describe(options: {
@@ -14,6 +15,7 @@ interface SettingsWriter {
14
15
  replace(namespace: string, config: object, revision: number): Promise<void>;
15
16
  }
16
17
  export interface BudgetSettingsSnapshot {
18
+ readonly shell?: ShellStatus;
17
19
  readonly configuration: Configuration;
18
20
  readonly revision: number;
19
21
  readonly writable: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"budget-settings.d.ts","sourceRoot":"","sources":["../../src/dsh/budget-settings.ts"],"names":[],"mappings":"AAAA,0FAA0F;AAC1F,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAClD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAC9D,OAAO,EAAU,mBAAmB,EAAE,MAAM,kCAAkC,CAAA;AAE9E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AAKjD,UAAU,cAAc;IACtB,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAA;IAC1B,QAAQ,CAAC,OAAO,EAAE;QAAE,aAAa,EAAE,OAAO,CAAA;KAAE,GAAG;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;IACjF,OAAO,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;CAC5E;AAED,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,aAAa,EAAE,aAAa,CAAA;IACrC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAA;IACzB,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAA;IAC1B,QAAQ,CAAC,eAAe,EAAE,MAAM,GAAG,KAAK,CAAA;IACxC,QAAQ,CAAC,QAAQ,EAAE,aAAa,CAAA;CACjC;AACD,MAAM,MAAM,oBAAoB,GAAG;IAAE,QAAQ,CAAC,EAAE,EAAE,IAAI,CAAC;IAAC,QAAQ,CAAC,QAAQ,EAAE,sBAAsB,CAAA;CAAE,GAC/F;IAAE,QAAQ,CAAC,EAAE,EAAE,KAAK,CAAC;IAAC,QAAQ,CAAC,KAAK,EAAE,SAAS,GAAG,UAAU,GAAG,WAAW,GAAG,iBA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O,CAAC,QAAQ,CAAC,QAAQ;IAAkB,OAAO,CAAC,QAAQ,CAAC,KAAK;IAC3E,OAAO,CAAC,QAAQ,CAAC,UAAU;IAAwB,OAAO,CAAC,QAAQ,CAAC,GAAG;IACvE,OAAO,CAAC,QAAQ,CAAC,QAAQ;gBAFE,QAAQ,EAAE,cAAc,EAAmB,KAAK,EAAE,IAAI,CAAC,aAAa,CAAC,aAAa,CAAC,EAAE,KAAK,CAAC,EACrG,UAAU,EAAE,MAAM,MAAM,GAAG,KAAK,EAAmB,GAAG,GAAE,MAAkB,EAC1E,QAAQ,GAAE,MAAM,aAA0B;IAE7D,IAAI,IAAI,sBAAsB;IAOxB,IAAI,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,oBAAoB,CAAC;IAgBtE,KAAK,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,oBAAoB,CAAC;YAE9C,OAAO;CAUtB;AAED,qBAAa,gBAAiB,SAAQ,mBAAmB;IAC7B,OAAO,CAAC,QAAQ,CAAC,QAAQ;gBAAvC,GAAG,EAAE,OAAO,EAAmB,QAAQ,EAAE,cAAc;IAEnE,UAAU,IAAI,sBAAsB;IAE9B,UAAU,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,oBAAoB,CAAC;IAK5E,WAAW,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,oBAAoB,CAAC;CAInE;AAED,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,OAAO,EAAE,MAAM,EAAE,aAAa,GAAG,IAAI,CA8C7E"}
@@ -127,9 +127,15 @@ let SuperCodeBudgets = (() => {
127
127
  super(ctx, 'superCodeBudgets');
128
128
  this.settings = settings;
129
129
  }
130
- readConfig() { return this.settings.read(); }
131
- saveConfig(content, expected) { return this.settings.save(content, expected); }
132
- resetConfig(expected) { return this.settings.reset(expected); }
130
+ readConfig() { return { ...this.settings.read(), shell: this.ctx.get('superCodeShell')?.status() }; }
131
+ async saveConfig(content, expected) {
132
+ const result = await this.settings.save(content, expected);
133
+ return result.ok ? { ...result, snapshot: { ...result.snapshot, shell: this.ctx.get('superCodeShell')?.status() } } : result;
134
+ }
135
+ async resetConfig(expected) {
136
+ const result = await this.settings.reset(expected);
137
+ return result.ok ? { ...result, snapshot: { ...result.snapshot, shell: this.ctx.get('superCodeShell')?.status() } } : result;
138
+ }
133
139
  };
134
140
  })();
135
141
  export { SuperCodeBudgets };
@@ -1 +1 @@
1
- {"version":3,"file":"budget-settings.js","sourceRoot":"","sources":["../../src/dsh/budget-settings.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,OAAO,EAAE,MAAM,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAA;AAC9E,OAAO,EAAE,2BAA2B,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAA;AAEtG,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAA;AAEzE,MAAM,SAAS,GAAG,oBAAoB,CAAA;AAkBtC,gFAAgF;AAChF,SAAS,iBAAiB,CAAC,MAAqB,EAAE,UAA0B;IAC1E,MAAM,UAAU,GAAG,UAAU,KAAK,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,UAAU,EACnE,MAAM,CAAC,OAAO,EAAE,eAAe,IAAI,IAAI,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,OAAO,EAAE,YAAY,IAAI,CAAC,CAAC,CAAC,CAAA;IACzF,OAAO;QACL,sBAAsB,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE,eAAe,EAAE,KAAK,EAAE,GAAG,MAAM;QAC9E,OAAO,EAAE,EAAE,aAAa,EAAE,QAAQ,EAAE,cAAc,EAAE,GAAG,EAAE,WAAW,EAAE,IAAI;YACxE,gBAAgB,EAAE,IAAI,E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| 'relaxed' | 'strict';
22
22
  export interface Configuration {
23
+ readonly windowsBash?: boolean;
24
+ readonly windowsBashForOfficialPresets?: boolean;
23
25
  readonly applyToOfficialPresets?: boolean;
24
26
  readonly deletionProtection?: DeletionProtectionMode | boolean;
25
27
  readonly deletionProtectionForOfficialPresets?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"budgets.d.ts","sourceRoot":"","sources":["../../src/dsh/budgets.ts"],"names":[],"mappings":"AAAA,0EAA0E;AAC1E,OAAO,CAAC,MAAM,0BAA0B,CAAA;AACxC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAIlD,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,WAAW,CAAC;QACpB,UAAU,IAAI,CAAC,CAAC,GAAG,GAAG;YAAI,QAAQ,CAAC,EAAE,OAAO,CAAA;SAAE;KAC/C;CACF;AAED,MAAM,WAAW,OAAO;IACtB,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAA;IAC1C,QAAQ,CAAC,cAAc,CAAC,EAAE,MAAM,CAAA;IAChC,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAA;IAC7B,QAAQ,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAA;IAClC,QAAQ,CAAC,iBAAiB,CAAC,EAAE,MAAM,CAAA;IACnC,QAAQ,CAAC,kBAAkB,CAAC,EAAE,MAAM,CAAA;IACpC,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,CAAA;IAC9B,QAAQ,CAAC,eAAe,CAAC,EAAE,MAAM,CAAA;CAClC;AAED,MAAM,MAAM,sBAAsB,GAAG,KAAK,GAAG,SAAS,GAAG,QAAQ,CAAA;AAEjE,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,sBAAsB,CAAC,EAAE,OAAO,CAAA;IACzC,QAAQ,CAAC,kBAAkB,CAAC,EAAE,sBAAsB,GAAG,OAAO,CAAA;IAC9D,QAAQ,CAAC,oCAA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