feat/cli-tui-tools-enhancement
main
Adds 5 capability areas to the Mosaic CLI/TUI and gateway agent:
1. Web search tools (multi-provider): web_search, web_search_news, web_search_providers - Brave, Tavily, SearXNG (env-var activated), DuckDuckGo (always available) - Auto mode tries providers in priority order 2. File edit tool (fs_edit_file): targeted text replacement with validation - Unique oldText matching, overlap detection, atomic application - Sandboxed with size limits 3. MCP management commands: /mcp status, /mcp servers, /mcp reconnect <name> - Shows connection status, tool counts, errors for all MCP servers - Reconnect disconnected servers from the TUI 4. File reference in chat: @path/to/file inline expansion + /attach command - Auto-detects @file patterns and inlines contents as fenced code blocks - 256KB per file limit, max 10 files per message - Language-aware syntax highlighting hints 5. /stop command: abort streaming via Pi SDK abort() - New AbortPayload type in @mosaic/types - Gateway abort handler calls piSession.abort() - TUI emits abort event on /stop
No dependencies set.
The note is not visible to the blocked user.
Summary
Adds 5 capability areas to the Mosaic CLI/TUI and gateway agent:
1. Web Search Tools (multi-provider)
2. File Edit Tool ()
3. MCP Management Commands
4. File Reference in Chat
5. /stop Command (abort streaming)
Quality