feat: add VCS workflows and cycle extension

This commit is contained in:
liujing
2026-07-17 09:07:28 +08:00
parent c9d76d8f58
commit d13f31d9d1
14 changed files with 2335 additions and 189 deletions
+9
View File
@@ -19,6 +19,7 @@ import {
logsWorkflow,
retryReviewWorkflow,
retryExecuteWorkflow,
extendWorkflow,
WorkflowEngineError,
} from "./workflow-engine.js";
import { WorkflowConfigError } from "./workflow-config.js";
@@ -42,6 +43,7 @@ async function main() {
await startWorkflow({
planInput: args.planInput,
executor: args.executor,
vcs: args.vcs,
maxCycles: args.maxCycles,
});
break;
@@ -81,6 +83,13 @@ async function main() {
});
break;
case "extend":
await extendWorkflow({
runId: args.runId,
additionalCycles: args.additionalCycles,
});
break;
default: {
const _exhaustive: never = args;
throw new Error(`Unknown subcommand: ${(_exhaustive as any).sub}`);