Files
plugins/packages/factory/package.json
T
yetone d24fd5d182 factory 0.1.47: add Gemini 4 Hydrogen (#1073)
Droid 1.10.0 adds gemini-4-hydrogen on Factory's Google route, behind its
Gemini4Hydrogen flag: 1M context, 65536 output, low/medium/high, a 0.6x
multiplier and no promotion. Without it a request to
factory/gemini-4-hydrogen went to the Anthropic route and was refused.
It sits after the first 24 like Carbon, so GLM-5.3-Flash stays in them
(#119); grouped by company it sorts first among Gemini, by id as the
others do.

Checked: Droid 1.10.0 darwin/arm64 downloaded on mote, SHA-256
2b6b467e…6bf7f as the issue says. The testdata line is grepped from
that binary, and matches the issue's text byte for byte.
Run: bun test packages/factory on WSL with a temp HOME, 0 fail;
bun scripts/check.mjs factory ok. Hydrogen is index 49 of 60.
Broken by hand: Hydrogen at 0.5x turns 3 rate tests red.
Not tried: a real request (no Factory account with the flag here).

Reported-by: hitbear518
2026-11-13 14:22:10 +08:00

13 lines
599 B
JSON

{
"name": "@magpie-community/opencode-factory-auth",
"version": "0.1.47",
"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", "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" }
}