opencode-kilocode-auth 1.0.13 → 1.0.14
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/src/plugin.ts +2 -2
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-kilocode-auth",
|
|
3
3
|
"module": "index.ts",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.14",
|
|
5
5
|
"author": "ported from Kilo Code",
|
|
6
6
|
"description": "OpenCode plugin for Kilo Code authentication with support for various models including Giga Potato",
|
|
7
7
|
"files": [
|
package/src/plugin.ts
CHANGED
|
@@ -261,8 +261,8 @@ RULES
|
|
|
261
261
|
- Output text to communicate with the user; all text you output outside of tool use is displayed to the user.`
|
|
262
262
|
|
|
263
263
|
if (systemIdx >= 0) {
|
|
264
|
-
//
|
|
265
|
-
payload.messages[systemIdx].content = kiloCodeSystemPrompt
|
|
264
|
+
// REPLACE the system message entirely with our custom prompt
|
|
265
|
+
payload.messages[systemIdx].content = kiloCodeSystemPrompt
|
|
266
266
|
} else {
|
|
267
267
|
// Add system message at the beginning
|
|
268
268
|
payload.messages.unshift({ role: "system", content: kiloCodeSystemPrompt })
|