agentOS registry markdown generation fails on artifact catalog data
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ó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 62/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- markdown, typescript
- Lĩnh vực
- documentation, tooling, web-dev
Hướng nghiên cứu
Start at src/data/registry-docs.ts (toIdent, softwareExample, usage around the stack trace) and the generated-entry type in src/data/registry.ts that still requires package. Swap in agentOS docs/registry.json as src/generated/artifacts/registry.json and run pnpm gen:markdown until it succeeds. Done when available software/browser cards no longer treat artifactName as an npm package, curated npm entries still render, and generation works with the current catalog.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Description
The website's agentOS registry generator still expects an npm package field
for available software and browser entries. agentOS docs/registry.json now
supplies artifactName instead, following the move to immutable .aospkg
artifacts installed from URLs. When the website generator reads that catalog,
markdown generation fails before the synced docs can be built.
Steps to reproduce
- Use
rivet-dev/websiteat783204dfandrivet-dev/agentosatc3698e6a. - In the website checkout, run
pnpm install --frozen-lockfile,pnpm assemble,
andpnpm gen:markdown. With the website's committed older vendored registry,
markdown generation succeeds (495 pages in this check). - Replace only the generated website input
src/generated/artifacts/registry.jsonwith agentOS main's
docs/registry.json. - Run
pnpm gen:markdownagain.
Expected behavior
The website can generate registry documentation from the agentOS artifact
catalog. Available software and browser entries show installation guidance
appropriate to the artifact URL model, without assuming an npm package name.
Actual behavior
pnpm gen:markdown exits with:
TypeError: Cannot read properties of undefined (reading 'replace')
at toIdent (src/data/registry-docs.ts:63)
at softwareExample (src/data/registry-docs.ts:68)
at usage (src/data/registry-docs.ts:157)
All 29 available entries (28 software and one browser) in the pinned
agentOS registry
have artifactName; none has package. The
website generator
routes both types through softwareExample(entry.package), which assumes an npm
package name. The generated-entry type in
src/data/registry.ts
also requires package for every available entry.
Impact
Once agentOS docs sync gets past its current missing-snippet validation failure,
the website build is expected to fail on this registry mismatch. This later
failure was reproduced locally using the two pinned upstream revisions; hosted
website CI has not reached it yet. Until the handoff and build pass, revised
agentOS docs cannot reach the live site through the normal sync path.
Possible fix
Update the website's generated registry entry type and rendering path to treat
artifactName as a logical key, not an npm package specifier. If the page shows
an artifact URL or runnable install example, resolve the key against the release
artifact manifest and use the supported agentOS software installation API. If
the manifest is not available to the website build, link to the software guide
without inventing an npm install or import snippet; coordinate with agentOS on
how a resolved URL should reach the website. Add a build/contract check with
agentOS registry data at the publishing boundary.
Acceptance criteria
- Website markdown generation succeeds with current agentOS
docs/registry.json. - Available software and browser cards no longer generate npm install or import
instructions fromartifactNamealone. - Any displayed artifact URL is resolved from the release manifest, and setup
guidance matches the supported agentOS software installation API. - Curated website registry entries that still legitimately use npm packages
continue to render correctly.
Related: agentOS PR #2011
changed the catalog contract. The current
agentOS docs-sync run
fails earlier on missing snippets, so it does not demonstrate this website
generator failure.
- Ngôn ngữ chính
- TypeScript
- Star
- 2
- Fork
- 6
- Merge trung bình
- 6 giờ 43 phút
- Pull request đã merge (30 ngày)
- 56
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Không có hướng dẫn đóng góp
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 rivet-dev/website
-
Bug: Secure Exec hero copy disappears on mobileCó thể đã có người làm @Utkarshpandey0001 đã nhận 12 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Bug: Contact form submission fails because of invalid `FormData` conversionCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 25/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của rivet-dev/website
Issue tương tự
-
bug(sight): the dashboard's text truncations split surrogate pairs and show broken charactersĐang mởcomponent:sight
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
agentic-os-org/ANOLISA#6738 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug Durable Agents Observability (AI Telemetry) status: needs triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
mastra-ai/mastra#26470 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
paperclipai/paperclip#15630 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[good first issue, hacktoberfest] ⛩️ Add new Theme: Sakura Latte (good-first-issue)Có thể đã có người làm @PGrayCS đã nhận hôm nay. Đang mởcommunity first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 78/100
lingdojo/kana-dojo#31937 · 1 bình luận · 5 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
feature/cohorts feature/feature-flags team/feature-flags
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Maintainer thường phản hồi trong vòng 1 ngày