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,3 +1,12 @@
1
+ ## 0.25.17
2
+ - chore: v0.25.16
3
+ Revert "Remove local dashboard base stamp"
4
+
5
+
6
+ ## 0.25.16
7
+ - chore: patch release bump
8
+
9
+
1
10
  ## 0.25.15
2
11
  - fix: restore M1 installer deploy
3
12
  Remove local dashboard base stamp
@@ -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((baseUrl || "").replace(/\/$/, ""))};
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
- writeDashboardBaseConfig(process.env.VIBEOS_DASHBOARD_BASE_URL?.trim() || "");
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.15",
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",
@@ -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
- return [configHome, dotHome]
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)) {