@boringsql/dryrun 0.14.1 → 0.15.0

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.
Files changed (2) hide show
  1. package/README.md +34 -6
  2. package/package.json +7 -6
package/README.md CHANGED
@@ -1,8 +1,12 @@
1
1
  # dryrun
2
2
 
3
- PostgreSQL schema/query advisor with a built-in MCP server. This npm package is
4
- a thin launcher the real binary is written in Go and ships as a
5
- platform-specific dependency that npm selects automatically.
3
+ PostgreSQL schema intelligence from a committed snapshot. No connection, no
4
+ credentials. Capture the schema once, and your AI assistant, IDE, and CI get
5
+ full schema awareness tables, indexes, constraints, statistics — without a
6
+ connection string on any developer machine.
7
+
8
+ This npm package is a thin launcher. The real binary is written in Go and
9
+ ships as a platform-specific dependency that npm selects automatically.
6
10
 
7
11
  ## Use as an MCP server
8
12
 
@@ -20,7 +24,20 @@ No install needed. Add to your MCP client config:
20
24
  ```
21
25
 
22
26
  `npx` fetches the package on first run and caches it; subsequent launches are
23
- local. Pin a version for reproducibility: `"@boringsql/dryrun@0.8.2"`.
27
+ local. Pin a version for reproducibility: `"@boringsql/dryrun@0.15.0"`.
28
+
29
+ Or let dryrun write the config. `setup` detects Claude Code, Cursor, Codex,
30
+ and Zed, and adds a directive to `AGENTS.md`/`CLAUDE.md` so the agent checks
31
+ the schema before writing SQL:
32
+
33
+ ```sh
34
+ npx @boringsql/dryrun setup
35
+ ```
36
+
37
+ The server reads the newest snapshot from `.dryrun/history.db` in the current
38
+ project. Without one, its tools answer that no schema is loaded: capture with
39
+ `dryrun init --db "$DATABASE_URL"`, or pull a snapshot a teammate pushed with
40
+ `dryrun snapshot pull`, then call the `reload_schema` tool. No restart needed.
24
41
 
25
42
  ## CLI
26
43
 
@@ -32,5 +49,16 @@ Or install globally: `npm i -g @boringsql/dryrun` then `dryrun --help`.
32
49
 
33
50
  ## Supported platforms
34
51
 
35
- `darwin-arm64`, `linux-x64`, `linux-arm64`. On other platforms, grab a prebuilt
36
- binary from the [GitHub Releases](https://github.com/boringSQL/dryrun/releases).
52
+ `darwin-arm64`, `darwin-x64`, `linux-x64`, `linux-arm64`, `win32-x64`. On other
53
+ platforms, grab a prebuilt binary from the
54
+ [GitHub Releases](https://github.com/boringSQL/dryrun/releases) or install via
55
+ Homebrew (`brew install boringsql/boringsql/dryrun`).
56
+
57
+ ## More
58
+
59
+ - [GitHub README](https://github.com/boringSQL/dryrun#readme) — quickstart,
60
+ team snapshot sharing, OCI registry push/pull
61
+ - [Tutorial](https://github.com/boringSQL/dryrun/blob/master/TUTORIAL.md) —
62
+ offline, online, and multi-node workflows with the full tool reference
63
+ - [boringsql.com/products/dryrun](https://boringsql.com/products/dryrun/) —
64
+ project page
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "@boringsql/dryrun",
3
- "version": "0.14.1",
3
+ "version": "0.15.0",
4
+ "mcpName": "io.github.boringsql/dryrun",
4
5
  "description": "dryrun — PostgreSQL schema/query advisor and MCP server. npx launcher.",
5
6
  "bin": {
6
7
  "dryrun": "bin/dryrun.js"
@@ -9,11 +10,11 @@
9
10
  "bin/dryrun.js"
10
11
  ],
11
12
  "optionalDependencies": {
12
- "@boringsql/dryrun-darwin-arm64": "0.14.1",
13
- "@boringsql/dryrun-darwin-x64": "0.14.1",
14
- "@boringsql/dryrun-linux-x64": "0.14.1",
15
- "@boringsql/dryrun-linux-arm64": "0.14.1",
16
- "@boringsql/dryrun-win32-x64": "0.14.1"
13
+ "@boringsql/dryrun-darwin-arm64": "0.15.0",
14
+ "@boringsql/dryrun-darwin-x64": "0.15.0",
15
+ "@boringsql/dryrun-linux-x64": "0.15.0",
16
+ "@boringsql/dryrun-linux-arm64": "0.15.0",
17
+ "@boringsql/dryrun-win32-x64": "0.15.0"
17
18
  },
18
19
  "engines": {
19
20
  "node": ">=16"