vibeostheog 0.22.16 → 0.22.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
@@ -2,7 +2,7 @@
2
2
 
3
3
  - test: add 12 cache isolation scenarios (no cross-session/project hallucination)
4
4
  - test: add 3 regression tests for setApiToken fallback-mode reset
5
- - chore: remove codex branding
5
+ - chore: remove old branding from guard plugin
6
6
 
7
7
  ## 0.22.15
8
8
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vibeostheog",
3
- "version": "0.22.16",
3
+ "version": "0.22.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",
@@ -195,7 +195,8 @@ export function createTrinityTool(deps) {
195
195
  const allEntries = [...BRANDED_MODES, ...RUNTIME_MODES];
196
196
  const modeEntry = allEntries.find(e => e.id === slot);
197
197
  if (modeEntry) {
198
- const tierSlot = modeEntry.pipeline[0] || "cheap";
198
+ const rawTier = modeEntry.pipeline[0] || "cheap";
199
+ const tierSlot = new Set(["brain", "medium", "cheap"]).has(rawTier) ? rawTier : "cheap";
199
200
  deps.writeSelection("active_slot", tierSlot);
200
201
  deps.writeSelection("onboarding_mode", modeEntry.tdd === "quality" || modeEntry.enforcement === "strict" ? "strict" : "assist");
201
202
  deps.writeSelection("delegation_enforce", modeEntry.enforcement === "strict" || modeEntry.enforcement === "on");