sryimnoob123 measured a streaming request to every model on each of amr-link's three APIs: chat completions carries the thinking of most, claude-haiku-5.5 and deepseek-v4-pro think longer on Responses, and glm-5.3-flash thinks only on Anthropic's messages. The vendor also names max beside low and high. #141 was written against 0.1.4 and conflicted with 0.1.5 (#137's levels), so it is ported onto main here: - WIRE/MODEL_WIRE/wireOf as the PR had them; the provider default is chat completions, and a live list's and the seed's models each carry api.npm/provider.npm, which magpie's host reads per model. - The config hook sets every model's wire again over a kept copy, so a model 0.1.5 left on the Responses API moves to its own. - max joins every measured level list. Run: bun test in packages/opendesign, 22 pass (a new test holds a kept 0.1.5 model moving to its wire; the old Responses-only expectations were changed to the measured ones). Not tried against a real amr-link account. Co-authored-by: sryimnoob <314134180+sryimnoob123@users.noreply.github.com>
30 lines
735 B
JSON
30 lines
735 B
JSON
{
|
|
"name": "@magpie-community/opencode-opendesign-auth",
|
|
"version": "0.1.6",
|
|
"description": "Open Design Cloud (Design Plan) in OpenCode and magpie: the account's device sign-in, its models, and the plan's 5-hour and 7-day allowance",
|
|
"type": "module",
|
|
"main": "./index.mjs",
|
|
"files": [
|
|
"index.mjs",
|
|
"models.mjs",
|
|
"refresh-models.mjs",
|
|
"README.md"
|
|
],
|
|
"keywords": [
|
|
"opencode",
|
|
"opencode-plugin",
|
|
"magpie",
|
|
"opendesign"
|
|
],
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/magpie-community/plugins.git",
|
|
"directory": "packages/opendesign"
|
|
},
|
|
"magpie": {
|
|
"icon": "https://open-design.ai/favicon.svg"
|
|
},
|
|
"exports": "./index.mjs"
|
|
}
|