dp-zp-agent/packages/claude/rag/scripts/query.py

13 lines
414 B
Python

"""Entrypoint for the independently installable rag skill over ZP Wiki."""
from pathlib import Path
import sys
# Archives include client.py beside this file; sources share one maintained client.
if not (Path(__file__).resolve().parent / "client.py").is_file():
sys.path.insert(0, str(Path(__file__).resolve().parents[2]))
from client import main
if __name__ == "__main__":
raise SystemExit(main("rag"))