rUv
ff87ffc086
fix: Export new NAPI functions in native wrapper
...
- Added CollectionManager, getMetrics, getHealth exports to index.cjs
- Fixed VectorDB/VectorDb naming inconsistency in TypeScript
- Added docker test script
All exports now working:
- VectorDB (vector operations)
- CollectionManager (multi-collection support)
- getHealth() (health status)
- getMetrics() (Prometheus metrics)
- version(), hello() (utils)
Tested in Docker container: PASSED
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-26 19:05:00 +00:00
rUv
f7506f812d
feat: Update NAPI-RS bindings with new capabilities (v0.1.15)
...
New features exposed to Node.js:
- CollectionManager: Multi-collection support with aliases
- getMetrics(): Prometheus metrics endpoint
- getHealth(): Health status with uptime tracking
- Filter: Metadata-based search filtering
Updates:
- Rebuilt Linux x64 and ARM64 binaries with new features
- Updated all package versions to 0.1.15
- Enhanced TypeScript definitions with new interfaces
- Added commit-binaries job to CI workflow
- Fixed macos-15-intel -> macos-13 in CI matrix
- Added build scripts in scripts/build/
Note: macOS and Windows binaries will be built by CI
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-26 18:47:48 +00:00
rUv
47dd1a7539
fix: Add CommonJS build and remove WASM dependency
...
🔧 @ruvector/core@0.1.5
- Added CommonJS build (index.cjs.js) for require() compatibility
- Created dual build system (ESM + CJS)
- Fixed package.json exports to point to correct CJS file
🔧 ruvector@0.1.11
- Updated to @ruvector/core@^0.1.5
- Removed @ruvector/wasm optional dependency (not yet buildable)
- Improved error messages for unsupported platforms
Fixes #13 - Missing CommonJS build issue
2025-11-25 18:05:36 +00:00
rUv
eefcc5322b
feat: Add multi-platform GitHub Actions workflow for native module builds
...
Phase 2: Multi-Platform Native Builds
This commit adds comprehensive GitHub Actions CI/CD for building native
NAPI modules across all major platforms:
✨ Features:
- GitHub Actions workflow with 5-platform matrix build:
- Linux (x64, ARM64)
- macOS (x64 Intel, ARM64 Apple Silicon)
- Windows (x64)
- Parallel builds complete in 7-10 minutes
- Automated artifact uploads and publishing
- Platform-specific npm packages with smart detection
📦 Package Structure:
- @ruvector/core - Main package with platform detection
- @ruvector/core-{platform} - Platform-specific binaries
- Smart loader with automatic platform selection
- Optional dependencies ensure minimal install size
🔧 Developer Tools:
- scripts/publish-platforms.js - Automated publishing
- Comprehensive TypeScript definitions
- Smoke tests for each platform
- Local build support with napi build
📚 Documentation:
- docs/BUILD_PROCESS.md - Complete build guide
- docs/PHASE2_MULTIPLATFORM_COMPLETE.md - Phase summary
- README for @ruvector/core package
- Troubleshooting and cross-compilation guides
🚀 Publishing Workflow:
1. Tag release (git tag v0.1.1)
2. Push to GitHub
3. CI builds all platforms
4. Publishes platform packages
5. Publishes main packages
Next: Phase 3 - WASM support with architectural refactoring
🤖 Generated with Claude Code
2025-11-21 13:19:13 +00:00