@synapsor/runner 0.1.11 → 0.1.12
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 +15 -2
- package/dist/cli.d.ts.map +1 -1
- package/dist/runner.mjs +10 -3
- package/docs/release-notes.md +14 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,10 +2,23 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
### Runner Version Invocation
|
|
6
|
+
|
|
7
|
+
- Stages `@synapsor/runner@0.1.12` without changing or republishing
|
|
8
|
+
`@synapsor/spec@0.1.4` or `@synapsor/dsl@0.1.4`.
|
|
9
|
+
- Keeps `--version`, `-v`, and `version` stable when an npm/npx wrapper forwards
|
|
10
|
+
a duplicated `synapsor-runner` executable token.
|
|
11
|
+
- Reads the Runner version from bundled package metadata instead of the
|
|
12
|
+
invoking project's ambient `npm_package_version` value.
|
|
13
|
+
- Adds source-wrapper and installed-tarball checks for every supported version
|
|
14
|
+
form and the duplicated-token regression shape.
|
|
15
|
+
|
|
16
|
+
## 0.1.11
|
|
17
|
+
|
|
5
18
|
### Cloud Adoption Loop
|
|
6
19
|
|
|
7
|
-
-
|
|
8
|
-
`@synapsor/runner@0.1.11
|
|
20
|
+
- Publishes `@synapsor/spec@0.1.4`, `@synapsor/dsl@0.1.4`, and
|
|
21
|
+
`@synapsor/runner@0.1.11`.
|
|
9
22
|
- Adds a seven-file MCP client bundle for Claude Desktop, Cursor, OpenAI Agents
|
|
10
23
|
SDK, and generic stdio/Streamable HTTP clients, including OpenAI-safe tool
|
|
11
24
|
aliases.
|
package/dist/cli.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";AAYA,OAAO,EAAoP,KAAK,WAAW,EAA2F,MAAM,6BAA6B,CAAC;AAoB1Y,OAAO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
|
|
8439
8439
|
// apps/runner/package.json
|
|
8440
8440
|
var package_default = {
|
|
8441
8441
|
name: "@synapsor/runner",
|
|
8442
|
-
version: "0.1.
|
|
8442
|
+
version: "0.1.12",
|
|
8443
8443
|
description: "Stop giving AI agents execute_sql; expose reviewed Postgres/MySQL MCP actions with proposals, approval, writeback, and replay.",
|
|
8444
8444
|
license: "Apache-2.0",
|
|
8445
8445
|
type: "module",
|
|
@@ -8937,7 +8937,7 @@ var referenceDemoEnv = {
|
|
|
8937
8937
|
SYNAPSOR_RUNNER_TOKEN: "syn_wbr_demo_local"
|
|
8938
8938
|
};
|
|
8939
8939
|
async function main(argv) {
|
|
8940
|
-
const [command, ...rest] = argv;
|
|
8940
|
+
const [command, ...rest] = normalizeCliArgv(argv);
|
|
8941
8941
|
if (!command || command === "--help" || command === "-h") {
|
|
8942
8942
|
usage([]);
|
|
8943
8943
|
return 0;
|
|
@@ -9003,6 +9003,11 @@ ${cliCommandName()} --help
|
|
|
9003
9003
|
`);
|
|
9004
9004
|
return 2;
|
|
9005
9005
|
}
|
|
9006
|
+
function normalizeCliArgv(argv) {
|
|
9007
|
+
const [first, ...rest] = argv;
|
|
9008
|
+
if (first === "synapsor-runner" || first === "synapsor") return rest;
|
|
9009
|
+
return argv;
|
|
9010
|
+
}
|
|
9006
9011
|
async function init(args) {
|
|
9007
9012
|
const answersPath = optionalArg(args, "--answers");
|
|
9008
9013
|
if (answersPath) {
|
|
@@ -16782,7 +16787,9 @@ function cliCommandName() {
|
|
|
16782
16787
|
return "synapsor-runner";
|
|
16783
16788
|
}
|
|
16784
16789
|
async function runnerPackageVersion() {
|
|
16785
|
-
if (
|
|
16790
|
+
if (typeof package_default.version === "string" && package_default.version.trim()) {
|
|
16791
|
+
return package_default.version.trim();
|
|
16792
|
+
}
|
|
16786
16793
|
const packageUrl = new URL("../package.json", import.meta.url);
|
|
16787
16794
|
try {
|
|
16788
16795
|
const parsed = JSON.parse(await fs3.readFile(packageUrl, "utf8"));
|
package/docs/release-notes.md
CHANGED
|
@@ -12,9 +12,20 @@ for the Synapsor Cloud CLI.
|
|
|
12
12
|
|
|
13
13
|
## Unreleased
|
|
14
14
|
|
|
15
|
-
Prepared package
|
|
16
|
-
`@synapsor/
|
|
17
|
-
|
|
15
|
+
Prepared package version: `@synapsor/runner@0.1.12`. The already-published
|
|
16
|
+
`@synapsor/spec@0.1.4` and `@synapsor/dsl@0.1.4` do not change and must not be
|
|
17
|
+
republished for this release.
|
|
18
|
+
|
|
19
|
+
### Runner Version Invocation
|
|
20
|
+
|
|
21
|
+
- Keeps `synapsor-runner --version`, `synapsor-runner -v`, and
|
|
22
|
+
`synapsor-runner version` stable if an npm/npx wrapper forwards a duplicated
|
|
23
|
+
executable token.
|
|
24
|
+
- Uses Runner's bundled package metadata instead of the invoking project's
|
|
25
|
+
`npm_package_version` environment value.
|
|
26
|
+
- Adds source-wrapper and installed-tarball verification for all three forms.
|
|
27
|
+
|
|
28
|
+
## 0.1.11
|
|
18
29
|
|
|
19
30
|
### Cloud Adoption Loop
|
|
20
31
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synapsor/runner",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.12",
|
|
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",
|