sideby 0.16.1 → 0.18.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 (128) hide show
  1. package/README.md +7 -3
  2. package/ai-tasks.json +90 -0
  3. package/dist/build.json +1 -1
  4. package/dist/src/cli/commands.d.ts +25 -1
  5. package/dist/src/cli/commands.js +802 -15
  6. package/dist/src/cli/json-schemas.js +252 -1
  7. package/dist/src/cli/main.js +143 -4
  8. package/dist/src/core/after-install.d.ts +54 -0
  9. package/dist/src/core/after-install.js +78 -0
  10. package/dist/src/core/ask.d.ts +222 -0
  11. package/dist/src/core/ask.js +465 -0
  12. package/dist/src/core/attachments.d.ts +50 -0
  13. package/dist/src/core/attachments.js +442 -0
  14. package/dist/src/core/autostart.d.ts +118 -0
  15. package/dist/src/core/autostart.js +302 -0
  16. package/dist/src/core/brand-mark.d.ts +49 -11
  17. package/dist/src/core/brand-mark.js +116 -38
  18. package/dist/src/core/config.d.ts +102 -0
  19. package/dist/src/core/config.js +289 -11
  20. package/dist/src/core/desktop-app.d.ts +1 -1
  21. package/dist/src/core/desktop-app.js +2 -2
  22. package/dist/src/core/edit-settings.d.ts +24 -0
  23. package/dist/src/core/edit-settings.js +97 -0
  24. package/dist/src/core/handoff-brief.d.ts +4 -2
  25. package/dist/src/core/handoff-brief.js +6 -1
  26. package/dist/src/core/handoff-chain.d.ts +24 -0
  27. package/dist/src/core/handoff-chain.js +2 -0
  28. package/dist/src/core/handoff-run.d.ts +4 -3
  29. package/dist/src/core/handoff-run.js +14 -9
  30. package/dist/src/core/launch.d.ts +17 -4
  31. package/dist/src/core/launch.js +32 -24
  32. package/dist/src/core/local-build.d.ts +17 -5
  33. package/dist/src/core/local-build.js +61 -23
  34. package/dist/src/core/lock.d.ts +30 -0
  35. package/dist/src/core/lock.js +143 -0
  36. package/dist/src/core/probe.d.ts +78 -0
  37. package/dist/src/core/probe.js +127 -0
  38. package/dist/src/core/quota-levels.d.ts +6 -1
  39. package/dist/src/core/quota-levels.js +16 -5
  40. package/dist/src/core/same-login.d.ts +9 -4
  41. package/dist/src/core/same-login.js +9 -4
  42. package/dist/src/core/secret-file.d.ts +26 -0
  43. package/dist/src/core/secret-file.js +126 -7
  44. package/dist/src/core/task-spec.d.ts +95 -0
  45. package/dist/src/core/task-spec.js +209 -0
  46. package/dist/src/core/terminal.d.ts +93 -0
  47. package/dist/src/core/terminal.js +376 -0
  48. package/dist/src/core/update.d.ts +34 -12
  49. package/dist/src/core/update.js +96 -84
  50. package/dist/src/desktop/icon.js +12 -15
  51. package/dist/src/families/claude/ai-task.d.ts +8 -0
  52. package/dist/src/families/claude/ai-task.js +38 -0
  53. package/dist/src/families/claude/handoff-hook.js +4 -4
  54. package/dist/src/families/claude/index.js +6 -0
  55. package/dist/src/families/claude/quota-cache.d.ts +24 -7
  56. package/dist/src/families/claude/quota-cache.js +72 -21
  57. package/dist/src/families/codex/handoff-hook.js +4 -4
  58. package/dist/src/families/codex/index.js +16 -0
  59. package/dist/src/families/codex/login-key.d.ts +8 -0
  60. package/dist/src/families/codex/login-key.js +33 -0
  61. package/dist/src/families/grok/handoff-hook.js +4 -4
  62. package/dist/src/families/grok/index.js +4 -0
  63. package/dist/src/families/login-keys.d.ts +6 -0
  64. package/dist/src/families/login-keys.js +6 -0
  65. package/dist/src/families/pi/index.js +5 -0
  66. package/dist/src/handoff/hook.js +51 -30
  67. package/dist/src/handoff/levels.d.ts +24 -0
  68. package/dist/src/handoff/levels.js +70 -0
  69. package/dist/src/handoff/messages.d.ts +6 -3
  70. package/dist/src/handoff/messages.js +20 -7
  71. package/dist/src/handoff/reader.d.ts +6 -3
  72. package/dist/src/menubar/agent.d.ts +3 -0
  73. package/dist/src/menubar/agent.js +21 -0
  74. package/dist/src/menubar/script.d.ts +8 -0
  75. package/dist/src/menubar/script.js +457 -0
  76. package/dist/src/menubar/snapshot.d.ts +115 -0
  77. package/dist/src/menubar/snapshot.js +255 -0
  78. package/dist/src/menubar/strings.d.ts +87 -0
  79. package/dist/src/menubar/strings.js +88 -0
  80. package/dist/src/panel/background.js +15 -21
  81. package/dist/src/panel/handler.d.ts +41 -2
  82. package/dist/src/panel/handler.js +394 -10
  83. package/dist/src/panel/i18n.d.ts +205 -2
  84. package/dist/src/panel/i18n.js +441 -35
  85. package/dist/src/panel/page-logic.d.ts +301 -0
  86. package/dist/src/panel/page-logic.js +532 -0
  87. package/dist/src/panel/page-script.js +1135 -185
  88. package/dist/src/panel/page-styles.js +111 -32
  89. package/dist/src/panel/page.d.ts +12 -0
  90. package/dist/src/panel/page.js +7 -0
  91. package/dist/src/panel/server.d.ts +16 -2
  92. package/dist/src/panel/server.js +41 -13
  93. package/dist/src/plugins/check.d.ts +47 -0
  94. package/dist/src/plugins/check.js +544 -0
  95. package/dist/src/plugins/scaffold.d.ts +21 -0
  96. package/dist/src/plugins/scaffold.js +123 -0
  97. package/dist/src/quota/statusline-tap.js +1 -1
  98. package/dist/src/runtime.d.ts +19 -1
  99. package/dist/src/runtime.js +53 -14
  100. package/dist/src/types.d.ts +33 -0
  101. package/package.json +4 -3
  102. package/schemas/ask-choices.json +168 -0
  103. package/schemas/ask-print.json +87 -0
  104. package/schemas/ask.json +180 -0
  105. package/schemas/autostart.json +165 -0
  106. package/schemas/config-get.json +132 -0
  107. package/schemas/config-set.json +107 -0
  108. package/schemas/config.json +90 -7
  109. package/schemas/edit.json +119 -0
  110. package/schemas/error.json +4 -0
  111. package/schemas/families.json +4 -0
  112. package/schemas/key.json +93 -0
  113. package/schemas/list.json +4 -0
  114. package/schemas/local.json +1 -1
  115. package/schemas/menubar-snapshot.json +646 -0
  116. package/schemas/menubar-start.json +112 -0
  117. package/schemas/menubar.json +165 -0
  118. package/schemas/plugins-check.json +113 -0
  119. package/schemas/plugins-new.json +87 -0
  120. package/schemas/terminal.json +152 -0
  121. package/schemas/try.json +109 -0
  122. package/schemas/update.json +4 -0
  123. package/skills/sideby/SKILL.md +16 -6
  124. package/skills/sideby/references/accounts.md +1 -1
  125. package/skills/sideby/references/ai-tasks.md +126 -0
  126. package/skills/sideby/references/handoff.md +3 -1
  127. package/skills/sideby/references/panel.md +20 -0
  128. package/skills/sideby/references/update.md +1 -1
