om-memory-system 5.5.0 → 5.7.0-next.218

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 (76) hide show
  1. package/README.md +1 -1
  2. package/dist/adapters/pi/extension.js +5 -0
  3. package/dist/cli/space-command.d.ts +6 -5
  4. package/dist/cli/space-command.js +154 -13
  5. package/dist/cli/space-transfer-command.d.ts +25 -0
  6. package/dist/cli/space-transfer-command.js +79 -0
  7. package/dist/core/memory-operations.d.ts +12 -2
  8. package/dist/core/memory-operations.js +14 -4
  9. package/dist/core/recall-summary.js +7 -5
  10. package/dist/core/retrieval.js +5 -2
  11. package/dist/core/space-tool.d.ts +9 -4
  12. package/dist/core/space-tool.js +35 -3
  13. package/dist/services/active-space-access.d.ts +6 -0
  14. package/dist/services/active-space-access.js +8 -0
  15. package/dist/services/chat/chat-runtime.js +1 -1
  16. package/dist/services/client.d.ts +6 -16
  17. package/dist/services/client.js +54 -62
  18. package/dist/services/context.d.ts +2 -0
  19. package/dist/services/context.js +12 -1
  20. package/dist/services/linked-search.d.ts +108 -0
  21. package/dist/services/linked-search.js +219 -0
  22. package/dist/services/space-routes.d.ts +2 -0
  23. package/dist/services/space-routes.js +4 -3
  24. package/dist/services/space-transfer-routes.d.ts +10 -0
  25. package/dist/services/space-transfer-routes.js +344 -0
  26. package/dist/services/spaces/active-space.js +14 -7
  27. package/dist/services/spaces/delete.d.ts +2 -0
  28. package/dist/services/spaces/delete.js +4 -0
  29. package/dist/services/spaces/export-space.d.ts +60 -0
  30. package/dist/services/spaces/export-space.js +367 -0
  31. package/dist/services/spaces/identifier-scrub.d.ts +26 -0
  32. package/dist/services/spaces/identifier-scrub.js +40 -0
  33. package/dist/services/spaces/import-space.d.ts +85 -0
  34. package/dist/services/spaces/import-space.js +349 -0
  35. package/dist/services/spaces/operations.d.ts +57 -5
  36. package/dist/services/spaces/operations.js +161 -5
  37. package/dist/services/spaces/read-store-cache.d.ts +13 -0
  38. package/dist/services/spaces/read-store-cache.js +34 -0
  39. package/dist/services/spaces/registry-store.d.ts +4 -0
  40. package/dist/services/spaces/registry-store.js +15 -1
  41. package/dist/services/spaces/registry.d.ts +32 -0
  42. package/dist/services/spaces/registry.js +81 -7
  43. package/dist/services/spaces/space-store.d.ts +50 -0
  44. package/dist/services/spaces/space-store.js +72 -0
  45. package/dist/services/spaces/transfer-service.d.ts +41 -0
  46. package/dist/services/spaces/transfer-service.js +408 -0
  47. package/dist/services/spaces/transfer-types.d.ts +163 -0
  48. package/dist/services/spaces/transfer-types.js +10 -0
  49. package/dist/services/spaces/transfer.d.ts +31 -0
  50. package/dist/services/spaces/transfer.js +276 -0
  51. package/dist/services/turso/connection-manager.d.ts +4 -2
  52. package/dist/services/turso/connection-manager.js +11 -5
  53. package/dist/services/turso/cross-process-write-lock.d.ts +1 -1
  54. package/dist/services/turso/cross-process-write-lock.js +5 -5
  55. package/dist/services/turso/operation-lock.d.ts +2 -2
  56. package/dist/services/turso/operation-lock.js +5 -5
  57. package/dist/services/turso/shard-manager.d.ts +8 -0
  58. package/dist/services/turso/shard-manager.js +23 -22
  59. package/dist/services/turso/vector-search.d.ts +6 -2
  60. package/dist/services/turso/vector-search.js +8 -4
  61. package/dist/services/user-profile/user-profile-manager.d.ts +5 -1
  62. package/dist/services/user-profile/user-profile-manager.js +13 -10
  63. package/dist/services/web-route-modules.d.ts +5 -1
  64. package/dist/services/web-route-modules.js +4 -0
  65. package/dist/services/web-server.js +1 -1
  66. package/dist/shared/api/space-export-schemas.d.ts +159 -0
  67. package/dist/shared/api/space-export-schemas.js +72 -0
  68. package/dist/v2/adapter.d.ts +15 -0
  69. package/dist/v2/adapter.js +5 -0
  70. package/dist/web/assets/index-2BNRLGqe.css +2 -0
  71. package/dist/web/assets/index-C6WnDE6h.js +170 -0
  72. package/dist/web/index.html +2 -2
  73. package/package.json +1 -1
  74. package/skills/omms-memory/SKILL.md +16 -14
  75. package/dist/web/assets/index-Dcvz3EXt.js +0 -170
  76. package/dist/web/assets/index-b8k5Tuei.css +0 -2
