limixbot 0.3.140 → 0.3.141

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 (124) hide show
  1. package/dist/assets/{ActivityPanel-D6E89sXu.js → ActivityPanel-D2qDgfNj.js} +1 -1
  2. package/dist/assets/{App-CU4DNgMp.js → App-DVlUATuq.js} +9 -9
  3. package/dist/assets/{AppEventEditor-Ck4sgNn_.js → AppEventEditor-CmS34S85.js} +1 -1
  4. package/dist/assets/{BotSettingsDialog-CjQJUCCI.js → BotSettingsDialog-BY263Hpx.js} +1 -1
  5. package/dist/assets/{BrowserPanel-CBsnU8X8.js → BrowserPanel-DLVH7EJz.js} +3 -3
  6. package/dist/assets/{BrowserProfilesManager-BpXwgH-G.js → BrowserProfilesManager-D3g9wElR.js} +1 -1
  7. package/dist/assets/{CloudAddDialog-CRh5oPqb.js → CloudAddDialog-DPjSxdZe.js} +1 -1
  8. package/dist/assets/{ComputerFilesPane-CXFT5Cyx.js → ComputerFilesPane-CIPgFHiZ.js} +1 -1
  9. package/dist/assets/{ComputerPanel-6IZImgTq.js → ComputerPanel-DKZ15Lrh.js} +2 -2
  10. package/dist/assets/{DataPanel-BELccijF.js → DataPanel-DkAmUHzs.js} +1 -1
  11. package/dist/assets/{DesktopViewer-DQLJ65-k.js → DesktopViewer-DHpPKouz.js} +1 -1
  12. package/dist/assets/{GrokMoveDialog-B6ulid29.js → GrokMoveDialog-CgvM91-Q.js} +1 -1
  13. package/dist/assets/{InspectorPanel-TRCCEONY.js → InspectorPanel-CaqVaz-4.js} +1 -1
  14. package/dist/assets/{KeyboardShortcutsModal-DvBBVPMo.js → KeyboardShortcutsModal-CFccCEn6.js} +1 -1
  15. package/dist/assets/{LimixResizeHandles-CHcC7B6u.js → LimixResizeHandles-B05qQGL-.js} +1 -1
  16. package/dist/assets/{LiveDesktop-DZBDQKPB.js → LiveDesktop-Bmf7e4Tu.js} +1 -1
  17. package/dist/assets/{LocalVmWorkspace-BQ8o-Sqf.js → LocalVmWorkspace-B3bDhQ9N.js} +1 -1
  18. package/dist/assets/{MacLocalControl-BMOWUy6p.js → MacLocalControl-D8SRatvL.js} +1 -1
  19. package/dist/assets/{MarkdownFilePreview-DMGDT496.js → MarkdownFilePreview-C9mfh0mo.js} +1 -1
  20. package/dist/assets/{MenuMotion-DnZ3mfiD.js → MenuMotion-DuXPPcvo.js} +1 -1
  21. package/dist/assets/{NewBotDialog-DivTZTqp.js → NewBotDialog-CLFDLsS2.js} +1 -1
  22. package/dist/assets/{PhoneAppDialog-cY2obVld.js → PhoneAppDialog-DnUaN-Fw.js} +1 -1
  23. package/dist/assets/{PlacesRail-BBWcVP0k.js → PlacesRail-BJ-bXfSa.js} +1 -1
  24. package/dist/assets/{PluginsPanel-D46R0ZKx.js → PluginsPanel-BZBrWQa4.js} +1 -1
  25. package/dist/assets/{ProIntroduction-B62nUDOS.js → ProIntroduction-CKjldFF7.js} +1 -1
  26. package/dist/assets/{RemoteAgentSettingsPanel-Dr1nHYOm.js → RemoteAgentSettingsPanel-DR-uywnp.js} +1 -1
  27. package/dist/assets/{RoomPanel-i7Z3Iptr.js → RoomPanel-DziKRgaS.js} +1 -1
  28. package/dist/assets/{RoutinesPage-sUwVY-65.js → RoutinesPage-BCXo72z8.js} +1 -1
  29. package/dist/assets/{SettingsModal-BtZBQ0gZ.js → SettingsModal-B6gPauoi.js} +1 -1
  30. package/dist/assets/{ShareTeamDialog-Ds6cJP3j.js → ShareTeamDialog-poRrRYw-.js} +1 -1
  31. package/dist/assets/{SignedInSites-CLmC1zEb.js → SignedInSites-CRn_yDkj.js} +1 -1
  32. package/dist/assets/{TeamLibraryPanel-6M9JNfWF.js → TeamLibraryPanel-xD4xGcM6.js} +1 -1
  33. package/dist/assets/{TeamMapPage-CzbEqlVs.js → TeamMapPage-BRw5VmSq.js} +1 -1
  34. package/dist/assets/{TriggersPage-BWzw6q27.js → TriggersPage-C1ZtmBq8.js} +1 -1
  35. package/dist/assets/{VisibilitySection-QUqz3Nz-.js → VisibilitySection-C9airA4D.js} +1 -1
  36. package/dist/assets/{WebhookTrigger-DdRB7WoM.js → WebhookTrigger-zYpN5d7o.js} +1 -1
  37. package/dist/assets/{WorksOnGrid-D4bJMovq.js → WorksOnGrid-KJ3p-nHy.js} +1 -1
  38. package/dist/assets/{abnfDiagram-YUKMZFIV-Ce8eTiWW.js → abnfDiagram-YUKMZFIV-CSHaWbId.js} +1 -1
  39. package/dist/assets/{activity--SWQgP4n.js → activity-B-rv6SH8.js} +1 -1
  40. package/dist/assets/{architectureDiagram-47P4ROYG-uK5gzFcN.js → architectureDiagram-47P4ROYG-Ck3N_K_O.js} +1 -1
  41. package/dist/assets/{blockDiagram-E7TT5TSB-h0sJ21LK.js → blockDiagram-E7TT5TSB-pBM7maMq.js} +1 -1
  42. package/dist/assets/{c4Diagram-CRA5TL53-D6FSuQ4K.js → c4Diagram-CRA5TL53-Bf-p0I8b.js} +1 -1
  43. package/dist/assets/{calendar-days-DitBJQ7q.js → calendar-days-CHQoR3I7.js} +1 -1
  44. package/dist/assets/channel-COvC08kf.js +1 -0
  45. package/dist/assets/{chunk-2Q5K7J3B-uToClUtI.js → chunk-2Q5K7J3B-DlQOtOaL.js} +1 -1
  46. package/dist/assets/{chunk-5VM5RSS4-D-aGvVMe.js → chunk-5VM5RSS4-CiOX0aHl.js} +1 -1
  47. package/dist/assets/{chunk-7TKQ45FW-BLunZGXD.js → chunk-7TKQ45FW-BTushWZv.js} +1 -1
  48. package/dist/assets/{chunk-AW2ZBBNX-CNTLlxEl.js → chunk-AW2ZBBNX-aJ3nOFgT.js} +1 -1
  49. package/dist/assets/{chunk-FVRAUYC3-DjOBV8XJ.js → chunk-FVRAUYC3-CyeNqn_N.js} +2 -2
  50. package/dist/assets/{chunk-HTAEGDNF-lPxF8CJg.js → chunk-HTAEGDNF-P55CSFqg.js} +1 -1
  51. package/dist/assets/{chunk-JWPE2WC7-De4B0D7D.js → chunk-JWPE2WC7-BhrD2ioJ.js} +1 -1
  52. package/dist/assets/{chunk-KQW6MTUR-cx8qFIBr.js → chunk-KQW6MTUR-BDxkLHse.js} +1 -1
  53. package/dist/assets/{chunk-XXDRQBXY-BUeyVkn0.js → chunk-XXDRQBXY-BPP3938f.js} +1 -1
  54. package/dist/assets/{classDiagram-v2-K4WV4PDN-dK4st9xs.js → classDiagram-v2-K4WV4PDN-BZbKyiCn.js} +1 -1
  55. package/dist/assets/{coins-MJbwpEBq.js → coins-C9XJU_4V.js} +1 -1
  56. package/dist/assets/{core-DiviRa7B.js → core-BUwTlq4P.js} +1 -1
  57. package/dist/assets/{cose-bilkent-JH36ORCC-jCX-7UJX.js → cose-bilkent-JH36ORCC-C7d1E0jy.js} +1 -1
  58. package/dist/assets/{cynefin-EF2NZ3EQ-CP2d7lx5.js → cynefin-EF2NZ3EQ-Dpnrpxzf.js} +1 -1
  59. package/dist/assets/{cynefinDiagram-3GCD6N5R-FY_TCIwN.js → cynefinDiagram-3GCD6N5R-1qGYRFwt.js} +1 -1
  60. package/dist/assets/{dagre-W4DXFKR2-BWXmKLRg.js → dagre-W4DXFKR2-DSfoACwc.js} +1 -1
  61. package/dist/assets/{diagram-2UJZ2QOL-CHEKJ_l4.js → diagram-2UJZ2QOL-Dr3i5W8y.js} +1 -1
  62. package/dist/assets/{diagram-OVF4WLC6-DCb8-TQG.js → diagram-OVF4WLC6-Kp35HPdA.js} +1 -1
  63. package/dist/assets/{diagram-PFPMY2P6-CIYmKBh5.js → diagram-PFPMY2P6-CjlhrI6Z.js} +1 -1
  64. package/dist/assets/{diagram-UMYRVEAY-9NdqhGVc.js → diagram-UMYRVEAY-DTW5ZRM1.js} +1 -1
  65. package/dist/assets/{diagram-YEKJPTXX-C3J9AGvJ.js → diagram-YEKJPTXX-m5Lo1ObV.js} +1 -1
  66. package/dist/assets/{diagram-ZIFT7M5P-BTWPaT48.js → diagram-ZIFT7M5P-D5C5w_He.js} +1 -1
  67. package/dist/assets/{ebnfDiagram-VR2GEFS7-6PXFyzKG.js → ebnfDiagram-VR2GEFS7-C-d31ZAB.js} +1 -1
  68. package/dist/assets/{elk-IJKZMXRS-Kyo_ClKD.js → elk-IJKZMXRS-Bp6SD_1S.js} +1 -1
  69. package/dist/assets/{erDiagram-O2IAPWRE-CY6f4L3d.js → erDiagram-O2IAPWRE-B2JhynZv.js} +1 -1
  70. package/dist/assets/{file-up-q6N1oToi.js → file-up-C1s0CBrI.js} +1 -1
  71. package/dist/assets/{flowDiagram-OXPTDLAJ-CIyEI3gW.js → flowDiagram-OXPTDLAJ-DeWXJ4_K.js} +1 -1
  72. package/dist/assets/{ganttDiagram-R7TSEDQI-0uDsU0zP.js → ganttDiagram-R7TSEDQI-CEqLhR3V.js} +1 -1
  73. package/dist/assets/{gitGraphDiagram-XJZIOB7I-C8WgSPMm.js → gitGraphDiagram-XJZIOB7I-BSgcVYrZ.js} +1 -1
  74. package/dist/assets/{import-name-BdbPuVgh.js → import-name-DbblQVDB.js} +1 -1
  75. package/dist/assets/{index-B7iWCi3b.js → index-CZOD-N3O.js} +3 -3
  76. package/dist/assets/{index-UUTfZrHw.js → index-D4gkCUyb.js} +1 -1
  77. package/dist/assets/{infoDiagram-5W2HQ5XZ-vfG8gNz3.js → infoDiagram-5W2HQ5XZ-BLfUURj8.js} +1 -1
  78. package/dist/assets/{ishikawaDiagram-K3B6WC7H-kDpcmOkz.js → ishikawaDiagram-K3B6WC7H-CrNMsTRP.js} +1 -1
  79. package/dist/assets/{journeyDiagram-COXZFDF6-CNQ1ns0p.js → journeyDiagram-COXZFDF6-CzPPBwy1.js} +1 -1
  80. package/dist/assets/{kanban-definition-P3RFRI5V-b7Gw39SF.js → kanban-definition-P3RFRI5V-andT-HRd.js} +1 -1
  81. package/dist/assets/{mermaid.core-B76WO5rM.js → mermaid.core-BwghuPvM.js} +4 -4
  82. package/dist/assets/{mindmap-definition-LZFPQGKD-DtR2Z2_c.js → mindmap-definition-LZFPQGKD-DZLJJqER.js} +1 -1
  83. package/dist/assets/{minimize-L5w7-dGg.js → minimize-CyN9vCVh.js} +1 -1
  84. package/dist/assets/{monitor-CTZE2syc.js → monitor-rsXvQAT7.js} +1 -1
  85. package/dist/assets/{new-bot-DCESQUvR.js → new-bot-CrUATi6Y.js} +1 -1
  86. package/dist/assets/{org-library-BS5-sY6M.js → org-library-DMy-TMqt.js} +1 -1
  87. package/dist/assets/{package-format-CE-xmtGw.js → package-format-DxsHLDfa.js} +1 -1
  88. package/dist/assets/{pegDiagram-BGZESJAR-DyOa8O_6.js → pegDiagram-BGZESJAR-Ag5ieNd4.js} +1 -1
  89. package/dist/assets/{pieDiagram-CAPJLFHJ-CWaMQ0jL.js → pieDiagram-CAPJLFHJ-BEKrcMMG.js} +1 -1
  90. package/dist/assets/{quadrantDiagram-GDMTTRAM-WW31d2Mf.js → quadrantDiagram-GDMTTRAM-5NrUzt7G.js} +1 -1
  91. package/dist/assets/{rail-pvuszcdm.js → rail-BEuN4gG8.js} +1 -1
  92. package/dist/assets/{railroadDiagram-SM67HX2B-DqD_8LgC.js → railroadDiagram-SM67HX2B-BQUI7-8z.js} +1 -1
  93. package/dist/assets/{remote-desktop-panel-BTToRYMw.js → remote-desktop-panel-DCwNJ1YY.js} +1 -1
  94. package/dist/assets/{requirementDiagram-X7JNWC4A-BbpAELLg.js → requirementDiagram-X7JNWC4A-DJizyC_R.js} +1 -1
  95. package/dist/assets/{sankeyDiagram-UM26HJRW-DfhCSit0.js → sankeyDiagram-UM26HJRW-BDQyU8Wh.js} +1 -1
  96. package/dist/assets/{sequenceDiagram-ZO4K6R2Y-BWx6HNt_.js → sequenceDiagram-ZO4K6R2Y-BTaigEFp.js} +1 -1
  97. package/dist/assets/{sizeCapture-INFHLROL-9Z9mWyEZ.js → sizeCapture-INFHLROL-J__bNJvX.js} +1 -1
  98. package/dist/assets/{stateDiagram-v2-TBUQTH76-C7wdnY0H.js → stateDiagram-v2-TBUQTH76-CKOTLRyo.js} +1 -1
  99. package/dist/assets/{styles-DW6_pSlc.js → styles-XkQHO_MZ.js} +1 -1
  100. package/dist/assets/{swimlanes-N4OXWK64-BdAVZ2Mp.js → swimlanes-N4OXWK64-DPAhFVMp.js} +1 -1
  101. package/dist/assets/swimlanesDiagram-K3J5GTZL-BRiVojk7.js +8 -0
  102. package/dist/assets/{team-share-CjdhSquW.js → team-share-BqhAEQhI.js} +1 -1
  103. package/dist/assets/{timeline-definition-YOQAKGHF-C5RyxpFL.js → timeline-definition-YOQAKGHF-CUrEL6lo.js} +1 -1
  104. package/dist/assets/{usecaseDiagram-VIAY4XPW-CLx4IMzT.js → usecaseDiagram-VIAY4XPW-DdD_FmQL.js} +1 -1
  105. package/dist/assets/{vennDiagram-BLWOH2XV-CDdYuSAc.js → vennDiagram-BLWOH2XV-i8yTvYzp.js} +1 -1
  106. package/dist/assets/{vi-CND2A7To.js → vi-Ck4CHn3q.js} +1 -1
  107. package/dist/assets/{wardleyDiagram-YMQ3BMBF-KxnUFn7x.js → wardleyDiagram-YMQ3BMBF-CK5DR3ZK.js} +1 -1
  108. package/dist/assets/{xychartDiagram-TAQBALBS-DzqYm7Vb.js → xychartDiagram-TAQBALBS-BvUrUg5I.js} +1 -1
  109. package/dist/index.html +2 -2
  110. package/dist/rail.html +4 -4
  111. package/dist-server/cloud-home-start.js +21 -20
  112. package/dist-server/container-mcp.js +21 -20
  113. package/dist-server/index.js +59 -58
  114. package/dist-server/limixbot.js +21 -21
  115. package/dist-server/package.json +1 -1
  116. package/dist-server/pair-cli.js +21 -21
  117. package/dist-server/server/browser/viewers/live-v1.js +3 -4
  118. package/dist-server/server/browser-live.js +29 -14
  119. package/dist-server/server/user-errors.js +2 -0
  120. package/dist-server/vps-container-mcp.js +21 -20
  121. package/dist-server/workspace-backup.worker.js +22 -22
  122. package/package.json +1 -1
  123. package/dist/assets/channel-DXsnTIKn.js +0 -1
  124. package/dist/assets/swimlanesDiagram-K3J5GTZL-BpuCUF0j.js +0 -8
