@wirecat/cli-core 0.20.0 → 0.263.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.md +475 -337
- package/THIRD_PARTY_NOTICES +760 -0
- package/dist/analysis/anthropic.d.ts +3 -0
- package/dist/analysis/anthropic.d.ts.map +1 -0
- package/dist/analysis/anthropic.js +3 -0
- package/dist/analysis/anthropic.js.map +1 -0
- package/dist/analysis/consents.d.ts +13 -0
- package/dist/analysis/consents.d.ts.map +1 -0
- package/dist/analysis/consents.js +36 -0
- package/dist/analysis/consents.js.map +1 -0
- package/dist/analysis/provider.d.ts +14 -0
- package/dist/analysis/provider.d.ts.map +1 -0
- package/dist/analysis/provider.js +17 -0
- package/dist/analysis/provider.js.map +1 -0
- package/dist/analysis/runner.d.ts +23 -0
- package/dist/analysis/runner.d.ts.map +1 -0
- package/dist/analysis/runner.js +84 -0
- package/dist/analysis/runner.js.map +1 -0
- package/dist/analysis/settings.d.ts +24 -0
- package/dist/analysis/settings.d.ts.map +1 -0
- package/dist/analysis/settings.js +51 -0
- package/dist/analysis/settings.js.map +1 -0
- package/dist/attachments/container.d.ts +7 -0
- package/dist/attachments/container.d.ts.map +1 -0
- package/dist/attachments/container.js +236 -0
- package/dist/attachments/container.js.map +1 -0
- package/dist/attachments/csv-spans.d.ts +12 -0
- package/dist/attachments/csv-spans.d.ts.map +1 -0
- package/dist/attachments/csv-spans.js +40 -0
- package/dist/attachments/csv-spans.js.map +1 -0
- package/dist/attachments/directory.d.ts +4 -0
- package/dist/attachments/directory.d.ts.map +1 -0
- package/dist/attachments/directory.js +79 -0
- package/dist/attachments/directory.js.map +1 -0
- package/dist/attachments/documents.d.ts +7 -0
- package/dist/attachments/documents.d.ts.map +1 -0
- package/dist/attachments/documents.js +430 -0
- package/dist/attachments/documents.js.map +1 -0
- package/dist/attachments/encoding.d.ts +9 -0
- package/dist/attachments/encoding.d.ts.map +1 -0
- package/dist/attachments/encoding.js +108 -0
- package/dist/attachments/encoding.js.map +1 -0
- package/dist/attachments/extract.d.ts +23 -0
- package/dist/attachments/extract.d.ts.map +1 -0
- package/dist/attachments/extract.js +62 -0
- package/dist/attachments/extract.js.map +1 -0
- package/dist/attachments/gateway-ocr.d.ts +15 -0
- package/dist/attachments/gateway-ocr.d.ts.map +1 -0
- package/dist/attachments/gateway-ocr.js +48 -0
- package/dist/attachments/gateway-ocr.js.map +1 -0
- package/dist/attachments/limits.d.ts +9 -0
- package/dist/attachments/limits.d.ts.map +1 -0
- package/dist/attachments/limits.js +26 -0
- package/dist/attachments/limits.js.map +1 -0
- package/dist/attachments/markup.d.ts +5 -0
- package/dist/attachments/markup.d.ts.map +1 -0
- package/dist/attachments/markup.js +159 -0
- package/dist/attachments/markup.js.map +1 -0
- package/dist/attachments/ocr.d.ts +9 -0
- package/dist/attachments/ocr.d.ts.map +1 -0
- package/dist/attachments/ocr.js +170 -0
- package/dist/attachments/ocr.js.map +1 -0
- package/dist/attachments/pdf-preview.d.ts +7 -0
- package/dist/attachments/pdf-preview.d.ts.map +1 -0
- package/dist/attachments/pdf-preview.js +83 -0
- package/dist/attachments/pdf-preview.js.map +1 -0
- package/dist/attachments/sheets.d.ts +29 -0
- package/dist/attachments/sheets.d.ts.map +1 -0
- package/dist/attachments/sheets.js +70 -0
- package/dist/attachments/sheets.js.map +1 -0
- package/dist/attachments/transfer.d.ts +25 -0
- package/dist/attachments/transfer.d.ts.map +1 -0
- package/dist/attachments/transfer.js +121 -0
- package/dist/attachments/transfer.js.map +1 -0
- package/dist/background/folders.d.ts +16 -0
- package/dist/background/folders.d.ts.map +1 -0
- package/dist/background/folders.js +52 -0
- package/dist/background/folders.js.map +1 -0
- package/dist/background/index.d.ts +6 -0
- package/dist/background/index.d.ts.map +1 -0
- package/dist/background/index.js +6 -0
- package/dist/background/index.js.map +1 -0
- package/dist/background/lock.d.ts +23 -0
- package/dist/background/lock.d.ts.map +1 -0
- package/dist/background/lock.js +64 -0
- package/dist/background/lock.js.map +1 -0
- package/dist/background/processes.d.ts +15 -0
- package/dist/background/processes.d.ts.map +1 -0
- package/dist/background/processes.js +78 -0
- package/dist/background/processes.js.map +1 -0
- package/dist/background/renamed-paths.d.ts +3 -0
- package/dist/background/renamed-paths.d.ts.map +1 -0
- package/dist/background/renamed-paths.js +6 -0
- package/dist/background/renamed-paths.js.map +1 -0
- package/dist/background/schedules.d.ts +63 -0
- package/dist/background/schedules.d.ts.map +1 -0
- package/dist/background/schedules.js +313 -0
- package/dist/background/schedules.js.map +1 -0
- package/dist/background/system.d.ts +20 -0
- package/dist/background/system.d.ts.map +1 -0
- package/dist/background/system.js +39 -0
- package/dist/background/system.js.map +1 -0
- package/dist/background/units.d.ts +60 -0
- package/dist/background/units.d.ts.map +1 -0
- package/dist/background/units.js +223 -0
- package/dist/background/units.js.map +1 -0
- package/dist/background/wirecat-folder.d.ts +26 -0
- package/dist/background/wirecat-folder.d.ts.map +1 -0
- package/dist/background/wirecat-folder.js +339 -0
- package/dist/background/wirecat-folder.js.map +1 -0
- package/dist/botcheck/check.d.ts +64 -0
- package/dist/botcheck/check.d.ts.map +1 -0
- package/dist/botcheck/check.js +84 -0
- package/dist/botcheck/check.js.map +1 -0
- package/dist/botcheck/reasons.d.ts +15 -0
- package/dist/botcheck/reasons.d.ts.map +1 -0
- package/dist/botcheck/reasons.js +29 -0
- package/dist/botcheck/reasons.js.map +1 -0
- package/dist/botcheck/registries.d.ts +40 -0
- package/dist/botcheck/registries.d.ts.map +1 -0
- package/dist/botcheck/registries.js +100 -0
- package/dist/botcheck/registries.js.map +1 -0
- package/dist/botcheck/service.d.ts +17 -0
- package/dist/botcheck/service.d.ts.map +1 -0
- package/dist/botcheck/service.js +93 -0
- package/dist/botcheck/service.js.map +1 -0
- package/dist/charts/chat.d.ts +10 -0
- package/dist/charts/chat.d.ts.map +1 -0
- package/dist/charts/chat.js +72 -0
- package/dist/charts/chat.js.map +1 -0
- package/dist/charts/echarts-option.d.ts +4 -0
- package/dist/charts/echarts-option.d.ts.map +1 -0
- package/dist/charts/echarts-option.js +51 -0
- package/dist/charts/echarts-option.js.map +1 -0
- package/dist/charts/echarts.d.ts +3 -0
- package/dist/charts/echarts.d.ts.map +1 -0
- package/dist/charts/echarts.js +26 -0
- package/dist/charts/echarts.js.map +1 -0
- package/dist/charts/fonts/NotoSans-Regular.ttf +0 -0
- package/dist/charts/fonts/OFL.txt +94 -0
- package/dist/charts/fonts/SOURCE.md +5 -0
- package/dist/charts/index.d.ts +5 -0
- package/dist/charts/index.d.ts.map +1 -0
- package/dist/charts/index.js +5 -0
- package/dist/charts/index.js.map +1 -0
- package/dist/charts/model.d.ts +34 -0
- package/dist/charts/model.d.ts.map +1 -0
- package/dist/charts/model.js +3 -0
- package/dist/charts/model.js.map +1 -0
- package/dist/charts/png.d.ts +8 -0
- package/dist/charts/png.d.ts.map +1 -0
- package/dist/charts/png.js +14 -0
- package/dist/charts/png.js.map +1 -0
- package/dist/charts/render.d.ts +3 -0
- package/dist/charts/render.d.ts.map +1 -0
- package/dist/charts/render.js +2 -0
- package/dist/charts/render.js.map +1 -0
- package/dist/cli/agent-evaluation.d.ts +25 -0
- package/dist/cli/agent-evaluation.d.ts.map +1 -0
- package/dist/cli/agent-evaluation.js +42 -0
- package/dist/cli/agent-evaluation.js.map +1 -0
- package/dist/cli/analysis-choice.d.ts +10 -0
- package/dist/cli/analysis-choice.d.ts.map +1 -0
- package/dist/cli/analysis-choice.js +38 -0
- package/dist/cli/analysis-choice.js.map +1 -0
- package/dist/cli/app.d.ts +20 -0
- package/dist/cli/app.d.ts.map +1 -0
- package/dist/cli/app.js +2 -0
- package/dist/cli/app.js.map +1 -0
- package/dist/cli/bot/admins.d.ts +10 -0
- package/dist/cli/bot/admins.d.ts.map +1 -0
- package/dist/cli/bot/admins.js +114 -0
- package/dist/cli/bot/admins.js.map +1 -0
- package/dist/cli/bot/api-input.d.ts +14 -0
- package/dist/cli/bot/api-input.d.ts.map +1 -0
- package/dist/cli/bot/api-input.js +106 -0
- package/dist/cli/bot/api-input.js.map +1 -0
- package/dist/cli/bot/api-rpc.d.ts +16 -0
- package/dist/cli/bot/api-rpc.d.ts.map +1 -0
- package/dist/cli/bot/api-rpc.js +173 -0
- package/dist/cli/bot/api-rpc.js.map +1 -0
- package/dist/cli/bot/api.d.ts +25 -0
- package/dist/cli/bot/api.d.ts.map +1 -0
- package/dist/cli/bot/api.js +65 -0
- package/dist/cli/bot/api.js.map +1 -0
- package/dist/cli/bot/command.d.ts +4 -0
- package/dist/cli/bot/command.d.ts.map +1 -0
- package/dist/cli/bot/command.js +249 -0
- package/dist/cli/bot/command.js.map +1 -0
- package/dist/cli/bot/context.d.ts +56 -0
- package/dist/cli/bot/context.d.ts.map +1 -0
- package/dist/cli/bot/context.js +93 -0
- package/dist/cli/bot/context.js.map +1 -0
- package/dist/cli/bot/copy.d.ts +27 -0
- package/dist/cli/bot/copy.d.ts.map +1 -0
- package/dist/cli/bot/copy.js +120 -0
- package/dist/cli/bot/copy.js.map +1 -0
- package/dist/cli/bot/mcp.d.ts +8 -0
- package/dist/cli/bot/mcp.d.ts.map +1 -0
- package/dist/cli/bot/mcp.js +90 -0
- package/dist/cli/bot/mcp.js.map +1 -0
- package/dist/cli/bot/messages.d.ts +10 -0
- package/dist/cli/bot/messages.d.ts.map +1 -0
- package/dist/cli/bot/messages.js +263 -0
- package/dist/cli/bot/messages.js.map +1 -0
- package/dist/cli/bot/moderation.d.ts +10 -0
- package/dist/cli/bot/moderation.d.ts.map +1 -0
- package/dist/cli/bot/moderation.js +187 -0
- package/dist/cli/bot/moderation.js.map +1 -0
- package/dist/cli/bot/people.d.ts +14 -0
- package/dist/cli/bot/people.d.ts.map +1 -0
- package/dist/cli/bot/people.js +239 -0
- package/dist/cli/bot/people.js.map +1 -0
- package/dist/cli/bot/port.d.ts +280 -0
- package/dist/cli/bot/port.d.ts.map +1 -0
- package/dist/cli/bot/port.js +3 -0
- package/dist/cli/bot/port.js.map +1 -0
- package/dist/cli/bot/registry.d.ts +40 -0
- package/dist/cli/bot/registry.d.ts.map +1 -0
- package/dist/cli/bot/registry.js +97 -0
- package/dist/cli/bot/registry.js.map +1 -0
- package/dist/cli/bot/setup.d.ts +9 -0
- package/dist/cli/bot/setup.d.ts.map +1 -0
- package/dist/cli/bot/setup.js +155 -0
- package/dist/cli/bot/setup.js.map +1 -0
- package/dist/cli/bot/store.d.ts +8 -0
- package/dist/cli/bot/store.d.ts.map +1 -0
- package/dist/cli/bot/store.js +87 -0
- package/dist/cli/bot/store.js.map +1 -0
- package/dist/cli/bot/token.d.ts +31 -0
- package/dist/cli/bot/token.d.ts.map +1 -0
- package/dist/cli/bot/token.js +65 -0
- package/dist/cli/bot/token.js.map +1 -0
- package/dist/cli/bot/updates.d.ts +23 -0
- package/dist/cli/bot/updates.d.ts.map +1 -0
- package/dist/cli/bot/updates.js +61 -0
- package/dist/cli/bot/updates.js.map +1 -0
- package/dist/cli/bot/watch.d.ts +10 -0
- package/dist/cli/bot/watch.d.ts.map +1 -0
- package/dist/cli/bot/watch.js +202 -0
- package/dist/cli/bot/watch.js.map +1 -0
- package/dist/cli/command-contract.d.ts +85 -0
- package/dist/cli/command-contract.d.ts.map +1 -0
- package/dist/cli/command-contract.js +288 -0
- package/dist/cli/command-contract.js.map +1 -0
- package/dist/cli/commands-command.d.ts +13 -0
- package/dist/cli/commands-command.d.ts.map +1 -0
- package/dist/cli/commands-command.js +86 -0
- package/dist/cli/commands-command.js.map +1 -0
- package/dist/cli/config-command.d.ts +17 -0
- package/dist/cli/config-command.d.ts.map +1 -0
- package/dist/cli/config-command.js +185 -0
- package/dist/cli/config-command.js.map +1 -0
- package/dist/cli/context.d.ts +65 -0
- package/dist/cli/context.d.ts.map +1 -0
- package/dist/cli/context.js +78 -0
- package/dist/cli/context.js.map +1 -0
- package/dist/cli/deadline.d.ts +25 -0
- package/dist/cli/deadline.d.ts.map +1 -0
- package/dist/cli/deadline.js +55 -0
- package/dist/cli/deadline.js.map +1 -0
- package/dist/cli/default-config.d.ts +13 -0
- package/dist/cli/default-config.d.ts.map +1 -0
- package/dist/cli/default-config.js +29 -0
- package/dist/cli/default-config.js.map +1 -0
- package/dist/cli/embedding-choice.d.ts +15 -0
- package/dist/cli/embedding-choice.d.ts.map +1 -0
- package/dist/cli/embedding-choice.js +36 -0
- package/dist/cli/embedding-choice.js.map +1 -0
- package/dist/cli/embedding-keys.d.ts +17 -0
- package/dist/cli/embedding-keys.d.ts.map +1 -0
- package/dist/cli/embedding-keys.js +39 -0
- package/dist/cli/embedding-keys.js.map +1 -0
- package/dist/cli/envelope.d.ts +48 -0
- package/dist/cli/envelope.d.ts.map +1 -0
- package/dist/cli/envelope.js +83 -0
- package/dist/cli/envelope.js.map +1 -0
- package/dist/cli/execution.d.ts +26 -0
- package/dist/cli/execution.d.ts.map +1 -0
- package/dist/cli/execution.js +183 -0
- package/dist/cli/execution.js.map +1 -0
- package/dist/cli/failures.d.ts +17 -0
- package/dist/cli/failures.d.ts.map +1 -0
- package/dist/cli/failures.js +19 -0
- package/dist/cli/failures.js.map +1 -0
- package/dist/cli/index.d.ts +105 -0
- package/dist/cli/index.d.ts.map +1 -0
- package/dist/cli/index.js +103 -0
- package/dist/cli/index.js.map +1 -0
- package/dist/cli/input-policy.d.ts +14 -0
- package/dist/cli/input-policy.d.ts.map +1 -0
- package/dist/cli/input-policy.js +66 -0
- package/dist/cli/input-policy.js.map +1 -0
- package/dist/cli/json-fields.d.ts +18 -0
- package/dist/cli/json-fields.d.ts.map +1 -0
- package/dist/cli/json-fields.js +73 -0
- package/dist/cli/json-fields.js.map +1 -0
- package/dist/cli/messenger/account-command.d.ts +4 -0
- package/dist/cli/messenger/account-command.d.ts.map +1 -0
- package/dist/cli/messenger/account-command.js +77 -0
- package/dist/cli/messenger/account-command.js.map +1 -0
- package/dist/cli/messenger/account-sessions-command.d.ts +5 -0
- package/dist/cli/messenger/account-sessions-command.d.ts.map +1 -0
- package/dist/cli/messenger/account-sessions-command.js +34 -0
- package/dist/cli/messenger/account-sessions-command.js.map +1 -0
- package/dist/cli/messenger/accounts.d.ts +12 -0
- package/dist/cli/messenger/accounts.d.ts.map +1 -0
- package/dist/cli/messenger/accounts.js +27 -0
- package/dist/cli/messenger/accounts.js.map +1 -0
- package/dist/cli/messenger/admin-commands.d.ts +7 -0
- package/dist/cli/messenger/admin-commands.d.ts.map +1 -0
- package/dist/cli/messenger/admin-commands.js +246 -0
- package/dist/cli/messenger/admin-commands.js.map +1 -0
- package/dist/cli/messenger/admin-contacts-command.d.ts +8 -0
- package/dist/cli/messenger/admin-contacts-command.d.ts.map +1 -0
- package/dist/cli/messenger/admin-contacts-command.js +60 -0
- package/dist/cli/messenger/admin-contacts-command.js.map +1 -0
- package/dist/cli/messenger/admin-folders-command.d.ts +5 -0
- package/dist/cli/messenger/admin-folders-command.d.ts.map +1 -0
- package/dist/cli/messenger/admin-folders-command.js +107 -0
- package/dist/cli/messenger/admin-folders-command.js.map +1 -0
- package/dist/cli/messenger/admin-moderation-command.d.ts +11 -0
- package/dist/cli/messenger/admin-moderation-command.d.ts.map +1 -0
- package/dist/cli/messenger/admin-moderation-command.js +83 -0
- package/dist/cli/messenger/admin-moderation-command.js.map +1 -0
- package/dist/cli/messenger/admin-statistics-command.d.ts +5 -0
- package/dist/cli/messenger/admin-statistics-command.d.ts.map +1 -0
- package/dist/cli/messenger/admin-statistics-command.js +59 -0
- package/dist/cli/messenger/admin-statistics-command.js.map +1 -0
- package/dist/cli/messenger/after.d.ts +20 -0
- package/dist/cli/messenger/after.d.ts.map +1 -0
- package/dist/cli/messenger/after.js +27 -0
- package/dist/cli/messenger/after.js.map +1 -0
- package/dist/cli/messenger/archive-commands.d.ts +5 -0
- package/dist/cli/messenger/archive-commands.d.ts.map +1 -0
- package/dist/cli/messenger/archive-commands.js +203 -0
- package/dist/cli/messenger/archive-commands.js.map +1 -0
- package/dist/cli/messenger/archive-summary.d.ts +7 -0
- package/dist/cli/messenger/archive-summary.d.ts.map +1 -0
- package/dist/cli/messenger/archive-summary.js +19 -0
- package/dist/cli/messenger/archive-summary.js.map +1 -0
- package/dist/cli/messenger/ask.d.ts +13 -0
- package/dist/cli/messenger/ask.d.ts.map +1 -0
- package/dist/cli/messenger/ask.js +73 -0
- package/dist/cli/messenger/ask.js.map +1 -0
- package/dist/cli/messenger/attachments-command.d.ts +5 -0
- package/dist/cli/messenger/attachments-command.d.ts.map +1 -0
- package/dist/cli/messenger/attachments-command.js +189 -0
- package/dist/cli/messenger/attachments-command.js.map +1 -0
- package/dist/cli/messenger/backfill-command.d.ts +6 -0
- package/dist/cli/messenger/backfill-command.d.ts.map +1 -0
- package/dist/cli/messenger/backfill-command.js +367 -0
- package/dist/cli/messenger/backfill-command.js.map +1 -0
- package/dist/cli/messenger/backfill-jobs.d.ts +2 -0
- package/dist/cli/messenger/backfill-jobs.d.ts.map +1 -0
- package/dist/cli/messenger/backfill-jobs.js +2 -0
- package/dist/cli/messenger/backfill-jobs.js.map +1 -0
- package/dist/cli/messenger/catch-up.d.ts +17 -0
- package/dist/cli/messenger/catch-up.d.ts.map +1 -0
- package/dist/cli/messenger/catch-up.js +30 -0
- package/dist/cli/messenger/catch-up.js.map +1 -0
- package/dist/cli/messenger/chats-bots-command.d.ts +5 -0
- package/dist/cli/messenger/chats-bots-command.d.ts.map +1 -0
- package/dist/cli/messenger/chats-bots-command.js +26 -0
- package/dist/cli/messenger/chats-bots-command.js.map +1 -0
- package/dist/cli/messenger/chats-command.d.ts +4 -0
- package/dist/cli/messenger/chats-command.d.ts.map +1 -0
- package/dist/cli/messenger/chats-command.js +127 -0
- package/dist/cli/messenger/chats-command.js.map +1 -0
- package/dist/cli/messenger/chats-documents-command.d.ts +5 -0
- package/dist/cli/messenger/chats-documents-command.d.ts.map +1 -0
- package/dist/cli/messenger/chats-documents-command.js +22 -0
- package/dist/cli/messenger/chats-documents-command.js.map +1 -0
- package/dist/cli/messenger/chats-members-command.d.ts +5 -0
- package/dist/cli/messenger/chats-members-command.d.ts.map +1 -0
- package/dist/cli/messenger/chats-members-command.js +143 -0
- package/dist/cli/messenger/chats-members-command.js.map +1 -0
- package/dist/cli/messenger/chats-read-command.d.ts +4 -0
- package/dist/cli/messenger/chats-read-command.d.ts.map +1 -0
- package/dist/cli/messenger/chats-read-command.js +18 -0
- package/dist/cli/messenger/chats-read-command.js.map +1 -0
- package/dist/cli/messenger/chats-stats-command.d.ts +4 -0
- package/dist/cli/messenger/chats-stats-command.d.ts.map +1 -0
- package/dist/cli/messenger/chats-stats-command.js +59 -0
- package/dist/cli/messenger/chats-stats-command.js.map +1 -0
- package/dist/cli/messenger/chats-tracking-command.d.ts +5 -0
- package/dist/cli/messenger/chats-tracking-command.d.ts.map +1 -0
- package/dist/cli/messenger/chats-tracking-command.js +53 -0
- package/dist/cli/messenger/chats-tracking-command.js.map +1 -0
- package/dist/cli/messenger/complete-command.d.ts +17 -0
- package/dist/cli/messenger/complete-command.d.ts.map +1 -0
- package/dist/cli/messenger/complete-command.js +115 -0
- package/dist/cli/messenger/complete-command.js.map +1 -0
- package/dist/cli/messenger/contacts-command.d.ts +4 -0
- package/dist/cli/messenger/contacts-command.d.ts.map +1 -0
- package/dist/cli/messenger/contacts-command.js +214 -0
- package/dist/cli/messenger/contacts-command.js.map +1 -0
- package/dist/cli/messenger/context.d.ts +198 -0
- package/dist/cli/messenger/context.d.ts.map +1 -0
- package/dist/cli/messenger/context.js +244 -0
- package/dist/cli/messenger/context.js.map +1 -0
- package/dist/cli/messenger/conversations-command.d.ts +12 -0
- package/dist/cli/messenger/conversations-command.d.ts.map +1 -0
- package/dist/cli/messenger/conversations-command.js +652 -0
- package/dist/cli/messenger/conversations-command.js.map +1 -0
- package/dist/cli/messenger/counters-command.d.ts +4 -0
- package/dist/cli/messenger/counters-command.d.ts.map +1 -0
- package/dist/cli/messenger/counters-command.js +50 -0
- package/dist/cli/messenger/counters-command.js.map +1 -0
- package/dist/cli/messenger/doctor-command.d.ts +24 -0
- package/dist/cli/messenger/doctor-command.d.ts.map +1 -0
- package/dist/cli/messenger/doctor-command.js +274 -0
- package/dist/cli/messenger/doctor-command.js.map +1 -0
- package/dist/cli/messenger/download-command.d.ts +6 -0
- package/dist/cli/messenger/download-command.d.ts.map +1 -0
- package/dist/cli/messenger/download-command.js +364 -0
- package/dist/cli/messenger/download-command.js.map +1 -0
- package/dist/cli/messenger/export-folder.d.ts +54 -0
- package/dist/cli/messenger/export-folder.d.ts.map +1 -0
- package/dist/cli/messenger/export-folder.js +106 -0
- package/dist/cli/messenger/export-folder.js.map +1 -0
- package/dist/cli/messenger/flood-command.d.ts +8 -0
- package/dist/cli/messenger/flood-command.d.ts.map +1 -0
- package/dist/cli/messenger/flood-command.js +33 -0
- package/dist/cli/messenger/flood-command.js.map +1 -0
- package/dist/cli/messenger/flooded.d.ts +15 -0
- package/dist/cli/messenger/flooded.d.ts.map +1 -0
- package/dist/cli/messenger/flooded.js +102 -0
- package/dist/cli/messenger/flooded.js.map +1 -0
- package/dist/cli/messenger/gaps-command.d.ts +4 -0
- package/dist/cli/messenger/gaps-command.d.ts.map +1 -0
- package/dist/cli/messenger/gaps-command.js +147 -0
- package/dist/cli/messenger/gaps-command.js.map +1 -0
- package/dist/cli/messenger/guard-commands.d.ts +10 -0
- package/dist/cli/messenger/guard-commands.d.ts.map +1 -0
- package/dist/cli/messenger/guard-commands.js +73 -0
- package/dist/cli/messenger/guard-commands.js.map +1 -0
- package/dist/cli/messenger/hearing-command.d.ts +16 -0
- package/dist/cli/messenger/hearing-command.d.ts.map +1 -0
- package/dist/cli/messenger/hearing-command.js +53 -0
- package/dist/cli/messenger/hearing-command.js.map +1 -0
- package/dist/cli/messenger/inbox.d.ts +16 -0
- package/dist/cli/messenger/inbox.d.ts.map +1 -0
- package/dist/cli/messenger/inbox.js +104 -0
- package/dist/cli/messenger/inbox.js.map +1 -0
- package/dist/cli/messenger/mcp-command.d.ts +60 -0
- package/dist/cli/messenger/mcp-command.d.ts.map +1 -0
- package/dist/cli/messenger/mcp-command.js +262 -0
- package/dist/cli/messenger/mcp-command.js.map +1 -0
- package/dist/cli/messenger/messages-command.d.ts +6 -0
- package/dist/cli/messenger/messages-command.d.ts.map +1 -0
- package/dist/cli/messenger/messages-command.js +228 -0
- package/dist/cli/messenger/messages-command.js.map +1 -0
- package/dist/cli/messenger/messages-comments-command.d.ts +4 -0
- package/dist/cli/messenger/messages-comments-command.d.ts.map +1 -0
- package/dist/cli/messenger/messages-comments-command.js +34 -0
- package/dist/cli/messenger/messages-comments-command.js.map +1 -0
- package/dist/cli/messenger/messages-delete-command.d.ts +8 -0
- package/dist/cli/messenger/messages-delete-command.d.ts.map +1 -0
- package/dist/cli/messenger/messages-delete-command.js +24 -0
- package/dist/cli/messenger/messages-delete-command.js.map +1 -0
- package/dist/cli/messenger/messages-edit-command.d.ts +4 -0
- package/dist/cli/messenger/messages-edit-command.d.ts.map +1 -0
- package/dist/cli/messenger/messages-edit-command.js +32 -0
- package/dist/cli/messenger/messages-edit-command.js.map +1 -0
- package/dist/cli/messenger/messages-evidence-command.d.ts +4 -0
- package/dist/cli/messenger/messages-evidence-command.d.ts.map +1 -0
- package/dist/cli/messenger/messages-evidence-command.js +25 -0
- package/dist/cli/messenger/messages-evidence-command.js.map +1 -0
- package/dist/cli/messenger/messages-forward-command.d.ts +4 -0
- package/dist/cli/messenger/messages-forward-command.d.ts.map +1 -0
- package/dist/cli/messenger/messages-forward-command.js +31 -0
- package/dist/cli/messenger/messages-forward-command.js.map +1 -0
- package/dist/cli/messenger/messages-link-command.d.ts +4 -0
- package/dist/cli/messenger/messages-link-command.d.ts.map +1 -0
- package/dist/cli/messenger/messages-link-command.js +17 -0
- package/dist/cli/messenger/messages-link-command.js.map +1 -0
- package/dist/cli/messenger/messages-pin-command.d.ts +5 -0
- package/dist/cli/messenger/messages-pin-command.d.ts.map +1 -0
- package/dist/cli/messenger/messages-pin-command.js +22 -0
- package/dist/cli/messenger/messages-pin-command.js.map +1 -0
- package/dist/cli/messenger/messages-press-command.d.ts +5 -0
- package/dist/cli/messenger/messages-press-command.d.ts.map +1 -0
- package/dist/cli/messenger/messages-press-command.js +15 -0
- package/dist/cli/messenger/messages-press-command.js.map +1 -0
- package/dist/cli/messenger/messages-scheduled-command.d.ts +5 -0
- package/dist/cli/messenger/messages-scheduled-command.d.ts.map +1 -0
- package/dist/cli/messenger/messages-scheduled-command.js +32 -0
- package/dist/cli/messenger/messages-scheduled-command.js.map +1 -0
- package/dist/cli/messenger/messages-search-command.d.ts +8 -0
- package/dist/cli/messenger/messages-search-command.d.ts.map +1 -0
- package/dist/cli/messenger/messages-search-command.js +244 -0
- package/dist/cli/messenger/messages-search-command.js.map +1 -0
- package/dist/cli/messenger/messages-send-command.d.ts +9 -0
- package/dist/cli/messenger/messages-send-command.d.ts.map +1 -0
- package/dist/cli/messenger/messages-send-command.js +100 -0
- package/dist/cli/messenger/messages-send-command.js.map +1 -0
- package/dist/cli/messenger/messages-stats-command.d.ts +6 -0
- package/dist/cli/messenger/messages-stats-command.d.ts.map +1 -0
- package/dist/cli/messenger/messages-stats-command.js +80 -0
- package/dist/cli/messenger/messages-stats-command.js.map +1 -0
- package/dist/cli/messenger/metadata-command.d.ts +4 -0
- package/dist/cli/messenger/metadata-command.d.ts.map +1 -0
- package/dist/cli/messenger/metadata-command.js +47 -0
- package/dist/cli/messenger/metadata-command.js.map +1 -0
- package/dist/cli/messenger/models-command.d.ts +9 -0
- package/dist/cli/messenger/models-command.d.ts.map +1 -0
- package/dist/cli/messenger/models-command.js +159 -0
- package/dist/cli/messenger/models-command.js.map +1 -0
- package/dist/cli/messenger/observed.d.ts +8 -0
- package/dist/cli/messenger/observed.d.ts.map +1 -0
- package/dist/cli/messenger/observed.js +93 -0
- package/dist/cli/messenger/observed.js.map +1 -0
- package/dist/cli/messenger/official-stats-command.d.ts +4 -0
- package/dist/cli/messenger/official-stats-command.d.ts.map +1 -0
- package/dist/cli/messenger/official-stats-command.js +44 -0
- package/dist/cli/messenger/official-stats-command.js.map +1 -0
- package/dist/cli/messenger/password.d.ts +11 -0
- package/dist/cli/messenger/password.d.ts.map +1 -0
- package/dist/cli/messenger/password.js +26 -0
- package/dist/cli/messenger/password.js.map +1 -0
- package/dist/cli/messenger/patience.d.ts +7 -0
- package/dist/cli/messenger/patience.d.ts.map +1 -0
- package/dist/cli/messenger/patience.js +22 -0
- package/dist/cli/messenger/patience.js.map +1 -0
- package/dist/cli/messenger/points.d.ts +22 -0
- package/dist/cli/messenger/points.d.ts.map +1 -0
- package/dist/cli/messenger/points.js +40 -0
- package/dist/cli/messenger/points.js.map +1 -0
- package/dist/cli/messenger/polls-command.d.ts +8 -0
- package/dist/cli/messenger/polls-command.d.ts.map +1 -0
- package/dist/cli/messenger/polls-command.js +128 -0
- package/dist/cli/messenger/polls-command.js.map +1 -0
- package/dist/cli/messenger/port.d.ts +592 -0
- package/dist/cli/messenger/port.d.ts.map +1 -0
- package/dist/cli/messenger/port.js +24 -0
- package/dist/cli/messenger/port.js.map +1 -0
- package/dist/cli/messenger/private-files.d.ts +25 -0
- package/dist/cli/messenger/private-files.d.ts.map +1 -0
- package/dist/cli/messenger/private-files.js +28 -0
- package/dist/cli/messenger/private-files.js.map +1 -0
- package/dist/cli/messenger/private-people-command.d.ts +4 -0
- package/dist/cli/messenger/private-people-command.d.ts.map +1 -0
- package/dist/cli/messenger/private-people-command.js +70 -0
- package/dist/cli/messenger/private-people-command.js.map +1 -0
- package/dist/cli/messenger/rankings-command.d.ts +6 -0
- package/dist/cli/messenger/rankings-command.d.ts.map +1 -0
- package/dist/cli/messenger/rankings-command.js +117 -0
- package/dist/cli/messenger/rankings-command.js.map +1 -0
- package/dist/cli/messenger/reactions-command.d.ts +5 -0
- package/dist/cli/messenger/reactions-command.d.ts.map +1 -0
- package/dist/cli/messenger/reactions-command.js +26 -0
- package/dist/cli/messenger/reactions-command.js.map +1 -0
- package/dist/cli/messenger/records-command.d.ts +15 -0
- package/dist/cli/messenger/records-command.d.ts.map +1 -0
- package/dist/cli/messenger/records-command.js +151 -0
- package/dist/cli/messenger/records-command.js.map +1 -0
- package/dist/cli/messenger/replies-command.d.ts +5 -0
- package/dist/cli/messenger/replies-command.d.ts.map +1 -0
- package/dist/cli/messenger/replies-command.js +111 -0
- package/dist/cli/messenger/replies-command.js.map +1 -0
- package/dist/cli/messenger/replies-consents-command.d.ts +4 -0
- package/dist/cli/messenger/replies-consents-command.d.ts.map +1 -0
- package/dist/cli/messenger/replies-consents-command.js +57 -0
- package/dist/cli/messenger/replies-consents-command.js.map +1 -0
- package/dist/cli/messenger/replies-edit-command.d.ts +6 -0
- package/dist/cli/messenger/replies-edit-command.d.ts.map +1 -0
- package/dist/cli/messenger/replies-edit-command.js +81 -0
- package/dist/cli/messenger/replies-edit-command.js.map +1 -0
- package/dist/cli/messenger/report.d.ts +36 -0
- package/dist/cli/messenger/report.d.ts.map +1 -0
- package/dist/cli/messenger/report.js +99 -0
- package/dist/cli/messenger/report.js.map +1 -0
- package/dist/cli/messenger/retention-command.d.ts +4 -0
- package/dist/cli/messenger/retention-command.d.ts.map +1 -0
- package/dist/cli/messenger/retention-command.js +29 -0
- package/dist/cli/messenger/retention-command.js.map +1 -0
- package/dist/cli/messenger/review.d.ts +12 -0
- package/dist/cli/messenger/review.d.ts.map +1 -0
- package/dist/cli/messenger/review.js +135 -0
- package/dist/cli/messenger/review.js.map +1 -0
- package/dist/cli/messenger/schedule-command.d.ts +9 -0
- package/dist/cli/messenger/schedule-command.d.ts.map +1 -0
- package/dist/cli/messenger/schedule-command.js +214 -0
- package/dist/cli/messenger/schedule-command.js.map +1 -0
- package/dist/cli/messenger/search-backend-options.d.ts +11 -0
- package/dist/cli/messenger/search-backend-options.d.ts.map +1 -0
- package/dist/cli/messenger/search-backend-options.js +29 -0
- package/dist/cli/messenger/search-backend-options.js.map +1 -0
- package/dist/cli/messenger/search-command.d.ts +10 -0
- package/dist/cli/messenger/search-command.d.ts.map +1 -0
- package/dist/cli/messenger/search-command.js +152 -0
- package/dist/cli/messenger/search-command.js.map +1 -0
- package/dist/cli/messenger/search-sync-options.d.ts +9 -0
- package/dist/cli/messenger/search-sync-options.d.ts.map +1 -0
- package/dist/cli/messenger/search-sync-options.js +36 -0
- package/dist/cli/messenger/search-sync-options.js.map +1 -0
- package/dist/cli/messenger/searches-command.d.ts +5 -0
- package/dist/cli/messenger/searches-command.d.ts.map +1 -0
- package/dist/cli/messenger/searches-command.js +137 -0
- package/dist/cli/messenger/searches-command.js.map +1 -0
- package/dist/cli/messenger/serve-command.d.ts +10 -0
- package/dist/cli/messenger/serve-command.d.ts.map +1 -0
- package/dist/cli/messenger/serve-command.js +228 -0
- package/dist/cli/messenger/serve-command.js.map +1 -0
- package/dist/cli/messenger/serve-members.d.ts +26 -0
- package/dist/cli/messenger/serve-members.d.ts.map +1 -0
- package/dist/cli/messenger/serve-members.js +53 -0
- package/dist/cli/messenger/serve-members.js.map +1 -0
- package/dist/cli/messenger/serve-stems.d.ts +24 -0
- package/dist/cli/messenger/serve-stems.d.ts.map +1 -0
- package/dist/cli/messenger/serve-stems.js +46 -0
- package/dist/cli/messenger/serve-stems.js.map +1 -0
- package/dist/cli/messenger/server-command.d.ts +43 -0
- package/dist/cli/messenger/server-command.d.ts.map +1 -0
- package/dist/cli/messenger/server-command.js +331 -0
- package/dist/cli/messenger/server-command.js.map +1 -0
- package/dist/cli/messenger/stats-command.d.ts +5 -0
- package/dist/cli/messenger/stats-command.d.ts.map +1 -0
- package/dist/cli/messenger/stats-command.js +90 -0
- package/dist/cli/messenger/stats-command.js.map +1 -0
- package/dist/cli/messenger/stdin.d.ts +5 -0
- package/dist/cli/messenger/stdin.d.ts.map +1 -0
- package/dist/cli/messenger/stdin.js +8 -0
- package/dist/cli/messenger/stdin.js.map +1 -0
- package/dist/cli/messenger/store-maintenance-command.d.ts +22 -0
- package/dist/cli/messenger/store-maintenance-command.d.ts.map +1 -0
- package/dist/cli/messenger/store-maintenance-command.js +706 -0
- package/dist/cli/messenger/store-maintenance-command.js.map +1 -0
- package/dist/cli/messenger/stored.d.ts +28 -0
- package/dist/cli/messenger/stored.d.ts.map +1 -0
- package/dist/cli/messenger/stored.js +251 -0
- package/dist/cli/messenger/stored.js.map +1 -0
- package/dist/cli/messenger/tags-command.d.ts +5 -0
- package/dist/cli/messenger/tags-command.d.ts.map +1 -0
- package/dist/cli/messenger/tags-command.js +98 -0
- package/dist/cli/messenger/tags-command.js.map +1 -0
- package/dist/cli/messenger/tasks-command.d.ts +6 -0
- package/dist/cli/messenger/tasks-command.d.ts.map +1 -0
- package/dist/cli/messenger/tasks-command.js +235 -0
- package/dist/cli/messenger/tasks-command.js.map +1 -0
- package/dist/cli/messenger/thread-options.d.ts +7 -0
- package/dist/cli/messenger/thread-options.d.ts.map +1 -0
- package/dist/cli/messenger/thread-options.js +31 -0
- package/dist/cli/messenger/thread-options.js.map +1 -0
- package/dist/cli/messenger/thread.d.ts +2 -0
- package/dist/cli/messenger/thread.d.ts.map +1 -0
- package/dist/cli/messenger/thread.js +10 -0
- package/dist/cli/messenger/thread.js.map +1 -0
- package/dist/cli/messenger/topics-command.d.ts +7 -0
- package/dist/cli/messenger/topics-command.d.ts.map +1 -0
- package/dist/cli/messenger/topics-command.js +101 -0
- package/dist/cli/messenger/topics-command.js.map +1 -0
- package/dist/cli/messenger/transcribe-command.d.ts +5 -0
- package/dist/cli/messenger/transcribe-command.d.ts.map +1 -0
- package/dist/cli/messenger/transcribe-command.js +63 -0
- package/dist/cli/messenger/transcribe-command.js.map +1 -0
- package/dist/cli/messenger/watch-command.d.ts +24 -0
- package/dist/cli/messenger/watch-command.d.ts.map +1 -0
- package/dist/cli/messenger/watch-command.js +107 -0
- package/dist/cli/messenger/watch-command.js.map +1 -0
- package/dist/cli/paging.d.ts +54 -0
- package/dist/cli/paging.d.ts.map +1 -0
- package/dist/cli/paging.js +72 -0
- package/dist/cli/paging.js.map +1 -0
- package/dist/cli/permission-keys.d.ts +12 -0
- package/dist/cli/permission-keys.d.ts.map +1 -0
- package/dist/cli/permission-keys.js +43 -0
- package/dist/cli/permission-keys.js.map +1 -0
- package/dist/cli/permission-migration.d.ts +16 -0
- package/dist/cli/permission-migration.d.ts.map +1 -0
- package/dist/cli/permission-migration.js +150 -0
- package/dist/cli/permission-migration.js.map +1 -0
- package/dist/cli/preview.d.ts +35 -0
- package/dist/cli/preview.d.ts.map +1 -0
- package/dist/cli/preview.js +40 -0
- package/dist/cli/preview.js.map +1 -0
- package/dist/cli/profile.d.ts +28 -0
- package/dist/cli/profile.d.ts.map +1 -0
- package/dist/cli/profile.js +53 -0
- package/dist/cli/profile.js.map +1 -0
- package/dist/cli/program.d.ts +33 -0
- package/dist/cli/program.d.ts.map +1 -0
- package/dist/cli/program.js +359 -0
- package/dist/cli/program.js.map +1 -0
- package/dist/cli/reasons.d.ts +17 -0
- package/dist/cli/reasons.d.ts.map +1 -0
- package/dist/cli/reasons.js +137 -0
- package/dist/cli/reasons.js.map +1 -0
- package/dist/cli/recovery.d.ts +8 -0
- package/dist/cli/recovery.d.ts.map +1 -0
- package/dist/cli/recovery.js +70 -0
- package/dist/cli/recovery.js.map +1 -0
- package/dist/cli/registry-keys.d.ts +8 -0
- package/dist/cli/registry-keys.d.ts.map +1 -0
- package/dist/cli/registry-keys.js +19 -0
- package/dist/cli/registry-keys.js.map +1 -0
- package/dist/cli/result-fields.d.ts +4 -0
- package/dist/cli/result-fields.d.ts.map +1 -0
- package/dist/cli/result-fields.js +23 -0
- package/dist/cli/result-fields.js.map +1 -0
- package/dist/cli/runs/command.d.ts +5 -0
- package/dist/cli/runs/command.d.ts.map +1 -0
- package/dist/cli/runs/command.js +75 -0
- package/dist/cli/runs/command.js.map +1 -0
- package/dist/cli/runs/events.d.ts +61 -0
- package/dist/cli/runs/events.d.ts.map +1 -0
- package/dist/cli/runs/events.js +52 -0
- package/dist/cli/runs/events.js.map +1 -0
- package/dist/cli/runs/recording.d.ts +51 -0
- package/dist/cli/runs/recording.d.ts.map +1 -0
- package/dist/cli/runs/recording.js +152 -0
- package/dist/cli/runs/recording.js.map +1 -0
- package/dist/cli/runs/run.d.ts +121 -0
- package/dist/cli/runs/run.d.ts.map +1 -0
- package/dist/cli/runs/run.js +253 -0
- package/dist/cli/runs/run.js.map +1 -0
- package/dist/cli/runs/scope.d.ts +13 -0
- package/dist/cli/runs/scope.d.ts.map +1 -0
- package/dist/cli/runs/scope.js +17 -0
- package/dist/cli/runs/scope.js.map +1 -0
- package/dist/cli/runs/search.d.ts +46 -0
- package/dist/cli/runs/search.d.ts.map +1 -0
- package/dist/cli/runs/search.js +104 -0
- package/dist/cli/runs/search.js.map +1 -0
- package/dist/cli/settings.d.ts +250 -0
- package/dist/cli/settings.d.ts.map +1 -0
- package/dist/cli/settings.js +464 -0
- package/dist/cli/settings.js.map +1 -0
- package/dist/cli/skill-command.d.ts +8 -0
- package/dist/cli/skill-command.d.ts.map +1 -0
- package/dist/cli/skill-command.js +16 -0
- package/dist/cli/skill-command.js.map +1 -0
- package/dist/cli/steps.d.ts +24 -0
- package/dist/cli/steps.d.ts.map +1 -0
- package/dist/cli/steps.js +65 -0
- package/dist/cli/steps.js.map +1 -0
- package/dist/cli/store-settings.d.ts +34 -0
- package/dist/cli/store-settings.d.ts.map +1 -0
- package/dist/cli/store-settings.js +96 -0
- package/dist/cli/store-settings.js.map +1 -0
- package/dist/cli/upgrade-command.d.ts +10 -0
- package/dist/cli/upgrade-command.d.ts.map +1 -0
- package/dist/cli/upgrade-command.js +52 -0
- package/dist/cli/upgrade-command.js.map +1 -0
- package/dist/conversations/chunks.d.ts +56 -0
- package/dist/conversations/chunks.d.ts.map +1 -0
- package/dist/conversations/chunks.js +137 -0
- package/dist/conversations/chunks.js.map +1 -0
- package/dist/conversations/link.d.ts +37 -0
- package/dist/conversations/link.d.ts.map +1 -0
- package/dist/conversations/link.js +103 -0
- package/dist/conversations/link.js.map +1 -0
- package/dist/conversations/mail-text.d.ts +7 -0
- package/dist/conversations/mail-text.d.ts.map +1 -0
- package/dist/conversations/mail-text.js +89 -0
- package/dist/conversations/mail-text.js.map +1 -0
- package/dist/documents.d.ts +8 -0
- package/dist/documents.d.ts.map +1 -0
- package/dist/documents.js +5 -0
- package/dist/documents.js.map +1 -0
- package/dist/domain/admin-statistics.d.ts +79 -0
- package/dist/domain/admin-statistics.d.ts.map +1 -0
- package/dist/domain/admin-statistics.js +201 -0
- package/dist/domain/admin-statistics.js.map +1 -0
- package/dist/domain/attachments.d.ts +25 -0
- package/dist/domain/attachments.d.ts.map +1 -0
- package/dist/domain/attachments.js +30 -0
- package/dist/domain/attachments.js.map +1 -0
- package/dist/domain/channel-tags.d.ts +13 -0
- package/dist/domain/channel-tags.d.ts.map +1 -0
- package/dist/domain/channel-tags.js +17 -0
- package/dist/domain/channel-tags.js.map +1 -0
- package/dist/domain/counters.d.ts +24 -0
- package/dist/domain/counters.d.ts.map +1 -0
- package/dist/domain/counters.js +42 -0
- package/dist/domain/counters.js.map +1 -0
- package/dist/domain/formatting.d.ts +20 -0
- package/dist/domain/formatting.d.ts.map +1 -0
- package/dist/domain/formatting.js +71 -0
- package/dist/domain/formatting.js.map +1 -0
- package/dist/domain/google-documents.d.ts +9 -0
- package/dist/domain/google-documents.d.ts.map +1 -0
- package/dist/domain/google-documents.js +44 -0
- package/dist/domain/google-documents.js.map +1 -0
- package/dist/domain/locator.d.ts +17 -0
- package/dist/domain/locator.d.ts.map +1 -0
- package/dist/domain/locator.js +15 -0
- package/dist/domain/locator.js.map +1 -0
- package/dist/domain/markdown.d.ts +19 -0
- package/dist/domain/markdown.d.ts.map +1 -0
- package/dist/domain/markdown.js +53 -0
- package/dist/domain/markdown.js.map +1 -0
- package/dist/domain/meeting-reference.d.ts +12 -0
- package/dist/domain/meeting-reference.d.ts.map +1 -0
- package/dist/domain/meeting-reference.js +37 -0
- package/dist/domain/meeting-reference.js.map +1 -0
- package/dist/domain/message-link.d.ts +23 -0
- package/dist/domain/message-link.d.ts.map +1 -0
- package/dist/domain/message-link.js +58 -0
- package/dist/domain/message-link.js.map +1 -0
- package/dist/domain/models.d.ts +776 -0
- package/dist/domain/models.d.ts.map +1 -0
- package/dist/domain/models.js +14 -0
- package/dist/domain/models.js.map +1 -0
- package/dist/domain/providers.d.ts +21 -0
- package/dist/domain/providers.d.ts.map +1 -0
- package/dist/domain/providers.js +25 -0
- package/dist/domain/providers.js.map +1 -0
- package/dist/domain/rankings-graph.d.ts +66 -0
- package/dist/domain/rankings-graph.d.ts.map +1 -0
- package/dist/domain/rankings-graph.js +241 -0
- package/dist/domain/rankings-graph.js.map +1 -0
- package/dist/domain/rankings-options.d.ts +38 -0
- package/dist/domain/rankings-options.d.ts.map +1 -0
- package/dist/domain/rankings-options.js +157 -0
- package/dist/domain/rankings-options.js.map +1 -0
- package/dist/domain/rankings-range.d.ts +5 -0
- package/dist/domain/rankings-range.d.ts.map +1 -0
- package/dist/domain/rankings-range.js +23 -0
- package/dist/domain/rankings-range.js.map +1 -0
- package/dist/domain/recovery.d.ts +15 -0
- package/dist/domain/recovery.d.ts.map +1 -0
- package/dist/domain/recovery.js +2 -0
- package/dist/domain/recovery.js.map +1 -0
- package/dist/domain/references.d.ts +42 -0
- package/dist/domain/references.d.ts.map +1 -0
- package/dist/domain/references.js +86 -0
- package/dist/domain/references.js.map +1 -0
- package/dist/domain/retention.d.ts +66 -0
- package/dist/domain/retention.d.ts.map +1 -0
- package/dist/domain/retention.js +73 -0
- package/dist/domain/retention.js.map +1 -0
- package/dist/domain/send-time.d.ts +8 -0
- package/dist/domain/send-time.d.ts.map +1 -0
- package/dist/domain/send-time.js +29 -0
- package/dist/domain/send-time.js.map +1 -0
- package/dist/domain/tags.d.ts +6 -0
- package/dist/domain/tags.d.ts.map +1 -0
- package/dist/domain/tags.js +15 -0
- package/dist/domain/tags.js.map +1 -0
- package/dist/domain/vocabulary.d.ts +5 -0
- package/dist/domain/vocabulary.d.ts.map +1 -0
- package/dist/domain/vocabulary.js +34 -0
- package/dist/domain/vocabulary.js.map +1 -0
- package/dist/embeddings/child.d.ts +2 -0
- package/dist/embeddings/child.d.ts.map +1 -0
- package/dist/embeddings/child.js +19 -0
- package/dist/embeddings/child.js.map +1 -0
- package/dist/embeddings/embed.d.ts +36 -0
- package/dist/embeddings/embed.d.ts.map +1 -0
- package/dist/embeddings/embed.js +140 -0
- package/dist/embeddings/embed.js.map +1 -0
- package/dist/embeddings/models.d.ts +37 -0
- package/dist/embeddings/models.d.ts.map +1 -0
- package/dist/embeddings/models.js +90 -0
- package/dist/embeddings/models.js.map +1 -0
- package/dist/embeddings/pool.d.ts +17 -0
- package/dist/embeddings/pool.d.ts.map +1 -0
- package/dist/embeddings/pool.js +22 -0
- package/dist/embeddings/pool.js.map +1 -0
- package/dist/embeddings/process.d.ts +11 -0
- package/dist/embeddings/process.d.ts.map +1 -0
- package/dist/embeddings/process.js +67 -0
- package/dist/embeddings/process.js.map +1 -0
- package/dist/embeddings/remote.d.ts +43 -0
- package/dist/embeddings/remote.d.ts.map +1 -0
- package/dist/embeddings/remote.js +110 -0
- package/dist/embeddings/remote.js.map +1 -0
- package/dist/embeddings/worker.d.ts +2 -0
- package/dist/embeddings/worker.d.ts.map +1 -0
- package/dist/embeddings/worker.js +22 -0
- package/dist/embeddings/worker.js.map +1 -0
- package/dist/embeddings/workers.d.ts +8 -0
- package/dist/embeddings/workers.d.ts.map +1 -0
- package/dist/embeddings/workers.js +51 -0
- package/dist/embeddings/workers.js.map +1 -0
- package/dist/entities/account.d.ts +11 -0
- package/dist/entities/account.d.ts.map +1 -0
- package/dist/entities/account.js +12 -0
- package/dist/entities/account.js.map +1 -0
- package/dist/entities/attachment.d.ts +26 -0
- package/dist/entities/attachment.d.ts.map +1 -0
- package/dist/entities/attachment.js +22 -0
- package/dist/entities/attachment.js.map +1 -0
- package/dist/entities/chat.d.ts +20 -0
- package/dist/entities/chat.d.ts.map +1 -0
- package/dist/entities/chat.js +21 -0
- package/dist/entities/chat.js.map +1 -0
- package/dist/entities/contact.d.ts +15 -0
- package/dist/entities/contact.d.ts.map +1 -0
- package/dist/entities/contact.js +16 -0
- package/dist/entities/contact.js.map +1 -0
- package/dist/entities/document.d.ts +16 -0
- package/dist/entities/document.d.ts.map +1 -0
- package/dist/entities/document.js +17 -0
- package/dist/entities/document.js.map +1 -0
- package/dist/entities/fact.d.ts +25 -0
- package/dist/entities/fact.d.ts.map +1 -0
- package/dist/entities/fact.js +24 -0
- package/dist/entities/fact.js.map +1 -0
- package/dist/entities/fields.d.ts +14 -0
- package/dist/entities/fields.d.ts.map +1 -0
- package/dist/entities/fields.js +14 -0
- package/dist/entities/fields.js.map +1 -0
- package/dist/entities/identity.d.ts +14 -0
- package/dist/entities/identity.d.ts.map +1 -0
- package/dist/entities/identity.js +15 -0
- package/dist/entities/identity.js.map +1 -0
- package/dist/entities/index.d.ts +995 -0
- package/dist/entities/index.d.ts.map +1 -0
- package/dist/entities/index.js +46 -0
- package/dist/entities/index.js.map +1 -0
- package/dist/entities/meeting.d.ts +20 -0
- package/dist/entities/meeting.d.ts.map +1 -0
- package/dist/entities/meeting.js +21 -0
- package/dist/entities/meeting.js.map +1 -0
- package/dist/entities/memory.d.ts +23 -0
- package/dist/entities/memory.d.ts.map +1 -0
- package/dist/entities/memory.js +21 -0
- package/dist/entities/memory.js.map +1 -0
- package/dist/entities/message.d.ts +149 -0
- package/dist/entities/message.d.ts.map +1 -0
- package/dist/entities/message.js +65 -0
- package/dist/entities/message.js.map +1 -0
- package/dist/entities/note.d.ts +15 -0
- package/dist/entities/note.d.ts.map +1 -0
- package/dist/entities/note.js +16 -0
- package/dist/entities/note.js.map +1 -0
- package/dist/entities/person.d.ts +16 -0
- package/dist/entities/person.d.ts.map +1 -0
- package/dist/entities/person.js +10 -0
- package/dist/entities/person.js.map +1 -0
- package/dist/entities/task.d.ts +24 -0
- package/dist/entities/task.d.ts.map +1 -0
- package/dist/entities/task.js +27 -0
- package/dist/entities/task.js.map +1 -0
- package/dist/files/index.d.ts +5 -0
- package/dist/files/index.d.ts.map +1 -0
- package/dist/files/index.js +64 -0
- package/dist/files/index.js.map +1 -0
- package/dist/images/context/index.d.ts +12 -0
- package/dist/images/context/index.d.ts.map +1 -0
- package/dist/images/context/index.js +31 -0
- package/dist/images/context/index.js.map +1 -0
- package/dist/images/registry.d.ts +7 -0
- package/dist/images/registry.d.ts.map +1 -0
- package/dist/images/registry.js +22 -0
- package/dist/images/registry.js.map +1 -0
- package/dist/images/types.d.ts +39 -0
- package/dist/images/types.d.ts.map +1 -0
- package/dist/images/types.js +2 -0
- package/dist/images/types.js.map +1 -0
- package/dist/index.d.ts +22 -19
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +15 -18
- package/dist/index.js.map +1 -1
- package/dist/kit/contract.d.ts +39 -0
- package/dist/kit/contract.d.ts.map +1 -0
- package/dist/kit/contract.js +462 -0
- package/dist/kit/contract.js.map +1 -0
- package/dist/kit/fake.d.ts +8 -0
- package/dist/kit/fake.d.ts.map +1 -0
- package/dist/kit/fake.js +488 -0
- package/dist/kit/fake.js.map +1 -0
- package/dist/kit/index.d.ts +6 -0
- package/dist/kit/index.d.ts.map +1 -0
- package/dist/kit/index.js +6 -0
- package/dist/kit/index.js.map +1 -0
- package/dist/kit/mcp-commands-client.d.ts +7 -0
- package/dist/kit/mcp-commands-client.d.ts.map +1 -0
- package/dist/kit/mcp-commands-client.js +50 -0
- package/dist/kit/mcp-commands-client.js.map +1 -0
- package/dist/kit/search-recipes.d.ts +40 -0
- package/dist/kit/search-recipes.d.ts.map +1 -0
- package/dist/kit/search-recipes.js +33 -0
- package/dist/kit/search-recipes.js.map +1 -0
- package/dist/kit/seed.d.ts +38 -0
- package/dist/kit/seed.d.ts.map +1 -0
- package/dist/kit/seed.js +83 -0
- package/dist/kit/seed.js.map +1 -0
- package/dist/mcp/agent-log.d.ts +9 -0
- package/dist/mcp/agent-log.d.ts.map +1 -0
- package/dist/mcp/agent-log.js +19 -0
- package/dist/mcp/agent-log.js.map +1 -0
- package/dist/mcp/bot/instructions.d.ts +11 -0
- package/dist/mcp/bot/instructions.d.ts.map +1 -0
- package/dist/mcp/bot/instructions.js +16 -0
- package/dist/mcp/bot/instructions.js.map +1 -0
- package/dist/mcp/bot/server.d.ts +36 -0
- package/dist/mcp/bot/server.d.ts.map +1 -0
- package/dist/mcp/bot/server.js +139 -0
- package/dist/mcp/bot/server.js.map +1 -0
- package/dist/mcp/bot/tools.d.ts +49 -0
- package/dist/mcp/bot/tools.d.ts.map +1 -0
- package/dist/mcp/bot/tools.js +244 -0
- package/dist/mcp/bot/tools.js.map +1 -0
- package/dist/mcp/http/node.d.ts +17 -0
- package/dist/mcp/http/node.d.ts.map +1 -0
- package/dist/mcp/http/node.js +74 -0
- package/dist/mcp/http/node.js.map +1 -0
- package/dist/mcp/http/oauth.d.ts +25 -0
- package/dist/mcp/http/oauth.d.ts.map +1 -0
- package/dist/mcp/http/oauth.js +282 -0
- package/dist/mcp/http/oauth.js.map +1 -0
- package/dist/mcp/http/serve.d.ts +21 -0
- package/dist/mcp/http/serve.d.ts.map +1 -0
- package/dist/mcp/http/serve.js +119 -0
- package/dist/mcp/http/serve.js.map +1 -0
- package/dist/mcp/instructions.d.ts +16 -0
- package/dist/mcp/instructions.d.ts.map +1 -0
- package/dist/mcp/instructions.js +33 -0
- package/dist/mcp/instructions.js.map +1 -0
- package/dist/mcp/personal.d.ts +8 -0
- package/dist/mcp/personal.d.ts.map +1 -0
- package/dist/mcp/personal.js +21 -0
- package/dist/mcp/personal.js.map +1 -0
- package/dist/mcp/prompts.d.ts +15 -0
- package/dist/mcp/prompts.d.ts.map +1 -0
- package/dist/mcp/prompts.js +119 -0
- package/dist/mcp/prompts.js.map +1 -0
- package/dist/mcp/resources.d.ts +26 -0
- package/dist/mcp/resources.d.ts.map +1 -0
- package/dist/mcp/resources.js +52 -0
- package/dist/mcp/resources.js.map +1 -0
- package/dist/mcp/search-sync.d.ts +12 -0
- package/dist/mcp/search-sync.d.ts.map +1 -0
- package/dist/mcp/search-sync.js +18 -0
- package/dist/mcp/search-sync.js.map +1 -0
- package/dist/mcp/server.d.ts +32 -0
- package/dist/mcp/server.d.ts.map +1 -0
- package/dist/mcp/server.js +191 -0
- package/dist/mcp/server.js.map +1 -0
- package/dist/mcp/session.d.ts +34 -0
- package/dist/mcp/session.d.ts.map +1 -0
- package/dist/mcp/session.js +82 -0
- package/dist/mcp/session.js.map +1 -0
- package/dist/mcp/surface.d.ts +32 -0
- package/dist/mcp/surface.d.ts.map +1 -0
- package/dist/mcp/surface.js +142 -0
- package/dist/mcp/surface.js.map +1 -0
- package/dist/mcp/text.d.ts +3 -0
- package/dist/mcp/text.d.ts.map +1 -0
- package/dist/mcp/text.js +10 -0
- package/dist/mcp/text.js.map +1 -0
- package/dist/mcp/thread-options.d.ts +19 -0
- package/dist/mcp/thread-options.d.ts.map +1 -0
- package/dist/mcp/thread-options.js +20 -0
- package/dist/mcp/thread-options.js.map +1 -0
- package/dist/mcp/tool.d.ts +177 -0
- package/dist/mcp/tool.d.ts.map +1 -0
- package/dist/mcp/tool.js +294 -0
- package/dist/mcp/tool.js.map +1 -0
- package/dist/mcp/tools/account.d.ts +4 -0
- package/dist/mcp/tools/account.d.ts.map +1 -0
- package/dist/mcp/tools/account.js +27 -0
- package/dist/mcp/tools/account.js.map +1 -0
- package/dist/mcp/tools/admin-statistics.d.ts +4 -0
- package/dist/mcp/tools/admin-statistics.d.ts.map +1 -0
- package/dist/mcp/tools/admin-statistics.js +154 -0
- package/dist/mcp/tools/admin-statistics.js.map +1 -0
- package/dist/mcp/tools/admin.d.ts +5 -0
- package/dist/mcp/tools/admin.d.ts.map +1 -0
- package/dist/mcp/tools/admin.js +239 -0
- package/dist/mcp/tools/admin.js.map +1 -0
- package/dist/mcp/tools/attachments.d.ts +4 -0
- package/dist/mcp/tools/attachments.d.ts.map +1 -0
- package/dist/mcp/tools/attachments.js +192 -0
- package/dist/mcp/tools/attachments.js.map +1 -0
- package/dist/mcp/tools/chats-read.d.ts +4 -0
- package/dist/mcp/tools/chats-read.d.ts.map +1 -0
- package/dist/mcp/tools/chats-read.js +25 -0
- package/dist/mcp/tools/chats-read.js.map +1 -0
- package/dist/mcp/tools/chats.d.ts +4 -0
- package/dist/mcp/tools/chats.d.ts.map +1 -0
- package/dist/mcp/tools/chats.js +186 -0
- package/dist/mcp/tools/chats.js.map +1 -0
- package/dist/mcp/tools/contacts-write.d.ts +5 -0
- package/dist/mcp/tools/contacts-write.d.ts.map +1 -0
- package/dist/mcp/tools/contacts-write.js +52 -0
- package/dist/mcp/tools/contacts-write.js.map +1 -0
- package/dist/mcp/tools/contacts.d.ts +4 -0
- package/dist/mcp/tools/contacts.d.ts.map +1 -0
- package/dist/mcp/tools/contacts.js +156 -0
- package/dist/mcp/tools/contacts.js.map +1 -0
- package/dist/mcp/tools/conversations.d.ts +5 -0
- package/dist/mcp/tools/conversations.d.ts.map +1 -0
- package/dist/mcp/tools/conversations.js +265 -0
- package/dist/mcp/tools/conversations.js.map +1 -0
- package/dist/mcp/tools/folders.d.ts +5 -0
- package/dist/mcp/tools/folders.d.ts.map +1 -0
- package/dist/mcp/tools/folders.js +102 -0
- package/dist/mcp/tools/folders.js.map +1 -0
- package/dist/mcp/tools/inbox.d.ts +6 -0
- package/dist/mcp/tools/inbox.d.ts.map +1 -0
- package/dist/mcp/tools/inbox.js +67 -0
- package/dist/mcp/tools/inbox.js.map +1 -0
- package/dist/mcp/tools/messages-actions.d.ts +5 -0
- package/dist/mcp/tools/messages-actions.d.ts.map +1 -0
- package/dist/mcp/tools/messages-actions.js +83 -0
- package/dist/mcp/tools/messages-actions.js.map +1 -0
- package/dist/mcp/tools/messages-delete.d.ts +4 -0
- package/dist/mcp/tools/messages-delete.d.ts.map +1 -0
- package/dist/mcp/tools/messages-delete.js +22 -0
- package/dist/mcp/tools/messages-delete.js.map +1 -0
- package/dist/mcp/tools/messages-photo.d.ts +6 -0
- package/dist/mcp/tools/messages-photo.d.ts.map +1 -0
- package/dist/mcp/tools/messages-photo.js +60 -0
- package/dist/mcp/tools/messages-photo.js.map +1 -0
- package/dist/mcp/tools/messages-send.d.ts +8 -0
- package/dist/mcp/tools/messages-send.d.ts.map +1 -0
- package/dist/mcp/tools/messages-send.js +91 -0
- package/dist/mcp/tools/messages-send.js.map +1 -0
- package/dist/mcp/tools/messages-transcribe.d.ts +4 -0
- package/dist/mcp/tools/messages-transcribe.d.ts.map +1 -0
- package/dist/mcp/tools/messages-transcribe.js +31 -0
- package/dist/mcp/tools/messages-transcribe.js.map +1 -0
- package/dist/mcp/tools/messages.d.ts +4 -0
- package/dist/mcp/tools/messages.d.ts.map +1 -0
- package/dist/mcp/tools/messages.js +178 -0
- package/dist/mcp/tools/messages.js.map +1 -0
- package/dist/mcp/tools/moderation.d.ts +8 -0
- package/dist/mcp/tools/moderation.d.ts.map +1 -0
- package/dist/mcp/tools/moderation.js +35 -0
- package/dist/mcp/tools/moderation.js.map +1 -0
- package/dist/mcp/tools/polls.d.ts +6 -0
- package/dist/mcp/tools/polls.d.ts.map +1 -0
- package/dist/mcp/tools/polls.js +108 -0
- package/dist/mcp/tools/polls.js.map +1 -0
- package/dist/mcp/tools/private-people.d.ts +4 -0
- package/dist/mcp/tools/private-people.d.ts.map +1 -0
- package/dist/mcp/tools/private-people.js +109 -0
- package/dist/mcp/tools/private-people.js.map +1 -0
- package/dist/mcp/tools/rankings.d.ts +4 -0
- package/dist/mcp/tools/rankings.d.ts.map +1 -0
- package/dist/mcp/tools/rankings.js +107 -0
- package/dist/mcp/tools/rankings.js.map +1 -0
- package/dist/mcp/tools/reactions.d.ts +5 -0
- package/dist/mcp/tools/reactions.d.ts.map +1 -0
- package/dist/mcp/tools/reactions.js +32 -0
- package/dist/mcp/tools/reactions.js.map +1 -0
- package/dist/mcp/tools/review.d.ts +4 -0
- package/dist/mcp/tools/review.d.ts.map +1 -0
- package/dist/mcp/tools/review.js +71 -0
- package/dist/mcp/tools/review.js.map +1 -0
- package/dist/mcp/tools/runs.d.ts +4 -0
- package/dist/mcp/tools/runs.d.ts.map +1 -0
- package/dist/mcp/tools/runs.js +28 -0
- package/dist/mcp/tools/runs.js.map +1 -0
- package/dist/mcp/tools/search-tools.d.ts +5 -0
- package/dist/mcp/tools/search-tools.d.ts.map +1 -0
- package/dist/mcp/tools/search-tools.js +128 -0
- package/dist/mcp/tools/search-tools.js.map +1 -0
- package/dist/mcp/tools/search.d.ts +136 -0
- package/dist/mcp/tools/search.d.ts.map +1 -0
- package/dist/mcp/tools/search.js +169 -0
- package/dist/mcp/tools/search.js.map +1 -0
- package/dist/mcp/tools/searches.d.ts +4 -0
- package/dist/mcp/tools/searches.d.ts.map +1 -0
- package/dist/mcp/tools/searches.js +91 -0
- package/dist/mcp/tools/searches.js.map +1 -0
- package/dist/mcp/tools/stats.d.ts +4 -0
- package/dist/mcp/tools/stats.d.ts.map +1 -0
- package/dist/mcp/tools/stats.js +45 -0
- package/dist/mcp/tools/stats.js.map +1 -0
- package/dist/mcp/tools/store.d.ts +4 -0
- package/dist/mcp/tools/store.d.ts.map +1 -0
- package/dist/mcp/tools/store.js +152 -0
- package/dist/mcp/tools/store.js.map +1 -0
- package/dist/mcp/tools/tags.d.ts +4 -0
- package/dist/mcp/tools/tags.d.ts.map +1 -0
- package/dist/mcp/tools/tags.js +55 -0
- package/dist/mcp/tools/tags.js.map +1 -0
- package/dist/mcp/tools/tasks.d.ts +4 -0
- package/dist/mcp/tools/tasks.d.ts.map +1 -0
- package/dist/mcp/tools/tasks.js +162 -0
- package/dist/mcp/tools/tasks.js.map +1 -0
- package/dist/mcp/tools/topics.d.ts +5 -0
- package/dist/mcp/tools/topics.d.ts.map +1 -0
- package/dist/mcp/tools/topics.js +122 -0
- package/dist/mcp/tools/topics.js.map +1 -0
- package/dist/mcp/tools.d.ts +16 -0
- package/dist/mcp/tools.d.ts.map +1 -0
- package/dist/mcp/tools.js +79 -0
- package/dist/mcp/tools.js.map +1 -0
- package/dist/meetings/cli/index.d.ts +17 -0
- package/dist/meetings/cli/index.d.ts.map +1 -0
- package/dist/meetings/cli/index.js +128 -0
- package/dist/meetings/cli/index.js.map +1 -0
- package/dist/meetings/cli/passage.d.ts +9 -0
- package/dist/meetings/cli/passage.d.ts.map +1 -0
- package/dist/meetings/cli/passage.js +46 -0
- package/dist/meetings/cli/passage.js.map +1 -0
- package/dist/meetings/cli/search.d.ts +28 -0
- package/dist/meetings/cli/search.d.ts.map +1 -0
- package/dist/meetings/cli/search.js +72 -0
- package/dist/meetings/cli/search.js.map +1 -0
- package/dist/meetings/context-store.d.ts +47 -0
- package/dist/meetings/context-store.d.ts.map +1 -0
- package/dist/meetings/context-store.js +2 -0
- package/dist/meetings/context-store.js.map +1 -0
- package/dist/meetings/events.d.ts +4 -0
- package/dist/meetings/events.d.ts.map +1 -0
- package/dist/meetings/events.js +40 -0
- package/dist/meetings/events.js.map +1 -0
- package/dist/meetings/export.d.ts +17 -0
- package/dist/meetings/export.d.ts.map +1 -0
- package/dist/meetings/export.js +98 -0
- package/dist/meetings/export.js.map +1 -0
- package/dist/meetings/import.d.ts +11 -0
- package/dist/meetings/import.d.ts.map +1 -0
- package/dist/meetings/import.js +31 -0
- package/dist/meetings/import.js.map +1 -0
- package/dist/meetings/index.d.ts +24 -0
- package/dist/meetings/index.d.ts.map +1 -0
- package/dist/meetings/index.js +17 -0
- package/dist/meetings/index.js.map +1 -0
- package/dist/meetings/ingest.d.ts +7 -0
- package/dist/meetings/ingest.d.ts.map +1 -0
- package/dist/meetings/ingest.js +36 -0
- package/dist/meetings/ingest.js.map +1 -0
- package/dist/meetings/mcp/index.d.ts +577 -0
- package/dist/meetings/mcp/index.d.ts.map +1 -0
- package/dist/meetings/mcp/index.js +138 -0
- package/dist/meetings/mcp/index.js.map +1 -0
- package/dist/meetings/mcp/passage.d.ts +86 -0
- package/dist/meetings/mcp/passage.d.ts.map +1 -0
- package/dist/meetings/mcp/passage.js +51 -0
- package/dist/meetings/mcp/passage.js.map +1 -0
- package/dist/meetings/mcp/search.d.ts +122 -0
- package/dist/meetings/mcp/search.d.ts.map +1 -0
- package/dist/meetings/mcp/search.js +66 -0
- package/dist/meetings/mcp/search.js.map +1 -0
- package/dist/meetings/meeting-context.d.ts +61 -0
- package/dist/meetings/meeting-context.d.ts.map +1 -0
- package/dist/meetings/meeting-context.js +134 -0
- package/dist/meetings/meeting-context.js.map +1 -0
- package/dist/meetings/meeting-management.d.ts +76 -0
- package/dist/meetings/meeting-management.d.ts.map +1 -0
- package/dist/meetings/meeting-management.js +152 -0
- package/dist/meetings/meeting-management.js.map +1 -0
- package/dist/meetings/model.d.ts +199 -0
- package/dist/meetings/model.d.ts.map +1 -0
- package/dist/meetings/model.js +2 -0
- package/dist/meetings/model.js.map +1 -0
- package/dist/meetings/passage.d.ts +68 -0
- package/dist/meetings/passage.d.ts.map +1 -0
- package/dist/meetings/passage.js +25 -0
- package/dist/meetings/passage.js.map +1 -0
- package/dist/meetings/provider.d.ts +6 -0
- package/dist/meetings/provider.d.ts.map +1 -0
- package/dist/meetings/provider.js +16 -0
- package/dist/meetings/provider.js.map +1 -0
- package/dist/meetings/pull.d.ts +21 -0
- package/dist/meetings/pull.d.ts.map +1 -0
- package/dist/meetings/pull.js +129 -0
- package/dist/meetings/pull.js.map +1 -0
- package/dist/meetings/reads.d.ts +44 -0
- package/dist/meetings/reads.d.ts.map +1 -0
- package/dist/meetings/reads.js +53 -0
- package/dist/meetings/reads.js.map +1 -0
- package/dist/meetings/recording-schedule.d.ts +49 -0
- package/dist/meetings/recording-schedule.d.ts.map +1 -0
- package/dist/meetings/recording-schedule.js +114 -0
- package/dist/meetings/recording-schedule.js.map +1 -0
- package/dist/meetings/recording-source.d.ts +58 -0
- package/dist/meetings/recording-source.d.ts.map +1 -0
- package/dist/meetings/recording-source.js +2 -0
- package/dist/meetings/recording-source.js.map +1 -0
- package/dist/meetings/recording-sync.d.ts +56 -0
- package/dist/meetings/recording-sync.d.ts.map +1 -0
- package/dist/meetings/recording-sync.js +377 -0
- package/dist/meetings/recording-sync.js.map +1 -0
- package/dist/meetings/recording-transfer.d.ts +59 -0
- package/dist/meetings/recording-transfer.d.ts.map +1 -0
- package/dist/meetings/recording-transfer.js +196 -0
- package/dist/meetings/recording-transfer.js.map +1 -0
- package/dist/meetings/save-hints.d.ts +7 -0
- package/dist/meetings/save-hints.d.ts.map +1 -0
- package/dist/meetings/save-hints.js +9 -0
- package/dist/meetings/save-hints.js.map +1 -0
- package/dist/meetings/search-store.d.ts +59 -0
- package/dist/meetings/search-store.d.ts.map +1 -0
- package/dist/meetings/search-store.js +2 -0
- package/dist/meetings/search-store.js.map +1 -0
- package/dist/meetings/search-validation.d.ts +5 -0
- package/dist/meetings/search-validation.d.ts.map +1 -0
- package/dist/meetings/search-validation.js +32 -0
- package/dist/meetings/search-validation.js.map +1 -0
- package/dist/meetings/source.d.ts +27 -0
- package/dist/meetings/source.d.ts.map +1 -0
- package/dist/meetings/source.js +2 -0
- package/dist/meetings/source.js.map +1 -0
- package/dist/meetings/store.d.ts +96 -0
- package/dist/meetings/store.d.ts.map +1 -0
- package/dist/meetings/store.js +2 -0
- package/dist/meetings/store.js.map +1 -0
- package/dist/meetings/testing/contract.d.ts +4 -0
- package/dist/meetings/testing/contract.d.ts.map +1 -0
- package/dist/meetings/testing/contract.js +266 -0
- package/dist/meetings/testing/contract.js.map +1 -0
- package/dist/meetings/testing/index.d.ts +10 -0
- package/dist/meetings/testing/index.d.ts.map +1 -0
- package/dist/meetings/testing/index.js +10 -0
- package/dist/meetings/testing/index.js.map +1 -0
- package/dist/meetings/testing/management-contract.d.ts +11 -0
- package/dist/meetings/testing/management-contract.d.ts.map +1 -0
- package/dist/meetings/testing/management-contract.js +95 -0
- package/dist/meetings/testing/management-contract.js.map +1 -0
- package/dist/meetings/testing/memory.d.ts +4 -0
- package/dist/meetings/testing/memory.d.ts.map +1 -0
- package/dist/meetings/testing/memory.js +343 -0
- package/dist/meetings/testing/memory.js.map +1 -0
- package/dist/meetings/testing/recording-sync-contract.d.ts +8 -0
- package/dist/meetings/testing/recording-sync-contract.d.ts.map +1 -0
- package/dist/meetings/testing/recording-sync-contract.js +90 -0
- package/dist/meetings/testing/recording-sync-contract.js.map +1 -0
- package/dist/meetings/testing/recording-sync-memory.d.ts +3 -0
- package/dist/meetings/testing/recording-sync-memory.d.ts.map +1 -0
- package/dist/meetings/testing/recording-sync-memory.js +37 -0
- package/dist/meetings/testing/recording-sync-memory.js.map +1 -0
- package/dist/meetings/testing/recording-transfer-contract.d.ts +10 -0
- package/dist/meetings/testing/recording-transfer-contract.d.ts.map +1 -0
- package/dist/meetings/testing/recording-transfer-contract.js +83 -0
- package/dist/meetings/testing/recording-transfer-contract.js.map +1 -0
- package/dist/meetings/testing/samples.d.ts +11 -0
- package/dist/meetings/testing/samples.d.ts.map +1 -0
- package/dist/meetings/testing/samples.js +134 -0
- package/dist/meetings/testing/samples.js.map +1 -0
- package/dist/meetings/testing/source.d.ts +3 -0
- package/dist/meetings/testing/source.d.ts.map +1 -0
- package/dist/meetings/testing/source.js +35 -0
- package/dist/meetings/testing/source.js.map +1 -0
- package/dist/meetings/testing/transcript-contract.d.ts +5 -0
- package/dist/meetings/testing/transcript-contract.d.ts.map +1 -0
- package/dist/meetings/testing/transcript-contract.js +143 -0
- package/dist/meetings/testing/transcript-contract.js.map +1 -0
- package/dist/meetings/transcript-store.d.ts +38 -0
- package/dist/meetings/transcript-store.d.ts.map +1 -0
- package/dist/meetings/transcript-store.js +2 -0
- package/dist/meetings/transcript-store.js.map +1 -0
- package/dist/meetings/transcription.d.ts +53 -0
- package/dist/meetings/transcription.d.ts.map +1 -0
- package/dist/meetings/transcription.js +157 -0
- package/dist/meetings/transcription.js.map +1 -0
- package/dist/meetings/vtt.d.ts +7 -0
- package/dist/meetings/vtt.d.ts.map +1 -0
- package/dist/meetings/vtt.js +53 -0
- package/dist/meetings/vtt.js.map +1 -0
- package/dist/meetings/watch.d.ts +9 -0
- package/dist/meetings/watch.d.ts.map +1 -0
- package/dist/meetings/watch.js +47 -0
- package/dist/meetings/watch.js.map +1 -0
- package/dist/models/anthropic.d.ts +3 -0
- package/dist/models/anthropic.d.ts.map +1 -0
- package/dist/models/anthropic.js +61 -0
- package/dist/models/anthropic.js.map +1 -0
- package/dist/models/endpoint.d.ts +2 -0
- package/dist/models/endpoint.d.ts.map +1 -0
- package/dist/models/endpoint.js +10 -0
- package/dist/models/endpoint.js.map +1 -0
- package/dist/models/index.d.ts +16 -0
- package/dist/models/index.d.ts.map +1 -0
- package/dist/models/index.js +64 -0
- package/dist/models/index.js.map +1 -0
- package/dist/models/openai.d.ts +3 -0
- package/dist/models/openai.d.ts.map +1 -0
- package/dist/models/openai.js +58 -0
- package/dist/models/openai.js.map +1 -0
- package/dist/models/options.d.ts +4 -0
- package/dist/models/options.d.ts.map +1 -0
- package/dist/models/options.js +11 -0
- package/dist/models/options.js.map +1 -0
- package/dist/models/settings.d.ts +23 -0
- package/dist/models/settings.d.ts.map +1 -0
- package/dist/models/settings.js +91 -0
- package/dist/models/settings.js.map +1 -0
- package/dist/models/types.d.ts +43 -0
- package/dist/models/types.d.ts.map +1 -0
- package/dist/models/types.js +45 -0
- package/dist/models/types.js.map +1 -0
- package/dist/moderation/check.d.ts +87 -0
- package/dist/moderation/check.d.ts.map +1 -0
- package/dist/moderation/check.js +232 -0
- package/dist/moderation/check.js.map +1 -0
- package/dist/moderation/rules.d.ts +105 -0
- package/dist/moderation/rules.d.ts.map +1 -0
- package/dist/moderation/rules.js +158 -0
- package/dist/moderation/rules.js.map +1 -0
- package/dist/moderation/run.d.ts +38 -0
- package/dist/moderation/run.d.ts.map +1 -0
- package/dist/moderation/run.js +41 -0
- package/dist/moderation/run.js.map +1 -0
- package/dist/output-detail.d.ts +10 -0
- package/dist/output-detail.d.ts.map +1 -0
- package/dist/output-detail.js +36 -0
- package/dist/output-detail.js.map +1 -0
- package/dist/output.d.ts +30 -0
- package/dist/output.d.ts.map +1 -0
- package/dist/output.js +71 -0
- package/dist/output.js.map +1 -0
- package/dist/parity/audit.d.ts +54 -0
- package/dist/parity/audit.d.ts.map +1 -0
- package/dist/parity/audit.js +127 -0
- package/dist/parity/audit.js.map +1 -0
- package/dist/parity/bin.d.ts.map +1 -0
- package/dist/parity/bin.js +50 -0
- package/dist/parity/bin.js.map +1 -0
- package/dist/parity/catalogue.d.ts +8 -0
- package/dist/parity/catalogue.d.ts.map +1 -0
- package/dist/parity/catalogue.js +42 -0
- package/dist/parity/catalogue.js.map +1 -0
- package/dist/parity/deep.d.ts +51 -0
- package/dist/parity/deep.d.ts.map +1 -0
- package/dist/parity/deep.js +143 -0
- package/dist/parity/deep.js.map +1 -0
- package/dist/parity/index.d.ts +4 -0
- package/dist/parity/index.d.ts.map +1 -0
- package/dist/parity/index.js +4 -0
- package/dist/parity/index.js.map +1 -0
- package/dist/parity/manifest.d.ts +49 -0
- package/dist/parity/manifest.d.ts.map +1 -0
- package/dist/parity/manifest.js +152 -0
- package/dist/parity/manifest.js.map +1 -0
- package/dist/parity/pages.d.ts +8 -0
- package/dist/parity/pages.d.ts.map +1 -0
- package/dist/parity/pages.js +40 -0
- package/dist/parity/pages.js.map +1 -0
- package/dist/parity/seed.d.ts +11 -0
- package/dist/parity/seed.d.ts.map +1 -0
- package/dist/parity/seed.js +99 -0
- package/dist/parity/seed.js.map +1 -0
- package/dist/parity/wording.d.ts +8 -0
- package/dist/parity/wording.d.ts.map +1 -0
- package/dist/parity/wording.js +55 -0
- package/dist/parity/wording.js.map +1 -0
- package/dist/readers/doc/index.d.ts +3 -0
- package/dist/readers/doc/index.d.ts.map +1 -0
- package/dist/readers/doc/index.js +15 -0
- package/dist/readers/doc/index.js.map +1 -0
- package/dist/readers/docx/index.d.ts +3 -0
- package/dist/readers/docx/index.d.ts.map +1 -0
- package/dist/readers/docx/index.js +16 -0
- package/dist/readers/docx/index.js.map +1 -0
- package/dist/readers/engine.d.ts +15 -0
- package/dist/readers/engine.d.ts.map +1 -0
- package/dist/readers/engine.js +74 -0
- package/dist/readers/engine.js.map +1 -0
- package/dist/readers/html/index.d.ts +3 -0
- package/dist/readers/html/index.d.ts.map +1 -0
- package/dist/readers/html/index.js +73 -0
- package/dist/readers/html/index.js.map +1 -0
- package/dist/readers/html/page.d.ts +21 -0
- package/dist/readers/html/page.d.ts.map +1 -0
- package/dist/readers/html/page.js +61 -0
- package/dist/readers/html/page.js.map +1 -0
- package/dist/readers/image/index.d.ts +4 -0
- package/dist/readers/image/index.d.ts.map +1 -0
- package/dist/readers/image/index.js +9 -0
- package/dist/readers/image/index.js.map +1 -0
- package/dist/readers/office/index.d.ts +3 -0
- package/dist/readers/office/index.d.ts.map +1 -0
- package/dist/readers/office/index.js +11 -0
- package/dist/readers/office/index.js.map +1 -0
- package/dist/readers/pdf/index.d.ts +3 -0
- package/dist/readers/pdf/index.d.ts.map +1 -0
- package/dist/readers/pdf/index.js +71 -0
- package/dist/readers/pdf/index.js.map +1 -0
- package/dist/readers/plain/index.d.ts +5 -0
- package/dist/readers/plain/index.d.ts.map +1 -0
- package/dist/readers/plain/index.js +21 -0
- package/dist/readers/plain/index.js.map +1 -0
- package/dist/readers/registry.d.ts +8 -0
- package/dist/readers/registry.d.ts.map +1 -0
- package/dist/readers/registry.js +36 -0
- package/dist/readers/registry.js.map +1 -0
- package/dist/readers/rtf/index.d.ts +3 -0
- package/dist/readers/rtf/index.d.ts.map +1 -0
- package/dist/readers/rtf/index.js +9 -0
- package/dist/readers/rtf/index.js.map +1 -0
- package/dist/readers/sheets/index.d.ts +3 -0
- package/dist/readers/sheets/index.d.ts.map +1 -0
- package/dist/readers/sheets/index.js +48 -0
- package/dist/readers/sheets/index.js.map +1 -0
- package/dist/readers/types.d.ts +60 -0
- package/dist/readers/types.d.ts.map +1 -0
- package/dist/readers/types.js +2 -0
- package/dist/readers/types.js.map +1 -0
- package/dist/render/markdown.d.ts +11 -0
- package/dist/render/markdown.d.ts.map +1 -0
- package/dist/render/markdown.js +65 -0
- package/dist/render/markdown.js.map +1 -0
- package/dist/render/messages.d.ts +21 -0
- package/dist/render/messages.d.ts.map +1 -0
- package/dist/render/messages.js +171 -0
- package/dist/render/messages.js.map +1 -0
- package/dist/render/thread-context.d.ts +3 -0
- package/dist/render/thread-context.d.ts.map +1 -0
- package/dist/render/thread-context.js +4 -0
- package/dist/render/thread-context.js.map +1 -0
- package/dist/replies/consents.d.ts +14 -0
- package/dist/replies/consents.d.ts.map +1 -0
- package/dist/replies/consents.js +26 -0
- package/dist/replies/consents.js.map +1 -0
- package/dist/replies/decide.d.ts +38 -0
- package/dist/replies/decide.d.ts.map +1 -0
- package/dist/replies/decide.js +124 -0
- package/dist/replies/decide.js.map +1 -0
- package/dist/replies/dry-run.d.ts +59 -0
- package/dist/replies/dry-run.d.ts.map +1 -0
- package/dist/replies/dry-run.js +133 -0
- package/dist/replies/dry-run.js.map +1 -0
- package/dist/replies/edit.d.ts +34 -0
- package/dist/replies/edit.d.ts.map +1 -0
- package/dist/replies/edit.js +105 -0
- package/dist/replies/edit.js.map +1 -0
- package/dist/replies/rendering.d.ts +17 -0
- package/dist/replies/rendering.d.ts.map +1 -0
- package/dist/replies/rendering.js +52 -0
- package/dist/replies/rendering.js.map +1 -0
- package/dist/replies/rules.d.ts +217 -0
- package/dist/replies/rules.d.ts.map +1 -0
- package/dist/replies/rules.js +201 -0
- package/dist/replies/rules.js.map +1 -0
- package/dist/replies/serve.d.ts +55 -0
- package/dist/replies/serve.d.ts.map +1 -0
- package/dist/replies/serve.js +113 -0
- package/dist/replies/serve.js.map +1 -0
- package/dist/replies/state.d.ts +36 -0
- package/dist/replies/state.d.ts.map +1 -0
- package/dist/replies/state.js +67 -0
- package/dist/replies/state.js.map +1 -0
- package/dist/replies/template.d.ts +38 -0
- package/dist/replies/template.d.ts.map +1 -0
- package/dist/replies/template.js +167 -0
- package/dist/replies/template.js.map +1 -0
- package/dist/resolve.d.ts +22 -0
- package/dist/resolve.d.ts.map +1 -0
- package/dist/resolve.js +47 -0
- package/dist/resolve.js.map +1 -0
- package/dist/sealed.d.ts +39 -0
- package/dist/sealed.d.ts.map +1 -0
- package/dist/sealed.js +140 -0
- package/dist/sealed.js.map +1 -0
- package/dist/search/account-list.d.ts +53 -0
- package/dist/search/account-list.d.ts.map +1 -0
- package/dist/search/account-list.js +175 -0
- package/dist/search/account-list.js.map +1 -0
- package/dist/search/correct.d.ts +25 -0
- package/dist/search/correct.d.ts.map +1 -0
- package/dist/search/correct.js +65 -0
- package/dist/search/correct.js.map +1 -0
- package/dist/search/legacy-regex.d.ts +7 -0
- package/dist/search/legacy-regex.d.ts.map +1 -0
- package/dist/search/legacy-regex.js +48 -0
- package/dist/search/legacy-regex.js.map +1 -0
- package/dist/search/lucene/automaton.d.ts +17 -0
- package/dist/search/lucene/automaton.d.ts.map +1 -0
- package/dist/search/lucene/automaton.js +411 -0
- package/dist/search/lucene/automaton.js.map +1 -0
- package/dist/search/lucene/migration.d.ts +21 -0
- package/dist/search/lucene/migration.d.ts.map +1 -0
- package/dist/search/lucene/migration.js +31 -0
- package/dist/search/lucene/migration.js.map +1 -0
- package/dist/search/lucene/presets.d.ts +6 -0
- package/dist/search/lucene/presets.d.ts.map +1 -0
- package/dist/search/lucene/presets.js +53 -0
- package/dist/search/lucene/presets.js.map +1 -0
- package/dist/search/lucene/registry.d.ts +81 -0
- package/dist/search/lucene/registry.d.ts.map +1 -0
- package/dist/search/lucene/registry.js +457 -0
- package/dist/search/lucene/registry.js.map +1 -0
- package/dist/search/lucene/resolved.d.ts +61 -0
- package/dist/search/lucene/resolved.d.ts.map +1 -0
- package/dist/search/lucene/resolved.js +8 -0
- package/dist/search/lucene/resolved.js.map +1 -0
- package/dist/search/lucene/types.d.ts +18 -0
- package/dist/search/lucene/types.d.ts.map +1 -0
- package/dist/search/lucene/types.js +28 -0
- package/dist/search/lucene/types.js.map +1 -0
- package/dist/search/query.d.ts +41 -0
- package/dist/search/query.d.ts.map +1 -0
- package/dist/search/query.js +136 -0
- package/dist/search/query.js.map +1 -0
- package/dist/search/question-plan.d.ts +12 -0
- package/dist/search/question-plan.d.ts.map +1 -0
- package/dist/search/question-plan.js +121 -0
- package/dist/search/question-plan.js.map +1 -0
- package/dist/search/search.d.ts +27 -0
- package/dist/search/search.d.ts.map +1 -0
- package/dist/search/search.js +66 -0
- package/dist/search/search.js.map +1 -0
- package/dist/search/snowball/LICENSE +29 -0
- package/dist/search/snowball/base-stemmer.js +445 -0
- package/dist/search/snowball/english-stemmer.js +775 -0
- package/dist/search/snowball/russian-stemmer.js +468 -0
- package/dist/search/snowball/spanish-stemmer.js +722 -0
- package/dist/search/stem.d.ts +58 -0
- package/dist/search/stem.d.ts.map +1 -0
- package/dist/search/stem.js +140 -0
- package/dist/search/stem.js.map +1 -0
- package/dist/search/trigrams.d.ts +7 -0
- package/dist/search/trigrams.d.ts.map +1 -0
- package/dist/search/trigrams.js +13 -0
- package/dist/search/trigrams.js.map +1 -0
- package/dist/sends/buttons.d.ts +39 -0
- package/dist/sends/buttons.d.ts.map +1 -0
- package/dist/sends/buttons.js +65 -0
- package/dist/sends/buttons.js.map +1 -0
- package/dist/sends/file-lock.d.ts +6 -0
- package/dist/sends/file-lock.d.ts.map +1 -0
- package/dist/sends/file-lock.js +53 -0
- package/dist/sends/file-lock.js.map +1 -0
- package/dist/sends/flood.d.ts +57 -0
- package/dist/sends/flood.d.ts.map +1 -0
- package/dist/sends/flood.js +90 -0
- package/dist/sends/flood.js.map +1 -0
- package/dist/sends/guard.d.ts +96 -0
- package/dist/sends/guard.d.ts.map +1 -0
- package/dist/sends/guard.js +250 -0
- package/dist/sends/guard.js.map +1 -0
- package/dist/sends/guarded.d.ts +40 -0
- package/dist/sends/guarded.d.ts.map +1 -0
- package/dist/sends/guarded.js +104 -0
- package/dist/sends/guarded.js.map +1 -0
- package/dist/sends/index.d.ts +9 -0
- package/dist/sends/index.d.ts.map +1 -0
- package/dist/sends/index.js +9 -0
- package/dist/sends/index.js.map +1 -0
- package/dist/sends/journal.d.ts +91 -0
- package/dist/sends/journal.d.ts.map +1 -0
- package/dist/sends/journal.js +89 -0
- package/dist/sends/journal.js.map +1 -0
- package/dist/sends/pace.d.ts +33 -0
- package/dist/sends/pace.d.ts.map +1 -0
- package/dist/sends/pace.js +65 -0
- package/dist/sends/pace.js.map +1 -0
- package/dist/sends/permissions.d.ts +62 -0
- package/dist/sends/permissions.d.ts.map +1 -0
- package/dist/sends/permissions.js +434 -0
- package/dist/sends/permissions.js.map +1 -0
- package/dist/sends/polls.d.ts +49 -0
- package/dist/sends/polls.d.ts.map +1 -0
- package/dist/sends/polls.js +97 -0
- package/dist/sends/polls.js.map +1 -0
- package/dist/sends/recipients.d.ts +34 -0
- package/dist/sends/recipients.d.ts.map +1 -0
- package/dist/sends/recipients.js +70 -0
- package/dist/sends/recipients.js.map +1 -0
- package/dist/sends/send-as.d.ts +12 -0
- package/dist/sends/send-as.d.ts.map +1 -0
- package/dist/sends/send-as.js +34 -0
- package/dist/sends/send-as.js.map +1 -0
- package/dist/sends/send-id.d.ts +8 -0
- package/dist/sends/send-id.d.ts.map +1 -0
- package/dist/sends/send-id.js +9 -0
- package/dist/sends/send-id.js.map +1 -0
- package/dist/sends/upload.d.ts +30 -0
- package/dist/sends/upload.d.ts.map +1 -0
- package/dist/sends/upload.js +95 -0
- package/dist/sends/upload.js.map +1 -0
- package/dist/services/account.d.ts +25 -0
- package/dist/services/account.d.ts.map +1 -0
- package/dist/services/account.js +50 -0
- package/dist/services/account.js.map +1 -0
- package/dist/services/admin-statistics.d.ts +70 -0
- package/dist/services/admin-statistics.d.ts.map +1 -0
- package/dist/services/admin-statistics.js +333 -0
- package/dist/services/admin-statistics.js.map +1 -0
- package/dist/services/admin.d.ts +113 -0
- package/dist/services/admin.d.ts.map +1 -0
- package/dist/services/admin.js +229 -0
- package/dist/services/admin.js.map +1 -0
- package/dist/services/agenda.d.ts +51 -0
- package/dist/services/agenda.d.ts.map +1 -0
- package/dist/services/agenda.js +82 -0
- package/dist/services/agenda.js.map +1 -0
- package/dist/services/archive-gaps.d.ts +64 -0
- package/dist/services/archive-gaps.d.ts.map +1 -0
- package/dist/services/archive-gaps.js +146 -0
- package/dist/services/archive-gaps.js.map +1 -0
- package/dist/services/archive.d.ts +158 -0
- package/dist/services/archive.d.ts.map +1 -0
- package/dist/services/archive.js +322 -0
- package/dist/services/archive.js.map +1 -0
- package/dist/services/attachments.d.ts +129 -0
- package/dist/services/attachments.d.ts.map +1 -0
- package/dist/services/attachments.js +399 -0
- package/dist/services/attachments.js.map +1 -0
- package/dist/services/backfill-estimate.d.ts +27 -0
- package/dist/services/backfill-estimate.d.ts.map +1 -0
- package/dist/services/backfill-estimate.js +29 -0
- package/dist/services/backfill-estimate.js.map +1 -0
- package/dist/services/backfill-jobs.d.ts +56 -0
- package/dist/services/backfill-jobs.d.ts.map +1 -0
- package/dist/services/backfill-jobs.js +99 -0
- package/dist/services/backfill-jobs.js.map +1 -0
- package/dist/services/batch.d.ts +32 -0
- package/dist/services/batch.d.ts.map +1 -0
- package/dist/services/batch.js +90 -0
- package/dist/services/batch.js.map +1 -0
- package/dist/services/chat-documents.d.ts +29 -0
- package/dist/services/chat-documents.d.ts.map +1 -0
- package/dist/services/chat-documents.js +30 -0
- package/dist/services/chat-documents.js.map +1 -0
- package/dist/services/chat-stats.d.ts +75 -0
- package/dist/services/chat-stats.d.ts.map +1 -0
- package/dist/services/chat-stats.js +128 -0
- package/dist/services/chat-stats.js.map +1 -0
- package/dist/services/chats.d.ts +123 -0
- package/dist/services/chats.d.ts.map +1 -0
- package/dist/services/chats.js +318 -0
- package/dist/services/chats.js.map +1 -0
- package/dist/services/conversations.d.ts +78 -0
- package/dist/services/conversations.d.ts.map +1 -0
- package/dist/services/conversations.js +138 -0
- package/dist/services/conversations.js.map +1 -0
- package/dist/services/counters.d.ts +64 -0
- package/dist/services/counters.d.ts.map +1 -0
- package/dist/services/counters.js +231 -0
- package/dist/services/counters.js.map +1 -0
- package/dist/services/deps.d.ts +84 -0
- package/dist/services/deps.d.ts.map +1 -0
- package/dist/services/deps.js +91 -0
- package/dist/services/deps.js.map +1 -0
- package/dist/services/embeddings.d.ts +210 -0
- package/dist/services/embeddings.d.ts.map +1 -0
- package/dist/services/embeddings.js +628 -0
- package/dist/services/embeddings.js.map +1 -0
- package/dist/services/evidence-read.d.ts +14 -0
- package/dist/services/evidence-read.d.ts.map +1 -0
- package/dist/services/evidence-read.js +23 -0
- package/dist/services/evidence-read.js.map +1 -0
- package/dist/services/evidence.d.ts +53 -0
- package/dist/services/evidence.d.ts.map +1 -0
- package/dist/services/evidence.js +76 -0
- package/dist/services/evidence.js.map +1 -0
- package/dist/services/excerpt.d.ts +15 -0
- package/dist/services/excerpt.d.ts.map +1 -0
- package/dist/services/excerpt.js +26 -0
- package/dist/services/excerpt.js.map +1 -0
- package/dist/services/file-download.d.ts +55 -0
- package/dist/services/file-download.d.ts.map +1 -0
- package/dist/services/file-download.js +141 -0
- package/dist/services/file-download.js.map +1 -0
- package/dist/services/folders.d.ts +52 -0
- package/dist/services/folders.d.ts.map +1 -0
- package/dist/services/folders.js +147 -0
- package/dist/services/folders.js.map +1 -0
- package/dist/services/inbox.d.ts +112 -0
- package/dist/services/inbox.d.ts.map +1 -0
- package/dist/services/inbox.js +269 -0
- package/dist/services/inbox.js.map +1 -0
- package/dist/services/index.d.ts +145 -0
- package/dist/services/index.d.ts.map +1 -0
- package/dist/services/index.js +113 -0
- package/dist/services/index.js.map +1 -0
- package/dist/services/mail-search.d.ts +34 -0
- package/dist/services/mail-search.d.ts.map +1 -0
- package/dist/services/mail-search.js +101 -0
- package/dist/services/mail-search.js.map +1 -0
- package/dist/services/meeting-context.d.ts +14 -0
- package/dist/services/meeting-context.d.ts.map +1 -0
- package/dist/services/meeting-context.js +111 -0
- package/dist/services/meeting-context.js.map +1 -0
- package/dist/services/meeting-evidence.d.ts +64 -0
- package/dist/services/meeting-evidence.d.ts.map +1 -0
- package/dist/services/meeting-evidence.js +230 -0
- package/dist/services/meeting-evidence.js.map +1 -0
- package/dist/services/meeting-hit-context.d.ts +6 -0
- package/dist/services/meeting-hit-context.d.ts.map +1 -0
- package/dist/services/meeting-hit-context.js +140 -0
- package/dist/services/meeting-hit-context.js.map +1 -0
- package/dist/services/meeting-hit-search.d.ts +27 -0
- package/dist/services/meeting-hit-search.d.ts.map +1 -0
- package/dist/services/meeting-hit-search.js +59 -0
- package/dist/services/meeting-hit-search.js.map +1 -0
- package/dist/services/meeting-model.d.ts +28 -0
- package/dist/services/meeting-model.d.ts.map +1 -0
- package/dist/services/meeting-model.js +251 -0
- package/dist/services/meeting-model.js.map +1 -0
- package/dist/services/meeting-passage-format.d.ts +9 -0
- package/dist/services/meeting-passage-format.d.ts.map +1 -0
- package/dist/services/meeting-passage-format.js +99 -0
- package/dist/services/meeting-passage-format.js.map +1 -0
- package/dist/services/meeting-reference.d.ts +22 -0
- package/dist/services/meeting-reference.d.ts.map +1 -0
- package/dist/services/meeting-reference.js +60 -0
- package/dist/services/meeting-reference.js.map +1 -0
- package/dist/services/meeting-semantic.d.ts +69 -0
- package/dist/services/meeting-semantic.d.ts.map +1 -0
- package/dist/services/meeting-semantic.js +175 -0
- package/dist/services/meeting-semantic.js.map +1 -0
- package/dist/services/meeting-task-proposal.d.ts +17 -0
- package/dist/services/meeting-task-proposal.d.ts.map +1 -0
- package/dist/services/meeting-task-proposal.js +26 -0
- package/dist/services/meeting-task-proposal.js.map +1 -0
- package/dist/services/meeting-tasks.d.ts +30 -0
- package/dist/services/meeting-tasks.d.ts.map +1 -0
- package/dist/services/meeting-tasks.js +74 -0
- package/dist/services/meeting-tasks.js.map +1 -0
- package/dist/services/member-history.d.ts +23 -0
- package/dist/services/member-history.d.ts.map +1 -0
- package/dist/services/member-history.js +37 -0
- package/dist/services/member-history.js.map +1 -0
- package/dist/services/members-audit.d.ts +48 -0
- package/dist/services/members-audit.d.ts.map +1 -0
- package/dist/services/members-audit.js +96 -0
- package/dist/services/members-audit.js.map +1 -0
- package/dist/services/messages-combined.d.ts +23 -0
- package/dist/services/messages-combined.d.ts.map +1 -0
- package/dist/services/messages-combined.js +261 -0
- package/dist/services/messages-combined.js.map +1 -0
- package/dist/services/messages-discovery.d.ts +5 -0
- package/dist/services/messages-discovery.d.ts.map +1 -0
- package/dist/services/messages-discovery.js +174 -0
- package/dist/services/messages-discovery.js.map +1 -0
- package/dist/services/messages-search.d.ts +129 -0
- package/dist/services/messages-search.d.ts.map +1 -0
- package/dist/services/messages-search.js +418 -0
- package/dist/services/messages-search.js.map +1 -0
- package/dist/services/messages.d.ts +279 -0
- package/dist/services/messages.d.ts.map +1 -0
- package/dist/services/messages.js +717 -0
- package/dist/services/messages.js.map +1 -0
- package/dist/services/metadata.d.ts +38 -0
- package/dist/services/metadata.d.ts.map +1 -0
- package/dist/services/metadata.js +98 -0
- package/dist/services/metadata.js.map +1 -0
- package/dist/services/moderation.d.ts +33 -0
- package/dist/services/moderation.d.ts.map +1 -0
- package/dist/services/moderation.js +85 -0
- package/dist/services/moderation.js.map +1 -0
- package/dist/services/moment.d.ts +13 -0
- package/dist/services/moment.d.ts.map +1 -0
- package/dist/services/moment.js +37 -0
- package/dist/services/moment.js.map +1 -0
- package/dist/services/notes-search.d.ts +132 -0
- package/dist/services/notes-search.d.ts.map +1 -0
- package/dist/services/notes-search.js +289 -0
- package/dist/services/notes-search.js.map +1 -0
- package/dist/services/package-upgrade.d.ts +43 -0
- package/dist/services/package-upgrade.d.ts.map +1 -0
- package/dist/services/package-upgrade.js +58 -0
- package/dist/services/package-upgrade.js.map +1 -0
- package/dist/services/patience.d.ts +3 -0
- package/dist/services/patience.d.ts.map +1 -0
- package/dist/services/patience.js +23 -0
- package/dist/services/patience.js.map +1 -0
- package/dist/services/people.d.ts +81 -0
- package/dist/services/people.d.ts.map +1 -0
- package/dist/services/people.js +265 -0
- package/dist/services/people.js.map +1 -0
- package/dist/services/person-context.d.ts +112 -0
- package/dist/services/person-context.d.ts.map +1 -0
- package/dist/services/person-context.js +247 -0
- package/dist/services/person-context.js.map +1 -0
- package/dist/services/person-meeting-context.d.ts +52 -0
- package/dist/services/person-meeting-context.d.ts.map +1 -0
- package/dist/services/person-meeting-context.js +111 -0
- package/dist/services/person-meeting-context.js.map +1 -0
- package/dist/services/person-profile.d.ts +10 -0
- package/dist/services/person-profile.d.ts.map +1 -0
- package/dist/services/person-profile.js +75 -0
- package/dist/services/person-profile.js.map +1 -0
- package/dist/services/person-timeline.d.ts +46 -0
- package/dist/services/person-timeline.d.ts.map +1 -0
- package/dist/services/person-timeline.js +50 -0
- package/dist/services/person-timeline.js.map +1 -0
- package/dist/services/private-people.d.ts +17 -0
- package/dist/services/private-people.d.ts.map +1 -0
- package/dist/services/private-people.js +36 -0
- package/dist/services/private-people.js.map +1 -0
- package/dist/services/proposal-tasks.d.ts +14 -0
- package/dist/services/proposal-tasks.d.ts.map +1 -0
- package/dist/services/proposal-tasks.js +28 -0
- package/dist/services/proposal-tasks.js.map +1 -0
- package/dist/services/questions.d.ts +19 -0
- package/dist/services/questions.d.ts.map +1 -0
- package/dist/services/questions.js +39 -0
- package/dist/services/questions.js.map +1 -0
- package/dist/services/rankings-selection.d.ts +24 -0
- package/dist/services/rankings-selection.d.ts.map +1 -0
- package/dist/services/rankings-selection.js +183 -0
- package/dist/services/rankings-selection.js.map +1 -0
- package/dist/services/rankings.d.ts +83 -0
- package/dist/services/rankings.d.ts.map +1 -0
- package/dist/services/rankings.js +288 -0
- package/dist/services/rankings.js.map +1 -0
- package/dist/services/retention.d.ts +111 -0
- package/dist/services/retention.d.ts.map +1 -0
- package/dist/services/retention.js +97 -0
- package/dist/services/retention.js.map +1 -0
- package/dist/services/search-all-meetings.d.ts +70 -0
- package/dist/services/search-all-meetings.d.ts.map +1 -0
- package/dist/services/search-all-meetings.js +246 -0
- package/dist/services/search-all-meetings.js.map +1 -0
- package/dist/services/search-all.d.ts +87 -0
- package/dist/services/search-all.d.ts.map +1 -0
- package/dist/services/search-all.js +141 -0
- package/dist/services/search-all.js.map +1 -0
- package/dist/services/search-catchup.d.ts +22 -0
- package/dist/services/search-catchup.d.ts.map +1 -0
- package/dist/services/search-catchup.js +55 -0
- package/dist/services/search-catchup.js.map +1 -0
- package/dist/services/search-kind.d.ts +22 -0
- package/dist/services/search-kind.d.ts.map +1 -0
- package/dist/services/search-kind.js +62 -0
- package/dist/services/search-kind.js.map +1 -0
- package/dist/services/search-refresh.d.ts +37 -0
- package/dist/services/search-refresh.d.ts.map +1 -0
- package/dist/services/search-refresh.js +140 -0
- package/dist/services/search-refresh.js.map +1 -0
- package/dist/services/searches.d.ts +58 -0
- package/dist/services/searches.d.ts.map +1 -0
- package/dist/services/searches.js +157 -0
- package/dist/services/searches.js.map +1 -0
- package/dist/services/server-search.d.ts +43 -0
- package/dist/services/server-search.d.ts.map +1 -0
- package/dist/services/server-search.js +213 -0
- package/dist/services/server-search.js.map +1 -0
- package/dist/services/tags.d.ts +41 -0
- package/dist/services/tags.d.ts.map +1 -0
- package/dist/services/tags.js +57 -0
- package/dist/services/tags.js.map +1 -0
- package/dist/services/task-rules.d.ts +32 -0
- package/dist/services/task-rules.d.ts.map +1 -0
- package/dist/services/task-rules.js +101 -0
- package/dist/services/task-rules.js.map +1 -0
- package/dist/services/tasks.d.ts +83 -0
- package/dist/services/tasks.d.ts.map +1 -0
- package/dist/services/tasks.js +186 -0
- package/dist/services/tasks.js.map +1 -0
- package/dist/services/thread-context.d.ts +37 -0
- package/dist/services/thread-context.d.ts.map +1 -0
- package/dist/services/thread-context.js +227 -0
- package/dist/services/thread-context.js.map +1 -0
- package/dist/services/topics.d.ts +36 -0
- package/dist/services/topics.d.ts.map +1 -0
- package/dist/services/topics.js +189 -0
- package/dist/services/topics.js.map +1 -0
- package/dist/skills/validate.d.ts +9 -0
- package/dist/skills/validate.d.ts.map +1 -0
- package/dist/skills/validate.js +86 -0
- package/dist/skills/validate.js.map +1 -0
- package/dist/speech/hearing.d.ts +64 -0
- package/dist/speech/hearing.d.ts.map +1 -0
- package/dist/speech/hearing.js +111 -0
- package/dist/speech/hearing.js.map +1 -0
- package/dist/speech/index.d.ts +4 -0
- package/dist/speech/index.d.ts.map +1 -0
- package/dist/speech/index.js +4 -0
- package/dist/speech/index.js.map +1 -0
- package/dist/speech/install.d.ts +27 -0
- package/dist/speech/install.d.ts.map +1 -0
- package/dist/speech/install.js +111 -0
- package/dist/speech/install.js.map +1 -0
- package/dist/speech/local.d.ts +30 -0
- package/dist/speech/local.d.ts.map +1 -0
- package/dist/speech/local.js +96 -0
- package/dist/speech/local.js.map +1 -0
- package/dist/speech/models.d.ts +38 -0
- package/dist/speech/models.d.ts.map +1 -0
- package/dist/speech/models.js +130 -0
- package/dist/speech/models.js.map +1 -0
- package/dist/speech/ogg-limit.d.ts +3 -0
- package/dist/speech/ogg-limit.d.ts.map +1 -0
- package/dist/speech/ogg-limit.js +69 -0
- package/dist/speech/ogg-limit.js.map +1 -0
- package/dist/speech/recognize.d.ts +66 -0
- package/dist/speech/recognize.d.ts.map +1 -0
- package/dist/speech/recognize.js +135 -0
- package/dist/speech/recognize.js.map +1 -0
- package/dist/speech/transcribe.d.ts +40 -0
- package/dist/speech/transcribe.d.ts.map +1 -0
- package/dist/speech/transcribe.js +80 -0
- package/dist/speech/transcribe.js.map +1 -0
- package/dist/speech/wav.d.ts +28 -0
- package/dist/speech/wav.d.ts.map +1 -0
- package/dist/speech/wav.js +199 -0
- package/dist/speech/wav.js.map +1 -0
- package/dist/sqlite-runtime.d.ts +29 -0
- package/dist/sqlite-runtime.d.ts.map +1 -0
- package/dist/sqlite-runtime.js +105 -0
- package/dist/sqlite-runtime.js.map +1 -0
- package/dist/store/account-store.d.ts +52 -0
- package/dist/store/account-store.d.ts.map +1 -0
- package/dist/store/account-store.js +166 -0
- package/dist/store/account-store.js.map +1 -0
- package/dist/store/driver.d.ts +38 -0
- package/dist/store/driver.d.ts.map +1 -0
- package/dist/store/driver.js +26 -0
- package/dist/store/driver.js.map +1 -0
- package/dist/store/drivers/bun-sqlite.d.ts +27 -0
- package/dist/store/drivers/bun-sqlite.d.ts.map +1 -0
- package/dist/store/drivers/bun-sqlite.js +48 -0
- package/dist/store/drivers/bun-sqlite.js.map +1 -0
- package/dist/store/drivers/node-sqlite.d.ts +10 -0
- package/dist/store/drivers/node-sqlite.d.ts.map +1 -0
- package/dist/store/drivers/node-sqlite.js +22 -0
- package/dist/store/drivers/node-sqlite.js.map +1 -0
- package/dist/store/index.d.ts +42 -0
- package/dist/store/index.d.ts.map +1 -0
- package/dist/store/index.js +17 -0
- package/dist/store/index.js.map +1 -0
- package/dist/store/migrations.d.ts +31 -0
- package/dist/store/migrations.d.ts.map +1 -0
- package/dist/store/migrations.js +62 -0
- package/dist/store/migrations.js.map +1 -0
- package/dist/store/normalize.d.ts +11 -0
- package/dist/store/normalize.d.ts.map +1 -0
- package/dist/store/normalize.js +18 -0
- package/dist/store/normalize.js.map +1 -0
- package/dist/store/old-store.d.ts +7 -0
- package/dist/store/old-store.d.ts.map +1 -0
- package/dist/store/old-store.js +36 -0
- package/dist/store/old-store.js.map +1 -0
- package/dist/store/open.d.ts +26 -0
- package/dist/store/open.d.ts.map +1 -0
- package/dist/store/open.js +72 -0
- package/dist/store/open.js.map +1 -0
- package/dist/store/path.d.ts +9 -0
- package/dist/store/path.d.ts.map +1 -0
- package/dist/store/path.js +11 -0
- package/dist/store/path.js.map +1 -0
- package/dist/store/repair.d.ts +55 -0
- package/dist/store/repair.d.ts.map +1 -0
- package/dist/store/repair.js +313 -0
- package/dist/store/repair.js.map +1 -0
- package/dist/store/sqlite/account-groups.d.ts +11 -0
- package/dist/store/sqlite/account-groups.d.ts.map +1 -0
- package/dist/store/sqlite/account-groups.js +41 -0
- package/dist/store/sqlite/account-groups.js.map +1 -0
- package/dist/store/sqlite/accounts.d.ts +13 -0
- package/dist/store/sqlite/accounts.d.ts.map +1 -0
- package/dist/store/sqlite/accounts.js +163 -0
- package/dist/store/sqlite/accounts.js.map +1 -0
- package/dist/store/sqlite/actors.d.ts +21 -0
- package/dist/store/sqlite/actors.d.ts.map +1 -0
- package/dist/store/sqlite/actors.js +44 -0
- package/dist/store/sqlite/actors.js.map +1 -0
- package/dist/store/sqlite/admin-statistics.d.ts +54 -0
- package/dist/store/sqlite/admin-statistics.d.ts.map +1 -0
- package/dist/store/sqlite/admin-statistics.js +206 -0
- package/dist/store/sqlite/admin-statistics.js.map +1 -0
- package/dist/store/sqlite/agent-actions.d.ts +50 -0
- package/dist/store/sqlite/agent-actions.d.ts.map +1 -0
- package/dist/store/sqlite/agent-actions.js +50 -0
- package/dist/store/sqlite/agent-actions.js.map +1 -0
- package/dist/store/sqlite/atomic.d.ts +8 -0
- package/dist/store/sqlite/atomic.d.ts.map +1 -0
- package/dist/store/sqlite/atomic.js +28 -0
- package/dist/store/sqlite/atomic.js.map +1 -0
- package/dist/store/sqlite/attachment-texts.d.ts +82 -0
- package/dist/store/sqlite/attachment-texts.d.ts.map +1 -0
- package/dist/store/sqlite/attachment-texts.js +150 -0
- package/dist/store/sqlite/attachment-texts.js.map +1 -0
- package/dist/store/sqlite/attachments.d.ts +6 -0
- package/dist/store/sqlite/attachments.d.ts.map +1 -0
- package/dist/store/sqlite/attachments.js +33 -0
- package/dist/store/sqlite/attachments.js.map +1 -0
- package/dist/store/sqlite/backfill.d.ts +13 -0
- package/dist/store/sqlite/backfill.d.ts.map +1 -0
- package/dist/store/sqlite/backfill.js +36 -0
- package/dist/store/sqlite/backfill.js.map +1 -0
- package/dist/store/sqlite/batches.d.ts +33 -0
- package/dist/store/sqlite/batches.d.ts.map +1 -0
- package/dist/store/sqlite/batches.js +168 -0
- package/dist/store/sqlite/batches.js.map +1 -0
- package/dist/store/sqlite/bot-updates.d.ts +29 -0
- package/dist/store/sqlite/bot-updates.d.ts.map +1 -0
- package/dist/store/sqlite/bot-updates.js +73 -0
- package/dist/store/sqlite/bot-updates.js.map +1 -0
- package/dist/store/sqlite/catalog.d.ts +54 -0
- package/dist/store/sqlite/catalog.d.ts.map +1 -0
- package/dist/store/sqlite/catalog.js +269 -0
- package/dist/store/sqlite/catalog.js.map +1 -0
- package/dist/store/sqlite/chats.d.ts +40 -0
- package/dist/store/sqlite/chats.d.ts.map +1 -0
- package/dist/store/sqlite/chats.js +256 -0
- package/dist/store/sqlite/chats.js.map +1 -0
- package/dist/store/sqlite/completeness.d.ts +26 -0
- package/dist/store/sqlite/completeness.d.ts.map +1 -0
- package/dist/store/sqlite/completeness.js +42 -0
- package/dist/store/sqlite/completeness.js.map +1 -0
- package/dist/store/sqlite/conversation-eligibility.d.ts +12 -0
- package/dist/store/sqlite/conversation-eligibility.d.ts.map +1 -0
- package/dist/store/sqlite/conversation-eligibility.js +24 -0
- package/dist/store/sqlite/conversation-eligibility.js.map +1 -0
- package/dist/store/sqlite/conversations.d.ts +57 -0
- package/dist/store/sqlite/conversations.d.ts.map +1 -0
- package/dist/store/sqlite/conversations.js +448 -0
- package/dist/store/sqlite/conversations.js.map +1 -0
- package/dist/store/sqlite/counters.d.ts +23 -0
- package/dist/store/sqlite/counters.d.ts.map +1 -0
- package/dist/store/sqlite/counters.js +130 -0
- package/dist/store/sqlite/counters.js.map +1 -0
- package/dist/store/sqlite/document-links.d.ts +18 -0
- package/dist/store/sqlite/document-links.d.ts.map +1 -0
- package/dist/store/sqlite/document-links.js +26 -0
- package/dist/store/sqlite/document-links.js.map +1 -0
- package/dist/store/sqlite/document-metadata.d.ts +8 -0
- package/dist/store/sqlite/document-metadata.d.ts.map +1 -0
- package/dist/store/sqlite/document-metadata.js +23 -0
- package/dist/store/sqlite/document-metadata.js.map +1 -0
- package/dist/store/sqlite/drizzle/bun.d.ts +2 -0
- package/dist/store/sqlite/drizzle/bun.d.ts.map +1 -0
- package/dist/store/sqlite/drizzle/bun.js +113 -0
- package/dist/store/sqlite/drizzle/bun.js.map +7 -0
- package/dist/store/sqlite/drizzle/core.d.ts +3 -0
- package/dist/store/sqlite/drizzle/core.d.ts.map +1 -0
- package/dist/store/sqlite/drizzle/core.js +58 -0
- package/dist/store/sqlite/drizzle/core.js.map +7 -0
- package/dist/store/sqlite/drizzle/node.d.ts +2 -0
- package/dist/store/sqlite/drizzle/node.d.ts.map +1 -0
- package/dist/store/sqlite/drizzle/node.js +120 -0
- package/dist/store/sqlite/drizzle/node.js.map +7 -0
- package/dist/store/sqlite/drizzle/shared-O7CTKP45.js +4846 -0
- package/dist/store/sqlite/drizzle/shared-O7CTKP45.js.map +7 -0
- package/dist/store/sqlite/emails.d.ts +206 -0
- package/dist/store/sqlite/emails.d.ts.map +1 -0
- package/dist/store/sqlite/emails.js +749 -0
- package/dist/store/sqlite/emails.js.map +1 -0
- package/dist/store/sqlite/entity-types.d.ts +47 -0
- package/dist/store/sqlite/entity-types.d.ts.map +1 -0
- package/dist/store/sqlite/entity-types.js +52 -0
- package/dist/store/sqlite/entity-types.js.map +1 -0
- package/dist/store/sqlite/events.d.ts +23 -0
- package/dist/store/sqlite/events.d.ts.map +1 -0
- package/dist/store/sqlite/events.js +80 -0
- package/dist/store/sqlite/events.js.map +1 -0
- package/dist/store/sqlite/facts.d.ts +67 -0
- package/dist/store/sqlite/facts.d.ts.map +1 -0
- package/dist/store/sqlite/facts.js +130 -0
- package/dist/store/sqlite/facts.js.map +1 -0
- package/dist/store/sqlite/identities.d.ts +43 -0
- package/dist/store/sqlite/identities.d.ts.map +1 -0
- package/dist/store/sqlite/identities.js +327 -0
- package/dist/store/sqlite/identities.js.map +1 -0
- package/dist/store/sqlite/image-chunks.d.ts +53 -0
- package/dist/store/sqlite/image-chunks.d.ts.map +1 -0
- package/dist/store/sqlite/image-chunks.js +87 -0
- package/dist/store/sqlite/image-chunks.js.map +1 -0
- package/dist/store/sqlite/involvement-queue.d.ts +17 -0
- package/dist/store/sqlite/involvement-queue.d.ts.map +1 -0
- package/dist/store/sqlite/involvement-queue.js +142 -0
- package/dist/store/sqlite/involvement-queue.js.map +1 -0
- package/dist/store/sqlite/involvements.d.ts +44 -0
- package/dist/store/sqlite/involvements.d.ts.map +1 -0
- package/dist/store/sqlite/involvements.js +58 -0
- package/dist/store/sqlite/involvements.js.map +1 -0
- package/dist/store/sqlite/knowledge.d.ts +203 -0
- package/dist/store/sqlite/knowledge.d.ts.map +1 -0
- package/dist/store/sqlite/knowledge.js +606 -0
- package/dist/store/sqlite/knowledge.js.map +1 -0
- package/dist/store/sqlite/legacy-regex.d.ts +7 -0
- package/dist/store/sqlite/legacy-regex.d.ts.map +1 -0
- package/dist/store/sqlite/legacy-regex.js +42 -0
- package/dist/store/sqlite/legacy-regex.js.map +1 -0
- package/dist/store/sqlite/link-kinds.d.ts +11 -0
- package/dist/store/sqlite/link-kinds.d.ts.map +1 -0
- package/dist/store/sqlite/link-kinds.js +23 -0
- package/dist/store/sqlite/link-kinds.js.map +1 -0
- package/dist/store/sqlite/log-pruning.d.ts +17 -0
- package/dist/store/sqlite/log-pruning.d.ts.map +1 -0
- package/dist/store/sqlite/log-pruning.js +44 -0
- package/dist/store/sqlite/log-pruning.js.map +1 -0
- package/dist/store/sqlite/lucene.d.ts +38 -0
- package/dist/store/sqlite/lucene.d.ts.map +1 -0
- package/dist/store/sqlite/lucene.js +839 -0
- package/dist/store/sqlite/lucene.js.map +1 -0
- package/dist/store/sqlite/manifest.d.ts +21 -0
- package/dist/store/sqlite/manifest.d.ts.map +1 -0
- package/dist/store/sqlite/manifest.js +31 -0
- package/dist/store/sqlite/manifest.js.map +1 -0
- package/dist/store/sqlite/meeting-context-links.d.ts +4 -0
- package/dist/store/sqlite/meeting-context-links.d.ts.map +1 -0
- package/dist/store/sqlite/meeting-context-links.js +137 -0
- package/dist/store/sqlite/meeting-context-links.js.map +1 -0
- package/dist/store/sqlite/meeting-hit-index.d.ts +4 -0
- package/dist/store/sqlite/meeting-hit-index.d.ts.map +1 -0
- package/dist/store/sqlite/meeting-hit-index.js +81 -0
- package/dist/store/sqlite/meeting-hit-index.js.map +1 -0
- package/dist/store/sqlite/meeting-hit-search.d.ts +4 -0
- package/dist/store/sqlite/meeting-hit-search.d.ts.map +1 -0
- package/dist/store/sqlite/meeting-hit-search.js +250 -0
- package/dist/store/sqlite/meeting-hit-search.js.map +1 -0
- package/dist/store/sqlite/meeting-operation.d.ts +4 -0
- package/dist/store/sqlite/meeting-operation.d.ts.map +1 -0
- package/dist/store/sqlite/meeting-operation.js +25 -0
- package/dist/store/sqlite/meeting-operation.js.map +1 -0
- package/dist/store/sqlite/meeting-projects.d.ts +35 -0
- package/dist/store/sqlite/meeting-projects.d.ts.map +1 -0
- package/dist/store/sqlite/meeting-projects.js +115 -0
- package/dist/store/sqlite/meeting-projects.js.map +1 -0
- package/dist/store/sqlite/meeting-reads.d.ts +61 -0
- package/dist/store/sqlite/meeting-reads.d.ts.map +1 -0
- package/dist/store/sqlite/meeting-reads.js +212 -0
- package/dist/store/sqlite/meeting-reads.js.map +1 -0
- package/dist/store/sqlite/meeting-stem-state.d.ts +16 -0
- package/dist/store/sqlite/meeting-stem-state.d.ts.map +1 -0
- package/dist/store/sqlite/meeting-stem-state.js +47 -0
- package/dist/store/sqlite/meeting-stem-state.js.map +1 -0
- package/dist/store/sqlite/meeting-values.d.ts +7 -0
- package/dist/store/sqlite/meeting-values.d.ts.map +1 -0
- package/dist/store/sqlite/meeting-values.js +50 -0
- package/dist/store/sqlite/meeting-values.js.map +1 -0
- package/dist/store/sqlite/meeting-vectors.d.ts +67 -0
- package/dist/store/sqlite/meeting-vectors.d.ts.map +1 -0
- package/dist/store/sqlite/meeting-vectors.js +245 -0
- package/dist/store/sqlite/meeting-vectors.js.map +1 -0
- package/dist/store/sqlite/meetings.d.ts +29 -0
- package/dist/store/sqlite/meetings.d.ts.map +1 -0
- package/dist/store/sqlite/meetings.js +587 -0
- package/dist/store/sqlite/meetings.js.map +1 -0
- package/dist/store/sqlite/memories.d.ts +88 -0
- package/dist/store/sqlite/memories.d.ts.map +1 -0
- package/dist/store/sqlite/memories.js +150 -0
- package/dist/store/sqlite/memories.js.map +1 -0
- package/dist/store/sqlite/messages.d.ts +13 -0
- package/dist/store/sqlite/messages.d.ts.map +1 -0
- package/dist/store/sqlite/messages.js +256 -0
- package/dist/store/sqlite/messages.js.map +1 -0
- package/dist/store/sqlite/migrations.generated.d.ts +5 -0
- package/dist/store/sqlite/migrations.generated.d.ts.map +1 -0
- package/dist/store/sqlite/migrations.generated.js +361 -0
- package/dist/store/sqlite/migrations.generated.js.map +1 -0
- package/dist/store/sqlite/note-index.d.ts +74 -0
- package/dist/store/sqlite/note-index.d.ts.map +1 -0
- package/dist/store/sqlite/note-index.js +178 -0
- package/dist/store/sqlite/note-index.js.map +1 -0
- package/dist/store/sqlite/note-search.d.ts +77 -0
- package/dist/store/sqlite/note-search.d.ts.map +1 -0
- package/dist/store/sqlite/note-search.js +395 -0
- package/dist/store/sqlite/note-search.js.map +1 -0
- package/dist/store/sqlite/notes.d.ts +173 -0
- package/dist/store/sqlite/notes.d.ts.map +1 -0
- package/dist/store/sqlite/notes.js +466 -0
- package/dist/store/sqlite/notes.js.map +1 -0
- package/dist/store/sqlite/open.d.ts +20 -0
- package/dist/store/sqlite/open.d.ts.map +1 -0
- package/dist/store/sqlite/open.js +27 -0
- package/dist/store/sqlite/open.js.map +1 -0
- package/dist/store/sqlite/person-links.d.ts +22 -0
- package/dist/store/sqlite/person-links.d.ts.map +1 -0
- package/dist/store/sqlite/person-links.js +168 -0
- package/dist/store/sqlite/person-links.js.map +1 -0
- package/dist/store/sqlite/person-resolution.d.ts +3 -0
- package/dist/store/sqlite/person-resolution.d.ts.map +1 -0
- package/dist/store/sqlite/person-resolution.js +25 -0
- package/dist/store/sqlite/person-resolution.js.map +1 -0
- package/dist/store/sqlite/person-scope.d.ts +3 -0
- package/dist/store/sqlite/person-scope.d.ts.map +1 -0
- package/dist/store/sqlite/person-scope.js +14 -0
- package/dist/store/sqlite/person-scope.js.map +1 -0
- package/dist/store/sqlite/private-people.d.ts +29 -0
- package/dist/store/sqlite/private-people.d.ts.map +1 -0
- package/dist/store/sqlite/private-people.js +88 -0
- package/dist/store/sqlite/private-people.js.map +1 -0
- package/dist/store/sqlite/proposed-actions.d.ts +67 -0
- package/dist/store/sqlite/proposed-actions.d.ts.map +1 -0
- package/dist/store/sqlite/proposed-actions.js +132 -0
- package/dist/store/sqlite/proposed-actions.js.map +1 -0
- package/dist/store/sqlite/query-filter.d.ts +27 -0
- package/dist/store/sqlite/query-filter.d.ts.map +1 -0
- package/dist/store/sqlite/query-filter.js +74 -0
- package/dist/store/sqlite/query-filter.js.map +1 -0
- package/dist/store/sqlite/ranges.d.ts +6 -0
- package/dist/store/sqlite/ranges.d.ts.map +1 -0
- package/dist/store/sqlite/ranges.js +23 -0
- package/dist/store/sqlite/ranges.js.map +1 -0
- package/dist/store/sqlite/ranking-evidence.d.ts +35 -0
- package/dist/store/sqlite/ranking-evidence.d.ts.map +1 -0
- package/dist/store/sqlite/ranking-evidence.js +177 -0
- package/dist/store/sqlite/ranking-evidence.js.map +1 -0
- package/dist/store/sqlite/rankings.d.ts +53 -0
- package/dist/store/sqlite/rankings.d.ts.map +1 -0
- package/dist/store/sqlite/rankings.js +329 -0
- package/dist/store/sqlite/rankings.js.map +1 -0
- package/dist/store/sqlite/read-snapshot.d.ts +4 -0
- package/dist/store/sqlite/read-snapshot.d.ts.map +1 -0
- package/dist/store/sqlite/read-snapshot.js +14 -0
- package/dist/store/sqlite/read-snapshot.js.map +1 -0
- package/dist/store/sqlite/reads.d.ts +825 -0
- package/dist/store/sqlite/reads.d.ts.map +1 -0
- package/dist/store/sqlite/reads.js +265 -0
- package/dist/store/sqlite/reads.js.map +1 -0
- package/dist/store/sqlite/retention.d.ts +30 -0
- package/dist/store/sqlite/retention.d.ts.map +1 -0
- package/dist/store/sqlite/retention.js +172 -0
- package/dist/store/sqlite/retention.js.map +1 -0
- package/dist/store/sqlite/roster.d.ts +62 -0
- package/dist/store/sqlite/roster.d.ts.map +1 -0
- package/dist/store/sqlite/roster.js +206 -0
- package/dist/store/sqlite/roster.js.map +1 -0
- package/dist/store/sqlite/schema.d.ts +12492 -0
- package/dist/store/sqlite/schema.d.ts.map +1 -0
- package/dist/store/sqlite/schema.js +1259 -0
- package/dist/store/sqlite/schema.js.map +1 -0
- package/dist/store/sqlite/search-index.d.ts +43 -0
- package/dist/store/sqlite/search-index.d.ts.map +1 -0
- package/dist/store/sqlite/search-index.js +175 -0
- package/dist/store/sqlite/search-index.js.map +1 -0
- package/dist/store/sqlite/search.d.ts +538 -0
- package/dist/store/sqlite/search.d.ts.map +1 -0
- package/dist/store/sqlite/search.js +149 -0
- package/dist/store/sqlite/search.js.map +1 -0
- package/dist/store/sqlite/searches.d.ts +35 -0
- package/dist/store/sqlite/searches.d.ts.map +1 -0
- package/dist/store/sqlite/searches.js +77 -0
- package/dist/store/sqlite/searches.js.map +1 -0
- package/dist/store/sqlite/stems.d.ts +81 -0
- package/dist/store/sqlite/stems.d.ts.map +1 -0
- package/dist/store/sqlite/stems.js +270 -0
- package/dist/store/sqlite/stems.js.map +1 -0
- package/dist/store/sqlite/sync.d.ts +11 -0
- package/dist/store/sqlite/sync.d.ts.map +1 -0
- package/dist/store/sqlite/sync.js +48 -0
- package/dist/store/sqlite/sync.js.map +1 -0
- package/dist/store/sqlite/tag-creation.d.ts +17 -0
- package/dist/store/sqlite/tag-creation.d.ts.map +1 -0
- package/dist/store/sqlite/tag-creation.js +78 -0
- package/dist/store/sqlite/tag-creation.js.map +1 -0
- package/dist/store/sqlite/tags.d.ts +78 -0
- package/dist/store/sqlite/tags.d.ts.map +1 -0
- package/dist/store/sqlite/tags.js +240 -0
- package/dist/store/sqlite/tags.js.map +1 -0
- package/dist/store/sqlite/task-relations.d.ts +43 -0
- package/dist/store/sqlite/task-relations.d.ts.map +1 -0
- package/dist/store/sqlite/task-relations.js +148 -0
- package/dist/store/sqlite/task-relations.js.map +1 -0
- package/dist/store/sqlite/tasks.d.ts +18 -0
- package/dist/store/sqlite/tasks.d.ts.map +1 -0
- package/dist/store/sqlite/tasks.js +205 -0
- package/dist/store/sqlite/tasks.js.map +1 -0
- package/dist/store/sqlite/things.d.ts +28 -0
- package/dist/store/sqlite/things.d.ts.map +1 -0
- package/dist/store/sqlite/things.js +233 -0
- package/dist/store/sqlite/things.js.map +1 -0
- package/dist/store/sqlite/transcripts.d.ts +13 -0
- package/dist/store/sqlite/transcripts.d.ts.map +1 -0
- package/dist/store/sqlite/transcripts.js +56 -0
- package/dist/store/sqlite/transcripts.js.map +1 -0
- package/dist/store/sqlite/values.d.ts +8 -0
- package/dist/store/sqlite/values.d.ts.map +1 -0
- package/dist/store/sqlite/values.js +11 -0
- package/dist/store/sqlite/values.js.map +1 -0
- package/dist/store/sqlite/vectors.d.ts +116 -0
- package/dist/store/sqlite/vectors.d.ts.map +1 -0
- package/dist/store/sqlite/vectors.js +289 -0
- package/dist/store/sqlite/vectors.js.map +1 -0
- package/dist/store/sqlite/vocabulary.d.ts +102 -0
- package/dist/store/sqlite/vocabulary.d.ts.map +1 -0
- package/dist/store/sqlite/vocabulary.js +314 -0
- package/dist/store/sqlite/vocabulary.js.map +1 -0
- package/dist/store/sqlite/words.d.ts +90 -0
- package/dist/store/sqlite/words.d.ts.map +1 -0
- package/dist/store/sqlite/words.js +257 -0
- package/dist/store/sqlite/words.js.map +1 -0
- package/dist/store/sqlite/work-tasks.d.ts +87 -0
- package/dist/store/sqlite/work-tasks.d.ts.map +1 -0
- package/dist/store/sqlite/work-tasks.js +245 -0
- package/dist/store/sqlite/work-tasks.js.map +1 -0
- package/dist/store/store.d.ts +865 -0
- package/dist/store/store.d.ts.map +1 -0
- package/dist/store/store.js +949 -0
- package/dist/store/store.js.map +1 -0
- package/dist/store/ulid.d.ts +3 -0
- package/dist/store/ulid.d.ts.map +1 -0
- package/dist/store/ulid.js +13 -0
- package/dist/store/ulid.js.map +1 -0
- package/dist/tasks/index.d.ts +4 -0
- package/dist/tasks/index.d.ts.map +1 -0
- package/dist/tasks/index.js +4 -0
- package/dist/tasks/index.js.map +1 -0
- package/dist/tasks/model.d.ts +30 -0
- package/dist/tasks/model.d.ts.map +1 -0
- package/dist/tasks/model.js +11 -0
- package/dist/tasks/model.js.map +1 -0
- package/dist/tasks/service.d.ts +42 -0
- package/dist/tasks/service.d.ts.map +1 -0
- package/dist/tasks/service.js +54 -0
- package/dist/tasks/service.js.map +1 -0
- package/dist/tasks/store.d.ts +25 -0
- package/dist/tasks/store.d.ts.map +1 -0
- package/dist/tasks/store.js +8 -0
- package/dist/tasks/store.js.map +1 -0
- package/dist/tasks/testing/index.d.ts +2 -0
- package/dist/tasks/testing/index.d.ts.map +1 -0
- package/dist/tasks/testing/index.js +2 -0
- package/dist/tasks/testing/index.js.map +1 -0
- package/dist/tasks/testing/memory-store.d.ts +5 -0
- package/dist/tasks/testing/memory-store.d.ts.map +1 -0
- package/dist/tasks/testing/memory-store.js +37 -0
- package/dist/tasks/testing/memory-store.js.map +1 -0
- package/dist/terminal/prompt.d.ts +22 -0
- package/dist/terminal/prompt.d.ts.map +1 -0
- package/dist/terminal/prompt.js +81 -0
- package/dist/terminal/prompt.js.map +1 -0
- package/dist/terminal/qr.d.ts +14 -0
- package/dist/terminal/qr.d.ts.map +1 -0
- package/dist/terminal/qr.js +85 -0
- package/dist/terminal/qr.js.map +1 -0
- package/docs/search/recipes.json +131 -0
- package/package.json +152 -68
- package/parity.json +4088 -0
- package/skills/follow-ups/SKILL.md +106 -0
- package/skills/link-conversations/SKILL.md +92 -0
- package/config/biome.base.json +0 -56
- package/config/cspell.json +0 -57
- package/config/lefthook.yml +0 -34
- package/config/rumdl.toml +0 -9
- package/config/tsconfig.base.json +0 -21
- package/config/tsconfig.scripts.json +0 -13
- package/config/tsconfig.test.json +0 -11
- package/config/vale/CliDocs/Filler.yml +0 -9
- package/config/vale/CliDocs/SentenceLength.yml +0 -6
- package/config/vale/Tg/Tone.yml +0 -7
- package/config/wirecat/LICENSE +0 -204
- package/config/wirecat/biome.base.json +0 -56
- package/config/wirecat/check.mjs +0 -41
- package/config/wirecat/cspell.json +0 -80
- package/config/wirecat/lefthook.yml +0 -26
- package/config/wirecat/manifest.json +0 -23
- package/config/wirecat/markdownlint.json +0 -10
- package/config/wirecat/rumdl.toml +0 -9
- package/dist/codegen/index.d.ts +0 -12
- package/dist/codegen/index.d.ts.map +0 -1
- package/dist/codegen/index.js +0 -11
- package/dist/codegen/index.js.map +0 -1
- package/dist/codegen/manifest.d.ts +0 -47
- package/dist/codegen/manifest.d.ts.map +0 -1
- package/dist/codegen/manifest.js +0 -73
- package/dist/codegen/manifest.js.map +0 -1
- package/dist/codegen/model.d.ts +0 -146
- package/dist/codegen/model.d.ts.map +0 -1
- package/dist/codegen/model.js +0 -7
- package/dist/codegen/model.js.map +0 -1
- package/dist/codegen/names.d.ts +0 -4
- package/dist/codegen/names.d.ts.map +0 -1
- package/dist/codegen/names.js +0 -46
- package/dist/codegen/names.js.map +0 -1
- package/dist/codegen/pipeline.d.ts +0 -24
- package/dist/codegen/pipeline.d.ts.map +0 -1
- package/dist/codegen/pipeline.js +0 -193
- package/dist/codegen/pipeline.js.map +0 -1
- package/dist/codegen/runtime.d.ts +0 -24
- package/dist/codegen/runtime.d.ts.map +0 -1
- package/dist/codegen/runtime.js +0 -38
- package/dist/codegen/runtime.js.map +0 -1
- package/dist/codegen/tree.d.ts +0 -29
- package/dist/codegen/tree.d.ts.map +0 -1
- package/dist/codegen/tree.js +0 -87
- package/dist/codegen/tree.js.map +0 -1
- package/dist/codegen/typescript.d.ts +0 -6
- package/dist/codegen/typescript.d.ts.map +0 -1
- package/dist/codegen/typescript.js +0 -78
- package/dist/codegen/typescript.js.map +0 -1
- package/dist/codegen/valibot.d.ts +0 -10
- package/dist/codegen/valibot.d.ts.map +0 -1
- package/dist/codegen/valibot.js +0 -132
- package/dist/codegen/valibot.js.map +0 -1
- package/dist/commands/index.d.ts +0 -76
- package/dist/commands/index.d.ts.map +0 -1
- package/dist/commands/index.js +0 -62
- package/dist/commands/index.js.map +0 -1
- package/dist/commands/page.d.ts +0 -80
- package/dist/commands/page.d.ts.map +0 -1
- package/dist/commands/page.js +0 -100
- package/dist/commands/page.js.map +0 -1
- package/dist/completion/index.d.ts +0 -37
- package/dist/completion/index.d.ts.map +0 -1
- package/dist/completion/index.js +0 -87
- package/dist/completion/index.js.map +0 -1
- package/dist/config.d.ts +0 -20
- package/dist/config.d.ts.map +0 -1
- package/dist/config.js +0 -61
- package/dist/config.js.map +0 -1
- package/dist/credentials.d.ts +0 -48
- package/dist/credentials.d.ts.map +0 -1
- package/dist/credentials.js +0 -120
- package/dist/credentials.js.map +0 -1
- package/dist/deadline.d.ts +0 -14
- package/dist/deadline.d.ts.map +0 -1
- package/dist/deadline.js +0 -88
- package/dist/deadline.js.map +0 -1
- package/dist/dev/bin.d.ts.map +0 -1
- package/dist/dev/bin.js +0 -8
- package/dist/dev/bin.js.map +0 -1
- package/dist/dev/main.d.ts +0 -7
- package/dist/dev/main.d.ts.map +0 -1
- package/dist/dev/main.js +0 -149
- package/dist/dev/main.js.map +0 -1
- package/dist/dev/next-version.d.ts +0 -11
- package/dist/dev/next-version.d.ts.map +0 -1
- package/dist/dev/next-version.js +0 -33
- package/dist/dev/next-version.js.map +0 -1
- package/dist/dev/slow-tests.d.ts +0 -14
- package/dist/dev/slow-tests.d.ts.map +0 -1
- package/dist/dev/slow-tests.js +0 -17
- package/dist/dev/slow-tests.js.map +0 -1
- package/dist/dev/test-matrix.d.ts +0 -35
- package/dist/dev/test-matrix.d.ts.map +0 -1
- package/dist/dev/test-matrix.js +0 -93
- package/dist/dev/test-matrix.js.map +0 -1
- package/dist/errors.d.ts +0 -34
- package/dist/errors.d.ts.map +0 -1
- package/dist/errors.js +0 -36
- package/dist/errors.js.map +0 -1
- package/dist/executable.d.ts +0 -3
- package/dist/executable.d.ts.map +0 -1
- package/dist/executable.js +0 -41
- package/dist/executable.js.map +0 -1
- package/dist/exit-codes.d.ts +0 -11
- package/dist/exit-codes.d.ts.map +0 -1
- package/dist/exit-codes.js +0 -25
- package/dist/exit-codes.js.map +0 -1
- package/dist/http/index.d.ts +0 -20
- package/dist/http/index.d.ts.map +0 -1
- package/dist/http/index.js +0 -46
- package/dist/http/index.js.map +0 -1
- package/dist/keyring.d.ts +0 -27
- package/dist/keyring.d.ts.map +0 -1
- package/dist/keyring.js +0 -45
- package/dist/keyring.js.map +0 -1
- package/dist/legacy-paths.d.ts +0 -33
- package/dist/legacy-paths.d.ts.map +0 -1
- package/dist/legacy-paths.js +0 -128
- package/dist/legacy-paths.js.map +0 -1
- package/dist/logger.d.ts +0 -12
- package/dist/logger.d.ts.map +0 -1
- package/dist/logger.js +0 -7
- package/dist/logger.js.map +0 -1
- package/dist/logging.d.ts +0 -31
- package/dist/logging.d.ts.map +0 -1
- package/dist/logging.js +0 -58
- package/dist/logging.js.map +0 -1
- package/dist/mcp/index.d.ts +0 -32
- package/dist/mcp/index.d.ts.map +0 -1
- package/dist/mcp/index.js +0 -113
- package/dist/mcp/index.js.map +0 -1
- package/dist/output-buffer.d.ts +0 -16
- package/dist/output-buffer.d.ts.map +0 -1
- package/dist/output-buffer.js +0 -69
- package/dist/output-buffer.js.map +0 -1
- package/dist/paths.d.ts +0 -35
- package/dist/paths.d.ts.map +0 -1
- package/dist/paths.js +0 -45
- package/dist/paths.js.map +0 -1
- package/dist/pretty.d.ts +0 -12
- package/dist/pretty.d.ts.map +0 -1
- package/dist/pretty.js +0 -83
- package/dist/pretty.js.map +0 -1
- package/dist/release/index.d.ts +0 -38
- package/dist/release/index.d.ts.map +0 -1
- package/dist/release/index.js +0 -91
- package/dist/release/index.js.map +0 -1
- package/dist/release/markdown.d.ts +0 -36
- package/dist/release/markdown.d.ts.map +0 -1
- package/dist/release/markdown.js +0 -153
- package/dist/release/markdown.js.map +0 -1
- package/dist/release/structure.d.ts +0 -16
- package/dist/release/structure.d.ts.map +0 -1
- package/dist/release/structure.js +0 -74
- package/dist/release/structure.js.map +0 -1
- package/dist/renderer.d.ts +0 -34
- package/dist/renderer.d.ts.map +0 -1
- package/dist/renderer.js +0 -55
- package/dist/renderer.js.map +0 -1
- package/dist/result-fields.d.ts +0 -4
- package/dist/result-fields.d.ts.map +0 -1
- package/dist/result-fields.js +0 -56
- package/dist/result-fields.js.map +0 -1
- package/dist/retry.d.ts +0 -27
- package/dist/retry.d.ts.map +0 -1
- package/dist/retry.js +0 -26
- package/dist/retry.js.map +0 -1
- package/dist/sanitize.d.ts +0 -25
- package/dist/sanitize.d.ts.map +0 -1
- package/dist/sanitize.js +0 -52
- package/dist/sanitize.js.map +0 -1
- package/dist/skill/index.d.ts +0 -78
- package/dist/skill/index.d.ts.map +0 -1
- package/dist/skill/index.js +0 -190
- package/dist/skill/index.js.map +0 -1
- package/dist/streams.d.ts +0 -24
- package/dist/streams.d.ts.map +0 -1
- package/dist/streams.js +0 -26
- package/dist/streams.js.map +0 -1
- package/dist/testing/index.d.ts +0 -24
- package/dist/testing/index.d.ts.map +0 -1
- package/dist/testing/index.js +0 -29
- package/dist/testing/index.js.map +0 -1
- package/dist/time.d.ts +0 -21
- package/dist/time.d.ts.map +0 -1
- package/dist/time.js +0 -19
- package/dist/time.js.map +0 -1
- package/dist/update/index.d.ts +0 -76
- package/dist/update/index.d.ts.map +0 -1
- package/dist/update/index.js +0 -160
- package/dist/update/index.js.map +0 -1
- /package/dist/{dev → parity}/bin.d.ts +0 -0
|
@@ -0,0 +1,717 @@
|
|
|
1
|
+
import { CliError, singleLine } from "@wirecat/cli-base";
|
|
2
|
+
import { capability } from "../cli/messenger/port.js";
|
|
3
|
+
import { threadIdOf } from "../cli/messenger/thread.js";
|
|
4
|
+
import { validateFormattedText, visibleFormattedText } from "../domain/formatting.js";
|
|
5
|
+
import { formatLocator, parseLocator } from "../domain/locator.js";
|
|
6
|
+
import { messageLinkTarget, validatePermalink } from "../domain/message-link.js";
|
|
7
|
+
import { isId, pickChat, pickPerson } from "../resolve.js";
|
|
8
|
+
import { inSource, parseQuery, sourceOf } from "../search/query.js";
|
|
9
|
+
import { search } from "../search/search.js";
|
|
10
|
+
import { codeOf, guardedWrite } from "../sends/guarded.js";
|
|
11
|
+
import { sendAsCheck } from "../sends/send-as.js";
|
|
12
|
+
import { newOperationId, newSendId } from "../sends/send-id.js";
|
|
13
|
+
import { crossAccount, fromStore, nothingStored, PUSHED } from "./deps.js";
|
|
14
|
+
import { searchDiscovery } from "./messages-discovery.js";
|
|
15
|
+
import { searchLucene, statsLucene, } from "./messages-search.js";
|
|
16
|
+
import { searchAll } from "./search-all.js";
|
|
17
|
+
import { searchAllWithMeetings, } from "./search-all-meetings.js";
|
|
18
|
+
import { accountsOfKind, listedAccounts } from "./search-kind.js";
|
|
19
|
+
import { refreshSearch, withRefresh } from "./search-refresh.js";
|
|
20
|
+
import { searchRecordOf } from "./searches.js";
|
|
21
|
+
import { searchServer, sourceKey, } from "./server-search.js";
|
|
22
|
+
import { readThreadContext, threadBounds } from "./thread-context.js";
|
|
23
|
+
/** max-cli's: many at once is what a ban for automation looks like. */
|
|
24
|
+
export const DELETE_AT_ONCE = 10;
|
|
25
|
+
/** How long a search may spend building the word index, then the stems, first (phase 2 plan S3: about 200 ms). */
|
|
26
|
+
export const SEARCH_FILL_MS = 200;
|
|
27
|
+
export const statsStore = async (store, account, request, messenger = {}) => {
|
|
28
|
+
const stop = Date.now() + SEARCH_FILL_MS;
|
|
29
|
+
await store.fillSearchIndex({ until: () => Date.now() >= stop });
|
|
30
|
+
await store.fillStems({ until: () => Date.now() >= stop });
|
|
31
|
+
return statsLucene(store, account, request, messenger);
|
|
32
|
+
};
|
|
33
|
+
export const messagesService = (deps) => {
|
|
34
|
+
const { guard } = deps;
|
|
35
|
+
const inStore = async (read) => read(await deps.store(), await deps.account());
|
|
36
|
+
const serverThenStore = async (store, account, query) => {
|
|
37
|
+
const server = await searchServer(deps, query);
|
|
38
|
+
const only = query.backend === "server" && server
|
|
39
|
+
? [...server.sources.keys()].map((key) => {
|
|
40
|
+
const [chatId, id] = JSON.parse(key);
|
|
41
|
+
return { ...account, chatId, id };
|
|
42
|
+
})
|
|
43
|
+
: undefined;
|
|
44
|
+
const found = await searchStore(store, account, only ? { ...query, only } : query, deps.messenger);
|
|
45
|
+
return { found, server };
|
|
46
|
+
};
|
|
47
|
+
const unifiedMessages = (store, account) => async (query) => {
|
|
48
|
+
await topUp(store);
|
|
49
|
+
const { found, server } = await serverThenStore(store, account, query);
|
|
50
|
+
return withServer(found, account, server);
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
* Only a run that answered is kept: a refused query is the caller's typo, not a search. The answer is
|
|
54
|
+
* already in hand, so a history write that fails — the store busy under `serve` — never fails the search.
|
|
55
|
+
*/
|
|
56
|
+
const remember = async (store, command, query) => {
|
|
57
|
+
if (deps.history === false)
|
|
58
|
+
return;
|
|
59
|
+
await store
|
|
60
|
+
.recordSearch(searchRecordOf(command, paramsOf(command, query)), {
|
|
61
|
+
...(query.saved === undefined ? {} : { saved: query.saved }),
|
|
62
|
+
})
|
|
63
|
+
.catch(() => undefined);
|
|
64
|
+
};
|
|
65
|
+
const pinning = async ({ chat, message }, pinned, notify) => {
|
|
66
|
+
const connection = await deps.connection();
|
|
67
|
+
const act = pinned
|
|
68
|
+
? capability(connection, "pin", "pin a message")
|
|
69
|
+
: capability(connection, "unpin", "unpin a message");
|
|
70
|
+
const { id: chatId } = await connection.resolve(chat);
|
|
71
|
+
const operationId = newOperationId();
|
|
72
|
+
await guardedWrite(guard, { operationId, chatId, kind: "pin", key: pinned ? "messages.pin" : "messages.unpin", messageId: message, notify }, () => act(chatId, message, { notify }));
|
|
73
|
+
return { operationId, chatId, messageId: message, pinned };
|
|
74
|
+
};
|
|
75
|
+
const topicPage = async (chat, threadId, { limit, before, beforeTime, after }) => {
|
|
76
|
+
if (beforeTime !== undefined || after !== undefined)
|
|
77
|
+
throw new CliError("validation_error", "a topic is read back from its newest message, or from --before-id");
|
|
78
|
+
if (threadId === "1")
|
|
79
|
+
throw new CliError("validation_error", "the General topic's messages carry no topic id — read the whole chat without --topic");
|
|
80
|
+
const window = { limit, ...(before === undefined ? {} : { before }) };
|
|
81
|
+
if (fromStore(deps)) {
|
|
82
|
+
return inStore(async (store, account) => store.messages(account, await readChatId(deps, chat, store, account), { ...window, threadId }));
|
|
83
|
+
}
|
|
84
|
+
return capability(await deps.connection(), "topicHistory", "read one forum topic")(chat, threadId, window);
|
|
85
|
+
};
|
|
86
|
+
const listPage = async (chat, { limit, before, beforeTime, after, threadId: typedThread }) => {
|
|
87
|
+
const threadId = threadIdOf(typedThread);
|
|
88
|
+
if (threadId !== undefined)
|
|
89
|
+
return topicPage(chat, threadId, { limit, before, beforeTime, after });
|
|
90
|
+
if (beforeTime !== undefined) {
|
|
91
|
+
if (deps.offline)
|
|
92
|
+
throw new CliError("validation_error", "reading back from a time asks the messenger; not with --offline");
|
|
93
|
+
if (fromStore(deps))
|
|
94
|
+
throw new CliError("validation_error", `${PUSHED}, which pages back from a message only`);
|
|
95
|
+
const connection = await deps.connection();
|
|
96
|
+
return capability(connection, "historyBefore", "read back from a time")(chat, { limit, time: beforeTime });
|
|
97
|
+
}
|
|
98
|
+
if (after !== undefined) {
|
|
99
|
+
if (deps.offline)
|
|
100
|
+
throw new CliError("validation_error", "reading forward asks the messenger; the store pages only backwards");
|
|
101
|
+
if (fromStore(deps))
|
|
102
|
+
throw new CliError("validation_error", `${PUSHED}, which pages only backwards`);
|
|
103
|
+
const connection = await deps.connection();
|
|
104
|
+
return capability(connection, "historyAfter", "read forward from a message")(chat, { limit, after });
|
|
105
|
+
}
|
|
106
|
+
const window = { limit, ...(before === undefined ? {} : { before }) };
|
|
107
|
+
if (fromStore(deps)) {
|
|
108
|
+
return inStore(async (store, account) => store.messages(account, await readChatId(deps, chat, store, account), window));
|
|
109
|
+
}
|
|
110
|
+
return capability(await deps.connection(), "history", "read a chat's history")(chat, window);
|
|
111
|
+
};
|
|
112
|
+
return {
|
|
113
|
+
// A provider caps its pages (Telegram at 100), so a larger --limit reads on from the last page's edge.
|
|
114
|
+
// Only by id: where `before` is a send time (MAX), messages sharing the edge moment would be skipped.
|
|
115
|
+
list: async (chat, window) => {
|
|
116
|
+
const forward = window.after !== undefined;
|
|
117
|
+
let page = await listPage(chat, window);
|
|
118
|
+
let items = page.items;
|
|
119
|
+
const byId = (deps.messenger.fetching?.orderBy ?? "id") === "id";
|
|
120
|
+
while (byId && page.hasMore && items.length < window.limit) {
|
|
121
|
+
const edge = forward ? items.at(-1) : items[0];
|
|
122
|
+
if (!edge)
|
|
123
|
+
break;
|
|
124
|
+
const { beforeTime: _first, ...rest } = window;
|
|
125
|
+
const next = forward
|
|
126
|
+
? { ...rest, limit: window.limit - items.length, after: { id: edge.id } }
|
|
127
|
+
: { ...rest, limit: window.limit - items.length, before: edge.id };
|
|
128
|
+
page = await listPage(chat, next);
|
|
129
|
+
const seen = new Set(items.map((one) => one.id));
|
|
130
|
+
const fresh = page.items.filter((one) => !seen.has(one.id));
|
|
131
|
+
if (fresh.length === 0)
|
|
132
|
+
break;
|
|
133
|
+
items = forward ? [...items, ...fresh] : [...fresh, ...items];
|
|
134
|
+
}
|
|
135
|
+
return { items, hasMore: page.hasMore };
|
|
136
|
+
},
|
|
137
|
+
around: async (reference, message, window) => {
|
|
138
|
+
const target = messageLinkTarget(reference, message, deps.messenger.provider);
|
|
139
|
+
if (target.account !== undefined) {
|
|
140
|
+
const account = await deps.account();
|
|
141
|
+
if (account.provider !== deps.messenger.provider || target.account !== account.account)
|
|
142
|
+
throw new CliError("validation_error", "that locator belongs to another account; select its profile first");
|
|
143
|
+
}
|
|
144
|
+
if (fromStore(deps)) {
|
|
145
|
+
return inStore(async (store, account) => store.around(account, await readChatId(deps, target.chat, store, account), target.message, window));
|
|
146
|
+
}
|
|
147
|
+
return capability(await deps.connection(), "around", "read the messages around one")(target.chat, target.message, window);
|
|
148
|
+
},
|
|
149
|
+
thread: (reference, message, options) => inStore(async (store, account) => {
|
|
150
|
+
const target = messageLinkTarget(reference, message, deps.messenger.provider);
|
|
151
|
+
if (account.provider !== deps.messenger.provider ||
|
|
152
|
+
(target.account !== undefined && target.account !== account.account))
|
|
153
|
+
throw new CliError("validation_error", "that locator belongs to another account; select its profile first");
|
|
154
|
+
return readThreadContext(store, account, await storedChatId(deps.messenger, target.chat, store, account), target.message, options);
|
|
155
|
+
}),
|
|
156
|
+
comments: async (chat, typedPost, window) => {
|
|
157
|
+
const post = typedPost.trim();
|
|
158
|
+
if (post === "")
|
|
159
|
+
throw new CliError("validation_error", "which post? give its message id in the channel");
|
|
160
|
+
if (deps.offline)
|
|
161
|
+
throw new CliError("validation_error", "comments are read from the messenger; not with --offline");
|
|
162
|
+
const connection = await deps.connection();
|
|
163
|
+
const discussionOf = capability(connection, "discussionOf", "read comments on a channel post");
|
|
164
|
+
const comments = capability(connection, "comments", "read comments on a channel post");
|
|
165
|
+
const { id: channelId } = await connection.resolve(chat);
|
|
166
|
+
const discussion = await discussionOf(channelId, post);
|
|
167
|
+
return { discussion, ...(await comments(channelId, post, window)) };
|
|
168
|
+
},
|
|
169
|
+
link: async (reference, message) => {
|
|
170
|
+
const target = messageLinkTarget(reference, message, deps.messenger.provider);
|
|
171
|
+
const account = await deps.account();
|
|
172
|
+
if (account.provider !== deps.messenger.provider ||
|
|
173
|
+
(target.account !== undefined && target.account !== account.account))
|
|
174
|
+
throw new CliError("validation_error", "that locator belongs to another account; select its profile first");
|
|
175
|
+
if (fromStore(deps)) {
|
|
176
|
+
const store = await deps.store();
|
|
177
|
+
const chat = await readChatId(deps, target.chat, store, account);
|
|
178
|
+
const found = await store.around(account, chat, target.message, { before: 0, after: 0 });
|
|
179
|
+
if (!found.some((item) => item.id === target.message && item.chatId === chat))
|
|
180
|
+
throw new CliError("not_found", "no such message in this account's stored chat");
|
|
181
|
+
return {
|
|
182
|
+
locator: formatLocator({ ...account, chat, message: target.message }),
|
|
183
|
+
url: null,
|
|
184
|
+
access: "unavailable",
|
|
185
|
+
reason: deps.offline ? "offline" : "unsupported_provider",
|
|
186
|
+
};
|
|
187
|
+
}
|
|
188
|
+
const connection = await deps.connection();
|
|
189
|
+
if (connection.self() !== account.account)
|
|
190
|
+
throw new CliError("authentication_error", "the connected account differs from the recorded profile; refresh the session before linking");
|
|
191
|
+
const { id: chat } = await connection.resolve(target.chat);
|
|
192
|
+
const locator = formatLocator({ ...account, chat, message: target.message });
|
|
193
|
+
if (connection.permalink)
|
|
194
|
+
return { locator, ...validatePermalink(await connection.permalink(chat, target.message)) };
|
|
195
|
+
const found = await capability(connection, "around", "read a message")(chat, target.message, {
|
|
196
|
+
before: 0,
|
|
197
|
+
after: 0,
|
|
198
|
+
});
|
|
199
|
+
if (!found.some((item) => item.id === target.message && item.chatId === chat))
|
|
200
|
+
throw new CliError("not_found", "no such message in this chat");
|
|
201
|
+
return { locator, url: null, access: "unavailable", reason: "unsupported_provider" };
|
|
202
|
+
},
|
|
203
|
+
download: async (chat, message) => capability(await deps.connection(), "download", "download attachments")(chat, message),
|
|
204
|
+
keepDownloaded: (chat, message, files) => inStore(async (store, account) => {
|
|
205
|
+
const chatId = (await storedChatId(deps.messenger, chat, store, account).catch(() => undefined)) ??
|
|
206
|
+
(await (await deps.connection()).resolve(chat)).id;
|
|
207
|
+
return store.keepDownloads(account, chatId, message, files);
|
|
208
|
+
}),
|
|
209
|
+
search: (request) => {
|
|
210
|
+
if (request.discover && request.backend === "server")
|
|
211
|
+
throw new CliError("validation_error", "discovery searches the local archive; use backend archive");
|
|
212
|
+
const query = {
|
|
213
|
+
...request,
|
|
214
|
+
language: request.language ?? (request.pattern ? "legacy" : "lucene"),
|
|
215
|
+
// Mail is only ever in the local store, and a saved search replays as `search messages`.
|
|
216
|
+
...(request.kind === "mail" || request.discover ? { backend: "archive" } : {}),
|
|
217
|
+
};
|
|
218
|
+
const opened = query.kind === "mail"
|
|
219
|
+
? crossAccount(deps, "search mail reads every mail account unless --account names one")
|
|
220
|
+
: deps.store();
|
|
221
|
+
return opened.then(async (store) => {
|
|
222
|
+
const account = await deps.account();
|
|
223
|
+
if (query.thread)
|
|
224
|
+
threadBounds(query.thread);
|
|
225
|
+
const refreshed = await refreshSearch(deps, query);
|
|
226
|
+
// The server step reads the indexes to translate the query, so they are topped up first.
|
|
227
|
+
if (query.backend !== undefined && query.backend !== "archive")
|
|
228
|
+
await topUp(store);
|
|
229
|
+
const { found, server } = await serverThenStore(store, account, query);
|
|
230
|
+
if (query.kind !== "mail")
|
|
231
|
+
await remember(store, "search", query);
|
|
232
|
+
return withServer(withRefresh(found, refreshed), account, server);
|
|
233
|
+
});
|
|
234
|
+
},
|
|
235
|
+
searchAll: (request) => inStore((store, account) => searchAll(store, account, request, deps.messenger, unifiedMessages(store, account))),
|
|
236
|
+
searchAllWithMeetings: (request) => inStore((store, account) => searchAllWithMeetings(store, account, request, deps.messenger, unifiedMessages(store, account))),
|
|
237
|
+
stats: (request) => {
|
|
238
|
+
const query = {
|
|
239
|
+
...request,
|
|
240
|
+
language: request.language ?? (request.pattern ? "legacy" : "lucene"),
|
|
241
|
+
};
|
|
242
|
+
return inStore(async (store, account) => {
|
|
243
|
+
const refreshed = await refreshSearch(deps, query);
|
|
244
|
+
const stats = await statsStore(store, account, query, deps.messenger);
|
|
245
|
+
await remember(store, "stats", query);
|
|
246
|
+
return withRefresh(stats, refreshed);
|
|
247
|
+
});
|
|
248
|
+
},
|
|
249
|
+
send: async ({ chat, text: typed, sendId, replyTo: typedReplyTo, threadId: typedThread, silent, noPreview, markdown, html, at, attachments = [], key, origin, spoiler, captionAbove, sendAs, commentTo, sticker, }) => {
|
|
250
|
+
if (sticker !== undefined && (typed.trim() !== "" || attachments.length > 0 || markdown || html))
|
|
251
|
+
throw new CliError("validation_error", "a sticker goes alone — no text, no file, no photo");
|
|
252
|
+
if (commentTo !== undefined && (typedReplyTo !== undefined || typedThread !== undefined))
|
|
253
|
+
throw new CliError("validation_error", "a comment answers the post itself; not with --reply-to or --topic");
|
|
254
|
+
const media = { ...(spoiler ? { spoiler } : {}), ...(captionAbove ? { captionAbove } : {}) };
|
|
255
|
+
checkMediaOptions(deps.messenger, Object.keys(media), attachments.length);
|
|
256
|
+
const connection = await deps.connection();
|
|
257
|
+
if (at !== undefined && sendId !== undefined) {
|
|
258
|
+
throw new CliError("validation_error", "a scheduled send is never repeated: it would be scheduled twice — look in `messages scheduled` instead");
|
|
259
|
+
}
|
|
260
|
+
const prepared = await formatted(connection, typed, { markdown, html });
|
|
261
|
+
const { text, spans } = deps.agentText ? visibleFormattedText(prepared) : prepared;
|
|
262
|
+
if (text.trim() === "" && attachments.length === 0 && sticker === undefined) {
|
|
263
|
+
throw new CliError("validation_error", "nothing to send — the marks leave no text");
|
|
264
|
+
}
|
|
265
|
+
const threadId = threadIdOf(typedThread);
|
|
266
|
+
const validate = threadId === undefined ? undefined : capability(connection, "validateThread", "send to a forum topic");
|
|
267
|
+
const checkSendAs = sendAsCheck(connection, sendAs);
|
|
268
|
+
const discussionOf = commentTo === undefined ? undefined : capability(connection, "discussionOf", "comment on a channel post");
|
|
269
|
+
const { id: resolved } = await connection.resolve(chat);
|
|
270
|
+
const discussion = discussionOf && commentTo !== undefined ? await discussionOf(resolved, commentTo) : undefined;
|
|
271
|
+
const chatId = discussion?.chatId ?? resolved;
|
|
272
|
+
const replyTo = discussion?.messageId ?? typedReplyTo;
|
|
273
|
+
await checkSendAs(chatId);
|
|
274
|
+
const id = sendId ?? connection.newSendId?.() ?? newSendId();
|
|
275
|
+
const attempt = {
|
|
276
|
+
chatId,
|
|
277
|
+
kind: "message",
|
|
278
|
+
sendId: id,
|
|
279
|
+
operationId: id,
|
|
280
|
+
length: text.length,
|
|
281
|
+
...(replyTo === undefined ? {} : { replyTo }),
|
|
282
|
+
...(threadId === undefined ? {} : { threadId }),
|
|
283
|
+
...(sendAs === undefined ? {} : { sendAs }),
|
|
284
|
+
...(at === undefined ? {} : { scheduledFor: at }),
|
|
285
|
+
...(key === undefined ? {} : { key }),
|
|
286
|
+
...(origin === undefined ? {} : { origin }),
|
|
287
|
+
...(attachments.length === 0
|
|
288
|
+
? {}
|
|
289
|
+
: { attachments: attachments.map(({ kind, bytes }) => ({ kind, bytes: bytes.byteLength })) }),
|
|
290
|
+
};
|
|
291
|
+
try {
|
|
292
|
+
const done = await guardedWrite(guard, attempt, () => connection.send(chatId, text, {
|
|
293
|
+
sendId: id,
|
|
294
|
+
...(replyTo === undefined ? {} : { replyTo }),
|
|
295
|
+
...(threadId === undefined ? {} : { threadId }),
|
|
296
|
+
...(silent ? { silent } : {}),
|
|
297
|
+
...(noPreview ? { noPreview } : {}),
|
|
298
|
+
...(spans.length > 0 ? { formatting: spans } : {}),
|
|
299
|
+
...(at === undefined ? {} : { at }),
|
|
300
|
+
...(attachments.length === 0 ? {} : { attachments }),
|
|
301
|
+
...(sticker === undefined ? {} : { sticker }),
|
|
302
|
+
...media,
|
|
303
|
+
...(sendAs === undefined ? {} : { sendAs }),
|
|
304
|
+
}), (sent) => ({ messageId: sent.message.id }), validate === undefined || threadId === undefined
|
|
305
|
+
? undefined
|
|
306
|
+
: () => validate(chatId, threadId, { ...(replyTo === undefined ? {} : { replyTo }) }));
|
|
307
|
+
return { ...done, operationId: id };
|
|
308
|
+
}
|
|
309
|
+
catch (error) {
|
|
310
|
+
if (at !== undefined && codeOf(error) === "outcome_unknown") {
|
|
311
|
+
throw new CliError("outcome_unknown", "no answer — the message may have been scheduled. Look in `messages scheduled` before anything else; " +
|
|
312
|
+
"never send it again with --send-id", { scheduled_for: at });
|
|
313
|
+
}
|
|
314
|
+
throw error;
|
|
315
|
+
}
|
|
316
|
+
},
|
|
317
|
+
edit: async ({ chat, message, text: typed, markdown, html }) => {
|
|
318
|
+
const connection = await deps.connection();
|
|
319
|
+
const edit = capability(connection, "edit", "edit a message");
|
|
320
|
+
const prepared = await formatted(connection, typed, { markdown, html });
|
|
321
|
+
const { text, spans } = deps.agentText ? visibleFormattedText(prepared) : prepared;
|
|
322
|
+
if (text.trim() === "")
|
|
323
|
+
throw new CliError("validation_error", "no new text — the marks leave nothing");
|
|
324
|
+
const { id: chatId } = await connection.resolve(chat);
|
|
325
|
+
const operationId = newOperationId();
|
|
326
|
+
const edited = await guardedWrite(guard, { operationId, chatId, kind: "edit", messageId: message, length: text.length }, () => edit(chatId, message, text, spans.length > 0 ? { formatting: spans } : {}));
|
|
327
|
+
return { operationId, message: edited };
|
|
328
|
+
},
|
|
329
|
+
delete: async ({ chat, messages, forEveryone }) => {
|
|
330
|
+
const connection = await deps.connection();
|
|
331
|
+
if (messages.length > DELETE_AT_ONCE) {
|
|
332
|
+
throw new CliError("validation_error", `at most ${DELETE_AT_ONCE} messages at once, got ${messages.length}`);
|
|
333
|
+
}
|
|
334
|
+
const remove = capability(connection, "delete", "delete messages");
|
|
335
|
+
const { id: chatId } = await connection.resolve(chat);
|
|
336
|
+
const operationId = newOperationId();
|
|
337
|
+
await guardedWrite(guard, { operationId, chatId, kind: "delete", count: messages.length, forEveryone }, () => remove(chatId, messages, { forEveryone }));
|
|
338
|
+
return { operationId, chatId, deleted: messages, forEveryone };
|
|
339
|
+
},
|
|
340
|
+
forward: async ({ chat, message, to, silent, sendId, sendAs, threadId: typedThread }) => {
|
|
341
|
+
const connection = await deps.connection();
|
|
342
|
+
const forward = capability(connection, "forward", "forward a message");
|
|
343
|
+
const threadId = threadIdOf(typedThread);
|
|
344
|
+
if (threadId !== undefined && deps.messenger.forwardTopic !== true)
|
|
345
|
+
throw new CliError("validation_error", "this messenger cannot forward to a forum topic");
|
|
346
|
+
const validate = threadId === undefined ? undefined : capability(connection, "validateThread", "forward to a forum topic");
|
|
347
|
+
const checkSendAs = sendAsCheck(connection, sendAs);
|
|
348
|
+
const { id: fromChatId } = await connection.resolve(chat);
|
|
349
|
+
const { id: toChatId } = await connection.resolve(to);
|
|
350
|
+
await checkSendAs(toChatId);
|
|
351
|
+
const id = sendId ?? connection.newSendId?.() ?? newSendId();
|
|
352
|
+
const forwarded = await guardedWrite(guard, {
|
|
353
|
+
operationId: id,
|
|
354
|
+
sendId: id,
|
|
355
|
+
chatId: toChatId,
|
|
356
|
+
kind: "forward",
|
|
357
|
+
...(threadId === undefined ? {} : { threadId }),
|
|
358
|
+
...(sendAs === undefined ? {} : { sendAs }),
|
|
359
|
+
}, () => forward(fromChatId, message, toChatId, {
|
|
360
|
+
sendId: id,
|
|
361
|
+
...(silent ? { silent } : {}),
|
|
362
|
+
...(sendAs === undefined ? {} : { sendAs }),
|
|
363
|
+
...(threadId === undefined ? {} : { threadId }),
|
|
364
|
+
}), (done) => ({ messageId: done.id }), validate === undefined || threadId === undefined ? undefined : () => validate(toChatId, threadId, {}));
|
|
365
|
+
return { operationId: id, sendId: id, message: forwarded };
|
|
366
|
+
},
|
|
367
|
+
pin: ({ notify, ...target }) => pinning(target, true, notify),
|
|
368
|
+
unpin: (target) => pinning(target, false, false),
|
|
369
|
+
react: async ({ chat, message, emoji }) => {
|
|
370
|
+
const connection = await deps.connection();
|
|
371
|
+
if (emoji === "")
|
|
372
|
+
throw new CliError("validation_error", "which emoji? give one, for example 👍");
|
|
373
|
+
const react = capability(connection, "react", "react to a message");
|
|
374
|
+
const { id: chatId } = await connection.resolve(chat);
|
|
375
|
+
const operationId = newOperationId();
|
|
376
|
+
await guardedWrite(guard, { operationId, chatId, kind: "reaction", messageId: message }, () => react(chatId, message, emoji));
|
|
377
|
+
return { operationId, chatId, messageId: message, reaction: emoji };
|
|
378
|
+
},
|
|
379
|
+
};
|
|
380
|
+
};
|
|
381
|
+
const withThreads = async (store, found, request) => {
|
|
382
|
+
if (!request.thread)
|
|
383
|
+
return found;
|
|
384
|
+
const items = [];
|
|
385
|
+
for (const hit of found.items)
|
|
386
|
+
items.push({
|
|
387
|
+
...hit,
|
|
388
|
+
thread: await readThreadContext(store, accountOf(hit), hit.chatId, hit.id, {
|
|
389
|
+
before: request.context ?? 0,
|
|
390
|
+
after: request.context ?? 0,
|
|
391
|
+
...request.thread,
|
|
392
|
+
signal: request.signal,
|
|
393
|
+
}),
|
|
394
|
+
});
|
|
395
|
+
return { ...found, items };
|
|
396
|
+
};
|
|
397
|
+
/** The server answers for the account it runs as only; another account's message with the same ids is the archive's. */
|
|
398
|
+
const withServer = (found, account, server) => server
|
|
399
|
+
? {
|
|
400
|
+
...found,
|
|
401
|
+
server: server.report,
|
|
402
|
+
items: found.items.map((hit) => ({
|
|
403
|
+
...hit,
|
|
404
|
+
source: (keyOf(accountOf(hit)) === keyOf(account) && server.sources.get(sourceKey(hit.chatId, hit.id))) ||
|
|
405
|
+
"archive",
|
|
406
|
+
})),
|
|
407
|
+
}
|
|
408
|
+
: found;
|
|
409
|
+
export const validateSearchDialect = (request) => {
|
|
410
|
+
const { pattern } = request;
|
|
411
|
+
if (request.language !== undefined && !["lucene", "legacy"].includes(request.language))
|
|
412
|
+
throw new CliError("validation_error", "--language takes lucene or legacy");
|
|
413
|
+
if (pattern && (request.language === "lucene" || request.ast !== undefined || request.timezone !== undefined))
|
|
414
|
+
throw new CliError("validation_error", "--regex is legacy JavaScript mode; not with Lucene, AST or timezone");
|
|
415
|
+
if (request.language === "legacy" && (request.ast !== undefined || request.timezone !== undefined))
|
|
416
|
+
throw new CliError("validation_error", "AST and timezone require the Lucene language");
|
|
417
|
+
if (pattern && (request.source !== undefined || request.accounts !== undefined || request.senders !== undefined)) {
|
|
418
|
+
throw new CliError("validation_error", "--regex reads the account it runs as — not with --source, other accounts or senders");
|
|
419
|
+
}
|
|
420
|
+
};
|
|
421
|
+
/**
|
|
422
|
+
* `search messages` over a store, from the account given — or from `query.accounts`, which a caller such
|
|
423
|
+
* as a bot's search passes after checking it may read them.
|
|
424
|
+
*/
|
|
425
|
+
// A large file builds its word index a slice per search as well as in `store migrate` (NEED-453 A).
|
|
426
|
+
const topUp = async (store) => {
|
|
427
|
+
const stop = Date.now() + SEARCH_FILL_MS;
|
|
428
|
+
await store.fillSearchIndex({ until: () => Date.now() >= stop });
|
|
429
|
+
await store.fillStems({ until: () => Date.now() >= stop });
|
|
430
|
+
};
|
|
431
|
+
/** How deep a search pages: each page reads every hit before it again. */
|
|
432
|
+
export const MAX_SEARCH_OFFSET = 1000;
|
|
433
|
+
/**
|
|
434
|
+
* Search the store, one page at a time: `offset` skips the hits a page before held, and `nextOffset` says where
|
|
435
|
+
* the next page starts. A page is the hits up to `offset + limit` read again and cut, so deep pages cost more.
|
|
436
|
+
*/
|
|
437
|
+
export const searchStore = async (store, account, request, messenger = {}) => {
|
|
438
|
+
const offset = request.offset ?? 0;
|
|
439
|
+
if (!Number.isInteger(offset) || offset < 0 || offset > MAX_SEARCH_OFFSET)
|
|
440
|
+
throw new CliError("validation_error", `offset takes a whole number from 0 to ${MAX_SEARCH_OFFSET}`);
|
|
441
|
+
const found = await searchPage(store, account, { ...request, limit: request.limit + offset }, messenger);
|
|
442
|
+
return {
|
|
443
|
+
...found,
|
|
444
|
+
items: found.items.slice(offset),
|
|
445
|
+
...(found.hasMore && offset + request.limit <= MAX_SEARCH_OFFSET ? { nextOffset: offset + request.limit } : {}),
|
|
446
|
+
};
|
|
447
|
+
};
|
|
448
|
+
const searchPage = async (store, account, request, messenger) => {
|
|
449
|
+
const { text, pattern, chat, source, accounts, senders, limit, newest = false, context = 0 } = request;
|
|
450
|
+
if (request.signal?.aborted)
|
|
451
|
+
throw new CliError("validation_error", "search was aborted", { reason: "query.aborted", complete: false });
|
|
452
|
+
validateSearchDialect(request);
|
|
453
|
+
if (request.thread)
|
|
454
|
+
threadBounds(request.thread);
|
|
455
|
+
if (request.discover !== undefined && typeof request.discover !== "boolean")
|
|
456
|
+
throw new CliError("validation_error", "discover takes a boolean");
|
|
457
|
+
if (request.discover && (pattern || request.language === "legacy"))
|
|
458
|
+
throw new CliError("validation_error", "discovery requires Lucene text, without legacy or regex");
|
|
459
|
+
if (request.discover && request.backend === "server")
|
|
460
|
+
throw new CliError("validation_error", "discovery searches the local archive; use backend archive");
|
|
461
|
+
await topUp(store);
|
|
462
|
+
if (request.discover)
|
|
463
|
+
return withThreads(store, await searchDiscovery(store, account, request, messenger), request);
|
|
464
|
+
if (!pattern && (request.language === "lucene" || request.ast !== undefined))
|
|
465
|
+
return withThreads(store, await searchLucene(store, account, request, messenger), request);
|
|
466
|
+
const found = pattern
|
|
467
|
+
? {
|
|
468
|
+
...(await store.find({
|
|
469
|
+
pattern,
|
|
470
|
+
signal: request.signal,
|
|
471
|
+
account,
|
|
472
|
+
limit,
|
|
473
|
+
...(chat === undefined ? {} : { chatId: await storedChatId(messenger, chat, store, account) }),
|
|
474
|
+
})),
|
|
475
|
+
corrections: [],
|
|
476
|
+
wordsReady: (await store.searchIndexState())?.ready === true,
|
|
477
|
+
}
|
|
478
|
+
: await search(store, ...(await scopeOf(messenger, store, account, {
|
|
479
|
+
text: text ?? "",
|
|
480
|
+
chat,
|
|
481
|
+
source,
|
|
482
|
+
accounts,
|
|
483
|
+
senders,
|
|
484
|
+
kind: request.kind,
|
|
485
|
+
})), { limit, newest });
|
|
486
|
+
const items = await Promise.all(found.items.map(async (hit) => context > 0
|
|
487
|
+
? {
|
|
488
|
+
...hit,
|
|
489
|
+
context: await store.around(accountOf(hit), hit.chatId, hit.id, { before: context, after: context }),
|
|
490
|
+
}
|
|
491
|
+
: hit));
|
|
492
|
+
return withThreads(store, { ...found, items, completeness: await completenessOf(store, found.items) }, request);
|
|
493
|
+
};
|
|
494
|
+
/**
|
|
495
|
+
* The chat a store read is about. Offline, a chat with nothing kept answers empty, as it always has;
|
|
496
|
+
* in store mode the store is the only source, so an empty answer would pass for "nothing was said".
|
|
497
|
+
*/
|
|
498
|
+
export const readChatId = async (deps, reference, store, account) => {
|
|
499
|
+
if (deps.reads !== "store")
|
|
500
|
+
return storedChatId(deps.messenger, reference, store, account);
|
|
501
|
+
const chatId = await storedChatId(deps.messenger, reference, store, account).catch((error) => {
|
|
502
|
+
if (codeOf(error) === "not_found")
|
|
503
|
+
throw new CliError("not_found", nothingStored(deps.messenger));
|
|
504
|
+
throw error;
|
|
505
|
+
});
|
|
506
|
+
if ((await store.countMessages(account, chatId)) === 0) {
|
|
507
|
+
throw new CliError("not_found", nothingStored(deps.messenger), { chat: chatId });
|
|
508
|
+
}
|
|
509
|
+
return chatId;
|
|
510
|
+
};
|
|
511
|
+
/** A chat as typed, found among the stored chats the way an adapter finds it among its own. */
|
|
512
|
+
export const storedChatId = async (messenger, reference, store, account) => chatIdAmong(messenger, reference, account, () => store.chats(account, {}));
|
|
513
|
+
/** `storedChatId`, among the chats of the account the store is bound to. */
|
|
514
|
+
export const chatIdIn = (messenger, reference, store) => chatIdAmong(messenger, reference, store.account, () => store.chats({}));
|
|
515
|
+
const chatIdAmong = async (messenger, reference, account, held) => {
|
|
516
|
+
const trimmed = reference.trim();
|
|
517
|
+
if (messenger.savedChatId && ["me", "self", "saved"].includes(trimmed.toLowerCase())) {
|
|
518
|
+
return messenger.savedChatId(account);
|
|
519
|
+
}
|
|
520
|
+
if (/^-?\d+$/.test(trimmed))
|
|
521
|
+
return trimmed;
|
|
522
|
+
const chats = (await held()).items;
|
|
523
|
+
const exact = chats.find((one) => one.id === trimmed);
|
|
524
|
+
if (exact)
|
|
525
|
+
return exact.id;
|
|
526
|
+
if (trimmed.startsWith("@")) {
|
|
527
|
+
const username = trimmed.slice(1).toLowerCase();
|
|
528
|
+
const found = chats.find((one) => String(one.providerMetadata?.username ?? "").toLowerCase() === username);
|
|
529
|
+
if (!found)
|
|
530
|
+
throw new CliError("not_found", `no stored chat is ${trimmed}`);
|
|
531
|
+
return found.id;
|
|
532
|
+
}
|
|
533
|
+
return pickChat(trimmed, chats).id;
|
|
534
|
+
};
|
|
535
|
+
const accountOf = (hit) => {
|
|
536
|
+
const { provider, account } = parseLocator(hit.locator);
|
|
537
|
+
return { provider, account };
|
|
538
|
+
};
|
|
539
|
+
const keyOf = ({ provider, account }) => `${provider}/${account}`;
|
|
540
|
+
/** Each chat's completeness from the account that holds it: a search may span several. */
|
|
541
|
+
const completenessOf = async (store, hits) => {
|
|
542
|
+
const chats = new Map();
|
|
543
|
+
for (const hit of hits) {
|
|
544
|
+
const account = accountOf(hit);
|
|
545
|
+
const held = chats.get(keyOf(account)) ?? { account, chatIds: new Set() };
|
|
546
|
+
held.chatIds.add(hit.chatId);
|
|
547
|
+
chats.set(keyOf(account), held);
|
|
548
|
+
}
|
|
549
|
+
const found = await Promise.all([...chats.values()].map(async ({ account, chatIds }) => (await store.chatCompleteness(account, [...chatIds])).map((one) => ({ ...one, ...account }))));
|
|
550
|
+
return found.flat();
|
|
551
|
+
};
|
|
552
|
+
/** Several candidates in different accounts: which messenger each is in says which one was meant. */
|
|
553
|
+
const ambiguousAcross = (reference, what, candidates) => {
|
|
554
|
+
const width = Math.max(...candidates.map(({ provider, id }) => `${provider} ${id}`.length));
|
|
555
|
+
const lines = candidates.map(({ provider, id, label }) => ` ${`${provider} ${id}`.padEnd(width)} ${label}`);
|
|
556
|
+
return new CliError("validation_error", `"${singleLine(reference)}" matches ${candidates.length} ${what} in different accounts — ` +
|
|
557
|
+
`name one by its id, or narrow the search with in:<messenger>:\n${lines.join("\n")}`, { candidates: candidates.map(({ provider, id }) => ({ provider, id })) });
|
|
558
|
+
};
|
|
559
|
+
const missing = (error) => {
|
|
560
|
+
if (codeOf(error) === "not_found")
|
|
561
|
+
return undefined;
|
|
562
|
+
throw error;
|
|
563
|
+
};
|
|
564
|
+
/** A chat as `--chat` names it, in whichever of the accounts holds it — one of them, or it is an error. */
|
|
565
|
+
export const chatAmong = async (messenger, store, accounts, reference) => {
|
|
566
|
+
const [only] = accounts;
|
|
567
|
+
if (accounts.length === 1 && only)
|
|
568
|
+
return { account: only, chatId: await storedChatId(messenger, reference, store, only) };
|
|
569
|
+
const found = (await Promise.all(accounts.map(async (account) => {
|
|
570
|
+
const held = (await store.chats(account, {})).items;
|
|
571
|
+
const chatId = await storedChatId(messenger, reference, store, account).catch(missing);
|
|
572
|
+
const chat = held.find((one) => one.id === chatId);
|
|
573
|
+
return chat ? [{ account, chat }] : [];
|
|
574
|
+
}))).flat();
|
|
575
|
+
const [one] = found;
|
|
576
|
+
if (found.length === 1 && one)
|
|
577
|
+
return { account: one.account, chatId: one.chat.id };
|
|
578
|
+
if (found.length === 0)
|
|
579
|
+
throw new CliError("not_found", `no stored chat matches "${singleLine(reference)}"`);
|
|
580
|
+
throw ambiguousAcross(reference, "chats", found.map(({ account, chat }) => ({
|
|
581
|
+
provider: account.provider,
|
|
582
|
+
id: chat.id,
|
|
583
|
+
label: singleLine(chat.title ?? ""),
|
|
584
|
+
})));
|
|
585
|
+
};
|
|
586
|
+
/** A sender, through the names each messenger's accounts have seen; `from:` names one person. */
|
|
587
|
+
export const senderAmong = async (store, accounts, reference) => {
|
|
588
|
+
const providers = [...new Set(accounts.map(({ provider }) => provider))];
|
|
589
|
+
const [only] = accounts;
|
|
590
|
+
try {
|
|
591
|
+
if (accounts.length === 1 && only) {
|
|
592
|
+
const person = pickPerson(reference, await store.people(only.provider, { account: only.account }));
|
|
593
|
+
return { provider: only.provider, id: person.id };
|
|
594
|
+
}
|
|
595
|
+
const found = (await Promise.all(providers.map(async (provider) => {
|
|
596
|
+
const ids = accounts.filter((one) => one.provider === provider).map(({ account }) => account);
|
|
597
|
+
const person = await store
|
|
598
|
+
.people(provider, { accounts: ids })
|
|
599
|
+
.then((people) => pickPerson(reference, people))
|
|
600
|
+
.catch(missing);
|
|
601
|
+
return person ? [{ provider, person }] : [];
|
|
602
|
+
}))).flat();
|
|
603
|
+
const [one] = found;
|
|
604
|
+
if (found.length === 1 && one)
|
|
605
|
+
return { provider: one.provider, id: one.person.id };
|
|
606
|
+
if (found.length === 0) {
|
|
607
|
+
throw new CliError("not_found", isId(reference) ? `no person ${reference} in what these accounts have seen` : `nobody matches "${reference}"`);
|
|
608
|
+
}
|
|
609
|
+
throw ambiguousAcross(reference, "people", found.map(({ provider, person }) => ({ provider, id: person.id, label: singleLine(person.name ?? "") })));
|
|
610
|
+
}
|
|
611
|
+
catch (error) {
|
|
612
|
+
if (error instanceof CliError && error.code === "not_found") {
|
|
613
|
+
throw new CliError("not_found", `from:${reference} — ${error.message}`);
|
|
614
|
+
}
|
|
615
|
+
throw error;
|
|
616
|
+
}
|
|
617
|
+
};
|
|
618
|
+
/**
|
|
619
|
+
* The parsed query and the scope it names: the account the command runs as, or every account of the
|
|
620
|
+
* messenger `in:` or `--source` names. `chat:` resolves as `--chat` does, `from:` through the names
|
|
621
|
+
* `contacts search` uses, `from:me` as what the accounts sent — all inside the accounts chosen.
|
|
622
|
+
*/
|
|
623
|
+
export const scopeOf = async (messenger, store, account, { text, chat, source, accounts: given, senders, kind, }) => {
|
|
624
|
+
const held = await store.accounts();
|
|
625
|
+
const providers = [...new Set(held.map(({ provider }) => provider))];
|
|
626
|
+
const parsed = parseQuery(text, { providers });
|
|
627
|
+
if (chat !== undefined && parsed.chat !== undefined && parsed.chat !== chat) {
|
|
628
|
+
throw new CliError("validation_error", `--chat and chat: name different chats: "${chat}" and "${parsed.chat}"`);
|
|
629
|
+
}
|
|
630
|
+
const listed = await listedAccounts(store, account, source, messenger.app, kind);
|
|
631
|
+
if (listed && parsed.in !== undefined)
|
|
632
|
+
throw new CliError("validation_error", "--source names the accounts — leave in: out, or put it in the list");
|
|
633
|
+
const sourced = source === undefined || listed ? undefined : sourceOf("--source", source, providers);
|
|
634
|
+
if (sourced !== undefined && parsed.in !== undefined && sourced !== parsed.in) {
|
|
635
|
+
throw new CliError("validation_error", `--source and in: name different messengers: ${sourced} and ${parsed.in}`);
|
|
636
|
+
}
|
|
637
|
+
const wanted = parsed.in ?? sourced;
|
|
638
|
+
if (given !== undefined && (wanted !== undefined || listed)) {
|
|
639
|
+
throw new CliError("validation_error", "this search reads the accounts it was given — not with in: or --source");
|
|
640
|
+
}
|
|
641
|
+
if (given?.length === 0)
|
|
642
|
+
throw new CliError("validation_error", "a search names at least one account");
|
|
643
|
+
if (senders !== undefined && parsed.from !== undefined) {
|
|
644
|
+
throw new CliError("validation_error", "--from and from: together — name the people once");
|
|
645
|
+
}
|
|
646
|
+
const accounts = accountsOfKind(kind, given ??
|
|
647
|
+
listed?.accounts ??
|
|
648
|
+
(wanted === undefined || held.length === 0
|
|
649
|
+
? [account]
|
|
650
|
+
: held.filter(({ provider }) => inSource(wanted, provider))), held, wanted, messenger.app?.command, undefined, listed !== undefined || given !== undefined);
|
|
651
|
+
const named = parsed.chat ?? chat;
|
|
652
|
+
const scope = { accounts };
|
|
653
|
+
if (named !== undefined)
|
|
654
|
+
scope.chat = await chatAmong(messenger, store, accounts, named);
|
|
655
|
+
if (senders !== undefined)
|
|
656
|
+
scope.senders = senders;
|
|
657
|
+
if (parsed.from?.toLowerCase() === "me")
|
|
658
|
+
scope.outgoing = true;
|
|
659
|
+
else if (parsed.from !== undefined)
|
|
660
|
+
scope.sender = await senderAmong(store, accounts, parsed.from);
|
|
661
|
+
if (parsed.after !== undefined)
|
|
662
|
+
scope.after = parsed.after;
|
|
663
|
+
if (parsed.before !== undefined)
|
|
664
|
+
scope.before = parsed.before;
|
|
665
|
+
if (parsed.has.length > 0) {
|
|
666
|
+
const held = await store.attachmentKinds();
|
|
667
|
+
const unknown = parsed.has.find((kind) => !["attachment", "link", ...held].includes(kind));
|
|
668
|
+
if (unknown !== undefined) {
|
|
669
|
+
throw new CliError("validation_error", `has:${unknown} — the store holds no ${unknown}; it holds ${["attachment", "link", ...held].join(", ")}`);
|
|
670
|
+
}
|
|
671
|
+
scope.has = parsed.has;
|
|
672
|
+
}
|
|
673
|
+
return [{ required: parsed.required, excluded: parsed.excluded }, scope];
|
|
674
|
+
};
|
|
675
|
+
/** What a run is kept as: the query and options it was given — a regular expression as its source. */
|
|
676
|
+
const paramsOf = (command, query) => ({
|
|
677
|
+
...(query.pattern
|
|
678
|
+
? { text: query.pattern.source, regex: true }
|
|
679
|
+
: query.text === undefined
|
|
680
|
+
? {}
|
|
681
|
+
: { text: query.text }),
|
|
682
|
+
...(query.ast === undefined ? {} : { ast: query.ast }),
|
|
683
|
+
...(query.discover === undefined ? {} : { discover: query.discover }),
|
|
684
|
+
...(query.language === undefined ? {} : { language: query.language }),
|
|
685
|
+
...(query.chat === undefined ? {} : { chat: query.chat }),
|
|
686
|
+
...(query.source === undefined ? {} : { source: query.source }),
|
|
687
|
+
...(query.timezone === undefined ? {} : { timezone: query.timezone }),
|
|
688
|
+
limit: query.limit,
|
|
689
|
+
...(command === "search"
|
|
690
|
+
? { newest: query.newest === true, ...(query.context === undefined ? {} : { context: query.context }) }
|
|
691
|
+
: { by: query.by }),
|
|
692
|
+
});
|
|
693
|
+
const formatted = async (connection, typed, { markdown, html }) => {
|
|
694
|
+
if (markdown && html)
|
|
695
|
+
throw new CliError("validation_error", "--md and --html mark up the text two ways; use one");
|
|
696
|
+
if (markdown)
|
|
697
|
+
return validateFormattedText(await capability(connection, "formatMarkdown", "format Markdown")(typed));
|
|
698
|
+
if (html)
|
|
699
|
+
return validateFormattedText(await capability(connection, "formatHtml", "format HTML")(typed));
|
|
700
|
+
return { text: typed, spans: [] };
|
|
701
|
+
};
|
|
702
|
+
const MEDIA_FLAGS = {
|
|
703
|
+
spoiler: "--spoiler",
|
|
704
|
+
captionAbove: "--caption-above",
|
|
705
|
+
fileName: "--filename",
|
|
706
|
+
};
|
|
707
|
+
const checkMediaOptions = (messenger, asked, attachments) => {
|
|
708
|
+
const [first] = asked;
|
|
709
|
+
if (first === undefined)
|
|
710
|
+
return;
|
|
711
|
+
const missing = asked.find((one) => !messenger.mediaOptions?.includes(one));
|
|
712
|
+
if (missing)
|
|
713
|
+
throw new CliError("validation_error", `this messenger has no ${MEDIA_FLAGS[missing]}`);
|
|
714
|
+
if (attachments === 0)
|
|
715
|
+
throw new CliError("validation_error", `${MEDIA_FLAGS[first]} needs a --photo or --file`);
|
|
716
|
+
};
|
|
717
|
+
//# sourceMappingURL=messages.js.map
|