thor-0.2.1 is not a library.
Visit the last successful build:
thor-0.0.1
Thor
Git worktree dashboard with AI agent coordination.
Features
- Worktree Management - List, create, switch, and remove git worktrees
- Agent Coordination - Monitor and control AI agents working in worktrees
- Notification Inbox - Receive task completion reports from agents
- Tmux Integration - Popup support, pane discovery, jump to agent panes
- Shell Integration - Automatic
cdto selected worktree
Install
Shell Integration
Add to your ~/.zshrc:
This enables:
thor- Launch TUI with cd integrationthor-popup- Tmux popup launcher
Tmux Integration
Add to your ~/.tmux.conf:
Usage
# Worktree workflow
# Agent management
# Task management
# Signal control
# Queue operations
# Notifications
TUI Keybindings
| Key | Action |
|---|---|
1-4 |
Switch tabs (Dashboard/Worktrees/Inbox/Agents) |
j/k |
Navigate up/down |
h/l |
Switch focus between list and detail panel |
Enter |
Switch to worktree / jump to agent pane |
m |
Message agent (auto-replies if question pending) |
p |
Pause agent |
R |
Resume agent |
n |
Create new worktree |
d |
Delete worktree |
s |
Spawn new agent in worktree |
T |
Cycle color theme |
? |
Toggle help |
q |
Quit |
Configuration
~/.config/thor/config.toml:
[]
= "nord" # nord, catppuccin, tokyo-night, dracula, solarized
Claude Code Integration
Thor integrates with Claude Code via hooks. See scripts/claude-hooks.json for the hook definitions to add to your .claude/settings.json. Hooks automatically register agents, sync tasks, route questions, and send completion notifications — all outside the token budget.
Data Locations
- Config:
~/.config/thor/config.toml - Agents:
~/.local/share/thor/agents/ - Tasks:
~/.local/share/thor/sessions/{session}/tasks/ - Queue:
~/.local/share/thor/queue/
Project Structure
grove/
├── crates/
│ ├── thor-core/ # Git operations, tmux bridge, agent coordination
│ ├── thor-wt/ # Worktree workflow commands
│ ├── thor-notify/ # Notification schema and inbox
│ ├── thor-tui/ # Ratatui TUI interface
│ └── thor-cli/ # CLI entry point
└── scripts/
├── thor.zsh # Shell wrapper for cd integration
├── _thor # Zsh completion script
└── claude-hooks.json # Claude Code hook bridge
License
MIT