application-agent/presentations.lisp
The compact textual view a language model reads.
A short view suitable for an old-turn trace.
The rich retained view used by an agent transcript UI.
Handles are per-agent capabilities. Releasing their table atomically revokes every capability and prevents an in-flight turn from retaining fresh application objects after its owner has stopped.
ABCDEFGHJKLMNPQRSTUVWXYZ23456789
Return object's short id in table, minting one on first mention.
Return the object id names in table and whether it was present.
A leading # is accepted. Released or absent tables resolve no capability.
JSON Schema is an open protocol over CLIM presentation-type names. A new application domain contributes one EQL method; the command-tool code never needs a typecase or an application dependency.
Return name with parameters as a CL-JSON alist containing JSON Schema.
Return a schema for a symbol or parameterized presentation specifier.
Text for the provider. Folding is a presentation policy, never a command implementation policy, and the full object remains reachable by handle.
Present object under view, append a capability handle, and fold long text.
The compact textual view a language model reads.
A short view suitable for an old-turn trace.
The rich retained view used by an agent transcript UI.
ABCDEFGHJKLMNPQRSTUVWXYZ23456789
A simple Org table without formulas.
(&optional (count "12"))Print COUNT fresh figure IDs that no page uses (default 12); never six hex digits, which the reader takes for a colour.
The HANDLE-TABLE dynamically current while an agent command is handled.
(number)The non-negative remainder of integer division.
(object &optional (table *handles*))Logical disjunction of tests and raw truth values.
Addition over compatible quantities.
(id &optional (table *handles*))Return the object ID names in TABLE and whether it was present. A leading # is accepted. Released or absent tables resolve no capability.
(table)Headings, paragraphs, figures and their IDs, mentions, marks.
Logical conjunction of tests and raw truth values.
(queue swapchain image-index
&key (wait-semaphores #()) present-id present-stage time-domain-id
target-time target-time-domain-present-stage)(name &rest parameters)Return NAME with PARAMETERS as a CL-JSON alist containing JSON Schema.
Convert one scalar float or unsigned value to a 32-bit float.
(text)Test whether one compatible scalar is at most another.
Subtraction or unary negation.
(object)(object &key (type (presentation-type-of object))
(view +model-view+))
A tool result remains a semantic object. These views say how a model, trace, or retained developer surface reads it; no provider JSON leaks into the application command itself.