Skip to content

Add Agent drag-to-group, QuickTeamAndRun, and XNCF module listing FunctionRenders#496

Draft
Copilot wants to merge 3 commits intomasterfrom
copilot/suggestion-for-convenient-operations
Draft

Add Agent drag-to-group, QuickTeamAndRun, and XNCF module listing FunctionRenders#496
Copilot wants to merge 3 commits intomasterfrom
copilot/suggestion-for-convenient-operations

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 4, 2026

Adds three UX improvements to the AgentsManager module: drag-and-drop agent assignment to groups, a single-step "form a team + execute task" workflow in Admin AI Chat, and a FunctionRender that enumerates all registered XNCF modules with their available functions.

Drag-and-Drop Agent → Group (UI)

  • Agent cards are now draggable; dragging one opens a floating overlay listing all groups as drop targets with hover highlighting
  • On drop, calls GetChatGroupItem to fetch current members, then SetChatGroup to append the agent — no page reload needed
  • CSS entrance animation respects prefers-reduced-motion

QuickTeamAndRun FunctionRender (Backend)

Available in Admin AI Chat. Creates a temporary ChatGroup from selected agents and immediately executes a task — combines the separate "create group" + "run group" steps into one:

Team Name: Sprint Review Team
Members: [Alice, Bob, Charlie]
Admin: Manager
Enter Agent: Coordinator
AI Model: gpt-4o
Command: "Draft a sprint review summary"
→ Creates group, adds members, runs task immediately

GetAvailableXncfModules FunctionRender (Backend)

Lists all modules in XncfRegisterManager.RegisterList with their UID, version, description, and registered FunctionRender entries — enabling AI Chat to discover and attach XNCF module capabilities dynamically.

【Senparc.Xncf.AgentsManager】
  UID: xxx
  版本: 1.0.0
  可用功能 (4 个):
    - 管理 ChatGroup: 管理 ChatGroup
    - 快速组建团队并执行任务: ...
    ...

Changed files: ChatGroupRequest.cs, ChatGroupAppService.cs, Index.cshtml, index.js, index.css

Original prompt

Agent的3D画面中,请从操作层面,提出一些便捷操作的建议。例如,是否可以通过拖动Agent,让它快速加入到某个组里面。

同时,是否可以通过 Admin后台的AI Chat,快速选择或者组建一个团队,然后立即执行任务。

最后,Admin 后台的 AI Chat 功能,是否可以有一个选项,自动附加XNCF模块(选中后先调用一个 functionrender,返回所有可用的 XNCF,就和自动安装模块的逻辑一样)

Created from VS Code.

Copilot AI changed the title [WIP] Add suggestions for efficient operations in 3D view Add Agent drag-to-group, QuickTeamAndRun, and XNCF module listing FunctionRenders Apr 4, 2026
Copilot AI requested a review from JeffreySu April 4, 2026 10:07
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