dsh-sandbox
其他 活跃维护

dsh-sandbox

ynnmuraii/dsh-sandbox

依托轻量级隔离机制搭建插件实验工作台,内置多类开发模板与资源目录,可快速验证插件兼容性、跑通核心功能逻辑,调试业务规则,无需污染主系统运行环境

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

dsh-lab

DeepSeek Harness plugin laboratory: a meta-repo for authoring, pinning, and
verifying external plugins that ship as installable bundles.

The lab is an agent-first forge: an agent and its harness use it as a bounded
environment for creating and checking plugins. The first-slice commands are:

pnpm lab inspect <name>|--path P [--json]
pnpm lab dev <name>|--path P --target T
pnpm lab verify <name>|--path P --target T [--json]
pnpm lab status <name>|--path P [--json]
pnpm lab ui start <name>|--path P --target T [--json]
pnpm lab ui status <session-id> [--json]
pnpm lab ui finish <session-id> --verdict pass|fail --summary "..." [--json]
pnpm lab ui abort <session-id> [--json]

dev is live/in-place and read-only with respect to the plugin: it reads the
current source, including uncommitted and untracked files, while profiles and
overlays stay under the forge's .lab/runtime. verify copies that current
source into a temporary workspace and always removes the temporary workspace;
the forge keeps only minimal evidence as memory of the result. Catalog lookup
is convenient and init/initialization is optional; only explicit authoring commands mutate plugin repositories. The portable agent entrypoint is
.agents/skills/dsh-plugin-development/SKILL.md; it is hand-authored advisory
methodology for the agent. pnpm lab sync-context regenerates the
.dsh-lab/shared-context.md snapshots inside each plugin repo from
context/*.md, while pnpm lab doctor reports missing or stale snapshots
without writing files.

The lab ui start/status/finish/abort family is a separate protocol for a
temporary isolated runtime and minimal factual UI verdict. An external browser
or vision agent/harness owns navigation and visual decisions; screenshots and
browser artifacts are transient and not retained by the lab.

Quick start

pnpm install
pnpm lab doctor          # toolchain + pins
pnpm lab upstream check  # compare pinned master with the configured remote
pnpm lab new my-plugin   # scaffold a plugin
cd plugins/my-plugin
pnpm install --config.minimumReleaseAge=0 --config.strictDepBuilds=false
pnpm test

Adopt a reviewed upstream master explicitly with
pnpm lab upstream update. Add --verify to run the root checks, build the
adopted checkout, and verify every catalogued plugin that declares master.
The updater never commits, pushes, merges, resets, or rolls changes back.

See context/lab-author-guide.md for the full recipe set and
troubleshooting.