brainy/cli-package
David Snelling 3c7846b79d **chore: remove comprehensive test scripts and related documentation**
- Removed the `scripts/comprehensive-test.js` script and its auxiliary files (`node-test.js`, `TENSORFLOW_NODEJS.md`, and `scripts/test-cli-locally.js`).
- These files encompassed unified testing across environments (Browser, Node.js, and CLI) and TensorFlow.js compatibility.
- Reflects a strategic decision to deprecate integrated testing workflow in favor of modular testing approaches and project simplification.

This cleanup aligns with the ongoing effort to streamline the repository and remove redundant or outdated test infrastructure.
2025-07-15 11:50:37 -07:00
..
src **chore: remove comprehensive test scripts and related documentation** 2025-07-15 11:50:37 -07:00
brainy-wrapper.js **feat(tests): add tests for TextEncoder, TensorFlow.js, and fallback mechanisms** 2025-07-11 11:11:56 -07:00
cli-wrapper.js **refactor(tests): consolidate and replace outdated environment test scripts** 2025-07-14 11:12:51 -07:00
package-lock.json chore(deps): update package-lock dependency versions to 0.11.0 2025-07-11 12:17:15 -07:00
package.json **chore(release): bump version to 0.11.0** 2025-07-11 12:15:39 -07:00
README.md **feat(tests): add tests for TextEncoder, TensorFlow.js, and fallback mechanisms** 2025-07-11 11:11:56 -07:00
rollup.config.js **feat(patch): enhance TextEncoder/TextDecoder compatibility for TensorFlow.js** 2025-07-11 12:15:11 -07:00
tsconfig.json **chore(version): bump version to 0.9.18 and update build configurations** 2025-07-02 12:15:35 -07:00
types.d.ts **chore(version): bump version to 0.9.18 and update build configurations** 2025-07-02 12:15:35 -07:00

@soulcraft/brainy-cli

Command-line interface for the Brainy vector graph database.

Installation

# Install globally
npm install -g @soulcraft/brainy-cli

Usage

Once installed, you can use the brainy command from anywhere:

# Show help
brainy --help

# Initialize a new database
brainy init

# Add data
brainy add "Cats are independent pets" '{"noun":"Thing","category":"animal"}'

# Search
brainy search "feline pets" --limit 5

# Add relationships
brainy addVerb id1 id2 RelatedTo '{"description":"Both are pets"}'

# Visualize the graph
brainy visualize
brainy visualize --root <id> --depth 3

# Generate random test data
brainy generate-random-graph --noun-count 20 --verb-count 30 --clear

Features

  • Full access to all Brainy database functionality from the command line
  • Autocomplete support for commands and options
  • Visualization of graph data
  • Import/export capabilities
  • Augmentation pipeline testing

Requirements

  • Node.js >= 24.4.0

License

MIT