Liking cljdoc? Tell your friends :D

com.blockether.vis.internal.council.core

Project-scoped conversation with explicit pings that can wake idle sessions.

Project-scoped conversation with explicit pings that can wake idle sessions.
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

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

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

limitsclj

source

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.

Delivered obligations only. Reading the log or editing Python session metadata cannot clear them.
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. No-ping thread replies answer the latest request addressed to their author.

Publish atomically. No-ping thread replies answer the latest request addressed to their author.
sourceraw docstring

read-entriesclj

(read-entries db sid opts)
source

record-failure!clj

(record-failure! env entry execution)

Record each failed python_execution once, independently of Council delivery/toggles. Shared content carries coordinates, not raw code, stdout or exception messages.

Record each failed python_execution once, independently of Council delivery/toggles.
Shared content carries coordinates, not raw code, stdout or exception messages.
sourceraw docstring

reply-errorclj

(reply-error env)

An outstanding delivered request vetoes final completion, not intermediate tool work.

An outstanding delivered request vetoes final completion, not intermediate tool work.
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 owner-id]})

Resolve a persisted session's group without changing its UI project assignment. Explicit ownership wins; otherwise use the owning repository, never a draft's root.

Resolve a persisted session's group without changing its UI project assignment.
Explicit ownership wins; otherwise use 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; eligible idle sessions start a Council turn. Session identity comes from the host binding, never request fields. Retries do not redispatch.

Publish a trusted extension/SDK event to its bound session, even between activations.
Active sessions receive an ordinary ping; eligible idle sessions start a Council turn.
Session identity comes from the host binding, never request fields. Retries do not redispatch.
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