vibeostheog 0.15.8 → 0.15.9
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 +4 -0
- package/package.json +1 -1
- package/src/index.js +8 -0
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vibeostheog",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.9",
|
|
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/src/index.js
CHANGED
|
@@ -3510,6 +3510,14 @@ if (!_envToken2) {
|
|
|
3510
3510
|
} catch {
|
|
3511
3511
|
}
|
|
3512
3512
|
}
|
|
3513
|
+
if (!_envToken2) {
|
|
3514
|
+
try {
|
|
3515
|
+
const env = readFileSync5(join6(homedir5(), ".claude", ".env.production"), "utf8");
|
|
3516
|
+
const m = env.match(/^VIBEOS_API_TOKEN=(.+)$/m);
|
|
3517
|
+
if (m) _envToken2 = m[1].trim();
|
|
3518
|
+
} catch {
|
|
3519
|
+
}
|
|
3520
|
+
}
|
|
3513
3521
|
var VIBEOS_API_TOKEN = process.env.VIBEOS_API_TOKEN || _envToken2 || "";
|
|
3514
3522
|
var VIBEOS_API_ENABLED = process.env.VIBEOS_API_ENABLED !== "false" && !!VIBEOS_API_TOKEN;
|
|
3515
3523
|
var _apiClient = null;
|