Skip to main content
This page collects the most common issues and how to resolve them.
  • Make sure your prompt starts with /eispatch or /dispatch (also eispatch: or dispatch:).
  • For Codex, Claude Code, and OpenCode, confirm that the installer ran successfully: node scripts/install-<host>.mjs --check.
  • Start a new host session after installation so the host loads the new hook or plugin.
  • Codex, Claude Code, and OpenCode support EISPATCH_AUTO_INTERCEPT=1, which intercepts every prompt without a prefix. If it is unset, you must use the prefix.
  • OpenCode support is experimental. If the plugin does not trigger, see OpenCode.
  • The hook waits up to 2.5 seconds for the launcher (core/launch-local-composer.mjs) to write its ready file. If the server starts slower than that, the block message tells you to use the MCP tool dispatch_compose or npm run preview instead of showing a URL.
  • If EISPATCH_NO_SPAWN=1 is set, the hook never starts the Local Composer and always shows that fallback message. Unset it to get a composer URL. This variable only affects the Codex and Claude Code hooks.
  • npm run preview starts the standalone preview server (demo/server.mjs) on http://127.0.0.1:4177. It is for UI inspection, not a replacement for a hook-launched Local Composer session.
  • A Local Composer started by the Codex or Claude Code hook closes after 30 minutes without requests.
  • Send the /eispatch prompt again to start a new session with a new URL and token.
  • You must click Approve before Dispatch is enabled.
  • If you edit the prompt, select new capabilities, or change tasks after approving, the approval is invalidated. Approve again.
  • The X-EISPATCH-Token session token is missing or does not match this server. Each Local Composer session has its own token.
  • Open the composer URL printed by the current hook run instead of an old tab.
  • No approval token was sent, or the approval is no longer active (for example, the prompt was recompiled after approval). Click Approve again, then Dispatch.
  • A 403 can also mean the request used a different Host, Origin, or Referer than the composer’s loopback address. Use the exact URL from the host output.
  • Replay: the approval token was already used or revoked. Approve again.
  • Integrity mismatch: the prompt sent for dispatch differs from the approved prompt (SHA-256 mismatch). Approve the current text, then dispatch.
  • These checks exist only in the Local Composer (Codex, Claude Code, OpenCode).
  • If the browser clipboard API is unavailable, the composer selects the approved prompt text automatically.
  • Copy it manually with Ctrl+C (or Cmd+C) and paste it into the agent.
  • Hooks pass through any prompt that contains <!-- DISPATCH_COMPILED_PROMPT. Make sure the marker line was copied.
  • If you rewrote the Final Prompt manually and removed the marker, add it back or approve a regenerated prompt.
  • Loading a prompt from the library resets its approval state to Draft.
  • Review the prompt, then click Approve before dispatching.
  • The library validates stored capability selections against the current host environment on reload.
  • If a capability was uninstalled or renamed, the composer reports it as missing. Remove or replace it, then save.
  • Another process may hold ~/.eispatch/library.json.lock.
  • A writer waits up to 3 seconds and then fails with Timed out waiting for library lock. A lock file older than 10 seconds is treated as stale and removed on the next attempt.
  • Retry the action after a few seconds.
  • EISPATCH requires Node.js 20 or later.
  • Run node --version and upgrade if needed.
  • Installers reference absolute paths inside the cloned repository. If you move the repo, those paths break.
  • Rerun the relevant installer from the new location.
Common messages from the Claude Code installer’s --check output:
  • Missing Claude Code installation file: install Claude Code first.
  • Claude Code .claude.json missing valid mcpServers.eispatch entry: the MCP server was not registered. Re-run the installer.
  • Claude Code settings.json missing EISPATCH UserPromptSubmit hook: the hook entry was not merged. Re-run the installer.
  • When running npm run preview, append #theme=dark or #theme=light to the URL to override the default prefers-color-scheme behavior.

End-to-end verification

Run the built-in verification script:
or:
According to the README, the suite tests PreInvocation hook capture, recursion prevention, self-exclusion, English and Nepali recommendations, manual final-prompt preservation, and the MCP Apps stdio protocol.

Getting help

If the fixes above do not resolve your issue: Include the host (Codex, Claude Code, OpenCode, or Antigravity), the exact error message or behavior, and what you have already tried.