-
fix(cli): patch BetterSwiftAX constants for binary builds (#3347)
发布于
2026-05-05 23:45:50 +00:00 Summary
- Broaden the Beeper iMessage macOS build patch so BetterSwiftAX
kAX...constants compile on GitHubmacos-15/macos-15-intel. - Pin the fixed
platform-imessagesubmodule source and add Swift 6.2 /
Peekaboo dependency patching for the CLI binary workflow. - Package and verify macOS local-tool sidecars plus
release-tag.txtin
CLI release zips. - Fix installed beta metadata/upgrade behavior so
--version, update
checks, and beta-default experimental flags use the installed release
tag. - Let
LOCAL_*execution bypass remote auth/project/schema validation. - Add runtime self-heal for missing installed
local-tools-binaries: if
an old upgrader installs the fixed beta binary without sidecars, first
local-tool execution downloads the matching release zip, verifies
checksum when available, and restores the sidecars.
Validation
pnpm --filter @composio/cli-local-tools build:beeper-imessage -- --target darwin-arm64pnpm --filter @composio/cli-local-tools build:beeper-imessage -- --target darwin-x64pnpm --filter @composio/cli-local-tools build:peekaboo -- --target darwin-arm64pnpm --filter @composio/cli-local-tools build:peekaboo -- --target darwin-x64pnpm --filter @composio/cli-local-tools typecheck:tscpnpm --filter @composio/cli-local-tools testpnpm --filter @composio/cli typecheck:tscpnpm --filter @composio/cli build:binary- Targeted CLI tests for execute/config/upgrade/version/update-check
paths. - Packaged binary smoke test confirmed bundled Beeper sidecar works.
- Repair smoke test: copied only the new
composiobinary plus
release-tag.txtinto a temp install with nolocal-tools-binaries;
execute LOCAL_BEEPER_IMESSAGE_VERSION -d '{}'restored sidecars from
@composio/cli@0.2.29-beta.235and succeeded.
Release workflow
- Beta build run
25405049712succeeded for commit
9d0910c909b7b257d0f17b6d082980952d1e6c59and published
@composio/cli@0.2.29-beta.235. - This PR now includes one follow-up commit (
2c32cff4c) to cover the
old-upgrader/missing-sidecars incremental upgrade path; normal branch CI
and beta build run25406984535are running again.
下载附件
- Broaden the Beeper iMessage macOS build patch so BetterSwiftAX