Repository navigation
Description
Feature request
Allow users to ask an agent to schedule a one-time request in the Agents window, for example:
Check the build in 30 minutes in this chat.
The agent should schedule the follow-up through the existing configureAutomation tool rather than requiring the user to compose the message manually and choose Send Later.
Background
#347963 added durable one-time scheduling and exact-conversation targeting for Send Later. However, the tool behind /automate currently exposes only recurring/manual schedules. Its currentSession target selects the current session's environment for a new run; it does not send into that conversation.
Proposed behavior
- Extend
configureAutomationwith one-time scheduling, reusing Send Later's persistence, host scheduler, and recovery rather than adding another scheduler. - Default one-time requests to the exact calling chat, including peer chats. Support a new session when explicitly requested, without changing recurring-automation defaults.
- Schedule a clear, explicit request without requiring a separate conversational “Create it” message. Ask about ambiguous prompt, time, or destination, and retain normal tool approvals and runtime policy.
- At the scheduled time, enqueue the request in its original conversation without steering or interrupting an active turn. Use that conversation's current execution settings.
- Show accepted requests in the existing scheduled-message/new-session UI, and support listing, rescheduling, cancellation, and Send Now through existing management paths.
- Preserve stable creation identities and reconcile uncertain outcomes so a lost acknowledgement does not create duplicate sends. Distinguish schedule acceptance and queue admission from completion of the requested work.
Initial scope
Text-only, one-time requests on a supported local desktop Agent Host, behind the existing sessions.sendLater.enabled setting with Automations enabled. Preserve existing recurring automation behavior.
Remote/cloud one-time scheduling, attachment authoring, recurring sends into existing chats, and autonomous self-rescheduling are out of scope. The local host must be available to execute; scheduling does not wake a sleeping computer or start a stopped host. A missed send catches up once when the host becomes available.
Activity
sessions: support agent-authored scheduled chat requests (microsoft#3…