@techsologic/unolock-agent-mcp 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.
@@ -7,7 +7,8 @@ const path = require("path");
7
7
  const https = require("https");
8
8
  const { spawn } = require("child_process");
9
9
 
10
- const PACKAGE_VERSION = "0.1.11";
10
+ const PACKAGE_VERSION = "0.1.12";
11
+ const BINARY_VERSION = "0.1.11";
11
12
  const REPO = "TechSologic/unolock-agent-mcp";
12
13
 
13
14
  function platformAssetInfo() {
@@ -37,7 +38,7 @@ function cacheRoot() {
37
38
 
38
39
  function binaryPath() {
39
40
  const { executable } = platformAssetInfo();
40
- return path.join(cacheRoot(), "unolock-agent-mcp", PACKAGE_VERSION, executable);
41
+ return path.join(cacheRoot(), "unolock-agent-mcp", BINARY_VERSION, executable);
41
42
  }
42
43
 
43
44
  function binaryUrl() {
@@ -45,7 +46,7 @@ function binaryUrl() {
45
46
  return process.env.UNOLOCK_AGENT_MCP_BINARY_URL;
46
47
  }
47
48
  const { asset } = platformAssetInfo();
48
- return `https://github.com/${REPO}/releases/download/v${PACKAGE_VERSION}/${asset}`;
49
+ return `https://github.com/${REPO}/releases/download/v${BINARY_VERSION}/${asset}`;
49
50
  }
50
51
 
51
52
  function ensureDir(dir) {
@@ -100,7 +101,7 @@ async function ensureBinary() {
100
101
  return dest;
101
102
  }
102
103
  ensureDir(path.dirname(dest));
103
- process.stderr.write(`Downloading UnoLock Agent MCP ${PACKAGE_VERSION} for ${process.platform}/${process.arch}...\n`);
104
+ process.stderr.write(`Downloading UnoLock Agent MCP ${BINARY_VERSION} for ${process.platform}/${process.arch}...\n`);
104
105
  await fetchToFile(binaryUrl(), dest);
105
106
  return dest;
106
107
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@techsologic/unolock-agent-mcp",
3
- "version": "0.1.11",
3
+ "version": "0.1.12",
4
4
  "description": "npx wrapper for the official UnoLock Agent MCP release binaries",
5
5
  "license": "SEE LICENSE IN README.md",
6
6
  "homepage": "https://github.com/TechSologic/unolock-agent-mcp",
@@ -12,7 +12,7 @@
12
12
  "url": "https://github.com/TechSologic/unolock-agent-mcp/issues"
13
13
  },
14
14
  "bin": {
15
- "unolock-agent-mcp": "./bin/unolock-agent-mcp.js"
15
+ "unolock-agent-mcp": "bin/unolock-agent-mcp.js"
16
16
  },
17
17
  "files": [
18
18
  "bin/"