@celljs/ta 4.16.0 → 4.17.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 +1 -0
- package/README.md +1 -0
- package/dist/cli.mjs +2224 -203
- package/dist/gateway.mjs +2011 -528
- package/dist/pi/CHANGELOG.md +12 -0
- package/dist/pi/package.json +1 -1
- package/dist/pi/packages/ta-3d/extension/index.mjs +1 -0
- package/dist/pi/packages/ta-3d/package.json +2 -1
- package/dist/pi/packages/ta-agents/README.en.md +14 -2
- package/dist/pi/packages/ta-agents/README.md +14 -2
- package/dist/pi/packages/ta-agents/extension/index.mjs +278 -105
- package/dist/pi/packages/ta-agents/host/index.mjs +662 -0
- package/dist/pi/packages/ta-agents/lib/agent-catalog.d.ts +36 -2
- package/dist/pi/packages/ta-agents/lib/agent-catalog.js +76 -6
- package/dist/pi/packages/ta-agents/lib/agent-installer.d.ts +55 -0
- package/dist/pi/packages/ta-agents/lib/agent-installer.js +140 -0
- package/dist/pi/packages/ta-agents/lib/agent-installs.d.ts +25 -0
- package/dist/pi/packages/ta-agents/lib/agent-installs.js +64 -0
- package/dist/pi/packages/ta-agents/lib/agent-prompt.d.ts +6 -0
- package/dist/pi/packages/ta-agents/lib/agent-prompt.js +9 -0
- package/dist/pi/packages/ta-agents/lib/agent-refresh.d.ts +11 -0
- package/dist/pi/packages/ta-agents/lib/agent-refresh.js +37 -0
- package/dist/pi/packages/ta-agents/lib/agent-session.js +2 -1
- package/dist/pi/packages/ta-agents/lib/agents-protocol.d.ts +26 -0
- package/dist/pi/packages/ta-agents/lib/agents-protocol.js +11 -0
- package/dist/pi/packages/ta-agents/lib/agents-settings.d.ts +10 -0
- package/dist/pi/packages/ta-agents/lib/agents-settings.js +165 -0
- package/dist/pi/packages/ta-agents/lib/extension.d.ts +3 -1
- package/dist/pi/packages/ta-agents/lib/extension.js +17 -4
- package/dist/pi/packages/ta-agents/lib/host.d.ts +35 -0
- package/dist/pi/packages/ta-agents/lib/host.js +96 -0
- package/dist/pi/packages/ta-agents/lib/react.d.ts +8 -0
- package/dist/pi/packages/ta-agents/lib/react.js +8 -0
- package/dist/pi/packages/ta-agents/lib/style.d.ts +4 -0
- package/dist/pi/packages/ta-agents/lib/style.js +30 -0
- package/dist/pi/packages/ta-agents/lib/texts.d.ts +18 -0
- package/dist/pi/packages/ta-agents/lib/texts.js +18 -0
- package/dist/pi/packages/ta-agents/lib/web-words.d.ts +30 -0
- package/dist/pi/packages/ta-agents/lib/web-words.js +98 -0
- package/dist/pi/packages/ta-agents/lib/web.d.ts +4 -0
- package/dist/pi/packages/ta-agents/lib/web.js +14 -0
- package/dist/pi/packages/ta-agents/package.json +21 -5
- package/dist/pi/packages/ta-agents/web/index.js +385 -0
- package/dist/pi/packages/ta-app-use/README.en.md +28 -0
- package/dist/pi/packages/ta-app-use/README.md +28 -0
- package/dist/pi/packages/ta-app-use/extension/index.mjs +534 -0
- package/dist/pi/packages/ta-app-use/host/index.mjs +136 -0
- package/dist/pi/packages/ta-app-use/lib/app-host.d.ts +32 -0
- package/dist/pi/packages/ta-app-use/lib/app-host.js +79 -0
- package/dist/pi/packages/ta-app-use/lib/app-protocol.d.ts +23 -0
- package/dist/pi/packages/ta-app-use/lib/app-protocol.js +9 -0
- package/dist/pi/packages/ta-app-use/lib/app-util.d.ts +18 -0
- package/dist/pi/packages/ta-app-use/lib/app-util.js +71 -0
- package/dist/pi/packages/ta-app-use/lib/extension.d.ts +80 -0
- package/dist/pi/packages/ta-app-use/lib/extension.js +125 -0
- package/dist/pi/packages/ta-app-use/lib/host.d.ts +7 -0
- package/dist/pi/packages/ta-app-use/lib/host.js +16 -0
- package/dist/pi/packages/ta-app-use/lib/i18n.d.ts +38 -0
- package/dist/pi/packages/ta-app-use/lib/i18n.js +130 -0
- package/dist/pi/packages/ta-app-use/lib/index.d.ts +9 -0
- package/dist/pi/packages/ta-app-use/lib/index.js +93 -0
- package/dist/pi/packages/ta-app-use/lib/screen-cursor.d.ts +33 -0
- package/dist/pi/packages/ta-app-use/lib/screen-cursor.js +134 -0
- package/dist/pi/packages/ta-app-use/lib/screen-dom.d.ts +19 -0
- package/dist/pi/packages/ta-app-use/lib/screen-dom.js +184 -0
- package/dist/pi/packages/ta-app-use/lib/screen-driver.d.ts +46 -0
- package/dist/pi/packages/ta-app-use/lib/screen-driver.js +174 -0
- package/dist/pi/packages/ta-app-use/lib/screen-protocol.d.ts +67 -0
- package/dist/pi/packages/ta-app-use/lib/screen-protocol.js +8 -0
- package/dist/pi/packages/ta-app-use/lib/screen-text.d.ts +13 -0
- package/dist/pi/packages/ta-app-use/lib/screen-text.js +69 -0
- package/dist/pi/packages/ta-app-use/lib/screen-window.d.ts +68 -0
- package/dist/pi/packages/ta-app-use/lib/screen-window.js +376 -0
- package/dist/pi/packages/ta-app-use/lib/tool-line.d.ts +11 -0
- package/dist/pi/packages/ta-app-use/lib/tool-line.js +69 -0
- package/dist/pi/packages/ta-app-use/package.json +63 -0
- package/dist/pi/packages/ta-app-use/web/index.js +1520 -0
- package/dist/pi/packages/ta-bots/README.en.md +1 -0
- package/dist/pi/packages/ta-bots/README.md +1 -0
- package/dist/pi/packages/ta-bots/extension/index.mjs +25 -22
- package/dist/pi/packages/ta-bots/host/index.mjs +688 -148
- package/dist/pi/packages/ta-bots/lib/bot-service.d.ts +9 -1
- package/dist/pi/packages/ta-bots/lib/bot-service.js +49 -8
- package/dist/pi/packages/ta-bots/lib/channel-protocol.d.ts +2 -0
- package/dist/pi/packages/ta-bots/lib/extension.d.ts +2 -2
- package/dist/pi/packages/ta-bots/lib/extension.js +28 -24
- package/dist/pi/packages/ta-bots/lib/index.js +4 -0
- package/dist/pi/packages/ta-bots/lib/page.d.ts +7 -1
- package/dist/pi/packages/ta-bots/lib/page.js +17 -0
- package/dist/pi/packages/ta-bots/lib/style.d.ts +1 -1
- package/dist/pi/packages/ta-bots/lib/style.js +1 -1
- package/dist/pi/packages/ta-bots/lib/wecom-channel.js +1 -1
- package/dist/pi/packages/ta-bots/lib/weixin-api.d.ts +1 -0
- package/dist/pi/packages/ta-bots/lib/weixin-channel.js +2 -1
- package/dist/pi/packages/ta-bots/package.json +1 -1
- package/dist/pi/packages/ta-bots/web/index.js +13 -2
- package/dist/pi/packages/ta-call/README.en.md +9 -0
- package/dist/pi/packages/ta-call/README.md +9 -0
- package/dist/pi/packages/ta-call/extension/index.mjs +474 -0
- package/dist/pi/packages/ta-call/host/index.mjs +899 -0
- package/dist/pi/packages/ta-call/lib/call-host.d.ts +127 -0
- package/dist/pi/packages/ta-call/lib/call-host.js +377 -0
- package/dist/pi/packages/ta-call/lib/call-protocol.d.ts +33 -0
- package/dist/pi/packages/ta-call/lib/call-protocol.js +10 -0
- package/dist/pi/packages/ta-call/lib/call-util.d.ts +50 -0
- package/dist/pi/packages/ta-call/lib/call-util.js +250 -0
- package/dist/pi/packages/ta-call/lib/extension.d.ts +20 -0
- package/dist/pi/packages/ta-call/lib/extension.js +114 -0
- package/dist/pi/packages/ta-call/lib/host.d.ts +7 -0
- package/dist/pi/packages/ta-call/lib/host.js +20 -0
- package/dist/pi/packages/ta-call/lib/i18n.d.ts +16 -0
- package/dist/pi/packages/ta-call/lib/i18n.js +38 -0
- package/dist/pi/packages/ta-call/lib/index.d.ts +7 -0
- package/dist/pi/packages/ta-call/lib/index.js +60 -0
- package/dist/pi/packages/ta-call/lib/react.d.ts +8 -0
- package/dist/pi/packages/ta-call/lib/react.js +8 -0
- package/dist/pi/packages/ta-call/package.json +64 -0
- package/dist/pi/packages/ta-call/web/index.js +552 -0
- package/dist/pi/packages/ta-changes/extension/index.mjs +1 -0
- package/dist/pi/packages/ta-changes/lib/card.js +4 -1
- package/dist/pi/packages/ta-changes/package.json +1 -1
- package/dist/pi/packages/ta-changes/web/index.js +2 -0
- package/dist/pi/packages/ta-channels/extension/index.mjs +155 -194
- package/dist/pi/packages/ta-channels/host/index.mjs +2035 -1534
- package/dist/pi/packages/ta-channels/lib/agent-menu.js +2 -1
- package/dist/pi/packages/ta-channels/lib/channel-menu.d.ts +1 -1
- package/dist/pi/packages/ta-channels/lib/channel-menu.js +2 -2
- package/dist/pi/packages/ta-channels/lib/channels-text.d.ts +38 -0
- package/dist/pi/packages/ta-channels/lib/channels-text.js +173 -0
- package/dist/pi/packages/ta-channels/lib/channels-util.d.ts +0 -48
- package/dist/pi/packages/ta-channels/lib/channels-util.js +1 -223
- package/dist/pi/packages/ta-channels/lib/create.js +5 -1
- package/dist/pi/packages/ta-channels/lib/i18n-ja.d.ts +3 -0
- package/dist/pi/packages/ta-channels/lib/i18n-ja.js +182 -0
- package/dist/pi/packages/ta-channels/lib/i18n-zh-tw.d.ts +3 -0
- package/dist/pi/packages/ta-channels/lib/i18n-zh-tw.js +182 -0
- package/dist/pi/packages/ta-channels/lib/i18n-zh.d.ts +3 -0
- package/dist/pi/packages/ta-channels/lib/i18n-zh.js +182 -0
- package/dist/pi/packages/ta-channels/lib/i18n.js +4 -535
- package/dist/pi/packages/ta-channels/lib/index.js +2 -1
- package/dist/pi/packages/ta-channels/lib/notice-util.d.ts +15 -0
- package/dist/pi/packages/ta-channels/lib/notice-util.js +61 -0
- package/dist/pi/packages/ta-channels/lib/notice.d.ts +1 -1
- package/dist/pi/packages/ta-channels/lib/notice.js +5 -4
- package/dist/pi/packages/ta-channels/lib/room.js +4 -3
- package/dist/pi/packages/ta-channels/lib/sidebar-head.d.ts +6 -0
- package/dist/pi/packages/ta-channels/lib/sidebar-head.js +67 -0
- package/dist/pi/packages/ta-channels/lib/sidebar-hooks.d.ts +51 -0
- package/dist/pi/packages/ta-channels/lib/sidebar-hooks.js +230 -0
- package/dist/pi/packages/ta-channels/lib/sidebar-rows.d.ts +71 -0
- package/dist/pi/packages/ta-channels/lib/sidebar-rows.js +105 -0
- package/dist/pi/packages/ta-channels/lib/sidebar.d.ts +0 -4
- package/dist/pi/packages/ta-channels/lib/sidebar.js +35 -396
- package/dist/pi/packages/ta-channels/lib/style.d.ts +1 -1
- package/dist/pi/packages/ta-channels/lib/style.js +0 -1
- package/dist/pi/packages/ta-channels/lib/tasks.js +2 -1
- package/dist/pi/packages/ta-channels/lib/team-store.d.ts +78 -0
- package/dist/pi/packages/ta-channels/lib/team-store.js +261 -0
- package/dist/pi/packages/ta-channels/lib/team-tools.js +3 -2
- package/dist/pi/packages/ta-channels/lib/team.d.ts +3 -76
- package/dist/pi/packages/ta-channels/lib/team.js +5 -254
- package/dist/pi/packages/ta-channels/package.json +1 -1
- package/dist/pi/packages/ta-channels/web/index.js +889 -809
- package/dist/pi/packages/ta-computer-use/package.json +1 -1
- package/dist/pi/packages/ta-cron/README.en.md +19 -3
- package/dist/pi/packages/ta-cron/README.md +19 -3
- package/dist/pi/packages/ta-cron/extension/index.mjs +396 -111
- package/dist/pi/packages/ta-cron/host/index.mjs +633 -49
- package/dist/pi/packages/ta-cron/lib/chat-task.d.ts +5 -3
- package/dist/pi/packages/ta-cron/lib/chat-task.js +15 -10
- package/dist/pi/packages/ta-cron/lib/commands.d.ts +7 -4
- package/dist/pi/packages/ta-cron/lib/commands.js +26 -47
- package/dist/pi/packages/ta-cron/lib/cron-expression.d.ts +8 -0
- package/dist/pi/packages/ta-cron/lib/cron-expression.js +43 -1
- package/dist/pi/packages/ta-cron/lib/cron-protocol.d.ts +54 -7
- package/dist/pi/packages/ta-cron/lib/cron-protocol.js +16 -2
- package/dist/pi/packages/ta-cron/lib/editor.d.ts +3 -0
- package/dist/pi/packages/ta-cron/lib/editor.js +106 -36
- package/dist/pi/packages/ta-cron/lib/extension.js +1 -1
- package/dist/pi/packages/ta-cron/lib/form-util.d.ts +16 -6
- package/dist/pi/packages/ta-cron/lib/form-util.js +40 -28
- package/dist/pi/packages/ta-cron/lib/host.js +17 -1
- package/dist/pi/packages/ta-cron/lib/i18n.d.ts +39 -5
- package/dist/pi/packages/ta-cron/lib/i18n.js +160 -24
- package/dist/pi/packages/ta-cron/lib/index.js +4 -0
- package/dist/pi/packages/ta-cron/lib/page.d.ts +3 -2
- package/dist/pi/packages/ta-cron/lib/page.js +13 -2
- package/dist/pi/packages/ta-cron/lib/schedule-util.d.ts +4 -0
- package/dist/pi/packages/ta-cron/lib/schedule-util.js +52 -4
- package/dist/pi/packages/ta-cron/lib/scheduler.d.ts +56 -6
- package/dist/pi/packages/ta-cron/lib/scheduler.js +209 -27
- package/dist/pi/packages/ta-cron/lib/style.d.ts +1 -1
- package/dist/pi/packages/ta-cron/lib/style.js +50 -21
- package/dist/pi/packages/ta-cron/lib/task-list.d.ts +23 -0
- package/dist/pi/packages/ta-cron/lib/task-list.js +70 -0
- package/dist/pi/packages/ta-cron/lib/task-row.d.ts +19 -0
- package/dist/pi/packages/ta-cron/lib/task-row.js +246 -0
- package/dist/pi/packages/ta-cron/lib/task-util.d.ts +10 -6
- package/dist/pi/packages/ta-cron/lib/task-util.js +53 -19
- package/dist/pi/packages/ta-cron/lib/task-watchers.d.ts +30 -0
- package/dist/pi/packages/ta-cron/lib/task-watchers.js +90 -0
- package/dist/pi/packages/ta-cron/lib/tasks-view.d.ts +3 -2
- package/dist/pi/packages/ta-cron/lib/tasks-view.js +48 -193
- package/dist/pi/packages/ta-cron/lib/tool-line.js +4 -0
- package/dist/pi/packages/ta-cron/lib/tool.d.ts +7 -0
- package/dist/pi/packages/ta-cron/lib/tool.js +18 -8
- package/dist/pi/packages/ta-cron/lib/when.d.ts +39 -0
- package/dist/pi/packages/ta-cron/lib/when.js +231 -0
- package/dist/pi/packages/ta-cron/package.json +2 -1
- package/dist/pi/packages/ta-cron/web/index.js +1091 -340
- package/dist/pi/packages/ta-extensions/lib/market-detail.js +9 -5
- package/dist/pi/packages/ta-extensions/lib/page.js +1 -1
- package/dist/pi/packages/ta-extensions/lib/style.d.ts +1 -1
- package/dist/pi/packages/ta-extensions/lib/style.js +1 -1
- package/dist/pi/packages/ta-extensions/package.json +1 -1
- package/dist/pi/packages/ta-extensions/skills/ta-package/SKILL.md +9 -7
- package/dist/pi/packages/ta-extensions/web/index.js +739 -234
- package/dist/pi/packages/ta-feedback/README.en.md +10 -0
- package/dist/pi/packages/ta-feedback/README.md +10 -0
- package/dist/pi/packages/ta-feedback/extension/index.mjs +451 -0
- package/dist/pi/packages/ta-feedback/host/index.mjs +1187 -0
- package/dist/pi/packages/ta-feedback/lib/extension.d.ts +31 -0
- package/dist/pi/packages/ta-feedback/lib/extension.js +160 -0
- package/dist/pi/packages/ta-feedback/lib/feedback-git.d.ts +25 -0
- package/dist/pi/packages/ta-feedback/lib/feedback-git.js +44 -0
- package/dist/pi/packages/ta-feedback/lib/feedback-host.d.ts +133 -0
- package/dist/pi/packages/ta-feedback/lib/feedback-host.js +668 -0
- package/dist/pi/packages/ta-feedback/lib/feedback-protocol.d.ts +127 -0
- package/dist/pi/packages/ta-feedback/lib/feedback-protocol.js +41 -0
- package/dist/pi/packages/ta-feedback/lib/feedback-util.d.ts +79 -0
- package/dist/pi/packages/ta-feedback/lib/feedback-util.js +252 -0
- package/dist/pi/packages/ta-feedback/lib/feedback-view.d.ts +11 -0
- package/dist/pi/packages/ta-feedback/lib/feedback-view.js +244 -0
- package/dist/pi/packages/ta-feedback/lib/host.d.ts +8 -0
- package/dist/pi/packages/ta-feedback/lib/host.js +19 -0
- package/dist/pi/packages/ta-feedback/lib/i18n.d.ts +69 -0
- package/dist/pi/packages/ta-feedback/lib/i18n.js +250 -0
- package/dist/pi/packages/ta-feedback/lib/index.d.ts +8 -0
- package/dist/pi/packages/ta-feedback/lib/index.js +88 -0
- package/dist/pi/packages/ta-feedback/lib/page.d.ts +35 -0
- package/dist/pi/packages/ta-feedback/lib/page.js +135 -0
- package/dist/pi/packages/ta-feedback/lib/react.d.ts +8 -0
- package/dist/pi/packages/ta-feedback/lib/react.js +8 -0
- package/dist/pi/packages/ta-feedback/lib/style.d.ts +4 -0
- package/dist/pi/packages/ta-feedback/lib/style.js +71 -0
- package/dist/pi/packages/ta-feedback/package.json +65 -0
- package/dist/pi/packages/ta-feedback/web/index.js +939 -0
- package/dist/pi/packages/ta-games/lib/style.d.ts +1 -1
- package/dist/pi/packages/ta-games/lib/style.js +1 -1
- package/dist/pi/packages/ta-games/package.json +1 -1
- package/dist/pi/packages/ta-games/web/index.js +1 -1
- package/dist/pi/packages/ta-glance/extension/index.mjs +27 -8
- package/dist/pi/packages/ta-glance/lib/card.js +67 -27
- package/dist/pi/packages/ta-glance/lib/glance-json.d.ts +1 -1
- package/dist/pi/packages/ta-glance/lib/glance-json.js +8 -1
- package/dist/pi/packages/ta-glance/lib/glance-prompt.js +3 -3
- package/dist/pi/packages/ta-glance/lib/glance-protocol.d.ts +9 -2
- package/dist/pi/packages/ta-glance/lib/glance-spec.js +33 -5
- package/dist/pi/packages/ta-glance/lib/glance-speech.d.ts +13 -0
- package/dist/pi/packages/ta-glance/lib/glance-speech.js +45 -0
- package/dist/pi/packages/ta-glance/lib/i18n.d.ts +5 -0
- package/dist/pi/packages/ta-glance/lib/i18n.js +20 -0
- package/dist/pi/packages/ta-glance/lib/index.js +11 -1
- package/dist/pi/packages/ta-glance/lib/style.d.ts +1 -1
- package/dist/pi/packages/ta-glance/lib/style.js +17 -3
- package/dist/pi/packages/ta-glance/package.json +2 -1
- package/dist/pi/packages/ta-glance/web/index.js +180 -30
- package/dist/pi/packages/ta-initiative/extension/index.mjs +3 -2
- package/dist/pi/packages/ta-initiative/host/index.mjs +1 -1
- package/dist/pi/packages/ta-initiative/lib/chat-proposals.js +1 -1
- package/dist/pi/packages/ta-initiative/lib/index.js +1 -0
- package/dist/pi/packages/ta-initiative/lib/material-util.js +1 -1
- package/dist/pi/packages/ta-initiative/lib/settings.js +2 -1
- package/dist/pi/packages/ta-initiative/lib/style.d.ts +1 -1
- package/dist/pi/packages/ta-initiative/lib/style.js +1 -1
- package/dist/pi/packages/ta-initiative/package.json +1 -1
- package/dist/pi/packages/ta-initiative/web/index.js +5 -3
- package/dist/pi/packages/ta-launcher/package.json +1 -1
- package/dist/pi/packages/ta-manual/lib/manual-util.d.ts +1 -1
- package/dist/pi/packages/ta-manual/lib/pictures-c.js +15 -0
- package/dist/pi/packages/ta-manual/lib/style.d.ts +1 -1
- package/dist/pi/packages/ta-manual/lib/style.js +1 -1
- package/dist/pi/packages/ta-manual/lib/topics-a.d.ts +3 -0
- package/dist/pi/packages/ta-manual/lib/topics-a.js +295 -0
- package/dist/pi/packages/ta-manual/lib/topics-model.d.ts +46 -0
- package/dist/pi/packages/ta-manual/lib/topics-model.js +21 -0
- package/dist/pi/packages/ta-manual/lib/topics.d.ts +1 -44
- package/dist/pi/packages/ta-manual/lib/topics.js +28 -318
- package/dist/pi/packages/ta-manual/package.json +1 -1
- package/dist/pi/packages/ta-manual/skills/ta-manual/SKILL.md +12 -10
- package/dist/pi/packages/ta-manual/web/index.js +97 -24
- package/dist/pi/packages/ta-moments/extension/index.mjs +702 -191
- package/dist/pi/packages/ta-moments/host/index.mjs +1361 -837
- package/dist/pi/packages/ta-moments/lib/index.js +3 -1
- package/dist/pi/packages/ta-moments/lib/moments-host-base.d.ts +96 -0
- package/dist/pi/packages/ta-moments/lib/moments-host-base.js +276 -0
- package/dist/pi/packages/ta-moments/lib/moments-host-pictures.d.ts +22 -0
- package/dist/pi/packages/ta-moments/lib/moments-host-pictures.js +167 -0
- package/dist/pi/packages/ta-moments/lib/moments-host.d.ts +4 -84
- package/dist/pi/packages/ta-moments/lib/moments-host.js +13 -426
- package/dist/pi/packages/ta-moments/lib/page.js +3 -3
- package/dist/pi/packages/ta-moments/lib/style.d.ts +1 -1
- package/dist/pi/packages/ta-moments/lib/style.js +1 -1
- package/dist/pi/packages/ta-moments/lib/talk-host-base.d.ts +71 -0
- package/dist/pi/packages/ta-moments/lib/talk-host-base.js +171 -0
- package/dist/pi/packages/ta-moments/lib/talk-host.d.ts +3 -62
- package/dist/pi/packages/ta-moments/lib/talk-host.js +14 -169
- package/dist/pi/packages/ta-moments/package.json +1 -1
- package/dist/pi/packages/ta-moments/web/index.js +648 -144
- package/dist/pi/packages/ta-nearby/extension/index.mjs +9 -0
- package/dist/pi/packages/ta-nearby/host/index.mjs +1073 -1018
- package/dist/pi/packages/ta-nearby/lib/index.js +8 -5
- package/dist/pi/packages/ta-nearby/lib/nearby-home.d.ts +13 -0
- package/dist/pi/packages/ta-nearby/lib/nearby-home.js +91 -0
- package/dist/pi/packages/ta-nearby/lib/nearby-meet-view.d.ts +12 -0
- package/dist/pi/packages/ta-nearby/lib/nearby-meet-view.js +113 -0
- package/dist/pi/packages/ta-nearby/lib/nearby-page.d.ts +6 -0
- package/dist/pi/packages/ta-nearby/lib/nearby-page.js +157 -0
- package/dist/pi/packages/ta-nearby/lib/nearby-service-base.d.ts +161 -0
- package/dist/pi/packages/ta-nearby/lib/nearby-service-base.js +343 -0
- package/dist/pi/packages/ta-nearby/lib/nearby-service-meet.d.ts +41 -0
- package/dist/pi/packages/ta-nearby/lib/nearby-service-meet.js +297 -0
- package/dist/pi/packages/ta-nearby/lib/nearby-service.d.ts +6 -167
- package/dist/pi/packages/ta-nearby/lib/nearby-service.js +38 -638
- package/dist/pi/packages/ta-nearby/lib/nearby-show-view.d.ts +6 -0
- package/dist/pi/packages/ta-nearby/lib/nearby-show-view.js +88 -0
- package/dist/pi/packages/ta-nearby/lib/nearby-spot.d.ts +6 -0
- package/dist/pi/packages/ta-nearby/lib/nearby-spot.js +25 -3
- package/dist/pi/packages/ta-nearby/lib/page.d.ts +27 -20
- package/dist/pi/packages/ta-nearby/lib/page.js +15 -417
- package/dist/pi/packages/ta-nearby/lib/server-texts.d.ts +1 -1
- package/dist/pi/packages/ta-nearby/lib/server-texts.js +9 -1
- package/dist/pi/packages/ta-nearby/lib/style.d.ts +1 -1
- package/dist/pi/packages/ta-nearby/lib/style.js +1 -1
- package/dist/pi/packages/ta-nearby/package.json +1 -1
- package/dist/pi/packages/ta-nearby/web/index.js +370 -362
- package/dist/pi/packages/ta-notify/extension/index.mjs +1 -0
- package/dist/pi/packages/ta-notify/lib/settings.js +1 -0
- package/dist/pi/packages/ta-notify/package.json +1 -1
- package/dist/pi/packages/ta-notify/web/index.js +1 -0
- package/dist/pi/packages/ta-plot/extension/index.mjs +1 -0
- package/dist/pi/packages/ta-plot/package.json +2 -1
- package/dist/pi/packages/ta-recall/extension/index.mjs +1 -0
- package/dist/pi/packages/ta-recall/host/index.mjs +1 -0
- package/dist/pi/packages/ta-recall/lib/settings.js +1 -0
- package/dist/pi/packages/ta-recall/package.json +1 -1
- package/dist/pi/packages/ta-recall/web/index.js +2 -0
- package/dist/pi/packages/ta-rooms/extension/index.mjs +1 -0
- package/dist/pi/packages/ta-rooms/host/index.mjs +497 -492
- package/dist/pi/packages/ta-rooms/lib/double-agents.js +6 -6
- package/dist/pi/packages/ta-rooms/lib/double-grants.js +10 -10
- package/dist/pi/packages/ta-rooms/lib/double-host.js +6 -5
- package/dist/pi/packages/ta-rooms/lib/double-tasks-base.d.ts +55 -0
- package/dist/pi/packages/ta-rooms/lib/double-tasks-base.js +279 -0
- package/dist/pi/packages/ta-rooms/lib/double-tasks.d.ts +3 -45
- package/dist/pi/packages/ta-rooms/lib/double-tasks.js +14 -282
- package/dist/pi/packages/ta-rooms/lib/double-user.js +2 -2
- package/dist/pi/packages/ta-rooms/lib/friend-notices.js +2 -2
- package/dist/pi/packages/ta-rooms/lib/i18n.d.ts +1 -0
- package/dist/pi/packages/ta-rooms/lib/i18n.js +8 -4
- package/dist/pi/packages/ta-rooms/lib/index.js +18 -2
- package/dist/pi/packages/ta-rooms/lib/members-view.js +37 -3
- package/dist/pi/packages/ta-rooms/lib/page.d.ts +36 -1
- package/dist/pi/packages/ta-rooms/lib/page.js +76 -1
- package/dist/pi/packages/ta-rooms/lib/room-view.js +22 -17
- package/dist/pi/packages/ta-rooms/lib/rooms-home.js +1 -0
- package/dist/pi/packages/ta-rooms/lib/style.d.ts +1 -1
- package/dist/pi/packages/ta-rooms/lib/style.js +32 -6
- package/dist/pi/packages/ta-rooms/package.json +1 -1
- package/dist/pi/packages/ta-rooms/web/index.js +223 -38
- package/dist/pi/packages/ta-secrets/README.en.md +22 -0
- package/dist/pi/packages/ta-secrets/README.md +22 -0
- package/dist/pi/packages/ta-secrets/extension/index.mjs +462 -0
- package/dist/pi/packages/ta-secrets/host/index.mjs +1341 -0
- package/dist/pi/packages/ta-secrets/lib/command-prelude.d.ts +36 -0
- package/dist/pi/packages/ta-secrets/lib/command-prelude.js +66 -0
- package/dist/pi/packages/ta-secrets/lib/extension.d.ts +28 -0
- package/dist/pi/packages/ta-secrets/lib/extension.js +156 -0
- package/dist/pi/packages/ta-secrets/lib/host.d.ts +4 -0
- package/dist/pi/packages/ta-secrets/lib/host.js +15 -0
- package/dist/pi/packages/ta-secrets/lib/i18n.d.ts +47 -0
- package/dist/pi/packages/ta-secrets/lib/i18n.js +166 -0
- package/dist/pi/packages/ta-secrets/lib/index.d.ts +8 -0
- package/dist/pi/packages/ta-secrets/lib/index.js +28 -0
- package/dist/pi/packages/ta-secrets/lib/personal-info.d.ts +26 -0
- package/dist/pi/packages/ta-secrets/lib/personal-info.js +108 -0
- package/dist/pi/packages/ta-secrets/lib/proxy-certs.d.ts +40 -0
- package/dist/pi/packages/ta-secrets/lib/proxy-certs.js +200 -0
- package/dist/pi/packages/ta-secrets/lib/proxy-scenario.d.ts +6 -0
- package/dist/pi/packages/ta-secrets/lib/proxy-scenario.js +91 -0
- package/dist/pi/packages/ta-secrets/lib/react.d.ts +8 -0
- package/dist/pi/packages/ta-secrets/lib/react.js +8 -0
- package/dist/pi/packages/ta-secrets/lib/scrubber.d.ts +20 -0
- package/dist/pi/packages/ta-secrets/lib/scrubber.js +70 -0
- package/dist/pi/packages/ta-secrets/lib/secrets-protocol.d.ts +106 -0
- package/dist/pi/packages/ta-secrets/lib/secrets-protocol.js +134 -0
- package/dist/pi/packages/ta-secrets/lib/server-texts.d.ts +14 -0
- package/dist/pi/packages/ta-secrets/lib/server-texts.js +62 -0
- package/dist/pi/packages/ta-secrets/lib/settings.d.ts +4 -0
- package/dist/pi/packages/ta-secrets/lib/settings.js +179 -0
- package/dist/pi/packages/ta-secrets/lib/style.d.ts +4 -0
- package/dist/pi/packages/ta-secrets/lib/style.js +32 -0
- package/dist/pi/packages/ta-secrets/lib/vault-fixture.d.ts +8 -0
- package/dist/pi/packages/ta-secrets/lib/vault-fixture.js +22 -0
- package/dist/pi/packages/ta-secrets/lib/vault-proxy.d.ts +94 -0
- package/dist/pi/packages/ta-secrets/lib/vault-proxy.js +357 -0
- package/dist/pi/packages/ta-secrets/lib/vault-service.d.ts +111 -0
- package/dist/pi/packages/ta-secrets/lib/vault-service.js +429 -0
- package/dist/pi/packages/ta-secrets/lib/vault-store.d.ts +48 -0
- package/dist/pi/packages/ta-secrets/lib/vault-store.js +107 -0
- package/dist/pi/packages/ta-secrets/package.json +67 -0
- package/dist/pi/packages/ta-secrets/web/index.js +579 -0
- package/dist/pi/packages/ta-share/extension/index.mjs +1 -0
- package/dist/pi/packages/ta-share/host/index.mjs +172 -21
- package/dist/pi/packages/ta-share/lib/i18n.d.ts +1 -0
- package/dist/pi/packages/ta-share/lib/i18n.js +4 -0
- package/dist/pi/packages/ta-share/lib/index.js +1 -1
- package/dist/pi/packages/ta-share/lib/share-dialog.js +1 -0
- package/dist/pi/packages/ta-share/lib/share-protocol.d.ts +2 -0
- package/dist/pi/packages/ta-share/lib/share-service.d.ts +11 -1
- package/dist/pi/packages/ta-share/lib/share-service.js +62 -4
- package/dist/pi/packages/ta-share/lib/snapshot.d.ts +8 -2
- package/dist/pi/packages/ta-share/lib/snapshot.js +93 -7
- package/dist/pi/packages/ta-share/lib/style.d.ts +1 -1
- package/dist/pi/packages/ta-share/lib/style.js +1 -1
- package/dist/pi/packages/ta-share/package.json +1 -1
- package/dist/pi/packages/ta-share/web/index.js +7 -2
- package/dist/pi/packages/ta-sync/host/index.mjs +1154 -755
- package/dist/pi/packages/ta-sync/lib/host.js +3 -0
- package/dist/pi/packages/ta-sync/lib/index.js +6 -2
- package/dist/pi/packages/ta-sync/lib/migrate-archive.d.ts +8 -6
- package/dist/pi/packages/ta-sync/lib/migrate-archive.js +24 -28
- package/dist/pi/packages/ta-sync/lib/migrate-i18n.d.ts +10 -0
- package/dist/pi/packages/ta-sync/lib/migrate-i18n.js +40 -0
- package/dist/pi/packages/ta-sync/lib/migrate-paths.d.ts +24 -0
- package/dist/pi/packages/ta-sync/lib/migrate-paths.js +230 -0
- package/dist/pi/packages/ta-sync/lib/migrate-protocol.d.ts +18 -0
- package/dist/pi/packages/ta-sync/lib/migrate-service.d.ts +11 -1
- package/dist/pi/packages/ta-sync/lib/migrate-service.js +28 -1
- package/dist/pi/packages/ta-sync/lib/move-panel.d.ts +9 -1
- package/dist/pi/packages/ta-sync/lib/move-panel.js +69 -5
- package/dist/pi/packages/ta-sync/lib/server-texts.d.ts +1 -0
- package/dist/pi/packages/ta-sync/lib/server-texts.js +9 -0
- package/dist/pi/packages/ta-sync/lib/style.d.ts +1 -1
- package/dist/pi/packages/ta-sync/lib/style.js +8 -1
- package/dist/pi/packages/ta-sync/lib/sync-service-base.d.ts +78 -0
- package/dist/pi/packages/ta-sync/lib/sync-service-base.js +224 -0
- package/dist/pi/packages/ta-sync/lib/sync-service-space.d.ts +36 -0
- package/dist/pi/packages/ta-sync/lib/sync-service-space.js +210 -0
- package/dist/pi/packages/ta-sync/lib/sync-service.d.ts +3 -99
- package/dist/pi/packages/ta-sync/lib/sync-service.js +2 -412
- package/dist/pi/packages/ta-sync/package.json +1 -1
- package/dist/pi/packages/ta-sync/web/index.js +138 -5
- package/dist/pi/packages/ta-sync-cloud/package.json +1 -1
- package/dist/pi/packages/ta-team/extension/index.mjs +1 -0
- package/dist/pi/packages/ta-team/host/index.mjs +1 -0
- package/dist/pi/packages/ta-team/lib/dialogs.d.ts +0 -2
- package/dist/pi/packages/ta-team/lib/dialogs.js +0 -227
- package/dist/pi/packages/ta-team/lib/i18n-ja.d.ts +3 -0
- package/dist/pi/packages/ta-team/lib/i18n-ja.js +211 -0
- package/dist/pi/packages/ta-team/lib/i18n-zh-tw.d.ts +3 -0
- package/dist/pi/packages/ta-team/lib/i18n-zh-tw.js +211 -0
- package/dist/pi/packages/ta-team/lib/i18n-zh.d.ts +3 -0
- package/dist/pi/packages/ta-team/lib/i18n-zh.js +211 -0
- package/dist/pi/packages/ta-team/lib/i18n.d.ts +1 -2
- package/dist/pi/packages/ta-team/lib/i18n.js +6 -624
- package/dist/pi/packages/ta-team/lib/index.js +3 -1
- package/dist/pi/packages/ta-team/lib/join-dialog.d.ts +3 -0
- package/dist/pi/packages/ta-team/lib/join-dialog.js +234 -0
- package/dist/pi/packages/ta-team/lib/members-tab.js +2 -1
- package/dist/pi/packages/ta-team/lib/style.d.ts +1 -1
- package/dist/pi/packages/ta-team/lib/style.js +1 -1
- package/dist/pi/packages/ta-team/package.json +1 -1
- package/dist/pi/packages/ta-team/web/index.js +2095 -2086
- package/dist/pi/packages/ta-usage/README.en.md +6 -0
- package/dist/pi/packages/ta-usage/README.md +6 -0
- package/dist/pi/packages/ta-usage/host/index.mjs +220 -0
- package/dist/pi/packages/ta-usage/lib/host.d.ts +4 -0
- package/dist/pi/packages/ta-usage/lib/host.js +9 -0
- package/dist/pi/packages/ta-usage/lib/i18n.d.ts +30 -0
- package/dist/pi/packages/ta-usage/lib/i18n.js +98 -0
- package/dist/pi/packages/ta-usage/lib/index.d.ts +4 -0
- package/dist/pi/packages/ta-usage/lib/index.js +20 -0
- package/dist/pi/packages/ta-usage/lib/react.d.ts +8 -0
- package/dist/pi/packages/ta-usage/lib/react.js +8 -0
- package/dist/pi/packages/ta-usage/lib/style.d.ts +4 -0
- package/dist/pi/packages/ta-usage/lib/style.js +53 -0
- package/dist/pi/packages/ta-usage/lib/usage-host.d.ts +25 -0
- package/dist/pi/packages/ta-usage/lib/usage-host.js +70 -0
- package/dist/pi/packages/ta-usage/lib/usage-protocol.d.ts +55 -0
- package/dist/pi/packages/ta-usage/lib/usage-protocol.js +7 -0
- package/dist/pi/packages/ta-usage/lib/usage-util.d.ts +18 -0
- package/dist/pi/packages/ta-usage/lib/usage-util.js +159 -0
- package/dist/pi/packages/ta-usage/lib/usage-view.d.ts +9 -0
- package/dist/pi/packages/ta-usage/lib/usage-view.js +91 -0
- package/dist/pi/packages/ta-usage/package.json +61 -0
- package/dist/pi/packages/ta-usage/web/index.js +471 -0
- package/dist/pi/packages/ta-voice/README.en.md +8 -0
- package/dist/pi/packages/ta-voice/README.md +8 -0
- package/dist/pi/packages/ta-voice/host/index.mjs +662 -0
- package/dist/pi/packages/ta-voice/lib/doubao-frames.d.ts +44 -0
- package/dist/pi/packages/ta-voice/lib/doubao-frames.js +116 -0
- package/dist/pi/packages/ta-voice/lib/doubao-realtime.d.ts +35 -0
- package/dist/pi/packages/ta-voice/lib/doubao-realtime.js +172 -0
- package/dist/pi/packages/ta-voice/lib/host.d.ts +20 -0
- package/dist/pi/packages/ta-voice/lib/host.js +120 -0
- package/dist/pi/packages/ta-voice/lib/openai-realtime.d.ts +73 -0
- package/dist/pi/packages/ta-voice/lib/openai-realtime.js +257 -0
- package/dist/pi/packages/ta-voice/lib/realtime-socket.d.ts +23 -0
- package/dist/pi/packages/ta-voice/lib/realtime-socket.js +80 -0
- package/dist/pi/packages/ta-voice/package.json +67 -0
- package/dist/pi/packages/ta-workspace/README.md +1 -1
- package/dist/pi/packages/ta-workspace/README.zh-cn.md +1 -1
- package/dist/pi/packages/ta-workspace/lib/browser-common.d.ts +4 -0
- package/dist/pi/packages/ta-workspace/lib/browser-common.js +1 -0
- package/dist/pi/packages/ta-workspace/lib/browser-pick.d.ts +49 -0
- package/dist/pi/packages/ta-workspace/lib/browser-pick.js +166 -0
- package/dist/pi/packages/ta-workspace/lib/browser-webview.js +16 -1
- package/dist/pi/packages/ta-workspace/lib/i18n-en.d.ts +3 -0
- package/dist/pi/packages/ta-workspace/lib/i18n-en.js +215 -0
- package/dist/pi/packages/ta-workspace/lib/i18n-ja.d.ts +3 -0
- package/dist/pi/packages/ta-workspace/lib/i18n-ja.js +215 -0
- package/dist/pi/packages/ta-workspace/lib/i18n-zh-tw.d.ts +3 -0
- package/dist/pi/packages/ta-workspace/lib/i18n-zh-tw.js +215 -0
- package/dist/pi/packages/ta-workspace/lib/i18n.d.ts +7 -3
- package/dist/pi/packages/ta-workspace/lib/i18n.js +11 -621
- package/dist/pi/packages/ta-workspace/package.json +1 -1
- package/dist/pi/packages/ta-workspace/web/index.js +1464 -765
- package/dist/public/assets/{abnfDiagram-S7VZAUFO-FSEuUCgT.js → abnfDiagram-S7VZAUFO-w8qXXVn-.js} +1 -1
- package/dist/public/assets/{architecture-WOLXFQ4H-Do_DyWCg.js → architecture-WOLXFQ4H-B-FHaYwY.js} +1 -1
- package/dist/public/assets/{architectureDiagram-YGSQEFNW-D-N2qDs4.js → architectureDiagram-YGSQEFNW-DTnoGaaX.js} +1 -1
- package/dist/public/assets/{blockDiagram-APKKGZFW-Ds6DzHNZ.js → blockDiagram-APKKGZFW-CyeBzv-v.js} +1 -1
- package/dist/public/assets/{browser-D2BcOPKG.js → browser-Cb38iiEE.js} +1 -1
- package/dist/public/assets/{browser-KlrZxPbE.js → browser-DXexCqIh.js} +2 -2
- package/dist/public/assets/{c4Diagram-KJ2TOQU5-D5ZdqxrP.js → c4Diagram-KJ2TOQU5-CJJqDqyQ.js} +1 -1
- package/dist/public/assets/{chunk-6MUBBAK2-CWOwhB3b.js → chunk-6MUBBAK2-DbvUMdNm.js} +1 -1
- package/dist/public/assets/{chunk-AXFCVDMN-Dr6p2RGg.js → chunk-AXFCVDMN-D4hlZGtj.js} +1 -1
- package/dist/public/assets/{chunk-BG4553SI-DUCV_pmW.js → chunk-BG4553SI-VNa9Q9On.js} +1 -1
- package/dist/public/assets/{chunk-DQASFODM-Yxd3jIXM.js → chunk-DQASFODM-BtlEbc_V.js} +1 -1
- package/dist/public/assets/{chunk-HFQBQIA3-C24I15MF.js → chunk-HFQBQIA3-CAYSo4CJ.js} +1 -1
- package/dist/public/assets/{chunk-KQLB2F66-Dxk-aejD.js → chunk-KQLB2F66-CyKdg6hW.js} +1 -1
- package/dist/public/assets/{chunk-KS47KZWR-DPyr7gb8.js → chunk-KS47KZWR-BMogCB2r.js} +1 -1
- package/dist/public/assets/{chunk-LEVMRMFU-D_mEFJGR.js → chunk-LEVMRMFU-Y9wr-8qB.js} +1 -1
- package/dist/public/assets/{chunk-M57EVK23-DfMFxQib.js → chunk-M57EVK23-DL3IAQKR.js} +1 -1
- package/dist/public/assets/{chunk-OY52VR5R-O9W83Laa.js → chunk-OY52VR5R-CJBFHdg6.js} +1 -1
- package/dist/public/assets/{chunk-QB3YPZ4I-IdikGcw1.js → chunk-QB3YPZ4I-CyuWKZZv.js} +1 -1
- package/dist/public/assets/{chunk-R3KSYZAL-DLpaFCvz.js → chunk-R3KSYZAL-DxvGhfpm.js} +1 -1
- package/dist/public/assets/{chunk-STOXU5M4-Lx-CZ4Ql.js → chunk-STOXU5M4-Cpdl6bfz.js} +1 -1
- package/dist/public/assets/{chunk-TU62E6Q5-DCnr5NsA.js → chunk-TU62E6Q5-CIxOg6QF.js} +1 -1
- package/dist/public/assets/{chunk-X4PVCEUW-Ct7aUJFY.js → chunk-X4PVCEUW-DCFSCRBh.js} +1 -1
- package/dist/public/assets/{chunk-XXDRQBXY-CQhxfoYw.js → chunk-XXDRQBXY-B2R8Cxf7.js} +1 -1
- package/dist/public/assets/{classDiagram-v2-L25IHNXF-DPSu5qYq.js → classDiagram-v2-L25IHNXF-B7W9HSbj.js} +1 -1
- package/dist/public/assets/{client-C8gi9Fk2.js → client-D75LfyFa.js} +1 -1
- package/dist/public/assets/{common-DrZR0tgm.js → common-CjqTomRQ.js} +1 -1
- package/dist/public/assets/{cose-bilkent-JH36ORCC-CFimsFsN.js → cose-bilkent-JH36ORCC-CXSLFyCH.js} +1 -1
- package/dist/public/assets/cynefin-EF2NZ3EQ-BIcbDns7.js +1 -0
- package/dist/public/assets/{cynefinDiagram-L36ESFBY-CiAWhkVp.js → cynefinDiagram-L36ESFBY-DTv0Kn1r.js} +1 -1
- package/dist/public/assets/{d3-selection-C8RIDfkO.js → d3-selection-g4Hl3_NH.js} +1 -1
- package/dist/public/assets/{dagre-SPEB5RXH-l1nRD1Fx.js → dagre-SPEB5RXH-BujVqk5R.js} +1 -1
- package/dist/public/assets/{diagram-3B7GL73J-ipqtnhoX.js → diagram-3B7GL73J-Ds-VnLzP.js} +1 -1
- package/dist/public/assets/{diagram-DNEMPZML-VpIcHRUP.js → diagram-DNEMPZML-BBoIIK-a.js} +1 -1
- package/dist/public/assets/{diagram-L3MUGCDN-8VdVmcS6.js → diagram-L3MUGCDN-Glgd5N_n.js} +1 -1
- package/dist/public/assets/{diagram-LA4NIPWU-Bej-aiF0.js → diagram-LA4NIPWU-B4EODdUU.js} +1 -1
- package/dist/public/assets/{diagram-MHCOC4E2-D8gW4bVQ.js → diagram-MHCOC4E2-pzDDXO2J.js} +1 -1
- package/dist/public/assets/{diagram-XPFHEONP-BMevAJ1M.js → diagram-XPFHEONP-l--gwSuK.js} +1 -1
- package/dist/public/assets/{dist-DBKJcjvW.js → dist-C0u3lAFR.js} +1 -1
- package/dist/public/assets/{ebnfDiagram-UZSYDL2S-C3HDTOzn.js → ebnfDiagram-UZSYDL2S-BVfPeaVX.js} +1 -1
- package/dist/public/assets/{editor.api-BMWdjwhK.js → editor.api-BMcewI3C.js} +1 -1
- package/dist/public/assets/{elk-XV6XMXQE-XOOPrVin.js → elk-XV6XMXQE-BFJtUnG9.js} +1 -1
- package/dist/public/assets/{erDiagram-EYBAPDEH-Cr-vwx1l.js → erDiagram-EYBAPDEH-BWxMtfIc.js} +1 -1
- package/dist/public/assets/{eventmodeling-K75KTNOO-DbPhpfxn.js → eventmodeling-K75KTNOO-YwYgBgCX.js} +1 -1
- package/dist/public/assets/flowDiagram-MALGAFMO-Dah4--NW.js +1 -0
- package/dist/public/assets/{freemarker2-6h_1-8qB.js → freemarker2-B8HquI7K.js} +1 -1
- package/dist/public/assets/{ganttDiagram-23REXITY-C7kNPXx3.js → ganttDiagram-23REXITY-CBqv7wbi.js} +1 -1
- package/dist/public/assets/gitGraph-VSP46ZUC-BwDfrSZS.js +1 -0
- package/dist/public/assets/{gitGraphDiagram-STJD7YCW-CVnEJEZr.js → gitGraphDiagram-STJD7YCW-BLSf23f_.js} +1 -1
- package/dist/public/assets/{handlebars-F4lp3oLr.js → handlebars-P1qmNq4N.js} +1 -1
- package/dist/public/assets/{html-Dj6f8B_g.js → html-Ceswbytr.js} +1 -1
- package/dist/public/assets/{index-DnNrrk68.js → index-10isUUN4.js} +2 -2
- package/dist/public/assets/info-OHQRW6UA-Ch8aMV1p.js +1 -0
- package/dist/public/assets/{infoDiagram-KBXO4MBG-DcttQWdp.js → infoDiagram-KBXO4MBG-LvOtgUlm.js} +1 -1
- package/dist/public/assets/{ishikawaDiagram-M35NCXHK-BSUYTZf6.js → ishikawaDiagram-M35NCXHK-CwUZOvcm.js} +1 -1
- package/dist/public/assets/{javascript-b_BkOE5Y.js → javascript-B3FXC8qR.js} +1 -1
- package/dist/public/assets/{journeyDiagram-OPLOXDXO-BCfd5-6n.js → journeyDiagram-OPLOXDXO-5j1KtwTt.js} +1 -1
- package/dist/public/assets/{jsonMode-Cq5QJbVZ.js → jsonMode-CrCyxNQI.js} +1 -1
- package/dist/public/assets/{kanban-definition-BZKZHSQY-B3nenaw_.js → kanban-definition-BZKZHSQY-BKAB5id1.js} +1 -1
- package/dist/public/assets/{liquid-CGuZI_Aa.js → liquid-CXZRIgp2.js} +1 -1
- package/dist/public/assets/{mdx-Dt9yTqnf.js → mdx-Dm3uNczM.js} +1 -1
- package/dist/public/assets/{mermaid-parser.core-CquzROwT.js → mermaid-parser.core-C755A-rX.js} +3 -3
- package/dist/public/assets/{mermaid.core-Bx-e_Scq.js → mermaid.core-CQrYmFAR.js} +4 -4
- package/dist/public/assets/{mindmap-definition-I2QAS2VK-DyeewbnH.js → mindmap-definition-I2QAS2VK-DNJQKYbK.js} +1 -1
- package/dist/public/assets/module-9otB6_kX.js +1 -0
- package/dist/public/assets/{module-Cm_mLwAQ.js → module-C3jC5acf.js} +1 -1
- package/dist/public/assets/module-C_MyFORb.js +1 -0
- package/dist/public/assets/module-Cjpl4gva.js +1 -0
- package/dist/public/assets/{module-DUYj4E8T.js → module-D8yH9xCl.js} +1 -1
- package/dist/public/assets/module-DlHjBjOg.js +1 -0
- package/dist/public/assets/module-QsLiJaR6.js +1 -0
- package/dist/public/assets/module-aaW5Ri2L.js +2771 -0
- package/dist/public/assets/module-gSy9fKBo.js +1 -0
- package/dist/public/assets/{monaco-nvIdDTWu.js → monaco-BS7JBNW4.js} +3 -3
- package/dist/public/assets/packet-JDAUHWVQ-LqMrrc60.js +1 -0
- package/dist/public/assets/{pegDiagram-FD4XPPHP-B884_KoR.js → pegDiagram-FD4XPPHP-BzbBCWht.js} +1 -1
- package/dist/public/assets/pie-XZMESJXO-BWzABXQU.js +1 -0
- package/dist/public/assets/{pieDiagram-J4AKIIQI-I40wRwyy.js → pieDiagram-J4AKIIQI-Bf_LDukL.js} +1 -1
- package/dist/public/assets/{python-Djw4wvG9.js → python-jgOUhB-F.js} +1 -1
- package/dist/public/assets/{quadrantDiagram-XTYBLID2-DyNOImfk.js → quadrantDiagram-XTYBLID2-CdMHWnKX.js} +1 -1
- package/dist/public/assets/radar-ABXABTNO-CR4kNiUj.js +1 -0
- package/dist/public/assets/railroad-I3PHUGI6-BAkWtkGC.js +1 -0
- package/dist/public/assets/{railroad-abnf-LNEFI6M7-3G0zWzgf.js → railroad-abnf-LNEFI6M7-DQGYaRbc.js} +1 -1
- package/dist/public/assets/{railroad-ebnf-DWYD2UWJ-B5XRDRWS.js → railroad-ebnf-DWYD2UWJ-D6Ljza0U.js} +1 -1
- package/dist/public/assets/{railroad-peg-JR7BVNR7-rcIioIyH.js → railroad-peg-JR7BVNR7-Du9hL1Gf.js} +1 -1
- package/dist/public/assets/{railroadDiagram-MRQ6NCDL-CDM2ahQM.js → railroadDiagram-MRQ6NCDL-CS_JnlGN.js} +1 -1
- package/dist/public/assets/{razor-CStezNUn.js → razor-BWj90God.js} +1 -1
- package/dist/public/assets/{requirementDiagram-Y7LWUY3S-hbb6WtfM.js → requirementDiagram-Y7LWUY3S-Cq8rRz2y.js} +1 -1
- package/dist/public/assets/{resolver-0zC31mg5.js → resolver-BPuspqws.js} +1 -1
- package/dist/public/assets/{sankeyDiagram-WGJFYUXA-DLV3Aoae.js → sankeyDiagram-WGJFYUXA-aK7jRBVK.js} +1 -1
- package/dist/public/assets/{sequenceDiagram-5NDRBG5M-BWxOV5U9.js → sequenceDiagram-5NDRBG5M-BxcIyc38.js} +1 -1
- package/dist/public/assets/{stateDiagram-v2-FJ4FJNEA-C-TaUPaQ.js → stateDiagram-v2-FJ4FJNEA-Ctletlj4.js} +1 -1
- package/dist/public/assets/{swimlanes-UMQ2AFYF-CJY0BFmc.js → swimlanes-UMQ2AFYF-DaD55xd2.js} +1 -1
- package/dist/public/assets/swimlanesDiagram-OMPLPG4O-CytCT4x3.js +8 -0
- package/dist/public/assets/{timeline-definition-SEUHKTQE-CUfQb8Gv.js → timeline-definition-SEUHKTQE-Ce19CDiJ.js} +1 -1
- package/dist/public/assets/treeView-D4JQ5SDB-DvzNkX4G.js +1 -0
- package/dist/public/assets/treemap-SAJKECNS-BuUeBmMd.js +1 -0
- package/dist/public/assets/{typescript-B7kmi8MF.js → typescript-RgyfxmPQ.js} +1 -1
- package/dist/public/assets/{usecaseDiagram-AFA6YXN4-BKTVAp-G.js → usecaseDiagram-AFA6YXN4-CAVEBKQS.js} +1 -1
- package/dist/public/assets/{vennDiagram-NNMJR3RB-CN1RxNTS.js → vennDiagram-NNMJR3RB-DHyJxlHv.js} +1 -1
- package/dist/public/assets/wardley-7MLQ67FV-DSfdKACG.js +1 -0
- package/dist/public/assets/{wardleyDiagram-S7YFUSEH-JJ6qcpu1.js → wardleyDiagram-S7YFUSEH-C-FCHxR7.js} +1 -1
- package/dist/public/assets/{xml-DVamlHEU.js → xml-DiA1T3iN.js} +1 -1
- package/dist/public/assets/{xychartDiagram-GGNKY7IX-BNakYgUZ.js → xychartDiagram-GGNKY7IX-BlnHU6Gz.js} +1 -1
- package/dist/public/assets/{yaml-BihGeFrM.js → yaml-dnCcfJBR.js} +1 -1
- package/dist/public/ext/index.json +1 -0
- package/dist/public/ext/ta-3d.js +660 -0
- package/dist/public/ext/ta-glance.js +1611 -0
- package/dist/public/ext/ta-plot.js +1320 -0
- package/dist/public/index.html +2 -2
- package/dist/serve/index.mjs +10558 -7361
- package/package.json +45 -39
- package/dist/public/assets/cynefin-EF2NZ3EQ-Dcc0sCHf.js +0 -1
- package/dist/public/assets/flowDiagram-MALGAFMO-CDXqnHAQ.js +0 -1
- package/dist/public/assets/gitGraph-VSP46ZUC-KPsoB6Z1.js +0 -1
- package/dist/public/assets/info-OHQRW6UA-CtM6s0SQ.js +0 -1
- package/dist/public/assets/module-C-ofp7U4.js +0 -1
- package/dist/public/assets/module-DDH-aU6z.js +0 -1
- package/dist/public/assets/module-DRofmFJn.js +0 -1
- package/dist/public/assets/module-MaD4hvv4.js +0 -1
- package/dist/public/assets/module-ZDJutm0b.js +0 -1
- package/dist/public/assets/module-dnDlIzeV.js +0 -2616
- package/dist/public/assets/module-qoBVcE5h.js +0 -1
- package/dist/public/assets/packet-JDAUHWVQ-XKjiwdar.js +0 -1
- package/dist/public/assets/pie-XZMESJXO-MuCMavHL.js +0 -1
- package/dist/public/assets/radar-ABXABTNO-Cq12GHJS.js +0 -1
- package/dist/public/assets/railroad-I3PHUGI6-CfeMswZU.js +0 -1
- package/dist/public/assets/swimlanesDiagram-OMPLPG4O-DdFDl6aK.js +0 -8
- package/dist/public/assets/treeView-D4JQ5SDB-BQ4uUy4s.js +0 -1
- package/dist/public/assets/treemap-SAJKECNS-BFTTkjF9.js +0 -1
- package/dist/public/assets/wardley-7MLQ67FV-BbyzsA8S.js +0 -1
|
@@ -0,0 +1,250 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CallUtil = exports.LOOK_CHARS = void 0;
|
|
4
|
+
const language_1 = require("@celljs/ta-protocol/lib/common/language");
|
|
5
|
+
const message_protocol_1 = require("@celljs/ta-protocol/lib/common/message-protocol");
|
|
6
|
+
const call_protocol_1 = require("./call-protocol");
|
|
7
|
+
/** What a look returns at most, in characters: a front learns a detail, not the whole work. */
|
|
8
|
+
exports.LOOK_CHARS = 1500;
|
|
9
|
+
/** What a line of the work holds at most, as a look reads it. */
|
|
10
|
+
const ENTRY_CHARS = 600;
|
|
11
|
+
/** What the front is told of the last lines of the conversation called as the call begins, at most. */
|
|
12
|
+
const SEED_CHARS = 1200;
|
|
13
|
+
/** What it is told of the role of the conversation called, at most. */
|
|
14
|
+
const ROLE_CHARS = 800;
|
|
15
|
+
/** Without a question, a look returns the last lines of the work. */
|
|
16
|
+
const LAST_ENTRIES = 12;
|
|
17
|
+
/** What news of the work starts with, as the front is told it; and what it answers to say nothing. */
|
|
18
|
+
const NEWS = '[news]';
|
|
19
|
+
const QUIET = '-';
|
|
20
|
+
/** Models that answer fast and cheap, by their names. */
|
|
21
|
+
const FAST = /(mini|flash|haiku|lite|nano|turbo|small|fast|air)\b/i;
|
|
22
|
+
/** The pure part of a call's front (docs/design/ta-call.md): its role, its model, and what it reads of the work. */
|
|
23
|
+
var CallUtil;
|
|
24
|
+
(function (CallUtil) {
|
|
25
|
+
/**
|
|
26
|
+
* The role of the front of call `id`: it talks for the conversation called, as it is (`seed`, its role and how it
|
|
27
|
+
* goes); the work is that conversation's, and the side conversations the front opens.
|
|
28
|
+
*/
|
|
29
|
+
function role(id, target, seed) {
|
|
30
|
+
const work = target.double ? "the user's double, which hands out tasks of its own" : `their conversation${target.cwd ? ` in ${target.cwd}` : ''}`;
|
|
31
|
+
return [
|
|
32
|
+
`${call_protocol_1.CALL_MARK} ${id}`,
|
|
33
|
+
`You are Ta, on a voice call with the user. You only talk: what you write is read aloud at once. The work goes on elsewhere, in ${work}, while you talk.`,
|
|
34
|
+
'- Answer in the language of the user, short, as on the phone: one to three sentences of plain words. No markdown, lists, tables, code, paths, links or cards.',
|
|
35
|
+
'- Chat, tell a poem, sing a song (say its words), answer what you know: do it yourself, never through the work.',
|
|
36
|
+
'- What needs files, commands, code, research or anything the work does: tell the work (into what it does now, or after it); for something apart from it, open a side conversation with side. Then say in a few words that you did. You cannot do it yourself.',
|
|
37
|
+
'- Asked how the work goes or about any detail of it: status, then look with a question for the detail; answer from what they return, never guess.',
|
|
38
|
+
'- When the user wants what the work or a side conversation does stopped: stop.',
|
|
39
|
+
'- To change Ta itself (its settings, the captions of this call, pin a conversation, turn an extension on or off): app_run yourself, at once, then say in a few words it is done.',
|
|
40
|
+
'- When the work waits for the user to decide: read them the question (app_run asks.list), and answer it with what they say (app_run asks.answer); never decide for them.',
|
|
41
|
+
'- What only the screen has (what the user looks at, a page of an extension): app_look, app_go, app_do; to show them where something is, with here: true.',
|
|
42
|
+
'- A message that starts with [sent] went to the work already: acknowledge it in a few words.',
|
|
43
|
+
`- A message that starts with ${NEWS} is news of the work, not the user speaking: when the user should hear it (a result, a failure, a question for them), say it in one short sentence as you would on the phone, the answer first; else answer ${QUIET} alone.`,
|
|
44
|
+
...(seed ? ['', seedText(seed, target.double)] : []),
|
|
45
|
+
].join('\n');
|
|
46
|
+
}
|
|
47
|
+
CallUtil.role = role;
|
|
48
|
+
/** What the front knows of the conversation called as the call begins: its role, its topic, how it goes, its last lines (at most SEED_CHARS). */
|
|
49
|
+
function seedText(seed, double) {
|
|
50
|
+
const lines = ['<called>'];
|
|
51
|
+
if (seed.name) {
|
|
52
|
+
lines.push(`Conversation: ${flat(seed.name).slice(0, 120)}${seed.cwd ? ` (in ${seed.cwd})` : ''}`);
|
|
53
|
+
}
|
|
54
|
+
const role = seed.role && !double ? flat(seed.role).slice(0, ROLE_CHARS) : '';
|
|
55
|
+
if (role) {
|
|
56
|
+
lines.push(`Its role: speak as it would, with its focus. ${role}`);
|
|
57
|
+
}
|
|
58
|
+
lines.push(`Now: ${seed.working ? 'working' : 'idle'}${seed.queued ? `, ${seed.queued} queued` : ''}${seed.waiting ? ', waiting for the user' : ''}.`);
|
|
59
|
+
const recent = [];
|
|
60
|
+
let length = 0;
|
|
61
|
+
const said = seed.entries.filter(entry => entry.role !== 'tool');
|
|
62
|
+
for (let i = said.length - 1; i >= 0; i--) {
|
|
63
|
+
const line = `${said[i].role}: ${said[i].text.slice(0, 300)}`;
|
|
64
|
+
if (length + line.length > SEED_CHARS) {
|
|
65
|
+
break;
|
|
66
|
+
}
|
|
67
|
+
recent.unshift(line);
|
|
68
|
+
length += line.length + 1;
|
|
69
|
+
}
|
|
70
|
+
if (recent.length) {
|
|
71
|
+
lines.push('Its last lines (look for more):', ...recent);
|
|
72
|
+
}
|
|
73
|
+
lines.push('</called>');
|
|
74
|
+
return lines.join('\n');
|
|
75
|
+
}
|
|
76
|
+
CallUtil.seedText = seedText;
|
|
77
|
+
/** What a side conversation is first told: what to do, and the call it comes from. */
|
|
78
|
+
function side(text, from) {
|
|
79
|
+
const about = from ? ` about the conversation "${flat(from).slice(0, 120)}"` : '';
|
|
80
|
+
return `<from_call>Opened from a call with the user${about}, as work apart from it: do it, then say in a few words how it went.</from_call>\n${text}`;
|
|
81
|
+
}
|
|
82
|
+
CallUtil.side = side;
|
|
83
|
+
/** What the double is told when a call opens a side conversation of it: a task, as it starts them. */
|
|
84
|
+
function sideOfDouble(text, title) {
|
|
85
|
+
const named = title ? ` ("${flat(title).slice(0, 80)}")` : '';
|
|
86
|
+
return `The user asked in a call for this as a task of its own${named}: start it with start_task, then go on.\n${text}`;
|
|
87
|
+
}
|
|
88
|
+
CallUtil.sideOfDouble = sideOfDouble;
|
|
89
|
+
/** The id of the call whose front has this role; undefined for another session. */
|
|
90
|
+
function callOf(role) {
|
|
91
|
+
const at = role.indexOf(call_protocol_1.CALL_MARK);
|
|
92
|
+
return at < 0
|
|
93
|
+
? undefined
|
|
94
|
+
: role
|
|
95
|
+
.slice(at + call_protocol_1.CALL_MARK.length)
|
|
96
|
+
.trim()
|
|
97
|
+
.split(/\s/)[0] || undefined;
|
|
98
|
+
}
|
|
99
|
+
CallUtil.callOf = callOf;
|
|
100
|
+
/** The name of a front in the list of conversations, in the language of the call: with the conversation called. */
|
|
101
|
+
function name(language, called) {
|
|
102
|
+
const call = language_1.TaLanguageUtil.pick(language, { 'zh-CN': '通话', 'zh-TW': '通話', 'en-US': 'Call', 'ja-JP': '通話' });
|
|
103
|
+
const other = called ? flat(called).slice(0, 40) : '';
|
|
104
|
+
return other ? `${call} · ${other}` : call;
|
|
105
|
+
}
|
|
106
|
+
CallUtil.name = name;
|
|
107
|
+
/** News of the work, a line each, as the front is told it. */
|
|
108
|
+
function news(lines) {
|
|
109
|
+
return [NEWS, ...lines].join('\n');
|
|
110
|
+
}
|
|
111
|
+
CallUtil.news = news;
|
|
112
|
+
/** What the front said of news, to say aloud; undefined when it chose to say nothing. */
|
|
113
|
+
function toSay(reply) {
|
|
114
|
+
const said = reply === null || reply === void 0 ? void 0 : reply.trim();
|
|
115
|
+
return said && said !== QUIET && !said.startsWith(NEWS) ? said : undefined;
|
|
116
|
+
}
|
|
117
|
+
CallUtil.toSay = toSay;
|
|
118
|
+
/** The news of a session of the work whose run ended. */
|
|
119
|
+
function ended(name, how) {
|
|
120
|
+
var _a;
|
|
121
|
+
if (how.error) {
|
|
122
|
+
return `${name} failed: ${how.error.replace(/\s+/g, ' ').slice(0, 200)}`;
|
|
123
|
+
}
|
|
124
|
+
if (how.aborted) {
|
|
125
|
+
return `${name} was stopped.`;
|
|
126
|
+
}
|
|
127
|
+
const last = (_a = how.last) === null || _a === void 0 ? void 0 : _a.replace(/\s+/g, ' ').trim();
|
|
128
|
+
return last ? `${name} finished. Its last words: ${last.slice(0, 400)}` : `${name} finished.`;
|
|
129
|
+
}
|
|
130
|
+
CallUtil.ended = ended;
|
|
131
|
+
/** The news of a session of the work that waits for the user. */
|
|
132
|
+
function waits(name) {
|
|
133
|
+
return `${name} waits for the user to decide or confirm, on the screen.`;
|
|
134
|
+
}
|
|
135
|
+
CallUtil.waits = waits;
|
|
136
|
+
/** What the front is told of what the user said: as it is, or that it went to the work already. */
|
|
137
|
+
function said(text, sent) {
|
|
138
|
+
return sent ? `[sent] ${text}` : text;
|
|
139
|
+
}
|
|
140
|
+
CallUtil.said = said;
|
|
141
|
+
/**
|
|
142
|
+
* The model of the front: the one chosen, else a fast one of the provider of the conversation's model (mini, flash,
|
|
143
|
+
* haiku…), else that model itself (undefined: pi's default).
|
|
144
|
+
*/
|
|
145
|
+
function model(models, chosen, current) {
|
|
146
|
+
var _a;
|
|
147
|
+
if (chosen && models.includes(chosen)) {
|
|
148
|
+
return chosen;
|
|
149
|
+
}
|
|
150
|
+
const provider = current === null || current === void 0 ? void 0 : current.split('/')[0];
|
|
151
|
+
const fast = models.filter(model => FAST.test(model.split('/').slice(1).join('/')));
|
|
152
|
+
return (_a = fast.find(model => model.split('/')[0] === provider)) !== null && _a !== void 0 ? _a : current;
|
|
153
|
+
}
|
|
154
|
+
CallUtil.model = model;
|
|
155
|
+
/** The lines of a conversation of pi, as a front reads them: what was said, done and answered, each made short. */
|
|
156
|
+
function entries(messages) {
|
|
157
|
+
var _a, _b, _c;
|
|
158
|
+
const lines = [];
|
|
159
|
+
for (const raw of messages) {
|
|
160
|
+
const message = raw;
|
|
161
|
+
const parts = typeof message.content === 'string' ? [{ type: 'text', text: message.content }] : ((_a = message.content) !== null && _a !== void 0 ? _a : []);
|
|
162
|
+
if (message.role === 'user') {
|
|
163
|
+
const text = message_protocol_1.TaMessageContext.strip(texts(parts)).trim();
|
|
164
|
+
if (text) {
|
|
165
|
+
lines.push({ role: 'user', text: short(text) });
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
else if (message.role === 'assistant') {
|
|
169
|
+
const text = texts(parts).trim();
|
|
170
|
+
if (text) {
|
|
171
|
+
lines.push({ role: 'assistant', text: short(text) });
|
|
172
|
+
}
|
|
173
|
+
for (const call of parts.filter(part => part.type === 'toolCall')) {
|
|
174
|
+
lines.push({ role: 'tool', text: short(`${call.name}(${JSON.stringify((_b = call.arguments) !== null && _b !== void 0 ? _b : {})})`) });
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
else if (message.role === 'toolResult') {
|
|
178
|
+
const text = texts(parts).trim();
|
|
179
|
+
lines.push({ role: 'tool', text: short(`${(_c = message.toolName) !== null && _c !== void 0 ? _c : 'tool'} → ${text || '(nothing)'}`) });
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
return lines;
|
|
183
|
+
}
|
|
184
|
+
CallUtil.entries = entries;
|
|
185
|
+
/**
|
|
186
|
+
* What a front gets of the work when it looks: the lines that answer `question` best (most of its words), in
|
|
187
|
+
* the order they came; without a question, the last ones. At most LOOK_CHARS characters.
|
|
188
|
+
*/
|
|
189
|
+
function look(entries, question) {
|
|
190
|
+
const words = terms(question);
|
|
191
|
+
let picked;
|
|
192
|
+
if (!words.length) {
|
|
193
|
+
picked = entries.slice(-LAST_ENTRIES);
|
|
194
|
+
}
|
|
195
|
+
else {
|
|
196
|
+
const scored = entries.map((entry, index) => ({ entry, index, score: score(entry.text, words) })).filter(each => each.score > 0);
|
|
197
|
+
scored.sort((a, b) => b.score - a.score || b.index - a.index);
|
|
198
|
+
picked = scored
|
|
199
|
+
.slice(0, LAST_ENTRIES)
|
|
200
|
+
.sort((a, b) => a.index - b.index)
|
|
201
|
+
.map(each => each.entry);
|
|
202
|
+
}
|
|
203
|
+
const lines = [];
|
|
204
|
+
let length = 0;
|
|
205
|
+
for (const entry of picked) {
|
|
206
|
+
const line = `${entry.role}: ${entry.text}`;
|
|
207
|
+
if (length + line.length > exports.LOOK_CHARS) {
|
|
208
|
+
lines.push('…');
|
|
209
|
+
break;
|
|
210
|
+
}
|
|
211
|
+
lines.push(line);
|
|
212
|
+
length += line.length + 1;
|
|
213
|
+
}
|
|
214
|
+
return lines.join('\n') || 'Nothing about that in the work.';
|
|
215
|
+
}
|
|
216
|
+
CallUtil.look = look;
|
|
217
|
+
/** The words of a question a look matches: words of letters and digits, and pairs of Chinese or Japanese characters. */
|
|
218
|
+
function terms(question) {
|
|
219
|
+
var _a, _b;
|
|
220
|
+
const found = new Set();
|
|
221
|
+
for (const word of (_a = question.toLowerCase().match(/[a-z0-9_.-]{2,}/g)) !== null && _a !== void 0 ? _a : []) {
|
|
222
|
+
found.add(word);
|
|
223
|
+
}
|
|
224
|
+
for (const run of (_b = question.match(/[\u3040-\u30ff\u3400-\u9fff]+/g)) !== null && _b !== void 0 ? _b : []) {
|
|
225
|
+
for (let i = 0; i + 1 < run.length; i++) {
|
|
226
|
+
found.add(run.slice(i, i + 2));
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
return [...found];
|
|
230
|
+
}
|
|
231
|
+
CallUtil.terms = terms;
|
|
232
|
+
function score(text, words) {
|
|
233
|
+
const lower = text.toLowerCase();
|
|
234
|
+
return words.filter(word => lower.includes(word)).length;
|
|
235
|
+
}
|
|
236
|
+
function texts(parts) {
|
|
237
|
+
return parts
|
|
238
|
+
.filter(part => part.type === 'text' && typeof part.text === 'string')
|
|
239
|
+
.map(part => part.text)
|
|
240
|
+
.join('\n');
|
|
241
|
+
}
|
|
242
|
+
function short(text) {
|
|
243
|
+
const line = flat(text);
|
|
244
|
+
return line.length > ENTRY_CHARS ? `${line.slice(0, ENTRY_CHARS)}…` : line;
|
|
245
|
+
}
|
|
246
|
+
function flat(text) {
|
|
247
|
+
return text.replace(/\s+/g, ' ').trim();
|
|
248
|
+
}
|
|
249
|
+
})(CallUtil || (exports.CallUtil = CallUtil = {}));
|
|
250
|
+
//# sourceMappingURL=call-util.js.map
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
interface Pi {
|
|
2
|
+
events: {
|
|
3
|
+
emit(event: string, data: unknown): void;
|
|
4
|
+
};
|
|
5
|
+
on(event: string, handler: (event: never, ctx: never) => unknown): unknown;
|
|
6
|
+
registerTool(tool: never): unknown;
|
|
7
|
+
getActiveTools(): string[];
|
|
8
|
+
getAllTools(): {
|
|
9
|
+
name: string;
|
|
10
|
+
}[];
|
|
11
|
+
setActiveTools(names: string[]): void;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* The pi extension of calls: the front of a call (CALL_MARK) talks, with the tools of a call alone and nothing of the
|
|
15
|
+
* user's (no files, commands, instructions or skills), so it answers at once and cheaply; the work is the
|
|
16
|
+
* conversation's. Other sessions do not have these tools.
|
|
17
|
+
*/
|
|
18
|
+
export default function activate(pi: Pi): void;
|
|
19
|
+
export {};
|
|
20
|
+
//# sourceMappingURL=extension.d.ts.map
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = activate;
|
|
4
|
+
const app_protocol_1 = require("@celljs/ta-protocol/lib/common/app-protocol");
|
|
5
|
+
const ta_extension_host_1 = require("@celljs/ta-protocol/lib/common/ta-extension-host");
|
|
6
|
+
const call_protocol_1 = require("./call-protocol");
|
|
7
|
+
const NO_SERVER = 'Calls need the Ta service: start it with `ta serve`.';
|
|
8
|
+
/**
|
|
9
|
+
* The pi extension of calls: the front of a call (CALL_MARK) talks, with the tools of a call alone and nothing of the
|
|
10
|
+
* user's (no files, commands, instructions or skills), so it answers at once and cheaply; the work is the
|
|
11
|
+
* conversation's. Other sessions do not have these tools.
|
|
12
|
+
*/
|
|
13
|
+
function activate(pi) {
|
|
14
|
+
let reached;
|
|
15
|
+
const reach = () => (reached !== null && reached !== void 0 ? reached : (reached = ta_extension_host_1.TaHostUtil.reach(pi.events, call_protocol_1.NAME).then(answer => { var _a; return ({
|
|
16
|
+
answered: !!answer,
|
|
17
|
+
calls: (_a = answer === null || answer === void 0 ? void 0 : answer.service) === null || _a === void 0 ? void 0 : _a.service,
|
|
18
|
+
}); })));
|
|
19
|
+
const front = (ctx) => ta_extension_host_1.TaHostUtil.marked(ctx.getSystemPrompt(), call_protocol_1.CALL_MARK);
|
|
20
|
+
const ours = (name) => call_protocol_1.CALL_TOOLS.includes(name);
|
|
21
|
+
// What changes Ta itself (ta-app-use): the front does it at once, as it talks.
|
|
22
|
+
const app = (name) => app_protocol_1.TA_APP_TOOLS.includes(name);
|
|
23
|
+
pi.on('before_agent_start', (event, ctx) => {
|
|
24
|
+
if (front(ctx)) {
|
|
25
|
+
const all = new Set(pi.getAllTools().map(tool => tool.name));
|
|
26
|
+
pi.setActiveTools([...call_protocol_1.CALL_TOOLS, ...app_protocol_1.TA_APP_TOOLS].filter(name => all.has(name)));
|
|
27
|
+
event.systemPromptOptions.contextFiles = [];
|
|
28
|
+
event.systemPromptOptions.skills = [];
|
|
29
|
+
return;
|
|
30
|
+
}
|
|
31
|
+
const active = pi.getActiveTools();
|
|
32
|
+
if (active.some(ours)) {
|
|
33
|
+
pi.setActiveTools(active.filter(name => !ours(name)));
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
pi.on('tool_call', (event, ctx) => {
|
|
37
|
+
if (front(ctx) && !ours(event.toolName) && !app(event.toolName)) {
|
|
38
|
+
return { block: true, reason: 'In a call you only talk: tell the work, or open a side conversation.' };
|
|
39
|
+
}
|
|
40
|
+
if (!front(ctx) && ours(event.toolName)) {
|
|
41
|
+
return { block: true, reason: 'Only in a call.' };
|
|
42
|
+
}
|
|
43
|
+
return undefined;
|
|
44
|
+
});
|
|
45
|
+
const tools = [
|
|
46
|
+
{
|
|
47
|
+
name: 'tell',
|
|
48
|
+
label: 'Tell the work',
|
|
49
|
+
description: 'Tells the work (the conversation called) what the user wants done, in their words and complete: it reads nothing of this call. now: into what it does now (to change it); else after it.',
|
|
50
|
+
parameters: {
|
|
51
|
+
type: 'object',
|
|
52
|
+
properties: { text: { type: 'string' }, now: { type: 'boolean' } },
|
|
53
|
+
required: ['text'],
|
|
54
|
+
},
|
|
55
|
+
run: (calls, call, params) => { var _a; return calls.tell(call, String((_a = params.text) !== null && _a !== void 0 ? _a : ''), params.now === true); },
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
name: 'side',
|
|
59
|
+
label: 'Open a side conversation',
|
|
60
|
+
description: 'Opens a side conversation for work apart from what the work does (look something up, try something, a task of its own): in the same directory, with the same role, as the user; it starts on text at once, which must say all it needs (it reads nothing of this call). title: a few words. Its end is news.',
|
|
61
|
+
parameters: {
|
|
62
|
+
type: 'object',
|
|
63
|
+
properties: { text: { type: 'string' }, title: { type: 'string' } },
|
|
64
|
+
required: ['text'],
|
|
65
|
+
},
|
|
66
|
+
run: (calls, call, params) => { var _a; return calls.side(call, String((_a = params.text) !== null && _a !== void 0 ? _a : ''), typeof params.title === 'string' ? params.title : undefined); },
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
name: 'stop',
|
|
70
|
+
label: 'Stop',
|
|
71
|
+
description: 'Stops what the work does now, or what another conversation does (within: its name, as status lists it), when the user wants it stopped.',
|
|
72
|
+
parameters: { type: 'object', properties: { within: { type: 'string' } } },
|
|
73
|
+
run: (calls, call, params) => calls.stop(call, typeof params.within === 'string' ? params.within : undefined),
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
name: 'status',
|
|
77
|
+
label: 'How the work goes',
|
|
78
|
+
description: 'How the work goes now: working or idle, what it said last, and the other tasks that run or wait for the user.',
|
|
79
|
+
parameters: { type: 'object', properties: {} },
|
|
80
|
+
run: (calls, call) => calls.status(call),
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
name: 'look',
|
|
84
|
+
label: 'Look into the work',
|
|
85
|
+
description: 'Looks up a detail of the work: the lines of its conversation (what was said, the tools it ran and what they returned) that answer question best, short; without a question, its last lines. within: another conversation that runs, by its name, as status lists them.',
|
|
86
|
+
parameters: {
|
|
87
|
+
type: 'object',
|
|
88
|
+
properties: { question: { type: 'string' }, within: { type: 'string' } },
|
|
89
|
+
},
|
|
90
|
+
run: (calls, call, params) => { var _a; return calls.look(call, String((_a = params.question) !== null && _a !== void 0 ? _a : ''), typeof params.within === 'string' ? params.within : undefined); },
|
|
91
|
+
},
|
|
92
|
+
];
|
|
93
|
+
for (const tool of tools) {
|
|
94
|
+
pi.registerTool({
|
|
95
|
+
name: tool.name,
|
|
96
|
+
label: tool.label,
|
|
97
|
+
description: tool.description,
|
|
98
|
+
parameters: tool.parameters,
|
|
99
|
+
execute: async (_id, params, _signal, _update, ctx) => {
|
|
100
|
+
const { answered, calls } = await reach();
|
|
101
|
+
if (!calls) {
|
|
102
|
+
throw new Error(answered ? 'Calls did not start in the Ta service; its log says why.' : NO_SERVER);
|
|
103
|
+
}
|
|
104
|
+
const call = calls.callOf(ctx.getSystemPrompt());
|
|
105
|
+
if (!call) {
|
|
106
|
+
throw new Error('Only in a call, and this call is over.');
|
|
107
|
+
}
|
|
108
|
+
const text = await tool.run(calls, call, params !== null && params !== void 0 ? params : {});
|
|
109
|
+
return { content: [{ type: 'text', text }], details: undefined };
|
|
110
|
+
},
|
|
111
|
+
});
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
//# sourceMappingURL=extension.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { TaExtensionHost, TaPackageService } from '@celljs/ta-protocol';
|
|
2
|
+
/**
|
|
3
|
+
* The server side of the package (`pi.host`): the fronts of calls. The page opens a call, says what the user said and
|
|
4
|
+
* closes it (callHost); the tools of a front (extension.ts) reach `service`.
|
|
5
|
+
*/
|
|
6
|
+
export default function activate(host: TaExtensionHost): Promise<TaPackageService>;
|
|
7
|
+
//# sourceMappingURL=host.d.ts.map
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = activate;
|
|
4
|
+
const call_host_1 = require("./call-host");
|
|
5
|
+
/**
|
|
6
|
+
* The server side of the package (`pi.host`): the fronts of calls. The page opens a call, says what the user said and
|
|
7
|
+
* closes it (callHost); the tools of a front (extension.ts) reach `service`.
|
|
8
|
+
*/
|
|
9
|
+
async function activate(host) {
|
|
10
|
+
const calls = new call_host_1.CallHost(host);
|
|
11
|
+
return {
|
|
12
|
+
dispose: () => calls.dispose(),
|
|
13
|
+
open: (target, model) => calls.open(target, model),
|
|
14
|
+
say: (callId, text, sent) => calls.say(callId, text, sent === true),
|
|
15
|
+
next: (callId) => calls.next(callId),
|
|
16
|
+
close: (callId) => calls.close(callId),
|
|
17
|
+
service: calls,
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=host.js.map
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { type TaLanguage } from '@celljs/ta-protocol/lib/common/language';
|
|
2
|
+
import type { Language } from '@celljs/ta-web/lib/browser/extension/web-extension-api';
|
|
3
|
+
declare const EN: {
|
|
4
|
+
settings: string;
|
|
5
|
+
model: string;
|
|
6
|
+
modelHint: string;
|
|
7
|
+
fast: string;
|
|
8
|
+
};
|
|
9
|
+
type Words = typeof EN;
|
|
10
|
+
/** The words of each language of Ta, checked by scripts/check-i18n.ts. */
|
|
11
|
+
export declare const WORDS: Readonly<Record<TaLanguage, Words>>;
|
|
12
|
+
export declare namespace CallWords {
|
|
13
|
+
function of(language: Language): Words;
|
|
14
|
+
}
|
|
15
|
+
export {};
|
|
16
|
+
//# sourceMappingURL=i18n.d.ts.map
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CallWords = exports.WORDS = void 0;
|
|
4
|
+
const language_1 = require("@celljs/ta-protocol/lib/common/language");
|
|
5
|
+
const EN = {
|
|
6
|
+
settings: 'Calls',
|
|
7
|
+
model: 'Model of calls',
|
|
8
|
+
modelHint: 'Who talks with you in a call while the work goes on. A fast one answers at once and costs little; the work keeps its own model.',
|
|
9
|
+
fast: 'A fast one of the same provider',
|
|
10
|
+
};
|
|
11
|
+
const ZH = {
|
|
12
|
+
settings: '通话',
|
|
13
|
+
model: '通话用的模型',
|
|
14
|
+
modelHint: '通话时陪你说话的模型,任务照常在后台跑。用快的模型回应更及时、也更省钱;干活仍用对话自己的模型。',
|
|
15
|
+
fast: '同一提供商里快的那个',
|
|
16
|
+
};
|
|
17
|
+
const ZH_TW = {
|
|
18
|
+
settings: '通話',
|
|
19
|
+
model: '通話用的模型',
|
|
20
|
+
modelHint: '通話時陪你說話的模型,任務照常在後台跑。用快的模型回應更及時、也更省錢;幹活仍用對話自己的模型。',
|
|
21
|
+
fast: '同一供應商裡快的那個',
|
|
22
|
+
};
|
|
23
|
+
const JA = {
|
|
24
|
+
settings: '通話',
|
|
25
|
+
model: '通話のモデル',
|
|
26
|
+
modelHint: '通話中に話し相手になるモデルです。作業は裏で続きます。速いモデルなら即座に応え、コストも抑えられます。作業には会話自身のモデルを使います。',
|
|
27
|
+
fast: '同じプロバイダーの速いモデル',
|
|
28
|
+
};
|
|
29
|
+
/** The words of each language of Ta, checked by scripts/check-i18n.ts. */
|
|
30
|
+
exports.WORDS = { 'zh-CN': ZH, 'zh-TW': ZH_TW, 'en-US': EN, 'ja-JP': JA };
|
|
31
|
+
var CallWords;
|
|
32
|
+
(function (CallWords) {
|
|
33
|
+
function of(language) {
|
|
34
|
+
return language_1.TaLanguageUtil.pick(language, exports.WORDS);
|
|
35
|
+
}
|
|
36
|
+
CallWords.of = of;
|
|
37
|
+
})(CallWords || (exports.CallWords = CallWords = {}));
|
|
38
|
+
//# sourceMappingURL=i18n.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { WebExtensionAPI } from '@celljs/ta-web/lib/browser/extension/web-extension-api';
|
|
2
|
+
/**
|
|
3
|
+
* The page side of calls (docs/design/ta-call.md): a call answers through a front of its own (the host), which talks
|
|
4
|
+
* at once and hands the work to the conversation called. An older app, without partners of calls, calls as before.
|
|
5
|
+
*/
|
|
6
|
+
export default function activate(pi: WebExtensionAPI): () => void;
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = activate;
|
|
4
|
+
const call_protocol_1 = require("./call-protocol");
|
|
5
|
+
const call_util_1 = require("./call-util");
|
|
6
|
+
const i18n_1 = require("./i18n");
|
|
7
|
+
const react_1 = require("./react");
|
|
8
|
+
/** The key of the model chosen for calls in the storage of the package: `''` for a fast one of the same provider. */
|
|
9
|
+
const MODEL = 'model';
|
|
10
|
+
/**
|
|
11
|
+
* The page side of calls (docs/design/ta-call.md): a call answers through a front of its own (the host), which talks
|
|
12
|
+
* at once and hands the work to the conversation called. An older app, without partners of calls, calls as before.
|
|
13
|
+
*/
|
|
14
|
+
function activate(pi) {
|
|
15
|
+
var _a;
|
|
16
|
+
(0, react_1.bind)(pi.React);
|
|
17
|
+
if (!pi.registerCallPartner) {
|
|
18
|
+
return () => undefined;
|
|
19
|
+
}
|
|
20
|
+
pi.registerCallPartner({
|
|
21
|
+
open: async (target) => {
|
|
22
|
+
const model = await modelFor(pi, target.cwd);
|
|
23
|
+
const { callId } = await pi.callHost('open', target, model);
|
|
24
|
+
return {
|
|
25
|
+
say: (text, options) => pi.callHost('say', callId, text, (options === null || options === void 0 ? void 0 : options.sent) === true),
|
|
26
|
+
next: () => pi.callHost('next', callId),
|
|
27
|
+
close: () => void pi.callHost('close', callId).catch(() => undefined),
|
|
28
|
+
};
|
|
29
|
+
},
|
|
30
|
+
});
|
|
31
|
+
const words = () => i18n_1.CallWords.of(pi.ui.language);
|
|
32
|
+
// The conversations of calls fold into one row of the list, to look back at what was said.
|
|
33
|
+
(_a = pi.registerChatIcon) === null || _a === void 0 ? void 0 : _a.call(pi, { icon: chat => (chat.group === call_protocol_1.NAME ? { icon: pi.ui.icons.Phone, folder: words().settings } : undefined) });
|
|
34
|
+
pi.registerSettings({
|
|
35
|
+
title: () => words().settings,
|
|
36
|
+
icon: pi.ui.icons.Phone,
|
|
37
|
+
group: 'ta',
|
|
38
|
+
rows: [{ key: 'model', label: () => words().model, description: () => words().modelHint, stacked: true, render: () => react_1.React.createElement(ModelRow, { pi: pi }) }],
|
|
39
|
+
});
|
|
40
|
+
return () => undefined;
|
|
41
|
+
}
|
|
42
|
+
/** The model of a call's front: the one chosen, else a fast one of the provider of the conversation's model. */
|
|
43
|
+
async function modelFor(pi, cwd) {
|
|
44
|
+
var _a, _b;
|
|
45
|
+
const [chosen, settings] = await Promise.all([pi.storage.get(MODEL), pi.settings.getSettings(cwd).catch(() => undefined)]);
|
|
46
|
+
const current = ((_a = settings === null || settings === void 0 ? void 0 : settings.project.model) !== null && _a !== void 0 ? _a : settings === null || settings === void 0 ? void 0 : settings.user.model);
|
|
47
|
+
return call_util_1.CallUtil.model((_b = settings === null || settings === void 0 ? void 0 : settings.models) !== null && _b !== void 0 ? _b : [], chosen !== null && chosen !== void 0 ? chosen : '', current);
|
|
48
|
+
}
|
|
49
|
+
function ModelRow({ pi }) {
|
|
50
|
+
const [value, setValue] = react_1.React.useState('');
|
|
51
|
+
react_1.React.useEffect(() => {
|
|
52
|
+
void pi.storage.get(MODEL).then(chosen => setValue(chosen !== null && chosen !== void 0 ? chosen : ''));
|
|
53
|
+
}, [pi]);
|
|
54
|
+
const { ModelPicker } = pi.ui;
|
|
55
|
+
return (react_1.React.createElement(ModelPicker, { value: value, defaultLabel: i18n_1.CallWords.of(pi.ui.language).fast, label: i18n_1.CallWords.of(pi.ui.language).model, onChange: next => {
|
|
56
|
+
setValue(next);
|
|
57
|
+
void pi.storage.set(MODEL, next || null);
|
|
58
|
+
} }));
|
|
59
|
+
}
|
|
60
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type * as ReactModule from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* The React of the page, which a web extension cannot import: `activate` binds it before anything
|
|
4
|
+
* renders. The JSX of this package compiles to `React.createElement` (tsconfig.json).
|
|
5
|
+
*/
|
|
6
|
+
export declare let React: typeof ReactModule;
|
|
7
|
+
export declare function bind(react: typeof ReactModule): void;
|
|
8
|
+
//# sourceMappingURL=react.d.ts.map
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@celljs/ta-call",
|
|
3
|
+
"version": "4.17.0",
|
|
4
|
+
"description": "A pi package for Ta: in a call, a front that talks at once, whatever the work does, hands the work to the conversation and looks up any detail of it when asked",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"pi-package"
|
|
7
|
+
],
|
|
8
|
+
"homepage": "https://github.com/cellbang/ta",
|
|
9
|
+
"bugs": {
|
|
10
|
+
"url": "https://github.com/cellbang/ta/issues"
|
|
11
|
+
},
|
|
12
|
+
"repository": {
|
|
13
|
+
"type": "git",
|
|
14
|
+
"url": "https://github.com/cellbang/cell.git"
|
|
15
|
+
},
|
|
16
|
+
"license": "MIT",
|
|
17
|
+
"files": [
|
|
18
|
+
"web",
|
|
19
|
+
"host",
|
|
20
|
+
"extension",
|
|
21
|
+
"!**/*.map"
|
|
22
|
+
],
|
|
23
|
+
"scripts": {
|
|
24
|
+
"build": "tsc -b && bun build web-src/index.tsx --format esm --target browser --outfile web/index.js && bun build web-src/host.ts --format esm --target node --outfile host/index.mjs && bun build web-src/extension.ts --format esm --target node --outfile extension/index.mjs",
|
|
25
|
+
"clean": "rm -rf lib web host extension *.tsbuildinfo",
|
|
26
|
+
"test": "bun test ./lib",
|
|
27
|
+
"watch": "tsc -b -w --preserveWatchOutput"
|
|
28
|
+
},
|
|
29
|
+
"devDependencies": {
|
|
30
|
+
"@celljs/ta-protocol": "workspace:*",
|
|
31
|
+
"@celljs/ta-web": "workspace:*",
|
|
32
|
+
"@types/react": "^19.3.0"
|
|
33
|
+
},
|
|
34
|
+
"publishConfig": {
|
|
35
|
+
"access": "public"
|
|
36
|
+
},
|
|
37
|
+
"pi": {
|
|
38
|
+
"title": {
|
|
39
|
+
"en": "Calls",
|
|
40
|
+
"zh-CN": "通话",
|
|
41
|
+
"zh-TW": "通話",
|
|
42
|
+
"ja-JP": "通話"
|
|
43
|
+
},
|
|
44
|
+
"summary": {
|
|
45
|
+
"en": "Talk with Ta as with a person: it answers at once while the work goes on, chats, reads you a poem, hands the work over and knows any detail of it when you ask.",
|
|
46
|
+
"zh-CN": "像和真人打电话一样和 Ta 说话:干活的时候也随时回应你,能闲聊、念诗,把要做的事交给后台,问到任务的任何细节都答得上来。",
|
|
47
|
+
"zh-TW": "像和真人打電話一樣和 Ta 說話:幹活的時候也隨時回應你,能閒聊、念詩,把要做的事交給後台,問到任務的任何細節都答得上來。",
|
|
48
|
+
"ja-JP": "人と電話するように Ta と話せます。作業中でもすぐに応え、雑談や詩の朗読もでき、作業は裏に任せ、聞かれれば細部まで答えます。"
|
|
49
|
+
},
|
|
50
|
+
"icon": "Phone",
|
|
51
|
+
"web": [
|
|
52
|
+
"./web/index.js"
|
|
53
|
+
],
|
|
54
|
+
"host": "./host/index.mjs",
|
|
55
|
+
"extensions": [
|
|
56
|
+
"./extension/index.mjs"
|
|
57
|
+
],
|
|
58
|
+
"permissions": {
|
|
59
|
+
"host": {
|
|
60
|
+
"*": "models.use"
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|