vibeostheog 0.23.26 → 0.23.27

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.27
2
+ - fix: ML-chosen optimization_mode dances in footer + → arrow
3
+
4
+
1
5
  ## 0.23.26
2
6
  - fix: footer primary tier = ML decision (vector_changed_slot), ✓ when applied
3
7
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vibeostheog",
3
- "version": "0.23.26",
3
+ "version": "0.23.27",
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",
@@ -207,9 +207,8 @@ export function syncControlSettings(cv, options = {}) {
207
207
  if (cv.thinking_mode && currentSel.thinking_level !== "full")
208
208
  writeIf("thinking_level", cv.thinking_mode);
209
209
  if (persistOptimizationMode && cv.optimization_mode && userOptMode !== "auto") {
210
- if (userOptMode !== cv.optimization_mode && !userSetMode) {
211
- writeSessionSlot(sid + "_opt", cv.optimization_mode);
212
- saveOptimizationMode(cv.optimization_mode);
210
+ if (userOptMode !== cv.optimization_mode) {
211
+ writeIf("optimization_mode", cv.optimization_mode);
213
212
  }
214
213
  }
215
214
  const slot = cv.tier_bias;
@@ -297,30 +297,14 @@ async function _appendFooter(input, output, directory) {
297
297
  if (isApiConnected()) {
298
298
  vibeLine += ` | ${vibeBrand}${flashIcon}`;
299
299
  }
300
- try {
301
- const sel = loadSelection();
302
- const realSlot = sel?.active_slot || "brain";
303
- const wantedSlot = sel?.vector_changed_slot;
304
- if (wantedSlot) {
305
- if (wantedSlot !== realSlot) {
306
- vibeLine += ` | \u2192 ${wantedSlot}`;
307
- } else {
308
- vibeLine += ` | \u2713`;
309
- }
310
- }
300
+ const displayMode = selNowFooter?.optimization_mode || optMode || "auto";
301
+ if (displayMode && displayMode !== "auto") {
302
+ vibeLine += ` | ${displayMode}`;
311
303
  }
312
- catch { }
313
- try {
314
- const sel = loadSelection();
315
- if (sel?.vector_changed_slot) {
316
- if (sel.vector_changed_slot !== activeSlot) {
317
- vibeLine += ` | → ${sel.vector_changed_slot}`;
318
- } else {
319
- vibeLine += ` | ✓`;
320
- }
321
- }
304
+ if (selNowFooter?.vector_changed_slot) {
305
+ vibeLine += ` | → ${selNowFooter.vector_changed_slot}`;
322
306
  }
323
- catch { }
307
+
324
308
  const footerText = stripped + `\n\n${vibeLine} —`;
325
309
  if (_blackboxEnabled) {
326
310
  try {