@node9/proxy 2.18.0 → 2.19.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 CHANGED
@@ -9776,6 +9776,9 @@ async function authorizeHeadless(toolName, args, meta, options) {
9776
9776
  }
9777
9777
  return _authorizeHeadlessCore(toolName, args, meta, options);
9778
9778
  }
9779
+ function approvalTimeoutReason(approvalTimeoutMs) {
9780
+ return `No human response within ${approvalTimeoutMs / 1e3}s \u2014 auto-denied by timeout policy. Approve from your phone next time: run \`node9 login\`.`;
9781
+ }
9779
9782
  async function _authorizeHeadlessCore(toolName, args, metaArg, options) {
9780
9783
  const meta = options?.cwd && !metaArg?.workingDir ? { ...metaArg, workingDir: options.cwd } : metaArg;
9781
9784
  if (process.env.NODE9_PAUSED === "1") return { approved: true, checkedBy: "paused" };
@@ -10365,7 +10368,7 @@ ${appPermReview}`
10365
10368
  const timer = setTimeout(() => {
10366
10369
  resolve2({
10367
10370
  approved: false,
10368
- reason: `No human response within ${approvalTimeoutMs / 1e3}s \u2014 auto-denied by timeout policy.`,
10371
+ reason: approvalTimeoutReason(approvalTimeoutMs),
10369
10372
  blockedBy: "timeout",
10370
10373
  blockedByLabel: "Approval Timeout"
10371
10374
  });
@@ -56129,6 +56132,7 @@ var import_os52 = __toESM(require("os"));
56129
56132
  var import_https6 = __toESM(require("https"));
56130
56133
  init_core();
56131
56134
  init_setup();
56135
+ init_machine_id();
56132
56136
  init_shields();
56133
56137
  init_service();
56134
56138
  init_core();
@@ -56140,7 +56144,8 @@ function buildTelemetryPayload(agents, firstInstall) {
56140
56144
  agents_detected: agents,
56141
56145
  os: process.platform,
56142
56146
  node9_version: node9Version(),
56143
- first_install: firstInstall
56147
+ first_install: firstInstall,
56148
+ machine_id: getMachineId()
56144
56149
  };
56145
56150
  }
56146
56151
  function fireTelemetryPing(agents, firstInstall) {
package/dist/cli.mjs CHANGED
@@ -9777,6 +9777,9 @@ async function authorizeHeadless(toolName, args, meta, options) {
9777
9777
  }
9778
9778
  return _authorizeHeadlessCore(toolName, args, meta, options);
9779
9779
  }
9780
+ function approvalTimeoutReason(approvalTimeoutMs) {
9781
+ return `No human response within ${approvalTimeoutMs / 1e3}s \u2014 auto-denied by timeout policy. Approve from your phone next time: run \`node9 login\`.`;
9782
+ }
9780
9783
  async function _authorizeHeadlessCore(toolName, args, metaArg, options) {
9781
9784
  const meta = options?.cwd && !metaArg?.workingDir ? { ...metaArg, workingDir: options.cwd } : metaArg;
9782
9785
  if (process.env.NODE9_PAUSED === "1") return { approved: true, checkedBy: "paused" };
@@ -10366,7 +10369,7 @@ ${appPermReview}`
10366
10369
  const timer = setTimeout(() => {
10367
10370
  resolve2({
10368
10371
  approved: false,
10369
- reason: `No human response within ${approvalTimeoutMs / 1e3}s \u2014 auto-denied by timeout policy.`,
10372
+ reason: approvalTimeoutReason(approvalTimeoutMs),
10370
10373
  blockedBy: "timeout",
10371
10374
  blockedByLabel: "Approval Timeout"
10372
10375
  });
@@ -56114,6 +56117,7 @@ function registerStatusCommand(program2) {
56114
56117
  // src/cli/commands/init.ts
56115
56118
  init_core();
56116
56119
  init_setup();
56120
+ init_machine_id();
56117
56121
  init_shields();
56118
56122
  init_service();
56119
56123
  init_core();
@@ -56130,7 +56134,8 @@ function buildTelemetryPayload(agents, firstInstall) {
56130
56134
  agents_detected: agents,
56131
56135
  os: process.platform,
56132
56136
  node9_version: node9Version(),
56133
- first_install: firstInstall
56137
+ first_install: firstInstall,
56138
+ machine_id: getMachineId()
56134
56139
  };
56135
56140
  }
56136
56141
  function fireTelemetryPing(agents, firstInstall) {
package/dist/index.js CHANGED
@@ -8160,6 +8160,9 @@ async function authorizeHeadless(toolName, args, meta, options) {
8160
8160
  }
8161
8161
  return _authorizeHeadlessCore(toolName, args, meta, options);
8162
8162
  }
8163
+ function approvalTimeoutReason(approvalTimeoutMs) {
8164
+ return `No human response within ${approvalTimeoutMs / 1e3}s \u2014 auto-denied by timeout policy. Approve from your phone next time: run \`node9 login\`.`;
8165
+ }
8163
8166
  async function _authorizeHeadlessCore(toolName, args, metaArg, options) {
8164
8167
  const meta = options?.cwd && !metaArg?.workingDir ? { ...metaArg, workingDir: options.cwd } : metaArg;
8165
8168
  if (process.env.NODE9_PAUSED === "1") return { approved: true, checkedBy: "paused" };
@@ -8749,7 +8752,7 @@ ${appPermReview}`
8749
8752
  const timer = setTimeout(() => {
8750
8753
  resolve({
8751
8754
  approved: false,
8752
- reason: `No human response within ${approvalTimeoutMs / 1e3}s \u2014 auto-denied by timeout policy.`,
8755
+ reason: approvalTimeoutReason(approvalTimeoutMs),
8753
8756
  blockedBy: "timeout",
8754
8757
  blockedByLabel: "Approval Timeout"
8755
8758
  });
package/dist/index.mjs CHANGED
@@ -8130,6 +8130,9 @@ async function authorizeHeadless(toolName, args, meta, options) {
8130
8130
  }
8131
8131
  return _authorizeHeadlessCore(toolName, args, meta, options);
8132
8132
  }
8133
+ function approvalTimeoutReason(approvalTimeoutMs) {
8134
+ return `No human response within ${approvalTimeoutMs / 1e3}s \u2014 auto-denied by timeout policy. Approve from your phone next time: run \`node9 login\`.`;
8135
+ }
8133
8136
  async function _authorizeHeadlessCore(toolName, args, metaArg, options) {
8134
8137
  const meta = options?.cwd && !metaArg?.workingDir ? { ...metaArg, workingDir: options.cwd } : metaArg;
8135
8138
  if (process.env.NODE9_PAUSED === "1") return { approved: true, checkedBy: "paused" };
@@ -8719,7 +8722,7 @@ ${appPermReview}`
8719
8722
  const timer = setTimeout(() => {
8720
8723
  resolve({
8721
8724
  approved: false,
8722
- reason: `No human response within ${approvalTimeoutMs / 1e3}s \u2014 auto-denied by timeout policy.`,
8725
+ reason: approvalTimeoutReason(approvalTimeoutMs),
8723
8726
  blockedBy: "timeout",
8724
8727
  blockedByLabel: "Approval Timeout"
8725
8728
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@node9/proxy",
3
- "version": "2.18.0",
3
+ "version": "2.19.0",
4
4
  "description": "IAM for your AI agents. Set what Claude Code, Codex, Gemini, Cursor and any MCP server are allowed to do, review risky actions before they run, and keep every action on the record.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",