Refactor cockpit to use DockerTmuxController pattern
Based on claude-code-tools TmuxCLIController, this refactor: - Added DockerTmuxController class for robust tmux session management - Implements send_keys() with configurable delay_enter - Implements capture_pane() for output retrieval - Implements wait_for_prompt() for pattern-based completion detection - Implements wait_for_idle() for content-hash-based idle detection - Implements wait_for_shell_prompt() for shell prompt detection Also includes workflow improvements: - Pre-task git snapshot before agent execution - Post-task commit protocol in agent guidelines Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
18
lib/__init__.py
Normal file
18
lib/__init__.py
Normal file
@@ -0,0 +1,18 @@
|
||||
# Luzia Orchestrator Library
|
||||
from .docker_bridge import DockerBridge, cleanup_idle_containers, list_project_containers
|
||||
from .sub_agent_context import (
|
||||
SubAgentContext,
|
||||
SubAgentContextManager,
|
||||
FlowPhase,
|
||||
)
|
||||
from .sub_agent_flow_integration import SubAgentFlowIntegrator
|
||||
|
||||
__all__ = [
|
||||
'DockerBridge',
|
||||
'cleanup_idle_containers',
|
||||
'list_project_containers',
|
||||
'SubAgentContext',
|
||||
'SubAgentContextManager',
|
||||
'FlowPhase',
|
||||
'SubAgentFlowIntegrator',
|
||||
]
|
||||
Reference in New Issue
Block a user