@kirkchinese/dsh-citeciter 0.9.0-beta.2 → 0.9.0-beta.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 +17 -10
- package/README.zh.md +17 -10
- package/assets/citeciter-mascot.png +0 -0
- package/assets/locale/en.json +6 -0
- package/assets/locale/zh.json +6 -0
- package/lib/client.js +6111 -3495
- package/lib/index.js +1769 -314
- package/lib/{typert-common-g1lnIG8u.js → typert-common-BtQUArWP.js} +1 -1
- package/lib/typert.host.js +2 -2
- package/lib/typert.remote-client.js +1 -1
- package/lib/types/actions.d.ts +15 -0
- package/lib/types/blackboard-tool.d.ts +6 -0
- package/lib/types/board-animation.d.ts +278 -0
- package/lib/types/board-capture-protocol.d.ts +61 -1
- package/lib/types/board-capture.d.ts +2 -0
- package/lib/types/board.d.ts +62 -3
- package/lib/types/client/action-controller.d.ts +14 -1
- package/lib/types/client/action-executor.d.ts +3 -1
- package/lib/types/client/board-citation.d.ts +2 -0
- package/lib/types/client/board-timeline.d.ts +33 -0
- package/lib/types/client/components/BoardCaptureSurface.d.ts +3 -1
- package/lib/types/client/components/BoardView.d.ts +5 -1
- package/lib/types/client/components/CiteCiterSettings.d.ts +13 -2
- package/lib/types/client/components/CitePanel.d.ts +14 -1
- package/lib/types/client/components/CiterTab.d.ts +15 -0
- package/lib/types/client/components/ContextRow.d.ts +7 -0
- package/lib/types/client/components/PermissionControl.d.ts +1 -1
- package/lib/types/client/components/SelectionToolbar.d.ts +2 -0
- package/lib/types/client/components/ToolMessage.d.ts +10 -5
- package/lib/types/client/components/TopicActions.d.ts +4 -1
- package/lib/types/client/components/TopicHeader.d.ts +4 -3
- package/lib/types/client/components/TopicModelControls.d.ts +1 -1
- package/lib/types/client/components/TopicUsage.d.ts +5 -0
- package/lib/types/client/components/UserMessageBody.d.ts +7 -2
- package/lib/types/client/conversation-dom.d.ts +2 -0
- package/lib/types/client/copy.d.ts +16 -4
- package/lib/types/client/draft-references.d.ts +3 -1
- package/lib/types/client/entries.d.ts +3 -0
- package/lib/types/client/i18n.d.ts +23 -0
- package/lib/types/client/locales/board.d.ts +51 -0
- package/lib/types/client/locales/common.d.ts +7 -0
- package/lib/types/client/locales/index.d.ts +564 -0
- package/lib/types/client/locales/panel.d.ts +215 -0
- package/lib/types/client/locales/settings.d.ts +179 -0
- package/lib/types/client/locales/transcript.d.ts +127 -0
- package/lib/types/client/main-quote.d.ts +16 -0
- package/lib/types/client/native-file-link.d.ts +10 -0
- package/lib/types/client/request-guard.d.ts +2 -1
- package/lib/types/client/rich-content.d.ts +7 -0
- package/lib/types/client/selection-references.d.ts +1 -1
- package/lib/types/client/tool-cards.d.ts +84 -0
- package/lib/types/client/tool-presentation.d.ts +1 -4
- package/lib/types/client/topic-presentation.d.ts +8 -3
- package/lib/types/client/types.d.ts +12 -0
- package/lib/types/client/view-actions.d.ts +1 -1
- package/lib/types/evidence-text.d.ts +8 -0
- package/lib/types/host-agent-modules.d.ts +4 -1
- package/lib/types/line-diff.d.ts +12 -0
- package/lib/types/message-projection.d.ts +25 -7
- package/lib/types/model-admission.d.ts +1 -1
- package/lib/types/observer.d.ts +0 -30
- package/lib/types/owned-session-cleanup.d.ts +7 -1
- package/lib/types/source-read-tool.d.ts +3 -3
- package/lib/types/source-session.d.ts +11 -2
- package/lib/types/source-transcript.d.ts +58 -0
- package/lib/types/tool-events.d.ts +2 -0
- package/lib/types/topic-context.d.ts +80 -0
- package/lib/types/topic-log.d.ts +5 -1
- package/lib/types/topic-prompts.d.ts +4 -0
- package/lib/types/topic-runtime.d.ts +5 -1
- package/lib/types/topic.d.ts +273 -15
- package/lib/types/typert-common.d.ts +148 -5
- package/lib/types/typert.host.d.ts +383 -14
- package/lib/types/workspace-changes.d.ts +90 -0
- package/lib/{update-B_0nN1_f.js → update-D-jnLTb5.js} +681 -5
- package/package.json +70 -65
- package/lib/types/client/board-capture-target.d.ts +0 -8
- package/lib/types/client/components/ChoicePopover.d.ts +0 -8
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
/** The Citer workspace shell: header, Topic list and menu, empty state, composer, questions, notices and dialogs. */
|
|
2
|
+
export declare const zh: {
|
|
3
|
+
readonly 'panel.placeholder': "继续提问";
|
|
4
|
+
readonly 'panel.phase.creating': "正在准备…";
|
|
5
|
+
readonly 'panel.phase.running': "正在回答…";
|
|
6
|
+
readonly 'panel.phase.stopping': "正在停止…";
|
|
7
|
+
readonly 'panel.phase.stopped': "已停止";
|
|
8
|
+
readonly 'panel.phase.error': "出错了";
|
|
9
|
+
readonly 'panel.error.noSourceModel': "当前主会话还没有可复用的模型。请先在主对话发送一条消息,再创建 Topic。";
|
|
10
|
+
readonly 'panel.error.modelAddress': "模型服务地址";
|
|
11
|
+
readonly 'panel.error.requestFailed': "请求失败";
|
|
12
|
+
readonly 'panel.error.separator': ":";
|
|
13
|
+
readonly 'panel.cards.revisePrompt': "请先核对本 Topic 的结论,纠正错误并标明未核实内容,再生成总结学习卡片。";
|
|
14
|
+
readonly 'panel.error.retained': "已生成的内容保留在上方。";
|
|
15
|
+
readonly 'panel.error.details': "技术详情";
|
|
16
|
+
readonly 'panel.error.topics': "Topic 读取失败:";
|
|
17
|
+
readonly 'panel.error.deleteFailed': "Topic 未删除,请重试。";
|
|
18
|
+
readonly 'panel.error.modelSelectionRequired': "这个 Topic 的模型在当前 DSH 中不可用。草稿已保留,请在模型菜单中选择可用模型后发送。";
|
|
19
|
+
readonly 'panel.error.sourceSessionUnsaved': "来源 Session 尚未保存,请先在主对话发送消息";
|
|
20
|
+
readonly 'panel.error.sourceUnavailable': "Citer 来源存储不可用";
|
|
21
|
+
readonly 'panel.error.sourceDirectoryUnavailable': "Citer 来源目录不可用";
|
|
22
|
+
readonly 'panel.nextQuestions': "接下来可能想问";
|
|
23
|
+
readonly 'panel.empty.title': "把没懂的地方,慢慢讲明白";
|
|
24
|
+
readonly 'panel.empty.description': "在主对话里选中文字,用工具条提问;或者新建一个 Topic。";
|
|
25
|
+
readonly 'panel.newTopic': "新建 Topic";
|
|
26
|
+
readonly 'panel.quote': "引用 · ";
|
|
27
|
+
readonly 'panel.sourceUnavailable': "来源对话暂时不可用,Citer 读不到它的内容。";
|
|
28
|
+
readonly 'panel.content': "Topic 内容";
|
|
29
|
+
readonly 'panel.conversation': "对话";
|
|
30
|
+
readonly 'panel.cardsCount': "学习卡 {count}";
|
|
31
|
+
readonly 'panel.userMessage': "用户消息";
|
|
32
|
+
readonly 'panel.freeDiscussion': "无引用 · 自由讨论";
|
|
33
|
+
readonly 'panel.draft.pending': "上次发送状态待核对。";
|
|
34
|
+
readonly 'panel.draft.reconcile': "核对发送状态";
|
|
35
|
+
readonly 'panel.draft.retrySend': "重试上次发送";
|
|
36
|
+
readonly 'panel.draft.reload': "重新读取草稿";
|
|
37
|
+
readonly 'panel.draft.removeMissing': "移除失效附件:{name}";
|
|
38
|
+
readonly 'panel.delete.title': "永久删除 Topic";
|
|
39
|
+
readonly 'panel.delete.description': "这会永久删除“{title}”。请输入完整 Topic Session ID 确认。";
|
|
40
|
+
readonly 'panel.delete.deleting': "删除中…";
|
|
41
|
+
readonly 'panel.delete.confirm': "永久删除";
|
|
42
|
+
readonly 'panel.delete.input': "输入 Topic Session ID 以确认永久删除";
|
|
43
|
+
readonly 'panel.delete.placeholder': "粘贴上方 Session ID";
|
|
44
|
+
readonly 'panel.dock.drop': "松开以停靠";
|
|
45
|
+
readonly 'panel.dock.resize': "调整 Citer 宽度";
|
|
46
|
+
readonly 'panel.dock.unsupported': "当前布局暂不支持 Citer 面板。请使用受支持的官方 DSH 版本,关闭全屏详情后重试。";
|
|
47
|
+
readonly 'panel.dock.fullscreen': "Citer 已打开。退出文件全屏查看,或 ";
|
|
48
|
+
readonly 'panel.dock.floating': "悬浮查看";
|
|
49
|
+
readonly 'panel.header.collapseCiter': "收起 Citer";
|
|
50
|
+
readonly 'panel.header.collapse': "收起";
|
|
51
|
+
readonly 'panel.title.name': "Topic 名称";
|
|
52
|
+
readonly 'panel.title.saveFailed': "保存失败,可重试或按 Escape 取消";
|
|
53
|
+
readonly 'panel.title.renameHint': "双击重命名 · F2";
|
|
54
|
+
readonly 'panel.nav.list': "Topic 列表";
|
|
55
|
+
readonly 'panel.nav.search': "搜索 Topic";
|
|
56
|
+
readonly 'panel.nav.showActive': "查看活动";
|
|
57
|
+
readonly 'panel.nav.showArchived': "查看归档";
|
|
58
|
+
readonly 'panel.nav.noMatches': "没有匹配的 Topic";
|
|
59
|
+
readonly 'panel.nav.noArchived': "没有归档的 Topic";
|
|
60
|
+
readonly 'panel.nav.empty': "还没有 Topic";
|
|
61
|
+
readonly 'panel.menu.more': "更多";
|
|
62
|
+
readonly 'panel.menu.actions': "Topic 操作";
|
|
63
|
+
readonly 'panel.menu.rename': "重命名";
|
|
64
|
+
readonly 'panel.menu.disableLearning': "关闭学习路线";
|
|
65
|
+
readonly 'panel.menu.enableLearning': "开启学习路线";
|
|
66
|
+
readonly 'panel.menu.reader': "文档阅读";
|
|
67
|
+
readonly 'panel.menu.contextNotices': "只显示上下文通知";
|
|
68
|
+
readonly 'panel.menu.allContext': "显示全部上下文";
|
|
69
|
+
readonly 'panel.menu.restore': "恢复 Topic";
|
|
70
|
+
readonly 'panel.menu.archive': "归档 Topic";
|
|
71
|
+
readonly 'panel.menu.delete': "永久删除…";
|
|
72
|
+
readonly 'panel.composer.addQuestion': "补充问题";
|
|
73
|
+
readonly 'panel.composer.editDraft': "编辑草稿";
|
|
74
|
+
readonly 'panel.composer.ask': "继续向 Citer 提问";
|
|
75
|
+
readonly 'panel.composer.attach': "添加图片或文件";
|
|
76
|
+
readonly 'panel.composer.stop': "停止回答";
|
|
77
|
+
readonly 'panel.composer.queueHint': "当前:排队发送;点击切换为插话";
|
|
78
|
+
readonly 'panel.composer.steerHint': "当前:插话;点击切换为排队";
|
|
79
|
+
readonly 'panel.composer.queueSend': "排队发送";
|
|
80
|
+
readonly 'panel.composer.steerSend': "插话发送";
|
|
81
|
+
readonly 'panel.composer.queue': "排队";
|
|
82
|
+
readonly 'panel.composer.steer': "插话";
|
|
83
|
+
readonly 'panel.composer.runningHint': "Enter:{normal};Ctrl + Enter:{alternate};Shift + Enter:换行";
|
|
84
|
+
readonly 'panel.composer.sendHint': "发送 · Enter(Shift + Enter 换行)";
|
|
85
|
+
readonly 'panel.composer.send': "发送";
|
|
86
|
+
readonly 'panel.model.default': "默认";
|
|
87
|
+
readonly 'panel.model.effort': "思考强度";
|
|
88
|
+
readonly 'panel.model.modelDefault': "模型默认";
|
|
89
|
+
readonly 'panel.model.label': "模型与思考强度:{name},{effort}";
|
|
90
|
+
readonly 'panel.permission.readOnly': "只读";
|
|
91
|
+
readonly 'panel.permission.workspaceWrite': "工作区内修改";
|
|
92
|
+
readonly 'panel.permission.fullAccess': "完全权限";
|
|
93
|
+
readonly 'panel.permission.label': "权限:{mode}";
|
|
94
|
+
readonly 'panel.permission.host': "DSH 权限";
|
|
95
|
+
readonly 'panel.questions.pending': "待回答问题";
|
|
96
|
+
readonly 'panel.questions.number': "问题 {number}";
|
|
97
|
+
readonly 'panel.questions.lateReply': " · 可补答";
|
|
98
|
+
readonly 'panel.question.continued': "模型已继续,回答仍保留,请再次提交。";
|
|
99
|
+
readonly 'panel.question.closed': "这条提问已结束,未发送回答。";
|
|
100
|
+
readonly 'panel.question.label': "Citer 提问";
|
|
101
|
+
readonly 'panel.question.needsAnswer': "Citer 需要你的回答";
|
|
102
|
+
readonly 'panel.question.retrySave': "重试保存";
|
|
103
|
+
readonly 'panel.question.reload': "重新加载";
|
|
104
|
+
readonly 'panel.question.answerPlaceholder': "输入回答…";
|
|
105
|
+
readonly 'panel.question.otherPlaceholder': "其他(可填写)";
|
|
106
|
+
readonly 'panel.question.customAnswer': "自定义回答";
|
|
107
|
+
readonly 'panel.question.takeTime': "等我回答";
|
|
108
|
+
readonly 'panel.question.skip': "跳过此题";
|
|
109
|
+
readonly 'panel.question.previous': "上一个";
|
|
110
|
+
readonly 'panel.question.next': "下一个";
|
|
111
|
+
readonly 'panel.question.submitting': "提交中…";
|
|
112
|
+
readonly 'panel.question.submit': "提交回答";
|
|
113
|
+
readonly 'panel.question.replyLabel': "补答先前的问题";
|
|
114
|
+
readonly 'panel.question.reply': "补答";
|
|
115
|
+
readonly 'panel.question.invalidReply': "这条历史回答的格式无法解析。";
|
|
116
|
+
readonly 'panel.question.skipped': "已跳过";
|
|
117
|
+
readonly 'panel.question.submitted': "已提交的回答";
|
|
118
|
+
readonly 'panel.question.interrupted': "上次运行已中断,可补充回答;手动提交后继续";
|
|
119
|
+
readonly 'panel.question.canReply': "模型已继续,可补充回答";
|
|
120
|
+
readonly 'panel.question.waiting': "等待你完成回答";
|
|
121
|
+
readonly 'panel.question.focused': "输入区获得焦点,倒计时已暂停";
|
|
122
|
+
readonly 'panel.question.countdown': "{seconds} 秒后模型将继续";
|
|
123
|
+
readonly 'panel.question.claimFailed': "无法接管等待:{error}。宿主将按原定时限继续。";
|
|
124
|
+
readonly 'panel.question.waitFailed': "等待状态更新失败:{error}";
|
|
125
|
+
readonly 'panel.queue.label': "DSH 发送队列";
|
|
126
|
+
readonly 'panel.queue.readFailed': "无法读取发送状态,正在重连:{error}";
|
|
127
|
+
readonly 'panel.queue.sending': "发送中";
|
|
128
|
+
readonly 'panel.queue.attachment': "附件";
|
|
129
|
+
readonly 'panel.queue.steerHint': "将在当前回答的下一步处理";
|
|
130
|
+
readonly 'panel.queue.queuedHint': "当前回答完成后处理";
|
|
131
|
+
readonly 'panel.queue.steerNow': "现在插话";
|
|
132
|
+
readonly 'panel.queue.steerItem': "将此条排队消息改为插话";
|
|
133
|
+
readonly 'panel.queue.remove': "移出队列";
|
|
134
|
+
readonly 'panel.queue.removeItem': "移除此条待处理消息";
|
|
135
|
+
readonly 'panel.approval.wait': "当前工具正在等待宿主交互。可停止后重试。";
|
|
136
|
+
readonly 'panel.approval.label': "DSH 工具审批";
|
|
137
|
+
readonly 'panel.approval.pending': "等待授权 · {tool}";
|
|
138
|
+
readonly 'panel.approval.parameters': "查看工具参数";
|
|
139
|
+
readonly 'panel.approval.reject': "拒绝";
|
|
140
|
+
readonly 'panel.approval.allowOnce': "仅允许这次";
|
|
141
|
+
readonly 'panel.file.previewHint': "图片无法预览,可移除后重新添加;原文件仍保留。";
|
|
142
|
+
readonly 'panel.file.previewUnavailable': "无法预览";
|
|
143
|
+
readonly 'panel.file.uploading': "上传中";
|
|
144
|
+
readonly 'panel.file.uploadFailed': "上传失败,点击重试";
|
|
145
|
+
readonly 'panel.file.retry': "重试";
|
|
146
|
+
readonly 'panel.file.remove': "移除附件 {name}";
|
|
147
|
+
readonly 'panel.file.drop': "松开,添加到 Citer";
|
|
148
|
+
readonly 'panel.file.selectTopic': "先选择一个 Topic";
|
|
149
|
+
readonly 'panel.back': "返回主对话";
|
|
150
|
+
readonly 'panel.pet.attention': "打开 Citer,有新的回答";
|
|
151
|
+
readonly 'panel.pet.open': "打开 Citer";
|
|
152
|
+
readonly 'panel.pet.drag': "打开 Citer · 可以拖动";
|
|
153
|
+
readonly 'panel.notice.deletedElsewhere': "此 Topic 已在另一窗口删除。";
|
|
154
|
+
readonly 'panel.notice.deleted': "Topic 已永久删除。";
|
|
155
|
+
readonly 'panel.notice.cleanup': "Topic 已删除;相关资源仍在后台清理。";
|
|
156
|
+
readonly 'panel.notice.stopRequested': "已请求停止当前回答;待处理队列仍按 DSH 规则继续。";
|
|
157
|
+
readonly 'panel.action.undeliveredModel': "动作没有发送,已放进输入框";
|
|
158
|
+
readonly 'panel.action.undelivered': "{reason}。动作已放进输入框,可修改后发送";
|
|
159
|
+
readonly 'panel.settings.saving': "正在保存…";
|
|
160
|
+
readonly 'panel.settings.saved': "已保存";
|
|
161
|
+
readonly 'panel.settings.saveFailed': "保存失败,已恢复:{error}";
|
|
162
|
+
readonly 'panel.error.selectionChanged': "来源会话已切换,请重新选文";
|
|
163
|
+
readonly 'panel.error.sourceChanged': "来源已切换,请重新选文";
|
|
164
|
+
readonly 'panel.error.topicChanging': "Topic 正在切换,请稍后重新选文";
|
|
165
|
+
readonly 'panel.error.answerUnavailable': "选中的模型回答已不在当前会话快照中";
|
|
166
|
+
readonly 'panel.error.waitForAnswer': "请在一次模型调用完成后引用;无需等待整轮长任务结束";
|
|
167
|
+
readonly 'panel.error.openForDocument': "打开 Citer 面板后即可创建文档 Topic";
|
|
168
|
+
readonly 'panel.error.topicChanged': "当前 Topic 已切换或不可编辑,请重新选文";
|
|
169
|
+
readonly 'panel.error.actionUnconfirmed': "未收到发送结果,请在 Topic 中确认这条动作是否已发送";
|
|
170
|
+
readonly 'panel.error.nativeUnavailable': "当前 DSH 不提供 Citer 所需的原生附件发送接口";
|
|
171
|
+
readonly 'panel.error.citerClosed': "Citer 已关闭";
|
|
172
|
+
readonly 'panel.error.topicDeleted': "这个 Topic 已永久删除";
|
|
173
|
+
readonly 'panel.error.topicQuestionClosed': "这个 Topic 的提问服务已结束";
|
|
174
|
+
readonly 'panel.error.attachmentInvalid': "附件格式无效或内容损坏,请移除或更换附件后重试";
|
|
175
|
+
readonly 'panel.error.sendRefused': "DSH 未接受此次发送";
|
|
176
|
+
readonly 'panel.error.sendUnknown': "未收到发送结果:{error};请核对发送状态,草稿已保留";
|
|
177
|
+
readonly 'panel.error.checkSend': "{reason};请核对发送状态,草稿已保留";
|
|
178
|
+
readonly 'panel.error.draftRetained': "{reason};草稿已保留";
|
|
179
|
+
readonly 'panel.error.restoreFile': "无法恢复 {name}:{error};请移除或重新添加";
|
|
180
|
+
readonly 'panel.error.draftLimit': "草稿最多保留 32 个附件,每个附件不超过 100 MiB";
|
|
181
|
+
readonly 'panel.error.removeMissing': "请先移除或重新添加无法恢复的附件";
|
|
182
|
+
readonly 'panel.error.pendingSend': "上次发送状态未确认,请先核对或明确重试上次发送";
|
|
183
|
+
readonly 'panel.error.missingSentFile': "上次发送的附件无法恢复,请先核对发送状态";
|
|
184
|
+
readonly 'panel.error.draftNotSaved': "草稿尚未保存,未发送;请稍后重试";
|
|
185
|
+
readonly 'panel.error.questionEnded': "这个提问已结束,未提交回答";
|
|
186
|
+
readonly 'panel.error.answerNotSaved': "回答尚未保存,未发送;请稍后重试";
|
|
187
|
+
readonly 'panel.error.questionNotResent': "这个提问已结束,未重复提交回答";
|
|
188
|
+
readonly 'panel.error.answerNotSent': "回答未发送,请稍后重试";
|
|
189
|
+
readonly 'panel.error.attachmentGone': "这个 Topic 已永久删除,附件已不可用";
|
|
190
|
+
readonly 'panel.error.downloadFile': "此附件是普通文件,请使用文件下载入口";
|
|
191
|
+
readonly 'panel.error.settingsUnavailable': "当前 DSH 未提供 Citer 所需的设置接口";
|
|
192
|
+
readonly 'panel.error.approvalUnavailable': "当前 DSH 未提供 Citer 所需的审批展示接口";
|
|
193
|
+
readonly 'panel.response.deletedMismatch': "Citer 返回了不匹配的删除记录";
|
|
194
|
+
readonly 'panel.response.topicMismatch': "Citer 返回了错误的 Topic 响应";
|
|
195
|
+
readonly 'panel.response.deleteReceiptMismatch': "Citer 删除回执与当前 Topic 不一致";
|
|
196
|
+
readonly 'panel.response.createMismatch': "CiteCiter 返回了错误的创建响应";
|
|
197
|
+
readonly 'panel.response.documentTopicMismatch': "Citer 返回了错误的文档 Topic 响应";
|
|
198
|
+
readonly 'panel.response.deleteMismatch': "Citer 返回了错误的删除响应";
|
|
199
|
+
readonly 'panel.response.deletedTopicMismatch': "Citer 返回的删除对象与当前 Topic 不一致";
|
|
200
|
+
readonly 'panel.response.questionReceiptMismatch': "Citer 提问删除回执身份不匹配";
|
|
201
|
+
readonly 'panel.response.questionDeleted': "这个 Topic 已永久删除,未提交回答";
|
|
202
|
+
readonly 'panel.response.questionMismatch': "Citer 提问响应与当前 Topic 不匹配";
|
|
203
|
+
readonly 'panel.response.questionDraftMismatch': "回答草稿响应类型不匹配";
|
|
204
|
+
readonly 'panel.response.closedBeforeAttachment': "Citer 已关闭,未创建附件";
|
|
205
|
+
readonly 'panel.response.deletedBeforeAttachment': "这个 Topic 已永久删除,未创建附件";
|
|
206
|
+
readonly 'panel.response.draftFileMismatch': "草稿附件响应类型不匹配";
|
|
207
|
+
readonly 'panel.response.incompleteFile': "草稿附件读取不完整";
|
|
208
|
+
readonly 'panel.response.restoreAttachmentFailed': "DSH 未恢复附件";
|
|
209
|
+
readonly 'panel.response.draftMismatch': "草稿响应类型不匹配";
|
|
210
|
+
readonly 'panel.response.draftSaveMismatch': "草稿保存响应类型不匹配";
|
|
211
|
+
readonly 'panel.response.sessionReceiptMismatch': "Citer 删除回执与当前会话不一致";
|
|
212
|
+
readonly 'panel.response.nativeAttachmentMismatch': "Citer 附件响应类型不匹配";
|
|
213
|
+
readonly 'panel.response.nativeStateMismatch': "Citer 会话状态响应类型不匹配";
|
|
214
|
+
};
|
|
215
|
+
export declare const en: Record<keyof typeof zh, string>;
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
/** Settings, preset actions, the selection toolbar and wheel, the document reader and update notices. */
|
|
2
|
+
export declare const zh: {
|
|
3
|
+
readonly 'settings.title': "Citer";
|
|
4
|
+
readonly 'settings.summary': "选文工具条、预设动作、新 Topic 的模型与权限";
|
|
5
|
+
readonly 'settings.intro': "选中 Agent 工作中的内容,在独立的 Topic 里追问,不改动主对话。";
|
|
6
|
+
readonly 'settings.topic.permission': "新 Topic 的权限";
|
|
7
|
+
readonly 'settings.topic.permissionDesc': "只影响之后新建的 Topic;DSH 的审批和沙箱照常生效。";
|
|
8
|
+
readonly 'settings.topic.reopen': "重新打开上次的 Topic";
|
|
9
|
+
readonly 'settings.topic.reopenDesc': "回到来源对话时自动展开 Citer 并恢复最近的 Topic。";
|
|
10
|
+
readonly 'settings.topic.reasoning': "读取来源时包含思考过程";
|
|
11
|
+
readonly 'settings.topic.reasoningDesc': "关闭后,Citer 读取来源对话时看不到主 Agent 的思考内容。";
|
|
12
|
+
readonly 'settings.topic.followups': "首个回答附带追问建议";
|
|
13
|
+
readonly 'settings.topic.followupsDesc': "在第一个回答末尾给出三个可以接着问的问题。";
|
|
14
|
+
readonly 'settings.topic.autoRead': "自动附上来源摘录";
|
|
15
|
+
readonly 'settings.topic.autoReadDesc': "每轮开头附上来源对话最近的新内容。关闭时由 Citer 按需调用工具读取。";
|
|
16
|
+
readonly 'settings.topic.changes': "代码库变化感知";
|
|
17
|
+
readonly 'settings.topic.changesDesc': "每轮开头告诉 Citer 上一轮以来 git 工作区改了哪些文件。“附带 diff”会直接附上逐行改动;“仅清单”只列文件,Citer 需要时再用工具读取。";
|
|
18
|
+
readonly 'settings.topic.off': "关闭";
|
|
19
|
+
readonly 'settings.topic.summary': "仅清单";
|
|
20
|
+
readonly 'settings.topic.diff': "附带 diff";
|
|
21
|
+
readonly 'settings.learning.title': "学习";
|
|
22
|
+
readonly 'settings.learning.recall': "主动回忆";
|
|
23
|
+
readonly 'settings.learning.recallDesc': "学习卡先显示自测问题,点开才看到结论和答案。";
|
|
24
|
+
readonly 'settings.learning.animations': "板书动画";
|
|
25
|
+
readonly 'settings.learning.animationsDesc': "关闭后板书直接显示最终状态。";
|
|
26
|
+
readonly 'settings.learning.tutor': "导师提示词";
|
|
27
|
+
readonly 'settings.learning.tutorDesc': "补充你的讲解偏好,下次发送起生效;留空使用内置提示词。";
|
|
28
|
+
readonly 'settings.learning.tutorPlaceholder': "例如:先给结论,再用一个小例子说明。";
|
|
29
|
+
readonly 'settings.panel.title': "面板";
|
|
30
|
+
readonly 'settings.panel.width': "默认宽度";
|
|
31
|
+
readonly 'settings.panel.widthDesc': "也可以拖动面板左边缘调整。";
|
|
32
|
+
readonly 'settings.panel.widthAria': "面板默认宽度";
|
|
33
|
+
readonly 'settings.panel.shortcut': "打开 Citer 的快捷键";
|
|
34
|
+
readonly 'settings.panel.shortcutDesc': "例如 Control+Shift+C;留空表示不使用。输入框里的按键不会被拦截。";
|
|
35
|
+
readonly 'settings.panel.shortcutError': "快捷键格式无效;请使用 Control+Shift+C 这样的组合,或留空禁用。";
|
|
36
|
+
readonly 'settings.other.title': "其他";
|
|
37
|
+
readonly 'settings.other.update': "版本更新提醒";
|
|
38
|
+
readonly 'settings.other.updateBrowserDesc': "远程 Web 只在当前浏览器保存这个选择。";
|
|
39
|
+
readonly 'settings.other.updateDesc': "有新版本时提醒你。";
|
|
40
|
+
readonly 'settings.other.config': "配置文件";
|
|
41
|
+
readonly 'settings.other.configDesc': "直接编辑 Citer 的全部设置。";
|
|
42
|
+
readonly 'settings.other.opening': "正在打开…";
|
|
43
|
+
readonly 'settings.other.checking': "正在检查…";
|
|
44
|
+
readonly 'settings.other.unsupported': "宿主不支持打开";
|
|
45
|
+
readonly 'settings.other.missing': "配置文件不存在";
|
|
46
|
+
readonly 'settings.other.reopen': "重新打开";
|
|
47
|
+
readonly 'settings.other.open': "打开配置文件";
|
|
48
|
+
readonly 'settings.actions.title': "选文";
|
|
49
|
+
readonly 'settings.actions.toolbar': "选中文字后显示工具条";
|
|
50
|
+
readonly 'settings.actions.toolbarDesc': "在主对话、工具结果和文档里选中文字时,旁边出现 Citer 的动作。";
|
|
51
|
+
readonly 'settings.actions.wheel': "按住触发键打开轮盘";
|
|
52
|
+
readonly 'settings.actions.wheelDesc': "选中文字后按住触发键,移向动作,松开即执行。按住 Shift 再按右键会保留浏览器菜单。";
|
|
53
|
+
readonly 'settings.actions.trigger': "轮盘触发键";
|
|
54
|
+
readonly 'settings.actions.rightButton': "鼠标右键";
|
|
55
|
+
readonly 'settings.actions.delivery': "预设动作";
|
|
56
|
+
readonly 'settings.actions.deliveryDesc': "“解释”“翻译”这类动作是直接发送,还是先放进输入框。“提问”总是先打开输入框。";
|
|
57
|
+
readonly 'settings.actions.send': "直接发送";
|
|
58
|
+
readonly 'settings.actions.draft': "放进输入框";
|
|
59
|
+
readonly 'settings.actions.model': "新 Topic 的模型";
|
|
60
|
+
readonly 'settings.actions.modelDesc': "未指定时使用来源对话的模型。";
|
|
61
|
+
readonly 'settings.actions.slots': "动作";
|
|
62
|
+
readonly 'settings.actions.slotsDesc': "工具条显示前四个,其余在“⋯”里;轮盘从正上方顺时针排列。";
|
|
63
|
+
readonly 'settings.actions.empty': "空";
|
|
64
|
+
readonly 'settings.actions.ask': "写下问题";
|
|
65
|
+
readonly 'settings.actions.preset': "预设提示词";
|
|
66
|
+
readonly 'settings.actions.add': "添加动作";
|
|
67
|
+
readonly 'settings.actions.name': "名称";
|
|
68
|
+
readonly 'settings.actions.kind': "类型";
|
|
69
|
+
readonly 'settings.actions.kindAria': "动作 {index} 的类型";
|
|
70
|
+
readonly 'settings.actions.optionalPrompt': "提示词(可选,预先填进输入框)";
|
|
71
|
+
readonly 'settings.actions.prompt': "提示词";
|
|
72
|
+
readonly 'settings.actions.position': "打开位置";
|
|
73
|
+
readonly 'settings.actions.side': "侧边面板";
|
|
74
|
+
readonly 'settings.actions.floating': "悬浮面板";
|
|
75
|
+
readonly 'settings.actions.up': "上移";
|
|
76
|
+
readonly 'settings.actions.down': "下移";
|
|
77
|
+
readonly 'settings.actions.clear': "清空";
|
|
78
|
+
readonly 'settings.actions.restore': "恢复默认";
|
|
79
|
+
readonly 'settings.actions.save': "保存动作";
|
|
80
|
+
readonly 'settings.actions.invalid': "请填写动作名称;预设提示词类型的动作需要提示词。";
|
|
81
|
+
readonly 'settings.actions.custom': "自定义";
|
|
82
|
+
readonly 'settings.actions.inheritModel': "跟随来源对话";
|
|
83
|
+
readonly 'settings.actions.unavailableModel': "{provider} / {model}(暂不可用)";
|
|
84
|
+
readonly 'settings.toolbar.newTopic': "新 Topic";
|
|
85
|
+
readonly 'settings.toolbar.title': "Citer 选文动作";
|
|
86
|
+
readonly 'settings.toolbar.quote': "引用";
|
|
87
|
+
readonly 'settings.toolbar.quoteTopic': "引用到当前 Topic 草稿";
|
|
88
|
+
readonly 'settings.toolbar.quoteCiter': "引用到 Citer Topic 草稿";
|
|
89
|
+
readonly 'settings.toolbar.quoteMain': "引用到主对话草稿";
|
|
90
|
+
readonly 'settings.toolbar.ask': "在 Citer 中写下问题";
|
|
91
|
+
readonly 'settings.toolbar.more': "更多动作";
|
|
92
|
+
readonly 'settings.toolbar.askNewTopic': "在新 Topic 中提问";
|
|
93
|
+
readonly 'settings.wheel.empty': "空槽";
|
|
94
|
+
readonly 'settings.wheel.add': "在设置中添加";
|
|
95
|
+
readonly 'settings.wheel.cancel': "取消";
|
|
96
|
+
readonly 'settings.wheel.cancelAria': "取消轮盘";
|
|
97
|
+
readonly 'settings.wheel.hint': "移向动作 · 回到中心取消";
|
|
98
|
+
readonly 'settings.wheel.release': "{label} · 松开后{outcome}";
|
|
99
|
+
readonly 'settings.wheel.unfinished': "{label}:未完成";
|
|
100
|
+
readonly 'settings.wheel.closeAsk': "关闭提问";
|
|
101
|
+
readonly 'settings.wheel.retained': "选中的内容已保留";
|
|
102
|
+
readonly 'settings.wheel.retry': "重试";
|
|
103
|
+
readonly 'settings.reader.title': "文档阅读";
|
|
104
|
+
readonly 'settings.reader.close': "关闭文档阅读";
|
|
105
|
+
readonly 'settings.reader.importAria': "导入文本 / Markdown";
|
|
106
|
+
readonly 'settings.reader.importing': "导入中…";
|
|
107
|
+
readonly 'settings.reader.import': "+ 导入文档";
|
|
108
|
+
readonly 'settings.reader.text': "文本";
|
|
109
|
+
readonly 'settings.reader.empty': "还没有文档";
|
|
110
|
+
readonly 'settings.reader.body': "文档正文";
|
|
111
|
+
readonly 'settings.reader.choose': "选择文档开始阅读";
|
|
112
|
+
readonly 'settings.reader.pagination': "文档分页";
|
|
113
|
+
readonly 'settings.reader.previous': "上一页";
|
|
114
|
+
readonly 'settings.reader.next': "下一页";
|
|
115
|
+
readonly 'settings.reader.loading': "加载中…";
|
|
116
|
+
readonly 'settings.reader.page': "第 {page} / {total} 页";
|
|
117
|
+
readonly 'settings.reader.questionPlaceholder': "选中正文后,写下你的问题";
|
|
118
|
+
readonly 'settings.reader.questionAria': "关于选中内容的问题";
|
|
119
|
+
readonly 'settings.reader.opening': "正在打开…";
|
|
120
|
+
readonly 'settings.reader.ask': "在 Citer 中提问";
|
|
121
|
+
readonly 'settings.native.title': "Citer 学习";
|
|
122
|
+
readonly 'settings.native.hint': "选中正文后,用工具条提问";
|
|
123
|
+
readonly 'settings.native.select': "请先在正文中选中文字";
|
|
124
|
+
readonly 'settings.native.actions': "Citer 动作";
|
|
125
|
+
readonly 'settings.native.snapshot': "提问时会保存这份文件的快照。Markdown 和代码按源文本显示。";
|
|
126
|
+
readonly 'settings.native.pagination': "学习文档分页";
|
|
127
|
+
readonly 'settings.native.body': "原生文件学习正文";
|
|
128
|
+
readonly 'settings.update.announcement': "Citer 有新版本 {version}";
|
|
129
|
+
readonly 'settings.update.title': "Citer 有新版本";
|
|
130
|
+
readonly 'settings.update.description': "“更新”复制安装命令。执行前请核对目标 Profile 与新版 DSH 要求,完成后重启当前 DSH。";
|
|
131
|
+
readonly 'settings.update.update': "更新";
|
|
132
|
+
readonly 'settings.update.later': "下次一定";
|
|
133
|
+
readonly 'settings.update.never': "不再提示";
|
|
134
|
+
readonly 'settings.error.selectQuote': "请先选中要引用的内容";
|
|
135
|
+
readonly 'settings.error.sourceChanged': "来源会话已切换,请重新选文";
|
|
136
|
+
readonly 'settings.error.sourceFileChanged': "来源会话已切换,请返回原文件或重新选文";
|
|
137
|
+
readonly 'settings.error.snapshotUnavailable': "文件快照不可用,请重新选择";
|
|
138
|
+
readonly 'settings.error.saveSnapshot': "无法保存文件快照";
|
|
139
|
+
readonly 'settings.error.create': "创建失败";
|
|
140
|
+
readonly 'settings.error.topicNotReady': "新 Topic 未就绪,请重新选文";
|
|
141
|
+
readonly 'settings.error.documentNotSaved': "文档快照尚未保存,请重新选择";
|
|
142
|
+
readonly 'settings.error.readerList': "Citer 返回了错误的文档列表响应";
|
|
143
|
+
readonly 'settings.error.readerImport': "Citer 返回了错误的文档导入响应";
|
|
144
|
+
readonly 'settings.error.readerContent': "CiteCiter 返回了错误的文档内容响应";
|
|
145
|
+
readonly 'settings.error.untitled': "未命名文档";
|
|
146
|
+
readonly 'settings.error.fileTooLarge': "文件过大;请导入不超过 2,000,000 个字符的文本";
|
|
147
|
+
readonly 'settings.error.textTooLarge': "文档不能超过 2,000,000 个字符";
|
|
148
|
+
readonly 'settings.error.selectDocument': "请先在文档中选择一段内容";
|
|
149
|
+
readonly 'settings.error.enterQuestion': "请输入要问 CiteCiter 的问题";
|
|
150
|
+
readonly 'settings.error.nativeNoText': "此预览没有文本数据,请切换到文本文件的学习查看方式";
|
|
151
|
+
readonly 'settings.error.nativeIncomplete': "请等待原生预览读取完整文件后再学习";
|
|
152
|
+
readonly 'settings.error.nativeTooManyBytes': "学习文本超过 8 MiB 上限";
|
|
153
|
+
readonly 'settings.error.nativeUtf8': "学习查看方式只支持 UTF-8 文本";
|
|
154
|
+
readonly 'settings.error.nativeTooLong': "学习文本不能超过 2,000,000 个字符";
|
|
155
|
+
readonly 'settings.error.nativeNoSource': "文件地址没有来源会话";
|
|
156
|
+
readonly 'settings.error.configUnsupported': "当前宿主不支持打开配置文件";
|
|
157
|
+
readonly 'settings.status.configMissing': "配置文件不存在";
|
|
158
|
+
readonly 'settings.status.configOpened': "已打开配置文件";
|
|
159
|
+
readonly 'settings.status.copying': "正在复制更新命令…";
|
|
160
|
+
readonly 'settings.status.copied': "更新命令已复制。运行后请重启当前 DSH。";
|
|
161
|
+
readonly 'settings.status.copyFailed': "无法自动复制,请手动复制下方命令。运行后请重启当前 DSH。";
|
|
162
|
+
readonly 'settings.status.enabling': "正在开启更新提醒…";
|
|
163
|
+
readonly 'settings.status.disabling': "正在关闭更新提醒…";
|
|
164
|
+
readonly 'settings.status.browserDenied': "浏览器阻止了本地存储,无法保存更新提醒设置。";
|
|
165
|
+
readonly 'settings.status.saveFailed': "无法保存更新提醒设置,请重试。";
|
|
166
|
+
readonly 'settings.status.enabled': "已开启版本更新提醒";
|
|
167
|
+
readonly 'settings.status.disabled': "已关闭版本更新提醒";
|
|
168
|
+
readonly 'settings.status.quoteCopied': "输入框里有附件引用,引用已复制,粘贴到需要的位置即可";
|
|
169
|
+
readonly 'settings.error.mainSubmitting': "主对话正在提交,请稍后重新引用";
|
|
170
|
+
readonly 'settings.error.deletedReceipt': "Citer 草稿删除回执身份不匹配";
|
|
171
|
+
readonly 'settings.error.topicDeleted': "这个 Topic 已永久删除,未继续保存草稿";
|
|
172
|
+
readonly 'settings.guide.description': "在独立 Topic 里追问选中的内容";
|
|
173
|
+
readonly 'settings.blackboard.title': "小黑板";
|
|
174
|
+
readonly 'settings.action.undelivered': "动作没有发送,已放进输入框";
|
|
175
|
+
readonly 'settings.action.undeliveredReason': "{reason}。动作已放进输入框,可修改后发送";
|
|
176
|
+
readonly 'settings.action.question': "我的问题:{question}";
|
|
177
|
+
readonly 'settings.action.questionEn': "My question: {question}";
|
|
178
|
+
};
|
|
179
|
+
export declare const en: Record<keyof typeof zh, string>;
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
/** The Topic transcript: messages, tool rows, context rows, reasoning, attachments and usage. */
|
|
2
|
+
export declare const zh: {
|
|
3
|
+
readonly 'transcript.usage': "用量 {tokens} tok";
|
|
4
|
+
readonly 'transcript.cacheHit': "缓存命中 {rate}%";
|
|
5
|
+
readonly 'transcript.contextUsed': "上下文 {rate}%";
|
|
6
|
+
readonly 'transcript.context.inject': "上下文注入";
|
|
7
|
+
readonly 'transcript.context.recall': "上下文召回";
|
|
8
|
+
readonly 'transcript.context.system': "提示词注入";
|
|
9
|
+
readonly 'transcript.context.sourceWindow': "来源摘录";
|
|
10
|
+
readonly 'transcript.context.workspaceChanges': "代码库变化";
|
|
11
|
+
readonly 'transcript.context.runtime': "运行环境";
|
|
12
|
+
readonly 'transcript.context.time': "时间";
|
|
13
|
+
readonly 'transcript.context.systemPrompt': "系统提示词";
|
|
14
|
+
readonly 'transcript.context.instructions': "项目说明";
|
|
15
|
+
readonly 'transcript.context.skills': "技能目录";
|
|
16
|
+
readonly 'transcript.context.changedFiles': "{count} 个文件有改动";
|
|
17
|
+
readonly 'transcript.context.changed': "代码库有改动";
|
|
18
|
+
readonly 'transcript.context.truncated': "…(共 {count} 字,已截断显示)";
|
|
19
|
+
readonly 'transcript.reasoning.active': "思考中";
|
|
20
|
+
readonly 'transcript.reasoning.done': "思考";
|
|
21
|
+
readonly 'transcript.answer.svgAlt': "Citer 图示";
|
|
22
|
+
readonly 'transcript.answer.htmlTitle': "Citer 网页图示";
|
|
23
|
+
readonly 'transcript.reference.sent': "已发送的引用";
|
|
24
|
+
readonly 'transcript.reference.pending': "待发送的引用";
|
|
25
|
+
readonly 'transcript.reference.remove': "移除";
|
|
26
|
+
readonly 'transcript.reference.removeKind': "移除{kind}";
|
|
27
|
+
readonly 'transcript.reference.source': "来源对话";
|
|
28
|
+
readonly 'transcript.reference.document': "来源文档";
|
|
29
|
+
readonly 'transcript.reference.excerpt': "引用文段";
|
|
30
|
+
readonly 'transcript.reference.board': "板书引用";
|
|
31
|
+
readonly 'transcript.reference.boardTitle': "板书:{text}";
|
|
32
|
+
readonly 'transcript.file.reading': "正在读取";
|
|
33
|
+
readonly 'transcript.file.download': "下载";
|
|
34
|
+
readonly 'transcript.file.retry': "重试下载";
|
|
35
|
+
readonly 'transcript.file.attachment': "{action}附件 {name}";
|
|
36
|
+
readonly 'transcript.file.failed': "下载失败,点击重试:{error}";
|
|
37
|
+
readonly 'transcript.image.unavailable': "图片暂不可用:{name}";
|
|
38
|
+
readonly 'transcript.image.loading': "加载图片…";
|
|
39
|
+
readonly 'transcript.image.preview': "预览图片 {name}";
|
|
40
|
+
readonly 'transcript.image.dialog': "CiteCiter 图片预览:{alt}";
|
|
41
|
+
readonly 'transcript.image.close': "关闭图片预览";
|
|
42
|
+
readonly 'transcript.tool.arguments': "参数";
|
|
43
|
+
readonly 'transcript.tool.toolArguments': "工具参数";
|
|
44
|
+
readonly 'transcript.tool.error': "错误";
|
|
45
|
+
readonly 'transcript.tool.result': "结果";
|
|
46
|
+
readonly 'transcript.tool.toolResult': "工具结果";
|
|
47
|
+
readonly 'transcript.tool.fullOutput': "查看完整工具输出";
|
|
48
|
+
readonly 'transcript.tool.openSidebar': "在右侧栏打开";
|
|
49
|
+
readonly 'transcript.tool.childCalls': "子工具调用";
|
|
50
|
+
readonly 'transcript.tool.readSource': "读取来源对话";
|
|
51
|
+
readonly 'transcript.tool.readDocument': "读取文档";
|
|
52
|
+
readonly 'transcript.tool.searchDocument': "搜索文档";
|
|
53
|
+
readonly 'transcript.tool.updateBoard': "更新板书";
|
|
54
|
+
readonly 'transcript.tool.viewBoard': "查看板书";
|
|
55
|
+
readonly 'transcript.tool.animateBoard': "编排板书动画";
|
|
56
|
+
readonly 'transcript.tool.workspaceChanges': "查看代码库变化";
|
|
57
|
+
readonly 'transcript.tool.learningCards': "整理学习卡";
|
|
58
|
+
readonly 'transcript.tool.todo': "更新学习路线";
|
|
59
|
+
readonly 'transcript.tool.ask': "提问";
|
|
60
|
+
readonly 'transcript.tool.read': "读取";
|
|
61
|
+
readonly 'transcript.tool.write': "写入";
|
|
62
|
+
readonly 'transcript.tool.edit': "编辑";
|
|
63
|
+
readonly 'transcript.tool.search': "搜索";
|
|
64
|
+
readonly 'transcript.tool.webSearch': "网页搜索";
|
|
65
|
+
readonly 'transcript.tool.webFetch': "网页获取";
|
|
66
|
+
readonly 'transcript.tool.runCode': "运行代码";
|
|
67
|
+
readonly 'transcript.tool.readImage': "读取图片";
|
|
68
|
+
readonly 'transcript.tool.viewImage': "查看图片";
|
|
69
|
+
readonly 'transcript.tool.generateImage': "生成图片";
|
|
70
|
+
readonly 'transcript.tool.runCommand': "运行命令";
|
|
71
|
+
readonly 'transcript.tool.interrupted': "已中断";
|
|
72
|
+
readonly 'transcript.tool.rejected': "已拒绝";
|
|
73
|
+
readonly 'transcript.tool.cancelled': "已取消";
|
|
74
|
+
readonly 'transcript.tool.records': "{count} 条记录";
|
|
75
|
+
readonly 'transcript.tool.moreRecords': ",还有更多";
|
|
76
|
+
readonly 'transcript.tool.readPercent': "读到 {percent}%";
|
|
77
|
+
readonly 'transcript.tool.cards': "{count} 张";
|
|
78
|
+
readonly 'transcript.tool.steps': "{count} 步";
|
|
79
|
+
readonly 'transcript.tool.answered': "{answered}/{total} 已回答";
|
|
80
|
+
readonly 'transcript.tool.running': "进行中…";
|
|
81
|
+
readonly 'transcript.tool.failedReason': "失败:{reason}";
|
|
82
|
+
readonly 'transcript.tool.exitCode': "退出码 {code}";
|
|
83
|
+
readonly 'transcript.tool.failed': "失败";
|
|
84
|
+
readonly 'transcript.tool.attachments': "已返回附件";
|
|
85
|
+
readonly 'transcript.tool.done': "完成";
|
|
86
|
+
readonly 'transcript.copy.code': "复制代码";
|
|
87
|
+
readonly 'transcript.copy.copied': "已复制";
|
|
88
|
+
readonly 'transcript.copy.footnotes': "脚注";
|
|
89
|
+
readonly 'transcript.copy.value': "复制值";
|
|
90
|
+
readonly 'transcript.copy.json': "复制 JSON";
|
|
91
|
+
readonly 'transcript.copy.path': "复制路径";
|
|
92
|
+
readonly 'transcript.copy.prettyJson': "复制格式化 JSON";
|
|
93
|
+
readonly 'transcript.copy.compactJson': "复制紧凑 JSON";
|
|
94
|
+
readonly 'transcript.copy.failed': "复制失败";
|
|
95
|
+
readonly 'transcript.copy.collapseNode': "折叠节点";
|
|
96
|
+
readonly 'transcript.copy.expandNode': "展开节点";
|
|
97
|
+
readonly 'transcript.copy.codeLabel': "代码";
|
|
98
|
+
readonly 'transcript.copy.wrap': "自动换行";
|
|
99
|
+
readonly 'transcript.copy.unwrap': "不换行";
|
|
100
|
+
readonly 'transcript.copy.window': "显示 {shown} / {total} 行";
|
|
101
|
+
readonly 'transcript.copy.copy': "复制";
|
|
102
|
+
readonly 'transcript.copy.collapseContent': "收起内容";
|
|
103
|
+
readonly 'transcript.copy.expandRemaining': "展开其余 {hidden} 行";
|
|
104
|
+
readonly 'transcript.copy.collapse': "收起";
|
|
105
|
+
readonly 'transcript.copy.remaining': "… 其余 {hidden} 行";
|
|
106
|
+
readonly 'transcript.copy.collapseDiff': "收起差异";
|
|
107
|
+
readonly 'transcript.copy.expandDiff': "展开其余 {hidden} 行差异";
|
|
108
|
+
readonly 'transcript.copy.commandLine': "命令第 {line} 行";
|
|
109
|
+
readonly 'transcript.copy.signal': "信号 {signal}";
|
|
110
|
+
readonly 'transcript.copy.exitCode': "退出码 {code}";
|
|
111
|
+
readonly 'transcript.copy.noExitCode': "未正常退出";
|
|
112
|
+
readonly 'transcript.copy.running': "运行中";
|
|
113
|
+
readonly 'transcript.copy.failedStatus': "失败";
|
|
114
|
+
readonly 'transcript.copy.done': "已完成";
|
|
115
|
+
readonly 'transcript.copy.noOutput': "无输出";
|
|
116
|
+
readonly 'transcript.copy.collapseOutput': "收起输出";
|
|
117
|
+
readonly 'transcript.copy.expandOutput': "展开其余 {hidden} 行输出";
|
|
118
|
+
readonly 'transcript.copy.remainingOutput': "… 其余 {hidden} 行";
|
|
119
|
+
readonly 'transcript.copy.pathsShown': "显示 {shown} / 共 {total} 个路径";
|
|
120
|
+
readonly 'transcript.copy.paths': "{shown} 个路径";
|
|
121
|
+
readonly 'transcript.copy.matchesShown': "显示 {shown} / 共 {total} 处匹配 · {files} 个文件";
|
|
122
|
+
readonly 'transcript.copy.matches': "{shown} 处匹配 · {files} 个文件";
|
|
123
|
+
readonly 'transcript.copy.noResults': "无结果";
|
|
124
|
+
readonly 'transcript.copy.collapseResults': "收起结果";
|
|
125
|
+
readonly 'transcript.copy.expandResults': "展开其余 {hidden} 行结果";
|
|
126
|
+
};
|
|
127
|
+
export declare const en: Record<keyof typeof zh, string>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { Context } from '@deepseek-ai/cordis';
|
|
2
|
+
import type { SessionId } from '@deepseek-ai/dsh-session/types';
|
|
3
|
+
/** Plain Markdown, including a blank paragraph after the quoted passage. */
|
|
4
|
+
export declare function markdownQuote(passage: string): string;
|
|
5
|
+
/**
|
|
6
|
+
* The draft text after adding a quote, for hosts that cannot append themselves. Rewriting the
|
|
7
|
+
* text is only safe while the composer holds no reference chips: its draft text shows chips in
|
|
8
|
+
* their clipboard form, and writing that text back turns them into plain text.
|
|
9
|
+
* @param chips - reference chips in the composer (`occurrences`), counted by the host.
|
|
10
|
+
* @returns the next draft text, or null when the composer holds reference chips.
|
|
11
|
+
*/
|
|
12
|
+
export declare function appendedDraft(draft: string, quote: string, chips: number): string | null;
|
|
13
|
+
/** Where the quote went: into the main composer, or onto the clipboard to paste there. */
|
|
14
|
+
export type MainQuoteOutcome = 'inserted' | 'copied';
|
|
15
|
+
/** Add a quote to the still-current main Session's native composer; never submit it. */
|
|
16
|
+
export declare function appendMainQuote(ctx: Context, sessionId: SessionId, passage: string): Promise<MainQuoteOutcome>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/** Open a file in DSH's right sidebar, the way the host's own tool rows and file links do. */
|
|
2
|
+
import type { Context } from '@deepseek-ai/cordis';
|
|
3
|
+
/** Open one path of a source Session's workspace; false when the host has no right sidebar. */
|
|
4
|
+
export type FileOpener = (sessionId: string, path: string, line?: number) => boolean;
|
|
5
|
+
/**
|
|
6
|
+
* Follow the optional right-sidebar service for the lifetime of `ctx`.
|
|
7
|
+
* @param ctx - Client context; the sidebar may be absent or come and go with its plugin.
|
|
8
|
+
* @returns an opener that resolves paths against the source Session's workspace root.
|
|
9
|
+
*/
|
|
10
|
+
export declare function createFileOpener(ctx: Context): FileOpener;
|
|
@@ -16,9 +16,10 @@ export declare function claimCreateTopicIntent(selection: CiteSelection, questio
|
|
|
16
16
|
* Claim the retry-stable request ID for one uncited Topic creation.
|
|
17
17
|
* @param sourceSessionId - owning DSH Session.
|
|
18
18
|
* @param question - normalized first question.
|
|
19
|
+
* @param modelRoute - the configured model for new Topics, when set.
|
|
19
20
|
* @returns the pending intent key and request ID.
|
|
20
21
|
*/
|
|
21
|
-
export declare function claimCreateFreeTopicIntent(sourceSessionId: string, question: string): Promise<RequestIntent>;
|
|
22
|
+
export declare function claimCreateFreeTopicIntent(sourceSessionId: string, question: string, modelRoute?: ActionModel): Promise<RequestIntent>;
|
|
22
23
|
/** Document-range claim identity shared by the Reader entry point. */
|
|
23
24
|
export interface DocumentClaimIntent {
|
|
24
25
|
readonly documentId: string;
|
|
@@ -14,10 +14,17 @@ export type RichSegment = {
|
|
|
14
14
|
readonly kind: 'svg';
|
|
15
15
|
readonly source: string;
|
|
16
16
|
readonly dataUrl: string;
|
|
17
|
+
readonly size: SvgIntrinsicSize | null;
|
|
17
18
|
} | {
|
|
18
19
|
readonly kind: 'html';
|
|
19
20
|
readonly document: string;
|
|
20
21
|
};
|
|
22
|
+
export interface SvgIntrinsicSize {
|
|
23
|
+
readonly width: number;
|
|
24
|
+
readonly height: number;
|
|
25
|
+
}
|
|
26
|
+
/** Resolve pixel dimensions from SVG size attributes, falling back to viewBox proportions. */
|
|
27
|
+
export declare function svgIntrinsicSize(source: string): SvgIntrinsicSize | null;
|
|
21
28
|
/**
|
|
22
29
|
* Break CommonMark image openers without changing visible text or ordinary links.
|
|
23
30
|
* @param text - untrusted board Markdown or table source.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ActionSource } from './action-controller.ts';
|
|
2
2
|
import type { DraftReference } from './draft-references.ts';
|
|
3
3
|
/** Capture an actual selected passage and its address; never reconstruct a citation from Topic metadata. */
|
|
4
4
|
export declare function selectionReferences(source: ActionSource, documentId?: string): readonly DraftReference[];
|