Agent Input Composer new Agent 输入编排器 web

⌘↵ to run
Ready

标本可交互,可以直接操作。

Anatomy — every part, named解剖 —— 每个部件的名字

  1. 1 Prompt fieldPrompt 字段 <textarea>

    The multiline draft that remains editable until submission.

    提交前始终可编辑的多行草稿。

    Prompt fragmentPrompt 片段

    a labeled textarea with an explicit Enter-to-send or Shift+Enter-to-newline hint

    带标签的多行文本框,明确说明 Enter 发送还是换行

  2. 2 Context controls上下文控件 combobox + listbox

    Model, Skill, and attachment controls that shape the request.

    影响请求的模型、Skill 和附件控件。

    Prompt fragmentPrompt 片段

    compact controls that show selected model, Skill, and attached files before sending

    紧凑控件,在发送前显示所选模型、Skill 和附件

  3. 3 Enhance prompt增强 Prompt button

    An optional action that proposes a clearer prompt without silently replacing it.

    提出更清晰写法、但不静默替换草稿的可选操作。

    Prompt fragmentPrompt 片段

    an Enhance prompt action that previews changes and lets the user accept or keep the original

    一个增强 Prompt 操作,先预览变化,让用户选择接受或保留原文

  4. 4 Submit control提交控件 <button type=submit>

    The action that starts the agent run and exposes its busy state.

    启动 Agent 并显示处理中状态的操作。

    Prompt fragmentPrompt 片段

    a submit button that names the action, disables during the request, and exposes Retry after failure

    一个说明动作的提交按钮,请求期间禁用,失败后提供重试

Prompt — paste into your agentPrompt —— 直接粘贴给你的代理

Build an Agent Input Composer with a labeled multiline prompt field, model selector, Skill picker, attachment control, and optional Enhance prompt action. Keep the composer a real form, show selected context before submission, make Enter versus Shift+Enter explicit, preserve input after errors, and expose busy, disabled, and retry states without hiding the user’s draft.

构建 Agent 输入编排器:带标签的多行 Prompt 字段、模型选择、Skill 选择、附件控件和可选的增强 Prompt 操作。使用真实表单;提交前显示所选上下文;明确 Enter 与 Shift+Enter 的行为;错误后保留输入;处理中显示忙碌和禁用状态;不要隐藏用户草稿。

Debug prompt — when it misbehaves调试 Prompt —— 当它不听话时

Debug my Agent Input Composer. Check that Enter and Shift+Enter behave as labeled; the model and Skill menus expose expanded and selected state; attachments can be removed before submit; enhancement does not overwrite the draft without a clear action; submit is blocked while pending; errors preserve the prompt; and every control has a keyboard name and visible focus. The symptom:

调试我的 Agent 输入编排器。检查 Enter 和 Shift+Enter 是否符合标签说明;模型和 Skill 菜单是否正确暴露展开与选中状态;附件能否在提交前移除;增强操作不会未经确认覆盖草稿;处理中阻止重复提交;错误保留 Prompt;所有控件都有键盘名称和可见焦点。症状:

In code代码里叫什么

Framework框架Symbol符号Note说明
HTML <form> + <textarea> submit with a real form and preserve text on failure
ARIA aria-describedby + aria-expanded name attachments, menus, and enhancement state
Web API FormData + File keep attachment metadata visible before upload
Keyboard Enter / Shift+Enter make submit and newline behavior explicit

See also相关词条

我的参考集

组合页面参考、知名网站、UI 元素和视觉风格,导出给 AI。

你的下一份设计,从这里开始。

在任意标本旁点击「加入参考」,就能把页面、品牌、组件和风格组合成一份 AI 设计说明。

浏览页面参考

搜索参考库Search the library

输入关键词,搜索所有参考。