You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 7b84990
Browse filesBrowse the repository at this point in the historyBrowse files
constActionSchema=z.enum(AgendaTriggerAction).optional().describe('Per-trigger delivery mode. notify (default), notify_and_record (also records the fire into the conversation history), invoke.');
26
20
constMessageSchema=z.string().min(1).describe('REQUIRED per-trigger fire-time text — the exact words delivered WHEN this trigger fires, phrased as a present-moment ping ("Time to drink water"), NOT as a request to set a reminder ("remind me to drink water in 2 min" ✗). No fallback to content; if there is no special wording, restate the content. Recorded fires re-enter the conversation, so request-like wording can make this very sync create a duplicate agenda.');
content: z.string().describe('Canonical, self-contained title. A clean noun-phrase or imperative ("Submit weekly report", "Drink water", "Build a web matching game (timer / levels / shuffle / hints)"); not a reply or a kickoff phrase like "Start by ...". Do NOT bake relative time or schedule into the title ("remind me to drink water in 2 min" ✗ → "Drink water"); timing belongs in triggers. Match the user\'s language. Note: each trigger carries its own required message — content is not the fire-time fallback.'),
kind: z.enum(AgendaTriggerKind).optional().describe('Only when switching trigger type; then the matching schedule field (at / every / expr) is mandatory.'),
@@ -151,8 +151,7 @@ export class AgendaOverflowSelector {
151
151
this.logger?.warn(`AgendaSync selector batch cap reached; locally ranked ${records.length-scannedCount} lower-relevance item(s) were not sent to the model`);
'Only when SWITCHING trigger type; you must then also pass the matching schedule field',
106
-
'(absolute→at / interval→every / cron→expr), otherwise the call is rejected.',
107
-
'Omit to keep the current type — most patches only touch action / message.',
108
-
].join('\n')),
109
-
at: z.string().describe('New ISO instant; for kind=absolute.').optional(),
110
-
every: RelativeTimeSchema.describe('New interval; for kind=interval.').optional(),
111
-
expr: z.string().describe(`New cron expression; for kind=cron. ${CRON_EXPR_DESC}`).optional(),
112
-
startAt: z.string().optional().describe('Explicitly reset the NEXT fire instant (ISO). Use alone to postpone one occurrence without touching the cadence.'),
0 commit comments