Files
deepseek-harness/packages/subprocess/README.zh.md
T
Tianyi Cui a238c4b064 docs(subprocess): bring the zh side of the subprocess pairs along after the master merge
Master made bilingual pairing mandatory repo-wide; the subprocess family
docs get their zh counterparts: new pairs for the core-data subprocess
catalog and the three subprocess READMEs (switcher lines added on the en
side), and minimal zh updates for the packages/bash/bash-local README
deltas this PR made, with pairing records recorded.
2026-07-26 22:00:38 +08:00

1.4 KiB
Raw Blame History

subprocess/:进程管理能力家族

English | 中文

spawn 受管子进程组的共用归属位置:完全显式的 spawn spec、附带 spill 文件的有界尾部保留输出、经凭据清除的环境、基于偏移量的增量读取,以及 SIGTERM→宽限期→SIGKILL 的进程组终止。命令默认值补全、shell 语义、deadline 与呈现留在消费方:bash 执行器家族是第一个消费方,也拥有上述各项。参见进程管理器 seam Agent Noteagent 决策记录)

包(package ctx 键 角色
subprocess@deepseek-ai/dsh-subprocess ctx.subprocess seam 本体:抽象的 SubprocessService.spawn(spec)、完全显式的 SubprocessSpawnSpec、携带基于偏移量读取器的 SubprocessHandle,以及共享的 DSH_* 受管环境与 CollectedOutput 词汇
subprocess-local@deepseek-ai/dsh-subprocess-local 本地实现:detached 进程组、附带有界私有 spill 文件的尾部保留截断、凭据清除与 DSH_* 合并次序、kill 升级,以及先终止再等待退出的 dispose(资源释放)

服务拥有跨消费方重载的进程存续期;消费方拥有一个进程的含义(一条 bash 命令、未来的非 shell 运行器)以及塑造它的每一项默认值。