@herouucn/opencode-commandcode 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/plugin.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@herouucn/opencode-commandcode",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "Inject Command Code API provider into opencode — access Claude, GPT, Gemini, DeepSeek, Qwen, Kimi, GLM, MiniMax & Step via unified Command Code API. / 将 Command Code API provider 注入 opencode —— 通过统一的 Command Code API 使用 Claude、GPT、Gemini、DeepSeek、Qwen、Kimi、GLM、MiniMax 和 Step 模型。",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai",
|
package/plugin.ts
CHANGED
|
@@ -230,7 +230,7 @@ export default async function commandcodePlugin() {
|
|
|
230
230
|
if (typeof rawKey !== "string") return { type: "failed" as const };
|
|
231
231
|
const key = rawKey.trim();
|
|
232
232
|
if (!key) return { type: "failed" as const };
|
|
233
|
-
return { type: "
|
|
233
|
+
return { type: "api" as const, key };
|
|
234
234
|
},
|
|
235
235
|
},
|
|
236
236
|
],
|