@lemonriver/core 0.8.0 → 1.0.0
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 +3 -1
- package/dist/{build-Bdagm0FU.js → build-CiT4CNey.js} +1 -1
- package/dist/cli/bin.js +11 -4
- package/dist/client-DpO_eR9X.js +57 -0
- package/dist/{config-Begts3gq.js → config-BI3VRI2n.js} +4557 -4596
- package/dist/{dev-DjjzmT28.js → dev-DpzBn_sf.js} +2 -2
- package/dist/index.js +1 -1
- package/dist/locale/index.js +1 -1
- package/dist/mcp-CjYDzcJa.js +262 -0
- package/dist/{preview-C9y9MTY1.js → preview-Dro8hl5_.js} +2 -2
- package/dist/vite/index.js +1 -1
- package/dist/{zh-tw-DcrDeKxr.js → zh-tw-BhYyMx0-.js} +40 -40
- package/package.json +1 -1
- package/skills/slide-authoring/SKILL.md +2 -0
- package/src/app/lemonriver/agent-providers/section.tsx +13 -4
- package/src/app/lemonriver/board/use-self-check.ts +1 -1
- package/src/app/lemonriver/chrome/app-chrome.tsx +6 -0
- package/src/app/lemonriver/chrome/sidebar-extras.tsx +9 -1
- package/src/app/lemonriver/guide/guide-prompt.tsx +89 -0
- package/src/app/lemonriver/guide/state.ts +29 -0
- package/src/app/lemonriver/guide/use-guide.ts +17 -0
- package/src/app/lemonriver/help/help-page.tsx +5 -0
- package/src/app/lemonriver/help/model.test.ts +72 -0
- package/src/app/lemonriver/help/model.ts +10 -1
- package/src/app/lemonriver/home/home-page.tsx +25 -7
- package/src/app/lemonriver/mcp/respond.ts +47 -0
- package/src/app/lemonriver/mcp/screenshot.tsx +155 -0
- package/src/app/lemonriver/mcp/self-check.tsx +65 -0
- package/src/app/lemonriver/outline/describe-page.tsx +3 -1
- package/src/app/lemonriver/settings/settings-page.tsx +3 -3
- package/src/app/lemonriver/share/freeze.ts +13 -5
- package/src/app/lemonriver/text/en.ts +222 -5
- package/src/app/lemonriver/text/es.ts +18 -4
- package/src/app/lemonriver/text/ja.ts +18 -4
- package/src/app/lemonriver/text/types.ts +13 -1
- package/src/app/lemonriver/text/zh-cn.ts +215 -4
- package/src/app/lemonriver/text/zh-tw.ts +215 -4
- package/src/app/lemonriver/update/beta-badge.tsx +3 -0
- package/src/app/lemonriver/update/version.test.ts +14 -0
- package/src/app/lemonriver/update/version.ts +5 -0
- package/src/locale/en.ts +8 -8
- package/src/locale/es.ts +10 -8
- package/src/locale/ja.ts +9 -8
- package/src/locale/zh-cn.ts +9 -8
- package/src/locale/zh-tw.ts +9 -8
|
@@ -2,7 +2,7 @@ import type { LrText } from './types';
|
|
|
2
2
|
|
|
3
3
|
export const zhCN: LrText = {
|
|
4
4
|
help: {
|
|
5
|
-
title: '
|
|
5
|
+
title: '使用指南和帮助',
|
|
6
6
|
intro: '分享、导入、备份和云盘设置的说明。',
|
|
7
7
|
searchPlaceholder: '搜索帮助',
|
|
8
8
|
noResults: '没找到,试试别的说法',
|
|
@@ -21,8 +21,207 @@ export const zhCN: LrText = {
|
|
|
21
21
|
change: '更改',
|
|
22
22
|
chooseOther: '选择其它文件夹…',
|
|
23
23
|
reveal: '在访达里显示',
|
|
24
|
+
format: '格式',
|
|
25
|
+
replaceImage: '替换图片',
|
|
26
|
+
assets: '素材',
|
|
27
|
+
board: '故事看板',
|
|
28
|
+
notes: '演讲备注',
|
|
29
|
+
comments: '评论',
|
|
30
|
+
selfCheck: '自检',
|
|
31
|
+
present: '演示',
|
|
32
|
+
duplicate: '复制',
|
|
24
33
|
},
|
|
25
34
|
sections: [
|
|
35
|
+
{
|
|
36
|
+
id: 'guide',
|
|
37
|
+
title: '使用指南',
|
|
38
|
+
blocks: [
|
|
39
|
+
{
|
|
40
|
+
kind: 'p',
|
|
41
|
+
text: 'LemonRiver 里的幻灯片由 AI Agent 来写和改,你在浏览器里看效果、动手调。用哪个 Agent 都可以,只要它能读写你电脑上的文件。',
|
|
42
|
+
},
|
|
43
|
+
{ kind: 'p', text: '有两种用法,按习惯选一种,也可以混着用:' },
|
|
44
|
+
{
|
|
45
|
+
kind: 'list',
|
|
46
|
+
items: [
|
|
47
|
+
{
|
|
48
|
+
strong: '跟 Agent 说',
|
|
49
|
+
text: ':在 Agent 里打字,让它新建、改每一页。适合习惯打字、想让 Agent 多干活的人。',
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
strong: '在界面里改',
|
|
53
|
+
text: ':在 LemonRiver 里直接改文字、样式、图片和页面顺序,改不了的留评论交给 Agent。适合想自己动手、看得见改了哪里的人。',
|
|
54
|
+
},
|
|
55
|
+
],
|
|
56
|
+
},
|
|
57
|
+
{ kind: 'p', text: '两种都要先做「准备」。' },
|
|
58
|
+
],
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
id: 'guide-prepare',
|
|
62
|
+
title: '准备(只做一次)',
|
|
63
|
+
parent: 'guide',
|
|
64
|
+
blocks: [
|
|
65
|
+
{
|
|
66
|
+
kind: 'steps',
|
|
67
|
+
items: [
|
|
68
|
+
{
|
|
69
|
+
strong: '准备一个 Agent。',
|
|
70
|
+
text: '你平时用哪个就用哪个,能打开电脑上的文件夹、读写里面的文件就行。常见的有:',
|
|
71
|
+
children: [
|
|
72
|
+
'国内常用:WorkBuddy、DuMate、DeepSeek Harness、Trae、千问办公、豆包、Kimi CLI 等',
|
|
73
|
+
'海外常用:Claude Code、Codex、Gemini CLI、Grok、Cursor、GitHub Copilot、OpenCode 等',
|
|
74
|
+
],
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
strong: '让 Agent 在 LemonRiver 的文件夹里工作。',
|
|
78
|
+
text: '用安装包装的,文件夹在「个人文件夹 → LemonRiver」;用命令行自己建的,就是你建的那个文件夹。',
|
|
79
|
+
children: [
|
|
80
|
+
'在终端里用的 Agent:先进到这个文件夹,再启动 Agent。',
|
|
81
|
+
'有窗口的 Agent:用它的「打开文件夹」选这个文件夹。',
|
|
82
|
+
'这个文件夹里已经放好了给 Agent 看的说明:怎么写幻灯片、怎么处理评论、怎么知道你正在看哪一页。大多数 Agent 会自己去读;如果它好像不知道,跟它说一句「先读这个文件夹里的 AGENTS.md」。',
|
|
83
|
+
],
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
strong: '在浏览器里打开 LemonRiver',
|
|
87
|
+
text: '(点程序坞或桌面上的柠檬),和 Agent 左右并排放,一边说一边看。',
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
strong: '想让 Agent 看得见页面',
|
|
91
|
+
text: ':在 Agent 的设置里加一个 MCP 服务,命令填 node node_modules/@lemonriver/core/bin.js mcp,工作目录选 LemonRiver 的文件夹。Claude Code 打开这个文件夹时会自动问你要不要启用。',
|
|
92
|
+
},
|
|
93
|
+
],
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
kind: 'p',
|
|
97
|
+
text: 'Agent 怎么装、怎么登录、怎么收费,按它自己的说明来,LemonRiver 不经手。',
|
|
98
|
+
},
|
|
99
|
+
],
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
id: 'guide-agent',
|
|
103
|
+
title: '用法一:跟 Agent 说',
|
|
104
|
+
parent: 'guide',
|
|
105
|
+
blocks: [
|
|
106
|
+
{
|
|
107
|
+
kind: 'steps',
|
|
108
|
+
items: [
|
|
109
|
+
{ text: '打开 Agent,确认它在 LemonRiver 的文件夹里。' },
|
|
110
|
+
{
|
|
111
|
+
strong: '新建',
|
|
112
|
+
text: ':直接说要什么,例如「做一份 Q3 经营汇报,10 页左右,给管理层看,数据如下:……」。Agent 会先问几个问题再动手。写好的演示会出现在首页,没出现就刷新一下。',
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
strong: '改某一页',
|
|
116
|
+
text: ':在浏览器里打开那一页,跟 Agent 说「改一下这一页:标题短一点,数字放大」。Agent 知道你正在看哪一页。也可以直接说页码:「第 3 页的柱状图换成折线图」。',
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
strong: '加页、删页、调顺序',
|
|
120
|
+
text: ':「在第 4 页后面加一页讲风险」「把最后两页对调」。',
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
strong: '讲稿',
|
|
124
|
+
text: ':「给每一页写 150 字左右的讲稿」。讲稿写进每页的「{notes}」,播放时演讲者视图里能看到。',
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
text: '其它常用说法:「整份换成深色、更简洁的风格」「检查一遍错字和对不上的数字」「照这张截图的版式做第 2 页」(把截图发给 Agent)。',
|
|
128
|
+
},
|
|
129
|
+
],
|
|
130
|
+
},
|
|
131
|
+
],
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
id: 'guide-ui',
|
|
135
|
+
title: '用法二:在界面里改',
|
|
136
|
+
parent: 'guide',
|
|
137
|
+
blocks: [
|
|
138
|
+
{
|
|
139
|
+
kind: 'steps',
|
|
140
|
+
items: [
|
|
141
|
+
{
|
|
142
|
+
strong: '先要有一份演示',
|
|
143
|
+
text: ':让 Agent 写一份初稿(用法一第 2 步),或者导入别人分享的包,或者在首页把现有的演示「{duplicate}」一份来改。新工作区里自带一份「试一试」练习稿,下面每一步都能在上面练。界面里目前不能从空白页开始加文字和图片。',
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
strong: '改文字',
|
|
147
|
+
text: ':双击页面上的文字,直接改。',
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
strong: '改样式',
|
|
151
|
+
text: ':单击选中,右边「{format}」面板里改字号、粗细、颜色、背景、对齐、位置和大小。按住 Shift 可以多选,⌘Z 撤销。',
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
strong: '换图片',
|
|
155
|
+
text: ':选中图片,点「{replaceImage}」,从素材里选,还可以裁剪。新图片先在左侧「{assets}」里上传。',
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
strong: '管理页面',
|
|
159
|
+
text: ':左边缩略图拖动调顺序,右键可以「{duplicate}」或删除。按 B 打开「{board}」,看整份的结构,给每一页写备注。',
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
strong: '讲稿',
|
|
163
|
+
text: ':直接写在「{notes}」里。',
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
strong: '界面改不了的,留评论',
|
|
167
|
+
text: ':点「{comments}」,点一个元素或拖一个框,写下想要的改动,比如「这里换成三列卡片」「加一张同比对比表」,一次可以留很多条。写完跟 Agent 说「应用评论」(Claude Code 里也可以输入 /apply-comments),Agent 一条条改完,改完的评论自动消失。',
|
|
168
|
+
},
|
|
169
|
+
],
|
|
170
|
+
},
|
|
171
|
+
],
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
id: 'guide-finish',
|
|
175
|
+
title: '收尾',
|
|
176
|
+
parent: 'guide',
|
|
177
|
+
blocks: [
|
|
178
|
+
{
|
|
179
|
+
kind: 'list',
|
|
180
|
+
items: [
|
|
181
|
+
{
|
|
182
|
+
strong: '自检',
|
|
183
|
+
text: ':在「{board}」里点「{selfCheck}」,查字太小、内容出界、文字压线、缺讲稿。',
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
strong: '播放',
|
|
187
|
+
text: ':编辑页右上角「{present}」,可以全屏;演讲者视图里有当前页、下一页、讲稿和计时。',
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
strong: '导出',
|
|
191
|
+
text: ':PDF、PPTX(导出后文字还能改)、网页。分享和备份见下面几节。',
|
|
192
|
+
},
|
|
193
|
+
],
|
|
194
|
+
},
|
|
195
|
+
],
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
id: 'guide-faq',
|
|
199
|
+
title: '常见问题',
|
|
200
|
+
parent: 'guide',
|
|
201
|
+
blocks: [
|
|
202
|
+
{
|
|
203
|
+
kind: 'list',
|
|
204
|
+
items: [
|
|
205
|
+
{
|
|
206
|
+
strong: 'Agent 说写完了,浏览器里没有',
|
|
207
|
+
text: ':确认 Agent 打开的是 LemonRiver 的文件夹,然后刷新首页。',
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
strong: 'Agent 写出来的不像幻灯片,或者改错了文件',
|
|
211
|
+
text: ':跟它说「先读这个文件夹里的 AGENTS.md,照里面的规矩做」。',
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
strong: '改坏了',
|
|
215
|
+
text: ':界面里的改动按 ⌘Z 撤销;大改之前先在首页「{duplicate}」一份留底;删掉的演示在回收站里留 30 天。',
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
strong: '评论没生效',
|
|
219
|
+
text: ':评论只是记下来,要跟 Agent 说「应用评论」才会改。',
|
|
220
|
+
},
|
|
221
|
+
],
|
|
222
|
+
},
|
|
223
|
+
],
|
|
224
|
+
},
|
|
26
225
|
{
|
|
27
226
|
id: 'share',
|
|
28
227
|
title: '把演示分享给别人',
|
|
@@ -425,6 +624,17 @@ export const zhCN: LrText = {
|
|
|
425
624
|
},
|
|
426
625
|
],
|
|
427
626
|
},
|
|
627
|
+
guide: {
|
|
628
|
+
promptTitle: '你想怎么用 LemonRiver?',
|
|
629
|
+
promptIntro: '幻灯片由你自己的 AI Agent 来写,国内、海外常用的都可以。选一种用法,带你走一遍。',
|
|
630
|
+
cardAgentTitle: '跟 Agent 说',
|
|
631
|
+
cardAgentBody: '在 Agent 里打字,让它新建、改每一页。',
|
|
632
|
+
cardUiTitle: '在界面里改',
|
|
633
|
+
cardUiBody: '自己改文字、样式和图片,改不了的留评论给 Agent。',
|
|
634
|
+
skip: '先跳过,以后在侧栏「使用指南」里能找到。',
|
|
635
|
+
sidebar: '使用指南',
|
|
636
|
+
startHint: '怎么开始?',
|
|
637
|
+
},
|
|
428
638
|
board: {
|
|
429
639
|
title: '故事看板',
|
|
430
640
|
openBoard: '故事看板 (B)',
|
|
@@ -686,13 +896,14 @@ export const zhCN: LrText = {
|
|
|
686
896
|
},
|
|
687
897
|
agents: {
|
|
688
898
|
title: 'Agent',
|
|
689
|
-
hint: 'Claude Code 和 Codex
|
|
899
|
+
hint: 'Claude Code 和 Codex 一直在,Agent 面板的模型菜单里选得到它们。',
|
|
690
900
|
detected: '已检测到',
|
|
691
901
|
missing: '没装',
|
|
692
902
|
missingHint: '没找到,装好后重新打开这一页。',
|
|
693
903
|
alwaysOn: '一直开着',
|
|
694
904
|
unlock: '打开 {name}',
|
|
695
|
-
|
|
905
|
+
ownWindow: 'WorkBuddy、DuMate 这类有自己窗口的 Agent:在它里面打开 LemonRiver 的文件夹来用。',
|
|
906
|
+
ownWindowLink: '怎么用?',
|
|
696
907
|
saveFailed: '没保存上,再试一次。',
|
|
697
908
|
},
|
|
698
909
|
feedback: {
|
|
@@ -726,7 +937,7 @@ export const zhCN: LrText = {
|
|
|
726
937
|
designDense: '信息密集',
|
|
727
938
|
reviewStrict: '严格核对',
|
|
728
939
|
reviewNumbers: '只查数字',
|
|
729
|
-
replayOnboarding: '
|
|
940
|
+
replayOnboarding: '重新看一遍使用引导',
|
|
730
941
|
directNotice: '已设为直接排版:大纲列好后会自动开始。可以在设置里改。',
|
|
731
942
|
confirmPage: '第 {k} 页排好了,看看没问题就点继续',
|
|
732
943
|
decisionsTitle: '核对时你定的',
|
|
@@ -2,7 +2,7 @@ import type { LrText } from './types';
|
|
|
2
2
|
|
|
3
3
|
export const zhTW: LrText = {
|
|
4
4
|
help: {
|
|
5
|
-
title: '
|
|
5
|
+
title: '使用指南和說明',
|
|
6
6
|
intro: '分享、匯入、備份和雲端硬碟設定的說明。',
|
|
7
7
|
searchPlaceholder: '搜尋說明',
|
|
8
8
|
noResults: '沒找到,換個說法試試',
|
|
@@ -21,8 +21,207 @@ export const zhTW: LrText = {
|
|
|
21
21
|
change: '更改',
|
|
22
22
|
chooseOther: '選擇其它資料夾…',
|
|
23
23
|
reveal: '在 Finder 中顯示',
|
|
24
|
+
format: '格式',
|
|
25
|
+
replaceImage: '替換圖片',
|
|
26
|
+
assets: '素材',
|
|
27
|
+
board: '故事看板',
|
|
28
|
+
notes: '演講備忘',
|
|
29
|
+
comments: '留言',
|
|
30
|
+
selfCheck: 'Self-check',
|
|
31
|
+
present: '簡報',
|
|
32
|
+
duplicate: '複製',
|
|
24
33
|
},
|
|
25
34
|
sections: [
|
|
35
|
+
{
|
|
36
|
+
id: 'guide',
|
|
37
|
+
title: '使用指南',
|
|
38
|
+
blocks: [
|
|
39
|
+
{
|
|
40
|
+
kind: 'p',
|
|
41
|
+
text: 'LemonRiver 裡的簡報由 AI Agent 來寫和改,你在瀏覽器裡看效果、動手調。用哪個 Agent 都可以,只要它能讀寫你電腦上的檔案。',
|
|
42
|
+
},
|
|
43
|
+
{ kind: 'p', text: '有兩種用法,按習慣選一種,也可以混著用:' },
|
|
44
|
+
{
|
|
45
|
+
kind: 'list',
|
|
46
|
+
items: [
|
|
47
|
+
{
|
|
48
|
+
strong: '跟 Agent 說',
|
|
49
|
+
text: ':在 Agent 裡打字,讓它新增、改每一頁。適合習慣打字、想讓 Agent 多做事的人。',
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
strong: '在介面裡改',
|
|
53
|
+
text: ':在 LemonRiver 裡直接改文字、樣式、圖片和頁面順序,改不了的留留言交給 Agent。適合想自己動手、看得見改了哪裡的人。',
|
|
54
|
+
},
|
|
55
|
+
],
|
|
56
|
+
},
|
|
57
|
+
{ kind: 'p', text: '兩種都要先做「準備」。' },
|
|
58
|
+
],
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
id: 'guide-prepare',
|
|
62
|
+
title: '準備(只做一次)',
|
|
63
|
+
parent: 'guide',
|
|
64
|
+
blocks: [
|
|
65
|
+
{
|
|
66
|
+
kind: 'steps',
|
|
67
|
+
items: [
|
|
68
|
+
{
|
|
69
|
+
strong: '準備一個 Agent。',
|
|
70
|
+
text: '你平時用哪個就用哪個,能打開電腦上的資料夾、讀寫裡面的檔案就行。常見的有:',
|
|
71
|
+
children: [
|
|
72
|
+
'國內常用:WorkBuddy、DuMate、DeepSeek Harness、Trae、千问办公、豆包、Kimi CLI 等',
|
|
73
|
+
'海外常用:Claude Code、Codex、Gemini CLI、Grok、Cursor、GitHub Copilot、OpenCode 等',
|
|
74
|
+
],
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
strong: '讓 Agent 在 LemonRiver 的資料夾裡工作。',
|
|
78
|
+
text: '用安裝程式裝的,資料夾在「個人資料夾 → LemonRiver」;用命令列自己建的,就是你建的那個資料夾。',
|
|
79
|
+
children: [
|
|
80
|
+
'在終端機裡用的 Agent:先進到這個資料夾,再啟動 Agent。',
|
|
81
|
+
'有視窗的 Agent:用它的「開啟資料夾」選這個資料夾。',
|
|
82
|
+
'這個資料夾裡已經放好了給 Agent 看的說明:怎麼寫簡報、怎麼處理留言、怎麼知道你正在看哪一頁。大多數 Agent 會自己去讀;如果它好像不知道,跟它說一句「先讀這個資料夾裡的 AGENTS.md」。',
|
|
83
|
+
],
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
strong: '在瀏覽器裡打開 LemonRiver',
|
|
87
|
+
text: '(點 Dock 或桌面上的檸檬),和 Agent 左右並排放,一邊說一邊看。',
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
strong: '想讓 Agent 看得見頁面',
|
|
91
|
+
text: ':在 Agent 的設定裡加一個 MCP 服務,指令填 node node_modules/@lemonriver/core/bin.js mcp,工作目錄選 LemonRiver 的資料夾。Claude Code 打開這個資料夾時會自動問你要不要啟用。',
|
|
92
|
+
},
|
|
93
|
+
],
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
kind: 'p',
|
|
97
|
+
text: 'Agent 怎麼裝、怎麼登入、怎麼收費,按它自己的說明來,LemonRiver 不經手。',
|
|
98
|
+
},
|
|
99
|
+
],
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
id: 'guide-agent',
|
|
103
|
+
title: '用法一:跟 Agent 說',
|
|
104
|
+
parent: 'guide',
|
|
105
|
+
blocks: [
|
|
106
|
+
{
|
|
107
|
+
kind: 'steps',
|
|
108
|
+
items: [
|
|
109
|
+
{ text: '打開 Agent,確認它在 LemonRiver 的資料夾裡。' },
|
|
110
|
+
{
|
|
111
|
+
strong: '新增',
|
|
112
|
+
text: ':直接說要什麼,例如「做一份 Q3 經營報告,10 頁左右,給管理層看,資料如下:……」。Agent 會先問幾個問題再動手。寫好的簡報會出現在首頁,沒出現就重新整理一下。',
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
strong: '改某一頁',
|
|
116
|
+
text: ':在瀏覽器裡打開那一頁,跟 Agent 說「改一下這一頁:標題短一點,數字放大」。Agent 知道你正在看哪一頁。也可以直接說頁碼:「第 3 頁的長條圖換成折線圖」。',
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
strong: '加頁、刪頁、調順序',
|
|
120
|
+
text: ':「在第 4 頁後面加一頁講風險」「把最後兩頁對調」。',
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
strong: '講稿',
|
|
124
|
+
text: ':「給每一頁寫 150 字左右的講稿」。講稿寫進每頁的「{notes}」,播放時演講者檢視裡看得到。',
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
text: '其它常用說法:「整份換成深色、更簡潔的風格」「檢查一遍錯字和對不上的數字」「照這張截圖的版式做第 2 頁」(把截圖發給 Agent)。',
|
|
128
|
+
},
|
|
129
|
+
],
|
|
130
|
+
},
|
|
131
|
+
],
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
id: 'guide-ui',
|
|
135
|
+
title: '用法二:在介面裡改',
|
|
136
|
+
parent: 'guide',
|
|
137
|
+
blocks: [
|
|
138
|
+
{
|
|
139
|
+
kind: 'steps',
|
|
140
|
+
items: [
|
|
141
|
+
{
|
|
142
|
+
strong: '先要有一份簡報',
|
|
143
|
+
text: ':讓 Agent 寫一份初稿(用法一第 2 步),或者匯入別人分享的封裝包,或者在首頁把現有的簡報「{duplicate}」一份來改。新工作區裡自帶一份「試一試」練習稿,下面每一步都能在上面練。介面裡目前不能從空白頁開始加文字和圖片。',
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
strong: '改文字',
|
|
147
|
+
text: ':點兩下頁面上的文字,直接改。',
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
strong: '改樣式',
|
|
151
|
+
text: ':按一下選取,右邊「{format}」面板裡改字級、粗細、顏色、背景、對齊、位置和大小。按住 Shift 可以多選,⌘Z 還原。',
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
strong: '換圖片',
|
|
155
|
+
text: ':選取圖片,點「{replaceImage}」,從素材裡選,還可以裁切。新圖片先在左側「{assets}」裡上傳。',
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
strong: '管理頁面',
|
|
159
|
+
text: ':左邊縮圖拖曳調順序,右鍵可以「{duplicate}」或刪除。按 B 打開「{board}」,看整份的結構,給每一頁寫備忘。',
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
strong: '講稿',
|
|
163
|
+
text: ':直接寫在「{notes}」裡。',
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
strong: '介面改不了的,留留言',
|
|
167
|
+
text: ':點「{comments}」,點一個元素或拖一個框,寫下想要的改動,比如「這裡換成三欄卡片」「加一張年增比較表」,一次可以留很多條。寫完跟 Agent 說「應用留言」(Claude Code 裡也可以輸入 /apply-comments),Agent 一條條改完,改完的留言自動消失。',
|
|
168
|
+
},
|
|
169
|
+
],
|
|
170
|
+
},
|
|
171
|
+
],
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
id: 'guide-finish',
|
|
175
|
+
title: '收尾',
|
|
176
|
+
parent: 'guide',
|
|
177
|
+
blocks: [
|
|
178
|
+
{
|
|
179
|
+
kind: 'list',
|
|
180
|
+
items: [
|
|
181
|
+
{
|
|
182
|
+
strong: '自檢',
|
|
183
|
+
text: ':在「{board}」裡點「{selfCheck}」,查字太小、內容出界、文字壓線、缺講稿。',
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
strong: '播放',
|
|
187
|
+
text: ':編輯頁右上角「{present}」,可以全螢幕;演講者檢視裡有目前頁、下一頁、講稿和計時。',
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
strong: '匯出',
|
|
191
|
+
text: ':PDF、PPTX(匯出後文字還能改)、網頁。分享和備份見下面幾節。',
|
|
192
|
+
},
|
|
193
|
+
],
|
|
194
|
+
},
|
|
195
|
+
],
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
id: 'guide-faq',
|
|
199
|
+
title: '常見問題',
|
|
200
|
+
parent: 'guide',
|
|
201
|
+
blocks: [
|
|
202
|
+
{
|
|
203
|
+
kind: 'list',
|
|
204
|
+
items: [
|
|
205
|
+
{
|
|
206
|
+
strong: 'Agent 說寫完了,瀏覽器裡沒有',
|
|
207
|
+
text: ':確認 Agent 打開的是 LemonRiver 的資料夾,然後重新整理首頁。',
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
strong: 'Agent 寫出來的不像簡報,或者改錯了檔案',
|
|
211
|
+
text: ':跟它說「先讀這個資料夾裡的 AGENTS.md,照裡面的規矩做」。',
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
strong: '改壞了',
|
|
215
|
+
text: ':介面裡的改動按 ⌘Z 還原;大改之前先在首頁「{duplicate}」一份留底;刪掉的簡報在回收站裡留 30 天。',
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
strong: '留言沒生效',
|
|
219
|
+
text: ':留言只是記下來,要跟 Agent 說「應用留言」才會改。',
|
|
220
|
+
},
|
|
221
|
+
],
|
|
222
|
+
},
|
|
223
|
+
],
|
|
224
|
+
},
|
|
26
225
|
{
|
|
27
226
|
id: 'share',
|
|
28
227
|
title: '把簡報分享給別人',
|
|
@@ -425,6 +624,17 @@ export const zhTW: LrText = {
|
|
|
425
624
|
},
|
|
426
625
|
],
|
|
427
626
|
},
|
|
627
|
+
guide: {
|
|
628
|
+
promptTitle: '你想怎麼用 LemonRiver?',
|
|
629
|
+
promptIntro: '簡報由你自己的 AI Agent 來寫,國內、海外常用的都可以。選一種用法,帶你走一遍。',
|
|
630
|
+
cardAgentTitle: '跟 Agent 說',
|
|
631
|
+
cardAgentBody: '在 Agent 裡打字,讓它新增、改每一頁。',
|
|
632
|
+
cardUiTitle: '在介面裡改',
|
|
633
|
+
cardUiBody: '自己改文字、樣式和圖片,改不了的留留言給 Agent。',
|
|
634
|
+
skip: '先跳過,以後在側欄「使用指南」裡找得到。',
|
|
635
|
+
sidebar: '使用指南',
|
|
636
|
+
startHint: '怎麼開始?',
|
|
637
|
+
},
|
|
428
638
|
board: {
|
|
429
639
|
title: '故事看板',
|
|
430
640
|
openBoard: '故事看板 (B)',
|
|
@@ -686,13 +896,14 @@ export const zhTW: LrText = {
|
|
|
686
896
|
},
|
|
687
897
|
agents: {
|
|
688
898
|
title: 'Agent',
|
|
689
|
-
hint: 'Claude Code 和 Codex
|
|
899
|
+
hint: 'Claude Code 和 Codex 一直在,Agent 面板的模型選單裡選得到它們。',
|
|
690
900
|
detected: '已偵測到',
|
|
691
901
|
missing: '沒裝',
|
|
692
902
|
missingHint: '沒找到,裝好後重新打開這一頁。',
|
|
693
903
|
alwaysOn: '一直開著',
|
|
694
904
|
unlock: '打開 {name}',
|
|
695
|
-
|
|
905
|
+
ownWindow: 'WorkBuddy、DuMate 這類有自己視窗的 Agent:在它裡面打開 LemonRiver 的資料夾來用。',
|
|
906
|
+
ownWindowLink: '怎麼用?',
|
|
696
907
|
saveFailed: '沒儲存成功,再試一次。',
|
|
697
908
|
},
|
|
698
909
|
feedback: {
|
|
@@ -726,7 +937,7 @@ export const zhTW: LrText = {
|
|
|
726
937
|
designDense: '資訊密集',
|
|
727
938
|
reviewStrict: '嚴格核對',
|
|
728
939
|
reviewNumbers: '只查數字',
|
|
729
|
-
replayOnboarding: '
|
|
940
|
+
replayOnboarding: '重新看一遍使用引導',
|
|
730
941
|
directNotice: '已設為直接排版:大綱列好後會自動開始。可以在設定裡改。',
|
|
731
942
|
confirmPage: '第 {k} 頁排好了,看看沒問題就點繼續',
|
|
732
943
|
decisionsTitle: '核對時你定的',
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
+
import config from 'virtual:open-slide/config';
|
|
1
2
|
import { Tooltip, TooltipContent, TooltipTrigger } from '@/components/ui/tooltip';
|
|
2
3
|
import { useLrText } from '../text';
|
|
4
|
+
import { shouldShowBeta } from './version';
|
|
3
5
|
|
|
4
6
|
export function BetaBadge() {
|
|
5
7
|
const t = useLrText().update;
|
|
8
|
+
if (!shouldShowBeta(config.version)) return null;
|
|
6
9
|
return (
|
|
7
10
|
<Tooltip>
|
|
8
11
|
<TooltipTrigger
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { describe, expect, it } from 'vitest';
|
|
2
|
+
import { shouldShowBeta } from './version';
|
|
3
|
+
|
|
4
|
+
describe('the sidebar Beta badge', () => {
|
|
5
|
+
it('shows before 1.0', () => {
|
|
6
|
+
expect(shouldShowBeta('0.8.0')).toBe(true);
|
|
7
|
+
expect(shouldShowBeta('0.99.9')).toBe(true);
|
|
8
|
+
});
|
|
9
|
+
|
|
10
|
+
it('is gone from 1.0 on', () => {
|
|
11
|
+
expect(shouldShowBeta('1.0.0')).toBe(false);
|
|
12
|
+
expect(shouldShowBeta('1.2.3')).toBe(false);
|
|
13
|
+
});
|
|
14
|
+
});
|
package/src/locale/en.ts
CHANGED
|
@@ -64,8 +64,8 @@ export const en: Locale = {
|
|
|
64
64
|
nothingMatchesPrefix: 'Nothing matches ',
|
|
65
65
|
nothingMatchesSuffix: ' in this folder.',
|
|
66
66
|
noSlidesYet: 'No slides yet',
|
|
67
|
-
createSlideHintPrefix: '
|
|
68
|
-
createSlideHintSuffix: '
|
|
67
|
+
createSlideHintPrefix: 'Ask your agent to “make a slide deck about …” (in Claude Code, run ',
|
|
68
|
+
createSlideHintSuffix: ').',
|
|
69
69
|
folderEmptyTitle: '{name} is empty',
|
|
70
70
|
folderEmptyHint: 'Drag a slide from Draft into this folder in the sidebar.',
|
|
71
71
|
slideActions: 'Slide actions',
|
|
@@ -99,12 +99,12 @@ export const en: Locale = {
|
|
|
99
99
|
resizeSidePanel: 'Resize side panel',
|
|
100
100
|
home: 'Home',
|
|
101
101
|
backToHome: 'Back to home',
|
|
102
|
-
agentConnected: '
|
|
102
|
+
agentConnected: 'Local service connected',
|
|
103
103
|
agentConnectedTooltip:
|
|
104
|
-
'The
|
|
105
|
-
agentDisconnected: '
|
|
104
|
+
'The browser and the local service are connected: the deck you are viewing, the page number and the selected element are written into the workspace, where an agent working in this folder can read them.',
|
|
105
|
+
agentDisconnected: 'Local service disconnected',
|
|
106
106
|
agentDisconnectedTooltip:
|
|
107
|
-
'
|
|
107
|
+
'The browser is disconnected from the local service, so the agent cannot see which page you are on. Reopen LemonRiver (or run the start command again) to restore it.',
|
|
108
108
|
download: 'Download',
|
|
109
109
|
copyLink: 'Copy link',
|
|
110
110
|
moreActions: 'More actions',
|
|
@@ -303,8 +303,8 @@ export const en: Locale = {
|
|
|
303
303
|
commentLineLabel: 'line {n}',
|
|
304
304
|
commentRegionLabel: 'region',
|
|
305
305
|
commentEmptyHint: 'Click an element or drag across a region to leave a comment.',
|
|
306
|
-
commentsApplyHintPrefix: '
|
|
307
|
-
commentsApplyHintSuffix: '
|
|
306
|
+
commentsApplyHintPrefix: 'Ask your agent to “apply comments” (in Claude Code, run ',
|
|
307
|
+
commentsApplyHintSuffix: ').',
|
|
308
308
|
commentDeleteAria: 'Delete',
|
|
309
309
|
commentUpdateFailed: "Couldn't update comment:",
|
|
310
310
|
commentAddFailed: "Couldn't add comment:",
|
package/src/locale/es.ts
CHANGED
|
@@ -65,8 +65,9 @@ export const es: Locale = {
|
|
|
65
65
|
nothingMatchesPrefix: 'Nada coincide con ',
|
|
66
66
|
nothingMatchesSuffix: ' en esta carpeta.',
|
|
67
67
|
noSlidesYet: 'Aún no hay presentaciones',
|
|
68
|
-
createSlideHintPrefix:
|
|
69
|
-
|
|
68
|
+
createSlideHintPrefix:
|
|
69
|
+
'Pídele a tu agente que «haga una presentación sobre…» (en Claude Code, ejecuta ',
|
|
70
|
+
createSlideHintSuffix: ').',
|
|
70
71
|
folderEmptyTitle: '{name} está vacía',
|
|
71
72
|
folderEmptyHint:
|
|
72
73
|
'Arrastra una presentación desde Borradores a esta carpeta en la barra lateral.',
|
|
@@ -101,12 +102,12 @@ export const es: Locale = {
|
|
|
101
102
|
resizeSidePanel: 'Redimensionar panel lateral',
|
|
102
103
|
home: 'Inicio',
|
|
103
104
|
backToHome: 'Volver al inicio',
|
|
104
|
-
agentConnected: '
|
|
105
|
+
agentConnected: 'Servicio local conectado',
|
|
105
106
|
agentConnectedTooltip:
|
|
106
|
-
'
|
|
107
|
-
agentDisconnected: '
|
|
107
|
+
'El navegador y el servicio local están conectados: la presentación que estás viendo, el número de página y el elemento seleccionado se escriben en el espacio de trabajo, donde un agente que trabaje en esta carpeta puede leerlos.',
|
|
108
|
+
agentDisconnected: 'Servicio local desconectado',
|
|
108
109
|
agentDisconnectedTooltip:
|
|
109
|
-
'
|
|
110
|
+
'El navegador se ha desconectado del servicio local, así que el agente ya no puede ver qué página estás viendo. Vuelve a abrir LemonRiver (o ejecuta de nuevo el comando de inicio) para restablecer la conexión.',
|
|
110
111
|
download: 'Descargar',
|
|
111
112
|
copyLink: 'Copiar enlace',
|
|
112
113
|
moreActions: 'Más acciones',
|
|
@@ -308,8 +309,9 @@ export const es: Locale = {
|
|
|
308
309
|
commentLineLabel: 'línea {n}',
|
|
309
310
|
commentRegionLabel: 'zona',
|
|
310
311
|
commentEmptyHint: 'Haz clic en un elemento o arrastra sobre una zona para dejar un comentario.',
|
|
311
|
-
commentsApplyHintPrefix:
|
|
312
|
-
|
|
312
|
+
commentsApplyHintPrefix:
|
|
313
|
+
'Pídele a tu agente que «aplique los comentarios» (en Claude Code, ejecuta ',
|
|
314
|
+
commentsApplyHintSuffix: ').',
|
|
313
315
|
commentDeleteAria: 'Eliminar',
|
|
314
316
|
commentUpdateFailed: 'No se pudo actualizar el comentario:',
|
|
315
317
|
commentAddFailed: 'No se pudo añadir el comentario:',
|