@wirecat/zoom-cli 0.82.0 → 0.84.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -12
- package/contracts/wirecat.json +88 -55
- package/dist/account-removal.d.ts +1 -1
- package/dist/account-removal.d.ts.map +1 -1
- package/dist/account-removal.js +1 -1
- package/dist/account-removal.js.map +1 -1
- package/dist/agent-skill.js +1 -1
- package/dist/agent-skill.js.map +1 -1
- package/dist/answer-entities.d.ts +1 -1
- package/dist/answer-entities.d.ts.map +1 -1
- package/dist/answer-entities.js +1 -1
- package/dist/answer-entities.js.map +1 -1
- package/dist/answer-output.d.ts +2 -2
- package/dist/answer-output.d.ts.map +1 -1
- package/dist/answer-output.js +1 -1
- package/dist/answer-output.js.map +1 -1
- package/dist/answer-policy.d.ts.map +1 -1
- package/dist/answer-policy.js +1 -2
- package/dist/answer-policy.js.map +1 -1
- package/dist/answers.js +1 -1
- package/dist/answers.js.map +1 -1
- package/dist/api.d.ts +2 -2
- package/dist/api.d.ts.map +1 -1
- package/dist/api.js +2 -2
- package/dist/api.js.map +1 -1
- package/dist/archive-commands.d.ts +1 -1
- package/dist/archive-commands.d.ts.map +1 -1
- package/dist/archive-commands.js +1 -2
- package/dist/archive-commands.js.map +1 -1
- package/dist/archive-import.d.ts +1 -1
- package/dist/archive-import.d.ts.map +1 -1
- package/dist/archive-import.js +1 -1
- package/dist/archive-import.js.map +1 -1
- package/dist/archive-transcripts.d.ts +1 -1
- package/dist/archive-transcripts.d.ts.map +1 -1
- package/dist/archive-transcripts.js +1 -2
- package/dist/archive-transcripts.js.map +1 -1
- package/dist/bin/main.js +4 -17
- package/dist/bin/main.js.map +1 -1
- package/dist/bin/zm.js +11 -11
- package/dist/bundle/answer-policy-OQQWAUHH.js +33 -0
- package/dist/bundle/chunk-3YDF76DP.js +922 -0
- package/dist/bundle/chunk-AEWYRB6F.js +8 -0
- package/dist/bundle/chunk-AF2Z6VOG.js +137 -0
- package/dist/bundle/{chunk-MAJJ4PG3.js → chunk-DAYBU7WR.js} +79 -396
- package/dist/bundle/{chunk-XQQVMECZ.js → chunk-JD63PEI3.js} +3 -8
- package/dist/bundle/{chunk-UL2PXLKT.js → chunk-L5ZYKXAY.js} +392 -129
- package/dist/bundle/{chunk-2SWKQ7C4.js → chunk-W4TDCCT3.js} +8 -2
- package/dist/bundle/{chunk-AC6VJNMJ.js → chunk-W6YFWJDR.js} +2 -5
- package/dist/bundle/{chunk-434YFJAE.js → chunk-WSGD5Q6L.js} +3 -9
- package/dist/bundle/config-MP5YLHEY.js +29 -0
- package/dist/bundle/{folders-LXOL4N4S.js → folders-B2GKJOC2.js} +2 -7
- package/dist/bundle/{main-YAA7WQ23.js → main-YZPLPXB7.js} +21 -53
- package/dist/bundle/{output-file-2UB5JP3R.js → output-file-PKA7MJEP.js} +3 -11
- package/dist/bundle/{program-GVCGZP27.js → program-7JY6XJ6K.js} +714 -935
- package/dist/bundle/run-log-ML7ZCWXD.js +54 -0
- package/dist/bundle/store-connection-LQGKS3DN.js +21 -0
- package/dist/bundle/streaming-PRGWGNHY.js +12 -0
- package/dist/bundle/tokens-57RJVBK6.js +18 -0
- package/dist/bundle/zm.js +4 -161
- package/dist/bundle/{zoom-app-YWFB367P.js → zoom-app-EYJST6GF.js} +4 -10
- package/dist/chat-file.d.ts +1 -1
- package/dist/chat-file.d.ts.map +1 -1
- package/dist/commands.d.ts +1 -8
- package/dist/commands.d.ts.map +1 -1
- package/dist/commands.js +3 -33
- package/dist/commands.js.map +1 -1
- package/dist/config-issues.d.ts +1 -1
- package/dist/config-issues.d.ts.map +1 -1
- package/dist/config-issues.js +1 -1
- package/dist/config-issues.js.map +1 -1
- package/dist/config.d.ts +1 -2
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +1 -2
- package/dist/config.js.map +1 -1
- package/dist/contacts-commands.d.ts +1 -1
- package/dist/contacts-commands.d.ts.map +1 -1
- package/dist/contacts-commands.js +1 -1
- package/dist/contacts-commands.js.map +1 -1
- package/dist/contract-overrides.js +1 -1
- package/dist/contract-overrides.js.map +1 -1
- package/dist/errors.d.ts +1 -1
- package/dist/errors.d.ts.map +1 -1
- package/dist/execution.d.ts +1 -1
- package/dist/execution.d.ts.map +1 -1
- package/dist/execution.js +1 -1
- package/dist/execution.js.map +1 -1
- package/dist/files.d.ts +2 -2
- package/dist/files.d.ts.map +1 -1
- package/dist/files.js +1 -1
- package/dist/files.js.map +1 -1
- package/dist/first-screen.js +1 -1
- package/dist/first-screen.js.map +1 -1
- package/dist/identity.d.ts +1 -1
- package/dist/identity.d.ts.map +1 -1
- package/dist/identity.js +6 -0
- package/dist/identity.js.map +1 -1
- package/dist/index.d.ts +1 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -2
- package/dist/index.js.map +1 -1
- package/dist/ingestion-search-commands.d.ts +1 -1
- package/dist/ingestion-search-commands.d.ts.map +1 -1
- package/dist/ingestion-search-commands.js +1 -1
- package/dist/ingestion-search-commands.js.map +1 -1
- package/dist/local-transcription-commands.d.ts +1 -1
- package/dist/local-transcription-commands.d.ts.map +1 -1
- package/dist/local-transcription-commands.js +1 -2
- package/dist/local-transcription-commands.js.map +1 -1
- package/dist/local-transcription.d.ts +1 -2
- package/dist/local-transcription.d.ts.map +1 -1
- package/dist/local-transcription.js +3 -3
- package/dist/local-transcription.js.map +1 -1
- package/dist/meeting-commands.d.ts +1 -1
- package/dist/meeting-commands.d.ts.map +1 -1
- package/dist/meeting-commands.js +1 -2
- package/dist/meeting-commands.js.map +1 -1
- package/dist/meeting-communications-binding.d.ts +1 -2
- package/dist/meeting-communications-binding.d.ts.map +1 -1
- package/dist/meeting-communications-binding.js.map +1 -1
- package/dist/meeting-context-commands.d.ts +1 -1
- package/dist/meeting-context-commands.d.ts.map +1 -1
- package/dist/meeting-context-commands.js +1 -1
- package/dist/meeting-context-commands.js.map +1 -1
- package/dist/meeting-context.d.ts +2 -4
- package/dist/meeting-context.d.ts.map +1 -1
- package/dist/meeting-context.js +1 -1
- package/dist/meeting-context.js.map +1 -1
- package/dist/meeting-integration-commands.d.ts +1 -1
- package/dist/meeting-integration-commands.d.ts.map +1 -1
- package/dist/meeting-integration-commands.js +1 -2
- package/dist/meeting-integration-commands.js.map +1 -1
- package/dist/meeting-integration.d.ts +1 -1
- package/dist/meeting-integration.d.ts.map +1 -1
- package/dist/meeting-integration.js +1 -1
- package/dist/meeting-integration.js.map +1 -1
- package/dist/meeting-inventory.d.ts +1 -1
- package/dist/meeting-inventory.d.ts.map +1 -1
- package/dist/meeting-inventory.js +1 -1
- package/dist/meeting-inventory.js.map +1 -1
- package/dist/meeting-preparation.d.ts +1 -2
- package/dist/meeting-preparation.d.ts.map +1 -1
- package/dist/meeting-preparation.js +1 -1
- package/dist/meeting-preparation.js.map +1 -1
- package/dist/meeting-project-candidates.d.ts +1 -1
- package/dist/meeting-project-candidates.d.ts.map +1 -1
- package/dist/meeting-project-evidence-commands.d.ts +1 -1
- package/dist/meeting-project-evidence-commands.d.ts.map +1 -1
- package/dist/meeting-project-evidence-commands.js +1 -2
- package/dist/meeting-project-evidence-commands.js.map +1 -1
- package/dist/meeting-read-command-bindings.js +1 -1
- package/dist/meeting-read-command-bindings.js.map +1 -1
- package/dist/meeting-review-commands.d.ts +1 -3
- package/dist/meeting-review-commands.d.ts.map +1 -1
- package/dist/meeting-review-commands.js +1 -2
- package/dist/meeting-review-commands.js.map +1 -1
- package/dist/meeting-search-commands.d.ts +2 -3
- package/dist/meeting-search-commands.d.ts.map +1 -1
- package/dist/meeting-search-commands.js +2 -4
- package/dist/meeting-search-commands.js.map +1 -1
- package/dist/meeting-searches-commands.d.ts +1 -2
- package/dist/meeting-searches-commands.d.ts.map +1 -1
- package/dist/meeting-searches-commands.js +1 -2
- package/dist/meeting-searches-commands.js.map +1 -1
- package/dist/meeting-selection-options.d.ts +1 -1
- package/dist/meeting-selection-options.d.ts.map +1 -1
- package/dist/meeting-selection-options.js +1 -2
- package/dist/meeting-selection-options.js.map +1 -1
- package/dist/meeting-semantic-commands.d.ts +1 -2
- package/dist/meeting-semantic-commands.d.ts.map +1 -1
- package/dist/meeting-semantic-commands.js +1 -1
- package/dist/meeting-semantic-commands.js.map +1 -1
- package/dist/meeting-semantic.d.ts +2 -2
- package/dist/meeting-semantic.d.ts.map +1 -1
- package/dist/meeting-semantic.js +1 -1
- package/dist/meeting-semantic.js.map +1 -1
- package/dist/meeting-source.d.ts +1 -1
- package/dist/meeting-source.d.ts.map +1 -1
- package/dist/meeting-stats-commands.d.ts +1 -3
- package/dist/meeting-stats-commands.d.ts.map +1 -1
- package/dist/meeting-stats-commands.js +1 -2
- package/dist/meeting-stats-commands.js.map +1 -1
- package/dist/models-commands.d.ts +1 -1
- package/dist/models-commands.d.ts.map +1 -1
- package/dist/models-commands.js +1 -1
- package/dist/models-commands.js.map +1 -1
- package/dist/occurrence-schedule.d.ts +1 -1
- package/dist/occurrence-schedule.d.ts.map +1 -1
- package/dist/permissions.d.ts +1 -1
- package/dist/permissions.d.ts.map +1 -1
- package/dist/permissions.js +1 -2
- package/dist/permissions.js.map +1 -1
- package/dist/profile.js +1 -1
- package/dist/profile.js.map +1 -1
- package/dist/program-bindings.d.ts.map +1 -1
- package/dist/program-bindings.js +3 -13
- package/dist/program-bindings.js.map +1 -1
- package/dist/program.d.ts +4 -7
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +1 -1
- package/dist/program.js.map +1 -1
- package/dist/progress-commands.d.ts +1 -1
- package/dist/progress-commands.d.ts.map +1 -1
- package/dist/progress-commands.js +1 -2
- package/dist/progress-commands.js.map +1 -1
- package/dist/read-only.js +1 -1
- package/dist/read-only.js.map +1 -1
- package/dist/recording-archive.d.ts.map +1 -1
- package/dist/recording-archive.js +1 -2
- package/dist/recording-archive.js.map +1 -1
- package/dist/recording-manifest.js +1 -1
- package/dist/recording-manifest.js.map +1 -1
- package/dist/recording-partial-store.d.ts +2 -3
- package/dist/recording-partial-store.d.ts.map +1 -1
- package/dist/recording-partial-store.js +1 -1
- package/dist/recording-partial-store.js.map +1 -1
- package/dist/recording-promotion-store.d.ts +1 -2
- package/dist/recording-promotion-store.d.ts.map +1 -1
- package/dist/recording-promotion-store.js +1 -2
- package/dist/recording-promotion-store.js.map +1 -1
- package/dist/recording-schedule-commands.d.ts +1 -1
- package/dist/recording-schedule-commands.d.ts.map +1 -1
- package/dist/recording-schedule-commands.js +1 -1
- package/dist/recording-schedule-commands.js.map +1 -1
- package/dist/recording-schedule-store.js +1 -1
- package/dist/recording-schedule-store.js.map +1 -1
- package/dist/recording-schedule-systemd.js +1 -1
- package/dist/recording-schedule-systemd.js.map +1 -1
- package/dist/recording-schedule.d.ts +1 -1
- package/dist/recording-schedule.d.ts.map +1 -1
- package/dist/recording-schedule.js +1 -1
- package/dist/recording-schedule.js.map +1 -1
- package/dist/recording-sync-store.d.ts +1 -1
- package/dist/recording-sync-store.d.ts.map +1 -1
- package/dist/recording-sync-store.js +1 -2
- package/dist/recording-sync-store.js.map +1 -1
- package/dist/recording-sync.d.ts +1 -1
- package/dist/recording-sync.d.ts.map +1 -1
- package/dist/recording-sync.js +1 -1
- package/dist/recording-sync.js.map +1 -1
- package/dist/recording-writer-lease.d.ts +1 -1
- package/dist/recording-writer-lease.d.ts.map +1 -1
- package/dist/recording-writer-lease.js +1 -1
- package/dist/recording-writer-lease.js.map +1 -1
- package/dist/recordings.d.ts +1 -1
- package/dist/recordings.d.ts.map +1 -1
- package/dist/recordings.js.map +1 -1
- package/dist/remote-meetings.d.ts +19 -19
- package/dist/remote-meetings.d.ts.map +1 -1
- package/dist/remote-meetings.js +1 -1
- package/dist/remote-meetings.js.map +1 -1
- package/dist/request-events.d.ts +1 -1
- package/dist/request-events.d.ts.map +1 -1
- package/dist/request-events.js +1 -1
- package/dist/request-events.js.map +1 -1
- package/dist/run-log.d.ts +1 -1
- package/dist/run-log.d.ts.map +1 -1
- package/dist/run-log.js +1 -1
- package/dist/run-log.js.map +1 -1
- package/dist/run.d.ts +1 -1
- package/dist/run.d.ts.map +1 -1
- package/dist/run.js +6 -2
- package/dist/run.js.map +1 -1
- package/dist/series-inventory.d.ts +2 -2
- package/dist/series-inventory.js +1 -1
- package/dist/series-inventory.js.map +1 -1
- package/dist/setup-commands.d.ts +6 -15
- package/dist/setup-commands.d.ts.map +1 -1
- package/dist/setup-commands.js +7 -142
- package/dist/setup-commands.js.map +1 -1
- package/dist/store-commands.d.ts +1 -1
- package/dist/store-commands.d.ts.map +1 -1
- package/dist/store-commands.js +1 -2
- package/dist/store-commands.js.map +1 -1
- package/dist/store-connection.d.ts +1 -3
- package/dist/store-connection.d.ts.map +1 -1
- package/dist/store-connection.js +14 -14
- package/dist/store-connection.js.map +1 -1
- package/dist/sync-progress.d.ts +4 -4
- package/dist/sync-progress.d.ts.map +1 -1
- package/dist/sync-progress.js +1 -1
- package/dist/sync-progress.js.map +1 -1
- package/dist/tokens.d.ts +20 -44
- package/dist/tokens.d.ts.map +1 -1
- package/dist/tokens.js +95 -308
- package/dist/tokens.js.map +1 -1
- package/dist/unified-search.d.ts +1 -1
- package/dist/unified-search.d.ts.map +1 -1
- package/dist/upcoming-meetings.d.ts +2 -2
- package/dist/upcoming-meetings.js +1 -1
- package/dist/upcoming-meetings.js.map +1 -1
- package/dist/upgrade.d.ts.map +1 -1
- package/dist/upgrade.js +1 -2
- package/dist/upgrade.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/watch-commands.d.ts +1 -2
- package/dist/watch-commands.d.ts.map +1 -1
- package/dist/watch-commands.js +1 -2
- package/dist/watch-commands.js.map +1 -1
- package/dist/watch-service.d.ts +1 -1
- package/dist/watch-service.d.ts.map +1 -1
- package/dist/watch-service.js +1 -1
- package/dist/watch-service.js.map +1 -1
- package/dist/zoom-app.d.ts +2 -2
- package/dist/zoom-app.d.ts.map +1 -1
- package/dist/zoom-app.js +2 -2
- package/dist/zoom-app.js.map +1 -1
- package/dist/zoom-search-commands.d.ts +1 -1
- package/dist/zoom-search-commands.d.ts.map +1 -1
- package/dist/zoom-search-commands.js +1 -1
- package/dist/zoom-search-commands.js.map +1 -1
- package/dist/zoom-session.d.ts +6 -0
- package/dist/zoom-session.d.ts.map +1 -0
- package/dist/zoom-session.js +72 -0
- package/dist/zoom-session.js.map +1 -0
- package/package.json +3 -3
- package/scenarios/person-in-meetings.md +1 -1
- package/skills/zoom-cli/SKILL.md +1 -1
- package/skills/zoom-cli/references/people-and-projects.md +5 -5
- package/skills/zoom-cli/references/prepare.md +2 -2
- package/skills/zoom-cli/references/setup.md +2 -2
- package/dist/bundle/agent-F4TRJWWS.js +0 -46
- package/dist/bundle/all-profiles-RULEKTDQ.js +0 -321
- package/dist/bundle/answer-policy-6XC57AEZ.js +0 -131
- package/dist/bundle/anthropic-4NAQBZFL.js +0 -91
- package/dist/bundle/app-server-VLR42U5L.js +0 -266
- package/dist/bundle/bun-OPDGMZZQ.js +0 -169
- package/dist/bundle/bun-sqlite-HC6X4AOX.js +0 -76
- package/dist/bundle/chunk-274SLQNW.js +0 -54
- package/dist/bundle/chunk-2CI2OEZQ.js +0 -101
- package/dist/bundle/chunk-2DBF2IIC.js +0 -330
- package/dist/bundle/chunk-2GP573Q4.js +0 -67190
- package/dist/bundle/chunk-2JHVQMVC.js +0 -16
- package/dist/bundle/chunk-2XBDILVW.js +0 -53
- package/dist/bundle/chunk-3HC5F3P7.js +0 -24
- package/dist/bundle/chunk-3YM4B2GT.js +0 -63
- package/dist/bundle/chunk-4HLQ2JGK.js +0 -276
- package/dist/bundle/chunk-4N7PP76S.js +0 -6848
- package/dist/bundle/chunk-52Y4ETKU.js +0 -230
- package/dist/bundle/chunk-5HAUK3I4.js +0 -27160
- package/dist/bundle/chunk-5KYQ53EF.js +0 -357
- package/dist/bundle/chunk-5TU7Y5UW.js +0 -218
- package/dist/bundle/chunk-66ALX4ZI.js +0 -1068
- package/dist/bundle/chunk-676C2LE6.js +0 -229
- package/dist/bundle/chunk-6CWL5BKG.js +0 -3012
- package/dist/bundle/chunk-6QYZP4E2.js +0 -73
- package/dist/bundle/chunk-6VK332XS.js +0 -170
- package/dist/bundle/chunk-73MOMNLL.js +0 -94
- package/dist/bundle/chunk-7QPIUMUG.js +0 -198
- package/dist/bundle/chunk-7UVDPRFK.js +0 -259
- package/dist/bundle/chunk-A6EZK5RG.js +0 -142
- package/dist/bundle/chunk-ACI4YIEH.js +0 -331
- package/dist/bundle/chunk-AIKFOBDO.js +0 -1024
- package/dist/bundle/chunk-ASBDFXLS.js +0 -295
- package/dist/bundle/chunk-B32KZRQM.js +0 -2338
- package/dist/bundle/chunk-BBGJQMRI.js +0 -34
- package/dist/bundle/chunk-BDKVOU3I.js +0 -52
- package/dist/bundle/chunk-BP4FYANF.js +0 -335
- package/dist/bundle/chunk-D72URWJE.js +0 -532
- package/dist/bundle/chunk-DCYFT3FR.js +0 -161
- package/dist/bundle/chunk-DFDN6AUB.js +0 -21
- package/dist/bundle/chunk-DNCLQPOM.js +0 -7
- package/dist/bundle/chunk-DSZYABYL.js +0 -808
- package/dist/bundle/chunk-E745WZKY.js +0 -1199
- package/dist/bundle/chunk-EGTCQKHV.js +0 -340
- package/dist/bundle/chunk-EQG3PIH2.js +0 -108
- package/dist/bundle/chunk-ESN3W2MZ.js +0 -2624
- package/dist/bundle/chunk-FXBHOCJK.js +0 -24600
- package/dist/bundle/chunk-G46WJ7YO.js +0 -95
- package/dist/bundle/chunk-G6PETRMV.js +0 -64
- package/dist/bundle/chunk-GBHMT2IU.js +0 -755
- package/dist/bundle/chunk-GGMAIIVE.js +0 -38
- package/dist/bundle/chunk-GTKPMYK7.js +0 -72
- package/dist/bundle/chunk-GWGHH56B.js +0 -374
- package/dist/bundle/chunk-HC6VN5CO.js +0 -692
- package/dist/bundle/chunk-HP7A2ZOP.js +0 -185
- package/dist/bundle/chunk-HTQTIKWP.js +0 -928
- package/dist/bundle/chunk-HZENBDW2.js +0 -209
- package/dist/bundle/chunk-IANKXHSE.js +0 -46
- package/dist/bundle/chunk-ICPJT672.js +0 -228
- package/dist/bundle/chunk-JQ54DYAQ.js +0 -80
- package/dist/bundle/chunk-K5JGJIV2.js +0 -640
- package/dist/bundle/chunk-KJ6USQDZ.js +0 -616
- package/dist/bundle/chunk-KKFY23AK.js +0 -5150
- package/dist/bundle/chunk-KQPUVXKX.js +0 -84
- package/dist/bundle/chunk-KVJ3I7UL.js +0 -1007
- package/dist/bundle/chunk-KWU46LNK.js +0 -288
- package/dist/bundle/chunk-KXJ3JEDH.js +0 -2
- package/dist/bundle/chunk-L75SMSJR.js +0 -133
- package/dist/bundle/chunk-LAYYO4WD.js +0 -31
- package/dist/bundle/chunk-LEKKTJKK.js +0 -2336
- package/dist/bundle/chunk-M7H4MCAX.js +0 -388
- package/dist/bundle/chunk-MQLPZBMQ.js +0 -58
- package/dist/bundle/chunk-N3JLO63O.js +0 -13
- package/dist/bundle/chunk-N46F72AF.js +0 -410
- package/dist/bundle/chunk-NB7EOAUZ.js +0 -123
- package/dist/bundle/chunk-NEMX3UNN.js +0 -76
- package/dist/bundle/chunk-OBXQLFT5.js +0 -82
- package/dist/bundle/chunk-OGNO35A2.js +0 -262
- package/dist/bundle/chunk-OIPYBF43.js +0 -100
- package/dist/bundle/chunk-OO4TRVPB.js +0 -185
- package/dist/bundle/chunk-OQFQ77AY.js +0 -9352
- package/dist/bundle/chunk-PL5P7UKW.js +0 -25216
- package/dist/bundle/chunk-PMUPN6JW.js +0 -773
- package/dist/bundle/chunk-PSKTMMCO.js +0 -561
- package/dist/bundle/chunk-PWVJUIDQ.js +0 -106
- package/dist/bundle/chunk-Q7ICVP25.js +0 -18
- package/dist/bundle/chunk-QG6PILDO.js +0 -195
- package/dist/bundle/chunk-QPHBK63S.js +0 -25
- package/dist/bundle/chunk-QVSL5WJ7.js +0 -46524
- package/dist/bundle/chunk-QVYAV7F2.js +0 -58
- package/dist/bundle/chunk-R2B6PUVI.js +0 -206
- package/dist/bundle/chunk-RQOZBTNI.js +0 -86
- package/dist/bundle/chunk-T7IAWEBU.js +0 -362
- package/dist/bundle/chunk-TKNM22OH.js +0 -71
- package/dist/bundle/chunk-TKVBFJ5C.js +0 -37
- package/dist/bundle/chunk-TXDR6YSF.js +0 -23
- package/dist/bundle/chunk-TY7NDMFY.js +0 -46
- package/dist/bundle/chunk-UAWSINMC.js +0 -875
- package/dist/bundle/chunk-UKAAAOPC.js +0 -1251
- package/dist/bundle/chunk-UQCTXZEP.js +0 -214
- package/dist/bundle/chunk-UR5DBODY.js +0 -1345
- package/dist/bundle/chunk-V5EJSF2B.js +0 -12235
- package/dist/bundle/chunk-VB72LTSZ.js +0 -210
- package/dist/bundle/chunk-VB7FZOYX.js +0 -633
- package/dist/bundle/chunk-VS6WURLX.js +0 -217
- package/dist/bundle/chunk-VZ5PPYDG.js +0 -77
- package/dist/bundle/chunk-W5QHB53X.js +0 -3752
- package/dist/bundle/chunk-WMANRJR5.js +0 -555
- package/dist/bundle/chunk-WOPVBRPV.js +0 -29
- package/dist/bundle/chunk-XQ2WL3HB.js +0 -140
- package/dist/bundle/chunk-Y5E2WNWB.js +0 -35
- package/dist/bundle/chunk-Y6PVS55U.js +0 -800
- package/dist/bundle/chunk-YJXJJ2XP.js +0 -2333
- package/dist/bundle/chunk-YY7XKHDY.js +0 -79
- package/dist/bundle/chunk-ZED2CJW5.js +0 -353
- package/dist/bundle/chunk-ZOYOXWJB.js +0 -746
- package/dist/bundle/chunk-ZVVMGPBJ.js +0 -50
- package/dist/bundle/cli-U4O5XB7J.js +0 -1255
- package/dist/bundle/command-contract-FBTK6GQX.js +0 -45
- package/dist/bundle/command-server-entry-KKH6ZWJV.js +0 -175
- package/dist/bundle/config-FRJSIZNN.js +0 -118
- package/dist/bundle/decode-TPCNXEK4.js +0 -31
- package/dist/bundle/dispatch-FKMIPCPQ.js +0 -412
- package/dist/bundle/dist-7CLBCYZN.js +0 -321
- package/dist/bundle/dist-PAKDDIBT.js +0 -191
- package/dist/bundle/dist-XUFQCJXW.js +0 -7577
- package/dist/bundle/echarts-O3TNDAXJ.js +0 -42501
- package/dist/bundle/embed-WCJSFVSK.js +0 -38
- package/dist/bundle/embedder-TBBUPXBX.js +0 -111
- package/dist/bundle/failure-XTWBYI2A.js +0 -25
- package/dist/bundle/first-run-ELEMFW42.js +0 -29
- package/dist/bundle/first-screen-DIOBWMKP.js +0 -46
- package/dist/bundle/instructions-AMH5RWVJ.js +0 -11
- package/dist/bundle/mcp-5HFPWC3W.js +0 -167
- package/dist/bundle/meeting-combined-UXCF4SJ3.js +0 -26
- package/dist/bundle/meeting-model-3BZJ3EQP.js +0 -26
- package/dist/bundle/meeting-semantic-3HU7I2SJ.js +0 -23
- package/dist/bundle/meetings-XWMB6FOH.js +0 -332
- package/dist/bundle/node-EGMCBAO7.js +0 -176
- package/dist/bundle/node-KM3CUABH.js +0 -2340
- package/dist/bundle/node-TLZSIHIJ.js +0 -21
- package/dist/bundle/node-sqlite-IJBWENFX.js +0 -74
- package/dist/bundle/oauth-SZDDAP7A.js +0 -20
- package/dist/bundle/open-NS3TMKZX.js +0 -23
- package/dist/bundle/openai-4DN6WI3B.js +0 -28
- package/dist/bundle/process-SGHEN6MQ.js +0 -91
- package/dist/bundle/prompt-HJFMPFVC.js +0 -17
- package/dist/bundle/public-C2ZB2AGQ.js +0 -198
- package/dist/bundle/recognize-2SEI5PPM.js +0 -26
- package/dist/bundle/remote-2DMS74XE.js +0 -32
- package/dist/bundle/rerank-H6GCYVIA.js +0 -52
- package/dist/bundle/run-log-QU26SUZP.js +0 -145
- package/dist/bundle/serve-ODVRPFJO.js +0 -199
- package/dist/bundle/server-NBPF6IDZ.js +0 -95
- package/dist/bundle/server-PCLIO24L.js +0 -228
- package/dist/bundle/services-4QAPXBLO.js +0 -607
- package/dist/bundle/speech-MA6ZT3WE.js +0 -89
- package/dist/bundle/sqlite-runtime-PVMAUXRN.js +0 -20
- package/dist/bundle/state-QFMTYUME.js +0 -36
- package/dist/bundle/store-25OTAQC3.js +0 -187
- package/dist/bundle/store-F724QIKJ.js +0 -305
- package/dist/bundle/store-connection-OGPXANGB.js +0 -111
- package/dist/bundle/store-maintenance-command-2CM7LLNQ.js +0 -83
- package/dist/bundle/streaming-S22C4DG5.js +0 -18
- package/dist/bundle/surface-7PXHWCF6.js +0 -81
- package/dist/bundle/tokens-NLUHA2DW.js +0 -25
- package/dist/login.d.ts +0 -16
- package/dist/login.d.ts.map +0 -1
- package/dist/login.js +0 -98
- package/dist/login.js.map +0 -1
|
@@ -1,357 +0,0 @@
|
|
|
1
|
-
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
-
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
WIRECAT_TOOLS
|
|
5
|
-
} from "./chunk-NB7EOAUZ.js";
|
|
6
|
-
import {
|
|
7
|
-
hasOwnAction,
|
|
8
|
-
isHidden
|
|
9
|
-
} from "./chunk-WOPVBRPV.js";
|
|
10
|
-
import {
|
|
11
|
-
wrapAnsi
|
|
12
|
-
} from "./chunk-HTQTIKWP.js";
|
|
13
|
-
import {
|
|
14
|
-
commandPathOf,
|
|
15
|
-
outputOf
|
|
16
|
-
} from "./chunk-L75SMSJR.js";
|
|
17
|
-
import {
|
|
18
|
-
Command,
|
|
19
|
-
Help,
|
|
20
|
-
NO_EFFECTS,
|
|
21
|
-
Option,
|
|
22
|
-
annotate,
|
|
23
|
-
commandAt,
|
|
24
|
-
environmentOf,
|
|
25
|
-
metaOf,
|
|
26
|
-
takesProfile
|
|
27
|
-
} from "./chunk-V5EJSF2B.js";
|
|
28
|
-
import {
|
|
29
|
-
writes
|
|
30
|
-
} from "./chunk-ESN3W2MZ.js";
|
|
31
|
-
import {
|
|
32
|
-
CliError
|
|
33
|
-
} from "./chunk-IANKXHSE.js";
|
|
34
|
-
import {
|
|
35
|
-
__name
|
|
36
|
-
} from "./chunk-ZVVMGPBJ.js";
|
|
37
|
-
|
|
38
|
-
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/cli/help/command-help.js
|
|
39
|
-
var ARGUMENT_KINDS = {
|
|
40
|
-
chat: "chat",
|
|
41
|
-
chats: "chat",
|
|
42
|
-
message: "message",
|
|
43
|
-
messages: "message",
|
|
44
|
-
post: "message",
|
|
45
|
-
person: "person",
|
|
46
|
-
people: "person",
|
|
47
|
-
task: "task",
|
|
48
|
-
meeting: "meeting",
|
|
49
|
-
folder: "folder",
|
|
50
|
-
folders: "folder",
|
|
51
|
-
topic: "topic",
|
|
52
|
-
note: "note",
|
|
53
|
-
document: "document",
|
|
54
|
-
model: "model"
|
|
55
|
-
};
|
|
56
|
-
var ENTITY_KINDS = {
|
|
57
|
-
message: "message",
|
|
58
|
-
message_link: "message",
|
|
59
|
-
chat: "chat",
|
|
60
|
-
contact: "person",
|
|
61
|
-
member: "person",
|
|
62
|
-
person: "person",
|
|
63
|
-
task: "task",
|
|
64
|
-
meeting: "meeting",
|
|
65
|
-
meeting_details: "meeting",
|
|
66
|
-
meeting_hit: "meeting",
|
|
67
|
-
meeting_summary: "meeting",
|
|
68
|
-
folder: "folder",
|
|
69
|
-
topic: "topic",
|
|
70
|
-
note: "note",
|
|
71
|
-
document: "document",
|
|
72
|
-
model: "model"
|
|
73
|
-
};
|
|
74
|
-
var HOME = {
|
|
75
|
-
chat: "chats",
|
|
76
|
-
message: "messages",
|
|
77
|
-
person: "contacts",
|
|
78
|
-
task: "tasks",
|
|
79
|
-
meeting: "meetings",
|
|
80
|
-
folder: "folders",
|
|
81
|
-
topic: "topics",
|
|
82
|
-
note: "notes",
|
|
83
|
-
document: "documents",
|
|
84
|
-
model: "models"
|
|
85
|
-
};
|
|
86
|
-
var SAMPLES = {
|
|
87
|
-
chat: "Team",
|
|
88
|
-
message: "1234",
|
|
89
|
-
post: "1234",
|
|
90
|
-
person: "Anna",
|
|
91
|
-
people: "Anna",
|
|
92
|
-
task: "12",
|
|
93
|
-
meeting: "123",
|
|
94
|
-
folder: "Work",
|
|
95
|
-
topic: "General",
|
|
96
|
-
model: "default",
|
|
97
|
-
query: '"invoice"',
|
|
98
|
-
text: '"on my way"',
|
|
99
|
-
title: '"Weekly sync"',
|
|
100
|
-
name: "daily",
|
|
101
|
-
id: "1",
|
|
102
|
-
file: "./report.pdf",
|
|
103
|
-
link: "https://example.com/join/abc",
|
|
104
|
-
url: "https://example.com",
|
|
105
|
-
since: "1d",
|
|
106
|
-
duration: "1d",
|
|
107
|
-
limit: "20"
|
|
108
|
-
};
|
|
109
|
-
var MAX_NEXT = 3;
|
|
110
|
-
var choices = /* @__PURE__ */ new WeakMap();
|
|
111
|
-
var nextUsually = /* @__PURE__ */ __name((command, choice) => {
|
|
112
|
-
choices.set(command, choice);
|
|
113
|
-
return command;
|
|
114
|
-
}, "nextUsually");
|
|
115
|
-
var kindOfArgument = /* @__PURE__ */ __name((argument) => ARGUMENT_KINDS[argument.name()], "kindOfArgument");
|
|
116
|
-
var runs = /* @__PURE__ */ __name((command) => command.commands.length === 0 || hasOwnAction(command), "runs");
|
|
117
|
-
var leaves = /* @__PURE__ */ __name((command) => command.commands.filter((child) => !isHidden(child)).flatMap((child) => [...runs(child) ? [child] : [], ...leaves(child)]), "leaves");
|
|
118
|
-
var rootOf = /* @__PURE__ */ __name((command) => {
|
|
119
|
-
let at = command;
|
|
120
|
-
while (at.parent)
|
|
121
|
-
at = at.parent;
|
|
122
|
-
return at;
|
|
123
|
-
}, "rootOf");
|
|
124
|
-
var call = /* @__PURE__ */ __name((command) => [
|
|
125
|
-
rootOf(command).name(),
|
|
126
|
-
...commandPathOf(command),
|
|
127
|
-
...command.registeredArguments.map((one) => one.required ? `<${one.name()}>` : `[${one.name()}]`)
|
|
128
|
-
].join(" "), "call");
|
|
129
|
-
var fieldsOf = /* @__PURE__ */ __name((schema) => {
|
|
130
|
-
const variants = schema.anyOf;
|
|
131
|
-
if (variants)
|
|
132
|
-
return variants.flatMap(fieldsOf);
|
|
133
|
-
const required = schema.required ?? [];
|
|
134
|
-
return [...required, ...Object.keys(schema.properties ?? {})];
|
|
135
|
-
}, "fieldsOf");
|
|
136
|
-
var returnsOf = /* @__PURE__ */ __name((command) => {
|
|
137
|
-
const output = metaOf(command).output;
|
|
138
|
-
const { item, coverage } = outputOf(command);
|
|
139
|
-
if (!output || coverage !== "declared-entity")
|
|
140
|
-
return "";
|
|
141
|
-
const fields = [...new Set(fieldsOf(item))];
|
|
142
|
-
const noun = (output.view ? `${output.entity} ${output.view}` : output.entity).replaceAll("_", " ");
|
|
143
|
-
const more = fields.length > 8 ? `, and ${fields.length - 8} more` : "";
|
|
144
|
-
const root = rootOf(command);
|
|
145
|
-
const schema = commandAt(root, "commands info") ? `; every field: ${root.name()} commands info ${commandPathOf(command).join(" ")}` : "";
|
|
146
|
-
return `${noun} \u2014 ${fields.slice(0, 8).join(", ")}${more}${schema}`;
|
|
147
|
-
}, "returnsOf");
|
|
148
|
-
var nextOf = /* @__PURE__ */ __name((command) => {
|
|
149
|
-
const root = rootOf(command);
|
|
150
|
-
const choice = choices.get(command) ?? {};
|
|
151
|
-
const drop = new Set(choice.drop ?? []);
|
|
152
|
-
const pinned = (choice.pin ?? []).flatMap((path) => commandAt(root, path) ?? []);
|
|
153
|
-
const output = metaOf(command).output;
|
|
154
|
-
const kind = output ? ENTITY_KINDS[output.entity] : void 0;
|
|
155
|
-
const all = leaves(root);
|
|
156
|
-
const derived = kind ? all.filter((other) => other !== command && !pinned.includes(other)).filter((other) => other.registeredArguments.some((argument) => kindOfArgument(argument) === kind)).map((other, order) => ({ other, order })).sort((a, b) => {
|
|
157
|
-
const rank = /* @__PURE__ */ __name((other) => [
|
|
158
|
-
Number(writes(metaOf(other).effects)),
|
|
159
|
-
Number(!other.registeredArguments.some((one) => one.required && kindOfArgument(one) === kind)),
|
|
160
|
-
Number(commandPathOf(other)[0] !== HOME[kind]),
|
|
161
|
-
Number(other.parent !== command.parent)
|
|
162
|
-
], "rank");
|
|
163
|
-
const [left, right] = [rank(a.other), rank(b.other)];
|
|
164
|
-
return left.reduce((found, value, at) => found || value - (right[at] ?? 0), 0) || a.order - b.order;
|
|
165
|
-
}).map(({ other }) => other) : [];
|
|
166
|
-
return [...pinned, ...derived].filter((other) => !drop.has(commandPathOf(other).join(" "))).slice(0, MAX_NEXT);
|
|
167
|
-
}, "nextOf");
|
|
168
|
-
var sample = /* @__PURE__ */ __name((name) => SAMPLES[name] ?? `<${name}>`, "sample");
|
|
169
|
-
var generatedExample = /* @__PURE__ */ __name((command) => {
|
|
170
|
-
const { query } = metaOf(command);
|
|
171
|
-
const words = command.registeredArguments.flatMap((argument) => {
|
|
172
|
-
const name = argument.name();
|
|
173
|
-
if (name === "query" && query)
|
|
174
|
-
return [];
|
|
175
|
-
if (!argument.required && SAMPLES[name] === void 0)
|
|
176
|
-
return [];
|
|
177
|
-
return [argument.argChoices?.[0] ?? sample(name)];
|
|
178
|
-
});
|
|
179
|
-
const options = command.options.filter((option) => option.mandatory).flatMap((option) => {
|
|
180
|
-
const flag = option.long ?? option.short ?? option.flags;
|
|
181
|
-
const placeholder = /[<[]([^>\]]+)[>\]]/.exec(option.flags)?.[1];
|
|
182
|
-
if (!(option.required || option.optional))
|
|
183
|
-
return [flag];
|
|
184
|
-
return [flag, option.argChoices?.[0] ?? sample(placeholder ?? option.attributeName())];
|
|
185
|
-
});
|
|
186
|
-
return [rootOf(command).name(), ...commandPathOf(command), ...words, ...options].join(" ");
|
|
187
|
-
}, "generatedExample");
|
|
188
|
-
var profiled = /* @__PURE__ */ new WeakSet();
|
|
189
|
-
var EXAMPLE_PROFILE = "personal";
|
|
190
|
-
var withProfile = /* @__PURE__ */ __name((command, example) => {
|
|
191
|
-
const root = rootOf(command);
|
|
192
|
-
const top = commandPathOf(command)[0];
|
|
193
|
-
if (!profiled.has(root) || top === void 0 || !takesProfile(command))
|
|
194
|
-
return example;
|
|
195
|
-
if (example.split(" ").includes("--profiles"))
|
|
196
|
-
return example;
|
|
197
|
-
const prefix = `${root.name()} ${top}`;
|
|
198
|
-
return example === prefix || example.startsWith(`${prefix} `) ? `${root.name()} ${EXAMPLE_PROFILE} ${example.slice(root.name().length + 1)}` : example;
|
|
199
|
-
}, "withProfile");
|
|
200
|
-
var commandHelp = /* @__PURE__ */ __name((command) => {
|
|
201
|
-
const written = metaOf(command).examples ?? [];
|
|
202
|
-
return {
|
|
203
|
-
returns: returnsOf(command),
|
|
204
|
-
next: nextOf(command).map(call),
|
|
205
|
-
examples: (written.length > 0 ? written : [generatedExample(command)]).map((one) => withProfile(command, one)),
|
|
206
|
-
origin: written.length > 0 ? "written" : "generated"
|
|
207
|
-
};
|
|
208
|
-
}, "commandHelp");
|
|
209
|
-
var LABEL = 15;
|
|
210
|
-
var commandHelpText = /* @__PURE__ */ __name((command) => {
|
|
211
|
-
const { returns, next, examples } = commandHelp(command);
|
|
212
|
-
const rows = /* @__PURE__ */ __name((label, values) => values.map((value, at) => `${(at === 0 ? label : "").padEnd(LABEL)}${value}`), "rows");
|
|
213
|
-
const availability = environmentOf(command).discoveryAvailability?.({
|
|
214
|
-
...metaOf(command),
|
|
215
|
-
path: commandPathOf(command)
|
|
216
|
-
});
|
|
217
|
-
const profileMatters = profiled.has(rootOf(command)) && takesProfile(command);
|
|
218
|
-
const access = !availability ? [] : availability.available ? profileMatters ? rows("Availability:", ["available for this profile"]) : [] : rows("Availability:", [`unavailable \u2014 ${availability.reason}`]);
|
|
219
|
-
return [
|
|
220
|
-
"",
|
|
221
|
-
...access,
|
|
222
|
-
...rows("Returns:", returns ? [returns] : []),
|
|
223
|
-
...rows("Next usually:", next),
|
|
224
|
-
...rows("Example:", examples),
|
|
225
|
-
""
|
|
226
|
-
].join("\n");
|
|
227
|
-
}, "commandHelpText");
|
|
228
|
-
var commandHelpMarkdown = /* @__PURE__ */ __name((root, path) => {
|
|
229
|
-
const command = commandAt(root, path.join(" "));
|
|
230
|
-
if (!command || !runs(command))
|
|
231
|
-
return [];
|
|
232
|
-
const { returns, next, examples } = commandHelp(command);
|
|
233
|
-
const code = /* @__PURE__ */ __name((values) => values.map((value) => `\`${value}\``).join(", "), "code");
|
|
234
|
-
return [
|
|
235
|
-
...returns ? [`**Returns:** ${returns}`] : [],
|
|
236
|
-
...next.length > 0 ? [`**Next usually:** ${code(next)}`] : [],
|
|
237
|
-
`**Example:** ${code(examples)}`
|
|
238
|
-
];
|
|
239
|
-
}, "commandHelpMarkdown");
|
|
240
|
-
var installCommandHelp = /* @__PURE__ */ __name((program, { profile = true } = {}) => {
|
|
241
|
-
if (profile)
|
|
242
|
-
profiled.add(program);
|
|
243
|
-
for (const command of leaves(program))
|
|
244
|
-
command.addHelpText("after", () => commandHelpText(command));
|
|
245
|
-
}, "installCommandHelp");
|
|
246
|
-
var exampleReport = /* @__PURE__ */ __name((program) => {
|
|
247
|
-
const written = [];
|
|
248
|
-
const generated = [];
|
|
249
|
-
for (const command of leaves(program))
|
|
250
|
-
(commandHelp(command).origin === "written" ? written : generated).push(commandPathOf(command).join(" "));
|
|
251
|
-
const total = written.length + generated.length;
|
|
252
|
-
const text = [
|
|
253
|
-
`${program.name()}: ${written.length} of ${total} commands have a written example; ${generated.length} show a generated one:`,
|
|
254
|
-
...generated.map((path) => ` ${program.name()} ${path}`),
|
|
255
|
-
""
|
|
256
|
-
].join("\n");
|
|
257
|
-
return { written, generated, text };
|
|
258
|
-
}, "exampleReport");
|
|
259
|
-
|
|
260
|
-
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/cli/help/first-screen.js
|
|
261
|
-
var WIDTH = 100;
|
|
262
|
-
var widest = /* @__PURE__ */ __name((texts) => texts.reduce((most, text) => Math.max(most, text.length), 0), "widest");
|
|
263
|
-
var block = /* @__PURE__ */ __name((title, rows, column) => rows.length === 0 ? [] : ["", `${title}:`, ...rows.map(([left, right]) => ` ${left.padEnd(column)}${right}`)], "block");
|
|
264
|
-
var TOPICS = [
|
|
265
|
-
["--json", "output"],
|
|
266
|
-
["--offline", "offline"],
|
|
267
|
-
["--timeout", "timeouts"],
|
|
268
|
-
["--dry-run", "dry run"]
|
|
269
|
-
];
|
|
270
|
-
var optionTopics = /* @__PURE__ */ __name((program) => {
|
|
271
|
-
const longs = new Set(program.options.map((option) => option.long));
|
|
272
|
-
const topics = TOPICS.filter(([long]) => longs.has(long)).map(([, topic]) => topic);
|
|
273
|
-
return topics.length > 0 ? topics.join(", ") : "the options every command takes";
|
|
274
|
-
}, "optionTopics");
|
|
275
|
-
var pointers = /* @__PURE__ */ __name((program, cli, start, profile) => {
|
|
276
|
-
const has = /* @__PURE__ */ __name((path) => commandAt(program, path) !== void 0, "has");
|
|
277
|
-
const next = [
|
|
278
|
-
has("commands") ? [`${cli} commands`, "every command, by section"] : void 0,
|
|
279
|
-
has("guide") ? [`${cli} guide`, "scenarios: command sequences for common tasks"] : void 0,
|
|
280
|
-
[`${cli} help options`, optionTopics(program)]
|
|
281
|
-
].filter((row) => row !== void 0);
|
|
282
|
-
const rows = [
|
|
283
|
-
...start ? [["Start here:", start, profile ? "(any profile name works)" : ""]] : [],
|
|
284
|
-
...has("account list") ? [["", `${cli} account list`, "your profiles and their logged-in accounts"]] : [],
|
|
285
|
-
...next.map(([command = "", does = ""], at) => [at === 0 ? "Next:" : "", command, does]),
|
|
286
|
-
...has("skill show") ? [["For agents:", `${cli} skill show`, "rules and the discovery loop"]] : []
|
|
287
|
-
];
|
|
288
|
-
const width = widest(rows.map(([, command]) => command)) + 2;
|
|
289
|
-
return ["", ...rows.map(([label, command, does]) => `${label.padEnd(14)}${command.padEnd(width)}${does}`.trimEnd())];
|
|
290
|
-
}, "pointers");
|
|
291
|
-
var firstScreen = /* @__PURE__ */ __name((program, screen = {}) => {
|
|
292
|
-
const cli = program.name();
|
|
293
|
-
const profile = screen.profile !== false;
|
|
294
|
-
const pitch = screen.pitch ?? program.description().split("\n")[0] ?? "";
|
|
295
|
-
const can = (screen.can ?? []).map(({ command, does }) => [command, does]);
|
|
296
|
-
const works = WIRECAT_TOOLS.filter((tool) => tool.command !== cli).map(({ command, shown, does }) => [shown ?? command, does]);
|
|
297
|
-
const column = Math.max(22, widest([...can, ...works].map(([left]) => left))) + 2;
|
|
298
|
-
const start = screen.start ?? (commandAt(program, "setup") ? `${cli} ${EXAMPLE_PROFILE} setup` : void 0);
|
|
299
|
-
return [
|
|
300
|
-
wrapAnsi(`${cli} \u2014 ${pitch}`, WIDTH),
|
|
301
|
-
"",
|
|
302
|
-
`Usage: ${cli} ${profile ? "<profile> " : ""}<command> [options]`,
|
|
303
|
-
...profile ? ["Account commands start with your profile, a name you choose; none is ever assumed."] : [],
|
|
304
|
-
...block("What you can do", can, column),
|
|
305
|
-
...block("Works with", works, column),
|
|
306
|
-
...pointers(program, cli, start, profile),
|
|
307
|
-
""
|
|
308
|
-
].join("\n");
|
|
309
|
-
}, "firstScreen");
|
|
310
|
-
var optionsScreen = /* @__PURE__ */ __name((program) => {
|
|
311
|
-
const helper = program.createHelp();
|
|
312
|
-
const width = helper.longestOptionTermLength(program, helper);
|
|
313
|
-
return [
|
|
314
|
-
`Options for every ${program.name()} command:`,
|
|
315
|
-
...helper.visibleOptions(program).map((option) => helper.formatItem(helper.optionTerm(option), width, helper.optionDescription(option), helper)),
|
|
316
|
-
""
|
|
317
|
-
].join("\n");
|
|
318
|
-
}, "optionsScreen");
|
|
319
|
-
var installHelp = /* @__PURE__ */ __name((program, screen = {}) => {
|
|
320
|
-
let full = false;
|
|
321
|
-
const own = program.configureHelp();
|
|
322
|
-
program.configureHelp({
|
|
323
|
-
...own,
|
|
324
|
-
// Commander copies this configuration to children made with `.command()`, so only the root gets the screen.
|
|
325
|
-
formatHelp: /* @__PURE__ */ __name((command, helper) => command === program && !full ? firstScreen(program, screen) : (own.formatHelp ?? Help.prototype.formatHelp).call(helper, command, helper), "formatHelp")
|
|
326
|
-
});
|
|
327
|
-
installCommandHelp(program, { profile: screen.profile !== false });
|
|
328
|
-
program.addOption(new Option("--help-all", "the full help: every command and option").hideHelp());
|
|
329
|
-
program.on("option:help-all", () => {
|
|
330
|
-
full = true;
|
|
331
|
-
program.help();
|
|
332
|
-
});
|
|
333
|
-
if (program.commands.some((command) => command.name() === "help"))
|
|
334
|
-
return program;
|
|
335
|
-
const help = annotate(new Command("help"), { effects: NO_EFFECTS, mcp: false }).description("this screen; help options: the options for every command; help <command>: that command's help").argument("[topic...]", "options, or a command path").action((topic) => {
|
|
336
|
-
if (topic.length === 0)
|
|
337
|
-
return program.outputHelp();
|
|
338
|
-
if (topic.length === 1 && topic[0] === "options")
|
|
339
|
-
return program.configureOutput().writeOut?.(optionsScreen(program));
|
|
340
|
-
const command = commandAt(program, topic.join(" "));
|
|
341
|
-
if (!command)
|
|
342
|
-
throw new CliError("validation_error", `no command "${topic.join(" ")}" \u2014 run \`${program.name()} help\`, or \`${program.name()} help options\``, { available: program.commands.map((one) => one.name()).filter((name) => name !== "help") });
|
|
343
|
-
command.outputHelp();
|
|
344
|
-
});
|
|
345
|
-
program.addCommand(help, { hidden: true });
|
|
346
|
-
return program;
|
|
347
|
-
}, "installHelp");
|
|
348
|
-
|
|
349
|
-
export {
|
|
350
|
-
nextUsually,
|
|
351
|
-
commandHelp,
|
|
352
|
-
commandHelpText,
|
|
353
|
-
commandHelpMarkdown,
|
|
354
|
-
exampleReport,
|
|
355
|
-
firstScreen,
|
|
356
|
-
installHelp
|
|
357
|
-
};
|
|
@@ -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-A6EZK5RG.js";
|
|
6
|
-
import {
|
|
7
|
-
QUESTIONS,
|
|
8
|
-
readSetupAnswers,
|
|
9
|
-
unanswered,
|
|
10
|
-
writeSetupAnswers
|
|
11
|
-
} from "./chunk-QVYAV7F2.js";
|
|
12
|
-
import {
|
|
13
|
-
DEFAULT_STEMMERS,
|
|
14
|
-
LANGUAGES
|
|
15
|
-
} from "./chunk-YJXJJ2XP.js";
|
|
16
|
-
import {
|
|
17
|
-
sharedConfigPath
|
|
18
|
-
} from "./chunk-E745WZKY.js";
|
|
19
|
-
import {
|
|
20
|
-
installerOf
|
|
21
|
-
} from "./chunk-TXDR6YSF.js";
|
|
22
|
-
import {
|
|
23
|
-
storePath
|
|
24
|
-
} from "./chunk-274SLQNW.js";
|
|
25
|
-
import {
|
|
26
|
-
__name
|
|
27
|
-
} from "./chunk-ZVVMGPBJ.js";
|
|
28
|
-
|
|
29
|
-
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/cli/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-25OTAQC3.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-NS3TMKZX.js"),
|
|
117
|
-
import("./store-maintenance-command-2CM7LLNQ.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-DIOBWMKP.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-HJFMPFVC.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
|
-
};
|