@muxtsou/memory-cell 0.1.5 β 0.1.6
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 +41 -29
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -19,19 +19,16 @@
|
|
|
19
19
|
|
|
20
20
|
## π€― Problems & Dilemmas of Agents
|
|
21
21
|
|
|
22
|
-
|
|
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
|
|
25
|
-
|
|
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. π **
|
|
28
|
-
Agents write
|
|
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. π° **
|
|
31
|
-
Hard-won fixes and
|
|
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**:
|
|
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
|
|
111
|
-
-
|
|
112
|
-
-
|
|
113
|
-
-
|
|
114
|
-
-
|
|
115
|
-
-
|
|
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
|
|
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
|
|
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
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
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.
|
|
3
|
+
"version": "0.1.6",
|
|
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.
|
|
31
|
-
"@muxtsou/memory-cell-darwin-x64": "0.1.
|
|
32
|
-
"@muxtsou/memory-cell-linux-x64": "0.1.
|
|
33
|
-
"@muxtsou/memory-cell-linux-arm64": "0.1.
|
|
34
|
-
"@muxtsou/memory-cell-win32-x64": "0.1.
|
|
30
|
+
"@muxtsou/memory-cell-darwin-arm64": "0.1.6",
|
|
31
|
+
"@muxtsou/memory-cell-darwin-x64": "0.1.6",
|
|
32
|
+
"@muxtsou/memory-cell-linux-x64": "0.1.6",
|
|
33
|
+
"@muxtsou/memory-cell-linux-arm64": "0.1.6",
|
|
34
|
+
"@muxtsou/memory-cell-win32-x64": "0.1.6"
|
|
35
35
|
}
|
|
36
36
|
}
|