@celljs/ta 4.13.1 → 4.14.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 +997 -811
- package/dist/gateway.mjs +315 -150
- package/dist/pi/CHANGELOG.md +7 -0
- package/dist/pi/package.json +1 -1
- package/dist/pi/packages/ta-agents/package.json +3 -3
- package/dist/pi/packages/ta-bots/host/index.mjs +171 -135
- package/dist/pi/packages/ta-bots/package.json +3 -3
- package/dist/pi/packages/ta-changes/package.json +3 -3
- package/dist/pi/packages/ta-channels/host/index.mjs +170 -134
- package/dist/pi/packages/ta-channels/lib/room.js +3 -3
- package/dist/pi/packages/ta-channels/package.json +3 -3
- package/dist/pi/packages/ta-channels/web/index.js +1 -0
- package/dist/pi/packages/ta-computer-use/package.json +3 -3
- 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/lib/page.d.ts +2 -0
- package/dist/pi/packages/ta-cron/lib/page.js +8 -4
- package/dist/pi/packages/ta-cron/package.json +3 -3
- package/dist/pi/packages/ta-cron/web/index.js +9 -4
- package/dist/pi/packages/ta-extensions/package.json +3 -3
- package/dist/pi/packages/ta-extensions/skills/ta-package/SKILL.md +1 -1
- package/dist/pi/packages/ta-extensions/web/index.js +170 -134
- package/dist/pi/packages/ta-games/package.json +3 -3
- package/dist/pi/packages/ta-glance/package.json +3 -3
- 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/host/index.mjs +3 -0
- package/dist/pi/packages/ta-initiative/lib/i18n.d.ts +1 -0
- package/dist/pi/packages/ta-initiative/lib/i18n.js +4 -2
- package/dist/pi/packages/ta-initiative/lib/inbox.js +1 -1
- package/dist/pi/packages/ta-initiative/lib/initiative-protocol.d.ts +2 -0
- package/dist/pi/packages/ta-initiative/lib/initiative-service.d.ts +1 -0
- package/dist/pi/packages/ta-initiative/lib/initiative-service.js +3 -0
- package/dist/pi/packages/ta-initiative/lib/initiative-store.js +5 -1
- 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 +3 -3
- package/dist/pi/packages/ta-initiative/web/index.js +10 -7
- package/dist/pi/packages/ta-launcher/package.json +3 -3
- package/dist/pi/packages/ta-manual/package.json +3 -3
- package/dist/pi/packages/ta-moments/extension/index.mjs +81 -45
- package/dist/pi/packages/ta-moments/host/index.mjs +82 -46
- 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/moments-host.js +1 -1
- package/dist/pi/packages/ta-moments/lib/moments-protocol.d.ts +2 -0
- package/dist/pi/packages/ta-moments/lib/page.js +4 -5
- package/dist/pi/packages/ta-moments/lib/post-util.js +2 -2
- 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/package.json +3 -3
- package/dist/pi/packages/ta-moments/web/index.js +193 -149
- package/dist/pi/packages/ta-nearby/host/index.mjs +189 -4
- 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 +3 -0
- package/dist/pi/packages/ta-nearby/lib/nearby-service.js +32 -7
- package/dist/pi/packages/ta-nearby/lib/page.js +10 -9
- 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 +3 -3
- package/dist/pi/packages/ta-nearby/web/index.js +10 -2
- 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/host/index.mjs +3 -0
- 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/package.json +3 -3
- 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/host/index.mjs +9 -12
- package/dist/pi/packages/ta-recall/lib/brief-util.d.ts +3 -3
- package/dist/pi/packages/ta-recall/lib/recall-service.d.ts +5 -3
- package/dist/pi/packages/ta-recall/lib/recall-service.js +11 -7
- package/dist/pi/packages/ta-recall/package.json +3 -3
- package/dist/pi/packages/ta-rooms/lib/friends-view.js +7 -8
- 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 +3 -3
- package/dist/pi/packages/ta-rooms/web/index.js +58 -17
- package/dist/pi/packages/ta-share/package.json +3 -3
- package/dist/pi/packages/ta-sync/lib/i18n.js +2 -2
- package/dist/pi/packages/ta-sync/lib/migrate-i18n.js +2 -2
- 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 +3 -3
- package/dist/pi/packages/ta-sync/web/index.js +5 -5
- package/dist/pi/packages/ta-sync-cloud/package.json +3 -3
- 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/host/index.mjs +569 -47
- package/dist/pi/packages/ta-team/lib/dialogs.js +83 -16
- package/dist/pi/packages/ta-team/lib/host.js +4 -0
- package/dist/pi/packages/ta-team/lib/i18n.d.ts +11 -0
- package/dist/pi/packages/ta-team/lib/i18n.js +24 -2
- 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 +15 -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 +8 -4
- 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 +74 -6
- package/dist/pi/packages/ta-team/lib/team-invites.js +207 -10
- package/dist/pi/packages/ta-team/lib/team-people.js +2 -0
- package/dist/pi/packages/ta-team/package.json +7 -3
- package/dist/pi/packages/ta-team/web/index.js +362 -139
- 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 +4 -4
- package/dist/pi/packages/ta-workspace/web/index.js +210 -160
- package/dist/public/assets/{abnfDiagram-S7VZAUFO-C30pzFN3.js → abnfDiagram-S7VZAUFO-DMceNIR5.js} +1 -1
- package/dist/public/assets/{architecture-WOLXFQ4H-wfYFQl2u.js → architecture-WOLXFQ4H-5AdYeEv8.js} +1 -1
- package/dist/public/assets/{architectureDiagram-YGSQEFNW-B05zgxyT.js → architectureDiagram-YGSQEFNW-CqkJHg0A.js} +1 -1
- package/dist/public/assets/{blockDiagram-APKKGZFW-BhN8Bsu0.js → blockDiagram-APKKGZFW-BtuHdIjQ.js} +1 -1
- package/dist/public/assets/{browser-D2CY3Lfb.js → browser-D2BcOPKG.js} +1 -1
- package/dist/public/assets/{browser-DteLjv_-.js → browser-Ds5TwWWr.js} +1 -1
- package/dist/public/assets/{c4Diagram-KJ2TOQU5-DvdF3qCV.js → c4Diagram-KJ2TOQU5-eebbjTgZ.js} +1 -1
- package/dist/public/assets/{chunk-6MUBBAK2-DNavkrnr.js → chunk-6MUBBAK2-BjMKSfTf.js} +1 -1
- package/dist/public/assets/{chunk-AXFCVDMN-DplVEqp_.js → chunk-AXFCVDMN-BElluw_7.js} +1 -1
- package/dist/public/assets/{chunk-BG4553SI-BazOaHvw.js → chunk-BG4553SI-CUDwpWNL.js} +1 -1
- package/dist/public/assets/{chunk-DQASFODM-DmoQWa8b.js → chunk-DQASFODM-B-92o8Uj.js} +1 -1
- package/dist/public/assets/{chunk-HFQBQIA3-Cj1m9ccz.js → chunk-HFQBQIA3-pveEMcXK.js} +1 -1
- package/dist/public/assets/{chunk-KQLB2F66-_jbilrLX.js → chunk-KQLB2F66-m7DKNjYW.js} +1 -1
- package/dist/public/assets/{chunk-KS47KZWR-CWU16Lut.js → chunk-KS47KZWR-CnSSETdj.js} +1 -1
- package/dist/public/assets/{chunk-LEVMRMFU-wsbxWEZE.js → chunk-LEVMRMFU-Ds7OnJrC.js} +1 -1
- package/dist/public/assets/{chunk-M57EVK23-BGvmwwTv.js → chunk-M57EVK23-PJSYCuUh.js} +1 -1
- package/dist/public/assets/{chunk-OY52VR5R-Bp3hJ4kT.js → chunk-OY52VR5R-C3ygRwSC.js} +1 -1
- package/dist/public/assets/{chunk-QB3YPZ4I-C1rQVxsJ.js → chunk-QB3YPZ4I-DcFtmZh7.js} +1 -1
- package/dist/public/assets/{chunk-R3KSYZAL-CEy0dKWn.js → chunk-R3KSYZAL-B4BOidE6.js} +1 -1
- package/dist/public/assets/{chunk-STOXU5M4-akqvafwH.js → chunk-STOXU5M4-DcXfwN7k.js} +1 -1
- package/dist/public/assets/{chunk-TU62E6Q5-CVXAS4DS.js → chunk-TU62E6Q5-B-rpQQxX.js} +1 -1
- package/dist/public/assets/{chunk-X4PVCEUW-DT_bEMvQ.js → chunk-X4PVCEUW-BBtlFSw1.js} +1 -1
- package/dist/public/assets/{chunk-XXDRQBXY-Bgv_n5Qh.js → chunk-XXDRQBXY-Do8BIocv.js} +1 -1
- package/dist/public/assets/{classDiagram-v2-L25IHNXF-BtjQChpS.js → classDiagram-v2-L25IHNXF-bhGAODMS.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-B7Qv6Hv_.js} +1 -1
- package/dist/public/assets/cynefin-EF2NZ3EQ-Dfu5k3iG.js +1 -0
- package/dist/public/assets/{cynefinDiagram-L36ESFBY-DTy7FNFS.js → cynefinDiagram-L36ESFBY-BX-R5Z6L.js} +1 -1
- package/dist/public/assets/{d3-selection-ip6rDUzY.js → d3-selection-D3xgEEla.js} +1 -1
- package/dist/public/assets/{dagre-SPEB5RXH-CHrks7Jb.js → dagre-SPEB5RXH-MfJ9yO0v.js} +1 -1
- package/dist/public/assets/{diagram-3B7GL73J-eUJ7STAr.js → diagram-3B7GL73J-DxFRc2vC.js} +1 -1
- package/dist/public/assets/{diagram-DNEMPZML-B_fptNkg.js → diagram-DNEMPZML-BcBwOLbM.js} +1 -1
- package/dist/public/assets/{diagram-L3MUGCDN-C15owCSG.js → diagram-L3MUGCDN--Rw-isPI.js} +1 -1
- package/dist/public/assets/{diagram-LA4NIPWU-Bfa1qEgY.js → diagram-LA4NIPWU-DXkY85UN.js} +1 -1
- package/dist/public/assets/{diagram-MHCOC4E2-Bwxsih_Q.js → diagram-MHCOC4E2-CbNmfAid.js} +1 -1
- package/dist/public/assets/{diagram-XPFHEONP-DKZ_lwah.js → diagram-XPFHEONP-D1nGQjzf.js} +1 -1
- package/dist/public/assets/{dist-VHGBaby6.js → dist-B1JMTrET.js} +1 -1
- package/dist/public/assets/{ebnfDiagram-UZSYDL2S-CCkttvYi.js → ebnfDiagram-UZSYDL2S-DGXbVfke.js} +1 -1
- package/dist/public/assets/{editor.api-a2gC0dVD.js → editor.api-e3yQoo1r.js} +1 -1
- package/dist/public/assets/{elk-XV6XMXQE-DcikW39e.js → elk-XV6XMXQE-pA-iT6fg.js} +1 -1
- package/dist/public/assets/{erDiagram-EYBAPDEH-BE3TV5lU.js → erDiagram-EYBAPDEH-BpgBun7y.js} +1 -1
- package/dist/public/assets/{eventmodeling-K75KTNOO-C2s1kutf.js → eventmodeling-K75KTNOO-CVfyCcul.js} +1 -1
- package/dist/public/assets/flowDiagram-MALGAFMO-BHlXeeVG.js +1 -0
- package/dist/public/assets/{freemarker2-2e8pZojb.js → freemarker2-dYGec-fT.js} +1 -1
- package/dist/public/assets/{ganttDiagram-23REXITY-rGnJptii.js → ganttDiagram-23REXITY-DjLTTWwA.js} +1 -1
- package/dist/public/assets/gitGraph-VSP46ZUC-CFVSDv3q.js +1 -0
- package/dist/public/assets/{gitGraphDiagram-STJD7YCW-CNnsDjQA.js → gitGraphDiagram-STJD7YCW-D9m7IVyJ.js} +1 -1
- package/dist/public/assets/{handlebars-CMKN6E37.js → handlebars-Bxerz7ci.js} +1 -1
- package/dist/public/assets/{html-0AjXQhkQ.js → html-DlVnGsdp.js} +1 -1
- package/dist/public/assets/{index-TUtoc8CW.js → index-CZmGe9gc.js} +2 -2
- package/dist/public/assets/info-OHQRW6UA-C_Db4yjo.js +1 -0
- package/dist/public/assets/{infoDiagram-KBXO4MBG-DMKs8cuE.js → infoDiagram-KBXO4MBG-DoYdhkAy.js} +1 -1
- package/dist/public/assets/{ishikawaDiagram-M35NCXHK-Dg_IbA0G.js → ishikawaDiagram-M35NCXHK-Bc0GAInW.js} +1 -1
- package/dist/public/assets/{javascript-CqYOqPjw.js → javascript-DZrowo_I.js} +1 -1
- package/dist/public/assets/{journeyDiagram-OPLOXDXO-ohAOfoEY.js → journeyDiagram-OPLOXDXO-BM7Dwstu.js} +1 -1
- package/dist/public/assets/{jsonMode-D-gI-S5H.js → jsonMode-Bs30wPr5.js} +1 -1
- package/dist/public/assets/{kanban-definition-BZKZHSQY-w-aKZS_U.js → kanban-definition-BZKZHSQY-CO-Crrdu.js} +1 -1
- package/dist/public/assets/{liquid-oBN7c8NZ.js → liquid-dLz9d3ax.js} +1 -1
- package/dist/public/assets/{mdx-CnwhgGjX.js → mdx-DO0x92Kn.js} +1 -1
- package/dist/public/assets/{mermaid-parser.core-CfFkSR0t.js → mermaid-parser.core-BXwArNvw.js} +3 -3
- package/dist/public/assets/{mermaid.core-apiVCSBY.js → mermaid.core-C6mppfDC.js} +4 -4
- package/dist/public/assets/{mindmap-definition-I2QAS2VK-E7vqVWB0.js → mindmap-definition-I2QAS2VK-vcQ2EU4T.js} +1 -1
- package/dist/public/assets/module-C0tELrcJ.js +1 -0
- package/dist/public/assets/{module-B8jze-Tx.js → module-Cm_mLwAQ.js} +1 -1
- package/dist/public/assets/module-CteT9pTP.js +2405 -0
- 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-J_Pr5zjk.js} +3 -3
- package/dist/public/assets/packet-JDAUHWVQ-Bw7hmDUU.js +1 -0
- package/dist/public/assets/{pegDiagram-FD4XPPHP--RpwCE7x.js → pegDiagram-FD4XPPHP-DPDrbtS2.js} +1 -1
- package/dist/public/assets/pie-XZMESJXO-cb_eq1B6.js +1 -0
- package/dist/public/assets/{pieDiagram-J4AKIIQI-DxSbPaRZ.js → pieDiagram-J4AKIIQI-DXuaepGJ.js} +1 -1
- package/dist/public/assets/{python-vNPe_Fao.js → python-nnmIOv4s.js} +1 -1
- package/dist/public/assets/{quadrantDiagram-XTYBLID2-CR_eeYXi.js → quadrantDiagram-XTYBLID2-BuD_-coZ.js} +1 -1
- package/dist/public/assets/radar-ABXABTNO-Dqy-xoY_.js +1 -0
- package/dist/public/assets/railroad-I3PHUGI6-CBPVCTd3.js +1 -0
- package/dist/public/assets/{railroad-abnf-LNEFI6M7-D6I2HxIC.js → railroad-abnf-LNEFI6M7-CkCl68xY.js} +1 -1
- package/dist/public/assets/{railroad-ebnf-DWYD2UWJ-BuhDRGo3.js → railroad-ebnf-DWYD2UWJ-DO3GiRv6.js} +1 -1
- package/dist/public/assets/{railroad-peg-JR7BVNR7-n15PB7Sb.js → railroad-peg-JR7BVNR7-DZBsKy4P.js} +1 -1
- package/dist/public/assets/{railroadDiagram-MRQ6NCDL-Bbe5bNap.js → railroadDiagram-MRQ6NCDL-BeLq7Mqp.js} +1 -1
- package/dist/public/assets/{razor-CnKbF0Yz.js → razor-l2rRITgB.js} +1 -1
- package/dist/public/assets/{requirementDiagram-Y7LWUY3S-Beuygh9j.js → requirementDiagram-Y7LWUY3S-BBizkrON.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-tyo-p7oc.js} +1 -1
- package/dist/public/assets/{sequenceDiagram-5NDRBG5M-CmU-HYQI.js → sequenceDiagram-5NDRBG5M-BSGPbeJX.js} +1 -1
- package/dist/public/assets/{stateDiagram-v2-FJ4FJNEA-Bo7BEi-m.js → stateDiagram-v2-FJ4FJNEA-Dcdy66MQ.js} +1 -1
- package/dist/public/assets/{swimlanes-UMQ2AFYF-PSKyZN_b.js → swimlanes-UMQ2AFYF-BJfgQyQo.js} +1 -1
- package/dist/public/assets/swimlanesDiagram-OMPLPG4O-BWvcVkFg.js +8 -0
- package/dist/public/assets/{timeline-definition-SEUHKTQE-BuRxLScZ.js → timeline-definition-SEUHKTQE-Ch8aQwF6.js} +1 -1
- package/dist/public/assets/treeView-D4JQ5SDB--XUqgqA6.js +1 -0
- package/dist/public/assets/treemap-SAJKECNS-CfrNtG7H.js +1 -0
- package/dist/public/assets/{typescript-C00ztMLg.js → typescript-LasX-M7S.js} +1 -1
- package/dist/public/assets/{usecaseDiagram-AFA6YXN4-Dlvyos8r.js → usecaseDiagram-AFA6YXN4-BzlSB4R4.js} +1 -1
- package/dist/public/assets/{vennDiagram-NNMJR3RB-CuLZubJH.js → vennDiagram-NNMJR3RB-4xaWLrMk.js} +1 -1
- package/dist/public/assets/wardley-7MLQ67FV-BXBG-txR.js +1 -0
- package/dist/public/assets/{wardleyDiagram-S7YFUSEH-WOGGTs4y.js → wardleyDiagram-S7YFUSEH-C-iK1p-O.js} +1 -1
- package/dist/public/assets/{xml-CHBFuf5n.js → xml-CGhYQUqn.js} +1 -1
- package/dist/public/assets/{xychartDiagram-GGNKY7IX-DwW9eifP.js → xychartDiagram-GGNKY7IX-CFsnisdM.js} +1 -1
- package/dist/public/assets/{yaml-C4qkqzcL.js → yaml-BcOaPfuH.js} +1 -1
- package/dist/public/index.html +2 -2
- package/dist/serve/index.mjs +2318 -1257
- 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
|
@@ -119,9 +119,18 @@ var RelayIdentityUtil;
|
|
|
119
119
|
}
|
|
120
120
|
RelayIdentityUtil2.check = check;
|
|
121
121
|
function publicOf(identity) {
|
|
122
|
-
return { id: identity.id, name: identity.name, sign: identity.sign, box: identity.box };
|
|
122
|
+
return withLook({ id: identity.id, name: identity.name, sign: identity.sign, box: identity.box }, identity.look);
|
|
123
123
|
}
|
|
124
124
|
RelayIdentityUtil2.publicOf = publicOf;
|
|
125
|
+
function isLook(look) {
|
|
126
|
+
return typeof look === "string" && /^[a-z][a-z0-9-]{0,31}$/.test(look);
|
|
127
|
+
}
|
|
128
|
+
RelayIdentityUtil2.isLook = isLook;
|
|
129
|
+
function withLook(value, look) {
|
|
130
|
+
const { look: _, ...rest } = value;
|
|
131
|
+
return isLook(look) ? { ...rest, look } : rest;
|
|
132
|
+
}
|
|
133
|
+
RelayIdentityUtil2.withLook = withLook;
|
|
125
134
|
async function sign(identity, text) {
|
|
126
135
|
const key = await subtle().importKey("jwk", identity.signKey, SIGN, false, ["sign"]);
|
|
127
136
|
return RelayBytes.toBase64(new Uint8Array(await subtle().sign(SIGNATURE, key, encoder.encode(text))));
|
|
@@ -346,6 +355,7 @@ var RelayFriendsUtil;
|
|
|
346
355
|
return {
|
|
347
356
|
id: friend.id,
|
|
348
357
|
name: String((_a = friend.name) !== null && _a !== undefined ? _a : "").slice(0, 40),
|
|
358
|
+
...RelayIdentityUtil.isLook(friend.look) ? { look: friend.look } : {},
|
|
349
359
|
...typeof friend.sign === "string" ? { sign: friend.sign } : {},
|
|
350
360
|
...typeof friend.box === "string" ? { box: friend.box } : {},
|
|
351
361
|
metAt: friend.metAt,
|
|
@@ -368,7 +378,14 @@ var RelayFriendsUtil;
|
|
|
368
378
|
}
|
|
369
379
|
RelayFriendsUtil2.mergeFriend = mergeFriend;
|
|
370
380
|
function requestOf(offer) {
|
|
371
|
-
return {
|
|
381
|
+
return {
|
|
382
|
+
id: offer.id,
|
|
383
|
+
name: offer.name,
|
|
384
|
+
...RelayIdentityUtil.isLook(offer.look) ? { look: offer.look } : {},
|
|
385
|
+
at: offer.at,
|
|
386
|
+
via: "room",
|
|
387
|
+
room: offer.room
|
|
388
|
+
};
|
|
372
389
|
}
|
|
373
390
|
RelayFriendsUtil2.requestOf = requestOf;
|
|
374
391
|
function book(value) {
|
|
@@ -1155,6 +1172,31 @@ class RoomBook {
|
|
|
1155
1172
|
}
|
|
1156
1173
|
}
|
|
1157
1174
|
var book = new RoomBook;
|
|
1175
|
+
var RoomLooks;
|
|
1176
|
+
((RoomLooks) => {
|
|
1177
|
+
const known = new WeakMap;
|
|
1178
|
+
function of(state) {
|
|
1179
|
+
let looks = known.get(state);
|
|
1180
|
+
if (!looks) {
|
|
1181
|
+
looks = new Map;
|
|
1182
|
+
for (const each of [...state.requests, ...state.friendRequests, ...state.friends ?? [], ...(state.rooms ?? []).flatMap((room) => room.members)]) {
|
|
1183
|
+
if (each.look) {
|
|
1184
|
+
looks.set(each.id, each.look);
|
|
1185
|
+
}
|
|
1186
|
+
}
|
|
1187
|
+
known.set(state, looks);
|
|
1188
|
+
}
|
|
1189
|
+
return looks;
|
|
1190
|
+
}
|
|
1191
|
+
RoomLooks.of = of;
|
|
1192
|
+
function faceOf(state, id) {
|
|
1193
|
+
return id === state.identity?.id ? { double: true } : { look: of(state).get(id) };
|
|
1194
|
+
}
|
|
1195
|
+
RoomLooks.faceOf = faceOf;
|
|
1196
|
+
})(RoomLooks ||= {});
|
|
1197
|
+
function useBookState() {
|
|
1198
|
+
return React.useSyncExternalStore((listener) => book.subscribe(listener), () => book.get());
|
|
1199
|
+
}
|
|
1158
1200
|
function useBook() {
|
|
1159
1201
|
const state = React.useSyncExternalStore((listener) => book.subscribe(listener), () => book.get());
|
|
1160
1202
|
React.useEffect(() => {
|
|
@@ -1264,12 +1306,14 @@ function initial(name) {
|
|
|
1264
1306
|
return Array.from(name.trim())[0]?.toUpperCase() ?? "?";
|
|
1265
1307
|
}
|
|
1266
1308
|
function Face({ id, name, size = 34, online, face }) {
|
|
1309
|
+
const state = useBookState();
|
|
1267
1310
|
if (pi.ui.Face) {
|
|
1268
1311
|
return /* @__PURE__ */ React.createElement(pi.ui.Face, {
|
|
1269
1312
|
seed: id,
|
|
1270
1313
|
face,
|
|
1271
1314
|
size,
|
|
1272
|
-
online
|
|
1315
|
+
online,
|
|
1316
|
+
...RoomLooks.faceOf(state, id)
|
|
1273
1317
|
});
|
|
1274
1318
|
}
|
|
1275
1319
|
const n = tint(id);
|
|
@@ -1290,12 +1334,13 @@ function RoomFace({ room, size = 40, unread }) {
|
|
|
1290
1334
|
const page = usePageOf(room);
|
|
1291
1335
|
const Mark = page?.icon;
|
|
1292
1336
|
const members = faceMembers(room, useAgents(room));
|
|
1337
|
+
const state = useBookState();
|
|
1293
1338
|
return /* @__PURE__ */ React.createElement("span", {
|
|
1294
1339
|
className: "trm-room-face",
|
|
1295
1340
|
style: { width: size, height: size },
|
|
1296
1341
|
"aria-hidden": "true"
|
|
1297
1342
|
}, pi.ui.GroupFace ? /* @__PURE__ */ React.createElement(pi.ui.GroupFace, {
|
|
1298
|
-
members: members.map((member) => ({ seed: member.id, face: member.face })),
|
|
1343
|
+
members: members.map((member) => ({ seed: member.id, face: member.face, ...RoomLooks.faceOf(state, member.id) })),
|
|
1299
1344
|
size
|
|
1300
1345
|
}) : /* @__PURE__ */ React.createElement(Face, {
|
|
1301
1346
|
id: members[0]?.id ?? room.id,
|
|
@@ -2649,23 +2694,20 @@ function FriendsPage() {
|
|
|
2649
2694
|
}, friendRequests.map((request) => /* @__PURE__ */ React.createElement(FriendRequestRow, {
|
|
2650
2695
|
key: request.id,
|
|
2651
2696
|
request
|
|
2652
|
-
})))), /* @__PURE__ */ React.createElement(
|
|
2653
|
-
className: "trm-section"
|
|
2654
|
-
}, !!friends?.length && /* @__PURE__ */ React.createElement("h3", null, `${t("friends")} · ${friends.length}`), friends === undefined ? pi.ui.Skeleton ? /* @__PURE__ */ React.createElement(pi.ui.Skeleton, {
|
|
2655
|
-
rows: 3
|
|
2656
|
-
}) : null : friends.length === 0 ? /* @__PURE__ */ React.createElement("div", {
|
|
2657
|
-
className: "trm-friends-empty"
|
|
2658
|
-
}, /* @__PURE__ */ React.createElement(pi.ui.Empty, {
|
|
2659
|
-
compact: true,
|
|
2697
|
+
})))), friends?.length === 0 ? /* @__PURE__ */ React.createElement(pi.ui.Empty, {
|
|
2660
2698
|
title: t("friendsEmpty"),
|
|
2661
2699
|
hint: t("friendsEmptyHint")
|
|
2662
|
-
}
|
|
2700
|
+
}, /* @__PURE__ */ React.createElement("button", {
|
|
2663
2701
|
type: "button",
|
|
2664
2702
|
className: "ta-button ta-primary",
|
|
2665
2703
|
onClick: openAddFriend
|
|
2666
2704
|
}, /* @__PURE__ */ React.createElement(Add, {
|
|
2667
2705
|
size: 14
|
|
2668
|
-
}), " ", t("addFriend"))) : /* @__PURE__ */ React.createElement("
|
|
2706
|
+
}), " ", t("addFriend"))) : /* @__PURE__ */ React.createElement("section", {
|
|
2707
|
+
className: "trm-section"
|
|
2708
|
+
}, !!friends?.length && /* @__PURE__ */ React.createElement("h3", null, `${t("friends")} · ${friends.length}`), friends === undefined ? pi.ui.Skeleton ? /* @__PURE__ */ React.createElement(pi.ui.Skeleton, {
|
|
2709
|
+
rows: 3
|
|
2710
|
+
}) : null : /* @__PURE__ */ React.createElement("ul", {
|
|
2669
2711
|
className: "trm-rooms"
|
|
2670
2712
|
}, friends.map((friend) => /* @__PURE__ */ React.createElement(FriendRow, {
|
|
2671
2713
|
key: friend.id,
|
|
@@ -2705,7 +2747,7 @@ function FriendsEntry() {
|
|
|
2705
2747
|
}), /* @__PURE__ */ React.createElement("span", {
|
|
2706
2748
|
className: "trm-grow"
|
|
2707
2749
|
}), list.length > 0 && pi.ui.GroupFace && /* @__PURE__ */ React.createElement(pi.ui.GroupFace, {
|
|
2708
|
-
members: list.slice(0, 4).map((friend) => ({ seed: friend.id })),
|
|
2750
|
+
members: list.slice(0, 4).map((friend) => ({ seed: friend.id, look: friend.look })),
|
|
2709
2751
|
size: 24
|
|
2710
2752
|
}), /* @__PURE__ */ React.createElement("span", {
|
|
2711
2753
|
className: "trm-quiet"
|
|
@@ -3866,13 +3908,12 @@ button.trm-member { cursor: pointer; }
|
|
|
3866
3908
|
.trm-center { justify-content: center; }
|
|
3867
3909
|
.trm-join { display: flex; align-items: center; gap: 12px; }
|
|
3868
3910
|
.trm-friends-page { max-width: 720px; margin: 0 auto; width: 100%; overflow-y: auto; height: 100%; }
|
|
3869
|
-
.trm-friends-empty { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 12px 0 20px; }
|
|
3870
3911
|
.trm-friends-other { gap: 18px; padding-top: 4px; }
|
|
3871
3912
|
.trm-friends-entry { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 48px; padding: 0 12px; border: 0; border-radius: 12px; background: var(--ta-surface, transparent); color: inherit; font: inherit; cursor: pointer; text-align: left; }
|
|
3872
3913
|
@media (hover: hover) { .trm-friends-entry:hover { background: var(--ta-hover); } }
|
|
3873
3914
|
.trm-friends-entry-label { font-weight: 500; }
|
|
3874
3915
|
.trm-grow { flex: 1; }
|
|
3875
|
-
.trm-dot { width:
|
|
3916
|
+
.trm-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ta-yellow); }
|
|
3876
3917
|
.trm-join-name { font-size: calc(15px * var(--ta-font-scale)); }
|
|
3877
3918
|
.trm-dialog .trm-join:has(.trm-join-name) { flex-direction: column; text-align: center; gap: 8px; }
|
|
3878
3919
|
.trm-member-friend { color: var(--ta-muted); }
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@celljs/ta-share",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.14.0",
|
|
4
4
|
"description": "A pi package for Ta: share a conversation, a page or a file by a link, public, with a password or for yourself, end to end through the relay; open and import what others share",
|
|
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",
|
|
@@ -164,9 +164,9 @@ const zh = {
|
|
|
164
164
|
data: '扩展数据',
|
|
165
165
|
dataHint: '扩展声明要同步的数据,比如 Ta 的外观设置和分身的样子',
|
|
166
166
|
identity: '身份与房间',
|
|
167
|
-
identityHint: '
|
|
167
|
+
identityHint: '每台电脑在房间里都是同一个你,房间和好友也一样;别人 @ 你的分身时,由正在用的那台回答',
|
|
168
168
|
identityAskTitle: '让这几台电脑在房间里都是同一个你?',
|
|
169
|
-
identityAskBody: '
|
|
169
|
+
identityAskBody: '你的身份、房间和好友会加密同步到这些电脑。如果另一台电脑已经共享了身份,这台会换成它的身份;这台原来所在的房间保留原来的身份。拿到身份的人就能冒充你,只在自己的电脑之间打开。',
|
|
170
170
|
identityAskConfirm: '共享',
|
|
171
171
|
};
|
|
172
172
|
var SyncWords;
|
|
@@ -174,9 +174,9 @@ const zh = {
|
|
|
174
174
|
credentials: '登录凭据',
|
|
175
175
|
credentialsHint: 'API 密钥和机器人的登录',
|
|
176
176
|
identity: '身份与房间',
|
|
177
|
-
identityHint: '
|
|
177
|
+
identityHint: '你在房间里的身份、房间和好友,拿到的人就能冒充你',
|
|
178
178
|
identitySwitched: '房间里你现在是「{name}」上的身份,带来 {rooms} 个房间;这台电脑原来所在的房间保留原身份。',
|
|
179
|
-
identityMerged: '加进来 {rooms} 个房间和 {friends}
|
|
179
|
+
identityMerged: '加进来 {rooms} 个房间和 {friends} 位好友。',
|
|
180
180
|
reload: '加载扩展',
|
|
181
181
|
};
|
|
182
182
|
var MoveWordsUtil;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/** The styles of the package; only the --ta-* variables of the page, so they follow its theme. */
|
|
2
|
-
export declare const STYLE = "\n.tsy-panel { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 12px; animation: tsy-in 200ms var(--ta-ease); }\n@keyframes tsy-in { from { opacity: 0; transform: translateY(3px); } }\n.tsy-pic { display: block; width: 100%; max-width: 280px; height: auto; align-self: center; margin: 2px 0 4px; }\n.tsy-pic-fill { transform-box: fill-box; transform-origin: left; animation: tsy-fill 2.4s ease-in-out infinite; }\n@keyframes tsy-fill { 0% { transform: scaleX(.08); } 70%, 100% { transform: scaleX(1); } }\n.tsy-pic-later { animation-delay: .9s; }\n.tsy-hero { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 6px 4px 2px; }\n.tsy-hero .tsy-lead { max-width: 460px; text-wrap: balance; }\n.tsy-hero .tsy-actions { justify-content: center; margin-top: 6px; }\n.tsy-title { margin: 0; color: var(--ta-text); font-size: calc(15px * var(--ta-font-scale)); font-weight: 600; }\n.tsy-via { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: var(--ta-hover); color: var(--ta-secondary); font-size: calc(12px * var(--ta-font-scale)); }\n.tsy-via svg { flex: none; }\n.tsy-status { display: flex; align-items: center; gap: 8px; min-height: 22px; margin: 0; color: var(--ta-muted); font-size: calc(12.5px * var(--ta-font-scale)); }\n.tsy-status .tsy-dot { width: 7px; height: 7px; }\n.tsy-status.tsy-warn { color: var(--ta-yellow); }\n.tsy-status .ta-spinner { width: 12px; height: 12px; }\n.tsy-big { margin: 0; color: var(--ta-text); font-size: calc(14px * var(--ta-font-scale)); line-height: 1.6; }\n.tsy-code-box { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 12px; border-radius: 14px; background: var(--ta-raised); }\n.tsy-code-box .tsy-code { align-self: center; background: none; padding: 0; font-size: calc(30px * var(--ta-font-scale)); letter-spacing: .24em; margin-right: -.24em; }\n.tsy-code-box .tsy-line { text-align: center; }\n.tsy-actions .ta-button { min-width: 72px; justify-content: center; }\n.tsy-check-mark { flex: none; display: grid; place-items: center; width: 18px; height: 18px; box-sizing: border-box; border: 1.5px solid var(--ta-border-field); border-radius: 5px; color: #fff; transition: background 120ms, border-color 120ms; }\n.tsy-check-mark[data-on] { border-color: var(--ta-green); background: var(--ta-green); }\n.tsy-check-mark svg { width: 12px; height: 12px; opacity: 0; transform: scale(.6); transition: opacity 120ms, transform 160ms var(--ta-ease); }\n.tsy-check-mark[data-on] svg { opacity: 1; transform: none; }\n.tsy-check input { position: absolute; opacity: 0; pointer-events: none; }\n.tsy-check:focus-within .tsy-check-mark { box-shadow: 0 0 0 3px color-mix(in srgb, var(--ta-green) 25%, transparent); }\n.tsy-check { position: relative; transition: background 120ms; }\n@media (hover: hover) { .tsy-check:not(.tsy-empty):hover, .tsy-pick:hover { background: var(--ta-hover); } }\n.tsy-check.tsy-empty { cursor: default; opacity: .5; }\n.tsy-device { transition: background 120ms; }\n.tsy-devices .tsy-device + .tsy-device { border-top: 1px solid var(--ta-border-muted); }\n.tsy-device-name { display: flex; align-items: center; gap: 6px; }\n.tsy-qr { box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }\n.tsy-ask { border: 1px solid var(--ta-border-muted); border-radius: 12px; }\n.tsy-size { flex: none; color: var(--ta-muted); font-size: calc(12px * var(--ta-font-scale)); font-variant-numeric: tabular-nums; }\n.tsy-total { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }\n.tsy-total .tsy-line { font-variant-numeric: tabular-nums; }\n.tsy-tabs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; }\n.tsy-tabs button { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 6px; }\n.tsy-section { margin: 4px 0 -4px; color: var(--ta-muted); font-size: calc(12px * var(--ta-font-scale)); }\n.tsy-path { overflow-wrap: anywhere; font-family: var(--ta-mono); font-size: calc(11.5px * var(--ta-font-scale)); color: var(--ta-secondary); }\n.tsy-progress { height: 8px; border-radius: 4px; }\n.tsy-progress-bar { border-radius: 4px; transition: width .4s var(--ta-ease); }\n.tsy-big-number { margin: 0; color: var(--ta-text); font-size: calc(22px * var(--ta-font-scale)); font-weight: 600; font-variant-numeric: tabular-nums; }\n.tsy-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; }\n.tsy-fact { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 12px; background: var(--ta-raised); }\n.tsy-fact b { color: var(--ta-text); font-size: calc(18px * var(--ta-font-scale)); font-weight: 600; font-variant-numeric: tabular-nums; }\n.tsy-fact span { color: var(--ta-muted); font-size: calc(12px * var(--ta-font-scale)); }\n.tsy-end { justify-content: flex-end; }\n.tsy-lead { margin: 0; color: var(--ta-secondary); font-size: calc(13px * var(--ta-font-scale)); line-height: calc(20px * var(--ta-font-scale)); }\n.tsy-actions { display: flex; gap: 8px; flex-wrap: wrap; }\n.tsy-devices { display: flex; flex-direction: column; border: 1px solid var(--ta-border-muted); border-radius: 12px; overflow: hidden; }\n.tsy-device { display: flex; align-items: center; gap: 12px; padding: 10px 12px; min-height: 52px; }\n.tsy-device + .tsy-device { border-top: 1px solid var(--ta-border-muted); }\n.tsy-device-icon { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--ta-raised); color: var(--ta-secondary); }\n.tsy-device-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }\n.tsy-device-name { color: var(--ta-text); font-size: calc(14px * var(--ta-font-scale)); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.tsy-device-line { display: flex; align-items: center; gap: 6px; color: var(--ta-muted); font-size: calc(12px * var(--ta-font-scale)); }\n.tsy-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ta-border-field); flex: none; }\n.tsy-dot.tsy-on { background: var(--ta-green); }\n.tsy-line { margin: 0; color: var(--ta-muted); font-size: calc(12px * var(--ta-font-scale)); line-height: calc(18px * var(--ta-font-scale)); overflow-wrap: anywhere; }\n.tsy-line.tsy-warn { color: var(--ta-yellow); }\n.tsy-link { padding: 2px 4px; border: 0; border-radius: 6px; background: none; color: var(--ta-link); font: inherit; font-size: calc(12px * var(--ta-font-scale)); cursor: pointer; }\n.tsy-link:hover { background: var(--ta-hover); }\n.tsy-link.tsy-danger { color: var(--ta-red); }\n.tsy-dialog { display: flex; flex-direction: column; gap: 14px; width: min(400px, calc(100vw - 48px)); }\n.tsy-dialog .tsy-qr { width: 200px; }\n.tsy-dialog .tsy-link-box { max-height: 3.4em; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; word-break: break-all; }\n.tsy-qr { align-self: center; width: 188px; padding: 10px; border-radius: 14px; background: #fff; border: 1px solid var(--ta-border-muted); }\n.tsy-qr svg { display: block; width: 100%; height: auto; }\n.tsy-link-box { padding: 8px 10px; border-radius: 8px; background: var(--ta-code); font-family: var(--ta-mono); font-size: calc(11.5px * var(--ta-font-scale)); color: var(--ta-secondary); overflow-wrap: anywhere; }\n.tsy-field { width: 100%; box-sizing: border-box; height: 36px; padding: 0 10px; border: 1px solid var(--ta-border-field); border-radius: 8px; background: transparent; color: var(--ta-text); font: inherit; font-size: calc(13px * var(--ta-font-scale)); }\n[data-touch] .tsy-field { font-size: max(16px, calc(13px * var(--ta-font-scale))); }\n.tsy-error { margin: 0; color: var(--ta-red); font-size: calc(12px * var(--ta-font-scale)); }\n.tsy-page { padding: 24px 20px 40px; max-width: 640px; margin: 0 auto; width: 100%; box-sizing: border-box; display: flex; flex-direction: column; gap: 20px; overflow-y: auto; }\n.tsy-page h2 { margin: 0; font-size: calc(15px * var(--ta-font-scale)); font-weight: 600; color: var(--ta-text); }\n.tsy-what { display: flex; flex-direction: column; border: 1px solid var(--ta-border-muted); border-radius: 12px; }\n.tsy-what-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; }\n.tsy-what-row + .tsy-what-row { border-top: 1px solid var(--ta-border-muted); }\n.tsy-what-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }\n.tsy-what-label { color: var(--ta-text); font-size: calc(13px * var(--ta-font-scale)); }\n.tsy-check { cursor: pointer; }\n.tsy-check input { flex: none; width: 16px; height: 16px; margin: 0; accent-color: var(--ta-green); }\n.tsy-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }\n.tsy-row .tsy-field { flex: 1 1 200px; width: auto; }\n.tsy-row .tsy-short { flex: 0 1 140px; }\n.tsy-code { align-self: flex-start; padding: 6px 14px; border-radius: 10px; background: var(--ta-raised); color: var(--ta-text); font-family: var(--ta-mono); font-size: calc(24px * var(--ta-font-scale)); letter-spacing: 0.18em; font-variant-numeric: tabular-nums; }\n.tsy-progress-box { display: flex; flex-direction: column; gap: 6px; }\n.tsy-progress { height: 6px; border-radius: 3px; background: var(--ta-raised); overflow: hidden; }\n.tsy-progress-bar { height: 100%; border-radius: 3px; background: var(--ta-green); transition: width 0.3s ease; }\n.tsy-pick { width: 100%; border: 0; background: none; text-align: left; font: inherit; color: inherit; cursor: pointer; }\n.tsy-picked { background: var(--ta-hover); }\n";
|
|
2
|
+
export declare const STYLE = "\n.tsy-panel { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 12px; animation: tsy-in 200ms var(--ta-ease); }\n@keyframes tsy-in { from { opacity: 0; transform: translateY(3px); } }\n.tsy-pic { display: block; width: 100%; max-width: 280px; height: auto; align-self: center; margin: 2px 0 4px; }\n.tsy-pic-fill { transform-box: fill-box; transform-origin: left; animation: tsy-fill 2.4s ease-in-out infinite; }\n@keyframes tsy-fill { 0% { transform: scaleX(.08); } 70%, 100% { transform: scaleX(1); } }\n.tsy-pic-later { animation-delay: .9s; }\n.tsy-hero { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 6px 4px 2px; }\n.tsy-hero .tsy-lead { max-width: 460px; text-wrap: balance; word-break: keep-all; overflow-wrap: anywhere; }\n.tsy-hero .tsy-actions { justify-content: center; margin-top: 6px; }\n.tsy-title { margin: 0; color: var(--ta-text); font-size: calc(15px * var(--ta-font-scale)); font-weight: 600; }\n.tsy-via { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: var(--ta-hover); color: var(--ta-secondary); font-size: calc(12px * var(--ta-font-scale)); }\n.tsy-via svg { flex: none; }\n.tsy-status { display: flex; align-items: center; gap: 8px; min-height: 22px; margin: 0; color: var(--ta-muted); font-size: calc(12.5px * var(--ta-font-scale)); }\n.tsy-status .tsy-dot { width: 7px; height: 7px; }\n.tsy-status.tsy-warn { color: var(--ta-yellow); }\n.tsy-status .ta-spinner { width: 12px; height: 12px; }\n.tsy-big { margin: 0; color: var(--ta-text); font-size: calc(14px * var(--ta-font-scale)); line-height: 1.6; }\n.tsy-code-box { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 12px; border-radius: 14px; background: var(--ta-raised); }\n.tsy-code-box .tsy-code { align-self: center; background: none; padding: 0; font-size: calc(30px * var(--ta-font-scale)); letter-spacing: .24em; margin-right: -.24em; }\n.tsy-code-box .tsy-line { text-align: center; }\n.tsy-actions .ta-button { min-width: 72px; justify-content: center; }\n.tsy-check-mark { flex: none; display: grid; place-items: center; width: 18px; height: 18px; box-sizing: border-box; border: 1.5px solid var(--ta-border-field); border-radius: 5px; color: #fff; transition: background 120ms, border-color 120ms; }\n.tsy-check-mark[data-on] { border-color: var(--ta-green); background: var(--ta-green); }\n.tsy-check-mark svg { width: 12px; height: 12px; opacity: 0; transform: scale(.6); transition: opacity 120ms, transform 160ms var(--ta-ease); }\n.tsy-check-mark[data-on] svg { opacity: 1; transform: none; }\n.tsy-check input { position: absolute; opacity: 0; pointer-events: none; }\n.tsy-check:focus-within .tsy-check-mark { box-shadow: 0 0 0 3px color-mix(in srgb, var(--ta-green) 25%, transparent); }\n.tsy-check { position: relative; transition: background 120ms; }\n@media (hover: hover) { .tsy-check:not(.tsy-empty):hover, .tsy-pick:hover { background: var(--ta-hover); } }\n.tsy-check.tsy-empty { cursor: default; opacity: .5; }\n.tsy-device { transition: background 120ms; }\n.tsy-devices .tsy-device + .tsy-device { border-top: 1px solid var(--ta-border-muted); }\n.tsy-device-name { display: flex; align-items: center; gap: 6px; }\n.tsy-qr { box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }\n.tsy-ask { border: 1px solid var(--ta-border-muted); border-radius: 12px; }\n.tsy-size { flex: none; color: var(--ta-muted); font-size: calc(12px * var(--ta-font-scale)); font-variant-numeric: tabular-nums; }\n.tsy-total { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }\n.tsy-total .tsy-line { font-variant-numeric: tabular-nums; }\n.tsy-tabs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; }\n.tsy-tabs button { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 6px; }\n.tsy-section { margin: 4px 0 -4px; color: var(--ta-muted); font-size: calc(12px * var(--ta-font-scale)); }\n.tsy-path { overflow-wrap: anywhere; font-family: var(--ta-mono); font-size: calc(11.5px * var(--ta-font-scale)); color: var(--ta-secondary); }\n.tsy-progress { height: 8px; border-radius: 4px; }\n.tsy-progress-bar { border-radius: 4px; transition: width .4s var(--ta-ease); }\n.tsy-big-number { margin: 0; color: var(--ta-text); font-size: calc(22px * var(--ta-font-scale)); font-weight: 600; font-variant-numeric: tabular-nums; }\n.tsy-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; }\n.tsy-fact { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 12px; background: var(--ta-raised); }\n.tsy-fact b { color: var(--ta-text); font-size: calc(18px * var(--ta-font-scale)); font-weight: 600; font-variant-numeric: tabular-nums; }\n.tsy-fact span { color: var(--ta-muted); font-size: calc(12px * var(--ta-font-scale)); }\n.tsy-end { justify-content: flex-end; }\n.tsy-lead { margin: 0; color: var(--ta-secondary); font-size: calc(13px * var(--ta-font-scale)); line-height: calc(20px * var(--ta-font-scale)); }\n.tsy-actions { display: flex; gap: 8px; flex-wrap: wrap; }\n.tsy-devices { display: flex; flex-direction: column; border: 1px solid var(--ta-border-muted); border-radius: 12px; overflow: hidden; }\n.tsy-device { display: flex; align-items: center; gap: 12px; padding: 10px 12px; min-height: 52px; }\n.tsy-device + .tsy-device { border-top: 1px solid var(--ta-border-muted); }\n.tsy-device-icon { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--ta-raised); color: var(--ta-secondary); }\n.tsy-device-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }\n.tsy-device-name { color: var(--ta-text); font-size: calc(14px * var(--ta-font-scale)); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.tsy-device-line { display: flex; align-items: center; gap: 6px; color: var(--ta-muted); font-size: calc(12px * var(--ta-font-scale)); }\n.tsy-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ta-border-field); flex: none; }\n.tsy-dot.tsy-on { background: var(--ta-green); }\n.tsy-line { margin: 0; color: var(--ta-muted); font-size: calc(12px * var(--ta-font-scale)); line-height: calc(18px * var(--ta-font-scale)); overflow-wrap: anywhere; }\n.tsy-line.tsy-warn { color: var(--ta-yellow); }\n.tsy-link { padding: 2px 4px; border: 0; border-radius: 6px; background: none; color: var(--ta-link); font: inherit; font-size: calc(12px * var(--ta-font-scale)); cursor: pointer; }\n.tsy-link:hover { background: var(--ta-hover); }\n.tsy-link.tsy-danger { color: var(--ta-red); }\n.tsy-dialog { display: flex; flex-direction: column; gap: 14px; width: min(400px, calc(100vw - 48px)); }\n.tsy-dialog .tsy-qr { width: 200px; }\n.tsy-dialog .tsy-link-box { max-height: 3.4em; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; word-break: break-all; }\n.tsy-qr { align-self: center; width: 188px; padding: 10px; border-radius: 14px; background: #fff; border: 1px solid var(--ta-border-muted); }\n.tsy-qr svg { display: block; width: 100%; height: auto; }\n.tsy-link-box { padding: 8px 10px; border-radius: 8px; background: var(--ta-code); font-family: var(--ta-mono); font-size: calc(11.5px * var(--ta-font-scale)); color: var(--ta-secondary); overflow-wrap: anywhere; }\n.tsy-field { width: 100%; box-sizing: border-box; height: 36px; padding: 0 10px; border: 1px solid var(--ta-border-field); border-radius: 8px; background: transparent; color: var(--ta-text); font: inherit; font-size: calc(13px * var(--ta-font-scale)); }\n[data-touch] .tsy-field { font-size: max(16px, calc(13px * var(--ta-font-scale))); }\n.tsy-error { margin: 0; color: var(--ta-red); font-size: calc(12px * var(--ta-font-scale)); }\n.tsy-page { padding: 24px 20px 40px; max-width: 640px; margin: 0 auto; width: 100%; box-sizing: border-box; display: flex; flex-direction: column; gap: 20px; overflow-y: auto; }\n.tsy-page h2 { margin: 0; font-size: calc(15px * var(--ta-font-scale)); font-weight: 600; color: var(--ta-text); }\n.tsy-what { display: flex; flex-direction: column; border: 1px solid var(--ta-border-muted); border-radius: 12px; }\n.tsy-what-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; }\n.tsy-what-row + .tsy-what-row { border-top: 1px solid var(--ta-border-muted); }\n.tsy-what-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }\n.tsy-what-label { color: var(--ta-text); font-size: calc(13px * var(--ta-font-scale)); }\n.tsy-check { cursor: pointer; }\n.tsy-check input { flex: none; width: 16px; height: 16px; margin: 0; accent-color: var(--ta-green); }\n.tsy-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }\n.tsy-row .tsy-field { flex: 1 1 200px; width: auto; }\n.tsy-row .tsy-short { flex: 0 1 140px; }\n.tsy-code { align-self: flex-start; padding: 6px 14px; border-radius: 10px; background: var(--ta-raised); color: var(--ta-text); font-family: var(--ta-mono); font-size: calc(24px * var(--ta-font-scale)); letter-spacing: 0.18em; font-variant-numeric: tabular-nums; }\n.tsy-progress-box { display: flex; flex-direction: column; gap: 6px; }\n.tsy-progress { height: 6px; border-radius: 3px; background: var(--ta-raised); overflow: hidden; }\n.tsy-progress-bar { height: 100%; border-radius: 3px; background: var(--ta-green); transition: width 0.3s ease; }\n.tsy-pick { width: 100%; border: 0; background: none; text-align: left; font: inherit; color: inherit; cursor: pointer; }\n.tsy-picked { background: var(--ta-hover); }\n";
|
|
3
3
|
export declare function injectStyle(): () => void;
|
|
4
4
|
//# sourceMappingURL=style.d.ts.map
|
|
@@ -11,7 +11,7 @@ exports.STYLE = `
|
|
|
11
11
|
@keyframes tsy-fill { 0% { transform: scaleX(.08); } 70%, 100% { transform: scaleX(1); } }
|
|
12
12
|
.tsy-pic-later { animation-delay: .9s; }
|
|
13
13
|
.tsy-hero { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 6px 4px 2px; }
|
|
14
|
-
.tsy-hero .tsy-lead { max-width: 460px; text-wrap: balance; }
|
|
14
|
+
.tsy-hero .tsy-lead { max-width: 460px; text-wrap: balance; word-break: keep-all; overflow-wrap: anywhere; }
|
|
15
15
|
.tsy-hero .tsy-actions { justify-content: center; margin-top: 6px; }
|
|
16
16
|
.tsy-title { margin: 0; color: var(--ta-text); font-size: calc(15px * var(--ta-font-scale)); font-weight: 600; }
|
|
17
17
|
.tsy-via { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: var(--ta-hover); color: var(--ta-secondary); font-size: calc(12px * var(--ta-font-scale)); }
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@celljs/ta-sync",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.14.0",
|
|
4
4
|
"description": "A pi package for Ta: the user's settings, instructions, skills, extensions and the data extensions declare, the same on each of their computers, through a room of the relay sealed end to end, without an account",
|
|
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",
|
|
@@ -162,9 +162,9 @@ var zh = {
|
|
|
162
162
|
data: "扩展数据",
|
|
163
163
|
dataHint: "扩展声明要同步的数据,比如 Ta 的外观设置和分身的样子",
|
|
164
164
|
identity: "身份与房间",
|
|
165
|
-
identityHint: "
|
|
165
|
+
identityHint: "每台电脑在房间里都是同一个你,房间和好友也一样;别人 @ 你的分身时,由正在用的那台回答",
|
|
166
166
|
identityAskTitle: "让这几台电脑在房间里都是同一个你?",
|
|
167
|
-
identityAskBody: "
|
|
167
|
+
identityAskBody: "你的身份、房间和好友会加密同步到这些电脑。如果另一台电脑已经共享了身份,这台会换成它的身份;这台原来所在的房间保留原来的身份。拿到身份的人就能冒充你,只在自己的电脑之间打开。",
|
|
168
168
|
identityAskConfirm: "共享"
|
|
169
169
|
};
|
|
170
170
|
var SyncWords;
|
|
@@ -371,9 +371,9 @@ var zh2 = {
|
|
|
371
371
|
credentials: "登录凭据",
|
|
372
372
|
credentialsHint: "API 密钥和机器人的登录",
|
|
373
373
|
identity: "身份与房间",
|
|
374
|
-
identityHint: "
|
|
374
|
+
identityHint: "你在房间里的身份、房间和好友,拿到的人就能冒充你",
|
|
375
375
|
identitySwitched: "房间里你现在是「{name}」上的身份,带来 {rooms} 个房间;这台电脑原来所在的房间保留原身份。",
|
|
376
|
-
identityMerged: "加进来 {rooms} 个房间和 {friends}
|
|
376
|
+
identityMerged: "加进来 {rooms} 个房间和 {friends} 位好友。",
|
|
377
377
|
reload: "加载扩展"
|
|
378
378
|
};
|
|
379
379
|
var MoveWordsUtil;
|
|
@@ -1762,7 +1762,7 @@ var STYLE = `
|
|
|
1762
1762
|
@keyframes tsy-fill { 0% { transform: scaleX(.08); } 70%, 100% { transform: scaleX(1); } }
|
|
1763
1763
|
.tsy-pic-later { animation-delay: .9s; }
|
|
1764
1764
|
.tsy-hero { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 6px 4px 2px; }
|
|
1765
|
-
.tsy-hero .tsy-lead { max-width: 460px; text-wrap: balance; }
|
|
1765
|
+
.tsy-hero .tsy-lead { max-width: 460px; text-wrap: balance; word-break: keep-all; overflow-wrap: anywhere; }
|
|
1766
1766
|
.tsy-hero .tsy-actions { justify-content: center; margin-top: 6px; }
|
|
1767
1767
|
.tsy-title { margin: 0; color: var(--ta-text); font-size: calc(15px * var(--ta-font-scale)); font-weight: 600; }
|
|
1768
1768
|
.tsy-via { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: var(--ta-hover); color: var(--ta-secondary); font-size: calc(12px * var(--ta-font-scale)); }
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@celljs/ta-sync-cloud",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.14.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",
|
|
@@ -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.
|
|
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 自动继续。
|
|
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
|
## 怎么检查
|