@node9/proxy 1.38.0 → 1.39.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/cli.js +34 -2
- package/dist/cli.mjs +34 -2
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -14035,6 +14035,9 @@ function registerScanCommand(program2) {
|
|
|
14035
14035
|
console.log(
|
|
14036
14036
|
" " + import_chalk5.default.dim("\u2192 ") + import_chalk5.default.cyan("node9 scan --drill-down") + import_chalk5.default.dim(" full commands + session IDs")
|
|
14037
14037
|
);
|
|
14038
|
+
console.log(
|
|
14039
|
+
" " + import_chalk5.default.dim("\u2192 ") + import_chalk5.default.cyan.underline("https://node9.ai/auth/signup?ref=cli_scan") + import_chalk5.default.dim(" track your fleet")
|
|
14040
|
+
);
|
|
14038
14041
|
console.log("");
|
|
14039
14042
|
return;
|
|
14040
14043
|
}
|
|
@@ -14220,7 +14223,11 @@ function registerScanCommand(program2) {
|
|
|
14220
14223
|
" Hooks into Claude Code automatically. Every tool call checked before it runs."
|
|
14221
14224
|
)
|
|
14222
14225
|
);
|
|
14223
|
-
console.log("
|
|
14226
|
+
console.log("");
|
|
14227
|
+
console.log(" " + import_chalk5.default.bold("See the full report & track your fleet:"));
|
|
14228
|
+
console.log(
|
|
14229
|
+
" " + import_chalk5.default.dim("\u2192 ") + import_chalk5.default.cyan.underline("https://node9.ai/auth/signup?ref=cli_scan")
|
|
14230
|
+
);
|
|
14224
14231
|
}
|
|
14225
14232
|
console.log("");
|
|
14226
14233
|
}
|
|
@@ -18457,6 +18464,7 @@ var import_chalk34 = __toESM(require("chalk"));
|
|
|
18457
18464
|
var import_fs58 = __toESM(require("fs"));
|
|
18458
18465
|
var import_path57 = __toESM(require("path"));
|
|
18459
18466
|
var import_os53 = __toESM(require("os"));
|
|
18467
|
+
var import_child_process13 = require("child_process");
|
|
18460
18468
|
var import_prompts2 = require("@inquirer/prompts");
|
|
18461
18469
|
|
|
18462
18470
|
// src/utils/duration.ts
|
|
@@ -24987,7 +24995,12 @@ function renderPosture(result) {
|
|
|
24987
24995
|
if (med) parts.push(import_chalk24.default.yellow(`${med} medium`));
|
|
24988
24996
|
if (adv) parts.push(import_chalk24.default.gray(`${adv} advisory`));
|
|
24989
24997
|
const summary = parts.length ? parts.join(" \xB7 ") : import_chalk24.default.green("no findings");
|
|
24990
|
-
lines.push(` ${summary}
|
|
24998
|
+
lines.push(` ${summary}`);
|
|
24999
|
+
lines.push("");
|
|
25000
|
+
lines.push(" " + import_chalk24.default.bold("Track this across your fleet & keep it green:"));
|
|
25001
|
+
lines.push(
|
|
25002
|
+
" " + import_chalk24.default.dim("\u2192 ") + import_chalk24.default.cyan.underline("https://node9.ai/auth/signup?ref=cli_posture")
|
|
25003
|
+
);
|
|
24991
25004
|
lines.push("");
|
|
24992
25005
|
return lines.join("\n");
|
|
24993
25006
|
}
|
|
@@ -26566,6 +26579,25 @@ program.command("login").argument("<apiKey>").option("--local", "Save key for au
|
|
|
26566
26579
|
console.log(import_chalk34.default.gray(` Team policy enforced for all calls via Node9 cloud.`));
|
|
26567
26580
|
}
|
|
26568
26581
|
});
|
|
26582
|
+
program.command("signup").description("Create your node9 account / open the dashboard in your browser").option("--login", "Open the login page instead of signup").action((options) => {
|
|
26583
|
+
const route = options.login ? "auth/login" : "auth/signup";
|
|
26584
|
+
const url = `https://node9.ai/${route}?ref=cli_cmd`;
|
|
26585
|
+
console.log("");
|
|
26586
|
+
console.log(" " + import_chalk34.default.dim("Opening ") + import_chalk34.default.cyan.underline(url));
|
|
26587
|
+
const opener = process.platform === "darwin" ? "open" : process.platform === "win32" ? "start" : "xdg-open";
|
|
26588
|
+
try {
|
|
26589
|
+
const child = (0, import_child_process13.spawn)(opener, [url], {
|
|
26590
|
+
stdio: "ignore",
|
|
26591
|
+
detached: true,
|
|
26592
|
+
shell: process.platform === "win32"
|
|
26593
|
+
});
|
|
26594
|
+
child.on("error", () => {
|
|
26595
|
+
});
|
|
26596
|
+
child.unref();
|
|
26597
|
+
} catch {
|
|
26598
|
+
}
|
|
26599
|
+
console.log("");
|
|
26600
|
+
});
|
|
26569
26601
|
program.command("addto", { hidden: true }).description("Integrate Node9 with an AI agent").addHelpText(
|
|
26570
26602
|
"after",
|
|
26571
26603
|
"\n Supported targets: claude antigravity copilot gemini cursor codex windsurf vscode hud"
|
package/dist/cli.mjs
CHANGED
|
@@ -14014,6 +14014,9 @@ function registerScanCommand(program2) {
|
|
|
14014
14014
|
console.log(
|
|
14015
14015
|
" " + chalk5.dim("\u2192 ") + chalk5.cyan("node9 scan --drill-down") + chalk5.dim(" full commands + session IDs")
|
|
14016
14016
|
);
|
|
14017
|
+
console.log(
|
|
14018
|
+
" " + chalk5.dim("\u2192 ") + chalk5.cyan.underline("https://node9.ai/auth/signup?ref=cli_scan") + chalk5.dim(" track your fleet")
|
|
14019
|
+
);
|
|
14017
14020
|
console.log("");
|
|
14018
14021
|
return;
|
|
14019
14022
|
}
|
|
@@ -14199,7 +14202,11 @@ function registerScanCommand(program2) {
|
|
|
14199
14202
|
" Hooks into Claude Code automatically. Every tool call checked before it runs."
|
|
14200
14203
|
)
|
|
14201
14204
|
);
|
|
14202
|
-
console.log("
|
|
14205
|
+
console.log("");
|
|
14206
|
+
console.log(" " + chalk5.bold("See the full report & track your fleet:"));
|
|
14207
|
+
console.log(
|
|
14208
|
+
" " + chalk5.dim("\u2192 ") + chalk5.cyan.underline("https://node9.ai/auth/signup?ref=cli_scan")
|
|
14209
|
+
);
|
|
14203
14210
|
}
|
|
14204
14211
|
console.log("");
|
|
14205
14212
|
}
|
|
@@ -18429,6 +18436,7 @@ import chalk34 from "chalk";
|
|
|
18429
18436
|
import fs58 from "fs";
|
|
18430
18437
|
import path57 from "path";
|
|
18431
18438
|
import os53 from "os";
|
|
18439
|
+
import { spawn as spawn9 } from "child_process";
|
|
18432
18440
|
import { confirm as confirm2 } from "@inquirer/prompts";
|
|
18433
18441
|
|
|
18434
18442
|
// src/utils/duration.ts
|
|
@@ -24959,7 +24967,12 @@ function renderPosture(result) {
|
|
|
24959
24967
|
if (med) parts.push(chalk24.yellow(`${med} medium`));
|
|
24960
24968
|
if (adv) parts.push(chalk24.gray(`${adv} advisory`));
|
|
24961
24969
|
const summary = parts.length ? parts.join(" \xB7 ") : chalk24.green("no findings");
|
|
24962
|
-
lines.push(` ${summary}
|
|
24970
|
+
lines.push(` ${summary}`);
|
|
24971
|
+
lines.push("");
|
|
24972
|
+
lines.push(" " + chalk24.bold("Track this across your fleet & keep it green:"));
|
|
24973
|
+
lines.push(
|
|
24974
|
+
" " + chalk24.dim("\u2192 ") + chalk24.cyan.underline("https://node9.ai/auth/signup?ref=cli_posture")
|
|
24975
|
+
);
|
|
24963
24976
|
lines.push("");
|
|
24964
24977
|
return lines.join("\n");
|
|
24965
24978
|
}
|
|
@@ -26538,6 +26551,25 @@ program.command("login").argument("<apiKey>").option("--local", "Save key for au
|
|
|
26538
26551
|
console.log(chalk34.gray(` Team policy enforced for all calls via Node9 cloud.`));
|
|
26539
26552
|
}
|
|
26540
26553
|
});
|
|
26554
|
+
program.command("signup").description("Create your node9 account / open the dashboard in your browser").option("--login", "Open the login page instead of signup").action((options) => {
|
|
26555
|
+
const route = options.login ? "auth/login" : "auth/signup";
|
|
26556
|
+
const url = `https://node9.ai/${route}?ref=cli_cmd`;
|
|
26557
|
+
console.log("");
|
|
26558
|
+
console.log(" " + chalk34.dim("Opening ") + chalk34.cyan.underline(url));
|
|
26559
|
+
const opener = process.platform === "darwin" ? "open" : process.platform === "win32" ? "start" : "xdg-open";
|
|
26560
|
+
try {
|
|
26561
|
+
const child = spawn9(opener, [url], {
|
|
26562
|
+
stdio: "ignore",
|
|
26563
|
+
detached: true,
|
|
26564
|
+
shell: process.platform === "win32"
|
|
26565
|
+
});
|
|
26566
|
+
child.on("error", () => {
|
|
26567
|
+
});
|
|
26568
|
+
child.unref();
|
|
26569
|
+
} catch {
|
|
26570
|
+
}
|
|
26571
|
+
console.log("");
|
|
26572
|
+
});
|
|
26541
26573
|
program.command("addto", { hidden: true }).description("Integrate Node9 with an AI agent").addHelpText(
|
|
26542
26574
|
"after",
|
|
26543
26575
|
"\n Supported targets: claude antigravity copilot gemini cursor codex windsurf vscode hud"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@node9/proxy",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.39.0",
|
|
4
4
|
"description": "The Sudo Command for AI Agents. Execution Security for Claude Code, Codex, Gemini, Cursor, Opencode, Pi, and any MCP server.",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|