This repository was archived by the owner on Oct 31, 2026. It is now read-only.
Repository navigation
feat!: stop shipping queries - #83
Merged
Merged
Conversation
Co-authored-by: WillBooster (Claude Code) <agent@willbooster.com>
Co-authored-by: WillBooster (Claude Code) <agent@willbooster.com>
Co-authored-by: WillBooster (Claude Code) <agent@willbooster.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
The fork maintains only full parsing. Its queries (
highlights.scm,injections.scm) were shipped but no longer maintained or tested, so a permitted tree-shape change could leave a published query referencing a node that no longer exists. No WillBooster product uses them. Removing them makes the published package match the maintenance scope and removes the agent rule for deleting broken queries.Requirements
wbfymakes (requester)!) so it is released as a new major version, which makes the README's statement about major versions trueCustomer Summary
Breaking: the npm package and the Rust crate no longer ship highlight or injection queries.
tree-sitter.jsonno longer lists them, and the Rust constantsHIGHLIGHT_QUERY_BLOCK,INJECTION_QUERY_BLOCK,HIGHLIGHT_QUERY_INLINE, andINJECTION_QUERY_INLINEare removed. The README gains a "Support Scope" section stating what this fork maintains.Technical Summary
tree-sitter-markdown/queries/andtree-sitter-markdown-inline/queries/, and their entries inpackage.jsonfiles,Cargo.tomlinclude,tree-sitter.json, andbindings/rust/lib.rs.AGENTS_EXTRA.md(and the regeneratedAGENTS.md) now says the fork ships no queries and marks tree-shape changes as breaking; the rule for deleting broken queries is gone.tree-sitter-md(no query constants, andMarkdownCursor::field_nameborrowing from the tree).wbfyalso updated@types/bun,@willbooster/wb,oxlint-tsgolint, andbun.lock.Testing
cargo testandbun run verifypass. code-gauge reports only existing violations in files this PR does not touch.a554874.