Feat/claude desktop - #99
Conversation
Lint failure on PR #98 (no-unused-vars). Leftover from resolving the merge conflict against upstream's captureUsage()/finalUsage() usage- accounting rewrite in forwardAnthropicStreamAsOpenAIChunks — I kept upstream's version but missed that these two local vars, and their assignments in message_start/message_delta, became dead once finalUsage() reads from usageAcc instead. Co-Authored-By: Claude Sonnet 5 <[email protected]>
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (23)
📝 WalkthroughWalkthroughThis PR adds Claude Desktop integration, CLI token and restart commands, explicit model routing, provider streaming and fallback updates, server-side web tool resolution, tool deduplication, and richer compressed history summaries. ChangesClaude Desktop integration and routing
Provider streaming and request handling
Agent tools and context handling
Estimated code review effort: 4 (Complex) | ~60 minutes Sequence Diagram(s)sequenceDiagram
participant ClaudeDesktop
participant Router
participant ClaudeDesktopGateway
participant Provider
ClaudeDesktop->>Router: Request selected model
Router->>ClaudeDesktopGateway: Resolve model metadata
ClaudeDesktopGateway-->>Router: Return tier model
Router->>Provider: Send request to selected provider
Provider-->>ClaudeDesktop: Stream response and usage
sequenceDiagram
participant AgentLoop
participant WebResolver
participant SearchOrFetch
AgentLoop->>WebResolver: Submit web tool batch
WebResolver->>SearchOrFetch: Execute search or fetch
SearchOrFetch-->>WebResolver: Return bounded result
WebResolver-->>AgentLoop: Append tool-use and tool-result messages
✨ Finishing Touches 💡 1⚔️ Resolve merge conflicts 💡
📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning Some tools did not complete. Review the errors below. 🔧 Biome (2.5.7)bin/cli.jsFile contains syntax errors that prevent linting: Line 30: Illegal return statement outside of a function Comment |
Summary by CodeRabbit
desktop-tokentools for configuring, checking, and restoring Claude Desktop integration on macOS.restartcommand with startup and health-status reporting.