@wirecat/zoom-cli 0.83.0 → 0.84.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -10
- package/contracts/wirecat.json +34 -1
- package/dist/account-removal.d.ts +1 -1
- package/dist/account-removal.d.ts.map +1 -1
- package/dist/account-removal.js +1 -1
- package/dist/account-removal.js.map +1 -1
- package/dist/agent-skill.js +1 -1
- package/dist/agent-skill.js.map +1 -1
- package/dist/answer-entities.d.ts +1 -1
- package/dist/answer-entities.d.ts.map +1 -1
- package/dist/answer-entities.js +1 -1
- package/dist/answer-entities.js.map +1 -1
- package/dist/answer-output.d.ts +2 -2
- package/dist/answer-output.d.ts.map +1 -1
- package/dist/answer-output.js +1 -1
- package/dist/answer-output.js.map +1 -1
- package/dist/answer-policy.d.ts.map +1 -1
- package/dist/answer-policy.js +1 -2
- package/dist/answer-policy.js.map +1 -1
- package/dist/answers.js +1 -1
- package/dist/answers.js.map +1 -1
- package/dist/api.d.ts +2 -2
- package/dist/api.d.ts.map +1 -1
- package/dist/api.js +1 -1
- package/dist/api.js.map +1 -1
- package/dist/archive-commands.d.ts +1 -1
- package/dist/archive-commands.d.ts.map +1 -1
- package/dist/archive-commands.js +1 -2
- package/dist/archive-commands.js.map +1 -1
- package/dist/archive-import.d.ts +1 -1
- package/dist/archive-import.d.ts.map +1 -1
- package/dist/archive-import.js +1 -1
- package/dist/archive-import.js.map +1 -1
- package/dist/archive-transcripts.d.ts +1 -1
- package/dist/archive-transcripts.d.ts.map +1 -1
- package/dist/archive-transcripts.js +1 -2
- package/dist/archive-transcripts.js.map +1 -1
- package/dist/bin/main.js +3 -3
- package/dist/bin/main.js.map +1 -1
- package/dist/bin/zm.js +11 -11
- package/dist/bundle/answer-policy-FBJQFXVQ.js +33 -0
- package/dist/bundle/{chunk-26TW5RZ6.js → chunk-6BQOT7BA.js} +61 -94
- package/dist/bundle/chunk-AEWYRB6F.js +8 -0
- package/dist/bundle/{chunk-OGTN2KVG.js → chunk-DAPVDZQO.js} +4 -14
- package/dist/bundle/{chunk-H6A4NWYJ.js → chunk-HU5W6TCS.js} +114 -128
- package/dist/bundle/{chunk-2DK5BBFF.js → chunk-JD63PEI3.js} +3 -8
- package/dist/bundle/{chunk-R6IA5UQB.js → chunk-ODJNJCPV.js} +8 -2
- package/dist/bundle/{chunk-XEOZTA3H.js → chunk-W6YFWJDR.js} +2 -5
- package/dist/bundle/{chunk-434YFJAE.js → chunk-WSGD5Q6L.js} +3 -9
- package/dist/bundle/chunk-YQDNTG4D.js +922 -0
- package/dist/bundle/config-JGJXLNXC.js +29 -0
- package/dist/bundle/{folders-ROKVKSCT.js → folders-B2GKJOC2.js} +2 -7
- package/dist/bundle/{main-GCK3VYAA.js → main-7DP3EEM2.js} +19 -41
- package/dist/bundle/{output-file-RYIOIXMD.js → output-file-PKA7MJEP.js} +3 -11
- package/dist/bundle/{program-OYLVYA4Z.js → program-DM4ILZWZ.js} +642 -801
- package/dist/bundle/run-log-ML7ZCWXD.js +54 -0
- package/dist/bundle/store-connection-MMHILGCB.js +21 -0
- package/dist/bundle/streaming-PRGWGNHY.js +12 -0
- package/dist/bundle/tokens-UWS4VT4B.js +18 -0
- package/dist/bundle/zm.js +4 -161
- package/dist/bundle/{zoom-app-4F4YY4OI.js → zoom-app-DID42LPS.js} +5 -13
- package/dist/chat-file.d.ts +1 -1
- package/dist/chat-file.d.ts.map +1 -1
- package/dist/commands.js +1 -1
- package/dist/commands.js.map +1 -1
- package/dist/config-issues.d.ts +1 -1
- package/dist/config-issues.d.ts.map +1 -1
- package/dist/config-issues.js +1 -1
- package/dist/config-issues.js.map +1 -1
- package/dist/config.d.ts +1 -2
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +1 -2
- package/dist/config.js.map +1 -1
- package/dist/contacts-commands.d.ts +1 -1
- package/dist/contacts-commands.d.ts.map +1 -1
- package/dist/contacts-commands.js +1 -1
- package/dist/contacts-commands.js.map +1 -1
- package/dist/contract-overrides.js +1 -1
- package/dist/contract-overrides.js.map +1 -1
- package/dist/errors.d.ts +1 -1
- package/dist/errors.d.ts.map +1 -1
- package/dist/execution.d.ts +1 -1
- package/dist/execution.d.ts.map +1 -1
- package/dist/execution.js +1 -1
- package/dist/execution.js.map +1 -1
- package/dist/files.d.ts +2 -2
- package/dist/files.d.ts.map +1 -1
- package/dist/files.js +1 -1
- package/dist/files.js.map +1 -1
- package/dist/first-screen.js +1 -1
- package/dist/first-screen.js.map +1 -1
- package/dist/identity.d.ts +1 -1
- package/dist/identity.d.ts.map +1 -1
- package/dist/identity.js +6 -0
- package/dist/identity.js.map +1 -1
- package/dist/ingestion-search-commands.d.ts +1 -1
- package/dist/ingestion-search-commands.d.ts.map +1 -1
- package/dist/ingestion-search-commands.js +1 -1
- package/dist/ingestion-search-commands.js.map +1 -1
- package/dist/local-transcription-commands.d.ts +1 -1
- package/dist/local-transcription-commands.d.ts.map +1 -1
- package/dist/local-transcription-commands.js +1 -2
- package/dist/local-transcription-commands.js.map +1 -1
- package/dist/local-transcription.d.ts +1 -2
- package/dist/local-transcription.d.ts.map +1 -1
- package/dist/local-transcription.js +3 -3
- package/dist/local-transcription.js.map +1 -1
- package/dist/meeting-commands.d.ts +1 -1
- package/dist/meeting-commands.d.ts.map +1 -1
- package/dist/meeting-commands.js +1 -2
- package/dist/meeting-commands.js.map +1 -1
- package/dist/meeting-communications-binding.d.ts +1 -2
- package/dist/meeting-communications-binding.d.ts.map +1 -1
- package/dist/meeting-communications-binding.js.map +1 -1
- package/dist/meeting-context-commands.d.ts +1 -1
- package/dist/meeting-context-commands.d.ts.map +1 -1
- package/dist/meeting-context-commands.js +1 -1
- package/dist/meeting-context-commands.js.map +1 -1
- package/dist/meeting-context.d.ts +2 -4
- package/dist/meeting-context.d.ts.map +1 -1
- package/dist/meeting-context.js +1 -1
- package/dist/meeting-context.js.map +1 -1
- package/dist/meeting-integration-commands.d.ts +1 -1
- package/dist/meeting-integration-commands.d.ts.map +1 -1
- package/dist/meeting-integration-commands.js +1 -2
- package/dist/meeting-integration-commands.js.map +1 -1
- package/dist/meeting-integration.d.ts +1 -1
- package/dist/meeting-integration.d.ts.map +1 -1
- package/dist/meeting-integration.js +1 -1
- package/dist/meeting-integration.js.map +1 -1
- package/dist/meeting-inventory.d.ts +1 -1
- package/dist/meeting-inventory.d.ts.map +1 -1
- package/dist/meeting-inventory.js +1 -1
- package/dist/meeting-inventory.js.map +1 -1
- package/dist/meeting-preparation.d.ts +1 -2
- package/dist/meeting-preparation.d.ts.map +1 -1
- package/dist/meeting-preparation.js +1 -1
- package/dist/meeting-preparation.js.map +1 -1
- package/dist/meeting-project-candidates.d.ts +1 -1
- package/dist/meeting-project-candidates.d.ts.map +1 -1
- package/dist/meeting-project-evidence-commands.d.ts +1 -1
- package/dist/meeting-project-evidence-commands.d.ts.map +1 -1
- package/dist/meeting-project-evidence-commands.js +1 -2
- package/dist/meeting-project-evidence-commands.js.map +1 -1
- package/dist/meeting-read-command-bindings.js +1 -1
- package/dist/meeting-read-command-bindings.js.map +1 -1
- package/dist/meeting-review-commands.d.ts +1 -3
- package/dist/meeting-review-commands.d.ts.map +1 -1
- package/dist/meeting-review-commands.js +1 -2
- package/dist/meeting-review-commands.js.map +1 -1
- package/dist/meeting-search-commands.d.ts +2 -3
- package/dist/meeting-search-commands.d.ts.map +1 -1
- package/dist/meeting-search-commands.js +2 -4
- package/dist/meeting-search-commands.js.map +1 -1
- package/dist/meeting-searches-commands.d.ts +1 -2
- package/dist/meeting-searches-commands.d.ts.map +1 -1
- package/dist/meeting-searches-commands.js +1 -2
- package/dist/meeting-searches-commands.js.map +1 -1
- package/dist/meeting-selection-options.d.ts +1 -1
- package/dist/meeting-selection-options.d.ts.map +1 -1
- package/dist/meeting-selection-options.js +1 -2
- package/dist/meeting-selection-options.js.map +1 -1
- package/dist/meeting-semantic-commands.d.ts +1 -2
- package/dist/meeting-semantic-commands.d.ts.map +1 -1
- package/dist/meeting-semantic-commands.js +1 -1
- package/dist/meeting-semantic-commands.js.map +1 -1
- package/dist/meeting-semantic.d.ts +2 -2
- package/dist/meeting-semantic.d.ts.map +1 -1
- package/dist/meeting-semantic.js +1 -1
- package/dist/meeting-semantic.js.map +1 -1
- package/dist/meeting-source.d.ts +1 -1
- package/dist/meeting-source.d.ts.map +1 -1
- package/dist/meeting-stats-commands.d.ts +1 -3
- package/dist/meeting-stats-commands.d.ts.map +1 -1
- package/dist/meeting-stats-commands.js +1 -2
- package/dist/meeting-stats-commands.js.map +1 -1
- package/dist/models-commands.d.ts +1 -1
- package/dist/models-commands.d.ts.map +1 -1
- package/dist/models-commands.js +1 -1
- package/dist/models-commands.js.map +1 -1
- package/dist/occurrence-schedule.d.ts +1 -1
- package/dist/occurrence-schedule.d.ts.map +1 -1
- package/dist/permissions.d.ts +1 -1
- package/dist/permissions.d.ts.map +1 -1
- package/dist/permissions.js +1 -2
- package/dist/permissions.js.map +1 -1
- package/dist/profile.js +1 -1
- package/dist/profile.js.map +1 -1
- package/dist/program-bindings.js +1 -1
- package/dist/program-bindings.js.map +1 -1
- package/dist/program.d.ts +1 -2
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +1 -1
- package/dist/program.js.map +1 -1
- package/dist/progress-commands.d.ts +1 -1
- package/dist/progress-commands.d.ts.map +1 -1
- package/dist/progress-commands.js +1 -2
- package/dist/progress-commands.js.map +1 -1
- package/dist/read-only.js +1 -1
- package/dist/read-only.js.map +1 -1
- package/dist/recording-archive.d.ts.map +1 -1
- package/dist/recording-archive.js +1 -2
- package/dist/recording-archive.js.map +1 -1
- package/dist/recording-manifest.js +1 -1
- package/dist/recording-manifest.js.map +1 -1
- package/dist/recording-partial-store.d.ts +2 -3
- package/dist/recording-partial-store.d.ts.map +1 -1
- package/dist/recording-partial-store.js +1 -1
- package/dist/recording-partial-store.js.map +1 -1
- package/dist/recording-promotion-store.d.ts +1 -2
- package/dist/recording-promotion-store.d.ts.map +1 -1
- package/dist/recording-promotion-store.js +1 -2
- package/dist/recording-promotion-store.js.map +1 -1
- package/dist/recording-schedule-commands.d.ts +1 -1
- package/dist/recording-schedule-commands.d.ts.map +1 -1
- package/dist/recording-schedule-commands.js +1 -1
- package/dist/recording-schedule-commands.js.map +1 -1
- package/dist/recording-schedule-store.js +1 -1
- package/dist/recording-schedule-store.js.map +1 -1
- package/dist/recording-schedule-systemd.js +1 -1
- package/dist/recording-schedule-systemd.js.map +1 -1
- package/dist/recording-schedule.d.ts +1 -1
- package/dist/recording-schedule.d.ts.map +1 -1
- package/dist/recording-schedule.js +1 -1
- package/dist/recording-schedule.js.map +1 -1
- package/dist/recording-sync-store.d.ts +1 -1
- package/dist/recording-sync-store.d.ts.map +1 -1
- package/dist/recording-sync-store.js +1 -2
- package/dist/recording-sync-store.js.map +1 -1
- package/dist/recording-sync.d.ts +1 -1
- package/dist/recording-sync.d.ts.map +1 -1
- package/dist/recording-sync.js +1 -1
- package/dist/recording-sync.js.map +1 -1
- package/dist/recording-writer-lease.d.ts +1 -1
- package/dist/recording-writer-lease.d.ts.map +1 -1
- package/dist/recording-writer-lease.js +1 -1
- package/dist/recording-writer-lease.js.map +1 -1
- package/dist/recordings.d.ts +1 -1
- package/dist/recordings.d.ts.map +1 -1
- package/dist/recordings.js.map +1 -1
- package/dist/remote-meetings.d.ts +19 -19
- package/dist/remote-meetings.d.ts.map +1 -1
- package/dist/remote-meetings.js +1 -1
- package/dist/remote-meetings.js.map +1 -1
- package/dist/request-events.d.ts +1 -1
- package/dist/request-events.d.ts.map +1 -1
- package/dist/request-events.js +1 -1
- package/dist/request-events.js.map +1 -1
- package/dist/run-log.d.ts +1 -1
- package/dist/run-log.d.ts.map +1 -1
- package/dist/run-log.js +1 -1
- package/dist/run-log.js.map +1 -1
- package/dist/run.d.ts +1 -1
- package/dist/run.d.ts.map +1 -1
- package/dist/run.js +1 -2
- package/dist/run.js.map +1 -1
- package/dist/series-inventory.d.ts +2 -2
- package/dist/series-inventory.js +1 -1
- package/dist/series-inventory.js.map +1 -1
- package/dist/setup-commands.d.ts +1 -1
- package/dist/setup-commands.d.ts.map +1 -1
- package/dist/setup-commands.js +1 -1
- package/dist/setup-commands.js.map +1 -1
- package/dist/store-commands.d.ts +1 -1
- package/dist/store-commands.d.ts.map +1 -1
- package/dist/store-commands.js +1 -2
- package/dist/store-commands.js.map +1 -1
- package/dist/store-connection.d.ts +1 -3
- package/dist/store-connection.d.ts.map +1 -1
- package/dist/store-connection.js +14 -14
- package/dist/store-connection.js.map +1 -1
- package/dist/sync-progress.d.ts +4 -4
- package/dist/sync-progress.d.ts.map +1 -1
- package/dist/sync-progress.js +1 -1
- package/dist/sync-progress.js.map +1 -1
- package/dist/tokens.d.ts +1 -1
- package/dist/tokens.d.ts.map +1 -1
- package/dist/tokens.js +1 -1
- package/dist/tokens.js.map +1 -1
- package/dist/unified-search.d.ts +1 -1
- package/dist/unified-search.d.ts.map +1 -1
- package/dist/upcoming-meetings.d.ts +2 -2
- package/dist/upcoming-meetings.js +1 -1
- package/dist/upcoming-meetings.js.map +1 -1
- package/dist/upgrade.d.ts.map +1 -1
- package/dist/upgrade.js +1 -2
- package/dist/upgrade.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/watch-commands.d.ts +1 -2
- package/dist/watch-commands.d.ts.map +1 -1
- package/dist/watch-commands.js +1 -2
- package/dist/watch-commands.js.map +1 -1
- package/dist/watch-service.d.ts +1 -1
- package/dist/watch-service.d.ts.map +1 -1
- package/dist/watch-service.js +1 -1
- package/dist/watch-service.js.map +1 -1
- package/dist/zoom-app.d.ts +2 -2
- package/dist/zoom-app.d.ts.map +1 -1
- package/dist/zoom-app.js +1 -1
- package/dist/zoom-app.js.map +1 -1
- package/dist/zoom-search-commands.d.ts +1 -1
- package/dist/zoom-search-commands.d.ts.map +1 -1
- package/dist/zoom-search-commands.js +1 -1
- package/dist/zoom-search-commands.js.map +1 -1
- package/dist/zoom-session.d.ts +1 -1
- package/dist/zoom-session.d.ts.map +1 -1
- package/dist/zoom-session.js +1 -1
- package/dist/zoom-session.js.map +1 -1
- package/package.json +3 -3
- package/scenarios/person-in-meetings.md +1 -1
- package/skills/zoom-cli/SKILL.md +1 -1
- package/skills/zoom-cli/references/people-and-projects.md +5 -5
- package/skills/zoom-cli/references/prepare.md +2 -2
- package/dist/bundle/agent-3HDWEZ5M.js +0 -47
- package/dist/bundle/all-profiles-RY2OMSDL.js +0 -321
- package/dist/bundle/answer-policy-IFVXPPGW.js +0 -131
- package/dist/bundle/anthropic-36VPSF7B.js +0 -91
- package/dist/bundle/app-server-ZVJVUGB7.js +0 -267
- package/dist/bundle/bun-F4M4KCNA.js +0 -169
- package/dist/bundle/bun-sqlite-IOPYIUA7.js +0 -76
- package/dist/bundle/chunk-2IBKKVVZ.js +0 -335
- package/dist/bundle/chunk-2S54TM4N.js +0 -230
- package/dist/bundle/chunk-3AQHKXVR.js +0 -161
- package/dist/bundle/chunk-3CW2C7ZA.js +0 -217
- package/dist/bundle/chunk-3KUEZK5Z.js +0 -73
- package/dist/bundle/chunk-3PXUQFHX.js +0 -2333
- package/dist/bundle/chunk-3QN5KDFZ.js +0 -3012
- package/dist/bundle/chunk-575JMTDR.js +0 -562
- package/dist/bundle/chunk-5B2LV4MS.js +0 -26
- package/dist/bundle/chunk-5WL5RHOO.js +0 -167
- package/dist/bundle/chunk-6C7ESL5N.js +0 -295
- package/dist/bundle/chunk-6E4KLYNP.js +0 -229
- package/dist/bundle/chunk-7JDXR75Q.js +0 -465
- package/dist/bundle/chunk-AK3H2C65.js +0 -1349
- package/dist/bundle/chunk-AQ5RIOUE.js +0 -633
- package/dist/bundle/chunk-AQLUAQXJ.js +0 -1259
- package/dist/bundle/chunk-ASTLGFTR.js +0 -12270
- package/dist/bundle/chunk-ATHBB7OU.js +0 -106
- package/dist/bundle/chunk-B2NM65RD.js +0 -80
- package/dist/bundle/chunk-B4KHDXJE.js +0 -64
- package/dist/bundle/chunk-BAFC7WNI.js +0 -276
- package/dist/bundle/chunk-BBGJQMRI.js +0 -34
- package/dist/bundle/chunk-BTLZYRIW.js +0 -1007
- package/dist/bundle/chunk-BZDS2X6Y.js +0 -5150
- package/dist/bundle/chunk-C7JPYWYQ.js +0 -77
- package/dist/bundle/chunk-CDQUW25G.js +0 -3752
- package/dist/bundle/chunk-CJWGJBHW.js +0 -1044
- package/dist/bundle/chunk-D72URWJE.js +0 -532
- package/dist/bundle/chunk-D7RCUODT.js +0 -185
- package/dist/bundle/chunk-DFDN6AUB.js +0 -21
- package/dist/bundle/chunk-DNCLQPOM.js +0 -7
- package/dist/bundle/chunk-DQJECJUE.js +0 -2257
- package/dist/bundle/chunk-E4JQ3MCW.js +0 -2338
- package/dist/bundle/chunk-E4ODYLEK.js +0 -209
- package/dist/bundle/chunk-EE45N67Q.js +0 -86
- package/dist/bundle/chunk-EEEU4MKK.js +0 -210
- package/dist/bundle/chunk-ESN3W2MZ.js +0 -2624
- package/dist/bundle/chunk-ETIZGA4P.js +0 -340
- package/dist/bundle/chunk-F44QK6CK.js +0 -52
- package/dist/bundle/chunk-FH2UFNH6.js +0 -54
- package/dist/bundle/chunk-FTH6WGYO.js +0 -24
- package/dist/bundle/chunk-FWACRG4X.js +0 -160
- package/dist/bundle/chunk-FXBHOCJK.js +0 -24600
- package/dist/bundle/chunk-G5SZL7G2.js +0 -150
- package/dist/bundle/chunk-G6CHEFAG.js +0 -108
- package/dist/bundle/chunk-GHJD7PE6.js +0 -1068
- package/dist/bundle/chunk-GZ7WBU5Y.js +0 -18
- package/dist/bundle/chunk-HKLRI2LB.js +0 -555
- package/dist/bundle/chunk-HMD4FZYY.js +0 -133
- package/dist/bundle/chunk-HO4JGD4Q.js +0 -16
- package/dist/bundle/chunk-HTQTIKWP.js +0 -928
- package/dist/bundle/chunk-HUAHLO6N.js +0 -29
- package/dist/bundle/chunk-IANKXHSE.js +0 -46
- package/dist/bundle/chunk-IQZXFWFI.js +0 -170
- package/dist/bundle/chunk-ISQ23VKV.js +0 -123
- package/dist/bundle/chunk-JEH33ZCD.js +0 -58
- package/dist/bundle/chunk-JUNQYWQ2.js +0 -228
- package/dist/bundle/chunk-JUXMVQWJ.js +0 -799
- package/dist/bundle/chunk-KHQDWYCG.js +0 -82
- package/dist/bundle/chunk-KYRYD4CR.js +0 -38
- package/dist/bundle/chunk-LBGT6W4R.js +0 -377
- package/dist/bundle/chunk-LN7HRYTH.js +0 -80
- package/dist/bundle/chunk-MEB7HBTM.js +0 -95
- package/dist/bundle/chunk-MEEFWYX3.js +0 -388
- package/dist/bundle/chunk-MNOAMJ6H.js +0 -94
- package/dist/bundle/chunk-MYHPXJDG.js +0 -142
- package/dist/bundle/chunk-NGI37RFW.js +0 -692
- package/dist/bundle/chunk-NZMWD7Y3.js +0 -68149
- package/dist/bundle/chunk-O6IECJRM.js +0 -54
- package/dist/bundle/chunk-OBWL3BUV.js +0 -800
- package/dist/bundle/chunk-OEEWVKJX.js +0 -53
- package/dist/bundle/chunk-OQYZ3W4K.js +0 -374
- package/dist/bundle/chunk-P3ZCTYGW.js +0 -101
- package/dist/bundle/chunk-PL5P7UKW.js +0 -25216
- package/dist/bundle/chunk-PVEBAHFU.js +0 -100
- package/dist/bundle/chunk-R2B6PUVI.js +0 -206
- package/dist/bundle/chunk-RLOH7RDN.js +0 -362
- package/dist/bundle/chunk-RQ4AXSCJ.js +0 -616
- package/dist/bundle/chunk-RYGTCRFZ.js +0 -140
- package/dist/bundle/chunk-S4PXWIE4.js +0 -408
- package/dist/bundle/chunk-SDZZYZLL.js +0 -58
- package/dist/bundle/chunk-SHQAYUK6.js +0 -1199
- package/dist/bundle/chunk-T3W4V4A6.js +0 -63
- package/dist/bundle/chunk-TCT5D2X2.js +0 -6848
- package/dist/bundle/chunk-TDWPOSPR.js +0 -198
- package/dist/bundle/chunk-TER3N27H.js +0 -353
- package/dist/bundle/chunk-TMTNP7QN.js +0 -214
- package/dist/bundle/chunk-TO5UEWXR.js +0 -288
- package/dist/bundle/chunk-TXDR6YSF.js +0 -23
- package/dist/bundle/chunk-TY7NDMFY.js +0 -46
- package/dist/bundle/chunk-UAWSINMC.js +0 -875
- package/dist/bundle/chunk-UBH7YF3C.js +0 -9354
- package/dist/bundle/chunk-UEAE3JUU.js +0 -46576
- package/dist/bundle/chunk-UHR363OD.js +0 -357
- package/dist/bundle/chunk-UM52A76S.js +0 -259
- package/dist/bundle/chunk-URP6BTHN.js +0 -624
- package/dist/bundle/chunk-UWQEAA6S.js +0 -13
- package/dist/bundle/chunk-VR7QZGRU.js +0 -185
- package/dist/bundle/chunk-VRH5PBSL.js +0 -755
- package/dist/bundle/chunk-VTLQTQKY.js +0 -1756
- package/dist/bundle/chunk-VTYNLTDW.js +0 -331
- package/dist/bundle/chunk-WY7XG6TE.js +0 -76
- package/dist/bundle/chunk-XH23ML2V.js +0 -195
- package/dist/bundle/chunk-XYF76A26.js +0 -27556
- package/dist/bundle/chunk-Y5E2WNWB.js +0 -35
- package/dist/bundle/chunk-ZDYJAEVB.js +0 -84
- package/dist/bundle/chunk-ZJ63HDBT.js +0 -71
- package/dist/bundle/chunk-ZT4ZPUIO.js +0 -218
- package/dist/bundle/chunk-ZVVMGPBJ.js +0 -50
- package/dist/bundle/cli-JK6PQSSN.js +0 -1270
- package/dist/bundle/command-contract-F3QNBKPX.js +0 -46
- package/dist/bundle/command-server-entry-DJLGN62J.js +0 -176
- package/dist/bundle/config-TYYMV3HV.js +0 -118
- package/dist/bundle/decode-ZZICNNFF.js +0 -31
- package/dist/bundle/dispatch-FKMIPCPQ.js +0 -412
- package/dist/bundle/dist-NQPF25XI.js +0 -322
- package/dist/bundle/dist-PAKDDIBT.js +0 -191
- package/dist/bundle/dist-XUFQCJXW.js +0 -7577
- package/dist/bundle/echarts-QMAA7HH5.js +0 -42501
- package/dist/bundle/embed-T64EUKUI.js +0 -38
- package/dist/bundle/embedder-ZEKISZXI.js +0 -111
- package/dist/bundle/failure-XTWBYI2A.js +0 -25
- package/dist/bundle/first-run-ZFNY4RRH.js +0 -29
- package/dist/bundle/first-screen-LPGCHRHZ.js +0 -47
- package/dist/bundle/instructions-4H7UREH2.js +0 -11
- package/dist/bundle/mcp-5HFPWC3W.js +0 -167
- package/dist/bundle/meeting-combined-7HDPOUPB.js +0 -28
- package/dist/bundle/meeting-model-MVUW7UPQ.js +0 -26
- package/dist/bundle/meeting-semantic-IF633WGX.js +0 -23
- package/dist/bundle/meetings-RY2AAPHV.js +0 -332
- package/dist/bundle/node-KM3CUABH.js +0 -2340
- package/dist/bundle/node-P3PUHKYH.js +0 -176
- package/dist/bundle/node-TLZSIHIJ.js +0 -21
- package/dist/bundle/node-sqlite-ASAZJNHE.js +0 -74
- package/dist/bundle/oauth-4U3OCK3W.js +0 -20
- package/dist/bundle/oauth-AJARLPSY.js +0 -46
- package/dist/bundle/open-SEJRY2ZI.js +0 -23
- package/dist/bundle/openai-FZDSC2AA.js +0 -28
- package/dist/bundle/process-AFIXYXWL.js +0 -91
- package/dist/bundle/prompt-BCRD64F4.js +0 -17
- package/dist/bundle/public-SVJILCNI.js +0 -206
- package/dist/bundle/recognize-25ITJWGX.js +0 -26
- package/dist/bundle/remote-5FBAJX7O.js +0 -32
- package/dist/bundle/rerank-2HGWWORY.js +0 -52
- package/dist/bundle/run-log-7HRF4Y47.js +0 -145
- package/dist/bundle/serve-RL35MSJD.js +0 -199
- package/dist/bundle/server-QUSBWACP.js +0 -229
- package/dist/bundle/server-SCK2SRDK.js +0 -96
- package/dist/bundle/services-BGRIQNDC.js +0 -609
- package/dist/bundle/speech-4W3ZMTFK.js +0 -89
- package/dist/bundle/sqlite-runtime-K3KLRZCV.js +0 -20
- package/dist/bundle/state-GYL4C74G.js +0 -36
- package/dist/bundle/store-27UQMNEO.js +0 -189
- package/dist/bundle/store-NLYH5SQX.js +0 -316
- package/dist/bundle/store-connection-CZILWRSR.js +0 -112
- package/dist/bundle/store-maintenance-command-Z3QLNSXJ.js +0 -84
- package/dist/bundle/streaming-73EKEGPF.js +0 -18
- package/dist/bundle/surface-CV3C4RV2.js +0 -82
- package/dist/bundle/tokens-PY3S22LY.js +0 -27
- /package/dist/bundle/{chunk-7ECP5ZQR.js → chunk-7O7XM37N.js} +0 -0
|
@@ -1,206 +0,0 @@
|
|
|
1
|
-
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
-
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
QUICK_HEALTH_CHECKS,
|
|
5
|
-
applyDocumentTransfer,
|
|
6
|
-
previewDocumentTransfer,
|
|
7
|
-
previewProjectAnnotationSnapshot,
|
|
8
|
-
snapshotProjectAnnotations,
|
|
9
|
-
storeDamageReport,
|
|
10
|
-
storeHealth
|
|
11
|
-
} from "./chunk-GHJD7PE6.js";
|
|
12
|
-
import {
|
|
13
|
-
note
|
|
14
|
-
} from "./chunk-B4KHDXJE.js";
|
|
15
|
-
import {
|
|
16
|
-
CALLBACK_PREFIX,
|
|
17
|
-
DECISION_ACTIONS,
|
|
18
|
-
DECISION_TTL_MS,
|
|
19
|
-
DEFAULT_DECISION_POLICY,
|
|
20
|
-
EVIDENCE_FINDINGS_KIND,
|
|
21
|
-
IDENTITY_LINK_KIND,
|
|
22
|
-
IDENTITY_LINK_SIGNALS,
|
|
23
|
-
IDENTITY_SPLIT_KIND,
|
|
24
|
-
LINK_WEAKNESSES,
|
|
25
|
-
MAIL_FINDINGS_KIND,
|
|
26
|
-
MIGRATIONS,
|
|
27
|
-
OLD_SENDER_BOT_PREFIX,
|
|
28
|
-
ORGANIZATIONS_QUERY,
|
|
29
|
-
PERSON_KINDS,
|
|
30
|
-
PROJECTS_QUERY,
|
|
31
|
-
PROJECT_ANNOTATIONS_MAX_BYTES,
|
|
32
|
-
REMINDERS_QUERY,
|
|
33
|
-
SENDER_BOT_PREFIX,
|
|
34
|
-
assertMayDecide,
|
|
35
|
-
callbackDataOf,
|
|
36
|
-
createTagRedirectIndex,
|
|
37
|
-
decodeProjectAnnotationSnapshot,
|
|
38
|
-
decodeProjectAnnotations,
|
|
39
|
-
isDecisionToken,
|
|
40
|
-
isOwnerOnlyKind,
|
|
41
|
-
mayDecide,
|
|
42
|
-
migrate,
|
|
43
|
-
openStore,
|
|
44
|
-
parseCallbackData,
|
|
45
|
-
planProjectAnnotationSnapshot,
|
|
46
|
-
planProjectAnnotations,
|
|
47
|
-
projectAnnotationSnapshotFingerprint,
|
|
48
|
-
projectAnnotationSnapshotSchema,
|
|
49
|
-
projectAnnotationsFingerprint,
|
|
50
|
-
registerProvider,
|
|
51
|
-
senderBotRef,
|
|
52
|
-
validateEvidenceFindings
|
|
53
|
-
} from "./chunk-NZMWD7Y3.js";
|
|
54
|
-
import "./chunk-LN7HRYTH.js";
|
|
55
|
-
import "./chunk-VTLQTQKY.js";
|
|
56
|
-
import "./chunk-3PXUQFHX.js";
|
|
57
|
-
import "./chunk-DQJECJUE.js";
|
|
58
|
-
import "./chunk-FWACRG4X.js";
|
|
59
|
-
import "./chunk-HO4JGD4Q.js";
|
|
60
|
-
import {
|
|
61
|
-
SOURCE_REVIEW_CAUSES,
|
|
62
|
-
SOURCE_REVIEW_KIND,
|
|
63
|
-
clearDamageMark,
|
|
64
|
-
damageMarkPath,
|
|
65
|
-
healthMarkPath,
|
|
66
|
-
journalMarkPath,
|
|
67
|
-
markStoreDamaged,
|
|
68
|
-
organization,
|
|
69
|
-
project,
|
|
70
|
-
readDamageMark,
|
|
71
|
-
readHealthMark,
|
|
72
|
-
readJournalMark,
|
|
73
|
-
recordDeepCheck,
|
|
74
|
-
reminder
|
|
75
|
-
} from "./chunk-URP6BTHN.js";
|
|
76
|
-
import "./chunk-HKLRI2LB.js";
|
|
77
|
-
import "./chunk-B2NM65RD.js";
|
|
78
|
-
import {
|
|
79
|
-
CLOSED_STATES,
|
|
80
|
-
FACT_STATUSES,
|
|
81
|
-
MEMORY_KINDS,
|
|
82
|
-
MEMORY_SCOPES,
|
|
83
|
-
MEMORY_STATUSES,
|
|
84
|
-
PRIORITY_LABELS,
|
|
85
|
-
TASK_STATES,
|
|
86
|
-
TASK_TYPES,
|
|
87
|
-
WORK_TASK_TYPES,
|
|
88
|
-
isClosedState,
|
|
89
|
-
priorityLabel,
|
|
90
|
-
priorityOf,
|
|
91
|
-
priorityOption
|
|
92
|
-
} from "./chunk-G5SZL7G2.js";
|
|
93
|
-
import {
|
|
94
|
-
BUSINESS_KINDS
|
|
95
|
-
} from "./chunk-LBGT6W4R.js";
|
|
96
|
-
import "./chunk-MNOAMJ6H.js";
|
|
97
|
-
import "./chunk-7JDXR75Q.js";
|
|
98
|
-
import "./chunk-SHQAYUK6.js";
|
|
99
|
-
import "./chunk-TCT5D2X2.js";
|
|
100
|
-
import {
|
|
101
|
-
storePath
|
|
102
|
-
} from "./chunk-FH2UFNH6.js";
|
|
103
|
-
import {
|
|
104
|
-
openCache
|
|
105
|
-
} from "./chunk-MEB7HBTM.js";
|
|
106
|
-
import {
|
|
107
|
-
PRAGMAS
|
|
108
|
-
} from "./chunk-KYRYD4CR.js";
|
|
109
|
-
import {
|
|
110
|
-
FACT_TYPES,
|
|
111
|
-
PAYMENT_DIRECTIONS,
|
|
112
|
-
PAYMENT_STATES,
|
|
113
|
-
paymentTitle,
|
|
114
|
-
validatePayment
|
|
115
|
-
} from "./chunk-BZDS2X6Y.js";
|
|
116
|
-
import "./chunk-UAWSINMC.js";
|
|
117
|
-
import "./chunk-DNCLQPOM.js";
|
|
118
|
-
import "./chunk-3QN5KDFZ.js";
|
|
119
|
-
import "./chunk-ESN3W2MZ.js";
|
|
120
|
-
import "./chunk-Y5E2WNWB.js";
|
|
121
|
-
import "./chunk-IANKXHSE.js";
|
|
122
|
-
import "./chunk-BBGJQMRI.js";
|
|
123
|
-
import "./chunk-ZVVMGPBJ.js";
|
|
124
|
-
export {
|
|
125
|
-
BUSINESS_KINDS,
|
|
126
|
-
CALLBACK_PREFIX,
|
|
127
|
-
CLOSED_STATES,
|
|
128
|
-
DECISION_ACTIONS,
|
|
129
|
-
DECISION_TTL_MS,
|
|
130
|
-
DEFAULT_DECISION_POLICY,
|
|
131
|
-
EVIDENCE_FINDINGS_KIND,
|
|
132
|
-
FACT_STATUSES,
|
|
133
|
-
FACT_TYPES,
|
|
134
|
-
IDENTITY_LINK_KIND,
|
|
135
|
-
IDENTITY_LINK_SIGNALS,
|
|
136
|
-
IDENTITY_SPLIT_KIND,
|
|
137
|
-
LINK_WEAKNESSES,
|
|
138
|
-
MAIL_FINDINGS_KIND,
|
|
139
|
-
MEMORY_KINDS,
|
|
140
|
-
MEMORY_SCOPES,
|
|
141
|
-
MEMORY_STATUSES,
|
|
142
|
-
MIGRATIONS,
|
|
143
|
-
OLD_SENDER_BOT_PREFIX,
|
|
144
|
-
ORGANIZATIONS_QUERY,
|
|
145
|
-
PAYMENT_DIRECTIONS,
|
|
146
|
-
PAYMENT_STATES,
|
|
147
|
-
PERSON_KINDS,
|
|
148
|
-
PRAGMAS,
|
|
149
|
-
PRIORITY_LABELS,
|
|
150
|
-
PROJECTS_QUERY,
|
|
151
|
-
PROJECT_ANNOTATIONS_MAX_BYTES,
|
|
152
|
-
QUICK_HEALTH_CHECKS,
|
|
153
|
-
REMINDERS_QUERY,
|
|
154
|
-
SENDER_BOT_PREFIX,
|
|
155
|
-
SOURCE_REVIEW_CAUSES,
|
|
156
|
-
SOURCE_REVIEW_KIND,
|
|
157
|
-
TASK_STATES,
|
|
158
|
-
TASK_TYPES,
|
|
159
|
-
WORK_TASK_TYPES,
|
|
160
|
-
applyDocumentTransfer,
|
|
161
|
-
assertMayDecide,
|
|
162
|
-
callbackDataOf,
|
|
163
|
-
clearDamageMark,
|
|
164
|
-
createTagRedirectIndex,
|
|
165
|
-
damageMarkPath,
|
|
166
|
-
decodeProjectAnnotationSnapshot,
|
|
167
|
-
decodeProjectAnnotations,
|
|
168
|
-
healthMarkPath,
|
|
169
|
-
isClosedState,
|
|
170
|
-
isDecisionToken,
|
|
171
|
-
isOwnerOnlyKind,
|
|
172
|
-
journalMarkPath,
|
|
173
|
-
markStoreDamaged,
|
|
174
|
-
mayDecide,
|
|
175
|
-
migrate,
|
|
176
|
-
note,
|
|
177
|
-
openCache,
|
|
178
|
-
openStore,
|
|
179
|
-
organization,
|
|
180
|
-
parseCallbackData,
|
|
181
|
-
paymentTitle,
|
|
182
|
-
planProjectAnnotationSnapshot,
|
|
183
|
-
planProjectAnnotations,
|
|
184
|
-
previewDocumentTransfer,
|
|
185
|
-
previewProjectAnnotationSnapshot,
|
|
186
|
-
priorityLabel,
|
|
187
|
-
priorityOf,
|
|
188
|
-
priorityOption,
|
|
189
|
-
project,
|
|
190
|
-
projectAnnotationSnapshotFingerprint,
|
|
191
|
-
projectAnnotationSnapshotSchema,
|
|
192
|
-
projectAnnotationsFingerprint,
|
|
193
|
-
readDamageMark,
|
|
194
|
-
readHealthMark,
|
|
195
|
-
readJournalMark,
|
|
196
|
-
recordDeepCheck,
|
|
197
|
-
registerProvider,
|
|
198
|
-
reminder,
|
|
199
|
-
senderBotRef,
|
|
200
|
-
snapshotProjectAnnotations,
|
|
201
|
-
storeDamageReport,
|
|
202
|
-
storeHealth,
|
|
203
|
-
storePath,
|
|
204
|
-
validateEvidenceFindings,
|
|
205
|
-
validatePayment
|
|
206
|
-
};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
-
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
SAMPLE_RATE,
|
|
5
|
-
decodeOgg,
|
|
6
|
-
detector,
|
|
7
|
-
loadSherpa,
|
|
8
|
-
openRecognizer,
|
|
9
|
-
openSpeechCutter,
|
|
10
|
-
toModelRate
|
|
11
|
-
} from "./chunk-2S54TM4N.js";
|
|
12
|
-
import "./chunk-3QN5KDFZ.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
|
-
SAMPLE_RATE,
|
|
20
|
-
decodeOgg,
|
|
21
|
-
detector,
|
|
22
|
-
loadSherpa,
|
|
23
|
-
openRecognizer,
|
|
24
|
-
openSpeechCutter,
|
|
25
|
-
toModelRate
|
|
26
|
-
};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
-
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
DEFAULT_OPENAI_MODEL,
|
|
5
|
-
OPENAI_MODELS,
|
|
6
|
-
OPENAI_URL,
|
|
7
|
-
isLocal,
|
|
8
|
-
openRemote,
|
|
9
|
-
remoteKey,
|
|
10
|
-
remoteModel
|
|
11
|
-
} from "./chunk-D7RCUODT.js";
|
|
12
|
-
import "./chunk-BTLZYRIW.js";
|
|
13
|
-
import "./chunk-3KUEZK5Z.js";
|
|
14
|
-
import "./chunk-VTYNLTDW.js";
|
|
15
|
-
import "./chunk-BAFC7WNI.js";
|
|
16
|
-
import "./chunk-SHQAYUK6.js";
|
|
17
|
-
import "./chunk-FH2UFNH6.js";
|
|
18
|
-
import "./chunk-3QN5KDFZ.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
|
-
DEFAULT_OPENAI_MODEL,
|
|
26
|
-
OPENAI_MODELS,
|
|
27
|
-
OPENAI_URL,
|
|
28
|
-
isLocal,
|
|
29
|
-
openRemote,
|
|
30
|
-
remoteKey,
|
|
31
|
-
remoteModel
|
|
32
|
-
};
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
-
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
defaultThreads,
|
|
5
|
-
loadModel,
|
|
6
|
-
truncated
|
|
7
|
-
} from "./chunk-BTLZYRIW.js";
|
|
8
|
-
import "./chunk-BAFC7WNI.js";
|
|
9
|
-
import "./chunk-FH2UFNH6.js";
|
|
10
|
-
import "./chunk-3QN5KDFZ.js";
|
|
11
|
-
import "./chunk-ESN3W2MZ.js";
|
|
12
|
-
import "./chunk-Y5E2WNWB.js";
|
|
13
|
-
import "./chunk-IANKXHSE.js";
|
|
14
|
-
import "./chunk-BBGJQMRI.js";
|
|
15
|
-
import {
|
|
16
|
-
__name
|
|
17
|
-
} from "./chunk-ZVVMGPBJ.js";
|
|
18
|
-
|
|
19
|
-
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/embeddings/rerank.js
|
|
20
|
-
var openReranker = /* @__PURE__ */ __name(async (model, directory, { threads = defaultThreads() } = {}) => {
|
|
21
|
-
const { ort, tokenizer, session } = await loadModel(model, directory, threads);
|
|
22
|
-
const typeIds = session.inputNames.includes("token_type_ids");
|
|
23
|
-
const output = session.outputNames[0];
|
|
24
|
-
const one = /* @__PURE__ */ __name(async (question, passage) => {
|
|
25
|
-
const encoded = tokenizer.encode(question, { text_pair: passage, return_token_type_ids: true });
|
|
26
|
-
const ids = truncated(encoded.ids, model.maxTokens);
|
|
27
|
-
const shape = [1, ids.length];
|
|
28
|
-
const feeds = {
|
|
29
|
-
input_ids: new ort.Tensor("int64", BigInt64Array.from(ids, BigInt), shape),
|
|
30
|
-
attention_mask: new ort.Tensor("int64", new BigInt64Array(ids.length).fill(1n), shape)
|
|
31
|
-
};
|
|
32
|
-
if (typeIds)
|
|
33
|
-
feeds.token_type_ids = new ort.Tensor("int64", BigInt64Array.from(truncated(encoded.token_type_ids, model.maxTokens), BigInt), shape);
|
|
34
|
-
const logit = (await session.run(feeds))[output]?.data[0];
|
|
35
|
-
if (typeof logit !== "number" || !Number.isFinite(logit))
|
|
36
|
-
throw new Error(`${model.id} gave no score`);
|
|
37
|
-
return logit;
|
|
38
|
-
}, "one");
|
|
39
|
-
return {
|
|
40
|
-
model,
|
|
41
|
-
score: /* @__PURE__ */ __name(async (question, passages) => {
|
|
42
|
-
const scores = [];
|
|
43
|
-
for (const passage of passages)
|
|
44
|
-
scores.push(await one(question, passage));
|
|
45
|
-
return scores;
|
|
46
|
-
}, "score"),
|
|
47
|
-
close: /* @__PURE__ */ __name(() => session.release(), "close")
|
|
48
|
-
};
|
|
49
|
-
}, "openReranker");
|
|
50
|
-
export {
|
|
51
|
-
openReranker
|
|
52
|
-
};
|
|
@@ -1,145 +0,0 @@
|
|
|
1
|
-
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
-
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import "./chunk-XYF76A26.js";
|
|
4
|
-
import "./chunk-TDWPOSPR.js";
|
|
5
|
-
import "./chunk-JUXMVQWJ.js";
|
|
6
|
-
import "./chunk-AK3H2C65.js";
|
|
7
|
-
import "./chunk-FTH6WGYO.js";
|
|
8
|
-
import "./chunk-MEEFWYX3.js";
|
|
9
|
-
import "./chunk-F44QK6CK.js";
|
|
10
|
-
import "./chunk-E4ODYLEK.js";
|
|
11
|
-
import "./chunk-C7JPYWYQ.js";
|
|
12
|
-
import "./chunk-3AQHKXVR.js";
|
|
13
|
-
import "./chunk-UBH7YF3C.js";
|
|
14
|
-
import "./chunk-JUNQYWQ2.js";
|
|
15
|
-
import "./chunk-AQLUAQXJ.js";
|
|
16
|
-
import "./chunk-TER3N27H.js";
|
|
17
|
-
import "./chunk-ETIZGA4P.js";
|
|
18
|
-
import "./chunk-ZDYJAEVB.js";
|
|
19
|
-
import "./chunk-EE45N67Q.js";
|
|
20
|
-
import "./chunk-UEAE3JUU.js";
|
|
21
|
-
import "./chunk-6E4KLYNP.js";
|
|
22
|
-
import "./chunk-5B2LV4MS.js";
|
|
23
|
-
import "./chunk-S4PXWIE4.js";
|
|
24
|
-
import "./chunk-VRH5PBSL.js";
|
|
25
|
-
import "./chunk-OQYZ3W4K.js";
|
|
26
|
-
import "./chunk-IQZXFWFI.js";
|
|
27
|
-
import "./chunk-UHR363OD.js";
|
|
28
|
-
import "./chunk-ISQ23VKV.js";
|
|
29
|
-
import "./chunk-HUAHLO6N.js";
|
|
30
|
-
import "./chunk-ZT4ZPUIO.js";
|
|
31
|
-
import "./chunk-MYHPXJDG.js";
|
|
32
|
-
import "./chunk-TY7NDMFY.js";
|
|
33
|
-
import "./chunk-RYGTCRFZ.js";
|
|
34
|
-
import "./chunk-CJWGJBHW.js";
|
|
35
|
-
import "./chunk-XH23ML2V.js";
|
|
36
|
-
import "./chunk-NGI37RFW.js";
|
|
37
|
-
import "./chunk-HTQTIKWP.js";
|
|
38
|
-
import "./chunk-WY7XG6TE.js";
|
|
39
|
-
import "./chunk-7ECP5ZQR.js";
|
|
40
|
-
import "./chunk-GHJD7PE6.js";
|
|
41
|
-
import "./chunk-UM52A76S.js";
|
|
42
|
-
import "./chunk-D7RCUODT.js";
|
|
43
|
-
import "./chunk-BTLZYRIW.js";
|
|
44
|
-
import "./chunk-VR7QZGRU.js";
|
|
45
|
-
import "./chunk-UWQEAA6S.js";
|
|
46
|
-
import "./chunk-GZ7WBU5Y.js";
|
|
47
|
-
import "./chunk-HMD4FZYY.js";
|
|
48
|
-
import "./chunk-ASTLGFTR.js";
|
|
49
|
-
import "./chunk-P3ZCTYGW.js";
|
|
50
|
-
import "./chunk-ZJ63HDBT.js";
|
|
51
|
-
import "./chunk-RLOH7RDN.js";
|
|
52
|
-
import "./chunk-T3W4V4A6.js";
|
|
53
|
-
import "./chunk-JEH33ZCD.js";
|
|
54
|
-
import "./chunk-RQ4AXSCJ.js";
|
|
55
|
-
import "./chunk-B4KHDXJE.js";
|
|
56
|
-
import "./chunk-2IBKKVVZ.js";
|
|
57
|
-
import "./chunk-3KUEZK5Z.js";
|
|
58
|
-
import "./chunk-VTYNLTDW.js";
|
|
59
|
-
import "./chunk-BAFC7WNI.js";
|
|
60
|
-
import "./chunk-PVEBAHFU.js";
|
|
61
|
-
import "./chunk-KHQDWYCG.js";
|
|
62
|
-
import "./chunk-NZMWD7Y3.js";
|
|
63
|
-
import "./chunk-LN7HRYTH.js";
|
|
64
|
-
import "./chunk-VTLQTQKY.js";
|
|
65
|
-
import "./chunk-3PXUQFHX.js";
|
|
66
|
-
import "./chunk-DQJECJUE.js";
|
|
67
|
-
import "./chunk-FWACRG4X.js";
|
|
68
|
-
import "./chunk-HO4JGD4Q.js";
|
|
69
|
-
import "./chunk-URP6BTHN.js";
|
|
70
|
-
import {
|
|
71
|
-
startRun
|
|
72
|
-
} from "./chunk-HKLRI2LB.js";
|
|
73
|
-
import "./chunk-B2NM65RD.js";
|
|
74
|
-
import "./chunk-G5SZL7G2.js";
|
|
75
|
-
import "./chunk-LBGT6W4R.js";
|
|
76
|
-
import "./chunk-MNOAMJ6H.js";
|
|
77
|
-
import "./chunk-7JDXR75Q.js";
|
|
78
|
-
import "./chunk-SHQAYUK6.js";
|
|
79
|
-
import "./chunk-TCT5D2X2.js";
|
|
80
|
-
import "./chunk-TXDR6YSF.js";
|
|
81
|
-
import "./chunk-D72URWJE.js";
|
|
82
|
-
import "./chunk-FH2UFNH6.js";
|
|
83
|
-
import "./chunk-ATHBB7OU.js";
|
|
84
|
-
import "./chunk-MEB7HBTM.js";
|
|
85
|
-
import "./chunk-KYRYD4CR.js";
|
|
86
|
-
import "./chunk-BZDS2X6Y.js";
|
|
87
|
-
import "./chunk-UAWSINMC.js";
|
|
88
|
-
import "./chunk-DNCLQPOM.js";
|
|
89
|
-
import {
|
|
90
|
-
createRecordLog
|
|
91
|
-
} from "./chunk-3QN5KDFZ.js";
|
|
92
|
-
import "./chunk-ESN3W2MZ.js";
|
|
93
|
-
import "./chunk-Y5E2WNWB.js";
|
|
94
|
-
import "./chunk-IANKXHSE.js";
|
|
95
|
-
import "./chunk-BBGJQMRI.js";
|
|
96
|
-
import {
|
|
97
|
-
__name
|
|
98
|
-
} from "./chunk-ZVVMGPBJ.js";
|
|
99
|
-
|
|
100
|
-
// dist/run-log.js
|
|
101
|
-
import { join } from "node:path";
|
|
102
|
-
var lazyRunLog = /* @__PURE__ */ __name((options) => {
|
|
103
|
-
let opened;
|
|
104
|
-
let failed = false;
|
|
105
|
-
const open = /* @__PURE__ */ __name(() => {
|
|
106
|
-
if (failed)
|
|
107
|
-
return void 0;
|
|
108
|
-
try {
|
|
109
|
-
if (!opened) {
|
|
110
|
-
const resource = { service: "zm", version: options.version };
|
|
111
|
-
const run = startRun({
|
|
112
|
-
runsDir: options.runsDir,
|
|
113
|
-
command: options.command,
|
|
114
|
-
service: resource.service,
|
|
115
|
-
cliVersion: options.version,
|
|
116
|
-
...options.onError ? { onError: options.onError } : {}
|
|
117
|
-
});
|
|
118
|
-
const log = createRecordLog({
|
|
119
|
-
to: join(run.dir, "events.jsonl"),
|
|
120
|
-
runId: run.id,
|
|
121
|
-
command: options.command,
|
|
122
|
-
resource,
|
|
123
|
-
allow: options.allow,
|
|
124
|
-
...options.onError ? { onError: options.onError } : {}
|
|
125
|
-
});
|
|
126
|
-
opened = { finish: /* @__PURE__ */ __name((status) => run.finish(status), "finish"), log };
|
|
127
|
-
}
|
|
128
|
-
return opened.log;
|
|
129
|
-
} catch (error) {
|
|
130
|
-
failed = true;
|
|
131
|
-
options.onError?.(error instanceof Error ? error : new Error("could not open the run log"));
|
|
132
|
-
return void 0;
|
|
133
|
-
}
|
|
134
|
-
}, "open");
|
|
135
|
-
const at = /* @__PURE__ */ __name((level) => (event) => open()?.[level](event), "at");
|
|
136
|
-
return {
|
|
137
|
-
log: { debug: at("debug"), info: at("info"), warn: at("warn"), error: at("error") },
|
|
138
|
-
finish: /* @__PURE__ */ __name(async (status) => {
|
|
139
|
-
await opened?.finish(status);
|
|
140
|
-
}, "finish")
|
|
141
|
-
};
|
|
142
|
-
}, "lazyRunLog");
|
|
143
|
-
export {
|
|
144
|
-
lazyRunLog
|
|
145
|
-
};
|
|
@@ -1,199 +0,0 @@
|
|
|
1
|
-
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
-
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
listen
|
|
5
|
-
} from "./chunk-C7JPYWYQ.js";
|
|
6
|
-
import {
|
|
7
|
-
ownerLogin
|
|
8
|
-
} from "./chunk-TO5UEWXR.js";
|
|
9
|
-
import {
|
|
10
|
-
activityRecorder,
|
|
11
|
-
calledTools,
|
|
12
|
-
httpActivityFile,
|
|
13
|
-
httpLock
|
|
14
|
-
} from "./chunk-3AQHKXVR.js";
|
|
15
|
-
import {
|
|
16
|
-
WebStandardStreamableHTTPServerTransport,
|
|
17
|
-
createMcpHandler,
|
|
18
|
-
getOAuthProtectedResourceMetadataUrl,
|
|
19
|
-
hostHeaderValidationResponse,
|
|
20
|
-
isLegacyRequest,
|
|
21
|
-
oauthMetadataResponse,
|
|
22
|
-
requireBearerAuth
|
|
23
|
-
} from "./chunk-PL5P7UKW.js";
|
|
24
|
-
import "./chunk-EE45N67Q.js";
|
|
25
|
-
import "./chunk-T3W4V4A6.js";
|
|
26
|
-
import "./chunk-3QN5KDFZ.js";
|
|
27
|
-
import "./chunk-ESN3W2MZ.js";
|
|
28
|
-
import "./chunk-Y5E2WNWB.js";
|
|
29
|
-
import {
|
|
30
|
-
CliError
|
|
31
|
-
} from "./chunk-IANKXHSE.js";
|
|
32
|
-
import "./chunk-BBGJQMRI.js";
|
|
33
|
-
import {
|
|
34
|
-
__name
|
|
35
|
-
} from "./chunk-ZVVMGPBJ.js";
|
|
36
|
-
|
|
37
|
-
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/mcp/http/serve.js
|
|
38
|
-
import { randomUUID } from "node:crypto";
|
|
39
|
-
var MCP_PATH = "/mcp";
|
|
40
|
-
var AS_METADATA = "/.well-known/oauth-authorization-server";
|
|
41
|
-
var LOCAL = ["localhost", "127.0.0.1"];
|
|
42
|
-
var MAX_SESSIONS = 20;
|
|
43
|
-
var MAX_LOGIN_BODY = 64 * 1024;
|
|
44
|
-
var SESSION_IDLE_MS = 60 * 60 * 1e3;
|
|
45
|
-
var sessionMissing = /* @__PURE__ */ __name(() => new Response(JSON.stringify({ jsonrpc: "2.0", error: { code: -32001, message: "Session not found" }, id: null }), {
|
|
46
|
-
status: 404,
|
|
47
|
-
headers: { "content-type": "application/json" }
|
|
48
|
-
}), "sessionMissing");
|
|
49
|
-
var legacySessions = /* @__PURE__ */ __name((build, now) => {
|
|
50
|
-
const sessions = /* @__PURE__ */ new Map();
|
|
51
|
-
const drop = /* @__PURE__ */ __name(async (id) => {
|
|
52
|
-
const one = sessions.get(id);
|
|
53
|
-
sessions.delete(id);
|
|
54
|
-
await one?.close();
|
|
55
|
-
}, "drop");
|
|
56
|
-
const handle = /* @__PURE__ */ __name(async (request, auth) => {
|
|
57
|
-
for (const [id2, one] of sessions)
|
|
58
|
-
if (now() - one.seen > SESSION_IDLE_MS)
|
|
59
|
-
await drop(id2);
|
|
60
|
-
const id = request.headers.get("mcp-session-id");
|
|
61
|
-
if (id) {
|
|
62
|
-
const known = sessions.get(id);
|
|
63
|
-
if (!known || known.clientId !== auth.clientId)
|
|
64
|
-
return sessionMissing();
|
|
65
|
-
known.seen = now();
|
|
66
|
-
return known.transport.handleRequest(request, { authInfo: auth });
|
|
67
|
-
}
|
|
68
|
-
const server = build();
|
|
69
|
-
const transport = new WebStandardStreamableHTTPServerTransport({
|
|
70
|
-
sessionIdGenerator: /* @__PURE__ */ __name(() => randomUUID(), "sessionIdGenerator"),
|
|
71
|
-
onsessionclosed: /* @__PURE__ */ __name((closed) => void sessions.delete(closed), "onsessionclosed")
|
|
72
|
-
});
|
|
73
|
-
await server.connect(transport);
|
|
74
|
-
const response = await transport.handleRequest(request, { authInfo: auth });
|
|
75
|
-
if (!transport.sessionId) {
|
|
76
|
-
await server.close();
|
|
77
|
-
return response;
|
|
78
|
-
}
|
|
79
|
-
sessions.set(transport.sessionId, { transport, close: /* @__PURE__ */ __name(() => server.close(), "close"), clientId: auth.clientId, seen: now() });
|
|
80
|
-
while (sessions.size > MAX_SESSIONS)
|
|
81
|
-
await drop(sessions.keys().next().value);
|
|
82
|
-
return response;
|
|
83
|
-
}, "handle");
|
|
84
|
-
return {
|
|
85
|
-
handle,
|
|
86
|
-
close: /* @__PURE__ */ __name(async () => {
|
|
87
|
-
for (const id of [...sessions.keys()])
|
|
88
|
-
await drop(id);
|
|
89
|
-
}, "close")
|
|
90
|
-
};
|
|
91
|
-
}, "legacySessions");
|
|
92
|
-
var metadataRequest = /* @__PURE__ */ __name((request, path, base) => {
|
|
93
|
-
const url = new URL(request.url);
|
|
94
|
-
const inserted = base && path === `${AS_METADATA}${base}`;
|
|
95
|
-
if (!inserted && url.pathname === path)
|
|
96
|
-
return request;
|
|
97
|
-
url.pathname = inserted ? AS_METADATA : path;
|
|
98
|
-
return new Request(url, { method: request.method, headers: request.headers });
|
|
99
|
-
}, "metadataRequest");
|
|
100
|
-
var toolsIn = /* @__PURE__ */ __name(async (request) => {
|
|
101
|
-
if (request.method !== "POST")
|
|
102
|
-
return [];
|
|
103
|
-
try {
|
|
104
|
-
return calledTools(await request.clone().json());
|
|
105
|
-
} catch {
|
|
106
|
-
return [];
|
|
107
|
-
}
|
|
108
|
-
}, "toolsIn");
|
|
109
|
-
var serveOverHttp = /* @__PURE__ */ __name(async (build, options) => {
|
|
110
|
-
const { publicUrl, port, tokenFile, appName, reaches, onCode, onError, now, lockFile, version } = options;
|
|
111
|
-
const lock = lockFile ? httpLock(lockFile, {
|
|
112
|
-
pid: process.pid,
|
|
113
|
-
startedAt: (/* @__PURE__ */ new Date()).toISOString(),
|
|
114
|
-
port,
|
|
115
|
-
publicUrl: publicUrl.href,
|
|
116
|
-
...version ? { version } : {}
|
|
117
|
-
}) : void 0;
|
|
118
|
-
if (lock?.held)
|
|
119
|
-
throw new CliError("validation_error", `${appName} already serves MCP over HTTP for this profile on port ${lock.held.port} (PID ${lock.held.pid}, since ${lock.held.startedAt})`);
|
|
120
|
-
const base = publicUrl.pathname === "/" ? "" : publicUrl.pathname.replace(/\/+$/, "");
|
|
121
|
-
const issuer = new URL(`${publicUrl.origin}${base}`);
|
|
122
|
-
const resource = new URL(`${base}${MCP_PATH}`, publicUrl.origin);
|
|
123
|
-
const mcpPath = resource.pathname;
|
|
124
|
-
const publicPath = /* @__PURE__ */ __name((path) => base && path !== base && !path.startsWith(`${base}/`) && !path.startsWith("/.well-known/") ? `${base}${path}` : path, "publicPath");
|
|
125
|
-
const login = ownerLogin({
|
|
126
|
-
issuer,
|
|
127
|
-
resource,
|
|
128
|
-
file: tokenFile,
|
|
129
|
-
appName,
|
|
130
|
-
...reaches ? { reaches } : {},
|
|
131
|
-
onCode: /* @__PURE__ */ __name((code, expires) => {
|
|
132
|
-
lock?.update({ loginCode: code, loginCodeExpiresAt: expires.toISOString() });
|
|
133
|
-
onCode(code, expires);
|
|
134
|
-
}, "onCode"),
|
|
135
|
-
...now ? { now } : {}
|
|
136
|
-
});
|
|
137
|
-
const insecure = issuer.protocol === "http:" && LOCAL.includes(issuer.hostname);
|
|
138
|
-
const mcp = createMcpHandler(build, { legacy: "reject", ...onError ? { onerror: onError } : {} });
|
|
139
|
-
const legacy = legacySessions(build, now ?? Date.now);
|
|
140
|
-
const bearer = requireBearerAuth({
|
|
141
|
-
verifier: login.verifier,
|
|
142
|
-
resourceMetadataUrl: getOAuthProtectedResourceMetadataUrl(resource)
|
|
143
|
-
});
|
|
144
|
-
const activity = activityRecorder(httpActivityFile(tokenFile), now);
|
|
145
|
-
const allowedHosts = [.../* @__PURE__ */ new Set([publicUrl.hostname, ...LOCAL])];
|
|
146
|
-
const allowedOrigins = [publicUrl.origin];
|
|
147
|
-
const listening = await listen(async (request) => {
|
|
148
|
-
const refused = hostHeaderValidationResponse(request, allowedHosts);
|
|
149
|
-
if (refused)
|
|
150
|
-
return refused;
|
|
151
|
-
const path = publicPath(new URL(request.url).pathname);
|
|
152
|
-
const discovery = oauthMetadataResponse(metadataRequest(request, path, base), {
|
|
153
|
-
oauthMetadata: login.metadata,
|
|
154
|
-
resourceServerUrl: resource,
|
|
155
|
-
resourceName: appName,
|
|
156
|
-
...insecure ? { dangerouslyAllowInsecureIssuerUrl: true } : {}
|
|
157
|
-
});
|
|
158
|
-
if (discovery)
|
|
159
|
-
return discovery;
|
|
160
|
-
if (Number(request.headers.get("content-length") ?? 0) > MAX_LOGIN_BODY && path !== mcpPath)
|
|
161
|
-
return new Response("Request too large", { status: 413 });
|
|
162
|
-
const origin = request.headers.get("origin");
|
|
163
|
-
if (origin && !allowedOrigins.includes(origin))
|
|
164
|
-
return new Response("Origin not allowed", { status: 403 });
|
|
165
|
-
const answered = await login.handle(request, path);
|
|
166
|
-
if (answered)
|
|
167
|
-
return answered;
|
|
168
|
-
if (path !== mcpPath)
|
|
169
|
-
return new Response("Not found", { status: 404 });
|
|
170
|
-
const auth = await bearer(request);
|
|
171
|
-
if (auth instanceof Response)
|
|
172
|
-
return auth;
|
|
173
|
-
activity.record(auth.clientId, await toolsIn(request));
|
|
174
|
-
return await isLegacyRequest(request) ? legacy.handle(request, auth) : mcp.fetch(request, { authInfo: auth });
|
|
175
|
-
}, { host: "127.0.0.1", port }).catch((error) => {
|
|
176
|
-
login.close();
|
|
177
|
-
lock?.release();
|
|
178
|
-
throw error;
|
|
179
|
-
});
|
|
180
|
-
lock?.update({ listeningAt: (/* @__PURE__ */ new Date()).toISOString() });
|
|
181
|
-
return {
|
|
182
|
-
url: listening.url,
|
|
183
|
-
close: /* @__PURE__ */ __name(async () => {
|
|
184
|
-
login.close();
|
|
185
|
-
activity.flush();
|
|
186
|
-
try {
|
|
187
|
-
await listening.close();
|
|
188
|
-
await legacy.close();
|
|
189
|
-
await mcp.close();
|
|
190
|
-
} finally {
|
|
191
|
-
lock?.release();
|
|
192
|
-
}
|
|
193
|
-
}, "close")
|
|
194
|
-
};
|
|
195
|
-
}, "serveOverHttp");
|
|
196
|
-
export {
|
|
197
|
-
MCP_PATH,
|
|
198
|
-
serveOverHttp
|
|
199
|
-
};
|