@memtensor/memos-local-openclaw-plugin 0.3.1 → 0.3.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/config.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { type MemosLiteConfig, type PluginContext, type Logger } from "./types";
2
- export declare function resolveConfig(raw: Partial<MemosLiteConfig> | undefined, stateDir: string): MemosLiteConfig;
3
- export declare function buildContext(stateDir: string, workspaceDir: string, rawConfig: Partial<MemosLiteConfig> | undefined, log?: Logger): PluginContext;
1
+ import { type MemosLocalConfig, type PluginContext, type Logger } from "./types";
2
+ export declare function resolveConfig(raw: Partial<MemosLocalConfig> | undefined, stateDir: string): MemosLocalConfig;
3
+ export declare function buildContext(stateDir: string, workspaceDir: string, rawConfig: Partial<MemosLocalConfig> | undefined, log?: Logger): PluginContext;
4
4
  //# sourceMappingURL=config.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AACA,OAAO,EAAY,KAAK,eAAe,EAAE,KAAK,aAAa,EAAE,KAAK,MAAM,EAAE,MAAM,SAAS,CAAC;AAqB1F,wBAAgB,aAAa,CAAC,GAAG,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,SAAS,EAAE,QAAQ,EAAE,MAAM,GAAG,eAAe,CAkC1G;AAED,wBAAgB,YAAY,CAC1B,QAAQ,EAAE,MAAM,EAChB,YAAY,EAAE,MAAM,EACpB,SAAS,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,SAAS,EAC/C,GAAG,CAAC,EAAE,MAAM,GACX,aAAa,CAcf"}
