
Security News
vlt 1.5.0 Adds Agent Skills Management
vlt 1.5.0 links skills from JavaScript dependencies to coding agents, with lockfile versioning and Socket data to filter out known malicious packages.
deepseek-git-guide
Advanced tools
DeepSeek Harness Cordis 插件(静态 npm 包形态):把用户对 git 操作的自然语言描述,转成最简洁安全的命令建议与解释,并让用户在「直接执行 / 手动执行」之间选择。
面向 DeepSeek Harness 的 Git 操作引导插件:把自然语言意图转换为经过校验的 Git 命令提议,并让用户在「直接执行」与「手动执行」之间选择。
[!IMPORTANT] 本项目是社区项目,并非 DeepSeek 官方产品。DeepSeek Harness 当前仍处于开发者预览阶段,插件接口可能变化;发布版本会在下方记录兼容性基线。
自然语言描述
│
▼
git_propose ── 解析并校验每个步骤 → 登记为提议(随机 proposalId,绑定当前会话)
│
▼
用户选择
├─ 直接执行 ── git_execute 按步骤运行,失败即停
└─ 手动执行 ── 复制命令到终端,面板按「基线 → 目标状态」迁移校验
^22.19.0 || >=24.0.0当前兼容性冒烟基线为 @deepseek-ai/dsh@0.1.0-rc.6(包括同版本的 Shell、Tools、WebServer 和 Client Runtime)。本项目不直接安装这些运行时服务,它们由 Harness profile 提供。
发布到 npm 后,将插件安装到目标 profile:
dsh plugin --profile <profile-name> add deepseek-git-guide
仅从 GitHub 安装当前源码版本:
dsh plugin --profile <profile-name> add github:IT-coder-Yy/deepseek-git-guide
package.json 中的 dsh.bundle.patch 会自动合并 git-guide.cordis.yml,无需再手工复制挂载配置。安装后按你的正常方式重新启动该 profile。
本地开发可直接安装仓库路径;需要单独调试补丁时也可以:
dsh web --patch ./git-guide.cordis.yml
插件注册三个模型工具:
| 工具 | 说明 |
|---|---|
git_repo_state | 只读获取仓库状态。 |
git_propose | 校验并登记一个或多个 Git 步骤。 |
git_execute | 仅按同会话中的 proposalId 执行已登记提议。 |
Web profile 还会在 conversation.input.dock 显示交互面板;headless/TUI profile 只使用模型工具。
你:把文档更新提交到当前分支,提交信息为 docs: update guide
提议:
1. git add docs/guide.md
2. git commit -m "docs: update guide"
直接执行时,Host 按步骤运行并展示每步结果。选择手动执行时,多步命令会以 && 连接,确保失败即停;面板只会在目标状态相对于复制时基线发生预期迁移后标记为已验证。
插件把模型输出视为不可信输入,并在登记和执行两个阶段重复校验:
git <子命令> ... 命令,且子命令必须位于固定白名单中。;、&、管道、重定向、$()、反引号和换行。git -c 等全局选项、未知 git-* 外部程序、rebase --exec、ext:: transport,以及可能启动外部程序的选项。proposalId 严格绑定会话且只能执行一次。安全边界与已知限制:
config、submodule 等具有额外执行面的命令不会被接受。发现安全问题时请按 SECURITY.md 私下报告,不要在公开 Issue 中披露利用细节。
npm run lint # 语法检查
npm test # 单元 + 集成测试
npm run check # lint + test
npm pack --dry-run --ignore-scripts # 检查发布内容
测试包含纯逻辑单元测试和真实临时 Git 仓库集成测试,覆盖命令边界、风险分级、会话隔离、防重放、分步失败、敏感信息脱敏及手动执行状态迁移。测试不会访问网络。
目录结构:
| 路径 | 说明 |
|---|---|
lib/index.js | Host 插件、工具、RPC、安全校验与执行 |
lib/client.js | Web Client 面板 |
test/unit.test.js | 命令、风险、会话和 RPC 单元测试 |
test/integration.test.js | 真实临时 Git 仓库集成测试 |
git-guide.cordis.yml | 自动合并的 Cordis 补丁 |
贡献前请阅读 CONTRIBUTING.md。发布前运行 npm run check;prepublishOnly 也会执行同一检查。
FAQs
DeepSeek Harness Cordis 插件(静态 npm 包形态):把用户对 git 操作的自然语言描述,转成最简洁安全的命令建议与解释,并让用户在「直接执行 / 手动执行」之间选择。
The npm package deepseek-git-guide receives a total of 1 weekly downloads. As such, deepseek-git-guide popularity was classified as not popular.
We found that deepseek-git-guide demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
vlt 1.5.0 links skills from JavaScript dependencies to coding agents, with lockfile versioning and Socket data to filter out known malicious packages.

Security News
Rust 1.100 will add opt-in dependency cooldowns to Cargo, giving security scanners and maintainers time to catch malicious crate releases.

Security News
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.