@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,266 +0,0 @@
|
|
|
1
|
-
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
-
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
PER_RUN,
|
|
5
|
-
envelope
|
|
6
|
-
} from "./chunk-Y6PVS55U.js";
|
|
7
|
-
import {
|
|
8
|
-
mcpUrlOf
|
|
9
|
-
} from "./chunk-UR5DBODY.js";
|
|
10
|
-
import {
|
|
11
|
-
skillResources
|
|
12
|
-
} from "./chunk-M7H4MCAX.js";
|
|
13
|
-
import {
|
|
14
|
-
StdioServerTransport,
|
|
15
|
-
answeredWire,
|
|
16
|
-
serveStdio
|
|
17
|
-
} from "./chunk-VB7FZOYX.js";
|
|
18
|
-
import {
|
|
19
|
-
runCommandForAgent,
|
|
20
|
-
toolsFromCommands
|
|
21
|
-
} from "./chunk-W5QHB53X.js";
|
|
22
|
-
import "./chunk-BDKVOU3I.js";
|
|
23
|
-
import {
|
|
24
|
-
appInstructions
|
|
25
|
-
} from "./chunk-2XBDILVW.js";
|
|
26
|
-
import {
|
|
27
|
-
answered,
|
|
28
|
-
failed,
|
|
29
|
-
registerCommands
|
|
30
|
-
} from "./chunk-PSKTMMCO.js";
|
|
31
|
-
import {
|
|
32
|
-
agentJson
|
|
33
|
-
} from "./chunk-HZENBDW2.js";
|
|
34
|
-
import "./chunk-EQG3PIH2.js";
|
|
35
|
-
import {
|
|
36
|
-
mcpHttpMarker
|
|
37
|
-
} from "./chunk-DCYFT3FR.js";
|
|
38
|
-
import {
|
|
39
|
-
McpServer
|
|
40
|
-
} from "./chunk-PL5P7UKW.js";
|
|
41
|
-
import "./chunk-UKAAAOPC.js";
|
|
42
|
-
import "./chunk-ZED2CJW5.js";
|
|
43
|
-
import "./chunk-EGTCQKHV.js";
|
|
44
|
-
import "./chunk-KQPUVXKX.js";
|
|
45
|
-
import "./chunk-RQOZBTNI.js";
|
|
46
|
-
import "./chunk-QVSL5WJ7.js";
|
|
47
|
-
import "./chunk-676C2LE6.js";
|
|
48
|
-
import "./chunk-QPHBK63S.js";
|
|
49
|
-
import "./chunk-N46F72AF.js";
|
|
50
|
-
import "./chunk-GBHMT2IU.js";
|
|
51
|
-
import "./chunk-GWGHH56B.js";
|
|
52
|
-
import "./chunk-6VK332XS.js";
|
|
53
|
-
import "./chunk-NB7EOAUZ.js";
|
|
54
|
-
import "./chunk-WOPVBRPV.js";
|
|
55
|
-
import "./chunk-A6EZK5RG.js";
|
|
56
|
-
import "./chunk-TY7NDMFY.js";
|
|
57
|
-
import "./chunk-AIKFOBDO.js";
|
|
58
|
-
import "./chunk-HC6VN5CO.js";
|
|
59
|
-
import "./chunk-NEMX3UNN.js";
|
|
60
|
-
import "./chunk-KXJ3JEDH.js";
|
|
61
|
-
import "./chunk-66ALX4ZI.js";
|
|
62
|
-
import "./chunk-7UVDPRFK.js";
|
|
63
|
-
import "./chunk-HP7A2ZOP.js";
|
|
64
|
-
import "./chunk-KVJ3I7UL.js";
|
|
65
|
-
import "./chunk-Q7ICVP25.js";
|
|
66
|
-
import "./chunk-L75SMSJR.js";
|
|
67
|
-
import {
|
|
68
|
-
DEFAULT_OUTPUT_BYTES,
|
|
69
|
-
changesAuthorityAt,
|
|
70
|
-
describeProgram,
|
|
71
|
-
environmentOf,
|
|
72
|
-
fetchesOnlyAt,
|
|
73
|
-
judgedTargets,
|
|
74
|
-
readsOverMcpAt,
|
|
75
|
-
rootOf2 as rootOf
|
|
76
|
-
} from "./chunk-V5EJSF2B.js";
|
|
77
|
-
import "./chunk-2CI2OEZQ.js";
|
|
78
|
-
import {
|
|
79
|
-
readOnlyLockOf
|
|
80
|
-
} from "./chunk-TKNM22OH.js";
|
|
81
|
-
import "./chunk-T7IAWEBU.js";
|
|
82
|
-
import "./chunk-3YM4B2GT.js";
|
|
83
|
-
import "./chunk-QVYAV7F2.js";
|
|
84
|
-
import "./chunk-KJ6USQDZ.js";
|
|
85
|
-
import "./chunk-G6PETRMV.js";
|
|
86
|
-
import "./chunk-BP4FYANF.js";
|
|
87
|
-
import "./chunk-6QYZP4E2.js";
|
|
88
|
-
import "./chunk-ACI4YIEH.js";
|
|
89
|
-
import "./chunk-4HLQ2JGK.js";
|
|
90
|
-
import "./chunk-OBXQLFT5.js";
|
|
91
|
-
import "./chunk-2GP573Q4.js";
|
|
92
|
-
import "./chunk-JQ54DYAQ.js";
|
|
93
|
-
import "./chunk-PMUPN6JW.js";
|
|
94
|
-
import "./chunk-YJXJJ2XP.js";
|
|
95
|
-
import "./chunk-LEKKTJKK.js";
|
|
96
|
-
import "./chunk-YY7XKHDY.js";
|
|
97
|
-
import "./chunk-2JHVQMVC.js";
|
|
98
|
-
import "./chunk-ZOYOXWJB.js";
|
|
99
|
-
import "./chunk-WMANRJR5.js";
|
|
100
|
-
import "./chunk-GTKPMYK7.js";
|
|
101
|
-
import "./chunk-DSZYABYL.js";
|
|
102
|
-
import "./chunk-73MOMNLL.js";
|
|
103
|
-
import "./chunk-LAYYO4WD.js";
|
|
104
|
-
import "./chunk-E745WZKY.js";
|
|
105
|
-
import "./chunk-4N7PP76S.js";
|
|
106
|
-
import "./chunk-TXDR6YSF.js";
|
|
107
|
-
import "./chunk-D72URWJE.js";
|
|
108
|
-
import "./chunk-274SLQNW.js";
|
|
109
|
-
import "./chunk-G46WJ7YO.js";
|
|
110
|
-
import "./chunk-GGMAIIVE.js";
|
|
111
|
-
import "./chunk-KKFY23AK.js";
|
|
112
|
-
import "./chunk-UAWSINMC.js";
|
|
113
|
-
import "./chunk-DNCLQPOM.js";
|
|
114
|
-
import "./chunk-6CWL5BKG.js";
|
|
115
|
-
import {
|
|
116
|
-
mcpErrorResult
|
|
117
|
-
} from "./chunk-ESN3W2MZ.js";
|
|
118
|
-
import "./chunk-Y5E2WNWB.js";
|
|
119
|
-
import {
|
|
120
|
-
CliError
|
|
121
|
-
} from "./chunk-IANKXHSE.js";
|
|
122
|
-
import "./chunk-BBGJQMRI.js";
|
|
123
|
-
import {
|
|
124
|
-
__name
|
|
125
|
-
} from "./chunk-ZVVMGPBJ.js";
|
|
126
|
-
|
|
127
|
-
// 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/mcp/app-server.js
|
|
128
|
-
var EXCLUDED = [["mcp"]];
|
|
129
|
-
var aliasesOf = /* @__PURE__ */ __name((root, path) => {
|
|
130
|
-
let at = root;
|
|
131
|
-
for (const name of path)
|
|
132
|
-
at = at?.commands.find((child) => child.name() === name);
|
|
133
|
-
const aliases = at?.aliases() ?? [];
|
|
134
|
-
return aliases.length > 0 ? { aliases } : {};
|
|
135
|
-
}, "aliasesOf");
|
|
136
|
-
var createAppServer = /* @__PURE__ */ __name((command, context, options) => {
|
|
137
|
-
const { app } = options;
|
|
138
|
-
const root = rootOf(command);
|
|
139
|
-
const environment = environmentOf(command);
|
|
140
|
-
if (!environment.runCommand)
|
|
141
|
-
throw new Error("the MCP server runs inside run(), which hands it the program");
|
|
142
|
-
const program = { run: environment.runCommand, commands: describeProgram(root) };
|
|
143
|
-
const flags = command.optsWithGlobals();
|
|
144
|
-
const overrides = flags.permission ?? [];
|
|
145
|
-
const { settings } = context;
|
|
146
|
-
const levels = /* @__PURE__ */ __name(() => options.resolveSettings(flags, { env: context.env }).permissions, "levels");
|
|
147
|
-
const readOnly = /* @__PURE__ */ __name(() => readOnlyLockOf(app, context.env) !== void 0, "readOnly");
|
|
148
|
-
const authority = changesAuthorityAt(root);
|
|
149
|
-
const fetches = fetchesOnlyAt(root);
|
|
150
|
-
const targets = judgedTargets(root);
|
|
151
|
-
const passed = Object.fromEntries(Object.entries(environment).filter(([key]) => !PER_RUN.has(key)));
|
|
152
|
-
const tools = toolsFromCommands(program.commands, {
|
|
153
|
-
includeUnavailable: true,
|
|
154
|
-
exclude: EXCLUDED,
|
|
155
|
-
levels: settings.permissions,
|
|
156
|
-
currentLevels: levels,
|
|
157
|
-
readOnly: readOnly(),
|
|
158
|
-
authority,
|
|
159
|
-
fetchOnly: readsOverMcpAt(root),
|
|
160
|
-
fetches,
|
|
161
|
-
permissions: options.permissions
|
|
162
|
-
});
|
|
163
|
-
const availability = /* @__PURE__ */ __name((one) => () => {
|
|
164
|
-
const permitted = one.availability?.() ?? { available: true };
|
|
165
|
-
if (!permitted.available)
|
|
166
|
-
return permitted;
|
|
167
|
-
return options.availability?.(one.path, settings.profile) ?? permitted;
|
|
168
|
-
}, "availability");
|
|
169
|
-
const commands = Object.fromEntries(tools.map((one) => [
|
|
170
|
-
one.command,
|
|
171
|
-
{
|
|
172
|
-
title: one.title,
|
|
173
|
-
description: one.description,
|
|
174
|
-
...one.keywords ? { keywords: one.keywords } : {},
|
|
175
|
-
...aliasesOf(root, one.path),
|
|
176
|
-
writes: one.writes,
|
|
177
|
-
availability: availability(one),
|
|
178
|
-
input: one.input,
|
|
179
|
-
run: /* @__PURE__ */ __name(async (input, ctx) => {
|
|
180
|
-
const own = options.availability?.(one.path, settings.profile);
|
|
181
|
-
if (own && !own.available)
|
|
182
|
-
return failed(new CliError("permission_error", `${one.command}: ${own.reason ?? "unavailable for this profile"}`, {
|
|
183
|
-
...own.permission ? { permission: own.permission } : {}
|
|
184
|
-
}), app.errors);
|
|
185
|
-
const traceparent = ctx?.mcpReq?._meta?.traceparent;
|
|
186
|
-
const env = typeof traceparent === "string" ? { ...context.env, TRACEPARENT: traceparent } : context.env;
|
|
187
|
-
const answer = await runCommandForAgent(program, one.path, input, {
|
|
188
|
-
profile: settings.profile,
|
|
189
|
-
readOnly: readOnly(),
|
|
190
|
-
env,
|
|
191
|
-
levels,
|
|
192
|
-
overrides,
|
|
193
|
-
authority,
|
|
194
|
-
fetches,
|
|
195
|
-
permissions: options.permissions,
|
|
196
|
-
environment: passed
|
|
197
|
-
});
|
|
198
|
-
if ("error" in answer)
|
|
199
|
-
return mcpErrorResult(JSON.parse(agentJson(answer.error)));
|
|
200
|
-
try {
|
|
201
|
-
return answered(envelope(one.command, answer.result), DEFAULT_OUTPUT_BYTES, targets);
|
|
202
|
-
} catch (error) {
|
|
203
|
-
return failed(error, app.errors);
|
|
204
|
-
}
|
|
205
|
-
}, "run")
|
|
206
|
-
}
|
|
207
|
-
]));
|
|
208
|
-
const skills = options.skill ? skillResources(app, options.skill) : [];
|
|
209
|
-
const skill = skills[0];
|
|
210
|
-
const build = /* @__PURE__ */ __name(() => {
|
|
211
|
-
const server = new McpServer({ name: app.command, version: app.version }, {
|
|
212
|
-
instructions: appInstructions({
|
|
213
|
-
command: app.command,
|
|
214
|
-
name: options.name,
|
|
215
|
-
profile: settings.profile,
|
|
216
|
-
untrusted: options.untrusted,
|
|
217
|
-
...skill ? { skill: skill.instruction } : {}
|
|
218
|
-
})
|
|
219
|
-
});
|
|
220
|
-
registerCommands(server, app.command, commands, app.errors, void 0, app.messenger);
|
|
221
|
-
for (const { uri, name, title, description, mimeType, read } of skills)
|
|
222
|
-
server.registerResource(name, uri, { title, description, mimeType }, read);
|
|
223
|
-
return server;
|
|
224
|
-
}, "build");
|
|
225
|
-
return { build, offered: Object.keys(commands) };
|
|
226
|
-
}, "createAppServer");
|
|
227
|
-
var serveAppOverStdio = /* @__PURE__ */ __name(async (command, context, options) => {
|
|
228
|
-
const { build } = createAppServer(command, context, options);
|
|
229
|
-
const { stdin, stdout, signal } = environmentOf(command);
|
|
230
|
-
const own = stdin && stdout && stdin !== process.stdin;
|
|
231
|
-
const wire = answeredWire(own ? stdin : process.stdin, own ? stdout : process.stdout);
|
|
232
|
-
const handle = serveStdio(build, {
|
|
233
|
-
transport: new StdioServerTransport(wire.input, wire.output),
|
|
234
|
-
onerror: /* @__PURE__ */ __name((error) => context.renderer.note(`mcp: ${error.message}`), "onerror")
|
|
235
|
-
});
|
|
236
|
-
await wire.finished(own ? signal : void 0);
|
|
237
|
-
wire.release();
|
|
238
|
-
await handle.close();
|
|
239
|
-
}, "serveAppOverStdio");
|
|
240
|
-
var serveAppOverHttp = /* @__PURE__ */ __name(async (command, context, options, http) => {
|
|
241
|
-
const { app } = options;
|
|
242
|
-
const { build } = createAppServer(command, context, options);
|
|
243
|
-
const { serveOverHttp } = await import("./serve-ODVRPFJO.js");
|
|
244
|
-
const listening = await serveOverHttp(build, {
|
|
245
|
-
...http,
|
|
246
|
-
appName: app.command,
|
|
247
|
-
reaches: `your ${options.name}`,
|
|
248
|
-
onCode: /* @__PURE__ */ __name((code, expires) => context.renderer.note(context.env[mcpHttpMarker(app.envPrefix)] === void 0 ? `login code for a new browser app: ${code} (until ${expires.toTimeString().slice(0, 5)}; a new one after each login)` : `a new login code for a browser app: \`${app.command} ${context.settings.profile} mcp server status\``), "onCode"),
|
|
249
|
-
onError: /* @__PURE__ */ __name((error) => context.renderer.note(`mcp: ${error.message}`), "onError")
|
|
250
|
-
}).catch((error) => {
|
|
251
|
-
if (error.code === "EADDRINUSE")
|
|
252
|
-
throw new CliError("configuration_error", `port ${http.port} is in use \u2014 pass another with --port`);
|
|
253
|
-
throw error;
|
|
254
|
-
});
|
|
255
|
-
context.renderer.note(`serving on ${listening.url.href} \u2014 point your tunnel at it; connectors use ${mcpUrlOf(http.publicUrl).href}`);
|
|
256
|
-
await new Promise((resolve) => {
|
|
257
|
-
process.once("SIGINT", resolve);
|
|
258
|
-
process.once("SIGTERM", resolve);
|
|
259
|
-
});
|
|
260
|
-
await listening.close();
|
|
261
|
-
}, "serveAppOverHttp");
|
|
262
|
-
export {
|
|
263
|
-
createAppServer,
|
|
264
|
-
serveAppOverHttp,
|
|
265
|
-
serveAppOverStdio
|
|
266
|
-
};
|
|
@@ -1,169 +0,0 @@
|
|
|
1
|
-
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
-
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
DefaultLogger,
|
|
5
|
-
DrizzleQueryError,
|
|
6
|
-
NoopLogger,
|
|
7
|
-
SQLiteAsyncDatabase,
|
|
8
|
-
SQLiteAsyncPreparedQuery,
|
|
9
|
-
SQLiteAsyncSession,
|
|
10
|
-
SQLiteAsyncTransaction,
|
|
11
|
-
SQLiteDialect,
|
|
12
|
-
booleanFromInteger,
|
|
13
|
-
bufferFromBytes,
|
|
14
|
-
castToText,
|
|
15
|
-
dateFromStoredMilliseconds,
|
|
16
|
-
dateFromStoredSeconds,
|
|
17
|
-
entityKind,
|
|
18
|
-
jitCompatCheck,
|
|
19
|
-
refineSqliteCodecs,
|
|
20
|
-
sql
|
|
21
|
-
} from "./chunk-4N7PP76S.js";
|
|
22
|
-
import {
|
|
23
|
-
__name
|
|
24
|
-
} from "./chunk-ZVVMGPBJ.js";
|
|
25
|
-
|
|
26
|
-
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/bun.js
|
|
27
|
-
import { Database } from "bun:sqlite";
|
|
28
|
-
var bunSQLiteCodecs = refineSqliteCodecs({
|
|
29
|
-
"integer:boolean": { normalize: booleanFromInteger },
|
|
30
|
-
"integer:timestamp": { normalize: dateFromStoredSeconds },
|
|
31
|
-
"integer:timestamp_ms": { normalize: dateFromStoredMilliseconds },
|
|
32
|
-
"text:json": { normalize: JSON.parse },
|
|
33
|
-
blob: { normalize: bufferFromBytes },
|
|
34
|
-
"blob:json": {
|
|
35
|
-
cast: castToText,
|
|
36
|
-
normalize: JSON.parse
|
|
37
|
-
},
|
|
38
|
-
"blob:bigint": {
|
|
39
|
-
cast: castToText,
|
|
40
|
-
normalize: BigInt
|
|
41
|
-
},
|
|
42
|
-
numeric: {
|
|
43
|
-
cast: castToText,
|
|
44
|
-
normalize: String
|
|
45
|
-
},
|
|
46
|
-
"numeric:number": { normalize: Number },
|
|
47
|
-
"numeric:bigint": {
|
|
48
|
-
cast: castToText,
|
|
49
|
-
normalize: BigInt
|
|
50
|
-
}
|
|
51
|
-
});
|
|
52
|
-
var SQLiteBunSession = class extends SQLiteAsyncSession {
|
|
53
|
-
static {
|
|
54
|
-
__name(this, "SQLiteBunSession");
|
|
55
|
-
}
|
|
56
|
-
client;
|
|
57
|
-
relations;
|
|
58
|
-
options;
|
|
59
|
-
static [entityKind] = "SQLiteBunSession";
|
|
60
|
-
logger;
|
|
61
|
-
constructor(client, dialect, relations, options = {}) {
|
|
62
|
-
super(dialect, "sync");
|
|
63
|
-
this.client = client;
|
|
64
|
-
this.relations = relations;
|
|
65
|
-
this.options = options;
|
|
66
|
-
this.logger = options.logger ?? new NoopLogger();
|
|
67
|
-
}
|
|
68
|
-
exec(query) {
|
|
69
|
-
this.client.exec(query);
|
|
70
|
-
}
|
|
71
|
-
prepareQuery(query, mode, _prepare, executeMethod, mapper, queryMetadata) {
|
|
72
|
-
let stmt;
|
|
73
|
-
try {
|
|
74
|
-
stmt = this.client.query(query.sql);
|
|
75
|
-
} catch (e) {
|
|
76
|
-
throw new DrizzleQueryError(query.sql, this.options.paramsInErrors ? query.params : void 0, e);
|
|
77
|
-
}
|
|
78
|
-
return new SQLiteAsyncPreparedQuery("sync", executeMethod, {
|
|
79
|
-
all: /* @__PURE__ */ __name((params) => {
|
|
80
|
-
if (mode === "arrays") return stmt.values(...params);
|
|
81
|
-
return stmt.all(...params);
|
|
82
|
-
}, "all"),
|
|
83
|
-
get: /* @__PURE__ */ __name((params) => {
|
|
84
|
-
if (mode === "arrays") return stmt.values(...params)[0];
|
|
85
|
-
return stmt.get(...params);
|
|
86
|
-
}, "get"),
|
|
87
|
-
run: /* @__PURE__ */ __name((params) => {
|
|
88
|
-
return stmt.run(...params);
|
|
89
|
-
}, "run")
|
|
90
|
-
}, query, mapper, mode, this.logger, void 0, queryMetadata, void 0, this.options.paramsInErrors);
|
|
91
|
-
}
|
|
92
|
-
transaction(transaction, config = {}) {
|
|
93
|
-
const tx = new SQLiteBunTransaction("sync", this.dialect, this, this.relations);
|
|
94
|
-
let result;
|
|
95
|
-
const nativeTx = this.client.transaction(() => {
|
|
96
|
-
result = transaction(tx);
|
|
97
|
-
});
|
|
98
|
-
if (config.behavior === "concurrent") throw new Error("Concurrent transactions are not supported by driver");
|
|
99
|
-
nativeTx[config.behavior ?? "deferred"]();
|
|
100
|
-
return result;
|
|
101
|
-
}
|
|
102
|
-
};
|
|
103
|
-
var SQLiteBunTransaction = class SQLiteBunTransaction2 extends SQLiteAsyncTransaction {
|
|
104
|
-
static {
|
|
105
|
-
__name(this, "SQLiteBunTransaction2");
|
|
106
|
-
}
|
|
107
|
-
static [entityKind] = "SQLiteBunTransaction";
|
|
108
|
-
transaction(transaction) {
|
|
109
|
-
const savepointName = `sp${this.nestedIndex}`;
|
|
110
|
-
const tx = new SQLiteBunTransaction2("sync", this.dialect, this.session, this._.relations, this.nestedIndex + 1);
|
|
111
|
-
this.session.run(sql.raw(`savepoint ${savepointName}`));
|
|
112
|
-
try {
|
|
113
|
-
const result = transaction(tx);
|
|
114
|
-
this.session.run(sql.raw(`release savepoint ${savepointName}`));
|
|
115
|
-
return result;
|
|
116
|
-
} catch (err) {
|
|
117
|
-
try {
|
|
118
|
-
this.session.run(sql.raw(`rollback to savepoint ${savepointName}`));
|
|
119
|
-
} catch {
|
|
120
|
-
}
|
|
121
|
-
throw err;
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
};
|
|
125
|
-
var SQLiteBunDatabase = class extends SQLiteAsyncDatabase {
|
|
126
|
-
static {
|
|
127
|
-
__name(this, "SQLiteBunDatabase");
|
|
128
|
-
}
|
|
129
|
-
static [entityKind] = "SQLiteBunDatabase";
|
|
130
|
-
};
|
|
131
|
-
function construct(client, config = {}) {
|
|
132
|
-
const dialect = new SQLiteDialect({
|
|
133
|
-
codecs: config.codecs ?? bunSQLiteCodecs,
|
|
134
|
-
useJitMappers: jitCompatCheck(config.jit)
|
|
135
|
-
});
|
|
136
|
-
let logger;
|
|
137
|
-
if (config.logger === true) logger = new DefaultLogger();
|
|
138
|
-
else if (config.logger !== false) logger = config.logger;
|
|
139
|
-
const relations = config.relations ?? {};
|
|
140
|
-
const db = new SQLiteBunDatabase("sync", dialect, new SQLiteBunSession(client, dialect, relations, {
|
|
141
|
-
logger,
|
|
142
|
-
paramsInErrors: config.paramsInErrors
|
|
143
|
-
}), relations);
|
|
144
|
-
db.$client = client;
|
|
145
|
-
return db;
|
|
146
|
-
}
|
|
147
|
-
__name(construct, "construct");
|
|
148
|
-
function drizzle(...params) {
|
|
149
|
-
if (params[0] === void 0 || typeof params[0] === "string") return construct(params[0] === void 0 ? new Database() : new Database(params[0]), params[1]);
|
|
150
|
-
const { connection, client, ...DrizzleSQLiteConfig } = params[0];
|
|
151
|
-
if (client) return construct(client, DrizzleSQLiteConfig);
|
|
152
|
-
if (typeof connection === "object") {
|
|
153
|
-
const { source, ...opts } = connection;
|
|
154
|
-
const options = Object.values(opts).filter((v) => v !== void 0).length ? opts : void 0;
|
|
155
|
-
return construct(new Database(source, options), DrizzleSQLiteConfig);
|
|
156
|
-
}
|
|
157
|
-
return construct(new Database(connection), DrizzleSQLiteConfig);
|
|
158
|
-
}
|
|
159
|
-
__name(drizzle, "drizzle");
|
|
160
|
-
(function(_drizzle) {
|
|
161
|
-
function mock(config) {
|
|
162
|
-
return construct({}, config);
|
|
163
|
-
}
|
|
164
|
-
__name(mock, "mock");
|
|
165
|
-
_drizzle.mock = mock;
|
|
166
|
-
})(drizzle || (drizzle = {}));
|
|
167
|
-
export {
|
|
168
|
-
drizzle
|
|
169
|
-
};
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
-
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
loadVectorExtension,
|
|
5
|
-
vectorExtension
|
|
6
|
-
} from "./chunk-MQLPZBMQ.js";
|
|
7
|
-
import {
|
|
8
|
-
refuseOwnerStoreInTests
|
|
9
|
-
} from "./chunk-274SLQNW.js";
|
|
10
|
-
import "./chunk-6CWL5BKG.js";
|
|
11
|
-
import "./chunk-ESN3W2MZ.js";
|
|
12
|
-
import {
|
|
13
|
-
importFrom
|
|
14
|
-
} from "./chunk-Y5E2WNWB.js";
|
|
15
|
-
import "./chunk-IANKXHSE.js";
|
|
16
|
-
import "./chunk-BBGJQMRI.js";
|
|
17
|
-
import {
|
|
18
|
-
__name
|
|
19
|
-
} from "./chunk-ZVVMGPBJ.js";
|
|
20
|
-
|
|
21
|
-
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/store/drivers/bun-sqlite.js
|
|
22
|
-
var customised = false;
|
|
23
|
-
var ownLibrary = /* @__PURE__ */ __name(async () => {
|
|
24
|
-
try {
|
|
25
|
-
const { libraryFor } = await importFrom(new URL("store/drivers/bun-sqlite.js", import.meta.resolve("@wirecat/cli-core")).href, "@wirecat/cli-core-sqlite");
|
|
26
|
-
return libraryFor();
|
|
27
|
-
} catch {
|
|
28
|
-
return void 0;
|
|
29
|
-
}
|
|
30
|
-
}, "ownLibrary");
|
|
31
|
-
var bunDatabase = /* @__PURE__ */ __name(async () => {
|
|
32
|
-
const specifier = "bun:sqlite";
|
|
33
|
-
const { Database } = await importFrom(new URL("store/drivers/bun-sqlite.js", import.meta.resolve("@wirecat/cli-core")).href, specifier);
|
|
34
|
-
if (process.platform === "darwin" && !customised) {
|
|
35
|
-
customised = true;
|
|
36
|
-
const library = await ownLibrary();
|
|
37
|
-
if (library)
|
|
38
|
-
Database.setCustomSQLite(library);
|
|
39
|
-
}
|
|
40
|
-
return Database;
|
|
41
|
-
}, "bunDatabase");
|
|
42
|
-
var openWithBunSqlite = /* @__PURE__ */ __name(async (path) => cacheOverBunSqlite(await bunClient(path)), "openWithBunSqlite");
|
|
43
|
-
var bunClient = /* @__PURE__ */ __name(async (path, options) => {
|
|
44
|
-
refuseOwnerStoreInTests(path);
|
|
45
|
-
const Database = await bunDatabase();
|
|
46
|
-
const extension = await vectorExtension();
|
|
47
|
-
const client = options ? new Database(path, options) : new Database(path);
|
|
48
|
-
try {
|
|
49
|
-
loadVectorExtension(client, extension);
|
|
50
|
-
return client;
|
|
51
|
-
} catch (error) {
|
|
52
|
-
client.close();
|
|
53
|
-
throw error;
|
|
54
|
-
}
|
|
55
|
-
}, "bunClient");
|
|
56
|
-
var cacheOverBunSqlite = /* @__PURE__ */ __name((database) => {
|
|
57
|
-
return {
|
|
58
|
-
exec: /* @__PURE__ */ __name((sql) => database.exec(sql), "exec"),
|
|
59
|
-
prepare: /* @__PURE__ */ __name((sql) => {
|
|
60
|
-
const statement = database.query(sql);
|
|
61
|
-
return {
|
|
62
|
-
run: /* @__PURE__ */ __name((...parameters) => ({ changes: Number(statement.run(...parameters).changes) }), "run"),
|
|
63
|
-
// Bun answers null for no row; the seam promises undefined, and `!== undefined` checks rely on it.
|
|
64
|
-
get: /* @__PURE__ */ __name((...parameters) => statement.get(...parameters) ?? void 0, "get"),
|
|
65
|
-
all: /* @__PURE__ */ __name((...parameters) => statement.all(...parameters), "all")
|
|
66
|
-
};
|
|
67
|
-
}, "prepare"),
|
|
68
|
-
close: /* @__PURE__ */ __name(() => database.close(), "close")
|
|
69
|
-
};
|
|
70
|
-
}, "cacheOverBunSqlite");
|
|
71
|
-
export {
|
|
72
|
-
bunClient,
|
|
73
|
-
bunDatabase,
|
|
74
|
-
cacheOverBunSqlite,
|
|
75
|
-
openWithBunSqlite
|
|
76
|
-
};
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
-
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
resolvePaths
|
|
5
|
-
} from "./chunk-6CWL5BKG.js";
|
|
6
|
-
import {
|
|
7
|
-
__name
|
|
8
|
-
} from "./chunk-ZVVMGPBJ.js";
|
|
9
|
-
|
|
10
|
-
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/store/path.js
|
|
11
|
-
import { realpathSync } from "node:fs";
|
|
12
|
-
import { userInfo } from "node:os";
|
|
13
|
-
import { basename, dirname, isAbsolute, join, relative, resolve } from "node:path";
|
|
14
|
-
var wirecatDirectory = /* @__PURE__ */ __name((env = process.env, platform) => resolvePaths({ appName: "WireCat", prefix: "WIRECAT", env, ...platform ? { platform } : {} }).state, "wirecatDirectory");
|
|
15
|
-
var storePath = /* @__PURE__ */ __name((env = process.env) => env.MESSAGING_STORE ?? join(wirecatDirectory(env), "wirecat.db"), "storePath");
|
|
16
|
-
var accountHome = /* @__PURE__ */ __name(() => {
|
|
17
|
-
try {
|
|
18
|
-
return userInfo().homedir;
|
|
19
|
-
} catch {
|
|
20
|
-
return void 0;
|
|
21
|
-
}
|
|
22
|
-
}, "accountHome");
|
|
23
|
-
var inOwnerFolder = /* @__PURE__ */ __name((file, home = accountHome()) => {
|
|
24
|
-
if (!home || file === ":memory:")
|
|
25
|
-
return false;
|
|
26
|
-
const owner = wirecatDirectory({ HOME: home, USERPROFILE: home });
|
|
27
|
-
const within = /* @__PURE__ */ __name((path, folder) => {
|
|
28
|
-
const inside = relative(folder, path);
|
|
29
|
-
return !(inside.startsWith("..") || isAbsolute(inside));
|
|
30
|
-
}, "within");
|
|
31
|
-
return within(resolve(file), owner) || within(settled(resolve(file)), settled(owner));
|
|
32
|
-
}, "inOwnerFolder");
|
|
33
|
-
var settled = /* @__PURE__ */ __name((path) => {
|
|
34
|
-
try {
|
|
35
|
-
return realpathSync(path);
|
|
36
|
-
} catch {
|
|
37
|
-
const parent = dirname(path);
|
|
38
|
-
return parent === path ? path : join(settled(parent), basename(path));
|
|
39
|
-
}
|
|
40
|
-
}, "settled");
|
|
41
|
-
var refuseOwnerStoreInTests = /* @__PURE__ */ __name((file, env = process.env, home = accountHome()) => {
|
|
42
|
-
if (!env.VITEST || !inOwnerFolder(file, home))
|
|
43
|
-
return;
|
|
44
|
-
throw new Error(`a test tried to open ${file}, in the owner's real WireCat folder; give it a MESSAGING_STORE or HOME of its own`);
|
|
45
|
-
}, "refuseOwnerStoreInTests");
|
|
46
|
-
|
|
47
|
-
export {
|
|
48
|
-
wirecatDirectory,
|
|
49
|
-
storePath,
|
|
50
|
-
accountHome,
|
|
51
|
-
inOwnerFolder,
|
|
52
|
-
settled,
|
|
53
|
-
refuseOwnerStoreInTests
|
|
54
|
-
};
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
-
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
endpoint
|
|
5
|
-
} from "./chunk-6QYZP4E2.js";
|
|
6
|
-
import {
|
|
7
|
-
check,
|
|
8
|
-
getDotPath,
|
|
9
|
-
maxLength,
|
|
10
|
-
minLength,
|
|
11
|
-
optional,
|
|
12
|
-
picklist,
|
|
13
|
-
pipe,
|
|
14
|
-
record,
|
|
15
|
-
regex,
|
|
16
|
-
safeParse,
|
|
17
|
-
strictObject,
|
|
18
|
-
string,
|
|
19
|
-
trim
|
|
20
|
-
} from "./chunk-ESN3W2MZ.js";
|
|
21
|
-
import {
|
|
22
|
-
CliError
|
|
23
|
-
} from "./chunk-IANKXHSE.js";
|
|
24
|
-
import {
|
|
25
|
-
__name
|
|
26
|
-
} from "./chunk-ZVVMGPBJ.js";
|
|
27
|
-
|
|
28
|
-
// 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/models/settings.js
|
|
29
|
-
var MODEL_FIELDS = ["provider", "model", "base_url"];
|
|
30
|
-
var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
|
|
31
|
-
provider: optional(picklist(["off", "openai", "anthropic"])),
|
|
32
|
-
model: optional(pipe(string(), trim(), minLength(1), maxLength(200))),
|
|
33
|
-
base_url: optional(pipe(string(), check((value) => endpoint(value), "use an HTTP/S endpoint without credentials, query or fragment")))
|
|
34
|
-
}));
|
|
35
|
-
var resolveModelSettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
36
|
-
const configured = layers.map(([from, scope]) => [from, scope?.models ?? {}]);
|
|
37
|
-
const purposes = /* @__PURE__ */ new Set([
|
|
38
|
-
"default",
|
|
39
|
-
"analysis",
|
|
40
|
-
"replies",
|
|
41
|
-
...configured.flatMap(([, models2]) => Object.keys(models2))
|
|
42
|
-
]);
|
|
43
|
-
for (const name of Object.keys(env)) {
|
|
44
|
-
const match = new RegExp(`^${prefix}_MODELS_([A-Z][A-Z0-9_]*)_(PROVIDER|MODEL|BASE_URL)$`).exec(name);
|
|
45
|
-
if (match?.[1])
|
|
46
|
-
purposes.add(match[1].toLowerCase().replaceAll("_", "-"));
|
|
47
|
-
}
|
|
48
|
-
const models = {};
|
|
49
|
-
const sources = {};
|
|
50
|
-
for (const purpose of purposes) {
|
|
51
|
-
const resolved = {};
|
|
52
|
-
for (const field of MODEL_FIELDS) {
|
|
53
|
-
const variable = `${prefix}_MODELS_${purpose.replaceAll("-", "_").toUpperCase()}_${field.toUpperCase()}`;
|
|
54
|
-
const candidates = [
|
|
55
|
-
[variable, env[variable]?.trim() || void 0],
|
|
56
|
-
...configured.map(([from, model]) => [
|
|
57
|
-
`${from}: models.${purpose}.${field}`,
|
|
58
|
-
model[purpose]?.[field]
|
|
59
|
-
]),
|
|
60
|
-
...purpose === "default" ? [] : [
|
|
61
|
-
[
|
|
62
|
-
`${prefix}_MODELS_DEFAULT_${field.toUpperCase()}`,
|
|
63
|
-
env[`${prefix}_MODELS_DEFAULT_${field.toUpperCase()}`]?.trim() || void 0
|
|
64
|
-
],
|
|
65
|
-
...configured.map(([from, model]) => [
|
|
66
|
-
`${from}: models.default.${field}`,
|
|
67
|
-
model.default?.[field]
|
|
68
|
-
])
|
|
69
|
-
]
|
|
70
|
-
];
|
|
71
|
-
const selected = candidates.find(([, value]) => value !== void 0);
|
|
72
|
-
if (selected)
|
|
73
|
-
resolved[field] = selected[1];
|
|
74
|
-
sources[`models.${purpose}.${field}`] = selected?.[0] ?? "default";
|
|
75
|
-
}
|
|
76
|
-
if (Object.keys(resolved).length)
|
|
77
|
-
models[purpose] = resolved;
|
|
78
|
-
}
|
|
79
|
-
const checked = safeParse(modelSettingsShape, models);
|
|
80
|
-
if (!checked.success)
|
|
81
|
-
throw new CliError("configuration_error", `models.${getDotPath(checked.issues[0]) ?? "settings"} is invalid`);
|
|
82
|
-
return { models: checked.output, sources };
|
|
83
|
-
}, "resolveModelSettings");
|
|
84
|
-
var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
|
|
85
|
-
const configured = { ...settings.models?.default, ...settings.models?.[purpose] };
|
|
86
|
-
if (configured.provider === void 0 || configured.provider === "off")
|
|
87
|
-
return void 0;
|
|
88
|
-
if (!configured.model)
|
|
89
|
-
throw new CliError("configuration_error", `set models.${purpose}.model before calling its provider`);
|
|
90
|
-
return {
|
|
91
|
-
provider: configured.provider,
|
|
92
|
-
model: configured.model,
|
|
93
|
-
...configured.base_url === void 0 ? {} : { baseUrl: configured.base_url }
|
|
94
|
-
};
|
|
95
|
-
}, "modelTarget");
|
|
96
|
-
|
|
97
|
-
export {
|
|
98
|
-
modelSettingsShape,
|
|
99
|
-
resolveModelSettings,
|
|
100
|
-
modelTarget
|
|
101
|
-
};
|