Skip to main content

Module delivery

Module delivery 

Source
Expand description

The turn a delivery draws as: a cron fire, a Gotify notification, a Slack message or a peer comm.

Each of them reaches a session’s model as a prompt on its own stdin, and the CLI does not echo a prompt back, so the wire carries nothing a view could draw and a page that only drew wire frames would show the assistant answering something nobody saw. The workspace announces each as a typed update instead, and this turns that update into the display-only user turn the fold’s envelope detection recognises, carrying the same prose the model received.

Re-exports§

use forge_primitives::Message; 🔒
use forge_primitives::SessionSlot; 🔒
use forge_workspace::PromptSource; 🔒
use crate::surface::SessionUpdate; 🔒

Functions§

delivery_turn
The display-only user turn update draws as, when it delivers to slot, with the sender the frame that draws it carries. None for every other update, and for a delivery to another seat: the same stream carries the whole fleet.
rfc3339_now 🔒
The instant a forged row was minted, in the form the wire stamps rows with.