Bundle
lgtm-dsh
DeepSeek Harness plugin that wraps @stardeckai/lgtm — a Jev-powered linter for tests that pass but prove nothing. Ships the CLI as a dependency, reuses the TypeSafe credential stored in DSH, and exposes lgtm_audit / lgtm_status to the agent.
- Source
- dymzz
- stars
- 1 stars
- License
- MIT
- Updated
- Updated 2 days ago
Readme
# lgtm-dsh lgtm-dsh 是个 DSH 插件,负责自动装好 [lgtm](https://github.com/stardeckai/lgtm)、复用 DSH 里已配好的 Jev,并让 agent 在测试阶段自动调用。 当前只支持web方式 ## 安装 ```sh # 直接安装 dsh plugin --profile web add lgtm-dsh # 从本仓库装:clone 或解压后,在仓库根目录执行 dsh plugin --profile web add . # 或者打成 tarball 再装 npm pack dsh plugin --profile web add ./lgtm-dsh-*.tgz ``` 装完重启 web 服务生效。还没发布到 npm,所以 `dsh plugin add lgtm-dsh` 暂时用不了。 ## 设置 1. **设置 → 模型 → 添加自定义提供方**,key 存进 `TYPESAFE_API_KEY`(目前只支持 typesafe)。 2. **设置 → 插件 → 插件配置 → lgtm-dsh**,选「模型路由」——决定用哪把 key,默认选中靠前的一条可用路由。  ## skill 触发时机 | skill | 什么时候触发 | |---|---| | `lgtm` | 你问「这些测试有没有用」「哪些测试该删、该加强」的时候 | | `actually-test` | 你说「给刚写/刚改的东西补测试」的时候;它指导写测试,并在过程中反复用 `lgtm_audit` 迭代 | 插件权限:它只做四件事——把 `@stardeckai/lgtm` 装进当前 profile 的 `node_modules`、往工具列表注册 `lgtm_status` 和 `lgtm_audit`、把两份 skill 挂进 skill 目录、读 `llm-pi-ai` 里那条路由的 `apiKeyEnv` 并从凭据服务解析出 key。那个 key 不落盘、不进日志、不进工具结果,只出现在它启动的那一个子进程的环境变量里。子进程用调用方会话自己的沙箱策略运行,插件不会给自己提权(往工作区外写会被沙箱拒掉)。它不装全局、不动 PATH、不改 profile 配置、不改 lockfile;联网和写 `node_modules/.cache/lgtm` 缓存都是 lgtm 自己的行为,不由插件代理。 [](https://dsh-plugin.org/plugins/your-owner/your-plugin-slug) ## 相关项目 - [dsh-plugin.org](https://dsh-plugin.org) — 插件市场官网,数据同源 - [deepseek-ai/deepseek-harness](https://github.com/deepseek-ai/deepseek-harness) — DeepSeek Harness 本体 - [stardeckai/lgtm](https://github.com/stardeckai/lgtm) — 插件添加的工具 ## 许可 [MIT](LICENSE) © DSH Plugin Hub contributors
Install
dsh plugin --profile web add github:dymzz/lgtm-dsh
Profile: web
With the hub plugin installed, ask your agent to install it by name — it resolves the same plan shown here.
dsh plugin --profile web add github:stvlynn/dsh.fish#path:packages/dsh-plugin-hub
install lgtm-dsh from the hub
- This source has no pinned commit, so a later push upstream changes what installs. Prefer pinning a commit.