@kl-c/matrixos 0.3.20 → 0.3.22

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
@@ -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.20",
2166
+ version: "0.3.22",
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",
@@ -186830,6 +186830,14 @@ function createDataProvider(config5) {
186830
186830
  return result;
186831
186831
  },
186832
186832
  getModels() {
186833
+ try {
186834
+ const { execSync: execSync2 } = __require("child_process");
186835
+ const raw = execSync2("opencode models 2>/dev/null", { encoding: "utf-8", timeout: 1e4 });
186836
+ const parsed = raw.split(`
186837
+ `).map((l2) => l2.trim()).filter((l2) => l2.includes("/") && !l2.startsWith("[") && !l2.toLowerCase().includes("debug"));
186838
+ if (parsed.length > 0)
186839
+ return parsed;
186840
+ } catch {}
186833
186841
  return AVAILABLE_MODELS;
186834
186842
  },
186835
186843
  updateAgentModel(agentName, model) {
@@ -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.20",
2166
+ version: "0.3.22",
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",
@@ -186885,6 +186885,14 @@ function createDataProvider(config5) {
186885
186885
  return result;
186886
186886
  },
186887
186887
  getModels() {
186888
+ try {
186889
+ const { execSync: execSync2 } = __require("child_process");
186890
+ const raw = execSync2("opencode models 2>/dev/null", { encoding: "utf-8", timeout: 1e4 });
186891
+ const parsed = raw.split(`
186892
+ `).map((l2) => l2.trim()).filter((l2) => l2.includes("/") && !l2.startsWith("[") && !l2.toLowerCase().includes("debug"));
186893
+ if (parsed.length > 0)
186894
+ return parsed;
186895
+ } catch {}
186888
186896
  return AVAILABLE_MODELS;
186889
186897
  },
186890
186898
  updateAgentModel(agentName, model) {
@@ -223,6 +223,7 @@ body{font-family:var(--font-body);font-size:var(--text-base);color:var(--text-pr
223
223
  .agent-model-label{font-size:var(--text-xs);color:var(--text-tertiary)}
224
224
  .agent-model-select{flex:1;max-width:200px;padding:4px 6px;border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--bg-secondary);color:var(--text-primary);font-size:var(--text-xs);font-family:var(--font-mono);cursor:pointer}
225
225
  .agent-model-select:focus{outline:none;border-color:var(--accent-primary)}
226
+ .agent-model-select option{background:var(--bg-elevated);color:var(--text-primary)}
226
227
 
227
228
  @media(max-width:1024px){.kpi-grid,.grid-2{grid-template-columns:repeat(2,1fr)}.kanban-board{grid-template-columns:repeat(2,1fr)}.gauge-grid{grid-template-columns:repeat(2,1fr)}}
228
229
  @media(max-width:768px){.kpi-grid,.grid-2{grid-template-columns:1fr}.kanban-board{grid-template-columns:1fr}.agent-grid{grid-template-columns:1fr}}
@@ -28,8 +28,6 @@
28
28
  <a href="#" class="sidebar-item" data-tab="skills"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"><circle cx="8" cy="6" r="3"/><path d="M3 14c0-3 2.5-5 5-5s5 2 5 5"/></svg>Skills</a>
29
29
  <div class="sidebar-section">System</div>
30
30
  <a href="#" class="sidebar-item" data-tab="config"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"><rect x="2" y="2" width="12" height="12" rx="2"/><path d="M6 6h4M6 8h4M6 10h2"/></svg>Config</a>
31
- <a href="#" class="sidebar-item" data-tab="config"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"><path d="M12 8A4 4 0 114 8a4 4 0 018 0z"/><path d="M8 2v1M8 13v1M2 8h1M13 8h1"/></svg>Settings</a>
32
- <a href="#" class="sidebar-item" data-tab="logs"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"><path d="M9 2H4a1 1 0 00-1 1v10a1 1 0 001 1h8a1 1 0 001-1V7l-5-5z"/><path d="M9 2v5h5"/></svg>Audit Trail</a>
33
31
  </nav>
34
32
  <div class="sidebar-footer">
35
33
  <div class="sidebar-avatar">SM</div>
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.20",
368022
+ version: "0.3.22",
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kl-c/matrixos",
3
- "version": "0.3.20",
3
+ "version": "0.3.22",
4
4
  "description": "MaTrixOS \u2014 Agentic OS for OpenCode. Personalizable, communicating, self-improving, resilient.",
5
5
  "main": "./dist/index.js",
6
6
  "types": "dist/index.d.ts",