Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dprint.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
],
"plugins": [
"npm:@dprint/typescript@0.96.1",
"npm:@dprint/json@0.23.0",
"npm:@dprint/json@0.24.0",
"npm:@dprint/markdown@0.24.0",
"npm:dprint-plugin-yaml@0.6.0",
"npm:@dprint/toml@0.8.0"
Expand Down
537 changes: 272 additions & 265 deletions package-lock.json

Large diffs are not rendered by default.

26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
{
"name": "sqlpilot",
"private": true,
"version": "1.1.0",
"private": true,
"type": "module",
"engines": {
"node": ">=24"
},
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
Expand All @@ -22,17 +19,17 @@
"@monaco-editor/react": "^4.7.0",
"@tailwindcss/postcss": "^4.3.3",
"@tanstack/react-table": "^9.2.4",
"@tanstack/react-virtual": "^3.14.12",
"@tanstack/react-virtual": "^3.14.13",
"@tauri-apps/api": "^2",
"@tauri-apps/plugin-process": "^2.3.1",
"@tauri-apps/plugin-shell": "^2",
"@tauri-apps/plugin-updater": "^2.11.0",
"@tauri-apps/plugin-updater": "^2.12.0",
"clsx": "^2.1.0",
"lucide-react": "^1.45.0",
"lucide-react": "^1.47.0",
"monaco-editor": "^0.55.1",
"react": "^19.3.0",
"react-dom": "^19.3.0",
"react-resizable-panels": "~4.12.4",
"react-resizable-panels": "~4.13.1",
"sql-formatter": "^15.8.2",
"tailwind-merge": "^3.7.0",
"zustand": "^5.0.15"
Expand All @@ -46,23 +43,26 @@
"@types/react": "^19.3.0",
"@types/react-dom": "^19.3.0",
"@vitejs/plugin-react": "^6.1.1",
"@vitest/browser": "^5.0.0",
"@vitest/browser": "^5.0.1",
"@vitest/browser-playwright": "^5.0.0",
"@vitest/coverage-v8": "^5.0.0",
"dprint": "^0.57.4",
"eslint": "~10.10.0",
"eslint": "~10.11.0",
"eslint-plugin-react-hooks": "^7.0.0",
"jsdom": "^30.0.1",
"lefthook": "^2.1.12",
"jsdom": "^30.1.0",
"lefthook": "^2.1.14",
"playwright": "^1.63.0",
"postcss": "^8.5.28",
"prettier": "^3.9.6",
"prettier": "^3.9.8",
"prettier-plugin-tailwindcss": "^0.8.1",
"tailwindcss": "^4.3.0",
"terser": "^5.51.2",
"typescript": "^6.0.3",
"typescript-eslint": "^8.70.0",
"vite": "^8.3.0",
"vitest": "^5.0.0"
},
"engines": {
"node": ">=24"
}
}
4 changes: 2 additions & 2 deletions src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ rfd = "0.17"
# Pinned exactly, and pinned again in crates/mas-mcp/Cargo.toml: both have to
# move together or the workspace will not resolve. The exact pin is how the
# seven-day publish-age rule is enforced until #225 lands.
rmcp = { version = "=3.3.0", features = ["server", "transport-streamable-http-server"] }
rmcp = { version = "=3.4.0", features = ["server", "transport-streamable-http-server"] }
serde = { workspace = true }
serde_json = { workspace = true }
specta = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/crates/mas-mcp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"
async-trait = "0.1.92"
axum = { version = "0.8", default-features = false, features = ["http1", "tokio", "json"] }
mas-core = { version = "0.1.0", path = "../mas-core" }
rmcp = { version = "=3.3.0", features = ["server", "transport-streamable-http-server"] }
rmcp = { version = "=3.4.0", features = ["server", "transport-streamable-http-server"] }
schemars = "1"
serde = { workspace = true }
serde_json = { workspace = true }
Expand Down
6 changes: 3 additions & 3 deletions src-tauri/crates/mas-mcp/src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
use std::sync::Arc;

use rmcp::handler::server::wrapper::{Json, Parameters};
use rmcp::model::{ServerCapabilities, ServerInfo};
use rmcp::model::{ServerCapabilities, ServerConfig};
use rmcp::{tool, tool_handler, tool_router, ServerHandler};
use serde::{Deserialize, Serialize};

Expand Down Expand Up @@ -1714,8 +1714,8 @@ impl SqlPilot {

#[tool_handler]
impl ServerHandler for SqlPilot {
fn get_info(&self) -> ServerInfo {
let mut info = ServerInfo::default();
fn get_info(&self) -> ServerConfig {
let mut info = ServerConfig::default();
info.capabilities = ServerCapabilities::builder().enable_tools().build();
info.instructions = Some(
"SQLPilot exposes the MySQL and MariaDB connections the user has chosen to share. \
Expand Down
Loading