ralph-mcp 1.0.10 → 1.0.11
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.
|
@@ -6,7 +6,7 @@ import { parsePrdFile } from "../utils/prd-parser.js";
|
|
|
6
6
|
import { createWorktree } from "../utils/worktree.js";
|
|
7
7
|
import { generateAgentPrompt } from "../utils/agent.js";
|
|
8
8
|
import { detectPackageManager, getInstallCommand, } from "../utils/package-manager.js";
|
|
9
|
-
import { areDependenciesSatisfied, findExecutionByBranch, insertExecution, insertUserStories, } from "../store/state.js";
|
|
9
|
+
import { areDependenciesSatisfied, findExecutionByBranch, insertExecution, insertUserStories, updateExecution, } from "../store/state.js";
|
|
10
10
|
export const batchStartInputSchema = z.object({
|
|
11
11
|
prdPaths: z.array(z.string()).describe("Array of paths to PRD markdown files"),
|
|
12
12
|
projectRoot: z.string().optional().describe("Project root directory (defaults to cwd)"),
|
|
@@ -195,6 +195,11 @@ export async function batchStart(input) {
|
|
|
195
195
|
if (depStatus.satisfied) {
|
|
196
196
|
const agentPrompt = generateAgentPrompt(prd.branch, "", // description not stored in prdInfo
|
|
197
197
|
prd.worktreePath || projectRoot, prd.stories, contextPath);
|
|
198
|
+
// Mark as running immediately since we're returning the prompt
|
|
199
|
+
await updateExecution(prd.executionId, {
|
|
200
|
+
status: "running",
|
|
201
|
+
updatedAt: new Date(),
|
|
202
|
+
});
|
|
198
203
|
readyToStart.push({
|
|
199
204
|
branch: prd.branch,
|
|
200
205
|
agentPrompt,
|
package/package.json
CHANGED