vibeostheog 0.23.22 → 0.23.23

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/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.23.23
2
+ - fix: apiComputeControlVector overrides server tier_bias with local regime-driven value
3
+
4
+
1
5
  ## 0.23.22
2
6
  - fix: whitespace in vector_changed indicator (→ cheap)
3
7
  v0.23.21: Split saveOptimizationMode try-catch — global save survives session write failures
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vibeostheog",
3
- "version": "0.23.22",
3
+ "version": "0.23.23",
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",
@@ -47,8 +47,10 @@ const correctionSeenKeys = new Set();
47
47
  async function apiComputeControlVector(state, action, optimizationMode) {
48
48
  try {
49
49
  const res = await remoteCall("blackboxControlVector", [state, action, optimizationMode], null);
50
- if (res?.control_vector)
51
- return res.control_vector;
50
+ if (res?.control_vector) {
51
+ const local = computeControlVector(state, action, optimizationMode);
52
+ return { ...res.control_vector, tier_bias: local.tier_bias };
53
+ }
52
54
  }
53
55
  catch { }
54
56
  return computeControlVector(state, action, optimizationMode);