@synapsor/runner 1.6.4 → 1.6.5
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 +25 -3
- package/README.md +36 -23
- package/dist/cli.d.ts.map +1 -1
- package/dist/runner.mjs +382 -242
- package/docs/agent-guided-setup.md +8 -6
- package/docs/auto-boundary-and-scoped-explore.md +12 -8
- package/docs/client-recipes.md +40 -11
- package/docs/getting-started-own-database.md +16 -14
- package/docs/guided-onboarding.md +6 -4
- package/docs/host-compatibility.md +24 -11
- package/docs/mcp-client-setup.md +19 -4
- package/docs/mcp-clients.md +46 -10
- package/docs/release-notes.md +24 -10
- package/docs/troubleshooting-first-run.md +12 -8
- package/package.json +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,28 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## 1.6.
|
|
3
|
+
## 1.6.5 (prepared, not published)
|
|
4
|
+
|
|
5
|
+
### Managed Claude Code and VS Code project MCP installs
|
|
6
|
+
|
|
7
|
+
- Extends Runner's reviewed project MCP lifecycle from Cursor to Claude Code
|
|
8
|
+
and VS Code. `mcp install`, `mcp status`, and `mcp uninstall` now manage only
|
|
9
|
+
Runner's project-local entry in `.mcp.json` or `.vscode/mcp.json`.
|
|
10
|
+
- Preserves unrelated servers and settings, creates backups, pins the exact
|
|
11
|
+
Runner package version, tracks ownership with an integrity marker, refuses
|
|
12
|
+
tampered or unowned entries, and keeps credentials and trusted scope out of
|
|
13
|
+
client configuration.
|
|
14
|
+
- Preserves VS Code JSONC comments and trailing commas. Static status and a
|
|
15
|
+
real optional stdio `tools/list` launch check prove that each client receives
|
|
16
|
+
the same reviewed model-facing authority.
|
|
17
|
+
- Makes onboarding, Workbench guidance, README positioning, host recipes, and
|
|
18
|
+
`doctor` client-neutral while retaining the existing Cursor lifecycle and
|
|
19
|
+
`--check-cursor` compatibility.
|
|
20
|
+
|
|
21
|
+
Prepared package versions: `@synapsor/runner@1.6.5` and the optional
|
|
22
|
+
`synapsor-runner@1.6.5` command alias. `@synapsor/spec@1.7.0` and
|
|
23
|
+
`@synapsor/dsl@1.7.0` are unchanged. No package is published by this change.
|
|
24
|
+
|
|
25
|
+
## 1.6.4 (published 2026-07-25)
|
|
4
26
|
|
|
5
27
|
### Review-correct onboarding and reviewed relationship paths
|
|
6
28
|
|
|
@@ -62,9 +84,9 @@
|
|
|
62
84
|
- Adds one local, escaped, copy-exact DSL syntax highlighter for every
|
|
63
85
|
Workbench DSL preview, with no CDN or unsafe HTML path, and gives activity,
|
|
64
86
|
review, and apply detail the full available width on desktop and mobile.
|
|
65
|
-
-
|
|
87
|
+
- Published `@synapsor/runner@1.6.4`, `@synapsor/spec@1.7.0`,
|
|
66
88
|
`@synapsor/dsl@1.7.0`, and the optional `synapsor-runner@1.6.4` command
|
|
67
|
-
alias.
|
|
89
|
+
alias.
|
|
68
90
|
|
|
69
91
|
## 1.6.3 (published 2026-07-24)
|
|
70
92
|
|
package/README.md
CHANGED
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
|
|
9
9
|
**MCP connects the agent. Synapsor controls the commit.**
|
|
10
10
|
|
|
11
|
-
Synapsor Runner is an open-source MCP runtime for Postgres and MySQL. It
|
|
12
|
-
agents
|
|
13
|
-
|
|
14
|
-
model-facing surface.
|
|
11
|
+
Synapsor Runner is an open-source MCP runtime for Postgres and MySQL. It lets
|
|
12
|
+
agents ask bounded business questions of reviewed data and propose exact Data
|
|
13
|
+
PRs, while keeping credentials, activation, approval, and commit authority
|
|
14
|
+
outside the model-facing surface.
|
|
15
15
|
|
|
16
16
|
## Prove The Boundary In Four Seconds
|
|
17
17
|
|
|
@@ -72,19 +72,35 @@ writes off; broader paths require full review.
|
|
|
72
72
|
[Database To First Safe Tool](docs/guided-onboarding.md) covers the complete
|
|
73
73
|
path.
|
|
74
74
|
|
|
75
|
-
## Ask Your First Real Question
|
|
75
|
+
## Ask Your First Real Question
|
|
76
76
|
|
|
77
|
-
|
|
77
|
+
Runner is host-neutral. These three paths execute the same typed plans against
|
|
78
|
+
the same activated digest, trusted scope, suppression rules, budgets, and
|
|
79
|
+
denials:
|
|
80
|
+
|
|
81
|
+
1. **Workbench composer:** no MCP client, model, or API key. Choose only reviewed
|
|
82
|
+
measures, dimensions, filters, and time buckets.
|
|
83
|
+
2. **Workbench Ask:** optional OpenAI, Anthropic, or loopback
|
|
84
|
+
OpenAI-compatible model after explicit digest-bound egress consent. Keys and
|
|
85
|
+
conversation history remain in memory; a loopback model keeps data local.
|
|
86
|
+
3. **Any MCP client:** use a managed project installer for Cursor, Claude Code,
|
|
87
|
+
or VS Code, or a checked recipe for Claude Desktop, Codex, OpenAI Agents,
|
|
88
|
+
LangChain/LangGraph, Google ADK, LlamaIndex, and generic stdio.
|
|
89
|
+
|
|
90
|
+
For a managed project, choose one:
|
|
78
91
|
|
|
79
92
|
```bash
|
|
80
|
-
synapsor-runner mcp install cursor
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
--project-root . \
|
|
84
|
-
--yes
|
|
93
|
+
synapsor-runner mcp install cursor --project --authoring --project-root . --yes
|
|
94
|
+
synapsor-runner mcp install claude-code --project --authoring --project-root . --yes
|
|
95
|
+
synapsor-runner mcp install vscode --project --authoring --project-root . --yes
|
|
85
96
|
```
|
|
86
97
|
|
|
87
|
-
|
|
98
|
+
Runner merges only its `synapsor` entry into `.cursor/mcp.json`, `.mcp.json`, or
|
|
99
|
+
`.vscode/mcp.json`; it preserves other settings, backs up existing files, pins
|
|
100
|
+
the exact Runner version, and writes no credentials. See
|
|
101
|
+
[Client And Framework Recipes](docs/client-recipes.md).
|
|
102
|
+
|
|
103
|
+
The selected client sees exactly two temporary tools:
|
|
88
104
|
|
|
89
105
|
```text
|
|
90
106
|
app.describe_data
|
|
@@ -104,13 +120,10 @@ three activated one- or two-link many-to-one paths are supported; inactive or
|
|
|
104
120
|
unsafe joins fail closed. This is descriptive analysis, not causation. See
|
|
105
121
|
[Reviewed Relationships](docs/reviewed-relationships.md).
|
|
106
122
|
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
digest-bound egress consent. It can call only displayed reviewed tools; keys
|
|
112
|
-
and history remain in memory, and writes remain proposals. See [Workbench
|
|
113
|
-
Ask](docs/workbench-ask.md).
|
|
123
|
+
This is bounded, governed analytics over reviewed measures, dimensions, time
|
|
124
|
+
grains, and relationship paths, not a general BI dashboard or SQL surface.
|
|
125
|
+
Protect turns a useful analysis into a named, digest-reviewed metric capability.
|
|
126
|
+
See [Workbench Ask](docs/workbench-ask.md).
|
|
114
127
|
|
|
115
128
|
## Protect This Query
|
|
116
129
|
|
|
@@ -118,12 +131,12 @@ Choose a useful result without copying an ID. Runner freezes public DSL,
|
|
|
118
131
|
canonical JSON, and tests under `synapsor/protected/drafts/`; the named
|
|
119
132
|
capability starts disabled.
|
|
120
133
|
|
|
121
|
-
After activation, Scoped Explore is disabled. Update
|
|
122
|
-
config:
|
|
134
|
+
After activation, Scoped Explore is disabled. Update the selected project
|
|
135
|
+
client to the production config:
|
|
123
136
|
|
|
124
137
|
```bash
|
|
125
|
-
|
|
126
|
-
|
|
138
|
+
CLIENT=claude-code # or cursor / vscode
|
|
139
|
+
synapsor-runner mcp install "$CLIENT" --project \
|
|
127
140
|
--config ./synapsor.runner.json \
|
|
128
141
|
--store ./.synapsor/local.db \
|
|
129
142
|
--yes
|
package/dist/cli.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";AAaA,OAAO,EAAkgB,KAAK,WAAW,EAAuD,KAAK,uBAAuB,EAAE,KAAK,aAAa,EAAE,KAAK,uCAAuC,EAAoF,MAAM,6BAA6B,CAAC;AAItyB,OAAO,EAEL,aAAa,EAab,KAAK,mBAAmB,EAcxB,KAAK,cAAc,EACnB,KAAK,qBAAqB,EAO3B,MAAM,iCAAiC,CAA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