apps/lite/harness/deepseek/README.md
A DeepSeek Harness dynamic plugin that renders the real GitButler Lite workspace (uncommitted files, stacks/branches, commits, context menus) in the harness's details column, backed by the repo's own Lite code through the harness host.
This plugin is not an npm package — it is a runtime Cordis plugin defined in a DSH session. These files are its source so it can be installed anywhere the repo is present.
apps/lite/harness/ (browser + node builds + this deepseek/ dir) and the harness
host CLI — apps/lite/harness/deepseek/cli.mjsbut-sdk NAPI binding built for the machine (pnpm -F @gitbutler/but-sdk build)pnpm -F @gitbutler/lite build:harness
(produces apps/lite/dist/harness/browser.js + lite.css, which the plugin serves)In a DSH session whose workspace is the repo, tell the agent:
Install the GitButler panel plugin: read
apps/lite/harness/deepseek/host.jsandapps/lite/harness/deepseek/client.jsand define them as the host and client halves of a new Cordis plugin, then run it.
The agent runs cordis_define (paste the two files as code.host /
code.client) and cordis_run. You never type or paste anything yourself —
the files in the repo are what the agent reads.
Then click GitButler in the session header (or "Open panel" in the plugin's run card). The panel mounts in the details column.
vscode://.1/2 focus the two lists; arrow keys move through the focused one.pnpm -F @gitbutler/lite build:harness, then restart the plugin run
(cordis_run with mode run on the same package) so the served bundle refreshes.host.js / client.js, then re-define a new package
and cordis_run --mode update.