chore: bump version to 0.1486

feat: interactive teammate tmux pane windows with xterm.js terminals
feat: auto-cleanup teams/subagents/pane windows on session delete
fix: only show agent/teammate windows when matching Claudeman tab exists
fix: UTF-8 encoding in teammate pane terminal output (Uint8Array)
fix: standalone pane window cleanup via subagentParentMap lookup
fix: xterm.js dimensions crash with deferred init + null-safe dispose

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
arkon
2026-02-12 13:44:07 +01:00
co-authored by Claude Opus 4.6
parent 59a8f6bd7d
commit a4e778c7c4
22 changed files with 2589 additions and 102 deletions
+5 -5
View File
@@ -3,7 +3,7 @@
*
* Provides shared functionality for AI-powered checkers that spawn fresh Claude CLI
* sessions to analyze terminal output. This base class handles:
* - Screen session spawning and cleanup
* - Mux session spawning and cleanup
* - Temp file management for output capture
* - Polling for completion markers
* - Cooldown management
@@ -11,7 +11,7 @@
* - Event emission for state changes
*
* Subclasses implement:
* - `screenNamePrefix`: Prefix for screen session names (e.g., 'claudeman-aicheck-')
* - `screenNamePrefix`: Prefix for mux session names (e.g., 'claudeman-aicheck-')
* - `doneMarker`: Completion marker in output file (e.g., '__AICHECK_DONE__')
* - `tempFilePrefix`: Prefix for temp files (e.g., 'claudeman-aicheck')
* - `logPrefix`: Prefix for log messages (e.g., '[AiIdleChecker]')
@@ -115,7 +115,7 @@ const POLL_INTERVAL_MS = 500;
/**
* Abstract base class for AI-powered checkers.
* Handles spawning Claude CLI in a screen session to analyze terminal output.
* Handles spawning Claude CLI in a mux session to analyze terminal output.
*
* @template V - The verdict type (e.g., 'IDLE' | 'WORKING' | 'ERROR')
* @template C - The configuration type
@@ -154,7 +154,7 @@ export abstract class AiCheckerBase<
// ========== Abstract Properties ==========
/** Prefix for screen session names (e.g., 'claudeman-aicheck-') */
/** Prefix for mux session names (e.g., 'claudeman-aicheck-') */
protected abstract readonly screenNamePrefix: string;
/** Marker written to temp file when check is complete */
@@ -318,7 +318,7 @@ export abstract class AiCheckerBase<
/**
* Cancel an in-progress check.
* Kills the screen session and cleans up.
* Kills the mux session and cleans up.
*/
cancel(): void {
if (this._status !== 'checking') return;