Bug Report: RuVector CLI — create command fails with "Missing field dimensions"
Environment
- ruvector version: 0.1.95 (npm package)
- Node version: v24.18.0
- Platform: Linux x64
- OS: Ubuntu 7.0.0-28-generic
Problem
The ruvector create command fails with Missing field 'dimensions' error despite the --dimension flag being correctly passed.
Reproduction Steps
npx ruvector create ~/.magpie/concepts.rvf --dimension 384 --metric cosine
Expected Behavior
Creates a new vector database at ~/.magpie/concepts.rvf with:
- Dimension: 384
- Metric: cosine
Actual Behavior
- Creating database...
✖ Failed to create database
Missing field `dimensions`
Investigation
The CLI help shows --dimension as the correct flag (lowercase 'd'):
$ npx ruvector create --help
Options:
-d, --dimension <number> Vector dimension (default: "384")
-m, --metric <type> Distance metric (cosine|euclidean|dot) (default: "cosine")
However, the error message references dimensions (plural), suggesting an internal field-name mismatch in the create logic.
Workaround
None identified. Vector store cannot be created.
Additional Notes
- The error occurs consistently with both
-d and --dimension forms
npx ruvector info works correctly, confirming CLI is installed properly
npx ruvector stats works on pre-existing databases
Bug Report: RuVector CLI —
createcommand fails with "Missing fielddimensions"Environment
Problem
The
ruvector createcommand fails withMissing field 'dimensions'error despite the--dimensionflag being correctly passed.Reproduction Steps
npx ruvector create ~/.magpie/concepts.rvf --dimension 384 --metric cosineExpected Behavior
Creates a new vector database at
~/.magpie/concepts.rvfwith:Actual Behavior
Investigation
The CLI help shows
--dimensionas the correct flag (lowercase 'd'):However, the error message references
dimensions(plural), suggesting an internal field-name mismatch in the create logic.Workaround
None identified. Vector store cannot be created.
Additional Notes
-dand--dimensionformsnpx ruvector infoworks correctly, confirming CLI is installed properlynpx ruvector statsworks on pre-existing databases