@kl-c/matrixos 0.3.5 → 0.3.7
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 +17 -9
- package/dist/cli-node/index.js +17 -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.7",
|
|
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",
|
|
@@ -166311,6 +166311,7 @@ async function runGatewayStart(opts = {}) {
|
|
|
166311
166311
|
}
|
|
166312
166312
|
});
|
|
166313
166313
|
await gateway2.start();
|
|
166314
|
+
setInterval(() => {}, 1 << 30);
|
|
166314
166315
|
return {
|
|
166315
166316
|
ok: true,
|
|
166316
166317
|
channel: channelType,
|
|
@@ -187350,14 +187351,21 @@ init_jsonc_parser2();
|
|
|
187350
187351
|
function loadGatewayPassphrase() {
|
|
187351
187352
|
try {
|
|
187352
187353
|
const configDir = getConfigDir();
|
|
187353
|
-
const
|
|
187354
|
-
|
|
187355
|
-
|
|
187356
|
-
|
|
187357
|
-
|
|
187358
|
-
|
|
187359
|
-
|
|
187360
|
-
|
|
187354
|
+
const candidates = [
|
|
187355
|
+
path25.join(configDir, "matrixos.jsonc"),
|
|
187356
|
+
path25.join(configDir, "matrixos.json")
|
|
187357
|
+
];
|
|
187358
|
+
for (const configPath of candidates) {
|
|
187359
|
+
try {
|
|
187360
|
+
const raw = readFileSync58(configPath, "utf-8");
|
|
187361
|
+
const config5 = parseJsonc(raw);
|
|
187362
|
+
const dashboard2 = config5.dashboard;
|
|
187363
|
+
if (typeof dashboard2?.gatewayPassphrase === "string")
|
|
187364
|
+
return dashboard2.gatewayPassphrase;
|
|
187365
|
+
} catch {}
|
|
187366
|
+
}
|
|
187367
|
+
} catch {}
|
|
187368
|
+
return;
|
|
187361
187369
|
}
|
|
187362
187370
|
async function dashboardCli(options) {
|
|
187363
187371
|
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.7",
|
|
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",
|
|
@@ -166366,6 +166366,7 @@ async function runGatewayStart(opts = {}) {
|
|
|
166366
166366
|
}
|
|
166367
166367
|
});
|
|
166368
166368
|
await gateway2.start();
|
|
166369
|
+
setInterval(() => {}, 1 << 30);
|
|
166369
166370
|
return {
|
|
166370
166371
|
ok: true,
|
|
166371
166372
|
channel: channelType,
|
|
@@ -187405,14 +187406,21 @@ init_jsonc_parser2();
|
|
|
187405
187406
|
function loadGatewayPassphrase() {
|
|
187406
187407
|
try {
|
|
187407
187408
|
const configDir = getConfigDir();
|
|
187408
|
-
const
|
|
187409
|
-
|
|
187410
|
-
|
|
187411
|
-
|
|
187412
|
-
|
|
187413
|
-
|
|
187414
|
-
|
|
187415
|
-
|
|
187409
|
+
const candidates = [
|
|
187410
|
+
path25.join(configDir, "matrixos.jsonc"),
|
|
187411
|
+
path25.join(configDir, "matrixos.json")
|
|
187412
|
+
];
|
|
187413
|
+
for (const configPath of candidates) {
|
|
187414
|
+
try {
|
|
187415
|
+
const raw = readFileSync58(configPath, "utf-8");
|
|
187416
|
+
const config5 = parseJsonc(raw);
|
|
187417
|
+
const dashboard2 = config5.dashboard;
|
|
187418
|
+
if (typeof dashboard2?.gatewayPassphrase === "string")
|
|
187419
|
+
return dashboard2.gatewayPassphrase;
|
|
187420
|
+
} catch {}
|
|
187421
|
+
}
|
|
187422
|
+
} catch {}
|
|
187423
|
+
return;
|
|
187416
187424
|
}
|
|
187417
187425
|
async function dashboardCli(options) {
|
|
187418
187426
|
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.7",
|
|
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