dsharp
其他 活跃维护

dsharp

ramuzes/dsharp

提供一组自包含的可运行插件,均经过实际运行验证,内置依赖与配置,可即取即用。插件支持按需组合与动态加载,能够简化集成流程,降低环境配置成本,让开发调用更直接省心。

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

dsh-plugins

A pnpm-workspace monorepo of DeepSeek Harness
plugin bundles. Each directory under packages/ is an independent, self-contained
dsh bundle you can install into a profile on any machine — plain JavaScript,
no build step, so no allowBuilds authorization is needed.

Packages

Package Purpose
packages/workspace-env Keep uv / Go toolchain cache writes inside the workspace-write sandbox (workspace-local .uv-cache/, .go-cache/)
packages/airboard Read-only AirBoard viewer for the web GUI: a right-Sidebar tab over a host-side /airboard proxy (configurable service address + token)
packages/feishu-gateway Feishu (Lark) bot gateway: bind a p2p bot chat to a workspace session — messages run tasks, questions/approvals round-trip as interactive cards

Install from this repo

Each package is a standalone bundle, so point dsh plugin add at the
subdirectory (not the repo root) — the pnpm #path: fragment selects it:

# from a local checkout
dsh plugin --profile <name> add /path/to/<this-repo>/packages/workspace-env

# from git
dsh plugin --profile <name> add "github:<you>/<this-repo>#path:packages/workspace-env"

Or pack a tarball locally (pnpm pack inside the package, or pnpm -r pack
at the root) and install that.

Adding a new plugin

  1. mkdir packages/<name> && cd packages/<name>
  2. Copy the layout from packages/workspace-env: package.json (with the
    dsh.bundle.patch field), the plugin entry (index.js), its
    cordis.patch.yml, and a README.md. For a plugin with web-GUI UI, copy
    packages/airboard instead — it adds the browser half (client.js,
    dsh.client, locale/, icon.svg).
  3. Keep dependencies to dsh peer packages (@deepseek-ai/*); no runtime
    npm dependencies — configuration goes through ordinary environment layers.

Development

pnpm install   # optional: local peer copies for editors / tests
pnpm -r pack   # produce installable tarballs