qtjg/dsh-plugin-git-context

qtjg★ 1TypeScript最后同步: 2026-08-20

在 GitHub 打开

A DeepSeek Harness plugin that exposes bounded Git status, diff, and log context to the model.

README 摘要

@qtjg/dsh-plugin-git-context @qtjg/dsh-plugin-git-context adds two model-facing tools to DeepSeek Harness. git context exposes bounded Git status, diff, and recent log views. git review sends the current unstaged diff through the Harness ctx.llm service for an independent review pass and returns concrete findings. Requirements The plugin targets Node.js 22.19 or newer . A deployment using git context must provide the Harness ctx.tools and ctx.subprocess services. A deployment using git review must also provide ctx.llm and an active LLM adapter, such as the official DeepSeek route supplied by @deepseek-ai/dsh-llm-deepseek . Install From a Harness profile, install the package as an out-of-tree plugin: Then add the plugin to the profile’s Cordis patch. To enable review through the official DeepSeek adapter, configure the provider route and model explicitly: The profile must also mount the Harness LLM runtime and the llm-deepseek adapter. The adapter resolves its API credential through the normal Harness configuration and credential paths; this plugin does not read or store an API key. The cwd directory must be a Git working tree or a directory inside one. Git itself resolves the repos…

在 GitHub 查看完整 README →
工具/开发dsh-plugin

分类