openclaw-mem 1.0.4 → 1.2.1

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.
Files changed (46) hide show
  1. package/HOOK.md +125 -0
  2. package/LICENSE +1 -1
  3. package/MCP.json +11 -0
  4. package/README.md +146 -168
  5. package/context-builder.js +703 -0
  6. package/database.js +520 -0
  7. package/debug-logger.js +280 -0
  8. package/extractor.js +211 -0
  9. package/gateway-llm.js +155 -0
  10. package/handler.js +1122 -0
  11. package/mcp-http-api.js +356 -0
  12. package/mcp-server.js +525 -0
  13. package/mem-get.sh +24 -0
  14. package/mem-search.sh +17 -0
  15. package/monitor.js +112 -0
  16. package/package.json +53 -29
  17. package/realtime-monitor.js +371 -0
  18. package/session-watcher.js +192 -0
  19. package/setup.js +114 -0
  20. package/sync-recent.js +63 -0
  21. package/README_CN.md +0 -201
  22. package/bin/openclaw-mem.js +0 -117
  23. package/docs/locales/README_AR.md +0 -35
  24. package/docs/locales/README_DE.md +0 -35
  25. package/docs/locales/README_ES.md +0 -35
  26. package/docs/locales/README_FR.md +0 -35
  27. package/docs/locales/README_HE.md +0 -35
  28. package/docs/locales/README_HI.md +0 -35
  29. package/docs/locales/README_ID.md +0 -35
  30. package/docs/locales/README_IT.md +0 -35
  31. package/docs/locales/README_JA.md +0 -57
  32. package/docs/locales/README_KO.md +0 -35
  33. package/docs/locales/README_NL.md +0 -35
  34. package/docs/locales/README_PL.md +0 -35
  35. package/docs/locales/README_PT.md +0 -35
  36. package/docs/locales/README_RU.md +0 -35
  37. package/docs/locales/README_TH.md +0 -35
  38. package/docs/locales/README_TR.md +0 -35
  39. package/docs/locales/README_UK.md +0 -35
  40. package/docs/locales/README_VI.md +0 -35
  41. package/docs/logo.svg +0 -32
  42. package/lib/context-builder.js +0 -415
  43. package/lib/database.js +0 -309
  44. package/lib/handler.js +0 -494
  45. package/scripts/commands.js +0 -141
  46. package/scripts/init.js +0 -248
