ruvector/npm/packages/postgres-cli/package.json
rUv ee40332ce1 fix(postgres): Resolve compilation errors and Docker build issues
- Fix simsimd Option/Result type mismatch in scaled_dot.rs
- Fix f32/f64 type conversions in poincare.rs and lorentz.rs
- Fix AVX512 missing wrapper functions by using AVX2 fallback
- Fix Vec<Vec<f32>> to JsonB for pgrx pg_extern compatibility
- Fix DashMap get() to get_mut() for mutable access
- Fix router.rs dereference for best_score comparison
- Update Dockerfile to copy pre-written SQL file for pgrx
- Simplify init.sql to use correct function names
- Add postgres-cli npm package for CLI tooling

All changes tested successfully in Docker with:
- Extension loads with AVX2 SIMD support (8 floats/op)
- Distance functions verified working
- PostgreSQL 16 container runs successfully

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-03 01:17:50 +00:00

75 lines
1.6 KiB
JSON

{
"name": "@ruvector/postgres-cli",
"version": "0.1.0",
"description": "Command-line interface for RuVector PostgreSQL extension - advanced AI vector database",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"type": "module",
"bin": {
"ruvector-pg": "dist/cli.js",
"rvpg": "dist/cli.js"
},
"scripts": {
"build": "tsc",
"dev": "tsc --watch",
"clean": "rm -rf dist *.tsbuildinfo",
"test": "node --test tests/*.test.js",
"typecheck": "tsc --noEmit",
"lint": "eslint src --ext .ts",
"prepublishOnly": "npm run build"
},
"keywords": [
"ruvector",
"postgres",
"postgresql",
"vector",
"database",
"cli",
"command-line",
"gnn",
"attention",
"embeddings",
"graph",
"cypher",
"sparse-vectors",
"bm25",
"hyperbolic",
"poincare",
"lorentz",
"quantization",
"agent-routing",
"machine-learning",
"self-learning"
],
"author": "ruv.io Team <info@ruv.io> (https://ruv.io)",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/ruvnet/ruvector.git",
"directory": "npm/packages/postgres-cli"
},
"files": [
"dist",
"README.md"
],
"publishConfig": {
"access": "public"
},
"dependencies": {
"commander": "^11.1.0",
"chalk": "^5.3.0",
"pg": "^8.11.3",
"inquirer": "^9.2.12",
"ora": "^8.0.1",
"cli-table3": "^0.6.3"
},
"devDependencies": {
"@types/node": "^20.10.5",
"@types/pg": "^8.10.9",
"@types/inquirer": "^9.0.7",
"typescript": "^5.3.3"
},
"engines": {
"node": ">=18.0.0"
}
}