Commit Graph

9 Commits

Author SHA1 Message Date
OpenCode Test
ff111ef278 fix(external-llm): correct o3 and glm-4.7 tiers
- github-copilot/o3: opus -> sonnet-equivalent
- zai-coding-plan/glm-4.7: sonnet -> opus-equivalent

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-09 08:13:20 -08:00
OpenCode Test
bf5470ac66 fix(external-llm): correct gemini CLI model tiers
- gemini/gemini-2.5-pro: opus -> sonnet-equivalent
- gemini/gemini-2.5-flash: sonnet -> haiku-equivalent

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-09 00:02:35 -08:00
OpenCode Test
c1e3b2881d feat(external-llm): add gemini-3-flash-preview via OpenCode
Gemini 3 models via github-copilot provider (OpenCode):
- github-copilot/gemini-3-pro-preview (opus-tier)
- github-copilot/gemini-3-flash-preview (sonnet-tier)

Native Gemini CLI models unchanged:
- gemini/gemini-2.5-pro
- gemini/gemini-2.5-flash

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-08 23:52:32 -08:00
OpenCode Test
4024740b82 fix(external-llm): remove non-existent gemini-3 models
Removed gemini/gemini-3-pro and gemini/gemini-3-flash from native
gemini CLI - these models return 404 Not Found.

Remaining gemini models (via native CLI):
- gemini/gemini-2.5-pro
- gemini/gemini-2.5-flash

Note: github-copilot/gemini-3-pro-preview (via opencode) kept for now.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-08 13:49:47 -08:00
OpenCode Test
fb4cf1b035 fix(external-llm): correct opencode CLI syntax and gemini routing
- OpenCode: use `opencode run -m MODEL "prompt"` syntax
- OpenCode: set correct binary path (/home/linuxbrew/.linuxbrew/bin/opencode)
- Gemini: route long-context to gemini-2.5-pro (gemini-3 not available yet)

Tested working:
- opencode/big-pickle
- github-copilot/claude-sonnet-4.5
- zai-coding-plan/glm-4.7
- gemini/gemini-2.5-pro
- gemini/gemini-2.5-flash

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-08 13:46:38 -08:00
OpenCode Test
d2daf74fca feat(external-llm): add native gemini CLI models
Added gemini CLI models:
- gemini/gemini-3-pro (long-context, reasoning)
- gemini/gemini-3-flash (fast, general)
- gemini/gemini-2.5-pro (long-context, reasoning)
- gemini/gemini-2.5-flash (fast, general)

Updated long-context routing to use native gemini CLI (gemini-3-pro)
instead of opencode/github-copilot path.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-08 13:37:45 -08:00
OpenCode Test
df6cf94dae feat(external-llm): add external LLM integration (fc-004)
Implements external LLM routing via opencode CLI for:
- GitHub Copilot (gpt-5.2, claude-sonnet-4.5, claude-haiku-4.5, o3, gemini-3-pro)
- Z.AI (glm-4.7 for code generation)
- OpenCode native (big-pickle)

Components:
- mcp/llm-router/invoke.py: Main router with task-based model selection
- mcp/llm-router/delegate.py: Agent delegation helper (respects external mode)
- mcp/llm-router/toggle.py: Enable/disable external-only mode
- mcp/llm-router/providers/: CLI wrappers for opencode and gemini

Features:
- Persistent toggle via state/external-mode.json
- Task routing: reasoning -> gpt-5.2, code-gen -> glm-4.7, long-context -> gemini
- Claude tier mapping: opus -> gpt-5.2, sonnet -> claude-sonnet-4.5, haiku -> claude-haiku-4.5
- Session-start hook announces when external mode is active
- Natural language toggle support via component registry

Plan: gleaming-routing-mercury

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-08 13:34:35 -08:00
OpenCode Test
d9332ae118 Add tiered model delegation for gmail operations
Implements cost-efficient gmail operations by delegating to appropriate
model tiers via Claude CLI subprocess. Simple fetches use no LLM,
summarization and triage delegate to Sonnet, complex reasoning stays
with Opus (PA). Uses subscription instead of API key.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 21:35:32 -08:00
OpenCode Test
431e10b449 Implement programmer agent system and consolidate agent infrastructure
Programmer Agent System:
- Add programmer-orchestrator (Opus) for workflow coordination
- Add code-planner (Sonnet) for design and planning
- Add code-implementer (Sonnet) for writing code
- Add code-reviewer (Sonnet) for quality review
- Add /programmer command and project registration skill
- Add state files for preferences and project context

Agent Infrastructure:
- Add master-orchestrator and linux-sysadmin agents
- Restructure skills to use SKILL.md subdirectory format
- Convert workflows from markdown to YAML format
- Add commands for k8s and sysadmin domains
- Add shared state files (model-policy, autonomy-levels, system-instructions)
- Add PA memory system (decisions, preferences, projects, facts)

Cleanup:
- Remove deprecated markdown skills and workflows
- Remove crontab example (moved to workflows)

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-29 13:23:42 -08:00