@celljs/ta 4.7.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 +42 -3
- package/README.md +41 -2
- package/bin/ta.mjs +1 -1
- package/dist/cli.mjs +611 -22
- package/dist/gateway.mjs +2812 -0
- package/dist/pi/CHANGELOG.md +51 -0
- package/dist/pi/package.json +1 -1
- package/dist/pi/packages/ta-agents/README.en.md +68 -0
- package/dist/pi/packages/ta-agents/README.md +68 -0
- package/dist/pi/packages/ta-agents/extension/index.mjs +1756 -0
- package/dist/pi/packages/ta-agents/lib/acp-agent.d.ts +52 -0
- package/dist/pi/packages/ta-agents/lib/acp-agent.js +218 -0
- package/dist/pi/packages/ta-agents/lib/acp-protocol.d.ts +153 -0
- package/dist/pi/packages/ta-agents/lib/acp-protocol.js +45 -0
- package/dist/pi/packages/ta-agents/lib/agent-bindings.d.ts +45 -0
- package/dist/pi/packages/ta-agents/lib/agent-bindings.js +135 -0
- package/dist/pi/packages/ta-agents/lib/agent-catalog.d.ts +50 -0
- package/dist/pi/packages/ta-agents/lib/agent-catalog.js +143 -0
- package/dist/pi/packages/ta-agents/lib/agent-prompt.d.ts +18 -0
- package/dist/pi/packages/ta-agents/lib/agent-prompt.js +86 -0
- package/dist/pi/packages/ta-agents/lib/agent-session.d.ts +71 -0
- package/dist/pi/packages/ta-agents/lib/agent-session.js +220 -0
- package/dist/pi/packages/ta-agents/lib/agent-streamer.d.ts +41 -0
- package/dist/pi/packages/ta-agents/lib/agent-streamer.js +172 -0
- package/dist/pi/packages/ta-agents/lib/agent-tool.d.ts +22 -0
- package/dist/pi/packages/ta-agents/lib/agent-tool.js +88 -0
- package/dist/pi/packages/ta-agents/lib/agent-turn.d.ts +115 -0
- package/dist/pi/packages/ta-agents/lib/agent-turn.js +343 -0
- package/dist/pi/packages/ta-agents/lib/extension.d.ts +26 -0
- package/dist/pi/packages/ta-agents/lib/extension.js +247 -0
- package/dist/pi/packages/ta-agents/lib/json-rpc.d.ts +41 -0
- package/dist/pi/packages/ta-agents/lib/json-rpc.js +145 -0
- package/dist/pi/packages/ta-agents/lib/message-stream.d.ts +31 -0
- package/dist/pi/packages/ta-agents/lib/message-stream.js +134 -0
- package/dist/pi/packages/ta-agents/lib/pi-types.d.ts +20 -0
- package/dist/pi/packages/ta-agents/lib/pi-types.js +3 -0
- package/dist/pi/packages/ta-agents/lib/texts.d.ts +36 -0
- package/dist/pi/packages/ta-agents/lib/texts.js +43 -0
- package/dist/pi/packages/ta-agents/package.json +61 -0
- 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/README.en.md +21 -0
- package/dist/pi/packages/ta-changes/README.md +21 -0
- package/dist/pi/packages/ta-changes/extension/index.mjs +296 -0
- package/dist/pi/packages/ta-changes/host/index.mjs +309 -0
- package/dist/pi/packages/ta-changes/lib/blob-store.d.ts +16 -0
- package/dist/pi/packages/ta-changes/lib/blob-store.js +69 -0
- package/dist/pi/packages/ta-changes/lib/card.d.ts +12 -0
- package/dist/pi/packages/ta-changes/lib/card.js +149 -0
- package/dist/pi/packages/ta-changes/lib/changes-protocol.d.ts +76 -0
- package/dist/pi/packages/ta-changes/lib/changes-protocol.js +20 -0
- package/dist/pi/packages/ta-changes/lib/changes-service.d.ts +20 -0
- package/dist/pi/packages/ta-changes/lib/changes-service.js +70 -0
- package/dist/pi/packages/ta-changes/lib/changes-util.d.ts +21 -0
- package/dist/pi/packages/ta-changes/lib/changes-util.js +44 -0
- package/dist/pi/packages/ta-changes/lib/diff-tab.d.ts +4 -0
- package/dist/pi/packages/ta-changes/lib/diff-tab.js +45 -0
- package/dist/pi/packages/ta-changes/lib/extension.d.ts +21 -0
- package/dist/pi/packages/ta-changes/lib/extension.js +106 -0
- package/dist/pi/packages/ta-changes/lib/host.d.ts +7 -0
- package/dist/pi/packages/ta-changes/lib/host.js +16 -0
- package/dist/pi/packages/ta-changes/lib/i18n.d.ts +30 -0
- package/dist/pi/packages/ta-changes/lib/i18n.js +61 -0
- package/dist/pi/packages/ta-changes/lib/index.d.ts +8 -0
- package/dist/pi/packages/ta-changes/lib/index.js +28 -0
- package/dist/pi/packages/ta-changes/lib/line-diff.d.ts +11 -0
- package/dist/pi/packages/ta-changes/lib/line-diff.js +69 -0
- package/dist/pi/packages/ta-changes/lib/page.d.ts +29 -0
- package/dist/pi/packages/ta-changes/lib/page.js +106 -0
- package/dist/pi/packages/ta-changes/lib/react.d.ts +8 -0
- package/dist/pi/packages/ta-changes/lib/react.js +8 -0
- package/dist/pi/packages/ta-changes/lib/recorder.d.ts +25 -0
- package/dist/pi/packages/ta-changes/lib/recorder.js +117 -0
- package/dist/pi/packages/ta-changes/lib/style.d.ts +4 -0
- package/dist/pi/packages/ta-changes/lib/style.js +46 -0
- package/dist/pi/packages/ta-changes/package.json +55 -0
- package/dist/pi/packages/ta-changes/web/index.js +463 -0
- 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 +45 -9
- package/dist/pi/packages/ta-channels/package.json +11 -2
- package/dist/pi/packages/ta-channels/web/index.js +996 -205
- package/dist/pi/packages/ta-computer-use/extension/index.mjs +4 -2
- package/dist/pi/packages/ta-computer-use/lib/cua-driver-access.d.ts +2 -1
- package/dist/pi/packages/ta-computer-use/lib/cua-driver-access.js +9 -3
- package/dist/pi/packages/ta-computer-use/package.json +11 -2
- package/dist/pi/packages/ta-cron/README.en.md +48 -0
- package/dist/pi/packages/ta-cron/README.md +48 -0
- package/dist/pi/packages/ta-cron/extension/index.mjs +856 -0
- package/dist/pi/packages/ta-cron/host/index.mjs +884 -0
- package/dist/pi/packages/ta-cron/lib/commands.d.ts +61 -0
- package/dist/pi/packages/ta-cron/lib/commands.js +250 -0
- package/dist/pi/packages/ta-cron/lib/cron-expression.d.ts +39 -0
- package/dist/pi/packages/ta-cron/lib/cron-expression.js +146 -0
- package/dist/pi/packages/ta-cron/lib/cron-protocol.d.ts +160 -0
- package/dist/pi/packages/ta-cron/lib/cron-protocol.js +38 -0
- package/dist/pi/packages/ta-cron/lib/editor.d.ts +17 -0
- package/dist/pi/packages/ta-cron/lib/editor.js +143 -0
- package/dist/pi/packages/ta-cron/lib/extension.d.ts +27 -0
- package/dist/pi/packages/ta-cron/lib/extension.js +142 -0
- package/dist/pi/packages/ta-cron/lib/form-util.d.ts +39 -0
- package/dist/pi/packages/ta-cron/lib/form-util.js +121 -0
- package/dist/pi/packages/ta-cron/lib/host.d.ts +7 -0
- package/dist/pi/packages/ta-cron/lib/host.js +14 -0
- package/dist/pi/packages/ta-cron/lib/i18n.d.ts +88 -0
- package/dist/pi/packages/ta-cron/lib/i18n.js +173 -0
- package/dist/pi/packages/ta-cron/lib/index.d.ts +8 -0
- package/dist/pi/packages/ta-cron/lib/index.js +48 -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/notifier.d.ts +6 -0
- package/dist/pi/packages/ta-cron/lib/notifier.js +50 -0
- package/dist/pi/packages/ta-cron/lib/page.d.ts +42 -0
- package/dist/pi/packages/ta-cron/lib/page.js +116 -0
- 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/react.d.ts +8 -0
- package/dist/pi/packages/ta-cron/lib/react.js +8 -0
- package/dist/pi/packages/ta-cron/lib/reply.d.ts +6 -0
- package/dist/pi/packages/ta-cron/lib/reply.js +53 -0
- package/dist/pi/packages/ta-cron/lib/schedule-util.d.ts +25 -0
- package/dist/pi/packages/ta-cron/lib/schedule-util.js +223 -0
- package/dist/pi/packages/ta-cron/lib/scheduler.d.ts +78 -0
- package/dist/pi/packages/ta-cron/lib/scheduler.js +329 -0
- package/dist/pi/packages/ta-cron/lib/server-texts.d.ts +7 -0
- package/dist/pi/packages/ta-cron/lib/server-texts.js +24 -0
- package/dist/pi/packages/ta-cron/lib/style.d.ts +4 -0
- package/dist/pi/packages/ta-cron/lib/style.js +123 -0
- package/dist/pi/packages/ta-cron/lib/task-store.d.ts +25 -0
- package/dist/pi/packages/ta-cron/lib/task-store.js +60 -0
- package/dist/pi/packages/ta-cron/lib/task-util.d.ts +18 -0
- package/dist/pi/packages/ta-cron/lib/task-util.js +167 -0
- package/dist/pi/packages/ta-cron/lib/tasks-view.d.ts +10 -0
- package/dist/pi/packages/ta-cron/lib/tasks-view.js +204 -0
- package/dist/pi/packages/ta-cron/lib/tool.d.ts +85 -0
- package/dist/pi/packages/ta-cron/lib/tool.js +127 -0
- package/dist/pi/packages/ta-cron/package.json +55 -0
- package/dist/pi/packages/ta-cron/web/index.js +1953 -0
- 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 -7
- 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 +6 -6
- package/dist/pi/packages/ta-workspace/README.zh-cn.md +6 -6
- package/dist/pi/packages/ta-workspace/lib/browser-agent.d.ts +36 -0
- package/dist/pi/packages/ta-workspace/lib/browser-agent.js +396 -0
- package/dist/pi/packages/ta-workspace/lib/browser-common.d.ts +48 -0
- package/dist/pi/packages/ta-workspace/lib/browser-common.js +180 -0
- package/dist/pi/packages/ta-workspace/lib/browser-import.d.ts +5 -0
- package/dist/pi/packages/ta-workspace/lib/browser-import.js +97 -0
- package/dist/pi/packages/ta-workspace/lib/browser-webview.d.ts +7 -0
- package/dist/pi/packages/ta-workspace/lib/browser-webview.js +202 -0
- package/dist/pi/packages/ta-workspace/lib/browser.d.ts +1 -7
- package/dist/pi/packages/ta-workspace/lib/browser.js +14 -154
- 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 +121 -18
- package/dist/pi/packages/ta-workspace/lib/i18n.d.ts +47 -0
- package/dist/pi/packages/ta-workspace/lib/i18n.js +106 -12
- package/dist/pi/packages/ta-workspace/lib/index.js +7 -1
- 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 +130 -56
- package/dist/pi/packages/ta-workspace/lib/terminal.d.ts +25 -3
- package/dist/pi/packages/ta-workspace/lib/terminal.js +327 -119
- package/dist/pi/packages/ta-workspace/lib/util/browser-snapshot.d.ts +52 -0
- package/dist/pi/packages/ta-workspace/lib/util/browser-snapshot.js +207 -0
- 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/upload.d.ts +34 -0
- package/dist/pi/packages/ta-workspace/lib/util/upload.js +109 -0
- package/dist/pi/packages/ta-workspace/lib/util/workspace.d.ts +19 -2
- package/dist/pi/packages/ta-workspace/lib/util/workspace.js +50 -3
- package/dist/pi/packages/ta-workspace/lib/util/zip.d.ts +20 -0
- package/dist/pi/packages/ta-workspace/lib/util/zip.js +128 -0
- package/dist/pi/packages/ta-workspace/lib/workspace-client.d.ts +12 -1
- package/dist/pi/packages/ta-workspace/lib/workspace-client.js +101 -0
- package/dist/pi/packages/ta-workspace/package.json +11 -2
- package/dist/pi/packages/ta-workspace/web/index.js +2695 -799
- package/dist/public/assets/{abnfDiagram-S7VZAUFO-D1ZeYB9c.js → abnfDiagram-S7VZAUFO-C1tb6dM5.js} +1 -1
- package/dist/public/assets/{architecture-WOLXFQ4H-RV_x_iFj.js → architecture-WOLXFQ4H-DN1Va8BF.js} +1 -1
- package/dist/public/assets/{architectureDiagram-YGSQEFNW-BGOmzcpZ.js → architectureDiagram-YGSQEFNW-BmK2SYtQ.js} +1 -1
- package/dist/public/assets/{blockDiagram-APKKGZFW-BkoflIym.js → blockDiagram-APKKGZFW-DvLrLzTm.js} +1 -1
- package/dist/public/assets/{browser-Cl9_lr0X.js → browser-DAv3ly6M.js} +1 -1
- package/dist/public/assets/{c4Diagram-KJ2TOQU5-CfrQTIEs.js → c4Diagram-KJ2TOQU5-CrQlWwrG.js} +1 -1
- package/dist/public/assets/{chunk-6MUBBAK2-C-VxnXsG.js → chunk-6MUBBAK2-CHKMsuY_.js} +1 -1
- package/dist/public/assets/{chunk-AXFCVDMN-aqbxPiaN.js → chunk-AXFCVDMN-CWJ7Np6s.js} +1 -1
- package/dist/public/assets/{chunk-BG4553SI-DDgvFLBP.js → chunk-BG4553SI-3v5XbQGM.js} +1 -1
- package/dist/public/assets/{chunk-DQASFODM-CItpjfW5.js → chunk-DQASFODM-2CC-yiCz.js} +1 -1
- package/dist/public/assets/{chunk-HFQBQIA3-BATYGV1I.js → chunk-HFQBQIA3-D2hzQPAy.js} +1 -1
- package/dist/public/assets/{chunk-KQLB2F66-BVAqVjgq.js → chunk-KQLB2F66-SifAZs2r.js} +1 -1
- package/dist/public/assets/{chunk-KS47KZWR-Bk0_a-eE.js → chunk-KS47KZWR-BP0C0VCC.js} +1 -1
- package/dist/public/assets/{chunk-LEVMRMFU-DsFG_U8r.js → chunk-LEVMRMFU-B1f5vw5b.js} +1 -1
- package/dist/public/assets/{chunk-M57EVK23-BgeE81Y7.js → chunk-M57EVK23-B2MCJt7Y.js} +1 -1
- package/dist/public/assets/{chunk-OY52VR5R-2Rp6C2LJ.js → chunk-OY52VR5R-cDpZJMk4.js} +1 -1
- package/dist/public/assets/{chunk-QB3YPZ4I-BhcIp-Bl.js → chunk-QB3YPZ4I-BE0we2xc.js} +1 -1
- package/dist/public/assets/{chunk-R3KSYZAL-i9n2AYPG.js → chunk-R3KSYZAL-D9wOfqqH.js} +1 -1
- package/dist/public/assets/{chunk-STOXU5M4-DOSqSu65.js → chunk-STOXU5M4-BIaVsc0K.js} +1 -1
- package/dist/public/assets/{chunk-TU62E6Q5-BDA8bjy3.js → chunk-TU62E6Q5-BZc0OZEM.js} +1 -1
- package/dist/public/assets/{chunk-X4PVCEUW-Cs-r9l_d.js → chunk-X4PVCEUW-Bngfwwzm.js} +1 -1
- package/dist/public/assets/{chunk-XXDRQBXY-DEcanQFC.js → chunk-XXDRQBXY-C5FQ6XHK.js} +1 -1
- package/dist/public/assets/{classDiagram-v2-L25IHNXF-BS8XxKRR.js → classDiagram-v2-L25IHNXF-_om54nmt.js} +1 -1
- package/dist/public/assets/{cose-bilkent-JH36ORCC--RPleOJ8.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-DZHM2oEU.js → cynefinDiagram-L36ESFBY-DP5_y9Dq.js} +1 -1
- package/dist/public/assets/{d3-selection-D2iIEb1P.js → d3-selection-DFiMlEmn.js} +1 -1
- package/dist/public/assets/{dagre-SPEB5RXH-h_G5ukMB.js → dagre-SPEB5RXH-DYwsk6gk.js} +1 -1
- package/dist/public/assets/{diagram-3B7GL73J-BnThWj9P.js → diagram-3B7GL73J-Dq_nT3AZ.js} +1 -1
- package/dist/public/assets/{diagram-DNEMPZML-DHCMo8sZ.js → diagram-DNEMPZML-ChURW6y9.js} +1 -1
- package/dist/public/assets/{diagram-L3MUGCDN-DxJZnIKT.js → diagram-L3MUGCDN-CgVp4Rto.js} +1 -1
- package/dist/public/assets/{diagram-LA4NIPWU-Cn0SGxqL.js → diagram-LA4NIPWU-vrqLMDby.js} +1 -1
- package/dist/public/assets/{diagram-MHCOC4E2-BafBOkBk.js → diagram-MHCOC4E2-lvfOr5ij.js} +1 -1
- package/dist/public/assets/{diagram-XPFHEONP-D7UnEMcU.js → diagram-XPFHEONP-oQ18TeVp.js} +1 -1
- package/dist/public/assets/{dist-CN9JBoER.js → dist-BOxxmveI.js} +1 -1
- package/dist/public/assets/{ebnfDiagram-UZSYDL2S-Us1rkKwp.js → ebnfDiagram-UZSYDL2S-C7_tlZCS.js} +1 -1
- package/dist/public/assets/{editor.api-S_CuXudU.js → editor.api-CoZ8MEuz.js} +1 -1
- package/dist/public/assets/{elk-XV6XMXQE-Czvqrn49.js → elk-XV6XMXQE-Dkt5-ikg.js} +1 -1
- package/dist/public/assets/{erDiagram-EYBAPDEH-C0g3K15f.js → erDiagram-EYBAPDEH-27kh3zlx.js} +1 -1
- package/dist/public/assets/{eventmodeling-K75KTNOO-DIcU7mQ5.js → eventmodeling-K75KTNOO-CxVEejjN.js} +1 -1
- package/dist/public/assets/flowDiagram-MALGAFMO-BRowRdve.js +1 -0
- package/dist/public/assets/{freemarker2-CkAEBjHO.js → freemarker2-D6CwPIXh.js} +1 -1
- package/dist/public/assets/{ganttDiagram-23REXITY-CIkKvihz.js → ganttDiagram-23REXITY-C-amlwpX.js} +1 -1
- package/dist/public/assets/gitGraph-VSP46ZUC-BGmojXlx.js +1 -0
- package/dist/public/assets/{gitGraphDiagram-STJD7YCW-BxM3589j.js → gitGraphDiagram-STJD7YCW-DKhzI0Xz.js} +1 -1
- package/dist/public/assets/{handlebars-CPBNiVZ2.js → handlebars-mxNr68Gm.js} +1 -1
- package/dist/public/assets/{html-CJBVALoy.js → html-Bze6s9R9.js} +1 -1
- package/dist/public/assets/{index-CBMmE3BQ.js → index-BhQUc9PU.js} +2 -2
- package/dist/public/assets/info-OHQRW6UA-CRRVgGj2.js +1 -0
- package/dist/public/assets/{infoDiagram-KBXO4MBG-BIcStK_t.js → infoDiagram-KBXO4MBG-WHuWjEDO.js} +1 -1
- package/dist/public/assets/{ishikawaDiagram-M35NCXHK-CpV2hKA6.js → ishikawaDiagram-M35NCXHK-DFHUwD0J.js} +1 -1
- package/dist/public/assets/{javascript-dv6GQsa3.js → javascript-4NMPu7y1.js} +1 -1
- package/dist/public/assets/{journeyDiagram-OPLOXDXO-B_vnmdId.js → journeyDiagram-OPLOXDXO-C7gV6zEr.js} +1 -1
- package/dist/public/assets/{jsonMode-DG_orhvz.js → jsonMode-B1JEHPMp.js} +1 -1
- package/dist/public/assets/{kanban-definition-BZKZHSQY-q5uWw99H.js → kanban-definition-BZKZHSQY-DlRu_d2Q.js} +1 -1
- package/dist/public/assets/{liquid-CD-LM2Kh.js → liquid-B7sIf4NX.js} +1 -1
- package/dist/public/assets/{mdx-C9mfI8up.js → mdx-CAN0qez6.js} +1 -1
- package/dist/public/assets/{mermaid-parser.core-DNe1duhT.js → mermaid-parser.core-BGmotBhf.js} +3 -3
- package/dist/public/assets/{mermaid.core-B1AcqJgl.js → mermaid.core-Cl6SS3cM.js} +4 -4
- package/dist/public/assets/{mindmap-definition-I2QAS2VK-CwYG3Fl3.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-C0ktZo3r.js → monaco-CwCjTWAO.js} +3 -3
- package/dist/public/assets/packet-JDAUHWVQ-DUlqTCWQ.js +1 -0
- package/dist/public/assets/{pegDiagram-FD4XPPHP-DxtA4QDS.js → pegDiagram-FD4XPPHP-XhCpv6BX.js} +1 -1
- package/dist/public/assets/pie-XZMESJXO-2RgP4ScO.js +1 -0
- package/dist/public/assets/{pieDiagram-J4AKIIQI-CfcIi0Vn.js → pieDiagram-J4AKIIQI-DUVzuXUd.js} +1 -1
- package/dist/public/assets/{python-DCA1j2QE.js → python-DsoF66Sp.js} +1 -1
- package/dist/public/assets/{quadrantDiagram-XTYBLID2-BxkJdurF.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--H3g5ywg.js → railroad-abnf-LNEFI6M7-DkrNo-Gf.js} +1 -1
- package/dist/public/assets/{railroad-ebnf-DWYD2UWJ-C2LAUFu6.js → railroad-ebnf-DWYD2UWJ-DaB7gY8P.js} +1 -1
- package/dist/public/assets/{railroad-peg-JR7BVNR7-Kq_ZXQMl.js → railroad-peg-JR7BVNR7-D_QG87QV.js} +1 -1
- package/dist/public/assets/{railroadDiagram-MRQ6NCDL-i4xIvHJV.js → railroadDiagram-MRQ6NCDL-x-nUoBjv.js} +1 -1
- package/dist/public/assets/{razor-CEeNaFx5.js → razor-DSrcJyQe.js} +1 -1
- package/dist/public/assets/{requirementDiagram-Y7LWUY3S-CYNXjuJm.js → requirementDiagram-Y7LWUY3S-kNNcbsty.js} +1 -1
- package/dist/public/assets/{sankeyDiagram-WGJFYUXA-CRQiHcW6.js → sankeyDiagram-WGJFYUXA-ClC12Odk.js} +1 -1
- package/dist/public/assets/{sequenceDiagram-5NDRBG5M-BSDVFsi2.js → sequenceDiagram-5NDRBG5M-DDQITP2g.js} +1 -1
- package/dist/public/assets/{stateDiagram-v2-FJ4FJNEA-uyUAaysl.js → stateDiagram-v2-FJ4FJNEA-N1t_36oh.js} +1 -1
- package/dist/public/assets/{swimlanes-UMQ2AFYF-DdEjQumY.js → swimlanes-UMQ2AFYF-DSt9fFYE.js} +1 -1
- package/dist/public/assets/swimlanesDiagram-OMPLPG4O-BHAN4SQO.js +8 -0
- package/dist/public/assets/{timeline-definition-SEUHKTQE-DZl-TXXh.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-DrF8YGbQ.js → typescript-J7rF-zX8.js} +1 -1
- package/dist/public/assets/{usecaseDiagram-AFA6YXN4-DkG3gLrp.js → usecaseDiagram-AFA6YXN4-CK_mRc2_.js} +1 -1
- package/dist/public/assets/{vennDiagram-NNMJR3RB-B_lj8x7-.js → vennDiagram-NNMJR3RB-DW8xR6IJ.js} +1 -1
- package/dist/public/assets/wardley-7MLQ67FV-CLBqtefx.js +1 -0
- package/dist/public/assets/{wardleyDiagram-S7YFUSEH-B1VFrC5a.js → wardleyDiagram-S7YFUSEH-Css55Zq5.js} +1 -1
- package/dist/public/assets/{xml-DfL-Brke.js → xml-CJeviG_a.js} +1 -1
- package/dist/public/assets/xterm-BrP-ENHg.css +1 -0
- package/dist/public/assets/xterm-wtHqjrNn.js +85 -0
- package/dist/public/assets/{xychartDiagram-GGNKY7IX-CM2CpXu9.js → xychartDiagram-GGNKY7IX-BnhK9cFS.js} +1 -1
- package/dist/public/assets/{yaml-CpmxRjjF.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 +8862 -5822
- package/package.json +24 -18
- 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-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.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/ansi.d.ts +0 -72
- package/dist/pi/packages/ta-workspace/lib/util/ansi.d.ts.map +0 -1
- package/dist/pi/packages/ta-workspace/lib/util/ansi.js +0 -434
- package/dist/pi/packages/ta-workspace/lib/util/ansi.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/keys.d.ts +0 -14
- package/dist/pi/packages/ta-workspace/lib/util/keys.d.ts.map +0 -1
- package/dist/pi/packages/ta-workspace/lib/util/keys.js +0 -52
- package/dist/pi/packages/ta-workspace/lib/util/keys.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/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/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-CXQC7Jwi.js +0 -1
- package/dist/public/assets/flowDiagram-MALGAFMO-D5Z_jzJ0.js +0 -1
- package/dist/public/assets/gitGraph-VSP46ZUC-CvdLb7m6.js +0 -1
- package/dist/public/assets/info-OHQRW6UA-BLs8wjUC.js +0 -1
- package/dist/public/assets/module-BLLqRvli.js +0 -1099
- package/dist/public/assets/module-BZPCnGxA.js +0 -1
- package/dist/public/assets/packet-JDAUHWVQ-jwWITUaQ.js +0 -1
- package/dist/public/assets/pie-XZMESJXO-CeTVZZgy.js +0 -1
- package/dist/public/assets/radar-ABXABTNO-BGI8J8LU.js +0 -1
- package/dist/public/assets/railroad-I3PHUGI6-CFkpx3Pr.js +0 -1
- package/dist/public/assets/swimlanesDiagram-OMPLPG4O-BJsun6CT.js +0 -8
- package/dist/public/assets/treeView-D4JQ5SDB-CL1mG6td.js +0 -1
- package/dist/public/assets/treemap-SAJKECNS-Bk3Z1uEC.js +0 -1
- package/dist/public/assets/wardley-7MLQ67FV-1E8i3qpD.js +0 -1
|
@@ -14,6 +14,11 @@ export interface Agent {
|
|
|
14
14
|
*/
|
|
15
15
|
cwd?: string;
|
|
16
16
|
sessionFile?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Ta made it for a team of its own (create_agent): it shows with the channels it is in, not among the
|
|
19
|
+
* members, until the user keeps it. One in no channel shows among the members, so that none is lost.
|
|
20
|
+
*/
|
|
21
|
+
temporary?: boolean;
|
|
17
22
|
createdAt: number;
|
|
18
23
|
}
|
|
19
24
|
/** A conversation of the user, ta and some agents. */
|
|
@@ -27,6 +32,10 @@ export interface Channel {
|
|
|
27
32
|
muted?: string[];
|
|
28
33
|
/** Listed first in the side bar. */
|
|
29
34
|
pinned?: boolean;
|
|
35
|
+
/** Ta built it with its tools, for work the user handed it: one of the double's tasks, not one of the user's channels. */
|
|
36
|
+
by?: 'ta';
|
|
37
|
+
/** The conversation Ta built it from (its session file): the double shows it in the turn that started it. */
|
|
38
|
+
origin?: string;
|
|
30
39
|
createdAt: number;
|
|
31
40
|
}
|
|
32
41
|
export interface ChannelMessage {
|
|
@@ -115,6 +124,7 @@ export type TeamRequest = {
|
|
|
115
124
|
role?: unknown;
|
|
116
125
|
face?: unknown;
|
|
117
126
|
cwd?: unknown;
|
|
127
|
+
keep?: unknown;
|
|
118
128
|
}
|
|
119
129
|
/** The agent goes, and with it the channels it was the only member of. */
|
|
120
130
|
| {
|
|
@@ -38,6 +38,7 @@ export declare namespace ChannelsUtil {
|
|
|
38
38
|
role: unknown;
|
|
39
39
|
cwd?: unknown;
|
|
40
40
|
face?: unknown;
|
|
41
|
+
temporary?: boolean;
|
|
41
42
|
}): {
|
|
42
43
|
team: Team;
|
|
43
44
|
agent: Agent;
|
|
@@ -46,6 +47,8 @@ export declare namespace ChannelsUtil {
|
|
|
46
47
|
name: unknown;
|
|
47
48
|
members: unknown;
|
|
48
49
|
topic?: unknown;
|
|
50
|
+
by?: 'ta';
|
|
51
|
+
origin?: string;
|
|
49
52
|
}): {
|
|
50
53
|
team: Team;
|
|
51
54
|
channel: Channel;
|
|
@@ -81,6 +84,12 @@ export declare namespace ChannelsUtil {
|
|
|
81
84
|
before: Channel;
|
|
82
85
|
};
|
|
83
86
|
/** The pinned channels first, each group in the order they were made. */
|
|
87
|
+
/** The agents the user has: those they made or kept, and those Ta made that are in no channel anymore. */
|
|
88
|
+
function standing(team: Team): Agent[];
|
|
89
|
+
/** The channels Ta built for work handed to it: the double's tasks. */
|
|
90
|
+
function taskChannels(team: Team): Channel[];
|
|
91
|
+
/** The user's own channels. */
|
|
92
|
+
function ownChannels(team: Team): Channel[];
|
|
84
93
|
function pinnedFirst<T extends Pick<Channel, 'pinned'>>(channels: readonly T[]): T[];
|
|
85
94
|
function removeChannel(team: Team, ref: unknown): {
|
|
86
95
|
team: Team;
|
|
@@ -101,6 +110,7 @@ export declare namespace ChannelsUtil {
|
|
|
101
110
|
role?: unknown;
|
|
102
111
|
face?: unknown;
|
|
103
112
|
cwd?: unknown;
|
|
113
|
+
keep?: unknown;
|
|
104
114
|
}): {
|
|
105
115
|
team: Team;
|
|
106
116
|
agent: Agent;
|
|
@@ -163,7 +163,7 @@ var ChannelsUtil;
|
|
|
163
163
|
const cwd = directory(input.cwd);
|
|
164
164
|
const id = newId('agent');
|
|
165
165
|
const face = isFace(input.face) ? input.face : freeFace(hash(id), new Set(faces(team.agents).values()));
|
|
166
|
-
const agent = { id, name, role, mark: mark(name), face, cwd, createdAt: Date.now() };
|
|
166
|
+
const agent = { id, name, role, mark: mark(name), face, cwd, ...(input.temporary ? { temporary: true } : {}), createdAt: Date.now() };
|
|
167
167
|
return { team: { ...team, agents: [...team.agents, agent] }, agent };
|
|
168
168
|
}
|
|
169
169
|
ChannelsUtil.addAgent = addAgent;
|
|
@@ -180,7 +180,15 @@ var ChannelsUtil;
|
|
|
180
180
|
throw new Error(`A channel holds at most ${channels_model_1.MAX_MEMBERS} agents.`);
|
|
181
181
|
}
|
|
182
182
|
const topic = typeof input.topic === 'string' && input.topic.trim() ? input.topic.trim() : undefined;
|
|
183
|
-
const channel = {
|
|
183
|
+
const channel = {
|
|
184
|
+
id: newId('channel'),
|
|
185
|
+
name,
|
|
186
|
+
topic,
|
|
187
|
+
members,
|
|
188
|
+
...(input.by ? { by: input.by } : {}),
|
|
189
|
+
...(input.origin ? { origin: input.origin } : {}),
|
|
190
|
+
createdAt: Date.now(),
|
|
191
|
+
};
|
|
184
192
|
return { team: { ...team, channels: [...team.channels, channel] }, channel };
|
|
185
193
|
}
|
|
186
194
|
ChannelsUtil.addChannel = addChannel;
|
|
@@ -279,6 +287,22 @@ var ChannelsUtil;
|
|
|
279
287
|
}
|
|
280
288
|
ChannelsUtil.updateChannel = updateChannel;
|
|
281
289
|
/** The pinned channels first, each group in the order they were made. */
|
|
290
|
+
/** The agents the user has: those they made or kept, and those Ta made that are in no channel anymore. */
|
|
291
|
+
function standing(team) {
|
|
292
|
+
const inChannel = new Set(team.channels.flatMap(channel => channel.members));
|
|
293
|
+
return team.agents.filter(agent => !agent.temporary || !inChannel.has(agent.id));
|
|
294
|
+
}
|
|
295
|
+
ChannelsUtil.standing = standing;
|
|
296
|
+
/** The channels Ta built for work handed to it: the double's tasks. */
|
|
297
|
+
function taskChannels(team) {
|
|
298
|
+
return team.channels.filter(channel => channel.by === 'ta');
|
|
299
|
+
}
|
|
300
|
+
ChannelsUtil.taskChannels = taskChannels;
|
|
301
|
+
/** The user's own channels. */
|
|
302
|
+
function ownChannels(team) {
|
|
303
|
+
return team.channels.filter(channel => channel.by !== 'ta');
|
|
304
|
+
}
|
|
305
|
+
ChannelsUtil.ownChannels = ownChannels;
|
|
282
306
|
function pinnedFirst(channels) {
|
|
283
307
|
return [...channels.filter(channel => channel.pinned), ...channels.filter(channel => !channel.pinned)];
|
|
284
308
|
}
|
|
@@ -330,6 +354,9 @@ var ChannelsUtil;
|
|
|
330
354
|
}
|
|
331
355
|
agent.face = input.face;
|
|
332
356
|
}
|
|
357
|
+
if (input.keep === true) {
|
|
358
|
+
delete agent.temporary;
|
|
359
|
+
}
|
|
333
360
|
if (input.cwd !== undefined) {
|
|
334
361
|
const cwd = typeof input.cwd === 'string' && input.cwd.trim() ? input.cwd.trim() : undefined;
|
|
335
362
|
if (cwd !== before.cwd) {
|
|
@@ -61,11 +61,13 @@ export declare class ChannelsClient {
|
|
|
61
61
|
deleteChannel(channelId: string): Promise<void>;
|
|
62
62
|
/** The agent answers next in a new session. */
|
|
63
63
|
resetAgent(agentId: string): Promise<Agent>;
|
|
64
|
+
/** `keep`: an agent Ta made for a team of its own becomes one of the user's. */
|
|
64
65
|
updateAgent(agentId: string, change: {
|
|
65
66
|
name?: string;
|
|
66
67
|
role?: string;
|
|
67
68
|
face?: number;
|
|
68
69
|
cwd?: string;
|
|
70
|
+
keep?: boolean;
|
|
69
71
|
}): Promise<Agent>;
|
|
70
72
|
deleteAgent(agentId: string): Promise<void>;
|
|
71
73
|
/** The session of an agent, opened on the server if it is not, for the page to show. */
|
|
@@ -90,6 +90,7 @@ class ChannelsClient {
|
|
|
90
90
|
await this.load(true);
|
|
91
91
|
return agent;
|
|
92
92
|
}
|
|
93
|
+
/** `keep`: an agent Ta made for a team of its own becomes one of the user's. */
|
|
93
94
|
async updateAgent(agentId, change) {
|
|
94
95
|
const agent = (await this.request({ kind: 'updateAgent', agent: agentId, ...change }));
|
|
95
96
|
await this.load(true);
|
|
@@ -161,8 +161,8 @@ function NewChannelDialog({ context, onClose }) {
|
|
|
161
161
|
react_1.React.createElement(Search, { size: 15 }),
|
|
162
162
|
react_1.React.createElement("input", { value: query, placeholder: i18n_1.ChannelWords.format(w.searchAgents, { max: String(channels_util_1.MAX_MEMBERS) }), "aria-label": w.search, onChange: event => setQuery(event.target.value) })),
|
|
163
163
|
react_1.React.createElement("div", { className: "tac-pick-list" },
|
|
164
|
-
team.agents.length === 0 && react_1.React.createElement(
|
|
165
|
-
team.agents.length > 0 && shown.length === 0 && react_1.React.createElement(
|
|
164
|
+
team.agents.length === 0 && react_1.React.createElement(pi.ui.Empty, { compact: true, title: w.noAgents, hint: w.noAgentsHint }),
|
|
165
|
+
team.agents.length > 0 && shown.length === 0 && react_1.React.createElement(pi.ui.Empty, { compact: true, title: w.noMatch }),
|
|
166
166
|
shown.map(agent => {
|
|
167
167
|
const on = picked.includes(agent.id);
|
|
168
168
|
return (react_1.React.createElement("button", { key: agent.id, type: "button", "aria-pressed": on, disabled: !on && full, className: `tac-pick${on ? ' tac-on' : ''}`, onClick: () => toggle(agent) },
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
export declare const NO_SERVER = "The team tools need the Ta service, which runs the agents: start it with `ta serve` and talk to Ta in its web page. In Ta in a terminal there are no agents or channels.";
|
|
2
2
|
export declare const NO_TEAM = "The team did not start in the Ta service; its log says why.";
|
|
3
3
|
export declare const NOT_FOR_AGENTS = "Agents do not build teams or post to channels: answer in your reply, and name a member with @ to hand on.";
|
|
4
|
+
/**
|
|
5
|
+
* In the role of the double while the user wants to be asked before it hands out work (ASK_FIRST_MARK of
|
|
6
|
+
* ta-web, which this bundle does not import): a team is built, or work posted to a channel, once they say so.
|
|
7
|
+
*/
|
|
8
|
+
export declare const ASK_FIRST_MARK = "Ask the user before you hand out work";
|
|
4
9
|
interface Pi {
|
|
5
10
|
events: {
|
|
6
11
|
emit(event: string, data: unknown): void;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.NOT_FOR_AGENTS = exports.NO_TEAM = exports.NO_SERVER = void 0;
|
|
3
|
+
exports.ASK_FIRST_MARK = exports.NOT_FOR_AGENTS = exports.NO_TEAM = exports.NO_SERVER = void 0;
|
|
4
4
|
exports.default = activate;
|
|
5
5
|
const channels_util_1 = require("./channels-util");
|
|
6
|
+
const team_ask_1 = require("./team-ask");
|
|
6
7
|
const team_tools_1 = require("./team-tools");
|
|
7
8
|
/** TA_HOST_EVENT of @celljs/ta-protocol, which this bundle does not import. */
|
|
8
9
|
const TA_HOST_EVENT = 'ta:host';
|
|
@@ -14,6 +15,11 @@ const HOST_WAIT_MS = 1000;
|
|
|
14
15
|
exports.NO_SERVER = 'The team tools need the Ta service, which runs the agents: start it with `ta serve` and talk to Ta in its web page. In Ta in a terminal there are no agents or channels.';
|
|
15
16
|
exports.NO_TEAM = 'The team did not start in the Ta service; its log says why.';
|
|
16
17
|
exports.NOT_FOR_AGENTS = 'Agents do not build teams or post to channels: answer in your reply, and name a member with @ to hand on.';
|
|
18
|
+
/**
|
|
19
|
+
* In the role of the double while the user wants to be asked before it hands out work (ASK_FIRST_MARK of
|
|
20
|
+
* ta-web, which this bundle does not import): a team is built, or work posted to a channel, once they say so.
|
|
21
|
+
*/
|
|
22
|
+
exports.ASK_FIRST_MARK = 'Ask the user before you hand out work';
|
|
17
23
|
/**
|
|
18
24
|
* The pi extension: ta's tools to build a team and talk to it, in every session but those of agents. They
|
|
19
25
|
* work with the team of ta serve (host.ts); without it they say so.
|
|
@@ -31,6 +37,8 @@ function activate(pi) {
|
|
|
31
37
|
});
|
|
32
38
|
})));
|
|
33
39
|
const isAgent = (ctx) => ctx.getSystemPrompt().includes(channels_util_1.AGENT_MARK);
|
|
40
|
+
/** The channels the user let Ta work in, in this process: asked once each. */
|
|
41
|
+
const allowed = new Set();
|
|
34
42
|
pi.on('session_start', () => {
|
|
35
43
|
void reach();
|
|
36
44
|
});
|
|
@@ -53,12 +61,27 @@ function activate(pi) {
|
|
|
53
61
|
if (!team) {
|
|
54
62
|
throw new Error(answered ? exports.NO_TEAM : exports.NO_SERVER);
|
|
55
63
|
}
|
|
56
|
-
const
|
|
64
|
+
const input = params !== null && params !== void 0 ? params : {};
|
|
65
|
+
if (ctx.getSystemPrompt().includes(exports.ASK_FIRST_MARK)) {
|
|
66
|
+
const question = team_ask_1.TeamAsk.question(tool.name, input, team.state, allowed);
|
|
67
|
+
if (question && !(await ask(ctx, question))) {
|
|
68
|
+
return { content: [{ type: 'text', text: team_ask_1.TeamAsk.REFUSED }], details: undefined };
|
|
69
|
+
}
|
|
70
|
+
team_ask_1.TeamAsk.allow(tool.name, input, team.state, allowed);
|
|
71
|
+
}
|
|
72
|
+
const text = await stoppable(tool.run(team, input, { origin: ctx.sessionManager.getSessionFile() }), signal);
|
|
73
|
+
if (tool.name === 'create_channel') {
|
|
74
|
+
team_ask_1.TeamAsk.allow('post_to_channel', { channel: input.name }, team.state, allowed);
|
|
75
|
+
}
|
|
57
76
|
return { content: [{ type: 'text', text }], details: undefined };
|
|
58
77
|
},
|
|
59
78
|
});
|
|
60
79
|
}
|
|
61
80
|
}
|
|
81
|
+
/** Asks the user in the page; nobody to ask is a no. */
|
|
82
|
+
async function ask(ctx, question) {
|
|
83
|
+
return ctx.hasUI ? ctx.ui.confirm(question.title, question.message).catch(() => false) : false;
|
|
84
|
+
}
|
|
62
85
|
/** Stopping ta stops its waiting; the agents go on in the channel. */
|
|
63
86
|
function stoppable(work, signal) {
|
|
64
87
|
if (!signal) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare const EN: {
|
|
2
|
-
readonly title: '
|
|
2
|
+
readonly title: 'Double';
|
|
3
3
|
readonly channels: 'Channels';
|
|
4
4
|
readonly agents: 'Agents';
|
|
5
5
|
readonly newChannel: 'New channel';
|
|
@@ -11,7 +11,7 @@ declare const EN: {
|
|
|
11
11
|
readonly members: 'Members';
|
|
12
12
|
readonly addMembers: 'Add members';
|
|
13
13
|
readonly add: 'Add';
|
|
14
|
-
readonly allMembers: 'Every agent is in this channel already
|
|
14
|
+
readonly allMembers: 'Every agent is in this channel already';
|
|
15
15
|
readonly membersHint: 'The first one you pick leads: it answers what names nobody.';
|
|
16
16
|
readonly create: 'Create';
|
|
17
17
|
readonly cancel: 'Cancel';
|
|
@@ -20,9 +20,11 @@ declare const EN: {
|
|
|
20
20
|
readonly you: 'You';
|
|
21
21
|
readonly ta: 'Ta';
|
|
22
22
|
readonly lead: 'Lead';
|
|
23
|
-
readonly empty: 'No channels yet
|
|
24
|
-
readonly
|
|
25
|
-
readonly
|
|
23
|
+
readonly empty: 'No channels yet';
|
|
24
|
+
readonly emptyHint: 'Ask Ta for a team, or create one with +';
|
|
25
|
+
readonly noAgents: 'No agents yet';
|
|
26
|
+
readonly noAgentsHint: 'A channel is made of agents: create one first';
|
|
27
|
+
readonly pick: 'Pick a channel';
|
|
26
28
|
readonly quiet: 'Nothing said yet. Mention a member with @, or the lead answers.';
|
|
27
29
|
readonly placeholder: 'Message {channel}; @ names a member';
|
|
28
30
|
readonly answering: '{name} is answering';
|
|
@@ -35,10 +37,11 @@ declare const EN: {
|
|
|
35
37
|
readonly idle: 'Idle';
|
|
36
38
|
readonly answeringIn: 'Answering in #{channel}';
|
|
37
39
|
readonly answeringNow: '{name} is answering…';
|
|
38
|
-
readonly noMatch: 'No
|
|
40
|
+
readonly noMatch: 'No matching agents or channels';
|
|
39
41
|
readonly noMessages: 'No messages yet';
|
|
40
42
|
readonly leadOf: 'Lead: {name}';
|
|
41
|
-
readonly noAgentsYet: 'No agents yet
|
|
43
|
+
readonly noAgentsYet: 'No agents yet';
|
|
44
|
+
readonly noAgentsYetHint: 'Create one with +, or ask Ta for a team';
|
|
42
45
|
readonly myDouble: 'My double';
|
|
43
46
|
readonly memberCount: '{count} members';
|
|
44
47
|
readonly channel: 'Channel';
|
|
@@ -69,7 +72,7 @@ declare const EN: {
|
|
|
69
72
|
readonly deleteChannel: 'Delete channel';
|
|
70
73
|
readonly confirmDelete: 'Delete #{channel} and its messages?';
|
|
71
74
|
readonly delete: 'Delete';
|
|
72
|
-
readonly noChannel: 'Open a channel to see its members
|
|
75
|
+
readonly noChannel: 'Open a channel to see its members';
|
|
73
76
|
readonly more: 'More';
|
|
74
77
|
readonly stop: 'Stop';
|
|
75
78
|
readonly stoppedAgent: 'Stopped {name}.';
|
|
@@ -86,7 +89,7 @@ declare const EN: {
|
|
|
86
89
|
readonly exportChat: 'Export conversation (Markdown)';
|
|
87
90
|
readonly nothingToExport: '{name} has said nothing yet.';
|
|
88
91
|
readonly joinChannel: 'Add to channel';
|
|
89
|
-
readonly noChannelToJoin: 'It is in every channel already
|
|
92
|
+
readonly noChannelToJoin: 'It is in every channel already';
|
|
90
93
|
readonly joined: '{name} joined #{channel}.';
|
|
91
94
|
readonly deleteAgent: 'Delete';
|
|
92
95
|
readonly confirmDeleteAgent: 'Delete {name}? It leaves its channels, and channels with no one else go too; its session file stays.';
|
|
@@ -101,6 +104,34 @@ declare const EN: {
|
|
|
101
104
|
readonly stopAnswering: 'Stop answering';
|
|
102
105
|
readonly stoppedChannel: 'Stopped the members answering in #{channel}.';
|
|
103
106
|
readonly noMessagesToExport: '#{channel} has no messages yet.';
|
|
107
|
+
readonly yourTurn: 'Your turn';
|
|
108
|
+
readonly building: 'Building the team…';
|
|
109
|
+
readonly openInMain: 'Open in the main area';
|
|
110
|
+
readonly openInMainHint: 'Talk to the team yourself';
|
|
111
|
+
readonly keepMembers: 'Keep its agents';
|
|
112
|
+
readonly keptMembers: '{names} are among your members now.';
|
|
113
|
+
readonly keep: 'Keep as a member';
|
|
114
|
+
readonly kept: '{name} is among your members now.';
|
|
115
|
+
readonly temporary: 'Made by Ta for this team; keep it to have it among your members';
|
|
116
|
+
readonly temporaryTag: 'Temporary';
|
|
117
|
+
readonly tasks: 'Tasks';
|
|
118
|
+
readonly membersSection: 'Members';
|
|
119
|
+
readonly byDirectory: 'Group by directory';
|
|
120
|
+
readonly channelsSection: 'Channels';
|
|
121
|
+
readonly waitingSection: 'Waiting for you';
|
|
122
|
+
readonly runningSection: 'In progress';
|
|
123
|
+
readonly endedSection: 'Ended';
|
|
124
|
+
readonly showAll: 'Show all {count}';
|
|
125
|
+
readonly showFewer: 'Show fewer';
|
|
126
|
+
readonly noTasksYet: 'Nothing handed out yet';
|
|
127
|
+
readonly waitingCount: '{count} need you';
|
|
128
|
+
readonly runningCount: '{count} running';
|
|
129
|
+
readonly standingBy: 'Standing by';
|
|
130
|
+
readonly noTasksYetHint: 'Tell the double what you want done';
|
|
131
|
+
readonly noTasksHere: 'What the double hands out, tasks and teams, is listed here';
|
|
132
|
+
readonly tellDouble: 'Talk to the double';
|
|
133
|
+
readonly deleteTask: 'Delete the team';
|
|
134
|
+
readonly confirmDeleteTask: 'Delete #{channel} and its messages? Its agents stay, among your members.';
|
|
104
135
|
};
|
|
105
136
|
export type Words = {
|
|
106
137
|
readonly [K in keyof typeof EN]: string;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ChannelWords = void 0;
|
|
4
4
|
const EN = {
|
|
5
|
-
title: '
|
|
5
|
+
title: 'Double',
|
|
6
6
|
channels: 'Channels',
|
|
7
7
|
agents: 'Agents',
|
|
8
8
|
newChannel: 'New channel',
|
|
@@ -14,7 +14,7 @@ const EN = {
|
|
|
14
14
|
members: 'Members',
|
|
15
15
|
addMembers: 'Add members',
|
|
16
16
|
add: 'Add',
|
|
17
|
-
allMembers: 'Every agent is in this channel already
|
|
17
|
+
allMembers: 'Every agent is in this channel already',
|
|
18
18
|
membersHint: 'The first one you pick leads: it answers what names nobody.',
|
|
19
19
|
create: 'Create',
|
|
20
20
|
cancel: 'Cancel',
|
|
@@ -23,9 +23,11 @@ const EN = {
|
|
|
23
23
|
you: 'You',
|
|
24
24
|
ta: 'Ta',
|
|
25
25
|
lead: 'Lead',
|
|
26
|
-
empty: 'No channels yet
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
empty: 'No channels yet',
|
|
27
|
+
emptyHint: 'Ask Ta for a team, or create one with +',
|
|
28
|
+
noAgents: 'No agents yet',
|
|
29
|
+
noAgentsHint: 'A channel is made of agents: create one first',
|
|
30
|
+
pick: 'Pick a channel',
|
|
29
31
|
quiet: 'Nothing said yet. Mention a member with @, or the lead answers.',
|
|
30
32
|
placeholder: 'Message {channel}; @ names a member',
|
|
31
33
|
answering: '{name} is answering',
|
|
@@ -38,10 +40,11 @@ const EN = {
|
|
|
38
40
|
idle: 'Idle',
|
|
39
41
|
answeringIn: 'Answering in #{channel}',
|
|
40
42
|
answeringNow: '{name} is answering…',
|
|
41
|
-
noMatch: 'No
|
|
43
|
+
noMatch: 'No matching agents or channels',
|
|
42
44
|
noMessages: 'No messages yet',
|
|
43
45
|
leadOf: 'Lead: {name}',
|
|
44
|
-
noAgentsYet: 'No agents yet
|
|
46
|
+
noAgentsYet: 'No agents yet',
|
|
47
|
+
noAgentsYetHint: 'Create one with +, or ask Ta for a team',
|
|
45
48
|
myDouble: 'My double',
|
|
46
49
|
memberCount: '{count} members',
|
|
47
50
|
channel: 'Channel',
|
|
@@ -72,7 +75,7 @@ const EN = {
|
|
|
72
75
|
deleteChannel: 'Delete channel',
|
|
73
76
|
confirmDelete: 'Delete #{channel} and its messages?',
|
|
74
77
|
delete: 'Delete',
|
|
75
|
-
noChannel: 'Open a channel to see its members
|
|
78
|
+
noChannel: 'Open a channel to see its members',
|
|
76
79
|
more: 'More',
|
|
77
80
|
stop: 'Stop',
|
|
78
81
|
stoppedAgent: 'Stopped {name}.',
|
|
@@ -89,7 +92,7 @@ const EN = {
|
|
|
89
92
|
exportChat: 'Export conversation (Markdown)',
|
|
90
93
|
nothingToExport: '{name} has said nothing yet.',
|
|
91
94
|
joinChannel: 'Add to channel',
|
|
92
|
-
noChannelToJoin: 'It is in every channel already
|
|
95
|
+
noChannelToJoin: 'It is in every channel already',
|
|
93
96
|
joined: '{name} joined #{channel}.',
|
|
94
97
|
deleteAgent: 'Delete',
|
|
95
98
|
confirmDeleteAgent: 'Delete {name}? It leaves its channels, and channels with no one else go too; its session file stays.',
|
|
@@ -104,9 +107,37 @@ const EN = {
|
|
|
104
107
|
stopAnswering: 'Stop answering',
|
|
105
108
|
stoppedChannel: 'Stopped the members answering in #{channel}.',
|
|
106
109
|
noMessagesToExport: '#{channel} has no messages yet.',
|
|
110
|
+
yourTurn: 'Your turn',
|
|
111
|
+
building: 'Building the team…',
|
|
112
|
+
openInMain: 'Open in the main area',
|
|
113
|
+
openInMainHint: 'Talk to the team yourself',
|
|
114
|
+
keepMembers: 'Keep its agents',
|
|
115
|
+
keptMembers: '{names} are among your members now.',
|
|
116
|
+
keep: 'Keep as a member',
|
|
117
|
+
kept: '{name} is among your members now.',
|
|
118
|
+
temporary: 'Made by Ta for this team; keep it to have it among your members',
|
|
119
|
+
temporaryTag: 'Temporary',
|
|
120
|
+
tasks: 'Tasks',
|
|
121
|
+
membersSection: 'Members',
|
|
122
|
+
byDirectory: 'Group by directory',
|
|
123
|
+
channelsSection: 'Channels',
|
|
124
|
+
waitingSection: 'Waiting for you',
|
|
125
|
+
runningSection: 'In progress',
|
|
126
|
+
endedSection: 'Ended',
|
|
127
|
+
showAll: 'Show all {count}',
|
|
128
|
+
showFewer: 'Show fewer',
|
|
129
|
+
noTasksYet: 'Nothing handed out yet',
|
|
130
|
+
waitingCount: '{count} need you',
|
|
131
|
+
runningCount: '{count} running',
|
|
132
|
+
standingBy: 'Standing by',
|
|
133
|
+
noTasksYetHint: 'Tell the double what you want done',
|
|
134
|
+
noTasksHere: 'What the double hands out, tasks and teams, is listed here',
|
|
135
|
+
tellDouble: 'Talk to the double',
|
|
136
|
+
deleteTask: 'Delete the team',
|
|
137
|
+
confirmDeleteTask: 'Delete #{channel} and its messages? Its agents stay, among your members.',
|
|
107
138
|
};
|
|
108
139
|
const ZH = {
|
|
109
|
-
title: '
|
|
140
|
+
title: '分身',
|
|
110
141
|
channels: '频道',
|
|
111
142
|
agents: '智能体',
|
|
112
143
|
newChannel: '新建频道',
|
|
@@ -118,7 +149,7 @@ const ZH = {
|
|
|
118
149
|
members: '成员',
|
|
119
150
|
addMembers: '添加成员',
|
|
120
151
|
add: '添加',
|
|
121
|
-
allMembers: '
|
|
152
|
+
allMembers: '所有智能体都已在这个频道里',
|
|
122
153
|
membersHint: '先选的成员是负责人:没人被 @ 的消息由它回答。',
|
|
123
154
|
create: '创建',
|
|
124
155
|
cancel: '取消',
|
|
@@ -127,25 +158,28 @@ const ZH = {
|
|
|
127
158
|
you: '你',
|
|
128
159
|
ta: 'Ta',
|
|
129
160
|
lead: '负责人',
|
|
130
|
-
empty: '
|
|
131
|
-
|
|
132
|
-
|
|
161
|
+
empty: '还没有频道',
|
|
162
|
+
emptyHint: '让 Ta 组个团队,或点 + 新建',
|
|
163
|
+
noAgents: '还没有智能体',
|
|
164
|
+
noAgentsHint: '频道由智能体组成,先新建一个',
|
|
165
|
+
pick: '选一个频道',
|
|
133
166
|
quiet: '还没有消息。用 @ 点名成员,不点名就由负责人回答。',
|
|
134
167
|
placeholder: '发到 {channel};@ 点名成员',
|
|
135
168
|
answering: '{name} 正在回答',
|
|
136
169
|
failed: '没有回答',
|
|
137
170
|
mention: '@{name}',
|
|
138
171
|
stopped: '已到交接上限,等你继续。',
|
|
139
|
-
search: '
|
|
172
|
+
search: '搜索',
|
|
140
173
|
clear: '清除',
|
|
141
174
|
new: '新建',
|
|
142
175
|
idle: '空闲',
|
|
143
176
|
answeringIn: '正在 #{channel} 回答',
|
|
144
177
|
answeringNow: '{name} 正在回答…',
|
|
145
|
-
noMatch: '
|
|
178
|
+
noMatch: '没有匹配的智能体或频道',
|
|
146
179
|
noMessages: '还没有消息',
|
|
147
180
|
leadOf: '负责人:{name}',
|
|
148
|
-
noAgentsYet: '
|
|
181
|
+
noAgentsYet: '还没有智能体',
|
|
182
|
+
noAgentsYetHint: '点 + 新建,或让 Ta 组个团队',
|
|
149
183
|
myDouble: '我的分身',
|
|
150
184
|
memberCount: '{count} 位成员',
|
|
151
185
|
channel: '频道',
|
|
@@ -176,7 +210,7 @@ const ZH = {
|
|
|
176
210
|
deleteChannel: '删除频道',
|
|
177
211
|
confirmDelete: '删除 #{channel} 和它的全部消息?',
|
|
178
212
|
delete: '删除',
|
|
179
|
-
noChannel: '
|
|
213
|
+
noChannel: '打开频道后,这里显示它的成员',
|
|
180
214
|
more: '更多',
|
|
181
215
|
stop: '停止',
|
|
182
216
|
stoppedAgent: '已停止 {name}。',
|
|
@@ -193,7 +227,7 @@ const ZH = {
|
|
|
193
227
|
exportChat: '导出对话(Markdown)',
|
|
194
228
|
nothingToExport: '{name} 还没有说过话。',
|
|
195
229
|
joinChannel: '加入频道',
|
|
196
|
-
noChannelToJoin: '
|
|
230
|
+
noChannelToJoin: '它已经在所有频道里了',
|
|
197
231
|
joined: '{name} 已加入 #{channel}。',
|
|
198
232
|
deleteAgent: '删除',
|
|
199
233
|
confirmDeleteAgent: '删除 {name}?它会退出所在的频道,只剩它一个成员的频道也会一起删除;会话文件会保留。',
|
|
@@ -208,6 +242,34 @@ const ZH = {
|
|
|
208
242
|
stopAnswering: '停止回答',
|
|
209
243
|
stoppedChannel: '已让 #{channel} 里正在回答的成员停下。',
|
|
210
244
|
noMessagesToExport: '#{channel} 还没有消息。',
|
|
245
|
+
yourTurn: '轮到你了',
|
|
246
|
+
building: '正在组建团队…',
|
|
247
|
+
openInMain: '在主区打开',
|
|
248
|
+
openInMainHint: '亲自和团队对话',
|
|
249
|
+
keepMembers: '留下团队成员',
|
|
250
|
+
keptMembers: '{names} 已成为你的常驻成员。',
|
|
251
|
+
keep: '留为常驻成员',
|
|
252
|
+
kept: '{name} 已成为你的常驻成员。',
|
|
253
|
+
temporary: 'Ta 为这个团队临时创建;留下后成为你的常驻成员',
|
|
254
|
+
temporaryTag: '临时',
|
|
255
|
+
tasks: '任务',
|
|
256
|
+
membersSection: '成员',
|
|
257
|
+
byDirectory: '按目录分组',
|
|
258
|
+
channelsSection: '频道',
|
|
259
|
+
waitingSection: '待你处理',
|
|
260
|
+
runningSection: '进行中',
|
|
261
|
+
endedSection: '已结束',
|
|
262
|
+
showAll: '显示全部 {count} 个',
|
|
263
|
+
showFewer: '收起',
|
|
264
|
+
noTasksYet: '还没有交出的事',
|
|
265
|
+
waitingCount: '{count} 个待你处理',
|
|
266
|
+
runningCount: '{count} 个进行中',
|
|
267
|
+
standingBy: '待命',
|
|
268
|
+
noTasksYetHint: '告诉分身你想做什么',
|
|
269
|
+
noTasksHere: '分身交出去的任务和团队会列在这里',
|
|
270
|
+
tellDouble: '和分身说',
|
|
271
|
+
deleteTask: '删除这个团队',
|
|
272
|
+
confirmDeleteTask: '删除 #{channel} 及其消息?团队成员会留在你的成员里。',
|
|
211
273
|
};
|
|
212
274
|
var ChannelWords;
|
|
213
275
|
(function (ChannelWords) {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { WebExtensionAPI } from '@celljs/ta-web/lib/browser/extension/web-extension-api';
|
|
2
2
|
/**
|
|
3
|
-
* The
|
|
4
|
-
*
|
|
3
|
+
* The side bar of the double: the double, the tasks it was handed (the teams Ta built among them, registered
|
|
4
|
+
* as tasks), then the user's members and channels; a channel as a group chat in the main area, or in the
|
|
5
|
+
* workbench beside the double for a task, its members a tool of the workbench on the right. The team itself runs in ta
|
|
5
6
|
* serve (host.ts) and ta's tools are in the pi extension (extension.ts): this only shows it and writes to it.
|
|
6
7
|
*/
|
|
7
8
|
export default function activate(pi: WebExtensionAPI): () => void;
|
|
@@ -10,10 +10,12 @@ const react_1 = require("./react");
|
|
|
10
10
|
const room_1 = require("./room");
|
|
11
11
|
const sidebar_1 = require("./sidebar");
|
|
12
12
|
const style_1 = require("./style");
|
|
13
|
+
const tasks_1 = require("./tasks");
|
|
13
14
|
const views_1 = require("./views");
|
|
14
15
|
/**
|
|
15
|
-
* The
|
|
16
|
-
*
|
|
16
|
+
* The side bar of the double: the double, the tasks it was handed (the teams Ta built among them, registered
|
|
17
|
+
* as tasks), then the user's members and channels; a channel as a group chat in the main area, or in the
|
|
18
|
+
* workbench beside the double for a task, its members a tool of the workbench on the right. The team itself runs in ta
|
|
17
19
|
* serve (host.ts) and ta's tools are in the pi extension (extension.ts): this only shows it and writes to it.
|
|
18
20
|
*/
|
|
19
21
|
function activate(pi) {
|
|
@@ -35,6 +37,16 @@ function activate(pi) {
|
|
|
35
37
|
pi.ui.showView(views_1.MEMBERS_VIEW);
|
|
36
38
|
},
|
|
37
39
|
};
|
|
40
|
+
// The teams Ta built are tasks of the double: the user follows them there.
|
|
41
|
+
const tasks = new tasks_1.ChannelTaskSource(context);
|
|
42
|
+
let language = pi.ui.language;
|
|
43
|
+
context.refreshTasks = now => {
|
|
44
|
+
if (now !== language) {
|
|
45
|
+
language = now;
|
|
46
|
+
tasks.refresh();
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
pi.registerTasks(tasks);
|
|
38
50
|
pi.registerView('channels', {
|
|
39
51
|
title: () => i18n_1.ChannelWords.of(pi.ui.language).title,
|
|
40
52
|
icon: views_1.ChannelViews.icon(pi, 'Bot'),
|
|
@@ -19,8 +19,7 @@ function MembersView({ context }) {
|
|
|
19
19
|
const w = views_1.ChannelViews.words(pi);
|
|
20
20
|
const channel = state.team.channels.find(candidate => candidate.id === channelId);
|
|
21
21
|
if (!channel) {
|
|
22
|
-
return
|
|
23
|
-
react_1.React.createElement("div", { className: "tac-members-none" }, state.loaded ? w.noChannel : '')));
|
|
22
|
+
return react_1.React.createElement("div", { className: "tac-view tac-members" }, state.loaded && react_1.React.createElement(pi.ui.Empty, { title: w.noChannel }));
|
|
24
23
|
}
|
|
25
24
|
return adding ? (react_1.React.createElement(MemberPicker, { key: channel.id, context: context, team: state.team, channel: channel, faces: faces })) : (react_1.React.createElement(MemberList, { key: channel.id, context: context, team: state.team, channel: channel, faces: faces, working: (_a = state.working[channel.id]) !== null && _a !== void 0 ? _a : [] }));
|
|
26
25
|
}
|
|
@@ -81,9 +80,15 @@ function MemberList({ context, team, channel, faces, working }) {
|
|
|
81
80
|
react_1.React.createElement("span", { className: "tac-member-label" }, agent.name),
|
|
82
81
|
lead && (react_1.React.createElement("span", { className: "tac-lead", title: w.leadHint },
|
|
83
82
|
react_1.React.createElement(Crown, { size: 11 }),
|
|
84
|
-
react_1.React.createElement("span", null, w.lead)))
|
|
83
|
+
react_1.React.createElement("span", null, w.lead))),
|
|
84
|
+
agent.temporary && (react_1.React.createElement("span", { className: "tac-temporary", title: w.temporary }, w.temporaryTag))),
|
|
85
85
|
react_1.React.createElement("span", { className: `tac-member-detail${answering ? ' tac-live' : ''}` }, detail))),
|
|
86
86
|
react_1.React.createElement("span", { className: "tac-member-actions" },
|
|
87
|
+
agent.temporary && (react_1.React.createElement("button", { type: "button", className: "tac-action", title: w.keep, "aria-label": w.keep, disabled: !!busy, onClick: () => service
|
|
88
|
+
.updateAgent(agent.id, { keep: true })
|
|
89
|
+
.then(() => pi.ui.notify(i18n_1.ChannelWords.format(w.kept, { name: agent.name }), 'info'))
|
|
90
|
+
.catch(error => pi.ui.notify(views_1.ChannelViews.message(error), 'error')) },
|
|
91
|
+
react_1.React.createElement(UserPlus, { size: 15 }))),
|
|
87
92
|
!lead && (react_1.React.createElement("button", { type: "button", className: "tac-action", title: w.makeLead, "aria-label": w.makeLead, disabled: !!busy, onClick: () => change(agent, 'lead') },
|
|
88
93
|
react_1.React.createElement(Crown, { size: 15 }))),
|
|
89
94
|
react_1.React.createElement("button", { type: "button", className: `tac-action${off ? ' tac-on' : ''}`, title: off ? w.unmute : w.mute, "aria-label": off ? w.unmute : w.mute, "aria-pressed": off, disabled: !!busy, onClick: () => change(agent, off ? 'unmute' : 'mute') },
|
|
@@ -125,8 +130,8 @@ function MemberPicker({ context, team, channel, faces }) {
|
|
|
125
130
|
react_1.React.createElement("input", { value: query, placeholder: w.findAgent, "aria-label": w.findAgent, onChange: event => setQuery(event.target.value) })),
|
|
126
131
|
react_1.React.createElement("div", { className: "tac-members-scroll" },
|
|
127
132
|
react_1.React.createElement("div", { className: "tac-members-label" }, i18n_1.ChannelWords.format(w.canAdd, { count: String(others.length) })),
|
|
128
|
-
others.length === 0 && react_1.React.createElement(
|
|
129
|
-
others.length > 0 && shown.length === 0 && react_1.React.createElement(
|
|
133
|
+
others.length === 0 && react_1.React.createElement(pi.ui.Empty, { compact: true, title: w.allMembers }),
|
|
134
|
+
others.length > 0 && shown.length === 0 && react_1.React.createElement(pi.ui.Empty, { compact: true, title: w.noMatch }),
|
|
130
135
|
shown.map(agent => {
|
|
131
136
|
const on = picked.includes(agent.id);
|
|
132
137
|
return (react_1.React.createElement("button", { key: agent.id, type: "button", className: `tac-member-main tac-pick${on ? ' tac-on' : ''}`, "aria-pressed": on, title: agent.role, onClick: () => toggle(agent.id) },
|
|
@@ -9,7 +9,11 @@ export interface MoreItem {
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* A … that shows on hover and opens a menu: sections of entries set apart by a line. A right click on the
|
|
12
|
-
* row it is in (its parent) opens it too
|
|
12
|
+
* row it is in (its parent) opens it too, as a long press does on a phone (where the … is not shown): at the
|
|
13
|
+
* height of the pointer then. An entry closes the menu and runs; a click outside or Escape closes it. The menu
|
|
14
|
+
* is fixed to the screen, below where it opened or above when there is no room, so that the list it is in does
|
|
15
|
+
* not cut it. Opened by a finger (the page's data-touch), it is centred above the finger as the menus of a phone
|
|
16
|
+
* (below when there is no room), out of the notch and the home indicator, and the row stays marked while it is open.
|
|
13
17
|
*/
|
|
14
18
|
export declare function MoreMenu({ pi, label, items }: {
|
|
15
19
|
pi: WebExtensionAPI;
|