aikoql-mcp 0.1.3 → 0.1.4

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/package.json +1 -1
  2. package/run.js +5 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aikoql-mcp",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "Aikoql — The Agent-First Knowledge Database. Single binary, zero deps. 59 MCP tools.",
5
5
  "license": "Apache-2.0",
6
6
  "author": {
package/run.js CHANGED
@@ -5,6 +5,10 @@ const path = require('path');
5
5
  const fs = require('fs');
6
6
  const crypto = require('crypto');
7
7
 
8
+ // Release determinism: the npm package version pins the GitHub Release it
9
+ // downloads from, so npm@X always executes native binary X.
10
+ const version = require('./package.json').version;
11
+
8
12
  const BIN_DIR = path.join(__dirname, 'bin');
9
13
  const exe = process.platform === 'win32' ? 'aikoql.exe' : 'aikoql';
10
14
  const binPath = path.join(BIN_DIR, exe);
@@ -28,7 +32,7 @@ function download() {
28
32
  fail(`no prebuilt binary for ${platform}.`);
29
33
  }
30
34
 
31
- const base = `https://github.com/anckursingh/aikoql/releases/latest/download`;
35
+ const base = `https://github.com/anckursingh/aikoql/releases/download/v${version}`;
32
36
  const binUrl = `${base}/${file}`;
33
37
  const chkUrl = `${base}/${file}.sha256`;
34
38