limixbot 0.3.112 → 0.3.113
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{ActivityPanel-v2h1v5hN.js → ActivityPanel-BnJAHX7C.js} +1 -1
- package/dist/assets/{App-DQmPIRer.js → App-zXzgmsaa.js} +12 -12
- package/dist/assets/{AppEventEditor-CeyM-p-n.js → AppEventEditor-YtdtQa8B.js} +1 -1
- package/dist/assets/{BotSettingsDialog-DatkPTxn.js → BotSettingsDialog-CDrJr2UC.js} +1 -1
- package/dist/assets/{BrowserPanel-BYdHNy_4.js → BrowserPanel-vQzHyzch.js} +1 -1
- package/dist/assets/{BrowserProfilesManager-BzOO3E2d.js → BrowserProfilesManager-C6Myc96h.js} +1 -1
- package/dist/assets/{CloudAddDialog-Dz8FT1hI.js → CloudAddDialog-XeestVn1.js} +1 -1
- package/dist/assets/{ComputerFilesPane-C09A3_Fk.js → ComputerFilesPane-CniehXxD.js} +1 -1
- package/dist/assets/{ComputerPanel-CibfkEKR.js → ComputerPanel-BosphTXK.js} +2 -2
- package/dist/assets/{DataPanel-yOoHnEvH.js → DataPanel-C0i8sYn5.js} +1 -1
- package/dist/assets/{DesktopViewer-D6Zi8xKH.js → DesktopViewer-Bxgv0PU8.js} +1 -1
- package/dist/assets/{GrokMoveDialog-CFtcl6eV.js → GrokMoveDialog-CcL_diUw.js} +1 -1
- package/dist/assets/{InspectorPanel-Wq299yGs.js → InspectorPanel-SKFc5UMJ.js} +1 -1
- package/dist/assets/{KeyboardShortcutsModal-B5D-xbJN.js → KeyboardShortcutsModal-D6atHj9B.js} +1 -1
- package/dist/assets/{LimixResizeHandles-DGg8DcQN.js → LimixResizeHandles-QmZY9rFQ.js} +1 -1
- package/dist/assets/{LiveDesktop-BC0LnAob.js → LiveDesktop-5snY_MM9.js} +1 -1
- package/dist/assets/{LocalVmWorkspace-CkTbMks5.js → LocalVmWorkspace-BAnNDQrC.js} +1 -1
- package/dist/assets/{MacLocalControl-jDfzC9y4.js → MacLocalControl-BHl8fsxn.js} +1 -1
- package/dist/assets/{MarkdownFilePreview-VY03p24j.js → MarkdownFilePreview-BtNeWStd.js} +1 -1
- package/dist/assets/{MenuMotion-CkmFTYgQ.js → MenuMotion-READmdk4.js} +1 -1
- package/dist/assets/{NewBotDialog-C5DiWEos.js → NewBotDialog-8pPEW-5m.js} +1 -1
- package/dist/assets/{PhoneAppDialog-B45w8BK9.js → PhoneAppDialog-CTUe-zXr.js} +1 -1
- package/dist/assets/PlacesRail-3RYT-fm8.js +1 -0
- package/dist/assets/{PluginsPanel-C0CXq9mu.js → PluginsPanel-CIlfXNRw.js} +1 -1
- package/dist/assets/{ProIntroduction-DkuzHMpS.js → ProIntroduction-Cb-E8I1Q.js} +1 -1
- package/dist/assets/{RemoteAgentSettingsPanel-BdQE_JAv.js → RemoteAgentSettingsPanel-Dqyt630U.js} +1 -1
- package/dist/assets/{RoomPanel-BR9S2bgX.js → RoomPanel-BxI3Xkyr.js} +1 -1
- package/dist/assets/{RoutinesPage-DBMADN14.js → RoutinesPage-CDLIIYQ-.js} +1 -1
- package/dist/assets/{SettingsModal-Cli7oG4n.js → SettingsModal-BmtZ02R7.js} +1 -1
- package/dist/assets/{ShareTeamDialog-DvKgYxwy.js → ShareTeamDialog-B130aXQC.js} +1 -1
- package/dist/assets/{SignedInSites-BXp7madT.js → SignedInSites-B_LCEJig.js} +1 -1
- package/dist/assets/{TeamLibraryPanel-Ba88Dnn9.js → TeamLibraryPanel-BK_Fykb7.js} +1 -1
- package/dist/assets/{TeamMapPage-CJakVp3b.js → TeamMapPage-rpMbvEGz.js} +1 -1
- package/dist/assets/{TriggersPage-Be3cLZlA.js → TriggersPage-DoxpgRhM.js} +1 -1
- package/dist/assets/{VisibilitySection-gka_U8lg.js → VisibilitySection-CZTibcHo.js} +1 -1
- package/dist/assets/{WebhookTrigger-Bw5DzTGU.js → WebhookTrigger-BvdJPuCW.js} +1 -1
- package/dist/assets/{WorksOnGrid-BkYVtRwL.js → WorksOnGrid-JImCaGXZ.js} +1 -1
- package/dist/assets/{abnfDiagram-YUKMZFIV-BpiJkriF.js → abnfDiagram-YUKMZFIV-CcYOrZM4.js} +1 -1
- package/dist/assets/{activity-DLFXxb99.js → activity-Cy9rKER-.js} +1 -1
- package/dist/assets/{architectureDiagram-47P4ROYG-TaAJydo0.js → architectureDiagram-47P4ROYG-QRNgdlWx.js} +1 -1
- package/dist/assets/{blockDiagram-E7TT5TSB-C_I0DOsf.js → blockDiagram-E7TT5TSB-ppwWjVH6.js} +1 -1
- package/dist/assets/{c4Diagram-CRA5TL53-DPDKAq49.js → c4Diagram-CRA5TL53-DqgHx7sF.js} +1 -1
- package/dist/assets/{calendar-days-BouvHNcy.js → calendar-days-BuEc0yb0.js} +1 -1
- package/dist/assets/channel-Cj6Zhjek.js +1 -0
- package/dist/assets/{chunk-2Q5K7J3B-Dj5jvkxl.js → chunk-2Q5K7J3B-DX68ySlL.js} +1 -1
- package/dist/assets/{chunk-5VM5RSS4-BEAZIGFZ.js → chunk-5VM5RSS4-CRYUMaqs.js} +1 -1
- package/dist/assets/{chunk-7TKQ45FW-BuVV8dPP.js → chunk-7TKQ45FW-4KPnQ7rv.js} +1 -1
- package/dist/assets/{chunk-AW2ZBBNX-ea8hw2yF.js → chunk-AW2ZBBNX-Ck6rP8_F.js} +1 -1
- package/dist/assets/{chunk-FVRAUYC3-B8bLJ_RJ.js → chunk-FVRAUYC3-ah6pBL9_.js} +2 -2
- package/dist/assets/{chunk-HTAEGDNF-DKREzOzr.js → chunk-HTAEGDNF-CFUx73AN.js} +1 -1
- package/dist/assets/{chunk-JWPE2WC7-DtUEqaOh.js → chunk-JWPE2WC7-BtyPINi9.js} +1 -1
- package/dist/assets/{chunk-KQW6MTUR-y5naWlVi.js → chunk-KQW6MTUR-DdZVmWiZ.js} +1 -1
- package/dist/assets/{chunk-XXDRQBXY-DiyoqdBM.js → chunk-XXDRQBXY-BQnjxxw-.js} +1 -1
- package/dist/assets/{classDiagram-v2-K4WV4PDN-B0Qd3Tn9.js → classDiagram-v2-K4WV4PDN-DW84gvez.js} +1 -1
- package/dist/assets/{coins-B3XyYZ7t.js → coins-DTHSSVDb.js} +1 -1
- package/dist/assets/{core-t7X0wwTe.js → core-4QWPiLR6.js} +1 -1
- package/dist/assets/{cose-bilkent-JH36ORCC-W9kDck86.js → cose-bilkent-JH36ORCC-C5-KwaFh.js} +1 -1
- package/dist/assets/{cynefin-EF2NZ3EQ-37lJDbIt.js → cynefin-EF2NZ3EQ-Dfpgx0zV.js} +1 -1
- package/dist/assets/{cynefinDiagram-3GCD6N5R-mqXrYw2o.js → cynefinDiagram-3GCD6N5R-euE42BiW.js} +1 -1
- package/dist/assets/{dagre-W4DXFKR2-DJlbp6Iu.js → dagre-W4DXFKR2-CqgqOV2u.js} +1 -1
- package/dist/assets/de-DWQoiLCZ.js +8 -0
- package/dist/assets/{diagram-2UJZ2QOL-zPjy47oc.js → diagram-2UJZ2QOL-SYIul3XW.js} +1 -1
- package/dist/assets/{diagram-OVF4WLC6-COcsd2OH.js → diagram-OVF4WLC6-BJ_9MDf7.js} +1 -1
- package/dist/assets/{diagram-PFPMY2P6-B37yTNwU.js → diagram-PFPMY2P6-CLkwFWgH.js} +1 -1
- package/dist/assets/{diagram-UMYRVEAY-BdyvAmF0.js → diagram-UMYRVEAY-BWymfRkc.js} +1 -1
- package/dist/assets/{diagram-YEKJPTXX-D3_BXg3A.js → diagram-YEKJPTXX-DTYiQCkc.js} +1 -1
- package/dist/assets/{diagram-ZIFT7M5P-D7wGiLnY.js → diagram-ZIFT7M5P-cyKVn8bx.js} +1 -1
- package/dist/assets/{ebnfDiagram-VR2GEFS7-DT4HO0to.js → ebnfDiagram-VR2GEFS7-D3FYPm4E.js} +1 -1
- package/dist/assets/{elk-IJKZMXRS-C6tqv17K.js → elk-IJKZMXRS-B9Y5v74A.js} +1 -1
- package/dist/assets/{erDiagram-O2IAPWRE-eWydVxC9.js → erDiagram-O2IAPWRE-B01bWnCU.js} +1 -1
- package/dist/assets/es-DcQ82fAN.js +6 -0
- package/dist/assets/{file-up-QoHIJt_8.js → file-up-CMuz1zvC.js} +1 -1
- package/dist/assets/{flowDiagram-OXPTDLAJ-DW36wDNG.js → flowDiagram-OXPTDLAJ-D34L-z_p.js} +1 -1
- package/dist/assets/fr-DkNTeZ0U.js +8 -0
- package/dist/assets/{ganttDiagram-R7TSEDQI-coP1HxCE.js → ganttDiagram-R7TSEDQI-SSpa2go0.js} +1 -1
- package/dist/assets/{gitGraphDiagram-XJZIOB7I-Bv_gtFcg.js → gitGraphDiagram-XJZIOB7I-D4QyGSNB.js} +1 -1
- package/dist/assets/hi-Du5RlK7y.js +1 -0
- package/dist/assets/{import-name-DTrJQHl6.js → import-name-VgPoDvHv.js} +1 -1
- package/dist/assets/{index-0PwtC6jZ.js → index-CmRpmyjY.js} +1 -1
- package/dist/assets/{index-Dvu6LO5G.js → index-GbP41v43.js} +3 -3
- package/dist/assets/{infoDiagram-5W2HQ5XZ-Ds9r5jzZ.js → infoDiagram-5W2HQ5XZ-DRXD_gGG.js} +1 -1
- package/dist/assets/{ishikawaDiagram-K3B6WC7H-D5N6CZwk.js → ishikawaDiagram-K3B6WC7H-Cbz9h0zI.js} +1 -1
- package/dist/assets/it-BBf_w24R.js +13 -0
- package/dist/assets/ja-BSfziwBD.js +13 -0
- package/dist/assets/{journeyDiagram-COXZFDF6-KyF9eD8J.js → journeyDiagram-COXZFDF6-CIRrlGIj.js} +1 -1
- package/dist/assets/{kanban-definition-P3RFRI5V-B3Tic4Gp.js → kanban-definition-P3RFRI5V-BnNHmxZS.js} +1 -1
- package/dist/assets/ko-CZFynhqk.js +13 -0
- package/dist/assets/{mcp-servers-D7JTOY8R.js → mcp-servers-Br6png3v.js} +1 -1
- package/dist/assets/{mermaid.core-BI-aUs00.js → mermaid.core-BsWFxjqV.js} +4 -4
- package/dist/assets/{mindmap-definition-LZFPQGKD-B8WR-sUR.js → mindmap-definition-LZFPQGKD-DMAxqVbt.js} +1 -1
- package/dist/assets/{minimize-BKddHFxW.js → minimize-6B5ELLt0.js} +1 -1
- package/dist/assets/{monitor-4JyYNWzX.js → monitor-Ehduuiym.js} +1 -1
- package/dist/assets/{new-bot-Dzusybd3.js → new-bot-tUNS8lwM.js} +1 -1
- package/dist/assets/{org-library-BvA6jHMO.js → org-library-BNbjlNZh.js} +1 -1
- package/dist/assets/{package-format-DEpbUnX2.js → package-format-8WaKcsJl.js} +1 -1
- package/dist/assets/{pegDiagram-BGZESJAR-3JmAaToN.js → pegDiagram-BGZESJAR-COqh-ipl.js} +1 -1
- package/dist/assets/{pieDiagram-CAPJLFHJ-Bnfq_JOt.js → pieDiagram-CAPJLFHJ-uVAdeX9H.js} +1 -1
- package/dist/assets/pl-BvZMsMky.js +13 -0
- package/dist/assets/pt-br-D-uO3BNY.js +13 -0
- package/dist/assets/{quadrantDiagram-GDMTTRAM-DF68-2WZ.js → quadrantDiagram-GDMTTRAM-BLxlDgKj.js} +1 -1
- package/dist/assets/{rail-BDAF1VBu.js → rail-BtHXwx0F.js} +1 -1
- package/dist/assets/{railroadDiagram-SM67HX2B-B35OZF02.js → railroadDiagram-SM67HX2B-CNLKwWIs.js} +1 -1
- package/dist/assets/{remote-desktop-panel-DKXEsZ9y.js → remote-desktop-panel-Jq84tC0b.js} +1 -1
- package/dist/assets/{requirementDiagram-X7JNWC4A-CVnLwjIT.js → requirementDiagram-X7JNWC4A-B1Q6pnLp.js} +1 -1
- package/dist/assets/ru-Dt2TtUCM.js +13 -0
- package/dist/assets/{sankeyDiagram-UM26HJRW-DT5IXwHO.js → sankeyDiagram-UM26HJRW-B-wlfroq.js} +1 -1
- package/dist/assets/{sequenceDiagram-ZO4K6R2Y-DPqDq3Gr.js → sequenceDiagram-ZO4K6R2Y-BFkq-aWE.js} +1 -1
- package/dist/assets/{sizeCapture-INFHLROL-BAQ_CAR5.js → sizeCapture-INFHLROL-d7OKTLuS.js} +1 -1
- package/dist/assets/{stateDiagram-v2-TBUQTH76-Cwtmi6m3.js → stateDiagram-v2-TBUQTH76-C9VhSgkW.js} +1 -1
- package/dist/assets/{styles-BUfl_rgw.js → styles-DaC7RuGF.js} +4 -4
- package/dist/assets/{swimlanes-N4OXWK64-BWF8dHXd.js → swimlanes-N4OXWK64-BKMbL529.js} +1 -1
- package/dist/assets/swimlanesDiagram-K3J5GTZL-C1wqbgzh.js +8 -0
- package/dist/assets/{team-share-DYo41_i-.js → team-share-Coietrtx.js} +1 -1
- package/dist/assets/{timeline-definition-YOQAKGHF-DZ-o1EUG.js → timeline-definition-YOQAKGHF-Brlao894.js} +1 -1
- package/dist/assets/tr-B8973-sL.js +6 -0
- package/dist/assets/uk-BRmp-Be9.js +1 -0
- package/dist/assets/{usecaseDiagram-VIAY4XPW-DKU0hjvK.js → usecaseDiagram-VIAY4XPW-rHe31x4C.js} +1 -1
- package/dist/assets/{vennDiagram-BLWOH2XV-DeX8hM0j.js → vennDiagram-BLWOH2XV-CVPMP5Mu.js} +1 -1
- package/dist/assets/vi-C4tbIHps.js +15 -0
- package/dist/assets/{wardleyDiagram-YMQ3BMBF-xXpBl6fF.js → wardleyDiagram-YMQ3BMBF-DiqzZU9h.js} +1 -1
- package/dist/assets/{xychartDiagram-TAQBALBS-Bl2Nj55U.js → xychartDiagram-TAQBALBS-8pBO04wD.js} +1 -1
- package/dist/assets/zh-D3pMdSao.js +13 -0
- package/dist/assets/zh-tw-B2uouj0x.js +13 -0
- package/dist/index.html +2 -2
- package/dist/rail.html +4 -4
- package/dist-server/cloud-home-start.js +8 -8
- package/dist-server/container-mcp.js +8 -8
- package/dist-server/drivers/phone-proxy.js +2 -2
- package/dist-server/index.js +17 -17
- package/dist-server/limixbot.js +15 -15
- package/dist-server/package.json +1 -1
- package/dist-server/pair-cli.js +15 -15
- package/dist-server/prepare-cloudflared.js +1 -1
- package/dist-server/server/browser/chrome/host-setup.js +2 -2
- package/dist-server/server/cli.js +11 -11
- package/dist-server/server/container-computer.js +2 -2
- package/dist-server/server/container-workspace.js +1 -1
- package/dist-server/server/drivers/phone-proxy.js +1 -1
- package/dist-server/server/routes/bot-messages.js +2 -2
- package/dist-server/server/service-unit.js +1 -1
- package/dist-server/server/user-errors.js +2 -2
- package/dist-server/server/vps-computer.js +1 -1
- package/dist-server/vps-container-mcp.js +8 -8
- package/dist-server/workspace-backup.worker.js +8 -8
- package/package.json +1 -1
- package/dist/assets/PlacesRail-Bdk0wQhf.js +0 -1
- package/dist/assets/channel-oo9nUqfd.js +0 -1
- package/dist/assets/de-CrO5MppH.js +0 -8
- package/dist/assets/es-bnXYOspp.js +0 -6
- package/dist/assets/fr-Drpg1nRS.js +0 -8
- package/dist/assets/hi-hKAbiCLa.js +0 -1
- package/dist/assets/it-D6cE_lzY.js +0 -13
- package/dist/assets/ja-5lJcngPy.js +0 -13
- package/dist/assets/ko-IP18hNxI.js +0 -13
- package/dist/assets/pl-s3VOXZNa.js +0 -13
- package/dist/assets/pt-br-WeqOetEr.js +0 -13
- package/dist/assets/ru-xPDlIHlb.js +0 -13
- package/dist/assets/swimlanesDiagram-K3J5GTZL-DkENKQ9u.js +0 -8
- package/dist/assets/tr-D52N3H-s.js +0 -6
- package/dist/assets/uk-BgibvZRE.js +0 -1
- package/dist/assets/vi-Dtr5uxBT.js +0 -15
- package/dist/assets/zh-Cr6ncAKb.js +0 -13
- package/dist/assets/zh-tw-BhYWJRt3.js +0 -13
package/dist/index.html
CHANGED
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
|
|
26
26
|
<link rel="manifest" href="/manifest.webmanifest" />
|
|
27
27
|
<title>Limix Bot</title>
|
|
28
|
-
<script type="module" crossorigin src="/assets/index-
|
|
29
|
-
<link rel="modulepreload" crossorigin href="/assets/styles-
|
|
28
|
+
<script type="module" crossorigin src="/assets/index-GbP41v43.js"></script>
|
|
29
|
+
<link rel="modulepreload" crossorigin href="/assets/styles-DaC7RuGF.js">
|
|
30
30
|
<link rel="stylesheet" crossorigin href="/assets/styles-D55d5vt1.css">
|
|
31
31
|
</head>
|
|
32
32
|
<body>
|
package/dist/rail.html
CHANGED
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
<meta charset="UTF-8" />
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
6
|
<title>MausBot</title>
|
|
7
|
-
<script type="module" crossorigin src="/assets/rail-
|
|
8
|
-
<link rel="modulepreload" crossorigin href="/assets/styles-
|
|
9
|
-
<link rel="modulepreload" crossorigin href="/assets/monitor-
|
|
10
|
-
<link rel="modulepreload" crossorigin href="/assets/PlacesRail-
|
|
7
|
+
<script type="module" crossorigin src="/assets/rail-BtHXwx0F.js"></script>
|
|
8
|
+
<link rel="modulepreload" crossorigin href="/assets/styles-DaC7RuGF.js">
|
|
9
|
+
<link rel="modulepreload" crossorigin href="/assets/monitor-Ehduuiym.js">
|
|
10
|
+
<link rel="modulepreload" crossorigin href="/assets/PlacesRail-3RYT-fm8.js">
|
|
11
11
|
<link rel="stylesheet" crossorigin href="/assets/styles-D55d5vt1.css">
|
|
12
12
|
</head>
|
|
13
13
|
<body>
|
|
@@ -1166,14 +1166,14 @@ est stopped with its task","serverError.secret.alreadySaved":"this secret was al
|
|
|
1166
1166
|
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\
|
|
1167
1167
|
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\
|
|
1168
1168
|
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\
|
|
1169
|
-
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.
|
|
1170
|
-
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
|
|
1171
|
-
|
|
1172
|
-
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
|
|
1173
|
-
|
|
1174
|
-
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
|
|
1175
|
-
|
|
1176
|
-
|
|
1169
|
+
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\
|
|
1170
|
+
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\
|
|
1171
|
+
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\
|
|
1172
|
+
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\
|
|
1173
|
+
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\
|
|
1174
|
+
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\
|
|
1175
|
+
.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\
|
|
1176
|
+
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 TEAM_SESSION_MAX_MS=60*6e4;import{isIP}from"node:net";var MASCOT_FACE_COLORS=["white","black"],mascotFaceColorSchema=external_exports.enum(MASCOT_FACE_COLORS);var BOT_AVATAR_CROPS=["mascot","circle","rounded","square"],botAvatarCropSchema=external_exports.enum(BOT_AVATAR_CROPS);var AVATAR_ZOOM_MIN=1,AVATAR_ZOOM_MAX=3;var botAvatarUrlSchema=external_exports.string().regex(/^\/api\/attachments\/[A-Za-z0-9-]+\.(?:png|jpg|gif|webp)$/,"must be a stored PNG, JPEG, GIF, or WebP attachment");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 BOT_PROFILE_PATCH_FIELDS=["name","title","description","soul","notifications","avatarUrl","avatarCrop","avatarZoom","avatarFocusX","avatarFocusY","mascotBody","mascotFaceColor","voice","speakReplies","replyStyle"],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\
|
|
1177
1177
|
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 fit 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.
|
|
1178
1178
|
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(),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:"avata\
|
|
1179
1179
|
rZoom 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(),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 st\
|
|
@@ -1283,14 +1283,14 @@ est stopped with its task","serverError.secret.alreadySaved":"this secret was al
|
|
|
1283
1283
|
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\
|
|
1284
1284
|
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\
|
|
1285
1285
|
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\
|
|
1286
|
-
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.
|
|
1287
|
-
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
|
|
1288
|
-
|
|
1289
|
-
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
|
|
1290
|
-
|
|
1291
|
-
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
|
|
1292
|
-
|
|
1293
|
-
|
|
1286
|
+
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\
|
|
1287
|
+
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\
|
|
1288
|
+
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\
|
|
1289
|
+
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\
|
|
1290
|
+
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\
|
|
1291
|
+
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\
|
|
1292
|
+
.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\
|
|
1293
|
+
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\
|
|
1294
1294
|
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(),
|
|
1295
1295
|
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(),
|
|
1296
1296
|
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(
|
|
@@ -15,8 +15,8 @@ if(PACKAGE.test(name)&&packages.includes(name))return[name];let needle=normalize
|
|
|
15
15
|
name,packages);if(matches.length===1)return matches[0];throw new Error(matches.length?`App name is ambiguous: ${matches.join(", ")}`:`No installed launchable app matches ${JSON.stringify(name)}. open_app knows English names and package names; call list_apps without a query and pass the package name.`)}async function launchablePackages(serial){let output=await onDevice(serial,["shell","cmd","package","query-activities","--brief","-a","android.intent.action.MAIN","-c","android.intent.category.LAUN\
|
|
16
16
|
CHER"]);return parseLaunchablePackages(output.toString("utf8"))}function decodeXml(value){return value.replaceAll(""",'"').replaceAll("'","'").replaceAll("<","<").replaceAll(">",">").replaceAll("&","&")}function parseUiNodes(xml){let nodes=[];for(let match of xml.matchAll(/<node\s+([^>]+?)\/?\s*>/g)){let attributes={};for(let attribute of match[1].matchAll(/([\w:-]+)="([^"]*)"/g))attributes[attribute[1]]=decodeXml(attribute[2]);let bounds=/^\[(\d+),(\d+)\]\[(\d+),(\d+)\]$/.exec(
|
|
17
17
|
attributes.bounds??"");if(!bounds)continue;let text=attributes.text??"",description=attributes["content-desc"]??"";!text&&!description&&!attributes["resource-id"]||nodes.push({text,description,id:attributes["resource-id"]??"",className:attributes.class??"",bounds:[Number(bounds[1]),Number(bounds[2]),Number(bounds[3]),Number(bounds[4])]})}return nodes}async function readNodes(serial){let streamed=(await onDevice(serial,["shell","uiautomator","dump","/dev/tty"])).toString("utf8"),streamedStart=streamed.
|
|
18
|
-
indexOf("<?xml");if(streamedStart>=0)return parseUiNodes(streamed.slice(streamedStart));let remotePath="/data/local/tmp/
|
|
19
|
-
|
|
18
|
+
indexOf("<?xml");if(streamedStart>=0)return parseUiNodes(streamed.slice(streamedStart));let remotePath="/data/local/tmp/limix-window.xml";await onDevice(serial,["shell","uiautomator","dump",remotePath]);let saved=(await onDevice(serial,["shell","cat",remotePath])).toString("utf8");onDevice(serial,["shell","rm","-f",remotePath]).catch(()=>{});let savedStart=saved.indexOf("<?xml");return parseUiNodes(savedStart>=0?saved.slice(savedStart):saved)}function nodeLines(nodes){return nodes.slice(0,250).map(
|
|
19
|
+
(node,index)=>{let label=[node.text,node.description].filter(Boolean).join(" \xB7 ");return`${index}: ${JSON.stringify(label||node.id)} bounds=${node.bounds.join(",")} class=${node.className}`}).join(`
|
|
20
20
|
`)||"No accessible Android UI text is visible."}var TOOLS=[{name:"status",description:"Check physical USB Android devices and USB-debugging authorization before any Android phone task.",inputSchema:{type:"object",properties:{}}},{name:"read_screen",description:"Read visible text, accessibility labels, resource ids, and pixel bounds from the connected Android screen. Use after every action to verify the result.",inputSchema:{type:"object",properties:{serial:{type:"string"}}}},{name:"screenshot",description:"\
|
|
21
21
|
Capture the connected Android screen when accessibility text is insufficient. Returns a PNG image.",inputSchema:{type:"object",properties:{serial:{type:"string"}}}},{name:"list_apps",description:"List installed launchable Android package names, optionally filtered by a human app name. Prefer open_app first.",inputSchema:{type:"object",properties:{query:{type:"string"},serial:{type:"string"}}}},{name:"open_app",description:"Open an installed Android app directly by its English name, such as Uber \
|
|
22
22
|
or Skyscanner, or by its package name. Do not scan the app drawer first.",inputSchema:{type:"object",properties:{name:{type:"string"},serial:{type:"string"}},required:["name"]}},{name:"tap_text",description:"Tap visible Android text or an accessibility label, then use read_screen to verify.",inputSchema:{type:"object",properties:{text:{type:"string"},exact:{type:"boolean"},index:{type:"integer",minimum:0},serial:{type:"string"}},required:["text"]}},{name:"tap",description:"Tap Android screen pix\
|
package/dist-server/index.js
CHANGED
|
@@ -1518,14 +1518,14 @@ es} bytes.","serverError.secret.notKeptSafely":"The secret could not be kept saf
|
|
|
1518
1518
|
dy 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 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 pla\
|
|
1519
1519
|
ce 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 your Postiz server's address, starting with https://.","serverError.postiz.addressNoCredentials":"Leave any user name or password out of the Postiz addr\
|
|
1520
1520
|
ess.","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.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 be\
|
|
1521
|
-
ing updated. Try again in a moment.","serverError.setup.
|
|
1522
|
-
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 servers only.","serverError.instance.defaultModelRemoved":"{model} is the default model. Choose another default model before removing it from this
|
|
1523
|
-
"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.","serverError.postiz.keyAlone":"Paste the Postiz API key alone.","serverError.postiz.addressAsText":"Send the Postiz address as text.","serverError.secret.
|
|
1524
|
-
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 being saved from a phone","serverError.secret.credentialDismissed":"this credential request was dismissed","serverError.secret.credentialSuperseded":"
|
|
1525
|
-
|
|
1526
|
-
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.bot.viewOnly":"You can view {bot}, not chat with it.","serverError.secret.mailboxAlreadyConnected":"this mailbox was already connected","serverError.
|
|
1527
|
-
|
|
1528
|
-
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 isConversational(style2){return style2==="conversational"}var REPLY_STYLES,init_reply_style=__esm({"shared/reply-style.ts"(){"use strict";REPLY_STYLES=["default","conversational"]}});function parseBotProfilePatch(input2,strict=!1){let parsed3=(strict?profilePatchSchema.strict():profilePatchSchema).safeParse(input2);if(!parsed3.success){let unsupported=parsed3.error.issues.find(issue4=>issue4.code==="unrecognized_keys");if(unsupported?.code==="unrecognized_keys")return{ok:!1,error:`unsupported profile field: ${unsupported.keys[0]??"unknown"}`};let issue3=parsed3.error.issues[0];return issue3?.path[0]==="avatarCrop"?{ok:!1,error:`avatarCrop must be ${`${BOT_AVATAR_CROPS.slice(
|
|
1521
|
+
ing 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":"That line is not in your inbox.","serverError.inbox.answerRequired":"This waits on your answer: answer it, or close it, where it asks.","serverError.instanc\
|
|
1522
|
+
e.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 servers only.","serverError.instance.defaultModelRemoved":"{model} is the default model. Choose another default model before removing it from this serve\
|
|
1523
|
+
r.","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.","serverError.postiz.keyAlone":"Paste the Postiz API key alone.","serverError.postiz.addressAsText":"Send the Postiz address as text.","serverError.secret.localServi\
|
|
1524
|
+
ce":"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 being saved from a phone","serverError.secret.credentialDismissed":"this credential request was dismissed","serverError.secret.credentialSuperseded":"th\
|
|
1525
|
+
is 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 one Chief of Staff. Change the Chief before moving this bot.","serverError.department.membershipChanged":"Department membership changed. Reopen the dialog\
|
|
1526
|
+
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.bot.viewOnly":"You can view {bot}, not chat with it.","serverError.secret.mailboxAlreadyConnected":"this mailbox was already connected","serverError.sec\
|
|
1527
|
+
ret.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":"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 \
|
|
1528
|
+
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 isConversational(style2){return style2==="conversational"}var REPLY_STYLES,init_reply_style=__esm({"shared/reply-style.ts"(){"use strict";REPLY_STYLES=["default","conversational"]}});function parseBotProfilePatch(input2,strict=!1){let parsed3=(strict?profilePatchSchema.strict():profilePatchSchema).safeParse(input2);if(!parsed3.success){let unsupported=parsed3.error.issues.find(issue4=>issue4.code==="unrecognized_keys");if(unsupported?.code==="unrecognized_keys")return{ok:!1,error:`unsupported profile field: ${unsupported.keys[0]??"unknown"}`};let issue3=parsed3.error.issues[0];return issue3?.path[0]==="avatarCrop"?{ok:!1,error:`avatarCrop must be ${`${BOT_AVATAR_CROPS.slice(
|
|
1529
1529
|
0,-1).join(", ")}, or ${BOT_AVATAR_CROPS.at(-1)}`}`}:issue3?.path[0]==="mascotBody"?{ok:!1,error:`mascotBody must be ${`${BOT_BODY_IDS.slice(0,-1).join(", ")}, or ${BOT_BODY_IDS.at(-1)}`}`}:issue3?.path[0]==="mascotFaceColor"?{ok:!1,error:"mascotFaceColor must be white, black, or null"}:{ok:!1,error:issue3?.message??"invalid profile patch"}}let{avatarUrl,...fields3}=parsed3.data,patch2=fields3;return avatarUrl!==void 0&&(patch2.avatarUrl=avatarUrl||void 0),{ok:!0,patch:patch2}}var BOT_PROFILE_PATCH_FIELDS,
|
|
1530
1530
|
profilePatchSchema,init_bot_profile2=__esm({"server/bot-profile.ts"(){"use strict";init_zod();init_bot_avatar();init_bot_profile();init_reply_style();init_bot_body();init_bot_profile();BOT_PROFILE_PATCH_FIELDS=["name","title","description","soul","notifications","avatarUrl","avatarCrop","avatarZoom","avatarFocusX","avatarFocusY","mascotBody","mascotFaceColor","voice","speakReplies","replyStyle"],profilePatchSchema=external_exports.object({name:external_exports.string({error:"name must be a strin\
|
|
1531
1531
|
g"}).max(BOT_PROFILE_LIMITS.name,{error:"name must be at most 100 characters"}).refine(value3=>!!value3.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 fit on one line"}).optional(),description:external_exports.string({error:"description must be a string"}).
|
|
@@ -18888,7 +18888,7 @@ rAiUnsupported","serverError.engine.signedOut":"chat.notice.engineSignedOut"};fu
|
|
|
18888
18888
|
'rm -rf "$HOME/.local"' \\
|
|
18889
18889
|
'ln -s "$apps/local" "$HOME/.local"' \\
|
|
18890
18890
|
'container_start="$(cat /proc/sys/kernel/random/boot_id):$(sed "s/.*) //" /proc/1/stat | cut -d " " -f20)"' \\
|
|
18891
|
-
'prepared="$HOME/.cache/
|
|
18891
|
+
'prepared="$HOME/.cache/limixbot-browser-locks"' \\
|
|
18892
18892
|
'if [ "$(cat "$prepared" 2>/dev/null || true)" != "$container_start" ]; then' \\
|
|
18893
18893
|
' find "$profiles" \\( -name SingletonLock -o -name SingletonSocket -o -name SingletonCookie -o -name .parentlock -o -name lock -type l \\) -delete' \\
|
|
18894
18894
|
' printf "%s\\n" "$container_start" > "$prepared"' \\
|
|
@@ -18995,8 +18995,8 @@ DESKTOP_FLAGS_VERSION)&&status5.image_id!==null&&normalizeImageId(detail?.Image)
|
|
|
18995
18995
|
length!==1||project3[0]?.Type!=="bind"||project3[0].RW!==!0||!sameWorkspaceSource(project3[0].Source,platform2,expectedProject):project3.length!==0;let ordinary=detail?.Mounts?.filter(mount=>mount.Destination!==VM_PROJECT_FOLDER);status5.persistence=!status5.project_mount_changed&&dockerWorkspaceMountIsSafe(ordinary,platform2,target4.workspaceDir,status5.runtime)?"durable":"unsafe",status5.security=(status5.runtime==="podman"?podmanSecurityIsHardened(detail?.HostConfig,detail?.EffectiveCaps,detail?.
|
|
18996
18996
|
BoundingCaps,{requireNoNewPrivileges:rootIsHostRoot}):dockerSecurityIsHardened(detail?.HostConfig,{requireNoNewPrivileges:rootIsHostRoot}))?"hardened":"unsafe",status5.viewer_url=viewerUrl(viewerPassword(detail?.Config?.Env),status5.viewer_port)}}catch{}if(options2.probeDesktop!==!1&&status5.container==="running"&&status5.imageMatches&&status5.managed&&status5.network==="loopback"&&status5.security==="hardened"&&status5.persistence==="durable")try{let expected=`cua-driver ${CUA_DRIVER_VERSION}`;
|
|
18997
18997
|
if((await runner(status5.runtime,cuaExecArgs(["--version"],{container:target4.containerName}),8e3)).stdout.trim()!==expected)throw new Error(`expected ${expected}`);await runner(status5.runtime,cuaExecArgs(["status","--socket",CUA_SOCKET],{container:target4.containerName}),8e3);let health2=await runner(status5.runtime,cuaExecArgs(["call","health_report","{}","--socket",CUA_SOCKET],{container:target4.containerName}),15e3),report2=JSON.parse(health2.stdout);if(report2.schema_version!=="1"||!Array.
|
|
18998
|
-
isArray(report2.checks)||report2.overall!=="ok"&&report2.overall!=="degraded")throw new Error(`Cua health report is ${report2.overall??"invalid"}`);let readinessShot="/tmp/
|
|
18999
|
-
|
|
18998
|
+
isArray(report2.checks)||report2.overall!=="ok"&&report2.overall!=="degraded")throw new Error(`Cua health report is ${report2.overall??"invalid"}`);let readinessShot="/tmp/limixbot-readiness.png";await runner(status5.runtime,cuaExecArgs(["call","get_desktop_state","{}","--socket",CUA_SOCKET,"--screenshot-out-file",readinessShot],{container:target4.containerName}),2e4);let captured=await runner(status5.runtime,["exec",target4.containerName,"base64","-w0",readinessShot],2e4);if(!wholeScreenshot(Buffer.
|
|
18999
|
+
from(captured.stdout.trim(),"base64")).ok)throw new Error("Cua Driver returned an incomplete readiness screenshot");status5.desktopReady=!0}catch(error66){status5.desktop_error=error66 instanceof Error?error66.message.slice(0,320):null;try{let errorLog=await runner(status5.runtime,["exec",target4.containerName,"tail","-n","4","/var/log/supervisor/cua-driver.error.log"],4e3);status5.desktop_error=errorLog.stdout.replace(/\s+/g," ").trim().slice(0,320)||status5.desktop_error}catch{}}return status5.
|
|
19000
19000
|
problem=statusProblem(status5),status5.ready=status5.problem===null,status5.resumable=localVmResumable(status5),status5}function loopback(address3){return address3==="127.0.0.1"||address3==="::1"||address3==="[::1]"}function dockerPortsAreLocal(bindings){let viewer=bindings?.[`${INTERNAL_VIEWER_PORT}/tcp`]??[],published=Object.values(bindings??{}).flatMap(entries4=>entries4??[]);return viewer.length>0&&published.length===viewer.length&&published.every(entry2=>loopback(entry2.HostIp))}function dockerViewerPort(bindings,fallback2){
|
|
19001
19001
|
let raw=bindings?.[`${INTERNAL_VIEWER_PORT}/tcp`]?.find(entry2=>loopback(entry2.HostIp))?.HostPort,parsed3=raw?Number(raw):NaN;return Number.isInteger(parsed3)&&parsed3>0&&parsed3<=65535?parsed3:fallback2}function applePortsAreLocal(bindings){return!!(bindings?.length===1&&bindings[0]?.containerPort===INTERNAL_VIEWER_PORT&&loopback(bindings[0]?.hostAddress))}function appleViewerPort(bindings,fallback2){let raw=bindings?.find(binding=>binding.containerPort===INTERNAL_VIEWER_PORT&&loopback(binding.
|
|
19002
19002
|
hostAddress))?.hostPort;return Number.isInteger(raw)&&Number(raw)>0&&Number(raw)<=65535?Number(raw):fallback2}function sameWorkspaceSource(source4,platform2,expectedWorkspace){if(!source4)return!1;let actual=resolve7(source4),expected=resolve7(expectedWorkspace);return platform2==="win32"?actual.toLowerCase()===expected.toLowerCase():actual===expected}function samePodmanWindowsWorkspaceSource(source4,expectedWorkspace){if(!source4)return!1;let match5=expectedWorkspace.match(/^([A-Za-z]):[\\/](.+)$/);
|
|
@@ -19019,8 +19019,8 @@ sh||runningLimit!==void 0)?await serializeLimixVmStart(async()=>{let maximum=(ty
|
|
|
19019
19019
|
/^limixbot-computer/u,"openmausbot-computer")])),{stdout}=await runner("docker",["container","ls","--all","--format","{{.Names}} {{.State}}"],8e3);return stdout.trim().split(/\r?\n/u).every(line6=>{let[name6,state]=line6.split(" ");return!names5.has(name6)||state==="exited"||state==="created"})}async function runningLocalVmCount(runtime2,runner=sh){if(runtime2==="container")try{let result3=await runner(runtime2,["inspect",SHARED_LOCAL_VM_TARGET.containerName],8e3);return JSON.parse(result3.stdout).
|
|
19020
19020
|
some(row=>row.status?.state==="running")?1:0}catch{return 0}return(await runner(runtime2,["ps","--filter",`label=${MANAGED_LABEL}=1`,"--format","{{.Names}}"],8e3)).stdout.split(/\r?\n/).filter(name6=>name6.trim()).length}async function containerComputerExists(runtime2,target4,runner=sh){try{return await runner(runtime2,["inspect",target4.containerName],8e3),!0}catch{return!1}}function wholeScreenshot(bytes4){return bytes4.length<512?{ok:!1,mime:"image/png"}:bytes4[0]===137&&bytes4[1]===80&&bytes4[2]===
|
|
19021
19021
|
78&&bytes4[3]===71?{ok:bytes4.subarray(Math.max(0,bytes4.length-12)).includes(Buffer.from("IEND","ascii")),mime:"image/png"}:{ok:bytes4[0]===255&&bytes4[1]===216&&bytes4.subarray(Math.max(0,bytes4.length-32)).includes(Buffer.from([255,217])),mime:"image/jpeg"}}async function containerComputerFrame(runner=sh,platform2=process.platform,target4=SHARED_LOCAL_VM_TARGET){let cacheable=runner===sh&&platform2===process.platform,now2=Date.now(),cached6=screenshotStatusCache.get(target4.key),status5=cacheable&&
|
|
19022
|
-
cached6&&cached6.expiresAt>now2?cached6.status:await containerComputerStatus(runner,platform2,target4);if(!status5.ready||!status5.runtime)throw cacheable&&screenshotStatusCache.delete(target4.key),Object.assign(new Error(status5.problem??"The Local VM is not ready"),{status:409});cacheable&&screenshotStatusCache.set(target4.key,{status:status5,expiresAt:now2+SCREENSHOT_STATUS_TTL_MS});try{let screenshot="/tmp/
|
|
19023
|
-
|
|
19022
|
+
cached6&&cached6.expiresAt>now2?cached6.status:await containerComputerStatus(runner,platform2,target4);if(!status5.ready||!status5.runtime)throw cacheable&&screenshotStatusCache.delete(target4.key),Object.assign(new Error(status5.problem??"The Local VM is not ready"),{status:409});cacheable&&screenshotStatusCache.set(target4.key,{status:status5,expiresAt:now2+SCREENSHOT_STATUS_TTL_MS});try{let screenshot="/tmp/limixbot-preview.png";await runner(status5.runtime,cuaExecArgs(["call","get_desktop_st\
|
|
19023
|
+
ate","{}","--socket",CUA_SOCKET,"--screenshot-out-file",screenshot],{container:target4.containerName}),3e4);let{stdout}=await runner(status5.runtime,["exec",target4.containerName,"base64","-w0",screenshot],3e4),data4=stdout.trim(),checked=wholeScreenshot(Buffer.from(data4,"base64"));if(!checked.ok)throw Object.assign(new Error("Cua Driver returned an incomplete screenshot"),{status:502});return{png:data4,format:checked.mime==="image/jpeg"?"jpeg":"png"}}catch(error66){throw cacheable&&screenshotStatusCache.
|
|
19024
19024
|
delete(target4.key),error66}}async function containerComputerScreenshot(runner=sh,platform2=process.platform,target4=SHARED_LOCAL_VM_TARGET){let{png:png2,format:format6}=await containerComputerFrame(runner,platform2,target4);return`data:image/${format6};base64,${png2}`}var screenshotStatusCache=new Map,containerMcpPath=SPAWNED_PROXIES.containerMcp,EXEC_DEFAULT_SECONDS=60,EXEC_MAX_SECONDS=300,EXEC_OUTPUT_LIMIT=2e4;function clipExecOutput(text33,limit2=EXEC_OUTPUT_LIMIT){if(text33.length<=limit2)return text33;
|
|
19025
19025
|
let head=Math.floor(limit2/5);return`${text33.slice(0,head)}
|
|
19026
19026
|
\u2026 ${text33.length-limit2} characters omitted \u2026
|
|
@@ -22935,7 +22935,7 @@ preset];return setting.landscape?{width:preset.height,height:preset.width}:{...p
|
|
|
22935
22935
|
this.#host=host3}#entry(session){let entry2=this.#sessions.get(session);return entry2||this.#sessions.set(session,entry2={wanted:BROWSER_VIEWPORT,applied:null,applying:null}),entry2}wanted(session){return this.#sessions.get(session)?.wanted??BROWSER_VIEWPORT}forget(session){let entry2=this.#sessions.get(session);entry2&&(entry2.wanted===BROWSER_VIEWPORT&&!entry2.applying?this.#sessions.delete(session):entry2.applied=null)}resize(session,panel,fresh=!1){let entry2=this.#entry(session);return entry2.
|
|
22936
22936
|
wanted=panel?streamedPage(panel):BROWSER_VIEWPORT,fresh&&(entry2.applied=null),!entry2.applying&&this.#behind(session,entry2)&&(entry2.applying=this.#follow(session,entry2)),entry2.applying??Promise.resolve()}#behind(session,entry2){return this.#host.watched(session)&&entry2.applied!==key2(entry2.wanted)}async#follow(session,entry2){try{for(;this.#behind(session,entry2);)await this.#host.lane(session,async()=>{let wanted=entry2.wanted;this.#behind(session,entry2)&&(await this.#host.apply(session,
|
|
22937
22937
|
wanted).catch(()=>{}),entry2.applied=key2(wanted))})}finally{entry2.applying=null}}async beforeCall(session){let entry2=this.#entry(session),wanted=entry2.wanted;return entry2.applied===key2(wanted)?!1:(await this.#host.apply(session,wanted).catch(()=>{}),entry2.applied=key2(wanted),!0)}async again(session){this.forget(session),await this.beforeCall(session)}callArguments(session,params2){let call2=params2,size3=this.wanted(session);return call2?.name!=="agent_browser_screenshot"||size3.width*size3.
|
|
22938
|
-
height<=BROWSER_VIEWPORT.width*BROWSER_VIEWPORT.height||call2.arguments?.format!==void 0?params2:{...call2,arguments:{...call2.arguments,...ENLARGED_PICTURE}}}};init_redact();import{execFile as execFile7}from"node:child_process";var LIBRARIES_COMMAND="sudo limixbot browser install --with-deps",SANDBOX_STEPS_URL="https://github.com/
|
|
22938
|
+
height<=BROWSER_VIEWPORT.width*BROWSER_VIEWPORT.height||call2.arguments?.format!==void 0?params2:{...call2,arguments:{...call2.arguments,...ENLARGED_PICTURE}}}};init_redact();import{execFile as execFile7}from"node:child_process";var LIBRARIES_COMMAND="sudo limixbot browser install --with-deps",SANDBOX_STEPS_URL="https://github.com/leomieo/limix-bot/blob/main/docs/deploy-vps.md#ubuntu-2404-browser-sandbox",NO_SANDBOX_SIGNATURE="No usable sandbox";function sandboxDisabled(env){return env.OMB_BROWSER_SANDBOX==="0"}var APPARMOR_PROFILE_NAME="limixbot-chrome",APPARMOR_PROFILE_PATH=`/etc/apparmor.d/${APPARMOR_PROFILE_NAME}`;var BrowserHostError=class extends Error{kind;libraries;constructor(kind2,libraries=[]){super(kind2==="sandbox"?`This host blocks the sandbox the browser runs in (AppArmor on Ubuntu 23.10+). An administrator can allow it for one root-owned copy of Chrome, following ${SANDBOX_STEPS_URL}, then try again.`:`This host is missing libraries the browser needs (${libraries.join(", ")}). Run \`${LIBRARIES_COMMAND}\` on the host to install them, then try again.`),this.name="BrowserHostError",this.kind=kind2,
|
|
22939
22939
|
this.libraries=libraries}},MISSING_LIBRARY=/^\s*(\S+) => not found$/gm,LOADER_ERROR=/error while loading shared libraries: ([^:\s]+)/;function loaderMissingLibrary(output4){return LOADER_ERROR.exec(output4)?.[1]}function run3(command3,args,env){return new Promise(resolve59=>{execFile7(command3,[...args],{timeout:5e3,encoding:"utf8",windowsHide:!0,env},(_error,stdout,stderr)=>resolve59(`${stdout??""}${stderr??""}`))})}async function missingLibraries(executable,env=process.env){let loaderError=loaderMissingLibrary(
|
|
22940
22940
|
await run3(executable,["--version"],env));if(loaderError===void 0)return[];let listed3=[...(await run3("ldd",[executable],env)).matchAll(MISSING_LIBRARY)].map(match5=>match5[1]);return listed3.length>0?listed3:[loaderError]}async function diagnoseLaunchFailure(input2){if(input2.output.includes(NO_SANDBOX_SIGNATURE))return new BrowserHostError("sandbox");if((input2.platform??process.platform)!=="linux")return null;let libraries=await missingLibraries(input2.executable,input2.env);return libraries.
|
|
22941
22941
|
length?new BrowserHostError("libraries",libraries):null}var HARNESS_OWNED_BROWSER_PARAMS=new Set(["all","allowedDomains","caCert","clearCaCert","extraArgs","headed","idleTimeout","namespace","path","restore","restoreCheckFn","restoreCheckText","restoreCheckUrl","restoreSave","screenshotDir","session","timeoutMs","webgpu","webmcp"]),DEFAULT_BROWSER_RESULT_BUDGET=32e3,BROWSER_NARROWING_HINT=" For a snapshot, pass selector or depth, or set compact; for one value such as a price, use agent_browser_get_text with a selector instead of reading the whole pag\
|
|
@@ -27587,7 +27587,7 @@ DATA_DIR,augmentedPath()),deadline=Date.now()+(options2.timeoutMs??12e4),destina
|
|
|
27587
27587
|
settled2=!1,failure12=null,timeout3,settle3=finish=>{settled2||(settled2=!0,clearTimeout(timeout3),finish())},fail14=error66=>{if(settled2||failure12)return;failure12=error66,clearTimeout(timeout3);let cleaned=()=>{child2.stdin.destroy(),child2.stdout.destroy(),child2.stderr.destroy(),settle3(()=>reject(error66))};killCliTree(child2,COMMAND_TIMEOUT_TERM_GRACE_MS).then(cleaned,cleaned)};timeout3=setTimeout(()=>fail14(new Error("Docker-over-SSH command timed out")),Math.max(1,deadline-Date.now())),
|
|
27588
27588
|
timeout3.unref?.(),child2.stdout.setEncoding("utf8"),child2.stderr.setEncoding("utf8"),child2.stdout.on("data",chunk=>{stdout.push(chunk)}),child2.stderr.on("data",chunk=>{stderr.push(chunk)}),child2.stdin.on("error",error66=>{fail14(new Error(`Docker-over-SSH stdin failed: ${error66.message}`))}),child2.on("error",error66=>{fail14(new Error(dockerCliStartMessage(error66)))}),child2.on("close",(code,signal)=>{failure12||settle3(()=>{if(code===0)return resolve59({stdout:stdout.text(),stderr:stderr.
|
|
27589
27589
|
text()});let detail=stderr.text().trim().slice(-1e3);reject(new Error(detail||`Docker-over-SSH exited ${code??signal??"without a status"}`))})});try{child2.stdin.end(options2.input)}catch(error66){fail14(new Error(`Docker-over-SSH stdin failed: ${error66 instanceof Error?error66.message:String(error66)}`))}})}var VPS_IMAGE=IMAGE,VPS_MANAGED_LABEL="com.openmausbot.vps",VPS_CONTAINER_LABEL="com.openmausbot.container",VPS_ENVIRONMENT_LABEL="com.openmausbot.environment",VPS_VIEWER_LABEL="com.openmausbot.vps-viewer",VPS_CONTAINER_PREFIX="openmausbot-vps",vpsEnvironmentIdCache=null;function vpsEnvironmentId(){return vpsEnvironmentIdCache||(vpsEnvironmentIdCache=loadEnvironmentId(DATA_DIR)),vpsEnvironmentIdCache}var CONTAINER_NAME=/^[a-zA-Z0-9][a-zA-Z0-9_.-]+$/,CONTAINER_ID=/^[a-f0-9]{12,64}$/i,FULL_CONTAINER_ID=/^[a-f0-9]{64}$/i,
|
|
27590
|
-
MANAGED_VPS_CONTAINER_NAME=/^openmausbot-vps-[a-z0-9]{1,12}-[a-f0-9]{12}$/,IMAGE_ID=/^sha256:[a-f0-9]{64}$/i,SCREENSHOT_PATH="/tmp/
|
|
27590
|
+
MANAGED_VPS_CONTAINER_NAME=/^openmausbot-vps-[a-z0-9]{1,12}-[a-f0-9]{12}$/,IMAGE_ID=/^sha256:[a-f0-9]{64}$/i,SCREENSHOT_PATH="/tmp/limixbot-vps-preview.png",SCREENSHOT_TRANSFER=`/opt/venv/bin/python -I -c 'import base64, io, sys
|
|
27591
27591
|
from PIL import Image
|
|
27592
27592
|
with Image.open(sys.argv[1]) as image:
|
|
27593
27593
|
image.thumbnail((1280, 1280))
|
|
@@ -33118,8 +33118,8 @@ blockedBy)return restoreHeldSteeredQueue(held4),json7(res,200,{ok:!0,queued:!0,t
|
|
|
33118
33118
|
`),images2=steerInput?.images??[],steerTarget=handoffs2.current(bot.threadId),steered="refused";steerAdmission.action==="steer"&&instance?.adapter.steer&&(steered=await(images2.length>0?instance.adapter.steer(bot.threadId,prompt,images2):instance.adapter.steer(bot.threadId,prompt)).catch(()=>"indeterminate"));let current3=store5.projectBotForTask(bot.id,bot.threadId);if((steered==="steered"&¤t3?.busy||steered==="indeterminate"&¤t3)&&store5.taskByThread(bot.id,bot.threadId)){(auth.kind===
|
|
33119
33119
|
"session"||DESKTOP_MANAGED2)&&clearUnattended2(bot.threadId);let messages2=held4.items.map(item=>store5.appendMessage(bot.threadId,{role:"user",kind:"text",text:item.text,replyToId:item.replyToId,sendId:item.sendId,...item.dataContext?{dataContext:item.dataContext}:{},queueId:item.messageId,peerAsk:item.peerAsk,steered:!0,sender:item.sender,...spokenLineFields(item.via,item.callId),...item.fromApp?{fromApp:item.fromApp}:{}})),asked=messages2.filter((_3,index4)=>!held4.items[index4]?.unattended&&
|
|
33120
33120
|
!held4.items[index4]?.peerAsk).at(-1);asked&&store5.setTaskAskedAt(bot.id,bot.threadId,asked.at);for(let message8 of messages2)handoffs2.steered(bot.threadId,steerTarget,instance?.instanceId,message8.id);let queueIds=held4.items.map(item=>item.messageId);return settleHeldSteeredQueue(held4),json7(res,200,{ok:!0,steered:!0,threadId:bot.threadId,messages:messages2,queueIds})}if(steered==="indeterminate")throw settleHeldSteeredQueue(held4),store5.taskByThread(bot.id,bot.threadId)?Object.assign(new Error(
|
|
33121
|
-
"no such bot"),{status:404}):Object.assign(new Error("the target task no longer exists"),{status:409});return restoreHeldSteeredQueue(held4),current3&&!current3.busy&&drainQueuedSends2(),json7(res,200,{ok:!0,queued:!0,threadId:bot.threadId})}if(m3=path8.match(/^\/api\/bots\/([\w-]+)\/helper-followup$/),m3&&method2==="POST"){let bot=store5.bot(m3[1]);if(!bot?.defaultBot||bot.hidden)return json7(res,404,{...userError("serverError.setup.
|
|
33122
|
-
403,{...userError("serverError.setup.
|
|
33121
|
+
"no such bot"),{status:404}):Object.assign(new Error("the target task no longer exists"),{status:409});return restoreHeldSteeredQueue(held4),current3&&!current3.busy&&drainQueuedSends2(),json7(res,200,{ok:!0,queued:!0,threadId:bot.threadId})}if(m3=path8.match(/^\/api\/bots\/([\w-]+)\/helper-followup$/),m3&&method2==="POST"){let bot=store5.bot(m3[1]);if(!bot?.defaultBot||bot.hidden)return json7(res,404,{...userError("serverError.setup.limixbotMissing")});if(!mayFollowUp(bot,auth))return json7(res,
|
|
33122
|
+
403,{...userError("serverError.setup.limixbotOwnerOnly")});let parsed3=helperFollowupBody.safeParse(await readBody2(req));if(!parsed3.success)return json7(res,400,{error:"body must be { ai, apps?, threadId? }"});let threadId=parsed3.data.threadId??bot.threadId;if(store5.botByThread(threadId)?.id!==bot.id)return json7(res,404,{error:"no such conversation"});let connects=auth.scopes.includes("admin")?void 0:deps.teamAiOwnerName?.(),next=helperFollowup(store5.messagesFor(threadId),()=>followupFacts(
|
|
33123
33123
|
bot,parsed3.data,store5.bots,routines2?.listRoutines()??[],connects));return next?"existing"in next?json7(res,200,{message:next.existing}):json7(res,201,{message:store5.appendMessage(threadId,next.append)}):json7(res,409,{...userError("serverError.setup.noIntroToFollowUp")})}if(m3=path8.match(/^\/api\/bots\/([\w-]+)\/compact$/),m3&&method2==="POST"){let body3=await readBody2(req);requirePinnedClientThread(m3[1],body3?.threadId);let bot=requestedTaskBot2(m3[1],body3?.threadId),notYours=cloudThreadRefusal2(
|
|
33124
33124
|
auth,bot.threadId);return notYours?json7(res,403,{error:notYours}):(await startTurn2(bot.id,"Summarize conversation context",{threadId:bot.threadId,compactOnly:!0,cardContinuation:!0,trigger:usageTriggerFor2(auth)}),json7(res,202,{ok:!0,threadId:bot.threadId}))}if(m3=path8.match(/^\/api\/bots\/([\w-]+)\/start-fresh$/),m3&&method2==="POST"){let body3=await readBody2(req);requirePinnedClientThread(m3[1],body3?.threadId);let bot=requestedTaskBot2(m3[1],body3?.threadId),notYours=cloudThreadRefusal2(
|
|
33125
33125
|
auth,bot.threadId);return notYours?json7(res,403,{error:notYours}):threadBusy2(bot.id,bot.threadId)?json7(res,409,userError("serverError.chat.busyFresh")):phoneSecretSubmissions2.hasThread(bot.threadId)?json7(res,409,userError("serverError.chat.savingCredential")):json7(res,200,{ok:!0,message:startFresh(store5,bot.id,bot.threadId),threadId:bot.threadId})}if(m3=path8.match(/^\/api\/bots\/([\w-]+)\/messages\/([\w-]+)\/edit$/),m3&&method2==="POST"){let messageId2=m3[2],body3=await readBody2(req);requirePinnedClientThread(
|
package/dist-server/limixbot.js
CHANGED
|
@@ -41,15 +41,15 @@ replaced":"this request was replaced by a newer one","serverError.secret.taskSto
|
|
|
41
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
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
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.
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
} 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
|
|
50
|
-
|
|
51
|
-
|
|
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=="\
|
|
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=="\
|
|
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)+`
|
|
@@ -2151,9 +2151,9 @@ clearTimeout(timer2),child.off("exit",done),resolve36()},timer2=setTimeout(done,
|
|
|
2151
2151
|
mausbot-perm-${process.pid}-${tag2}`:join30(dataDir,`perm-${tag2}.sock`)}var WINDOWS_SAFE_COMMAND_LINE_CHARS,cliGroups,stopping,linuxTrees,MAX_ENDED_SESSIONS,engineSessions,liveSpawns,EXEC_KILL_GRACE_MS,CLI_VERSION_TIMEOUT_MS,init_procs=__esm({"server/procs.ts"(){"use strict";init_box();init_program_trust();init_engine_memory();init_engine_homes();init_env_path();init_oom_score();WINDOWS_SAFE_COMMAND_LINE_CHARS=3e4;cliGroups=new WeakSet,stopping=new WeakMap,linuxTrees=new WeakMap;MAX_ENDED_SESSIONS=
|
|
2152
2152
|
4096,engineSessions={live:new Set,ended:new Set};liveSpawns=new Set;EXEC_KILL_GRACE_MS=2e3;CLI_VERSION_TIMEOUT_MS=3e4}});import{execFile as execFile5}from"node:child_process";function loaderMissingLibrary(output2){return LOADER_ERROR.exec(output2)?.[1]}function run2(command,args,env){return new Promise(resolve36=>{execFile5(command,[...args],{timeout:5e3,encoding:"utf8",windowsHide:!0,env},(_error,stdout2,stderr)=>resolve36(`${stdout2??""}${stderr??""}`))})}async function missingLibraries(executable,env=process.env){let loaderError=loaderMissingLibrary(await run2(executable,["--version"],env));if(loaderError===void 0)
|
|
2153
2153
|
return[];let listed2=[...(await run2("ldd",[executable],env)).matchAll(MISSING_LIBRARY)].map(match=>match[1]);return listed2.length>0?listed2:[loaderError]}async function diagnoseLaunchFailure(input2){if(input2.output.includes(NO_SANDBOX_SIGNATURE))return new BrowserHostError("sandbox");if((input2.platform??process.platform)!=="linux")return null;let libraries=await missingLibraries(input2.executable,input2.env);return libraries.length?new BrowserHostError("libraries",libraries):null}var LIBRARIES_COMMAND,
|
|
2154
|
-
SANDBOX_STEPS_URL,NO_SANDBOX_SIGNATURE,APPARMOR_PROFILE_NAME,APPARMOR_PROFILE_PATH,BrowserHostError,MISSING_LIBRARY,LOADER_ERROR,init_host_setup=__esm({"server/browser/chrome/host-setup.ts"(){"use strict";LIBRARIES_COMMAND="sudo limixbot browser install --with-deps",SANDBOX_STEPS_URL="https://github.com/
|
|
2155
|
-
|
|
2156
|
-
|
|
2154
|
+
SANDBOX_STEPS_URL,NO_SANDBOX_SIGNATURE,APPARMOR_PROFILE_NAME,APPARMOR_PROFILE_PATH,BrowserHostError,MISSING_LIBRARY,LOADER_ERROR,init_host_setup=__esm({"server/browser/chrome/host-setup.ts"(){"use strict";LIBRARIES_COMMAND="sudo limixbot browser install --with-deps",SANDBOX_STEPS_URL="https://github.com/leomieo/limix-bot/blob/main/docs/deploy-vps.md#ubuntu-2404-browser-sandbox",NO_SANDBOX_SIGNATURE="No usable sandbox",APPARMOR_PROFILE_NAME="limixbot-chrome",APPARMOR_PROFILE_PATH=`/etc/apparmor.d\
|
|
2155
|
+
/${APPARMOR_PROFILE_NAME}`,BrowserHostError=class extends Error{kind;libraries;constructor(kind,libraries=[]){super(kind==="sandbox"?`This host blocks the sandbox the browser runs in (AppArmor on Ubuntu 23.10+). An administrator can allow it for one root-owned copy of Chrome, following ${SANDBOX_STEPS_URL}, then try again.`:`This host is missing libraries the browser needs (${libraries.join(", ")}). Run \`${LIBRARIES_COMMAND}\` on the host to install them, then try again.`),this.name="BrowserHos\
|
|
2156
|
+
tError",this.kind=kind,this.libraries=libraries}},MISSING_LIBRARY=/^\s*(\S+) => not found$/gm,LOADER_ERROR=/error while loading shared libraries: ([^:\s]+)/}});var QUERY_TOOL_NAME,init_mcp_trim=__esm({"server/mcp-trim.ts"(){"use strict";QUERY_TOOL_NAME="query_result"}});var init_browser_tool_shape=__esm({"server/browser-tool-shape.ts"(){"use strict";init_host_setup();init_mcp_trim()}});var init_browser_lane=__esm({"server/browser-lane.ts"(){"use strict"}});var init_browser_secret_hold=__esm({"server/browser-secret-hold.ts"(){"use strict"}});var init_harness_budget=__esm({"server/harness-budget.ts"(){"use strict"}});var init_browser_launch_key=__esm({"server/browser-launch-key.ts"(){"use strict"}});function browserRuntimeEnv(overrides2){return{...Object.fromEntries(HOST_ENV.flatMap(key2=>process.env[key2]===void 0?[]:[[key2,process.env[key2]]])),...overrides2}}function attachesToChrome(env){return!!(env.AGENT_BROWSER_CDP||env.AGENT_BROWSER_AUTO_CONNECT)}function ownsBrowserViewport(env){return env.AGENT_BROWSER_HEADLESS==="1"&&!attachesToChrome(env)}var BROWSER_RESTART_TOOL,BROWSER_UPLOAD_TOOL,BROWSER_HOVER_TOOL,RELAYED_TOOL_SPECS,RELAYED_TOOLS,BROWSER_INTERRUPTED,HOST_ENV,init_browser_runtime=__esm(
|
|
2157
2157
|
{"server/browser-runtime.ts"(){"use strict";init_procs();init_redact();init_browser_tool_shape();init_browser_lane();init_browser_page_size();init_browser_secret_hold();init_harness_budget();init_browser_launch_key();BROWSER_RESTART_TOOL="restart_browser",BROWSER_UPLOAD_TOOL="agent_browser_upload",BROWSER_HOVER_TOOL="agent_browser_hover",RELAYED_TOOL_SPECS=[{name:BROWSER_UPLOAD_TOOL,description:'Put files into a file input (<input type="file">), then submit its form as usual. files are absolute \
|
|
2158
2158
|
paths of files the person attached to this conversation or files in your own working folder; any other path is refused.',inputSchema:{type:"object",additionalProperties:!1,required:["selector","files"],properties:{selector:{type:"string",minLength:1,description:"The file input: an @eN ref from a snapshot, or a CSS selector."},files:{type:"array",minItems:1,maxItems:10,items:{type:"string",minLength:1},description:"Absolute paths of the files to put in the input."}}}},{name:BROWSER_HOVER_TOOL,description:"\
|
|
2159
2159
|
Move the mouse over an element, for menus and tooltips that open on hover.",inputSchema:{type:"object",additionalProperties:!1,required:["selector"],properties:{selector:{type:"string",minLength:1,description:"An @eN ref from a snapshot, or a CSS selector."}}}}],RELAYED_TOOLS=new Map(RELAYED_TOOL_SPECS.map(spec=>[spec.name,spec])),BROWSER_INTERRUPTED=`The browser engine is stuck. Press Restart in the Browser panel, or call ${BROWSER_RESTART_TOOL}, before using browser tools again.`,HOST_ENV=["HO\
|
|
@@ -8768,8 +8768,8 @@ ${reason}`)}return{configFile,exited,stop:async()=>{child.exitCode!==null||child
|
|
|
8768
8768
|
`)}function unstableInstallWarning(script){let normalized=script.replace(/\\/g,"/");return/\/_npx\//.test(normalized)||/\/\.npm\/_npx\//.test(normalized)?`this command runs from an npx cache (${dirname2(script)}), which npm may delete at any time. Install it permanently first (npm install -g limixbot) and run \`limixbot service install\` from that install.`:null}function servicePlan(platform,dataDir,home2=homedir()){if(platform==="linux"){let installed=`/etc/systemd/system/${SYSTEMD_UNIT_NAME}`;
|
|
8769
8769
|
return{file:join5(dataDir,SYSTEMD_UNIT_NAME),installed,activate:[`sudo install -m 644 ${join5(dataDir,SYSTEMD_UNIT_NAME)} ${installed}`,"sudo systemctl daemon-reload",`sudo systemctl enable --now ${basename3(SYSTEMD_UNIT_NAME,".service")}`],deactivate:[`sudo systemctl disable --now ${basename3(SYSTEMD_UNIT_NAME,".service")}`,`sudo rm ${installed}`,"sudo systemctl daemon-reload"]}}if(platform==="darwin"){let installed=join5(home2,"Library","LaunchAgents",`${LAUNCHD_LABEL}.plist`);return{file:join5(
|
|
8770
8770
|
dataDir,`${LAUNCHD_LABEL}.plist`),installed,activate:[`mkdir -p ${dirname2(installed)} && cp ${join5(dataDir,`${LAUNCHD_LABEL}.plist`)} ${installed}`,`launchctl bootstrap gui/$(id -u) ${installed}`],deactivate:[`launchctl bootout gui/$(id -u)/${LAUNCHD_LABEL}`,`rm ${installed}`]}}return null}var SENTINEL_LAUNCHD_LABEL="com.openmausbot.sentinel",SENTINEL_SYSTEMD_NAME="openmausbot-sentinel",SENTINEL_INTERVAL_SECONDS=120;function shippedSentinelCli(platform,home2,exists,hasSentinel=()=>!0){return(platform===
|
|
8771
|
-
"darwin"?["/Applications/Limix Bot.app",join5(home2,"Applications","Limix Bot.app")].map(app=>({node:join5(app,"Contents","MacOS","Limix Bot"),script:join5(app,"Contents","Resources","server","limixbot.js")})):platform==="linux"?[{node:"/opt/
|
|
8772
|
-
|
|
8771
|
+
"darwin"?["/Applications/Limix Bot.app",join5(home2,"Applications","Limix Bot.app")].map(app=>({node:join5(app,"Contents","MacOS","Limix Bot"),script:join5(app,"Contents","Resources","server","limixbot.js")})):platform==="linux"?[{node:"/opt/Limix Bot/limixbot",script:"/opt/Limix Bot/resources/server/limixbot.js"}]:[]).find(cli=>exists(cli.node)&&exists(cli.script)&&hasSentinel(cli.script))??null}function sentinelCommand(spec){return[spec.node,...needsStripTypes(spec.script)?["--experimental-str\
|
|
8772
|
+
ip-types"]:[],spec.script,"sentinel","--once","--data-dir",spec.dataDir,"--out",spec.out]}function shellArg(value){return/^[\w@%+=:,./~-]+$/.test(value)?value:`'${value.replace(/'/g,"'\\''")}'`}function sentinelLaunchdPlist(spec){for(let[label2,value]of[["home",spec.home],["node",spec.node],["script",spec.script],["data dir",spec.dataDir],["output",spec.out]])assertUnitValue(label2,value);let args=sentinelCommand(spec).map(arg=>` <string>${xml(arg)}</string>`).join(`
|
|
8773
8773
|
`),log2=xml(join5(spec.out,"sentinel.log"));return['<?xml version="1.0" encoding="UTF-8"?>','<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">','<plist version="1.0">',"<dict>"," <key>Label</key>",` <string>${SENTINEL_LAUNCHD_LABEL}</string>`," <key>ProgramArguments</key>"," <array>",args," </array>"," <key>EnvironmentVariables</key>"," <dict>"," <key>HOME</key>",` <string>${xml(spec.home)}</string>`,...spec.electronRunAsNode?[" <key>ELECTR\
|
|
8774
8774
|
ON_RUN_AS_NODE</key>"," <string>1</string>"]:[]," </dict>"," <key>StartInterval</key>",` <integer>${SENTINEL_INTERVAL_SECONDS}</integer>`," <key>RunAtLoad</key>"," <true/>"," <key>ProcessType</key>"," <string>Background</string>"," <key>LowPriorityIO</key>"," <true/>"," <key>StandardOutPath</key>",` <string>${log2}</string>`," <key>StandardErrorPath</key>",` <string>${log2}</string>`,"</dict>","</plist>",""].join(`
|
|
8775
8775
|
`)}function assertUnitValue(label2,value){if(/[\r\n\0]/.test(value))throw new Error(`the ${label2} path contains a line break or NUL, which a service file cannot hold; choose a path without one`)}function systemdQuoted(value,command=!1){let escaped2=value.replace(/[\\"]/g,"\\$&").replace(/%/g,"%%");return`"${command?escaped2.replace(/\$/g,"$$$$"):escaped2}"`}function sentinelSystemdService(spec){for(let[label2,value]of[["home",spec.home],["node",spec.node],["script",spec.script],["data dir",spec.
|
|
@@ -9192,7 +9192,7 @@ line3)}return serviceTrust&&!(options2.pair&&interactive)&&log2(`This shared ser
|
|
|
9192
9192
|
Stop with Ctrl+C`),options2.guided&&log2(`
|
|
9193
9193
|
Keep this terminal open while using your bots. Ctrl+C stops the server, not your saved work.
|
|
9194
9194
|
Next time: ${prefix} \xB7 Change AI or phone setup: ${prefix} setup \xB7 Pair another device: ${prefix} pair`),await childExit}finally{serveOwnerToken=void 0,await stop(),process.removeListener("SIGINT",onSignal),process.removeListener("SIGTERM",onSignal)}}async function serveUntilStopped(options2,run6=runServe,now=Date.now){let policy=restartPolicy(now),launch=options2;for(;;){let code=await run6(launch);if(!policy.again(code))return code;console.log(`
|
|
9195
|
-
|
|
9195
|
+
Limix Bot is starting again to finish installing a copy from the desktop app\u2026`),launch={...options2,pair:!1,open:!1}}}async function runOnboardingCommand(options2,io2=defaultIo(),startServer=serveUntilStopped,flow3={}){let interactive=process.stdin.isTTY===!0&&process.stdout.isTTY===!0;if(options2.command==="setup"&&!interactive)return io2.error(`Setup needs an interactive terminal. Run ${cliCommand("setup")} in a terminal, or start unattended with ${cliCommand("serve")}.`),1;if(process.env.
|
|
9196
9196
|
OMB_DATA_DIR=options2.dataDir,options2.command!=="setup"&&await(flow3.running??isWorkspaceRunning)(options2))return options2.local||options2.tunnel||options2.tailscale||options2.publicUrl?(io2.error("This workspace is already running. Stop it before changing local or remote access; the current connection was not changed."),1):(io2.log(`Your workspace is already running: http://127.0.0.1:${options2.port}`),io2.log("No second server was started. Your existing bots and conversations are unchanged."),
|
|
9197
9197
|
interactive&&options2.open!==!1&&await(flow3.open??openDashboard)(options2.port),0);let{runSetup:runSetup2,isSetupComplete:isSetupComplete2,readCliStartup:readCliStartup2,saveCliStartup:saveCliStartup2}=await Promise.resolve().then(()=>(init_cli_setup(),cli_setup_exports)),prompts=flow3.prompts??defaultSetupIo();try{if(options2.command==="setup"||!await isSetupComplete2(options2.dataDir)){if(!interactive)return io2.error(`No setup yet. Run ${cliCommand("setup")} in an interactive terminal first,\
|
|
9198
9198
|
or start unattended with ${cliCommand("serve")}.`),1;if(!await runSetup2({dataDir:options2.dataDir,port:options2.port}))return io2.log(`Setup cancelled. Run ${cliPrefix()} when you're ready.`),130}let saved=readCliStartup2(options2.dataDir),launch=options2.command==="setup"?options2:applyStartupPreferences(options2,saved);if(interactive&&options2.pair&&!options2.local&&(options2.command==="setup"||!saved)){io2.log(`
|
package/dist-server/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"type":"module","version":"0.3.
|
|
1
|
+
{"type":"module","version":"0.3.113"}
|