feat: 自定义窗口两种模式——新建专属对话 / 发送到已有会话(默认当前会话,可下拉选择)

This commit is contained in:
Aisland
2026-08-18 02:22:09 +08:00
parent 42645f2f51
commit 02d4f20020
6 changed files with 111 additions and 30 deletions
+14
View File
@@ -62,7 +62,14 @@ export const zh = {
'custom.hint': '发送后将自动新建一个会话,专门负责这个窗口的自定义设计。',
'custom.placeholder': '告诉 AI 你想让这个窗口做什么,例如:做一个展示我旅行足迹的时间线页面…',
'custom.project': '所属项目',
'custom.modeNew': '新建对话',
'custom.modeSend': '发送到会话',
'custom.session': '选择会话',
'custom.sessionCurrent': '(当前)',
'custom.hintSend': '内容将直接发送到你选择的会话(默认当前会话),用于讨论这个窗口的自定义设计。',
'custom.send': '发送并新建对话',
'custom.sendToSession': '发送到该会话',
'custom.sent': '已发送到会话',
'custom.done': '已新建专属对话',
'custom.doneHint': 'AI 正在新会话中为你设计这个窗口。关闭本标签即可返回窗口选择。',
'custom.fail': '创建对话失败',
@@ -151,7 +158,14 @@ export const en = {
'custom.hint': 'Sending will create a new conversation dedicated to designing this pane.',
'custom.placeholder': 'Tell the AI what you want this pane to do, e.g. a timeline page of my travels…',
'custom.project': 'Project',
'custom.modeNew': 'New conversation',
'custom.modeSend': 'Send to a conversation',
'custom.session': 'Conversation',
'custom.sessionCurrent': ' (current)',
'custom.hintSend': 'The content will be sent directly to the conversation you pick (current by default).',
'custom.send': 'Send & create conversation',
'custom.sendToSession': 'Send to this conversation',
'custom.sent': 'Sent to the conversation',
'custom.done': 'Conversation created',
'custom.doneHint': 'The AI is designing your pane in the new conversation. Close this tab to return to the pane picker.',
'custom.fail': 'Failed to create conversation',