@vaultcompass/vault-guard 1.0.0 → 1.0.1
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/cli-entry.js
CHANGED
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
const cli_1 = require("./cli");
|
|
5
|
+
const nodeMajor = Number(process.versions.node.split('.')[0]);
|
|
6
|
+
if (nodeMajor < 22) {
|
|
7
|
+
console.warn(`Warning: vault-guard requires Node.js 22 or later (current: ${process.version}). ` +
|
|
8
|
+
'Some features may not work correctly.');
|
|
9
|
+
}
|
|
5
10
|
const program = (0, cli_1.buildCli)();
|
|
6
11
|
// Parse arguments and execute command
|
|
7
12
|
program.parseAsync().then(() => {
|
package/dist/cli-entry.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli-entry.js","sourceRoot":"","sources":["../src/cli-entry.ts"],"names":[],"mappings":";;;AAEA,+BAAiC;AAEjC,MAAM,OAAO,GAAG,IAAA,cAAQ,GAAE,CAAC;AAE3B,sCAAsC;AACtC,OAAO,CAAC,UAAU,EAAE,CAAC,IAAI,CAAC,GAAG,EAAE;IAC7B,wBAAwB;IACxB,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,KAAK,EAAE,EAAE;IACjB,gBAAgB;IAChB,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;IACrB,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"cli-entry.js","sourceRoot":"","sources":["../src/cli-entry.ts"],"names":[],"mappings":";;;AAEA,+BAAiC;AAEjC,MAAM,SAAS,GAAG,MAAM,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAC9D,IAAI,SAAS,GAAG,EAAE,EAAE,CAAC;IACnB,OAAO,CAAC,IAAI,CACV,+DAA+D,OAAO,CAAC,OAAO,KAAK;QACjF,uCAAuC,CAC1C,CAAC;AACJ,CAAC;AAED,MAAM,OAAO,GAAG,IAAA,cAAQ,GAAE,CAAC;AAE3B,sCAAsC;AACtC,OAAO,CAAC,UAAU,EAAE,CAAC,IAAI,CAAC,GAAG,EAAE;IAC7B,wBAAwB;IACxB,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,KAAK,EAAE,EAAE;IACjB,gBAAgB;IAChB,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;IACrB,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaultcompass/vault-guard",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Security and optimization layer for AI-native coding",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"chalk": "^4.1.2",
|
|
38
38
|
"commander": "^12.0.0",
|
|
39
|
-
"@vaultcompass/vault-guard-telemetry": "1.0.
|
|
40
|
-
"@vaultcompass/vault-guard-core": "1.0.
|
|
39
|
+
"@vaultcompass/vault-guard-telemetry": "1.0.1",
|
|
40
|
+
"@vaultcompass/vault-guard-core": "1.0.1"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@types/jest": "^30.0.0",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"monitor.d.ts","sourceRoot":"","sources":["../../src/commands/monitor.ts"],"names":[],"mappings":"AAEA,wBAAsB,cAAc,IAAI,OAAO,CAAC,IAAI,CAAC,CAgBpD"}
|
package/dist/commands/monitor.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.monitorCommand = monitorCommand;
|
|
7
|
-
const chalk_1 = __importDefault(require("chalk"));
|
|
8
|
-
async function monitorCommand() {
|
|
9
|
-
console.log(chalk_1.default.blue.bold('📊 Status Monitor\n'));
|
|
10
|
-
// TODO: Implement real-time status monitor
|
|
11
|
-
// This will display:
|
|
12
|
-
// - Current token usage
|
|
13
|
-
// - Session savings
|
|
14
|
-
// - Active AI sessions
|
|
15
|
-
// - Security status
|
|
16
|
-
console.log(chalk_1.default.gray('Status monitor coming soon'));
|
|
17
|
-
console.log(chalk_1.default.gray('Will display:'));
|
|
18
|
-
console.log(chalk_1.default.gray(' • Real-time token usage'));
|
|
19
|
-
console.log(chalk_1.default.gray(' • Session savings %'));
|
|
20
|
-
console.log(chalk_1.default.gray(' • Active AI sessions'));
|
|
21
|
-
console.log(chalk_1.default.gray(' • Security scan status\n'));
|
|
22
|
-
}
|
|
23
|
-
//# sourceMappingURL=monitor.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"monitor.js","sourceRoot":"","sources":["../../src/commands/monitor.ts"],"names":[],"mappings":";;;;;AAEA,wCAgBC;AAlBD,kDAA0B;AAEnB,KAAK,UAAU,cAAc;IAClC,OAAO,CAAC,GAAG,CAAC,eAAK,CAAC,IAAI,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC,CAAC;IAEpD,2CAA2C;IAC3C,qBAAqB;IACrB,wBAAwB;IACxB,oBAAoB;IACpB,uBAAuB;IACvB,oBAAoB;IAEpB,OAAO,CAAC,GAAG,CAAC,eAAK,CAAC,IAAI,CAAC,4BAA4B,CAAC,CAAC,CAAC;IACtD,OAAO,CAAC,GAAG,CAAC,eAAK,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC;IACzC,OAAO,CAAC,GAAG,CAAC,eAAK,CAAC,IAAI,CAAC,2BAA2B,CAAC,CAAC,CAAC;IACrD,OAAO,CAAC,GAAG,CAAC,eAAK,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAC,CAAC;IACjD,OAAO,CAAC,GAAG,CAAC,eAAK,CAAC,IAAI,CAAC,wBAAwB,CAAC,CAAC,CAAC;IAClD,OAAO,CAAC,GAAG,CAAC,eAAK,CAAC,IAAI,CAAC,4BAA4B,CAAC,CAAC,CAAC;AACxD,CAAC"}
|