1
+ {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AACA,OAAO,EAAY,KAAK,gBAAgB,EAAE,KAAK,aAAa,EAAE,KAAK,MAAM,EAAE,MAAM,SAAS,CAAC;AAqB3F,wBAAgB,aAAa,CAAC,GAAG,EAAE,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AAe,EAAE,GAAG,IAAI,CAAC;QAC3D,IAAI,EAAE,CAAC,GAAG,IAAI,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,eAAe,EAAE,GAAG,IAAI,CAAC;QACzD,IAAI,EAAE,CAAC,GAAG,IAAI,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,eAAe,EAAE,GAAG,IAAI,CAAC;QACzD,KAAK,EAAE,CAAC,GAAG,IAAI,EAAE,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,eAAe,EAAE,GAAG,IAAI,CAAC;KAC5D,CAAC;IAEF,OAAO;QACL,QAAQ;QACR,YAAY;QACZ,MAAM,EAAE,aAAa,CAAC,SAAS,EAAE,QAAQ,CAAC;QAC1C,GAAG,EAAE,GAAG,IAAI,UAAU;KACvB,CAAC;AACJ,CAAC"}
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import type { MemosLiteConfig, ToolDefinition, Logger } from "./types";
2
- export interface MemosLitePlugin {
1
+ import type { MemosLocalConfig, ToolDefinition, Logger } from "./types";
2
+ export interface MemosLocalPlugin {
3
3
  id: string;
4
4
  tools: ToolDefinition[];
5
5
  onConversationTurn: (messages: Array<{
@@ -13,7 +13,7 @@ export interface MemosLitePlugin {
13
13
  export interface PluginInitOptions {
14
14
  stateDir?: string;
15
15
  workspaceDir?: string;
16
- config?: Partial<MemosLiteConfig>;
16
+ config?: Partial<MemosLocalConfig>;
17
17
  log?: Logger;
18
18
  }
19
19
  /**
@@ -39,6 +39,6 @@ export interface PluginInitOptions {
39
39
  * }
40
40
  * ```
41
41
  */
42
- export declare function initPlugin(opts?: PluginInitOptions): MemosLitePlugin;
43
- export type { MemosLiteConfig, ToolDefinition, SearchResult, SearchHit, TimelineResult, GetResult } from "./types";
42
+ export declare function initPlugin(opts?: PluginInitOptions): MemosLocalPlugin;
43
+ export type { MemosLocalConfig, ToolDefinition, SearchResult, SearchHit, TimelineResult, GetResult } from "./types";
44
44
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAEvE,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,cAAc,EAAE,CAAC;IACxB,kBAAkB,EAAE,CAAC,QAAQ,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC,EAAE,UAAU,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACtG,0DAA0D;IAC1D,KAAK,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC3B,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,MAAM,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC;IAClC,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,UAAU,CAAC,IAAI,GAAE,iBAAsB,GAAG,eAAe,CAgDxE;AAQD,YAAY,EAAE,eAAe,EAAE,cAAc,EAAE,YAAY,EAAE,SAAS,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAExE,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,cAAc,EAAE,CAAC;IACxB,kBAAkB,EAAE,CAAC,QAAQ,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC,EAAE,UAAU,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACtG,0DAA0D;IAC1D,KAAK,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC3B,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,MAAM,CAAC,EAAE,OAAO,CAAC,gBAAgB,CAAC,CAAC;IACnC,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,UAAU,CAAC,IAAI,GAAE,iBAAsB,GAAG,gBAAgB,CAgDzE;AAQD,YAAY,EAAE,gBAAgB,EAAE,cAAc,EAAE,YAAY,EAAE,SAAS,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC"}
@@ -2,5 +2,5 @@
2
2
  * Bundled MemOS memory-guide skill content.
3
3
  * Written to workspace/skills/memos-memory-guide on plugin register so OpenClaw loads it.
4
4
  */
5
- export declare const MEMORY_GUIDE_SKILL_MD = "---\nname: memos-memory-guide\ndescription: Use the MemOS Lite memory system to search and use the user's past conversations. Use this skill whenever the user refers to past chats, their own preferences or history, or when you need to answer from prior context. When auto-recall returns nothing (long or unclear user query), generate your own short search query and call memory_search. Use task_summary when you need full task context, skill_get for experience guides, and memory_timeline to expand around a memory hit.\n---\n\n# MemOS Lite Memory \u2014 Agent Guide\n\nThis skill describes how to use the MemOS memory tools so you can reliably search and use the user's long-term conversation history.\n\n## How memory is provided each turn\n\n- **Automatic recall (hook):** At the start of each turn, the system runs a memory search using the user's current message and injects relevant past memories into your context. You do not need to call any tool for that.\n- **When that is not enough:** If the user's message is very long, vague, or the automatic search returns **no memories**, you should **generate your own short, focused query** and call `memory_search` yourself. For example:\n - User sent a long paragraph \u2192 extract 1\u20132 key topics or a short question and search with that.\n - Auto-recall said \"no memories\" or you see no memory block \u2192 call `memory_search` with a query you derive (e.g. the user's name, a topic they often mention, or a rephrased question).\n- **When you need more detail:** Search results only give excerpts and IDs. Use the tools below to fetch full task context, skill content, or surrounding messages.\n\n## Tools \u2014 what they do and when to call\n\n### memory_search\n\n- **What it does:** Searches the user's stored conversation memory by a natural-language query. Returns a list of relevant excerpts with `chunkId` and optionally `task_id`.\n- **When to call:**\n - The automatic recall did not run or returned nothing (e.g. no `<memory_context>` block, or a note that no memories were found).\n - The user's query is long or unclear \u2014 **generate a short query yourself** (keywords, rephrased question, or a clear sub-question) and call `memory_search(query=\"...\")`.\n - You need to search with a different angle (e.g. filter by `role='user'` to find what the user said, or use a more specific query).\n- **Parameters:** `query` (required), optional `minScore`, `role` (e.g. `\"user\"`).\n- **Output:** List of items with role, excerpt, `chunkId`, and sometimes `task_id`. Use those IDs with the tools below when you need more context.\n\n### task_summary\n\n- **What it does:** Returns the full task summary for a given `task_id`: title, status, and the complete narrative summary of that conversation task (steps, decisions, URLs, commands, etc.).\n- **When to call:** A `memory_search` hit included a `task_id` and you need the full story of that task (e.g. what was done, what the user decided, what failed or succeeded).\n- **Parameters:** `taskId` (from a search hit).\n- **Effect:** You get one coherent summary of the whole task instead of isolated excerpts.\n\n### skill_get\n\n- **What it does:** Returns the content of a learned skill (experience guide) by `skillId` or by `taskId`. If you pass `taskId`, the system finds the skill linked to that task.\n- **When to call:** A search hit has a `task_id` and the task is the kind that has a \"how to do this again\" guide (e.g. a workflow the user has run before). Use this to follow the same approach or reuse steps.\n- **Parameters:** `skillId` (direct) or `taskId` (lookup).\n- **Effect:** You receive the full SKILL.md-style guide. You can then call `skill_install(skillId)` if the user or you want that skill loaded for future turns.\n\n### skill_install\n\n- **What it does:** Installs a skill (by `skillId`) into the workspace so it is loaded in future sessions.\n- **When to call:** After `skill_get` when the skill is useful for ongoing use (e.g. the user's recurring workflow). Optional; only when you want the skill to be permanently available.\n- **Parameters:** `skillId`.\n\n### memory_timeline\n\n- **What it does:** Expands context around a single memory chunk: returns the surrounding conversation messages (\u00B1N turns) so you see what was said before and after that excerpt.\n- **When to call:** A `memory_search` hit is relevant but you need the surrounding dialogue (e.g. who said what next, or the exact follow-up question).\n- **Parameters:** `chunkId` (from a search hit), optional `window` (default 2).\n- **Effect:** You get a short, linear slice of the conversation around that chunk.\n\n### memory_viewer\n\n- **What it does:** Returns the URL of the MemOS Memory Viewer (web UI) where the user can browse, search, and manage their memories.\n- **When to call:** The user asks how to view their memories, open the memory dashboard, or manage stored data.\n- **Parameters:** None.\n- **Effect:** You can tell the user to open that URL in a browser.\n\n## Quick decision flow\n\n1. **No memories in context or auto-recall reported nothing**\n \u2192 Call `memory_search` with a **self-generated short query** (e.g. key topic or rephrased question).\n\n2. **Search returned hits with `task_id` and you need full context**\n \u2192 Call `task_summary(taskId)`.\n\n3. **Task has an experience guide you want to follow**\n \u2192 Call `skill_get(taskId=...)` (or `skill_get(skillId=...)` if you have the id). Optionally `skill_install(skillId)` for future use.\n\n4. **You need the exact surrounding conversation of a hit**\n \u2192 Call `memory_timeline(chunkId=...)`.\n\n5. **User asks where to see or manage their memories**\n \u2192 Call `memory_viewer()` and share the URL.\n\n## Writing good search queries\n\n- Prefer **short, focused** queries (a few words or one clear question).\n- Use **concrete terms**: names, topics, tools, or decisions (e.g. \"preferred editor\", \"deploy script\", \"API key setup\").\n- If the user's message is long, **derive one or two sub-queries** rather than pasting the whole message.\n- Use `role='user'` when you specifically want to find what the user said (e.g. preferences, past questions).\n";
5
+ export declare const MEMORY_GUIDE_SKILL_MD = "---\nname: memos-memory-guide\ndescription: Use the MemOS Local memory system to search and use the user's past conversations. Use this skill whenever the user refers to past chats, their own preferences or history, or when you need to answer from prior context. When auto-recall returns nothing (long or unclear user query), generate your own short search query and call memory_search. Use task_summary when you need full task context, skill_get for experience guides, and memory_timeline to expand around a memory hit.\n---\n\n# MemOS Local Memory \u2014 Agent Guide\n\nThis skill describes how to use the MemOS memory tools so you can reliably search and use the user's long-term conversation history.\n\n## How memory is provided each turn\n\n- **Automatic recall (hook):** At the start of each turn, the system runs a memory search using the user's current message and injects relevant past memories into your context. You do not need to call any tool for that.\n- **When that is not enough:** If the user's message is very long, vague, or the automatic search returns **no memories**, you should **generate your own short, focused query** and call `memory_search` yourself. For example:\n - User sent a long paragraph \u2192 extract 1\u20132 key topics or a short question and search with that.\n - Auto-recall said \"no memories\" or you see no memory block \u2192 call `memory_search` with a query you derive (e.g. the user's name, a topic they often mention, or a rephrased question).\n- **When you need more detail:** Search results only give excerpts and IDs. Use the tools below to fetch full task context, skill content, or surrounding messages.\n\n## Tools \u2014 what they do and when to call\n\n### memory_search\n\n- **What it does:** Searches the user's stored conversation memory by a natural-language query. Returns a list of relevant excerpts with `chunkId` and optionally `task_id`.\n- **When to call:**\n - The automatic recall did not run or returned nothing (e.g. no `<memory_context>` block, or a note that no memories were found).\n - The user's query is long or unclear \u2014 **generate a short query yourself** (keywords, rephrased question, or a clear sub-question) and call `memory_search(query=\"...\")`.\n - You need to search with a different angle (e.g. filter by `role='user'` to find what the user said, or use a more specific query).\n- **Parameters:** `query` (required), optional `minScore`, `role` (e.g. `\"user\"`).\n- **Output:** List of items with role, excerpt, `chunkId`, and sometimes `task_id`. Use those IDs with the tools below when you need more context.\n\n### task_summary\n\n- **What it does:** Returns the full task summary for a given `task_id`: title, status, and the complete narrative summary of that conversation task (steps, decisions, URLs, commands, etc.).\n- **When to call:** A `memory_search` hit included a `task_id` and you need the full story of that task (e.g. what was done, what the user decided, what failed or succeeded).\n- **Parameters:** `taskId` (from a search hit).\n- **Effect:** You get one coherent summary of the whole task instead of isolated excerpts.\n\n### skill_get\n\n- **What it does:** Returns the content of a learned skill (experience guide) by `skillId` or by `taskId`. If you pass `taskId`, the system finds the skill linked to that task.\n- **When to call:** A search hit has a `task_id` and the task is the kind that has a \"how to do this again\" guide (e.g. a workflow the user has run before). Use this to follow the same approach or reuse steps.\n- **Parameters:** `skillId` (direct) or `taskId` (lookup).\n- **Effect:** You receive the full SKILL.md-style guide. You can then call `skill_install(skillId)` if the user or you want that skill loaded for future turns.\n\n### skill_install\n\n- **What it does:** Installs a skill (by `skillId`) into the workspace so it is loaded in future sessions.\n- **When to call:** After `skill_get` when the skill is useful for ongoing use (e.g. the user's recurring workflow). Optional; only when you want the skill to be permanently available.\n- **Parameters:** `skillId`.\n\n### memory_timeline\n\n- **What it does:** Expands context around a single memory chunk: returns the surrounding conversation messages (\u00B1N turns) so you see what was said before and after that excerpt.\n- **When to call:** A `memory_search` hit is relevant but you need the surrounding dialogue (e.g. who said what next, or the exact follow-up question).\n- **Parameters:** `chunkId` (from a search hit), optional `window` (default 2).\n- **Effect:** You get a short, linear slice of the conversation around that chunk.\n\n### memory_viewer\n\n- **What it does:** Returns the URL of the MemOS Memory Viewer (web UI) where the user can browse, search, and manage their memories.\n- **When to call:** The user asks how to view their memories, open the memory dashboard, or manage stored data.\n- **Parameters:** None.\n- **Effect:** You can tell the user to open that URL in a browser.\n\n## Quick decision flow\n\n1. **No memories in context or auto-recall reported nothing**\n \u2192 Call `memory_search` with a **self-generated short query** (e.g. key topic or rephrased question).\n\n2. **Search returned hits with `task_id` and you need full context**\n \u2192 Call `task_summary(taskId)`.\n\n3. **Task has an experience guide you want to follow**\n \u2192 Call `skill_get(taskId=...)` (or `skill_get(skillId=...)` if you have the id). Optionally `skill_install(skillId)` for future use.\n\n4. **You need the exact surrounding conversation of a hit**\n \u2192 Call `memory_timeline(chunkId=...)`.\n\n5. **User asks where to see or manage their memories**\n \u2192 Call `memory_viewer()` and share the URL.\n\n## Writing good search queries\n\n- Prefer **short, focused** queries (a few words or one clear question).\n- Use **concrete terms**: names, topics, tools, or decisions (e.g. \"preferred editor\", \"deploy script\", \"API key setup\").\n- If the user's message is long, **derive one or two sub-queries** rather than pasting the whole message.\n- Use `role='user'` when you specifically want to find what the user said (e.g. preferences, past questions).\n";
6
6
  //# sourceMappingURL=bundled-memory-guide.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"bundled-memory-guide.d.ts","sourceRoot":"","sources":["../../src/skill/bundled-memory-guide.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,qBAAqB,ikMAsFjC,CAAC"}
1
+ {"version":3,"file":"bundled-memory-guide.d.ts","sourceRoot":"","sources":["../../src/skill/bundled-memory-guide.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,qBAAqB,mkMAsFjC,CAAC"}
@@ -7,10 +7,10 @@ exports.MEMORY_GUIDE_SKILL_MD = void 0;
7
7
  */
8
8
  exports.MEMORY_GUIDE_SKILL_MD = `---
9
9
  name: memos-memory-guide
10
- description: Use the MemOS Lite memory system to search and use the user's past conversations. Use this skill whenever the user refers to past chats, their own preferences or history, or when you need to answer from prior context. When auto-recall returns nothing (long or unclear user query), generate your own short search query and call memory_search. Use task_summary when you need full task context, skill_get for experience guides, and memory_timeline to expand around a memory hit.
10
+ description: Use the MemOS Local memory system to search and use the user's past conversations. Use this skill whenever the user refers to past chats, their own preferences or history, or when you need to answer from prior context. When auto-recall returns nothing (long or unclear user query), generate your own short search query and call memory_search. Use task_summary when you need full task context, skill_get for experience guides, and memory_timeline to expand around a memory hit.
11
11
  ---
12
12
 
13
- # MemOS Lite Memory — Agent Guide
13
+ # MemOS Local Memory — Agent Guide
14
14
 
15
15
  This skill describes how to use the MemOS memory tools so you can reliably search and use the user's long-term conversation history.
16
16
 
package/dist/types.d.ts CHANGED
@@ -184,7 +184,7 @@ export interface TelemetryConfig {
184
184
  posthogApiKey?: string;
185
185
  posthogHost?: string;
186
186
  }
187
- export interface MemosLiteConfig {
187
+ export interface MemosLocalConfig {
188
188
  summarizer?: SummarizerConfig;
189
189
  embedding?: EmbeddingConfig;
190
190
  storage?: {
@@ -238,7 +238,7 @@ export declare const DEFAULTS: {
238
238
  export interface PluginContext {
239
239
  stateDir: string;
240
240
  workspaceDir: string;
241
- config: MemosLiteConfig;
241
+ config: MemosLocalConfig;
242
242
  log: Logger;
243
243
  }
244
244
  export interface Logger {
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,IAAI,GAAG,MAAM,GAAG,WAAW,GAAG,QAAQ,GAAG,MAAM,CAAC;AAE5D,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,IAAI,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAID,MAAM,MAAM,WAAW,GAAG,QAAQ,GAAG,WAAW,GAAG,QAAQ,CAAC;AAE5D,MAAM,WAAW,KAAK;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,IAAI,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,SAAS,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;IAC3B,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,WAAW,EAAE,WAAW,CAAC;IACzB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB;AAID,MAAM,MAAM,UA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,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACrC,OAAO,EAAE,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;CAC/D"}
package/index.ts CHANGED
@@ -75,6 +75,35 @@ const memosLocalPlugin = {
75
75
  configSchema: pluginConfigSchema,
76
76
 
77
77
  register(api: OpenClawPluginApi) {
78
+ try {
79
+ require("better-sqlite3");
80
+ } catch (_e) {
81
+ const pluginDir = path.dirname(new URL(import.meta.url).pathname);
82
+ const msg = [
83
+ "",
84
+ "╔══════════════════════════════════════════════════════════════╗",
85
+ "║ MemOS Local Memory — better-sqlite3 native module missing ║",
86
+ "╠══════════════════════════════════════════════════════════════╣",
87
+ "║ ║",
88
+ "║ Run these commands to fix: ║",
89
+ "║ ║",
90
+ `║ cd ${pluginDir}`,
91
+ "║ npm rebuild better-sqlite3 ║",
92
+ "║ openclaw gateway stop && openclaw gateway start ║",
93
+ "║ ║",
94
+ "║ If rebuild fails, install build tools first: ║",
95
+ "║ macOS: xcode-select --install ║",
96
+ "║ Linux: sudo apt install build-essential python3 ║",
97
+ "║ ║",
98
+ "╚══════════════════════════════════════════════════════════════╝",
99
+ "",
100
+ ].join("\n");
101
+ api.logger.warn(msg);
102
+ throw new Error(
103
+ `better-sqlite3 native module not found. Fix: cd ${pluginDir} && npm rebuild better-sqlite3`
104
+ );
105
+ }
106
+
78
107
  const pluginCfg = (api.pluginConfig ?? {}) as Record<string, unknown>;
79
108
  const stateDir = api.resolvePath("~/.openclaw");
80
109
  const ctx = buildContext(stateDir, process.cwd(), pluginCfg as any, {
@@ -745,7 +774,7 @@ const memosLocalPlugin = {
745
774
  lastRecalledSummaries = filteredHits.map(h => h.summary);
746
775
 
747
776
  return {
748
- prependContext: `<memory_context>\n${context}\n</memory_context>`,
777
+ systemPrompt: context,
749
778
  };
750
779
  } catch (err) {
751
780
  const dur = performance.now() - recallT0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@memtensor/memos-local-openclaw-plugin",
3
- "version": "0.3.1",
3
+ "version": "0.3.3",
4
4
  "description": "MemOS Local memory plugin for OpenClaw — full-write, hybrid-recall, progressive retrieval",
5
5
  "type": "module",
6
6
  "main": "index.ts",
@@ -27,7 +27,7 @@
27
27
  "lint": "eslint src --ext .ts",
28
28
  "test": "vitest run",
29
29
  "test:watch": "vitest",
30
- "postinstall": "npm rebuild better-sqlite3 || echo 'WARNING: better-sqlite3 rebuild failed. Run: npm rebuild better-sqlite3 manually.'",
30
+ "postinstall": "node -e \"try{require('better-sqlite3')}catch(e){process.exit(1)}\" || npm rebuild better-sqlite3 || echo '\\n\\n⚠️ better-sqlite3 native module failed to build.\\n Run: cd ~/.openclaw/extensions/memos-local-openclaw-plugin && npm rebuild better-sqlite3\\n macOS: xcode-select --install first if needed.\\n'",
31
31
  "prepublishOnly": "npm run build"
32
32
  },
33
33
  "keywords": [
@@ -44,7 +44,7 @@
44
44
  "dependencies": {
45
45
  "@huggingface/transformers": "^3.8.0",
46
46
  "@sinclair/typebox": "^0.34.48",
47
- "better-sqlite3": "^11.7.0",
47
+ "better-sqlite3": "^12.6.2",
48
48
  "posthog-node": "^5.28.0",
49
49
  "uuid": "^10.0.0"
50
50
  },
@@ -1,9 +1,9 @@
1
1
  ---
2
2
  name: memos-memory-guide
3
- description: Use the MemOS Lite memory system to search and use the user's past conversations. Use this skill whenever the user refers to past chats, their own preferences or history, or when you need to answer from prior context. When auto-recall returns nothing (long or unclear user query), generate your own short search query and call memory_search. Use task_summary when you need full task context, skill_get for experience guides, and memory_timeline to expand around a memory hit.
3
+ description: Use the MemOS Local memory system to search and use the user's past conversations. Use this skill whenever the user refers to past chats, their own preferences or history, or when you need to answer from prior context. When auto-recall returns nothing (long or unclear user query), generate your own short search query and call memory_search. Use task_summary when you need full task context, skill_get for experience guides, and memory_timeline to expand around a memory hit.
4
4
  ---
5
5
 
6
- # MemOS Lite Memory — Agent Guide
6
+ # MemOS Local Memory — Agent Guide
7
7
 
8
8
  This skill describes how to use the MemOS memory tools so you can reliably search and use the user's long-term conversation history.
9
9
 
package/src/config.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as path from "path";
2
- import { DEFAULTS, type MemosLiteConfig, type PluginContext, type Logger } from "./types";
2
+ import { DEFAULTS, type MemosLocalConfig, type PluginContext, type Logger } from "./types";
3
3
 
4
4
  const ENV_RE = /\$\{([A-Z_][A-Z0-9_]*)\}/g;
5
5
 
@@ -20,7 +20,7 @@ function deepResolveEnv<T>(obj: T): T {
20
20
  return obj;
21
21
  }
22
22
 
23
- export function resolveConfig(raw: Partial<MemosLiteConfig> | undefined, stateDir: string): MemosLiteConfig {
23
+ export function resolveConfig(raw: Partial<MemosLocalConfig> | undefined, stateDir: string): MemosLocalConfig {
24
24
  const cfg = deepResolveEnv(raw ?? {});
25
25
 
26
26
  const telemetryEnvVar = process.env.TELEMETRY_ENABLED;
@@ -59,7 +59,7 @@ export function resolveConfig(raw: Partial<MemosLiteConfig> | undefined, stateDi
59
59
  export function buildContext(
60
60
  stateDir: string,
61
61
  workspaceDir: string,
62
- rawConfig: Partial<MemosLiteConfig> | undefined,
62
+ rawConfig: Partial<MemosLocalConfig> | undefined,
63
63
  log?: Logger,
64
64
  ): PluginContext {
65
65
  const defaultLog: Logger = {
package/src/index.ts CHANGED
@@ -6,9 +6,9 @@ import { IngestWorker } from "./ingest/worker";
6
6
  import { RecallEngine } from "./recall/engine";
7
7
  import { captureMessages } from "./capture";
8
8
  import { createMemorySearchTool, createMemoryTimelineTool, createMemoryGetTool } from "./tools";
9
- import type { MemosLiteConfig, ToolDefinition, Logger } from "./types";
9
+ import type { MemosLocalConfig, ToolDefinition, Logger } from "./types";
10
10
 
11
- export interface MemosLitePlugin {
11
+ export interface MemosLocalPlugin {
12
12
  id: string;
13
13
  tools: ToolDefinition[];
14
14
  onConversationTurn: (messages: Array<{ role: string; content: string }>, sessionKey?: string) => void;
@@ -20,7 +20,7 @@ export interface MemosLitePlugin {
20
20
  export interface PluginInitOptions {
21
21
  stateDir?: string;
22
22
  workspaceDir?: string;
23
- config?: Partial<MemosLiteConfig>;
23
+ config?: Partial<MemosLocalConfig>;
24
24
  log?: Logger;
25
25
  }
26
26
 
@@ -47,7 +47,7 @@ export interface PluginInitOptions {
47
47
  * }
48
48
  * ```
49
49
  */
50
- export function initPlugin(opts: PluginInitOptions = {}): MemosLitePlugin {
50
+ export function initPlugin(opts: PluginInitOptions = {}): MemosLocalPlugin {
51
51
  const stateDir = opts.stateDir ?? defaultStateDir();
52
52
  const workspaceDir = opts.workspaceDir ?? process.cwd();
53
53
  const ctx = buildContext(stateDir, workspaceDir, opts.config, opts.log);
@@ -103,4 +103,4 @@ function defaultStateDir(): string {
103
103
  }
104
104
 
105
105
  // Re-export types for consumers
106
- export type { MemosLiteConfig, ToolDefinition, SearchResult, SearchHit, TimelineResult, GetResult } from "./types";
106
+ export type { MemosLocalConfig, ToolDefinition, SearchResult, SearchHit, TimelineResult, GetResult } from "./types";
@@ -4,10 +4,10 @@
4
4
  */
5
5
  export const MEMORY_GUIDE_SKILL_MD = `---
6
6
  name: memos-memory-guide
7
- description: Use the MemOS Lite memory system to search and use the user's past conversations. Use this skill whenever the user refers to past chats, their own preferences or history, or when you need to answer from prior context. When auto-recall returns nothing (long or unclear user query), generate your own short search query and call memory_search. Use task_summary when you need full task context, skill_get for experience guides, and memory_timeline to expand around a memory hit.
7
+ description: Use the MemOS Local memory system to search and use the user's past conversations. Use this skill whenever the user refers to past chats, their own preferences or history, or when you need to answer from prior context. When auto-recall returns nothing (long or unclear user query), generate your own short search query and call memory_search. Use task_summary when you need full task context, skill_get for experience guides, and memory_timeline to expand around a memory hit.
8
8
  ---
9
9
 
10
- # MemOS Lite Memory — Agent Guide
10
+ # MemOS Local Memory — Agent Guide
11
11
 
12
12
  This skill describes how to use the MemOS memory tools so you can reliably search and use the user's long-term conversation history.
13
13
 
package/src/types.ts CHANGED
@@ -237,7 +237,7 @@ export interface TelemetryConfig {
237
237
  posthogHost?: string;
238
238
  }
239
239
 
240
- export interface MemosLiteConfig {
240
+ export interface MemosLocalConfig {
241
241
  summarizer?: SummarizerConfig;
242
242
  embedding?: EmbeddingConfig;
243
243
  storage?: {
@@ -297,7 +297,7 @@ export const DEFAULTS = {
297
297
  export interface PluginContext {
298
298
  stateDir: string;
299
299
  workspaceDir: string;
300
- config: MemosLiteConfig;
300
+ config: MemosLocalConfig;
301
301
  log: Logger;
302
302
  }
303
303