Files
plugins/packages/sensenova/package.json
T
yetone 806fbff8bd sensenova 0.2.2: the reasoning tiers SenseNova's docs list per model
muran_91096 on Discord asked for max, and quoted SenseNova's docs:
glm-5.3 takes low/high/max, deepseek-flash none/low/high/max,
deepseek-v4-flash none/minimal/low/medium/high/xhigh/max, kimi-k3
low/medium/high/max. The plugin offered none/low/high to every model,
so max was missing, and kimi-k3 and glm-5.3 were offered a "none"
the docs don't list.

DOC_EFFORTS holds those four; the live listing (modelOf) and the
declared models (variantsOf) give exactly them. Every other model keeps
the narrow common three. Anthropic's wire skips minimal and xhigh.

Run (mote): bun test in packages/sensenova, 58 pass; bun
scripts/check.mjs all ok. Broken by hand: without the DOC_EFFORTS lookup
the new api.test case fails.
Not tried: a real request at each tier (no SenseNova account here); the
tiers are the vendor's docs, not measured.

Reported-by: muran_91096 (Discord)
2026-11-10 01:20:17 +08:00

39 lines
878 B
JSON

{
"name": "@magpie-community/opencode-sensenova-auth",
"version": "0.2.2",
"description": "SenseNova (SenseTime 日日新) Token Plan in OpenCode and magpie: browser or password sign-in for the credit pools, windows and grants, plus the plan's models through a Token Plan API key",
"type": "module",
"main": "./opencode.mjs",
"exports": {
".": "./opencode2.mjs"
},
"files": [
"index.mjs",
"opencode.mjs",
"opencode2.mjs",
"lib/",
"README.md"
],
"keywords": [
"opencode",
"opencode-plugin",
"magpie",
"sensenova",
"sensetime",
"日日新",
"token-plan",
"credits",
"quota",
"glm"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/magpie-community/plugins.git",
"directory": "packages/sensenova"
},
"magpie": {
"maxConcurrency": 1
}
}