Reference

Troubleshooting

Diagnose diri problems with dirijor doctor, find logs and state on macOS and Linux, fix common agent and remote issues, and file a useful bug report.

Start with dirijor doctor, then check the problem list below. If you still need help, file a bug with the diagnostics report from Settings.

Run dirijor doctor

dirijor doctor checks the parts of diri that run without the window:

Terminal
/Applications/diri.app/Contents/Resources/bin/dirijor doctor

On Linux, run dirijor doctor. The output looks like this:

text
✓ Rust Engine reachable (build ..., pid 4242, proto 1)
✓ Claude Code (claude) found at /Users/you/.local/bin/claude
✗ Aider (aider) not found on PATH
✓ state file present at /Users/you/Library/Application Support/Dirijor/state.json
LineMeaning
Engine reachableThe background Engine answers on its socket. If it is unreachable, doctor exits with code 4.
Agent found or not foundWhether each known agent's command is on the PATH of the shell you ran doctor from.
State fileWhether the Engine's saved session state exists.

Agent checks use your terminal's PATH. Settings → Agents shows what diri itself detected, which is the result that counts. See the CLI reference for every command.

Logs and state

PlatformWhatPath
macOSEngine state, sockets, host config, manifest overrides~/Library/Application Support/Dirijor
macOSEngine log~/Library/Application Support/Dirijor/logs/dirijord.log
macOSDiagnostics log~/Library/Application Support/Dirijor/telemetry/spool
macOSApp preferences and caches~/Library/Application Support/diri
macOSDownloaded updates~/Library/Caches/diri/updates
LinuxSession state and logs~/.local/state/diri
LinuxEngine log~/.local/state/diri/logs/dirijord.log
LinuxHost config, preferences, manifest overrides~/.config/diri
LinuxData~/.local/share/diri
LinuxCache~/.cache/diri

On Linux the XDG_* variables override these roots. On a remote host, each session's files are under ~/.local/state/diri/sessions/ and helpers under ~/.cache/diri/bin/.

Common problems

An agent is not detected

  1. Open Settings → Agents and click Refresh.
  2. Check that the agent runs in a new terminal window. diri reads the PATH from your login shell, then looks in common user install folders such as pnpm, Bun, Cargo, mise and Volta.
  3. If it is installed somewhere unusual, click Add… next to the agent and choose its executable.

For a remote host, pick the host under Execution target first. The agent has to be installed on the server and on the PATH of your login shell there.

A tab shows a shell instead of the agent

Most agents return to your login shell when they exit, so the tab stays useful. Scroll up to see why the agent stopped. To start it again, type its command or use the exit card's Resume Conversation where offered.

If a custom agent opens a bare shell from the start, its manifest may have failed to load. A malformed manifest file is skipped without an error dialog. Check the file name, id and JSON against Add your own agent.

A session shows as exited

The agent's process ended. The pane shows why, with Resume Conversation for agents that can resume, or Restart Terminal for shells. Agents that resume only the "latest in folder" conversation can reopen a different one if you used them elsewhere in the same folder. See the resume column in Supported agents.

Status looks wrong

Open Session Inspector → Info → Why Diri thinks this and click Copy status debug info. It shows which detection rule matched and its timing, without a screenshot or your prompt. Paste it into a bug report.

Agent output has no colour

diri sets TERM=xterm-256color and COLORTERM=truecolor for every agent it starts and removes inherited NO_COLOR, FORCE_COLOR, CLICOLOR and CLICOLOR_FORCE. If an agent is still monochrome, check whether your own shell startup files or the agent's settings turn colour off.

Remote errors

ErrorWhat to do
remote_transport_unavailableThis build cannot run remote sessions. Install an official release.
unsupported remote platformUse a Linux x86_64, Linux aarch64 or Apple silicon macOS server.
No detach on a remote sessionThe host may stop sessions when SSH disconnects. Stay connected or use another host.
Connection lost · Last received screendiri is reconnecting. Click Reconnect to retry now.
Prompt for password never appears (Linux)Install zenity or kdialog, or use key-based login.

More in Remote hosts.

Report a bug

  1. Check for an existing issue and try the latest release.
  2. Open Settings → General → Support and click Copy diagnostics. Review the preview, then paste it into the issue. It includes app, platform and Engine details, agent availability, remote host reachability and storage reachability. It does not include raw logs.
  3. Or choose Help → Report a Problem…. It marks the moment in the diagnostics log, sends it, copies your Support ID and opens a GitHub issue with the ID filled in.

File it with the bug report form. Include:

  • Steps to reproduce, what you expected and what happened.
  • diri version, OS version and how you installed diri.
  • The agent CLI's version, and whether the session was local or on an SSH host.
  • On macOS, your chip. For Linux display problems, the display server, desktop environment, GPU and driver.

Questions about setup and workflows go to Discussions. Report security problems privately, as described in the security model.