Skip to content

fix: show repository status in paged agent list - #4039

Merged
WMC001 merged 11 commits into
developfrom
xyq/bugfix_2.7.0
Sep 29, 2026
Merged

WMC001 merged 11 commits into
developfrom
xyq/bugfix_2.7.0

Conversation

@xuyaqist

@xuyaqist xuyaqist commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor
  1. 在agent仓库页面,分页后批量查询agent仓库的信息,显示“已上架”和“申请上架”等按钮。而非需要点击后才能显示
image 2. 修复当用户选了一个智能体进行对话,当返回后,再选择一个智能体进行对话时,刚刚进行对话的对话就消失了,直到刷新页面才能出现 3. 修复mcp仓库中,已启用的样式 image

Copilot AI balanced review requested due to automatic review settings September 29, 2026 09:27

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

Repository review data can cross tenant boundaries, and failed thread refreshes can leave navigation stuck.

Review effort: Balanced
Findings: 1 High severity · 1 Medium severity

Open (2)
What changed in this PR

Adds paged Agent repository status data and refreshes conversation history when leaving chats.

Changes:

  • Enriches paged Agent responses with repository metadata.
  • Updates Agent cards and cache invalidation to show current listing status.
  • Improves conversation visibility and includes related UI refinements and tests.
File Description
backend/​apps/​agent_app.py Adds the repository-info query parameter.
backend/​management/​services/​agent/​management.py Enriches paged Agents with repository records.
frontend/​types/​agentConfig.ts Adds repository metadata to Agent types.
frontend/​services/​agentConfigService.ts Requests and maps repository information.
frontend/​hooks/​agentRepository/​useAgentRepositoryListings.ts Invalidates Agent-list caches after mutations.
frontend/​app/​[locale]/​agent-space/​my-agent.tsx Requests and maps paged repository status.
frontend/​app/​[locale]/​agent-space/​components/​MyAgentCard.tsx Displays repository actions and status badges.
frontend/​app/​[locale]/​newchat/​page.tsx Reloads threads during chat navigation.
frontend/​app/​[locale]/​newchat/​assistant-ui/​visible-thread-ids.ts Filters sidebar threads to persisted conversations.
frontend/​app/​[locale]/​newchat/​assistant-ui/​threadlist-sidebar.tsx Propagates conversation IDs and custom navigation.
frontend/​app/​[locale]/​newchat/​assistant-ui/​thread-list.tsx Filters, groups, titles, and deletes visible threads.
frontend/​features/​workbench/​WorkbenchPage.tsx Synchronizes server conversation IDs with the sidebar.
frontend/​app/​[locale]/​skill-space/​components/​MineSkillsView.tsx Moves Skill listing actions into the menu.
frontend/​app/​[locale]/​mcp-space/​components/​MineMcpServiceCard.tsx Highlights enabled MCP services.
frontend/​app/​[locale]/​mcp-space/​components/​McpToolsSearchFilterBar.tsx Simplifies filter-count styling.
frontend/​public/​locales/​en/​common.json Removes an obsolete Skill action label.
frontend/​public/​locales/​zh/​common.json Removes an obsolete Skill action label.
frontend/​tests/​component/​agentUsageGuide.test.tsx Tests paged repository status behavior.
frontend/​tests/​component/​agentChatPageDeepLink.test.tsx Tests conversation reload and Agent reselection.
test/​backend/​app/​test_agent_app.py Tests query forwarding through the API.
test/​backend/​services/​test_agent_service.py Tests page-scoped repository enrichment.

Review used the applicable backend and frontend guidance; no test commands were executed.


💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread backend/management/services/agent/management.py Outdated
Comment thread frontend/app/[locale]/newchat/page.tsx Outdated
@codecov

codecov Bot commented Sep 29, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@WMC001
WMC001 merged commit 0c9ff86 into develop Sep 29, 2026
16 checks passed
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.

4 participants