@kl-c/matrixos 0.3.5 → 0.3.6
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/index.js +16 -9
- package/dist/cli-node/index.js +16 -9
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -2163,7 +2163,7 @@ var package_default;
|
|
|
2163
2163
|
var init_package = __esm(() => {
|
|
2164
2164
|
package_default = {
|
|
2165
2165
|
name: "@kl-c/matrixos",
|
|
2166
|
-
version: "0.3.
|
|
2166
|
+
version: "0.3.6",
|
|
2167
2167
|
description: "MaTrixOS \u2014 Agentic OS for OpenCode. Personalizable, communicating, self-improving, resilient.",
|
|
2168
2168
|
main: "./dist/index.js",
|
|
2169
2169
|
types: "dist/index.d.ts",
|
|
@@ -187350,14 +187350,21 @@ init_jsonc_parser2();
|
|
|
187350
187350
|
function loadGatewayPassphrase() {
|
|
187351
187351
|
try {
|
|
187352
187352
|
const configDir = getConfigDir();
|
|
187353
|
-
const
|
|
187354
|
-
|
|
187355
|
-
|
|
187356
|
-
|
|
187357
|
-
|
|
187358
|
-
|
|
187359
|
-
|
|
187360
|
-
|
|
187353
|
+
const candidates = [
|
|
187354
|
+
path25.join(configDir, "matrixos.jsonc"),
|
|
187355
|
+
path25.join(configDir, "matrixos.json")
|
|
187356
|
+
];
|
|
187357
|
+
for (const configPath of candidates) {
|
|
187358
|
+
try {
|
|
187359
|
+
const raw = readFileSync58(configPath, "utf-8");
|
|
187360
|
+
const config5 = parseJsonc(raw);
|
|
187361
|
+
const dashboard2 = config5.dashboard;
|
|
187362
|
+
if (typeof dashboard2?.gatewayPassphrase === "string")
|
|
187363
|
+
return dashboard2.gatewayPassphrase;
|
|
187364
|
+
} catch {}
|
|
187365
|
+
}
|
|
187366
|
+
} catch {}
|
|
187367
|
+
return;
|
|
187361
187368
|
}
|
|
187362
187369
|
async function dashboardCli(options) {
|
|
187363
187370
|
const port3 = options.port ?? 9123;
|
package/dist/cli-node/index.js
CHANGED
|
@@ -2163,7 +2163,7 @@ var package_default;
|
|
|
2163
2163
|
var init_package = __esm(() => {
|
|
2164
2164
|
package_default = {
|
|
2165
2165
|
name: "@kl-c/matrixos",
|
|
2166
|
-
version: "0.3.
|
|
2166
|
+
version: "0.3.6",
|
|
2167
2167
|
description: "MaTrixOS \u2014 Agentic OS for OpenCode. Personalizable, communicating, self-improving, resilient.",
|
|
2168
2168
|
main: "./dist/index.js",
|
|
2169
2169
|
types: "dist/index.d.ts",
|
|
@@ -187405,14 +187405,21 @@ init_jsonc_parser2();
|
|
|
187405
187405
|
function loadGatewayPassphrase() {
|
|
187406
187406
|
try {
|
|
187407
187407
|
const configDir = getConfigDir();
|
|
187408
|
-
const
|
|
187409
|
-
|
|
187410
|
-
|
|
187411
|
-
|
|
187412
|
-
|
|
187413
|
-
|
|
187414
|
-
|
|
187415
|
-
|
|
187408
|
+
const candidates = [
|
|
187409
|
+
path25.join(configDir, "matrixos.jsonc"),
|
|
187410
|
+
path25.join(configDir, "matrixos.json")
|
|
187411
|
+
];
|
|
187412
|
+
for (const configPath of candidates) {
|
|
187413
|
+
try {
|
|
187414
|
+
const raw = readFileSync58(configPath, "utf-8");
|
|
187415
|
+
const config5 = parseJsonc(raw);
|
|
187416
|
+
const dashboard2 = config5.dashboard;
|
|
187417
|
+
if (typeof dashboard2?.gatewayPassphrase === "string")
|
|
187418
|
+
return dashboard2.gatewayPassphrase;
|
|
187419
|
+
} catch {}
|
|
187420
|
+
}
|
|
187421
|
+
} catch {}
|
|
187422
|
+
return;
|
|
187416
187423
|
}
|
|
187417
187424
|
async function dashboardCli(options) {
|
|
187418
187425
|
const port3 = options.port ?? 9123;
|
package/dist/index.js
CHANGED
|
@@ -368019,7 +368019,7 @@ function getCachedVersion(options = {}) {
|
|
|
368019
368019
|
// package.json
|
|
368020
368020
|
var package_default = {
|
|
368021
368021
|
name: "@kl-c/matrixos",
|
|
368022
|
-
version: "0.3.
|
|
368022
|
+
version: "0.3.6",
|
|
368023
368023
|
description: "MaTrixOS \u2014 Agentic OS for OpenCode. Personalizable, communicating, self-improving, resilient.",
|
|
368024
368024
|
main: "./dist/index.js",
|
|
368025
368025
|
types: "dist/index.d.ts",
|
package/package.json
CHANGED