pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/aws/aws-toolkit-jetbrains/pull/6280

obal-a469e846088cc1bf.css" /> feat(amazonq): bundle stripped indexing folder for @file support in fallback LSP by chungjac · Pull Request #6280 · aws/aws-toolkit-jetbrains · GitHub
Skip to content

feat(amazonq): bundle stripped indexing folder for @file support in fallback LSP#6280

Open
chungjac wants to merge 3 commits intoaws:mainfrom
chungjac:bundle-partial-indexing
Open

feat(amazonq): bundle stripped indexing folder for @file support in fallback LSP#6280
chungjac wants to merge 3 commits intoaws:mainfrom
chungjac:bundle-partial-indexing

Conversation

@chungjac
Copy link
Contributor

@chungjac chungjac commented Mar 4, 2026

Problem

When users behind corporate proxies/firewalls can't download the LSP from CDN, the JB extension falls back to a bundled LSP. The bundled LSP currently excludes the entire indexing/ folder (~200MB), which means @file, @folder, and @code context commands don't work for these users.

Solution

Instead of deleting the entire indexing folder during bundling, selectively strip only the heavy platform-specific files that aren't needed for context commands:

  • dist/bin/ — ONNX native binaries (25MB)
  • dist/build/ — faiss native binaries (11MB)
  • models/ — CodeSage ONNX model (124MB)

This keeps extension.js, lspServer.js, tree-sitter WASMs (~30MB uncompressed, ~3MB compressed in plugin .zip), which is everything needed for @file, @folder, @code, and BM25 cross-file context.

Testing

@chungjac chungjac requested a review from a team as a code owner March 4, 2026 19:42
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.

3 participants

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy