provider: Factory's mover takes opencode-factory-auth 0.1.51

@a1pha1nthefog on X (2026-11-19): dsh on Factory's claude-opus-5-5 was
still refused (content_policy_rejected) on v0.1.4532, which installs 0.1.50.
0.1.50 left dsh's web_search under its own name, and Factory refuses it
(two real accounts saw web_search, read_file and execute_command refused
the same day, and listed names behind leading underscores). 0.1.51 renames
those, and a request refused while it declares tools goes once more with
every tool renamed, so a name Factory adds next refuses it once, not for
good (magpie-community/plugins e6c45711). keepMovedCurrent updates every
moved user's plugin to the new min, and the plugin host restarts on it.

0.1.51 is what `npm view --prefer-online` gives at landing.

Run (mote, at origin/main aeca7ae07 plus this change): gofmt -l clean;
go vet ./internal/provider on darwin, GOOS=linux and GOOS=windows; go test
-count=1 -timeout 45m ./internal/provider ok. Plugin side: bun test at the
plugins root 9139 tests, 0 fail; real dsh 0.2.1-rc.2 headless in a sandbox
HOME through the plugin's fetch and a fake Factory taken on the first try,
and on the second when a name not listed is refused.

Not tried: a real Factory account (none here), so Factory's own answer to
the renamed dsh request is not seen.
This commit is contained in:
yetone
2026-11-19 18:57:25 +08:00
parent aeca7ae074
commit 9fc1114d84
File diff suppressed because one or more lines are too long