Files
DeepTutor/packaging/deeptutor-cli
GMyhf 0021c4d207 fix: make prompt loading and capability failures terminal (#738)
* fix: make prompt loading and capability failures terminal

* fix: handle remote knowledge base file listings

* fix: proxy uploads to LightRAG servers

* fix: show remote LightRAG document status

* fix: clarify knowledge upload confirmation

* fix(knowledge): hide reindex for connected bases

* refactor: narrow this branch to the prompt-resource fix

Split out of the original PR so #737's two halves land separately:

- The terminal-failure change to runtime/orchestrator.py is already on dev
  via #732, which shipped the same turn_terminal/status metadata. Dropped
  here rather than merged twice.
- The LightRAG Server upload forwarding and remote document listing belong
  to #755, not #737. Preserved on origin/keep/738-lightrag-server for a
  follow-up PR against that issue.
- Dropped the third prompt fallback that read the adjacent YAML with
  pathlib+yaml directly. With the cache no longer poisoned by a miss,
  reload_prompts() recovers on its own, and PromptManager stays the only
  thing that knows how to locate a prompt file.

---------

Co-authored-by: Bingxi Zhao (Frank) <13051345080@163.com>
2026-08-06 22:20:11 +08:00
..

deeptutor-cli

CLI-only DeepTutor distribution. It installs the deeptutor command and the Python modules required for terminal workflows, RAG, document parsing, and model provider integrations, but it does not ship the packaged Next.js Web assets or FastAPI/Uvicorn server dependencies used by deeptutor start.

Install from the repository root when you want a local CLI-only environment:

python3 -m venv .venv-cli
source .venv-cli/bin/activate
python -m pip install --upgrade pip
python -m pip install -e ./packaging/deeptutor-cli

Keep the checkout in place after installation because editable installs point the deeptutor command at these source files.