dsh-bili-scroll
c1overzz
DSH 插件:每天替你刷一轮 B站,读字幕挑出值得的、写一份日报,值得的 @ 你
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:necokeine/dsh-git
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Git status, commit, and push plugin for the DeepSeek Harness web interface. It adds a sidebar footer action for the current session's project directory, showing the branch, upstream, changed files, and line summary in a panel with Commit, Commit & push, and Push actions.
English | 中文
The plugin targets the DeepSeek Harness web interface (
dsh web). Its Node half mounts a read-only status route and accepts only directories owned by live sessions; Git mutations follow the current session agent's normal tool and permission flow.
Install it into a profile with dsh plugin:
dsh plugin --profile web add @necokeine/dsh-git
Restart dsh web and refresh the page. The package declares a bundle patch that disables the built-in ui-git row and mounts this package under its own Loader entry id, so only one Git footer action runs.
Remove it with:
dsh plugin --profile web remove @necokeine/dsh-git
Other install forms also work:
dsh plugin --profile web add ./path/to/dsh-git or link:./path/to/dsh-git.pnpm pack, then install the generated .tgz; the package contains prebuilt lib/ artifacts.dsh plugin --profile web add github:necokeine/dsh-git#<sha>; source installs must be allowed to run the package build under the profile's pnpm build policy.pnpm install
pnpm test
pnpm typecheck
pnpm build
pnpm lint
pnpm pack
The Node entry mounts /dsh-git/status, validates its JSON request, and rejects any directory not owned by a live session before running read-only Git commands. The browser entry registers the sidebar.footer.action component and locale dictionaries, creates GitController, fetches status through that route, and delegates commit/push requests to the current session agent. Standalone browser tests use small local store and icon stubs. tests/apply.harness.spec.ts retains the real SlotRegistry/locale integration coverage for runs inside a Harness checkout and is excluded from the standalone Vitest config.
src/
index.ts # live-session-scoped, read-only Git status route
invariant.ts # package invariant companion
client/
index.ts # browser registration and Git mutation delegation
git-api.ts # browser-facing plugin status transport
git-controller.ts # status and panel state
GitAction.tsx # footer trigger and panel
git-action.module.css
locales.ts # Chinese and English dictionaries
tests/ # controller, component, and registration specs
cordis.patch.yml # disables the built-in ui-git row and mounts this package
tsdown.config.ts # independent Node and browser bundle build
The footer action contributes no prompt section or tool schema. Commit, commit-and-push, and push actions send a normal user message through the current session's prompt pipeline, where standard user-message logging records it.
MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。