@open-tomato/rafa 0.9.1 → 0.9.2
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/cli.js +10 -5
- package/dist/index.js +9 -4
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -1534,7 +1534,7 @@ function routeLine(registry, argv) {
|
|
|
1534
1534
|
|
|
1535
1535
|
// package.json
|
|
1536
1536
|
var name = "@open-tomato/rafa";
|
|
1537
|
-
var version = "0.9.
|
|
1537
|
+
var version = "0.9.2";
|
|
1538
1538
|
|
|
1539
1539
|
// src/cli/version.ts
|
|
1540
1540
|
var RAFA_VERSION = version;
|
|
@@ -16390,13 +16390,18 @@ function openNextSources(context, seams = DEFAULT_NEXT_SOURCE_SEAMS) {
|
|
|
16390
16390
|
const git = (seams.openGit ?? createGitRunner)(project.root);
|
|
16391
16391
|
const gh = (seams.openGh ?? ((root) => createGhRunner({ cwd: root })))(project.root);
|
|
16392
16392
|
const loop = resolveLoopSeams({ isAlive: seams.isAlive });
|
|
16393
|
-
|
|
16393
|
+
const board = () => ghNextBoard({ gh, git, configured: config.roadmapIssue });
|
|
16394
|
+
const held = {
|
|
16394
16395
|
base: config.prBase ?? DEFAULT_BASE_BRANCH,
|
|
16395
16396
|
plans: plansDirAt(project.root, config.planDir),
|
|
16396
16397
|
runs: () => readRecords(project.root, loop),
|
|
16397
16398
|
git,
|
|
16398
|
-
pulls: (seams.pullRequests ?? ghPullRequestsIn)(project.root)
|
|
16399
|
-
|
|
16399
|
+
pulls: (seams.pullRequests ?? ghPullRequestsIn)(project.root)
|
|
16400
|
+
};
|
|
16401
|
+
return Object.freeze({
|
|
16402
|
+
...held,
|
|
16403
|
+
board: board(),
|
|
16404
|
+
answer: () => Object.freeze({ ...held, board: board() })
|
|
16400
16405
|
});
|
|
16401
16406
|
}
|
|
16402
16407
|
|
|
@@ -22130,7 +22135,7 @@ async function runNext(context, seams) {
|
|
|
22130
22135
|
const prompter = lazyPrompter(openPrompter);
|
|
22131
22136
|
try {
|
|
22132
22137
|
return await runNextChain({
|
|
22133
|
-
read: () => readNextState(sources),
|
|
22138
|
+
read: () => readNextState(sources.answer()),
|
|
22134
22139
|
run: (state) => runStateAction(context, sources, state),
|
|
22135
22140
|
ask: prompter.ask,
|
|
22136
22141
|
handOver: prompter.close,
|
package/dist/index.js
CHANGED
|
@@ -1914,7 +1914,7 @@ async function report(args, repoRoot) {
|
|
|
1914
1914
|
}
|
|
1915
1915
|
}
|
|
1916
1916
|
// package.json
|
|
1917
|
-
var version = "0.9.
|
|
1917
|
+
var version = "0.9.2";
|
|
1918
1918
|
|
|
1919
1919
|
// src/modules/manifest.ts
|
|
1920
1920
|
var MANIFEST_VERSION = 1;
|
|
@@ -6006,13 +6006,18 @@ function openNextSources(context, seams = DEFAULT_NEXT_SOURCE_SEAMS) {
|
|
|
6006
6006
|
const git = (seams.openGit ?? createGitRunner)(project.root);
|
|
6007
6007
|
const gh = (seams.openGh ?? ((root) => createGhRunner({ cwd: root })))(project.root);
|
|
6008
6008
|
const loop = resolveLoopSeams({ isAlive: seams.isAlive });
|
|
6009
|
-
|
|
6009
|
+
const board = () => ghNextBoard({ gh, git, configured: config.roadmapIssue });
|
|
6010
|
+
const held = {
|
|
6010
6011
|
base: config.prBase ?? DEFAULT_BASE_BRANCH,
|
|
6011
6012
|
plans: plansDirAt(project.root, config.planDir),
|
|
6012
6013
|
runs: () => readRecords(project.root, loop),
|
|
6013
6014
|
git,
|
|
6014
|
-
pulls: (seams.pullRequests ?? ghPullRequestsIn)(project.root)
|
|
6015
|
-
|
|
6015
|
+
pulls: (seams.pullRequests ?? ghPullRequestsIn)(project.root)
|
|
6016
|
+
};
|
|
6017
|
+
return Object.freeze({
|
|
6018
|
+
...held,
|
|
6019
|
+
board: board(),
|
|
6020
|
+
answer: () => Object.freeze({ ...held, board: board() })
|
|
6016
6021
|
});
|
|
6017
6022
|
}
|
|
6018
6023
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@open-tomato/rafa",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.2",
|
|
4
4
|
"description": "Alpha. Runs a plan through the ralph loop: one Claude Code session per task, one commit per task, then a pull request and a CI wait.",
|
|
5
5
|
"private": false,
|
|
6
6
|
"publishConfig": {
|