[WIP] Integrate JSR @jk-com/adblock-compiler with fallback#214
Merged
jaypatrick merged 2 commits intorefactoring-projectfrom Jan 1, 2026
Merged
[WIP] Integrate JSR @jk-com/adblock-compiler with fallback#214jaypatrick merged 2 commits intorefactoring-projectfrom
jaypatrick merged 2 commits intorefactoring-projectfrom
Conversation
Co-authored-by: jaypatrick <1800595+jaypatrick@users.noreply.github.com>
Copilot stopped work on behalf of
jaypatrick due to an error
January 1, 2026 04:40
jaypatrick
added a commit
that referenced
this pull request
Jan 1, 2026
* feat: integrate JSR @jk-com/adblock-compiler with npm fallback - Add JSR package @jk-com/adblock-compiler@^0.6.0 as primary dependency - Keep @adguard/hostlist-compiler as fallback - Create compiler-adapter.ts for automatic fallback handling - Update compiler.ts to use new adapter - Logs which compiler is being used at runtime Co-Authored-By: Warp <agent@warp.dev> * docs: add compiler integration documentation * [WIP] Integrate JSR @jk-com/adblock-compiler with fallback (#214) * Initial plan * refactor: Remove any types and top-level await from compiler-adapter Co-authored-by: jaypatrick <1800595+jaypatrick@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: jaypatrick <1800595+jaypatrick@users.noreply.github.com> * Remove AdGuardTeam references, use jk-com/adblock-compiler exclusively (#215) * Initial plan * docs: remove all adguardteam references, use jk-com/adblock-compiler exclusively Co-authored-by: jaypatrick <1800595+jaypatrick@users.noreply.github.com> * fix: update TypeScript source imports to use jk-com/adblock-compiler Co-authored-by: jaypatrick <1800595+jaypatrick@users.noreply.github.com> * docs: update remaining documentation references to jk-com/adblock-compiler Co-authored-by: jaypatrick <1800595+jaypatrick@users.noreply.github.com> * docs: remove adguard references from compiler READMEs Co-authored-by: jaypatrick <1800595+jaypatrick@users.noreply.github.com> --------- Signed-off-by: Jayson Knight <jayson.knight@jaysonknight.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: jaypatrick <1800595+jaypatrick@users.noreply.github.com> Co-authored-by: Jayson Knight <jayson.knight@jaysonknight.com> --------- Signed-off-by: Jayson Knight <jayson.knight@jaysonknight.com> Co-authored-by: Warp <agent@warp.dev> Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Compiler Adapter Improvements Plan
Addressing review comments from PR #213:
anytypes with proper TypeScript typesCompilerSource,CompilerFunction, andFilterCompilerConstructortypesCompilerModuleinterface for type safetyanyusageinitializeCompiler)getCompilerInfo()async to support lazy initializationgetFilterCompiler()async function instead of direct export💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.