@wirecat/zoom-cli 0.83.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 +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-OQQWAUHH.js +33 -0
- package/dist/bundle/chunk-3YDF76DP.js +922 -0
- package/dist/bundle/chunk-AEWYRB6F.js +8 -0
- package/dist/bundle/{chunk-OGTN2KVG.js → chunk-AF2Z6VOG.js} +4 -14
- package/dist/bundle/{chunk-26TW5RZ6.js → chunk-DAYBU7WR.js} +61 -94
- package/dist/bundle/{chunk-2DK5BBFF.js → chunk-JD63PEI3.js} +3 -8
- package/dist/bundle/{chunk-H6A4NWYJ.js → chunk-L5ZYKXAY.js} +114 -128
- package/dist/bundle/{chunk-R6IA5UQB.js → chunk-W4TDCCT3.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/config-MP5YLHEY.js +29 -0
- package/dist/bundle/{folders-ROKVKSCT.js → folders-B2GKJOC2.js} +2 -7
- package/dist/bundle/{main-GCK3VYAA.js → main-YZPLPXB7.js} +19 -41
- package/dist/bundle/{output-file-RYIOIXMD.js → output-file-PKA7MJEP.js} +3 -11
- package/dist/bundle/{program-OYLVYA4Z.js → program-7JY6XJ6K.js} +642 -801
- 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-4F4YY4OI.js → zoom-app-EYJST6GF.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,335 +0,0 @@
|
|
|
1
|
-
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
-
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
filesPresent,
|
|
5
|
-
sharedModelsDirectory
|
|
6
|
-
} from "./chunk-BAFC7WNI.js";
|
|
7
|
-
import {
|
|
8
|
-
readSharedSection,
|
|
9
|
-
sharedConfigPath,
|
|
10
|
-
writeSharedSection
|
|
11
|
-
} from "./chunk-SHQAYUK6.js";
|
|
12
|
-
import {
|
|
13
|
-
storePath
|
|
14
|
-
} from "./chunk-FH2UFNH6.js";
|
|
15
|
-
import {
|
|
16
|
-
array,
|
|
17
|
-
check,
|
|
18
|
-
getDotPath,
|
|
19
|
-
integer,
|
|
20
|
-
maxLength,
|
|
21
|
-
maxValue,
|
|
22
|
-
minLength,
|
|
23
|
-
minValue,
|
|
24
|
-
number,
|
|
25
|
-
optional,
|
|
26
|
-
picklist,
|
|
27
|
-
pipe,
|
|
28
|
-
regex,
|
|
29
|
-
safeParse,
|
|
30
|
-
startsWith,
|
|
31
|
-
strictObject,
|
|
32
|
-
string,
|
|
33
|
-
trim,
|
|
34
|
-
url
|
|
35
|
-
} from "./chunk-ESN3W2MZ.js";
|
|
36
|
-
import {
|
|
37
|
-
CliError
|
|
38
|
-
} from "./chunk-IANKXHSE.js";
|
|
39
|
-
import {
|
|
40
|
-
__name
|
|
41
|
-
} from "./chunk-ZVVMGPBJ.js";
|
|
42
|
-
|
|
43
|
-
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/embeddings/models.js
|
|
44
|
-
import { existsSync } from "node:fs";
|
|
45
|
-
import { join } from "node:path";
|
|
46
|
-
var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/${repository}/resolve/${commit}/${name}`, "huggingFace");
|
|
47
|
-
var e5 = huggingFace("Xenova/multilingual-e5-small", "761b726dd34fb83930e26aab4e9ac3899aa1fa78");
|
|
48
|
-
var e5Large = huggingFace("Xenova/multilingual-e5-large", "00fc3aeb3dbb95842de2ac1961d33c6319acf57b");
|
|
49
|
-
var gemma = huggingFace("onnx-community/embeddinggemma-300m-ONNX", "5090578d9565bb06545b4552f76e6bc2c93e4a66");
|
|
50
|
-
var TEXT_MODELS = [
|
|
51
|
-
{
|
|
52
|
-
id: "e5-small",
|
|
53
|
-
title: "multilingual-e5-small, 8-bit",
|
|
54
|
-
size: "small",
|
|
55
|
-
languages: "about 100 languages, Russian and English among them",
|
|
56
|
-
licence: "MIT",
|
|
57
|
-
dims: 384,
|
|
58
|
-
maxTokens: 512,
|
|
59
|
-
// 100k-message corpus, one 8-thread session on Ryzen AI 9 HX 470: 31–32 chunks/s.
|
|
60
|
-
chunksPerSecond: 31,
|
|
61
|
-
pooling: "mean",
|
|
62
|
-
prefix: { query: "query: ", passage: "passage: " },
|
|
63
|
-
onnx: "onnx/model_quantized.onnx",
|
|
64
|
-
files: [
|
|
65
|
-
{
|
|
66
|
-
name: "onnx/model_quantized.onnx",
|
|
67
|
-
url: e5("onnx/model_quantized.onnx"),
|
|
68
|
-
sha256: "f80102d3f2a1229f387d3c81909990d8945513e347b0eab049f7de3c6f98c193",
|
|
69
|
-
bytes: 118308185
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
name: "tokenizer.json",
|
|
73
|
-
url: e5("tokenizer.json"),
|
|
74
|
-
sha256: "0b44a9d7b51c3c62626640cda0e2c2f70fdacdc25bbbd68038369d14ebdf4c39",
|
|
75
|
-
bytes: 17082730
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
name: "tokenizer_config.json",
|
|
79
|
-
url: e5("tokenizer_config.json"),
|
|
80
|
-
sha256: "a1d6bc8734a6f635dc158508bef000f8e2e5a759c7d92f984b2c86e5ff53425b",
|
|
81
|
-
bytes: 443
|
|
82
|
-
}
|
|
83
|
-
]
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
id: "embeddinggemma",
|
|
87
|
-
title: "EmbeddingGemma 300M, 4-bit",
|
|
88
|
-
size: "medium",
|
|
89
|
-
languages: "over 100 languages \u2014 the best of the two on chat, about seven times slower",
|
|
90
|
-
licence: "Gemma Terms of Use",
|
|
91
|
-
terms: "https://ai.google.dev/gemma/terms",
|
|
92
|
-
// Gemma Terms of Use §3.1: every copy carries this notice and the use restrictions of §3.2.
|
|
93
|
-
notice: "Gemma is provided under and subject to the Gemma Terms of Use found at ai.google.dev/gemma/terms. Its use is restricted by the Gemma Prohibited Use Policy: https://ai.google.dev/gemma/prohibited_use_policy",
|
|
94
|
-
dims: 768,
|
|
95
|
-
maxTokens: 2048,
|
|
96
|
-
// 2026-11-08, 1,200-character chunks, 8 threads on the Ryzen AI 9 HX 470: 8.3 chunks/s against e5-small's 52.7, so
|
|
97
|
-
// 5 on the scale e5-small's 31 sets. It was 2, which held a memo sync to 39 chunks.
|
|
98
|
-
chunksPerSecond: 5,
|
|
99
|
-
pooling: "sentence_embedding",
|
|
100
|
-
prefix: { query: "task: search result | query: ", passage: "title: none | text: " },
|
|
101
|
-
onnx: "onnx/model_q4.onnx",
|
|
102
|
-
externalData: "onnx/model_q4.onnx_data",
|
|
103
|
-
files: [
|
|
104
|
-
{
|
|
105
|
-
name: "onnx/model_q4.onnx",
|
|
106
|
-
url: gemma("onnx/model_q4.onnx"),
|
|
107
|
-
sha256: "ad1dfee81a70f7944b9b9d1cc6e48075b832881cf33fab2f2b248be78f3f0043",
|
|
108
|
-
bytes: 519322
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
name: "onnx/model_q4.onnx_data",
|
|
112
|
-
url: gemma("onnx/model_q4.onnx_data"),
|
|
113
|
-
sha256: "599962c3143b040de2dd05e5975be3e9091dd067cacc6a8f7186e3203bab9e02",
|
|
114
|
-
bytes: 196725760
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
name: "tokenizer.json",
|
|
118
|
-
url: gemma("tokenizer.json"),
|
|
119
|
-
sha256: "4dda02faaf32bc91031dc8c88457ac272b00c1016cc679757d1c441b248b9c47",
|
|
120
|
-
bytes: 20323312
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
name: "tokenizer_config.json",
|
|
124
|
-
url: gemma("tokenizer_config.json"),
|
|
125
|
-
sha256: "3ca953eea6c3c9fcda9cf3df22949ff18b216f7c74bd6459230f3f1013953f3a",
|
|
126
|
-
bytes: 1156830
|
|
127
|
-
}
|
|
128
|
-
]
|
|
129
|
-
},
|
|
130
|
-
{
|
|
131
|
-
id: "e5-large",
|
|
132
|
-
title: "multilingual-e5-large, 8-bit",
|
|
133
|
-
size: "large",
|
|
134
|
-
languages: "about 100 languages, Russian and English among them \u2014 reads better than e5-small, several times slower",
|
|
135
|
-
licence: "MIT",
|
|
136
|
-
dims: 1024,
|
|
137
|
-
maxTokens: 512,
|
|
138
|
-
// 2026-11-07, one 8-thread session on the Ryzen AI 9 HX 470 while other benchmarks ran: 3.4 chunks/s.
|
|
139
|
-
chunksPerSecond: 4,
|
|
140
|
-
pooling: "mean",
|
|
141
|
-
prefix: { query: "query: ", passage: "passage: " },
|
|
142
|
-
onnx: "onnx/model_quantized.onnx",
|
|
143
|
-
files: [
|
|
144
|
-
{
|
|
145
|
-
name: "onnx/model_quantized.onnx",
|
|
146
|
-
url: e5Large("onnx/model_quantized.onnx"),
|
|
147
|
-
sha256: "0a8d65db9a36f810ba5da15249f13145fcdc7890e6656f1fd38cd8b7c4db1fca",
|
|
148
|
-
bytes: 561768762
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
name: "tokenizer.json",
|
|
152
|
-
url: e5Large("tokenizer.json"),
|
|
153
|
-
sha256: "62c24cdc13d4c9952d63718d6c9fa4c287974249e16b7ade6d5a85e7bbb75626",
|
|
154
|
-
bytes: 17082660
|
|
155
|
-
},
|
|
156
|
-
{
|
|
157
|
-
name: "tokenizer_config.json",
|
|
158
|
-
url: e5Large("tokenizer_config.json"),
|
|
159
|
-
sha256: "efb5c0d09722e5fe59a462cd2a9976ee216d55b037597d997cd3fe833216da15",
|
|
160
|
-
bytes: 418
|
|
161
|
-
}
|
|
162
|
-
]
|
|
163
|
-
}
|
|
164
|
-
];
|
|
165
|
-
var DEFAULT_TEXT_MODEL = "embeddinggemma";
|
|
166
|
-
var PREVIOUS_DEFAULT_TEXT_MODEL = "e5-small";
|
|
167
|
-
var SECTION = "text_models";
|
|
168
|
-
var slug = pipe(string(), regex(/^[a-z0-9][a-z0-9._-]{0,62}$/, "is not a model id: a-z, 0-9, . _ -"));
|
|
169
|
-
var words = pipe(string(), trim(), minLength(1), maxLength(300));
|
|
170
|
-
var fileName = pipe(string(), check((name) => /^[\w.-]+(\/[\w.-]+)*$/.test(name) && !name.split("/").some((part) => part === ".." || part === "."), "is not a file inside the model's folder"));
|
|
171
|
-
var modelFile = strictObject({
|
|
172
|
-
name: fileName,
|
|
173
|
-
url: pipe(string(), url(), startsWith("https://", "has to be an https address")),
|
|
174
|
-
sha256: pipe(string(), regex(/^[0-9a-f]{64}$/, "has to be a sha256 in hex")),
|
|
175
|
-
bytes: pipe(number(), integer(), minValue(1))
|
|
176
|
-
});
|
|
177
|
-
var CustomTextModelShape = pipe(strictObject({
|
|
178
|
-
id: slug,
|
|
179
|
-
title: words,
|
|
180
|
-
languages: words,
|
|
181
|
-
licence: words,
|
|
182
|
-
terms: optional(pipe(string(), url())),
|
|
183
|
-
dims: pipe(number(), integer(), minValue(1), maxValue(8192)),
|
|
184
|
-
maxTokens: pipe(number(), integer(), minValue(16), maxValue(32768)),
|
|
185
|
-
chunksPerSecond: optional(pipe(number(), minValue(0.01))),
|
|
186
|
-
pooling: picklist(["mean", "sentence_embedding"]),
|
|
187
|
-
prefix: strictObject({
|
|
188
|
-
query: pipe(string(), maxLength(200)),
|
|
189
|
-
passage: pipe(string(), maxLength(200))
|
|
190
|
-
}),
|
|
191
|
-
onnx: fileName,
|
|
192
|
-
externalData: optional(fileName),
|
|
193
|
-
files: pipe(array(modelFile), minLength(1), maxLength(16))
|
|
194
|
-
}), check((model) => !TEXT_MODELS.some((one) => one.id === model.id), "takes the id of a model this version ships; choose another"), check((model) => {
|
|
195
|
-
const names = model.files.map(({ name }) => name);
|
|
196
|
-
return [model.onnx, model.externalData, "tokenizer.json", "tokenizer_config.json"].every((name) => name === void 0 || names.includes(name));
|
|
197
|
-
}, "has to list its onnx file, its external data and tokenizer.json and tokenizer_config.json among files"));
|
|
198
|
-
var TextModelsSection = strictObject({
|
|
199
|
-
use: optional(slug),
|
|
200
|
-
custom: optional(array(CustomTextModelShape))
|
|
201
|
-
});
|
|
202
|
-
var textModelsFile = /* @__PURE__ */ __name((env = process.env) => sharedConfigPath(storePath(env), env), "textModelsFile");
|
|
203
|
-
var readTextModelsSection = /* @__PURE__ */ __name((env = process.env) => {
|
|
204
|
-
const path = textModelsFile(env);
|
|
205
|
-
const section = readSharedSection(path, SECTION);
|
|
206
|
-
if (section === void 0)
|
|
207
|
-
return {};
|
|
208
|
-
const checked = safeParse(TextModelsSection, section);
|
|
209
|
-
if (!checked.success) {
|
|
210
|
-
const issue = checked.issues[0];
|
|
211
|
-
const at = issue ? getDotPath(issue) : null;
|
|
212
|
-
throw new CliError("configuration_error", `${path}: ${SECTION}${at ? `.${at}` : ""} ${issue?.message ?? "is not valid"}`);
|
|
213
|
-
}
|
|
214
|
-
const ids = checked.output.custom?.map(({ id }) => id) ?? [];
|
|
215
|
-
const twice = ids.find((id, at) => ids.indexOf(id) !== at);
|
|
216
|
-
if (twice)
|
|
217
|
-
throw new CliError("configuration_error", `${path}: ${SECTION}.custom names ${twice} twice`);
|
|
218
|
-
return checked.output;
|
|
219
|
-
}, "readTextModelsSection");
|
|
220
|
-
var writeTextModelsSection = /* @__PURE__ */ __name((section, env = process.env) => writeSharedSection(textModelsFile(env), SECTION, section.use === void 0 && !section.custom?.length ? void 0 : section), "writeTextModelsSection");
|
|
221
|
-
var textModels = /* @__PURE__ */ __name((env = process.env) => [
|
|
222
|
-
...TEXT_MODELS,
|
|
223
|
-
...(readTextModelsSection(env).custom ?? []).map((model) => ({ ...model, custom: true }))
|
|
224
|
-
], "textModels");
|
|
225
|
-
var textModel = /* @__PURE__ */ __name((id, env = process.env) => {
|
|
226
|
-
const known = textModels(env);
|
|
227
|
-
const found = known.find((model) => model.id === id);
|
|
228
|
-
if (!found) {
|
|
229
|
-
throw new CliError("validation_error", `no text model ${id} \u2014 one of: ${known.map((model) => model.id).join(", ")}`);
|
|
230
|
-
}
|
|
231
|
-
return found;
|
|
232
|
-
}, "textModel");
|
|
233
|
-
var downloaded = /* @__PURE__ */ __name((id, env) => {
|
|
234
|
-
const model = TEXT_MODELS.find((one) => one.id === id);
|
|
235
|
-
const directory = sharedModelsDirectory("text", env);
|
|
236
|
-
return model !== void 0 && filesPresent(model.files.map((file) => [file, join(directory, model.id, file.name)]));
|
|
237
|
-
}, "downloaded");
|
|
238
|
-
var chosenTextModel = /* @__PURE__ */ __name((env = process.env) => {
|
|
239
|
-
const use = readTextModelsSection(env).use;
|
|
240
|
-
if (use !== void 0)
|
|
241
|
-
return { id: use, from: "chosen" };
|
|
242
|
-
const kept = !downloaded(DEFAULT_TEXT_MODEL, env) && existsSync(join(sharedModelsDirectory("text", env), PREVIOUS_DEFAULT_TEXT_MODEL));
|
|
243
|
-
return { id: kept ? PREVIOUS_DEFAULT_TEXT_MODEL : DEFAULT_TEXT_MODEL, from: "default" };
|
|
244
|
-
}, "chosenTextModel");
|
|
245
|
-
var mmarco = huggingFace("cross-encoder/mmarco-mMiniLMv2-L12-H384-v1", "1427fd652930e4ba29e8149678df786c240d8825");
|
|
246
|
-
var bge = huggingFace("onnx-community/bge-reranker-v2-m3-ONNX", "6f5ff65298512715a1e669753bc754d2bc8f367b");
|
|
247
|
-
var RERANK_MODELS = [
|
|
248
|
-
{
|
|
249
|
-
id: "mmarco",
|
|
250
|
-
title: "mMARCO mMiniLMv2-L12 cross-encoder, 8-bit",
|
|
251
|
-
languages: "about 100 languages, Russian and English among them",
|
|
252
|
-
licence: "Apache-2.0",
|
|
253
|
-
maxTokens: 512,
|
|
254
|
-
// The x86 name is the quantizer's target; WebAssembly and native ONNX Runtime both run it on any processor.
|
|
255
|
-
onnx: "onnx/model_quint8_avx2.onnx",
|
|
256
|
-
files: [
|
|
257
|
-
{
|
|
258
|
-
name: "onnx/model_quint8_avx2.onnx",
|
|
259
|
-
url: mmarco("onnx/model_quint8_avx2.onnx"),
|
|
260
|
-
sha256: "6c2513767fb63d008a4377bef7a7a3555433d9436342bb53e35a3a72ffc52d4b",
|
|
261
|
-
bytes: 118620016
|
|
262
|
-
},
|
|
263
|
-
{
|
|
264
|
-
name: "tokenizer.json",
|
|
265
|
-
url: mmarco("tokenizer.json"),
|
|
266
|
-
sha256: "62c24cdc13d4c9952d63718d6c9fa4c287974249e16b7ade6d5a85e7bbb75626",
|
|
267
|
-
bytes: 17082660
|
|
268
|
-
},
|
|
269
|
-
{
|
|
270
|
-
name: "tokenizer_config.json",
|
|
271
|
-
url: mmarco("tokenizer_config.json"),
|
|
272
|
-
sha256: "e7fbfbfa6347b4e414c1cee50d142e2c2f9a895dad68b068ae83a8b564c3837e",
|
|
273
|
-
bytes: 435
|
|
274
|
-
}
|
|
275
|
-
]
|
|
276
|
-
},
|
|
277
|
-
{
|
|
278
|
-
id: "bge-reranker-v2-m3",
|
|
279
|
-
title: "BGE reranker v2 m3, 8-bit",
|
|
280
|
-
languages: "over 100 languages \u2014 better than mmarco in the benchmark, about seven times slower",
|
|
281
|
-
licence: "Apache-2.0 (BAAI's; the ONNX export declares none)",
|
|
282
|
-
maxTokens: 512,
|
|
283
|
-
onnx: "onnx/model_quantized.onnx",
|
|
284
|
-
files: [
|
|
285
|
-
{
|
|
286
|
-
name: "onnx/model_quantized.onnx",
|
|
287
|
-
url: bge("onnx/model_quantized.onnx"),
|
|
288
|
-
sha256: "912fc1215c2dbff6499700534bd8d31253af01573861abbfc43afd1fab6cce5d",
|
|
289
|
-
bytes: 570727094
|
|
290
|
-
},
|
|
291
|
-
{
|
|
292
|
-
name: "tokenizer.json",
|
|
293
|
-
url: bge("tokenizer.json"),
|
|
294
|
-
sha256: "8bf8afbfd11306bd872018c53bfdf2e160a56f8edbcf49933324404791c148d3",
|
|
295
|
-
bytes: 17082900
|
|
296
|
-
},
|
|
297
|
-
{
|
|
298
|
-
name: "tokenizer_config.json",
|
|
299
|
-
url: bge("tokenizer_config.json"),
|
|
300
|
-
sha256: "b87c8703482b0300d3da30e201519aa641f6a450f5eb5bf1e624afbf70c74d80",
|
|
301
|
-
bytes: 1203
|
|
302
|
-
}
|
|
303
|
-
]
|
|
304
|
-
}
|
|
305
|
-
];
|
|
306
|
-
var DEFAULT_RERANK_MODEL = "mmarco";
|
|
307
|
-
var rerankModel = /* @__PURE__ */ __name((id) => {
|
|
308
|
-
const found = RERANK_MODELS.find((model) => model.id === id);
|
|
309
|
-
if (!found) {
|
|
310
|
-
throw new CliError("validation_error", `no reranker ${id} \u2014 one of: ${RERANK_MODELS.map((model) => model.id).join(", ")}`);
|
|
311
|
-
}
|
|
312
|
-
return found;
|
|
313
|
-
}, "rerankModel");
|
|
314
|
-
var vectorModelKey = /* @__PURE__ */ __name((model) => {
|
|
315
|
-
const weights = model.custom ? model.files.find(({ name }) => name === model.onnx)?.sha256.slice(0, 12) : void 0;
|
|
316
|
-
return `local:${model.id}${weights ? `@${weights}` : ""}:${model.dims}`;
|
|
317
|
-
}, "vectorModelKey");
|
|
318
|
-
var meaningFloor = /* @__PURE__ */ __name((key) => key === "local:e5-small:384" ? 0.8 : 0, "meaningFloor");
|
|
319
|
-
|
|
320
|
-
export {
|
|
321
|
-
DEFAULT_TEXT_MODEL,
|
|
322
|
-
PREVIOUS_DEFAULT_TEXT_MODEL,
|
|
323
|
-
CustomTextModelShape,
|
|
324
|
-
textModelsFile,
|
|
325
|
-
readTextModelsSection,
|
|
326
|
-
writeTextModelsSection,
|
|
327
|
-
textModels,
|
|
328
|
-
textModel,
|
|
329
|
-
chosenTextModel,
|
|
330
|
-
RERANK_MODELS,
|
|
331
|
-
DEFAULT_RERANK_MODEL,
|
|
332
|
-
rerankModel,
|
|
333
|
-
vectorModelKey,
|
|
334
|
-
meaningFloor
|
|
335
|
-
};
|
|
@@ -1,230 +0,0 @@
|
|
|
1
|
-
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
-
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
importFrom
|
|
5
|
-
} from "./chunk-Y5E2WNWB.js";
|
|
6
|
-
import {
|
|
7
|
-
CliError
|
|
8
|
-
} from "./chunk-IANKXHSE.js";
|
|
9
|
-
import {
|
|
10
|
-
__name
|
|
11
|
-
} from "./chunk-ZVVMGPBJ.js";
|
|
12
|
-
|
|
13
|
-
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/speech/recognize.js
|
|
14
|
-
import { createRequire } from "node:module";
|
|
15
|
-
|
|
16
|
-
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/speech/ogg-limit.js
|
|
17
|
-
var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "local transcription needs a complete mono or stereo Ogg Opus recording"), "invalid");
|
|
18
|
-
var checkOggDuration = /* @__PURE__ */ __name((bytes) => {
|
|
19
|
-
const view = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength);
|
|
20
|
-
let offset = 0;
|
|
21
|
-
let serial;
|
|
22
|
-
let packet = 0;
|
|
23
|
-
let length = 0;
|
|
24
|
-
const prefix = [];
|
|
25
|
-
while (offset < bytes.length) {
|
|
26
|
-
if (offset + 27 > bytes.length || view.getUint32(offset, false) !== 1332176723 || bytes[offset + 4] !== 0)
|
|
27
|
-
throw invalid();
|
|
28
|
-
const stream = view.getUint32(offset + 14, true);
|
|
29
|
-
if (serial !== void 0 && serial !== stream)
|
|
30
|
-
throw invalid();
|
|
31
|
-
serial = stream;
|
|
32
|
-
const segments = bytes[offset + 26] ?? 0;
|
|
33
|
-
let data = offset + 27 + segments;
|
|
34
|
-
if (data > bytes.length || Boolean((bytes[offset + 5] ?? 0) & 1) !== length > 0)
|
|
35
|
-
throw invalid();
|
|
36
|
-
for (let index = 0; index < segments; index++) {
|
|
37
|
-
const size = bytes[offset + 27 + index] ?? 0;
|
|
38
|
-
if (data + size > bytes.length)
|
|
39
|
-
throw invalid();
|
|
40
|
-
const take = Math.min(size, 19 - prefix.length);
|
|
41
|
-
for (let i = 0; i < take; i++)
|
|
42
|
-
prefix.push(bytes[data + i] ?? 0);
|
|
43
|
-
length += size;
|
|
44
|
-
data += size;
|
|
45
|
-
if (size === 255)
|
|
46
|
-
continue;
|
|
47
|
-
if (packet === 0) {
|
|
48
|
-
if (length < 19 || String.fromCharCode(...prefix.slice(0, 8)) !== "OpusHead" || ![1, 2].includes(prefix[9] ?? 0) || prefix[18] !== 0)
|
|
49
|
-
throw invalid();
|
|
50
|
-
} else if (packet === 1) {
|
|
51
|
-
if (length < 8 || String.fromCharCode(...prefix.slice(0, 8)) !== "OpusTags")
|
|
52
|
-
throw invalid();
|
|
53
|
-
} else {
|
|
54
|
-
if (length < 1)
|
|
55
|
-
throw invalid();
|
|
56
|
-
const toc = prefix[0] ?? 0;
|
|
57
|
-
const config = toc >> 3;
|
|
58
|
-
const frame = config >= 16 ? 120 << (config & 3) : config >= 12 ? 480 << (config & 1) : (config & 3) === 3 ? 2880 : 480 << (config & 3);
|
|
59
|
-
const count = (toc & 3) === 0 ? 1 : (toc & 3) === 3 ? length >= 2 ? (prefix[1] ?? 0) & 63 : 0 : 2;
|
|
60
|
-
if (count < 1 || frame * count > 5760)
|
|
61
|
-
throw invalid();
|
|
62
|
-
}
|
|
63
|
-
packet++;
|
|
64
|
-
length = 0;
|
|
65
|
-
prefix.length = 0;
|
|
66
|
-
}
|
|
67
|
-
offset = data;
|
|
68
|
-
}
|
|
69
|
-
if (length !== 0 || packet < 3)
|
|
70
|
-
throw invalid();
|
|
71
|
-
}, "checkOggDuration");
|
|
72
|
-
|
|
73
|
-
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/speech/recognize.js
|
|
74
|
-
var SAMPLE_RATE = 16e3;
|
|
75
|
-
var LEAD = SAMPLE_RATE / 2;
|
|
76
|
-
var toModelRate = /* @__PURE__ */ __name((samples, rate) => {
|
|
77
|
-
const step = rate / SAMPLE_RATE;
|
|
78
|
-
const length = Math.floor(samples.length / step);
|
|
79
|
-
const pcm = new Float32Array(LEAD + length);
|
|
80
|
-
for (let i = 0; i < length; i++) {
|
|
81
|
-
const from = Math.floor(i * step);
|
|
82
|
-
const to = Math.max(from + 1, Math.floor((i + 1) * step));
|
|
83
|
-
let sum = 0;
|
|
84
|
-
for (let j = from; j < to; j++)
|
|
85
|
-
sum += samples[j] ?? 0;
|
|
86
|
-
pcm[LEAD + i] = sum / (to - from);
|
|
87
|
-
}
|
|
88
|
-
return pcm;
|
|
89
|
-
}, "toModelRate");
|
|
90
|
-
var decodeOgg = /* @__PURE__ */ __name(async (bytes) => {
|
|
91
|
-
checkOggDuration(bytes);
|
|
92
|
-
const { OggOpusDecoder } = await importFrom(new URL("speech/recognize.js", import.meta.resolve("@wirecat/cli-core")).href, "ogg-opus-decoder");
|
|
93
|
-
const decoder = new OggOpusDecoder();
|
|
94
|
-
await decoder.ready;
|
|
95
|
-
try {
|
|
96
|
-
const { channelData, sampleRate, samplesDecoded } = await decoder.decodeFile(bytes);
|
|
97
|
-
if (!channelData[0] || samplesDecoded === 0)
|
|
98
|
-
throw new Error("no Ogg Opus audio in it");
|
|
99
|
-
return channelData.map((samples) => ({ samples, rate: sampleRate }));
|
|
100
|
-
} finally {
|
|
101
|
-
decoder.free();
|
|
102
|
-
}
|
|
103
|
-
}, "decodeOgg");
|
|
104
|
-
var WINDOW = 512;
|
|
105
|
-
var detector = /* @__PURE__ */ __name((vadModel) => ({
|
|
106
|
-
sileroVad: {
|
|
107
|
-
model: vadModel,
|
|
108
|
-
// At the default 0.5 a quietly spoken stretch in the middle of a voice message never counted as
|
|
109
|
-
// speech and was lost; 0.3 keeps it for both models and changes nothing on clear speech (126508, 2026-09-30).
|
|
110
|
-
threshold: 0.3,
|
|
111
|
-
minSilenceDuration: 0.5,
|
|
112
|
-
minSpeechDuration: 0.25,
|
|
113
|
-
maxSpeechDuration: 20,
|
|
114
|
-
windowSize: WINDOW
|
|
115
|
-
},
|
|
116
|
-
sampleRate: SAMPLE_RATE,
|
|
117
|
-
numThreads: 1,
|
|
118
|
-
provider: "cpu",
|
|
119
|
-
debug: 0,
|
|
120
|
-
bufferSizeInSeconds: 30
|
|
121
|
-
}), "detector");
|
|
122
|
-
var cut = /* @__PURE__ */ __name((vad, pcm, each) => {
|
|
123
|
-
vad.reset();
|
|
124
|
-
const last = Math.max(0, pcm.length - LEAD);
|
|
125
|
-
const drain = /* @__PURE__ */ __name(() => {
|
|
126
|
-
for (; !vad.isEmpty(); vad.pop()) {
|
|
127
|
-
const { start, samples } = vad.front();
|
|
128
|
-
each({
|
|
129
|
-
start: Math.min(last, Math.max(0, start - LEAD)) / SAMPLE_RATE,
|
|
130
|
-
end: Math.min(last, Math.max(0, start + samples.length - LEAD)) / SAMPLE_RATE,
|
|
131
|
-
samples
|
|
132
|
-
});
|
|
133
|
-
}
|
|
134
|
-
}, "drain");
|
|
135
|
-
for (let i = 0; i + WINDOW <= pcm.length; i += WINDOW) {
|
|
136
|
-
vad.acceptWaveform(pcm.subarray(i, i + WINDOW));
|
|
137
|
-
drain();
|
|
138
|
-
}
|
|
139
|
-
vad.flush();
|
|
140
|
-
drain();
|
|
141
|
-
}, "cut");
|
|
142
|
-
var openSpeechCutter = /* @__PURE__ */ __name((vadModel) => {
|
|
143
|
-
const vad = loadSherpa().createVad(detector(vadModel));
|
|
144
|
-
return {
|
|
145
|
-
cut: /* @__PURE__ */ __name((pcm) => {
|
|
146
|
-
const spans = [];
|
|
147
|
-
cut(vad, pcm, ({ start, end }) => spans.push({ start, end }));
|
|
148
|
-
return spans;
|
|
149
|
-
}, "cut"),
|
|
150
|
-
free: /* @__PURE__ */ __name(() => vad.free(), "free")
|
|
151
|
-
};
|
|
152
|
-
}, "openSpeechCutter");
|
|
153
|
-
var loaded;
|
|
154
|
-
var loadSherpa = /* @__PURE__ */ __name(() => {
|
|
155
|
-
if (loaded)
|
|
156
|
-
return loaded;
|
|
157
|
-
const load = createRequire(new URL("speech/recognize.js", import.meta.resolve("@wirecat/cli-core")).href);
|
|
158
|
-
const wasm = {};
|
|
159
|
-
load("sherpa-onnx/sherpa-onnx-wasm-nodejs.js")(wasm);
|
|
160
|
-
const stdout = wasm.FS?.getStream(1);
|
|
161
|
-
if (stdout)
|
|
162
|
-
stdout.nfd = 2;
|
|
163
|
-
const asr = load("sherpa-onnx/sherpa-onnx-asr.js");
|
|
164
|
-
const vad = load("sherpa-onnx/sherpa-onnx-vad.js");
|
|
165
|
-
loaded = {
|
|
166
|
-
createOfflineRecognizer: /* @__PURE__ */ __name((config) => new asr.OfflineRecognizer(config, wasm), "createOfflineRecognizer"),
|
|
167
|
-
createVad: /* @__PURE__ */ __name((config) => vad.createVad(wasm, config), "createVad")
|
|
168
|
-
};
|
|
169
|
-
return loaded;
|
|
170
|
-
}, "loadSherpa");
|
|
171
|
-
var openRecognizer = /* @__PURE__ */ __name((model, path, vadModel) => {
|
|
172
|
-
const sherpa = loadSherpa();
|
|
173
|
-
const engine = sherpa.createOfflineRecognizer({
|
|
174
|
-
featConfig: { sampleRate: SAMPLE_RATE, featureDim: model.featureDim },
|
|
175
|
-
modelConfig: { ...model.config(path), numThreads: 1, provider: "cpu", debug: 0 },
|
|
176
|
-
decodingMethod: "greedy_search"
|
|
177
|
-
});
|
|
178
|
-
const vad = sherpa.createVad(detector(vadModel));
|
|
179
|
-
const piece = /* @__PURE__ */ __name((samples) => {
|
|
180
|
-
const stream = engine.createStream();
|
|
181
|
-
try {
|
|
182
|
-
stream.acceptWaveform(SAMPLE_RATE, samples);
|
|
183
|
-
engine.decode(stream);
|
|
184
|
-
return engine.getResult(stream).text.trim();
|
|
185
|
-
} finally {
|
|
186
|
-
stream.free();
|
|
187
|
-
}
|
|
188
|
-
}, "piece");
|
|
189
|
-
const pieces = /* @__PURE__ */ __name((pcm) => {
|
|
190
|
-
const heard = [];
|
|
191
|
-
cut(vad, pcm, ({ start, end, samples }) => {
|
|
192
|
-
const text = piece(samples);
|
|
193
|
-
if (text)
|
|
194
|
-
heard.push({ start, end, text });
|
|
195
|
-
});
|
|
196
|
-
return heard;
|
|
197
|
-
}, "pieces");
|
|
198
|
-
const piecesUntil = /* @__PURE__ */ __name(async (pcm, signal) => {
|
|
199
|
-
const spans = [];
|
|
200
|
-
cut(vad, pcm, (span) => spans.push(span));
|
|
201
|
-
const heard = [];
|
|
202
|
-
for (const { start, end, samples } of spans) {
|
|
203
|
-
await new Promise((resolve) => setImmediate(resolve));
|
|
204
|
-
signal.throwIfAborted();
|
|
205
|
-
const text = piece(samples);
|
|
206
|
-
if (text)
|
|
207
|
-
heard.push({ start, end, text });
|
|
208
|
-
}
|
|
209
|
-
return heard;
|
|
210
|
-
}, "piecesUntil");
|
|
211
|
-
return {
|
|
212
|
-
recognize: /* @__PURE__ */ __name((pcm) => pieces(pcm).map(({ text }) => text).join(" "), "recognize"),
|
|
213
|
-
pieces,
|
|
214
|
-
piecesUntil,
|
|
215
|
-
free: /* @__PURE__ */ __name(() => {
|
|
216
|
-
vad.free();
|
|
217
|
-
engine.free();
|
|
218
|
-
}, "free")
|
|
219
|
-
};
|
|
220
|
-
}, "openRecognizer");
|
|
221
|
-
|
|
222
|
-
export {
|
|
223
|
-
SAMPLE_RATE,
|
|
224
|
-
toModelRate,
|
|
225
|
-
decodeOgg,
|
|
226
|
-
detector,
|
|
227
|
-
openSpeechCutter,
|
|
228
|
-
loadSherpa,
|
|
229
|
-
openRecognizer
|
|
230
|
-
};
|