opencode-haimati 2.1.2 → 2.1.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 CHANGED
@@ -148,8 +148,9 @@ ${a}`),await c.info("[haimati_list] \u5217\u51FA\u6210\u529F: \u5168\u90E8"),a}c
148
148
  \u5982\u679C\u6CA1\u4EC0\u4E48\u53EF\u505A\u7684\uFF0C\u56DE\u590D"\u65E0"`}]}}).then(h=>{let p=h?.data?.info?.id;p&&o.add(p),i.delete(s.sessionID),a.set(s.sessionID,Date.now()+l),c.info(`[autoWrite] AI\u8BB0\u5FC6\u5199\u5165\u5B8C\u6210 session=${s.sessionID}`)}).catch(h=>{i.delete(s.sessionID),a.set(s.sessionID,Date.now()+l);let p=h instanceof Error?h.message:String(h);c.error(`[autoWrite] \u5931\u8D25: ${p}`)})),await c.debug(`[message.updated] AI\u56DE\u590D\u7ED3\u675F messageID=${s.id}`)}}},"chat.message":async(u,s)=>{let g=s.parts.filter(cn);g.length!==0&&(f.has(s.message.sessionID)||(f.add(s.message.sessionID),s.parts.unshift({id:`prt_auto_reminder_${Date.now()}`,sessionID:g[0].sessionID??s.message.sessionID,messageID:g[0].messageID??s.message.id,type:"text",text:`<system-reminder>
149
149
  \u4F60\u6709\u4E00\u5957\u6D77\u9A6C\u4F53\u8BB0\u5FC6\u63D2\u4EF6\u53EF\u7528
150
150
 
151
- 1\u3001\u5DE5\u4F5C\u524D\u8BFB\u53D6\u6240\u6709\u76F8\u5173\u7684\u6D77\u9A6C\u4F53\u8BB0\u5FC6
151
+ 1\u3001\u9047\u5230\u590D\u6742\u5DE5\u4F5C\u65F6\uFF0C\u8BFB\u53D6\u6240\u6709\u76F8\u5173\u7684\u6D77\u9A6C\u4F53\u8BB0\u5FC6
152
152
  - \u786E\u8BA4\u6D77\u9A6C\u4F53\u4E2D\u662F\u5426\u5B58\u5728\u76F8\u5173\u8BB0\u5FC6\uFF0C\u5982\u679C\u5B58\u5728\uFF0C\u5219\u8BFB\u53D6\u5168\u90E8\u6D77\u9A6C\u4F53\u4E2D\u7684\u76F8\u5173\u8BB0\u5FC6
153
+ - \u7B80\u5355\u5DE5\u4F5C\u53EF\u4EE5\u4E0D\u7528\u8BFB\u6D77\u9A6C\u4F53
153
154
 
154
155
  2\u3001\u5DE5\u4F5C\u7ED3\u675F\u540E\u603B\u7ED3\u8BB0\u5FC6\uFF1A
155
156
  - \u5C06\u5DE5\u4F5C\u4E2D\u5B66\u4E60\u7684\u65B0\u77E5\u8BC6\u65B0\u7ECF\u9A8C\u548C\u76F8\u5173\u6587\u4EF6\u5173\u8054\u5728\u4E00\u8D77\u5199\u5165\u6D77\u9A6C\u4F53\u8BB0\u5FC6
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-haimati",
3
- "version": "2.1.2",
3
+ "version": "2.1.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": "2.1.2",
3
+ "version": "2.1.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",