@kl-c/matrixos 0.3.45 → 0.3.46
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 +12 -6
- package/dist/cli-node/index.js +12 -6
- 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.46",
|
|
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",
|
|
@@ -187518,12 +187518,18 @@ ${row.description ? `Description: ${row.description}
|
|
|
187518
187518
|
return { ok: false, error: "database unavailable" };
|
|
187519
187519
|
try {
|
|
187520
187520
|
let extractTasks = function(text) {
|
|
187521
|
-
const
|
|
187522
|
-
|
|
187521
|
+
for (const line of text.split(`
|
|
187522
|
+
`)) {
|
|
187523
|
+
const trimmed = line.trim();
|
|
187524
|
+
if (!trimmed.startsWith("{") || !trimmed.endsWith("}"))
|
|
187525
|
+
continue;
|
|
187526
|
+
if (!trimmed.includes('"summary"'))
|
|
187527
|
+
continue;
|
|
187523
187528
|
try {
|
|
187524
|
-
|
|
187525
|
-
|
|
187526
|
-
const
|
|
187529
|
+
const obj = JSON.parse(trimmed);
|
|
187530
|
+
const summary = obj.summary ?? "";
|
|
187531
|
+
const clean = summary.replace(/```(?:json)?\n?/g, "").replace(/```/g, "");
|
|
187532
|
+
const arrayMatch = clean.match(/\[[\s\S]*?\]/);
|
|
187527
187533
|
if (arrayMatch) {
|
|
187528
187534
|
const parsed = JSON.parse(arrayMatch[0]);
|
|
187529
187535
|
if (Array.isArray(parsed))
|
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.46",
|
|
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",
|
|
@@ -187573,12 +187573,18 @@ ${row.description ? `Description: ${row.description}
|
|
|
187573
187573
|
return { ok: false, error: "database unavailable" };
|
|
187574
187574
|
try {
|
|
187575
187575
|
let extractTasks = function(text) {
|
|
187576
|
-
const
|
|
187577
|
-
|
|
187576
|
+
for (const line of text.split(`
|
|
187577
|
+
`)) {
|
|
187578
|
+
const trimmed = line.trim();
|
|
187579
|
+
if (!trimmed.startsWith("{") || !trimmed.endsWith("}"))
|
|
187580
|
+
continue;
|
|
187581
|
+
if (!trimmed.includes('"summary"'))
|
|
187582
|
+
continue;
|
|
187578
187583
|
try {
|
|
187579
|
-
|
|
187580
|
-
|
|
187581
|
-
const
|
|
187584
|
+
const obj = JSON.parse(trimmed);
|
|
187585
|
+
const summary = obj.summary ?? "";
|
|
187586
|
+
const clean = summary.replace(/```(?:json)?\n?/g, "").replace(/```/g, "");
|
|
187587
|
+
const arrayMatch = clean.match(/\[[\s\S]*?\]/);
|
|
187582
187588
|
if (arrayMatch) {
|
|
187583
187589
|
const parsed = JSON.parse(arrayMatch[0]);
|
|
187584
187590
|
if (Array.isArray(parsed))
|
package/dist/index.js
CHANGED
|
@@ -368086,7 +368086,7 @@ function getCachedVersion(options = {}) {
|
|
|
368086
368086
|
// package.json
|
|
368087
368087
|
var package_default = {
|
|
368088
368088
|
name: "@kl-c/matrixos",
|
|
368089
|
-
version: "0.3.
|
|
368089
|
+
version: "0.3.46",
|
|
368090
368090
|
description: "MaTrixOS \u2014 Agentic OS for OpenCode. Personalizable, communicating, self-improving, resilient.",
|
|
368091
368091
|
main: "./dist/index.js",
|
|
368092
368092
|
types: "dist/index.d.ts",
|
package/package.json
CHANGED