limixbot 0.3.100 → 0.3.101

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (197) hide show
  1. package/dist/assets/{ActivityPanel-DuZNoivH.js → ActivityPanel-DZZgXWgd.js} +1 -1
  2. package/dist/assets/{App-BUF9rx3_.js → App-D24ELMyP.js} +124 -123
  3. package/dist/assets/{AppEventEditor-D2yq1wkA.js → AppEventEditor-BFkEZazQ.js} +1 -1
  4. package/dist/assets/{BotSettingsDialog-CdV5Kqhv.js → BotSettingsDialog-BNDFheN0.js} +4 -4
  5. package/dist/assets/{BrowserPanel-DjaihDp3.js → BrowserPanel-BVvlCdxG.js} +1 -1
  6. package/dist/assets/{BrowserProfilesManager-Ch1HSEpX.js → BrowserProfilesManager-CQVN08cF.js} +1 -1
  7. package/dist/assets/CloudAddDialog-BqehN1pz.js +1 -0
  8. package/dist/assets/{ComputerFilesPane-B2zIb4xO.js → ComputerFilesPane-C8Xj3lsj.js} +1 -1
  9. package/dist/assets/{ComputerPanel-Bg3QoQWy.js → ComputerPanel-BfyIIg7u.js} +2 -2
  10. package/dist/assets/{DataPanel-CldVb-3K.js → DataPanel-CkOWtMCr.js} +1 -1
  11. package/dist/assets/{DesktopViewer-JxM0Thy2.js → DesktopViewer-PXMs_Z3h.js} +1 -1
  12. package/dist/assets/{GrokMoveDialog-CoQ6YMdv.js → GrokMoveDialog-B3PuFwiJ.js} +1 -1
  13. package/dist/assets/{InspectorPanel-Cj-nhLfa.js → InspectorPanel-BCiZLdqU.js} +1 -1
  14. package/dist/assets/{KeyboardShortcutsModal-sNaxhh0F.js → KeyboardShortcutsModal-ffycwWVV.js} +1 -1
  15. package/dist/assets/{LimixResizeHandles-DPtm2mPo.js → LimixResizeHandles-CtazDkY7.js} +1 -1
  16. package/dist/assets/{LiveDesktop-dfhFXJ6C.js → LiveDesktop-CJWerWq1.js} +1 -1
  17. package/dist/assets/{LocalVmWorkspace-BTqTG8D6.js → LocalVmWorkspace-CrdC3MmK.js} +1 -1
  18. package/dist/assets/{MacLocalControl-Cjkw9sl_.js → MacLocalControl-Bcdg_u2n.js} +1 -1
  19. package/dist/assets/{MarkdownFilePreview-O_67JVQ6.js → MarkdownFilePreview-C-XNLE3e.js} +1 -1
  20. package/dist/assets/{MenuMotion-Dv-G0PKg.js → MenuMotion-BclWiAVe.js} +1 -1
  21. package/dist/assets/NewBotDialog-CI3c7n9d.js +1 -0
  22. package/dist/assets/{PhoneAppDialog-Dvu3up2S.js → PhoneAppDialog-CR-LtOHi.js} +1 -1
  23. package/dist/assets/PlacesRail-DyYA64do.js +1 -0
  24. package/dist/assets/{PluginsPanel-CC_Gyo86.js → PluginsPanel-79V2kP_5.js} +4 -4
  25. package/dist/assets/{ProIntroduction-BATr7O3z.js → ProIntroduction-BgEaTCd1.js} +1 -1
  26. package/dist/assets/{RemoteAgentSettingsPanel-Dn2fItnk.js → RemoteAgentSettingsPanel-CpJDLN6F.js} +1 -1
  27. package/dist/assets/{RoomPanel-Cb5fVI3_.js → RoomPanel-ByAT8CqS.js} +2 -2
  28. package/dist/assets/{RoutinesPage-4bH5oJ-7.js → RoutinesPage-CA1__NjC.js} +2 -2
  29. package/dist/assets/{SettingsModal-qiA2JzQg.js → SettingsModal-DAymc03s.js} +1 -1
  30. package/dist/assets/{ShareTeamDialog-CHzxJoVu.js → ShareTeamDialog-Dr7BcuEX.js} +1 -1
  31. package/dist/assets/{SignedInSites-BR5BwDTJ.js → SignedInSites-C-DP_jaP.js} +1 -1
  32. package/dist/assets/TeamLibraryPanel-CI8JZtpN.js +3 -0
  33. package/dist/assets/{TeamMapPage-B2Ll1YMg.js → TeamMapPage-DZlNjWAA.js} +1 -1
  34. package/dist/assets/{TriggersPage-ihGGke0e.js → TriggersPage-CF1DnXkj.js} +1 -1
  35. package/dist/assets/VisibilitySection-DnGXDssr.js +22 -0
  36. package/dist/assets/{WebhookTrigger-BwBskWF-.js → WebhookTrigger-CyF3M1mk.js} +1 -1
  37. package/dist/assets/{WorksOnGrid-CBRlU3o4.js → WorksOnGrid-D195VW8K.js} +1 -1
  38. package/dist/assets/{abnfDiagram-YUKMZFIV-B0sLejJS.js → abnfDiagram-YUKMZFIV-CKc5IYc4.js} +1 -1
  39. package/dist/assets/{activity-CD7kcgh8.js → activity-CwaOixB9.js} +1 -1
  40. package/dist/assets/{architectureDiagram-47P4ROYG-UGF-gdUT.js → architectureDiagram-47P4ROYG-BzQ3blap.js} +1 -1
  41. package/dist/assets/{blockDiagram-E7TT5TSB-cwrrGa8s.js → blockDiagram-E7TT5TSB-Cg5etqDi.js} +1 -1
  42. package/dist/assets/{c4Diagram-CRA5TL53-vMmbuHhZ.js → c4Diagram-CRA5TL53-ChJTr_PL.js} +1 -1
  43. package/dist/assets/{calendar-days-COyQwa7m.js → calendar-days-DYBafFRo.js} +1 -1
  44. package/dist/assets/channel-DI8VRWh8.js +1 -0
  45. package/dist/assets/{chunk-2Q5K7J3B-CWyPtK1A.js → chunk-2Q5K7J3B-DwRap1YG.js} +1 -1
  46. package/dist/assets/{chunk-5VM5RSS4-9TUKrWnK.js → chunk-5VM5RSS4-BO6BTUz7.js} +1 -1
  47. package/dist/assets/{chunk-7TKQ45FW-BuS8SrgG.js → chunk-7TKQ45FW-B2VKEfok.js} +1 -1
  48. package/dist/assets/{chunk-AW2ZBBNX-Dk5YbrgG.js → chunk-AW2ZBBNX-C7vsX4VD.js} +1 -1
  49. package/dist/assets/{chunk-FVRAUYC3-BOHI0PLC.js → chunk-FVRAUYC3-CIjSXjvq.js} +2 -2
  50. package/dist/assets/{chunk-HTAEGDNF-BhOe_Asb.js → chunk-HTAEGDNF-CCWLt9W1.js} +1 -1
  51. package/dist/assets/{chunk-JWPE2WC7-DpdE33ha.js → chunk-JWPE2WC7-CYUijN37.js} +1 -1
  52. package/dist/assets/{chunk-KQW6MTUR-BKrqCv6E.js → chunk-KQW6MTUR-D0cFTyVc.js} +1 -1
  53. package/dist/assets/{chunk-XXDRQBXY-DCtiPQRh.js → chunk-XXDRQBXY-CE20wx8I.js} +1 -1
  54. package/dist/assets/{classDiagram-v2-K4WV4PDN-CcvlrXAv.js → classDiagram-v2-K4WV4PDN-QBcA1FUG.js} +1 -1
  55. package/dist/assets/{coins-f9Jgj0XN.js → coins-CQDndxZe.js} +1 -1
  56. package/dist/assets/{core-DwZ-6t3T.js → core-D0gGNfT3.js} +1 -1
  57. package/dist/assets/{cose-bilkent-JH36ORCC-Dit08QEU.js → cose-bilkent-JH36ORCC-CPygoF45.js} +1 -1
  58. package/dist/assets/{cynefin-EF2NZ3EQ-O10owGR5.js → cynefin-EF2NZ3EQ-DjRSXXUK.js} +1 -1
  59. package/dist/assets/{cynefinDiagram-3GCD6N5R-CpgcavYU.js → cynefinDiagram-3GCD6N5R-C4D5WdA1.js} +1 -1
  60. package/dist/assets/{dagre-W4DXFKR2-CmTx4ZjS.js → dagre-W4DXFKR2-CwHowYoX.js} +1 -1
  61. package/dist/assets/de-XojPh3_p.js +8 -0
  62. package/dist/assets/{diagram-2UJZ2QOL-BFHXsDIJ.js → diagram-2UJZ2QOL-IOgxIe2m.js} +1 -1
  63. package/dist/assets/{diagram-OVF4WLC6-CZ74iqIL.js → diagram-OVF4WLC6-6M2t3aC-.js} +1 -1
  64. package/dist/assets/{diagram-PFPMY2P6-BuiXUUqv.js → diagram-PFPMY2P6-C3MDtWX5.js} +1 -1
  65. package/dist/assets/{diagram-UMYRVEAY-BwgwA-S_.js → diagram-UMYRVEAY-CpXR83ix.js} +1 -1
  66. package/dist/assets/{diagram-YEKJPTXX-BQxBSIxq.js → diagram-YEKJPTXX-DF58kzII.js} +1 -1
  67. package/dist/assets/{diagram-ZIFT7M5P-iszgLJDV.js → diagram-ZIFT7M5P-BTWYDC1S.js} +1 -1
  68. package/dist/assets/{ebnfDiagram-VR2GEFS7-CRrBAw1T.js → ebnfDiagram-VR2GEFS7-DWMxXTtf.js} +1 -1
  69. package/dist/assets/{elk-IJKZMXRS-Dc3d63wO.js → elk-IJKZMXRS-ZDF01LK0.js} +1 -1
  70. package/dist/assets/{erDiagram-O2IAPWRE-C11f6UUK.js → erDiagram-O2IAPWRE-DKeRGnUv.js} +1 -1
  71. package/dist/assets/es-C0MD2HR1.js +6 -0
  72. package/dist/assets/{file-up-lwoMEra2.js → file-up-Cr20e4wl.js} +1 -1
  73. package/dist/assets/{flowDiagram-OXPTDLAJ-BmMit3lF.js → flowDiagram-OXPTDLAJ-BTJVRu9A.js} +1 -1
  74. package/dist/assets/fr-hktiWwtw.js +8 -0
  75. package/dist/assets/{ganttDiagram-R7TSEDQI-CT8fRN6Y.js → ganttDiagram-R7TSEDQI-BrBIiPkW.js} +1 -1
  76. package/dist/assets/{gitGraphDiagram-XJZIOB7I-DvAYKkDb.js → gitGraphDiagram-XJZIOB7I-xBYIjsc8.js} +1 -1
  77. package/dist/assets/hi-D_Yu59YK.js +1 -0
  78. package/dist/assets/import-name-CdyBVR45.js +1 -0
  79. package/dist/assets/{index-DG9s9Udu.js → index-DwYETevf.js} +3 -3
  80. package/dist/assets/{index-BOb2rx-6.js → index-ShhUWigV.js} +1 -1
  81. package/dist/assets/{infoDiagram-5W2HQ5XZ-DMEwquFk.js → infoDiagram-5W2HQ5XZ-B-FCUMEX.js} +1 -1
  82. package/dist/assets/{ishikawaDiagram-K3B6WC7H-B9IDfo_w.js → ishikawaDiagram-K3B6WC7H-DxhcI9nM.js} +1 -1
  83. package/dist/assets/it-zbTil6cI.js +13 -0
  84. package/dist/assets/ja-CtqaLHju.js +13 -0
  85. package/dist/assets/{journeyDiagram-COXZFDF6-CYBJUt3n.js → journeyDiagram-COXZFDF6-DSwqQn-4.js} +1 -1
  86. package/dist/assets/{kanban-definition-P3RFRI5V-CQW0b1vQ.js → kanban-definition-P3RFRI5V-Bidc1dLu.js} +1 -1
  87. package/dist/assets/ko-DrT-vz1y.js +13 -0
  88. package/dist/assets/{mcp-servers-Df95Ak35.js → mcp-servers-scq4KvN-.js} +1 -1
  89. package/dist/assets/{mermaid.core-BoAXi-iX.js → mermaid.core-1-GuV68k.js} +4 -4
  90. package/dist/assets/{mindmap-definition-LZFPQGKD-Oi2DK1e4.js → mindmap-definition-LZFPQGKD-BtlXbTTm.js} +1 -1
  91. package/dist/assets/{minimize-D0TLCKPp.js → minimize-CoPseS7J.js} +1 -1
  92. package/dist/assets/{monitor-D-xUF55E.js → monitor-B9eyPPw6.js} +1 -1
  93. package/dist/assets/new-bot-CNLntcgn.js +2 -0
  94. package/dist/assets/{org-library-Bpyraw8S.js → org-library-CyWov7QW.js} +1 -1
  95. package/dist/assets/{package-format-ncy2hbCF.js → package-format-Dx-xCjWb.js} +1 -1
  96. package/dist/assets/{pegDiagram-BGZESJAR-C3t3De6_.js → pegDiagram-BGZESJAR-uFZWnUng.js} +1 -1
  97. package/dist/assets/{pieDiagram-CAPJLFHJ-kRPnwN37.js → pieDiagram-CAPJLFHJ-B2Itft-D.js} +1 -1
  98. package/dist/assets/{pl-DYcpmSsp.js → pl-BaR1MZm6.js} +1 -1
  99. package/dist/assets/pt-br-mFy7aZD6.js +13 -0
  100. package/dist/assets/{quadrantDiagram-GDMTTRAM-Cipz55iU.js → quadrantDiagram-GDMTTRAM-Btivs4tR.js} +1 -1
  101. package/dist/assets/{rail-FyQpKAyh.js → rail-ar9TQRSE.js} +1 -1
  102. package/dist/assets/{railroadDiagram-SM67HX2B-l49ZhYVX.js → railroadDiagram-SM67HX2B-92CU8YQH.js} +1 -1
  103. package/dist/assets/{remote-desktop-panel-OlvMKUOn.js → remote-desktop-panel-BrVUx9qj.js} +1 -1
  104. package/dist/assets/{requirementDiagram-X7JNWC4A-CecvERDF.js → requirementDiagram-X7JNWC4A-5izSc7xN.js} +1 -1
  105. package/dist/assets/ru-BJ0ARJtn.js +13 -0
  106. package/dist/assets/{sankeyDiagram-UM26HJRW-DRZqZqLO.js → sankeyDiagram-UM26HJRW-DPnrZSB2.js} +1 -1
  107. package/dist/assets/{sequenceDiagram-ZO4K6R2Y-CIew_Hl6.js → sequenceDiagram-ZO4K6R2Y-Bda0M6Hv.js} +1 -1
  108. package/dist/assets/{sizeCapture-INFHLROL-BbjJkaP6.js → sizeCapture-INFHLROL-DKRN8tPD.js} +1 -1
  109. package/dist/assets/{stateDiagram-v2-TBUQTH76-DN-g5bKL.js → stateDiagram-v2-TBUQTH76-D6MqFrrx.js} +1 -1
  110. package/dist/assets/{styles-DDktIAU-.js → styles-DOwrpvZY.js} +2 -2
  111. package/dist/assets/{swimlanes-N4OXWK64-Bu_DsU2s.js → swimlanes-N4OXWK64-D_pFpyCW.js} +1 -1
  112. package/dist/assets/swimlanesDiagram-K3J5GTZL-D6oFbwqj.js +8 -0
  113. package/dist/assets/{team-share-DxBljvTu.js → team-share-CS8lXIGF.js} +1 -1
  114. package/dist/assets/{timeline-definition-YOQAKGHF-B0HmDrNc.js → timeline-definition-YOQAKGHF-CsXwhMm7.js} +1 -1
  115. package/dist/assets/tr-DnXBUn9-.js +6 -0
  116. package/dist/assets/uk-RZHdJ2pL.js +1 -0
  117. package/dist/assets/{usecaseDiagram-VIAY4XPW-B-vm9Zaa.js → usecaseDiagram-VIAY4XPW-XU2vytSZ.js} +1 -1
  118. package/dist/assets/{vennDiagram-BLWOH2XV-BuRzEMGb.js → vennDiagram-BLWOH2XV-beqZKO-E.js} +1 -1
  119. package/dist/assets/vi-Bx9YsUag.js +15 -0
  120. package/dist/assets/{wardleyDiagram-YMQ3BMBF-COs2BbYB.js → wardleyDiagram-YMQ3BMBF-Ci5sPNvX.js} +1 -1
  121. package/dist/assets/{xychartDiagram-TAQBALBS-DV0zxl6v.js → xychartDiagram-TAQBALBS-BCJ2N2BY.js} +1 -1
  122. package/dist/assets/zh-DMiI3Rx1.js +13 -0
  123. package/dist/assets/zh-tw-DoGBLWPr.js +13 -0
  124. package/dist/index.html +2 -2
  125. package/dist/rail.html +4 -4
  126. package/dist-server/index.js +1320 -1246
  127. package/dist-server/openmausbot.js +1 -1
  128. package/dist-server/package.json +1 -1
  129. package/dist-server/server/chief-templates.js +4 -3
  130. package/dist-server/server/container-computer.js +1 -1
  131. package/dist-server/server/index.js +4 -2
  132. package/dist-server/server/industry-teams.js +20 -19
  133. package/dist-server/server/limix-factory.js +17 -0
  134. package/dist-server/server/limix-skill-store.js +8 -5
  135. package/dist-server/server/routes/bot-skills.js +2 -2
  136. package/dist-server/server/routes/bots-create.js +1 -1
  137. package/dist-server/server/routes/teams.js +2 -2
  138. package/dist-server/shared/industry-display.js +24 -0
  139. package/dist-server/shared/industry-display.json +782 -0
  140. package/dist-server/shared/industry-templates.js +37 -22
  141. package/dist-server/shared/ready-bots.js +2 -2
  142. package/dist-server/skills/industry-customer-care/assets/industry-profiles.json +400 -210
  143. package/package.json +1 -1
  144. package/skills/industry-customer-care/assets/industry-profiles.json +400 -210
  145. package/skills/limix-bot-factory/SKILL.md +98 -0
  146. package/skills/limix-bot-factory/agents/openai.yaml +3 -0
  147. package/skills/limix-bot-factory/assets/capabilities.json +102 -0
  148. package/skills/limix-bot-factory/assets/evaluations/policy-scenarios.json +21 -0
  149. package/skills/limix-bot-factory/assets/hybrid-policy.json +10 -0
  150. package/skills/limix-bot-factory/assets/schemas/bot-spec.schema.json +333 -0
  151. package/skills/limix-bot-factory/assets/templates/appointment-booking.json +65 -0
  152. package/skills/limix-bot-factory/assets/templates/custom-agent.json +56 -0
  153. package/skills/limix-bot-factory/assets/templates/customer-support.json +68 -0
  154. package/skills/limix-bot-factory/assets/templates/order-tracking.json +65 -0
  155. package/skills/limix-bot-factory/assets/templates/research-assistant.json +67 -0
  156. package/skills/limix-bot-factory/assets/templates/sales-advisor.json +72 -0
  157. package/skills/limix-bot-factory/assets/templates/social-content.json +71 -0
  158. package/skills/limix-bot-factory/assets/ui-catalog.json +57 -0
  159. package/skills/limix-bot-factory/manifest.json +18 -0
  160. package/skills/limix-bot-factory/references/bot-evaluations.md +24 -0
  161. package/skills/limix-bot-factory/references/hybrid-skills-contract.md +46 -0
  162. package/skills/limix-bot-factory/references/integration-blueprint.md +62 -0
  163. package/skills/limix-bot-factory/references/security-contract.md +34 -0
  164. package/skills/limix-bot-factory/references/template-workflow.md +48 -0
  165. package/skills/limix-bot-factory/references/vi.md +24 -0
  166. package/skills/limix-bot-factory/scripts/bot_factory.py +6 -0
  167. package/skills/limix-bot-factory/scripts/factorylib/__init__.py +2 -0
  168. package/skills/limix-bot-factory/scripts/factorylib/cli.py +125 -0
  169. package/skills/limix-bot-factory/scripts/factorylib/core.py +221 -0
  170. package/skills/limix-bot-factory/scripts/factorylib/engine.py +148 -0
  171. package/skills/limix-bot-factory/scripts/factorylib/hybrid.py +211 -0
  172. package/skills/limix-bot-factory/scripts/factorylib/policy.py +23 -0
  173. package/skills/limix-bot-factory/scripts/factorylib/stdio.py +67 -0
  174. package/skills/limix-bot-factory/scripts/mcp_server.py +117 -0
  175. package/dist/assets/CloudAddDialog-CaHBgG59.js +0 -1
  176. package/dist/assets/NewBotDialog-RhcfXb6u.js +0 -1
  177. package/dist/assets/PlacesRail-BV7okmUJ.js +0 -1
  178. package/dist/assets/TeamLibraryPanel-DkWnCUJV.js +0 -3
  179. package/dist/assets/VisibilitySection-5EOhD7ux.js +0 -22
  180. package/dist/assets/channel-bk2QY8J7.js +0 -1
  181. package/dist/assets/de-DSdUUIw0.js +0 -8
  182. package/dist/assets/es-BHqvB5c_.js +0 -6
  183. package/dist/assets/fr-BYea3ESR.js +0 -8
  184. package/dist/assets/hi-BAQE8TUj.js +0 -1
  185. package/dist/assets/import-name-DBpLwcMu.js +0 -1
  186. package/dist/assets/it-CgoFnT6M.js +0 -13
  187. package/dist/assets/ja-DL0zdFOr.js +0 -13
  188. package/dist/assets/ko-l7Fk0h22.js +0 -13
  189. package/dist/assets/new-bot-BWni80X3.js +0 -2
  190. package/dist/assets/pt-br-DTFokgJS.js +0 -13
  191. package/dist/assets/ru-ChGJdG-8.js +0 -13
  192. package/dist/assets/swimlanesDiagram-K3J5GTZL-g_8BdGfC.js +0 -8
  193. package/dist/assets/tr-DxJLR15s.js +0 -6
  194. package/dist/assets/uk-s288K1L0.js +0 -1
  195. package/dist/assets/vi-BWNMeqV0.js +0 -15
  196. package/dist/assets/zh-B1nJITne.js +0 -13
  197. package/dist/assets/zh-tw-VV_w2o3x.js +0 -13
