provider: WorkBuddy's mover min is 0.2.25, which leaves "DSH" in a user's path alone (liby233)

liby233 on Discord: on every WorkBuddy model, from DeepSeek Harness, a
path the user asked to have repeated word for word,
"/root/DSH/Work/OC-182.92.66.95/", came back as
"/root/the agent harness/Work/OC-182.92.66.95/". The plugin's "Hide
DeepSeek Harness's name" (0.2.23, on by default) replaced every bare
DSH in user and assistant text. Plugin 0.2.25 (magpie-community/plugins
49d4042e) takes the bare name out of the system prompt and tools'
descriptions only, never out of a path or file name, and lets the
user's and assistant's words go as written; dsh's own runtime lines are
still reworded. keepMovedCurrent updates every moved user to it.

Run on mote at this tree (mote-run, base 578053d6a): go test -count=1
./internal/provider ok (160s); gofmt -l clean. Plugin side:
HOME=$(mktemp -d) bun test packages/workbuddy 334 pass at 49d4042e;
npm view --prefer-online --registry https://registry.npmjs.org
@magpie-community/opencode-workbuddy-auth version shows 0.2.25.
Broken by hand (plugin): replacing in user text again, and replacing in
a path in the system prompt, each turned the literal-path test red.
Not tried: a real WorkBuddy account through a moved install.

Reported-by: liby233
This commit is contained in:
yetone
2026-11-07 23:27:15 +08:00
parent dca338f3a3
commit cde3bc9fad
File diff suppressed because one or more lines are too long