@lemonriver/core 0.7.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.
Files changed (66) hide show
  1. package/README.md +3 -1
  2. package/dist/{build-CKwrex8y.js → build-CiT4CNey.js} +1 -1
  3. package/dist/cli/bin.js +12 -5
  4. package/dist/client-DpO_eR9X.js +57 -0
  5. package/dist/{config-B1_gk0sy.js → config-BI3VRI2n.js} +7186 -5275
  6. package/dist/{dev-DZ2Yzl2p.js → dev-DpzBn_sf.js} +3 -3
  7. package/dist/index.js +1 -1
  8. package/dist/locale/index.js +1 -1
  9. package/dist/mcp-CjYDzcJa.js +262 -0
  10. package/dist/{preview-hMDcuHfP.js → preview-Dro8hl5_.js} +2 -2
  11. package/dist/{update-CMRxtTc9.js → update-b1dSg_FW.js} +17 -17
  12. package/dist/vite/index.js +1 -1
  13. package/dist/{zh-tw-DcrDeKxr.js → zh-tw-BhYyMx0-.js} +40 -40
  14. package/package.json +1 -1
  15. package/skills/slide-authoring/SKILL.md +2 -0
  16. package/src/app/lemonriver/agent-providers/section.tsx +13 -4
  17. package/src/app/lemonriver/backup/client.ts +177 -0
  18. package/src/app/lemonriver/backup/guide.test.ts +45 -0
  19. package/src/app/lemonriver/backup/guide.ts +138 -0
  20. package/src/app/lemonriver/backup/model.test.ts +96 -0
  21. package/src/app/lemonriver/backup/model.ts +255 -0
  22. package/src/app/lemonriver/backup/places.test.ts +154 -0
  23. package/src/app/lemonriver/backup/places.ts +74 -0
  24. package/src/app/lemonriver/board/blocks/snapshot.ts +10 -2
  25. package/src/app/lemonriver/board/self-check-runner.tsx +60 -15
  26. package/src/app/lemonriver/board/use-self-check.ts +1 -1
  27. package/src/app/lemonriver/chrome/app-chrome.tsx +6 -0
  28. package/src/app/lemonriver/chrome/sidebar-extras.tsx +9 -1
  29. package/src/app/lemonriver/features.test.ts +5 -0
  30. package/src/app/lemonriver/features.ts +11 -1
  31. package/src/app/lemonriver/guide/guide-prompt.tsx +89 -0
  32. package/src/app/lemonriver/guide/state.ts +29 -0
  33. package/src/app/lemonriver/guide/use-guide.ts +17 -0
  34. package/src/app/lemonriver/help/help-page.tsx +267 -0
  35. package/src/app/lemonriver/help/model.test.ts +179 -0
  36. package/src/app/lemonriver/help/model.ts +105 -0
  37. package/src/app/lemonriver/home/home-page.tsx +25 -7
  38. package/src/app/lemonriver/mcp/respond.ts +47 -0
  39. package/src/app/lemonriver/mcp/screenshot.tsx +155 -0
  40. package/src/app/lemonriver/mcp/self-check.tsx +65 -0
  41. package/src/app/lemonriver/outline/describe-page.tsx +3 -1
  42. package/src/app/lemonriver/routes.test.tsx +4 -2
  43. package/src/app/lemonriver/routes.tsx +2 -0
  44. package/src/app/lemonriver/settings/backup-restore-dialog.tsx +525 -0
  45. package/src/app/lemonriver/settings/backup-section.tsx +489 -0
  46. package/src/app/lemonriver/settings/settings-page.tsx +25 -3
  47. package/src/app/lemonriver/share/client.ts +6 -0
  48. package/src/app/lemonriver/share/freeze.ts +13 -5
  49. package/src/app/lemonriver/share/import-dialog.tsx +14 -0
  50. package/src/app/lemonriver/share/paths.test.ts +41 -0
  51. package/src/app/lemonriver/share/paths.ts +45 -11
  52. package/src/app/lemonriver/share/share-dialog.tsx +54 -1
  53. package/src/app/lemonriver/text/en.ts +742 -4
  54. package/src/app/lemonriver/text/es.ts +97 -4
  55. package/src/app/lemonriver/text/ja.ts +94 -4
  56. package/src/app/lemonriver/text/types.ts +103 -1
  57. package/src/app/lemonriver/text/zh-cn.ts +711 -3
  58. package/src/app/lemonriver/text/zh-tw.ts +711 -3
  59. package/src/app/lemonriver/update/beta-badge.tsx +3 -0
  60. package/src/app/lemonriver/update/version.test.ts +14 -0
  61. package/src/app/lemonriver/update/version.ts +5 -0
  62. package/src/locale/en.ts +8 -8
  63. package/src/locale/es.ts +10 -8
  64. package/src/locale/ja.ts +9 -8
  65. package/src/locale/zh-cn.ts +9 -8
  66. package/src/locale/zh-tw.ts +9 -8
@@ -1,6 +1,668 @@
1
1
  import type { LrText } from './types';
