Adds commandcode-hud-zh to the community mods registry so users can discover and install this Chinese-language context HUD from its public GitHub repository.
The HUD shows context usage, session spend, compaction count and reclaimed tokens, and the active tool. It warns about large tool results and ineffective compaction, and adapts to narrow terminals. Diagnostics and notifications are in Chinese. Transcript-based cost is used when available, with a clearly documented price-table fallback.
Registry dependency
This PR targets seed-mods-registry, introduced by #956. The diff adds one mod entry to mods/registry.json. After #956 merges, this PR can be retargeted to main.
The entry uses GitHub installation, includes no npm package claim, and preserves the existing registry entries. The listed kinds correspond to the mod's command, lifecycle hooks, and flags.
cmd mods add Albert-Lsk/commandcode-hud-zh
Validation
Registry validated against mods/registry.schema.json with AJV and format checks.
HUD regression suite: 30 assertions passed, using synthetic session files. This includes a check that tool-result bodies do not enter status text, notifications, diagnostics, or persisted HUD counters.
Command Code 1.74.0: interactive startup and /hud command smoke check passed in an isolated directory. Full live billing and resume behavior were not exercised in this smoke check.
npm pack --dry-run: only hud.ts, README.md, LICENSE, and package.json are included.
Privacy review
The registry entry contains public repository and author metadata only. The HUD's tracked files and existing nine commits were checked for common credential formats, literal secrets, private host paths, LAN addresses, and chat identifiers; no matches were found. Public examples use synthetic values. Raw test output, session transcripts, authentication files, and machine-specific diagnostics are not included in the PR.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds commandcode-hud-zh to the community mods registry so users can discover and install this Chinese-language context HUD from its public GitHub repository.
The HUD shows context usage, session spend, compaction count and reclaimed tokens, and the active tool. It warns about large tool results and ineffective compaction, and adapts to narrow terminals. Diagnostics and notifications are in Chinese. Transcript-based cost is used when available, with a clearly documented price-table fallback.
Registry dependency
This PR targets seed-mods-registry, introduced by #956. The diff adds one mod entry to mods/registry.json. After #956 merges, this PR can be retargeted to main.
The entry uses GitHub installation, includes no npm package claim, and preserves the existing registry entries. The listed kinds correspond to the mod's command, lifecycle hooks, and flags.
Validation
Privacy review
The registry entry contains public repository and author metadata only. The HUD's tracked files and existing nine commits were checked for common credential formats, literal secrets, private host paths, LAN addresses, and chat identifiers; no matches were found. Public examples use synthetic values. Raw test output, session transcripts, authentication files, and machine-specific diagnostics are not included in the PR.