How respeak-io/episko works
Episko is a native desktop cockpit for running and supervising multiple coding-agent sessions, ordinary shell panes, and project tasks. Users launch or resume work in real terminals, monitor agent state and approvals, and manage related project work from dashboards, GitHub review, history, and usage views. The frontend coordinates these surfaces with a Tauri command backend for process, Git, and GitHub operations. The README documents the major product capabilities; several implementation links below are therefore documented rather than source-verified, and unsampled modules are represented only at their known paths.
Main entry points: main.ts App coordinator · index.ts Provider adapters · agent.rs Agent control · reviewui.ts Review interface
Components 22
Session runtime
- Session state
src/state.ts - Provider adapters
src/providers/index.ts - Agent control
src-tauri/src/agent.rs - PTY terminals
src-tauri/src/pty.rs - Permission handling
src/permissions.ts
Project workspace
- Task discovery
src-tauri/src/tasks.rs - Task sessions
src/taskrun.ts - Git and worktrees
src-tauri/src/git.rs - Project dashboard
src/dashboard.ts
Monitoring
- Live telemetry
src-tauri/src/telemetry.rs - Session history
src/history.ts - Usage analytics
src/usage.ts - Dependency health
src-tauri/src/health.rs
Review and sharing
- Issues and claims
src-tauri/src/github.rs - Review rules
src/review.ts - Review interface
src/reviewui.ts - Project sync
src/sync.ts - Sync service
episko-server/src/serve.rs
App platform
- App coordinator
src/main.ts - Local preferences
src/store.ts - OS integration
src-tauri/src/platform.rs
Other components
- User
Connections 23
- User → App coordinator: launches and operates
- App coordinator → Session state: coordinates sessions
src/main.ts - App coordinator → Provider adapters: selects adapters
src/main.ts - Provider adapters → Agent control: requests provider control
- Agent control → PTY terminals: starts agent terminals
- Agent control → Live telemetry: instruments sessions
- App coordinator → Permission handling: dispatches approval actions
src/main.ts - App coordinator → Task discovery: requests runnable tasks
- App coordinator → Task sessions: starts task sessions
src/main.ts - Task sessions → PTY terminals: runs in terminal panes
- App coordinator → Git and worktrees: requests Git operations
- App coordinator → Project dashboard: renders project view
src/main.ts - Project dashboard → Issues and claims: loads issue data
- App coordinator → Review interface: renders review stage
src/main.ts - Review interface → Review rules: uses review rules
src/reviewui.ts - Review interface → Issues and claims: submits review actions
src/reviewui.ts - Provider adapters → Session history: reconciles provider history
src/providers/index.ts - App coordinator → Usage analytics: shows usage dashboard
- App coordinator → Dependency health: shows dependency status
- App coordinator → Project sync: starts sync listeners
src/main.ts - Project sync → Sync service: exchanges project data
- Session state → Local preferences: loads preferences
src/state.ts - App coordinator → OS integration: invokes native commands