vibeostheog 0.25.3 → 0.25.4
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,9 @@
|
|
|
1
|
+
## 0.25.4
|
|
2
|
+
- fix: isApiConnected() self-heals after cooldown without remoteCall()
|
|
3
|
+
- fix: API reconnection cooldown never reset runtime-state, causing permanent offline status
|
|
4
|
+
Merge pull request #183 from DrunkkToys/fix/api-reconnection-cooldown
|
|
5
|
+
|
|
6
|
+
|
|
1
7
|
## 0.25.3
|
|
2
8
|
- fix: model lock now blocks auto-reconcile and cascade slot rewrites
|
|
3
9
|
- fix: reduce pattern learner noise with self-pair exclusion, sessions threshold, quality gate (#171)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
window.__VIBEOS_DASHBOARD_BASE__ = "http://127.0.0.1:
|
|
1
|
+
window.__VIBEOS_DASHBOARD_BASE__ = "http://127.0.0.1:55477";
|
package/dist/vibeOS.js
CHANGED
|
@@ -5216,6 +5216,19 @@ var _apiFallbackSince = null;
|
|
|
5216
5216
|
var _bootstrapExchangeInFlight = null;
|
|
5217
5217
|
var _bootstrapExchangeFailedAt = 0;
|
|
5218
5218
|
var _backendVersion = "";
|
|
5219
|
+
var FALLBACK_COOLDOWN_MS = 6e4;
|
|
5220
|
+
function tryResetFallbackCooldown() {
|
|
5221
|
+
if (!_apiFallbackMode || !_apiFallbackSince)
|
|
5222
|
+
return false;
|
|
5223
|
+
const elapsed = Date.now() - new Date(_apiFallbackSince).getTime();
|
|
5224
|
+
if (elapsed > FALLBACK_COOLDOWN_MS) {
|
|
5225
|
+
_apiFallbackMode = false;
|
|
5226
|
+
_apiFallbackSince = null;
|
|
5227
|
+
markApiConnected();
|
|
5228
|
+
return true;
|
|
5229
|
+
}
|
|
5230
|
+
return false;
|
|
5231
|
+
}
|
|
5219
5232
|
function recordBackendVersion(payload) {
|
|
5220
5233
|
if (!payload || typeof payload !== "object")
|
|
5221
5234
|
return;
|
|
@@ -5329,6 +5342,7 @@ function isApiFallback2() {
|
|
|
5329
5342
|
return _apiFallbackMode || !VIBEOS_API_ENABLED;
|
|
5330
5343
|
}
|
|
5331
5344
|
function isApiConnected2() {
|
|
5345
|
+
tryResetFallbackCooldown();
|
|
5332
5346
|
return isApiConnected() && VIBEOS_API_ENABLED && !_apiFallbackMode;
|
|
5333
5347
|
}
|
|
5334
5348
|
function getBackendVersion() {
|
|
@@ -5340,14 +5354,8 @@ async function remoteCall(method, args, fallbackFn) {
|
|
|
5340
5354
|
await ensureBootstrapExchange();
|
|
5341
5355
|
syncApiTokenFromDisk();
|
|
5342
5356
|
}
|
|
5343
|
-
if (
|
|
5344
|
-
|
|
5345
|
-
if (elapsed > 6e4) {
|
|
5346
|
-
_apiFallbackMode = false;
|
|
5347
|
-
_apiFallbackSince = null;
|
|
5348
|
-
markApiConnected();
|
|
5349
|
-
console.warn("[vibeOS] API fallback cooldown expired \u2014 retrying API");
|
|
5350
|
-
}
|
|
5357
|
+
if (tryResetFallbackCooldown()) {
|
|
5358
|
+
console.warn("[vibeOS] API fallback cooldown expired \u2014 retrying API");
|
|
5351
5359
|
}
|
|
5352
5360
|
if (!VIBEOS_API_ENABLED || _apiFallbackMode) {
|
|
5353
5361
|
if (fallbackFn)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vibeostheog",
|
|
3
|
-
"version": "0.25.
|
|
3
|
+
"version": "0.25.4",
|
|
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",
|