brainy/cli-package
dpsifr ff95e24b16 chore(release): bump version to 0.18.0
- Updated version to `0.18.0` in `cli-package/package.json` and `package-lock.json`.
- Upgraded `@soulcraft/brainy` dependency to `^0.17.0` for compatibility with recent changes.
- Synced package dependencies and resolved lockfile integrity for deployment.

**Purpose**: Prepare for release by synchronizing versioning across the CLI package and updating dependencies for compatibility.
2025-07-22 16:06:54 -07:00
..
src **refactor(cli): remove unnecessary @ts-expect-error for omelette import** 2025-07-22 11:06:18 -07:00
brainy-wrapper.js **refactor(cli): remove obsolete command and streamline TextEncoder/TextDecoder usage** 2025-07-15 11:52:54 -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(release): bump version to 0.18.0 2025-07-22 16:06:54 -07:00
package.json chore(release): bump version to 0.18.0 2025-07-22 16:06:54 -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 Feat: enhance cli.ts with updated typings and improved search interface 2025-07-18 12:00:50 -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