@a1pha1nthefog on X (2026-11-19): dsh (DeepSeek Harness) on Factory's
claude-opus-5-5 is still refused (content_policy_rejected) on magpie
v0.1.4532, whose Factory mover installs 0.1.50. 0.1.50 renamed the six dsh
tools on our list, but dsh also declares web_search, and two real accounts
saw Factory refuse web_search, read_file and execute_command the same day,
and every listed name behind leading underscores (_read, _web_search), while
omp_read and WebSearch pass (can1357/oh-my-pi#19553, single-tool probes with
a passing system block). 0.1.50's dsh test passed because its fake Factory
refused only the names the plugin itself listed.
- tool-names.mjs lists web_search, read_file and execute_command (as
WebSearch, Read and Execute, droid's own names) and refuses a listed
name behind leading underscores (refusedName).
- Factory adds names without notice, so one more missing name would refuse
every request again. A 403 content_policy_rejected for a request that
declares tools now goes once more with every tool renamed (droid's
names and mcp__ tools kept): if Factory takes it, that tool set goes
renamed in full for the rest of the process (at most 256 sets kept); if
it refuses again, the refusal is about the content and is the answer, as
before. A request with no tools is never sent twice.
- The tests' fake Factory now refuses what real accounts were seen
refusing (SEEN_REFUSED), apart from the plugin's own list, and dsh's
first request must be taken on the first try.
Only name fields change, as in 0.1.50: descriptions, schemas, arguments and
dsh's prompt go as written, and replies carry the caller's names back.
Run (mote, at origin/main 5f320200 plus this change): HOME=$(mktemp -d)
bun test is 9139 tests, 0 fail; bun test packages/factory is 220 pass, 0 fail;
bun scripts/check.mjs factory passes. Real dsh 0.2.1-rc.2 headless in a
sandbox HOME against the plugin's fetch, with a fake Factory refusing the
seen names plus web_fetch (standing in for a name Factory adds next): the
first try declared Execute, Edit, Glob, Grep, Read, WebSearch and Create and
was refused for web_fetch; the second went with every tool renamed and was
taken; dsh ran "echo dsh-ran-$((6*7))" through bash and its next turn went
renamed in full at once.
Broken by hand: without web_search, read_file and execute_command in the
list, 5 of tool-names.test.mjs's 18 tests fail, both dsh ones among them;
with the second try taken out, both second-try tests fail.
Not tried: a real Factory account. None is here, so Factory's own answer to
the renamed dsh request is not seen; the refused names come from two real
accounts' probes on 2026-11-19, not ours. Whether Factory reads an
Anthropic server tool's name (web_search_20250305) was not probed; those
keep Anthropic's name.
13 lines
617 B
JSON
13 lines
617 B
JSON
{
|
|
"name": "@magpie-community/opencode-factory-auth",
|
|
"version": "0.1.51",
|
|
"description": "Sign in to a Factory (Droid) subscription from OpenCode or magpie",
|
|
"type": "module",
|
|
"main": "./opencode.mjs",
|
|
"exports": { ".": "./opencode2.mjs" },
|
|
"files": ["index.mjs", "opencode.mjs", "opencode2.mjs", "anthropic-tools.mjs", "tool-names.mjs", "client-phrases.json", "README.md"],
|
|
"keywords": ["opencode", "opencode-plugin", "magpie", "factory", "droid"],
|
|
"license": "MIT",
|
|
"repository": { "type": "git", "url": "git+https://github.com/magpie-community/plugins.git", "directory": "packages/factory" }
|
|
}
|