Files
opencode-kimi-full/package.json
T
lemon07r b9c39fafc2 Release v1.1.2: prefer canonical kimi-for-coding slug; drop K2.6-specific wording
All Kimi For Coding plans currently return `kimi-for-coding` from
/coding/v1/models, so there's no real K2.5 vs K2.6 differentiation to
surface. Keep the wire-rewrite safety net (in case Moonshot ever ships
a non-canonical slug), but:

- Selection now prefers the `kimi-for-coding` entry when the server
  returns it, falling back to the first element only when absent.
  Applies to both loader refresh and the post-login authorize callback.
- Post-login console message no longer implies K2.6-specific validation
  ("Authorized for Kimi For Coding" instead of "Kimi for Coding:
  authorized" followed by tier speculation).
- README drops K2.5/K2.6 tier routing language that was never quite
  accurate and is now moot. The model-id rewrite is described as a
  safety net, not a per-tier behavior.
- Added test/plugin.test.ts coverage for the canonical-slug preference.
2026-04-17 05:35:50 -04:00

47 lines
1.1 KiB
JSON

{
"name": "opencode-kimi-full",
"version": "1.1.2",
"description": "OpenCode plugin that adds first-class support for Kimi K2.6 (kimi-for-coding) via the official Kimi OAuth device flow, matching the upstream kimi-cli 1:1.",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/lemon07r/opencode-kimi-full.git"
},
"homepage": "https://github.com/lemon07r/opencode-kimi-full#readme",
"bugs": {
"url": "https://github.com/lemon07r/opencode-kimi-full/issues"
},
"publishConfig": {
"access": "public",
"provenance": true
},
"type": "module",
"main": "./src/index.ts",
"exports": {
".": "./src/index.ts"
},
"files": [
"src",
"README.md",
"AGENTS.md",
"LICENSE"
],
"keywords": [
"opencode",
"opencode-plugin",
"kimi",
"kimi-for-coding",
"kimi-k26",
"moonshot",
"oauth"
],
"peerDependencies": {
"@opencode-ai/plugin": ">=1.4.6"
},
"devDependencies": {
"@opencode-ai/plugin": "^1.4.7",
"typescript": "^5.6.0",
"@types/node": "^22.0.0"
}
}