{{ message }}
Repository navigation
feat: direct CLI integration for gateway-free connections - #61
Merged
Merged
Conversation
- Add migration 016 for direct_connections table - Add POST/GET/DELETE /api/connect for CLI tool registration - Enhance heartbeat POST to accept connection_id and inline token_usage - Add connectSchema to validation - Add connection.created/disconnected event types to event bus - Show direct CLI connections in gateway manager panel - Add 5 E2E tests for connection lifecycle - Add CLI integration documentation (docs/cli-integration.md) - Fix openapi.json brace mismatch on line 642 (Phase 2 bug) - Add /api/connect endpoints to OpenAPI spec
1maxwellbot-netizen
referenced
this pull request
in jonputnam12/mission-control
Apr 1, 2026
feat: direct CLI integration for gateway-free connections
fgabelmannjr
referenced
this pull request
in racecraft-lab/paddock-prototype
May 5, 2026
feat: direct CLI integration for gateway-free connections
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
POST /api/connectregisters a tool, auto-creates agent, returns heartbeat/SSE/token URLsconnection_idand inlinetoken_usagefor streamlined reportingdirect_connectionstable (migration 016) tracks connection lifecycleopenapi.jsonhad an unclosed brace on the tokens 200 response lineTest plan
pnpm typecheckpassescurl POST /api/connectreturns connection detailsFiles changed
src/lib/migrations.ts— migration 016_direct_connectionssrc/lib/validation.ts— connectSchemasrc/lib/event-bus.ts— connection event typessrc/app/api/connect/route.ts— new connect endpointsrc/app/api/agents/[id]/heartbeat/route.ts— enhanced POSTsrc/components/panels/multi-gateway-panel.tsx— CLI connections UIopenapi.json— fixed brace bug + added /api/connect spectests/direct-cli.spec.ts— 5 E2E testsdocs/cli-integration.md— integration guide