@kl-c/matrixos 0.1.0 → 0.1.2

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/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # MaTrixOS
2
2
 
3
- > **Version:** 0.1.0 (Phase 7 — release-ready) | **License:** Proprietary KL-Consulting | **Repo:** private (`shirofx/MaTrixOS`)
3
+ > **Version:** 0.1.1 (Phase 7 — release-ready) | **License:** Proprietary KL-Consulting | **Repo:** private (`shirofx/MaTrixOS`)
4
4
 
5
5
  **MaTrixOS** is an agentic OS — an orchestration layer on top of [OpenCode](https://opencode.ai), built as a clean fork of [OMO (oh-my-openagent)](https://github.com/code-yeongyu/oh-my-openagent) v4.18.1. It extends OpenCode with **16 agents**, a **multi-platform messaging gateway** (Telegram / Discord / WhatsApp), a **business-profile system**, a **self-improvement learning loop**, and an **anti-loop watchdog** for resilience.
6
6
 
@@ -12,7 +12,11 @@ bunx @kl-c/matrixos install
12
12
 
13
13
  The interactive setup wizard walks you through provider selection, config generation, and OpenCode plugin registration.
14
14
 
15
- ## What's in v0.1.0
15
+ ### Runtime model (no separate platform binaries)
16
+
17
+ MaTrixOS does **not** publish per-platform binary packages (e.g. `@kl-c/matrixos-linux-x64`). The launcher (`bin/matrixos.js`) runs the bundled CLI directly via **bun** (falling back to **node** if bun is unavailable) from this package's `dist/cli/index.js`. This keeps `bunx @kl-c/matrixos install` fully self-contained — no extra native binary download required. Bun 1.3+ is the only runtime prerequisite.
18
+
19
+ ## What's in v0.1.1
16
20
 
17
21
  ### 16 agents
18
22
  **Morpheus** (orchestrator) · **Neo** (junior) · **Tank** · **The Oracle** · **The Keymaker** · **Agent Smith** · **The Operator** · **Ghost** · **Link** · **The Analyst** · **Trinity** (design) · **Cypher** (SEO/copy) · **Sentinel** (QA) · **Mouse** (docs) · **Dreamer** (memory) · **Architect** (self-improvement).
package/bin/matrixos.js CHANGED
@@ -5,7 +5,7 @@
5
5
  import { spawnSync } from "node:child_process";
6
6
  import { existsSync, readFileSync } from "node:fs";
7
7
  import { createRequire } from "node:module";
8
- import { basename } from "node:path";
8
+ import { basename, join } from "node:path";
9
9
  import { fileURLToPath } from "node:url";
10
10
  import {
11
11
  getPlatformPackageCandidates,
@@ -172,7 +172,34 @@ function main() {
172
172
  })
173
173
  .filter((entry) => entry !== null);
174
174
 
175
- if (resolvedBinaries.length === 0) {
175
+ if (resolvedBinaries.length === 0) {
176
+ // MaTrixOS runs without a separately-published platform binary:
177
+ // the bundled CLI (dist/cli/index.js) is launched via bun, the only
178
+ // supported runtime (see README "Runtime model").
179
+ const wrapperRoot = getWrapperPackageRoot();
180
+ const localCli = join(wrapperRoot, "dist", "cli", "index.js");
181
+
182
+ if (existsSync(localCli)) {
183
+ const fallbackEnv = {
184
+ ...process.env,
185
+ OMO_INVOCATION_NAME: invocationName,
186
+ OMO_WRAPPER_PACKAGE_ROOT: wrapperRoot,
187
+ };
188
+ const bunBinary = process.env.BUN_BINARY || "bun";
189
+ const bunResult = spawnSync(bunBinary, [localCli, ...process.argv.slice(2)], {
190
+ stdio: "inherit",
191
+ env: fallbackEnv,
192
+ });
193
+ if (!bunResult.error) {
194
+ if (bunResult.signal) process.exit(getSignalExitCode(bunResult.signal));
195
+ process.exit(bunResult.status ?? 1);
196
+ }
197
+ console.error(`\noh-my-opencode: bun is required to run MaTrixOS but was not found.`);
198
+ console.error(` Install bun (https://bun.sh): curl -fsSL https://bun.sh/install | bash\n`);
199
+ process.exit(2);
200
+ }
201
+
202
+
176
203
  console.error(`\noh-my-opencode: Platform binary not installed.`);
177
204
  console.error(`\nYour platform: ${platform}-${arch}${libcFamily === "musl" ? "-musl" : ""}`);
178
205
  console.error(`Expected packages (in order): ${packageCandidates.join(", ")}`);
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.0",
2148
+ version: "0.1.2",
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",
@@ -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.0",
2148
+ version: "0.1.2",
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",
package/dist/index.js CHANGED
@@ -367926,7 +367926,7 @@ function getCachedVersion(options = {}) {
367926
367926
  // package.json
367927
367927
  var package_default = {
367928
367928
  name: "@kl-c/matrixos",
367929
- version: "0.1.0",
367929
+ version: "0.1.2",
367930
367930
  description: "MaTrixOS \u2014 Agentic OS for OpenCode. Personalizable, communicating, self-improving, resilient.",
367931
367931
  main: "./dist/index.js",
367932
367932
  types: "dist/index.d.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kl-c/matrixos",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
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",