@vibecontrols/plugin-sdk 2026.601.1 → 2026.1107.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.
Files changed (2) hide show
  1. package/README.md +24 -2
  2. package/package.json +54 -24
package/README.md CHANGED
@@ -196,9 +196,31 @@ See `templates/plugin-scaffold.md` for the recommended layout.
196
196
 
197
197
  ## Contributing
198
198
 
199
+ The toolchain is Bun 1.4.4 (`.bun-version`) with
200
+ [`@burdenoff/toolchain`](https://www.npmjs.com/package/@burdenoff/toolchain)
201
+ (the `boff` CLI, the shared tsconfig and ESLint profiles).
202
+
203
+ Key commands:
204
+
205
+ | Command | What it does |
206
+ | --- | --- |
207
+ | `bun install` | Install dependencies (CI uses `bun install --frozen-lockfile`) |
208
+ | `bun run type:check` | Type check with `bun check` |
209
+ | `bun run lint` | ESLint (`@burdenoff/toolchain/eslint/node` profile) |
210
+ | `bun fmt` / `bun run format:check` | Format with `bun fmt` (reads `prettier.config.js`) / check only |
211
+ | `bun test` | Unit tests (`tests/**/*.test.ts`) |
212
+ | `bun run build` | Build `dist/` with tsup (ESM + `.d.ts`) |
213
+ | `bun run sanity` | `boff sanity`: format check, lint, type check, build, tests with the coverage gate, knip and `pack:check`; cached per step, so an unchanged tree re-runs in under a second (`bun run sanity:force` ignores the cache) |
214
+
199
215
  1. `bun install`
200
- 2. `bun run sanity` must be green (0 errors, 0 warnings)
201
- 3. Trunk-based: `main` only. CalVer release via `gh workflow run release.yml -f version=YYYY.MDD.PATCH`.
216
+ 2. `bun run sanity` must be green (0 errors, 0 warnings). The lefthook
217
+ pre-push hook runs it too.
218
+ 3. Trunk-based: `main` only. Every push to `main` publishes the next free
219
+ CalVer (`YYYY.MDD.PATCH`) to npm with provenance (`.github/workflows/release.yml`);
220
+ `gh workflow run release.yml -f version=YYYY.MDD.PATCH` releases an explicit
221
+ version. The release and PR workflows are vendored from
222
+ `algoshred/ci-workflows` (`.github/ci-workflows-vendor.json` lists them),
223
+ because a public repository cannot call private reusable workflows.
202
224
  4. Integration docs: [`docs/integration/`](./docs/integration/) — start with [`INDEX.md`](./docs/integration/INDEX.md).
203
225
 
204
226
  <!-- VIBECONTROLS_OSS_FOOTER_START -->
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@vibecontrols/plugin-sdk",
3
- "version": "2026.601.1",
3
+ "version": "2026.1107.1",
4
4
  "type": "module",
5
5
  "description": "VibeControls Plugin SDK — shared contract, lifecycle, CLI, telemetry, storage helpers for all vibe-plugin-* packages.",
6
6
  "engines": {
7
- "bun": ">=1.3.14"
7
+ "bun": ">=1.4.4"
8
8
  },
9
9
  "author": {
10
10
  "name": "Vignesh T.V",
@@ -100,32 +100,29 @@
100
100
  "scripts": {
101
101
  "dev": "tsup --watch",
102
102
  "build": "tsup",
103
- "lint": "eslint ./src ./tests",
104
- "lint:sanity": "if [ \"${CI:-}\" = \"true\" ]; then bun run lint -- --max-warnings 0; else bun run lint -- --max-warnings 0 --cache --cache-location .eslintcache; fi",
105
- "format": "prettier . --write",
106
- "format:check": "prettier . --check",
107
- "type:check": "tsc --noEmit",
108
- "test": "bun test tests/**/*.test.ts",
109
103
  "knip": "knip --reporter compact",
110
- "clean": "rimraf dist coverage .eslintcache",
104
+ "clean": "rm -rf dist coverage .eslintcache",
111
105
  "prebuild": "bun run clean",
112
106
  "pack:check": "npm pack --dry-run",
113
- "sanity": "bun run format:check && bun run lint:sanity && bun run type:check && bun run knip && bun run pack:check && bun run test && bun run build"
107
+ "type:check": "boff gate -- bun check --no-pretty",
108
+ "format": "bun fmt src tests tsup.config.ts eslint.config.js prettier.config.js",
109
+ "format:check": "bun fmt --check src tests tsup.config.ts eslint.config.js prettier.config.js",
110
+ "lint": "eslint .",
111
+ "test": "bun test",
112
+ "sanity": "boff sanity",
113
+ "sanity:force": "boff sanity --force",
114
+ "audit": "bun audit --audit-level=high"
114
115
  },
115
116
  "devDependencies": {
116
- "@eslint/js": "^10.0.1",
117
- "@types/bun": "^1.3.9",
117
+ "@burdenoff/toolchain": "2026.1107.14",
118
+ "@types/bun": "^1.4.4",
118
119
  "commander": "^14.0.3",
119
- "elysia": "^1.3.2",
120
- "eslint": "^10.0.1",
121
- "globals": "^17.3.0",
122
- "knip": "^6.12.0",
123
- "lefthook": "^2.1.4",
124
- "prettier": "^3.8.1",
125
- "rimraf": "^6.1.3",
126
- "tsup": "^8.5.0",
127
- "typescript": "^5.9.3",
128
- "typescript-eslint": "^8.56.0"
120
+ "elysia": "~1.4.31",
121
+ "eslint": "^9.39.5",
122
+ "knip": "^6.44.2",
123
+ "lefthook": "^2.2.2",
124
+ "tsup": "^8.5.1",
125
+ "typescript": "^5.9.3"
129
126
  },
130
127
  "peerDependencies": {
131
128
  "commander": ">=14.0.0",
@@ -147,7 +144,7 @@
147
144
  ],
148
145
  "repository": {
149
146
  "type": "git",
150
- "url": "git+https://github.com/algoshred/vibecontrols-plugin-sdk.git"
147
+ "url": "git+https://github.com/Algoshred/vibecontrols-plugin-sdk.git"
151
148
  },
152
149
  "bugs": {
153
150
  "url": "https://github.com/algoshred/vibecontrols-plugin-sdk/issues"
@@ -178,5 +175,38 @@
178
175
  "yaml": ">=2.8.3",
179
176
  "picomatch": ">=2.3.2",
180
177
  "minimatch": ">=3.1.3"
181
- }
178
+ },
179
+ "packageManager": "bun@1.4.4",
180
+ "boff": {
181
+ "type": "lib",
182
+ "sanity": {
183
+ "steps": [
184
+ "format",
185
+ "lint",
186
+ "typecheck",
187
+ "build",
188
+ "test",
189
+ "knip"
190
+ ],
191
+ "extra": [
192
+ "pack:check"
193
+ ],
194
+ "formatPaths": [
195
+ "src",
196
+ "tests",
197
+ "tsup.config.ts",
198
+ "eslint.config.js",
199
+ "prettier.config.js"
200
+ ]
201
+ },
202
+ "coverage": {
203
+ "lines": 92,
204
+ "functions": 72,
205
+ "diff": 80
206
+ }
207
+ },
208
+ "trustedDependencies": [
209
+ "esbuild",
210
+ "lefthook"
211
+ ]
182
212
  }