kimi-code icon indicating copy to clipboard operation
kimi-code copied to clipboard

feat(desktop): add external-open actions and fallback for file previews

Open liutengxi opened this issue 1 month ago • 0 comments

Problem

On Windows Desktop, file paths in answers do not always offer a quick way to open the file. When the right-side preview cannot handle a file (for example an image, HTML, or MP4), there is no fallback to an installed application, leaving the file effectively stuck in the preview panel.

Environment

  • Kimi Code Desktop 1.1.2
  • Windows
  • Example registered handlers on the device: WPS image viewer for PNG/JPG and Windows Media Player for MP4

Requested behavior

  1. File paths and preview panels should expose Open externally and Reveal in folder actions.
  2. If the built-in preview is unsupported or fails, offer Open with system default app.
  3. If no default handler is available, offer the operating system Open with / Choose another app flow.
  4. HTML should allow opening in the default browser; media should allow opening in its registered player/viewer.

Using operating-system file associations would avoid maintaining an application database and would respect the user's existing software choices.

liutengxi avatar Oct 27 '26 05:10 liutengxi