Merge pull request #2417 from deepseek-harness/fix/pwsh-terminal-overlay-dup

fix(web): resolve the pwsh-terminal overlay duplicate-loader entry
This commit is contained in:
Chinesezjc
2026-08-17 12:10:31 +08:00
committed by GitHub
4 changed files with 136 additions and 10 deletions

View File

@@ -1,20 +1,30 @@
# The pwsh terminal-card lane swaps the shipped bash stack for the PowerShell
# twin: the bash executor row is disabled (patches cannot rename a row — `name`
# is a guard) and the pwsh executor + tool are inserted. The permission service
# refuses an unconfined executor by design (presets bundle a sandbox mode), so
# its row is disabled too — this lane renders a seeded session, never a
# permission decision. The seeded scenario renders the logged pwsh call/result
# through the real tools on replay; no command executes, but the composition
# must boot the pwsh executor, so the lane skips on hosts without a usable
# `pwsh`.
# twin: the bash executor row is disabled, the pwsh executor is inserted, and
# the host tool-pwsh row is enabled by id. The pwsh-sandbox row is disabled
# too so the inserted pwsh-local is the lone executor on every platform. The
# permission service refuses an unconfined executor by design (presets bundle
# a sandbox mode), so its row is disabled as well — this lane renders a seeded
# session, never a permission decision. The seeded scenario renders the logged
# pwsh call/result through the real tools on replay; no command executes, but
# the composition must boot the pwsh executor, so the lane skips on hosts
# without a usable `pwsh`.
- id: bash-sandbox
name: '@deepseek-ai/dsh-bash-sandbox'
disabled: true
- id: pwsh-sandbox
name: '@deepseek-ai/dsh-pwsh-sandbox'
disabled: true
- id: permission
name: '@deepseek-ai/dsh-permission-presets'
disabled: true
- insert:
- id: pwsh-local
name: '@deepseek-ai/dsh-pwsh-local'
- id: tool-pwsh
name: '@deepseek-ai/dsh-tool-pwsh'
# tool-pwsh already exists in the shipped composition: the base bundle declares
# it platform-gated on every platform, and the web-app overlay disables it for
# surfaces that use presets. So this lane enables it by id rather than
# inserting a second row to the same id.
- id: tool-pwsh
name: '@deepseek-ai/dsh-tool-pwsh'
disabled: false