|
|
1 месяц назад | |
|---|---|---|
| .. | ||
| process | 1 месяц назад | |
| process-local | 1 месяц назад | |
| README.md | 1 месяц назад | |
The shared home for spawning managed child-process groups: fully-specified spawn specs, bounded tail-keep output with spill files, credential-scrubbed environments, offset-based incremental reads, and SIGTERM→grace→SIGKILL group kills. Command defaulting, shell semantics, deadlines, and presentation stay with consumers — the bash executor family is the first and owning consumer. See the process-manager seam Agent Note.
| Package | ctx key | Role |
|---|---|---|
process (@deepseek-ai/dsh-process) |
ctx.processes |
The seam: abstract ProcessManager.spawn(spec), the fully-explicit ProcessSpawnSpec, ProcessHandle with offset-based readers, and the shared DSH_* managed-environment and CollectedOutput vocabulary |
process-local (@deepseek-ai/dsh-process-local) |
— | The local implementation: detached process groups, tail-keep truncation with bounded private spill files, the credential scrub and DSH_* merge order, kill escalation, and kill-and-join disposal |
The manager owns process lifetime across consumer reloads; consumers own what a process means (a bash command, a future non-shell runner) and every default that shapes one.