@@ -9975,7 +9975,7 @@ d.join_failed":"\u041D\u0435 \u0432\u0434\u0430\u043B\u043E\u0441\u044F \u043F\u
9975
9975
  \u0411\u043E\u0442 \u0437\u0443\u0441\u0442\u0440\u0456\u0447\u0456 \u043D\u0435\u043E\u0447\u0456\u043A\u0443\u0432\u0430\u043D\u043E \u0437\u0443\u043F\u0438\u043D\u0438\u0432\u0441\u044F. \u0423\u0441\u0435, \u0449\u043E \u0432\u0456\u043D \u043F\u043E\u0447\u0443\u0432 \u0434\u043E \u0442\u043E\u0433\u043E \u043C\u043E\u043C\u0435\u043D\u0442\u0443, \u0437\u0431\u0435\u0440\u0435\u0436\u0435\u043D\u043E.","server.meetings.end.lost":"\u042F \u0432\u0442\u0440\u0430\u0442\u0438\u0432 \u0437\u0432'\u044F\u0437\u043E\u043A \u0456\u0437 \u0445\u043C\u0430\u0440\u043D\u0438\u043C \u043A\u043E\u043C\u043F'\u044E\u0442\u0435\u0440\u043E\u043C \u0437\u0443\u0441\u0442\u0440\u0456\u0447\u0456. \u0423\u0441\u0435, \u0449\u043E \
