-
feat(cli): scaffold native UI sidecar (#3418)
发布于
2026-05-13 08:30:14 +00:00 Summary
- Scaffold a macOS Swift
composio-native-uisidecar with a borderless
floating native overlay and Metal-driven pulsing/liquid-glass visual
treatment. - Add a hidden/dev
composio dev native-uicommand 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-lockfilepnpm typecheckpnpm --filter @composio/cli buildpnpm --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
下载附件
- Scaffold a macOS Swift