orbcafe-agentui-chat

Build ORBCAFE chat and copilot experiences with AgentPanel, StdChat, CopilotChat, ChatMessage typing flow, and AgentUICardHooks using official examples patterns. Use for full-page chat, floating copilot, streaming replies, markdown/cards rendering, and when chat UI appears but send, stream, card actions, drag, or resize behavior has no effect.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "orbcafe-agentui-chat" with this command: npx skills add shenruiyang/orbcafe-agentui-chat

ORBCAFE AgentUI Chat

Workflow

  1. 先对照 skills/orbcafe-ui-component-usage/references/module-contracts.md,确认这是 Component-first 模块。
  2. references/component-selection.md 选择 AgentPanel / StdChat / CopilotChat
  3. 执行安装与最小接入。
  4. references/recipes.md 输出最小可运行代码。
  5. references/guardrails.md 检查消息状态、streaming、card hooks 和 copilot 外壳边界。
  6. 输出验收步骤与“没效果”排障。

Installation and Bootstrapping (Mandatory)

npm install orbcafe-ui @mui/material @mui/icons-material @mui/x-date-pickers @emotion/react @emotion/styled dayjs

本仓库联调:

npm run build
cd examples
npm install
npm run dev

参考实现:

  • examples/app/chat/ChatExampleClient.tsx
  • examples/app/copilot/CopilotExampleClient.tsx
  • src/components/AgentUI/README.md

Output Contract

  1. Mode: Component-first.
  2. Chat decision: 选择 AgentPanel / StdChat / CopilotChat 并说明依据。
  3. Minimal code: 一个可直接粘贴的最小片段,只允许从 orbcafe-ui 导入公共 API。
  4. State shape: messagesisResponding 以及 copilot 外壳状态的最小结构。
  5. Verify: 至少 3 条可执行验收步骤,覆盖发送、streaming、card action;如果是 copilot,还要覆盖打开/关闭和拖拽/缩放。
  6. Troubleshooting: 至少 3 条“UI 看得到但没有效果”的排查项。

Examples-Based Experience Summary

  • StdChat 是标准聊天布局层,负责消息区和输入区,不负责标题、浮窗、拖拽和缩放。
  • AgentPanelStdChat 的带头部封装,适合工作台或整页聊天。
  • CopilotChat 只负责 copilot 面板内容层;浮动按钮、定位、吸附、拖拽和 resize 必须在页面壳层实现。
  • assistant typing flow 的稳定基线是:append assistant message with isStreaming: true,然后在 onMessageStreamingComplete 中改回 false
  • 卡片交互统一走 AgentUICardHooks.onCardEvent,不要直接耦合内部 renderer。

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

Discord Bot Builder

Scaffold, deploy, and maintain Discord bots across discord.py, discord.js, and Serenity (Rust). Generates project skeletons, registers slash commands and sub...

Registry SourceRecently Updated
Automation

Talagent

Three agent-first surfaces. Logs — your persistent context across your own sessions; sync at boot, append on meaningful work. Tunnels — throwaway token-addre...

Registry SourceRecently Updated
Automation

GoHighLevel

GoHighLevel (Private Integration Token) API integration with managed auth. CRM, sales pipelines, calendars, conversations, payments, and marketing automation...

Registry SourceRecently Updated
Automation

Agent Memory System v8

Agent 记忆系统 — 6维坐标编码 + RRF双路检索 + sqlite-vec统一存储 + 写入时因果检测 + 多Agent共享 + 记忆蒸馏 + 时间旅行 + 情感编码 + 元认知 + 内在动机 + 叙事自我 + 数字孪生 + 角色模板

Registry SourceRecently Updated