@kl-c/matrixos 0.1.39 → 0.1.40

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 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.39",
2148
+ version: "0.1.40",
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",
@@ -82991,7 +82991,7 @@ function ignoreToastError(error51) {
82991
82991
  async function showUpdateAvailableToast(ctx, latestVersion, getToastMessage) {
82992
82992
  await ctx.client.tui.showToast({
82993
82993
  body: {
82994
- title: `OhMyOpenCode ${latestVersion}`,
82994
+ title: `MaTrixOS ${latestVersion}`,
82995
82995
  message: getToastMessage(true, latestVersion),
82996
82996
  variant: "info",
82997
82997
  duration: 8000
@@ -83002,7 +83002,7 @@ async function showUpdateAvailableToast(ctx, latestVersion, getToastMessage) {
83002
83002
  async function showAutoUpdatedToast(ctx, oldVersion, newVersion) {
83003
83003
  await ctx.client.tui.showToast({
83004
83004
  body: {
83005
- title: "OhMyOpenCode Updated!",
83005
+ title: "MaTrixOS Updated!",
83006
83006
  message: `v${oldVersion} \u2192 v${newVersion}
83007
83007
  Restart OpenCode to apply.`,
83008
83008
  variant: "success",
@@ -83328,7 +83328,7 @@ async function showSpinnerToast(ctx, version3, message) {
83328
83328
  const spinner2 = MORPHEUS_SPINNER[i3 % MORPHEUS_SPINNER.length];
83329
83329
  await ctx.client.tui.showToast({
83330
83330
  body: {
83331
- title: `${spinner2} OhMyOpenCode ${version3}`,
83331
+ title: `${spinner2} MaTrixOS ${version3}`,
83332
83332
  message,
83333
83333
  variant: "info",
83334
83334
  duration: frameInterval + 50
@@ -83376,8 +83376,8 @@ Morpheus pilote OpenCode.
83376
83376
  v${latestVersion} disponible. Red\xE9marre pour appliquer.` : `${brand}
83377
83377
  Morpheus pilote OpenCode.`;
83378
83378
  }
83379
- return isUpdate ? `OpenCode is now on Steroids. oMoMoMoMo...
83380
- v${latestVersion} available. Restart OpenCode to apply.` : "OpenCode is now on Steroids. oMoMoMoMo...";
83379
+ return isUpdate ? `OpenCode is now on Steroids. MaTrixOS...
83380
+ v${latestVersion} available. Restart OpenCode to apply.` : "OpenCode is now on Steroids. MaTrixOS...";
83381
83381
  };
83382
83382
  let hasChecked = false;
83383
83383
  let hasScheduled = false;
@@ -117796,7 +117796,7 @@ function executeMigrateCommand(opts, targetPath = "matrixos.jsonc") {
117796
117796
  `;
117797
117797
  fsys.writeFileSync(targetPath, serialized);
117798
117798
  return {
117799
- stdout: `Migrated OMO config '${opts.sourcePath}' \u2192 '${targetPath}'
117799
+ stdout: `Migrated MaTrixOS config '${opts.sourcePath}' \u2192 '${targetPath}'
117800
117800
  ` + `Carried: ${KNOWN_KEYS.filter((k) => (k in target)).join(", ") || "(none)"}
117801
117801
  ` + (ignored.length ? `Ignored (review manually): ${ignored.join(", ")}
117802
117802
  ` : `No ignored keys.
@@ -118581,7 +118581,7 @@ function formatConfigSummary(config) {
118581
118581
  function printHeader(isUpdate) {
118582
118582
  const mode = isUpdate ? "Update" : "Install";
118583
118583
  console.log();
118584
- console.log(import_picocolors.default.bgMagenta(import_picocolors.default.white(` oMoMoMoMo... ${mode} `)));
118584
+ console.log(import_picocolors.default.bgMagenta(import_picocolors.default.white(` MaTrixOS... ${mode} `)));
118585
118585
  console.log();
118586
118586
  }
118587
118587
  function printStep(step, total, message) {
@@ -119315,7 +119315,7 @@ async function runCliInstaller(args, version) {
119315
119315
  if (args.tui) {
119316
119316
  await maybePromptForGitHubStars(config.platform);
119317
119317
  }
119318
- console.log(import_picocolors3.default.dim("oMoMoMoMo... Enjoy!"));
119318
+ console.log(import_picocolors3.default.dim("MaTrixOS... Enjoy!"));
119319
119319
  console.log();
119320
119320
  if (hasOpenCode && (config.hasClaude || config.hasGemini || config.hasCopilot) && !args.skipAuth) {
119321
119321
  printBox(`Run ${import_picocolors3.default.cyan("opencode auth login")} and select your provider:
@@ -121239,7 +121239,7 @@ async function runTuiInstaller(args, version) {
121239
121239
  gatewayTelegramToken: null
121240
121240
  };
121241
121241
  const isUpdate = hasOpenCode && detected.isInstalled;
121242
- intro(import_picocolors4.default.bgMagenta(import_picocolors4.default.white(isUpdate ? " oMoMoMoMo... Update " : " oMoMoMoMo... ")));
121242
+ intro(import_picocolors4.default.bgMagenta(import_picocolors4.default.white(isUpdate ? " MaTrixOS... Update " : " MaTrixOS... ")));
121243
121243
  if (isUpdate) {
121244
121244
  const initial = detectedToInitialValues(detected);
121245
121245
  log4.info(`Existing configuration detected: Claude=${initial.claude}, Gemini=${initial.gemini}`);
@@ -121335,7 +121335,7 @@ async function runTuiInstaller(args, version) {
121335
121335
  log4.warn("Make sure GitHub CLI is installed and authenticated.");
121336
121336
  }
121337
121337
  }
121338
- outro(import_picocolors4.default.green("oMoMoMoMo... Enjoy!"));
121338
+ outro(import_picocolors4.default.green("MaTrixOS... Enjoy!"));
121339
121339
  if (config.hasOpenCode && (config.hasClaude || config.hasGemini || config.hasCopilot) && !args.skipAuth) {
121340
121340
  const providers = [];
121341
121341
  if (config.hasClaude)
@@ -133980,7 +133980,7 @@ function formatStatusMark(available) {
133980
133980
  }
133981
133981
  function formatHeader() {
133982
133982
  return `
133983
- ${import_picocolors18.default.bgMagenta(import_picocolors18.default.white(" oMoMoMoMo Doctor "))}
133983
+ ${import_picocolors18.default.bgMagenta(import_picocolors18.default.white(" MaTrixOS Doctor "))}
133984
133984
  `;
133985
133985
  }
133986
133986
  function formatIssue(issue2, index) {
@@ -142227,7 +142227,7 @@ function configureRuntimeCommands(program2) {
142227
142227
  });
142228
142228
  process.exit(exitCode);
142229
142229
  });
142230
- program2.command("upstream").description("Upstream sync commands (read-only, NEVER auto-merge)").command("check").description("Fetch recent OMO releases and classify commits (merge | cherry-pick | manual | skip). Human decides.").option("--repo <owner/name>", "Override upstream repo (default: shirofx/MaTrixOS)").option("--token <token>", "GitHub token (default: $GITHUB_TOKEN)").option("--recent <n>", "Limit to N most recent releases", (v) => Number.parseInt(v, 10), 3).option("--json", "Output as JSON").action(async (options) => {
142230
+ program2.command("upstream").description("Upstream sync commands (read-only, NEVER auto-merge)").command("check").description("Fetch recent MaTrixOS releases and classify commits (merge | cherry-pick | manual | skip). Human decides.").option("--repo <owner/name>", "Override upstream repo (default: shirofx/MaTrixOS)").option("--token <token>", "GitHub token (default: $GITHUB_TOKEN)").option("--recent <n>", "Limit to N most recent releases", (v) => Number.parseInt(v, 10), 3).option("--json", "Output as JSON").action(async (options) => {
142231
142231
  const exitCode = await upstreamCheckCli({
142232
142232
  repo: options.repo,
142233
142233
  token: options.token,
@@ -142538,7 +142538,7 @@ program2.command("profile-create <name>").description("Create a new business pro
142538
142538
  process.stdout.write(result.stdout + `
142539
142539
  `);
142540
142540
  });
142541
- program2.command("migrate").description("Import an OMO config into MaTrixOS (scope minimal: known keys)").requiredOption("--from-omo <path>", "Path to the source omo.jsonc").option("--out <path>", "Target config path", "matrixos.jsonc").action(async (options) => {
142541
+ program2.command("migrate").description("Import a MaTrixOS config into MaTrixOS (scope minimal: known keys)").requiredOption("--from-omo <path>", "Path to the source omo.jsonc").option("--out <path>", "Target config path", "matrixos.jsonc").action(async (options) => {
142542
142542
  const { executeMigrateCommand: executeMigrateCommand2 } = await Promise.resolve().then(() => (init_migrate(), exports_migrate));
142543
142543
  const result = executeMigrateCommand2({ sourcePath: options.fromOmo }, options.out ?? "matrixos.jsonc");
142544
142544
  process.stdout.write(result.stdout + `
@@ -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.39",
2148
+ version: "0.1.40",
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",
@@ -83046,7 +83046,7 @@ function ignoreToastError(error51) {
83046
83046
  async function showUpdateAvailableToast(ctx, latestVersion, getToastMessage) {
83047
83047
  await ctx.client.tui.showToast({
83048
83048
  body: {
83049
- title: `OhMyOpenCode ${latestVersion}`,
83049
+ title: `MaTrixOS ${latestVersion}`,
83050
83050
  message: getToastMessage(true, latestVersion),
83051
83051
  variant: "info",
83052
83052
  duration: 8000
@@ -83057,7 +83057,7 @@ async function showUpdateAvailableToast(ctx, latestVersion, getToastMessage) {
83057
83057
  async function showAutoUpdatedToast(ctx, oldVersion, newVersion) {
83058
83058
  await ctx.client.tui.showToast({
83059
83059
  body: {
83060
- title: "OhMyOpenCode Updated!",
83060
+ title: "MaTrixOS Updated!",
83061
83061
  message: `v${oldVersion} \u2192 v${newVersion}
83062
83062
  Restart OpenCode to apply.`,
83063
83063
  variant: "success",
@@ -83383,7 +83383,7 @@ async function showSpinnerToast(ctx, version3, message) {
83383
83383
  const spinner2 = MORPHEUS_SPINNER[i3 % MORPHEUS_SPINNER.length];
83384
83384
  await ctx.client.tui.showToast({
83385
83385
  body: {
83386
- title: `${spinner2} OhMyOpenCode ${version3}`,
83386
+ title: `${spinner2} MaTrixOS ${version3}`,
83387
83387
  message,
83388
83388
  variant: "info",
83389
83389
  duration: frameInterval + 50
@@ -83431,8 +83431,8 @@ Morpheus pilote OpenCode.
83431
83431
  v${latestVersion} disponible. Red\xE9marre pour appliquer.` : `${brand}
83432
83432
  Morpheus pilote OpenCode.`;
83433
83433
  }
83434
- return isUpdate ? `OpenCode is now on Steroids. oMoMoMoMo...
83435
- v${latestVersion} available. Restart OpenCode to apply.` : "OpenCode is now on Steroids. oMoMoMoMo...";
83434
+ return isUpdate ? `OpenCode is now on Steroids. MaTrixOS...
83435
+ v${latestVersion} available. Restart OpenCode to apply.` : "OpenCode is now on Steroids. MaTrixOS...";
83436
83436
  };
83437
83437
  let hasChecked = false;
83438
83438
  let hasScheduled = false;
@@ -117851,7 +117851,7 @@ function executeMigrateCommand(opts, targetPath = "matrixos.jsonc") {
117851
117851
  `;
117852
117852
  fsys.writeFileSync(targetPath, serialized);
117853
117853
  return {
117854
- stdout: `Migrated OMO config '${opts.sourcePath}' \u2192 '${targetPath}'
117854
+ stdout: `Migrated MaTrixOS config '${opts.sourcePath}' \u2192 '${targetPath}'
117855
117855
  ` + `Carried: ${KNOWN_KEYS.filter((k) => (k in target)).join(", ") || "(none)"}
117856
117856
  ` + (ignored.length ? `Ignored (review manually): ${ignored.join(", ")}
117857
117857
  ` : `No ignored keys.
@@ -118636,7 +118636,7 @@ function formatConfigSummary(config) {
118636
118636
  function printHeader(isUpdate) {
118637
118637
  const mode = isUpdate ? "Update" : "Install";
118638
118638
  console.log();
118639
- console.log(import_picocolors.default.bgMagenta(import_picocolors.default.white(` oMoMoMoMo... ${mode} `)));
118639
+ console.log(import_picocolors.default.bgMagenta(import_picocolors.default.white(` MaTrixOS... ${mode} `)));
118640
118640
  console.log();
118641
118641
  }
118642
118642
  function printStep(step, total, message) {
@@ -119370,7 +119370,7 @@ async function runCliInstaller(args, version) {
119370
119370
  if (args.tui) {
119371
119371
  await maybePromptForGitHubStars(config.platform);
119372
119372
  }
119373
- console.log(import_picocolors3.default.dim("oMoMoMoMo... Enjoy!"));
119373
+ console.log(import_picocolors3.default.dim("MaTrixOS... Enjoy!"));
119374
119374
  console.log();
119375
119375
  if (hasOpenCode && (config.hasClaude || config.hasGemini || config.hasCopilot) && !args.skipAuth) {
119376
119376
  printBox(`Run ${import_picocolors3.default.cyan("opencode auth login")} and select your provider:
@@ -121294,7 +121294,7 @@ async function runTuiInstaller(args, version) {
121294
121294
  gatewayTelegramToken: null
121295
121295
  };
121296
121296
  const isUpdate = hasOpenCode && detected.isInstalled;
121297
- intro(import_picocolors4.default.bgMagenta(import_picocolors4.default.white(isUpdate ? " oMoMoMoMo... Update " : " oMoMoMoMo... ")));
121297
+ intro(import_picocolors4.default.bgMagenta(import_picocolors4.default.white(isUpdate ? " MaTrixOS... Update " : " MaTrixOS... ")));
121298
121298
  if (isUpdate) {
121299
121299
  const initial = detectedToInitialValues(detected);
121300
121300
  log4.info(`Existing configuration detected: Claude=${initial.claude}, Gemini=${initial.gemini}`);
@@ -121390,7 +121390,7 @@ async function runTuiInstaller(args, version) {
121390
121390
  log4.warn("Make sure GitHub CLI is installed and authenticated.");
121391
121391
  }
121392
121392
  }
121393
- outro(import_picocolors4.default.green("oMoMoMoMo... Enjoy!"));
121393
+ outro(import_picocolors4.default.green("MaTrixOS... Enjoy!"));
121394
121394
  if (config.hasOpenCode && (config.hasClaude || config.hasGemini || config.hasCopilot) && !args.skipAuth) {
121395
121395
  const providers = [];
121396
121396
  if (config.hasClaude)
@@ -134035,7 +134035,7 @@ function formatStatusMark(available) {
134035
134035
  }
134036
134036
  function formatHeader() {
134037
134037
  return `
134038
- ${import_picocolors18.default.bgMagenta(import_picocolors18.default.white(" oMoMoMoMo Doctor "))}
134038
+ ${import_picocolors18.default.bgMagenta(import_picocolors18.default.white(" MaTrixOS Doctor "))}
134039
134039
  `;
134040
134040
  }
134041
134041
  function formatIssue(issue2, index) {
@@ -142282,7 +142282,7 @@ function configureRuntimeCommands(program2) {
142282
142282
  });
142283
142283
  process.exit(exitCode);
142284
142284
  });
142285
- program2.command("upstream").description("Upstream sync commands (read-only, NEVER auto-merge)").command("check").description("Fetch recent OMO releases and classify commits (merge | cherry-pick | manual | skip). Human decides.").option("--repo <owner/name>", "Override upstream repo (default: shirofx/MaTrixOS)").option("--token <token>", "GitHub token (default: $GITHUB_TOKEN)").option("--recent <n>", "Limit to N most recent releases", (v) => Number.parseInt(v, 10), 3).option("--json", "Output as JSON").action(async (options) => {
142285
+ program2.command("upstream").description("Upstream sync commands (read-only, NEVER auto-merge)").command("check").description("Fetch recent MaTrixOS releases and classify commits (merge | cherry-pick | manual | skip). Human decides.").option("--repo <owner/name>", "Override upstream repo (default: shirofx/MaTrixOS)").option("--token <token>", "GitHub token (default: $GITHUB_TOKEN)").option("--recent <n>", "Limit to N most recent releases", (v) => Number.parseInt(v, 10), 3).option("--json", "Output as JSON").action(async (options) => {
142286
142286
  const exitCode = await upstreamCheckCli({
142287
142287
  repo: options.repo,
142288
142288
  token: options.token,
@@ -142593,7 +142593,7 @@ program2.command("profile-create <name>").description("Create a new business pro
142593
142593
  process.stdout.write(result.stdout + `
142594
142594
  `);
142595
142595
  });
142596
- program2.command("migrate").description("Import an OMO config into MaTrixOS (scope minimal: known keys)").requiredOption("--from-omo <path>", "Path to the source omo.jsonc").option("--out <path>", "Target config path", "matrixos.jsonc").action(async (options) => {
142596
+ program2.command("migrate").description("Import a MaTrixOS config into MaTrixOS (scope minimal: known keys)").requiredOption("--from-omo <path>", "Path to the source omo.jsonc").option("--out <path>", "Target config path", "matrixos.jsonc").action(async (options) => {
142597
142597
  const { executeMigrateCommand: executeMigrateCommand2 } = await Promise.resolve().then(() => (init_migrate(), exports_migrate));
142598
142598
  const result = executeMigrateCommand2({ sourcePath: options.fromOmo }, options.out ?? "matrixos.jsonc");
142599
142599
  process.stdout.write(result.stdout + `
@@ -93,7 +93,7 @@ var MATRIX_FEATURES = [
93
93
  {
94
94
  id: "upstream-sync",
95
95
  name: "Upstream Sync",
96
- description: "Periodic comparison with upstream OMO releases, classified into merge/cherry-pick/skip recommendations.",
96
+ description: "Periodic comparison with upstream MaTrixOS releases, classified into merge/cherry-pick/skip recommendations.",
97
97
  enabledByDefault: false,
98
98
  status: "opt-in",
99
99
  userBenefit: "Stay current with upstream fixes without blindly auto-merging.",
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Upstream Sync (§4.10) — fetch OMO releases and classify commits.
2
+ * Upstream Sync (§4.10) — fetch MaTrixOS releases and classify commits.
3
3
  *
4
4
  * Per CDC §4.10: never auto-merge. This module is read-only:
5
5
  * - Fetches recent releases from the upstream repo
package/dist/index.js CHANGED
@@ -297678,7 +297678,7 @@ function updateMatrixosConfig(options) {
297678
297678
  writeAtomically(path28, nextContent, fileSystem);
297679
297679
  return backupPath === undefined ? { path: path28 } : { backupPath, path: path28 };
297680
297680
  }
297681
- var EMPTY_OMO_CONFIG = `// OMO configuration
297681
+ var EMPTY_OMO_CONFIG = `// MaTrixOS configuration
297682
297682
  {
297683
297683
  }
297684
297684
  `, FORMATTING_OPTIONS;
@@ -368023,7 +368023,7 @@ function getCachedVersion(options = {}) {
368023
368023
  // package.json
368024
368024
  var package_default = {
368025
368025
  name: "@kl-c/matrixos",
368026
- version: "0.1.39",
368026
+ version: "0.1.40",
368027
368027
  description: "MaTrixOS \u2014 Agentic OS for OpenCode. Personalizable, communicating, self-improving, resilient.",
368028
368028
  main: "./dist/index.js",
368029
368029
  types: "dist/index.d.ts",
@@ -368779,7 +368779,7 @@ function ignoreToastError(error) {
368779
368779
  async function showUpdateAvailableToast(ctx, latestVersion, getToastMessage) {
368780
368780
  await ctx.client.tui.showToast({
368781
368781
  body: {
368782
- title: `OhMyOpenCode ${latestVersion}`,
368782
+ title: `MaTrixOS ${latestVersion}`,
368783
368783
  message: getToastMessage(true, latestVersion),
368784
368784
  variant: "info",
368785
368785
  duration: 8000
@@ -368790,7 +368790,7 @@ async function showUpdateAvailableToast(ctx, latestVersion, getToastMessage) {
368790
368790
  async function showAutoUpdatedToast(ctx, oldVersion, newVersion) {
368791
368791
  await ctx.client.tui.showToast({
368792
368792
  body: {
368793
- title: "OhMyOpenCode Updated!",
368793
+ title: "MaTrixOS Updated!",
368794
368794
  message: `v${oldVersion} \u2192 v${newVersion}
368795
368795
  Restart OpenCode to apply.`,
368796
368796
  variant: "success",
@@ -369090,7 +369090,7 @@ async function showSpinnerToast(ctx, version, message) {
369090
369090
  const spinner = MORPHEUS_SPINNER[i % MORPHEUS_SPINNER.length];
369091
369091
  await ctx.client.tui.showToast({
369092
369092
  body: {
369093
- title: `${spinner} OhMyOpenCode ${version}`,
369093
+ title: `${spinner} MaTrixOS ${version}`,
369094
369094
  message,
369095
369095
  variant: "info",
369096
369096
  duration: frameInterval + 50
@@ -369152,8 +369152,8 @@ Morpheus pilote OpenCode.
369152
369152
  v${latestVersion} disponible. Red\xE9marre pour appliquer.` : `${brand}
369153
369153
  Morpheus pilote OpenCode.`;
369154
369154
  }
369155
- return isUpdate ? `OpenCode is now on Steroids. oMoMoMoMo...
369156
- v${latestVersion} available. Restart OpenCode to apply.` : "OpenCode is now on Steroids. oMoMoMoMo...";
369155
+ return isUpdate ? `OpenCode is now on Steroids. MaTrixOS...
369156
+ v${latestVersion} available. Restart OpenCode to apply.` : "OpenCode is now on Steroids. MaTrixOS...";
369157
369157
  };
369158
369158
  let hasChecked = false;
369159
369159
  let hasScheduled = false;
@@ -431108,7 +431108,7 @@ async function buildTheOracleAgentConfig(params) {
431108
431108
  mode: "primary",
431109
431109
  prompt: getTheOraclePrompt(resolvedModel, params.disabledTools),
431110
431110
  permission: THE_ORACLE_PERMISSION,
431111
- description: `${params.configAgentPlan?.description ?? "Plan agent"} (TheOracle - OhMyOpenCode)`,
431111
+ description: `${params.configAgentPlan?.description ?? "Plan agent"} (TheOracle - MaTrixOS)`,
431112
431112
  color: params.configAgentPlan?.color ?? "#FF5722",
431113
431113
  ...temperatureToUse !== undefined ? { temperature: temperatureToUse } : {},
431114
431114
  ...topPToUse !== undefined ? { top_p: topPToUse } : {},
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kl-c/matrixos",
3
- "version": "0.1.39",
3
+ "version": "0.1.40",
4
4
  "description": "MaTrixOS — Agentic OS for OpenCode. Personalizable, communicating, self-improving, resilient.",
5
5
  "main": "./dist/index.js",
6
6
  "types": "dist/index.d.ts",