feat(openwrk): download sidecars on demand (#387)

This commit is contained in:
ben
2026-02-01 14:37:06 -08:00
committed by GitHub
parent 1edf3f93cb
commit 120c1069bb
9 changed files with 491 additions and 32 deletions

View File

@@ -14,13 +14,23 @@ description: |
1. Ensure you are on the default branch and the tree is clean.
2. Bump the version in `packages/headless/package.json`.
3. Commit the bump.
4. Publish the package.
4. Build sidecar artifacts and publish them to a release tag.
```bash
pnpm --filter openwrk build:sidecars
gh release create openwrk-vX.Y.Z packages/headless/dist/sidecars/* \
--repo different-ai/openwork \
--title "openwrk vX.Y.Z sidecars" \
--notes "Sidecar binaries and manifest for openwrk vX.Y.Z"
```
5. Publish the package.
```bash
pnpm --filter openwrk publish --access public
```
5. Verify the published version.
6. Verify the published version.
```bash
npm view openwrk version
@@ -52,3 +62,4 @@ Alternatively, export an npm token in your environment (see `.env.example`).
- `pnpm publish` requires a clean git tree.
- This publish flow is separate from app release tags.
- openwrk downloads sidecars from `openwrk-vX.Y.Z` release assets by default.