vibeostheog 0.25.15 → 0.25.17
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 +1 @@
|
|
|
1
|
-
window.__VIBEOS_DASHBOARD_BASE__ = "";
|
|
1
|
+
window.__VIBEOS_DASHBOARD_BASE__ = "http://127.0.0.1:58227";
|
package/dist/vibeOS.js
CHANGED
|
@@ -4476,8 +4476,10 @@ var DASHBOARD_DIR = resolveDashboardDir();
|
|
|
4476
4476
|
var DASHBOARD_CONFIG_PATH = join4(DASHBOARD_DIR, "vibeos-dashboard-config.js");
|
|
4477
4477
|
function writeDashboardBaseConfig(baseUrl) {
|
|
4478
4478
|
try {
|
|
4479
|
+
if (!baseUrl)
|
|
4480
|
+
return null;
|
|
4479
4481
|
mkdirSync3(DASHBOARD_DIR, { recursive: true });
|
|
4480
|
-
const payload = `window.__VIBEOS_DASHBOARD_BASE__ = ${JSON.stringify(
|
|
4482
|
+
const payload = `window.__VIBEOS_DASHBOARD_BASE__ = ${JSON.stringify(baseUrl.replace(/\/$/, ""))};
|
|
4481
4483
|
`;
|
|
4482
4484
|
writeFileSync4(DASHBOARD_CONFIG_PATH, payload, "utf-8");
|
|
4483
4485
|
return DASHBOARD_CONFIG_PATH;
|
|
@@ -15930,7 +15932,8 @@ async function ensureMcpServerRunning() {
|
|
|
15930
15932
|
const actualPort = Number(mcpServer?.address?.()?.port || requestedPort);
|
|
15931
15933
|
if (actualPort && actualPort !== requestedPort)
|
|
15932
15934
|
persistMcpPort(actualPort);
|
|
15933
|
-
|
|
15935
|
+
if (actualPort)
|
|
15936
|
+
writeDashboardBaseConfig(`http://127.0.0.1:${actualPort}`);
|
|
15934
15937
|
console.error(`[vibeOS] MCP server on http://127.0.0.1:${actualPort}`);
|
|
15935
15938
|
if (actualPort)
|
|
15936
15939
|
console.error(`[vibeOS] Dashboard at http://127.0.0.1:${actualPort}/`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vibeostheog",
|
|
3
|
-
"version": "0.25.
|
|
3
|
+
"version": "0.25.17",
|
|
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/scripts/deploy.mjs
CHANGED
|
@@ -17,7 +17,9 @@ function resolveOpenCodeHomes() {
|
|
|
17
17
|
const base = homedir()
|
|
18
18
|
const configHome = join(base, ".config", "opencode")
|
|
19
19
|
const dotHome = join(base, ".opencode")
|
|
20
|
-
|
|
20
|
+
const desktopHome = process.env.VIBEOS_OPENCODE_DESKTOP_HOME
|
|
21
|
+
|| (process.platform === "darwin" ? join(base, "Library", "Application Support", "ai.opencode.desktop") : null)
|
|
22
|
+
return [configHome, dotHome, desktopHome].filter(Boolean)
|
|
21
23
|
}
|
|
22
24
|
|
|
23
25
|
if (!existsSync(bundlePath)) {
|