vibeostheog 0.20.10 → 0.20.11
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/package.json +2 -2
- package/src/index.js +6 -2
- package/src/lib/pricing.js +3 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vibeostheog",
|
|
3
|
-
"version": "0.20.
|
|
3
|
+
"version": "0.20.11",
|
|
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",
|
|
@@ -89,4 +89,4 @@
|
|
|
89
89
|
"dependencies": {
|
|
90
90
|
"vibeoscore": "file:vibeoscore-1.0.2.tgz"
|
|
91
91
|
}
|
|
92
|
-
}
|
|
92
|
+
}
|
package/src/index.js
CHANGED
|
@@ -164,8 +164,12 @@ async function _seedModelTiersIfMissing(directory) {
|
|
|
164
164
|
const brain = ranked?.brain?.id || fallbackModel;
|
|
165
165
|
const medium = ranked?.medium?.id || brain;
|
|
166
166
|
const cheap = ranked?.cheap?.id || medium || brain;
|
|
167
|
-
if (!brain)
|
|
168
|
-
|
|
167
|
+
if (!brain) {
|
|
168
|
+
brain = "deepseek/deepseek-v4-pro";
|
|
169
|
+
medium = "deepseek/deepseek-v4-flash";
|
|
170
|
+
cheap = "deepseek/deepseek-chat";
|
|
171
|
+
console.error("[vibeOS] no providers detected — using default model tiers (brain=v4-pro, medium=v4-flash, cheap=v4-chat)");
|
|
172
|
+
}
|
|
169
173
|
const tiers = {
|
|
170
174
|
selection: {
|
|
171
175
|
enabled: true,
|
package/src/lib/pricing.js
CHANGED
|
@@ -281,8 +281,7 @@ export function formatUsd(v) {
|
|
|
281
281
|
// ── Free model exceptions ───────────────────────────────────────────
|
|
282
282
|
// Models with negligible per-turn cost (less than 2e-5 USD/turn).
|
|
283
283
|
// These skip enforcement entirely to avoid noise.
|
|
284
|
-
// deepseek-chat is
|
|
285
|
-
// No DeepSeek models are free. Only local models (Ollama) qualify.
|
|
284
|
+
// deepseek-chat is free with a DeepSeek API token — priced at $1e-12 (near-zero).
|
|
286
285
|
const FREE_MODEL_TURN_USD = 1e-10;
|
|
287
286
|
const FREE_MODELS = new Set([]);
|
|
288
287
|
// Approximate USD per typical ~1 K-token turn (blended input+output).
|
|
@@ -302,8 +301,8 @@ const MODEL_USD_PER_TURN = {
|
|
|
302
301
|
// ── DeepSeek (OC platform + OpenRouter) ──────────────────
|
|
303
302
|
"deepseek/deepseek-v4-pro": 0.00057,
|
|
304
303
|
"deepseek/deepseek-v4-flash": 0.000182,
|
|
305
|
-
"deepseek/deepseek-chat": 0.
|
|
306
|
-
"deepseek-chat": 0.
|
|
304
|
+
"deepseek/deepseek-chat": 0.000000000001,
|
|
305
|
+
"deepseek-chat": 0.000000000001,
|
|
307
306
|
"deepseek/deepseek-v3": 0.000182,
|
|
308
307
|
"deepseek/deepseek-r1": 0.00124,
|
|
309
308
|
"deepseek/deepseek-reasoner": 0.000182,
|