Skip to main content

push_cron_prompt_into_chat

Function push_cron_prompt_into_chat 

Source
pub(crate) fn push_cron_prompt_into_chat(
    workspace: &Workspace,
    target_key: &SessionSlot,
    text: &str,
    uuid: &str,
    cron_id: &str,
    description: Option<&str>,
)
Expand description

Emit a typed CronPromptAppended so the target session’s chat buffer shows a cron block for the fired prompt. Mirrors push_gotify_notification_into_chat - the target’s claude subprocess still receives the raw prompt via a separate Command::Prompt; this only drives the visible chat echo.