opencode-haimati 2.1.9 → 2.2.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 CHANGED
@@ -156,8 +156,8 @@ ${a}`),await s.info("[haimati_list] \u5217\u51FA\u6210\u529F: \u5168\u90E8"),a}c
156
156
  3. \u5B66\u5230\u65B0\u77E5\u8BC6 \u2192 \u5199\u5165\u8BB0\u5FC6\u5E76\u5173\u8054\u6587\u4EF6\u8DEF\u5F84
157
157
  4. \u6301\u7EED\u7EF4\u62A4 \u2192 \u7EA0\u6B63\u9519\u8BEF\u3001\u5408\u5E76\u91CD\u590D\u3001\u5220\u9664\u8FC7\u671F\u3001\u8C03\u6574\u5206\u7C7B
158
158
  5. \u5185\u5BB9\u8981\u548C\u6807\u9898\u76F8\u5173\uFF0C\u4E0D\u76F8\u5173\u7684\u5185\u5BB9\u62C6\u5206\u5230\u65B0\u8BB0\u5FC6
159
- 6. \u7528\u6237\u8BA9\u4F60\u8BB0\u4F4F\u7684\u4E8B\u60C5\uFF0C\u4F60\u8981\u8BB0\u5230\u6D77\u9A6C\u4F53\u91CC
160
- 7. \u8BB0\u5FC6\u8981\u5173\u8054\u5230\u672A\u6765\u80FD\u89E6\u53D1AI\u56DE\u5FC6\u8D77\u6765\u7684\u6587\u4EF6\u4E0A\uFF0C\u6BD4\u5982"\u529F\u80FD\u6709\u66F4\u65B0\u5C31\u66F4\u65B0\u6587\u6863"\uFF0C\u8FD9\u4E2A\u8BB0\u5FC6\u5E94\u8BE5\u5173\u8054\u5230\u4EE3\u7801\u6839\u76EE\u5F55\u4E0A\uFF0C\u8FD9\u6837\u624D\u80FD\u5B9E\u73B0\u8BFB\u53D6\u4EE3\u7801\u5C31\u60F3\u8D77\u6765\u5982\u679C\u6709\u6539\u4EE3\u7801\u5C31\u66F4\u65B0\u6587\u6863
159
+ 6. \u7528\u6237\u8BA9\u4F60\u8BB0\u4F4F\u7684\u4E8B\u60C5\uFF0C\u4F60\u8981\u8BB0\u5230\u6D77\u9A6C\u4F53\u91CC\uFF0C\u5173\u8054\u5230\u9879\u76EE\u6839\u76EE\u5F55
160
+ 7. \u8BB0\u5FC6\u8981\u5173\u8054\u5230\u672A\u6765\u80FD\u89E6\u53D1AI\u56DE\u5FC6\u7684\u6587\u4EF6\u4E0A\uFF0C\u6BD4\u5982"\u529F\u80FD\u6709\u66F4\u65B0\u5C31\u66F4\u65B0\u6587\u6863"\uFF0C\u8FD9\u4E2A\u8BB0\u5FC6\u5E94\u8BE5\u5173\u8054\u5230\u4EE3\u7801\u6839\u76EE\u5F55\u4E0A\uFF0C\u8FD9\u6837\u624D\u80FD\u5B9E\u73B0\u8BFB\u53D6\u4EE3\u7801\u5C31\u60F3\u8D77\u6765\u5982\u679C\u6709\u6539\u4EE3\u7801\u5C31\u66F4\u65B0\u6587\u6863\u8FD9\u4EF6\u4E8B
161
161
  </system-reminder>`,synthetic:!0}),n.autoMemory!==!1)try{let x=await N(t.directory),_=new Set;for(let E of["./","."])if(x[E])for(let v of x[E])_.add(v);if(_.size>0){let E=await k(t.directory),v=[],U=h(p.message.sessionID);for(let V of _){let A=R(E,V);if(!A)continue;let D=await I(t.directory,A.id);if(!D)continue;let it=et(x,A.id);it.length>0&&(D.systemMeta={...D.systemMeta,file_paths:it.join(", ")});let O=q(A,D);v.push(`===== #${A.id.padStart(3,"0")} =====
162
162
  ${O}`),M(U,V,D.updatedAt)}v.length>0&&p.parts.push({id:`prt_root_memo_${Date.now()}`,sessionID:S[0].sessionID??p.message.sessionID,messageID:S[0].messageID??p.message.id,type:"text",text:`<system-reminder>
163
163
  \u9879\u76EE\u6839\u76EE\u5F55\u5173\u8054\u4E86\u4EE5\u4E0B\u6D77\u9A6C\u4F53\u8BB0\u5FC6\uFF08\u9879\u76EE\u5168\u5C40\u4E0A\u4E0B\u6587\uFF09\uFF1A
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-haimati",
3
- "version": "2.1.9",
3
+ "version": "2.2.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.1.9",
3
+ "version": "2.2.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",