Add an npm dependency to the webhook-objects monorepo while respecting the 7-day minimumReleaseAge cooldown, the optional-peerDependency pattern, and the git-branch-lockfile install flags. Use when adding or upgrading any package dependency.
Add or expose a new public API export in @webhook-objects/client, threading it through the browser/node entry points, the objects barrel, the package.json exports map, and the types build. Use when adding a publicly importable symbol, type, or subpath to the…
Explain and resolve confusing pnpm-lock.yaml diffs in the webhook-objects monorepo, which uses git-branch lockfiles and a CI merge-lockfiles job. Use when an agent is surprised by lockfile changes, conflicts, or churn on a branch.
Scaffold a new package under packages/* in the webhook-objects monorepo with correct pnpm workspace, tsconfig (dom vs no-dom), exports map, vite/vitest, and biome wiring. Use when adding a new package or workspace to this repo.
Regenerate the generated domain types in packages/client/src/objects from a new gather-game-logic commit and bump the VERSION const in lockstep. Use when updating webhook object/event/capability types or pointing at a newer gather-game-logic revision.
Run lint, build, and tests exactly as CI does (including Playwright Chromium and the node+browser vitest split) before pushing the webhook-objects monorepo. Use as a preflight check before opening or updating a PR, or to reproduce a CI failure locally.
Write a vitest spec for the webhook-objects client matching the repo's existing conventions — the node/browser/agnostic test split and the fetch/signing stub patterns. Use when adding or updating tests in packages/client.