CLI-based code assistant powered by AI, built with React and Ink
npm install wave-codeCLI-based code assistant powered by AI, built with React and Ink.
This is the frontend UI package of the Wave workspace, providing an interactive command-line interface for AI-powered development assistance.
- Interactive CLI interface built with React and Ink
- Real-time chat interface with AI assistant
- File browser and editor integration
- Command execution and output display
- Session management and restoration
- Memory context management
``bash`
npm install wave-code -g
Before use, you need to configure the following environment variables for AI model authentication:
`bashAI Gateway access token (required)
export WAVE_API_KEY="your_token_here"
$3
`bash
Specify AI model (optional, defaults to gemini-3-flash)
export WAVE_MODEL="gemini-3-flash"Specify fast AI model (optional, defaults to gemini-2.5-flash)
export WAVE_FAST_MODEL="gemini-2.5-flash"Token limit (optional, defaults to 96000)
export WAVE_MAX_INPUT_TOKENS="96000"`Usage
$3
`bash
Start the CLI
wave-codeContinue from last session
wave-code --continueRestore specific session
wave-code --restore session_idList available sessions
wave-code --list-sessions
`$3
For convenience, you can also use the shorter
wave command:`bash
Start the CLI (equivalent to wave-code)
waveContinue from last session
wave --continueRestore specific session
wave --restore session_idList available sessions
wave --list-sessionsShow help
wave --help
`The
wave command is an alias for wave-code and supports all the same options and functionality.Development
This package depends on
wave-agent-sdk for core functionality including AI services, tools, and utilities.`bash
Install dependencies
pnpm installStart development
pnpm devBuild
pnpm buildTest
pnpm test
``MIT