@kendoo.agentdesk/agentdesk 0.6.1 → 0.6.2

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.
Files changed (2) hide show
  1. package/cli/team.mjs +2 -1
  2. package/package.json +1 -1
package/cli/team.mjs CHANGED
@@ -276,7 +276,8 @@ export async function runTeam(taskId, opts = {}) {
276
276
  const PHASE_NAMES = ["INTAKE", "BRAINSTORM", "PLANNING", "EXECUTION", "REVIEW"];
277
277
 
278
278
  // Build agent name regex dynamically from resolved team
279
- const agentNames = teamSections.names.join("|");
279
+ const escapeRegex = (s) => s.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
280
+ const agentNames = teamSections.names.map(escapeRegex).join("|");
280
281
  const agentRegex = new RegExp(`^(${agentNames})\\s*[●◆▲■◈☾✦*]*\\s*:?\\s*`, "i");
281
282
 
282
283
  function detectAgent(text) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kendoo.agentdesk/agentdesk",
3
- "version": "0.6.1",
3
+ "version": "0.6.2",
4
4
  "description": "AI team orchestrator for Claude Code — run collaborative agent sessions from your terminal",
5
5
  "type": "module",
6
6
  "bin": {