# UnieAI Code

`@unieai/code` is UnieAI's terminal coding agent — a Claude Code-compatible
Ink TUI that signs into [UnieAI Studio](https://unieai.com) and routes all
Anthropic-bound traffic through the Studio gateway.

## Install

```bash
npm i -g @unieai/code
# or: pnpm add -g @unieai/code
# or: bun add -g @unieai/code
```

## Use

```bash
unieai                          # interactive TUI in the current directory
unieai login                    # sign into UnieAI Studio
unieai -p "refactor this file"  # one-shot print mode
unieai --version
unieai --help
```

A second bin name, `claude-haha`, is registered as an alias for compatibility
with the upstream project.

## State

User state (sessions, plugins, skills, MCP servers, login, theme) lives under
`~/.unieai` so it stays isolated from any official Claude Code install. Override
with `UNIEAI_CONFIG_DIR` or `CLAUDE_CONFIG_DIR`.

## Requirements

- Node.js 18 or later

## License

Proprietary — © UnieAI. See `LICENSE`.
