Skip to content

mods: add commandcode-hud-zh to community registry - #980

Open
Albert-Lsk wants to merge 1 commit into
CommandCodeAI:seed-mods-registryfrom
Albert-Lsk:add-commandcode-hud-zh
Open

Albert-Lsk wants to merge 1 commit into
CommandCodeAI:seed-mods-registryfrom
Albert-Lsk:add-commandcode-hud-zh

Conversation

@Albert-Lsk

Copy link
Copy Markdown

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.

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.

1 participant