@neriros/ralphy 2.7.4 → 2.7.5
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 +12 -9
- package/dist/cli/index.js +37 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -143,15 +143,18 @@ Failed workers (non-zero exit) are not marked processed, so they'll be retried o
|
|
|
143
143
|
|
|
144
144
|
### Agent mode flags
|
|
145
145
|
|
|
146
|
-
| Option
|
|
147
|
-
|
|
|
148
|
-
| `--linear-team <key>`
|
|
149
|
-
| `--linear-assignee <id>`
|
|
150
|
-
| `--linear-status <name>`
|
|
151
|
-
| `--linear-label <name>`
|
|
152
|
-
| `--poll-interval <s>`
|
|
153
|
-
| `--concurrency <n>`
|
|
154
|
-
| `--worktree`
|
|
146
|
+
| Option | Description |
|
|
147
|
+
| ----------------------------- | --------------------------------------------- |
|
|
148
|
+
| `--linear-team <key>` | Linear team key (e.g. `ENG`) |
|
|
149
|
+
| `--linear-assignee <id>` | Filter by assignee (user id, email, or `me`) |
|
|
150
|
+
| `--linear-status <name>` | Filter by status name (repeatable) |
|
|
151
|
+
| `--linear-label <name>` | Filter by label name (repeatable, any-of) |
|
|
152
|
+
| `--poll-interval <s>` | Seconds between Linear polls (default: 60) |
|
|
153
|
+
| `--concurrency <n>` | Max concurrent task loops (default: 1) |
|
|
154
|
+
| `--worktree` | Run each task in its own git worktree |
|
|
155
|
+
| `--in-progress-status <name>` | Linear status to set when work starts |
|
|
156
|
+
| `--done-status <name>` | Linear status to set on successful completion |
|
|
157
|
+
| `--done-label <name>` | Linear label to add on successful completion |
|
|
155
158
|
|
|
156
159
|
## OpenSpec Flow
|
|
157
160
|
|
package/dist/cli/index.js
CHANGED
|
@@ -56153,6 +56153,9 @@ var HELP_TEXT = [
|
|
|
56153
56153
|
" --poll-interval <s> Seconds between Linear polls (default: 60)",
|
|
56154
56154
|
" --concurrency <n> Max concurrent task loops (default: 1)",
|
|
56155
56155
|
" --worktree Run each task in its own git worktree (.ralph/worktrees/<name>)",
|
|
56156
|
+
" --in-progress-status <name> Linear status to set when work starts on an issue",
|
|
56157
|
+
" --done-status <name> Linear status to set when work completes successfully",
|
|
56158
|
+
" --done-label <name> Linear label to add when work completes successfully",
|
|
56156
56159
|
"",
|
|
56157
56160
|
" --help, -h Show this help message",
|
|
56158
56161
|
"",
|
|
@@ -56189,7 +56192,10 @@ async function parseArgs(argv) {
|
|
|
56189
56192
|
linearLabel: [],
|
|
56190
56193
|
pollInterval: 60,
|
|
56191
56194
|
concurrency: 1,
|
|
56192
|
-
worktree: false
|
|
56195
|
+
worktree: false,
|
|
56196
|
+
inProgressStatus: "",
|
|
56197
|
+
doneStatus: "",
|
|
56198
|
+
doneLabel: ""
|
|
56193
56199
|
};
|
|
56194
56200
|
let expectModel = false;
|
|
56195
56201
|
let expectModelFlag = false;
|
|
@@ -56209,6 +56215,9 @@ async function parseArgs(argv) {
|
|
|
56209
56215
|
let expectLinearLabel = false;
|
|
56210
56216
|
let expectPollInterval = false;
|
|
56211
56217
|
let expectConcurrency = false;
|
|
56218
|
+
let expectInProgressStatus = false;
|
|
56219
|
+
let expectDoneStatus = false;
|
|
56220
|
+
let expectDoneLabel = false;
|
|
56212
56221
|
for (const arg of argv) {
|
|
56213
56222
|
if (expectModel) {
|
|
56214
56223
|
if (VALID_MODELS.has(arg)) {
|
|
@@ -56304,6 +56313,21 @@ async function parseArgs(argv) {
|
|
|
56304
56313
|
expectConcurrency = false;
|
|
56305
56314
|
continue;
|
|
56306
56315
|
}
|
|
56316
|
+
if (expectInProgressStatus) {
|
|
56317
|
+
result2.inProgressStatus = arg;
|
|
56318
|
+
expectInProgressStatus = false;
|
|
56319
|
+
continue;
|
|
56320
|
+
}
|
|
56321
|
+
if (expectDoneStatus) {
|
|
56322
|
+
result2.doneStatus = arg;
|
|
56323
|
+
expectDoneStatus = false;
|
|
56324
|
+
continue;
|
|
56325
|
+
}
|
|
56326
|
+
if (expectDoneLabel) {
|
|
56327
|
+
result2.doneLabel = arg;
|
|
56328
|
+
expectDoneLabel = false;
|
|
56329
|
+
continue;
|
|
56330
|
+
}
|
|
56307
56331
|
switch (arg) {
|
|
56308
56332
|
case "--claude":
|
|
56309
56333
|
if (result2.engineSet && result2.engine !== "claude") {
|
|
@@ -56383,6 +56407,15 @@ async function parseArgs(argv) {
|
|
|
56383
56407
|
case "--worktree":
|
|
56384
56408
|
result2.worktree = true;
|
|
56385
56409
|
break;
|
|
56410
|
+
case "--in-progress-status":
|
|
56411
|
+
expectInProgressStatus = true;
|
|
56412
|
+
break;
|
|
56413
|
+
case "--done-status":
|
|
56414
|
+
expectDoneStatus = true;
|
|
56415
|
+
break;
|
|
56416
|
+
case "--done-label":
|
|
56417
|
+
expectDoneLabel = true;
|
|
56418
|
+
break;
|
|
56386
56419
|
default:
|
|
56387
56420
|
if (VALID_MODES.has(arg)) {
|
|
56388
56421
|
result2.mode = arg;
|
|
@@ -70249,9 +70282,9 @@ function AgentMode({ args, projectRoot, statesDir, tasksDir }) {
|
|
|
70249
70282
|
}, {
|
|
70250
70283
|
concurrency,
|
|
70251
70284
|
filter: filter2,
|
|
70252
|
-
inProgressStatus: cfg.linear.inProgressStatus,
|
|
70253
|
-
doneStatus: cfg.linear.doneStatus,
|
|
70254
|
-
doneLabel: cfg.linear.doneLabel,
|
|
70285
|
+
inProgressStatus: args.inProgressStatus || cfg.linear.inProgressStatus,
|
|
70286
|
+
doneStatus: args.doneStatus || cfg.linear.doneStatus,
|
|
70287
|
+
doneLabel: args.doneLabel || cfg.linear.doneLabel,
|
|
70255
70288
|
postComments: cfg.linear.postComments
|
|
70256
70289
|
});
|
|
70257
70290
|
coordRef.current = coord2;
|