⏱️ SuperQode v0.2.18: GLM Harness API and Refactor of TUI
SuperQode 0.2.18
PyPI: https://pypi.org/project/superqode/0.2.18/
pip install -U superqode
# or
uv tool install superqode==0.2.18Highlights
• First-party Z.AI GLM — connect GLM-5.x via the general Z.AI API (zai provider)
• glm52-coding harness — long-horizon coding template tuned for GLM-5.2
• Maintainability — CLI and TUI entry points split into focused modules (no user-facing CLI break)
───
Added
• First-party Z.AI GLM support
Added the zai BYOK provider on Z.AI’s general OpenAI-compatible API, with direct CLI/TUI connection surfaces, GLM-5.2 reasoning and streamed tool-call shaping, current GLM-5.x model metadata, and mocked plus opt-in live protocol coverage.
The restricted GLM Coding Plan endpoint is intentionally not used.
• GLM-5.2 coding harness
Added the glm52-coding template with first-party Z.AI routing, GLM-family policy tuning, 1M context, max reasoning, parallel native tools, and GLM-5.1 / GLM-5 fallbacks.
Quick start (Z.AI / GLM)
export ZAI_API_KEY=your-general-api-key
superqode connect setup zai
superqode connect zai glm-5.2
or harness
superqode harness init my-glm-agent --template glm52-coding
superqode --harness glm52-coding -p "Review this repository"
TUI:
:connect zai
:connect zai/glm-5.2
Docs: Z.AI GLM (https://github.com/SuperagenticAI/superqode/blob/main/docs/providers/zai.md)
───
Changed
• Maintainable CLI and TUI entry points — Split the large Textual app into focused mixins and moved inline Click groups into dedicated command modules, preserving imports, signatures, command order, options, and help output.
• Focused helper and harness modules — Split remaining TUI helpers into cohesive mixins; harness CLI is now a small package (largest module ~600 lines).
• CLI compatibility contract — Regression test covering all 208 commands and a byte-identical rendered help tree so structural refactors cannot silently change the public CLI.
• Release metadata — Package version, runtime version, lockfile, and ACP registry metadata bumped to 0.2.18.
───
Install
uv tool install superqode
Full changelog: CHANGELOG.md (https://github.com/SuperagenticAI/superqode/blob/main/CHANGELOG.md#0218---2026-07-12)