@stackmemoryai/stackmemory 1.2.6 → 1.2.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.
package/README.md
CHANGED
|
@@ -5,7 +5,11 @@
|
|
|
5
5
|
[](https://codecov.io/gh/stackmemoryai/stackmemory)
|
|
6
6
|
[](https://www.npmjs.com/package/@stackmemoryai/stackmemory)
|
|
7
7
|
|
|
8
|
-
Lossless, project-scoped memory for AI coding tools.
|
|
8
|
+
Lossless, project-scoped memory for AI coding tools. **[Website](https://stackmemoryai.github.io/stackmemory/)** | **[MCP Tools](https://stackmemoryai.github.io/stackmemory/tools.html)** | **[Getting Started](./docs/GETTING_STARTED.md)**
|
|
9
|
+
|
|
10
|
+
<p align="center">
|
|
11
|
+
<img src="site/demo.svg" alt="StackMemory setup demo" width="560">
|
|
12
|
+
</p>
|
|
9
13
|
|
|
10
14
|
StackMemory is a **production-ready memory runtime** for AI coding tools that preserves full project context across sessions:
|
|
11
15
|
|
|
@@ -351,6 +355,8 @@ See [docs/cli.md](https://github.com/stackmemoryai/stackmemory/blob/main/docs/cl
|
|
|
351
355
|
|
|
352
356
|
## Documentation
|
|
353
357
|
|
|
358
|
+
- [Getting Started](./docs/GETTING_STARTED.md) — Quick start guide (5 minutes)
|
|
359
|
+
- [MCP Tools Reference](https://stackmemoryai.github.io/stackmemory/tools.html) — All 32 MCP tools
|
|
354
360
|
- [CLI Reference](./docs/cli.md) — Full command reference
|
|
355
361
|
- [Setup Guide](./docs/SETUP.md) — Advanced setup options
|
|
356
362
|
- [Development Guide](./docs/DEVELOPMENT.md) — Contributing and development
|
|
@@ -317,12 +317,12 @@ ${contextResponse.context}`;
|
|
|
317
317
|
"Launch Oracle/Worker pattern swarm for cost-effective execution"
|
|
318
318
|
).argument("<project>", "Project description for Oracle planning").option(
|
|
319
319
|
"--oracle <model>",
|
|
320
|
-
"Oracle model (default: claude-
|
|
321
|
-
"claude-
|
|
320
|
+
"Oracle model (default: claude-sonnet-4-5)",
|
|
321
|
+
"claude-sonnet-4-5-20250929"
|
|
322
322
|
).option(
|
|
323
323
|
"--workers <models>",
|
|
324
324
|
"Comma-separated worker models",
|
|
325
|
-
"claude-
|
|
325
|
+
"claude-haiku-4-5-20251001"
|
|
326
326
|
).option("--budget <amount>", "Cost budget in USD", "10.0").option("--max-workers <count>", "Maximum worker agents", "5").option("--hints <hints>", "Comma-separated planning hints").action(async (project, options) => {
|
|
327
327
|
return trace.command(
|
|
328
328
|
"ralph-oracle-worker",
|
|
@@ -113,10 +113,11 @@ class ClaudeAdapter {
|
|
|
113
113
|
}
|
|
114
114
|
async listModels() {
|
|
115
115
|
return [
|
|
116
|
-
"claude-opus-4-
|
|
116
|
+
"claude-opus-4-6",
|
|
117
|
+
"claude-sonnet-4-5-20250929",
|
|
118
|
+
"claude-haiku-4-5-20251001",
|
|
117
119
|
"claude-sonnet-4-20250514",
|
|
118
|
-
"claude-3-5-haiku-20241022"
|
|
119
|
-
"claude-3-opus-20240229"
|
|
120
|
+
"claude-3-5-haiku-20241022"
|
|
120
121
|
];
|
|
121
122
|
}
|
|
122
123
|
buildRequestBody(messages, options) {
|
|
@@ -360,16 +361,7 @@ class GPTAdapter {
|
|
|
360
361
|
}
|
|
361
362
|
}
|
|
362
363
|
async listModels() {
|
|
363
|
-
return [
|
|
364
|
-
"gpt-4o",
|
|
365
|
-
"gpt-4o-mini",
|
|
366
|
-
"gpt-4-turbo",
|
|
367
|
-
"gpt-4",
|
|
368
|
-
"gpt-3.5-turbo",
|
|
369
|
-
"o1",
|
|
370
|
-
"o1-mini",
|
|
371
|
-
"o1-preview"
|
|
372
|
-
];
|
|
364
|
+
return ["gpt-4o", "gpt-4o-mini", "o3-mini", "o4-mini"];
|
|
373
365
|
}
|
|
374
366
|
}
|
|
375
367
|
function createProvider(id, config) {
|
|
@@ -22,16 +22,14 @@ const MODEL_TOKEN_LIMITS = {
|
|
|
22
22
|
"claude-sonnet-4-5-20250929": 2e5,
|
|
23
23
|
"claude-haiku-4-5-20251001": 2e5,
|
|
24
24
|
"claude-sonnet-4-20250514": 2e5,
|
|
25
|
-
// Claude 3.x
|
|
25
|
+
// Claude 3.x (legacy, still functional)
|
|
26
26
|
"claude-3-5-sonnet-20241022": 2e5,
|
|
27
27
|
"claude-3-5-haiku-20241022": 2e5,
|
|
28
|
-
"claude-3-opus-20240229": 2e5,
|
|
29
28
|
// OpenAI
|
|
30
29
|
"gpt-4o": 128e3,
|
|
31
|
-
"gpt-
|
|
32
|
-
"gpt-4": 8192,
|
|
33
|
-
o1: 2e5,
|
|
30
|
+
"gpt-4o-mini": 128e3,
|
|
34
31
|
"o3-mini": 2e5,
|
|
32
|
+
"o4-mini": 2e5,
|
|
35
33
|
// Qwen
|
|
36
34
|
"qwen3-max-2025-01-23": 128e3,
|
|
37
35
|
// Cerebras
|
|
@@ -320,9 +320,9 @@ const defaultModelConfigs = {
|
|
|
320
320
|
{
|
|
321
321
|
tier: "oracle",
|
|
322
322
|
provider: "claude",
|
|
323
|
-
model: "claude-
|
|
324
|
-
costPerToken:
|
|
325
|
-
// $
|
|
323
|
+
model: "claude-sonnet-4-5-20250929",
|
|
324
|
+
costPerToken: 3e-3,
|
|
325
|
+
// $3/1M input tokens
|
|
326
326
|
capabilities: [
|
|
327
327
|
"strategic_planning",
|
|
328
328
|
"complex_reasoning",
|
|
@@ -336,9 +336,9 @@ const defaultModelConfigs = {
|
|
|
336
336
|
{
|
|
337
337
|
tier: "worker",
|
|
338
338
|
provider: "claude",
|
|
339
|
-
model: "claude-
|
|
340
|
-
costPerToken:
|
|
341
|
-
// $0.
|
|
339
|
+
model: "claude-haiku-4-5-20251001",
|
|
340
|
+
costPerToken: 8e-4,
|
|
341
|
+
// $0.80/1M input tokens
|
|
342
342
|
capabilities: [
|
|
343
343
|
"code_implementation",
|
|
344
344
|
"unit_testing",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stackmemoryai/stackmemory",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.7",
|
|
4
4
|
"description": "Project-scoped memory for AI coding tools. Durable context across sessions with 32 MCP tools, FTS5 search, Claude/Codex/OpenCode wrappers, Linear sync, automatic hooks, and log analysis.",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=20.0.0",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"type": "git",
|
|
53
53
|
"url": "https://github.com/stackmemoryai/stackmemory.git"
|
|
54
54
|
},
|
|
55
|
-
"homepage": "https://github.
|
|
55
|
+
"homepage": "https://stackmemoryai.github.io/stackmemory/",
|
|
56
56
|
"bugs": {
|
|
57
57
|
"url": "https://github.com/stackmemoryai/stackmemory/issues"
|
|
58
58
|
},
|
|
@@ -63,22 +63,35 @@
|
|
|
63
63
|
},
|
|
64
64
|
"keywords": [
|
|
65
65
|
"ai",
|
|
66
|
+
"ai-memory",
|
|
67
|
+
"ai-coding",
|
|
66
68
|
"memory",
|
|
67
69
|
"context",
|
|
70
|
+
"context-management",
|
|
68
71
|
"llm",
|
|
69
72
|
"mcp",
|
|
73
|
+
"mcp-server",
|
|
74
|
+
"mcp-tools",
|
|
75
|
+
"model-context-protocol",
|
|
70
76
|
"claude",
|
|
71
77
|
"claude-code",
|
|
72
|
-
"
|
|
78
|
+
"codex",
|
|
79
|
+
"opencode",
|
|
80
|
+
"coding-assistant",
|
|
73
81
|
"persistence",
|
|
82
|
+
"session-persistence",
|
|
83
|
+
"fts5",
|
|
84
|
+
"full-text-search",
|
|
85
|
+
"sqlite",
|
|
74
86
|
"skills",
|
|
75
87
|
"hooks",
|
|
76
|
-
"spec-generator",
|
|
77
88
|
"linear",
|
|
89
|
+
"linear-integration",
|
|
78
90
|
"task-runner",
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
"
|
|
91
|
+
"agent-orchestration",
|
|
92
|
+
"multi-agent",
|
|
93
|
+
"developer-tools",
|
|
94
|
+
"devtools"
|
|
82
95
|
],
|
|
83
96
|
"scripts": {
|
|
84
97
|
"start": "node dist/src/integrations/mcp/server.js",
|