From df08ceda038632a0be9f4e190c14103582edfe5a Mon Sep 17 00:00:00 2001 From: Guilhem Lemouel Date: Wed, 7 Oct 2026 01:47:19 -0700 Subject: [PATCH] feat: operators get run-oriented examples in the home composer Co-Authored-By: Claude Opus 5.5 (1M context) --- .../src/lib/components/home/HomeAIChat.svelte | 40 ++++++++++++++----- 1 file changed, 31 insertions(+), 9 deletions(-) diff --git a/frontend/src/lib/components/home/HomeAIChat.svelte b/frontend/src/lib/components/home/HomeAIChat.svelte index 77eaa8dc07..f63444b0e0 100644 --- a/frontend/src/lib/components/home/HomeAIChat.svelte +++ b/frontend/src/lib/components/home/HomeAIChat.svelte @@ -16,6 +16,23 @@ prompt: 'Generate a weekly sales report from postgres and post it to Slack every Monday' } ] + + /** An operator's session can run what is deployed, read runs and call MCP servers, but + * cannot create scripts, flows or apps, so none of these asks it to build one. */ + export const homeAIOperatorExamples: { label: string; prompt: string }[] = [ + { + label: 'Run a flow', + prompt: 'Find the flow that onboards a new employee and run it for Jane Doe, starting Monday' + }, + { + label: 'Rerun failed jobs', + prompt: 'List the jobs that failed today, tell me why, and rerun the ones that timed out' + }, + { + label: 'Summarize GitHub issues', + prompt: "Read this week's open GitHub issues and summarize the ones that mention billing" + } + ]