Dwsy/dsh-pi-extension-bridge

Dwsy★ 0JavaScriptLast synced: 2026-08-15

Open on GitHub

TypeScript compatibility bridge for running Pi Coding Agent extensions and terminal UI inside DeepSeek DSH.

README excerpt

dsh-pi-extension-bridge English 简体中文 A TypeScript compatibility bridge that adapts Pi Coding Agent extensions to DeepSeek DSH, including extension resources, tools, commands, lifecycle hooks, and Pi-style terminal UI rendering in the DSH Web client. This project is an integration bridge, not a reimplementation of Pi or DSH. It prefers native host capabilities, maps semantics only where the correspondence is reliable, and fails explicitly when a lossless mapping is unavailable. Highlights - TypeScript-first source tree — src/ is authoritative; lib/index.js and lib/client.js are generated runtime bundles. - Modular Host architecture — runtime/session adaptation, lifecycle hooks, resources/tools, message conversion, Typert protocol, UI registry, and terminal surface rendering are separated by responsibility. - Pi extension loading — uses Pi's loader/runtime rather than maintaining a handwritten extension list. - DSH-native integration — bridges scoped tools, commands, skills, prompt resources, model/thinking state, and lifecycle events without replacing DSH-native ownership where DSH already has the capability. - Web terminal UI bridge — preserves ANSI frames, terminal-column width, o…

View full README on GitHub →
Agentsdshdsh-plugindsh-pluginspi-coding-agentterminalagent

Category