9976
9976
  \u0431\u0443\u043B\u043E \u043F\u043E\u0447\u0443\u0442\u043E \u0434\u043E \u0442\u043E\u0433\u043E \u043C\u043E\u043C\u0435\u043D\u0442\u0443, \u0437\u0431\u0435\u0440\u0435\u0436\u0435\u043D\u043E.","server.meetings.end.meet_refused":"Google Meet \u043D\u0435 \u043F\u0443\u0441\u0442\u0438\u0432 \u043C\u0435\u043D\u0435 \u044F\u043A \u0433\u043E\u0441\u0442\u044F. \u041E\u0440\u0433\u0430\u043D\u0456\u0437\u0430\u0442\u043E\u0440 \u043C\u043E\u0436\u0435 \u0434\u043E\u0437\u0432\u043E\u043B\u0438\u0442\u0438 \u0433\u043E\u0441\u0442\u0435\u0439 \u0443 \u043D\u0430\u043B\u0430\u0448\u0442\u0443\u0432\u0430\u043D\u043D\u044F\u0445 \u043E\u0440\u0433\u0430\u043D\u0456\u0437\u0430\u0442\u043E\u0440\u0430, \u0430\u0431\u043E \u0437\u0443\u0441\u0442\u0440\u0456\u0447 \u043D\u0435 \u0434\u043E\u043F\u0443\u0441\u043A\u0430\u0454 \u043B\u044E\u0434\u0435\u0439 \u043F\u043E\u0437\u0430 \u043E\u0440\u0433\u0430\u043D\u0456\u0437\u0430\u0446\u0456\u0454\u044E.",
