Release stage-batch54 → v0.51.172 (model-label fallback + dev cache-bust + tilde completion + cron project chips) - #3198
Merged
Conversation
When gateway_routing is absent, _formatGatewayModelLabel returns '' and the fallback path returns raw s.model — which may contain an @Provider: prefix (e.g. @token-plan-cn.xiaomimimo.com:mimo-v2.5-pro). getModelLabel() already handles stripping @Provider: prefixes (ui.js:2855) but was never called in this fallback path. Route through it so the session list always displays a clean model name. Closes #3172
…hips (#3172) When state.db has many non-cron sessions, the normal sidebar query caps at CLI_VISIBLE_SESSION_LIMIT (20) rows ordered by latest activity. Older cron runs get squeezed out before _include_project_hidden_background_sidebar_sessions can rescue them, making them invisible under their project chip. Add a second-pass cron-only query with a higher cap (CRON_PROJECT_CHIP_LIMIT=200) that merges into the CLI session list. The project-chip rescue layer then marks them default_hidden so they stay addressable without polluting the default sidebar window. Verification: regression test seeds 25+ newer non-cron sessions and asserts the older messageful cron session still appears with project_id set.
# Conflicts: # CHANGELOG.md
SysAdminDoc
pushed a commit
to SysAdminDoc/hermes-webui
that referenced
this pull request
Jun 26, 2026
Release stage-batch54 → v0.51.172 (model-label fallback + dev cache-bust + tilde completion + cron project chips)
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Release stage-batch54 → v0.51.172 (Release ER)
Batch of 4 low-risk contributor PRs. All isolated files, green CI, fail-safe by construction.
getModelLabel()instead of raw model id when gateway routing is absent~/prefix under home dir (#3173)Verification
node -c, ESLint runtime gate (no-const-assign/no-import-assign),ast.parse, merge-marker grep, CHANGELOG placeholder — all clean.-p no:xdist): 6920 passed, 11 skipped, 0 failed.if _source != 'cron': continueguard, so it's a deployment-edge polish, not a regression).Co-authored-by trailers preserved on each contributor commit.