@@ -33,8 +33,8 @@
33
33
  <link rel="icon" type="image/svg+xml" href="/omms-icon.svg" />
34
34
  <link rel="apple-touch-icon" href="/apple-touch-icon.png" />
35
35
  <title>OMMS Memory Explorer</title>
36
- <script type="module" crossorigin src="/assets/index-Dcvz3EXt.js"></script>
37
- <link rel="stylesheet" crossorigin href="/assets/index-b8k5Tuei.css">
36
+ <script type="module" crossorigin src="/assets/index-C6WnDE6h.js"></script>
37
+ <link rel="stylesheet" crossorigin href="/assets/index-2BNRLGqe.css">
38
38
  </head>
39
39
  <body>
40
40
  <div id="app"></div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "om-memory-system",
3
- "version": "5.5.0",
3
+ "version": "5.7.0-next.218",
4
4
  "description": "Opinionated modular memory system for coding agents (OpenCode + Pi)",
5
5
  "type": "module",
6
6
  "main": "dist/plugin.js",
@@ -19,7 +19,7 @@ OMMS keeps memories for each project: earlier fixes, decisions, and conventions.
19
19
  - The tool refuses the `import`, `export`, `migrate` and `list-shards` modes. Tell the user to run them with `om-memory-system memory` in a terminal.
20
20
  - With hand-written hooks or an older plugin, no `memory` tool is listed. Then run `om-memory-system memory` through Bash.
21
21
  - Each injected memory shows its id. When the user asks you to remove that memory, pass the id to `forget`.
22
- - Memory spaces keep separate stores. The context line `Active memory space: <name>` names the one in use. Use `space` mode to list or switch spaces when the user asks. Deleting a space is only possible in the web app.
22
+ - Memory spaces keep separate stores. The context line `Active memory space: <name>` names the one in use. Use `space` mode to list or switch spaces when the user asks. Deleting a space and moving memories between spaces are only possible in the web app. Export and import of a space run in the web app or with `om-memory-system space` in a terminal; the tool refuses them.
23
23
  - Capture runs after each reply in the background. Do not save the same turn again, unless it holds a decision, a fix or a preference that the user asked you to keep.
24
24
 
25
25
  ## When to search
@@ -81,22 +81,24 @@ Types:
81
81
 
82
82
  ## Modes
83
83
 
84
- | Mode | Options |
85
- | ------------- | ------------------------------------------------------------------------ |
86
- | `search` | query, limit, scope |
87
- | `add` | content, type, tags |
88
- | `list` | limit, scope |
89
- | `forget` | the memory id |
90
- | `space` | action (`list`, `status`, `create`, `use`, `archive`, `unarchive`), name |
91
- | `profile` | no options to show the profile; content to save a preference |
92
- | `list-shards` | none |
93
- | `migrate` | the old path or hash, dry run |
94
- | `export` | the output file |
95
- | `import` | the input file, dry run |
96
- | `help` | none |
84
+ | Mode | Options |
85
+ | ------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
86
+ | `search` | query, limit, scope |
87
+ | `add` | content, type, tags |
88
+ | `list` | limit, scope |
89
+ | `forget` | the memory id |
90
+ | `space` | action (`list`, `status`, `create`, `use`, `archive`, `unarchive`, `preview`, `copy`, `link`, `unlink`), name, to, since, until, project, in |
91
+ | `profile` | no options to show the profile; content to save a preference |
92
+ | `list-shards` | none |
93
+ | `migrate` | the old path or hash, dry run |
94
+ | `export` | the output file |
95
+ | `import` | the input file, dry run |
96
+ | `help` | none |
97
97
 
98
98
  The command takes each option as a flag, for example `--query`, `--limit`, `--scope`, `--id`, and `--directory <path>` for a different project. Run `om-memory-system memory --help` for the full list.
99
99
 
100
+ Space options: `to` names the target space of a preview or copy; `since` and `until` are inclusive ISO 8601 dates; `project` is the project tag; `in` names the space that owns a link (the active space by default). A recalled memory from a linked space carries `space="<name>"`. `forget` and `edit` refuse such a memory and name its space.
101
+
100
102
  ## Safety
101
103
 
102
104
  - Never store secrets: API keys, tokens, passwords, or private keys.