tuna-agent 0.1.29 → 0.1.30
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.
|
@@ -274,6 +274,12 @@ export class ClaudeCodeAdapter {
|
|
|
274
274
|
if (err instanceof Error && err.message === '__FOLLOW_UP_TIMEOUT__') {
|
|
275
275
|
console.log(`[ClaudeCode] No follow-up after ${FOLLOW_UP_TIMEOUT_MS / 1000}s — closing task`);
|
|
276
276
|
pendingInputResolvers.delete(task.id);
|
|
277
|
+
ws.sendTaskDone(task.id, {
|
|
278
|
+
result: 'Agent Team task completed',
|
|
279
|
+
durationMs: totalDurationMs,
|
|
280
|
+
sessionId,
|
|
281
|
+
});
|
|
282
|
+
this.trackMetrics('done', totalDurationMs);
|
|
277
283
|
const timeoutOutput = lastTaskOutput || 'Task completed (no follow-up)';
|
|
278
284
|
this.runReflection(task, timeoutOutput, 'done', task.repoPath)
|
|
279
285
|
.then(() => this.runSelfImprovement(task.repoPath))
|