How joeyjeong07/zellaude works
Zellaude is a Zellij status-bar plugin that combines agent-session activity with tab, session, and mode information, then renders a clickable, theme-aware bar. Its main workflow is agent hooks and Zellij state feeding the plugin, which reconciles session activity and displays it; users can click tabs or invoke layout and pane actions. The README also documents custom states, generator-driven layouts, session templates, Split Three, notifications, and attach-time recovery. Relationships for several unsampled features are based on README statements and the SOURCE INDEX; their internal wiring is not fully visible in the excerpts.
Main entry points: main.rs Plugin coordinator · render.rs Status bar renderer · installer.rs Hook installer · manifest.rs Session manifest
Components 18
Plugin runtime
- Plugin coordinator
src/main.rs - Shared plugin state
src/state.rs - Status bar renderer
src/render.rs - Theme palette
src/theme.rs - Activity symbols
src/tool_symbol.rs
Agent activity
- Session selection
src/session_selection.rs - Hook event handling
src/event_handler.rs - Attach recovery
src/attach.rs - Rainbow animation
src/rainbow.rs
Layout workflows
- Custom states
src/custom_layouts.rs - Layout generators
src/layout_generators.rs - Session templates
src/session_templates.rs - Split Three
src/split_three.rs
Setup and sync
- Hook installer
src/installer.rs - Hook script
scripts/zellaude-hook.sh - Session manifest
src/manifest.rs
Other components
- Zellij host
- Agent hooks
Connections 20
- Zellij host → Plugin coordinator: hosts plugin
README.md - Agent hooks → Hook event handling: send activity
README.md - Plugin coordinator → Shared plugin state: updates
src/main.rs - Plugin coordinator → Hook event handling: handles events
src/main.rs - Plugin coordinator → Attach recovery: recovers sessions
src/main.rs - Plugin coordinator → Status bar renderer: renders bar
src/main.rs - Status bar renderer → Session selection: selects sessions
src/render.rs - Status bar renderer → Theme palette: uses palette
src/render.rs - Status bar renderer → Activity symbols: formats activity
src/render.rs - Status bar renderer → Rainbow animation: animates names
src/render.rs - Plugin coordinator → Hook installer: installs hooks
src/main.rs - Hook installer → Hook script: embeds script
src/installer.rs - Plugin coordinator → Session manifest: writes manifest
src/main.rs - Session manifest → Hook installer: reuses hook key
src/manifest.rs - Plugin coordinator → Custom states: resolves layouts
src/main.rs - Plugin coordinator → Layout generators: expands prompts
src/main.rs - Layout generators → Custom states: uses layouts
src/layout_generators.rs - Plugin coordinator → Session templates: handles templates
src/main.rs - Plugin coordinator → Split Three: dispatches splits
src/main.rs - Zellij host → Session manifest: provides pane state