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.11

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.12.tar.gz (397.1 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.12-py3-none-any.whl (529.2 kB view details)

Uploaded Python 3

File details

Details for the file sari-2.0.12.tar.gz.

File metadata

  • Download URL: sari-2.0.12.tar.gz
  • Upload date:
  • Size: 397.1 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.12.tar.gz
Algorithm Hash digest
SHA256 7738738fdd835ae4787a9446febed9662611860331e0c77cf5eb52de5a779f77
MD5 5dc1ecc895b54d40c6e1089ba648dccb
BLAKE2b-256 60d9fa6ad56e1ba8868b74f88a97a37f6a8245d41a82b1b209c048c43f2d7c45

See more details on using hashes here.

Provenance

The following attestation bundles were made for sari-2.0.12.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.12-py3-none-any.whl.

File metadata

  • Download URL: sari-2.0.12-py3-none-any.whl
  • Upload date:
  • Size: 529.2 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.12-py3-none-any.whl
Algorithm Hash digest
SHA256 d6d1f67f2ffff6a9ce0da5644402706196de31bc09bcd327ae9ae21eec583b56
MD5 12dde5f808bedfe710c68bfbf363ad7b
BLAKE2b-256 5903eae3dfec68bb134992be3bdc7af57817691e01b25355170a07781d918c88

See more details on using hashes here.

Provenance

The following attestation bundles were made for sari-2.0.12-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