vibeostheog 0.23.20 → 0.23.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/CHANGELOG.md +6 -0
- package/package.json +1 -1
- package/src/lib/hooks/footer.js +1 -1
- package/src/lib/turn-classify.js +8 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
## 0.23.22
|
|
2
|
+
- fix: whitespace in vector_changed indicator (→ cheap)
|
|
3
|
+
v0.23.21: Split saveOptimizationMode try-catch — global save survives session write failures
|
|
4
|
+
v0.23.20: Fix chooseEpisodeMode overwriting branded modes with quality
|
|
5
|
+
|
|
6
|
+
|
|
1
7
|
## 0.23.19
|
|
2
8
|
- fix: ML-driven footer + 16 integration tests guarding blackbox, CV vectors, and tier pipeline
|
|
3
9
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vibeostheog",
|
|
3
|
-
"version": "0.23.
|
|
3
|
+
"version": "0.23.22",
|
|
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",
|
package/src/lib/hooks/footer.js
CHANGED
|
@@ -306,7 +306,7 @@ async function _appendFooter(input, output, directory) {
|
|
|
306
306
|
try {
|
|
307
307
|
const sel = loadSelection();
|
|
308
308
|
if (sel?.vector_changed_slot && sel?.vector_changed_at && (Date.now() - sel.vector_changed_at < 60000)) {
|
|
309
|
-
vibeLine += ` |
|
|
309
|
+
vibeLine += ` | → ${sel.vector_changed_slot}`;
|
|
310
310
|
}
|
|
311
311
|
}
|
|
312
312
|
catch { }
|
package/src/lib/turn-classify.js
CHANGED
|
@@ -67,6 +67,7 @@ export function bootstrapOptimizationSession() {
|
|
|
67
67
|
return { mode: resolvedMode, slot: resolvedSlot };
|
|
68
68
|
}
|
|
69
69
|
export async function selectOptimizationModeRemote(subRegime, stressMultiplier, fallbackMode) {
|
|
70
|
+
if (!isApiFallback()) return autoSelectMode(subRegime || "INIT", stressMultiplier);
|
|
70
71
|
const fallback = resolveOptimizationMode(subRegime, stressMultiplier, fallbackMode);
|
|
71
72
|
try {
|
|
72
73
|
if (!isApiFallback()) {
|
|
@@ -576,12 +577,17 @@ export function loadOptimizationMode() {
|
|
|
576
577
|
export function saveOptimizationMode(mode) {
|
|
577
578
|
try {
|
|
578
579
|
writeSessionOptMode(_OC_SID, mode);
|
|
580
|
+
}
|
|
581
|
+
catch (e) {
|
|
582
|
+
console.error("[vibeOS] saveOptimizationMode session write failed: " + e.message);
|
|
583
|
+
}
|
|
584
|
+
try {
|
|
579
585
|
if (mode && mode !== "auto")
|
|
580
586
|
saveGlobalOptMode(mode);
|
|
581
587
|
return true;
|
|
582
588
|
}
|
|
583
|
-
catch (
|
|
584
|
-
console.error("[vibeOS] saveOptimizationMode failed: " +
|
|
589
|
+
catch (e) {
|
|
590
|
+
console.error("[vibeOS] saveOptimizationMode global write failed: " + e.message);
|
|
585
591
|
return false;
|
|
586
592
|
}
|
|
587
593
|
}
|