Skip to content

Conversation

@knowsuchagency
Copy link

Summary

Adds support for Warp AI agent as a new coding agent executor.

Closes #1107

Changes

Core Implementation

  • New Warp executor (crates/executors/src/executors/warp.rs)

    • Platform-aware CLI command detection (Linux: warp-cli, macOS/Windows: warp)
    • Custom command override support via base_command_override config
    • Authentication via WARP_API_KEY environment variable
    • Plain text log processing for stdout
    • MCP configuration using Passthrough adapter
  • Type generation updates

    • Added Warp to type generation script
    • Auto-generated TypeScript types and JSON schema

Documentation

  • New agent guide (docs/agents/warp.mdx)

    • Platform-specific installation instructions
    • CLI command reference table (warp, warp-cli, warp-terminal)
    • Authentication setup
    • Custom command configuration examples
  • Updated existing docs

    • Added Warp to supported agents list and navigation
    • Added WARP configuration tab in agent configurations guide
    • Documented platform defaults and override options

Platform Behavior

Default (no configuration):

  • Linux: warp-cli agent run --prompt "..."
  • macOS: warp agent run --prompt "..."
  • Windows: warp agent run --prompt "..."

With custom override (example for Linux bundled):

{
  "executors": {
    "WARP": {
      "DEFAULT": {
        "WARP": {
          "cmd": {
            "base_command_override": "warp-terminal"
          }
        }
      }
    }
  }
}

Testing

  • ✅ All frontend checks pass (TypeScript compilation)
  • ✅ All backend checks pass (Rust compilation + Clippy)
  • ✅ Code formatted with cargo fmt
  • ✅ TypeScript types generated successfully

Future Enhancements

  • Add session resumption support if/when Warp CLI supports it
  • Switch to structured JSON log parsing if Warp outputs structured format
  • Add support for additional Warp CLI flags/options as needed

Related

Add support for Warp AI agent as a new coding agent executor.

The implementation includes:
- New Warp executor module with platform-aware CLI command detection
  - Linux: warp-cli (standalone default)
  - macOS: warp (both standalone and bundled)
  - Windows: warp (bundled)
- Users can override the base command via CmdOverrides.base_command_override
  for different installation methods (e.g., warp-terminal, preview builds)
- Authentication via WARP_API_KEY environment variable
- Plain text log processing for stdout
- MCP configuration support using Passthrough adapter
- Follow-up sessions currently not supported (returns error)
Add comprehensive documentation for Warp agent:
- New agent setup guide with platform-specific installation instructions
- Add Warp to supported agents list and navigation
- Document platform-specific CLI commands (warp, warp-cli, warp-terminal)
- Add configuration examples for custom command overrides
- Include authentication setup via WARP_API_KEY
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature Request: Add Warp agent support

1 participant