Skip to content

Conversation

@gmackie
Copy link

@gmackie gmackie commented Oct 2, 2025

Summary

  • Configure terminal environment variables for Codex adapter to prevent initialization errors
  • Set TERM and TERM_PROGRAM for proper node-pty compatibility

Changes

  • Added TERM environment variable set to 'xterm-256color'
  • Added TERM_PROGRAM environment variable set to 'node-pty'
  • Prevents cursor position read errors and terminal initialization issues

Test plan

  • Verify Codex adapter spawns without terminal errors
  • Test interactive and non-interactive modes
  • Confirm no cursor position read errors in logs

🤖 Generated with Claude Code

cursoragent and others added 7 commits September 28, 2025 20:40
Adds API endpoints and UI for saving and retrieving notes per worktree. Notes are saved to a file named `.bob-notes-<branch>.md` and auto-saved.

Co-authored-by: graham.mackie <[email protected]>
…-page-83c1

Add notes tab to repository page
Breaking Change: Migrates from Claude-only to multi-agent architecture

## Summary
Bob now supports multiple AI coding assistants beyond Claude, including Codex,
Gemini, Amazon Q, Cursor Agent, and OpenCode. Users can select their preferred
agent when creating worktrees, with full backwards compatibility for existing
Claude installations.

## Key Features
- Support for 6 AI agents with pluggable architecture
- Agent selection dropdown in worktree creation
- Visual badges showing agent type and status
- System Status dashboard displays all agent statuses
- Automatic fallback to available agents
- Token usage tracking where supported
- Configuration system for preferences

## Technical Implementation
- New AgentFactory with adapter pattern for extensibility
- Database migration adds agent_type and preferred_agent fields
- AgentService replaces ClaudeService (aliased for compatibility)
- Frontend components updated to be agent-agnostic
- Comprehensive test coverage (unit + integration)

## Documentation
- Complete setup guide for each agent
- Migration guide from Claude-only version
- Manual testing checklist
- API documentation updates

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
feat: Add comprehensive multi-agent support for AI coding assistants
Set TERM and TERM_PROGRAM environment variables to prevent cursor position read errors and terminal initialization issues in node-pty.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
## Summary
- Support multiple concurrent agent instances per worktree
- Add OpenCode and Cursor Agent adapters
- Improve Gemini authentication detection
- Redesign Agent Panel UI with instance management

## Backend Changes
- **Multi-agent support**: Removed single-instance restriction per worktree
- **New adapters**:
  - OpenCode adapter with TUI/run mode support
  - Cursor Agent adapter with fullscreen/print mode support
- **Gemini auth fix**: Use `--help` instead of hanging `--prompt` command
- **Base adapter**: Add optional timeout parameter to `runCommand()`

## Frontend Changes
- **New Agent Instance Panel**:
  - Shows all agent instances with status (running/stopped/error)
  - Displays connection status and active indicator
  - Individual start/stop controls per instance
  - Click to select and switch between agents
- **New Agent Dropdown**:
  - Select from all available & authenticated agents (Claude, Codex, Gemini, Amazon Q, OpenCode, Cursor Agent)
  - Shows agent status and authentication state
- **Auto-refresh**: Instance list updates every 3 seconds

## Supported Agents (6 total)
- Claude Code
- Codex
- Gemini
- Amazon Q
- OpenCode
- Cursor Agent

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
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.

2 participants