@openviking/opencode-plugin 2026.10.12 → 2026.10.13
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.
|
@@ -102,7 +102,7 @@ function parseSseMessages(text) {
|
|
|
102
102
|
messages.push(JSON.parse(data));
|
|
103
103
|
}
|
|
104
104
|
|
|
105
|
-
for (const rawLine of String(text || "").split(/\r
|
|
105
|
+
for (const rawLine of String(text || "").split(/\r\n|\r|\n/)) {
|
|
106
106
|
if (rawLine === "") {
|
|
107
107
|
flush();
|
|
108
108
|
continue;
|
|
@@ -27,9 +27,15 @@ Write a memory digest for a coding agent about to answer that query. Keep the
|
|
|
27
27
|
concrete facts (paths, identifiers, decisions, constraints); drop pleasantries
|
|
28
28
|
and conversational filler.
|
|
29
29
|
|
|
30
|
+
Report only facts found in the fragments; never restate the user query as a
|
|
31
|
+
fact. Do not tell the agent what to do with them: no advice, instructions,
|
|
32
|
+
warnings, or next steps of your own. Report a preference or rule as something
|
|
33
|
+
the user recorded, not as a command to the agent.
|
|
34
|
+
|
|
30
35
|
Format rules:
|
|
31
36
|
- Group related facts by topic, one bullet per topic, at most ${maxBullets} bullets.
|
|
32
37
|
- Start every bullet with "- ".
|
|
38
|
+
- Write in the language of the user query.
|
|
33
39
|
- End every bullet with its source, copied verbatim from the fragments above:
|
|
34
40
|
"来源:viking://..." or "source: viking://...". Never edit, shorten, or invent a URI.
|
|
35
41
|
- Output the digest body only. No preamble, no closing remark.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openviking/opencode-plugin",
|
|
3
|
-
"version": "2026.10.
|
|
3
|
+
"version": "2026.10.13",
|
|
4
4
|
"author": "@openviking",
|
|
5
5
|
"description": "Unified OpenCode plugin for OpenViking repository retrieval and long-term memory",
|
|
6
6
|
"type": "module",
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"code-search"
|
|
47
47
|
],
|
|
48
48
|
"license": "Apache-2.0",
|
|
49
|
-
"openvikingSourceCommit": "
|
|
49
|
+
"openvikingSourceCommit": "22ea8c7b34602fddc8b6194fea361f8ed0e79e7c"
|
|
50
50
|
}
|