Repository navigation
fix(cli): SDK pin for hybrid tier commands; prepare first npm prerelease - #65
Conversation
…prepare first npm prerelease PR #35 merged hybrid tier commands that use SDK exports first published in 0.1.0-dev.20261002023214, so the dev head failed to build against the previous pin. The release guard test now derives the pinned SDK from package.json instead of hardcoding it, and the README documents the npm dev-tag install.
|
Warning Review limit reachedThe included review limit has been reached and this organization has disabled usage-based review continuation. Wait for reviews to reset or ask a billing admin to change After included review limits.
Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing. Next included review available in 35 minutes. View limit detailsLimit details: You’ve used the included review currently available. Your 71 included PR review attempts over the past 7 days set your current allowance at 1 review per hour. Review configuration: ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Team Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (3)
Comment |
Why
dev(72325fa) does not build: #35 usesNumberHybridTransition,listHybridMergeCandidatesand the hybrid quote fields, which first shipped in@polymorfa/sdk@0.1.0-dev.20261002023214. The CLI still pinned0.1.0-dev.20261001215108, sonpm ci(which runsprepare→build) fails with TS2305/TS2339.This unblocks the first npm prerelease of
@polymorfa/cli(0.1.0-dev.0,devtag).Changes
@polymorfa/sdkto exactly0.1.0-dev.20261002023214(package.json + lockfile).test/release/check-prerelease.test.tsreads the pinned SDK frompackage.jsoninstead of a hardcoded version, so future pin bumps don't break the guard test.npm install --global @polymorfa/cli@dev; the GitHub install stays for repository members.Verification
node scripts/check-prerelease.mjs 0.1.0-dev.0passes.npm run verifypasses: format, lint, typecheck, 1003/1003 tests, build,npm pack --dry-run,npm audit --omit=dev(0 vulnerabilities).polymorfa version --json→{"cli":"0.1.0-dev.0","sdk":"0.1.0-dev.20261002023214"}. Tarball holds onlybin/run.js,dist/,skills/,README.md,LICENSE,package.json.Six-part assessment
docs/tools/cli-api.mdxin the monorepo) still says the package is unpublished. It gets updated in a monorepo PR once the package is live on npm.devdist-tag only.Need help on this PR? Tag
@codesmithwith what you need. Autofix is disabled.