@actions-json/bridge 0.1.119 → 0.1.120
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/README.md +14 -23
- package/bin/cli.js +19 -2
- package/dictionary/overlay.actions.json +3303 -0
- package/lib/install.js +5 -2
- package/package.json +4 -2
package/lib/install.js
CHANGED
|
@@ -7,10 +7,13 @@ const https = require('node:https');
|
|
|
7
7
|
const { execFileSync } = require('node:child_process');
|
|
8
8
|
const { assetSlug, downloadUrl, binaryName } = require('./platform');
|
|
9
9
|
|
|
10
|
-
//
|
|
10
|
+
// The bridge binary version to download. This is pinned separately from the
|
|
11
|
+
// package version so the wrapper can ship changes (e.g. the bundled dictionary)
|
|
12
|
+
// without rebuilding identical bridge binaries. Falls back to the package
|
|
13
|
+
// version if the pin isn't set.
|
|
11
14
|
function packageVersion() {
|
|
12
15
|
const pkg = require('../package.json');
|
|
13
|
-
return pkg.version;
|
|
16
|
+
return pkg.bridgeBinaryVersion || pkg.version;
|
|
14
17
|
}
|
|
15
18
|
|
|
16
19
|
// Where we cache the downloaded binary: alongside the package, keyed by version
|
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@actions-json/bridge",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"
|
|
3
|
+
"version": "0.1.120",
|
|
4
|
+
"bridgeBinaryVersion": "0.1.119",
|
|
5
|
+
"description": "Run the actions.json MCP bridge with npx — no Rust toolchain required. Downloads the prebuilt actions-json-mcp binary for your platform, bundles the primitive dictionary, and runs it.",
|
|
5
6
|
"license": "MIT",
|
|
6
7
|
"repository": {
|
|
7
8
|
"type": "git",
|
|
@@ -15,6 +16,7 @@
|
|
|
15
16
|
"files": [
|
|
16
17
|
"bin/",
|
|
17
18
|
"lib/",
|
|
19
|
+
"dictionary/",
|
|
18
20
|
"README.md"
|
|
19
21
|
],
|
|
20
22
|
"engines": {
|