gaubeebangeel on X: OpenDesign's Anthropic request to an Open Design Cloud model went upstream as chat completions. Each model is declared on one wire (the thinking choice of plugins#141), and magpie translated any other API's request to it, though amr-link serves every model on chat completions, Responses and Anthropic's messages (plugins#888). Each model (the config seed, a kept copy, the models hook's) now lists the other two packages as `also`. magpie from the matching release reads it (plugin.Model.Also) and relays a client's request on any of the three as it was sent; the declared wire stays the model's own, which a request on another API is translated to. signFor already signs by the request's path. An older magpie ignores the field. Run: bun test packages/opendesign (32 pass) with a temp HOME on mote; root bun test with a temp HOME on mote: 8704 pass, 20 skip, 0 fail.
33 lines
810 B
JSON
33 lines
810 B
JSON
{
|
|
"name": "@magpie-community/opencode-opendesign-auth",
|
|
"version": "0.1.13",
|
|
"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": "./opencode.mjs",
|
|
"files": [
|
|
"index.mjs",
|
|
"opencode.mjs",
|
|
"opencode2.mjs",
|
|
"models.mjs",
|
|
"rates.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": { ".": "./opencode2.mjs" }
|
|
}
|