Add inline plans and the ultra tool

This commit is contained in:
alex committed 2026-11-30 17:14:59 +00:00
1 parent 4e0e737ba3
commit d78d6fc31b
10 files changed
+713 -11

No files matched your search

+3 -2
View File
@@ -206,7 +206,7 @@ test("child arguments exclude subagent and workflow tools and do not inherit thi
"-p",
"--no-session",
"--exclude-tools",
"subagent*,workflow",
"subagent*,workflow,ultra",
]);
assert.equal(captured[captured.indexOf("--model") + 1], "agent-model");
assert.equal(captured.includes("--thinking"), false);
@@ -244,7 +244,7 @@ test("child arguments inherit the dispatch model and thinking only without an ex
"-p",
"--no-session",
"--exclude-tools",
"subagent*,workflow",
"subagent*,workflow,ultra",
]);
assert.equal(captured[captured.indexOf("--model") + 1], "dispatch-model");
assert.equal(captured[captured.indexOf("--thinking") + 1], "high");
@@ -274,6 +274,7 @@ test("child arguments omit optional model and thinking flags when nothing is con
const excluded = captured[captured.indexOf("--exclude-tools") + 1].split(",");
assert.ok(excluded.includes("subagent*"), "child cannot dispatch subagents");
assert.ok(excluded.includes("workflow"), "child cannot start workflow runs");
assert.ok(excluded.includes("ultra"), "child cannot start inline ultra runs");
assert.equal(captured.at(-1), "Task: do the thing");
});