@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,35 +0,0 @@
|
|
|
1
|
-
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
-
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
__name
|
|
5
|
-
} from "./chunk-ZVVMGPBJ.js";
|
|
6
|
-
|
|
7
|
-
// cli-dev-bundle:from:cli-dev-bundle:from
|
|
8
|
-
import * as module from "node:module";
|
|
9
|
-
import { dirname } from "node:path";
|
|
10
|
-
import { fileURLToPath, pathToFileURL } from "node:url";
|
|
11
|
-
var resolveFrom = /* @__PURE__ */ __name((parent, specifier) => {
|
|
12
|
-
if (globalThis.Bun) {
|
|
13
|
-
if (specifier.includes(":")) return import.meta.resolve(specifier);
|
|
14
|
-
try {
|
|
15
|
-
return pathToFileURL(globalThis.Bun.resolveSync(specifier, dirname(fileURLToPath(parent)))).href;
|
|
16
|
-
} catch {
|
|
17
|
-
return import.meta.resolve(specifier);
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
if (!module.registerHooks) return import.meta.resolve(specifier);
|
|
21
|
-
const hooks = module.registerHooks({
|
|
22
|
-
resolve: /* @__PURE__ */ __name((asked, context, next) => next(asked, asked === specifier ? { ...context, parentURL: parent } : context), "resolve")
|
|
23
|
-
});
|
|
24
|
-
try {
|
|
25
|
-
return import.meta.resolve(specifier);
|
|
26
|
-
} finally {
|
|
27
|
-
hooks.deregister();
|
|
28
|
-
}
|
|
29
|
-
}, "resolveFrom");
|
|
30
|
-
var importFrom = /* @__PURE__ */ __name(async (parent, specifier) => import(resolveFrom(parent, specifier)), "importFrom");
|
|
31
|
-
|
|
32
|
-
export {
|
|
33
|
-
resolveFrom,
|
|
34
|
-
importFrom
|
|
35
|
-
};
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
-
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
hide,
|
|
5
|
-
isHidden
|
|
6
|
-
} from "./chunk-HUAHLO6N.js";
|
|
7
|
-
import {
|
|
8
|
-
CliError
|
|
9
|
-
} from "./chunk-IANKXHSE.js";
|
|
10
|
-
import {
|
|
11
|
-
__name
|
|
12
|
-
} from "./chunk-ZVVMGPBJ.js";
|
|
13
|
-
|
|
14
|
-
// 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/cli/messenger/lacks.js
|
|
15
|
-
var COMMAND_NEEDS = {
|
|
16
|
-
"account update": ["updateProfile", "change the profile"],
|
|
17
|
-
"account sessions list": ["sessions", "list the account's sessions"],
|
|
18
|
-
"account sessions end": ["endOtherSessions", "end other sessions"],
|
|
19
|
-
"chats events": ["chatEvents", "read who joined or left"],
|
|
20
|
-
"chats inspect": ["inspect", "read a link"],
|
|
21
|
-
"chats folders list": ["folders", "list its folders"],
|
|
22
|
-
"chats folders show": ["folders", "list its folders"],
|
|
23
|
-
"chats folders create": ["createFolder", "create a folder"],
|
|
24
|
-
"chats folders update": ["updateFolder", "change a folder"],
|
|
25
|
-
"chats folders delete": ["deleteFolder", "delete a folder"],
|
|
26
|
-
"chats links show": ["group", "read a group"],
|
|
27
|
-
"chats links reset": ["resetInviteLink", "replace an invite link"],
|
|
28
|
-
"chats requests list": ["joinRequests", "read join requests"],
|
|
29
|
-
"chats requests confirm": ["answerJoinRequest", "answer join requests"],
|
|
30
|
-
"chats requests reject": ["answerJoinRequest", "answer join requests"],
|
|
31
|
-
"chats admins add": ["addAdmin", "make someone an admin"],
|
|
32
|
-
"chats admins remove": ["removeAdmin", "take admin rights back"],
|
|
33
|
-
"contacts add": ["addContact", "add a contact"],
|
|
34
|
-
"contacts remove": ["removeContact", "remove a contact"],
|
|
35
|
-
"contacts rename": ["renameContact", "rename a contact"],
|
|
36
|
-
"contacts import": ["importContacts", "import contacts"],
|
|
37
|
-
"contacts block": ["block", "block a person"],
|
|
38
|
-
"contacts unblock": ["unblock", "unblock a person"],
|
|
39
|
-
"messages forward": ["forward", "forward a message"],
|
|
40
|
-
"messages comments": ["comments", "read comments on a channel post"],
|
|
41
|
-
"messages pin": ["pin", "pin a message"],
|
|
42
|
-
"messages unpin": ["unpin", "unpin a message"],
|
|
43
|
-
"messages scheduled cancel": ["cancelScheduled", "cancel a scheduled message"],
|
|
44
|
-
"messages scheduled edit": ["editScheduled", "edit a scheduled message"],
|
|
45
|
-
"messages scheduled send": ["sendScheduled", "send a scheduled message now"]
|
|
46
|
-
};
|
|
47
|
-
var STORE_ANSWERS = /* @__PURE__ */ new Set(["chats events"]);
|
|
48
|
-
var lackedNeed = /* @__PURE__ */ __name((messenger, path) => {
|
|
49
|
-
const need = COMMAND_NEEDS[path];
|
|
50
|
-
if (!need)
|
|
51
|
-
return void 0;
|
|
52
|
-
if (path === "messages comments" && (messenger?.readsComments ?? messenger?.channelComments) === false)
|
|
53
|
-
return need;
|
|
54
|
-
if (!messenger?.lacks?.includes(need[0]) && !messenger?.never?.includes(need[0]))
|
|
55
|
-
return void 0;
|
|
56
|
-
return messenger.history === "store" && STORE_ANSWERS.has(path) ? void 0 : need;
|
|
57
|
-
}, "lackedNeed");
|
|
58
|
-
var refuseLacking = /* @__PURE__ */ __name((messenger, path) => {
|
|
59
|
-
const need = lackedNeed(messenger, path.join(" "));
|
|
60
|
-
if (need)
|
|
61
|
-
throw new CliError("validation_error", `this messenger cannot ${need[1]}`);
|
|
62
|
-
}, "refuseLacking");
|
|
63
|
-
var hideNever = /* @__PURE__ */ __name((messenger, group) => {
|
|
64
|
-
const walk = /* @__PURE__ */ __name((command, path) => {
|
|
65
|
-
for (const child of command.commands) {
|
|
66
|
-
const at = [...path, child.name()];
|
|
67
|
-
const need = COMMAND_NEEDS[at.join(" ")];
|
|
68
|
-
if (need && messenger.never?.includes(need[0]))
|
|
69
|
-
hide(child);
|
|
70
|
-
walk(child, at);
|
|
71
|
-
if (child.commands.length > 0 && child.commands.every(isHidden))
|
|
72
|
-
hide(child);
|
|
73
|
-
}
|
|
74
|
-
}, "walk");
|
|
75
|
-
walk(group, [group.name()]);
|
|
76
|
-
return group;
|
|
77
|
-
}, "hideNever");
|
|
78
|
-
|
|
79
|
-
export {
|
|
80
|
-
COMMAND_NEEDS,
|
|
81
|
-
lackedNeed,
|
|
82
|
-
refuseLacking,
|
|
83
|
-
hideNever
|
|
84
|
-
};
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
-
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
CliError
|
|
5
|
-
} from "./chunk-IANKXHSE.js";
|
|
6
|
-
import {
|
|
7
|
-
__name
|
|
8
|
-
} from "./chunk-ZVVMGPBJ.js";
|
|
9
|
-
|
|
10
|
-
// 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/ports/app.js
|
|
11
|
-
import { readFileSync } from "node:fs";
|
|
12
|
-
var envName = /* @__PURE__ */ __name((app, name) => `${app.envPrefix}_${name}`, "envName");
|
|
13
|
-
var locking = /* @__PURE__ */ __name((value) => value !== void 0 && value.trim() !== "" && value !== "0", "locking");
|
|
14
|
-
var ancestries = /* @__PURE__ */ new Map();
|
|
15
|
-
var readable = /* @__PURE__ */ __name((read, path) => {
|
|
16
|
-
try {
|
|
17
|
-
return read(path);
|
|
18
|
-
} catch (error) {
|
|
19
|
-
if (error.code === "EACCES")
|
|
20
|
-
return void 0;
|
|
21
|
-
throw error;
|
|
22
|
-
}
|
|
23
|
-
}, "readable");
|
|
24
|
-
var ancestorEnvironments = /* @__PURE__ */ __name(({ read = /* @__PURE__ */ __name((path) => readFileSync(path, "utf8"), "read"), from = process.ppid, uid = process.getuid?.() ?? -1, cache = ancestries } = {}) => {
|
|
25
|
-
if (process.platform !== "linux")
|
|
26
|
-
return [];
|
|
27
|
-
const key = `${from}:${uid}`;
|
|
28
|
-
const known = cache.get(key);
|
|
29
|
-
if (known !== void 0)
|
|
30
|
-
return known;
|
|
31
|
-
let found = [];
|
|
32
|
-
try {
|
|
33
|
-
for (let pid = from, depth = 0; pid >= 1 && depth < 64; depth++) {
|
|
34
|
-
const status = read(`/proc/${pid}/status`);
|
|
35
|
-
const field = /* @__PURE__ */ __name((name) => new RegExp(`^${name}:\\s*(\\d+)`, "m").exec(status)?.[1], "field");
|
|
36
|
-
if (Number(field("Uid")) !== uid)
|
|
37
|
-
break;
|
|
38
|
-
const environ = readable(read, `/proc/${pid}/environ`);
|
|
39
|
-
if (environ === void 0)
|
|
40
|
-
break;
|
|
41
|
-
found.push(environ.split("\0"));
|
|
42
|
-
pid = Number(field("PPid"));
|
|
43
|
-
}
|
|
44
|
-
} catch {
|
|
45
|
-
found = null;
|
|
46
|
-
}
|
|
47
|
-
cache.set(key, found);
|
|
48
|
-
return found;
|
|
49
|
-
}, "ancestorEnvironments");
|
|
50
|
-
var valuesOf = /* @__PURE__ */ __name((environments, name) => environments.flatMap((environ) => environ.filter((entry) => entry.startsWith(`${name}=`)).map((entry) => entry.slice(name.length + 1))), "valuesOf");
|
|
51
|
-
var lockedByAncestor = /* @__PURE__ */ __name((name, ancestry = {}) => {
|
|
52
|
-
const environments = ancestorEnvironments(ancestry);
|
|
53
|
-
return environments === null || valuesOf(environments, name).some(locking);
|
|
54
|
-
}, "lockedByAncestor");
|
|
55
|
-
var ancestorValue = /* @__PURE__ */ __name((name, env, ancestry = {}) => valuesOf(ancestorEnvironments(ancestry) ?? [], name).at(-1) ?? env[name], "ancestorValue");
|
|
56
|
-
var readOnlyLockOf = /* @__PURE__ */ __name((app, env) => {
|
|
57
|
-
const name = envName(app, "READ_ONLY");
|
|
58
|
-
return locking(env[name]) || lockedByAncestor(name) ? name : void 0;
|
|
59
|
-
}, "readOnlyLockOf");
|
|
60
|
-
var mailHolderVariable = /* @__PURE__ */ __name((app) => envName(app, "MAIL_HOLDER"), "mailHolderVariable");
|
|
61
|
-
var MESSENGER_CHANGE_REFUSAL = "send, react, change chats or change the account";
|
|
62
|
-
var readOnlyRefusal = /* @__PURE__ */ __name((lock, what) => new CliError("permission_error", `this process is read-only (${lock}) \u2014 it cannot ${what}`), "readOnlyRefusal");
|
|
63
|
-
|
|
64
|
-
export {
|
|
65
|
-
envName,
|
|
66
|
-
ancestorValue,
|
|
67
|
-
readOnlyLockOf,
|
|
68
|
-
mailHolderVariable,
|
|
69
|
-
MESSENGER_CHANGE_REFUSAL,
|
|
70
|
-
readOnlyRefusal
|
|
71
|
-
};
|
|
@@ -1,218 +0,0 @@
|
|
|
1
|
-
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
-
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
updateCommand
|
|
5
|
-
} from "./chunk-MYHPXJDG.js";
|
|
6
|
-
import {
|
|
7
|
-
QUESTIONS,
|
|
8
|
-
readSetupAnswers,
|
|
9
|
-
unanswered,
|
|
10
|
-
writeSetupAnswers
|
|
11
|
-
} from "./chunk-JEH33ZCD.js";
|
|
12
|
-
import {
|
|
13
|
-
DEFAULT_STEMMERS,
|
|
14
|
-
LANGUAGES
|
|
15
|
-
} from "./chunk-3PXUQFHX.js";
|
|
16
|
-
import {
|
|
17
|
-
sharedConfigPath
|
|
18
|
-
} from "./chunk-SHQAYUK6.js";
|
|
19
|
-
import {
|
|
20
|
-
installerOf
|
|
21
|
-
} from "./chunk-TXDR6YSF.js";
|
|
22
|
-
import {
|
|
23
|
-
storePath
|
|
24
|
-
} from "./chunk-FH2UFNH6.js";
|
|
25
|
-
import {
|
|
26
|
-
__name
|
|
27
|
-
} from "./chunk-ZVVMGPBJ.js";
|
|
28
|
-
|
|
29
|
-
// 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/cli/first-run.js
|
|
30
|
-
import { spawnSync } from "node:child_process";
|
|
31
|
-
import { accessSync, constants, realpathSync } from "node:fs";
|
|
32
|
-
import { delimiter, join } from "node:path";
|
|
33
|
-
var SKIPPED = /* @__PURE__ */ new Set(["help", "guide", "completion", "mcp", "serve", "server", "update", "store"]);
|
|
34
|
-
var asksAtStart = /* @__PURE__ */ __name((start) => !start.headless && start.terminal && !start.env.AI_AGENT && !start.env.CLAUDECODE && start.readOnlyLock === void 0 && !SKIPPED.has(start.path[0] ?? ""), "asksAtStart");
|
|
35
|
-
var systemLanguage = /* @__PURE__ */ __name((env) => {
|
|
36
|
-
const named = [env.LC_ALL, env.LC_MESSAGES, env.LANG, ...(env.LANGUAGE ?? "").split(":")].map((value) => value?.trim()).find((value) => value && value !== "C" && value !== "POSIX" && !value.startsWith("C."));
|
|
37
|
-
return (named ?? Intl.DateTimeFormat().resolvedOptions().locale).slice(0, 2).toLowerCase();
|
|
38
|
-
}, "systemLanguage");
|
|
39
|
-
var stemmersOf = /* @__PURE__ */ __name((languages) => {
|
|
40
|
-
const latin = LANGUAGES.filter(({ name, script }) => script === "latin" && languages.includes(name));
|
|
41
|
-
return {
|
|
42
|
-
cyrillic: languages.includes("russian") ? "russian" : "none",
|
|
43
|
-
latin: latin.length ? latin.map(({ name }) => name).join(",") : "none"
|
|
44
|
-
};
|
|
45
|
-
}, "stemmersOf");
|
|
46
|
-
var languagesOf = /* @__PURE__ */ __name((stemmers) => LANGUAGES.filter(({ name }) => stemmers.cyrillic === name || stemmers.latin.split(",").includes(name)).map(({ name }) => name), "languagesOf");
|
|
47
|
-
var choose = /* @__PURE__ */ __name(async (io, prompt, count, chosen) => {
|
|
48
|
-
for (let attempt = 0; attempt < 3; attempt++) {
|
|
49
|
-
const answer = (await io.ask(prompt)).trim();
|
|
50
|
-
if (!answer)
|
|
51
|
-
return chosen;
|
|
52
|
-
if (/^(none|-)$/i.test(answer))
|
|
53
|
-
return [];
|
|
54
|
-
const numbers = answer.split(/[\s,]+/).filter(Boolean).map(Number);
|
|
55
|
-
if (numbers.every((number) => Number.isInteger(number) && number >= 1 && number <= count))
|
|
56
|
-
return [...new Set(numbers)].sort((a, b) => a - b);
|
|
57
|
-
io.say(`Choose numbers from 1 to ${count}, separated by commas.`);
|
|
58
|
-
}
|
|
59
|
-
return chosen;
|
|
60
|
-
}, "choose");
|
|
61
|
-
var yes = /* @__PURE__ */ __name(async (io, prompt) => /^y(es)?$/i.test((await io.ask(prompt)).trim()), "yes");
|
|
62
|
-
var onPath = /* @__PURE__ */ __name((command, env) => {
|
|
63
|
-
const names = process.platform === "win32" ? [".cmd", ".exe", ""].map((ending) => command + ending) : [command];
|
|
64
|
-
return (env.PATH ?? env.Path ?? "").split(delimiter).some((folder) => names.some((name) => {
|
|
65
|
-
try {
|
|
66
|
-
accessSync(join(folder, name), process.platform === "win32" ? constants.F_OK : constants.X_OK);
|
|
67
|
-
return true;
|
|
68
|
-
} catch {
|
|
69
|
-
return false;
|
|
70
|
-
}
|
|
71
|
-
}));
|
|
72
|
-
}, "onPath");
|
|
73
|
-
var installWith = /* @__PURE__ */ __name((argv) => spawnSync(argv[0], argv.slice(1), { stdio: ["inherit", 2, 2] }).status === 0, "installWith");
|
|
74
|
-
var installerHere = /* @__PURE__ */ __name(() => {
|
|
75
|
-
try {
|
|
76
|
-
return installerOf(realpathSync(process.argv[1] ?? ""));
|
|
77
|
-
} catch {
|
|
78
|
-
return "unknown";
|
|
79
|
-
}
|
|
80
|
-
}, "installerHere");
|
|
81
|
-
var suggested = /* @__PURE__ */ __name((env, contentLanguages) => {
|
|
82
|
-
const own = LANGUAGES.filter(({ code }) => contentLanguages?.includes(code));
|
|
83
|
-
const system = systemLanguage(env);
|
|
84
|
-
return (own.length ? own : LANGUAGES.filter(({ code }) => code === "en" || code === system)).map(({ name }) => name);
|
|
85
|
-
}, "suggested");
|
|
86
|
-
var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLanguages }) => {
|
|
87
|
-
const { openStore } = await import("./store-27UQMNEO.js");
|
|
88
|
-
const store = await openStore({ env });
|
|
89
|
-
let rebuild = false;
|
|
90
|
-
try {
|
|
91
|
-
const saved = await store.searchIndex.stemmers() ?? void 0;
|
|
92
|
-
const inUse = saved !== void 0 || (await store.accounts.accounts()).length > 0;
|
|
93
|
-
const ticked = inUse ? languagesOf(saved ?? DEFAULT_STEMMERS) : suggested(env, contentLanguages);
|
|
94
|
-
const numbers = ticked.map((name) => LANGUAGES.findIndex((one) => one.name === name) + 1);
|
|
95
|
-
io.say("Languages you write and speak \u2014 search finds every form of their words, and spellings speech mangles:");
|
|
96
|
-
LANGUAGES.forEach(({ name, label }, at) => {
|
|
97
|
-
io.say(` ${at + 1}. ${label}${ticked.includes(name) ? " \u2713" : ""}`);
|
|
98
|
-
});
|
|
99
|
-
const chosen = await choose(io, `Numbers (${numbers.join(",")}): `, LANGUAGES.length, numbers);
|
|
100
|
-
const next = stemmersOf(chosen.map((number) => LANGUAGES[number - 1].name));
|
|
101
|
-
const before = saved ?? DEFAULT_STEMMERS;
|
|
102
|
-
if (inUse && before.cyrillic === next.cyrillic && before.latin === next.latin)
|
|
103
|
-
return;
|
|
104
|
-
if (inUse && !await yes(io, "Rebuild the word forms of every stored message now? Word search waits for it; a large store takes minutes. [y/N] ")) {
|
|
105
|
-
io.say(`Languages kept as they were; \`${command} setup\` asks again.`);
|
|
106
|
-
return;
|
|
107
|
-
}
|
|
108
|
-
await store.searchIndex.saveStemmers(next);
|
|
109
|
-
rebuild = inUse;
|
|
110
|
-
} finally {
|
|
111
|
-
await store.close();
|
|
112
|
-
}
|
|
113
|
-
if (!rebuild)
|
|
114
|
-
return;
|
|
115
|
-
const [{ openCache }, { buildStems }] = await Promise.all([
|
|
116
|
-
import("./open-SEJRY2ZI.js"),
|
|
117
|
-
import("./store-maintenance-command-Z3QLNSXJ.js")
|
|
118
|
-
]);
|
|
119
|
-
const database = await openCache(storePath(env));
|
|
120
|
-
try {
|
|
121
|
-
buildStems(database, (note) => io.say(` ${note}`), { force: true });
|
|
122
|
-
} finally {
|
|
123
|
-
database.close();
|
|
124
|
-
}
|
|
125
|
-
}, "askLanguages");
|
|
126
|
-
var askTools = /* @__PURE__ */ __name(async (run) => {
|
|
127
|
-
const { command, env, io } = run;
|
|
128
|
-
const installed = run.installed ?? ((name) => onPath(name, env));
|
|
129
|
-
const { WIRECAT_TOOLS } = await import("./first-screen-LPGCHRHZ.js");
|
|
130
|
-
const others = WIRECAT_TOOLS.filter((tool) => tool.command !== command);
|
|
131
|
-
const missing = others.filter((tool) => !installed(tool.command));
|
|
132
|
-
io.say("Other WireCat tools \u2014 they share this store, so one search finds everything:");
|
|
133
|
-
for (const tool of others) {
|
|
134
|
-
const at = missing.indexOf(tool);
|
|
135
|
-
io.say(` ${at < 0 ? "\u2713 " : `${at + 1}.`} ${tool.command} \u2014 ${tool.does}`);
|
|
136
|
-
}
|
|
137
|
-
if (!missing.length)
|
|
138
|
-
return;
|
|
139
|
-
const chosen = await choose(io, "Numbers to install (none): ", missing.length, []);
|
|
140
|
-
const installer = run.installer ?? installerHere();
|
|
141
|
-
for (const number of chosen) {
|
|
142
|
-
const tool = missing[number - 1];
|
|
143
|
-
const argv = updateCommand(installer, tool.package);
|
|
144
|
-
if (!argv) {
|
|
145
|
-
io.say(`Install ${tool.command} with \`npm install -g ${tool.package}\`.`);
|
|
146
|
-
continue;
|
|
147
|
-
}
|
|
148
|
-
io.say(`Installing ${tool.command}: ${argv.join(" ")}`);
|
|
149
|
-
if (!(run.install ?? installWith)(argv))
|
|
150
|
-
io.say(`${tool.command} was not installed; run \`${argv.join(" ")}\`.`);
|
|
151
|
-
}
|
|
152
|
-
}, "askTools");
|
|
153
|
-
var PERMISSION_CHOICES = [
|
|
154
|
-
{ answer: "readonly", text: "read only \u2014 search and read; nothing sends or changes" },
|
|
155
|
-
{ answer: "allow", text: "read and write \u2014 as each profile's permissions allow" }
|
|
156
|
-
];
|
|
157
|
-
var askPermissions = /* @__PURE__ */ __name(async ({ io }, answers) => {
|
|
158
|
-
const now = answers.permissions ?? "allow";
|
|
159
|
-
const current = Math.max(1, PERMISSION_CHOICES.findIndex(({ answer }) => answer === now) + 1);
|
|
160
|
-
io.say("Read only, or read and write? The same for you, scripts and agents over MCP, in every WireCat tool:");
|
|
161
|
-
PERMISSION_CHOICES.forEach(({ text }, at) => {
|
|
162
|
-
io.say(` ${at + 1}. ${text}`);
|
|
163
|
-
});
|
|
164
|
-
const [chosen = current] = await choose(io, `Number (${current}): `, PERMISSION_CHOICES.length, [current]);
|
|
165
|
-
return PERMISSION_CHOICES[chosen - 1].answer;
|
|
166
|
-
}, "askPermissions");
|
|
167
|
-
var answersAt = /* @__PURE__ */ __name((path) => {
|
|
168
|
-
try {
|
|
169
|
-
return readSetupAnswers(path);
|
|
170
|
-
} catch {
|
|
171
|
-
return {};
|
|
172
|
-
}
|
|
173
|
-
}, "answersAt");
|
|
174
|
-
var askSetupQuestions = /* @__PURE__ */ __name(async (run) => {
|
|
175
|
-
const path = sharedConfigPath(storePath(run.env), run.env);
|
|
176
|
-
const answers = answersAt(path);
|
|
177
|
-
const asking = run.all ? [...QUESTIONS] : unanswered(answers);
|
|
178
|
-
for (const question of asking) {
|
|
179
|
-
run.io.say("");
|
|
180
|
-
if (question === "languages") {
|
|
181
|
-
await askLanguages(run);
|
|
182
|
-
writeSetupAnswers(path, { languages: true });
|
|
183
|
-
} else if (question === "tools") {
|
|
184
|
-
await askTools(run);
|
|
185
|
-
writeSetupAnswers(path, { tools: true });
|
|
186
|
-
} else
|
|
187
|
-
writeSetupAnswers(path, { permissions: await askPermissions(run, answers) });
|
|
188
|
-
}
|
|
189
|
-
return asking;
|
|
190
|
-
}, "askSetupQuestions");
|
|
191
|
-
var setupAtStart = /* @__PURE__ */ __name(async (start) => {
|
|
192
|
-
const input = start.input ?? process.stdin;
|
|
193
|
-
const terminal = start.terminal ?? (input.isTTY === true && process.stderr.isTTY === true);
|
|
194
|
-
if (!asksAtStart({ ...start, terminal, readOnlyLock: start.readOnlyLock }))
|
|
195
|
-
return;
|
|
196
|
-
await askSetupQuestions({
|
|
197
|
-
command: start.command,
|
|
198
|
-
env: start.env,
|
|
199
|
-
contentLanguages: start.contentLanguages,
|
|
200
|
-
// `setup describe` and `setup apply` are a program's; only the bare walk-through asks everything again.
|
|
201
|
-
all: start.path.length === 1 && start.path[0] === "setup",
|
|
202
|
-
io: {
|
|
203
|
-
ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-BCRD64F4.js")).readSecret(prompt, { input, echo: true }), "ask"),
|
|
204
|
-
say: /* @__PURE__ */ __name((text) => process.stderr.write(`${text}
|
|
205
|
-
`), "say")
|
|
206
|
-
}
|
|
207
|
-
}).catch((error) => {
|
|
208
|
-
process.stderr.write(`setup questions skipped: ${error instanceof Error ? error.message : String(error)} \u2014 \`${start.command} setup\` asks them again
|
|
209
|
-
`);
|
|
210
|
-
});
|
|
211
|
-
}, "setupAtStart");
|
|
212
|
-
|
|
213
|
-
export {
|
|
214
|
-
asksAtStart,
|
|
215
|
-
systemLanguage,
|
|
216
|
-
askSetupQuestions,
|
|
217
|
-
setupAtStart
|
|
218
|
-
};
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
-
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
var __create = Object.create;
|
|
4
|
-
var __defProp = Object.defineProperty;
|
|
5
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
6
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
8
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
|
-
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
10
|
-
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
11
|
-
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
12
|
-
}) : x)(function(x) {
|
|
13
|
-
if (typeof require !== "undefined") return require.apply(this, arguments);
|
|
14
|
-
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
15
|
-
});
|
|
16
|
-
var __commonJS = (cb, mod) => function __require2() {
|
|
17
|
-
try {
|
|
18
|
-
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
19
|
-
} catch (e) {
|
|
20
|
-
throw mod = 0, e;
|
|
21
|
-
}
|
|
22
|
-
};
|
|
23
|
-
var __export = (target, all) => {
|
|
24
|
-
for (var name in all)
|
|
25
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
26
|
-
};
|
|
27
|
-
var __copyProps = (to, from, except, desc) => {
|
|
28
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
29
|
-
for (let key of __getOwnPropNames(from))
|
|
30
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
31
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
32
|
-
}
|
|
33
|
-
return to;
|
|
34
|
-
};
|
|
35
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
36
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
37
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
38
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
39
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
40
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
41
|
-
mod
|
|
42
|
-
));
|
|
43
|
-
|
|
44
|
-
export {
|
|
45
|
-
__name,
|
|
46
|
-
__require,
|
|
47
|
-
__commonJS,
|
|
48
|
-
__export,
|
|
49
|
-
__toESM
|
|
50
|
-
};
|