tree-sitter and tree-sitter-python provide pre-built wheels for
Windows/Mac/Linux on Python 3.10-3.12, so no compiler needed.
AST engine is now always installed with base package.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Restructure deps: move llama-cpp-python/tree-sitter to optional
(base install is pure Python, no compiler needed)
- Add __main__.py for pipx/python -m support
- Add GitHub Actions auto-publish on tag push
- Fix install scripts: correct package name, remove Ollama check,
add pipx priority
- Wrap ast_engine imports in try/except for graceful degradation
- Published v1.0.7 to PyPI: pip install kwcode
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Three-layer China network support:
1. Model download: auto-detect HuggingFace connectivity, switch to
ModelScope when unreachable. MODELSCOPE_MODELS mapping added.
2. Search: DDG primary, auto-fallback to cn.bing.com HTML scraping
when DDG fails (SEARCH-RED-5 revised). Zero API keys.
3. Fetch: all httpx calls now support KAIWU_PROXY/HTTPS_PROXY env var
and ~/.kaiwu/config.yaml proxy field.
New module: kaiwu/core/network.py — unified network detection + proxy config.
CLI shows network status hint on startup when China network detected.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>