mirror of
https://github.com/anomalyco/opencode.git
synced 2026-07-23 02:36:57 -04:00
240e989e8f
Phase 4: Tiara Hook Integration - Add lifecycle hooks module (src/hooks/lifecycle.ts) - Daemon lifecycle hooks: start, ready, shutdown - Session lifecycle hooks: start, restore, end, transfer - Todo lifecycle hooks: continuation, completed, blocked - Integrate hooks with daemon startup/shutdown - Integrate hooks with Telegram gateway for session events Phase 5: WezTerm Visual Orchestration - Add WezTerm orchestration module (src/orchestration/wezterm.ts) - Display detection (X11 via DISPLAY, Wayland via WAYLAND_DISPLAY) - Status pane showing daemon health, services, sessions - Session pane management API (create/close/focus) - Graceful degradation when no display available - CLI options: --wezterm, --wezterm-layout - Integration with lifecycle hooks for auto-updates Also includes: - Session persistence module (src/session/persistence.ts) - Telegram gateway (src/gateway/telegram.ts) - Daemon CLI command (src/cli/cmd/daemon.ts) - Systemd service files (scripts/systemd/) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>