@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,95 +0,0 @@
|
|
|
1
|
-
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
-
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
PRAGMAS
|
|
5
|
-
} from "./chunk-KYRYD4CR.js";
|
|
6
|
-
import {
|
|
7
|
-
CliError
|
|
8
|
-
} from "./chunk-IANKXHSE.js";
|
|
9
|
-
import {
|
|
10
|
-
__name
|
|
11
|
-
} from "./chunk-ZVVMGPBJ.js";
|
|
12
|
-
|
|
13
|
-
// 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/store/sqlite-warning.js
|
|
14
|
-
var SQLITE_WARNING = "SQLite is an experimental feature";
|
|
15
|
-
var quieted = /* @__PURE__ */ new WeakSet();
|
|
16
|
-
var quietSqliteWarning = /* @__PURE__ */ __name((host = process) => {
|
|
17
|
-
if (quieted.has(host))
|
|
18
|
-
return;
|
|
19
|
-
quieted.add(host);
|
|
20
|
-
const emit = host.emitWarning;
|
|
21
|
-
host.emitWarning = function(warning, ...rest) {
|
|
22
|
-
if (isSqliteWarning(warning, rest[0]))
|
|
23
|
-
return;
|
|
24
|
-
return Reflect.apply(emit, this, [warning, ...rest]);
|
|
25
|
-
};
|
|
26
|
-
}, "quietSqliteWarning");
|
|
27
|
-
var isSqliteWarning = /* @__PURE__ */ __name((warning, options) => {
|
|
28
|
-
const type = typeof options === "string" ? options : options?.type;
|
|
29
|
-
const name = typeof warning === "string" ? type : warning.name;
|
|
30
|
-
const message = typeof warning === "string" ? warning : warning.message;
|
|
31
|
-
return name === "ExperimentalWarning" && message.startsWith(SQLITE_WARNING);
|
|
32
|
-
}, "isSqliteWarning");
|
|
33
|
-
|
|
34
|
-
// 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/store/open.js
|
|
35
|
-
var openCache = /* @__PURE__ */ __name(async (path) => {
|
|
36
|
-
const database = await openFile(path);
|
|
37
|
-
try {
|
|
38
|
-
database.exec(PRAGMAS);
|
|
39
|
-
} catch (error) {
|
|
40
|
-
database.close();
|
|
41
|
-
throw error;
|
|
42
|
-
}
|
|
43
|
-
return database;
|
|
44
|
-
}, "openCache");
|
|
45
|
-
var openFile = /* @__PURE__ */ __name((path) => "Bun" in globalThis ? openUnderBun(path) : openUnderNode(path), "openFile");
|
|
46
|
-
var openUnderBun = /* @__PURE__ */ __name(async (path) => {
|
|
47
|
-
const { openWithBunSqlite } = await import("./bun-sqlite-IOPYIUA7.js");
|
|
48
|
-
return await openWithBunSqlite(path);
|
|
49
|
-
}, "openUnderBun");
|
|
50
|
-
var openUnderNode = /* @__PURE__ */ __name(async (path) => {
|
|
51
|
-
quietSqliteWarning();
|
|
52
|
-
const { openWithNodeSqlite } = await import("./node-sqlite-ASAZJNHE.js");
|
|
53
|
-
return openWithNodeSqlite(path);
|
|
54
|
-
}, "openUnderNode");
|
|
55
|
-
var runtime = /* @__PURE__ */ __name(() => {
|
|
56
|
-
const bun = globalThis.Bun;
|
|
57
|
-
return bun ? `Bun ${bun.version}` : `Node ${process.versions.node}`;
|
|
58
|
-
}, "runtime");
|
|
59
|
-
var CAPABILITY_STATEMENTS = [
|
|
60
|
-
`CREATE VIRTUAL TABLE temp.capability_words USING fts5(a, content = '', contentless_delete = 1,
|
|
61
|
-
tokenize = 'unicode61 remove_diacritics 2')`,
|
|
62
|
-
"CREATE VIRTUAL TABLE temp.capability_text USING fts5(a, tokenize = 'trigram')",
|
|
63
|
-
"DROP TABLE temp.capability_words",
|
|
64
|
-
"DROP TABLE temp.capability_text"
|
|
65
|
-
];
|
|
66
|
-
var assertStoreCapable = /* @__PURE__ */ __name((database, on = runtime()) => {
|
|
67
|
-
try {
|
|
68
|
-
for (const statement of CAPABILITY_STATEMENTS)
|
|
69
|
-
database.exec(statement);
|
|
70
|
-
} catch (error) {
|
|
71
|
-
const version = String(database.prepare("SELECT sqlite_version() AS version").get()?.version);
|
|
72
|
-
const remedy = on.startsWith("Bun") ? "Run it under Node 22.16 or newer instead" : "Update Node to 22.16 or newer, or run it under Bun";
|
|
73
|
-
throw new CliError("configuration_error", `the message store needs full-text search that this SQLite (${version}, ${on}) does not have. ${remedy}.`, { sqlite: version, runtime: on, cause: error instanceof Error ? error.message : String(error) });
|
|
74
|
-
}
|
|
75
|
-
}, "assertStoreCapable");
|
|
76
|
-
var capable;
|
|
77
|
-
var storeCapable = /* @__PURE__ */ __name(() => {
|
|
78
|
-
capable ??= openCache(":memory:").then((database) => {
|
|
79
|
-
try {
|
|
80
|
-
assertStoreCapable(database);
|
|
81
|
-
} finally {
|
|
82
|
-
database.close();
|
|
83
|
-
}
|
|
84
|
-
});
|
|
85
|
-
return capable;
|
|
86
|
-
}, "storeCapable");
|
|
87
|
-
|
|
88
|
-
export {
|
|
89
|
-
quietSqliteWarning,
|
|
90
|
-
openCache,
|
|
91
|
-
openFile,
|
|
92
|
-
CAPABILITY_STATEMENTS,
|
|
93
|
-
assertStoreCapable,
|
|
94
|
-
storeCapable
|
|
95
|
-
};
|
|
@@ -1,388 +0,0 @@
|
|
|
1
|
-
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
-
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
CHECK_EVERY_MS,
|
|
5
|
-
isNewer,
|
|
6
|
-
readNoticeState,
|
|
7
|
-
writeUpdateState
|
|
8
|
-
} from "./chunk-MYHPXJDG.js";
|
|
9
|
-
import {
|
|
10
|
-
executableEnvironment,
|
|
11
|
-
executableOnPath
|
|
12
|
-
} from "./chunk-TY7NDMFY.js";
|
|
13
|
-
import {
|
|
14
|
-
Command,
|
|
15
|
-
Option,
|
|
16
|
-
annotate
|
|
17
|
-
} from "./chunk-ASTLGFTR.js";
|
|
18
|
-
import {
|
|
19
|
-
require_cross_spawn
|
|
20
|
-
} from "./chunk-D72URWJE.js";
|
|
21
|
-
import {
|
|
22
|
-
refuseOwnerHomeInTests
|
|
23
|
-
} from "./chunk-3QN5KDFZ.js";
|
|
24
|
-
import {
|
|
25
|
-
CliError
|
|
26
|
-
} from "./chunk-IANKXHSE.js";
|
|
27
|
-
import {
|
|
28
|
-
__name,
|
|
29
|
-
__toESM
|
|
30
|
-
} from "./chunk-ZVVMGPBJ.js";
|
|
31
|
-
|
|
32
|
-
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/skill/index.js
|
|
33
|
-
import { existsSync, mkdirSync, readdirSync, readFileSync, rmSync, writeFileSync } from "node:fs";
|
|
34
|
-
import { homedir } from "node:os";
|
|
35
|
-
import { basename, dirname, join, relative, resolve, sep } from "node:path";
|
|
36
|
-
import { fileURLToPath, pathToFileURL } from "node:url";
|
|
37
|
-
var import_cross_spawn = __toESM(require_cross_spawn(), 1);
|
|
38
|
-
var SKILL_TARGETS = ["claude", "agents"];
|
|
39
|
-
var homeOf = /* @__PURE__ */ __name((env) => {
|
|
40
|
-
refuseOwnerHomeInTests(env);
|
|
41
|
-
return env.HOME || env.USERPROFILE || homedir();
|
|
42
|
-
}, "homeOf");
|
|
43
|
-
var skillPath = /* @__PURE__ */ __name((target, appName, env) => join(homeOf(env), target === "claude" ? ".claude" : ".agents", "skills", appName, "SKILL.md"), "skillPath");
|
|
44
|
-
var FRONTMATTER = /^---(\r?\n)([\s\S]*?\r?\n)?---(\r?\n|$)/;
|
|
45
|
-
var scalar = /* @__PURE__ */ __name((key, indent) => new RegExp(`^${indent}${key}:[ \\t]*["']?([^"'\\r\\n]*?)["']?[ \\t]*\\r?\\n?$`), "scalar");
|
|
46
|
-
var frontmatterLines = /* @__PURE__ */ __name((content) => (FRONTMATTER.exec(content)?.[2] ?? "").split(/(?<=\n)/), "frontmatterLines");
|
|
47
|
-
var metadataBlock = /* @__PURE__ */ __name((lines) => {
|
|
48
|
-
const start = lines.findIndex((line) => /^metadata:/.test(line));
|
|
49
|
-
if (start === -1)
|
|
50
|
-
return void 0;
|
|
51
|
-
if (!/^metadata:[ \t]*\r?\n?$/.test(lines[start])) {
|
|
52
|
-
throw new CliError("configuration_error", "SKILL.md: write `metadata` as an indented block, not on one line");
|
|
53
|
-
}
|
|
54
|
-
let end = start + 1;
|
|
55
|
-
while (end < lines.length && /^[ \t]/.test(lines[end]))
|
|
56
|
-
end++;
|
|
57
|
-
return [start, end];
|
|
58
|
-
}, "metadataBlock");
|
|
59
|
-
var skillVersion = /* @__PURE__ */ __name((content) => {
|
|
60
|
-
const lines = frontmatterLines(content);
|
|
61
|
-
const block = metadataBlock(lines);
|
|
62
|
-
const nested = block && lines.slice(block[0] + 1, block[1]).find((line2) => scalar("version", "[ \\t]+").test(line2));
|
|
63
|
-
const line = nested ?? lines.find((line2) => scalar("version", "").test(line2));
|
|
64
|
-
return line === void 0 ? void 0 : scalar("version", "[ \\t]*").exec(line)?.[1];
|
|
65
|
-
}, "skillVersion");
|
|
66
|
-
var skillName = /* @__PURE__ */ __name((content) => {
|
|
67
|
-
const line = frontmatterLines(content).find((line2) => scalar("name", "").test(line2));
|
|
68
|
-
return line === void 0 ? void 0 : scalar("name", "").exec(line)?.[1];
|
|
69
|
-
}, "skillName");
|
|
70
|
-
var withVersion = /* @__PURE__ */ __name((content, version) => {
|
|
71
|
-
const match = FRONTMATTER.exec(content);
|
|
72
|
-
if (!match)
|
|
73
|
-
return `---
|
|
74
|
-
metadata:
|
|
75
|
-
version: "${version}"
|
|
76
|
-
---
|
|
77
|
-
${content}`;
|
|
78
|
-
const [whole, eol = "\n", body = "", close = ""] = match;
|
|
79
|
-
const lines = body.split(/(?<=\n)/).filter((line) => line !== "");
|
|
80
|
-
const block = metadataBlock(lines);
|
|
81
|
-
if (!block) {
|
|
82
|
-
lines.push(`metadata:${eol}`, ` version: "${version}"${eol}`);
|
|
83
|
-
} else {
|
|
84
|
-
const [start, end] = block;
|
|
85
|
-
const indent = /^[ \t]+/.exec(lines[start + 1] ?? "")?.[0] ?? " ";
|
|
86
|
-
const at = lines.slice(start + 1, end).findIndex((line) => scalar("version", "[ \\t]+").test(line));
|
|
87
|
-
if (at === -1)
|
|
88
|
-
lines.splice(start + 1, 0, `${indent}version: "${version}"${eol}`);
|
|
89
|
-
else {
|
|
90
|
-
const old = lines[start + 1 + at];
|
|
91
|
-
const lineEol = /\r?\n$/.exec(old)?.[0] ?? "";
|
|
92
|
-
lines[start + 1 + at] = `${/^[ \t]+/.exec(old)?.[0]}version: "${version}"${lineEol}`;
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
return `---${eol}${lines.join("")}---${close}${content.slice(whole.length)}`;
|
|
96
|
-
}, "withVersion");
|
|
97
|
-
var skillFiles = /* @__PURE__ */ __name((skill) => {
|
|
98
|
-
const root = dirname(fileURLToPath(skill));
|
|
99
|
-
const found = [];
|
|
100
|
-
const walk = /* @__PURE__ */ __name((folder) => {
|
|
101
|
-
for (const entry of readdirSync(folder, { withFileTypes: true })) {
|
|
102
|
-
if (entry.name.startsWith("."))
|
|
103
|
-
continue;
|
|
104
|
-
const path = join(folder, entry.name);
|
|
105
|
-
if (entry.isDirectory())
|
|
106
|
-
walk(path);
|
|
107
|
-
else if (entry.isFile() && path !== join(root, "SKILL.md"))
|
|
108
|
-
found.push(relative(root, path).split(sep).join("/"));
|
|
109
|
-
}
|
|
110
|
-
}, "walk");
|
|
111
|
-
walk(root);
|
|
112
|
-
return found.sort();
|
|
113
|
-
}, "skillFiles");
|
|
114
|
-
var writeSkillFolder = /* @__PURE__ */ __name((app, skill, folder) => {
|
|
115
|
-
const source = readFileSync(skill, "utf8");
|
|
116
|
-
const name = skillName(source);
|
|
117
|
-
if (name !== app.appName) {
|
|
118
|
-
throw new CliError("configuration_error", `SKILL.md is named ${name === void 0 ? "nothing" : `"${name}"`}, but installs into a directory "${app.appName}"; the two must match`);
|
|
119
|
-
}
|
|
120
|
-
const root = dirname(fileURLToPath(skill));
|
|
121
|
-
for (const file of skillFiles(skill)) {
|
|
122
|
-
const target = join(folder, file);
|
|
123
|
-
mkdirSync(dirname(target), { recursive: true });
|
|
124
|
-
writeFileSync(target, readFileSync(join(root, file)));
|
|
125
|
-
}
|
|
126
|
-
const path = join(folder, "SKILL.md");
|
|
127
|
-
mkdirSync(folder, { recursive: true });
|
|
128
|
-
writeFileSync(path, withVersion(source, app.version));
|
|
129
|
-
return path;
|
|
130
|
-
}, "writeSkillFolder");
|
|
131
|
-
var installSkill = /* @__PURE__ */ __name((app, skill, { targets = SKILL_TARGETS, env = process.env } = {}) => targets.map((target) => writeSkillFolder(app, skill, dirname(skillPath(target, app.appName, env)))), "installSkill");
|
|
132
|
-
var skillStatus = /* @__PURE__ */ __name((app, env = process.env) => SKILL_TARGETS.map((target) => {
|
|
133
|
-
const path = skillPath(target, app.appName, env);
|
|
134
|
-
return { target, ...copyStatus(app, path) ?? { path, installed: null, state: "missing" } };
|
|
135
|
-
}), "skillStatus");
|
|
136
|
-
var copyStatus = /* @__PURE__ */ __name((app, path) => {
|
|
137
|
-
let content;
|
|
138
|
-
try {
|
|
139
|
-
content = readFileSync(path, "utf8");
|
|
140
|
-
} catch {
|
|
141
|
-
return void 0;
|
|
142
|
-
}
|
|
143
|
-
const installed = skillVersion(content);
|
|
144
|
-
if (installed === void 0)
|
|
145
|
-
return { path, installed: null, state: "unversioned" };
|
|
146
|
-
return { path, installed, state: isNewer(app.version, installed) ? "stale" : "current" };
|
|
147
|
-
}, "copyStatus");
|
|
148
|
-
var runProgram = /* @__PURE__ */ __name((file, args, env) => {
|
|
149
|
-
const result = import_cross_spawn.default.sync(executableOnPath(file, env), [...args], {
|
|
150
|
-
encoding: "utf8",
|
|
151
|
-
timeout: 3e4,
|
|
152
|
-
maxBuffer: 256e3,
|
|
153
|
-
env: executableEnvironment(env)
|
|
154
|
-
});
|
|
155
|
-
return { status: result.status, ...result.error ? { error: result.error } : {}, stdout: result.stdout ?? "" };
|
|
156
|
-
}, "runProgram");
|
|
157
|
-
var hermesHome = /* @__PURE__ */ __name((env, platform = process.platform) => {
|
|
158
|
-
refuseOwnerHomeInTests(env, platform);
|
|
159
|
-
const set = env.HERMES_HOME?.trim();
|
|
160
|
-
if (set)
|
|
161
|
-
return set;
|
|
162
|
-
if (platform === "win32")
|
|
163
|
-
return join(env.LOCALAPPDATA || join(homeOf(env), "AppData", "Local"), "hermes");
|
|
164
|
-
return join(homeOf(env), ".hermes");
|
|
165
|
-
}, "hermesHome");
|
|
166
|
-
var hermesCopyPath = /* @__PURE__ */ __name((appName, env) => join(hermesHome(env), "skills", appName, "SKILL.md"), "hermesCopyPath");
|
|
167
|
-
var EXTERNAL_DIRS = "skills.external_dirs";
|
|
168
|
-
var externalDirs = /* @__PURE__ */ __name((env, run) => {
|
|
169
|
-
const answer = run("hermes", ["config", "get", EXTERNAL_DIRS, "--json"], env);
|
|
170
|
-
if (answer.error || answer.status !== 0)
|
|
171
|
-
return void 0;
|
|
172
|
-
let value;
|
|
173
|
-
try {
|
|
174
|
-
value = JSON.parse(answer.stdout);
|
|
175
|
-
} catch {
|
|
176
|
-
return void 0;
|
|
177
|
-
}
|
|
178
|
-
if (value === null)
|
|
179
|
-
return [];
|
|
180
|
-
if (typeof value === "string")
|
|
181
|
-
return [value];
|
|
182
|
-
return Array.isArray(value) && value.every((entry) => typeof entry === "string") ? value : void 0;
|
|
183
|
-
}, "externalDirs");
|
|
184
|
-
var expanded = /* @__PURE__ */ __name((entry, env) => resolve(entry.replace(/^~(?=$|[\\/])/, homeOf(env)).replace(/\$\{(\w+)\}|\$(\w+)/g, (whole, braced, bare) => env[braced ?? bare ?? ""] ?? whole)), "expanded");
|
|
185
|
-
var lists = /* @__PURE__ */ __name((dirs, folder, env) => dirs.some((entry) => expanded(entry, env) === resolve(folder)), "lists");
|
|
186
|
-
var removeOwnCopy = /* @__PURE__ */ __name((app, skill, env) => {
|
|
187
|
-
const path = hermesCopyPath(app.appName, env);
|
|
188
|
-
const shipped = new Set(skillFiles(skill));
|
|
189
|
-
const top = /* @__PURE__ */ new Set(["SKILL.md", ...[...shipped].map((file) => file.split("/")[0])]);
|
|
190
|
-
try {
|
|
191
|
-
if (!readdirSync(dirname(path)).every((entry) => top.has(entry)))
|
|
192
|
-
return void 0;
|
|
193
|
-
if (!skillFiles(pathToFileURL(path)).every((file) => shipped.has(file)))
|
|
194
|
-
return void 0;
|
|
195
|
-
if (skillName(readFileSync(path, "utf8")) !== app.appName)
|
|
196
|
-
return void 0;
|
|
197
|
-
rmSync(dirname(path), { recursive: true });
|
|
198
|
-
return path;
|
|
199
|
-
} catch {
|
|
200
|
-
return void 0;
|
|
201
|
-
}
|
|
202
|
-
}, "removeOwnCopy");
|
|
203
|
-
var readFolder = /* @__PURE__ */ __name((folder, env, run) => {
|
|
204
|
-
const dirs = externalDirs(env, run);
|
|
205
|
-
if (dirs === void 0)
|
|
206
|
-
return "Hermes could not be asked for skills.external_dirs";
|
|
207
|
-
if (lists(dirs, folder, env))
|
|
208
|
-
return void 0;
|
|
209
|
-
const set = run("hermes", ["config", "set", EXTERNAL_DIRS, JSON.stringify([...dirs, folder])], env);
|
|
210
|
-
if (set.error || set.status !== 0)
|
|
211
|
-
return "hermes config set failed";
|
|
212
|
-
const after = externalDirs(env, run);
|
|
213
|
-
return after !== void 0 && lists(after, folder, env) ? void 0 : "Hermes did not keep the folder";
|
|
214
|
-
}, "readFolder");
|
|
215
|
-
var installHermesSkill = /* @__PURE__ */ __name((app, skill, { env = process.env, run = runProgram } = {}) => {
|
|
216
|
-
if (!existsSync(hermesHome(env)) && run("hermes", ["--version"], env).error)
|
|
217
|
-
throw new CliError("not_found", "Hermes is not installed here; install Hermes first, or set HERMES_HOME");
|
|
218
|
-
const [shared] = installSkill(app, skill, { targets: ["agents"], env });
|
|
219
|
-
const reason = readFolder(dirname(dirname(shared)), env, run);
|
|
220
|
-
if (reason === void 0) {
|
|
221
|
-
const removed = removeOwnCopy(app, skill, env);
|
|
222
|
-
return { written: [shared], hermes: { via: "external_dirs", path: shared, ...removed ? { removed } : {} } };
|
|
223
|
-
}
|
|
224
|
-
const copy = writeSkillFolder(app, skill, dirname(hermesCopyPath(app.appName, env)));
|
|
225
|
-
return { written: [shared, copy], hermes: { via: "copy", path: copy, reason } };
|
|
226
|
-
}, "installHermesSkill");
|
|
227
|
-
var hermesSkillStatus = /* @__PURE__ */ __name((app, { env = process.env, run = runProgram } = {}) => {
|
|
228
|
-
const own = copyStatus(app, hermesCopyPath(app.appName, env));
|
|
229
|
-
if (own)
|
|
230
|
-
return { ...own, via: "copy" };
|
|
231
|
-
const shared = skillPath("agents", app.appName, env);
|
|
232
|
-
const dirs = existsSync(hermesHome(env)) ? externalDirs(env, run) : void 0;
|
|
233
|
-
const read = dirs !== void 0 && lists(dirs, dirname(dirname(shared)), env) ? copyStatus(app, shared) : void 0;
|
|
234
|
-
if (read)
|
|
235
|
-
return { ...read, via: "external_dirs" };
|
|
236
|
-
return { path: shared, installed: null, state: "missing", via: null };
|
|
237
|
-
}, "hermesSkillStatus");
|
|
238
|
-
var skillParts = /* @__PURE__ */ __name((skill) => {
|
|
239
|
-
try {
|
|
240
|
-
return Object.fromEntries(skillFiles(skill).filter((file) => file.endsWith(".md")).reverse().map((file) => [basename(file, ".md"), new URL(file, skill)]));
|
|
241
|
-
} catch {
|
|
242
|
-
return {};
|
|
243
|
-
}
|
|
244
|
-
}, "skillParts");
|
|
245
|
-
var skillCommand = /* @__PURE__ */ __name((app, skill, environment, more = {}) => {
|
|
246
|
-
const command = new Command("skill").description("the instructions an agent is given for this tool");
|
|
247
|
-
const machine = /* @__PURE__ */ __name((self) => {
|
|
248
|
-
const { json, jsonl } = self.optsWithGlobals();
|
|
249
|
-
return json === true || jsonl === true;
|
|
250
|
-
}, "machine");
|
|
251
|
-
const shown = { ...skillParts(skill), ...more };
|
|
252
|
-
const named = Object.keys(shown);
|
|
253
|
-
const show = annotate(command.command("show"), { effects: { remote: "none", local: "read" } }).summary("print the tool's instructions for AI agents").description(`print SKILL.md \u2014 \`${app.command} skill install\` puts it where Claude Code, Codex, Gemini CLI and OpenClaw look for it, and where Hermes does on request; --for prints the copy already there`);
|
|
254
|
-
if (named.length > 0)
|
|
255
|
-
show.argument("[name]", `a part of this skill, or a skill shipped for a task: ${named.join(", ")}`);
|
|
256
|
-
show.addOption(new Option("--for <agents>", "print the copy installed for these agents instead of this version's").choices(SKILL_TARGETS));
|
|
257
|
-
show.action(function(given) {
|
|
258
|
-
const name = typeof given === "string" ? given : void 0;
|
|
259
|
-
const { renderer, streams, env } = environment(this);
|
|
260
|
-
const { for: target } = this.opts();
|
|
261
|
-
if (target !== void 0) {
|
|
262
|
-
if (name !== void 0)
|
|
263
|
-
throw new CliError("validation_error", `only ${app.appName} is installed; leave out "${name}" with --for`);
|
|
264
|
-
const path = skillPath(target, app.appName, env ?? process.env);
|
|
265
|
-
let content2;
|
|
266
|
-
try {
|
|
267
|
-
content2 = readFileSync(path, "utf8").trimEnd();
|
|
268
|
-
} catch {
|
|
269
|
-
throw new CliError("not_found", `no skill is installed for ${target} at ${path} \u2014 \`${app.command} skill install --for ${target}\` writes it`);
|
|
270
|
-
}
|
|
271
|
-
if (machine(this))
|
|
272
|
-
renderer.result({ name: app.appName, target, path, installed: skillVersion(content2) ?? null, content: content2 });
|
|
273
|
-
else
|
|
274
|
-
streams.data(content2);
|
|
275
|
-
return;
|
|
276
|
-
}
|
|
277
|
-
const source = name === void 0 ? skill : shown[name];
|
|
278
|
-
if (!source) {
|
|
279
|
-
throw new CliError("validation_error", `no skill "${name}" \u2014 there are: ${named.join(", ")}`);
|
|
280
|
-
}
|
|
281
|
-
const content = name === void 0 ? readFileSync(source, "utf8").trimEnd() : readFileSync(source, "utf8").trimEnd().replaceAll("{{command}}", app.command);
|
|
282
|
-
if (machine(this))
|
|
283
|
-
renderer.result({ name: name ?? app.appName, content });
|
|
284
|
-
else
|
|
285
|
-
streams.data(content);
|
|
286
|
-
});
|
|
287
|
-
annotate(command.command("install"), { effects: { remote: "none", local: "write" } }).summary("install the tool's instructions for AI agents").description(`write SKILL.md to ~/.claude/skills/${app.appName}/ (Claude Code) and ~/.agents/skills/${app.appName}/ (Codex, Gemini CLI, OpenClaw); --for hermes also has Hermes read ~/.agents/skills, which changes Hermes's own settings, so all leaves it out`).addOption(new Option("--for <agents>", "which agents to install for").choices(["claude", "agents", "hermes", "all"]).default("all")).action(function({ for: chosen }) {
|
|
288
|
-
const { renderer, env } = environment(this);
|
|
289
|
-
if (chosen === "hermes") {
|
|
290
|
-
const { written: written2, hermes } = installHermesSkill(app, skill, env ? { env } : {});
|
|
291
|
-
renderer.result({ name: app.appName, version: app.version, written: written2, hermes });
|
|
292
|
-
renderer.success(hermes.via === "external_dirs" ? `${app.appName} ${app.version} skill installed: ${hermes.path}; Hermes reads ${dirname(dirname(hermes.path))} (skills.external_dirs)` : `${app.appName} ${app.version} skill installed: ${hermes.path}, a copy for Hermes (${hermes.reason})`);
|
|
293
|
-
if (hermes.removed)
|
|
294
|
-
renderer.note(`removed the earlier copy Hermes would also have found: ${hermes.removed}`);
|
|
295
|
-
return;
|
|
296
|
-
}
|
|
297
|
-
const targets = chosen === "all" ? SKILL_TARGETS : [chosen];
|
|
298
|
-
const written = installSkill(app, skill, { targets, ...env ? { env } : {} });
|
|
299
|
-
renderer.result({ name: app.appName, version: app.version, written });
|
|
300
|
-
renderer.success(`${app.appName} ${app.version} skill installed: ${written.join(", ")}`);
|
|
301
|
-
});
|
|
302
|
-
annotate(command.command("status"), {
|
|
303
|
-
effects: { remote: "none", local: "read" },
|
|
304
|
-
examples: [`${app.command} skill status`, `${app.command} skill status --json`]
|
|
305
|
-
}).summary("whether the installed instructions for AI agents match this version").description(`for each place \`${app.command} skill install\` writes to, and for the copy Hermes reads: the path, the version installed there, and whether it is current, stale, missing or unversioned`).action(function() {
|
|
306
|
-
const { renderer, env } = environment(this);
|
|
307
|
-
const targets = skillStatus(app, env ?? process.env);
|
|
308
|
-
const hermes = hermesSkillStatus(app, env ? { env } : {});
|
|
309
|
-
renderer.result({ name: app.appName, version: app.version, targets, hermes });
|
|
310
|
-
});
|
|
311
|
-
return command;
|
|
312
|
-
}, "skillCommand");
|
|
313
|
-
var isAgent = /* @__PURE__ */ __name((env) => Boolean(env.AI_AGENT || env.CLAUDECODE), "isAgent");
|
|
314
|
-
var needsInstall = /* @__PURE__ */ __name((app, env) => {
|
|
315
|
-
const states = skillStatus(app, env).map(({ state }) => state);
|
|
316
|
-
return states.every((state) => state === "missing") || states.some((state) => state === "stale" || state === "unversioned");
|
|
317
|
-
}, "needsInstall");
|
|
318
|
-
var skillHint = /* @__PURE__ */ __name(({ app, argv, env, statePath, enabled = true, now = Date.now }) => {
|
|
319
|
-
try {
|
|
320
|
-
if (!enabled || !isAgent(env))
|
|
321
|
-
return void 0;
|
|
322
|
-
if (argv.includes("skill") || argv.includes("complete"))
|
|
323
|
-
return void 0;
|
|
324
|
-
const at = now();
|
|
325
|
-
const shown = readNoticeState(statePath).skillHintAt;
|
|
326
|
-
if (shown !== void 0 && at - shown < CHECK_EVERY_MS)
|
|
327
|
-
return void 0;
|
|
328
|
-
if (!needsInstall(app, env))
|
|
329
|
-
return void 0;
|
|
330
|
-
writeUpdateState(statePath, { skillHintAt: at });
|
|
331
|
-
return `agents: \`${app.command} skill install\` installs this tool's guide`;
|
|
332
|
-
} catch {
|
|
333
|
-
return void 0;
|
|
334
|
-
}
|
|
335
|
-
}, "skillHint");
|
|
336
|
-
var skillResource = /* @__PURE__ */ __name((app, skill) => {
|
|
337
|
-
const uri = `${app.command}://skill`;
|
|
338
|
-
return {
|
|
339
|
-
uri,
|
|
340
|
-
name: "skill",
|
|
341
|
-
title: `${app.appName} SKILL.md`,
|
|
342
|
-
description: `How to use ${app.command}: the guide an agent is given for this tool.`,
|
|
343
|
-
mimeType: "text/markdown",
|
|
344
|
-
read: /* @__PURE__ */ __name(() => ({ contents: [{ uri, mimeType: "text/markdown", text: readFileSync(skill, "utf8") }] }), "read"),
|
|
345
|
-
instruction: `- The full guide is the resource ${uri}; \`${app.command} skill install\` installs it as an agent skill.`
|
|
346
|
-
};
|
|
347
|
-
}, "skillResource");
|
|
348
|
-
var skillResources = /* @__PURE__ */ __name((app, skill) => {
|
|
349
|
-
const main = skillResource(app, skill);
|
|
350
|
-
let parts = [];
|
|
351
|
-
try {
|
|
352
|
-
parts = skillFiles(skill).filter((file) => file.endsWith(".md"));
|
|
353
|
-
} catch {
|
|
354
|
-
}
|
|
355
|
-
if (parts.length === 0)
|
|
356
|
-
return [main];
|
|
357
|
-
return [
|
|
358
|
-
{
|
|
359
|
-
...main,
|
|
360
|
-
instruction: `- The guide is the resource ${main.uri}; the parts it links are ${main.uri}/<path>, read only the one a task needs. \`${app.command} skill install\` installs it as an agent skill.`
|
|
361
|
-
},
|
|
362
|
-
...parts.map((file) => {
|
|
363
|
-
const uri = `${main.uri}/${file}`;
|
|
364
|
-
return {
|
|
365
|
-
uri,
|
|
366
|
-
name: `skill/${file}`,
|
|
367
|
-
title: `${app.appName} ${file}`,
|
|
368
|
-
description: `A part of the ${app.command} guide that ${main.uri} links to.`,
|
|
369
|
-
mimeType: "text/markdown",
|
|
370
|
-
read: /* @__PURE__ */ __name(() => ({
|
|
371
|
-
contents: [{ uri, mimeType: "text/markdown", text: readFileSync(new URL(file, skill), "utf8") }]
|
|
372
|
-
}), "read"),
|
|
373
|
-
instruction: ""
|
|
374
|
-
};
|
|
375
|
-
})
|
|
376
|
-
];
|
|
377
|
-
}, "skillResources");
|
|
378
|
-
|
|
379
|
-
export {
|
|
380
|
-
skillVersion,
|
|
381
|
-
writeSkillFolder,
|
|
382
|
-
installSkill,
|
|
383
|
-
skillStatus,
|
|
384
|
-
hermesCopyPath,
|
|
385
|
-
skillCommand,
|
|
386
|
-
skillHint,
|
|
387
|
-
skillResources
|
|
388
|
-
};
|
|
@@ -1,94 +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
|
-
// 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/runs/secrets.js
|
|
8
|
-
var SECRET_WORDS = /* @__PURE__ */ new Set([
|
|
9
|
-
"authorization",
|
|
10
|
-
"cookie",
|
|
11
|
-
"credential",
|
|
12
|
-
"credentials",
|
|
13
|
-
"passphrase",
|
|
14
|
-
"password",
|
|
15
|
-
"passwd",
|
|
16
|
-
"pwd",
|
|
17
|
-
"pass",
|
|
18
|
-
"passcode",
|
|
19
|
-
"pin",
|
|
20
|
-
"otp",
|
|
21
|
-
"2fa",
|
|
22
|
-
"secret",
|
|
23
|
-
"token",
|
|
24
|
-
"contrase\xF1a",
|
|
25
|
-
"contrasena",
|
|
26
|
-
"clave",
|
|
27
|
-
"\u043F\u0430\u0440\u043E\u043B\u044C",
|
|
28
|
-
"\u043F\u0438\u043D",
|
|
29
|
-
"\u043A\u043E\u0434",
|
|
30
|
-
...["api", "auth", "service", "account", "db", "database", "priv", "private", "client"].map((word) => `${word}key`),
|
|
31
|
-
...["db", "database", "key"].map((word) => `${word}pass`)
|
|
32
|
-
]);
|
|
33
|
-
var secretNamed = /* @__PURE__ */ __name((name) => {
|
|
34
|
-
const words = name.replace(/([a-z0-9])([A-Z])/g, "$1 $2").split(/[\s_.-]+/).map((word) => word.toLowerCase());
|
|
35
|
-
return words.some((word, at) => SECRET_WORDS.has(word) || SECRET_WORDS.has(word + (words[at + 1] ?? "")));
|
|
36
|
-
}, "secretNamed");
|
|
37
|
-
var START = "(?<![A-Za-z0-9_-])";
|
|
38
|
-
var END = "(?![A-Za-z0-9_-])";
|
|
39
|
-
var KNOWN_TOKENS = new RegExp(`${[
|
|
40
|
-
"gh[pousr]_[A-Za-z0-9]{36,}",
|
|
41
|
-
"github_pat_[A-Za-z0-9_]{22,}",
|
|
42
|
-
"sk-[A-Za-z0-9_-]{20,}",
|
|
43
|
-
"xox[abprs]-[A-Za-z0-9-]{10,}",
|
|
44
|
-
"(?:AKIA|ASIA)[A-Z0-9]{16}",
|
|
45
|
-
"AIza[A-Za-z0-9_-]{35}",
|
|
46
|
-
"(?:sk|rk)_(?:live|test)_[A-Za-z0-9]{10,}",
|
|
47
|
-
"npm_[A-Za-z0-9]{36}",
|
|
48
|
-
"eyJ[A-Za-z0-9_-]{5,}\\.eyJ[A-Za-z0-9_-]{5,}\\.[A-Za-z0-9_-]*"
|
|
49
|
-
].map((pattern) => `${START}${pattern}${END}`).join("|")}|(?<!\\d)\\d{8,10}:[A-Za-z0-9_-]{35}${END}`, "g");
|
|
50
|
-
var WEBHOOK_PATH = /(\/rest\/\d+\/)[^/\s?#"']+/g;
|
|
51
|
-
var PRIVATE_KEY = /-----BEGIN[A-Z ]* PRIVATE KEY-----[\s\S]*?(?:-----END[A-Z ]* PRIVATE KEY-----|$)/g;
|
|
52
|
-
var SCHEME = /(?<![A-Za-z])(Bearer|Basic)(\s+)(?![A-Z]?[a-z]+(?![A-Za-z0-9]))[A-Za-z0-9._~+/=-]{8,}/g;
|
|
53
|
-
var NAMED_PAIR = /(?<![\p{L}\p{N}])([\p{L}\p{N}_.-]*(?:token|pass|pwd|pin|otp|2fa|secret|credential|cookie|authorization|key|contrase|clave|пароль|пин|код)[\p{L}\p{N}_.-]*)(["']?\s*(?:=>|[:=])\s*["']?|\s+(?![\p{L}]+(?![\p{L}\p{N}])))((?:Bearer\s+|Basic\s+)?)([^\s"'&,;]+)/giu;
|
|
54
|
-
var holdsCredential = /* @__PURE__ */ __name((text) => text.search(PRIVATE_KEY) >= 0 || text.search(KNOWN_TOKENS) >= 0 || text.search(SCHEME) >= 0, "holdsCredential");
|
|
55
|
-
var looksRandom = /* @__PURE__ */ __name((run) => {
|
|
56
|
-
if (run.length < 20)
|
|
57
|
-
return false;
|
|
58
|
-
const classes = [/[a-z]/, /[A-Z]/, /\d/, /[^A-Za-z0-9]/].filter((kind) => kind.test(run)).length;
|
|
59
|
-
if (classes < 3)
|
|
60
|
-
return false;
|
|
61
|
-
let switches = 0;
|
|
62
|
-
for (let at = 1; at < run.length; at++) {
|
|
63
|
-
const [before, after] = [run[at - 1], run[at]];
|
|
64
|
-
if (/[a-z]/.test(before) && /[A-Z]/.test(after) || /[A-Z]/.test(before) && /[a-z]/.test(after))
|
|
65
|
-
switches += 1;
|
|
66
|
-
}
|
|
67
|
-
if (switches / run.length < 0.15)
|
|
68
|
-
return false;
|
|
69
|
-
const pieces = run.match(/[A-Z]?[a-z]+|[A-Z]+(?![a-z])|\d+/g) ?? [];
|
|
70
|
-
if (pieces.join("").length / Math.max(pieces.length, 1) >= 2.75)
|
|
71
|
-
return false;
|
|
72
|
-
return entropy(run) >= 3.5;
|
|
73
|
-
}, "looksRandom");
|
|
74
|
-
var entropy = /* @__PURE__ */ __name((text) => {
|
|
75
|
-
const counts = /* @__PURE__ */ new Map();
|
|
76
|
-
for (const char of text)
|
|
77
|
-
counts.set(char, (counts.get(char) ?? 0) + 1);
|
|
78
|
-
let bits = 0;
|
|
79
|
-
for (const count of counts.values())
|
|
80
|
-
bits -= count / text.length * Math.log2(count / text.length);
|
|
81
|
-
return bits;
|
|
82
|
-
}, "entropy");
|
|
83
|
-
var withoutSecrets = /* @__PURE__ */ __name((text, mark = "[redacted]") => text.replace(WEBHOOK_PATH, `$1${mark}`).replace(PRIVATE_KEY, mark).replace(KNOWN_TOKENS, mark).replace(SCHEME, `$1$2${mark}`).replace(NAMED_PAIR, (whole, name, separator, scheme) => secretNamed(name) ? `${name}${separator}${scheme}${mark}` : whole).replace(/[!-~]{20,}/g, (token) => (
|
|
84
|
-
// A URL or a path is somebody's address, not a key; a credential in one is caught by the rules above.
|
|
85
|
-
token.includes("://") || /^(?:\/|~\/|\.\.?\/)/.test(token) ? token : token.replace(RUN, (run) => looksRandom(run) ? mark : run.replace(HEX, (hex) => entropy(hex) >= 3 ? mark : hex))
|
|
86
|
-
)), "withoutSecrets");
|
|
87
|
-
var RUN = /(?<![A-Za-z0-9_+/-])[A-Za-z0-9_+/-]{20,}/g;
|
|
88
|
-
var HEX = /(?<![A-Za-z0-9])(?=[0-9]*[a-f])[0-9a-f]{20,}(?![A-Za-z0-9])/g;
|
|
89
|
-
|
|
90
|
-
export {
|
|
91
|
-
secretNamed,
|
|
92
|
-
holdsCredential,
|
|
93
|
-
withoutSecrets
|
|
94
|
-
};
|