发布

  • feat(cli): scaffold native UI sidecar (#3418)

    frostbyte_neo 发布于 2026-05-13 08:30:14 +00:00

    Summary

    • Scaffold a macOS Swift composio-native-ui sidecar with a borderless
      floating native overlay and Metal-driven pulsing/liquid-glass visual
      treatment.
    • Add a hidden/dev composio dev native-ui command that spawns the
      bundled sidecar from CLI local-tool assets.
    • Wire the sidecar into local-tool binary build scripts and CLI binary
      release packaging checks for Darwin artifacts.

    Tests

    • pnpm install --frozen-lockfile
    • pnpm typecheck
    • pnpm --filter @composio/cli build
    • pnpm --filter @composio/cli-local-tools build:composio-native-ui -- --target darwin-arm64
    • Manual launch via
      COMPOSIO_LOCAL_TOOLS_BIN_DIR=../cli-local-tools/local-tools-binaries bun dist/bin.mjs dev native-ui --timeout 35

    Notes / Risks

    • This is a scaffold/prototype and is intentionally opened as a draft
      PR.
    • The visual effect uses a transparent AppKit panel,
      NSVisualEffectView, and a Metal overlay. True optical distortion of
      arbitrary content behind the window would require a different approach
      such as ScreenCaptureKit/backdrop sampling and associated permissions.
    • Generated sidecar executables remain ignored; release jobs rebuild
      them before packaging artifacts.

    Co-authored-by: Claude Opus 4.7 (1M context) noreply@anthropic.com

    下载附件