Commit Graph

5 Commits

Author SHA1 Message Date
Mark IJbema 67b34b0fad fix: exclude models-snapshot.ts from source link extraction
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.
2026-03-24 10:34:52 +01:00
Mark IJbema 6d994786a9 fix: exclude dev.kilo.ai from source link extraction
Internal dev/mock URL used only when isMock is true in github.ts:486.
Not a real user-facing endpoint.
2026-03-23 11:12:35 +01:00
Mark IJbema 35a84e1c0a fix: extract external URLs instead of excluding them from source link checker
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).
2026-03-23 10:59:13 +01:00
kiloconnect[bot] 9c69621d89 ci: rework source link checker into PR gate with committed file
- 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
2026-03-23 09:22:32 +00:00
kiloconnect[bot] f1d43995fc ci: add link checker for extension and CLI source code URLs
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
2026-03-23 08:54:44 +00:00