Skip to content

v0.20.0 - OpenCode CLI Support

Choose a tag to compare

@cruzanstx cruzanstx released this 19 Jan 01:22
· 198 commits to main since this release

What's New

OpenCode CLI Support for Z.AI GLM-4.7

This release adds support for OpenCode CLI as the recommended way to run Z.AI GLM-4.7 models.

Why OpenCode?

  • Native Z.AI support with proper GLM-4.7 message format handling
  • Fixes GitHub Issue #4 (Z.AI GLM-4.7 compatibility with Codex CLI)
  • The existing zai model (via Codex profile) is retained but may have issues with certain prompts

Usage

# Recommended: Use OpenCode for Z.AI
/run-prompt 005 --model opencode

# Alternative: Still available via Codex
/run-prompt 005 --model zai

Changes

  • Added: opencode model for Z.AI GLM-4.7 via OpenCode CLI
  • Added: PTY wrapper support for CLIs that require pseudo-terminals
  • Added: needs_pty flag in model configuration
  • Added: 7 new unit tests for model configuration and PTY command wrapping
  • Fixed: Z.AI GLM-4.7 compatibility issues (GitHub Issue #4)
  • Updated: Model reference tables with opencode as recommended Z.AI option

Update

claude plugin uninstall daplug@cruzanstx
claude plugin marketplace update cruzanstx
claude plugin install daplug@cruzanstx

Full changelog: CHANGELOG.md