The transcript port: what a subagent actually exchanged with its model.
The roster says that an agent is working and what it last shouted. It cannot say what was said. hive-agent persists every turn per agent and indexes it for vector search; this is the adapter over that store, resolved lazily at call time, so Olympus keeps no compile-time dependency on hive-agent and answers an empty log while it is absent.
Pure projection (entry->exchange, answer) is separated from the
boundary (store-of, live-transcript-port) so the rendering and the
tool can be tested against a stub store with no agent in the loop.
The transcript port: what a subagent actually exchanged with its model. The roster says that an agent is working and what it last shouted. It cannot say what was said. hive-agent persists every turn per agent and indexes it for vector search; this is the adapter over that store, resolved lazily at call time, so Olympus keeps no compile-time dependency on hive-agent and answers an empty log while it is absent. Pure projection (`entry->exchange`, `answer`) is separated from the boundary (`store-of`, `live-transcript-port`) so the rendering and the tool can be tested against a stub store with no agent in the loop.
(answer agent-id entries limit)ENTRIES as an exchange answer for AGENT-ID: newest turn first, at most
LIMIT of them, each projected by entry->exchange.
ENTRIES as an exchange answer for AGENT-ID: newest turn first, at most LIMIT of them, each projected by `entry->exchange`.
(clip s)S as one bounded line-preserving string, or nil when it says nothing. Returns [text full-length clipped?].
S as one bounded line-preserving string, or nil when it says nothing. Returns [text full-length clipped?].
How many exchanges an answer carries when the caller names no limit.
How many exchanges an answer carries when the caller names no limit.
Qualified symbol of hive-agent's store opener. An agent's store is deregistered when its session ends, so reopening it from disk is what keeps a finished ling readable.
Qualified symbol of hive-agent's store opener. An agent's store is deregistered when its session ends, so reopening it from disk is what keeps a finished ling readable.
(entry->exchange entry)One stored transcript entry as a flat exchange map. Absent facts are omitted rather than carried as nil.
One stored transcript entry as a flat exchange map. Absent facts are omitted rather than carried as nil.
Qualified symbol of hive-agent's live store lookup.
Qualified symbol of hive-agent's live store lookup.
Qualified symbol of the semantic-search protocol. A structural-only store does not satisfy it, which is a different answer from having no store.
Qualified symbol of the semantic-search protocol. A structural-only store does not satisfy it, which is a different answer from having no store.
(live-transcript-port)(live-transcript-port resolve)The transcript port over hive-agent's store. RESOLVE is (fn [sym] -> var
or nil), default a guarded requiring-resolve.
Answers {:conversation f :search f}, each (fn [params] -> answer map), where params carry :agent-id, :project-id, :limit, and for a search a :query. Every failure is an {:error ...} answer: an observer's question never throws into the vessel.
The transcript port over hive-agent's store. RESOLVE is (fn [sym] -> var
or nil), default a guarded `requiring-resolve`.
Answers {:conversation f :search f}, each (fn [params] -> answer map),
where params carry :agent-id, :project-id, :limit, and for a search a
:query. Every failure is an {:error ...} answer: an observer's question
never throws into the vessel.Longest message body an exchange carries. The full length travels beside it, so a clipped message is visibly clipped.
Longest message body an exchange carries. The full length travels beside it, so a clipped message is visibly clipped.
Qualified symbol of the ITranscriptStore method answering every entry.
Qualified symbol of the ITranscriptStore method answering every entry.
(result->entries r)The entries of a hive-agent Result R, as {:entries [...]} or {:error ...}. Reads the Result shape structurally rather than depending on the library that builds it: an :ok key is success even when it holds no entries.
The entries of a hive-agent Result R, as {:entries [...]} or {:error ...}.
Reads the Result shape structurally rather than depending on the library
that builds it: an :ok key is success even when it holds no entries.Qualified symbol of the ITranscriptIndex method ranking entries.
Qualified symbol of the ITranscriptIndex method ranking entries.
(searchable? index store)Whether STORE answers semantic search. INDEX is the resolved protocol, or nil when hive-agent is absent -- the question cannot be asked then, so the store is given the benefit of the doubt and any failure surfaces as an error answer instead of a refusal.
Whether STORE answers semantic search. INDEX is the resolved protocol, or nil when hive-agent is absent -- the question cannot be asked then, so the store is given the benefit of the doubt and any failure surfaces as an error answer instead of a refusal.
Qualified symbol of the ITranscriptStore method answering a turn cursor.
Qualified symbol of the ITranscriptStore method answering a turn cursor.
(store-of resolve agent-id project-id)The transcript store for AGENT-ID, reopening it under PROJECT-ID when the live registry no longer holds one. nil when hive-agent is absent or has nothing for this agent.
The transcript store for AGENT-ID, reopening it under PROJECT-ID when the live registry no longer holds one. nil when hive-agent is absent or has nothing for this agent.
(tool-call-names tool-calls)The names of TOOL-CALLS, in order, without their arguments. The arguments are what makes a transcript unreadable at a glance; the names are what an observer scans for.
The names of TOOL-CALLS, in order, without their arguments. The arguments are what makes a transcript unreadable at a glance; the names are what an observer scans for.
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 |