@celljs/ta 4.11.0 → 4.13.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 +2 -2
- package/README.md +2 -2
- package/dist/cli.mjs +1006 -164
- package/dist/gateway.mjs +161 -2
- package/dist/pi/CHANGELOG.md +15 -0
- package/dist/pi/package.json +1 -1
- package/dist/pi/packages/ta-agents/README.en.md +1 -1
- package/dist/pi/packages/ta-agents/README.md +1 -1
- package/dist/pi/packages/ta-agents/extension/index.mjs +266 -25
- package/dist/pi/packages/ta-agents/lib/acp-protocol.d.ts +7 -2
- package/dist/pi/packages/ta-agents/lib/acp-protocol.js +5 -2
- package/dist/pi/packages/ta-agents/lib/agent-prompt.d.ts +8 -3
- package/dist/pi/packages/ta-agents/lib/agent-prompt.js +12 -4
- package/dist/pi/packages/ta-agents/lib/agent-session.d.ts +72 -2
- package/dist/pi/packages/ta-agents/lib/agent-session.js +183 -18
- package/dist/pi/packages/ta-agents/lib/agent-streamer.js +16 -2
- package/dist/pi/packages/ta-agents/lib/agent-tool.d.ts +2 -0
- package/dist/pi/packages/ta-agents/lib/agent-tool.js +45 -4
- package/dist/pi/packages/ta-agents/lib/agent-turn.d.ts +17 -1
- package/dist/pi/packages/ta-agents/lib/agent-turn.js +51 -3
- package/dist/pi/packages/ta-agents/lib/extension.js +7 -0
- package/dist/pi/packages/ta-agents/lib/texts.d.ts +12 -0
- package/dist/pi/packages/ta-agents/lib/texts.js +12 -0
- package/dist/pi/packages/ta-agents/package.json +1 -1
- package/dist/pi/packages/ta-bots/extension/index.mjs +51 -0
- package/dist/pi/packages/ta-bots/host/index.mjs +157 -0
- package/dist/pi/packages/ta-bots/package.json +7 -2
- package/dist/pi/packages/ta-changes/extension/index.mjs +51 -0
- package/dist/pi/packages/ta-changes/package.json +8 -2
- package/dist/pi/packages/ta-channels/README.en.md +3 -1
- package/dist/pi/packages/ta-channels/README.md +3 -1
- package/dist/pi/packages/ta-channels/extension/index.mjs +55 -2
- package/dist/pi/packages/ta-channels/host/index.mjs +268 -8
- package/dist/pi/packages/ta-channels/lib/channels-model.d.ts +25 -0
- package/dist/pi/packages/ta-channels/lib/channels-util.js +8 -2
- package/dist/pi/packages/ta-channels/lib/i18n.d.ts +1 -0
- package/dist/pi/packages/ta-channels/lib/i18n.js +2 -0
- package/dist/pi/packages/ta-channels/lib/room.d.ts +0 -4
- package/dist/pi/packages/ta-channels/lib/room.js +31 -5
- package/dist/pi/packages/ta-channels/lib/sidebar.js +31 -13
- package/dist/pi/packages/ta-channels/lib/style.d.ts +1 -1
- package/dist/pi/packages/ta-channels/lib/style.js +10 -13
- package/dist/pi/packages/ta-channels/lib/team-view.d.ts +19 -0
- package/dist/pi/packages/ta-channels/lib/team-view.js +45 -0
- package/dist/pi/packages/ta-channels/lib/team.d.ts +20 -4
- package/dist/pi/packages/ta-channels/lib/team.js +87 -6
- package/dist/pi/packages/ta-channels/lib/views.d.ts +12 -0
- package/dist/pi/packages/ta-channels/lib/views.js +19 -0
- package/dist/pi/packages/ta-channels/package.json +26 -2
- package/dist/pi/packages/ta-channels/web/index.js +191 -36
- package/dist/pi/packages/ta-computer-use/package.json +1 -1
- package/dist/pi/packages/ta-cron/README.en.md +2 -2
- package/dist/pi/packages/ta-cron/README.md +2 -2
- package/dist/pi/packages/ta-cron/extension/index.mjs +91 -257
- package/dist/pi/packages/ta-cron/host/index.mjs +9 -0
- package/dist/pi/packages/ta-cron/lib/chat-task.d.ts +16 -15
- package/dist/pi/packages/ta-cron/lib/chat-task.js +45 -36
- package/dist/pi/packages/ta-cron/lib/extension.js +11 -7
- package/dist/pi/packages/ta-cron/lib/i18n.d.ts +5 -7
- package/dist/pi/packages/ta-cron/lib/i18n.js +10 -14
- package/dist/pi/packages/ta-cron/lib/index.js +0 -2
- package/dist/pi/packages/ta-cron/lib/page.d.ts +5 -0
- package/dist/pi/packages/ta-cron/lib/page.js +24 -0
- package/dist/pi/packages/ta-cron/lib/style.d.ts +1 -1
- package/dist/pi/packages/ta-cron/lib/style.js +8 -0
- package/dist/pi/packages/ta-cron/lib/task-change.d.ts +11 -0
- package/dist/pi/packages/ta-cron/lib/task-change.js +43 -0
- package/dist/pi/packages/ta-cron/lib/task-extension.d.ts +3 -0
- package/dist/pi/packages/ta-cron/lib/task-extension.js +2 -0
- package/dist/pi/packages/ta-cron/lib/task-util.d.ts +5 -0
- package/dist/pi/packages/ta-cron/lib/task-util.js +13 -0
- package/dist/pi/packages/ta-cron/lib/tasks-view.js +26 -2
- package/dist/pi/packages/ta-cron/package.json +10 -2
- package/dist/pi/packages/ta-cron/web/index.js +607 -784
- package/dist/pi/packages/ta-extensions/README.en.md +1 -2
- package/dist/pi/packages/ta-extensions/README.md +1 -2
- package/dist/pi/packages/ta-extensions/lib/i18n.d.ts +0 -4
- package/dist/pi/packages/ta-extensions/lib/i18n.js +2 -10
- package/dist/pi/packages/ta-extensions/lib/index.js +0 -2
- package/dist/pi/packages/ta-extensions/package.json +10 -2
- package/dist/pi/packages/ta-extensions/skills/ta-package/SKILL.md +16 -11
- package/dist/pi/packages/ta-extensions/web/index.js +176 -97
- package/dist/pi/packages/ta-games/package.json +8 -2
- package/dist/pi/packages/ta-glance/README.en.md +1 -0
- package/dist/pi/packages/ta-glance/README.md +1 -0
- package/dist/pi/packages/ta-glance/extension/index.mjs +425 -3
- package/dist/pi/packages/ta-glance/lib/card.js +42 -15
- package/dist/pi/packages/ta-glance/lib/extension.d.ts +3 -0
- package/dist/pi/packages/ta-glance/lib/extension.js +10 -0
- package/dist/pi/packages/ta-glance/lib/glance-ask.d.ts +15 -0
- package/dist/pi/packages/ta-glance/lib/glance-ask.js +97 -0
- package/dist/pi/packages/ta-glance/lib/glance-prompt.d.ts +1 -1
- package/dist/pi/packages/ta-glance/lib/glance-prompt.js +3 -3
- package/dist/pi/packages/ta-glance/lib/glance-protocol.d.ts +2 -0
- package/dist/pi/packages/ta-glance/lib/glance-protocol.js +3 -1
- package/dist/pi/packages/ta-glance/lib/glance-spec.d.ts +7 -1
- package/dist/pi/packages/ta-glance/lib/glance-spec.js +45 -9
- package/dist/pi/packages/ta-glance/lib/i18n.d.ts +5 -0
- package/dist/pi/packages/ta-glance/lib/i18n.js +9 -0
- package/dist/pi/packages/ta-glance/lib/index.js +4 -1
- package/dist/pi/packages/ta-glance/lib/style.d.ts +1 -1
- package/dist/pi/packages/ta-glance/lib/style.js +187 -102
- package/dist/pi/packages/ta-glance/package.json +1 -1
- package/dist/pi/packages/ta-glance/web/index.js +272 -124
- package/dist/pi/packages/ta-initiative/README.en.md +66 -0
- package/dist/pi/packages/ta-initiative/README.md +66 -0
- package/dist/pi/packages/ta-initiative/extension/index.mjs +720 -0
- package/dist/pi/packages/ta-initiative/host/index.mjs +1169 -0
- package/dist/pi/packages/ta-initiative/lib/chat-kinds.d.ts +4 -0
- package/dist/pi/packages/ta-initiative/lib/chat-kinds.js +17 -0
- package/dist/pi/packages/ta-initiative/lib/chat-proposals.d.ts +28 -0
- package/dist/pi/packages/ta-initiative/lib/chat-proposals.js +79 -0
- package/dist/pi/packages/ta-initiative/lib/conversation.d.ts +4 -0
- package/dist/pi/packages/ta-initiative/lib/conversation.js +27 -0
- package/dist/pi/packages/ta-initiative/lib/cron-proposals.d.ts +23 -0
- package/dist/pi/packages/ta-initiative/lib/cron-proposals.js +94 -0
- package/dist/pi/packages/ta-initiative/lib/event-proposals.d.ts +13 -0
- package/dist/pi/packages/ta-initiative/lib/event-proposals.js +76 -0
- package/dist/pi/packages/ta-initiative/lib/extension.d.ts +30 -0
- package/dist/pi/packages/ta-initiative/lib/extension.js +238 -0
- package/dist/pi/packages/ta-initiative/lib/host.d.ts +4 -0
- package/dist/pi/packages/ta-initiative/lib/host.js +11 -0
- package/dist/pi/packages/ta-initiative/lib/i18n.d.ts +79 -0
- package/dist/pi/packages/ta-initiative/lib/i18n.js +159 -0
- package/dist/pi/packages/ta-initiative/lib/inbox-util.d.ts +19 -0
- package/dist/pi/packages/ta-initiative/lib/inbox-util.js +45 -0
- package/dist/pi/packages/ta-initiative/lib/inbox.d.ts +23 -0
- package/dist/pi/packages/ta-initiative/lib/inbox.js +142 -0
- package/dist/pi/packages/ta-initiative/lib/index.d.ts +10 -0
- package/dist/pi/packages/ta-initiative/lib/index.js +121 -0
- package/dist/pi/packages/ta-initiative/lib/initiative-protocol.d.ts +320 -0
- package/dist/pi/packages/ta-initiative/lib/initiative-protocol.js +96 -0
- package/dist/pi/packages/ta-initiative/lib/initiative-service.d.ts +37 -0
- package/dist/pi/packages/ta-initiative/lib/initiative-service.js +104 -0
- package/dist/pi/packages/ta-initiative/lib/initiative-store.d.ts +44 -0
- package/dist/pi/packages/ta-initiative/lib/initiative-store.js +112 -0
- package/dist/pi/packages/ta-initiative/lib/level-util.d.ts +22 -0
- package/dist/pi/packages/ta-initiative/lib/level-util.js +86 -0
- package/dist/pi/packages/ta-initiative/lib/material-util.d.ts +34 -0
- package/dist/pi/packages/ta-initiative/lib/material-util.js +155 -0
- package/dist/pi/packages/ta-initiative/lib/notices.d.ts +13 -0
- package/dist/pi/packages/ta-initiative/lib/notices.js +65 -0
- package/dist/pi/packages/ta-initiative/lib/notify-util.d.ts +25 -0
- package/dist/pi/packages/ta-initiative/lib/notify-util.js +60 -0
- package/dist/pi/packages/ta-initiative/lib/pace-util.d.ts +21 -0
- package/dist/pi/packages/ta-initiative/lib/pace-util.js +60 -0
- package/dist/pi/packages/ta-initiative/lib/page-initiative.d.ts +9 -0
- package/dist/pi/packages/ta-initiative/lib/page-initiative.js +40 -0
- package/dist/pi/packages/ta-initiative/lib/proposal-book.d.ts +61 -0
- package/dist/pi/packages/ta-initiative/lib/proposal-book.js +397 -0
- package/dist/pi/packages/ta-initiative/lib/react.d.ts +11 -0
- package/dist/pi/packages/ta-initiative/lib/react.js +16 -0
- package/dist/pi/packages/ta-initiative/lib/review-service.d.ts +32 -0
- package/dist/pi/packages/ta-initiative/lib/review-service.js +155 -0
- package/dist/pi/packages/ta-initiative/lib/server-texts.d.ts +7 -0
- package/dist/pi/packages/ta-initiative/lib/server-texts.js +17 -0
- package/dist/pi/packages/ta-initiative/lib/settings.d.ts +10 -0
- package/dist/pi/packages/ta-initiative/lib/settings.js +226 -0
- package/dist/pi/packages/ta-initiative/lib/style.d.ts +4 -0
- package/dist/pi/packages/ta-initiative/lib/style.js +56 -0
- package/dist/pi/packages/ta-initiative/lib/tool.d.ts +106 -0
- package/dist/pi/packages/ta-initiative/lib/tool.js +98 -0
- package/dist/pi/packages/ta-initiative/package.json +63 -0
- package/dist/pi/packages/ta-initiative/web/index.js +1226 -0
- package/dist/pi/packages/ta-launcher/README.en.md +2 -1
- package/dist/pi/packages/ta-launcher/README.md +2 -1
- package/dist/pi/packages/ta-launcher/lib/i18n.d.ts +2 -0
- package/dist/pi/packages/ta-launcher/lib/i18n.js +4 -0
- package/dist/pi/packages/ta-launcher/lib/launcher-view.js +32 -0
- package/dist/pi/packages/ta-launcher/lib/style.d.ts +1 -1
- package/dist/pi/packages/ta-launcher/lib/style.js +11 -0
- package/dist/pi/packages/ta-launcher/package.json +1 -1
- package/dist/pi/packages/ta-launcher/web/index.js +58 -1
- package/dist/pi/packages/ta-manual/lib/pictures-b.js +29 -0
- package/dist/pi/packages/ta-manual/lib/pictures-c.d.ts +2 -0
- package/dist/pi/packages/ta-manual/lib/pictures-c.js +160 -0
- package/dist/pi/packages/ta-manual/lib/pictures.js +2 -1
- package/dist/pi/packages/ta-manual/lib/topics.d.ts +5 -0
- package/dist/pi/packages/ta-manual/lib/topics.js +155 -9
- package/dist/pi/packages/ta-manual/package.json +1 -1
- package/dist/pi/packages/ta-manual/skills/ta-manual/SKILL.md +54 -8
- package/dist/pi/packages/ta-manual/web/index.js +750 -10
- package/dist/pi/packages/ta-moments/README.en.md +29 -0
- package/dist/pi/packages/ta-moments/README.md +29 -0
- package/dist/pi/packages/ta-moments/extension/index.mjs +1766 -0
- package/dist/pi/packages/ta-moments/host/index.mjs +2394 -0
- package/dist/pi/packages/ta-moments/lib/brief-util.d.ts +30 -0
- package/dist/pi/packages/ta-moments/lib/brief-util.js +92 -0
- package/dist/pi/packages/ta-moments/lib/context.d.ts +18 -0
- package/dist/pi/packages/ta-moments/lib/context.js +35 -0
- package/dist/pi/packages/ta-moments/lib/draft-card.d.ts +6 -0
- package/dist/pi/packages/ta-moments/lib/draft-card.js +60 -0
- package/dist/pi/packages/ta-moments/lib/editor.d.ts +16 -0
- package/dist/pi/packages/ta-moments/lib/editor.js +126 -0
- package/dist/pi/packages/ta-moments/lib/extension.d.ts +24 -0
- package/dist/pi/packages/ta-moments/lib/extension.js +136 -0
- package/dist/pi/packages/ta-moments/lib/friends.d.ts +13 -0
- package/dist/pi/packages/ta-moments/lib/friends.js +27 -0
- package/dist/pi/packages/ta-moments/lib/host.d.ts +4 -0
- package/dist/pi/packages/ta-moments/lib/host.js +11 -0
- package/dist/pi/packages/ta-moments/lib/i18n.d.ts +92 -0
- package/dist/pi/packages/ta-moments/lib/i18n.js +201 -0
- package/dist/pi/packages/ta-moments/lib/image-util.d.ts +18 -0
- package/dist/pi/packages/ta-moments/lib/image-util.js +71 -0
- package/dist/pi/packages/ta-moments/lib/index.d.ts +8 -0
- package/dist/pi/packages/ta-moments/lib/index.js +50 -0
- package/dist/pi/packages/ta-moments/lib/moments-host.d.ts +133 -0
- package/dist/pi/packages/ta-moments/lib/moments-host.js +821 -0
- package/dist/pi/packages/ta-moments/lib/moments-protocol.d.ts +334 -0
- package/dist/pi/packages/ta-moments/lib/moments-protocol.js +99 -0
- package/dist/pi/packages/ta-moments/lib/page.d.ts +7 -0
- package/dist/pi/packages/ta-moments/lib/page.js +307 -0
- package/dist/pi/packages/ta-moments/lib/post-util.d.ts +31 -0
- package/dist/pi/packages/ta-moments/lib/post-util.js +205 -0
- package/dist/pi/packages/ta-moments/lib/server-texts.d.ts +29 -0
- package/dist/pi/packages/ta-moments/lib/server-texts.js +104 -0
- package/dist/pi/packages/ta-moments/lib/store.d.ts +33 -0
- package/dist/pi/packages/ta-moments/lib/store.js +108 -0
- package/dist/pi/packages/ta-moments/lib/style.d.ts +4 -0
- package/dist/pi/packages/ta-moments/lib/style.js +155 -0
- package/dist/pi/packages/ta-moments/lib/talk-host.d.ts +112 -0
- package/dist/pi/packages/ta-moments/lib/talk-host.js +582 -0
- package/dist/pi/packages/ta-moments/lib/talk-util.d.ts +26 -0
- package/dist/pi/packages/ta-moments/lib/talk-util.js +145 -0
- package/dist/pi/packages/ta-moments/lib/tool.d.ts +48 -0
- package/dist/pi/packages/ta-moments/lib/tool.js +56 -0
- package/dist/pi/packages/ta-moments/package.json +61 -0
- package/dist/pi/packages/ta-moments/web/index.js +1987 -0
- package/dist/pi/packages/ta-nearby/README.en.md +33 -0
- package/dist/pi/packages/ta-nearby/README.md +33 -0
- package/dist/pi/packages/ta-nearby/extension/index.mjs +389 -0
- package/dist/pi/packages/ta-nearby/host/index.mjs +1859 -0
- package/dist/pi/packages/ta-nearby/lib/extension.d.ts +27 -0
- package/dist/pi/packages/ta-nearby/lib/extension.js +190 -0
- package/dist/pi/packages/ta-nearby/lib/host.d.ts +7 -0
- package/dist/pi/packages/ta-nearby/lib/host.js +20 -0
- package/dist/pi/packages/ta-nearby/lib/i18n.d.ts +92 -0
- package/dist/pi/packages/ta-nearby/lib/i18n.js +183 -0
- package/dist/pi/packages/ta-nearby/lib/index.d.ts +8 -0
- package/dist/pi/packages/ta-nearby/lib/index.js +38 -0
- package/dist/pi/packages/ta-nearby/lib/nearby-crypto.d.ts +31 -0
- package/dist/pi/packages/ta-nearby/lib/nearby-crypto.js +59 -0
- package/dist/pi/packages/ta-nearby/lib/nearby-meet.d.ts +35 -0
- package/dist/pi/packages/ta-nearby/lib/nearby-meet.js +93 -0
- package/dist/pi/packages/ta-nearby/lib/nearby-net.d.ts +59 -0
- package/dist/pi/packages/ta-nearby/lib/nearby-net.js +253 -0
- package/dist/pi/packages/ta-nearby/lib/nearby-protocol.d.ts +274 -0
- package/dist/pi/packages/ta-nearby/lib/nearby-protocol.js +31 -0
- package/dist/pi/packages/ta-nearby/lib/nearby-service.d.ts +199 -0
- package/dist/pi/packages/ta-nearby/lib/nearby-service.js +1012 -0
- package/dist/pi/packages/ta-nearby/lib/nearby-spot.d.ts +50 -0
- package/dist/pi/packages/ta-nearby/lib/nearby-spot.js +167 -0
- package/dist/pi/packages/ta-nearby/lib/page.d.ts +52 -0
- package/dist/pi/packages/ta-nearby/lib/page.js +588 -0
- package/dist/pi/packages/ta-nearby/lib/react.d.ts +8 -0
- package/dist/pi/packages/ta-nearby/lib/react.js +8 -0
- package/dist/pi/packages/ta-nearby/lib/server-texts.d.ts +45 -0
- package/dist/pi/packages/ta-nearby/lib/server-texts.js +148 -0
- package/dist/pi/packages/ta-nearby/lib/style.d.ts +4 -0
- package/dist/pi/packages/ta-nearby/lib/style.js +92 -0
- package/dist/pi/packages/ta-nearby/package.json +65 -0
- package/dist/pi/packages/ta-nearby/web/index.js +1055 -0
- package/dist/pi/packages/ta-notify/README.en.md +3 -1
- package/dist/pi/packages/ta-notify/README.md +3 -1
- package/dist/pi/packages/ta-notify/extension/index.mjs +64 -0
- package/dist/pi/packages/ta-notify/host/index.mjs +24 -1
- package/dist/pi/packages/ta-notify/lib/extension.d.ts +4 -1
- package/dist/pi/packages/ta-notify/lib/extension.js +20 -1
- package/dist/pi/packages/ta-notify/lib/notify-protocol.d.ts +23 -3
- package/dist/pi/packages/ta-notify/lib/notify-service.d.ts +4 -2
- package/dist/pi/packages/ta-notify/lib/notify-service.js +27 -2
- package/dist/pi/packages/ta-notify/lib/style.d.ts +1 -1
- package/dist/pi/packages/ta-notify/lib/style.js +1 -1
- package/dist/pi/packages/ta-notify/lib/watcher.js +2 -1
- package/dist/pi/packages/ta-notify/package.json +7 -2
- package/dist/pi/packages/ta-notify/web/index.js +3 -2
- package/dist/pi/packages/ta-recall/README.en.md +15 -6
- package/dist/pi/packages/ta-recall/README.md +15 -6
- package/dist/pi/packages/ta-recall/extension/index.mjs +291 -134
- package/dist/pi/packages/ta-recall/host/index.mjs +451 -116
- package/dist/pi/packages/ta-recall/lib/block-util.d.ts +11 -0
- package/dist/pi/packages/ta-recall/lib/block-util.js +43 -0
- package/dist/pi/packages/ta-recall/lib/brief-util.d.ts +25 -0
- package/dist/pi/packages/ta-recall/lib/brief-util.js +38 -1
- package/dist/pi/packages/ta-recall/lib/composer.d.ts +3 -2
- package/dist/pi/packages/ta-recall/lib/composer.js +9 -8
- package/dist/pi/packages/ta-recall/lib/conversations.js +6 -0
- package/dist/pi/packages/ta-recall/lib/extension-util.d.ts +21 -0
- package/dist/pi/packages/ta-recall/lib/extension-util.js +104 -0
- package/dist/pi/packages/ta-recall/lib/extension.d.ts +3 -3
- package/dist/pi/packages/ta-recall/lib/extension.js +35 -26
- package/dist/pi/packages/ta-recall/lib/i18n.d.ts +18 -10
- package/dist/pi/packages/ta-recall/lib/i18n.js +40 -24
- package/dist/pi/packages/ta-recall/lib/index.d.ts +2 -2
- package/dist/pi/packages/ta-recall/lib/index.js +5 -4
- package/dist/pi/packages/ta-recall/lib/keep-card.d.ts +10 -0
- package/dist/pi/packages/ta-recall/lib/keep-card.js +83 -0
- package/dist/pi/packages/ta-recall/lib/keep-util.d.ts +15 -0
- package/dist/pi/packages/ta-recall/lib/keep-util.js +55 -0
- package/dist/pi/packages/ta-recall/lib/recall-protocol.d.ts +92 -18
- package/dist/pi/packages/ta-recall/lib/recall-protocol.js +19 -9
- package/dist/pi/packages/ta-recall/lib/recall-service.d.ts +16 -6
- package/dist/pi/packages/ta-recall/lib/recall-service.js +101 -11
- package/dist/pi/packages/ta-recall/lib/requests-util.d.ts +6 -0
- package/dist/pi/packages/ta-recall/lib/requests-util.js +37 -0
- package/dist/pi/packages/ta-recall/lib/server-texts.d.ts +2 -0
- package/dist/pi/packages/ta-recall/lib/server-texts.js +5 -0
- package/dist/pi/packages/ta-recall/lib/settings.d.ts +1 -1
- package/dist/pi/packages/ta-recall/lib/settings.js +1 -1
- package/dist/pi/packages/ta-recall/lib/style.d.ts +1 -1
- package/dist/pi/packages/ta-recall/lib/style.js +2 -2
- package/dist/pi/packages/ta-recall/lib/tool-line.d.ts +2 -2
- package/dist/pi/packages/ta-recall/lib/tool-line.js +10 -5
- package/dist/pi/packages/ta-recall/lib/tool.d.ts +14 -5
- package/dist/pi/packages/ta-recall/lib/tool.js +29 -17
- package/dist/pi/packages/ta-recall/package.json +13 -5
- package/dist/pi/packages/ta-recall/web/index.js +397 -153
- package/dist/pi/packages/ta-rooms/README.en.md +14 -5
- package/dist/pi/packages/ta-rooms/README.md +14 -5
- package/dist/pi/packages/ta-rooms/extension/index.mjs +526 -0
- package/dist/pi/packages/ta-rooms/host/index.mjs +1734 -0
- package/dist/pi/packages/ta-rooms/lib/agents-view.d.ts +25 -0
- package/dist/pi/packages/ta-rooms/lib/agents-view.js +128 -0
- package/dist/pi/packages/ta-rooms/lib/dialogs.js +5 -0
- package/dist/pi/packages/ta-rooms/lib/double-agents.d.ts +26 -0
- package/dist/pi/packages/ta-rooms/lib/double-agents.js +84 -0
- package/dist/pi/packages/ta-rooms/lib/double-grants.d.ts +22 -0
- package/dist/pi/packages/ta-rooms/lib/double-grants.js +140 -0
- package/dist/pi/packages/ta-rooms/lib/double-host.d.ts +117 -0
- package/dist/pi/packages/ta-rooms/lib/double-host.js +476 -0
- package/dist/pi/packages/ta-rooms/lib/double-i18n.d.ts +105 -0
- package/dist/pi/packages/ta-rooms/lib/double-i18n.js +212 -0
- package/dist/pi/packages/ta-rooms/lib/double-protocol.d.ts +258 -0
- package/dist/pi/packages/ta-rooms/lib/double-protocol.js +128 -0
- package/dist/pi/packages/ta-rooms/lib/double-tasks.d.ts +82 -0
- package/dist/pi/packages/ta-rooms/lib/double-tasks.js +527 -0
- package/dist/pi/packages/ta-rooms/lib/double-user.d.ts +19 -0
- package/dist/pi/packages/ta-rooms/lib/double-user.js +124 -0
- package/dist/pi/packages/ta-rooms/lib/double-util.d.ts +131 -0
- package/dist/pi/packages/ta-rooms/lib/double-util.js +238 -0
- package/dist/pi/packages/ta-rooms/lib/doubles-store.d.ts +48 -0
- package/dist/pi/packages/ta-rooms/lib/doubles-store.js +151 -0
- package/dist/pi/packages/ta-rooms/lib/doubles-view.d.ts +34 -0
- package/dist/pi/packages/ta-rooms/lib/doubles-view.js +228 -0
- package/dist/pi/packages/ta-rooms/lib/extension.d.ts +33 -0
- package/dist/pi/packages/ta-rooms/lib/extension.js +203 -0
- package/dist/pi/packages/ta-rooms/lib/friend-notices.d.ts +12 -0
- package/dist/pi/packages/ta-rooms/lib/friend-notices.js +47 -0
- package/dist/pi/packages/ta-rooms/lib/friends-view.d.ts +20 -0
- package/dist/pi/packages/ta-rooms/lib/friends-view.js +224 -0
- package/dist/pi/packages/ta-rooms/lib/host.d.ts +8 -0
- package/dist/pi/packages/ta-rooms/lib/host.js +25 -0
- package/dist/pi/packages/ta-rooms/lib/i18n.d.ts +27 -2
- package/dist/pi/packages/ta-rooms/lib/i18n.js +68 -18
- package/dist/pi/packages/ta-rooms/lib/index.js +41 -3
- package/dist/pi/packages/ta-rooms/lib/members-view.js +44 -3
- package/dist/pi/packages/ta-rooms/lib/page.d.ts +97 -10
- package/dist/pi/packages/ta-rooms/lib/page.js +223 -45
- package/dist/pi/packages/ta-rooms/lib/room-view.d.ts +2 -4
- package/dist/pi/packages/ta-rooms/lib/room-view.js +57 -35
- package/dist/pi/packages/ta-rooms/lib/rooms-home.d.ts +32 -0
- package/dist/pi/packages/ta-rooms/lib/rooms-home.js +141 -0
- package/dist/pi/packages/ta-rooms/lib/rooms-page.d.ts +8 -2
- package/dist/pi/packages/ta-rooms/lib/rooms-page.js +68 -36
- package/dist/pi/packages/ta-rooms/lib/style.d.ts +1 -1
- package/dist/pi/packages/ta-rooms/lib/style.js +126 -50
- package/dist/pi/packages/ta-rooms/lib/tasks-view.d.ts +41 -0
- package/dist/pi/packages/ta-rooms/lib/tasks-view.js +228 -0
- package/dist/pi/packages/ta-rooms/package.json +19 -4
- package/dist/pi/packages/ta-rooms/web/index.js +2585 -470
- package/dist/pi/packages/ta-share/README.en.md +1 -1
- package/dist/pi/packages/ta-share/README.md +1 -1
- package/dist/pi/packages/ta-share/extension/index.mjs +51 -0
- package/dist/pi/packages/ta-share/lib/i18n.js +6 -6
- package/dist/pi/packages/ta-share/lib/share-dialog.js +1 -1
- package/dist/pi/packages/ta-share/lib/shares-page.js +35 -11
- package/dist/pi/packages/ta-share/lib/style.d.ts +1 -1
- package/dist/pi/packages/ta-share/lib/style.js +14 -10
- package/dist/pi/packages/ta-share/package.json +10 -2
- package/dist/pi/packages/ta-share/web/index.js +56 -31
- package/dist/pi/packages/ta-sync/README.en.md +55 -0
- package/dist/pi/packages/ta-sync/README.md +55 -0
- package/dist/pi/packages/ta-sync/host/index.mjs +3763 -0
- package/dist/pi/packages/ta-sync/lib/host.d.ts +10 -0
- package/dist/pi/packages/ta-sync/lib/host.js +94 -0
- package/dist/pi/packages/ta-sync/lib/i18n.d.ts +98 -0
- package/dist/pi/packages/ta-sync/lib/i18n.js +202 -0
- package/dist/pi/packages/ta-sync/lib/index.d.ts +7 -0
- package/dist/pi/packages/ta-sync/lib/index.js +115 -0
- package/dist/pi/packages/ta-sync/lib/migrate-archive.d.ts +88 -0
- package/dist/pi/packages/ta-sync/lib/migrate-archive.js +439 -0
- package/dist/pi/packages/ta-sync/lib/migrate-frames.d.ts +77 -0
- package/dist/pi/packages/ta-sync/lib/migrate-frames.js +210 -0
- package/dist/pi/packages/ta-sync/lib/migrate-i18n.d.ts +99 -0
- package/dist/pi/packages/ta-sync/lib/migrate-i18n.js +210 -0
- package/dist/pi/packages/ta-sync/lib/migrate-net.d.ts +51 -0
- package/dist/pi/packages/ta-sync/lib/migrate-net.js +170 -0
- package/dist/pi/packages/ta-sync/lib/migrate-protocol.d.ts +126 -0
- package/dist/pi/packages/ta-sync/lib/migrate-protocol.js +43 -0
- package/dist/pi/packages/ta-sync/lib/migrate-service.d.ts +86 -0
- package/dist/pi/packages/ta-sync/lib/migrate-service.js +521 -0
- package/dist/pi/packages/ta-sync/lib/move-panel.d.ts +16 -0
- package/dist/pi/packages/ta-sync/lib/move-panel.js +320 -0
- package/dist/pi/packages/ta-sync/lib/move-store.d.ts +15 -0
- package/dist/pi/packages/ta-sync/lib/move-store.js +42 -0
- package/dist/pi/packages/ta-sync/lib/panel.d.ts +28 -0
- package/dist/pi/packages/ta-sync/lib/panel.js +305 -0
- package/dist/pi/packages/ta-sync/lib/pictures.d.ts +22 -0
- package/dist/pi/packages/ta-sync/lib/pictures.js +92 -0
- package/dist/pi/packages/ta-sync/lib/react.d.ts +11 -0
- package/dist/pi/packages/ta-sync/lib/react.js +16 -0
- package/dist/pi/packages/ta-sync/lib/server-texts.d.ts +29 -0
- package/dist/pi/packages/ta-sync/lib/server-texts.js +111 -0
- package/dist/pi/packages/ta-sync/lib/style.d.ts +4 -0
- package/dist/pi/packages/ta-sync/lib/style.js +108 -0
- package/dist/pi/packages/ta-sync/lib/sync-codec.d.ts +16 -0
- package/dist/pi/packages/ta-sync/lib/sync-codec.js +61 -0
- package/dist/pi/packages/ta-sync/lib/sync-engine.d.ts +57 -0
- package/dist/pi/packages/ta-sync/lib/sync-engine.js +203 -0
- package/dist/pi/packages/ta-sync/lib/sync-folder.d.ts +156 -0
- package/dist/pi/packages/ta-sync/lib/sync-folder.js +385 -0
- package/dist/pi/packages/ta-sync/lib/sync-identity.d.ts +60 -0
- package/dist/pi/packages/ta-sync/lib/sync-identity.js +201 -0
- package/dist/pi/packages/ta-sync/lib/sync-items.d.ts +104 -0
- package/dist/pi/packages/ta-sync/lib/sync-items.js +426 -0
- package/dist/pi/packages/ta-sync/lib/sync-merge.d.ts +42 -0
- package/dist/pi/packages/ta-sync/lib/sync-merge.js +109 -0
- package/dist/pi/packages/ta-sync/lib/sync-protocol.d.ts +134 -0
- package/dist/pi/packages/ta-sync/lib/sync-protocol.js +72 -0
- package/dist/pi/packages/ta-sync/lib/sync-service.d.ts +128 -0
- package/dist/pi/packages/ta-sync/lib/sync-service.js +679 -0
- package/dist/pi/packages/ta-sync/lib/sync-store.d.ts +15 -0
- package/dist/pi/packages/ta-sync/lib/sync-store.js +41 -0
- package/dist/pi/packages/ta-sync/package.json +57 -0
- package/dist/pi/packages/ta-sync/web/index.js +2018 -0
- package/dist/pi/packages/ta-sync-cloud/README.en.md +31 -0
- package/dist/pi/packages/ta-sync-cloud/README.md +31 -0
- package/dist/pi/packages/ta-sync-cloud/host/index.mjs +810 -0
- package/dist/pi/packages/ta-sync-cloud/lib/git-store.d.ts +90 -0
- package/dist/pi/packages/ta-sync-cloud/lib/git-store.js +393 -0
- package/dist/pi/packages/ta-sync-cloud/lib/host.d.ts +13 -0
- package/dist/pi/packages/ta-sync-cloud/lib/host.js +112 -0
- package/dist/pi/packages/ta-sync-cloud/lib/s3-store.d.ts +72 -0
- package/dist/pi/packages/ta-sync-cloud/lib/s3-store.js +206 -0
- package/dist/pi/packages/ta-sync-cloud/lib/store-util.d.ts +17 -0
- package/dist/pi/packages/ta-sync-cloud/lib/store-util.js +69 -0
- package/dist/pi/packages/ta-sync-cloud/lib/webdav-store.d.ts +40 -0
- package/dist/pi/packages/ta-sync-cloud/lib/webdav-store.js +144 -0
- package/dist/pi/packages/ta-sync-cloud/package.json +63 -0
- package/dist/pi/packages/ta-team/README.en.md +28 -0
- package/dist/pi/packages/ta-team/README.md +28 -0
- package/dist/pi/packages/ta-team/extension/index.mjs +264 -0
- package/dist/pi/packages/ta-team/host/index.mjs +2100 -0
- package/dist/pi/packages/ta-team/lib/dialogs.d.ts +13 -0
- package/dist/pi/packages/ta-team/lib/dialogs.js +335 -0
- package/dist/pi/packages/ta-team/lib/extension.d.ts +21 -0
- package/dist/pi/packages/ta-team/lib/extension.js +123 -0
- package/dist/pi/packages/ta-team/lib/host.d.ts +13 -0
- package/dist/pi/packages/ta-team/lib/host.js +45 -0
- package/dist/pi/packages/ta-team/lib/i18n.d.ts +200 -0
- package/dist/pi/packages/ta-team/lib/i18n.js +401 -0
- package/dist/pi/packages/ta-team/lib/index.d.ts +8 -0
- package/dist/pi/packages/ta-team/lib/index.js +67 -0
- package/dist/pi/packages/ta-team/lib/join.d.ts +28 -0
- package/dist/pi/packages/ta-team/lib/join.js +48 -0
- package/dist/pi/packages/ta-team/lib/member-dialog.d.ts +2 -0
- package/dist/pi/packages/ta-team/lib/member-dialog.js +121 -0
- package/dist/pi/packages/ta-team/lib/members-tab.d.ts +11 -0
- package/dist/pi/packages/ta-team/lib/members-tab.js +133 -0
- package/dist/pi/packages/ta-team/lib/page.d.ts +42 -0
- package/dist/pi/packages/ta-team/lib/page.js +142 -0
- package/dist/pi/packages/ta-team/lib/parts.d.ts +39 -0
- package/dist/pi/packages/ta-team/lib/parts.js +47 -0
- package/dist/pi/packages/ta-team/lib/policy.d.ts +37 -0
- package/dist/pi/packages/ta-team/lib/policy.js +215 -0
- package/dist/pi/packages/ta-team/lib/protocol.d.ts +285 -0
- package/dist/pi/packages/ta-team/lib/protocol.js +119 -0
- package/dist/pi/packages/ta-team/lib/react.d.ts +8 -0
- package/dist/pi/packages/ta-team/lib/react.js +8 -0
- package/dist/pi/packages/ta-team/lib/record-tab.d.ts +8 -0
- package/dist/pi/packages/ta-team/lib/record-tab.js +90 -0
- package/dist/pi/packages/ta-team/lib/remote.d.ts +31 -0
- package/dist/pi/packages/ta-team/lib/remote.js +128 -0
- package/dist/pi/packages/ta-team/lib/roles-tab.d.ts +9 -0
- package/dist/pi/packages/ta-team/lib/roles-tab.js +76 -0
- package/dist/pi/packages/ta-team/lib/seal.d.ts +28 -0
- package/dist/pi/packages/ta-team/lib/seal.js +75 -0
- package/dist/pi/packages/ta-team/lib/shared-home.d.ts +23 -0
- package/dist/pi/packages/ta-team/lib/shared-home.js +123 -0
- package/dist/pi/packages/ta-team/lib/style.d.ts +4 -0
- package/dist/pi/packages/ta-team/lib/style.js +99 -0
- package/dist/pi/packages/ta-team/lib/team-admin.d.ts +31 -0
- package/dist/pi/packages/ta-team/lib/team-admin.js +140 -0
- package/dist/pi/packages/ta-team/lib/team-audit.d.ts +35 -0
- package/dist/pi/packages/ta-team/lib/team-audit.js +152 -0
- package/dist/pi/packages/ta-team/lib/team-core.d.ts +58 -0
- package/dist/pi/packages/ta-team/lib/team-core.js +115 -0
- package/dist/pi/packages/ta-team/lib/team-error.d.ts +4 -0
- package/dist/pi/packages/ta-team/lib/team-error.js +8 -0
- package/dist/pi/packages/ta-team/lib/team-expiry.d.ts +15 -0
- package/dist/pi/packages/ta-team/lib/team-expiry.js +67 -0
- package/dist/pi/packages/ta-team/lib/team-files.d.ts +21 -0
- package/dist/pi/packages/ta-team/lib/team-files.js +119 -0
- package/dist/pi/packages/ta-team/lib/team-inbox.d.ts +8 -0
- package/dist/pi/packages/ta-team/lib/team-inbox.js +32 -0
- package/dist/pi/packages/ta-team/lib/team-invites.d.ts +46 -0
- package/dist/pi/packages/ta-team/lib/team-invites.js +204 -0
- package/dist/pi/packages/ta-team/lib/team-page.d.ts +6 -0
- package/dist/pi/packages/ta-team/lib/team-page.js +41 -0
- package/dist/pi/packages/ta-team/lib/team-paths.d.ts +15 -0
- package/dist/pi/packages/ta-team/lib/team-paths.js +70 -0
- package/dist/pi/packages/ta-team/lib/team-people.d.ts +28 -0
- package/dist/pi/packages/ta-team/lib/team-people.js +106 -0
- package/dist/pi/packages/ta-team/lib/team-requests.d.ts +24 -0
- package/dist/pi/packages/ta-team/lib/team-requests.js +126 -0
- package/dist/pi/packages/ta-team/lib/team-runs.d.ts +38 -0
- package/dist/pi/packages/ta-team/lib/team-runs.js +136 -0
- package/dist/pi/packages/ta-team/lib/team-service.d.ts +32 -0
- package/dist/pi/packages/ta-team/lib/team-service.js +58 -0
- package/dist/pi/packages/ta-team/lib/team-shares.d.ts +52 -0
- package/dist/pi/packages/ta-team/lib/team-shares.js +145 -0
- package/dist/pi/packages/ta-team/lib/team-waits.d.ts +8 -0
- package/dist/pi/packages/ta-team/lib/team-waits.js +42 -0
- package/dist/pi/packages/ta-team/lib/team-watch.d.ts +28 -0
- package/dist/pi/packages/ta-team/lib/team-watch.js +136 -0
- package/dist/pi/packages/ta-team/package.json +68 -0
- package/dist/pi/packages/ta-team/web/index.js +2741 -0
- package/dist/pi/packages/ta-workspace/package.json +1 -1
- package/dist/pi/packages/ta-workspace/web/index.js +157 -0
- package/dist/public/assets/{abnfDiagram-S7VZAUFO-D9uU0Tx2.js → abnfDiagram-S7VZAUFO-DJMZKA5d.js} +1 -1
- package/dist/public/assets/{architecture-WOLXFQ4H-f7Nm7EIo.js → architecture-WOLXFQ4H-DwZ8A2Bp.js} +1 -1
- package/dist/public/assets/{architectureDiagram-YGSQEFNW-DSAqlcms.js → architectureDiagram-YGSQEFNW-DPezb7-w.js} +1 -1
- package/dist/public/assets/{blockDiagram-APKKGZFW-C0lPIW9g.js → blockDiagram-APKKGZFW-SrFYBlSp.js} +1 -1
- package/dist/public/assets/{browser-WLpgVYno.js → browser-CljOqDFz.js} +1 -1
- package/dist/public/assets/{c4Diagram-KJ2TOQU5-CDcZ7mJq.js → c4Diagram-KJ2TOQU5-COCMkiJ6.js} +1 -1
- package/dist/public/assets/{chunk-6MUBBAK2-CXPuyqPL.js → chunk-6MUBBAK2-CWRxZCiu.js} +1 -1
- package/dist/public/assets/{chunk-AXFCVDMN-Du6JRX1x.js → chunk-AXFCVDMN-Dgn3RHlx.js} +1 -1
- package/dist/public/assets/{chunk-BG4553SI-D592E55X.js → chunk-BG4553SI-BDnAChfb.js} +1 -1
- package/dist/public/assets/{chunk-DQASFODM-BW2r2SL4.js → chunk-DQASFODM-DSgprMfc.js} +1 -1
- package/dist/public/assets/{chunk-HFQBQIA3-C3yoe54R.js → chunk-HFQBQIA3-ChtjyKjP.js} +1 -1
- package/dist/public/assets/{chunk-KQLB2F66-DF8gfYCy.js → chunk-KQLB2F66-B2o0ufJC.js} +1 -1
- package/dist/public/assets/{chunk-KS47KZWR-C8CRMTv1.js → chunk-KS47KZWR-C4qJvDaX.js} +1 -1
- package/dist/public/assets/{chunk-LEVMRMFU-BDcMKiwj.js → chunk-LEVMRMFU-2jTGUstS.js} +1 -1
- package/dist/public/assets/{chunk-M57EVK23-CKJPBygc.js → chunk-M57EVK23-CKAWW7fj.js} +1 -1
- package/dist/public/assets/{chunk-OY52VR5R-B3ZWH07L.js → chunk-OY52VR5R-B5TUKZAt.js} +1 -1
- package/dist/public/assets/{chunk-QB3YPZ4I-DI-z4UPL.js → chunk-QB3YPZ4I-CyQFTqwG.js} +1 -1
- package/dist/public/assets/{chunk-R3KSYZAL-Bg4-haAc.js → chunk-R3KSYZAL-C6git_yh.js} +1 -1
- package/dist/public/assets/{chunk-STOXU5M4-l_SHib3p.js → chunk-STOXU5M4-AwEqcNnS.js} +1 -1
- package/dist/public/assets/{chunk-TU62E6Q5-BINu9tIm.js → chunk-TU62E6Q5-GKcRDmvw.js} +1 -1
- package/dist/public/assets/{chunk-X4PVCEUW-BQn-mvV5.js → chunk-X4PVCEUW-CMG5EfZ9.js} +1 -1
- package/dist/public/assets/{chunk-XXDRQBXY-uvpAu0Ys.js → chunk-XXDRQBXY-BHd-dKtZ.js} +1 -1
- package/dist/public/assets/{classDiagram-v2-L25IHNXF-BIowooW1.js → classDiagram-v2-L25IHNXF-HaRsBCG9.js} +1 -1
- package/dist/public/assets/{cose-bilkent-JH36ORCC-BTyx1Mh2.js → cose-bilkent-JH36ORCC-BPBTCfj3.js} +1 -1
- package/dist/public/assets/cynefin-EF2NZ3EQ-DyqqRII3.js +1 -0
- package/dist/public/assets/{cynefinDiagram-L36ESFBY-D64EU9I0.js → cynefinDiagram-L36ESFBY-dAmWDtva.js} +1 -1
- package/dist/public/assets/{d3-selection-CN9k6_B9.js → d3-selection-BhemR5ul.js} +1 -1
- package/dist/public/assets/{dagre-SPEB5RXH-FCbz2-Kk.js → dagre-SPEB5RXH-D93g6hNI.js} +1 -1
- package/dist/public/assets/{diagram-3B7GL73J-OhHUSI7j.js → diagram-3B7GL73J-FJBKgG3X.js} +1 -1
- package/dist/public/assets/{diagram-DNEMPZML-Be4xMtp6.js → diagram-DNEMPZML-BP22T976.js} +1 -1
- package/dist/public/assets/{diagram-L3MUGCDN-CmKSs3aG.js → diagram-L3MUGCDN-DcrCJXRt.js} +1 -1
- package/dist/public/assets/{diagram-LA4NIPWU-D1C32rMN.js → diagram-LA4NIPWU-DUgd3PHQ.js} +1 -1
- package/dist/public/assets/{diagram-MHCOC4E2-BjoE6JXs.js → diagram-MHCOC4E2-ejTInqzQ.js} +1 -1
- package/dist/public/assets/{diagram-XPFHEONP-B22k4v8R.js → diagram-XPFHEONP-BLjkgho1.js} +1 -1
- package/dist/public/assets/{dist-DcBP8Cf6.js → dist-C9xqTt0E.js} +1 -1
- package/dist/public/assets/{ebnfDiagram-UZSYDL2S-Tn-K8-X7.js → ebnfDiagram-UZSYDL2S-CB1QQ4_T.js} +1 -1
- package/dist/public/assets/{editor.api-Bz4sjRz_.js → editor.api-lz6I1oVk.js} +1 -1
- package/dist/public/assets/{elk-XV6XMXQE-COnQsWlN.js → elk-XV6XMXQE-CLBx1s2b.js} +1 -1
- package/dist/public/assets/{erDiagram-EYBAPDEH-c53dJilq.js → erDiagram-EYBAPDEH-Dsj6RYi5.js} +1 -1
- package/dist/public/assets/{eventmodeling-K75KTNOO-DaFpPPks.js → eventmodeling-K75KTNOO-smOORsSG.js} +1 -1
- package/dist/public/assets/flowDiagram-MALGAFMO-DFmQPJ7B.js +1 -0
- package/dist/public/assets/{freemarker2-BLxfRHsw.js → freemarker2-DrLPw7Mc.js} +1 -1
- package/dist/public/assets/{ganttDiagram-23REXITY-Md-SavIS.js → ganttDiagram-23REXITY-BV9WK0rK.js} +1 -1
- package/dist/public/assets/gitGraph-VSP46ZUC-ybrJCK6u.js +1 -0
- package/dist/public/assets/{gitGraphDiagram-STJD7YCW-CMSwTghO.js → gitGraphDiagram-STJD7YCW-CsSpSQ0T.js} +1 -1
- package/dist/public/assets/{handlebars-sNpu01kP.js → handlebars-CLx5-csF.js} +1 -1
- package/dist/public/assets/{html-C_tKd-uP.js → html-C9LmGm46.js} +1 -1
- package/dist/public/assets/{index-Bn86rI4n.js → index-CLWW0mVu.js} +2 -2
- package/dist/public/assets/info-OHQRW6UA-n41_wZE4.js +1 -0
- package/dist/public/assets/{infoDiagram-KBXO4MBG-CwgNj-7i.js → infoDiagram-KBXO4MBG-wm5AnXDz.js} +1 -1
- package/dist/public/assets/{ishikawaDiagram-M35NCXHK-BSlzQNMN.js → ishikawaDiagram-M35NCXHK-BLUBDeS3.js} +1 -1
- package/dist/public/assets/{javascript-l3qKw0L-.js → javascript-C4S1eQb7.js} +1 -1
- package/dist/public/assets/{journeyDiagram-OPLOXDXO-B09LPEnF.js → journeyDiagram-OPLOXDXO-DXc7-I_g.js} +1 -1
- package/dist/public/assets/{jsonMode-5SQQn1EX.js → jsonMode-lLJKR2M6.js} +1 -1
- package/dist/public/assets/{kanban-definition-BZKZHSQY-BiW4aJ29.js → kanban-definition-BZKZHSQY-D5Ra4L_5.js} +1 -1
- package/dist/public/assets/{liquid-BGyTIIUt.js → liquid-DRlm-XZd.js} +1 -1
- package/dist/public/assets/{mdx-8tGjz4em.js → mdx-CzIqeqPy.js} +1 -1
- package/dist/public/assets/{mermaid-parser.core-CctN5b0z.js → mermaid-parser.core-BIPB1BgS.js} +3 -3
- package/dist/public/assets/{mermaid.core-7ERSdZ4-.js → mermaid.core-DxBlQ6oF.js} +4 -4
- package/dist/public/assets/{mindmap-definition-I2QAS2VK-D-GOUwW1.js → mindmap-definition-I2QAS2VK-BdupvuYr.js} +1 -1
- package/dist/public/assets/module-BPxWyxwR.js +2362 -0
- package/dist/public/assets/module-C_MSCGQC.js +1 -0
- package/dist/public/assets/{monaco-B_9hlk78.js → monaco-ChpJIYsY.js} +3 -3
- package/dist/public/assets/packet-JDAUHWVQ-BjrqMgis.js +1 -0
- package/dist/public/assets/{pegDiagram-FD4XPPHP-Dmy1fWB3.js → pegDiagram-FD4XPPHP-C_GF7Fng.js} +1 -1
- package/dist/public/assets/pie-XZMESJXO-CJSA88kr.js +1 -0
- package/dist/public/assets/{pieDiagram-J4AKIIQI-CXFHLYTg.js → pieDiagram-J4AKIIQI-WlpNP-IM.js} +1 -1
- package/dist/public/assets/{python-e-JK0s5M.js → python-BJgFCfc8.js} +1 -1
- package/dist/public/assets/{quadrantDiagram-XTYBLID2-RQvEpGWO.js → quadrantDiagram-XTYBLID2-CkCL5rJY.js} +1 -1
- package/dist/public/assets/radar-ABXABTNO-4nLUXAkG.js +1 -0
- package/dist/public/assets/railroad-I3PHUGI6-BD2LqZSr.js +1 -0
- package/dist/public/assets/{railroad-abnf-LNEFI6M7-CDOSPZwX.js → railroad-abnf-LNEFI6M7-DZZKUytl.js} +1 -1
- package/dist/public/assets/{railroad-ebnf-DWYD2UWJ-BTrNQ0DX.js → railroad-ebnf-DWYD2UWJ-CS7KsJdb.js} +1 -1
- package/dist/public/assets/{railroad-peg-JR7BVNR7-B7NtVofS.js → railroad-peg-JR7BVNR7-CiukTZVd.js} +1 -1
- package/dist/public/assets/{railroadDiagram-MRQ6NCDL-DsDrT0Jf.js → railroadDiagram-MRQ6NCDL-BS0R_H3-.js} +1 -1
- package/dist/public/assets/{razor-DtSPwumi.js → razor-jcBIjr45.js} +1 -1
- package/dist/public/assets/{requirementDiagram-Y7LWUY3S-BQh0hFuA.js → requirementDiagram-Y7LWUY3S-C0_T9jgl.js} +1 -1
- package/dist/public/assets/{sankeyDiagram-WGJFYUXA-BUXNAQEF.js → sankeyDiagram-WGJFYUXA-DF15sUfS.js} +1 -1
- package/dist/public/assets/{sequenceDiagram-5NDRBG5M-05f-N5V_.js → sequenceDiagram-5NDRBG5M-7AkTLleX.js} +1 -1
- package/dist/public/assets/{stateDiagram-v2-FJ4FJNEA-D6V1fGWV.js → stateDiagram-v2-FJ4FJNEA-CU3i-U9q.js} +1 -1
- package/dist/public/assets/{swimlanes-UMQ2AFYF-DWhlPvKs.js → swimlanes-UMQ2AFYF-CR-ieLeo.js} +1 -1
- package/dist/public/assets/swimlanesDiagram-OMPLPG4O-COK2pFDF.js +8 -0
- package/dist/public/assets/{timeline-definition-SEUHKTQE-CMdocOui.js → timeline-definition-SEUHKTQE-DeM0Uekm.js} +1 -1
- package/dist/public/assets/treeView-D4JQ5SDB-BL13z_2J.js +1 -0
- package/dist/public/assets/treemap-SAJKECNS-Lx2qjQpO.js +1 -0
- package/dist/public/assets/{typescript-65jNyipU.js → typescript-B7zp7QPf.js} +1 -1
- package/dist/public/assets/{usecaseDiagram-AFA6YXN4-BQTHUX1f.js → usecaseDiagram-AFA6YXN4-D6rDIgdU.js} +1 -1
- package/dist/public/assets/{vennDiagram-NNMJR3RB-BULkVTfA.js → vennDiagram-NNMJR3RB-CncVDcMl.js} +1 -1
- package/dist/public/assets/wardley-7MLQ67FV-B4j5rilS.js +1 -0
- package/dist/public/assets/{wardleyDiagram-S7YFUSEH-Cek6l8lz.js → wardleyDiagram-S7YFUSEH-DKPAMfTE.js} +1 -1
- package/dist/public/assets/{xml-DWBejfu-.js → xml-BJIgLD52.js} +1 -1
- package/dist/public/assets/{xychartDiagram-GGNKY7IX-ujnZQTWA.js → xychartDiagram-GGNKY7IX-DmmXGebm.js} +1 -1
- package/dist/public/assets/{yaml-CwRCT7q1.js → yaml-Dxb2gmP5.js} +1 -1
- package/dist/public/index.html +1 -1
- package/dist/serve/index.mjs +7767 -3392
- package/package.json +37 -31
- package/dist/pi/packages/ta-cron/lib/composer.d.ts +0 -11
- package/dist/pi/packages/ta-cron/lib/composer.js +0 -58
- package/dist/pi/packages/ta-extensions/lib/composer.d.ts +0 -17
- package/dist/pi/packages/ta-extensions/lib/composer.js +0 -84
- package/dist/pi/packages/ta-recall/lib/skill-card.d.ts +0 -9
- package/dist/pi/packages/ta-recall/lib/skill-card.js +0 -51
- package/dist/pi/packages/ta-recall/lib/skill-util.d.ts +0 -19
- package/dist/pi/packages/ta-recall/lib/skill-util.js +0 -110
- package/dist/public/assets/cynefin-EF2NZ3EQ-Dg54eFzZ.js +0 -1
- package/dist/public/assets/flowDiagram-MALGAFMO-V5qkYWIO.js +0 -1
- package/dist/public/assets/gitGraph-VSP46ZUC-1q8ldRXU.js +0 -1
- package/dist/public/assets/info-OHQRW6UA-Crere6sx.js +0 -1
- package/dist/public/assets/module-DEqsdd00.js +0 -1
- package/dist/public/assets/module-TWc52XwT.js +0 -2244
- package/dist/public/assets/packet-JDAUHWVQ-qMf5LkHT.js +0 -1
- package/dist/public/assets/pie-XZMESJXO-BjqLn4qm.js +0 -1
- package/dist/public/assets/radar-ABXABTNO-DWO6t_4C.js +0 -1
- package/dist/public/assets/railroad-I3PHUGI6-D1XOJPWy.js +0 -1
- package/dist/public/assets/swimlanesDiagram-OMPLPG4O-CRn5uHsY.js +0 -8
- package/dist/public/assets/treeView-D4JQ5SDB-D09wHNzT.js +0 -1
- package/dist/public/assets/treemap-SAJKECNS-ChxAT7Fq.js +0 -1
- package/dist/public/assets/wardley-7MLQ67FV-DfSjKzbJ.js +0 -1
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DoubleWordsUtil = void 0;
|
|
4
|
+
exports.dt = dt;
|
|
5
|
+
const page_1 = require("./page");
|
|
6
|
+
const EN = {
|
|
7
|
+
doubleOf: "{name}'s double",
|
|
8
|
+
myDouble: 'Your double',
|
|
9
|
+
doubleTag: 'Double',
|
|
10
|
+
mentionLabel: 'Ask a double',
|
|
11
|
+
mentionDetail: 'Ask their double',
|
|
12
|
+
answersHere: 'Your double answers here',
|
|
13
|
+
answersHint: 'When someone asks it with @, your double answers in this room. It only chats and reads the room, unless you let it do more for someone.',
|
|
14
|
+
permissions: 'Let the double work for them',
|
|
15
|
+
grantTitle: 'Let your double work for {name}',
|
|
16
|
+
grantLead: 'When {name} asks your double in a room, it may also do this on your computer:',
|
|
17
|
+
files: 'Read and change files',
|
|
18
|
+
filesHint: 'Only inside the directory below.',
|
|
19
|
+
commands: 'Run commands',
|
|
20
|
+
commandsHint: 'In that directory, though a command can reach beyond it: only for someone you trust.',
|
|
21
|
+
directory: 'Directory',
|
|
22
|
+
pick: 'Choose',
|
|
23
|
+
duration: 'For',
|
|
24
|
+
hours1: '1 hour',
|
|
25
|
+
hours24: '1 day',
|
|
26
|
+
hours168: '7 days',
|
|
27
|
+
allow: 'Allow',
|
|
28
|
+
cancel: 'Cancel',
|
|
29
|
+
refuse: 'Refuse',
|
|
30
|
+
later: 'Later',
|
|
31
|
+
grantNote: 'You can take it back at any time, and all your double does for them is logged.',
|
|
32
|
+
asksTitle: 'Your double asks',
|
|
33
|
+
askLine: '{name} in “{title}”: {reason}',
|
|
34
|
+
askLead: '{name} asked your double for something in “{title}”:',
|
|
35
|
+
review: 'Review',
|
|
36
|
+
askWants: 'For it, your double needs to {what} on your computer.',
|
|
37
|
+
wantsFiles: 'read and change files',
|
|
38
|
+
wantsCommands: 'run commands',
|
|
39
|
+
may: 'Your double may {what} · {left} left',
|
|
40
|
+
mayFiles: 'files',
|
|
41
|
+
mayCommands: 'commands',
|
|
42
|
+
left: '{n} h',
|
|
43
|
+
leftMinutes: '{n} min',
|
|
44
|
+
leftDays: '{n} d',
|
|
45
|
+
revoke: 'Take back',
|
|
46
|
+
revokeAll: 'Stop all for {name}',
|
|
47
|
+
revokeAllTitle: 'Stop all your double does for {name}?',
|
|
48
|
+
revokeAllHint: 'The permissions and the asks of {name} go, and what your double does for them now stops.',
|
|
49
|
+
stop: 'Stop',
|
|
50
|
+
logTitle: 'What your double did',
|
|
51
|
+
logEmpty: 'Nothing yet',
|
|
52
|
+
logEmptyHint: 'What your double does for others in rooms is listed here',
|
|
53
|
+
asked: '{name} asked',
|
|
54
|
+
answered: 'Answered',
|
|
55
|
+
failed: 'Failed',
|
|
56
|
+
limited: 'Skipped: too many this hour',
|
|
57
|
+
tools: '{n} tool calls',
|
|
58
|
+
clearLog: 'Clear',
|
|
59
|
+
grants: 'Permissions',
|
|
60
|
+
noGrants: 'Your double only chats for others',
|
|
61
|
+
log: 'What your double did',
|
|
62
|
+
noPermission: 'Not yet set',
|
|
63
|
+
oldServer: 'Update Ta on the computer to use doubles in rooms.',
|
|
64
|
+
agentTag: 'Agent',
|
|
65
|
+
myAgent: 'Your agent',
|
|
66
|
+
agentOf: "{name}'s agent",
|
|
67
|
+
agentsTitle: 'Agents',
|
|
68
|
+
inviteAgent: 'Invite an agent',
|
|
69
|
+
inviteAgentLine: 'One of your agents helps in the room',
|
|
70
|
+
pickAgentTitle: 'Invite an agent to “{title}”',
|
|
71
|
+
pickAgentLead: 'Anyone in the room asks it with @. When you ask, it works for you as usual, with its tools in its directory; when others ask, it only chats, as your double, unless you let it do more for them.',
|
|
72
|
+
noAgents: 'No agents yet',
|
|
73
|
+
noAgentsHint: 'Make one in the side bar of your double first.',
|
|
74
|
+
inRoom: 'In the room',
|
|
75
|
+
joining: 'Joining…',
|
|
76
|
+
joiningRoom: '{name} is joining the room…',
|
|
77
|
+
inviteFailed: 'Could not invite {name}: {error}',
|
|
78
|
+
dismiss: 'Ask to leave',
|
|
79
|
+
dismissTitle: 'Ask {name} to leave “{title}”?',
|
|
80
|
+
dismissHint: 'It says goodbye in the room and answers nothing there any more.',
|
|
81
|
+
tryAlone: 'Invite one of your agents: you can try the room on your own.',
|
|
82
|
+
agentAsked: '{name} asked {agent}',
|
|
83
|
+
taskTag: 'Task',
|
|
84
|
+
taskSent: 'Handed',
|
|
85
|
+
taskQueued: 'Queued',
|
|
86
|
+
taskRunning: 'Working on it',
|
|
87
|
+
taskPermission: 'Waiting for a permission',
|
|
88
|
+
taskDone: 'Done',
|
|
89
|
+
taskFailed: 'Not done',
|
|
90
|
+
taskStopped: 'Stopped',
|
|
91
|
+
taskDeclined: 'Not taken',
|
|
92
|
+
taskFor: 'For {name}: {text}',
|
|
93
|
+
taskTo: "{name}'s double: {text}",
|
|
94
|
+
taskNeedsYou: 'Your double asks you to allow it',
|
|
95
|
+
taskWaitsFor: 'Waiting for {name} to allow it',
|
|
96
|
+
stopTask: 'Stop the task',
|
|
97
|
+
cancelTask: 'Call it off',
|
|
98
|
+
openTaskRoom: 'Open the room',
|
|
99
|
+
forgetTask: 'Delete',
|
|
100
|
+
forgetTaskHint: 'Only the entry goes: what was said in the room stays.',
|
|
101
|
+
taskResult: "A task for {name}'s double",
|
|
102
|
+
taskLog: '{name} handed a task',
|
|
103
|
+
};
|
|
104
|
+
const ZH = {
|
|
105
|
+
doubleOf: '{name}的分身',
|
|
106
|
+
myDouble: '我的分身',
|
|
107
|
+
doubleTag: '分身',
|
|
108
|
+
mentionLabel: '问分身',
|
|
109
|
+
mentionDetail: '问 TA 的分身',
|
|
110
|
+
answersHere: '我的分身在这里回答',
|
|
111
|
+
answersHint: '有人 @ 你的分身时,它会在这个房间里回答。默认只能聊天和读房间里的内容,你允许后才能替某人做更多事。',
|
|
112
|
+
permissions: '授权分身替 TA 做事',
|
|
113
|
+
grantTitle: '让分身替{name}做事',
|
|
114
|
+
grantLead: '{name}在房间里问你的分身时,它还可以在你的电脑上:',
|
|
115
|
+
files: '读写文件',
|
|
116
|
+
filesHint: '只限下面这个目录。',
|
|
117
|
+
commands: '运行命令',
|
|
118
|
+
commandsHint: '在这个目录里运行,但命令本身能碰到目录之外:只给信任的人。',
|
|
119
|
+
directory: '目录',
|
|
120
|
+
pick: '选择',
|
|
121
|
+
duration: '有效期',
|
|
122
|
+
hours1: '1 小时',
|
|
123
|
+
hours24: '1 天',
|
|
124
|
+
hours168: '7 天',
|
|
125
|
+
allow: '允许',
|
|
126
|
+
cancel: '取消',
|
|
127
|
+
refuse: '拒绝',
|
|
128
|
+
later: '稍后',
|
|
129
|
+
grantNote: '可以随时收回;分身替对方做的每件事都有记录。',
|
|
130
|
+
asksTitle: '分身请你授权',
|
|
131
|
+
askLine: '{name}在「{title}」里:{reason}',
|
|
132
|
+
askLead: '{name}在「{title}」里请你的分身帮忙:',
|
|
133
|
+
review: '处理',
|
|
134
|
+
askWants: '分身需要在你的电脑上{what}。',
|
|
135
|
+
wantsFiles: '读写文件',
|
|
136
|
+
wantsCommands: '运行命令',
|
|
137
|
+
may: '分身可以{what} · 还剩 {left}',
|
|
138
|
+
mayFiles: '读写文件',
|
|
139
|
+
mayCommands: '运行命令',
|
|
140
|
+
left: '{n} 小时',
|
|
141
|
+
leftMinutes: '{n} 分钟',
|
|
142
|
+
leftDays: '{n} 天',
|
|
143
|
+
revoke: '收回',
|
|
144
|
+
revokeAll: '停掉{name}的全部授权',
|
|
145
|
+
revokeAllTitle: '停掉分身为{name}做的一切?',
|
|
146
|
+
revokeAllHint: '{name}的授权和待处理的请求都会删除,分身正在替 TA 做的事也会停下。',
|
|
147
|
+
stop: '停掉',
|
|
148
|
+
logTitle: '分身记录',
|
|
149
|
+
logEmpty: '还没有记录',
|
|
150
|
+
logEmptyHint: '分身在房间里替别人做的事会列在这里',
|
|
151
|
+
asked: '{name}问',
|
|
152
|
+
answered: '已回答',
|
|
153
|
+
failed: '失败',
|
|
154
|
+
limited: '跳过:这一小时回答太多',
|
|
155
|
+
tools: '用了 {n} 次工具',
|
|
156
|
+
clearLog: '清空',
|
|
157
|
+
grants: '授权',
|
|
158
|
+
noGrants: '分身只替别人聊天',
|
|
159
|
+
log: '分身记录',
|
|
160
|
+
noPermission: '还没有授权',
|
|
161
|
+
oldServer: '请先更新电脑上的 Ta,再在房间里使用分身。',
|
|
162
|
+
agentTag: '智能体',
|
|
163
|
+
myAgent: '我的智能体',
|
|
164
|
+
agentOf: '{name}的智能体',
|
|
165
|
+
agentsTitle: '智能体',
|
|
166
|
+
inviteAgent: '邀请智能体',
|
|
167
|
+
inviteAgentLine: '让你的智能体在房间里帮忙',
|
|
168
|
+
pickAgentTitle: '邀请智能体进「{title}」',
|
|
169
|
+
pickAgentLead: '房间里的人 @ 它就能找它帮忙。你自己问它时,它像平常一样在自己的目录里用工具做事;别人问它时,和分身一样只能聊天,除非你授权。',
|
|
170
|
+
noAgents: '还没有智能体',
|
|
171
|
+
noAgentsHint: '先在分身侧栏新建一个智能体。',
|
|
172
|
+
inRoom: '已在房间里',
|
|
173
|
+
joining: '正在加入…',
|
|
174
|
+
joiningRoom: '{name}正在加入房间…',
|
|
175
|
+
inviteFailed: '没能邀请{name}:{error}',
|
|
176
|
+
dismiss: '请出房间',
|
|
177
|
+
dismissTitle: '让{name}离开「{title}」?',
|
|
178
|
+
dismissHint: '它会在房间里道别,之后不再回答这里的问题。',
|
|
179
|
+
tryAlone: '邀请一个你的智能体进来,一个人也能试试房间。',
|
|
180
|
+
agentAsked: '{name}问{agent}',
|
|
181
|
+
taskTag: '任务',
|
|
182
|
+
taskSent: '已交出',
|
|
183
|
+
taskQueued: '排队中',
|
|
184
|
+
taskRunning: '进行中',
|
|
185
|
+
taskPermission: '等待授权',
|
|
186
|
+
taskDone: '已完成',
|
|
187
|
+
taskFailed: '没能完成',
|
|
188
|
+
taskStopped: '已停止',
|
|
189
|
+
taskDeclined: '没有接受',
|
|
190
|
+
taskFor: '替{name}:{text}',
|
|
191
|
+
taskTo: '交给{name}的分身:{text}',
|
|
192
|
+
taskNeedsYou: '分身在等你授权',
|
|
193
|
+
taskWaitsFor: '等{name}授权',
|
|
194
|
+
stopTask: '停止任务',
|
|
195
|
+
cancelTask: '取消任务',
|
|
196
|
+
openTaskRoom: '打开房间',
|
|
197
|
+
forgetTask: '删除',
|
|
198
|
+
forgetTaskHint: '只删除这条记录,房间里说过的话还在。',
|
|
199
|
+
taskResult: '交给{name}的分身的任务',
|
|
200
|
+
taskLog: '{name}交来任务',
|
|
201
|
+
};
|
|
202
|
+
var DoubleWordsUtil;
|
|
203
|
+
(function (DoubleWordsUtil) {
|
|
204
|
+
function of(language) {
|
|
205
|
+
return language === 'zh-CN' ? ZH : EN;
|
|
206
|
+
}
|
|
207
|
+
DoubleWordsUtil.of = of;
|
|
208
|
+
})(DoubleWordsUtil || (exports.DoubleWordsUtil = DoubleWordsUtil = {}));
|
|
209
|
+
function dt(key, values = {}) {
|
|
210
|
+
return DoubleWordsUtil.of(page_1.pi.ui.language)[key].replace(/\{(\w+)\}/g, (whole, name) => (name in values ? String(values[name]) : whole));
|
|
211
|
+
}
|
|
212
|
+
//# sourceMappingURL=double-i18n.js.map
|
|
@@ -0,0 +1,258 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The doubles of rooms (docs/design/ta-link.md 4): in a room, one asks the double of another member, and that member's Ta
|
|
3
|
+
* answers it, in a session of its own that speaks with others: by default it only chats and reads and sets the shared
|
|
4
|
+
* state of the room; it works on the computer of its user only for whom the user let it, what, where and till when.
|
|
5
|
+
* What the server side of the package (double-host.ts), its pi extension (extension.ts) and its web extension share.
|
|
6
|
+
*/
|
|
7
|
+
/** The name of the package: its data, its host. */
|
|
8
|
+
export declare const NAME = "@celljs/ta-rooms";
|
|
9
|
+
/** In the role of a double in a room: its pi extension knows the session by it. */
|
|
10
|
+
export declare const ROOM_DOUBLE_MARK = "[ta-rooms:double]";
|
|
11
|
+
/** The package of the agents of Ta: a member invites them to rooms. */
|
|
12
|
+
export declare const CHANNELS = "@celljs/ta-channels";
|
|
13
|
+
/** An agent as ta-channels lists it to other packages (its host's `listAgents`), what the rooms read of it. */
|
|
14
|
+
export interface TeamAgent {
|
|
15
|
+
id: string;
|
|
16
|
+
name: string;
|
|
17
|
+
role: string;
|
|
18
|
+
cwd?: string;
|
|
19
|
+
/** Which of the faces of Ta it has (`ui.Face`). */
|
|
20
|
+
face?: number;
|
|
21
|
+
/** Ta made it for a team of its own: not one to invite. */
|
|
22
|
+
temporary?: boolean;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* An agent of a member's Ta in a room (docs/design/ta-link.md 5): the member invited it, and its Ta answers for it what
|
|
26
|
+
* the room asks it with @. Listed in the state of the room under {@link RoomAgentsUtil.key} of that member, which only the
|
|
27
|
+
* member writes.
|
|
28
|
+
*/
|
|
29
|
+
export interface RoomAgent {
|
|
30
|
+
id: string;
|
|
31
|
+
name: string;
|
|
32
|
+
/** What it does, short. */
|
|
33
|
+
role?: string;
|
|
34
|
+
/** Its face, as the user's Ta draws it (`ui.Face`). */
|
|
35
|
+
face?: number;
|
|
36
|
+
}
|
|
37
|
+
/** An agent in a room, with the member whose it is. */
|
|
38
|
+
export interface RoomAgentIn extends RoomAgent {
|
|
39
|
+
member: string;
|
|
40
|
+
}
|
|
41
|
+
export declare const ROOM_AGENTS_KEY = "agents:";
|
|
42
|
+
export declare namespace RoomAgentsUtil {
|
|
43
|
+
function key(member: string): string;
|
|
44
|
+
/** How a line asks an agent of a member (RelayChatLine.to). */
|
|
45
|
+
function address(member: string, agent: string): string;
|
|
46
|
+
/** The agents a member listed, if the value is a list and that member wrote it. */
|
|
47
|
+
function list(member: string, value: unknown, by: string): RoomAgent[];
|
|
48
|
+
/** The agents of a room, by its state under ROOM_AGENTS_KEY. */
|
|
49
|
+
function of(state: Record<string, {
|
|
50
|
+
value: unknown;
|
|
51
|
+
by: string;
|
|
52
|
+
}>): RoomAgentIn[];
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* How a task handed to a double goes (docs/design/ta-link.md 6), as the Ta doing it says: waiting its turn, at work,
|
|
56
|
+
* waiting for its user to let it do what it needs, and how it ended.
|
|
57
|
+
*/
|
|
58
|
+
export type RoomTaskStatus = 'queued' | 'running' | 'permission' | 'done' | 'failed' | 'stopped' | 'declined';
|
|
59
|
+
/** A task in the state of a room, under {@link RoomTasksUtil.key} of the member doing it: the id is that of its line. */
|
|
60
|
+
export interface RoomTaskState {
|
|
61
|
+
status: RoomTaskStatus;
|
|
62
|
+
at: number;
|
|
63
|
+
/** A few words: what it does now, why it stopped. */
|
|
64
|
+
detail?: string;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Which of the user's computers answers a line that asks their double, while they share one identity (TaIdentity.shared):
|
|
68
|
+
* `answering:<member>`, the lines taken of late, each by the computer that took it, set on its version: the first wins.
|
|
69
|
+
*/
|
|
70
|
+
export declare const ROOM_ANSWERING_KEY = "answering:";
|
|
71
|
+
/** A line one of the user's computers took to answer (ROOM_ANSWERING_KEY). */
|
|
72
|
+
export interface RoomAnswering {
|
|
73
|
+
re: string;
|
|
74
|
+
device: string;
|
|
75
|
+
at: number;
|
|
76
|
+
}
|
|
77
|
+
export declare const ROOM_TASKS_KEY = "tasks:";
|
|
78
|
+
/** The tasks a member handed and called off, by the ids of their lines: `cancel:<member>`, which that member writes. */
|
|
79
|
+
export declare const ROOM_CANCEL_KEY = "cancel:";
|
|
80
|
+
/** Tasks a member lists in a room at most, and calls off. */
|
|
81
|
+
export declare const ROOM_TASKS_SHOWN = 30;
|
|
82
|
+
export declare namespace RoomTasksUtil {
|
|
83
|
+
function key(member: string): string;
|
|
84
|
+
function cancelKey(member: string): string;
|
|
85
|
+
function ended(status: RoomTaskStatus | 'sent'): boolean;
|
|
86
|
+
/** The tasks a member says how they go, if the value is theirs and well formed. */
|
|
87
|
+
function of(member: string, value: unknown, by: string): Record<string, RoomTaskState>;
|
|
88
|
+
/** The ids of the tasks a member called off, if the value is theirs. */
|
|
89
|
+
function cancelled(member: string, value: unknown, by: string): string[];
|
|
90
|
+
}
|
|
91
|
+
/** A task someone handed the user's double, as its Ta keeps it: the id is that of the line that handed it. */
|
|
92
|
+
export interface RoomTaskRecord {
|
|
93
|
+
id: string;
|
|
94
|
+
room: string;
|
|
95
|
+
title: string;
|
|
96
|
+
/** Who handed it: the identity of their Ta, their member id in the room, their name. */
|
|
97
|
+
friend: string;
|
|
98
|
+
member: string;
|
|
99
|
+
name: string;
|
|
100
|
+
text: string;
|
|
101
|
+
status: RoomTaskStatus;
|
|
102
|
+
detail?: string;
|
|
103
|
+
at: number;
|
|
104
|
+
endedAt?: number;
|
|
105
|
+
/** What the double answered last, cut short. */
|
|
106
|
+
answer?: string;
|
|
107
|
+
}
|
|
108
|
+
/** A task the user's double handed the double of another (`hand_task`), as the user's Ta keeps it. */
|
|
109
|
+
export interface RoomHandedTask {
|
|
110
|
+
id: string;
|
|
111
|
+
room: string;
|
|
112
|
+
title: string;
|
|
113
|
+
/** The member whose double does it, the identity of their Ta, and their name. */
|
|
114
|
+
to: string;
|
|
115
|
+
friend: string;
|
|
116
|
+
toName: string;
|
|
117
|
+
text: string;
|
|
118
|
+
/** The conversation that handed it (its session file): told there when it ends. */
|
|
119
|
+
origin?: string;
|
|
120
|
+
/** `sent` till their Ta says it took it. */
|
|
121
|
+
status: RoomTaskStatus | 'sent';
|
|
122
|
+
detail?: string;
|
|
123
|
+
at: number;
|
|
124
|
+
endedAt?: number;
|
|
125
|
+
answer?: string;
|
|
126
|
+
/** The conversation that handed it was told how it ended. */
|
|
127
|
+
told?: boolean;
|
|
128
|
+
}
|
|
129
|
+
/** The message that tells the conversation that handed a task how it ended: `details` is the task. */
|
|
130
|
+
export declare const TASK_MESSAGE_TYPE = "ta-rooms:task";
|
|
131
|
+
/**
|
|
132
|
+
* What a double may do for another person, each given on its own: the files of a directory (read, change, search),
|
|
133
|
+
* commands run in it (which reach beyond it). Chatting and the shared state of the room need nothing.
|
|
134
|
+
*/
|
|
135
|
+
export type RoomCapability = 'files' | 'commands';
|
|
136
|
+
export declare const ROOM_CAPABILITIES: readonly RoomCapability[];
|
|
137
|
+
/** What the user let a double do for someone: given by the user alone, in a dialog, never by a model. */
|
|
138
|
+
export interface RoomGrant {
|
|
139
|
+
id: string;
|
|
140
|
+
/** The identity of the Ta of the one it is for (TaRoomMember.id). */
|
|
141
|
+
friend: string;
|
|
142
|
+
/** Its name when given. */
|
|
143
|
+
name: string;
|
|
144
|
+
capability: RoomCapability;
|
|
145
|
+
/** The directory, a path of this computer. */
|
|
146
|
+
cwd: string;
|
|
147
|
+
grantedAt: number;
|
|
148
|
+
expiresAt: number;
|
|
149
|
+
}
|
|
150
|
+
/** A double asked its user for a permission, for someone who asked it something: for the user to answer. */
|
|
151
|
+
export interface RoomPermissionAsk {
|
|
152
|
+
id: string;
|
|
153
|
+
room: string;
|
|
154
|
+
title: string;
|
|
155
|
+
friend: string;
|
|
156
|
+
name: string;
|
|
157
|
+
capability: RoomCapability;
|
|
158
|
+
/** Why, in the double's words. */
|
|
159
|
+
reason: string;
|
|
160
|
+
at: number;
|
|
161
|
+
}
|
|
162
|
+
/** One thing a double did for another person: kept, for the user to look at. */
|
|
163
|
+
export interface RoomLogEntry {
|
|
164
|
+
id: string;
|
|
165
|
+
at: number;
|
|
166
|
+
room: string;
|
|
167
|
+
title: string;
|
|
168
|
+
/** Who asked: the identity of their Ta, their name, from a browser. */
|
|
169
|
+
friend: string;
|
|
170
|
+
name: string;
|
|
171
|
+
guest?: boolean;
|
|
172
|
+
/** What they asked, cut short. */
|
|
173
|
+
asked: string;
|
|
174
|
+
/** What the double answered, cut short; empty when it did not. */
|
|
175
|
+
answer: string;
|
|
176
|
+
/** The tools it used, by name, as often as it did. */
|
|
177
|
+
tools: string[];
|
|
178
|
+
/** What it was let do then. */
|
|
179
|
+
capabilities: RoomCapability[];
|
|
180
|
+
/** How it went: answered, failed, or left out (too many in the hour, its user turned it off for the room). */
|
|
181
|
+
outcome: 'answered' | 'failed' | 'limited';
|
|
182
|
+
error?: string;
|
|
183
|
+
/** An agent of the user answered, not the double: its name. */
|
|
184
|
+
agent?: string;
|
|
185
|
+
/** The user asked it, in the room: not for another. */
|
|
186
|
+
own?: boolean;
|
|
187
|
+
/** A task someone handed the double, not a question. */
|
|
188
|
+
task?: boolean;
|
|
189
|
+
}
|
|
190
|
+
/** What the doubles keep, in the data of the package (pi.storage of the page). */
|
|
191
|
+
export declare namespace DoubleKeys {
|
|
192
|
+
/** Rooms where the user's double does not answer, by id: `{ [room]: true }`. */
|
|
193
|
+
const QUIET = "doubles.quiet";
|
|
194
|
+
const GRANTS = "doubles.grants";
|
|
195
|
+
const ASKS = "doubles.asks";
|
|
196
|
+
const LOG = "doubles.log";
|
|
197
|
+
/** The session files of the doubles' sessions, by the key of the session (DoubleUtil.sessionKey). */
|
|
198
|
+
const SESSIONS = "doubles.sessions";
|
|
199
|
+
/** When the last line each room's double looked at was said, by room id: what came later is new. */
|
|
200
|
+
const READ = "doubles.read";
|
|
201
|
+
/** The tasks others handed the user's double (RoomTaskRecord), and those it handed others (RoomHandedTask). */
|
|
202
|
+
const TASKS = "doubles.tasks";
|
|
203
|
+
const HANDED = "doubles.handed";
|
|
204
|
+
/** This computer, among the user's computers that share the identity: who took a line (ROOM_ANSWERING_KEY). Never synced. */
|
|
205
|
+
const DEVICE = "doubles.device";
|
|
206
|
+
}
|
|
207
|
+
/** What the page asks of the host (`pi.callHost('doubles', request)`): the user's word, in a dialog of the page. */
|
|
208
|
+
export type DoubleRequest = {
|
|
209
|
+
kind: 'quiet';
|
|
210
|
+
room: string;
|
|
211
|
+
quiet: boolean;
|
|
212
|
+
} | {
|
|
213
|
+
kind: 'grant';
|
|
214
|
+
friend: string;
|
|
215
|
+
name: string;
|
|
216
|
+
capabilities: RoomCapability[];
|
|
217
|
+
cwd: string;
|
|
218
|
+
hours: number;
|
|
219
|
+
} | {
|
|
220
|
+
kind: 'answer';
|
|
221
|
+
ask: string;
|
|
222
|
+
accept: boolean;
|
|
223
|
+
cwd?: string;
|
|
224
|
+
hours?: number;
|
|
225
|
+
} | {
|
|
226
|
+
kind: 'revoke';
|
|
227
|
+
grant: string;
|
|
228
|
+
} | {
|
|
229
|
+
kind: 'revokeAll';
|
|
230
|
+
friend: string;
|
|
231
|
+
} | {
|
|
232
|
+
kind: 'clearLog';
|
|
233
|
+
}
|
|
234
|
+
/** The agents of the user to invite: TeamAgent of those of their own. */
|
|
235
|
+
| {
|
|
236
|
+
kind: 'agents';
|
|
237
|
+
} | {
|
|
238
|
+
kind: 'invite';
|
|
239
|
+
room: string;
|
|
240
|
+
agent: string;
|
|
241
|
+
} | {
|
|
242
|
+
kind: 'dismiss';
|
|
243
|
+
room: string;
|
|
244
|
+
agent: string;
|
|
245
|
+
}
|
|
246
|
+
/** Stops a task the double does for someone, or calls off one it handed (`handed`); `forget` takes an ended one off the list. */
|
|
247
|
+
| {
|
|
248
|
+
kind: 'stopTask';
|
|
249
|
+
task: string;
|
|
250
|
+
handed?: boolean;
|
|
251
|
+
} | {
|
|
252
|
+
kind: 'forgetTask';
|
|
253
|
+
task: string;
|
|
254
|
+
handed?: boolean;
|
|
255
|
+
};
|
|
256
|
+
/** How long a permission may be given for, in hours: an hour, a day, a week. */
|
|
257
|
+
export declare const GRANT_HOURS: readonly number[];
|
|
258
|
+
//# sourceMappingURL=double-protocol.d.ts.map
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* The doubles of rooms (docs/design/ta-link.md 4): in a room, one asks the double of another member, and that member's Ta
|
|
4
|
+
* answers it, in a session of its own that speaks with others: by default it only chats and reads and sets the shared
|
|
5
|
+
* state of the room; it works on the computer of its user only for whom the user let it, what, where and till when.
|
|
6
|
+
* What the server side of the package (double-host.ts), its pi extension (extension.ts) and its web extension share.
|
|
7
|
+
*/
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.GRANT_HOURS = exports.DoubleKeys = exports.ROOM_CAPABILITIES = exports.TASK_MESSAGE_TYPE = exports.RoomTasksUtil = exports.ROOM_TASKS_SHOWN = exports.ROOM_CANCEL_KEY = exports.ROOM_TASKS_KEY = exports.ROOM_ANSWERING_KEY = exports.RoomAgentsUtil = exports.ROOM_AGENTS_KEY = exports.CHANNELS = exports.ROOM_DOUBLE_MARK = exports.NAME = void 0;
|
|
10
|
+
/** The name of the package: its data, its host. */
|
|
11
|
+
exports.NAME = '@celljs/ta-rooms';
|
|
12
|
+
/** In the role of a double in a room: its pi extension knows the session by it. */
|
|
13
|
+
exports.ROOM_DOUBLE_MARK = '[ta-rooms:double]';
|
|
14
|
+
/** The package of the agents of Ta: a member invites them to rooms. */
|
|
15
|
+
exports.CHANNELS = '@celljs/ta-channels';
|
|
16
|
+
exports.ROOM_AGENTS_KEY = 'agents:';
|
|
17
|
+
var RoomAgentsUtil;
|
|
18
|
+
(function (RoomAgentsUtil) {
|
|
19
|
+
function key(member) {
|
|
20
|
+
return `${exports.ROOM_AGENTS_KEY}${member}`;
|
|
21
|
+
}
|
|
22
|
+
RoomAgentsUtil.key = key;
|
|
23
|
+
/** How a line asks an agent of a member (RelayChatLine.to). */
|
|
24
|
+
function address(member, agent) {
|
|
25
|
+
return `${member}/${agent}`;
|
|
26
|
+
}
|
|
27
|
+
RoomAgentsUtil.address = address;
|
|
28
|
+
/** The agents a member listed, if the value is a list and that member wrote it. */
|
|
29
|
+
function list(member, value, by) {
|
|
30
|
+
if (by !== member || !Array.isArray(value)) {
|
|
31
|
+
return [];
|
|
32
|
+
}
|
|
33
|
+
return value
|
|
34
|
+
.filter(agent => agent && typeof agent.id === 'string' && agent.id && typeof agent.name === 'string')
|
|
35
|
+
.slice(0, 16)
|
|
36
|
+
.map(agent => ({
|
|
37
|
+
id: agent.id,
|
|
38
|
+
name: agent.name,
|
|
39
|
+
...(typeof agent.role === 'string' && agent.role ? { role: agent.role } : {}),
|
|
40
|
+
...(Number.isInteger(agent.face) && agent.face >= 0 && agent.face < 64 ? { face: agent.face } : {}),
|
|
41
|
+
}));
|
|
42
|
+
}
|
|
43
|
+
RoomAgentsUtil.list = list;
|
|
44
|
+
/** The agents of a room, by its state under ROOM_AGENTS_KEY. */
|
|
45
|
+
function of(state) {
|
|
46
|
+
return Object.entries(state).flatMap(([key, value]) => {
|
|
47
|
+
if (!key.startsWith(exports.ROOM_AGENTS_KEY) || value.value === null) {
|
|
48
|
+
return [];
|
|
49
|
+
}
|
|
50
|
+
const member = key.slice(exports.ROOM_AGENTS_KEY.length);
|
|
51
|
+
return list(member, value.value, value.by).map(agent => ({ ...agent, member }));
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
RoomAgentsUtil.of = of;
|
|
55
|
+
})(RoomAgentsUtil || (exports.RoomAgentsUtil = RoomAgentsUtil = {}));
|
|
56
|
+
const TASK_STATUSES = ['queued', 'running', 'permission', 'done', 'failed', 'stopped', 'declined'];
|
|
57
|
+
/**
|
|
58
|
+
* Which of the user's computers answers a line that asks their double, while they share one identity (TaIdentity.shared):
|
|
59
|
+
* `answering:<member>`, the lines taken of late, each by the computer that took it, set on its version: the first wins.
|
|
60
|
+
*/
|
|
61
|
+
exports.ROOM_ANSWERING_KEY = 'answering:';
|
|
62
|
+
exports.ROOM_TASKS_KEY = 'tasks:';
|
|
63
|
+
/** The tasks a member handed and called off, by the ids of their lines: `cancel:<member>`, which that member writes. */
|
|
64
|
+
exports.ROOM_CANCEL_KEY = 'cancel:';
|
|
65
|
+
/** Tasks a member lists in a room at most, and calls off. */
|
|
66
|
+
exports.ROOM_TASKS_SHOWN = 30;
|
|
67
|
+
var RoomTasksUtil;
|
|
68
|
+
(function (RoomTasksUtil) {
|
|
69
|
+
function key(member) {
|
|
70
|
+
return `${exports.ROOM_TASKS_KEY}${member}`;
|
|
71
|
+
}
|
|
72
|
+
RoomTasksUtil.key = key;
|
|
73
|
+
function cancelKey(member) {
|
|
74
|
+
return `${exports.ROOM_CANCEL_KEY}${member}`;
|
|
75
|
+
}
|
|
76
|
+
RoomTasksUtil.cancelKey = cancelKey;
|
|
77
|
+
function ended(status) {
|
|
78
|
+
return status === 'done' || status === 'failed' || status === 'stopped' || status === 'declined';
|
|
79
|
+
}
|
|
80
|
+
RoomTasksUtil.ended = ended;
|
|
81
|
+
/** The tasks a member says how they go, if the value is theirs and well formed. */
|
|
82
|
+
function of(member, value, by) {
|
|
83
|
+
if (by !== member || !value || typeof value !== 'object' || Array.isArray(value)) {
|
|
84
|
+
return {};
|
|
85
|
+
}
|
|
86
|
+
const tasks = {};
|
|
87
|
+
for (const [id, task] of Object.entries(value).slice(-exports.ROOM_TASKS_SHOWN)) {
|
|
88
|
+
if (task && TASK_STATUSES.includes(task.status) && typeof task.at === 'number') {
|
|
89
|
+
tasks[id] = {
|
|
90
|
+
status: task.status,
|
|
91
|
+
at: task.at,
|
|
92
|
+
...(typeof task.detail === 'string' && task.detail ? { detail: task.detail.slice(0, 200) } : {}),
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
return tasks;
|
|
97
|
+
}
|
|
98
|
+
RoomTasksUtil.of = of;
|
|
99
|
+
/** The ids of the tasks a member called off, if the value is theirs. */
|
|
100
|
+
function cancelled(member, value, by) {
|
|
101
|
+
return by === member && Array.isArray(value) ? value.filter((id) => typeof id === 'string').slice(-exports.ROOM_TASKS_SHOWN) : [];
|
|
102
|
+
}
|
|
103
|
+
RoomTasksUtil.cancelled = cancelled;
|
|
104
|
+
})(RoomTasksUtil || (exports.RoomTasksUtil = RoomTasksUtil = {}));
|
|
105
|
+
/** The message that tells the conversation that handed a task how it ended: `details` is the task. */
|
|
106
|
+
exports.TASK_MESSAGE_TYPE = 'ta-rooms:task';
|
|
107
|
+
exports.ROOM_CAPABILITIES = ['files', 'commands'];
|
|
108
|
+
/** What the doubles keep, in the data of the package (pi.storage of the page). */
|
|
109
|
+
var DoubleKeys;
|
|
110
|
+
(function (DoubleKeys) {
|
|
111
|
+
/** Rooms where the user's double does not answer, by id: `{ [room]: true }`. */
|
|
112
|
+
DoubleKeys.QUIET = 'doubles.quiet';
|
|
113
|
+
DoubleKeys.GRANTS = 'doubles.grants';
|
|
114
|
+
DoubleKeys.ASKS = 'doubles.asks';
|
|
115
|
+
DoubleKeys.LOG = 'doubles.log';
|
|
116
|
+
/** The session files of the doubles' sessions, by the key of the session (DoubleUtil.sessionKey). */
|
|
117
|
+
DoubleKeys.SESSIONS = 'doubles.sessions';
|
|
118
|
+
/** When the last line each room's double looked at was said, by room id: what came later is new. */
|
|
119
|
+
DoubleKeys.READ = 'doubles.read';
|
|
120
|
+
/** The tasks others handed the user's double (RoomTaskRecord), and those it handed others (RoomHandedTask). */
|
|
121
|
+
DoubleKeys.TASKS = 'doubles.tasks';
|
|
122
|
+
DoubleKeys.HANDED = 'doubles.handed';
|
|
123
|
+
/** This computer, among the user's computers that share the identity: who took a line (ROOM_ANSWERING_KEY). Never synced. */
|
|
124
|
+
DoubleKeys.DEVICE = 'doubles.device';
|
|
125
|
+
})(DoubleKeys || (exports.DoubleKeys = DoubleKeys = {}));
|
|
126
|
+
/** How long a permission may be given for, in hours: an hour, a day, a week. */
|
|
127
|
+
exports.GRANT_HOURS = [1, 24, 24 * 7];
|
|
128
|
+
//# sourceMappingURL=double-protocol.js.map
|