Files
plugins/packages/factory/package.json
T
SadWood 7a504148cf fix(factory): 保留联合工具 schema 的参数约束 (#12)
Factory 的 Anthropic 接口拒绝顶层联合工具 schema,导致 Codex 请求返回 400。
通过内部参数包装、响应解包及历史转换兼容该接口,保留分支约束、引用作用域和参数精度。

新增 21 项回归测试,覆盖流式分片、多轮调用、异常、并发和精度。
全库 420 项测试通过,并以 Factory Opus 5.5 验证三种联合 schema、流式调用及第二轮对话。
2026-10-03 14:56:38 +08:00

12 lines
499 B
JSON

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