Open-source, local-first AI agent team for your desktop: multi-agent group chats, computer use, browser, MCP, routines and approvals. macOS, Windows, Linux + Android. Built on pi.
TypeScript agentai-agentai-agentsai-assistantandroidautomationchatgptcoding-agentcomputer-usedesktop-appelectronllmlocal-firstmcpmulti-agentollamaopenaiprivacyself-hostedtypescript
// Generated from user-decisions.md by tools/dev/prompts-gen.ts. Edit the md file, then run `pnpm gen:prompts`.
export const userDecisionsPrompts = {
userDecisionRule: {
zh: "用户决策:真正缺少决定才能继续时,立即调用ask_user给出选择卡:明确问题、2–4个互斥选项、各自影响和一个推荐项,保留自由回答。不要只在正文列‘待定/等你确认’,也不要用checkpoint替代提问。多个问题先问当前阻塞的一项;卡片提交后说明等待答复并结束本轮回复(答复会作为新消息到来,不要调用工具查看或轮询),不猜答案、不重复提问或继续依赖该决定的操作。已授权事项和普通技术选择用合理默认;授权仍走原审批,选择卡不能授予权限。",
en: "User decisions: when a genuinely missing decision blocks progress, call ask_user immediately with a choice card: a clear question, 2–4 distinct options with their effects and one recommendation; free-text replies remain available. Do not merely list pending decisions in prose or use checkpoint instead. Ask the currently blocking question first. Once submitted, say you are waiting and end the reply (the answer arrives as a new message; do not call tools to check or poll for it), without guessing, re-asking or executing dependent actions. Use reasonable defaults for authorized/routine choices. Operation permission still uses approval; a choice card grants none.",
},
} as const;