@muxtsou/memory-cell 0.1.5 β†’ 0.1.7

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 (2) hide show
  1. package/README.md +41 -29
  2. package/package.json +6 -6
package/README.md CHANGED
@@ -19,19 +19,16 @@
19
19
 
20
20
  ## 🀯 Problems & Dilemmas of Agents
21
21
 
22
- Despite using frontier models, developers and engineering teams face painful realities every single day:
22
+ To make autonomous agents truly capable, they need **mind, alignment, and continuity**. Yet in reality, teams scaling agents hit 3 fatal bottlenecks every single day:
23
23
 
24
- 1. πŸ’Έ **The Amnesia Tax (Paying to Re-explain Everything)**
25
- Every new session erases working context. You are forced to repeatedly paste code snippets, re-explain architecture, and burn thousands of tokens just to bring the AI back up to speed, destroying unit economics.
24
+ 1. πŸ’Έ **"Burning 90% Tokens on Noise: The Cost & Quota Wall" (The Marginal Waste)**
25
+ Without precision memory, agents brute-force entire files and histories on every turn. You either hit humiliating weekly usage caps mid-sprint, or burn thousands of dollars on sluggish 30-second context evaluation that destroys product margins.
26
26
 
27
- 2. πŸŒ€ **The "Smart but Blind" Dilemma (Local Fixes, Global Breakages)**
28
- Agents write great code in isolation, but are completely blind to overall codebase topology. They confidently fix function A while silently breaking service B, turning code generation into an endless debugging loop.
27
+ 2. πŸŒ€ **"Fixed One Function, Silently Broke Three Other Services" (The Blind-Spot Bug)**
28
+ Agents write code with supreme confidence, but they can't see beyond the file in front of them. The AI happily renames a parameter or tweaks logic in module A, completely unaware that services B and C depend on itβ€”turning a 2-minute fix into hours of debugging regressions.
29
29
 
30
- 3. 🏰 **The Knowledge Silo & Sovereignty Lock-in (Zero Cross-Tool Neutrality)**
31
- Hard-won fixes and proprietary architectural insights are trapped inside vendor silos. Moving between Cursor, Claude Code, Windsurf, or Terminal means resetting experience to zero. Teams lack a sovereign, platform-neutral memory layer that they truly own.
32
-
33
- 4. βš–οΈ **The Knowledge Governance Void (Unversioned, Stale & Ungoverned Context)**
34
- Technical specs and ADRs evolve continuously, but vector black boxes cannot surgically prune stale rules. Deprecated patterns poison future runs, with zero line-level audit trails back to authoritative sources.
30
+ 3. 🏰 **"Millions of Tokens Burned, Zero Knowledge Owned" (The Hostage & Amnesia Trap)**
31
+ Hard-won bug fixes, custom architectural invariants, and domain SOPs are held hostage inside closed IDEs and cloud black boxes. Without a sovereign, tool-neutral memory layer, your team's collective intelligence never compoundsβ€”it evaporates the moment you switch tools or models, forcing agents to reset to day zero forever.
35
32
 
36
33
  ---
37
34
 
@@ -69,7 +66,7 @@ Despite using frontier models, developers and engineering teams face painful rea
69
66
  ## πŸš€ Key Benefits
70
67
 
71
68
  - ⚑ **< 15ms P75 In-Conversation Retrieval**: Instant precision grounding across code, living documentation, and shared team playbooks without context lag.
72
- - πŸ—œοΈ **50%–90% Token Reduction**: Decoupled reasoning retrieves only the necessary context window without stuffing entire files or brute-forcing vector chunks.
69
+ - πŸ—œοΈ **50%–90% Token Reduction**: Surgically pinpoints only the relevant lines and sections instead of dumping entire files or flooding context with noisy fragments.
73
70
  - πŸ›‘οΈ **Zero GraphDB Overhead**: Pure embedded SQLite architecture. Zero Neo4j, Redis, or external vector service dependencies.
74
71
  - 🌐 **True Cross-Tool Continuity**: Works seamlessly across Claude Code, Cursor, Windsurf, Codex, Gemini, Terminal, and CI/CD pipelines via universal MCP protocols.
75
72
  - πŸ”„ **Zero-Friction Living Knowledge**: Edit any markdown file or code in your repo as usual. Memory Cell automatically hot-syncs changes and prunes deleted files in real-time.
@@ -107,14 +104,12 @@ Run directly inside any project repository root:
107
104
  memory-cell init
