mcpField
O
openwork-orchestrator-npm-publish

openwork-orchestrator-npm-publish

github.com/different-aiCloud & DevOps24.3k86 installsUpdated today
Repository

About openwork-orchestrator-npm-publish

A release skill for publishing the openwork-orchestrator npm package alongside OpenWork app and desktop releases. It covers version alignment, binary and sidecar builds, and a scripted publishing path.

Key features

  1. 01Align package and app release versions
  2. 02Build sidecars and platform binaries
  3. 03Publish wrapper and platform packages
  4. 04Verify the published npm version

Use cases

  1. 01Release openwork-orchestrator with an app update
  2. 02Recover from a manual release workflow
  3. 03Check the version available on npm

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/different-ai/openwork --skill openwork-orchestrator-npm-publish

After installing, type/openwork-orchestrator-npm-publishin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

.env.example
.gitignore
scripts/
publish-openwork-orchestrator.sh

Details

From the project README

Quick usage (already configured)

  1. Ensure you are on the default branch and the tree is clean.
  2. Bump versions via the shared release bump (this keeps openwork-orchestrator aligned with the app/desktop release).
pnpm bump:patch
# or: pnpm bump:minor
# or: pnpm bump:major
# or: pnpm bump:set -- X.Y.Z
  1. Commit the bump.
  2. Preferred: publish via the "Release App" GitHub Actions workflow by tagging vX.Y.Z.

Manual recovery path (sidecars + npm) below.

pnpm --filter openwork-orchestrator build:sidecars
gh release create openwork-orchestrator-vX.Y.Z packages/orchestrator/dist/sidecars/* \
  --repo different-ai/openwork \
  --title "openwork-orchestrator vX.Y.Z sidecars" \
  --notes "Sidecar binaries and manifest for openwork-orchestrator vX.Y.Z"
  1. Build openwork-orchestrator binaries for all supported platforms.
pnpm --filter openwork-orchestrator build:bin:all
  1. Publish openwork-orchestrator as a meta package + platform packages (optionalDependencies).
node packages/orchestrator/scripts/publish-npm.mjs
  1. Verify the published version.
npm view openwork-orchestrator version

Scripted publish

./.opencode/skills/openwork-orchestrator-npm-publish/scripts/publish-openwork-orchestrator.sh

First-time setup (if not configured)

Authenticate with npm before publishing.

npm login

Alternatively, export an npm token in your environment (see .env.example).


Notes

  • openwork-orchestrator is published as:
    • openwork-orchestrator (wrapper + optionalDependencies)
    • openwork-orchestrator-darwin-arm64, openwork-orchestrator-darwin-x64, openwork-orchestrator-linux-arm64, openwork-orchestrator-linux-x64, openwork-orchestrator-windows-x64 (platform binaries)
  • openwork-orchestrator is versioned in lockstep with OpenWork app/desktop releases.
  • openwork-orchestrator downloads sidecars from openwork-orchestrator-vX.Y.Z release assets by default.

Comments

Markdown supported