feat(hub+web): include scratchlist in session export (#1235) (#1237)

Bump export schema to v2 with scratchlist text and attachment metadata
so operators keep notes when they export-then-delete. Markdown gets a
Scratchlist section; attachment bytes stay out of the JSON.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
HeavyGee
2026-07-30 23:21:08 +08:00
committed by GitHub
co-authored by Cursor
parent 99814e9668
commit a742fdf1a8
8 changed files with 174 additions and 18 deletions
+2 -2
View File
@@ -225,9 +225,9 @@ export default {
// Session export
'session.export.title': '导出对话',
'session.export.description': '选择格式,然后下载完整可见对话。',
'session.export.description': '选择格式,然后下载完整可见对话与 scratchlist 笔记。',
'session.export.format.json': 'JSON',
'session.export.format.json.description': '保留会话元数据消息的无损载荷。',
'session.export.format.json.description': '保留会话元数据消息与 scratchlist 笔记的无损载荷(附件仅含元数据)。',
'session.export.format.markdown': 'Markdown',
'session.export.format.markdown.description': '从同一份导出载荷生成的可读视图。',
'session.export.download': '下载',