Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CLAUDE-IPC.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@ window.maestro.history = {

- `power` - Sleep prevention: setEnabled, isEnabled, getStatus, addReason, removeReason

## Integrations

- `wakatime` - WakaTime CLI management: checkCli, validateApiKey

## Utilities

- `fonts` - Font detection
Expand Down
46 changes: 46 additions & 0 deletions docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Settings are organized into tabs:
| **Notifications** | OS notifications, custom command notifications, toast notification duration |
| **AI Commands** | View and edit slash commands, [Spec-Kit](./speckit-commands), and [OpenSpec](./openspec-commands) prompts |
| **SSH Hosts** | Configure remote hosts for [SSH agent execution](./ssh-remote-execution) |
| **WakaTime** *(in General tab)* | WakaTime integration toggle, API key, detailed file tracking |

## Conductor Profile

Expand Down Expand Up @@ -263,6 +264,51 @@ Sleep prevention on Linux uses standard freedesktop.org interfaces:
On unsupported Linux configurations, the feature silently does nothing — your system will sleep normally according to its power settings.
</Info>

## WakaTime Integration

Maestro integrates with [WakaTime](https://wakatime.com) to track coding activity across your AI sessions. The WakaTime CLI is auto-installed when you enable the integration.

**To enable:**

1. Open **Settings** (`Cmd+,` / `Ctrl+,`) → **General** tab
2. Toggle **Enable WakaTime tracking** on
3. Enter your API key (get it from [wakatime.com/settings/api-key](https://wakatime.com/settings/api-key))

### What Gets Tracked

By default, Maestro sends **app-level heartbeats** — WakaTime sees time spent in Maestro as a single project entry with language detected from your project's manifest files (e.g., `tsconfig.json` → TypeScript).

### Detailed File Tracking

Enable **Detailed file tracking** to send per-file heartbeats for write operations. When an agent writes or edits a file, Maestro sends that file path to WakaTime with:

- The file's language (detected from extension)
- A write flag indicating the file was modified
- Project name and branch

File paths (not file content) are sent to WakaTime's servers. This setting defaults to off and requires two explicit opt-ins (WakaTime enabled + detailed tracking enabled).

### Supported Tools

File heartbeats are generated for write operations across all supported agents:

| Agent | Tracked Tools |
|-------|--------------|
| Claude Code | Write, Edit, NotebookEdit |
| Codex | write_to_file, str_replace_based_edit_tool, create_file |
| OpenCode | write, patch |

Read operations and shell commands are excluded to avoid inflating tracked time.

### Activity Categories

Maestro assigns WakaTime categories based on how the session was initiated:

- **Interactive sessions** (user-driven) are tracked as `building`
- **Auto Run / batch sessions** are tracked as `ai coding`

This lets you distinguish time you spent actively directing agents from time the AI worked autonomously on your WakaTime dashboard.

## Storage Location

Settings are stored in:
Expand Down
1 change: 1 addition & 0 deletions docs/features.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ icon: sparkles
- 🏷️ **[Automatic Tab Naming](./general-usage#automatic-tab-naming)** - Tabs are automatically named based on your first message. No more "New Session" clutter — each tab gets a descriptive, relevant name.
- 🔔 **Custom Notifications** - Execute any command when agents complete tasks, perfect for audio alerts, logging, or integration with your notification stack.
- 🎨 **[Beautiful Themes](https://github.com/RunMaestro/Maestro/blob/main/THEMES.md)** - 17 built-in themes across dark (Dracula, Monokai, Nord, Tokyo Night, Catppuccin Mocha, Gruvbox Dark), light (GitHub, Solarized, One Light, Gruvbox Light, Catppuccin Latte, Ayu Light), and vibe (Pedurple, Maestro's Choice, Dre Synth, InQuest) categories, plus a fully customizable theme builder.
- ⏱️ **[WakaTime Integration](./configuration#wakatime-integration)** - Automatic time tracking via WakaTime with optional per-file write activity tracking across all supported agents.
- 💰 **Cost Tracking** - Real-time token usage and cost tracking per session and globally.
- 📊 **[Usage Dashboard](./usage-dashboard)** - Comprehensive analytics for tracking AI usage patterns. View aggregated statistics, compare agent performance, analyze activity heatmaps, and export data to CSV. Access via `Opt+Cmd+U` / `Alt+Ctrl+U`.
- 🎬 **[Director's Notes](./director-notes)** - Bird's-eye view of all agent activity in a unified timeline. Aggregate history from every agent, search and filter entries, and generate AI-powered synopses of recent work. Access via `Cmd+Shift+O` / `Ctrl+Shift+O`. _(Encore Feature — enable in Settings > Encore Features)_
Expand Down
Loading
Loading