1.2 KiB
1.2 KiB
AGENTS.md
Work from repo root. Keep changes small and commit/push them to main when asked.
Release
- npm package:
@openclaw/kitchen-sink. - Trusted publisher: GitHub Actions, repository
openclaw/kitchen-sink, workflowrelease.yml. - Do not publish npm releases locally. Cut releases by bumping
package.json/package-lock.json, syncing generated surface files, pushingmain, creating an annotatedvX.Y.Ztag, pushing the tag, then publishing the GitHub release withgh release create vX.Y.Z --verify-tag --generate-notes --title vX.Y.Z. - The
release.ymlworkflow owns npm publishing through OIDC trusted publishing. Keeppermissions.id-token: write; do not addNODE_AUTH_TOKENor long-lived npm token secrets for publish. - ClawHub release publishing is enabled through the canonical reusable ClawHub workflow. Keep
permissions.id-token: writeand continue passing theCLAWHUB_TOKENsecret for release publishes.
Validation
- Use Node 22.
- Before release commits, run
npm run check,npm run plugin:inspect:runtime,npm run pack:check, andgit diff --check. - Generated surface files are expected to change when the package version changes; run
npm run sync:surface.