ruvector/package.json
Claude bcc85f5faf
feat: Add Neo4j-compatible hypergraph database package (ruvector-graph)
Major new package implementing a distributed hypergraph database with:

## Core Components (crates/ruvector-graph/)
- Cypher-compatible query parser with lexer, AST, optimizer
- Query execution engine with SIMD optimization and parallel execution
- ACID transaction support with MVCC isolation levels
- Distributed consensus and federation layer
- Vector-graph hybrid queries for AI/RAG workloads
- Performance optimizations (100x faster than Neo4j target)

## Bindings
- WASM bindings (crates/ruvector-graph-wasm/)
- NAPI-RS Node.js bindings (crates/ruvector-graph-node/)
- NPM packages for both targets

## CLI Integration
- 8 new graph commands: create, query, shell, import, export, info, benchmark, serve

## CI/CD
- Updated build-native.yml for graph packages
- New graph-ci.yml for testing and benchmarks
- New graph-release.yml for automated publishing

## Data Generation
- OpenRouter/Kimi K2 integration (packages/graph-data-generator/)
- Agentic-synth benchmark suite integration

## Tests & Benchmarks
- 11 test files covering all components
- Criterion benchmarks for performance validation
- Neo4j compatibility test suite

## Architecture Highlights
- CSR graph layout for cache-friendly access
- SIMD-vectorized query operators
- Roaring bitmaps for label indexes
- Bloom filters for fast negative lookups
- Adaptive radix tree for property indexes

Note: This is a comprehensive implementation created by 15 parallel agents.
Some integration fixes may be needed to resolve cross-module dependencies.

Co-authored-by: Claude AI Swarm <swarm@claude.ai>
2025-11-25 23:11:54 +00:00

57 lines
2 KiB
JSON

{
"name": "ruvector",
"version": "0.1.0",
"description": "High-performance Rust-native vector database with AgenticDB compatibility",
"private": true,
"workspaces": [
"crates/ruvector-node",
"crates/ruvector-wasm",
"crates/ruvector-graph-node",
"crates/ruvector-graph-wasm",
"packages/*"
],
"scripts": {
"build": "cargo build --release",
"build:node": "cd crates/ruvector-node && npm run build",
"build:wasm": "cd crates/ruvector-wasm && npm run build",
"build:graph": "npm run build:graph-node && npm run build:graph-wasm",
"build:graph-node": "cd crates/ruvector-graph-node && napi build --platform --release",
"build:graph-wasm": "cd crates/ruvector-graph-wasm && bash build.sh",
"build:all": "npm run build && npm run build:node && npm run build:wasm && npm run build:graph",
"test": "cargo test --workspace",
"test:graph": "cargo test -p ruvector-graph --all-features",
"test:integration": "cargo test --test graph_full_integration",
"bench": "cargo bench -p ruvector-bench",
"bench:graph": "cargo bench -p ruvector-graph",
"cli": "cargo run -p ruvector-cli --",
"mcp": "cargo run -p ruvector-cli --bin ruvector-mcp",
"example:graph": "cargo run --example simple_graph -p ruvector-graph",
"example:cypher": "cargo run --example cypher_queries -p ruvector-graph",
"example:hybrid": "cargo run --example hybrid_search -p ruvector-graph",
"example:distributed": "cargo run --example distributed_setup -p ruvector-graph --features distributed",
"lint": "cargo clippy --workspace -- -D warnings",
"format": "cargo fmt --all",
"check": "cargo check --workspace",
"check:graph": "cargo check -p ruvector-graph --all-features"
},
"keywords": [
"vector",
"database",
"embeddings",
"rust",
"hnsw",
"agentic",
"ai"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/ruvnet/ruvector.git"
},
"engines": {
"node": ">=18.0.0"
},
"dependencies": {
"psycho-symbolic-reasoner": "^1.0.7"
}
}