@wirecat/zoom-cli 0.82.0 → 0.84.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -12
- package/contracts/wirecat.json +88 -55
- package/dist/account-removal.d.ts +1 -1
- package/dist/account-removal.d.ts.map +1 -1
- package/dist/account-removal.js +1 -1
- package/dist/account-removal.js.map +1 -1
- package/dist/agent-skill.js +1 -1
- package/dist/agent-skill.js.map +1 -1
- package/dist/answer-entities.d.ts +1 -1
- package/dist/answer-entities.d.ts.map +1 -1
- package/dist/answer-entities.js +1 -1
- package/dist/answer-entities.js.map +1 -1
- package/dist/answer-output.d.ts +2 -2
- package/dist/answer-output.d.ts.map +1 -1
- package/dist/answer-output.js +1 -1
- package/dist/answer-output.js.map +1 -1
- package/dist/answer-policy.d.ts.map +1 -1
- package/dist/answer-policy.js +1 -2
- package/dist/answer-policy.js.map +1 -1
- package/dist/answers.js +1 -1
- package/dist/answers.js.map +1 -1
- package/dist/api.d.ts +2 -2
- package/dist/api.d.ts.map +1 -1
- package/dist/api.js +2 -2
- package/dist/api.js.map +1 -1
- package/dist/archive-commands.d.ts +1 -1
- package/dist/archive-commands.d.ts.map +1 -1
- package/dist/archive-commands.js +1 -2
- package/dist/archive-commands.js.map +1 -1
- package/dist/archive-import.d.ts +1 -1
- package/dist/archive-import.d.ts.map +1 -1
- package/dist/archive-import.js +1 -1
- package/dist/archive-import.js.map +1 -1
- package/dist/archive-transcripts.d.ts +1 -1
- package/dist/archive-transcripts.d.ts.map +1 -1
- package/dist/archive-transcripts.js +1 -2
- package/dist/archive-transcripts.js.map +1 -1
- package/dist/bin/main.js +4 -17
- package/dist/bin/main.js.map +1 -1
- package/dist/bin/zm.js +11 -11
- package/dist/bundle/answer-policy-OQQWAUHH.js +33 -0
- package/dist/bundle/chunk-3YDF76DP.js +922 -0
- package/dist/bundle/chunk-AEWYRB6F.js +8 -0
- package/dist/bundle/chunk-AF2Z6VOG.js +137 -0
- package/dist/bundle/{chunk-MAJJ4PG3.js → chunk-DAYBU7WR.js} +79 -396
- package/dist/bundle/{chunk-XQQVMECZ.js → chunk-JD63PEI3.js} +3 -8
- package/dist/bundle/{chunk-UL2PXLKT.js → chunk-L5ZYKXAY.js} +392 -129
- package/dist/bundle/{chunk-2SWKQ7C4.js → chunk-W4TDCCT3.js} +8 -2
- package/dist/bundle/{chunk-AC6VJNMJ.js → chunk-W6YFWJDR.js} +2 -5
- package/dist/bundle/{chunk-434YFJAE.js → chunk-WSGD5Q6L.js} +3 -9
- package/dist/bundle/config-MP5YLHEY.js +29 -0
- package/dist/bundle/{folders-LXOL4N4S.js → folders-B2GKJOC2.js} +2 -7
- package/dist/bundle/{main-YAA7WQ23.js → main-YZPLPXB7.js} +21 -53
- package/dist/bundle/{output-file-2UB5JP3R.js → output-file-PKA7MJEP.js} +3 -11
- package/dist/bundle/{program-GVCGZP27.js → program-7JY6XJ6K.js} +714 -935
- package/dist/bundle/run-log-ML7ZCWXD.js +54 -0
- package/dist/bundle/store-connection-LQGKS3DN.js +21 -0
- package/dist/bundle/streaming-PRGWGNHY.js +12 -0
- package/dist/bundle/tokens-57RJVBK6.js +18 -0
- package/dist/bundle/zm.js +4 -161
- package/dist/bundle/{zoom-app-YWFB367P.js → zoom-app-EYJST6GF.js} +4 -10
- package/dist/chat-file.d.ts +1 -1
- package/dist/chat-file.d.ts.map +1 -1
- package/dist/commands.d.ts +1 -8
- package/dist/commands.d.ts.map +1 -1
- package/dist/commands.js +3 -33
- package/dist/commands.js.map +1 -1
- package/dist/config-issues.d.ts +1 -1
- package/dist/config-issues.d.ts.map +1 -1
- package/dist/config-issues.js +1 -1
- package/dist/config-issues.js.map +1 -1
- package/dist/config.d.ts +1 -2
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +1 -2
- package/dist/config.js.map +1 -1
- package/dist/contacts-commands.d.ts +1 -1
- package/dist/contacts-commands.d.ts.map +1 -1
- package/dist/contacts-commands.js +1 -1
- package/dist/contacts-commands.js.map +1 -1
- package/dist/contract-overrides.js +1 -1
- package/dist/contract-overrides.js.map +1 -1
- package/dist/errors.d.ts +1 -1
- package/dist/errors.d.ts.map +1 -1
- package/dist/execution.d.ts +1 -1
- package/dist/execution.d.ts.map +1 -1
- package/dist/execution.js +1 -1
- package/dist/execution.js.map +1 -1
- package/dist/files.d.ts +2 -2
- package/dist/files.d.ts.map +1 -1
- package/dist/files.js +1 -1
- package/dist/files.js.map +1 -1
- package/dist/first-screen.js +1 -1
- package/dist/first-screen.js.map +1 -1
- package/dist/identity.d.ts +1 -1
- package/dist/identity.d.ts.map +1 -1
- package/dist/identity.js +6 -0
- package/dist/identity.js.map +1 -1
- package/dist/index.d.ts +1 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -2
- package/dist/index.js.map +1 -1
- package/dist/ingestion-search-commands.d.ts +1 -1
- package/dist/ingestion-search-commands.d.ts.map +1 -1
- package/dist/ingestion-search-commands.js +1 -1
- package/dist/ingestion-search-commands.js.map +1 -1
- package/dist/local-transcription-commands.d.ts +1 -1
- package/dist/local-transcription-commands.d.ts.map +1 -1
- package/dist/local-transcription-commands.js +1 -2
- package/dist/local-transcription-commands.js.map +1 -1
- package/dist/local-transcription.d.ts +1 -2
- package/dist/local-transcription.d.ts.map +1 -1
- package/dist/local-transcription.js +3 -3
- package/dist/local-transcription.js.map +1 -1
- package/dist/meeting-commands.d.ts +1 -1
- package/dist/meeting-commands.d.ts.map +1 -1
- package/dist/meeting-commands.js +1 -2
- package/dist/meeting-commands.js.map +1 -1
- package/dist/meeting-communications-binding.d.ts +1 -2
- package/dist/meeting-communications-binding.d.ts.map +1 -1
- package/dist/meeting-communications-binding.js.map +1 -1
- package/dist/meeting-context-commands.d.ts +1 -1
- package/dist/meeting-context-commands.d.ts.map +1 -1
- package/dist/meeting-context-commands.js +1 -1
- package/dist/meeting-context-commands.js.map +1 -1
- package/dist/meeting-context.d.ts +2 -4
- package/dist/meeting-context.d.ts.map +1 -1
- package/dist/meeting-context.js +1 -1
- package/dist/meeting-context.js.map +1 -1
- package/dist/meeting-integration-commands.d.ts +1 -1
- package/dist/meeting-integration-commands.d.ts.map +1 -1
- package/dist/meeting-integration-commands.js +1 -2
- package/dist/meeting-integration-commands.js.map +1 -1
- package/dist/meeting-integration.d.ts +1 -1
- package/dist/meeting-integration.d.ts.map +1 -1
- package/dist/meeting-integration.js +1 -1
- package/dist/meeting-integration.js.map +1 -1
- package/dist/meeting-inventory.d.ts +1 -1
- package/dist/meeting-inventory.d.ts.map +1 -1
- package/dist/meeting-inventory.js +1 -1
- package/dist/meeting-inventory.js.map +1 -1
- package/dist/meeting-preparation.d.ts +1 -2
- package/dist/meeting-preparation.d.ts.map +1 -1
- package/dist/meeting-preparation.js +1 -1
- package/dist/meeting-preparation.js.map +1 -1
- package/dist/meeting-project-candidates.d.ts +1 -1
- package/dist/meeting-project-candidates.d.ts.map +1 -1
- package/dist/meeting-project-evidence-commands.d.ts +1 -1
- package/dist/meeting-project-evidence-commands.d.ts.map +1 -1
- package/dist/meeting-project-evidence-commands.js +1 -2
- package/dist/meeting-project-evidence-commands.js.map +1 -1
- package/dist/meeting-read-command-bindings.js +1 -1
- package/dist/meeting-read-command-bindings.js.map +1 -1
- package/dist/meeting-review-commands.d.ts +1 -3
- package/dist/meeting-review-commands.d.ts.map +1 -1
- package/dist/meeting-review-commands.js +1 -2
- package/dist/meeting-review-commands.js.map +1 -1
- package/dist/meeting-search-commands.d.ts +2 -3
- package/dist/meeting-search-commands.d.ts.map +1 -1
- package/dist/meeting-search-commands.js +2 -4
- package/dist/meeting-search-commands.js.map +1 -1
- package/dist/meeting-searches-commands.d.ts +1 -2
- package/dist/meeting-searches-commands.d.ts.map +1 -1
- package/dist/meeting-searches-commands.js +1 -2
- package/dist/meeting-searches-commands.js.map +1 -1
- package/dist/meeting-selection-options.d.ts +1 -1
- package/dist/meeting-selection-options.d.ts.map +1 -1
- package/dist/meeting-selection-options.js +1 -2
- package/dist/meeting-selection-options.js.map +1 -1
- package/dist/meeting-semantic-commands.d.ts +1 -2
- package/dist/meeting-semantic-commands.d.ts.map +1 -1
- package/dist/meeting-semantic-commands.js +1 -1
- package/dist/meeting-semantic-commands.js.map +1 -1
- package/dist/meeting-semantic.d.ts +2 -2
- package/dist/meeting-semantic.d.ts.map +1 -1
- package/dist/meeting-semantic.js +1 -1
- package/dist/meeting-semantic.js.map +1 -1
- package/dist/meeting-source.d.ts +1 -1
- package/dist/meeting-source.d.ts.map +1 -1
- package/dist/meeting-stats-commands.d.ts +1 -3
- package/dist/meeting-stats-commands.d.ts.map +1 -1
- package/dist/meeting-stats-commands.js +1 -2
- package/dist/meeting-stats-commands.js.map +1 -1
- package/dist/models-commands.d.ts +1 -1
- package/dist/models-commands.d.ts.map +1 -1
- package/dist/models-commands.js +1 -1
- package/dist/models-commands.js.map +1 -1
- package/dist/occurrence-schedule.d.ts +1 -1
- package/dist/occurrence-schedule.d.ts.map +1 -1
- package/dist/permissions.d.ts +1 -1
- package/dist/permissions.d.ts.map +1 -1
- package/dist/permissions.js +1 -2
- package/dist/permissions.js.map +1 -1
- package/dist/profile.js +1 -1
- package/dist/profile.js.map +1 -1
- package/dist/program-bindings.d.ts.map +1 -1
- package/dist/program-bindings.js +3 -13
- package/dist/program-bindings.js.map +1 -1
- package/dist/program.d.ts +4 -7
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +1 -1
- package/dist/program.js.map +1 -1
- package/dist/progress-commands.d.ts +1 -1
- package/dist/progress-commands.d.ts.map +1 -1
- package/dist/progress-commands.js +1 -2
- package/dist/progress-commands.js.map +1 -1
- package/dist/read-only.js +1 -1
- package/dist/read-only.js.map +1 -1
- package/dist/recording-archive.d.ts.map +1 -1
- package/dist/recording-archive.js +1 -2
- package/dist/recording-archive.js.map +1 -1
- package/dist/recording-manifest.js +1 -1
- package/dist/recording-manifest.js.map +1 -1
- package/dist/recording-partial-store.d.ts +2 -3
- package/dist/recording-partial-store.d.ts.map +1 -1
- package/dist/recording-partial-store.js +1 -1
- package/dist/recording-partial-store.js.map +1 -1
- package/dist/recording-promotion-store.d.ts +1 -2
- package/dist/recording-promotion-store.d.ts.map +1 -1
- package/dist/recording-promotion-store.js +1 -2
- package/dist/recording-promotion-store.js.map +1 -1
- package/dist/recording-schedule-commands.d.ts +1 -1
- package/dist/recording-schedule-commands.d.ts.map +1 -1
- package/dist/recording-schedule-commands.js +1 -1
- package/dist/recording-schedule-commands.js.map +1 -1
- package/dist/recording-schedule-store.js +1 -1
- package/dist/recording-schedule-store.js.map +1 -1
- package/dist/recording-schedule-systemd.js +1 -1
- package/dist/recording-schedule-systemd.js.map +1 -1
- package/dist/recording-schedule.d.ts +1 -1
- package/dist/recording-schedule.d.ts.map +1 -1
- package/dist/recording-schedule.js +1 -1
- package/dist/recording-schedule.js.map +1 -1
- package/dist/recording-sync-store.d.ts +1 -1
- package/dist/recording-sync-store.d.ts.map +1 -1
- package/dist/recording-sync-store.js +1 -2
- package/dist/recording-sync-store.js.map +1 -1
- package/dist/recording-sync.d.ts +1 -1
- package/dist/recording-sync.d.ts.map +1 -1
- package/dist/recording-sync.js +1 -1
- package/dist/recording-sync.js.map +1 -1
- package/dist/recording-writer-lease.d.ts +1 -1
- package/dist/recording-writer-lease.d.ts.map +1 -1
- package/dist/recording-writer-lease.js +1 -1
- package/dist/recording-writer-lease.js.map +1 -1
- package/dist/recordings.d.ts +1 -1
- package/dist/recordings.d.ts.map +1 -1
- package/dist/recordings.js.map +1 -1
- package/dist/remote-meetings.d.ts +19 -19
- package/dist/remote-meetings.d.ts.map +1 -1
- package/dist/remote-meetings.js +1 -1
- package/dist/remote-meetings.js.map +1 -1
- package/dist/request-events.d.ts +1 -1
- package/dist/request-events.d.ts.map +1 -1
- package/dist/request-events.js +1 -1
- package/dist/request-events.js.map +1 -1
- package/dist/run-log.d.ts +1 -1
- package/dist/run-log.d.ts.map +1 -1
- package/dist/run-log.js +1 -1
- package/dist/run-log.js.map +1 -1
- package/dist/run.d.ts +1 -1
- package/dist/run.d.ts.map +1 -1
- package/dist/run.js +6 -2
- package/dist/run.js.map +1 -1
- package/dist/series-inventory.d.ts +2 -2
- package/dist/series-inventory.js +1 -1
- package/dist/series-inventory.js.map +1 -1
- package/dist/setup-commands.d.ts +6 -15
- package/dist/setup-commands.d.ts.map +1 -1
- package/dist/setup-commands.js +7 -142
- package/dist/setup-commands.js.map +1 -1
- package/dist/store-commands.d.ts +1 -1
- package/dist/store-commands.d.ts.map +1 -1
- package/dist/store-commands.js +1 -2
- package/dist/store-commands.js.map +1 -1
- package/dist/store-connection.d.ts +1 -3
- package/dist/store-connection.d.ts.map +1 -1
- package/dist/store-connection.js +14 -14
- package/dist/store-connection.js.map +1 -1
- package/dist/sync-progress.d.ts +4 -4
- package/dist/sync-progress.d.ts.map +1 -1
- package/dist/sync-progress.js +1 -1
- package/dist/sync-progress.js.map +1 -1
- package/dist/tokens.d.ts +20 -44
- package/dist/tokens.d.ts.map +1 -1
- package/dist/tokens.js +95 -308
- package/dist/tokens.js.map +1 -1
- package/dist/unified-search.d.ts +1 -1
- package/dist/unified-search.d.ts.map +1 -1
- package/dist/upcoming-meetings.d.ts +2 -2
- package/dist/upcoming-meetings.js +1 -1
- package/dist/upcoming-meetings.js.map +1 -1
- package/dist/upgrade.d.ts.map +1 -1
- package/dist/upgrade.js +1 -2
- package/dist/upgrade.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/watch-commands.d.ts +1 -2
- package/dist/watch-commands.d.ts.map +1 -1
- package/dist/watch-commands.js +1 -2
- package/dist/watch-commands.js.map +1 -1
- package/dist/watch-service.d.ts +1 -1
- package/dist/watch-service.d.ts.map +1 -1
- package/dist/watch-service.js +1 -1
- package/dist/watch-service.js.map +1 -1
- package/dist/zoom-app.d.ts +2 -2
- package/dist/zoom-app.d.ts.map +1 -1
- package/dist/zoom-app.js +2 -2
- package/dist/zoom-app.js.map +1 -1
- package/dist/zoom-search-commands.d.ts +1 -1
- package/dist/zoom-search-commands.d.ts.map +1 -1
- package/dist/zoom-search-commands.js +1 -1
- package/dist/zoom-search-commands.js.map +1 -1
- package/dist/zoom-session.d.ts +6 -0
- package/dist/zoom-session.d.ts.map +1 -0
- package/dist/zoom-session.js +72 -0
- package/dist/zoom-session.js.map +1 -0
- package/package.json +3 -3
- package/scenarios/person-in-meetings.md +1 -1
- package/skills/zoom-cli/SKILL.md +1 -1
- package/skills/zoom-cli/references/people-and-projects.md +5 -5
- package/skills/zoom-cli/references/prepare.md +2 -2
- package/skills/zoom-cli/references/setup.md +2 -2
- package/dist/bundle/agent-F4TRJWWS.js +0 -46
- package/dist/bundle/all-profiles-RULEKTDQ.js +0 -321
- package/dist/bundle/answer-policy-6XC57AEZ.js +0 -131
- package/dist/bundle/anthropic-4NAQBZFL.js +0 -91
- package/dist/bundle/app-server-VLR42U5L.js +0 -266
- package/dist/bundle/bun-OPDGMZZQ.js +0 -169
- package/dist/bundle/bun-sqlite-HC6X4AOX.js +0 -76
- package/dist/bundle/chunk-274SLQNW.js +0 -54
- package/dist/bundle/chunk-2CI2OEZQ.js +0 -101
- package/dist/bundle/chunk-2DBF2IIC.js +0 -330
- package/dist/bundle/chunk-2GP573Q4.js +0 -67190
- package/dist/bundle/chunk-2JHVQMVC.js +0 -16
- package/dist/bundle/chunk-2XBDILVW.js +0 -53
- package/dist/bundle/chunk-3HC5F3P7.js +0 -24
- package/dist/bundle/chunk-3YM4B2GT.js +0 -63
- package/dist/bundle/chunk-4HLQ2JGK.js +0 -276
- package/dist/bundle/chunk-4N7PP76S.js +0 -6848
- package/dist/bundle/chunk-52Y4ETKU.js +0 -230
- package/dist/bundle/chunk-5HAUK3I4.js +0 -27160
- package/dist/bundle/chunk-5KYQ53EF.js +0 -357
- package/dist/bundle/chunk-5TU7Y5UW.js +0 -218
- package/dist/bundle/chunk-66ALX4ZI.js +0 -1068
- package/dist/bundle/chunk-676C2LE6.js +0 -229
- package/dist/bundle/chunk-6CWL5BKG.js +0 -3012
- package/dist/bundle/chunk-6QYZP4E2.js +0 -73
- package/dist/bundle/chunk-6VK332XS.js +0 -170
- package/dist/bundle/chunk-73MOMNLL.js +0 -94
- package/dist/bundle/chunk-7QPIUMUG.js +0 -198
- package/dist/bundle/chunk-7UVDPRFK.js +0 -259
- package/dist/bundle/chunk-A6EZK5RG.js +0 -142
- package/dist/bundle/chunk-ACI4YIEH.js +0 -331
- package/dist/bundle/chunk-AIKFOBDO.js +0 -1024
- package/dist/bundle/chunk-ASBDFXLS.js +0 -295
- package/dist/bundle/chunk-B32KZRQM.js +0 -2338
- package/dist/bundle/chunk-BBGJQMRI.js +0 -34
- package/dist/bundle/chunk-BDKVOU3I.js +0 -52
- package/dist/bundle/chunk-BP4FYANF.js +0 -335
- package/dist/bundle/chunk-D72URWJE.js +0 -532
- package/dist/bundle/chunk-DCYFT3FR.js +0 -161
- package/dist/bundle/chunk-DFDN6AUB.js +0 -21
- package/dist/bundle/chunk-DNCLQPOM.js +0 -7
- package/dist/bundle/chunk-DSZYABYL.js +0 -808
- package/dist/bundle/chunk-E745WZKY.js +0 -1199
- package/dist/bundle/chunk-EGTCQKHV.js +0 -340
- package/dist/bundle/chunk-EQG3PIH2.js +0 -108
- package/dist/bundle/chunk-ESN3W2MZ.js +0 -2624
- package/dist/bundle/chunk-FXBHOCJK.js +0 -24600
- package/dist/bundle/chunk-G46WJ7YO.js +0 -95
- package/dist/bundle/chunk-G6PETRMV.js +0 -64
- package/dist/bundle/chunk-GBHMT2IU.js +0 -755
- package/dist/bundle/chunk-GGMAIIVE.js +0 -38
- package/dist/bundle/chunk-GTKPMYK7.js +0 -72
- package/dist/bundle/chunk-GWGHH56B.js +0 -374
- package/dist/bundle/chunk-HC6VN5CO.js +0 -692
- package/dist/bundle/chunk-HP7A2ZOP.js +0 -185
- package/dist/bundle/chunk-HTQTIKWP.js +0 -928
- package/dist/bundle/chunk-HZENBDW2.js +0 -209
- package/dist/bundle/chunk-IANKXHSE.js +0 -46
- package/dist/bundle/chunk-ICPJT672.js +0 -228
- package/dist/bundle/chunk-JQ54DYAQ.js +0 -80
- package/dist/bundle/chunk-K5JGJIV2.js +0 -640
- package/dist/bundle/chunk-KJ6USQDZ.js +0 -616
- package/dist/bundle/chunk-KKFY23AK.js +0 -5150
- package/dist/bundle/chunk-KQPUVXKX.js +0 -84
- package/dist/bundle/chunk-KVJ3I7UL.js +0 -1007
- package/dist/bundle/chunk-KWU46LNK.js +0 -288
- package/dist/bundle/chunk-KXJ3JEDH.js +0 -2
- package/dist/bundle/chunk-L75SMSJR.js +0 -133
- package/dist/bundle/chunk-LAYYO4WD.js +0 -31
- package/dist/bundle/chunk-LEKKTJKK.js +0 -2336
- package/dist/bundle/chunk-M7H4MCAX.js +0 -388
- package/dist/bundle/chunk-MQLPZBMQ.js +0 -58
- package/dist/bundle/chunk-N3JLO63O.js +0 -13
- package/dist/bundle/chunk-N46F72AF.js +0 -410
- package/dist/bundle/chunk-NB7EOAUZ.js +0 -123
- package/dist/bundle/chunk-NEMX3UNN.js +0 -76
- package/dist/bundle/chunk-OBXQLFT5.js +0 -82
- package/dist/bundle/chunk-OGNO35A2.js +0 -262
- package/dist/bundle/chunk-OIPYBF43.js +0 -100
- package/dist/bundle/chunk-OO4TRVPB.js +0 -185
- package/dist/bundle/chunk-OQFQ77AY.js +0 -9352
- package/dist/bundle/chunk-PL5P7UKW.js +0 -25216
- package/dist/bundle/chunk-PMUPN6JW.js +0 -773
- package/dist/bundle/chunk-PSKTMMCO.js +0 -561
- package/dist/bundle/chunk-PWVJUIDQ.js +0 -106
- package/dist/bundle/chunk-Q7ICVP25.js +0 -18
- package/dist/bundle/chunk-QG6PILDO.js +0 -195
- package/dist/bundle/chunk-QPHBK63S.js +0 -25
- package/dist/bundle/chunk-QVSL5WJ7.js +0 -46524
- package/dist/bundle/chunk-QVYAV7F2.js +0 -58
- package/dist/bundle/chunk-R2B6PUVI.js +0 -206
- package/dist/bundle/chunk-RQOZBTNI.js +0 -86
- package/dist/bundle/chunk-T7IAWEBU.js +0 -362
- package/dist/bundle/chunk-TKNM22OH.js +0 -71
- package/dist/bundle/chunk-TKVBFJ5C.js +0 -37
- package/dist/bundle/chunk-TXDR6YSF.js +0 -23
- package/dist/bundle/chunk-TY7NDMFY.js +0 -46
- package/dist/bundle/chunk-UAWSINMC.js +0 -875
- package/dist/bundle/chunk-UKAAAOPC.js +0 -1251
- package/dist/bundle/chunk-UQCTXZEP.js +0 -214
- package/dist/bundle/chunk-UR5DBODY.js +0 -1345
- package/dist/bundle/chunk-V5EJSF2B.js +0 -12235
- package/dist/bundle/chunk-VB72LTSZ.js +0 -210
- package/dist/bundle/chunk-VB7FZOYX.js +0 -633
- package/dist/bundle/chunk-VS6WURLX.js +0 -217
- package/dist/bundle/chunk-VZ5PPYDG.js +0 -77
- package/dist/bundle/chunk-W5QHB53X.js +0 -3752
- package/dist/bundle/chunk-WMANRJR5.js +0 -555
- package/dist/bundle/chunk-WOPVBRPV.js +0 -29
- package/dist/bundle/chunk-XQ2WL3HB.js +0 -140
- package/dist/bundle/chunk-Y5E2WNWB.js +0 -35
- package/dist/bundle/chunk-Y6PVS55U.js +0 -800
- package/dist/bundle/chunk-YJXJJ2XP.js +0 -2333
- package/dist/bundle/chunk-YY7XKHDY.js +0 -79
- package/dist/bundle/chunk-ZED2CJW5.js +0 -353
- package/dist/bundle/chunk-ZOYOXWJB.js +0 -746
- package/dist/bundle/chunk-ZVVMGPBJ.js +0 -50
- package/dist/bundle/cli-U4O5XB7J.js +0 -1255
- package/dist/bundle/command-contract-FBTK6GQX.js +0 -45
- package/dist/bundle/command-server-entry-KKH6ZWJV.js +0 -175
- package/dist/bundle/config-FRJSIZNN.js +0 -118
- package/dist/bundle/decode-TPCNXEK4.js +0 -31
- package/dist/bundle/dispatch-FKMIPCPQ.js +0 -412
- package/dist/bundle/dist-7CLBCYZN.js +0 -321
- package/dist/bundle/dist-PAKDDIBT.js +0 -191
- package/dist/bundle/dist-XUFQCJXW.js +0 -7577
- package/dist/bundle/echarts-O3TNDAXJ.js +0 -42501
- package/dist/bundle/embed-WCJSFVSK.js +0 -38
- package/dist/bundle/embedder-TBBUPXBX.js +0 -111
- package/dist/bundle/failure-XTWBYI2A.js +0 -25
- package/dist/bundle/first-run-ELEMFW42.js +0 -29
- package/dist/bundle/first-screen-DIOBWMKP.js +0 -46
- package/dist/bundle/instructions-AMH5RWVJ.js +0 -11
- package/dist/bundle/mcp-5HFPWC3W.js +0 -167
- package/dist/bundle/meeting-combined-UXCF4SJ3.js +0 -26
- package/dist/bundle/meeting-model-3BZJ3EQP.js +0 -26
- package/dist/bundle/meeting-semantic-3HU7I2SJ.js +0 -23
- package/dist/bundle/meetings-XWMB6FOH.js +0 -332
- package/dist/bundle/node-EGMCBAO7.js +0 -176
- package/dist/bundle/node-KM3CUABH.js +0 -2340
- package/dist/bundle/node-TLZSIHIJ.js +0 -21
- package/dist/bundle/node-sqlite-IJBWENFX.js +0 -74
- package/dist/bundle/oauth-SZDDAP7A.js +0 -20
- package/dist/bundle/open-NS3TMKZX.js +0 -23
- package/dist/bundle/openai-4DN6WI3B.js +0 -28
- package/dist/bundle/process-SGHEN6MQ.js +0 -91
- package/dist/bundle/prompt-HJFMPFVC.js +0 -17
- package/dist/bundle/public-C2ZB2AGQ.js +0 -198
- package/dist/bundle/recognize-2SEI5PPM.js +0 -26
- package/dist/bundle/remote-2DMS74XE.js +0 -32
- package/dist/bundle/rerank-H6GCYVIA.js +0 -52
- package/dist/bundle/run-log-QU26SUZP.js +0 -145
- package/dist/bundle/serve-ODVRPFJO.js +0 -199
- package/dist/bundle/server-NBPF6IDZ.js +0 -95
- package/dist/bundle/server-PCLIO24L.js +0 -228
- package/dist/bundle/services-4QAPXBLO.js +0 -607
- package/dist/bundle/speech-MA6ZT3WE.js +0 -89
- package/dist/bundle/sqlite-runtime-PVMAUXRN.js +0 -20
- package/dist/bundle/state-QFMTYUME.js +0 -36
- package/dist/bundle/store-25OTAQC3.js +0 -187
- package/dist/bundle/store-F724QIKJ.js +0 -305
- package/dist/bundle/store-connection-OGPXANGB.js +0 -111
- package/dist/bundle/store-maintenance-command-2CM7LLNQ.js +0 -83
- package/dist/bundle/streaming-S22C4DG5.js +0 -18
- package/dist/bundle/surface-7PXHWCF6.js +0 -81
- package/dist/bundle/tokens-NLUHA2DW.js +0 -25
- package/dist/login.d.ts +0 -16
- package/dist/login.d.ts.map +0 -1
- package/dist/login.js +0 -98
- package/dist/login.js.map +0 -1
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
-
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
WARM_IDLE_MS,
|
|
5
|
-
defaultThreads,
|
|
6
|
-
isTextModelInstalled,
|
|
7
|
-
loadModel,
|
|
8
|
-
meanOf,
|
|
9
|
-
openEmbedder,
|
|
10
|
-
placedText,
|
|
11
|
-
runEmbedders,
|
|
12
|
-
textModelsDirectory,
|
|
13
|
-
truncated,
|
|
14
|
-
unit,
|
|
15
|
-
warmEmbedders
|
|
16
|
-
} from "./chunk-KVJ3I7UL.js";
|
|
17
|
-
import "./chunk-4HLQ2JGK.js";
|
|
18
|
-
import "./chunk-274SLQNW.js";
|
|
19
|
-
import "./chunk-6CWL5BKG.js";
|
|
20
|
-
import "./chunk-ESN3W2MZ.js";
|
|
21
|
-
import "./chunk-Y5E2WNWB.js";
|
|
22
|
-
import "./chunk-IANKXHSE.js";
|
|
23
|
-
import "./chunk-BBGJQMRI.js";
|
|
24
|
-
import "./chunk-ZVVMGPBJ.js";
|
|
25
|
-
export {
|
|
26
|
-
WARM_IDLE_MS,
|
|
27
|
-
defaultThreads,
|
|
28
|
-
isTextModelInstalled,
|
|
29
|
-
loadModel,
|
|
30
|
-
meanOf,
|
|
31
|
-
openEmbedder,
|
|
32
|
-
placedText,
|
|
33
|
-
runEmbedders,
|
|
34
|
-
textModelsDirectory,
|
|
35
|
-
truncated,
|
|
36
|
-
unit,
|
|
37
|
-
warmEmbedders
|
|
38
|
-
};
|
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
-
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
openSession,
|
|
5
|
-
truncated,
|
|
6
|
-
unit
|
|
7
|
-
} from "./chunk-KVJ3I7UL.js";
|
|
8
|
-
import "./chunk-4HLQ2JGK.js";
|
|
9
|
-
import "./chunk-274SLQNW.js";
|
|
10
|
-
import "./chunk-6CWL5BKG.js";
|
|
11
|
-
import "./chunk-ESN3W2MZ.js";
|
|
12
|
-
import {
|
|
13
|
-
importFrom
|
|
14
|
-
} from "./chunk-Y5E2WNWB.js";
|
|
15
|
-
import {
|
|
16
|
-
CliError
|
|
17
|
-
} from "./chunk-IANKXHSE.js";
|
|
18
|
-
import "./chunk-BBGJQMRI.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/images/picture/embedder.js
|
|
24
|
-
import { readFileSync } from "node:fs";
|
|
25
|
-
import { join } from "node:path";
|
|
26
|
-
|
|
27
|
-
// 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/images/picture/preprocess.js
|
|
28
|
-
var SIZE = 224;
|
|
29
|
-
var MEAN = [0.48145466, 0.4578275, 0.40821073];
|
|
30
|
-
var STD = [0.26862954, 0.26130258, 0.27577711];
|
|
31
|
-
var importCanvas = /* @__PURE__ */ __name(async () => {
|
|
32
|
-
try {
|
|
33
|
-
return await importFrom(new URL("images/picture/preprocess.js", import.meta.resolve("@wirecat/cli-core")).href, "@napi-rs/canvas");
|
|
34
|
-
} catch {
|
|
35
|
-
throw new CliError("validation_error", "searching pictures needs the optional package @napi-rs/canvas to read an image \u2014 install it next to this tool");
|
|
36
|
-
}
|
|
37
|
-
}, "importCanvas");
|
|
38
|
-
var preprocess = /* @__PURE__ */ __name(async (bytes, load = importCanvas) => {
|
|
39
|
-
const { createCanvas, loadImage } = await load();
|
|
40
|
-
let image;
|
|
41
|
-
try {
|
|
42
|
-
image = await loadImage(bytes);
|
|
43
|
-
} catch {
|
|
44
|
-
throw new CliError("invalid_response", "the file is not an image this tool can read");
|
|
45
|
-
}
|
|
46
|
-
const scale = SIZE / Math.min(image.width, image.height);
|
|
47
|
-
const width = Math.max(SIZE, Math.round(image.width * scale));
|
|
48
|
-
const height = Math.max(SIZE, Math.round(image.height * scale));
|
|
49
|
-
const surface = createCanvas(SIZE, SIZE);
|
|
50
|
-
const context = surface.getContext("2d");
|
|
51
|
-
context.fillStyle = "#ffffff";
|
|
52
|
-
context.fillRect(0, 0, SIZE, SIZE);
|
|
53
|
-
context.imageSmoothingQuality = "high";
|
|
54
|
-
context.drawImage(image, 0, 0, image.width, image.height, Math.round((SIZE - width) / 2), Math.round((SIZE - height) / 2), width, height);
|
|
55
|
-
const { data } = context.getImageData(0, 0, SIZE, SIZE);
|
|
56
|
-
const plane = SIZE * SIZE;
|
|
57
|
-
const pixels = new Float32Array(3 * plane);
|
|
58
|
-
for (let at = 0; at < plane; at++) {
|
|
59
|
-
for (let channel = 0; channel < 3; channel++) {
|
|
60
|
-
pixels[channel * plane + at] = (data[at * 4 + channel] / 255 - MEAN[channel]) / STD[channel];
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
return pixels;
|
|
64
|
-
}, "preprocess");
|
|
65
|
-
|
|
66
|
-
// 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/images/picture/embedder.js
|
|
67
|
-
var openPictureEmbedder = /* @__PURE__ */ __name(async (model, directory, { threads = 4, canvas } = {}) => {
|
|
68
|
-
const { Tokenizer } = await importFrom(new URL("images/picture/embedder.js", import.meta.resolve("@wirecat/cli-core")).href, "@huggingface/tokenizers");
|
|
69
|
-
const path = /* @__PURE__ */ __name((name) => join(directory, model.id, name), "path");
|
|
70
|
-
const tokenizer = new Tokenizer(JSON.parse(readFileSync(path("tokenizer.json"), "utf8")), JSON.parse(readFileSync(path("tokenizer_config.json"), "utf8")));
|
|
71
|
-
const sessions = [];
|
|
72
|
-
const lazy = /* @__PURE__ */ __name((name) => {
|
|
73
|
-
let opened;
|
|
74
|
-
return () => {
|
|
75
|
-
opened ??= openSession(readFileSync(path(name)), threads).then((created) => {
|
|
76
|
-
sessions.push(created.session);
|
|
77
|
-
return created;
|
|
78
|
-
});
|
|
79
|
-
return opened;
|
|
80
|
-
};
|
|
81
|
-
}, "lazy");
|
|
82
|
-
const vision = lazy(model.vision);
|
|
83
|
-
const text = lazy(model.text);
|
|
84
|
-
return {
|
|
85
|
-
model,
|
|
86
|
-
embedImage: /* @__PURE__ */ __name(async (bytes) => {
|
|
87
|
-
const pixels = await preprocess(bytes, canvas);
|
|
88
|
-
const { ort, session } = await vision();
|
|
89
|
-
const output = await session.run({ pixel_values: new ort.Tensor("float32", pixels, [1, 3, SIZE, SIZE]) });
|
|
90
|
-
return unit(Float32Array.from(output.image_embeds?.data));
|
|
91
|
-
}, "embedImage"),
|
|
92
|
-
embedQuery: /* @__PURE__ */ __name(async (query) => {
|
|
93
|
-
const ids = truncated(tokenizer.encode(query.toLowerCase()).ids, model.maxTokens);
|
|
94
|
-
const shape = [1, ids.length];
|
|
95
|
-
const { ort, session } = await text();
|
|
96
|
-
const feeds = {
|
|
97
|
-
input_ids: new ort.Tensor("int64", BigInt64Array.from(ids, BigInt), shape)
|
|
98
|
-
};
|
|
99
|
-
if (session.inputNames.includes("attention_mask"))
|
|
100
|
-
feeds.attention_mask = new ort.Tensor("int64", new BigInt64Array(ids.length).fill(1n), shape);
|
|
101
|
-
const output = await session.run(feeds);
|
|
102
|
-
return unit(Float32Array.from(output.text_embeds?.data));
|
|
103
|
-
}, "embedQuery"),
|
|
104
|
-
close: /* @__PURE__ */ __name(async () => {
|
|
105
|
-
await Promise.all(sessions.map((session) => session.release()));
|
|
106
|
-
}, "close")
|
|
107
|
-
};
|
|
108
|
-
}, "openPictureEmbedder");
|
|
109
|
-
export {
|
|
110
|
-
openPictureEmbedder
|
|
111
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
-
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
catchCrashes,
|
|
5
|
-
errorObjectOf,
|
|
6
|
-
errorRecordOf,
|
|
7
|
-
exitCodeOfAnswer,
|
|
8
|
-
exitCodeOfError,
|
|
9
|
-
mcpErrorResult,
|
|
10
|
-
renderError,
|
|
11
|
-
retryOf
|
|
12
|
-
} from "./chunk-ESN3W2MZ.js";
|
|
13
|
-
import "./chunk-IANKXHSE.js";
|
|
14
|
-
import "./chunk-BBGJQMRI.js";
|
|
15
|
-
import "./chunk-ZVVMGPBJ.js";
|
|
16
|
-
export {
|
|
17
|
-
catchCrashes,
|
|
18
|
-
errorObjectOf,
|
|
19
|
-
errorRecordOf,
|
|
20
|
-
exitCodeOfAnswer,
|
|
21
|
-
exitCodeOfError,
|
|
22
|
-
mcpErrorResult,
|
|
23
|
-
renderError,
|
|
24
|
-
retryOf
|
|
25
|
-
};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
-
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
askSetupQuestions,
|
|
5
|
-
asksAtStart,
|
|
6
|
-
setupAtStart,
|
|
7
|
-
systemLanguage
|
|
8
|
-
} from "./chunk-5TU7Y5UW.js";
|
|
9
|
-
import "./chunk-A6EZK5RG.js";
|
|
10
|
-
import "./chunk-TY7NDMFY.js";
|
|
11
|
-
import "./chunk-QVYAV7F2.js";
|
|
12
|
-
import "./chunk-YJXJJ2XP.js";
|
|
13
|
-
import "./chunk-2JHVQMVC.js";
|
|
14
|
-
import "./chunk-E745WZKY.js";
|
|
15
|
-
import "./chunk-TXDR6YSF.js";
|
|
16
|
-
import "./chunk-D72URWJE.js";
|
|
17
|
-
import "./chunk-274SLQNW.js";
|
|
18
|
-
import "./chunk-6CWL5BKG.js";
|
|
19
|
-
import "./chunk-ESN3W2MZ.js";
|
|
20
|
-
import "./chunk-Y5E2WNWB.js";
|
|
21
|
-
import "./chunk-IANKXHSE.js";
|
|
22
|
-
import "./chunk-BBGJQMRI.js";
|
|
23
|
-
import "./chunk-ZVVMGPBJ.js";
|
|
24
|
-
export {
|
|
25
|
-
askSetupQuestions,
|
|
26
|
-
asksAtStart,
|
|
27
|
-
setupAtStart,
|
|
28
|
-
systemLanguage
|
|
29
|
-
};
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
-
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
firstScreen,
|
|
5
|
-
installHelp
|
|
6
|
-
} from "./chunk-5KYQ53EF.js";
|
|
7
|
-
import {
|
|
8
|
-
WIRECAT_TOOLS
|
|
9
|
-
} from "./chunk-NB7EOAUZ.js";
|
|
10
|
-
import "./chunk-WOPVBRPV.js";
|
|
11
|
-
import "./chunk-HTQTIKWP.js";
|
|
12
|
-
import "./chunk-L75SMSJR.js";
|
|
13
|
-
import "./chunk-V5EJSF2B.js";
|
|
14
|
-
import "./chunk-2CI2OEZQ.js";
|
|
15
|
-
import "./chunk-TKNM22OH.js";
|
|
16
|
-
import "./chunk-T7IAWEBU.js";
|
|
17
|
-
import "./chunk-3YM4B2GT.js";
|
|
18
|
-
import "./chunk-QVYAV7F2.js";
|
|
19
|
-
import "./chunk-KJ6USQDZ.js";
|
|
20
|
-
import "./chunk-G6PETRMV.js";
|
|
21
|
-
import "./chunk-BP4FYANF.js";
|
|
22
|
-
import "./chunk-6QYZP4E2.js";
|
|
23
|
-
import "./chunk-ACI4YIEH.js";
|
|
24
|
-
import "./chunk-4HLQ2JGK.js";
|
|
25
|
-
import "./chunk-ZOYOXWJB.js";
|
|
26
|
-
import "./chunk-WMANRJR5.js";
|
|
27
|
-
import "./chunk-GTKPMYK7.js";
|
|
28
|
-
import "./chunk-DSZYABYL.js";
|
|
29
|
-
import "./chunk-73MOMNLL.js";
|
|
30
|
-
import "./chunk-LAYYO4WD.js";
|
|
31
|
-
import "./chunk-E745WZKY.js";
|
|
32
|
-
import "./chunk-274SLQNW.js";
|
|
33
|
-
import "./chunk-KKFY23AK.js";
|
|
34
|
-
import "./chunk-UAWSINMC.js";
|
|
35
|
-
import "./chunk-DNCLQPOM.js";
|
|
36
|
-
import "./chunk-6CWL5BKG.js";
|
|
37
|
-
import "./chunk-ESN3W2MZ.js";
|
|
38
|
-
import "./chunk-Y5E2WNWB.js";
|
|
39
|
-
import "./chunk-IANKXHSE.js";
|
|
40
|
-
import "./chunk-BBGJQMRI.js";
|
|
41
|
-
import "./chunk-ZVVMGPBJ.js";
|
|
42
|
-
export {
|
|
43
|
-
WIRECAT_TOOLS,
|
|
44
|
-
firstScreen,
|
|
45
|
-
installHelp
|
|
46
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
-
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
appInstructions,
|
|
5
|
-
instructions
|
|
6
|
-
} from "./chunk-2XBDILVW.js";
|
|
7
|
-
import "./chunk-ZVVMGPBJ.js";
|
|
8
|
-
export {
|
|
9
|
-
appInstructions,
|
|
10
|
-
instructions
|
|
11
|
-
};
|
|
@@ -1,167 +0,0 @@
|
|
|
1
|
-
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
-
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
executableEnvironment,
|
|
5
|
-
executableOnPath
|
|
6
|
-
} from "./chunk-TY7NDMFY.js";
|
|
7
|
-
import {
|
|
8
|
-
require_cross_spawn
|
|
9
|
-
} from "./chunk-D72URWJE.js";
|
|
10
|
-
import {
|
|
11
|
-
__name,
|
|
12
|
-
__toESM
|
|
13
|
-
} from "./chunk-ZVVMGPBJ.js";
|
|
14
|
-
|
|
15
|
-
// 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/mcp/index.js
|
|
16
|
-
var import_cross_spawn = __toESM(require_cross_spawn(), 1);
|
|
17
|
-
var realRun = /* @__PURE__ */ __name((file, args) => {
|
|
18
|
-
const result = import_cross_spawn.default.sync(executableOnPath(file, process.env), args, {
|
|
19
|
-
encoding: "utf8",
|
|
20
|
-
timeout: 1e4,
|
|
21
|
-
maxBuffer: 256e3,
|
|
22
|
-
env: executableEnvironment(process.env)
|
|
23
|
-
});
|
|
24
|
-
return { status: result.status, error: result.error, stdout: result.stdout ?? "", stderr: result.stderr ?? "" };
|
|
25
|
-
}, "realRun");
|
|
26
|
-
var executable = /* @__PURE__ */ __name((client) => client === "codex" ? "codex" : "claude", "executable");
|
|
27
|
-
var presentIn = /* @__PURE__ */ __name((client, name, run) => {
|
|
28
|
-
const state = lookUp(client, name, run);
|
|
29
|
-
if (state === "unavailable")
|
|
30
|
-
throw new Error(`${executable(client)} is not installed or could not be started`);
|
|
31
|
-
return state === "registered";
|
|
32
|
-
}, "presentIn");
|
|
33
|
-
var setupArguments = /* @__PURE__ */ __name((client, name, entry) => {
|
|
34
|
-
const variables = Object.entries(entry.env ?? {}).flatMap(([key, value]) => ["--env", `${key}=${value}`]);
|
|
35
|
-
if (client === "codex")
|
|
36
|
-
return ["mcp", "add", name, ...variables, "--", entry.command, ...entry.args];
|
|
37
|
-
return ["mcp", "add", "--scope", "user", name, ...variables, "--", entry.command, ...entry.args];
|
|
38
|
-
}, "setupArguments");
|
|
39
|
-
var checkName = /* @__PURE__ */ __name((name) => {
|
|
40
|
-
if (!/^[a-zA-Z][a-zA-Z0-9_-]*$/.test(name))
|
|
41
|
-
throw new Error("the MCP name must be letters, digits, _ or -");
|
|
42
|
-
}, "checkName");
|
|
43
|
-
var lookUp = /* @__PURE__ */ __name((client, name, run) => {
|
|
44
|
-
const file = executable(client);
|
|
45
|
-
const existing = run(file, ["mcp", "get", name, ...client === "codex" ? ["--json"] : []]);
|
|
46
|
-
if (existing.error)
|
|
47
|
-
return "unavailable";
|
|
48
|
-
if (existing.status === 0)
|
|
49
|
-
return "registered";
|
|
50
|
-
if (!/No MCP server named/i.test(existing.stdout + existing.stderr)) {
|
|
51
|
-
throw new Error(`${file} could not check its MCP configuration`);
|
|
52
|
-
}
|
|
53
|
-
return "missing";
|
|
54
|
-
}, "lookUp");
|
|
55
|
-
var stdioEntryStatus = /* @__PURE__ */ __name((client, name, { run = realRun } = {}) => {
|
|
56
|
-
checkName(name);
|
|
57
|
-
return { client, name, state: lookUp(client, name, run) };
|
|
58
|
-
}, "stdioEntryStatus");
|
|
59
|
-
var removeArguments = /* @__PURE__ */ __name((client, name) => (
|
|
60
|
-
// Claude Code without a scope removes from whichever scope holds the name, which may be a project's own entry.
|
|
61
|
-
client === "codex" ? ["mcp", "remove", name] : ["mcp", "remove", "--scope", "user", name]
|
|
62
|
-
), "removeArguments");
|
|
63
|
-
var removeStdioEntry = /* @__PURE__ */ __name((client, name, { run = realRun } = {}) => {
|
|
64
|
-
checkName(name);
|
|
65
|
-
if (!presentIn(client, name, run))
|
|
66
|
-
return { client, name, removed: false };
|
|
67
|
-
const file = executable(client);
|
|
68
|
-
const removed = run(file, removeArguments(client, name));
|
|
69
|
-
if (removed.status !== 0 || removed.error)
|
|
70
|
-
throw new Error(`${file} could not remove ${name}`);
|
|
71
|
-
return { client, name, removed: true };
|
|
72
|
-
}, "removeStdioEntry");
|
|
73
|
-
var installStdioEntry = /* @__PURE__ */ __name((client, name, entry, { run = realRun } = {}) => {
|
|
74
|
-
checkName(name);
|
|
75
|
-
if (!entry.command || entry.args.some((arg) => arg.includes("\0")))
|
|
76
|
-
throw new Error("invalid MCP command");
|
|
77
|
-
const file = executable(client);
|
|
78
|
-
if (presentIn(client, name, run))
|
|
79
|
-
throw new Error(`${name} is already configured in ${file}; remove it there first`);
|
|
80
|
-
const args = setupArguments(client, name, entry);
|
|
81
|
-
const added = run(file, args);
|
|
82
|
-
if (added.status !== 0 || added.error)
|
|
83
|
-
throw new Error(`${file} could not add ${name}`);
|
|
84
|
-
return { client, name, command: [entry.command, ...entry.args] };
|
|
85
|
-
}, "installStdioEntry");
|
|
86
|
-
var probeStdio = /* @__PURE__ */ __name(async (entry, { timeoutMs = 1e4, start = /* @__PURE__ */ __name((file, args, env) => (0, import_cross_spawn.default)(executableOnPath(file, env), args, {
|
|
87
|
-
env: executableEnvironment(env),
|
|
88
|
-
stdio: "pipe"
|
|
89
|
-
}), "start") } = {}) => {
|
|
90
|
-
const child = start(entry.command, entry.args, { ...process.env, ...entry.env });
|
|
91
|
-
let buffer = "";
|
|
92
|
-
let timer;
|
|
93
|
-
const pending = /* @__PURE__ */ new Map();
|
|
94
|
-
const request = /* @__PURE__ */ __name((id, method, params) => new Promise((resolve, reject) => {
|
|
95
|
-
pending.set(id, { resolve, reject });
|
|
96
|
-
child.stdin.write(`${JSON.stringify({ jsonrpc: "2.0", id, method, params })}
|
|
97
|
-
`);
|
|
98
|
-
}), "request");
|
|
99
|
-
const fail = /* @__PURE__ */ __name((error) => {
|
|
100
|
-
for (const waiter of pending.values())
|
|
101
|
-
waiter.reject(error);
|
|
102
|
-
pending.clear();
|
|
103
|
-
}, "fail");
|
|
104
|
-
child.on("error", () => fail(new Error("the MCP server could not be started")));
|
|
105
|
-
child.on("exit", () => fail(new Error("the MCP server exited before answering")));
|
|
106
|
-
child.stdin.on("error", () => fail(new Error("the MCP server closed its input")));
|
|
107
|
-
child.stdout.setEncoding("utf8");
|
|
108
|
-
child.stdout.on("data", (chunk) => {
|
|
109
|
-
buffer += chunk;
|
|
110
|
-
if (buffer.length > 1e6)
|
|
111
|
-
return fail(new Error("the MCP server sent too much output"));
|
|
112
|
-
for (let newline = buffer.indexOf("\n"); newline !== -1; newline = buffer.indexOf("\n")) {
|
|
113
|
-
const line = buffer.slice(0, newline);
|
|
114
|
-
buffer = buffer.slice(newline + 1);
|
|
115
|
-
try {
|
|
116
|
-
const value = JSON.parse(line);
|
|
117
|
-
if (typeof value.id !== "number")
|
|
118
|
-
continue;
|
|
119
|
-
const waiter = pending.get(value.id);
|
|
120
|
-
if (!waiter)
|
|
121
|
-
continue;
|
|
122
|
-
pending.delete(value.id);
|
|
123
|
-
if (value.error)
|
|
124
|
-
waiter.reject(new Error("the MCP server rejected the handshake"));
|
|
125
|
-
else
|
|
126
|
-
waiter.resolve(value.result ?? {});
|
|
127
|
-
} catch {
|
|
128
|
-
fail(new Error("the MCP server sent invalid JSON"));
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
});
|
|
132
|
-
try {
|
|
133
|
-
timer = setTimeout(() => fail(new Error("the MCP server did not answer in time")), timeoutMs);
|
|
134
|
-
await request(1, "initialize", {
|
|
135
|
-
protocolVersion: "2025-11-25",
|
|
136
|
-
capabilities: {},
|
|
137
|
-
clientInfo: { name: "cli-base-mcp-doctor", version: "1" }
|
|
138
|
-
});
|
|
139
|
-
child.stdin.write(`${JSON.stringify({ jsonrpc: "2.0", method: "notifications/initialized" })}
|
|
140
|
-
`);
|
|
141
|
-
const result = await request(2, "tools/list", {});
|
|
142
|
-
const tools = result.tools;
|
|
143
|
-
if (!Array.isArray(tools))
|
|
144
|
-
throw new Error("the MCP server returned no tool list");
|
|
145
|
-
const named = tools.filter((item) => item !== null && typeof item === "object" && "name" in item && typeof item.name === "string");
|
|
146
|
-
if (named.length !== tools.length)
|
|
147
|
-
throw new Error("the MCP server returned an invalid tool list");
|
|
148
|
-
return {
|
|
149
|
-
tools: named.map((item) => item.name),
|
|
150
|
-
potentialWrites: named.filter((item) => item.annotations?.readOnlyHint !== true).map((item) => item.name)
|
|
151
|
-
};
|
|
152
|
-
} finally {
|
|
153
|
-
if (timer)
|
|
154
|
-
clearTimeout(timer);
|
|
155
|
-
pending.clear();
|
|
156
|
-
child.stdin.end();
|
|
157
|
-
child.kill();
|
|
158
|
-
}
|
|
159
|
-
}, "probeStdio");
|
|
160
|
-
export {
|
|
161
|
-
installStdioEntry,
|
|
162
|
-
probeStdio,
|
|
163
|
-
removeArguments,
|
|
164
|
-
removeStdioEntry,
|
|
165
|
-
setupArguments,
|
|
166
|
-
stdioEntryStatus
|
|
167
|
-
};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
-
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
searchMeetingsCombined
|
|
5
|
-
} from "./chunk-GWGHH56B.js";
|
|
6
|
-
import "./chunk-6VK332XS.js";
|
|
7
|
-
import "./chunk-BP4FYANF.js";
|
|
8
|
-
import "./chunk-4HLQ2JGK.js";
|
|
9
|
-
import "./chunk-PMUPN6JW.js";
|
|
10
|
-
import "./chunk-YY7XKHDY.js";
|
|
11
|
-
import "./chunk-2JHVQMVC.js";
|
|
12
|
-
import "./chunk-LAYYO4WD.js";
|
|
13
|
-
import "./chunk-E745WZKY.js";
|
|
14
|
-
import "./chunk-274SLQNW.js";
|
|
15
|
-
import "./chunk-KKFY23AK.js";
|
|
16
|
-
import "./chunk-UAWSINMC.js";
|
|
17
|
-
import "./chunk-DNCLQPOM.js";
|
|
18
|
-
import "./chunk-6CWL5BKG.js";
|
|
19
|
-
import "./chunk-ESN3W2MZ.js";
|
|
20
|
-
import "./chunk-Y5E2WNWB.js";
|
|
21
|
-
import "./chunk-IANKXHSE.js";
|
|
22
|
-
import "./chunk-BBGJQMRI.js";
|
|
23
|
-
import "./chunk-ZVVMGPBJ.js";
|
|
24
|
-
export {
|
|
25
|
-
searchMeetingsCombined
|
|
26
|
-
};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
-
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
createMeetingRemoteModel,
|
|
5
|
-
meetingEmbeddingModel,
|
|
6
|
-
openMeetingEmbedder
|
|
7
|
-
} from "./chunk-7UVDPRFK.js";
|
|
8
|
-
import "./chunk-HP7A2ZOP.js";
|
|
9
|
-
import "./chunk-KVJ3I7UL.js";
|
|
10
|
-
import "./chunk-BP4FYANF.js";
|
|
11
|
-
import "./chunk-6QYZP4E2.js";
|
|
12
|
-
import "./chunk-ACI4YIEH.js";
|
|
13
|
-
import "./chunk-4HLQ2JGK.js";
|
|
14
|
-
import "./chunk-E745WZKY.js";
|
|
15
|
-
import "./chunk-274SLQNW.js";
|
|
16
|
-
import "./chunk-6CWL5BKG.js";
|
|
17
|
-
import "./chunk-ESN3W2MZ.js";
|
|
18
|
-
import "./chunk-Y5E2WNWB.js";
|
|
19
|
-
import "./chunk-IANKXHSE.js";
|
|
20
|
-
import "./chunk-BBGJQMRI.js";
|
|
21
|
-
import "./chunk-ZVVMGPBJ.js";
|
|
22
|
-
export {
|
|
23
|
-
createMeetingRemoteModel,
|
|
24
|
-
meetingEmbeddingModel,
|
|
25
|
-
openMeetingEmbedder
|
|
26
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
-
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
applyMeetingEmbedding,
|
|
5
|
-
proposeMeetingEmbedding,
|
|
6
|
-
readMeetingSemantic,
|
|
7
|
-
validateVector
|
|
8
|
-
} from "./chunk-6VK332XS.js";
|
|
9
|
-
import "./chunk-KKFY23AK.js";
|
|
10
|
-
import "./chunk-UAWSINMC.js";
|
|
11
|
-
import "./chunk-DNCLQPOM.js";
|
|
12
|
-
import "./chunk-6CWL5BKG.js";
|
|
13
|
-
import "./chunk-ESN3W2MZ.js";
|
|
14
|
-
import "./chunk-Y5E2WNWB.js";
|
|
15
|
-
import "./chunk-IANKXHSE.js";
|
|
16
|
-
import "./chunk-BBGJQMRI.js";
|
|
17
|
-
import "./chunk-ZVVMGPBJ.js";
|
|
18
|
-
export {
|
|
19
|
-
applyMeetingEmbedding,
|
|
20
|
-
proposeMeetingEmbedding,
|
|
21
|
-
readMeetingSemantic,
|
|
22
|
-
validateVector
|
|
23
|
-
};
|