dsh-plugins/dsh-loader

dsh-plugins★ 0TypeScript最后同步: 2026-08-19

在 GitHub 打开

A version‑aware adapter registry that decouples third‑party Cordis plugins from dsh’s internal service names, paths, and RPC internals. 基于版本感知适配器注册表,为 dsh Cordis 插件提供运行时兼容层,使第三方插件与内部服务名、模块路径及 RPC 细节解耦。

README 摘要

dshloader A version-aware runtime compatibility shim that keeps third-party plugins working unchanged across dsh (DeepSeek Harness) upgrades. English 简体中文 English A runtime compatibility shim for dsh (DeepSeek Harness) cordis bundle plugins. dshloader decouples third-party plugins from dsh's internal service names, module paths, package names, and RPC details through a version-aware adapter registry , so that when dsh upgrades and breaks internal APIs, you only upgrade dshloader — plugins keep working unchanged. Why dsh is moving fast and its internal surface changes between releases: - httpServer was renamed to webServer — old plugins that inject httpServer hang forever. - Deep source imports like @deepseek-ai/dsh-client-runtime/src/client/sessions/context-provenance.ts break when dsh ships no src/ . - Client UI packages like @deepseek-ai/dsh-client-ui-primitives could be renamed in future dsh versions, breaking every plugin that imports them directly. - The official dsh-host-apiproxy hardcodes a settings namespace whitelist, so third-party settings cards never appear in the Web UI. dshloader absorbs these (and future) breaks behind a stable API : ctx.dshLoader on the host, window…

在 GitHub 查看完整 README →
工具/开发dsh-plugindsh-plugins

分类