Skip to main content

Module session

Module session 

Source

FunctionsΒ§

activity_summary πŸ”’
archive_session πŸ”’
empty_suggestion_result πŸ”’
empty_summary_result πŸ”’
export_session πŸ”’
next_prompt_suggestion πŸ”’
preflight_input_from_meta πŸ”’
Lift a block’s meta into a [resume_preflight::PreflightInput].
prompt_anchor πŸ”’
The title the model is shown as current. None on a refresh: with nothing to anchor on, β€œthe current title still fits, SKIP” is not the easy answer (build_session_title_prompt writes the create form for an empty one).
register
register_session_activity_summary πŸ”’
register_session_archive_handler πŸ”’
register_session_export_handler πŸ”’
register_session_next_prompt_suggestion πŸ”’
register_session_restore_handler πŸ”’
register_session_resume_preflight_handler πŸ”’
restore_session πŸ”’
resume_preflight πŸ”’
session:resume_preflight β€” read-only, mutates nothing, spawns nothing.
store_summary_title πŸ”’
Stored here, not by the pane: one writer with the recovery sweep, in one transaction, so a rewording never replaces the title and neither writer overwrites what the other stored while its call ran (ambient::title). The slot is held until the write, so a newer message’s request, admitted while this one ran, supersedes it and this older title is not stored after the newer one.
summary_activity πŸ”’
The session’s recent activity for a title call: what the pane sent from its document (any provider), else the output file’s tail (Claude-shaped streams only). Read with the user’s message too, not only when there is none: a short status question in the middle of new work says nothing about that work, and a title built on the message alone stays on the old topic.