Skip to content

feat: add commandcode-hud-zh to community registry - #1019

Merged
ObaidNadeem merged 1 commit into
mainfrom
codex/pr-980-main
Oct 14, 2026
Merged

ObaidNadeem merged 1 commit into
mainfrom
codex/pr-980-main

Conversation

@ObaidNadeem

Copy link
Copy Markdown
Contributor

Adds commandcode-hud-zh to the community mods registry so users can discover and install Albert-Lsk's Chinese-language context HUD.

Carries over the registry entry from #980, which was accidentally merged into seed-mods-registry. This PR targets main, where the registry from #956 is already available. The original metadata and commit author are preserved, and all 12 existing registry entries remain unchanged.

cmd mods add Albert-Lsk/commandcode-hud-zh

Validation:

  • Registry validates against mods/registry.schema.json with AJV and date/URI format checks.
  • Confirmed the added entry exactly matches mods: add commandcode-hud-zh to community registry #980, with no duplicate mod names and no changes to existing entries.
  • git diff --check passes. The diff adds 10 lines to mods/registry.json only.

This PR changes catalog metadata only. The HUD runtime checks documented in #980 were not rerun.

@ObaidNadeem
ObaidNadeem merged commit c48f96f into main Oct 14, 2026
@Albert-Lsk

Copy link
Copy Markdown
Contributor

Thanks for getting this in, Obaid — and for carrying the entry over from #980 so cleanly.

A quick heads-up on where the mod has gone since: it just landed v0.7.0, built around the one problem it was originally made for — the 502 "Stream ended unexpectedly before completion" failures (the pattern in #991 / #997: once a request grows past ~20 MB — often mostly inline base64 images — the gateway cuts the stream, identical retries keep failing, and a compaction fixes it immediately).

What v0.7.0 adds:

  • Live request-size estimate — active context chain + fixed system/tool-schema overhead, image bytes tracked separately — shown as a 📦 12.9MB segment in the status row (hidden below ~2.3 MB so it only appears where it matters), with green → yellow → red tiers.
  • Three proactive warning tiers (default 15 / 20 / 23 MB, once per session), and when a stream cut / retry actually happens, the notice names the likely cause (request size) instead of staying silent.
  • /hud diagnostics now include the estimate breakdown and the red-line thresholds; --mod-option payload-limit-mb= rescales them.
  • It's no longer Chinese-only — notifications and diagnostics follow the Command Code interface language (Chinese by default, English when the app is set to English); --mod-option lang=zh|en overrides.

Everything else is unchanged from what you reviewed: single file, zero dependencies, pure observer (cmd.on + one lifecycle hook + a command + flags — it never touches tool calls or the context), MIT, and install is still cmd mods add Albert-Lsk/commandcode-hud-zh.

One housekeeping question, since the mod isn't Chinese-specific anymore: I'm considering renaming the repo to a neutral name like commandcode-hud down the road. GitHub redirects old URLs, but the registry entry here points at Albert-Lsk/commandcode-hud-zh — so I'd rather ask first and send the one-line registry update PR together with it, or keep the current name if you prefer stability. No rush either way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants