fix: show repository status in paged agent list - #4039
Merged
Merged
Conversation
xuyaqist
requested review from
Dallas98,
WMC001,
YehongPan,
hhhhsc701 and
jeffwu-1999
as code owners
September 29, 2026 09:27
Contributor
There was a problem hiding this comment.
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
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.
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
WMC001
approved these changes
Sep 29, 2026
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.


Uh oh!
There was an error while loading. Please reload this page.