memory-lancedb-pro 1.0.0 → 1.0.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.
package/README.md CHANGED
@@ -378,31 +378,31 @@ Cross-encoder reranking supports multiple providers via `rerankProvider`:
378
378
 
379
379
  ```bash
380
380
  # List memories
381
- openclaw memory list [--scope global] [--category fact] [--limit 20] [--json]
381
+ openclaw memory-pro list [--scope global] [--category fact] [--limit 20] [--json]
382
382
 
383
383
  # Search memories
384
- openclaw memory search "query" [--scope global] [--limit 10] [--json]
384
+ openclaw memory-pro search "query" [--scope global] [--limit 10] [--json]
385
385
 
386
386
  # View statistics
387
- openclaw memory stats [--scope global] [--json]
387
+ openclaw memory-pro stats [--scope global] [--json]
388
388
 
389
389
  # Delete a memory by ID (supports 8+ char prefix)
390
- openclaw memory delete <id>
390
+ openclaw memory-pro delete <id>
391
391
 
392
392
  # Bulk delete with filters
393
- openclaw memory delete-bulk --scope global [--before 2025-01-01] [--dry-run]
393
+ openclaw memory-pro delete-bulk --scope global [--before 2025-01-01] [--dry-run]
394
394
 
395
395
  # Export / Import
396
- openclaw memory export [--scope global] [--output memories.json]
397
- openclaw memory import memories.json [--scope global] [--dry-run]
396
+ openclaw memory-pro export [--scope global] [--output memories.json]
397
+ openclaw memory-pro import memories.json [--scope global] [--dry-run]
398
398
 
399
399
  # Re-embed all entries with a new model
400
- openclaw memory reembed --source-db /path/to/old-db [--batch-size 32] [--skip-existing]
400
+ openclaw memory-pro reembed --source-db /path/to/old-db [--batch-size 32] [--skip-existing]
401
401
 
402
402
  # Migrate from built-in memory-lancedb
403
- openclaw memory migrate check [--source /path]
404
- openclaw memory migrate run [--source /path] [--dry-run] [--skip-existing]
405
- openclaw memory migrate verify [--source /path]
403
+ openclaw memory-pro migrate check [--source /path]
404
+ openclaw memory-pro migrate run [--source /path] [--dry-run] [--skip-existing]
405
+ openclaw memory-pro migrate verify [--source /path]
406
406
  ```
407
407
 
408
408
  ---
package/README_CN.md CHANGED
@@ -333,31 +333,31 @@ openclaw config get plugins.slots.memory
333
333
 
334
334
  ```bash
335
335
  # 列出记忆
336
- openclaw memory list [--scope global] [--category fact] [--limit 20] [--json]
336
+ openclaw memory-pro list [--scope global] [--category fact] [--limit 20] [--json]
337
337
 
338
338
  # 搜索记忆
339
- openclaw memory search "query" [--scope global] [--limit 10] [--json]
339
+ openclaw memory-pro search "query" [--scope global] [--limit 10] [--json]
340
340
 
341
341
  # 查看统计
342
- openclaw memory stats [--scope global] [--json]
342
+ openclaw memory-pro stats [--scope global] [--json]
343
343
 
344
344
  # 按 ID 删除记忆(支持 8+ 字符前缀)
345
- openclaw memory delete <id>
345
+ openclaw memory-pro delete <id>
346
346
 
347
347
  # 批量删除
348
- openclaw memory delete-bulk --scope global [--before 2025-01-01] [--dry-run]
348
+ openclaw memory-pro delete-bulk --scope global [--before 2025-01-01] [--dry-run]
349
349
 
350
350
  # 导出 / 导入
351
- openclaw memory export [--scope global] [--output memories.json]
352
- openclaw memory import memories.json [--scope global] [--dry-run]
351
+ openclaw memory-pro export [--scope global] [--output memories.json]
352
+ openclaw memory-pro import memories.json [--scope global] [--dry-run]
353
353
 
354
354
  # 使用新模型重新生成 Embedding
355
- openclaw memory reembed --source-db /path/to/old-db [--batch-size 32] [--skip-existing]
355
+ openclaw memory-pro reembed --source-db /path/to/old-db [--batch-size 32] [--skip-existing]
356
356
 
357
357
  # 从内置 memory-lancedb 迁移
358
- openclaw memory migrate check [--source /path]
359
- openclaw memory migrate run [--source /path] [--dry-run] [--skip-existing]
360
- openclaw memory migrate verify [--source /path]
358
+ openclaw memory-pro migrate check [--source /path]
359
+ openclaw memory-pro migrate run [--source /path] [--dry-run] [--skip-existing]
360
+ openclaw memory-pro migrate verify [--source /path]
361
361
  ```
362
362
 
363
363
  ---
package/cli.ts CHANGED
@@ -41,7 +41,7 @@ function formatJson(obj: any): string {
41
41
 
42
42
  export function registerMemoryCLI(program: Command, context: CLIContext): void {
43
43
  const memory = program
44
- .command("memory")
44
+ .command("memory-pro")
45
45
  .description("Enhanced memory management commands");
46
46
 
47
47
  // List memories
@@ -607,5 +607,5 @@ export function registerMemoryCLI(program: Command, context: CLIContext): void {
607
607
  // ============================================================================
608
608
 
609
609
  export function createMemoryCLI(context: CLIContext) {
610
- return (program: Command) => registerMemoryCLI(program, context);
610
+ return ({ program }: { program: Command }) => registerMemoryCLI(program, context);
611
611
  }
package/index.ts CHANGED
@@ -325,7 +325,7 @@ const memoryLanceDBProPlugin = {
325
325
  migrator,
326
326
  embedder,
327
327
  }),
328
- { commands: ["memory"] }
328
+ { commands: ["memory-pro"] }
329
329
  );
330
330
 
331
331
  // ========================================================================
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "memory-lancedb-pro",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "OpenClaw enhanced LanceDB memory plugin with hybrid retrieval (Vector + BM25), cross-encoder rerank, multi-scope isolation, and management CLI",
5
5
  "type": "module",
6
6
  "main": "index.ts",