feat(frontend): agent-type workbench, conversation topology, per-session streaming#657
Open
yaozheng-fang wants to merge 1 commit into
Open
feat(frontend): agent-type workbench, conversation topology, per-session streaming#657yaozheng-fang wants to merge 1 commit into
yaozheng-fang wants to merge 1 commit into
Conversation
…ion streaming Custom-create workbench: - Add agent TYPE selection (LLM / Sequential / Parallel / Loop / A2A) — ADK workflow agents + A2A remote agents, with codegen for each. - Rework the form into a master-detail editor: a left structure tree (add / delete / drag-reorder children of Sequential & Loop parents, max 3 levels) and a right per-node form. Type picker is a radio list in its own column so the fill-in fields aren't pushed down. - Every LLM node (root or sub) gets the full config (model / tools / skills / memory / knowledge / tracing); codegen now emits these per-agent with unique variable names and recurses sub_agents at any depth (fixes dropped grandchild agents). Custom LLM icon; concise type descriptions. Conversation topology: - /web/agent-info now returns a recursive typed graph; a topology panel renders beside the transcript and highlights the executing sub-agent (event.author), per session. Streaming: - Store transcripts per session and stream with an AbortController, so switching sessions never leaks or loses an in-flight reply. Streaming state is per-session, allowing multiple sessions to stream concurrently. Sidebar shows a live dot on sessions that are generating. Also: restyle the trace drawer (softer span palette, cleaner panels) and localize its labels to Chinese. Rebuild the shipped web assets.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
自定义创建工作台
sub_agents递归到任意深度(修复了嵌套孙 Agent 被丢弃的 bug)。自定义 LLM 图标;类型描述精简。会话内 Agent 拓扑
/web/agent-info返回递归的带类型 graph;对话流旁渲染拓扑面板,按event.author高亮正在执行的子 Agent(按 session 独立)。流式 / 并发
其它
veadk/webui静态资源。验证
tsc --noEmit= 0、vite build= 0。agent.py并经 CPythoncompile通过。runSSE+ mock 流式 fetch 写了并发测试:切走不串/不丢、切回增量继续、两条流并发互不污染(临时脚本,验证后已删)。🤖 Generated with Claude Code