工作区 Git
@litingyes/dsh-git状态行里切换分支;右栏是提交图、变更、分支与工作树,提交节点右键可拣选 / 撤销 / 删除。
所有本地与远程分支按日期展开,泳道并排;点开一行看完整提交。
2 个文件变更
补丁 AGENTS.md
diff --git a/AGENTS.md b/AGENTS.mdindex 7fc72e1..44ca928 100644--- a/AGENTS.md+++ b/AGENTS.md@@ -45,3 +45,3 @@ npm run check # 产物新鲜度 + 语法;dsh-git 先跑 build --check node scripts/check-release.mjs # 门禁:每个 manifest 版本都有 tag-node --test scripts/ # 门禁自身的测试+node --test scripts/*.test.mjs # 门禁自身的测试(Node 22 不展开目录参数) node scripts/release.mjs <dir> --bump patch --dry-run # 演练发版 1 个文件变更
补丁 site/src/data/repo-graph.json
diff --git a/site/src/data/repo-graph.json b/site/src/data/repo-graph.jsonindex dad3e08..fc0a03b 100644--- a/site/src/data/repo-graph.json+++ b/site/src/data/repo-graph.json@@ -2,7 +2,7 @@ "source": {- "head": "fac38bfd7a7c7f4137abb5ae2af931ba3d48bab2",- "headShort": "fac38bf",+ "head": "0c2f9abc35db22bbf67c1140ed50c3d8445eba4d",+ "headShort": "0c2f9ab", "headDate": "2026-11-07", "currentBranch": "release",- "total": 23,+ "total": 25, "limit": 40,@@ -11,2 +11,31 @@ "commits": [+ {+ "sha": "0c2f9abc35db22bbf67c1140ed50c3d8445eba4d",+ "parents": [ 11 个文件变更
补丁 dsh-git/README.en.md
diff --git a/dsh-git/README.en.md b/dsh-git/README.en.mdindex f2a63af..f503787 100644--- a/dsh-git/README.en.md+++ b/dsh-git/README.en.md@@ -2,3 +2,3 @@ -A Git plugin for DeepSeek Harness: **the current branch is shown and switchable in the status row below the composer**, and a **right-sidebar tab follows the Session's workspace** with **a multi-branch commit graph as the primary view**, where every node shows its description, author, date, and commit and expands into full details — beside staging, committing, and branch and worktree management. Right-click a commit for cherry-pick / revert / drop, or a branch row to merge it into the current branch or rebase onto it. Both surfaces share one repository snapshot. 0.3.0 no longer registers agent tools.+A Git plugin for DeepSeek Harness: **the current branch is shown and switchable in the status row below the composer**, and a **right-sidebar tab follows the Session's workspace** with **a multi-branch commit graph as the primary view**, where every node shows its description, author, date, and commit and expands into full details — beside staging, committing, and branch and worktree management. Right-click a commit for cherry-pick / revert / drop, or a branch row to merge it into the current branch or rebase onto it. Both surfaces share one repository snapshot. 0.5.0 no longer registers agent tools. @@ -90,3 +90,3 @@ Configuration lives on the mount row in `cordis.patch.yml`. **Overriding the row -> 0.3.0 removed the four agent tools (`git_status` / `git_diff` / `git_commit` / `git_branch`) along with the `tools` and `defaultWorkspaceId` fields. Legacy keys left in a profile patch are ignored, not rejected.+> 0.5.0 removed the four agent tools (`git_status` / `git_diff` / `git_commit` / `git_branch`) along with the `tools` and `defaultWorkspaceId` fields (the change itself landed in the 0.3.0 commit, but 0.3.0 and 0.4.0 were never published on their own — 0.5.0 is the first npm version after 0.2.0). Legacy keys left in a profile patch are ignored, not rejected. 1 个文件变更
补丁 site/src/data/repo-graph.json
diff --git a/site/src/data/repo-graph.json b/site/src/data/repo-graph.jsonindex fc04a64..dad3e08 100644--- a/site/src/data/repo-graph.json+++ b/site/src/data/repo-graph.json@@ -2,7 +2,7 @@ "source": {- "head": "4d1e1f677742618f2efe27bd1ed9dc7f57e12979",- "headShort": "4d1e1f6",+ "head": "fac38bfd7a7c7f4137abb5ae2af931ba3d48bab2",+ "headShort": "fac38bf", "headDate": "2026-11-07", "currentBranch": "release",- "total": 20,+ "total": 23, "limit": 40,@@ -12,5 +12,5 @@ {- "sha": "4d1e1f677742618f2efe27bd1ed9dc7f57e12979",+ "sha": "fac38bfd7a7c7f4137abb5ae2af931ba3d48bab2", "parents": [ 装上工具,不等于模型会用。
57 个会话、5,527 次 tool/call,两个工具只占 0.33%;装后 22.6 小时里,26 个会话只有 2 个主动用过。
系统提示 节选
call mcp__context7__resolve-library-id and then mcp__context7__query-docs before answering from memory or fetching documentation with web_fetch. Skip both when the answer is in this workspace’s own code or in the installed package’s types.
Git 面板不注册智能体工具;Context7 带来这一对。
| 工具 | 参数 | 来自 |
|---|---|---|
mcp__context7__resolve-library-id | libraryName query | Context7 文档查询 |
mcp__context7__query-docs | libraryId query language? | Context7 文档查询 |
用 DSH 插件管理器装,不要手改 profile 的 package.json 或 cordis.patch.yml。
@litingyes/dsh-git
plugin_manager action=install_bundle target= @litingyes/dsh-git@0.5.1 @litingyes/dsh-context7
plugin_manager action=install_bundle target= @litingyes/dsh-context7@0.2.1 这些事插件不做。
dsh-git 只读写本机仓库:没有 fetch、pull、push、clone,也没有 stash。merge / rebase / cherry-pick 只从面板的右键菜单发起,遇到冲突自动中止。
写操作只接受工作区 id;读快照时还可以给会话目录,但必须落在已注册工作区内。git 通过 execFile 逐个传参,不经过 shell;丢弃要 UI 与 Host 两次确认。
Context7 的查询内容发往远端服务;不配 API key 时按 IP 匿名限流。