vibeostheog 0.25.17 → 0.25.18

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,7 @@
1
+ ## 0.25.18
2
+ - fix: install vibeOS with absolute opencode paths
3
+
4
+
1
5
  ## 0.25.17
2
6
  - chore: v0.25.16
3
7
  Revert "Remove local dashboard base stamp"
@@ -1 +1 @@
1
- window.__VIBEOS_DASHBOARD_BASE__ = "http://127.0.0.1:58227";
1
+ window.__VIBEOS_DASHBOARD_BASE__ = "";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vibeostheog",
3
- "version": "0.25.17",
3
+ "version": "0.25.18",
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",
@@ -104,6 +104,7 @@ try {
104
104
  try {
105
105
  for (const home of resolveOpenCodeHomes()) {
106
106
  const ocConfigPath = join(home, "opencode.json")
107
+ const pluginRef = join(home, "plugins", "vibeOS.js")
107
108
  mkdirSync(dirname(ocConfigPath), { recursive: true })
108
109
  let config = {}
109
110
  if (existsSync(ocConfigPath)) {
@@ -117,13 +118,12 @@ try {
117
118
  }
118
119
  if (!config || typeof config !== "object" || Array.isArray(config)) config = {}
119
120
  if (!Array.isArray(config.plugin)) config.plugin = []
120
- const hasVibeOs = config.plugin.some(p => typeof p === "string" && p.includes("vibeOS"))
121
- if (!hasVibeOs) {
122
- config.$schema ||= "https://opencode.ai/config.json"
123
- config.plugin.push("./plugins/vibeOS.js")
124
- writeFileSync(ocConfigPath, JSON.stringify(config, null, 2) + "\n")
125
- process.stderr.write(`[vibeOS deploy] Registered vibeOS in ${home}/opencode.json\n`)
126
- }
121
+ const filtered = config.plugin.filter((p) => !(typeof p === "string" && p.includes("vibeOS")))
122
+ filtered.push(pluginRef)
123
+ config.$schema ||= "https://opencode.ai/config.json"
124
+ config.plugin = filtered
125
+ writeFileSync(ocConfigPath, JSON.stringify(config, null, 2) + "\n")
126
+ process.stderr.write(`[vibeOS deploy] Registered vibeOS in ${home}/opencode.json\n`)
127
127
  }
128
128
  } catch {
129
129
  process.stderr.write("[vibeOS deploy] Could not auto-register in opencode.json (plugin may need manual config)\n")