10 Commits

Author SHA1 Message Date
Pedram Amini
079fd72e88 MAESTRO: Refactor agent-output-parser.ts for improved type safety
- Add isValidToolType() type guard to replace unsafe `as ToolType` casts
- Make `raw` field optional in ParsedEvent interface since never read
- Fix MockParser in tests to implement missing error detection methods
- Add @internal JSDoc to test-only exports (hasOutputParser, getAllOutputParsers, clearParserRegistry)
- Update AGENT_SUPPORT.md to reference canonical ParsedEvent source instead of duplicating type definition
- Add tests for new isValidToolType function
2025-12-30 11:13:46 -06:00
Pedram Amini
142c022e2c ## CHANGES
- Added user-configurable context window settings for agents 🎯
- Improved error detection to only parse JSON events, not text 🛡️
- Fixed stderr routing for AI processes to correct tabs 🔧
- Added context window support for Codex with model detection 🧮
- Hide context usage widget when window size is zero 👻
- Added number input type for agent configuration options 🔢
- Strip ANSI codes from stderr for cleaner output 🧹
- Added hint for enabling loop mode with documents 💡
- Display correct provider name in input placeholder text ✏️
- Improved network error patterns to reduce false positives 🎯
2025-12-17 18:32:38 -06:00
Pedram Amini
de971f90e2 MAESTRO: Complete Phase 7 - Codex pricing configuration and documentation
- Update AGENT_SUPPORT.md with full Codex implementation details
- Document all Codex-specific features:
  - JSON output format and event types
  - Session storage location (~/.codex/sessions/YYYY/MM/DD/)
  - Pricing: o4-mini $1.10/$4.40 per million tokens
  - Reasoning tokens and cached input handling
  - YOLO mode and sandbox levels
  - Resume command pattern

Codex support is now complete with:
- 42 output parser tests
- 8 session storage tests
- 25 error pattern tests
- All 10,985 project tests passing
2025-12-16 23:55:50 -06:00
Pedram Amini
b30e695b67 MAESTRO: Document OpenCode Ollama configuration and add modelArgs builder
- Add comprehensive provider/model configuration section to AGENT_SUPPORT.md
- Document Ollama setup with complete JSON schema example
- Include LM Studio and llama.cpp configuration examples
- Document context window workaround for Ollama (num_ctx)
- Add model selection methods (CLI flag, config file, interactive)
- List Maestro integration considerations for future UI work
- Add modelArgs builder to AgentConfig interface
- Add modelArgs to OpenCode agent definition
- Reference official OpenCode documentation sources
2025-12-16 22:40:07 -06:00
Pedram Amini
708751ee72 MAESTRO: Document OpenCode session storage investigation findings
- Updated AGENT_SUPPORT.md with comprehensive session storage details
- Storage location: ~/.local/share/opencode/storage/
- Documented directory structure (project/session/message/part)
- All data stored as JSON files (not SQLite)
- Added CLI commands: session list, export, import
- Updated JSON event types with correct names (reasoning, tool)
2025-12-16 22:25:28 -06:00
Pedram Amini
6e46ea5b1c MAESTRO: Document OpenCode YOLO mode verification findings
Research confirmed OpenCode's batch mode auto-approves all tool operations:
- No explicit --dangerously-skip-permissions flag needed
- opencode run subcommand inherently enables auto-approval
- Permission system configurable via opencode.json if needed
- Read-only operations never require approval

Sources: OpenCode official docs (permissions, CLI) and GitHub README
2025-12-16 22:16:34 -06:00
Pedram Amini
2be8b5987d MAESTRO: Implement Phase 8.2 - Update documentation for multi-provider architecture
- CLAUDE.md: Added agent capabilities section, updated architecture diagram
  with parsers/ and storage/ directories, added agentSessions and agentError
  APIs, updated key files table, added error fields to Session interface
- AGENT_SUPPORT.md: Added multi-provider architecture status section showing
  all 7 completed components, updated supported agents reference with
  implementation status and detailed checklist for planned agents
- CONTRIBUTING.md: Updated supported agents reference table with status
  column and link to detailed guide
2025-12-16 21:50:19 -06:00
Pedram Amini
b8a6746a6c reworked AGENT_SUPPORT.md to be front facing 2025-12-16 19:27:16 -06:00
Pedram Amini
4aa5398b9f OAuth enabled but no valid token found. Starting authentication...
Found expired OAuth token, attempting refresh...
Token refresh successful
I'd be happy to help you create a clean update summary for a GitHub project! However, I don't see any input provided after "INPUT:" in your message.

Could you please share the changelog, commit history, or release notes that you'd like me to summarize? Once you provide that information, I'll create an exciting CHANGES section with 10-word bullets and relevant emojis as requested.
2025-12-11 01:10:23 -06:00
Pedram Amini
6a917ccc1b docs: add multi-agent support architecture, expand documentation
- Add AGENT_SUPPORT.md with comprehensive multi-agent architecture design
  - Agent capability model for controlling UI feature availability
  - Refactoring plan for abstracting Claude-specific code
  - Implementation guides for adding new agents (OpenCode, Gemini CLI, etc.)
  - Test impact analysis and migration strategy

- Expand ARCHITECTURE.md with new sections:
  - Achievement system, AI tab system, execution queue
  - Navigation history, web/mobile interface, CLI tool
  - Shared module, remote access & tunnels
  - Updated hooks documentation (15 custom hooks)
  - Expanded IPC API surface reference

- Update CONTRIBUTING.md:
  - Add detailed "Adding a New AI Agent" section
  - Agent capability checklist for new implementations
  - UI feature availability matrix

- Update CLAUDE.md with latest vernacular and patterns

- Various UI improvements:
  - Enhanced history panel with better modal handling
  - Session list refinements
  - Improved template variable handling
  - Mobile interface view state utilities

Claude ID: c19f7b47-0dca-46a5-b8b4-4ca2381c1c71
Maestro ID: b9bc0d08-5be2-4fdf-93cd-5618a8d53b35
2025-12-08 17:11:31 -06:00