Services

36 Service Modules

API Service

services/api/

Anthropic Files API integration

  • ▸bootstrap.ts: Parallel prefetch
  • ▸filesApi.ts: Files API
  • ▸referral.ts: Referral system

MCP Service

services/mcp/

Model Context Protocol with multiple transports

  • ▸Transport: Stdio, SSE, HTTP, WebSocket, In-Process
  • ▸Config scopes: local, user, project, enterprise
  • ▸OAuth per-server, XAA auth, resource management

Analytics Service

services/analytics/

GrowthBook A/B testing and telemetry

  • ▸GrowthBook integration
  • ▸Event tracking
  • ▸Privacy-aware data collection

OAuth Service

services/oauth/

OAuth 2.0 and token management

  • ▸OAuth 2.0 flow
  • ▸JWT token management
  • ▸macOS Keychain integration
  • ▸API key authentication

LSP Service

services/lsp/

Language Server Protocol manager

  • ▸Language Server Protocol
  • ▸Diagnostics tracking
  • ▸File update notifications

Compact Service

services/compact/

Context compression and summarization

  • ▸Context window compression
  • ▸Message summarization
  • ▸Reactive compact triggers