You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ab48a97
Browse filesBrowse the repository at this point in the historyBrowse files
* refactor: unify capability types with data-studio-agent
- Remove duplicate capabilities/types.rs and capabilities/registry.rs
- Import types and registry from data-studio-agent
- Replace SourceKind::SqlKit with SourceKind::AppLocal
- Update init_registry() call to pass registration function array
- Update agent/executor.rs and agent_adapters.rs to use data-studio-agent paths
* feat: add axum-based MCP bridge HTTP server to sqlkit
Introduces an embedded HTTP bridge (axum, port 9121) that exposes the
capability system over HTTP for the external data-studio-mcp server.
Endpoints:
POST /tools — list all agent-tagged capabilities
POST /invoke — execute a capability by name with connection resolution
GET /health — health check
Port auto-fallback via portpicker.
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)
Co-authored-by: Sisyphus <[email protected]>
* feat: wire MCP bridge into sqlkit Tauri setup and commands
Integrates the MCP bridge into sqlkit's app lifecycle:
- Initialize McpServerHandle as managed Tauri state
- Read mcp-config.json and auto-start bridge in setup hook
- Register get_mcp_status and save_mcp_config Tauri commands
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)
Co-authored-by: Sisyphus <[email protected]>
* fix: address MCP bridge review issues
- Security: reject Elevated/Destructive capabilities on bridge (403)
- Lifecycle: save_mcp_config now stops server when autoStart=false
- Stale port file: liveness-test (TCP connect) before reporting running
- Write port file BEFORE spawning server to avoid orphaned task
- app_version: use real version from package_info()
- McpConfig::load: log warning on corrupt/parse error
- TOCTOU: remove port_available check, bind directly with fallback
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)
Co-authored-by: Sisyphus <[email protected]>
* fix: eliminate port-file restart race — await JoinHandle instead of sleeping 200ms
* feat: add MCP Bridge settings UI to sqlkit settings page
---------
Co-authored-by: Sisyphus <[email protected]>
0 commit comments