mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-08-26 09:04:37 +00:00
* fix(cli): improve slash command history feedback * fix(cli): centralize auxiliary model guard * test(cli): cover model picker left key * fix(cli): persist slash command invocation hiding across resume * fix: keep model picker feedback consistent * docs(cli): align design doc with /stats root-level hiding * fix(cli): preserve model picker history safely * fix: preserve hidden command feedback on resume * fix(desktop): match slash results to invocations * fix: keep slash command feedback paired with invocations - Record message-type command results through the recording wrapper so rejections and errors land in the result record and replay on resume - Move the NO_COLOR /theme rejection into the command action so the result record is written after the invocation, and keep that invocation visible because the command prints feedback instead of opening the dialog - Skip the /auth result record when the dialog auto-opened without an /auth invocation to pair with - Guard the model picker against re-entering a selection while a switch is already in flight - Walk only uuid -> parentUuid links when matching desktop slash results to invocations instead of retaining every parsed transcript record * fix(desktop): bound slash result lookup to user turn * test(cli): cover hidden command result replay on resume * fix(cli): guard dialog result recording * fix(cli,desktop): tighten slash-command feedback recording - Pin the revealed invocation as the first history item in the argument-validation reveal test, matching the processor's ordering. - Derive the /model picker-flag pattern from a single shared flag list. - Pair each transcript invocation with at most one result during desktop reconstruction, so a later same-name orphan result (e.g. an auto-fired recap) cannot re-emit an already-paired invocation's user row. - Retarget the textElements guard at the synthesized slash user row. * fix(cli): guard partially persisted model switches * test(cli): cover isPickerOnlyModelInvocation regex boundaries directly --------- Co-authored-by: Shaojin Wen <shaojin.wensj@alibaba-inc.com> Co-authored-by: qwen-code-dev-bot <qwen-code-dev@service.alibaba.com> Co-authored-by: Qwen Autofix <autofix@qwen-code.dev> Co-authored-by: qwen-code-dev-bot <qwen-code-dev-bot@users.noreply.github.com> Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com> |
||
|---|---|---|
| .. | ||
| src | ||
| .gitignore | ||
| index.ts | ||
| package.json | ||
| test-setup.ts | ||
| tsconfig.json | ||
| vitest.config.ts | ||