2
2
 
3
+ export const enHelp: LrText['help'] = {
4
+ title: 'Usage guide and help',
5
+ intro: 'How sharing, importing, backups and cloud drive setup work.',
6
+ searchPlaceholder: 'Search help',
7
+ noResults: 'Nothing matched. Try different words.',
8
+ buttons: {
9
+ settings: 'Settings',
10
+ backupSection: 'Backup',
11
+ share: 'Share',
12
+ generate: 'Create package',
13
+ import: 'Import',
14
+ backupNow: 'Back up now',
15
+ autoBackup: 'Back up every day',
16
+ keep: 'Keep the latest',
17
+ restore: 'Restore from backup…',
18
+ restoreGo: 'Restore',
19
+ chooseOtherFile: 'Choose another backup file…',
20
+ change: 'Change',
21
+ chooseOther: 'Choose another folder…',
22
+ reveal: 'Show in Finder',
23
+ format: 'Format',
24
+ replaceImage: 'Replace image',
25
+ assets: 'Assets',
26
+ board: 'Story board',
27
+ notes: 'Speaker notes',
28
+ comments: 'Comment',
29
+ selfCheck: 'Self-check',
30
+ present: 'Present',
31
+ duplicate: 'Duplicate',
32
+ },
33
+ sections: [
34
+ {
35
+ id: 'guide',
36
+ title: 'Usage guide',
37
+ blocks: [
38
+ {
39
+ kind: 'p',
40
+ text: 'Slides in LemonRiver are written and changed by an AI agent, while you watch the result in the browser and adjust it by hand. Any agent works, as long as it can read and write files on your computer.',
41
+ },
42
+ {
43
+ kind: 'p',
44
+ text: 'There are two ways to work. Pick the one that suits you, or mix them:',
45
+ },
46
+ {
47
+ kind: 'list',
48
+ items: [
49
+ {
50
+ strong: 'Talk to your agent',
51
+ text: ': type to it, and it creates the deck and changes each page. Best if you like typing and want the agent to do most of the work.',
52
+ },
53
+ {
54
+ strong: 'Edit in the interface',
55
+ text: ': change text, styles, images and page order in LemonRiver itself, and leave comments for the agent where you cannot. Best if you like working by hand and seeing every change.',
56
+ },
57
+ ],
58
+ },
59
+ { kind: 'p', text: 'Both ways start with “Prepare”.' },
60
+ ],
61
+ },
62
+ {
63
+ id: 'guide-prepare',
64
+ title: 'Prepare (once)',
65
+ parent: 'guide',
66
+ blocks: [
67
+ {
68
+ kind: 'steps',
69
+ items: [
70
+ {
71
+ strong: 'Get an agent.',
72
+ text: 'Use the one you already have; all it needs is to open a folder on your computer and read and write the files in it. Common ones:',
73
+ children: [
74
+ 'Common elsewhere: Claude Code, Codex, Gemini CLI, Grok, Cursor, GitHub Copilot, OpenCode and others',
75
+ 'Common in China: WorkBuddy, DuMate, DeepSeek Harness, Trae, 千问办公, 豆包, Kimi CLI and others',
76
+ ],
77
+ },
78
+ {
79
+ strong: 'Let the agent work in the LemonRiver folder.',
80
+ text: 'If you installed LemonRiver with the installer, the folder is “Personal folder → LemonRiver”; if you set it up from the command line, it is the folder you created.',
81
+ children: [
82
+ 'Agents that run in a terminal: go into that folder first, then start the agent.',
83
+ 'Agents with a window: use their “Open folder” and pick this folder.',
84
+ 'The folder already holds notes for the agent: how to write slides, how to handle comments, and how to know which page you are looking at. Most agents read them on their own; if yours does not seem to, tell it “read the AGENTS.md in this folder first”.',
85
+ ],
86
+ },
87
+ {
88
+ strong: 'Open LemonRiver in the browser',
89
+ text: ' (click the lemon in the Dock or on the desktop) and put it side by side with the agent, so you can talk and watch at the same time.',
90
+ },
91
+ {
92
+ strong: 'Let the agent see the page',
93
+ text: ': add an MCP server in the agent’s settings, with the command node node_modules/@lemonriver/core/bin.js mcp and the LemonRiver folder as its working directory. Claude Code offers to enable it when you open this folder.',
94
+ },
95
+ ],
96
+ },
97
+ {
98
+ kind: 'p',
99
+ text: 'How to install, sign in to, or pay for an agent is up to its own instructions; LemonRiver does not handle any of that.',
100
+ },
101
+ ],
102
+ },
103
+ {
104
+ id: 'guide-agent',
105
+ title: 'Way 1: talk to your agent',
106
+ parent: 'guide',
107
+ blocks: [
108
+ {
109
+ kind: 'steps',
110
+ items: [
111
+ { text: 'Open the agent and make sure it is in the LemonRiver folder.' },
112
+ {
113
+ strong: 'Create',
114
+ text: ': just say what you need, for example “Make a Q3 business review, about 10 pages, for the leadership team; here is the data: …”. The agent asks a few questions first. The finished deck appears on the home page; refresh if it does not.',
115
+ },
116
+ {
117
+ strong: 'Change a page',
118
+ text: ': open that page in the browser and tell the agent “change this page: shorter title, bigger numbers”. The agent knows which page you are viewing. You can also name the page: “turn the bar chart on page 3 into a line chart”.',
119
+ },
120
+ {
121
+ strong: 'Add, remove or reorder pages',
122
+ text: ': “add a page about risks after page 4”, “swap the last two pages”.',
123
+ },
124
+ {
125
+ strong: 'Speaker notes',
126
+ text: ': “write about 150 words of notes for every page”. They go into each page’s “{notes}”, and the presenter view shows them while you present.',
127
+ },
128
+ {
129
+ text: 'Other things you can say: “make the whole deck darker and simpler”, “check the typos and numbers that do not add up”, “lay out page 2 like this screenshot” (send the agent the screenshot).',
130
+ },
131
+ ],
132
+ },
133
+ ],
134
+ },
135
+ {
136
+ id: 'guide-ui',
137
+ title: 'Way 2: edit in the interface',
138
+ parent: 'guide',
139
+ blocks: [
140
+ {
141
+ kind: 'steps',
142
+ items: [
143
+ {
144
+ strong: 'Start from a deck',
145
+ text: ': have the agent write a first draft (way 1, step 2), import a package someone shared, or “{duplicate}” a deck you already have on the home page. A new workspace comes with a short practice deck, so you can try every step below on it. For now you cannot add new text or images to a blank page.',
146
+ },
147
+ {
148
+ strong: 'Change text',
149
+ text: ': double-click the text on the page and type.',
150
+ },
151
+ {
152
+ strong: 'Change the look',
153
+ text: ': click to select, then use the “{format}” panel on the right to change size, weight, colour, background, alignment, position and size. Hold Shift to select several; ⌘Z undoes.',
154
+ },
155
+ {
156
+ strong: 'Swap an image',
157
+ text: ': select the image, click “{replaceImage}”, pick one from your assets, and crop it if you like. Upload new images in “{assets}” on the left first.',
158
+ },
159
+ {
160
+ strong: 'Manage pages',
161
+ text: ': drag the thumbnails on the left to reorder; right-click to “{duplicate}” or delete. Press B to open the “{board}” and see the whole structure and write notes for each page.',
162
+ },
163
+ {
164
+ strong: 'Speaker notes',
165
+ text: ': write them right in “{notes}”.',
166
+ },
167
+ {
168
+ strong: 'What the interface cannot do, leave a comment',
169
+ text: ': click “{comments}”, click an element or drag a box, and write the change you want, such as “make this three cards” or “add a year-on-year table”. You can leave as many as you like. When you are done, tell the agent “apply comments” (in Claude Code you can also type /apply-comments); it goes through them one by one, and each comment disappears once it is done.',
170
+ },
171
+ ],
172
+ },
173
+ ],
174
+ },
175
+ {
176
+ id: 'guide-finish',
177
+ title: 'Finish',
178
+ parent: 'guide',
179
+ blocks: [
180
+ {
181
+ kind: 'list',
182
+ items: [
183
+ {
184
+ strong: 'Self-check',
185
+ text: ': in the “{board}”, click “{selfCheck}” to look for type that is too small, content that runs off the page, text that crosses the edge, and missing speaker notes.',
186
+ },
187
+ {
188
+ strong: 'Present',
189
+ text: ': “{present}” at the top right of the editor goes full screen; the presenter view shows the current page, the next page, the notes and a timer.',
190
+ },
191
+ {
192
+ strong: 'Export',
193
+ text: ': PDF, PPTX (the text stays editable) and a web page. Sharing and backups are in the sections below.',
194
+ },
195
+ ],
196
+ },
197
+ ],
198
+ },
199
+ {
200
+ id: 'guide-faq',
201
+ title: 'Common questions',
202
+ parent: 'guide',
203
+ blocks: [
204
+ {
205
+ kind: 'list',
206
+ items: [
207
+ {
208
+ strong: 'The agent says it is done, but the browser shows nothing',
209
+ text: ': check that the agent opened the LemonRiver folder, then refresh the home page.',
210
+ },
211
+ {
212
+ strong:
213
+ 'What the agent wrote does not look like slides, or it edited the wrong files',
214
+ text: ': tell it “read the AGENTS.md in this folder first and follow its rules”.',
215
+ },
216
+ {
217
+ strong: 'I broke something',
218
+ text: ': ⌘Z undoes changes made in the interface; before a big change, “{duplicate}” a deck on the home page as a spare; deleted decks stay in the trash for 30 days.',
219
+ },
220
+ {
221
+ strong: 'My comments did nothing',
222
+ text: ': comments are only notes until you tell the agent to “apply comments”.',
223
+ },
224
+ ],
225
+ },
226
+ ],
227
+ },
228
+ {
229
+ id: 'share',
230
+ title: 'Share a deck with someone',
231
+ blocks: [
232
+ {
233
+ kind: 'steps',
234
+ items: [
235
+ {
236
+ text: 'From the menu on a deck card on the home page, or at the top right of the editor, choose “{share}”.',
237
+ },
238
+ {
239
+ text: 'A PDF is attached by default, so the other person can read it without LemonRiver. Clear the tick if you do not need it; the package gets much smaller.',
240
+ },
241
+ {
242
+ text: 'Choose “{generate}” and wait while every page is drawn. A long deck takes ten seconds or more.',
243
+ },
244
+ {
245
+ text: 'When it is done, choose “{reveal}”. The zip is in the workspace’s “shared” folder; send it over WeChat, email or a cloud drive.',
246
+ },
247
+ ],
248
+ },
249
+ {
250
+ kind: 'p',
251
+ text: 'The other person sees three things: a PDF, a “how to open” note, and a “LemonRiver-files” folder. The note explains how to install LemonRiver.',
252
+ },
253
+ {
254
+ kind: 'p',
255
+ strong: 'What travels',
256
+ text: ': the deck itself, the assets and theme it uses, and the chapters and notes in the story board.',
257
+ },
258
+ {
259
+ kind: 'p',
260
+ strong: 'What stays here',
261
+ text: ': your conversations with the Agent and the settings on your computer.',
262
+ },
263
+ ],
264
+ },
265
+ {
266
+ id: 'import',
267
+ title: 'Open a package someone sent you',
268
+ blocks: [
269
+ {
270
+ kind: 'steps',
271
+ items: [
272
+ { text: 'Open the LemonRiver home page.' },
273
+ {
274
+ text: 'Drop the zip onto the home page, or choose “{import}” at the top right and pick it.',
275
+ children: [
276
+ 'Safari unpacks downloaded zips by itself, leaving a folder. You can drag that whole folder onto the home page instead.',
277
+ ],
278
+ },
279
+ {
280
+ text: 'The confirmation shows a thumbnail of every page, the page count and the version it was made with. If it is the right one, choose “{import}”.',
281
+ },
282
+ ],
283
+ },
284
+ {
285
+ kind: 'note',
286
+ strong: 'Security notice',
287
+ text: 'A deck is program code, and it runs on your computer once imported. Only import packages from people you trust. The preview before importing is only pictures; nothing runs.',
288
+ },
289
+ {
290
+ kind: 'p',
291
+ strong: 'The same deck came back',
292
+ text: ': if you already have this deck (you sent it to a colleague and they sent back a changed copy), the confirmation tells you which pages changed, and you can choose:',
293
+ },
294
+ {
295
+ kind: 'list',
296
+ items: [
297
+ {
298
+ strong: '“Keep both”',
299
+ text: ': both stay, and “imported” is added to the new one’s name.',
300
+ },
301
+ {
302
+ strong: '“Replace”',
303
+ text: ': the new one replaces yours, and the old one goes to the trash for 30 days.',
304
+ },
305
+ ],
306
+ },
307
+ { kind: 'p', strong: 'Why an import fails', text: ':' },
308
+ {
309
+ kind: 'list',
310
+ items: [
311
+ {
312
+ strong: '“This is not a LemonRiver package”',
313
+ text: ': the other person sent a different zip, or the download did not finish.',
314
+ },
315
+ {
316
+ strong: '“A file in the package was changed or is missing”',
317
+ text: ': someone unpacked the zip and edited it, or the cloud download went wrong. Ask them to share it again.',
318
+ },
319
+ {
320
+ strong: '“This package was made with a newer LemonRiver”',
321
+ text: ': update LemonRiver in Settings first, then import.',
322
+ },
323
+ ],
324
+ },
325
+ ],
326
+ },
327
+ {
328
+ id: 'backup',
329
+ title: 'Backup',
330
+ blocks: [
331
+ {
332
+ kind: 'p',
333
+ text: 'A backup packs the whole workspace into one zip: every deck, asset, theme and folder, plus settings such as theme, language and Agent preferences.',
334
+ },
335
+ {
336
+ kind: 'steps',
337
+ items: [
338
+ { text: 'Open “{settings} → {backupSection}”.' },
339
+ {
340
+ text: 'Choose a backup location. To send it to a cloud drive automatically, choose that drive’s sync folder (setup for each drive is below); to keep it on this computer, the default “LemonRiver 备份” folder is enough.',
341
+ },
342
+ {
343
+ text: 'Turn on “{autoBackup}”: one backup a day while LemonRiver is open. You can also choose “{backupNow}” at any time.',
344
+ },
345
+ {
346
+ text: '“{keep}” decides how many backups stay; older ones are deleted. Only backups LemonRiver made are deleted; other files you put in the folder are never touched.',
347
+ },
348
+ ],
349
+ },
350
+ {
351
+ kind: 'p',
352
+ strong: 'What a backup leaves out',
353
+ text: ': your conversations with the Agent, the trash, packages you shared, and the Agent’s auto-approve switch (for safety you turn it on again on a new computer).',
354
+ },
355
+ ],
356
+ },
357
+ {
358
+ id: 'restore',
359
+ title: 'Restore a backup, or move to a new computer',
360
+ blocks: [
361
+ {
362
+ kind: 'steps',
363
+ items: [
364
+ {
365
+ text: 'On the new computer, install LemonRiver first (download: https://github.com/SegawaBeer/lemonriver/releases ), make sure the cloud drive client is installed and signed in, and the backup file is downloaded to this computer.',
366
+ },
367
+ {
368
+ text: 'Open “{settings} → {backupSection}”, choose “{restore}”, pick one from the list, or choose “{chooseOtherFile}” to find it.',
369
+ },
370
+ {
371
+ text: 'Tick the decks to restore and choose “{restoreGo}”.',
372
+ children: [
373
+ 'A deck with the same name on this computer goes to the trash first, and stays recoverable for 30 days.',
374
+ 'Decks on this computer that are not in the backup are left alone.',
375
+ 'When an asset has the same name but different content, the copy on this computer is kept.',
376
+ ],
377
+ },
378
+ ],
379
+ },
380
+ ],
381
+ },
382
+ {
383
+ id: 'cloud',
384
+ title: 'Put backups on a cloud drive',
385
+ blocks: [
386
+ {
387
+ kind: 'p',
388
+ strong: 'The cloud drive client does the uploading',
389
+ text: ': LemonRiver never signs in to your cloud account. It only writes backups into a folder on your computer. Install and sign in to the cloud drive’s desktop client first.',
390
+ },
391
+ { kind: 'p', text: 'Cloud drive clients work in one of two ways:' },
392
+ {
393
+ kind: 'list',
394
+ items: [
395
+ {
396
+ strong: 'With a sync folder',
397
+ text: '(the drives that give you a sync folder once their client is installed; each is covered below): files put in the folder upload by themselves. Choose that folder as the backup location; LemonRiver lists the ones it can find under “{change}”.',
398
+ },
399
+ {
400
+ strong: 'With folder backup only',
401
+ text: ': let LemonRiver back up to the default “LemonRiver 备份” folder, then add that folder to the cloud drive client’s automatic backup.',
402
+ },
403
+ ],
404
+ },
405
+ {
406
+ kind: 'p',
407
+ text: 'The first time LemonRiver backs up into a cloud folder, macOS may ask whether to allow access to files managed by someone else. Choose “Allow”. If you chose “Don’t Allow”, turn it back on under “System Settings → Privacy & Security → Files and Folders”.',
408
+ },
409
+ ],
410
+ },
411
+ {
412
+ id: 'cloud-icloud',
413
+ title: 'iCloud Drive',
414
+ parent: 'cloud',
415
+ icon: 'cloud',
416
+ blocks: [
417
+ {
418
+ kind: 'steps',
419
+ items: [
420
+ { text: 'Open “System Settings”, click your name at the top, then click “iCloud”.' },
421
+ { text: 'Turn on “iCloud Drive” and make sure “Sync this Mac” is on.' },
422
+ {
423
+ text: 'Back in LemonRiver, open “{settings} → {backupSection} → {change}” and choose “iCloud Drive”.',
424
+ },
425
+ {
426
+ strong: 'Check that it uploaded',
427
+ text: ': in the Finder sidebar open “iCloud Drive → LemonRiver 备份”. When there is no cloud or progress icon beside the file, it is uploaded. You can also check on icloud.com.',
428
+ },
429
+ ],
430
+ },
431
+ {
432
+ kind: 'list',
433
+ items: [
434
+ {
435
+ text: 'Free iCloud is only 5GB, and one backup can be a few hundred MB. If space runs out, lower “{keep}” or buy more iCloud storage.',
436
+ },
437
+ {
438
+ text: 'When restoring on a new computer, a cloud icon beside the backup means it is not downloaded yet: double-click it, wait for the download, then restore.',
439
+ },
440
+ ],
441
+ },
442
+ ],
443
+ },
444
+ {
445
+ id: 'cloud-baidu',
446
+ title: 'Baidu Netdisk',
447
+ parent: 'cloud',
448
+ icon: 'cloud',
449
+ blocks: [
450
+ { kind: 'p', text: 'Baidu Netdisk’s desktop client offers two ways; either works:' },
451
+ {
452
+ kind: 'list',
453
+ items: [
454
+ {
455
+ strong: 'Option 1: Sync Space.',
456
+ text: 'In the client, open “Sync Space” (同步空间) and follow the steps to make a local folder the sync folder (it is called “BaiduSyncdisk” by default). Then in LemonRiver “{settings} → {backupSection} → {change}”, choose “Baidu Netdisk Sync Space”.',
457
+ children: [
458
+ 'Note: Sync Space works both ways. A file you delete on this computer is deleted from the drive too, and when LemonRiver deletes an old backup, the copy on the drive goes with it.',
459
+ ],
460
+ },
461
+ {
462
+ strong: 'Option 2: folder backup.',
463
+ text: 'Keep LemonRiver backing up to the local “LemonRiver 备份” folder. In the Baidu Netdisk client find “Automatic backup” (自动备份), choose “Add backup folder” (添加备份文件夹), and pick that folder.',
464
+ children: [
465
+ 'This goes one way: deleting an old backup on this computer leaves the copy on the drive, so clean it up there from time to time.',
466
+ 'Free accounts have a monthly upload limit for automatic backup (the client says 10G a month). After that, wait for next month or upgrade.',
467
+ ],
468
+ },
469
+ ],
470
+ },
471
+ {
472
+ kind: 'p',
473
+ strong: 'Check that it uploaded',
474
+ text: ': open the matching folder in Baidu Netdisk; the backup with the newest date means the upload finished.',
475
+ },
476
+ ],
477
+ },
478
+ {
479
+ id: 'cloud-weiyun',
480
+ title: 'Tencent Weiyun',
481
+ parent: 'cloud',
482
+ icon: 'cloud',
483
+ blocks: [
484
+ {
485
+ kind: 'steps',
486
+ items: [
487
+ { text: 'Install Tencent Weiyun’s desktop client and sign in.' },
488
+ { text: 'Keep LemonRiver backing up to the local “LemonRiver 备份” folder.' },
489
+ {
490
+ text: 'If your Weiyun client offers “Automatic backup” or a sync folder, add this folder to it.',
491
+ },
492
+ {
493
+ text: 'If it does not, then after a backup choose “{reveal}” in LemonRiver and drag the newest backup zip into Weiyun to upload it.',
494
+ },
495
+ ],
496
+ },
497
+ {
498
+ kind: 'list',
499
+ items: [{ text: 'Weiyun’s free space is small; setting “{keep}” to 3 is a good idea.' }],
500
+ },
501
+ ],
502
+ },
503
+ {
504
+ id: 'cloud-dropbox',
505
+ title: 'Dropbox',
506
+ parent: 'cloud',
507
+ icon: 'cloud',
508
+ blocks: [
509
+ {
510
+ kind: 'steps',
511
+ items: [
512
+ {
513
+ text: 'Install Dropbox’s desktop client and sign in; “Dropbox” appears in the Finder sidebar.',
514
+ },
515
+ { text: 'In LemonRiver “{settings} → {backupSection} → {change}”, choose “Dropbox”.' },
516
+ {
517
+ strong: 'Check that it uploaded',
518
+ text: ': in Finder open “Dropbox → LemonRiver 备份”. A green tick beside the file means it is uploaded.',
519
+ },
520
+ ],
521
+ },
522
+ {
523
+ kind: 'list',
524
+ items: [
525
+ {
526
+ text: 'When restoring on a new computer, a cloud icon beside the file means it is online only: double-click it, wait for the download, then restore.',
527
+ },
528
+ ],
529
+ },
530
+ ],
531
+ },
532
+ {
533
+ id: 'cloud-onedrive',
534
+ title: 'OneDrive',
535
+ parent: 'cloud',
536
+ icon: 'cloud',
537
+ blocks: [
538
+ {
539
+ kind: 'steps',
540
+ items: [
541
+ {
542
+ text: 'Install OneDrive (you can find it in the App Store) and sign in; “OneDrive” appears in the Finder sidebar.',
543
+ },
544
+ {
545
+ text: 'In LemonRiver “{settings} → {backupSection} → {change}”, choose “OneDrive”. Work and personal accounts are listed separately; pick yours.',
546
+ },
547
+ {
548
+ strong: 'Check that it uploaded',
549
+ text: ': no cloud or progress icon beside the file means it is uploaded; you can also check on onedrive.com.',
550
+ },
551
+ ],
552
+ },
553
+ {
554
+ kind: 'list',
555
+ items: [
556
+ {
557
+ text: 'When restoring on a new computer, the method above applies: if the file is online only, double-click to download it first.',
558
+ },
559
+ ],
560
+ },
561
+ ],
562
+ },
563
+ {
564
+ id: 'cloud-nutstore',
565
+ title: 'Nutstore',
566
+ parent: 'cloud',
567
+ icon: 'cloud',
568
+ blocks: [
569
+ {
570
+ kind: 'steps',
571
+ items: [
572
+ {
573
+ text: 'Install Nutstore’s desktop client and sign in. It comes with a “My Nutstore” sync folder.',
574
+ },
575
+ {
576
+ text: 'In LemonRiver “{settings} → {backupSection} → {change}”, choose “Nutstore · My Nutstore” (or another sync folder you made).',
577
+ },
578
+ {
579
+ strong: 'Check that it uploaded',
580
+ text: ': in the Nutstore client, look at the folder’s sync status; when nothing is waiting to upload, it is done.',
581
+ },
582
+ ],
583
+ },
584
+ {
585
+ kind: 'list',
586
+ items: [
587
+ {
588
+ text: 'Nutstore’s free plan has a monthly upload limit, so a big backup may only upload a few times a month.',
589
+ },
590
+ ],
591
+ },
592
+ ],
593
+ },
594
+ {
595
+ id: 'cloud-other',
596
+ title: 'Other cloud drives',
597
+ parent: 'cloud',
598
+ icon: 'folder',
599
+ blocks: [
600
+ {
601
+ kind: 'p',
602
+ text: 'Any cloud drive whose client can upload a folder on this computer automatically will work:',
603
+ },
604
+ {
605
+ kind: 'list',
606
+ items: [
607
+ {
608
+ text: 'If it has a sync folder, choose “{chooseOther}” under “{change}” and pick it.',
609
+ },
610
+ {
611
+ text: 'If not, use the default “LemonRiver 备份” folder and make the cloud client upload that folder automatically.',
612
+ },
613
+ ],
614
+ },
615
+ ],
616
+ },
617
+ {
618
+ id: 'cloud-faq',
619
+ title: 'Cloud drive questions',
620
+ blocks: [
621
+ {
622
+ kind: 'list',
623
+ items: [
624
+ {
625
+ strong: 'The backup succeeded, but it is not on the drive.',
626
+ text: 'LemonRiver only writes into the folder; the cloud drive client does the uploading. Check that the client is running, signed in, and not paused.',
627
+ },
628
+ {
629
+ strong: 'The drive is full.',
630
+ text: 'Lower “{keep}”, or clean up old backups on the drive. The size of the last backup is shown after “Last backup”.',
631
+ },
632
+ {
633
+ strong: 'There are files like “conflicted copy”.',
634
+ text: 'That happens when two computers back up into the same folder. Give each computer its own backup folder, or leave automatic backup on only one computer.',
635
+ },
636
+ {
637
+ strong: 'How do I restore on a new computer?',
638
+ text: 'See “Restore a backup, or move to a new computer” above. The key is letting the cloud drive download the backup to the new computer first.',
639
+ },
640
+ {
641
+ strong: 'I do not want to use a cloud drive.',
642
+ text: 'The default “LemonRiver 备份” folder is in your home folder. You can also choose a folder on an external drive and plug it in before backing up.',
643
+ },
644
+ ],
645
+ },
646
+ ],
647
+ },
648
+ ],
649
+ };
650
+
3
651
  export const en: LrText = {
652
+ help: enHelp,
653
+ guide: {
654
+ promptTitle: 'How do you want to use LemonRiver?',
655
+ promptIntro:
656
+ 'Your own AI agent writes the slides; common ones from China and elsewhere both work. Pick a way to work and we will walk you through it.',
657
+ cardAgentTitle: 'Talk to your agent',
658
+ cardAgentBody: 'Type in the agent; it creates the deck and changes each page.',
659
+ cardUiTitle: 'Edit in the interface',
660
+ cardUiBody:
661
+ 'Change text, styles and images yourself, and leave comments for the agent when you cannot.',
662
+ skip: 'Skip for now — you can find this later under “Usage guide” in the sidebar.',
663
+ sidebar: 'Usage guide',
664
+ startHint: 'How do I start?',
665
+ },
4
666
  board: {
5
667
  title: 'Story board',
6
668
  openBoard: 'Story board (B)',
@@ -269,17 +931,21 @@ export const en: LrText = {
269
931
  reduceMotion: 'Reduce motion',
270
932
  reduceMotionHint:
271
933
  'Lemon stops floating and bouncing and the interface skips its animations. Also on when your system asks for less motion.',
934
+ helpTitle: 'Help',
935
+ helpHint: 'How sharing, importing, backups and cloud drive setup work.',
936
+ helpOpen: 'Open help',
272
937
  },
273
938
  agents: {
274
939
  title: 'Agents',
275
- hint: 'Claude Code and Codex are always on. Turn on another agent you have installed and it shows up in the panel’s model menu.',
940
+ hint: 'Claude Code and Codex are always on and appear in the panel’s model menu.',
276
941
  detected: 'Found',
277
942
  missing: 'Not installed',
278
943
  missingHint: 'Not found — install it, then reopen this page.',
279
944
  alwaysOn: 'Always on',
280
945
  unlock: 'Turn on {name}',
281
- dumateReason:
282
- 'DuMate can’t be called from here yet: it ships as a desktop app only, with no command line another program can start.',
946
+ ownWindow:
947
+ 'Agents with their own window, like WorkBuddy and DuMate: open LemonRiver’s folder inside them to use it.',
948
+ ownWindowLink: 'How?',
283
949
  saveFailed: 'Couldn’t save — try again.',
284
950
  },
285
951
  feedback: {
@@ -314,7 +980,7 @@ export const en: LrText = {
314
980
  designDense: 'More content',
315
981
  reviewStrict: 'Check everything',
316
982
  reviewNumbers: 'Numbers only',
317
- replayOnboarding: 'See the welcome again',
983
+ replayOnboarding: 'Walk through the guide again',
318
984
  directNotice:
319
985
  'Set to start on its own: building begins as soon as the outline is ready. You can change this in Settings.',
320
986
  confirmPage: 'Page {k} is done — check it, then press Continue',
@@ -495,6 +1161,10 @@ export const en: LrText = {
495
1161
  reveal: 'Show in Finder',
496
1162
  finish: 'Done',
497
1163
  warnings: 'Notes',
1164
+ skippedTitle: '{n} files were left out of the package',
1165
+ workFiles: '{n} work files in folders like _backups were not included',
1166
+ helpLink: 'How does sharing work?',
1167
+ importHelp: 'Problems importing?',
498
1168
  failed: 'Could not create the package',
499
1169
  moreFiles: 'and {n} more',
500
1170
  importTitle: 'Import package',
@@ -547,4 +1217,72 @@ export const en: LrText = {
547
1217
  tooManyFiles: 'The package is too large and was not imported.',
548
1218
  },
549
1219
  },
1220
+ backup: {
1221
+ title: 'Backup',
1222
+ hint: 'Package the whole workspace on a schedule, so a new computer or a mistake does not lose it.',
1223
+ location: 'Backup location',
1224
+ notSet: 'Not chosen yet',
1225
+ change: 'Change',
1226
+ chooseTitle: 'Choose a backup location',
1227
+ chooseOther: 'Choose another folder…',
1228
+ cloudHint:
1229
+ 'Do not see your cloud drive? Install its desktop app and sign in, and its sync folder shows up here. Some drives have no sync folder: back up to this computer first, then tell the drive to back up that folder.',
1230
+ howToSetUp: 'How to set it up',
1231
+ places: {
1232
+ icloud: 'iCloud Drive',
1233
+ baidu: 'Baidu Netdisk Sync Space',
1234
+ nutstore: 'Nutstore · {folder}',
1235
+ local: 'LemonRiver 备份',
1236
+ },
1237
+ auto: 'Back up every day',
1238
+ autoHint: 'Once a day, while LemonRiver is open.',
1239
+ keep: 'Keep the latest',
1240
+ keepOption: '{n} backups',
1241
+ keepSize: 'Each backup is about {size}; keeping {n} takes about {total}',
1242
+ runNow: 'Back up now',
1243
+ running: 'Packing {done} / {total} files',
1244
+ lastOk: 'Last backup: {when} · {size} · succeeded',
1245
+ lastFailed: 'Last backup failed: {error}',
1246
+ tooLarge:
1247
+ 'The workspace is larger than 4 GB, which the current backup format cannot hold. Move large videos out of the asset library and back up again.',
1248
+ never: 'No backup yet',
1249
+ reveal: 'Show in Finder',
1250
+ restore: 'Restore from backup…',
1251
+ restoreGo: 'Restore',
1252
+ restoreTitle: 'Restore from a backup',
1253
+ chooseFile: 'Choose a backup file…',
1254
+ chooseOtherFile: 'Choose another backup file…',
1255
+ inspecting: 'Checking this backup…',
1256
+ preview: 'This backup holds',
1257
+ deckPages: '{n} pages',
1258
+ previewSummary: '{decks} decks · {size} · made with LemonRiver {version} on {date}',
1259
+ previewAssets: 'Global assets: {n} · {size}',
1260
+ previewThemes: 'Themes: {n}',
1261
+ previewPrefs: 'Also restore preferences (theme, language, Agent preferences)',
1262
+ replaces:
1263
+ 'A deck with the same name on this computer goes to the recycle bin first and can be brought back for 30 days.',
1264
+ restoring: 'Restoring {done} / {total} files',
1265
+ restored: 'Decks restored: {n}',
1266
+ assetsKept: "{n} assets differ from this computer's copies; kept this computer's",
1267
+ themesKept: "{n} themes differ from this computer's copies; kept this computer's",
1268
+ done: 'Done',
1269
+ cancel: 'Cancel',
1270
+ close: 'Close',
1271
+ noBackups: 'There are no backups in the backup location yet.',
1272
+ failed: 'Something went wrong',
1273
+ nothingChosen: 'Choose at least one deck',
1274
+ chooseFailed: 'Could not open the picker; paste the path instead.',
1275
+ pastePath: 'Paste the full path of the backup file',
1276
+ pathPlaceholder: '/Users/you/LemonRiver 备份/…',
1277
+ permissionDenied:
1278
+ 'macOS does not let LemonRiver write to this folder. Open System Settings → Privacy & Security → Files and Folders and allow LemonRiver (or node), or choose another folder.',
1279
+ badFolder: 'That folder cannot be used. Try another one.',
1280
+ noLocation: 'No backup location is set yet.',
1281
+ restoreHelp: 'How do I restore?',
1282
+ faqLink: 'See common questions',
1283
+ notBackedUp: '{n} files were not backed up',
1284
+ executablesTitle: 'This backup contains program files',
1285
+ executablesHint: 'Only restore it if you made this backup yourself.',
1286
+ executablesConfirm: 'I made this backup myself',
1287
+ },
550
1288
  };