From 76868bad610606f5823d67f177b31905edfd45b3 Mon Sep 17 00:00:00 2001 From: yetone Date: Fri, 20 Nov 2026 15:06:38 +0800 Subject: [PATCH] provider: Factory's mover min is 0.1.54, dsh's Web GUI sentence and skill catalog go as Factory takes them @a1pha1nthefog (X, 11-20): dsh on factory/claude-opus-5-5 was still content_policy_rejected before any output on factory 0.1.53. 0.1.54 (magpie-community/plugins 9daf7114) sends dsh's Web GUI sentence "The browser provides no implicit DOM, route, or screenshot context." with "gives", the rewording Antigravity took for the same dsh fingerprint, and "harness" in dsh's skill catalog as "runtime", as 0.1.52 does in its prompt and tool descriptions. A refusal on a new session's first turn now says to turn skills, MCP servers and plugins off and on a few at a time to find it. keepMovedCurrent brings every moved user to it. npm view --prefer-online @magpie-community/opencode-factory-auth@0.1.54: 0.1.54 (publish.yml run 44691148143; red only for the known middleware-system-prompt/think-tags trusted-publisher E404s). Run: mica-run go test -count=1 -run 'Mover|Move|Migrat|Factory|Plugin' ./internal/provider: ok. gofmt -l internal/provider: clean. Not tried: a real Factory account (none here, on mote, mica or xiaomi-gpu), so the fix is inferred, not seen to pass Factory. --- internal/provider/migrate_factory.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/provider/migrate_factory.go b/internal/provider/migrate_factory.go index d7ca5862f..db316ee92 100644 --- a/internal/provider/migrate_factory.go +++ b/internal/provider/migrate_factory.go @@ -14,7 +14,7 @@ import ( func init() { movers["factory"] = &mover{ pkg: "@magpie-community/opencode-factory-auth", - min: "0.1.53", // 0.1.53: dsh's opening identity line ("You are an AI agent powered by DeepSeek Harness.") and model line ("You are a coding agent powered by the model.") go as "You are an AI agent." and "Current model: .", so a fresh dsh session's first turn is not content_policy_rejected (a1pha1nthefog on X, still refused on 0.1.52); 0.1.52: a client's "harness" read as runtime in its prompt and tool descriptions, which Factory's policy check refuses (content_policy_rejected for Claude Code, Pi and Codex, @DennisYan4 on X), and Claude Code's tool search (defer_loading, DeferredToolPlaceholder) sent as tools declared in full; 0.1.51: dsh's web_search, and read_file and execute_command, go out as droid's WebSearch, Read and Execute, a listed name behind leading underscores is renamed too, 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 (a1pha1nthefog on X, still content_policy_rejected on 0.1.50); 0.1.50: a tool declared under a name Factory refuses since 2026-11-18 (bash, read, edit, write, glob, grep, task, run_shell, Bash, Write, Agent, Shell, StrReplace, ...) goes out under droid's own name for the job (Execute, Read, Edit, Create, Glob, Grep, Task) or suffixed, and comes back under its own name, so dsh, OpenCode, pi and Claude Code are not refused with content_policy_rejected (a1pha1nthefog on X; plugins #1314, heggria); 0.1.49: a Gemini request's fields go in droid's order, the model first, not after the contents, a long session's megabytes, which Factory answered at 0.6 to 1.6 MB with 400 "Invalid model ID in request body" on every retry (marovole on X, gemini-4-hydrogen); 0.1.48: each conversation, and each subagent in it, is a Factory session of its own (x-session-id), as droid opens them, not one session for every request of the plugin, which Factory answered with 400 "Invalid model ID in request body" now and then on Gemini 4 Argon, Hydrogen and Carbon (marovole on X); 0.1.41: ZCode's environment paragraph and its restored-read reminder (Called the Read tool with the following input) reach Factory renamed as runtime context and a previously read file, not 403 Forbidden (plugins #211, #213, William-AIdev); 0.1.40: Factory's usage policy refusal (content_policy_rejected) is a 400 invalid_request_error with its code, not a 403 permission_error an agent reads as a failed sign-in (sweanng on Discord; plugins #494); 0.1.39: DeepSeek V4.1 Flash 1017, from droid 0.251.0, on its registry default upstream Fireworks (sweanng on Discord; plugins #480); 0.1.38: an account stops once its Standard window is used up when the Standard usage only option is on (plugins #349); 0.1.37: a billing header joined with instructions loses only its own line, so Claude Code auto mode keeps its policy (plugins #302); Claude Code 2.1.292's instructions re-read after compaction (changed: true), and a 403 that keeps Factory's request id (plugins #243); the update-config entry in a system prompt's configuration section, as claude-code-guide renders it with a slash, adapted the way Factory takes it (plugins #198); a model's token multiplier reaching magpie as its rate, with a running promotion's discount (plugins #158); an OpenAI model's request without temperature and top_p, which OpenAI's reasoning models turn away with 400 (sweanng424 on Discord, Nowledge Mem on gpt-6.1-sol); requests saying droid 0.242.0, the current release (sky杨 on Discord: every model 403 "Factory: Forbidden" from Claude Code); Claude Code on GLM and other /api/llm/o models without the phrases Factory refuses (Echoo on Discord); the Fast Mode models listed last, so GPT-5.3-Codex, Grok and GLM are in the first 24 again (plugins #119); droid's Fast Mode models (Opus 5.5/5/4.8, GPT-5.5/5.4/5.3-Codex), and fast asked of a base model sent to its Fast Mode model (plugins #119); Gemini 4 Argon and Gemini 3.x on Factory's Gemini route (#2080); a 413 asked once more with older images left out, then said as Factory's byte limit (#2082); Haiku 5.5 and Mistral Large 4, in droid 0.240.0's picker (JL); a session continued after Claude Code compaction, whose restored context opens with the invoked-skills reminder (plugins #66); Claude Code's streamed context_management left out, which Factory's streaming route refuses (plugins #71); Claude Code's skill list sent alone as a system message, as text blocks or a string, gets update-config's line Factory takes (plugins #72); Claude Code 2.1.280's restored-context turn after /compact (plugins #68); pi's compaction and branch summary openings reworded (#1316); hook notifications kept in Claude Code compaction context only stop changed-file quoting, summaries quoted like tool output, a cut after a hunk separator (plugins #42); Claude Code compaction/runtime metadata and quoted session summaries (#1132); pi's opening sentence cut to its first half (#952); DeepSeek V4.1 Flash, Kimi K3 and GLM-5.2 offering none, so reasoning turned off stops their thinking (#899); requests saying droid 0.233.0 (JL: every model 403); Claude Code 2.1.288's runtime context as a system message of text blocks (#658); a tool whose input_schema has anyOf/oneOf/allOf at its root (Codex's automation_update) wrapped for Claude models (#646); a failure's status and its sign-in mark as the built-in's; Claude 5's system-role metadata as Factory takes it; Claude Code's standalone model-switch system updates; tool results quoting Claude Code's fixed phrases, and Claude Code's directory updates carrying a model; the sign-in renewed ahead of time through auth.refresh; Claude Code with a global CLAUDE.md or a SessionStart hook, and Claude Desktop's model line (#634) + min: "0.1.54", // 0.1.54: dsh's Web GUI sentence "The browser provides no implicit DOM, route, or screenshot context." goes with "gives" (a fingerprint Antigravity refused as dsh's), "harness" in dsh's skill catalog goes as runtime, and a refusal on a new session's first turn says to turn skills, MCP servers and plugins off and on to find it (a1pha1nthefog on X, still refused on 0.1.53); 0.1.53: dsh's opening identity line ("You are an AI agent powered by DeepSeek Harness.") and model line ("You are a coding agent powered by the model.") go as "You are an AI agent." and "Current model: .", so a fresh dsh session's first turn is not content_policy_rejected (a1pha1nthefog on X, still refused on 0.1.52); 0.1.52: a client's "harness" read as runtime in its prompt and tool descriptions, which Factory's policy check refuses (content_policy_rejected for Claude Code, Pi and Codex, @DennisYan4 on X), and Claude Code's tool search (defer_loading, DeferredToolPlaceholder) sent as tools declared in full; 0.1.51: dsh's web_search, and read_file and execute_command, go out as droid's WebSearch, Read and Execute, a listed name behind leading underscores is renamed too, 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 (a1pha1nthefog on X, still content_policy_rejected on 0.1.50); 0.1.50: a tool declared under a name Factory refuses since 2026-11-18 (bash, read, edit, write, glob, grep, task, run_shell, Bash, Write, Agent, Shell, StrReplace, ...) goes out under droid's own name for the job (Execute, Read, Edit, Create, Glob, Grep, Task) or suffixed, and comes back under its own name, so dsh, OpenCode, pi and Claude Code are not refused with content_policy_rejected (a1pha1nthefog on X; plugins #1314, heggria); 0.1.49: a Gemini request's fields go in droid's order, the model first, not after the contents, a long session's megabytes, which Factory answered at 0.6 to 1.6 MB with 400 "Invalid model ID in request body" on every retry (marovole on X, gemini-4-hydrogen); 0.1.48: each conversation, and each subagent in it, is a Factory session of its own (x-session-id), as droid opens them, not one session for every request of the plugin, which Factory answered with 400 "Invalid model ID in request body" now and then on Gemini 4 Argon, Hydrogen and Carbon (marovole on X); 0.1.41: ZCode's environment paragraph and its restored-read reminder (Called the Read tool with the following input) reach Factory renamed as runtime context and a previously read file, not 403 Forbidden (plugins #211, #213, William-AIdev); 0.1.40: Factory's usage policy refusal (content_policy_rejected) is a 400 invalid_request_error with its code, not a 403 permission_error an agent reads as a failed sign-in (sweanng on Discord; plugins #494); 0.1.39: DeepSeek V4.1 Flash 1017, from droid 0.251.0, on its registry default upstream Fireworks (sweanng on Discord; plugins #480); 0.1.38: an account stops once its Standard window is used up when the Standard usage only option is on (plugins #349); 0.1.37: a billing header joined with instructions loses only its own line, so Claude Code auto mode keeps its policy (plugins #302); Claude Code 2.1.292's instructions re-read after compaction (changed: true), and a 403 that keeps Factory's request id (plugins #243); the update-config entry in a system prompt's configuration section, as claude-code-guide renders it with a slash, adapted the way Factory takes it (plugins #198); a model's token multiplier reaching magpie as its rate, with a running promotion's discount (plugins #158); an OpenAI model's request without temperature and top_p, which OpenAI's reasoning models turn away with 400 (sweanng424 on Discord, Nowledge Mem on gpt-6.1-sol); requests saying droid 0.242.0, the current release (sky杨 on Discord: every model 403 "Factory: Forbidden" from Claude Code); Claude Code on GLM and other /api/llm/o models without the phrases Factory refuses (Echoo on Discord); the Fast Mode models listed last, so GPT-5.3-Codex, Grok and GLM are in the first 24 again (plugins #119); droid's Fast Mode models (Opus 5.5/5/4.8, GPT-5.5/5.4/5.3-Codex), and fast asked of a base model sent to its Fast Mode model (plugins #119); Gemini 4 Argon and Gemini 3.x on Factory's Gemini route (#2080); a 413 asked once more with older images left out, then said as Factory's byte limit (#2082); Haiku 5.5 and Mistral Large 4, in droid 0.240.0's picker (JL); a session continued after Claude Code compaction, whose restored context opens with the invoked-skills reminder (plugins #66); Claude Code's streamed context_management left out, which Factory's streaming route refuses (plugins #71); Claude Code's skill list sent alone as a system message, as text blocks or a string, gets update-config's line Factory takes (plugins #72); Claude Code 2.1.280's restored-context turn after /compact (plugins #68); pi's compaction and branch summary openings reworded (#1316); hook notifications kept in Claude Code compaction context only stop changed-file quoting, summaries quoted like tool output, a cut after a hunk separator (plugins #42); Claude Code compaction/runtime metadata and quoted session summaries (#1132); pi's opening sentence cut to its first half (#952); DeepSeek V4.1 Flash, Kimi K3 and GLM-5.2 offering none, so reasoning turned off stops their thinking (#899); requests saying droid 0.233.0 (JL: every model 403); Claude Code 2.1.288's runtime context as a system message of text blocks (#658); a tool whose input_schema has anyOf/oneOf/allOf at its root (Codex's automation_update) wrapped for Claude models (#646); a failure's status and its sign-in mark as the built-in's; Claude 5's system-role metadata as Factory takes it; Claude Code's standalone model-switch system updates; tool results quoting Claude Code's fixed phrases, and Claude Code's directory updates carrying a model; the sign-in renewed ahead of time through auth.refresh; Claude Code with a global CLAUDE.md or a SessionStart hook, and Claude Desktop's model line (#634) agents: []string{"factory"}, out: func() ([]Moving, error) { ls := factoryLogins()