@kendoo.agentdesk/agentdesk 0.10.2 → 0.10.3
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/cli/orchestrator.mjs +1 -1
- package/cli/prompt.mjs +2 -0
- package/package.json +1 -1
package/cli/orchestrator.mjs
CHANGED
|
@@ -87,7 +87,7 @@ export async function runOrchestrator({
|
|
|
87
87
|
child.stdin.end();
|
|
88
88
|
|
|
89
89
|
const { parseLine } = createStreamParser({
|
|
90
|
-
teamNames: teamSections.names,
|
|
90
|
+
teamNames: soloAgent ? [soloAgent] : teamSections.names,
|
|
91
91
|
callbacks: {
|
|
92
92
|
onPhaseChange({ phase }) { emit({ type: "phase:change", phase }); },
|
|
93
93
|
onAgentMessage({ agent, tag, message }) { emit({ type: "agent:message", agent, tag, message }); },
|
package/cli/prompt.mjs
CHANGED
|
@@ -156,6 +156,8 @@ export function buildSoloPrompt({ agentName, taskId, description, tracker, confi
|
|
|
156
156
|
if (config.jira?.baseUrl) {
|
|
157
157
|
trackerSection = trackerSection.replace(/\{\{JIRA_BASE_URL\}\}/g, config.jira.baseUrl.replace(/\/+$/, ""));
|
|
158
158
|
}
|
|
159
|
+
// Replace hardcoded "Jane" references from team prompt with the solo agent name
|
|
160
|
+
trackerSection = trackerSection.replace(/\bJane\b/g, agentName);
|
|
159
161
|
lines.push(trackerSection);
|
|
160
162
|
}
|
|
161
163
|
|