Skip to content

Add Astro files to code sync#850

Open
Kage18 wants to merge 1 commit into
garrytan:masterfrom
Kage18:kage-add-astro-code-extension
Open

Add Astro files to code sync#850
Kage18 wants to merge 1 commit into
garrytan:masterfrom
Kage18:kage-add-astro-code-extension

Conversation

@Kage18

@Kage18 Kage18 commented May 11, 2026

Copy link
Copy Markdown

Fixes #709.

Summary

  • Include .astro in the code sync extension allowlist.
  • Detect .astro files as HTML-backed code chunks.
  • Include Astro in code-reference extraction and fenced-code pseudo paths.

Validation

  • bun test test/sync-strategy.test.ts test/sync-walker-symlink.test.ts test/chunkers/code.test.ts test/link-extraction-code-refs.test.ts test/sync-classifier-widening.test.ts
  • bun run typecheck
  • git diff --check

View in Codesmith
Need help on this PR? Tag @codesmith with what you need.

  • Let Codesmith autofix CI failures and bot reviews

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: .astro extension missing from CODE_EXTENSIONS — Astro projects' SFCs invisible to code sync

1 participant