You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: installed CLI/OpenAPI text and llms indexes still point at uninstalled docs or blob/main #938
main after #937 (the #931 fix). Seen in an installed @jimhoyd/urlcode tarball (npm pack --dry-run).
Minimal reproduction
#931/#937 made every relative link in a packed Markdown file resolve inside the package, and scripts/package-audit.ts now enforces that. Some installed text is still outside that check:
Runtime strings that name docs/*.md pages the package doesn't ship. These are printed by the CLI or written into generated output, and nothing checks them:
packages/core/src/capabilities.ts: See docs/CAPABILITIES.md for transport limits… (urlcode capabilities output) and See docs/POLICIES.md#portability-and-the-per-target-table (throttle reason).
packages/core/src/capability-query.ts: Provider deployments: unverified; see docs/CAPABILITIES.md.
packages/core/src/openapi.ts: component and response descriptions cite docs/HTTP.md#error-format, docs/HTTP.md#body-schema-and-input-patterns, docs/OPERATIONS.md and docs/ASSETS.md, so they land in every exported OpenAPI document.
llms.txt and llms-full.txt link blob/main. Both are in the npm tarball. scripts/build-llms-full.ts rewrites relative links to GITHUB_BLOB = …/blob/main/ and prints a Source: …/blob/main/… line for each page. An installed copy therefore points readers at main's docs instead of the docs for the installed version. The Installed store README: links to uninstalled docs, and no list or error response shapes #916 shipped-link rule forbids this for package Markdown, but it doesn't cover .txt files.
Relevant output
Expected: installed text names either a file that ships, a urlcode docs search query, or blob/v<current version>/… (moved by release:bump). A check should cover the string cases too, for example by extending the package audit or adding a test that scans dist/ for docs/[A-Z-]+\.md outside comments.
Unverified: whether the website copy of llms.txt should keep blob/main. The installed copy and the website copy may need different link bases.
Activity
fix(core,docs): installed strings and llms indexes link this release'…