@celljs/ta 4.13.1 → 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 +1025 -814
- package/dist/gateway.mjs +471 -196
- package/dist/pi/CHANGELOG.md +13 -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 +9 -5
- package/dist/pi/packages/ta-bots/extension/index.mjs +81 -10
- package/dist/pi/packages/ta-bots/host/index.mjs +303 -184
- 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 +9 -5
- 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 +9 -5
- 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 +291 -190
- 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/room.js +3 -3
- 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 +9 -5
- package/dist/pi/packages/ta-channels/web/index.js +483 -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 +9 -5
- package/dist/pi/packages/ta-cron/README.en.md +1 -1
- package/dist/pi/packages/ta-cron/README.md +1 -1
- 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.d.ts +2 -0
- package/dist/pi/packages/ta-cron/lib/page.js +22 -8
- 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 +9 -5
- package/dist/pi/packages/ta-cron/web/index.js +303 -14
- 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 +9 -5
- package/dist/pi/packages/ta-extensions/skills/ta-package/SKILL.md +2 -1
- package/dist/pi/packages/ta-extensions/web/index.js +499 -176
- 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 +9 -5
- 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 +9 -5
- package/dist/pi/packages/ta-glance/web/index.js +98 -14
- package/dist/pi/packages/ta-initiative/README.en.md +1 -0
- package/dist/pi/packages/ta-initiative/README.md +1 -0
- package/dist/pi/packages/ta-initiative/extension/index.mjs +89 -9
- package/dist/pi/packages/ta-initiative/host/index.mjs +123 -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 +4 -0
- package/dist/pi/packages/ta-initiative/lib/i18n.js +155 -4
- package/dist/pi/packages/ta-initiative/lib/inbox.js +3 -2
- package/dist/pi/packages/ta-initiative/lib/initiative-protocol.d.ts +15 -4
- package/dist/pi/packages/ta-initiative/lib/initiative-protocol.js +11 -1
- package/dist/pi/packages/ta-initiative/lib/initiative-service.d.ts +1 -0
- package/dist/pi/packages/ta-initiative/lib/initiative-service.js +4 -1
- package/dist/pi/packages/ta-initiative/lib/initiative-store.js +5 -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/lib/style.d.ts +1 -1
- package/dist/pi/packages/ta-initiative/lib/style.js +1 -1
- package/dist/pi/packages/ta-initiative/package.json +9 -5
- package/dist/pi/packages/ta-initiative/web/index.js +207 -12
- 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 +9 -5
- 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 +9 -5
- 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 +323 -147
- package/dist/pi/packages/ta-moments/host/index.mjs +350 -161
- package/dist/pi/packages/ta-moments/lib/editor.js +1 -1
- package/dist/pi/packages/ta-moments/lib/friends.d.ts +4 -1
- package/dist/pi/packages/ta-moments/lib/friends.js +3 -2
- 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 +25 -12
- package/dist/pi/packages/ta-moments/lib/moments-protocol.d.ts +2 -0
- package/dist/pi/packages/ta-moments/lib/page.js +8 -7
- package/dist/pi/packages/ta-moments/lib/post-util.js +2 -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/store.js +6 -0
- package/dist/pi/packages/ta-moments/lib/style.d.ts +1 -1
- package/dist/pi/packages/ta-moments/lib/style.js +4 -5
- package/dist/pi/packages/ta-moments/lib/talk-host.js +29 -8
- package/dist/pi/packages/ta-moments/package.json +9 -5
- package/dist/pi/packages/ta-moments/web/index.js +453 -192
- package/dist/pi/packages/ta-nearby/extension/index.mjs +229 -32
- package/dist/pi/packages/ta-nearby/host/index.mjs +437 -39
- 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-net.js +2 -0
- package/dist/pi/packages/ta-nearby/lib/nearby-protocol.d.ts +11 -0
- package/dist/pi/packages/ta-nearby/lib/nearby-service.d.ts +5 -4
- package/dist/pi/packages/ta-nearby/lib/nearby-service.js +53 -10
- package/dist/pi/packages/ta-nearby/lib/page.js +15 -13
- 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/lib/style.d.ts +1 -1
- package/dist/pi/packages/ta-nearby/lib/style.js +1 -1
- package/dist/pi/packages/ta-nearby/package.json +9 -5
- package/dist/pi/packages/ta-nearby/web/index.js +223 -7
- package/dist/pi/packages/ta-notify/README.en.md +1 -0
- package/dist/pi/packages/ta-notify/README.md +1 -0
- package/dist/pi/packages/ta-notify/extension/index.mjs +54 -5
- package/dist/pi/packages/ta-notify/host/index.mjs +3 -0
- 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/notify-protocol.d.ts +2 -0
- package/dist/pi/packages/ta-notify/lib/notify-service.d.ts +1 -0
- package/dist/pi/packages/ta-notify/lib/notify-service.js +3 -0
- 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 +9 -5
- package/dist/pi/packages/ta-notify/web/index.js +89 -1
- package/dist/pi/packages/ta-recall/README.en.md +1 -1
- package/dist/pi/packages/ta-recall/README.md +1 -1
- package/dist/pi/packages/ta-recall/extension/index.mjs +52 -2
- package/dist/pi/packages/ta-recall/host/index.mjs +145 -67
- package/dist/pi/packages/ta-recall/lib/brief-util.d.ts +9 -6
- 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.d.ts +5 -3
- package/dist/pi/packages/ta-recall/lib/recall-service.js +16 -10
- 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 +9 -5
- 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/friends-view.js +7 -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/lib/page.d.ts +12 -0
- package/dist/pi/packages/ta-rooms/lib/page.js +38 -3
- package/dist/pi/packages/ta-rooms/lib/style.d.ts +1 -1
- package/dist/pi/packages/ta-rooms/lib/style.js +1 -2
- package/dist/pi/packages/ta-rooms/package.json +9 -5
- package/dist/pi/packages/ta-rooms/web/index.js +537 -21
- 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 +9 -5
- 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 +175 -4
- package/dist/pi/packages/ta-sync/lib/migrate-i18n.d.ts +3 -0
- package/dist/pi/packages/ta-sync/lib/migrate-i18n.js +185 -4
- 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/lib/style.d.ts +1 -1
- package/dist/pi/packages/ta-sync/lib/style.js +1 -1
- package/dist/pi/packages/ta-sync/package.json +9 -5
- package/dist/pi/packages/ta-sync/web/index.js +394 -7
- 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 +9 -5
- package/dist/pi/packages/ta-team/README.en.md +3 -1
- package/dist/pi/packages/ta-team/README.md +3 -1
- package/dist/pi/packages/ta-team/extension/index.mjs +86 -37
- package/dist/pi/packages/ta-team/host/index.mjs +694 -85
- package/dist/pi/packages/ta-team/lib/dialogs.js +140 -17
- package/dist/pi/packages/ta-team/lib/host.js +4 -0
- package/dist/pi/packages/ta-team/lib/i18n.d.ts +18 -1
- package/dist/pi/packages/ta-team/lib/i18n.js +455 -10
- package/dist/pi/packages/ta-team/lib/member-dialog.js +30 -25
- package/dist/pi/packages/ta-team/lib/members-tab.js +55 -8
- package/dist/pi/packages/ta-team/lib/page.d.ts +5 -0
- package/dist/pi/packages/ta-team/lib/page.js +19 -0
- package/dist/pi/packages/ta-team/lib/parts.d.ts +3 -1
- package/dist/pi/packages/ta-team/lib/parts.js +4 -3
- package/dist/pi/packages/ta-team/lib/policy.d.ts +24 -0
- package/dist/pi/packages/ta-team/lib/policy.js +32 -0
- package/dist/pi/packages/ta-team/lib/protocol.d.ts +22 -15
- package/dist/pi/packages/ta-team/lib/protocol.js +1 -3
- package/dist/pi/packages/ta-team/lib/shared-home.js +2 -2
- package/dist/pi/packages/ta-team/lib/style.d.ts +1 -1
- package/dist/pi/packages/ta-team/lib/style.js +19 -8
- package/dist/pi/packages/ta-team/lib/team-admin.js +1 -0
- package/dist/pi/packages/ta-team/lib/team-core.js +1 -0
- package/dist/pi/packages/ta-team/lib/team-invites.d.ts +80 -6
- package/dist/pi/packages/ta-team/lib/team-invites.js +239 -10
- package/dist/pi/packages/ta-team/lib/team-people.js +2 -0
- package/dist/pi/packages/ta-team/package.json +13 -5
- package/dist/pi/packages/ta-team/web/index.js +1028 -224
- 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/lib/style.d.ts +1 -1
- package/dist/pi/packages/ta-workspace/lib/style.js +2 -2
- package/dist/pi/packages/ta-workspace/package.json +10 -6
- package/dist/pi/packages/ta-workspace/web/index.js +714 -200
- package/dist/public/assets/GLTFLoader-C8PT6dAj.js +1 -0
- package/dist/public/assets/SkeletonUtils-BBAzQdty.js +1 -0
- package/dist/public/assets/{abnfDiagram-S7VZAUFO-C30pzFN3.js → abnfDiagram-S7VZAUFO-sclOP11q.js} +1 -1
- package/dist/public/assets/{architecture-WOLXFQ4H-wfYFQl2u.js → architecture-WOLXFQ4H-Bitg4Dpy.js} +1 -1
- package/dist/public/assets/{architectureDiagram-YGSQEFNW-B05zgxyT.js → architectureDiagram-YGSQEFNW-Hc0W5khF.js} +1 -1
- package/dist/public/assets/{blockDiagram-APKKGZFW-BhN8Bsu0.js → blockDiagram-APKKGZFW-D2ZWatLV.js} +1 -1
- package/dist/public/assets/{browser-DteLjv_-.js → browser-D-etIMuL.js} +1 -1
- package/dist/public/assets/{browser-D2CY3Lfb.js → browser-D2BcOPKG.js} +1 -1
- package/dist/public/assets/{c4Diagram-KJ2TOQU5-DvdF3qCV.js → c4Diagram-KJ2TOQU5-CWEcyfwV.js} +1 -1
- package/dist/public/assets/{chunk-6MUBBAK2-DNavkrnr.js → chunk-6MUBBAK2-CWbrJHxK.js} +1 -1
- package/dist/public/assets/{chunk-AXFCVDMN-DplVEqp_.js → chunk-AXFCVDMN-DJQdD4iX.js} +1 -1
- package/dist/public/assets/{chunk-BG4553SI-BazOaHvw.js → chunk-BG4553SI-CYiiJcBj.js} +1 -1
- package/dist/public/assets/{chunk-DQASFODM-DmoQWa8b.js → chunk-DQASFODM-NrNC1UeX.js} +1 -1
- package/dist/public/assets/{chunk-HFQBQIA3-Cj1m9ccz.js → chunk-HFQBQIA3-BIHXOwS2.js} +1 -1
- package/dist/public/assets/{chunk-KQLB2F66-_jbilrLX.js → chunk-KQLB2F66-CcU_AFwQ.js} +1 -1
- package/dist/public/assets/{chunk-KS47KZWR-CWU16Lut.js → chunk-KS47KZWR-DGfNbbcL.js} +1 -1
- package/dist/public/assets/{chunk-LEVMRMFU-wsbxWEZE.js → chunk-LEVMRMFU-B4PSS_Pp.js} +1 -1
- package/dist/public/assets/{chunk-M57EVK23-BGvmwwTv.js → chunk-M57EVK23-1555_mm4.js} +1 -1
- package/dist/public/assets/{chunk-OY52VR5R-Bp3hJ4kT.js → chunk-OY52VR5R-zbNEbYJ8.js} +1 -1
- package/dist/public/assets/{chunk-QB3YPZ4I-C1rQVxsJ.js → chunk-QB3YPZ4I-C-nNDGuN.js} +1 -1
- package/dist/public/assets/{chunk-R3KSYZAL-CEy0dKWn.js → chunk-R3KSYZAL-DcXXuhbl.js} +1 -1
- package/dist/public/assets/{chunk-STOXU5M4-akqvafwH.js → chunk-STOXU5M4-Bb77QkUj.js} +1 -1
- package/dist/public/assets/{chunk-TU62E6Q5-CVXAS4DS.js → chunk-TU62E6Q5-D8IJkNq5.js} +1 -1
- package/dist/public/assets/{chunk-X4PVCEUW-DT_bEMvQ.js → chunk-X4PVCEUW-BzejexgB.js} +1 -1
- package/dist/public/assets/{chunk-XXDRQBXY-Bgv_n5Qh.js → chunk-XXDRQBXY-D2GPHyll.js} +1 -1
- package/dist/public/assets/{classDiagram-v2-L25IHNXF-BtjQChpS.js → classDiagram-v2-L25IHNXF-CUEzxxI8.js} +1 -1
- package/dist/public/assets/{client-sUFoEC5s.js → client-C8gi9Fk2.js} +1 -1
- package/dist/public/assets/{common-CGQN5htF.js → common-DrZR0tgm.js} +2 -2
- package/dist/public/assets/{cose-bilkent-JH36ORCC-DSrOY8Uk.js → cose-bilkent-JH36ORCC-CJdgJyUw.js} +1 -1
- package/dist/public/assets/cynefin-EF2NZ3EQ-DBnkPRHn.js +1 -0
- package/dist/public/assets/{cynefinDiagram-L36ESFBY-DTy7FNFS.js → cynefinDiagram-L36ESFBY-D0F_9jN8.js} +1 -1
- package/dist/public/assets/{d3-selection-ip6rDUzY.js → d3-selection-BoARy1rP.js} +1 -1
- package/dist/public/assets/{dagre-SPEB5RXH-CHrks7Jb.js → dagre-SPEB5RXH-CzI5gZOv.js} +1 -1
- package/dist/public/assets/{diagram-3B7GL73J-eUJ7STAr.js → diagram-3B7GL73J-BCtNcE7M.js} +1 -1
- package/dist/public/assets/{diagram-DNEMPZML-B_fptNkg.js → diagram-DNEMPZML-DV9U4KeH.js} +1 -1
- package/dist/public/assets/{diagram-L3MUGCDN-C15owCSG.js → diagram-L3MUGCDN-DHU45Sd4.js} +1 -1
- package/dist/public/assets/{diagram-LA4NIPWU-Bfa1qEgY.js → diagram-LA4NIPWU-Ba5oVP56.js} +1 -1
- package/dist/public/assets/{diagram-MHCOC4E2-Bwxsih_Q.js → diagram-MHCOC4E2-B1Nk6qet.js} +1 -1
- package/dist/public/assets/{diagram-XPFHEONP-DKZ_lwah.js → diagram-XPFHEONP-DFwA3q09.js} +1 -1
- package/dist/public/assets/{dist-VHGBaby6.js → dist-Col1xVDT.js} +1 -1
- package/dist/public/assets/{ebnfDiagram-UZSYDL2S-CCkttvYi.js → ebnfDiagram-UZSYDL2S-BuBgxBJ2.js} +1 -1
- package/dist/public/assets/{editor.api-a2gC0dVD.js → editor.api-BLlyFz5x.js} +1 -1
- package/dist/public/assets/{elk-XV6XMXQE-DcikW39e.js → elk-XV6XMXQE-BPEI--zX.js} +1 -1
- package/dist/public/assets/{erDiagram-EYBAPDEH-BE3TV5lU.js → erDiagram-EYBAPDEH-Cci0kYUw.js} +1 -1
- package/dist/public/assets/{eventmodeling-K75KTNOO-C2s1kutf.js → eventmodeling-K75KTNOO-B0eT5X1_.js} +1 -1
- package/dist/public/assets/flowDiagram-MALGAFMO-CmMdmAxj.js +1 -0
- package/dist/public/assets/{freemarker2-2e8pZojb.js → freemarker2-CAZGFA3W.js} +1 -1
- package/dist/public/assets/{ganttDiagram-23REXITY-rGnJptii.js → ganttDiagram-23REXITY-DEm85e1I.js} +1 -1
- package/dist/public/assets/gitGraph-VSP46ZUC-DKo3OVhR.js +1 -0
- package/dist/public/assets/{gitGraphDiagram-STJD7YCW-CNnsDjQA.js → gitGraphDiagram-STJD7YCW-DJAZD2LR.js} +1 -1
- package/dist/public/assets/{handlebars-CMKN6E37.js → handlebars-Agkl4nGr.js} +1 -1
- package/dist/public/assets/{html-0AjXQhkQ.js → html-Cu-CsqZI.js} +1 -1
- package/dist/public/assets/{index-TUtoc8CW.js → index-TeLHaE4u.js} +2 -2
- package/dist/public/assets/info-OHQRW6UA-tKl26QqM.js +1 -0
- package/dist/public/assets/{infoDiagram-KBXO4MBG-DMKs8cuE.js → infoDiagram-KBXO4MBG-4zHsBnIy.js} +1 -1
- package/dist/public/assets/{ishikawaDiagram-M35NCXHK-Dg_IbA0G.js → ishikawaDiagram-M35NCXHK-Bg8OYLGr.js} +1 -1
- package/dist/public/assets/ja-BHBiml1x.js +12 -0
- package/dist/public/assets/{javascript-CqYOqPjw.js → javascript-BdMDRX8l.js} +1 -1
- package/dist/public/assets/{journeyDiagram-OPLOXDXO-ohAOfoEY.js → journeyDiagram-OPLOXDXO-B2xtzmpE.js} +1 -1
- package/dist/public/assets/{jsonMode-D-gI-S5H.js → jsonMode-Dg92qQvX.js} +1 -1
- package/dist/public/assets/{kanban-definition-BZKZHSQY-w-aKZS_U.js → kanban-definition-BZKZHSQY-DQ4N7t_w.js} +1 -1
- package/dist/public/assets/{liquid-oBN7c8NZ.js → liquid-BydEnYkh.js} +1 -1
- package/dist/public/assets/{mdx-CnwhgGjX.js → mdx-XZXeM7ll.js} +1 -1
- package/dist/public/assets/{mermaid-parser.core-CfFkSR0t.js → mermaid-parser.core-H24--uw9.js} +3 -3
- package/dist/public/assets/{mermaid.core-apiVCSBY.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-E7vqVWB0.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/{module-B8jze-Tx.js → module-Cm_mLwAQ.js} +1 -1
- package/dist/public/assets/module-DDH-aU6z.js +1 -0
- package/dist/public/assets/module-DRofmFJn.js +1 -0
- package/dist/public/assets/{module-ZhkaqrNe.js → module-DUYj4E8T.js} +1 -1
- package/dist/public/assets/module-MaD4hvv4.js +1 -0
- package/dist/public/assets/module-ZDJutm0b.js +1 -0
- package/dist/public/assets/module-qoBVcE5h.js +1 -0
- package/dist/public/assets/{monaco-C0ByxW3l.js → monaco-DP8M_Ttp.js} +3 -3
- package/dist/public/assets/packet-JDAUHWVQ-CnBx3hR7.js +1 -0
- package/dist/public/assets/{pegDiagram-FD4XPPHP--RpwCE7x.js → pegDiagram-FD4XPPHP-CXKRGFUs.js} +1 -1
- package/dist/public/assets/pie-XZMESJXO-hogxgeR2.js +1 -0
- package/dist/public/assets/{pieDiagram-J4AKIIQI-DxSbPaRZ.js → pieDiagram-J4AKIIQI-9XEDP1wR.js} +1 -1
- package/dist/public/assets/{python-vNPe_Fao.js → python-C-0PA82u.js} +1 -1
- package/dist/public/assets/{quadrantDiagram-XTYBLID2-CR_eeYXi.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-D6I2HxIC.js → railroad-abnf-LNEFI6M7-CTft_ST0.js} +1 -1
- package/dist/public/assets/{railroad-ebnf-DWYD2UWJ-BuhDRGo3.js → railroad-ebnf-DWYD2UWJ-DfRJhL7G.js} +1 -1
- package/dist/public/assets/{railroad-peg-JR7BVNR7-n15PB7Sb.js → railroad-peg-JR7BVNR7-DFePx4YD.js} +1 -1
- package/dist/public/assets/{railroadDiagram-MRQ6NCDL-Bbe5bNap.js → railroadDiagram-MRQ6NCDL-BmK1KUsT.js} +1 -1
- package/dist/public/assets/{razor-CnKbF0Yz.js → razor-DEKNSiT7.js} +1 -1
- package/dist/public/assets/{requirementDiagram-Y7LWUY3S-Beuygh9j.js → requirementDiagram-Y7LWUY3S-Ds27pS9Y.js} +1 -1
- package/dist/public/assets/{resolver-B7c_-amj.js → resolver-0zC31mg5.js} +1 -1
- package/dist/public/assets/{sankeyDiagram-WGJFYUXA-jwWPgnrS.js → sankeyDiagram-WGJFYUXA-e2OTzBma.js} +1 -1
- package/dist/public/assets/{sequenceDiagram-5NDRBG5M-CmU-HYQI.js → sequenceDiagram-5NDRBG5M-BcoIpxF6.js} +1 -1
- package/dist/public/assets/{stateDiagram-v2-FJ4FJNEA-Bo7BEi-m.js → stateDiagram-v2-FJ4FJNEA-CNr67mC9.js} +1 -1
- package/dist/public/assets/{swimlanes-UMQ2AFYF-PSKyZN_b.js → swimlanes-UMQ2AFYF-DKPgHCev.js} +1 -1
- package/dist/public/assets/swimlanesDiagram-OMPLPG4O-U0uzjboz.js +8 -0
- package/dist/public/assets/{timeline-definition-SEUHKTQE-BuRxLScZ.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-C00ztMLg.js → typescript-B1Uk3m6A.js} +1 -1
- package/dist/public/assets/{usecaseDiagram-AFA6YXN4-Dlvyos8r.js → usecaseDiagram-AFA6YXN4-BpCD8dP7.js} +1 -1
- package/dist/public/assets/{vennDiagram-NNMJR3RB-CuLZubJH.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-WOGGTs4y.js → wardleyDiagram-S7YFUSEH-D7gYo9fV.js} +1 -1
- package/dist/public/assets/{xml-CHBFuf5n.js → xml-DBh_LekU.js} +1 -1
- package/dist/public/assets/{xychartDiagram-GGNKY7IX-DwW9eifP.js → xychartDiagram-GGNKY7IX-B_1aOZKU.js} +1 -1
- package/dist/public/assets/{yaml-C4qkqzcL.js → yaml-BE55tHva.js} +1 -1
- package/dist/public/assets/zh-tw-7q-tizR0.js +12 -0
- package/dist/public/index.html +2 -2
- package/dist/serve/index.mjs +3115 -1400
- package/package.json +39 -39
- package/dist/pi/packages/ta-team/lib/join.d.ts +0 -28
- package/dist/pi/packages/ta-team/lib/join.js +0 -48
- package/dist/pi/packages/ta-team/lib/remote.d.ts +0 -31
- package/dist/pi/packages/ta-team/lib/remote.js +0 -128
- package/dist/pi/packages/ta-team/lib/seal.d.ts +0 -28
- package/dist/pi/packages/ta-team/lib/seal.js +0 -75
- package/dist/public/assets/cynefin-EF2NZ3EQ-DYlwwGUb.js +0 -1
- package/dist/public/assets/flowDiagram-MALGAFMO-Bufgn1OL.js +0 -1
- package/dist/public/assets/gitGraph-VSP46ZUC-D_tzR9z9.js +0 -1
- package/dist/public/assets/info-OHQRW6UA-C5Pwv-6e.js +0 -1
- package/dist/public/assets/module-Blc8dqbf.js +0 -1
- package/dist/public/assets/module-C2jtFD0v.js +0 -2365
- package/dist/public/assets/module-C9WFrzAc.js +0 -1
- package/dist/public/assets/module-CouMtASh.js +0 -1
- package/dist/public/assets/module-EGdAhoOx.js +0 -1
- package/dist/public/assets/module-EeaigZHL.js +0 -1
- package/dist/public/assets/module-xT4L5yYw.js +0 -1
- package/dist/public/assets/packet-JDAUHWVQ-xozI7a9T.js +0 -1
- package/dist/public/assets/pie-XZMESJXO-BkHXIzDi.js +0 -1
- package/dist/public/assets/radar-ABXABTNO-CaUh9zV3.js +0 -1
- package/dist/public/assets/railroad-I3PHUGI6-DckPvlDe.js +0 -1
- package/dist/public/assets/swimlanesDiagram-OMPLPG4O-z_0ABNQq.js +0 -8
- package/dist/public/assets/treeView-D4JQ5SDB-BN38Jg9j.js +0 -1
- package/dist/public/assets/treemap-SAJKECNS-CKdz7u7W.js +0 -1
- package/dist/public/assets/wardley-7MLQ67FV-B0cvM1zV.js +0 -1
|
@@ -11,16 +11,22 @@ const store_util_1 = require("./store-util");
|
|
|
11
11
|
const webdav_store_1 = require("./webdav-store");
|
|
12
12
|
/** A WebDAV server: Jianguoyun, Nextcloud, a NAS. */
|
|
13
13
|
exports.WEBDAV = {
|
|
14
|
-
title: {
|
|
14
|
+
title: { 'zh-CN': 'WebDAV', 'zh-TW': 'WebDAV', 'en-US': 'WebDAV', 'ja-JP': 'WebDAV' },
|
|
15
15
|
hint: {
|
|
16
|
-
en: 'Jianguoyun, Nextcloud, a NAS of Synology or QNAP: the address of a folder of yours, and an app password.',
|
|
17
16
|
'zh-CN': '坚果云、Nextcloud、群晖或威联通的 NAS:填你的一个文件夹的地址,以及应用密码。',
|
|
17
|
+
'zh-TW': '堅果雲、Nextcloud、群暉或威聯通的 NAS:填你的一個資料夾的地址,以及應用密碼。',
|
|
18
|
+
'en-US': 'Jianguoyun, Nextcloud, a NAS of Synology or QNAP: the address of a folder of yours, and an app password.',
|
|
19
|
+
'ja-JP': 'Jianguoyun、Nextcloud、Synology または QNAP の NAS:あなたのフォルダーのアドレスとアプリパスワード。',
|
|
18
20
|
},
|
|
19
21
|
icon: 'Cloud',
|
|
20
22
|
options: [
|
|
21
|
-
{
|
|
22
|
-
|
|
23
|
-
|
|
23
|
+
{
|
|
24
|
+
key: 'url',
|
|
25
|
+
label: { 'zh-CN': '文件夹地址', 'zh-TW': '資料夾地址', 'en-US': 'Address of a folder', 'ja-JP': 'フォルダーアドレス' },
|
|
26
|
+
placeholder: 'https://dav.jianguoyun.com/dav/Ta',
|
|
27
|
+
},
|
|
28
|
+
{ key: 'user', label: { 'zh-CN': '用户名', 'zh-TW': '使用者名稱', 'en-US': 'User', 'ja-JP': 'ユーザー名' }, optional: true },
|
|
29
|
+
{ key: 'password', label: { 'zh-CN': '密码', 'zh-TW': '密碼', 'en-US': 'Password', 'ja-JP': 'パスワード' }, secret: true, optional: true },
|
|
24
30
|
],
|
|
25
31
|
key: options => `${webdav_store_1.WebDavUtil.base(options.url)}|${store_util_1.StoreUtil.text(options.user)}`,
|
|
26
32
|
where: options => {
|
|
@@ -36,19 +42,31 @@ exports.WEBDAV = {
|
|
|
36
42
|
};
|
|
37
43
|
/** A bucket of S3, or of one like it: Cloudflare R2, MinIO, Tencent COS, Alibaba OSS. */
|
|
38
44
|
exports.S3 = {
|
|
39
|
-
title: {
|
|
45
|
+
title: { 'zh-CN': 'S3', 'zh-TW': 'S3', 'en-US': 'S3', 'ja-JP': 'S3' },
|
|
40
46
|
hint: {
|
|
41
|
-
en: 'AWS, Cloudflare R2, MinIO, Tencent COS, Alibaba OSS: a bucket, and keys that may read and write it. Leave the address empty for AWS.',
|
|
42
47
|
'zh-CN': 'AWS、Cloudflare R2、MinIO、腾讯云 COS、阿里云 OSS:一个存储桶,以及能读写它的密钥。用 AWS 时地址留空。',
|
|
48
|
+
'zh-TW': 'AWS、Cloudflare R2、MinIO、騰訊雲 COS、阿里雲 OSS:一個儲存桶,以及能讀寫它的金鑰。用 AWS 時地址留空。',
|
|
49
|
+
'en-US': 'AWS, Cloudflare R2, MinIO, Tencent COS, Alibaba OSS: a bucket, and keys that may read and write it. Leave the address empty for AWS.',
|
|
50
|
+
'ja-JP': 'AWS、Cloudflare R2、MinIO、Tencent COS、Alibaba OSS:バケットと、読み書きできるキー。AWS を使用する場合はアドレスを空にしてください。',
|
|
43
51
|
},
|
|
44
52
|
icon: 'Database',
|
|
45
53
|
options: [
|
|
46
|
-
{
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
54
|
+
{
|
|
55
|
+
key: 'endpoint',
|
|
56
|
+
label: { 'zh-CN': '服务地址', 'zh-TW': '服務位址', 'en-US': 'Address', 'ja-JP': 'アドレス' },
|
|
57
|
+
placeholder: 'https://<account>.r2.cloudflarestorage.com',
|
|
58
|
+
optional: true,
|
|
59
|
+
},
|
|
60
|
+
{ key: 'bucket', label: { 'zh-CN': '存储桶', 'zh-TW': '儲存桶', 'en-US': 'Bucket', 'ja-JP': 'バケット' }, placeholder: 'my-ta' },
|
|
61
|
+
{
|
|
62
|
+
key: 'prefix',
|
|
63
|
+
label: { 'zh-CN': '桶内文件夹', 'zh-TW': '桶內資料夾', 'en-US': 'Folder in it', 'ja-JP': '内部フォルダー' },
|
|
64
|
+
placeholder: 'ta',
|
|
65
|
+
optional: true,
|
|
66
|
+
},
|
|
67
|
+
{ key: 'region', label: { 'zh-CN': '地域', 'zh-TW': '地域', 'en-US': 'Region', 'ja-JP': 'リージョン' }, placeholder: 'us-east-1', optional: true },
|
|
68
|
+
{ key: 'accessKeyId', label: { 'zh-CN': '访问密钥 ID', 'zh-TW': '存取金鑰 ID', 'en-US': 'Access key', 'ja-JP': 'アクセスキー' } },
|
|
69
|
+
{ key: 'secretAccessKey', label: { 'zh-CN': '访问密钥', 'zh-TW': '存取金鑰', 'en-US': 'Secret', 'ja-JP': 'シークレット' }, secret: true },
|
|
52
70
|
],
|
|
53
71
|
key: options => `${s3_store_1.S3Util.bucketUrl(options)}|${s3_store_1.S3Util.prefix(options)}`,
|
|
54
72
|
where: options => {
|
|
@@ -65,18 +83,29 @@ exports.S3 = {
|
|
|
65
83
|
function gitType(agentDir) {
|
|
66
84
|
const key = (options) => `${git_store_1.GitUtil.url(options.url)}#${git_store_1.GitUtil.branch(options)}|${git_store_1.GitUtil.folder(options)}`;
|
|
67
85
|
return {
|
|
68
|
-
title: {
|
|
86
|
+
title: { 'zh-CN': 'Git', 'zh-TW': 'Git', 'en-US': 'Git', 'ja-JP': 'Git' },
|
|
69
87
|
hint: {
|
|
70
|
-
en: 'GitHub, GitLab, Gitee, Gitea: a private repository of yours, and a token that may push to it; an SSH address needs no token, it uses the keys of this computer. Needs git installed.',
|
|
71
88
|
'zh-CN': 'GitHub、GitLab、Gitee、Gitea:你的一个私有仓库,以及能推送到它的令牌;用 SSH 地址时不用令牌,用本机的密钥。需要本机装有 git。',
|
|
89
|
+
'zh-TW': 'GitHub、GitLab、Gitee、Gitea:你的一個私有儲存庫,以及能推送到它的令牌;用 SSH 地址時不用令牌,用本機的金鑰。需要本機裝有 git。',
|
|
90
|
+
'en-US': 'GitHub, GitLab, Gitee, Gitea: a private repository of yours, and a token that may push to it; an SSH address needs no token, it uses the keys of this computer. Needs git installed.',
|
|
91
|
+
'ja-JP': 'GitHub、GitLab、Gitee、Gitea:プライベートリポジトリと、それにプッシュできるトークン。SSH アドレスはトークンが不要で、このコンピューターのキーを使用します。git がインストールされている必要があります。',
|
|
72
92
|
},
|
|
73
93
|
icon: 'GitBranch',
|
|
74
94
|
options: [
|
|
75
|
-
{
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
95
|
+
{
|
|
96
|
+
key: 'url',
|
|
97
|
+
label: { 'zh-CN': '仓库地址', 'zh-TW': '儲存庫位址', 'en-US': 'Repository', 'ja-JP': 'リポジトリ' },
|
|
98
|
+
placeholder: 'https://github.com/you/ta-sync.git',
|
|
99
|
+
},
|
|
100
|
+
{ key: 'branch', label: { 'zh-CN': '分支', 'zh-TW': '分支', 'en-US': 'Branch', 'ja-JP': 'ブランチ' }, placeholder: 'main', optional: true },
|
|
101
|
+
{
|
|
102
|
+
key: 'folder',
|
|
103
|
+
label: { 'zh-CN': '仓库内文件夹', 'zh-TW': '儲存庫內資料夾', 'en-US': 'Folder in it', 'ja-JP': '内部フォルダー' },
|
|
104
|
+
placeholder: 'ta',
|
|
105
|
+
optional: true,
|
|
106
|
+
},
|
|
107
|
+
{ key: 'user', label: { 'zh-CN': '用户名', 'zh-TW': '使用者名稱', 'en-US': 'User', 'ja-JP': 'ユーザー名' }, optional: true },
|
|
108
|
+
{ key: 'token', label: { 'zh-CN': '访问令牌', 'zh-TW': '存取令牌', 'en-US': 'Token', 'ja-JP': 'トークン' }, secret: true, optional: true },
|
|
80
109
|
],
|
|
81
110
|
key,
|
|
82
111
|
where: options => {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@celljs/ta-sync-cloud",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.15.0",
|
|
4
4
|
"description": "A pi package for Ta: sync of the user's computers in storage of their own, a WebDAV server (Jianguoyun, Nextcloud, a NAS) a bucket of S3 (AWS, Cloudflare R2, MinIO) or a git repository, sealed, with no relay",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pi-package"
|
|
7
7
|
],
|
|
8
|
-
"homepage": "https://github.com/cellbang/
|
|
8
|
+
"homepage": "https://github.com/cellbang/ta",
|
|
9
9
|
"bugs": {
|
|
10
|
-
"url": "https://github.com/cellbang/
|
|
10
|
+
"url": "https://github.com/cellbang/ta/issues"
|
|
11
11
|
},
|
|
12
12
|
"repository": {
|
|
13
13
|
"type": "git",
|
|
@@ -34,11 +34,15 @@
|
|
|
34
34
|
"pi": {
|
|
35
35
|
"title": {
|
|
36
36
|
"en": "Sync in your own storage",
|
|
37
|
-
"zh-CN": "自己的存储同步"
|
|
37
|
+
"zh-CN": "自己的存储同步",
|
|
38
|
+
"zh-TW": "自己的儲存同步",
|
|
39
|
+
"ja-JP": "自分のストレージで同期"
|
|
38
40
|
},
|
|
39
41
|
"summary": {
|
|
40
42
|
"en": "Sync your computers through storage of your own: a WebDAV server (Jianguoyun, Nextcloud, a NAS) or a bucket of S3 (AWS, Cloudflare R2, MinIO) or a git repository (GitHub, GitLab, Gitee). Sealed before it leaves, no relay.",
|
|
41
|
-
"zh-CN": "让几台电脑经你自己的存储同步:WebDAV(坚果云、Nextcloud、NAS)或 S3 存储桶(AWS、Cloudflare R2、MinIO)或 git 仓库(GitHub、GitLab、Gitee)。离开电脑前就已加密,不经过中继。"
|
|
43
|
+
"zh-CN": "让几台电脑经你自己的存储同步:WebDAV(坚果云、Nextcloud、NAS)或 S3 存储桶(AWS、Cloudflare R2、MinIO)或 git 仓库(GitHub、GitLab、Gitee)。离开电脑前就已加密,不经过中继。",
|
|
44
|
+
"zh-TW": "讓幾台電腦經你自己的儲存同步:WebDAV(堅果雲、Nextcloud、NAS)或 S3 儲存桶(AWS、Cloudflare R2、MinIO)或 git 儲存庫(GitHub、GitLab、Gitee)。離開電腦前就已加密,不經過中繼。",
|
|
45
|
+
"ja-JP": "自分のストレージでパソコン間を同期:WebDAV(Nextcloud、NAS など)、S3 バケット(AWS、Cloudflare R2、MinIO)、git リポジトリ(GitHub、GitLab、Gitee)。送信前に暗号化され、リレーは通りません。"
|
|
42
46
|
},
|
|
43
47
|
"icon": "Cloud",
|
|
44
48
|
"host": "./host/index.mjs",
|
|
@@ -3,13 +3,15 @@
|
|
|
3
3
|
A pi package that comes with Ta (on by default, Settings → Extensions turns it off): invite people into your Ta by a link to work with you, each with a role; the Ta service checks what each may do, call by call. Design record: [docs/design/ta-team.md](../../docs/design/ta-team.md).
|
|
4
4
|
|
|
5
5
|
- **Members** (Discover → Members): requests to come in and for more, members and who is online, links that invite, roles, the folders shared, the record. A member sees their role, what they may do and what they asked for.
|
|
6
|
-
- **Invite**: pick a role, how long the link works and whether you let each one in (on by default); you get a link and a QR code. They open it in their own Ta (phone or desktop) and ask with a name; once you let them in, their Ta adds "your Ta" and switches to it, connected to your Ta service through the relay, end to end.
|
|
6
|
+
- **Invite**: pick a role, how long the link works and whether you let each one in (on by default); you get a link and a QR code. They open it in their own Ta (phone or desktop) and ask with a name; once you let them in, their Ta adds "your Ta" and switches to it, connected to your Ta service through the relay, end to end. One without Ta opens the same link in a browser and asks on the page of joining of the relay (Members marks them Browser); let in, they go straight into Ta's web page the relay serves. As the relay serves that page, one who came in from a browser gets no role nor grant that manages members (inviting, letting in, roles): a link of an admin asks them to sign in with an account first.
|
|
7
|
+
- **Accounts**: when this Ta has a way to sign in (GitHub, Google, WeChat, an OpenID Connect provider; the `TA_*_CLIENT_ID` of ta-host, or `sign-in.json` of the agent directory), the page of joining offers "Sign in with X": Members shows their account, and the same person is the same member from another browser or link. Whether to sign in is theirs: who does not is anonymous, by the name they give (Members marks them Anonymous). Your Ta service checks the account with the provider, which the relay cannot make up, so one from a browser signed in with an account may be an admin. Register `<relay>/j` as a redirect URI with the provider. Set the ways to sign in up in **Settings → Access → Ways to sign in** (the callback URL is there too, to copy). In the Ta app a link that invites offers "Sign in with X" as well: Ta opens the system browser to sign in, and goes on by itself once it did. **GitHub works with nothing set up**: without a GitHub of your own, Ta signs them in with its own app by a code, shown on the page of joining or in the Ta app's dialog, which they paste at GitHub and authorize (the device code stays in your Ta service).
|
|
7
8
|
- **Roles**: Ta has admin, collaborator, viewer and guest, which cannot be changed; make your own from them (the actions, the folders). A collaborator cannot let Ta run commands or open terminals until they ask.
|
|
8
9
|
- **Asking**: a refused call says so with an Ask button; a tool Ta was refused for them, Ta asks for with `request_permission`. You allow it for an hour, a day or for good, or refuse; a conversation that asked goes on by itself once allowed.
|
|
9
10
|
- **Who sees a conversation**: Who sees it, in the menu of a conversation, lets its author keep it to themselves (and those they give it). Your double's conversation is yours alone.
|
|
10
11
|
- **Sharing some agents or channels alone**: pick Only some agents or channels when inviting, or Share an agent or a channel in a member's page (see, use or change, and its folder for its tools if you like). They come in as a guest and see those alone; their own Ta lists them under Shared with you, a tap switching to yours to use them.
|
|
11
12
|
- **Outside the folders**: each role says never, ask me each folder (Ta asks for them, and goes on once you allow it), read but ask to change, or as inside.
|
|
12
13
|
- **Record and alerts**: Record lists every call of each and every tool Ta ran for them, risky ones alone if you like, by person, searched. Refusals again and again, reaching for the folders Ta keeps, commands that look like an attack and more calls than a person makes raise an alert you are told of; Ask Ta to look into it has Ta read the record and tell you who did what and what to do.
|
|
14
|
+
- **Seeing each other**: the top of a conversation shows the faces of the others looking at it, the line over its box who types and whom Ta answers; a collaborator's message is on the left with their face and name, and so is a waiting one (taken back by them or you alone); a row of the list has the small faces of those looking at it and "who · answering". Members says where each one online is, and Follow opens the same conversation. The Ta service tells it person by person (only to those who may see the conversation, nothing on disk), and it shows with this package off too, with nobody else there.
|
|
13
15
|
- **Limits**: members, people online at once, devices of one person and runs at once, in Roles.
|
|
14
16
|
|
|
15
17
|
## How it checks
|
|
@@ -3,13 +3,15 @@
|
|
|
3
3
|
Ta 自带的 pi 包(默认开启,可在 设置 → 扩展 关闭):用链接邀请别人进你的 Ta 一起干活,每人一个角色,能做什么由 Ta 服务逐项检查。设计记录见 [docs/design/ta-team.md](../../docs/design/ta-team.md)。
|
|
4
4
|
|
|
5
5
|
- **成员与权限**(发现 → 成员与权限):待处理的加入申请和权限申请、成员与在线状态、邀请链接、角色、共享的文件夹、记录。成员看到的是自己的角色、能做的事和自己的申请。
|
|
6
|
-
- **邀请**:选角色、有效期,以及每个人加入是否要你同意(默认要),得到链接和二维码。对方在自己的 Ta(手机或电脑)里打开链接,填上名字申请;你同意后,他的 Ta 加上一台“你的 Ta”并切换过去,经中继端到端加密连到你的 Ta
|
|
6
|
+
- **邀请**:选角色、有效期,以及每个人加入是否要你同意(默认要),得到链接和二维码。对方在自己的 Ta(手机或电脑)里打开链接,填上名字申请;你同意后,他的 Ta 加上一台“你的 Ta”并切换过去,经中继端到端加密连到你的 Ta 服务。没装 Ta 的人用浏览器打开同一条链接,在中继的加入页填名字申请(成员页标着“浏览器”),你同意后直接进入中继下发的 Ta 网页。网页由中继下发,所以从浏览器加入的人拿不到管理成员的角色和授权(邀请、同意加入、改角色):管理员邀请在浏览器里要先用账号登录。
|
|
7
|
+
- **账号登录**:这个 Ta 配了登录方式(GitHub、Google、微信、企业 OpenID Connect,见 ta-host 的 `TA_*_CLIENT_ID` 或智能体目录的 `sign-in.json`)时,浏览器加入页可以“用 X 登录”后申请:你在成员页看到对方的账号,同一个人换浏览器、换链接再来还是同一个成员。登不登录由对方决定:不登录就是匿名加入(你看到的是他填的名字,成员页标“匿名”)。账号由你的 Ta 服务向提供方核实,中继伪造不了,所以用账号登录的浏览器成员可以当管理员。提供方那边要把 `<中继>/j` 登记为回跳地址。登录方式在 **设置 → 访问 → 登录方式** 里配置(回调地址也在那里,一键复制)。在 Ta 应用里打开邀请链接同样能“用 X 登录”:Ta 打开系统浏览器去登录,登录好回到 Ta 自动继续。**不配置也能用 GitHub 登录**:没配自己的 GitHub 时,Ta 用自带的应用让对方“输入码登录”——加入页或 Ta 应用的弹窗显示一个码,对方在 GitHub 粘贴并授权就行(设备码只留在你的 Ta 服务里)。
|
|
7
8
|
- **角色**:Ta 自带管理员、协作者、只读、访客四个,不能改,可以照着新建自己的角色(勾选动作、限定文件夹)。协作者默认不能让 Ta 运行命令、打开终端,要申请。
|
|
8
9
|
- **申请**:成员被拦下时,提示里有“申请”按钮;他让 Ta 干活时被拦下的工具,Ta 会用 `request_permission` 替他申请。你可以允许 1 小时、1 天或一直,也可以拒绝;从对话里申请的,同意后那个对话自动接着做。
|
|
9
10
|
- **谁能看到对话**:对话菜单里的“谁能看到”,作者可以把对话设为只有自己(和被授权的人)能看到。你的分身对话只有你能看到。
|
|
10
11
|
- **只分享几个智能体或频道**:邀请时选“只分享几个智能体或频道”,或在成员详情里“分享智能体或频道”(查看 / 使用 / 修改,可选允许它在自己的目录里工作)。对方以访客身份加入,只看得到这些;在他自己的 Ta 首页“别人分享给你的”里也能看到,点一下就切过来用。
|
|
11
12
|
- **共享文件夹以外**:每个角色可选不允许、每个文件夹问我(Ta 自动替他申请,你同意后接着做)、可读改动要问我、和文件夹内一样。
|
|
12
13
|
- **记录与告警**:“记录”里能看到每个人的每次操作和 Ta 替他运行的每个工具,可只看有风险的、按人筛选、搜索。反复被拒、碰 Ta 保留的文件夹、运行像攻击的命令、调用频率超常时会告警并通知你;“让 Ta 分析”会让 Ta 读记录后告诉你谁做了什么、怎么处理。
|
|
14
|
+
- **彼此感知**:对话顶栏是同在看这个对话的人的头像,输入框上方写着谁正在输入、Ta 正在回复谁;协作者发的消息在左侧带他的头像和名字,排队的消息也写明是谁的(只有他自己和你能撤回);对话列表的行上是正在看它的人的小头像和“谁 · 正在回复”。成员页写着每个在线的人在看哪个对话,点“跟随”就打开同一个对话。这些由 Ta 服务按人推送(只推给能看那个对话的人,不写盘),关掉这个包也照样显示,只是没有别人。
|
|
13
15
|
- **上限**:成员数、同时在线、每人设备数、同时运行的任务数都可以在“角色与权限”里改。
|
|
14
16
|
|
|
15
17
|
## 怎么检查
|
|
@@ -91,6 +91,45 @@ var TaAskUtil;
|
|
|
91
91
|
}
|
|
92
92
|
})(TaAskUtil || (TaAskUtil = {}));
|
|
93
93
|
|
|
94
|
+
// ../ta-protocol/esm/common/language.js
|
|
95
|
+
var TaLanguageUtil;
|
|
96
|
+
(function(TaLanguageUtil2) {
|
|
97
|
+
TaLanguageUtil2.ALL = ["zh-CN", "zh-TW", "en-US", "ja-JP"];
|
|
98
|
+
TaLanguageUtil2.NAMES = { "zh-CN": "简体中文", "zh-TW": "繁體中文", "en-US": "English", "ja-JP": "日本語" };
|
|
99
|
+
function of(tag) {
|
|
100
|
+
const said = (tag !== null && tag !== undefined ? tag : "").toLowerCase().replace(/_/g, "-");
|
|
101
|
+
if (/^zh(\b|-)/.test(said)) {
|
|
102
|
+
return /-hant\b/.test(said) || !/-hans\b/.test(said) && /-(tw|hk|mo)\b/.test(said) ? "zh-TW" : "zh-CN";
|
|
103
|
+
}
|
|
104
|
+
return /^ja(\b|-)/.test(said) ? "ja-JP" : "en-US";
|
|
105
|
+
}
|
|
106
|
+
TaLanguageUtil2.of = of;
|
|
107
|
+
function server(env = typeof process === "undefined" ? {} : process.env) {
|
|
108
|
+
return of(env.TA_LANGUAGE || env.LC_ALL || env.LC_MESSAGES || env.LANG);
|
|
109
|
+
}
|
|
110
|
+
TaLanguageUtil2.server = server;
|
|
111
|
+
function pick(language, words) {
|
|
112
|
+
return words[of(language)];
|
|
113
|
+
}
|
|
114
|
+
TaLanguageUtil2.pick = pick;
|
|
115
|
+
function say(words) {
|
|
116
|
+
return words[server()];
|
|
117
|
+
}
|
|
118
|
+
TaLanguageUtil2.say = say;
|
|
119
|
+
function chinese(language) {
|
|
120
|
+
return of(language).startsWith("zh");
|
|
121
|
+
}
|
|
122
|
+
TaLanguageUtil2.chinese = chinese;
|
|
123
|
+
function cjk(language) {
|
|
124
|
+
return of(language) !== "en-US";
|
|
125
|
+
}
|
|
126
|
+
TaLanguageUtil2.cjk = cjk;
|
|
127
|
+
function list(language, items) {
|
|
128
|
+
return items.join(cjk(language) ? "、" : ", ");
|
|
129
|
+
}
|
|
130
|
+
TaLanguageUtil2.list = list;
|
|
131
|
+
})(TaLanguageUtil || (TaLanguageUtil = {}));
|
|
132
|
+
|
|
94
133
|
// ../ta-protocol/esm/common/team-protocol.js
|
|
95
134
|
var TA_OWNER = "owner";
|
|
96
135
|
var TA_UNDECLARED = "extensions.install";
|
|
@@ -112,46 +151,46 @@ var TaPermissionUtil;
|
|
|
112
151
|
}
|
|
113
152
|
TaPermissionUtil2.host = host;
|
|
114
153
|
})(TaPermissionUtil || (TaPermissionUtil = {}));
|
|
115
|
-
var action = (id, en, zh, more = {}) => ({
|
|
154
|
+
var action = (id, en, zh, tw, ja, more = {}) => ({
|
|
116
155
|
id,
|
|
117
156
|
area: id.split(".")[0],
|
|
118
|
-
title: { en, "zh-CN": zh },
|
|
157
|
+
title: { en, "zh-CN": zh, ...tw ? { "zh-TW": tw } : {}, ...ja ? { "ja-JP": ja } : {} },
|
|
119
158
|
...more
|
|
120
159
|
});
|
|
121
160
|
var TA_ACTIONS = [
|
|
122
|
-
action("chat.view", "See conversations", "查看对话"),
|
|
123
|
-
action("chat.send", "Send in conversations", "在对话里发消息"),
|
|
124
|
-
action("chat.create", "Start conversations", "新建对话"),
|
|
125
|
-
action("chat.stop", "Stop a reply", "停止回复"),
|
|
126
|
-
action("chat.manage", "Rename, archive and close conversations", "改名、归档、关闭对话"),
|
|
127
|
-
action("chat.share", "Share by a link", "生成分享链接"),
|
|
128
|
-
action("agent.view", "See agents", "查看智能体"),
|
|
129
|
-
action("agent.use", "Talk with agents", "和智能体对话"),
|
|
130
|
-
action("agent.edit", "Create, change and remove agents", "新建、修改、删除智能体"),
|
|
131
|
-
action("channel.view", "See channels", "查看频道"),
|
|
132
|
-
action("channel.post", "Post in channels", "在频道里发言"),
|
|
133
|
-
action("channel.manage", "Create and change channels", "新建、管理频道"),
|
|
134
|
-
action("task.view", "See tasks", "查看任务"),
|
|
135
|
-
action("task.create", "Hand out tasks", "派任务"),
|
|
136
|
-
action("task.manage", "Take over and stop tasks", "接管、停止任务"),
|
|
137
|
-
action("files.read", "Read files", "读文件", { scoped: true }),
|
|
138
|
-
action("files.write", "Change files", "改文件", { scoped: true }),
|
|
139
|
-
action("commands.run", "Let Ta run commands", "让 Ta 运行命令", { scoped: true, risky: true }),
|
|
140
|
-
action("commands.terminal", "Open terminals", "打开终端", { scoped: true, risky: true }),
|
|
141
|
-
action("hosts.use", "Use remote hosts", "使用远程主机", { risky: true }),
|
|
142
|
-
action("models.use", "Use the models", "使用模型"),
|
|
143
|
-
action("models.manage", "Sign in to models", "登录和更换模型账号"),
|
|
144
|
-
action("cron.view", "See scheduled tasks", "查看定时任务"),
|
|
145
|
-
action("cron.manage", "Change scheduled tasks", "管理定时任务"),
|
|
146
|
-
action("extensions.use", "Use extensions", "使用扩展"),
|
|
147
|
-
action("extensions.install", "Install and turn off extensions", "安装、停用扩展"),
|
|
148
|
-
action("settings.view", "See settings", "查看设置"),
|
|
149
|
-
action("settings.manage", "Change settings", "修改设置"),
|
|
150
|
-
action("members.view", "See members", "查看成员"),
|
|
151
|
-
action("members.invite", "Invite people", "邀请别人"),
|
|
152
|
-
action("members.approve", "Answer requests", "处理申请"),
|
|
153
|
-
action("members.roles", "Change roles and members", "管理角色和成员"),
|
|
154
|
-
action("audit.view", "See the record", "查看记录")
|
|
161
|
+
action("chat.view", "See conversations", "查看对话", "檢視對話", "会話を確認"),
|
|
162
|
+
action("chat.send", "Send in conversations", "在对话里发消息", "在對話裡發訊息", "会話にメッセージを送信"),
|
|
163
|
+
action("chat.create", "Start conversations", "新建对话", "新建對話", "新しい会話を開始"),
|
|
164
|
+
action("chat.stop", "Stop a reply", "停止回复", "停止回覆", "返信を停止"),
|
|
165
|
+
action("chat.manage", "Rename, archive and close conversations", "改名、归档、关闭对话", "改名、歸檔、關閉對話", "会話の名前変更、アーカイブ、クローズ"),
|
|
166
|
+
action("chat.share", "Share by a link", "生成分享链接", "生成分享連結", "共有リンクで共有"),
|
|
167
|
+
action("agent.view", "See agents", "查看智能体", "檢視智慧體", "エージェントを確認"),
|
|
168
|
+
action("agent.use", "Talk with agents", "和智能体对话", "和智慧體對話", "エージェントと対話"),
|
|
169
|
+
action("agent.edit", "Create, change and remove agents", "新建、修改、删除智能体", "新建、修改、刪除智慧體", "エージェントを作成・変更・削除"),
|
|
170
|
+
action("channel.view", "See channels", "查看频道", "檢視頻道", "チャネルを確認"),
|
|
171
|
+
action("channel.post", "Post in channels", "在频道里发言", "在頻道里發言", "チャネルに投稿"),
|
|
172
|
+
action("channel.manage", "Create and change channels", "新建、管理频道", "新建、管理頻道", "チャネルを作成・管理"),
|
|
173
|
+
action("task.view", "See tasks", "查看任务", "檢視任務", "タスクを確認"),
|
|
174
|
+
action("task.create", "Hand out tasks", "派任务", "派任務", "タスクを割り当て"),
|
|
175
|
+
action("task.manage", "Take over and stop tasks", "接管、停止任务", "接管、停止任務", "タスクを引き継ぎ・停止"),
|
|
176
|
+
action("files.read", "Read files", "读文件", "讀檔案", "ファイルを読取", { scoped: true }),
|
|
177
|
+
action("files.write", "Change files", "改文件", "改檔案", "ファイルを変更", { scoped: true }),
|
|
178
|
+
action("commands.run", "Let Ta run commands", "让 Ta 运行命令", "讓 Ta 執行命令", "Ta にコマンド実行を許可", { scoped: true, risky: true }),
|
|
179
|
+
action("commands.terminal", "Open terminals", "打开终端", "開啟終端機", "ターミナルを開く", { scoped: true, risky: true }),
|
|
180
|
+
action("hosts.use", "Use remote hosts", "使用远程主机", "使用遠端主機", "リモートホストを使用", { risky: true }),
|
|
181
|
+
action("models.use", "Use the models", "使用模型", "使用模型", "モデルを使用"),
|
|
182
|
+
action("models.manage", "Sign in to models", "登录和更换模型账号", "登入和更換模型帳號", "モデルアカウントにサインイン・変更"),
|
|
183
|
+
action("cron.view", "See scheduled tasks", "查看定时任务", "檢視定時任務", "スケジュールタスクを確認"),
|
|
184
|
+
action("cron.manage", "Change scheduled tasks", "管理定时任务", "管理定時任務", "スケジュールタスクを管理"),
|
|
185
|
+
action("extensions.use", "Use extensions", "使用扩展", "使用擴充功能", "拡張機能を使用"),
|
|
186
|
+
action("extensions.install", "Install and turn off extensions", "安装、停用扩展", "安裝、停用擴充功能", "拡張機能をインストール・無効化"),
|
|
187
|
+
action("settings.view", "See settings", "查看设置", "檢視設定", "設定を確認"),
|
|
188
|
+
action("settings.manage", "Change settings", "修改设置", "修改設定", "設定を変更"),
|
|
189
|
+
action("members.view", "See members", "查看成员", "檢視成員", "メンバーを確認"),
|
|
190
|
+
action("members.invite", "Invite people", "邀请别人", "邀請別人", "メンバーを招待"),
|
|
191
|
+
action("members.approve", "Answer requests", "处理申请", "處理申請", "リクエストに対応"),
|
|
192
|
+
action("members.roles", "Change roles and members", "管理角色和成员", "管理角色和成員", "ロールとメンバーを管理"),
|
|
193
|
+
action("audit.view", "See the record", "查看记录", "檢視記錄", "レコードを確認")
|
|
155
194
|
];
|
|
156
195
|
var TaActionUtil;
|
|
157
196
|
(function(TaActionUtil2) {
|
|
@@ -161,8 +200,18 @@ var TaActionUtil;
|
|
|
161
200
|
}
|
|
162
201
|
TaActionUtil2.info = info;
|
|
163
202
|
function title(id, language) {
|
|
164
|
-
|
|
165
|
-
|
|
203
|
+
var _a;
|
|
204
|
+
var _b, _c;
|
|
205
|
+
const title2 = (_a = byId.get(id)) === null || _a === undefined ? undefined : _a.title;
|
|
206
|
+
if (!title2) {
|
|
207
|
+
return id;
|
|
208
|
+
}
|
|
209
|
+
return TaLanguageUtil.pick(language, {
|
|
210
|
+
"zh-CN": title2["zh-CN"],
|
|
211
|
+
"zh-TW": (_b = title2["zh-TW"]) !== null && _b !== undefined ? _b : title2["zh-CN"],
|
|
212
|
+
"en-US": title2.en,
|
|
213
|
+
"ja-JP": (_c = title2["ja-JP"]) !== null && _c !== undefined ? _c : title2.en
|
|
214
|
+
});
|
|
166
215
|
}
|
|
167
216
|
TaActionUtil2.title = title;
|
|
168
217
|
function inside(dir, path) {
|