9977
9977
  "server.meetings.end.speech_unavailable":"\u041D\u0435 \u0432\u0434\u0430\u043B\u043E\u0441\u044F \u043E\u0442\u0440\u0438\u043C\u0430\u0442\u0438 \u0440\u043E\u0437\u043F\u0456\u0437\u043D\u0430\u0432\u0430\u043D\u043D\u044F \u043C\u043E\u0432\u043B\u0435\u043D\u043D\u044F \u0434\u043B\u044F \u0446\u0456\u0454\u0457 \u0437\u0443\u0441\u0442\u0440\u0456\u0447\u0456, \u0442\u043E\u043C\u0443 \u044F \u043D\u0435 \u043F\u0440\u0438\u0454\u0434\u043D\u0430\u0432\u0441\u044F.","server.meetings.card.s\
9978
- ettingUp":"\u041D\u0430\u043B\u0430\u0448\u0442\u043E\u0432\u0443\u044E \u0440\u043E\u0437\u0448\u0438\u0444\u0440\u043E\u0432\u043A\u0443 (\u043E\u0434\u0438\u043D \u0440\u0430\u0437, \u0431\u043B\u0438\u0437\u044C\u043A\u043E \u0445\u0432\u0438\u043B\u0438\u043D\u0438)\u2026","server.meetings.card.speechStopped":"\u0420\u043E\u0437\u0448\u0438\u0444\u0440\u043E\u0432\u043A\u0443 \u0437\u0443\u043F\u0438\u043D\u0435\u043D\u043E: {problem}"};var vi_default2={"server.moves.connectorStayedMail":"{name} \u1EDF l\u1EA1i tr\xEAn {computer} khi bot c\u1EE7a b\u1EA1n chuy\u1EC3n sang My Cloud, n\xEAn bot \u1EDF \u0111\xE2y kh\xF4ng \u0111\u1ECDc hay g\u1EEDi th\u01B0 qua n\xF3 \u0111\u01B0\u1EE3c. N\xF3 gi\u1EEF c\xE1c t\xE0i kho\u1EA3n tr\xEAn {computer} v\xE0 kh\xF4ng k\u1EBFt n\u1ED1i \u0111\u01B0\u1EE3c m\xE1y ch\u1EE7 th\u01B0 t\u1EEB \u0111\xE2y. \u0110\u1EC3 \u0111\u1ECDc v\xE0 g\u1EEDi th\u01B0 t\u1EEB My Cloud, h\xE3y k\u1EBFt n\u1ED1i h\u1ED9p th\u01B0 c\u1EE7a b\u1EA1n trong m\u1EE5c \u1EE8ng d\u1EE5ng \u0111\xE3 k\u1EBFt n\u1ED1i.",
9978
+ ettingUp":"\u041D\u0430\u043B\u0430\u0448\u0442\u043E\u0432\u0443\u044E \u0440\u043E\u0437\u0448\u0438\u0444\u0440\u043E\u0432\u043A\u0443 (\u043E\u0434\u0438\u043D \u0440\u0430\u0437, \u0431\u043B\u0438\u0437\u044C\u043A\u043E \u0445\u0432\u0438\u043B\u0438\u043D\u0438)\u2026","server.meetings.card.speechStopped":"\u0420\u043E\u0437\u0448\u0438\u0444\u0440\u043E\u0432\u043A\u0443 \u0437\u0443\u043F\u0438\u043D\u0435\u043D\u043E: {problem}"};var vi_default2={"server.peerResend.failed":"Kh\xF4ng th\u1EC3 g\u1EEDi l\u1EA1i y\xEAu c\u1EA7u cho AI d\u1EF1 ph\xF2ng. Chi ti\u1EBFt: {detail}","server.moves.connectorStayedMail":"{name} \u1EDF l\u1EA1i tr\xEAn {computer} khi bot c\u1EE7a b\u1EA1n chuy\u1EC3n sang My Cloud, n\xEAn bot \u1EDF \u0111\xE2y kh\xF4ng \u0111\u1ECDc hay g\u1EEDi th\u01B0 qua n\xF3 \u0111\u01B0\u1EE3c. N\xF3 gi\u1EEF c\xE1c t\xE0i kho\u1EA3n tr\xEAn {computer} v\xE0 kh\xF4ng k\u1EBFt n\u1ED1i \u0111\u01B0\u1EE3c m\xE1y ch\u1EE7 th\u01B0 t\u1EEB \u0111\xE2y. \u0110\u1EC3 \u0111\u1ECDc v\xE0 g\u1EEDi th\u01B0 t\u1EEB My Cloud, h\xE3y k\u1EBFt n\u1ED1i h\u1ED9p th\u01B0 c\u1EE7a b\u1EA1n trong m\u1EE5c \u1EE8ng d\u1EE5ng \u0111\xE3 k\u1EBFt n\u1ED1i.",
9979
9979
  "server.moves.connectorStayedProgram":"{name} \u1EDF l\u1EA1i tr\xEAn {computer} khi bot c\u1EE7a b\u1EA1n chuy\u1EC3n sang My Cloud, n\xEAn bot \u1EDF \u0111\xE2y kh\xF4ng d\xF9ng \u0111\u01B0\u1EE3c n\xF3. N\xF3 c\u1EA7n {program}, m\xE0 My Cloud kh\xF4ng c\xF3.","server.moves.connectorStayedHere":"{name} \u1EDF l\u1EA1i tr\xEAn {computer} khi bot c\u1EE7a b\u1EA1n chuy\u1EC3n sang My Cloud, n\xEAn bot \u1EDF \u0111\xE2y kh\xF4ng d\xF9ng \u0111\u01B0\u1EE3c n\xF3. N\xF3 d\xF9ng t\u1EC7p ho\u1EB7c \u0111\u1ECBa ch\u1EC9 ch\u1EC9 {computer} m\u1EDBi c\xF3.",
