ruvector/packages/graph-data-generator/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

117 lines
3.3 KiB
JSON

{
"name": "@ruvector/graph-data-generator",
"version": "0.1.0",
"description": "AI-powered synthetic graph data generation with OpenRouter/Kimi K2 integration for Neo4j knowledge graphs, social networks, and temporal events",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"type": "module",
"bin": {
"graph-synth": "./bin/cli.js"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./generators": {
"types": "./dist/generators/index.d.ts",
"import": "./dist/generators/index.js",
"require": "./dist/generators/index.cjs"
},
"./schemas": {
"types": "./dist/schemas/index.d.ts",
"import": "./dist/schemas/index.js",
"require": "./dist/schemas/index.cjs"
}
},
"files": [
"dist/**/*.js",
"dist/**/*.cjs",
"dist/**/*.d.ts",
"dist/**/*.map",
"bin",
"config",
"README.md",
"LICENSE"
],
"scripts": {
"build": "tsup src/index.ts --format esm,cjs --dts --clean",
"build:generators": "tsup src/generators/index.ts --format esm,cjs --dts --out-dir dist/generators",
"build:schemas": "tsup src/schemas/index.ts --format esm,cjs --dts --out-dir dist/schemas",
"build:all": "npm run build && npm run build:generators && npm run build:schemas",
"dev": "tsup src/index.ts --format esm --watch",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"typecheck": "tsc --noEmit",
"lint": "eslint src tests --ext .ts,.js",
"lint:fix": "eslint src tests --ext .ts,.js --fix",
"format": "prettier --write \"src/**/*.{ts,js}\" \"tests/**/*.{ts,js}\"",
"format:check": "prettier --check \"src/**/*.{ts,js}\" \"tests/**/*.{ts,js}\"",
"prepublishOnly": "npm run build:all"
},
"dependencies": {
"@ruvector/agentic-synth": "^0.1.0",
"dotenv": "^16.6.1",
"p-retry": "^6.2.1",
"p-throttle": "^6.2.0",
"zod": "^4.1.12"
},
"peerDependencies": {
"@ruvector/agentic-synth": "^0.1.0"
},
"peerDependenciesMeta": {
"@ruvector/agentic-synth": {
"optional": true
}
},
"devDependencies": {
"@types/node": "^20.19.25",
"@typescript-eslint/eslint-plugin": "^8.47.0",
"@typescript-eslint/parser": "^8.47.0",
"@vitest/coverage-v8": "^1.6.1",
"eslint": "^8.57.1",
"prettier": "^3.6.2",
"tsup": "^8.5.1",
"typescript": "^5.9.3",
"vitest": "^1.6.1"
},
"keywords": [
"graph-data",
"knowledge-graph",
"social-network",
"neo4j",
"cypher",
"synthetic-data",
"openrouter",
"kimi-k2",
"graph-generation",
"vector-embeddings",
"temporal-graphs",
"entity-relationships",
"ruvector",
"ai-training",
"llm",
"typescript"
],
"author": {
"name": "rUv",
"url": "https://github.com/ruvnet"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/ruvnet/ruvector.git",
"directory": "packages/graph-data-generator"
},
"homepage": "https://github.com/ruvnet/ruvector/tree/main/packages/graph-data-generator#readme",
"bugs": {
"url": "https://github.com/ruvnet/ruvector/issues"
},
"engines": {
"node": ">=18.0.0",
"npm": ">=9.0.0"
}
}