发布

  • fix(cli): patch BetterSwiftAX constants for binary builds (#3347)

    frostbyte_neo 发布于 2026-05-05 23:45:50 +00:00

    Summary

    • Broaden the Beeper iMessage macOS build patch so BetterSwiftAX
      kAX... constants compile on GitHub macos-15/macos-15-intel.
    • Pin the fixed platform-imessage submodule source and add Swift 6.2 /
      Peekaboo dependency patching for the CLI binary workflow.
    • Package and verify macOS local-tool sidecars plus release-tag.txt in
      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-arm64
    • pnpm --filter @composio/cli-local-tools build:beeper-imessage -- --target darwin-x64
    • pnpm --filter @composio/cli-local-tools build:peekaboo -- --target darwin-arm64
    • pnpm --filter @composio/cli-local-tools build:peekaboo -- --target darwin-x64
    • pnpm --filter @composio/cli-local-tools typecheck:tsc
    • pnpm --filter @composio/cli-local-tools test
    • pnpm --filter @composio/cli typecheck:tsc
    • pnpm --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 composio binary plus
      release-tag.txt into a temp install with no local-tools-binaries;
      execute LOCAL_BEEPER_IMESSAGE_VERSION -d '{}' restored sidecars from
      @composio/cli@0.2.29-beta.235 and succeeded.

    Release workflow

    • Beta build run 25405049712 succeeded for commit
      9d0910c909b7b257d0f17b6d082980952d1e6c59 and 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 run 25406984535 are running again.
    下载附件