Eve
Render an Eve conversation and respond when a turn needs human input.
Connect an Eve session
Install Ghost UI and its view dependencies, then add the Eve release candidate used here.
Configure Eve using its server and framework setup. Mount a new keyed hook when replacing the session or connection settings. Eve 0.x uses a different event format.
Pass { agent: "support" } for a named same-origin agent, or { baseUrl: "/api" } for your proxy; do not combine them. The identity must name the application/native session context, not a display label. Keep native session lifecycle in the owner that supplies these options.
Acceptance, completion and human input
send() resolves when Eve accepts delivery. Follow the native event log to tell when work finishes. Use Eve’s follow or resume APIs to recover progress. A turn paused for human input may report idle. Ghost reads canCancel from activeTurn(eve.view) to decide whether Stop is available.
Interaction parts remain explicit eve-interaction data, separate from tool execution. Render their validated options in your application and send the actual native answer. Approval, clarification and a tool result have different payloads; do not manufacture a boolean approval from an arbitrary interaction.
Troubleshooting
A successful send with unfinished work may be an accepted delivery; inspect the native view rather than marking execution complete. A disabled stop may mean there is no active turn. A changed baseUrl or session option needs a replacement owner, not only new props. See threads, adapters and stability for the shared contracts.