dsh-side-chat-plus 0.3.2 → 0.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +327 -326
- package/README.zh.md +269 -268
- package/dsh.plugin.json +3 -3
- package/lib/client-registry.js +397 -181
- package/lib/client-registry.js.map +1 -1
- package/lib/client.js +397 -181
- package/lib/client.js.map +1 -1
- package/lib/index.js +22 -7
- package/lib/types/client/locales.d.ts +18 -0
- package/lib/types/context-types.d.ts +36 -4
- package/lib/types/settings-shared.d.ts +4 -0
- package/package.json +37 -37
- package/src/client/attachments/AttachmentRail.module.css +89 -89
- package/src/client/attachments/AttachmentRail.tsx +173 -173
- package/src/client/attachments/DropOverlay.module.css +38 -38
- package/src/client/attachments/DropOverlay.tsx +62 -62
- package/src/client/attachments/ImageLightbox.module.css +44 -44
- package/src/client/attachments/ImageLightbox.tsx +58 -58
- package/src/client/attachments/MessageImage.module.css +61 -61
- package/src/client/attachments/MessageImage.tsx +120 -120
- package/src/client/attachments/index.ts +19 -19
- package/src/client/client.module.css +1051 -1032
- package/src/client/index.tsx +2209 -1966
- package/src/client/locales.ts +191 -173
- package/src/context-types.ts +415 -384
- package/src/index.ts +29 -9
- package/src/settings-shared.ts +6 -0
package/src/client/locales.ts
CHANGED
|
@@ -1,181 +1,199 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Client locale dictionaries for dsh-side-chat (zh + en), registered under the
|
|
3
|
-
* `sidechat` namespace.
|
|
4
|
-
*/
|
|
5
|
-
export const LOCALE_NS = 'sidechat'
|
|
6
|
-
|
|
7
|
-
export const zh = {
|
|
8
|
-
'ask.new': '在侧边聊天中提问',
|
|
9
|
-
'ask.continue': '继续在激活的侧边聊天中提问',
|
|
10
|
-
'panel.title': '侧边聊天',
|
|
11
|
-
'panel.empty': '当前会话还没有侧边聊天。选中消息文本后点「在侧边聊天中提问」即可发起。',
|
|
12
|
-
'panel.close': '关闭',
|
|
13
|
-
'panel.input.placeholder': '输入消息,回车发送',
|
|
14
|
-
'panel.send': '发送',
|
|
15
|
-
'panel.stop': '停止',
|
|
16
|
-
'panel.lookup': '需要时从工作区 / 主会话查信息',
|
|
17
|
-
'panel.model': '模型',
|
|
18
|
-
'panel.provider': '服务商',
|
|
19
|
-
'panel.effort': '思考难度',
|
|
20
|
-
'panel.permission': '权限',
|
|
21
|
-
'panel.noModel': '(继承)',
|
|
22
|
-
'panel.effortDefault': '默认',
|
|
23
|
-
'panel.expand': '展开侧边聊天',
|
|
24
|
-
'panel.collapse': '收起侧边聊天',
|
|
25
|
-
'panel.dispose': '结束此侧边聊天',
|
|
26
|
-
'panel.delete': '删除',
|
|
27
|
-
'panel.deleteAll': '删除全部',
|
|
28
|
-
'panel.error': '侧边聊天出错',
|
|
29
|
-
'panel.running': '思考中…',
|
|
1
|
+
/**
|
|
2
|
+
* Client locale dictionaries for dsh-side-chat (zh + en), registered under the
|
|
3
|
+
* `sidechat` namespace.
|
|
4
|
+
*/
|
|
5
|
+
export const LOCALE_NS = 'sidechat'
|
|
6
|
+
|
|
7
|
+
export const zh = {
|
|
8
|
+
'ask.new': '在侧边聊天中提问',
|
|
9
|
+
'ask.continue': '继续在激活的侧边聊天中提问',
|
|
10
|
+
'panel.title': '侧边聊天',
|
|
11
|
+
'panel.empty': '当前会话还没有侧边聊天。选中消息文本后点「在侧边聊天中提问」即可发起。',
|
|
12
|
+
'panel.close': '关闭',
|
|
13
|
+
'panel.input.placeholder': '输入消息,回车发送',
|
|
14
|
+
'panel.send': '发送',
|
|
15
|
+
'panel.stop': '停止',
|
|
16
|
+
'panel.lookup': '需要时从工作区 / 主会话查信息',
|
|
17
|
+
'panel.model': '模型',
|
|
18
|
+
'panel.provider': '服务商',
|
|
19
|
+
'panel.effort': '思考难度',
|
|
20
|
+
'panel.permission': '权限',
|
|
21
|
+
'panel.noModel': '(继承)',
|
|
22
|
+
'panel.effortDefault': '默认',
|
|
23
|
+
'panel.expand': '展开侧边聊天',
|
|
24
|
+
'panel.collapse': '收起侧边聊天',
|
|
25
|
+
'panel.dispose': '结束此侧边聊天',
|
|
26
|
+
'panel.delete': '删除',
|
|
27
|
+
'panel.deleteAll': '删除全部',
|
|
28
|
+
'panel.error': '侧边聊天出错',
|
|
29
|
+
'panel.running': '思考中…',
|
|
30
30
|
'panel.copy': '复制',
|
|
31
31
|
'panel.copied': '已复制',
|
|
32
32
|
'panel.footnotes': '脚注',
|
|
33
33
|
'panel.think': '思考',
|
|
34
|
-
'panel.commands': '命令',
|
|
35
|
-
'command.model': '/model 模型',
|
|
36
|
-
'command.permission': '/permission 权限',
|
|
37
|
-
'plan.chipTitle': '计划模式已开启 — 点击关闭(/plan off)',
|
|
38
|
-
'plan.chipAria': '计划模式已开启,按下关闭',
|
|
39
|
-
'goal.label': '目标',
|
|
40
|
-
'image.railGroup': '图片附件',
|
|
41
|
-
'image.railOpen': '查看原图',
|
|
42
|
-
'image.railScrollLeft': '向左滚动',
|
|
43
|
-
'image.railScrollRight': '向右滚动',
|
|
44
|
-
'image.remove': '移除图片',
|
|
45
|
-
'image.label': '图片',
|
|
46
|
-
'image.open': '查看原图',
|
|
47
|
-
'image.loading': '加载中…',
|
|
48
|
-
'image.loadFailed': '加载失败',
|
|
49
|
-
'image.lightboxDialog': '图片预览',
|
|
50
|
-
'image.close': '关闭',
|
|
51
|
-
'image.dropTitle': '拖放图片到此处',
|
|
52
|
-
'image.dropDesc': '支持 PNG / JPEG / WebP / GIF',
|
|
53
|
-
'image.unsupported': '不支持的图片格式',
|
|
54
|
-
'image.tooMany': '图片数量超出限制',
|
|
55
|
-
'image.fileTooLarge': '图片过大',
|
|
56
|
-
'settingsNav': '侧边聊天',
|
|
57
|
-
'settings.lookupTitle': '默认勾选「需要时从工作区 / 主会话查信息」',
|
|
58
|
-
'settings.lookupDesc': '新会话的侧边聊天默认打开此开关;可在每次聊天中临时更改',
|
|
59
|
-
'settings.sendImmediatelyTitle': '选中内容后立即发送',
|
|
60
|
-
'settings.sendImmediatelyDesc': '关闭后,选中的内容会作为附件先放进侧边聊天输入框,由你确认后再发送',
|
|
61
|
-
'settings.defaultPromptTitle': '默认用户提示词',
|
|
62
|
-
'settings.defaultPromptDesc': '「立即发送」开启时,选中的内容会自动附加这段提示词,让回答更符合你的需求',
|
|
63
|
-
'settings.defaultPromptPlaceholder': '例如:请用中文回答,并尽量简洁…',
|
|
64
|
-
'settings.bringModeTitle': '带回内容的方式',
|
|
65
|
-
'settings.bringModeDesc': '把侧边聊天的 AI 回复带回主会话时,内容落在哪里(两种方式都不会立即发送)',
|
|
66
|
-
'settings.bringModeDraftTitle': '写入输入框草稿',
|
|
67
|
-
'settings.bringModeDraftDesc': '内容进入主会话输入框,可直接编辑后再发送',
|
|
68
|
-
'settings.bringModeContextTitle': '注入为折叠提示行',
|
|
69
|
-
'settings.bringModeContextDesc': '内容作为一条折叠的上下文提示行注入主会话(带来源标记),不写输入框;下次对话时模型可见',
|
|
70
|
-
'
|
|
71
|
-
'
|
|
72
|
-
'
|
|
73
|
-
'
|
|
74
|
-
'
|
|
75
|
-
'
|
|
76
|
-
'
|
|
77
|
-
'
|
|
78
|
-
'
|
|
79
|
-
'
|
|
80
|
-
'
|
|
81
|
-
'
|
|
82
|
-
'
|
|
83
|
-
'
|
|
84
|
-
'
|
|
85
|
-
'
|
|
86
|
-
'question.
|
|
87
|
-
'question.
|
|
88
|
-
'question.
|
|
89
|
-
'question.
|
|
90
|
-
'question.
|
|
91
|
-
'question.
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
'
|
|
96
|
-
'
|
|
97
|
-
'
|
|
98
|
-
'
|
|
99
|
-
'
|
|
100
|
-
'
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
'
|
|
105
|
-
'
|
|
106
|
-
'panel.
|
|
107
|
-
'panel.
|
|
108
|
-
'panel.
|
|
109
|
-
'panel.
|
|
110
|
-
'panel.
|
|
111
|
-
'panel.
|
|
112
|
-
'panel.
|
|
113
|
-
'panel.
|
|
114
|
-
'panel.
|
|
115
|
-
'panel.
|
|
116
|
-
'panel.
|
|
34
|
+
'panel.commands': '命令',
|
|
35
|
+
'command.model': '/model 模型',
|
|
36
|
+
'command.permission': '/permission 权限',
|
|
37
|
+
'plan.chipTitle': '计划模式已开启 — 点击关闭(/plan off)',
|
|
38
|
+
'plan.chipAria': '计划模式已开启,按下关闭',
|
|
39
|
+
'goal.label': '目标',
|
|
40
|
+
'image.railGroup': '图片附件',
|
|
41
|
+
'image.railOpen': '查看原图',
|
|
42
|
+
'image.railScrollLeft': '向左滚动',
|
|
43
|
+
'image.railScrollRight': '向右滚动',
|
|
44
|
+
'image.remove': '移除图片',
|
|
45
|
+
'image.label': '图片',
|
|
46
|
+
'image.open': '查看原图',
|
|
47
|
+
'image.loading': '加载中…',
|
|
48
|
+
'image.loadFailed': '加载失败',
|
|
49
|
+
'image.lightboxDialog': '图片预览',
|
|
50
|
+
'image.close': '关闭',
|
|
51
|
+
'image.dropTitle': '拖放图片到此处',
|
|
52
|
+
'image.dropDesc': '支持 PNG / JPEG / WebP / GIF',
|
|
53
|
+
'image.unsupported': '不支持的图片格式',
|
|
54
|
+
'image.tooMany': '图片数量超出限制',
|
|
55
|
+
'image.fileTooLarge': '图片过大',
|
|
56
|
+
'settingsNav': '侧边聊天',
|
|
57
|
+
'settings.lookupTitle': '默认勾选「需要时从工作区 / 主会话查信息」',
|
|
58
|
+
'settings.lookupDesc': '新会话的侧边聊天默认打开此开关;可在每次聊天中临时更改',
|
|
59
|
+
'settings.sendImmediatelyTitle': '选中内容后立即发送',
|
|
60
|
+
'settings.sendImmediatelyDesc': '关闭后,选中的内容会作为附件先放进侧边聊天输入框,由你确认后再发送',
|
|
61
|
+
'settings.defaultPromptTitle': '默认用户提示词',
|
|
62
|
+
'settings.defaultPromptDesc': '「立即发送」开启时,选中的内容会自动附加这段提示词,让回答更符合你的需求',
|
|
63
|
+
'settings.defaultPromptPlaceholder': '例如:请用中文回答,并尽量简洁…',
|
|
64
|
+
'settings.bringModeTitle': '带回内容的方式',
|
|
65
|
+
'settings.bringModeDesc': '把侧边聊天的 AI 回复带回主会话时,内容落在哪里(两种方式都不会立即发送)',
|
|
66
|
+
'settings.bringModeDraftTitle': '写入输入框草稿',
|
|
67
|
+
'settings.bringModeDraftDesc': '内容进入主会话输入框,可直接编辑后再发送',
|
|
68
|
+
'settings.bringModeContextTitle': '注入为折叠提示行',
|
|
69
|
+
'settings.bringModeContextDesc': '内容作为一条折叠的上下文提示行注入主会话(带来源标记),不写输入框;下次对话时模型可见',
|
|
70
|
+
'settings.panelHomeTitle': '侧边聊天面板位置',
|
|
71
|
+
'settings.panelHomeDesc': '浮动面板固定在窗口右缘;停靠模式把侧聊放进新版右侧栏(与文档预览同一区域),两种模式都不会与内置右侧栏互相遮挡',
|
|
72
|
+
'settings.panelHomeFloatingTitle': '浮动面板(经典)',
|
|
73
|
+
'settings.panelHomeFloatingDesc': '固定在窗口右缘,可拖拽调宽、独立收起',
|
|
74
|
+
'settings.panelHomeDockTitle': '停靠到右侧栏',
|
|
75
|
+
'settings.panelHomeDockDesc': '作为「侧边聊天」标签停靠在新版右侧栏,与文档预览共用同一边栏',
|
|
76
|
+
'dock.title': '侧边聊天',
|
|
77
|
+
'dock.unavailable': '当前部署未提供新版右侧栏,已回退为浮动面板',
|
|
78
|
+
'dock.openFailed': '无法打开右侧栏侧边标签',
|
|
79
|
+
'insert.direct': '直接带回',
|
|
80
|
+
'insert.summarize': '摘要后带回',
|
|
81
|
+
'insert.summarizing': '摘要中…',
|
|
82
|
+
'insert.failed': '无法写入主会话输入框',
|
|
83
|
+
'insert.summarizeFailed': '摘要失败',
|
|
84
|
+
'insert.contextSummary': '侧边聊天带回',
|
|
85
|
+
'insert.summarizeContextSummary': '侧边聊天摘要',
|
|
86
|
+
'question.options': '可选选项',
|
|
87
|
+
'question.option': '选项',
|
|
88
|
+
'question.bringAll': '带入全部',
|
|
89
|
+
'question.bringAllNew': '新会话全部',
|
|
90
|
+
'question.bringOne': '带入',
|
|
91
|
+
'question.bringOneNew': '新会话',
|
|
92
|
+
'question.bringing': '带入中…',
|
|
93
|
+
'question.failed': '带入侧边聊天失败',
|
|
94
|
+
'question.delete': '删除',
|
|
95
|
+
'question.deleteAll': '删除全部',
|
|
96
|
+
'question.collapse': '折叠',
|
|
97
|
+
'question.expand': '展开',
|
|
98
|
+
'question.allPrompt': '请帮我理解上面的问题和各个选项的含义,并给出选择建议。',
|
|
99
|
+
'question.onePrompt': '请帮我理解这个选项的含义,以及它在这个问题中的利弊。',
|
|
100
|
+
'question.openHint': '主会话有一个问题弹框,点击在侧边聊天里询问',
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
export const en = {
|
|
104
|
+
'ask.new': 'Ask in side chat',
|
|
105
|
+
'ask.continue': 'Continue active side chat',
|
|
106
|
+
'panel.title': 'Side chat',
|
|
107
|
+
'panel.empty': 'No side chat for this conversation yet. Select some message text and choose "Ask in side chat".',
|
|
108
|
+
'panel.close': 'Close',
|
|
109
|
+
'panel.input.placeholder': 'Type a message, Enter to send',
|
|
110
|
+
'panel.send': 'Send',
|
|
111
|
+
'panel.stop': 'Stop',
|
|
112
|
+
'panel.lookup': 'Look up workspace / parent when needed',
|
|
113
|
+
'panel.model': 'Model',
|
|
114
|
+
'panel.provider': 'Provider',
|
|
115
|
+
'panel.effort': 'Effort',
|
|
116
|
+
'panel.permission': 'Permission',
|
|
117
|
+
'panel.noModel': '(inherited)',
|
|
118
|
+
'panel.effortDefault': 'Default',
|
|
119
|
+
'panel.expand': 'Expand side chat',
|
|
120
|
+
'panel.collapse': 'Collapse side chat',
|
|
121
|
+
'panel.dispose': 'End this side chat',
|
|
122
|
+
'panel.delete': 'Delete',
|
|
123
|
+
'panel.deleteAll': 'Delete all',
|
|
124
|
+
'panel.error': 'Side chat error',
|
|
125
|
+
'panel.running': 'Thinking…',
|
|
117
126
|
'panel.copy': 'Copy',
|
|
118
127
|
'panel.copied': 'Copied',
|
|
119
128
|
'panel.footnotes': 'Footnotes',
|
|
120
129
|
'panel.think': 'Think',
|
|
121
|
-
'panel.commands': 'Commands',
|
|
122
|
-
'command.model': '/model Model',
|
|
123
|
-
'command.permission': '/permission Permission',
|
|
124
|
-
'plan.chipTitle': 'Plan mode on — click to turn off (/plan off)',
|
|
125
|
-
'plan.chipAria': 'Plan mode on, press to turn off',
|
|
126
|
-
'goal.label': 'Goal',
|
|
127
|
-
'image.railGroup': 'Image attachments',
|
|
128
|
-
'image.railOpen': 'Open original',
|
|
129
|
-
'image.railScrollLeft': 'Scroll left',
|
|
130
|
-
'image.railScrollRight': 'Scroll right',
|
|
131
|
-
'image.remove': 'Remove image',
|
|
132
|
-
'image.label': 'Image',
|
|
133
|
-
'image.open': 'Open original',
|
|
134
|
-
'image.loading': 'Loading…',
|
|
135
|
-
'image.loadFailed': 'Load failed',
|
|
136
|
-
'image.lightboxDialog': 'Image preview',
|
|
137
|
-
'image.close': 'Close',
|
|
138
|
-
'image.dropTitle': 'Drop images here',
|
|
139
|
-
'image.dropDesc': 'PNG / JPEG / WebP / GIF',
|
|
140
|
-
'image.unsupported': 'Unsupported image type',
|
|
141
|
-
'image.tooMany': 'Too many images',
|
|
142
|
-
'image.fileTooLarge': 'Image too large',
|
|
143
|
-
'settingsNav': 'Side chat',
|
|
144
|
-
'settings.lookupTitle': 'Default on: "look up workspace / parent when needed"',
|
|
145
|
-
'settings.lookupDesc': 'New conversations start with this switch on; you can still change it per chat',
|
|
146
|
-
'settings.sendImmediatelyTitle': 'Send selected text immediately',
|
|
147
|
-
'settings.sendImmediatelyDesc': 'When off, the selection is staged as an attachment in the composer for you to confirm before sending',
|
|
148
|
-
'settings.defaultPromptTitle': 'Default prompt',
|
|
149
|
-
'settings.defaultPromptDesc': 'When "send immediately" is on, this prompt is appended to the selection so the answer matches your needs',
|
|
150
|
-
'settings.defaultPromptPlaceholder': 'e.g. Answer in Chinese and keep it concise…',
|
|
151
|
-
'settings.bringModeTitle': 'Bring-back target',
|
|
152
|
-
'settings.bringModeDesc': 'Where a side-chat AI reply lands when brought back (neither mode sends immediately)',
|
|
153
|
-
'settings.bringModeDraftTitle': 'Into the composer draft',
|
|
154
|
-
'settings.bringModeDraftDesc': 'Text lands in the main composer so you can edit before sending',
|
|
155
|
-
'settings.bringModeContextTitle': 'As a collapsed context row',
|
|
156
|
-
'settings.bringModeContextDesc': 'Text is injected as a collapsed, source-tagged context row — not into the composer; the model sees it next turn',
|
|
157
|
-
'
|
|
158
|
-
'
|
|
159
|
-
'
|
|
160
|
-
'
|
|
161
|
-
'
|
|
162
|
-
'
|
|
163
|
-
'
|
|
164
|
-
'
|
|
165
|
-
'
|
|
166
|
-
'
|
|
167
|
-
'
|
|
168
|
-
'
|
|
169
|
-
'
|
|
170
|
-
'
|
|
171
|
-
'
|
|
172
|
-
'
|
|
173
|
-
'question.
|
|
174
|
-
'question.
|
|
175
|
-
'question.
|
|
176
|
-
'question.
|
|
177
|
-
'question.
|
|
178
|
-
'question.
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
130
|
+
'panel.commands': 'Commands',
|
|
131
|
+
'command.model': '/model Model',
|
|
132
|
+
'command.permission': '/permission Permission',
|
|
133
|
+
'plan.chipTitle': 'Plan mode on — click to turn off (/plan off)',
|
|
134
|
+
'plan.chipAria': 'Plan mode on, press to turn off',
|
|
135
|
+
'goal.label': 'Goal',
|
|
136
|
+
'image.railGroup': 'Image attachments',
|
|
137
|
+
'image.railOpen': 'Open original',
|
|
138
|
+
'image.railScrollLeft': 'Scroll left',
|
|
139
|
+
'image.railScrollRight': 'Scroll right',
|
|
140
|
+
'image.remove': 'Remove image',
|
|
141
|
+
'image.label': 'Image',
|
|
142
|
+
'image.open': 'Open original',
|
|
143
|
+
'image.loading': 'Loading…',
|
|
144
|
+
'image.loadFailed': 'Load failed',
|
|
145
|
+
'image.lightboxDialog': 'Image preview',
|
|
146
|
+
'image.close': 'Close',
|
|
147
|
+
'image.dropTitle': 'Drop images here',
|
|
148
|
+
'image.dropDesc': 'PNG / JPEG / WebP / GIF',
|
|
149
|
+
'image.unsupported': 'Unsupported image type',
|
|
150
|
+
'image.tooMany': 'Too many images',
|
|
151
|
+
'image.fileTooLarge': 'Image too large',
|
|
152
|
+
'settingsNav': 'Side chat',
|
|
153
|
+
'settings.lookupTitle': 'Default on: "look up workspace / parent when needed"',
|
|
154
|
+
'settings.lookupDesc': 'New conversations start with this switch on; you can still change it per chat',
|
|
155
|
+
'settings.sendImmediatelyTitle': 'Send selected text immediately',
|
|
156
|
+
'settings.sendImmediatelyDesc': 'When off, the selection is staged as an attachment in the composer for you to confirm before sending',
|
|
157
|
+
'settings.defaultPromptTitle': 'Default prompt',
|
|
158
|
+
'settings.defaultPromptDesc': 'When "send immediately" is on, this prompt is appended to the selection so the answer matches your needs',
|
|
159
|
+
'settings.defaultPromptPlaceholder': 'e.g. Answer in Chinese and keep it concise…',
|
|
160
|
+
'settings.bringModeTitle': 'Bring-back target',
|
|
161
|
+
'settings.bringModeDesc': 'Where a side-chat AI reply lands when brought back (neither mode sends immediately)',
|
|
162
|
+
'settings.bringModeDraftTitle': 'Into the composer draft',
|
|
163
|
+
'settings.bringModeDraftDesc': 'Text lands in the main composer so you can edit before sending',
|
|
164
|
+
'settings.bringModeContextTitle': 'As a collapsed context row',
|
|
165
|
+
'settings.bringModeContextDesc': 'Text is injected as a collapsed, source-tagged context row — not into the composer; the model sees it next turn',
|
|
166
|
+
'settings.panelHomeTitle': 'Side-chat panel location',
|
|
167
|
+
'settings.panelHomeDesc': 'The classic panel floats on the window\u2019s right edge; dock mode puts the side chat inside the new right sidebar (the same rail as document previews). Neither mode covers the built-in sidebar',
|
|
168
|
+
'settings.panelHomeFloatingTitle': 'Floating panel (classic)',
|
|
169
|
+
'settings.panelHomeFloatingDesc': 'Fixed to the window\u2019s right edge; drag to resize and collapse independently',
|
|
170
|
+
'settings.panelHomeDockTitle': 'Dock in the right sidebar',
|
|
171
|
+
'settings.panelHomeDockDesc': 'Lives as a "Side chat" tab in the new right sidebar, sharing the rail with document previews',
|
|
172
|
+
'dock.title': 'Side chat',
|
|
173
|
+
'dock.unavailable': 'This deployment has no right sidebar; fell back to the floating panel',
|
|
174
|
+
'dock.openFailed': 'Could not open the side-chat tab in the right sidebar',
|
|
175
|
+
'insert.direct': 'Insert directly',
|
|
176
|
+
'insert.summarize': 'Summarize & insert',
|
|
177
|
+
'insert.summarizing': 'Summarizing…',
|
|
178
|
+
'insert.failed': 'Could not write to the main composer',
|
|
179
|
+
'insert.summarizeFailed': 'Summarization failed',
|
|
180
|
+
'insert.contextSummary': 'Brought from side chat',
|
|
181
|
+
'insert.summarizeContextSummary': 'Side chat summary',
|
|
182
|
+
'question.options': 'Options',
|
|
183
|
+
'question.option': 'Option',
|
|
184
|
+
'question.bringAll': 'Bring all',
|
|
185
|
+
'question.bringAllNew': 'New chat (all)',
|
|
186
|
+
'question.bringOne': 'Bring',
|
|
187
|
+
'question.bringOneNew': 'New chat',
|
|
188
|
+
'question.bringing': 'Bringing…',
|
|
189
|
+
'question.failed': 'Failed to bring into the side chat',
|
|
190
|
+
'question.delete': 'Delete',
|
|
191
|
+
'question.deleteAll': 'Delete all',
|
|
192
|
+
'question.collapse': 'Collapse',
|
|
193
|
+
'question.expand': 'Expand',
|
|
194
|
+
'question.allPrompt': 'Please explain what this question is asking and what each option means, and advise how I should choose.',
|
|
195
|
+
'question.onePrompt': 'Please explain what this option means and its trade-offs for this question.',
|
|
196
|
+
'question.openHint': 'The main conversation has a question dialog — click to ask in the side chat',
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
export type SidechatLocaleKey = keyof typeof zh
|