Bỏ qua để đến nội dung

Doctor

Doctor là command chẩn đoán chính của Bestie.

Terminal window
bestie doctor
bestie doctor --json
bestie doctor --fix
bestie doctor --telegram-connect
bestie doctor --telegram-speech-test
  • Node.js version.
  • Required project files.
  • Config tồn tại và parse được.
  • .env tồn tại và permission an toàn.
  • LLM API key có mặt nhưng không in value.
  • SQLite memory database.
  • Character prompt.
  • Logs directory.
  • Telegram token/owner id nếu bật Telegram.
  • Attachment storage và cleanup guidance.
  • Transcription/speech readiness nếu bật.
  • MCP config và missing tool classifications.

--fix chỉ sửa local safe issues:

  • tạo .bestie/, .bestie/logs/, .bestie/data/
  • init/migrate SQLite database
  • chỉnh permission .env và app logs

--fix không overwrite config, prompts hoặc secrets.

  • Exit 0 nếu không còn failing issue.
  • Exit 1 nếu còn lỗi fail.
  • Warnings không làm exit fail.