open-mem 0.10.0 → 0.12.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.
Files changed (59) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/README.md +76 -514
  3. package/dist/adapters/http/loopback.d.ts +3 -0
  4. package/dist/adapters/http/loopback.d.ts.map +1 -0
  5. package/dist/adapters/http/server.d.ts.map +1 -1
  6. package/dist/adapters/mcp/server.d.ts +0 -2
  7. package/dist/adapters/mcp/server.d.ts.map +1 -1
  8. package/dist/adapters/opencode/tools.d.ts.map +1 -1
  9. package/dist/ai/fallback-policy.d.ts +18 -0
  10. package/dist/ai/fallback-policy.d.ts.map +1 -0
  11. package/dist/ai/fallback.d.ts +3 -1
  12. package/dist/ai/fallback.d.ts.map +1 -1
  13. package/dist/ai/prompts.d.ts +3 -2
  14. package/dist/ai/prompts.d.ts.map +1 -1
  15. package/dist/ai/provider.d.ts +2 -1
  16. package/dist/ai/provider.d.ts.map +1 -1
  17. package/dist/claude-code.js +88 -93
  18. package/dist/config/store.d.ts.map +1 -1
  19. package/dist/config.d.ts.map +1 -1
  20. package/dist/contracts/api.d.ts +2 -120
  21. package/dist/contracts/api.d.ts.map +1 -1
  22. package/dist/contracts/schemas.d.ts +134 -0
  23. package/dist/contracts/schemas.d.ts.map +1 -0
  24. package/dist/cursor.js +88 -93
  25. package/dist/daemon.js +71 -76
  26. package/dist/db/observations.d.ts.map +1 -1
  27. package/dist/doctor.d.ts +3 -0
  28. package/dist/doctor.d.ts.map +1 -0
  29. package/dist/doctor.js +5 -0
  30. package/dist/hooks/compaction.d.ts +5 -1
  31. package/dist/hooks/compaction.d.ts.map +1 -1
  32. package/dist/index.d.ts.map +1 -1
  33. package/dist/index.js +121 -122
  34. package/dist/maintenance.js +44 -44
  35. package/dist/mcp.js +73 -73
  36. package/dist/modes/loader.d.ts +7 -0
  37. package/dist/modes/loader.d.ts.map +1 -0
  38. package/dist/modes/resolver.d.ts +21 -0
  39. package/dist/modes/resolver.d.ts.map +1 -0
  40. package/dist/platform-worker.d.ts.map +1 -1
  41. package/dist/search/orchestrator.d.ts +4 -13
  42. package/dist/search/orchestrator.d.ts.map +1 -1
  43. package/dist/search/registry.d.ts +19 -0
  44. package/dist/search/registry.d.ts.map +1 -0
  45. package/dist/search/strategies/filter-only.d.ts +4 -0
  46. package/dist/search/strategies/filter-only.d.ts.map +1 -0
  47. package/dist/search/strategies/hybrid.d.ts +3 -0
  48. package/dist/search/strategies/hybrid.d.ts.map +1 -0
  49. package/dist/search/strategies/semantic.d.ts +4 -0
  50. package/dist/search/strategies/semantic.d.ts.map +1 -0
  51. package/dist/search/strategies/types.d.ts +22 -0
  52. package/dist/search/strategies/types.d.ts.map +1 -0
  53. package/dist/services/readiness.d.ts +26 -0
  54. package/dist/services/readiness.d.ts.map +1 -0
  55. package/dist/services/setup-diagnostics.d.ts +23 -0
  56. package/dist/services/setup-diagnostics.d.ts.map +1 -0
  57. package/dist/types.d.ts +14 -1
  58. package/dist/types.d.ts.map +1 -1
  59. package/package.json +10 -9
package/CHANGELOG.md CHANGED
@@ -5,6 +5,26 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.12.0] - 2026-02-16
9
+
10
+ ### Changed
11
+ - Hardened operator route security model to rely on loopback listener binding instead of header-based locality checks.
12
+ - Consolidated architecture script file walking into `scripts/utils/file-walk.ts` with deterministic extension filtering.
13
+ - Reduced internal mode resolver API surface by removing dead exports.
14
+
15
+ ## [0.11.0] - 2026-02-08
16
+
17
+ ### Added
18
+ - **Pluggable workflow modes** — JSON-based mode definitions that customize observation types, concept vocabulary, entity types, and AI prompt templates. Ships with `code` (default) and `research` modes. Configure via `OPEN_MEM_MODE` env var. New `/v1/workflow-modes` API endpoint.
19
+ - **Enhanced session compaction** — compaction hook now injects compressed recent observation narratives, facts, and key decisions with smart budget allocation (40% summaries/index, 40% observation details, 20% decisions). Graceful degradation when full observations unavailable.
20
+ - **VitePress documentation website** — 11-page docs site covering getting started, architecture, tools reference, search guide, configuration, platforms, privacy, API, troubleshooting, and changelog. Build with `bun run docs:build`.
21
+ - **Dashboard documentation** in README — "Web Dashboard" section describing all 6 pages (Timeline, Sessions, Search, Stats, Operations, Settings) with enable/access instructions.
22
+ - **"Why open-mem?" section** in README — competitive positioning highlighting native vector search, knowledge graph, 5 AI providers, revision lineage, and MIT license.
23
+ - **Feature highlights comparison table** in README — side-by-side comparison vs typical alternatives.
24
+
25
+ ### Fixed
26
+ - CI platform worker tests now use portable bun path and project root.
27
+
8
28
  ## [0.10.0] - 2026-02-08
9
29
 
10
30
  ### Added