NiuZhuang/dsh-hooks-git-ai

NiuZhuang★ 0TypeScript最后同步: 2026-08-22

在 GitHub 打开

A DeepSeek Harness plugin that records which files the agent edited, with which model, and in which session into git-ai

README 摘要

dsh-hooks-git-ai GitHub · npm · Issues A DeepSeek Harness plugin that records which files the agent edited, with which model, and in which session into git-ai. It listens on the harness's tools/pre-execute / tools/post-execute interception points, translates each relevant tool call into git-ai's generic agent-v1 checkpoint payload, and invokes git-ai checkpoint --hook-input stdin with that JSON on stdin. git-ai itself is never modified; after the agent commits, git-ai writes the attribution into git notes and reports ai additions / ai accepted per tool-model pair. Requirements - DeepSeek Harness installed via npm ( npx @deepseek-ai/dsh@latest ) — the plugin peer-depends on the official @deepseek-ai/ packages it ships with. - git-ai installed and on PATH (or point gitAiPath at it). Install The package ships as a profile bundle: installing it and activating the patch is one command. dsh plugin forwards to pnpm inside your profile directory and auto-activates the bundle because the package declares dsh.bundle . Without the bundle mechanism (or to load it in a custom profile), add the row to your profile's cordis.patch.yml : Config Checkpoint mapping Harness point Tool git-ai payload t…

在 GitHub 查看完整 README →
Agent/智能体deepseek-harness-plugindshdsh-plugindsh-presetdsh-skillgit-aiagent

分类