mirror of
https://github.com/getpaseo/paseo.git
synced 2026-07-29 12:01:31 +00:00
Move mode validation from AgentManager into the individual AgentSession implementations (ClaudeAgentSession and CodexAgentSession) where it belongs. Each session validates modes in: - Constructor (when config.modeId is provided) - setMode() method (when mode is changed) This follows the principle that the AgentManager is a coordinator while the AgentSession is the authority on what modes it supports. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>