limixbot 0.3.100 → 0.3.102
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{ActivityPanel-DuZNoivH.js → ActivityPanel-C2Cl2jTl.js} +1 -1
- package/dist/assets/{App-BUF9rx3_.js → App-D19QFJed.js} +125 -124
- package/dist/assets/{AppEventEditor-D2yq1wkA.js → AppEventEditor-DDT3F9L_.js} +1 -1
- package/dist/assets/{BotSettingsDialog-CdV5Kqhv.js → BotSettingsDialog-CvzVPzcO.js} +4 -4
- package/dist/assets/{BrowserPanel-DjaihDp3.js → BrowserPanel-DEM-W63m.js} +1 -1
- package/dist/assets/{BrowserProfilesManager-Ch1HSEpX.js → BrowserProfilesManager-hBmo6d_g.js} +1 -1
- package/dist/assets/CloudAddDialog-DaNbSVwD.js +1 -0
- package/dist/assets/{ComputerFilesPane-B2zIb4xO.js → ComputerFilesPane-CnWxeVGZ.js} +1 -1
- package/dist/assets/{ComputerPanel-Bg3QoQWy.js → ComputerPanel-Cc8yiCLe.js} +2 -2
- package/dist/assets/{DataPanel-CldVb-3K.js → DataPanel-BvWkaAdQ.js} +1 -1
- package/dist/assets/{DesktopViewer-JxM0Thy2.js → DesktopViewer-PXMs_Z3h.js} +1 -1
- package/dist/assets/{GrokMoveDialog-CoQ6YMdv.js → GrokMoveDialog-B6UGJUMK.js} +1 -1
- package/dist/assets/{InspectorPanel-Cj-nhLfa.js → InspectorPanel-wIVziMZN.js} +1 -1
- package/dist/assets/{KeyboardShortcutsModal-sNaxhh0F.js → KeyboardShortcutsModal-mCYGqr7E.js} +1 -1
- package/dist/assets/{LimixResizeHandles-DPtm2mPo.js → LimixResizeHandles-o2O_Or0r.js} +1 -1
- package/dist/assets/{LiveDesktop-dfhFXJ6C.js → LiveDesktop-mR-T2RF6.js} +1 -1
- package/dist/assets/{LocalVmWorkspace-BTqTG8D6.js → LocalVmWorkspace-DNCErB3Y.js} +1 -1
- package/dist/assets/{MacLocalControl-Cjkw9sl_.js → MacLocalControl-bs1yDd1K.js} +1 -1
- package/dist/assets/{MarkdownFilePreview-O_67JVQ6.js → MarkdownFilePreview-f4zmKhJ7.js} +1 -1
- package/dist/assets/{MenuMotion-Dv-G0PKg.js → MenuMotion-BclWiAVe.js} +1 -1
- package/dist/assets/NewBotDialog-DWIR2UbB.js +1 -0
- package/dist/assets/{PhoneAppDialog-Dvu3up2S.js → PhoneAppDialog-CqasrSYT.js} +1 -1
- package/dist/assets/PlacesRail-DyYA64do.js +1 -0
- package/dist/assets/{PluginsPanel-CC_Gyo86.js → PluginsPanel-ZfoIaFp9.js} +4 -4
- package/dist/assets/{ProIntroduction-BATr7O3z.js → ProIntroduction-Dfj-Bvcm.js} +1 -1
- package/dist/assets/{RemoteAgentSettingsPanel-Dn2fItnk.js → RemoteAgentSettingsPanel-BXzq5ZPK.js} +1 -1
- package/dist/assets/{RoomPanel-Cb5fVI3_.js → RoomPanel-xD6A1XTL.js} +2 -2
- package/dist/assets/{RoutinesPage-4bH5oJ-7.js → RoutinesPage-Ebk_GO7p.js} +2 -2
- package/dist/assets/{SettingsModal-qiA2JzQg.js → SettingsModal-MqvTSjjb.js} +1 -1
- package/dist/assets/{ShareTeamDialog-CHzxJoVu.js → ShareTeamDialog-BzoKwVa3.js} +1 -1
- package/dist/assets/{SignedInSites-BR5BwDTJ.js → SignedInSites-D7ldK6GO.js} +1 -1
- package/dist/assets/TeamLibraryPanel-B4r-AOrt.js +3 -0
- package/dist/assets/{TeamMapPage-B2Ll1YMg.js → TeamMapPage-B5fJM5qJ.js} +1 -1
- package/dist/assets/{TriggersPage-ihGGke0e.js → TriggersPage-AhCCyPfR.js} +1 -1
- package/dist/assets/VisibilitySection-CsJ0IbTV.js +22 -0
- package/dist/assets/{WebhookTrigger-BwBskWF-.js → WebhookTrigger-4w1WLP-_.js} +1 -1
- package/dist/assets/{WorksOnGrid-CBRlU3o4.js → WorksOnGrid--l9pu37B.js} +1 -1
- package/dist/assets/{abnfDiagram-YUKMZFIV-B0sLejJS.js → abnfDiagram-YUKMZFIV-CKc5IYc4.js} +1 -1
- package/dist/assets/{activity-CD7kcgh8.js → activity-CwaOixB9.js} +1 -1
- package/dist/assets/{architectureDiagram-47P4ROYG-UGF-gdUT.js → architectureDiagram-47P4ROYG-BzQ3blap.js} +1 -1
- package/dist/assets/{blockDiagram-E7TT5TSB-cwrrGa8s.js → blockDiagram-E7TT5TSB-Cg5etqDi.js} +1 -1
- package/dist/assets/{c4Diagram-CRA5TL53-vMmbuHhZ.js → c4Diagram-CRA5TL53-ChJTr_PL.js} +1 -1
- package/dist/assets/{calendar-days-COyQwa7m.js → calendar-days-DYBafFRo.js} +1 -1
- package/dist/assets/channel-DI8VRWh8.js +1 -0
- package/dist/assets/{chunk-2Q5K7J3B-CWyPtK1A.js → chunk-2Q5K7J3B-DwRap1YG.js} +1 -1
- package/dist/assets/{chunk-5VM5RSS4-9TUKrWnK.js → chunk-5VM5RSS4-BO6BTUz7.js} +1 -1
- package/dist/assets/{chunk-7TKQ45FW-BuS8SrgG.js → chunk-7TKQ45FW-B2VKEfok.js} +1 -1
- package/dist/assets/{chunk-AW2ZBBNX-Dk5YbrgG.js → chunk-AW2ZBBNX-C7vsX4VD.js} +1 -1
- package/dist/assets/{chunk-FVRAUYC3-BOHI0PLC.js → chunk-FVRAUYC3-CIjSXjvq.js} +2 -2
- package/dist/assets/{chunk-HTAEGDNF-BhOe_Asb.js → chunk-HTAEGDNF-CCWLt9W1.js} +1 -1
- package/dist/assets/{chunk-JWPE2WC7-DpdE33ha.js → chunk-JWPE2WC7-CYUijN37.js} +1 -1
- package/dist/assets/{chunk-KQW6MTUR-BKrqCv6E.js → chunk-KQW6MTUR-D0cFTyVc.js} +1 -1
- package/dist/assets/{chunk-XXDRQBXY-DCtiPQRh.js → chunk-XXDRQBXY-CE20wx8I.js} +1 -1
- package/dist/assets/{classDiagram-v2-K4WV4PDN-CcvlrXAv.js → classDiagram-v2-K4WV4PDN-QBcA1FUG.js} +1 -1
- package/dist/assets/{coins-f9Jgj0XN.js → coins-CQDndxZe.js} +1 -1
- package/dist/assets/{core-DwZ-6t3T.js → core-CCOmUTd-.js} +1 -1
- package/dist/assets/{cose-bilkent-JH36ORCC-Dit08QEU.js → cose-bilkent-JH36ORCC-CPygoF45.js} +1 -1
- package/dist/assets/{cynefin-EF2NZ3EQ-O10owGR5.js → cynefin-EF2NZ3EQ-DjRSXXUK.js} +1 -1
- package/dist/assets/{cynefinDiagram-3GCD6N5R-CpgcavYU.js → cynefinDiagram-3GCD6N5R-C4D5WdA1.js} +1 -1
- package/dist/assets/{dagre-W4DXFKR2-CmTx4ZjS.js → dagre-W4DXFKR2-CwHowYoX.js} +1 -1
- package/dist/assets/de-XojPh3_p.js +8 -0
- package/dist/assets/{diagram-2UJZ2QOL-BFHXsDIJ.js → diagram-2UJZ2QOL-IOgxIe2m.js} +1 -1
- package/dist/assets/{diagram-OVF4WLC6-CZ74iqIL.js → diagram-OVF4WLC6-6M2t3aC-.js} +1 -1
- package/dist/assets/{diagram-PFPMY2P6-BuiXUUqv.js → diagram-PFPMY2P6-C3MDtWX5.js} +1 -1
- package/dist/assets/{diagram-UMYRVEAY-BwgwA-S_.js → diagram-UMYRVEAY-CpXR83ix.js} +1 -1
- package/dist/assets/{diagram-YEKJPTXX-BQxBSIxq.js → diagram-YEKJPTXX-DF58kzII.js} +1 -1
- package/dist/assets/{diagram-ZIFT7M5P-iszgLJDV.js → diagram-ZIFT7M5P-BTWYDC1S.js} +1 -1
- package/dist/assets/{ebnfDiagram-VR2GEFS7-CRrBAw1T.js → ebnfDiagram-VR2GEFS7-DWMxXTtf.js} +1 -1
- package/dist/assets/{elk-IJKZMXRS-Dc3d63wO.js → elk-IJKZMXRS-ZDF01LK0.js} +1 -1
- package/dist/assets/{erDiagram-O2IAPWRE-C11f6UUK.js → erDiagram-O2IAPWRE-DKeRGnUv.js} +1 -1
- package/dist/assets/es-C0MD2HR1.js +6 -0
- package/dist/assets/{file-up-lwoMEra2.js → file-up-Cr20e4wl.js} +1 -1
- package/dist/assets/{flowDiagram-OXPTDLAJ-BmMit3lF.js → flowDiagram-OXPTDLAJ-BTJVRu9A.js} +1 -1
- package/dist/assets/fr-hktiWwtw.js +8 -0
- package/dist/assets/{ganttDiagram-R7TSEDQI-CT8fRN6Y.js → ganttDiagram-R7TSEDQI-BrBIiPkW.js} +1 -1
- package/dist/assets/{gitGraphDiagram-XJZIOB7I-DvAYKkDb.js → gitGraphDiagram-XJZIOB7I-xBYIjsc8.js} +1 -1
- package/dist/assets/hi-D_Yu59YK.js +1 -0
- package/dist/assets/import-name-B7Do-JDx.js +1 -0
- package/dist/assets/{index-DG9s9Udu.js → index-CJtPXUE4.js} +3 -3
- package/dist/assets/{index-BOb2rx-6.js → index-CXTkkn4L.js} +1 -1
- package/dist/assets/{infoDiagram-5W2HQ5XZ-DMEwquFk.js → infoDiagram-5W2HQ5XZ-B-FCUMEX.js} +1 -1
- package/dist/assets/{ishikawaDiagram-K3B6WC7H-B9IDfo_w.js → ishikawaDiagram-K3B6WC7H-DxhcI9nM.js} +1 -1
- package/dist/assets/it-zbTil6cI.js +13 -0
- package/dist/assets/ja-CtqaLHju.js +13 -0
- package/dist/assets/{journeyDiagram-COXZFDF6-CYBJUt3n.js → journeyDiagram-COXZFDF6-DSwqQn-4.js} +1 -1
- package/dist/assets/{kanban-definition-P3RFRI5V-CQW0b1vQ.js → kanban-definition-P3RFRI5V-Bidc1dLu.js} +1 -1
- package/dist/assets/ko-DrT-vz1y.js +13 -0
- package/dist/assets/{mcp-servers-Df95Ak35.js → mcp-servers-CAJBEPpM.js} +1 -1
- package/dist/assets/{mermaid.core-BoAXi-iX.js → mermaid.core-1-GuV68k.js} +4 -4
- package/dist/assets/{mindmap-definition-LZFPQGKD-Oi2DK1e4.js → mindmap-definition-LZFPQGKD-BtlXbTTm.js} +1 -1
- package/dist/assets/{minimize-D0TLCKPp.js → minimize-CoPseS7J.js} +1 -1
- package/dist/assets/{monitor-D-xUF55E.js → monitor-B9eyPPw6.js} +1 -1
- package/dist/assets/new-bot-CQ9YWyiC.js +2 -0
- package/dist/assets/{org-library-Bpyraw8S.js → org-library-DKT7NXTB.js} +1 -1
- package/dist/assets/{package-format-ncy2hbCF.js → package-format-BLTn6eID.js} +1 -1
- package/dist/assets/{pegDiagram-BGZESJAR-C3t3De6_.js → pegDiagram-BGZESJAR-uFZWnUng.js} +1 -1
- package/dist/assets/{pieDiagram-CAPJLFHJ-kRPnwN37.js → pieDiagram-CAPJLFHJ-B2Itft-D.js} +1 -1
- package/dist/assets/{pl-DYcpmSsp.js → pl-BaR1MZm6.js} +1 -1
- package/dist/assets/pt-br-mFy7aZD6.js +13 -0
- package/dist/assets/{quadrantDiagram-GDMTTRAM-Cipz55iU.js → quadrantDiagram-GDMTTRAM-Btivs4tR.js} +1 -1
- package/dist/assets/{rail-FyQpKAyh.js → rail-ar9TQRSE.js} +1 -1
- package/dist/assets/{railroadDiagram-SM67HX2B-l49ZhYVX.js → railroadDiagram-SM67HX2B-92CU8YQH.js} +1 -1
- package/dist/assets/{remote-desktop-panel-OlvMKUOn.js → remote-desktop-panel-B-H6RmM2.js} +1 -1
- package/dist/assets/{requirementDiagram-X7JNWC4A-CecvERDF.js → requirementDiagram-X7JNWC4A-5izSc7xN.js} +1 -1
- package/dist/assets/ru-BJ0ARJtn.js +13 -0
- package/dist/assets/{sankeyDiagram-UM26HJRW-DRZqZqLO.js → sankeyDiagram-UM26HJRW-DPnrZSB2.js} +1 -1
- package/dist/assets/{sequenceDiagram-ZO4K6R2Y-CIew_Hl6.js → sequenceDiagram-ZO4K6R2Y-Bda0M6Hv.js} +1 -1
- package/dist/assets/{sizeCapture-INFHLROL-BbjJkaP6.js → sizeCapture-INFHLROL-DKRN8tPD.js} +1 -1
- package/dist/assets/{stateDiagram-v2-TBUQTH76-DN-g5bKL.js → stateDiagram-v2-TBUQTH76-D6MqFrrx.js} +1 -1
- package/dist/assets/{styles-DDktIAU-.js → styles-DOwrpvZY.js} +2 -2
- package/dist/assets/{swimlanes-N4OXWK64-Bu_DsU2s.js → swimlanes-N4OXWK64-D_pFpyCW.js} +1 -1
- package/dist/assets/swimlanesDiagram-K3J5GTZL-D6oFbwqj.js +8 -0
- package/dist/assets/{team-share-DxBljvTu.js → team-share-CS8lXIGF.js} +1 -1
- package/dist/assets/{timeline-definition-YOQAKGHF-B0HmDrNc.js → timeline-definition-YOQAKGHF-CsXwhMm7.js} +1 -1
- package/dist/assets/tr-DnXBUn9-.js +6 -0
- package/dist/assets/uk-RZHdJ2pL.js +1 -0
- package/dist/assets/{usecaseDiagram-VIAY4XPW-B-vm9Zaa.js → usecaseDiagram-VIAY4XPW-XU2vytSZ.js} +1 -1
- package/dist/assets/{vennDiagram-BLWOH2XV-BuRzEMGb.js → vennDiagram-BLWOH2XV-beqZKO-E.js} +1 -1
- package/dist/assets/vi-Bx9YsUag.js +15 -0
- package/dist/assets/{wardleyDiagram-YMQ3BMBF-COs2BbYB.js → wardleyDiagram-YMQ3BMBF-Ci5sPNvX.js} +1 -1
- package/dist/assets/{xychartDiagram-TAQBALBS-DV0zxl6v.js → xychartDiagram-TAQBALBS-BCJ2N2BY.js} +1 -1
- package/dist/assets/zh-DMiI3Rx1.js +13 -0
- package/dist/assets/zh-tw-DoGBLWPr.js +13 -0
- package/dist/index.html +2 -2
- package/dist/rail.html +4 -4
- package/dist-server/index.js +1324 -1250
- package/dist-server/openmausbot.js +1 -1
- package/dist-server/package.json +1 -1
- package/dist-server/server/chief-templates.js +4 -3
- package/dist-server/server/container-computer.js +1 -1
- package/dist-server/server/index.js +4 -2
- package/dist-server/server/industry-care.js +4 -3
- package/dist-server/server/industry-teams.js +20 -19
- package/dist-server/server/limix-factory.js +17 -0
- package/dist-server/server/limix-skill-store.js +14 -6
- package/dist-server/server/package-import.js +1 -1
- package/dist-server/server/routes/bot-skills.js +2 -2
- package/dist-server/server/routes/bots-create.js +2 -2
- package/dist-server/server/routes/teams.js +2 -2
- package/dist-server/shared/industry-display.js +24 -0
- package/dist-server/shared/industry-display.json +782 -0
- package/dist-server/shared/industry-templates.js +41 -22
- package/dist-server/shared/ready-bots.js +2 -2
- package/dist-server/skills/industry-customer-care/assets/industry-profiles.json +400 -210
- package/package.json +1 -1
- package/skills/industry-auto-repair/SKILL.md +32 -0
- package/skills/industry-auto-repair/assets/hybrid-policy.json +10 -0
- package/skills/industry-auto-repair/manifest.json +18 -0
- package/skills/industry-auto-repair/references/vi.md +17 -0
- package/skills/industry-beauty-spa/SKILL.md +32 -0
- package/skills/industry-beauty-spa/assets/hybrid-policy.json +10 -0
- package/skills/industry-beauty-spa/manifest.json +18 -0
- package/skills/industry-beauty-spa/references/vi.md +17 -0
- package/skills/industry-customer-care/assets/industry-profiles.json +400 -210
- package/skills/industry-education/SKILL.md +32 -0
- package/skills/industry-education/assets/hybrid-policy.json +10 -0
- package/skills/industry-education/manifest.json +18 -0
- package/skills/industry-education/references/vi.md +17 -0
- package/skills/industry-food-beverage/SKILL.md +32 -0
- package/skills/industry-food-beverage/assets/hybrid-policy.json +10 -0
- package/skills/industry-food-beverage/manifest.json +18 -0
- package/skills/industry-food-beverage/references/vi.md +17 -0
- package/skills/industry-home-services/SKILL.md +32 -0
- package/skills/industry-home-services/assets/hybrid-policy.json +10 -0
- package/skills/industry-home-services/manifest.json +18 -0
- package/skills/industry-home-services/references/vi.md +17 -0
- package/skills/industry-hospitality-travel/SKILL.md +32 -0
- package/skills/industry-hospitality-travel/assets/hybrid-policy.json +10 -0
- package/skills/industry-hospitality-travel/manifest.json +18 -0
- package/skills/industry-hospitality-travel/references/vi.md +17 -0
- package/skills/industry-logistics/SKILL.md +32 -0
- package/skills/industry-logistics/assets/hybrid-policy.json +10 -0
- package/skills/industry-logistics/manifest.json +18 -0
- package/skills/industry-logistics/references/vi.md +17 -0
- package/skills/industry-real-estate/SKILL.md +32 -0
- package/skills/industry-real-estate/assets/hybrid-policy.json +10 -0
- package/skills/industry-real-estate/manifest.json +18 -0
- package/skills/industry-real-estate/references/vi.md +17 -0
- package/skills/industry-retail-ecommerce/SKILL.md +32 -0
- package/skills/industry-retail-ecommerce/assets/hybrid-policy.json +10 -0
- package/skills/industry-retail-ecommerce/manifest.json +18 -0
- package/skills/industry-retail-ecommerce/references/vi.md +17 -0
- package/skills/industry-wholesale-distribution/SKILL.md +32 -0
- package/skills/industry-wholesale-distribution/assets/hybrid-policy.json +10 -0
- package/skills/industry-wholesale-distribution/manifest.json +18 -0
- package/skills/industry-wholesale-distribution/references/vi.md +17 -0
- package/skills/limix-bot-factory/SKILL.md +98 -0
- package/skills/limix-bot-factory/agents/openai.yaml +3 -0
- package/skills/limix-bot-factory/assets/capabilities.json +102 -0
- package/skills/limix-bot-factory/assets/evaluations/policy-scenarios.json +21 -0
- package/skills/limix-bot-factory/assets/hybrid-policy.json +10 -0
- package/skills/limix-bot-factory/assets/schemas/bot-spec.schema.json +333 -0
- package/skills/limix-bot-factory/assets/templates/appointment-booking.json +65 -0
- package/skills/limix-bot-factory/assets/templates/custom-agent.json +56 -0
- package/skills/limix-bot-factory/assets/templates/customer-support.json +68 -0
- package/skills/limix-bot-factory/assets/templates/order-tracking.json +65 -0
- package/skills/limix-bot-factory/assets/templates/research-assistant.json +67 -0
- package/skills/limix-bot-factory/assets/templates/sales-advisor.json +72 -0
- package/skills/limix-bot-factory/assets/templates/social-content.json +71 -0
- package/skills/limix-bot-factory/assets/ui-catalog.json +57 -0
- package/skills/limix-bot-factory/manifest.json +18 -0
- package/skills/limix-bot-factory/references/bot-evaluations.md +24 -0
- package/skills/limix-bot-factory/references/hybrid-skills-contract.md +46 -0
- package/skills/limix-bot-factory/references/integration-blueprint.md +62 -0
- package/skills/limix-bot-factory/references/security-contract.md +34 -0
- package/skills/limix-bot-factory/references/template-workflow.md +48 -0
- package/skills/limix-bot-factory/references/vi.md +24 -0
- package/skills/limix-bot-factory/scripts/bot_factory.py +6 -0
- package/skills/limix-bot-factory/scripts/factorylib/__init__.py +2 -0
- package/skills/limix-bot-factory/scripts/factorylib/cli.py +125 -0
- package/skills/limix-bot-factory/scripts/factorylib/core.py +221 -0
- package/skills/limix-bot-factory/scripts/factorylib/engine.py +148 -0
- package/skills/limix-bot-factory/scripts/factorylib/hybrid.py +211 -0
- package/skills/limix-bot-factory/scripts/factorylib/policy.py +23 -0
- package/skills/limix-bot-factory/scripts/factorylib/stdio.py +67 -0
- package/skills/limix-bot-factory/scripts/mcp_server.py +117 -0
- package/dist/assets/CloudAddDialog-CaHBgG59.js +0 -1
- package/dist/assets/NewBotDialog-RhcfXb6u.js +0 -1
- package/dist/assets/PlacesRail-BV7okmUJ.js +0 -1
- package/dist/assets/TeamLibraryPanel-DkWnCUJV.js +0 -3
- package/dist/assets/VisibilitySection-5EOhD7ux.js +0 -22
- package/dist/assets/channel-bk2QY8J7.js +0 -1
- package/dist/assets/de-DSdUUIw0.js +0 -8
- package/dist/assets/es-BHqvB5c_.js +0 -6
- package/dist/assets/fr-BYea3ESR.js +0 -8
- package/dist/assets/hi-BAQE8TUj.js +0 -1
- package/dist/assets/import-name-DBpLwcMu.js +0 -1
- package/dist/assets/it-CgoFnT6M.js +0 -13
- package/dist/assets/ja-DL0zdFOr.js +0 -13
- package/dist/assets/ko-l7Fk0h22.js +0 -13
- package/dist/assets/new-bot-BWni80X3.js +0 -2
- package/dist/assets/pt-br-DTFokgJS.js +0 -13
- package/dist/assets/ru-ChGJdG-8.js +0 -13
- package/dist/assets/swimlanesDiagram-K3J5GTZL-g_8BdGfC.js +0 -8
- package/dist/assets/tr-DxJLR15s.js +0 -6
- package/dist/assets/uk-s288K1L0.js +0 -1
- package/dist/assets/vi-BWNMeqV0.js +0 -15
- package/dist/assets/zh-B1nJITne.js +0 -13
- 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\
|
package/dist-server/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"type":"module","version":"0.3.
|
|
1
|
+
{"type":"module","version":"0.3.102"}
|
|
@@ -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
|
|
121
|
-
const
|
|
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
|
|
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
|
|
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
|
}
|
|
@@ -9,7 +9,7 @@ var __rewriteRelativeImportExtension = (this && this.__rewriteRelativeImportExte
|
|
|
9
9
|
import { existsSync } from "node:fs";
|
|
10
10
|
import { join, resolve } from "node:path";
|
|
11
11
|
import { pathToFileURL } from "node:url";
|
|
12
|
-
import { INDUSTRY_CARE_SERVER, INDUSTRY_CARE_SKILL } from "../shared/industry-templates.js";
|
|
12
|
+
import { industrySkillsForTemplate, INDUSTRY_CARE_SERVER, INDUSTRY_CARE_SKILL } from "../shared/industry-templates.js";
|
|
13
13
|
import { allowsTool, canUseMcpServer } from "../shared/tool-scope.js";
|
|
14
14
|
import { DATA_DIR } from "./config.js";
|
|
15
15
|
import { bundledPicks, limixBundledSwitch } from "./limix-skill-store.js";
|
|
@@ -22,8 +22,9 @@ function careLocation(botId) {
|
|
|
22
22
|
entry: resolve(process.env.OMB_SKILLS_DIR || "skills", INDUSTRY_CARE_SKILL, "scripts", "care.mjs"),
|
|
23
23
|
};
|
|
24
24
|
}
|
|
25
|
-
export function enableIndustryCare(botId) {
|
|
26
|
-
|
|
25
|
+
export function enableIndustryCare(botId, templateId = INDUSTRY_CARE_SKILL) {
|
|
26
|
+
const skills = industrySkillsForTemplate(templateId);
|
|
27
|
+
if (!existsSync(careLocation(botId).entry) || !skills.length || skills.some(id => limixBundledSwitch(botId, id, true)?.status !== 200)) {
|
|
27
28
|
throw new Error("Thiếu bộ công cụ CSKH trong bản cài Limix Bot.");
|
|
28
29
|
}
|
|
29
30
|
}
|
|
@@ -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,
|
|
3
|
+
import { industryRoleBot, industrySkillsForTemplate, 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),
|
|
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: industrySkillsForTemplate(teamSlug(profile)),
|
|
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
|
|
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
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
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",
|
|
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.
|
|
34
|
-
category:
|
|
35
|
-
outcomes: [
|
|
34
|
+
id: slug, release: "1.1.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:
|
|
38
|
+
team: { name: label.name, brief: handoff },
|
|
38
39
|
agents,
|
|
39
|
-
rooms: [{ key: "care-desk", name:
|
|
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:
|
|
42
|
-
triggers: ["
|
|
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
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { INDUSTRY_PROFILES } from "../shared/industry-profiles.js";
|
|
1
2
|
// Limix Bot: skills are chosen per bot. A new bot starts with only Limix's core skills (learning new skills, reading
|
|
2
3
|
// links with Agent Reach, operating Windows, the phone helpers) plus the skills it learns itself; everything else waits
|
|
3
4
|
// in the store ("Kho Kĩ Năng (Skills)") until a person adds it to one bot. Settings → Kĩ Năng (Skills) only downloads and
|
|
@@ -23,6 +24,7 @@ export const LIMIX_CORE_SKILLS = new Set([
|
|
|
23
24
|
]);
|
|
24
25
|
/** What a shipped skill does, in the app's language (the manifest has one language; the skill itself is unchanged). */
|
|
25
26
|
const BUNDLED_TEXT = {
|
|
27
|
+
"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
28
|
"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
29
|
"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
30
|
"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."],
|
|
@@ -34,7 +36,11 @@ const BUNDLED_TEXT = {
|
|
|
34
36
|
"ui-ux-pro-max": ["Trợ lý thiết kế UI/UX: phong cách, bảng màu, cặp phông chữ, luật UX và hướng dẫn theo nền tảng, tra bằng script Python trên máy.", "Design intelligence for UI/UX: styles, colour palettes, font pairings, UX rules and stack guidance, searched with a local Python script."],
|
|
35
37
|
"windows-computer-automation": ["Điều khiển Windows an toàn: đọc màn hình, thao tác cửa sổ, nhập liệu, trình duyệt, ứng dụng, tệp và tiến trình qua Agent Desktop và Windows-MCP; chọn đúng công cụ, xác minh kết quả, chống lặp thao tác.", "Control Windows safely: read the screen, work windows, type, browse, and manage apps, files and processes through Agent Desktop and Windows-MCP; pick the right tool, check the result, never repeat an action blindly."],
|
|
36
38
|
};
|
|
39
|
+
const industrySkills = new Map(INDUSTRY_PROFILES.map(p => [`industry-${p.slug}`, p]));
|
|
37
40
|
export function limixSkillText(id, fallback) {
|
|
41
|
+
const industry = industrySkills.get(id);
|
|
42
|
+
if (industry)
|
|
43
|
+
return lxs(industry.vi.description, industry.description);
|
|
38
44
|
const text = BUNDLED_TEXT[id];
|
|
39
45
|
return text ? lxs(text[0], text[1]) : fallback;
|
|
40
46
|
}
|
|
@@ -65,9 +71,9 @@ function setBundledPick(botId, id, on) {
|
|
|
65
71
|
writeFileAtomic(picksPath(botId), `${JSON.stringify([...picks].sort(), null, 2)}\n`, { mode: 0o600 });
|
|
66
72
|
}
|
|
67
73
|
/** The shipped skills one bot has: the core ones and the ones a person added to it. */
|
|
68
|
-
export function limixBundledFor(botId, skills) {
|
|
74
|
+
export function limixBundledFor(botId, skills, helperFactory = false) {
|
|
69
75
|
const picks = bundledPicks(botId);
|
|
70
|
-
return skills.filter(({ manifest }) => LIMIX_CORE_SKILLS.has(manifest.id) || picks.has(manifest.id));
|
|
76
|
+
return skills.filter(({ manifest }) => manifest.id === "limix-bot-factory" ? helperFactory : LIMIX_CORE_SKILLS.has(manifest.id) || picks.has(manifest.id));
|
|
71
77
|
}
|
|
72
78
|
const slashCalled = (text, id) => new RegExp(`(^|\\s)/${id.replace(/[-]/g, "\\-")}(?=$|[\\s.,:;!?])`, "m").test(text);
|
|
73
79
|
/** Vietnamese typed with or without accents ("điều khiển máy tính" / "dieu khien may tinh") matches the same terms. */
|
|
@@ -80,11 +86,11 @@ export function limixSelectBundled(text, capabilities, skills) {
|
|
|
80
86
|
const folded = foldVietnamese(text);
|
|
81
87
|
const unaccented = usable.filter(({ manifest }) => manifest.defaultEnabled && manifest.triggerTerms.some((term) => folded.includes(foldVietnamese(term))));
|
|
82
88
|
const called = usable.filter(({ manifest }) => slashCalled(text, manifest.id));
|
|
83
|
-
return mergeSkills(mergeSkills(selectBundledSkills(text, available, skills), unaccented), called);
|
|
89
|
+
return mergeSkills(mergeSkills(selectBundledSkills(text, available, skills), unaccented), [...called, ...usable.filter(skill => industrySkills.has(skill.manifest.id))]);
|
|
84
90
|
}
|
|
85
91
|
/** The bot's shipped skills as rows of its Skills page. */
|
|
86
|
-
export function limixBundledListings(botId) {
|
|
87
|
-
return limixBundledFor(botId, loadBundledSkills()).map(({ manifest }) => ({
|
|
92
|
+
export function limixBundledListings(botId, helperFactory = false) {
|
|
93
|
+
return limixBundledFor(botId, loadBundledSkills(), helperFactory).map(({ manifest }) => ({
|
|
88
94
|
name: manifest.id, description: limixSkillText(manifest.id, manifest.description), enabled: true, editable: false,
|
|
89
95
|
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
96
|
sha256: "", importedAt: "", warnings: [], skippedFiles: [], origin: "bundled", core: LIMIX_CORE_SKILLS.has(manifest.id),
|
|
@@ -107,7 +113,9 @@ function storeItems(bots, botId) {
|
|
|
107
113
|
const picks = bundledPicks(botId);
|
|
108
114
|
const items = new Map();
|
|
109
115
|
for (const { manifest } of loadBundledSkills()) {
|
|
110
|
-
|
|
116
|
+
if (manifest.id === "limix-bot-factory" && !bot.defaultBot)
|
|
117
|
+
continue;
|
|
118
|
+
const core = LIMIX_CORE_SKILLS.has(manifest.id) || manifest.id === "limix-bot-factory";
|
|
111
119
|
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
120
|
}
|
|
113
121
|
for (const skill of listLibrarySkills()) {
|
|
@@ -224,7 +224,7 @@ function runImport(source, options, deps) {
|
|
|
224
224
|
...avatar,
|
|
225
225
|
});
|
|
226
226
|
if (options.builtInIndustry)
|
|
227
|
-
enableIndustryCare(created.id);
|
|
227
|
+
enableIndustryCare(created.id, pkg.id);
|
|
228
228
|
for (const skillName of agent?.skills ?? []) {
|
|
229
229
|
const skill = skillByName.get(skillName);
|
|
230
230
|
if (!skill)
|
|
@@ -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)
|
|
@@ -229,7 +229,7 @@ export function createBotCreateRoutes(deps) {
|
|
|
229
229
|
cloudRoutineAuthors?.wrote(created.id, ownersRoutines);
|
|
230
230
|
}
|
|
231
231
|
if (industry)
|
|
232
|
-
enableIndustryCare(bot.id);
|
|
232
|
+
enableIndustryCare(bot.id, industry.id);
|
|
233
233
|
}
|
|
234
234
|
catch (error) {
|
|
235
235
|
for (const routine of createdRoutines)
|
|
@@ -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
|
+
}
|