Repository navigation
zcode-cli 3.8.1-28
Remove the persistent two-line model-access warning from the TUI banner
- Remove the persistent two-line "Model access is not configured. / Run /login, or configure a custom provider in ~/.zcode/cli/config.json." warning from the top of the TUI (packages/zcode-tui/src/index.ts; version bumped to 3.8.1-28 across VERSION, package.json, test/update.test.ts, and the three READMEs' badges and install URLs).
- Why: the user ruled this hint out. With model access unconfigured, two yellow warning lines sat permanently under the welcome banner — long-standing screen space whose guidance duplicated the /login wizard.
- What changed: the
loginWarning/loginHelpText components, their layout mounts, and theupdateLoginWarning()method are deleted; theloginRequiredflag stays untouched (it still drives runtime behaviors such as skipping model loading, Goal / Session usage refresh, and identity refresh timing). The "Model access is not configured yet." status note inside the first-run /login guide dialog is unaffected — that is in-wizard interactive copy, not the persistent banner. - Traceability & regression assessment: the warning had shipped in 3.8.1-25 with compensating logic (when
loginRequired=true, re-check viareadConfiguredModelAccess()and hide the warning when access exists) guarding against the false positive "warning shown although an env slot is configured" — with the warning removed wholesale, that false positive can no longer occur, so this is a superset rather than a regression; the trade-off is that a genuinely unconfigured user no longer gets any guidance hint after startup (the first-run wizard remains, with its in-wizard status note visible) — the user-ruled intended behavior. - Verification:
tsc --noEmitpasses; fullbun test689 pass / 0 fail (78 files); TUI smoke all 5 green (smoke-tui / features / clear / pressure / widths); afterbuild:tuithe vendored@zcode/tuicopy inside the locked runtime was synced manually (that daysync:lockedcould not run the full chain due to a CDN download interruption; the runtime itself was unchanged — only the new dist was copied, equivalent to theinstallLocalTuistep).
Install
npm install -g https://github.com/xhqing/zcode-cli/releases/download/v3.8.1-28/zcode-cli-3.8.1-28.tgz