@stackmemoryai/stackmemory 0.3.14 → 0.3.16

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 CHANGED
@@ -1,14 +1,17 @@
1
1
  # StackMemory
2
2
 
3
- **Lossless, project-scoped memory for AI tools** • v0.3.4
3
+ **Lossless, project-scoped memory for AI tools** • v0.3.15
4
4
 
5
- StackMemory is a **production-ready memory runtime** for AI coding tools that preserves full project context across sessions. With **Phases 1-3 complete**, it delivers:
5
+ StackMemory is a **production-ready memory runtime** for AI coding tools that preserves full project context across sessions. With **Phases 1-4 complete**, it delivers:
6
6
 
7
7
  - ✅ **89-98% faster** task operations than manual tracking
8
8
  - ✅ **10,000+ frame depth** support with hierarchical organization
9
9
  - ✅ **Full Linear integration** with bidirectional sync
10
10
  - ✅ **20+ MCP tools** for Claude Code
11
11
  - ✅ **Context persistence** that survives /clear operations
12
+ - ✅ **Two-tier storage system** with local tiers and infinite remote storage
13
+ - ✅ **Smart compression** (LZ4/ZSTD) with 2.5-3.5x ratios
14
+ - ✅ **Background migration** with configurable triggers
12
15
 
13
16
  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.
14
17
 
@@ -251,18 +254,33 @@ Each interaction: ingests events → updates indices → retrieves relevant cont
251
254
 
252
255
  ## Storage & limits
253
256
 
257
+ ### Two-Tier Storage System (v0.3.15+)
258
+
259
+ StackMemory implements an intelligent two-tier storage architecture:
260
+
261
+ #### Local Storage Tiers
262
+ - **Young (<24h)**: Uncompressed, complete retention in memory/Redis
263
+ - **Mature (1-7d)**: LZ4 compression (~2.5x), selective retention
264
+ - **Old (7-30d)**: ZSTD compression (~3.5x), critical data only
265
+
266
+ #### Remote Storage
267
+ - **Archive (>30d)**: Infinite retention in S3 + TimeSeries DB
268
+ - **Migration**: Automatic background migration based on age, size, and importance
269
+ - **Offline Queue**: Persistent retry logic for failed uploads
270
+
254
271
  ### Free tier (hosted)
255
272
 
256
273
  - 1 project
257
- - Up to **X MB stored**
258
- - Up to **Y MB retrieval egress / month**
274
+ - Up to **2GB local storage**
275
+ - Up to **100GB retrieval egress / month**
259
276
 
260
277
  ### Paid tiers
261
278
 
262
279
  - Per-project pricing
263
- - Higher storage + retrieval
280
+ - Unlimited storage + retrieval
264
281
  - Team sharing
265
282
  - Org controls
283
+ - Custom retention policies
266
284
 
267
285
  **No seat-based pricing.**
268
286
 
@@ -391,6 +409,12 @@ stackmemory linear sync [--direction from_linear]
391
409
  stackmemory linear auto-sync --start
392
410
  stackmemory linear update ENG-123 --status done
393
411
 
412
+ # Storage Management
413
+ stackmemory storage status # Show tier distribution
414
+ stackmemory storage migrate [--tier young] # Trigger migration
415
+ stackmemory storage cleanup --force # Clean old data
416
+ stackmemory storage config --show # Show configuration
417
+
394
418
  # Analytics & Server
395
419
  stackmemory analytics [--view|--port 3000]
396
420
  stackmemory mcp-server [--port 3001]
@@ -401,15 +425,17 @@ stackmemory mcp-server [--port 3001]
401
425
  ## Status
402
426
 
403
427
  - Hosted: **Private beta**
404
- - OSS mirror: **Early preview**
428
+ - OSS mirror: **Production ready**
405
429
  - MCP integration: **Stable**
406
- - CLI: **v0.3.1** - Full task, context, and Linear management
430
+ - CLI: **v0.3.15** - Full task, context, Linear, and storage management
431
+ - Two-tier storage: **Complete**
407
432
 
408
433
  ---
409
434
 
410
435
  ## Roadmap
411
436
 
412
- **Phase 2 (Current):** Query language, LLM retrieval, hybrid digests, scoring profiles
437
+ **Phase 4 (Completed):** Two-tier storage system with local tiers and infinite remote storage
438
+ **Phase 5 (Next):** PostgreSQL production adapter, enhanced team collaboration, advanced analytics
413
439
  **Phase 3:** Team collaboration, shared stacks, frame handoff
414
440
  **Phase 4:** Two-tier storage, enterprise features, cost optimization
415
441