Skip to content

Claude/add uninstall script k8 t tc#15

Merged
mukeshkumarcharak merged 2 commits into
mainfrom
claude/add-uninstall-script-K8TTc
Mar 12, 2026
Merged

Claude/add uninstall script k8 t tc#15
mukeshkumarcharak merged 2 commits into
mainfrom
claude/add-uninstall-script-K8TTc

Conversation

@mukeshkumarcharak

Copy link
Copy Markdown
Contributor

No description provided.

claude added 2 commits March 12, 2026 04:38
The pydantic-core SOABI patching in _create_termux_native_stubs was
hardcoded for Python 3.12 (--python-version 312, --abi cp312, and
cpython-312 in sed patterns). When Termux upgraded to Python 3.13,
the downloaded .so files had the wrong SOABI suffix, causing
"No module named 'pydantic_core._pydantic_core'" at Pilot startup.

Now detects the actual Python major.minor version at runtime and uses
it for pip download flags and the SOABI renaming sed pattern.

https://claude.ai/code/session_019ktqAbGXnFrFD52W4qG2Yu
The API server only handled /api/v1/* endpoints, so opening
http://127.0.0.1:8080 in a browser showed raw API JSON instead
of the chat GUI.

Changes to api/server.py:
- Add _serve_gui_file() method to serve static files from gui/
  directory with proper MIME types and path traversal protection
- Route root (/) and non-API paths to the GUI static file handler
- Keep /api and /api/v1 as API documentation endpoints
- Exempt GUI static files from API key auth
- Update server banner to show GUI URL

No separate HTTP server needed — the GUI is now served alongside
the API on the same port.

https://claude.ai/code/session_019ktqAbGXnFrFD52W4qG2Yu
@mukeshkumarcharak mukeshkumarcharak merged commit 8e5dbf2 into main Mar 12, 2026
0 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants