mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
6bab4e37cf
## Summary - **`.gitignore`** — add patterns for common binary extensions (`.exe`, `.dll`, `.so`, `.dylib`, `.o`, `.obj`, `.a`, `.lib`, `.wasm`, `.dSYM/`) - **CI workflow** (`static_check-binaries.yml`) — runs on all PRs to `main`, checks for binary file extensions, `build/` directories, `.dSYM/` directories, and individual files over 1 MB - **Lefthook pre-commit** (`check-binaries`) — mirrors the CI check locally, catching binary artifacts, build outputs, and oversized files at commit time before they reach CI Prompted by ag-ui PR #29 where ~15 MB of compiled macOS binaries were accidentally committed. This adds the same protection to CopilotKit. ## Test plan - [ ] Verify `.gitignore` additions don't affect existing tracked files - [ ] Confirm the `static / check binaries` workflow runs and passes on this clean PR - [ ] Verify lefthook `check-binaries` fires on `git commit` and blocks binary/oversized files