@shobyde/boaz 0.8.1 → 0.8.2
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/README.md +26 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -20,9 +20,8 @@ npx boaz audit --probes agent-probes.json --module agent-setup.mjs
|
|
|
20
20
|
npx boaz bench --probes agent-probes.json --module agent-setup.mjs --samples
|
|
21
21
|
```
|
|
22
22
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
GitHub release, which npm installs directly and which ships a prebuilt `dist/`:
|
|
23
|
+
Every version is also attached to its GitHub release, which npm installs directly and which ships a
|
|
24
|
+
prebuilt `dist/`:
|
|
26
25
|
|
|
27
26
|
```bash
|
|
28
27
|
npm install https://github.com/shobyde/boaz/releases/download/v0.7.0/boaz-0.7.0.tgz
|
|
@@ -390,14 +389,35 @@ fixtures/selfcheck/ nine fixtures, each declaring the codes it must provoke
|
|
|
390
389
|
docs/media/ stills captured from the running demo
|
|
391
390
|
```
|
|
392
391
|
|
|
392
|
+
## Releasing
|
|
393
|
+
|
|
394
|
+
Pushing a version tag does the whole release.
|
|
395
|
+
|
|
396
|
+
```bash
|
|
397
|
+
cd packages/boaz && npm version minor --no-git-tag-version && cd ../..
|
|
398
|
+
# add the entry at the top of CHANGELOG.md, then
|
|
399
|
+
git commit -am "0.8.3: what changed" && git tag v0.8.3 && git push origin main --tags
|
|
400
|
+
```
|
|
401
|
+
|
|
402
|
+
The tag runs `.github/workflows/release.yml`: install, build, test, check that the tag matches
|
|
403
|
+
`packages/boaz/package.json`, `npm pack`, attach the tarball to the GitHub release, then publish to
|
|
404
|
+
npm with provenance. A tag whose version is already on the registry is a no-op, so re-running a
|
|
405
|
+
release is safe. Auth is trusted publishing over OIDC when the `NPM_TRUSTED_PUBLISHER` repo variable
|
|
406
|
+
is `true`, otherwise the `NPM_TOKEN` secret.
|
|
407
|
+
|
|
408
|
+
If you would rather see a release before it ships, set the repo variable `NPM_STAGE=true`. The same
|
|
409
|
+
step then runs `npm stage publish` instead: nothing is installable until someone runs
|
|
410
|
+
`npm stage approve <stage-id>`, and the run summary prints that command. Staging needs no 2FA; the
|
|
411
|
+
approval is where the human comes in.
|
|
412
|
+
|
|
393
413
|
## Status
|
|
394
414
|
|
|
395
415
|
`0.7.0`. The package is renamed from `client-agent` to `boaz`; the code is the same 0.6.10 behaviour
|
|
396
416
|
under a new name, `bin`, virtual module (`boaz:manifest`), dev artifact directory (`.boaz/`) and
|
|
397
417
|
consumer skill (`boaz-capabilities.md`). 0.4.0 was the last breaking change before that: the `webllm`
|
|
398
418
|
and `chrome-ai` entry points, their peer dependency and the demo's worker are gone. Releasing is
|
|
399
|
-
wired in `.github/workflows/release.yml`: a version tag packs the tarball, attaches
|
|
400
|
-
|
|
401
|
-
|
|
419
|
+
wired in `.github/workflows/release.yml`: a version tag builds and tests, packs the tarball, attaches
|
|
420
|
+
it to the GitHub release and publishes to npm with provenance. It is running in production on
|
|
421
|
+
shobyde.com.
|
|
402
422
|
|
|
403
423
|
MIT.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shobyde/boaz",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.2",
|
|
4
4
|
"description": "Declarative capabilities, a knowledge base with rules, and a deterministic answer engine for in-browser assistants: no model download, no API key, every reply traceable to a fact.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|