opencode-haimati 1.4.2 → 1.4.3
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
|
@@ -337,7 +337,7 @@ ${o}`),await f.info("[haimati_list] \u5217\u51FA\u6210\u529F: \u5168\u90E8"),o}c
|
|
|
337
337
|
- \u4E0D\u786E\u5B9A\u5206\u7C7B\u65F6\uFF0C\u5148\u7528 haimati_list \u67E5\u770B\u73B0\u6709\u7ED3\u6784
|
|
338
338
|
|
|
339
339
|
\u5982\u679C\u6CA1\u4EC0\u4E48\u53EF\u505A\u7684\uFF0C\u56DE\u590D"\u65E0"`}]}}).then(h=>{let d=h?.data?.info?.id;d&&a.add(d),i.delete(u.sessionID),o.set(u.sessionID,Date.now()+c),f.info(`[autoWrite] AI\u8BB0\u5FC6\u5199\u5165\u5B8C\u6210 session=${u.sessionID}`)}).catch(h=>{i.delete(u.sessionID),o.set(u.sessionID,Date.now()+c);let d=h instanceof Error?h.message:String(h);f.error(`[autoWrite] \u5931\u8D25: ${d}`)})),await f.debug(`[message.updated] AI\u56DE\u590D\u7ED3\u675F messageID=${u.id}`)}}},"chat.message":async(m,u)=>{let l=u.parts.filter(Pe);if(l.length!==0){if(s.has(u.message.sessionID)){u.parts.unshift({id:`prt_auto_reminder_${Date.now()}`,sessionID:l[0].sessionID??u.message.sessionID,messageID:l[0].messageID??u.message.id,type:"text",text:`<\u6D77\u9A6C\u4F53\u81EA\u52A8\u63D0\u793A>
|
|
340
|
-
\u8BF7\u786E\u8BA4\
|
|
340
|
+
\u5DE5\u4F5C\u524D\u8BF7\u786E\u8BA4\u662F\u5426\u5DF2\u8BFB\u53D6\u6240\u6709\u76F8\u5173\u7684\u6D77\u9A6C\u4F53\u8BB0\u5FC6
|
|
341
341
|
</\u6D77\u9A6C\u4F53\u81EA\u52A8\u63D0\u793A>`,synthetic:!0}),await f.debug("[chat.message] \u6CE8\u5165\u7B80\u77ED\u786E\u8BA4\u63D0\u793A");return}s.add(u.message.sessionID),u.parts.unshift({id:`prt_auto_reminder_${Date.now()}`,sessionID:l[0].sessionID??u.message.sessionID,messageID:l[0].messageID??u.message.id,type:"text",text:`<\u6D77\u9A6C\u4F53\u81EA\u52A8\u63D0\u793A>
|
|
342
342
|
\u4F60\u6709\u4E00\u5957\u6D77\u9A6C\u4F53\u8BB0\u5FC6\u63D2\u4EF6\u53EF\u7528
|
|
343
343
|
|
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-haimati",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.3",
|
|
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": "1.4.
|
|
3
|
+
"version": "1.4.3",
|
|
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",
|