Skip to content

AgentEventRenderer ​

Projects AgentStreamSnapshot into reasoning, tools, response, and approval UI.

Demo ​

AgentEventRendererOne public API for H5 and Wevu
Live state
Release readiness workflowAgentEventRenderer
registry.inspect44 surfaces

发布检查

双端组件已经通过。

需要你的确认确认发布动作发布属于外部副作用。

Basic Usage ​

vue
<script setup lang="ts">
import { AgentEventRenderer } from '@/components/agent-ui'
</script>

<template>
  <AgentEventRenderer :snapshot="snapshot" @approve="approve" />
</template>

Props ​

PropTypeDefaultDescription
snapshotAgentStreamSnapshotrequiredEvent stream snapshot

Events ​

EventPayloadDescription
approvestringApprove
rejectvoidReject
retryvoidRetry

Slots ​

SlotDescription
actionsCompletion actions
defaultTrailing content

Target notes

TargetImport
H5Named export from @/components/agent-ui
weapp@/components/agent-ui/AgentEventRenderer.vue