deepseek-harness/docs
Tianyi Cui 4f3a47d792 fix(terminal-bash): handle terminal protocol replies
Unix PowerShell emits cursor-position requests while PSReadLine starts and
redraws prompts. The subprocess PTY is only a transport, so those requests
went unanswered. Startup could then accept the dsh> literal echoed from its
setup source as a rendered prompt, and later sends were lost or clipped.

Feed raw PTY output into a zero-scrollback @xterm/headless state machine and
write generated replies through the provider-owned terminal handle. Drain
replies before caller input, repeat foreground inspection when terminal
activity races the sample, and retain send ownership until parser and reply
work quiesce. Coalesce raw chunks behind one active parser write so large
Windows output cannot create thousands of queued parse callbacks.

Publish pwsh only from backend stdin_read evidence and start one timeoutMs
deadline before the complete startup retry loop, so inferred-idle follow-ups
cannot reset the bound. Dispose the emulator when the
terminal or cleanup fails. Document the fail-loud ConstrainedLanguage path
and add focused coverage for split queries, reply ordering, foreground
resampling, failure containment, batching, timeout, and disposal.
2026-08-23 19:24:50 +08:00
..
cookbook fix(client): align domain split with repository gates 2026-08-23 16:28:19 +08:00
cordis-api docs(i18n): localize Chinese internal links 2026-08-18 19:00:37 +08:00
cordis-tutorial docs(i18n): localize Chinese internal links 2026-08-18 19:00:37 +08:00
i18n Merge pull request #2560 from deepseek-harness/codex/add-security-policy 2026-08-23 11:10:52 +08:00
postmortem docs(i18n): localize Chinese internal links 2026-08-18 19:00:37 +08:00
subsystems fix(client): align domain split with repository gates 2026-08-23 16:28:19 +08:00
user refactor(sdk): name the private Python runtime carrier explicitly 2026-08-23 10:59:01 +08:00
agent-lifecycle.i18n.yaml docs(i18n): localize Chinese internal links 2026-08-18 19:00:37 +08:00
agent-lifecycle.md refactor: apply repository naming contract 2026-08-13 00:54:38 +08:00
agent-lifecycle.zh.md docs(i18n): localize Chinese internal links 2026-08-18 19:00:37 +08:00
AGENTS.md update architeture.md 2026-08-12 21:01:11 +08:00
api-gateway.i18n.yaml fix(client): align domain split with repository gates 2026-08-23 16:28:19 +08:00
api-gateway.md fix(client): align domain split with repository gates 2026-08-23 16:28:19 +08:00
api-gateway.zh.md fix(client): align domain split with repository gates 2026-08-23 16:28:19 +08:00
architecture.i18n.yaml chore(repo): enforce dsh as the only Node application launcher 2026-08-23 10:59:01 +08:00
architecture.md chore(repo): enforce dsh as the only Node application launcher 2026-08-23 10:59:01 +08:00
architecture.zh.md chore(repo): enforce dsh as the only Node application launcher 2026-08-23 10:59:01 +08:00
capability-seams.i18n.yaml docs: synchronize controller transport documentation 2026-08-23 16:16:04 +08:00
capability-seams.md docs: synchronize controller transport documentation 2026-08-23 16:16:04 +08:00
capability-seams.zh.md docs: synchronize controller transport documentation 2026-08-23 16:16:04 +08:00
config-catalog.i18n.yaml fix(terminal-bash): handle terminal protocol replies 2026-08-23 19:24:50 +08:00
config-catalog.md fix(terminal-bash): handle terminal protocol replies 2026-08-23 19:24:50 +08:00
config-catalog.zh.md fix(terminal-bash): handle terminal protocol replies 2026-08-23 19:24:50 +08:00
cordis-primer.i18n.yaml docs(i18n): localize Chinese internal links 2026-08-18 19:00:37 +08:00
cordis-primer.md refactor: apply repository naming contract 2026-08-13 00:54:38 +08:00
cordis-primer.zh.md docs(i18n): localize Chinese internal links 2026-08-18 19:00:37 +08:00
deepseek-llm-api-wire-extensions.i18n.yaml refactor(session): send canonical events directly 2026-08-23 00:22:41 +08:00
deepseek-llm-api-wire-extensions.md refactor(session): send canonical events directly 2026-08-23 00:22:41 +08:00
deepseek-llm-api-wire-extensions.zh.md refactor(session): send canonical events directly 2026-08-23 00:22:41 +08:00
defensive-patterns.i18n.yaml docs(i18n): localize Chinese internal links 2026-08-18 19:00:37 +08:00
defensive-patterns.md docs: add junction-safe unlink rule to defensive patterns 2026-08-13 15:16:12 +08:00
defensive-patterns.zh.md docs(i18n): localize Chinese internal links 2026-08-18 19:00:37 +08:00
development.i18n.yaml Merge remote-tracking branch 'origin/master' into codex/localized-chinese-doc-links 2026-08-20 19:15:33 +08:00
development.md feat(build): bind client artifacts to build profiles 2026-08-19 18:21:27 +08:00
development.zh.md Merge remote-tracking branch 'origin/master' into codex/localized-chinese-doc-links 2026-08-20 19:15:33 +08:00
event-producer-consumer.i18n.yaml docs: synchronize controller transport documentation 2026-08-23 16:16:04 +08:00
event-producer-consumer.md docs: synchronize controller transport documentation 2026-08-23 16:16:04 +08:00
event-producer-consumer.zh.md docs: synchronize controller transport documentation 2026-08-23 16:16:04 +08:00
glossary.i18n.yaml docs: capitalize Service Provider across repository 2026-08-13 13:31:30 +08:00
glossary.md docs: capitalize Service Provider across repository 2026-08-13 13:31:30 +08:00
glossary.zh.md docs: capitalize Service Provider across repository 2026-08-13 13:31:30 +08:00
graph-atlas.i18n.yaml fix(i18n): bind localized links to active pairs 2026-08-19 02:26:57 +08:00
graph-atlas.md refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
graph-atlas.zh.md fix(i18n): bind localized links to active pairs 2026-08-19 02:26:57 +08:00
module-graph.i18n.yaml fix(client): align domain split with repository gates 2026-08-23 16:28:19 +08:00
module-graph.md fix(client): align domain split with repository gates 2026-08-23 16:28:19 +08:00
module-graph.zh.md fix(client): align domain split with repository gates 2026-08-23 16:28:19 +08:00
persistence-catalog.i18n.yaml docs: synchronize controller transport documentation 2026-08-23 16:16:04 +08:00
persistence-catalog.md docs: synchronize controller transport documentation 2026-08-23 16:16:04 +08:00
persistence-catalog.zh.md docs: synchronize controller transport documentation 2026-08-23 16:16:04 +08:00
rescope.i18n.yaml docs(i18n): localize Chinese internal links 2026-08-18 19:00:37 +08:00
rescope.md build(vendor): add the @deepseek-ai rescope codemod, its mapping doc, and its Agent Note 2026-08-10 22:04:10 +08:00
rescope.zh.md docs(i18n): localize Chinese internal links 2026-08-18 19:00:37 +08:00
testing.i18n.yaml refactor(sdk): name the private Python runtime carrier explicitly 2026-08-23 10:59:01 +08:00
testing.md refactor(sdk): name the private Python runtime carrier explicitly 2026-08-23 10:59:01 +08:00
testing.zh.md refactor(sdk): name the private Python runtime carrier explicitly 2026-08-23 10:59:01 +08:00
tool-catalog.i18n.yaml refactor(image): remove region reads 2026-08-21 15:06:24 +08:00
tool-catalog.md refactor(image): remove region reads 2026-08-21 15:06:24 +08:00
tool-catalog.zh.md refactor(image): remove region reads 2026-08-21 15:06:24 +08:00
tool-execution-pipeline.i18n.yaml refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
tool-execution-pipeline.md refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
tool-execution-pipeline.zh.md docs: make technical prose concrete 2026-08-10 16:34:20 +08:00
web-styling.i18n.yaml docs(i18n): localize Chinese internal links 2026-08-18 19:00:37 +08:00
web-styling.md
web-styling.zh.md docs(i18n): localize Chinese internal links 2026-08-18 19:00:37 +08:00