modelstat 0.3.1 → 0.3.2
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.mjs +8 -4
- package/dist/cli.mjs.map +1 -1
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -4620,9 +4620,13 @@ var init_redact_floor = __esm({
|
|
|
4620
4620
|
replacement: "<REDACTED:modelstat_device_secret>"
|
|
4621
4621
|
},
|
|
4622
4622
|
// Generic env-style KEY=VALUE where KEY names a secret. Keeps the var name.
|
|
4623
|
+
// The keyword may be the WHOLE name (`SECRET=`, `TOKEN=`) or part of it
|
|
4624
|
+
// (`AWS_SECRET_ACCESS_KEY=`), so the prefix is `[A-Z0-9_]*` (zero-or-more) —
|
|
4625
|
+
// a mandatory leading `[A-Z]` here used to eat the first letter and miss every
|
|
4626
|
+
// bare-keyword name, leaking `SECRET="…"` / `TOKEN="…"` straight to the wire.
|
|
4623
4627
|
{
|
|
4624
4628
|
name: "env_secret",
|
|
4625
|
-
pattern: /\b([A-
|
|
4629
|
+
pattern: /\b([A-Z0-9_]*(?:TOKEN|KEY|SECRET|PASSWORD|PASSWD|PASSPHRASE|CREDENTIAL|API)[A-Z0-9_]*)\s*[:=]\s*['"]?([^\s'"]{12,})['"]?/g,
|
|
4626
4630
|
replacement: "$1=<REDACTED:env_secret>"
|
|
4627
4631
|
},
|
|
4628
4632
|
{
|
|
@@ -47782,7 +47786,7 @@ var init_scan = __esm({
|
|
|
47782
47786
|
init_api();
|
|
47783
47787
|
init_config2();
|
|
47784
47788
|
init_pipeline2();
|
|
47785
|
-
DAEMON_VERSION = true ? "daemon-0.3.
|
|
47789
|
+
DAEMON_VERSION = true ? "daemon-0.3.2" : "daemon-dev";
|
|
47786
47790
|
BATCH_MAX_EVENTS = INGEST_BATCH_MAX_EVENTS;
|
|
47787
47791
|
BATCH_MAX_TOOL_CALLS = 2e4;
|
|
47788
47792
|
BATCH_BUFFER_HARD_CAP = BATCH_MAX_EVENTS * 2;
|
|
@@ -50292,7 +50296,7 @@ var init_daemon = __esm({
|
|
|
50292
50296
|
init_machine_key();
|
|
50293
50297
|
init_scan();
|
|
50294
50298
|
init_single_flight();
|
|
50295
|
-
DAEMON_VERSION2 = true ? "daemon-0.3.
|
|
50299
|
+
DAEMON_VERSION2 = true ? "daemon-0.3.2" : "daemon-dev";
|
|
50296
50300
|
HEARTBEAT_INTERVAL_MS = 1e4;
|
|
50297
50301
|
SCAN_INTERVAL_MS = 5 * 60 * 1e3;
|
|
50298
50302
|
DISCOVERY_INTERVAL_MS = 6e4;
|
|
@@ -50894,7 +50898,7 @@ function tryOpenBrowser(url) {
|
|
|
50894
50898
|
return false;
|
|
50895
50899
|
}
|
|
50896
50900
|
}
|
|
50897
|
-
var DAEMON_VERSION3 = true ? "daemon-0.3.
|
|
50901
|
+
var DAEMON_VERSION3 = true ? "daemon-0.3.2" : "daemon-dev";
|
|
50898
50902
|
function osFamily() {
|
|
50899
50903
|
const p = platform5();
|
|
50900
50904
|
if (p === "darwin") return "macos";
|