Skip to content

Conversation

@AbianS
Copy link
Owner

@AbianS AbianS commented Jan 28, 2026

Summary by CodeRabbit

Bug Fixes

  • Fixed WASM module path resolution to work reliably across different package installation scenarios, improving code parsing compatibility.

✏️ Tip: You can customize this high-level summary in your review settings.

@coderabbitai
Copy link

coderabbitai bot commented Jan 28, 2026

Caution

Review failed

The pull request is closed.

Walkthrough

A changeset file documents a patch version fix for the code-recall package addressing WASM path resolution. The parser module replaces hardcoded __dirname-based WASM file paths with a dynamic resolver function that computes paths relative to package dependencies to handle npm hoisting scenarios.

Changes

Cohort / File(s) Summary
Changeset metadata
.changeset/tidy-flies-fix.md
New changeset file documenting a patch fix for WASM path resolution in code-recall package
WASM path resolution
apps/server/src/code/parser.ts
Replaces hardcoded __dirname-based WASM paths with a new resolveWasm() helper function that dynamically locates WASM files relative to their package dependencies; removes fileURLToPath and __dirname imports; updates WASM_PATHS entries for parser, typescript, tsx, and javascript to use the new resolver

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

✨ Finishing touches
  • 📝 Generate docstrings

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@AbianS AbianS merged commit a5149c7 into main Jan 28, 2026
1 of 2 checks passed
@AbianS AbianS deleted the fix/wasm-paths branch January 28, 2026 20:06
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.

2 participants