@wirecat/zoom-cli 0.82.0 → 0.84.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 +12 -12
- package/contracts/wirecat.json +88 -55
- 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 +2 -2
- 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 +4 -17
- package/dist/bin/main.js.map +1 -1
- package/dist/bin/zm.js +11 -11
- package/dist/bundle/answer-policy-OQQWAUHH.js +33 -0
- package/dist/bundle/chunk-3YDF76DP.js +922 -0
- package/dist/bundle/chunk-AEWYRB6F.js +8 -0
- package/dist/bundle/chunk-AF2Z6VOG.js +137 -0
- package/dist/bundle/{chunk-MAJJ4PG3.js → chunk-DAYBU7WR.js} +79 -396
- package/dist/bundle/{chunk-XQQVMECZ.js → chunk-JD63PEI3.js} +3 -8
- package/dist/bundle/{chunk-UL2PXLKT.js → chunk-L5ZYKXAY.js} +392 -129
- package/dist/bundle/{chunk-2SWKQ7C4.js → chunk-W4TDCCT3.js} +8 -2
- package/dist/bundle/{chunk-AC6VJNMJ.js → chunk-W6YFWJDR.js} +2 -5
- package/dist/bundle/{chunk-434YFJAE.js → chunk-WSGD5Q6L.js} +3 -9
- package/dist/bundle/config-MP5YLHEY.js +29 -0
- package/dist/bundle/{folders-LXOL4N4S.js → folders-B2GKJOC2.js} +2 -7
- package/dist/bundle/{main-YAA7WQ23.js → main-YZPLPXB7.js} +21 -53
- package/dist/bundle/{output-file-2UB5JP3R.js → output-file-PKA7MJEP.js} +3 -11
- package/dist/bundle/{program-GVCGZP27.js → program-7JY6XJ6K.js} +714 -935
- package/dist/bundle/run-log-ML7ZCWXD.js +54 -0
- package/dist/bundle/store-connection-LQGKS3DN.js +21 -0
- package/dist/bundle/streaming-PRGWGNHY.js +12 -0
- package/dist/bundle/tokens-57RJVBK6.js +18 -0
- package/dist/bundle/zm.js +4 -161
- package/dist/bundle/{zoom-app-YWFB367P.js → zoom-app-EYJST6GF.js} +4 -10
- package/dist/chat-file.d.ts +1 -1
- package/dist/chat-file.d.ts.map +1 -1
- package/dist/commands.d.ts +1 -8
- package/dist/commands.d.ts.map +1 -1
- package/dist/commands.js +3 -33
- 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/index.d.ts +1 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -2
- package/dist/index.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.d.ts.map +1 -1
- package/dist/program-bindings.js +3 -13
- package/dist/program-bindings.js.map +1 -1
- package/dist/program.d.ts +4 -7
- 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 +6 -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 +6 -15
- package/dist/setup-commands.d.ts.map +1 -1
- package/dist/setup-commands.js +7 -142
- 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 +20 -44
- package/dist/tokens.d.ts.map +1 -1
- package/dist/tokens.js +95 -308
- 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 +2 -2
- 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 +6 -0
- package/dist/zoom-session.d.ts.map +1 -0
- package/dist/zoom-session.js +72 -0
- package/dist/zoom-session.js.map +1 -0
- 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/skills/zoom-cli/references/setup.md +2 -2
- package/dist/bundle/agent-F4TRJWWS.js +0 -46
- package/dist/bundle/all-profiles-RULEKTDQ.js +0 -321
- package/dist/bundle/answer-policy-6XC57AEZ.js +0 -131
- package/dist/bundle/anthropic-4NAQBZFL.js +0 -91
- package/dist/bundle/app-server-VLR42U5L.js +0 -266
- package/dist/bundle/bun-OPDGMZZQ.js +0 -169
- package/dist/bundle/bun-sqlite-HC6X4AOX.js +0 -76
- package/dist/bundle/chunk-274SLQNW.js +0 -54
- package/dist/bundle/chunk-2CI2OEZQ.js +0 -101
- package/dist/bundle/chunk-2DBF2IIC.js +0 -330
- package/dist/bundle/chunk-2GP573Q4.js +0 -67190
- package/dist/bundle/chunk-2JHVQMVC.js +0 -16
- package/dist/bundle/chunk-2XBDILVW.js +0 -53
- package/dist/bundle/chunk-3HC5F3P7.js +0 -24
- package/dist/bundle/chunk-3YM4B2GT.js +0 -63
- package/dist/bundle/chunk-4HLQ2JGK.js +0 -276
- package/dist/bundle/chunk-4N7PP76S.js +0 -6848
- package/dist/bundle/chunk-52Y4ETKU.js +0 -230
- package/dist/bundle/chunk-5HAUK3I4.js +0 -27160
- package/dist/bundle/chunk-5KYQ53EF.js +0 -357
- package/dist/bundle/chunk-5TU7Y5UW.js +0 -218
- package/dist/bundle/chunk-66ALX4ZI.js +0 -1068
- package/dist/bundle/chunk-676C2LE6.js +0 -229
- package/dist/bundle/chunk-6CWL5BKG.js +0 -3012
- package/dist/bundle/chunk-6QYZP4E2.js +0 -73
- package/dist/bundle/chunk-6VK332XS.js +0 -170
- package/dist/bundle/chunk-73MOMNLL.js +0 -94
- package/dist/bundle/chunk-7QPIUMUG.js +0 -198
- package/dist/bundle/chunk-7UVDPRFK.js +0 -259
- package/dist/bundle/chunk-A6EZK5RG.js +0 -142
- package/dist/bundle/chunk-ACI4YIEH.js +0 -331
- package/dist/bundle/chunk-AIKFOBDO.js +0 -1024
- package/dist/bundle/chunk-ASBDFXLS.js +0 -295
- package/dist/bundle/chunk-B32KZRQM.js +0 -2338
- package/dist/bundle/chunk-BBGJQMRI.js +0 -34
- package/dist/bundle/chunk-BDKVOU3I.js +0 -52
- package/dist/bundle/chunk-BP4FYANF.js +0 -335
- package/dist/bundle/chunk-D72URWJE.js +0 -532
- package/dist/bundle/chunk-DCYFT3FR.js +0 -161
- package/dist/bundle/chunk-DFDN6AUB.js +0 -21
- package/dist/bundle/chunk-DNCLQPOM.js +0 -7
- package/dist/bundle/chunk-DSZYABYL.js +0 -808
- package/dist/bundle/chunk-E745WZKY.js +0 -1199
- package/dist/bundle/chunk-EGTCQKHV.js +0 -340
- package/dist/bundle/chunk-EQG3PIH2.js +0 -108
- package/dist/bundle/chunk-ESN3W2MZ.js +0 -2624
- package/dist/bundle/chunk-FXBHOCJK.js +0 -24600
- package/dist/bundle/chunk-G46WJ7YO.js +0 -95
- package/dist/bundle/chunk-G6PETRMV.js +0 -64
- package/dist/bundle/chunk-GBHMT2IU.js +0 -755
- package/dist/bundle/chunk-GGMAIIVE.js +0 -38
- package/dist/bundle/chunk-GTKPMYK7.js +0 -72
- package/dist/bundle/chunk-GWGHH56B.js +0 -374
- package/dist/bundle/chunk-HC6VN5CO.js +0 -692
- package/dist/bundle/chunk-HP7A2ZOP.js +0 -185
- package/dist/bundle/chunk-HTQTIKWP.js +0 -928
- package/dist/bundle/chunk-HZENBDW2.js +0 -209
- package/dist/bundle/chunk-IANKXHSE.js +0 -46
- package/dist/bundle/chunk-ICPJT672.js +0 -228
- package/dist/bundle/chunk-JQ54DYAQ.js +0 -80
- package/dist/bundle/chunk-K5JGJIV2.js +0 -640
- package/dist/bundle/chunk-KJ6USQDZ.js +0 -616
- package/dist/bundle/chunk-KKFY23AK.js +0 -5150
- package/dist/bundle/chunk-KQPUVXKX.js +0 -84
- package/dist/bundle/chunk-KVJ3I7UL.js +0 -1007
- package/dist/bundle/chunk-KWU46LNK.js +0 -288
- package/dist/bundle/chunk-KXJ3JEDH.js +0 -2
- package/dist/bundle/chunk-L75SMSJR.js +0 -133
- package/dist/bundle/chunk-LAYYO4WD.js +0 -31
- package/dist/bundle/chunk-LEKKTJKK.js +0 -2336
- package/dist/bundle/chunk-M7H4MCAX.js +0 -388
- package/dist/bundle/chunk-MQLPZBMQ.js +0 -58
- package/dist/bundle/chunk-N3JLO63O.js +0 -13
- package/dist/bundle/chunk-N46F72AF.js +0 -410
- package/dist/bundle/chunk-NB7EOAUZ.js +0 -123
- package/dist/bundle/chunk-NEMX3UNN.js +0 -76
- package/dist/bundle/chunk-OBXQLFT5.js +0 -82
- package/dist/bundle/chunk-OGNO35A2.js +0 -262
- package/dist/bundle/chunk-OIPYBF43.js +0 -100
- package/dist/bundle/chunk-OO4TRVPB.js +0 -185
- package/dist/bundle/chunk-OQFQ77AY.js +0 -9352
- package/dist/bundle/chunk-PL5P7UKW.js +0 -25216
- package/dist/bundle/chunk-PMUPN6JW.js +0 -773
- package/dist/bundle/chunk-PSKTMMCO.js +0 -561
- package/dist/bundle/chunk-PWVJUIDQ.js +0 -106
- package/dist/bundle/chunk-Q7ICVP25.js +0 -18
- package/dist/bundle/chunk-QG6PILDO.js +0 -195
- package/dist/bundle/chunk-QPHBK63S.js +0 -25
- package/dist/bundle/chunk-QVSL5WJ7.js +0 -46524
- package/dist/bundle/chunk-QVYAV7F2.js +0 -58
- package/dist/bundle/chunk-R2B6PUVI.js +0 -206
- package/dist/bundle/chunk-RQOZBTNI.js +0 -86
- package/dist/bundle/chunk-T7IAWEBU.js +0 -362
- package/dist/bundle/chunk-TKNM22OH.js +0 -71
- package/dist/bundle/chunk-TKVBFJ5C.js +0 -37
- 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-UKAAAOPC.js +0 -1251
- package/dist/bundle/chunk-UQCTXZEP.js +0 -214
- package/dist/bundle/chunk-UR5DBODY.js +0 -1345
- package/dist/bundle/chunk-V5EJSF2B.js +0 -12235
- package/dist/bundle/chunk-VB72LTSZ.js +0 -210
- package/dist/bundle/chunk-VB7FZOYX.js +0 -633
- package/dist/bundle/chunk-VS6WURLX.js +0 -217
- package/dist/bundle/chunk-VZ5PPYDG.js +0 -77
- package/dist/bundle/chunk-W5QHB53X.js +0 -3752
- package/dist/bundle/chunk-WMANRJR5.js +0 -555
- package/dist/bundle/chunk-WOPVBRPV.js +0 -29
- package/dist/bundle/chunk-XQ2WL3HB.js +0 -140
- package/dist/bundle/chunk-Y5E2WNWB.js +0 -35
- package/dist/bundle/chunk-Y6PVS55U.js +0 -800
- package/dist/bundle/chunk-YJXJJ2XP.js +0 -2333
- package/dist/bundle/chunk-YY7XKHDY.js +0 -79
- package/dist/bundle/chunk-ZED2CJW5.js +0 -353
- package/dist/bundle/chunk-ZOYOXWJB.js +0 -746
- package/dist/bundle/chunk-ZVVMGPBJ.js +0 -50
- package/dist/bundle/cli-U4O5XB7J.js +0 -1255
- package/dist/bundle/command-contract-FBTK6GQX.js +0 -45
- package/dist/bundle/command-server-entry-KKH6ZWJV.js +0 -175
- package/dist/bundle/config-FRJSIZNN.js +0 -118
- package/dist/bundle/decode-TPCNXEK4.js +0 -31
- package/dist/bundle/dispatch-FKMIPCPQ.js +0 -412
- package/dist/bundle/dist-7CLBCYZN.js +0 -321
- package/dist/bundle/dist-PAKDDIBT.js +0 -191
- package/dist/bundle/dist-XUFQCJXW.js +0 -7577
- package/dist/bundle/echarts-O3TNDAXJ.js +0 -42501
- package/dist/bundle/embed-WCJSFVSK.js +0 -38
- package/dist/bundle/embedder-TBBUPXBX.js +0 -111
- package/dist/bundle/failure-XTWBYI2A.js +0 -25
- package/dist/bundle/first-run-ELEMFW42.js +0 -29
- package/dist/bundle/first-screen-DIOBWMKP.js +0 -46
- package/dist/bundle/instructions-AMH5RWVJ.js +0 -11
- package/dist/bundle/mcp-5HFPWC3W.js +0 -167
- package/dist/bundle/meeting-combined-UXCF4SJ3.js +0 -26
- package/dist/bundle/meeting-model-3BZJ3EQP.js +0 -26
- package/dist/bundle/meeting-semantic-3HU7I2SJ.js +0 -23
- package/dist/bundle/meetings-XWMB6FOH.js +0 -332
- package/dist/bundle/node-EGMCBAO7.js +0 -176
- package/dist/bundle/node-KM3CUABH.js +0 -2340
- package/dist/bundle/node-TLZSIHIJ.js +0 -21
- package/dist/bundle/node-sqlite-IJBWENFX.js +0 -74
- package/dist/bundle/oauth-SZDDAP7A.js +0 -20
- package/dist/bundle/open-NS3TMKZX.js +0 -23
- package/dist/bundle/openai-4DN6WI3B.js +0 -28
- package/dist/bundle/process-SGHEN6MQ.js +0 -91
- package/dist/bundle/prompt-HJFMPFVC.js +0 -17
- package/dist/bundle/public-C2ZB2AGQ.js +0 -198
- package/dist/bundle/recognize-2SEI5PPM.js +0 -26
- package/dist/bundle/remote-2DMS74XE.js +0 -32
- package/dist/bundle/rerank-H6GCYVIA.js +0 -52
- package/dist/bundle/run-log-QU26SUZP.js +0 -145
- package/dist/bundle/serve-ODVRPFJO.js +0 -199
- package/dist/bundle/server-NBPF6IDZ.js +0 -95
- package/dist/bundle/server-PCLIO24L.js +0 -228
- package/dist/bundle/services-4QAPXBLO.js +0 -607
- package/dist/bundle/speech-MA6ZT3WE.js +0 -89
- package/dist/bundle/sqlite-runtime-PVMAUXRN.js +0 -20
- package/dist/bundle/state-QFMTYUME.js +0 -36
- package/dist/bundle/store-25OTAQC3.js +0 -187
- package/dist/bundle/store-F724QIKJ.js +0 -305
- package/dist/bundle/store-connection-OGPXANGB.js +0 -111
- package/dist/bundle/store-maintenance-command-2CM7LLNQ.js +0 -83
- package/dist/bundle/streaming-S22C4DG5.js +0 -18
- package/dist/bundle/surface-7PXHWCF6.js +0 -81
- package/dist/bundle/tokens-NLUHA2DW.js +0 -25
- package/dist/login.d.ts +0 -16
- package/dist/login.d.ts.map +0 -1
- package/dist/login.js +0 -98
- package/dist/login.js.map +0 -1
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
-
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
__name
|
|
5
|
-
} from "./chunk-ZVVMGPBJ.js";
|
|
6
|
-
|
|
7
|
-
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/store/driver.js
|
|
8
|
-
var TIME_LIMIT_FUNCTION = "wc_time_limit";
|
|
9
|
-
var TimeLimitReached = class extends Error {
|
|
10
|
-
static {
|
|
11
|
-
__name(this, "TimeLimitReached");
|
|
12
|
-
}
|
|
13
|
-
constructor() {
|
|
14
|
-
super("the statement ran past its time limit");
|
|
15
|
-
this.name = "TimeLimitReached";
|
|
16
|
-
}
|
|
17
|
-
};
|
|
18
|
-
var beforeTimeLimit = /* @__PURE__ */ __name((until) => {
|
|
19
|
-
if (Date.now() > Number(until))
|
|
20
|
-
throw new TimeLimitReached();
|
|
21
|
-
return 1;
|
|
22
|
-
}, "beforeTimeLimit");
|
|
23
|
-
var JOURNAL_SIZE_LIMIT = 64 * 1024 * 1024;
|
|
24
|
-
var PRAGMAS = `
|
|
25
|
-
PRAGMA busy_timeout = 5000;
|
|
26
|
-
PRAGMA journal_mode = WAL;
|
|
27
|
-
PRAGMA journal_size_limit = ${JOURNAL_SIZE_LIMIT};
|
|
28
|
-
PRAGMA foreign_keys = ON;
|
|
29
|
-
`;
|
|
30
|
-
var isQueryOnly = /* @__PURE__ */ __name((database) => Number(Object.values(database.prepare("PRAGMA query_only").get() ?? {})[0]) === 1, "isQueryOnly");
|
|
31
|
-
|
|
32
|
-
export {
|
|
33
|
-
TIME_LIMIT_FUNCTION,
|
|
34
|
-
TimeLimitReached,
|
|
35
|
-
beforeTimeLimit,
|
|
36
|
-
PRAGMAS,
|
|
37
|
-
isQueryOnly
|
|
38
|
-
};
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
-
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
CliError,
|
|
5
|
-
errorCodes
|
|
6
|
-
} from "./chunk-IANKXHSE.js";
|
|
7
|
-
import {
|
|
8
|
-
__name
|
|
9
|
-
} from "./chunk-ZVVMGPBJ.js";
|
|
10
|
-
|
|
11
|
-
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/errors/failures.js
|
|
12
|
-
var isCliFailure = /* @__PURE__ */ __name((value) => value instanceof Error && value.name === "CliError" && errorCodes.includes(value.code), "isCliFailure");
|
|
13
|
-
var isCommanderFailure = /* @__PURE__ */ __name((value) => {
|
|
14
|
-
const { code, exitCode } = value ?? {};
|
|
15
|
-
return value instanceof Error && typeof code === "string" && code.startsWith("commander.") && typeof exitCode === "number";
|
|
16
|
-
}, "isCommanderFailure");
|
|
17
|
-
var USAGE_REASONS = {
|
|
18
|
-
"commander.unknownCommand": "usage.unknown-command",
|
|
19
|
-
"commander.unknownOption": "usage.unknown-option"
|
|
20
|
-
};
|
|
21
|
-
var usageReason = /* @__PURE__ */ __name((code) => USAGE_REASONS[code], "usageReason");
|
|
22
|
-
var failureKey = /* @__PURE__ */ __name((error) => isCliFailure(error) ? error.code : error instanceof Error ? error.name : "error", "failureKey");
|
|
23
|
-
var SQLITE_CORRUPT = 11;
|
|
24
|
-
var SQLITE_NOTADB = 26;
|
|
25
|
-
var DAMAGED_TEXT = /database disk image is malformed|file is not a database|fts5: corruption/i;
|
|
26
|
-
var sqliteCode = /* @__PURE__ */ __name((error) => {
|
|
27
|
-
const { errcode, errno, name } = error ?? {};
|
|
28
|
-
const code = typeof errcode === "number" ? errcode : name === "SQLiteError" && typeof errno === "number" ? errno : null;
|
|
29
|
-
return code === null ? void 0 : code & 255;
|
|
30
|
-
}, "sqliteCode");
|
|
31
|
-
var damageIn = /* @__PURE__ */ __name((error) => {
|
|
32
|
-
if (isCliFailure(error) || isCommanderFailure(error))
|
|
33
|
-
return void 0;
|
|
34
|
-
let at = error;
|
|
35
|
-
for (let depth = 0; depth < 5 && at instanceof Error; depth += 1) {
|
|
36
|
-
const code = sqliteCode(at);
|
|
37
|
-
if (code !== void 0 && [SQLITE_CORRUPT, SQLITE_NOTADB].includes(code) || DAMAGED_TEXT.test(at.message))
|
|
38
|
-
return at;
|
|
39
|
-
at = at.cause;
|
|
40
|
-
}
|
|
41
|
-
return void 0;
|
|
42
|
-
}, "damageIn");
|
|
43
|
-
var wrapping = /* @__PURE__ */ __name((error, original) => {
|
|
44
|
-
Object.defineProperty(error, "cause", { value: original, configurable: true, writable: true });
|
|
45
|
-
if (original instanceof Error && original.stack)
|
|
46
|
-
error.stack = original.stack;
|
|
47
|
-
return error;
|
|
48
|
-
}, "wrapping");
|
|
49
|
-
var storeDamaged = /* @__PURE__ */ __name((error, next) => damageIn(error) ? wrapping(new CliError("configuration_error", `the store file is damaged${next ? `; \`${next}\` says what is damaged and what to do` : ""}`, { reason: "store.damaged" }), error) : error, "storeDamaged");
|
|
50
|
-
var damagedFile = /* @__PURE__ */ __name(async (files, work) => {
|
|
51
|
-
try {
|
|
52
|
-
return await work();
|
|
53
|
-
} catch (error) {
|
|
54
|
-
if (!damageIn(error))
|
|
55
|
-
throw error;
|
|
56
|
-
throw wrapping(new CliError("validation_error", `${files.join(" or ")} is damaged or not a database`, {
|
|
57
|
-
reason: "store.file-damaged"
|
|
58
|
-
}), error);
|
|
59
|
-
}
|
|
60
|
-
}, "damagedFile");
|
|
61
|
-
var isStoreDamage = /* @__PURE__ */ __name((error) => damageIn(error) !== void 0, "isStoreDamage");
|
|
62
|
-
|
|
63
|
-
export {
|
|
64
|
-
isCliFailure,
|
|
65
|
-
isCommanderFailure,
|
|
66
|
-
usageReason,
|
|
67
|
-
failureKey,
|
|
68
|
-
sqliteCode,
|
|
69
|
-
storeDamaged,
|
|
70
|
-
damagedFile,
|
|
71
|
-
isStoreDamage
|
|
72
|
-
};
|
|
@@ -1,374 +0,0 @@
|
|
|
1
|
-
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
-
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
validateVector
|
|
5
|
-
} from "./chunk-6VK332XS.js";
|
|
6
|
-
import {
|
|
7
|
-
meaningFloor
|
|
8
|
-
} from "./chunk-BP4FYANF.js";
|
|
9
|
-
import {
|
|
10
|
-
RRF_K,
|
|
11
|
-
plainQuery
|
|
12
|
-
} from "./chunk-PMUPN6JW.js";
|
|
13
|
-
import {
|
|
14
|
-
MESSAGE_PARSING
|
|
15
|
-
} from "./chunk-YY7XKHDY.js";
|
|
16
|
-
import {
|
|
17
|
-
normalize
|
|
18
|
-
} from "./chunk-2JHVQMVC.js";
|
|
19
|
-
import {
|
|
20
|
-
MEETING_FIELD_NAMES,
|
|
21
|
-
formatMeetingReference,
|
|
22
|
-
liftMeetingFields,
|
|
23
|
-
parseMeetingReference,
|
|
24
|
-
refreshMeetingIndex
|
|
25
|
-
} from "./chunk-KKFY23AK.js";
|
|
26
|
-
import {
|
|
27
|
-
implicitTextTerms,
|
|
28
|
-
parseLucene,
|
|
29
|
-
walkQuery
|
|
30
|
-
} from "./chunk-UAWSINMC.js";
|
|
31
|
-
import {
|
|
32
|
-
CliError
|
|
33
|
-
} from "./chunk-IANKXHSE.js";
|
|
34
|
-
import {
|
|
35
|
-
__name
|
|
36
|
-
} from "./chunk-ZVVMGPBJ.js";
|
|
37
|
-
|
|
38
|
-
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/services/meeting-combined.js
|
|
39
|
-
import { createHash } from "node:crypto";
|
|
40
|
-
|
|
41
|
-
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/search/question-plan.js
|
|
42
|
-
var words = /* @__PURE__ */ __name((text) => normalize(text).match(/[\p{L}\p{N}]+/gu) ?? [], "words");
|
|
43
|
-
var joinedHyphens = /* @__PURE__ */ __name((text) => (normalize(text).match(new RegExp("(?<![:\\p{L}\\p{N}-])\\p{L}[\\p{L}\\p{N}]*(?:-\\p{L}[\\p{L}\\p{N}]*)+", "gu")) ?? []).map((word) => word.replaceAll("-", "")), "joinedHyphens");
|
|
44
|
-
var scaffolding = new Set(words("what which how many much who where when is are was were do does did can could should we the a an for of to under from in on at has have \u0441\u043A\u043E\u043B\u044C\u043A\u043E \u043A\u0430\u043A\u043E\u0439 \u043A\u0430\u043A\u0430\u044F \u043A\u0430\u043A\u0438\u0435 \u043A\u0430\u043A\u043E\u0435 \u043A\u0442\u043E \u043A\u043E\u043C\u0443 \u043A\u0435\u043C \u0433\u0434\u0435 \u043A\u043E\u0433\u0434\u0430 \u043A\u0430\u043A \u0447\u0442\u043E \u0432\u043E \u043F\u043E \u043D\u0430 \u0432 \u043A \u0441 \u0443 \u0447\u0435\u0440\u0435\u0437 \u043B\u0438 \u0434\u043E\u043B\u0436\u0435\u043D \u0434\u043E\u043B\u0436\u043D\u0430 \u043D\u0443\u0436\u043D\u043E \u0438\u0434\u0451\u0442 \u0438\u0434\u0435\u0442 \u043C\u043E\u0436\u043D\u043E \u043C\u043E\u0436\u0435\u0442 \u043C\u043E\u0433\u0443\u0442"));
|
|
45
|
-
var questionWord = /\b(?:what|which|how|who|where|when|can|could|should)\b|(?:^|\s)(?:сколько|какой|какая|какие|какое|кто|кому|кем|где|когда|как|что|можно|может|могут|ли)(?:\s|$)/iu;
|
|
46
|
-
var QUESTION_STARTS = new Set(words("what which how who whom whose where when why can could should would did do does is are was were will \u0447\u0442\u043E \u043A\u0442\u043E \u043A\u043E\u0433\u043E \u043A\u043E\u043C\u0443 \u043A\u0435\u043C \u0433\u0434\u0435 \u043A\u043E\u0433\u0434\u0430 \u043A\u0430\u043A \u043A\u0430\u043A\u043E\u0439 \u043A\u0430\u043A\u0430\u044F \u043A\u0430\u043A\u043E\u0435 \u043A\u0430\u043A\u0438\u0435 \u043A\u0430\u043A\u0443\u044E \u043A\u0430\u043A\u0438\u043C \u043A\u0430\u043A\u043E\u0433\u043E \u043A\u0430\u043A\u0438\u0445 \u043F\u043E\u0447\u0435\u043C\u0443 \u0437\u0430\u0447\u0435\u043C \u043E\u0442\u043A\u0443\u0434\u0430 \u043A\u0443\u0434\u0430 \u0441\u043A\u043E\u043B\u044C\u043A\u043E \u043B\u0438 \u043C\u043E\u0436\u043D\u043E \u0440\u0430\u0437\u0432\u0435 \u0447\u0435\u0439 \u0447\u044C\u044F \u0447\u044C\u0451 \u0447\u044C\u0438"));
|
|
47
|
-
var QUESTION_FILLER = new Set(words("about any did does why whom whose would will \u044D\u0442\u043E \u043C\u044B \u0432\u044B \u044F \u043E\u043D\u0438 \u043E\u043D \u043E\u043D\u0430 \u043E \u043E\u0431 \u043F\u0440\u043E \u043B\u0438"));
|
|
48
|
-
var LINKING = new Set(words("and or but not nor with without this that these those there their they them you your our its his her all any and for into onto over then than also just and \u043F\u0440\u0438 \u0434\u043B\u044F \u0431\u0435\u0437 \u043D\u0430\u0434 \u043F\u043E\u0434 \u0438\u043B\u0438 \u043B\u0438\u0431\u043E \u0435\u0433\u043E \u0435\u0451 \u0438\u0445 \u0432\u0441\u0435 \u0432\u0441\u0451 \u0443\u0436\u0435 \u0435\u0449\u0451 \u0442\u0430\u043A \u0442\u043E\u0436\u0435 \u0442\u0430\u043A\u0436\u0435 \u0431\u044B\u043B \u0431\u044B\u043B\u0430 \u0431\u044B\u043B\u0438 \u0431\u044B\u043B\u043E \u0431\u0443\u0434\u0435\u0442 \u044D\u0442\u043E \u044D\u0442\u0430 \u044D\u0442\u043E\u0442 \u044D\u0442\u0438 \u0442\u0430\u043C \u0442\u0443\u0442"));
|
|
49
|
-
var isFunctionWord = /* @__PURE__ */ __name((word) => scaffolding.has(word) || QUESTION_STARTS.has(word) || QUESTION_FILLER.has(word) || LINKING.has(word), "isFunctionWord");
|
|
50
|
-
var questionTerms = /* @__PURE__ */ __name((text) => /\?\s*$/u.test(text) || QUESTION_STARTS.has(words(text)[0] ?? "") ? words(text).filter((word) => !scaffolding.has(word) && !QUESTION_STARTS.has(word) && !QUESTION_FILLER.has(word)) : null, "questionTerms");
|
|
51
|
-
function planQuestion(text, strict = false) {
|
|
52
|
-
if (strict)
|
|
53
|
-
return {
|
|
54
|
-
changed: false,
|
|
55
|
-
natural: false,
|
|
56
|
-
queries: [text],
|
|
57
|
-
scope: "",
|
|
58
|
-
terms: words(text),
|
|
59
|
-
rankingTerms: words(text),
|
|
60
|
-
removed: [],
|
|
61
|
-
aliases: []
|
|
62
|
-
};
|
|
63
|
-
const inputAst = parseLucene(text, MESSAGE_PARSING);
|
|
64
|
-
const rawTextual = walkQuery(inputAst.root).filter((node) => node.field === "text" || node.field === "exact");
|
|
65
|
-
const body = rawTextual.map((node) => node.value).join(" ");
|
|
66
|
-
const prefix = words(body).slice(0, 2);
|
|
67
|
-
const questionPrefix = [
|
|
68
|
-
"what",
|
|
69
|
-
"which",
|
|
70
|
-
"how",
|
|
71
|
-
"who",
|
|
72
|
-
"where",
|
|
73
|
-
"when",
|
|
74
|
-
"can",
|
|
75
|
-
"could",
|
|
76
|
-
"should",
|
|
77
|
-
"\u0441\u043A\u043E\u043B\u044C\u043A\u043E",
|
|
78
|
-
"\u043A\u0430\u043A\u043E\u0438",
|
|
79
|
-
"\u043A\u0430\u043A\u0430\u044F",
|
|
80
|
-
"\u043A\u0430\u043A\u0438\u0435",
|
|
81
|
-
"\u043A\u0430\u043A\u043E\u0435",
|
|
82
|
-
"\u043A\u0442\u043E",
|
|
83
|
-
"\u043A\u043E\u043C\u0443",
|
|
84
|
-
"\u043A\u0435\u043C",
|
|
85
|
-
"\u0433\u0434\u0435",
|
|
86
|
-
"\u043A\u043E\u0433\u0434\u0430",
|
|
87
|
-
"\u043A\u0430\u043A",
|
|
88
|
-
"\u0447\u0442\u043E",
|
|
89
|
-
"\u043C\u043E\u0436\u043D\u043E",
|
|
90
|
-
"\u043C\u043E\u0436\u0435\u0442",
|
|
91
|
-
"\u043C\u043E\u0433\u0443\u0442"
|
|
92
|
-
].includes(prefix[0] ?? "") || ["\u043A", "\u0432\u043E"].includes(prefix[0] ?? "") && ["\u043A\u043E\u043C\u0443", "\u0441\u043A\u043E\u043B\u044C\u043A\u043E"].includes(prefix[1] ?? "");
|
|
93
|
-
const natural = questionWord.test(body) && (/\?/u.test(body) || questionPrefix);
|
|
94
|
-
let cleaned = text;
|
|
95
|
-
if (natural && !text.includes("\\")) {
|
|
96
|
-
const last = rawTextual.at(-1);
|
|
97
|
-
const mark = (last?.span.end ?? 0) - 1;
|
|
98
|
-
if (last?.operator === "wildcard" && text[mark] === "?")
|
|
99
|
-
cleaned = text.slice(0, mark) + text.slice(mark + 1);
|
|
100
|
-
}
|
|
101
|
-
const ast = cleaned === text ? inputAst : parseLucene(cleaned, MESSAGE_PARSING);
|
|
102
|
-
const predicates = walkQuery(ast.root);
|
|
103
|
-
const textual = predicates.filter((p) => p.field === "text" || p.field === "exact");
|
|
104
|
-
const fields = predicates.filter((p) => p.field !== "text" && p.field !== "exact");
|
|
105
|
-
const scope = fields.map((p) => {
|
|
106
|
-
const raw = cleaned.slice(p.span.start, p.span.end);
|
|
107
|
-
return new RegExp(`^${p.field}[:=<>]`, "u").test(raw) ? raw : `${p.field}:${raw}`;
|
|
108
|
-
}).join(" ");
|
|
109
|
-
const bypass = strict || !natural || implicitTextTerms(cleaned).size === 0 || // A quoted single word is how `plainQuery` keeps `10:30` or `HH:MM` literal; it is no phrase the asker wrote.
|
|
110
|
-
textual.some((p) => !(p.operator === "term" || p.operator === "phrase" && !/\s/u.test(p.value)) || p.field === "exact");
|
|
111
|
-
if (bypass)
|
|
112
|
-
return {
|
|
113
|
-
changed: false,
|
|
114
|
-
natural: false,
|
|
115
|
-
queries: [text],
|
|
116
|
-
scope,
|
|
117
|
-
terms: textual.flatMap((p) => words(p.value)),
|
|
118
|
-
rankingTerms: textual.flatMap((p) => words(p.value)),
|
|
119
|
-
removed: [],
|
|
120
|
-
aliases: []
|
|
121
|
-
};
|
|
122
|
-
const original = textual.flatMap((p) => words(p.value));
|
|
123
|
-
const removed = original.filter((w) => scaffolding.has(w));
|
|
124
|
-
const terms = [...new Set(original.filter((w) => !scaffolding.has(w)))];
|
|
125
|
-
if (!terms.length)
|
|
126
|
-
return {
|
|
127
|
-
changed: false,
|
|
128
|
-
natural: true,
|
|
129
|
-
queries: [text],
|
|
130
|
-
scope,
|
|
131
|
-
terms,
|
|
132
|
-
rankingTerms: original,
|
|
133
|
-
removed,
|
|
134
|
-
aliases: []
|
|
135
|
-
};
|
|
136
|
-
const alias = [...terms];
|
|
137
|
-
const changes = [];
|
|
138
|
-
const replace = /* @__PURE__ */ __name((from, to) => {
|
|
139
|
-
for (let i = 0; i < alias.length; i++)
|
|
140
|
-
if (from.includes(alias[i] ?? "")) {
|
|
141
|
-
changes.push(`${alias[i]} -> ${to}`);
|
|
142
|
-
alias[i] = to;
|
|
143
|
-
}
|
|
144
|
-
}, "replace");
|
|
145
|
-
if (terms.some((w) => ["refund", "euros", "euro", "money", "\u0432\u043E\u0437\u0432\u0440\u0430\u0442\u0430", "\u0432\u043E\u0437\u0432\u0440\u0430\u0442", "\u0435\u0432\u0440\u043E"].includes(w))) {
|
|
146
|
-
replace(["returned", "refunded", "received"], "refund");
|
|
147
|
-
replace(["\u0432\u0435\u0440\u043D\u0443\u043B\u0438", "\u0432\u043E\u0437\u0432\u0440\u0430\u0449\u0435\u043D\u043E", "\u043F\u0435\u0440\u0435\u0447\u0438\u0441\u043B\u0435\u043D\u043E"], "\u0432\u043E\u0437\u0432\u0440\u0430\u0442");
|
|
148
|
-
}
|
|
149
|
-
if (terms.some((w) => ["log", "logs", "retention", "backup", "\u043B\u043E\u0433\u043E\u0432", "\u043B\u043E\u0433\u0438", "\u0445\u0440\u0430\u043D\u0435\u043D\u0438\u0435", "\u0445\u0440\u0430\u043D\u0435\u043D\u0438\u044F"].includes(w))) {
|
|
150
|
-
replace(["lifetime", "kept", "keep"], "retention");
|
|
151
|
-
replace(["\u0445\u0440\u0430\u043D\u044F\u0442\u0441\u044F", "\u0445\u0440\u0430\u043D\u044F\u0442", "\u0445\u0440\u0430\u043D\u0438\u0442\u044C", "\u0441\u0440\u043E\u043A"], "\u0445\u0440\u0430\u043D\u0435\u043D\u0438\u0435");
|
|
152
|
-
}
|
|
153
|
-
if (terms.includes("service") || terms.includes("build"))
|
|
154
|
-
replace(["currently", "now"], "current");
|
|
155
|
-
const render = /* @__PURE__ */ __name((ws) => [...new Set(ws)].join(" ") + (scope ? ` ${scope}` : ""), "render");
|
|
156
|
-
const queries = [.../* @__PURE__ */ new Set([render(terms), render(alias)])].slice(0, 2);
|
|
157
|
-
return { changed: true, natural: true, queries, scope, terms, rankingTerms: original, removed, aliases: changes };
|
|
158
|
-
}
|
|
159
|
-
__name(planQuestion, "planQuestion");
|
|
160
|
-
var questionText = /* @__PURE__ */ __name((text) => text.replace(new RegExp("(?<=\\p{L})\\?(?=\\s|$)", "gu"), "").replace(/"(?:[^"\\]|\\.)*"|(?<=\d):(?=\d)/gu, (found) => found === ":" ? " " : found), "questionText");
|
|
161
|
-
var lookupTerms = /* @__PURE__ */ __name((plan) => [
|
|
162
|
-
...new Set(plan.terms.concat(plan.aliases.flatMap((alias) => words(alias.split(" -> ")[1] ?? ""))))
|
|
163
|
-
], "lookupTerms");
|
|
164
|
-
var anyOfTerms = /* @__PURE__ */ __name((terms, scope) => `(${terms.join(" OR ")})${scope ? ` ${scope}` : ""}`, "anyOfTerms");
|
|
165
|
-
var questionLookup = /* @__PURE__ */ __name((text) => {
|
|
166
|
-
let plan;
|
|
167
|
-
try {
|
|
168
|
-
plan = planQuestion(questionText(text));
|
|
169
|
-
} catch (error) {
|
|
170
|
-
if (error instanceof CliError)
|
|
171
|
-
return void 0;
|
|
172
|
-
throw error;
|
|
173
|
-
}
|
|
174
|
-
const terms = plan.changed ? lookupTerms(plan) : [];
|
|
175
|
-
return terms.length ? anyOfTerms(terms, plan.scope) : void 0;
|
|
176
|
-
}, "questionLookup");
|
|
177
|
-
|
|
178
|
-
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/services/meeting-hit-search.js
|
|
179
|
-
var resolveMeetingSelection = /* @__PURE__ */ __name(async (store, request) => {
|
|
180
|
-
const { project, tag, topic, ...input } = request;
|
|
181
|
-
input.signal?.throwIfAborted();
|
|
182
|
-
if (project !== void 0 && input.projectId !== void 0 || [tag, topic].filter((value) => value !== void 0).length + Number(input.tagId !== void 0) > 1)
|
|
183
|
-
throw new CliError("validation_error", "choose one project selector and one tag or topic selector");
|
|
184
|
-
const selection = [];
|
|
185
|
-
const knowledge = store.knowledge;
|
|
186
|
-
if (!knowledge && [project, tag, topic].some((value) => value !== void 0))
|
|
187
|
-
throw new CliError("configuration_error", "this store cannot resolve project, tag or topic names");
|
|
188
|
-
for (const [kind, name] of [
|
|
189
|
-
["project", project],
|
|
190
|
-
["tag", tag],
|
|
191
|
-
["topic", topic]
|
|
192
|
-
]) {
|
|
193
|
-
if (name === void 0)
|
|
194
|
-
continue;
|
|
195
|
-
if (!knowledge)
|
|
196
|
-
continue;
|
|
197
|
-
const found = await knowledge.resolveVocabulary(name, { kind, signal: input.signal });
|
|
198
|
-
input.signal?.throwIfAborted();
|
|
199
|
-
if (found.ambiguous || found.matches.length !== 1)
|
|
200
|
-
throw new CliError(found.matches.length ? "validation_error" : "not_found", `the ${kind} name needs one canonical record`, {
|
|
201
|
-
candidates: found.matches.map((entry2) => ({ kind: entry2.kind, id: entry2.id, name: entry2.name }))
|
|
202
|
-
});
|
|
203
|
-
const entry = found.matches[0];
|
|
204
|
-
const id = Number(entry?.id);
|
|
205
|
-
if (!entry || entry.kind !== kind || !Number.isSafeInteger(id) || id < 1)
|
|
206
|
-
throw new CliError("invalid_response", "vocabulary resolution returned an invalid canonical record");
|
|
207
|
-
if (kind === "project")
|
|
208
|
-
input.projectId = id;
|
|
209
|
-
else
|
|
210
|
-
input.tagId = id;
|
|
211
|
-
selection.push({ kind, id, name: entry.name, by: "explicit-link" });
|
|
212
|
-
}
|
|
213
|
-
return { input, selection };
|
|
214
|
-
}, "resolveMeetingSelection");
|
|
215
|
-
var searchMeetingHits = /* @__PURE__ */ __name(async (store, query, request, options = {}) => {
|
|
216
|
-
const lifted = liftMeetingFields(plainQuery(query, MEETING_FIELD_NAMES), request);
|
|
217
|
-
const { input, selection } = await resolveMeetingSelection(store, lifted.request);
|
|
218
|
-
if (options.refreshIndex !== false)
|
|
219
|
-
await refreshMeetingIndex(store.meetings, input.accountId, input.signal);
|
|
220
|
-
const result = await store.meetings.searchHits(lifted.query, input);
|
|
221
|
-
input.signal?.throwIfAborted();
|
|
222
|
-
return { ...result, selection };
|
|
223
|
-
}, "searchMeetingHits");
|
|
224
|
-
|
|
225
|
-
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/services/meeting-combined.js
|
|
226
|
-
var DEPTH = 200;
|
|
227
|
-
var cursorOf = /* @__PURE__ */ __name((value, key) => {
|
|
228
|
-
if (value === void 0)
|
|
229
|
-
return 0;
|
|
230
|
-
let cursor;
|
|
231
|
-
try {
|
|
232
|
-
cursor = JSON.parse(Buffer.from(value, "base64url").toString("utf8"));
|
|
233
|
-
} catch {
|
|
234
|
-
throw new CliError("validation_error", "the cursor is not from a combined meeting search; search again");
|
|
235
|
-
}
|
|
236
|
-
if (cursor?.version !== 1 || cursor.key !== key || !Number.isSafeInteger(cursor.offset) || cursor.offset < 0)
|
|
237
|
-
throw new CliError("validation_error", "the cursor belongs to another query, filter or model; search again");
|
|
238
|
-
return cursor.offset;
|
|
239
|
-
}, "cursorOf");
|
|
240
|
-
var searchMeetingsCombined = /* @__PURE__ */ __name(async (store, embedder, typed, request) => {
|
|
241
|
-
const { maxChunks, maxRows, maxTextBytes, ...chosen } = request;
|
|
242
|
-
const { query, request: words2 } = liftMeetingFields(typed, chosen);
|
|
243
|
-
const { input, selection } = await resolveMeetingSelection(store, words2);
|
|
244
|
-
const { after, limit = 20, maxReadBytes, ...filters } = input;
|
|
245
|
-
const terms = questionTerms(query);
|
|
246
|
-
const wordQuery = terms === null ? query : terms.join(" ");
|
|
247
|
-
const key = createHash("sha256").update(JSON.stringify([query, embedder.key, Object.entries(filters).filter(([name]) => name !== "signal")])).digest("base64url");
|
|
248
|
-
const offset = cursorOf(after, key);
|
|
249
|
-
let byWords = [];
|
|
250
|
-
let indexing = "ready";
|
|
251
|
-
let refused;
|
|
252
|
-
if (wordQuery.trim()) {
|
|
253
|
-
await refreshMeetingIndex(store.meetings, input.accountId, input.signal);
|
|
254
|
-
try {
|
|
255
|
-
const page = await store.meetings.searchHits(wordQuery, { ...filters, limit: DEPTH, maxReadBytes });
|
|
256
|
-
byWords = page.items;
|
|
257
|
-
indexing = page.coverage.indexing;
|
|
258
|
-
} catch (error) {
|
|
259
|
-
if (!(error instanceof CliError) || error.code !== "validation_error")
|
|
260
|
-
throw error;
|
|
261
|
-
refused = error.message;
|
|
262
|
-
}
|
|
263
|
-
}
|
|
264
|
-
input.signal?.throwIfAborted();
|
|
265
|
-
const vectors = await embedder.embed([query], "query");
|
|
266
|
-
if (vectors.length !== 1)
|
|
267
|
-
throw new CliError("invalid_response", "Meeting query model returned another vector count");
|
|
268
|
-
const vector = vectors[0];
|
|
269
|
-
const ranked = await store.meetingVectors.ranked(embedder.key, validateVector(vector, embedder.dims), {
|
|
270
|
-
...filters,
|
|
271
|
-
limit: DEPTH,
|
|
272
|
-
...maxChunks === void 0 ? {} : { maxChunks },
|
|
273
|
-
...maxRows === void 0 ? {} : { maxRows },
|
|
274
|
-
...maxTextBytes === void 0 ? {} : { maxTextBytes }
|
|
275
|
-
});
|
|
276
|
-
const floor = meaningFloor(embedder.key);
|
|
277
|
-
const byMeaning = ranked.items.filter(({ score }) => score > floor);
|
|
278
|
-
const merged = /* @__PURE__ */ new Map();
|
|
279
|
-
byMeaning.forEach((hit, rank) => {
|
|
280
|
-
const reference = { type: "meeting", accountId: input.accountId, meetingId: hit.meetingId };
|
|
281
|
-
const first = formatMeetingReference({
|
|
282
|
-
...reference,
|
|
283
|
-
transcriptId: hit.transcriptId,
|
|
284
|
-
cuePosition: hit.firstPosition
|
|
285
|
-
});
|
|
286
|
-
merged.set(`${hit.transcriptId}:${hit.firstPosition}`, {
|
|
287
|
-
ref: first,
|
|
288
|
-
meetingId: hit.meetingId,
|
|
289
|
-
scope: "transcript",
|
|
290
|
-
text: hit.text,
|
|
291
|
-
startMs: null,
|
|
292
|
-
source: { title: hit.title, startedAt: hit.startedAt, url: null },
|
|
293
|
-
by: ["meaning"],
|
|
294
|
-
score: hit.score,
|
|
295
|
-
passage: {
|
|
296
|
-
first,
|
|
297
|
-
last: formatMeetingReference({ ...reference, transcriptId: hit.transcriptId, cuePosition: hit.lastPosition })
|
|
298
|
-
},
|
|
299
|
-
fused: 1 / (RRF_K + rank + 1)
|
|
300
|
-
});
|
|
301
|
-
});
|
|
302
|
-
byWords.forEach((hit, rank) => {
|
|
303
|
-
const share = 1 / (RRF_K + rank + 1);
|
|
304
|
-
const cue = hit.scope === "transcript" ? parseMeetingReference(hit.ref) : void 0;
|
|
305
|
-
const within = cue?.cuePosition === void 0 ? void 0 : byMeaning.find((passage) => passage.transcriptId === cue.transcriptId && passage.firstPosition <= cue.cuePosition && cue.cuePosition <= passage.lastPosition);
|
|
306
|
-
const held = within && merged.get(`${within.transcriptId}:${within.firstPosition}`);
|
|
307
|
-
const found = {
|
|
308
|
-
ref: hit.ref,
|
|
309
|
-
text: hit.text,
|
|
310
|
-
startMs: hit.startMs,
|
|
311
|
-
...hit.match === void 0 ? {} : { match: hit.match },
|
|
312
|
-
...hit.corrections === void 0 ? {} : { corrections: hit.corrections }
|
|
313
|
-
};
|
|
314
|
-
if (held && !held.by.includes("words")) {
|
|
315
|
-
Object.assign(held, found, { by: ["words", "meaning"], fused: held.fused + share });
|
|
316
|
-
if (hit.source?.url)
|
|
317
|
-
held.source.url = hit.source.url;
|
|
318
|
-
} else if (held)
|
|
319
|
-
held.fused += share;
|
|
320
|
-
else
|
|
321
|
-
merged.set(`w:${hit.ref}:${hit.scope}:${hit.id}`, {
|
|
322
|
-
...found,
|
|
323
|
-
meetingId: hit.meetingId,
|
|
324
|
-
scope: hit.scope,
|
|
325
|
-
source: {
|
|
326
|
-
title: hit.source?.title ?? null,
|
|
327
|
-
startedAt: hit.source?.startedAt ?? null,
|
|
328
|
-
url: hit.source?.url ?? null
|
|
329
|
-
},
|
|
330
|
-
by: ["words"],
|
|
331
|
-
score: null,
|
|
332
|
-
fused: share
|
|
333
|
-
});
|
|
334
|
-
});
|
|
335
|
-
const ordered = [...merged.values()].sort((a, b) => b.fused - a.fused || Number(b.by.includes("words")) - Number(a.by.includes("words")) || (b.score ?? -2) - (a.score ?? -2));
|
|
336
|
-
const items = ordered.slice(offset, offset + limit).map(({ fused: _, ...hit }) => hit);
|
|
337
|
-
const hasMore = ordered.length > offset + limit;
|
|
338
|
-
return {
|
|
339
|
-
items,
|
|
340
|
-
hasMore,
|
|
341
|
-
nextCursor: hasMore ? Buffer.from(JSON.stringify({ version: 1, key, offset: offset + limit })).toString("base64url") : null,
|
|
342
|
-
selection,
|
|
343
|
-
words: {
|
|
344
|
-
query: wordQuery,
|
|
345
|
-
...terms === null ? {} : { from: "question" },
|
|
346
|
-
...refused === void 0 ? {} : { refused }
|
|
347
|
-
},
|
|
348
|
-
model: { key: embedder.key, model: embedder.model, kind: embedder.kind, dims: embedder.dims },
|
|
349
|
-
coverage: {
|
|
350
|
-
archiveCompleteness: "unknown",
|
|
351
|
-
indexCompleteness: "unknown",
|
|
352
|
-
indexing,
|
|
353
|
-
/** Every vector of the selection was compared; false when `maxChunks` stopped the scan. */
|
|
354
|
-
meaningScanComplete: ranked.complete,
|
|
355
|
-
scanned: ranked.scanned,
|
|
356
|
-
/** Each side ranks this many at most; pages past them hold nothing more. */
|
|
357
|
-
depth: DEPTH
|
|
358
|
-
}
|
|
359
|
-
};
|
|
360
|
-
}, "searchMeetingsCombined");
|
|
361
|
-
|
|
362
|
-
export {
|
|
363
|
-
words,
|
|
364
|
-
joinedHyphens,
|
|
365
|
-
isFunctionWord,
|
|
366
|
-
planQuestion,
|
|
367
|
-
questionText,
|
|
368
|
-
lookupTerms,
|
|
369
|
-
anyOfTerms,
|
|
370
|
-
questionLookup,
|
|
371
|
-
resolveMeetingSelection,
|
|
372
|
-
searchMeetingHits,
|
|
373
|
-
searchMeetingsCombined
|
|
374
|
-
};
|