@stackmemoryai/stackmemory 0.5.40 → 0.5.41
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 +97 -33
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,19 +1,15 @@
|
|
|
1
1
|
# StackMemory
|
|
2
2
|
|
|
3
|
-
**Lossless, project-scoped memory for AI tools** • v0.5.
|
|
3
|
+
**Lossless, project-scoped memory for AI tools** • v0.5.40
|
|
4
4
|
|
|
5
|
-
StackMemory is a **production-ready memory runtime** for AI coding tools that preserves full project context across sessions
|
|
5
|
+
StackMemory is a **production-ready memory runtime** for AI coding tools that preserves full project context across sessions:
|
|
6
6
|
|
|
7
|
-
- **
|
|
8
|
-
- **
|
|
7
|
+
- **Zero-config setup** - `stackmemory init` just works, no questions asked
|
|
8
|
+
- **26 MCP tools** for Claude Code integration
|
|
9
9
|
- **Full Linear integration** with bidirectional sync
|
|
10
|
-
- **20+ MCP tools** for Claude Code
|
|
11
10
|
- **Context persistence** that survives /clear operations
|
|
12
|
-
- **
|
|
13
|
-
- **
|
|
14
|
-
- **Background migration** with configurable triggers
|
|
15
|
-
- **396 tests passing** with standardized error handling
|
|
16
|
-
- **npm v0.5.30** published with WhatsApp notifications and improved integrations
|
|
11
|
+
- **Hierarchical frame organization** (nested call stack model)
|
|
12
|
+
- **490 tests passing** with comprehensive coverage
|
|
17
13
|
|
|
18
14
|
Instead of a linear chat log, StackMemory organizes memory as a **call stack** of scoped work (frames), with intelligent LLM-driven retrieval and team collaboration features.
|
|
19
15
|
|
|
@@ -120,46 +116,76 @@ The editor never manages memory directly; it asks StackMemory for the **context
|
|
|
120
116
|
|
|
121
117
|
# QuickStart
|
|
122
118
|
|
|
123
|
-
## 1.
|
|
124
|
-
|
|
125
|
-
### Step 1: Create a project
|
|
119
|
+
## 1. Install & Initialize (30 seconds)
|
|
126
120
|
|
|
127
121
|
```bash
|
|
128
|
-
|
|
129
|
-
|
|
122
|
+
# Install globally
|
|
123
|
+
npm install -g @stackmemoryai/stackmemory
|
|
124
|
+
|
|
125
|
+
# Initialize in your project (zero-config, just works)
|
|
126
|
+
cd your-project
|
|
127
|
+
stackmemory init
|
|
128
|
+
|
|
129
|
+
# Configure Claude Code integration
|
|
130
|
+
stackmemory setup-mcp
|
|
131
|
+
|
|
132
|
+
# Verify everything works
|
|
133
|
+
stackmemory doctor
|
|
130
134
|
```
|
|
131
135
|
|
|
132
|
-
|
|
136
|
+
That's it! Restart Claude Code and StackMemory MCP tools are available.
|
|
133
137
|
|
|
134
138
|
---
|
|
135
139
|
|
|
136
|
-
|
|
140
|
+
## 2. Detailed Setup
|
|
141
|
+
|
|
142
|
+
### Install
|
|
137
143
|
|
|
138
144
|
```bash
|
|
139
|
-
npm install -g @stackmemoryai/stackmemory@0.5.30
|
|
140
|
-
# or latest
|
|
141
145
|
npm install -g @stackmemoryai/stackmemory@latest
|
|
142
146
|
```
|
|
143
147
|
|
|
144
|
-
|
|
148
|
+
During install, you'll be asked if you want to install Claude Code hooks (optional but recommended).
|
|
145
149
|
|
|
146
|
-
###
|
|
150
|
+
### Initialize Project
|
|
147
151
|
|
|
148
152
|
```bash
|
|
149
|
-
|
|
150
|
-
|
|
153
|
+
cd your-project
|
|
154
|
+
stackmemory init
|
|
151
155
|
```
|
|
152
156
|
|
|
153
|
-
This
|
|
157
|
+
This creates `.stackmemory/` with SQLite storage. No questions asked.
|
|
158
|
+
|
|
159
|
+
For interactive setup with more options:
|
|
160
|
+
```bash
|
|
161
|
+
stackmemory init --interactive
|
|
162
|
+
```
|
|
154
163
|
|
|
164
|
+
### Configure Claude Code
|
|
165
|
+
|
|
166
|
+
```bash
|
|
167
|
+
stackmemory setup-mcp
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
This automatically:
|
|
155
171
|
- Creates `~/.claude/stackmemory-mcp.json` MCP configuration
|
|
156
|
-
- Sets up session initialization hooks
|
|
157
172
|
- Updates `~/.claude/config.json` with StackMemory integration
|
|
173
|
+
- Validates the configuration
|
|
174
|
+
|
|
175
|
+
### Diagnose Issues
|
|
176
|
+
|
|
177
|
+
```bash
|
|
178
|
+
stackmemory doctor
|
|
179
|
+
```
|
|
158
180
|
|
|
159
|
-
|
|
181
|
+
Checks project initialization, database integrity, MCP config, and suggests fixes.
|
|
182
|
+
|
|
183
|
+
---
|
|
184
|
+
|
|
185
|
+
## 3. Advanced Setup
|
|
160
186
|
|
|
161
187
|
<details>
|
|
162
|
-
<summary>
|
|
188
|
+
<summary>Manual MCP configuration</summary>
|
|
163
189
|
|
|
164
190
|
Create MCP configuration:
|
|
165
191
|
|
|
@@ -178,7 +204,7 @@ cat > ~/.claude/stackmemory-mcp.json << 'EOF'
|
|
|
178
204
|
EOF
|
|
179
205
|
```
|
|
180
206
|
|
|
181
|
-
Update Claude config:
|
|
207
|
+
Update Claude config.json:
|
|
182
208
|
|
|
183
209
|
```json
|
|
184
210
|
{
|
|
@@ -190,6 +216,26 @@ Update Claude config:
|
|
|
190
216
|
|
|
191
217
|
</details>
|
|
192
218
|
|
|
219
|
+
<details>
|
|
220
|
+
<summary>Hosted mode (cloud storage)</summary>
|
|
221
|
+
|
|
222
|
+
```bash
|
|
223
|
+
stackmemory onboard
|
|
224
|
+
# Select "Hosted" when prompted
|
|
225
|
+
# Or set DATABASE_URL environment variable
|
|
226
|
+
```
|
|
227
|
+
|
|
228
|
+
</details>
|
|
229
|
+
|
|
230
|
+
<details>
|
|
231
|
+
<summary>ChromaDB for semantic search</summary>
|
|
232
|
+
|
|
233
|
+
```bash
|
|
234
|
+
stackmemory init --chromadb
|
|
235
|
+
# Prompts for ChromaDB API key
|
|
236
|
+
```
|
|
237
|
+
|
|
238
|
+
</details>
|
|
193
239
|
|
|
194
240
|
Claude Code sessions automatically capture tool calls, maintain context across sessions, and sync with Linear when configured.
|
|
195
241
|
|
|
@@ -409,8 +455,13 @@ stackmemory skills rlm "Build, test, and publish version 2.0.0"
|
|
|
409
455
|
## CLI Commands
|
|
410
456
|
|
|
411
457
|
```bash
|
|
412
|
-
#
|
|
413
|
-
stackmemory init # Initialize project
|
|
458
|
+
# Setup & Diagnostics
|
|
459
|
+
stackmemory init # Initialize project (zero-config)
|
|
460
|
+
stackmemory init --interactive # Interactive setup with options
|
|
461
|
+
stackmemory setup-mcp # Configure Claude Code MCP
|
|
462
|
+
stackmemory doctor # Diagnose issues and suggest fixes
|
|
463
|
+
|
|
464
|
+
# Status
|
|
414
465
|
stackmemory status # Current status
|
|
415
466
|
stackmemory progress # Recent activity
|
|
416
467
|
|
|
@@ -455,20 +506,33 @@ stackmemory mcp-server [--port 3001]
|
|
|
455
506
|
- Hosted: **Private beta**
|
|
456
507
|
- OSS mirror: **Production ready**
|
|
457
508
|
- MCP integration: **Stable**
|
|
458
|
-
- CLI: **v0.5.
|
|
509
|
+
- CLI: **v0.5.40** - Zero-config setup, diagnostics, full task/context/Linear management
|
|
459
510
|
- Two-tier storage: **Complete**
|
|
460
|
-
- Test Suite: **
|
|
511
|
+
- Test Suite: **490 tests passing**
|
|
461
512
|
|
|
462
513
|
---
|
|
463
514
|
|
|
464
515
|
## Changelog
|
|
465
516
|
|
|
517
|
+
### v0.5.40 (2026-01-27)
|
|
518
|
+
- **Zero-config onboarding**: `stackmemory init` now works without any prompts
|
|
519
|
+
- **New `setup-mcp` command**: Auto-configures Claude Code MCP integration
|
|
520
|
+
- **New `doctor` command**: Diagnoses issues and suggests fixes
|
|
521
|
+
- **Interactive postinstall**: Asks for consent before modifying ~/.claude
|
|
522
|
+
- **Better error messages**: Shows reason + fix + next step
|
|
523
|
+
- 490 tests passing
|
|
524
|
+
|
|
525
|
+
### v0.5.39 (2026-01-27)
|
|
526
|
+
- **AsyncMutex**: Thread-safe Linear sync with stale lock detection
|
|
527
|
+
- **Action timeout**: 60s timeout for SMS action execution
|
|
528
|
+
- **Persistent rate limiting**: Survives server restarts
|
|
529
|
+
- **Atomic file writes**: Prevents corruption on crash
|
|
530
|
+
|
|
466
531
|
### v0.5.30 (2026-01-26)
|
|
467
532
|
- Standardized error handling with `IntegrationError`, `DatabaseError`, `ValidationError`
|
|
468
533
|
- Adopted error classes across Linear integration (12 files)
|
|
469
534
|
- Adopted error classes across database layer (6 files)
|
|
470
535
|
- WhatsApp notifications with session ID and interactive options
|
|
471
|
-
- 396 tests passing with improved code quality
|
|
472
536
|
|
|
473
537
|
### v0.5.28 (2026-01-25)
|
|
474
538
|
- WhatsApp flag for claude-sm automatic notifications
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stackmemoryai/stackmemory",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.41",
|
|
4
4
|
"description": "Lossless memory runtime for AI coding tools - organizes context as a call stack instead of linear chat logs, with team collaboration and infinite retention",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=20.0.0",
|