1.9 KiB
1.9 KiB
CURRENT_STATE
Updated: 2026-10-19
Objective
Self-contained, secret-safe z.ai GLM 5h-usage segment for the MiniMax Code statusline,
installable on 1 macOS + 2 Ubuntu systems with one curl | bash line.
Verified capabilities (this machine, mcode 0.6.12, Ubuntu-based PVE host)
confirmed— Segment renders real quota data:🔥 1% · 4:16a(4h59m)right after install (cache primed through SecretVault key againsthttps://api.z.ai).confirmed— Config merge safety matrix 14/14 (trials/config-merge-safety-2026-10-19/output.txt): atomic write, 0600 on new files, backup equals pre-merge original, duplicate-structure refusal, provider untouched, piped-install embed identical, clean uninstall.confirmed— Vault key pairs withapi.z.ai(200); old credential.json clientKey pairs with thevault.itsaygea.comproxy (200); vault key against the proxy → 401. (trials/mcode-endpoint-key-pairing-2026-10-19/record.md)confirmed— mcode statusline mechanics for 0.6.12:tui.statusLine+tui.customStatusLinein~/.minimax/config.yaml; JSON on stdin; stdout becomes thecustom-commanditem on exit 0;colorMode: ansipasses ANSI through; intervalSeconds ≥10, timeoutMs 500–30000. Evidence: bundle reads indocs/DECISIONS.md(release digests recorded).confirmed— Pushed togit@git.itsaygea.com:admin/mcode-sl.git(port 2222 SSH).confirmed(user acceptance) — Rendered segment works in the live TUI, and the installer succeeded on all target machines: 2× Ubuntu + 1× macOS (2026-10-19, "installed and works perfectly"). Human acceptance, distinct from agent-run checks.
Active work
None. Initial release shipped and deployed to all target machines (2026-10-19).
Blockers
None.
Exact next action
Nothing pending. Only standing task: re-verify the bundle facts (docs/DECISIONS.md D2)
after the next mcode release — see TODO.md.