@synapsor/runner 1.6.1 → 1.6.2

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 CHANGED
@@ -1,6 +1,25 @@
1
1
  # Changelog
2
2
 
3
- ## 1.6.1 (prepared, not published)
3
+ ## 1.6.2 (prepared, not published)
4
+
5
+ ### Registry-installable packaging hotfix
6
+
7
+ - Keeps Runner linked to the local `@synapsor/spec@1.5.0` workspace during
8
+ development while requiring pnpm to transform that dependency to the public
9
+ `^1.5.0` range in the release tarball.
10
+ - Adds a `prepublishOnly` fail-closed guard that rejects `npm publish` and
11
+ requires `corepack pnpm publish`. It also rejects unexpected `workspace:`,
12
+ `file:`, `link:`, `portal:`, absolute-path, or incorrect Spec dependencies.
13
+ - Changes the packed Runner release gate to inspect pnpm's actual transformed
14
+ tarball manifest and install that tarball by itself from a clean project.
15
+ This reproduces the public `npx` dependency-resolution path instead of
16
+ masking it with a simultaneously packed local Spec.
17
+ - Contains the same proposal/evidence freshness runtime behavior prepared in
18
+ `1.6.1`; this patch changes packaging and version surfaces only.
19
+ - Prepares only `@synapsor/runner@1.6.2`. `@synapsor/spec@1.5.0` and
20
+ `@synapsor/dsl@1.5.0` remain unchanged.
21
+
22
+ ## 1.6.1 (published 2026-07-23; install-broken)
4
23
 
5
24
  ### Fail-closed proposal and evidence freshness
6
25
 
@@ -26,8 +45,9 @@
26
45
  - Preserves existing contract normalization/digests, DSL, tools lists,
27
46
  approval paths, receipts, and deployments when the optional overlay is
28
47
  absent. `@synapsor/spec` and `@synapsor/dsl` remain at 1.5.0.
29
- - Prepares only `@synapsor/runner@1.6.1`. Nothing is published, tagged, pushed,
30
- or released by this change.
48
+ - Published with `@synapsor/spec: "workspace:^"` in the registry manifest,
49
+ causing clean npm/npx installs to fail with `EUNSUPPORTEDPROTOCOL`.
50
+ Superseded by the `1.6.2` packaging hotfix and should remain deprecated.
31
51
 
32
52
  ## 1.6.0 (published 2026-07-23)
33
53
 
package/dist/runner.mjs CHANGED
@@ -46902,7 +46902,7 @@ import path3 from "node:path";
46902
46902
  // apps/runner/package.json
46903
46903
  var package_default = {
46904
46904
  name: "@synapsor/runner",
46905
- version: "1.6.1",
46905
+ version: "1.6.2",
46906
46906
  description: "Stop giving AI agents execute_sql; expose reviewed Postgres/MySQL MCP actions with proposals, approval, writeback, and replay.",
46907
46907
  license: "Apache-2.0",
46908
46908
  type: "module",
@@ -46987,12 +46987,14 @@ var package_default = {
46987
46987
  },
46988
46988
  scripts: {
46989
46989
  build: "tsc -b && node ../../scripts/build-runner-package.mjs",
46990
+ "check:publish-manifest": "node ../../scripts/check-runner-publish-manifest.mjs --source",
46991
+ prepublishOnly: "node ../../scripts/check-runner-publish-manifest.mjs --source --require-pnpm",
46990
46992
  prepack: "cd ../.. && corepack pnpm build:runner-package",
46991
46993
  test: "vitest run"
46992
46994
  },
46993
46995
  dependencies: {
46994
46996
  "@modelcontextprotocol/sdk": "1.29.0",
46995
- "@synapsor/spec": "workspace:^",
46997
+ "@synapsor/spec": "workspace:^1.5.0",
46996
46998
  jose: "6.2.3",
46997
46999
  mysql2: "^3.11.0",
46998
47000
  "pdf-lib": "1.17.1",
@@ -58524,7 +58526,7 @@ function createScopedExploreMcpServer(runtime) {
58524
58526
  }).strict().optional()
58525
58527
  }).strict();
58526
58528
  const server = new McpServer2(
58527
- { name: "synapsor-runner-authoring", version: "1.6.1" },
58529
+ { name: "synapsor-runner-authoring", version: "1.6.2" },
58528
58530
  { capabilities: { tools: {} } }
58529
58531
  );
58530
58532
  server.registerTool(SCOPED_EXPLORE_DESCRIBE_TOOL, {
@@ -19,7 +19,7 @@ claim that Cursor Marketplace review has completed.
19
19
 
20
20
  ## What the plugin installs
21
21
 
22
- - one production stdio MCP server pinned to `@synapsor/runner@1.6.1`;
22
+ - one production stdio MCP server pinned to `@synapsor/runner@1.6.2`;
23
23
  - one `/synapsor-protect` agent command;
24
24
  - one discoverable Safe Action skill;
25
25
  - one file-scoped rule for `synapsor/actions/**/*.ts`;
@@ -80,7 +80,7 @@ Required listing media:
80
80
 
81
81
  ## Submission checklist
82
82
 
83
- - [ ] Runner 1.6.1 package and plugin version agree.
83
+ - [ ] Runner 1.6.2 package and plugin version agree.
84
84
  - [ ] `corepack pnpm verify:cursor-plugin` passes from a clean checkout.
85
85
  - [ ] Plugin is manually loaded in current stable Cursor at workspace scope.
86
86
  - [ ] `/synapsor-protect` drafts and validates without activation.
@@ -10,7 +10,25 @@ npx -y -p @synapsor/runner synapsor-runner demo --quick
10
10
  The OSS runner command is `synapsor-runner`. The `synapsor` command is reserved
11
11
  for the Synapsor Cloud CLI.
12
12
 
13
- ## 1.6.1 (prepared, not published)
13
+ ## 1.6.2 (prepared, not published)
14
+
15
+ ### Registry-installable packaging hotfix
16
+
17
+ - Runner remains linked to the local Spec workspace during development, while
18
+ pnpm must transform that link to the public `@synapsor/spec@^1.5.0` range in
19
+ the release tarball.
20
+ - A publish lifecycle guard rejects `npm publish`, requires
21
+ `corepack pnpm publish`, and rejects unexpected local dependency protocols or
22
+ incorrect Spec ranges.
23
+ - The release gate inspects pnpm's transformed tarball manifest and installs
24
+ the Runner tarball alone in a clean project before invoking its CLI. The test
25
+ therefore exercises the dependency-resolution path used by public `npx`.
26
+ - Runtime behavior is unchanged from the proposal/evidence freshness release.
27
+
28
+ Prepared package version: `@synapsor/runner@1.6.2`.
29
+ `@synapsor/spec@1.5.0` and `@synapsor/dsl@1.5.0` remain unchanged.
30
+
31
+ ## 1.6.1 (published 2026-07-23; install-broken)
14
32
 
15
33
  ### Fail-closed proposal and evidence freshness
16
34
 
@@ -33,9 +51,10 @@ for the Synapsor Cloud CLI.
33
51
  - Existing contracts, exact digests, DSL, model-facing tool lists, and
34
52
  non-freshness deployments keep their prior behavior.
35
53
 
36
- Prepared package version: `@synapsor/runner@1.6.1`.
37
- `@synapsor/spec@1.5.0` and `@synapsor/dsl@1.5.0` are unchanged. Nothing has
38
- been published by this repository change.
54
+ The `1.6.1` registry manifest accidentally retained
55
+ `@synapsor/spec: "workspace:^"`. Clean npm and npx installs reject that local
56
+ workspace protocol with `EUNSUPPORTEDPROTOCOL`. The version should remain
57
+ deprecated and is superseded by `1.6.2`. Spec and DSL were unaffected.
39
58
 
40
59
  ## 1.6.0 (published 2026-07-23)
41
60
 
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synapsor/runner",
3
- "version": "1.6.1",
3
+ "version": "1.6.2",
4
4
  "description": "Stop giving AI agents execute_sql; expose reviewed Postgres/MySQL MCP actions with proposals, approval, writeback, and replay.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -83,14 +83,9 @@
83
83
  "engines": {
84
84
  "node": ">=22.13.0"
85
85
  },
86
- "scripts": {
87
- "build": "tsc -b && node ../../scripts/build-runner-package.mjs",
88
- "prepack": "cd ../.. && corepack pnpm build:runner-package",
89
- "test": "vitest run"
90
- },
91
86
  "dependencies": {
92
87
  "@modelcontextprotocol/sdk": "1.29.0",
93
- "@synapsor/spec": "workspace:^",
88
+ "@synapsor/spec": "^1.5.0",
94
89
  "jose": "6.2.3",
95
90
  "mysql2": "^3.11.0",
96
91
  "pdf-lib": "1.17.1",
@@ -116,5 +111,10 @@
116
111
  },
117
112
  "publishConfig": {
118
113
  "access": "public"
114
+ },
115
+ "scripts": {
116
+ "build": "tsc -b && node ../../scripts/build-runner-package.mjs",
117
+ "check:publish-manifest": "node ../../scripts/check-runner-publish-manifest.mjs --source",
118
+ "test": "vitest run"
119
119
  }
120
- }
120
+ }