package/setup.js ADDED
@@ -0,0 +1,114 @@
1
+ #!/usr/bin/env node
2
+ /**
3
+ * OpenClaw-Mem Setup Script
4
+ *
5
+ * Prompts for DeepSeek API key and saves configuration
6
+ */
7
+
8
+ import readline from 'readline';
9
+ import fs from 'fs';
10
+ import path from 'path';
11
+ import os from 'os';
12
+
13
+ const CONFIG_DIR = path.join(os.homedir(), '.openclaw-mem');
14
+ const CONFIG_FILE = path.join(CONFIG_DIR, 'config.json');
15
+
16
+ const rl = readline.createInterface({
17
+ input: process.stdin,
18
+ output: process.stdout
19
+ });
20
+
21
+ function question(prompt) {
22
+ return new Promise((resolve) => {
23
+ rl.question(prompt, resolve);
24
+ });
25
+ }
26
+
27
+ async function setup() {
28
+ console.log('\n');
29
+ console.log('╔════════════════════════════════════════════════════════════╗');
30
+ console.log('║ 🧠 OpenClaw-Mem Setup ║');
31
+ console.log('╚════════════════════════════════════════════════════════════╝');
32
+ console.log('\n');
33
+
34
+ // Ensure config directory exists
35
+ if (!fs.existsSync(CONFIG_DIR)) {
36
+ fs.mkdirSync(CONFIG_DIR, { recursive: true });
37
+ }
38
+
39
+ // Load existing config
40
+ let config = {};
41
+ if (fs.existsSync(CONFIG_FILE)) {
42
+ try {
43
+ config = JSON.parse(fs.readFileSync(CONFIG_FILE, 'utf-8'));
44
+ } catch (e) {
45
+ config = {};
46
+ }
47
+ }
48
+
49
+ // Check if already configured
50
+ const existingKey = process.env.DEEPSEEK_API_KEY || config.deepseekApiKey;
51
+ if (existingKey) {
52
+ const maskedKey = existingKey.slice(0, 8) + '...' + existingKey.slice(-4);
53
+ console.log(`✓ DeepSeek API Key already configured: ${maskedKey}`);
54
+
55
+ const reconfigure = await question('\nDo you want to reconfigure? (y/N): ');
56
+ if (reconfigure.toLowerCase() !== 'y') {
57
+ console.log('\nSetup complete! OpenClaw-Mem is ready to use.\n');
58
+ rl.close();
59
+ return;
60
+ }
61
+ }
62
+
63
+ console.log('DeepSeek API is used for AI-powered session summarization.');
64
+ console.log('Get your API key at: https://platform.deepseek.com/\n');
65
+ console.log('(Press Enter to skip if you don\'t have one yet)\n');
66
+
67
+ const apiKey = await question('Enter your DeepSeek API Key: ');
68
+
69
+ if (apiKey.trim()) {
70
+ config.deepseekApiKey = apiKey.trim();
71
+
72
+ // Save to config file
73
+ fs.writeFileSync(CONFIG_FILE, JSON.stringify(config, null, 2));
74
+ console.log(`\n✓ API Key saved to ${CONFIG_FILE}`);
75
+
76
+ // Suggest adding to shell profile
77
+ console.log('\n📝 To use the API key, add this to your shell profile (~/.bashrc or ~/.zshrc):');
78
+ console.log(`\n export DEEPSEEK_API_KEY="${apiKey.trim()}"\n`);
79
+
80
+ // Ask if user wants to auto-add
81
+ const autoAdd = await question('Add to ~/.zshrc automatically? (y/N): ');
82
+ if (autoAdd.toLowerCase() === 'y') {
83
+ const zshrc = path.join(os.homedir(), '.zshrc');
84
+ const exportLine = `\n# OpenClaw-Mem DeepSeek API\nexport DEEPSEEK_API_KEY="${apiKey.trim()}"\n`;
85
+
86
+ try {
87
+ fs.appendFileSync(zshrc, exportLine);
88
+ console.log('\n✓ Added to ~/.zshrc');
89
+ console.log(' Run `source ~/.zshrc` or restart your terminal to apply.\n');
90
+ } catch (e) {
91
+ console.log(`\n⚠ Could not write to ~/.zshrc: ${e.message}`);
92
+ console.log(' Please add the export line manually.\n');
93
+ }
94
+ }
95
+ } else {
96
+ console.log('\n⚠ No API key provided. AI summarization will be disabled.');
97
+ console.log(' You can run `npx openclaw-mem-setup` later to configure.\n');
98
+ }
99
+
100
+ // Additional configuration
101
+ console.log('─'.repeat(60));
102
+ console.log('\n📁 Data storage location: ~/.openclaw-mem/');
103
+ console.log('📊 Database: ~/.openclaw-mem/memory.db');
104
+ console.log('🔌 HTTP API port: 18790');
105
+ console.log('\n✓ Setup complete! OpenClaw-Mem is ready to use.\n');
106
+
107
+ rl.close();
108
+ }
109
+
110
+ // Run setup
111
+ setup().catch(err => {
112
+ console.error('Setup failed:', err.message);
113
+ process.exit(1);
114
+ });
package/sync-recent.js ADDED
@@ -0,0 +1,63 @@
1
+ #!/usr/bin/env node
2
+ /**
3
+ * Sync recent messages from OpenClaw session files to database
4
+ */
5
+
6
+ import fs from 'node:fs';
7
+ import path from 'node:path';
8
+ import os from 'node:os';
9
+ import Database from 'better-sqlite3';
10
+
11
+ const SESSION_FILE = path.join(os.homedir(), '.openclaw/agents/main/sessions/b99a8d14-5b71-4f2d-8fb1-25b48cf4aa68.jsonl');
12
+ const DB_PATH = path.join(os.homedir(), '.openclaw-mem/memory.db');
13
+
14
+ const db = new Database(DB_PATH);
15
+ const insert = db.prepare(`
16
+ INSERT INTO observations (session_id, timestamp, tool_name, tool_input, tool_response, summary, concepts, tokens_discovery, tokens_read)
17
+ VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)
18
+ `);
19
+
20
+ const content = fs.readFileSync(SESSION_FILE, 'utf-8');
21
+ const lines = content.trim().split('\n').slice(-30); // Last 30 lines
22
+
23
+ let saved = 0;
24
+ for (const line of lines) {
25
+ try {
26
+ const entry = JSON.parse(line);
27
+ if (entry.type === 'message' && entry.message) {
28
+ const role = entry.message.role;
29
+ let text = '';
30
+ if (Array.isArray(entry.message.content)) {
31
+ text = entry.message.content.map(c => c.text || c).join(' ');
32
+ } else {
33
+ text = entry.message.content || '';
34
+ }
35
+
36
+ if (!text.trim()) continue;
37
+
38
+ const toolName = role === 'user' ? 'UserMessage' : 'AssistantMessage';
39
+ const summary = text.slice(0, 100) + (text.length > 100 ? '...' : '');
40
+
41
+ try {
42
+ insert.run(
43
+ 'live-sync',
44
+ entry.timestamp || new Date().toISOString(),
45
+ toolName,
46
+ JSON.stringify({ role }),
47
+ JSON.stringify({ content: text.slice(0, 2000) }),
48
+ summary,
49
+ text.slice(0, 500),
50
+ Math.ceil(text.length / 4),
51
+ Math.ceil(summary.length / 4)
52
+ );
53
+ saved++;
54
+ console.log(`✓ [${role}] ${text.slice(0, 50)}...`);
55
+ } catch (e) {
56
+ // Skip duplicates
57
+ }
58
+ }
59
+ } catch (e) {}
60
+ }
61
+
62
+ console.log(`\n已同步 ${saved} 条消息`);
63
+ db.close();
package/README_CN.md DELETED
@@ -1,201 +0,0 @@
1
- <p align="center">
2
- <img src="docs/logo.svg" alt="OpenClaw-Mem Logo" width="300"/>
3
- </p>
4
-
5
- <h1 align="center">OpenClaw-Mem 🧠</h1>
6
-
7
- <p align="center">
8
- <strong>为你的 OpenClaw AI 代理提供持久长期记忆</strong>
9
- </p>
10
-
11
- <p align="center">
12
- <a href="https://www.npmjs.com/package/openclaw-mem"><img src="https://img.shields.io/npm/v/openclaw-mem.svg" alt="npm version"/></a>
13
- <a href="https://opensource.org/licenses/MIT"><img src="https://img.shields.io/badge/License-MIT-yellow.svg" alt="License: MIT"/></a>
14
- <a href="https://www.npmjs.com/package/openclaw-mem"><img src="https://img.shields.io/npm/dm/openclaw-mem.svg" alt="npm downloads"/></a>
15
- </p>
16
-
17
- <p align="center">
18
- <a href="README.md">English</a> | 中文 |
19
- <a href="docs/locales/README_JA.md">日本語</a> |
20
- <a href="docs/locales/README_KO.md">한국어</a> |
21
- <a href="docs/locales/README_ES.md">Español</a> |
22
- <a href="docs/locales/README_FR.md">Français</a>
23
- </p>
24
-
25
- <hr/>
26
-
27
- OpenClaw-Mem 自动捕获你的对话并使其可搜索,让你的 AI 助手能够记住跨会话讨论的内容。
28
-
29
- ## ✨ 功能特性
30
-
31
- - **🔄 自动记忆捕获** - 对话自动保存
32
- - **🔍 全文搜索** - 搜索你的整个对话历史
33
- - **📊 渐进式披露** - 分层上下文,高效使用 token
34
- - **🎯 话题检测** - 自动按话题索引讨论内容
35
- - **💾 本地存储** - 所有数据保存在你的机器上(SQLite)
36
- - **⚡ 零配置** - 开箱即用
37
-
38
- ## 🚀 快速开始
39
-
40
- ```bash
41
- # 一键安装和设置!
42
- npx openclaw-mem init
43
-
44
- # 重启 OpenClaw 网关
45
- openclaw gateway restart
46
- ```
47
-
48
- 就这样!开始聊天,你的对话将被记住。
49
-
50
- ## 📖 使用方法
51
-
52
- ### 在聊天中回忆记忆
53
-
54
- 询问你的 AI 助手:
55
- - "我们之前讨论过什么?"
56
- - "上次我们在做什么?"
57
- - "提醒我关于认证问题的事"
58
-
59
- ### CLI 命令
60
-
61
- ```bash
62
- # 查看记忆状态
63
- npx openclaw-mem status
64
-
65
- # 搜索记忆
66
- npx openclaw-mem search "认证"
67
- npx openclaw-mem search "AI 记忆"
68
-
69
- # 卸载(保留数据库)
70
- npx openclaw-mem uninstall
71
- ```
72
-
73
- ## 🏗️ 工作原理
74
-
75
- ```
76
- +-------------+ +------------------+ +------------+
77
- | Telegram | --> | OpenClaw Gateway | --> | AI Agent |
78
- +-------------+ +------------------+ +------------+
79
- | |
80
- v v
81
- +--------------+ +------------+
82
- | openclaw-mem | | Read Tool |
83
- | hook | +------------+
84
- +--------------+ |
85
- | v
86
- +-------------------+----------------------+
87
- | |
88
- v v
89
- +---------------+ +------------------+
90
- | SQLite DB | | SESSION-MEMORY.md|
91
- | (持久存储) | | (注入上下文) |
92
- +---------------+ +------------------+
93
- ```
94
-
95
- ### 事件流程
96
-
97
- 1. **`gateway:startup`** - 初始化记忆数据库
98
- 2. **`agent:bootstrap`** - 向新会话注入历史上下文
99
- 3. **`command:new`** - 开始新对话时保存会话摘要
100
-
101
- ### 渐进式披露
102
-
103
- 为优化 token 使用,记忆按层级组织:
104
-
105
- | 层级 | 内容 | Token 消耗 |
106
- |------|------|-----------|
107
- | 索引 | 所有观察的紧凑表格 | 低 |
108
- | 话题 | 关键讨论摘要 | 中 |
109
- | 详情 | 完整内容(按需) | 高 |
110
-
111
- ## 📁 文件位置
112
-
113
- | 文件 | 位置 | 用途 |
114
- |------|------|------|
115
- | 数据库 | `~/.openclaw-mem/memory.db` | 持久存储 |
116
- | Hook | `~/.openclaw/hooks/openclaw-mem/` | 事件处理器 |
117
- | 记忆上下文 | `~/.openclaw/workspace/SESSION-MEMORY.md` | 注入的上下文 |
118
-
119
- ## ⚙️ 配置
120
-
121
- ### 自定义 MEMORY.md
122
-
123
- 在 `~/.openclaw/workspace/MEMORY.md` 中添加你的偏好:
124
-
125
- ```markdown
126
- ## 用户偏好
127
- - 沟通风格:技术性且简洁
128
- - 语言:中文
129
-
130
- ## 长期上下文
131
- - 正在做:AI 记忆系统
132
- - 兴趣:机器学习、分布式系统
133
-
134
- ## 当前关注
135
- - 当前项目:构建聊天应用
136
- ```
137
-
138
- ### 动态话题检测
139
-
140
- 系统自动从你的实际对话中提取话题:
141
- - 频繁提及的概念会被自动检测
142
- - 没有硬编码关键词 - 一切来自你的数据
143
- - 话题随你的讨论内容变化
144
-
145
- ## 🔧 故障排除
146
-
147
- ### 记忆没有被回忆?
148
-
149
- 1. **重启网关:**
150
- ```bash
151
- openclaw gateway restart
152
- ```
153
-
154
- 2. **检查 hook 是否安装:**
155
- ```bash
156
- ls ~/.openclaw/hooks/openclaw-mem/
157
- ```
158
-
159
- 3. **验证数据库有内容:**
160
- ```bash
161
- npx openclaw-mem status
162
- ```
163
-
164
- ### 搜索找不到结果?
165
-
166
- - 尝试更简单的搜索词
167
- - 检查拼写错误
168
- - 使用实际对话中的关键词
169
-
170
- ### 数据库问题?
171
-
172
- ```bash
173
- # 重置数据库(⚠️ 删除所有记忆)
174
- rm ~/.openclaw-mem/memory.db
175
- openclaw gateway restart
176
- ```
177
-
178
- ## 🤝 贡献
179
-
180
- 欢迎贡献!请随时提交 Pull Request。
181
-
182
- 1. Fork 仓库
183
- 2. 创建你的功能分支 (`git checkout -b feature/amazing-feature`)
184
- 3. 提交更改 (`git commit -m 'Add amazing feature'`)
185
- 4. 推送到分支 (`git push origin feature/amazing-feature`)
186
- 5. 打开 Pull Request
187
-
188
- ## 📄 许可证
189
-
190
- MIT 许可证 - 详见 [LICENSE](LICENSE)
191
-
192
- ## 🙏 致谢
193
-
194
- - 灵感来自 [claude-mem](https://github.com/anthropics/claude-mem)
195
- - 为 [OpenClaw](https://openclaw.ai) 构建
196
-
197
- ---
198
-
199
- <p align="center">
200
- 用 ❤️ 为 AI 社区制作
201
- </p>
@@ -1,117 +0,0 @@
1
- #!/usr/bin/env node
2
- /**
3
- * OpenClaw-Mem CLI
4
- *
5
- * Usage:
6
- * npx openclaw-mem init - Install hook to OpenClaw
7
- * npx openclaw-mem status - Show memory statistics
8
- * npx openclaw-mem search - Search memory
9
- * npx openclaw-mem uninstall - Remove hook
10
- */
11
-
12
- import { fileURLToPath } from 'node:url';
13
- import path from 'node:path';
14
- import fs from 'node:fs';
15
-
16
- const __dirname = path.dirname(fileURLToPath(import.meta.url));
17
- const args = process.argv.slice(2);
18
- const command = args[0];
19
-
20
- // Colors for terminal output
21
- const c = {
22
- reset: '\x1b[0m',
23
- green: '\x1b[32m',
24
- red: '\x1b[31m',
25
- yellow: '\x1b[33m',
26
- blue: '\x1b[34m',
27
- cyan: '\x1b[36m',
28
- bold: '\x1b[1m',
29
- dim: '\x1b[2m'
30
- };
31
-
32
- function log(msg, color = 'reset') {
33
- console.log(`${c[color]}${msg}${c.reset}`);
34
- }
35
-
36
- function printBanner() {
37
- console.log(`
38
- ${c.cyan}╔══════════════════════════════════════════════════════════╗
39
- ║ ║
40
- ║ ${c.bold}OpenClaw-Mem${c.reset}${c.cyan} - Persistent Memory for OpenClaw ║
41
- ║ ║
42
- ╚══════════════════════════════════════════════════════════╝${c.reset}
43
- `);
44
- }
45
-
46
- function printUsage() {
47
- console.log(`
48
- ${c.bold}Usage:${c.reset}
49
- npx openclaw-mem <command>
50
-
51
- ${c.bold}Commands:${c.reset}
52
- ${c.green}init${c.reset} Install openclaw-mem hook to your OpenClaw setup
53
- ${c.green}status${c.reset} Show memory database statistics
54
- ${c.green}search${c.reset} Search your memory (e.g., npx openclaw-mem search "topic")
55
- ${c.green}uninstall${c.reset} Remove openclaw-mem from OpenClaw
56
- ${c.green}help${c.reset} Show this help message
57
-
58
- ${c.bold}Examples:${c.reset}
59
- ${c.dim}# First time setup${c.reset}
60
- npx openclaw-mem init
61
-
62
- ${c.dim}# Check what's stored${c.reset}
63
- npx openclaw-mem status
64
-
65
- ${c.dim}# Search for conversations about AI${c.reset}
66
- npx openclaw-mem search "AI memory"
67
-
68
- ${c.bold}Learn more:${c.reset}
69
- https://github.com/anthropics/openclaw-mem
70
- `);
71
- }
72
-
73
- async function main() {
74
- if (!command || command === 'help' || command === '--help' || command === '-h') {
75
- printBanner();
76
- printUsage();
77
- process.exit(0);
78
- }
79
-
80
- switch (command) {
81
- case 'init': {
82
- const { init } = await import('../scripts/init.js');
83
- await init();
84
- break;
85
- }
86
- case 'status': {
87
- const { status } = await import('../scripts/commands.js');
88
- await status();
89
- break;
90
- }
91
- case 'search': {
92
- const query = args.slice(1).join(' ');
93
- if (!query) {
94
- log('Error: Please provide a search query', 'red');
95
- log('Usage: npx openclaw-mem search "your query"', 'dim');
96
- process.exit(1);
97
- }
98
- const { search } = await import('../scripts/commands.js');
99
- await search(query);
100
- break;
101
- }
102
- case 'uninstall': {
103
- const { uninstall } = await import('../scripts/init.js');
104
- await uninstall();
105
- break;
106
- }
107
- default:
108
- log(`Unknown command: ${command}`, 'red');
109
- printUsage();
110
- process.exit(1);
111
- }
112
- }
113
-
114
- main().catch(err => {
115
- log(`Error: ${err.message}`, 'red');
116
- process.exit(1);
117
- });
@@ -1,35 +0,0 @@
1
- # OpenClaw-Mem 🧠
2
-
3
- > امنح وكيل الذكاء الاصطناعي OpenClaw ذاكرة طويلة المدى
4
-
5
- [![npm version](https://img.shields.io/npm/v/openclaw-mem.svg)](https://www.npmjs.com/package/openclaw-mem)
6
- [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
7
-
8
- [English](../../README.md) | [中文](../../README_CN.md) | العربية
9
-
10
- يقوم OpenClaw-Mem تلقائيًا بالتقاط محادثاتك وجعلها قابلة للبحث، مما يسمح لمساعد الذكاء الاصطناعي الخاص بك بتذكر ما ناقشته عبر الجلسات.
11
-
12
- ## ✨ الميزات
13
-
14
- - **🔄 التقاط الذاكرة التلقائي** - يتم حفظ المحادثات تلقائيًا
15
- - **🔍 البحث في النص الكامل** - ابحث في سجل محادثاتك بالكامل
16
- - **📊 الإفصاح التدريجي** - استخدام فعال للرموز مع سياق متعدد الطبقات
17
- - **🎯 اكتشاف الموضوعات** - فهرسة المناقشات تلقائيًا حسب الموضوع
18
- - **💾 التخزين المحلي** - جميع البيانات تبقى على جهازك (SQLite)
19
- - **⚡ صفر تكوين** - يعمل فورًا
20
-
21
- ## 🚀 البدء السريع
22
-
23
- ```bash
24
- # التثبيت والإعداد (أمر واحد!)
25
- npx openclaw-mem init
26
-
27
- # إعادة تشغيل بوابة OpenClaw
28
- openclaw gateway restart
29
- ```
30
-
31
- هذا كل شيء! ابدأ الدردشة وستُتذكر محادثاتك.
32
-
33
- ## 📄 الترخيص
34
-
35
- رخصة MIT - انظر [LICENSE](../../LICENSE) للتفاصيل
@@ -1,35 +0,0 @@
1
- # OpenClaw-Mem 🧠
2
-
3
- > Geben Sie Ihrem OpenClaw AI-Agenten persistentes Langzeitgedächtnis
4
-
5
- [![npm version](https://img.shields.io/npm/v/openclaw-mem.svg)](https://www.npmjs.com/package/openclaw-mem)
6
- [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
7
-
8
- [English](../../README.md) | [中文](../../README_CN.md) | Deutsch
9
-
10
- OpenClaw-Mem erfasst automatisch Ihre Gespräche und macht sie durchsuchbar, sodass Ihr KI-Assistent sich an das erinnern kann, was Sie sitzungsübergreifend besprochen haben.
11
-
12
- ## ✨ Funktionen
13
-
14
- - **🔄 Automatische Speichererfassung** - Gespräche werden automatisch gespeichert
15
- - **🔍 Volltextsuche** - Durchsuchen Sie Ihren gesamten Gesprächsverlauf
16
- - **📊 Progressive Offenlegung** - Effiziente Token-Nutzung mit geschichtetem Kontext
17
- - **🎯 Themenerkennung** - Indiziert Diskussionen automatisch nach Thema
18
- - **💾 Lokale Speicherung** - Alle Daten bleiben auf Ihrem Rechner (SQLite)
19
- - **⚡ Keine Konfiguration** - Funktioniert sofort
20
-
21
- ## 🚀 Schnellstart
22
-
23
- ```bash
24
- # Installieren und einrichten (ein Befehl!)
25
- npx openclaw-mem init
26
-
27
- # OpenClaw Gateway neu starten
28
- openclaw gateway restart
29
- ```
30
-
31
- Das war's! Beginnen Sie zu chatten und Ihre Gespräche werden gespeichert.
32
-
33
- ## 📄 Lizenz
34
-
35
- MIT-Lizenz - siehe [LICENSE](../../LICENSE) für Details
@@ -1,35 +0,0 @@
1
- # OpenClaw-Mem 🧠
2
-
3
- > Dale a tu agente de IA OpenClaw memoria persistente a largo plazo
4
-
5
- [![npm version](https://img.shields.io/npm/v/openclaw-mem.svg)](https://www.npmjs.com/package/openclaw-mem)
6
- [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
7
-
8
- [English](../../README.md) | [中文](../../README_CN.md) | Español
9
-
10
- OpenClaw-Mem captura automáticamente tus conversaciones y las hace buscables, permitiendo que tu asistente de IA recuerde lo que has discutido entre sesiones.
11
-
12
- ## ✨ Características
13
-
14
- - **🔄 Captura Automática de Memoria** - Las conversaciones se guardan automáticamente
15
- - **🔍 Búsqueda de Texto Completo** - Busca en todo tu historial de conversaciones
16
- - **📊 Divulgación Progresiva** - Uso eficiente de tokens con contexto en capas
17
- - **🎯 Detección de Temas** - Indexa automáticamente las discusiones por tema
18
- - **💾 Almacenamiento Local** - Todos los datos permanecen en tu máquina (SQLite)
19
- - **⚡ Cero Configuración** - Funciona de inmediato
20
-
21
- ## 🚀 Inicio Rápido
22
-
23
- ```bash
24
- # Instalar y configurar (¡un solo comando!)
25
- npx openclaw-mem init
26
-
27
- # Reiniciar el gateway de OpenClaw
28
- openclaw gateway restart
29
- ```
30
-
31
- ¡Eso es todo! Comienza a chatear y tus conversaciones serán recordadas.
32
-
33
- ## 📄 Licencia
34
-
35
- Licencia MIT - ver [LICENSE](../../LICENSE) para detalles
@@ -1,35 +0,0 @@
1
- # OpenClaw-Mem 🧠
2
-
3
- > Donnez à votre agent IA OpenClaw une mémoire persistante à long terme
4
-
5
- [![npm version](https://img.shields.io/npm/v/openclaw-mem.svg)](https://www.npmjs.com/package/openclaw-mem)
6
- [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
7
-
8
- [English](../../README.md) | [中文](../../README_CN.md) | Français
9
-
10
- OpenClaw-Mem capture automatiquement vos conversations et les rend recherchables, permettant à votre assistant IA de se souvenir de ce dont vous avez discuté entre les sessions.
11
-
12
- ## ✨ Fonctionnalités
13
-
14
- - **🔄 Capture Automatique de Mémoire** - Les conversations sont sauvegardées automatiquement
15
- - **🔍 Recherche Plein Texte** - Recherchez dans tout votre historique de conversations
16
- - **📊 Divulgation Progressive** - Utilisation efficace des tokens avec contexte en couches
17
- - **🎯 Détection de Sujets** - Indexe automatiquement les discussions par sujet
18
- - **💾 Stockage Local** - Toutes les données restent sur votre machine (SQLite)
19
- - **⚡ Zéro Configuration** - Fonctionne immédiatement
20
-
21
- ## 🚀 Démarrage Rapide
22
-
23
- ```bash
24
- # Installer et configurer (une seule commande !)
25
- npx openclaw-mem init
26
-
27
- # Redémarrer la passerelle OpenClaw
28
- openclaw gateway restart
29
- ```
30
-
31
- C'est tout ! Commencez à discuter et vos conversations seront mémorisées.
32
-
33
- ## 📄 Licence
34
-
35
- Licence MIT - voir [LICENSE](../../LICENSE) pour les détails
@@ -1,35 +0,0 @@
1
- # OpenClaw-Mem 🧠
2
-
3
- > תן לסוכן ה-AI של OpenClaw שלך זיכרון ארוך טווח מתמשך
4
-
5
- [![npm version](https://img.shields.io/npm/v/openclaw-mem.svg)](https://www.npmjs.com/package/openclaw-mem)
6
- [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
7
-
8
- [English](../../README.md) | [中文](../../README_CN.md) | עברית
9
-
10
- OpenClaw-Mem לוכד אוטומטית את השיחות שלך והופך אותן לניתנות לחיפוש, מאפשר לעוזר ה-AI שלך לזכור מה דנתם בין הפעלות.
11
-
12
- ## ✨ תכונות
13
-
14
- - **🔄 לכידת זיכרון אוטומטית** - שיחות נשמרות אוטומטית
15
- - **🔍 חיפוש טקסט מלא** - חפש בכל היסטוריית השיחות שלך
16
- - **📊 חשיפה הדרגתית** - שימוש יעיל בטוקנים עם הקשר רב-שכבתי
17
- - **🎯 זיהוי נושאים** - מאנדקס דיונים אוטומטית לפי נושא
18
- - **💾 אחסון מקומי** - כל הנתונים נשארים במחשב שלך (SQLite)
19
- - **⚡ אפס הגדרות** - עובד מיד
20
-
21
- ## 🚀 התחלה מהירה
22
-
23
- ```bash
24
- # התקן והגדר (פקודה אחת!)
25
- npx openclaw-mem init
26
-
27
- # הפעל מחדש את שער OpenClaw
28
- openclaw gateway restart
29
- ```
30
-
31
- זהו! התחל לשוחח והשיחות שלך יזכרו.
32
-
33
- ## 📄 רישיון
34
-
35
- רישיון MIT - ראה [LICENSE](../../LICENSE) לפרטים