different-ai

openwork-orchestrator-npm-publish

Publish the openwork-orchestrator npm package with clean git hygiene. Triggers when user mentions: - "openwork-orchestrator npm publish" - "publish openwork-orchestrator" - "bump openwork-orchestrator"

different-ai 15,761 1,561 Updated 3mo ago

Resources

3
GitHub

Install

npx skillscat add different-ai/openwork/openwork-orchestrator-npm-publish

Install via the SkillsCat registry.

SKILL.md

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.