How zilhak/tasty works
Tasty is a cross-platform terminal emulator with GUI and headless control, agent-task orchestration, plugins, and remote attach. The principal workflow is a user or agent issuing a targeted command, the host routing it to an engine/session, and terminal or surface state being updated and presented. The graph preserves the README’s major product branches. Sampled source is limited, so several capability links rely on README statements rather than inspected call sites; unsampled internals are represented only at supported directory or file paths.
Main entry points: commands.rs CLI Commands · app.rs Application Host · server.rs IPC Server · graph.rs Task DAG
Components 20
Host and Control
- CLI Commands
crates/tasty-cli/src/commands.rs - IPC Server
crates/tasty-ipc/src/server.rs - Application Host
src/app.rs - Engine Registry
src/app/engine_registry.rs - Engine Session
src/runtime/engine_session.rs - Display Queries
src/runtime/engine_read.rs
Terminal Runtime
- Terminal Runtime
crates/tasty-terminal/src - GPU Renderer
src/gfx/renderer/pipeline.rs
Agent Orchestration
- Task Service
crates/tasty-task-runtime/src/service.rs - Task DAG
crates/tasty-agent/src/task/graph.rs - Agent Runner
crates/tasty-agent/src/runner.rs - Collaboration Primitives
crates/tasty-agent/src
Plugins
- Plugin Manager
crates/tasty-host-plugin/src/manager.rs - Host Plugin Bridge
src/plugin_bridge/mod.rs - Plugin Processes
crates/tasty-host-plugin/src/process.rs
Remote Attach
- Remote Server
src/remote/server.rs - Remote Client
crates/tasty-remote/src/client_session.rs - Remote Session State
src/remote/state.rs
Other components
- User
- Agent
Connections 21
- User → CLI Commands: issues commands
README.md - Agent → IPC Server: issues requests
README.md - Agent → CLI Commands: issues commands
README.md - CLI Commands → Application Host: controls host
README.md - IPC Server → Application Host: routes requests
README.md - Application Host → Engine Registry: manages engines
src/app.rs - Engine Registry → Engine Session: owns sessions
src/app/engine_registry.rs - Engine Session → Display Queries: exposes queries
src/runtime/engine_session.rs - Application Host → Terminal Runtime: drives terminals
- Terminal Runtime → GPU Renderer: renders output
- CLI Commands → Task Service: starts agent tasks
README.md - IPC Server → Task Service: starts agent tasks
README.md - Task Service → Task DAG: coordinates DAG
README.md - Task DAG → Agent Runner: runs task nodes
README.md - Task DAG → Collaboration Primitives: uses coordination
README.md - Plugin Manager → Plugin Processes: launches processes
README.md - Host Plugin Bridge → Plugin Manager: connects host
src/plugin_bridge/mod.rs - User → Remote Client: attaches remotely
README.md - Remote Client → Remote Server: connects by tunnel
README.md - Remote Server → Remote Session State: tracks sessions
src/remote/server.rs - Remote Client → Remote Session State: maintains mirror state