Metadata-Version: 2.4
Name: raze-cli
Version: 1.0.2
Summary: RAZE CLI - Local-first AI workforce command line interface
Author-email: Mohammed Alanazi <mtma.1@hotmail.com>
License-Expression: MIT
Project-URL: Homepage, https://github.com/mtma1/Raze-1
Project-URL: Repository, https://github.com/mtma1/Raze-1
Project-URL: Issues, https://github.com/mtma1/Raze-1/issues
Keywords: ai,cli,agents,automation,local-first,raze
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Operating System :: Microsoft :: Windows
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Python: >=3.11
Description-Content-Type: text/markdown
Requires-Dist: typer>=0.15.0
Requires-Dist: rich>=13.0.0
Requires-Dist: httpx>=0.28.0
Requires-Dist: pyyaml>=6.0
Provides-Extra: grpc
Requires-Dist: grpcio>=1.78.0; extra == "grpc"
Provides-Extra: dev
Requires-Dist: pytest>=8.0.0; extra == "dev"

# RAZE CLI

RAZE CLI is the local command line entrypoint for the RAZE runtime.

## Install

```bash
pip install raze-cli
```

This installs the CLI manager. The local Core and Dashboard runtime still need to be available through a registered RAZE runtime bundle.

Optional gRPC transport support:

```bash
pip install "raze-cli[grpc]"
```

## First run

```bash
raze setup
raze bootstrap --bundle-dir <bundle-root>
raze doctor
raze dashboard
raze update --manifest <path-or-url>
```

If you only installed `raze-cli` and have not unpacked the local RAZE runtime bundle yet, `raze dashboard` will now stop with guided recovery steps instead of crashing.

End users should not build the dashboard manually. The intended product flow is:

```bash
pipx install raze-cli
# or: pip install raze-cli

# unpack one ready runtime bundle first
raze bootstrap --bundle-dir <bundle-root>
raze doctor
raze dashboard
```

## What the CLI expects

- A writable local runtime directory via `RAZE_DATA_DIR` or the default user data path
- A registered local runtime bundle or reachable `raze_core` runtime when you want to use Core-backed commands
- A bundled dashboard build that Core can serve, or the dashboard source tree for dev-only launches
- When `grpcio` is installed and Core exposes the localhost control plane, the CLI will prefer gRPC automatically and fall back to REST when needed

## Common commands

```bash
raze config
raze list
raze install research-employee
raze run research-employee
raze reset-db --yes
```
