@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,34 +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-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/sanitize.js
|
|
8
|
-
var CONTROL = (
|
|
9
|
-
// biome-ignore lint/suspicious/noControlCharactersInRegex: matching them is the whole point
|
|
10
|
-
/[\u0000-\u0008\u000B-\u001F\u007F-\u009F\u200B\u200E\u200F\u202A-\u202E\u2066-\u2069\uFEFF\u{E0000}-\u{E007F}]/gu
|
|
11
|
-
);
|
|
12
|
-
var SUBDIVISION_FLAG = /\u{1F3F4}[\u{E0061}-\u{E007A}]{2}[\u{E0030}-\u{E0039}\u{E0061}-\u{E007A}]{1,3}\u{E007F}/gu;
|
|
13
|
-
var LINE_BREAKS = /[\t\n\u2028\u2029]/g;
|
|
14
|
-
var escaped = /* @__PURE__ */ __name((c) => {
|
|
15
|
-
const code = c.codePointAt(0) ?? 0;
|
|
16
|
-
if (code > 65535)
|
|
17
|
-
return `\\u{${code.toString(16)}}`;
|
|
18
|
-
return code > 255 ? `\\u${code.toString(16).padStart(4, "0")}` : `\\x${code.toString(16).padStart(2, "0")}`;
|
|
19
|
-
}, "escaped");
|
|
20
|
-
var visibleControls = /* @__PURE__ */ __name((text) => {
|
|
21
|
-
let at = 0;
|
|
22
|
-
let result = "";
|
|
23
|
-
for (const flag of text.matchAll(SUBDIVISION_FLAG)) {
|
|
24
|
-
result += text.slice(at, flag.index).replace(CONTROL, escaped) + flag[0];
|
|
25
|
-
at = flag.index + flag[0].length;
|
|
26
|
-
}
|
|
27
|
-
return result + text.slice(at).replace(CONTROL, escaped);
|
|
28
|
-
}, "visibleControls");
|
|
29
|
-
var singleLine = /* @__PURE__ */ __name((text) => visibleControls(text).replace(LINE_BREAKS, escaped), "singleLine");
|
|
30
|
-
|
|
31
|
-
export {
|
|
32
|
-
visibleControls,
|
|
33
|
-
singleLine
|
|
34
|
-
};
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
-
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
changesMessenger
|
|
5
|
-
} from "./chunk-V5EJSF2B.js";
|
|
6
|
-
import {
|
|
7
|
-
AUTHORITY_KEY,
|
|
8
|
-
BOT_API_KEY,
|
|
9
|
-
authorityAllowed,
|
|
10
|
-
botApiAllowed,
|
|
11
|
-
isBotApi,
|
|
12
|
-
keyForCommand,
|
|
13
|
-
levelFor,
|
|
14
|
-
readKeysForCommand
|
|
15
|
-
} from "./chunk-KJ6USQDZ.js";
|
|
16
|
-
import {
|
|
17
|
-
writes
|
|
18
|
-
} from "./chunk-ESN3W2MZ.js";
|
|
19
|
-
import {
|
|
20
|
-
__name
|
|
21
|
-
} from "./chunk-ZVVMGPBJ.js";
|
|
22
|
-
|
|
23
|
-
// 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/cli/command-availability.js
|
|
24
|
-
var commandAvailability = /* @__PURE__ */ __name((info, levels, keyOf, authority, readOnly = false, mcp = true, declared, fetches) => {
|
|
25
|
-
const declaredKey = declared?.keyOf(info.path);
|
|
26
|
-
const key = declared ? declaredKey : keyOf?.(info.path) ?? keyForCommand(info.path);
|
|
27
|
-
const { level } = key ? levelFor(levels, key, declared?.defaults) : { level: "allow" };
|
|
28
|
-
const judged = { ...key ? { permission: key } : {}, level };
|
|
29
|
-
const blocked = /* @__PURE__ */ __name((reason, permission) => ({
|
|
30
|
-
available: false,
|
|
31
|
-
reason,
|
|
32
|
-
...judged,
|
|
33
|
-
...permission && permission !== judged.permission ? { permission, level: levelFor(levels, permission).level } : {}
|
|
34
|
-
}), "blocked");
|
|
35
|
-
const declaredChange = Boolean(declaredKey) && (info.effects === void 0 || info.effects.remote === "write");
|
|
36
|
-
if (readOnly && (changesMessenger(info) || declaredChange || authority?.(info.path)))
|
|
37
|
-
return blocked("the read-only lock blocks this change");
|
|
38
|
-
if (mcp && authority?.(info.path) && !authorityAllowed(levels))
|
|
39
|
-
return blocked(`the profile keeps ${AUTHORITY_KEY} off`, AUTHORITY_KEY);
|
|
40
|
-
if (mcp && isBotApi(info.path) && !botApiAllowed(levels))
|
|
41
|
-
return blocked(`the profile requires ${BOT_API_KEY}: allow`, BOT_API_KEY);
|
|
42
|
-
if (level === "deny")
|
|
43
|
-
return blocked(`the profile denies ${key}`);
|
|
44
|
-
if (level === "readonly" && writes(info.effects) && fetches?.(info.path) !== true)
|
|
45
|
-
return blocked(`${key} is readonly in this profile`);
|
|
46
|
-
const denied = (declared ? [] : readKeysForCommand(info.path)).find((read) => levelFor(levels, read).level === "deny");
|
|
47
|
-
return denied ? blocked(`the profile denies ${denied}`, denied) : { available: true, ...judged };
|
|
48
|
-
}, "commandAvailability");
|
|
49
|
-
|
|
50
|
-
export {
|
|
51
|
-
commandAvailability
|
|
52
|
-
};
|
|
@@ -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-4HLQ2JGK.js";
|
|
7
|
-
import {
|
|
8
|
-
readSharedSection,
|
|
9
|
-
sharedConfigPath,
|
|
10
|
-
writeSharedSection
|
|
11
|
-
} from "./chunk-E745WZKY.js";
|
|
12
|
-
import {
|
|
13
|
-
storePath
|
|
14
|
-
} from "./chunk-274SLQNW.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@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/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
|
-
};
|