prefersTagFormat exempted only ids spelling v4.1 / v4-1, so deepseek-v4-flash-1017, which reads OpenAI image_url parts, had its images turned into <image_base64> text and never saw them (7,368 prompt tokens against 232, per the reporter's side-by-side). The marker is now for deepseek-v4-flash and deepseek-v4-flash-0731 only, the ids it was made for; any other DeepSeek id keeps OpenAI's shape, since Loomy renames them freely and the newer ones take image_url. Run (mica, sandbox HOME): bun test packages/loomy 32 pass; scripts/check.mjs loomy ok. Broken by hand: main's index.mjs fails "which models get the base64 marker" on the 1017 ids. Not tried: a real Loomy request (the reporter's table is the evidence).
29 lines
707 B
JSON
29 lines
707 B
JSON
{
|
|
"name": "@magpie-community/opencode-loomy-auth",
|
|
"version": "0.1.7",
|
|
"description": "OpenCode & Magpie provider plugin for Loomy (讯飞, loomyad.xunfei.cn): SMS sign-in, chat, models, the two point wallets and the daily first-login grant",
|
|
"type": "module",
|
|
"main": "./opencode.mjs",
|
|
"exports": { ".": "./opencode2.mjs" },
|
|
"files": [
|
|
"index.mjs",
|
|
"opencode.mjs",
|
|
"opencode2.mjs",
|
|
"README.md"
|
|
],
|
|
"keywords": [
|
|
"opencode",
|
|
"opencode-plugin",
|
|
"magpie",
|
|
"loomy",
|
|
"xunfei",
|
|
"讯飞"
|
|
],
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/magpie-community/plugins.git",
|
|
"directory": "packages/loomy"
|
|
}
|
|
}
|