文档Docs
回复里的图表与表单Charts and forms in replies
回复中直接看流程图、图表和步骤,表单与确认卡只准备草稿。Read flowcharts, charts and steps inside replies; forms and confirmation cards prepare drafts only.
请 Agent 画个流程图、把数字画成柱图、列出步骤,或给你一个填写表单。不需要学习格式。
回复保留原有链接、引用、表格和文件卡片;本机文件仍要由主机随回复授权发送。Markdown、PDF、音频、视频使用原有预览。待办仍由官方待办卡维护。
表单支持文字、选择、勾选和日期;请勿填写密码、密钥或其他秘密。点「填入草稿」或确认卡里的选项,只会把内容放到输入框,已有草稿会保留。检查后再按发送。它不是权限批准;危险动作仍要用正式审批卡。已有一键回复选项仍为点一下发送。
消息还没写完时,表单和确认选项不可操作。格式写错、类型不支持或超出限制时保留原文,同一条回复的其他部分照常显示。引用里的组件保持原文;全屏阅读器只供查看。
给 Agent 的格式说明
内置 agentj-reply-components 技能由同一份组件清单生成,包含名字、参数、限制和示例。结构化组件使用 agentj JSON 围栏:流程图、柱图/折线图、步骤条、确认卡、表单。已有 Mermaid 流程图也继续支持,使用本地渲染器。所有渲染不加载外部脚本、不执行 HTML/JS、不调用本机工具;链接沿用现有网址过滤。
Ask your Agent to draw a flowchart, chart the numbers, show the steps or prepare a form. You do not need to learn a format.
Existing links, quotes, tables and file cards keep working. Local files still require the host to authorize and send them with the reply. Markdown, PDF, audio and video keep their existing previews; persistent to-dos stay on the official To-do card.
Forms accept text, choices, checkboxes and dates. Never enter passwords, API keys or other secrets. Prepare draft and confirmation-card choices only append content to the message box, preserving your existing draft. Review it and press Send. These cards do not approve tool permissions; dangerous actions still require the official approval card. Existing one-tap reply choices still send on a tap.
Actions stay disabled while the reply is being written. Unsupported, malformed or oversized blocks remain source text while the rest of the reply displays normally. Quoted components stay source text; the full-screen reader is read-only.
Output contract for the Agent
The bundled agentj-reply-components skill is generated from the same component registry and lists names, parameters, limits and examples. Structured components use an agentj JSON fence: flowchart, bar/line chart, steps, confirmation card and form. Existing Mermaid diagrams continue through the local renderer. Components load no external scripts, execute no HTML/JS and call no local tools. Links retain the existing URL filter.