opencode-haimati 2.2.9 → 2.3.0
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/dist/index.js +1 -1
- package/dist/package.json +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -146,7 +146,7 @@ ${a}`),await s.info("[haimati_list] \u5217\u51FA\u6210\u529F: \u5168\u90E8"),a}c
|
|
|
146
146
|
- \u4E0D\u786E\u5B9A\u5206\u7C7B\u65F6\uFF0C\u5148\u7528 haimati_list \u67E5\u770B\u73B0\u6709\u7ED3\u6784
|
|
147
147
|
|
|
148
148
|
\u5982\u679C\u6CA1\u4EC0\u4E48\u53EF\u505A\u7684\uFF0C\u56DE\u590D"\u65E0"`}]}}).then(C=>{let y=C?.data?.info?.id;y&&($(o,M),o.add(y)),i.delete(h.sessionID),a.set(h.sessionID,Date.now()+c),s.info(`[autoWrite] AI\u8BB0\u5FC6\u5199\u5165\u5B8C\u6210 session=${h.sessionID}`)}).catch(C=>{i.delete(h.sessionID),a.set(h.sessionID,Date.now()+c);let y=C instanceof Error?C.message:String(C);s.error(`[autoWrite] \u5931\u8D25: ${y}`)})),await s.debug(`[message.updated] AI\u56DE\u590D\u7ED3\u675F messageID=${h.id}`)}}},"chat.message":async(p,h)=>{let x=h.parts.filter(Sn);if(x.length!==0)if(l.has(h.message.sessionID))h.parts.unshift({id:`prt_reminder_${Date.now()}`,sessionID:x[0].sessionID??h.message.sessionID,messageID:x[0].messageID??h.message.id,type:"text",text:`<system-reminder>
|
|
149
|
-
\
|
|
149
|
+
\u672C\u6B21\u5DE5\u4F5C\u5B8C\u6210\u540E\u8981\u603B\u7ED3\u8BB0\u5FC6
|
|
150
150
|
</system-reminder>`,synthetic:!0}),await s.debug("[chat.message] \u540E\u7EED\u6D88\u606F\u6CE8\u5165\u8BB0\u5FC6\u603B\u7ED3\u63D0\u793A");else{$(l,g),l.add(h.message.sessionID);let C=`<system-reminder>
|
|
151
151
|
# \u6D77\u9A6C\u4F53\u8BB0\u5FC6\u4F7F\u7528\u8BF4\u660E
|
|
152
152
|
|
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-haimati",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3.0",
|
|
4
4
|
"description": "OpenCode plugin for a file-based memory system inspired by the hippocampus, providing long-term memory storage and retrieval across sessions.",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"type": "module",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-haimati",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3.0",
|
|
4
4
|
"description": "OpenCode plugin for a file-based memory system inspired by the hippocampus, providing long-term memory storage and retrieval across sessions.",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"type": "module",
|