@celljs/ta 4.14.0 → 4.15.0
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/cli.mjs +29 -4
- package/dist/gateway.mjs +156 -46
- package/dist/pi/CHANGELOG.md +6 -0
- package/dist/pi/package.json +1 -1
- package/dist/pi/packages/ta-agents/extension/index.mjs +50 -21
- package/dist/pi/packages/ta-agents/lib/texts.d.ts +43 -22
- package/dist/pi/packages/ta-agents/lib/texts.js +54 -21
- package/dist/pi/packages/ta-agents/package.json +7 -3
- package/dist/pi/packages/ta-bots/extension/index.mjs +81 -10
- package/dist/pi/packages/ta-bots/host/index.mjs +132 -49
- package/dist/pi/packages/ta-bots/lib/i18n.d.ts +3 -0
- package/dist/pi/packages/ta-bots/lib/i18n.js +167 -2
- package/dist/pi/packages/ta-bots/lib/server-texts.d.ts +0 -1
- package/dist/pi/packages/ta-bots/lib/server-texts.js +45 -12
- package/dist/pi/packages/ta-bots/package.json +7 -3
- package/dist/pi/packages/ta-bots/web/index.js +203 -1
- package/dist/pi/packages/ta-changes/lib/i18n.d.ts +3 -0
- package/dist/pi/packages/ta-changes/lib/i18n.js +51 -2
- package/dist/pi/packages/ta-changes/package.json +7 -3
- package/dist/pi/packages/ta-changes/web/index.js +87 -1
- package/dist/pi/packages/ta-channels/extension/index.mjs +78 -13
- package/dist/pi/packages/ta-channels/host/index.mjs +121 -56
- package/dist/pi/packages/ta-channels/lib/agent-cards.d.ts +2 -1
- package/dist/pi/packages/ta-channels/lib/agent-cards.js +4 -3
- package/dist/pi/packages/ta-channels/lib/handoff.d.ts +5 -4
- package/dist/pi/packages/ta-channels/lib/handoff.js +22 -6
- package/dist/pi/packages/ta-channels/lib/i18n.d.ts +3 -0
- package/dist/pi/packages/ta-channels/lib/i18n.js +361 -2
- package/dist/pi/packages/ta-channels/lib/team-ask.d.ts +2 -1
- package/dist/pi/packages/ta-channels/lib/team-ask.js +19 -7
- package/dist/pi/packages/ta-channels/lib/team.d.ts +2 -2
- package/dist/pi/packages/ta-channels/lib/team.js +1 -1
- package/dist/pi/packages/ta-channels/package.json +7 -3
- package/dist/pi/packages/ta-channels/web/index.js +482 -47
- package/dist/pi/packages/ta-computer-use/extension/index.mjs +11 -1
- package/dist/pi/packages/ta-computer-use/lib/cua-driver-access.js +20 -2
- package/dist/pi/packages/ta-computer-use/package.json +7 -3
- package/dist/pi/packages/ta-cron/extension/index.mjs +82 -8
- package/dist/pi/packages/ta-cron/host/index.mjs +67 -3
- package/dist/pi/packages/ta-cron/lib/editor.js +1 -1
- package/dist/pi/packages/ta-cron/lib/i18n.d.ts +3 -0
- package/dist/pi/packages/ta-cron/lib/i18n.js +217 -2
- package/dist/pi/packages/ta-cron/lib/page.js +14 -4
- package/dist/pi/packages/ta-cron/lib/schedule-util.js +29 -3
- package/dist/pi/packages/ta-cron/lib/server-texts.d.ts +2 -1
- package/dist/pi/packages/ta-cron/lib/server-texts.js +16 -9
- package/dist/pi/packages/ta-cron/package.json +7 -3
- package/dist/pi/packages/ta-cron/web/index.js +294 -10
- package/dist/pi/packages/ta-extensions/lib/i18n.d.ts +3 -0
- package/dist/pi/packages/ta-extensions/lib/i18n.js +240 -2
- package/dist/pi/packages/ta-extensions/package.json +7 -3
- package/dist/pi/packages/ta-extensions/skills/ta-package/SKILL.md +1 -0
- package/dist/pi/packages/ta-extensions/web/index.js +329 -42
- package/dist/pi/packages/ta-games/README.en.md +1 -1
- package/dist/pi/packages/ta-games/README.md +1 -1
- package/dist/pi/packages/ta-games/lib/i18n.d.ts +3 -0
- package/dist/pi/packages/ta-games/lib/i18n.js +61 -2
- package/dist/pi/packages/ta-games/package.json +7 -3
- package/dist/pi/packages/ta-games/skills/ta-game/SKILL.md +41 -3
- package/dist/pi/packages/ta-games/web/index.js +97 -1
- package/dist/pi/packages/ta-glance/extension/index.mjs +31 -13
- package/dist/pi/packages/ta-glance/lib/glance-json.d.ts +2 -0
- package/dist/pi/packages/ta-glance/lib/glance-json.js +38 -16
- package/dist/pi/packages/ta-glance/lib/i18n.d.ts +3 -0
- package/dist/pi/packages/ta-glance/lib/i18n.js +31 -2
- package/dist/pi/packages/ta-glance/package.json +7 -3
- package/dist/pi/packages/ta-glance/web/index.js +98 -14
- package/dist/pi/packages/ta-initiative/extension/index.mjs +89 -9
- package/dist/pi/packages/ta-initiative/host/index.mjs +120 -19
- package/dist/pi/packages/ta-initiative/lib/chat-kinds.js +15 -3
- package/dist/pi/packages/ta-initiative/lib/cron-proposals.js +20 -3
- package/dist/pi/packages/ta-initiative/lib/event-proposals.d.ts +2 -1
- package/dist/pi/packages/ta-initiative/lib/event-proposals.js +20 -6
- package/dist/pi/packages/ta-initiative/lib/i18n.d.ts +3 -0
- package/dist/pi/packages/ta-initiative/lib/i18n.js +151 -2
- package/dist/pi/packages/ta-initiative/lib/inbox.js +2 -1
- package/dist/pi/packages/ta-initiative/lib/initiative-protocol.d.ts +13 -4
- package/dist/pi/packages/ta-initiative/lib/initiative-protocol.js +11 -1
- package/dist/pi/packages/ta-initiative/lib/initiative-service.js +1 -1
- package/dist/pi/packages/ta-initiative/lib/material-util.d.ts +2 -1
- package/dist/pi/packages/ta-initiative/lib/material-util.js +9 -3
- package/dist/pi/packages/ta-initiative/lib/review-service.js +1 -1
- package/dist/pi/packages/ta-initiative/lib/server-texts.d.ts +2 -1
- package/dist/pi/packages/ta-initiative/lib/server-texts.js +11 -4
- package/dist/pi/packages/ta-initiative/lib/settings.js +2 -3
- package/dist/pi/packages/ta-initiative/package.json +7 -3
- package/dist/pi/packages/ta-initiative/web/index.js +197 -5
- package/dist/pi/packages/ta-launcher/lib/i18n.d.ts +3 -0
- package/dist/pi/packages/ta-launcher/lib/i18n.js +71 -2
- package/dist/pi/packages/ta-launcher/package.json +7 -3
- package/dist/pi/packages/ta-launcher/web/index.js +107 -1
- package/dist/pi/packages/ta-manual/README.en.md +1 -1
- package/dist/pi/packages/ta-manual/README.md +1 -1
- package/dist/pi/packages/ta-manual/lib/i18n.d.ts +3 -0
- package/dist/pi/packages/ta-manual/lib/i18n.js +21 -2
- package/dist/pi/packages/ta-manual/lib/manual-util.js +2 -1
- package/dist/pi/packages/ta-manual/lib/pictures-c.js +30 -0
- package/dist/pi/packages/ta-manual/lib/topics.d.ts +4 -0
- package/dist/pi/packages/ta-manual/lib/topics.js +188 -71
- package/dist/pi/packages/ta-manual/package.json +7 -3
- package/dist/pi/packages/ta-manual/skills/ta-manual/SKILL.md +9 -0
- package/dist/pi/packages/ta-manual/web/index.js +405 -119
- package/dist/pi/packages/ta-moments/extension/index.mjs +242 -102
- package/dist/pi/packages/ta-moments/host/index.mjs +268 -115
- package/dist/pi/packages/ta-moments/lib/i18n.d.ts +3 -0
- package/dist/pi/packages/ta-moments/lib/i18n.js +170 -3
- package/dist/pi/packages/ta-moments/lib/moments-host.js +24 -11
- package/dist/pi/packages/ta-moments/lib/page.js +4 -2
- package/dist/pi/packages/ta-moments/lib/server-texts.d.ts +10 -12
- package/dist/pi/packages/ta-moments/lib/server-texts.js +128 -62
- package/dist/pi/packages/ta-moments/lib/talk-host.js +29 -8
- package/dist/pi/packages/ta-moments/package.json +7 -3
- package/dist/pi/packages/ta-moments/web/index.js +260 -43
- package/dist/pi/packages/ta-nearby/extension/index.mjs +229 -32
- package/dist/pi/packages/ta-nearby/host/index.mjs +248 -35
- package/dist/pi/packages/ta-nearby/lib/i18n.d.ts +3 -0
- package/dist/pi/packages/ta-nearby/lib/i18n.js +173 -2
- package/dist/pi/packages/ta-nearby/lib/nearby-service.d.ts +2 -4
- package/dist/pi/packages/ta-nearby/lib/nearby-service.js +21 -3
- package/dist/pi/packages/ta-nearby/lib/page.js +5 -4
- package/dist/pi/packages/ta-nearby/lib/server-texts.d.ts +5 -13
- package/dist/pi/packages/ta-nearby/lib/server-texts.js +194 -42
- package/dist/pi/packages/ta-nearby/package.json +7 -3
- package/dist/pi/packages/ta-nearby/web/index.js +213 -5
- package/dist/pi/packages/ta-notify/extension/index.mjs +54 -5
- package/dist/pi/packages/ta-notify/lib/i18n.d.ts +3 -0
- package/dist/pi/packages/ta-notify/lib/i18n.js +53 -2
- package/dist/pi/packages/ta-notify/lib/server-texts.d.ts +2 -1
- package/dist/pi/packages/ta-notify/lib/server-texts.js +16 -5
- package/dist/pi/packages/ta-notify/package.json +7 -3
- package/dist/pi/packages/ta-notify/web/index.js +89 -1
- package/dist/pi/packages/ta-recall/extension/index.mjs +52 -2
- package/dist/pi/packages/ta-recall/host/index.mjs +136 -55
- package/dist/pi/packages/ta-recall/lib/brief-util.d.ts +6 -3
- package/dist/pi/packages/ta-recall/lib/brief-util.js +26 -5
- package/dist/pi/packages/ta-recall/lib/extension-util.d.ts +2 -1
- package/dist/pi/packages/ta-recall/lib/extension-util.js +7 -1
- package/dist/pi/packages/ta-recall/lib/i18n.d.ts +3 -0
- package/dist/pi/packages/ta-recall/lib/i18n.js +89 -2
- package/dist/pi/packages/ta-recall/lib/keep-util.d.ts +2 -1
- package/dist/pi/packages/ta-recall/lib/keep-util.js +8 -1
- package/dist/pi/packages/ta-recall/lib/recall-service.js +5 -3
- package/dist/pi/packages/ta-recall/lib/server-texts.d.ts +2 -3
- package/dist/pi/packages/ta-recall/lib/server-texts.js +15 -8
- package/dist/pi/packages/ta-recall/package.json +7 -3
- package/dist/pi/packages/ta-recall/web/index.js +164 -9
- package/dist/pi/packages/ta-rooms/extension/index.mjs +60 -3
- package/dist/pi/packages/ta-rooms/host/index.mjs +284 -37
- package/dist/pi/packages/ta-rooms/lib/dialogs.js +2 -1
- package/dist/pi/packages/ta-rooms/lib/double-agents.js +31 -7
- package/dist/pi/packages/ta-rooms/lib/double-grants.js +57 -13
- package/dist/pi/packages/ta-rooms/lib/double-host.js +31 -5
- package/dist/pi/packages/ta-rooms/lib/double-i18n.d.ts +3 -0
- package/dist/pi/packages/ta-rooms/lib/double-i18n.js +201 -2
- package/dist/pi/packages/ta-rooms/lib/double-tasks.d.ts +2 -1
- package/dist/pi/packages/ta-rooms/lib/double-tasks.js +93 -21
- package/dist/pi/packages/ta-rooms/lib/double-user.js +1 -1
- package/dist/pi/packages/ta-rooms/lib/double-util.d.ts +1 -1
- package/dist/pi/packages/ta-rooms/lib/double-util.js +22 -3
- package/dist/pi/packages/ta-rooms/lib/doubles-store.js +2 -1
- package/dist/pi/packages/ta-rooms/lib/friend-notices.js +27 -8
- package/dist/pi/packages/ta-rooms/lib/i18n.d.ts +3 -0
- package/dist/pi/packages/ta-rooms/lib/i18n.js +243 -2
- package/dist/pi/packages/ta-rooms/package.json +7 -3
- package/dist/pi/packages/ta-rooms/web/index.js +479 -4
- package/dist/pi/packages/ta-share/extension/index.mjs +98 -23
- package/dist/pi/packages/ta-share/lib/i18n.d.ts +3 -0
- package/dist/pi/packages/ta-share/lib/i18n.js +203 -2
- package/dist/pi/packages/ta-share/lib/page.js +1 -1
- package/dist/pi/packages/ta-share/lib/server-texts.d.ts +2 -1
- package/dist/pi/packages/ta-share/lib/server-texts.js +60 -29
- package/dist/pi/packages/ta-share/package.json +7 -3
- package/dist/pi/packages/ta-share/web/index.js +240 -2
- package/dist/pi/packages/ta-sync/host/index.mjs +170 -25
- package/dist/pi/packages/ta-sync/lib/i18n.d.ts +3 -0
- package/dist/pi/packages/ta-sync/lib/i18n.js +173 -2
- package/dist/pi/packages/ta-sync/lib/migrate-i18n.d.ts +3 -0
- package/dist/pi/packages/ta-sync/lib/migrate-i18n.js +183 -2
- package/dist/pi/packages/ta-sync/lib/server-texts.d.ts +0 -1
- package/dist/pi/packages/ta-sync/lib/server-texts.js +132 -35
- package/dist/pi/packages/ta-sync/package.json +7 -3
- package/dist/pi/packages/ta-sync/web/index.js +389 -2
- package/dist/pi/packages/ta-sync-cloud/host/index.mjs +52 -23
- package/dist/pi/packages/ta-sync-cloud/lib/host.js +49 -20
- package/dist/pi/packages/ta-sync-cloud/package.json +7 -3
- package/dist/pi/packages/ta-team/README.en.md +1 -1
- package/dist/pi/packages/ta-team/README.md +1 -1
- package/dist/pi/packages/ta-team/extension/index.mjs +86 -37
- package/dist/pi/packages/ta-team/host/index.mjs +130 -43
- package/dist/pi/packages/ta-team/lib/dialogs.js +62 -6
- package/dist/pi/packages/ta-team/lib/i18n.d.ts +7 -1
- package/dist/pi/packages/ta-team/lib/i18n.js +431 -8
- package/dist/pi/packages/ta-team/lib/member-dialog.js +30 -25
- package/dist/pi/packages/ta-team/lib/page.js +5 -1
- package/dist/pi/packages/ta-team/lib/style.d.ts +1 -1
- package/dist/pi/packages/ta-team/lib/style.js +11 -4
- package/dist/pi/packages/ta-team/lib/team-invites.d.ts +14 -8
- package/dist/pi/packages/ta-team/lib/team-invites.js +38 -6
- package/dist/pi/packages/ta-team/package.json +7 -3
- package/dist/pi/packages/ta-team/web/index.js +677 -96
- package/dist/pi/packages/ta-workspace/lib/i18n.d.ts +3 -0
- package/dist/pi/packages/ta-workspace/lib/i18n.js +417 -1
- package/dist/pi/packages/ta-workspace/package.json +7 -3
- package/dist/pi/packages/ta-workspace/web/index.js +504 -40
- package/dist/public/assets/GLTFLoader-C8PT6dAj.js +1 -0
- package/dist/public/assets/SkeletonUtils-BBAzQdty.js +1 -0
- package/dist/public/assets/{abnfDiagram-S7VZAUFO-DMceNIR5.js → abnfDiagram-S7VZAUFO-sclOP11q.js} +1 -1
- package/dist/public/assets/{architecture-WOLXFQ4H-5AdYeEv8.js → architecture-WOLXFQ4H-Bitg4Dpy.js} +1 -1
- package/dist/public/assets/{architectureDiagram-YGSQEFNW-CqkJHg0A.js → architectureDiagram-YGSQEFNW-Hc0W5khF.js} +1 -1
- package/dist/public/assets/{blockDiagram-APKKGZFW-BtuHdIjQ.js → blockDiagram-APKKGZFW-D2ZWatLV.js} +1 -1
- package/dist/public/assets/{browser-Ds5TwWWr.js → browser-D-etIMuL.js} +1 -1
- package/dist/public/assets/{c4Diagram-KJ2TOQU5-eebbjTgZ.js → c4Diagram-KJ2TOQU5-CWEcyfwV.js} +1 -1
- package/dist/public/assets/{chunk-6MUBBAK2-BjMKSfTf.js → chunk-6MUBBAK2-CWbrJHxK.js} +1 -1
- package/dist/public/assets/{chunk-AXFCVDMN-BElluw_7.js → chunk-AXFCVDMN-DJQdD4iX.js} +1 -1
- package/dist/public/assets/{chunk-BG4553SI-CUDwpWNL.js → chunk-BG4553SI-CYiiJcBj.js} +1 -1
- package/dist/public/assets/{chunk-DQASFODM-B-92o8Uj.js → chunk-DQASFODM-NrNC1UeX.js} +1 -1
- package/dist/public/assets/{chunk-HFQBQIA3-pveEMcXK.js → chunk-HFQBQIA3-BIHXOwS2.js} +1 -1
- package/dist/public/assets/{chunk-KQLB2F66-m7DKNjYW.js → chunk-KQLB2F66-CcU_AFwQ.js} +1 -1
- package/dist/public/assets/{chunk-KS47KZWR-CnSSETdj.js → chunk-KS47KZWR-DGfNbbcL.js} +1 -1
- package/dist/public/assets/{chunk-LEVMRMFU-Ds7OnJrC.js → chunk-LEVMRMFU-B4PSS_Pp.js} +1 -1
- package/dist/public/assets/{chunk-M57EVK23-PJSYCuUh.js → chunk-M57EVK23-1555_mm4.js} +1 -1
- package/dist/public/assets/{chunk-OY52VR5R-C3ygRwSC.js → chunk-OY52VR5R-zbNEbYJ8.js} +1 -1
- package/dist/public/assets/{chunk-QB3YPZ4I-DcFtmZh7.js → chunk-QB3YPZ4I-C-nNDGuN.js} +1 -1
- package/dist/public/assets/{chunk-R3KSYZAL-B4BOidE6.js → chunk-R3KSYZAL-DcXXuhbl.js} +1 -1
- package/dist/public/assets/{chunk-STOXU5M4-DcXfwN7k.js → chunk-STOXU5M4-Bb77QkUj.js} +1 -1
- package/dist/public/assets/{chunk-TU62E6Q5-B-rpQQxX.js → chunk-TU62E6Q5-D8IJkNq5.js} +1 -1
- package/dist/public/assets/{chunk-X4PVCEUW-BBtlFSw1.js → chunk-X4PVCEUW-BzejexgB.js} +1 -1
- package/dist/public/assets/{chunk-XXDRQBXY-Do8BIocv.js → chunk-XXDRQBXY-D2GPHyll.js} +1 -1
- package/dist/public/assets/{classDiagram-v2-L25IHNXF-bhGAODMS.js → classDiagram-v2-L25IHNXF-CUEzxxI8.js} +1 -1
- package/dist/public/assets/{cose-bilkent-JH36ORCC-B7Qv6Hv_.js → cose-bilkent-JH36ORCC-CJdgJyUw.js} +1 -1
- package/dist/public/assets/cynefin-EF2NZ3EQ-DBnkPRHn.js +1 -0
- package/dist/public/assets/{cynefinDiagram-L36ESFBY-BX-R5Z6L.js → cynefinDiagram-L36ESFBY-D0F_9jN8.js} +1 -1
- package/dist/public/assets/{d3-selection-D3xgEEla.js → d3-selection-BoARy1rP.js} +1 -1
- package/dist/public/assets/{dagre-SPEB5RXH-MfJ9yO0v.js → dagre-SPEB5RXH-CzI5gZOv.js} +1 -1
- package/dist/public/assets/{diagram-3B7GL73J-DxFRc2vC.js → diagram-3B7GL73J-BCtNcE7M.js} +1 -1
- package/dist/public/assets/{diagram-DNEMPZML-BcBwOLbM.js → diagram-DNEMPZML-DV9U4KeH.js} +1 -1
- package/dist/public/assets/{diagram-L3MUGCDN--Rw-isPI.js → diagram-L3MUGCDN-DHU45Sd4.js} +1 -1
- package/dist/public/assets/{diagram-LA4NIPWU-DXkY85UN.js → diagram-LA4NIPWU-Ba5oVP56.js} +1 -1
- package/dist/public/assets/{diagram-MHCOC4E2-CbNmfAid.js → diagram-MHCOC4E2-B1Nk6qet.js} +1 -1
- package/dist/public/assets/{diagram-XPFHEONP-D1nGQjzf.js → diagram-XPFHEONP-DFwA3q09.js} +1 -1
- package/dist/public/assets/{dist-B1JMTrET.js → dist-Col1xVDT.js} +1 -1
- package/dist/public/assets/{ebnfDiagram-UZSYDL2S-DGXbVfke.js → ebnfDiagram-UZSYDL2S-BuBgxBJ2.js} +1 -1
- package/dist/public/assets/{editor.api-e3yQoo1r.js → editor.api-BLlyFz5x.js} +1 -1
- package/dist/public/assets/{elk-XV6XMXQE-pA-iT6fg.js → elk-XV6XMXQE-BPEI--zX.js} +1 -1
- package/dist/public/assets/{erDiagram-EYBAPDEH-BpgBun7y.js → erDiagram-EYBAPDEH-Cci0kYUw.js} +1 -1
- package/dist/public/assets/{eventmodeling-K75KTNOO-CVfyCcul.js → eventmodeling-K75KTNOO-B0eT5X1_.js} +1 -1
- package/dist/public/assets/flowDiagram-MALGAFMO-CmMdmAxj.js +1 -0
- package/dist/public/assets/{freemarker2-dYGec-fT.js → freemarker2-CAZGFA3W.js} +1 -1
- package/dist/public/assets/{ganttDiagram-23REXITY-DjLTTWwA.js → ganttDiagram-23REXITY-DEm85e1I.js} +1 -1
- package/dist/public/assets/gitGraph-VSP46ZUC-DKo3OVhR.js +1 -0
- package/dist/public/assets/{gitGraphDiagram-STJD7YCW-D9m7IVyJ.js → gitGraphDiagram-STJD7YCW-DJAZD2LR.js} +1 -1
- package/dist/public/assets/{handlebars-Bxerz7ci.js → handlebars-Agkl4nGr.js} +1 -1
- package/dist/public/assets/{html-DlVnGsdp.js → html-Cu-CsqZI.js} +1 -1
- package/dist/public/assets/{index-CZmGe9gc.js → index-TeLHaE4u.js} +2 -2
- package/dist/public/assets/info-OHQRW6UA-tKl26QqM.js +1 -0
- package/dist/public/assets/{infoDiagram-KBXO4MBG-DoYdhkAy.js → infoDiagram-KBXO4MBG-4zHsBnIy.js} +1 -1
- package/dist/public/assets/{ishikawaDiagram-M35NCXHK-Bc0GAInW.js → ishikawaDiagram-M35NCXHK-Bg8OYLGr.js} +1 -1
- package/dist/public/assets/ja-BHBiml1x.js +12 -0
- package/dist/public/assets/{javascript-DZrowo_I.js → javascript-BdMDRX8l.js} +1 -1
- package/dist/public/assets/{journeyDiagram-OPLOXDXO-BM7Dwstu.js → journeyDiagram-OPLOXDXO-B2xtzmpE.js} +1 -1
- package/dist/public/assets/{jsonMode-Bs30wPr5.js → jsonMode-Dg92qQvX.js} +1 -1
- package/dist/public/assets/{kanban-definition-BZKZHSQY-CO-Crrdu.js → kanban-definition-BZKZHSQY-DQ4N7t_w.js} +1 -1
- package/dist/public/assets/{liquid-dLz9d3ax.js → liquid-BydEnYkh.js} +1 -1
- package/dist/public/assets/{mdx-DO0x92Kn.js → mdx-XZXeM7ll.js} +1 -1
- package/dist/public/assets/{mermaid-parser.core-BXwArNvw.js → mermaid-parser.core-H24--uw9.js} +3 -3
- package/dist/public/assets/{mermaid.core-C6mppfDC.js → mermaid.core-BmCrSjUU.js} +4 -4
- package/dist/public/assets/meshopt_decoder.module-DXTYc6wn.js +1 -0
- package/dist/public/assets/{mindmap-definition-I2QAS2VK-vcQ2EU4T.js → mindmap-definition-I2QAS2VK-CGQXKItp.js} +1 -1
- package/dist/public/assets/module-1mERtQ0Z.js +1 -0
- package/dist/public/assets/module-BxIQdJqY.js +2449 -0
- package/dist/public/assets/{monaco-J_Pr5zjk.js → monaco-DP8M_Ttp.js} +3 -3
- package/dist/public/assets/packet-JDAUHWVQ-CnBx3hR7.js +1 -0
- package/dist/public/assets/{pegDiagram-FD4XPPHP-DPDrbtS2.js → pegDiagram-FD4XPPHP-CXKRGFUs.js} +1 -1
- package/dist/public/assets/pie-XZMESJXO-hogxgeR2.js +1 -0
- package/dist/public/assets/{pieDiagram-J4AKIIQI-DXuaepGJ.js → pieDiagram-J4AKIIQI-9XEDP1wR.js} +1 -1
- package/dist/public/assets/{python-nnmIOv4s.js → python-C-0PA82u.js} +1 -1
- package/dist/public/assets/{quadrantDiagram-XTYBLID2-BuD_-coZ.js → quadrantDiagram-XTYBLID2-C-uxTp-5.js} +1 -1
- package/dist/public/assets/radar-ABXABTNO-CdWiN8Cw.js +1 -0
- package/dist/public/assets/railroad-I3PHUGI6-DnYOBI5V.js +1 -0
- package/dist/public/assets/{railroad-abnf-LNEFI6M7-CkCl68xY.js → railroad-abnf-LNEFI6M7-CTft_ST0.js} +1 -1
- package/dist/public/assets/{railroad-ebnf-DWYD2UWJ-DO3GiRv6.js → railroad-ebnf-DWYD2UWJ-DfRJhL7G.js} +1 -1
- package/dist/public/assets/{railroad-peg-JR7BVNR7-DZBsKy4P.js → railroad-peg-JR7BVNR7-DFePx4YD.js} +1 -1
- package/dist/public/assets/{railroadDiagram-MRQ6NCDL-BeLq7Mqp.js → railroadDiagram-MRQ6NCDL-BmK1KUsT.js} +1 -1
- package/dist/public/assets/{razor-l2rRITgB.js → razor-DEKNSiT7.js} +1 -1
- package/dist/public/assets/{requirementDiagram-Y7LWUY3S-BBizkrON.js → requirementDiagram-Y7LWUY3S-Ds27pS9Y.js} +1 -1
- package/dist/public/assets/{sankeyDiagram-WGJFYUXA-tyo-p7oc.js → sankeyDiagram-WGJFYUXA-e2OTzBma.js} +1 -1
- package/dist/public/assets/{sequenceDiagram-5NDRBG5M-BSGPbeJX.js → sequenceDiagram-5NDRBG5M-BcoIpxF6.js} +1 -1
- package/dist/public/assets/{stateDiagram-v2-FJ4FJNEA-Dcdy66MQ.js → stateDiagram-v2-FJ4FJNEA-CNr67mC9.js} +1 -1
- package/dist/public/assets/{swimlanes-UMQ2AFYF-BJfgQyQo.js → swimlanes-UMQ2AFYF-DKPgHCev.js} +1 -1
- package/dist/public/assets/swimlanesDiagram-OMPLPG4O-U0uzjboz.js +8 -0
- package/dist/public/assets/{timeline-definition-SEUHKTQE-Ch8aQwF6.js → timeline-definition-SEUHKTQE-BcCmuE6C.js} +1 -1
- package/dist/public/assets/treeView-D4JQ5SDB-4ppY0Rs5.js +1 -0
- package/dist/public/assets/treemap-SAJKECNS-CAvLAs7q.js +1 -0
- package/dist/public/assets/{typescript-LasX-M7S.js → typescript-B1Uk3m6A.js} +1 -1
- package/dist/public/assets/{usecaseDiagram-AFA6YXN4-BzlSB4R4.js → usecaseDiagram-AFA6YXN4-BpCD8dP7.js} +1 -1
- package/dist/public/assets/{vennDiagram-NNMJR3RB-4xaWLrMk.js → vennDiagram-NNMJR3RB-CQjX5_-8.js} +1 -1
- package/dist/public/assets/wardley-7MLQ67FV-D_F3qmRJ.js +1 -0
- package/dist/public/assets/{wardleyDiagram-S7YFUSEH-C-iK1p-O.js → wardleyDiagram-S7YFUSEH-D7gYo9fV.js} +1 -1
- package/dist/public/assets/{xml-CGhYQUqn.js → xml-DBh_LekU.js} +1 -1
- package/dist/public/assets/{xychartDiagram-GGNKY7IX-CFsnisdM.js → xychartDiagram-GGNKY7IX-B_1aOZKU.js} +1 -1
- package/dist/public/assets/{yaml-BcOaPfuH.js → yaml-BE55tHva.js} +1 -1
- package/dist/public/assets/zh-tw-7q-tizR0.js +12 -0
- package/dist/public/index.html +1 -1
- package/dist/serve/index.mjs +814 -160
- package/package.json +37 -37
- package/dist/public/assets/cynefin-EF2NZ3EQ-Dfu5k3iG.js +0 -1
- package/dist/public/assets/flowDiagram-MALGAFMO-BHlXeeVG.js +0 -1
- package/dist/public/assets/gitGraph-VSP46ZUC-CFVSDv3q.js +0 -1
- package/dist/public/assets/info-OHQRW6UA-C_Db4yjo.js +0 -1
- package/dist/public/assets/module-C0tELrcJ.js +0 -1
- package/dist/public/assets/module-CteT9pTP.js +0 -2405
- package/dist/public/assets/packet-JDAUHWVQ-Bw7hmDUU.js +0 -1
- package/dist/public/assets/pie-XZMESJXO-cb_eq1B6.js +0 -1
- package/dist/public/assets/radar-ABXABTNO-Dqy-xoY_.js +0 -1
- package/dist/public/assets/railroad-I3PHUGI6-CBPVCTd3.js +0 -1
- package/dist/public/assets/swimlanesDiagram-OMPLPG4O-BWvcVkFg.js +0 -8
- package/dist/public/assets/treeView-D4JQ5SDB--XUqgqA6.js +0 -1
- package/dist/public/assets/treemap-SAJKECNS-CfrNtG7H.js +0 -1
- package/dist/public/assets/wardley-7MLQ67FV-BXBG-txR.js +0 -1
|
@@ -3,16 +3,57 @@ import { execFile } from "node:child_process";
|
|
|
3
3
|
import { mkdir as mkdir2, readdir, readFile as readFile2, rm as rm2, stat, writeFile as writeFile2 } from "node:fs/promises";
|
|
4
4
|
import { basename, dirname as dirname2, join as join2 } from "node:path";
|
|
5
5
|
|
|
6
|
+
// ../ta-protocol/esm/common/language.js
|
|
7
|
+
var TaLanguageUtil;
|
|
8
|
+
(function(TaLanguageUtil2) {
|
|
9
|
+
TaLanguageUtil2.ALL = ["zh-CN", "zh-TW", "en-US", "ja-JP"];
|
|
10
|
+
TaLanguageUtil2.NAMES = { "zh-CN": "简体中文", "zh-TW": "繁體中文", "en-US": "English", "ja-JP": "日本語" };
|
|
11
|
+
function of(tag) {
|
|
12
|
+
const said = (tag !== null && tag !== undefined ? tag : "").toLowerCase().replace(/_/g, "-");
|
|
13
|
+
if (/^zh(\b|-)/.test(said)) {
|
|
14
|
+
return /-hant\b/.test(said) || !/-hans\b/.test(said) && /-(tw|hk|mo)\b/.test(said) ? "zh-TW" : "zh-CN";
|
|
15
|
+
}
|
|
16
|
+
return /^ja(\b|-)/.test(said) ? "ja-JP" : "en-US";
|
|
17
|
+
}
|
|
18
|
+
TaLanguageUtil2.of = of;
|
|
19
|
+
function server(env = typeof process === "undefined" ? {} : process.env) {
|
|
20
|
+
return of(env.TA_LANGUAGE || env.LC_ALL || env.LC_MESSAGES || env.LANG);
|
|
21
|
+
}
|
|
22
|
+
TaLanguageUtil2.server = server;
|
|
23
|
+
function pick(language, words) {
|
|
24
|
+
return words[of(language)];
|
|
25
|
+
}
|
|
26
|
+
TaLanguageUtil2.pick = pick;
|
|
27
|
+
function say(words) {
|
|
28
|
+
return words[server()];
|
|
29
|
+
}
|
|
30
|
+
TaLanguageUtil2.say = say;
|
|
31
|
+
function chinese(language) {
|
|
32
|
+
return of(language).startsWith("zh");
|
|
33
|
+
}
|
|
34
|
+
TaLanguageUtil2.chinese = chinese;
|
|
35
|
+
function cjk(language) {
|
|
36
|
+
return of(language) !== "en-US";
|
|
37
|
+
}
|
|
38
|
+
TaLanguageUtil2.cjk = cjk;
|
|
39
|
+
function list(language, items) {
|
|
40
|
+
return items.join(cjk(language) ? "、" : ", ");
|
|
41
|
+
}
|
|
42
|
+
TaLanguageUtil2.list = list;
|
|
43
|
+
})(TaLanguageUtil || (TaLanguageUtil = {}));
|
|
44
|
+
|
|
6
45
|
// ../ta-protocol/esm/common/package-protocol.js
|
|
7
46
|
var TaPackageServer = Symbol("TaPackageServer");
|
|
8
47
|
var TaPackageTextUtil;
|
|
9
48
|
(function(TaPackageTextUtil2) {
|
|
10
49
|
function pick(text, language) {
|
|
11
|
-
var _a, _b, _c, _d;
|
|
50
|
+
var _a, _b, _c, _d, _e;
|
|
12
51
|
if (text === undefined || typeof text === "string") {
|
|
13
52
|
return text;
|
|
14
53
|
}
|
|
15
|
-
|
|
54
|
+
const base = language.split("-")[0];
|
|
55
|
+
const kin = Object.keys(text).find((key) => key.split("-")[0] === base);
|
|
56
|
+
return (_e = (_d = (_c = (_b = (_a = text[language]) !== null && _a !== undefined ? _a : text[base]) !== null && _b !== undefined ? _b : kin === undefined ? undefined : text[kin]) !== null && _c !== undefined ? _c : text.en) !== null && _d !== undefined ? _d : text["en-US"]) !== null && _e !== undefined ? _e : Object.values(text)[0];
|
|
16
57
|
}
|
|
17
58
|
TaPackageTextUtil2.pick = pick;
|
|
18
59
|
})(TaPackageTextUtil || (TaPackageTextUtil = {}));
|
|
@@ -651,46 +692,46 @@ var TaPermissionUtil;
|
|
|
651
692
|
}
|
|
652
693
|
TaPermissionUtil2.host = host;
|
|
653
694
|
})(TaPermissionUtil || (TaPermissionUtil = {}));
|
|
654
|
-
var action = (id, en, zh, more = {}) => ({
|
|
695
|
+
var action = (id, en, zh, tw, ja, more = {}) => ({
|
|
655
696
|
id,
|
|
656
697
|
area: id.split(".")[0],
|
|
657
|
-
title: { en, "zh-CN": zh },
|
|
698
|
+
title: { en, "zh-CN": zh, ...tw ? { "zh-TW": tw } : {}, ...ja ? { "ja-JP": ja } : {} },
|
|
658
699
|
...more
|
|
659
700
|
});
|
|
660
701
|
var TA_ACTIONS = [
|
|
661
|
-
action("chat.view", "See conversations", "查看对话"),
|
|
662
|
-
action("chat.send", "Send in conversations", "在对话里发消息"),
|
|
663
|
-
action("chat.create", "Start conversations", "新建对话"),
|
|
664
|
-
action("chat.stop", "Stop a reply", "停止回复"),
|
|
665
|
-
action("chat.manage", "Rename, archive and close conversations", "改名、归档、关闭对话"),
|
|
666
|
-
action("chat.share", "Share by a link", "生成分享链接"),
|
|
667
|
-
action("agent.view", "See agents", "查看智能体"),
|
|
668
|
-
action("agent.use", "Talk with agents", "和智能体对话"),
|
|
669
|
-
action("agent.edit", "Create, change and remove agents", "新建、修改、删除智能体"),
|
|
670
|
-
action("channel.view", "See channels", "查看频道"),
|
|
671
|
-
action("channel.post", "Post in channels", "在频道里发言"),
|
|
672
|
-
action("channel.manage", "Create and change channels", "新建、管理频道"),
|
|
673
|
-
action("task.view", "See tasks", "查看任务"),
|
|
674
|
-
action("task.create", "Hand out tasks", "派任务"),
|
|
675
|
-
action("task.manage", "Take over and stop tasks", "接管、停止任务"),
|
|
676
|
-
action("files.read", "Read files", "读文件", { scoped: true }),
|
|
677
|
-
action("files.write", "Change files", "改文件", { scoped: true }),
|
|
678
|
-
action("commands.run", "Let Ta run commands", "让 Ta 运行命令", { scoped: true, risky: true }),
|
|
679
|
-
action("commands.terminal", "Open terminals", "打开终端", { scoped: true, risky: true }),
|
|
680
|
-
action("hosts.use", "Use remote hosts", "使用远程主机", { risky: true }),
|
|
681
|
-
action("models.use", "Use the models", "使用模型"),
|
|
682
|
-
action("models.manage", "Sign in to models", "登录和更换模型账号"),
|
|
683
|
-
action("cron.view", "See scheduled tasks", "查看定时任务"),
|
|
684
|
-
action("cron.manage", "Change scheduled tasks", "管理定时任务"),
|
|
685
|
-
action("extensions.use", "Use extensions", "使用扩展"),
|
|
686
|
-
action("extensions.install", "Install and turn off extensions", "安装、停用扩展"),
|
|
687
|
-
action("settings.view", "See settings", "查看设置"),
|
|
688
|
-
action("settings.manage", "Change settings", "修改设置"),
|
|
689
|
-
action("members.view", "See members", "查看成员"),
|
|
690
|
-
action("members.invite", "Invite people", "邀请别人"),
|
|
691
|
-
action("members.approve", "Answer requests", "处理申请"),
|
|
692
|
-
action("members.roles", "Change roles and members", "管理角色和成员"),
|
|
693
|
-
action("audit.view", "See the record", "查看记录")
|
|
702
|
+
action("chat.view", "See conversations", "查看对话", "檢視對話", "会話を確認"),
|
|
703
|
+
action("chat.send", "Send in conversations", "在对话里发消息", "在對話裡發訊息", "会話にメッセージを送信"),
|
|
704
|
+
action("chat.create", "Start conversations", "新建对话", "新建對話", "新しい会話を開始"),
|
|
705
|
+
action("chat.stop", "Stop a reply", "停止回复", "停止回覆", "返信を停止"),
|
|
706
|
+
action("chat.manage", "Rename, archive and close conversations", "改名、归档、关闭对话", "改名、歸檔、關閉對話", "会話の名前変更、アーカイブ、クローズ"),
|
|
707
|
+
action("chat.share", "Share by a link", "生成分享链接", "生成分享連結", "共有リンクで共有"),
|
|
708
|
+
action("agent.view", "See agents", "查看智能体", "檢視智慧體", "エージェントを確認"),
|
|
709
|
+
action("agent.use", "Talk with agents", "和智能体对话", "和智慧體對話", "エージェントと対話"),
|
|
710
|
+
action("agent.edit", "Create, change and remove agents", "新建、修改、删除智能体", "新建、修改、刪除智慧體", "エージェントを作成・変更・削除"),
|
|
711
|
+
action("channel.view", "See channels", "查看频道", "檢視頻道", "チャネルを確認"),
|
|
712
|
+
action("channel.post", "Post in channels", "在频道里发言", "在頻道里發言", "チャネルに投稿"),
|
|
713
|
+
action("channel.manage", "Create and change channels", "新建、管理频道", "新建、管理頻道", "チャネルを作成・管理"),
|
|
714
|
+
action("task.view", "See tasks", "查看任务", "檢視任務", "タスクを確認"),
|
|
715
|
+
action("task.create", "Hand out tasks", "派任务", "派任務", "タスクを割り当て"),
|
|
716
|
+
action("task.manage", "Take over and stop tasks", "接管、停止任务", "接管、停止任務", "タスクを引き継ぎ・停止"),
|
|
717
|
+
action("files.read", "Read files", "读文件", "讀檔案", "ファイルを読取", { scoped: true }),
|
|
718
|
+
action("files.write", "Change files", "改文件", "改檔案", "ファイルを変更", { scoped: true }),
|
|
719
|
+
action("commands.run", "Let Ta run commands", "让 Ta 运行命令", "讓 Ta 執行命令", "Ta にコマンド実行を許可", { scoped: true, risky: true }),
|
|
720
|
+
action("commands.terminal", "Open terminals", "打开终端", "開啟終端機", "ターミナルを開く", { scoped: true, risky: true }),
|
|
721
|
+
action("hosts.use", "Use remote hosts", "使用远程主机", "使用遠端主機", "リモートホストを使用", { risky: true }),
|
|
722
|
+
action("models.use", "Use the models", "使用模型", "使用模型", "モデルを使用"),
|
|
723
|
+
action("models.manage", "Sign in to models", "登录和更换模型账号", "登入和更換模型帳號", "モデルアカウントにサインイン・変更"),
|
|
724
|
+
action("cron.view", "See scheduled tasks", "查看定时任务", "檢視定時任務", "スケジュールタスクを確認"),
|
|
725
|
+
action("cron.manage", "Change scheduled tasks", "管理定时任务", "管理定時任務", "スケジュールタスクを管理"),
|
|
726
|
+
action("extensions.use", "Use extensions", "使用扩展", "使用擴充功能", "拡張機能を使用"),
|
|
727
|
+
action("extensions.install", "Install and turn off extensions", "安装、停用扩展", "安裝、停用擴充功能", "拡張機能をインストール・無効化"),
|
|
728
|
+
action("settings.view", "See settings", "查看设置", "檢視設定", "設定を確認"),
|
|
729
|
+
action("settings.manage", "Change settings", "修改设置", "修改設定", "設定を変更"),
|
|
730
|
+
action("members.view", "See members", "查看成员", "檢視成員", "メンバーを確認"),
|
|
731
|
+
action("members.invite", "Invite people", "邀请别人", "邀請別人", "メンバーを招待"),
|
|
732
|
+
action("members.approve", "Answer requests", "处理申请", "處理申請", "リクエストに対応"),
|
|
733
|
+
action("members.roles", "Change roles and members", "管理角色和成员", "管理角色和成員", "ロールとメンバーを管理"),
|
|
734
|
+
action("audit.view", "See the record", "查看记录", "檢視記錄", "レコードを確認")
|
|
694
735
|
];
|
|
695
736
|
var TaActionUtil;
|
|
696
737
|
(function(TaActionUtil2) {
|
|
@@ -700,8 +741,18 @@ var TaActionUtil;
|
|
|
700
741
|
}
|
|
701
742
|
TaActionUtil2.info = info;
|
|
702
743
|
function title(id, language) {
|
|
703
|
-
|
|
704
|
-
|
|
744
|
+
var _a;
|
|
745
|
+
var _b, _c;
|
|
746
|
+
const title2 = (_a = byId.get(id)) === null || _a === undefined ? undefined : _a.title;
|
|
747
|
+
if (!title2) {
|
|
748
|
+
return id;
|
|
749
|
+
}
|
|
750
|
+
return TaLanguageUtil.pick(language, {
|
|
751
|
+
"zh-CN": title2["zh-CN"],
|
|
752
|
+
"zh-TW": (_b = title2["zh-TW"]) !== null && _b !== undefined ? _b : title2["zh-CN"],
|
|
753
|
+
"en-US": title2.en,
|
|
754
|
+
"ja-JP": (_c = title2["ja-JP"]) !== null && _c !== undefined ? _c : title2.en
|
|
755
|
+
});
|
|
705
756
|
}
|
|
706
757
|
TaActionUtil2.title = title;
|
|
707
758
|
function inside(dir, path) {
|
|
@@ -953,89 +1004,161 @@ var PostUtil;
|
|
|
953
1004
|
// web-src/server-texts.ts
|
|
954
1005
|
var MomentsServerTexts;
|
|
955
1006
|
((MomentsServerTexts) => {
|
|
956
|
-
function
|
|
957
|
-
return
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
1007
|
+
function roomTitle(language2 = TaLanguageUtil.server()) {
|
|
1008
|
+
return TaLanguageUtil.pick(language2, {
|
|
1009
|
+
"zh-CN": "动态",
|
|
1010
|
+
"zh-TW": "動態",
|
|
1011
|
+
"en-US": "Moments",
|
|
1012
|
+
"ja-JP": "モーメンツ"
|
|
1013
|
+
});
|
|
962
1014
|
}
|
|
963
1015
|
MomentsServerTexts.roomTitle = roomTitle;
|
|
964
|
-
function takeTitle(title) {
|
|
965
|
-
return
|
|
1016
|
+
function takeTitle(title, language2 = TaLanguageUtil.server()) {
|
|
1017
|
+
return TaLanguageUtil.pick(language2, {
|
|
1018
|
+
"zh-CN": `拿来用:${title}`,
|
|
1019
|
+
"zh-TW": `拿來用:${title}`,
|
|
1020
|
+
"en-US": `Take: ${title}`,
|
|
1021
|
+
"ja-JP": `使用する:${title}`
|
|
1022
|
+
});
|
|
966
1023
|
}
|
|
967
1024
|
MomentsServerTexts.takeTitle = takeTitle;
|
|
968
|
-
function notFound() {
|
|
969
|
-
return
|
|
1025
|
+
function notFound(language2 = TaLanguageUtil.server()) {
|
|
1026
|
+
return TaLanguageUtil.pick(language2, {
|
|
1027
|
+
"zh-CN": "这条动态已经不在了",
|
|
1028
|
+
"zh-TW": "這條動態已經不在了",
|
|
1029
|
+
"en-US": "This post is gone",
|
|
1030
|
+
"ja-JP": "この投稿はありません"
|
|
1031
|
+
});
|
|
970
1032
|
}
|
|
971
1033
|
MomentsServerTexts.notFound = notFound;
|
|
972
|
-
function noPackage(name) {
|
|
973
|
-
return
|
|
1034
|
+
function noPackage(name, language2 = TaLanguageUtil.server()) {
|
|
1035
|
+
return TaLanguageUtil.pick(language2, {
|
|
1036
|
+
"zh-CN": `没找到扩展 ${name},或它是 Ta 自带的`,
|
|
1037
|
+
"zh-TW": `沒找到擴充功能 ${name},或它是 Ta 自帶的`,
|
|
1038
|
+
"en-US": `No extension ${name} of yours (one that comes with Ta everyone has)`,
|
|
1039
|
+
"ja-JP": `拡張機能 ${name} が見つかりません(または Ta の組み込み機能)`
|
|
1040
|
+
});
|
|
974
1041
|
}
|
|
975
1042
|
MomentsServerTexts.noPackage = noPackage;
|
|
976
|
-
function response(took, names, what) {
|
|
1043
|
+
function response(took, names, what, language2 = TaLanguageUtil.server()) {
|
|
977
1044
|
const short = what.replace(/\s+/g, " ").trim().slice(0, 40);
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
1045
|
+
return TaLanguageUtil.pick(language2, {
|
|
1046
|
+
"zh-CN": took ? `${names.join("、")} 拿去用了你的「${short}」` : `${names.join("、")} 赞了你的动态${short ? `:${short}` : ""}`,
|
|
1047
|
+
"zh-TW": took ? `${names.join("、")} 拿去用了你的「${short}」` : `${names.join("、")} 讚了你的動態${short ? `:${short}` : ""}`,
|
|
1048
|
+
"en-US": took ? `${names.join(", ")} took your "${short}"` : `${names.join(", ")} liked your post${short ? `: ${short}` : ""}`,
|
|
1049
|
+
"ja-JP": took ? `${names.join("、")} があなたの「${short}」を使用しました` : `${names.join("、")} があなたの投稿を高く評価しました${short ? `:${short}` : ""}`
|
|
1050
|
+
});
|
|
984
1051
|
}
|
|
985
1052
|
MomentsServerTexts.response = response;
|
|
986
|
-
function talk(kind, name, text2) {
|
|
1053
|
+
function talk(kind, name, text2, language2 = TaLanguageUtil.server()) {
|
|
987
1054
|
const short = text2.replace(/\s+/g, " ").trim().slice(0, 60);
|
|
988
|
-
|
|
989
|
-
|
|
1055
|
+
return TaLanguageUtil.pick(language2, {
|
|
1056
|
+
"zh-CN": {
|
|
990
1057
|
comment: `${name} 评论了你的动态:${short}`,
|
|
991
1058
|
ask: `${name} 问你的 Ta:${short}`,
|
|
992
1059
|
reply: `${name} 回复了你:${short}`,
|
|
993
1060
|
answer: `${name}的 Ta 回答了你:${short}`,
|
|
994
1061
|
answered: `Ta 替你回答了${name}:${short}`
|
|
995
|
-
}[kind]
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1062
|
+
}[kind],
|
|
1063
|
+
"zh-TW": {
|
|
1064
|
+
comment: `${name} 評論了你的動態:${short}`,
|
|
1065
|
+
ask: `${name} 問你的 Ta:${short}`,
|
|
1066
|
+
reply: `${name} 回覆了你:${short}`,
|
|
1067
|
+
answer: `${name}的 Ta 回答了你:${short}`,
|
|
1068
|
+
answered: `Ta 替你回答了${name}:${short}`
|
|
1069
|
+
}[kind],
|
|
1070
|
+
"en-US": {
|
|
1071
|
+
comment: `${name} commented on your post: ${short}`,
|
|
1072
|
+
ask: `${name} asked your Ta: ${short}`,
|
|
1073
|
+
reply: `${name} replied to you: ${short}`,
|
|
1074
|
+
answer: `The Ta of ${name} answered you: ${short}`,
|
|
1075
|
+
answered: `Your Ta answered ${name}: ${short}`
|
|
1076
|
+
}[kind],
|
|
1077
|
+
"ja-JP": {
|
|
1078
|
+
comment: `${name} があなたの投稿にコメントしました:${short}`,
|
|
1079
|
+
ask: `${name} があなたの Ta に質問しました:${short}`,
|
|
1080
|
+
reply: `${name} があなたに返信しました:${short}`,
|
|
1081
|
+
answer: `${name} の Ta があなたに回答しました:${short}`,
|
|
1082
|
+
answered: `あなたの Ta が ${name} に代わりに回答しました:${short}`
|
|
1083
|
+
}[kind]
|
|
1084
|
+
});
|
|
1004
1085
|
}
|
|
1005
1086
|
MomentsServerTexts.talk = talk;
|
|
1006
|
-
function answersTitle(name, text2) {
|
|
1087
|
+
function answersTitle(name, text2, language2 = TaLanguageUtil.server()) {
|
|
1007
1088
|
const short = text2.replace(/\s+/g, " ").trim().slice(0, 24);
|
|
1008
|
-
return
|
|
1089
|
+
return TaLanguageUtil.pick(language2, {
|
|
1090
|
+
"zh-CN": `答${name}:${short}`,
|
|
1091
|
+
"zh-TW": `答${name}:${short}`,
|
|
1092
|
+
"en-US": `Answering ${name}: ${short}`,
|
|
1093
|
+
"ja-JP": `${name} に回答:${short}`
|
|
1094
|
+
});
|
|
1009
1095
|
}
|
|
1010
1096
|
MomentsServerTexts.answersTitle = answersTitle;
|
|
1011
|
-
function offline(name) {
|
|
1012
|
-
return
|
|
1097
|
+
function offline(name, language2 = TaLanguageUtil.server()) {
|
|
1098
|
+
return TaLanguageUtil.pick(language2, {
|
|
1099
|
+
"zh-CN": `等${name}的电脑上线后才能拿`,
|
|
1100
|
+
"zh-TW": `等${name}的電腦上線後才能拿`,
|
|
1101
|
+
"en-US": `It comes from the computer of ${name}: try once it is online`,
|
|
1102
|
+
"ja-JP": `${name} のコンピュータがオンラインになったら使用してください`
|
|
1103
|
+
});
|
|
1013
1104
|
}
|
|
1014
1105
|
MomentsServerTexts.offline = offline;
|
|
1015
|
-
function expired() {
|
|
1016
|
-
return
|
|
1106
|
+
function expired(language2 = TaLanguageUtil.server()) {
|
|
1107
|
+
return TaLanguageUtil.pick(language2, {
|
|
1108
|
+
"zh-CN": "附带的扩展已经过期,请作者重新发一次",
|
|
1109
|
+
"zh-TW": "附帶的擴充功能已經過期,請作者重新發一次",
|
|
1110
|
+
"en-US": "What it held is no longer there: ask its author to post it again",
|
|
1111
|
+
"ja-JP": "添付されていた拡張機能が期限切れです。作者に再投稿を依頼してください"
|
|
1112
|
+
});
|
|
1017
1113
|
}
|
|
1018
1114
|
MomentsServerTexts.expired = expired;
|
|
1019
|
-
function take(input) {
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1115
|
+
function take(input, language2 = TaLanguageUtil.server()) {
|
|
1116
|
+
return TaLanguageUtil.pick(language2, {
|
|
1117
|
+
"zh-CN": () => {
|
|
1118
|
+
const where = input.file ? `包文件在 \`${input.file}\`` : `来源是 \`${input.source}\``;
|
|
1119
|
+
return [
|
|
1120
|
+
`${input.from} 在动态里分享了扩展「${input.title}」${input.summary ? `:${input.summary}` : ""}。我想拿来用。${where}。`,
|
|
1121
|
+
"",
|
|
1122
|
+
"1. 先别装,也别运行里面的任何东西:把它解到临时目录(来源是 npm 就用 `npm pack`,是 Git 就浅克隆),列出文件,读 package.json 和扩展代码。",
|
|
1123
|
+
"2. 用几句话告诉我:它做什么、会读写哪些文件、会运行哪些命令、会连哪些网络、有没有可疑的地方。",
|
|
1124
|
+
`3. 等我说装,再照 ta-package 技能导入到 \`${input.agentDir}/extensions\`;装完按我的电脑调整(路径、语言、配置),只改装到我这里的副本。`
|
|
1125
|
+
].join(`
|
|
1029
1126
|
`);
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1127
|
+
},
|
|
1128
|
+
"zh-TW": () => {
|
|
1129
|
+
const where = input.file ? `包檔案在 \`${input.file}\`` : `來源是 \`${input.source}\``;
|
|
1130
|
+
return [
|
|
1131
|
+
`${input.from} 在動態裡分享了擴充功能「${input.title}」${input.summary ? `:${input.summary}` : ""}。我想拿來用。${where}。`,
|
|
1132
|
+
"",
|
|
1133
|
+
"1. 先別裝,也別執行裡面的任何東西:把它解到臨時目錄(來源是 npm 就用 `npm pack`,是 Git 就淺複製),列出檔案,讀 package.json 和擴充功能程式碼。",
|
|
1134
|
+
"2. 用幾句話告訴我:它做什麼、會讀寫哪些檔案、會執行哪些命令、會連哪些網路、有沒有可疑的地方。",
|
|
1135
|
+
`3. 等我說裝,再照 ta-package 技能匯入到 \`${input.agentDir}/extensions\`;裝完按我的電腦調整(路徑、語言、配置),只改裝到我這裡的副本。`
|
|
1136
|
+
].join(`
|
|
1137
|
+
`);
|
|
1138
|
+
},
|
|
1139
|
+
"en-US": () => {
|
|
1140
|
+
const where = input.file ? `Its package is \`${input.file}\`` : `Its source is \`${input.source}\``;
|
|
1141
|
+
return [
|
|
1142
|
+
`${input.from} posted the extension "${input.title}"${input.summary ? `: ${input.summary}` : ""} in Moments, and I want to use it. ${where}.`,
|
|
1143
|
+
"",
|
|
1144
|
+
"1. Do not install it or run anything in it yet: unpack it in a temporary directory (`npm pack` for a source of npm, a shallow clone for Git), list its files, and read its package.json and the code of its extensions.",
|
|
1145
|
+
"2. Tell me in a few sentences what it does, which files it reads and writes, which commands it runs, what it reaches on the network, and anything that looks wrong.",
|
|
1146
|
+
`3. Once I say install, import it into \`${input.agentDir}/extensions\` as the ta-package skill says; then fit it to my computer (paths, language, settings), changing only the copy installed here.`
|
|
1147
|
+
].join(`
|
|
1038
1148
|
`);
|
|
1149
|
+
},
|
|
1150
|
+
"ja-JP": () => {
|
|
1151
|
+
const where = input.file ? `パッケージファイルは \`${input.file}\`` : `ソースは \`${input.source}\``;
|
|
1152
|
+
return [
|
|
1153
|
+
`${input.from} がモーメンツに拡張機能「${input.title}」${input.summary ? `:${input.summary}` : ""} を共有しました。使用したいです。${where}。`,
|
|
1154
|
+
"",
|
|
1155
|
+
"1. まだインストールしないでください。実行前に、テンポラリディレクトリに解凍します(npm は `npm pack` を使い、Git は浅複製を使う)。ファイルをリストして、package.json と拡張機能コードを読む。",
|
|
1156
|
+
"2. 何をするのか、どのファイルを読み書きするのか、どのコマンドを実行するのか、ネットワークに何に接続するのか、または何が疑わしいのかを数文で教えてください。",
|
|
1157
|
+
`3. インストールしてください と言ったら、ta-package スキルが示すように \`${input.agentDir}/extensions\` にインポートします。次に、コンピュータに合わせて調整します(パス、言語、設定)。ここにインストールされたコピーのみを変更します。`
|
|
1158
|
+
].join(`
|
|
1159
|
+
`);
|
|
1160
|
+
}
|
|
1161
|
+
})();
|
|
1039
1162
|
}
|
|
1040
1163
|
MomentsServerTexts.take = take;
|
|
1041
1164
|
})(MomentsServerTexts ||= {});
|
|
@@ -1234,7 +1357,13 @@ class MomentsTalk {
|
|
|
1234
1357
|
const words2 = typeof text2 === "string" ? text2.trim().slice(0, Limits.TALK_TEXT) : "";
|
|
1235
1358
|
const value = await this.postOf(room, post);
|
|
1236
1359
|
if (!words2 || !value) {
|
|
1237
|
-
|
|
1360
|
+
const language2 = TaLanguageUtil.server();
|
|
1361
|
+
throw new Error(words2 ? MomentsServerTexts.notFound(language2) : TaLanguageUtil.pick(language2, {
|
|
1362
|
+
"zh-CN": "写点什么再发",
|
|
1363
|
+
"zh-TW": "寫點什麼再發",
|
|
1364
|
+
"en-US": "Write something first",
|
|
1365
|
+
"ja-JP": "何か書いて投稿してください"
|
|
1366
|
+
}));
|
|
1238
1367
|
}
|
|
1239
1368
|
const me = await this.host.rooms.getIdentity();
|
|
1240
1369
|
const to = typeof options.to === "string" && options.to !== me.id ? options.to : undefined;
|
|
@@ -1249,7 +1378,13 @@ class MomentsTalk {
|
|
|
1249
1378
|
return;
|
|
1250
1379
|
}
|
|
1251
1380
|
if (options.ask && !value.ask) {
|
|
1252
|
-
|
|
1381
|
+
const language2 = TaLanguageUtil.server();
|
|
1382
|
+
throw new Error(TaLanguageUtil.pick(language2, {
|
|
1383
|
+
"zh-CN": '作者没有打开"问问它"',
|
|
1384
|
+
"zh-TW": "作者沒有開啟「問問它」",
|
|
1385
|
+
"en-US": "Its author did not let friends ask their Ta",
|
|
1386
|
+
"ja-JP": "作者は友人に Ta に質問することを許可していません"
|
|
1387
|
+
}));
|
|
1253
1388
|
}
|
|
1254
1389
|
const toName = to ? await this.nameOf(room, post, to) : undefined;
|
|
1255
1390
|
await this.queue(room.id, {
|
|
@@ -1380,7 +1515,7 @@ class MomentsTalk {
|
|
|
1380
1515
|
});
|
|
1381
1516
|
if (added) {
|
|
1382
1517
|
await this.push(room, message.post);
|
|
1383
|
-
await this.notify(`talk:${message.post}`, MomentsServerTexts.talk(message.ask ? "ask" : message.to ? "reply" : "comment", sender.name, message.text));
|
|
1518
|
+
await this.notify(`talk:${message.post}`, MomentsServerTexts.talk(message.ask ? "ask" : message.to ? "reply" : "comment", sender.name, message.text, TaLanguageUtil.server()));
|
|
1384
1519
|
if (message.ask) {
|
|
1385
1520
|
this.answer(room, message.post, value, entry);
|
|
1386
1521
|
}
|
|
@@ -1443,7 +1578,7 @@ class MomentsTalk {
|
|
|
1443
1578
|
await this.write_(Keys.HEARD, [...told].slice(-300));
|
|
1444
1579
|
const last = news[news.length - 1];
|
|
1445
1580
|
const name = last.name || room.ownerName;
|
|
1446
|
-
await this.notify(`reply:${room.id}:${post}`, MomentsServerTexts.talk(last.double ? "answer" : "reply", name, last.text));
|
|
1581
|
+
await this.notify(`reply:${room.id}:${post}`, MomentsServerTexts.talk(last.double ? "answer" : "reply", name, last.text, TaLanguageUtil.server()));
|
|
1447
1582
|
}
|
|
1448
1583
|
answer(room, post, value, question) {
|
|
1449
1584
|
this.answering = this.answering.then(async () => {
|
|
@@ -1477,7 +1612,7 @@ class MomentsTalk {
|
|
|
1477
1612
|
}
|
|
1478
1613
|
] : entries);
|
|
1479
1614
|
await this.push(room, post);
|
|
1480
|
-
await this.notify(`answered:${post}`, MomentsServerTexts.talk("answered", question.name, text2));
|
|
1615
|
+
await this.notify(`answered:${post}`, MomentsServerTexts.talk("answered", question.name, text2, TaLanguageUtil.server()));
|
|
1481
1616
|
this.changed();
|
|
1482
1617
|
}).catch((error) => console.error("ta-moments could not answer a question:", error));
|
|
1483
1618
|
}
|
|
@@ -1500,7 +1635,7 @@ class MomentsTalk {
|
|
|
1500
1635
|
return opened.sessionId;
|
|
1501
1636
|
}
|
|
1502
1637
|
const session = await this.host.openSession({ cwd, appendSystemPrompt: role, group: NAME });
|
|
1503
|
-
await this.host.setSessionName(session.sessionId, MomentsServerTexts.answersTitle(question.name, question.text)).catch(() => {
|
|
1638
|
+
await this.host.setSessionName(session.sessionId, MomentsServerTexts.answersTitle(question.name, question.text, TaLanguageUtil.server())).catch(() => {
|
|
1504
1639
|
return;
|
|
1505
1640
|
});
|
|
1506
1641
|
const sessionFile = session.sessionFile ?? (await this.host.getState(session.sessionId)).sessionFile;
|
|
@@ -1576,7 +1711,13 @@ class MomentsTalk {
|
|
|
1576
1711
|
async queue(room, item) {
|
|
1577
1712
|
const outbox = record(await this.read_(Keys.OUTBOX));
|
|
1578
1713
|
if (Object.values(outbox).flat().length >= Limits.OUTBOX) {
|
|
1579
|
-
|
|
1714
|
+
const language2 = TaLanguageUtil.server();
|
|
1715
|
+
throw new Error(TaLanguageUtil.pick(language2, {
|
|
1716
|
+
"zh-CN": "还有太多话没送到,等对方上线后再说",
|
|
1717
|
+
"zh-TW": "還有太多話沒送到,等對方上線後再說",
|
|
1718
|
+
"en-US": "Too much is waiting for its authors: try once they are online",
|
|
1719
|
+
"ja-JP": "多くの内容が送信されるのを待っています。対方がオンラインになったら試してください"
|
|
1720
|
+
}));
|
|
1580
1721
|
}
|
|
1581
1722
|
outbox[room] = [...outbox[room] ?? [], item];
|
|
1582
1723
|
await this.write_(Keys.OUTBOX, outbox);
|
|
@@ -1603,7 +1744,7 @@ class MomentsTalk {
|
|
|
1603
1744
|
return entries.find((each) => each.by === id)?.name;
|
|
1604
1745
|
}
|
|
1605
1746
|
async notify(id, text2) {
|
|
1606
|
-
await this.host.callPackageHost(NOTIFY, "notify", [{ from: NAME, id, level: "done", title: MomentsServerTexts.roomTitle(), text: text2, view: VIEW }]).catch(() => {
|
|
1747
|
+
await this.host.callPackageHost(NOTIFY, "notify", [{ from: NAME, id, level: "done", title: MomentsServerTexts.roomTitle(TaLanguageUtil.server()), text: text2, view: VIEW }]).catch(() => {
|
|
1607
1748
|
return;
|
|
1608
1749
|
});
|
|
1609
1750
|
}
|
|
@@ -1834,7 +1975,12 @@ class MomentsHost {
|
|
|
1834
1975
|
const id = PostUtil.newId();
|
|
1835
1976
|
const attach = input?.attach ? await this.attach(input.attach, id) : undefined;
|
|
1836
1977
|
if (!text2 && !images.length && !attach) {
|
|
1837
|
-
throw new Error(
|
|
1978
|
+
throw new Error(TaLanguageUtil.pick(TaLanguageUtil.server(), {
|
|
1979
|
+
"zh-CN": "写点什么再发",
|
|
1980
|
+
"zh-TW": "寫點什麼再發",
|
|
1981
|
+
"en-US": "Write something first",
|
|
1982
|
+
"ja-JP": "何か書いて投稿してください"
|
|
1983
|
+
}));
|
|
1838
1984
|
}
|
|
1839
1985
|
const days = Limits.DAYS.includes(input.days) ? input.days : Limits.DEFAULT_DAYS;
|
|
1840
1986
|
const now = this.now();
|
|
@@ -1889,7 +2035,7 @@ class MomentsHost {
|
|
|
1889
2035
|
async roomOf(id) {
|
|
1890
2036
|
const room = (await this.host.rooms.listRooms()).find((item) => item.id === id && item.status === "member" && item.kind === KIND);
|
|
1891
2037
|
if (!room) {
|
|
1892
|
-
throw new Error(MomentsServerTexts.notFound());
|
|
2038
|
+
throw new Error(MomentsServerTexts.notFound(TaLanguageUtil.server()));
|
|
1893
2039
|
}
|
|
1894
2040
|
return room;
|
|
1895
2041
|
}
|
|
@@ -1917,25 +2063,26 @@ ${readme.trim()}`);
|
|
|
1917
2063
|
const found = (await this.state()).posts.find((item) => item.room === room && item.id === post);
|
|
1918
2064
|
const attach = found?.attach;
|
|
1919
2065
|
if (!found || attach?.kind !== "package") {
|
|
1920
|
-
throw new Error(MomentsServerTexts.notFound());
|
|
2066
|
+
throw new Error(MomentsServerTexts.notFound(TaLanguageUtil.server()));
|
|
1921
2067
|
}
|
|
2068
|
+
const language2 = TaLanguageUtil.server();
|
|
1922
2069
|
let file;
|
|
1923
2070
|
if (attach.link) {
|
|
1924
2071
|
if (!found.online) {
|
|
1925
|
-
throw new Error(MomentsServerTexts.offline(found.author.name));
|
|
2072
|
+
throw new Error(MomentsServerTexts.offline(found.author.name, language2));
|
|
1926
2073
|
}
|
|
1927
2074
|
const content = await this.host.shares.open(attach.link).catch((error) => {
|
|
1928
|
-
throw error?.reason === "offline" ? new Error(MomentsServerTexts.offline(found.author.name)) : error;
|
|
2075
|
+
throw error?.reason === "offline" ? new Error(MomentsServerTexts.offline(found.author.name, language2)) : error;
|
|
1929
2076
|
});
|
|
1930
2077
|
const dir = join2(this.host.agentDir, "ta-moments", "taken");
|
|
1931
2078
|
await mkdir2(dir, { recursive: true });
|
|
1932
2079
|
file = join2(dir, `${attach.name.replace(/[^a-z0-9._-]+/gi, "-")}-${post}.tgz`);
|
|
1933
2080
|
await writeFile2(file, content.data);
|
|
1934
2081
|
} else if (!attach.source) {
|
|
1935
|
-
throw new Error(MomentsServerTexts.expired());
|
|
2082
|
+
throw new Error(MomentsServerTexts.expired(language2));
|
|
1936
2083
|
}
|
|
1937
2084
|
const session = await this.host.openSession({ cwd: (await this.host.getServerInfo()).cwd });
|
|
1938
|
-
await this.host.setSessionName(session.sessionId, MomentsServerTexts.takeTitle(attach.title)).catch(() => {
|
|
2085
|
+
await this.host.setSessionName(session.sessionId, MomentsServerTexts.takeTitle(attach.title, language2)).catch(() => {
|
|
1939
2086
|
return;
|
|
1940
2087
|
});
|
|
1941
2088
|
await this.host.prompt(session.sessionId, {
|
|
@@ -1992,7 +2139,8 @@ ${readme.trim()}`);
|
|
|
1992
2139
|
}
|
|
1993
2140
|
async packageTitle(name) {
|
|
1994
2141
|
const info = typeof name === "string" ? await this.packageOf(name) : undefined;
|
|
1995
|
-
|
|
2142
|
+
const language2 = TaLanguageUtil.server();
|
|
2143
|
+
return info && (TaPackageTextUtil.pick(info.title, language2) || info.name);
|
|
1996
2144
|
}
|
|
1997
2145
|
picked(picks) {
|
|
1998
2146
|
return this.serial(async () => {
|
|
@@ -2079,11 +2227,16 @@ ${readme.trim()}`);
|
|
|
2079
2227
|
}
|
|
2080
2228
|
const info = await this.packageOf(attach.name);
|
|
2081
2229
|
if (!info) {
|
|
2082
|
-
throw new Error(
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2230
|
+
throw new Error(TaLanguageUtil.pick(TaLanguageUtil.server(), {
|
|
2231
|
+
"zh-CN": `没找到扩展 ${attach.name},或它是 Ta 自带的`,
|
|
2232
|
+
"zh-TW": `沒找到擴充功能 ${attach.name},或它是 Ta 自帶的`,
|
|
2233
|
+
"en-US": `No extension ${attach.name} of yours (one that comes with Ta everyone has)`,
|
|
2234
|
+
"ja-JP": `拡張機能 ${attach.name} が見つかりません(または Ta の組み込み機能)`
|
|
2235
|
+
}));
|
|
2236
|
+
}
|
|
2237
|
+
const language2 = TaLanguageUtil.server();
|
|
2238
|
+
const title = TaPackageTextUtil.pick(info.title, language2) || info.name;
|
|
2239
|
+
const summary = TaPackageTextUtil.pick(info.summary, language2) || info.description;
|
|
2087
2240
|
if (published(info.source)) {
|
|
2088
2241
|
return PostUtil.attach({ kind: "package", name: info.name, title, summary, source: info.source });
|
|
2089
2242
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type TaLanguage } from '@celljs/ta-protocol/lib/common/language';
|
|
1
2
|
declare const zh: {
|
|
2
3
|
title: string;
|
|
3
4
|
post: string;
|
|
@@ -80,6 +81,8 @@ declare const zh: {
|
|
|
80
81
|
deleteAnswerBody: string;
|
|
81
82
|
deleteTalk: string;
|
|
82
83
|
};
|
|
84
|
+
/** The words of each language of Ta, checked by scripts/check-i18n.ts. */
|
|
85
|
+
export declare const WORDS: Readonly<Record<TaLanguage, typeof zh>>;
|
|
83
86
|
export type Words = typeof zh;
|
|
84
87
|
export type WordKey = keyof Words;
|
|
85
88
|
export declare namespace MomentsWords {
|