@@ -23,6 +23,7 @@ const en = {
23
23
  'upd.cannot': 'sideby cannot update itself here: {why}. Run this yourself:',
24
24
  'upd.skillToo': 'The sideby skill agents read is updated with it.',
25
25
  'upd.skillDone': 'The sideby skill was updated too; agents load it in their next session.',
26
+ 'upd.skillSyncing': 'The sideby skill is updating in the background; agents load it in their next session.',
26
27
  'upd.skillManaged': 'sideby leaves the skill alone ({why}). Update it with:',
27
28
  'upd.checksOff': 'Update checks are off ({why}).',
28
29
  'upd.latest': 'This is the newest version',
@@ -42,6 +43,7 @@ const en = {
42
43
  'loc.switching': 'Switching…',
43
44
  'loc.stuck': 'Switched, but this page still runs the old code. Reload it; a panel started with sideby ui needs a restart.',
44
45
  'loc.reload': 'Reload page',
46
+ 'loc.unconfirmed': 'Could not confirm the switch: this page cannot reach sideby. Reload the page to see which build runs.',
45
47
  'upd.open': 'Update…',
46
48
  'upd.autoIsOn': 'Auto Update: on',
47
49
  'upd.autoIsOff': 'Auto Update: off',
@@ -59,6 +61,8 @@ const en = {
59
61
  'upd.now': 'Update to {v}',
60
62
  'upd.updating': 'Updating…',
61
63
  'upd.done': 'Updated to sideby {v}.',
64
+ 'upd.confirming': 'The connection dropped while sideby {v} was installing; checking whether the update finished…',
65
+ 'upd.unconfirmed': 'Could not confirm the update to sideby {v}: this page cannot reach sideby. Reload the page to see which version runs.',
62
66
  'upd.reloading': 'Waiting for the new version; this page reloads by itself.',
63
67
  'upd.restartHint': 'This page still runs the old version. Restart sideby ui (or reload the page in your portal) to use the new one.',
64
68
  'upd.skillLabel': 'Update skill',
@@ -237,6 +241,7 @@ const en = {
237
241
  'row.collapse': 'Hide details of {name}',
238
242
  'row.expand': 'Show details of {name}',
239
243
  'row.runs': 'Runs as',
244
+ 'row.browser': 'Signed in on the web in Chrome',
240
245
  'group.toggle': '{title} ({count}): {action}',
241
246
  'group.attention.one': '{n} needs attention',
242
247
  'group.attention.other': '{n} need attention',
@@ -275,7 +280,6 @@ const en = {
275
280
  'quota.asOf': 'As of {ago}',
276
281
  'quota.sharedFrom': 'Same login as {name}; quota read from {name}, {ago}',
277
282
  'login.label': 'Same login: {names}',
278
- 'login.dirs': '{n} directories · shared quota',
279
283
  'login.explain': 'These directories are signed in to the same account, so their quota counts as one.',
280
284
  'login.copyRun': 'Copy start command',
281
285
  'login.showAs': 'Show this name',
@@ -350,9 +354,8 @@ const en = {
350
354
  'last.unknown': 'No recent activity recorded',
351
355
  'health.title': 'Health check',
352
356
  'health.intro': 'Checks that shared skills, settings and credentials are in place for every account.',
353
- 'health.lead': 'Checks {shared} and reports {drift}.',
354
- 'health.sharedTerm': 'Shared Items',
355
- 'health.driftTerm': 'Drift',
357
+ 'health.lead': 'Checks that every account {shared} the main account the way it should.',
358
+ 'health.sharedTerm': 'shares settings with',
356
359
  'health.more.one': 'Show {n} more',
357
360
  'health.more.other': 'Show {n} more',
358
361
  'health.run': 'Run check',
@@ -418,6 +421,140 @@ const en = {
418
421
  'ai.orderHint': 'or ask your AI',
419
422
  'ai.emptyHint': 'Or let your AI assistant set it up for you.',
420
423
  'ai.how': 'How',
424
+ 'ai.ask.api': 'Add a DeepSeek API account for me.',
425
+ 'ai.ask.tool': 'Help sideby support a new tool.',
426
+ 'ask.button': 'Let AI do it',
427
+ 'ask.title': 'Let AI do it',
428
+ 'ask.title.fix': 'Let AI fix it',
429
+ 'ask.title.quota': 'Ask AI why',
430
+ 'ask.title.account': 'Let AI set up an account',
431
+ 'ask.title.host': 'Let AI support a new tool',
432
+ 'ask.title.plugin': 'Let AI write a plugin',
433
+ 'ask.title.terminal': 'Let AI set up your terminal',
434
+ 'ask.title.handoff': 'Let AI tune it',
435
+ 'ask.intro': 'Your own AI opens in a terminal and does it with the sideby skill. It shows you every change first, and you answer its questions there.',
436
+ 'ask.what': 'What should AI do?',
437
+ 'ask.whatMore': 'Anything to add? (optional)',
438
+ 'ask.ph.free': 'For example: add a DeepSeek API account',
439
+ 'ask.ph.account': 'For example: I have a DeepSeek API key',
440
+ 'ask.ph.fix': 'Anything to add? You can leave this empty',
441
+ 'ask.ph.quota': 'Anything to add? You can leave this empty',
442
+ 'ask.ph.host': 'Which tool do you want to use?',
443
+ 'ask.ph.plugin': 'What should the plugin do?',
444
+ 'ask.ph.terminal': 'Which terminal do you use?',
445
+ 'ask.ph.handoff': 'Anything to add? For example: use work first',
446
+ 'ask.ex.handoff.1': 'Recommend a threshold for my accounts',
447
+ 'ask.ex.handoff.2': 'Use my team account last',
448
+ 'ask.ex.handoff.3': 'Explain how a handoff works first',
449
+ 'ask.ex.account.1': 'Add a Claude subscription account',
450
+ 'ask.ex.account.2': 'I have an API address or a docs link',
451
+ 'ask.ex.fix.1': 'Fix these problems for me',
452
+ 'ask.ex.fix.2': 'Explain them first, then fix them',
453
+ 'ask.ex.quota.1': "Why can't I see my quota?",
454
+ 'ask.ex.quota.2': 'Turn on the quota display for me',
455
+ 'ask.ex.host.1': 'I want to use Gemini CLI',
456
+ 'ask.ex.host.2': 'I want to use OpenCode',
457
+ 'ask.ex.plugin.1': 'Switch my proxy before each launch',
458
+ 'ask.ex.plugin.2': 'Copy my settings into each new account',
459
+ 'ask.ex.terminal.1': 'I use Warp',
460
+ 'ask.ex.terminal.2': "sideby doesn't recognize my terminal",
461
+ 'ask.examples': 'Or start from one of these:',
462
+ 'ask.task.fix': 'AI will fix the problems the health check cannot fix by itself ({n}).',
463
+ 'ask.task.quota': 'AI will find out why {ref} shows no quota, and make it show.',
464
+ 'ask.task.account': 'AI will help you add an account: a subscription, or one from an API address or docs link you have.',
465
+ 'ask.task.host': 'AI will help sideby support a tool it does not list yet, first as a plugin on this computer.',
466
+ 'ask.task.plugin': 'AI will help you write a sideby plugin or hook.',
467
+ 'ask.task.handoff': 'AI looks at your accounts and recommends when to hand over and in what order; it shows the change before saving it.',
468
+ 'ask.task.terminal': 'AI will write the command that opens AI tasks in your terminal, and ask you before saving it.',
469
+ 'ask.keyWarn': 'That looks like a key. Keys never go to AI: enter them with "Enter key" in the account menu.',
470
+ 'ask.keyRemoved': 'Key-shaped text was taken out before the AI sees it. Enter keys with "Enter key" in the account menu.',
471
+ 'ask.account': 'Account',
472
+ 'ask.terminal': 'Terminal',
473
+ 'ask.chooseAccount': 'Choose an account',
474
+ 'ask.confirm': 'Opens {terminal} and starts {ref} there.',
475
+ 'ask.safe': 'Its permission checks stay on, so risky actions are checked first.',
476
+ 'ask.open': 'Open in {terminal}',
477
+ 'ask.opening': 'Opening…',
478
+ 'ask.loading': 'Finding an account…',
479
+ 'ask.noAccount.no-accounts': 'There is no account to run AI with yet.',
480
+ 'ask.noAccount.none-signed-in': 'No account is signed in, so none can run the AI.',
481
+ 'ask.noAccount.all-full': 'Every signed-in account is out of quota right now.',
482
+ 'ask.noAccountHint': 'Copy the prompt and paste it into any AI you like.',
483
+ 'ask.signInMain': 'Sign in {ref}',
484
+ 'ask.copyPrompt': 'Copy prompt',
485
+ 'ask.promptShown': 'the prompt',
486
+ 'ask.showPrompt': 'See the prompt',
487
+ 'ask.readOnly': 'This panel is read-only, so it cannot open a terminal. Copy the prompt and paste it into any AI.',
488
+ 'ask.opened': 'Opened {terminal} with {ref}. Carry on there.',
489
+ 'ask.failed': '{terminal} did not open.',
490
+ 'ask.paste': 'Paste it into your terminal and press Return. It starts the same task; it waits for one hour.',
491
+ 'ask.copiedCmd': 'The command is copied.',
492
+ 'ask.attach': 'Add image or video',
493
+ 'ask.attachHint': 'You can also paste a screenshot, or drop files here.',
494
+ 'ask.attachWarn': 'Pictures go to the AI with your words; check they show no keys or passwords.',
495
+ 'ask.attachRemove': 'Remove {name}',
496
+ 'ask.attachUploading': 'Uploading {pct}%',
497
+ 'ask.attachMax': 'At most 5 files per task. Remove one to add another.',
498
+ 'ask.attachTooBig': '{name} is too big: images up to 20 MB, videos up to 200 MB.',
499
+ 'ask.attachType': '{name} is not a supported file. Attach a PNG, JPEG, GIF or WebP image, or an MP4, MOV or WebM video.',
500
+ 'ask.attachFailed': '{name} did not upload. Remove it and try again.',
501
+ 'ask.attachFull': 'Too many files are waiting to be sent. Send this task or remove some files, then add {name} again.',
502
+ 'ask.attachWaiting': 'Waiting for files…',
503
+ 'ask.attachVideo': 'Video',
504
+ 'ask.automation': 'macOS did not let sideby control {terminal}. To allow it, open System Settings → Privacy & Security → Automation and turn it on for the app running the panel.',
505
+ 'ask.notInstalled': 'Pick a terminal you have in Settings → Preferred terminal.',
506
+ 'ask.yourself': 'Or ask your AI yourself',
507
+ 'ask.fixTitle': 'Hand the problems without a one-click fix to your own AI',
508
+ 'ask.quotaWhy': 'Ask AI why',
509
+ 'ask.setUp': 'Not sure what to fill in? Let AI set it up',
510
+ 'ask.otherTool': 'Other tool…',
511
+ 'ask.otherToolSub': 'Not in this list',
512
+ 'ask.plugin': 'Let AI write a plugin',
513
+ 'login.opened': 'Opened {terminal}: sign in to {ref} there.',
514
+ 'login.failed': 'Could not open a terminal. Copied: paste it into your terminal and press Return.',
515
+ 'login.automation': 'Copied. To let sideby open {terminal}, turn it on in System Settings → Privacy & Security → Automation.',
516
+ 'menu.signIn': 'Sign in',
517
+ 'menu.enterKey': 'Enter key',
518
+ 'key.title': 'Enter key for {ref}',
519
+ 'key.intro': "sideby writes the key into this account's proxy.env on this computer. It is never shown again or sent to AI.",
520
+ 'key.label': 'Key ({var})',
521
+ 'key.varLabel': 'Variable name',
522
+ 'key.otherVar': 'Use another variable',
523
+ 'key.varHint': "Only change this when the tool's docs name a different variable.",
524
+ 'key.noVar': 'This tool names no key variable; enter the one its docs name.',
525
+ 'key.save': 'Save key',
526
+ 'key.saving': 'Saving…',
527
+ 'key.saved': 'Saved {var} to {file}.',
528
+ 'key.badVar': 'Use capitals, digits and _ only, such as API_KEY.',
529
+ 'key.empty': 'Enter the key.',
530
+ 'key.tryLead': 'Check that it works?',
531
+ 'key.try': 'Try it',
532
+ 'key.tryCost': 'This sends one short message, so it spends a few tokens. It runs:',
533
+ 'key.tryRun': 'Send it',
534
+ 'key.trying': 'Waiting for the reply… (up to a minute)',
535
+ 'key.tryOk': 'It works: {ref} answered.',
536
+ 'key.tryFail': 'It did not work.',
537
+ 'key.tryTimeout': 'No reply within a minute.',
538
+ 'key.output': 'What the tool said (keys hidden):',
539
+ 'key.noOutput': 'The tool printed nothing.',
540
+ 'key.explain': 'Let AI explain',
541
+ 'key.explainText': '`sideby try {ref}` failed. This is what it printed:\n{output}',
542
+ 'key.cannotTry': 'This tool cannot be tried here; start it with {cmd} and send one short message.',
543
+ 'term.title': 'Preferred terminal',
544
+ 'term.intro': 'sideby opens this terminal when AI does something for you, and to sign in.',
545
+ 'term.pick': 'Terminal',
546
+ 'term.auto': 'Guess for me',
547
+ 'term.guess.config': 'You chose {name}.',
548
+ 'term.guess.env': 'Guess: {name}, the terminal this panel was started from.',
549
+ 'term.guess.default': 'Guess: {name}, the one every Mac has.',
550
+ 'term.none': 'No supported terminal was found on this computer. sideby will copy a command for you to paste.',
551
+ 'term.custom': 'Custom terminal command',
552
+ 'term.customHint': 'For any other terminal. sideby fills in {cmd} (the command) and {cwd} (the folder); no shell runs it. Example: myterm --cwd {cwd} -e {cmd}',
553
+ 'term.customSave': 'Save command',
554
+ 'term.customClear': 'Remove',
555
+ 'term.askAi': 'Not sure how? Let AI set it up',
556
+ 'term.saved': 'Saved.',
557
+ 'term.loading': 'Looking for terminals…',
421
558
  'att.quota': 'Almost full',
422
559
  'att.fix': 'Needs a fix',
423
560
  'att.check': 'Take a look',
@@ -429,6 +566,10 @@ const en = {
429
566
  'menu.copyDir': 'Copy folder path',
430
567
  'menu.copyEmail': 'Copy email',
431
568
  'menu.check': 'Check this account',
569
+ 'menu.editSettings': 'Open {file}',
570
+ 'edit.opened': 'Opened {ref}’s {file} with your default program.',
571
+ 'edit.shared': 'This file is shared: a change also applies to {names}.',
572
+ 'edit.failed': 'Could not open {file} for {ref}: {msg}',
432
573
  'menu.like': 'New account like this',
433
574
  'menu.tune': 'Context tuning',
434
575
  'menu.model': 'Model and effort…',
@@ -730,6 +871,68 @@ const en = {
730
871
  'set.theme.system': 'System',
731
872
  'set.theme.light': 'Light',
732
873
  'set.theme.dark': 'Dark',
874
+ 'set.title': 'Settings',
875
+ 'set.g.look': 'Appearance',
876
+ 'set.g.start': 'Startup',
877
+ 'set.g.accounts': 'Accounts and quota',
878
+ 'set.g.ai': 'Let AI help',
879
+ 'set.more': 'More settings…',
880
+ 'set.saveFailed': 'Could not save the setting: {msg}',
881
+ 'as.label': 'Start sideby in the background at login',
882
+ 'as.hint': 'No window opens; the panel is up to date when you open it.',
883
+ 'as.checking': 'Checking…',
884
+ 'as.failed': 'Could not check: {msg}',
885
+ 'as.unsupported': 'Not supported on this system yet; Linux and Windows come later.',
886
+ 'as.foreign': 'A login item with the same name was not made by sideby, so sideby leaves it alone.',
887
+ 'as.stale': 'It points to a sideby that is no longer there.',
888
+ 'as.other': 'It starts another copy of sideby, not this one.',
889
+ 'as.fix': 'Point it at this sideby',
890
+ 'as.copyPath': 'Copy its path',
891
+ 'as.onTitle': 'Start sideby at login',
892
+ 'as.offTitle': 'Stop starting sideby at login',
893
+ 'as.planning': 'Working out what changes…',
894
+ 'as.writes': 'sideby writes this file:',
895
+ 'as.runs': 'At each login it runs:',
896
+ 'as.noWindow': 'No window opens. The panel waits in the background, so it is up to date when you open it.',
897
+ 'as.removes': 'sideby removes this file:',
898
+ 'as.offNote': 'A panel running now keeps running until you stop it or log out.',
899
+ 'as.alreadyOn': 'It already starts this sideby at login; nothing to change.',
900
+ 'as.alreadyOff': 'It is already off; nothing to change.',
901
+ 'as.turnOn': 'Turn on',
902
+ 'as.turnOff': 'Turn off',
903
+ 'as.doneOn': 'sideby now starts in the background at login.',
904
+ 'as.doneOff': 'sideby no longer starts at login.',
905
+ 'as.nextLogin': 'It takes effect at your next login.',
906
+ 'mb.label': 'Show quota in the menu bar',
907
+ 'mb.hint': 'Shows how much your best account has used, and starts any account in your terminal when clicked.',
908
+ 'mb.onTitle': 'Show quota in the menu bar',
909
+ 'mb.offTitle': 'Hide from the menu bar',
910
+ 'mb.writes': 'sideby will add this login item file so the menu bar item starts now and at each login:',
911
+ 'mb.removes': 'sideby will stop the menu bar item and remove this login item file:',
912
+ 'mb.turnOn': 'Turn on',
913
+ 'mb.turnOff': 'Turn off',
914
+ 'mb.hintTitle': 'See your quota in the menu bar',
915
+ 'mb.hintBody': 'See at a glance whether you have quota to keep working, without opening the panel. Click any account there to start it in your terminal.',
916
+ 'mb.hintYes': 'Show in menu bar',
917
+ 'mb.hintNo': 'No thanks',
918
+ 'mb.noWindow': 'The sideby icon appears in the menu bar now and at each login; nothing else opens.',
919
+ 'mb.offNote': 'The sideby icon disappears from the menu bar now.',
920
+ 'mb.alreadyOn': 'It already runs this sideby in the menu bar; nothing to change.',
921
+ 'mb.alreadyOff': 'It is already off; nothing to change.',
922
+ 'mb.doneOn': 'Look for the sideby icon in the top-right menu bar. If it is hidden, the menu bar may be full: hold ⌘ and drag icons to make room.',
923
+ 'mb.doneOff': 'Removed from the menu bar.',
924
+ 'mb.nextLogin': 'It appears at your next login.',
925
+ 'mb.stale': 'It points to a sideby that is no longer there.',
926
+ 'mb.other': 'It runs another copy of sideby, not this one.',
927
+ 'mb.foreign': 'A login item with the same name was not made by sideby, so sideby leaves it alone.',
928
+ 'mb.unsupported': 'Only on macOS for now.',
929
+ 'ai.ask.menubar': 'Show my quota in the menu bar.',
930
+ 'as.changedSince': 'Something changed since the preview; look at it again.',
931
+ 'as.block.npx-cache': 'sideby runs from the npx cache, which npm may clear, so it cannot start at login from there. Install it first:',
932
+ 'as.block.temp-dir': 'sideby runs from a temporary folder that the system empties. Install it first:',
933
+ 'as.block.unsafe-path': 'The path of sideby or Node has characters a login item cannot run safely. Install sideby in an ordinary folder:',
934
+ 'as.block.unsupported': 'Not supported on this system yet; Linux and Windows come later.',
935
+ 'as.block.foreign': "The file at this path was not made by sideby, so sideby leaves it alone. Look at it, and remove or rename it yourself if you don't need it:",
733
936
  'set.rcOn': 'Remote Control starts by itself',
734
937
  'rc.button': 'Remote Control (continue on phone or web)',
735
938
  'rc.state.on': 'On',
@@ -775,6 +978,7 @@ const zh = {
775
978
  'upd.cannot': '这种安装方式下 sideby 不能自己更新:{why}。请自己运行:',
776
979
  'upd.skillToo': 'agent 读的 sideby skill 会一起更新。',
777
980
  'upd.skillDone': 'sideby skill 也已更新,agent 下次开会话时生效。',
981
+ 'upd.skillSyncing': 'sideby skill 正在后台更新,agent 下次开会话时生效。',
778
982
  'upd.skillManaged': 'sideby 不会自动更新这个 skill({why})。请用这条命令更新:',
779
983
  'upd.checksOff': '检查更新已关闭({why})。',
780
984
  'upd.latest': '已是最新版本',
@@ -794,6 +998,7 @@ const zh = {
794
998
  'loc.switching': '正在切换…',
795
999
  'loc.stuck': '已经切换,但这个页面还在跑旧代码。刷新页面;用 sideby ui 打开的面板要重启一下。',
796
1000
  'loc.reload': '刷新页面',
1001
+ 'loc.unconfirmed': '没能确认是否已经切换:这个页面连不上 sideby。刷新页面看看现在跑的是哪个版本。',
797
1002
  'upd.open': '更新…',
798
1003
  'upd.autoIsOn': '自动更新:开',
799
1004
  'upd.autoIsOff': '自动更新:关',
@@ -811,6 +1016,8 @@ const zh = {
811
1016
  'upd.now': '更新到 {v}',
812
1017
  'upd.updating': '更新中…',
813
1018
  'upd.done': '已更新到 sideby {v}。',
1019
+ 'upd.confirming': '安装 sideby {v} 时连接断了,正在确认是否已经更新好…',
1020
+ 'upd.unconfirmed': '没能确认是否已更新到 sideby {v}:这个页面连不上 sideby。刷新页面看看现在是哪个版本。',
814
1021
  'upd.reloading': '等待新版本启动,本页会自动刷新。',
815
1022
  'upd.restartHint': '本页仍在运行旧版本。重启 sideby ui(在 Portal 里就刷新页面)后使用新版本。',
816
1023
  'upd.skillLabel': '更新 skill',
@@ -989,6 +1196,7 @@ const zh = {
989
1196
  'row.collapse': '收起 {name} 的详情',
990
1197
  'row.expand': '展开 {name} 的详情',
991
1198
  'row.runs': '运行方式',
1199
+ 'row.browser': '在 Chrome 网页上登录',
992
1200
  'group.toggle': '{title}({count}):{action}',
993
1201
  'group.attention.one': '{n} 个需要处理',
994
1202
  'group.attention.other': '{n} 个需要处理',
@@ -1006,7 +1214,7 @@ const zh = {
1006
1214
  'stat.needWho': '{names}',
1007
1215
  'stat.needWhoMore': '{names} 等 {n} 个',
1008
1216
  'acct.sameLogin': '与 {names} 同一登录',
1009
- 'acct.sameLoginHint': '与 {names} 用同一个身份登录。供应商只算一份额度,所以它们显示同一份额度,交接也不会在它们之间进行。',
1217
+ 'acct.sameLoginHint': '与 {names} 用同一个身份登录。供应商只算一份额度,所以它们显示同一份额度,接力也不会在它们之间进行。',
1010
1218
  'acct.notInstalled': '未安装工具',
1011
1219
  'acct.readError': '无法读取这个账号。',
1012
1220
  'acct.installHost': '本机没有安装 {host}。{link}',
@@ -1027,7 +1235,6 @@ const zh = {
1027
1235
  'quota.asOf': '截至 {ago}',
1028
1236
  'quota.sharedFrom': '与 {name} 同一登录;额度读自 {name},{ago}',
1029
1237
  'login.label': '同一登录:{names}',
1030
- 'login.dirs': '{n} 个目录 · 共用额度',
1031
1238
  'login.explain': '这几个目录登录的是同一个账号,额度一起算。',
1032
1239
  'login.copyRun': '复制启动命令',
1033
1240
  'login.showAs': '设为显示名',
@@ -1035,7 +1242,7 @@ const zh = {
1035
1242
  'login.shown': '显示名',
1036
1243
  'login.shownHint': '这一行用这个目录的名字显示',
1037
1244
  'login.section': '{name}',
1038
- 'login.hint': '{names} 用同一个身份登录。供应商只算一份额度,所以这里只显示一次,交接也不会在它们之间进行。',
1245
+ 'login.hint': '{names} 用同一个身份登录。供应商只算一份额度,所以这里只显示一次,接力也不会在它们之间进行。',
1039
1246
  'quota.noWindows': '没有额度窗口数据。',
1040
1247
  'quota.off': '额度未开启',
1041
1248
  'quota.turnOnFamily': '开启额度显示',
@@ -1102,9 +1309,8 @@ const zh = {
1102
1309
  'last.unknown': '没有最近的活动记录',
1103
1310
  'health.title': '健康检查',
1104
1311
  'health.intro': '检查每个账号的共享 skills、设置和凭据文件是否就位。',
1105
- 'health.lead': '检查{shared},报告{drift}。',
1106
- 'health.sharedTerm': '共享项',
1107
- 'health.driftTerm': '偏离',
1312
+ 'health.lead': '检查每个账号是否按规则{shared}。',
1313
+ 'health.sharedTerm': '和主账号共享设置',
1108
1314
  'health.more.one': '再显示 {n} 条',
1109
1315
  'health.more.other': '再显示 {n} 条',
1110
1316
  'health.run': '运行检查',
@@ -1165,11 +1371,145 @@ const zh = {
1165
1371
  'ai.ask.new': '再加一个 Claude 账号,短命令叫 cc009。',
1166
1372
  'ai.ask.pin': '把 claude:work 置顶。',
1167
1373
  'ai.ask.fix': '检查一下我的账号,把该共享的修好。',
1168
- 'ai.ask.handoff': '帮我开启自动交接。',
1374
+ 'ai.ask.handoff': '帮我开启自动接力。',
1169
1375
  'ai.ask.rc': '把所有 Claude 账号的远程控制关掉。',
1170
1376
  'ai.orderHint': '也可以让 AI 帮你排',
1171
1377
  'ai.emptyHint': '也可以让你的 AI 编程助手帮你装好、加账号。',
1172
1378
  'ai.how': '怎么做',
1379
+ 'ai.ask.api': '帮我加一个 DeepSeek API 账号。',
1380
+ 'ai.ask.tool': '帮 sideby 支持一个新工具。',
1381
+ 'ask.button': '让 AI 帮我',
1382
+ 'ask.title': '让 AI 帮我',
1383
+ 'ask.title.fix': '让 AI 修复',
1384
+ 'ask.title.quota': '问 AI 为什么',
1385
+ 'ask.title.account': '让 AI 帮我配账号',
1386
+ 'ask.title.host': '让 AI 支持一个新工具',
1387
+ 'ask.title.plugin': '让 AI 写插件',
1388
+ 'ask.title.terminal': '让 AI 帮我配终端',
1389
+ 'ask.title.handoff': '让 AI 帮我调',
1390
+ 'ask.intro': '你自己的 AI 会在终端里打开,用 sideby skill 来做。每一步改动它都先给你看,你在终端里回答它的问题。',
1391
+ 'ask.what': '你想让 AI 做什么?',
1392
+ 'ask.whatMore': '还有要补充的吗?(可不填)',
1393
+ 'ask.ph.free': '比如:帮我加一个 DeepSeek API 账号',
1394
+ 'ask.ph.account': '比如:我有一个 DeepSeek 的 API key',
1395
+ 'ask.ph.fix': '想补充什么?可以不填',
1396
+ 'ask.ph.quota': '想补充什么?可以不填',
1397
+ 'ask.ph.host': '你想用哪个工具?',
1398
+ 'ask.ph.plugin': '你想让插件做什么?',
1399
+ 'ask.ph.terminal': '你用的是什么终端?',
1400
+ 'ask.ph.handoff': '想补充什么?比如:先用 work',
1401
+ 'ask.ex.handoff.1': '按我的账号推荐阈值',
1402
+ 'ask.ex.handoff.2': '团队账号放到最后',
1403
+ 'ask.ex.handoff.3': '先讲讲接力是怎么工作的',
1404
+ 'ask.ex.account.1': '加一个 Claude 订阅账号',
1405
+ 'ask.ex.account.2': '我有一个 API 地址或文档链接',
1406
+ 'ask.ex.fix.1': '帮我修好这些问题',
1407
+ 'ask.ex.fix.2': '先解释一下再修',
1408
+ 'ask.ex.quota.1': '为什么看不到额度',
1409
+ 'ask.ex.quota.2': '帮我开启额度显示',
1410
+ 'ask.ex.host.1': '我想用 Gemini CLI',
1411
+ 'ask.ex.host.2': '我想用 OpenCode',
1412
+ 'ask.ex.plugin.1': '启动前自动切换代理',
1413
+ 'ask.ex.plugin.2': '新建账号时复制我的配置',
1414
+ 'ask.ex.terminal.1': '我用 Warp',
1415
+ 'ask.ex.terminal.2': '我用的终端没被认出来',
1416
+ 'ask.examples': '也可以从这些开始:',
1417
+ 'ask.task.fix': 'AI 会修好体检不能自动修复的问题({n} 个)。',
1418
+ 'ask.task.quota': 'AI 会找出 {ref} 为什么没有额度数据,并让它显示出来。',
1419
+ 'ask.task.account': 'AI 会帮你加一个账号:订阅账号,或者用你手上的 API 地址、文档链接。',
1420
+ 'ask.task.host': 'AI 会帮 sideby 支持一个列表里没有的工具,先做成这台电脑上的插件。',
1421
+ 'ask.task.plugin': 'AI 会帮你写一个 sideby 插件或 hook。',
1422
+ 'ask.task.handoff': 'AI 看过你的账号后,推荐什么时候接力、按什么顺序;保存前先给你看改动。',
1423
+ 'ask.task.terminal': 'AI 会写一条命令,让 sideby 在你的终端里打开 AI 任务;保存前先问你。',
1424
+ 'ask.keyWarn': '这看起来像密钥。密钥不要发给 AI:请用账号菜单里的「填写密钥」。',
1425
+ 'ask.keyRemoved': '像密钥的内容已在交给 AI 前去掉。密钥请用账号菜单里的「填写密钥」。',
1426
+ 'ask.account': '账号',
1427
+ 'ask.terminal': '终端',
1428
+ 'ask.chooseAccount': '选一个账号',
1429
+ 'ask.confirm': '将打开 {terminal},在里面启动 {ref}。',
1430
+ 'ask.safe': '它的权限检查保持开启,有风险的操作会先经过检查。',
1431
+ 'ask.open': '在 {terminal} 中打开',
1432
+ 'ask.opening': '正在打开…',
1433
+ 'ask.loading': '正在挑选账号…',
1434
+ 'ask.noAccount.no-accounts': '还没有能用来跑 AI 的账号。',
1435
+ 'ask.noAccount.none-signed-in': '没有已登录的账号,没法启动 AI。',
1436
+ 'ask.noAccount.all-full': '已登录的账号现在都没有额度了。',
1437
+ 'ask.noAccountHint': '复制提示词,贴给你喜欢的任何 AI。',
1438
+ 'ask.signInMain': '登录 {ref}',
1439
+ 'ask.copyPrompt': '复制提示词',
1440
+ 'ask.promptShown': '提示词',
1441
+ 'ask.showPrompt': '查看提示词',
1442
+ 'ask.readOnly': '这个面板是只读的,不能打开终端。复制提示词,贴给任何 AI 就行。',
1443
+ 'ask.opened': '已用 {ref} 打开 {terminal},请到那边继续。',
1444
+ 'ask.failed': '{terminal} 没有打开。',
1445
+ 'ask.paste': '粘贴到你的终端,按回车。它会开始同一个任务;任务保留一小时。',
1446
+ 'ask.copiedCmd': '命令已复制。',
1447
+ 'ask.attach': '添加图片或视频',
1448
+ 'ask.attachHint': '也可以直接粘贴截图,或把文件拖进来。',
1449
+ 'ask.attachWarn': '图片会和你的话一起发给 AI,先确认里面没有密钥或密码。',
1450
+ 'ask.attachRemove': '移除 {name}',
1451
+ 'ask.attachUploading': '正在上传 {pct}%',
1452
+ 'ask.attachMax': '一次最多 5 个文件。删掉一个才能再加。',
1453
+ 'ask.attachTooBig': '{name} 太大了:图片最大 20MB,视频最大 200MB。',
1454
+ 'ask.attachType': '{name} 不是支持的文件。请用 PNG、JPEG、GIF、WebP 图片,或 MP4、MOV、WebM 视频。',
1455
+ 'ask.attachFailed': '{name} 没传上去。删掉它再试一次。',
1456
+ 'ask.attachFull': '待发送的文件太多了。先发出这个任务或删掉几个文件,再添加 {name}。',
1457
+ 'ask.attachWaiting': '等文件传完…',
1458
+ 'ask.attachVideo': '视频',
1459
+ 'ask.automation': 'macOS 不允许 sideby 控制 {terminal}。要允许,打开「系统设置 → 隐私与安全性 → 自动化」,给运行面板的程序打开它。',
1460
+ 'ask.notInstalled': '在「设置 → 首选终端」里选一个这台电脑上有的终端。',
1461
+ 'ask.yourself': '也可以自己去问 AI',
1462
+ 'ask.fixTitle': '把不能一键修复的问题交给你自己的 AI',
1463
+ 'ask.quotaWhy': '问 AI 为什么',
1464
+ 'ask.setUp': '不知道怎么填?让 AI 帮我配',
1465
+ 'ask.otherTool': '其他工具……',
1466
+ 'ask.otherToolSub': '列表里没有',
1467
+ 'ask.plugin': '让 AI 写插件',
1468
+ 'login.opened': '已打开 {terminal},请在那里登录 {ref}。',
1469
+ 'login.failed': '终端没打开,命令已复制:粘贴到你的终端,按回车。',
1470
+ 'login.automation': '命令已复制。要让 sideby 打开 {terminal},请在「系统设置 → 隐私与安全性 → 自动化」里打开它。',
1471
+ 'menu.signIn': '登录',
1472
+ 'menu.enterKey': '填写密钥',
1473
+ 'key.title': '为 {ref} 填写密钥',
1474
+ 'key.intro': 'sideby 会把密钥写进这台电脑上这个账号的 proxy.env。之后不会再显示,也不会发给 AI。',
1475
+ 'key.label': '密钥({var})',
1476
+ 'key.varLabel': '变量名',
1477
+ 'key.otherVar': '用别的变量',
1478
+ 'key.varHint': '只有工具文档写的是另一个变量时才改。',
1479
+ 'key.noVar': '这个工具没有默认的密钥变量,请填它文档里写的那个。',
1480
+ 'key.save': '保存密钥',
1481
+ 'key.saving': '正在保存…',
1482
+ 'key.saved': '已把 {var} 写进 {file}。',
1483
+ 'key.badVar': '只能用大写字母、数字和 _,比如 API_KEY。',
1484
+ 'key.empty': '请填写密钥。',
1485
+ 'key.tryLead': '要试一下能不能用吗?',
1486
+ 'key.try': '试一下',
1487
+ 'key.tryCost': '这会发一条很短的消息,要花少量 token。会运行:',
1488
+ 'key.tryRun': '发送',
1489
+ 'key.trying': '正在等回复……(最多一分钟)',
1490
+ 'key.tryOk': '能用:{ref} 回复了。',
1491
+ 'key.tryFail': '没能用。',
1492
+ 'key.tryTimeout': '一分钟内没有回复。',
1493
+ 'key.output': '工具的输出(密钥已隐藏):',
1494
+ 'key.noOutput': '工具没有输出任何内容。',
1495
+ 'key.explain': '让 AI 解释',
1496
+ 'key.explainText': '`sideby try {ref}` 失败了,它的输出是:\n{output}',
1497
+ 'key.cannotTry': '这个工具不能在这里试;用 {cmd} 启动它,发一条很短的消息。',
1498
+ 'term.title': '首选终端',
1499
+ 'term.intro': 'AI 帮你做事、以及登录时,sideby 会打开这个终端。',
1500
+ 'term.pick': '终端',
1501
+ 'term.auto': '帮我猜',
1502
+ 'term.guess.config': '你选的是 {name}。',
1503
+ 'term.guess.env': '猜测:{name},也就是启动这个面板的终端。',
1504
+ 'term.guess.default': '猜测:{name},每台 Mac 都有。',
1505
+ 'term.none': '这台电脑上没找到支持的终端。sideby 会复制一条命令,让你自己粘贴。',
1506
+ 'term.custom': '自定义终端命令',
1507
+ 'term.customHint': '用于其他终端。sideby 填入 {cmd}(命令)和 {cwd}(文件夹),不经过 shell。例:myterm --cwd {cwd} -e {cmd}',
1508
+ 'term.customSave': '保存命令',
1509
+ 'term.customClear': '去掉',
1510
+ 'term.askAi': '不会写?让 AI 帮我配',
1511
+ 'term.saved': '已保存。',
1512
+ 'term.loading': '正在查找终端…',
1173
1513
  'att.quota': '快用完',
1174
1514
  'att.fix': '需要修复',
1175
1515
  'att.check': '看一下',
@@ -1181,6 +1521,10 @@ const zh = {
1181
1521
  'menu.copyDir': '复制目录路径',
1182
1522
  'menu.copyEmail': '复制邮箱',
1183
1523
  'menu.check': '检查这个账号',
1524
+ 'menu.editSettings': '打开 {file}',
1525
+ 'edit.opened': '已用默认程序打开 {ref} 的 {file}。',
1526
+ 'edit.shared': '这个文件是共用的,改动对 {names} 也生效。',
1527
+ 'edit.failed': '没能打开 {ref} 的 {file}:{msg}',
1184
1528
  'menu.like': '照此新建账号',
1185
1529
  'menu.tune': '上下文调优',
1186
1530
  'menu.model': '模型和 effort…',
@@ -1267,22 +1611,22 @@ const zh = {
1267
1611
  'md.nothing': '没有要改的。',
1268
1612
  'md.changes': '将修改 sideby 的配置:',
1269
1613
  'md.saved': '已保存,{ref} 的新会话会用它。',
1270
- 'page.handoff': '自动交接',
1271
- 'hp.title': '自动交接',
1614
+ 'page.handoff': '自动接力',
1615
+ 'hp.title': '自动接力',
1272
1616
  'hp.advanced': '高级设置',
1273
1617
  'hp.loading': '检查中…',
1274
1618
  'hp.intro': '账号额度快用完时,你的工作会自动换到下一个账号接着做,不用你操心。',
1275
1619
  'hp.how1': '你照常在用 sideby 启动的会话里工作(短命令如 cc001,或 sideby run)。',
1276
1620
  'hp.how2': '这个账号用到 {p}% 时,sideby 让 AI 写一份任务小结,然后结束这个会话。',
1277
1621
  'hp.how3': '倒计时 {s} 秒后(按回车可取消),下一个账号在同一个终端里按小结接着做。',
1278
- 'hp.noStarters': '你的账号里还没有能发起交接的。先添加一个 Claude、Codex 或 Grok 账号。',
1622
+ 'hp.noStarters': '你的账号里还没有能发起接力的。先添加一个 Claude、Codex 或 Grok 账号。',
1279
1623
  'hp.sameFamily': '同一个工具的账号之间也切换(例如 cc001 到 cc002)',
1280
- 'hp.turnOn': '开启自动交接',
1624
+ 'hp.turnOn': '开启自动接力',
1281
1625
  'hp.turnOff': '关闭',
1282
1626
  'hp.willDo': '开启时 sideby 会:',
1283
- 'hp.step.config': '在 sideby 的设置里打开自动交接',
1284
- 'hp.step.quota': '打开 {host} 的额度显示(交接要靠它知道用了多少)',
1285
- 'hp.step.hook': '给 {host} 装上 sideby 的交接钩子',
1627
+ 'hp.step.config': '在 sideby 的设置里打开自动接力',
1628
+ 'hp.step.quota': '打开 {host} 的额度显示(接力要靠它知道用了多少)',
1629
+ 'hp.step.hook': '给 {host} 装上 sideby 的接力钩子',
1286
1630
  'hp.step.copy': '把钩子文件复制到你的其他 {host} 账号({accounts}),它们的其他文件不动',
1287
1631
  'hp.showChange': '查看改动',
1288
1632
  'hp.sameFamilyOffNote': '同一个工具的账号之间不会互相切换,之后可以在本页打开。',
@@ -1303,18 +1647,18 @@ const zh = {
1303
1647
  'hp.planChanged': '你查看之后设置有了变化,所以还没有改任何东西。下面是现在要做的改动,请再确认一次。',
1304
1648
  'hp.none': '现在没有能接手的账号',
1305
1649
  'hp.noneBack': '现在没有能接手的账号;{ref} 在 {at} 恢复',
1306
- 'hp.noAccounts': '没有能发起交接的订阅账号。',
1307
- 'hp.recent': '最近的交接',
1650
+ 'hp.noAccounts': '没有能发起接力的订阅账号。',
1651
+ 'hp.recent': '最近的接力',
1308
1652
  'hp.noneYet': '还没有。下次有账号额度快用完时,这里会出现记录。',
1309
- 'hp.why.threshold': '额度到了交接线',
1653
+ 'hp.why.threshold': '额度到了接力线',
1310
1654
  'hp.why.limit': '撞到了用量上限',
1311
- 'hp.why.manual': '按你的要求交接',
1655
+ 'hp.why.manual': '按你的要求接力',
1312
1656
  'hp.missing': '还差一步',
1313
1657
  'hp.complete': '补全设置',
1314
- 'hp.onlySideby': '只有用 sideby 启动的会话才会交接(短命令如 cc001,或 sideby run)。直接敲 claude 启动的不会。',
1658
+ 'hp.onlySideby': '只有用 sideby 启动的会话才会接力(短命令如 cc001,或 sideby run)。直接敲 claude 启动的不会。',
1315
1659
  'hp.sameConfirm': '确认打开',
1316
- 'hp.sameOn': '已开启同工具交接。',
1317
- 'hp.sameOff': '已关闭同工具交接。',
1660
+ 'hp.sameOn': '已开启同工具接力。',
1661
+ 'hp.sameOff': '已关闭同工具接力。',
1318
1662
  'page.accounts': '账号',
1319
1663
  'page.tuning': '上下文调优',
1320
1664
  'tune.title': '上下文调优',
@@ -1409,19 +1753,19 @@ const zh = {
1409
1753
  'nf.aliasNotAdded': '短命令没有添加。',
1410
1754
  'nf.shellFileUpdated': '已更新 {file}。',
1411
1755
  'nf.shellFileSame': '{file} 已是最新。',
1412
- 'ah.button': '自动交接',
1756
+ 'ah.button': '自动接力',
1413
1757
  'ah.on': '开',
1414
1758
  'ah.off': '关',
1415
- 'ah.title': '自动交接',
1416
- 'ah.intro': 'sideby 启动的会话额度快用完时,会写好交接说明,sideby 结束它,下一个账号在同一个终端里接着做。默认关闭。',
1417
- 'ah.auto': '额度快用完时自动交接',
1759
+ 'ah.title': '自动接力',
1760
+ 'ah.intro': 'sideby 启动的会话额度快用完时,会写好接力说明,sideby 结束它,下一个账号在同一个终端里接着做。默认关闭。',
1761
+ 'ah.auto': '额度快用完时自动接力',
1418
1762
  'ah.sameFamily': '也允许同一工具的账号之间接力',
1419
1763
  'ah.sameFamilyWarn': '同一家厂商的多个订阅之间接力来绕过限额,可能违反厂商条款,风险由你承担。',
1420
- 'ah.prepareAt': '开始写交接说明(%)',
1421
- 'ah.threshold': '交接阈值(%)',
1764
+ 'ah.prepareAt': '开始写接力说明(%)',
1765
+ 'ah.threshold': '接力阈值(%)',
1422
1766
  'ah.wait': '这么多分钟内重置就等待',
1423
- 'ah.countdown': '交接前倒计时(秒)',
1424
- 'ah.badLevels': '开始写说明的比例要低于交接阈值。',
1767
+ 'ah.countdown': '接力前倒计时(秒)',
1768
+ 'ah.badLevels': '开始写说明的比例要低于接力阈值。',
1425
1769
  'ah.order': '{host} 交给',
1426
1770
  'ah.byQuota': '剩余额度最多的',
1427
1771
  'ah.myOrder': '按我的顺序',
@@ -1446,8 +1790,8 @@ const zh = {
1446
1790
  'ah.hint': '{ref} 的额度已用 {p}%。会话可以在额度快用完时,自己把任务交给另一个账号。',
1447
1791
  'ah.setUp': '去设置',
1448
1792
  'ah.dismiss': '暂不',
1449
- 'toast.ahOn': '自动交接已开启,对用 sideby 启动的会话生效。',
1450
- 'toast.ahOff': '自动交接已关闭。',
1793
+ 'toast.ahOn': '自动接力已开启,对用 sideby 启动的会话生效。',
1794
+ 'toast.ahOff': '自动接力已关闭。',
1451
1795
  'qs.title': '开启 {host} 额度显示',
1452
1796
  'qs.preparing': '正在准备改动…',
1453
1797
  'qs.changes': '将修改 {file}:',
@@ -1482,6 +1826,68 @@ const zh = {
1482
1826
  'set.theme.system': '跟随系统',
1483
1827
  'set.theme.light': '浅色',
1484
1828
  'set.theme.dark': '深色',
1829
+ 'set.title': '设置',
1830
+ 'set.g.look': '外观',
1831
+ 'set.g.start': '启动',
1832
+ 'set.g.accounts': '账号与额度',
1833
+ 'set.g.ai': '让 AI 帮我',
1834
+ 'set.more': '更多设置…',
1835
+ 'set.saveFailed': '设置没有保存:{msg}',
1836
+ 'as.label': '登录后在后台启动 sideby',
1837
+ 'as.hint': '不打开窗口,打开面板时就是最新状态',
1838
+ 'as.checking': '正在检查…',
1839
+ 'as.failed': '没能检查:{msg}',
1840
+ 'as.unsupported': '这个系统暂不支持,Linux 和 Windows 稍后。',
1841
+ 'as.foreign': '同名的登录项不是 sideby 建的,sideby 不动它。',
1842
+ 'as.stale': '它指向的 sideby 已经不在了。',
1843
+ 'as.other': '它启动的是另一份 sideby,不是现在这份。',
1844
+ 'as.fix': '改成现在这份',
1845
+ 'as.copyPath': '复制文件路径',
1846
+ 'as.onTitle': '登录后启动 sideby',
1847
+ 'as.offTitle': '不再登录后启动 sideby',
1848
+ 'as.planning': '正在列出要改的内容…',
1849
+ 'as.writes': 'sideby 会写这个文件:',
1850
+ 'as.runs': '每次登录时运行:',
1851
+ 'as.noWindow': '不打开窗口。面板在后台准备好,打开时就是最新状态。',
1852
+ 'as.removes': 'sideby 会删除这个文件:',
1853
+ 'as.offNote': '现在开着的面板会继续运行,直到你关掉它或退出登录。',
1854
+ 'as.alreadyOn': '已经是登录后启动这份 sideby,不用改。',
1855
+ 'as.alreadyOff': '已经是关闭的,不用改。',
1856
+ 'as.turnOn': '开启',
1857
+ 'as.turnOff': '关闭',
1858
+ 'as.doneOn': '已开启:登录后 sideby 会在后台启动。',
1859
+ 'as.doneOff': '已关闭:登录后不再启动 sideby。',
1860
+ 'as.nextLogin': '下次登录时生效。',
1861
+ 'mb.label': '在状态栏显示额度',
1862
+ 'mb.hint': '显示最合适账号的已用额度,点任一账号即可在终端启动。',
1863
+ 'mb.onTitle': '在状态栏显示额度',
1864
+ 'mb.offTitle': '从状态栏隐藏',
1865
+ 'mb.writes': 'sideby 会添加下面这个登录项文件,现在立即显示状态栏图标,并在每次登录时启动:',
1866
+ 'mb.removes': 'sideby 会停止状态栏图标,并删除下面这个登录项文件:',
1867
+ 'mb.turnOn': '开启',
1868
+ 'mb.turnOff': '关闭',
1869
+ 'mb.hintTitle': '在状态栏看额度',
1870
+ 'mb.hintBody': '不用打开面板,看一眼就知道额度够不够继续干活;点一下里面的账号还能直接在终端启动。',
1871
+ 'mb.hintYes': '在状态栏显示',
1872
+ 'mb.hintNo': '不用了',
1873
+ 'mb.noWindow': '额度图标会立刻出现在状态栏,之后每次登录也会自动出现,不会打开其他窗口。',
1874
+ 'mb.offNote': '状态栏里的额度图标会立刻消失。',
1875
+ 'mb.alreadyOn': '状态栏已经在运行这份 sideby,不用改。',
1876
+ 'mb.alreadyOff': '已经是关闭的,不用改。',
1877
+ 'mb.doneOn': '看屏幕右上角状态栏里的 sideby 额度图标。如果没看到,可能是状态栏满了:按住 ⌘ 拖动图标腾出位置。',
1878
+ 'mb.doneOff': '已从状态栏移除。',
1879
+ 'mb.nextLogin': '下次登录时出现。',
1880
+ 'mb.stale': '它指向的 sideby 已经不在了。',
1881
+ 'mb.other': '它运行的是另一份 sideby,不是现在这份。',
1882
+ 'mb.foreign': '同名的登录项不是 sideby 建的,sideby 不动它。',
1883
+ 'mb.unsupported': '目前仅支持 macOS。',
1884
+ 'ai.ask.menubar': '在状态栏显示我的额度。',
1885
+ 'as.changedSince': '预览之后有变化,请再看一遍。',
1886
+ 'as.block.npx-cache': 'sideby 现在从 npx 缓存运行,npm 可能清掉它,没法从那里登录后启动。先安装:',
1887
+ 'as.block.temp-dir': 'sideby 现在从系统会清空的临时文件夹运行。先安装:',
1888
+ 'as.block.unsafe-path': 'sideby 或 Node 的路径里有登录项没法安全运行的字符。把 sideby 装到普通文件夹:',
1889
+ 'as.block.unsupported': '这个系统暂不支持,Linux 和 Windows 稍后。',
1890
+ 'as.block.foreign': '这个位置的文件不是 sideby 建的,sideby 不动它。先看一下,不需要的话自己删除或改名:',
1485
1891
  'set.rcOn': 'Remote Control 会自动打开',
1486
1892
  'rc.button': '远程控制(Remote Control)',
1487
1893
  'rc.state.on': '开',