sql-preview 0.6.4 → 0.6.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Changelog.md +19 -0
- package/README.md +1 -1
- package/dist/mcp-app.html +985 -184
- package/out/server/standalone.js +777 -292
- package/package.json +1 -1
- package/server.json +2 -2
package/Changelog.md
CHANGED
|
@@ -2,6 +2,25 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## [0.6.6] - 2026-07-06
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- Added MCP Tool Profiles (RFC-062, ADR-001): the daemon's toolset is now selected by a named profile — `vscode` and `headless` (full toolset) or `readonly` (read-only subset with safe-mode SQL gating always enforced) — via the `MCP_PROFILE` environment variable.
|
|
10
|
+
|
|
11
|
+
### Changed
|
|
12
|
+
|
|
13
|
+
- Consolidated the eight per-connector CLI harnesses (`packages/*/src/cli.ts`) into one shared `runConnectorCli` runner in `@sql-preview/connector-api`; connector packages now contribute only a small shim (RFC-061 Phase 1). Tool descriptions in the connector MCP harnesses are normalized to one template.
|
|
14
|
+
- Connector package builds now rebuild when `@sql-preview/connector-api`'s output changes, and the web app sidebar width flows through the `--sp-web-sidebar-width` token instead of an inline style.
|
|
15
|
+
- Polished the Connections settings screen: the "Built-in" connection label is now muted rather than success-green (status color is reserved for connection state), and connection action copy is consistently sentence case ("Save connection", "Test connection", "Connection name", "New connection").
|
|
16
|
+
|
|
17
|
+
## [0.6.5] - 2026-06-26
|
|
18
|
+
|
|
19
|
+
### Fixed
|
|
20
|
+
|
|
21
|
+
- Fixed `ERR_CONNECTION_REFUSED` for MCP credential requests in `--stdio` mode by serving the credential web-form on an ephemeral port.
|
|
22
|
+
- Enforced strict HTTP `POST` session validation on the `/mcp` endpoint, requiring a valid `sessionId` in the query parameters or `mcp-session-id` in the headers. Prevents orphaned connection/session leaks and broadcast storms from client probes.
|
|
23
|
+
|
|
5
24
|
## [0.6.4] - 2026-06-04
|
|
6
25
|
|
|
7
26
|
### Fixed
|
package/README.md
CHANGED
|
@@ -82,7 +82,7 @@ of failing silently.
|
|
|
82
82
|
Windows/Linux.
|
|
83
83
|
|
|
84
84
|
Results open in the **SQL Preview** panel at the bottom of the editor. To force a
|
|
85
|
-
new tab, run **SQL Preview: Run Query
|
|
85
|
+
new tab, run **SQL Preview: Run Query in New Tab**.
|
|
86
86
|
|
|
87
87
|
### Migrating from Legacy Settings
|
|
88
88
|
|