agentOS registry markdown generation fails on artifact catalog data
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 62/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- markdown, typescript
- Ambito
- documentation, tooling, web-dev
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- TypeScript
- Stelle
- 2
- Fork
- 6
- Merge medio
- 9h 29m
- PR unite (30g)
- 66
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di rivet-dev/website
-
Bug: Secure Exec hero copy disappears on mobileForse già presa @Utkarshpandey0001 l’ha presa 18 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
Bug: Contact form submission fails because of invalid `FormData` conversionForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 25/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di rivet-dev/website
Issue simili
-
enhancement good first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
OWASP/cve-lite-cli#1335 ·
I maintainer di solito rispondono entro 1 giorno
-
Windows: main-screen mouse tracking requires WT_SESSION, so it never enables inside herdr panesAperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 66/100
code-yeongyu/senpi#3353 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Channels status: needs triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
mastra-ai/mastra#27093 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement needs-triage ui
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
I maintainer di solito rispondono entro 1 giorno