vibeostheog 0.25.25 → 0.25.26

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:37161";
1
+ window.__VIBEOS_DASHBOARD_BASE__ = "http://127.0.0.1:56848";
package/dist/vibeOS.js CHANGED
@@ -2697,7 +2697,7 @@ var init_state = __esm({
2697
2697
  }
2698
2698
  })();
2699
2699
  VIBEOS_CONTEXT = new AsyncLocalStorage();
2700
- VIBEOS_HOME = process.env.VIBEOS_HOME || join2(USER_HOME2, ".claude");
2700
+ VIBEOS_HOME = process.env.VIBEOS_HOME || join2(process.env.HOME || USER_HOME2, ".claude");
2701
2701
  OPENCODE_HOME = resolveOpenCodeHome();
2702
2702
  FILE_LOCK_DIR = join2(VIBEOS_HOME, ".vibeOS-locks");
2703
2703
  DELEGATION_STATE_FILE = join2(VIBEOS_HOME, "delegation-state.json");
@@ -2817,8 +2817,8 @@ var init_state = __esm({
2817
2817
  }
2818
2818
  });
2819
2819
  _startupMaintenanceHome = "";
2820
- FALLBACK_HIGH = /opus|gemini-.*-pro|deepseek\/deepseek-v4-pro|\bdeepseek-v4-pro\b|gpt-5|(^|\/)o[134]($|-|\/)/i;
2821
- FALLBACK_MID = /deepseek\/deepseek-v4-flash|\bdeepseek-v4-flash\b|claude.*sonnet|gemini-.*-flash|gpt-4o(?!-mini)/i;
2820
+ FALLBACK_HIGH = /opus|gemini-.*-pro|gpt-5|(^|\/)o[134]($|-|\/)|claude.*opus|reasoner|r1/i;
2821
+ FALLBACK_MID = /sonnet|gemini-.*-flash|gpt-4o(?!-mini)|haiku|flash|4o/i;
2822
2822
  ({ high: HIGH_TIER_RE, mid: MID_TIER_RE } = loadTierRegexes());
2823
2823
  loadMLState();
2824
2824
  scratchpadHitsSeen = /* @__PURE__ */ new Set();
@@ -6820,7 +6820,6 @@ function applySlot2(slot, projectDir = "") {
6820
6820
  oc.model = ocModel;
6821
6821
  writeFileSync6(ocConfig, JSON.stringify(oc, null, 2) + "\n");
6822
6822
  }
6823
- clearWorkspaceFollowupPauseForSession(getCurrentSessionId());
6824
6823
  _refreshModel(dir);
6825
6824
  return { ok: true, ocModel };
6826
6825
  });
@@ -7746,20 +7745,34 @@ function isLikelyOffTopic(userText, job) {
7746
7745
 
7747
7746
  // src/lib/turn-classify.js
7748
7747
  init_vibeultrax();
7748
+ var _lastClassifiedByApi = false;
7749
7749
  function classifyTurnSimple2(userText) {
7750
7750
  return classifyTurnSimple(userText);
7751
7751
  }
7752
7752
  async function classifyTurnRemote(text) {
7753
7753
  try {
7754
7754
  const client2 = getApiClient2();
7755
- if (!client2 || isApiFallback2())
7755
+ if (!client2 || isApiFallback2()) {
7756
+ _lastClassifiedByApi = false;
7756
7757
  return classifyTurnSimple(text);
7757
- const res = await client2.classifyQuery(text);
7758
+ }
7759
+ const res = await client2.blackboxAnalyze(_OC_SID, {
7760
+ session_id: _OC_SID,
7761
+ project_id: currentProjectFingerprint || null,
7762
+ userText: text,
7763
+ lastRegime: null,
7764
+ lastIntent: "",
7765
+ lastAction: "",
7766
+ stress: 0,
7767
+ state: {}
7768
+ });
7758
7769
  if (res && typeof res === "object" && "sub_regime" in res) {
7770
+ _lastClassifiedByApi = true;
7759
7771
  return res.sub_regime;
7760
7772
  }
7761
7773
  } catch {
7762
7774
  }
7775
+ _lastClassifiedByApi = false;
7763
7776
  return classifyTurnSimple(text);
7764
7777
  }
7765
7778
  function getVibeOSHome5() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vibeostheog",
3
- "version": "0.25.25",
3
+ "version": "0.25.26",
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",