Skip to main content

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

sari-2.0.13.tar.gz (414.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sari-2.0.13-py3-none-any.whl (557.0 kB view details)

Uploaded Python 3

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

Hashes for sari-2.0.13.tar.gz
Algorithm Hash digest
SHA256 a87e7f2bd6879bc5510dee8daf57a3ea59c97f443af1225aa40ddbdf93630a3c
MD5 b0f578531779612cdd98a5996ce96804
BLAKE2b-256 35afa102434dea5a2484fc13f4ebde56995c316ce536055ff7d0251b20d7e0ad

See more details on using hashes here.

Provenance

The following attestation bundles were made for sari-2.0.13.tar.gz:

Publisher: release-pypi.yml on BaeCheolHan/sari

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for sari-2.0.13-py3-none-any.whl
Algorithm Hash digest
SHA256 fc216fd3f46614a751df62ba5be9c5438c95957d8e5ea096020606b81e15a545
MD5 776e60e1465edc21f8202f5c750f3a40
BLAKE2b-256 748a33dccfe4131087902a52fe0b602a8382864e1b23b775106d64fb0064148b

See more details on using hashes here.

Provenance

The following attestation bundles were made for sari-2.0.13-py3-none-any.whl:

Publisher: release-pypi.yml on BaeCheolHan/sari

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page