Retire the /tools and /agents site pages
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 55/100
- Loại issue
- Tái cấu trúc
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- next.js, typescript
- Lĩnh vực
- documentation, frontend
Hướng nghiên cứu
Start by checking imports of the listed pages, data files, and card components, then inspect the navigation links in src/components/navbar.tsx, src/components/footer.tsx, and src/components/key-components.tsx. Update redirects in next.config.mjs and sitemap generation in scripts/sitemap.js, then regenerate public/sitemap.xml. Done when the old routes redirect to live docs, navigation and sitemap contain no removed URLs, the build and link checker pass, and #521 reflects the removed agent page.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
The site's /tools and /agents pages no longer describe the product, and they were last refreshed in May 2025. This issue replaces #63 and #86, which asked for another refresh.
The problem
/toolscomes fromsrc/data/tools.json. It lists 137 tools under the Pythonkagent.tools.*provider IDs, a format kagent no longer uses. The current tool server is documented indocs-site/content/kagent/0.x/resources/tools-ecosystem.mdanddocs-site/content/kagent/1.x/reference/tools-ecosystem.md./agentscomes fromsrc/data/agents.json. It lists 8 agents. kagent v0.10.1 ships 10 agent charts (helm/agents/), and 1.x ships no bundled agents.- No script generates either file, so any refresh starts drifting again immediately.
Scope
Remove the pages instead of refreshing them.
- Delete
src/app/tools/,src/app/agents/,src/data/tools.*,src/data/agents.*,src/components/agent-card.tsx, andsrc/components/category-card.tsx, after checking that nothing else imports them. - Repoint the remaining links at
/docs/kagent/0.x/resources/tools-ecosystem. They are insrc/components/navbar.tsx(Tools and Agents entries),src/components/footer.tsx, andsrc/components/key-components.tsx(home page cards). Drop the Agents entry instead of repointing it, unless a fitting 0.x page exists. - In
next.config.mjs, add permanent redirects for/tools,/tools/:categoryId,/agents, and/agents/:agentId, placed above the catch-all redirect. - Remove the agent and tool routes from
scripts/sitemap.js. Remove thegetDynamicRoutes()blocks that readagents.jsonandtools.json, thetools/andagents/entries inDYNAMIC_PATTERNS_TO_EXCLUDE, and the top-levelrequireofsrc/lib/getToolCategoryId. When the JSON files are missing, the script only logs warnings. IfgetToolCategoryId.jsis deleted while therequireremains, every build fails. Then regeneratepublic/sitemap.xml.
Interaction with #521
Link to 0.x only, not 1.x. Pointing site navigation at 1.x before GA is what #521 holds. #521 lists src/app/agents/[agentId]/page.tsx:110 as a link to fix at GA. Once this issue lands, that page no longer exists, so tick or remove that item in #521. The GA cutover then moves the new redirect targets to 1.x.
Done when
-
/toolsand/agentsand their subpaths redirect to a live docs page. - The navbar, footer, and home page contain no links to the removed pages.
- The sitemap no longer lists the removed URLs.
-
npm run buildpasses, and the link checker reports no new broken links. - #521 reflects the removed agent page.
- Ngôn ngữ chính
- TypeScript
- Star
- 21
- Fork
- 69
- Merge trung bình
- 14 giờ 16 phút
- Pull request đã merge (30 ngày)
- 105
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của kagent-dev/website
-
Hold until GA: repoint kagent.dev navigation from 0.x to 1.xCó thể đã có người làm @Rachael-Graham đã nhận 23 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
kagent-dev/website#521 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Document namespace-scoped installs on the 1.x installation pageCó thể đã có người làm @boxcee-interview đã nhận 1 ngày trước. Đang mởhelp wanted
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 54/100
kagent-dev/website#629 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug DocOps
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 38/100
kagent-dev/website#617 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Link Checker Report - kagent OSSĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 57/100
kagent-dev/website#615 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug DocOps
Độ khó 4/5 1-2 ngày Mức phù hợp với người mới 18/100
kagent-dev/website#606 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của kagent-dev/website
Issue tương tự
-
[Bug]: Circular app layout navigation and help icons are shifted upward in the official demoĐang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
cloudscape-design/components#5184 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
JarX-Concepts/react-native-platform-components#130 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
fix(api): optimize-for-web /preview outer catches miss asDecoderOutOfMemory on V8 OOM and SIGKILLĐang mởarea: backend bug priority: low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
snapotter-hq/SnapOtter#3773 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
ai-driven-qa ux-audit
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
linagora/twake-contacts-frontend#386 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
git: README should state plainly that without --repository every reachable repository is in scopeĐang mởdocumentation server-git v2
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 84/100
modelcontextprotocol/servers#5225 ·
Maintainer thường phản hồi trong vòng 1 ngày