READMESource: main@25aad547
githubspace
个人工作区,由 DeepSeek Harness 维护;本仓库同时是一个可安装的 DSH 组合包(bundle)。
目录
GITHUB-SETUP.md— GitHub 接入说明package.json— 包清单,dsh.bundle.patch声明组合包cordis.patch.yml— 插入插件行的 patchindex.js— 插件入口(Host 半侧)locale/、icon.svg— 插件展示元信息与图标tools/— 本地便携版 Git / gh(已 gitignore)
作为 DSH 插件安装
- 本地目录:「插件 → 添加插件 → 安装第三方插件」填
D:\workspace - 远端:填
git+https://github.com/CHATUL1/githubspace.git - 装好后默认可能未启用,需在插件页打开;新增行首次生效可能要求重启 DSH
当前版本只提供组合包外壳,apply() 为空。加功能时:
- Host 能力写在
index.js的export function apply(ctx, config)中,注册的东西用ctx.effect/ctx.on返回清理函数。 - 浏览器端 UI 需要增加
dsh.client段、./client导出和一个client.js(模块加载器工厂,id 与包名一致)。 - 新增文件记得同步到
package.json的exports/files,否则 git 安装后读不到。
上架 dsh-plugin-shop
商店的目录由每日构建自动抓取,不需要提 PR:仓库带 dsh-plugin(或 deepseek-harness)topic,根目录 package.json 有 name 和 dsh.bundle,就会被收录。
- 当前已设置 topic
dsh-plugin、deepseek-harness dsh.catalog声明了分类(other)、中英简介和能力列表(空,因为不调用任何 dsh 服务)- 收录门槛:
license与repository必填、无构建脚本、无workspace:依赖、bundle 要加载的文件必须提交在仓库里 - 上架后商店按默认分支的 commit 固定版本;之后每次推送,下一轮构建会重新读取
环境
- Git 2.56.0 · GitHub CLI 2.103.3(均在
tools/) - 账号:CHATUL1
No comments yet. Be the first to write one.