Skip to content

Conversation

@muxiangqiu
Copy link

@muxiangqiu muxiangqiu commented Jan 13, 2026

Add CodeBuddy Code support to Happy CLI using Agent Client Protocol (ACP). Users can now run happy codebuddy to start a CodeBuddy-powered coding assistant with full mobile app integration.

Changes

CodeBuddy ACP Backend

  • New AcpSdkBackend implementation for CodeBuddy
  • Session management (start/stop/message handling)
  • Tool execution with permission system (auto-approve, ask, deny)
  • MCP server support for external tools

CodeBuddy CLI Commands

  • happy codebuddy - Start CodeBuddy agent
  • happy codebuddy model set <model> - Set default model
  • happy codebuddy model get - Show current model

Supported Models

  • gpt-5.2
  • gpt-5.1-code
  • gemini-3.0-pro

Configuration Support

  • .codebuddy directory structure (CODEBUDDY.md, settings.json, rules/)
  • User-level config (~/.codebuddy/)
  • Project-level config (.codebuddy/)

UI Improvements

  • GeminiDisplay now supports custom agent name
  • CodeBuddy displays as "CodeBuddy Agent" instead of "Gemini Agent"

suboyang added 2 commits January 13, 2026 17:58
Add CodeBuddy Code support to Happy CLI using Agent Client Protocol (ACP).
Users can now run `happy codebuddy` to start a CodeBuddy-powered coding
assistant with full mobile app integration.

## Changes

### CodeBuddy ACP Backend
- New `AcpSdkBackend` implementation for CodeBuddy
- Session management (start/stop/message handling)
- Tool execution with permission system (auto-approve, ask, deny)
- MCP server support for external tools

### CodeBuddy CLI Commands
- `happy codebuddy` - Start CodeBuddy agent
- `happy codebuddy model set <model>` - Set default model
- `happy codebuddy model get` - Show current model

### Supported Models
- claude-sonnet-4-20250514 (default)
- claude-opus-4-20250514
- claude-3-5-sonnet-20241022
- claude-3-5-haiku-20241022

### Configuration Support
- .codebuddy directory structure (CODEBUDDY.md, settings.json, rules/)
- User-level config (~/.codebuddy/)
- Project-level config (.codebuddy/)

### UI Improvements
- GeminiDisplay now supports custom agent name
- CodeBuddy displays as "CodeBuddy Agent" instead of "Gemini Agent"
- Create new CodebuddyDisplay.tsx for CodeBuddy agent UI
- Revert GeminiDisplay.tsx to original state (remove agentName prop)
- Update runCodebuddy.ts to use CodebuddyDisplay
- Use green color theme and rocket emoji for CodeBuddy branding
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.

1 participant