kifaru 1.0.196 → 1.0.197
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/kifaru-pi.js +4 -1
- package/package.json +2 -2
package/kifaru-pi.js
CHANGED
|
@@ -60729,6 +60729,9 @@ function buildDashboardEnv(entry, options, env = process.env) {
|
|
|
60729
60729
|
out.SESSION_DB_PATH = options.dbPath;
|
|
60730
60730
|
else
|
|
60731
60731
|
setDefault("SESSION_DB_PATH", path2.join(dataRoot, "session-gateway.sqlite"));
|
|
60732
|
+
if (["127.0.0.1", "::1", "localhost"].includes(options.host) && !out.ALLOWED_EMAILS?.trim() && !out.ALLOWED_DOMAINS?.trim() && !out.ADMIN_EMAILS?.trim() && !out.SESSION_BOOTSTRAP_TOKEN?.trim()) {
|
|
60733
|
+
out.ALLOWED_EMAILS = "admin@kifaru.local";
|
|
60734
|
+
}
|
|
60732
60735
|
setDefault("SESSION_ARCHIVE_ROOT", path2.join(dataRoot, "session-archive"));
|
|
60733
60736
|
setDefault("KIFARU_LOCAL_RUNS_DB", path2.join(dataRoot, "headless-events.sqlite"));
|
|
60734
60737
|
setDefault("KIFARU_LOCAL_RUNS_OUT", path2.join(dataRoot, "headless-reports"));
|
|
@@ -61261,7 +61264,7 @@ Ctrl+C stops the gateway.`);
|
|
|
61261
61264
|
async function handleCli() {
|
|
61262
61265
|
const args = process.argv.slice(2);
|
|
61263
61266
|
if (args.includes("--version") || args.includes("-v")) {
|
|
61264
|
-
console.log("1.0.
|
|
61267
|
+
console.log("1.0.197");
|
|
61265
61268
|
process.exit(0);
|
|
61266
61269
|
}
|
|
61267
61270
|
if (args[0] === "dashboard") {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kifaru",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"gitHead": "
|
|
3
|
+
"version": "1.0.197",
|
|
4
|
+
"gitHead": "2c8e311b676c41d304d576d21d18313fb7cfd624",
|
|
5
5
|
"description": "Kifaru security agent on the Pi runtime",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"license": "MIT",
|