feat: add VCS workflows and cycle extension
This commit is contained in:
@@ -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}`);
|
||||
|
||||
Reference in New Issue
Block a user