sky杨, on magpie 0.1.1254 with this plugin at 0.1.29, got 403 "Factory: Forbidden" from Claude Code on every model, GPT, Claude and Gemini alike. Factory's body was a bare "Forbidden", not a phrase-specific refusal. Header diff against droid 0.242.0 (npm droid and @factory/cli-darwin-arm64 0.242.0, unpacked with --ignore-scripts into an empty directory and read with strings, never run). Its model requests carry: Authorization, X-Factory-Client: cli, X-Client-Version, X-Factory-Org-Id, User-Agent factory-cli/<ver>, x-session-id, x-assistant-message-id, x-api-provider, x-provider-routing-source (registry_default without a routing claim), OpenAI-Platform: org-bHuLtG1fGmYk5YaOihAAXFBw for openai/azure_openai, and X-Api-Key "placeholder" from its Anthropic client. The plugin sends each of these with the same value, apart from the release: 0.233.0, nine releases behind. The WorkOS client id is unchanged. droid's binary still reads a server-side min_cli_version flag and runs a forced auto-update. 0.1.16 was the same case (JL: every model 403 "Forbidden" from pi and Claude Code while droid worked; the plugin said 0.231.0, two behind), and JL's later reports (0.1.25) were about models, not refusals. Whether Factory refuses an old release with a 403 is still not confirmed: there is no Factory account to try with. This is the one header difference found. Run: bun test in packages/factory, 143 pass. With VERSION put back to 0.233.0, droid.test.mjs goes red (Expected "0.242.0", Received "0.233.0"). bun scripts/check.mjs factory: ok. Not tried against Factory itself. Full suite: bun test (packages/factory) 143 pass
12 lines
499 B
JSON
12 lines
499 B
JSON
{
|
|
"name": "@magpie-community/opencode-factory-auth",
|
|
"version": "0.1.30",
|
|
"description": "Sign in to a Factory (Droid) subscription from OpenCode or magpie",
|
|
"type": "module",
|
|
"main": "./index.mjs",
|
|
"files": ["index.mjs", "anthropic-tools.mjs", "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" }
|
|
}
|