You can preview the composer without an agent hook. Run
npm run preview from the repo and open http://127.0.0.1:4177. Append #theme=dark or #theme=light to force a theme.Interactive canvas
The canvas is the main workspace. You can pan, zoom, and drag nodes freely. Use the Align and Fit controls to tidy the layout, and Clear to reset the canvas and start over. Bezier connectors run from the prompt node to each selected capability, so the relationship is visible at a glance. The canvas adapts to light and dark themes viaprefers-color-scheme, or you can force a theme with the URL hash above.
Capabilities drawer
Open the collapsible and resizable Capabilities drawer to browse and select optional extras: MCP servers, skills, plugins, and bots or subagents. Each list is searchable. EISPATCH recommends capabilities with a star icon. Recommendations are scored from metadata in the active host, never from external AI services. Tooltips show discovered metadata (names, descriptions, and intended use). Descriptions pass through pattern-based redaction of URLs and common credential formats. When you select a capability, an instruction is suggested automatically. The wording depends on the capability kind and the detected intent of the prompt; the default for an MCP server is:Final Prompt drawer
The collapsible Final Prompt drawer shows the compiled prompt that will be sent to the agent. You can edit it directly. When you make a manual edit, an overwrite guard protects your change from being overwritten by later regeneration. Manually edited final prompts are sent verbatim.Approval and dispatch controls
The bottom toolbar controls the lifecycle of a prompt:- Edit unlocks the prompt for changes and invalidates any existing approval.
- Approve locks the current prompt and capabilities.
- Dispatch sends the approved prompt to the agent. It works once per approval, and is disabled until you approve again after any change.
- Cancel abandons the current session.
- Send Original Prompt sends your original prompt unmodified. It requires confirmation twice to prevent accidental bypass.
Language support
The composer, recommender, and task breakdown support general Unicode text. The recommender specifically supports English, Nepali in Devanagari, and romanized Nepali. Tooltip localization varies by host and capability metadata.Keyboard and accessibility
- Pan the canvas by clicking and dragging the background.
- Drag nodes to reposition them.
- Scroll or pinch to zoom.
- Use Align and Fit to auto-arrange nodes after manual changes.