Skip to content
Troubleshooting

Troubleshooting

Separate accepted work, extension refusals and host failures.

The prompt was accepted but there is no reply

Section titled “The prompt was accepted but there is no reply”

Acceptance is a durable commit, not a model result. Check that the host is still open, reconciliation is bound and the host requests a wake after admitting work. Read the Session’s current work and observations before submitting a second prompt. Reusing the same request identity and input replays its receipt; changing the input under that identity is a conflict.

ExtensionStop carries the extension’s reason. Fix that cause, then use agent.extensions.resume(id). An asynchronous boundary inside a transaction hook or command is a defect: move asynchronous work outside the transaction and submit the result through the admitted command path.

ExtensionCommandError identifies an expected command failure such as invalid, conflict, not_found or rejected. Check the command input, the current Session and the extension’s grants. Do not retry a changed input under the same request identity.

A request with requireExistingSession must name an existing Session. The AdmissionError reason closed is a refusal, not successful work waiting to run. Decide whether the caller should address an existing Session or use the normal creation path.

A host that supplies extension Files must also supply gateTool. Shiitake checks the exact tool call before execution. A missing gate is a host setup error; removing the check does not fix permission.

A client-entry decode failure retires that entry rather than the entire client. Compare its contract and projection schemas with the host’s current definition. Check the entry’s own error evidence before changing unrelated extensions.

Keep the typed failure and its cause at the host boundary. A deterministic faux-model test checks orchestration without a provider account; it cannot prove live provider availability or billing.

See the public API reference for the exact error and operation types.