chore: bump version to 0.1479

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
arkon
2026-02-12 08:34:51 +01:00
co-authored by Claude Opus 4.6
parent df84804189
commit 3145b3f9a3
19 changed files with 2709 additions and 24 deletions
+14 -1
View File
@@ -149,12 +149,25 @@ export class AiIdleChecker extends AiCheckerBase<
protected readonly logPrefix = '[AiIdleChecker]';
protected readonly checkDescription = 'AI idle check';
/** Number of active teammates (injected by respawn controller) */
private teammateCount: number = 0;
constructor(sessionId: string, config: Partial<AiIdleCheckConfig> = {}) {
super(sessionId, DEFAULT_AI_CHECK_CONFIG, config);
}
/** Set active teammate count for prompt context injection */
setTeammateCount(count: number): void {
this.teammateCount = count;
}
protected buildPrompt(terminalBuffer: string): string {
return AI_CHECK_PROMPT.replace('{TERMINAL_BUFFER}', terminalBuffer);
let prompt = AI_CHECK_PROMPT.replace('{TERMINAL_BUFFER}', terminalBuffer);
if (this.teammateCount > 0) {
const teamContext = `\n\n## Agent Teams Context\n${this.teammateCount} agent teammate(s) are currently working on tasks for this session.\nIf teammates are active, answer WORKING — the lead is waiting for their results.\n`;
prompt = prompt.replace('## Terminal Output to Analyze', teamContext + '## Terminal Output to Analyze');
}
return prompt;
}
protected parseVerdict(output: string): { verdict: AiCheckVerdict; reasoning: string } | null {