feat: distribute csp via Homebrew tap#22
Merged
Merged
Conversation
Add a release pipeline that publishes standalone csp binaries and updates the pleaseai/homebrew-tap formula on each release. - wire `csp --version` / `-V` and sync version into the MCP server - annotate src/version.ts for release-please version bumping - add release-please config + manifest (node release-type) - add release-please workflow: build per-arch native binaries (onnxruntime/tree-sitter addons can't cross-compile via bun --target), upload to the GitHub release, then push csp.rb to homebrew-tap - document `brew install pleaseai/tap/csp` in both READMEs
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Complexity | 0 |
| Duplication | 0 |
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.
There was a problem hiding this comment.
Code Review
이번 풀 리퀘스트는 release-please를 도입하여 버전 관리 및 릴리스 프로세스를 자동화하고, CLI에 버전 확인 기능(-V, --version)을 추가하며, README에 Homebrew 설치 안내를 업데이트하는 변경사항을 포함하고 있습니다. 구체적으로는 release-please 설정 파일들을 추가하고, src/version.ts를 통해 버전을 동적으로 관리하도록 cli.ts와 mcp/server.ts를 수정하였습니다. 검토할 리뷰 의견이 없으므로 추가적인 피드백은 제공하지 않습니다.
There was a problem hiding this comment.
1 issue found and verified against the latest diff
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
This was referenced Jun 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
요약
pleaseai/homebrew-tap을 통한csp배포를 추가합니다. asana/notion 패턴을 따르되, csp의 네이티브 의존성에 맞게 조정했습니다.변경 내용
csp --version/-V구현 및 MCP 서버 버전 동기화 (src/version.ts단일 출처)src/version.ts에 release-pleasex-release-please-version주석 추가release-please-config.json+.release-please-manifest.json(node release-type).github/workflows/release-please.yml:homebrew-tap에csp.rb자동 push네이티브 빌드 주의점 (asana와의 차이)
csp는 플랫폼별 네이티브 addon(
onnxruntime-node,@kreuzberg/tree-sitter-language-pack)에 의존합니다.bun build --compile은 호스트 플랫폼의.node를 임베드하므로,--target으로 교차 컴파일하면 잘못된 아키텍처가 들어가bad CPU type in executable로 실패합니다(실측 확인). 따라서 각 타깃을 네이티브 러너(macos-13/macos-14/ubuntu-latest/ubuntu-24.04-arm)에서 빌드합니다.검증: 네이티브 컴파일 바이너리로 실제
csp search동작(tree-sitter 파싱 + onnxruntime 임베딩) 및csp --version확인 완료.후속
homebrew-tap의csp.rb는 첫 릴리스 시 워크플로가 자동 생성합니다. (tap README에는 csp 항목을 미리 추가해 push 완료)APP_ID/PRIVATE_KEY는 기존 org 설정(asana/notion에서 사용 중)을 그대로 사용합니다.Summary by cubic
Add Homebrew distribution for
cspwith per-arch native binaries and an automated release pipeline. Install withbrew install pleaseai/tap/csp;--version/-Vis implemented and the MCP server reports the same version.macos-13,macos-14,ubuntu-latest,ubuntu-24.04-arm), upload to Release, and auto-updatepleaseai/homebrew-tapwithcsp.rb+ checksums. Built on native runners (due toonnxruntime-node/@kreuzberg/tree-sitter-language-pack).csp --version/-V; MCP server reads from a single source insrc/version.ts(annotated withx-release-please-version) managed byrelease-please.bun.lockinto release PRs for cleanbun install --frozen-lockfile, and pin GitHub Actions to full commit SHAs.README.mdandREADME.ko.md, and note the correct cache path~/.csp/.Written for commit 9b85115. Summary will update on new commits.