Liking cljdoc? Tell your friends :D

clj-agent-tui.agent

Pure agent event/effect boundary for clj-agent-tui shells.

Pure agent event/effect boundary for clj-agent-tui shells.
raw docstring

apply-eventclj

(apply-event state {:keys [type] :as event})

Apply an agent/runtime event to UI state.

Returns [state effects]; effects are data descriptions for the outer runtime, never executed here.

Apply an agent/runtime event to UI state.

Returns `[state effects]`; effects are data descriptions for the outer
runtime, never executed here.
sourceraw docstring

at-pathsclj

(at-paths text)

Extract simple @path references from text. Escaped/spaced paths are out of scope for this first runtime seam; the returned values exclude the leading @.

Extract simple @path references from text. Escaped/spaced paths are out of scope
for this first runtime seam; the returned values exclude the leading @.
sourceraw docstring

command-input?clj

(command-input? text)
source

shell-commandclj

(shell-command text)
source

shell-input?clj

(shell-input? text)
source

submit-user-inputclj

(submit-user-input state text)
(submit-user-input state
                   text
                   {:keys [commands] :or {commands commands/default-commands}})

Submit a user draft.

Slash commands are handled locally. Normal user messages are appended to history and return an :agent/send-message effect for an external runtime.

Submit a user draft.

Slash commands are handled locally. Normal user messages are appended to
history and return an `:agent/send-message` effect for an external runtime.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close