Liking cljdoc? Tell your friends :D

com.blockether.vis.internal.council.core

Project messages; an explicit ping wakes an idle peer or a managed subagent.

Project messages; an explicit ping wakes an idle peer or a managed subagent.
raw docstring

acknowledge-input!clj

(acknowledge-input! db sid active iteration-key)

A returned model invocation acknowledges its notifications, not its required replies.

A returned model invocation acknowledges its notifications, not its required replies.
sourceraw docstring

append-inputclj

(append-input messages batch)
source

awaits-person?clj

(awaits-person? env)

True when the final answer of env leaves a child question open for the person. The turn then ends suspended, and the question stays pending for the next turn.

True when the final answer of `env` leaves a child question open for the person. The turn
then ends suspended, and the question stays pending for the next turn.
sourceraw docstring

binding-infoclj

(binding-info db sid opts)
source

default-groupclj

(default-group db sid)

The persisted project or repository group, shared by trunk and isolated workspaces.

The persisted project or repository group, shared by trunk and isolated workspaces.
sourceraw docstring

default-page-entriesclj

source

enabled?clj

(enabled? & _)
source

get-entryclj

(get-entry db sid opts)
source

input-messageclj

(input-message batch)
source

install-runtime!clj

(install-runtime! reader)

Install the gateway registry projection, not a second presence registry.

Install the gateway registry projection, not a second presence registry.
sourceraw docstring

install-waker!clj

(install-waker! eligible? wake!)

Install the owning runtime's idle-ping dispatcher. No independent scheduler.

Install the owning runtime's idle-ping dispatcher. No independent scheduler.
sourceraw docstring

membersclj

(members db snapshot sid opts)
source

pending-repliesclj

(pending-replies db sid gid input-state)

Delivered obligations only. Reading the log or editing Python session metadata cannot clear them. An open child question stays due until it has a reply, also when its ping was interrupted.

Delivered obligations only. Reading the log or editing Python session metadata cannot clear them.
An open child question stays due until it has a reply, also when its ping was interrupted.
sourceraw docstring

prepare-input!clj

(prepare-input! db sid activation gid input-state iteration-key byte-budget)

Retain a bounded batch per invocation. Required replies remain due until a correlated reply commits.

Retain a bounded batch per invocation. Required replies remain due until a correlated reply commits.
sourceraw docstring

promptclj

(prompt _env)
source

publish!clj

(publish! db
          snapshot
          {:keys [session-id activation-id source source-ref self-wake?]}
          opts)

Publish atomically, ignoring continuation titles before validation and idempotency checks. No-ping thread replies answer the latest request addressed to their author.

Publish atomically, ignoring continuation titles before validation and idempotency checks.
No-ping thread replies answer the latest request addressed to their author.
sourceraw docstring

read-entriesclj

(read-entries db sid opts)
source

reply-errorclj

(reply-error env)

An outstanding delivered request vetoes final completion, not intermediate tool work. In an interactive session, an open child question does not: the model can ask the person first.

An outstanding delivered request vetoes final completion, not intermediate tool work. In an
interactive session, an open child question does not: the model can ask the person first.
sourceraw docstring

retire-input!clj

(retire-input! sid input-state)

Release an activation's pending lookup and retry cache. A retired input-state cannot be reused, including by a worker retaining the old activation.

Release an activation's pending lookup and retry cache. A retired input-state
cannot be reused, including by a worker retaining the old activation.
sourceraw docstring

runtimeclj

(runtime db)
(runtime db sid)
source

session-groupclj

(session-group db {:keys [id project-id group-id owner-id]})

Resolve a persisted session's Council group without changing its UI project assignment. The human's own GROUP wins when the session has one: a group NARROWS the boundary, so the sessions filed under "Release apps" talk to each other instead of to the whole project. Without a group, the project; without a project, the owning repository, never a draft's root.

Resolve a persisted session's Council group without changing its UI project
assignment. The human's own GROUP wins when the session has one: a group
NARROWS the boundary, so the sessions filed under "Release apps" talk to
each other instead of to the whole project. Without a group, the project;
without a project, the owning repository, never a draft's root.
sourceraw docstring

session-pending-repliesclj

(session-pending-replies env)
source

source-refclj

(source-ref env)

Snapshot the publishing execution, not Python's mutable session dictionary. The iteration row is allocated after execution and linked by the store.

Snapshot the publishing execution, not Python's mutable session dictionary.
The iteration row is allocated after execution and linked by the store.
sourceraw docstring

threadsclj

(threads db sid opts)
source

utf8-sizeclj

(utf8-size s)
source

wake!clj

(wake! db snapshot {:keys [session-id] :as actor} opts)

Publish a trusted extension/SDK event to its bound session, even between activations. Active sessions receive an ordinary ping; an idle bound session starts a Council turn. Identity comes from the host binding.

Publish a trusted extension/SDK event to its bound session, even between activations.
Active sessions receive an ordinary ping; an idle bound session starts a Council turn.
Identity comes from the host binding.
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