108
105
  ```
109
106
 
110
- ✨ **Automatically detects and configures all supported environments on your machine:**
111
- - [x] **Google Antigravity** (`.agents/mcp_config.json` + `hooks.json` + `skills/` + `plugin.json`)
112
- - [x] **Cursor IDE** (`.cursor/mcp.json`)
113
- - [x] **Claude Code CLI** (`.mcp.json` + `.claude/hooks.json` + `.claude/commands/`)
114
- - [x] **OpenCode Interpreter** (`.opencode/mcp.json`)
115
- - [x] **Hermes Agent** (`.hermes/config.yaml`)
116
- - [x] **OpenAI Codex CLI** (`.codex/config.toml`)
117
- - [x] **GitHub Copilot / VS Code** (`.vscode/mcp.json`)
107
+ ✨ **Automatically detects and provisions MCP tools, life-cycle hooks, and agent skills across your development stack:**
108
+ - **Anthropic Claude**: Claude Code CLI, Claude Desktop
109
+ - **Google Antigravity**: Antigravity IDE, Antigravity CLI (`agy`)
110
+ - **AI-Native IDEs**: Cursor, Windsurf
111
+ - **VS Code Ecosystem**: GitHub Copilot, Roo Code, Cline
112
+ - **Agent Harnesses**: Hermes Agent, OpenCode Interpreter, Codex
118
113
 
119
114
  ---
120
115
 
@@ -123,26 +118,28 @@ memory-cell init
123
118
  Memory Cell equips coding agents with a structured cognitive layer composed of specialized tools that replace noisy brute-force file scanning with surgical, token-efficient intelligence:
124
119
 
125
120
  ### 1. 🧠 Grounded Reasoning & Unified Search (Cognitive Retrieval)
126
- - `reason("<query>", workspace_path: ".")`: **Grounding Engine.** Retrieves AST-indexed document sections, active domain concepts, verified workflows, and architectural rules without reading raw files or blowing context tokens.
121
+ - `reason("<query>", workspace_path: ".")`: **Grounding Engine.** Retrieves structured document sections, active domain concepts, verified workflows, and architectural rules without reading raw files or blowing context tokens.
127
122
  - `search("<query>")`: **Holographic Search.** Concurrently queries code symbols (`find_symbol`) and long-term memory (`reason`), synthesizing verified code locations and living docs into a single high-density context.
128
123
  - `ingest(file_path: "...")`: Ingests documents (Markdown, Code, PDF) through the zero-leakage cognitive pipeline into memory.
129
124
  - `forget(id: "...")`: Removes obsolete engrams and their associated living doc from disk.
130
125
 
131
126
  ### 2. ⚑ Deep Code Intelligence & Topological Navigation (22 Languages)
132
- Instant AST-level code navigation across 22 major languages in < 15ms P75 lookup:
127
+ Instant syntax-aware code navigation across 22 major languages in < 15ms P75 lookup:
133
128
  - `find_symbol("<name>")`: Pinpoints functions, structs, classes, interfaces, traits, and exact line definitions.
134
129
  - `trace_callers("<symbol>", direction: "callers" | "callees")`: Bidirectional call hierarchy tracing across files without manual searching.
135
130
  - `find_references("<identifier>")`: Locates exact declarations, reads, and writes for variables and fields.
136
131
  - `analyze_impact("<symbol>")`: Evaluates blast radius and affected call sites before refactoring critical interfaces.
137
132
 
138
- ### 3. πŸ”„ Autonomous Learning Across 6 Universal Knowledge Dimensions
139
- Agents and developers autonomously distill experience and preserve knowledge into long-term memory:
140
- 1. πŸ› οΈ `learn_workflow`: Verified step-by-step procedures (SOPs) for automated replay.
141
- 2. ⚠️ `learn_antipattern`: Inhibitory rules that prevent recurring mistakes and hallucinations.
142
- 3. πŸ‘€ `learn_preference`: User/team coding style, architectural constraints, and guidelines.
143
- 4. πŸ›οΈ `learn_decision`: Architectural Decision Records (ADRs) and trade-offs.
144
- 5. πŸ’‘ `learn_concept`: Domain models, entities, and project terminology.
145
- 6. ⚑ `learn_heuristic`: Fast-and-frugal rules of thumb and optimization shortcuts.
133
+ ### 3. πŸ”„ Autonomous Continuous Learning (Automated Dream Consolidation)
134
+ Zero manual curation or learning commands required. During live development, the **Hippocampus automatically snapshots** fine-grained events, execution trails, and troubleshooting corrections in real time. **Dream Consolidation (`dream()`)** then distills and solidifies these episodic footprints into long-term structured Neocortex knowledge whenever triggered:
135
+ - **Episodic Snapshots βž” Semantic Engrams**: Distills raw session logs into permanent structured engrams across 6 Universal Knowledge Dimensions:
136
+ - πŸ› οΈ **Workflows & SOPs**: Verified step-by-step procedures distilled from successful tasks for automated replay.
137
+ - ⚠️ **Anti-Patterns & Pitfalls**: Inhibitory guardrails learned from bugs, failed attempts, and user corrections.
138
+ - πŸ‘€ **Developer Preferences**: Coding guidelines, project conventions, and stylistic directives.
139
+ - πŸ›οΈ **Architectural Decisions (ADRs)**: Key trade-offs and structural rationale recorded in context.
140
+ - πŸ’‘ **Domain Concepts**: Project terminology, mental models, and core entity definitions.
141
+ - ⚑ **Heuristics**: Fast-and-frugal engineering rules of thumb and performance optimizations.
142
+ - **On-Demand Wrap-up & Graph Hygiene**: Run `/dream` (or `memory-cell dream`) whenever you wrap up a task or sessionβ€”safely pruning redundant noise, resolving contradictions, and crystallizing lessons into Git-tracked assets.
146
143
 
147
144
  ### 4. 🀝 Cross-Agent Working Memory Handover & Episodic Recall
148
145
  - `takeover()`: Switching between different agents, models, or IDEs? Run `/takeover` (or `memory-cell takeover`). The next agent instantly resumes the active goal, obstacle trails, and execution context (<180 tokens) without losing state.
@@ -156,6 +153,21 @@ Agents and developers autonomously distill experience and preserve knowledge int
156
153
 
157
154
  ---
158
155
 
156
+ ## ⚑ Agent Skills & Slash Commands (Zero-Friction UX)
157
+
158
+ `memory-cell init` automatically provisions specialized agent skills and slash commands across all your IDEs and CLI agents (Google Antigravity, Claude Code, Cursor, Codex). Agents proactively load these workflows or you can invoke them directly:
159
+
160
+ | Slash Command | Agent Skill | Capability & Description |
161
+ | :--- | :--- | :--- |
162
+ | `/takeover` | `takeover` | **Instant Cross-Tool Handover.** Resumes working memory, active subgoals, and obstacles across IDEs in < 180 tokens without manual briefing. |
163
+ | `/dream` | `dream` | **Consolidation & Graph Hygiene.** Runs two-phase consolidation to distill raw episodic sessions into permanent Neocortex knowledge and resolve contradictions. |
164
+ | `/memorize` | `memorize` | **Explicit Knowledge Persistence.** Quickly captures and classifies critical lessons, SOPs, or rules into `.memory/` across 6 dimensions. |
165
+ | `/impact <symbol>` | `impact` | **Blast Radius Evaluation.** Inspects call hierarchies and calculates risk before refactoring critical functions, structs, or traits. |
166
+ | `/recall <query>` | `recall` | **Episodic Timeline Explorer.** Queries chronological debugging trails and past session decisions with forward-timeline synthesis. |
167
+ | `/stats` | `stats` | **Cognitive Health & ROI Scorecard.** Displays managed engram distribution, duplicate filter ratio, and total context token savings. |
168
+
169
+ ---
170
+
159
171
  ## 🧠 Distillation Engine Configuration (Zero-API-Key with Claude Max)
160
172
 
161
173
  Memory Cell uses an intelligent distillation engine to synthesize session events into long-term structured knowledge. You don't need a separate paid API key if you have a Claude subscription (Claude Pro / Max) or local tools:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@muxtsou/memory-cell",
3
- "version": "0.1.5",
3
+ "version": "0.1.7",
4
4
  "description": "Cross-platform CLI and MCP cognitive runtime for AI coding assistants",
5
5
  "bin": {
6
6
  "memory-cell": "bin/run.js"
@@ -27,10 +27,10 @@
27
27
  "access": "public"
28
28
  },
29
29
  "optionalDependencies": {
30
- "@muxtsou/memory-cell-darwin-arm64": "0.1.5",
31
- "@muxtsou/memory-cell-darwin-x64": "0.1.5",
32
- "@muxtsou/memory-cell-linux-x64": "0.1.5",
33
- "@muxtsou/memory-cell-linux-arm64": "0.1.5",
34
- "@muxtsou/memory-cell-win32-x64": "0.1.5"
30
+ "@muxtsou/memory-cell-darwin-arm64": "0.1.7",
31
+ "@muxtsou/memory-cell-darwin-x64": "0.1.7",
32
+ "@muxtsou/memory-cell-linux-x64": "0.1.7",
33
+ "@muxtsou/memory-cell-linux-arm64": "0.1.7",
34
+ "@muxtsou/memory-cell-win32-x64": "0.1.7"
35
35
  }
36
36
  }