Metadata-Version: 2.5
Name: wizelit-cli
Version: 0.1.48rc1
Summary: Wizelit terminal agent — installable CLI for local repo work
Author-email: Wizeline <engineering@wizeline.com>
License-Expression: MIT
License-File: LICENSE
Keywords: agents,cli,deepagents,terminal,wizelit
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Terminals
Requires-Python: >=3.12
Requires-Dist: agent-client-protocol<0.13,>=0.12.1
Requires-Dist: websockets>=14.0
Requires-Dist: wizelit-client==0.1.48rc1
Requires-Dist: wizelit-core==0.1.48rc1
Provides-Extra: dev
Requires-Dist: pytest-asyncio>=0.24.0; extra == 'dev'
Requires-Dist: pytest>=8.0.0; extra == 'dev'
Description-Content-Type: text/markdown

# Wizelit CLI

Terminal agent for local repository work. Depends on **`wizelit-core`** and **`wizelit-client`**. Settings and MCP sync from your Wizelit hub on each startup; skills and subagents ship inside `wizelit-core`.

Install via **`uv tool install`** (Python 3.12+ pulled automatically).

## Setup

```bash
brew install uv
uv tool install wizelit-cli@latest
wizelit-agent -i --repo /path/to/your-project
```

The CLI uses the production Wizelit hub by default. On first run it opens your browser for sign-in and device approval, then starts the agent. Provider, model and LLM credentials are managed on the hub.

`wizelit-agent setup` is only needed to use another hub (the URL from your team) or to troubleshoot.

## Config (auto-created)

| Path | Purpose |
|------|---------|
| `~/.wizelit/config.json` | Hub URL, only if set with `wizelit-agent setup` |
| `~/.wizelit/credentials.json` | Hub auth token (from browser pairing) |
| `~/.wizelit/update-notice.json` | When the "new version available" notice was last shown |

## Commands

| Command / input | Action |
|-----------------|--------|
| `wizelit-agent setup` | Change hub URL + re-pair (optional; troubleshooting) |
| `wizelit-agent auth login` / `logout` | Manage hub pairing |
| `wizelit-agent -c` / `--resume <id>` | Resume this repo's latest session / a given one |
| `/reload` | Re-fetch hub profile in the REPL (new session) |
| `/resume` | Pick one of this repo's sessions and resume it |
| `/model` | Pick a provider and model for this session; saved for the next ones |
| `/exit`, `/quit` | Leave the REPL |
| `Esc` / `Ctrl+C` during a turn | Stop the turn, keep the session (`Ctrl+C` again quits) |

Upgrade: `uv tool upgrade wizelit-cli`

The hub tells the CLI when a newer release exists, or when it can't read this build's version; the `[update]` line appears at most once a day per release. Set `WIZELIT_NO_UPDATE_NOTICE=1` to hide it. A release below the hub's minimum is always shown, and if the hub enforces that minimum the CLI exits with status 3.

When there are Wizelit release notes you haven't read, an interactive session on a terminal prints one `[new] New in Wizelit: …` line to stderr, once per new note (one-shot and piped runs don't). Type `/whats-new` to read them, which marks them read. Set `WIZELIT_NO_WHATS_NEW=1` to hide the line.
