Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
Open the outgoing-server card in the chat for a mailbox that reads but can't send (#4922)
Milind Soni020759581948
diff --git a/server/drivers/agents-call.ts b/server/drivers/agents-call.tsindex bdcb3615cc..05e9f9d1b3 100644--- a/server/drivers/agents-call.ts+++ b/server/drivers/agents-call.ts@@ -940,6 +940,7 @@ async function requestEmailCard(args: Json, context: ToolCallContext): Promise<T});if (!r.ok) return { text: String(r.body.error ?? `request_credential failed (HTTP ${r.status}).`), isError: true };if (r.body.alreadyConfigured === true) return { text: typeof r.body.text === "string" ? r.body.text : `${String(r.body.label)} is already connected. Use the email tools.` };+ if (r.body.outgoing === true) return { text: "A secure card for the mailbox's outgoing server is ready in OpenMausBot, on the computer and on a freshly QR-paired phone. End this turn now and say in one line that you are waiting for it; OpenMausBot resumes you when the person saves it or declines, and says whether sending works." };return { text: "A secure card for the mailbox is ready in OpenMausBot, on the computer and on a freshly QR-paired phone. End this turn now and say in one line that you are waiting for it; OpenMausBot resumes you when the person connects it or declines." };}diff --git a/server/drivers/agents-catalog-goldens/bridged.profiles.json b/server/drivers/agents-catalog-goldens/bridged.profiles.jsonindex 6eeb903385..bb00e62161 100644--- a/server/drivers/agents-catalog-goldens/bridged.profiles.json+++ b/server/drivers/agents-catalog-goldens/bridged.profiles.json@@ -1,7 +1,7 @@{"default": {- "bytes": 17580,- "sha256": "0c7ceadd2d1e5aeafd9e8a2e275d302fe0e13ff763c04e315521abc1cd563af9",+ "bytes": 17644,+ "sha256": "5090ecd9c6137b31bcd5a1359b9d9744c844dcb81c8668fd2fd6d949c8b65bcb","tools": ["tool_result_read","list_room_targets",@@ -22,8 +22,8 @@]},"voice": {- "bytes": 18361,- "sha256": "1ee6ffd62593708523ebb90162e9f97bcecbad20386fe229d7c3d86d72101dcc",+ "bytes": 18425,+ "sha256": "fd74da1767a418274194cc8885e7ad7549e62093ba7c192aade7adfc2d98fd61","tools": ["tool_result_read","list_room_targets",@@ -45,8 +45,8 @@]},"shared": {- "bytes": 17620,- "sha256": "570367a748de365217565843a80b5ea3389def75a1299defd7d829e350920a42",+ "bytes": 17684,+ "sha256": "294134f7cc0beaf8c4e53dfe7c01ba38804d6e21a79d1f396cba3e3069981701","tools": ["tool_result_read","list_room_targets",@@ -67,8 +67,8 @@]},"shared+voice": {- "bytes": 18401,- "sha256": "2c8288a3d5924dad5e3cff779d67daaec73b66da2110a740f1a5a1d004d47fc3",+ "bytes": 18465,+ "sha256": "5dd9cc6723823a78b38f07d5003fa3622dc514d4320e6ed599c53de1d86e8f76","tools": ["tool_result_read","list_room_targets",@@ -90,8 +90,8 @@]},"skills": {- "bytes": 17607,- "sha256": "e002710cbd39f46f8da5710659a1939458783569288fcf6492a1fa072a595a20",+ "bytes": 17671,+ "sha256": "fc0fcd5426d7d236c586c655ac643765edca85d5305cc777ae6ea8ca87b31bf1","tools": ["tool_result_read","list_room_targets",@@ -112,8 +112,8 @@]},"skills+voice": {- "bytes": 18388,- "sha256": "6ce8b78980735574928e8efe8c241c215a630efd9a186c15c4c97b21e70f35ae",+ "bytes": 18452,+ "sha256": "3cf21ea8338d3235aaac2d7ed4f32e0a9f92c0ac2c97d3709bb1a3d723423bb8","tools": ["tool_result_read","list_room_targets",@@ -135,8 +135,8 @@]},"skills+shared": {- "bytes": 17647,- "sha256": "498e8d567a1e60bf7cabfbeeb35be3bd33df098800fb01a4582698c7ab631089",+ "bytes": 17711,+ "sha256": "dccd058983b27eb8d7792a05d54a39a7cc111e8d4ad9db424a80360a51da0738","tools": ["tool_result_read","list_room_targets",@@ -157,8 +157,8 @@]},"skills+shared+voice": {- "bytes": 18428,- "sha256": "04e7a6762f8aa44f0d814cca8aa81e2f2587306e3e7ec15aade927e945159e29",+ "bytes": 18492,+ "sha256": "ee82a7d07262a865442222885f600e38f3e791bb75535f32a92f13d6f31c683e","tools": ["tool_result_read","list_room_targets",@@ -180,8 +180,8 @@]},"non-chief": {- "bytes": 17463,- "sha256": "c04c58bc0e7b311813f5c734b2a97ecff9a9fb59202e396c73f131aedf9ba3d6",+ "bytes": 17527,+ "sha256": "d4c62cbdf7f5aaaba628f85d569a4028da01650b6f9de7acd6037bec8dd20c27","tools": ["tool_result_read","list_room_targets",@@ -202,8 +202,8 @@]},"voice+non-chief": {- "bytes": 18244,- "sha256": "e1e3b641c265d19e069790e0eda2f693af6cf4d43ba9cafdefe803fb8d7bc6ed",+ "bytes": 18308,+ "sha256": "4e46aaa447113cf8435d2d4bc67cb6d6797ef6b1a3368c932e17294016862c31","tools": ["tool_result_read","list_room_targets",@@ -225,8 +225,8 @@]},"shared+non-chief": {- "bytes": 17503,- "sha256": "0351402b1c2f42c93a68008be55417ce0f90d9356e2f8f902327722b26c2cee6",+ "bytes": 17567,+ "sha256": "f9ce8bc9f7edb6a9c507e9e5a0c949b511a9f90383baa00df73579a5263fa63e","tools": ["tool_result_read","list_room_targets",@@ -247,8 +247,8 @@]},"shared+voice+non-chief": {- "bytes": 18284,- "sha256": "2d6176fb4e05ecd761f4b5f1336f80aa3c0b13ab3d86010d7b798c6e28eadeeb",+ "bytes": 18348,+ "sha256": "efb263e5c4048e8e5fa5ebe3be06ecaa0621d37c31c9c9b28eae622595243340","tools": ["tool_result_read","list_room_targets",@@ -270,8 +270,8 @@]},"skills+non-chief": {- "bytes": 17490,- "sha256": "84b1af870b88e1cc2ca6c58444f958af683ed2cd6e08bcca1fb7e65578816987",+ "bytes": 17554,+ "sha256": "cf27e2c01a4e602ba50971eccfe61173416df312977e47d269a3fc5fcba884a7","tools": ["tool_result_read","list_room_targets",@@ -292,8 +292,8 @@]},"skills+voice+non-chief": {- "bytes": 18271,- "sha256": "d861fd9084d3646c980c61b5ab7829a59c7df8e7a792cb214d562c137bb63b7f",+ "bytes": 18335,+ "sha256": "24f23319091af2d6ef7cfec605ae00178b9cb47faa4479f15ef82105bc244b7d","tools": ["tool_result_read","list_room_targets",@@ -315,8 +315,8 @@]},"skills+shared+non-chief": {- "bytes": 17530,- "sha256": "821d8d3d878dd048108d17d9ff71bc72a2ca7602becf8f50c6c49f71a59a049e",+ "bytes": 17594,+ "sha256": "7467cefc956b23b1ad97a8bf100644ae4ae8469ff0d7015743c24485a4f24815","tools": ["tool_result_read","list_room_targets",@@ -337,8 +337,8 @@]},"skills+shared+voice+non-chief": {- "bytes": 18311,- "sha256": "4a2342fc50b4609b260f9196e4a20279f46a8270d570ba46be1f144ea1e07679",+ "bytes": 18375,+ "sha256": "5573dbe2b3575faf2fae6ed1ba1ed93455dfe039d2ab524f3d4cbea14a145b8b","tools": ["tool_result_read","list_room_targets",@@ -360,8 +360,8 @@]},"skills+shared+voice+cloud-home": {- "bytes": 18444,- "sha256": "4128e6ece107ac6ef5a829398ae2816dd9899a46ad00d6977608672da852e49f",+ "bytes": 18508,+ "sha256": "b0843a2650e036aab1feb5da265ab2f346dce719f270bf89257a202d71c57eca","tools": ["tool_result_read","list_room_targets",@@ -383,8 +383,8 @@]},"skills+shared+voice+non-chief+cloud-home": {- "bytes": 18327,- "sha256": "35cc4a5ce3243cb25ed6ea3e18ab3731da14f8858323e76472033aa4128d909c",+ "bytes": 18391,+ "sha256": "e01ec8c6e1988c6f7f772ed3d712d2cd4917507a37600f03533552433361e826","tools": ["tool_result_read","list_room_targets",@@ -406,8 +406,8 @@]},"skills+shared+voice+escalations": {- "bytes": 18446,- "sha256": "6ba66a1d8d8f89fe59ce2d6c065433bf923b119103db356c3000fe92a356be7f",+ "bytes": 18510,+ "sha256": "97be60787e449fde725a5ce89220dc90e7e7976fcd0d7b6c5acc7872318ce275","tools": ["tool_result_read","list_room_targets",@@ -429,8 +429,8 @@]},"skills+shared+voice+escalations+x": {- "bytes": 18507,- "sha256": "c6aae923f04d60879a3dbf3963536dd28146e375b66e64a91156b75b72899a10",+ "bytes": 18571,+ "sha256": "e9e781628580536fa845a7f1bbd79be173e66d23db6e37a1fe218f4a9828f0b8","tools": ["tool_result_read","list_room_targets",@@ -452,8 +452,8 @@]},"skills+shared+voice+escalations+x+team": {- "bytes": 18507,- "sha256": "c6aae923f04d60879a3dbf3963536dd28146e375b66e64a91156b75b72899a10",+ "bytes": 18571,+ "sha256": "e9e781628580536fa845a7f1bbd79be173e66d23db6e37a1fe218f4a9828f0b8","tools": ["tool_result_read","list_room_targets",@@ -475,8 +475,8 @@]},"skills+shared+voice+escalations+x+team+images": {- "bytes": 18523,- "sha256": "d4bfdd6428373efcb67260fe62731b54b289f6fd88340ea0ec9f996ad46e7861",+ "bytes": 18587,+ "sha256": "e49ff362d0bc716ec5d2f52dc7c86416d1bff65ef6fc602b94d74676c34448b5","tools": ["tool_result_read","list_room_targets",@@ -498,8 +498,8 @@]},"default+legacy-switches": {- "bytes": 17580,- "sha256": "0c7ceadd2d1e5aeafd9e8a2e275d302fe0e13ff763c04e315521abc1cd563af9",+ "bytes": 17644,+ "sha256": "5090ecd9c6137b31bcd5a1359b9d9744c844dcb81c8668fd2fd6d949c8b65bcb","tools": ["tool_result_read","list_room_targets",@@ -520,8 +520,8 @@]},"default+mausbot": {- "bytes": 17632,- "sha256": "d46d767bcef1b06d73587d42a91bd35f907087c1c9e02c7243299792504efaa3",+ "bytes": 17696,+ "sha256": "2b2d9d3945709d75cb5154250810c7d5b3ef9c5fb98a725ff2687ff926028c7e","tools": ["tool_result_read","list_room_targets",@@ -542,8 +542,8 @@]},"skills+shared+voice+mausbot": {- "bytes": 18480,- "sha256": "9e0af7007c3318709df9f8e57987ef205b9667019cafec6502f005e334d7e9fa",+ "bytes": 18544,+ "sha256": "dca263bb4f3445f35493e87b109c1014fbe5a88a77ef5697a532f932d3278ad3","tools": ["tool_result_read","list_room_targets",@@ -565,8 +565,8 @@]},"default+no-computer-pick": {- "bytes": 16368,- "sha256": "352c2a7a3bc5450e235ab59669a40202a4c728b4830fa54c85d811bba5b326fe",+ "bytes": 16432,+ "sha256": "7c5b5e7d66a24df48359a472522d669a38da585491edfeca3095c4edaea07a3f","tools": ["tool_result_read","list_room_targets",@@ -586,8 +586,8 @@]},"default+room": {- "bytes": 16331,- "sha256": "1963e05781619a4a7b16f513275c126bfa121e651ecd4d7d89f1254af4b17c59",+ "bytes": 16395,+ "sha256": "547705b1cf4a7c9ed097885dfabcdb678a917d6e3bc0066a1fa127273aa2a59f","tools": ["tool_result_read","list_room_targets",@@ -607,8 +607,8 @@]},"non-chief+room": {- "bytes": 16214,- "sha256": "389828004037b7b4010b2cfbcbbba7cb8bc8c6cc36d0cb676d62ecd974dd561a",+ "bytes": 16278,+ "sha256": "8681ae12c57fb4d854d38e118d67ca840d0d88104e1635608d3751027fd1e08a","tools": ["tool_result_read","list_room_targets",@@ -628,8 +628,8 @@]},"default+images": {- "bytes": 17596,- "sha256": "82cef33276522d22c52e61b24607eaece139102e96da628c8a23753d97edb2b2",+ "bytes": 17660,+ "sha256": "60230243e86af7ed58e8ad2b479aa1624d06de21188e7fc7e8d4b7c387e50aac","tools": ["tool_result_read","list_room_targets",diff --git a/server/drivers/agents-catalog-goldens/bridged.tools-list.json b/server/drivers/agents-catalog-goldens/bridged.tools-list.jsonindex 2fb325d184..cb40e2d067 100644--- a/server/drivers/agents-catalog-goldens/bridged.tools-list.json+++ b/server/drivers/agents-catalog-goldens/bridged.tools-list.json@@ -243,7 +243,7 @@},{"name": "request_credential",- "description": "Ask the person for a secret on a secure card in the app or a QR-paired phone, never in chat. credential_id: a key OpenMausBot keeps (onePasswordToken: a 1Password service account token; email: a mailbox on any mail host, one card for its address and password). Other secrets: label, reason, delivery. You never see the value; end the turn, and you resume when they save or decline.",+ "description": "Ask the person for a secret on a secure card in the app or a QR-paired phone, never in chat. credential_id: a key OpenMausBot keeps (onePasswordToken: a 1Password service account token; email: a mailbox on any mail host, one card for its address and password, or for its outgoing server when it is connected but can't send). Other secrets: label, reason, delivery. You never see the value; end the turn, and you resume when they save or decline.","inputSchema": {"type": "object","properties": {diff --git a/server/drivers/agents-catalog-goldens/full.tools-list.json b/server/drivers/agents-catalog-goldens/full.tools-list.jsonindex 9616c5f324..54cf884bc0 100644--- a/server/drivers/agents-catalog-goldens/full.tools-list.json+++ b/server/drivers/agents-catalog-goldens/full.tools-list.json@@ -820,7 +820,7 @@},{"name": "request_credential",- "description": "Ask the person for a secret on a secure card in the app or a QR-paired phone, never in chat. credential_id: a key OpenMausBot keeps (onePasswordToken: a 1Password service account token; email: a mailbox on any mail host, one card for its address and password). Other secrets: label, reason, delivery. You never see the value; end the turn, and you resume when they save or decline.",+ "description": "Ask the person for a secret on a secure card in the app or a QR-paired phone, never in chat. credential_id: a key OpenMausBot keeps (onePasswordToken: a 1Password service account token; email: a mailbox on any mail host, one card for its address and password, or for its outgoing server when it is connected but can't send). Other secrets: label, reason, delivery. You never see the value; end the turn, and you resume when they save or decline.","inputSchema": {"type": "object","properties": {diff --git a/server/drivers/agents-catalog-goldens/profiles.json b/server/drivers/agents-catalog-goldens/profiles.jsonindex 5be7c710df..d9cdbc9091 100644--- a/server/drivers/agents-catalog-goldens/profiles.json+++ b/server/drivers/agents-catalog-goldens/profiles.json@@ -1,7 +1,7 @@{"default": {- "bytes": 59679,- "sha256": "7cc2438f83b39268c84ab6d8feb8685877e3a3cb8b90e26487822213e7e96f04",+ "bytes": 59743,+ "sha256": "532fab3bbe9701447074a5bfa52ed8c7144a0fe93b63abce30446a8e8f240bfb","tools": ["tool_result_read","list_room_targets",@@ -51,8 +51,8 @@]},"voice": {- "bytes": 60460,- "sha256": "4a6c1fd6bad3e61cc884f16f0723cd570c04d7e73c18a5a84b48cbcabb6aa300",+ "bytes": 60524,+ "sha256": "fd281d5c50b06709be9dd22a1454ba0ff84652c115cf493a99e1a7d7c29110f8","tools": ["tool_result_read","list_room_targets",@@ -103,8 +103,8 @@]},"shared": {- "bytes": 61944,- "sha256": "5025e2d7411e3dbc554d8d6c179be3207a46e9a9d17485dd5d00cb8418392f8b",+ "bytes": 62008,+ "sha256": "1d440d4586e916e04767a3cc987880a1df28df5a36f555608cb8680e4e559834","tools": ["tool_result_read","list_shared_computers",@@ -156,8 +156,8 @@]},"shared+voice": {- "bytes": 62725,- "sha256": "80eb22d332ecf5b942af0f112cf6f5077f96ce82670d59c7d02cb3e92be7ef36",+ "bytes": 62789,+ "sha256": "50260954740cf90ce6a6c5c73b9844b4c9f16ec80b9a504d20b29c2ace6d7a20","tools": ["tool_result_read","list_shared_computers",@@ -210,8 +210,8 @@]},"skills": {- "bytes": 62755,- "sha256": "9267900d013487a4b7814e767f8a94375ae50d9246a43462b62736b7e700ae95",+ "bytes": 62819,+ "sha256": "cde60922617919479d52eb9d7922c56057e2e282583b568d77efad353b809135","tools": ["tool_result_read","list_room_targets",@@ -263,8 +263,8 @@]},"skills+voice": {- "bytes": 63536,- "sha256": "3d54b3d7d4c86195da906b863025f46f82c763d103b7325d7f4a99711af01fab",+ "bytes": 63600,+ "sha256": "b46b3d845e76c54469f97e07073845e14b1a2001951633fb58b95dec6c5775aa","tools": ["tool_result_read","list_room_targets",@@ -317,8 +317,8 @@]},"skills+shared": {- "bytes": 65020,- "sha256": "598a0f3666befe82572b5004ba2f402072b763c3c720c3bd7e5199f377180ab4",+ "bytes": 65084,+ "sha256": "a0075d79dc54c1edf0260780c1a86328b55115c2e85a522728f3ecc5e824642c","tools": ["tool_result_read","list_shared_computers",@@ -372,8 +372,8 @@]},"skills+shared+voice": {- "bytes": 65801,- "sha256": "c72529a9dfd4a0b4cb4436a7f5712b96f1eaf527bd60b6e2f2ef499a2f6add3d",+ "bytes": 65865,+ "sha256": "9b08114eab04586bbfcea3441bc837f614bba8427dfa1270258475dfe3acf481","tools": ["tool_result_read","list_shared_computers",@@ -428,8 +428,8 @@]},"non-chief": {- "bytes": 50463,- "sha256": "04c51daaa23f66be8b193a2336ca2721b36afe619ba5a7390fe1fb58f1dccf85",+ "bytes": 50527,+ "sha256": "4c7f68254bf471874334660b2bb82717b98bc651868848c900039bcb881cbe3a","tools": ["tool_result_read","list_room_targets",@@ -472,8 +472,8 @@]},"voice+non-chief": {- "bytes": 51244,- "sha256": "f3bdf3e54c9edeafe1e334e3790c6d08f39c851689022269938b346092c69a33",+ "bytes": 51308,+ "sha256": "cc54e5d30f2878c098a845ab1d2bdcbcf366e08f11817378e6a9a5a31af16a60","tools": ["tool_result_read","list_room_targets",@@ -517,8 +517,8 @@]},"shared+non-chief": {- "bytes": 52728,- "sha256": "0c914df1f30449ab3c9a23f1a88479faba16d745f0c075f9cf5ddb7940109b37",+ "bytes": 52792,+ "sha256": "d664d3dedcdbbedf135505f328636883583c22ffb402f54ba30e3808a270f9ae","tools": ["tool_result_read","list_shared_computers",@@ -563,8 +563,8 @@]},"shared+voice+non-chief": {- "bytes": 53509,- "sha256": "18baa1d17cb604552b32f8f0632c0e3512cf779f45c3f1eebc38da7ee9dc6876",+ "bytes": 53573,+ "sha256": "8de7dc962dd91fca0b15c010fa07b87776ebc1c439f8ebab5ed240b0c9b35529","tools": ["tool_result_read","list_shared_computers",@@ -610,8 +610,8 @@]},"skills+non-chief": {- "bytes": 53539,- "sha256": "b3dcc23f1e43fa661e8d8bc4d3a884d87581486b0fe7a9527027b94d9dced642",+ "bytes": 53603,+ "sha256": "00d5be73d4d2c9a5201db5017d22eda078fef4f874445bcc9ed92a0adc21c201","tools": ["tool_result_read","list_room_targets",@@ -656,8 +656,8 @@]},"skills+voice+non-chief": {- "bytes": 54320,- "sha256": "e06e34bbf8527716a17958e1d81f2ec8b7e9e59fc4b03eac42441b0b7bc267f1",+ "bytes": 54384,+ "sha256": "da9908f5c4ad97f2d4d5d9fc154eac9fa5b6418f65c0b6c20ef328cdd2dd52b9","tools": ["tool_result_read","list_room_targets",@@ -703,8 +703,8 @@]},"skills+shared+non-chief": {- "bytes": 55804,- "sha256": "2b9e6d0fd2ca96e006404bb190f993441f6f34e806692980fbe99e7d3469910a",+ "bytes": 55868,+ "sha256": "0fa7d16d83aee411535c75cc5b786b521bfa6d9a6c593e206b6b9ef1fcac057b","tools": ["tool_result_read","list_shared_computers",@@ -751,8 +751,8 @@]},"skills+shared+voice+non-chief": {- "bytes": 56585,- "sha256": "fc8f606a6ee07b2ee5dfa388d9a0c27896fe3894822b9ef893c8667eb6eba5a5",+ "bytes": 56649,+ "sha256": "da830626dc33f67b9eec0e34510167839889664169dc937a4ca237ac11c86399","tools": ["tool_result_read","list_shared_computers",@@ -800,8 +800,8 @@]},"skills+shared+voice+cloud-home": {- "bytes": 65567,- "sha256": "000a4dd6ff429bc984b56dec726d990a10e89e6a6e6a1770f99b71a432395cec",+ "bytes": 65631,+ "sha256": "b3cf52f277a1ed93fef3053d4dbea61cd1c565cf267d0ad9dd1591cc5c83b25f","tools": ["tool_result_read","list_shared_computers",@@ -856,8 +856,8 @@]},"skills+shared+voice+non-chief+cloud-home": {- "bytes": 56351,- "sha256": "dababc07a70843cf1762f13ddd719075d833ab2b797fc257888721fea1d2ca6f",+ "bytes": 56415,+ "sha256": "46ab9b7c13418188453af6546a8d11969a75ed4ca013d6d26f41affbf263802f","tools": ["tool_result_read","list_shared_computers",@@ -905,8 +905,8 @@]},"skills+shared+voice+escalations": {- "bytes": 66631,- "sha256": "ba5559aaaa6619501422fe0d28ea7bce288ef5026f8d9182a9febe94639ac6b0",+ "bytes": 66695,+ "sha256": "2f1f2666eaac2b1819fa6326094621d75a4d9078e9c992e6a4b1d473462f1d5e","tools": ["tool_result_read","list_shared_computers",@@ -962,8 +962,8 @@]},"skills+shared+voice+escalations+x": {- "bytes": 70470,- "sha256": "209e89ec7b48cec2243fe867ffdf2a6a287803878973d8f1ffcfe2c398de1509",+ "bytes": 70534,+ "sha256": "3c7f085796f05eeff4be4dce7e8a426d84e87b5266d73e0a47f0ebbee81f45c6","tools": ["tool_result_read","list_shared_computers",@@ -1023,8 +1023,8 @@]},"skills+shared+voice+escalations+x+team": {- "bytes": 70470,- "sha256": "209e89ec7b48cec2243fe867ffdf2a6a287803878973d8f1ffcfe2c398de1509",+ "bytes": 70534,+ "sha256": "3c7f085796f05eeff4be4dce7e8a426d84e87b5266d73e0a47f0ebbee81f45c6","tools": ["tool_result_read","list_shared_computers",@@ -1084,8 +1084,8 @@]},"skills+shared+voice+escalations+x+team+images": {- "bytes": 71243,- "sha256": "cd2dd80eccf00309a9ec545db7ca8288deec3f1884ea4752b95dc622697b3f30",+ "bytes": 71307,+ "sha256": "f326fcd99ffc38315a5ca61b3a141eef13b7f57a833ac23fcd549618e2f847e2","tools": ["tool_result_read","list_shared_computers",@@ -1146,8 +1146,8 @@]},"default+legacy-switches": {- "bytes": 59679,- "sha256": "7cc2438f83b39268c84ab6d8feb8685877e3a3cb8b90e26487822213e7e96f04",+ "bytes": 59743,+ "sha256": "532fab3bbe9701447074a5bfa52ed8c7144a0fe93b63abce30446a8e8f240bfb","tools": ["tool_result_read","list_room_targets",@@ -1197,8 +1197,8 @@]},"default+mausbot": {- "bytes": 60330,- "sha256": "93abed68ae9253abbd770711e903302789ffea7eeaf2225b6b772ee1aecacda0",+ "bytes": 60394,+ "sha256": "80c79d3adb70bd040e5d07b26c13435b411da3ab305f30e225a887882ab829e0","tools": ["tool_result_read","list_room_targets",@@ -1250,8 +1250,8 @@]},"skills+shared+voice+mausbot": {- "bytes": 66452,- "sha256": "a6ae9a494f6e7aa7f3b9a12eac5bb140169f102f9687721698dbd45ae55f65eb",+ "bytes": 66516,+ "sha256": "be69b1c388cbe604e5b1fa247bbb60f099b4081524450aefac20c5c272abcd4f","tools": ["tool_result_read","list_shared_computers",@@ -1308,8 +1308,8 @@]},"default+no-computer-pick": {- "bytes": 58467,- "sha256": "8aa3499d1fa3f460687e2c80a38dfe1e8eb9bb31a2c06d9a6ce7f1cfe6468c91",+ "bytes": 58531,+ "sha256": "a4595d7b1c50a3099fe48a6ab9ec88d7d9b660e69766a4785e9499e6f5229980","tools": ["tool_result_read","list_room_targets",@@ -1358,8 +1358,8 @@]},"default+room": {- "bytes": 56823,- "sha256": "19a503cfc78c335936561c68812c199b7cb1c588ed060ee8bf1871ca8d873193",+ "bytes": 56887,+ "sha256": "5f8e1ff4b22e2d7bfd7daa6857a92a6eddc3e19024e58b680c872952690021fe","tools": ["tool_result_read","list_room_targets",@@ -1405,8 +1405,8 @@]},"non-chief+room": {- "bytes": 47607,- "sha256": "d8eecd86b9ee97845393a7ba79c51bec10ad76204cb271e2dc7e480c74a26e7d",+ "bytes": 47671,+ "sha256": "16b83632bfd3a4b9097d44ddd9c29428671d1762214501d0aff5f66aad425741","tools": ["tool_result_read","list_room_targets",@@ -1445,8 +1445,8 @@]},"default+images": {- "bytes": 60452,- "sha256": "9abd7f5fef6ebbaa34a18a047af905f7e8a6a5d224cf77cbf413b7686113c0ab",+ "bytes": 60516,+ "sha256": "a47b009009dd2dc49a21dd552bfca0bf252db7bbe0a9db3957ed4c13d2597006","tools": ["tool_result_read","list_room_targets",diff --git a/server/drivers/agents-catalog.ts b/server/drivers/agents-catalog.tsindex 9e22c2a8f6..17b9eb2461 100644--- a/server/drivers/agents-catalog.ts+++ b/server/drivers/agents-catalog.ts@@ -462,7 +462,7 @@ const TOOL_DEFINITIONS = [{name: "request_credential",description:- "Ask the person for a secret on a secure card in the app or a QR-paired phone, never in chat. credential_id: a key OpenMausBot keeps (onePasswordToken: a 1Password service account token; email: a mailbox on any mail host, one card for its address and password). Other secrets: label, reason, delivery. You never see the value; end the turn, and you resume when they save or decline.",+ "Ask the person for a secret on a secure card in the app or a QR-paired phone, never in chat. credential_id: a key OpenMausBot keeps (onePasswordToken: a 1Password service account token; email: a mailbox on any mail host, one card for its address and password, or for its outgoing server when it is connected but can't send). Other secrets: label, reason, delivery. You never see the value; end the turn, and you resume when they save or decline.",inputSchema: {type: "object",properties: {diff --git a/server/email/instructions.ts b/server/email/instructions.tsindex d50326dc4f..f5bffe4a66 100644--- a/server/email/instructions.ts+++ b/server/email/instructions.ts@@ -19,15 +19,15 @@ export const EMAIL_TO_CONNECT_PROMPT =export const EMAIL_NOT_CONNECTED_TEXT ="OpenMausBot note: no mailbox is connected, so this call did not run. Call request_credential with credential_id email, then end this turn.";-/** The failed-call text for a mailbox that can't send until the person fixes its outgoing server: what is wrong, who- * fixes it and where, and no way round it, so a bot neither retries nor builds one. */+/** The failed-call text for a mailbox that can't send until the person fixes its outgoing server: what is wrong, the card+ * that lets them fix it here, and no way round it, so a bot neither retries nor builds one. */export const EMAIL_CANT_SEND_TEXT = (address: string, problem: string) =>- `OpenMausBot note: nothing was sent. Sending from ${address} doesn't work: ${problem} Only the person can fix this, under Outgoing server for ${address} in Connected apps › Email; reading mail still works. ` +- "Don't retry, don't send another way (no script, other mail tool or mail client of your own) and don't ask for the password: tell the person this in one line and carry on without sending.";+ `OpenMausBot note: nothing was sent. Sending from ${address} doesn't work: ${problem} Only the person can fix this, and they can do it here: call request_credential with credential_id email and address ${address}, which opens a secure card in this chat for its outgoing server (or they use Outgoing server for ${address} in Connected apps › Email), then end this turn. Reading mail still works. ` ++ "Don't retry, don't send another way (no script, other mail tool or mail client of your own) and never ask for the password in chat.";/** The system prompt line for a mailbox that can't send yet. */export const EMAIL_CANT_SEND_PROMPT = (address: string, problem: string) =>- ` Sending from ${address} doesn't work until the person fixes its outgoing server in Connected apps › Email (${problem}); don't try to send from it, and say so if a task needs it.`;+ ` Sending from ${address} doesn't work until the person fixes its outgoing server (${problem}); when a task needs it, request_credential with credential_id email and address ${address} opens a card for them to fix it in the chat. Don't try to send from it before then.`;/** The failed-call text when a send didn't go but may later: nothing to retry now. */export const EMAIL_NOT_SENT_TEXT = (problem: string) =>diff --git a/server/host/secret-cards.test.ts b/server/host/secret-cards.test.tsindex e18e14d7d6..8ecdf1adf4 100644--- a/server/host/secret-cards.test.ts+++ b/server/host/secret-cards.test.ts@@ -5,6 +5,7 @@ import { afterEach, describe, expect, it } from "vitest";import "../server-line-packs.ts";import type { BotRecord, Message } from "../store.ts";+import { EMAIL_CANT_SEND_TEXT } from "../email/instructions.ts";import { createSecretCards } from "./secret-cards.ts";import { CREDENTIAL_TARGETS } from "../../shared/credential-request.ts";import { redactBotAuthored } from "../message-redaction.ts";@@ -94,7 +95,8 @@ describe("the card a bot asks for a key or secret with", () => {describe("the mailbox card", () => {const PASSWORD = "fake-mailbox-password";const ACCOUNT = { address: "[email protected]", imapHost: "imap.shop.example", smtpHost: "smtp.shop.example", connectedAt: "2026-11-04T00:00:00.000Z" };- function mail(options: { refusal?: string; connected?: boolean; sendingProblem?: string; profile?: string; connect?: (request: Record<string, unknown>, reading?: (host: string) => void) => unknown } = {}) {+ function mail(options: { refusal?: string; connected?: boolean; sendingProblem?: string; profile?: string; connect?: (request: Record<string, unknown>, reading?: (host: string) => void) => unknown;+ account?: Record<string, unknown>; checkOutgoing?: (fields: Record<string, unknown>) => unknown } = {}) {const dataDir = mkdtempSync(join(tmpdir(), "omb-secret-cards-"));dirs.push(dataDir);const lines: Message[] = [];@@ -107,6 +109,8 @@ describe("the mailbox card", () => {botByThread: () => null, groupByThread: () => undefined, onChange: () => () => {},};const connects: Array<Record<string, unknown>> = [];+ const checks: Array<Record<string, unknown>> = [];+ const state = { sendingProblem: options.sendingProblem };const resumed: string[] = [];const bot = { id: "ledger", name: "Ledger" } as BotRecord;const cards = createSecretCards({@@ -116,10 +120,17 @@ describe("the mailbox card", () => {layerFolder: () => dataDir, turnVm: () => undefined,email: {connect: async (request, reading) => { connects.push(request as never); return (options.connect?.(request as never, reading) ?? { ok: true, account: ACCOUNT, inbox: { messages: 3 }, sending: { ok: true } }) as never; },- refusal: () => options.refusal, connected: () => options.connected === true, sendingProblem: () => options.sendingProblem, profileAddress: () => options.profile,+ refusal: () => options.refusal, connected: () => options.connected === true, sendingProblem: () => state.sendingProblem, profileAddress: () => options.profile,+ account: () => options.account as never,+ checkOutgoing: async (_address, fields) => {+ checks.push(fields as never);+ const answer = (options.checkOutgoing?.(fields as never) ?? { ok: true, account: ACCOUNT }) as { ok: boolean };+ if (answer.ok) state.sendingProblem = undefined;+ return answer as never;+ },},});- return { cards, lines, bot, connects, resumed };+ return { cards, lines, bot, connects, checks, resumed };}const ask = (fixture: ReturnType<typeof mail>, body: Record<string, unknown> = {}) => fixture.cards.requestCredential(fixture.bot, "t1", { credentialId: "email", ...body });const card = (fixture: ReturnType<typeof mail>) => fixture.lines.findLast((line) => line.kind === "secret")!;@@ -197,14 +208,13 @@ describe("the mailbox card", () => {expect(fixture.connects).toEqual([]);});- it("a mailbox that reads but can't send isn't asked for again: the bot hears why, who fixes it, and not to retry", () => {- const reading = mail({ connected: true, sendingProblem: "The outgoing server smtp.shop.example:587 refused the password." });- const text = String(ask(reading, { address: "[email protected]" }).body.text);+ it("a send that can't go tells the bot why, to open the outgoing-server card, and not to retry or ask in chat", () => {+ const text = EMAIL_CANT_SEND_TEXT("[email protected]", "The outgoing server smtp.shop.example:587 refused the password.");expect(text).toContain("refused the password");- expect(text).toContain("Connected apps");+ expect(text).toContain("request_credential with credential_id email and address [email protected]");expect(text).toContain("Don't retry");+ expect(text).toContain("never ask for the password in chat");expect(text).not.toMatch(/try again/iu);- expect(reading.lines).toEqual([]);});it("while connecting the card shows the incoming server that took the password, and a failure takes it away", async () => {@@ -245,4 +255,52 @@ describe("the mailbox card", () => {expect(fixture.cards.updateText(card(fixture).id, secret, "provided")).toContain("EMAIL_LIST_MESSAGES");expect(fixture.cards.updateText(card(fixture).id, secret, "dismissed")).toContain("chose not to connect a mailbox");});+ describe("a mailbox that reads but can't send", () => {+ const problem = "smtp.shop.example didn't answer on 465 or 587.";+ const readOnly = { ...ACCOUNT, smtpHost: undefined, smtpTried: { smtpHost: "smtp.shop.example", smtpPort: 587 }, smtpUsername: "me", sendingProblem: problem };++ it("gets a card for its outgoing server, started from the server it tried, never a password", () => {+ const fixture = mail({ connected: true, sendingProblem: problem, account: readOnly });+ expect(ask(fixture, { address: "[email protected]", reason: "To send the invoice." })).toMatchObject({ status: 201, body: { delivery: "email", outgoing: true } });+ const first = card(fixture);+ const secret = first.secret!;+ expect(secret).toMatchObject({ target: "customSecret", delivery: "email", address: "[email protected]", label: "Outgoing server for [email protected]", placeholder: "Password for sending" });+ expect(secret.emailOutgoing).toEqual({ smtpHost: "smtp.shop.example", smtpPort: 587, smtpUsername: "me" });+ expect(secret.description).toContain(problem);+ expect(secret.description).toContain("To send the invoice.");+ expect(secret.description).toContain("Ledger never sees the password.");+ ask(fixture, { address: "[email protected]" });+ expect(first.secret!.superseded, "a newer one replaces it").toBe(true);+ });++ it("checks sending at the server typed, keeps the card open with why, and resumes the bot once it sends", async () => {+ const answers = [+ { ok: false, error: "smtp.easy.example didn't answer on 587.", account: { ...readOnly, smtpTried: { smtpHost: "smtp.easy.example", smtpPort: 587 } } },+ { ok: true, account: { ...ACCOUNT, smtpHost: "smtp.easy.example", smtpPort: 587, smtpSecurity: "starttls" } },+ ];+ const fixture = mail({ connected: true, sendingProblem: problem, account: readOnly, checkOutgoing: () => answers.shift() });+ ask(fixture, { address: "[email protected]" });+ const id = card(fixture).id;+ const typed = { smtpHost: "smtp.easy.example", smtpPort: 587, smtpSecurity: "starttls", smtpPassword: PASSWORD, address: "[email protected]", imapHost: "imap.other.example", value: "not this" };+ expect(await fixture.cards.saveEmailSecret("ledger", "t1", id, typed)).toEqual({ status: 400, body: { error: "smtp.easy.example didn't answer on 587." } });+ expect(fixture.checks[0], "only the outgoing fields go").toEqual({ smtpHost: "smtp.easy.example", smtpPort: 587, smtpSecurity: "starttls", smtpPassword: PASSWORD });+ expect(card(fixture).secret).toMatchObject({ emailOutgoing: { smtpHost: "smtp.easy.example", smtpPort: 587 } });+ expect(card(fixture).secret!.provided).toBeFalsy();+ expect(fixture.connects, "reading is never signed in to again").toEqual([]);+ expect(await fixture.cards.saveEmailSecret("ledger", "t1", id, typed)).toMatchObject({ status: 200, body: { provided: true, resumed: true } });+ expect(card(fixture).secret!.emailOutgoing).toEqual({ smtpHost: "smtp.easy.example", smtpPort: 587, smtpSecurity: "starttls" });+ expect(fixture.resumed[0]).toContain("sending from [email protected] works now");+ expect(fixture.resumed[0]).toContain("EMAIL_SEND_MESSAGE");+ expect(JSON.stringify(fixture.resumed) + JSON.stringify(card(fixture))).not.toContain(PASSWORD);+ expect(await fixture.cards.saveEmailSecret("ledger", "t1", id, typed), "only once").toMatchObject({ status: 409 });+ });++ it("the bot hears that the person declined, and still never a value", () => {+ const fixture = mail({ connected: true, sendingProblem: problem, account: readOnly });+ ask(fixture, { address: "[email protected]" });+ const secret = card(fixture).secret!;+ expect(fixture.cards.updateText(card(fixture).id, secret, "dismissed")).toContain("chose not to set up sending for [email protected]");+ expect(fixture.cards.updateText(card(fixture).id, secret, "provided")).toContain(problem);+ });+ });});diff --git a/server/host/secret-cards.ts b/server/host/secret-cards.tsindex a882b7bad5..e42655eb63 100644--- a/server/host/secret-cards.ts+++ b/server/host/secret-cards.ts@@ -20,8 +20,7 @@ import {type CredentialTargetId,type SecretDelivery,} from "../../shared/credential-request.ts";-import { EMAIL_CREDENTIAL, type EmailConnectAnswer, type EmailConnectRequest, type EmailServerFields } from "../../shared/email.ts";-import { EMAIL_CANT_SEND_TEXT } from "../email/instructions.ts";+import { EMAIL_CREDENTIAL, outgoingFieldsOf, type EmailAccountView, type EmailConnectAnswer, type EmailConnectRequest, type EmailOutgoingAnswer, type EmailOutgoingFields, type EmailServerFields } from "../../shared/email.ts";import type { SecretRequestCardData } from "../../shared/wire.ts";import type { AppConfig } from "../config.ts";import { perBotLocalVmTarget, poolLocalVmTarget, SHARED_LOCAL_VM_TARGET, VM_WORKSPACE_GUEST } from "../container-computer.ts";@@ -80,6 +79,10 @@ export interface SecretCardsDeps {connected(address: string): boolean;/** Why a connected mailbox can't send, if it can't. */sendingProblem(address: string): string | undefined;+ /** A connected mailbox, without its password. */+ account(address: string): EmailAccountView | undefined;+ /** Checks sending again at the outgoing server given, and keeps it once it sends, as the mailbox's own form does. */+ checkOutgoing(address: string, fields: EmailOutgoingFields): Promise<EmailOutgoingAnswer>;/** The person's own address, the likeliest mailbox when the bot names none. */profileAddress(): string | undefined;};@@ -120,10 +123,20 @@ function emailUpdateText(secret: SecretRequestCardData, outcome: "provided" | "dif (outcome === "dismissed") return "OpenMausBot secret update: the person chose not to connect a mailbox. Say briefly what you cannot do without it, and do not ask for the password in chat.";const address = secret.address ?? "they typed";return sendingProblem- ? `OpenMausBot secret update: the person connected the mailbox ${address} for reading: EMAIL_LIST_MESSAGES, EMAIL_READ_MESSAGE and the other reading tools are ready. Sending from it doesn't work yet: ${sendingProblem} Only the person can fix that, under Outgoing server in Connected apps › Email. Continue the task as far as reading allows; don't try to send another way.`+ ? `OpenMausBot secret update: the person connected the mailbox ${address} for reading: EMAIL_LIST_MESSAGES, EMAIL_READ_MESSAGE and the other reading tools are ready. Sending from it doesn't work yet: ${sendingProblem} The mailbox card in this chat now shows its outgoing server for the person to fix. Continue the task as far as reading allows; don't try to send another way.`: `OpenMausBot secret update: the person connected the mailbox ${address}. The email tools (EMAIL_LIST_MESSAGES, EMAIL_READ_MESSAGE, EMAIL_SEND_MESSAGE and others) are ready. Continue the task that paused for it.`;}+/** What the bot hears when the outgoing-server card settles; it never hears a password either. */+function emailOutgoingUpdateText(address: string, outcome: "provided" | "dismissed", sendingProblem: string | undefined): string {+ if (outcome === "dismissed") return `OpenMausBot secret update: the person chose not to set up sending for ${address}. Reading still works. Say briefly what you can't do without sending; don't send another way or ask for the password in chat.`;+ return sendingProblem+ ? `OpenMausBot secret update: the person tried another outgoing server for ${address}, and sending still doesn't work: ${sendingProblem} Tell them in one line and carry on without sending.`+ : `OpenMausBot secret update: sending from ${address} works now; EMAIL_SEND_MESSAGE is ready. Continue the task that paused for it.`;+}++const OUTGOING_FIELDS = ["smtpHost", "smtpPort", "smtpSecurity", "smtpUsername", "smtpPassword"] as const;+const SERVER_FIELDS = ["imapHost", "imapPort", "smtpHost", "smtpPort", "smtpSecurity", "username", "smtpUsername", "smtpPassword"] as const;function emailServerFields(fields: Record<string, unknown>): EmailServerFields {const out: Record<string, unknown> = {};@@ -136,6 +149,11 @@ function emailServerFields(fields: Record<string, unknown>): EmailServerFields {return out as EmailServerFields;}+function outgoingFields(fields: Record<string, unknown>): EmailOutgoingFields {+ const server = emailServerFields(fields) as Record<string, unknown>;+ return Object.fromEntries(OUTGOING_FIELDS.flatMap((name) => (server[name] === undefined ? [] : [[name, server[name]]]))) as EmailOutgoingFields;+}+function customRequest(body: Record<string, unknown>): { label: string; reason: string; placeholder: string; delivery: SecretDelivery } | { error: string } {const text = (value: unknown, max: number) => typeof value === "string"? [...value].map((ch) => (ch.charCodeAt(0) < 0x20 || ch === "\u007f" ? " " : ch)).join("").trim().slice(0, max)@@ -162,6 +180,7 @@ export function createSecretCards(deps: SecretCardsDeps) {function updateText(messageId: string, secret: SecretRequestCardData, outcome: "provided" | "dismissed"): string {if (!custom(secret)) return credentialUpdateText(secret.label, outcome);+ if (secret.delivery === "email" && secret.emailOutgoing && secret.address) return emailOutgoingUpdateText(secret.address, outcome, deps.email?.sendingProblem(secret.address));if (secret.delivery === "email") return emailUpdateText(secret, outcome, secret.address ? deps.email?.sendingProblem(secret.address) : undefined);return outcome === "provided"? `OpenMausBot secret update: ${savedSecretText(secret.label, vault.savedFor(messageId))} Continue the task that paused for it.`@@ -245,6 +264,7 @@ export function createSecretCards(deps: SecretCardsDeps) {if (secret.superseded) return { status: 409, body: userError("serverError.secret.replaced") };if (secret.stopped) return { status: 409, body: userError("serverError.secret.taskStopped") };if (secret.provided || secret.savedAt !== undefined) return { status: 409, body: userError("serverError.secret.mailboxAlreadyConnected") };+ if (secret.emailOutgoing) return saveOutgoingServer(botId, threadId, message.id, secret.address, outgoingFields(fields));const password = typeof fields.value === "string" ? fields.value : "";const address = typeof fields.address === "string" && fields.address.trim() ? fields.address.trim() : secret.address ?? "";if (!address || !password.trim() || Buffer.byteLength(password) > SECRET_VALUE_MAX_BYTES) return { status: 400, body: userError("serverError.secret.emailAndPassword") };@@ -265,6 +285,22 @@ export function createSecretCards(deps: SecretCardsDeps) {return { status: 200, body: { ...currentSecretState(botId, threadId, message.id), ...(answer.sending.ok ? {} : { sendingProblem: answer.sending.problem }) } };}+ /** The outgoing-server card: sending is checked at the server typed, and kept once it sends, as the mailbox's own form+ * does. One that still can't send leaves the card open with why. */+ async function saveOutgoingServer(botId: string, threadId: string, messageId: string, address: string | undefined, fields: EmailOutgoingFields): Promise<{ status: number; body: Record<string, unknown> }> {+ if (!address || !deps.email) return { status: 409, body: userError("serverError.secret.emailUnavailable") };+ const answer = await deps.email.checkOutgoing(address, fields);+ const current = secretMessage(botId, threadId, messageId);+ if (!current?.secret) return { status: 409, body: userError("serverError.secret.unavailableLower") };+ if (!answer.ok) {+ if (answer.account) store.patchMessage(threadId, messageId, { secret: { ...current.secret, emailOutgoing: outgoingFieldsOf(answer.account) } });+ return { status: 400, body: { error: answer.error } };+ }+ store.patchMessage(threadId, messageId, { secret: { ...current.secret, emailOutgoing: outgoingFieldsOf(answer.account), savedAt: Date.now() } });+ if (!resumeSecretCard(botId, threadId, messageId, "provided")) return { status: 409, body: userError("serverError.secret.unavailableLower") };+ return { status: 200, body: currentSecretState(botId, threadId, messageId) ?? { provided: true, resumed: false } };+ }+/** mcp_server's fields with every secretRef swapped for its value: only in env, headers and oauth.clientSecret. */function redeemMcpServer<T>(body: T, botId: string, threadId: string) {return vault.redeem(body, { botId, threadId }, (path) =>@@ -394,7 +430,9 @@ export function createSecretCards(deps: SecretCardsDeps) {if (current.secret.stopped) throw new PhoneSecretError("This request stopped with its task", 409);if (current.secret.delivery === "email") {if (!current.secret.address || !deps.email) throw new PhoneSecretError(serverLine(deps.threadLanguage?.(context.threadId), "server.connect.emailOnComputer"), 409);- const answer = await deps.email.connect({ address: current.secret.address, password: opened });+ const answer = current.secret.emailOutgoing+ ? await deps.email.checkOutgoing(current.secret.address, { ...current.secret.emailOutgoing, smtpPassword: opened })+ : await deps.email.connect({ address: current.secret.address, password: opened });if (!answer.ok) throw new PhoneSecretError(answer.error, 400);store.patchMessage(context.threadId, current.id, { secret: { ...current.secret, savedAt: Date.now() } });} else storeCustomSecret(current, context.botId, context.threadId, opened);@@ -470,36 +508,50 @@ export function createSecretCards(deps: SecretCardsDeps) {const refusal = deps.email ? deps.email.refusal() : "Email can't be connected here.";if (refusal || !deps.email) return { status: 403, body: { error: refusal } };const named = typeof body.address === "string" && /^[^\s@]+@[^\s@]+$/u.test(body.address.trim()) ? body.address.trim() : undefined;+ const reason = typeof body.reason === "string" ? body.reason.trim().slice(0, CUSTOM_SECRET_REASON_MAX) : "";+ const language = deps.threadLanguage?.(threadId);if (named && deps.email.connected(named)) {const sending = deps.email.sendingProblem(named);- return { status: 200, body: { alreadyConfigured: true, label: named, text: sending ? `${named} is connected for reading. ${EMAIL_CANT_SEND_TEXT(named, sending)}` : `${named} is already connected. Use the email tools.` } };+ if (!sending) return { status: 200, body: { alreadyConfigured: true, label: named, text: `${named} is already connected. Use the email tools.` } };+ const account = deps.email.account(named);+ const note = serverLine(language, "server.connect.emailOutgoingNote", { bot: from.name });+ const label = postEmailCard(from, threadId, room, {+ label: serverLine(language, "server.connect.emailOutgoingLabel", { address: named }),+ description: `${reason ? `${reason} ` : ""}${sending} ${note}`,+ ...(reason ? { reason: `${reason} ${note}` } : {}),+ placeholder: serverLine(language, "server.connect.emailOutgoingPlaceholder"),+ address: named,+ emailOutgoing: account ? outgoingFieldsOf(account) : {},+ });+ return { status: 201, body: { ...label, delivery: "email", outgoing: true } };}const address = named ?? deps.email.profileAddress();- const reason = typeof body.reason === "string" ? body.reason.trim().slice(0, CUSTOM_SECRET_REASON_MAX) : "";- const language = deps.threadLanguage?.(threadId);- const label = serverLine(language, "server.connect.emailLabel");+ const note = serverLine(language, "server.connect.emailNote", { bot: from.name });+ const label = postEmailCard(from, threadId, room, {+ label: serverLine(language, "server.connect.emailLabel"),+ description: `${reason ? `${reason} ` : ""}${note}`,+ ...(reason ? { reason: `${reason} ${note}` } : {}),+ placeholder: serverLine(language, "server.connect.emailPlaceholder"),+ ...(address ? { address } : {}),+ });+ return { status: 201, body: { ...label, delivery: "email" } };+ }++ /** Posts a mailbox card, which a newer one with the same title replaces while both wait. */+ function postEmailCard(from: BotRecord, threadId: string, room: boolean,+ card: Pick<SecretRequestCardData, "label" | "description" | "reason" | "placeholder" | "address" | "emailOutgoing">): { messageId: string; label: string } {const message = store.appendMessage(threadId, {role: "bot",kind: "secret",- text: credentialDesktopHandoff(label, language),+ text: credentialDesktopHandoff(card.label, deps.threadLanguage?.(threadId)),...(room ? { from: { botId: from.id, name: from.name, color: from.color } } : {}),- secret: {- target: CUSTOM_SECRET_TARGET,- label,- description: `${reason ? `${reason} ` : ""}${serverLine(language, "server.connect.emailNote", { bot: from.name })}`,- ...(reason ? { reason: `${reason} ${serverLine(language, "server.connect.emailNote", { bot: from.name })}` } : {}),- placeholder: serverLine(language, "server.connect.emailPlaceholder"),- helpUrl: "",- delivery: "email",- ...(address ? { address } : {}),- requestKey: randomUUID(),- },+ secret: { target: CUSTOM_SECRET_TARGET, helpUrl: "", delivery: "email", requestKey: randomUUID(), ...card },});for (const prior of store.activePath(threadId)) {- if (prior.id === message.id || !prior.secret || !isPendingCustomSecretRequest(prior, label, from.id, room)) continue;+ if (prior.id === message.id || !prior.secret || !isPendingCustomSecretRequest(prior, card.label, from.id, room)) continue;store.patchMessage(threadId, prior.id, { secret: { ...prior.secret, superseded: true } });}- return { status: 201, body: { messageId: message.id, label, delivery: "email" } };+ return { messageId: message.id, label: card.label };}/** A secret OpenMausBot does not keep: the same bot asking again for one already saved here gets it back, and a newerdiff --git a/server/index.ts b/server/index.tsindex 0685b0dddb..f30335f19b 100644--- a/server/index.ts+++ b/server/index.ts@@ -11551,7 +11551,7 @@ function claimPhoneSecretBotDeletion(botId: string): (() => void) | null {};}-const secretCards = createSecretCards({ store, cfg, botLogins, phoneSecrets, phoneSecretSubmissions, connectorThread, answerCardNode, followCard: (threadId, from, to) => coordinator.followCard(threadId, from, to), threadLanguage, email: { connect: (request, reading) => emailService.connect(request, reading), refusal: () => emailService.status().reason, connected: (address) => { const one = emailService.store.get(address); return Boolean(one && !one.problem); }, sendingProblem: (address) => emailService.sendingProblem(address), profileAddress: () => cfg.profile?.email?.trim() || undefined }, dataDir: DATA_DIR, providerKeysRefused: Boolean(hostedModels), layerFolder: (botId, threadId) => workspaceDir(teamHost.layer(botId, threadId)), turnVm: (threadId) => localVmThreadTargets.get(threadId)?.key });+const secretCards = createSecretCards({ store, cfg, botLogins, phoneSecrets, phoneSecretSubmissions, connectorThread, answerCardNode, followCard: (threadId, from, to) => coordinator.followCard(threadId, from, to), threadLanguage, email: { connect: (request, reading) => emailService.connect(request, reading), refusal: () => emailService.status().reason, connected: (address) => { const one = emailService.store.get(address); return Boolean(one && !one.problem); }, sendingProblem: (address) => emailService.sendingProblem(address), account: (address) => emailService.status().accounts.find((one) => one.address.toLowerCase() === address.toLowerCase()), checkOutgoing: (address, fields) => emailService.checkOutgoing(address, fields), profileAddress: () => cfg.profile?.email?.trim() || undefined }, dataDir: DATA_DIR, providerKeysRefused: Boolean(hostedModels), layerFolder: (botId, threadId) => workspaceDir(teamHost.layer(botId, threadId)), turnVm: (threadId) => localVmThreadTargets.get(threadId)?.key });ROUTES.push(createSecretCardRoutes({ cards: secretCards, phoneSecretSubmissions, threadVisible: (auth, threadId) => visibleTo(viewerFor(auth)).thread(threadId), answerContext: (auth, botId, threadId) => ({ personalCloud: Boolean(CLOUD_PERSONAL), shared: sharedMembership(), owner: (CLOUD_TEAM ? teamOwners.routing.askedPerson(botId, threadId) : null) ?? threadStarters.get(threadId) ?? null, person: auth.kind === "session" ? personKey(auth.session) : null }) }));// By design OpenMausBot never receives a website password: the person signs in where the bot works, and the bot uses that session.diff --git a/shared/email.ts b/shared/email.tsindex fd8ccef0c9..fe140fe73c 100644--- a/shared/email.ts+++ b/shared/email.ts@@ -55,6 +55,13 @@ export interface EmailAccountView {sendingProblem?: string;}+/** What an outgoing form starts with: the server a mailbox sends through, or the one its sending problem is about; never a+ * password. */+export function outgoingFieldsOf(account: EmailAccountView): EmailOutgoingFields {+ const server = account.smtpHost ? { smtpHost: account.smtpHost, smtpPort: account.smtpPort, smtpSecurity: account.smtpSecurity } : account.smtpTried ?? {};+ return Object.fromEntries(Object.entries({ ...server, smtpUsername: account.smtpUsername }).filter(([, value]) => value !== undefined)) as EmailOutgoingFields;+}+/** What POST /api/email/accounts/:address/outgoing answers: it checked sending again, at the server typed there (an* EmailOutgoingFields body) or the ones found for the address, without signing in to read again. */export type EmailOutgoingAnswer = { ok: true; account: EmailAccountView } | { ok: false; error: string; account?: EmailAccountView };diff --git a/shared/wire.ts b/shared/wire.tsindex 89cd8e4dd5..90675b3761 100644--- a/shared/wire.ts+++ b/shared/wire.ts@@ -9,7 +9,7 @@ import type { TurnDigest } from "./digest.ts";import type { BotAvatarCrop, MascotFaceColor } from "./bot-avatar.ts";import type { BotBodyId } from "./bot-body.ts";import type { ReplyStyle } from "./reply-style.ts";-import type { CredentialTargetId, CUSTOM_SECRET_TARGET, SecretDelivery } from "./credential-request.ts";+import type { CredentialTargetId, CUSTOM_SECRET_TARGET, SecretDelivery } from "./credential-request.ts"; import type { EmailOutgoingFields } from "./email.ts";import type { TeamSetupRequest } from "./team-setup.ts"; import type { DefaultBotFields, HelperIntroField } from "./default-bot.ts";import type { SetupCardFields } from "./setup-card.ts"; import type { BugReportField } from "./devs-report-status.ts"; import type { AccessRequestCardField, BotAccessFields } from "./bot-access.ts";import type { RoutineRequestCardData } from "./routine-request.ts"; import type { SavedStepsMark } from "./saved-steps.ts";@@ -740,6 +740,7 @@ export interface SecretRequestCardData {/** An email card: the mailbox it is for, when known; off a phone the person can change it on the card. */ address?: string;/** An email card: the incoming server that took the password, once it did, while sending is still being checked. */emailReading?: string;+ /** An email card for a connected mailbox that can't send: only its outgoing server, from what is known, never a password. */ emailOutgoing?: EmailOutgoingFields;/** A custom secret: the bot's own words on why; `description` adds what the bot may do with it, and helpUrl is empty. */reason?: string;/** A file secret's Local VM target key, when the asking turn ran in one. */diff --git a/src/components/EmailMailbox.test.ts b/src/components/EmailMailbox.test.tsindex 9ca989b8e8..a59db8e687 100644--- a/src/components/EmailMailbox.test.ts+++ b/src/components/EmailMailbox.test.ts@@ -7,7 +7,8 @@ vi.mock("@/state/store", async (original) => ({ ...await original<typeof import(import { setLocale } from "@/lib/i18n";import type { EmailAccountView } from "../../shared/email";import { EmailConnectForm } from "./EmailCard";-import { EmailCheckLines, EmailMailbox, EmailSignInNote, outgoingOf } from "./EmailMailbox";+import { EmailCheckLines, EmailMailbox, EmailSignInNote } from "./EmailMailbox";+import { outgoingFieldsOf } from "../../shared/email";import { EmailRequestSettled } from "./EmailRequestCard";const WORKS: EmailAccountView = { address: "[email protected]", imapHost: "imap.world4you.com", smtpHost: "smtp.world4you.com", smtpPort: 587, smtpSecurity: "starttls", connectedAt: "2026-11-06T00:00:00.000Z" };@@ -52,7 +53,7 @@ describe("the email card", () => {expect(card).toContain(">Try again<");expect(card).not.toContain("Send a test to myself");expect(card).not.toContain("Connected.");- expect(outgoingOf(FAILS)).toEqual({ smtpHost: "smtp.world4you.com", smtpPort: 465, smtpSecurity: "tls" });+ expect(outgoingFieldsOf(FAILS)).toEqual({ smtpHost: "smtp.world4you.com", smtpPort: 465, smtpSecurity: "tls" });});it("connected: Connected., both lines ticked with their servers, and a test to myself", () => {diff --git a/src/components/EmailMailbox.tsx b/src/components/EmailMailbox.tsxindex 720954ff7f..88862e1548 100644--- a/src/components/EmailMailbox.tsx+++ b/src/components/EmailMailbox.tsx@@ -7,7 +7,7 @@ import { t } from "@/lib/i18n";import { reserveConnectionPage } from "@/lib/connector-oauth";import { mcpSignInLink } from "@/lib/mcp-sign-in";import { Select } from "./Select";-import type { EmailAccountView, EmailOutgoingAnswer, EmailOutgoingFields, EmailSignInHint, EmailTestAnswer } from "../../shared/email";+import { outgoingFieldsOf, type EmailAccountView, type EmailOutgoingAnswer, type EmailOutgoingFields, type EmailSignInHint, type EmailTestAnswer } from "../../shared/email";export const EMAIL_PILL = "inline-flex h-7 min-w-[64px] shrink-0 items-center justify-center gap-2 rounded-full bg-control/80 px-3 text-[13px] font-medium leading-5 text-ink transition-colors hover:bg-raised-hover disabled:opacity-40";export const EMAIL_FIELD = "h-8 w-full min-w-0 rounded-lg bg-inset px-2.5 text-[13px] text-ink placeholder:text-ink-secondary focus:outline-none focus:ring-1 focus:ring-accent/50";@@ -64,12 +64,6 @@ export function OutgoingServerInputs<T extends EmailOutgoingFields>({ value, onC);}-/** What the outgoing form starts with: the server a mailbox sends through, or the one the reason is about; never a password. */-export const outgoingOf = (account: EmailAccountView): EmailOutgoingFields => {- const server = account.smtpHost ? { smtpHost: account.smtpHost, smtpPort: account.smtpPort, smtpSecurity: account.smtpSecurity } : account.smtpTried ?? {};- return Object.fromEntries(Object.entries({ ...server, smtpUsername: account.smtpUsername }).filter(([, value]) => value !== undefined)) as EmailOutgoingFields;-};-const message = (cause: unknown) => (cause instanceof Error ? cause.message : String(cause));/** Gmail, Outlook and the providers that want an app password: one line, and their own way in. */@@ -122,7 +116,7 @@ export function EmailMailbox({ account, onChanged, compact = false, fieldClassNa}) {const failing = Boolean(account.sendingProblem);const [editing, setEditing] = useState(failing);- const [fields, setFields] = useState<EmailOutgoingFields>(() => outgoingOf(account));+ const [fields, setFields] = useState<EmailOutgoingFields>(() => outgoingFieldsOf(account));const [busy, setBusy] = useState<"check" | "test" | null>(null);const [error, setError] = useState<string | null>(null);const [done, setDone] = useState<string | null>(null);@@ -137,7 +131,7 @@ export function EmailMailbox({ account, onChanged, compact = false, fieldClassNaconst answer = await api(`${at}/outgoing`, { method: "POST", body: JSON.stringify(fields) }) as EmailOutgoingAnswer;if (answer.ok) {setEditing(false);- setFields(outgoingOf(answer.account));+ setFields(outgoingFieldsOf(answer.account));await onChanged(answer.account);} else {setError(answer.error);@@ -181,7 +175,7 @@ export function EmailMailbox({ account, onChanged, compact = false, fieldClassNa<OutgoingServerInputs value={fields} onChange={setFields} className={fieldClassName} disabled={busy !== null} /><div className="flex items-center gap-2"><button type="submit" disabled={busy !== null} className={EMAIL_PILL}>{busy === "check" ? <Loader2 size={14} className="animate-spin" /> : t("common.tryAgain")}</button>- {!failing && <button type="button" disabled={busy !== null} onClick={() => { setEditing(false); setFields(outgoingOf(account)); setError(null); }} className={EMAIL_LINK}>{t("common.cancel")}</button>}+ {!failing && <button type="button" disabled={busy !== null} onClick={() => { setEditing(false); setFields(outgoingFieldsOf(account)); setError(null); }} className={EMAIL_LINK}>{t("common.cancel")}</button>}</div></form>)}diff --git a/src/components/EmailRequestCard.dom.test.ts b/src/components/EmailRequestCard.dom.test.tsnew file mode 100644index 0000000000..d179cbf45c--- /dev/null+++ b/src/components/EmailRequestCard.dom.test.ts@@ -0,0 +1,50 @@+// @vitest-environment happy-dom+import { act, createElement } from "react";+import { createRoot, type Root } from "react-dom/client";+import { afterEach, beforeEach, expect, it, vi } from "vitest";++vi.mock("@/state/store", () => ({ api: vi.fn() }));++import type { EmailOutgoingFields } from "../../shared/email";+import { EmailOutgoingRequestForm } from "./EmailRequestCard";++let container: HTMLDivElement, root: Root;+beforeEach(() => {+ vi.stubGlobal("IS_REACT_ACT_ENVIRONMENT", true);+ container = document.createElement("div"); document.body.append(container); root = createRoot(container);+});+afterEach(async () => { await act(async () => root.unmount()); container.remove(); vi.unstubAllGlobals(); });++async function input(label: string, value: string) {+ const field = container.querySelector<HTMLInputElement>(`input[aria-label="${label}"]`)!;+ expect(field).toBeTruthy();+ await act(async () => {+ Object.getOwnPropertyDescriptor(HTMLInputElement.prototype, "value")!.set!.call(field, value);+ field.dispatchEvent(new Event("input", { bubbles: true }));+ });+}+async function choose(label: string, value: string) {+ const field = container.querySelector<HTMLSelectElement>(`select[aria-label="${label}"]`)!;+ await act(async () => {+ Object.getOwnPropertyDescriptor(HTMLSelectElement.prototype, "value")!.set!.call(field, value);+ field.dispatchEvent(new Event("change", { bubbles: true }));+ });+}+const save = () => act(async () => { container.querySelector<HTMLButtonElement>('button[type="submit"]')!.click(); await Promise.resolve(); });++it("sends what the person typed for the outgoing server, shows why it still can't send, and nothing once it does", async () => {+ const answers = ["smtp.easy.example didn't answer on 587.", null];+ const submit = vi.fn(async (_fields: EmailOutgoingFields) => answers.shift() ?? null);+ await act(async () => root.render(createElement(EmailOutgoingRequestForm, { address: "[email protected]", initial: { smtpHost: "smtp.shop.example", smtpPort: 465 }, submit })));+ expect(container.textContent).toContain("[email protected]");+ await input("Outgoing mail server (SMTP)", "smtp.easy.example");+ await input("Port", "587");+ await choose("Security", "starttls");+ await input("Password for sending, if different", "fake-sending-password");+ await save();+ expect(submit).toHaveBeenLastCalledWith({ smtpHost: "smtp.easy.example", smtpPort: 587, smtpSecurity: "starttls", smtpPassword: "fake-sending-password" });+ expect(container.querySelector('[role="alert"]')?.textContent).toBe("smtp.easy.example didn't answer on 587.");+ await save();+ expect(submit).toHaveBeenCalledTimes(2);+ expect(container.querySelector('[role="alert"]')).toBeNull();+});diff --git a/src/components/EmailRequestCard.tsx b/src/components/EmailRequestCard.tsxindex 036c9da28b..6347444710 100644--- a/src/components/EmailRequestCard.tsx+++ b/src/components/EmailRequestCard.tsx@@ -1,11 +1,48 @@-import { useCallback, useEffect, useState, type ReactNode } from "react";-import { Mail } from "lucide-react";+import { useCallback, useEffect, useState, type CSSProperties, type FormEvent, type ReactNode } from "react";+import { LockKeyhole, Loader2, Mail } from "lucide-react";import { api } from "@/state/store";import { cn } from "@/lib/cn";-import type { EmailAccountView, EmailStatus } from "../../shared/email";+import { t } from "@/lib/i18n";+import type { EmailAccountView, EmailOutgoingFields, EmailStatus } from "../../shared/email";import { ASK_FIELD, AskCard } from "./AskCard";-import { EmailMailbox } from "./EmailMailbox";+import { EMAIL_FIELD, EMAIL_PILL, EmailMailbox, OutgoingServerInputs } from "./EmailMailbox";++/** A bot's card for a connected mailbox that can't send: its outgoing server and sending sign-in, checked before it is kept.+ * `submit` answers why it still can't send, or null once it does. */+export function EmailOutgoingRequestForm({ address, initial, submit, fieldClassName = EMAIL_FIELD, submitClassName = EMAIL_PILL, submitStyle }: {+ address: string;+ initial: EmailOutgoingFields;+ submit: (fields: EmailOutgoingFields) => Promise<string | null>;+ fieldClassName?: string;+ submitClassName?: string;+ submitStyle?: CSSProperties;+}) {+ const [fields, setFields] = useState<EmailOutgoingFields>(initial);+ const [busy, setBusy] = useState(false);+ const [error, setError] = useState<string | null>(null);+ const save = async (event: FormEvent) => {+ event.preventDefault();+ if (busy) return;+ setBusy(true);+ setError(null);+ try { setError(await submit(fields)); } finally { setBusy(false); }+ };+ return (+ <form data-email-outgoing-request className="flex flex-col gap-2" onSubmit={(event) => void save(event)}>+ <p dir="ltr" className="truncate text-start text-[13px] font-medium leading-5 text-ink">{address}</p>+ <OutgoingServerInputs value={fields} onChange={setFields} className={fieldClassName} disabled={busy} />+ <div className="flex flex-wrap items-center gap-x-3 gap-y-2">+ <button type="submit" disabled={busy} className={submitClassName} style={submitStyle}>+ {busy ? <Loader2 size={14} className="animate-spin" /> : <LockKeyhole size={14} />}+ {t("chat.secret.save")}+ </button>+ <span className="flex items-center gap-1 text-[12px] text-ink-tertiary"><LockKeyhole size={11} /> {t("secretCard.email")}</span>+ </div>+ {error && <p role="alert" className="text-[12px] text-danger">{error}</p>}+ </form>+ );+}/** A chat's mailbox card once connected: the same mailbox as in Apps, with a test to itself, and its outgoing server open* while sending doesn't work. Where the mailbox can't be shown (gone, or this person doesn't manage mailboxes), thediff --git a/src/components/SecretRequestCard.test.ts b/src/components/SecretRequestCard.test.tsindex 96a379b24f..7f0da81ec8 100644--- a/src/components/SecretRequestCard.test.ts+++ b/src/components/SecretRequestCard.test.ts@@ -241,6 +241,18 @@ describe("SecretRequestCard mailbox", () => {expect(html).toContain('data-email-check="waiting"');});+ it("for a mailbox that reads but can't send, asks only for its outgoing server, filled with what is known", () => {+ const html = view({ ...email, label: "Outgoing server for [email protected]", placeholder: "Password for sending", address: "[email protected]", emailOutgoing: { smtpHost: "smtp.shop.example", smtpPort: 587 } });+ expect(html).toContain("data-email-outgoing-request");+ expect(html).toContain("Outgoing server for [email protected]");+ expect(html).toContain('value="smtp.shop.example"');+ expect(html).toContain('value="587"');+ expect(html).toContain('type="password"');+ expect(html).toContain("Save securely");+ expect(html).not.toContain('type="email"');+ expect(html).not.toContain(">Connect<");+ });+it("says the bot goes on once connected, without the address field", () => {const html = view({ ...email, provided: true, resumed: true, address: "[email protected]" });expect(html).toContain('data-ask-card="settled"');diff --git a/src/components/SecretRequestCard.tsx b/src/components/SecretRequestCard.tsxindex f0f6147c68..9581c65905 100644--- a/src/components/SecretRequestCard.tsx+++ b/src/components/SecretRequestCard.tsx@@ -9,8 +9,8 @@ import { keySaved, keySaveFailure, savedKeyResult } from "@/lib/product-events";import { api, useStore, type Bot, type ConfigStatus, type Message } from "@/state/store";import { ASK_FIELD, askPrimary, ASK_QUIET_BUTTON, AskCard, AskSettledLine, returnFocusToComposer } from "./AskCard";import { EmailConnectForm, type EmailConnectRefusal } from "./EmailCard";-import { EmailRequestSettled } from "./EmailRequestCard";-import type { EmailConnectRequest } from "../../shared/email";+import { EmailOutgoingRequestForm, EmailRequestSettled } from "./EmailRequestCard";+import type { EmailConnectRequest, EmailOutgoingFields } from "../../shared/email";import { productName } from "@/lib/brand";// Security: the value goes straight to the host's settings, never into the chat.@@ -131,6 +131,16 @@ export function SecretRequestCard({}};+ const saveOutgoing = async (fields: EmailOutgoingFields): Promise<string | null> => {+ try {+ await api(`${endpoint}/save`, { method: "POST", body: JSON.stringify({ threadId, ...fields }) });+ returnFocusToComposer();+ return null;+ } catch (error) {+ return error instanceof Error ? error.message : String(error);+ }+ };+const save = async (event?: FormEvent) => {event?.preventDefault();if (custom) return saveCustom();@@ -234,6 +244,15 @@ export function SecretRequestCard({<div className="text-[13px] leading-relaxed text-ink-secondary">{t("chat.secret.remoteClient")}</div>+ ) : email && secret.emailOutgoing && secret.address ? (+ <EmailOutgoingRequestForm+ address={secret.address}+ initial={secret.emailOutgoing}+ submit={saveOutgoing}+ fieldClassName={cn(ASK_FIELD, "w-full")}+ submitClassName={askPrimary(color).className}+ submitStyle={askPrimary(color).style}+ />) : email ? (<EmailConnectForminitialAddress={secret.address ?? ""}diff --git a/src/locales/de.json b/src/locales/de.jsonindex 7a981e97db..903ad844d9 100644--- a/src/locales/de.json+++ b/src/locales/de.json@@ -115,6 +115,9 @@"server.connect.secretFile": "Die Befehle von {bot} können es 24 Stunden lang aus einer privaten Datei lesen; es wird nie in den Chat übernommen.","server.connect.secretRef": "{bot} bekommt für die eigenen Werkzeuge von OpenMausBot einen Verweis, der nur einmal gilt, und sieht es nie.","server.connect.secretNeverRead": "{bot} kann es verwenden, aber nie auslesen.",+ "server.connect.emailOutgoingLabel": "Postausgangsserver für {address}",+ "server.connect.emailOutgoingNote": "Gib ein, worüber es Mails versendet. {bot} sieht das Passwort nie.",+ "server.connect.emailOutgoingPlaceholder": "Passwort zum Senden","server.mcp.added": "MCP-Server {name} hinzugefügt","server.mcp.changed": "MCP-Server {name} geändert","server.mcp.turnedOn": "MCP-Server {name} eingeschaltet",diff --git a/src/locales/en.json b/src/locales/en.jsonindex 1292951c75..b4ba6c3272 100644--- a/src/locales/en.json+++ b/src/locales/en.json@@ -229,6 +229,9 @@"server.connect.secretFile": "{bot}'s commands can read it from a private file for 24 hours; it is never added to chat.","server.connect.secretRef": "{bot} gets a one-use reference for OpenMausBot's own tools and never sees it.","server.connect.secretNeverRead": "{bot} can use it but never read it back.",+ "server.connect.emailOutgoingLabel": "Outgoing server for {address}",+ "server.connect.emailOutgoingNote": "Enter where it sends mail from. {bot} never sees the password.",+ "server.connect.emailOutgoingPlaceholder": "Password for sending","server.mcp.added": "Added MCP server {name}","server.mcp.changed": "Changed MCP server {name}","server.mcp.turnedOn": "Turned on MCP server {name}",diff --git a/src/locales/es.json b/src/locales/es.jsonindex 3d155724d2..d790425c23 100644--- a/src/locales/es.json+++ b/src/locales/es.json@@ -131,6 +131,9 @@"server.connect.secretFile": "Los comandos de {bot} pueden leerlo desde un archivo privado durante 24 horas; nunca se añade al chat.","server.connect.secretRef": "{bot} recibe una referencia de un solo uso para las herramientas propias de OpenMausBot y nunca lo ve.","server.connect.secretNeverRead": "{bot} puede usarlo, pero nunca leerlo.",+ "server.connect.emailOutgoingLabel": "Servidor de salida de {address}",+ "server.connect.emailOutgoingNote": "Indica desde dónde envía el correo. {bot} nunca ve la contraseña.",+ "server.connect.emailOutgoingPlaceholder": "Contraseña para enviar","server.mcp.added": "Servidor MCP {name} añadido","server.mcp.changed": "Servidor MCP {name} cambiado","server.mcp.turnedOn": "Servidor MCP {name} activado",diff --git a/src/locales/fr.json b/src/locales/fr.jsonindex eea2c295d4..f42bed88e2 100644--- a/src/locales/fr.json+++ b/src/locales/fr.json@@ -101,6 +101,9 @@"server.connect.secretFile": "Les commandes de {bot} peuvent le lire dans un fichier privé pendant 24 heures ; il n'est jamais ajouté au chat.","server.connect.secretRef": "{bot} reçoit une référence à usage unique pour les outils d'OpenMausBot et ne le voit jamais.","server.connect.secretNeverRead": "{bot} peut l'utiliser, mais jamais le relire.",+ "server.connect.emailOutgoingLabel": "Serveur sortant de {address}",+ "server.connect.emailOutgoingNote": "Indique par où il envoie le courrier. {bot} ne voit jamais le mot de passe.",+ "server.connect.emailOutgoingPlaceholder": "Mot de passe d'envoi","server.mcp.added": "Serveur MCP {name} ajouté","server.mcp.changed": "Serveur MCP {name} modifié","server.mcp.turnedOn": "Serveur MCP {name} activé",diff --git a/src/locales/hi.json b/src/locales/hi.jsonindex b665edc2e8..fcb514e168 100644--- a/src/locales/hi.json+++ b/src/locales/hi.json@@ -101,6 +101,9 @@"server.connect.secretFile": "{bot} के कमांड इसे 24 घंटे तक एक निजी फ़ाइल से पढ़ सकते हैं; इसे कभी चैट में नहीं जोड़ा जाता।","server.connect.secretRef": "{bot} को OpenMausBot के अपने टूल के लिए एक बार इस्तेमाल होने वाला रेफ़रेंस मिलता है और वह इसे कभी नहीं देखता।","server.connect.secretNeverRead": "{bot} इसका इस्तेमाल कर सकता है, लेकिन इसे कभी वापस नहीं पढ़ सकता।",+ "server.connect.emailOutgoingLabel": "{address} का आउटगोइंग सर्वर",+ "server.connect.emailOutgoingNote": "बताएँ कि यह मेल कहाँ से भेजता है। {bot} पासवर्ड कभी नहीं देखता।",+ "server.connect.emailOutgoingPlaceholder": "भेजने का पासवर्ड","server.mcp.added": "MCP सर्वर {name} जोड़ा","server.mcp.changed": "MCP सर्वर {name} बदला","server.mcp.turnedOn": "MCP सर्वर {name} चालू किया",diff --git a/src/locales/it.json b/src/locales/it.jsonindex 9a0579093e..8832882379 100644--- a/src/locales/it.json+++ b/src/locales/it.json@@ -137,6 +137,9 @@"server.connect.secretFile": "I comandi di {bot} possono leggerlo da un file privato per 24 ore; non viene mai aggiunto alla chat.","server.connect.secretRef": "{bot} riceve un riferimento monouso per gli strumenti di OpenMausBot e non lo vede mai.","server.connect.secretNeverRead": "{bot} può usarlo, ma non può mai rileggerlo.",+ "server.connect.emailOutgoingLabel": "Server in uscita di {address}",+ "server.connect.emailOutgoingNote": "Indica da dove invia la posta. {bot} non vede mai la password.",+ "server.connect.emailOutgoingPlaceholder": "Password per l'invio","server.mcp.added": "Server MCP {name} aggiunto","server.mcp.changed": "Server MCP {name} modificato","server.mcp.turnedOn": "Server MCP {name} attivato",diff --git a/src/locales/ja.json b/src/locales/ja.jsonindex 575ebdda46..2cf7938cba 100644--- a/src/locales/ja.json+++ b/src/locales/ja.json@@ -188,6 +188,9 @@"server.connect.secretFile": "{bot} のコマンドは 24 時間、非公開のファイルからこれを読み取れます。チャットに追加されることはありません。","server.connect.secretRef": "{bot} は OpenMausBot のツール用に 1 回だけ使える参照を受け取り、値そのものを見ることはありません。","server.connect.secretNeverRead": "{bot} はこれを使えますが、読み返すことはできません。",+ "server.connect.emailOutgoingLabel": "{address} の送信サーバー",+ "server.connect.emailOutgoingNote": "メールの送信元となるサーバーを入力してください。{bot} がパスワードを見ることはありません。",+ "server.connect.emailOutgoingPlaceholder": "送信用パスワード","server.mcp.added": "MCP サーバー {name} を追加しました","server.mcp.changed": "MCP サーバー {name} を変更しました","server.mcp.turnedOn": "MCP サーバー {name} をオンにしました",diff --git a/src/locales/ko.json b/src/locales/ko.jsonindex 3a75cab420..bb5da5210e 100644--- a/src/locales/ko.json+++ b/src/locales/ko.json@@ -181,6 +181,9 @@"server.connect.secretFile": "{bot}의 명령은 24시간 동안 비공개 파일에서 이 값을 읽을 수 있어요. 채팅에는 절대 추가되지 않아요.","server.connect.secretRef": "{bot}은(는) OpenMausBot 도구에서 한 번만 쓸 수 있는 참조를 받고, 값 자체는 볼 수 없어요.","server.connect.secretNeverRead": "{bot}은(는) 이 값을 쓸 수 있지만 다시 읽을 수는 없어요.",+ "server.connect.emailOutgoingLabel": "{address}의 보내는 메일 서버",+ "server.connect.emailOutgoingNote": "메일을 보내는 서버를 입력하세요. {bot}은(는) 비밀번호를 절대 보지 못합니다.",+ "server.connect.emailOutgoingPlaceholder": "보내기용 비밀번호","server.mcp.added": "MCP 서버 {name} 추가했어요","server.mcp.changed": "MCP 서버 {name} 변경했어요","server.mcp.turnedOn": "MCP 서버 {name} 켰어요",diff --git a/src/locales/pl.json b/src/locales/pl.jsonindex 80c3d24d51..4247e244b3 100644--- a/src/locales/pl.json+++ b/src/locales/pl.json@@ -138,6 +138,9 @@"server.connect.secretFile": "Polecenia bota {bot} mogą odczytywać to z prywatnego pliku przez 24 godziny; nigdy nie trafia to do czatu.","server.connect.secretRef": "{bot} dostaje jednorazowe odwołanie dla narzędzi OpenMausBot i nigdy tego nie widzi.","server.connect.secretNeverRead": "{bot} może tego używać, ale nigdy nie może tego odczytać.",+ "server.connect.emailOutgoingLabel": "Serwer wychodzący dla {address}",+ "server.connect.emailOutgoingNote": "Podaj, przez który serwer wysyła pocztę. {bot} nigdy nie widzi hasła.",+ "server.connect.emailOutgoingPlaceholder": "Hasło do wysyłania","server.mcp.added": "Dodano serwer MCP {name}","server.mcp.changed": "Zmieniono serwer MCP {name}","server.mcp.turnedOn": "Włączono serwer MCP {name}",diff --git a/src/locales/pt-br.json b/src/locales/pt-br.jsonindex 3ade9874a5..1a82ee6574 100644--- a/src/locales/pt-br.json+++ b/src/locales/pt-br.json@@ -212,6 +212,9 @@"server.connect.secretFile": "Os comandos de {bot} podem ler o conteúdo em um arquivo privado por 24 horas; esse conteúdo nunca é adicionado ao chat.","server.connect.secretRef": "{bot} recebe uma referência de uso único para as ferramentas do próprio OpenMausBot e nunca vê o valor.","server.connect.secretNeverRead": "{bot} pode usar o valor, mas nunca consegue lê-lo.",+ "server.connect.emailOutgoingLabel": "Servidor de saída de {address}",+ "server.connect.emailOutgoingNote": "Informe por onde ele envia os e-mails. {bot} nunca vê a senha.",+ "server.connect.emailOutgoingPlaceholder": "Senha para envio","server.mcp.added": "Adicionou o servidor MCP {name}","server.mcp.changed": "Alterou o servidor MCP {name}","server.mcp.turnedOn": "Ligou o servidor MCP {name}",diff --git a/src/locales/ru.json b/src/locales/ru.jsonindex 630e6fb611..b7cb32ce39 100644--- a/src/locales/ru.json+++ b/src/locales/ru.json@@ -138,6 +138,9 @@"server.connect.secretFile": "Команды бота {bot} могут читать это из закрытого файла в течение 24 часов; это никогда не попадает в чат.","server.connect.secretRef": "{bot} получает одноразовую ссылку для собственных инструментов OpenMausBot и никогда не видит значение.","server.connect.secretNeverRead": "{bot} может это использовать, но никогда не сможет прочитать.",+ "server.connect.emailOutgoingLabel": "Сервер исходящей почты для {address}",+ "server.connect.emailOutgoingNote": "Укажите, через какой сервер отправляется почта. {bot} никогда не видит пароль.",+ "server.connect.emailOutgoingPlaceholder": "Пароль для отправки","server.mcp.added": "Добавлен MCP-сервер {name}","server.mcp.changed": "Изменён MCP-сервер {name}","server.mcp.turnedOn": "Включён MCP-сервер {name}",diff --git a/src/locales/tr.json b/src/locales/tr.jsonindex 326216c026..98e4f562de 100644--- a/src/locales/tr.json+++ b/src/locales/tr.json@@ -132,6 +132,9 @@"server.connect.secretFile": "{bot} botunun komutları bunu 24 saat boyunca özel bir dosyadan okuyabilir; sohbete asla eklenmez.","server.connect.secretRef": "{bot}, OpenMausBot'un kendi araçları için tek kullanımlık bir referans alır ve değeri asla görmez.","server.connect.secretNeverRead": "{bot} bunu kullanabilir ama asla geri okuyamaz.",+ "server.connect.emailOutgoingLabel": "{address} için giden sunucu",+ "server.connect.emailOutgoingNote": "Postanın hangi sunucudan gönderildiğini girin. {bot} parolayı asla görmez.",+ "server.connect.emailOutgoingPlaceholder": "Gönderme parolası","server.mcp.added": "MCP sunucusu {name} eklendi","server.mcp.changed": "MCP sunucusu {name} değiştirildi","server.mcp.turnedOn": "MCP sunucusu {name} açıldı",diff --git a/src/locales/uk.json b/src/locales/uk.jsonindex bc0ea6cbd6..c5e7778b28 100644--- a/src/locales/uk.json+++ b/src/locales/uk.json@@ -101,6 +101,9 @@"server.connect.secretFile": "Команди бота {bot} можуть читати це з приватного файлу протягом 24 годин; це ніколи не потрапляє в чат.","server.connect.secretRef": "{bot} отримує одноразове посилання для власних інструментів OpenMausBot і ніколи не бачить значення.","server.connect.secretNeverRead": "{bot} може це використовувати, але ніколи не зможе прочитати.",+ "server.connect.emailOutgoingLabel": "Сервер вихідної пошти для {address}",+ "server.connect.emailOutgoingNote": "Вкажіть, через який сервер надсилається пошта. {bot} ніколи не бачить пароль.",+ "server.connect.emailOutgoingPlaceholder": "Пароль для надсилання","server.mcp.added": "Додано MCP-сервер {name}","server.mcp.changed": "Змінено MCP-сервер {name}","server.mcp.turnedOn": "Увімкнено MCP-сервер {name}",diff --git a/src/locales/vi.json b/src/locales/vi.jsonindex 66c781607c..1af4928c0f 100644--- a/src/locales/vi.json+++ b/src/locales/vi.json@@ -132,6 +132,9 @@"server.connect.secretFile": "Các lệnh của {bot} có thể đọc nó từ một tệp riêng trong 24 giờ; nó không bao giờ được thêm vào cuộc trò chuyện.","server.connect.secretRef": "{bot} nhận một tham chiếu dùng một lần cho các công cụ của OpenMausBot và không bao giờ thấy giá trị.","server.connect.secretNeverRead": "{bot} có thể dùng nó nhưng không bao giờ đọc lại được.",+ "server.connect.emailOutgoingLabel": "Máy chủ thư đi của {address}",+ "server.connect.emailOutgoingNote": "Nhập máy chủ dùng để gửi thư. {bot} không bao giờ thấy mật khẩu.",+ "server.connect.emailOutgoingPlaceholder": "Mật khẩu để gửi","server.mcp.added": "Đã thêm máy chủ MCP {name}","server.mcp.changed": "Đã thay đổi máy chủ MCP {name}","server.mcp.turnedOn": "Đã bật máy chủ MCP {name}",diff --git a/src/locales/zh-tw.json b/src/locales/zh-tw.jsonindex 227fa26261..089978a490 100644--- a/src/locales/zh-tw.json+++ b/src/locales/zh-tw.json@@ -229,6 +229,9 @@"server.connect.secretFile": "{bot} 的指令可以在 24 小時內從私人檔案讀取它;它永遠不會被加入聊天。","server.connect.secretRef": "{bot} 會取得一個供 OpenMausBot 自帶工具使用的一次性參照,永遠看不到它的值。","server.connect.secretNeverRead": "{bot} 可以使用它,但永遠無法讀取它。",+ "server.connect.emailOutgoingLabel": "{address} 的外寄伺服器",+ "server.connect.emailOutgoingNote": "請輸入它用來寄信的伺服器。{bot} 永遠看不到密碼。",+ "server.connect.emailOutgoingPlaceholder": "寄信用密碼","server.mcp.added": "已新增 MCP 伺服器 {name}","server.mcp.changed": "已變更 MCP 伺服器 {name}","server.mcp.turnedOn": "已開啟 MCP 伺服器 {name}",diff --git a/src/locales/zh.json b/src/locales/zh.jsonindex b63a57fc13..e1d76995b3 100644--- a/src/locales/zh.json+++ b/src/locales/zh.json@@ -186,6 +186,9 @@"server.connect.secretFile": "{bot} 的命令可以在 24 小时内从私有文件中读取它;它永远不会被添加到聊天中。","server.connect.secretRef": "{bot} 会获得一个供 OpenMausBot 自带工具使用的一次性引用,永远看不到它的值。","server.connect.secretNeverRead": "{bot} 可以使用它,但永远无法读取它。",+ "server.connect.emailOutgoingLabel": "{address} 的发件服务器",+ "server.connect.emailOutgoingNote": "请输入它用来发送邮件的服务器。{bot} 永远看不到密码。",+ "server.connect.emailOutgoingPlaceholder": "发件密码","server.mcp.added": "已添加 MCP 服务器 {name}","server.mcp.changed": "已更改 MCP 服务器 {name}","server.mcp.turnedOn": "已开启 MCP 服务器 {name}",