Skip to content

fix(webui): tighten delegate task card detection#196

Merged
duguwanglong merged 1 commit into
mainfrom
fix/webui-delegate-task-card-detection
Apr 27, 2026
Merged

fix(webui): tighten delegate task card detection#196
duguwanglong merged 1 commit into
mainfrom
fix/webui-delegate-task-card-detection

Conversation

@xiami762

Copy link
Copy Markdown
Contributor

Summary

  • Avoid misclassifying generic MCP tools with category fields as delegate task cards, while keeping delegate cards available when a child session is present.
  • Preserve child session ID extraction from metadata and task output for reloaded or legacy delegate parts.
  • Keep Session page selection synchronized with URL query changes after mount and cover it with regression tests.

Test plan

  • cd webui && npm run test:run -- DelegateTaskCard.test.tsx SessionChat.test.ts src/pages/Session/index.test.tsx

Made with Cursor

Avoid rendering generic MCP tools with category fields as delegate task cards, while preserving child-session links and URL-driven session selection behavior.

Made-with: Cursor
@duguwanglong duguwanglong merged commit 034da50 into main Apr 27, 2026
2 checks passed
duguwanglong pushed a commit to DearEmma/flocks that referenced this pull request May 18, 2026
Avoid rendering generic MCP tools with category fields as delegate task cards, while preserving child-session links and URL-driven session selection behavior.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants