@oss-autopilot/core 3.28.1 → 3.29.0
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-registry.js +5 -1
- package/dist/cli.bundle.cjs +116 -116
- package/dist/commands/daily.js +32 -6
- package/dist/commands/guidelines.d.ts +8 -0
- package/dist/commands/guidelines.js +2 -1
- package/dist/commands/overnight-handoff.d.ts +59 -0
- package/dist/commands/overnight-handoff.js +212 -0
- package/dist/commands/overnight-push-prep.d.ts +7 -0
- package/dist/commands/overnight-push-prep.js +93 -25
- package/dist/commands/overnight.d.ts +22 -1
- package/dist/commands/overnight.js +62 -7
- package/dist/core/repo-score-manager.js +23 -2
- package/dist/core/state-persistence.js +25 -11
- package/dist/core/status-determination.js +10 -1
- package/package.json +1 -1
package/dist/cli-registry.js
CHANGED
|
@@ -1367,9 +1367,10 @@ export const commands = [
|
|
|
1367
1367
|
.command('record')
|
|
1368
1368
|
.description('Record a branch an agent prepared for the latest overnight run')
|
|
1369
1369
|
.requiredOption('--url <url>', 'PR or issue URL the branch is for')
|
|
1370
|
-
.
|
|
1370
|
+
.option('--branch <name>', 'Local branch name (required unless --from-report supplies it)')
|
|
1371
1371
|
.option('--worktree <path>', 'Worktree path holding the branch')
|
|
1372
1372
|
.option('--note <text>', 'One-line summary of what was prepared')
|
|
1373
|
+
.option('--from-report <file>', "File holding the preparer's four-line report; supplies branch, worktree and note without putting agent text on the command line")
|
|
1373
1374
|
.option('--json', 'Output as JSON')
|
|
1374
1375
|
.action(async (options) => {
|
|
1375
1376
|
await executeAction(options, async () => (await import('./commands/overnight.js')).runOvernightRecord({
|
|
@@ -1377,6 +1378,7 @@ export const commands = [
|
|
|
1377
1378
|
branch: options.branch,
|
|
1378
1379
|
worktree: options.worktree,
|
|
1379
1380
|
note: options.note,
|
|
1381
|
+
fromReport: options.fromReport,
|
|
1380
1382
|
}), (data) => {
|
|
1381
1383
|
console.log(`Recorded (${data.preparedCount} prepared): ${data.reportPath}`);
|
|
1382
1384
|
if (data.reportRecreated)
|
|
@@ -1390,11 +1392,13 @@ export const commands = [
|
|
|
1390
1392
|
.description("Record that tonight's list issue could not be implemented, so the next run moves on (#1715)")
|
|
1391
1393
|
.requiredOption('--url <url>', 'The issue URL from the report\'s "Implement tonight" line')
|
|
1392
1394
|
.option('--note <text>', 'Why it was blocked')
|
|
1395
|
+
.option('--from-report <file>', "File holding the preparer's four-line report; supplies the note")
|
|
1393
1396
|
.option('--json', 'Output as JSON')
|
|
1394
1397
|
.action(async (options) => {
|
|
1395
1398
|
await executeAction(options, async () => (await import('./commands/overnight.js')).runOvernightImplementBlocked({
|
|
1396
1399
|
url: options.url,
|
|
1397
1400
|
note: options.note,
|
|
1401
|
+
fromReport: options.fromReport,
|
|
1398
1402
|
}), (data) => {
|
|
1399
1403
|
console.log(`Recorded as blocked (${data.attemptCount} attempts on the list): ${data.url}`);
|
|
1400
1404
|
if (data.gistSyncWarning)
|