Releases: numman-ali/zai-cli
Releases · numman-ali/zai-cli
zai-cli v1.1.0
Added
- Repo search language flag (defaults to English) and repo tree path/depth expansion.
- Web reader flags for images summary, GFM control, and data URL preservation.
- MCP tool discovery cache with 24h default TTL plus configurable cache directory.
- Automatic retry/backoff for transient MCP failures (vision defaults to 2 retries).
--no-visionto skip vision MCP startup for faster non-vision commands.- Live MCP coverage tests and a tools benchmark script.
- Advanced skill reference for raw tool usage and performance tuning.
Changed
- CLI version now reads from package.json.
- Tool schema output is redacted for secrets.
v1.0.0 - Initial Release
ZAI CLI: MCP-native command line interface for Z.AI capabilities.
Features
- Vision - Analyze images, screenshots, diagrams, charts, videos using GLM-4.6V
- Search - Real-time web search with domain and recency filtering
- Reader - Fetch and parse web pages to markdown
- Repo - Search and read GitHub repository code via ZRead
- Tools - MCP tool discovery, schemas, and raw calls
- Code Mode - TypeScript tool chaining for agent automation
Installation
As an Agent Skill
OpenSkills (universal):
npx openskills install numman-ali/zai-cliClaude Code:
claude skill install numman-ali/zai-cli --skill zai-cliAs a CLI Tool
npm i -g zai-cliQuick Start
export Z_AI_API_KEY="your-api-key"
npx zai-cli --help
npx zai-cli vision analyze ./screenshot.png "What errors do you see?"Get your API key at: https://z.ai/manage-apikey/apikey-list