dsh-std
其他 活跃维护

dsh-std

Yan-Zero/dsh-std

提供独立版本化的标准协议集合,实现方可按需选用,规范插件、运行时的交互规则,保障不同组件的兼容互操作,降低插件开发与系统集成的对齐成本。

2
Stars 标星
0
Forks 分支
2
Watchers 关注
1
Open Issues
TypeScript
主要语言
MIT
开源协议
645 KB
仓库大小
1 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:Yan-Zero/dsh-std
git clone https://github.com/Yan-Zero/dsh-std.git
git clone git@github.com:Yan-Zero/dsh-std.git
README.md main

DSH Standard

English | 中文

DSH Standard is a collection of independently versioned protocols that implementations may adopt as needed. It enables DSH plugins, runtimes, and user interfaces to interoperate without requiring one framework or product.

@dsh-std/core is the meta-protocol used to declare and negotiate other protocols. Connection, command, tool, and presentation are discovered through core but define their own semantics. Hosts, TUIs, Web applications, GUIs, and other programs may implement only the relevant subset.

Protocol packages may ship types, validators, negotiation algorithms, state machines, or conformance fixtures as reference implementations. A conforming implementation does not have to use the TypeScript packages or DeepSeek Harness.

Start here

Status

The code and proposals are early drafts. The target boundaries in the proposals may be ahead of the current TypeScript prototypes; existing exports are not stable until that migration is complete.

Each package records protocol, type, validator, and adapter changes in its own CHANGELOG.md. A public contract change must update that package's changelog, which is also included in the published artifact.

Development

Node.js ^22.19 || >=24 and pnpm are required.

pnpm install
pnpm check

License

MIT