Rework the current AI tab to use [OpenCode sdk](https://opencode.ai/docs/sdk/) to fix tool/MCP use bugs.
Rework the current AI tab to use OpenCode sdk to fix tool/MCP use bugs.