본문으로 건너뛰기

Doctor

번역 준비 중

이 쪽은 아직 한국어로 옮기지 않았습니다. 아래는 영어 원문입니다.

elanous doctor tells you what this machine still needs. It never changes anything unless you ask it to (the one exception: with --fix on a terminal it may offer to install git, and waits for your answer).

elanous doctor

What it reports​

  1. Credentials — for each key elanous can use (for example OPENAI_API_KEY, XAI_API_KEY, TELEGRAM_BOT_TOKEN): whether it resolves, where it came from, which capability needs it, and the free alternative if there is one (often a subscription login such as elanous login openai-codex).
  2. Tools — the external commands elanous calls (rg, git, python3, ssh, …) and whether each is on PATH. See External commands.
  3. Readiness — one line per check, each ending in ok, manual, or a problem, with the fix at the end of the line. Checks include:
CheckWhat it looks at
provider-decisionWhich LLM provider is configured
gh-authWhether gh auth status succeeds (needed for pull requests)
harness-toolsrg, codex and node on PATH
install-pathWhether you run an installed copy or a checkout
service-versionWhether the background service runs the same version as this copy
bun-versionWhether your Bun matches the tested version
service-file · service-secretsThe service definition uses a stable path and carries no provider keys
build-toolchain · node-ptyThe compiler and the terminal library load
python-envThe Python environment and its required modules
docker · kubernetes · memoryOptional container runtime, cluster and available memory
bun-tmpdirTMPDIR and Bun's cache are on the same filesystem (Linux)

The last line counts what is left to do.

Fixing things​

elanous doctor --fix # show the repairs it would make
elanous doctor --fix --yes # apply them
elanous doctor --fix --yes --sudo # also run the planned sudo install lines (only where sudo works without a password)
OptionWhat it does
--fixShow reversible repairs. On a terminal it may offer to install a missing git; everything else needs --yes
--yesApply the planned repairs (with --fix)
--sudoAlso run the planned sudo install lines, only where sudo -n true works (with --fix --yes)
--restartRestart the background service when it runs a different version than this copy, then verify it (with --fix --yes; interrupts bots, terminals and running turns)
--credentialsShow details for each credential in the normal output
--adviseAsk your configured model to rank the suggested repairs (advice only; changes nothing)
--jsonStructured output

⚠️ Some headings and remedies are still printed in Korean. The check names and the ok / manual status are in English.

See also: Install · Troubleshooting.