@kl-c/matrixos 0.1.18 → 0.1.20
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 +3 -3
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -2145,7 +2145,7 @@ var package_default;
|
|
|
2145
2145
|
var init_package = __esm(() => {
|
|
2146
2146
|
package_default = {
|
|
2147
2147
|
name: "@kl-c/matrixos",
|
|
2148
|
-
version: "0.1.
|
|
2148
|
+
version: "0.1.20",
|
|
2149
2149
|
description: "MaTrixOS \u2014 Agentic OS for OpenCode. Personalizable, communicating, self-improving, resilient.",
|
|
2150
2150
|
main: "./dist/index.js",
|
|
2151
2151
|
types: "dist/index.d.ts",
|
|
@@ -83293,8 +83293,8 @@ function createAutoUpdateCheckerHook(ctx, options = {}, deps = defaultDeps5) {
|
|
|
83293
83293
|
const isCliRunMode = process.env.OPENCODE_CLI_RUN_MODE === "true";
|
|
83294
83294
|
const getToastMessage = (isUpdate, latestVersion) => {
|
|
83295
83295
|
if (isMorpheusEnabled) {
|
|
83296
|
-
return isUpdate ? `
|
|
83297
|
-
v${latestVersion}
|
|
83296
|
+
return isUpdate ? `MaTrixOS \xB7 Morpheus pilote OpenCode.
|
|
83297
|
+
v${latestVersion} disponible. Red\xE9marre pour appliquer.` : "MaTrixOS \xB7 Morpheus pilote OpenCode.";
|
|
83298
83298
|
}
|
|
83299
83299
|
return isUpdate ? `OpenCode is now on Steroids. oMoMoMoMo...
|
|
83300
83300
|
v${latestVersion} available. Restart OpenCode to apply.` : "OpenCode is now on Steroids. oMoMoMoMo...";
|
|
@@ -141070,12 +141070,20 @@ function thirtyDaysAgoMs() {
|
|
|
141070
141070
|
}
|
|
141071
141071
|
function readPackageVersion2() {
|
|
141072
141072
|
try {
|
|
141073
|
-
const
|
|
141074
|
-
|
|
141075
|
-
|
|
141076
|
-
|
|
141077
|
-
|
|
141078
|
-
|
|
141073
|
+
const candidates = [
|
|
141074
|
+
new URL("../package.json", import.meta.url).pathname,
|
|
141075
|
+
new URL("../../package.json", import.meta.url).pathname,
|
|
141076
|
+
path24.resolve(process.cwd(), "package.json")
|
|
141077
|
+
];
|
|
141078
|
+
for (const candidate of candidates) {
|
|
141079
|
+
if (fs20.existsSync(candidate)) {
|
|
141080
|
+
const pkg = JSON.parse(fs20.readFileSync(candidate, "utf-8"));
|
|
141081
|
+
if (pkg.version)
|
|
141082
|
+
return pkg.version;
|
|
141083
|
+
}
|
|
141084
|
+
}
|
|
141085
|
+
} catch {}
|
|
141086
|
+
return "0.0.0";
|
|
141079
141087
|
}
|
|
141080
141088
|
function createDataProvider(config4) {
|
|
141081
141089
|
const matrixosHome = config4?.matrixosHome ?? ".matrixos";
|
package/dist/cli-node/index.js
CHANGED
|
@@ -2145,7 +2145,7 @@ var package_default;
|
|
|
2145
2145
|
var init_package = __esm(() => {
|
|
2146
2146
|
package_default = {
|
|
2147
2147
|
name: "@kl-c/matrixos",
|
|
2148
|
-
version: "0.1.
|
|
2148
|
+
version: "0.1.20",
|
|
2149
2149
|
description: "MaTrixOS \u2014 Agentic OS for OpenCode. Personalizable, communicating, self-improving, resilient.",
|
|
2150
2150
|
main: "./dist/index.js",
|
|
2151
2151
|
types: "dist/index.d.ts",
|
|
@@ -83348,8 +83348,8 @@ function createAutoUpdateCheckerHook(ctx, options = {}, deps = defaultDeps5) {
|
|
|
83348
83348
|
const isCliRunMode = process.env.OPENCODE_CLI_RUN_MODE === "true";
|
|
83349
83349
|
const getToastMessage = (isUpdate, latestVersion) => {
|
|
83350
83350
|
if (isMorpheusEnabled) {
|
|
83351
|
-
return isUpdate ? `
|
|
83352
|
-
v${latestVersion}
|
|
83351
|
+
return isUpdate ? `MaTrixOS \xB7 Morpheus pilote OpenCode.
|
|
83352
|
+
v${latestVersion} disponible. Red\xE9marre pour appliquer.` : "MaTrixOS \xB7 Morpheus pilote OpenCode.";
|
|
83353
83353
|
}
|
|
83354
83354
|
return isUpdate ? `OpenCode is now on Steroids. oMoMoMoMo...
|
|
83355
83355
|
v${latestVersion} available. Restart OpenCode to apply.` : "OpenCode is now on Steroids. oMoMoMoMo...";
|
|
@@ -141125,12 +141125,20 @@ function thirtyDaysAgoMs() {
|
|
|
141125
141125
|
}
|
|
141126
141126
|
function readPackageVersion2() {
|
|
141127
141127
|
try {
|
|
141128
|
-
const
|
|
141129
|
-
|
|
141130
|
-
|
|
141131
|
-
|
|
141132
|
-
|
|
141133
|
-
|
|
141128
|
+
const candidates = [
|
|
141129
|
+
new URL("../package.json", import.meta.url).pathname,
|
|
141130
|
+
new URL("../../package.json", import.meta.url).pathname,
|
|
141131
|
+
path24.resolve(process.cwd(), "package.json")
|
|
141132
|
+
];
|
|
141133
|
+
for (const candidate of candidates) {
|
|
141134
|
+
if (fs20.existsSync(candidate)) {
|
|
141135
|
+
const pkg = JSON.parse(fs20.readFileSync(candidate, "utf-8"));
|
|
141136
|
+
if (pkg.version)
|
|
141137
|
+
return pkg.version;
|
|
141138
|
+
}
|
|
141139
|
+
}
|
|
141140
|
+
} catch {}
|
|
141141
|
+
return "0.0.0";
|
|
141134
141142
|
}
|
|
141135
141143
|
function createDataProvider(config4) {
|
|
141136
141144
|
const matrixosHome = config4?.matrixosHome ?? ".matrixos";
|
package/dist/index.js
CHANGED
|
@@ -367932,7 +367932,7 @@ function getCachedVersion(options = {}) {
|
|
|
367932
367932
|
// package.json
|
|
367933
367933
|
var package_default = {
|
|
367934
367934
|
name: "@kl-c/matrixos",
|
|
367935
|
-
version: "0.1.
|
|
367935
|
+
version: "0.1.20",
|
|
367936
367936
|
description: "MaTrixOS \u2014 Agentic OS for OpenCode. Personalizable, communicating, self-improving, resilient.",
|
|
367937
367937
|
main: "./dist/index.js",
|
|
367938
367938
|
types: "dist/index.d.ts",
|
|
@@ -369052,8 +369052,8 @@ function createAutoUpdateCheckerHook(ctx, options = {}, deps = defaultDeps3) {
|
|
|
369052
369052
|
const isCliRunMode = process.env.OPENCODE_CLI_RUN_MODE === "true";
|
|
369053
369053
|
const getToastMessage = (isUpdate, latestVersion) => {
|
|
369054
369054
|
if (isMorpheusEnabled) {
|
|
369055
|
-
return isUpdate ? `
|
|
369056
|
-
v${latestVersion}
|
|
369055
|
+
return isUpdate ? `MaTrixOS \xB7 Morpheus pilote OpenCode.
|
|
369056
|
+
v${latestVersion} disponible. Red\xE9marre pour appliquer.` : "MaTrixOS \xB7 Morpheus pilote OpenCode.";
|
|
369057
369057
|
}
|
|
369058
369058
|
return isUpdate ? `OpenCode is now on Steroids. oMoMoMoMo...
|
|
369059
369059
|
v${latestVersion} available. Restart OpenCode to apply.` : "OpenCode is now on Steroids. oMoMoMoMo...";
|
package/package.json
CHANGED