babylon-mcp/scripts
Michael Mainguy 28f5d83d67 Add Alpine Linux support via stub onnxruntime-node module
The @xenova/transformers package unconditionally imports both
onnxruntime-node and onnxruntime-web at module load time. This
causes immediate failure on Alpine Linux (musl libc) because
onnxruntime-node requires glibc.

Solution: Created alpine:setup script that replaces onnxruntime-node
with a stub module after npm install. The transformers library will
automatically fall back to onnxruntime-web (WASM backend).

Usage on Alpine:
  npm install
  npm run alpine:setup
  npm run build
  npm run index:all

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-23 10:41:05 -06:00
..
alpine-setup.sh Add Alpine Linux support via stub onnxruntime-node module 2025-11-23 10:41:05 -06:00
get-api-details.ts feat: Add TypeScript API documentation indexing and search with improved test coverage 2025-11-23 05:58:16 -06:00
index-api.ts Fix WASM backend configuration for Alpine Linux 2025-11-23 10:36:25 -06:00
index-docs.ts Fix WASM backend configuration for Alpine Linux 2025-11-23 10:36:25 -06:00
index-source.ts Fix WASM backend configuration for Alpine Linux 2025-11-23 10:36:25 -06:00
search-handmenu-api.ts feat: Add TypeScript API documentation indexing and search with improved test coverage 2025-11-23 05:58:16 -06:00
search-handmenu.ts feat: Add TypeScript API documentation indexing and search with improved test coverage 2025-11-23 05:58:16 -06:00
test-api-indexing.ts feat: Add TypeScript API documentation indexing and search with improved test coverage 2025-11-23 05:58:16 -06:00
test-api-search.ts feat: Add TypeScript API documentation indexing and search with improved test coverage 2025-11-23 05:58:16 -06:00
test-parser.ts Update dependencies, roadmap, and add indexing scripts 2025-11-23 04:58:14 -06:00
test-search.ts Update dependencies, roadmap, and add indexing scripts 2025-11-23 04:58:14 -06:00
test-source-indexing.ts Add source code indexing and search with comprehensive documentation 2025-11-23 06:34:00 -06:00
test-source-search.ts Add source code indexing and search with comprehensive documentation 2025-11-23 06:34:00 -06:00