vibeostheog 0.20.0 → 0.20.1

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.20.1
2
+ - docs: rename blackbox to VibeBoX and document local fallback features
3
+
4
+
1
5
  ## 0.20.0
2
6
  - fix: resolve live OpenCode model and refresh README launch copy
3
7
  Merge pull request #61 from DrunkkToys/codex/release-candidate-blackbox-footer
package/README.md CHANGED
@@ -4,16 +4,42 @@
4
4
 
5
5
  vibeOS is the cost-aware control plane for OpenCode Desktop. It helps individuals and teams keep expensive models focused on strategy, move implementation work to cheaper tiers, and make the resulting savings visible in real time through the live footer and dashboard.
6
6
 
7
- For teams, vibeOS adds practical guardrails: delegation enforcement, flow and TDD controls, pattern learning, stress-aware routing, blackbox decision tracking, reporting, and remote API protection for the core algorithms.
7
+ For teams, vibeOS adds practical guardrails: delegation enforcement, flow and TDD controls, pattern learning, stress-aware routing, VibeBoX decision tracking, reporting, and remote API protection for the core algorithms.
8
8
 
9
9
  ## What We Offer
10
10
 
11
11
  - Model routing that matches the job to the right provider and tier
12
12
  - Live savings visibility in chat, the footer, and the web dashboard
13
13
  - Separate tracking for delegation savings and cache savings
14
- - Runtime controls for flow, TDD, model locking, and blackbox mode
14
+ - Runtime controls for flow, TDD, model locking, and VibeBoX mode
15
15
  - A local fallback path if the remote API is unavailable
16
16
 
17
+ ## Local Fallback Mode
18
+
19
+ Without a token, vibeOS keeps running in local-only mode with bundled algorithms. Here's what works locally versus what requires the remote API.
20
+
21
+ ### Fully Functional Locally
22
+
23
+ - Model tier classification (brain / medium / cheap)
24
+ - Static pricing for ~20 common models
25
+ - Stress scoring, context budget estimation, and turn classification
26
+ - TDD skeleton generation, text compression, and flow enforcement
27
+ - Savings ledger, session metrics, reports, and footer/dashboard rendering
28
+ - Session-scoped smart cache for duplicate tool output detection
29
+
30
+ ### Requires Remote API
31
+
32
+ - Bootstrap token exchange (required for initial API setup)
33
+ - Advanced VibeBoX decision engine with full session history tracking
34
+ - Dynamic per-prompt delegation decisions (local fallback uses a safe "block all writes on high tier" default)
35
+ - Learned subagent routing patterns across projects (local fallback uses a static exploratory keyword list)
36
+ - Optimization mode selection via advanced VibeBoX (local fallback uses rule-based selection)
37
+ - Aggregated cross-session calibration and model retraining
38
+ - Live pricing fetch for models beyond the hardcoded map
39
+
40
+ When the remote API is unreachable, the plugin degrades gracefully to rule-based local algorithms. Core enforcement features continue working — the plugin stays functional and safe, just less adaptive in its routing and mode decisions.
41
+
42
+
17
43
  ## Install
18
44
 
19
45
  ### OpenCode plugin
@@ -83,7 +109,7 @@ The most common controls are:
83
109
  - `trinity patterns` / `trinity patterns clear` - inspect or reset learned patterns
84
110
  - `trinity diagnose` - run a health check
85
111
  - `trinity repair-state preview|apply` - fix state fingerprint collisions
86
- - `trinity blackbox on|off|status|reset` - control the decision engine
112
+ - `trinity VibeBoX on|off|status|reset` - control the decision engine
87
113
  - `trinity guard` - refresh AGENTS.md and README.md checks
88
114
  - `trinity api-token <token>` - update the remote API token
89
115
  - `trinity api-bootstrap-token <token>` - store an alpha bootstrap token and exchange it for a normal API token on alpha builds
package/package.json CHANGED
@@ -1,13 +1,14 @@
1
1
  {
2
2
  "name": "vibeostheog",
3
- "version": "0.20.0",
3
+ "version": "0.20.1",
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",
7
7
  "release:patch": "node scripts/release.mjs patch --yes",
8
8
  "release:minor": "node scripts/release.mjs minor --yes",
9
9
  "release:major": "node scripts/release.mjs major --yes",
10
- "build": "tsc -p tsconfig.json --noEmit && npx esbuild src/index.ts --bundle --outfile=src/index.js --platform=node --format=esm --target=node22 --external:node:* && node scripts/deploy.mjs",
10
+ "build": "npm run build:bundle && node scripts/deploy.mjs",
11
+ "build:bundle": "tsc -p tsconfig.json && node scripts/sync-ts-build.mjs",
11
12
  "deploy": "node scripts/deploy.mjs",
12
13
  "typecheck": "tsc -p tsconfig.json --noEmit",
13
14
  "checkpoint:validate": "node scripts/checkpoint-validate.mjs",
@@ -21,7 +22,11 @@
21
22
  "codex:hook:summary": "bash plugins/vibetheog-codex/hooks/post-command-summary.sh",
22
23
  "precommit": "node scripts/pre-commit.mjs",
23
24
  "audit-state": "node scripts/audit-state.mjs",
24
- "migrate-ledger": "node scripts/migrate-ledger.mjs"
25
+ "migrate-ledger": "node scripts/migrate-ledger.mjs",
26
+ "lint": "eslint src/",
27
+ "lint:fix": "eslint src/ --fix",
28
+ "test:coverage": "c8 --reporter=text --reporter=html npm test",
29
+ "typecheck:strict": "tsc -p tsconfig.strict.json --noEmit"
25
30
  },
26
31
  "type": "module",
27
32
  "main": "./src/index.js",
@@ -70,11 +75,15 @@
70
75
  },
71
76
  "devDependencies": {
72
77
  "@playwright/test": "^1.60.0",
78
+ "@stylistic/eslint-plugin": "^5.10.0",
73
79
  "@types/express": "^5.0.6",
74
80
  "@types/node": "^22.15.30",
81
+ "@typescript-eslint/eslint-plugin": "^8.60.0",
82
+ "@typescript-eslint/parser": "^8.60.0",
83
+ "c8": "^11.0.0",
75
84
  "esbuild": "^0.28.0",
85
+ "eslint": "^10.4.0",
76
86
  "express": "^5.2.1",
77
87
  "typescript": "^5.9.3"
78
- },
79
- "dependencies": {}
88
+ }
80
89
  }