The models-snapshot.ts file contains hundreds of provider API endpoint
URLs that are not user-facing links. Regenerate source-links.md with
the correct 76 URLs.
The extraction script was overly aggressive in excluding URLs (GitHub,
archives, JSON endpoints, images). These are real user-facing links
that should be validated by lychee. Removed the blanket exclusions
and reverted the lychee.toml additions — the docs checker already
handles external link validation.
Now extracts 77 URLs (up from 59).
- Move generated source-links.md into packages/kilo-docs/ so the
existing docs link-checker (docs-check-links.yml) validates URLs
- Add --check flag to extract-source-links.ts for CI freshness check
- Replace lychee step in source-check-links.yml with freshness check
- Merge source-link exclusions into packages/kilo-docs/lychee.toml
- Remove standalone source-links-lychee.toml (no longer needed)
- Remove source-links.md from .gitignore (file is now committed)
- Add source code path triggers to docs-check-links.yml
Extract user-facing URLs from packages/kilo-vscode/ and packages/opencode/src/
into a markdown file that lychee can check for broken links. Reuses the same
Kilo-Org/lychee-action used by the docs link checker.
- script/extract-source-links.ts: Bun script that greps TS/TSX/JS/JSX source
files and filters out API endpoints, localhost, examples, templates, vendored
code, tests, and stories
- script/source-links-lychee.toml: lychee config with exclusions for sites that
block automated checks (GitHub, OpenAI, etc.)
- .github/workflows/source-check-links.yml: CI job that runs on PRs touching
extension or CLI code, plus weekly scheduled runs
Update upstream merge scripts to use a generic x-opencode- → x-kilo- regex
that catches all current and future headers automatically. Apply the same
replacement to all source files so the codebase is ready for the next
upstream merge.