@@ -29,27 +29,27 @@ Error.owner.unavailable":"One or more bots are unavailable.","serverError.bot.mi
29
29
  department.renameBusy":"Stop this department's active work before renaming it","serverError.department.emptyFirst":"Move all bots (including archived bots) and group chats out of this department first","serverError.department.deleteBusy":"Stop this department's active work before deleting it","serverError.department.generalChief":"General already has a Chief of Staff. Move or change this department's Chief before deleting it","serverError.backup.recursiveLink":"Cannot back up a symbolic link to \
30
30
  the folder that contains it: {path}","serverError.setup.noTools":"This bot's AI can't set it up by itself. Tell the bot what you'd like it to do instead.","serverError.setup.missingConversation":"There is no such conversation.","serverError.setup.stopOwner":"Only the person who pressed Set me up, or an owner or admin, can stop it.","serverError.setup.hasInstructions":"This bot already has instructions. To change its job, type /setup and what you'd like it to do.","serverError.setup.started":"Thi\
31
31
  s chat has already started. Type /setup and what you'd like this bot to do.","serverError.setup.someoneElse":"Someone else is setting this bot up.","serverError.approval.allThreads":"Finish this bot's approval change first. Every thread's provider must support this approval level.","serverError.approval.pending":"Finish this bot's pending approval change first","serverError.approval.provider":"Use the bot's provider on this thread before applying its approval level","serverError.engineCheck.time\
32
- out":"{name} didn't answer within {seconds} seconds.","serverError.request.bodyTimeout":"The request took too long. Check the connection and try again.","serverError.browser.restartingUnresponsive":"The browser stopped responding, so it is being restarted. The live view reconnects by itself.","serverError.computer.desktopOnly":"Only the Limix Bot app on this computer can let a bot use it. Open the app here, or let the bot work in its own browser or on a cloud desktop instead.","serverError.compu\
33
- ter.permissionsThenRestart":"Limix Bot can't use this computer yet \u2014 make sure Limix Bot has the permissions it asks for, then restart it","serverError.computer.notReadyDetail":"Limix Bot can't use this computer yet \u2014 {reason}","serverError.computer.notReadyMacPermission":"Limix Bot can't use this computer yet \u2014 {reason}. Relaunch Limix Bot after granting the missing macOS permission.","serverError.install.invalidDetails":"{name}'s install details are invalid. Nothing was download\
34
- ed.","serverError.install.versionGone":"This version of {name} is no longer available to download. Update Limix Bot, then try again.","serverError.install.downloadLimited":"The download site is limiting downloads right now. Try again in a few minutes.","serverError.install.siteNotAnswering":"{name}'s download site isn't answering right now. Try again later.","serverError.install.downloadFailed":"{name} couldn't be downloaded. Check the internet connection and try again.","serverError.install.dow\
35
- nloadTooLarge":"The {name} download was larger than expected, so it was stopped. Nothing was installed.","serverError.install.unofficialDownload":"The {name} download did not come from its official site, so it was stopped. Nothing was installed.","serverError.install.redirects":"The {name} download kept redirecting, so it was stopped. Nothing was installed.","serverError.install.safetyCheck":"The {name} download failed its safety check, so nothing was installed. Try again later.","serverError.in\
36
- stall.downloadTimeout":"The {name} download took too long and was stopped. Check the internet connection and try again.","serverError.install.unsafeArchive":"The archive contains an unexpected or unsafe file. Nothing was installed.","serverError.install.unsafeFile":"The {name} download holds an unexpected or unsafe file, so nothing was installed.","serverError.install.notPlainFolder":"Limix Bot's folder for {name} is not a plain folder ({path}), so nothing was changed. Move it away, then try aga\
37
- in.","serverError.install.unexpectedFolder":"Limix Bot's folder for {name} holds something it did not put there ({path}), so nothing was changed. Move it away, then try again.","serverError.install.diskSpace":"There is not enough free disk space to install {name}. Free up about {megabytes} MB, then try again.","serverError.install.openElsewhere":"{name} is open in another window. Close it, then try again.","serverError.install.cannotWrite":"Limix Bot can't write to its folder for {name}. Check t\
38
- he folder's permissions, then try again.","serverError.install.failed":"{name} couldn't be installed. Try again.","serverError.install.noDownload":"{name} has no download for this computer.","serverError.install.existingDoesNotStart":"{name} is installed, but it doesn't start on this computer ({failure}). Nothing was changed.","serverError.install.programMissing":"The {name} download did not contain the program it should, so nothing was installed.","serverError.install.notSigned":"The downloaded\
39
- {name} is not signed by its maker, so nothing was installed.","serverError.install.downloadDoesNotStart":"{name} was downloaded, but it doesn't start on this computer ({failure}). Nothing was installed.","serverError.secret.missing":"no such credential request","serverError.secret.settingsCard":"this card saves a key in Settings","serverError.secret.savingFromPhone":"this secret is currently being saved from a phone","serverError.secret.declined":"this request was declined","serverError.secret.\
40
- replaced":"this request was replaced by a newer one","serverError.secret.taskStopped":"this request stopped with its task","serverError.secret.alreadySaved":"this secret was already saved","serverError.secret.valueSize":"Enter the secret: up to {bytes} bytes.","serverError.secret.notKeptSafely":"The secret could not be kept safely. Nothing was saved.","serverError.secret.unavailableLower":"this credential request is no longer available","serverError.signIn.requestMissing":"no such sign-in reques\
41
- t","serverError.signIn.requestReplaced":"this sign-in request was superseded by a newer one","serverError.signIn.answeredInChat":"this sign-in request was already answered in the chat","serverError.signIn.alreadyDone":"this sign-in request was already marked done","serverError.signIn.alreadyCancelled":"this sign-in request was already cancelled","serverError.inbox.answerNotPassed":"That answer can't be passed back.","serverError.room.nameOneLine":"room name must fit on one line","serverError.com\
42
- puter.systemUnsupported":"bots can't use this computer on this system \u2014 choose another place for this bot to work","serverError.computer.aiUnsupported":"this bot's AI can't use this computer \u2014 pick another AI for this bot, or choose another place for it to work","serverError.wait.alreadyEnded":"This wait has already ended.","serverError.botDefaults.nameLength":"name must be at most 100 characters","serverError.botDefaults.sectionLength":"section must be at most 60 characters","serverEr\
43
- ror.botDefaults.invalid":"These bot settings are not valid.","serverError.postiz.addressHttps":"Enter your Postiz server's address, starting with https://.","serverError.postiz.addressNoCredentials":"Leave any user name or password out of the Postiz address.","serverError.postiz.addressNoQuery":"Enter the Postiz address without anything after ? or #.","serverError.postiz.addressLocalHttp":"Use an https:// address. Plain http:// works only for a Postiz server on this computer.","serverError.posti\
44
- z.addressUseHttps":"Use your Postiz server's https:// address.","serverError.postiz.addressContainsKey":"That address has a key in it. Enter the server address alone, and paste the key in its own box.","serverError.postiz.mcpUpdating":"MCP servers are being updated. Try again in a moment.","serverError.setup.limixbotMissing":"no such Limix Bot","serverError.setup.limixbotOwnerOnly":"only Limix Bot's own person can do this","serverError.setup.noIntroToFollowUp":"this conversation has no intro to \
45
- follow up","serverError.inbox.missing":"There is no inbox here.","serverError.inbox.lineMissing":"That line is not in your inbox.","serverError.inbox.answerRequired":"This waits on your answer: answer it, or close it, where it asks.","serverError.instance.settingsInvalid":"Supply a valid CLI path, account name, configuration directory, boolean tools setting or a reply wait of 1 to 60 minutes.","serverError.instance.replyWaitUnsupported":"The reply wait is available for OpenAI-compatible servers \
46
- only.","serverError.instance.modelsUnsupported":"Model IDs can be changed for added OpenAI-compatible servers only.","serverError.instance.defaultModelRemoved":"{model} is the default model. Choose another default model before removing it from this server.","serverError.mcp.personalHeadersShared":"Personal MCP header values cannot be saved in shared configuration. Save your key in your personal connection.","serverError.mcp.testSignInFirst":"Sign in to the team to test your own connection.","ser\
47
- verError.postiz.adminOnly":"Only the owner or an admin can manage the Postiz connection.","serverError.postiz.keyAlone":"Paste the Postiz API key alone.","serverError.postiz.addressAsText":"Send the Postiz address as text.","serverError.secret.localService":"A local service cannot enter a secret. Enter it in Limix Bot.","serverError.secret.cloudOwnerOnly":"Only the owner of this Cloud can enter this secret.","serverError.secret.conversationOwnerOnly":"Only the person this conversation belongs to\
48
- can enter this secret.","serverError.secret.credentialSavingFromPhone":"this credential is currently being saved from a phone","serverError.secret.credentialDismissed":"this credential request was dismissed","serverError.secret.credentialSuperseded":"this credential request was superseded by a newer one","serverError.secret.notSavedYet":"{label} was not saved yet","serverError.secret.notReadyToResume":"this credential request is not ready to resume","serverError.secret.noLongerConfigured":"{lab\
49
- el} is no longer configured","serverError.department.moveChiefConflict":"A department can have only one Chief of Staff. Change the Chief before moving this bot.","serverError.department.membershipChanged":"Department membership changed. Reopen the dialog and try again.","serverError.mcp.addressAsText":"Send the MCP server address as text.","serverError.mcp.addressChanged":"The MCP server address changed. Reload the server and try again.","serverError.attachment.alreadyInMessage":"This file is al\
50
- ready in a message, so it stays.","serverError.engine.signedOut":"{name} is signed out.","serverError.bot.viewOnly":"You can view {bot}, not chat with it.","serverError.secret.mailboxAlreadyConnected":"this mailbox was already connected","serverError.secret.emailAndPassword":"Enter your email address and its password.","serverError.secret.emailUnavailable":"Email can't be connected here.","serverError.mailbox.adminOnly":"Only the owner or an admin can manage the mailboxes.","serverError.mailbox.\
51
- addressAndPassword":"Enter your email address and password.","serverError.mailbox.outgoingFields":"Check the outgoing server: a name like mail.example.com, a port from 1 to 65535, and SSL/TLS or STARTTLS.","serverError.voice.fishKeyRequired":"Add a Fish Audio key in Settings \u2192 API keys to talk to your bots here.","serverError.voice.fishTranscribeConnection":"Couldn't reach Fish Audio to hear you \u2014 check your connection.","serverError.file.tooLarge":"This file is {size}, over the {limit\
52
- } limit for opening files from chat. The file itself is still saved as {name}."}}});function isSecretName(name){let lower=name.toLowerCase();return lower==="omb_gate_upstream"||lower==="omb_remote_mcp_server"||lower.startsWith("omb_remote_mcp_config_")||SECRET_KEY_PARTS.some(part=>lower.includes(part))?!0:/(^|[_.-])keys?$/.test(lower)}function redactSecrets(input2,depth=0){if(typeof input2=="string")return redactSecretsInText(input2);if(depth>12||input2===null||typeof input2!="object")return input2;if(Array.isArray(input2))return input2.map(item=>{if(item!==null&&typeof item=="\
32
+ out":"{name} didn't answer within {seconds} seconds.","serverError.request.bodyTimeout":"The request took too long. Check the connection and try again.","serverError.browser.restartingUnresponsive":"The browser stopped responding, so it is being restarted. The live view reconnects by itself.","serverError.browser.restartNeeded":"A browser action was interrupted. Choose Restart browser\u2026 in the browser menu before continuing.","serverError.browser.streamDisconnected":"The browser stream disco\
33
+ nnected.","serverError.computer.desktopOnly":"Only the Limix Bot app on this computer can let a bot use it. Open the app here, or let the bot work in its own browser or on a cloud desktop instead.","serverError.computer.permissionsThenRestart":"Limix Bot can't use this computer yet \u2014 make sure Limix Bot has the permissions it asks for, then restart it","serverError.computer.notReadyDetail":"Limix Bot can't use this computer yet \u2014 {reason}","serverError.computer.notReadyMacPermission":"\
34
+ Limix Bot can't use this computer yet \u2014 {reason}. Relaunch Limix Bot after granting the missing macOS permission.","serverError.install.invalidDetails":"{name}'s install details are invalid. Nothing was downloaded.","serverError.install.versionGone":"This version of {name} is no longer available to download. Update Limix Bot, then try again.","serverError.install.downloadLimited":"The download site is limiting downloads right now. Try again in a few minutes.","serverError.install.siteNotAns\
35
+ wering":"{name}'s download site isn't answering right now. Try again later.","serverError.install.downloadFailed":"{name} couldn't be downloaded. Check the internet connection and try again.","serverError.install.downloadTooLarge":"The {name} download was larger than expected, so it was stopped. Nothing was installed.","serverError.install.unofficialDownload":"The {name} download did not come from its official site, so it was stopped. Nothing was installed.","serverError.install.redirects":"The \
36
+ {name} download kept redirecting, so it was stopped. Nothing was installed.","serverError.install.safetyCheck":"The {name} download failed its safety check, so nothing was installed. Try again later.","serverError.install.downloadTimeout":"The {name} download took too long and was stopped. Check the internet connection and try again.","serverError.install.unsafeArchive":"The archive contains an unexpected or unsafe file. Nothing was installed.","serverError.install.unsafeFile":"The {name} downlo\
37
+ ad holds an unexpected or unsafe file, so nothing was installed.","serverError.install.notPlainFolder":"Limix Bot's folder for {name} is not a plain folder ({path}), so nothing was changed. Move it away, then try again.","serverError.install.unexpectedFolder":"Limix Bot's folder for {name} holds something it did not put there ({path}), so nothing was changed. Move it away, then try again.","serverError.install.diskSpace":"There is not enough free disk space to install {name}. Free up about {mega\
38
+ bytes} MB, then try again.","serverError.install.openElsewhere":"{name} is open in another window. Close it, then try again.","serverError.install.cannotWrite":"Limix Bot can't write to its folder for {name}. Check the folder's permissions, then try again.","serverError.install.failed":"{name} couldn't be installed. Try again.","serverError.install.noDownload":"{name} has no download for this computer.","serverError.install.existingDoesNotStart":"{name} is installed, but it doesn't start on this\
39
+ computer ({failure}). Nothing was changed.","serverError.install.programMissing":"The {name} download did not contain the program it should, so nothing was installed.","serverError.install.notSigned":"The downloaded {name} is not signed by its maker, so nothing was installed.","serverError.install.downloadDoesNotStart":"{name} was downloaded, but it doesn't start on this computer ({failure}). Nothing was installed.","serverError.secret.missing":"no such credential request","serverError.secret.s\
40
+ ettingsCard":"this card saves a key in Settings","serverError.secret.savingFromPhone":"this secret is currently being saved from a phone","serverError.secret.declined":"this request was declined","serverError.secret.replaced":"this request was replaced by a newer one","serverError.secret.taskStopped":"this request stopped with its task","serverError.secret.alreadySaved":"this secret was already saved","serverError.secret.valueSize":"Enter the secret: up to {bytes} bytes.","serverError.secret.not\
41
+ KeptSafely":"The secret could not be kept safely. Nothing was saved.","serverError.secret.unavailableLower":"this credential request is no longer available","serverError.signIn.requestMissing":"no such sign-in request","serverError.signIn.requestReplaced":"this sign-in request was superseded by a newer one","serverError.signIn.answeredInChat":"this sign-in request was already answered in the chat","serverError.signIn.alreadyDone":"this sign-in request was already marked done","serverError.signIn\
42
+ .alreadyCancelled":"this sign-in request was already cancelled","serverError.inbox.answerNotPassed":"That answer can't be passed back.","serverError.room.nameOneLine":"room name must fit on one line","serverError.computer.systemUnsupported":"bots can't use this computer on this system \u2014 choose another place for this bot to work","serverError.computer.aiUnsupported":"this bot's AI can't use this computer \u2014 pick another AI for this bot, or choose another place for it to work","serverErro\
43
+ r.wait.alreadyEnded":"This wait has already ended.","serverError.botDefaults.nameLength":"name must be at most 100 characters","serverError.botDefaults.sectionLength":"section must be at most 60 characters","serverError.botDefaults.invalid":"These bot settings are not valid.","serverError.postiz.addressHttps":"Enter your Postiz server's address, starting with https://.","serverError.postiz.addressNoCredentials":"Leave any user name or password out of the Postiz address.","serverError.postiz.addr\
44
+ essNoQuery":"Enter the Postiz address without anything after ? or #.","serverError.postiz.addressLocalHttp":"Use an https:// address. Plain http:// works only for a Postiz server on this computer.","serverError.postiz.addressUseHttps":"Use your Postiz server's https:// address.","serverError.postiz.addressContainsKey":"That address has a key in it. Enter the server address alone, and paste the key in its own box.","serverError.postiz.mcpUpdating":"MCP servers are being updated. Try again in a mo\
45
+ ment.","serverError.setup.limixbotMissing":"no such Limix Bot","serverError.setup.limixbotOwnerOnly":"only Limix Bot's own person can do this","serverError.setup.noIntroToFollowUp":"this conversation has no intro to follow up","serverError.inbox.missing":"There is no inbox here.","serverError.inbox.lineMissing":"That line is not in your inbox.","serverError.inbox.answerRequired":"This waits on your answer: answer it, or close it, where it asks.","serverError.instance.settingsInvalid":"Supply a v\
46
+ alid CLI path, account name, configuration directory, boolean tools setting or a reply wait of 1 to 60 minutes.","serverError.instance.replyWaitUnsupported":"The reply wait is available for OpenAI-compatible servers only.","serverError.instance.modelsUnsupported":"Model IDs can be changed for added OpenAI-compatible servers only.","serverError.instance.defaultModelRemoved":"{model} is the default model. Choose another default model before removing it from this server.","serverError.mcp.personalH\
47
+ eadersShared":"Personal MCP header values cannot be saved in shared configuration. Save your key in your personal connection.","serverError.mcp.testSignInFirst":"Sign in to the team to test your own connection.","serverError.postiz.adminOnly":"Only the owner or an admin can manage the Postiz connection.","serverError.postiz.keyAlone":"Paste the Postiz API key alone.","serverError.postiz.addressAsText":"Send the Postiz address as text.","serverError.secret.localService":"A local service cannot en\
48
+ ter a secret. Enter it in Limix Bot.","serverError.secret.cloudOwnerOnly":"Only the owner of this Cloud can enter this secret.","serverError.secret.conversationOwnerOnly":"Only the person this conversation belongs to can enter this secret.","serverError.secret.credentialSavingFromPhone":"this credential is currently being saved from a phone","serverError.secret.credentialDismissed":"this credential request was dismissed","serverError.secret.credentialSuperseded":"this credential request was supe\
49
+ rseded by a newer one","serverError.secret.notSavedYet":"{label} was not saved yet","serverError.secret.notReadyToResume":"this credential request is not ready to resume","serverError.secret.noLongerConfigured":"{label} is no longer configured","serverError.department.moveChiefConflict":"A department can have only one Chief of Staff. Change the Chief before moving this bot.","serverError.department.membershipChanged":"Department membership changed. Reopen the dialog and try again.","serverError.\
50
+ mcp.addressAsText":"Send the MCP server address as text.","serverError.mcp.addressChanged":"The MCP server address changed. Reload the server and try again.","serverError.attachment.alreadyInMessage":"This file is already in a message, so it stays.","serverError.engine.signedOut":"{name} is signed out.","serverError.bot.viewOnly":"You can view {bot}, not chat with it.","serverError.secret.mailboxAlreadyConnected":"this mailbox was already connected","serverError.secret.emailAndPassword":"Enter y\
51
+ our email address and its password.","serverError.secret.emailUnavailable":"Email can't be connected here.","serverError.mailbox.adminOnly":"Only the owner or an admin can manage the mailboxes.","serverError.mailbox.addressAndPassword":"Enter your email address and password.","serverError.mailbox.outgoingFields":"Check the outgoing server: a name like mail.example.com, a port from 1 to 65535, and SSL/TLS or STARTTLS.","serverError.voice.fishKeyRequired":"Add a Fish Audio key in Settings \u2192 API ke\
52
+ ys to talk to your bots here.","serverError.voice.fishTranscribeConnection":"Couldn't reach Fish Audio to hear you \u2014 check your connection.","serverError.file.tooLarge":"This file is {size}, over the {limit} limit for opening files from chat. The file itself is still saved as {name}."}}});function isSecretName(name){let lower=name.toLowerCase();return lower==="omb_gate_upstream"||lower==="omb_remote_mcp_server"||lower.startsWith("omb_remote_mcp_config_")||SECRET_KEY_PARTS.some(part=>lower.includes(part))?!0:/(^|[_.-])keys?$/.test(lower)}function redactSecrets(input2,depth=0){if(typeof input2=="string")return redactSecretsInText(input2);if(depth>12||input2===null||typeof input2!="object")return input2;if(Array.isArray(input2))return input2.map(item=>{if(item!==null&&typeof item=="\
53
53
  object"&&!Array.isArray(item)&&typeof item.name=="string"&&typeof item.value=="string"){let entry=item;return isSecretName(entry.name)?{...entry,value:mask(entry.value)}:{...entry,value:redactSecretsInText(entry.value)}}return redactSecrets(item,depth+1)});let out={};for(let[key2,value]of Object.entries(input2)){if(typeof value=="string"&&isSecretName(key2)){out[key2]=mask(value);continue}out[key2]=redactSecrets(value,depth+1)}return out}var SECRET_KEY_PARTS,init_redact2=__esm({"server/redact.ts"(){
54
54
  "use strict";init_redact();init_redact();SECRET_KEY_PARTS=["token","secret","password","passwd","apikey","api_key","authorization","auth_token"]}});var init_usage_attribution=__esm({"server/usage-attribution.ts"(){"use strict"}});var init_prices=__esm({"server/prices.ts"(){"use strict"}});function monthKey(at2){return`${at2.getUTCFullYear()}-${String(at2.getUTCMonth()+1).padStart(2,"0")}`}var DAY_MS,init_usage_ledger=__esm({"server/usage-ledger.ts"(){"use strict";init_usage_attribution();init_prices();DAY_MS=1440*6e4}});import{AsyncLocalStorage}from"node:async_hooks";import{appendFile,mkdir,readdir,stat,unlink}from"node:fs/promises";import{basename,join}from"node:path";function bindDecisionRetention(provider){retentionDays=provider}function boundRetentionDays(){return retentionDays()}function decisionRetentionDays(configured,env=process.env){let fromEnv=env.OMB_DECISION_RETENTION_DAYS?.trim(),parsed=fromEnv?Number(fromEnv):NaN;return Number.isInteger(parsed)&&parsed>=1&&parsed<=MAX_DECISION_RETENTION_DAYS?parsed:
55
55
  typeof configured=="number"&&Number.isInteger(configured)&&configured>=1&&configured<=MAX_DECISION_RETENTION_DAYS?configured:DEFAULT_DECISION_RETENTION_DAYS}function decisionFileFor(dataDir,at2){return join(dataDir,DIR,`${monthKey(at2)}.ndjson`)}async function writeDecision(dataDir,record12){let at2=new Date(record12.at);await mkdir(join(dataDir,DIR),{recursive:!0,mode:448}),await appendFile(decisionFileFor(dataDir,at2),JSON.stringify(record12)+`
@@ -1,5 +1,5 @@
1
1
  import { BROWSER_HELD_ELSEWHERE } from "../../../shared/browser-held.js";
2
- import { BROWSER_ASLEEP_ERROR, BROWSER_WAITING, BrowserLiveError, parseBrowserLiveAction } from "../../browser-live.js";
2
+ import { BROWSER_ASLEEP_ERROR, BROWSER_STREAM_DISCONNECTED, BROWSER_WAITING, BrowserLiveError, browserRestartNeeded, parseBrowserLiveAction } from "../../browser-live.js";
3
3
  const MAX_FRAME = 3 * 1024 * 1024;
4
4
  const MAX_BUFFER = 4 * 1024 * 1024;
5
5
  const HEARTBEAT_MS = 10_000;
@@ -9,7 +9,6 @@ const VIEWERS_PER_SESSION = 2;
9
9
  const LO_TIER = { maxWidth: 1280, maxHeight: 1280, quality: 70 };
10
10
  /** A start this slow (a first Chrome download) tells the viewer it waits, as a busy browser did. */
11
11
  const WAITING_AFTER_MS = 5_000;
12
- const RESTART_NEEDED = "A browser action was interrupted. Choose Restart browser… in the browser menu before continuing.";
13
12
  /** An address a viewer may show: a web page's, never its credentials. */
14
13
  export function displayUrl(value) {
15
14
  if (typeof value !== "string" || value.length > 8192)
@@ -141,7 +140,7 @@ export class LiveV1 {
141
140
  return;
142
141
  case "gone":
143
142
  if (!viewer.restarting) {
144
- this.#send(viewer, { type: "error", retryable: true, message: "The browser stream disconnected." });
143
+ this.#send(viewer, BROWSER_STREAM_DISCONNECTED);
145
144
  this.#close(viewer);
146
145
  }
147
146
  return;
@@ -248,7 +247,7 @@ export class LiveV1 {
248
247
  const holder = this.#service.heldBy(viewer.session);
249
248
  if (holder && holder !== viewer.person)
250
249
  return new BrowserLiveError(BROWSER_HELD_ELSEWHERE, 409);
251
- return new BrowserLiveError(this.#service.interrupted(viewer.session) ? RESTART_NEEDED : otherwise, 409);
250
+ return this.#service.interrupted(viewer.session) ? browserRestartNeeded() : new BrowserLiveError(otherwise, 409);
252
251
  }
253
252
  async action({ viewerId, botId, owner, body }) {
254
253
  const viewer = this.#viewers.get(viewerId);
@@ -21,7 +21,6 @@ const BUSY_RETRY_MS = [1_000, 2_000, 5_000];
21
21
  const BUSY_LIMIT_MS = 10 * 60_000;
22
22
  // agent-browser's native press resolver supplies the virtual key codes and Enter/Tab text its raw input_keyboard relay omits.
23
23
  const DISCRETE_KEYS = new Set(["Backspace", "Enter", "Tab", "Escape", "Delete", "ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight", "Home", "End", "PageUp", "PageDown"]);
24
- const RESTART_NEEDED = "A browser action was interrupted. Choose Restart browser… in the browser menu before continuing.";
25
24
  const restartedNote = (keepsSignIns) => `The page stopped responding, so the browser was restarted. ${keepsSignIns ? "Your sign-ins are kept; open" : "It is a temporary browser, so its sign-ins are gone; open"} the page again.`;
26
25
  const INPUT_RELAY = { timeoutMs: 30_000, maxBytes: 65_536 };
27
26
  /** Frames a view may have on its way without acknowledging them: over a slow link one acknowledgement round trip per frame
@@ -34,10 +33,16 @@ const ENDED_PROBE = { timeoutMs: 5_000, maxBytes: 65_536 };
34
33
  export const BROWSER_ASLEEP_ERROR = { type: "error", retryable: false, asleep: true, message: "This browser closed after it sat unused, to save memory. Reconnect to open it again." };
35
34
  /** What a view hears while its browser cannot show it yet; it keeps waiting. */
36
35
  export const BROWSER_WAITING = { type: "waiting", reason: "busy" };
36
+ const streamDisconnected = userError("serverError.browser.streamDisconnected");
37
+ export const BROWSER_STREAM_DISCONNECTED = { type: "error", retryable: true, message: streamDisconnected.error, ...userErrorFields(streamDisconnected) };
37
38
  export class BrowserLiveError extends Error {
38
39
  status;
39
40
  constructor(message, status = 400) { super(message); this.name = "BrowserLiveError"; this.status = status; }
40
41
  }
42
+ export function browserRestartNeeded() {
43
+ const error = userError("serverError.browser.restartNeeded");
44
+ return Object.assign(new BrowserLiveError(error.error, 409), userErrorFields(error));
45
+ }
41
46
  export class BrowserActionFailedError extends BrowserLiveError {
42
47
  settled = true;
43
48
  constructor(args) {
@@ -877,10 +882,8 @@ export class BrowserLive {
877
882
  throw new BrowserLiveError("This browser view is no longer available.", 409);
878
883
  const socket = new WebSocket(`ws://127.0.0.1:${port}/?pacing=ack&maxFps=15`);
879
884
  viewer.socket = socket;
885
+ viewer.waiting = true;
880
886
  this.startEvents(viewer);
881
- viewer.waiting = false;
882
- this.send(viewer, { type: "ready", viewerId: viewer.id, inputBatch: INPUT_BATCH_LIMIT });
883
- this.control(viewer.session);
884
887
  socket.addEventListener("message", (event) => {
885
888
  if (!this.current(viewer)) {
886
889
  this.close(viewer, true, true);
@@ -913,19 +916,31 @@ export class BrowserLive {
913
916
  else
914
917
  this.send(viewer, message);
915
918
  });
916
- socket.addEventListener("error", () => { if (!viewer.restarting) {
917
- this.send(viewer, { type: "error", retryable: true, message: "The browser stream disconnected." });
918
- this.close(viewer);
919
- } });
920
- socket.addEventListener("close", () => { if (!viewer.restarting)
921
- this.close(viewer); });
919
+ socket.addEventListener("error", () => {
920
+ if (viewer.closed || viewer.restarting)
921
+ return;
922
+ this.send(viewer, BROWSER_STREAM_DISCONNECTED);
923
+ this.close(viewer, true, true);
924
+ });
925
+ socket.addEventListener("close", (event) => {
926
+ if (!viewer.restarting)
927
+ this.close(viewer, true, !event.wasClean || event.code !== 1000);
928
+ });
922
929
  // Handlers go on before awaiting the upgrade: upstream sends its cached status, tabs and first frame right after opening.
923
930
  await new Promise((resolve, reject) => {
924
931
  const timer = setTimeout(() => reject(new BrowserLiveError("The browser stream did not connect. Reopen the browser panel.", 503)), 10_000);
925
932
  const failed = () => { clearTimeout(timer); reject(new BrowserLiveError("The browser stream did not connect. Reopen the browser panel.", 503)); };
926
933
  socket.addEventListener("error", failed, { once: true });
927
934
  socket.addEventListener("close", failed, { once: true });
928
- socket.addEventListener("open", () => { clearTimeout(timer); socket.removeEventListener("error", failed); socket.removeEventListener("close", failed); resolve(); }, { once: true });
935
+ socket.addEventListener("open", () => {
936
+ clearTimeout(timer);
937
+ socket.removeEventListener("error", failed);
938
+ socket.removeEventListener("close", failed);
939
+ viewer.waiting = false;
940
+ this.send(viewer, { type: "ready", viewerId: viewer.id, inputBatch: INPUT_BATCH_LIMIT });
941
+ this.control(viewer.session);
942
+ resolve();
943
+ }, { once: true });
929
944
  });
930
945
  if (!this.current(viewer)) {
931
946
  this.close(viewer);
@@ -950,10 +965,10 @@ export class BrowserLive {
950
965
  const busy = error instanceof BrowserBusyError;
951
966
  const explained = busy || error instanceof BrowserUnresponsiveError;
952
967
  this.send(viewer, { type: "error", retryable: !busy, message: explained ? error.message : "The browser stream could not start.", ...userErrorFields(error) });
953
- this.close(viewer);
968
+ this.close(viewer, true, true);
954
969
  return;
955
970
  }
956
- this.close(viewer, options.res.headersSent);
971
+ this.close(viewer, false, true);
957
972
  throw error instanceof BrowserLiveError ? error : new BrowserLiveError("The browser stream could not start. Reopen the browser panel.", 503);
958
973
  }
959
974
  }
@@ -1104,7 +1119,7 @@ export class BrowserLive {
1104
1119
  const holder = this.runtime.heldBy(viewer.session);
1105
1120
  if (holder && holder !== viewer.person)
1106
1121
  return new BrowserLiveError(BROWSER_HELD_ELSEWHERE, 409);
1107
- return new BrowserLiveError(this.runtime.interrupted(viewer.session) ? RESTART_NEEDED : otherwise, 409);
1122
+ return this.runtime.interrupted(viewer.session) ? browserRestartNeeded() : new BrowserLiveError(otherwise, 409);
1108
1123
  }
1109
1124
  /** Done on a sign-in card, from any window or device: whoever holds this browser hands it back. */
1110
1125
  handBack(session) {
@@ -109,6 +109,8 @@ export const USER_ERROR = {
109
109
  "serverError.engineCheck.timeout": "{name} didn't answer within {seconds} seconds.",
110
110
  "serverError.request.bodyTimeout": "The request took too long. Check the connection and try again.",
111
111
  "serverError.browser.restartingUnresponsive": "The browser stopped responding, so it is being restarted. The live view reconnects by itself.",
112
+ "serverError.browser.restartNeeded": "A browser action was interrupted. Choose Restart browser… in the browser menu before continuing.",
113
+ "serverError.browser.streamDisconnected": "The browser stream disconnected.",
112
114
  "serverError.computer.desktopOnly": "Only the Limix Bot app on this computer can let a bot use it. Open the app here, or let the bot work in its own browser or on a cloud desktop instead.",
113
115
  "serverError.computer.permissionsThenRestart": "Limix Bot can't use this computer yet — make sure Limix Bot has the permissions it asks for, then restart it",
114
116
  "serverError.computer.notReadyDetail": "Limix Bot can't use this computer yet — {reason}",
@@ -1349,26 +1349,27 @@ such bot","serverError.owner.personal":"{bot} is {name}'s own Limix Bot: it alwa
1349
1349
  .department.emptyFirst":"Move all bots (including archived bots) and group chats out of this department first","serverError.department.deleteBusy":"Stop this department's active work before deleting it","serverError.department.generalChief":"General already has a Chief of Staff. Move or change this department's Chief before deleting it","serverError.backup.recursiveLink":"Cannot back up a symbolic link to the folder that contains it: {path}","serverError.setup.noTools":"This bot's AI can't set i\
1350
1350
  t up by itself. Tell the bot what you'd like it to do instead.","serverError.setup.missingConversation":"There is no such conversation.","serverError.setup.stopOwner":"Only the person who pressed Set me up, or an owner or admin, can stop it.","serverError.setup.hasInstructions":"This bot already has instructions. To change its job, type /setup and what you'd like it to do.","serverError.setup.started":"This chat has already started. Type /setup and what you'd like this bot to do.","serverError.s\
1351
1351
  etup.someoneElse":"Someone else is setting this bot up.","serverError.approval.allThreads":"Finish this bot's approval change first. Every thread's provider must support this approval level.","serverError.approval.pending":"Finish this bot's pending approval change first","serverError.approval.provider":"Use the bot's provider on this thread before applying its approval level","serverError.engineCheck.timeout":"{name} didn't answer within {seconds} seconds.","serverError.request.bodyTimeout":"Th\
1352
- e request took too long. Check the connection and try again.","serverError.browser.restartingUnresponsive":"The browser stopped responding, so it is being restarted. The live view reconnects by itself.","serverError.computer.desktopOnly":"Only the Limix Bot app on this computer can let a bot use it. Open the app here, or let the bot work in its own browser or on a cloud desktop instead.","serverError.computer.permissionsThenRestart":"Limix Bot can't use this computer yet \u2014 make sure Limix Bot ha\
1353
- s the permissions it asks for, then restart it","serverError.computer.notReadyDetail":"Limix Bot can't use this computer yet \u2014 {reason}","serverError.computer.notReadyMacPermission":"Limix Bot can't use this computer yet \u2014 {reason}. Relaunch Limix Bot after granting the missing macOS permission.","serverError.install.invalidDetails":"{name}'s install details are invalid. Nothing was downloaded.","serverError.install.versionGone":"This version of {name} is no longer available to downloa\
1354
- d. Update Limix Bot, then try again.","serverError.install.downloadLimited":"The download site is limiting downloads right now. Try again in a few minutes.","serverError.install.siteNotAnswering":"{name}'s download site isn't answering right now. Try again later.","serverError.install.downloadFailed":"{name} couldn't be downloaded. Check the internet connection and try again.","serverError.install.downloadTooLarge":"The {name} download was larger than expected, so it was stopped. Nothing was ins\
1355
- talled.","serverError.install.unofficialDownload":"The {name} download did not come from its official site, so it was stopped. Nothing was installed.","serverError.install.redirects":"The {name} download kept redirecting, so it was stopped. Nothing was installed.","serverError.install.safetyCheck":"The {name} download failed its safety check, so nothing was installed. Try again later.","serverError.install.downloadTimeout":"The {name} download took too long and was stopped. Check the internet co\
1356
- nnection and try again.","serverError.install.unsafeArchive":"The archive contains an unexpected or unsafe file. Nothing was installed.","serverError.install.unsafeFile":"The {name} download holds an unexpected or unsafe file, so nothing was installed.","serverError.install.notPlainFolder":"Limix Bot's folder for {name} is not a plain folder ({path}), so nothing was changed. Move it away, then try again.","serverError.install.unexpectedFolder":"Limix Bot's folder for {name} holds something it di\
1357
- d not put there ({path}), so nothing was changed. Move it away, then try again.","serverError.install.diskSpace":"There is not enough free disk space to install {name}. Free up about {megabytes} MB, then try again.","serverError.install.openElsewhere":"{name} is open in another window. Close it, then try again.","serverError.install.cannotWrite":"Limix Bot can't write to its folder for {name}. Check the folder's permissions, then try again.","serverError.install.failed":"{name} couldn't be insta\
1358
- lled. Try again.","serverError.install.noDownload":"{name} has no download for this computer.","serverError.install.existingDoesNotStart":"{name} is installed, but it doesn't start on this computer ({failure}). Nothing was changed.","serverError.install.programMissing":"The {name} download did not contain the program it should, so nothing was installed.","serverError.install.notSigned":"The downloaded {name} is not signed by its maker, so nothing was installed.","serverError.install.downloadDoes\
1359
- NotStart":"{name} was downloaded, but it doesn't start on this computer ({failure}). Nothing was installed.","serverError.secret.missing":"no such credential request","serverError.secret.settingsCard":"this card saves a key in Settings","serverError.secret.savingFromPhone":"this secret is currently being saved from a phone","serverError.secret.declined":"this request was declined","serverError.secret.replaced":"this request was replaced by a newer one","serverError.secret.taskStopped":"this requ\
1360
- est stopped with its task","serverError.secret.alreadySaved":"this secret was already saved","serverError.secret.valueSize":"Enter the secret: up to {bytes} bytes.","serverError.secret.notKeptSafely":"The secret could not be kept safely. Nothing was saved.","serverError.secret.unavailableLower":"this credential request is no longer available","serverError.signIn.requestMissing":"no such sign-in request","serverError.signIn.requestReplaced":"this sign-in request was superseded by a newer one","se\
1361
- rverError.signIn.answeredInChat":"this sign-in request was already answered in the chat","serverError.signIn.alreadyDone":"this sign-in request was already marked done","serverError.signIn.alreadyCancelled":"this sign-in request was already cancelled","serverError.inbox.answerNotPassed":"That answer can't be passed back.","serverError.room.nameOneLine":"room name must fit on one line","serverError.computer.systemUnsupported":"bots can't use this computer on this system \u2014 choose another place for\
1362
- this bot to work","serverError.computer.aiUnsupported":"this bot's AI can't use this computer \u2014 pick another AI for this bot, or choose another place for it to work","serverError.wait.alreadyEnded":"This wait has already ended.","serverError.botDefaults.nameLength":"name must be at most 100 characters","serverError.botDefaults.sectionLength":"section must be at most 60 characters","serverError.botDefaults.invalid":"These bot settings are not valid.","serverError.postiz.addressHttps":"Enter\
1363
- your Postiz server's address, starting with https://.","serverError.postiz.addressNoCredentials":"Leave any user name or password out of the Postiz address.","serverError.postiz.addressNoQuery":"Enter the Postiz address without anything after ? or #.","serverError.postiz.addressLocalHttp":"Use an https:// address. Plain http:// works only for a Postiz server on this computer.","serverError.postiz.addressUseHttps":"Use your Postiz server's https:// address.","serverError.postiz.addressContainsKe\
1364
- y":"That address has a key in it. Enter the server address alone, and paste the key in its own box.","serverError.postiz.mcpUpdating":"MCP servers are being updated. Try again in a moment.","serverError.setup.limixbotMissing":"no such Limix Bot","serverError.setup.limixbotOwnerOnly":"only Limix Bot's own person can do this","serverError.setup.noIntroToFollowUp":"this conversation has no intro to follow up","serverError.inbox.missing":"There is no inbox here.","serverError.inbox.lineMissing":"Tha\
1365
- t line is not in your inbox.","serverError.inbox.answerRequired":"This waits on your answer: answer it, or close it, where it asks.","serverError.instance.settingsInvalid":"Supply a valid CLI path, account name, configuration directory, boolean tools setting or a reply wait of 1 to 60 minutes.","serverError.instance.replyWaitUnsupported":"The reply wait is available for OpenAI-compatible servers only.","serverError.instance.modelsUnsupported":"Model IDs can be changed for added OpenAI-compatible\
1366
- servers only.","serverError.instance.defaultModelRemoved":"{model} is the default model. Choose another default model before removing it from this server.","serverError.mcp.personalHeadersShared":"Personal MCP header values cannot be saved in shared configuration. Save your key in your personal connection.","serverError.mcp.testSignInFirst":"Sign in to the team to test your own connection.","serverError.postiz.adminOnly":"Only the owner or an admin can manage the Postiz connection.","serverErro\
1367
- r.postiz.keyAlone":"Paste the Postiz API key alone.","serverError.postiz.addressAsText":"Send the Postiz address as text.","serverError.secret.localService":"A local service cannot enter a secret. Enter it in Limix Bot.","serverError.secret.cloudOwnerOnly":"Only the owner of this Cloud can enter this secret.","serverError.secret.conversationOwnerOnly":"Only the person this conversation belongs to can enter this secret.","serverError.secret.credentialSavingFromPhone":"this credential is currently\
1368
- being saved from a phone","serverError.secret.credentialDismissed":"this credential request was dismissed","serverError.secret.credentialSuperseded":"this credential request was superseded by a newer one","serverError.secret.notSavedYet":"{label} was not saved yet","serverError.secret.notReadyToResume":"this credential request is not ready to resume","serverError.secret.noLongerConfigured":"{label} is no longer configured","serverError.department.moveChiefConflict":"A department can have only o\
1369
- ne Chief of Staff. Change the Chief before moving this bot.","serverError.department.membershipChanged":"Department membership changed. Reopen the dialog and try again.","serverError.mcp.addressAsText":"Send the MCP server address as text.","serverError.mcp.addressChanged":"The MCP server address changed. Reload the server and try again.","serverError.attachment.alreadyInMessage":"This file is already in a message, so it stays.","serverError.engine.signedOut":"{name} is signed out.","serverError\
1370
- .bot.viewOnly":"You can view {bot}, not chat with it.","serverError.secret.mailboxAlreadyConnected":"this mailbox was already connected","serverError.secret.emailAndPassword":"Enter your email address and its password.","serverError.secret.emailUnavailable":"Email can't be connected here.","serverError.mailbox.adminOnly":"Only the owner or an admin can manage the mailboxes.","serverError.mailbox.addressAndPassword":"Enter your email address and password.","serverError.mailbox.outgoingFields":"Ch\
1371
- eck the outgoing server: a name like mail.example.com, a port from 1 to 65535, and SSL/TLS or STARTTLS.","serverError.voice.fishKeyRequired":"Add a Fish Audio key in Settings \u2192 API keys to talk to your bots here.","serverError.voice.fishTranscribeConnection":"Couldn't reach Fish Audio to hear you \u2014 check your connection.","serverError.file.tooLarge":"This file is {size}, over the {limit} limit for opening files from chat. The file itself is still saved as {name}."};var BOT_PROFILE_LIMITS={name:100,title:200,description:4e3,voice:200,soul:24e3};function fitsOnOneLine(value){for(let i=0;i<value.length;i+=1){let code=value.charCodeAt(i);if(code<32||code>=127&&code<=159||code===8232||code===8233)return!1}return!0}var REPLY_STYLES=["default","conversational"];var MASCOT_BODY_IDS=["cursor","blob","circle","squircle","capsule","drop","shield","hexagon","diamond","star"],mascotBodySchema=external_exports.enum(MASCOT_BODY_IDS);var HALLOWEEN_BODY_IDS=["pumpkin","ghost","witch","bat","cat","skull","monster","mummy","vampire","spider"],DIWALI_BODY_IDS=["rocket","anaar","chakri","sparkler","bomb","laddu","chakli","jalebi","katli","karanji"],CARVED_BODY_IDS=[...HALLOWEEN_BODY_IDS,...DIWALI_BODY_IDS];var BOT_BODY_IDS=[...MASCOT_BODY_IDS,...CARVED_BODY_IDS],botBodySchema=external_exports.enum(BOT_BODY_IDS);var festival=(bodies,costumes)=>({bodies,costumes}),FESTIVALS={halloween:festival(HALLOWEEN_BODY_IDS,{orange:"pumpkin",purple:"ghost",teal:"witch",red:"bat",blue:"cat",cyan:"skull",green:"monster",yellow:"mummy",coral:"vampire",pink:"spider"}),diwali:festival(DIWALI_BODY_IDS,{orange:"laddu",purple:"chakri",teal:"karanji",red:"rocket",blue:"bomb",cyan:"chakli",green:"anaar",yellow:"katli",coral:"jalebi",pink:"sparkler"})},FESTIVAL_IDS=Object.keys(FESTIVALS);var profilePatchSchema=external_exports.object({name:external_exports.string({error:"name must be a string"}).max(BOT_PROFILE_LIMITS.name,{error:"name must be at most 100 characters"}).refine(value=>!!value.trim(),{error:"name must not be empty"}).refine(fitsOnOneLine,{error:"name must fit on one line"}).optional(),title:external_exports.string({error:"title must be a string"}).max(BOT_PROFILE_LIMITS.title,{error:"title must be at most 200 characters"}).refine(fitsOnOneLine,{error:"title must fi\
1352
+ e request took too long. Check the connection and try again.","serverError.browser.restartingUnresponsive":"The browser stopped responding, so it is being restarted. The live view reconnects by itself.","serverError.browser.restartNeeded":"A browser action was interrupted. Choose Restart browser\u2026 in the browser menu before continuing.","serverError.browser.streamDisconnected":"The browser stream disconnected.","serverError.computer.desktopOnly":"Only the Limix Bot app on this computer can l\
1353
+ et a bot use it. Open the app here, or let the bot work in its own browser or on a cloud desktop instead.","serverError.computer.permissionsThenRestart":"Limix Bot can't use this computer yet \u2014 make sure Limix Bot has the permissions it asks for, then restart it","serverError.computer.notReadyDetail":"Limix Bot can't use this computer yet \u2014 {reason}","serverError.computer.notReadyMacPermission":"Limix Bot can't use this computer yet \u2014 {reason}. Relaunch Limix Bot after granting the mis\
1354
+ sing macOS permission.","serverError.install.invalidDetails":"{name}'s install details are invalid. Nothing was downloaded.","serverError.install.versionGone":"This version of {name} is no longer available to download. Update Limix Bot, then try again.","serverError.install.downloadLimited":"The download site is limiting downloads right now. Try again in a few minutes.","serverError.install.siteNotAnswering":"{name}'s download site isn't answering right now. Try again later.","serverError.instal\
1355
+ l.downloadFailed":"{name} couldn't be downloaded. Check the internet connection and try again.","serverError.install.downloadTooLarge":"The {name} download was larger than expected, so it was stopped. Nothing was installed.","serverError.install.unofficialDownload":"The {name} download did not come from its official site, so it was stopped. Nothing was installed.","serverError.install.redirects":"The {name} download kept redirecting, so it was stopped. Nothing was installed.","serverError.instal\
1356
+ l.safetyCheck":"The {name} download failed its safety check, so nothing was installed. Try again later.","serverError.install.downloadTimeout":"The {name} download took too long and was stopped. Check the internet connection and try again.","serverError.install.unsafeArchive":"The archive contains an unexpected or unsafe file. Nothing was installed.","serverError.install.unsafeFile":"The {name} download holds an unexpected or unsafe file, so nothing was installed.","serverError.install.notPlainF\
1357
+ older":"Limix Bot's folder for {name} is not a plain folder ({path}), so nothing was changed. Move it away, then try again.","serverError.install.unexpectedFolder":"Limix Bot's folder for {name} holds something it did not put there ({path}), so nothing was changed. Move it away, then try again.","serverError.install.diskSpace":"There is not enough free disk space to install {name}. Free up about {megabytes} MB, then try again.","serverError.install.openElsewhere":"{name} is open in another windo\
1358
+ w. Close it, then try again.","serverError.install.cannotWrite":"Limix Bot can't write to its folder for {name}. Check the folder's permissions, then try again.","serverError.install.failed":"{name} couldn't be installed. Try again.","serverError.install.noDownload":"{name} has no download for this computer.","serverError.install.existingDoesNotStart":"{name} is installed, but it doesn't start on this computer ({failure}). Nothing was changed.","serverError.install.programMissing":"The {name} do\
1359
+ wnload did not contain the program it should, so nothing was installed.","serverError.install.notSigned":"The downloaded {name} is not signed by its maker, so nothing was installed.","serverError.install.downloadDoesNotStart":"{name} was downloaded, but it doesn't start on this computer ({failure}). Nothing was installed.","serverError.secret.missing":"no such credential request","serverError.secret.settingsCard":"this card saves a key in Settings","serverError.secret.savingFromPhone":"this secr\
1360
+ et is currently being saved from a phone","serverError.secret.declined":"this request was declined","serverError.secret.replaced":"this request was replaced by a newer one","serverError.secret.taskStopped":"this request stopped with its task","serverError.secret.alreadySaved":"this secret was already saved","serverError.secret.valueSize":"Enter the secret: up to {bytes} bytes.","serverError.secret.notKeptSafely":"The secret could not be kept safely. Nothing was saved.","serverError.secret.unavai\
1361
+ lableLower":"this credential request is no longer available","serverError.signIn.requestMissing":"no such sign-in request","serverError.signIn.requestReplaced":"this sign-in request was superseded by a newer one","serverError.signIn.answeredInChat":"this sign-in request was already answered in the chat","serverError.signIn.alreadyDone":"this sign-in request was already marked done","serverError.signIn.alreadyCancelled":"this sign-in request was already cancelled","serverError.inbox.answerNotPass\
1362
+ ed":"That answer can't be passed back.","serverError.room.nameOneLine":"room name must fit on one line","serverError.computer.systemUnsupported":"bots can't use this computer on this system \u2014 choose another place for this bot to work","serverError.computer.aiUnsupported":"this bot's AI can't use this computer \u2014 pick another AI for this bot, or choose another place for it to work","serverError.wait.alreadyEnded":"This wait has already ended.","serverError.botDefaults.nameLength":"name m\
1363
+ ust be at most 100 characters","serverError.botDefaults.sectionLength":"section must be at most 60 characters","serverError.botDefaults.invalid":"These bot settings are not valid.","serverError.postiz.addressHttps":"Enter your Postiz server's address, starting with https://.","serverError.postiz.addressNoCredentials":"Leave any user name or password out of the Postiz address.","serverError.postiz.addressNoQuery":"Enter the Postiz address without anything after ? or #.","serverError.postiz.addres\
1364
+ sLocalHttp":"Use an https:// address. Plain http:// works only for a Postiz server on this computer.","serverError.postiz.addressUseHttps":"Use your Postiz server's https:// address.","serverError.postiz.addressContainsKey":"That address has a key in it. Enter the server address alone, and paste the key in its own box.","serverError.postiz.mcpUpdating":"MCP servers are being updated. Try again in a moment.","serverError.setup.limixbotMissing":"no such Limix Bot","serverError.setup.limixbotOwnerO\
1365
+ nly":"only Limix Bot's own person can do this","serverError.setup.noIntroToFollowUp":"this conversation has no intro to follow up","serverError.inbox.missing":"There is no inbox here.","serverError.inbox.lineMissing":"That line is not in your inbox.","serverError.inbox.answerRequired":"This waits on your answer: answer it, or close it, where it asks.","serverError.instance.settingsInvalid":"Supply a valid CLI path, account name, configuration directory, boolean tools setting or a reply wait of 1\
1366
+ to 60 minutes.","serverError.instance.replyWaitUnsupported":"The reply wait is available for OpenAI-compatible servers only.","serverError.instance.modelsUnsupported":"Model IDs can be changed for added OpenAI-compatible servers only.","serverError.instance.defaultModelRemoved":"{model} is the default model. Choose another default model before removing it from this server.","serverError.mcp.personalHeadersShared":"Personal MCP header values cannot be saved in shared configuration. Save your key\
1367
+ in your personal connection.","serverError.mcp.testSignInFirst":"Sign in to the team to test your own connection.","serverError.postiz.adminOnly":"Only the owner or an admin can manage the Postiz connection.","serverError.postiz.keyAlone":"Paste the Postiz API key alone.","serverError.postiz.addressAsText":"Send the Postiz address as text.","serverError.secret.localService":"A local service cannot enter a secret. Enter it in Limix Bot.","serverError.secret.cloudOwnerOnly":"Only the owner of thi\
1368
+ s Cloud can enter this secret.","serverError.secret.conversationOwnerOnly":"Only the person this conversation belongs to can enter this secret.","serverError.secret.credentialSavingFromPhone":"this credential is currently being saved from a phone","serverError.secret.credentialDismissed":"this credential request was dismissed","serverError.secret.credentialSuperseded":"this credential request was superseded by a newer one","serverError.secret.notSavedYet":"{label} was not saved yet","serverError\
1369
+ .secret.notReadyToResume":"this credential request is not ready to resume","serverError.secret.noLongerConfigured":"{label} is no longer configured","serverError.department.moveChiefConflict":"A department can have only one Chief of Staff. Change the Chief before moving this bot.","serverError.department.membershipChanged":"Department membership changed. Reopen the dialog and try again.","serverError.mcp.addressAsText":"Send the MCP server address as text.","serverError.mcp.addressChanged":"The \
1370
+ MCP server address changed. Reload the server and try again.","serverError.attachment.alreadyInMessage":"This file is already in a message, so it stays.","serverError.engine.signedOut":"{name} is signed out.","serverError.bot.viewOnly":"You can view {bot}, not chat with it.","serverError.secret.mailboxAlreadyConnected":"this mailbox was already connected","serverError.secret.emailAndPassword":"Enter your email address and its password.","serverError.secret.emailUnavailable":"Email can't be conne\
1371
+ cted here.","serverError.mailbox.adminOnly":"Only the owner or an admin can manage the mailboxes.","serverError.mailbox.addressAndPassword":"Enter your email address and password.","serverError.mailbox.outgoingFields":"Check the outgoing server: a name like mail.example.com, a port from 1 to 65535, and SSL/TLS or STARTTLS.","serverError.voice.fishKeyRequired":"Add a Fish Audio key in Settings \u2192 API keys to talk to your bots here.","serverError.voice.fishTranscribeConnection":"Couldn't reach\
1372
+ Fish Audio to hear you \u2014 check your connection.","serverError.file.tooLarge":"This file is {size}, over the {limit} limit for opening files from chat. The file itself is still saved as {name}."};var BOT_PROFILE_LIMITS={name:100,title:200,description:4e3,voice:200,soul:24e3};function fitsOnOneLine(value){for(let i=0;i<value.length;i+=1){let code=value.charCodeAt(i);if(code<32||code>=127&&code<=159||code===8232||code===8233)return!1}return!0}var REPLY_STYLES=["default","conversational"];var MASCOT_BODY_IDS=["cursor","blob","circle","squircle","capsule","drop","shield","hexagon","diamond","star"],mascotBodySchema=external_exports.enum(MASCOT_BODY_IDS);var HALLOWEEN_BODY_IDS=["pumpkin","ghost","witch","bat","cat","skull","monster","mummy","vampire","spider"],DIWALI_BODY_IDS=["rocket","anaar","chakri","sparkler","bomb","laddu","chakli","jalebi","katli","karanji"],CARVED_BODY_IDS=[...HALLOWEEN_BODY_IDS,...DIWALI_BODY_IDS];var BOT_BODY_IDS=[...MASCOT_BODY_IDS,...CARVED_BODY_IDS],botBodySchema=external_exports.enum(BOT_BODY_IDS);var festival=(bodies,costumes)=>({bodies,costumes}),FESTIVALS={halloween:festival(HALLOWEEN_BODY_IDS,{orange:"pumpkin",purple:"ghost",teal:"witch",red:"bat",blue:"cat",cyan:"skull",green:"monster",yellow:"mummy",coral:"vampire",pink:"spider"}),diwali:festival(DIWALI_BODY_IDS,{orange:"laddu",purple:"chakri",teal:"karanji",red:"rocket",blue:"bomb",cyan:"chakli",green:"anaar",yellow:"katli",coral:"jalebi",pink:"sparkler"})},FESTIVAL_IDS=Object.keys(FESTIVALS);var profilePatchSchema=external_exports.object({name:external_exports.string({error:"name must be a string"}).max(BOT_PROFILE_LIMITS.name,{error:"name must be at most 100 characters"}).refine(value=>!!value.trim(),{error:"name must not be empty"}).refine(fitsOnOneLine,{error:"name must fit on one line"}).optional(),title:external_exports.string({error:"title must be a string"}).max(BOT_PROFILE_LIMITS.title,{error:"title must be at most 200 characters"}).refine(fitsOnOneLine,{error:"title must fi\
1372
1373
  t on one line"}).optional(),description:external_exports.string({error:"description must be a string"}).max(BOT_PROFILE_LIMITS.description,{error:"description must be at most 4000 characters"}).optional(),soul:external_exports.string({error:"soul must be a string"}).refine(value=>Buffer.byteLength(value,"utf8")<=BOT_PROFILE_LIMITS.soul,{error:"standing instructions must be at most 24000 bytes"}).optional(),notifications:external_exports.boolean({error:"notifications must be true or false"}).optional(),
1373
1374
  avatarUrl:external_exports.union([botAvatarUrlSchema,external_exports.literal(""),external_exports.null()],{error:"avatarUrl must be a stored PNG, JPEG, GIF, or WebP attachment"}).optional(),avatarCrop:botAvatarCropSchema.optional(),avatarZoom:external_exports.number({error:"avatarZoom must be a number from 1 to 3"}).finite().min(AVATAR_ZOOM_MIN).max(AVATAR_ZOOM_MAX).optional(),avatarFocusX:external_exports.number({error:"avatarFocusX must be a number from 0 to 1"}).finite().min(0).max(1).optional(),
1374
1375
  avatarFocusY:external_exports.number({error:"avatarFocusY must be a number from 0 to 1"}).finite().min(0).max(1).optional(),mascotBody:botBodySchema.optional(),mascotFaceColor:mascotFaceColorSchema.nullable().optional(),voice:external_exports.string({error:"voice must be a string"}).max(BOT_PROFILE_LIMITS.voice,{error:"voice must be at most 200 characters"}).optional(),speakReplies:external_exports.boolean({error:"speakReplies must be true or false"}).optional(),replyStyle:external_exports.enum(
@@ -196,28 +196,28 @@ such bot","serverError.owner.personal":"{bot} is {name}'s own Limix Bot: it alwa
196
196
  .department.emptyFirst":"Move all bots (including archived bots) and group chats out of this department first","serverError.department.deleteBusy":"Stop this department's active work before deleting it","serverError.department.generalChief":"General already has a Chief of Staff. Move or change this department's Chief before deleting it","serverError.backup.recursiveLink":"Cannot back up a symbolic link to the folder that contains it: {path}","serverError.setup.noTools":"This bot's AI can't set i\
197
197
  t up by itself. Tell the bot what you'd like it to do instead.","serverError.setup.missingConversation":"There is no such conversation.","serverError.setup.stopOwner":"Only the person who pressed Set me up, or an owner or admin, can stop it.","serverError.setup.hasInstructions":"This bot already has instructions. To change its job, type /setup and what you'd like it to do.","serverError.setup.started":"This chat has already started. Type /setup and what you'd like this bot to do.","serverError.s\
198
198
  etup.someoneElse":"Someone else is setting this bot up.","serverError.approval.allThreads":"Finish this bot's approval change first. Every thread's provider must support this approval level.","serverError.approval.pending":"Finish this bot's pending approval change first","serverError.approval.provider":"Use the bot's provider on this thread before applying its approval level","serverError.engineCheck.timeout":"{name} didn't answer within {seconds} seconds.","serverError.request.bodyTimeout":"Th\
199
- e request took too long. Check the connection and try again.","serverError.browser.restartingUnresponsive":"The browser stopped responding, so it is being restarted. The live view reconnects by itself.","serverError.computer.desktopOnly":"Only the Limix Bot app on this computer can let a bot use it. Open the app here, or let the bot work in its own browser or on a cloud desktop instead.","serverError.computer.permissionsThenRestart":"Limix Bot can't use this computer yet \u2014 make sure Limix Bot ha\
200
- s the permissions it asks for, then restart it","serverError.computer.notReadyDetail":"Limix Bot can't use this computer yet \u2014 {reason}","serverError.computer.notReadyMacPermission":"Limix Bot can't use this computer yet \u2014 {reason}. Relaunch Limix Bot after granting the missing macOS permission.","serverError.install.invalidDetails":"{name}'s install details are invalid. Nothing was downloaded.","serverError.install.versionGone":"This version of {name} is no longer available to downloa\
201
- d. Update Limix Bot, then try again.","serverError.install.downloadLimited":"The download site is limiting downloads right now. Try again in a few minutes.","serverError.install.siteNotAnswering":"{name}'s download site isn't answering right now. Try again later.","serverError.install.downloadFailed":"{name} couldn't be downloaded. Check the internet connection and try again.","serverError.install.downloadTooLarge":"The {name} download was larger than expected, so it was stopped. Nothing was ins\
202
- talled.","serverError.install.unofficialDownload":"The {name} download did not come from its official site, so it was stopped. Nothing was installed.","serverError.install.redirects":"The {name} download kept redirecting, so it was stopped. Nothing was installed.","serverError.install.safetyCheck":"The {name} download failed its safety check, so nothing was installed. Try again later.","serverError.install.downloadTimeout":"The {name} download took too long and was stopped. Check the internet co\
203
- nnection and try again.","serverError.install.unsafeArchive":"The archive contains an unexpected or unsafe file. Nothing was installed.","serverError.install.unsafeFile":"The {name} download holds an unexpected or unsafe file, so nothing was installed.","serverError.install.notPlainFolder":"Limix Bot's folder for {name} is not a plain folder ({path}), so nothing was changed. Move it away, then try again.","serverError.install.unexpectedFolder":"Limix Bot's folder for {name} holds something it di\
204
- d not put there ({path}), so nothing was changed. Move it away, then try again.","serverError.install.diskSpace":"There is not enough free disk space to install {name}. Free up about {megabytes} MB, then try again.","serverError.install.openElsewhere":"{name} is open in another window. Close it, then try again.","serverError.install.cannotWrite":"Limix Bot can't write to its folder for {name}. Check the folder's permissions, then try again.","serverError.install.failed":"{name} couldn't be insta\
205
- lled. Try again.","serverError.install.noDownload":"{name} has no download for this computer.","serverError.install.existingDoesNotStart":"{name} is installed, but it doesn't start on this computer ({failure}). Nothing was changed.","serverError.install.programMissing":"The {name} download did not contain the program it should, so nothing was installed.","serverError.install.notSigned":"The downloaded {name} is not signed by its maker, so nothing was installed.","serverError.install.downloadDoes\
206
- NotStart":"{name} was downloaded, but it doesn't start on this computer ({failure}). Nothing was installed.","serverError.secret.missing":"no such credential request","serverError.secret.settingsCard":"this card saves a key in Settings","serverError.secret.savingFromPhone":"this secret is currently being saved from a phone","serverError.secret.declined":"this request was declined","serverError.secret.replaced":"this request was replaced by a newer one","serverError.secret.taskStopped":"this requ\
207
- est stopped with its task","serverError.secret.alreadySaved":"this secret was already saved","serverError.secret.valueSize":"Enter the secret: up to {bytes} bytes.","serverError.secret.notKeptSafely":"The secret could not be kept safely. Nothing was saved.","serverError.secret.unavailableLower":"this credential request is no longer available","serverError.signIn.requestMissing":"no such sign-in request","serverError.signIn.requestReplaced":"this sign-in request was superseded by a newer one","se\
208
- rverError.signIn.answeredInChat":"this sign-in request was already answered in the chat","serverError.signIn.alreadyDone":"this sign-in request was already marked done","serverError.signIn.alreadyCancelled":"this sign-in request was already cancelled","serverError.inbox.answerNotPassed":"That answer can't be passed back.","serverError.room.nameOneLine":"room name must fit on one line","serverError.computer.systemUnsupported":"bots can't use this computer on this system \u2014 choose another place for\
209
- this bot to work","serverError.computer.aiUnsupported":"this bot's AI can't use this computer \u2014 pick another AI for this bot, or choose another place for it to work","serverError.wait.alreadyEnded":"This wait has already ended.","serverError.botDefaults.nameLength":"name must be at most 100 characters","serverError.botDefaults.sectionLength":"section must be at most 60 characters","serverError.botDefaults.invalid":"These bot settings are not valid.","serverError.postiz.addressHttps":"Enter\
210
- your Postiz server's address, starting with https://.","serverError.postiz.addressNoCredentials":"Leave any user name or password out of the Postiz address.","serverError.postiz.addressNoQuery":"Enter the Postiz address without anything after ? or #.","serverError.postiz.addressLocalHttp":"Use an https:// address. Plain http:// works only for a Postiz server on this computer.","serverError.postiz.addressUseHttps":"Use your Postiz server's https:// address.","serverError.postiz.addressContainsKe\
211
- y":"That address has a key in it. Enter the server address alone, and paste the key in its own box.","serverError.postiz.mcpUpdating":"MCP servers are being updated. Try again in a moment.","serverError.setup.limixbotMissing":"no such Limix Bot","serverError.setup.limixbotOwnerOnly":"only Limix Bot's own person can do this","serverError.setup.noIntroToFollowUp":"this conversation has no intro to follow up","serverError.inbox.missing":"There is no inbox here.","serverError.inbox.lineMissing":"Tha\
212
- t line is not in your inbox.","serverError.inbox.answerRequired":"This waits on your answer: answer it, or close it, where it asks.","serverError.instance.settingsInvalid":"Supply a valid CLI path, account name, configuration directory, boolean tools setting or a reply wait of 1 to 60 minutes.","serverError.instance.replyWaitUnsupported":"The reply wait is available for OpenAI-compatible servers only.","serverError.instance.modelsUnsupported":"Model IDs can be changed for added OpenAI-compatible\
213
- servers only.","serverError.instance.defaultModelRemoved":"{model} is the default model. Choose another default model before removing it from this server.","serverError.mcp.personalHeadersShared":"Personal MCP header values cannot be saved in shared configuration. Save your key in your personal connection.","serverError.mcp.testSignInFirst":"Sign in to the team to test your own connection.","serverError.postiz.adminOnly":"Only the owner or an admin can manage the Postiz connection.","serverErro\
214
- r.postiz.keyAlone":"Paste the Postiz API key alone.","serverError.postiz.addressAsText":"Send the Postiz address as text.","serverError.secret.localService":"A local service cannot enter a secret. Enter it in Limix Bot.","serverError.secret.cloudOwnerOnly":"Only the owner of this Cloud can enter this secret.","serverError.secret.conversationOwnerOnly":"Only the person this conversation belongs to can enter this secret.","serverError.secret.credentialSavingFromPhone":"this credential is currently\
215
- being saved from a phone","serverError.secret.credentialDismissed":"this credential request was dismissed","serverError.secret.credentialSuperseded":"this credential request was superseded by a newer one","serverError.secret.notSavedYet":"{label} was not saved yet","serverError.secret.notReadyToResume":"this credential request is not ready to resume","serverError.secret.noLongerConfigured":"{label} is no longer configured","serverError.department.moveChiefConflict":"A department can have only o\
216
- ne Chief of Staff. Change the Chief before moving this bot.","serverError.department.membershipChanged":"Department membership changed. Reopen the dialog and try again.","serverError.mcp.addressAsText":"Send the MCP server address as text.","serverError.mcp.addressChanged":"The MCP server address changed. Reload the server and try again.","serverError.attachment.alreadyInMessage":"This file is already in a message, so it stays.","serverError.engine.signedOut":"{name} is signed out.","serverError\
217
- .bot.viewOnly":"You can view {bot}, not chat with it.","serverError.secret.mailboxAlreadyConnected":"this mailbox was already connected","serverError.secret.emailAndPassword":"Enter your email address and its password.","serverError.secret.emailUnavailable":"Email can't be connected here.","serverError.mailbox.adminOnly":"Only the owner or an admin can manage the mailboxes.","serverError.mailbox.addressAndPassword":"Enter your email address and password.","serverError.mailbox.outgoingFields":"Ch\
218
- eck the outgoing server: a name like mail.example.com, a port from 1 to 65535, and SSL/TLS or STARTTLS.","serverError.voice.fishKeyRequired":"Add a Fish Audio key in Settings \u2192 API keys to talk to your bots here.","serverError.voice.fishTranscribeConnection":"Couldn't reach Fish Audio to hear you \u2014 check your connection.","serverError.file.tooLarge":"This file is {size}, over the {limit} limit for opening files from chat. The file itself is still saved as {name}."};function userError(key,params){
219
- let safe=params&&redactParams(params);return{error:formatServerText(USER_ERROR[key],safe),errorKey:key,...safe?{errorParams:safe}:{}}}function userErrorThrown(key,params){let{error:error62,...fields}=userError(key,params);return Object.assign(new Error(error62),fields)}function userErrorFields(value){let{errorKey,errorParams}=Object(value);if(typeof errorKey!="string"||!Object.hasOwn(USER_ERROR,errorKey))return{};let params=errorParams&&typeof errorParams=="object"&&!Array.isArray(errorParams)?redactParams(
220
- errorParams):void 0;return{errorKey,...params?{errorParams:params}:{}}}import{createHash,timingSafeEqual}from"node:crypto";function transferAccountHash(id2){if(typeof id2!="string"||!/^limix:[a-z0-9._-]{1,64}$/.test(id2))throw new Error("H\xE3y \u0111\u0103ng nh\u1EADp t\xE0i kho\u1EA3n Limix tr\u01B0\u1EDBc khi chuy\u1EC3n m\xE1y Offline.");return createHash("sha256").update(`limix-offline-transfer-v1:${id2}`).digest("hex")}import{createCipheriv,createDecipheriv,createHash as createHash3,randomBytes,randomUUID as randomUUID2,scrypt}from"node:crypto";import{chmodSync,closeSync as closeSync3,constants as constants2,cpSync,createReadStream,createWriteStream,existsSync as existsSync3,fstatSync as fstatSync3,fsyncSync as fsyncSync2,lstatSync as lstatSync3,mkdirSync as mkdirSync2,openSync as openSync3,readFileSync as readFileSync5,readdirSync as readdirSync3,readSync as readSync2,realpathSync,renameSync as renameSync4,rmSync as rmSync2,
199
+ e request took too long. Check the connection and try again.","serverError.browser.restartingUnresponsive":"The browser stopped responding, so it is being restarted. The live view reconnects by itself.","serverError.browser.restartNeeded":"A browser action was interrupted. Choose Restart browser\u2026 in the browser menu before continuing.","serverError.browser.streamDisconnected":"The browser stream disconnected.","serverError.computer.desktopOnly":"Only the Limix Bot app on this computer can l\
200
+ et a bot use it. Open the app here, or let the bot work in its own browser or on a cloud desktop instead.","serverError.computer.permissionsThenRestart":"Limix Bot can't use this computer yet \u2014 make sure Limix Bot has the permissions it asks for, then restart it","serverError.computer.notReadyDetail":"Limix Bot can't use this computer yet \u2014 {reason}","serverError.computer.notReadyMacPermission":"Limix Bot can't use this computer yet \u2014 {reason}. Relaunch Limix Bot after granting the mis\
201
+ sing macOS permission.","serverError.install.invalidDetails":"{name}'s install details are invalid. Nothing was downloaded.","serverError.install.versionGone":"This version of {name} is no longer available to download. Update Limix Bot, then try again.","serverError.install.downloadLimited":"The download site is limiting downloads right now. Try again in a few minutes.","serverError.install.siteNotAnswering":"{name}'s download site isn't answering right now. Try again later.","serverError.instal\
202
+ l.downloadFailed":"{name} couldn't be downloaded. Check the internet connection and try again.","serverError.install.downloadTooLarge":"The {name} download was larger than expected, so it was stopped. Nothing was installed.","serverError.install.unofficialDownload":"The {name} download did not come from its official site, so it was stopped. Nothing was installed.","serverError.install.redirects":"The {name} download kept redirecting, so it was stopped. Nothing was installed.","serverError.instal\
203
+ l.safetyCheck":"The {name} download failed its safety check, so nothing was installed. Try again later.","serverError.install.downloadTimeout":"The {name} download took too long and was stopped. Check the internet connection and try again.","serverError.install.unsafeArchive":"The archive contains an unexpected or unsafe file. Nothing was installed.","serverError.install.unsafeFile":"The {name} download holds an unexpected or unsafe file, so nothing was installed.","serverError.install.notPlainF\
204
+ older":"Limix Bot's folder for {name} is not a plain folder ({path}), so nothing was changed. Move it away, then try again.","serverError.install.unexpectedFolder":"Limix Bot's folder for {name} holds something it did not put there ({path}), so nothing was changed. Move it away, then try again.","serverError.install.diskSpace":"There is not enough free disk space to install {name}. Free up about {megabytes} MB, then try again.","serverError.install.openElsewhere":"{name} is open in another windo\
205
+ w. Close it, then try again.","serverError.install.cannotWrite":"Limix Bot can't write to its folder for {name}. Check the folder's permissions, then try again.","serverError.install.failed":"{name} couldn't be installed. Try again.","serverError.install.noDownload":"{name} has no download for this computer.","serverError.install.existingDoesNotStart":"{name} is installed, but it doesn't start on this computer ({failure}). Nothing was changed.","serverError.install.programMissing":"The {name} do\
206
+ wnload did not contain the program it should, so nothing was installed.","serverError.install.notSigned":"The downloaded {name} is not signed by its maker, so nothing was installed.","serverError.install.downloadDoesNotStart":"{name} was downloaded, but it doesn't start on this computer ({failure}). Nothing was installed.","serverError.secret.missing":"no such credential request","serverError.secret.settingsCard":"this card saves a key in Settings","serverError.secret.savingFromPhone":"this secr\
207
+ et is currently being saved from a phone","serverError.secret.declined":"this request was declined","serverError.secret.replaced":"this request was replaced by a newer one","serverError.secret.taskStopped":"this request stopped with its task","serverError.secret.alreadySaved":"this secret was already saved","serverError.secret.valueSize":"Enter the secret: up to {bytes} bytes.","serverError.secret.notKeptSafely":"The secret could not be kept safely. Nothing was saved.","serverError.secret.unavai\
208
+ lableLower":"this credential request is no longer available","serverError.signIn.requestMissing":"no such sign-in request","serverError.signIn.requestReplaced":"this sign-in request was superseded by a newer one","serverError.signIn.answeredInChat":"this sign-in request was already answered in the chat","serverError.signIn.alreadyDone":"this sign-in request was already marked done","serverError.signIn.alreadyCancelled":"this sign-in request was already cancelled","serverError.inbox.answerNotPass\
209
+ ed":"That answer can't be passed back.","serverError.room.nameOneLine":"room name must fit on one line","serverError.computer.systemUnsupported":"bots can't use this computer on this system \u2014 choose another place for this bot to work","serverError.computer.aiUnsupported":"this bot's AI can't use this computer \u2014 pick another AI for this bot, or choose another place for it to work","serverError.wait.alreadyEnded":"This wait has already ended.","serverError.botDefaults.nameLength":"name m\
210
+ ust be at most 100 characters","serverError.botDefaults.sectionLength":"section must be at most 60 characters","serverError.botDefaults.invalid":"These bot settings are not valid.","serverError.postiz.addressHttps":"Enter your Postiz server's address, starting with https://.","serverError.postiz.addressNoCredentials":"Leave any user name or password out of the Postiz address.","serverError.postiz.addressNoQuery":"Enter the Postiz address without anything after ? or #.","serverError.postiz.addres\
211
+ sLocalHttp":"Use an https:// address. Plain http:// works only for a Postiz server on this computer.","serverError.postiz.addressUseHttps":"Use your Postiz server's https:// address.","serverError.postiz.addressContainsKey":"That address has a key in it. Enter the server address alone, and paste the key in its own box.","serverError.postiz.mcpUpdating":"MCP servers are being updated. Try again in a moment.","serverError.setup.limixbotMissing":"no such Limix Bot","serverError.setup.limixbotOwnerO\
212
+ nly":"only Limix Bot's own person can do this","serverError.setup.noIntroToFollowUp":"this conversation has no intro to follow up","serverError.inbox.missing":"There is no inbox here.","serverError.inbox.lineMissing":"That line is not in your inbox.","serverError.inbox.answerRequired":"This waits on your answer: answer it, or close it, where it asks.","serverError.instance.settingsInvalid":"Supply a valid CLI path, account name, configuration directory, boolean tools setting or a reply wait of 1\
213
+ to 60 minutes.","serverError.instance.replyWaitUnsupported":"The reply wait is available for OpenAI-compatible servers only.","serverError.instance.modelsUnsupported":"Model IDs can be changed for added OpenAI-compatible servers only.","serverError.instance.defaultModelRemoved":"{model} is the default model. Choose another default model before removing it from this server.","serverError.mcp.personalHeadersShared":"Personal MCP header values cannot be saved in shared configuration. Save your key\
214
+ in your personal connection.","serverError.mcp.testSignInFirst":"Sign in to the team to test your own connection.","serverError.postiz.adminOnly":"Only the owner or an admin can manage the Postiz connection.","serverError.postiz.keyAlone":"Paste the Postiz API key alone.","serverError.postiz.addressAsText":"Send the Postiz address as text.","serverError.secret.localService":"A local service cannot enter a secret. Enter it in Limix Bot.","serverError.secret.cloudOwnerOnly":"Only the owner of thi\
215
+ s Cloud can enter this secret.","serverError.secret.conversationOwnerOnly":"Only the person this conversation belongs to can enter this secret.","serverError.secret.credentialSavingFromPhone":"this credential is currently being saved from a phone","serverError.secret.credentialDismissed":"this credential request was dismissed","serverError.secret.credentialSuperseded":"this credential request was superseded by a newer one","serverError.secret.notSavedYet":"{label} was not saved yet","serverError\
216
+ .secret.notReadyToResume":"this credential request is not ready to resume","serverError.secret.noLongerConfigured":"{label} is no longer configured","serverError.department.moveChiefConflict":"A department can have only one Chief of Staff. Change the Chief before moving this bot.","serverError.department.membershipChanged":"Department membership changed. Reopen the dialog and try again.","serverError.mcp.addressAsText":"Send the MCP server address as text.","serverError.mcp.addressChanged":"The \
217
+ MCP server address changed. Reload the server and try again.","serverError.attachment.alreadyInMessage":"This file is already in a message, so it stays.","serverError.engine.signedOut":"{name} is signed out.","serverError.bot.viewOnly":"You can view {bot}, not chat with it.","serverError.secret.mailboxAlreadyConnected":"this mailbox was already connected","serverError.secret.emailAndPassword":"Enter your email address and its password.","serverError.secret.emailUnavailable":"Email can't be conne\
218
+ cted here.","serverError.mailbox.adminOnly":"Only the owner or an admin can manage the mailboxes.","serverError.mailbox.addressAndPassword":"Enter your email address and password.","serverError.mailbox.outgoingFields":"Check the outgoing server: a name like mail.example.com, a port from 1 to 65535, and SSL/TLS or STARTTLS.","serverError.voice.fishKeyRequired":"Add a Fish Audio key in Settings \u2192 API keys to talk to your bots here.","serverError.voice.fishTranscribeConnection":"Couldn't reach\
219
+ Fish Audio to hear you \u2014 check your connection.","serverError.file.tooLarge":"This file is {size}, over the {limit} limit for opening files from chat. The file itself is still saved as {name}."};function userError(key,params){let safe=params&&redactParams(params);return{error:formatServerText(USER_ERROR[key],safe),errorKey:key,...safe?{errorParams:safe}:{}}}function userErrorThrown(key,params){let{error:error62,...fields}=userError(key,params);return Object.assign(new Error(error62),fields)}
220
+ function userErrorFields(value){let{errorKey,errorParams}=Object(value);if(typeof errorKey!="string"||!Object.hasOwn(USER_ERROR,errorKey))return{};let params=errorParams&&typeof errorParams=="object"&&!Array.isArray(errorParams)?redactParams(errorParams):void 0;return{errorKey,...params?{errorParams:params}:{}}}import{createHash,timingSafeEqual}from"node:crypto";function transferAccountHash(id2){if(typeof id2!="string"||!/^limix:[a-z0-9._-]{1,64}$/.test(id2))throw new Error("H\xE3y \u0111\u0103ng nh\u1EADp t\xE0i kho\u1EA3n Limix tr\u01B0\u1EDBc khi chuy\u1EC3n m\xE1y Offline.");return createHash("sha256").update(`limix-offline-transfer-v1:${id2}`).digest("hex")}import{createCipheriv,createDecipheriv,createHash as createHash3,randomBytes,randomUUID as randomUUID2,scrypt}from"node:crypto";import{chmodSync,closeSync as closeSync3,constants as constants2,cpSync,createReadStream,createWriteStream,existsSync as existsSync3,fstatSync as fstatSync3,fsyncSync as fsyncSync2,lstatSync as lstatSync3,mkdirSync as mkdirSync2,openSync as openSync3,readFileSync as readFileSync5,readdirSync as readdirSync3,readSync as readSync2,realpathSync,renameSync as renameSync4,rmSync as rmSync2,
221
221
  writeFileSync as writeFileSync2,writeSync as writeSync2}from"node:fs";import{isAbsolute as isAbsolute3,join as join13,parse as parse3,posix,relative as relative2,resolve as resolve2,sep,win32}from"node:path";import{homedir as homedir2}from"node:os";import{backup,DatabaseSync as DatabaseSync3}from"node:sqlite";import{pipeline}from"node:stream/promises";import{randomUUID}from"node:crypto";import{closeSync,constants,fstatSync,fsyncSync,lstatSync,openSync,readFileSync,renameSync,unlinkSync,writeFileSync}from"node:fs";var RENAME_RETRY_DELAYS_MS=[5,10,20,40,80],RETRYABLE_RENAME_CODES=new Set(["EPERM","EACCES","EBUSY"]);function sleepSync(ms2){Atomics.wait(new Int32Array(new SharedArrayBuffer(4)),0,0,ms2)}function renameWithRetry(tmp,path,rename=renameSync){for(let attempt=0;;attempt+=1)try{rename(tmp,path);return}catch(e){let code=e.code;if(!code||
222
222
  !RETRYABLE_RENAME_CODES.has(code)||attempt>=RENAME_RETRY_DELAYS_MS.length)throw e;sleepSync(RENAME_RETRY_DELAYS_MS[attempt])}}function writeFileAtomic(path,data,options2={}){let tmp=`${path}.${process.pid}.${randomUUID()}.tmp`,fd=null;try{fd=openSync(tmp,"w",options2.mode),writeFileSync(fd,data),options2.durable!==!1&&fsyncSync(fd),closeSync(fd),fd=null,renameWithRetry(tmp,path)}catch(e){if(fd!==null)try{closeSync(fd)}catch{}try{unlinkSync(tmp)}catch{}throw e}}var WORKSPACE_BACKUP_CLIENT_KEYS=["omb-drafts","omb-draft-attachments","omb-draft-send-ids","omb-draft-channel-modes","omb-skin","omb-show-threads","omb-show-run-card","omb-send-key","omb-color-user-bubbles","omb-chat-width","openmausbot.sidebarDensity","openmausbot.sidebarToolsLayout","openmausbot.sidebarCollapsedSections.v1","openmausbot.sidebarSectionOrder.v1","omb-analytics-opt-out","openmausbot.remote-voice.v1"];import{isAbsolute,join}from"node:path";var IMAGE_MAX_BYTES=10*1024*1024;var TURN_IMAGE_MAX_BYTES=4*IMAGE_MAX_BYTES;var DOCUMENT_MIMES={txt:"text/plain",md:"text/markdown",markdown:"text/markdown",csv:"text/csv",tsv:"text/tab-separated-values",json:"application/json",pdf:"application/pdf",rtf:"application/rtf",doc:"application/msword",docx:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",xls:"application/vnd.ms-excel",xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",ppt:"application/vnd.ms-powerpoint",pptx:"application/vnd.openxmlformats-officedocument.presenta\
223
223
  tionml.presentation",odt:"application/vnd.oasis.opendocument.text",ods:"application/vnd.oasis.opendocument.spreadsheet",odp:"application/vnd.oasis.opendocument.presentation",xmind:"application/vnd.xmind.workbook"},ACCEPTED_DOCUMENT_MIMES=new Set(Object.values(DOCUMENT_MIMES)),AUDIO_MIMES_BY_EXTENSION={opus:"audio/opus",ogg:"audio/ogg",mp3:"audio/mpeg",m4a:"audio/mp4",aac:"audio/aac",wav:"audio/wav",flac:"audio/flac",webm:"audio/webm"};var ACCEPTED_AUDIO_MIMES=new Set([...Object.values(AUDIO_MIMES_BY_EXTENSION),"audio/x-m4a","audio/x-wav","audio/wave","audio/x-flac"]);var INLINE_DROP_LIMIT=512*1024;var COMMONMARK_BLOCK_TAGS=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h[1-6]","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"].join("|");var COMMONMARK_TYPE_6=new RegExp(`^ {0,3}</?(?:${COMMONMARK_BLOCK_TAGS})(?:[\\t ]|/?>|$)`,"i"),HTML_ATTRIBUTE_NAME="[A-Za-z_:][A-Za-z0-9_.:-]*",HTML_ATTRIBUTE_VALUE=`(?:[^\\s"'=<>\\x60]+|'[^']*'|"[^"]*")`,HTML_ATTRIBUTE=`(?:[\\t ]+${HTML_ATTRIBUTE_NAME}(?:[\\t ]*=[\\t ]*${HTML_ATTRIBUTE_VALUE})?)`,COMMONMARK_TYPE_7=new RegExp(`^ {0,3}(?:<[A-Za-z][A-Za-z0-9-]*${HTML_ATTRIBUTE}*[\\t ]*/?>|</[A-Za-z][A-Za-z0-9-]*[\\t ]*>)[\\t ]*$`);function validRelative(path){return!!path&&path.length<=4096&&!isAbsolute(path)&&!/[\\\0:]/.test(path)&&path.split("/").every(part=>!!part&&part!=="."&&part!==".."&&!/[. ]$/.test(part)&&!/^(con|prn|aux|nul|com[1-9]|lpt[1-9])(?:\.|$)/i.test(part))}var CJK="\\p{Script=Han}\\p{Script=Hiragana}\\p{Script=Katakana}",CJK_CHAR=new RegExp(`[${CJK}]`,"u"),HAN=new RegExp("\\p{Script=Han}","u"),CJK_RUNS=new RegExp(`[${CJK}]+|[^${CJK}]+`,"gu"),CJK_BOUNDARY=new RegExp(`(?<=[${CJK}])(?=[\\p{L}\\p{N}])|(?<=[\\p{L}\\p{N}])(?=[${CJK}])`,"gu");var FILLER=new RegExp("\u6211\u4EEC|\u4F60\u4EEC|\u4ED6\u4EEC|\u5979\u4EEC|\u5B83\u4EEC|\u8FD9\u4E2A|\u90A3\u4E2A|\u4E00\u4E0B|\u4E00\u4E2A|\u53EF\u4EE5|\u65F6\u5019|\u73B0\u5728|\u77E5\u9053|\u544A\u8BC9|\u8BB0\u5F97|\u8FD8\u662F|\u5C31\u662F|\u4E0D\u662F|\u6CA1\u6709|\u5DF2\u7ECF|\u56E0\u4E3A|\u6240\u4EE5|\u4F46\u662F|\u5982\u679C|\u7136\u540E|\u8FD8\u6709|\u8BF7\u95EE|\u5E2E\u6211|\u600E\u6837|\u8FD9\u6837|\u90A3\u6837|\u54EA\u91CC|\u54EA\u4E2A|\u5E94\u8BE5|\u4E00\u4E9B|[\u7684\u4E86\u662F\u5417\u5462\u5427\u554A\u5440\u54E6\u55EF\u4E48]",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "limixbot",
3
- "version": "0.3.140",
3
+ "version": "0.3.141",
4
4
  "description": "Run the Limix Bot server anywhere and pair your devices to it (Leox ৹ Limix AI)",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -1 +0,0 @@
1
- import{U as a,C as n}from"./mermaid.core-B76WO5rM.js";const t=(r,o)=>a.lang.round(n.parse(r)[o]);export{t as c};
@@ -1,8 +0,0 @@
1
- import{c as r,s as e}from"./flowDiagram-OXPTDLAJ-CIyEI3gW.js";import{_ as o}from"./mermaid.core-B76WO5rM.js";import"./chunk-5VM5RSS4-D-aGvVMe.js";import"./chunk-XXDRQBXY-BUeyVkn0.js";import"./chunk-KQW6MTUR-cx8qFIBr.js";import"./chunk-7TKQ45FW-BLunZGXD.js";import"./channel-DXsnTIKn.js";import"./styles-DW6_pSlc.js";import"./step-CkmJJ7wq.js";var a=o(t=>`${e(t)}
2
- .swimlane.cluster:not([data-color-id]) rect {
3
- stroke: ${t.clusterBorder} !important;
4
- }
5
- [data-look="neo"].cluster rect {
6
- filter: none;
7
- }
8
- `,"getStyles"),m=a,y=r({styles:m});export{y as diagram};