Prompt is not intercepted
Prompt is not intercepted
- Make sure your prompt starts with
/eispatchor/dispatch(alsoeispatch:ordispatch:). - 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.
Composer URL is not shown (Codex or Claude Code)
Composer URL is not shown (Codex or Claude Code)
- 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 tooldispatch_composeornpm run previewinstead of showing a URL. - If
EISPATCH_NO_SPAWN=1is 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 previewstarts the standalone preview server (demo/server.mjs) onhttp://127.0.0.1:4177. It is for UI inspection, not a replacement for a hook-launched Local Composer session.
Composer page stopped responding
Composer page stopped responding
- A Local Composer started by the Codex or Claude Code hook closes after 30 minutes without requests.
- Send the
/eispatchprompt again to start a new session with a new URL and token.
401 error from the Local Composer
401 error from the Local Composer
- The
X-EISPATCH-Tokensession 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.
403 error on dispatch
403 error on dispatch
- 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, orRefererthan the composer’s loopback address. Use the exact URL from the host output.
409 error on dispatch
409 error on dispatch
- 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).
Clipboard copy failed
Clipboard copy failed
- If the browser clipboard API is unavailable, the composer selects the approved prompt text automatically.
- Copy it manually with
Ctrl+C(orCmd+C) and paste it into the agent.
Pasted prompt is blocked again
Pasted prompt is blocked again
- 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.
Loaded library prompt is not dispatchable
Loaded library prompt is not dispatchable
- Loading a prompt from the library resets its approval state to Draft.
- Review the prompt, then click Approve before dispatching.
Missing capabilities warning after reload
Missing capabilities warning after reload
- 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.
Library lock timeout
Library lock timeout
- 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.
Node version errors
Node version errors
- EISPATCH requires Node.js 20 or later.
- Run
node --versionand upgrade if needed.
Moved repo after install
Moved repo after install
- Installers reference absolute paths inside the cloned repository. If you move the repo, those paths break.
- Rerun the relevant installer from the new location.
Claude Code check errors
Claude Code check errors
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.
Theme forcing for preview
Theme forcing for preview
- When running
npm run preview, append#theme=darkor#theme=lightto the URL to override the defaultprefers-color-schemebehavior.
End-to-end verification
Run the built-in verification script: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:- Open an issue on GitHub: https://github.com/FrameScope/eispatch/issues
- Email the maintainers: framewireio@gmail.com