|
| 1 | +# Claude Code + Warp |
| 2 | + |
| 3 | +Official [Warp](https://warp.dev) terminal integration for [Claude Code](https://docs.anthropic.com/en/docs/claude-code). |
| 4 | + |
| 5 | +## Features |
| 6 | + |
| 7 | +### 🔔 Native Notifications |
| 8 | + |
| 9 | +Get native Warp notifications when Claude Code: |
| 10 | +- **Completes a task** — with a summary showing your prompt and Claude's response |
| 11 | +- **Needs your input** — when Claude requires approval or has a question |
| 12 | + |
| 13 | +Notifications appear in Warp's notification center and as system notifications, so you can context-switch while Claude works and get alerted when attention is needed. |
| 14 | + |
| 15 | +**Example notification:** |
| 16 | +``` |
| 17 | +"what's 1+1" → 2 |
| 18 | +``` |
| 19 | + |
| 20 | +## Installation |
| 21 | + |
| 22 | +```bash |
| 23 | +# In Claude Code, add the marketplace |
| 24 | +/plugin marketplace add warpdotdev/claude-code-warp |
| 25 | + |
| 26 | +# Install the Warp plugin |
| 27 | +/plugin install warp@claude-code-warp |
| 28 | +``` |
| 29 | + |
| 30 | +That's it! Notifications will appear automatically when Claude completes tasks. |
| 31 | + |
| 32 | +## Requirements |
| 33 | + |
| 34 | +- [Warp terminal](https://warp.dev) (macOS, Linux, or Windows) |
| 35 | +- [Claude Code](https://docs.anthropic.com/en/docs/claude-code) CLI |
| 36 | +- `jq` for JSON parsing (install via `brew install jq` or your package manager) |
| 37 | + |
| 38 | +## How It Works |
| 39 | + |
| 40 | +This plugin uses Warp's [pluggable notifications](https://docs.warp.dev/features/notifications) feature via OSC escape sequences. When Claude Code triggers a hook event, the plugin: |
| 41 | + |
| 42 | +1. Reads the session transcript to extract your original prompt and Claude's response |
| 43 | +2. Formats a concise notification message |
| 44 | +3. Sends an OSC 777 escape sequence to Warp, which displays a native notification |
| 45 | + |
| 46 | +The plugin registers two hooks: |
| 47 | +- **Stop** — fires when Claude finishes responding |
| 48 | +- **Notification** — fires when Claude needs user input |
| 49 | + |
| 50 | +## Configuration |
| 51 | + |
| 52 | +Notifications work out of the box. To customize Warp's notification behavior (sounds, system notifications, etc.), see [Warp's notification settings](https://docs.warp.dev/features/notifications). |
| 53 | + |
| 54 | +## Roadmap |
| 55 | + |
| 56 | +Future Warp integrations planned: |
| 57 | +- Warp AI context sharing |
| 58 | +- Warp Drive integration for sharing Claude Code configurations |
| 59 | +- Custom slash commands |
| 60 | + |
| 61 | +## Uninstall |
| 62 | + |
| 63 | +```bash |
| 64 | +/plugin uninstall warp@claude-code-warp |
| 65 | +/plugin marketplace remove claude-code-warp |
| 66 | +``` |
| 67 | + |
| 68 | +## Contributing |
| 69 | + |
| 70 | +Contributions welcome! Please open an issue or PR on [GitHub](https://github.com/warpdotdev/claude-code-warp). |
| 71 | + |
| 72 | +## License |
| 73 | + |
| 74 | +MIT License — see [LICENSE](LICENSE) for details. |
0 commit comments