vibeostheog 0.25.43 → 0.25.45

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.
@@ -1 +1 @@
1
- window.__VIBEOS_DASHBOARD_BASE__ = "http://127.0.0.1:58212";
1
+ window.__VIBEOS_DASHBOARD_BASE__ = "http://127.0.0.1:61631";
package/dist/vibeOS.js CHANGED
@@ -7861,7 +7861,7 @@ function autoSelectMode2(subRegime, stressMultiplier) {
7861
7861
  return "audit";
7862
7862
  if (stress > QUALITY_STRESS_THRESHOLD2)
7863
7863
  return "quality";
7864
- return "vibelitex";
7864
+ return "quality";
7865
7865
  }
7866
7866
  function resolveOptimizationMode(subRegime, stressMultiplier, optimizationMode) {
7867
7867
  const normalized = String(optimizationMode || "auto").toLowerCase();
@@ -12428,6 +12428,8 @@ function syncControlSettings(cv, options = {}) {
12428
12428
  const OC_CONFIG = TRINITY_OPENCODE_CONFIG || join15(getOpenCodeHome(), "opencode.json");
12429
12429
  if (existsSync15(OC_CONFIG)) {
12430
12430
  const oc = safeJsonParse2(readFileSync14(OC_CONFIG, "utf-8"));
12431
+ if (!oc)
12432
+ return;
12431
12433
  if (oc.default_agent !== cv.agent_mode) {
12432
12434
  if (cv.agent_mode === "plan" && oc.default_agent && oc.default_agent !== "plan") {
12433
12435
  writeSelection("previous_default_agent", oc.default_agent);
@@ -12443,6 +12445,8 @@ function syncControlSettings(cv, options = {}) {
12443
12445
  const OC_CONFIG = TRINITY_OPENCODE_CONFIG || join15(getOpenCodeHome(), "opencode.json");
12444
12446
  if (existsSync15(OC_CONFIG)) {
12445
12447
  const oc = safeJsonParse2(readFileSync14(OC_CONFIG, "utf-8"));
12448
+ if (!oc)
12449
+ return;
12446
12450
  const restoreAgent = oc.default_agent === "plan" ? resolveRestorableOpenCodeAgent(currentSel) : null;
12447
12451
  if (restoreAgent && oc.default_agent === "plan") {
12448
12452
  oc.default_agent = restoreAgent;
@@ -12486,7 +12490,10 @@ function compressToolOutputs(messages) {
12486
12490
  let compressedBytes = 0;
12487
12491
  const hotStart = Math.max(0, messages.length - KEEP_HOT);
12488
12492
  for (let i = 0; i < messages.length; i++) {
12489
- const { info, parts } = messages[i];
12493
+ const msg = messages[i];
12494
+ if (!msg || typeof msg !== "object")
12495
+ continue;
12496
+ const { info, parts } = msg;
12490
12497
  if (!Array.isArray(parts))
12491
12498
  continue;
12492
12499
  const isCold = i < hotStart;
@@ -12552,7 +12559,10 @@ ${stableJson(invPart.state.input)}
12552
12559
  }
12553
12560
  function injectWBP(messages) {
12554
12561
  for (let i = 0; i < messages.length - 1; i++) {
12555
- const { info, parts } = messages[i];
12562
+ const msg = messages[i];
12563
+ if (!msg || typeof msg !== "object")
12564
+ continue;
12565
+ const { info, parts } = msg;
12556
12566
  if (!Array.isArray(parts))
12557
12567
  continue;
12558
12568
  const hasTask = parts.some((p) => p?.type === "tool" && p?.tool === "task" && p?.state?.status === "completed");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vibeostheog",
3
- "version": "0.25.43",
3
+ "version": "0.25.45",
4
4
  "description": "Cost-aware delegation enforcer for OpenCode. Tracks model usage, routes Task subagents to cheaper tiers, surfaces cumulative savings in chat. Includes research audit, reporting framework, project memory, progressive scratchpad decadence, and trinity CLI for brain/medium/cheap slot switching.",
5
5
  "scripts": {
6
6
  "release": "node scripts/release.mjs",
@@ -92,4 +92,4 @@
92
92
  "express": "^5.2.1",
93
93
  "typescript": "^5.9.3"
94
94
  }
95
- }
95
+ }