chore: bump @aictrl/cli to 0.3.5 and @aictrl/util to 1.2.17#74
Merged
Conversation
v0.3.4 release (#71 + #72 fixes) couldn't actually publish @aictrl/cli because the publish workflow doesn't auto-stamp AICTRL_VERSION into the main package.json `version` fields — only platform binaries get the release version. On v0.3.4 the workflow tolerated "already-published" errors for cli 0.3.3 / util 1.2.16 / sdk 0.1.2 and the smoke test correctly caught it (ETARGET: No matching version found for @aictrl/cli@0.3.4). Bump cli and util so v0.3.5 actually publishes new versions carrying the resolver + exit-code fixes. Skip sdk: its catalog: deps are only in devDependencies, ignored by npm consumers, so 0.1.2 is functionally installable. Follow-up worth filing: publish.yml should stamp AICTRL_VERSION into all package manifests, not just platform binaries, so future releases don't need manual version bumps. Refs #71 #72 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
v0.3.4 release attempt didn't actually publish `@aictrl/cli@0.3.4` — the smoke test (added in #73) caught it: `ETARGET: No matching version found for @aictrl/cli@0.3.4`.
Root cause: `publish.yml` stamps `AICTRL_VERSION` (from `release.tag_name`) into platform binary manifests via `Script.version` in `build.ts`, but the main packages (`@aictrl/cli`, `@aictrl/util`, `@aictrl/sdk`) publish whatever's in their on-disk `packages//package.json` version. So on the v0.3.4 tag with `cli/package.json` still at `0.3.3`, the publish step packed and tried to publish `@aictrl/cli@0.3.3` — already on npm — and the workflow's "tolerate already-published" path said success.
This PR bumps the versions so v0.3.5 actually ships new `@aictrl/cli` and `@aictrl/util` versions carrying:
@aictrl/cli@0.3.3ships unresolvedworkspace:*deps →npm installfails with EUNSUPPORTEDPROTOCOL #72 fix: `workspace:*` and `catalog:` protocol resolver in the publish pipeline; switch from `bun pm pack` to `npm pack``@aictrl/sdk` not bumped: its `catalog:` deps are all in `devDependencies` (ignored by npm consumers at install time), so `0.1.2` is functionally installable. Bumping it would only matter for sdk-package developers cloning the repo.
After this merges
The publish workflow should then:
Follow-up worth filing
`publish.yml` should stamp `AICTRL_VERSION` into all package manifests, not just platform binaries — so future releases don't need manual version bumps in a separate PR. Out of scope for this one.
Test plan
Refs #71 #72
🤖 Generated with Claude Code