* feat(proto-python): add script-generated Python gRPC stubs, Go-like client, docs, and PyPI publish workflow
- add scripts/build-python-proto.mjs
- invokes python -m grpc_tools.protoc over proto/**/*.proto
- outputs to src/generated/grpc-python
- mirrors Go layout under client/: connection.py, cline_client.py, services/_client.py
- supports PYTHON env override (use a venv interpreter easily)
- generates src/generated/grpc-python/pyproject.toml so output can be pip installed (pip install -e src/generated/grpc-python)
- package.json
- add protos-python script to run the generator
- docs
- add docs/exploring-clines-tools/python-protos.mdx with venv setup, generation steps, and import examples
- emphasize: everything in src/generated is produced by scripts (do not commit manual edits)
- CI: publish to PyPI only
- add .github/workflows/publish-grpc-python.yml
- workflow generates code via script, builds wheel/sdist from src/generated/grpc-python, and uploads to PyPI
- requires repo secret: PYPI_API_TOKEN (TWINE_USERNAME=__token__)
- optional version override input for workflow_dispatch
Notes:
- generation strictly produces all content under src/generated/grpc-python (including pyproject.toml)
- default package name in generated pyproject is cline-grpc-python (adjustable in the script if needed)
- recommended usage on macOS: PYTHON=/Users/nturumel/projects/oracle-github/cline/.venv-proto/bin/python npm run protos-python
* Delete .github/workflows/publish-grpc-python.yml
* Delete docs/exploring-clines-tools/python-protos.mdx
* Update tired-banks-show.md
---------
Co-authored-by: Andrei Eternal <206184+Garoth@users.noreply.github.com>