vibeostheog 0.25.39 → 0.25.40
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,11 @@
|
|
|
1
|
+
## 0.25.40
|
|
2
|
+
- fix: ML trigger cascade now maps brain to TRINITY_BRAIN, lowers override threshold to 0.7, allows graph prediction override (#255)
|
|
3
|
+
- fix: proper env-isolated contract tests for setup.js bin (#254) (#254)
|
|
4
|
+
- fix: remove duplicate prompt - npx is the single permission gate (#253)
|
|
5
|
+
- fix: update usage line to recommend npx -y (#252) (#252)
|
|
6
|
+
- fix: add permission prompt to setup.js + contract tests for install flow (#251) (#251)
|
|
7
|
+
|
|
8
|
+
|
|
1
9
|
## 0.25.39
|
|
2
10
|
- fix: remove duplicate prompt - npx is the single permission gate (#253)
|
|
3
11
|
- fix: update usage line to recommend npx -y (#252) (#252)
|
package/bin/setup.js
CHANGED
|
@@ -4,7 +4,7 @@ import { execSync } from "node:child_process";
|
|
|
4
4
|
import { readFileSync, writeFileSync, existsSync, mkdirSync } from "node:fs";
|
|
5
5
|
import { dirname, resolve } from "node:path";
|
|
6
6
|
import { fileURLToPath } from "node:url";
|
|
7
|
-
import { resolveOpenCodeHomes } from "../scripts/lib/opencode-homes.mjs";
|
|
7
|
+
import { resolveOpenCodeHome, resolveOpenCodeHomes } from "../scripts/lib/opencode-homes.mjs";
|
|
8
8
|
|
|
9
9
|
const __dirname = dirname(fileURLToPath(import.meta.url));
|
|
10
10
|
const root = resolve(__dirname, "..");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
window.__VIBEOS_DASHBOARD_BASE__ = "http://127.0.0.1:
|
|
1
|
+
window.__VIBEOS_DASHBOARD_BASE__ = "http://127.0.0.1:34563";
|
package/dist/vibeOS.js
CHANGED
|
@@ -15366,7 +15366,7 @@ ${argsJson}
|
|
|
15366
15366
|
const mlHash = hashQuery(_prompt);
|
|
15367
15367
|
const mlGraphPrediction = predictBestModel(_mlGraph, _firstWord2, currentTier);
|
|
15368
15368
|
if (mlDifficulty.confidence >= ML_CONFIDENCE_THRESHOLD && mlDifficulty.level !== "moderate") {
|
|
15369
|
-
const mlTarget = mlDifficulty.suggestedTier === "cheap" ? TRINITY_CHEAP : mlDifficulty.suggestedTier === "medium" ? TRINITY_MEDIUM : null;
|
|
15369
|
+
const mlTarget = mlDifficulty.suggestedTier === "cheap" ? TRINITY_CHEAP : mlDifficulty.suggestedTier === "medium" ? TRINITY_MEDIUM : mlDifficulty.suggestedTier === "brain" ? TRINITY_BRAIN : null;
|
|
15370
15370
|
if (mlTarget && mlTarget !== currentModel) {
|
|
15371
15371
|
const tierRank = { budget: 0, cheap: 1, mid: 2, medium: 2, high: 3, brain: 3 };
|
|
15372
15372
|
const mlRank = tierRank[mlDifficulty.suggestedTier] || 0;
|
|
@@ -15374,7 +15374,7 @@ ${argsJson}
|
|
|
15374
15374
|
if (!_target) {
|
|
15375
15375
|
_target = mlTarget;
|
|
15376
15376
|
console.error(`[vibeOS] \u{1F9E0} ML difficulty: ${mlDifficulty.level} (score ${mlDifficulty.score.toFixed(2)}, conf ${mlDifficulty.confidence.toFixed(2)}) \u2192 ${mlTarget}`);
|
|
15377
|
-
} else if (mlRank > curRank && mlDifficulty.confidence >= 0.
|
|
15377
|
+
} else if (mlRank > curRank && mlDifficulty.confidence >= 0.7) {
|
|
15378
15378
|
_target = mlTarget;
|
|
15379
15379
|
console.error(`[vibeOS] \u{1F9E0} ML upgrade: ${mlDifficulty.level} (score ${mlDifficulty.score.toFixed(2)}, conf ${mlDifficulty.confidence.toFixed(2)}) \u2192 ${mlTarget}`);
|
|
15380
15380
|
}
|
|
@@ -15383,10 +15383,8 @@ ${argsJson}
|
|
|
15383
15383
|
if (mlGraphPrediction && mlGraphPrediction !== currentModel) {
|
|
15384
15384
|
const graphNode = _mlGraph.nodes[_firstWord2];
|
|
15385
15385
|
if (graphNode && graphNode.count >= 3) {
|
|
15386
|
-
|
|
15387
|
-
|
|
15388
|
-
console.error(`[vibeOS] \u{1F578} ML graph: ${_firstWord2} \u2192 ${mlGraphPrediction} (${graphNode.count} samples)`);
|
|
15389
|
-
}
|
|
15386
|
+
_target = mlGraphPrediction;
|
|
15387
|
+
console.error(`[vibeOS] \u{1F578} ML graph: ${_firstWord2} \u2192 ${mlGraphPrediction} (${graphNode.count} samples)`);
|
|
15390
15388
|
}
|
|
15391
15389
|
}
|
|
15392
15390
|
if (_target) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vibeostheog",
|
|
3
|
-
"version": "0.25.
|
|
3
|
+
"version": "0.25.40",
|
|
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",
|