Files
deepseek-harness/packages/shell
Chinesezjc 553b8c35da test(pwsh-local): accept graceful SIGTERM exit as service-disposal death
On Linux, pwsh may trap SIGTERM and exit cleanly when the subprocess service
is disposed, so the handle status is 'completed' rather than 'killed'. The
test already proved the process tree is gone via kill(pid,0); both statuses
satisfy the contract.
2026-08-25 22:10:31 +08:00
..
2026-08-21 19:48:58 +08:00
2026-08-21 19:48:58 +08:00
2026-08-21 19:48:58 +08:00
2026-08-21 19:48:58 +08:00

shell/ — bash capability family

English | 中文

The capability family spans the canonical executor seam, its implementations, the shared shell environment, and the model-facing tools. All are product packages.

Package Role ctx key
shell/ Defines the executor contract shared by Service Providers and Consumers. ctx.shell
bash-local/ Executes commands through the local subprocess service. (registers ctx.shell)
bash-sandbox/ Applies the configured sandbox backend before local execution. (registers ctx.shell)
pwsh-local/ Executes PowerShell commands with Windows-specific process behavior. (registers ctx.shell)
shell-env/ Provides the managed DSH_* environment shared by shell tools. ctx.shellEnv
tool-bash/ Exposes Bash execution and background-job integration to the model. (registers on ctx.tools)
tool-pwsh/ Exposes PowerShell execution to the model. (registers on ctx.tools)

A profile layer selects one executor implementation and the model-facing tools it needs. A sandboxed composition also selects a ctx.sandbox provider; the base bundle owns the shipped wiring.

The subsystem reference — request/spec vocabulary, results, background processes, the service, and events — is docs/subsystems/shell.md.