ralph-mcp 1.1.3 → 1.1.4

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/dist/index.js CHANGED
File without changes
@@ -35,6 +35,17 @@ ${s.acceptanceCriteria.map((ac) => `- ${ac}`).join("\n")}
35
35
  // Ignore read errors
36
36
  }
37
37
  }
38
+ // Read knowledge base if it exists (Long-term memory)
39
+ let knowledgeBase = "";
40
+ const knowledgePath = join(worktreePath, "knowledge.md");
41
+ if (existsSync(knowledgePath)) {
42
+ try {
43
+ knowledgeBase = readFileSync(knowledgePath, "utf-8");
44
+ }
45
+ catch (e) {
46
+ // Ignore read errors
47
+ }
48
+ }
38
49
  // Read injected context if provided
39
50
  let injectedContext = "";
40
51
  if (contextInjectionPath && existsSync(contextInjectionPath)) {
@@ -67,6 +78,7 @@ ${worktreePath}
67
78
  - Current story: ${pendingStories[0].storyId}
68
79
  ${loopContext ? `- Loop iteration: ${loopContext.loopCount}` : ""}
69
80
  ${loopWarning}
81
+ ${knowledgeBase ? `## Knowledge Base (Long-term Memory)\n${knowledgeBase}\n` : ""}
70
82
  ${injectedContext ? `## Project Context\n${injectedContext}\n` : ""}
71
83
 
72
84
  ${progressLog ? `## Progress & Learnings\n${progressLog}\n` : ""}
package/package.json CHANGED
@@ -1,12 +1,18 @@
1
1
  {
2
2
  "name": "ralph-mcp",
3
- "version": "1.1.3",
3
+ "version": "1.1.4",
4
4
  "description": "MCP server for autonomous PRD execution with Claude Code. Git worktree isolation, progress tracking, auto-merge.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "bin": {
8
8
  "ralph-mcp": "dist/index.js"
9
9
  },
10
+ "scripts": {
11
+ "build": "tsc",
12
+ "dev": "tsx watch src/index.ts",
13
+ "start": "node dist/index.js",
14
+ "prepublishOnly": "npm run build"
15
+ },
10
16
  "keywords": [
11
17
  "mcp",
12
18
  "claude",
@@ -48,10 +54,5 @@
48
54
  "@types/node-notifier": "^8.0.5",
49
55
  "tsx": "^4.21.0",
50
56
  "typescript": "^5.9.3"
51
- },
52
- "scripts": {
53
- "build": "tsc",
54
- "dev": "tsx watch src/index.ts",
55
- "start": "node dist/index.js"
56
57
  }
57
- }
58
+ }