deepseek-harness/packages/pty
Wenlu Wang 61e46f077e Merge pull request #1362 from deepseek-harness/fix/landlock-runner-failure-classification
Fix false sandbox failures from Landlock partial-enforcement notices
2026-08-05 13:59:47 +08:00
..
pty refactor(session): route construction through Session.create 2026-08-05 11:56:14 +08:00
pty-local Merge pull request #1362 from deepseek-harness/fix/landlock-runner-failure-classification 2026-08-05 13:59:47 +08:00
tool-bash-persistent Merge pull request #1362 from deepseek-harness/fix/landlock-runner-failure-classification 2026-08-05 13:59:47 +08:00
tool-pty Merge pull request #1362 from deepseek-harness/fix/landlock-runner-failure-classification 2026-08-05 13:59:47 +08:00
README.i18n.yaml docs(i18n): proofread active Chinese documentation 2026-08-04 17:36:14 +08:00
README.md feat(tools): add persistent bash and str-replace editor 2026-07-29 14:12:27 +08:00
README.zh.md docs(i18n): proofread active Chinese documentation 2026-08-04 17:36:14 +08:00

pty/ — persistent PTY capability family

English | 中文

PTY stands for Pseudo-Terminal(伪终端). This capability provides persistent, owner-scoped terminal sessions for workflows that require state across tool calls or interactive stdin. PTY complements the one-shot bash and filesystem tools; it does not replace their stronger per-operation contracts.

Package Role ctx key
pty (@deepseek-ai/dsh-pty) Backend registry, branded ids, exact-Agent ownership, session operations, and awaited cleanup ctx.pty
pty-local (@deepseek-ai/dsh-pty-local) Local node-pty backend, readiness detection, bounded terminal state, sandboxing, and process-session supervision registers on ctx.pty
tool-pty (@deepseek-ai/dsh-tool-pty) Six model-facing tools and generic task integration for background sends registers on ctx.tools
tool-bash-persistent (@deepseek-ai/dsh-tool-bash-persistent) One model-facing bash backed by an owner-scoped reusable PTY shell consumes ctx.pty, registers on ctx.tools

The design and deferred boundaries live in the persistent PTY Agent Note.