@neriros/ralphy 2.10.0 → 2.10.1
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/index.js +7 -6
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -56407,7 +56407,7 @@ function log(msg) {
|
|
|
56407
56407
|
// package.json
|
|
56408
56408
|
var package_default = {
|
|
56409
56409
|
name: "@neriros/ralphy",
|
|
56410
|
-
version: "2.10.
|
|
56410
|
+
version: "2.10.1",
|
|
56411
56411
|
description: "An iterative AI task execution framework. Orchestrates multi-phase autonomous work using Claude or Codex engines.",
|
|
56412
56412
|
keywords: [
|
|
56413
56413
|
"agent",
|
|
@@ -56538,7 +56538,7 @@ var HELP_TEXT = [
|
|
|
56538
56538
|
" --linear-label <name> Filter by label name (repeatable, any-of)",
|
|
56539
56539
|
" --poll-interval <s> Seconds between Linear polls (default: 60)",
|
|
56540
56540
|
" --concurrency <n> Max concurrent task loops (default: 1)",
|
|
56541
|
-
" --worktree Run each task in its own git worktree (
|
|
56541
|
+
" --worktree Run each task in its own git worktree (~/.ralph/<project>/worktrees/<name>)",
|
|
56542
56542
|
" --in-progress-status <name> Linear status to set when work starts on an issue",
|
|
56543
56543
|
" --done-status <name> Linear status to set when work completes successfully",
|
|
56544
56544
|
" --done-label <name> Linear label to add when work completes successfully",
|
|
@@ -70601,7 +70601,7 @@ class AgentCoordinator {
|
|
|
70601
70601
|
if (this.opts.postComments !== false) {
|
|
70602
70602
|
const body = ok ? `\u2705 Ralph completed work on this issue. Change: \`${changeName}\`` : `\u2717 Ralph exited with code ${code} on this issue. Change: \`${changeName}\`
|
|
70603
70603
|
|
|
70604
|
-
` + `This issue has been quarantined and will not be auto-resumed on the next poll. ` + `Inspect the worktree at
|
|
70604
|
+
` + `This issue has been quarantined and will not be auto-resumed on the next poll. ` + `Inspect the worktree at \`~/.ralph/<project>/worktrees/${changeName}\`, fix the underlying ` + `failure (e.g. lint/typecheck), then run \`ralph clean --name ${changeName}\` to ` + `clear the quarantine and let the next poll re-pick the issue.`;
|
|
70605
70605
|
try {
|
|
70606
70606
|
await updater.postComment(issue, body);
|
|
70607
70607
|
} catch (err) {
|
|
@@ -70658,9 +70658,10 @@ class AgentCoordinator {
|
|
|
70658
70658
|
}
|
|
70659
70659
|
|
|
70660
70660
|
// apps/cli/src/agent/worktree.ts
|
|
70661
|
-
import { join as join13 } from "path";
|
|
70661
|
+
import { basename, join as join13 } from "path";
|
|
70662
|
+
import { homedir as homedir2 } from "os";
|
|
70662
70663
|
function worktreesDir(projectRoot) {
|
|
70663
|
-
return join13(
|
|
70664
|
+
return join13(homedir2(), ".ralph", basename(projectRoot), "worktrees");
|
|
70664
70665
|
}
|
|
70665
70666
|
function branchForChange(changeName) {
|
|
70666
70667
|
return `ralph/${changeName}`;
|
|
@@ -71722,7 +71723,7 @@ try {
|
|
|
71722
71723
|
`);
|
|
71723
71724
|
process.exit(1);
|
|
71724
71725
|
}
|
|
71725
|
-
const worktreeDir = join17(projectRoot,
|
|
71726
|
+
const worktreeDir = join17(worktreesDir(projectRoot), args.name);
|
|
71726
71727
|
const changeDir = join17(tasksDir, args.name);
|
|
71727
71728
|
const stateDir = join17(statesDir, args.name);
|
|
71728
71729
|
const branch = `ralph/${args.name}`;
|