Skip to Content
Motoko

How the vocabulary was unified

The two source runtimes: chia1104.dev's agent-runtime (wire/schema.ts) and solyx's @solyx/agent (wire.ts). The runtime keeps what any agent app needs and drops what belongs to one domain or to a feature this milestone does not have.

SourceEventDecisionWhy
bothrun:startkept; chia's sessionId droppedA stream is already one session's.
bothuserkept; attachments droppedBoth apps' attachment kinds are domain records (drafts, feeds, reports; files with paths).
bothassistant:start, assistant:deltakeptIdentical in both.
bothassistant:endkept, stopReason made required, error added; usage merged (costTotal renamed cost)pi-durable stores failed replies as entries; the client shows why one failed.
solyxtool:draftkeptGeneric: a call shows while its arguments stream.
bothtool:startkept in chia's shape (label, tier, args); solyx's parentToolCallId droppedNested calls (code mode) are not in this milestone. Emitted from the stored reply, so replay and live agree.
chiatool:updatekept, summary renamed to output + detailschia's summary came from a per-kind summarize policy the runtime does not have; pi-durable publishes running output and details.
bothtool:endmerged: chia's isError + aborted became solyx's status; chia's summary and solyx's output droppedstatus is one field for three outcomes; output was specific to shell and code mode.
bothapproval:requestkept in chia's shapeA client renders the call without looking it up. solyx sent only the id.
bothapproval:resolvedkept in chia's shape; solyx's auto droppedThe runtime has no auto-approval mode yet.
solyxretry:wait, retry:endkept, at added to retry:waitGeneric, from pi.live.
bothsession:compacted / compactedmerged under chia's name, with solyx's messageId and at; chia's tokensBefore droppedpi-durable writes compaction entries on its own; the entry does not record a token count.
solyxcompaction:start, compaction:endkept, from pi.live.compactions and compactionFailure; compaction:end carries the failure's errorA client shows a compaction going on, and why one failed (see Compactions).
chiasession:rewounddroppedNavigation and forks are not in the runtime.
chiastate:changeddroppedSynced agent state is out of scope.
chiaerrormerged into run:end (reason: "error", code, error)In pi-durable a failure ends the run; chia's classified AgentErrorKind is replaced by pi's own reason code.
bothrun:endkept, reasons unified to done, aborted, error, interruptedchia's awaiting_approval dropped: in pi-durable a run waiting for a decision is still running (its call is parked), so the view's status says it. solyx's store-failed dropped (a failed store closes the instance; streams end). turn-limit is error with code turn_limit.
solyxcontextdroppedContext budgets and usage ledgers are out of scope.
solyxnameddroppedTitle generation is out of scope.
runtimestream:resetaddedA cursor storage cannot honour must be answered honestly (see Cursors).
runtimequeue, user's steeraddedpi-durable queues an input a busy session gets, and places a steer into the run going on; a client shows what waits and takes it back (see Steering and the queue).
runtimewrapup:start, wrapup:endaddedA session that answered still runs its afterRun tasks, and refuses or holds new input meanwhile; a client shows why (see Wrap-ups).