Adds kimi-work 0.1.3 (kupakupar): a provider for the Kimi desktop's Work
subscription, using the desktop app's own local sign-in. It stores only
a hashed account reference, rereads the desktop's tokens on each call,
writes nothing to disk and logs nothing.
Re-reviewed at d9fe48d against the last review at fc3e395:
- (1) the desktop credential: decided acceptable (same as WorkBuddy,
Qoder, ZCode: each user's own allowance).
- (2) macOS record: COMPATIBILITY.md, macOS 26.6.2 arm64, Kimi 3.2.17
(3.2.17.4), magpie 0.1.1276 (released 2026-10-16 17:11Z, before the
20:09Z run), Bun 1.4.3. The path and four field names match readDesktop.
- expireTime: resetsAt dropped, window renamed 会员共享额度.
- efforts: every advertised level is kept (redacted real catalog fixture).
- kimi-work-opencode overlap: the README credits it and says not to
enable both.
- Request input: handled; body, headers and signal are kept, and the
desktop credential replaces any caller Authorization or Cookie.
- Icon is shipped once (package.json); the UA reads the package version.
Run at d9fe48d, and merged onto origin/main 2ea25b9 together with #169:
- HOME=$(mktemp -d) bun test: 1656 pass, 0 fail (merged: 1668 pass, 0 fail).
- bun test packages/kimi-work: 8 pass.
- bun scripts/check.mjs: ok (kimi-work checked).
- git diff --check, npm pack --dry-run (4 files), node scripts/dist.mjs
(packs opencode-kimi-work-auth@0.1.3), scripts/new-to-npm.sh (new).
- Broken by hand: String(input) for Request and the old effort allow-list
each turn their new test red.
- No CI ran on the PR. No real Kimi account or credential was used.
49 lines
1.1 KiB
JSON
49 lines
1.1 KiB
JSON
{
|
|
"data": [
|
|
{
|
|
"id": "k3-agent",
|
|
"display_name": "K3",
|
|
"context_length": 1000000,
|
|
"supports_image_in": true,
|
|
"supports_reasoning": true,
|
|
"reasoningEffortOptions": [
|
|
{
|
|
"effort": "REASONING_EFFORT_LOW",
|
|
"displayName": "Standard"
|
|
},
|
|
{
|
|
"effort": "REASONING_EFFORT_HIGH",
|
|
"displayName": "High"
|
|
},
|
|
{
|
|
"effort": "REASONING_EFFORT_MAX",
|
|
"displayName": "Max",
|
|
"description": "Consumes more credits"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "k2d8-preview",
|
|
"display_name": "K2.8 Preview",
|
|
"context_length": 1000000,
|
|
"supports_image_in": true,
|
|
"supports_reasoning": true,
|
|
"reasoningEffortOptions": [
|
|
{
|
|
"effort": "REASONING_EFFORT_LOW",
|
|
"displayName": "Standard"
|
|
},
|
|
{
|
|
"effort": "REASONING_EFFORT_HIGH",
|
|
"displayName": "High"
|
|
},
|
|
{
|
|
"effort": "REASONING_EFFORT_MAX",
|
|
"displayName": "Max",
|
|
"description": "Consumes more credits"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|