mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-08-26 17:13:32 +00:00
* feat(web-shell): support text file attachments in the composer * fix(web-shell): thread file attachments through the retry lineage and reset paths Review feedback on #9180: the turn-error retry lineage (CancelledRetryState, failedTurnErrorRetryRef, stash/restore sites) and the session-owner / identity-mismatch resets managed text/images/inputAnnotations but not files, which both dropped attachments on restored retries and could leak another session's attachment into a retry. Also fixes stale enqueuePrompt arity in the midTurnReconcile tests, chip a11y/truncation, and strips bidi/zero-width characters from attachment names. * fix(web-shell): win extension allowlist over conflicting OS MIME bindings Round-2 review on #9180: .ts/.mts report as video/mp2t (IANA binding) and .csv/.tsv as application/vnd.ms-excel on Windows+Office, so the non-empty MIME early-return made the extension allowlist unreachable for flagship source files. Extension and well-known-name (Dockerfile/Makefile/LICENSE/...) fallbacks now apply even when a conflicting MIME is present; the downstream NUL sniff still rejects actually-binary content. Also adds the failed-prompt retry variant with files, the full-shape file assertion, and the cancelled-retry no-resubmit pin from the round-2 test suggestions. |
||
|---|---|---|
| .. | ||
| adapters | ||
| components | ||
| constants | ||
| context | ||
| daemon | ||
| hooks | ||
| styles | ||
| types | ||
| utils | ||
| daemon-react-sdk.ts | ||
| index.ts | ||