feat: reuse executor sessions within Codex tasks
This commit is contained in:
@@ -1,6 +1,24 @@
|
||||
import { describe, expect, it } from "vitest";
|
||||
import { parseWorkflowArgs } from "./workflow-args.js";
|
||||
|
||||
describe("workflow start arguments", () => {
|
||||
it("accepts an explicit new task boundary", () => {
|
||||
expect(parseWorkflowArgs([
|
||||
"start",
|
||||
"--plan", "plan.json",
|
||||
"--executor", "reasonix",
|
||||
"--new-task",
|
||||
])).toEqual({
|
||||
sub: "start",
|
||||
planInput: "plan.json",
|
||||
executor: "reasonix",
|
||||
vcs: undefined,
|
||||
maxCycles: undefined,
|
||||
newTask: true,
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
describe("workflow retry-execute arguments", () => {
|
||||
it("accepts an explicit Claude session ID", () => {
|
||||
expect(parseWorkflowArgs([
|
||||
|
||||
Reference in New Issue
Block a user