Best-effort Anthropic continuation. Canonical history stays with the session.
Best-effort Anthropic continuation. Canonical history stays with the session.
(accept! state)Commit the cursor only after the complete logical response passes validation.
Commit the cursor only after the complete logical response passes validation.
(complete! state body headers send! {:keys [delta-count reset?]})Send a thread request. Replay protocol misses once; keep normal retries outside.
Send a thread request. Replay protocol misses once; keep normal retries outside.
(discard! state)Discard a consumed cursor and any response that the caller did not accept.
Discard a consumed cursor and any response that the caller did not accept.
(request-plan state body headers delta-count reset? now)Plan a create or a delta request. Free request fields do not reset a thread.
Plan a create or a delta request. Free request fields do not reset a thread.
(validate-turn! state delta-count message-count)Reject empty completed turns and new input while the server turn is paused.
Reject empty completed turns and new input while the server turn is paused.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |