@wirecat/zoom-cli 0.83.0 → 0.84.1
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 +10 -10
- package/contracts/wirecat.json +34 -1
- package/dist/account-removal.d.ts +1 -1
- package/dist/account-removal.d.ts.map +1 -1
- package/dist/account-removal.js +1 -1
- package/dist/account-removal.js.map +1 -1
- package/dist/agent-skill.js +1 -1
- package/dist/agent-skill.js.map +1 -1
- package/dist/answer-entities.d.ts +1 -1
- package/dist/answer-entities.d.ts.map +1 -1
- package/dist/answer-entities.js +1 -1
- package/dist/answer-entities.js.map +1 -1
- package/dist/answer-output.d.ts +2 -2
- package/dist/answer-output.d.ts.map +1 -1
- package/dist/answer-output.js +1 -1
- package/dist/answer-output.js.map +1 -1
- package/dist/answer-policy.d.ts.map +1 -1
- package/dist/answer-policy.js +1 -2
- package/dist/answer-policy.js.map +1 -1
- package/dist/answers.js +1 -1
- package/dist/answers.js.map +1 -1
- package/dist/api.d.ts +2 -2
- package/dist/api.d.ts.map +1 -1
- package/dist/api.js +1 -1
- package/dist/api.js.map +1 -1
- package/dist/archive-commands.d.ts +1 -1
- package/dist/archive-commands.d.ts.map +1 -1
- package/dist/archive-commands.js +1 -2
- package/dist/archive-commands.js.map +1 -1
- package/dist/archive-import.d.ts +1 -1
- package/dist/archive-import.d.ts.map +1 -1
- package/dist/archive-import.js +1 -1
- package/dist/archive-import.js.map +1 -1
- package/dist/archive-transcripts.d.ts +1 -1
- package/dist/archive-transcripts.d.ts.map +1 -1
- package/dist/archive-transcripts.js +1 -2
- package/dist/archive-transcripts.js.map +1 -1
- package/dist/bin/main.js +3 -3
- package/dist/bin/main.js.map +1 -1
- package/dist/bin/zm.js +11 -11
- package/dist/bundle/answer-policy-FBJQFXVQ.js +33 -0
- package/dist/bundle/{chunk-26TW5RZ6.js → chunk-6BQOT7BA.js} +61 -94
- package/dist/bundle/chunk-AEWYRB6F.js +8 -0
- package/dist/bundle/{chunk-OGTN2KVG.js → chunk-DAPVDZQO.js} +4 -14
- package/dist/bundle/{chunk-H6A4NWYJ.js → chunk-HU5W6TCS.js} +114 -128
- package/dist/bundle/{chunk-2DK5BBFF.js → chunk-JD63PEI3.js} +3 -8
- package/dist/bundle/{chunk-R6IA5UQB.js → chunk-ODJNJCPV.js} +8 -2
- package/dist/bundle/{chunk-XEOZTA3H.js → chunk-W6YFWJDR.js} +2 -5
- package/dist/bundle/{chunk-434YFJAE.js → chunk-WSGD5Q6L.js} +3 -9
- package/dist/bundle/chunk-YQDNTG4D.js +922 -0
- package/dist/bundle/config-JGJXLNXC.js +29 -0
- package/dist/bundle/{folders-ROKVKSCT.js → folders-B2GKJOC2.js} +2 -7
- package/dist/bundle/{main-GCK3VYAA.js → main-7DP3EEM2.js} +19 -41
- package/dist/bundle/{output-file-RYIOIXMD.js → output-file-PKA7MJEP.js} +3 -11
- package/dist/bundle/{program-OYLVYA4Z.js → program-DM4ILZWZ.js} +642 -801
- package/dist/bundle/run-log-ML7ZCWXD.js +54 -0
- package/dist/bundle/store-connection-MMHILGCB.js +21 -0
- package/dist/bundle/streaming-PRGWGNHY.js +12 -0
- package/dist/bundle/tokens-UWS4VT4B.js +18 -0
- package/dist/bundle/zm.js +4 -161
- package/dist/bundle/{zoom-app-4F4YY4OI.js → zoom-app-DID42LPS.js} +5 -13
- package/dist/chat-file.d.ts +1 -1
- package/dist/chat-file.d.ts.map +1 -1
- package/dist/commands.js +1 -1
- package/dist/commands.js.map +1 -1
- package/dist/config-issues.d.ts +1 -1
- package/dist/config-issues.d.ts.map +1 -1
- package/dist/config-issues.js +1 -1
- package/dist/config-issues.js.map +1 -1
- package/dist/config.d.ts +1 -2
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +1 -2
- package/dist/config.js.map +1 -1
- package/dist/contacts-commands.d.ts +1 -1
- package/dist/contacts-commands.d.ts.map +1 -1
- package/dist/contacts-commands.js +1 -1
- package/dist/contacts-commands.js.map +1 -1
- package/dist/contract-overrides.js +1 -1
- package/dist/contract-overrides.js.map +1 -1
- package/dist/errors.d.ts +1 -1
- package/dist/errors.d.ts.map +1 -1
- package/dist/execution.d.ts +1 -1
- package/dist/execution.d.ts.map +1 -1
- package/dist/execution.js +1 -1
- package/dist/execution.js.map +1 -1
- package/dist/files.d.ts +2 -2
- package/dist/files.d.ts.map +1 -1
- package/dist/files.js +1 -1
- package/dist/files.js.map +1 -1
- package/dist/first-screen.js +1 -1
- package/dist/first-screen.js.map +1 -1
- package/dist/identity.d.ts +1 -1
- package/dist/identity.d.ts.map +1 -1
- package/dist/identity.js +6 -0
- package/dist/identity.js.map +1 -1
- package/dist/ingestion-search-commands.d.ts +1 -1
- package/dist/ingestion-search-commands.d.ts.map +1 -1
- package/dist/ingestion-search-commands.js +1 -1
- package/dist/ingestion-search-commands.js.map +1 -1
- package/dist/local-transcription-commands.d.ts +1 -1
- package/dist/local-transcription-commands.d.ts.map +1 -1
- package/dist/local-transcription-commands.js +1 -2
- package/dist/local-transcription-commands.js.map +1 -1
- package/dist/local-transcription.d.ts +1 -2
- package/dist/local-transcription.d.ts.map +1 -1
- package/dist/local-transcription.js +3 -3
- package/dist/local-transcription.js.map +1 -1
- package/dist/meeting-commands.d.ts +1 -1
- package/dist/meeting-commands.d.ts.map +1 -1
- package/dist/meeting-commands.js +1 -2
- package/dist/meeting-commands.js.map +1 -1
- package/dist/meeting-communications-binding.d.ts +1 -2
- package/dist/meeting-communications-binding.d.ts.map +1 -1
- package/dist/meeting-communications-binding.js.map +1 -1
- package/dist/meeting-context-commands.d.ts +1 -1
- package/dist/meeting-context-commands.d.ts.map +1 -1
- package/dist/meeting-context-commands.js +1 -1
- package/dist/meeting-context-commands.js.map +1 -1
- package/dist/meeting-context.d.ts +2 -4
- package/dist/meeting-context.d.ts.map +1 -1
- package/dist/meeting-context.js +1 -1
- package/dist/meeting-context.js.map +1 -1
- package/dist/meeting-integration-commands.d.ts +1 -1
- package/dist/meeting-integration-commands.d.ts.map +1 -1
- package/dist/meeting-integration-commands.js +1 -2
- package/dist/meeting-integration-commands.js.map +1 -1
- package/dist/meeting-integration.d.ts +1 -1
- package/dist/meeting-integration.d.ts.map +1 -1
- package/dist/meeting-integration.js +1 -1
- package/dist/meeting-integration.js.map +1 -1
- package/dist/meeting-inventory.d.ts +1 -1
- package/dist/meeting-inventory.d.ts.map +1 -1
- package/dist/meeting-inventory.js +1 -1
- package/dist/meeting-inventory.js.map +1 -1
- package/dist/meeting-preparation.d.ts +1 -2
- package/dist/meeting-preparation.d.ts.map +1 -1
- package/dist/meeting-preparation.js +1 -1
- package/dist/meeting-preparation.js.map +1 -1
- package/dist/meeting-project-candidates.d.ts +1 -1
- package/dist/meeting-project-candidates.d.ts.map +1 -1
- package/dist/meeting-project-evidence-commands.d.ts +1 -1
- package/dist/meeting-project-evidence-commands.d.ts.map +1 -1
- package/dist/meeting-project-evidence-commands.js +1 -2
- package/dist/meeting-project-evidence-commands.js.map +1 -1
- package/dist/meeting-read-command-bindings.js +1 -1
- package/dist/meeting-read-command-bindings.js.map +1 -1
- package/dist/meeting-review-commands.d.ts +1 -3
- package/dist/meeting-review-commands.d.ts.map +1 -1
- package/dist/meeting-review-commands.js +1 -2
- package/dist/meeting-review-commands.js.map +1 -1
- package/dist/meeting-search-commands.d.ts +2 -3
- package/dist/meeting-search-commands.d.ts.map +1 -1
- package/dist/meeting-search-commands.js +2 -4
- package/dist/meeting-search-commands.js.map +1 -1
- package/dist/meeting-searches-commands.d.ts +1 -2
- package/dist/meeting-searches-commands.d.ts.map +1 -1
- package/dist/meeting-searches-commands.js +1 -2
- package/dist/meeting-searches-commands.js.map +1 -1
- package/dist/meeting-selection-options.d.ts +1 -1
- package/dist/meeting-selection-options.d.ts.map +1 -1
- package/dist/meeting-selection-options.js +1 -2
- package/dist/meeting-selection-options.js.map +1 -1
- package/dist/meeting-semantic-commands.d.ts +1 -2
- package/dist/meeting-semantic-commands.d.ts.map +1 -1
- package/dist/meeting-semantic-commands.js +1 -1
- package/dist/meeting-semantic-commands.js.map +1 -1
- package/dist/meeting-semantic.d.ts +2 -2
- package/dist/meeting-semantic.d.ts.map +1 -1
- package/dist/meeting-semantic.js +1 -1
- package/dist/meeting-semantic.js.map +1 -1
- package/dist/meeting-source.d.ts +1 -1
- package/dist/meeting-source.d.ts.map +1 -1
- package/dist/meeting-stats-commands.d.ts +1 -3
- package/dist/meeting-stats-commands.d.ts.map +1 -1
- package/dist/meeting-stats-commands.js +1 -2
- package/dist/meeting-stats-commands.js.map +1 -1
- package/dist/models-commands.d.ts +1 -1
- package/dist/models-commands.d.ts.map +1 -1
- package/dist/models-commands.js +1 -1
- package/dist/models-commands.js.map +1 -1
- package/dist/occurrence-schedule.d.ts +1 -1
- package/dist/occurrence-schedule.d.ts.map +1 -1
- package/dist/permissions.d.ts +1 -1
- package/dist/permissions.d.ts.map +1 -1
- package/dist/permissions.js +1 -2
- package/dist/permissions.js.map +1 -1
- package/dist/profile.js +1 -1
- package/dist/profile.js.map +1 -1
- package/dist/program-bindings.js +1 -1
- package/dist/program-bindings.js.map +1 -1
- package/dist/program.d.ts +1 -2
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +1 -1
- package/dist/program.js.map +1 -1
- package/dist/progress-commands.d.ts +1 -1
- package/dist/progress-commands.d.ts.map +1 -1
- package/dist/progress-commands.js +1 -2
- package/dist/progress-commands.js.map +1 -1
- package/dist/read-only.js +1 -1
- package/dist/read-only.js.map +1 -1
- package/dist/recording-archive.d.ts.map +1 -1
- package/dist/recording-archive.js +1 -2
- package/dist/recording-archive.js.map +1 -1
- package/dist/recording-manifest.js +1 -1
- package/dist/recording-manifest.js.map +1 -1
- package/dist/recording-partial-store.d.ts +2 -3
- package/dist/recording-partial-store.d.ts.map +1 -1
- package/dist/recording-partial-store.js +1 -1
- package/dist/recording-partial-store.js.map +1 -1
- package/dist/recording-promotion-store.d.ts +1 -2
- package/dist/recording-promotion-store.d.ts.map +1 -1
- package/dist/recording-promotion-store.js +1 -2
- package/dist/recording-promotion-store.js.map +1 -1
- package/dist/recording-schedule-commands.d.ts +1 -1
- package/dist/recording-schedule-commands.d.ts.map +1 -1
- package/dist/recording-schedule-commands.js +1 -1
- package/dist/recording-schedule-commands.js.map +1 -1
- package/dist/recording-schedule-store.js +1 -1
- package/dist/recording-schedule-store.js.map +1 -1
- package/dist/recording-schedule-systemd.js +1 -1
- package/dist/recording-schedule-systemd.js.map +1 -1
- package/dist/recording-schedule.d.ts +1 -1
- package/dist/recording-schedule.d.ts.map +1 -1
- package/dist/recording-schedule.js +1 -1
- package/dist/recording-schedule.js.map +1 -1
- package/dist/recording-sync-store.d.ts +1 -1
- package/dist/recording-sync-store.d.ts.map +1 -1
- package/dist/recording-sync-store.js +1 -2
- package/dist/recording-sync-store.js.map +1 -1
- package/dist/recording-sync.d.ts +1 -1
- package/dist/recording-sync.d.ts.map +1 -1
- package/dist/recording-sync.js +1 -1
- package/dist/recording-sync.js.map +1 -1
- package/dist/recording-writer-lease.d.ts +1 -1
- package/dist/recording-writer-lease.d.ts.map +1 -1
- package/dist/recording-writer-lease.js +1 -1
- package/dist/recording-writer-lease.js.map +1 -1
- package/dist/recordings.d.ts +1 -1
- package/dist/recordings.d.ts.map +1 -1
- package/dist/recordings.js.map +1 -1
- package/dist/remote-meetings.d.ts +19 -19
- package/dist/remote-meetings.d.ts.map +1 -1
- package/dist/remote-meetings.js +1 -1
- package/dist/remote-meetings.js.map +1 -1
- package/dist/request-events.d.ts +1 -1
- package/dist/request-events.d.ts.map +1 -1
- package/dist/request-events.js +1 -1
- package/dist/request-events.js.map +1 -1
- package/dist/run-log.d.ts +1 -1
- package/dist/run-log.d.ts.map +1 -1
- package/dist/run-log.js +1 -1
- package/dist/run-log.js.map +1 -1
- package/dist/run.d.ts +1 -1
- package/dist/run.d.ts.map +1 -1
- package/dist/run.js +1 -2
- package/dist/run.js.map +1 -1
- package/dist/series-inventory.d.ts +2 -2
- package/dist/series-inventory.js +1 -1
- package/dist/series-inventory.js.map +1 -1
- package/dist/setup-commands.d.ts +1 -1
- package/dist/setup-commands.d.ts.map +1 -1
- package/dist/setup-commands.js +1 -1
- package/dist/setup-commands.js.map +1 -1
- package/dist/store-commands.d.ts +1 -1
- package/dist/store-commands.d.ts.map +1 -1
- package/dist/store-commands.js +1 -2
- package/dist/store-commands.js.map +1 -1
- package/dist/store-connection.d.ts +1 -3
- package/dist/store-connection.d.ts.map +1 -1
- package/dist/store-connection.js +14 -14
- package/dist/store-connection.js.map +1 -1
- package/dist/sync-progress.d.ts +4 -4
- package/dist/sync-progress.d.ts.map +1 -1
- package/dist/sync-progress.js +1 -1
- package/dist/sync-progress.js.map +1 -1
- package/dist/tokens.d.ts +1 -1
- package/dist/tokens.d.ts.map +1 -1
- package/dist/tokens.js +1 -1
- package/dist/tokens.js.map +1 -1
- package/dist/unified-search.d.ts +1 -1
- package/dist/unified-search.d.ts.map +1 -1
- package/dist/upcoming-meetings.d.ts +2 -2
- package/dist/upcoming-meetings.js +1 -1
- package/dist/upcoming-meetings.js.map +1 -1
- package/dist/upgrade.d.ts.map +1 -1
- package/dist/upgrade.js +1 -2
- package/dist/upgrade.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/watch-commands.d.ts +1 -2
- package/dist/watch-commands.d.ts.map +1 -1
- package/dist/watch-commands.js +1 -2
- package/dist/watch-commands.js.map +1 -1
- package/dist/watch-service.d.ts +1 -1
- package/dist/watch-service.d.ts.map +1 -1
- package/dist/watch-service.js +1 -1
- package/dist/watch-service.js.map +1 -1
- package/dist/zoom-app.d.ts +2 -2
- package/dist/zoom-app.d.ts.map +1 -1
- package/dist/zoom-app.js +1 -1
- package/dist/zoom-app.js.map +1 -1
- package/dist/zoom-search-commands.d.ts +1 -1
- package/dist/zoom-search-commands.d.ts.map +1 -1
- package/dist/zoom-search-commands.js +1 -1
- package/dist/zoom-search-commands.js.map +1 -1
- package/dist/zoom-session.d.ts +1 -1
- package/dist/zoom-session.d.ts.map +1 -1
- package/dist/zoom-session.js +1 -1
- package/dist/zoom-session.js.map +1 -1
- package/package.json +3 -3
- package/scenarios/person-in-meetings.md +1 -1
- package/skills/zoom-cli/SKILL.md +1 -1
- package/skills/zoom-cli/references/people-and-projects.md +5 -5
- package/skills/zoom-cli/references/prepare.md +2 -2
- package/dist/bundle/agent-3HDWEZ5M.js +0 -47
- package/dist/bundle/all-profiles-RY2OMSDL.js +0 -321
- package/dist/bundle/answer-policy-IFVXPPGW.js +0 -131
- package/dist/bundle/anthropic-36VPSF7B.js +0 -91
- package/dist/bundle/app-server-ZVJVUGB7.js +0 -267
- package/dist/bundle/bun-F4M4KCNA.js +0 -169
- package/dist/bundle/bun-sqlite-IOPYIUA7.js +0 -76
- package/dist/bundle/chunk-2IBKKVVZ.js +0 -335
- package/dist/bundle/chunk-2S54TM4N.js +0 -230
- package/dist/bundle/chunk-3AQHKXVR.js +0 -161
- package/dist/bundle/chunk-3CW2C7ZA.js +0 -217
- package/dist/bundle/chunk-3KUEZK5Z.js +0 -73
- package/dist/bundle/chunk-3PXUQFHX.js +0 -2333
- package/dist/bundle/chunk-3QN5KDFZ.js +0 -3012
- package/dist/bundle/chunk-575JMTDR.js +0 -562
- package/dist/bundle/chunk-5B2LV4MS.js +0 -26
- package/dist/bundle/chunk-5WL5RHOO.js +0 -167
- package/dist/bundle/chunk-6C7ESL5N.js +0 -295
- package/dist/bundle/chunk-6E4KLYNP.js +0 -229
- package/dist/bundle/chunk-7JDXR75Q.js +0 -465
- package/dist/bundle/chunk-AK3H2C65.js +0 -1349
- package/dist/bundle/chunk-AQ5RIOUE.js +0 -633
- package/dist/bundle/chunk-AQLUAQXJ.js +0 -1259
- package/dist/bundle/chunk-ASTLGFTR.js +0 -12270
- package/dist/bundle/chunk-ATHBB7OU.js +0 -106
- package/dist/bundle/chunk-B2NM65RD.js +0 -80
- package/dist/bundle/chunk-B4KHDXJE.js +0 -64
- package/dist/bundle/chunk-BAFC7WNI.js +0 -276
- package/dist/bundle/chunk-BBGJQMRI.js +0 -34
- package/dist/bundle/chunk-BTLZYRIW.js +0 -1007
- package/dist/bundle/chunk-BZDS2X6Y.js +0 -5150
- package/dist/bundle/chunk-C7JPYWYQ.js +0 -77
- package/dist/bundle/chunk-CDQUW25G.js +0 -3752
- package/dist/bundle/chunk-CJWGJBHW.js +0 -1044
- package/dist/bundle/chunk-D72URWJE.js +0 -532
- package/dist/bundle/chunk-D7RCUODT.js +0 -185
- package/dist/bundle/chunk-DFDN6AUB.js +0 -21
- package/dist/bundle/chunk-DNCLQPOM.js +0 -7
- package/dist/bundle/chunk-DQJECJUE.js +0 -2257
- package/dist/bundle/chunk-E4JQ3MCW.js +0 -2338
- package/dist/bundle/chunk-E4ODYLEK.js +0 -209
- package/dist/bundle/chunk-EE45N67Q.js +0 -86
- package/dist/bundle/chunk-EEEU4MKK.js +0 -210
- package/dist/bundle/chunk-ESN3W2MZ.js +0 -2624
- package/dist/bundle/chunk-ETIZGA4P.js +0 -340
- package/dist/bundle/chunk-F44QK6CK.js +0 -52
- package/dist/bundle/chunk-FH2UFNH6.js +0 -54
- package/dist/bundle/chunk-FTH6WGYO.js +0 -24
- package/dist/bundle/chunk-FWACRG4X.js +0 -160
- package/dist/bundle/chunk-FXBHOCJK.js +0 -24600
- package/dist/bundle/chunk-G5SZL7G2.js +0 -150
- package/dist/bundle/chunk-G6CHEFAG.js +0 -108
- package/dist/bundle/chunk-GHJD7PE6.js +0 -1068
- package/dist/bundle/chunk-GZ7WBU5Y.js +0 -18
- package/dist/bundle/chunk-HKLRI2LB.js +0 -555
- package/dist/bundle/chunk-HMD4FZYY.js +0 -133
- package/dist/bundle/chunk-HO4JGD4Q.js +0 -16
- package/dist/bundle/chunk-HTQTIKWP.js +0 -928
- package/dist/bundle/chunk-HUAHLO6N.js +0 -29
- package/dist/bundle/chunk-IANKXHSE.js +0 -46
- package/dist/bundle/chunk-IQZXFWFI.js +0 -170
- package/dist/bundle/chunk-ISQ23VKV.js +0 -123
- package/dist/bundle/chunk-JEH33ZCD.js +0 -58
- package/dist/bundle/chunk-JUNQYWQ2.js +0 -228
- package/dist/bundle/chunk-JUXMVQWJ.js +0 -799
- package/dist/bundle/chunk-KHQDWYCG.js +0 -82
- package/dist/bundle/chunk-KYRYD4CR.js +0 -38
- package/dist/bundle/chunk-LBGT6W4R.js +0 -377
- package/dist/bundle/chunk-LN7HRYTH.js +0 -80
- package/dist/bundle/chunk-MEB7HBTM.js +0 -95
- package/dist/bundle/chunk-MEEFWYX3.js +0 -388
- package/dist/bundle/chunk-MNOAMJ6H.js +0 -94
- package/dist/bundle/chunk-MYHPXJDG.js +0 -142
- package/dist/bundle/chunk-NGI37RFW.js +0 -692
- package/dist/bundle/chunk-NZMWD7Y3.js +0 -68149
- package/dist/bundle/chunk-O6IECJRM.js +0 -54
- package/dist/bundle/chunk-OBWL3BUV.js +0 -800
- package/dist/bundle/chunk-OEEWVKJX.js +0 -53
- package/dist/bundle/chunk-OQYZ3W4K.js +0 -374
- package/dist/bundle/chunk-P3ZCTYGW.js +0 -101
- package/dist/bundle/chunk-PL5P7UKW.js +0 -25216
- package/dist/bundle/chunk-PVEBAHFU.js +0 -100
- package/dist/bundle/chunk-R2B6PUVI.js +0 -206
- package/dist/bundle/chunk-RLOH7RDN.js +0 -362
- package/dist/bundle/chunk-RQ4AXSCJ.js +0 -616
- package/dist/bundle/chunk-RYGTCRFZ.js +0 -140
- package/dist/bundle/chunk-S4PXWIE4.js +0 -408
- package/dist/bundle/chunk-SDZZYZLL.js +0 -58
- package/dist/bundle/chunk-SHQAYUK6.js +0 -1199
- package/dist/bundle/chunk-T3W4V4A6.js +0 -63
- package/dist/bundle/chunk-TCT5D2X2.js +0 -6848
- package/dist/bundle/chunk-TDWPOSPR.js +0 -198
- package/dist/bundle/chunk-TER3N27H.js +0 -353
- package/dist/bundle/chunk-TMTNP7QN.js +0 -214
- package/dist/bundle/chunk-TO5UEWXR.js +0 -288
- package/dist/bundle/chunk-TXDR6YSF.js +0 -23
- package/dist/bundle/chunk-TY7NDMFY.js +0 -46
- package/dist/bundle/chunk-UAWSINMC.js +0 -875
- package/dist/bundle/chunk-UBH7YF3C.js +0 -9354
- package/dist/bundle/chunk-UEAE3JUU.js +0 -46576
- package/dist/bundle/chunk-UHR363OD.js +0 -357
- package/dist/bundle/chunk-UM52A76S.js +0 -259
- package/dist/bundle/chunk-URP6BTHN.js +0 -624
- package/dist/bundle/chunk-UWQEAA6S.js +0 -13
- package/dist/bundle/chunk-VR7QZGRU.js +0 -185
- package/dist/bundle/chunk-VRH5PBSL.js +0 -755
- package/dist/bundle/chunk-VTLQTQKY.js +0 -1756
- package/dist/bundle/chunk-VTYNLTDW.js +0 -331
- package/dist/bundle/chunk-WY7XG6TE.js +0 -76
- package/dist/bundle/chunk-XH23ML2V.js +0 -195
- package/dist/bundle/chunk-XYF76A26.js +0 -27556
- package/dist/bundle/chunk-Y5E2WNWB.js +0 -35
- package/dist/bundle/chunk-ZDYJAEVB.js +0 -84
- package/dist/bundle/chunk-ZJ63HDBT.js +0 -71
- package/dist/bundle/chunk-ZT4ZPUIO.js +0 -218
- package/dist/bundle/chunk-ZVVMGPBJ.js +0 -50
- package/dist/bundle/cli-JK6PQSSN.js +0 -1270
- package/dist/bundle/command-contract-F3QNBKPX.js +0 -46
- package/dist/bundle/command-server-entry-DJLGN62J.js +0 -176
- package/dist/bundle/config-TYYMV3HV.js +0 -118
- package/dist/bundle/decode-ZZICNNFF.js +0 -31
- package/dist/bundle/dispatch-FKMIPCPQ.js +0 -412
- package/dist/bundle/dist-NQPF25XI.js +0 -322
- package/dist/bundle/dist-PAKDDIBT.js +0 -191
- package/dist/bundle/dist-XUFQCJXW.js +0 -7577
- package/dist/bundle/echarts-QMAA7HH5.js +0 -42501
- package/dist/bundle/embed-T64EUKUI.js +0 -38
- package/dist/bundle/embedder-ZEKISZXI.js +0 -111
- package/dist/bundle/failure-XTWBYI2A.js +0 -25
- package/dist/bundle/first-run-ZFNY4RRH.js +0 -29
- package/dist/bundle/first-screen-LPGCHRHZ.js +0 -47
- package/dist/bundle/instructions-4H7UREH2.js +0 -11
- package/dist/bundle/mcp-5HFPWC3W.js +0 -167
- package/dist/bundle/meeting-combined-7HDPOUPB.js +0 -28
- package/dist/bundle/meeting-model-MVUW7UPQ.js +0 -26
- package/dist/bundle/meeting-semantic-IF633WGX.js +0 -23
- package/dist/bundle/meetings-RY2AAPHV.js +0 -332
- package/dist/bundle/node-KM3CUABH.js +0 -2340
- package/dist/bundle/node-P3PUHKYH.js +0 -176
- package/dist/bundle/node-TLZSIHIJ.js +0 -21
- package/dist/bundle/node-sqlite-ASAZJNHE.js +0 -74
- package/dist/bundle/oauth-4U3OCK3W.js +0 -20
- package/dist/bundle/oauth-AJARLPSY.js +0 -46
- package/dist/bundle/open-SEJRY2ZI.js +0 -23
- package/dist/bundle/openai-FZDSC2AA.js +0 -28
- package/dist/bundle/process-AFIXYXWL.js +0 -91
- package/dist/bundle/prompt-BCRD64F4.js +0 -17
- package/dist/bundle/public-SVJILCNI.js +0 -206
- package/dist/bundle/recognize-25ITJWGX.js +0 -26
- package/dist/bundle/remote-5FBAJX7O.js +0 -32
- package/dist/bundle/rerank-2HGWWORY.js +0 -52
- package/dist/bundle/run-log-7HRF4Y47.js +0 -145
- package/dist/bundle/serve-RL35MSJD.js +0 -199
- package/dist/bundle/server-QUSBWACP.js +0 -229
- package/dist/bundle/server-SCK2SRDK.js +0 -96
- package/dist/bundle/services-BGRIQNDC.js +0 -609
- package/dist/bundle/speech-4W3ZMTFK.js +0 -89
- package/dist/bundle/sqlite-runtime-K3KLRZCV.js +0 -20
- package/dist/bundle/state-GYL4C74G.js +0 -36
- package/dist/bundle/store-27UQMNEO.js +0 -189
- package/dist/bundle/store-NLYH5SQX.js +0 -316
- package/dist/bundle/store-connection-CZILWRSR.js +0 -112
- package/dist/bundle/store-maintenance-command-Z3QLNSXJ.js +0 -84
- package/dist/bundle/streaming-73EKEGPF.js +0 -18
- package/dist/bundle/surface-CV3C4RV2.js +0 -82
- package/dist/bundle/tokens-PY3S22LY.js +0 -27
- /package/dist/bundle/{chunk-7ECP5ZQR.js → chunk-7O7XM37N.js} +0 -0
|
@@ -1,62 +1,12 @@
|
|
|
1
1
|
import { createRequire as __bundleRequire } from "node:module";
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
openWavAudio,
|
|
5
|
-
preflightWavAudio
|
|
6
|
-
} from "./chunk-3CW2C7ZA.js";
|
|
7
3
|
import {
|
|
8
4
|
profileAccountKey,
|
|
9
5
|
profilePattern
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import {
|
|
12
|
-
meetingResultItem
|
|
13
|
-
} from "./chunk-XYF76A26.js";
|
|
14
|
-
import {
|
|
15
|
-
checkCancelled
|
|
16
|
-
} from "./chunk-434YFJAE.js";
|
|
17
|
-
import {
|
|
18
|
-
pagingOf
|
|
19
|
-
} from "./chunk-TER3N27H.js";
|
|
20
|
-
import {
|
|
21
|
-
createMeetingSearchCommand,
|
|
22
|
-
meetingHitSearchRequest,
|
|
23
|
-
meetingSearchArguments,
|
|
24
|
-
meetingSearchMeta
|
|
25
|
-
} from "./chunk-VRH5PBSL.js";
|
|
26
|
-
import {
|
|
27
|
-
Command,
|
|
28
|
-
FETCH,
|
|
29
|
-
LOCAL_READ,
|
|
30
|
-
NO_EFFECTS,
|
|
31
|
-
annotate,
|
|
32
|
-
answerEntity,
|
|
33
|
-
answerSchema,
|
|
34
|
-
itemOf,
|
|
35
|
-
listOf,
|
|
36
|
-
metaNow,
|
|
37
|
-
metaOf,
|
|
38
|
-
overrideSharedContract,
|
|
39
|
-
parseDuration,
|
|
40
|
-
renderAnswer,
|
|
41
|
-
snakeKeys
|
|
42
|
-
} from "./chunk-ASTLGFTR.js";
|
|
43
|
-
import {
|
|
44
|
-
MEETING_RESULT_ENTITIES,
|
|
45
|
-
canonicalMeetingReference,
|
|
46
|
-
meetingHitsList,
|
|
47
|
-
parseMeetingReference,
|
|
48
|
-
validateMeetingContextChange,
|
|
49
|
-
validateMeetingHitSearch
|
|
50
|
-
} from "./chunk-BZDS2X6Y.js";
|
|
51
|
-
import {
|
|
52
|
-
createOutputBuffer,
|
|
53
|
-
createRenderer,
|
|
54
|
-
projectFields
|
|
55
|
-
} from "./chunk-3QN5KDFZ.js";
|
|
6
|
+
} from "./chunk-6BQOT7BA.js";
|
|
56
7
|
import {
|
|
57
8
|
array,
|
|
58
9
|
boolean,
|
|
59
|
-
exitCodeOfAnswer,
|
|
60
10
|
integer,
|
|
61
11
|
isoTimestamp,
|
|
62
12
|
literal,
|
|
@@ -72,23 +22,29 @@ import {
|
|
|
72
22
|
strictObject,
|
|
73
23
|
string,
|
|
74
24
|
union
|
|
75
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-YQDNTG4D.js";
|
|
76
26
|
import {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
} from "./chunk-IANKXHSE.js";
|
|
27
|
+
checkCancelled
|
|
28
|
+
} from "./chunk-WSGD5Q6L.js";
|
|
80
29
|
import {
|
|
81
30
|
__name
|
|
82
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-AEWYRB6F.js";
|
|
32
|
+
|
|
33
|
+
// dist/store-connection.js
|
|
34
|
+
import { CliError as CliError12, isCliError } from "@wirecat/cli-base";
|
|
35
|
+
import { validateMeetingContextChange } from "@wirecat/cli-core";
|
|
83
36
|
|
|
84
37
|
// dist/local-transcription.js
|
|
85
38
|
import { isAbsolute } from "node:path";
|
|
39
|
+
import { CliError as CliError2 } from "@wirecat/cli-base";
|
|
40
|
+
import { openWavAudio, preflightWavAudio } from "@wirecat/cli-core";
|
|
86
41
|
|
|
87
42
|
// dist/media-decode.js
|
|
88
43
|
import { execFile } from "node:child_process";
|
|
89
44
|
import { mkdtemp, open, rm } from "node:fs/promises";
|
|
90
45
|
import { tmpdir } from "node:os";
|
|
91
46
|
import { join } from "node:path";
|
|
47
|
+
import { CliError } from "@wirecat/cli-base";
|
|
92
48
|
var readyWav = /* @__PURE__ */ __name(async (file) => {
|
|
93
49
|
const handle = await open(file, "r").catch(() => {
|
|
94
50
|
throw new CliError("not_found", "the audio or video file could not be opened");
|
|
@@ -142,9 +98,9 @@ var wavFor = /* @__PURE__ */ __name(async (file, options = {}) => {
|
|
|
142
98
|
var validateLocalTranscriptionOptions = /* @__PURE__ */ __name((input) => {
|
|
143
99
|
const options = { ...input };
|
|
144
100
|
if (typeof options.model !== "string" || !options.model.trim() || options.model.length > 200 || /[\0\r\n]/.test(options.model))
|
|
145
|
-
throw new
|
|
101
|
+
throw new CliError2("validation_error", "local transcription requires an explicit speech model");
|
|
146
102
|
if (options.modelsDirectory !== void 0 && (typeof options.modelsDirectory !== "string" || !isAbsolute(options.modelsDirectory) || options.modelsDirectory.length > 4096 || /[\0\r\n]/.test(options.modelsDirectory)))
|
|
147
|
-
throw new
|
|
103
|
+
throw new CliError2("validation_error", "speech model directory must be an absolute bounded path");
|
|
148
104
|
for (const [value, max, label] of [
|
|
149
105
|
[options.maxBytes, 4 * 1024 ** 3, "media bytes"],
|
|
150
106
|
[options.maxDurationMs, 24 * 36e5, "media duration"],
|
|
@@ -152,16 +108,16 @@ var validateLocalTranscriptionOptions = /* @__PURE__ */ __name((input) => {
|
|
|
152
108
|
[options.maxTextBytes, 64 * 1024 ** 2, "transcript text bytes"]
|
|
153
109
|
])
|
|
154
110
|
if (value !== void 0 && (!Number.isSafeInteger(value) || value < 1 || value > max))
|
|
155
|
-
throw new
|
|
111
|
+
throw new CliError2("validation_error", `invalid ${label} budget`);
|
|
156
112
|
for (const value of [options.apply, options.dryRun])
|
|
157
113
|
if (value !== void 0 && typeof value !== "boolean")
|
|
158
|
-
throw new
|
|
114
|
+
throw new CliError2("validation_error", "transcription apply and dry-run options must be booleans");
|
|
159
115
|
return options;
|
|
160
116
|
}, "validateLocalTranscriptionOptions");
|
|
161
117
|
var compactLocalTranscriptionReceipt = /* @__PURE__ */ __name((receipt) => {
|
|
162
118
|
const append = receipt.append;
|
|
163
119
|
if (!receipt.applied || !append || !Number.isSafeInteger(append.meeting.meeting.id) || append.meeting.meeting.id < 1)
|
|
164
|
-
throw new
|
|
120
|
+
throw new CliError2("outcome_unknown", "transcription did not return a usable committed acknowledgement");
|
|
165
121
|
return {
|
|
166
122
|
applied: true,
|
|
167
123
|
accountId: receipt.accountId,
|
|
@@ -185,11 +141,11 @@ var engineFailure = /* @__PURE__ */ __name(async (model, work) => {
|
|
|
185
141
|
} catch (error) {
|
|
186
142
|
if (error instanceof Error)
|
|
187
143
|
throw error;
|
|
188
|
-
throw new
|
|
144
|
+
throw new CliError2("configuration_error", `the speech engine could not run ${model}; \`zm models download ${model}\` checks its files and repairs them`);
|
|
189
145
|
}
|
|
190
146
|
}, "engineFailure");
|
|
191
147
|
var loadSpeech = /* @__PURE__ */ __name(async () => {
|
|
192
|
-
const speech = await import("
|
|
148
|
+
const speech = await import("@wirecat/cli-core");
|
|
193
149
|
return { describe: speech.localSpeechRecognitionModel, open: speech.openLocalSpeechRecognizer };
|
|
194
150
|
}, "loadSpeech");
|
|
195
151
|
var createWavTranscriptionSource = /* @__PURE__ */ __name((file, options) => {
|
|
@@ -216,7 +172,7 @@ var createWavTranscriptionSource = /* @__PURE__ */ __name((file, options) => {
|
|
|
216
172
|
},
|
|
217
173
|
async *segments(media, context) {
|
|
218
174
|
if (!plan || !recognition || !speech || media.contentHash !== plan.media.contentHash || media.id !== plan.media.id || media.size !== plan.media.size || media.durationMs !== plan.media.durationMs || media.recognition.engine !== recognition.engine || media.recognition.model !== recognition.model || media.recognition.version !== recognition.version)
|
|
219
|
-
throw new
|
|
175
|
+
throw new CliError2("validation_error", "transcription media descriptor does not match its prepared audio and model");
|
|
220
176
|
const audio = await openWavAudio(plan, context);
|
|
221
177
|
let model;
|
|
222
178
|
try {
|
|
@@ -229,7 +185,7 @@ var createWavTranscriptionSource = /* @__PURE__ */ __name((file, options) => {
|
|
|
229
185
|
signal: context.signal
|
|
230
186
|
}));
|
|
231
187
|
if (model.engine !== recognition.engine || model.model !== recognition.model || model.version !== recognition.version)
|
|
232
|
-
throw new
|
|
188
|
+
throw new CliError2("validation_error", "installed speech recognizer changed after the media preview");
|
|
233
189
|
for await (const window of audio.windows()) {
|
|
234
190
|
checkCancelled(context.signal);
|
|
235
191
|
const recognizer = model;
|
|
@@ -250,7 +206,7 @@ var createWavTranscriptionSource = /* @__PURE__ */ __name((file, options) => {
|
|
|
250
206
|
var createLocalTranscriptionCapabilities = /* @__PURE__ */ __name((store, input = {}) => {
|
|
251
207
|
const accountId = store.accountId;
|
|
252
208
|
if (!Number.isSafeInteger(accountId) || accountId < 1)
|
|
253
|
-
throw new
|
|
209
|
+
throw new CliError2("validation_error", "local transcription requires a selected existing account");
|
|
254
210
|
const options = { ...input, ...input.env ? { env: { ...input.env } } : {} };
|
|
255
211
|
const resolveMeeting = store.resolveMeeting.bind(store);
|
|
256
212
|
const appendTranscriptsWithReceipt = store.appendTranscriptsWithReceipt.bind(store);
|
|
@@ -265,7 +221,7 @@ var createLocalTranscriptionCapabilities = /* @__PURE__ */ __name((store, input
|
|
|
265
221
|
externalId: resolved.externalId
|
|
266
222
|
};
|
|
267
223
|
if (!found || found.accountId !== accountId || !Number.isSafeInteger(found.meetingId) || found.meetingId < 1 || typeof found.externalId !== "string" || !found.externalId.trim())
|
|
268
|
-
throw new
|
|
224
|
+
throw new CliError2("not_found", "meeting was not found in the selected account");
|
|
269
225
|
const target = Object.freeze({ accountId, externalId: found.externalId, now: options.now?.() ?? Date.now() });
|
|
270
226
|
const audio = await wavFor(file, { signal: request.signal });
|
|
271
227
|
try {
|
|
@@ -275,11 +231,11 @@ var createLocalTranscriptionCapabilities = /* @__PURE__ */ __name((store, input
|
|
|
275
231
|
env: options.env,
|
|
276
232
|
speech: options.speech
|
|
277
233
|
});
|
|
278
|
-
const { transcribeMeeting } = await import("
|
|
234
|
+
const { transcribeMeeting } = await import("@wirecat/cli-core");
|
|
279
235
|
return await transcribeMeeting(source, {
|
|
280
236
|
appendTranscriptsWithReceipt(value) {
|
|
281
237
|
if (value.accountId !== accountId || value.externalId !== target.externalId)
|
|
282
|
-
throw new
|
|
238
|
+
throw new CliError2("validation_error", "transcription append must retain its selected target");
|
|
283
239
|
return appendTranscriptsWithReceipt(value);
|
|
284
240
|
}
|
|
285
241
|
}, target, request);
|
|
@@ -291,35 +247,36 @@ var createLocalTranscriptionCapabilities = /* @__PURE__ */ __name((store, input
|
|
|
291
247
|
}, "createLocalTranscriptionCapabilities");
|
|
292
248
|
|
|
293
249
|
// dist/meeting-context.js
|
|
250
|
+
import { CliError as CliError3 } from "@wirecat/cli-base";
|
|
294
251
|
var integer2 = /* @__PURE__ */ __name((value, min, max) => Number.isSafeInteger(value) && value >= min && value <= max, "integer");
|
|
295
252
|
var validateEvidenceOptions = /* @__PURE__ */ __name((options = {}) => {
|
|
296
253
|
if (!integer2(options.cues ?? 100, 1, 1e3) || !integer2(options.bytes ?? 65536, 2, 4194304) || !integer2(options.maxReadBytes ?? 4194304, 1, 67108864) || !integer2(options.maxTranscriptPages ?? 100, 1, 1e3) || options.afterTranscriptId !== void 0 && !integer2(options.afterTranscriptId, 1, Number.MAX_SAFE_INTEGER) || options.after !== void 0 && options.afterTranscriptId !== void 0 || options.after !== void 0 && (typeof options.after !== "string" || !options.after.trim()))
|
|
297
|
-
throw new
|
|
254
|
+
throw new CliError3("validation_error", "meeting evidence requires 1\u20131000 cues and 2\u20134194304 bytes");
|
|
298
255
|
}, "validateEvidenceOptions");
|
|
299
256
|
var validatePersonContext = /* @__PURE__ */ __name((person, options = {}) => {
|
|
300
257
|
validateEvidenceOptions(options);
|
|
301
258
|
if (typeof person !== "string" || !/^person:[1-9]\d*$/.test(person) || !integer2(Number(person.slice(7)), 1, Number.MAX_SAFE_INTEGER) || !integer2(options.meetings ?? 10, 1, 100) || !integer2(options.scanLimit ?? 1e3, 1, 1e3) || options.since !== void 0 && !Number.isSafeInteger(options.since))
|
|
302
|
-
throw new
|
|
259
|
+
throw new CliError3("validation_error", "person meeting context requires person:<positive ID> and valid bounded limits");
|
|
303
260
|
}, "validatePersonContext");
|
|
304
261
|
var validateTaskKind = /* @__PURE__ */ __name((kind) => {
|
|
305
262
|
if (!["question", "request", "mention", "promise"].includes(kind))
|
|
306
|
-
throw new
|
|
263
|
+
throw new CliError3("validation_error", "task kind must be question, request, mention or promise");
|
|
307
264
|
return kind;
|
|
308
265
|
}, "validateTaskKind");
|
|
309
266
|
var validateTaskProposal = /* @__PURE__ */ __name((value) => {
|
|
310
267
|
if (typeof value !== "object" || value === null || !("applied" in value) || value.applied !== false || !("persistence" in value) || value.persistence !== "proposal-only")
|
|
311
|
-
throw new
|
|
268
|
+
throw new CliError3("invalid_response", "task proposal must be unapplied and proposal-only");
|
|
312
269
|
}, "validateTaskProposal");
|
|
313
270
|
var loadProducer = /* @__PURE__ */ __name(async () => {
|
|
314
|
-
const [domain, services] = await Promise.all([import("
|
|
271
|
+
const [domain, services] = await Promise.all([import("@wirecat/cli-core"), import("@wirecat/cli-core")]);
|
|
315
272
|
return { ...services, ...domain };
|
|
316
273
|
}, "loadProducer");
|
|
317
274
|
var createMeetingContextCapabilities = /* @__PURE__ */ __name((store, meetings, accountId, load = loadProducer) => {
|
|
318
275
|
if (!integer2(accountId, 1, Number.MAX_SAFE_INTEGER))
|
|
319
|
-
throw new
|
|
276
|
+
throw new CliError3("validation_error", "meeting context requires a selected positive account ID");
|
|
320
277
|
const ownedReference = /* @__PURE__ */ __name((api, reference) => {
|
|
321
278
|
if (api.parseMeetingReference(reference).accountId !== accountId)
|
|
322
|
-
throw new
|
|
279
|
+
throw new CliError3("not_found", "meeting reference is unavailable for the selected account");
|
|
323
280
|
return api.canonicalMeetingReference(reference);
|
|
324
281
|
}, "ownedReference");
|
|
325
282
|
return {
|
|
@@ -387,17 +344,40 @@ var createMeetingContextCapabilities = /* @__PURE__ */ __name((store, meetings,
|
|
|
387
344
|
}, "createMeetingContextCapabilities");
|
|
388
345
|
|
|
389
346
|
// dist/meeting-integration.js
|
|
347
|
+
import { CliError as CliError4 } from "@wirecat/cli-base";
|
|
348
|
+
import { canonicalMeetingReference, parseMeetingReference } from "@wirecat/cli-core";
|
|
390
349
|
var integrationReference = /* @__PURE__ */ __name((reference) => {
|
|
391
350
|
const parsed = parseMeetingReference(reference);
|
|
392
351
|
if (parsed.transcriptId !== void 0)
|
|
393
|
-
throw new
|
|
352
|
+
throw new CliError4("validation_error", "this operation requires a root meeting reference");
|
|
394
353
|
return { parsed, reference: canonicalMeetingReference(reference) };
|
|
395
354
|
}, "integrationReference");
|
|
396
355
|
|
|
356
|
+
// dist/meeting-search-commands.js
|
|
357
|
+
import { CliError as CliError9 } from "@wirecat/cli-base";
|
|
358
|
+
import { annotate as annotate3 } from "@wirecat/cli-base/commands";
|
|
359
|
+
import { createMeetingSearchCommand, FETCH as FETCH2, LOCAL_READ, listOf as listOf2, meetingHitSearchRequest, meetingHitsList, meetingSearchArguments, meetingSearchMeta, NO_EFFECTS, overrideSharedContract, pagingOf } from "@wirecat/cli-core";
|
|
360
|
+
import { Command } from "commander";
|
|
361
|
+
|
|
362
|
+
// dist/execution.js
|
|
363
|
+
import { CliError as CliError7, createOutputBuffer } from "@wirecat/cli-base";
|
|
364
|
+
import { metaOf as metaOf2 } from "@wirecat/cli-base/commands";
|
|
365
|
+
import { parseDuration } from "@wirecat/cli-core";
|
|
366
|
+
|
|
397
367
|
// dist/answers.js
|
|
398
368
|
import { randomUUID } from "node:crypto";
|
|
369
|
+
import { CliError as CliError6 } from "@wirecat/cli-base";
|
|
370
|
+
import { metaNow as metaNow2, runnable, answerSchema as sharedAnswerSchema } from "@wirecat/cli-core";
|
|
371
|
+
|
|
372
|
+
// dist/answer-output.js
|
|
373
|
+
import { createRenderer, exitCodeOfAnswer, projectFields } from "@wirecat/cli-base";
|
|
374
|
+
import { metaOf } from "@wirecat/cli-base/commands";
|
|
375
|
+
import { itemOf, listOf, metaNow, renderAnswer, snakeKeys } from "@wirecat/cli-core";
|
|
399
376
|
|
|
400
377
|
// dist/answer-entities.js
|
|
378
|
+
import { CliError as CliError5 } from "@wirecat/cli-base";
|
|
379
|
+
import { annotate } from "@wirecat/cli-base/commands";
|
|
380
|
+
import { answerEntity, MEETING_RESULT_ENTITIES, meetingResultItem } from "@wirecat/cli-core";
|
|
401
381
|
var text = string();
|
|
402
382
|
var identifier = pipe(text, minLength(1));
|
|
403
383
|
var nullableText = nullable(text);
|
|
@@ -586,7 +566,7 @@ var normalizeZoomAnswer = /* @__PURE__ */ __name((body, entity) => {
|
|
|
586
566
|
const parsed = safeParse(schema, publicValue(value));
|
|
587
567
|
if (!parsed.success) {
|
|
588
568
|
const applied = value && typeof value === "object" && "applied" in value && value.applied === true;
|
|
589
|
-
throw new
|
|
569
|
+
throw new CliError5(applied ? "outcome_unknown" : "invalid_response", `the command returned an invalid ${entity} answer`);
|
|
590
570
|
}
|
|
591
571
|
return parsed.output;
|
|
592
572
|
}, "checked");
|
|
@@ -639,22 +619,22 @@ var renderBody = /* @__PURE__ */ __name((command, body, options) => {
|
|
|
639
619
|
var wholeList = /* @__PURE__ */ __name((command, items) => listOf(command, { items, limit: Math.max(1, items.length), has_more: false }), "wholeList");
|
|
640
620
|
|
|
641
621
|
// dist/answers.js
|
|
642
|
-
var
|
|
622
|
+
var answerSchema = sharedAnswerSchema();
|
|
643
623
|
var readMetadata = /* @__PURE__ */ __name((now = Date.now, runId = randomUUID()) => {
|
|
644
624
|
const started = now();
|
|
645
|
-
return () =>
|
|
625
|
+
return () => metaNow2({ run_id: runId, duration_ms: Math.max(0, Math.round(now() - started)) });
|
|
646
626
|
}, "readMetadata");
|
|
647
627
|
|
|
648
628
|
// dist/execution.js
|
|
649
629
|
var duration = /* @__PURE__ */ __name((text2, source = "duration") => {
|
|
650
630
|
const value = parseDuration(text2, source);
|
|
651
631
|
if (!Number.isSafeInteger(value) || value > 2147483647)
|
|
652
|
-
throw new
|
|
632
|
+
throw new CliError7("validation_error", "duration exceeds the supported timer range");
|
|
653
633
|
return value;
|
|
654
634
|
}, "duration");
|
|
655
635
|
var bytes = /* @__PURE__ */ __name((text2) => {
|
|
656
636
|
if (!/^\d+$/.test(text2) || !Number.isSafeInteger(Number(text2)))
|
|
657
|
-
throw new
|
|
637
|
+
throw new CliError7("validation_error", "expected a nonnegative whole byte count");
|
|
658
638
|
return Number(text2);
|
|
659
639
|
}, "bytes");
|
|
660
640
|
var longRunning = /* @__PURE__ */ new WeakSet();
|
|
@@ -663,7 +643,7 @@ var runsLong = /* @__PURE__ */ __name((command) => {
|
|
|
663
643
|
return command;
|
|
664
644
|
}, "runsLong");
|
|
665
645
|
var commandDeadline = /* @__PURE__ */ __name((action) => {
|
|
666
|
-
const { lifetime } =
|
|
646
|
+
const { lifetime } = metaOf2(action);
|
|
667
647
|
if (lifetime === "persistent")
|
|
668
648
|
return void 0;
|
|
669
649
|
if (lifetime === "interactive")
|
|
@@ -681,54 +661,58 @@ var sharedExecution = /* @__PURE__ */ __name((action, environment, now, runId) =
|
|
|
681
661
|
}, "sharedExecution");
|
|
682
662
|
|
|
683
663
|
// dist/meeting-semantic-commands.js
|
|
664
|
+
import { CliError as CliError8 } from "@wirecat/cli-base";
|
|
665
|
+
import { annotate as annotate2 } from "@wirecat/cli-base/commands";
|
|
666
|
+
import { FETCH, itemOf as itemOf2 } from "@wirecat/cli-core";
|
|
684
667
|
var bounded = /* @__PURE__ */ __name((value, maximum) => value === void 0 || Number.isSafeInteger(value) && value > 0 && value <= maximum, "bounded");
|
|
685
668
|
var validateMeetingModel = /* @__PURE__ */ __name((options) => {
|
|
686
669
|
if (typeof options.model !== "string" || !options.model.trim() || options.model.length > 1e3)
|
|
687
|
-
throw new
|
|
670
|
+
throw new CliError8("validation_error", "select an explicit embedding model");
|
|
688
671
|
if (options.baseUrl === void 0) {
|
|
689
672
|
if (options.dims !== void 0)
|
|
690
|
-
throw new
|
|
673
|
+
throw new CliError8("validation_error", "dimensions require an explicit remote base URL");
|
|
691
674
|
return;
|
|
692
675
|
}
|
|
693
676
|
let url;
|
|
694
677
|
try {
|
|
695
678
|
url = new URL(options.baseUrl);
|
|
696
679
|
} catch {
|
|
697
|
-
throw new
|
|
680
|
+
throw new CliError8("validation_error", "embedding base URL must be an HTTP or HTTPS URL");
|
|
698
681
|
}
|
|
699
682
|
if (!["http:", "https:"].includes(url.protocol) || url.username || url.password || url.search || url.hash || !/^[\w./:-]{1,200}$/.test(options.model) || options.dims === void 0 || !bounded(options.dims, 8192))
|
|
700
|
-
throw new
|
|
683
|
+
throw new CliError8("validation_error", "remote embeddings require an HTTP base URL without credentials and explicit dimensions");
|
|
701
684
|
}, "validateMeetingModel");
|
|
702
685
|
var validateMeetingSemantic = /* @__PURE__ */ __name((query, options) => {
|
|
703
686
|
validateMeetingModel(options);
|
|
704
687
|
if (typeof query !== "string" || !query.trim() || Buffer.byteLength(query, "utf8") > 65536 || !bounded(options.limit, 1e3) || !bounded(options.maxChunks, 1e5) || !bounded(options.maxRows, 1e5) || !bounded(options.maxTextBytes, 64 * 1024 * 1024))
|
|
705
|
-
throw new
|
|
688
|
+
throw new CliError8("validation_error", "meeting semantic search requires a nonempty bounded query and positive limits");
|
|
706
689
|
}, "validateMeetingSemantic");
|
|
707
690
|
var validateMeetingEmbeddings = /* @__PURE__ */ __name((options) => {
|
|
708
691
|
validateMeetingModel(options);
|
|
709
692
|
if (!bounded(options.limit, 1e3) || !bounded(options.afterTranscriptId, Number.MAX_SAFE_INTEGER) || !bounded(options.maxRows, 1e5) || !bounded(options.maxTextBytes, 64 * 1024 * 1024) || options.afterHash !== void 0 && !/^[a-f0-9]{64}$/.test(options.afterHash))
|
|
710
|
-
throw new
|
|
693
|
+
throw new CliError8("validation_error", "meeting embedding generation requires valid bounded limits and cursors");
|
|
711
694
|
}, "validateMeetingEmbeddings");
|
|
712
695
|
var addMeetingEmbeddingCommand = /* @__PURE__ */ __name((program, deps) => {
|
|
713
696
|
const meetings = program.commands.find((command) => command.name() === "meetings");
|
|
714
697
|
if (!meetings)
|
|
715
|
-
throw new
|
|
698
|
+
throw new CliError8("configuration_error", "meeting command group is unavailable");
|
|
716
699
|
const model = /* @__PURE__ */ __name((command) => command.requiredOption("--model <model>", "embedding model: an installed local one, or one served at --base-url").option("--base-url <url>", "remote embedding service; OpenAI reads OPENAI_API_KEY").option("--dims <n>", "vector size the remote service returns, in dimensions", bytes), "model");
|
|
717
700
|
const budget = /* @__PURE__ */ __name((command) => command.option("--limit <n>", "how many results or items in one batch, 1 through 1000", bytes).option("--max-rows <n>", "most transcript lines to read, 1 through 100000", bytes).option("--max-text-bytes <bytes>", "most transcript text to read, in bytes (default 4 MiB)", bytes), "budget");
|
|
718
|
-
|
|
701
|
+
annotate2(budget(model(meetings.command("embeddings").description("preview building meeting vectors; --yes builds one batch"))).option("--after-transcript-id <id>", "continue splitting transcripts after this one", bytes).option("--after-hash <hash>", "continue embedding after this passage").option("--yes", "split transcripts and build their vectors; otherwise only preview").action(async (options) => {
|
|
719
702
|
validateMeetingEmbeddings(options);
|
|
720
703
|
if (options.baseUrl !== void 0 && deps.offline())
|
|
721
|
-
throw new
|
|
704
|
+
throw new CliError8("configuration_error", "remote embeddings require network access; remove --offline");
|
|
722
705
|
const api = await deps.capabilities();
|
|
723
706
|
const result = await api.generate({ ...options, signal: deps.signal() });
|
|
724
707
|
if (options.yes)
|
|
725
|
-
await deps.receipt(
|
|
708
|
+
await deps.receipt(itemOf2(result));
|
|
726
709
|
else
|
|
727
|
-
deps.output(
|
|
710
|
+
deps.output(itemOf2(result));
|
|
728
711
|
}), { origin: "handwritten", effects: FETCH, examples: ["zm personal meetings embeddings --model e5-small --json"] });
|
|
729
712
|
}, "addMeetingEmbeddingCommand");
|
|
730
713
|
|
|
731
714
|
// dist/meeting-search-commands.js
|
|
715
|
+
import { validateMeetingHitSearch } from "@wirecat/cli-core";
|
|
732
716
|
var FLAG = {
|
|
733
717
|
meetingId: "--meeting-id",
|
|
734
718
|
identityId: "--identity-id",
|
|
@@ -752,7 +736,7 @@ var FLAG = {
|
|
|
752
736
|
var refuse = /* @__PURE__ */ __name((options, keys, mode) => {
|
|
753
737
|
const given = keys.filter((key) => options[key] !== void 0).map((key) => FLAG[key]);
|
|
754
738
|
if (given.length)
|
|
755
|
-
throw new
|
|
739
|
+
throw new CliError9("validation_error", `${given.join(", ")} do not apply ${mode}`);
|
|
756
740
|
}, "refuse");
|
|
757
741
|
var recordingHit = /* @__PURE__ */ __name((directory) => (match) => {
|
|
758
742
|
const meetingStart = Date.parse(match.meeting.startedAt ?? "");
|
|
@@ -770,7 +754,7 @@ var recordingHit = /* @__PURE__ */ __name((directory) => (match) => {
|
|
|
770
754
|
offset_ms: match.startMs + (Number.isFinite(lead) && lead > 0 ? lead : 0)
|
|
771
755
|
};
|
|
772
756
|
}, "recordingHit");
|
|
773
|
-
var combinedList = /* @__PURE__ */ __name((found, limit, args) =>
|
|
757
|
+
var combinedList = /* @__PURE__ */ __name((found, limit, args) => listOf2("search meetings", {
|
|
774
758
|
items: found.items.map((hit) => ({
|
|
775
759
|
ref: hit.ref,
|
|
776
760
|
meeting: hit.ref.split("/").slice(0, 2).join("/"),
|
|
@@ -828,7 +812,7 @@ var addMeetingSearchCommands = /* @__PURE__ */ __name((program, deps) => {
|
|
|
828
812
|
};
|
|
829
813
|
validateMeetingSemantic(query, meaning);
|
|
830
814
|
if (meaning.baseUrl !== void 0 && deps.offline())
|
|
831
|
-
throw new
|
|
815
|
+
throw new CliError9("configuration_error", "remote embeddings require network access; remove --offline");
|
|
832
816
|
return combinedList(await (await deps.meaning()).search(query, meaning), meaning.limit, meetingSearchArguments(query, options));
|
|
833
817
|
}
|
|
834
818
|
refuse(options, ["baseUrl", "dims", "maxChunks", "maxRows", "maxTextBytes"], "without --model");
|
|
@@ -838,16 +822,16 @@ var addMeetingSearchCommands = /* @__PURE__ */ __name((program, deps) => {
|
|
|
838
822
|
deps.output(await execute(query, options));
|
|
839
823
|
});
|
|
840
824
|
overrideSharedContract(command, "Zoom meeting search may build missing embeddings, so its effects and examples include that explicit mode.", (one) => {
|
|
841
|
-
|
|
825
|
+
annotate3(one, {
|
|
842
826
|
origin: "handwritten",
|
|
843
|
-
effects:
|
|
827
|
+
effects: FETCH2,
|
|
844
828
|
examples: [
|
|
845
829
|
'zm personal search meetings "example plan" --since-time 2026-09-01 --json',
|
|
846
830
|
'zm personal search meetings "example plan" --model e5-small --json'
|
|
847
831
|
]
|
|
848
832
|
});
|
|
849
833
|
});
|
|
850
|
-
const search = program.commands.find((child) => child.name() === "search") ??
|
|
834
|
+
const search = program.commands.find((child) => child.name() === "search") ?? annotate3(program.command("search"), { effects: NO_EFFECTS });
|
|
851
835
|
const recordings = search.command("recordings").description("find words in the transcripts of a downloaded archive folder, before any import").argument("<directory>", "archive folder").argument("<query...>", "words to find as one phrase, ignoring case").option("--limit <n>", "how many hits, 1 through 1000 (default 100)", bytes).action(async (directory, words, options) => {
|
|
852
836
|
const found = await deps.archive(directory, words.join(" "), { limit: options.limit, signal: deps.signal() });
|
|
853
837
|
deps.output({
|
|
@@ -855,7 +839,7 @@ var addMeetingSearchCommands = /* @__PURE__ */ __name((program, deps) => {
|
|
|
855
839
|
page: { mode: "page", limit: found.limit, has_more: found.hasMore }
|
|
856
840
|
});
|
|
857
841
|
});
|
|
858
|
-
|
|
842
|
+
annotate3(recordings, {
|
|
859
843
|
origin: "handwritten",
|
|
860
844
|
effects: LOCAL_READ,
|
|
861
845
|
output: { entity: "hit" },
|
|
@@ -865,10 +849,11 @@ var addMeetingSearchCommands = /* @__PURE__ */ __name((program, deps) => {
|
|
|
865
849
|
}, "addMeetingSearchCommands");
|
|
866
850
|
|
|
867
851
|
// dist/meeting-semantic.js
|
|
868
|
-
|
|
852
|
+
import { CliError as CliError10 } from "@wirecat/cli-base";
|
|
853
|
+
var loadProducer2 = /* @__PURE__ */ __name(async () => import("@wirecat/cli-core"), "loadProducer");
|
|
869
854
|
var createMeetingSemanticCapabilities = /* @__PURE__ */ __name((store, accountId, options = {}) => {
|
|
870
855
|
if (!Number.isSafeInteger(accountId) || accountId < 1)
|
|
871
|
-
throw new
|
|
856
|
+
throw new CliError10("validation_error", "meeting vectors require a selected positive account ID");
|
|
872
857
|
const load = options.load ?? loadProducer2;
|
|
873
858
|
const choice = /* @__PURE__ */ __name((api, input) => input.baseUrl === void 0 ? input.model : { remote: api.createMeetingRemoteModel({ model: input.model, baseUrl: input.baseUrl, dims: input.dims }) }, "choice");
|
|
874
859
|
const budget = /* @__PURE__ */ __name((input) => ({
|
|
@@ -959,12 +944,13 @@ var createMeetingSemanticCapabilities = /* @__PURE__ */ __name((store, accountId
|
|
|
959
944
|
}, "createMeetingSemanticCapabilities");
|
|
960
945
|
|
|
961
946
|
// dist/unified-search.js
|
|
947
|
+
import { CliError as CliError11 } from "@wirecat/cli-base";
|
|
962
948
|
var resources = ["messages", "mail", "notes", "meetings"];
|
|
963
949
|
var validateUnifiedSearch = /* @__PURE__ */ __name((input, meetingsOnly = false) => {
|
|
964
950
|
const limit = input.limit ?? 100;
|
|
965
951
|
const only2 = input.only ?? ["meetings"];
|
|
966
952
|
if (typeof input.text !== "string" || !input.text.trim() || !Number.isSafeInteger(limit) || limit < 1 || limit > 1e3 || input.offset !== void 0 && (!Number.isSafeInteger(input.offset) || input.offset < 0) || !Array.isArray(only2) || !only2.length || only2.some((resource) => !resources.includes(resource)) || meetingsOnly && (only2.length !== 1 || only2[0] !== "meetings") || input.exact !== void 0 && typeof input.exact !== "boolean")
|
|
967
|
-
throw new
|
|
953
|
+
throw new CliError11("validation_error", "expected nonempty search text, supported resources and a limit from 1 through 1000");
|
|
968
954
|
return {
|
|
969
955
|
text: input.text,
|
|
970
956
|
limit,
|
|
@@ -984,7 +970,7 @@ var runUnifiedSearch = /* @__PURE__ */ __name(async (search, input, meetingsOnly
|
|
|
984
970
|
|
|
985
971
|
// dist/store-connection.js
|
|
986
972
|
var storeUnavailable = /* @__PURE__ */ __name(async () => {
|
|
987
|
-
throw new
|
|
973
|
+
throw new CliError12("configuration_error", "the shared SQLite meeting store is not available yet");
|
|
988
974
|
}, "storeUnavailable");
|
|
989
975
|
var unavailableStore = {
|
|
990
976
|
saveMeeting: storeUnavailable,
|
|
@@ -1005,16 +991,16 @@ var unavailableStore = {
|
|
|
1005
991
|
};
|
|
1006
992
|
var connectSelectedProfile = /* @__PURE__ */ __name((connect, profile, intent, context) => {
|
|
1007
993
|
if (!profile)
|
|
1008
|
-
throw new
|
|
994
|
+
throw new CliError12("validation_error", "name a profile: `zm <profile> \u2026`");
|
|
1009
995
|
return connect({ profile, externalId: profileAccountKey(profile), intent, ...context ? { context } : {} });
|
|
1010
996
|
}, "connectSelectedProfile");
|
|
1011
997
|
var createStoreConnector = /* @__PURE__ */ __name((options = {}) => async (request) => {
|
|
1012
998
|
const { profile, externalId, intent, context } = request ?? {};
|
|
1013
999
|
if (typeof profile !== "string" || !profilePattern.test(profile) || externalId !== profileAccountKey(profile) || intent !== "read" && intent !== "ingestion" && intent !== "preparation" || context !== void 0 && (intent !== "preparation" || typeof context.resolve !== "function" || typeof context.assert !== "function"))
|
|
1014
|
-
throw new
|
|
1000
|
+
throw new CliError12("validation_error", "expected a selected Zoom profile and read or ingestion intent");
|
|
1015
1001
|
let store;
|
|
1016
1002
|
try {
|
|
1017
|
-
const open2 = options.openStore ?? (await import("
|
|
1003
|
+
const open2 = options.openStore ?? (await import("@wirecat/cli-core")).openStore;
|
|
1018
1004
|
store = await open2({
|
|
1019
1005
|
path: options.path,
|
|
1020
1006
|
env: options.env,
|
|
@@ -1026,16 +1012,16 @@ var createStoreConnector = /* @__PURE__ */ __name((options = {}) => async (reque
|
|
|
1026
1012
|
const key = { provider: "zoom", account: externalId };
|
|
1027
1013
|
const accountId = intent === "ingestion" ? await connected.accounts.saveAccount(key, { name: profile }) : (await connected.accounts.storedAccount(key)).id;
|
|
1028
1014
|
if (!Number.isSafeInteger(accountId) || accountId < 1)
|
|
1029
|
-
throw new
|
|
1015
|
+
throw new CliError12("configuration_error", "the selected meeting account is unavailable");
|
|
1030
1016
|
const ownAccount = /* @__PURE__ */ __name((input, what) => {
|
|
1031
1017
|
if (input.accountId !== accountId)
|
|
1032
|
-
throw new
|
|
1018
|
+
throw new CliError12("validation_error", `${what} account is selected by the connection`);
|
|
1033
1019
|
return input;
|
|
1034
1020
|
}, "ownAccount");
|
|
1035
1021
|
let cachedBatchReader;
|
|
1036
1022
|
const batchReader = /* @__PURE__ */ __name(async () => {
|
|
1037
1023
|
if (!cachedBatchReader) {
|
|
1038
|
-
const { createMeetingBatchReader } = await import("
|
|
1024
|
+
const { createMeetingBatchReader } = await import("@wirecat/cli-core");
|
|
1039
1025
|
cachedBatchReader = createMeetingBatchReader(connected, accountId);
|
|
1040
1026
|
}
|
|
1041
1027
|
return cachedBatchReader;
|
|
@@ -1044,10 +1030,10 @@ var createStoreConnector = /* @__PURE__ */ __name((options = {}) => async (reque
|
|
|
1044
1030
|
meetingPreparation: {
|
|
1045
1031
|
scope: key,
|
|
1046
1032
|
create: /* @__PURE__ */ __name(async (upcoming) => {
|
|
1047
|
-
const { createMeetingPreparationService } = await import("
|
|
1033
|
+
const { createMeetingPreparationService } = await import("@wirecat/cli-core");
|
|
1048
1034
|
const reader = connected.contextEvidence;
|
|
1049
1035
|
if (context && !reader)
|
|
1050
|
-
throw new
|
|
1036
|
+
throw new CliError12("configuration_error", "the installed store does not support bounded communications");
|
|
1051
1037
|
const communications = context && reader ? {
|
|
1052
1038
|
reader,
|
|
1053
1039
|
selections: await context.resolve({
|
|
@@ -1069,7 +1055,7 @@ var createStoreConnector = /* @__PURE__ */ __name((options = {}) => async (reque
|
|
|
1069
1055
|
close: /* @__PURE__ */ __name(() => connected.close(), "close"),
|
|
1070
1056
|
appendTranscriptsWithReceipt: /* @__PURE__ */ __name((input) => meetings.appendTranscriptsWithReceipt(ownAccount(input, "append")), "appendTranscriptsWithReceipt"),
|
|
1071
1057
|
meetingProjectCandidates: /* @__PURE__ */ __name(async (reference, request2) => {
|
|
1072
|
-
const { createStoredMeetingProjectCandidateReader } = await import("
|
|
1058
|
+
const { createStoredMeetingProjectCandidateReader } = await import("@wirecat/cli-core");
|
|
1073
1059
|
const read = createStoredMeetingProjectCandidateReader(key, accountId, {
|
|
1074
1060
|
meetings,
|
|
1075
1061
|
vocabulary: connected.knowledge
|
|
@@ -1077,7 +1063,7 @@ var createStoreConnector = /* @__PURE__ */ __name((options = {}) => async (reque
|
|
|
1077
1063
|
return read(reference, request2);
|
|
1078
1064
|
}, "meetingProjectCandidates"),
|
|
1079
1065
|
meetingProjectEvidence: /* @__PURE__ */ __name(async (project, request2) => {
|
|
1080
|
-
const { readMeetingProjectDiscovery } = await import("
|
|
1066
|
+
const { readMeetingProjectDiscovery } = await import("@wirecat/cli-core");
|
|
1081
1067
|
return readMeetingProjectDiscovery({
|
|
1082
1068
|
vocabulary: connected.knowledge,
|
|
1083
1069
|
search: { searchHits: /* @__PURE__ */ __name((query, hits) => meetings.searchHits(query, hits), "searchHits") }
|
|
@@ -1104,18 +1090,18 @@ var createStoreConnector = /* @__PURE__ */ __name((options = {}) => async (reque
|
|
|
1104
1090
|
},
|
|
1105
1091
|
meetingSearch: /* @__PURE__ */ __name(async (query, request2) => {
|
|
1106
1092
|
validateMeetingHitSearch(query, request2);
|
|
1107
|
-
const { searchMeetingHits } = await import("
|
|
1093
|
+
const { searchMeetingHits } = await import("@wirecat/cli-core");
|
|
1108
1094
|
return searchMeetingHits({ meetings, knowledge: connected.knowledge }, query, { ...request2, accountId });
|
|
1109
1095
|
}, "meetingSearch"),
|
|
1110
1096
|
meetingIntegration: {
|
|
1111
1097
|
change: /* @__PURE__ */ __name(async (reference, input, mutation = {}) => {
|
|
1112
1098
|
const source = integrationReference(reference);
|
|
1113
1099
|
if (source.parsed.accountId !== accountId)
|
|
1114
|
-
throw new
|
|
1100
|
+
throw new CliError12("not_found", "meeting is unavailable for the selected account");
|
|
1115
1101
|
const change = validateMeetingContextChange(input);
|
|
1116
1102
|
if (change.action !== "event.link" && change.action !== "person.link")
|
|
1117
|
-
throw new
|
|
1118
|
-
const api = await import("
|
|
1103
|
+
throw new CliError12("validation_error", "meeting linking supports only explicit event or person changes");
|
|
1104
|
+
const api = await import("@wirecat/cli-core");
|
|
1119
1105
|
await api.resolveMeetingReference(meetings, accountId, source.reference, { signal: mutation.signal });
|
|
1120
1106
|
const service = await api.createMeetingContextService({
|
|
1121
1107
|
accounts: connected.accounts,
|
|
@@ -1126,7 +1112,7 @@ var createStoreConnector = /* @__PURE__ */ __name((options = {}) => async (reque
|
|
|
1126
1112
|
facts: connected.facts
|
|
1127
1113
|
}, key, mutation.author === void 0 ? {} : { author: mutation.author });
|
|
1128
1114
|
if (service.accountId !== accountId || service.scope.provider !== key.provider || service.scope.account !== key.account)
|
|
1129
|
-
throw new
|
|
1115
|
+
throw new CliError12("invalid_response", "meeting context service returned an inconsistent account");
|
|
1130
1116
|
return service.change(source.parsed.meetingId, change, {
|
|
1131
1117
|
apply: mutation.apply,
|
|
1132
1118
|
dryRun: mutation.dryRun,
|
|
@@ -1136,39 +1122,39 @@ var createStoreConnector = /* @__PURE__ */ __name((options = {}) => async (reque
|
|
|
1136
1122
|
},
|
|
1137
1123
|
unifiedSearch: /* @__PURE__ */ __name(async (input) => {
|
|
1138
1124
|
const request2 = validateUnifiedSearch(input);
|
|
1139
|
-
const { searchAll } = await import("
|
|
1125
|
+
const { searchAll } = await import("@wirecat/cli-core");
|
|
1140
1126
|
return searchAll(connected, key, { ...request2, scope: { meetings: [key] }, env: options.env });
|
|
1141
1127
|
}, "unifiedSearch"),
|
|
1142
1128
|
meetingContext: createMeetingContextCapabilities(connected, meetings, accountId),
|
|
1143
1129
|
meetingSemantic: createMeetingSemanticCapabilities(connected, accountId, { env: options.env }),
|
|
1144
1130
|
meetingSearches: await (async () => {
|
|
1145
|
-
const { meetingSearchesService } = await import("
|
|
1131
|
+
const { meetingSearchesService } = await import("@wirecat/cli-core");
|
|
1146
1132
|
return meetingSearchesService(async () => connected.searches);
|
|
1147
1133
|
})(),
|
|
1148
1134
|
meetingStats: /* @__PURE__ */ __name(async (request2) => {
|
|
1149
|
-
const { readMeetingStats } = await import("
|
|
1135
|
+
const { readMeetingStats } = await import("@wirecat/cli-core");
|
|
1150
1136
|
return readMeetingStats(connected, { ...request2, accountId });
|
|
1151
1137
|
}, "meetingStats"),
|
|
1152
1138
|
meetingCounts: /* @__PURE__ */ __name(async (request2) => {
|
|
1153
|
-
const { readMeetingCounts } = await import("
|
|
1139
|
+
const { readMeetingCounts } = await import("@wirecat/cli-core");
|
|
1154
1140
|
return readMeetingCounts(connected, { ...request2, accountId });
|
|
1155
1141
|
}, "meetingCounts"),
|
|
1156
1142
|
meetingReview: /* @__PURE__ */ __name(async (request2) => {
|
|
1157
|
-
const { readMeetingReview } = await import("
|
|
1143
|
+
const { readMeetingReview } = await import("@wirecat/cli-core");
|
|
1158
1144
|
return readMeetingReview(connected, { ...request2, accountId });
|
|
1159
1145
|
}, "meetingReview"),
|
|
1160
1146
|
meetingLinks: /* @__PURE__ */ __name(async (request2) => {
|
|
1161
|
-
const { readMeetingLinks } = await import("
|
|
1147
|
+
const { readMeetingLinks } = await import("@wirecat/cli-core");
|
|
1162
1148
|
return readMeetingLinks(connected, { ...request2, accountId });
|
|
1163
1149
|
}, "meetingLinks")
|
|
1164
1150
|
};
|
|
1165
1151
|
} catch (error) {
|
|
1166
1152
|
await store?.close().catch(() => void 0);
|
|
1167
1153
|
if (isCliError(error) && error.code === "not_found")
|
|
1168
|
-
throw new
|
|
1154
|
+
throw new CliError12("configuration_error", "no stored meetings for the selected profile; import transcripts or pull first");
|
|
1169
1155
|
if (isCliError(error))
|
|
1170
1156
|
throw error;
|
|
1171
|
-
throw new
|
|
1157
|
+
throw new CliError12("configuration_error", "could not connect to the shared meeting store; check MESSAGING_STORE and the installed store version");
|
|
1172
1158
|
}
|
|
1173
1159
|
}, "createStoreConnector");
|
|
1174
1160
|
|