@celljs/ta 4.8.0 → 4.9.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/README.en.md +37 -2
- package/README.md +37 -2
- package/bin/ta.mjs +1 -1
- package/dist/cli.mjs +591 -15
- package/dist/gateway.mjs +2812 -0
- package/dist/pi/CHANGELOG.md +27 -0
- package/dist/pi/package.json +1 -1
- package/dist/pi/packages/ta-agents/extension/index.mjs +11 -1
- package/dist/pi/packages/ta-agents/lib/agent-session.js +5 -0
- package/dist/pi/packages/ta-agents/lib/agent-streamer.js +10 -1
- package/dist/pi/packages/ta-agents/package.json +11 -3
- package/dist/pi/packages/ta-bots/README.en.md +46 -0
- package/dist/pi/packages/ta-bots/README.md +46 -0
- package/dist/pi/packages/ta-bots/extension/index.mjs +629 -0
- package/dist/pi/packages/ta-bots/host/index.mjs +2313 -0
- package/dist/pi/packages/ta-bots/lib/bot-service.d.ts +96 -0
- package/dist/pi/packages/ta-bots/lib/bot-service.js +391 -0
- package/dist/pi/packages/ta-bots/lib/bot-store.d.ts +42 -0
- package/dist/pi/packages/ta-bots/lib/bot-store.js +97 -0
- package/dist/pi/packages/ta-bots/lib/bots-protocol.d.ts +131 -0
- package/dist/pi/packages/ta-bots/lib/bots-protocol.js +46 -0
- package/dist/pi/packages/ta-bots/lib/bots-view.d.ts +7 -0
- package/dist/pi/packages/ta-bots/lib/bots-view.js +84 -0
- package/dist/pi/packages/ta-bots/lib/channel-protocol.d.ts +58 -0
- package/dist/pi/packages/ta-bots/lib/channel-protocol.js +37 -0
- package/dist/pi/packages/ta-bots/lib/composer.d.ts +21 -0
- package/dist/pi/packages/ta-bots/lib/composer.js +104 -0
- package/dist/pi/packages/ta-bots/lib/connect-dialog.d.ts +18 -0
- package/dist/pi/packages/ta-bots/lib/connect-dialog.js +198 -0
- package/dist/pi/packages/ta-bots/lib/extension.d.ts +34 -0
- package/dist/pi/packages/ta-bots/lib/extension.js +207 -0
- package/dist/pi/packages/ta-bots/lib/host.d.ts +8 -0
- package/dist/pi/packages/ta-bots/lib/host.js +15 -0
- package/dist/pi/packages/ta-bots/lib/i18n.d.ts +87 -0
- package/dist/pi/packages/ta-bots/lib/i18n.js +175 -0
- package/dist/pi/packages/ta-bots/lib/index.d.ts +9 -0
- package/dist/pi/packages/ta-bots/lib/index.js +40 -0
- package/dist/pi/packages/ta-bots/lib/login-book.d.ts +17 -0
- package/dist/pi/packages/ta-bots/lib/login-book.js +55 -0
- package/dist/pi/packages/ta-bots/lib/media-crypto.d.ts +19 -0
- package/dist/pi/packages/ta-bots/lib/media-crypto.js +70 -0
- package/dist/pi/packages/ta-bots/lib/message.d.ts +13 -0
- package/dist/pi/packages/ta-bots/lib/message.js +74 -0
- package/dist/pi/packages/ta-bots/lib/page.d.ts +54 -0
- package/dist/pi/packages/ta-bots/lib/page.js +131 -0
- package/dist/pi/packages/ta-bots/lib/pictures.d.ts +3 -0
- package/dist/pi/packages/ta-bots/lib/pictures.js +21 -0
- package/dist/pi/packages/ta-bots/lib/qr-image.d.ts +16 -0
- package/dist/pi/packages/ta-bots/lib/qr-image.js +70 -0
- package/dist/pi/packages/ta-bots/lib/react.d.ts +8 -0
- package/dist/pi/packages/ta-bots/lib/react.js +8 -0
- package/dist/pi/packages/ta-bots/lib/server-texts.d.ts +12 -0
- package/dist/pi/packages/ta-bots/lib/server-texts.js +45 -0
- package/dist/pi/packages/ta-bots/lib/session-bridge.d.ts +43 -0
- package/dist/pi/packages/ta-bots/lib/session-bridge.js +118 -0
- package/dist/pi/packages/ta-bots/lib/style.d.ts +4 -0
- package/dist/pi/packages/ta-bots/lib/style.js +114 -0
- package/dist/pi/packages/ta-bots/lib/test-fakes.d.ts +37 -0
- package/dist/pi/packages/ta-bots/lib/test-fakes.js +94 -0
- package/dist/pi/packages/ta-bots/lib/text-util.d.ts +16 -0
- package/dist/pi/packages/ta-bots/lib/text-util.js +158 -0
- package/dist/pi/packages/ta-bots/lib/web-socket-client.d.ts +38 -0
- package/dist/pi/packages/ta-bots/lib/web-socket-client.js +213 -0
- package/dist/pi/packages/ta-bots/lib/wecom-channel.d.ts +38 -0
- package/dist/pi/packages/ta-bots/lib/wecom-channel.js +222 -0
- package/dist/pi/packages/ta-bots/lib/wecom-login.d.ts +34 -0
- package/dist/pi/packages/ta-bots/lib/wecom-login.js +84 -0
- package/dist/pi/packages/ta-bots/lib/wecom-socket.d.ts +74 -0
- package/dist/pi/packages/ta-bots/lib/wecom-socket.js +214 -0
- package/dist/pi/packages/ta-bots/lib/weixin-api.d.ts +112 -0
- package/dist/pi/packages/ta-bots/lib/weixin-api.js +171 -0
- package/dist/pi/packages/ta-bots/lib/weixin-channel.d.ts +49 -0
- package/dist/pi/packages/ta-bots/lib/weixin-channel.js +258 -0
- package/dist/pi/packages/ta-bots/lib/weixin-login.d.ts +31 -0
- package/dist/pi/packages/ta-bots/lib/weixin-login.js +110 -0
- package/dist/pi/packages/ta-bots/package.json +55 -0
- package/dist/pi/packages/ta-bots/web/index.js +1241 -0
- package/dist/pi/packages/ta-changes/lib/diff-tab.js +1 -1
- package/dist/pi/packages/ta-changes/lib/style.d.ts +1 -1
- package/dist/pi/packages/ta-changes/lib/style.js +12 -10
- package/dist/pi/packages/ta-changes/package.json +11 -2
- package/dist/pi/packages/ta-changes/web/index.js +16 -13
- package/dist/pi/packages/ta-channels/README.en.md +3 -2
- package/dist/pi/packages/ta-channels/README.md +3 -2
- package/dist/pi/packages/ta-channels/extension/index.mjs +109 -8
- package/dist/pi/packages/ta-channels/host/index.mjs +281 -5
- package/dist/pi/packages/ta-channels/lib/agent-menu.d.ts +2 -0
- package/dist/pi/packages/ta-channels/lib/agent-menu.js +19 -6
- package/dist/pi/packages/ta-channels/lib/channel-menu.d.ts +2 -0
- package/dist/pi/packages/ta-channels/lib/channel-menu.js +15 -12
- package/dist/pi/packages/ta-channels/lib/channels-model.d.ts +10 -0
- package/dist/pi/packages/ta-channels/lib/channels-util.d.ts +10 -0
- package/dist/pi/packages/ta-channels/lib/channels-util.js +29 -2
- package/dist/pi/packages/ta-channels/lib/channels.d.ts +2 -0
- package/dist/pi/packages/ta-channels/lib/channels.js +1 -0
- package/dist/pi/packages/ta-channels/lib/create.js +2 -2
- package/dist/pi/packages/ta-channels/lib/extension.d.ts +5 -0
- package/dist/pi/packages/ta-channels/lib/extension.js +25 -2
- package/dist/pi/packages/ta-channels/lib/i18n.d.ts +40 -9
- package/dist/pi/packages/ta-channels/lib/i18n.js +81 -19
- package/dist/pi/packages/ta-channels/lib/index.d.ts +3 -2
- package/dist/pi/packages/ta-channels/lib/index.js +14 -2
- package/dist/pi/packages/ta-channels/lib/members.js +10 -5
- package/dist/pi/packages/ta-channels/lib/more-menu.d.ts +5 -1
- package/dist/pi/packages/ta-channels/lib/more-menu.js +55 -9
- package/dist/pi/packages/ta-channels/lib/room.d.ts +11 -2
- package/dist/pi/packages/ta-channels/lib/room.js +47 -6
- package/dist/pi/packages/ta-channels/lib/sidebar.d.ts +5 -1
- package/dist/pi/packages/ta-channels/lib/sidebar.js +189 -31
- package/dist/pi/packages/ta-channels/lib/style.d.ts +1 -1
- package/dist/pi/packages/ta-channels/lib/style.js +136 -73
- package/dist/pi/packages/ta-channels/lib/tasks.d.ts +48 -0
- package/dist/pi/packages/ta-channels/lib/tasks.js +226 -0
- package/dist/pi/packages/ta-channels/lib/team-ask.d.ts +21 -0
- package/dist/pi/packages/ta-channels/lib/team-ask.js +73 -0
- package/dist/pi/packages/ta-channels/lib/team-tools.d.ts +6 -1
- package/dist/pi/packages/ta-channels/lib/team-tools.js +5 -4
- package/dist/pi/packages/ta-channels/lib/team.d.ts +5 -1
- package/dist/pi/packages/ta-channels/lib/team.js +10 -4
- package/dist/pi/packages/ta-channels/lib/views.d.ts +18 -3
- package/dist/pi/packages/ta-channels/lib/views.js +40 -9
- package/dist/pi/packages/ta-channels/package.json +11 -2
- package/dist/pi/packages/ta-channels/web/index.js +992 -205
- package/dist/pi/packages/ta-computer-use/package.json +11 -2
- package/dist/pi/packages/ta-cron/README.en.md +3 -3
- package/dist/pi/packages/ta-cron/README.md +3 -3
- package/dist/pi/packages/ta-cron/host/index.mjs +19 -12
- package/dist/pi/packages/ta-cron/lib/editor.js +1 -3
- package/dist/pi/packages/ta-cron/lib/i18n.d.ts +2 -4
- package/dist/pi/packages/ta-cron/lib/i18n.js +4 -8
- package/dist/pi/packages/ta-cron/lib/index.js +11 -0
- package/dist/pi/packages/ta-cron/lib/next-card.d.ts +9 -0
- package/dist/pi/packages/ta-cron/lib/next-card.js +35 -0
- package/dist/pi/packages/ta-cron/lib/page.d.ts +3 -0
- package/dist/pi/packages/ta-cron/lib/page.js +4 -1
- package/dist/pi/packages/ta-cron/lib/pictures.d.ts +6 -0
- package/dist/pi/packages/ta-cron/lib/pictures.js +46 -0
- package/dist/pi/packages/ta-cron/lib/scheduler.d.ts +2 -0
- package/dist/pi/packages/ta-cron/lib/scheduler.js +24 -14
- package/dist/pi/packages/ta-cron/lib/style.d.ts +1 -1
- package/dist/pi/packages/ta-cron/lib/style.js +30 -44
- package/dist/pi/packages/ta-cron/lib/tasks-view.d.ts +4 -0
- package/dist/pi/packages/ta-cron/lib/tasks-view.js +36 -21
- package/dist/pi/packages/ta-cron/package.json +11 -2
- package/dist/pi/packages/ta-cron/web/index.js +249 -281
- package/dist/pi/packages/ta-extensions/README.en.md +4 -1
- package/dist/pi/packages/ta-extensions/README.md +4 -1
- package/dist/pi/packages/ta-extensions/host/index.mjs +64 -61
- package/dist/pi/packages/ta-extensions/lib/actions.d.ts +2 -0
- package/dist/pi/packages/ta-extensions/lib/actions.js +9 -1
- package/dist/pi/packages/ta-extensions/lib/host.d.ts +0 -8
- package/dist/pi/packages/ta-extensions/lib/host.js +7 -49
- package/dist/pi/packages/ta-extensions/lib/i18n.d.ts +8 -0
- package/dist/pi/packages/ta-extensions/lib/i18n.js +20 -4
- package/dist/pi/packages/ta-extensions/lib/index.js +2 -0
- package/dist/pi/packages/ta-extensions/lib/market-detail.js +14 -2
- package/dist/pi/packages/ta-extensions/lib/market-style.d.ts +1 -1
- package/dist/pi/packages/ta-extensions/lib/market-style.js +18 -18
- package/dist/pi/packages/ta-extensions/lib/page.js +22 -11
- package/dist/pi/packages/ta-extensions/lib/pictures.d.ts +3 -1
- package/dist/pi/packages/ta-extensions/lib/pictures.js +28 -32
- package/dist/pi/packages/ta-extensions/lib/search.d.ts +10 -0
- package/dist/pi/packages/ta-extensions/lib/search.js +139 -0
- package/dist/pi/packages/ta-extensions/lib/style.d.ts +1 -1
- package/dist/pi/packages/ta-extensions/lib/style.js +15 -34
- package/dist/pi/packages/ta-extensions/package.json +12 -2
- package/dist/pi/packages/ta-extensions/skills/ta-package/SKILL.md +12 -8
- package/dist/pi/packages/ta-extensions/web/index.js +488 -120
- package/dist/pi/packages/ta-launcher/README.en.md +15 -0
- package/dist/pi/packages/ta-launcher/README.md +15 -0
- package/dist/pi/packages/ta-launcher/lib/actions.d.ts +31 -0
- package/dist/pi/packages/ta-launcher/lib/actions.js +134 -0
- package/dist/pi/packages/ta-launcher/lib/i18n.d.ts +38 -0
- package/dist/pi/packages/ta-launcher/lib/i18n.js +77 -0
- package/dist/pi/packages/ta-launcher/lib/index.d.ts +8 -0
- package/dist/pi/packages/ta-launcher/lib/index.js +48 -0
- package/dist/pi/packages/ta-launcher/lib/launcher-util.d.ts +19 -0
- package/dist/pi/packages/ta-launcher/lib/launcher-util.js +47 -0
- package/dist/pi/packages/ta-launcher/lib/launcher-view.d.ts +20 -0
- package/dist/pi/packages/ta-launcher/lib/launcher-view.js +99 -0
- package/dist/pi/packages/ta-launcher/lib/mine-store.d.ts +22 -0
- package/dist/pi/packages/ta-launcher/lib/mine-store.js +60 -0
- package/dist/pi/packages/ta-launcher/lib/react.d.ts +8 -0
- package/dist/pi/packages/ta-launcher/lib/react.js +8 -0
- package/dist/pi/packages/ta-launcher/lib/style.d.ts +4 -0
- package/dist/pi/packages/ta-launcher/lib/style.js +48 -0
- package/dist/pi/packages/ta-launcher/package.json +49 -0
- package/dist/pi/packages/ta-launcher/web/index.js +553 -0
- package/dist/pi/packages/ta-workspace/README.md +2 -2
- package/dist/pi/packages/ta-workspace/README.zh-cn.md +2 -2
- package/dist/pi/packages/ta-workspace/lib/common.d.ts +8 -5
- package/dist/pi/packages/ta-workspace/lib/common.js +53 -14
- package/dist/pi/packages/ta-workspace/lib/explorer-excluded.d.ts +3 -0
- package/dist/pi/packages/ta-workspace/lib/explorer-excluded.js +39 -0
- package/dist/pi/packages/ta-workspace/lib/explorer-transfer.d.ts +31 -0
- package/dist/pi/packages/ta-workspace/lib/explorer-transfer.js +156 -0
- package/dist/pi/packages/ta-workspace/lib/explorer.js +45 -153
- package/dist/pi/packages/ta-workspace/lib/i18n.d.ts +10 -0
- package/dist/pi/packages/ta-workspace/lib/i18n.js +30 -10
- package/dist/pi/packages/ta-workspace/lib/open-files.js +1 -1
- package/dist/pi/packages/ta-workspace/lib/preview.js +6 -2
- package/dist/pi/packages/ta-workspace/lib/scm.js +4 -4
- package/dist/pi/packages/ta-workspace/lib/search.js +1 -1
- package/dist/pi/packages/ta-workspace/lib/style.d.ts +1 -1
- package/dist/pi/packages/ta-workspace/lib/style.js +100 -55
- package/dist/pi/packages/ta-workspace/lib/terminal.d.ts +24 -2
- package/dist/pi/packages/ta-workspace/lib/terminal.js +305 -43
- package/dist/pi/packages/ta-workspace/lib/util/terminal.d.ts +25 -0
- package/dist/pi/packages/ta-workspace/lib/util/terminal.js +55 -0
- package/dist/pi/packages/ta-workspace/lib/util/workspace.d.ts +3 -2
- package/dist/pi/packages/ta-workspace/lib/util/workspace.js +7 -3
- package/dist/pi/packages/ta-workspace/lib/workspace-client.d.ts +1 -1
- package/dist/pi/packages/ta-workspace/lib/workspace-client.js +2 -2
- package/dist/pi/packages/ta-workspace/package.json +11 -2
- package/dist/pi/packages/ta-workspace/web/index.js +913 -294
- package/dist/public/assets/{abnfDiagram-S7VZAUFO-CNqfsCwx.js → abnfDiagram-S7VZAUFO-C1tb6dM5.js} +1 -1
- package/dist/public/assets/{architecture-WOLXFQ4H-_WaGq-Qk.js → architecture-WOLXFQ4H-DN1Va8BF.js} +1 -1
- package/dist/public/assets/{architectureDiagram-YGSQEFNW-Bn63Lctu.js → architectureDiagram-YGSQEFNW-BmK2SYtQ.js} +1 -1
- package/dist/public/assets/{blockDiagram-APKKGZFW-BGaAecnk.js → blockDiagram-APKKGZFW-DvLrLzTm.js} +1 -1
- package/dist/public/assets/{browser-DKagIN4Y.js → browser-DAv3ly6M.js} +1 -1
- package/dist/public/assets/{c4Diagram-KJ2TOQU5-CK9Z_9Zp.js → c4Diagram-KJ2TOQU5-CrQlWwrG.js} +1 -1
- package/dist/public/assets/{chunk-6MUBBAK2-H3j3MGva.js → chunk-6MUBBAK2-CHKMsuY_.js} +1 -1
- package/dist/public/assets/{chunk-AXFCVDMN-Beljdjs9.js → chunk-AXFCVDMN-CWJ7Np6s.js} +1 -1
- package/dist/public/assets/{chunk-BG4553SI-TYEV5wLO.js → chunk-BG4553SI-3v5XbQGM.js} +1 -1
- package/dist/public/assets/{chunk-DQASFODM-gmWJrizf.js → chunk-DQASFODM-2CC-yiCz.js} +1 -1
- package/dist/public/assets/{chunk-HFQBQIA3-BTa7yKXI.js → chunk-HFQBQIA3-D2hzQPAy.js} +1 -1
- package/dist/public/assets/{chunk-KQLB2F66-BlwMm4R0.js → chunk-KQLB2F66-SifAZs2r.js} +1 -1
- package/dist/public/assets/{chunk-KS47KZWR-CKTXjzwD.js → chunk-KS47KZWR-BP0C0VCC.js} +1 -1
- package/dist/public/assets/{chunk-LEVMRMFU-Bn9Xkefl.js → chunk-LEVMRMFU-B1f5vw5b.js} +1 -1
- package/dist/public/assets/{chunk-M57EVK23-B_QLqohG.js → chunk-M57EVK23-B2MCJt7Y.js} +1 -1
- package/dist/public/assets/{chunk-OY52VR5R-BflzJHPz.js → chunk-OY52VR5R-cDpZJMk4.js} +1 -1
- package/dist/public/assets/{chunk-QB3YPZ4I-BXucfaFg.js → chunk-QB3YPZ4I-BE0we2xc.js} +1 -1
- package/dist/public/assets/{chunk-R3KSYZAL-CGwkwxm9.js → chunk-R3KSYZAL-D9wOfqqH.js} +1 -1
- package/dist/public/assets/{chunk-STOXU5M4-DQGOPuM5.js → chunk-STOXU5M4-BIaVsc0K.js} +1 -1
- package/dist/public/assets/{chunk-TU62E6Q5-BCrs6AYI.js → chunk-TU62E6Q5-BZc0OZEM.js} +1 -1
- package/dist/public/assets/{chunk-X4PVCEUW-MTv7nXJX.js → chunk-X4PVCEUW-Bngfwwzm.js} +1 -1
- package/dist/public/assets/{chunk-XXDRQBXY-fPaX8VIb.js → chunk-XXDRQBXY-C5FQ6XHK.js} +1 -1
- package/dist/public/assets/{classDiagram-v2-L25IHNXF-tm4uT08q.js → classDiagram-v2-L25IHNXF-_om54nmt.js} +1 -1
- package/dist/public/assets/{cose-bilkent-JH36ORCC-Dkk3pDZj.js → cose-bilkent-JH36ORCC-Dwpeee_6.js} +1 -1
- package/dist/public/assets/cynefin-EF2NZ3EQ-CW_93VVD.js +1 -0
- package/dist/public/assets/{cynefinDiagram-L36ESFBY-BcoArW00.js → cynefinDiagram-L36ESFBY-DP5_y9Dq.js} +1 -1
- package/dist/public/assets/{d3-selection-BzUITLov.js → d3-selection-DFiMlEmn.js} +1 -1
- package/dist/public/assets/{dagre-SPEB5RXH-oiU-wJxw.js → dagre-SPEB5RXH-DYwsk6gk.js} +1 -1
- package/dist/public/assets/{diagram-3B7GL73J-BwlCOIW4.js → diagram-3B7GL73J-Dq_nT3AZ.js} +1 -1
- package/dist/public/assets/{diagram-DNEMPZML-CZGQiFrl.js → diagram-DNEMPZML-ChURW6y9.js} +1 -1
- package/dist/public/assets/{diagram-L3MUGCDN-BJGDa24C.js → diagram-L3MUGCDN-CgVp4Rto.js} +1 -1
- package/dist/public/assets/{diagram-LA4NIPWU-DdwHRhnP.js → diagram-LA4NIPWU-vrqLMDby.js} +1 -1
- package/dist/public/assets/{diagram-MHCOC4E2-IjreLUB9.js → diagram-MHCOC4E2-lvfOr5ij.js} +1 -1
- package/dist/public/assets/{diagram-XPFHEONP-CvaG0Zzq.js → diagram-XPFHEONP-oQ18TeVp.js} +1 -1
- package/dist/public/assets/{dist-Cm4zqoMA.js → dist-BOxxmveI.js} +1 -1
- package/dist/public/assets/{ebnfDiagram-UZSYDL2S-C-FOI67M.js → ebnfDiagram-UZSYDL2S-C7_tlZCS.js} +1 -1
- package/dist/public/assets/{editor.api-hteKufWf.js → editor.api-CoZ8MEuz.js} +1 -1
- package/dist/public/assets/{elk-XV6XMXQE-C_ClfkLy.js → elk-XV6XMXQE-Dkt5-ikg.js} +1 -1
- package/dist/public/assets/{erDiagram-EYBAPDEH-DSr0aRYm.js → erDiagram-EYBAPDEH-27kh3zlx.js} +1 -1
- package/dist/public/assets/{eventmodeling-K75KTNOO-COU_atV6.js → eventmodeling-K75KTNOO-CxVEejjN.js} +1 -1
- package/dist/public/assets/flowDiagram-MALGAFMO-BRowRdve.js +1 -0
- package/dist/public/assets/{freemarker2-CBJnhymu.js → freemarker2-D6CwPIXh.js} +1 -1
- package/dist/public/assets/{ganttDiagram-23REXITY-BAcXXNjI.js → ganttDiagram-23REXITY-C-amlwpX.js} +1 -1
- package/dist/public/assets/gitGraph-VSP46ZUC-BGmojXlx.js +1 -0
- package/dist/public/assets/{gitGraphDiagram-STJD7YCW-Bk9sns6k.js → gitGraphDiagram-STJD7YCW-DKhzI0Xz.js} +1 -1
- package/dist/public/assets/{handlebars-CiqYW1im.js → handlebars-mxNr68Gm.js} +1 -1
- package/dist/public/assets/{html-kafkm1Z0.js → html-Bze6s9R9.js} +1 -1
- package/dist/public/assets/{index-DPLd0-lb.js → index-BhQUc9PU.js} +2 -2
- package/dist/public/assets/info-OHQRW6UA-CRRVgGj2.js +1 -0
- package/dist/public/assets/{infoDiagram-KBXO4MBG-2hRQLVWa.js → infoDiagram-KBXO4MBG-WHuWjEDO.js} +1 -1
- package/dist/public/assets/{ishikawaDiagram-M35NCXHK-hrOnhWJs.js → ishikawaDiagram-M35NCXHK-DFHUwD0J.js} +1 -1
- package/dist/public/assets/{javascript-Dt5MiA9w.js → javascript-4NMPu7y1.js} +1 -1
- package/dist/public/assets/{journeyDiagram-OPLOXDXO-d8HJd04q.js → journeyDiagram-OPLOXDXO-C7gV6zEr.js} +1 -1
- package/dist/public/assets/{jsonMode-DBICoo6P.js → jsonMode-B1JEHPMp.js} +1 -1
- package/dist/public/assets/{kanban-definition-BZKZHSQY-DOUuZDiv.js → kanban-definition-BZKZHSQY-DlRu_d2Q.js} +1 -1
- package/dist/public/assets/{liquid-BGYhBP2h.js → liquid-B7sIf4NX.js} +1 -1
- package/dist/public/assets/{mdx-Ct_gzcP3.js → mdx-CAN0qez6.js} +1 -1
- package/dist/public/assets/{mermaid-parser.core-2yhxYNxq.js → mermaid-parser.core-BGmotBhf.js} +3 -3
- package/dist/public/assets/{mermaid.core-sx7teU8z.js → mermaid.core-Cl6SS3cM.js} +4 -4
- package/dist/public/assets/{mindmap-definition-I2QAS2VK-DIc9LejH.js → mindmap-definition-I2QAS2VK-DiQ8Feqr.js} +1 -1
- package/dist/public/assets/module-1nDbf1AK.js +1761 -0
- package/dist/public/assets/module-BkKfSTDV.js +1 -0
- package/dist/public/assets/{monaco-DJecWyyV.js → monaco-CwCjTWAO.js} +3 -3
- package/dist/public/assets/packet-JDAUHWVQ-DUlqTCWQ.js +1 -0
- package/dist/public/assets/{pegDiagram-FD4XPPHP-BfiT6-Vx.js → pegDiagram-FD4XPPHP-XhCpv6BX.js} +1 -1
- package/dist/public/assets/pie-XZMESJXO-2RgP4ScO.js +1 -0
- package/dist/public/assets/{pieDiagram-J4AKIIQI-DJ0sF_Eg.js → pieDiagram-J4AKIIQI-DUVzuXUd.js} +1 -1
- package/dist/public/assets/{python-BrnocsK9.js → python-DsoF66Sp.js} +1 -1
- package/dist/public/assets/{quadrantDiagram-XTYBLID2-C3iF5PG6.js → quadrantDiagram-XTYBLID2-Ddobf0z0.js} +1 -1
- package/dist/public/assets/radar-ABXABTNO-Dap8k-yH.js +1 -0
- package/dist/public/assets/railroad-I3PHUGI6-Ds10NBze.js +1 -0
- package/dist/public/assets/{railroad-abnf-LNEFI6M7-BI4N-mtq.js → railroad-abnf-LNEFI6M7-DkrNo-Gf.js} +1 -1
- package/dist/public/assets/{railroad-ebnf-DWYD2UWJ-Ck2MUlyV.js → railroad-ebnf-DWYD2UWJ-DaB7gY8P.js} +1 -1
- package/dist/public/assets/{railroad-peg-JR7BVNR7-Cuc9S0f4.js → railroad-peg-JR7BVNR7-D_QG87QV.js} +1 -1
- package/dist/public/assets/{railroadDiagram-MRQ6NCDL-Cw24sb_5.js → railroadDiagram-MRQ6NCDL-x-nUoBjv.js} +1 -1
- package/dist/public/assets/{razor-BDHTAmlI.js → razor-DSrcJyQe.js} +1 -1
- package/dist/public/assets/{requirementDiagram-Y7LWUY3S-QQUXFr1R.js → requirementDiagram-Y7LWUY3S-kNNcbsty.js} +1 -1
- package/dist/public/assets/{sankeyDiagram-WGJFYUXA-mSlfAHND.js → sankeyDiagram-WGJFYUXA-ClC12Odk.js} +1 -1
- package/dist/public/assets/{sequenceDiagram-5NDRBG5M-3t8hVott.js → sequenceDiagram-5NDRBG5M-DDQITP2g.js} +1 -1
- package/dist/public/assets/{stateDiagram-v2-FJ4FJNEA-9EW807AL.js → stateDiagram-v2-FJ4FJNEA-N1t_36oh.js} +1 -1
- package/dist/public/assets/{swimlanes-UMQ2AFYF-EbMBX_e0.js → swimlanes-UMQ2AFYF-DSt9fFYE.js} +1 -1
- package/dist/public/assets/swimlanesDiagram-OMPLPG4O-BHAN4SQO.js +8 -0
- package/dist/public/assets/{timeline-definition-SEUHKTQE-D14kjjsp.js → timeline-definition-SEUHKTQE-CfymOw_s.js} +1 -1
- package/dist/public/assets/treeView-D4JQ5SDB-f1hLUBjI.js +1 -0
- package/dist/public/assets/treemap-SAJKECNS-_NPRpuUC.js +1 -0
- package/dist/public/assets/{typescript-BEEbbq69.js → typescript-J7rF-zX8.js} +1 -1
- package/dist/public/assets/{usecaseDiagram-AFA6YXN4-DKemtzU9.js → usecaseDiagram-AFA6YXN4-CK_mRc2_.js} +1 -1
- package/dist/public/assets/{vennDiagram-NNMJR3RB-DOBq9oeY.js → vennDiagram-NNMJR3RB-DW8xR6IJ.js} +1 -1
- package/dist/public/assets/wardley-7MLQ67FV-CLBqtefx.js +1 -0
- package/dist/public/assets/{wardleyDiagram-S7YFUSEH-DquSJ4y-.js → wardleyDiagram-S7YFUSEH-Css55Zq5.js} +1 -1
- package/dist/public/assets/{xml-DvTQKQ_W.js → xml-CJeviG_a.js} +1 -1
- package/dist/public/assets/{xychartDiagram-GGNKY7IX-ClE_9jz4.js → xychartDiagram-GGNKY7IX-BnhK9cFS.js} +1 -1
- package/dist/public/assets/{yaml-ffiFfPtJ.js → yaml-Gw3uo6rF.js} +1 -1
- package/dist/public/index.html +35 -6
- package/dist/public/launch.svg +49 -0
- package/dist/serve/index.mjs +3693 -889
- package/package.json +25 -22
- package/dist/pi/packages/ta-agents/fixtures/fake-acp-agent.mjs +0 -183
- package/dist/pi/packages/ta-agents/lib/acp-agent.d.ts.map +0 -1
- package/dist/pi/packages/ta-agents/lib/acp-agent.js.map +0 -1
- package/dist/pi/packages/ta-agents/lib/acp-protocol.d.ts.map +0 -1
- package/dist/pi/packages/ta-agents/lib/acp-protocol.js.map +0 -1
- package/dist/pi/packages/ta-agents/lib/agent-bindings.d.ts.map +0 -1
- package/dist/pi/packages/ta-agents/lib/agent-bindings.js.map +0 -1
- package/dist/pi/packages/ta-agents/lib/agent-catalog.d.ts.map +0 -1
- package/dist/pi/packages/ta-agents/lib/agent-catalog.js.map +0 -1
- package/dist/pi/packages/ta-agents/lib/agent-prompt.d.ts.map +0 -1
- package/dist/pi/packages/ta-agents/lib/agent-prompt.js.map +0 -1
- package/dist/pi/packages/ta-agents/lib/agent-session.d.ts.map +0 -1
- package/dist/pi/packages/ta-agents/lib/agent-session.js.map +0 -1
- package/dist/pi/packages/ta-agents/lib/agent-streamer.d.ts.map +0 -1
- package/dist/pi/packages/ta-agents/lib/agent-streamer.js.map +0 -1
- package/dist/pi/packages/ta-agents/lib/agent-tool.d.ts.map +0 -1
- package/dist/pi/packages/ta-agents/lib/agent-tool.js.map +0 -1
- package/dist/pi/packages/ta-agents/lib/agent-turn.d.ts.map +0 -1
- package/dist/pi/packages/ta-agents/lib/agent-turn.js.map +0 -1
- package/dist/pi/packages/ta-agents/lib/extension.d.ts.map +0 -1
- package/dist/pi/packages/ta-agents/lib/extension.js.map +0 -1
- package/dist/pi/packages/ta-agents/lib/json-rpc.d.ts.map +0 -1
- package/dist/pi/packages/ta-agents/lib/json-rpc.js.map +0 -1
- package/dist/pi/packages/ta-agents/lib/message-stream.d.ts.map +0 -1
- package/dist/pi/packages/ta-agents/lib/message-stream.js.map +0 -1
- package/dist/pi/packages/ta-agents/lib/pi-types.d.ts.map +0 -1
- package/dist/pi/packages/ta-agents/lib/pi-types.js.map +0 -1
- package/dist/pi/packages/ta-agents/lib/texts.d.ts.map +0 -1
- package/dist/pi/packages/ta-agents/lib/texts.js.map +0 -1
- package/dist/pi/packages/ta-changes/lib/blob-store.d.ts.map +0 -1
- package/dist/pi/packages/ta-changes/lib/blob-store.js.map +0 -1
- package/dist/pi/packages/ta-changes/lib/card.d.ts.map +0 -1
- package/dist/pi/packages/ta-changes/lib/card.js.map +0 -1
- package/dist/pi/packages/ta-changes/lib/changes-protocol.d.ts.map +0 -1
- package/dist/pi/packages/ta-changes/lib/changes-protocol.js.map +0 -1
- package/dist/pi/packages/ta-changes/lib/changes-service.d.ts.map +0 -1
- package/dist/pi/packages/ta-changes/lib/changes-service.js.map +0 -1
- package/dist/pi/packages/ta-changes/lib/changes-util.d.ts.map +0 -1
- package/dist/pi/packages/ta-changes/lib/changes-util.js.map +0 -1
- package/dist/pi/packages/ta-changes/lib/diff-tab.d.ts.map +0 -1
- package/dist/pi/packages/ta-changes/lib/diff-tab.js.map +0 -1
- package/dist/pi/packages/ta-changes/lib/extension.d.ts.map +0 -1
- package/dist/pi/packages/ta-changes/lib/extension.js.map +0 -1
- package/dist/pi/packages/ta-changes/lib/host.d.ts.map +0 -1
- package/dist/pi/packages/ta-changes/lib/host.js.map +0 -1
- package/dist/pi/packages/ta-changes/lib/i18n.d.ts.map +0 -1
- package/dist/pi/packages/ta-changes/lib/i18n.js.map +0 -1
- package/dist/pi/packages/ta-changes/lib/index.d.ts.map +0 -1
- package/dist/pi/packages/ta-changes/lib/index.js.map +0 -1
- package/dist/pi/packages/ta-changes/lib/line-diff.d.ts.map +0 -1
- package/dist/pi/packages/ta-changes/lib/line-diff.js.map +0 -1
- package/dist/pi/packages/ta-changes/lib/page.d.ts.map +0 -1
- package/dist/pi/packages/ta-changes/lib/page.js.map +0 -1
- package/dist/pi/packages/ta-changes/lib/react.d.ts.map +0 -1
- package/dist/pi/packages/ta-changes/lib/react.js.map +0 -1
- package/dist/pi/packages/ta-changes/lib/recorder.d.ts.map +0 -1
- package/dist/pi/packages/ta-changes/lib/recorder.js.map +0 -1
- package/dist/pi/packages/ta-changes/lib/style.d.ts.map +0 -1
- package/dist/pi/packages/ta-changes/lib/style.js.map +0 -1
- package/dist/pi/packages/ta-channels/lib/agent-menu.d.ts.map +0 -1
- package/dist/pi/packages/ta-channels/lib/agent-menu.js.map +0 -1
- package/dist/pi/packages/ta-channels/lib/channel-menu.d.ts.map +0 -1
- package/dist/pi/packages/ta-channels/lib/channel-menu.js.map +0 -1
- package/dist/pi/packages/ta-channels/lib/channels-model.d.ts.map +0 -1
- package/dist/pi/packages/ta-channels/lib/channels-model.js.map +0 -1
- package/dist/pi/packages/ta-channels/lib/channels-util.d.ts.map +0 -1
- package/dist/pi/packages/ta-channels/lib/channels-util.js.map +0 -1
- package/dist/pi/packages/ta-channels/lib/channels.d.ts.map +0 -1
- package/dist/pi/packages/ta-channels/lib/channels.js.map +0 -1
- package/dist/pi/packages/ta-channels/lib/create.d.ts.map +0 -1
- package/dist/pi/packages/ta-channels/lib/create.js.map +0 -1
- package/dist/pi/packages/ta-channels/lib/extension.d.ts.map +0 -1
- package/dist/pi/packages/ta-channels/lib/extension.js.map +0 -1
- package/dist/pi/packages/ta-channels/lib/faces.d.ts.map +0 -1
- package/dist/pi/packages/ta-channels/lib/faces.js.map +0 -1
- package/dist/pi/packages/ta-channels/lib/host.d.ts.map +0 -1
- package/dist/pi/packages/ta-channels/lib/host.js.map +0 -1
- package/dist/pi/packages/ta-channels/lib/i18n.d.ts.map +0 -1
- package/dist/pi/packages/ta-channels/lib/i18n.js.map +0 -1
- package/dist/pi/packages/ta-channels/lib/index.d.ts.map +0 -1
- package/dist/pi/packages/ta-channels/lib/index.js.map +0 -1
- package/dist/pi/packages/ta-channels/lib/members.d.ts.map +0 -1
- package/dist/pi/packages/ta-channels/lib/members.js.map +0 -1
- package/dist/pi/packages/ta-channels/lib/more-menu.d.ts.map +0 -1
- package/dist/pi/packages/ta-channels/lib/more-menu.js.map +0 -1
- package/dist/pi/packages/ta-channels/lib/react.d.ts.map +0 -1
- package/dist/pi/packages/ta-channels/lib/react.js.map +0 -1
- package/dist/pi/packages/ta-channels/lib/room.d.ts.map +0 -1
- package/dist/pi/packages/ta-channels/lib/room.js.map +0 -1
- package/dist/pi/packages/ta-channels/lib/sidebar.d.ts.map +0 -1
- package/dist/pi/packages/ta-channels/lib/sidebar.js.map +0 -1
- package/dist/pi/packages/ta-channels/lib/style.d.ts.map +0 -1
- package/dist/pi/packages/ta-channels/lib/style.js.map +0 -1
- package/dist/pi/packages/ta-channels/lib/team-tools.d.ts.map +0 -1
- package/dist/pi/packages/ta-channels/lib/team-tools.js.map +0 -1
- package/dist/pi/packages/ta-channels/lib/team.d.ts.map +0 -1
- package/dist/pi/packages/ta-channels/lib/team.js.map +0 -1
- package/dist/pi/packages/ta-channels/lib/views.d.ts.map +0 -1
- package/dist/pi/packages/ta-channels/lib/views.js.map +0 -1
- package/dist/pi/packages/ta-computer-use/lib/cua-driver-access.d.ts.map +0 -1
- package/dist/pi/packages/ta-computer-use/lib/cua-driver-access.js.map +0 -1
- package/dist/pi/packages/ta-computer-use/lib/cua-driver-daemon.d.ts.map +0 -1
- package/dist/pi/packages/ta-computer-use/lib/cua-driver-daemon.js.map +0 -1
- package/dist/pi/packages/ta-computer-use/lib/cua-driver.d.ts.map +0 -1
- package/dist/pi/packages/ta-computer-use/lib/cua-driver.js.map +0 -1
- package/dist/pi/packages/ta-computer-use/lib/extension.d.ts.map +0 -1
- package/dist/pi/packages/ta-computer-use/lib/extension.js.map +0 -1
- package/dist/pi/packages/ta-computer-use/lib/pi-types.d.ts.map +0 -1
- package/dist/pi/packages/ta-computer-use/lib/pi-types.js.map +0 -1
- package/dist/pi/packages/ta-cron/lib/commands.d.ts.map +0 -1
- package/dist/pi/packages/ta-cron/lib/commands.js.map +0 -1
- package/dist/pi/packages/ta-cron/lib/cron-expression.d.ts.map +0 -1
- package/dist/pi/packages/ta-cron/lib/cron-expression.js.map +0 -1
- package/dist/pi/packages/ta-cron/lib/cron-protocol.d.ts.map +0 -1
- package/dist/pi/packages/ta-cron/lib/cron-protocol.js.map +0 -1
- package/dist/pi/packages/ta-cron/lib/editor.d.ts.map +0 -1
- package/dist/pi/packages/ta-cron/lib/editor.js.map +0 -1
- package/dist/pi/packages/ta-cron/lib/extension.d.ts.map +0 -1
- package/dist/pi/packages/ta-cron/lib/extension.js.map +0 -1
- package/dist/pi/packages/ta-cron/lib/form-util.d.ts.map +0 -1
- package/dist/pi/packages/ta-cron/lib/form-util.js.map +0 -1
- package/dist/pi/packages/ta-cron/lib/host.d.ts.map +0 -1
- package/dist/pi/packages/ta-cron/lib/host.js.map +0 -1
- package/dist/pi/packages/ta-cron/lib/i18n.d.ts.map +0 -1
- package/dist/pi/packages/ta-cron/lib/i18n.js.map +0 -1
- package/dist/pi/packages/ta-cron/lib/index.d.ts.map +0 -1
- package/dist/pi/packages/ta-cron/lib/index.js.map +0 -1
- package/dist/pi/packages/ta-cron/lib/model-picker.d.ts +0 -33
- package/dist/pi/packages/ta-cron/lib/model-picker.d.ts.map +0 -1
- package/dist/pi/packages/ta-cron/lib/model-picker.js +0 -178
- package/dist/pi/packages/ta-cron/lib/model-picker.js.map +0 -1
- package/dist/pi/packages/ta-cron/lib/notifier.d.ts.map +0 -1
- package/dist/pi/packages/ta-cron/lib/notifier.js.map +0 -1
- package/dist/pi/packages/ta-cron/lib/page.d.ts.map +0 -1
- package/dist/pi/packages/ta-cron/lib/page.js.map +0 -1
- package/dist/pi/packages/ta-cron/lib/react.d.ts.map +0 -1
- package/dist/pi/packages/ta-cron/lib/react.js.map +0 -1
- package/dist/pi/packages/ta-cron/lib/reply.d.ts.map +0 -1
- package/dist/pi/packages/ta-cron/lib/reply.js.map +0 -1
- package/dist/pi/packages/ta-cron/lib/schedule-util.d.ts.map +0 -1
- package/dist/pi/packages/ta-cron/lib/schedule-util.js.map +0 -1
- package/dist/pi/packages/ta-cron/lib/scheduler.d.ts.map +0 -1
- package/dist/pi/packages/ta-cron/lib/scheduler.js.map +0 -1
- package/dist/pi/packages/ta-cron/lib/server-texts.d.ts.map +0 -1
- package/dist/pi/packages/ta-cron/lib/server-texts.js.map +0 -1
- package/dist/pi/packages/ta-cron/lib/style.d.ts.map +0 -1
- package/dist/pi/packages/ta-cron/lib/style.js.map +0 -1
- package/dist/pi/packages/ta-cron/lib/task-store.d.ts.map +0 -1
- package/dist/pi/packages/ta-cron/lib/task-store.js.map +0 -1
- package/dist/pi/packages/ta-cron/lib/task-util.d.ts.map +0 -1
- package/dist/pi/packages/ta-cron/lib/task-util.js.map +0 -1
- package/dist/pi/packages/ta-cron/lib/tasks-view.d.ts.map +0 -1
- package/dist/pi/packages/ta-cron/lib/tasks-view.js.map +0 -1
- package/dist/pi/packages/ta-cron/lib/tool.d.ts.map +0 -1
- package/dist/pi/packages/ta-cron/lib/tool.js.map +0 -1
- package/dist/pi/packages/ta-extensions/lib/actions.d.ts.map +0 -1
- package/dist/pi/packages/ta-extensions/lib/actions.js.map +0 -1
- package/dist/pi/packages/ta-extensions/lib/archive.d.ts +0 -30
- package/dist/pi/packages/ta-extensions/lib/archive.d.ts.map +0 -1
- package/dist/pi/packages/ta-extensions/lib/archive.js +0 -213
- package/dist/pi/packages/ta-extensions/lib/archive.js.map +0 -1
- package/dist/pi/packages/ta-extensions/lib/context.d.ts.map +0 -1
- package/dist/pi/packages/ta-extensions/lib/context.js.map +0 -1
- package/dist/pi/packages/ta-extensions/lib/extensions-util.d.ts.map +0 -1
- package/dist/pi/packages/ta-extensions/lib/extensions-util.js.map +0 -1
- package/dist/pi/packages/ta-extensions/lib/host.d.ts.map +0 -1
- package/dist/pi/packages/ta-extensions/lib/host.js.map +0 -1
- package/dist/pi/packages/ta-extensions/lib/i18n.d.ts.map +0 -1
- package/dist/pi/packages/ta-extensions/lib/i18n.js.map +0 -1
- package/dist/pi/packages/ta-extensions/lib/import-dialog.d.ts.map +0 -1
- package/dist/pi/packages/ta-extensions/lib/import-dialog.js.map +0 -1
- package/dist/pi/packages/ta-extensions/lib/index.d.ts.map +0 -1
- package/dist/pi/packages/ta-extensions/lib/index.js.map +0 -1
- package/dist/pi/packages/ta-extensions/lib/market-detail.d.ts.map +0 -1
- package/dist/pi/packages/ta-extensions/lib/market-detail.js.map +0 -1
- package/dist/pi/packages/ta-extensions/lib/market-parts.d.ts.map +0 -1
- package/dist/pi/packages/ta-extensions/lib/market-parts.js.map +0 -1
- package/dist/pi/packages/ta-extensions/lib/market-store.d.ts.map +0 -1
- package/dist/pi/packages/ta-extensions/lib/market-store.js.map +0 -1
- package/dist/pi/packages/ta-extensions/lib/market-style.d.ts.map +0 -1
- package/dist/pi/packages/ta-extensions/lib/market-style.js.map +0 -1
- package/dist/pi/packages/ta-extensions/lib/market-util.d.ts.map +0 -1
- package/dist/pi/packages/ta-extensions/lib/market-util.js.map +0 -1
- package/dist/pi/packages/ta-extensions/lib/market-view.d.ts.map +0 -1
- package/dist/pi/packages/ta-extensions/lib/market-view.js.map +0 -1
- package/dist/pi/packages/ta-extensions/lib/market.d.ts.map +0 -1
- package/dist/pi/packages/ta-extensions/lib/market.js.map +0 -1
- package/dist/pi/packages/ta-extensions/lib/page.d.ts.map +0 -1
- package/dist/pi/packages/ta-extensions/lib/page.js.map +0 -1
- package/dist/pi/packages/ta-extensions/lib/pictures.d.ts.map +0 -1
- package/dist/pi/packages/ta-extensions/lib/pictures.js.map +0 -1
- package/dist/pi/packages/ta-extensions/lib/react.d.ts.map +0 -1
- package/dist/pi/packages/ta-extensions/lib/react.js.map +0 -1
- package/dist/pi/packages/ta-extensions/lib/signal.d.ts.map +0 -1
- package/dist/pi/packages/ta-extensions/lib/signal.js.map +0 -1
- package/dist/pi/packages/ta-extensions/lib/style.d.ts.map +0 -1
- package/dist/pi/packages/ta-extensions/lib/style.js.map +0 -1
- package/dist/pi/packages/ta-workspace/lib/browser-agent.d.ts.map +0 -1
- package/dist/pi/packages/ta-workspace/lib/browser-agent.js.map +0 -1
- package/dist/pi/packages/ta-workspace/lib/browser-common.d.ts.map +0 -1
- package/dist/pi/packages/ta-workspace/lib/browser-common.js.map +0 -1
- package/dist/pi/packages/ta-workspace/lib/browser-import.d.ts.map +0 -1
- package/dist/pi/packages/ta-workspace/lib/browser-import.js.map +0 -1
- package/dist/pi/packages/ta-workspace/lib/browser-webview.d.ts.map +0 -1
- package/dist/pi/packages/ta-workspace/lib/browser-webview.js.map +0 -1
- package/dist/pi/packages/ta-workspace/lib/browser.d.ts.map +0 -1
- package/dist/pi/packages/ta-workspace/lib/browser.js.map +0 -1
- package/dist/pi/packages/ta-workspace/lib/common.d.ts.map +0 -1
- package/dist/pi/packages/ta-workspace/lib/common.js.map +0 -1
- package/dist/pi/packages/ta-workspace/lib/editors.d.ts.map +0 -1
- package/dist/pi/packages/ta-workspace/lib/editors.js.map +0 -1
- package/dist/pi/packages/ta-workspace/lib/explorer.d.ts.map +0 -1
- package/dist/pi/packages/ta-workspace/lib/explorer.js.map +0 -1
- package/dist/pi/packages/ta-workspace/lib/file-icon.d.ts.map +0 -1
- package/dist/pi/packages/ta-workspace/lib/file-icon.js.map +0 -1
- package/dist/pi/packages/ta-workspace/lib/host.d.ts.map +0 -1
- package/dist/pi/packages/ta-workspace/lib/host.js.map +0 -1
- package/dist/pi/packages/ta-workspace/lib/i18n.d.ts.map +0 -1
- package/dist/pi/packages/ta-workspace/lib/i18n.js.map +0 -1
- package/dist/pi/packages/ta-workspace/lib/index.d.ts.map +0 -1
- package/dist/pi/packages/ta-workspace/lib/index.js.map +0 -1
- package/dist/pi/packages/ta-workspace/lib/open-files.d.ts.map +0 -1
- package/dist/pi/packages/ta-workspace/lib/open-files.js.map +0 -1
- package/dist/pi/packages/ta-workspace/lib/preview.d.ts.map +0 -1
- package/dist/pi/packages/ta-workspace/lib/preview.js.map +0 -1
- package/dist/pi/packages/ta-workspace/lib/react.d.ts.map +0 -1
- package/dist/pi/packages/ta-workspace/lib/react.js.map +0 -1
- package/dist/pi/packages/ta-workspace/lib/scm.d.ts.map +0 -1
- package/dist/pi/packages/ta-workspace/lib/scm.js.map +0 -1
- package/dist/pi/packages/ta-workspace/lib/search.d.ts.map +0 -1
- package/dist/pi/packages/ta-workspace/lib/search.js.map +0 -1
- package/dist/pi/packages/ta-workspace/lib/style.d.ts.map +0 -1
- package/dist/pi/packages/ta-workspace/lib/style.js.map +0 -1
- package/dist/pi/packages/ta-workspace/lib/terminal.d.ts.map +0 -1
- package/dist/pi/packages/ta-workspace/lib/terminal.js.map +0 -1
- package/dist/pi/packages/ta-workspace/lib/util/browser-snapshot.d.ts.map +0 -1
- package/dist/pi/packages/ta-workspace/lib/util/browser-snapshot.js.map +0 -1
- package/dist/pi/packages/ta-workspace/lib/util/file-icon.d.ts.map +0 -1
- package/dist/pi/packages/ta-workspace/lib/util/file-icon.js.map +0 -1
- package/dist/pi/packages/ta-workspace/lib/util/git.d.ts.map +0 -1
- package/dist/pi/packages/ta-workspace/lib/util/git.js.map +0 -1
- package/dist/pi/packages/ta-workspace/lib/util/preview.d.ts.map +0 -1
- package/dist/pi/packages/ta-workspace/lib/util/preview.js.map +0 -1
- package/dist/pi/packages/ta-workspace/lib/util/search.d.ts.map +0 -1
- package/dist/pi/packages/ta-workspace/lib/util/search.js.map +0 -1
- package/dist/pi/packages/ta-workspace/lib/util/seti-font.d.ts.map +0 -1
- package/dist/pi/packages/ta-workspace/lib/util/seti-font.js.map +0 -1
- package/dist/pi/packages/ta-workspace/lib/util/seti.d.ts.map +0 -1
- package/dist/pi/packages/ta-workspace/lib/util/seti.js.map +0 -1
- package/dist/pi/packages/ta-workspace/lib/util/upload.d.ts.map +0 -1
- package/dist/pi/packages/ta-workspace/lib/util/upload.js.map +0 -1
- package/dist/pi/packages/ta-workspace/lib/util/workspace.d.ts.map +0 -1
- package/dist/pi/packages/ta-workspace/lib/util/workspace.js.map +0 -1
- package/dist/pi/packages/ta-workspace/lib/util/zip.d.ts.map +0 -1
- package/dist/pi/packages/ta-workspace/lib/util/zip.js.map +0 -1
- package/dist/pi/packages/ta-workspace/lib/workspace-client.d.ts.map +0 -1
- package/dist/pi/packages/ta-workspace/lib/workspace-client.js.map +0 -1
- package/dist/pi/packages/ta-workspace/scripts/seti.ts +0 -173
- package/dist/public/assets/cynefin-EF2NZ3EQ-D_QV_BJg.js +0 -1
- package/dist/public/assets/flowDiagram-MALGAFMO-QGLBPpjQ.js +0 -1
- package/dist/public/assets/gitGraph-VSP46ZUC-ByODkoVe.js +0 -1
- package/dist/public/assets/info-OHQRW6UA-BMphWS2h.js +0 -1
- package/dist/public/assets/module-BX2fJibj.js +0 -1124
- package/dist/public/assets/module-N1D-AOa6.js +0 -1
- package/dist/public/assets/packet-JDAUHWVQ-Ca8klABu.js +0 -1
- package/dist/public/assets/pie-XZMESJXO-B-SN2eCI.js +0 -1
- package/dist/public/assets/radar-ABXABTNO-DzDnNRnq.js +0 -1
- package/dist/public/assets/railroad-I3PHUGI6-7QAv0_1N.js +0 -1
- package/dist/public/assets/swimlanesDiagram-OMPLPG4O-CIFqDFf2.js +0 -8
- package/dist/public/assets/treeView-D4JQ5SDB-cznq7PJK.js +0 -1
- package/dist/public/assets/treemap-SAJKECNS-CBYUiQGU.js +0 -1
- package/dist/public/assets/wardley-7MLQ67FV-DV8bp8Ml.js +0 -1
|
@@ -6,6 +6,7 @@ const common_1 = require("./common");
|
|
|
6
6
|
const host_1 = require("./host");
|
|
7
7
|
const i18n_1 = require("./i18n");
|
|
8
8
|
const react_1 = require("./react");
|
|
9
|
+
const terminal_1 = require("./util/terminal");
|
|
9
10
|
const workspace_1 = require("./util/workspace");
|
|
10
11
|
const RESIZE_MS = 120;
|
|
11
12
|
/** A shell opens at this size, and its screen with it, until its view fits it. */
|
|
@@ -14,12 +15,14 @@ const OPEN_ROWS = 30;
|
|
|
14
15
|
/** The terminals of this page and what they printed; they outlive the views that show them. */
|
|
15
16
|
var Terminals;
|
|
16
17
|
(function (Terminals) {
|
|
17
|
-
|
|
18
|
+
let sessions = new Map();
|
|
18
19
|
/** Closed here: what the server still sends of them (their end) does not bring them back. */
|
|
19
20
|
const closed = new Set();
|
|
20
21
|
const listeners = new Set();
|
|
21
22
|
let list = [];
|
|
22
23
|
let frame = 0;
|
|
24
|
+
/** The screen in sight, if any: one that rings there needs no mark. */
|
|
25
|
+
let seen;
|
|
23
26
|
function all() {
|
|
24
27
|
return list;
|
|
25
28
|
}
|
|
@@ -33,7 +36,7 @@ var Terminals;
|
|
|
33
36
|
return () => listeners.delete(listener);
|
|
34
37
|
}
|
|
35
38
|
Terminals.subscribe = subscribe;
|
|
36
|
-
/** The list of terminals or how one ended changed: views read it again once a frame. */
|
|
39
|
+
/** The list of terminals, their names, directories or how one ended changed: views read it again once a frame. */
|
|
37
40
|
function changed() {
|
|
38
41
|
list = [...sessions.values()];
|
|
39
42
|
if (!frame) {
|
|
@@ -45,25 +48,55 @@ var Terminals;
|
|
|
45
48
|
});
|
|
46
49
|
}
|
|
47
50
|
}
|
|
51
|
+
function create(info, name) {
|
|
52
|
+
const terminal = host_1.pi.ui.createTerminal({ cols: OPEN_COLS, rows: OPEN_ROWS, cwd: info.cwd || undefined });
|
|
53
|
+
const created = { info, terminal, name };
|
|
54
|
+
const id = info.terminalId;
|
|
55
|
+
terminal.onData(data => {
|
|
56
|
+
if (created.exitCode !== undefined) {
|
|
57
|
+
return;
|
|
58
|
+
}
|
|
59
|
+
if (created.ctrl) {
|
|
60
|
+
created.ctrl = false;
|
|
61
|
+
data = terminal_1.TerminalUtil.ctrl(data);
|
|
62
|
+
changed();
|
|
63
|
+
}
|
|
64
|
+
void host_1.pi.terminals.writeTerminal(id, data).catch(() => undefined);
|
|
65
|
+
});
|
|
66
|
+
// The shell hears the last size, once the view stopped changing.
|
|
67
|
+
let timer;
|
|
68
|
+
terminal.onResize(({ cols, rows }) => {
|
|
69
|
+
clearTimeout(timer);
|
|
70
|
+
timer = setTimeout(() => void host_1.pi.terminals.resizeTerminal(id, cols, rows).catch(() => undefined), RESIZE_MS);
|
|
71
|
+
});
|
|
72
|
+
// Its tab names the directory it is in, what its program says it does and how far it is.
|
|
73
|
+
terminal.onCwdChange(() => changed());
|
|
74
|
+
terminal.onTitleChange(raw => {
|
|
75
|
+
const title = terminal_1.TerminalUtil.title(raw);
|
|
76
|
+
if (title && title !== created.title) {
|
|
77
|
+
created.title = title;
|
|
78
|
+
changed();
|
|
79
|
+
}
|
|
80
|
+
});
|
|
81
|
+
terminal.onProgressChange(progress => {
|
|
82
|
+
created.progress = progress;
|
|
83
|
+
changed();
|
|
84
|
+
});
|
|
85
|
+
terminal.onAttention(() => {
|
|
86
|
+
const element = (seen === null || seen === void 0 ? void 0 : seen.terminalId) === created.info.terminalId ? seen.element : undefined;
|
|
87
|
+
const inSight = (element === null || element === void 0 ? void 0 : element.isConnected) && element.offsetParent !== null && !document.hidden;
|
|
88
|
+
if (!inSight && !created.attention) {
|
|
89
|
+
created.attention = true;
|
|
90
|
+
changed();
|
|
91
|
+
}
|
|
92
|
+
});
|
|
93
|
+
return created;
|
|
94
|
+
}
|
|
48
95
|
function add(info) {
|
|
49
96
|
let session = sessions.get(info.terminalId);
|
|
50
97
|
if (!session) {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
const id = info.terminalId;
|
|
54
|
-
terminal.onData(data => {
|
|
55
|
-
if (created.exitCode === undefined) {
|
|
56
|
-
void host_1.pi.terminals.writeTerminal(id, data).catch(() => undefined);
|
|
57
|
-
}
|
|
58
|
-
});
|
|
59
|
-
// The shell hears the last size, once the view stopped changing.
|
|
60
|
-
let timer;
|
|
61
|
-
terminal.onResize(({ cols, rows }) => {
|
|
62
|
-
clearTimeout(timer);
|
|
63
|
-
timer = setTimeout(() => void host_1.pi.terminals.resizeTerminal(id, cols, rows).catch(() => undefined), RESIZE_MS);
|
|
64
|
-
});
|
|
65
|
-
session = created;
|
|
66
|
-
sessions.set(id, session);
|
|
98
|
+
session = create(info);
|
|
99
|
+
sessions.set(info.terminalId, session);
|
|
67
100
|
changed();
|
|
68
101
|
}
|
|
69
102
|
return session;
|
|
@@ -79,8 +112,9 @@ var Terminals;
|
|
|
79
112
|
// JSON has no undefined: a terminal that goes on sends null.
|
|
80
113
|
if (exitCode !== undefined && exitCode !== null) {
|
|
81
114
|
session.exitCode = exitCode;
|
|
82
|
-
|
|
83
|
-
|
|
115
|
+
session.ctrl = false;
|
|
116
|
+
// Nothing more is typed there: the cursor goes; the view says it ended.
|
|
117
|
+
session.terminal.write('\x1b[?25l');
|
|
84
118
|
changed();
|
|
85
119
|
}
|
|
86
120
|
}
|
|
@@ -94,6 +128,56 @@ var Terminals;
|
|
|
94
128
|
}
|
|
95
129
|
}
|
|
96
130
|
Terminals.remove = remove;
|
|
131
|
+
function rename(terminalId, name) {
|
|
132
|
+
const session = sessions.get(terminalId);
|
|
133
|
+
if (session && session.name !== name) {
|
|
134
|
+
session.name = name;
|
|
135
|
+
changed();
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
Terminals.rename = rename;
|
|
139
|
+
/** Its screen is in sight in `element`: what it rang there is seen. The function returned says it no longer is. */
|
|
140
|
+
function see(terminalId, element) {
|
|
141
|
+
seen = { terminalId, element };
|
|
142
|
+
const session = sessions.get(terminalId);
|
|
143
|
+
if (session === null || session === void 0 ? void 0 : session.attention) {
|
|
144
|
+
session.attention = false;
|
|
145
|
+
changed();
|
|
146
|
+
}
|
|
147
|
+
return () => {
|
|
148
|
+
if ((seen === null || seen === void 0 ? void 0 : seen.element) === element) {
|
|
149
|
+
seen = undefined;
|
|
150
|
+
}
|
|
151
|
+
};
|
|
152
|
+
}
|
|
153
|
+
Terminals.see = see;
|
|
154
|
+
function setCtrl(terminalId, ctrl) {
|
|
155
|
+
const session = sessions.get(terminalId);
|
|
156
|
+
if (session && session.exitCode === undefined && Boolean(session.ctrl) !== ctrl) {
|
|
157
|
+
session.ctrl = ctrl;
|
|
158
|
+
changed();
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
Terminals.setCtrl = setCtrl;
|
|
162
|
+
/** A new shell in the place of one, where it started and with its name; the one before closes. Its id. */
|
|
163
|
+
async function restart(session) {
|
|
164
|
+
const old = session.info.terminalId;
|
|
165
|
+
const { cols, rows } = session.terminal;
|
|
166
|
+
const info = await host_1.pi.terminals.openTerminal({ cwd: session.info.cwd || undefined, cols, rows });
|
|
167
|
+
const created = create(info, session.name);
|
|
168
|
+
sessions = new Map([...sessions].map(([id, other]) => (id === old ? [info.terminalId, created] : [id, other])));
|
|
169
|
+
if (!sessions.has(info.terminalId)) {
|
|
170
|
+
sessions.set(info.terminalId, created);
|
|
171
|
+
}
|
|
172
|
+
closed.add(old);
|
|
173
|
+
session.terminal.dispose();
|
|
174
|
+
if (session.exitCode === undefined) {
|
|
175
|
+
void host_1.pi.terminals.closeTerminal(old).catch(() => undefined);
|
|
176
|
+
}
|
|
177
|
+
changed();
|
|
178
|
+
return info.terminalId;
|
|
179
|
+
}
|
|
180
|
+
Terminals.restart = restart;
|
|
97
181
|
/** Takes back the shells of this page after a reconnect. */
|
|
98
182
|
async function sync() {
|
|
99
183
|
for (const info of await host_1.pi.terminals.listTerminals()) {
|
|
@@ -105,8 +189,14 @@ var Terminals;
|
|
|
105
189
|
function useTerminals() {
|
|
106
190
|
return react_1.React.useSyncExternalStore(Terminals.subscribe, Terminals.all);
|
|
107
191
|
}
|
|
108
|
-
function
|
|
109
|
-
return
|
|
192
|
+
function cwdOf(session) {
|
|
193
|
+
return session.terminal.cwd || session.info.cwd;
|
|
194
|
+
}
|
|
195
|
+
/** The hover text of a tab: what runs there, if anything, and where. */
|
|
196
|
+
function hintOf(session) {
|
|
197
|
+
var _a;
|
|
198
|
+
const title = (_a = session.terminal.title) === null || _a === void 0 ? void 0 : _a.trim();
|
|
199
|
+
return title ? `${title} — ${cwdOf(session)}` : cwdOf(session);
|
|
110
200
|
}
|
|
111
201
|
async function close(session) {
|
|
112
202
|
Terminals.remove(session.info.terminalId);
|
|
@@ -119,12 +209,82 @@ function closeEach(sessions) {
|
|
|
119
209
|
void close(session);
|
|
120
210
|
}
|
|
121
211
|
}
|
|
122
|
-
|
|
212
|
+
function copySelection(session) {
|
|
213
|
+
var _a;
|
|
214
|
+
const text = session.terminal.getSelection();
|
|
215
|
+
if (text) {
|
|
216
|
+
void ((_a = navigator.clipboard) === null || _a === void 0 ? void 0 : _a.writeText(text).catch(() => undefined));
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
function pasteClipboard(session) {
|
|
220
|
+
var _a;
|
|
221
|
+
void ((_a = navigator.clipboard) === null || _a === void 0 ? void 0 : _a.readText().then(text => text && session.terminal.paste(text)).catch(() => undefined));
|
|
222
|
+
}
|
|
223
|
+
/**
|
|
224
|
+
* What the tab of a terminal shows before its title: its number (T1, T2, …), which tells tabs of the same
|
|
225
|
+
* title apart, then how it ended or how far its program is (OSC 9;4).
|
|
226
|
+
*/
|
|
227
|
+
function TerminalBadge({ session, index }) {
|
|
228
|
+
var _a;
|
|
229
|
+
const progress = session.progress;
|
|
230
|
+
return (react_1.React.createElement(react_1.React.Fragment, null,
|
|
231
|
+
react_1.React.createElement("span", { className: "taw-terminal-index", "aria-hidden": "true" },
|
|
232
|
+
"T",
|
|
233
|
+
index + 1),
|
|
234
|
+
session.exitCode !== undefined ? (react_1.React.createElement("span", { className: `taw-terminal-dot ${session.exitCode ? 'taw-failed' : ''}`, "aria-hidden": "true" })) : (progress === null || progress === void 0 ? void 0 : progress.state) === 'busy' ? (react_1.React.createElement("span", { className: "taw-terminal-spinner", "aria-hidden": "true" })) : progress && (progress.value !== undefined || progress.state === 'error') ? (react_1.React.createElement(ProgressRing, { state: progress.state, value: (_a = progress.value) !== null && _a !== void 0 ? _a : 100 })) : null));
|
|
235
|
+
}
|
|
236
|
+
/** How far the program of a terminal is (OSC 9;4), as a ring the size of an icon. */
|
|
237
|
+
function ProgressRing({ state, value }) {
|
|
238
|
+
const radius = 5;
|
|
239
|
+
const length = 2 * Math.PI * radius;
|
|
240
|
+
return (react_1.React.createElement("svg", { className: `taw-terminal-progress taw-${state}`, width: "13", height: "13", viewBox: "0 0 13 13", "aria-hidden": "true" },
|
|
241
|
+
react_1.React.createElement("circle", { cx: "6.5", cy: "6.5", r: radius }),
|
|
242
|
+
react_1.React.createElement("circle", { cx: "6.5", cy: "6.5", r: radius, strokeDasharray: length, strokeDashoffset: length * (1 - value / 100) })));
|
|
243
|
+
}
|
|
244
|
+
/** What a tab says of its terminal to a screen reader, besides its title. */
|
|
245
|
+
function stateOf(session) {
|
|
246
|
+
if (session.exitCode !== undefined) {
|
|
247
|
+
return (0, i18n_1.t)('terminalEnded', { code: session.exitCode });
|
|
248
|
+
}
|
|
249
|
+
const progress = session.progress;
|
|
250
|
+
if ((progress === null || progress === void 0 ? void 0 : progress.value) !== undefined && progress.state !== 'busy') {
|
|
251
|
+
return `${progress.value}%`;
|
|
252
|
+
}
|
|
253
|
+
return undefined;
|
|
254
|
+
}
|
|
255
|
+
/** The title of a tab being renamed, in place: Enter or leaving it keeps it, Escape does not; empty gives back its own. */
|
|
256
|
+
function RenameField({ value, onDone }) {
|
|
257
|
+
const input = react_1.React.useRef(null);
|
|
258
|
+
const done = react_1.React.useRef(false);
|
|
259
|
+
react_1.React.useEffect(() => { var _a; return (_a = input.current) === null || _a === void 0 ? void 0 : _a.select(); }, []);
|
|
260
|
+
const finish = (keep) => {
|
|
261
|
+
var _a;
|
|
262
|
+
if (!done.current) {
|
|
263
|
+
done.current = true;
|
|
264
|
+
onDone(((_a = input.current) === null || _a === void 0 ? void 0 : _a.value.trim()) || undefined, keep);
|
|
265
|
+
}
|
|
266
|
+
};
|
|
267
|
+
return (react_1.React.createElement("input", { ref: input, className: "taw-terminal-rename", defaultValue: value, "aria-label": (0, i18n_1.t)('renameTerminal'), spellCheck: false, onKeyDown: event => {
|
|
268
|
+
if (event.key === 'Enter') {
|
|
269
|
+
finish(true);
|
|
270
|
+
}
|
|
271
|
+
else if (event.key === 'Escape') {
|
|
272
|
+
event.stopPropagation();
|
|
273
|
+
finish(false);
|
|
274
|
+
}
|
|
275
|
+
}, onBlur: () => finish(true) }));
|
|
276
|
+
}
|
|
277
|
+
/**
|
|
278
|
+
* The terminals of the page in one tab of the workbench. One shows under a bar with its title; more show
|
|
279
|
+
* as tabs there. The bar opens a new one and kills the one shown; the tabs and the screen have their
|
|
280
|
+
* menus. The first opens with the view.
|
|
281
|
+
*/
|
|
123
282
|
function TerminalView() {
|
|
124
283
|
var _a;
|
|
125
284
|
const cwd = host_1.pi.ui.useCwd();
|
|
126
285
|
const sessions = useTerminals();
|
|
127
286
|
const [shown, setShown] = react_1.React.useState();
|
|
287
|
+
const [renaming, setRenaming] = react_1.React.useState();
|
|
128
288
|
const [error, setError] = react_1.React.useState();
|
|
129
289
|
const opening = react_1.React.useRef(false);
|
|
130
290
|
const create = react_1.React.useCallback(async () => {
|
|
@@ -152,14 +312,39 @@ function TerminalView() {
|
|
|
152
312
|
}, failure => setError(host_1.Host.message(failure)));
|
|
153
313
|
}, []);
|
|
154
314
|
const current = (_a = sessions.find(session => session.info.terminalId === shown)) !== null && _a !== void 0 ? _a : sessions[sessions.length - 1];
|
|
315
|
+
const tabs = react_1.React.useRef(null);
|
|
316
|
+
// The tab shown is in sight, also when a new one opens past the edge of a row that scrolls.
|
|
317
|
+
react_1.React.useEffect(() => {
|
|
318
|
+
var _a, _b;
|
|
319
|
+
(_b = (_a = tabs.current) === null || _a === void 0 ? void 0 : _a.querySelector('.taw-terminal-tab.taw-on')) === null || _b === void 0 ? void 0 : _b.scrollIntoView({ block: 'nearest', inline: 'nearest' });
|
|
320
|
+
}, [current, sessions.length]);
|
|
321
|
+
const titles = terminal_1.TerminalUtil.titles(sessions.map(session => ({
|
|
322
|
+
name: session.name,
|
|
323
|
+
title: session.title,
|
|
324
|
+
shell: session.info.shell,
|
|
325
|
+
})), (0, i18n_1.t)('terminal'));
|
|
326
|
+
const titleOf = (session) => { var _a; return (_a = titles[sessions.indexOf(session)]) !== null && _a !== void 0 ? _a : (0, i18n_1.t)('terminal'); };
|
|
327
|
+
const restart = (session) => {
|
|
328
|
+
Terminals.restart(session).then(setShown, failure => setError(host_1.Host.message(failure)));
|
|
329
|
+
};
|
|
330
|
+
const finishRename = (session) => (name, keep) => {
|
|
331
|
+
setRenaming(undefined);
|
|
332
|
+
if (keep) {
|
|
333
|
+
Terminals.rename(session.info.terminalId, name);
|
|
334
|
+
}
|
|
335
|
+
session.terminal.focus();
|
|
336
|
+
};
|
|
155
337
|
const [menu, openMenu] = (0, common_1.useContextMenu)();
|
|
156
|
-
const
|
|
338
|
+
const tabMenu = (session) => {
|
|
157
339
|
const at = sessions.indexOf(session);
|
|
158
340
|
const others = sessions.filter(other => other !== session);
|
|
159
341
|
const left = sessions.slice(0, at);
|
|
160
342
|
const right = sessions.slice(at + 1);
|
|
161
343
|
const ended = sessions.filter(other => other.exitCode !== undefined);
|
|
162
344
|
return [
|
|
345
|
+
{ label: (0, i18n_1.t)('renameTerminal'), run: () => setRenaming(session.info.terminalId) },
|
|
346
|
+
{ label: (0, i18n_1.t)('restartTerminal'), run: () => restart(session) },
|
|
347
|
+
'-',
|
|
163
348
|
{ label: (0, i18n_1.t)('close'), run: () => void close(session) },
|
|
164
349
|
{ label: (0, i18n_1.t)('closeOthers'), run: () => closeEach(others), disabled: others.length === 0 },
|
|
165
350
|
{ label: (0, i18n_1.t)('closeToTheLeft'), run: () => closeEach(left), disabled: left.length === 0 },
|
|
@@ -171,26 +356,91 @@ function TerminalView() {
|
|
|
171
356
|
{ label: (0, i18n_1.t)('newTerminal'), run: () => void create() },
|
|
172
357
|
];
|
|
173
358
|
};
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
359
|
+
const screenMenu = (session) => {
|
|
360
|
+
const selected = Boolean(session.terminal.getSelection());
|
|
361
|
+
const refocus = (run) => () => {
|
|
362
|
+
run();
|
|
363
|
+
session.terminal.focus();
|
|
364
|
+
};
|
|
365
|
+
return [
|
|
366
|
+
{ label: (0, i18n_1.t)('copy'), keys: host_1.MAC ? '⌘C' : 'Ctrl+Shift+C', run: refocus(() => copySelection(session)), disabled: !selected },
|
|
367
|
+
{ label: (0, i18n_1.t)('paste'), keys: host_1.MAC ? '⌘V' : 'Ctrl+Shift+V', run: refocus(() => pasteClipboard(session)), disabled: session.exitCode !== undefined },
|
|
368
|
+
{ label: (0, i18n_1.t)('selectAll'), run: refocus(() => session.terminal.selectAll()) },
|
|
369
|
+
'-',
|
|
370
|
+
{ label: (0, i18n_1.t)('clearTerminal'), keys: host_1.MAC ? '⌘K' : undefined, run: refocus(() => session.terminal.clear()) },
|
|
371
|
+
'-',
|
|
372
|
+
{ label: (0, i18n_1.t)('newTerminal'), run: () => void create() },
|
|
373
|
+
{ label: (0, i18n_1.t)('renameTerminal'), run: () => setRenaming(session.info.terminalId) },
|
|
374
|
+
{ label: (0, i18n_1.t)('restartTerminal'), run: () => restart(session) },
|
|
375
|
+
{ label: (0, i18n_1.t)('killTerminal'), run: () => void close(session) },
|
|
376
|
+
];
|
|
377
|
+
};
|
|
378
|
+
return (react_1.React.createElement("div", { className: "taw-view taw-terminals" },
|
|
379
|
+
react_1.React.createElement("header", { className: "taw-terminal-bar" },
|
|
380
|
+
sessions.length > 1 ? (react_1.React.createElement("div", { className: "taw-terminal-tabs", ref: tabs, role: "tablist", "aria-label": (0, i18n_1.t)('terminal') }, sessions.map(session => {
|
|
381
|
+
const id = session.info.terminalId;
|
|
382
|
+
const on = session === current;
|
|
383
|
+
const title = titleOf(session);
|
|
384
|
+
return (react_1.React.createElement("div", { key: id, className: `taw-terminal-tab ${on ? 'taw-on' : ''}`, title: hintOf(session) },
|
|
385
|
+
renaming === id ? (react_1.React.createElement("span", { className: "taw-terminal-tab-main" },
|
|
386
|
+
react_1.React.createElement(TerminalBadge, { session: session, index: sessions.indexOf(session) }),
|
|
387
|
+
react_1.React.createElement(RenameField, { value: title, onDone: finishRename(session) }))) : (react_1.React.createElement("button", { type: "button", role: "tab", className: "taw-terminal-tab-main", "aria-selected": on, onClick: () => setShown(id), onDoubleClick: () => setRenaming(id), onAuxClick: event => event.button === 1 && void close(session), onContextMenu: event => openMenu(event, tabMenu(session)) },
|
|
388
|
+
react_1.React.createElement(TerminalBadge, { session: session, index: sessions.indexOf(session) }),
|
|
389
|
+
react_1.React.createElement("span", { className: "taw-terminal-tab-title" }, title),
|
|
390
|
+
stateOf(session) && react_1.React.createElement("span", { className: "taw-sr-only" }, stateOf(session)),
|
|
391
|
+
session.attention && !on && (react_1.React.createElement("span", { className: "taw-terminal-attention" },
|
|
392
|
+
react_1.React.createElement("span", { className: "taw-sr-only" }, (0, i18n_1.t)('terminalAttention')))))),
|
|
393
|
+
react_1.React.createElement(common_1.Action, { icon: "X", label: (0, i18n_1.t)('close'), onClick: () => void close(session) })));
|
|
394
|
+
}))) : (current && (react_1.React.createElement("div", { className: "taw-terminal-title", title: hintOf(current), onDoubleClick: () => setRenaming(current.info.terminalId), onContextMenu: event => openMenu(event, tabMenu(current)) },
|
|
395
|
+
react_1.React.createElement(TerminalBadge, { session: current, index: sessions.indexOf(current) }),
|
|
396
|
+
renaming === current.info.terminalId ? (react_1.React.createElement(RenameField, { value: titleOf(current), onDone: finishRename(current) })) : (react_1.React.createElement("span", { className: "taw-terminal-tab-title" }, titleOf(current)))))),
|
|
397
|
+
react_1.React.createElement("div", { className: "taw-actions" },
|
|
398
|
+
react_1.React.createElement(common_1.Action, { icon: "Plus", label: (0, i18n_1.t)('newTerminal'), onClick: () => void create() }),
|
|
399
|
+
current && react_1.React.createElement(common_1.Action, { icon: "Trash2", label: (0, i18n_1.t)('killTerminal'), onClick: () => void close(current) }))),
|
|
183
400
|
menu,
|
|
184
|
-
error && react_1.React.createElement(common_1.Empty, { tone: "error"
|
|
185
|
-
!error && sessions.length === 0 && (react_1.React.createElement(common_1.Empty,
|
|
186
|
-
react_1.React.createElement("p", null, (0, i18n_1.t)('noTerminals')),
|
|
401
|
+
error && react_1.React.createElement(common_1.Empty, { tone: "error", title: (0, i18n_1.t)('failed', { message: error }) }),
|
|
402
|
+
!error && sessions.length === 0 && (react_1.React.createElement(common_1.Empty, { title: (0, i18n_1.t)('noTerminals') },
|
|
187
403
|
react_1.React.createElement("button", { type: "button", className: "taw-button", onClick: () => void create() },
|
|
188
404
|
react_1.React.createElement(common_1.Glyph, { name: "Plus", size: 14 }),
|
|
189
405
|
(0, i18n_1.t)('newTerminal')))),
|
|
190
|
-
current && react_1.React.createElement(TerminalEditor, { key: current.info.terminalId, terminalId: current.info.terminalId })));
|
|
406
|
+
current && (react_1.React.createElement(TerminalEditor, { key: current.info.terminalId, terminalId: current.info.terminalId, onMenu: (event, session) => openMenu(event, screenMenu(session)), onRestart: restart }))));
|
|
407
|
+
}
|
|
408
|
+
/** What a soft keyboard lacks for a shell; shown on touch screens only (`data-touch`). */
|
|
409
|
+
const TOUCH_KEYS = [
|
|
410
|
+
{ label: 'Esc', key: 'Escape' },
|
|
411
|
+
{ label: 'Tab', key: 'Tab' },
|
|
412
|
+
{ label: '↑', key: 'ArrowUp' },
|
|
413
|
+
{ label: '↓', key: 'ArrowDown' },
|
|
414
|
+
{ label: '←', key: 'ArrowLeft' },
|
|
415
|
+
{ label: '→', key: 'ArrowRight' },
|
|
416
|
+
{ label: '~', text: '~' },
|
|
417
|
+
{ label: '/', text: '/' },
|
|
418
|
+
{ label: '|', text: '|' },
|
|
419
|
+
{ label: '-', text: '-' },
|
|
420
|
+
];
|
|
421
|
+
/** The keys over the soft keyboard: they keep its focus, so that it stays open. Ctrl holds for the next key. */
|
|
422
|
+
function TouchKeys({ session }) {
|
|
423
|
+
const keep = (event) => event.preventDefault();
|
|
424
|
+
const press = (run) => () => {
|
|
425
|
+
run();
|
|
426
|
+
session.terminal.focus();
|
|
427
|
+
};
|
|
428
|
+
const id = session.info.terminalId;
|
|
429
|
+
return (react_1.React.createElement("div", { className: "taw-touch-keys", role: "toolbar", "aria-label": (0, i18n_1.t)('terminalKeys') },
|
|
430
|
+
react_1.React.createElement("button", { type: "button", className: `taw-touch-key ${session.ctrl ? 'taw-on' : ''}`, "aria-pressed": Boolean(session.ctrl), onPointerDown: keep, onMouseDown: keep, onClick: press(() => Terminals.setCtrl(id, !session.ctrl)) }, "Ctrl"),
|
|
431
|
+
TOUCH_KEYS.map(({ label, key, text }) => (react_1.React.createElement("button", { key: label, type: "button", className: "taw-touch-key", onPointerDown: keep, onMouseDown: keep, onClick: press(() => {
|
|
432
|
+
if (key) {
|
|
433
|
+
Terminals.setCtrl(id, false);
|
|
434
|
+
session.terminal.sendKey(key);
|
|
435
|
+
}
|
|
436
|
+
else if (text) {
|
|
437
|
+
session.terminal.type(text);
|
|
438
|
+
}
|
|
439
|
+
}) }, label)))));
|
|
191
440
|
}
|
|
192
441
|
/** The screen of a shell: its terminal, moved into this view while it shows. */
|
|
193
|
-
function TerminalEditor({ terminalId }) {
|
|
442
|
+
function TerminalEditor({ terminalId, onMenu, onRestart, }) {
|
|
443
|
+
var _a;
|
|
194
444
|
useTerminals();
|
|
195
445
|
const session = Terminals.get(terminalId);
|
|
196
446
|
const box = react_1.React.useRef(null);
|
|
@@ -201,22 +451,27 @@ function TerminalEditor({ terminalId }) {
|
|
|
201
451
|
return;
|
|
202
452
|
}
|
|
203
453
|
const detach = terminal.attach(element);
|
|
454
|
+
const unsee = Terminals.see(terminalId, element);
|
|
204
455
|
terminal.focus();
|
|
205
|
-
return
|
|
456
|
+
return () => {
|
|
457
|
+
unsee();
|
|
458
|
+
detach();
|
|
459
|
+
};
|
|
206
460
|
}, [terminal]);
|
|
207
461
|
if (!session) {
|
|
208
|
-
return react_1.React.createElement(common_1.Empty,
|
|
462
|
+
return react_1.React.createElement(common_1.Empty, { title: (0, i18n_1.t)('noTerminals') });
|
|
209
463
|
}
|
|
464
|
+
const ended = session.exitCode !== undefined;
|
|
210
465
|
return (react_1.React.createElement("div", { className: "taw-editor" },
|
|
211
466
|
session.info.pty === false && react_1.React.createElement("div", { className: "taw-hint" }, (0, i18n_1.t)('pipeMode')),
|
|
212
|
-
react_1.React.createElement("div", { className: "taw-terminal", ref: box, onDragOver: event => {
|
|
467
|
+
react_1.React.createElement("div", { className: "taw-terminal", ref: box, onFocus: () => box.current && Terminals.see(terminalId, box.current), onContextMenu: event => onMenu(event, session), onDragOver: event => {
|
|
213
468
|
if (host_1.pi.ui.fileDrag.has(event.dataTransfer)) {
|
|
214
469
|
event.preventDefault();
|
|
215
470
|
event.dataTransfer.dropEffect = 'copy';
|
|
216
471
|
}
|
|
217
472
|
}, onDrop: event => {
|
|
218
473
|
const files = host_1.pi.ui.fileDrag.get(event.dataTransfer);
|
|
219
|
-
if (!files ||
|
|
474
|
+
if (!files || ended) {
|
|
220
475
|
return;
|
|
221
476
|
}
|
|
222
477
|
event.preventDefault();
|
|
@@ -224,6 +479,13 @@ function TerminalEditor({ terminalId }) {
|
|
|
224
479
|
const words = host_1.pi.ui.fileDrag.paths(files).map(path => workspace_1.WorkspaceUtil.shellQuote(path, windows));
|
|
225
480
|
void host_1.pi.terminals.writeTerminal(terminalId, `${words.join(' ')} `).catch(() => undefined);
|
|
226
481
|
terminal === null || terminal === void 0 ? void 0 : terminal.focus();
|
|
227
|
-
} })
|
|
482
|
+
} }),
|
|
483
|
+
ended ? (react_1.React.createElement("div", { className: "taw-terminal-ended", role: "status" },
|
|
484
|
+
react_1.React.createElement("span", { className: `taw-terminal-dot ${session.exitCode ? 'taw-failed' : ''}`, "aria-hidden": "true" }),
|
|
485
|
+
react_1.React.createElement("span", { className: "taw-terminal-ended-text" }, (0, i18n_1.t)('terminalEnded', { code: (_a = session.exitCode) !== null && _a !== void 0 ? _a : 0 })),
|
|
486
|
+
react_1.React.createElement("button", { type: "button", className: "taw-button", onClick: () => onRestart(session) },
|
|
487
|
+
react_1.React.createElement(common_1.Glyph, { name: "RotateCcw", size: 13 }),
|
|
488
|
+
(0, i18n_1.t)('restartTerminal')),
|
|
489
|
+
react_1.React.createElement("button", { type: "button", className: "taw-button", onClick: () => void close(session) }, (0, i18n_1.t)('close')))) : (react_1.React.createElement(TouchKeys, { session: session }))));
|
|
228
490
|
}
|
|
229
491
|
//# sourceMappingURL=terminal.js.map
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/** What names a terminal in its tab. */
|
|
2
|
+
export interface TerminalLabelInput {
|
|
3
|
+
/** The name the user gave it. */
|
|
4
|
+
name?: string;
|
|
5
|
+
/** The title its program set last (OSC 0 or 2), as {@link TerminalUtil.title} gives it. */
|
|
6
|
+
title?: string;
|
|
7
|
+
shell: string;
|
|
8
|
+
}
|
|
9
|
+
export declare namespace TerminalUtil {
|
|
10
|
+
/**
|
|
11
|
+
* The title a program set (OSC 0 or 2), as the tab shows it: as it is, the spinner or mark of a coding
|
|
12
|
+
* agent too, which tell how it is; a shell's `user@host: ~/dir` by the name of its directory.
|
|
13
|
+
* Undefined for an empty one, which leaves the tab as it was.
|
|
14
|
+
*/
|
|
15
|
+
function title(raw: string | undefined): string | undefined;
|
|
16
|
+
/** The name of the directory of a shell: its last name, `/` for the root. */
|
|
17
|
+
function dir(cwd: string): string;
|
|
18
|
+
/** The name of a shell, `zsh` of `/bin/zsh` or `pwsh` of `C:\\…\\pwsh.exe`. */
|
|
19
|
+
function shellName(shell: string): string;
|
|
20
|
+
/** The titles of the tabs: the name the user gave, else the title its program set last, else its shell. */
|
|
21
|
+
function titles(terminals: readonly TerminalLabelInput[], fallback: string): string[];
|
|
22
|
+
/** What Ctrl + a key typed sends: its control character, or the key as it is when it has none. */
|
|
23
|
+
function ctrl(data: string): string;
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=terminal.d.ts.map
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TerminalUtil = void 0;
|
|
4
|
+
const workspace_1 = require("./workspace");
|
|
5
|
+
/** Control characters of Ctrl + a key, for the Ctrl of a soft keyboard, as a terminal sends them. */
|
|
6
|
+
const CTRL_SYMBOLS = { '@': '\x00', ' ': '\x00', '[': '\x1b', '\\': '\x1c', ']': '\x1d', '^': '\x1e', _: '\x1f', '?': '\x7f' };
|
|
7
|
+
var TerminalUtil;
|
|
8
|
+
(function (TerminalUtil) {
|
|
9
|
+
/**
|
|
10
|
+
* The title a program set (OSC 0 or 2), as the tab shows it: as it is, the spinner or mark of a coding
|
|
11
|
+
* agent too, which tell how it is; a shell's `user@host: ~/dir` by the name of its directory.
|
|
12
|
+
* Undefined for an empty one, which leaves the tab as it was.
|
|
13
|
+
*/
|
|
14
|
+
function title(raw) {
|
|
15
|
+
const text = raw === null || raw === void 0 ? void 0 : raw.trim();
|
|
16
|
+
if (!text) {
|
|
17
|
+
return undefined;
|
|
18
|
+
}
|
|
19
|
+
const at = text.lastIndexOf(':');
|
|
20
|
+
const where = at < 0 ? '' : text.slice(at + 1).trim();
|
|
21
|
+
if (where === '~') {
|
|
22
|
+
return where;
|
|
23
|
+
}
|
|
24
|
+
return /[\\/]/.test(where) ? dir(where.replace(/[\\/]+$/, '')) || text : text;
|
|
25
|
+
}
|
|
26
|
+
TerminalUtil.title = title;
|
|
27
|
+
/** The name of the directory of a shell: its last name, `/` for the root. */
|
|
28
|
+
function dir(cwd) {
|
|
29
|
+
return cwd && /^[\\/]+$/.test(cwd) ? '/' : workspace_1.WorkspaceUtil.basename(cwd.replace(/\\/g, '/'));
|
|
30
|
+
}
|
|
31
|
+
TerminalUtil.dir = dir;
|
|
32
|
+
/** The name of a shell, `zsh` of `/bin/zsh` or `pwsh` of `C:\\…\\pwsh.exe`. */
|
|
33
|
+
function shellName(shell) {
|
|
34
|
+
return workspace_1.WorkspaceUtil.basename(shell.replace(/\\/g, '/')).replace(/\.exe$/i, '');
|
|
35
|
+
}
|
|
36
|
+
TerminalUtil.shellName = shellName;
|
|
37
|
+
/** The titles of the tabs: the name the user gave, else the title its program set last, else its shell. */
|
|
38
|
+
function titles(terminals, fallback) {
|
|
39
|
+
return terminals.map(terminal => terminal.name || terminal.title || shellName(terminal.shell) || fallback);
|
|
40
|
+
}
|
|
41
|
+
TerminalUtil.titles = titles;
|
|
42
|
+
/** What Ctrl + a key typed sends: its control character, or the key as it is when it has none. */
|
|
43
|
+
function ctrl(data) {
|
|
44
|
+
var _a;
|
|
45
|
+
if (data.length !== 1) {
|
|
46
|
+
return data;
|
|
47
|
+
}
|
|
48
|
+
if (/[a-z]/i.test(data)) {
|
|
49
|
+
return String.fromCharCode(data.toUpperCase().charCodeAt(0) - 64);
|
|
50
|
+
}
|
|
51
|
+
return (_a = CTRL_SYMBOLS[data]) !== null && _a !== void 0 ? _a : data;
|
|
52
|
+
}
|
|
53
|
+
TerminalUtil.ctrl = ctrl;
|
|
54
|
+
})(TerminalUtil || (exports.TerminalUtil = TerminalUtil = {}));
|
|
55
|
+
//# sourceMappingURL=terminal.js.map
|
|
@@ -56,9 +56,10 @@ export declare namespace WorkspaceUtil {
|
|
|
56
56
|
function dirname(path: string): string;
|
|
57
57
|
/**
|
|
58
58
|
* The rows shown: the entries of `root`, and below each expanded directory its own, as far as they
|
|
59
|
-
* are read. `children` holds what was read, by the path of the directory ('' for the top)
|
|
59
|
+
* are read. `children` holds what was read, by the path of the directory ('' for the top); what
|
|
60
|
+
* `hidden` takes is left out, and what is inside it.
|
|
60
61
|
*/
|
|
61
|
-
function rows(children: ReadonlyMap<string, TaDirEntry[]>, expanded: ReadonlySet<string>,
|
|
62
|
+
function rows(children: ReadonlyMap<string, TaDirEntry[]>, expanded: ReadonlySet<string>, hidden?: (entry: TaDirEntry) => boolean): TreeRow[];
|
|
62
63
|
/** Toggles a directory; collapsing it also collapses those inside it. */
|
|
63
64
|
function toggle(expanded: ReadonlySet<string>, path: string): Set<string>;
|
|
64
65
|
/** The directories to expand so that `path` shows. */
|
|
@@ -40,13 +40,17 @@ var WorkspaceUtil;
|
|
|
40
40
|
WorkspaceUtil.dirname = dirname;
|
|
41
41
|
/**
|
|
42
42
|
* The rows shown: the entries of `root`, and below each expanded directory its own, as far as they
|
|
43
|
-
* are read. `children` holds what was read, by the path of the directory ('' for the top)
|
|
43
|
+
* are read. `children` holds what was read, by the path of the directory ('' for the top); what
|
|
44
|
+
* `hidden` takes is left out, and what is inside it.
|
|
44
45
|
*/
|
|
45
|
-
function rows(children, expanded,
|
|
46
|
+
function rows(children, expanded, hidden) {
|
|
46
47
|
const out = [];
|
|
47
48
|
const walk = (dir, depth) => {
|
|
48
49
|
var _a;
|
|
49
50
|
for (const entry of (_a = children.get(dir)) !== null && _a !== void 0 ? _a : []) {
|
|
51
|
+
if (hidden === null || hidden === void 0 ? void 0 : hidden(entry)) {
|
|
52
|
+
continue;
|
|
53
|
+
}
|
|
50
54
|
const open = entry.kind === 'directory' && expanded.has(entry.path);
|
|
51
55
|
out.push({ entry, depth, expanded: open, loading: open && !children.has(entry.path) });
|
|
52
56
|
if (open) {
|
|
@@ -54,7 +58,7 @@ var WorkspaceUtil;
|
|
|
54
58
|
}
|
|
55
59
|
}
|
|
56
60
|
};
|
|
57
|
-
walk(
|
|
61
|
+
walk('', 0);
|
|
58
62
|
return out;
|
|
59
63
|
}
|
|
60
64
|
WorkspaceUtil.rows = rows;
|
|
@@ -25,7 +25,7 @@ export declare namespace WorkspaceClient {
|
|
|
25
25
|
function move(cwd: string, paths: string[], folder: string): Promise<void>;
|
|
26
26
|
/** Files of the user's machine into `folder` of `cwd`, a part at a time; answers how many. */
|
|
27
27
|
function upload(cwd: string, folder: string, batch: UploadBatch, onProgress?: TransferProgress): Promise<number>;
|
|
28
|
-
/** The files of a folder at any depth,
|
|
28
|
+
/** The files of a folder at any depth, with their sizes; those the explorer hides (`.git`, TaExcludedFiles) are left out, even shown. */
|
|
29
29
|
function filesOf(cwd: string, folder: string): Promise<TaDirEntry[]>;
|
|
30
30
|
/** A file saved by the browser; a folder as a zip of its files, made here (`''` for `cwd` itself). */
|
|
31
31
|
function download(cwd: string, entry: Pick<TaDirEntry, 'path' | 'name' | 'kind'>, onProgress?: TransferProgress): Promise<void>;
|
|
@@ -146,14 +146,14 @@ var WorkspaceClient;
|
|
|
146
146
|
return batch.files.length;
|
|
147
147
|
}
|
|
148
148
|
WorkspaceClient.upload = upload;
|
|
149
|
-
/** The files of a folder at any depth,
|
|
149
|
+
/** The files of a folder at any depth, with their sizes; those the explorer hides (`.git`, TaExcludedFiles) are left out, even shown. */
|
|
150
150
|
async function filesOf(cwd, folder) {
|
|
151
151
|
const files = [];
|
|
152
152
|
let level = [folder];
|
|
153
153
|
while (level.length) {
|
|
154
154
|
const listed = await Promise.all(level.map(dir => host_1.pi.workspace.listDirectory(dir, cwd)));
|
|
155
155
|
level = [];
|
|
156
|
-
for (const entry of listed.flat()) {
|
|
156
|
+
for (const entry of ta_protocol_1.TaExcludedFiles.filter(listed.flat())) {
|
|
157
157
|
if (entry.kind === 'directory') {
|
|
158
158
|
level.push(entry.path);
|
|
159
159
|
}
|