9980
9980
  "server.moves.webhookMoved":'Gi\u1EDD t\xF4i \u1EDF tr\xEAn {place} n\xEAn webhook "{name}" c\u1EE7a t\xF4i c\xF3 \u0111\u1ECBa ch\u1EC9 m\u1EDBi. M\u1EDF T\u1EF1 \u0111\u1ED9ng h\xF3a, ch\u1ECDn Sao ch\xE9p \u0111\u1ECBa ch\u1EC9 \u1EDF "{name}", r\u1ED3i d\xE1n v\xE0o \u1EE9ng d\u1EE5ng g\u1EEDi d\u1EEF li\u1EC7u t\u1EDBi n\xF3.',"server.teammates.sameRequest":"M\u1ED9t \u0111\u1ED3ng \u0111\u1ED9i kh\xE1c v\u1EEBa h\u1ECFi \u0111i\u1EC1u t\u01B0\u01A1ng t\u1EF1, n\xEAn vi\u1EC7c n\xE0y nh\u1EADn c\xE2u tr\u1EA3 l\u1EDDi \u0111\xF3 thay v\xEC m\u1ED9t c\xE2u tr\u1EA3 l\u1EDDi th\u1EE9 hai.",
9981
9981
  "server.reports.sent":"\u0110\xE3 g\u1EEDi cho \u0111\u1ED9i Limix Bot (b\xE1o c\xE1o {report}).","server.reports.sentReply":"\u0110\xE3 g\u1EEDi cho \u0111\u1ED9i Limix Bot (b\xE1o c\xE1o {report}). Ch\xFAng t\xF4i s\u1EBD tr\u1EA3 l\u1EDDi t\u1EDBi {contact}.","server.reports.sentLater":"\u0110\xE3 g\u1EEDi cho \u0111\u1ED9i Limix Bot (b\xE1o c\xE1o {report}) sau khi m\u1ED9t l\u1EA7n th\u1EED tr\u01B0\u1EDBc \u0111\xF3 kh\xF4ng th\xE0nh c\xF4ng.","server.reports.sentLaterReply":"\u0110\xE3 g\u1EEDi cho \u0111\u1ED9\
@@ -1 +1 @@
1
- {"type":"module","version":"0.3.100"}
1
+ {"type":"module","version":"0.3.101"}
@@ -109,7 +109,7 @@ export function createChiefTemplates(sources = githubSources()) {
109
109
  const wantsRole = /\b(phong ban|ban be|bo phan|department)\b/u.test(phrase);
110
110
  industryTeamCatalog.forEach((team, order) => {
111
111
  const gallery = { kind: "team", id: team.slug, name: team.name };
112
- const relevance = score(wanted, team.slug, team.name, team.summary);
112
+ const relevance = score(wanted, team.slug, team.name, team.summary, INDUSTRY_PROFILES[order]?.vi.name, INDUSTRY_PROFILES[order]?.vi.description);
113
113
  scored.push({ order: 300 + order, score: relevance + (wantsTeam && (relevance || !wanted.length) ? 3 : 0),
114
114
  hit: { id: `team:${team.slug}`, source: "builtin", kind: "team", name: team.name, description: team.summary,
115
115
  category: team.category, roles: team.members, apps: [], gallery } });
@@ -117,8 +117,9 @@ export function createChiefTemplates(sources = githubSources()) {
117
117
  INDUSTRY_BOTS.forEach((bot, order) => {
118
118
  const gallery = { kind: "bot", id: bot.id, name: bot.name };
119
119
  const superSupport = bot.id === SUPER_SUPPORT_BOT.id;
120
- const relevance = score(wanted, bot.id, bot.name, bot.title, bot.description, superSupport ? "Zalo Facebook Messenger Telegram customer service omnichannel" : undefined);
121
- const named = phrase.includes(fold(bot.name));
120
+ const vi = industryTemplate(bot.id, "vi");
121
+ const relevance = score(wanted, bot.id, bot.name, bot.title, bot.description, vi.name, vi.title, vi.description, superSupport ? "Zalo Facebook Messenger Telegram customer service omnichannel" : undefined);
122
+ const named = phrase.includes(fold(bot.name)) || phrase.includes(fold(vi.name));
122
123
  scored.push({ order: 400 + order, score: relevance + (named ? 5 : 0) + (wantsRole && !superSupport && (relevance || !wanted.length) ? 2 : 0),
123
124
  hit: { id: `builtin:${bot.id}`, source: "builtin", kind: "bot", name: bot.name, title: bot.title, description: bot.description, apps: [], gallery } });
124
125
  });
@@ -612,7 +612,7 @@ function appleWorkspaceMountIsSafe(mounts, platform, expectedWorkspace) {
612
612
  mounts[0]?.destination === VM_WORKSPACE_GUEST &&
613
613
  !options.some((option) => option === "ro" || option === "readonly"));
614
614
  }
615
- export function containerRunArgs(runtime, password = "CHANGE_ME", target = SHARED_LOCAL_VM_TARGET, desktop = { platform: process.platform, resources: DEFAULT_DESKTOP_RESOURCES, hostUser: null }) {
615
+ export function containerRunArgs(runtime, password, target = SHARED_LOCAL_VM_TARGET, desktop = { platform: process.platform, resources: DEFAULT_DESKTOP_RESOURCES, hostUser: null }) {
616
616
  if (runtime === "container" && target.key !== SHARED_LOCAL_VM_TARGET.key) {
617
617
  throw new Error("Per-bot Local VMs require Docker or Podman because Apple container requires a fixed host port");
618
618
  }
@@ -203,6 +203,7 @@ import { createMcpKeys } from "./vault/mcp-keys.js";
203
203
  import { createLimitTakeover, signedOutStop, turnRefusal } from "./host/limit-takeover.js";
204
204
  import { createHandoffLimits } from "./host/handoff-limits.js";
205
205
  import { isRemoteMcpServer, parseStoredMcpServer, } from "./mcp-registry.js";
206
+ import { FACTORY, factoryMount } from "./limix-factory.js";
206
207
  import { industryGuestFacts, isIndustryCareBot, withIndustryCareMcp } from "./industry-care.js";
207
208
  import { attachCustomMcp } from "./mcp-result-budget.js";
208
209
  import { mcpToolProblem } from "./mcp-failure.js";
@@ -8193,7 +8194,8 @@ async function beginTurn(botId, text, opts) {
8193
8194
  handoffs.begin(threadId, dispatchClaimId, dispatchContext.handoff);
8194
8195
  const integrations = {};
8195
8196
  let browser = null;
8196
- const skills = limixBundledFor(bot.id, availableSkills()), phoneOffered = usbPhoneOffered(instance, skills) && !proactive.fence.confines(threadId) && !botApiThread(threadId);
8197
+ const factory = factoryMount(bot, !guestConfined && !CLOUD_TEAM && !botBox.enabled() && !proactive.fence.confines(threadId));
8198
+ const skills = limixBundledFor(bot.id, availableSkills(), !!factory[FACTORY]), phoneOffered = usbPhoneOffered(instance, skills) && !proactive.fence.confines(threadId) && !botApiThread(threadId);
8197
8199
  const selectedSkills = limixSelectBundled(providerText, [
8198
8200
  ...(phoneOffered ? ["phoneMcp"] : []),
8199
8201
  ...(skillAuthoring ? ["skillAuthoring"] : []),
@@ -8206,7 +8208,7 @@ async function beginTurn(botId, text, opts) {
8206
8208
  // User MCP servers' tools are never pre-allowed: every call rides the normal permission flow.
8207
8209
  if (instance.adapter.capabilities.customMcp === true && !proactive.fence.confines(threadId) && !botApiThread(threadId)) {
8208
8210
  const custom = await mcpServersHost.prepare(bot).then(() => teamConnections.turnMcp(bot, threadId, dispatchClaimId));
8209
- attachCustomMcp(integrations, withIndustryCareMcp(bot, { ...custom, ...lentMcp.mounts(bot, { botId: bot.id, threadId, generation: dispatchClaimId }) }, servers => managedPolicy.filterMcp(servers), botBox.enabled()), cfg, { botId: bot.id, threadId });
8211
+ attachCustomMcp(integrations, withIndustryCareMcp(bot, { ...custom, ...lentMcp.mounts(bot, { botId: bot.id, threadId, generation: dispatchClaimId }), ...managedPolicy.filterMcp(factory) }, servers => managedPolicy.filterMcp(servers), botBox.enabled()), cfg, { botId: bot.id, threadId });
8210
8212
  if (Object.keys(custom).length)
8211
8213
  Object.assign(integrations, chatAppsMcp.turnMounts(custom, bot.toolScope));
8212
8214
  }
@@ -1,45 +1,46 @@
1
+ import { industryTeamLabel, industryWords } from "../shared/industry-display.js";
1
2
  import { INDUSTRY_PROFILES } from "../shared/industry-profiles.js";
2
- import { industryRoleBot, SUPER_SUPPORT_BOT } from "../shared/industry-templates.js";
3
+ import { industryRoleBot, industryTemplate, INDUSTRY_CARE_SKILL } from "../shared/industry-templates.js";
3
4
  import { parsePackageDocument } from "../shared/package-format.js";
4
5
  const teamSlug = (profile) => `industry-${profile.slug}`;
5
- const teamName = (profile) => `Nhóm ${profile.name}`;
6
6
  export const industryTeamCatalog = INDUSTRY_PROFILES.map((profile) => ({
7
- slug: teamSlug(profile), name: teamName(profile), summary: profile.description,
8
- category: profile.name, members: profile.roles.length + 1, skills: ["industry-customer-care"],
7
+ slug: teamSlug(profile), ...industryTeamLabel(profile), members: profile.roles.length + 1, skills: ["industry-customer-care"],
9
8
  requires: { apps: [] }, manifest: `/api/team-library/teams/${teamSlug(profile)}`, builtIn: true,
10
9
  }));
11
- export function industryTeam(slug) {
10
+ export function industryTeam(slug, locale = "en") {
12
11
  const profile = INDUSTRY_PROFILES.find((item) => teamSlug(item) === slug);
13
12
  if (!profile)
14
13
  return undefined;
15
- const roster = profile.roles.map((role) => `${role.name} — ${role.description}`).join("\n");
14
+ const label = industryTeamLabel(profile, locale);
15
+ const words = industryWords(locale);
16
+ const roster = profile.roles.map(role => `${role.name} — ${role.description}`).join("\n");
16
17
  const handoff = [
17
- "Trong phòng nội bộ, CSKH nhận yêu cầu và chọn một bộ phận theo danh sách bên dưới. Khi giao việc trong phòng, dùng @ kèm đúng tên hiển thị của một thành viên đang ở phòng. Trong kênh khách hàng, chỉ soạn tóm tắt bàn giao.",
18
- "Khi cần bàn giao, ghi bộ phận nhận, câu hỏi còn mở và nguồn đã kiểm tra. Chỉ ghi dữ kiện cần thiết đã được phép chia sẻ trong phòng.",
19
- "Tách tin nhắn trả khách khỏi ghi chú nội bộ. Chỉ báo đã giao việc hoặc đã sửa hồ sơ khi hệ thống có xác nhận.",
20
- "Khi gặp yêu cầu duyệt, thông tin riêng hoặc hai bộ phận chưa thống nhất, dừng chuyển tiếp và nhờ người phụ trách xử lý.",
18
+ "Triage each request and select one department from the roster. In internal rooms, mention the assigned member using @ and their exact current display name. On customer channels, prepare only a handoff summary.",
19
+ "Record the receiving department, open questions and checked sources. Share only necessary details authorized for this room.",
20
+ "Separate customer replies from internal notes. Confirm assignment or record changes only after system acknowledgement.",
21
+ "If approval, private data or conflicting decisions are involved, stop forwarding and ask the responsible human.",
21
22
  roster,
22
23
  ].join("\n");
23
24
  const agent = (key, bot) => ({
24
25
  key, name: bot.name, title: bot.title, description: bot.description, soul: bot.soul,
25
26
  appearance: bot.look, approval: "ask", playbooks: ["handoff"],
26
27
  });
27
- const lead = agent("care", SUPER_SUPPORT_BOT);
28
+ const lead = agent("care", industryTemplate(INDUSTRY_CARE_SKILL, locale));
28
29
  lead.soul += `\n\n${profile.name}\n${handoff}`;
29
- const agents = [lead, ...profile.roles.map((role) => agent(role.slug, industryRoleBot(profile, role)))];
30
+ const agents = [lead, ...profile.roles.map((role) => agent(role.slug, industryRoleBot(profile, role, locale)))];
30
31
  return parsePackageDocument({
31
32
  format: "openmaus.package", version: 2,
32
33
  package: {
33
- id: slug, release: "1.0.0", name: teamName(profile), tagline: profile.description, summary: profile.description,
34
- category: profile.name, author: { name: "Limix Bot" }, license: "Apache-2.0",
35
- outcomes: ["Bàn giao đúng bộ phận và phản hồi khách từ dữ kiện đã xác minh."], setupMinutes: 5,
34
+ id: slug, release: "1.0.0", name: label.name, tagline: label.summary, summary: label.summary,
35
+ category: label.category, author: { name: "Limix Bot" }, license: "Apache-2.0",
36
+ outcomes: [words.supportDescription], setupMinutes: 5,
36
37
  requirements: { apps: [], capabilities: [] },
37
- team: { name: teamName(profile), brief: handoff },
38
+ team: { name: label.name, brief: handoff },
38
39
  agents,
39
- rooms: [{ key: "care-desk", name: `Tiếp nhận · ${profile.name}`, members: agents.map((a) => a.key),
40
+ rooms: [{ key: "care-desk", name: `${words.intake} · ${label.category}`, members: agents.map((a) => a.key),
40
41
  bulletin: handoff, defaultResponder: { kind: "agent", agent: lead.key } }],
41
- playbooks: [{ key: "handoff", name: "Tiếp nhận và bàn giao", summary: profile.description,
42
- triggers: ["chuyển bộ phận", "bàn giao ca", "cần người duyệt"], instructions: handoff }],
42
+ playbooks: [{ key: "handoff", name: words.intake, summary: label.summary,
43
+ triggers: ["department transfer", "shift handoff", "approval required"], instructions: handoff }],
43
44
  },
44
45
  });
45
46
  }
@@ -0,0 +1,17 @@
1
+ import { existsSync } from "node:fs";
2
+ import { join, resolve } from "node:path";
3
+ import { canUseMcpServer } from "../shared/tool-scope.js";
4
+ import { DATA_DIR } from "./config.js";
5
+ export const FACTORY = "limix-bot-factory";
6
+ export function factoryMount(bot, privateHelperTurn) {
7
+ if (!privateHelperTurn || !bot.defaultBot || !/^[\w-]{1,128}$/.test(bot.id) || !canUseMcpServer(bot.toolScope, FACTORY))
8
+ return {};
9
+ const script = resolve(process.env.OMB_SKILLS_DIR || "skills", FACTORY, "scripts", "mcp_server.py");
10
+ if (!existsSync(script))
11
+ return {};
12
+ return { [FACTORY]: {
13
+ command: process.env.LIMIX_PYTHON || (process.platform === "win32" ? "python" : "python3"),
14
+ args: ["-B", "-S", "-X", "utf8", script],
15
+ env: { LIMIX_FACTORY_WORKSPACE: join(DATA_DIR, "factory-drafts", bot.id), PYTHONNOUSERSITE: "1" },
16
+ } };
17
+ }
@@ -23,6 +23,7 @@ export const LIMIX_CORE_SKILLS = new Set([
23
23
  ]);
24
24
  /** What a shipped skill does, in the app's language (the manifest has one language; the skill itself is unchanged). */
25
25
  const BUNDLED_TEXT = {
26
+ "limix-bot-factory": ["Tạo bản nháp bot và kỹ năng, kiểm tra quyền và xuất gói mẫu.", "Draft bots and skills, check permissions and export template packages."],
26
27
  "agent-reach": ["Tìm và đọc (chỉ đọc) X/Twitter, Reddit, YouTube (phụ đề), GitHub, Bilibili, XiaoHongShu, V2EX, LinkedIn… bằng lệnh agent-reach.", "Read-only search and reading on X/Twitter, Reddit, YouTube (subtitles), GitHub, Bilibili, XiaoHongShu, V2EX, LinkedIn and more through the agent-reach command."],
27
28
  "create-verification-skill": ["Viết một kĩ năng kiểm chứng cho một ứng dụng hoặc dự án cụ thể.", "Write one verification skill for a specific app or project."],
28
29
  "data-dashboards": ["Dựng trang và bảng số liệu nhanh, đẹp, ngay trong chat hoặc ở một đường link công khai.", "Build fast, good-looking pages and data dashboards, in the chat or at a public link."],
@@ -65,9 +66,9 @@ function setBundledPick(botId, id, on) {
65
66
  writeFileAtomic(picksPath(botId), `${JSON.stringify([...picks].sort(), null, 2)}\n`, { mode: 0o600 });
66
67
  }
67
68
  /** The shipped skills one bot has: the core ones and the ones a person added to it. */
68
- export function limixBundledFor(botId, skills) {
69
+ export function limixBundledFor(botId, skills, helperFactory = false) {
69
70
  const picks = bundledPicks(botId);
70
- return skills.filter(({ manifest }) => LIMIX_CORE_SKILLS.has(manifest.id) || picks.has(manifest.id));
71
+ return skills.filter(({ manifest }) => manifest.id === "limix-bot-factory" ? helperFactory : LIMIX_CORE_SKILLS.has(manifest.id) || picks.has(manifest.id));
71
72
  }
72
73
  const slashCalled = (text, id) => new RegExp(`(^|\\s)/${id.replace(/[-]/g, "\\-")}(?=$|[\\s.,:;!?])`, "m").test(text);
73
74
  /** Vietnamese typed with or without accents ("điều khiển máy tính" / "dieu khien may tinh") matches the same terms. */
@@ -83,8 +84,8 @@ export function limixSelectBundled(text, capabilities, skills) {
83
84
  return mergeSkills(mergeSkills(selectBundledSkills(text, available, skills), unaccented), called);
84
85
  }
85
86
  /** The bot's shipped skills as rows of its Skills page. */
86
- export function limixBundledListings(botId) {
87
- return limixBundledFor(botId, loadBundledSkills()).map(({ manifest }) => ({
87
+ export function limixBundledListings(botId, helperFactory = false) {
88
+ return limixBundledFor(botId, loadBundledSkills(), helperFactory).map(({ manifest }) => ({
88
89
  name: manifest.id, description: limixSkillText(manifest.id, manifest.description), enabled: true, editable: false,
89
90
  source: LIMIX_CORE_SKILLS.has(manifest.id) ? lxs("Kĩ năng gốc của Limix Bot", "Limix Bot core skill") : lxs("Kho Kĩ Năng (Skills) · có sẵn", "Skills Store · built in"),
90
91
  sha256: "", importedAt: "", warnings: [], skippedFiles: [], origin: "bundled", core: LIMIX_CORE_SKILLS.has(manifest.id),
@@ -107,7 +108,9 @@ function storeItems(bots, botId) {
107
108
  const picks = bundledPicks(botId);
108
109
  const items = new Map();
109
110
  for (const { manifest } of loadBundledSkills()) {
110
- const core = LIMIX_CORE_SKILLS.has(manifest.id);
111
+ if (manifest.id === "limix-bot-factory" && !bot.defaultBot)
112
+ continue;
113
+ const core = LIMIX_CORE_SKILLS.has(manifest.id) || manifest.id === "limix-bot-factory";
111
114
  items.set(manifest.id, { name: manifest.id, description: limixSkillText(manifest.id, manifest.description), kind: "bundled", added: core || picks.has(manifest.id), core, ready: true, warnings: 0, source: lxs("Có sẵn trong Limix Bot", "Built into Limix Bot") });
112
115
  }
113
116
  for (const skill of listLibrarySkills()) {
@@ -81,14 +81,14 @@ export function createBotSkillsRoutes(deps) {
81
81
  const names = new Set(skills.map((skill) => skill.name));
82
82
  return json(res, 200, {
83
83
  skills: [...skills, ...listBotSkills(bot, threadId).filter((skill) => !names.has(skill.name)),
84
- ...limixBundledListings(bot.id).filter((skill) => !names.has(skill.name) && !listBotSkills(bot, threadId).some((other) => other.name === skill.name))],
84
+ ...limixBundledListings(bot.id, !!bot.defaultBot).filter((skill) => !names.has(skill.name) && !listBotSkills(bot, threadId).some((other) => other.name === skill.name))],
85
85
  library,
86
86
  assignedSkills: store.bot(m[1]).assignedSkills,
87
87
  staged: listStagedSkillWrites(m[1]).map(stagedSkillListing),
88
88
  });
89
89
  }
90
90
  return json(res, 200, {
91
- skills: [...listBotSkills(bot, threadId), ...limixBundledListings(bot.id)],
91
+ skills: [...listBotSkills(bot, threadId), ...limixBundledListings(bot.id, !!bot.defaultBot)],
92
92
  staged: listStagedSkillWrites(m[1]).map(stagedSkillListing),
93
93
  });
94
94
  }
@@ -55,7 +55,7 @@ export function createBotCreateRoutes(deps) {
55
55
  return json(res, kept.error.includes("already") ? 409 : 400, { error: kept.error });
56
56
  const { id: _id, threadId: _threadId, ...rest } = body;
57
57
  body = rest;
58
- const industry = typeof body.industryTemplate === "string" ? industryTemplate(body.industryTemplate) : undefined;
58
+ const industry = typeof body.industryTemplate === "string" ? industryTemplate(body.industryTemplate, typeof body.templateLocale === "string" ? body.templateLocale : "en") : undefined;
59
59
  if (body.industryTemplate !== undefined && !industry)
60
60
  return json(res, 400, { error: "Unknown built-in industry template" });
61
61
  if (industry && body.preset !== undefined)
@@ -170,7 +170,7 @@ export function createTeamRoutes(deps) {
170
170
  m = path.match(/^\/api\/team-library\/teams\/([a-z0-9][a-z0-9-]*)$/);
171
171
  if (m && method === "GET") {
172
172
  try {
173
- return json(res, 200, await fetchLibraryTeam(m[1]));
173
+ return json(res, 200, industryTeam(m[1], url.searchParams.get("locale") ?? "en") ?? await fetchLibraryTeam(m[1]));
174
174
  }
175
175
  catch (error) {
176
176
  const status = error.status === 404 ? 404 : 502;
@@ -308,7 +308,7 @@ export function createTeamRoutes(deps) {
308
308
  }
309
309
  const body = await readBody(req, MAX_TEAM_BACKUP_BYTES);
310
310
  const builtInSlug = url.searchParams.get("builtInTeam");
311
- const localTeam = builtInSlug === null ? undefined : industryTeam(builtInSlug);
311
+ const localTeam = builtInSlug === null ? undefined : industryTeam(builtInSlug, url.searchParams.get("locale") ?? "en");
312
312
  if (builtInSlug !== null && (!localTeam || importMode !== "add" || !isDeepStrictEqual(body, localTeam))) {
313
313
  return json(res, 409, { error: "The built-in team differs from this preview. Open its card again." });
314
314
  }
@@ -0,0 +1,24 @@
1
+ import words from "./industry-display.json" with { type: "json" };
2
+ export function industryWords(locale = "en") {
3
+ const tag = locale.toLowerCase();
4
+ const key = /^zh-(hant|tw|hk|mo)/.test(tag) ? "zh-tw" : tag.startsWith("pt") ? "pt-br" : tag.split("-")[0];
5
+ return Object.hasOwn(words, key) ? words[key] : words.en;
6
+ }
7
+ export function industryLabel(p, locale = "en") {
8
+ const w = industryWords(locale);
9
+ if (w === words.vi)
10
+ return p.vi;
11
+ const name = w.industries[p.slug];
12
+ return name ? { name, description: p.roles.map(r => w.roles[r.slug]).join(" · ") } : p;
13
+ }
14
+ export function roleLabel(r, locale = "en") {
15
+ const w = industryWords(locale);
16
+ if (w === words.vi)
17
+ return r.vi;
18
+ const name = w.roles[r.slug];
19
+ return name ? { name, title: name, description: w.description.replace("{role}", name) } : r;
20
+ }
21
+ export function industryTeamLabel(p, locale = "en") {
22
+ const label = industryLabel(p, locale);
23
+ return { name: `${industryWords(locale).team} · ${label.name}`, category: label.name, summary: label.description };
24
+ }