Merge upstream/main: cobra CLI, channel refactoring, media store, reasoning support
Merge upstream changes including:
- Cobra-based CLI command structure migration
- Channel system refactoring (flat files -> subdirectories for telegram, slack)
- Media store abstraction for file handling
- Reasoning channel support for LLM thinking output
- Prompt caching infrastructure (BuildSystemPromptWithCache)
- Bug fixes: goroutine leaks, error propagation, PublishInbound/Outbound context
Resolved 27 merge conflicts, combining HEAD's orchestration system
(AgentReporter, Broadcaster, spawn/subagent, plan mode) with upstream's
architectural changes.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>