qwen-code/docs
顾盼 7468265b7f
feat(cli): support native video input in /learn (#7497)
* feat(cli): support native video input in learn

* fix(cli): address review feedback for /learn video input (#7497)

- Fix .m4v MIME filter: fall back to parser MIME type when mime/lite
  does not recognise the extension (e.g. .m4v → video/x-m4v)
- Surface text diagnostics from readPathFromWorkspace when the read
  succeeds but returns no video part (e.g. file size limit errors)
- Move YouTube rejection after the capability gate so text-only model
  users get the correct error first
- Extract shared buildSkillContext helper to deduplicate skill
  directory enumeration between buildLearnSkillPrompt and
  buildLearnVideoSkillRequest

* fix(core): classify .m4v as video so /learn can attach it (#7497)

* fix(cli): address review feedback for /learn video input (#7497)

- Fix .m4v mimeType in processSingleFileContent by falling back to
  MIME_LITE_MISSING_VIDEO_TYPES when mime/lite returns null
- Move YouTube rejection before the capability gate so users always get
  actionable download guidance regardless of model capability
- Use optional chaining for getContentGeneratorConfig()?.authType
- Add [focus] to the empty-input usage string

* fix(cli): address review feedback for /learn video input (#7497)

---------

Co-authored-by: Shaojin Wen <shaojin.wensj@alibaba-inc.com>
Co-authored-by: Qwen Code Bot <qwen-code-bot@users.noreply.github.com>
2026-07-24 04:07:32 +00:00
..
assets feat: support workspace display names (#7179) 2026-07-20 15:16:44 +00:00
design feat(cli): support native video input in /learn (#7497) 2026-07-24 04:07:32 +00:00
developers docs: refresh subagent lifecycle guidance (#7624) 2026-07-24 03:03:27 +00:00
e2e-tests feat(worktree): Phase D — startup --worktree flag + symlinkDirectories + PR refs (#4381) 2026-05-27 17:04:51 +08:00
images fix(web-shell): render built-in tag icons (#7024) 2026-07-17 15:33:34 +00:00
plans feat(daemon): add explicit channel delivery (#7388) 2026-07-23 17:44:23 +00:00
superpowers feat(daemon): add explicit channel delivery (#7388) 2026-07-23 17:44:23 +00:00
users docs: refresh subagent lifecycle guidance (#7624) 2026-07-24 03:03:27 +00:00
verification/abort-controller-refactor fix(core): stop AbortSignal listener leak in long sessions (MaxListenersExceededWarning) (#4366) 2026-05-26 14:21:49 +08:00
_meta.ts feat: refactor docs 2025-12-05 10:51:57 +08:00
index.md fix: lint issues 2025-12-19 15:52:11 +08:00