@kendoo.agentdesk/agentdesk 0.20.5 → 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 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
- --phased Run in phased mode (INTAKE PLAN EXECUTION REVIEW SUMMARY)
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 --phased
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 = false;
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
  }
package/cli/daemon.mjs CHANGED
@@ -465,7 +465,7 @@ export async function runDaemon() {
465
465
  // Clear active session BEFORE sending session:end — this prevents
466
466
  // the orchestrator's onEvent callback from sending a duplicate
467
467
  activeSession = null;
468
- sendBuffered(sessionId, { type: "session:end", duration, steps: 0, inputTokens: 0, outputTokens: 0 });
468
+ sendBuffered(sessionId, { type: "session:end", duration, steps: 0, inputTokens: 0, outputTokens: 0, status: "stopped" });
469
469
  }
470
470
  }
471
471
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kendoo.agentdesk/agentdesk",
3
- "version": "0.20.5",
3
+ "version": "0.21.0",
4
4
  "description": "AI team orchestrator for Claude Code — run collaborative agent sessions from your terminal",
5
5
  "type": "module",
6
6
  "bin": {