42 lines
1.9 KiB
Markdown
42 lines
1.9 KiB
Markdown
# 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 against `https://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 with `api.z.ai` (200); old credential.json clientKey
|
||
pairs with the `vault.itsaygea.com` proxy (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.customStatusLine`
|
||
in `~/.minimax/config.yaml`; JSON on stdin; stdout becomes the `custom-command` item on
|
||
exit 0; `colorMode: ansi` passes ANSI through; intervalSeconds ≥10, timeoutMs 500–30000.
|
||
Evidence: bundle reads in `docs/DECISIONS.md` (release digests recorded).
|
||
- `confirmed` — Pushed to `git@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`.
|