dsh-ptc-plus
Session-bound persistent TypeScript REPL for DSH PTC mode: bindings and imports stay live across run_code calls, edit_run_code replaces one line without resending the block, module import/export syntax is adapted via AST rewriting, and durable bindings are restored from the session journal after a cold restart.
把 DSH PTC 模式的顶层 run_code 变成会话绑定的持久 TypeScript REPL:变量与导入在多次 run_code 调用间保持可用,edit_run_code 只替换一行而无需重发整段,import/export 模块语法经 AST 改写适配,持久绑定在冷重启后由会话日志恢复。
How to install
dsh plugin add dsh-ptc-plus About
--- **PTC Plus gives DSH PTC mode a session-bound persistent TypeScript REPL.** Every run_code continues in the same session. Variables, imports, and results from one run_code are still available in the next one. [!NOTE] Community plugin, no affiliation with or endorsement from DeepSeek or DSH. [!IMPORTANT] Built for danger-full-access: direct Node.js and OS access with no extra sandbox. Use it only where that permission scope is acceptable. *The settings card exposes live configuration and the enabled kill switch.* What default PTC mode gets wrong DSH PTC mode starts every run_code in a fresh…
Recommendation signals
Meta
- License
- MIT
- Language
- JavaScript
- GitHub stars
- 8
- mo. downloads
- 1.2K
- Last push
- 2026-09-24
- Created
- 2026-08-20
Basic safety check
- Findings
- None
- Sources
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- Topics
- cordis-plugin, deepseek-harness, dsh, dsh-plugin, ptc, ptc-mode, repl
Related plugins
langfuse
langfuse/langfuse
🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
claude-code-templates
davila7/claude-code-templates
CLI tool for configuring and monitoring Claude Code
semiotic
nteract/semiotic
React data visualization library for streaming, networks, and AI-assisted development
dsh-desktop
dataelement/dsh-desktop
DSHDesktop:DeepSeek Harness Desktop / DeepSeek Harness 桌面版