Skip to content

feat(chat): export assistant responses#701

Merged
XingYu-Zhong merged 1 commit into
KunAgent:developfrom
luoye520ww:codex/export-assistant-response
Jul 3, 2026
Merged

feat(chat): export assistant responses#701
XingYu-Zhong merged 1 commit into
KunAgent:developfrom
luoye520ww:codex/export-assistant-response

Conversation

@luoye520ww

Copy link
Copy Markdown
Collaborator

Summary

Add an export menu to completed assistant responses so answers can be shared without exposing raw Markdown.

Changes

  • add an export action beside the existing response copy action
  • export completed answers as PDF, DOCX, PNG, or HTML
  • reuse the existing Write document renderer and save dialog
  • allow the existing export IPC contract to render titled content without a source file
  • add PNG support to the shared Write export pipeline
  • add English and Chinese labels and focused coverage

Tests

  • npm.cmd test -- src/main/ipc/app-ipc-schemas.test.ts src/main/services/write-export-service.test.ts src/renderer/src/components/chat/MessageTimeline.tool-summary.test.ts
  • npm.cmd run typecheck
  • npm.cmd run build
  • focused ESLint
  • git diff --check

Fixes #699

@luoye520ww luoye520ww marked this pull request as ready for review July 2, 2026 06:02

@XingYu-Zhong XingYu-Zhong left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed locally. Focused export service, IPC schema, and chat timeline tests passed; no blocking issues found.

@XingYu-Zhong XingYu-Zhong merged commit 116a52c into KunAgent:develop Jul 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants