Redesigned high-performance local search and indexing engine
Project description
sari v2
LSP-first 로컬 인덱싱/검색 엔진 + MCP 데몬.
설치
uv tool install sari
# 또는
python3 -m pip install sari
기본 사용
sari doctor
sari daemon start
sari roots add /absolute/path/to/repo
MCP 연동 (권장)
sari install --host gemini
sari install --host codex
- Gemini/Codex 설정에
command = "sari"+args = ["mcp","stdio"]를 자동 반영한다. - 기존 설정 파일은
.bak.<timestamp>로 백업된다.
수동 설정 예시
Gemini (~/.gemini/settings.json)
{
"mcpServers": {
"sari": {
"command": "sari",
"args": ["mcp", "stdio"]
}
}
}
Codex (~/.codex/config.toml)
[mcp_servers.sari]
command = "sari"
args = ["mcp", "stdio"]
개발 검증
pytest -q
tools/ci/run_release_gate.sh
tools/manual/test_mcp_call_flow.sh /absolute/path/to/repo
로컬 wheel 테스트 (글로벌 tool 오염 방지)
로컬 빌드 산출물 검증은 uv tool install dist/*.whl 대신 아래 스크립트를 사용한다.
python3 -m build
tools/manual/test_local_wheel_ephemeral.sh
- 위 방식은
uvx --from <wheel>로 일회성 실행만 하므로,~/.local/bin/sari글로벌 설치를 덮어쓰지 않는다. - 글로벌 업그레이드는 계속
uv tool upgrade sari를 사용한다.
실수로 글로벌 tool을 로컬 wheel로 덮어쓴 경우 복구
tools/manual/repair_global_sari_tool.sh
# 특정 버전으로 복구
tools/manual/repair_global_sari_tool.sh 2.0.13
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sari-2.0.13.tar.gz.
File metadata
- Download URL: sari-2.0.13.tar.gz
- Upload date:
- Size: 414.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a87e7f2bd6879bc5510dee8daf57a3ea59c97f443af1225aa40ddbdf93630a3c
|
|
| MD5 |
b0f578531779612cdd98a5996ce96804
|
|
| BLAKE2b-256 |
35afa102434dea5a2484fc13f4ebde56995c316ce536055ff7d0251b20d7e0ad
|
Provenance
The following attestation bundles were made for sari-2.0.13.tar.gz:
Publisher:
release-pypi.yml on BaeCheolHan/sari
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sari-2.0.13.tar.gz -
Subject digest:
a87e7f2bd6879bc5510dee8daf57a3ea59c97f443af1225aa40ddbdf93630a3c - Sigstore transparency entry: 967593833
- Sigstore integration time:
-
Permalink:
BaeCheolHan/sari@7e775074f57bf3052ecca439b6611ccc185375bf -
Branch / Tag:
refs/tags/v2.0.13 - Owner: https://github.com/BaeCheolHan
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-pypi.yml@7e775074f57bf3052ecca439b6611ccc185375bf -
Trigger Event:
push
-
Statement type:
File details
Details for the file sari-2.0.13-py3-none-any.whl.
File metadata
- Download URL: sari-2.0.13-py3-none-any.whl
- Upload date:
- Size: 557.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fc216fd3f46614a751df62ba5be9c5438c95957d8e5ea096020606b81e15a545
|
|
| MD5 |
776e60e1465edc21f8202f5c750f3a40
|
|
| BLAKE2b-256 |
748a33dccfe4131087902a52fe0b602a8382864e1b23b775106d64fb0064148b
|
Provenance
The following attestation bundles were made for sari-2.0.13-py3-none-any.whl:
Publisher:
release-pypi.yml on BaeCheolHan/sari
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sari-2.0.13-py3-none-any.whl -
Subject digest:
fc216fd3f46614a751df62ba5be9c5438c95957d8e5ea096020606b81e15a545 - Sigstore transparency entry: 967593925
- Sigstore integration time:
-
Permalink:
BaeCheolHan/sari@7e775074f57bf3052ecca439b6611ccc185375bf -
Branch / Tag:
refs/tags/v2.0.13 - Owner: https://github.com/BaeCheolHan
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-pypi.yml@7e775074f57bf3052ecca439b6611ccc185375bf -
Trigger Event:
push
-
Statement type: