vibeostheog 0.19.0 → 0.19.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 +8 -0
- package/README.md +11 -16
- package/package.json +3 -4
- package/src/index.js +861 -301
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
## 0.19.1
|
|
2
|
+
- fix: make README and runtime self-contained
|
|
3
|
+
- test: add 59 integration + e2e tests for cross-module behavior and user workflows
|
|
4
|
+
Merge pull request #49 from DrunkkToys/oc-desktop-live-savings-refresh
|
|
5
|
+
Merge pull request #48 from DrunkkToys/codex/live-savings-refresh
|
|
6
|
+
Invalidate savings cache on state writes
|
|
7
|
+
|
|
8
|
+
|
|
1
9
|
## 0.19.0
|
|
2
10
|
- feat: quality governance — self-protection, 2h release gate, outcome tracking (#44)
|
|
3
11
|
- fix: chooseEpisodeMode defaults to budget (was always quality) + simplify isApiConnected check
|
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ It also adds guardrails: delegation enforcement, flow and TDD controls, pattern
|
|
|
21
21
|
1. Install the package:
|
|
22
22
|
|
|
23
23
|
```bash
|
|
24
|
-
npm install
|
|
24
|
+
npm install vibeostheog
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
2. Register it in `~/.config/opencode/opencode.json`:
|
|
@@ -29,41 +29,37 @@ npm install vibeOS
|
|
|
29
29
|
```json
|
|
30
30
|
{
|
|
31
31
|
"plugins": [
|
|
32
|
-
{ "id": "vibeOS", "path": "node_modules/
|
|
32
|
+
{ "id": "vibeOS", "path": "node_modules/vibeostheog/src/index.js" }
|
|
33
33
|
]
|
|
34
34
|
}
|
|
35
35
|
```
|
|
36
36
|
|
|
37
37
|
### Local plugin file
|
|
38
38
|
|
|
39
|
-
If you keep a local
|
|
39
|
+
If you keep a local checkout of the plugin, point OpenCode at the built file instead:
|
|
40
40
|
|
|
41
41
|
```json
|
|
42
42
|
{
|
|
43
43
|
"plugins": [
|
|
44
|
-
{ "id": "vibeOS", "path": "
|
|
44
|
+
{ "id": "vibeOS", "path": "/absolute/path/to/theSaver-oc/src/index.js" }
|
|
45
45
|
]
|
|
46
46
|
}
|
|
47
47
|
```
|
|
48
48
|
|
|
49
49
|
Restart OpenCode Desktop after changing the config.
|
|
50
50
|
|
|
51
|
-
##
|
|
52
|
-
|
|
53
|
-
The backend lives at the Desktop-level sibling folder `../vibeOScore`.
|
|
54
|
-
|
|
55
|
-
Use that folder when you need the API server, MCP server, or dashboard build chain:
|
|
51
|
+
## Common Npm Commands
|
|
56
52
|
|
|
57
53
|
```bash
|
|
58
|
-
npm
|
|
59
|
-
npm run
|
|
60
|
-
npm run build:dashboard
|
|
61
|
-
npm run dev:dashboard
|
|
62
|
-
npm run dashboard:serve
|
|
54
|
+
npm install
|
|
55
|
+
npm run build
|
|
63
56
|
npm run typecheck
|
|
64
57
|
npm test
|
|
58
|
+
npm run release:patch
|
|
65
59
|
```
|
|
66
60
|
|
|
61
|
+
`npm run build` compiles `src/index.ts` to `src/index.js` and deploys the built plugin into the OpenCode plugin directory. `npm run typecheck` validates the TypeScript sources without emitting files.
|
|
62
|
+
|
|
67
63
|
## Core Controls
|
|
68
64
|
|
|
69
65
|
Use `trinity help` for the full command list. The most common controls are:
|
|
@@ -127,11 +123,10 @@ Without a token, vibeOS keeps running in local-only mode with bundled algorithms
|
|
|
127
123
|
- If writes or edits are blocked, that is usually delegation enforcement working as intended on the brain tier.
|
|
128
124
|
- If the footer is missing, check that the plugin is enabled and that the current OpenCode session is receiving assistant completions.
|
|
129
125
|
- If the remote API is down or the token is invalid, use `trinity api-token <token>` or rely on local-only mode.
|
|
130
|
-
- If the dashboard does not load, rebuild
|
|
126
|
+
- If the dashboard does not load, rebuild the plugin with `npm run build` and restart OpenCode.
|
|
131
127
|
- If state or config looks inconsistent, run `trinity diagnose` and `trinity guard`.
|
|
132
128
|
|
|
133
129
|
## Notes
|
|
134
130
|
|
|
135
131
|
- `trinity help` is the canonical command reference.
|
|
136
|
-
- `../vibeOScore` is the backend sibling directory on the Desktop.
|
|
137
132
|
- The README stays intentionally high level so the command details can follow the code without a rewrite.
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vibeostheog",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.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:*
|
|
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",
|
|
11
11
|
"deploy": "node scripts/deploy.mjs",
|
|
12
12
|
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
13
13
|
"checkpoint:validate": "node scripts/checkpoint-validate.mjs",
|
|
@@ -66,8 +66,7 @@
|
|
|
66
66
|
"@types/node": "^22.15.30",
|
|
67
67
|
"esbuild": "^0.28.0",
|
|
68
68
|
"express": "^5.2.1",
|
|
69
|
-
"typescript": "^5.9.3"
|
|
70
|
-
"vibeOScore": "file:../vibeOScore"
|
|
69
|
+
"typescript": "^5.9.3"
|
|
71
70
|
},
|
|
72
71
|
"dependencies": {}
|
|
73
72
|
}
|