@brainbase-labs/cli 0.26.0 → 0.27.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 (3) hide show
  1. package/README.md +22 -3
  2. package/dist/index.js +1777 -1249
  3. package/package.json +2 -2
package/README.md CHANGED
@@ -97,9 +97,28 @@ remains their final cleanup boundary. Isolated evaluator workspace copies omit
97
97
 
98
98
  ## Development
99
99
 
100
- Use Bun 1.3.10 when building this repository. The generated
101
- `dist/index.js` is committed and byte-checked in CI, and Bun patch releases
102
- can produce different bundle output.
100
+ Build with the Bun version in `.bun-version` (currently 1.3.10) CI and both
101
+ release workflows read that file. The generated `dist/index.js` is committed
102
+ and byte-checked in CI, and Bun patch releases can produce different bundle
103
+ output.
104
+
105
+ ### Releasing
106
+
107
+ 1. Run **Prepare Release** from `main` with the exact version. It refuses a
108
+ version already on npm, or a `release/*` branch or tag that already exists,
109
+ then pushes the branch and prints a link to open the pull request. The org
110
+ does not let Actions open pull requests, so that last step is yours.
111
+ 2. Merge the release pull request. CI checks any pull request that moves the
112
+ version, or comes from a `release/*` branch, against npm — so a hand-made
113
+ release pull request is held to the same bar as a generated one.
114
+ 3. Run **Publish**, naming the same version. It refuses to run if the commit
115
+ it checked out declares a different one, and the tarball's `dist/index.js`
116
+ must match the committed bundle.
117
+
118
+ Prepare and publish share a `release` concurrency group, so two releases queue
119
+ instead of interleaving. A published version is immutable: if a release goes
120
+ out without something you meant to include, ship the next version rather than
121
+ re-cutting the number.
103
122
 
104
123
  ## Agent runtime configuration
105
124