@node9/proxy 1.5.5 → 1.7.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/README.md +70 -8
- package/dist/cli.js +784 -171
- package/dist/cli.mjs +782 -169
- package/dist/index.js +2 -1
- package/dist/index.mjs +2 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -517,7 +517,7 @@ var DANGEROUS_WORDS = [
|
|
|
517
517
|
var DEFAULT_CONFIG = {
|
|
518
518
|
version: "1.0",
|
|
519
519
|
settings: {
|
|
520
|
-
mode: "
|
|
520
|
+
mode: "standard",
|
|
521
521
|
autoStartDaemon: true,
|
|
522
522
|
enableUndo: true,
|
|
523
523
|
// 🔥 ALWAYS TRUE BY DEFAULT for the safety net
|
|
@@ -2721,6 +2721,7 @@ async function authorizeHeadless(toolName, args, meta, options) {
|
|
|
2721
2721
|
await notifyActivity({
|
|
2722
2722
|
id: actId,
|
|
2723
2723
|
tool: toolName,
|
|
2724
|
+
args,
|
|
2724
2725
|
ts: actTs,
|
|
2725
2726
|
status: result.approved ? "allow" : result.blockedByLabel?.includes("DLP") ? "dlp" : result.blockedByLabel?.includes("Taint") ? "taint" : "block",
|
|
2726
2727
|
label: result.blockedByLabel,
|
package/dist/index.mjs
CHANGED
|
@@ -487,7 +487,7 @@ var DANGEROUS_WORDS = [
|
|
|
487
487
|
var DEFAULT_CONFIG = {
|
|
488
488
|
version: "1.0",
|
|
489
489
|
settings: {
|
|
490
|
-
mode: "
|
|
490
|
+
mode: "standard",
|
|
491
491
|
autoStartDaemon: true,
|
|
492
492
|
enableUndo: true,
|
|
493
493
|
// 🔥 ALWAYS TRUE BY DEFAULT for the safety net
|
|
@@ -2691,6 +2691,7 @@ async function authorizeHeadless(toolName, args, meta, options) {
|
|
|
2691
2691
|
await notifyActivity({
|
|
2692
2692
|
id: actId,
|
|
2693
2693
|
tool: toolName,
|
|
2694
|
+
args,
|
|
2694
2695
|
ts: actTs,
|
|
2695
2696
|
status: result.approved ? "allow" : result.blockedByLabel?.includes("DLP") ? "dlp" : result.blockedByLabel?.includes("Taint") ? "taint" : "block",
|
|
2696
2697
|
label: result.blockedByLabel,
|