How unshoppable/hunt works
Hunt is a macOS desktop client for Claude Code, combining isolated coding sessions with tools for reviewing and understanding their changes. The main workflow is to create or select a session, chat with the agent, then inspect, edit, commit, or review the resulting work. Remote sessions add a gateway-managed VM and session relay; the client also supports an IDE, pull-request reviews, architecture diagrams, and guardrails. Edges are limited to README statements, excerpts, and SOURCE INDEX references; some unsampled subsystem links are therefore omitted.
Main entry points: App.tsx Main app · orchestrator.ts Gateway control plane · store.ts Session state · ChatPanel.tsx Agent chat
Components 24
Desktop workflow
- Main app
apps/client/src/app/App.tsx - Session views
apps/client/src/sessions
Agent sessions
- Agent chat
apps/client/src/chat/ChatPanel.tsx - Session state
apps/client/src/state/store.ts - Worktree sessions
apps/client/src-tauri/src/session
Change inspection
- Change diffs
apps/client/src/diff/DiffPanel.tsx - Git operations
apps/client/src/git/GitPanel.tsx - Built-in IDE
apps/client/src/ide/IdePanel.tsx - Language services
apps/client/src/ide/languageService.ts - PR reviews
apps/client/src/review/PullRequestPanel.tsx - Architecture diagrams
apps/client/src/graph - Guardrails editor
apps/client/src/guardrails
Remote execution
- Remote session client
apps/client/src/chat/remoteSession.ts - Gateway control plane
apps/gateway/src/orchestrator.ts - Gateway API contract
libs/domain/src/gatewayApi.ts - Session VM
apps/gateway/src/sessionVm.ts - ACP relay
apps/session/src/relay/relay.ts - Worktree sync
apps/session/src/sync/helper.ts
Native runtime
- Tauri commands
apps/client/src/ipc/commands.ts - Native services
apps/client/src-tauri/src/lib.rs
Other components
- Developer
- Claude Code
- GitHub / gh
- Cloud VM services
Connections 29
- Developer → Main app: uses
README.md - Main app → Session state: reads state
apps/client/src/app/App.tsx - Main app → Session views: shows
apps/client/src/app/App.tsx - Main app → Agent chat: shows
apps/client/src/app/App.tsx - Main app → Change diffs: shows
apps/client/src/app/App.tsx - Main app → Git operations: shows
apps/client/src/app/App.tsx - Main app → Built-in IDE: shows
apps/client/src/app/App.tsx - Main app → PR reviews: shows
apps/client/src/app/App.tsx - Agent chat → Session state: reads state
apps/client/src/chat/ChatPanel.tsx - Session state → Tauri commands: invokes commands
apps/client/src/state/store.ts - Tauri commands → Native services: bridges to
- Agent chat → Claude Code: prompts
README.md - Worktree sessions → Claude Code: runs agent
README.md - Built-in IDE → Language services: uses services
- Language services → Tauri commands: uses IPC
- Developer → Change diffs: inspects changes
README.md - Developer → Built-in IDE: edits files
README.md - Developer → PR reviews: reviews pull requests
README.md - Developer → Architecture diagrams: views diagrams
README.md - Developer → Guardrails editor: edits rules
README.md - Session state → Remote session client: shares state
apps/client/src/chat/remoteSession.ts - Remote session client → Gateway control plane: requests remote sessions
- Gateway control plane → Gateway API contract: implements contract
apps/gateway/src/orchestrator.ts - Gateway control plane → Session VM: manages VM
apps/gateway/src/orchestrator.ts - Gateway control plane → Cloud VM services: provisions instances
- Session VM → ACP relay: hosts relay
- ACP relay → Claude Code: serves ACP
- Session VM → Worktree sync: syncs worktree
- GitHub / gh → PR reviews: provides reviews
README.md