arkna 1.2.0 → 1.3.0
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/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -14,16 +14,16 @@ const test_1 = require("./commands/test");
|
|
|
14
14
|
const push_manifest_1 = require("./commands/push-manifest");
|
|
15
15
|
const pull_governance_1 = require("./commands/pull-governance");
|
|
16
16
|
const update_check_1 = require("./lib/update-check");
|
|
17
|
-
//
|
|
18
|
-
const
|
|
17
|
+
// Version injected at build time by `npm run build` — never depends on runtime path resolution
|
|
18
|
+
const CLI_VERSION = '1.3.0';
|
|
19
19
|
const brand = chalk_1.default.hex('#3B82F6');
|
|
20
20
|
// Start non-blocking update check (runs at most once per 24h)
|
|
21
|
-
const printUpdateNotice = (0, update_check_1.startUpdateCheck)(
|
|
21
|
+
const printUpdateNotice = (0, update_check_1.startUpdateCheck)(CLI_VERSION);
|
|
22
22
|
const program = new commander_1.Command();
|
|
23
23
|
program
|
|
24
24
|
.name('arkna')
|
|
25
25
|
.description(brand('\u25B2 ARKNA CLI') + chalk_1.default.dim(' \u2014 Connect agents to the AI Trust Gateway'))
|
|
26
|
-
.version(
|
|
26
|
+
.version(CLI_VERSION, '-v, --version');
|
|
27
27
|
program.addCommand(login_1.loginCommand);
|
|
28
28
|
program.addCommand(connect_1.connectCommand);
|
|
29
29
|
program.addCommand(verify_1.verifyCommand);
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;AAAA,yCAAoC;AACpC,kDAA0B;AAC1B,4CAAgD;AAChD,gDAAoD;AACpD,8CAAkD;AAClD,0CAA8C;AAC9C,8CAAkD;AAClD,0CAA8C;AAC9C,4DAA+D;AAC/D,gEAAmE;AACnE,qDAAsD;AAEtD
|
|
1
|
+
{"version":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
2
2
|
"name": "arkna",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"description": "ARKNA CLI — connect external agents to ARKNA's governance gateway",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
7
|
-
"arkna": "
|
|
7
|
+
"arkna": "bin/arkna.js"
|
|
8
8
|
},
|
|
9
9
|
"files": [
|
|
10
10
|
"bin/",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"README.md"
|
|
13
13
|
],
|
|
14
14
|
"scripts": {
|
|
15
|
-
"build": "tsc",
|
|
15
|
+
"build": "tsc && node -e \"const fs=require('fs');const v=require('./package.json').version;const f='dist/index.js';fs.writeFileSync(f,fs.readFileSync(f,'utf8').replace(/__CLI_VERSION__/g,v))\"",
|
|
16
16
|
"dev": "tsc --watch",
|
|
17
17
|
"start": "node dist/index.js",
|
|
18
18
|
"prepublishOnly": "npm run build"
|