limixbot 0.3.58 → 0.3.60
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-Bo1RbvaV.js → ActivityPanel-CKEcKI_M.js} +1 -1
- package/dist/assets/{App-DXFyry-O.js → App-D54rL8MB.js} +34 -34
- package/dist/assets/{AppEventEditor-CF4CO0ld.js → AppEventEditor-DLp_fm8T.js} +1 -1
- package/dist/assets/{BotSettingsDialog-D8Kngm-F.js → BotSettingsDialog-D4bGuPi5.js} +1 -1
- package/dist/assets/{BrowserPanel-BQm8rhx5.js → BrowserPanel-DloTFDso.js} +1 -1
- package/dist/assets/{BrowserProfilesManager-BqjcuBZs.js → BrowserProfilesManager-QGpIyc0N.js} +1 -1
- package/dist/assets/{CloudAddDialog-D-0FuNYq.js → CloudAddDialog-BV0X2Ixq.js} +1 -1
- package/dist/assets/{ComputerFilesPane-D7U_1IK3.js → ComputerFilesPane-B44Tl6FZ.js} +1 -1
- package/dist/assets/{ComputerPanel-QeorY479.js → ComputerPanel-BaXZwTgq.js} +2 -2
- package/dist/assets/{DataPanel-Bbcg4YS4.js → DataPanel-C1JxDTPk.js} +1 -1
- package/dist/assets/{FilesView-DYGgy3sn.js → FilesView-BJLQfTe5.js} +1 -1
- package/dist/assets/{GrokMoveDialog-h0ThNLD1.js → GrokMoveDialog-D7FNzLOe.js} +1 -1
- package/dist/assets/{InspectorPanel-Fp6dS_Q-.js → InspectorPanel-B-YMcM92.js} +1 -1
- package/dist/assets/{KeyboardShortcutsModal-DE2IkDiS.js → KeyboardShortcutsModal-D7ZYmSSe.js} +1 -1
- package/dist/assets/{LimixChannelReview-DOJVSubg.js → LimixChannelReview-Cma-fkG1.js} +1 -1
- package/dist/assets/{LiveDesktop-lwXsMzQt.js → LiveDesktop-Crv9ZeMu.js} +1 -1
- package/dist/assets/{LocalVmWorkspace-NK7Res7a.js → LocalVmWorkspace-BcfhBIGg.js} +1 -1
- package/dist/assets/{MacLocalControl-_NHr7FBq.js → MacLocalControl-VGKFsCd2.js} +1 -1
- package/dist/assets/{MarkdownFilePreview-Df1Yq-ot.js → MarkdownFilePreview-h7snmv1r.js} +1 -1
- package/dist/assets/{NewBotDialog-D330gK11.js → NewBotDialog-CZwC7P4q.js} +1 -1
- package/dist/assets/{PhoneAppDialog-CDAXlB5L.js → PhoneAppDialog-9lC3OJCx.js} +1 -1
- package/dist/assets/{PluginsPanel-2hSYUKTM.js → PluginsPanel-DRnhza3W.js} +1 -1
- package/dist/assets/{ProIntroduction-D-s2DLb1.js → ProIntroduction-CAC4VDYK.js} +1 -1
- package/dist/assets/{RemoteAgentSettingsPanel-C199oVBz.js → RemoteAgentSettingsPanel-AYI4qAjy.js} +1 -1
- package/dist/assets/{RoomPanel-BU6uf2QU.js → RoomPanel-7kXvaf5V.js} +1 -1
- package/dist/assets/{RoutinesPage-Dua2AffP.js → RoutinesPage-BYkwhXgv.js} +1 -1
- package/dist/assets/{SettingsModal-rKCBPkd0.js → SettingsModal-DocT6qST.js} +1 -1
- package/dist/assets/{ShareTeamDialog-C1Zn8y6a.js → ShareTeamDialog-DVmS4G_s.js} +1 -1
- package/dist/assets/{SignedInSites-1CBTiG2A.js → SignedInSites-w_M3wjH0.js} +1 -1
- package/dist/assets/TeamLibraryPanel-CsTuL0nY.js +1 -0
- package/dist/assets/{TeamMapPage-Bx21awIo.js → TeamMapPage-BU_iQzkD.js} +1 -1
- package/dist/assets/{TriggersPage-C0_xbuHz.js → TriggersPage-DzZgP_hV.js} +1 -1
- package/dist/assets/{VisibilitySection-DcWNEDCO.js → VisibilitySection-BoW3LAEp.js} +1 -1
- package/dist/assets/{WebhookTrigger-CtZ01972.js → WebhookTrigger-BTX7SQSf.js} +1 -1
- package/dist/assets/{WorksOnGrid-PoZERN9Y.js → WorksOnGrid-CVwad0NZ.js} +1 -1
- package/dist/assets/{core-CQ066Brm.js → core-BzgN5h9d.js} +1 -1
- package/dist/assets/{import-name-DHm-KE8K.js → import-name-D4McEzH0.js} +1 -1
- package/dist/assets/{index-Bo60LEUl.js → index-D857Jn2f.js} +1 -1
- package/dist/assets/{index-DdXG0S43.js → index-DPrDNLBo.js} +2 -2
- package/dist/assets/{mcp-servers-d8BLLb1m.js → mcp-servers-OdIgTCu-.js} +1 -1
- package/dist/assets/{new-bot-C_k6SrDX.js → new-bot-DyorPBfF.js} +1 -1
- package/dist/assets/{org-library-CDuHXovP.js → org-library-B8Il0X3s.js} +1 -1
- package/dist/assets/{package-format-C9KGDR_9.js → package-format-CRA77pq2.js} +1 -1
- package/dist/assets/{remote-desktop-panel-C556u6Ol.js → remote-desktop-panel-DkLmT6kH.js} +1 -1
- package/dist/index.html +1 -1
- package/dist/template-mascots/catalog.json +2106 -0
- package/dist/template-mascots/index.html +1 -0
- package/dist/template-mascots/limix-blob-blue-curious.svg +1 -0
- package/dist/template-mascots/limix-blob-blue-happy.svg +1 -0
- package/dist/template-mascots/limix-blob-blue-idle.svg +1 -0
- package/dist/template-mascots/limix-blob-coral-curious.svg +1 -0
- package/dist/template-mascots/limix-blob-coral-happy.svg +1 -0
- package/dist/template-mascots/limix-blob-coral-idle.svg +1 -0
- package/dist/template-mascots/limix-blob-cyan-curious.svg +1 -0
- package/dist/template-mascots/limix-blob-cyan-happy.svg +1 -0
- package/dist/template-mascots/limix-blob-cyan-idle.svg +1 -0
- package/dist/template-mascots/limix-blob-green-curious.svg +1 -0
- package/dist/template-mascots/limix-blob-green-happy.svg +1 -0
- package/dist/template-mascots/limix-blob-green-idle.svg +1 -0
- package/dist/template-mascots/limix-blob-orange-curious.svg +1 -0
- package/dist/template-mascots/limix-blob-orange-happy.svg +1 -0
- package/dist/template-mascots/limix-blob-orange-idle.svg +1 -0
- package/dist/template-mascots/limix-blob-pink-curious.svg +1 -0
- package/dist/template-mascots/limix-blob-pink-happy.svg +1 -0
- package/dist/template-mascots/limix-blob-pink-idle.svg +1 -0
- package/dist/template-mascots/limix-blob-purple-curious.svg +1 -0
- package/dist/template-mascots/limix-blob-purple-happy.svg +1 -0
- package/dist/template-mascots/limix-blob-purple-idle.svg +1 -0
- package/dist/template-mascots/limix-blob-red-curious.svg +1 -0
- package/dist/template-mascots/limix-blob-red-happy.svg +1 -0
- package/dist/template-mascots/limix-blob-red-idle.svg +1 -0
- package/dist/template-mascots/limix-blob-teal-curious.svg +1 -0
- package/dist/template-mascots/limix-blob-teal-happy.svg +1 -0
- package/dist/template-mascots/limix-blob-teal-idle.svg +1 -0
- package/dist/template-mascots/limix-blob-yellow-curious.svg +1 -0
- package/dist/template-mascots/limix-blob-yellow-happy.svg +1 -0
- package/dist/template-mascots/limix-blob-yellow-idle.svg +1 -0
- package/dist/template-mascots/limix-capsule-blue-curious.svg +1 -0
- package/dist/template-mascots/limix-capsule-blue-happy.svg +1 -0
- package/dist/template-mascots/limix-capsule-blue-idle.svg +1 -0
- package/dist/template-mascots/limix-capsule-coral-curious.svg +1 -0
- package/dist/template-mascots/limix-capsule-coral-happy.svg +1 -0
- package/dist/template-mascots/limix-capsule-coral-idle.svg +1 -0
- package/dist/template-mascots/limix-capsule-cyan-curious.svg +1 -0
- package/dist/template-mascots/limix-capsule-cyan-happy.svg +1 -0
- package/dist/template-mascots/limix-capsule-cyan-idle.svg +1 -0
- package/dist/template-mascots/limix-capsule-green-curious.svg +1 -0
- package/dist/template-mascots/limix-capsule-green-happy.svg +1 -0
- package/dist/template-mascots/limix-capsule-green-idle.svg +1 -0
- package/dist/template-mascots/limix-capsule-orange-curious.svg +1 -0
- package/dist/template-mascots/limix-capsule-orange-happy.svg +1 -0
- package/dist/template-mascots/limix-capsule-orange-idle.svg +1 -0
- package/dist/template-mascots/limix-capsule-pink-curious.svg +1 -0
- package/dist/template-mascots/limix-capsule-pink-happy.svg +1 -0
- package/dist/template-mascots/limix-capsule-pink-idle.svg +1 -0
- package/dist/template-mascots/limix-capsule-purple-curious.svg +1 -0
- package/dist/template-mascots/limix-capsule-purple-happy.svg +1 -0
- package/dist/template-mascots/limix-capsule-purple-idle.svg +1 -0
- package/dist/template-mascots/limix-capsule-red-curious.svg +1 -0
- package/dist/template-mascots/limix-capsule-red-happy.svg +1 -0
- package/dist/template-mascots/limix-capsule-red-idle.svg +1 -0
- package/dist/template-mascots/limix-capsule-teal-curious.svg +1 -0
- package/dist/template-mascots/limix-capsule-teal-happy.svg +1 -0
- package/dist/template-mascots/limix-capsule-teal-idle.svg +1 -0
- package/dist/template-mascots/limix-capsule-yellow-curious.svg +1 -0
- package/dist/template-mascots/limix-capsule-yellow-happy.svg +1 -0
- package/dist/template-mascots/limix-capsule-yellow-idle.svg +1 -0
- package/dist/template-mascots/limix-circle-blue-curious.svg +1 -0
- package/dist/template-mascots/limix-circle-blue-happy.svg +1 -0
- package/dist/template-mascots/limix-circle-blue-idle.svg +1 -0
- package/dist/template-mascots/limix-circle-coral-curious.svg +1 -0
- package/dist/template-mascots/limix-circle-coral-happy.svg +1 -0
- package/dist/template-mascots/limix-circle-coral-idle.svg +1 -0
- package/dist/template-mascots/limix-circle-cyan-curious.svg +1 -0
- package/dist/template-mascots/limix-circle-cyan-happy.svg +1 -0
- package/dist/template-mascots/limix-circle-cyan-idle.svg +1 -0
- package/dist/template-mascots/limix-circle-green-curious.svg +1 -0
- package/dist/template-mascots/limix-circle-green-happy.svg +1 -0
- package/dist/template-mascots/limix-circle-green-idle.svg +1 -0
- package/dist/template-mascots/limix-circle-orange-curious.svg +1 -0
- package/dist/template-mascots/limix-circle-orange-happy.svg +1 -0
- package/dist/template-mascots/limix-circle-orange-idle.svg +1 -0
- package/dist/template-mascots/limix-circle-pink-curious.svg +1 -0
- package/dist/template-mascots/limix-circle-pink-happy.svg +1 -0
- package/dist/template-mascots/limix-circle-pink-idle.svg +1 -0
- package/dist/template-mascots/limix-circle-purple-curious.svg +1 -0
- package/dist/template-mascots/limix-circle-purple-happy.svg +1 -0
- package/dist/template-mascots/limix-circle-purple-idle.svg +1 -0
- package/dist/template-mascots/limix-circle-red-curious.svg +1 -0
- package/dist/template-mascots/limix-circle-red-happy.svg +1 -0
- package/dist/template-mascots/limix-circle-red-idle.svg +1 -0
- package/dist/template-mascots/limix-circle-teal-curious.svg +1 -0
- package/dist/template-mascots/limix-circle-teal-happy.svg +1 -0
- package/dist/template-mascots/limix-circle-teal-idle.svg +1 -0
- package/dist/template-mascots/limix-circle-yellow-curious.svg +1 -0
- package/dist/template-mascots/limix-circle-yellow-happy.svg +1 -0
- package/dist/template-mascots/limix-circle-yellow-idle.svg +1 -0
- package/dist/template-mascots/limix-cursor-blue-curious.svg +1 -0
- package/dist/template-mascots/limix-cursor-blue-happy.svg +1 -0
- package/dist/template-mascots/limix-cursor-blue-idle.svg +1 -0
- package/dist/template-mascots/limix-cursor-coral-curious.svg +1 -0
- package/dist/template-mascots/limix-cursor-coral-happy.svg +1 -0
- package/dist/template-mascots/limix-cursor-coral-idle.svg +1 -0
- package/dist/template-mascots/limix-cursor-cyan-curious.svg +1 -0
- package/dist/template-mascots/limix-cursor-cyan-happy.svg +1 -0
- package/dist/template-mascots/limix-cursor-cyan-idle.svg +1 -0
- package/dist/template-mascots/limix-cursor-green-curious.svg +1 -0
- package/dist/template-mascots/limix-cursor-green-happy.svg +1 -0
- package/dist/template-mascots/limix-cursor-green-idle.svg +1 -0
- package/dist/template-mascots/limix-cursor-orange-curious.svg +1 -0
- package/dist/template-mascots/limix-cursor-orange-happy.svg +1 -0
- package/dist/template-mascots/limix-cursor-orange-idle.svg +1 -0
- package/dist/template-mascots/limix-cursor-pink-curious.svg +1 -0
- package/dist/template-mascots/limix-cursor-pink-happy.svg +1 -0
- package/dist/template-mascots/limix-cursor-pink-idle.svg +1 -0
- package/dist/template-mascots/limix-cursor-purple-curious.svg +1 -0
- package/dist/template-mascots/limix-cursor-purple-happy.svg +1 -0
- package/dist/template-mascots/limix-cursor-purple-idle.svg +1 -0
- package/dist/template-mascots/limix-cursor-red-curious.svg +1 -0
- package/dist/template-mascots/limix-cursor-red-happy.svg +1 -0
- package/dist/template-mascots/limix-cursor-red-idle.svg +1 -0
- package/dist/template-mascots/limix-cursor-teal-curious.svg +1 -0
- package/dist/template-mascots/limix-cursor-teal-happy.svg +1 -0
- package/dist/template-mascots/limix-cursor-teal-idle.svg +1 -0
- package/dist/template-mascots/limix-cursor-yellow-curious.svg +1 -0
- package/dist/template-mascots/limix-cursor-yellow-happy.svg +1 -0
- package/dist/template-mascots/limix-cursor-yellow-idle.svg +1 -0
- package/dist/template-mascots/limix-diamond-blue-curious.svg +1 -0
- package/dist/template-mascots/limix-diamond-blue-happy.svg +1 -0
- package/dist/template-mascots/limix-diamond-blue-idle.svg +1 -0
- package/dist/template-mascots/limix-diamond-coral-curious.svg +1 -0
- package/dist/template-mascots/limix-diamond-coral-happy.svg +1 -0
- package/dist/template-mascots/limix-diamond-coral-idle.svg +1 -0
- package/dist/template-mascots/limix-diamond-cyan-curious.svg +1 -0
- package/dist/template-mascots/limix-diamond-cyan-happy.svg +1 -0
- package/dist/template-mascots/limix-diamond-cyan-idle.svg +1 -0
- package/dist/template-mascots/limix-diamond-green-curious.svg +1 -0
- package/dist/template-mascots/limix-diamond-green-happy.svg +1 -0
- package/dist/template-mascots/limix-diamond-green-idle.svg +1 -0
- package/dist/template-mascots/limix-diamond-orange-curious.svg +1 -0
- package/dist/template-mascots/limix-diamond-orange-happy.svg +1 -0
- package/dist/template-mascots/limix-diamond-orange-idle.svg +1 -0
- package/dist/template-mascots/limix-diamond-pink-curious.svg +1 -0
- package/dist/template-mascots/limix-diamond-pink-happy.svg +1 -0
- package/dist/template-mascots/limix-diamond-pink-idle.svg +1 -0
- package/dist/template-mascots/limix-diamond-purple-curious.svg +1 -0
- package/dist/template-mascots/limix-diamond-purple-happy.svg +1 -0
- package/dist/template-mascots/limix-diamond-purple-idle.svg +1 -0
- package/dist/template-mascots/limix-diamond-red-curious.svg +1 -0
- package/dist/template-mascots/limix-diamond-red-happy.svg +1 -0
- package/dist/template-mascots/limix-diamond-red-idle.svg +1 -0
- package/dist/template-mascots/limix-diamond-teal-curious.svg +1 -0
- package/dist/template-mascots/limix-diamond-teal-happy.svg +1 -0
- package/dist/template-mascots/limix-diamond-teal-idle.svg +1 -0
- package/dist/template-mascots/limix-diamond-yellow-curious.svg +1 -0
- package/dist/template-mascots/limix-diamond-yellow-happy.svg +1 -0
- package/dist/template-mascots/limix-diamond-yellow-idle.svg +1 -0
- package/dist/template-mascots/limix-drop-blue-curious.svg +1 -0
- package/dist/template-mascots/limix-drop-blue-happy.svg +1 -0
- package/dist/template-mascots/limix-drop-blue-idle.svg +1 -0
- package/dist/template-mascots/limix-drop-coral-curious.svg +1 -0
- package/dist/template-mascots/limix-drop-coral-happy.svg +1 -0
- package/dist/template-mascots/limix-drop-coral-idle.svg +1 -0
- package/dist/template-mascots/limix-drop-cyan-curious.svg +1 -0
- package/dist/template-mascots/limix-drop-cyan-happy.svg +1 -0
- package/dist/template-mascots/limix-drop-cyan-idle.svg +1 -0
- package/dist/template-mascots/limix-drop-green-curious.svg +1 -0
- package/dist/template-mascots/limix-drop-green-happy.svg +1 -0
- package/dist/template-mascots/limix-drop-green-idle.svg +1 -0
- package/dist/template-mascots/limix-drop-orange-curious.svg +1 -0
- package/dist/template-mascots/limix-drop-orange-happy.svg +1 -0
- package/dist/template-mascots/limix-drop-orange-idle.svg +1 -0
- package/dist/template-mascots/limix-drop-pink-curious.svg +1 -0
- package/dist/template-mascots/limix-drop-pink-happy.svg +1 -0
- package/dist/template-mascots/limix-drop-pink-idle.svg +1 -0
- package/dist/template-mascots/limix-drop-purple-curious.svg +1 -0
- package/dist/template-mascots/limix-drop-purple-happy.svg +1 -0
- package/dist/template-mascots/limix-drop-purple-idle.svg +1 -0
- package/dist/template-mascots/limix-drop-red-curious.svg +1 -0
- package/dist/template-mascots/limix-drop-red-happy.svg +1 -0
- package/dist/template-mascots/limix-drop-red-idle.svg +1 -0
- package/dist/template-mascots/limix-drop-teal-curious.svg +1 -0
- package/dist/template-mascots/limix-drop-teal-happy.svg +1 -0
- package/dist/template-mascots/limix-drop-teal-idle.svg +1 -0
- package/dist/template-mascots/limix-drop-yellow-curious.svg +1 -0
- package/dist/template-mascots/limix-drop-yellow-happy.svg +1 -0
- package/dist/template-mascots/limix-drop-yellow-idle.svg +1 -0
- package/dist/template-mascots/limix-hexagon-blue-curious.svg +1 -0
- package/dist/template-mascots/limix-hexagon-blue-happy.svg +1 -0
- package/dist/template-mascots/limix-hexagon-blue-idle.svg +1 -0
- package/dist/template-mascots/limix-hexagon-coral-curious.svg +1 -0
- package/dist/template-mascots/limix-hexagon-coral-happy.svg +1 -0
- package/dist/template-mascots/limix-hexagon-coral-idle.svg +1 -0
- package/dist/template-mascots/limix-hexagon-cyan-curious.svg +1 -0
- package/dist/template-mascots/limix-hexagon-cyan-happy.svg +1 -0
- package/dist/template-mascots/limix-hexagon-cyan-idle.svg +1 -0
- package/dist/template-mascots/limix-hexagon-green-curious.svg +1 -0
- package/dist/template-mascots/limix-hexagon-green-happy.svg +1 -0
- package/dist/template-mascots/limix-hexagon-green-idle.svg +1 -0
- package/dist/template-mascots/limix-hexagon-orange-curious.svg +1 -0
- package/dist/template-mascots/limix-hexagon-orange-happy.svg +1 -0
- package/dist/template-mascots/limix-hexagon-orange-idle.svg +1 -0
- package/dist/template-mascots/limix-hexagon-pink-curious.svg +1 -0
- package/dist/template-mascots/limix-hexagon-pink-happy.svg +1 -0
- package/dist/template-mascots/limix-hexagon-pink-idle.svg +1 -0
- package/dist/template-mascots/limix-hexagon-purple-curious.svg +1 -0
- package/dist/template-mascots/limix-hexagon-purple-happy.svg +1 -0
- package/dist/template-mascots/limix-hexagon-purple-idle.svg +1 -0
- package/dist/template-mascots/limix-hexagon-red-curious.svg +1 -0
- package/dist/template-mascots/limix-hexagon-red-happy.svg +1 -0
- package/dist/template-mascots/limix-hexagon-red-idle.svg +1 -0
- package/dist/template-mascots/limix-hexagon-teal-curious.svg +1 -0
- package/dist/template-mascots/limix-hexagon-teal-happy.svg +1 -0
- package/dist/template-mascots/limix-hexagon-teal-idle.svg +1 -0
- package/dist/template-mascots/limix-hexagon-yellow-curious.svg +1 -0
- package/dist/template-mascots/limix-hexagon-yellow-happy.svg +1 -0
- package/dist/template-mascots/limix-hexagon-yellow-idle.svg +1 -0
- package/dist/template-mascots/limix-shield-blue-curious.svg +1 -0
- package/dist/template-mascots/limix-shield-blue-happy.svg +1 -0
- package/dist/template-mascots/limix-shield-blue-idle.svg +1 -0
- package/dist/template-mascots/limix-shield-coral-curious.svg +1 -0
- package/dist/template-mascots/limix-shield-coral-happy.svg +1 -0
- package/dist/template-mascots/limix-shield-coral-idle.svg +1 -0
- package/dist/template-mascots/limix-shield-cyan-curious.svg +1 -0
- package/dist/template-mascots/limix-shield-cyan-happy.svg +1 -0
- package/dist/template-mascots/limix-shield-cyan-idle.svg +1 -0
- package/dist/template-mascots/limix-shield-green-curious.svg +1 -0
- package/dist/template-mascots/limix-shield-green-happy.svg +1 -0
- package/dist/template-mascots/limix-shield-green-idle.svg +1 -0
- package/dist/template-mascots/limix-shield-orange-curious.svg +1 -0
- package/dist/template-mascots/limix-shield-orange-happy.svg +1 -0
- package/dist/template-mascots/limix-shield-orange-idle.svg +1 -0
- package/dist/template-mascots/limix-shield-pink-curious.svg +1 -0
- package/dist/template-mascots/limix-shield-pink-happy.svg +1 -0
- package/dist/template-mascots/limix-shield-pink-idle.svg +1 -0
- package/dist/template-mascots/limix-shield-purple-curious.svg +1 -0
- package/dist/template-mascots/limix-shield-purple-happy.svg +1 -0
- package/dist/template-mascots/limix-shield-purple-idle.svg +1 -0
- package/dist/template-mascots/limix-shield-red-curious.svg +1 -0
- package/dist/template-mascots/limix-shield-red-happy.svg +1 -0
- package/dist/template-mascots/limix-shield-red-idle.svg +1 -0
- package/dist/template-mascots/limix-shield-teal-curious.svg +1 -0
- package/dist/template-mascots/limix-shield-teal-happy.svg +1 -0
- package/dist/template-mascots/limix-shield-teal-idle.svg +1 -0
- package/dist/template-mascots/limix-shield-yellow-curious.svg +1 -0
- package/dist/template-mascots/limix-shield-yellow-happy.svg +1 -0
- package/dist/template-mascots/limix-shield-yellow-idle.svg +1 -0
- package/dist/template-mascots/limix-squircle-blue-curious.svg +1 -0
- package/dist/template-mascots/limix-squircle-blue-happy.svg +1 -0
- package/dist/template-mascots/limix-squircle-blue-idle.svg +1 -0
- package/dist/template-mascots/limix-squircle-coral-curious.svg +1 -0
- package/dist/template-mascots/limix-squircle-coral-happy.svg +1 -0
- package/dist/template-mascots/limix-squircle-coral-idle.svg +1 -0
- package/dist/template-mascots/limix-squircle-cyan-curious.svg +1 -0
- package/dist/template-mascots/limix-squircle-cyan-happy.svg +1 -0
- package/dist/template-mascots/limix-squircle-cyan-idle.svg +1 -0
- package/dist/template-mascots/limix-squircle-green-curious.svg +1 -0
- package/dist/template-mascots/limix-squircle-green-happy.svg +1 -0
- package/dist/template-mascots/limix-squircle-green-idle.svg +1 -0
- package/dist/template-mascots/limix-squircle-orange-curious.svg +1 -0
- package/dist/template-mascots/limix-squircle-orange-happy.svg +1 -0
- package/dist/template-mascots/limix-squircle-orange-idle.svg +1 -0
- package/dist/template-mascots/limix-squircle-pink-curious.svg +1 -0
- package/dist/template-mascots/limix-squircle-pink-happy.svg +1 -0
- package/dist/template-mascots/limix-squircle-pink-idle.svg +1 -0
- package/dist/template-mascots/limix-squircle-purple-curious.svg +1 -0
- package/dist/template-mascots/limix-squircle-purple-happy.svg +1 -0
- package/dist/template-mascots/limix-squircle-purple-idle.svg +1 -0
- package/dist/template-mascots/limix-squircle-red-curious.svg +1 -0
- package/dist/template-mascots/limix-squircle-red-happy.svg +1 -0
- package/dist/template-mascots/limix-squircle-red-idle.svg +1 -0
- package/dist/template-mascots/limix-squircle-teal-curious.svg +1 -0
- package/dist/template-mascots/limix-squircle-teal-happy.svg +1 -0
- package/dist/template-mascots/limix-squircle-teal-idle.svg +1 -0
- package/dist/template-mascots/limix-squircle-yellow-curious.svg +1 -0
- package/dist/template-mascots/limix-squircle-yellow-happy.svg +1 -0
- package/dist/template-mascots/limix-squircle-yellow-idle.svg +1 -0
- package/dist/template-mascots/limix-star-blue-curious.svg +1 -0
- package/dist/template-mascots/limix-star-blue-happy.svg +1 -0
- package/dist/template-mascots/limix-star-blue-idle.svg +1 -0
- package/dist/template-mascots/limix-star-coral-curious.svg +1 -0
- package/dist/template-mascots/limix-star-coral-happy.svg +1 -0
- package/dist/template-mascots/limix-star-coral-idle.svg +1 -0
- package/dist/template-mascots/limix-star-cyan-curious.svg +1 -0
- package/dist/template-mascots/limix-star-cyan-happy.svg +1 -0
- package/dist/template-mascots/limix-star-cyan-idle.svg +1 -0
- package/dist/template-mascots/limix-star-green-curious.svg +1 -0
- package/dist/template-mascots/limix-star-green-happy.svg +1 -0
- package/dist/template-mascots/limix-star-green-idle.svg +1 -0
- package/dist/template-mascots/limix-star-orange-curious.svg +1 -0
- package/dist/template-mascots/limix-star-orange-happy.svg +1 -0
- package/dist/template-mascots/limix-star-orange-idle.svg +1 -0
- package/dist/template-mascots/limix-star-pink-curious.svg +1 -0
- package/dist/template-mascots/limix-star-pink-happy.svg +1 -0
- package/dist/template-mascots/limix-star-pink-idle.svg +1 -0
- package/dist/template-mascots/limix-star-purple-curious.svg +1 -0
- package/dist/template-mascots/limix-star-purple-happy.svg +1 -0
- package/dist/template-mascots/limix-star-purple-idle.svg +1 -0
- package/dist/template-mascots/limix-star-red-curious.svg +1 -0
- package/dist/template-mascots/limix-star-red-happy.svg +1 -0
- package/dist/template-mascots/limix-star-red-idle.svg +1 -0
- package/dist/template-mascots/limix-star-teal-curious.svg +1 -0
- package/dist/template-mascots/limix-star-teal-happy.svg +1 -0
- package/dist/template-mascots/limix-star-teal-idle.svg +1 -0
- package/dist/template-mascots/limix-star-yellow-curious.svg +1 -0
- package/dist/template-mascots/limix-star-yellow-happy.svg +1 -0
- package/dist/template-mascots/limix-star-yellow-idle.svg +1 -0
- package/dist-server/index.js +11 -9
- package/dist-server/package.json +1 -1
- package/dist-server/server/limix-bot-library.js +18 -4
- package/dist-server/shared/ready-bots.js +1 -0
- package/dist-server/shared/template-mascot.js +21 -0
- package/package.json +1 -1
- package/dist/assets/TeamLibraryPanel-0vXK3RsT.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="-15 -15 258.541 258.541" width="256" height="256" role="img" aria-labelledby="title"><title id="title">limix-star-pink-idle</title><defs><radialGradient id="body" cx=".36" cy=".3" r=".82" fx=".32" fy=".22"><stop stop-color="#edb0cb"/><stop offset=".45" stop-color="#D84F8B"/><stop offset="1" stop-color="#7d2e51"/></radialGradient><linearGradient id="visor" x2="0" y2="1"><stop stop-color="#24333F"/><stop offset="1" stop-color="#05090D"/></linearGradient><clipPath id="shape" transform="translate(-12.6967 -14.6012) scale(1.269672)"><path d="M62 51C70 51 75 51 83 51C88 36 101 27 122 27C134 27 145 27 156 27C178 27 190 41 190 64C190 82 190 99 190 117C190 141 176 154 153 154C143 154 132 154 121 154C116 168 104 176 84 176C71 176 58 176 44 176C21 176 10 161 10 139C10 122 10 105 10 87C10 63 26 51 49 51C53 51 58 51 62 51Z"/></clipPath><clipPath id="face"><rect x="56" y="86.5" width="128" height="72" rx="36"/></clipPath></defs><g transform="translate(-12.6967 -14.6012) scale(1.269672)"><path fill="url(#body)" d="M62 51C70 51 75 51 83 51C88 36 101 27 122 27C134 27 145 27 156 27C178 27 190 41 190 64C190 82 190 99 190 117C190 141 176 154 153 154C143 154 132 154 121 154C116 168 104 176 84 176C71 176 58 176 44 176C21 176 10 161 10 139C10 122 10 105 10 87C10 63 26 51 49 51C53 51 58 51 62 51Z"/></g><g clip-path="url(#shape)"><g transform="translate(136.75 114.39) scale(1) translate(-120 -122.5)"><rect x="56" y="86.5" width="128" height="72" rx="36" fill="url(#visor)" stroke="#fff" stroke-opacity=".12" stroke-width="2"/><g clip-path="url(#face)" fill="#f0bcd3"><g transform="translate(120 122.5) scale(1.12) translate(-120 -122.5)"><polygon points="94.4,104.01 96.39,104.3 98.29,104.97 100.01,106.02 101.49,107.38 102.66,109.02 103.49,110.85 103.92,112.82 104,114.83 104,116.85 104,118.87 104,120.89 104,122.9 104,124.92 104,126.94 104,128.95 104,130.97 103.8,132.97 103.21,134.9 102.23,136.66 100.94,138.2 99.35,139.44 97.55,140.35 95.61,140.86 93.6,140.99 91.61,140.7 89.71,140.03 87.99,138.98 86.51,137.62 85.34,135.98 84.51,134.15 84.08,132.18 84,130.17 84,128.15 84,126.13 84,124.11 84,122.1 84,120.08 84,118.06 84,116.05 84,114.03 84.2,112.03 84.79,110.1 85.77,108.34 87.06,106.8 88.65,105.56 90.45,104.65 92.39,104.14"/><polygon points="145.6,104.01 147.61,104.14 149.55,104.65 151.35,105.56 152.94,106.8 154.23,108.34 155.21,110.1 155.8,112.03 156,114.03 156,116.05 156,118.06 156,120.08 156,122.1 156,124.11 156,126.13 156,128.15 156,130.17 155.92,132.18 155.49,134.15 154.66,135.98 153.49,137.62 152.01,138.98 150.29,140.03 148.39,140.7 146.4,140.99 144.39,140.86 142.45,140.35 140.65,139.44 139.06,138.2 137.77,136.66 136.79,134.9 136.2,132.97 136,130.97 136,128.95 136,126.94 136,124.92 136,122.9 136,120.89 136,118.87 136,116.85 136,114.83 136.08,112.82 136.51,110.85 137.34,109.02 138.51,107.38 139.99,106.02 141.71,104.97 143.61,104.3"/></g></g></g></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="-15 -15 258.541 258.541" width="256" height="256" role="img" aria-labelledby="title"><title id="title">limix-star-purple-curious</title><defs><radialGradient id="body" cx=".36" cy=".3" r=".82" fx=".32" fy=".22"><stop stop-color="#c6b3e6"/><stop offset=".45" stop-color="#8057C8"/><stop offset="1" stop-color="#4a3274"/></radialGradient><linearGradient id="visor" x2="0" y2="1"><stop stop-color="#24333F"/><stop offset="1" stop-color="#05090D"/></linearGradient><clipPath id="shape" transform="translate(-12.6967 -14.6012) scale(1.269672)"><path d="M62 51C70 51 75 51 83 51C88 36 101 27 122 27C134 27 145 27 156 27C178 27 190 41 190 64C190 82 190 99 190 117C190 141 176 154 153 154C143 154 132 154 121 154C116 168 104 176 84 176C71 176 58 176 44 176C21 176 10 161 10 139C10 122 10 105 10 87C10 63 26 51 49 51C53 51 58 51 62 51Z"/></clipPath><clipPath id="face"><rect x="56" y="86.5" width="128" height="72" rx="36"/></clipPath></defs><g transform="translate(-12.6967 -14.6012) scale(1.269672)"><path fill="url(#body)" d="M62 51C70 51 75 51 83 51C88 36 101 27 122 27C134 27 145 27 156 27C178 27 190 41 190 64C190 82 190 99 190 117C190 141 176 154 153 154C143 154 132 154 121 154C116 168 104 176 84 176C71 176 58 176 44 176C21 176 10 161 10 139C10 122 10 105 10 87C10 63 26 51 49 51C53 51 58 51 62 51Z"/></g><g clip-path="url(#shape)"><g transform="translate(136.75 114.39) scale(1) translate(-120 -122.5)"><rect x="56" y="86.5" width="128" height="72" rx="36" fill="url(#visor)" stroke="#fff" stroke-opacity=".12" stroke-width="2"/><g clip-path="url(#face)" fill="#cfbfea"><g transform="translate(120 122.5) scale(1.12) translate(-120 -122.5)"><polygon points="94.6,99.50999999999998 97.21,99.84999999999997 99.71,100.63999999999997 102.04,101.84999999999997 104.13,103.44999999999997 105.9,105.37999999999997 107.31,107.59999999999997 108.31,110.02999999999997 108.87,112.58999999999997 109,115.21999999999997 109,117.83999999999997 109,120.46999999999997 109,123.09999999999997 109,125.72999999999998 109,128.35999999999996 108.98,130.98999999999998 108.66,133.59999999999997 107.9,136.10999999999999 106.71,138.44999999999996 105.13,140.54999999999998 103.2,142.32999999999998 101,143.74999999999997 98.58,144.76999999999998 96.02,145.35999999999999 93.4,145.48999999999998 90.79,145.14999999999998 88.29,144.35999999999999 85.96,143.14999999999998 83.87,141.54999999999998 82.1,139.61999999999998 80.69,137.39999999999998 79.69,134.96999999999997 79.13,132.40999999999997 79,129.77999999999997 79,127.15999999999997 79,124.52999999999997 79,121.89999999999998 79,119.26999999999997 79,116.63999999999997 79.02,114.00999999999998 79.34,111.39999999999998 80.1,108.88999999999997 81.29,106.54999999999997 82.87,104.44999999999997 84.8,102.66999999999997 87,101.24999999999997 89.42,100.22999999999998 91.98,99.63999999999997"/><polygon points="145.4,99.50999999999998 148.02,99.63999999999997 150.58,100.22999999999998 153,101.24999999999997 155.2,102.66999999999997 157.13,104.44999999999997 158.71,106.54999999999997 159.9,108.88999999999997 160.66,111.39999999999998 160.98,114.00999999999998 161,116.63999999999997 161,119.26999999999997 161,121.89999999999998 161,124.52999999999997 161,127.15999999999997 161,129.77999999999997 160.87,132.40999999999997 160.31,134.96999999999997 159.31,137.39999999999998 157.9,139.61999999999998 156.13,141.54999999999998 154.04,143.14999999999998 151.71,144.35999999999999 149.21,145.14999999999998 146.6,145.48999999999998 143.98,145.35999999999999 141.42,144.76999999999998 139,143.74999999999997 136.8,142.32999999999998 134.87,140.54999999999998 133.29,138.44999999999996 132.1,136.10999999999999 131.34,133.59999999999997 131.02,130.98999999999998 131,128.35999999999996 131,125.72999999999998 131,123.09999999999997 131,120.46999999999997 131,117.83999999999997 131,115.21999999999997 131.13,112.58999999999997 131.69,110.02999999999997 132.69,107.59999999999997 134.1,105.37999999999997 135.87,103.44999999999997 137.96,101.84999999999997 140.29,100.63999999999997 142.79,99.84999999999997"/></g></g></g></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="-15 -15 258.541 258.541" width="256" height="256" role="img" aria-labelledby="title"><title id="title">limix-star-purple-happy</title><defs><radialGradient id="body" cx=".36" cy=".3" r=".82" fx=".32" fy=".22"><stop stop-color="#c6b3e6"/><stop offset=".45" stop-color="#8057C8"/><stop offset="1" stop-color="#4a3274"/></radialGradient><linearGradient id="visor" x2="0" y2="1"><stop stop-color="#24333F"/><stop offset="1" stop-color="#05090D"/></linearGradient><clipPath id="shape" transform="translate(-12.6967 -14.6012) scale(1.269672)"><path d="M62 51C70 51 75 51 83 51C88 36 101 27 122 27C134 27 145 27 156 27C178 27 190 41 190 64C190 82 190 99 190 117C190 141 176 154 153 154C143 154 132 154 121 154C116 168 104 176 84 176C71 176 58 176 44 176C21 176 10 161 10 139C10 122 10 105 10 87C10 63 26 51 49 51C53 51 58 51 62 51Z"/></clipPath><clipPath id="face"><rect x="56" y="86.5" width="128" height="72" rx="36"/></clipPath></defs><g transform="translate(-12.6967 -14.6012) scale(1.269672)"><path fill="url(#body)" d="M62 51C70 51 75 51 83 51C88 36 101 27 122 27C134 27 145 27 156 27C178 27 190 41 190 64C190 82 190 99 190 117C190 141 176 154 153 154C143 154 132 154 121 154C116 168 104 176 84 176C71 176 58 176 44 176C21 176 10 161 10 139C10 122 10 105 10 87C10 63 26 51 49 51C53 51 58 51 62 51Z"/></g><g clip-path="url(#shape)"><g transform="translate(136.75 114.39) scale(1) translate(-120 -122.5)"><rect x="56" y="86.5" width="128" height="72" rx="36" fill="url(#visor)" stroke="#fff" stroke-opacity=".12" stroke-width="2"/><g clip-path="url(#face)" fill="#cfbfea"><g transform="translate(120 122.5) scale(1.12) translate(-120 -122.5)"><polygon points="93.48,107.51 95.34,107.58 97.18,107.91 98.95,108.49 100.62,109.32 102.16,110.38 103.52,111.66 104.68,113.11 105.63,114.72 106.35,116.44 106.8,118.25 106.98,120.11 107,121.98 107,123.84 106.94,125.71 106.63,127.55 106.06,129.32999999999998 105.24,131 104.2,132.55 102.94,133.93 101.5,135.11 99.9,136.07 98.18,136.8 96.38,137.27 94.52,137.49 92.66,137.42 90.82,137.09 89.05,136.51 87.38,135.68 85.84,134.62 84.48,133.34 83.32,131.89 82.37,130.28 81.65,128.56 81.2,126.75 81.02,124.89 81,123.02 81,121.16 81.06,119.29 81.37,117.45 81.94,115.67 82.76,114 83.8,112.45 85.06,111.07 86.5,109.89 88.1,108.93 89.82,108.2 91.62,107.73"/><polygon points="145.48,107.51 147.34,107.58 149.18,107.91 150.95,108.49 152.62,109.32 154.16,110.38 155.52,111.66 156.68,113.11 157.63,114.72 158.35,116.44 158.8,118.25 158.98,120.11 159,121.98 159,123.84 158.94,125.71 158.63,127.55 158.06,129.32999999999998 157.24,131 156.2,132.55 154.94,133.93 153.5,135.11 151.9,136.07 150.18,136.8 148.38,137.27 146.52,137.49 144.66,137.42 142.82,137.09 141.05,136.51 139.38,135.68 137.84,134.62 136.48,133.34 135.32,131.89 134.37,130.28 133.65,128.56 133.2,126.75 133.02,124.89 133,123.02 133,121.16 133.06,119.29 133.37,117.45 133.94,115.67 134.76,114 135.8,112.45 137.06,111.07 138.5,109.89 140.1,108.93 141.82,108.2 143.62,107.73"/></g></g></g></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="-15 -15 258.541 258.541" width="256" height="256" role="img" aria-labelledby="title"><title id="title">limix-star-purple-idle</title><defs><radialGradient id="body" cx=".36" cy=".3" r=".82" fx=".32" fy=".22"><stop stop-color="#c6b3e6"/><stop offset=".45" stop-color="#8057C8"/><stop offset="1" stop-color="#4a3274"/></radialGradient><linearGradient id="visor" x2="0" y2="1"><stop stop-color="#24333F"/><stop offset="1" stop-color="#05090D"/></linearGradient><clipPath id="shape" transform="translate(-12.6967 -14.6012) scale(1.269672)"><path d="M62 51C70 51 75 51 83 51C88 36 101 27 122 27C134 27 145 27 156 27C178 27 190 41 190 64C190 82 190 99 190 117C190 141 176 154 153 154C143 154 132 154 121 154C116 168 104 176 84 176C71 176 58 176 44 176C21 176 10 161 10 139C10 122 10 105 10 87C10 63 26 51 49 51C53 51 58 51 62 51Z"/></clipPath><clipPath id="face"><rect x="56" y="86.5" width="128" height="72" rx="36"/></clipPath></defs><g transform="translate(-12.6967 -14.6012) scale(1.269672)"><path fill="url(#body)" d="M62 51C70 51 75 51 83 51C88 36 101 27 122 27C134 27 145 27 156 27C178 27 190 41 190 64C190 82 190 99 190 117C190 141 176 154 153 154C143 154 132 154 121 154C116 168 104 176 84 176C71 176 58 176 44 176C21 176 10 161 10 139C10 122 10 105 10 87C10 63 26 51 49 51C53 51 58 51 62 51Z"/></g><g clip-path="url(#shape)"><g transform="translate(136.75 114.39) scale(1) translate(-120 -122.5)"><rect x="56" y="86.5" width="128" height="72" rx="36" fill="url(#visor)" stroke="#fff" stroke-opacity=".12" stroke-width="2"/><g clip-path="url(#face)" fill="#cfbfea"><g transform="translate(120 122.5) scale(1.12) translate(-120 -122.5)"><polygon points="94.4,104.01 96.39,104.3 98.29,104.97 100.01,106.02 101.49,107.38 102.66,109.02 103.49,110.85 103.92,112.82 104,114.83 104,116.85 104,118.87 104,120.89 104,122.9 104,124.92 104,126.94 104,128.95 104,130.97 103.8,132.97 103.21,134.9 102.23,136.66 100.94,138.2 99.35,139.44 97.55,140.35 95.61,140.86 93.6,140.99 91.61,140.7 89.71,140.03 87.99,138.98 86.51,137.62 85.34,135.98 84.51,134.15 84.08,132.18 84,130.17 84,128.15 84,126.13 84,124.11 84,122.1 84,120.08 84,118.06 84,116.05 84,114.03 84.2,112.03 84.79,110.1 85.77,108.34 87.06,106.8 88.65,105.56 90.45,104.65 92.39,104.14"/><polygon points="145.6,104.01 147.61,104.14 149.55,104.65 151.35,105.56 152.94,106.8 154.23,108.34 155.21,110.1 155.8,112.03 156,114.03 156,116.05 156,118.06 156,120.08 156,122.1 156,124.11 156,126.13 156,128.15 156,130.17 155.92,132.18 155.49,134.15 154.66,135.98 153.49,137.62 152.01,138.98 150.29,140.03 148.39,140.7 146.4,140.99 144.39,140.86 142.45,140.35 140.65,139.44 139.06,138.2 137.77,136.66 136.79,134.9 136.2,132.97 136,130.97 136,128.95 136,126.94 136,124.92 136,122.9 136,120.89 136,118.87 136,116.85 136,114.83 136.08,112.82 136.51,110.85 137.34,109.02 138.51,107.38 139.99,106.02 141.71,104.97 143.61,104.3"/></g></g></g></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="-15 -15 258.541 258.541" width="256" height="256" role="img" aria-labelledby="title"><title id="title">limix-star-red-curious</title><defs><radialGradient id="body" cx=".36" cy=".3" r=".82" fx=".32" fy=".22"><stop stop-color="#eeaeb1"/><stop offset=".45" stop-color="#D94B52"/><stop offset="1" stop-color="#7e2c30"/></radialGradient><linearGradient id="visor" x2="0" y2="1"><stop stop-color="#24333F"/><stop offset="1" stop-color="#05090D"/></linearGradient><clipPath id="shape" transform="translate(-12.6967 -14.6012) scale(1.269672)"><path d="M62 51C70 51 75 51 83 51C88 36 101 27 122 27C134 27 145 27 156 27C178 27 190 41 190 64C190 82 190 99 190 117C190 141 176 154 153 154C143 154 132 154 121 154C116 168 104 176 84 176C71 176 58 176 44 176C21 176 10 161 10 139C10 122 10 105 10 87C10 63 26 51 49 51C53 51 58 51 62 51Z"/></clipPath><clipPath id="face"><rect x="56" y="86.5" width="128" height="72" rx="36"/></clipPath></defs><g transform="translate(-12.6967 -14.6012) scale(1.269672)"><path fill="url(#body)" d="M62 51C70 51 75 51 83 51C88 36 101 27 122 27C134 27 145 27 156 27C178 27 190 41 190 64C190 82 190 99 190 117C190 141 176 154 153 154C143 154 132 154 121 154C116 168 104 176 84 176C71 176 58 176 44 176C21 176 10 161 10 139C10 122 10 105 10 87C10 63 26 51 49 51C53 51 58 51 62 51Z"/></g><g clip-path="url(#shape)"><g transform="translate(136.75 114.39) scale(1) translate(-120 -122.5)"><rect x="56" y="86.5" width="128" height="72" rx="36" fill="url(#visor)" stroke="#fff" stroke-opacity=".12" stroke-width="2"/><g clip-path="url(#face)" fill="#f1bbbd"><g transform="translate(120 122.5) scale(1.12) translate(-120 -122.5)"><polygon points="94.6,99.50999999999998 97.21,99.84999999999997 99.71,100.63999999999997 102.04,101.84999999999997 104.13,103.44999999999997 105.9,105.37999999999997 107.31,107.59999999999997 108.31,110.02999999999997 108.87,112.58999999999997 109,115.21999999999997 109,117.83999999999997 109,120.46999999999997 109,123.09999999999997 109,125.72999999999998 109,128.35999999999996 108.98,130.98999999999998 108.66,133.59999999999997 107.9,136.10999999999999 106.71,138.44999999999996 105.13,140.54999999999998 103.2,142.32999999999998 101,143.74999999999997 98.58,144.76999999999998 96.02,145.35999999999999 93.4,145.48999999999998 90.79,145.14999999999998 88.29,144.35999999999999 85.96,143.14999999999998 83.87,141.54999999999998 82.1,139.61999999999998 80.69,137.39999999999998 79.69,134.96999999999997 79.13,132.40999999999997 79,129.77999999999997 79,127.15999999999997 79,124.52999999999997 79,121.89999999999998 79,119.26999999999997 79,116.63999999999997 79.02,114.00999999999998 79.34,111.39999999999998 80.1,108.88999999999997 81.29,106.54999999999997 82.87,104.44999999999997 84.8,102.66999999999997 87,101.24999999999997 89.42,100.22999999999998 91.98,99.63999999999997"/><polygon points="145.4,99.50999999999998 148.02,99.63999999999997 150.58,100.22999999999998 153,101.24999999999997 155.2,102.66999999999997 157.13,104.44999999999997 158.71,106.54999999999997 159.9,108.88999999999997 160.66,111.39999999999998 160.98,114.00999999999998 161,116.63999999999997 161,119.26999999999997 161,121.89999999999998 161,124.52999999999997 161,127.15999999999997 161,129.77999999999997 160.87,132.40999999999997 160.31,134.96999999999997 159.31,137.39999999999998 157.9,139.61999999999998 156.13,141.54999999999998 154.04,143.14999999999998 151.71,144.35999999999999 149.21,145.14999999999998 146.6,145.48999999999998 143.98,145.35999999999999 141.42,144.76999999999998 139,143.74999999999997 136.8,142.32999999999998 134.87,140.54999999999998 133.29,138.44999999999996 132.1,136.10999999999999 131.34,133.59999999999997 131.02,130.98999999999998 131,128.35999999999996 131,125.72999999999998 131,123.09999999999997 131,120.46999999999997 131,117.83999999999997 131,115.21999999999997 131.13,112.58999999999997 131.69,110.02999999999997 132.69,107.59999999999997 134.1,105.37999999999997 135.87,103.44999999999997 137.96,101.84999999999997 140.29,100.63999999999997 142.79,99.84999999999997"/></g></g></g></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="-15 -15 258.541 258.541" width="256" height="256" role="img" aria-labelledby="title"><title id="title">limix-star-red-happy</title><defs><radialGradient id="body" cx=".36" cy=".3" r=".82" fx=".32" fy=".22"><stop stop-color="#eeaeb1"/><stop offset=".45" stop-color="#D94B52"/><stop offset="1" stop-color="#7e2c30"/></radialGradient><linearGradient id="visor" x2="0" y2="1"><stop stop-color="#24333F"/><stop offset="1" stop-color="#05090D"/></linearGradient><clipPath id="shape" transform="translate(-12.6967 -14.6012) scale(1.269672)"><path d="M62 51C70 51 75 51 83 51C88 36 101 27 122 27C134 27 145 27 156 27C178 27 190 41 190 64C190 82 190 99 190 117C190 141 176 154 153 154C143 154 132 154 121 154C116 168 104 176 84 176C71 176 58 176 44 176C21 176 10 161 10 139C10 122 10 105 10 87C10 63 26 51 49 51C53 51 58 51 62 51Z"/></clipPath><clipPath id="face"><rect x="56" y="86.5" width="128" height="72" rx="36"/></clipPath></defs><g transform="translate(-12.6967 -14.6012) scale(1.269672)"><path fill="url(#body)" d="M62 51C70 51 75 51 83 51C88 36 101 27 122 27C134 27 145 27 156 27C178 27 190 41 190 64C190 82 190 99 190 117C190 141 176 154 153 154C143 154 132 154 121 154C116 168 104 176 84 176C71 176 58 176 44 176C21 176 10 161 10 139C10 122 10 105 10 87C10 63 26 51 49 51C53 51 58 51 62 51Z"/></g><g clip-path="url(#shape)"><g transform="translate(136.75 114.39) scale(1) translate(-120 -122.5)"><rect x="56" y="86.5" width="128" height="72" rx="36" fill="url(#visor)" stroke="#fff" stroke-opacity=".12" stroke-width="2"/><g clip-path="url(#face)" fill="#f1bbbd"><g transform="translate(120 122.5) scale(1.12) translate(-120 -122.5)"><polygon points="93.48,107.51 95.34,107.58 97.18,107.91 98.95,108.49 100.62,109.32 102.16,110.38 103.52,111.66 104.68,113.11 105.63,114.72 106.35,116.44 106.8,118.25 106.98,120.11 107,121.98 107,123.84 106.94,125.71 106.63,127.55 106.06,129.32999999999998 105.24,131 104.2,132.55 102.94,133.93 101.5,135.11 99.9,136.07 98.18,136.8 96.38,137.27 94.52,137.49 92.66,137.42 90.82,137.09 89.05,136.51 87.38,135.68 85.84,134.62 84.48,133.34 83.32,131.89 82.37,130.28 81.65,128.56 81.2,126.75 81.02,124.89 81,123.02 81,121.16 81.06,119.29 81.37,117.45 81.94,115.67 82.76,114 83.8,112.45 85.06,111.07 86.5,109.89 88.1,108.93 89.82,108.2 91.62,107.73"/><polygon points="145.48,107.51 147.34,107.58 149.18,107.91 150.95,108.49 152.62,109.32 154.16,110.38 155.52,111.66 156.68,113.11 157.63,114.72 158.35,116.44 158.8,118.25 158.98,120.11 159,121.98 159,123.84 158.94,125.71 158.63,127.55 158.06,129.32999999999998 157.24,131 156.2,132.55 154.94,133.93 153.5,135.11 151.9,136.07 150.18,136.8 148.38,137.27 146.52,137.49 144.66,137.42 142.82,137.09 141.05,136.51 139.38,135.68 137.84,134.62 136.48,133.34 135.32,131.89 134.37,130.28 133.65,128.56 133.2,126.75 133.02,124.89 133,123.02 133,121.16 133.06,119.29 133.37,117.45 133.94,115.67 134.76,114 135.8,112.45 137.06,111.07 138.5,109.89 140.1,108.93 141.82,108.2 143.62,107.73"/></g></g></g></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="-15 -15 258.541 258.541" width="256" height="256" role="img" aria-labelledby="title"><title id="title">limix-star-red-idle</title><defs><radialGradient id="body" cx=".36" cy=".3" r=".82" fx=".32" fy=".22"><stop stop-color="#eeaeb1"/><stop offset=".45" stop-color="#D94B52"/><stop offset="1" stop-color="#7e2c30"/></radialGradient><linearGradient id="visor" x2="0" y2="1"><stop stop-color="#24333F"/><stop offset="1" stop-color="#05090D"/></linearGradient><clipPath id="shape" transform="translate(-12.6967 -14.6012) scale(1.269672)"><path d="M62 51C70 51 75 51 83 51C88 36 101 27 122 27C134 27 145 27 156 27C178 27 190 41 190 64C190 82 190 99 190 117C190 141 176 154 153 154C143 154 132 154 121 154C116 168 104 176 84 176C71 176 58 176 44 176C21 176 10 161 10 139C10 122 10 105 10 87C10 63 26 51 49 51C53 51 58 51 62 51Z"/></clipPath><clipPath id="face"><rect x="56" y="86.5" width="128" height="72" rx="36"/></clipPath></defs><g transform="translate(-12.6967 -14.6012) scale(1.269672)"><path fill="url(#body)" d="M62 51C70 51 75 51 83 51C88 36 101 27 122 27C134 27 145 27 156 27C178 27 190 41 190 64C190 82 190 99 190 117C190 141 176 154 153 154C143 154 132 154 121 154C116 168 104 176 84 176C71 176 58 176 44 176C21 176 10 161 10 139C10 122 10 105 10 87C10 63 26 51 49 51C53 51 58 51 62 51Z"/></g><g clip-path="url(#shape)"><g transform="translate(136.75 114.39) scale(1) translate(-120 -122.5)"><rect x="56" y="86.5" width="128" height="72" rx="36" fill="url(#visor)" stroke="#fff" stroke-opacity=".12" stroke-width="2"/><g clip-path="url(#face)" fill="#f1bbbd"><g transform="translate(120 122.5) scale(1.12) translate(-120 -122.5)"><polygon points="94.4,104.01 96.39,104.3 98.29,104.97 100.01,106.02 101.49,107.38 102.66,109.02 103.49,110.85 103.92,112.82 104,114.83 104,116.85 104,118.87 104,120.89 104,122.9 104,124.92 104,126.94 104,128.95 104,130.97 103.8,132.97 103.21,134.9 102.23,136.66 100.94,138.2 99.35,139.44 97.55,140.35 95.61,140.86 93.6,140.99 91.61,140.7 89.71,140.03 87.99,138.98 86.51,137.62 85.34,135.98 84.51,134.15 84.08,132.18 84,130.17 84,128.15 84,126.13 84,124.11 84,122.1 84,120.08 84,118.06 84,116.05 84,114.03 84.2,112.03 84.79,110.1 85.77,108.34 87.06,106.8 88.65,105.56 90.45,104.65 92.39,104.14"/><polygon points="145.6,104.01 147.61,104.14 149.55,104.65 151.35,105.56 152.94,106.8 154.23,108.34 155.21,110.1 155.8,112.03 156,114.03 156,116.05 156,118.06 156,120.08 156,122.1 156,124.11 156,126.13 156,128.15 156,130.17 155.92,132.18 155.49,134.15 154.66,135.98 153.49,137.62 152.01,138.98 150.29,140.03 148.39,140.7 146.4,140.99 144.39,140.86 142.45,140.35 140.65,139.44 139.06,138.2 137.77,136.66 136.79,134.9 136.2,132.97 136,130.97 136,128.95 136,126.94 136,124.92 136,122.9 136,120.89 136,118.87 136,116.85 136,114.83 136.08,112.82 136.51,110.85 137.34,109.02 138.51,107.38 139.99,106.02 141.71,104.97 143.61,104.3"/></g></g></g></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="-15 -15 258.541 258.541" width="256" height="256" role="img" aria-labelledby="title"><title id="title">limix-star-teal-curious</title><defs><radialGradient id="body" cx=".36" cy=".3" r=".82" fx=".32" fy=".22"><stop stop-color="#8dd6ce"/><stop offset=".45" stop-color="#01A492"/><stop offset="1" stop-color="#015f55"/></radialGradient><linearGradient id="visor" x2="0" y2="1"><stop stop-color="#24333F"/><stop offset="1" stop-color="#05090D"/></linearGradient><clipPath id="shape" transform="translate(-12.6967 -14.6012) scale(1.269672)"><path d="M62 51C70 51 75 51 83 51C88 36 101 27 122 27C134 27 145 27 156 27C178 27 190 41 190 64C190 82 190 99 190 117C190 141 176 154 153 154C143 154 132 154 121 154C116 168 104 176 84 176C71 176 58 176 44 176C21 176 10 161 10 139C10 122 10 105 10 87C10 63 26 51 49 51C53 51 58 51 62 51Z"/></clipPath><clipPath id="face"><rect x="56" y="86.5" width="128" height="72" rx="36"/></clipPath></defs><g transform="translate(-12.6967 -14.6012) scale(1.269672)"><path fill="url(#body)" d="M62 51C70 51 75 51 83 51C88 36 101 27 122 27C134 27 145 27 156 27C178 27 190 41 190 64C190 82 190 99 190 117C190 141 176 154 153 154C143 154 132 154 121 154C116 168 104 176 84 176C71 176 58 176 44 176C21 176 10 161 10 139C10 122 10 105 10 87C10 63 26 51 49 51C53 51 58 51 62 51Z"/></g><g clip-path="url(#shape)"><g transform="translate(136.75 114.39) scale(1) translate(-120 -122.5)"><rect x="56" y="86.5" width="128" height="72" rx="36" fill="url(#visor)" stroke="#fff" stroke-opacity=".12" stroke-width="2"/><g clip-path="url(#face)" fill="#9edcd6"><g transform="translate(120 122.5) scale(1.12) translate(-120 -122.5)"><polygon points="94.6,99.50999999999998 97.21,99.84999999999997 99.71,100.63999999999997 102.04,101.84999999999997 104.13,103.44999999999997 105.9,105.37999999999997 107.31,107.59999999999997 108.31,110.02999999999997 108.87,112.58999999999997 109,115.21999999999997 109,117.83999999999997 109,120.46999999999997 109,123.09999999999997 109,125.72999999999998 109,128.35999999999996 108.98,130.98999999999998 108.66,133.59999999999997 107.9,136.10999999999999 106.71,138.44999999999996 105.13,140.54999999999998 103.2,142.32999999999998 101,143.74999999999997 98.58,144.76999999999998 96.02,145.35999999999999 93.4,145.48999999999998 90.79,145.14999999999998 88.29,144.35999999999999 85.96,143.14999999999998 83.87,141.54999999999998 82.1,139.61999999999998 80.69,137.39999999999998 79.69,134.96999999999997 79.13,132.40999999999997 79,129.77999999999997 79,127.15999999999997 79,124.52999999999997 79,121.89999999999998 79,119.26999999999997 79,116.63999999999997 79.02,114.00999999999998 79.34,111.39999999999998 80.1,108.88999999999997 81.29,106.54999999999997 82.87,104.44999999999997 84.8,102.66999999999997 87,101.24999999999997 89.42,100.22999999999998 91.98,99.63999999999997"/><polygon points="145.4,99.50999999999998 148.02,99.63999999999997 150.58,100.22999999999998 153,101.24999999999997 155.2,102.66999999999997 157.13,104.44999999999997 158.71,106.54999999999997 159.9,108.88999999999997 160.66,111.39999999999998 160.98,114.00999999999998 161,116.63999999999997 161,119.26999999999997 161,121.89999999999998 161,124.52999999999997 161,127.15999999999997 161,129.77999999999997 160.87,132.40999999999997 160.31,134.96999999999997 159.31,137.39999999999998 157.9,139.61999999999998 156.13,141.54999999999998 154.04,143.14999999999998 151.71,144.35999999999999 149.21,145.14999999999998 146.6,145.48999999999998 143.98,145.35999999999999 141.42,144.76999999999998 139,143.74999999999997 136.8,142.32999999999998 134.87,140.54999999999998 133.29,138.44999999999996 132.1,136.10999999999999 131.34,133.59999999999997 131.02,130.98999999999998 131,128.35999999999996 131,125.72999999999998 131,123.09999999999997 131,120.46999999999997 131,117.83999999999997 131,115.21999999999997 131.13,112.58999999999997 131.69,110.02999999999997 132.69,107.59999999999997 134.1,105.37999999999997 135.87,103.44999999999997 137.96,101.84999999999997 140.29,100.63999999999997 142.79,99.84999999999997"/></g></g></g></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="-15 -15 258.541 258.541" width="256" height="256" role="img" aria-labelledby="title"><title id="title">limix-star-teal-happy</title><defs><radialGradient id="body" cx=".36" cy=".3" r=".82" fx=".32" fy=".22"><stop stop-color="#8dd6ce"/><stop offset=".45" stop-color="#01A492"/><stop offset="1" stop-color="#015f55"/></radialGradient><linearGradient id="visor" x2="0" y2="1"><stop stop-color="#24333F"/><stop offset="1" stop-color="#05090D"/></linearGradient><clipPath id="shape" transform="translate(-12.6967 -14.6012) scale(1.269672)"><path d="M62 51C70 51 75 51 83 51C88 36 101 27 122 27C134 27 145 27 156 27C178 27 190 41 190 64C190 82 190 99 190 117C190 141 176 154 153 154C143 154 132 154 121 154C116 168 104 176 84 176C71 176 58 176 44 176C21 176 10 161 10 139C10 122 10 105 10 87C10 63 26 51 49 51C53 51 58 51 62 51Z"/></clipPath><clipPath id="face"><rect x="56" y="86.5" width="128" height="72" rx="36"/></clipPath></defs><g transform="translate(-12.6967 -14.6012) scale(1.269672)"><path fill="url(#body)" d="M62 51C70 51 75 51 83 51C88 36 101 27 122 27C134 27 145 27 156 27C178 27 190 41 190 64C190 82 190 99 190 117C190 141 176 154 153 154C143 154 132 154 121 154C116 168 104 176 84 176C71 176 58 176 44 176C21 176 10 161 10 139C10 122 10 105 10 87C10 63 26 51 49 51C53 51 58 51 62 51Z"/></g><g clip-path="url(#shape)"><g transform="translate(136.75 114.39) scale(1) translate(-120 -122.5)"><rect x="56" y="86.5" width="128" height="72" rx="36" fill="url(#visor)" stroke="#fff" stroke-opacity=".12" stroke-width="2"/><g clip-path="url(#face)" fill="#9edcd6"><g transform="translate(120 122.5) scale(1.12) translate(-120 -122.5)"><polygon points="93.48,107.51 95.34,107.58 97.18,107.91 98.95,108.49 100.62,109.32 102.16,110.38 103.52,111.66 104.68,113.11 105.63,114.72 106.35,116.44 106.8,118.25 106.98,120.11 107,121.98 107,123.84 106.94,125.71 106.63,127.55 106.06,129.32999999999998 105.24,131 104.2,132.55 102.94,133.93 101.5,135.11 99.9,136.07 98.18,136.8 96.38,137.27 94.52,137.49 92.66,137.42 90.82,137.09 89.05,136.51 87.38,135.68 85.84,134.62 84.48,133.34 83.32,131.89 82.37,130.28 81.65,128.56 81.2,126.75 81.02,124.89 81,123.02 81,121.16 81.06,119.29 81.37,117.45 81.94,115.67 82.76,114 83.8,112.45 85.06,111.07 86.5,109.89 88.1,108.93 89.82,108.2 91.62,107.73"/><polygon points="145.48,107.51 147.34,107.58 149.18,107.91 150.95,108.49 152.62,109.32 154.16,110.38 155.52,111.66 156.68,113.11 157.63,114.72 158.35,116.44 158.8,118.25 158.98,120.11 159,121.98 159,123.84 158.94,125.71 158.63,127.55 158.06,129.32999999999998 157.24,131 156.2,132.55 154.94,133.93 153.5,135.11 151.9,136.07 150.18,136.8 148.38,137.27 146.52,137.49 144.66,137.42 142.82,137.09 141.05,136.51 139.38,135.68 137.84,134.62 136.48,133.34 135.32,131.89 134.37,130.28 133.65,128.56 133.2,126.75 133.02,124.89 133,123.02 133,121.16 133.06,119.29 133.37,117.45 133.94,115.67 134.76,114 135.8,112.45 137.06,111.07 138.5,109.89 140.1,108.93 141.82,108.2 143.62,107.73"/></g></g></g></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="-15 -15 258.541 258.541" width="256" height="256" role="img" aria-labelledby="title"><title id="title">limix-star-teal-idle</title><defs><radialGradient id="body" cx=".36" cy=".3" r=".82" fx=".32" fy=".22"><stop stop-color="#8dd6ce"/><stop offset=".45" stop-color="#01A492"/><stop offset="1" stop-color="#015f55"/></radialGradient><linearGradient id="visor" x2="0" y2="1"><stop stop-color="#24333F"/><stop offset="1" stop-color="#05090D"/></linearGradient><clipPath id="shape" transform="translate(-12.6967 -14.6012) scale(1.269672)"><path d="M62 51C70 51 75 51 83 51C88 36 101 27 122 27C134 27 145 27 156 27C178 27 190 41 190 64C190 82 190 99 190 117C190 141 176 154 153 154C143 154 132 154 121 154C116 168 104 176 84 176C71 176 58 176 44 176C21 176 10 161 10 139C10 122 10 105 10 87C10 63 26 51 49 51C53 51 58 51 62 51Z"/></clipPath><clipPath id="face"><rect x="56" y="86.5" width="128" height="72" rx="36"/></clipPath></defs><g transform="translate(-12.6967 -14.6012) scale(1.269672)"><path fill="url(#body)" d="M62 51C70 51 75 51 83 51C88 36 101 27 122 27C134 27 145 27 156 27C178 27 190 41 190 64C190 82 190 99 190 117C190 141 176 154 153 154C143 154 132 154 121 154C116 168 104 176 84 176C71 176 58 176 44 176C21 176 10 161 10 139C10 122 10 105 10 87C10 63 26 51 49 51C53 51 58 51 62 51Z"/></g><g clip-path="url(#shape)"><g transform="translate(136.75 114.39) scale(1) translate(-120 -122.5)"><rect x="56" y="86.5" width="128" height="72" rx="36" fill="url(#visor)" stroke="#fff" stroke-opacity=".12" stroke-width="2"/><g clip-path="url(#face)" fill="#9edcd6"><g transform="translate(120 122.5) scale(1.12) translate(-120 -122.5)"><polygon points="94.4,104.01 96.39,104.3 98.29,104.97 100.01,106.02 101.49,107.38 102.66,109.02 103.49,110.85 103.92,112.82 104,114.83 104,116.85 104,118.87 104,120.89 104,122.9 104,124.92 104,126.94 104,128.95 104,130.97 103.8,132.97 103.21,134.9 102.23,136.66 100.94,138.2 99.35,139.44 97.55,140.35 95.61,140.86 93.6,140.99 91.61,140.7 89.71,140.03 87.99,138.98 86.51,137.62 85.34,135.98 84.51,134.15 84.08,132.18 84,130.17 84,128.15 84,126.13 84,124.11 84,122.1 84,120.08 84,118.06 84,116.05 84,114.03 84.2,112.03 84.79,110.1 85.77,108.34 87.06,106.8 88.65,105.56 90.45,104.65 92.39,104.14"/><polygon points="145.6,104.01 147.61,104.14 149.55,104.65 151.35,105.56 152.94,106.8 154.23,108.34 155.21,110.1 155.8,112.03 156,114.03 156,116.05 156,118.06 156,120.08 156,122.1 156,124.11 156,126.13 156,128.15 156,130.17 155.92,132.18 155.49,134.15 154.66,135.98 153.49,137.62 152.01,138.98 150.29,140.03 148.39,140.7 146.4,140.99 144.39,140.86 142.45,140.35 140.65,139.44 139.06,138.2 137.77,136.66 136.79,134.9 136.2,132.97 136,130.97 136,128.95 136,126.94 136,124.92 136,122.9 136,120.89 136,118.87 136,116.85 136,114.83 136.08,112.82 136.51,110.85 137.34,109.02 138.51,107.38 139.99,106.02 141.71,104.97 143.61,104.3"/></g></g></g></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="-15 -15 258.541 258.541" width="256" height="256" role="img" aria-labelledby="title"><title id="title">limix-star-yellow-curious</title><defs><radialGradient id="body" cx=".36" cy=".3" r=".82" fx=".32" fy=".22"><stop stop-color="#edd79f"/><stop offset=".45" stop-color="#D8A729"/><stop offset="1" stop-color="#7d6118"/></radialGradient><linearGradient id="visor" x2="0" y2="1"><stop stop-color="#24333F"/><stop offset="1" stop-color="#05090D"/></linearGradient><clipPath id="shape" transform="translate(-12.6967 -14.6012) scale(1.269672)"><path d="M62 51C70 51 75 51 83 51C88 36 101 27 122 27C134 27 145 27 156 27C178 27 190 41 190 64C190 82 190 99 190 117C190 141 176 154 153 154C143 154 132 154 121 154C116 168 104 176 84 176C71 176 58 176 44 176C21 176 10 161 10 139C10 122 10 105 10 87C10 63 26 51 49 51C53 51 58 51 62 51Z"/></clipPath><clipPath id="face"><rect x="56" y="86.5" width="128" height="72" rx="36"/></clipPath></defs><g transform="translate(-12.6967 -14.6012) scale(1.269672)"><path fill="url(#body)" d="M62 51C70 51 75 51 83 51C88 36 101 27 122 27C134 27 145 27 156 27C178 27 190 41 190 64C190 82 190 99 190 117C190 141 176 154 153 154C143 154 132 154 121 154C116 168 104 176 84 176C71 176 58 176 44 176C21 176 10 161 10 139C10 122 10 105 10 87C10 63 26 51 49 51C53 51 58 51 62 51Z"/></g><g clip-path="url(#shape)"><g transform="translate(136.75 114.39) scale(1) translate(-120 -122.5)"><rect x="56" y="86.5" width="128" height="72" rx="36" fill="url(#visor)" stroke="#fff" stroke-opacity=".12" stroke-width="2"/><g clip-path="url(#face)" fill="#f0deae"><g transform="translate(120 122.5) scale(1.12) translate(-120 -122.5)"><polygon points="94.6,99.50999999999998 97.21,99.84999999999997 99.71,100.63999999999997 102.04,101.84999999999997 104.13,103.44999999999997 105.9,105.37999999999997 107.31,107.59999999999997 108.31,110.02999999999997 108.87,112.58999999999997 109,115.21999999999997 109,117.83999999999997 109,120.46999999999997 109,123.09999999999997 109,125.72999999999998 109,128.35999999999996 108.98,130.98999999999998 108.66,133.59999999999997 107.9,136.10999999999999 106.71,138.44999999999996 105.13,140.54999999999998 103.2,142.32999999999998 101,143.74999999999997 98.58,144.76999999999998 96.02,145.35999999999999 93.4,145.48999999999998 90.79,145.14999999999998 88.29,144.35999999999999 85.96,143.14999999999998 83.87,141.54999999999998 82.1,139.61999999999998 80.69,137.39999999999998 79.69,134.96999999999997 79.13,132.40999999999997 79,129.77999999999997 79,127.15999999999997 79,124.52999999999997 79,121.89999999999998 79,119.26999999999997 79,116.63999999999997 79.02,114.00999999999998 79.34,111.39999999999998 80.1,108.88999999999997 81.29,106.54999999999997 82.87,104.44999999999997 84.8,102.66999999999997 87,101.24999999999997 89.42,100.22999999999998 91.98,99.63999999999997"/><polygon points="145.4,99.50999999999998 148.02,99.63999999999997 150.58,100.22999999999998 153,101.24999999999997 155.2,102.66999999999997 157.13,104.44999999999997 158.71,106.54999999999997 159.9,108.88999999999997 160.66,111.39999999999998 160.98,114.00999999999998 161,116.63999999999997 161,119.26999999999997 161,121.89999999999998 161,124.52999999999997 161,127.15999999999997 161,129.77999999999997 160.87,132.40999999999997 160.31,134.96999999999997 159.31,137.39999999999998 157.9,139.61999999999998 156.13,141.54999999999998 154.04,143.14999999999998 151.71,144.35999999999999 149.21,145.14999999999998 146.6,145.48999999999998 143.98,145.35999999999999 141.42,144.76999999999998 139,143.74999999999997 136.8,142.32999999999998 134.87,140.54999999999998 133.29,138.44999999999996 132.1,136.10999999999999 131.34,133.59999999999997 131.02,130.98999999999998 131,128.35999999999996 131,125.72999999999998 131,123.09999999999997 131,120.46999999999997 131,117.83999999999997 131,115.21999999999997 131.13,112.58999999999997 131.69,110.02999999999997 132.69,107.59999999999997 134.1,105.37999999999997 135.87,103.44999999999997 137.96,101.84999999999997 140.29,100.63999999999997 142.79,99.84999999999997"/></g></g></g></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="-15 -15 258.541 258.541" width="256" height="256" role="img" aria-labelledby="title"><title id="title">limix-star-yellow-happy</title><defs><radialGradient id="body" cx=".36" cy=".3" r=".82" fx=".32" fy=".22"><stop stop-color="#edd79f"/><stop offset=".45" stop-color="#D8A729"/><stop offset="1" stop-color="#7d6118"/></radialGradient><linearGradient id="visor" x2="0" y2="1"><stop stop-color="#24333F"/><stop offset="1" stop-color="#05090D"/></linearGradient><clipPath id="shape" transform="translate(-12.6967 -14.6012) scale(1.269672)"><path d="M62 51C70 51 75 51 83 51C88 36 101 27 122 27C134 27 145 27 156 27C178 27 190 41 190 64C190 82 190 99 190 117C190 141 176 154 153 154C143 154 132 154 121 154C116 168 104 176 84 176C71 176 58 176 44 176C21 176 10 161 10 139C10 122 10 105 10 87C10 63 26 51 49 51C53 51 58 51 62 51Z"/></clipPath><clipPath id="face"><rect x="56" y="86.5" width="128" height="72" rx="36"/></clipPath></defs><g transform="translate(-12.6967 -14.6012) scale(1.269672)"><path fill="url(#body)" d="M62 51C70 51 75 51 83 51C88 36 101 27 122 27C134 27 145 27 156 27C178 27 190 41 190 64C190 82 190 99 190 117C190 141 176 154 153 154C143 154 132 154 121 154C116 168 104 176 84 176C71 176 58 176 44 176C21 176 10 161 10 139C10 122 10 105 10 87C10 63 26 51 49 51C53 51 58 51 62 51Z"/></g><g clip-path="url(#shape)"><g transform="translate(136.75 114.39) scale(1) translate(-120 -122.5)"><rect x="56" y="86.5" width="128" height="72" rx="36" fill="url(#visor)" stroke="#fff" stroke-opacity=".12" stroke-width="2"/><g clip-path="url(#face)" fill="#f0deae"><g transform="translate(120 122.5) scale(1.12) translate(-120 -122.5)"><polygon points="93.48,107.51 95.34,107.58 97.18,107.91 98.95,108.49 100.62,109.32 102.16,110.38 103.52,111.66 104.68,113.11 105.63,114.72 106.35,116.44 106.8,118.25 106.98,120.11 107,121.98 107,123.84 106.94,125.71 106.63,127.55 106.06,129.32999999999998 105.24,131 104.2,132.55 102.94,133.93 101.5,135.11 99.9,136.07 98.18,136.8 96.38,137.27 94.52,137.49 92.66,137.42 90.82,137.09 89.05,136.51 87.38,135.68 85.84,134.62 84.48,133.34 83.32,131.89 82.37,130.28 81.65,128.56 81.2,126.75 81.02,124.89 81,123.02 81,121.16 81.06,119.29 81.37,117.45 81.94,115.67 82.76,114 83.8,112.45 85.06,111.07 86.5,109.89 88.1,108.93 89.82,108.2 91.62,107.73"/><polygon points="145.48,107.51 147.34,107.58 149.18,107.91 150.95,108.49 152.62,109.32 154.16,110.38 155.52,111.66 156.68,113.11 157.63,114.72 158.35,116.44 158.8,118.25 158.98,120.11 159,121.98 159,123.84 158.94,125.71 158.63,127.55 158.06,129.32999999999998 157.24,131 156.2,132.55 154.94,133.93 153.5,135.11 151.9,136.07 150.18,136.8 148.38,137.27 146.52,137.49 144.66,137.42 142.82,137.09 141.05,136.51 139.38,135.68 137.84,134.62 136.48,133.34 135.32,131.89 134.37,130.28 133.65,128.56 133.2,126.75 133.02,124.89 133,123.02 133,121.16 133.06,119.29 133.37,117.45 133.94,115.67 134.76,114 135.8,112.45 137.06,111.07 138.5,109.89 140.1,108.93 141.82,108.2 143.62,107.73"/></g></g></g></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="-15 -15 258.541 258.541" width="256" height="256" role="img" aria-labelledby="title"><title id="title">limix-star-yellow-idle</title><defs><radialGradient id="body" cx=".36" cy=".3" r=".82" fx=".32" fy=".22"><stop stop-color="#edd79f"/><stop offset=".45" stop-color="#D8A729"/><stop offset="1" stop-color="#7d6118"/></radialGradient><linearGradient id="visor" x2="0" y2="1"><stop stop-color="#24333F"/><stop offset="1" stop-color="#05090D"/></linearGradient><clipPath id="shape" transform="translate(-12.6967 -14.6012) scale(1.269672)"><path d="M62 51C70 51 75 51 83 51C88 36 101 27 122 27C134 27 145 27 156 27C178 27 190 41 190 64C190 82 190 99 190 117C190 141 176 154 153 154C143 154 132 154 121 154C116 168 104 176 84 176C71 176 58 176 44 176C21 176 10 161 10 139C10 122 10 105 10 87C10 63 26 51 49 51C53 51 58 51 62 51Z"/></clipPath><clipPath id="face"><rect x="56" y="86.5" width="128" height="72" rx="36"/></clipPath></defs><g transform="translate(-12.6967 -14.6012) scale(1.269672)"><path fill="url(#body)" d="M62 51C70 51 75 51 83 51C88 36 101 27 122 27C134 27 145 27 156 27C178 27 190 41 190 64C190 82 190 99 190 117C190 141 176 154 153 154C143 154 132 154 121 154C116 168 104 176 84 176C71 176 58 176 44 176C21 176 10 161 10 139C10 122 10 105 10 87C10 63 26 51 49 51C53 51 58 51 62 51Z"/></g><g clip-path="url(#shape)"><g transform="translate(136.75 114.39) scale(1) translate(-120 -122.5)"><rect x="56" y="86.5" width="128" height="72" rx="36" fill="url(#visor)" stroke="#fff" stroke-opacity=".12" stroke-width="2"/><g clip-path="url(#face)" fill="#f0deae"><g transform="translate(120 122.5) scale(1.12) translate(-120 -122.5)"><polygon points="94.4,104.01 96.39,104.3 98.29,104.97 100.01,106.02 101.49,107.38 102.66,109.02 103.49,110.85 103.92,112.82 104,114.83 104,116.85 104,118.87 104,120.89 104,122.9 104,124.92 104,126.94 104,128.95 104,130.97 103.8,132.97 103.21,134.9 102.23,136.66 100.94,138.2 99.35,139.44 97.55,140.35 95.61,140.86 93.6,140.99 91.61,140.7 89.71,140.03 87.99,138.98 86.51,137.62 85.34,135.98 84.51,134.15 84.08,132.18 84,130.17 84,128.15 84,126.13 84,124.11 84,122.1 84,120.08 84,118.06 84,116.05 84,114.03 84.2,112.03 84.79,110.1 85.77,108.34 87.06,106.8 88.65,105.56 90.45,104.65 92.39,104.14"/><polygon points="145.6,104.01 147.61,104.14 149.55,104.65 151.35,105.56 152.94,106.8 154.23,108.34 155.21,110.1 155.8,112.03 156,114.03 156,116.05 156,118.06 156,120.08 156,122.1 156,124.11 156,126.13 156,128.15 156,130.17 155.92,132.18 155.49,134.15 154.66,135.98 153.49,137.62 152.01,138.98 150.29,140.03 148.39,140.7 146.4,140.99 144.39,140.86 142.45,140.35 140.65,139.44 139.06,138.2 137.77,136.66 136.79,134.9 136.2,132.97 136,130.97 136,128.95 136,126.94 136,124.92 136,122.9 136,120.89 136,118.87 136,116.85 136,114.83 136.08,112.82 136.51,110.85 137.34,109.02 138.51,107.38 139.99,106.02 141.71,104.97 143.61,104.3"/></g></g></g></g></svg>
|
package/dist-server/index.js
CHANGED
|
@@ -29983,15 +29983,17 @@ bot.id)).map(bot=>bot.id);return person2&&deps.own.told(person2,shown3),json7(re
|
|
|
29983
29983
|
groupIds.some(id13=>typeof id13!="string"||!id13)||new Set(groupIds).size!==groupIds.length)return json7(res,400,{error:INVALID3});let visible2=visibleFor(auth);for(let id13 of groupIds)if(!store5.group(id13)||!visible2.group(id13))return json7(res,400,{error:`unknown room: ${id13}`});let groups=store5.reorderGroups(groupIds);return groups?json7(res,200,{groupIds:groups.filter(group2=>visible2.group(group2.id)).map(group2=>group2.id)}):json7(res,400,{error:INVALID3})}}function createBotLifecycleRoutes(deps){let{store:store5,interruptAllDirectThreads:interruptAllDirectThreads2,cancelDirectTurnDispatch:cancelDirectTurnDispatch2,revokeInternalCapabilitiesForThread:revokeInternalCapabilitiesForThread2,activeGroupTurnForBot:activeGroupTurnForBot2,cancelGroupTurnOperations:cancelGroupTurnOperations2,runningTurnInstance:runningTurnInstance2,closeOpenApprovals:closeOpenApprovals2,deleteBotWithLifecycle:deleteBotWithLifecycle2}=deps;return async({req,res,path:path7,method:method2,
|
|
29984
29984
|
json:json7})=>{let m3=null,routines2=deps.routines();if(method2==="POST"&&path7==="/api/local-computer/interrupt")return String(req.headers["content-type"]??"").toLowerCase().startsWith("application/json")?(await Promise.allSettled(store5.bots.filter(bot=>bot.computer==="local").map(async bot=>{await interruptAllDirectThreads2(bot.id);let routineRun=routines2.activeBotRunForBot(bot.id);routineRun&&(cancelDirectTurnDispatch2(bot.id,routineRun.threadId),routineRun.threadId&&revokeInternalCapabilitiesForThread2(
|
|
29985
29985
|
routineRun.threadId),await routines2.cancelRun(routineRun.id));let groupTurn=activeGroupTurnForBot2(bot.id);groupTurn&&(cancelGroupTurnOperations2(groupTurn.group.id,groupTurn.threadId),revokeInternalCapabilitiesForThread2(groupTurn.threadId),await runningTurnInstance2(bot,groupTurn.threadId)?.adapter.interruptTurn(groupTurn.threadId).catch(()=>{}),closeOpenApprovals2(groupTurn.threadId))})),json7(res,200,{ok:!0})):json7(res,415,{error:"content-type must be application/json"});if(m3=path7.match(
|
|
29986
|
-
/^\/api\/bots\/([\w-]+)$/),m3&&method2==="DELETE"){let result2=await deleteBotWithLifecycle2(m3[1]);return json7(res,result2.status,result2.body)}return PASS}}init_zod();import{isAbsolute as isAbsolute43}from"node:path";init_mascot_bodies();init_wire();var
|
|
29987
|
-
|
|
29988
|
-
|
|
29989
|
-
|
|
29990
|
-
|
|
29991
|
-
|
|
29992
|
-
|
|
29993
|
-
|
|
29994
|
-
|
|
29986
|
+
/^\/api\/bots\/([\w-]+)$/),m3&&method2==="DELETE"){let result2=await deleteBotWithLifecycle2(m3[1]);return json7(res,result2.status,result2.body)}return PASS}}init_zod();import{isAbsolute as isAbsolute43}from"node:path";init_mascot_bodies();init_wire();init_mascot_bodies();var TEMPLATE_MASCOT_COLORS=["green","blue","red","orange","purple","cyan","pink","yellow","teal","coral"],TEMPLATE_MASCOT_EXPRESSIONS=["idle","happy","curious"],TEMPLATE_MASCOTS=MASCOT_BODY_IDS.flatMap(mascotBody=>TEMPLATE_MASCOT_COLORS.flatMap(color7=>TEMPLATE_MASCOT_EXPRESSIONS.map(mascotExpression=>({id:`limix-${mascotBody}-${color7}-${mascotExpression}`,color:color7,mascotBody,mascotExpression}))));function templateMascot(id13){let hash4=2166136261;for(let character of id13)
|
|
29987
|
+
hash4=Math.imul(hash4^character.charCodeAt(0),16777619)>>>0;let{color:color7,mascotBody,mascotExpression}=TEMPLATE_MASCOTS[hash4%TEMPLATE_MASCOTS.length];return{color:color7,mascotBody,mascotExpression}}function templateMascotById(id13){let entry3=TEMPLATE_MASCOTS.find(entry4=>entry4.id===id13);if(!entry3)return;let{color:color7,mascotBody,mascotExpression}=entry3;return{color:color7,mascotBody,mascotExpression}}var BOT_LIBRARY_RAW_ROOT="https://raw.githubusercontent.com/leomieo/limix-bot-templates/main",LIST_TTL_MS=600*1e3,MAX_CATALOG_BYTES=256e3,MAX_BOT_BYTES=64e3,CATEGORIES=["everyday","work","writing","design","sales","personal"],ID20=/^[a-z0-9][a-z0-9-]{0,63}$/,NOTE_PATH=/^(?:MEMORY\.md|memory\/[a-z0-9][a-z0-9-]{0,63}\.md)$/,TIME3=/^(?:[01]\d|2[0-3]):[0-5]\d$/,isRecord38=value3=>!!value3&&typeof value3=="object"&&!Array.isArray(value3);function text27(value3,field5,max4,allowEmpty=!1){if(typeof value3!=
|
|
29988
|
+
"string"||!allowEmpty&&!value3.trim())throw new Error(`${field5} is required`);let trimmed=value3.trim();if(trimmed.length>max4)throw new Error(`${field5} is too long`);return trimmed}function look(value3,field5,id13){if(isRecord38(value3)&&value3.iconId!==void 0){let selected=typeof value3.iconId=="string"?templateMascotById(value3.iconId):void 0;if(!selected)throw new Error(`${field5}.iconId is not a known mascot`);return selected}if(value3===void 0||isRecord38(value3)&&value3.mode==="auto")return templateMascot(
|
|
29989
|
+
id13);if(!isRecord38(value3))throw new Error(`${field5} is invalid`);let color7=text27(value3.color,`${field5}.color`,20),mascotBody=text27(value3.mascotBody,`${field5}.mascotBody`,20);if(!MAUS_COLOR_NAMES.includes(color7))throw new Error(`${field5}.color is not a known colour`);if(!MASCOT_BODY_IDS.includes(mascotBody))throw new Error(`${field5}.mascotBody is not a known shape`);if(color7==="cyan"&&mascotBody==="hexagon"&&value3.mode!=="fixed"&&value3.mascotExpression===void 0)return templateMascot(
|
|
29990
|
+
id13);let mascotExpression=TEMPLATE_MASCOT_EXPRESSIONS.find(expression4=>expression4===value3.mascotExpression);if(value3.mascotExpression!==void 0&&!mascotExpression)throw new Error(`${field5}.mascotExpression is invalid`);return{color:color7,mascotBody,...mascotExpression?{mascotExpression}:{}}}function category(value3,field5){let found2=CATEGORIES.find(entry3=>entry3===value3);if(!found2)throw new Error(`${field5} is not a known category`);return found2}function apps(value3,field5){if(value3===
|
|
29991
|
+
void 0)return[];if(!Array.isArray(value3)||value3.length>10)throw new Error(`${field5} is invalid`);return value3.map((app,index4)=>{let slug3=text27(app,`${field5}[${index4}]`,40);if(!/^[a-z0-9][a-z0-9_-]*$/.test(slug3))throw new Error(`${field5}[${index4}] is invalid`);return slug3})}function parseBotListing(value3){if(!isRecord38(value3)||value3.format!=="openmaus.catalog"||value3.version!==1)throw new Error(lxs("Danh s\xE1ch m\u1EABu kh\xF4ng \u0111\xFAng \u0111\u1ECBnh d\u1EA1ng","The templ\
|
|
29992
|
+
ate list has the wrong format"));if(value3.bots===void 0)return[];if(!Array.isArray(value3.bots)||value3.bots.length>200)throw new Error(lxs("Danh s\xE1ch bot m\u1EABu kh\xF4ng h\u1EE3p l\u1EC7","The template bot list is not valid"));let seen=new Set,out=[];return value3.bots.forEach((raw,index4)=>{let field5=`bots[${index4}]`;try{if(!isRecord38(raw))throw new Error(`${field5} is invalid`);let id13=text27(raw.id,`${field5}.id`,64);if(!ID20.test(id13)||seen.has(id13))throw new Error(`${field5}.id\
|
|
29993
|
+
is invalid`);let routines2=typeof raw.routines=="number"&&Number.isSafeInteger(raw.routines)&&raw.routines>=0&&raw.routines<=10?raw.routines:0;out.push({id:id13,name:text27(raw.name,`${field5}.name`,40),title:text27(raw.title,`${field5}.title`,80),category:category(raw.category,`${field5}.category`),description:text27(raw.description,`${field5}.description`,300),try:text27(raw.try,`${field5}.try`,200),look:look(raw.look,`${field5}.look`,id13),apps:apps(raw.apps,`${field5}.apps`),routines:routines2}),
|
|
29994
|
+
seen.add(id13)}catch{}}),out}function parseLibraryBot(value3,expectedId){if(!isRecord38(value3)||value3.format!=="limix.bot"||value3.version!==1)throw new Error(lxs("T\u1EC7p bot m\u1EABu kh\xF4ng \u0111\xFAng \u0111\u1ECBnh d\u1EA1ng","The template bot file has the wrong format"));let id13=text27(value3.id,"id",64);if(id13!==expectedId)throw new Error(lxs("T\u1EC7p bot m\u1EABu kh\xF4ng kh\u1EDBp v\u1EDBi danh s\xE1ch","The template bot file does not match the list"));if(!Array.isArray(value3.tryAsking)||
|
|
29995
|
+
value3.tryAsking.length===0||value3.tryAsking.length>6)throw new Error("tryAsking is invalid");let bot={id:id13,category:category(value3.category,"category"),name:text27(value3.name,"name",40),title:text27(value3.title,"title",80),description:text27(value3.description,"description",300),soul:text27(value3.soul,"soul",8e3),look:look(value3.look,"look",id13),tryAsking:value3.tryAsking.map((line6,index4)=>text27(line6,`tryAsking[${index4}]`,200)),apps:apps(value3.apps,"apps")};if(value3.notes!==void 0){
|
|
29996
|
+
if(!isRecord38(value3.notes)||Object.keys(value3.notes).length>6)throw new Error("notes is invalid");bot.notes={};for(let[path7,note2]of Object.entries(value3.notes)){if(!NOTE_PATH.test(path7))throw new Error(`notes path ${path7} is not allowed`);bot.notes[path7]=text27(note2,`notes.${path7}`,8e3)+`
|
|
29995
29997
|
`}}if(value3.routines!==void 0){if(!Array.isArray(value3.routines)||value3.routines.length>5)throw new Error("routines is invalid");bot.routines=value3.routines.map((raw,index4)=>{let field5=`routines[${index4}]`;if(!isRecord38(raw)||!isRecord38(raw.schedule)||raw.schedule.type!=="daily")throw new Error(`${field5} is invalid`);let time6=text27(raw.schedule.time,`${field5}.schedule.time`,5);if(!TIME3.test(time6))throw new Error(`${field5}.schedule.time is invalid`);let weekdays3=raw.schedule.weekdays;
|
|
29996
29998
|
if(!Array.isArray(weekdays3)||weekdays3.length===0||weekdays3.length>7||weekdays3.some(day2=>!Number.isInteger(day2)||day2<0||day2>6))throw new Error(`${field5}.schedule.weekdays is invalid`);return{name:text27(raw.name,`${field5}.name`,80),prompt:text27(raw.prompt,`${field5}.prompt`,2e3),schedule:{type:"daily",time:time6,weekdays:[...new Set(weekdays3)].sort()},enabled:!1,overlap:"skip"}})}if(value3.skills!==void 0){if(!Array.isArray(value3.skills)||value3.skills.length>20||value3.skills.some(name6=>typeof name6!=
|
|
29997
29999
|
"string"||!/^[a-z0-9]+(?:-[a-z0-9]+)*$/.test(name6)||name6.length>64))throw new Error("skills is invalid");bot.skills=[...new Set(value3.skills)]}return bot}async function fetchJson2(url3,maxBytes){let response=await fetch(url3,{headers:{accept:"application/json, text/plain;q=0.9"},redirect:"error",signal:AbortSignal.timeout(1e4)});if(!response.ok)throw new Error(lxs(`GitHub tr\u1EA3 l\u1ED7i HTTP ${response.status}`,`GitHub returned HTTP ${response.status}`));let raw=await response.text();if(Buffer.
|
package/dist-server/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"type":"module","version":"0.3.
|
|
1
|
+
{"type":"module","version":"0.3.60"}
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import { MASCOT_BODY_IDS } from "../shared/mascot-bodies.js";
|
|
6
6
|
import { MAUS_COLOR_NAMES } from "../shared/wire.js";
|
|
7
7
|
import { lxs } from "./limix-lang.js";
|
|
8
|
+
import { templateMascot, templateMascotById, TEMPLATE_MASCOT_EXPRESSIONS } from "../shared/template-mascot.js";
|
|
8
9
|
const BOT_LIBRARY_RAW_ROOT = "https://raw.githubusercontent.com/leomieo/limix-bot-templates/main";
|
|
9
10
|
const LIST_TTL_MS = 10 * 60 * 1000;
|
|
10
11
|
const MAX_CATALOG_BYTES = 256_000;
|
|
@@ -22,7 +23,15 @@ function text(value, field, max, allowEmpty = false) {
|
|
|
22
23
|
throw new Error(`${field} is too long`);
|
|
23
24
|
return trimmed;
|
|
24
25
|
}
|
|
25
|
-
function look(value, field) {
|
|
26
|
+
function look(value, field, id) {
|
|
27
|
+
if (isRecord(value) && value.iconId !== undefined) {
|
|
28
|
+
const selected = typeof value.iconId === "string" ? templateMascotById(value.iconId) : undefined;
|
|
29
|
+
if (!selected)
|
|
30
|
+
throw new Error(`${field}.iconId is not a known mascot`);
|
|
31
|
+
return selected;
|
|
32
|
+
}
|
|
33
|
+
if (value === undefined || (isRecord(value) && value.mode === "auto"))
|
|
34
|
+
return templateMascot(id);
|
|
26
35
|
if (!isRecord(value))
|
|
27
36
|
throw new Error(`${field} is invalid`);
|
|
28
37
|
const color = text(value.color, `${field}.color`, 20);
|
|
@@ -31,7 +40,12 @@ function look(value, field) {
|
|
|
31
40
|
throw new Error(`${field}.color is not a known colour`);
|
|
32
41
|
if (!MASCOT_BODY_IDS.includes(mascotBody))
|
|
33
42
|
throw new Error(`${field}.mascotBody is not a known shape`);
|
|
34
|
-
|
|
43
|
+
if (color === "cyan" && mascotBody === "hexagon" && value.mode !== "fixed" && value.mascotExpression === undefined)
|
|
44
|
+
return templateMascot(id);
|
|
45
|
+
const mascotExpression = TEMPLATE_MASCOT_EXPRESSIONS.find(expression => expression === value.mascotExpression);
|
|
46
|
+
if (value.mascotExpression !== undefined && !mascotExpression)
|
|
47
|
+
throw new Error(`${field}.mascotExpression is invalid`);
|
|
48
|
+
return { color: color, mascotBody: mascotBody, ...(mascotExpression ? { mascotExpression } : {}) };
|
|
35
49
|
}
|
|
36
50
|
function category(value, field) {
|
|
37
51
|
const found = CATEGORIES.find((entry) => entry === value);
|
|
@@ -72,7 +86,7 @@ export function parseBotListing(value) {
|
|
|
72
86
|
out.push({
|
|
73
87
|
id, name: text(raw.name, `${field}.name`, 40), title: text(raw.title, `${field}.title`, 80),
|
|
74
88
|
category: category(raw.category, `${field}.category`), description: text(raw.description, `${field}.description`, 300),
|
|
75
|
-
try: text(raw.try, `${field}.try`, 200), look: look(raw.look, `${field}.look
|
|
89
|
+
try: text(raw.try, `${field}.try`, 200), look: look(raw.look, `${field}.look`, id), apps: apps(raw.apps, `${field}.apps`), routines,
|
|
76
90
|
});
|
|
77
91
|
seen.add(id);
|
|
78
92
|
}
|
|
@@ -92,7 +106,7 @@ export function parseLibraryBot(value, expectedId) {
|
|
|
92
106
|
throw new Error("tryAsking is invalid");
|
|
93
107
|
const bot = {
|
|
94
108
|
id, category: category(value.category, "category"), name: text(value.name, "name", 40), title: text(value.title, "title", 80),
|
|
95
|
-
description: text(value.description, "description", 300), soul: text(value.soul, "soul", 8_000), look: look(value.look, "look"),
|
|
109
|
+
description: text(value.description, "description", 300), soul: text(value.soul, "soul", 8_000), look: look(value.look, "look", id),
|
|
96
110
|
tryAsking: value.tryAsking.map((line, index) => text(line, `tryAsking[${index}]`, 200)), apps: apps(value.apps, "apps"),
|
|
97
111
|
};
|
|
98
112
|
if (value.notes !== undefined) {
|
|
@@ -311,6 +311,7 @@ export function readyBotTemplate(defaults, bot) {
|
|
|
311
311
|
soul: bot.soul,
|
|
312
312
|
color: bot.look.color,
|
|
313
313
|
mascotBody: bot.look.mascotBody,
|
|
314
|
+
mascotExpression: bot.look.mascotExpression ?? null,
|
|
314
315
|
};
|
|
315
316
|
for (const [path, text] of Object.entries(bot.notes ?? {})) {
|
|
316
317
|
const own = template.memory[path]?.trimEnd();
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { MASCOT_BODY_IDS } from "./mascot-bodies.js";
|
|
2
|
+
export const TEMPLATE_MASCOT_COLORS = ["green", "blue", "red", "orange", "purple", "cyan", "pink", "yellow", "teal", "coral"];
|
|
3
|
+
export const TEMPLATE_MASCOT_EXPRESSIONS = ["idle", "happy", "curious"];
|
|
4
|
+
export const TEMPLATE_MASCOTS = MASCOT_BODY_IDS.flatMap(mascotBody => TEMPLATE_MASCOT_COLORS.flatMap(color => TEMPLATE_MASCOT_EXPRESSIONS.map(mascotExpression => ({
|
|
5
|
+
id: `limix-${mascotBody}-${color}-${mascotExpression}`,
|
|
6
|
+
color, mascotBody, mascotExpression,
|
|
7
|
+
}))));
|
|
8
|
+
export function templateMascot(id) {
|
|
9
|
+
let hash = 2166136261;
|
|
10
|
+
for (const character of id)
|
|
11
|
+
hash = Math.imul(hash ^ character.charCodeAt(0), 16777619) >>> 0;
|
|
12
|
+
const { color, mascotBody, mascotExpression } = TEMPLATE_MASCOTS[hash % TEMPLATE_MASCOTS.length];
|
|
13
|
+
return { color, mascotBody, mascotExpression };
|
|
14
|
+
}
|
|
15
|
+
export function templateMascotById(id) {
|
|
16
|
+
const entry = TEMPLATE_MASCOTS.find(entry => entry.id === id);
|
|
17
|
+
if (!entry)
|
|
18
|
+
return undefined;
|
|
19
|
+
const { color, mascotBody, mascotExpression } = entry;
|
|
20
|
+
return { color, mascotBody, mascotExpression };
|
|
21
|
+
}
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as s,j as e,a as j,f as be,r as i,X as jt,S as kt}from"./styles-CBV_7beb.js";import{L as C,N as Nt,P as vt,r as Qe,O as wt,v as Ue,Q as St,t as le}from"./PlacesRail-CGbqwd0M.js";import{by as Ct,bz as Lt,bA as Bt,w as Et,bB as Ye,bC as zt,aS as Ve,u as Ze,n as N,bD as w,bE as Tt,bF as It,bG as Ot,bH as Rt,bI as Pt,bJ as At,bK as He,bL as Dt,F as $t,bM as Ft}from"./App-DXFyry-O.js";import{o as et,a as Gt,b as Mt,c as _t,d as Ut,t as he,e as Yt,M as Ht}from"./org-library-CDuHXovP.js";import{t as qt,a as Kt}from"./import-name-DHm-KE8K.js";import{ShareTeamDialog as Jt}from"./ShareTeamDialog-C1Zn8y6a.js";import{R as Wt}from"./MenuMotion-ENx-DTL-.js";import"./monitor-bvjeo-yx.js";import"./index-DdXG0S43.js";import"./package-format-C9KGDR_9.js";import"./team-share-DlNdMGpO.js";const Xt={"seo growth team":"seoGrowth","engineering team":"engineering","100x marketing team":"marketing100x","reddit lead miner":"redditLeadMiner","competitor watch":"competitorWatch","inbox follow-up":"inboxFollowup"};function tt(a){const o=Xt[a.name.trim().toLowerCase()];return o?{...a,name:s(`templates.catalog.${o}.name`),summary:s(`templates.catalog.${o}.summary`),outcome:a.outcome?s(`templates.catalog.${o}.outcome`):void 0}:a}function Qt(a,o){const m=tt(a);return`${m.name} ${m.summary} ${a.name} ${a.summary} ${a.category} ${a.skills.join(" ")} ${a.requires.apps.join(" ")}`.toLowerCase().includes(o)}const F=["bg-purple-500/15 text-purple-300","bg-cyan-500/15 text-cyan-300","bg-orange-500/15 text-orange-300","bg-emerald-500/15 text-emerald-300"];function Vt({pending:a,importedNames:o,org:m=!1}){return e.jsxs(e.Fragment,{children:[a.description&&e.jsx("p",{className:"max-w-2xl text-[14px] leading-relaxed text-ink-secondary",children:a.description}),a.brief&&e.jsxs("div",{className:"mt-4 rounded-xl border border-hairline px-4 py-3 text-[13px] text-ink-secondary",children:[e.jsx("div",{className:"font-medium text-ink",children:s("teamImport.brief")}),e.jsx("p",{className:"mt-1 line-clamp-4 whitespace-pre-wrap break-words",children:a.brief})]}),!!a.warnings?.length&&e.jsxs("div",{className:"mt-4 rounded-xl border border-hairline px-4 py-3 text-[13px] text-ink-secondary",children:[e.jsx("div",{className:"mb-2 font-medium text-ink",children:s("templates.backupNotes")}),a.warnings?.map((p,c)=>e.jsx("p",{children:p},c))]}),(a.kind==="package"||a.kind==="backup")&&e.jsxs("div",{className:"mt-5 flex flex-wrap gap-2 text-[12px] text-ink-secondary",children:[a.chiefOfStaff&&e.jsxs("span",{className:"flex items-center gap-1.5 rounded-full bg-raised px-3 py-1.5",children:[e.jsx(Ct,{size:13}),s("templates.leads",{name:a.chiefOfStaff})]}),!a.library&&e.jsxs("span",{className:"flex items-center gap-1.5 rounded-full bg-raised px-3 py-1.5",children:[e.jsx(Lt,{size:13}),s("templates.groupChats",{count:a.rooms})]}),!(a.library&&!a.playbooks)&&e.jsxs("span",{className:"flex items-center gap-1.5 rounded-full bg-raised px-3 py-1.5",children:[e.jsx(Bt,{size:13}),s("templates.playbooks",{count:a.playbooks})]}),!a.library&&e.jsxs("span",{className:"flex items-center gap-1.5 rounded-full bg-raised px-3 py-1.5",children:[e.jsx(Et,{size:13}),a.version===2?s("teamImport.routinesPaused",{count:a.routines}):s("templates.pausedRoutines",{count:a.routines})]}),a.kind==="package"&&a.version!==2&&e.jsxs("span",{className:"flex items-center gap-1.5 rounded-full bg-raised px-3 py-1.5",children:[e.jsx(Ye,{size:13}),s("templates.connections",{count:a.apps.length})]}),!!a.connections?.length&&e.jsxs("span",{className:"flex items-center gap-1.5 rounded-full bg-raised px-3 py-1.5",children:[e.jsx(Ye,{size:13}),s("teamImport.connections",{count:a.connections?.length??0})]}),!!a.notes&&e.jsxs("span",{className:"flex items-center gap-1.5 rounded-full bg-raised px-3 py-1.5",children:[e.jsx(zt,{size:13}),s("teamImport.notes",{count:a.notes??0})]}),!!a.presets?.length&&e.jsxs("span",{className:"flex items-center gap-1.5 rounded-full bg-raised px-3 py-1.5",children:[e.jsx(Ve,{size:13}),s("teamImport.presets",{count:a.presets?.length??0})]})]}),!!a.skills?.length&&e.jsxs("div",{className:"mt-4 rounded-xl border border-hairline px-4 py-3 text-[13px] text-ink-secondary",children:[e.jsx("div",{className:"font-medium text-ink",children:m?s("orgLibrary.skillsOn"):a.version===2?s("teamImport.skillsOff"):s("templates.skillsDisabled")}),e.jsx("p",{className:"mt-1 break-words",children:a.skills?.join(", ")}),!m&&e.jsx("p",{className:"mt-1",children:a.version===2?s("teamImport.skillsReview"):s("templates.skillsReview")})]}),a.library&&!!a.presets?.length&&e.jsxs("div",{className:"mt-4 rounded-xl border border-hairline px-4 py-3 text-[13px] text-ink-secondary",children:[e.jsx("div",{className:"font-medium text-ink",children:s("teamImport.presetList")}),e.jsx("p",{className:"mt-1 break-words",children:a.presets?.join(", ")})]}),!!a.offeredSkills?.length&&e.jsxs("div",{className:"mt-4 rounded-xl border border-hairline px-4 py-3 text-[13px] text-ink-secondary",children:[e.jsx("div",{className:"font-medium text-ink",children:s("teamImport.offeredSkills")}),e.jsx("p",{className:"mt-1 break-words",children:a.offeredSkills?.join(", ")})]}),!!a.connections?.length&&e.jsxs("div",{className:"mt-4 rounded-xl border border-hairline px-4 py-3 text-[13px] text-ink-secondary",children:[e.jsx("div",{className:"font-medium text-ink",children:s("teamImport.connections",{count:a.connections?.length??0})}),e.jsx("ul",{className:"mt-1",children:a.connections?.map((p,c)=>e.jsxs("li",{className:"truncate",children:[p.label," · ",p.url]},`${p.label}-${c}`))})]}),a.members.length>0&&e.jsx("div",{className:"mt-6 text-[12px] font-medium text-ink-secondary",children:s("templates.teamMembers")}),e.jsx("div",{className:"mt-2 grid grid-cols-1 gap-x-10 md:grid-cols-2",children:a.members.map((p,c)=>e.jsxs("div",{className:"flex min-h-[72px] items-center gap-3 border-b border-hairline/35 px-1 py-3",children:[a.pictures?.[c]?e.jsx("img",{src:a.pictures[c],alt:"",className:"size-9 shrink-0 rounded-lg object-cover"}):e.jsx("div",{className:j("flex size-9 shrink-0 items-center justify-center rounded-lg text-[13px] font-semibold",F[c%F.length]),children:p.name.slice(0,1).toUpperCase()}),e.jsxs("div",{className:"min-w-0",children:[e.jsx("div",{className:"truncate text-[14px] font-medium text-ink",children:o[c]}),o[c]!==p.name&&e.jsx("div",{className:"text-[12px] text-ink-secondary",children:s("templates.newCopyOf",{name:p.name})}),e.jsx("div",{className:"mt-0.5 truncate text-[13px] text-ink-secondary",children:p.title||s("templates.generalAssistant")})]})]},`${p.name}-${c}`))}),e.jsxs("div",{className:"mt-6 flex items-start gap-2.5 rounded-xl bg-raised/45 px-4 py-3 text-[13px] leading-relaxed text-ink-secondary",children:[e.jsx(be,{size:15,className:"mt-0.5 shrink-0 text-success"}),e.jsx("p",{children:a.kind==="backup"?s("templates.backupSafety",{archived:a.archivedBots?s("templates.archivedBots",{count:a.archivedBots}):""}):m?a.members.length?s("orgLibrary.teamSafety"):s("orgLibrary.librarySafety"):a.library?s("teamImport.librarySafety"):a.version===2?s("teamImport.sharedTeamSafety"):a.kind==="package"?s("templates.packageSafety"):s("templates.legacySafety")})]})]})}async function Zt(a,o){for(const m of o??[])await fetch(`/api/limix/skill-store/${encodeURIComponent(a)}`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({name:m,add:!0})}).catch(()=>{})}const es={gmail:"Gmail",github:"GitHub",discord:"Discord",slack:"Slack",googlecalendar:"Google Calendar",notion:"Notion",linear:"Linear",figma:"Figma",gong:"Gong",hubspot:"HubSpot",postiz:"Postiz"},qe={everyday:"readyBots.category.everyday",work:"readyBots.category.work",writing:"readyBots.category.writing",design:"readyBots.category.design",sales:"readyBots.category.sales",personal:"readyBots.category.personal"},fe=()=>Ot.map(a=>{const o=Rt(a);return{id:a.id,name:a.name,title:o.title,category:a.category,description:o.description,try:o.tryAsking,look:a.look,apps:a.apps,routines:a.routines?.length??0,builtIn:!0}});let $=null;async function ts(){const{bots:a}=await N("/api/limix/bots/refresh",{method:"POST"});return $=a.length?a.map(o=>({...o,builtIn:!1})):null,a.length}const ss=(a,o)=>{const m=o.trim().toLowerCase();return!m||[a.name,a.title,a.description,a.category].some(p=>p.toLowerCase().includes(m))};function as({search:a,onDialog:o,onAdded:m,revision:p=0}){const{state:c,dispatch:h}=Ze(),[y,L]=i.useState(null),[x,f]=i.useState($),[I,G]=i.useState(!1),[E,M]=i.useState(null),[_,U]=i.useState(""),[B,O]=i.useState(null);i.useEffect(()=>{if(p>0){f($??fe()),G(!1);return}let l=!0;return N("/api/limix/bots").then(({bots:b})=>{if(!l)return;const J=b.length?b.map(R=>({...R,builtIn:!1})):fe();$=b.length?J:null,f(J),G(!1)}).catch(()=>{l&&(f($??fe()),G(!$))}),()=>{l=!1}},[p]);const q=()=>{O(null),o(!1)},K=async l=>{if(!(E||Pt(c))){if(U(""),window.ogb?.remoteClient?.active){h({type:"newBot",onCreated:m});return}if(l.builtIn){O({id:l.id}),o(!0);return}M(l.id);try{const{bot:b}=await N(`/api/limix/bots/${l.id}`);O({id:l.id,data:b,skills:b.skills}),o(!0)}catch(b){U(b instanceof Error?b.message:String(b))}finally{M(null)}}};if(!x)return e.jsxs("div",{className:"mb-8 flex items-center gap-2 py-6 text-[13px] text-ink-secondary",children:[e.jsx(C,{size:15,className:"animate-spin"}),s("templates.loading")]});const T=x.filter(l=>(!y||l.category===y)&&ss(l,a));return a.trim()&&T.length===0?null:e.jsxs("section",{className:"mb-8","aria-labelledby":"ready-bots-title",children:[e.jsxs("div",{className:"mb-1 flex flex-wrap items-baseline justify-between gap-2",children:[e.jsx("h3",{id:"ready-bots-title",className:"text-[12px] font-medium text-ink-secondary",children:s("readyBots.title")}),e.jsx("div",{className:"flex flex-wrap items-center gap-3",children:e.jsx("p",{className:"text-[12px] text-ink-tertiary",role:"status","aria-live":"polite",children:I?w("Đang dùng bản có sẵn trong ứng dụng (chưa tải được kho mẫu).","Showing the bots built into the app (the template library could not be loaded)."):s("readyBots.subtitle")})})]}),e.jsx("div",{className:"mb-3 mt-2 flex flex-wrap gap-1.5",role:"group","aria-label":s("readyBots.categories"),children:[null,...Tt].map(l=>e.jsx("button",{type:"button","aria-pressed":y===l,onClick:()=>L(l),className:j("rounded-full px-3 py-1 text-[13px] transition-colors",y===l?"bg-ink text-panel":"bg-raised/70 text-ink-secondary hover:text-ink"),children:l?s(qe[l]):s("readyBots.all")},l??"all"))}),_&&e.jsx("p",{role:"alert",className:"mb-3 rounded-xl bg-danger/10 px-3 py-2 text-[13px] text-danger",children:_}),e.jsx("div",{className:"grid grid-cols-1 gap-3 md:grid-cols-2 lg:grid-cols-3",children:T.map(l=>e.jsxs("article",{"data-ready-bot":l.id,className:"flex flex-col rounded-2xl border border-hairline/40 bg-card p-4",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx(Nt,{color:l.look.color,bodyId:l.look.mascotBody,size:40,animated:!1,label:l.name}),e.jsxs("div",{className:"min-w-0 flex-1",children:[e.jsx("h4",{className:"truncate text-[14px] font-medium text-ink",children:l.name}),e.jsxs("p",{className:"truncate text-[12px] text-ink-secondary",children:[l.title," · ",s(qe[l.category])]})]}),e.jsxs("button",{type:"button",onClick:()=>{K(l)},disabled:E!==null,"aria-label":w(`Dùng mẫu ${l.name}, ${l.title}`,`Use template ${l.name}, ${l.title}`),className:"flex h-8 shrink-0 items-center gap-1 rounded-full bg-raised px-3 text-[13px] font-medium text-ink hover:bg-raised-hover disabled:opacity-50 focus-visible:outline-2 focus-visible:outline-accent",children:[E===l.id?e.jsx(C,{size:14,className:"animate-spin","aria-hidden":"true"}):e.jsx(vt,{size:14,"aria-hidden":"true"}),w("Dùng mẫu","Use template")]})]}),e.jsx("p",{className:"mt-3 text-[13px] leading-[1.45] text-ink-secondary",children:l.description}),e.jsx("p",{className:"mt-2 text-[12px] italic text-ink-tertiary",children:s("readyBots.try",{prompt:l.try})}),(l.apps.length>0||l.routines>0)&&e.jsx("p",{className:"mt-auto pt-2 text-[12px] text-ink-tertiary",children:[l.apps.length>0&&s("readyBots.worksWith",{apps:l.apps.map(b=>es[b]??b).join(", ")}),l.routines>0&&s("readyBots.pausedRoutine")].filter(Boolean).join(" · ")})]},l.id))}),B&&Qe.createPortal(e.jsx(It,{readyBotId:B.id,readyBotData:B.data,onClose:q,onCreated:l=>{o(!1),Zt(l.id,B.skills),m(l)}}),document.body)]})}const Ke=["bg-cyan-500/15 text-cyan-300","bg-purple-500/15 text-purple-300","bg-emerald-500/15 text-emerald-300","bg-orange-500/15 text-orange-300"];function rs({listing:a,busy:o,notice:m,error:p,onAdd:c,onDetails:h}){const y=a.organization.name;return e.jsxs("div",{children:[e.jsx("p",{className:"max-w-2xl text-[13px] leading-relaxed text-ink-secondary",children:s("orgLibrary.intro",{name:y})}),a.packages.length===0?e.jsx("p",{className:"mt-6 text-[13px] text-ink-secondary",children:s("orgLibrary.empty",{name:y})}):e.jsx("div",{className:"mt-4 grid grid-cols-1 gap-x-10 md:grid-cols-2",children:a.packages.map((L,x)=>e.jsx(ns,{entry:L,index:x,busy:o,onAdd:c,onDetails:h},L.packageId))}),m&&e.jsx("div",{role:"status",className:"mt-4 rounded-lg bg-raised/60 px-3 py-2 text-[13px] text-ink-secondary",children:m}),p&&e.jsx("div",{role:"alert",className:"mt-4 rounded-lg bg-danger/10 px-3 py-2 text-[13px] text-danger",children:p})]})}function ns({entry:a,index:o,busy:m,onAdd:p,onDetails:c}){const h=et(a),y=Gt(a),L=Mt(a),x=m===a.packageId;return e.jsxs("article",{className:"flex min-h-[104px] items-center gap-3 border-b border-hairline/35 px-1 py-4",children:[e.jsx("div",{className:j("flex size-11 shrink-0 items-center justify-center rounded-xl",Ke[o%Ke.length]),children:e.jsx(wt,{size:20})}),e.jsxs("div",{className:"min-w-0 flex-1",children:[e.jsx("h3",{className:"truncate text-[14px] font-medium text-ink",children:a.name}),e.jsx("p",{className:"mt-0.5 truncate text-[13px] text-ink-secondary",children:a.tagline}),e.jsxs("p",{className:"mt-1 flex flex-wrap items-center gap-x-2 gap-y-1 text-[12px] text-ink-tertiary",children:[e.jsx("span",{children:_t(a)}),y&&e.jsx("span",{className:"rounded-full bg-accent/10 px-2 py-0.5 text-accent-text",children:y}),a.release&&e.jsx("span",{children:a.release.version})]}),e.jsx("p",{className:"mt-0.5 truncate text-[12px] text-ink-tertiary",children:Ut(a.contents)}),L.map(f=>e.jsx("p",{className:"mt-0.5 text-[12px] text-warning",children:f},f))]}),e.jsxs("div",{className:"flex shrink-0 flex-col items-end gap-1.5",children:[h==="add"&&e.jsxs("button",{onClick:()=>p(a),disabled:m!==null,"aria-label":s("orgLibrary.addAria",{name:a.name}),className:"flex min-w-[72px] items-center justify-center gap-1.5 rounded-full bg-accent px-3.5 py-2 text-[13px] font-medium text-white hover:bg-accent/90 disabled:opacity-40",children:[x&&e.jsx(C,{size:13,className:"animate-spin"}),x?s("orgLibrary.adding"):s("orgLibrary.add")]}),h==="added"&&e.jsxs("span",{className:"flex items-center gap-1 rounded-full bg-raised px-3 py-1.5 text-[12px] text-ink-secondary",children:[e.jsx(be,{size:13,className:"text-success"}),s("orgLibrary.added")]}),h==="updateApp"&&e.jsx("span",{className:"max-w-[140px] text-right text-[12px] text-ink-secondary",children:s("orgLibrary.updateApp")}),h==="notReady"&&e.jsx("span",{className:"text-[12px] text-ink-secondary",children:s("orgLibrary.notReady")}),h==="noRelease"&&e.jsx("span",{className:"text-[12px] text-ink-secondary",children:s("orgLibrary.noRelease")}),a.blob==="ready"&&e.jsx("button",{onClick:()=>c(a),disabled:m!==null,"aria-label":s("orgLibrary.detailsAria",{name:a.name}),className:"rounded-full px-2.5 py-1 text-[12px] text-ink-secondary hover:bg-raised hover:text-ink disabled:opacity-40",children:s("orgLibrary.details")})]})]})}const is="https://github.com/leomieo/limix-bot-teams",Je=["cyan","red","purple","green","orange"];async function We(a){if(window.ogb?.openExternal){await window.ogb.openExternal(a);return}const o=window.open(a,"_blank","noopener,noreferrer");o&&(o.opener=null)}function ls(a,o){const m=new Map;for(const c of o){if(c.hidden)continue;const h=c.section?.trim()??"";m.set(h,(m.get(h)??0)+1)}return[...[...new Set([...a.map(c=>c.trim()).filter(Boolean),...m.keys()])].filter(c=>c!==""),""].flatMap(c=>m.get(c)?[{name:c,bots:m.get(c)}]:[])}function Xe({index:a}){return e.jsx("div",{className:j("flex size-11 shrink-0 items-center justify-center rounded-xl",F[a%F.length]),children:e.jsx(Ve,{size:20})})}function ys({onClose:a,onImported:o,returnFocusRef:m,initialUrl:p}){const{state:c,dispatch:h}=Ze(),y=i.useRef(null),L=i.useRef(null),[x,f]=i.useState("explore"),[I,G]=i.useState(null),[E,M]=i.useState(!0),[_,U]=i.useState(""),[B,O]=i.useState(!1),[q,K]=i.useState(""),[T,l]=i.useState(""),[b,J]=i.useState(0),R=i.useRef(0),[oe,ye]=i.useState(null),[d,Y]=i.useState(null),[st,at]=i.useState("file"),[ce,je]=i.useState(""),[ke,Ne]=i.useState(!1),[S,W]=i.useState(!1),[rt,de]=i.useState(!1),[me,nt]=i.useState(""),[P,u]=i.useState(""),[ve,we]=i.useState(""),[X,Se]=i.useState(!1),[k,Ce]=i.useState(null),[it,lt]=i.useState(""),[Q,xe]=i.useState(null),[Le,Be]=i.useState(new Set),[Ee,ze]=i.useState(""),[V,Te]=i.useState(!1),[Z,Ie]=i.useState(null),[Oe,ot]=i.useState(!1),[ee,Re]=i.useState(null),[ct,te]=i.useState(null),[dt,Pe]=i.useState(""),[mt,se]=i.useState(""),[A,ae]=i.useState(null),z=i.useRef(!1),D=i.useRef(0),pe=c.bots.filter(t=>!t.hidden).length,Ae=ls(c.sections??[],c.bots),xt=new Set(c.bots.map(t=>t.name.trim().toLowerCase())),pt=d?.members.map(t=>qt(t.name,xt))??[],re=i.useCallback(async(t=!1)=>{const r=++R.current;M(!0),U("");try{const n=await N(`/api/team-library/catalog${t?"?fresh=1":""}`);return r===R.current&&G(n),!0}catch(n){return r===R.current&&U(n instanceof Error?n.message:String(n)),!1}finally{r===R.current&&M(!1)}},[]),ut=async()=>{if(!B){O(!0),K(""),l("");try{const[t,r]=await Promise.allSettled([ts(),re(!0)]);if(t.status==="fulfilled"&&J(n=>n+1),t.status==="fulfilled"&&r.status==="fulfilled"&&r.value)K(w("Đã cập nhật mẫu Bot và mẫu nhóm Bot.","Bot and team templates updated."));else{const n=[...t.status==="rejected"?[w("mẫu Bot","bot templates")]:[],...r.status==="rejected"||!r.value?[w("mẫu nhóm Bot","team templates")]:[]];l(w(`Chưa cập nhật được ${n.join(", ")}. Hãy thử lại.`,`Could not update ${n.join(", ")}. Please retry.`))}}finally{O(!1)}}};i.useEffect(()=>{re()},[re]);const ne=i.useCallback(async()=>{try{const t=await N("/api/org-library");Re(t),t.organization&&!z.current&&f("org")}catch{Re({organization:null,packages:[]})}},[]);i.useEffect(()=>{ne()},[ne]),i.useEffect(()=>(y.current?.focus(),()=>m.current?.focus()),[m]),i.useEffect(()=>{const t=r=>{if(Z!==null||Oe)return;if(r.key==="Escape"&&!S){r.preventDefault(),r.stopPropagation(),d?(Y(null),ae(null)):a();return}if(r.key!=="Tab")return;const n=y.current,g=Array.from(n?.querySelectorAll('button:not([disabled]), a[href], input:not([disabled]), [tabindex]:not([tabindex="-1"])')??[]);if(!n||g.length===0)return;const v=g[0],ie=g.at(-1);r.shiftKey&&(document.activeElement===v||!n.contains(document.activeElement))?(r.preventDefault(),ie.focus()):!r.shiftKey&&document.activeElement===ie&&(r.preventDefault(),v.focus())};return window.addEventListener("keydown",t,!0),()=>window.removeEventListener("keydown",t,!0)},[S,a,d,Z,Oe]);const ue=(t,r)=>{Y(t),at(r),u("")},De=async t=>{if(t.size>Ht)throw new Error(s("templates.fileTooLarge"));const r=await t.text();let n=r;if(!t.name.toLowerCase().endsWith(".md"))try{n=JSON.parse(r)}catch(g){throw g instanceof SyntaxError?new Error(s("teamLibrary.invalidJson")):g}ue(he(n),"file")},gt=async t=>{ye(t.slug),u("");try{ue(he(await N(`/api/team-library/teams/${t.slug}`)),"library")}catch(r){u(r instanceof Error?r.message:String(r))}finally{ye(null)}},$e=async()=>{await Fe(ce)},Fe=async t=>{if(t.trim()){Ne(!0),u("");try{const r=await N("/api/team-library/github",{method:"POST",body:JSON.stringify({url:t.trim()})});ue(he(r),"github")}catch(r){u(r instanceof Error?r.message:String(r))}finally{Ne(!1)}}};i.useEffect(()=>{p&&(z.current=!0,f("import"),je(p),Fe(p))},[p]);const ht=async()=>{if(d){W(!0),u("");try{const t=await Kt(d.manifest,h);le("team_imported",{members:t.bots.length,source:st,mode:"add",format:d.kind}),o({name:d.name,members:t.bots.length,...t.connections?.length?{connections:t.connections.length}:{},...t.presets?.length?{presets:t.presets.length}:{}})}catch(t){u(t instanceof Error?t.message:String(t))}finally{W(!1)}}},ft=async t=>{te(t.packageId),se("");try{const r=await N(`/api/org-library/packages/${t.packageId}`);Y(Yt(r.document)),ae(t),u("")}catch(r){se(r instanceof Error?r.message:String(r))}finally{te(null)}},Ge=async t=>{te(t.packageId),W(!0),se(""),Pe(""),u("");try{const r=await N("/api/org-library/add",{method:"POST",body:JSON.stringify({packageId:t.packageId})});for(const g of r.bots??[])h({type:"botAdded",bot:g});for(const g of r.groups??[])h({type:"groupPatched",group:g});for(const g of r.routines??[])h({type:"routinePatched",routine:g});const n=r.bots?.find(g=>!g.hidden);if(le("team_imported",{members:r.bots?.length??0,source:"organization",mode:"add",format:"package"}),n){h({type:"select",id:n.id}),o({name:t.name,members:r.bots.length,...r.connections?.length?{connections:r.connections.length}:{}});return}Y(null),ae(null),r.alreadyAdded||Pe(s("orgLibrary.addedSkills",{name:t.name})),await ne()}catch(r){const n=r instanceof Error?r.message:String(r);A?u(n):se(n),await ne()}finally{te(null),W(!1)}},H=ve.trim(),ge=async t=>{const r=++D.current;Se(!0),u(""),Ce(null),xe(null),Be(new Set);try{const n=await N(`/api/teams/scout?cwd=${encodeURIComponent(t)}`);if(r!==D.current)return;Ce(n),lt(t),ze(n.suggestion.roomName),le("team_scouted",{signals:n.suggestion.manifest.team.members.length-1}),N(`/api/teams/scout/directory?cwd=${encodeURIComponent(t)}`).then(g=>{r===D.current&&xe(g.directory)}).catch(()=>{r===D.current&&xe([])})}catch(n){if(r!==D.current)return;u(n instanceof Error?n.message:String(n))}finally{r===D.current&&Se(!1)}},bt=async()=>{const t=await window.ogb?.pickFolder?.(H||void 0);t&&(we(t),await ge(t))},yt=async()=>{if(!(!k||V)){Te(!0),u("");try{const t=(Q??[]).filter(v=>Le.has(v.slug)).map((v,ie)=>({key:`dir-${v.slug}`,name:v.name,title:v.category||s("templates.communityBot"),description:v.prompt,appearance:{color:Je[ie%Je.length]}})),r={...k.suggestion.manifest,team:{...k.suggestion.manifest.team,members:[...k.suggestion.manifest.team.members,...t]}},n=Ee.trim()||k.suggestion.roomName,g=await N(`/api/teams/import?mode=project&cwd=${encodeURIComponent(it)}&room=${encodeURIComponent(n)}`,{method:"POST",body:JSON.stringify(r)});for(const v of g.bots)h({type:"botAdded",bot:v});g.group&&(h({type:"groupPatched",group:{...g.group,messages:[]}}),h({type:"select",id:g.group.id})),le("team_imported",{members:g.bots.length,source:"scout",mode:"project"}),o({name:n,members:g.bots.length})}catch(t){u(t instanceof Error?t.message:String(t))}finally{Te(!1)}}},Me=me.trim().toLowerCase(),_e=(I?.teams??[]).filter(t=>!Me||Qt(t,Me));return Qe.createPortal(e.jsxs("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/55 p-4 sm:p-6",onMouseDown:t=>t.stopPropagation(),children:[e.jsxs("div",{ref:y,role:"dialog","aria-modal":"true","aria-labelledby":"team-library-title",tabIndex:-1,className:"animate-pop-in flex h-[min(780px,calc(100dvh-2rem))] w-full max-w-[1040px] flex-col overflow-hidden rounded-2xl border border-hairline/50 bg-panel shadow-2xl shadow-black/50 outline-none",children:[e.jsxs("header",{className:"flex items-start justify-between gap-4 px-6 pb-3 pt-6 sm:px-8 sm:pt-7",children:[e.jsxs("div",{className:"min-w-0",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[d&&e.jsx("button",{onClick:()=>{Y(null),ae(null),u("")},disabled:S,className:"rounded-lg p-1.5 text-ink-secondary hover:bg-raised hover:text-ink disabled:opacity-50","aria-label":s("templates.back"),children:e.jsx(At,{size:18})}),e.jsx("h2",{id:"team-library-title",className:"truncate text-[22px] font-semibold tracking-[-0.01em] text-ink",children:d?d.name:s("templates.title")})]}),e.jsx("p",{className:j("mt-1 text-[13px] text-ink-secondary",d&&"ml-9"),children:d?d.kind==="backup"?s("templates.backupSummary",{bots:d.members.length,conversations:d.conversations??0}):d.kind==="package"?d.library?s("teamImport.library"):d.version===2?s("teamImport.sharedTeam",{count:d.members.length}):s("templates.playbookSummary",{count:d.members.length}):s("templates.readyBots",{count:d.members.length}):s("templates.subtitle")})]}),e.jsxs("div",{className:"flex shrink-0 items-center gap-1",children:[!d&&e.jsxs("button",{onClick:()=>{We(I?.repositoryUrl??is)},className:"flex items-center gap-1.5 rounded-lg px-2.5 py-2 text-[13px] text-ink-secondary hover:bg-raised hover:text-ink",title:s("templates.openRepository"),children:[e.jsx(He,{size:16}),e.jsx("span",{className:"max-sm:hidden",children:s("templates.communityRepo")}),e.jsx(Ue,{size:12})]}),e.jsx("button",{onClick:a,disabled:S,className:"rounded-lg p-2 text-ink-secondary hover:bg-raised hover:text-ink disabled:opacity-50","aria-label":s("templates.close"),children:e.jsx(jt,{size:21})})]})]}),d?e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"min-h-0 flex-1 overflow-y-auto px-6 pb-6 pt-6 sm:px-8",children:[e.jsx(Vt,{pending:d,importedNames:pt,org:A!==null}),P&&e.jsx("div",{role:"alert",className:"mt-4 rounded-lg bg-danger/10 px-3 py-2 text-[13px] text-danger",children:P})]}),e.jsxs("footer",{className:"flex flex-col gap-3 border-t border-hairline/35 px-6 py-4 sm:flex-row sm:items-center sm:justify-between sm:px-8",children:[e.jsxs("div",{className:"text-[13px] text-ink-secondary",children:[s(pe===0?"templates.existingNone":pe===1?"templates.existingOne":"templates.existingMany",{count:pe})," ",d.kind==="backup"?s("teamImport.backupCopies"):d.library?s("teamImport.libraryAdds"):d.members.length===0?"":s("teamImport.newSection",{name:d.teamName??d.name})]}),A?et(A)==="add"?e.jsxs("button",{onClick:()=>{Ge(A)},disabled:S,"aria-label":s("orgLibrary.addAria",{name:A.name}),className:"flex shrink-0 items-center justify-center gap-2 rounded-full bg-accent px-5 py-2.5 text-[14px] font-medium text-white hover:bg-accent/90 disabled:opacity-60",children:[S&&e.jsx(C,{size:15,className:"animate-spin"}),S?s("orgLibrary.adding"):s("orgLibrary.add")]}):e.jsxs("span",{className:"flex shrink-0 items-center gap-1 rounded-full bg-raised px-4 py-2 text-[13px] text-ink-secondary",children:[e.jsx(be,{size:14,className:"text-success"}),s("orgLibrary.added")]}):e.jsxs("button",{onClick:()=>{ht()},disabled:S,className:"flex shrink-0 items-center justify-center gap-2 rounded-full bg-accent px-5 py-2.5 text-[14px] font-medium text-white hover:bg-accent/90 disabled:opacity-60",children:[S&&e.jsx(C,{size:15,className:"animate-spin"}),S?s("templates.importing"):d.kind==="backup"?s("templates.importBackup"):d.library?s("teamImport.addPresets"):s("templates.addTeam")]})]})]}):e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"flex flex-wrap items-center gap-3 px-6 pb-4 pt-5 sm:px-8",children:[e.jsxs("div",{className:"flex max-w-full flex-wrap rounded-xl bg-raised/70 p-1",role:"tablist","aria-label":s("templates.source"),children:[ee?.organization&&e.jsx("button",{role:"tab","aria-selected":x==="org",onClick:()=>{z.current=!0,f("org"),u("")},className:j("max-w-[220px] truncate rounded-lg px-4 py-2 text-[14px] transition-colors",x==="org"?"bg-card text-ink shadow-sm":"text-ink-secondary hover:text-ink"),children:s("orgLibrary.tab",{name:ee.organization.name})}),e.jsx("button",{role:"tab","aria-selected":x==="explore",onClick:()=>{z.current=!0,f("explore"),u("")},className:j("rounded-lg px-4 py-2 text-[14px] transition-colors",x==="explore"?"bg-card text-ink shadow-sm":"text-ink-secondary hover:text-ink"),children:s("templates.explore")}),e.jsx("button",{role:"tab","aria-selected":x==="import",onClick:()=>{z.current=!0,f("import"),u("")},className:j("rounded-lg px-4 py-2 text-[14px] transition-colors",x==="import"?"bg-card text-ink shadow-sm":"text-ink-secondary hover:text-ink"),children:s("templates.import")}),e.jsx("button",{role:"tab","aria-selected":x==="scout",onClick:()=>{z.current=!0,f("scout"),u("")},className:j("rounded-lg px-4 py-2 text-[14px] transition-colors",x==="scout"?"bg-card text-ink shadow-sm":"text-ink-secondary hover:text-ink"),children:s("templates.fromFolder")}),e.jsx("button",{role:"tab","aria-selected":x==="share",onClick:()=>{z.current=!0,f("share"),u("")},className:j("rounded-lg px-4 py-2 text-[14px] transition-colors",x==="share"?"bg-card text-ink shadow-sm":"text-ink-secondary hover:text-ink"),children:s("teamLibrary.shareTab")}),e.jsx("button",{role:"tab","aria-selected":x==="teams",onClick:()=>{z.current=!0,f("teams"),u("")},className:j("rounded-lg px-4 py-2 text-[14px] transition-colors",x==="teams"?"bg-card text-ink shadow-sm":"text-ink-secondary hover:text-ink"),children:w("Bản mẫu Nhóm","Team templates")})]}),e.jsxs("button",{type:"button",onClick:()=>{ut()},disabled:B,title:w("Tải lại mẫu Bot và mẫu nhóm Bot mới nhất từ kho","Reload the latest bot and team templates"),className:"flex h-10 shrink-0 items-center gap-1.5 rounded-xl bg-raised/70 px-3 text-[13px] font-medium text-ink hover:bg-raised-hover disabled:opacity-60",children:[e.jsx(Wt,{size:14,"aria-hidden":"true",className:B?"animate-spin":void 0}),B?w("Đang cập nhật","Updating"):w("Cập nhật","Update")]}),(x==="explore"||x==="teams")&&e.jsxs("label",{className:"flex h-11 w-full items-center gap-2.5 rounded-xl bg-raised/70 px-3.5 sm:ml-auto sm:w-[240px]",children:[e.jsx(kt,{size:17,className:"shrink-0 text-ink-secondary"}),e.jsx("input",{value:me,onChange:t=>nt(t.target.value),placeholder:s("templates.search"),"aria-label":s("templates.search"),className:"min-w-0 flex-1 bg-transparent text-[14px] text-ink placeholder:text-ink-secondary focus:outline-none"})]})]}),(q||T)&&e.jsx("p",{role:T?"alert":"status",className:j("px-6 pb-2 text-[13px] sm:px-8",T?"text-danger":"text-ink-secondary"),children:T||q}),e.jsxs("div",{className:"min-h-0 flex-1 overflow-y-auto px-6 pb-7 pt-5 sm:px-8",children:[x==="org"&&ee?.organization&&e.jsx(rs,{listing:ee,busy:ct,notice:dt,error:mt,onAdd:t=>{Ge(t)},onDetails:t=>{ft(t)}}),x==="explore"&&e.jsx(as,{revision:b,search:me,onDialog:ot,onAdded:a}),x==="teams"&&e.jsxs("div",{children:[E&&e.jsxs("div",{className:"flex items-center justify-center gap-2 py-24 text-[13px] text-ink-secondary",children:[e.jsx(C,{size:16,className:"animate-spin"})," ",s("templates.loading")]}),!E&&_&&e.jsxs("div",{className:"rounded-xl bg-danger/10 p-4 text-[13px] text-danger",children:[e.jsx("p",{children:_}),e.jsx("button",{onClick:()=>{re()},className:"mt-3 rounded-full bg-raised px-3.5 py-2 text-ink hover:bg-raised-hover",children:s("common.tryAgain")})]}),!E&&I&&e.jsx("div",{className:"grid grid-cols-1 gap-x-10 md:grid-cols-2",children:_e.map((t,r)=>{const n=tt(t);return e.jsxs("article",{className:"flex min-h-[104px] items-center gap-3 border-b border-hairline/35 px-1 py-4",children:[e.jsx(Xe,{index:r}),e.jsxs("div",{className:"min-w-0 flex-1",children:[e.jsx("h3",{className:"truncate text-[14px] font-medium text-ink",children:n.name}),e.jsx("p",{className:"mt-0.5 truncate text-[13px] text-ink-secondary",children:n.outcome??n.summary}),e.jsxs("p",{className:"mt-1 truncate text-[12px] text-ink-tertiary",children:[s("templates.botCount",{count:t.members})," · ",s("templates.playbookCount",{count:t.skills.length}),t.requires.apps.length>0&&` · ${t.requires.apps.join(", ")}`,t.setupMinutes&&` · ${s("templates.minutes",{count:t.setupMinutes})}`]})]}),e.jsxs("button",{onClick:()=>{gt(t)},disabled:oe!==null,className:"flex min-w-[72px] items-center justify-center gap-1.5 rounded-full bg-raised px-3.5 py-2 text-[13px] text-ink hover:bg-raised-hover disabled:opacity-40",children:[oe===t.slug&&e.jsx(C,{size:13,className:"animate-spin"}),oe===t.slug?s("templates.loadingShort"):s("templates.load")]})]},t.slug)})}),!E&&I&&_e.length===0&&e.jsxs("div",{className:"flex min-h-56 flex-col items-center justify-center text-center",children:[e.jsx("div",{className:"text-[14px] font-medium text-ink",children:s("templates.noneFound")}),e.jsx("div",{className:"mt-1 text-[13px] text-ink-secondary",children:s("templates.tryDifferentSearch")})]})]}),x==="import"&&e.jsxs("div",{children:[e.jsx("input",{ref:L,type:"file",accept:".md,.json,.mausbackup.json,.mausteam.json,text/markdown,application/json",className:"hidden",onChange:t=>{const r=t.currentTarget.files?.[0];t.currentTarget.value="",r&&De(r).catch(n=>u(n instanceof Error?n.message:String(n)))}}),e.jsx("div",{className:"mb-3 text-[12px] font-medium text-ink-secondary",children:s("templates.bringYourOwn")}),e.jsxs("div",{className:"grid gap-5 md:grid-cols-2",children:[e.jsxs("button",{onClick:()=>L.current?.click(),onDragEnter:t=>{t.preventDefault(),de(!0)},onDragOver:t=>t.preventDefault(),onDragLeave:()=>de(!1),onDrop:t=>{t.preventDefault(),de(!1);const r=t.dataTransfer.files[0];r&&De(r).catch(n=>u(n instanceof Error?n.message:String(n)))},className:j("flex min-h-56 flex-col items-center justify-center rounded-2xl border border-dashed px-6 text-center transition-colors",rt?"border-accent bg-accent/5":"border-hairline/60 bg-raised/20 hover:bg-raised/35"),children:[e.jsx(St,{size:27,className:"text-accent"}),e.jsx("span",{className:"mt-3 text-[14px] font-medium text-ink",children:s("templates.chooseFile")}),e.jsx("span",{className:"mt-1 text-[13px] text-ink-secondary",children:s("templates.dropFile")})]}),e.jsxs("div",{className:"flex min-h-56 flex-col justify-center rounded-2xl bg-raised/25 px-6",children:[e.jsx(He,{size:25,className:"text-ink-secondary"}),e.jsx("h3",{className:"mt-3 text-[14px] font-medium text-ink",children:s("templates.loadGithub")}),e.jsx("p",{className:"mt-1 text-[13px] leading-relaxed text-ink-secondary",children:s("templates.githubHint")}),e.jsxs("div",{className:"mt-4 flex gap-2",children:[e.jsx("input",{value:ce,onChange:t=>je(t.target.value),onKeyDown:t=>t.key==="Enter"&&void $e(),placeholder:s("templates.githubPlaceholder"),"aria-label":s("templates.githubUrl"),className:"min-w-0 flex-1 rounded-xl bg-raised/80 px-3 py-2.5 text-[13px] text-ink placeholder:text-ink-secondary focus:outline-none"}),e.jsxs("button",{onClick:()=>{$e()},disabled:!ce.trim()||ke,className:"flex items-center gap-1.5 rounded-full bg-accent px-4 py-2.5 text-[13px] font-medium text-white hover:bg-accent/90 disabled:opacity-40",children:[ke&&e.jsx(C,{size:13,className:"animate-spin"}),s("templates.load")]})]})]})]}),P&&e.jsx("div",{role:"alert",className:"mt-4 rounded-lg bg-danger/10 px-3 py-2 text-[13px] text-danger",children:P})]}),x==="share"&&e.jsxs("div",{children:[e.jsx("p",{className:"max-w-2xl text-[13px] leading-relaxed text-ink-secondary",children:s("teamLibrary.shareIntro")}),Ae.length===0?e.jsx("p",{className:"mt-6 text-[13px] text-ink-secondary",children:s("teamLibrary.shareEmpty")}):e.jsx("div",{className:"mt-4 grid grid-cols-1 gap-x-10 md:grid-cols-2",children:Ae.map((t,r)=>e.jsxs("article",{className:"flex min-h-[84px] items-center gap-3 border-b border-hairline/35 px-1 py-4",children:[e.jsx(Xe,{index:r}),e.jsxs("div",{className:"min-w-0 flex-1",children:[e.jsx("h3",{className:"truncate text-[14px] font-medium text-ink",children:t.name||s("teamLibrary.general")}),e.jsx("p",{className:"mt-0.5 text-[13px] text-ink-secondary",children:s("teamLibrary.shareBots",{count:t.bots})})]}),e.jsxs("button",{onClick:()=>Ie(t.name),"aria-label":s("teamLibrary.shareTeamAria",{name:t.name||s("teamLibrary.general")}),className:"flex items-center gap-1.5 rounded-full bg-raised px-3.5 py-2 text-[13px] text-ink hover:bg-raised-hover",children:[e.jsx(Dt,{size:13}),s("teamLibrary.shareTeam")]})]},t.name||"general"))})]}),x==="scout"&&e.jsxs("div",{children:[e.jsx("div",{className:"mb-3 text-[12px] font-medium text-ink-secondary",children:s("templates.startFolder")}),e.jsx("p",{className:"max-w-2xl text-[13px] leading-relaxed text-ink-secondary",children:s("templates.scoutHint")}),e.jsxs("div",{className:"mt-4 flex flex-col gap-2 sm:flex-row",children:[e.jsx("input",{value:ve,onChange:t=>we(t.target.value),onKeyDown:t=>t.key==="Enter"&&H&&void ge(H),placeholder:"/path/to/your/project","aria-label":s("templates.projectFolder"),className:"min-w-0 flex-1 rounded-xl bg-raised/80 px-3 py-2.5 text-[13px] text-ink placeholder:text-ink-secondary focus:outline-none"}),!!window.ogb?.pickFolder&&e.jsxs("button",{onClick:()=>{bt()},disabled:X,className:"flex items-center justify-center gap-1.5 rounded-full bg-raised px-4 py-2.5 text-[13px] text-ink hover:bg-raised-hover disabled:opacity-40",children:[e.jsx($t,{size:14}),s("templates.browse")]}),e.jsxs("button",{onClick:()=>{ge(H)},disabled:!H||X,className:"flex items-center justify-center gap-1.5 rounded-full bg-accent px-4 py-2.5 text-[13px] font-medium text-white hover:bg-accent/90 disabled:opacity-40",children:[X?e.jsx(C,{size:14,className:"animate-spin"}):e.jsx(Ft,{size:14}),X?s("templates.scouting"):s("templates.scout")]})]}),k&&e.jsxs("div",{className:"mt-6",children:[e.jsxs("div",{className:"rounded-2xl bg-raised/25 px-5 py-4",children:[e.jsx("div",{className:"text-[15px] font-semibold text-ink",children:k.profile.name}),k.profile.summary&&e.jsx("p",{className:"mt-1 text-[13px] leading-relaxed text-ink-secondary",children:k.profile.summary}),k.profile.stacks.length>0&&e.jsx("div",{className:"mt-2.5 flex flex-wrap gap-1.5",children:k.profile.stacks.map(t=>e.jsx("span",{className:"rounded-full bg-raised px-2.5 py-1 text-[12px] text-ink-secondary",children:t},t))})]}),e.jsx("div",{className:"mt-5 text-[12px] font-medium text-ink-secondary",children:s("templates.suggestedTeam")}),e.jsx("div",{className:"mt-1 grid grid-cols-1 gap-x-10 md:grid-cols-2",children:k.suggestion.manifest.team.members.map((t,r)=>e.jsxs("div",{className:"flex min-h-[64px] items-center gap-3 border-b border-hairline/35 px-1 py-3",children:[e.jsx("div",{className:j("flex size-9 shrink-0 items-center justify-center rounded-lg text-[13px] font-semibold",F[r%F.length]),children:t.name.slice(0,1).toUpperCase()}),e.jsxs("div",{className:"min-w-0",children:[e.jsxs("div",{className:"truncate text-[14px] font-medium text-ink",children:[t.name," ",e.jsxs("span",{className:"font-normal text-ink-secondary",children:["· ",t.title]})]}),e.jsx("div",{className:"mt-0.5 truncate text-[12px] text-ink-secondary",children:k.suggestion.reasons[t.key]??""})]})]},t.key))}),Q&&Q.length>0&&e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"mt-5 text-[12px] font-medium text-ink-secondary",children:s("templates.communityDirectory")}),e.jsx("div",{className:"mt-1 flex flex-col",children:Q.map(t=>e.jsxs("div",{className:"flex items-center gap-3 border-b border-hairline/35 px-1 py-3",children:[e.jsxs("label",{className:"flex min-w-0 flex-1 cursor-pointer items-center gap-3",children:[e.jsx("input",{type:"checkbox",checked:Le.has(t.slug),onChange:()=>Be(r=>{const n=new Set(r);return n.has(t.slug)?n.delete(t.slug):n.add(t.slug),n}),className:"size-4 accent-accent"}),e.jsxs("div",{className:"min-w-0 flex-1",children:[e.jsxs("div",{className:"truncate text-[14px] font-medium text-ink",children:[t.name,t.category&&e.jsxs("span",{className:"font-normal text-ink-secondary",children:[" · ",t.category]})]}),e.jsx("div",{className:"mt-0.5 truncate text-[12px] text-ink-secondary",children:s("templates.matches",{values:t.matched.join(", ")})})]})]}),e.jsx("button",{onClick:()=>{We(t.detailUrl)},"aria-label":s("templates.openDirectory",{name:t.name}),title:s("templates.readBeforeAdding"),className:"rounded-lg p-1.5 text-ink-secondary hover:bg-raised hover:text-ink",children:e.jsx(Ue,{size:14})})]},t.slug))})]}),e.jsxs("div",{className:"mt-6 flex flex-col gap-3 sm:flex-row sm:items-center",children:[e.jsx("input",{value:Ee,onChange:t=>ze(t.target.value),"aria-label":s("templates.groupChatName"),className:"min-w-0 flex-1 rounded-xl bg-raised/80 px-3 py-2.5 text-[13px] text-ink placeholder:text-ink-secondary focus:outline-none"}),e.jsxs("button",{onClick:()=>{yt()},disabled:V,className:"flex shrink-0 items-center justify-center gap-2 rounded-full bg-accent px-5 py-2.5 text-[14px] font-medium text-white hover:bg-accent/90 disabled:opacity-60",children:[V&&e.jsx(C,{size:15,className:"animate-spin"}),V?s("templates.creating"):s("templates.createGroupChat")]})]}),e.jsx("p",{className:"mt-2 text-[12px] text-ink-secondary",children:s("templates.createGroupHint")})]}),P&&e.jsx("div",{role:"alert",className:"mt-4 rounded-lg bg-danger/10 px-3 py-2 text-[13px] text-danger",children:P})]})]})]})]}),Z!==null&&e.jsx(Jt,{team:Z,onClose:()=>Ie(null)})]}),document.body)}export{Vt as TeamImportDetails,ys as TeamLibraryPanel,ls as shareableTeamList};
|