@kendoo.agentdesk/agentdesk 0.20.6 → 0.21.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/bin/agentdesk.mjs +12 -4
- package/package.json +1 -1
package/bin/agentdesk.mjs
CHANGED
|
@@ -79,7 +79,9 @@ if (!command || command === "help" || command === "--help") {
|
|
|
79
79
|
Options:
|
|
80
80
|
--description, -d Task description or requirements
|
|
81
81
|
--cwd Working directory (defaults to current)
|
|
82
|
-
--
|
|
82
|
+
--single-process Run the whole team session in one Claude process on the EXECUTION model.
|
|
83
|
+
Default is phased mode (INTAKE → PLAN → EXECUTION → REVIEW → SUMMARY),
|
|
84
|
+
which honors per-phase model overrides from project settings.
|
|
83
85
|
--child-strategy How to handle child tasks: "inline" (default) or "branch"
|
|
84
86
|
|
|
85
87
|
|
|
@@ -93,7 +95,7 @@ if (!command || command === "help" || command === "--help") {
|
|
|
93
95
|
|
|
94
96
|
Examples:
|
|
95
97
|
agentdesk team KEN-517
|
|
96
|
-
agentdesk team KEN-517 --
|
|
98
|
+
agentdesk team KEN-517 --single-process
|
|
97
99
|
agentdesk team -d "Fix the checkout total calculation"
|
|
98
100
|
agentdesk team -d "Add Google OAuth to the login page"
|
|
99
101
|
|
|
@@ -161,12 +163,16 @@ else if (command === "bootstrap") {
|
|
|
161
163
|
}
|
|
162
164
|
|
|
163
165
|
else if (command === "team") {
|
|
164
|
-
// Parse options first to find -d, --cwd, --child-strategy
|
|
166
|
+
// Parse options first to find -d, --cwd, --child-strategy.
|
|
167
|
+
// `phased` is the default — each phase spawns its own Claude process so
|
|
168
|
+
// per-phase model overrides from .agentdesk.json are honored. Pass
|
|
169
|
+
// --single-process (alias --no-phased) to fall back to the legacy
|
|
170
|
+
// single-process mode that runs everything on the EXECUTION model.
|
|
165
171
|
let description = "";
|
|
166
172
|
let cwd = process.cwd();
|
|
167
173
|
let taskId = null;
|
|
168
174
|
let childStrategy = null;
|
|
169
|
-
let phased =
|
|
175
|
+
let phased = true;
|
|
170
176
|
const remaining = args.slice(1);
|
|
171
177
|
|
|
172
178
|
for (let i = 0; i < remaining.length; i++) {
|
|
@@ -178,6 +184,8 @@ else if (command === "team") {
|
|
|
178
184
|
childStrategy = remaining[++i];
|
|
179
185
|
} else if (remaining[i] === "--phased") {
|
|
180
186
|
phased = true;
|
|
187
|
+
} else if (remaining[i] === "--single-process" || remaining[i] === "--no-phased") {
|
|
188
|
+
phased = false;
|
|
181
189
|
} else if (!taskId && !remaining[i].startsWith("-")) {
|
|
182
190
|
taskId = remaining[i];
|
|
183
191
|
}
|