mirror of
https://github.com/deepseek-ai/deepseek-harness
synced 2026-08-15 21:04:50 +00:00
The linear replay carried old-lineage content over parent-owned files; this checkpoint restores them and adapts the branch to the parent's post-rebase seam: - restore all pty/lsp/subprocess/code-runtime surfaces to the parent's exact content (this branch claims none of them) and drop the net-zero code-runtime-e2b/pty-e2b/lsp-e2b residue and its registrations - widen serializeRemoteEnvironment to the seam's NodeJS.ProcessEnv tombstone contract: an explicit undefined removes an ambient entry - migrate the two E2B fixture Agent stubs to the Inbox-model interface and Session.create - re-apply the branch's gen-doc-graphs roles, THIRD_PARTY_NOTICES e2b row, and packages/README group row (trimmed to the doc budget); regenerate catalogs and re-record bilingual pairings
1.0 KiB
1.0 KiB
pty/:持久 PTY 能力家族
English | 中文
PTY 的全称是 Pseudo-Terminal(伪终端)。这项能力提供持久且限定所有者范围的终端会话,适用于需要跨工具调用保留状态或使用交互式 stdin 的工作流。PTY 是单次 bash 与文件系统工具的补充,不会取代后两者更严格的逐操作契约。
| 包 | 职责 | ctx 键 |
|---|---|---|
pty(@deepseek-ai/dsh-pty) |
后端注册表、品牌化 id、精确的 Agent 所有权、会话操作与等待完成的清理 | ctx.pty |
pty-local(@deepseek-ai/dsh-pty-local) |
ctx.subprocess.spawnTerminal 之上的 shell 后端:就绪检测、有界终端状态、沙箱策略与会话操作 |
注册到 ctx.pty |
tool-pty(@deepseek-ai/dsh-tool-pty) |
6 个面向模型的工具,并为后台发送集成通用任务 | 注册到 ctx.tools |
设计与暂缓边界记录在持久 PTY Agent Note 中。