@claudiolabs/claudio 0.1.12 → 0.1.14
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/bin/claudio +7 -0
- package/dist/chunks/AgentTool-0.1.14-cdr5h1g4.mjs +1 -0
- package/dist/chunks/App-0.1.14-pg2tqqjz.mjs +1 -0
- package/dist/chunks/ApproveApiKey-0.1.14-e86h3nff.mjs +1 -0
- package/dist/chunks/{AssistantSessionChooser-0.1.12-x3zt5579.mjs → AssistantSessionChooser-0.1.14-tf848k8v.mjs} +1 -1
- package/dist/chunks/AutoModeOptInDialog-0.1.14-ftdkaf8h.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-0.1.14-d45z21x5.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-0.1.14-dzhpgrhm.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-0.1.14-y2v8vg76.mjs +1 -0
- package/dist/chunks/{DiffDialog-0.1.12-tzjdg5ys.mjs → DiffDialog-0.1.14-wtx2wmbs.mjs} +1 -1
- package/dist/chunks/Doctor-0.1.14-rhryp3qj.mjs +1 -0
- package/dist/chunks/Grove-0.1.14-4pt83x25.mjs +1 -0
- package/dist/chunks/ITermBackend-0.1.14-xtdr5bmp.mjs +1 -0
- package/dist/chunks/{InProcessTransport-0.1.12-xnrc78z1.mjs → InProcessTransport-0.1.14-wdqgcpb4.mjs} +1 -1
- package/dist/chunks/InvalidConfigDialog-0.1.14-rx2djmka.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-0.1.14-nhkj2max.mjs +1 -0
- package/dist/chunks/MigrationDialog-0.1.14-f6hf3ymp.mjs +1 -0
- package/dist/chunks/Onboarding-0.1.14-1rddgg2b.mjs +1 -0
- package/dist/chunks/ProviderManager-0.1.14-2d77t0cr.mjs +1 -0
- package/dist/chunks/REPL-0.1.14-rz1jsayd.mjs +1 -0
- package/dist/chunks/ResumeConversation-0.1.14-79hg5s2w.mjs +1 -0
- package/dist/chunks/{SnapshotUpdateDialog-0.1.12-f1byjres.mjs → SnapshotUpdateDialog-0.1.14-sbjnsz3c.mjs} +1 -1
- package/dist/chunks/TeleportProgress-0.1.14-411m3y24.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-0.1.14-v6ytg24w.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-0.1.14-8wfa8twy.mjs +1 -0
- package/dist/chunks/TmuxBackend-0.1.14-175xkeyy.mjs +9 -0
- package/dist/chunks/ToolSearchTool-0.1.14-rpbvvb5j.mjs +1 -0
- package/dist/chunks/TrustDialog-0.1.14-zvmfmtg5.mjs +1 -0
- package/dist/chunks/activeProvider-0.1.14-5cpywex1.mjs +1 -0
- package/dist/chunks/add-dir-0.1.14-q700x1tp.mjs +1 -0
- package/dist/chunks/agents-0.1.14-nm4k11re.mjs +3 -0
- package/dist/chunks/{agents-0.1.12-vfwpnn0d.mjs → agents-0.1.14-pjr42t23.mjs} +2 -2
- package/dist/chunks/api-0.1.14-v09922m9.mjs +1 -0
- package/dist/chunks/{asciicast-0.1.12-nwzfr5gz.mjs → asciicast-0.1.14-kgp9j4z6.mjs} +1 -1
- package/dist/chunks/assistant-0.1.14-yt6v1sjy.mjs +1 -0
- package/dist/chunks/auth-0.1.14-vg6ez70v.mjs +1 -0
- package/dist/chunks/{auth-0.1.12-vhdwtwhb.mjs → auth-0.1.14-vj6095mm.mjs} +1 -1
- package/dist/chunks/{autoMode-0.1.12-xjr5qd6q.mjs → autoMode-0.1.14-jxse6h16.mjs} +1 -1
- package/dist/chunks/backgroundHousekeeping-0.1.14-bh13ez8a.mjs +1 -0
- package/dist/chunks/branch-0.1.14-r5tt7cec.mjs +4 -0
- package/dist/chunks/{bridgePointer-0.1.12-vdj4j4ke.mjs → bridgePointer-0.1.14-2w1wvxgt.mjs} +1 -1
- package/dist/chunks/btw-0.1.14-j1cexrtn.mjs +1 -0
- package/dist/chunks/{buddy-0.1.12-4q50s2x4.mjs → buddy-0.1.14-r4nmfbke.mjs} +1 -1
- package/dist/chunks/cacache-0.1.14-3vw5qkqs.mjs +1 -0
- package/dist/chunks/{cache-probe-0.1.12-4s8cc2km.mjs → cache-probe-0.1.14-zfb6aw4f.mjs} +1 -1
- package/dist/chunks/{cacheStats-0.1.12-qqcw6b5n.mjs → cacheStats-0.1.14-15eahew3.mjs} +1 -1
- package/dist/chunks/caches-0.1.14-et2zg3m5.mjs +1 -0
- package/dist/chunks/{claudeDesktop-0.1.12-1yrkynq4.mjs → claudeDesktop-0.1.14-0df0z4v6.mjs} +1 -1
- package/dist/chunks/claudemd-0.1.14-exzt8psa.mjs +1 -0
- package/dist/chunks/clear-0.1.14-62gnxkg3.mjs +1 -0
- package/dist/chunks/clearTerminal-0.1.14-5p1j5sbv.mjs +1 -0
- package/dist/chunks/cli-0.1.14-08ambmnj.mjs +2 -0
- package/dist/chunks/cli-0.1.14-0a8ckx07.mjs +2 -0
- package/dist/chunks/cli-0.1.14-0ctjta81.mjs +5 -0
- package/dist/chunks/{cli-0.1.12-faa9mx3m.mjs → cli-0.1.14-0kzzfe41.mjs} +2 -2
- package/dist/chunks/cli-0.1.14-0nhaxy76.mjs +4 -0
- package/dist/chunks/{cli-0.1.12-q63qrz06.mjs → cli-0.1.14-0x3m90bk.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-v000x470.mjs → cli-0.1.14-16jrehc2.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-352pjhkh.mjs → cli-0.1.14-1g5jq0j8.mjs} +2 -2
- package/dist/chunks/cli-0.1.14-1shkmy81.mjs +2 -0
- package/dist/chunks/{cli-0.1.12-trdq9d6x.mjs → cli-0.1.14-1xkst5wv.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-rwhrpb6w.mjs → cli-0.1.14-244fknyr.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-1x06khjr.mjs → cli-0.1.14-25ta9abj.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-0vf5f6qn.mjs → cli-0.1.14-28exj8zm.mjs} +2 -2
- package/dist/chunks/cli-0.1.14-2e2jfccr.mjs +2 -0
- package/dist/chunks/{cli-0.1.12-vzga2are.mjs → cli-0.1.14-2f7s5xbd.mjs} +6 -6
- package/dist/chunks/{cli-0.1.12-rzpc0tr9.mjs → cli-0.1.14-2mzb5ath.mjs} +2 -2
- package/dist/chunks/cli-0.1.14-373staaj.mjs +2 -0
- package/dist/chunks/cli-0.1.14-39y8qfj7.mjs +2 -0
- package/dist/chunks/cli-0.1.14-3m63hy2a.mjs +3 -0
- package/dist/chunks/cli-0.1.14-3scecgzx.mjs +6 -0
- package/dist/chunks/{cli-0.1.12-g2s9mjr6.mjs → cli-0.1.14-3w7fbjhy.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-9pq0gse0.mjs → cli-0.1.14-3xj419mp.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-yk12dgnx.mjs → cli-0.1.14-3yj4dkmn.mjs} +2 -2
- package/dist/chunks/cli-0.1.14-3zj4s594.mjs +2 -0
- package/dist/chunks/{cli-0.1.12-ae3e3ffp.mjs → cli-0.1.14-42sm5vzr.mjs} +2 -2
- package/dist/chunks/cli-0.1.14-442a367x.mjs +2 -0
- package/dist/chunks/{cli-0.1.12-jqrk975g.mjs → cli-0.1.14-473sgexj.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-6238zg7k.mjs → cli-0.1.14-4mde8z7h.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-9v01t95v.mjs → cli-0.1.14-4tmbgg29.mjs} +2 -2
- package/dist/chunks/cli-0.1.14-4wdh3k7y.mjs +2 -0
- package/dist/chunks/{cli-0.1.12-vxej5jdm.mjs → cli-0.1.14-59axynr8.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-qsh4sj4y.mjs → cli-0.1.14-5brvxst8.mjs} +2 -2
- package/dist/chunks/cli-0.1.14-5e5kkjam.mjs +2 -0
- package/dist/chunks/cli-0.1.14-5rp4y3q2.mjs +2 -0
- package/dist/chunks/{cli-0.1.12-0eznapyf.mjs → cli-0.1.14-5te1nbdc.mjs} +2 -2
- package/dist/chunks/cli-0.1.14-68wbwy40.mjs +4 -0
- package/dist/chunks/cli-0.1.14-6cjjzttb.mjs +3 -0
- package/dist/chunks/{cli-0.1.12-v8j9zstg.mjs → cli-0.1.14-71m91842.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-0kqx19vz.mjs → cli-0.1.14-71sp86jb.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-d0es0fxd.mjs → cli-0.1.14-77ha4n58.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-a2qh6gjr.mjs → cli-0.1.14-7zjhrz42.mjs} +3 -3
- package/dist/chunks/{cli-0.1.12-r6f9sy54.mjs → cli-0.1.14-7zz7abpc.mjs} +2 -2
- package/dist/chunks/cli-0.1.14-86gckvrm.mjs +2 -0
- package/dist/chunks/cli-0.1.14-893g12wf.mjs +2 -0
- package/dist/chunks/cli-0.1.14-8fr10t94.mjs +17 -0
- package/dist/chunks/{cli-0.1.12-3ywnr2v1.mjs → cli-0.1.14-90zkq8jm.mjs} +2 -2
- package/dist/chunks/cli-0.1.14-9b8kspnd.mjs +2 -0
- package/dist/chunks/cli-0.1.14-9evp0ewn.mjs +2 -0
- package/dist/chunks/cli-0.1.14-9gem156t.mjs +2 -0
- package/dist/chunks/{cli-0.1.12-hsw67esw.mjs → cli-0.1.14-9kxzs20h.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-4wwhk7dc.mjs → cli-0.1.14-9vc52dnj.mjs} +2 -2
- package/dist/chunks/cli-0.1.14-a15xdexp.mjs +12 -0
- package/dist/chunks/cli-0.1.14-a6kwmqhz.mjs +16 -0
- package/dist/chunks/{cli-0.1.12-37ga9zc2.mjs → cli-0.1.14-a9ytrehs.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-7ehqw1dk.mjs → cli-0.1.14-ab0rxxvk.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-mr41yjpw.mjs → cli-0.1.14-adz0gnzy.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-ktpqrbjc.mjs → cli-0.1.14-aky5tegx.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-vgbc3g9x.mjs → cli-0.1.14-akz49g5v.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-sgtpyf6y.mjs → cli-0.1.14-as1s0b0t.mjs} +2 -2
- package/dist/chunks/cli-0.1.14-as9nq99n.mjs +2 -0
- package/dist/chunks/{cli-0.1.12-5exp787z.mjs → cli-0.1.14-ba919tmj.mjs} +2 -2
- package/dist/chunks/cli-0.1.14-bat0c779.mjs +2 -0
- package/dist/chunks/{cli-0.1.12-v0510w04.mjs → cli-0.1.14-bgqm4vsk.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-756ngehz.mjs → cli-0.1.14-c0bv9eha.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-f0x1y6nn.mjs → cli-0.1.14-c4v2kfdn.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-xekep4qg.mjs → cli-0.1.14-canpypsb.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-g3ycbjxk.mjs → cli-0.1.14-cdby401e.mjs} +2 -2
- package/dist/chunks/cli-0.1.14-ch9c9c38.mjs +2 -0
- package/dist/chunks/{cli-0.1.12-nv2m8kgk.mjs → cli-0.1.14-ckjcet41.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-c23pyffx.mjs → cli-0.1.14-cp2pada5.mjs} +2 -2
- package/dist/chunks/cli-0.1.14-d1edbjh4.mjs +25 -0
- package/dist/chunks/{cli-0.1.12-z8eybrhz.mjs → cli-0.1.14-d483gd53.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-d8m01qtm.mjs → cli-0.1.14-d4zkffre.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-ps94e9y5.mjs → cli-0.1.14-dcgxqsyp.mjs} +2 -2
- package/dist/chunks/cli-0.1.14-dntkrp1j.mjs +134 -0
- package/dist/chunks/cli-0.1.14-dq7jkw1n.mjs +2 -0
- package/dist/chunks/cli-0.1.14-dqads3y3.mjs +2 -0
- package/dist/chunks/{cli-0.1.12-8znn9f50.mjs → cli-0.1.14-dt11hwkv.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-kys514qx.mjs → cli-0.1.14-dw74ppax.mjs} +2 -2
- package/dist/chunks/cli-0.1.14-dz2jvye2.mjs +2 -0
- package/dist/chunks/cli-0.1.14-e40hm9sd.mjs +2 -0
- package/dist/chunks/{cli-0.1.12-2zqgfhrb.mjs → cli-0.1.14-edjtfw4q.mjs} +2 -2
- package/dist/chunks/cli-0.1.14-efhhkgkx.mjs +2 -0
- package/dist/chunks/cli-0.1.14-eq0gbnpg.mjs +2 -0
- package/dist/chunks/cli-0.1.14-et8yewbf.mjs +2 -0
- package/dist/chunks/cli-0.1.14-fdpfr31f.mjs +2 -0
- package/dist/chunks/{cli-0.1.12-mwp84gtr.mjs → cli-0.1.14-fhfj87ej.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-zs5rpqmb.mjs → cli-0.1.14-fmgz6tx2.mjs} +3 -3
- package/dist/chunks/{cli-0.1.12-ds2mn8zn.mjs → cli-0.1.14-fmmxw3gj.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-5ye0t0xd.mjs → cli-0.1.14-fspxpmh7.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-h0d833vg.mjs → cli-0.1.14-ftjxb57b.mjs} +4 -4
- package/dist/chunks/{cli-0.1.12-wdmxm11z.mjs → cli-0.1.14-g5q2xqp3.mjs} +2 -2
- package/dist/chunks/cli-0.1.14-gdm27acz.mjs +2 -0
- package/dist/chunks/{cli-0.1.12-ytxphavm.mjs → cli-0.1.14-harz1d9d.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-qn20n18h.mjs → cli-0.1.14-heevc19y.mjs} +5 -5
- package/dist/chunks/{cli-0.1.12-04jw23rj.mjs → cli-0.1.14-hjktwgtk.mjs} +2 -2
- package/dist/chunks/cli-0.1.14-hkaqyhx1.mjs +2 -0
- package/dist/chunks/{cli-0.1.12-4syxz3pe.mjs → cli-0.1.14-hvfg45y0.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-04v3yab2.mjs → cli-0.1.14-hxvzvfr2.mjs} +3 -3
- package/dist/chunks/cli-0.1.14-j5sbzwhy.mjs +5045 -0
- package/dist/chunks/cli-0.1.14-ja2ctrem.mjs +2 -0
- package/dist/chunks/{cli-0.1.12-m6jeef2z.mjs → cli-0.1.14-jbn4ywda.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-7xsa2bcp.mjs → cli-0.1.14-jf8019sb.mjs} +2 -2
- package/dist/chunks/cli-0.1.14-jnfs73kb.mjs +2 -0
- package/dist/chunks/{cli-0.1.12-4qedbzt3.mjs → cli-0.1.14-jpe9sxch.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-7mjpbm22.mjs → cli-0.1.14-k8nwm06m.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-j6hwb68p.mjs → cli-0.1.14-k9jcmxtd.mjs} +2 -2
- package/dist/chunks/cli-0.1.14-ka0xhrv6.mjs +2 -0
- package/dist/chunks/cli-0.1.14-kcrsww4s.mjs +2 -0
- package/dist/chunks/{cli-0.1.12-bh7jp3zk.mjs → cli-0.1.14-khtq9cgy.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-j6gjfwh5.mjs → cli-0.1.14-kmsvd61a.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-zk49aaxv.mjs → cli-0.1.14-kn1f2x94.mjs} +2 -2
- package/dist/chunks/cli-0.1.14-kpsh76mj.mjs +2 -0
- package/dist/chunks/{cli-0.1.12-34gqc6yf.mjs → cli-0.1.14-kt6sq4nr.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-w0qbr98a.mjs → cli-0.1.14-ktz3cgwa.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-y04asmqh.mjs → cli-0.1.14-kv650aha.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-024a8zz7.mjs → cli-0.1.14-m75ce5ve.mjs} +2 -2
- package/dist/chunks/cli-0.1.14-m7khgn2k.mjs +2 -0
- package/dist/chunks/{cli-0.1.12-fqpxr3qb.mjs → cli-0.1.14-m7xchegb.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-bhxgr018.mjs → cli-0.1.14-mgcmwvcn.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-238c85zt.mjs → cli-0.1.14-mngn74ga.mjs} +2 -2
- package/dist/chunks/cli-0.1.14-mx9yse7m.mjs +2 -0
- package/dist/chunks/{cli-0.1.12-ng34ay3g.mjs → cli-0.1.14-nbvvdkk2.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-830kqdpq.mjs → cli-0.1.14-nkza93de.mjs} +2 -2
- package/dist/chunks/cli-0.1.14-nmmtd1d6.mjs +2 -0
- package/dist/chunks/cli-0.1.14-nnr43nyg.mjs +2 -0
- package/dist/chunks/{cli-0.1.12-xj3mv67x.mjs → cli-0.1.14-nprcbhwn.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-86nmrm6g.mjs → cli-0.1.14-ntq8w1ss.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-73k5qd97.mjs → cli-0.1.14-nxphqjb4.mjs} +7 -10
- package/dist/chunks/{cli-0.1.12-8qvgy8xr.mjs → cli-0.1.14-nzsj259d.mjs} +2 -2
- package/dist/chunks/cli-0.1.14-qe5zyvfh.mjs +2 -0
- package/dist/chunks/{cli-0.1.12-1hv04bp7.mjs → cli-0.1.14-qn4ftczz.mjs} +1 -1
- package/dist/chunks/{cli-0.1.12-4sh0f4y1.mjs → cli-0.1.14-qyx55m6c.mjs} +2 -2
- package/dist/chunks/cli-0.1.14-qzcceap6.mjs +20 -0
- package/dist/chunks/{cli-0.1.12-s0cwq66w.mjs → cli-0.1.14-r00mjm41.mjs} +2 -2
- package/dist/chunks/cli-0.1.14-r46jh9af.mjs +2 -0
- package/dist/chunks/{cli-0.1.12-c28bme4j.mjs → cli-0.1.14-r5qyt63x.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-erggrdth.mjs → cli-0.1.14-rc5yd94n.mjs} +3 -3
- package/dist/chunks/{cli-0.1.12-cxn1ke77.mjs → cli-0.1.14-rtstk94r.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-ra3sby5b.mjs → cli-0.1.14-s9m1y93w.mjs} +2 -2
- package/dist/chunks/cli-0.1.14-sb7dm65b.mjs +2 -0
- package/dist/chunks/{cli-0.1.12-bddm1g1s.mjs → cli-0.1.14-seq2fm2d.mjs} +2 -2
- package/dist/chunks/cli-0.1.14-sn1rf71y.mjs +2 -0
- package/dist/chunks/{cli-0.1.12-rwzav5h1.mjs → cli-0.1.14-stv1d0q3.mjs} +2 -2
- package/dist/chunks/cli-0.1.14-svqkx41a.mjs +2 -0
- package/dist/chunks/cli-0.1.14-t3fga5je.mjs +2 -0
- package/dist/chunks/{cli-0.1.12-a5h71tt8.mjs → cli-0.1.14-ta3w93yb.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-t8712dbc.mjs → cli-0.1.14-tkb5t0xv.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-7da43cy1.mjs → cli-0.1.14-tqexnkmz.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-41zq3gv6.mjs → cli-0.1.14-tsth8deg.mjs} +1 -1
- package/dist/chunks/cli-0.1.14-tyv29sz9.mjs +2 -0
- package/dist/chunks/cli-0.1.14-v2acyy7r.mjs +4 -0
- package/dist/chunks/{cli-0.1.12-9gs0g8yb.mjs → cli-0.1.14-v9q1cxjy.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-c47ape20.mjs → cli-0.1.14-vp1kn532.mjs} +2 -2
- package/dist/chunks/cli-0.1.14-w3rwfr1d.mjs +2 -0
- package/dist/chunks/{cli-0.1.12-tyt09z73.mjs → cli-0.1.14-w6nzk5dc.mjs} +2 -2
- package/dist/chunks/cli-0.1.14-w8efvbh6.mjs +2 -0
- package/dist/chunks/{cli-0.1.12-awb2yac7.mjs → cli-0.1.14-we6s7jfg.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-bjzb0sjt.mjs → cli-0.1.14-wgatq2fj.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-k2164g7e.mjs → cli-0.1.14-whe4bxfr.mjs} +2 -2
- package/dist/chunks/cli-0.1.14-wwehdfwx.mjs +9 -0
- package/dist/chunks/{cli-0.1.12-0xzdygm2.mjs → cli-0.1.14-wymtdw5f.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-actnmgw5.mjs → cli-0.1.14-wz5yr49j.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-a2frnpdd.mjs → cli-0.1.14-x88ypr2r.mjs} +2 -2
- package/dist/chunks/cli-0.1.14-xp6rc33g.mjs +2 -0
- package/dist/chunks/{cli-0.1.12-6ddq5n4e.mjs → cli-0.1.14-y2wxptpk.mjs} +2 -2
- package/dist/chunks/cli-0.1.14-y55hrwdp.mjs +3 -0
- package/dist/chunks/{cli-0.1.12-wcdh3m4s.mjs → cli-0.1.14-y56629hj.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-g728hcdr.mjs → cli-0.1.14-yagh75p5.mjs} +2 -2
- package/dist/chunks/cli-0.1.14-ydm3fwx1.mjs +2 -0
- package/dist/chunks/cli-0.1.14-yfc7weqn.mjs +821 -0
- package/dist/chunks/{cli-0.1.12-qrx9nssg.mjs → cli-0.1.14-yphht6rx.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-kzd4y6yq.mjs → cli-0.1.14-yxce1bdc.mjs} +2 -2
- package/dist/chunks/cli-0.1.14-yxq1tr3a.mjs +2 -0
- package/dist/chunks/{cli-0.1.12-5pw10pf8.mjs → cli-0.1.14-z0ckw2hb.mjs} +2 -2
- package/dist/chunks/cli-0.1.14-z8j2n955.mjs +2 -0
- package/dist/chunks/{cli-0.1.12-2fajd44n.mjs → cli-0.1.14-zjqt3r89.mjs} +2 -2
- package/dist/chunks/{cli-0.1.12-af1r644n.mjs → cli-0.1.14-zq66y0mv.mjs} +2 -2
- package/dist/chunks/cli-0.1.14-zrmretjp.mjs +4 -0
- package/dist/chunks/cli-0.1.14-zs4vmj7z.mjs +4 -0
- package/dist/chunks/client-0.1.14-3t6sfwha.mjs +1 -0
- package/dist/chunks/color-0.1.14-65rf0ap9.mjs +1 -0
- package/dist/chunks/compact-0.1.14-mx9ng433.mjs +3 -0
- package/dist/chunks/config-0.1.14-1v5v86ax.mjs +1 -0
- package/dist/chunks/config-0.1.14-76vavy7t.mjs +1 -0
- package/dist/chunks/context-0.1.14-hyykwj83.mjs +1 -0
- package/dist/chunks/context-noninteractive-0.1.14-24qfm7b9.mjs +1 -0
- package/dist/chunks/conversation-0.1.14-mkc1cd5a.mjs +1 -0
- package/dist/chunks/{copy-0.1.12-w6tabpy0.mjs → copy-0.1.14-kp76nh7r.mjs} +1 -1
- package/dist/chunks/cost-0.1.14-3d4g5gqm.mjs +1 -0
- package/dist/chunks/createSession-0.1.14-8599rbgg.mjs +1 -0
- package/dist/chunks/desktop-0.1.14-bx4eky6b.mjs +1 -0
- package/dist/chunks/detectRepository-0.1.14-8yam7kv4.mjs +1 -0
- package/dist/chunks/detection-0.1.14-vz5bqsc0.mjs +1 -0
- package/dist/chunks/diff-0.1.14-e4pm39ee.mjs +1 -0
- package/dist/chunks/doctor-0.1.14-22fc2q8y.mjs +1 -0
- package/dist/chunks/earlyInput-0.1.14-997vtdw4.mjs +1 -0
- package/dist/chunks/effort-0.1.14-d9xmff2t.mjs +8 -0
- package/dist/chunks/environmentSelection-0.1.14-fn5p85z5.mjs +1 -0
- package/dist/chunks/environments-0.1.14-7napbg6g.mjs +1 -0
- package/dist/chunks/exit-0.1.14-v8j7rsfw.mjs +1 -0
- package/dist/chunks/export-0.1.14-qpt72paa.mjs +2 -0
- package/dist/chunks/extra-usage-0.1.14-tmwgn4dh.mjs +1 -0
- package/dist/chunks/extra-usage-noninteractive-0.1.14-b2pdph8q.mjs +1 -0
- package/dist/chunks/fast-0.1.14-q1tyk3k8.mjs +1 -0
- package/dist/chunks/feedback-0.1.14-qhk5ek0b.mjs +14 -0
- package/dist/chunks/{firstPartyEventLogger-0.1.12-95kzm3md.mjs → firstPartyEventLogger-0.1.14-78y09nr6.mjs} +1 -1
- package/dist/chunks/git-0.1.14-zvsa13gk.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-0.1.14-r30t00rx.mjs +1 -0
- package/dist/chunks/{growthbook-0.1.12-4phnr6b3.mjs → growthbook-0.1.14-dcdeqgyq.mjs} +1 -1
- package/dist/chunks/{heapdump-0.1.12-m49qs4r7.mjs → heapdump-0.1.14-tj7w79dt.mjs} +1 -1
- package/dist/chunks/help-0.1.14-gk9s0stg.mjs +1 -0
- package/dist/chunks/{hookChains-0.1.12-brq8x7f7.mjs → hookChains-0.1.14-wng6tzfd.mjs} +2 -2
- package/dist/chunks/hooks-0.1.14-jy9bt7s6.mjs +79 -0
- package/dist/chunks/hooks-0.1.14-ybdbkdfh.mjs +1 -0
- package/dist/chunks/{ide-0.1.12-553mazfs.mjs → ide-0.1.14-0ar60k4r.mjs} +1 -1
- package/dist/chunks/image-processor-napi-0.1.14-p1r3vkb0.mjs +1 -0
- package/dist/chunks/index-0.1.14-071xy8v4.mjs +1 -0
- package/dist/chunks/index-0.1.14-1mttyja2.mjs +2 -0
- package/dist/chunks/index-0.1.14-272zxs9n.mjs +1 -0
- package/dist/chunks/index-0.1.14-2v6wa4p4.mjs +1 -0
- package/dist/chunks/{index-0.1.12-3nbh75ta.mjs → index-0.1.14-2x59va64.mjs} +1 -1
- package/dist/chunks/index-0.1.14-3m7vrt91.mjs +1 -0
- package/dist/chunks/index-0.1.14-4hv4f8g9.mjs +1 -0
- package/dist/chunks/index-0.1.14-8v5xwttx.mjs +10 -0
- package/dist/chunks/index-0.1.14-ac13h1t1.mjs +1 -0
- package/dist/chunks/index-0.1.14-dmbjzapt.mjs +2 -0
- package/dist/chunks/index-0.1.14-g5kkm9ng.mjs +1 -0
- package/dist/chunks/index-0.1.14-h8gc6ph5.mjs +1 -0
- package/dist/chunks/index-0.1.14-hqphn8m5.mjs +5 -0
- package/dist/chunks/index-0.1.14-ksa4vdak.mjs +9 -0
- package/dist/chunks/index-0.1.14-mzhk0gvs.mjs +1 -0
- package/dist/chunks/index-0.1.14-qrykb444.mjs +9 -0
- package/dist/chunks/index-0.1.14-qvap58wt.mjs +1 -0
- package/dist/chunks/index-0.1.14-vygpnv88.mjs +1 -0
- package/dist/chunks/index-0.1.14-wjc5jkvz.mjs +1 -0
- package/dist/chunks/{index-0.1.12-rhj8dsvk.mjs → index-0.1.14-y3aj57xa.mjs} +1 -1
- package/dist/chunks/index-0.1.14-yjw9017n.mjs +1 -0
- package/dist/chunks/index-0.1.14-zgwbnfqh.mjs +1 -0
- package/dist/chunks/initReplBridge-0.1.14-qe820gff.mjs +1 -0
- package/dist/chunks/ink-0.1.14-kxs7ygns.mjs +1 -0
- package/dist/chunks/{insights-0.1.12-93mz1f1d.mjs → insights-0.1.14-9n58d9t8.mjs} +3 -3
- package/dist/chunks/install-0.1.14-1zyjez10.mjs +1 -0
- package/dist/chunks/{install-github-app-0.1.12-qd8g81v4.mjs → install-github-app-0.1.14-kmetkgdq.mjs} +1 -1
- package/dist/chunks/install-slack-app-0.1.14-64534gsm.mjs +1 -0
- package/dist/chunks/instrumentation-0.1.14-fsgk97cp.mjs +12 -0
- package/dist/chunks/interactiveHelpers-0.1.14-ca4bp7gy.mjs +1 -0
- package/dist/chunks/keybindings-0.1.14-zk3nyh0h.mjs +2 -0
- package/dist/chunks/knowledge-0.1.14-f7w4damb.mjs +2 -0
- package/dist/chunks/loadAgentsDir-0.1.14-md40mt17.mjs +1 -0
- package/dist/chunks/loadPluginHooks-0.1.14-d998c7wf.mjs +1 -0
- package/dist/chunks/lsp-0.1.14-cks4jevz.mjs +1 -0
- package/dist/chunks/main-0.1.14-94wst05h.mjs +1 -0
- package/dist/chunks/managedEnv-0.1.14-tvr9zhbp.mjs +1 -0
- package/dist/chunks/mcp-0.1.14-3tzc0agq.mjs +1 -0
- package/dist/chunks/{mcp-0.1.12-vm3tpth6.mjs → mcp-0.1.14-dmtc9tjr.mjs} +3 -3
- package/dist/chunks/mcp-0.1.14-tepbr987.mjs +4 -0
- package/dist/chunks/mcpServer-0.1.14-0mvs3bcw.mjs +1 -0
- package/dist/chunks/mcpb-0.1.14-ffa57420.mjs +1 -0
- package/dist/chunks/memory-0.1.14-cgx518q9.mjs +3 -0
- package/dist/chunks/{mobile-0.1.12-qdtxwz76.mjs → mobile-0.1.14-bwjnmpy0.mjs} +1 -1
- package/dist/chunks/model-0.1.14-rq2dkze7.mjs +2 -0
- package/dist/chunks/model-0.1.14-zg566cz0.mjs +1 -0
- package/dist/chunks/{oauth-0.1.12-3aky0v8n.mjs → oauth-0.1.14-gftadks2.mjs} +1 -1
- package/dist/chunks/{openaiShim-0.1.12-p458t1q6.mjs → openaiShim-0.1.14-jv6416m8.mjs} +2 -2
- package/dist/chunks/{output-style-0.1.12-cahkbh9x.mjs → output-style-0.1.14-v41ce6t5.mjs} +1 -1
- package/dist/chunks/package-WSP46L7M-0.1.14-xy3ej2c4.mjs +1 -0
- package/dist/chunks/parser-0.1.14-jr4b3as9.mjs +1 -0
- package/dist/chunks/passes-0.1.14-0jjh5wg5.mjs +1 -0
- package/dist/chunks/permissions-0.1.14-hh0d709r.mjs +3 -0
- package/dist/chunks/plan-0.1.14-kxb7xax2.mjs +1 -0
- package/dist/chunks/plist-0.1.14-ssqtjjq9.mjs +1 -0
- package/dist/chunks/plugin-0.1.14-01jhhdd3.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-0.1.14-zjwy126p.mjs +1 -0
- package/dist/chunks/{plugins-0.1.12-sm87b8fm.mjs → plugins-0.1.14-4tggkexv.mjs} +2 -2
- package/dist/chunks/{print-0.1.12-8mgqmx4k.mjs → print-0.1.14-m719w2yp.mjs} +10 -10
- package/dist/chunks/privacy-settings-0.1.14-2gv7gdy1.mjs +1 -0
- package/dist/chunks/{process-0.1.12-t401v84c.mjs → process-0.1.14-vgdgd7sq.mjs} +1 -1
- package/dist/chunks/processBashCommand-0.1.14-d3xsyk5f.mjs +1 -0
- package/dist/chunks/processSlashCommand-0.1.14-7w1v93bg.mjs +9 -0
- package/dist/chunks/prompt-0.1.14-30e7kfkx.mjs +1 -0
- package/dist/chunks/prompt-0.1.14-brtd9j19.mjs +1 -0
- package/dist/chunks/prompts-0.1.14-bv9qxc0a.mjs +1 -0
- package/dist/chunks/provider-0.1.14-xs34vy3w.mjs +2 -0
- package/dist/chunks/providerProfiles-0.1.14-068kvwwx.mjs +1 -0
- package/dist/chunks/rate-limit-options-0.1.14-2ftxh15k.mjs +1 -0
- package/dist/chunks/registry-0.1.14-ad3na7g6.mjs +1 -0
- package/dist/chunks/release-notes-0.1.14-b7e554an.mjs +5 -0
- package/dist/chunks/reload-plugins-0.1.14-3w9v6nw6.mjs +2 -0
- package/dist/chunks/remote-env-0.1.14-jyc0gkhb.mjs +1 -0
- package/dist/chunks/remoteBridgeCore-0.1.14-8kt4ffzy.mjs +1 -0
- package/dist/chunks/remoteSession-0.1.14-ppejxt7n.mjs +1 -0
- package/dist/chunks/rename-0.1.14-tx9dpgk1.mjs +1 -0
- package/dist/chunks/replBridgeHandle-0.1.14-gsqgzdev.mjs +1 -0
- package/dist/chunks/resume-0.1.14-7sda36n0.mjs +2 -0
- package/dist/chunks/{rewind-0.1.12-707se5pz.mjs → rewind-0.1.14-zba66at0.mjs} +1 -1
- package/dist/chunks/sandbox-adapter-0.1.14-k97fyzcg.mjs +1 -0
- package/dist/chunks/sandbox-toggle-0.1.14-jz6x02qp.mjs +1 -0
- package/dist/chunks/session-0.1.14-5qsfxmey.mjs +2 -0
- package/dist/chunks/sessionFileAccessHooks-0.1.14-mgx78eqm.mjs +1 -0
- package/dist/chunks/sessionStorage-0.1.14-sz2medpp.mjs +1 -0
- package/dist/chunks/setup-0.1.14-f13rnmdg.mjs +5 -0
- package/dist/chunks/sinks-0.1.14-bkyqa9eq.mjs +1 -0
- package/dist/chunks/skills-0.1.14-1vvr60ph.mjs +1 -0
- package/dist/chunks/startupProfiler-0.1.14-sabjns03.mjs +1 -0
- package/dist/chunks/state-0.1.14-rj00ry6n.mjs +1 -0
- package/dist/chunks/{stats-0.1.12-5pj1c6sr.mjs → stats-0.1.14-rr3tpwqw.mjs} +1 -1
- package/dist/chunks/status-0.1.14-d4fcn5sn.mjs +1 -0
- package/dist/chunks/stickers-0.1.14-s9x2bdhp.mjs +1 -0
- package/dist/chunks/subprocessEnv-0.1.14-spqyrvd7.mjs +1 -0
- package/dist/chunks/tasks-0.1.14-yje1cmy8.mjs +1 -0
- package/dist/chunks/teamHelpers-0.1.14-zv908fgk.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-0.1.14-natmxyx5.mjs +1 -0
- package/dist/chunks/teleport-0.1.14-np0wrxrm.mjs +1 -0
- package/dist/chunks/terminalSetup-0.1.14-dzsstmk7.mjs +1 -0
- package/dist/chunks/theme-0.1.14-202es8wd.mjs +1 -0
- package/dist/chunks/thinkback-0.1.14-k4krnzrn.mjs +1 -0
- package/dist/chunks/thinkback-play-0.1.14-nn1v84ja.mjs +1 -0
- package/dist/chunks/toolPool-0.1.14-4etecef4.mjs +1 -0
- package/dist/chunks/toolSearch-0.1.14-q506jg4k.mjs +1 -0
- package/dist/chunks/trustedDevice-0.1.14-qq8dmccd.mjs +1 -0
- package/dist/chunks/{turndown.cjs-0.1.12-9525v010.mjs → turndown.cjs-0.1.14-nw2rtcyd.mjs} +1 -1
- package/dist/chunks/{ultrareviewCommand-0.1.12-d5c4096k.mjs → ultrareviewCommand-0.1.14-9twnt5bp.mjs} +1 -1
- package/dist/chunks/{update-0.1.12-hwx0e6fq.mjs → update-0.1.14-9dhep94r.mjs} +11 -11
- package/dist/chunks/upgrade-0.1.14-4nr1rdba.mjs +1 -0
- package/dist/chunks/{upstreamproxy-0.1.12-yhnqfcyb.mjs → upstreamproxy-0.1.14-sc0x4n7b.mjs} +1 -1
- package/dist/chunks/usage-0.1.14-sbaqxx8h.mjs +1 -0
- package/dist/chunks/util-0.1.14-vfg50acy.mjs +1 -0
- package/dist/chunks/utils-0.1.14-heqqycdx.mjs +1 -0
- package/dist/chunks/vim-0.1.14-z71303w7.mjs +1 -0
- package/dist/chunks/watcher-0.1.14-h1wk07kt.mjs +1 -0
- package/dist/chunks/{wiki-0.1.12-vecp82xq.mjs → wiki-0.1.14-s3exyf45.mjs} +1 -1
- package/dist/chunks/worktree-0.1.14-5486fw5t.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-0.1.14-xn1mf8hc.mjs +1 -0
- package/dist/chunks/{wrapper-0.1.12-bpewypaz.mjs → wrapper-0.1.14-a4mesaeh.mjs} +1 -1
- package/dist/claudio-vscode.vsix +0 -0
- package/dist/cli.mjs +5 -5
- package/package.json +2 -19
- package/dist/chunks/AgentTool-0.1.12-kgypyeny.mjs +0 -1
- package/dist/chunks/App-0.1.12-t1g68ag4.mjs +0 -1
- package/dist/chunks/ApproveApiKey-0.1.12-zpw36mzg.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-0.1.12-fgvj28kh.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-0.1.12-y1vnt631.mjs +0 -1
- package/dist/chunks/ClaudeInChromeOnboarding-0.1.12-n4az8bcp.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-0.1.12-j7w4pe1r.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-0.1.12-57crf0yg.mjs +0 -1
- package/dist/chunks/Doctor-0.1.12-52dk0t0z.mjs +0 -1
- package/dist/chunks/Grove-0.1.12-m9r696vw.mjs +0 -1
- package/dist/chunks/ITermBackend-0.1.12-85zqw000.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-0.1.12-9w4z4d73.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-0.1.12-j1jmd6jg.mjs +0 -1
- package/dist/chunks/MigrationDialog-0.1.12-n5zwn0kh.mjs +0 -1
- package/dist/chunks/Onboarding-0.1.12-tc4trc3y.mjs +0 -1
- package/dist/chunks/ProviderManager-0.1.12-01epdnc3.mjs +0 -1
- package/dist/chunks/REPL-0.1.12-4750qvss.mjs +0 -1
- package/dist/chunks/ResumeConversation-0.1.12-sn3hxnfq.mjs +0 -1
- package/dist/chunks/TeleportProgress-0.1.12-p5spc4b6.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-0.1.12-562cbm4h.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-0.1.12-w2rds1kj.mjs +0 -1
- package/dist/chunks/TmuxBackend-0.1.12-02kj3wef.mjs +0 -9
- package/dist/chunks/ToolSearchTool-0.1.12-qesye0kj.mjs +0 -1
- package/dist/chunks/TrustDialog-0.1.12-gr62n6f8.mjs +0 -1
- package/dist/chunks/activeProvider-0.1.12-dnn18th9.mjs +0 -1
- package/dist/chunks/add-dir-0.1.12-he4qjfr7.mjs +0 -1
- package/dist/chunks/agents-0.1.12-1dz073e3.mjs +0 -3
- package/dist/chunks/api-0.1.12-e314x4g9.mjs +0 -1
- package/dist/chunks/assistant-0.1.12-x4e2qcyw.mjs +0 -1
- package/dist/chunks/auth-0.1.12-9xrz11cs.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-0.1.12-z7jhyx9z.mjs +0 -1
- package/dist/chunks/branch-0.1.12-e2jz4k8j.mjs +0 -4
- package/dist/chunks/btw-0.1.12-k5gxnrq8.mjs +0 -1
- package/dist/chunks/cacache-0.1.12-mtaw8981.mjs +0 -1
- package/dist/chunks/caches-0.1.12-jvzzcs09.mjs +0 -1
- package/dist/chunks/chrome-0.1.12-6qypq8nj.mjs +0 -1
- package/dist/chunks/chromeNativeHost-0.1.12-7e2jv2nr.mjs +0 -2
- package/dist/chunks/claude-for-chrome-mcp-0.1.12-2q97mema.mjs +0 -1
- package/dist/chunks/claudemd-0.1.12-dnz21tgs.mjs +0 -1
- package/dist/chunks/clear-0.1.12-cq6vnm92.mjs +0 -1
- package/dist/chunks/clearTerminal-0.1.12-pzt74jz3.mjs +0 -1
- package/dist/chunks/cli-0.1.12-0x3cd401.mjs +0 -2
- package/dist/chunks/cli-0.1.12-19as1myk.mjs +0 -2
- package/dist/chunks/cli-0.1.12-1cn8b1tj.mjs +0 -2
- package/dist/chunks/cli-0.1.12-242der7s.mjs +0 -5036
- package/dist/chunks/cli-0.1.12-2f2v27e3.mjs +0 -2
- package/dist/chunks/cli-0.1.12-2sqxe53a.mjs +0 -2
- package/dist/chunks/cli-0.1.12-2v18rdhk.mjs +0 -2
- package/dist/chunks/cli-0.1.12-2yy1nw3s.mjs +0 -2
- package/dist/chunks/cli-0.1.12-37ezy1qg.mjs +0 -2
- package/dist/chunks/cli-0.1.12-3d2xpvk2.mjs +0 -2
- package/dist/chunks/cli-0.1.12-4gj8p030.mjs +0 -22
- package/dist/chunks/cli-0.1.12-4tanq0qc.mjs +0 -2
- package/dist/chunks/cli-0.1.12-4ys47rex.mjs +0 -2
- package/dist/chunks/cli-0.1.12-52dbx2x6.mjs +0 -4
- package/dist/chunks/cli-0.1.12-5b3j1c9c.mjs +0 -2
- package/dist/chunks/cli-0.1.12-5k9mfnz0.mjs +0 -2
- package/dist/chunks/cli-0.1.12-5p9g1vcm.mjs +0 -2
- package/dist/chunks/cli-0.1.12-5qhkbp8w.mjs +0 -2
- package/dist/chunks/cli-0.1.12-6e4e36bv.mjs +0 -16
- package/dist/chunks/cli-0.1.12-6rjh20wh.mjs +0 -2
- package/dist/chunks/cli-0.1.12-6x2mnahn.mjs +0 -2
- package/dist/chunks/cli-0.1.12-6zryzryc.mjs +0 -2
- package/dist/chunks/cli-0.1.12-74tt2500.mjs +0 -2
- package/dist/chunks/cli-0.1.12-7v8dtyx8.mjs +0 -2
- package/dist/chunks/cli-0.1.12-817sd5bc.mjs +0 -6
- package/dist/chunks/cli-0.1.12-8qm558mj.mjs +0 -2
- package/dist/chunks/cli-0.1.12-8tdckdxp.mjs +0 -2
- package/dist/chunks/cli-0.1.12-9dvxchv3.mjs +0 -2
- package/dist/chunks/cli-0.1.12-b01yrner.mjs +0 -2
- package/dist/chunks/cli-0.1.12-baxk5jyy.mjs +0 -4
- package/dist/chunks/cli-0.1.12-bmtahtv7.mjs +0 -2
- package/dist/chunks/cli-0.1.12-bnn1nrwd.mjs +0 -2
- package/dist/chunks/cli-0.1.12-bnss4rxn.mjs +0 -833
- package/dist/chunks/cli-0.1.12-c8d9vr4b.mjs +0 -2
- package/dist/chunks/cli-0.1.12-dc4e6688.mjs +0 -2
- package/dist/chunks/cli-0.1.12-dqynn0at.mjs +0 -2
- package/dist/chunks/cli-0.1.12-dtba3gm9.mjs +0 -8
- package/dist/chunks/cli-0.1.12-e262snmb.mjs +0 -3
- package/dist/chunks/cli-0.1.12-e4zeaahk.mjs +0 -2
- package/dist/chunks/cli-0.1.12-fx0zg3d9.mjs +0 -2
- package/dist/chunks/cli-0.1.12-g1yp7kdf.mjs +0 -2
- package/dist/chunks/cli-0.1.12-g4sdgt8h.mjs +0 -2
- package/dist/chunks/cli-0.1.12-g604mknq.mjs +0 -2
- package/dist/chunks/cli-0.1.12-g8mny195.mjs +0 -2
- package/dist/chunks/cli-0.1.12-h248m986.mjs +0 -2
- package/dist/chunks/cli-0.1.12-hfmv72b6.mjs +0 -2
- package/dist/chunks/cli-0.1.12-jjza3gz9.mjs +0 -2
- package/dist/chunks/cli-0.1.12-kea0zcje.mjs +0 -2
- package/dist/chunks/cli-0.1.12-kg8gb6e3.mjs +0 -2
- package/dist/chunks/cli-0.1.12-kwc7ew38.mjs +0 -2
- package/dist/chunks/cli-0.1.12-m3q5r7wd.mjs +0 -2
- package/dist/chunks/cli-0.1.12-mevh0dza.mjs +0 -2
- package/dist/chunks/cli-0.1.12-nfvtmt75.mjs +0 -2
- package/dist/chunks/cli-0.1.12-nnyca8nb.mjs +0 -2
- package/dist/chunks/cli-0.1.12-p5w2kms9.mjs +0 -4
- package/dist/chunks/cli-0.1.12-pm5cwtxh.mjs +0 -2
- package/dist/chunks/cli-0.1.12-pnh4t8c3.mjs +0 -2
- package/dist/chunks/cli-0.1.12-q1nn9teh.mjs +0 -3
- package/dist/chunks/cli-0.1.12-q8k1zvhb.mjs +0 -2
- package/dist/chunks/cli-0.1.12-qf1kw5cr.mjs +0 -2
- package/dist/chunks/cli-0.1.12-rqedb88a.mjs +0 -10
- package/dist/chunks/cli-0.1.12-rtft4mrx.mjs +0 -4
- package/dist/chunks/cli-0.1.12-ryycx3v6.mjs +0 -2
- package/dist/chunks/cli-0.1.12-sd72y750.mjs +0 -12
- package/dist/chunks/cli-0.1.12-strz382t.mjs +0 -2
- package/dist/chunks/cli-0.1.12-sxxpysy8.mjs +0 -2
- package/dist/chunks/cli-0.1.12-tadj1p4y.mjs +0 -2
- package/dist/chunks/cli-0.1.12-tae7cd7e.mjs +0 -2
- package/dist/chunks/cli-0.1.12-taqfqnag.mjs +0 -4
- package/dist/chunks/cli-0.1.12-v79j5ced.mjs +0 -2
- package/dist/chunks/cli-0.1.12-vpnp7x5c.mjs +0 -100
- package/dist/chunks/cli-0.1.12-vwcas8f6.mjs +0 -2
- package/dist/chunks/cli-0.1.12-wfbfq2mm.mjs +0 -3
- package/dist/chunks/cli-0.1.12-wwnkrzck.mjs +0 -134
- package/dist/chunks/cli-0.1.12-xanhpra7.mjs +0 -2
- package/dist/chunks/cli-0.1.12-xcxjv6qd.mjs +0 -2
- package/dist/chunks/cli-0.1.12-xfqkrd5x.mjs +0 -2
- package/dist/chunks/cli-0.1.12-y0fb5j7x.mjs +0 -2
- package/dist/chunks/cli-0.1.12-y9598sy3.mjs +0 -16
- package/dist/chunks/cli-0.1.12-ybm1kvwy.mjs +0 -4
- package/dist/chunks/cli-0.1.12-zwyec6tj.mjs +0 -2
- package/dist/chunks/client-0.1.12-f54egbjx.mjs +0 -1
- package/dist/chunks/color-0.1.12-jss6svg8.mjs +0 -1
- package/dist/chunks/compact-0.1.12-9b9fsqs5.mjs +0 -3
- package/dist/chunks/config-0.1.12-1pyte6wv.mjs +0 -1
- package/dist/chunks/config-0.1.12-ryxz4stj.mjs +0 -1
- package/dist/chunks/context-0.1.12-mnwn2xss.mjs +0 -1
- package/dist/chunks/context-noninteractive-0.1.12-qhe1aprp.mjs +0 -1
- package/dist/chunks/conversation-0.1.12-7pvwtwdn.mjs +0 -1
- package/dist/chunks/cost-0.1.12-3ca0tbv9.mjs +0 -1
- package/dist/chunks/createSession-0.1.12-117q0efg.mjs +0 -1
- package/dist/chunks/desktop-0.1.12-3t2jc3mt.mjs +0 -1
- package/dist/chunks/detectRepository-0.1.12-sd9276rx.mjs +0 -1
- package/dist/chunks/detection-0.1.12-c0tecfvg.mjs +0 -1
- package/dist/chunks/diff-0.1.12-2ck0qzp6.mjs +0 -1
- package/dist/chunks/doctor-0.1.12-rb6t847g.mjs +0 -1
- package/dist/chunks/earlyInput-0.1.12-b94g75cb.mjs +0 -1
- package/dist/chunks/effort-0.1.12-jxkp3wwf.mjs +0 -8
- package/dist/chunks/environmentSelection-0.1.12-z9knjbv1.mjs +0 -1
- package/dist/chunks/environments-0.1.12-m9v7hag6.mjs +0 -1
- package/dist/chunks/exit-0.1.12-0fzdjpbr.mjs +0 -1
- package/dist/chunks/export-0.1.12-s6ag6jke.mjs +0 -2
- package/dist/chunks/extra-usage-0.1.12-x8gd0q32.mjs +0 -1
- package/dist/chunks/extra-usage-noninteractive-0.1.12-pfgq5r6b.mjs +0 -1
- package/dist/chunks/fast-0.1.12-9x69m50c.mjs +0 -1
- package/dist/chunks/feedback-0.1.12-d1j49tb4.mjs +0 -14
- package/dist/chunks/git-0.1.12-7fyh5fhk.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-0.1.12-6em81h7g.mjs +0 -1
- package/dist/chunks/help-0.1.12-f02ce11x.mjs +0 -1
- package/dist/chunks/hooks-0.1.12-n1f9dp3r.mjs +0 -1
- package/dist/chunks/hooks-0.1.12-swtq74gm.mjs +0 -79
- package/dist/chunks/image-processor-napi-0.1.12-3mrm0vts.mjs +0 -1
- package/dist/chunks/index-0.1.12-218arkqe.mjs +0 -9
- package/dist/chunks/index-0.1.12-2ykt90tn.mjs +0 -1
- package/dist/chunks/index-0.1.12-34ew4zjx.mjs +0 -1
- package/dist/chunks/index-0.1.12-41g5mvtk.mjs +0 -7
- package/dist/chunks/index-0.1.12-77szwkm6.mjs +0 -1
- package/dist/chunks/index-0.1.12-aeeh5zvp.mjs +0 -1
- package/dist/chunks/index-0.1.12-cpv0hf3f.mjs +0 -1
- package/dist/chunks/index-0.1.12-d5w1w05d.mjs +0 -1
- package/dist/chunks/index-0.1.12-d7j83tkh.mjs +0 -1
- package/dist/chunks/index-0.1.12-hvf65cbr.mjs +0 -1
- package/dist/chunks/index-0.1.12-m0e193t8.mjs +0 -1
- package/dist/chunks/index-0.1.12-nc3z95ph.mjs +0 -5
- package/dist/chunks/index-0.1.12-r92p75vh.mjs +0 -1
- package/dist/chunks/index-0.1.12-sxh3dwcy.mjs +0 -1
- package/dist/chunks/index-0.1.12-sy5zw7vk.mjs +0 -1
- package/dist/chunks/index-0.1.12-v53nbtdb.mjs +0 -2
- package/dist/chunks/index-0.1.12-vbv1ac2q.mjs +0 -1
- package/dist/chunks/index-0.1.12-z0brwe1k.mjs +0 -2
- package/dist/chunks/index-0.1.12-zc2ayczg.mjs +0 -1
- package/dist/chunks/index-0.1.12-zqrp5tve.mjs +0 -9
- package/dist/chunks/initReplBridge-0.1.12-yyn8mbyh.mjs +0 -1
- package/dist/chunks/ink-0.1.12-qdefs6hn.mjs +0 -1
- package/dist/chunks/install-0.1.12-11xkk6vf.mjs +0 -1
- package/dist/chunks/install-slack-app-0.1.12-a44xy1pr.mjs +0 -1
- package/dist/chunks/instrumentation-0.1.12-nqv5x6q8.mjs +0 -12
- package/dist/chunks/interactiveHelpers-0.1.12-c4xec7dn.mjs +0 -1
- package/dist/chunks/keybindings-0.1.12-21jbfvfp.mjs +0 -2
- package/dist/chunks/knowledge-0.1.12-1zq0qj6h.mjs +0 -2
- package/dist/chunks/loadAgentsDir-0.1.12-1ckjzc8p.mjs +0 -1
- package/dist/chunks/loadPluginHooks-0.1.12-85daax4j.mjs +0 -1
- package/dist/chunks/logout-0.1.12-n2tbfcz8.mjs +0 -1
- package/dist/chunks/lsp-0.1.12-ks84es3y.mjs +0 -1
- package/dist/chunks/main-0.1.12-47ck3kj2.mjs +0 -1
- package/dist/chunks/managedEnv-0.1.12-vt155n3n.mjs +0 -1
- package/dist/chunks/mcp-0.1.12-93a71b1q.mjs +0 -1
- package/dist/chunks/mcp-0.1.12-rwfrrttw.mjs +0 -4
- package/dist/chunks/mcpServer-0.1.12-zwsas6ss.mjs +0 -1
- package/dist/chunks/mcpb-0.1.12-mcbd7ywh.mjs +0 -1
- package/dist/chunks/memory-0.1.12-7x2msczw.mjs +0 -3
- package/dist/chunks/model-0.1.12-15e9c8j0.mjs +0 -2
- package/dist/chunks/model-0.1.12-z2qjscwh.mjs +0 -1
- package/dist/chunks/package-HMBVQOZ4-0.1.12-3njzvqd2.mjs +0 -1
- package/dist/chunks/parser-0.1.12-jz2xz2kd.mjs +0 -1
- package/dist/chunks/passes-0.1.12-7vmawmvq.mjs +0 -1
- package/dist/chunks/permissions-0.1.12-dmp58kwy.mjs +0 -3
- package/dist/chunks/plan-0.1.12-waed49m8.mjs +0 -1
- package/dist/chunks/plist-0.1.12-65r770yt.mjs +0 -1
- package/dist/chunks/plugin-0.1.12-j30rqvv5.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-0.1.12-5bp08b06.mjs +0 -1
- package/dist/chunks/privacy-settings-0.1.12-9drzsgkz.mjs +0 -1
- package/dist/chunks/processBashCommand-0.1.12-3s8a2x65.mjs +0 -1
- package/dist/chunks/processSlashCommand-0.1.12-m9sh3sjt.mjs +0 -9
- package/dist/chunks/prompt-0.1.12-786vk11a.mjs +0 -1
- package/dist/chunks/prompt-0.1.12-fg4npvax.mjs +0 -1
- package/dist/chunks/prompts-0.1.12-h3xd9wvy.mjs +0 -1
- package/dist/chunks/provider-0.1.12-wrfpbx8a.mjs +0 -2
- package/dist/chunks/providerProfiles-0.1.12-3fp9n85w.mjs +0 -1
- package/dist/chunks/rate-limit-options-0.1.12-dx2886b6.mjs +0 -1
- package/dist/chunks/registry-0.1.12-btwd6z61.mjs +0 -1
- package/dist/chunks/release-notes-0.1.12-dwzs8z2c.mjs +0 -5
- package/dist/chunks/reload-plugins-0.1.12-ec88j31s.mjs +0 -2
- package/dist/chunks/remote-env-0.1.12-w15618dm.mjs +0 -1
- package/dist/chunks/remoteBridgeCore-0.1.12-c0y46zw8.mjs +0 -1
- package/dist/chunks/remoteSession-0.1.12-npxn0mje.mjs +0 -1
- package/dist/chunks/rename-0.1.12-sbes9wm3.mjs +0 -1
- package/dist/chunks/replBridgeHandle-0.1.12-2jqj7bby.mjs +0 -1
- package/dist/chunks/resume-0.1.12-9vpmw2hg.mjs +0 -2
- package/dist/chunks/sandbox-adapter-0.1.12-htfmfp9m.mjs +0 -1
- package/dist/chunks/sandbox-toggle-0.1.12-qq2yf1ta.mjs +0 -1
- package/dist/chunks/session-0.1.12-2xgt0x74.mjs +0 -2
- package/dist/chunks/sessionFileAccessHooks-0.1.12-xpxt6bqs.mjs +0 -1
- package/dist/chunks/sessionStorage-0.1.12-7s6eezdt.mjs +0 -1
- package/dist/chunks/setup-0.1.12-2kjx6mnf.mjs +0 -5
- package/dist/chunks/sinks-0.1.12-qvx26vtt.mjs +0 -1
- package/dist/chunks/skills-0.1.12-sh637gsv.mjs +0 -1
- package/dist/chunks/startupProfiler-0.1.12-n3fce9wg.mjs +0 -1
- package/dist/chunks/state-0.1.12-e374v6h8.mjs +0 -1
- package/dist/chunks/status-0.1.12-qphx08h4.mjs +0 -1
- package/dist/chunks/stickers-0.1.12-dksexsqf.mjs +0 -1
- package/dist/chunks/subprocessEnv-0.1.12-sbpfvs29.mjs +0 -1
- package/dist/chunks/tasks-0.1.12-268nn2c6.mjs +0 -1
- package/dist/chunks/teamHelpers-0.1.12-3trvxmmz.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-0.1.12-28s4rsx4.mjs +0 -1
- package/dist/chunks/teleport-0.1.12-zz9z0w99.mjs +0 -1
- package/dist/chunks/terminalSetup-0.1.12-xf61sxh6.mjs +0 -1
- package/dist/chunks/theme-0.1.12-3rgm5yr1.mjs +0 -1
- package/dist/chunks/thinkback-0.1.12-sf0y9d2d.mjs +0 -1
- package/dist/chunks/thinkback-play-0.1.12-vyyv42tm.mjs +0 -1
- package/dist/chunks/toolPool-0.1.12-tyqns5jv.mjs +0 -1
- package/dist/chunks/toolSearch-0.1.12-k91edc7b.mjs +0 -1
- package/dist/chunks/trustedDevice-0.1.12-w1scr51x.mjs +0 -1
- package/dist/chunks/upgrade-0.1.12-zhqgygsd.mjs +0 -1
- package/dist/chunks/usage-0.1.12-g40wd0mq.mjs +0 -1
- package/dist/chunks/util-0.1.12-qdejkkj5.mjs +0 -1
- package/dist/chunks/utils-0.1.12-3f08ztd2.mjs +0 -1
- package/dist/chunks/vim-0.1.12-z78k9k65.mjs +0 -1
- package/dist/chunks/watcher-0.1.12-pkwq5a2d.mjs +0 -1
- package/dist/chunks/worktree-0.1.12-a1mh6hjt.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-0.1.12-amrewbka.mjs +0 -1
- /package/dist/chunks/{cli-0.1.12-tvawkeks.mjs → cli-0.1.14-cahvg3jq.mjs} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
2
|
-
export{_ as
|
|
1
|
+
import{sy as U,ty as w}from"./cli-0.1.14-j5sbzwhy.mjs";import{AU as N,CU as O,QS as f,fV as k}from"./cli-0.1.14-seq2fm2d.mjs";import{EV as M,FV as H,GV as R}from"./cli-0.1.14-hjktwgtk.mjs";import{Zla as Y,bma as Z}from"./cli-0.1.14-qn4ftczz.mjs";function _(X){let q=V.c(10),{message:I,bold:P,dimColor:Q,subtitle:D}=X,J=P===void 0?!1:P,K=Q===void 0?!1:Q,E;if(q[0]===Symbol.for("react.memo_cache_sentinel"))E=M(U,{}),q[0]=E;else E=q[0];let v;if(q[1]!==J||q[2]!==K||q[3]!==I)v=H(N,{flexDirection:"row",children:[E,H(O,{bold:J,dimColor:K,children:[" ",I]})]}),q[1]=J,q[2]=K,q[3]=I,q[4]=v;else v=q[4];let z;if(q[5]!==D)z=D&&M(O,{dimColor:!0,children:D}),q[5]=D,q[6]=z;else z=q[6];let G;if(q[7]!==v||q[8]!==z)G=H(N,{flexDirection:"column",children:[v,z]}),q[7]=v,q[8]=z,q[9]=G;else G=q[9];return G}var V;var A=Z(()=>{k();w();R();V=Y(f(),1)});
|
|
2
|
+
export{_ as gf,A as hf};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Gaa as S,Paa as R,Qaa as T,l6 as U,n6 as m,taa as P,vba as H,xaa as M,yba as E}from"./cli-0.1.14-2f7s5xbd.mjs";import{Ffa as K,Nfa as G}from"./cli-0.1.14-s9m1y93w.mjs";import{bma as x}from"./cli-0.1.14-qn4ftczz.mjs";function B(){return process.env.GITHUB_DEVICE_FLOW_CLIENT_ID?.trim()||f}function O(J){return new Promise((N)=>setTimeout(N,J))}async function n(J){let N=J?.clientId??B();if(!N)throw new j("No OAuth client ID: set GITHUB_DEVICE_FLOW_CLIENT_ID.");let V=J?.fetchImpl??fetch,$=J?.scope?.trim()||Y,X=$===Y?[$]:[$,Y],y="Device code request failed.";for(let W of X){let Z=await V(g,{method:"POST",headers:{Accept:"application/json"},body:new URLSearchParams({client_id:N,scope:W})});if(!Z.ok){let C=await Z.text().catch(()=>"");y=`Device code request failed: ${Z.status} ${C}`;let F=/invalid_scope/i.test(C);if(W!==Y&&F)continue;throw new j(y)}let Q=await Z.json(),z=Q.device_code,q=Q.user_code,A=Q.verification_uri;if(typeof z!=="string"||typeof q!=="string"||typeof A!=="string")throw new j("Malformed device code response from GitHub");return{device_code:z,user_code:q,verification_uri:A,expires_in:typeof Q.expires_in==="number"?Q.expires_in:900,interval:typeof Q.interval==="number"?Q.interval:5}}throw new j(y)}async function d(J,N){let V=N?.clientId??B();if(!V)throw new j("client_id required for polling");let $=Math.max(1,N?.initialInterval??5),X=N?.timeoutSeconds??900,y=N?.fetchImpl??fetch,W=Date.now();while((Date.now()-W)/1000<X){let Z=await y(_,{method:"POST",headers:{Accept:"application/json"},body:new URLSearchParams({client_id:V,device_code:J,grant_type:"urn:ietf:params:oauth:grant-type:device_code"})});if(!Z.ok){let q=await Z.text().catch(()=>"");throw new j(`Token request failed: ${Z.status} ${q}`)}let Q=await Z.json(),z=Q.error;if(z==null){let q=Q.access_token;if(typeof q==="string"&&q)return q;throw new j("No access_token in response")}if(z==="authorization_pending"){await O($*1000);continue}if(z==="slow_down"){$=typeof Q.interval==="number"?Q.interval:$+5,await O($*1000);continue}if(z==="expired_token")throw new j("Device code expired. Start the login flow again.");if(z==="access_denied")throw new j("Authorization was denied or cancelled.");throw new j(`GitHub OAuth error: ${z}`)}throw new j("Timed out waiting for authorization.")}async function a(J){try{if(process.platform==="darwin")await U("open",[J],{useCwd:!1,timeout:5000});else if(process.platform==="win32")await U("cmd",["/c","start","",J],{useCwd:!1,timeout:5000});else await U("xdg-open",[J],{useCwd:!1,timeout:5000})}catch{}}async function w(J,N){let $=await(N??fetch)(k,{method:"GET",headers:{Accept:"application/json",Authorization:`Bearer ${J}`,...b}});if(!$.ok){let z=await $.text().catch(()=>"");throw new j(`Copilot token exchange failed: ${$.status} ${z}`)}let X=await $.json(),y=X.token,W=X.expires_at,Z=X.refresh_in,Q=X.endpoints;if(typeof y!=="string"||typeof W!=="number"||typeof Z!=="number"||!Q||typeof Q!=="object"||typeof Q.api!=="string")throw new j("Malformed Copilot token response");return{token:y,expires_at:W,refresh_in:Z,endpoints:Q}}var f="Iv1.b507a08c87ecfe98",g="https://github.com/login/device/code",_="https://github.com/login/oauth/access_token",k="https://api.github.com/copilot_internal/v2/token",Y="read:user",b,j;var I=x(()=>{m();b={"User-Agent":"GitHubCopilotChat/0.26.7","Editor-Version":"vscode/1.99.3","Editor-Plugin-Version":"copilot-chat/0.26.7","Copilot-Integration-Id":"vscode-chat"};j=class j extends Error{constructor(J){super(J);this.name="GitHubDeviceFlowError"}}});function D(){return H()?.transport==="github_copilot"}function h(J){let N=J.match(/exp=(\d+)/);if(N){let X=Number(N[1]);if(!Number.isNaN(X))return Date.now()>=X*1000?"expired":"valid"}let V=J.split(".");if(V.length===3&&V.every((X)=>/^[A-Za-z0-9_-]+$/.test(X)))try{let X=V[1].replace(/-/g,"+").replace(/_/g,"/"),y=X+"=".repeat((4-X.length%4)%4),W=Buffer.from(y,"base64").toString("utf8"),Z=JSON.parse(W);if(Z&&typeof Z==="object"&&Z.exp)return Date.now()>=Z.exp*1000?"expired":"valid"}catch{return"invalid_format"}return"invalid_format"}function v(){if(K())return;try{return R().read()?.githubModels?.accessToken?.trim()||void 0}catch{return}}async function QJ(){if(K())return;try{return(await R().readAsync())?.githubModels?.accessToken?.trim()||void 0}catch{return}}function XJ(){if(!D())return;if(K())return;if(v())return}async function ZJ(){if(!D())return!1;if(K())return!1;try{let V=R().read()?.githubModels,$=V?.accessToken?.trim()||"",X=V?.oauthAccessToken?.trim()||"";if(!$&&!X)return!1;if(($?h($):"expired")==="valid")return!1;if(!X)return!1;let W=await w(X);if(!u(W.token,X).success)return!1;let Q=P().find((z)=>z.provider==="openai"&&z.extras?.githubToken!==void 0);if(Q)M(Q.id,{provider:"openai",name:Q.name,baseUrl:Q.baseUrl,model:Q.model,apiKey:W.token,extras:{...Q.extras,githubToken:W.token}});return!0}catch{return!1}}function u(J,N){if(K())return{success:!1,warning:"Bare mode: secure storage is disabled."};let V=J.trim();if(!V)return{success:!1,warning:"Token is empty."};let $=R(),X=$.read()||{},y=X[L],W=N?.trim(),Z={accessToken:V};if(W)Z.oauthAccessToken=W;else if(y?.oauthAccessToken?.trim())Z.oauthAccessToken=y.oauthAccessToken.trim();let Q={...X,[L]:Z};return $.update(Q)}function $J(){if(K())return{success:!0};let J=R(),V={...J.read()||{}};return delete V[L],J.update(V)}var L="githubModels",JJ="CLAUDE_CODE_GITHUB_TOKEN_HYDRATED";var l=x(()=>{E();G();T();I();S()});
|
|
2
|
+
export{n as xY,d as yY,a as zY,w as AY,I as BY,L as CY,JJ as DY,v as EY,QJ as FY,XJ as GY,ZJ as HY,u as IY,$J as JY,l as KY};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
2
|
-
export{R as
|
|
1
|
+
import{pr as H,sr as L}from"./cli-0.1.14-j5sbzwhy.mjs";import{F8 as K,y8 as G}from"./cli-0.1.14-2f7s5xbd.mjs";import{bma as J}from"./cli-0.1.14-qn4ftczz.mjs";function T(q,w){let z=new Map;for(let h of w)z.set(h.agentType,h);let C=new Set,E=[];for(let h of q){let F=`${h.agentType}:${h.source}`;if(C.has(F))continue;C.add(F);let x=z.get(h.agentType),I=x&&x.source!==h.source?x.source:void 0;E.push({...h,overriddenBy:I})}return E}function U(q){let w=q.model||H();if(!w)return;return w==="inherit"?"inherit":w}function V(q){return G(q).toLowerCase()}function W(q,w){return q.agentType.localeCompare(w.agentType,void 0,{sensitivity:"base"})}var R;var O=J(()=>{L();K();R=[{label:"User agents",source:"userSettings"},{label:"Project agents",source:"projectSettings"},{label:"Local agents",source:"localSettings"},{label:"Managed agents",source:"policySettings"},{label:"Plugin agents",source:"plugin"},{label:"CLI arg agents",source:"flagSettings"},{label:"Built-in agents",source:"built-in"}]});
|
|
2
|
+
export{R as wb,T as xb,U as yb,V as zb,W as Ab,O as Bb};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
2
|
-
export{F as
|
|
1
|
+
import{bma as B}from"./cli-0.1.14-qn4ftczz.mjs";function F(z){let k=z.trim();if(!k.startsWith("/"))return null;let b=k.slice(1).split(" ");if(!b[0])return null;let j=b[0],l=!1,q=1;if(b.length>1&&b[1]==="(MCP)")j=j+" (MCP)",l=!0,q=2;let A=b.slice(q).join(" ");return{commandName:j,args:A,isMcp:l}}var C=()=>{};
|
|
2
|
+
export{F as Rg,C as Sg};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
2
|
-
export{G as
|
|
1
|
+
import{$la as D,cma as J}from"./cli-0.1.14-qn4ftczz.mjs";var G=D((V,E)=>{E.exports=(O,k=process.argv)=>{let q=O.startsWith("-")?"":O.length===1?"-":"--",i=k.indexOf(q+O),B=k.indexOf("--");return i!==-1&&(B===-1||i<B)}});var U=D((W,K)=>{var M=J("os"),H=J("tty"),P=G(),{env:x}=process,j;if(P("no-color")||P("no-colors")||P("color=false")||P("color=never"))j=0;else if(P("color")||P("colors")||P("color=true")||P("color=always"))j=1;if("FORCE_COLOR"in x)if(x.FORCE_COLOR==="true")j=1;else if(x.FORCE_COLOR==="false")j=0;else j=x.FORCE_COLOR.length===0?1:Math.min(parseInt(x.FORCE_COLOR,10),3);function z(O){if(O===0)return!1;return{level:O,hasBasic:!0,has256:O>=2,has16m:O>=3}}function A(O,k){if(j===0)return 0;if(P("color=16m")||P("color=full")||P("color=truecolor"))return 3;if(P("color=256"))return 2;if(O&&!k&&j===void 0)return 0;let q=j||0;if(x.TERM==="dumb")return q;if(process.platform==="win32"){let i=M.release().split(".");if(Number(i[0])>=10&&Number(i[2])>=10586)return Number(i[2])>=14931?3:2;return 1}if("CI"in x){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((i)=>(i in x))||x.CI_NAME==="codeship")return 1;return q}if("TEAMCITY_VERSION"in x)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(x.TEAMCITY_VERSION)?1:0;if(x.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in x){let i=parseInt((x.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(x.TERM_PROGRAM){case"iTerm.app":return i>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(x.TERM))return 2;if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(x.TERM))return 1;if("COLORTERM"in x)return 1;return q}function Q(O){let k=A(O,O&&O.isTTY);return z(k)}K.exports={supportsColor:Q,stdout:z(A(!0,H.isatty(1))),stderr:z(A(!0,H.isatty(2)))}});
|
|
2
|
+
export{G as f5,U as g5};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
2
|
-
export{Tf as
|
|
1
|
+
import{$f as Yf,_f as C}from"./cli-0.1.14-dz2jvye2.mjs";import{$M as $f,AM as u,BN as A,Bx as Jf,Hp as w,KO as Df,Np as e,So as O,To as t,Uw as N,Vw as Gf,YL as T,Yy as P,ZC as h,_y as Qf,aN as c,aO as g,cr as y,dr as Bf,eD as Xf,kA as E,lA as Vf,oO as jf,pq as ff,qO as S,qq as zf,sN as I,tM as M,tN as v,uN as bf,wp as R,wx as L,xp as s,zL as m}from"./cli-0.1.14-j5sbzwhy.mjs";import{_5 as F,d6 as o}from"./cli-0.1.14-2f7s5xbd.mjs";import{yea as H,zea as a}from"./cli-0.1.14-t3fga5je.mjs";import{Bha as q,mla as r,uia as x,vha as U,wha as W}from"./cli-0.1.14-r46jh9af.mjs";import{_la as K,bma as n}from"./cli-0.1.14-qn4ftczz.mjs";import{randomUUID as Zf}from"crypto";async function Tf({setMessages:V,readFileState:l,discoveredSkillNames:p,loadedNestedMemoryPaths:k,getAppState:G,setAppState:J,setConversationId:X}){let Y=A();await g("clear",{getAppState:G,setAppState:J,signal:AbortSignal.timeout(Y),timeoutMs:Y});let Z=x();if(Z)H("tengu_cache_eviction_hint",{scope:"conversation_clear",last_request_id:Z});let Q=new Set,_=[],$=(f)=>("isBackgrounded"in f)&&f.isBackgrounded===!1;if(G)for(let f of Object.values(G().tasks)){if($(f))continue;if(h(f))Q.add(f.agentId),_.push(f);else if(N(f))Q.add(f.identity.agentId)}if(V(()=>[]),X)X(Zf());if(C(Q),E(q()),l.clear(),p?.clear(),k?.clear(),J)J((f)=>{let B={};for(let[D,z]of Object.entries(f.tasks)){if(!$(z)){B[D]=z;continue}try{if(z.status==="running"){if(y(z)){if(z.shellCommand?.kill(),z.shellCommand?.cleanup(),z.cleanupTimeoutId)clearTimeout(z.cleanupTimeoutId)}if("abortController"in z)z.abortController?.abort();if("unregisterCleanup"in z)z.unregisterCleanup?.()}}catch(i){F(i)}I(D)}return{...f,tasks:B,attribution:O(),standaloneAgentContext:void 0,fileHistory:{snapshots:[],trackedFiles:new Set,snapshotSequence:0},mcp:{clients:[],tools:[],commands:[],resources:{},pluginReconnectKey:f.mcp.pluginReconnectKey}}});w(),M();let d=U();W({setCurrentAsParent:!0}),L(d),await T();for(let f of _){if(f.status!=="running")continue;v(f.id,m(R(f.agentId)))}{let{saveMode:f}=(c(),K($f)),{isCoordinatorMode:B}=(zf(),K(ff));f(B()?"coordinator":"normal")}let b=S();if(b)u(b);let j=await P("clear");if(j.length>0)V(()=>j)}var _f=n(()=>{r();a();Gf();Xf();Bf();s();t();jf();o();e();Vf();Qf();c();bf();Jf();Df();Yf()});
|
|
2
|
+
export{Tf as Yf,_f as Zf};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{mg as e,pg as fq}from"./cli-0.1.14-y2wxptpk.mjs";import{qg as t,sg as Hq}from"./cli-0.1.14-90zkq8jm.mjs";import{Fr as i,Gr as Wq,Hr as r,Ir as Yq,ih as u,iv as o,jh as g,jv as Mq,kh as Zq,rt as n,st as kq,wj as S,xK as s,xj as Nq,yK as Oq}from"./cli-0.1.14-j5sbzwhy.mjs";import{ES as $,GS as Vq}from"./cli-0.1.14-w6nzk5dc.mjs";import{AU as M,CU as F,QS as Qq,UU as c,VU as Uq,fV as Xq}from"./cli-0.1.14-seq2fm2d.mjs";import{EV as L,FV as R,GV as l}from"./cli-0.1.14-hjktwgtk.mjs";import{HV as Lq}from"./cli-0.1.14-harz1d9d.mjs";import{e6 as d,f6 as Jq}from"./cli-0.1.14-2f7s5xbd.mjs";import{Zla as a,bma as Gq}from"./cli-0.1.14-qn4ftczz.mjs";function qq(){let Z=T.c(1),q;if(Z[0]===Symbol.for("react.memo_cache_sentinel"))q=L(F,{dimColor:!0,children:"Claude Code will be able to read files in this directory and make edits when auto-accept edits is on."}),Z[0]=q;else q=Z[0];return q}function wq(Z){let q=T.c(5),{path:X}=Z,Q;if(q[0]!==X)Q=L(F,{color:"permission",children:X}),q[0]=X,q[1]=Q;else Q=q[1];let N;if(q[2]===Symbol.for("react.memo_cache_sentinel"))N=L(qq,{}),q[2]=N;else N=q[2];let J;if(q[3]!==Q)J=R(M,{flexDirection:"column",paddingX:2,gap:1,children:[Q,N]}),q[3]=Q,q[4]=J;else J=q[4];return J}function Kq(Z){let q=T.c(14),{value:X,onChange:Q,onSubmit:N,error:J,suggestions:V,selectedSuggestion:w}=Z,k;if(q[0]===Symbol.for("react.memo_cache_sentinel"))k=L(F,{children:"Enter the path to the directory:"}),q[0]=k;else k=q[0];let Y;if(q[1]!==Q||q[2]!==N||q[3]!==X)Y=L(M,{borderDimColor:!0,borderStyle:"round",marginY:1,paddingLeft:1,children:L(s,{showCursor:!0,placeholder:`Directory path${d.ellipsis}`,value:X,onChange:Q,onSubmit:N,columns:80,cursorOffset:X.length,onChangeCursorOffset:Aq})}),q[1]=Q,q[2]=N,q[3]=X,q[4]=Y;else Y=q[4];let W;if(q[5]!==w||q[6]!==V)W=V.length>0&&L(M,{marginBottom:1,children:L(t,{suggestions:V,selectedSuggestion:w})}),q[5]=w,q[6]=V,q[7]=W;else W=q[7];let U;if(q[8]!==J)U=J&&L(F,{color:"error",children:J}),q[8]=J,q[9]=U;else U=q[9];let O;if(q[10]!==Y||q[11]!==W||q[12]!==U)O=R(M,{flexDirection:"column",children:[k,Y,W,U]}),q[10]=Y,q[11]=W,q[12]=U,q[13]=O;else O=q[13];return O}function Aq(){}function lq(Z){let q=T.c(34),{onAddDirectory:X,onCancel:Q,permissionContext:N,directoryPath:J}=Z,[V,w]=H.useState(""),[k,Y]=H.useState(null),W;if(q[0]===Symbol.for("react.memo_cache_sentinel"))W=[],q[0]=W;else W=q[0];let[U,O]=H.useState(W),[f,B]=H.useState(0),v;if(q[1]===Symbol.for("react.memo_cache_sentinel"))v=async(z)=>{if(!z){O([]),B(0);return}let G=await e(z);O(G),B(0)},q[1]=v;else v=q[1];let I=c(v,100),C,P;if(q[2]!==I||q[3]!==V)C=()=>{I(V)},P=[V,I],q[2]=I,q[3]=V,q[4]=C,q[5]=P;else C=q[4],P=q[5];H.useEffect(C,P);let m;if(q[6]===Symbol.for("react.memo_cache_sentinel"))m=(z)=>{let G=z.id+"/";w(G),Y(null)},q[6]=m;else m=q[6];let zq=m,_;if(q[7]!==X||q[8]!==N)_=async(z)=>{let G=await u(z,N);if(G.resultType==="success")X(G.absolutePath,!1);else Y(g(G))},q[7]=X,q[8]=N,q[9]=_;else _=q[9];let K=_,D;if(q[10]===Symbol.for("react.memo_cache_sentinel"))D={context:"Settings"},q[10]=D;else D=q[10];$("confirm:no",Q,D);let b;if(q[11]!==K||q[12]!==f||q[13]!==U)b=(z)=>{if(U.length>0){if(z.key==="tab"){z.preventDefault();let G=U[f];if(G)zq(G);return}if(z.key==="return"){z.preventDefault();let G=U[f];if(G)K(G.id+"/");return}if(z.key==="up"||z.ctrl&&z.key==="p"){z.preventDefault(),B((G)=>G<=0?U.length-1:G-1);return}if(z.key==="down"||z.ctrl&&z.key==="n"){z.preventDefault(),B((G)=>G>=U.length-1?0:G+1);return}}},q[11]=K,q[12]=f,q[13]=U,q[14]=b;else b=q[14];let x=b,j;if(q[15]!==J||q[16]!==X||q[17]!==Q)j=(z)=>{if(!J)return;let G=z;q:switch(G){case"yes-session":{X(J,!1);break q}case"yes-remember":{X(J,!0);break q}case"no":Q()}},q[15]=J,q[16]=X,q[17]=Q,q[18]=j;else j=q[18];let y=j,p=J?void 0:Eq,A;if(q[19]!==V||q[20]!==J||q[21]!==k||q[22]!==y||q[23]!==K||q[24]!==f||q[25]!==U)A=J?R(M,{flexDirection:"column",gap:1,children:[L(wq,{path:J}),L(o,{options:Rq,onChange:y,onCancel:()=>y("no")})]}):R(M,{flexDirection:"column",gap:1,marginX:2,children:[L(qq,{}),L(Kq,{value:V,onChange:w,onSubmit:K,error:k,suggestions:U,selectedSuggestion:f})]}),q[19]=V,q[20]=J,q[21]=k,q[22]=y,q[23]=K,q[24]=f,q[25]=U,q[26]=A;else A=q[26];let E;if(q[27]!==Q||q[28]!==p||q[29]!==A)E=L(n,{title:"Add directory to workspace",onCancel:Q,color:"permission",isCancelActive:!1,inputGuide:p,children:A}),q[27]=Q,q[28]=p,q[29]=A,q[30]=E;else E=q[30];let h;if(q[31]!==x||q[32]!==E)h=L(M,{flexDirection:"column",tabIndex:0,autoFocus:!0,onKeyDown:x,children:E}),q[31]=x,q[32]=E,q[33]=h;else h=q[33];return h}function Eq(Z){return Z.pending?R(F,{children:["Press ",Z.keyName," again to exit"]}):R(r,{children:[L(S,{shortcut:"Tab",action:"complete"}),L(S,{shortcut:"Enter",action:"add"}),L(i,{action:"confirm:no",context:"Settings",fallback:"Esc",description:"cancel"})]})}var T,H,Rq;var Fq=Gq(()=>{Jq();Uq();Zq();Oq();Xq();Vq();fq();Wq();Mq();Yq();kq();Nq();Hq();l();T=a(Qq(),1),H=a(Lq(),1),Rq=[{value:"yes-session",label:"Yes, for this session"},{value:"yes-remember",label:"Yes, and remember this directory"},{value:"no",label:"No"}]});
|
|
2
|
+
export{lq as kg,Fq as lg};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{Ci as l,Di as Rq,Ei as i,Fi as Aq,Gk as S,Lk as Zq,pk as E,qk as m,rk as Xq}from"./cli-0.1.12-242der7s.mjs";import{J6 as Qq,s6 as p}from"./cli-0.1.12-rwzav5h1.mjs";import{A$ as n,F$ as vq,I7 as D,N7 as qq,u$ as u,w$ as g,z$ as h}from"./cli-0.1.12-vzga2are.mjs";import{Yda as d,_da as Uq}from"./cli-0.1.12-j6gjfwh5.mjs";import{Gga as W,Hga as O,Iga as C,Mga as _,Oga as P,Pga as v,Sga as f,Wga as M,_ga as y,eha as V,hha as e}from"./cli-0.1.12-rzpc0tr9.mjs";import{Una as N}from"./cli-0.1.12-1hv04bp7.mjs";import{homedir as a}from"os";import{resolve as t}from"path";async function Fq(Z){let q=Z.trim(),$=M(),Q=q.match(/^([a-zA-Z0-9._-]+@[^:]+:.+?(?:\.git)?)(#(.+))?$/);if(Q?.[1]){let z=Q[1],G=Q[3];return G?{source:"git",url:z,ref:G}:{source:"git",url:z}}if(q.startsWith("http://")||q.startsWith("https://")){let z=q.match(/^([^#]+)(#(.+))?$/),G=z?.[1]||q,X=z?.[3];if(G.endsWith(".git")||G.includes("/_git/"))return X?{source:"git",url:G,ref:X}:{source:"git",url:G};let Y;try{Y=new URL(G)}catch(J){return{source:"url",url:G}}if(Y.hostname==="github.com"||Y.hostname==="www.github.com"){if(Y.pathname.match(/^\/([^/]+\/[^/]+?)(\/|\.git|$)/)?.[1]){let K=G.endsWith(".git")?G:`${G}.git`;return X?{source:"git",url:K,ref:X}:{source:"git",url:K}}}return{source:"url",url:G}}let x=process.platform==="win32"&&(q.startsWith(".\\")||q.startsWith("..\\")||/^[a-zA-Z]:[/\\]/.test(q));if(q.startsWith("./")||q.startsWith("../")||q.startsWith("/")||q.startsWith("~")||x){let z=t(q.startsWith("~")?q.replace(/^~/,a()):q),G;try{G=await $.stat(z)}catch(X){let Y=O(X);return{error:Y==="ENOENT"?`Path does not exist: ${z}`:`Cannot access path: ${z} (${Y??X})`}}if(G.isFile())if(z.endsWith(".json"))return{source:"file",path:z};else return{error:`File path must point to a .json file (marketplace.json), but got: ${z}`};else if(G.isDirectory())return{source:"directory",path:z};else return{error:`Path is neither a file nor a directory: ${z}`}}if(q.includes("/")&&!q.startsWith("@")){if(q.includes(":"))return null;let z=q.match(/^([^#@]+)(?:[#@](.+))?$/),G=z?.[1]||q,X=z?.[2];return X?{source:"github",repo:G,ref:X}:{source:"github",repo:G}}return null}var r=N(()=>{_();y()});import{randomBytes as $q}from"crypto";import{readFile as Bq,rename as Gq,unlink as Yq,writeFile as Jq}from"fs/promises";import{join as Kq}from"path";function c(){return Kq(S(),xq)}async function Hq(){let Z=c();try{let q=await Bq(Z,{encoding:"utf-8"}),$=v(q);if(typeof $!=="object"||$===null||!("version"in $)||!("fetchedAt"in $)||!("counts"in $))return V("Install counts cache has invalid structure"),null;let Q=$;if(Q.version!==L)return V(`Install counts cache version mismatch (got ${Q.version}, expected ${L})`),null;if(typeof Q.fetchedAt!=="string"||!Array.isArray(Q.counts))return V("Install counts cache has invalid structure"),null;let B=new Date(Q.fetchedAt).getTime();if(Number.isNaN(B))return V("Install counts cache has invalid fetchedAt timestamp"),null;if(!Q.counts.every((G)=>typeof G==="object"&&G!==null&&typeof G.plugin==="string"&&typeof G.unique_installs==="number"))return V("Install counts cache has malformed entries"),null;if(Date.now()-B>zq)return V("Install counts cache is stale (>24h old)"),null;return{version:Q.version,fetchedAt:Q.fetchedAt,counts:Q.counts}}catch(q){if(O(q)!=="ENOENT")V(`Failed to load install counts cache: ${W(q)}`);return null}}async function Vq(Z){let q=c(),$=`${q}.${$q(8).toString("hex")}.tmp`;try{let Q=S();await M().mkdir(Q);let B=P(Z,null,2);await Jq($,B,{encoding:"utf-8",mode:384}),await Gq($,q),V("Install counts cache saved successfully")}catch(Q){D(Q);try{await Yq($)}catch{}}}async function Wq(){V(`Fetching install counts from ${I}`);let Z=performance.now();try{let q=await p.get(I,{timeout:1e4});if(!q.data?.plugins||!Array.isArray(q.data.plugins))throw Error("Invalid response format from install counts API");return E("install_counts",I,"success",performance.now()-Z),q.data.plugins}catch(q){throw E("install_counts",I,"failure",performance.now()-Z,m(q)),q}}async function nq(){let Z=await Hq();if(Z){V("Using cached install counts"),E("install_counts",I,"cache_hit",0);let q=new Map;for(let $ of Z.counts)q.set($.plugin,$.unique_installs);return q}try{let q=await Wq(),$={version:L,fetchedAt:new Date().toISOString(),counts:q};await Vq($);let Q=new Map;for(let B of q)Q.set(B.plugin,B.unique_installs);return Q}catch(q){return D(q),V(`Failed to fetch install counts: ${W(q)}`),null}}function lq(Z){if(Z<1000)return String(Z);if(Z<1e6){let B=(Z/1000).toFixed(1);return B.endsWith(".0")?`${B.slice(0,-2)}K`:`${B}K`}let $=(Z/1e6).toFixed(1);return $.endsWith(".0")?`${$.slice(0,-2)}M`:`${$}M`}var L=1,xq="install-counts-cache.json",I="https://raw.githubusercontent.com/anthropics/claude-plugins-official/refs/heads/stats/stats/plugin-installs.json",zq=86400000;var Oq=N(()=>{Qq();e();_();y();qq();f();Xq();Zq()});import{readdir as Iq,readFile as A,stat as wq}from"fs/promises";import*as H from"path";function Eq(Z){let q=H.basename(Z),$=H.basename(H.dirname(Z));if(q==="plugin.json")return"plugin";if(q==="marketplace.json")return"marketplace";if($===".claude-plugin")return"plugin";return"unknown"}function F(Z){return Z.issues.map((q)=>({path:q.path.join(".")||"root",message:q.message,code:q.code}))}function w(Z,q,$,Q){if(Z.includes(".."))$.push({path:q,message:Q?`Path contains "..": ${Z}. ${Q}`:`Path contains ".." which could be a path traversal attempt: ${Z}`})}function Nq(Z){let q=Z.replace(/^(\.\.\/)+/,"");return`Plugin source paths are resolved relative to the marketplace root (the directory containing .claude-plugin/), not relative to marketplace.json. Use "${q!==Z?`./${q}`:"./plugins/my-plugin"}" instead of "${Z}".`}async function j(Z){let q=[],$=[],Q=H.resolve(Z),B;try{B=await A(Q,{encoding:"utf-8"})}catch(X){let Y=O(X),J;if(Y==="ENOENT")J=`File not found: ${Q}`;else if(Y==="EISDIR")J=`Path is not a file: ${Q}`;else J=`Failed to read file: ${W(X)}`;return{success:!1,errors:[{path:"file",message:J,code:Y}],warnings:[],filePath:Q,fileType:"plugin"}}let x;try{x=v(B)}catch(X){return{success:!1,errors:[{path:"json",message:`Invalid JSON syntax: ${W(X)}`}],warnings:[],filePath:Q,fileType:"plugin"}}if(x&&typeof x==="object"){let X=x;if(X.commands)(Array.isArray(X.commands)?X.commands:[X.commands]).forEach((J,K)=>{if(typeof J==="string")w(J,`commands[${K}]`,q)});if(X.agents)(Array.isArray(X.agents)?X.agents:[X.agents]).forEach((J,K)=>{if(typeof J==="string")w(J,`agents[${K}]`,q)});if(X.skills)(Array.isArray(X.skills)?X.skills:[X.skills]).forEach((J,K)=>{if(typeof J==="string")w(J,`skills[${K}]`,q)})}let z=x;if(typeof x==="object"&&x!==null){let X=x,Y=Object.keys(X).filter((J)=>Mq.has(J));if(Y.length>0){let J={...X};for(let K of Y)delete J[K],$.push({path:K,message:`Field '${K}' belongs in the marketplace entry (marketplace.json), `+"not plugin.json. It's harmless here but unused — Claude Code "+"ignores it at load time."});z=J}}let G=g().strict().safeParse(z);if(!G.success)q.push(...F(G.error));if(G.success){let X=G.data;if(!/^[a-z0-9]+(-[a-z0-9]+)*$/.test(X.name))$.push({path:"name",message:`Plugin name "${X.name}" is not kebab-case. Claude Code accepts it, but the Claude.ai marketplace sync requires kebab-case (lowercase letters, digits, and hyphens only, e.g., "my-plugin").`});if(!X.version)$.push({path:"version",message:'No version specified. Consider adding a version following semver (e.g., "1.0.0")'});if(!X.description)$.push({path:"description",message:"No description provided. Adding a description helps users understand what your plugin does"});if(!X.author)$.push({path:"author",message:"No author information provided. Consider adding author details for plugin attribution"})}return{success:q.length===0,errors:q,warnings:$,filePath:Q,fileType:"plugin"}}async function k(Z){let q=[],$=[],Q=H.resolve(Z),B;try{B=await A(Q,{encoding:"utf-8"})}catch(X){let Y=O(X),J;if(Y==="ENOENT")J=`File not found: ${Q}`;else if(Y==="EISDIR")J=`Path is not a file: ${Q}`;else J=`Failed to read file: ${W(X)}`;return{success:!1,errors:[{path:"file",message:J,code:Y}],warnings:[],filePath:Q,fileType:"marketplace"}}let x;try{x=v(B)}catch(X){return{success:!1,errors:[{path:"json",message:`Invalid JSON syntax: ${W(X)}`}],warnings:[],filePath:Q,fileType:"marketplace"}}if(x&&typeof x==="object"){let X=x;if(Array.isArray(X.plugins))X.plugins.forEach((Y,J)=>{if(Y&&typeof Y==="object"&&"source"in Y){let K=Y.source;if(typeof K==="string")w(K,`plugins[${J}].source`,q,Nq(K));if(K&&typeof K==="object"&&"path"in K&&typeof K.path==="string")w(K.path,`plugins[${J}].source.path`,q)}})}let G=n().extend({plugins:d.array(h().strict())}).strict().safeParse(x);if(!G.success)q.push(...F(G.error));if(G.success){let X=G.data;if(!X.plugins||X.plugins.length===0)$.push({path:"plugins",message:"Marketplace has no plugins defined"});if(X.plugins){X.plugins.forEach((K,U)=>{if(X.plugins.filter((R)=>R.name===K.name).length>1)q.push({path:`plugins[${U}].name`,message:`Duplicate plugin name "${K.name}" found in marketplace`})});let Y=H.dirname(Q),J=H.basename(Y)===".claude-plugin"?H.dirname(Y):Y;for(let[K,U]of X.plugins.entries()){if(!U.version||typeof U.source!=="string"||!U.source.startsWith("./"))continue;let T=H.join(J,U.source,".claude-plugin","plugin.json"),R;try{let s=await A(T,{encoding:"utf-8"}),b=v(s);if(typeof b.version==="string")R=b.version}catch{continue}if(R&&R!==U.version)$.push({path:`plugins[${K}].version`,message:`Entry declares version "${U.version}" but ${U.source}/.claude-plugin/plugin.json says "${R}". `+"At install time, plugin.json wins (calculatePluginVersion precedence) — the entry version is silently ignored. "+`Update this entry to "${R}" to match.`})}}if(!X.metadata?.description)$.push({path:"metadata.description",message:"No marketplace description provided. Adding a description helps users understand what this marketplace offers"})}return{success:q.length===0,errors:q,warnings:$,filePath:Q,fileType:"marketplace"}}function _q(Z,q,$){let Q=[],B=[],x=q.match(i);if(!x)return B.push({path:"frontmatter",message:"No frontmatter block found. Add YAML frontmatter between --- delimiters at the top of the file to set description and other metadata."}),{success:!0,errors:Q,warnings:B,filePath:Z,fileType:$};let z=x[1]||"",G;try{G=l(z)}catch(K){return Q.push({path:"frontmatter",message:`YAML frontmatter failed to parse: ${W(K)}. At runtime this ${$} loads with empty metadata (all frontmatter fields silently dropped).`}),{success:!1,errors:Q,warnings:B,filePath:Z,fileType:$}}if(G===null||typeof G!=="object"||Array.isArray(G))return Q.push({path:"frontmatter",message:`Frontmatter must be a YAML mapping (key: value pairs), got ${Array.isArray(G)?"an array":G===null?"null":typeof G}.`}),{success:!1,errors:Q,warnings:B,filePath:Z,fileType:$};let X=G;if(X.description!==void 0){let K=X.description;if(typeof K!=="string"&&typeof K!=="number"&&typeof K!=="boolean"&&K!==null)Q.push({path:"description",message:`description must be a string, got ${Array.isArray(K)?"array":typeof K}. At runtime this value is dropped.`})}else B.push({path:"description",message:`No description in frontmatter. A description helps users and Claude understand when to use this ${$}.`});if(X.name!==void 0&&X.name!==null&&typeof X.name!=="string")Q.push({path:"name",message:`name must be a string, got ${typeof X.name}.`});let Y=X["allowed-tools"];if(Y!==void 0&&Y!==null){if(typeof Y!=="string"&&!Array.isArray(Y))Q.push({path:"allowed-tools",message:`allowed-tools must be a string or array of strings, got ${typeof Y}.`});else if(Array.isArray(Y)&&Y.some((K)=>typeof K!=="string"))Q.push({path:"allowed-tools",message:"allowed-tools array must contain only strings."})}let J=X.shell;if(J!==void 0&&J!==null)if(typeof J!=="string")Q.push({path:"shell",message:`shell must be a string, got ${typeof J}.`});else{let K=J.trim().toLowerCase();if(K!=="bash"&&K!=="powershell")Q.push({path:"shell",message:`shell must be 'bash' or 'powershell', got '${J}'.`})}return{success:Q.length===0,errors:Q,warnings:B,filePath:Z,fileType:$}}async function Lq(Z){let q;try{q=await A(Z,{encoding:"utf-8"})}catch(B){if(O(B)==="ENOENT")return{success:!0,errors:[],warnings:[],filePath:Z,fileType:"hooks"};return{success:!1,errors:[{path:"file",message:`Failed to read file: ${W(B)}`}],warnings:[],filePath:Z,fileType:"hooks"}}let $;try{$=v(q)}catch(B){return{success:!1,errors:[{path:"json",message:`Invalid JSON syntax: ${W(B)}. At runtime this breaks the entire plugin load.`}],warnings:[],filePath:Z,fileType:"hooks"}}let Q=u().safeParse($);if(!Q.success)return{success:!1,errors:F(Q.error),warnings:[],filePath:Z,fileType:"hooks"};return{success:!0,errors:[],warnings:[],filePath:Z,fileType:"hooks"}}async function o(Z,q){let $;try{$=await Iq(Z,{withFileTypes:!0})}catch(B){let x=O(B);if(x==="ENOENT"||x==="ENOTDIR")return[];throw B}if(q)return $.filter((B)=>B.isDirectory()).map((B)=>H.join(Z,B.name,"SKILL.md"));let Q=[];for(let B of $){let x=H.join(Z,B.name);if(B.isDirectory())Q.push(...await o(x,!1));else if(B.isFile()&&B.name.toLowerCase().endsWith(".md"))Q.push(x)}return Q}async function QQ(Z){let q=[],$=[["skill",H.join(Z,"skills")],["agent",H.join(Z,"agents")],["command",H.join(Z,"commands")]];for(let[B,x]of $){let z=await o(x,B==="skill");for(let G of z){let X;try{X=await A(G,{encoding:"utf-8"})}catch(J){if(C(J))continue;q.push({success:!1,errors:[{path:"file",message:`Failed to read: ${W(J)}`}],warnings:[],filePath:G,fileType:B});continue}let Y=_q(G,X,B);if(Y.errors.length>0||Y.warnings.length>0)q.push(Y)}}let Q=await Lq(H.join(Z,"hooks","hooks.json"));if(Q.errors.length>0||Q.warnings.length>0)q.push(Q);return q}async function XQ(Z){let q=H.resolve(Z),$=null;try{$=await wq(q)}catch(B){if(!C(B))throw B}if($?.isDirectory()){let B=H.join(q,".claude-plugin","marketplace.json"),x=await k(B);if(x.errors[0]?.code!=="ENOENT")return x;let z=H.join(q,".claude-plugin","plugin.json"),G=await j(z);if(G.errors[0]?.code!=="ENOENT")return G;return{success:!1,errors:[{path:"directory",message:"No manifest found in directory. Expected .claude-plugin/marketplace.json or .claude-plugin/plugin.json"}],warnings:[],filePath:q,fileType:"plugin"}}switch(Eq(Z)){case"plugin":return j(Z);case"marketplace":return k(Z);case"unknown":{try{let B=await A(q,{encoding:"utf-8"}),x=v(B);if(Array.isArray(x.plugins))return k(Z)}catch(B){if(O(B)==="ENOENT")return{success:!1,errors:[{path:"file",message:`File not found: ${q}`}],warnings:[],filePath:q,fileType:"plugin"}}return j(Z)}}}var Mq;var Dq=N(()=>{Uq();_();Aq();f();Rq();vq();Mq=new Set(["category","source","tags","strict","id"])});
|
|
2
|
-
export{Fq as
|
|
1
|
+
import{Mh as l,Nh as Rq,Oh as i,Ph as Aq,bk as E,ck as m,dk as Xq,sk as S,xk as Zq}from"./cli-0.1.14-j5sbzwhy.mjs";import{$4 as Qq,K4 as p}from"./cli-0.1.14-stv1d0q3.mjs";import{M9 as u,O9 as g,R9 as h,S9 as n,X9 as vq,_5 as D,d6 as qq}from"./cli-0.1.14-2f7s5xbd.mjs";import{oca as d,qca as Uq}from"./cli-0.1.14-kmsvd61a.mjs";import{Yea as W,Zea as O,_ea as C,cfa as _,efa as P,ffa as v,ifa as f,mfa as M,qfa as y,wfa as V,zfa as e}from"./cli-0.1.14-2mzb5ath.mjs";import{bma as N}from"./cli-0.1.14-qn4ftczz.mjs";import{homedir as a}from"os";import{resolve as t}from"path";async function Fq(Z){let q=Z.trim(),$=M(),Q=q.match(/^([a-zA-Z0-9._-]+@[^:]+:.+?(?:\.git)?)(#(.+))?$/);if(Q?.[1]){let z=Q[1],G=Q[3];return G?{source:"git",url:z,ref:G}:{source:"git",url:z}}if(q.startsWith("http://")||q.startsWith("https://")){let z=q.match(/^([^#]+)(#(.+))?$/),G=z?.[1]||q,X=z?.[3];if(G.endsWith(".git")||G.includes("/_git/"))return X?{source:"git",url:G,ref:X}:{source:"git",url:G};let Y;try{Y=new URL(G)}catch(J){return{source:"url",url:G}}if(Y.hostname==="github.com"||Y.hostname==="www.github.com"){if(Y.pathname.match(/^\/([^/]+\/[^/]+?)(\/|\.git|$)/)?.[1]){let K=G.endsWith(".git")?G:`${G}.git`;return X?{source:"git",url:K,ref:X}:{source:"git",url:K}}}return{source:"url",url:G}}let x=process.platform==="win32"&&(q.startsWith(".\\")||q.startsWith("..\\")||/^[a-zA-Z]:[/\\]/.test(q));if(q.startsWith("./")||q.startsWith("../")||q.startsWith("/")||q.startsWith("~")||x){let z=t(q.startsWith("~")?q.replace(/^~/,a()):q),G;try{G=await $.stat(z)}catch(X){let Y=O(X);return{error:Y==="ENOENT"?`Path does not exist: ${z}`:`Cannot access path: ${z} (${Y??X})`}}if(G.isFile())if(z.endsWith(".json"))return{source:"file",path:z};else return{error:`File path must point to a .json file (marketplace.json), but got: ${z}`};else if(G.isDirectory())return{source:"directory",path:z};else return{error:`Path is neither a file nor a directory: ${z}`}}if(q.includes("/")&&!q.startsWith("@")){if(q.includes(":"))return null;let z=q.match(/^([^#@]+)(?:[#@](.+))?$/),G=z?.[1]||q,X=z?.[2];return X?{source:"github",repo:G,ref:X}:{source:"github",repo:G}}return null}var r=N(()=>{_();y()});import{randomBytes as $q}from"crypto";import{readFile as Bq,rename as Gq,unlink as Yq,writeFile as Jq}from"fs/promises";import{join as Kq}from"path";function c(){return Kq(S(),xq)}async function Hq(){let Z=c();try{let q=await Bq(Z,{encoding:"utf-8"}),$=v(q);if(typeof $!=="object"||$===null||!("version"in $)||!("fetchedAt"in $)||!("counts"in $))return V("Install counts cache has invalid structure"),null;let Q=$;if(Q.version!==L)return V(`Install counts cache version mismatch (got ${Q.version}, expected ${L})`),null;if(typeof Q.fetchedAt!=="string"||!Array.isArray(Q.counts))return V("Install counts cache has invalid structure"),null;let B=new Date(Q.fetchedAt).getTime();if(Number.isNaN(B))return V("Install counts cache has invalid fetchedAt timestamp"),null;if(!Q.counts.every((G)=>typeof G==="object"&&G!==null&&typeof G.plugin==="string"&&typeof G.unique_installs==="number"))return V("Install counts cache has malformed entries"),null;if(Date.now()-B>zq)return V("Install counts cache is stale (>24h old)"),null;return{version:Q.version,fetchedAt:Q.fetchedAt,counts:Q.counts}}catch(q){if(O(q)!=="ENOENT")V(`Failed to load install counts cache: ${W(q)}`);return null}}async function Vq(Z){let q=c(),$=`${q}.${$q(8).toString("hex")}.tmp`;try{let Q=S();await M().mkdir(Q);let B=P(Z,null,2);await Jq($,B,{encoding:"utf-8",mode:384}),await Gq($,q),V("Install counts cache saved successfully")}catch(Q){D(Q);try{await Yq($)}catch{}}}async function Wq(){V(`Fetching install counts from ${I}`);let Z=performance.now();try{let q=await p.get(I,{timeout:1e4});if(!q.data?.plugins||!Array.isArray(q.data.plugins))throw Error("Invalid response format from install counts API");return E("install_counts",I,"success",performance.now()-Z),q.data.plugins}catch(q){throw E("install_counts",I,"failure",performance.now()-Z,m(q)),q}}async function nq(){let Z=await Hq();if(Z){V("Using cached install counts"),E("install_counts",I,"cache_hit",0);let q=new Map;for(let $ of Z.counts)q.set($.plugin,$.unique_installs);return q}try{let q=await Wq(),$={version:L,fetchedAt:new Date().toISOString(),counts:q};await Vq($);let Q=new Map;for(let B of q)Q.set(B.plugin,B.unique_installs);return Q}catch(q){return D(q),V(`Failed to fetch install counts: ${W(q)}`),null}}function lq(Z){if(Z<1000)return String(Z);if(Z<1e6){let B=(Z/1000).toFixed(1);return B.endsWith(".0")?`${B.slice(0,-2)}K`:`${B}K`}let $=(Z/1e6).toFixed(1);return $.endsWith(".0")?`${$.slice(0,-2)}M`:`${$}M`}var L=1,xq="install-counts-cache.json",I="https://raw.githubusercontent.com/anthropics/claude-plugins-official/refs/heads/stats/stats/plugin-installs.json",zq=86400000;var Oq=N(()=>{Qq();e();_();y();qq();f();Xq();Zq()});import{readdir as Iq,readFile as A,stat as wq}from"fs/promises";import*as H from"path";function Eq(Z){let q=H.basename(Z),$=H.basename(H.dirname(Z));if(q==="plugin.json")return"plugin";if(q==="marketplace.json")return"marketplace";if($===".claude-plugin")return"plugin";return"unknown"}function F(Z){return Z.issues.map((q)=>({path:q.path.join(".")||"root",message:q.message,code:q.code}))}function w(Z,q,$,Q){if(Z.includes(".."))$.push({path:q,message:Q?`Path contains "..": ${Z}. ${Q}`:`Path contains ".." which could be a path traversal attempt: ${Z}`})}function Nq(Z){let q=Z.replace(/^(\.\.\/)+/,"");return`Plugin source paths are resolved relative to the marketplace root (the directory containing .claude-plugin/), not relative to marketplace.json. Use "${q!==Z?`./${q}`:"./plugins/my-plugin"}" instead of "${Z}".`}async function j(Z){let q=[],$=[],Q=H.resolve(Z),B;try{B=await A(Q,{encoding:"utf-8"})}catch(X){let Y=O(X),J;if(Y==="ENOENT")J=`File not found: ${Q}`;else if(Y==="EISDIR")J=`Path is not a file: ${Q}`;else J=`Failed to read file: ${W(X)}`;return{success:!1,errors:[{path:"file",message:J,code:Y}],warnings:[],filePath:Q,fileType:"plugin"}}let x;try{x=v(B)}catch(X){return{success:!1,errors:[{path:"json",message:`Invalid JSON syntax: ${W(X)}`}],warnings:[],filePath:Q,fileType:"plugin"}}if(x&&typeof x==="object"){let X=x;if(X.commands)(Array.isArray(X.commands)?X.commands:[X.commands]).forEach((J,K)=>{if(typeof J==="string")w(J,`commands[${K}]`,q)});if(X.agents)(Array.isArray(X.agents)?X.agents:[X.agents]).forEach((J,K)=>{if(typeof J==="string")w(J,`agents[${K}]`,q)});if(X.skills)(Array.isArray(X.skills)?X.skills:[X.skills]).forEach((J,K)=>{if(typeof J==="string")w(J,`skills[${K}]`,q)})}let z=x;if(typeof x==="object"&&x!==null){let X=x,Y=Object.keys(X).filter((J)=>Mq.has(J));if(Y.length>0){let J={...X};for(let K of Y)delete J[K],$.push({path:K,message:`Field '${K}' belongs in the marketplace entry (marketplace.json), `+"not plugin.json. It's harmless here but unused — Claude Code "+"ignores it at load time."});z=J}}let G=g().strict().safeParse(z);if(!G.success)q.push(...F(G.error));if(G.success){let X=G.data;if(!/^[a-z0-9]+(-[a-z0-9]+)*$/.test(X.name))$.push({path:"name",message:`Plugin name "${X.name}" is not kebab-case. Claude Code accepts it, but the Claude.ai marketplace sync requires kebab-case (lowercase letters, digits, and hyphens only, e.g., "my-plugin").`});if(!X.version)$.push({path:"version",message:'No version specified. Consider adding a version following semver (e.g., "1.0.0")'});if(!X.description)$.push({path:"description",message:"No description provided. Adding a description helps users understand what your plugin does"});if(!X.author)$.push({path:"author",message:"No author information provided. Consider adding author details for plugin attribution"})}return{success:q.length===0,errors:q,warnings:$,filePath:Q,fileType:"plugin"}}async function k(Z){let q=[],$=[],Q=H.resolve(Z),B;try{B=await A(Q,{encoding:"utf-8"})}catch(X){let Y=O(X),J;if(Y==="ENOENT")J=`File not found: ${Q}`;else if(Y==="EISDIR")J=`Path is not a file: ${Q}`;else J=`Failed to read file: ${W(X)}`;return{success:!1,errors:[{path:"file",message:J,code:Y}],warnings:[],filePath:Q,fileType:"marketplace"}}let x;try{x=v(B)}catch(X){return{success:!1,errors:[{path:"json",message:`Invalid JSON syntax: ${W(X)}`}],warnings:[],filePath:Q,fileType:"marketplace"}}if(x&&typeof x==="object"){let X=x;if(Array.isArray(X.plugins))X.plugins.forEach((Y,J)=>{if(Y&&typeof Y==="object"&&"source"in Y){let K=Y.source;if(typeof K==="string")w(K,`plugins[${J}].source`,q,Nq(K));if(K&&typeof K==="object"&&"path"in K&&typeof K.path==="string")w(K.path,`plugins[${J}].source.path`,q)}})}let G=n().extend({plugins:d.array(h().strict())}).strict().safeParse(x);if(!G.success)q.push(...F(G.error));if(G.success){let X=G.data;if(!X.plugins||X.plugins.length===0)$.push({path:"plugins",message:"Marketplace has no plugins defined"});if(X.plugins){X.plugins.forEach((K,U)=>{if(X.plugins.filter((R)=>R.name===K.name).length>1)q.push({path:`plugins[${U}].name`,message:`Duplicate plugin name "${K.name}" found in marketplace`})});let Y=H.dirname(Q),J=H.basename(Y)===".claude-plugin"?H.dirname(Y):Y;for(let[K,U]of X.plugins.entries()){if(!U.version||typeof U.source!=="string"||!U.source.startsWith("./"))continue;let T=H.join(J,U.source,".claude-plugin","plugin.json"),R;try{let s=await A(T,{encoding:"utf-8"}),b=v(s);if(typeof b.version==="string")R=b.version}catch{continue}if(R&&R!==U.version)$.push({path:`plugins[${K}].version`,message:`Entry declares version "${U.version}" but ${U.source}/.claude-plugin/plugin.json says "${R}". `+"At install time, plugin.json wins (calculatePluginVersion precedence) — the entry version is silently ignored. "+`Update this entry to "${R}" to match.`})}}if(!X.metadata?.description)$.push({path:"metadata.description",message:"No marketplace description provided. Adding a description helps users understand what this marketplace offers"})}return{success:q.length===0,errors:q,warnings:$,filePath:Q,fileType:"marketplace"}}function _q(Z,q,$){let Q=[],B=[],x=q.match(i);if(!x)return B.push({path:"frontmatter",message:"No frontmatter block found. Add YAML frontmatter between --- delimiters at the top of the file to set description and other metadata."}),{success:!0,errors:Q,warnings:B,filePath:Z,fileType:$};let z=x[1]||"",G;try{G=l(z)}catch(K){return Q.push({path:"frontmatter",message:`YAML frontmatter failed to parse: ${W(K)}. At runtime this ${$} loads with empty metadata (all frontmatter fields silently dropped).`}),{success:!1,errors:Q,warnings:B,filePath:Z,fileType:$}}if(G===null||typeof G!=="object"||Array.isArray(G))return Q.push({path:"frontmatter",message:`Frontmatter must be a YAML mapping (key: value pairs), got ${Array.isArray(G)?"an array":G===null?"null":typeof G}.`}),{success:!1,errors:Q,warnings:B,filePath:Z,fileType:$};let X=G;if(X.description!==void 0){let K=X.description;if(typeof K!=="string"&&typeof K!=="number"&&typeof K!=="boolean"&&K!==null)Q.push({path:"description",message:`description must be a string, got ${Array.isArray(K)?"array":typeof K}. At runtime this value is dropped.`})}else B.push({path:"description",message:`No description in frontmatter. A description helps users and Claude understand when to use this ${$}.`});if(X.name!==void 0&&X.name!==null&&typeof X.name!=="string")Q.push({path:"name",message:`name must be a string, got ${typeof X.name}.`});let Y=X["allowed-tools"];if(Y!==void 0&&Y!==null){if(typeof Y!=="string"&&!Array.isArray(Y))Q.push({path:"allowed-tools",message:`allowed-tools must be a string or array of strings, got ${typeof Y}.`});else if(Array.isArray(Y)&&Y.some((K)=>typeof K!=="string"))Q.push({path:"allowed-tools",message:"allowed-tools array must contain only strings."})}let J=X.shell;if(J!==void 0&&J!==null)if(typeof J!=="string")Q.push({path:"shell",message:`shell must be a string, got ${typeof J}.`});else{let K=J.trim().toLowerCase();if(K!=="bash"&&K!=="powershell")Q.push({path:"shell",message:`shell must be 'bash' or 'powershell', got '${J}'.`})}return{success:Q.length===0,errors:Q,warnings:B,filePath:Z,fileType:$}}async function Lq(Z){let q;try{q=await A(Z,{encoding:"utf-8"})}catch(B){if(O(B)==="ENOENT")return{success:!0,errors:[],warnings:[],filePath:Z,fileType:"hooks"};return{success:!1,errors:[{path:"file",message:`Failed to read file: ${W(B)}`}],warnings:[],filePath:Z,fileType:"hooks"}}let $;try{$=v(q)}catch(B){return{success:!1,errors:[{path:"json",message:`Invalid JSON syntax: ${W(B)}. At runtime this breaks the entire plugin load.`}],warnings:[],filePath:Z,fileType:"hooks"}}let Q=u().safeParse($);if(!Q.success)return{success:!1,errors:F(Q.error),warnings:[],filePath:Z,fileType:"hooks"};return{success:!0,errors:[],warnings:[],filePath:Z,fileType:"hooks"}}async function o(Z,q){let $;try{$=await Iq(Z,{withFileTypes:!0})}catch(B){let x=O(B);if(x==="ENOENT"||x==="ENOTDIR")return[];throw B}if(q)return $.filter((B)=>B.isDirectory()).map((B)=>H.join(Z,B.name,"SKILL.md"));let Q=[];for(let B of $){let x=H.join(Z,B.name);if(B.isDirectory())Q.push(...await o(x,!1));else if(B.isFile()&&B.name.toLowerCase().endsWith(".md"))Q.push(x)}return Q}async function QQ(Z){let q=[],$=[["skill",H.join(Z,"skills")],["agent",H.join(Z,"agents")],["command",H.join(Z,"commands")]];for(let[B,x]of $){let z=await o(x,B==="skill");for(let G of z){let X;try{X=await A(G,{encoding:"utf-8"})}catch(J){if(C(J))continue;q.push({success:!1,errors:[{path:"file",message:`Failed to read: ${W(J)}`}],warnings:[],filePath:G,fileType:B});continue}let Y=_q(G,X,B);if(Y.errors.length>0||Y.warnings.length>0)q.push(Y)}}let Q=await Lq(H.join(Z,"hooks","hooks.json"));if(Q.errors.length>0||Q.warnings.length>0)q.push(Q);return q}async function XQ(Z){let q=H.resolve(Z),$=null;try{$=await wq(q)}catch(B){if(!C(B))throw B}if($?.isDirectory()){let B=H.join(q,".claude-plugin","marketplace.json"),x=await k(B);if(x.errors[0]?.code!=="ENOENT")return x;let z=H.join(q,".claude-plugin","plugin.json"),G=await j(z);if(G.errors[0]?.code!=="ENOENT")return G;return{success:!1,errors:[{path:"directory",message:"No manifest found in directory. Expected .claude-plugin/marketplace.json or .claude-plugin/plugin.json"}],warnings:[],filePath:q,fileType:"plugin"}}switch(Eq(Z)){case"plugin":return j(Z);case"marketplace":return k(Z);case"unknown":{try{let B=await A(q,{encoding:"utf-8"}),x=v(B);if(Array.isArray(x.plugins))return k(Z)}catch(B){if(O(B)==="ENOENT")return{success:!1,errors:[{path:"file",message:`File not found: ${q}`}],warnings:[],filePath:q,fileType:"plugin"}}return j(Z)}}}var Mq;var Dq=N(()=>{Uq();_();Aq();f();Rq();vq();Mq=new Set(["category","source","tags","strict","id"])});
|
|
2
|
+
export{Fq as Mb,r as Nb,nq as Ob,lq as Pb,Oq as Qb,QQ as Rb,XQ as Sb,Dq as Tb};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{$fa as $,dga as W,ega as f,fga as I}from"./cli-0.1.12-v000x470.mjs";import{gga as XD,hga as aD}from"./cli-0.1.12-6x2mnahn.mjs";import{Rga as $D,Sga as cD,Wga as qD,_ga as mD,eha as l,hha as rD}from"./cli-0.1.12-rzpc0tr9.mjs";import{Bha as PD,oha as VD,rha as YD}from"./cli-0.1.12-ra3sby5b.mjs";import{Yma as hD,dja as QD}from"./cli-0.1.12-pm5cwtxh.mjs";import{Qna as RD,Sna as HD,Una as Q,Vna as gD}from"./cli-0.1.12-1hv04bp7.mjs";var h=HD((uu,g)=>{g.exports=()=>{return/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E-\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED8\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g}});var U,H,_,O,J;var P=Q(()=>{U=[161,161,164,164,167,168,170,170,173,174,176,180,182,186,188,191,198,198,208,208,215,216,222,225,230,230,232,234,236,237,240,240,242,243,247,250,252,252,254,254,257,257,273,273,275,275,283,283,294,295,299,299,305,307,312,312,319,322,324,324,328,331,333,333,338,339,358,359,363,363,462,462,464,464,466,466,468,468,470,470,472,472,474,474,476,476,593,593,609,609,708,708,711,711,713,715,717,717,720,720,728,731,733,733,735,735,768,879,913,929,931,937,945,961,963,969,1025,1025,1040,1103,1105,1105,8208,8208,8211,8214,8216,8217,8220,8221,8224,8226,8228,8231,8240,8240,8242,8243,8245,8245,8251,8251,8254,8254,8308,8308,8319,8319,8321,8324,8364,8364,8451,8451,8453,8453,8457,8457,8467,8467,8470,8470,8481,8482,8486,8486,8491,8491,8531,8532,8539,8542,8544,8555,8560,8569,8585,8585,8592,8601,8632,8633,8658,8658,8660,8660,8679,8679,8704,8704,8706,8707,8711,8712,8715,8715,8719,8719,8721,8721,8725,8725,8730,8730,8733,8736,8739,8739,8741,8741,8743,8748,8750,8750,8756,8759,8764,8765,8776,8776,8780,8780,8786,8786,8800,8801,8804,8807,8810,8811,8814,8815,8834,8835,8838,8839,8853,8853,8857,8857,8869,8869,8895,8895,8978,8978,9312,9449,9451,9547,9552,9587,9600,9615,9618,9621,9632,9633,9635,9641,9650,9651,9654,9655,9660,9661,9664,9665,9670,9672,9675,9675,9678,9681,9698,9701,9711,9711,9733,9734,9737,9737,9742,9743,9756,9756,9758,9758,9792,9792,9794,9794,9824,9825,9827,9829,9831,9834,9836,9837,9839,9839,9886,9887,9919,9919,9926,9933,9935,9939,9941,9953,9955,9955,9960,9961,9963,9969,9972,9972,9974,9977,9979,9980,9982,9983,10045,10045,10102,10111,11094,11097,12872,12879,57344,63743,65024,65039,65533,65533,127232,127242,127248,127277,127280,127337,127344,127373,127375,127376,127387,127404,917760,917999,983040,1048573,1048576,1114109],H=[12288,12288,65281,65376,65504,65510],_=[8361,8361,65377,65470,65474,65479,65482,65487,65490,65495,65498,65500,65512,65518],O=[32,126,162,163,165,166,172,172,175,175,10214,10221,10629,10630],J=[4352,4447,8986,8987,9001,9002,9193,9196,9200,9200,9203,9203,9725,9726,9748,9749,9776,9783,9800,9811,9855,9855,9866,9871,9875,9875,9889,9889,9898,9899,9917,9918,9924,9925,9934,9934,9940,9940,9962,9962,9970,9971,9973,9973,9978,9978,9981,9981,9989,9989,9994,9995,10024,10024,10060,10060,10062,10062,10067,10069,10071,10071,10133,10135,10160,10160,10175,10175,11035,11036,11088,11088,11093,11093,11904,11929,11931,12019,12032,12245,12272,12287,12289,12350,12353,12438,12441,12543,12549,12591,12593,12686,12688,12773,12783,12830,12832,12871,12880,42124,42128,42182,43360,43388,44032,55203,63744,64255,65040,65049,65072,65106,65108,65126,65128,65131,94176,94180,94192,94198,94208,101589,101631,101662,101760,101874,110576,110579,110581,110587,110589,110590,110592,110882,110898,110898,110928,110930,110933,110933,110948,110951,110960,111355,119552,119638,119648,119670,126980,126980,127183,127183,127374,127374,127377,127386,127488,127490,127504,127547,127552,127560,127568,127569,127584,127589,127744,127776,127789,127797,127799,127868,127870,127891,127904,127946,127951,127955,127968,127984,127988,127988,127992,128062,128064,128064,128066,128252,128255,128317,128331,128334,128336,128359,128378,128378,128405,128406,128420,128420,128507,128591,128640,128709,128716,128716,128720,128722,128725,128728,128732,128735,128747,128748,128756,128764,128992,129003,129008,129008,129292,129338,129340,129349,129351,129535,129648,129660,129664,129674,129678,129734,129736,129736,129741,129756,129759,129770,129775,129784,131072,196605,196608,262141]});var M=(D,F)=>{let u=0,C=Math.floor(D.length/2)-1;while(u<=C){let E=Math.floor((u+C)/2),B=E*2;if(F<D[B])C=E-1;else if(F>D[B+1])u=E+1;else return!0}return!1};var c=()=>{};function yD(D){let F=D[0],u=D[1];for(let C=0;C<D.length;C+=2){let E=D[C],B=D[C+1];if(m>=E&&m<=B)return[E,B];if(B-E>u-F)F=E,u=B}return[F,u]}var MD,zD,jD,vD,Au,Ku,Qu,Vu,ND,GD,m=19968,_D,OD,r=(D)=>{if(D<MD||D>zD)return!1;return M(U,D)},y=(D)=>{if(D<jD||D>vD)return!1;return M(H,D)},b=(D)=>{if(D>=_D&&D<=OD)return!0;if(D<ND||D>GD)return!1;return M(J,D)};var k=Q(()=>{P();c();MD=U[0],zD=U.at(-1),jD=H[0],vD=H.at(-1),Au=_[0],Ku=_.at(-1),Qu=O[0],Vu=O.at(-1),ND=J[0],GD=J.at(-1),[_D,OD]=yD(J)});function bD(D){if(!Number.isSafeInteger(D))throw TypeError(`Expected a code point, got \`${typeof D}\`.`)}function R(D,{ambiguousAsWide:F=!1}={}){if(bD(D),y(D)||b(D)||F&&r(D))return 2;return 1}var a=Q(()=>{k();k()});function L({onlyFirst:D=!1}={}){return new RegExp("(?:\\u001B\\][\\s\\S]*?(?:\\u0007|\\u001B\\u005C|\\u009C))|[\\u001B\\u009B][[\\]()#;?]*(?:\\d{1,4}(?:[;:]\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]",D?void 0:"g")}var d=()=>{};function w(D){if(typeof D!=="string")throw TypeError(`Expected a \`string\`, got \`${typeof D}\``);if(!D.includes("\x1B")&&!D.includes(""))return D;return D.replace(kD,"")}var kD;var s=Q(()=>{d();kD=L()});function LD(D){if(typeof D!=="string"||D.length===0)return 0;let F=!0;for(let C=0;C<D.length;C++){let E=D.charCodeAt(C);if(E>=127||E===27){F=!1;break}}if(F){let C=0;for(let E=0;E<D.length;E++)if(D.charCodeAt(E)>31)C++;return C}if(D.includes("\x1B")){if(D=w(D),D.length===0)return 0}if(!wD(D)){let C=0;for(let E of D){let B=E.codePointAt(0);if(!i(B))C+=R(B,{ambiguousAsWide:!1})}return C}let u=0;for(let{segment:C}of $().segment(D)){if(n.lastIndex=0,n.test(C)){u+=ID(C);continue}for(let E of C){let B=E.codePointAt(0);if(!i(B)){u+=R(B,{ambiguousAsWide:!1});break}}}return u}function wD(D){for(let F of D){let u=F.codePointAt(0);if(u>=127744&&u<=129791)return!0;if(u>=9728&&u<=10175)return!0;if(u>=127462&&u<=127487)return!0;if(u>=65024&&u<=65039)return!0;if(u===8205)return!0}return!1}function ID(D){let F=D.codePointAt(0);if(F>=127462&&F<=127487){let u=0;for(let C of D)u++;return u===1?1:2}if(D.length===2){if(D.codePointAt(1)===65039&&(F>=48&&F<=57||F===35||F===42))return 1}return 2}function i(D){if(D>=32&&D<127)return!1;if(D>=160&&D<768)return D===173;if(D<=31||D>=127&&D<=159)return!0;if(D>=8203&&D<=8205||D===65279||D>=8288&&D<=8292)return!0;if(D>=65024&&D<=65039||D>=917760&&D<=917999)return!0;if(D>=768&&D<=879||D>=6832&&D<=6911||D>=7616&&D<=7679||D>=8400&&D<=8447||D>=65056&&D<=65071)return!0;if(D>=2304&&D<=3407){let F=D&127;if(F<=3)return!0;if(F>=58&&F<=79)return!0;if(F>=81&&F<=87)return!0;if(F>=98&&F<=99)return!0}if(D===3633||D>=3636&&D<=3642||D>=3655&&D<=3662||D===3761||D>=3764&&D<=3772||D>=3784&&D<=3789)return!0;if(D>=1536&&D<=1541||D===1757||D===1807||D===2274)return!0;if(D>=55296&&D<=57343)return!0;if(D>=917504&&D<=917631)return!0;return!1}var t,n,o,SD,V;var e=Q(()=>{a();s();I();t=RD(h(),1),n=t.default();o=typeof Bun<"u"&&typeof Bun.stringWidth==="function"?Bun.stringWidth:null,SD={ambiguousIsNarrow:!0},V=o?(D)=>o(D,SD):LD});function TD(D,F){let u=D??"";if(V(u)<=F)return u;if(F<=0)return"…";if(F<5)return z(u,F);let C=u.lastIndexOf("/"),E=C>=0?u.slice(C):u,B=C>=0?u.slice(0,C):"",A=V(E);if(A>=F-1)return S(D,F);let K=F-1-A;if(K<=0)return S(E,F);return DD(B,K)+"…"+E}function z(D,F){let u=D??"";if(V(u)<=F)return u;if(F<=1)return"…";let C=0,E="";for(let{segment:B}of $().segment(u)){let A=V(B);if(C+A>F-1)break;E+=B,C+=A}return E+"…"}function S(D,F){let u=D??"";if(V(u)<=F)return u;if(F<=1)return"…";let C=[...$().segment(u)],E=0,B=C.length;for(let A=C.length-1;A>=0;A--){let K=V(C[A].segment);if(E+K>F-1)break;E+=K,B=A}return"…"+C.slice(B).map((A)=>A.segment).join("")}function DD(D,F){let u=D??"";if(V(u)<=F)return u;if(F<=0)return"";let C=0,E="";for(let{segment:B}of $().segment(u)){let A=V(B);if(C+A>F)break;E+=B,C+=A}return E}function xD(D,F,u=!1){let C=D??"";if(C==="")return"";let E=C;if(u){let B=C.indexOf(`
|
|
1
|
+
import{rea as $,vea as W,wea as f,xea as I}from"./cli-0.1.14-16jrehc2.mjs";import{yea as XD,zea as aD}from"./cli-0.1.14-t3fga5je.mjs";import{hfa as $D,ifa as cD,mfa as qD,qfa as mD,wfa as l,zfa as rD}from"./cli-0.1.14-2mzb5ath.mjs";import{Afa as VD,Dfa as YD,Nfa as PD}from"./cli-0.1.14-s9m1y93w.mjs";import{mla as hD,vha as QD}from"./cli-0.1.14-r46jh9af.mjs";import{$la as HD,Zla as RD,bma as Q,cma as gD}from"./cli-0.1.14-qn4ftczz.mjs";var h=HD((uu,g)=>{g.exports=()=>{return/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E-\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED8\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g}});var U,H,_,O,J;var P=Q(()=>{U=[161,161,164,164,167,168,170,170,173,174,176,180,182,186,188,191,198,198,208,208,215,216,222,225,230,230,232,234,236,237,240,240,242,243,247,250,252,252,254,254,257,257,273,273,275,275,283,283,294,295,299,299,305,307,312,312,319,322,324,324,328,331,333,333,338,339,358,359,363,363,462,462,464,464,466,466,468,468,470,470,472,472,474,474,476,476,593,593,609,609,708,708,711,711,713,715,717,717,720,720,728,731,733,733,735,735,768,879,913,929,931,937,945,961,963,969,1025,1025,1040,1103,1105,1105,8208,8208,8211,8214,8216,8217,8220,8221,8224,8226,8228,8231,8240,8240,8242,8243,8245,8245,8251,8251,8254,8254,8308,8308,8319,8319,8321,8324,8364,8364,8451,8451,8453,8453,8457,8457,8467,8467,8470,8470,8481,8482,8486,8486,8491,8491,8531,8532,8539,8542,8544,8555,8560,8569,8585,8585,8592,8601,8632,8633,8658,8658,8660,8660,8679,8679,8704,8704,8706,8707,8711,8712,8715,8715,8719,8719,8721,8721,8725,8725,8730,8730,8733,8736,8739,8739,8741,8741,8743,8748,8750,8750,8756,8759,8764,8765,8776,8776,8780,8780,8786,8786,8800,8801,8804,8807,8810,8811,8814,8815,8834,8835,8838,8839,8853,8853,8857,8857,8869,8869,8895,8895,8978,8978,9312,9449,9451,9547,9552,9587,9600,9615,9618,9621,9632,9633,9635,9641,9650,9651,9654,9655,9660,9661,9664,9665,9670,9672,9675,9675,9678,9681,9698,9701,9711,9711,9733,9734,9737,9737,9742,9743,9756,9756,9758,9758,9792,9792,9794,9794,9824,9825,9827,9829,9831,9834,9836,9837,9839,9839,9886,9887,9919,9919,9926,9933,9935,9939,9941,9953,9955,9955,9960,9961,9963,9969,9972,9972,9974,9977,9979,9980,9982,9983,10045,10045,10102,10111,11094,11097,12872,12879,57344,63743,65024,65039,65533,65533,127232,127242,127248,127277,127280,127337,127344,127373,127375,127376,127387,127404,917760,917999,983040,1048573,1048576,1114109],H=[12288,12288,65281,65376,65504,65510],_=[8361,8361,65377,65470,65474,65479,65482,65487,65490,65495,65498,65500,65512,65518],O=[32,126,162,163,165,166,172,172,175,175,10214,10221,10629,10630],J=[4352,4447,8986,8987,9001,9002,9193,9196,9200,9200,9203,9203,9725,9726,9748,9749,9776,9783,9800,9811,9855,9855,9866,9871,9875,9875,9889,9889,9898,9899,9917,9918,9924,9925,9934,9934,9940,9940,9962,9962,9970,9971,9973,9973,9978,9978,9981,9981,9989,9989,9994,9995,10024,10024,10060,10060,10062,10062,10067,10069,10071,10071,10133,10135,10160,10160,10175,10175,11035,11036,11088,11088,11093,11093,11904,11929,11931,12019,12032,12245,12272,12287,12289,12350,12353,12438,12441,12543,12549,12591,12593,12686,12688,12773,12783,12830,12832,12871,12880,42124,42128,42182,43360,43388,44032,55203,63744,64255,65040,65049,65072,65106,65108,65126,65128,65131,94176,94180,94192,94198,94208,101589,101631,101662,101760,101874,110576,110579,110581,110587,110589,110590,110592,110882,110898,110898,110928,110930,110933,110933,110948,110951,110960,111355,119552,119638,119648,119670,126980,126980,127183,127183,127374,127374,127377,127386,127488,127490,127504,127547,127552,127560,127568,127569,127584,127589,127744,127776,127789,127797,127799,127868,127870,127891,127904,127946,127951,127955,127968,127984,127988,127988,127992,128062,128064,128064,128066,128252,128255,128317,128331,128334,128336,128359,128378,128378,128405,128406,128420,128420,128507,128591,128640,128709,128716,128716,128720,128722,128725,128728,128732,128735,128747,128748,128756,128764,128992,129003,129008,129008,129292,129338,129340,129349,129351,129535,129648,129660,129664,129674,129678,129734,129736,129736,129741,129756,129759,129770,129775,129784,131072,196605,196608,262141]});var M=(D,F)=>{let u=0,C=Math.floor(D.length/2)-1;while(u<=C){let E=Math.floor((u+C)/2),B=E*2;if(F<D[B])C=E-1;else if(F>D[B+1])u=E+1;else return!0}return!1};var c=()=>{};function yD(D){let F=D[0],u=D[1];for(let C=0;C<D.length;C+=2){let E=D[C],B=D[C+1];if(m>=E&&m<=B)return[E,B];if(B-E>u-F)F=E,u=B}return[F,u]}var MD,zD,jD,vD,Au,Ku,Qu,Vu,ND,GD,m=19968,_D,OD,r=(D)=>{if(D<MD||D>zD)return!1;return M(U,D)},y=(D)=>{if(D<jD||D>vD)return!1;return M(H,D)},b=(D)=>{if(D>=_D&&D<=OD)return!0;if(D<ND||D>GD)return!1;return M(J,D)};var k=Q(()=>{P();c();MD=U[0],zD=U.at(-1),jD=H[0],vD=H.at(-1),Au=_[0],Ku=_.at(-1),Qu=O[0],Vu=O.at(-1),ND=J[0],GD=J.at(-1),[_D,OD]=yD(J)});function bD(D){if(!Number.isSafeInteger(D))throw TypeError(`Expected a code point, got \`${typeof D}\`.`)}function R(D,{ambiguousAsWide:F=!1}={}){if(bD(D),y(D)||b(D)||F&&r(D))return 2;return 1}var a=Q(()=>{k();k()});function L({onlyFirst:D=!1}={}){return new RegExp("(?:\\u001B\\][\\s\\S]*?(?:\\u0007|\\u001B\\u005C|\\u009C))|[\\u001B\\u009B][[\\]()#;?]*(?:\\d{1,4}(?:[;:]\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]",D?void 0:"g")}var d=()=>{};function w(D){if(typeof D!=="string")throw TypeError(`Expected a \`string\`, got \`${typeof D}\``);if(!D.includes("\x1B")&&!D.includes(""))return D;return D.replace(kD,"")}var kD;var s=Q(()=>{d();kD=L()});function LD(D){if(typeof D!=="string"||D.length===0)return 0;let F=!0;for(let C=0;C<D.length;C++){let E=D.charCodeAt(C);if(E>=127||E===27){F=!1;break}}if(F){let C=0;for(let E=0;E<D.length;E++)if(D.charCodeAt(E)>31)C++;return C}if(D.includes("\x1B")){if(D=w(D),D.length===0)return 0}if(!wD(D)){let C=0;for(let E of D){let B=E.codePointAt(0);if(!i(B))C+=R(B,{ambiguousAsWide:!1})}return C}let u=0;for(let{segment:C}of $().segment(D)){if(n.lastIndex=0,n.test(C)){u+=ID(C);continue}for(let E of C){let B=E.codePointAt(0);if(!i(B)){u+=R(B,{ambiguousAsWide:!1});break}}}return u}function wD(D){for(let F of D){let u=F.codePointAt(0);if(u>=127744&&u<=129791)return!0;if(u>=9728&&u<=10175)return!0;if(u>=127462&&u<=127487)return!0;if(u>=65024&&u<=65039)return!0;if(u===8205)return!0}return!1}function ID(D){let F=D.codePointAt(0);if(F>=127462&&F<=127487){let u=0;for(let C of D)u++;return u===1?1:2}if(D.length===2){if(D.codePointAt(1)===65039&&(F>=48&&F<=57||F===35||F===42))return 1}return 2}function i(D){if(D>=32&&D<127)return!1;if(D>=160&&D<768)return D===173;if(D<=31||D>=127&&D<=159)return!0;if(D>=8203&&D<=8205||D===65279||D>=8288&&D<=8292)return!0;if(D>=65024&&D<=65039||D>=917760&&D<=917999)return!0;if(D>=768&&D<=879||D>=6832&&D<=6911||D>=7616&&D<=7679||D>=8400&&D<=8447||D>=65056&&D<=65071)return!0;if(D>=2304&&D<=3407){let F=D&127;if(F<=3)return!0;if(F>=58&&F<=79)return!0;if(F>=81&&F<=87)return!0;if(F>=98&&F<=99)return!0}if(D===3633||D>=3636&&D<=3642||D>=3655&&D<=3662||D===3761||D>=3764&&D<=3772||D>=3784&&D<=3789)return!0;if(D>=1536&&D<=1541||D===1757||D===1807||D===2274)return!0;if(D>=55296&&D<=57343)return!0;if(D>=917504&&D<=917631)return!0;return!1}var t,n,o,SD,V;var e=Q(()=>{a();s();I();t=RD(h(),1),n=t.default();o=typeof Bun<"u"&&typeof Bun.stringWidth==="function"?Bun.stringWidth:null,SD={ambiguousIsNarrow:!0},V=o?(D)=>o(D,SD):LD});function TD(D,F){let u=D??"";if(V(u)<=F)return u;if(F<=0)return"…";if(F<5)return z(u,F);let C=u.lastIndexOf("/"),E=C>=0?u.slice(C):u,B=C>=0?u.slice(0,C):"",A=V(E);if(A>=F-1)return S(D,F);let K=F-1-A;if(K<=0)return S(E,F);return DD(B,K)+"…"+E}function z(D,F){let u=D??"";if(V(u)<=F)return u;if(F<=1)return"…";let C=0,E="";for(let{segment:B}of $().segment(u)){let A=V(B);if(C+A>F-1)break;E+=B,C+=A}return E+"…"}function S(D,F){let u=D??"";if(V(u)<=F)return u;if(F<=1)return"…";let C=[...$().segment(u)],E=0,B=C.length;for(let A=C.length-1;A>=0;A--){let K=V(C[A].segment);if(E+K>F-1)break;E+=K,B=A}return"…"+C.slice(B).map((A)=>A.segment).join("")}function DD(D,F){let u=D??"";if(V(u)<=F)return u;if(F<=0)return"";let C=0,E="";for(let{segment:B}of $().segment(u)){let A=V(B);if(C+A>F)break;E+=B,C+=A}return E}function xD(D,F,u=!1){let C=D??"";if(C==="")return"";let E=C;if(u){let B=C.indexOf(`
|
|
2
2
|
`);if(B!==-1){if(E=C.substring(0,B),V(E)+1>F)return z(E,F);return`${E}…`}}if(V(E)<=F)return E;return z(E,F)}var uD=Q(()=>{e();I()});function j(D){let F=D/1024;if(F<1)return`${D} bytes`;if(F<1024)return`${F.toFixed(1).replace(/\.0$/,"")}KB`;let u=F/1024;if(u<1024)return`${u.toFixed(1).replace(/\.0$/,"")}MB`;return`${(u/1024).toFixed(1).replace(/\.0$/,"")}GB`}function bu(D){return`${(D/1000).toFixed(1)}s`}function ku(D,F){if(D<60000){if(D===0)return"0s";if(D<1)return`${(D/1000).toFixed(1)}s`;return`${Math.floor(D/1000).toString()}s`}let u=Math.floor(D/86400000),C=Math.floor(D%86400000/3600000),E=Math.floor(D%3600000/60000),B=Math.round(D%60000/1000);if(B===60)B=0,E++;if(E===60)E=0,C++;if(C===24)C=0,u++;let A=F?.hideTrailingZeros;if(F?.mostSignificantOnly){if(u>0)return`${u}d`;if(C>0)return`${C}h`;if(E>0)return`${E}m`;return`${B}s`}if(u>0){if(A&&C===0&&E===0)return`${u}d`;if(A&&E===0)return`${u}d ${C}h`;return`${u}d ${C}h ${E}m`}if(C>0){if(A&&E===0&&B===0)return`${C}h`;if(A&&B===0)return`${C}h ${E}m`;return`${C}h ${E}m ${B}s`}if(E>0){if(A&&B===0)return`${E}m`;return`${E}m ${B}s`}return`${B}s`}function fD(D){let F=D>=1000;return WD(F).format(D).toLowerCase()}function Ru(D){return fD(D).replace(".0","")}function FD(D,F={}){let{style:u="narrow",numeric:C="always",now:E=new Date}=F,B=D.getTime()-E.getTime(),A=Math.trunc(B/1000),K=[{unit:"year",seconds:31536000,shortUnit:"y"},{unit:"month",seconds:2592000,shortUnit:"mo"},{unit:"week",seconds:604800,shortUnit:"w"},{unit:"day",seconds:86400,shortUnit:"d"},{unit:"hour",seconds:3600,shortUnit:"h"},{unit:"minute",seconds:60,shortUnit:"m"},{unit:"second",seconds:1,shortUnit:"s"}];for(let{unit:Y,seconds:q,shortUnit:G}of K)if(Math.abs(A)>=q){let X=Math.trunc(A/q);if(u==="narrow")return A<0?`${Math.abs(X)}${G} ago`:`in ${X}${G}`;return W("long",C).format(X,Y)}if(u==="narrow")return A<=0?"0s ago":"in 0s";return W(u,C).format(0,"second")}function pD(D,F={}){let{now:u=new Date,...C}=F;if(D>u)return FD(D,{...C,now:u});return FD(D,{...C,numeric:"always",now:u})}function Lu(D){let F=D.fileSize!==void 0?j(D.fileSize):`${D.messageCount} messages`,u=[pD(D.modified,{style:"short"}),...D.gitBranch?[D.gitBranch]:[],F];if(D.tag)u.push(`#${D.tag}`);if(D.agentSetting)u.push(`@${D.agentSetting}`);if(D.prNumber)u.push(D.prRepository?`${D.prRepository}#${D.prNumber}`:`#${D.prNumber}`);return u.join(" · ")}function lD(D,F=!1,u=!0){if(!D)return;let C=new Date(D*1000),E=new Date,B=C.getMinutes();if((C.getTime()-E.getTime())/3600000>24){let Y={month:"short",day:"numeric",hour:u?"numeric":void 0,minute:!u||B===0?void 0:"2-digit",hour12:u?!0:void 0};if(C.getFullYear()!==E.getFullYear())Y.year="numeric";return C.toLocaleString("en-US",Y).replace(/ ([AP]M)/i,(G,X)=>X.toLowerCase())+(F?` (${f()})`:"")}return C.toLocaleTimeString("en-US",{hour:"numeric",minute:B===0?void 0:"2-digit",hour12:!0}).replace(/ ([AP]M)/i,(Y,q)=>q.toLowerCase())+(F?` (${f()})`:"")}function wu(D,F=!1,u=!0){let C=new Date(D);return`${lD(Math.floor(C.getTime()/1000),F,u)}`}var T=null,x=null,WD=(D)=>{if(D){if(!T)T=new Intl.NumberFormat("en-US",{notation:"compact",maximumFractionDigits:1,minimumFractionDigits:1});return T}else{if(!x)x=new Intl.NumberFormat("en-US",{notation:"compact",maximumFractionDigits:1,minimumFractionDigits:0});return x}};var CD=Q(()=>{I();uD()});function N(){if(!p)p=gD("perf_hooks").performance;return p}function v(D){return D.toFixed(3)}function ED(D,F,u,C,E,B,A=""){let K=C?` | RSS: ${j(C.rss)}, Heap: ${j(C.heapUsed)}`:"";return`[+${v(D).padStart(E)}ms] (+${v(F).padStart(B)}ms) ${u}${A}${K}`}var p=null;var BD=Q(()=>{CD()});import{dirname as dD,join as sD}from"path";function oD(D){if(!ZD)return;if(N().mark(D),Z)UD.push(process.memoryUsage())}function AD(){if(!Z)return"Startup profiling not enabled";let F=N().getEntriesByType("mark");if(F.length===0)return"No profiling checkpoints recorded";let u=[];u.push("=".repeat(80)),u.push("STARTUP PROFILING REPORT"),u.push("=".repeat(80)),u.push("");let C=0;for(let[B,A]of F.entries())u.push(ED(A.startTime,A.startTime-C,A.name,UD[B],8,7)),C=A.startTime;let E=F[F.length-1];return u.push(""),u.push(`Total startup time: ${v(E?.startTime??0)}ms`),u.push("=".repeat(80)),u.join(`
|
|
3
3
|
`)}function mu(){if(KD)return;if(KD=!0,eD(),Z){let D=tD(),F=dD(D);qD().mkdirSync(F),$D(D,AD(),{encoding:"utf8",flush:!0}),l("Startup profiling report:"),l(AD())}}function ru(){return Z}function tD(){return sD(VD(),"startup-perf",`${QD()}.txt`)}function eD(){if(!JD)return;let F=N().getEntriesByType("mark");if(F.length===0)return;let u=new Map;for(let E of F)u.set(E.name,E.startTime);let C={};for(let[E,[B,A]]of Object.entries(iD)){let K=u.get(B),Y=u.get(A);if(K!==void 0&&Y!==void 0)C[`${E}_ms`]=Math.round(Y-K)}C.checkpoint_count=F.length,XD("tengu_startup_perf",C)}var Z,nD=0.005,JD,ZD,UD,iD,KD=!1;var Du=Q(()=>{hD();aD();rD();PD();mD();BD();cD();Z=YD(process.env.CLAUDE_CODE_PROFILE_STARTUP),JD=Math.random()<nD,ZD=Z||JD,UD=[],iD={import_time:["cli_entry","main_tsx_imports_loaded"],init_time:["init_function_start","init_function_end"],settings_time:["eagerLoadSettings_start","eagerLoadSettings_end"],total_time:["cli_entry","main_after_run"]};if(ZD)oD("profiler_initialized")});
|
|
4
|
-
export{h as
|
|
4
|
+
export{h as Jda,y as Kda,b as Lda,R as Mda,a as Nda,w as Oda,s as Pda,V as Qda,e as Rda,TD as Sda,z as Tda,S as Uda,DD as Vda,xD as Wda,uD as Xda,j as Yda,bu as Zda,ku as _da,fD as $da,Ru as aea,FD as bea,pD as cea,Lu as dea,lD as eea,wu as fea,CD as gea,N as hea,v as iea,ED as jea,BD as kea,oD as lea,mu as mea,ru as nea,tD as oea,eD as pea,Du as qea};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
2
|
-
export{o as
|
|
1
|
+
import{sk as Z,xk as G}from"./cli-0.1.14-j5sbzwhy.mjs";import{_5 as X,d6 as R}from"./cli-0.1.14-2f7s5xbd.mjs";import{efa as v,ffa as B,ifa as A,mfa as C,qfa as M,wfa as U,zfa as O}from"./cli-0.1.14-2mzb5ath.mjs";import{bma as b}from"./cli-0.1.14-qn4ftczz.mjs";import{randomBytes as L}from"crypto";import{readFile as N,rename as S,unlink as T,writeFile as _}from"fs/promises";import{join as E}from"path";function Y(){return E(Z(),j)}function k(q){let x=B(q);if(typeof x!=="object"||x===null||!("plugins"in x)||typeof x.plugins!=="object"||x.plugins===null)return{};let z=x.plugins,J={};for(let[Q,K]of Object.entries(z))if(K&&typeof K==="object"&&"flaggedAt"in K&&typeof K.flaggedAt==="string"){let $={flaggedAt:K.flaggedAt};if("seenAt"in K&&typeof K.seenAt==="string")$.seenAt=K.seenAt;J[Q]=$}return J}async function V(){try{let q=await N(Y(),{encoding:"utf-8"});return k(q)}catch{return{}}}async function W(q){let x=Y(),z=`${x}.${L(8).toString("hex")}.tmp`;try{await C().mkdir(Z());let J=v({plugins:q},null,2);await _(z,J,{encoding:"utf-8",mode:384}),await S(z,x),H=q}catch(J){X(J);try{await T(z)}catch{}}}async function o(){let q=await V(),x=Date.now(),z=!1;for(let[J,Q]of Object.entries(q))if(Q.seenAt&&x-new Date(Q.seenAt).getTime()>=f)delete q[J],z=!0;if(H=q,z)await W(q)}function c(){return H??{}}async function p(q){if(H===null)H=await V();let x={...H,[q]:{flaggedAt:new Date().toISOString()}};await W(x),U(`Flagged plugin: ${q}`)}async function d(q){if(H===null)H=await V();let x=new Date().toISOString(),z=!1,J={...H};for(let Q of q){let K=J[Q];if(K&&!K.seenAt)J[Q]={...K,seenAt:x},z=!0}if(z)await W(J)}async function g(q){if(H===null)H=await V();if(!(q in H))return;let{[q]:x,...z}=H;H=z,await W(z)}var j="flagged-plugins.json",f=172800000,H=null;var w=b(()=>{O();M();R();A();G()});
|
|
2
|
+
export{o as Ub,c as Vb,p as Wb,d as Xb,g as Yb,w as Zb};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{iv as h,kv as I,rt as g,st as k}from"./cli-0.1.14-j5sbzwhy.mjs";import{CU as s,QS as S,fV as _}from"./cli-0.1.14-seq2fm2d.mjs";import{EV as c,FV as m,GV as T}from"./cli-0.1.14-hjktwgtk.mjs";import{U$ as b,oaa as P}from"./cli-0.1.14-2f7s5xbd.mjs";import{Zla as D}from"./cli-0.1.14-qn4ftczz.mjs";_();P();I();k();T();var v=D(S(),1);function E(C){let e=v.c(17),{customApiKeyTruncated:o,onDone:p}=C,r;if(e[0]!==o||e[1]!==p)r=function(R){e:switch(R){case"yes":{b((n)=>({...n,customApiKeyResponses:{...n.customApiKeyResponses,approved:[...n.customApiKeyResponses?.approved??[],o]}})),p(!0);break e}case"no":b((n)=>({...n,customApiKeyResponses:{...n.customApiKeyResponses,rejected:[...n.customApiKeyResponses?.rejected??[],o]}})),p(!1)}},e[0]=o,e[1]=p,e[2]=r;else r=e[2];let t=r,l;if(e[3]!==t)l=()=>t("no"),e[3]=t,e[4]=l;else l=e[4];let f;if(e[5]===Symbol.for("react.memo_cache_sentinel"))f=c(s,{bold:!0,children:"ANTHROPIC_API_KEY"}),e[5]=f;else f=e[5];let i;if(e[6]!==o)i=m(s,{children:[f,m(s,{children:[": sk-ant-...",o]})]}),e[6]=o,e[7]=i;else i=e[7];let u;if(e[8]===Symbol.for("react.memo_cache_sentinel"))u=c(s,{children:"Do you want to use this API key?"}),e[8]=u;else u=e[8];let y;if(e[9]===Symbol.for("react.memo_cache_sentinel"))y={label:"Yes",value:"yes"},e[9]=y;else y=e[9];let d;if(e[10]===Symbol.for("react.memo_cache_sentinel"))d=[y,{label:m(s,{children:["No (",c(s,{bold:!0,children:"recommended"}),")"]}),value:"no"}],e[10]=d;else d=e[10];let a;if(e[11]!==t)a=c(h,{defaultValue:"no",defaultFocusValue:"no",options:d,onChange:(K)=>t(K),onCancel:()=>t("no")}),e[11]=t,e[12]=a;else a=e[12];let A;if(e[13]!==l||e[14]!==i||e[15]!==a)A=m(g,{title:"Detected a custom API key in your environment",color:"warning",onCancel:l,children:[i,u,a]}),e[13]=l,e[14]=i,e[15]=a,e[16]=A;else A=e[16];return A}
|
|
2
|
+
export{E as Za};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
function e(){return null}function i(){}function o(){return[]}async function t(){}async function n(){}function r(){}
|
|
2
|
-
export{e as
|
|
2
|
+
export{e as Ta,i as Ua,o as Va,t as Wa,n as Xa,r as Ya};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{$
|
|
1
|
+
import{$M as zf,BO as T,DO as d,EO as v,Ip as X,KO as Hf,Np as _f,Pu as i,Qu as Kf,aN as Bf,iv as c,jv as Yf,kA as Z,lA as qf,qO as u,rs as a,rt as m,ss as Jf,st as Af,sy as D,ty as $f}from"./cli-0.1.14-j5sbzwhy.mjs";import{AU as N,CU as M,QS as If,fV as Of}from"./cli-0.1.14-seq2fm2d.mjs";import{EV as Y,FV as R,GV as P}from"./cli-0.1.14-hjktwgtk.mjs";import{HV as yf}from"./cli-0.1.14-harz1d9d.mjs";import{l6 as b,n6 as ff}from"./cli-0.1.14-2f7s5xbd.mjs";import{yea as L,zea as Gf}from"./cli-0.1.14-t3fga5je.mjs";import{wfa as W,zfa as e}from"./cli-0.1.14-2mzb5ath.mjs";import{Zla as g,_la as s,bma as k}from"./cli-0.1.14-qn4ftczz.mjs";function E(){(Bf(),s(zf)).saveWorktreeState(null)}function S({onDone:K,onCancel:_}){let[$,y]=q.useState("loading"),[O,I]=q.useState([]),[G,z]=q.useState(0),[p,A]=q.useState(),f=u();if(q.useEffect(()=>{async function B(){let J=[],H=await b("git",["status","--porcelain"]);if(H.stdout)J=H.stdout.split(`
|
|
2
2
|
`).filter((V)=>V.trim()!==""),I(J);if(f){let{stdout:V}=await b("git",["rev-list","--count",`${f.originalHeadCommit}..HEAD`]),w=parseInt(V.trim())||0;if(z(w),J.length===0&&w===0){y("removing"),v().then(()=>{process.chdir(f.originalCwd),Z(f.originalCwd),E(),X.cache.clear?.(),A("Worktree removed (no changes)")}).catch((t)=>{W(`Failed to clean up worktree: ${t}`,{level:"error"}),A("Worktree cleanup failed, exiting anyway")}).then(()=>{y("done")});return}else y("asking")}}B()},[f]),q.useEffect(()=>{if($==="done")K(p)},[$,K,p]),!f)return K("No active worktree session found",{display:"system"}),null;if($==="loading"||$==="done")return null;async function j(B){if(!f)return;let J=Boolean(f.tmuxSessionName);if(B==="keep"||B==="keep-with-tmux"){if(y("keeping"),L("tengu_worktree_kept",{commits:G,changed_files:O.length}),await d(),process.chdir(f.originalCwd),Z(f.originalCwd),E(),X.cache.clear?.(),J)A(`Worktree kept. Your work is saved at ${f.worktreePath} on branch ${f.worktreeBranch}. Reattach to tmux session with: tmux attach -t ${f.tmuxSessionName}`);else A(`Worktree kept. Your work is saved at ${f.worktreePath} on branch ${f.worktreeBranch}`);y("done")}else if(B==="keep-kill-tmux"){if(y("keeping"),L("tengu_worktree_kept",{commits:G,changed_files:O.length}),f.tmuxSessionName)await T(f.tmuxSessionName);await d(),process.chdir(f.originalCwd),Z(f.originalCwd),E(),X.cache.clear?.(),A(`Worktree kept at ${f.worktreePath} on branch ${f.worktreeBranch}. Tmux session terminated.`),y("done")}else if(B==="remove"||B==="remove-with-tmux"){if(y("removing"),L("tengu_worktree_removed",{commits:G,changed_files:O.length}),f.tmuxSessionName)await T(f.tmuxSessionName);try{await v(),process.chdir(f.originalCwd),Z(f.originalCwd),E(),X.cache.clear?.()}catch(V){W(`Failed to clean up worktree: ${V}`,{level:"error"}),A("Worktree cleanup failed, exiting anyway"),y("done");return}let H=J?" Tmux session terminated.":"";if(G>0&&O.length>0)A(`Worktree removed. ${G} ${G===1?"commit":"commits"} and uncommitted changes were discarded.${H}`);else if(G>0)A(`Worktree removed. ${G} ${G===1?"commit":"commits"} on ${f.worktreeBranch} ${G===1?"was":"were"} discarded.${H}`);else if(O.length>0)A(`Worktree removed. Uncommitted changes were discarded.${H}`);else A(`Worktree removed.${H}`);y("done")}}if($==="keeping")return R(N,{flexDirection:"row",marginY:1,children:[Y(D,{}),Y(M,{children:"Keeping worktree…"})]});if($==="removing")return R(N,{flexDirection:"row",marginY:1,children:[Y(D,{}),Y(M,{children:"Removing worktree…"})]});let x=f.worktreeBranch,U=O.length>0,F=G>0,Q="";if(U&&F)Q=`You have ${O.length} uncommitted ${O.length===1?"file":"files"} and ${G} ${G===1?"commit":"commits"} on ${x}. All will be lost if you remove.`;else if(U)Q=`You have ${O.length} uncommitted ${O.length===1?"file":"files"}. These will be lost if you remove the worktree.`;else if(F)Q=`You have ${G} ${G===1?"commit":"commits"} on ${x}. The branch will be deleted if you remove the worktree.`;else Q="You are working in a worktree. Keep it to continue working there, or remove it to clean up.";function r(){if(_){_();return}j("keep")}let h=U||F?"All changes and commits will be lost.":"Clean up the worktree directory.",C=Boolean(f.tmuxSessionName),o=C?[{label:"Keep worktree and tmux session",value:"keep-with-tmux",description:`Stays at ${f.worktreePath}. Reattach with: tmux attach -t ${f.tmuxSessionName}`},{label:"Keep worktree, kill tmux session",value:"keep-kill-tmux",description:`Keeps worktree at ${f.worktreePath}, terminates tmux session.`},{label:"Remove worktree and tmux session",value:"remove-with-tmux",description:h}]:[{label:"Keep worktree",value:"keep",description:`Stays at ${f.worktreePath}`},{label:"Remove worktree",value:"remove",description:h}];return Y(m,{title:"Exiting worktree session",subtitle:Q,onCancel:r,children:Y(c,{defaultFocusValue:C?"keep-with-tmux":"keep",options:o,onChange:j})})}var q;var l=k(()=>{Gf();e();Of();ff();_f();qf();Hf();Yf();Af();$f();P();q=g(yf(),1)});function Vf(){return a(Qf)??"Goodbye!"}function xf(K){let _=n.c(5),{showWorktree:$,onDone:y,onCancel:O}=K,I;if(_[0]!==y)I=async function(p){y(p??Vf()),await i(0,"prompt_input_exit")},_[0]=y,_[1]=I;else I=_[1];let G=I;if($){let z;if(_[2]!==O||_[3]!==G)z=Y(S,{onDone:G,onCancel:O}),_[2]=O,_[3]=G,_[4]=z;else z=_[4];return z}return null}var n,Qf;var Xf=k(()=>{Jf();Kf();l();P();n=g(If(),1),Qf=["Goodbye!","See ya!","Bye!","Catch you later!"]});
|
|
3
|
-
export{xf as
|
|
3
|
+
export{xf as mb,Xf as nb};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{X$ as B,_5 as A,d6 as L,oaa as N}from"./cli-0.1.14-2f7s5xbd.mjs";import{wfa as z,zfa as K}from"./cli-0.1.14-2mzb5ath.mjs";import{ama as I,bma as J}from"./cli-0.1.14-qn4ftczz.mjs";var V={};I(V,{setCliTeammateModeOverride:()=>P,getTeammateModeFromSnapshot:()=>U,getCliTeammateModeOverride:()=>Q,clearCliTeammateModeOverride:()=>R,captureTeammateModeSnapshot:()=>H});function P(x){y=x}function Q(){return y}function R(x){y=null,q=x,z(`[TeammateModeSnapshot] CLI override cleared, new mode: ${x}`)}function H(){if(y)q=y,z(`[TeammateModeSnapshot] Captured from CLI override: ${q}`);else q=B().teammateMode??"auto",z(`[TeammateModeSnapshot] Captured from config: ${q}`)}function U(){if(q===null)A(Error("getTeammateModeFromSnapshot called before capture - this indicates an initialization bug")),H();return q??"auto"}var q=null,y=null;var W=J(()=>{N();K();L()});
|
|
2
|
+
export{P as mP,Q as nP,R as oP,H as pP,U as qP,V as rP,W as sP};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{QE as B,RE as U,TE as L,UE as V,XH as N,_H as b}from"./cli-0.1.14-j5sbzwhy.mjs";import{F8 as F,y8 as z,z_ as P}from"./cli-0.1.14-2f7s5xbd.mjs";import{aea as H,gea as v}from"./cli-0.1.14-mgcmwvcn.mjs";import{bma as j}from"./cli-0.1.14-qn4ftczz.mjs";async function A(R){let{messages:I,getAppState:O,options:{mainLoopModel:J,tools:Y,agentDefinitions:Z,customSystemPrompt:W,appendSystemPrompt:X}}=R,Q=N(I),{messages:K}=await B(Q),h=O();return L(K,J,async()=>h.toolPermissionContext,Y,Z,void 0,{options:{customSystemPrompt:W,appendSystemPrompt:X}},void 0,Q)}async function g(R,I){let O=await A(I);return{type:"text",value:w(O)}}function w(R){let{categories:I,totalTokens:O,rawMaxTokens:J,percentage:Y,model:Z,memoryFiles:W,mcpTools:X,agents:Q,skills:K}=R,h=`## Context Usage
|
|
2
2
|
|
|
3
3
|
`;h+=`**Model:** ${Z}
|
|
4
4
|
`,h+=`**Tokens:** ${H(O)} / ${H(J)} (${Y}%)
|
|
@@ -36,4 +36,4 @@ import{$E as L,YE as B,ZE as U,aF as V,dI as N,gI as b}from"./cli-0.1.12-242der7
|
|
|
36
36
|
`;for(let q of K.skillFrontmatter)h+=`| ${q.name} | ${z(q.source)} | ${H(q.tokens)} |
|
|
37
37
|
`;h+=`
|
|
38
38
|
`}return h}var d=j(()=>{U();V();v();b();F();P()});
|
|
39
|
-
export{A as
|
|
39
|
+
export{A as Vf,g as Wf,d as Xf};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{Una as _}from"./cli-0.1.12-1hv04bp7.mjs";import{stat as Cq,lstat as d,readdir as Mq,realpath as Kq}from"node:fs/promises";import{Readable as Nq}from"node:stream";import{resolve as c,relative as Yq,join as Hq,sep as Iq}from"node:path";function i(q,J={}){let Q=J.entryType||J.type;if(Q==="both")Q=Y.FILE_DIR_TYPE;if(Q)J.type=Q;if(!q)throw Error("readdirp: root argument is required. Usage: readdirp(root, options)");else if(typeof q!=="string")throw TypeError("readdirp: root argument must be a string. Usage: readdirp(root, options)");else if(Q&&!l.includes(Q))throw Error(`readdirp: Invalid type passed. Use one of ${l.join(", ")}`);return J.root=q,new h(J)}var Y,g,n="READDIRP_RECURSIVE_ERROR",Oq,l,bq,Vq,Dq=(q)=>Oq.has(q.code),Lq,o=(q)=>!0,p=(q)=>{if(q===void 0)return o;if(typeof q==="function")return q;if(typeof q==="string"){let J=q.trim();return(Q)=>Q.basename===J}if(Array.isArray(q)){let J=q.map((Q)=>Q.trim());return(Q)=>J.some((X)=>Q.basename===X)}return o},h;var s=_(()=>{Y={FILE_TYPE:"files",DIR_TYPE:"directories",FILE_DIR_TYPE:"files_directories",EVERYTHING_TYPE:"all"},g={root:".",fileFilter:(q)=>!0,directoryFilter:(q)=>!0,type:Y.FILE_TYPE,lstat:!1,depth:2147483648,alwaysStat:!1,highWaterMark:4096};Object.freeze(g);Oq=new Set(["ENOENT","EPERM","EACCES","ELOOP",n]),l=[Y.DIR_TYPE,Y.EVERYTHING_TYPE,Y.FILE_DIR_TYPE,Y.FILE_TYPE],bq=new Set([Y.DIR_TYPE,Y.EVERYTHING_TYPE,Y.FILE_DIR_TYPE]),Vq=new Set([Y.EVERYTHING_TYPE,Y.FILE_DIR_TYPE,Y.FILE_TYPE]),Lq=process.platform==="win32";h=class h extends Nq{constructor(q={}){super({objectMode:!0,autoDestroy:!0,highWaterMark:q.highWaterMark});let J={...g,...q},{root:Q,type:X}=J;this._fileFilter=p(J.fileFilter),this._directoryFilter=p(J.directoryFilter);let Z=J.lstat?d:Cq;if(Lq)this._stat=(z)=>Z(z,{bigint:!0});else this._stat=Z;this._maxDepth=J.depth??g.depth,this._wantsDir=X?bq.has(X):!1,this._wantsFile=X?Vq.has(X):!1,this._wantsEverything=X===Y.EVERYTHING_TYPE,this._root=c(Q),this._isDirent=!J.alwaysStat,this._statsProp=this._isDirent?"dirent":"stats",this._rdOptions={encoding:"utf8",withFileTypes:this._isDirent},this.parents=[this._exploreDir(Q,1)],this.reading=!1,this.parent=void 0}async _read(q){if(this.reading)return;this.reading=!0;try{while(!this.destroyed&&q>0){let J=this.parent,Q=J&&J.files;if(Q&&Q.length>0){let{path:X,depth:Z}=J,z=Q.splice(0,q).map((G)=>this._formatEntry(G,X)),$=await Promise.all(z);for(let G of $){if(!G)continue;if(this.destroyed)return;let x=await this._getEntryType(G);if(x==="directory"&&this._directoryFilter(G)){if(Z<=this._maxDepth)this.parents.push(this._exploreDir(G.fullPath,Z+1));if(this._wantsDir)this.push(G),q--}else if((x==="file"||this._includeAsFile(G))&&this._fileFilter(G)){if(this._wantsFile)this.push(G),q--}}}else{let X=this.parents.pop();if(!X){this.push(null);break}if(this.parent=await X,this.destroyed)return}}}catch(J){this.destroy(J)}finally{this.reading=!1}}async _exploreDir(q,J){let Q;try{Q=await Mq(q,this._rdOptions)}catch(X){this._onError(X)}return{files:Q,depth:J,path:q}}async _formatEntry(q,J){let Q,X=this._isDirent?q.name:q;try{let Z=c(Hq(J,X));Q={path:Yq(this._root,Z),fullPath:Z,basename:X},Q[this._statsProp]=this._isDirent?q:await this._stat(Z)}catch(Z){this._onError(Z);return}return Q}_onError(q){if(Dq(q)&&!this.destroyed)this.emit("warn",q);else this.destroy(q)}async _getEntryType(q){if(!q&&this._statsProp in q)return"";let J=q[this._statsProp];if(J.isFile())return"file";if(J.isDirectory())return"directory";if(J&&J.isSymbolicLink()){let Q=q.fullPath;try{let X=await Kq(Q),Z=await d(X);if(Z.isFile())return"file";if(Z.isDirectory()){let z=X.length;if(Q.startsWith(X)&&Q.substr(z,1)===Iq){let $=Error(`Circular symlink detected: "${Q}" points to "${X}"`);return $.code=n,this._onError($)}return"directory"}}catch(X){return this._onError(X),""}}}_includeAsFile(q){let J=q&&q[this._statsProp];return J&&this._wantsEverything&&!J.isDirectory()}}});import{watchFile as Wq,unwatchFile as a,watch as Fq}from"fs";import{open as Aq,stat as e,lstat as Rq,realpath as u}from"fs/promises";import*as M from"path";import{type as Tq}from"os";function r(q,J,Q,X,Z){let z=($,G)=>{if(Q(q),Z($,G,{watchedPath:q}),G&&q!==G)F(M.resolve(q,G),I,M.join(q,G))};try{return Fq(q,{persistent:J.persistent},z)}catch($){X($);return}}class E{constructor(q){this.fsw=q,this._boundHandleError=(J)=>q._handleError(J)}_watchWithNodeFs(q,J){let Q=this.fsw.options,X=M.dirname(q),Z=M.basename(q);this.fsw._getWatchedDir(X).add(Z);let $=M.resolve(q),G={persistent:Q.persistent};if(!J)J=A;let x;if(Q.usePolling){let U=Q.interval!==Q.binaryInterval;G.interval=U&&fq(Z)?Q.binaryInterval:Q.interval,x=dq(q,$,G,{listener:J,rawEmitter:this.fsw._emitRaw})}else x=mq(q,$,G,{listener:J,errHandler:this._boundHandleError,rawEmitter:this.fsw._emitRaw});return x}_handleFile(q,J,Q){if(this.fsw.closed)return;let X=M.dirname(q),Z=M.basename(q),z=this.fsw._getWatchedDir(X),$=J;if(z.has(Z))return;let G=async(U,j)=>{if(!this.fsw._throttle(Sq,q,5))return;if(!j||j.mtimeMs===0)try{let k=await e(q);if(this.fsw.closed)return;let{atimeMs:K,mtimeMs:N}=k;if(!K||K<=N||N!==$.mtimeMs)this.fsw._emit(H.CHANGE,q,k);if((_q||uq||Pq)&&$.ino!==k.ino){this.fsw._closeFile(U),$=k;let b=this._watchWithNodeFs(q,G);if(b)this.fsw._addPathCloser(U,b)}else $=k}catch(k){this.fsw._remove(X,Z)}else if(z.has(Z)){let{atimeMs:k,mtimeMs:K}=j;if(!k||k<=K||K!==$.mtimeMs)this.fsw._emit(H.CHANGE,q,j);$=j}},x=this._watchWithNodeFs(q,G);if(!(Q&&this.fsw.options.ignoreInitial)&&this.fsw._isntIgnored(q)){if(!this.fsw._throttle(H.ADD,q,0))return;this.fsw._emit(H.ADD,q,J)}return x}async _handleSymlink(q,J,Q,X){if(this.fsw.closed)return;let Z=q.fullPath,z=this.fsw._getWatchedDir(J);if(!this.fsw.options.followSymlinks){this.fsw._incrReadyCount();let $;try{$=await u(Q)}catch(G){return this.fsw._emitReady(),!0}if(this.fsw.closed)return;if(z.has(X)){if(this.fsw._symlinkPaths.get(Z)!==$)this.fsw._symlinkPaths.set(Z,$),this.fsw._emit(H.CHANGE,Q,q.stats)}else z.add(X),this.fsw._symlinkPaths.set(Z,$),this.fsw._emit(H.ADD,Q,q.stats);return this.fsw._emitReady(),!0}if(this.fsw._symlinkPaths.has(Z))return!0;this.fsw._symlinkPaths.set(Z,!0)}_handleRead(q,J,Q,X,Z,z,$){if(q=M.join(q,""),$=this.fsw._throttle("readdir",q,1000),!$)return;let G=this.fsw._getWatchedDir(Q.path),x=new Set,U=this.fsw._readdirp(q,{fileFilter:(j)=>Q.filterPath(j),directoryFilter:(j)=>Q.filterDir(j)});if(!U)return;return U.on(gq,async(j)=>{if(this.fsw.closed){U=void 0;return}let k=j.path,K=M.join(q,k);if(x.add(k),j.stats.isSymbolicLink()&&await this._handleSymlink(j,q,K,k))return;if(this.fsw.closed){U=void 0;return}if(k===X||!X&&!G.has(k))this.fsw._incrReadyCount(),K=M.join(Z,M.relative(Z,K)),this._addToNodeFs(K,J,Q,z+1)}).on(H.ERROR,this._boundHandleError),new Promise((j,k)=>{if(!U)return k();U.once(v,()=>{if(this.fsw.closed){U=void 0;return}let K=$?$.clear():!1;if(j(void 0),G.getChildren().filter((N)=>{return N!==q&&!x.has(N)}).forEach((N)=>{this.fsw._remove(q,N)}),U=void 0,K)this._handleRead(q,!1,Q,X,Z,z,$)})})}async _handleDir(q,J,Q,X,Z,z,$){let G=this.fsw._getWatchedDir(M.dirname(q)),x=G.has(M.basename(q));if(!(Q&&this.fsw.options.ignoreInitial)&&!Z&&!x)this.fsw._emit(H.ADD_DIR,q,J);G.add(M.basename(q)),this.fsw._getWatchedDir(q);let U,j,k=this.fsw.options.depth;if((k==null||X<=k)&&!this.fsw._symlinkPaths.has($)){if(!Z){if(await this._handleRead(q,Q,z,Z,q,X,U),this.fsw.closed)return}j=this._watchWithNodeFs(q,(K,N)=>{if(N&&N.mtimeMs===0)return;this._handleRead(K,!1,z,Z,q,X,U)})}return j}async _addToNodeFs(q,J,Q,X,Z){let z=this.fsw._emitReady;if(this.fsw._isIgnored(q)||this.fsw.closed)return z(),!1;let $=this.fsw._getWatchHelpers(q);if(Q)$.filterPath=(G)=>Q.filterPath(G),$.filterDir=(G)=>Q.filterDir(G);try{let G=await vq[$.statMethod]($.watchPath);if(this.fsw.closed)return;if(this.fsw._isIgnored($.watchPath,G))return z(),!1;let x=this.fsw.options.followSymlinks,U;if(G.isDirectory()){let j=M.resolve(q),k=x?await u(q):q;if(this.fsw.closed)return;if(U=await this._handleDir($.watchPath,G,J,X,Z,$,k),this.fsw.closed)return;if(j!==k&&k!==void 0)this.fsw._symlinkPaths.set(j,k)}else if(G.isSymbolicLink()){let j=x?await u(q):q;if(this.fsw.closed)return;let k=M.dirname($.watchPath);if(this.fsw._getWatchedDir(k).add($.watchPath),this.fsw._emit(H.ADD,$.watchPath,G),U=await this._handleDir(k,G,J,X,q,$,j),this.fsw.closed)return;if(j!==void 0)this.fsw._symlinkPaths.set(M.resolve(q),j)}else U=this._handleFile($.watchPath,G,J);if(z(),U)this.fsw._addPathCloser(q,U);return!1}catch(G){if(this.fsw._handleError(G))return z(),q}}}var gq="data",v="end",t="close",A=()=>{},R,w,_q,uq,Pq,qq,C,H,Sq="watch",vq,I="listeners",L="errHandlers",O="rawEmitters",wq,Eq,fq=(q)=>Eq.has(M.extname(q).slice(1).toLowerCase()),S=(q,J)=>{if(q instanceof Set)q.forEach(J);else J(q)},V=(q,J,Q)=>{let X=q[J];if(!(X instanceof Set))q[J]=X=new Set([X]);X.add(Q)},yq=(q)=>(J)=>{let Q=q[J];if(Q instanceof Set)Q.clear();else delete q[J]},D=(q,J,Q)=>{let X=q[J];if(X instanceof Set)X.delete(Q);else if(X===Q)delete q[J]},Jq=(q)=>q instanceof Set?q.size===0:!q,W,F=(q,J,Q,X,Z)=>{let z=W.get(q);if(!z)return;S(z[J],($)=>{$(Q,X,Z)})},mq=(q,J,Q,X)=>{let{listener:Z,errHandler:z,rawEmitter:$}=X,G=W.get(J),x;if(!Q.persistent){if(x=r(q,Q,Z,z,$),!x)return;return x.close.bind(x)}if(G)V(G,I,Z),V(G,L,z),V(G,O,$);else{if(x=r(q,Q,F.bind(null,J,I),z,F.bind(null,J,O)),!x)return;x.on(H.ERROR,async(U)=>{let j=F.bind(null,J,L);if(G)G.watcherUnusable=!0;if(w&&U.code==="EPERM")try{await(await Aq(q,"r")).close(),j(U)}catch(k){}else j(U)}),G={listeners:Z,errHandlers:z,rawEmitters:$,watcher:x},W.set(J,G)}return()=>{if(D(G,I,Z),D(G,L,z),D(G,O,$),Jq(G.listeners))G.watcher.close(),W.delete(J),wq.forEach(yq(G)),G.watcher=void 0,Object.freeze(G)}},P,dq=(q,J,Q,X)=>{let{listener:Z,rawEmitter:z}=X,$=P.get(J),G=$&&$.options;if(G&&(G.persistent<Q.persistent||G.interval>Q.interval))a(J),$=void 0;if($)V($,I,Z),V($,O,z);else $={listeners:Z,rawEmitters:z,options:Q,watcher:Wq(J,Q,(x,U)=>{S($.rawEmitters,(k)=>{k(H.CHANGE,J,{curr:x,prev:U})});let j=x.mtimeMs;if(x.size!==U.size||j>U.mtimeMs||j===0)S($.listeners,(k)=>k(q,x))})},P.set(J,$);return()=>{if(D($,I,Z),D($,O,z),Jq($.listeners))P.delete(J),a(J),$.options=$.watcher=void 0,Object.freeze($)}};var Qq=_(()=>{R=process.platform,w=R==="win32",_q=R==="darwin",uq=R==="linux",Pq=R==="freebsd",qq=Tq()==="OS400",C={ALL:"all",READY:"ready",ADD:"add",CHANGE:"change",ADD_DIR:"addDir",UNLINK:"unlink",UNLINK_DIR:"unlinkDir",RAW:"raw",ERROR:"error"},H=C,vq={lstat:Rq,stat:e},wq=[I,L,O],Eq=new Set(["3dm","3ds","3g2","3gp","7z","a","aac","adp","afdesign","afphoto","afpub","ai","aif","aiff","alz","ape","apk","appimage","ar","arj","asf","au","avi","bak","baml","bh","bin","bk","bmp","btif","bz2","bzip2","cab","caf","cgm","class","cmx","cpio","cr2","cur","dat","dcm","deb","dex","djvu","dll","dmg","dng","doc","docm","docx","dot","dotm","dra","DS_Store","dsk","dts","dtshd","dvb","dwg","dxf","ecelp4800","ecelp7470","ecelp9600","egg","eol","eot","epub","exe","f4v","fbs","fh","fla","flac","flatpak","fli","flv","fpx","fst","fvt","g3","gh","gif","graffle","gz","gzip","h261","h263","h264","icns","ico","ief","img","ipa","iso","jar","jpeg","jpg","jpgv","jpm","jxr","key","ktx","lha","lib","lvp","lz","lzh","lzma","lzo","m3u","m4a","m4v","mar","mdi","mht","mid","midi","mj2","mka","mkv","mmr","mng","mobi","mov","movie","mp3","mp4","mp4a","mpeg","mpg","mpga","mxu","nef","npx","numbers","nupkg","o","odp","ods","odt","oga","ogg","ogv","otf","ott","pages","pbm","pcx","pdb","pdf","pea","pgm","pic","png","pnm","pot","potm","potx","ppa","ppam","ppm","pps","ppsm","ppsx","ppt","pptm","pptx","psd","pya","pyc","pyo","pyv","qt","rar","ras","raw","resources","rgb","rip","rlc","rmf","rmvb","rpm","rtf","rz","s3m","s7z","scpt","sgi","shar","snap","sil","sketch","slk","smv","snk","so","stl","suo","sub","swf","tar","tbz","tbz2","tga","tgz","thmx","tif","tiff","tlz","ttc","ttf","txz","udf","uvh","uvi","uvm","uvp","uvs","uvu","viv","vob","war","wav","wax","wbmp","wdp","weba","webm","webp","whl","wim","wm","wma","wmv","wmx","woff","woff2","wrm","wvx","xbm","xif","xla","xlam","xls","xlsb","xlsm","xlsx","xlt","xltm","xltx","xm","xmind","xpi","xpm","xwd","xz","z","zip","zipx"]),W=new Map;P=new Map});import{stat as cq}from"fs";import{stat as lq,readdir as oq}from"fs/promises";import{EventEmitter as pq}from"events";import*as B from"path";function T(q){return Array.isArray(q)?q:[q]}function eq(q){if(typeof q==="function")return q;if(typeof q==="string")return(J)=>q===J;if(q instanceof RegExp)return(J)=>q.test(J);if(typeof q==="object"&&q!==null)return(J)=>{if(q.path===J)return!0;if(q.recursive){let Q=B.relative(q.path,J);if(!Q)return!1;return!Q.startsWith("..")&&!B.isAbsolute(Q)}return!1};return()=>!1}function tq(q){if(typeof q!=="string")throw Error("string expected");q=B.normalize(q),q=q.replace(/\\/g,"/");let J=!1;if(q.startsWith("//"))J=!0;let Q=/\/\//;while(q.match(Q))q=q.replace(Q,"/");if(J)q="/"+q;return q}function Zq(q,J,Q){let X=tq(J);for(let Z=0;Z<q.length;Z++){let z=q[Z];if(z(X,Q))return!0}return!1}function qJ(q,J){if(q==null)throw TypeError("anymatch: specify first argument");let X=T(q).map((Z)=>eq(Z));if(J==null)return(Z,z)=>{return Zq(X,Z,z)};return Zq(X,J)}class kq{constructor(q,J){this.path=q,this._removeWatcher=J,this.items=new Set}add(q){let{items:J}=this;if(!J)return;if(q!==Uq&&q!==hq)J.add(q)}async remove(q){let{items:J}=this;if(!J)return;if(J.delete(q),J.size>0)return;let Q=this.path;try{await oq(Q)}catch(X){if(this._removeWatcher)this._removeWatcher(B.dirname(Q),B.basename(Q))}}has(q){let{items:J}=this;if(!J)return;return J.has(q)}getChildren(){let{items:q}=this;if(!q)return[];return[...q.values()]}dispose(){this.items.clear(),this.path="",this._removeWatcher=A,this.items=QJ,Object.freeze(this)}}class jq{constructor(q,J,Q){this.fsw=Q;let X=q;this.path=q=q.replace(rq,""),this.watchPath=X,this.fullWatchPath=B.resolve(X),this.dirParts=[],this.dirParts.forEach((Z)=>{if(Z.length>1)Z.pop()}),this.followSymlinks=J,this.statMethod=J?XJ:ZJ}entryPath(q){return B.join(this.watchPath,B.relative(this.watchPath,q.fullPath))}filterPath(q){let{stats:J}=q;if(J&&J.isSymbolicLink())return this.filterDir(q);let Q=this.entryPath(q);return this.fsw._isntIgnored(Q,J)&&this.fsw._hasReadPermissions(J)}filterDir(q){return this.fsw._isntIgnored(this.entryPath(q),q.stats)}}function $J(q,J={}){let Q=new m(J);return Q.add(q),Q}var f="/",nq="//",Uq=".",hq="..",iq="string",sq,Xq,aq,rq,y=(q)=>typeof q==="object"&&q!==null&&!(q instanceof RegExp),$q=(q)=>{let J=T(q).flat();if(!J.every((Q)=>typeof Q===iq))throw TypeError(`Non-string provided as watch path: ${J}`);return J.map(xq)},Gq=(q)=>{let J=q.replace(sq,f),Q=!1;if(J.startsWith(nq))Q=!0;while(J.match(Xq))J=J.replace(Xq,f);if(Q)J=f+J;return J},xq=(q)=>Gq(B.normalize(Gq(q))),zq=(q="")=>(J)=>{if(typeof J==="string")return xq(B.isAbsolute(J)?J:B.join(q,J));else return J},JJ=(q,J)=>{if(B.isAbsolute(q))return q;return B.join(J,q)},QJ,XJ="stat",ZJ="lstat",m,bJ;var GJ=_(()=>{s();Qq();/*! chokidar - MIT License (c) 2012 Paul Miller (paulmillr.com) */sq=/\\/g,Xq=/\/\//,aq=/\..*\.(sw[px])$|~$|\.subl.*\.tmp/,rq=/^\.[/\\]/;QJ=Object.freeze(new Set);m=class m extends pq{constructor(q={}){super();this.closed=!1,this._closers=new Map,this._ignoredPaths=new Set,this._throttled=new Map,this._streams=new Set,this._symlinkPaths=new Map,this._watched=new Map,this._pendingWrites=new Map,this._pendingUnlinks=new Map,this._readyCount=0,this._readyEmitted=!1;let J=q.awaitWriteFinish,Q={stabilityThreshold:2000,pollInterval:100},X={persistent:!0,ignoreInitial:!1,ignorePermissionErrors:!1,interval:100,binaryInterval:300,followSymlinks:!0,usePolling:!1,atomic:!0,...q,ignored:q.ignored?T(q.ignored):T([]),awaitWriteFinish:J===!0?Q:typeof J==="object"?{...Q,...J}:!1};if(qq)X.usePolling=!0;if(X.atomic===void 0)X.atomic=!X.usePolling;let Z=process.env.CHOKIDAR_USEPOLLING;if(Z!==void 0){let G=Z.toLowerCase();if(G==="false"||G==="0")X.usePolling=!1;else if(G==="true"||G==="1")X.usePolling=!0;else X.usePolling=!!G}let z=process.env.CHOKIDAR_INTERVAL;if(z)X.interval=Number.parseInt(z,10);let $=0;this._emitReady=()=>{if($++,$>=this._readyCount)this._emitReady=A,this._readyEmitted=!0,process.nextTick(()=>this.emit(C.READY))},this._emitRaw=(...G)=>this.emit(C.RAW,...G),this._boundRemove=this._remove.bind(this),this.options=X,this._nodeFsHandler=new E(this),Object.freeze(X)}_addIgnoredPath(q){if(y(q)){for(let J of this._ignoredPaths)if(y(J)&&J.path===q.path&&J.recursive===q.recursive)return}this._ignoredPaths.add(q)}_removeIgnoredPath(q){if(this._ignoredPaths.delete(q),typeof q==="string"){for(let J of this._ignoredPaths)if(y(J)&&J.path===q)this._ignoredPaths.delete(J)}}add(q,J,Q){let{cwd:X}=this.options;this.closed=!1,this._closePromise=void 0;let Z=$q(q);if(X)Z=Z.map((z)=>{return JJ(z,X)});if(Z.forEach((z)=>{this._removeIgnoredPath(z)}),this._userIgnored=void 0,!this._readyCount)this._readyCount=0;return this._readyCount+=Z.length,Promise.all(Z.map(async(z)=>{let $=await this._nodeFsHandler._addToNodeFs(z,!Q,void 0,0,J);if($)this._emitReady();return $})).then((z)=>{if(this.closed)return;z.forEach(($)=>{if($)this.add(B.dirname($),B.basename(J||$))})}),this}unwatch(q){if(this.closed)return this;let J=$q(q),{cwd:Q}=this.options;return J.forEach((X)=>{if(!B.isAbsolute(X)&&!this._closers.has(X)){if(Q)X=B.join(Q,X);X=B.resolve(X)}if(this._closePath(X),this._addIgnoredPath(X),this._watched.has(X))this._addIgnoredPath({path:X,recursive:!0});this._userIgnored=void 0}),this}close(){if(this._closePromise)return this._closePromise;this.closed=!0,this.removeAllListeners();let q=[];return this._closers.forEach((J)=>J.forEach((Q)=>{let X=Q();if(X instanceof Promise)q.push(X)})),this._streams.forEach((J)=>J.destroy()),this._userIgnored=void 0,this._readyCount=0,this._readyEmitted=!1,this._watched.forEach((J)=>J.dispose()),this._closers.clear(),this._watched.clear(),this._streams.clear(),this._symlinkPaths.clear(),this._throttled.clear(),this._closePromise=q.length?Promise.all(q).then(()=>{return}):Promise.resolve(),this._closePromise}getWatched(){let q={};return this._watched.forEach((J,Q)=>{let Z=(this.options.cwd?B.relative(this.options.cwd,Q):Q)||Uq;q[Z]=J.getChildren().sort()}),q}emitWithAll(q,J){if(this.emit(q,...J),q!==C.ERROR)this.emit(C.ALL,q,...J)}async _emit(q,J,Q){if(this.closed)return;let X=this.options;if(w)J=B.normalize(J);if(X.cwd)J=B.relative(X.cwd,J);let Z=[J];if(Q!=null)Z.push(Q);let z=X.awaitWriteFinish,$;if(z&&($=this._pendingWrites.get(J)))return $.lastChange=new Date,this;if(X.atomic){if(q===C.UNLINK)return this._pendingUnlinks.set(J,[q,...Z]),setTimeout(()=>{this._pendingUnlinks.forEach((G,x)=>{this.emit(...G),this.emit(C.ALL,...G),this._pendingUnlinks.delete(x)})},typeof X.atomic==="number"?X.atomic:100),this;if(q===C.ADD&&this._pendingUnlinks.has(J))q=C.CHANGE,this._pendingUnlinks.delete(J)}if(z&&(q===C.ADD||q===C.CHANGE)&&this._readyEmitted){let G=(x,U)=>{if(x)q=C.ERROR,Z[0]=x,this.emitWithAll(q,Z);else if(U){if(Z.length>1)Z[1]=U;else Z.push(U);this.emitWithAll(q,Z)}};return this._awaitWriteFinish(J,z.stabilityThreshold,q,G),this}if(q===C.CHANGE){if(!this._throttle(C.CHANGE,J,50))return this}if(X.alwaysStat&&Q===void 0&&(q===C.ADD||q===C.ADD_DIR||q===C.CHANGE)){let G=X.cwd?B.join(X.cwd,J):J,x;try{x=await lq(G)}catch(U){}if(!x||this.closed)return;Z.push(x)}return this.emitWithAll(q,Z),this}_handleError(q){let J=q&&q.code;if(q&&J!=="ENOENT"&&J!=="ENOTDIR"&&(!this.options.ignorePermissionErrors||J!=="EPERM"&&J!=="EACCES"))this.emit(C.ERROR,q);return q||this.closed}_throttle(q,J,Q){if(!this._throttled.has(q))this._throttled.set(q,new Map);let X=this._throttled.get(q);if(!X)throw Error("invalid throttle");let Z=X.get(J);if(Z)return Z.count++,!1;let z,$=()=>{let x=X.get(J),U=x?x.count:0;if(X.delete(J),clearTimeout(z),x)clearTimeout(x.timeoutObject);return U};z=setTimeout($,Q);let G={timeoutObject:z,clear:$,count:0};return X.set(J,G),G}_incrReadyCount(){return this._readyCount++}_awaitWriteFinish(q,J,Q,X){let Z=this.options.awaitWriteFinish;if(typeof Z!=="object")return;let z=Z.pollInterval,$,G=q;if(this.options.cwd&&!B.isAbsolute(q))G=B.join(this.options.cwd,q);let x=new Date,U=this._pendingWrites;function j(k){cq(G,(K,N)=>{if(K||!U.has(q)){if(K&&K.code!=="ENOENT")X(K);return}let b=Number(new Date);if(k&&N.size!==k.size)U.get(q).lastChange=b;let Bq=U.get(q);if(b-Bq.lastChange>=J)U.delete(q),X(void 0,N);else $=setTimeout(j,z,N)})}if(!U.has(q))U.set(q,{lastChange:x,cancelWait:()=>{return U.delete(q),clearTimeout($),Q}}),$=setTimeout(j,z)}_isIgnored(q,J){if(this.options.atomic&&aq.test(q))return!0;if(!this._userIgnored){let{cwd:Q}=this.options,Z=(this.options.ignored||[]).map(zq(Q)),$=[...[...this._ignoredPaths].map(zq(Q)),...Z];this._userIgnored=qJ($,void 0)}return this._userIgnored(q,J)}_isntIgnored(q,J){return!this._isIgnored(q,J)}_getWatchHelpers(q){return new jq(q,this.options.followSymlinks,this)}_getWatchedDir(q){let J=B.resolve(q);if(!this._watched.has(J))this._watched.set(J,new kq(J,this._boundRemove));return this._watched.get(J)}_hasReadPermissions(q){if(this.options.ignorePermissionErrors)return!0;return Boolean(Number(q.mode)&256)}_remove(q,J,Q){let X=B.join(q,J),Z=B.resolve(X);if(Q=Q!=null?Q:this._watched.has(X)||this._watched.has(Z),!this._throttle("remove",X,100))return;if(!Q&&this._watched.size===1)this.add(q,J,!0);this._getWatchedDir(X).getChildren().forEach((k)=>this._remove(X,k));let G=this._getWatchedDir(q),x=G.has(J);if(G.remove(J),this._symlinkPaths.has(Z))this._symlinkPaths.delete(Z);let U=X;if(this.options.cwd)U=B.relative(this.options.cwd,X);if(this.options.awaitWriteFinish&&this._pendingWrites.has(U)){if(this._pendingWrites.get(U).cancelWait()===C.ADD)return}this._watched.delete(X),this._watched.delete(Z);let j=Q?C.UNLINK_DIR:C.UNLINK;if(x&&!this._isIgnored(X))this._emit(j,X);this._closePath(X)}_closePath(q){this._closeFile(q);let J=B.dirname(q);this._getWatchedDir(J).remove(B.basename(q))}_closeFile(q){let J=this._closers.get(q);if(!J)return;J.forEach((Q)=>Q()),this._closers.delete(q)}_addPathCloser(q,J){if(!J)return;let Q=this._closers.get(q);if(!Q)Q=[],this._closers.set(q,Q);Q.push(J)}_readdirp(q,J){if(this.closed)return;let Q={type:C.ALL,alwaysStat:!0,lstat:!0,...J,depth:0},X=i(q,Q);return this._streams.add(X),X.once(t,()=>{X=void 0}),X.once(v,()=>{if(X)this._streams.delete(X),X=void 0}),X}};bJ={watch:$J,FSWatcher:m}});
|
|
2
|
-
export{jq as
|
|
1
|
+
import{bma as _}from"./cli-0.1.14-qn4ftczz.mjs";import{stat as Cq,lstat as d,readdir as Mq,realpath as Kq}from"node:fs/promises";import{Readable as Nq}from"node:stream";import{resolve as c,relative as Yq,join as Hq,sep as Iq}from"node:path";function i(q,J={}){let Q=J.entryType||J.type;if(Q==="both")Q=Y.FILE_DIR_TYPE;if(Q)J.type=Q;if(!q)throw Error("readdirp: root argument is required. Usage: readdirp(root, options)");else if(typeof q!=="string")throw TypeError("readdirp: root argument must be a string. Usage: readdirp(root, options)");else if(Q&&!l.includes(Q))throw Error(`readdirp: Invalid type passed. Use one of ${l.join(", ")}`);return J.root=q,new h(J)}var Y,g,n="READDIRP_RECURSIVE_ERROR",Oq,l,bq,Vq,Dq=(q)=>Oq.has(q.code),Lq,o=(q)=>!0,p=(q)=>{if(q===void 0)return o;if(typeof q==="function")return q;if(typeof q==="string"){let J=q.trim();return(Q)=>Q.basename===J}if(Array.isArray(q)){let J=q.map((Q)=>Q.trim());return(Q)=>J.some((X)=>Q.basename===X)}return o},h;var s=_(()=>{Y={FILE_TYPE:"files",DIR_TYPE:"directories",FILE_DIR_TYPE:"files_directories",EVERYTHING_TYPE:"all"},g={root:".",fileFilter:(q)=>!0,directoryFilter:(q)=>!0,type:Y.FILE_TYPE,lstat:!1,depth:2147483648,alwaysStat:!1,highWaterMark:4096};Object.freeze(g);Oq=new Set(["ENOENT","EPERM","EACCES","ELOOP",n]),l=[Y.DIR_TYPE,Y.EVERYTHING_TYPE,Y.FILE_DIR_TYPE,Y.FILE_TYPE],bq=new Set([Y.DIR_TYPE,Y.EVERYTHING_TYPE,Y.FILE_DIR_TYPE]),Vq=new Set([Y.EVERYTHING_TYPE,Y.FILE_DIR_TYPE,Y.FILE_TYPE]),Lq=process.platform==="win32";h=class h extends Nq{constructor(q={}){super({objectMode:!0,autoDestroy:!0,highWaterMark:q.highWaterMark});let J={...g,...q},{root:Q,type:X}=J;this._fileFilter=p(J.fileFilter),this._directoryFilter=p(J.directoryFilter);let Z=J.lstat?d:Cq;if(Lq)this._stat=(z)=>Z(z,{bigint:!0});else this._stat=Z;this._maxDepth=J.depth??g.depth,this._wantsDir=X?bq.has(X):!1,this._wantsFile=X?Vq.has(X):!1,this._wantsEverything=X===Y.EVERYTHING_TYPE,this._root=c(Q),this._isDirent=!J.alwaysStat,this._statsProp=this._isDirent?"dirent":"stats",this._rdOptions={encoding:"utf8",withFileTypes:this._isDirent},this.parents=[this._exploreDir(Q,1)],this.reading=!1,this.parent=void 0}async _read(q){if(this.reading)return;this.reading=!0;try{while(!this.destroyed&&q>0){let J=this.parent,Q=J&&J.files;if(Q&&Q.length>0){let{path:X,depth:Z}=J,z=Q.splice(0,q).map((G)=>this._formatEntry(G,X)),$=await Promise.all(z);for(let G of $){if(!G)continue;if(this.destroyed)return;let x=await this._getEntryType(G);if(x==="directory"&&this._directoryFilter(G)){if(Z<=this._maxDepth)this.parents.push(this._exploreDir(G.fullPath,Z+1));if(this._wantsDir)this.push(G),q--}else if((x==="file"||this._includeAsFile(G))&&this._fileFilter(G)){if(this._wantsFile)this.push(G),q--}}}else{let X=this.parents.pop();if(!X){this.push(null);break}if(this.parent=await X,this.destroyed)return}}}catch(J){this.destroy(J)}finally{this.reading=!1}}async _exploreDir(q,J){let Q;try{Q=await Mq(q,this._rdOptions)}catch(X){this._onError(X)}return{files:Q,depth:J,path:q}}async _formatEntry(q,J){let Q,X=this._isDirent?q.name:q;try{let Z=c(Hq(J,X));Q={path:Yq(this._root,Z),fullPath:Z,basename:X},Q[this._statsProp]=this._isDirent?q:await this._stat(Z)}catch(Z){this._onError(Z);return}return Q}_onError(q){if(Dq(q)&&!this.destroyed)this.emit("warn",q);else this.destroy(q)}async _getEntryType(q){if(!q&&this._statsProp in q)return"";let J=q[this._statsProp];if(J.isFile())return"file";if(J.isDirectory())return"directory";if(J&&J.isSymbolicLink()){let Q=q.fullPath;try{let X=await Kq(Q),Z=await d(X);if(Z.isFile())return"file";if(Z.isDirectory()){let z=X.length;if(Q.startsWith(X)&&Q.substr(z,1)===Iq){let $=Error(`Circular symlink detected: "${Q}" points to "${X}"`);return $.code=n,this._onError($)}return"directory"}}catch(X){return this._onError(X),""}}}_includeAsFile(q){let J=q&&q[this._statsProp];return J&&this._wantsEverything&&!J.isDirectory()}}});import{watchFile as Wq,unwatchFile as a,watch as Fq}from"fs";import{open as Aq,stat as e,lstat as Rq,realpath as u}from"fs/promises";import*as M from"path";import{type as Tq}from"os";function r(q,J,Q,X,Z){let z=($,G)=>{if(Q(q),Z($,G,{watchedPath:q}),G&&q!==G)F(M.resolve(q,G),I,M.join(q,G))};try{return Fq(q,{persistent:J.persistent},z)}catch($){X($);return}}class E{constructor(q){this.fsw=q,this._boundHandleError=(J)=>q._handleError(J)}_watchWithNodeFs(q,J){let Q=this.fsw.options,X=M.dirname(q),Z=M.basename(q);this.fsw._getWatchedDir(X).add(Z);let $=M.resolve(q),G={persistent:Q.persistent};if(!J)J=A;let x;if(Q.usePolling){let U=Q.interval!==Q.binaryInterval;G.interval=U&&fq(Z)?Q.binaryInterval:Q.interval,x=dq(q,$,G,{listener:J,rawEmitter:this.fsw._emitRaw})}else x=mq(q,$,G,{listener:J,errHandler:this._boundHandleError,rawEmitter:this.fsw._emitRaw});return x}_handleFile(q,J,Q){if(this.fsw.closed)return;let X=M.dirname(q),Z=M.basename(q),z=this.fsw._getWatchedDir(X),$=J;if(z.has(Z))return;let G=async(U,j)=>{if(!this.fsw._throttle(Sq,q,5))return;if(!j||j.mtimeMs===0)try{let k=await e(q);if(this.fsw.closed)return;let{atimeMs:K,mtimeMs:N}=k;if(!K||K<=N||N!==$.mtimeMs)this.fsw._emit(H.CHANGE,q,k);if((_q||uq||Pq)&&$.ino!==k.ino){this.fsw._closeFile(U),$=k;let b=this._watchWithNodeFs(q,G);if(b)this.fsw._addPathCloser(U,b)}else $=k}catch(k){this.fsw._remove(X,Z)}else if(z.has(Z)){let{atimeMs:k,mtimeMs:K}=j;if(!k||k<=K||K!==$.mtimeMs)this.fsw._emit(H.CHANGE,q,j);$=j}},x=this._watchWithNodeFs(q,G);if(!(Q&&this.fsw.options.ignoreInitial)&&this.fsw._isntIgnored(q)){if(!this.fsw._throttle(H.ADD,q,0))return;this.fsw._emit(H.ADD,q,J)}return x}async _handleSymlink(q,J,Q,X){if(this.fsw.closed)return;let Z=q.fullPath,z=this.fsw._getWatchedDir(J);if(!this.fsw.options.followSymlinks){this.fsw._incrReadyCount();let $;try{$=await u(Q)}catch(G){return this.fsw._emitReady(),!0}if(this.fsw.closed)return;if(z.has(X)){if(this.fsw._symlinkPaths.get(Z)!==$)this.fsw._symlinkPaths.set(Z,$),this.fsw._emit(H.CHANGE,Q,q.stats)}else z.add(X),this.fsw._symlinkPaths.set(Z,$),this.fsw._emit(H.ADD,Q,q.stats);return this.fsw._emitReady(),!0}if(this.fsw._symlinkPaths.has(Z))return!0;this.fsw._symlinkPaths.set(Z,!0)}_handleRead(q,J,Q,X,Z,z,$){if(q=M.join(q,""),$=this.fsw._throttle("readdir",q,1000),!$)return;let G=this.fsw._getWatchedDir(Q.path),x=new Set,U=this.fsw._readdirp(q,{fileFilter:(j)=>Q.filterPath(j),directoryFilter:(j)=>Q.filterDir(j)});if(!U)return;return U.on(gq,async(j)=>{if(this.fsw.closed){U=void 0;return}let k=j.path,K=M.join(q,k);if(x.add(k),j.stats.isSymbolicLink()&&await this._handleSymlink(j,q,K,k))return;if(this.fsw.closed){U=void 0;return}if(k===X||!X&&!G.has(k))this.fsw._incrReadyCount(),K=M.join(Z,M.relative(Z,K)),this._addToNodeFs(K,J,Q,z+1)}).on(H.ERROR,this._boundHandleError),new Promise((j,k)=>{if(!U)return k();U.once(v,()=>{if(this.fsw.closed){U=void 0;return}let K=$?$.clear():!1;if(j(void 0),G.getChildren().filter((N)=>{return N!==q&&!x.has(N)}).forEach((N)=>{this.fsw._remove(q,N)}),U=void 0,K)this._handleRead(q,!1,Q,X,Z,z,$)})})}async _handleDir(q,J,Q,X,Z,z,$){let G=this.fsw._getWatchedDir(M.dirname(q)),x=G.has(M.basename(q));if(!(Q&&this.fsw.options.ignoreInitial)&&!Z&&!x)this.fsw._emit(H.ADD_DIR,q,J);G.add(M.basename(q)),this.fsw._getWatchedDir(q);let U,j,k=this.fsw.options.depth;if((k==null||X<=k)&&!this.fsw._symlinkPaths.has($)){if(!Z){if(await this._handleRead(q,Q,z,Z,q,X,U),this.fsw.closed)return}j=this._watchWithNodeFs(q,(K,N)=>{if(N&&N.mtimeMs===0)return;this._handleRead(K,!1,z,Z,q,X,U)})}return j}async _addToNodeFs(q,J,Q,X,Z){let z=this.fsw._emitReady;if(this.fsw._isIgnored(q)||this.fsw.closed)return z(),!1;let $=this.fsw._getWatchHelpers(q);if(Q)$.filterPath=(G)=>Q.filterPath(G),$.filterDir=(G)=>Q.filterDir(G);try{let G=await vq[$.statMethod]($.watchPath);if(this.fsw.closed)return;if(this.fsw._isIgnored($.watchPath,G))return z(),!1;let x=this.fsw.options.followSymlinks,U;if(G.isDirectory()){let j=M.resolve(q),k=x?await u(q):q;if(this.fsw.closed)return;if(U=await this._handleDir($.watchPath,G,J,X,Z,$,k),this.fsw.closed)return;if(j!==k&&k!==void 0)this.fsw._symlinkPaths.set(j,k)}else if(G.isSymbolicLink()){let j=x?await u(q):q;if(this.fsw.closed)return;let k=M.dirname($.watchPath);if(this.fsw._getWatchedDir(k).add($.watchPath),this.fsw._emit(H.ADD,$.watchPath,G),U=await this._handleDir(k,G,J,X,q,$,j),this.fsw.closed)return;if(j!==void 0)this.fsw._symlinkPaths.set(M.resolve(q),j)}else U=this._handleFile($.watchPath,G,J);if(z(),U)this.fsw._addPathCloser(q,U);return!1}catch(G){if(this.fsw._handleError(G))return z(),q}}}var gq="data",v="end",t="close",A=()=>{},R,w,_q,uq,Pq,qq,C,H,Sq="watch",vq,I="listeners",L="errHandlers",O="rawEmitters",wq,Eq,fq=(q)=>Eq.has(M.extname(q).slice(1).toLowerCase()),S=(q,J)=>{if(q instanceof Set)q.forEach(J);else J(q)},V=(q,J,Q)=>{let X=q[J];if(!(X instanceof Set))q[J]=X=new Set([X]);X.add(Q)},yq=(q)=>(J)=>{let Q=q[J];if(Q instanceof Set)Q.clear();else delete q[J]},D=(q,J,Q)=>{let X=q[J];if(X instanceof Set)X.delete(Q);else if(X===Q)delete q[J]},Jq=(q)=>q instanceof Set?q.size===0:!q,W,F=(q,J,Q,X,Z)=>{let z=W.get(q);if(!z)return;S(z[J],($)=>{$(Q,X,Z)})},mq=(q,J,Q,X)=>{let{listener:Z,errHandler:z,rawEmitter:$}=X,G=W.get(J),x;if(!Q.persistent){if(x=r(q,Q,Z,z,$),!x)return;return x.close.bind(x)}if(G)V(G,I,Z),V(G,L,z),V(G,O,$);else{if(x=r(q,Q,F.bind(null,J,I),z,F.bind(null,J,O)),!x)return;x.on(H.ERROR,async(U)=>{let j=F.bind(null,J,L);if(G)G.watcherUnusable=!0;if(w&&U.code==="EPERM")try{await(await Aq(q,"r")).close(),j(U)}catch(k){}else j(U)}),G={listeners:Z,errHandlers:z,rawEmitters:$,watcher:x},W.set(J,G)}return()=>{if(D(G,I,Z),D(G,L,z),D(G,O,$),Jq(G.listeners))G.watcher.close(),W.delete(J),wq.forEach(yq(G)),G.watcher=void 0,Object.freeze(G)}},P,dq=(q,J,Q,X)=>{let{listener:Z,rawEmitter:z}=X,$=P.get(J),G=$&&$.options;if(G&&(G.persistent<Q.persistent||G.interval>Q.interval))a(J),$=void 0;if($)V($,I,Z),V($,O,z);else $={listeners:Z,rawEmitters:z,options:Q,watcher:Wq(J,Q,(x,U)=>{S($.rawEmitters,(k)=>{k(H.CHANGE,J,{curr:x,prev:U})});let j=x.mtimeMs;if(x.size!==U.size||j>U.mtimeMs||j===0)S($.listeners,(k)=>k(q,x))})},P.set(J,$);return()=>{if(D($,I,Z),D($,O,z),Jq($.listeners))P.delete(J),a(J),$.options=$.watcher=void 0,Object.freeze($)}};var Qq=_(()=>{R=process.platform,w=R==="win32",_q=R==="darwin",uq=R==="linux",Pq=R==="freebsd",qq=Tq()==="OS400",C={ALL:"all",READY:"ready",ADD:"add",CHANGE:"change",ADD_DIR:"addDir",UNLINK:"unlink",UNLINK_DIR:"unlinkDir",RAW:"raw",ERROR:"error"},H=C,vq={lstat:Rq,stat:e},wq=[I,L,O],Eq=new Set(["3dm","3ds","3g2","3gp","7z","a","aac","adp","afdesign","afphoto","afpub","ai","aif","aiff","alz","ape","apk","appimage","ar","arj","asf","au","avi","bak","baml","bh","bin","bk","bmp","btif","bz2","bzip2","cab","caf","cgm","class","cmx","cpio","cr2","cur","dat","dcm","deb","dex","djvu","dll","dmg","dng","doc","docm","docx","dot","dotm","dra","DS_Store","dsk","dts","dtshd","dvb","dwg","dxf","ecelp4800","ecelp7470","ecelp9600","egg","eol","eot","epub","exe","f4v","fbs","fh","fla","flac","flatpak","fli","flv","fpx","fst","fvt","g3","gh","gif","graffle","gz","gzip","h261","h263","h264","icns","ico","ief","img","ipa","iso","jar","jpeg","jpg","jpgv","jpm","jxr","key","ktx","lha","lib","lvp","lz","lzh","lzma","lzo","m3u","m4a","m4v","mar","mdi","mht","mid","midi","mj2","mka","mkv","mmr","mng","mobi","mov","movie","mp3","mp4","mp4a","mpeg","mpg","mpga","mxu","nef","npx","numbers","nupkg","o","odp","ods","odt","oga","ogg","ogv","otf","ott","pages","pbm","pcx","pdb","pdf","pea","pgm","pic","png","pnm","pot","potm","potx","ppa","ppam","ppm","pps","ppsm","ppsx","ppt","pptm","pptx","psd","pya","pyc","pyo","pyv","qt","rar","ras","raw","resources","rgb","rip","rlc","rmf","rmvb","rpm","rtf","rz","s3m","s7z","scpt","sgi","shar","snap","sil","sketch","slk","smv","snk","so","stl","suo","sub","swf","tar","tbz","tbz2","tga","tgz","thmx","tif","tiff","tlz","ttc","ttf","txz","udf","uvh","uvi","uvm","uvp","uvs","uvu","viv","vob","war","wav","wax","wbmp","wdp","weba","webm","webp","whl","wim","wm","wma","wmv","wmx","woff","woff2","wrm","wvx","xbm","xif","xla","xlam","xls","xlsb","xlsm","xlsx","xlt","xltm","xltx","xm","xmind","xpi","xpm","xwd","xz","z","zip","zipx"]),W=new Map;P=new Map});import{stat as cq}from"fs";import{stat as lq,readdir as oq}from"fs/promises";import{EventEmitter as pq}from"events";import*as B from"path";function T(q){return Array.isArray(q)?q:[q]}function eq(q){if(typeof q==="function")return q;if(typeof q==="string")return(J)=>q===J;if(q instanceof RegExp)return(J)=>q.test(J);if(typeof q==="object"&&q!==null)return(J)=>{if(q.path===J)return!0;if(q.recursive){let Q=B.relative(q.path,J);if(!Q)return!1;return!Q.startsWith("..")&&!B.isAbsolute(Q)}return!1};return()=>!1}function tq(q){if(typeof q!=="string")throw Error("string expected");q=B.normalize(q),q=q.replace(/\\/g,"/");let J=!1;if(q.startsWith("//"))J=!0;let Q=/\/\//;while(q.match(Q))q=q.replace(Q,"/");if(J)q="/"+q;return q}function Zq(q,J,Q){let X=tq(J);for(let Z=0;Z<q.length;Z++){let z=q[Z];if(z(X,Q))return!0}return!1}function qJ(q,J){if(q==null)throw TypeError("anymatch: specify first argument");let X=T(q).map((Z)=>eq(Z));if(J==null)return(Z,z)=>{return Zq(X,Z,z)};return Zq(X,J)}class kq{constructor(q,J){this.path=q,this._removeWatcher=J,this.items=new Set}add(q){let{items:J}=this;if(!J)return;if(q!==Uq&&q!==hq)J.add(q)}async remove(q){let{items:J}=this;if(!J)return;if(J.delete(q),J.size>0)return;let Q=this.path;try{await oq(Q)}catch(X){if(this._removeWatcher)this._removeWatcher(B.dirname(Q),B.basename(Q))}}has(q){let{items:J}=this;if(!J)return;return J.has(q)}getChildren(){let{items:q}=this;if(!q)return[];return[...q.values()]}dispose(){this.items.clear(),this.path="",this._removeWatcher=A,this.items=QJ,Object.freeze(this)}}class jq{constructor(q,J,Q){this.fsw=Q;let X=q;this.path=q=q.replace(rq,""),this.watchPath=X,this.fullWatchPath=B.resolve(X),this.dirParts=[],this.dirParts.forEach((Z)=>{if(Z.length>1)Z.pop()}),this.followSymlinks=J,this.statMethod=J?XJ:ZJ}entryPath(q){return B.join(this.watchPath,B.relative(this.watchPath,q.fullPath))}filterPath(q){let{stats:J}=q;if(J&&J.isSymbolicLink())return this.filterDir(q);let Q=this.entryPath(q);return this.fsw._isntIgnored(Q,J)&&this.fsw._hasReadPermissions(J)}filterDir(q){return this.fsw._isntIgnored(this.entryPath(q),q.stats)}}function $J(q,J={}){let Q=new m(J);return Q.add(q),Q}var f="/",nq="//",Uq=".",hq="..",iq="string",sq,Xq,aq,rq,y=(q)=>typeof q==="object"&&q!==null&&!(q instanceof RegExp),$q=(q)=>{let J=T(q).flat();if(!J.every((Q)=>typeof Q===iq))throw TypeError(`Non-string provided as watch path: ${J}`);return J.map(xq)},Gq=(q)=>{let J=q.replace(sq,f),Q=!1;if(J.startsWith(nq))Q=!0;while(J.match(Xq))J=J.replace(Xq,f);if(Q)J=f+J;return J},xq=(q)=>Gq(B.normalize(Gq(q))),zq=(q="")=>(J)=>{if(typeof J==="string")return xq(B.isAbsolute(J)?J:B.join(q,J));else return J},JJ=(q,J)=>{if(B.isAbsolute(q))return q;return B.join(J,q)},QJ,XJ="stat",ZJ="lstat",m,bJ;var GJ=_(()=>{s();Qq();/*! chokidar - MIT License (c) 2012 Paul Miller (paulmillr.com) */sq=/\\/g,Xq=/\/\//,aq=/\..*\.(sw[px])$|~$|\.subl.*\.tmp/,rq=/^\.[/\\]/;QJ=Object.freeze(new Set);m=class m extends pq{constructor(q={}){super();this.closed=!1,this._closers=new Map,this._ignoredPaths=new Set,this._throttled=new Map,this._streams=new Set,this._symlinkPaths=new Map,this._watched=new Map,this._pendingWrites=new Map,this._pendingUnlinks=new Map,this._readyCount=0,this._readyEmitted=!1;let J=q.awaitWriteFinish,Q={stabilityThreshold:2000,pollInterval:100},X={persistent:!0,ignoreInitial:!1,ignorePermissionErrors:!1,interval:100,binaryInterval:300,followSymlinks:!0,usePolling:!1,atomic:!0,...q,ignored:q.ignored?T(q.ignored):T([]),awaitWriteFinish:J===!0?Q:typeof J==="object"?{...Q,...J}:!1};if(qq)X.usePolling=!0;if(X.atomic===void 0)X.atomic=!X.usePolling;let Z=process.env.CHOKIDAR_USEPOLLING;if(Z!==void 0){let G=Z.toLowerCase();if(G==="false"||G==="0")X.usePolling=!1;else if(G==="true"||G==="1")X.usePolling=!0;else X.usePolling=!!G}let z=process.env.CHOKIDAR_INTERVAL;if(z)X.interval=Number.parseInt(z,10);let $=0;this._emitReady=()=>{if($++,$>=this._readyCount)this._emitReady=A,this._readyEmitted=!0,process.nextTick(()=>this.emit(C.READY))},this._emitRaw=(...G)=>this.emit(C.RAW,...G),this._boundRemove=this._remove.bind(this),this.options=X,this._nodeFsHandler=new E(this),Object.freeze(X)}_addIgnoredPath(q){if(y(q)){for(let J of this._ignoredPaths)if(y(J)&&J.path===q.path&&J.recursive===q.recursive)return}this._ignoredPaths.add(q)}_removeIgnoredPath(q){if(this._ignoredPaths.delete(q),typeof q==="string"){for(let J of this._ignoredPaths)if(y(J)&&J.path===q)this._ignoredPaths.delete(J)}}add(q,J,Q){let{cwd:X}=this.options;this.closed=!1,this._closePromise=void 0;let Z=$q(q);if(X)Z=Z.map((z)=>{return JJ(z,X)});if(Z.forEach((z)=>{this._removeIgnoredPath(z)}),this._userIgnored=void 0,!this._readyCount)this._readyCount=0;return this._readyCount+=Z.length,Promise.all(Z.map(async(z)=>{let $=await this._nodeFsHandler._addToNodeFs(z,!Q,void 0,0,J);if($)this._emitReady();return $})).then((z)=>{if(this.closed)return;z.forEach(($)=>{if($)this.add(B.dirname($),B.basename(J||$))})}),this}unwatch(q){if(this.closed)return this;let J=$q(q),{cwd:Q}=this.options;return J.forEach((X)=>{if(!B.isAbsolute(X)&&!this._closers.has(X)){if(Q)X=B.join(Q,X);X=B.resolve(X)}if(this._closePath(X),this._addIgnoredPath(X),this._watched.has(X))this._addIgnoredPath({path:X,recursive:!0});this._userIgnored=void 0}),this}close(){if(this._closePromise)return this._closePromise;this.closed=!0,this.removeAllListeners();let q=[];return this._closers.forEach((J)=>J.forEach((Q)=>{let X=Q();if(X instanceof Promise)q.push(X)})),this._streams.forEach((J)=>J.destroy()),this._userIgnored=void 0,this._readyCount=0,this._readyEmitted=!1,this._watched.forEach((J)=>J.dispose()),this._closers.clear(),this._watched.clear(),this._streams.clear(),this._symlinkPaths.clear(),this._throttled.clear(),this._closePromise=q.length?Promise.all(q).then(()=>{return}):Promise.resolve(),this._closePromise}getWatched(){let q={};return this._watched.forEach((J,Q)=>{let Z=(this.options.cwd?B.relative(this.options.cwd,Q):Q)||Uq;q[Z]=J.getChildren().sort()}),q}emitWithAll(q,J){if(this.emit(q,...J),q!==C.ERROR)this.emit(C.ALL,q,...J)}async _emit(q,J,Q){if(this.closed)return;let X=this.options;if(w)J=B.normalize(J);if(X.cwd)J=B.relative(X.cwd,J);let Z=[J];if(Q!=null)Z.push(Q);let z=X.awaitWriteFinish,$;if(z&&($=this._pendingWrites.get(J)))return $.lastChange=new Date,this;if(X.atomic){if(q===C.UNLINK)return this._pendingUnlinks.set(J,[q,...Z]),setTimeout(()=>{this._pendingUnlinks.forEach((G,x)=>{this.emit(...G),this.emit(C.ALL,...G),this._pendingUnlinks.delete(x)})},typeof X.atomic==="number"?X.atomic:100),this;if(q===C.ADD&&this._pendingUnlinks.has(J))q=C.CHANGE,this._pendingUnlinks.delete(J)}if(z&&(q===C.ADD||q===C.CHANGE)&&this._readyEmitted){let G=(x,U)=>{if(x)q=C.ERROR,Z[0]=x,this.emitWithAll(q,Z);else if(U){if(Z.length>1)Z[1]=U;else Z.push(U);this.emitWithAll(q,Z)}};return this._awaitWriteFinish(J,z.stabilityThreshold,q,G),this}if(q===C.CHANGE){if(!this._throttle(C.CHANGE,J,50))return this}if(X.alwaysStat&&Q===void 0&&(q===C.ADD||q===C.ADD_DIR||q===C.CHANGE)){let G=X.cwd?B.join(X.cwd,J):J,x;try{x=await lq(G)}catch(U){}if(!x||this.closed)return;Z.push(x)}return this.emitWithAll(q,Z),this}_handleError(q){let J=q&&q.code;if(q&&J!=="ENOENT"&&J!=="ENOTDIR"&&(!this.options.ignorePermissionErrors||J!=="EPERM"&&J!=="EACCES"))this.emit(C.ERROR,q);return q||this.closed}_throttle(q,J,Q){if(!this._throttled.has(q))this._throttled.set(q,new Map);let X=this._throttled.get(q);if(!X)throw Error("invalid throttle");let Z=X.get(J);if(Z)return Z.count++,!1;let z,$=()=>{let x=X.get(J),U=x?x.count:0;if(X.delete(J),clearTimeout(z),x)clearTimeout(x.timeoutObject);return U};z=setTimeout($,Q);let G={timeoutObject:z,clear:$,count:0};return X.set(J,G),G}_incrReadyCount(){return this._readyCount++}_awaitWriteFinish(q,J,Q,X){let Z=this.options.awaitWriteFinish;if(typeof Z!=="object")return;let z=Z.pollInterval,$,G=q;if(this.options.cwd&&!B.isAbsolute(q))G=B.join(this.options.cwd,q);let x=new Date,U=this._pendingWrites;function j(k){cq(G,(K,N)=>{if(K||!U.has(q)){if(K&&K.code!=="ENOENT")X(K);return}let b=Number(new Date);if(k&&N.size!==k.size)U.get(q).lastChange=b;let Bq=U.get(q);if(b-Bq.lastChange>=J)U.delete(q),X(void 0,N);else $=setTimeout(j,z,N)})}if(!U.has(q))U.set(q,{lastChange:x,cancelWait:()=>{return U.delete(q),clearTimeout($),Q}}),$=setTimeout(j,z)}_isIgnored(q,J){if(this.options.atomic&&aq.test(q))return!0;if(!this._userIgnored){let{cwd:Q}=this.options,Z=(this.options.ignored||[]).map(zq(Q)),$=[...[...this._ignoredPaths].map(zq(Q)),...Z];this._userIgnored=qJ($,void 0)}return this._userIgnored(q,J)}_isntIgnored(q,J){return!this._isIgnored(q,J)}_getWatchHelpers(q){return new jq(q,this.options.followSymlinks,this)}_getWatchedDir(q){let J=B.resolve(q);if(!this._watched.has(J))this._watched.set(J,new kq(J,this._boundRemove));return this._watched.get(J)}_hasReadPermissions(q){if(this.options.ignorePermissionErrors)return!0;return Boolean(Number(q.mode)&256)}_remove(q,J,Q){let X=B.join(q,J),Z=B.resolve(X);if(Q=Q!=null?Q:this._watched.has(X)||this._watched.has(Z),!this._throttle("remove",X,100))return;if(!Q&&this._watched.size===1)this.add(q,J,!0);this._getWatchedDir(X).getChildren().forEach((k)=>this._remove(X,k));let G=this._getWatchedDir(q),x=G.has(J);if(G.remove(J),this._symlinkPaths.has(Z))this._symlinkPaths.delete(Z);let U=X;if(this.options.cwd)U=B.relative(this.options.cwd,X);if(this.options.awaitWriteFinish&&this._pendingWrites.has(U)){if(this._pendingWrites.get(U).cancelWait()===C.ADD)return}this._watched.delete(X),this._watched.delete(Z);let j=Q?C.UNLINK_DIR:C.UNLINK;if(x&&!this._isIgnored(X))this._emit(j,X);this._closePath(X)}_closePath(q){this._closeFile(q);let J=B.dirname(q);this._getWatchedDir(J).remove(B.basename(q))}_closeFile(q){let J=this._closers.get(q);if(!J)return;J.forEach((Q)=>Q()),this._closers.delete(q)}_addPathCloser(q,J){if(!J)return;let Q=this._closers.get(q);if(!Q)Q=[],this._closers.set(q,Q);Q.push(J)}_readdirp(q,J){if(this.closed)return;let Q={type:C.ALL,alwaysStat:!0,lstat:!0,...J,depth:0},X=i(q,Q);return this._streams.add(X),X.once(t,()=>{X=void 0}),X.once(v,()=>{if(X)this._streams.delete(X),X=void 0}),X}};bJ={watch:$J,FSWatcher:m}});
|
|
2
|
+
export{jq as tP,m as uP,$J as vP,bJ as wP,GJ as xP};
|