@claudiolabs/claudin 1.1.33 → 1.1.34
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/dist/chunks/App-1.1.34-5bkzspjw.mjs +1 -0
- package/dist/chunks/ApproveApiKey-1.1.34-v9m1h6yf.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-1.1.34-s8q45b8r.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-1.1.34-za20vma5.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.34-bfqcybrw.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-1.1.34-y3y8zaw0.mjs +1 -0
- package/dist/chunks/DiffDialog-1.1.34-2c48wrw2.mjs +6 -0
- package/dist/chunks/Doctor-1.1.34-5pfk2t4c.mjs +1 -0
- package/dist/chunks/ExplorerDialog-1.1.34-jhjx7d79.mjs +6 -0
- package/dist/chunks/ITermBackend-1.1.34-fdz2yay1.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-1.1.34-9kn20864.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-1.1.34-rs0n3tbm.mjs +1 -0
- package/dist/chunks/MigrationDialog-1.1.34-mb74003t.mjs +1 -0
- package/dist/chunks/Onboarding-1.1.34-bfdfnz31.mjs +1 -0
- package/dist/chunks/ProviderManager-1.1.34-mxhsj5pz.mjs +1 -0
- package/dist/chunks/REPL-1.1.34-g9xtcxfm.mjs +1 -0
- package/dist/chunks/ResumeConversation-1.1.34-wjd1x7s6.mjs +1 -0
- package/dist/chunks/TeleportProgress-1.1.34-zpsemk3f.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-1.1.34-gse2x86w.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-1.1.34-cp51s05w.mjs +1 -0
- package/dist/chunks/TmuxBackend-1.1.34-pcx5e2xc.mjs +9 -0
- package/dist/chunks/ToolSearchTool-1.1.34-s3tfzny5.mjs +1 -0
- package/dist/chunks/TrustDialog-1.1.34-g8hnps71.mjs +1 -0
- package/dist/chunks/activeProvider-1.1.34-a1bg24mk.mjs +1 -0
- package/dist/chunks/add-dir-1.1.34-fs7fa841.mjs +1 -0
- package/dist/chunks/agentTypes-1.1.34-ybf25dvm.mjs +1 -0
- package/dist/chunks/agents-1.1.34-6xhfrt25.mjs +3 -0
- package/dist/chunks/agents-1.1.34-wsjsbryq.mjs +110 -0
- package/dist/chunks/api-1.1.34-99hm00p0.mjs +1 -0
- package/dist/chunks/asciicast-1.1.34-qydk3ezz.mjs +1 -0
- package/dist/chunks/auth-1.1.34-32n80bwr.mjs +1 -0
- package/dist/chunks/auth-1.1.34-mhmakxvf.mjs +1 -0
- package/dist/chunks/autoMode-1.1.34-jyxbmbqd.mjs +52 -0
- package/dist/chunks/autoModeSetup-1.1.34-2b10v0j4.mjs +44 -0
- package/dist/chunks/autoUpdater-1.1.34-bd3mdsv9.mjs +1 -0
- package/dist/chunks/backgroundHousekeeping-1.1.34-v4c2njkh.mjs +1 -0
- package/dist/chunks/branch-1.1.34-949t9ara.mjs +4 -0
- package/dist/chunks/bridge-1.1.34-8jc0ek6w.mjs +2 -0
- package/dist/chunks/bridgeConfig-1.1.34-kgr2qvyz.mjs +1 -0
- package/dist/chunks/bridgeEnabled-1.1.34-ygna8r55.mjs +1 -0
- package/dist/chunks/bridgeMain-1.1.34-saff9rp6.mjs +88 -0
- package/dist/chunks/bridgePointer-1.1.34-5apzxa58.mjs +1 -0
- package/dist/chunks/btw-1.1.34-4246e84n.mjs +1 -0
- package/dist/chunks/buddy-1.1.34-kj9mygnh.mjs +3 -0
- package/dist/chunks/cache-probe-1.1.34-gyemr2df.mjs +21 -0
- package/dist/chunks/cacheStats-1.1.34-fqz6k1qv.mjs +4 -0
- package/dist/chunks/caches-1.1.34-ebn0bryh.mjs +1 -0
- package/dist/chunks/cd-1.1.34-6458ex95.mjs +3 -0
- package/dist/chunks/claudeDesktop-1.1.34-4jr3kmkg.mjs +1 -0
- package/dist/chunks/clear-1.1.34-da0gwb7n.mjs +1 -0
- package/dist/chunks/clearTerminal-1.1.34-410eb173.mjs +1 -0
- package/dist/chunks/cli-1.1.34-00hxx56p.mjs +2 -0
- package/dist/chunks/cli-1.1.34-0cmmxs6g.mjs +9 -0
- package/dist/chunks/cli-1.1.34-0h4whfas.mjs +6 -0
- package/dist/chunks/cli-1.1.34-0kkae10p.mjs +2 -0
- package/dist/chunks/cli-1.1.34-0mjf3pve.mjs +2 -0
- package/dist/chunks/cli-1.1.34-0t1h2v5v.mjs +2 -0
- package/dist/chunks/cli-1.1.34-0zqthr52.mjs +2 -0
- package/dist/chunks/cli-1.1.34-1229x70a.mjs +2 -0
- package/dist/chunks/cli-1.1.34-166q8s04.mjs +24 -0
- package/dist/chunks/cli-1.1.34-1a3s3rqs.mjs +3 -0
- package/dist/chunks/cli-1.1.34-1ategs07.mjs +2 -0
- package/dist/chunks/cli-1.1.34-1m5v3ffj.mjs +2 -0
- package/dist/chunks/cli-1.1.34-1nxczs7m.mjs +3 -0
- package/dist/chunks/cli-1.1.34-1xg52b7q.mjs +12 -0
- package/dist/chunks/cli-1.1.34-20femz8z.mjs +2 -0
- package/dist/chunks/cli-1.1.34-20p72tmb.mjs +20 -0
- package/dist/chunks/cli-1.1.34-21nzcpj6.mjs +5 -0
- package/dist/chunks/cli-1.1.34-24h4yeqf.mjs +2 -0
- package/dist/chunks/cli-1.1.34-2tf44a9a.mjs +2 -0
- package/dist/chunks/cli-1.1.34-33s2xs9e.mjs +2 -0
- package/dist/chunks/cli-1.1.34-372a0qyj.mjs +2 -0
- package/dist/chunks/cli-1.1.34-37g65vk7.mjs +2 -0
- package/dist/chunks/cli-1.1.34-37mgsk8w.mjs +2 -0
- package/dist/chunks/cli-1.1.34-3pr2wgys.mjs +2 -0
- package/dist/chunks/cli-1.1.34-3qpxmhy6.mjs +2 -0
- package/dist/chunks/cli-1.1.34-3rcacat5.mjs +3 -0
- package/dist/chunks/cli-1.1.34-4v8eanby.mjs +2 -0
- package/dist/chunks/cli-1.1.34-4x915j9t.mjs +2 -0
- package/dist/chunks/cli-1.1.34-4y5bvnfe.mjs +2 -0
- package/dist/chunks/cli-1.1.34-4zj4kbw4.mjs +2 -0
- package/dist/chunks/cli-1.1.34-58ergrxf.mjs +7 -0
- package/dist/chunks/cli-1.1.34-59csbz1a.mjs +60 -0
- package/dist/chunks/cli-1.1.34-5ec767fj.mjs +2 -0
- package/dist/chunks/cli-1.1.34-5ffnhvmt.mjs +3 -0
- package/dist/chunks/cli-1.1.34-5jdjfha3.mjs +2 -0
- package/dist/chunks/cli-1.1.34-5jnn83ne.mjs +2 -0
- package/dist/chunks/cli-1.1.34-5mg7y1hs.mjs +2 -0
- package/dist/chunks/cli-1.1.34-5qzy93s7.mjs +2 -0
- package/dist/chunks/cli-1.1.34-5t01yf6x.mjs +2 -0
- package/dist/chunks/cli-1.1.34-5vktvncs.mjs +2 -0
- package/dist/chunks/cli-1.1.34-5z4epq5b.mjs +4 -0
- package/dist/chunks/cli-1.1.34-643n510j.mjs +2 -0
- package/dist/chunks/cli-1.1.34-6jkjn6pd.mjs +2 -0
- package/dist/chunks/cli-1.1.34-70pxm3rb.mjs +133 -0
- package/dist/chunks/cli-1.1.34-79mxk0bc.mjs +2 -0
- package/dist/chunks/cli-1.1.34-7ad0dt89.mjs +2 -0
- package/dist/chunks/cli-1.1.34-7bcbswdn.mjs +2 -0
- package/dist/chunks/cli-1.1.34-7bxexffs.mjs +6 -0
- package/dist/chunks/cli-1.1.34-7n5bvchq.mjs +2 -0
- package/dist/chunks/cli-1.1.34-7npd3as5.mjs +18 -0
- package/dist/chunks/cli-1.1.34-7rd2xv38.mjs +3 -0
- package/dist/chunks/cli-1.1.34-80nhtgdq.mjs +2 -0
- package/dist/chunks/cli-1.1.34-83s0mm9a.mjs +2 -0
- package/dist/chunks/cli-1.1.34-84707tma.mjs +5491 -0
- package/dist/chunks/cli-1.1.34-859ap6f7.mjs +2 -0
- package/dist/chunks/cli-1.1.34-8r5c91mz.mjs +2 -0
- package/dist/chunks/cli-1.1.34-8s2k8jnr.mjs +39 -0
- package/dist/chunks/cli-1.1.34-8vfey6b5.mjs +2 -0
- package/dist/chunks/cli-1.1.34-92kps6jn.mjs +63 -0
- package/dist/chunks/cli-1.1.34-9jn997h8.mjs +2 -0
- package/dist/chunks/cli-1.1.34-9tctqya9.mjs +6 -0
- package/dist/chunks/cli-1.1.34-9tze8t1x.mjs +2 -0
- package/dist/chunks/cli-1.1.34-9z887t80.mjs +2 -0
- package/dist/chunks/cli-1.1.34-a6gj1b3g.mjs +2 -0
- package/dist/chunks/cli-1.1.34-a7et4z4n.mjs +2 -0
- package/dist/chunks/cli-1.1.34-ajqsr81p.mjs +2 -0
- package/dist/chunks/cli-1.1.34-ak4sm3t1.mjs +2 -0
- package/dist/chunks/cli-1.1.34-axnnzxpw.mjs +2 -0
- package/dist/chunks/cli-1.1.34-b9j8be5k.mjs +2 -0
- package/dist/chunks/cli-1.1.34-bt9brnrs.mjs +2 -0
- package/dist/chunks/cli-1.1.34-c3w48hst.mjs +2 -0
- package/dist/chunks/cli-1.1.34-cp457g25.mjs +11 -0
- package/dist/chunks/cli-1.1.34-cptp243m.mjs +2 -0
- package/dist/chunks/cli-1.1.34-cqxr7fsq.mjs +2 -0
- package/dist/chunks/cli-1.1.34-ctjatnq8.mjs +2 -0
- package/dist/chunks/cli-1.1.34-czhcyzgw.mjs +2 -0
- package/dist/chunks/cli-1.1.34-d0sgyvr1.mjs +4 -0
- package/dist/chunks/cli-1.1.34-d5enzbca.mjs +2 -0
- package/dist/chunks/cli-1.1.34-d8bccy48.mjs +7 -0
- package/dist/chunks/cli-1.1.34-dceap5rk.mjs +4 -0
- package/dist/chunks/cli-1.1.34-dj3hwt6m.mjs +3 -0
- package/dist/chunks/cli-1.1.34-dvx08sv2.mjs +2 -0
- package/dist/chunks/cli-1.1.34-e1vkhvbm.mjs +2 -0
- package/dist/chunks/cli-1.1.34-e4f2qw6n.mjs +2 -0
- package/dist/chunks/cli-1.1.34-e7fd8zh6.mjs +2 -0
- package/dist/chunks/cli-1.1.34-e9rxgan0.mjs +2 -0
- package/dist/chunks/cli-1.1.34-ehad4d4f.mjs +2 -0
- package/dist/chunks/cli-1.1.34-ev8ffgr9.mjs +2 -0
- package/dist/chunks/cli-1.1.34-ew7p2ct8.mjs +2 -0
- package/dist/chunks/cli-1.1.34-exsrnr6k.mjs +2 -0
- package/dist/chunks/cli-1.1.34-f806gv2e.mjs +7 -0
- package/dist/chunks/cli-1.1.34-faavcjnj.mjs +2 -0
- package/dist/chunks/cli-1.1.34-fd3cb4wv.mjs +2 -0
- package/dist/chunks/cli-1.1.34-ff6hyf5n.mjs +2 -0
- package/dist/chunks/cli-1.1.34-ffs3510y.mjs +2 -0
- package/dist/chunks/cli-1.1.34-fgbv1rw4.mjs +17 -0
- package/dist/chunks/cli-1.1.34-fgx6ej2m.mjs +34 -0
- package/dist/chunks/cli-1.1.34-fm4a40ta.mjs +2 -0
- package/dist/chunks/cli-1.1.34-fnds3msv.mjs +6 -0
- package/dist/chunks/cli-1.1.34-ftd1h34q.mjs +2 -0
- package/dist/chunks/cli-1.1.34-g0sqgp9m.mjs +2 -0
- package/dist/chunks/cli-1.1.34-g6kkzzxg.mjs +2 -0
- package/dist/chunks/cli-1.1.34-g7q1qz3e.mjs +2 -0
- package/dist/chunks/cli-1.1.34-g888fgsj.mjs +4 -0
- package/dist/chunks/cli-1.1.34-ge8xp99z.mjs +2 -0
- package/dist/chunks/cli-1.1.34-gsrndv90.mjs +2 -0
- package/dist/chunks/cli-1.1.34-h3ysfavt.mjs +4 -0
- package/dist/chunks/cli-1.1.34-h7927ctg.mjs +2 -0
- package/dist/chunks/cli-1.1.34-h7bcvee5.mjs +2 -0
- package/dist/chunks/cli-1.1.34-hdva7ptv.mjs +10 -0
- package/dist/chunks/cli-1.1.34-he92bjvt.mjs +2 -0
- package/dist/chunks/cli-1.1.34-hpn89fzn.mjs +2 -0
- package/dist/chunks/cli-1.1.34-hpt8kch4.mjs +2 -0
- package/dist/chunks/cli-1.1.34-hrw37per.mjs +8 -0
- package/dist/chunks/cli-1.1.34-hsngtgbm.mjs +24 -0
- package/dist/chunks/cli-1.1.34-hyya784q.mjs +2 -0
- package/dist/chunks/cli-1.1.34-j8ab267c.mjs +2 -0
- package/dist/chunks/cli-1.1.34-jkdgk3ns.mjs +2 -0
- package/dist/chunks/cli-1.1.34-jrxh48kf.mjs +4 -0
- package/dist/chunks/cli-1.1.34-jsp1hy0k.mjs +2 -0
- package/dist/chunks/cli-1.1.34-k4zd38bd.mjs +15 -0
- package/dist/chunks/cli-1.1.34-k761g5m2.mjs +2 -0
- package/dist/chunks/cli-1.1.34-k8gmdsqr.mjs +2 -0
- package/dist/chunks/cli-1.1.34-mbeaqq0q.mjs +6 -0
- package/dist/chunks/cli-1.1.34-mhjjf878.mjs +5 -0
- package/dist/chunks/cli-1.1.34-n5t6xk0e.mjs +2 -0
- package/dist/chunks/cli-1.1.34-n5zh4wyg.mjs +42 -0
- package/dist/chunks/cli-1.1.34-ncz9dava.mjs +2 -0
- package/dist/chunks/cli-1.1.34-nr50vg8g.mjs +25 -0
- package/dist/chunks/cli-1.1.34-nxeb9r8s.mjs +2 -0
- package/dist/chunks/cli-1.1.34-p5v4dwpg.mjs +4 -0
- package/dist/chunks/cli-1.1.34-p7yjh2wb.mjs +2 -0
- package/dist/chunks/cli-1.1.34-p9rd6dtm.mjs +2 -0
- package/dist/chunks/cli-1.1.34-q5stzg7k.mjs +2 -0
- package/dist/chunks/cli-1.1.34-q83yydqv.mjs +133 -0
- package/dist/chunks/cli-1.1.34-q8chhxkt.mjs +2 -0
- package/dist/chunks/cli-1.1.34-qc15bhsg.mjs +10 -0
- package/dist/chunks/cli-1.1.34-qef4zhc3.mjs +2 -0
- package/dist/chunks/cli-1.1.34-qs805z7n.mjs +9 -0
- package/dist/chunks/cli-1.1.34-qwd6k5t4.mjs +2 -0
- package/dist/chunks/cli-1.1.34-r222exkd.mjs +2 -0
- package/dist/chunks/cli-1.1.34-r3kdjy4e.mjs +2 -0
- package/dist/chunks/cli-1.1.34-r5dphbcm.mjs +2 -0
- package/dist/chunks/cli-1.1.34-rb7wdjza.mjs +45 -0
- package/dist/chunks/cli-1.1.34-rkx3x9f6.mjs +4 -0
- package/dist/chunks/cli-1.1.34-rqkzp4n2.mjs +2 -0
- package/dist/chunks/cli-1.1.34-rs4xg86x.mjs +2 -0
- package/dist/chunks/cli-1.1.34-s4gsmtx9.mjs +21 -0
- package/dist/chunks/cli-1.1.34-s8c2c7g3.mjs +3 -0
- package/dist/chunks/cli-1.1.34-s9g6mekb.mjs +2 -0
- package/dist/chunks/cli-1.1.34-sfxba1xz.mjs +3 -0
- package/dist/chunks/cli-1.1.34-shm51n5s.mjs +2 -0
- package/dist/chunks/cli-1.1.34-sj1pcnn3.mjs +2 -0
- package/dist/chunks/cli-1.1.34-sq51za8b.mjs +2 -0
- package/dist/chunks/cli-1.1.34-sxpgdyxm.mjs +2 -0
- package/dist/chunks/cli-1.1.34-syx85e6f.mjs +15 -0
- package/dist/chunks/cli-1.1.34-t4rp44p7.mjs +2 -0
- package/dist/chunks/cli-1.1.34-tj5mvsam.mjs +2 -0
- package/dist/chunks/cli-1.1.34-tmwcg7q1.mjs +2 -0
- package/dist/chunks/cli-1.1.34-ty06ehzt.mjs +3 -0
- package/dist/chunks/cli-1.1.34-v2gbtt59.mjs +50 -0
- package/dist/chunks/cli-1.1.34-vdk5kjz7.mjs +15 -0
- package/dist/chunks/cli-1.1.34-vdwfqapw.mjs +2 -0
- package/dist/chunks/cli-1.1.34-vmnqkma9.mjs +2 -0
- package/dist/chunks/cli-1.1.34-vpwwhg8z.mjs +2 -0
- package/dist/chunks/cli-1.1.34-vrsb0pea.mjs +2 -0
- package/dist/chunks/cli-1.1.34-vz14r55x.mjs +3 -0
- package/dist/chunks/cli-1.1.34-w7vjt3vm.mjs +2 -0
- package/dist/chunks/cli-1.1.34-w9ek3z9c.mjs +2 -0
- package/dist/chunks/cli-1.1.34-webjc1s3.mjs +2 -0
- package/dist/chunks/cli-1.1.34-wfb66gsv.mjs +2 -0
- package/dist/chunks/cli-1.1.34-wh74w227.mjs +2 -0
- package/dist/chunks/cli-1.1.34-whbj9gb8.mjs +24 -0
- package/dist/chunks/cli-1.1.34-wqkce8kj.mjs +2 -0
- package/dist/chunks/cli-1.1.34-wwjkncsv.mjs +203 -0
- package/dist/chunks/cli-1.1.34-wwvcrp2d.mjs +2 -0
- package/dist/chunks/cli-1.1.34-xptd4xtb.mjs +2 -0
- package/dist/chunks/cli-1.1.34-xwg0x7p4.mjs +5 -0
- package/dist/chunks/cli-1.1.34-xx555z7d.mjs +25 -0
- package/dist/chunks/cli-1.1.34-yfasvar9.mjs +2 -0
- package/dist/chunks/cli-1.1.34-yk56k2na.mjs +2 -0
- package/dist/chunks/cli-1.1.34-yqryw36t.mjs +2 -0
- package/dist/chunks/cli-1.1.34-yqyrt954.mjs +2 -0
- package/dist/chunks/cli-1.1.34-yrk4mxjw.mjs +16 -0
- package/dist/chunks/cli-1.1.34-z14xw89f.mjs +2 -0
- package/dist/chunks/cli-1.1.34-z1htezxg.mjs +2 -0
- package/dist/chunks/cli-1.1.34-z1tmh10g.mjs +2 -0
- package/dist/chunks/cli-1.1.34-z84fkt5q.mjs +2 -0
- package/dist/chunks/cli-1.1.34-zpsaqq15.mjs +17 -0
- package/dist/chunks/client-1.1.34-4exntck8.mjs +1 -0
- package/dist/chunks/color-1.1.34-d4199wch.mjs +1 -0
- package/dist/chunks/compact-1.1.34-jwr60dt0.mjs +2 -0
- package/dist/chunks/config-1.1.34-acewhfv4.mjs +1 -0
- package/dist/chunks/config-1.1.34-tqzmnvs7.mjs +1 -0
- package/dist/chunks/constants-1.1.34-s2nkrx7g.mjs +1 -0
- package/dist/chunks/context-1.1.34-wc822wp5.mjs +1 -0
- package/dist/chunks/context-noninteractive-1.1.34-59xb33ys.mjs +1 -0
- package/dist/chunks/conversation-1.1.34-5k03q5nt.mjs +1 -0
- package/dist/chunks/copilotHeaders-1.1.34-dkmsvh40.mjs +1 -0
- package/dist/chunks/copy-1.1.34-efb24nm3.mjs +9 -0
- package/dist/chunks/cost-1.1.34-nqqv2xjh.mjs +1 -0
- package/dist/chunks/createSession-1.1.34-69d3ep6s.mjs +1 -0
- package/dist/chunks/debug-1.1.34-k568mcye.mjs +1 -0
- package/dist/chunks/defaultActionDeps-1.1.34-16tn959k.mjs +1480 -0
- package/dist/chunks/desktop-1.1.34-p9x626qf.mjs +2 -0
- package/dist/chunks/detectRepository-1.1.34-rqyapz8m.mjs +1 -0
- package/dist/chunks/detection-1.1.34-5xfznq79.mjs +1 -0
- package/dist/chunks/diff-1.1.34-5ggzgzf5.mjs +1 -0
- package/dist/chunks/doctor-1.1.34-j6mbdd5g.mjs +1 -0
- package/dist/chunks/doctorDiagnostic-1.1.34-spmjpktf.mjs +1 -0
- package/dist/chunks/earlyInput-1.1.34-a0ptf6h4.mjs +1 -0
- package/dist/chunks/effort-1.1.34-9k8mc8ca.mjs +13 -0
- package/dist/chunks/engine-1.1.34-y28mg4na.mjs +1 -0
- package/dist/chunks/envLessBridgeConfig-1.1.34-wm7tybv6.mjs +1 -0
- package/dist/chunks/envUtils-1.1.34-rmsh5nt5.mjs +1 -0
- package/dist/chunks/errors-1.1.34-61fzsrh4.mjs +1 -0
- package/dist/chunks/exampleCommands-1.1.34-8x8b7p9t.mjs +1 -0
- package/dist/chunks/execFileNoThrow-1.1.34-zemxr8xw.mjs +1 -0
- package/dist/chunks/exit-1.1.34-sw6zmmgn.mjs +1 -0
- package/dist/chunks/explorer-1.1.34-3apnqz0a.mjs +1 -0
- package/dist/chunks/export-1.1.34-1hyv5efm.mjs +2 -0
- package/dist/chunks/fast-1.1.34-3d72mbz1.mjs +1 -0
- package/dist/chunks/feedback-1.1.34-k74bh5v8.mjs +16 -0
- package/dist/chunks/git-1.1.34-p3qv0ed3.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-1.1.34-hmjt89m3.mjs +1 -0
- package/dist/chunks/goal-1.1.34-m6dge19b.mjs +4 -0
- package/dist/chunks/headless-1.1.34-hpaadbg6.mjs +2 -0
- package/dist/chunks/heapdump-1.1.34-zc52x1pc.mjs +6 -0
- package/dist/chunks/help-1.1.34-0sgw7jbh.mjs +1 -0
- package/dist/chunks/hooks-1.1.34-8s6pawxx.mjs +1 -0
- package/dist/chunks/hooks-1.1.34-vnm6rywf.mjs +79 -0
- package/dist/chunks/ide-1.1.34-jbcf8ma9.mjs +3 -0
- package/dist/chunks/image-processor-napi-1.1.34-zrk7wvw2.mjs +1 -0
- package/dist/chunks/import-1.1.34-4j35p307.mjs +261 -0
- package/dist/chunks/inboundAttachments-1.1.34-pk5t3y0v.mjs +1 -0
- package/dist/chunks/index-1.1.34-086aty1n.mjs +1 -0
- package/dist/chunks/index-1.1.34-0q46c1bj.mjs +1 -0
- package/dist/chunks/index-1.1.34-2j48ar1m.mjs +1 -0
- package/dist/chunks/index-1.1.34-427npr7a.mjs +1 -0
- package/dist/chunks/index-1.1.34-50d0rg8h.mjs +5 -0
- package/dist/chunks/index-1.1.34-50j6q6gr.mjs +1 -0
- package/dist/chunks/index-1.1.34-ehvgt047.mjs +1 -0
- package/dist/chunks/index-1.1.34-faq1af2v.mjs +1 -0
- package/dist/chunks/index-1.1.34-fvrswew9.mjs +2 -0
- package/dist/chunks/index-1.1.34-mx39dxjj.mjs +30 -0
- package/dist/chunks/index-1.1.34-mxpb8hvr.mjs +9 -0
- package/dist/chunks/index-1.1.34-nye63dch.mjs +1 -0
- package/dist/chunks/index-1.1.34-qmmg0npy.mjs +2 -0
- package/dist/chunks/index-1.1.34-qxa3e3cv.mjs +1 -0
- package/dist/chunks/index-1.1.34-snehdv50.mjs +1 -0
- package/dist/chunks/index-1.1.34-t7jsxdbk.mjs +1 -0
- package/dist/chunks/index-1.1.34-wgm8z1dz.mjs +1 -0
- package/dist/chunks/index-1.1.34-wz64a3d4.mjs +9 -0
- package/dist/chunks/index-1.1.34-x83gwj6g.mjs +23 -0
- package/dist/chunks/index-1.1.34-xa114b8t.mjs +1 -0
- package/dist/chunks/index-1.1.34-y10pcdv1.mjs +1 -0
- package/dist/chunks/index-1.1.34-yqzmcm9y.mjs +1 -0
- package/dist/chunks/index-1.1.34-yxzywg42.mjs +1 -0
- package/dist/chunks/init-1.1.34-jdhgqsrc.mjs +2 -0
- package/dist/chunks/initReplBridge-1.1.34-b0awafmd.mjs +1 -0
- package/dist/chunks/ink-1.1.34-yb3z87en.mjs +1 -0
- package/dist/chunks/insights-1.1.34-a321wxgf.mjs +870 -0
- package/dist/chunks/install-1.1.34-064wyxwb.mjs +1 -0
- package/dist/chunks/install-github-app-1.1.34-smwffy57.mjs +149 -0
- package/dist/chunks/install-slack-app-1.1.34-a5bwj8gk.mjs +1 -0
- package/dist/chunks/interactiveHelpers-1.1.34-pq1b6btm.mjs +1 -0
- package/dist/chunks/keybindings-1.1.34-rq312f3j.mjs +2 -0
- package/dist/chunks/latestVersionCache-1.1.34-x006sta9.mjs +1 -0
- package/dist/chunks/loadAgentsDir-1.1.34-2w0hm9wz.mjs +1 -0
- package/dist/chunks/loadPluginHooks-1.1.34-t9s8mknk.mjs +1 -0
- package/dist/chunks/log-1.1.34-n41t6etn.mjs +1 -0
- package/dist/chunks/main-1.1.34-gh9n8dgw.mjs +1 -0
- package/dist/chunks/managedEnv-1.1.34-qntg5ykr.mjs +1 -0
- package/dist/chunks/mcp-1.1.34-5mtgev8d.mjs +17 -0
- package/dist/chunks/mcp-1.1.34-61dcjzjk.mjs +4 -0
- package/dist/chunks/mcp-1.1.34-9d1py1ez.mjs +1 -0
- package/dist/chunks/mcpb-1.1.34-x9mxeryp.mjs +1 -0
- package/dist/chunks/memory-1.1.34-sys90hns.mjs +128 -0
- package/dist/chunks/model-1.1.34-v1r14fy7.mjs +1 -0
- package/dist/chunks/model-1.1.34-vks7w05g.mjs +2 -0
- package/dist/chunks/node-1.1.34-5b5b2m9b.mjs +1 -0
- package/dist/chunks/node-1.1.34-sdqnj3qm.mjs +15 -0
- package/dist/chunks/oauth-1.1.34-bbmwrswg.mjs +1 -0
- package/dist/chunks/openaiShim-1.1.34-kj2a4r19.mjs +14 -0
- package/dist/chunks/output-style-1.1.34-a4dykckn.mjs +1 -0
- package/dist/chunks/package-F6O7J2XI-1.1.34-291qk0fk.mjs +1 -0
- package/dist/chunks/permissions-1.1.34-bqhsed60.mjs +1 -0
- package/dist/chunks/permissions-1.1.34-xkrhteme.mjs +3 -0
- package/dist/chunks/plan-1.1.34-j7qcpv9s.mjs +1 -0
- package/dist/chunks/plist-1.1.34-ykta36sg.mjs +1 -0
- package/dist/chunks/plugin-1.1.34-vszmzh0r.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-1.1.34-5xap799m.mjs +1 -0
- package/dist/chunks/plugins-1.1.34-6ea553qa.mjs +9 -0
- package/dist/chunks/preActionHook-1.1.34-xy1pecch.mjs +2 -0
- package/dist/chunks/print-1.1.34-2gdkw86g.mjs +57 -0
- package/dist/chunks/process-1.1.34-fms89mxv.mjs +1 -0
- package/dist/chunks/processBashCommand-1.1.34-gcydk2hd.mjs +1 -0
- package/dist/chunks/processSlashCommand-1.1.34-a3q257ff.mjs +9 -0
- package/dist/chunks/prompt-1.1.34-ctfxsw9h.mjs +1 -0
- package/dist/chunks/prompt-1.1.34-wp8mvh7t.mjs +1 -0
- package/dist/chunks/prompts-1.1.34-bmq3swzy.mjs +1 -0
- package/dist/chunks/provider-1.1.34-00xnjkhs.mjs +2 -0
- package/dist/chunks/providerProfiles-1.1.34-psred1pr.mjs +1 -0
- package/dist/chunks/providerValidation-1.1.34-0vamj708.mjs +6 -0
- package/dist/chunks/registerSubcommands-1.1.34-pmqr2nmf.mjs +26 -0
- package/dist/chunks/registry-1.1.34-sapmjhjz.mjs +1 -0
- package/dist/chunks/release-notes-1.1.34-p6wg8evp.mjs +5 -0
- package/dist/chunks/reload-plugins-1.1.34-cd8e00jp.mjs +2 -0
- package/dist/chunks/remote-env-1.1.34-fpepp6cm.mjs +1 -0
- package/dist/chunks/remoteBridgeCore-1.1.34-mmxz0ypj.mjs +1 -0
- package/dist/chunks/rename-1.1.34-gwdavcb8.mjs +1 -0
- package/dist/chunks/replLauncher-1.1.34-5yvyazea.mjs +1 -0
- package/dist/chunks/resume-1.1.34-9abwrf3b.mjs +2 -0
- package/dist/chunks/rewind-1.1.34-qf51de9x.mjs +1 -0
- package/dist/chunks/rootOptions-1.1.34-dkd3s4x5.mjs +1 -0
- package/dist/chunks/runWorkflowHeadless-1.1.34-c0j2ym4w.mjs +10 -0
- package/dist/chunks/sandbox-adapter-1.1.34-ad556paa.mjs +1 -0
- package/dist/chunks/sandbox-toggle-1.1.34-1x2ddxv2.mjs +1 -0
- package/dist/chunks/session-1.1.34-h46ywygv.mjs +2 -0
- package/dist/chunks/sessionStorage-1.1.34-tc7rwcvm.mjs +1 -0
- package/dist/chunks/settings-1.1.34-bk3tb34s.mjs +1 -0
- package/dist/chunks/setup-1.1.34-3ddxnk01.mjs +12 -0
- package/dist/chunks/sinks-1.1.34-ww0tcz6j.mjs +1 -0
- package/dist/chunks/skills-1.1.34-3ybbxgjn.mjs +1 -0
- package/dist/chunks/startupProfiler-1.1.34-7z13z7v7.mjs +1 -0
- package/dist/chunks/startupUpdateCheck-1.1.34-45fyr9wz.mjs +1 -0
- package/dist/chunks/state-1.1.34-pymefs1m.mjs +1 -0
- package/dist/chunks/stats-1.1.34-4jw41qjm.mjs +1 -0
- package/dist/chunks/status-1.1.34-r120pa8k.mjs +1 -0
- package/dist/chunks/stickers-1.1.34-5zsfjhdn.mjs +1 -0
- package/dist/chunks/subprocessEnv-1.1.34-44r7jf62.mjs +1 -0
- package/dist/chunks/tasks-1.1.34-1mhjk4hs.mjs +1 -0
- package/dist/chunks/teamHelpers-1.1.34-jfmrh1r7.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-1.1.34-m47hpvj2.mjs +1 -0
- package/dist/chunks/teleport-1.1.34-g7gk9g3q.mjs +1 -0
- package/dist/chunks/terminalSetup-1.1.34-8e12gzad.mjs +1 -0
- package/dist/chunks/theme-1.1.34-bvmx3zyc.mjs +1 -0
- package/dist/chunks/thinkback-1.1.34-bz9h3qn7.mjs +1 -0
- package/dist/chunks/thinkback-play-1.1.34-azysb61e.mjs +1 -0
- package/dist/chunks/toolPool-1.1.34-tewk9s1e.mjs +1 -0
- package/dist/chunks/toolSearch-1.1.34-70r6c6d3.mjs +1 -0
- package/dist/chunks/tools-1.1.34-a7jpjvb5.mjs +1 -0
- package/dist/chunks/trustedDevice-1.1.34-jhn5330j.mjs +1 -0
- package/dist/chunks/turndown.cjs-1.1.34-8ve160tv.mjs +69 -0
- package/dist/chunks/types-1.1.34-0as4p0wf.mjs +1 -0
- package/dist/chunks/ultrareviewCommand-1.1.34-b7bpj27y.mjs +4 -0
- package/dist/chunks/update-1.1.34-wnetpcv6.mjs +72 -0
- package/dist/chunks/upload-1.1.34-3cdkjhmm.mjs +7 -0
- package/dist/chunks/upstreamproxy-1.1.34-x376823n.mjs +14 -0
- package/dist/chunks/usage-1.1.34-h5bv8trt.mjs +1 -0
- package/dist/chunks/util-1.1.34-7ctz504f.mjs +1 -0
- package/dist/chunks/utils-1.1.34-h9r9ybtj.mjs +1 -0
- package/dist/chunks/vim-1.1.34-4y4504z8.mjs +1 -0
- package/dist/chunks/watchLoop-1.1.34-tnjnpc05.mjs +13 -0
- package/dist/chunks/wiki-1.1.34-53n04tv3.mjs +132 -0
- package/dist/chunks/workflows-1.1.34-zefy425g.mjs +1 -0
- package/dist/chunks/worktree-1.1.34-gzm7041w.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-1.1.34-x9qxm01a.mjs +1 -0
- package/dist/chunks/wrapper-1.1.34-jmcmxyrm.mjs +7 -0
- package/dist/cli.mjs +2 -2
- package/package.json +9 -9
- package/dist/chunks/App-1.1.33-y76d67dw.mjs +0 -1
- package/dist/chunks/ApproveApiKey-1.1.33-fz6kxvwx.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-1.1.33-99ykhjpz.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-1.1.33-tzr7atf1.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.33-3ehzc9bn.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-1.1.33-mptzgfxf.mjs +0 -1
- package/dist/chunks/DiffDialog-1.1.33-anvv0w3b.mjs +0 -6
- package/dist/chunks/Doctor-1.1.33-8m3ek5ex.mjs +0 -1
- package/dist/chunks/ExplorerDialog-1.1.33-70aphca6.mjs +0 -6
- package/dist/chunks/ITermBackend-1.1.33-0syshawj.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-1.1.33-40sq04vm.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-1.1.33-tgp186pw.mjs +0 -1
- package/dist/chunks/MigrationDialog-1.1.33-9tcy3d33.mjs +0 -1
- package/dist/chunks/Onboarding-1.1.33-zjx8xhqz.mjs +0 -1
- package/dist/chunks/ProviderManager-1.1.33-zm2tkf0s.mjs +0 -1
- package/dist/chunks/REPL-1.1.33-gh2kz8dk.mjs +0 -1
- package/dist/chunks/ResumeConversation-1.1.33-v284310j.mjs +0 -1
- package/dist/chunks/TeleportProgress-1.1.33-5dqj1qp9.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-1.1.33-q3p5maex.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-1.1.33-dhrpj9a6.mjs +0 -1
- package/dist/chunks/TmuxBackend-1.1.33-gph2cfsr.mjs +0 -9
- package/dist/chunks/ToolSearchTool-1.1.33-qv8tchk3.mjs +0 -1
- package/dist/chunks/TrustDialog-1.1.33-bq45cvv6.mjs +0 -1
- package/dist/chunks/activeProvider-1.1.33-v055y8f3.mjs +0 -1
- package/dist/chunks/add-dir-1.1.33-e811cqdx.mjs +0 -1
- package/dist/chunks/agentTypes-1.1.33-t5nvprgp.mjs +0 -1
- package/dist/chunks/agents-1.1.33-mbve4trn.mjs +0 -3
- package/dist/chunks/agents-1.1.33-nhfb2axy.mjs +0 -110
- package/dist/chunks/api-1.1.33-2sg5ga0j.mjs +0 -1
- package/dist/chunks/asciicast-1.1.33-xr41erq2.mjs +0 -1
- package/dist/chunks/auth-1.1.33-k778a810.mjs +0 -1
- package/dist/chunks/auth-1.1.33-xappxyn1.mjs +0 -1
- package/dist/chunks/autoMode-1.1.33-wb6nwcf3.mjs +0 -52
- package/dist/chunks/autoModeSetup-1.1.33-43tmanjr.mjs +0 -44
- package/dist/chunks/autoUpdater-1.1.33-py6amejh.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-1.1.33-zn01axaz.mjs +0 -1
- package/dist/chunks/branch-1.1.33-gthrar82.mjs +0 -4
- package/dist/chunks/bridge-1.1.33-9s3v1h77.mjs +0 -2
- package/dist/chunks/bridgeConfig-1.1.33-183x874k.mjs +0 -1
- package/dist/chunks/bridgeEnabled-1.1.33-42yktg6p.mjs +0 -1
- package/dist/chunks/bridgeMain-1.1.33-62ytf81q.mjs +0 -88
- package/dist/chunks/bridgePointer-1.1.33-weh8egz5.mjs +0 -1
- package/dist/chunks/btw-1.1.33-xhjhwhex.mjs +0 -1
- package/dist/chunks/buddy-1.1.33-6e4bcghj.mjs +0 -3
- package/dist/chunks/cache-probe-1.1.33-65t8nv3y.mjs +0 -21
- package/dist/chunks/cacheStats-1.1.33-anfjhga9.mjs +0 -4
- package/dist/chunks/caches-1.1.33-ehvfr1c6.mjs +0 -1
- package/dist/chunks/cd-1.1.33-xbpsa40s.mjs +0 -3
- package/dist/chunks/claudeDesktop-1.1.33-en5r91rv.mjs +0 -1
- package/dist/chunks/clear-1.1.33-90jr5w5d.mjs +0 -1
- package/dist/chunks/clearTerminal-1.1.33-4ts9jf6w.mjs +0 -1
- package/dist/chunks/cli-1.1.33-05291q1a.mjs +0 -2
- package/dist/chunks/cli-1.1.33-0bk8mrfh.mjs +0 -15
- package/dist/chunks/cli-1.1.33-0ktq50cd.mjs +0 -133
- package/dist/chunks/cli-1.1.33-0kvxjey5.mjs +0 -24
- package/dist/chunks/cli-1.1.33-0sckqj39.mjs +0 -2
- package/dist/chunks/cli-1.1.33-1fpzq80d.mjs +0 -2
- package/dist/chunks/cli-1.1.33-20v60hvd.mjs +0 -203
- package/dist/chunks/cli-1.1.33-20zqrzzq.mjs +0 -2
- package/dist/chunks/cli-1.1.33-22addsh7.mjs +0 -4
- package/dist/chunks/cli-1.1.33-231zj4yg.mjs +0 -2
- package/dist/chunks/cli-1.1.33-241y9eee.mjs +0 -5
- package/dist/chunks/cli-1.1.33-283f43sy.mjs +0 -2
- package/dist/chunks/cli-1.1.33-2chamq3v.mjs +0 -2
- package/dist/chunks/cli-1.1.33-2xqjkz7r.mjs +0 -2
- package/dist/chunks/cli-1.1.33-303jm377.mjs +0 -2
- package/dist/chunks/cli-1.1.33-30vd7w1w.mjs +0 -10
- package/dist/chunks/cli-1.1.33-39q98nwa.mjs +0 -2
- package/dist/chunks/cli-1.1.33-3by7vn1v.mjs +0 -2
- package/dist/chunks/cli-1.1.33-3de2dtv6.mjs +0 -2
- package/dist/chunks/cli-1.1.33-3kk4en4s.mjs +0 -2
- package/dist/chunks/cli-1.1.33-3yjvh7fr.mjs +0 -2
- package/dist/chunks/cli-1.1.33-46bkj0rz.mjs +0 -5
- package/dist/chunks/cli-1.1.33-4ghpq4rw.mjs +0 -24
- package/dist/chunks/cli-1.1.33-4t7b2799.mjs +0 -2
- package/dist/chunks/cli-1.1.33-525zf497.mjs +0 -16
- package/dist/chunks/cli-1.1.33-56fen5jd.mjs +0 -4
- package/dist/chunks/cli-1.1.33-5c19q87v.mjs +0 -2
- package/dist/chunks/cli-1.1.33-5ehc9tkd.mjs +0 -2
- package/dist/chunks/cli-1.1.33-5fc0dkzm.mjs +0 -2
- package/dist/chunks/cli-1.1.33-5pa215hx.mjs +0 -2
- package/dist/chunks/cli-1.1.33-6fq5cn5g.mjs +0 -17
- package/dist/chunks/cli-1.1.33-726gr74y.mjs +0 -2
- package/dist/chunks/cli-1.1.33-7b2yeb1x.mjs +0 -2
- package/dist/chunks/cli-1.1.33-7qjhgket.mjs +0 -2
- package/dist/chunks/cli-1.1.33-7qr8n3qn.mjs +0 -2
- package/dist/chunks/cli-1.1.33-7rd596wq.mjs +0 -2
- package/dist/chunks/cli-1.1.33-7shybbdj.mjs +0 -2
- package/dist/chunks/cli-1.1.33-7sm3r61g.mjs +0 -50
- package/dist/chunks/cli-1.1.33-87p06j57.mjs +0 -2
- package/dist/chunks/cli-1.1.33-8dxvf995.mjs +0 -2
- package/dist/chunks/cli-1.1.33-8esj8tkg.mjs +0 -18
- package/dist/chunks/cli-1.1.33-8p3h818h.mjs +0 -2
- package/dist/chunks/cli-1.1.33-8q8sfbe6.mjs +0 -2
- package/dist/chunks/cli-1.1.33-8xyzgp13.mjs +0 -2
- package/dist/chunks/cli-1.1.33-90w26xxw.mjs +0 -4
- package/dist/chunks/cli-1.1.33-94s66kd2.mjs +0 -2
- package/dist/chunks/cli-1.1.33-9dt8xzkt.mjs +0 -2
- package/dist/chunks/cli-1.1.33-9fetbt6a.mjs +0 -2
- package/dist/chunks/cli-1.1.33-9z2gy96d.mjs +0 -2
- package/dist/chunks/cli-1.1.33-9zba2a1d.mjs +0 -60
- package/dist/chunks/cli-1.1.33-a49fwy5a.mjs +0 -3
- package/dist/chunks/cli-1.1.33-a6dvne78.mjs +0 -2
- package/dist/chunks/cli-1.1.33-ad43mr1x.mjs +0 -2
- package/dist/chunks/cli-1.1.33-ad75ezdj.mjs +0 -2
- package/dist/chunks/cli-1.1.33-afsw641c.mjs +0 -2
- package/dist/chunks/cli-1.1.33-aj5dy49h.mjs +0 -3
- package/dist/chunks/cli-1.1.33-apx2xgzn.mjs +0 -11
- package/dist/chunks/cli-1.1.33-bczwyjaq.mjs +0 -2
- package/dist/chunks/cli-1.1.33-bfx6z02g.mjs +0 -2
- package/dist/chunks/cli-1.1.33-bh8452tq.mjs +0 -2
- package/dist/chunks/cli-1.1.33-btd9w5q2.mjs +0 -2
- package/dist/chunks/cli-1.1.33-bxw3sz3d.mjs +0 -2
- package/dist/chunks/cli-1.1.33-c14msjsc.mjs +0 -2
- package/dist/chunks/cli-1.1.33-c37dxjja.mjs +0 -2
- package/dist/chunks/cli-1.1.33-c45mt1yq.mjs +0 -2
- package/dist/chunks/cli-1.1.33-c5j1t4gd.mjs +0 -2
- package/dist/chunks/cli-1.1.33-cdzhbn5g.mjs +0 -15
- package/dist/chunks/cli-1.1.33-cfj1bzen.mjs +0 -2
- package/dist/chunks/cli-1.1.33-cj2t55an.mjs +0 -2
- package/dist/chunks/cli-1.1.33-cjfrq2jz.mjs +0 -4
- package/dist/chunks/cli-1.1.33-czpahv90.mjs +0 -25
- package/dist/chunks/cli-1.1.33-czrp8ff2.mjs +0 -2
- package/dist/chunks/cli-1.1.33-d2jds1x5.mjs +0 -4
- package/dist/chunks/cli-1.1.33-d9fea5m8.mjs +0 -2
- package/dist/chunks/cli-1.1.33-das1k5jq.mjs +0 -3
- package/dist/chunks/cli-1.1.33-dd7gk6d2.mjs +0 -5
- package/dist/chunks/cli-1.1.33-df8tggjt.mjs +0 -2
- package/dist/chunks/cli-1.1.33-dfb8xrtp.mjs +0 -2
- package/dist/chunks/cli-1.1.33-dfbvd02g.mjs +0 -3
- package/dist/chunks/cli-1.1.33-dm8nxxnv.mjs +0 -2
- package/dist/chunks/cli-1.1.33-dp41gds0.mjs +0 -2
- package/dist/chunks/cli-1.1.33-dv29f6yk.mjs +0 -2
- package/dist/chunks/cli-1.1.33-e2jx0b65.mjs +0 -2
- package/dist/chunks/cli-1.1.33-e4gbaaq5.mjs +0 -3
- package/dist/chunks/cli-1.1.33-e87tvy6n.mjs +0 -2
- package/dist/chunks/cli-1.1.33-edgxaxbt.mjs +0 -10
- package/dist/chunks/cli-1.1.33-effqmrgb.mjs +0 -2
- package/dist/chunks/cli-1.1.33-evp1q65w.mjs +0 -2
- package/dist/chunks/cli-1.1.33-ezzc0e6x.mjs +0 -2
- package/dist/chunks/cli-1.1.33-f4vhy9zk.mjs +0 -2
- package/dist/chunks/cli-1.1.33-f83qf2zv.mjs +0 -63
- package/dist/chunks/cli-1.1.33-fcfv2vn6.mjs +0 -2
- package/dist/chunks/cli-1.1.33-g3wvn6f8.mjs +0 -2
- package/dist/chunks/cli-1.1.33-gbjym0yt.mjs +0 -6
- package/dist/chunks/cli-1.1.33-gfehnxj8.mjs +0 -2
- package/dist/chunks/cli-1.1.33-ggk9m978.mjs +0 -7
- package/dist/chunks/cli-1.1.33-ghcxb1ce.mjs +0 -34
- package/dist/chunks/cli-1.1.33-gnejtk17.mjs +0 -7
- package/dist/chunks/cli-1.1.33-gpp6mbxj.mjs +0 -17
- package/dist/chunks/cli-1.1.33-h0mx2ccc.mjs +0 -2
- package/dist/chunks/cli-1.1.33-h27b2an0.mjs +0 -2
- package/dist/chunks/cli-1.1.33-h75frpfe.mjs +0 -2
- package/dist/chunks/cli-1.1.33-heys42qe.mjs +0 -9
- package/dist/chunks/cli-1.1.33-hfkfz9g9.mjs +0 -2
- package/dist/chunks/cli-1.1.33-hwmqqtqr.mjs +0 -45
- package/dist/chunks/cli-1.1.33-j5q2mpwf.mjs +0 -2
- package/dist/chunks/cli-1.1.33-j6ep4mfm.mjs +0 -6
- package/dist/chunks/cli-1.1.33-j75f13gr.mjs +0 -2
- package/dist/chunks/cli-1.1.33-j8ajj3nv.mjs +0 -2
- package/dist/chunks/cli-1.1.33-jdtfdqvz.mjs +0 -2
- package/dist/chunks/cli-1.1.33-jp2qs3mr.mjs +0 -2
- package/dist/chunks/cli-1.1.33-jsyd53zn.mjs +0 -2
- package/dist/chunks/cli-1.1.33-jww2z5yy.mjs +0 -2
- package/dist/chunks/cli-1.1.33-k1vhqgx4.mjs +0 -2
- package/dist/chunks/cli-1.1.33-k466m68a.mjs +0 -2
- package/dist/chunks/cli-1.1.33-k51bffb8.mjs +0 -2
- package/dist/chunks/cli-1.1.33-kdbb1eq4.mjs +0 -2
- package/dist/chunks/cli-1.1.33-kg221c89.mjs +0 -2
- package/dist/chunks/cli-1.1.33-kqsskxv0.mjs +0 -133
- package/dist/chunks/cli-1.1.33-kth7ttsa.mjs +0 -4
- package/dist/chunks/cli-1.1.33-kty1kjfd.mjs +0 -2
- package/dist/chunks/cli-1.1.33-kxjb58yw.mjs +0 -2
- package/dist/chunks/cli-1.1.33-m06xge1a.mjs +0 -2
- package/dist/chunks/cli-1.1.33-m08stm17.mjs +0 -2
- package/dist/chunks/cli-1.1.33-m402nk5n.mjs +0 -2
- package/dist/chunks/cli-1.1.33-mg60nkfe.mjs +0 -2
- package/dist/chunks/cli-1.1.33-mgmqjt4t.mjs +0 -2
- package/dist/chunks/cli-1.1.33-mhph00kg.mjs +0 -24
- package/dist/chunks/cli-1.1.33-mkzxq2c9.mjs +0 -2
- package/dist/chunks/cli-1.1.33-mm3hdty7.mjs +0 -2
- package/dist/chunks/cli-1.1.33-n2d1txyn.mjs +0 -4
- package/dist/chunks/cli-1.1.33-n55k105y.mjs +0 -2
- package/dist/chunks/cli-1.1.33-n7rpkhs4.mjs +0 -2
- package/dist/chunks/cli-1.1.33-nd6tv1an.mjs +0 -15
- package/dist/chunks/cli-1.1.33-ndste4rf.mjs +0 -39
- package/dist/chunks/cli-1.1.33-nq2hxcp4.mjs +0 -9
- package/dist/chunks/cli-1.1.33-nvfshp5c.mjs +0 -6
- package/dist/chunks/cli-1.1.33-p0fb1k1s.mjs +0 -7
- package/dist/chunks/cli-1.1.33-pcsrkgrn.mjs +0 -8
- package/dist/chunks/cli-1.1.33-pw7bmns5.mjs +0 -42
- package/dist/chunks/cli-1.1.33-q8hq263y.mjs +0 -2
- package/dist/chunks/cli-1.1.33-qr675sx2.mjs +0 -2
- package/dist/chunks/cli-1.1.33-qss1gs3e.mjs +0 -2
- package/dist/chunks/cli-1.1.33-ra054vbq.mjs +0 -2
- package/dist/chunks/cli-1.1.33-raynjbkq.mjs +0 -2
- package/dist/chunks/cli-1.1.33-rr2q4wq6.mjs +0 -2
- package/dist/chunks/cli-1.1.33-rr5sxpa0.mjs +0 -2
- package/dist/chunks/cli-1.1.33-rrhe6g9q.mjs +0 -2
- package/dist/chunks/cli-1.1.33-rrvgm0jd.mjs +0 -2
- package/dist/chunks/cli-1.1.33-rtme70ck.mjs +0 -2
- package/dist/chunks/cli-1.1.33-rv2bkx6b.mjs +0 -2
- package/dist/chunks/cli-1.1.33-rxe1dmbg.mjs +0 -2
- package/dist/chunks/cli-1.1.33-s5kw6064.mjs +0 -3
- package/dist/chunks/cli-1.1.33-sbgh2rsy.mjs +0 -2
- package/dist/chunks/cli-1.1.33-sf95jk5d.mjs +0 -2
- package/dist/chunks/cli-1.1.33-sv5dwqh6.mjs +0 -3
- package/dist/chunks/cli-1.1.33-t0fg1hsr.mjs +0 -2
- package/dist/chunks/cli-1.1.33-t10xrxez.mjs +0 -2
- package/dist/chunks/cli-1.1.33-t26pazs8.mjs +0 -2
- package/dist/chunks/cli-1.1.33-t591k29k.mjs +0 -21
- package/dist/chunks/cli-1.1.33-t63yat1z.mjs +0 -2
- package/dist/chunks/cli-1.1.33-t78313g4.mjs +0 -3
- package/dist/chunks/cli-1.1.33-t8cxmf0c.mjs +0 -12
- package/dist/chunks/cli-1.1.33-tp6bhara.mjs +0 -4
- package/dist/chunks/cli-1.1.33-ts50d9at.mjs +0 -2
- package/dist/chunks/cli-1.1.33-ttc7emph.mjs +0 -25
- package/dist/chunks/cli-1.1.33-ty6y9kn2.mjs +0 -2
- package/dist/chunks/cli-1.1.33-v08vb0sv.mjs +0 -6
- package/dist/chunks/cli-1.1.33-v615gn7w.mjs +0 -3
- package/dist/chunks/cli-1.1.33-vgynvhys.mjs +0 -5491
- package/dist/chunks/cli-1.1.33-vr8cqqar.mjs +0 -2
- package/dist/chunks/cli-1.1.33-wfjtjsvq.mjs +0 -6
- package/dist/chunks/cli-1.1.33-wrdskpzf.mjs +0 -2
- package/dist/chunks/cli-1.1.33-wx8rtpc5.mjs +0 -2
- package/dist/chunks/cli-1.1.33-x6zgk4kb.mjs +0 -2
- package/dist/chunks/cli-1.1.33-xdqetcyr.mjs +0 -2
- package/dist/chunks/cli-1.1.33-xfawy00r.mjs +0 -2
- package/dist/chunks/cli-1.1.33-xt2ehzej.mjs +0 -2
- package/dist/chunks/cli-1.1.33-yd2b6czv.mjs +0 -2
- package/dist/chunks/cli-1.1.33-yd4xhx6x.mjs +0 -20
- package/dist/chunks/cli-1.1.33-ypfa1t3b.mjs +0 -2
- package/dist/chunks/cli-1.1.33-yqqr1e67.mjs +0 -2
- package/dist/chunks/cli-1.1.33-yqxphe1x.mjs +0 -2
- package/dist/chunks/cli-1.1.33-yy53bmhe.mjs +0 -2
- package/dist/chunks/cli-1.1.33-yygdy86h.mjs +0 -2
- package/dist/chunks/cli-1.1.33-z5rv4tr3.mjs +0 -3
- package/dist/chunks/cli-1.1.33-z7fa1fgt.mjs +0 -2
- package/dist/chunks/cli-1.1.33-zqqj4d1f.mjs +0 -2
- package/dist/chunks/cli-1.1.33-zsk851wd.mjs +0 -2
- package/dist/chunks/client-1.1.33-qhf9zz8n.mjs +0 -1
- package/dist/chunks/color-1.1.33-q69y353w.mjs +0 -1
- package/dist/chunks/compact-1.1.33-5vxewt1w.mjs +0 -2
- package/dist/chunks/config-1.1.33-h6tzt18x.mjs +0 -1
- package/dist/chunks/config-1.1.33-m6rgj5rq.mjs +0 -1
- package/dist/chunks/constants-1.1.33-myvdtn6q.mjs +0 -1
- package/dist/chunks/context-1.1.33-pm79kmgf.mjs +0 -1
- package/dist/chunks/context-noninteractive-1.1.33-6pd4by4q.mjs +0 -1
- package/dist/chunks/conversation-1.1.33-acjggjj2.mjs +0 -1
- package/dist/chunks/copilotHeaders-1.1.33-s1k9b90v.mjs +0 -1
- package/dist/chunks/copy-1.1.33-yynkyja4.mjs +0 -9
- package/dist/chunks/cost-1.1.33-sjebbq22.mjs +0 -1
- package/dist/chunks/createSession-1.1.33-cw4pppsw.mjs +0 -1
- package/dist/chunks/debug-1.1.33-h1ep6bea.mjs +0 -1
- package/dist/chunks/defaultActionDeps-1.1.33-t1wa4x2g.mjs +0 -1480
- package/dist/chunks/desktop-1.1.33-cgj2ar5t.mjs +0 -2
- package/dist/chunks/detectRepository-1.1.33-5yfd53ae.mjs +0 -1
- package/dist/chunks/detection-1.1.33-dnyn9hs6.mjs +0 -1
- package/dist/chunks/diff-1.1.33-nf6wy43p.mjs +0 -1
- package/dist/chunks/doctor-1.1.33-58atgaxs.mjs +0 -1
- package/dist/chunks/doctorDiagnostic-1.1.33-v3ht88pf.mjs +0 -1
- package/dist/chunks/earlyInput-1.1.33-qff3qk4b.mjs +0 -1
- package/dist/chunks/effort-1.1.33-nf63b81y.mjs +0 -13
- package/dist/chunks/engine-1.1.33-bqcqevb5.mjs +0 -1
- package/dist/chunks/envLessBridgeConfig-1.1.33-1bfctzjp.mjs +0 -1
- package/dist/chunks/envUtils-1.1.33-1jg5pqx5.mjs +0 -1
- package/dist/chunks/errors-1.1.33-xdf8frps.mjs +0 -1
- package/dist/chunks/exampleCommands-1.1.33-br81c33d.mjs +0 -1
- package/dist/chunks/execFileNoThrow-1.1.33-mmyfbtpt.mjs +0 -1
- package/dist/chunks/exit-1.1.33-s8c549bt.mjs +0 -1
- package/dist/chunks/explorer-1.1.33-q2kc2yjm.mjs +0 -1
- package/dist/chunks/export-1.1.33-wzsrmyr9.mjs +0 -2
- package/dist/chunks/fast-1.1.33-hh2t95cz.mjs +0 -1
- package/dist/chunks/feedback-1.1.33-fhamzkxx.mjs +0 -16
- package/dist/chunks/git-1.1.33-nb9mf6gs.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-1.1.33-zzecd9we.mjs +0 -1
- package/dist/chunks/goal-1.1.33-6ptfsbeb.mjs +0 -4
- package/dist/chunks/headless-1.1.33-2ks3qpn2.mjs +0 -2
- package/dist/chunks/heapdump-1.1.33-48a71a5d.mjs +0 -6
- package/dist/chunks/help-1.1.33-65k2zqsp.mjs +0 -1
- package/dist/chunks/hooks-1.1.33-7zb4rp07.mjs +0 -1
- package/dist/chunks/hooks-1.1.33-87w55gzt.mjs +0 -79
- package/dist/chunks/ide-1.1.33-jpbj91cb.mjs +0 -3
- package/dist/chunks/image-processor-napi-1.1.33-cb605b4s.mjs +0 -1
- package/dist/chunks/import-1.1.33-9vq41kwx.mjs +0 -261
- package/dist/chunks/inboundAttachments-1.1.33-pshb9f55.mjs +0 -1
- package/dist/chunks/index-1.1.33-0szd959f.mjs +0 -9
- package/dist/chunks/index-1.1.33-1cyg72cg.mjs +0 -5
- package/dist/chunks/index-1.1.33-20n0wyay.mjs +0 -2
- package/dist/chunks/index-1.1.33-37m0wr5f.mjs +0 -1
- package/dist/chunks/index-1.1.33-4e6weswv.mjs +0 -2
- package/dist/chunks/index-1.1.33-5at6jw86.mjs +0 -9
- package/dist/chunks/index-1.1.33-5bb2bqbt.mjs +0 -1
- package/dist/chunks/index-1.1.33-6r4xb4kw.mjs +0 -1
- package/dist/chunks/index-1.1.33-809kmg0e.mjs +0 -1
- package/dist/chunks/index-1.1.33-av56945n.mjs +0 -1
- package/dist/chunks/index-1.1.33-ayj1khn3.mjs +0 -1
- package/dist/chunks/index-1.1.33-d4h14a2g.mjs +0 -1
- package/dist/chunks/index-1.1.33-j01a41jn.mjs +0 -1
- package/dist/chunks/index-1.1.33-j3pffnmd.mjs +0 -30
- package/dist/chunks/index-1.1.33-nbb1jr6q.mjs +0 -23
- package/dist/chunks/index-1.1.33-pdret8nd.mjs +0 -1
- package/dist/chunks/index-1.1.33-px65xz19.mjs +0 -1
- package/dist/chunks/index-1.1.33-q02fr1yn.mjs +0 -1
- package/dist/chunks/index-1.1.33-qckmwfjb.mjs +0 -1
- package/dist/chunks/index-1.1.33-sj1fgs0b.mjs +0 -1
- package/dist/chunks/index-1.1.33-thfe8yxq.mjs +0 -1
- package/dist/chunks/index-1.1.33-vpdejaqk.mjs +0 -1
- package/dist/chunks/index-1.1.33-x6vn8g63.mjs +0 -1
- package/dist/chunks/init-1.1.33-8jzeqmrh.mjs +0 -2
- package/dist/chunks/initReplBridge-1.1.33-xhzad71d.mjs +0 -1
- package/dist/chunks/ink-1.1.33-8xkyvv5c.mjs +0 -1
- package/dist/chunks/insights-1.1.33-p2xfqqpr.mjs +0 -870
- package/dist/chunks/install-1.1.33-yddevjtj.mjs +0 -1
- package/dist/chunks/install-github-app-1.1.33-3wksmje2.mjs +0 -149
- package/dist/chunks/install-slack-app-1.1.33-mgb365bd.mjs +0 -1
- package/dist/chunks/interactiveHelpers-1.1.33-ac7wkzh0.mjs +0 -1
- package/dist/chunks/keybindings-1.1.33-pwx8bd0q.mjs +0 -2
- package/dist/chunks/latestVersionCache-1.1.33-fqw2q9w0.mjs +0 -1
- package/dist/chunks/loadAgentsDir-1.1.33-y4yydpcn.mjs +0 -1
- package/dist/chunks/loadPluginHooks-1.1.33-3rxrvf8b.mjs +0 -1
- package/dist/chunks/log-1.1.33-pqjf8wsv.mjs +0 -1
- package/dist/chunks/main-1.1.33-qvas86jh.mjs +0 -1
- package/dist/chunks/managedEnv-1.1.33-67fc5dj7.mjs +0 -1
- package/dist/chunks/mcp-1.1.33-88w7d35a.mjs +0 -1
- package/dist/chunks/mcp-1.1.33-ewqaq0ms.mjs +0 -4
- package/dist/chunks/mcp-1.1.33-v74knj3c.mjs +0 -17
- package/dist/chunks/mcpb-1.1.33-dnjbpy7e.mjs +0 -1
- package/dist/chunks/memory-1.1.33-9qffk96q.mjs +0 -128
- package/dist/chunks/model-1.1.33-h0mjh5z8.mjs +0 -1
- package/dist/chunks/model-1.1.33-v4vqzg9w.mjs +0 -2
- package/dist/chunks/node-1.1.33-jm7rqpq8.mjs +0 -1
- package/dist/chunks/node-1.1.33-qg258pyx.mjs +0 -15
- package/dist/chunks/oauth-1.1.33-423q5vp6.mjs +0 -1
- package/dist/chunks/openaiShim-1.1.33-dsp1wwgs.mjs +0 -14
- package/dist/chunks/output-style-1.1.33-ayj4863v.mjs +0 -1
- package/dist/chunks/package-F6O7J2XI-1.1.33-cwk2kcw8.mjs +0 -1
- package/dist/chunks/permissions-1.1.33-mtca1vka.mjs +0 -1
- package/dist/chunks/permissions-1.1.33-qk86j364.mjs +0 -3
- package/dist/chunks/plan-1.1.33-brttkasm.mjs +0 -1
- package/dist/chunks/plist-1.1.33-j08fwnf5.mjs +0 -1
- package/dist/chunks/plugin-1.1.33-ed5352d9.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-1.1.33-w1dcdv7e.mjs +0 -1
- package/dist/chunks/plugins-1.1.33-dz0szv60.mjs +0 -9
- package/dist/chunks/preActionHook-1.1.33-cyss3q48.mjs +0 -2
- package/dist/chunks/print-1.1.33-0an9v6wm.mjs +0 -57
- package/dist/chunks/process-1.1.33-34nr1vvf.mjs +0 -1
- package/dist/chunks/processBashCommand-1.1.33-c3baefbs.mjs +0 -1
- package/dist/chunks/processSlashCommand-1.1.33-7z1q5tgw.mjs +0 -9
- package/dist/chunks/prompt-1.1.33-a9nfj0nx.mjs +0 -1
- package/dist/chunks/prompt-1.1.33-t1x27qfd.mjs +0 -1
- package/dist/chunks/prompts-1.1.33-n8cpfrn6.mjs +0 -1
- package/dist/chunks/provider-1.1.33-s17k8dew.mjs +0 -2
- package/dist/chunks/providerProfiles-1.1.33-nabanrxj.mjs +0 -1
- package/dist/chunks/providerValidation-1.1.33-45rfx8mk.mjs +0 -6
- package/dist/chunks/registerSubcommands-1.1.33-drbt7d0n.mjs +0 -26
- package/dist/chunks/registry-1.1.33-2rc0g3js.mjs +0 -1
- package/dist/chunks/release-notes-1.1.33-azfdj96s.mjs +0 -5
- package/dist/chunks/reload-plugins-1.1.33-22m52m4k.mjs +0 -2
- package/dist/chunks/remote-env-1.1.33-2zxh4gns.mjs +0 -1
- package/dist/chunks/remoteBridgeCore-1.1.33-tvhbeebf.mjs +0 -1
- package/dist/chunks/rename-1.1.33-hh0a7vzm.mjs +0 -1
- package/dist/chunks/replLauncher-1.1.33-17gj37pg.mjs +0 -1
- package/dist/chunks/resume-1.1.33-cxjpjtfg.mjs +0 -2
- package/dist/chunks/rewind-1.1.33-gwyc73ty.mjs +0 -1
- package/dist/chunks/rootOptions-1.1.33-t9mmhhea.mjs +0 -1
- package/dist/chunks/runWorkflowHeadless-1.1.33-9e4hd973.mjs +0 -10
- package/dist/chunks/sandbox-adapter-1.1.33-ydzap1ky.mjs +0 -1
- package/dist/chunks/sandbox-toggle-1.1.33-vch1t63t.mjs +0 -1
- package/dist/chunks/session-1.1.33-aepc1jdx.mjs +0 -2
- package/dist/chunks/sessionStorage-1.1.33-170gteyg.mjs +0 -1
- package/dist/chunks/settings-1.1.33-16470dd7.mjs +0 -1
- package/dist/chunks/setup-1.1.33-nbfqv6x2.mjs +0 -12
- package/dist/chunks/sinks-1.1.33-8qav4btz.mjs +0 -1
- package/dist/chunks/skills-1.1.33-srydghps.mjs +0 -1
- package/dist/chunks/startupProfiler-1.1.33-a97fyetk.mjs +0 -1
- package/dist/chunks/startupUpdateCheck-1.1.33-n5x93kr9.mjs +0 -1
- package/dist/chunks/state-1.1.33-yr57kw5b.mjs +0 -1
- package/dist/chunks/stats-1.1.33-py9web9f.mjs +0 -1
- package/dist/chunks/status-1.1.33-rstx4c0p.mjs +0 -1
- package/dist/chunks/stickers-1.1.33-bag4g2g6.mjs +0 -1
- package/dist/chunks/subprocessEnv-1.1.33-k219nhcm.mjs +0 -1
- package/dist/chunks/tasks-1.1.33-170ayzks.mjs +0 -1
- package/dist/chunks/teamHelpers-1.1.33-d0etezah.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-1.1.33-wwj36vt2.mjs +0 -1
- package/dist/chunks/teleport-1.1.33-zvzb36mc.mjs +0 -1
- package/dist/chunks/terminalSetup-1.1.33-6btb4bdr.mjs +0 -1
- package/dist/chunks/theme-1.1.33-ht9yrvwn.mjs +0 -1
- package/dist/chunks/thinkback-1.1.33-kvaqf5ep.mjs +0 -1
- package/dist/chunks/thinkback-play-1.1.33-dfqez4t9.mjs +0 -1
- package/dist/chunks/toolPool-1.1.33-fsqgv07g.mjs +0 -1
- package/dist/chunks/toolSearch-1.1.33-g3ha7h5f.mjs +0 -1
- package/dist/chunks/tools-1.1.33-6qn3rfzr.mjs +0 -1
- package/dist/chunks/trustedDevice-1.1.33-f5feh965.mjs +0 -1
- package/dist/chunks/turndown.cjs-1.1.33-km66apwr.mjs +0 -69
- package/dist/chunks/types-1.1.33-bc49bs3y.mjs +0 -1
- package/dist/chunks/ultrareviewCommand-1.1.33-byqccwrh.mjs +0 -4
- package/dist/chunks/update-1.1.33-hz986n0w.mjs +0 -72
- package/dist/chunks/upload-1.1.33-cc27f6xm.mjs +0 -7
- package/dist/chunks/upstreamproxy-1.1.33-k5haaaqa.mjs +0 -14
- package/dist/chunks/usage-1.1.33-jspq6593.mjs +0 -1
- package/dist/chunks/util-1.1.33-8w7wsk2x.mjs +0 -1
- package/dist/chunks/utils-1.1.33-613tmzqb.mjs +0 -1
- package/dist/chunks/vim-1.1.33-gamhf412.mjs +0 -1
- package/dist/chunks/watchLoop-1.1.33-w4q3ncxj.mjs +0 -13
- package/dist/chunks/wiki-1.1.33-qgzy0eh8.mjs +0 -132
- package/dist/chunks/workflows-1.1.33-82kzthpb.mjs +0 -1
- package/dist/chunks/worktree-1.1.33-7n8nkfht.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-1.1.33-qq22bj1e.mjs +0 -1
- package/dist/chunks/wrapper-1.1.33-qgpy796k.mjs +0 -7
- /package/dist/chunks/{cli-1.1.33-kx980gfw.mjs → cli-1.1.34-0f5qa0q0.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.33-5ff9vmz9.mjs → cli-1.1.34-1426jsf4.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.33-xyh0vcv7.mjs → cli-1.1.34-6ndxsqp1.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.33-f0vf76a6.mjs → cli-1.1.34-gmaedxb1.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.33-1mfasbf1.mjs → cli-1.1.34-h9h6119y.mjs} +0 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import{gb as j}from"./cli-1.1.34-0f5qa0q0.mjs";import{If as Aq,Nf as lq}from"./cli-1.1.34-s8c2c7g3.mjs";import{MN as Nq,US as E,WS as aq,bO as uq}from"./cli-1.1.34-84707tma.mjs";import{j0 as l,p0 as Cq,q0 as a,r0 as hq}from"./cli-1.1.34-bt9brnrs.mjs";import{$5 as Lq,Q5 as Wq,S5 as Uq,U3 as Yq,U5 as A,Y3 as Zq,a4 as $q,j4 as Hq,m4 as P,o2 as U,o4 as Kq,t2 as x,t4 as Qq}from"./cli-1.1.34-yrk4mxjw.mjs";import{v6 as y,w6 as Fq}from"./cli-1.1.34-7bxexffs.mjs";import{$da as o,D_ as Y,F_ as J,M_ as T,Naa as r,O_ as pq,Oaa as t,Qaa as xq,Tda as H,Tea as W,Vda as Z,Yda as _q,f_ as d,jea as B,k_ as Eq,l_ as c,nga as V,o_ as jq,qba as p,sga as _,uba as bq}from"./cli-1.1.34-wwjkncsv.mjs";import{Uga as F,Yga as cq}from"./cli-1.1.34-p5v4dwpg.mjs";import{$ia as m,Yia as v,_ia as Iq,cja as S,gja as Pq}from"./cli-1.1.34-xwg0x7p4.mjs";import{yja as u,zja as Mq}from"./cli-1.1.34-fm4a40ta.mjs";import{Qja as R,Sja as f,Xja as Rq}from"./cli-1.1.34-d0sgyvr1.mjs";import{bka as Oq,jka as dq}from"./cli-1.1.34-ev8ffgr9.mjs";import{Jna as D,Nna as Dq,Ona as Gq,foa as C,poa as h,sna as G,una as O,upa as k}from"./cli-1.1.34-qef4zhc3.mjs";Fq();Cq();k();jq();Rq();Pq();Eq();_();Mq();bq();Dq();Iq();hq();import{readFileSync as fq}from"node:fs";var vq=/--inspect(-brk)?/,b=/--inspect(-brk)?|--debug(-brk)?/;function Jz(){let q=c()?vq:b,K=process.execArgv.some((X)=>q.test(X)),Q=!!process.env.NODE_OPTIONS&&b.test(process.env.NODE_OPTIONS);try{return!!global.require("inspector").url()||K||Q}catch{return K||Q}}function Vz(){(process.stderr.isTTY?process.stderr:process.stdout.isTTY?process.stdout:void 0)?.write(l)}function Bz(z){if(typeof z!=="object"||z===null)return{};let q=z,K=q.teammateMode;return{agentId:typeof q.agentId==="string"?q.agentId:void 0,agentName:typeof q.agentName==="string"?q.agentName:void 0,teamName:typeof q.teamName==="string"?q.teamName:void 0,agentColor:typeof q.agentColor==="string"?q.agentColor:void 0,planModeRequired:typeof q.planModeRequired==="boolean"?q.planModeRequired:void 0,parentSessionId:typeof q.parentSessionId==="string"?q.parentSessionId:void 0,teammateMode:K==="auto"||K==="tmux"||K==="in-process"?K:void 0,agentType:typeof q.agentType==="string"?q.agentType:void 0}}function g(z){try{let q=z.trim(),K=q.startsWith("{")&&q.endsWith("}"),Q;if(K){if(!d(q))process.stderr.write(y.red(`Error: Invalid JSON provided to --settings
|
|
2
|
+
`)),process.exit(1);Q=a("claude-settings",".json",{contentHash:q}),v(Q,q,"utf8")}else{let{resolvedPath:X}=m(S(),z);try{fq(X,"utf8")}catch($){if(f($))process.stderr.write(y.red(`Error: Settings file not found: ${X}
|
|
3
|
+
`)),process.exit(1);throw $}Q=X}C(Q),D()}catch(q){if(q instanceof Error)V(q);process.stderr.write(y.red(`Error processing settings: ${R(q)}
|
|
4
|
+
`)),process.exit(1)}}function n(z){try{let q=p(z);h(q),D()}catch(q){if(q instanceof Error)V(q);process.stderr.write(y.red(`Error processing --setting-sources: ${R(q)}
|
|
5
|
+
`)),process.exit(1)}}async function Wz(z,q){if(!process.stdin.isTTY&&!process.argv.includes("mcp")){if(q==="stream-json")return process.stdin;process.stdin.setEncoding("utf8");let K="",Q=($)=>{K+=$};process.stdin.on("data",Q);let X=await u(process.stdin,3000);if(process.stdin.off("data",Q),X)process.stderr.write(`Warning: no stdin data received in 3s, proceeding without it. If piping from a slow command, redirect stdin explicitly: < /dev/null to skip, or wait longer.
|
|
6
|
+
`);return[z,K].filter(Boolean).join(`
|
|
7
|
+
`)}return z}cq();aq();W();pq();dq();W();_();B();function i(){let z=J();if(z.autoUpdates!==!1||z.autoUpdatesProtectedForNative===!0)return;try{let q=H("userSettings")||{};Z("userSettings",{...q,env:{...q.env,DISABLE_AUTOUPDATER:"1"}}),process.env.DISABLE_AUTOUPDATER="1",Y((K)=>{let{autoUpdates:Q,autoUpdatesProtectedForNative:X,...$}=K;return $})}catch(q){V(Error(`Failed to migrate auto-updates: ${q}`))}}W();_();B();function s(){if(!J().bypassPermissionsModeAccepted)return;try{if(!o())Z("userSettings",{skipDangerousModePermissionPrompt:!0});Y((q)=>{if(!("bypassPermissionsModeAccepted"in q))return q;let{bypassPermissionsModeAccepted:K,...Q}=q;return Q})}catch(q){V(Error(`Failed to migrate bypass permissions accepted: ${q}`))}}W();_();B();function e(){let z=r(),q=z.enableAllProjectMcpServers!==void 0,K=z.enabledMcpjsonServers&&z.enabledMcpjsonServers.length>0,Q=z.disabledMcpjsonServers&&z.disabledMcpjsonServers.length>0;if(!q&&!K&&!Q)return;try{let X=H("localSettings")||{},$={},L=[];if(q&&X.enableAllProjectMcpServers===void 0)$.enableAllProjectMcpServers=z.enableAllProjectMcpServers,L.push("enableAllProjectMcpServers");else if(q)L.push("enableAllProjectMcpServers");if(K&&z.enabledMcpjsonServers){let N=X.enabledMcpjsonServers||[];$.enabledMcpjsonServers=[...new Set([...N,...z.enabledMcpjsonServers])],L.push("enabledMcpjsonServers")}if(Q&&z.disabledMcpjsonServers){let N=X.disabledMcpjsonServers||[];$.disabledMcpjsonServers=[...new Set([...N,...z.disabledMcpjsonServers])],L.push("disabledMcpjsonServers")}if(Object.keys($).length>0)Z("localSettings",$);if(L.includes("enableAllProjectMcpServers")||L.includes("enabledMcpjsonServers")||L.includes("disabledMcpjsonServers"))t((N)=>{let{enableAllProjectMcpServers:gq,enabledMcpjsonServers:nq,disabledMcpjsonServers:iq,...Tq}=N;return Tq})}catch(X){V(X)}}k();W();B();var I=new Map([["claude-fable-5","claude-fable-5-1"],["anthropic.claude-fable-5","anthropic.claude-fable-5-1"]]);function w(z){return I.get(z)??z}function mq(z){if(!z)return null;let q={};if(z.model!==void 0){let K=w(z.model);if(K!==z.model)q.model=K}if(z.advisorModel!==void 0){let K=w(z.advisorModel);if(K!==z.advisorModel)q.advisorModel=K}if(z.availableModels){let K=z.availableModels.map(w);if(K.some((Q,X)=>Q!==z.availableModels?.[X]))q.availableModels=K}if(z.modelOverrides){let K=Object.entries(z.modelOverrides),Q=K.filter(([X])=>I.has(X));if(Q.length>0)q.modelOverrides={...Object.fromEntries(Q.map(([X])=>[X,void 0])),...Object.fromEntries(K.map(([X,$])=>[w(X),$]))}}return Object.keys(q).length>0?q:null}function Sq(z){if(!z)return null;let K=Object.entries(z).filter(([,X])=>X.activeModelForProject!==void 0&&I.has(X.activeModelForProject));if(K.length===0)return null;let Q={...z};for(let[X,$]of K)Q[X]={...$,activeModelForProject:w($.activeModelForProject)};return Q}function qq(){let z=mq(H("userSettings"));if(z)Z("userSettings",z);let q=Sq(J().projects);if(q)Y((Q)=>({...Q,projects:q}));let K=G();if(K){let Q=w(K);if(Q!==K)O(Q)}}B();function zq(){let q=H("userSettings")?.model;if(typeof q==="string"){if(q.startsWith("fennec-latest[1m]"))Z("userSettings",{model:"opus[1m]"});else if(q.startsWith("fennec-latest"))Z("userSettings",{model:"opus"});else if(q.startsWith("fennec-fast-latest")||q.startsWith("opus-4-5-fast"))Z("userSettings",{model:"opus[1m]",fastMode:!0})}}W();Qq();x();B();function Xq(){if(U()!=="firstParty")return;if(!Kq())return;let z=H("userSettings")?.model;if(z!=="claude-opus-4-20250514"&&z!=="claude-opus-4-1-20250805"&&z!=="claude-opus-4-0"&&z!=="claude-opus-4-1")return;Z("userSettings",{model:"opus"}),Y((q)=>({...q,legacyOpusMigrationTimestamp:Date.now()}))}Qq();B();function Jq(){if(!Hq())return;if(H("userSettings")?.model!=="opus")return;if(Yq(Zq()))return;let q="opus[1m]",K=P(q)===P($q())?void 0:q;Z("userSettings",{model:K})}W();function Vq(){Y((z)=>{let q=z.replBridgeEnabled;if(q===void 0)return z;if(z.remoteControlAtStartup!==void 0)return z;let K={...z,remoteControlAtStartup:Boolean(q)};return delete K.replBridgeEnabled,K})}k();W();x();B();function Bq(){if(U()!=="firstParty")return;if(J().sonnet1m45MigrationComplete)return;if(H("userSettings")?.model==="sonnet[1m]")Z("userSettings",{model:"sonnet-4-5-20250929[1m]"});if(G()==="sonnet[1m]")O("sonnet-4-5-20250929[1m]");Y((Q)=>({...Q,sonnet1m45MigrationComplete:!0}))}Lq();W();x();B();function wq(){if(U()!=="firstParty")return;if(!A()&&!Wq()&&!Uq())return;let z=H("userSettings")?.model;if(z!=="claude-sonnet-4-5-20250929"&&z!=="claude-sonnet-4-5-20250929[1m]"&&z!=="sonnet-4-5-20250929"&&z!=="sonnet-4-5-20250929[1m]")return;let q=z.endsWith("[1m]");if(Z("userSettings",{model:q?"sonnet[1m]":"sonnet"}),J().numStartups>1)Y((Q)=>({...Q,sonnet45To46MigrationTimestamp:Date.now()}))}W();_();uq();B();function yq(){if(J().hasResetAutoModeOptInForDefaultOffer)return;if(Nq()!=="enabled")return;try{let q=H("userSettings");if(q?.skipAutoPermissionPrompt&&q?.permissions?.defaultMode!=="auto")Z("userSettings",{skipAutoPermissionPrompt:void 0});Y((K)=>{if(K.hasResetAutoModeOptInForDefaultOffer)return K;return{...K,hasResetAutoModeOptInForDefaultOffer:!0}})}catch(q){V(Error(`Failed to reset auto mode opt-in: ${q}`))}}Lq();W();x();B();function kq(){if(J().opusProMigrationComplete)return;if(U()!=="firstParty"||!A()){Y((Q)=>({...Q,opusProMigrationComplete:!0}));return}if(_q()?.model===void 0){let Q=Date.now();Y((X)=>({...X,opusProMigrationComplete:!0,opusProMigrationTimestamp:Q}))}else Y((Q)=>({...Q,opusProMigrationComplete:!0}))}lq();k();var M=13;function FK(){if(J().migrationVersion!==M)i(),s(),e(),kq(),Bq(),Xq(),wq(),zq(),Jq(),Vq(),qq(),yq(),Y((z)=>z.migrationVersion===M?z:{...z,migrationVersion:M});Aq().catch(()=>{})}function EK(){if(Gq()){T("info","prefetch_system_context_non_interactive"),E();return}if(xq())T("info","prefetch_system_context_has_trust"),E();else T("info","prefetch_system_context_skipped_no_trust")}function jK(){F("eagerLoadSettings_start");let z=j("--settings");if(z)g(z);let q=j("--setting-sources");if(q!==void 0)n(q);F("eagerLoadSettings_end")}function bK(z){if(process.env.CLAUDE_CODE_ENTRYPOINT)return;let q=process.argv.slice(2),K=q.indexOf("mcp");if(K!==-1&&q[K+1]==="serve"){process.env.CLAUDE_CODE_ENTRYPOINT="mcp";return}if(Oq(process.env.CLAUDE_CODE_ACTION)){process.env.CLAUDE_CODE_ENTRYPOINT="claude-code-github-action";return}process.env.CLAUDE_CODE_ENTRYPOINT=z?"sdk-cli":"cli"}
|
|
8
|
+
export{Jz as E,Vz as F,Bz as G,Wz as H,FK as I,EK as J,jK as K,bK as L};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import{Lb as v0}from"./cli-1.1.34-h9h6119y.mjs";import{Wd as H0,Zd as u9}from"./cli-1.1.34-p9rd6dtm.mjs";import{ei as QZ,fi as b6}from"./cli-1.1.34-7npd3as5.mjs";import{Yi as O0,Zi as o9}from"./cli-1.1.34-5jnn83ne.mjs";import{$E as $Z,$M as AY,$w as O6,BP as Q6,CS as M0,GM as P0,GS as N0,Gr as lQ,Gx as jZ,HM as e9,Hr as h0,Hx as kY,Ir as UQ,JS as B0,Jr as _0,LJ as r,LQ as RQ,PQ as CQ,Pv as G0,Qv as k9,RJ as E0,Rj as XQ,TD as A0,Uj as _Z,VG as FZ,VM as DY,WD as i9,WG as cY,Wt as IZ,XM as _Y,Xt as sY,YJ as j0,Yt as V0,Zj as w0,Zt as x9,_w as n0,aF as uY,el as WY,fD as CZ,fO as bZ,fR as _Q,fl as F6,fo as wY,gD as SZ,gN as k6,gl as XY,gm as AZ,go as x6,hD as xZ,hl as KY,hm as CY,iD as kZ,iO as mY,il as $Q,ir as D0,jD as pZ,jK as J0,jl as tQ,kA as UZ,kD as uZ,kK as p9,kl as VY,kx as yZ,lD as xQ,ll as ZQ,lx as OZ,mD as kQ,ml as sQ,mx as SY,nA as PZ,nD as cZ,nP as $0,nl as GY,oA as TQ,oD as mZ,oE as y0,ol as JY,pD as dZ,pl as m0,pt as K0,px as EZ,qD as gZ,qE as r9,qt as S9,qx as xY,rD as lZ,rn as yQ,sA as pY,sD as aZ,sK as g,tD as nZ,tS as f0,uD as iZ,uK as t9,un as OQ,vD as rZ,vP as F0,vn as hZ,vp as u0,wD as Z9,wM as U0,xM as s9,xP as b0,yp as H6}from"./cli-1.1.34-84707tma.mjs";import{IX as k,KX as f,pY as RY,wW as IY}from"./cli-1.1.34-59csbz1a.mjs";import{S1 as m,T1 as y,U1 as M,V1 as XZ}from"./cli-1.1.34-8vfey6b5.mjs";import{W1 as hY}from"./cli-1.1.34-7ad0dt89.mjs";import{$5 as J6,A3 as k0,E3 as G6,i5 as p0}from"./cli-1.1.34-yrk4mxjw.mjs";import{$_ as v6,$ca as S0,Ica as qY,K9 as wQ,Kaa as C6,L9 as bY,M_ as X0,O_ as C9,Pca as S6,Q_ as c0,S$ as R6,Yda as x0,_ca as C0,bda as K6,f_ as a0,fba as fQ,gga as wZ,hba as fY,jea as V6,jga as TY,k_ as y6,naa as zY,nga as o,sga as DZ,v$ as LY}from"./cli-1.1.34-wwjkncsv.mjs";import{Bga as GZ,Jga as JZ,Pga as FY}from"./cli-1.1.34-p5v4dwpg.mjs";import{Aha as L,Bha as AQ,yha as Q,zha as GQ}from"./cli-1.1.34-92kps6jn.mjs";import{Eha as R0,Gha as X6,Iha as MQ,Lha as HZ,Mha as NZ,Nha as BZ,Oha as vZ,Qha as LZ,Rha as zZ,bia as qZ,gia as MY}from"./cli-1.1.34-0t1h2v5v.mjs";import{Via as s,Wia as Y0,_ia as jQ,qja as T,tia as l0,tja as VQ,via as A6}from"./cli-1.1.34-xwg0x7p4.mjs";import{vja as W0,zja as R9}from"./cli-1.1.34-fm4a40ta.mjs";import{Cja as Z0,Qja as vY,Rja as iQ,Xja as cQ}from"./cli-1.1.34-d0sgyvr1.mjs";import{Mka as L0,Poa as QY,Rka as HQ,Roa as ZY,Soa as eQ,Uoa as YY,Xka as ZZ,Yka as g0,upa as JQ,wna as I0,xoa as e0,yoa as LQ}from"./cli-1.1.34-qef4zhc3.mjs";import{Eqa as VZ,Hqa as IQ,Iqa as DQ,Jqa as gQ}from"./cli-1.1.34-4x915j9t.mjs";var oY={};IQ(oY,{selectableUserMessagesFilter:()=>TZ,messagesAfterAreOnlySynthetic:()=>rY,MessageSelector:()=>gY});import{randomUUID as dY}from"crypto";import*as QQ from"path";function fZ(Y){return Y.type==="text"}function hQ(Y){return Y==="summarize"||Y==="summarize_up_to"}function gY({messages:Y,onPreRestore:Z,onRestoreMessage:W,onRestoreCode:X,onSummarize:K,onClose:J,preselectedMessage:G}){let V=bZ((A)=>A.fileHistory),[B,v]=I.useState(void 0),N=UZ(),w=I.useMemo(dY,[]),O=I.useMemo(()=>[...Y.filter(TZ),{...r({content:""}),uuid:w}],[Y,w]),[$,z]=I.useState(O.length-1),h=Math.max(0,Math.min($-Math.floor(bQ/2),O.length-bQ)),E=O.length>1,[D,_]=I.useState(G),[R,F]=I.useState(void 0);I.useEffect(()=>{if(!G||!N)return;let A=!1;return TQ(V,G.uuid).then((S)=>{if(!A)F(S)}),()=>{A=!0}},[G,N,V]);let[j,U]=I.useState(!1),[c,d]=I.useState(null),[n,C]=I.useState("both"),[x,q]=I.useState(""),[b,P]=I.useState("");function H(A){let S=A?[{value:"both",label:"Restore code and conversation"},{value:"conversation",label:"Restore conversation"},{value:"code",label:"Restore code"}]:[{value:"conversation",label:"Restore conversation"}],p={type:"input",placeholder:"add context (optional)",initialValue:"",allowEmptySubmitToCancel:!0,showLabelWithValue:!0,labelValueSeparator:": "};return S.push({value:"summarize",label:"Summarize from here",...p,onChange:q}),S.push({value:"nevermind",label:"Never mind"}),S}async function l(A){Z(),U(!0);try{await W(A),U(!1),J()}catch(S){o(S),U(!1),v(`Failed to restore the conversation:
|
|
2
|
+
${S}`)}}async function i(A){let S=Y.indexOf(A),p=Y.length-1-S;if(!Y.includes(A)){J();return}if(!N){await l(A);return}let u=await TQ(V,A.uuid);_(A),F(u)}async function YQ(A){if(!D){v("Message not found.");return}if(A==="nevermind"){if(G)J();else _(void 0);return}if(hQ(A)){Z(),U(!0),d(A),v(void 0);try{let u=A==="summarize_up_to"?"up_to":"from",e=(u==="up_to"?b:x).trim()||void 0;await K(D,e,u),U(!1),d(null),_(void 0),J()}catch(u){o(u),U(!1),d(null),_(void 0),v(`Failed to summarize:
|
|
3
|
+
${u}`)}return}Z(),U(!0),v(void 0);let S=null,p=null;if(A==="code"||A==="both")try{await X(D)}catch(u){S=u,o(S)}if(A==="conversation"||A==="both")try{await W(D)}catch(u){p=u,o(p)}if(U(!1),_(void 0),p&&S)v(`Failed to restore the conversation and code:
|
|
4
|
+
${p}
|
|
5
|
+
${S}`);else if(p)v(`Failed to restore the conversation:
|
|
6
|
+
${p}`);else if(S)v(`Failed to restore the code:
|
|
7
|
+
${S}`);else J()}let WQ=EZ(),t=I.useCallback(()=>{if(D&&!G){_(void 0);return}J()},[J,D,G]),OY=I.useCallback(()=>z((A)=>Math.max(0,A-1)),[]),EY=I.useCallback(()=>z((A)=>Math.min(O.length-1,A+1)),[O.length]),jY=I.useCallback(()=>z(0),[]),UY=I.useCallback(()=>z(O.length-1),[O.length]),PY=I.useCallback(()=>{let A=O[$];if(A)i(A)},[O,$,i]);yZ("confirm:no",t,{context:"Confirmation",isActive:!D}),OZ({"messageSelector:up":OY,"messageSelector:down":EY,"messageSelector:top":jY,"messageSelector:bottom":UY,"messageSelector:select":PY},{context:"MessageSelector",isActive:!j&&!B&&!D&&E});let[YZ,WZ]=I.useState({});I.useEffect(()=>{async function A(){if(!N)return;Promise.all(O.map(async(S,p)=>{if(S.uuid!==w){let u=PZ(V,S.uuid),e=O.at(p+1),qQ=u?iY(Y,S.uuid,e?.uuid!==w?e?.uuid:void 0):void 0;if(qQ!==void 0)WZ((a)=>({...a,[p]:qQ}));else WZ((a)=>({...a,[p]:void 0}))}}))}A()},[O,Y,w,V,N]);let zQ=N&&R?.filesChanged&&R.filesChanged.length>0,$Y=!B&&!D&&!G&&E;return M(k,{flexDirection:"column",width:"100%",children:[y(jZ,{color:"suggestion"}),M(k,{flexDirection:"column",marginX:1,gap:1,children:[y(f,{bold:!0,color:"suggestion",children:"Rewind"}),B&&y(m,{children:M(f,{color:"error",children:["Error: ",B]})}),!E&&y(m,{children:y(f,{children:"Nothing to rewind to yet."})}),!B&&D&&E&&M(m,{children:[M(f,{children:["Confirm you want to restore"," ",!R&&"the conversation ","to the point before you sent this message:"]}),M(k,{flexDirection:"column",paddingLeft:1,borderStyle:"single",borderRight:!1,borderTop:!1,borderBottom:!1,borderLeft:!0,borderLeftDimColor:!0,children:[y(KZ,{userMessage:D,color:"text",isCurrent:!1}),M(f,{dimColor:!0,children:["(",JZ(new Date(D.timestamp)),")"]})]}),y(aY,{selectedRestoreOption:n,canRestoreCode:!!zQ,diffStatsForRestore:R}),j&&hQ(c)?M(k,{flexDirection:"row",gap:1,children:[y(FZ,{}),y(f,{children:"Summarizing…"})]}):y($Z,{isDisabled:j,options:H(!!zQ),defaultFocusValue:zQ?"both":"conversation",onFocus:(A)=>C(A),onChange:(A)=>YQ(A),onCancel:()=>G?J():_(void 0)}),zQ&&y(k,{marginBottom:1,children:M(f,{dimColor:!0,children:[wQ.warning," Rewinding does not affect files edited manually or via bash."]})})]}),$Y&&M(m,{children:[N?y(f,{children:"Restore the code and/or conversation to the point before…"}):y(f,{children:"Restore and fork the conversation to the point before…"}),y(k,{width:"100%",flexDirection:"column",children:O.slice(h,h+bQ).map((A,S)=>{let p=h+S,u=p===$,e=A.uuid===w,qQ=p in YZ,a=YZ[p],FQ=a?.filesChanged&&a.filesChanged.length;return M(k,{height:N?3:2,overflow:"hidden",width:"100%",flexDirection:"row",children:[y(k,{width:2,minWidth:2,children:u?M(f,{color:"permission",bold:!0,children:[wQ.pointer," "]}):y(f,{children:" "})}),M(k,{flexDirection:"column",children:[y(k,{flexShrink:1,height:1,overflow:"hidden",children:y(KZ,{userMessage:A,color:u?"suggestion":void 0,isCurrent:e,paddingRight:10})}),N&&qQ&&y(k,{height:1,flexDirection:"row",children:a?y(m,{children:y(f,{dimColor:!u,color:"inactive",children:FQ?M(m,{children:[FQ===1&&a.filesChanged[0]?`${QQ.basename(a.filesChanged[0])} `:`${FQ} files changed `,y(MZ,{diffStats:a})]}):y(m,{children:"No code changes"})})}):M(f,{dimColor:!0,color:"warning",children:[wQ.warning," No code restore"]})})]})]},A.uuid)})})]}),!D&&y(f,{dimColor:!0,italic:!0,children:WQ.pending?M(m,{children:["Press ",WQ.keyName," again to exit"]}):M(m,{children:[!B&&E&&"Enter to continue · ","Esc to exit"]})})]})]})}function lY(Y){switch(Y){case"summarize":return"Messages after this point will be summarized.";case"summarize_up_to":return"Preceding messages will be summarized. This and subsequent messages will remain unchanged — you will stay at the end of the conversation.";case"both":case"conversation":return"The conversation will be forked.";case"code":case"nevermind":return"The conversation will be unchanged."}}function aY(Y){let Z=KQ.c(11),{selectedRestoreOption:W,canRestoreCode:X,diffStatsForRestore:K}=Y,J=X&&(W==="both"||W==="code"),G;if(Z[0]!==W)G=lY(W),Z[0]=W,Z[1]=G;else G=Z[1];let V;if(Z[2]!==G)V=y(f,{dimColor:!0,children:G}),Z[2]=G,Z[3]=V;else V=Z[3];let B;if(Z[4]!==K||Z[5]!==W||Z[6]!==J)B=!hQ(W)&&(J?y(nY,{diffStatsForRestore:K}):y(f,{dimColor:!0,children:"The code will be unchanged."})),Z[4]=K,Z[5]=W,Z[6]=J,Z[7]=B;else B=Z[7];let v;if(Z[8]!==V||Z[9]!==B)v=M(k,{flexDirection:"column",children:[V,B]}),Z[8]=V,Z[9]=B,Z[10]=v;else v=Z[10];return v}function nY(Y){let Z=KQ.c(14),{diffStatsForRestore:W}=Y;if(W===void 0)return;if(!W.filesChanged||!W.filesChanged[0]){let V;if(Z[0]===Symbol.for("react.memo_cache_sentinel"))V=y(f,{dimColor:!0,children:"The code has not changed (nothing will be restored)."}),Z[0]=V;else V=Z[0];return V}let X=W.filesChanged.length,K;if(X===1){let V;if(Z[1]!==W.filesChanged[0])V=QQ.basename(W.filesChanged[0]||""),Z[1]=W.filesChanged[0],Z[2]=V;else V=Z[2];K=V}else if(X===2){let V;if(Z[3]!==W.filesChanged[0])V=QQ.basename(W.filesChanged[0]||""),Z[3]=W.filesChanged[0],Z[4]=V;else V=Z[4];let B=V,v;if(Z[5]!==W.filesChanged[1])v=QQ.basename(W.filesChanged[1]||""),Z[5]=W.filesChanged[1],Z[6]=v;else v=Z[6];K=`${B} and ${v}`}else{let V;if(Z[7]!==W.filesChanged[0])V=QQ.basename(W.filesChanged[0]||""),Z[7]=W.filesChanged[0],Z[8]=V;else V=Z[8];K=`${V} and ${W.filesChanged.length-1} other files`}let J;if(Z[9]!==W)J=y(MZ,{diffStats:W}),Z[9]=W,Z[10]=J;else J=Z[10];let G;if(Z[11]!==K||Z[12]!==J)G=y(m,{children:M(f,{dimColor:!0,children:["The code will be restored"," ",J," in ",K,"."]})}),Z[11]=K,Z[12]=J,Z[13]=G;else G=Z[13];return G}function MZ(Y){let Z=KQ.c(7),{diffStats:W}=Y;if(!W||!W.filesChanged)return;let X;if(Z[0]!==W.insertions)X=M(f,{color:"diffAddedWord",children:["+",W.insertions," "]}),Z[0]=W.insertions,Z[1]=X;else X=Z[1];let K;if(Z[2]!==W.deletions)K=M(f,{color:"diffRemovedWord",children:["-",W.deletions]}),Z[2]=W.deletions,Z[3]=K;else K=Z[3];let J;if(Z[4]!==X||Z[5]!==K)J=M(m,{children:[X,K]}),Z[4]=X,Z[5]=K,Z[6]=J;else J=Z[6];return J}function KZ(Y){let Z=KQ.c(31),{userMessage:W,color:X,dimColor:K,isCurrent:J,paddingRight:G}=Y,{columns:V}=AZ();if(J){let F;if(Z[0]!==X||Z[1]!==K)F=y(k,{width:"100%",children:y(f,{italic:!0,color:X,dimColor:K,children:"(current)"})}),Z[0]=X,Z[1]=K,Z[2]=F;else F=Z[2];return F}let B=W.message.content,v=typeof B==="string"?null:B[B.length-1],N,w,O,$,z,h,E,D;if(Z[3]!==X||Z[4]!==V||Z[5]!==B||Z[6]!==K||Z[7]!==v||Z[8]!==G){D=Symbol.for("react.early_return_sentinel");Q:{let F=typeof B==="string"?B.trim():v&&fZ(v)?v.text.trim():"(no prompt)",j=wZ(F);if(_Z(j)){let U;if(Z[17]!==X||Z[18]!==K)U=y(k,{flexDirection:"row",width:"100%",children:y(f,{italic:!0,color:X,dimColor:K,children:"((empty message))"})}),Z[17]=X,Z[18]=K,Z[19]=U;else U=Z[19];D=U;break Q}if(j.includes("<bash-input>")){let U=XQ(j,"bash-input");if(U){let c;if(Z[20]===Symbol.for("react.memo_cache_sentinel"))c=y(f,{color:"bashBorder",children:"!"}),Z[20]=c;else c=Z[20];D=M(k,{flexDirection:"row",width:"100%",children:[c,M(f,{color:X,dimColor:K,children:[" ",U]})]});break Q}}if(j.includes(`<${MQ}>`)){let U=XQ(j,MQ),c=XQ(j,"command-args"),d=XQ(j,"skill-format")==="true";if(U)if(d){D=y(k,{flexDirection:"row",width:"100%",children:M(f,{color:X,dimColor:K,children:["Skill(",U,")"]})});break Q}else{D=y(k,{flexDirection:"row",width:"100%",children:M(f,{color:X,dimColor:K,children:["/",U," ",c]})});break Q}}w=k,h="row",E="100%",N=f,O=X,$=K,z=G?GZ(j,V-G,!0):j.slice(0,500).split(`
|
|
8
|
+
`).slice(0,4).join(`
|
|
9
|
+
`)}Z[3]=X,Z[4]=V,Z[5]=B,Z[6]=K,Z[7]=v,Z[8]=G,Z[9]=N,Z[10]=w,Z[11]=O,Z[12]=$,Z[13]=z,Z[14]=h,Z[15]=E,Z[16]=D}else N=Z[9],w=Z[10],O=Z[11],$=Z[12],z=Z[13],h=Z[14],E=Z[15],D=Z[16];if(D!==Symbol.for("react.early_return_sentinel"))return D;let _;if(Z[21]!==N||Z[22]!==O||Z[23]!==$||Z[24]!==z)_=y(N,{color:O,dimColor:$,children:z}),Z[21]=N,Z[22]=O,Z[23]=$,Z[24]=z,Z[25]=_;else _=Z[25];let R;if(Z[26]!==w||Z[27]!==h||Z[28]!==E||Z[29]!==_)R=y(w,{flexDirection:h,width:E,children:_}),Z[26]=w,Z[27]=h,Z[28]=E,Z[29]=_,Z[30]=R;else R=Z[30];return R}function iY(Y,Z,W){let X=Y.findIndex((B)=>B.uuid===Z);if(X===-1)return;let K=W?Y.findIndex((B)=>B.uuid===W):Y.length;if(K===-1)K=Y.length;let J=[],G=0,V=0;for(let B=X+1;B<K;B++){let v=Y[B];if(!v||!CQ(v))continue;let N=v.toolUseResult;if(!N||!N.filePath||!N.structuredPatch)continue;if(!J.includes(N.filePath))J.push(N.filePath);try{if("type"in N&&N.type==="create")G+=N.content.split(/\r?\n/).length;else for(let w of N.structuredPatch){let O=fQ(w.lines,(z)=>z.startsWith("+")),$=fQ(w.lines,(z)=>z.startsWith("-"));G+=O,V+=$}}catch{continue}}return{filesChanged:J,insertions:G,deletions:V}}function TZ(Y){if(Y.type!=="user")return!1;if(Array.isArray(Y.message.content)&&Y.message.content[0]?.type==="tool_result")return!1;if(RQ(Y))return!1;if(Y.isMeta)return!1;if(Y.isCompactSummary||Y.isVisibleInTranscriptOnly)return!1;let Z=Y.message.content,W=typeof Z==="string"?null:Z[Z.length-1],X=typeof Z==="string"?Z.trim():W&&fZ(W)?W.text.trim():"";if(X.indexOf(`<${BZ}>`)!==-1||X.indexOf(`<${vZ}>`)!==-1||X.indexOf(`<${HZ}>`)!==-1||X.indexOf(`<${NZ}>`)!==-1||X.indexOf(`<${zZ}>`)!==-1||X.indexOf(`<${LZ}>`)!==-1||X.indexOf(`<${qZ}`)!==-1)return!1;return!0}function rY(Y,Z){for(let W=Z+1;W<Y.length;W++){let X=Y[W];if(!X)continue;if(RQ(X))continue;if(CQ(X))continue;if(X.type==="progress")continue;if(X.type==="system")continue;if(X.type==="attachment")continue;if(X.type==="user"&&X.isMeta)continue;if(X.type==="assistant"){let K=X.message.content;if(Array.isArray(K)){if(K.some((G)=>G.type==="text"&&G.text.trim()||G.type==="tool_use"))return!1}continue}if(X.type==="user")return!1}return!0}var KQ,I,bQ=7;var tY=DQ(()=>{bY();mY();pY();DZ();xY();RY();SY();TY();_Q();uY();cY();CY();MY();fY();FY();kY();XZ();KQ=VZ(IY(),1),I=VZ(hY(),1)});var D6={};IQ(D6,{getCronJitterConfig:()=>w6});function w6(){let Y=c0("tengu_kairos_cron_config",ZQ,L6),Z=q6().safeParse(Y);return Z.success?Z.data:ZQ}var L6=60000,aQ=1800000,z6=2592000000,q6;var _6=DQ(()=>{GQ();v6();m0();AQ();q6=L(()=>Q.object({recurringFrac:Q.number().min(0).max(1),recurringCapMs:Q.number().int().min(0).max(aQ),oneShotMaxMs:Q.number().int().min(0).max(aQ),oneShotFloorMs:Q.number().int().min(0).max(aQ),oneShotMinuteMod:Q.number().int().min(1).max(60),recurringMaxAgeMs:Q.number().int().min(0).max(z6).default(ZQ.recurringMaxAgeMs)}).refine((Y)=>Y.oneShotFloorMs<=Y.oneShotMaxMs))});import{mkdir as E6,readFile as j6,unlink as i0,writeFile as rQ}from"fs/promises";import{dirname as U6,join as r0}from"path";function BQ(Y){return r0(Y??g0(),P6)}async function o0(Y){let Z;try{Z=await j6(BQ(Y),"utf8")}catch{return}let W=$6().safeParse(a0(Z,!1));return W.success?W.data:void 0}async function d0(Y,Z){let W=BQ(Z),X=s(Y);try{return await rQ(W,X,{flag:"wx"}),!0}catch(K){let J=iQ(K);if(J==="EEXIST")return!1;if(J==="ENOENT"){await E6(U6(W),{recursive:!0});try{return await rQ(W,X,{flag:"wx"}),!0}catch(G){if(iQ(G)==="EEXIST")return!1;throw G}}throw K}}function nQ(Y){PQ?.(),PQ=l0(async()=>{await vQ(Y)})}async function oQ(Y){let Z=Y?.dir,W=Y?.lockIdentity??HQ(),X={sessionId:W,pid:process.pid,acquiredAt:Date.now()};if(await d0(X,Z))return NQ=void 0,nQ(Y),T(`[ScheduledTasks] acquired scheduler lock (PID ${process.pid})`),!0;let K=await o0(Z);if(K?.sessionId===W){if(K.pid!==process.pid)await rQ(BQ(Z),s(X)),nQ(Y);return!0}if(K&&n0(K.pid)){if(NQ!==K.sessionId)NQ=K.sessionId,T(`[ScheduledTasks] scheduler lock held by session ${K.sessionId} (PID ${K.pid})`);return!1}if(K)T(`[ScheduledTasks] recovering stale scheduler lock from PID ${K.pid}`);if(await i0(BQ(Z)).catch(()=>{}),await d0(X,Z))return NQ=void 0,nQ(Y),!0;return!1}async function vQ(Y){PQ?.(),PQ=void 0,NQ=void 0;let Z=Y?.dir,W=Y?.lockIdentity??HQ(),X=await o0(Z);if(!X||X.sessionId!==W)return;try{await i0(BQ(Z)),T("[ScheduledTasks] released scheduler lock")}catch{}}var P6,$6,PQ,NQ;var t0=DQ(()=>{GQ();JQ();A6();VQ();cQ();O6();y6();AQ();jQ();P6=r0(".claudin","scheduled_tasks.lock"),$6=L(()=>Q.object({sessionId:Q.string(),pid:Q.number(),acquiredAt:Q.number()}))});var h6={};IQ(h6,{takeDueSessionWakeup:()=>NY,isRecurringTaskAged:()=>HY,createCronScheduler:()=>T6,buildMissedTaskNotification:()=>BY});function HY(Y,Z,W){if(W===0)return!1;return Boolean(Y.recurring&&!Y.permanent&&Z-Y.createdAt>=W)}function NY(Y){let Z=eQ();if(!Z||Y<Z.fireAtMs)return null;return YY(),{prompt:QZ(Z.prompt),reason:Z.reason}}function T6(Y){let{onFire:Z,isLoading:W,assistantMode:X=!1,onFireTask:K,onMissed:J,onWakeupFire:G,dir:V,lockIdentity:B,getJitterConfig:v,isKilled:N,filter:w}=Y,O=V||B?{dir:V,lockIdentity:B}:void 0,$=[],z=new Map,h=new Set,E=new Set,D=null,_=null,R=null,F=null,j=!1,U=!1;async function c(C){let x=await KY(V);if(j)return;if($=x,!C)return;let q=Date.now(),b=JY(x,q).filter((P)=>!P.recurring&&!h.has(P.id)&&(!w||w(P)));if(b.length>0){for(let P of b)h.add(P.id),z.set(P.id,1/0);if(J)J(b);else Z(BY(b));tQ(b.map((P)=>P.id),V).catch((P)=>T(`[ScheduledTasks] failed to remove missed tasks: ${P}`)),T(`[ScheduledTasks] surfaced ${b.length} missed one-shot task(s)`)}}function d(){if(N?.())return;if(W()&&!X)return;let C=Date.now(),x=new Set,q=[],b=v?.()??ZQ;function P(H,l){if(w&&!w(H))return;if(x.add(H.id),E.has(H.id))return;let i=z.get(H.id);if(i===void 0)i=H.recurring?sQ(H.cron,H.lastFiredAt??H.createdAt,H.id,b)??1/0:GY(H.cron,H.createdAt,H.id,b)??1/0,z.set(H.id,i),T(`[ScheduledTasks] scheduled ${H.id} for ${i===1/0?"never":new Date(i).toISOString()}`);if(C<i)return;T(`[ScheduledTasks] firing ${H.id}${H.recurring?" (recurring)":""}`);let YQ=V===void 0?QZ(H.prompt,void 0,H.agentId):H.prompt;if(K)K(YQ===H.prompt?H:{...H,prompt:YQ});else Z(YQ);let WQ=HY(H,C,b.recurringMaxAgeMs);if(WQ){let t=Math.floor((C-H.createdAt)/1000/60/60);T(`[ScheduledTasks] recurring task ${H.id} aged out (${t}h since creation), deleting after final fire`)}if(H.recurring&&!WQ){let t=sQ(H.cron,C,H.id,b)??1/0;if(z.set(H.id,t),!l)q.push(H.id)}else if(l)ZY([H.id]),z.delete(H.id);else E.add(H.id),tQ([H.id],V).catch((t)=>T(`[ScheduledTasks] failed to remove task ${H.id}: ${t}`)).finally(()=>E.delete(H.id)),z.delete(H.id)}if(U){for(let H of $)P(H,!1);if(q.length>0){for(let H of q)E.add(H);VY(q,C,V).catch((H)=>T(`[ScheduledTasks] failed to persist lastFiredAt: ${H}`)).finally(()=>{for(let H of q)E.delete(H)})}}if(V===void 0){for(let l of QY())P(l,!0);let H=NY(C);if(H!==null)if(T("[ScheduledTasks] firing pending ScheduleWakeup"),G)G(H.prompt,H.reason);else Z(H.prompt)}if(x.size===0){z.clear();return}for(let H of z.keys())if(!x.has(H))z.delete(H)}async function n(){if(j)return;if(D)clearInterval(D),D=null;let{default:C}=await import("./index-1.1.34-wgm8z1dz.mjs");if(j)return;if(U=await oQ(O).catch(()=>!1),j){if(U)U=!1,vQ(O);return}if(!U)R=setInterval(()=>{oQ(O).then((q)=>{if(j){if(q)vQ(O);return}if(q){if(U=!0,R)clearInterval(R),R=null}}).catch((q)=>T(String(q),{level:"error"}))},M6),R.unref?.();c(!0);let x=XY(V);F=C.watch(x,{persistent:!1,ignoreInitial:!0,awaitWriteFinish:{stabilityThreshold:f6},ignorePermissionErrors:!0}),F.on("add",()=>void c(!1)),F.on("change",()=>void c(!1)),F.on("unlink",()=>{if(!j)$=[],z.clear()}),_=setInterval(d,s0),_.unref?.()}return{start(){if(j=!1,V!==void 0){T(`[ScheduledTasks] scheduler start() — dir=${V}, hasTasks=${$Q(V)}`),n();return}if(T(`[ScheduledTasks] scheduler start() — enabled=${LQ()}, hasTasks=${$Q()}`),!LQ()&&(X||$Q()))e0(!0);if(LQ()){n();return}D=setInterval((C)=>{if(LQ())C()},s0,n),D.unref?.()},stop(){if(j=!0,D)clearInterval(D),D=null;if(_)clearInterval(_),_=null;if(R)clearInterval(R),R=null;if(F?.close(),F=null,U)U=!1,vQ(O)},getNextFireTime(){let C=1/0;for(let x of z.values())if(x<C)C=x;if(V===void 0){let x=eQ();if(x&&x.fireAtMs<C)C=x.fireAtMs}return C===1/0?null:C}}}function BY(Y){let Z=Y.length>1,W=`The following one-shot scheduled task${Z?"s were":" was"} missed while Claude was not running. ${Z?"They have":"It has"} already been removed from .claudin/scheduled_tasks.json.
|
|
10
|
+
|
|
11
|
+
Do NOT execute ${Z?"these prompts":"this prompt"} yet. First use the AskUserQuestion tool to ask whether to run ${Z?"each one":"it"} now. Only execute if the user confirms.`,X=Y.map((K)=>{let J=`[${WY(K.cron)}, created ${new Date(K.createdAt).toLocaleString()}]`,G=(K.prompt.match(/`+/g)??[]).reduce((B,v)=>Math.max(B,v.length),0),V="`".repeat(Math.max(3,G+1));return`${J}
|
|
12
|
+
${V}
|
|
13
|
+
${K.prompt}
|
|
14
|
+
${V}`});return`${W}
|
|
15
|
+
|
|
16
|
+
${X.join(`
|
|
17
|
+
|
|
18
|
+
`)}`}var s0=1000,f6=300,M6=5000;var I6=DQ(()=>{JQ();F6();m0();t0();VQ();b6()});GQ();VQ();AQ();hZ();sY();var BW=L(()=>Q.object({tool_name:Q.string().describe("The name of the tool requesting permission"),input:Q.record(Q.string(),Q.unknown()).describe("The input for the tool"),tool_use_id:Q.string().optional().describe("The unique tool use request ID")})),RZ=L(()=>Q.enum(["user_temporary","user_permanent","user_reject"]).optional().catch(void 0)),eY=L(()=>Q.object({behavior:Q.literal("allow"),updatedInput:Q.record(Q.string(),Q.unknown()),updatedPermissions:Q.array(IZ()).optional().catch((Y)=>{T(`Malformed updatedPermissions from SDK host ignored: ${Y.error.issues[0]?.message??"unknown"}`,{level:"warn"});return}),toolUseID:Q.string().optional(),decisionClassification:RZ()})),Q9=L(()=>Q.object({behavior:Q.literal("deny"),message:Q.string(),interrupt:Q.boolean().optional(),toolUseID:Q.string().optional(),decisionClassification:RZ()})),SQ=L(()=>Q.union([eY(),Q9()]));function EQ(Y,Z,W,X){let K={type:"permissionPromptTool",permissionPromptToolName:Z.name,toolResult:Y};if(Y.behavior==="allow"){let J=Y.updatedPermissions;if(J)X.setAppState((V)=>({...V,toolPermissionContext:yQ(V.toolPermissionContext,J)})),OQ(J);let G=Object.keys(Y.updatedInput).length>0?Y.updatedInput:W;return{...Y,updatedInput:G,decisionReason:K}}else if(Y.behavior==="deny"&&Y.interrupt)T(`SDK permission prompt deny+interrupt: tool=${Z.name} message=${Y.message}`),X.abortController.abort();return{...Y,decisionReason:K}}import{randomUUID as uQ}from"crypto";GQ();AQ();Z9();var Y9=L(()=>Q.unknown()),W9=L(()=>Q.object({matcher:Q.string().optional(),hookCallbackIds:Q.array(Q.string()),timeout:Q.number().optional()}).describe("Configuration for matching and routing hook callbacks.")),X9=L(()=>Q.object({subtype:Q.literal("initialize"),hooks:Q.record(pZ(),Q.array(W9())).optional(),sdkMcpServers:Q.array(Q.string()).optional(),jsonSchema:Q.record(Q.string(),Q.unknown()).optional(),systemPrompt:Q.string().optional(),appendSystemPrompt:Q.string().optional(),agents:Q.record(Q.string(),dZ()).optional(),promptSuggestions:Q.boolean().optional(),agentProgressSummaries:Q.boolean().optional()}).describe("Initializes the SDK session with hooks, MCP servers, and agent configuration.")),wW=L(()=>Q.object({commands:Q.array(xQ()),agents:Q.array(kQ()),output_style:Q.string(),available_output_styles:Q.array(Q.string()),models:Q.array(cZ()),account:mZ(),pid:Q.number().optional().describe("@internal CLI process PID for tmux socket isolation"),fast_mode_state:rZ().optional()}).describe("Response from session initialization with available commands, models, and account info.")),K9=L(()=>Q.object({subtype:Q.literal("interrupt")}).describe("Interrupts the currently running conversation turn.")),V9=L(()=>Q.object({subtype:Q.literal("can_use_tool"),tool_name:Q.string(),input:Q.record(Q.string(),Q.unknown()),permission_suggestions:Q.array(xZ()).optional(),blocked_path:Q.string().optional(),decision_reason:Q.string().optional(),title:Q.string().optional(),display_name:Q.string().optional(),tool_use_id:Q.string(),agent_id:Q.string().optional(),description:Q.string().optional()}).describe("Requests permission to use a tool with the given input.")),G9=L(()=>Q.object({subtype:Q.literal("set_permission_mode"),mode:kZ()}).describe("Sets the permission mode for tool execution handling.")),J9=L(()=>Q.object({subtype:Q.literal("set_model"),model:Q.string().optional()}).describe("Sets the model to use for subsequent conversation turns.")),H9=L(()=>Q.object({subtype:Q.literal("set_max_thinking_tokens"),max_thinking_tokens:Q.number().nullable()}).describe("Sets the maximum number of thinking tokens for extended thinking.")),N9=L(()=>Q.object({subtype:Q.literal("mcp_status")}).describe("Requests the current status of all MCP server connections.")),B9=L(()=>Q.object({subtype:Q.literal("get_context_usage")}).describe("Requests a breakdown of current context window usage by category.")),v9=L(()=>Q.object({name:Q.string(),tokens:Q.number(),color:Q.string(),isDeferred:Q.boolean().optional()})),L9=L(()=>Q.object({color:Q.string(),isFilled:Q.boolean(),categoryName:Q.string(),tokens:Q.number(),percentage:Q.number(),squareFullness:Q.number()})),DW=L(()=>Q.object({categories:Q.array(v9()),totalTokens:Q.number(),maxTokens:Q.number(),rawMaxTokens:Q.number(),percentage:Q.number(),gridRows:Q.array(Q.array(L9())),model:Q.string(),memoryFiles:Q.array(Q.object({path:Q.string(),type:Q.string(),tokens:Q.number()})),mcpTools:Q.array(Q.object({name:Q.string(),serverName:Q.string(),tokens:Q.number(),isLoaded:Q.boolean().optional()})),deferredBuiltinTools:Q.array(Q.object({name:Q.string(),tokens:Q.number(),isLoaded:Q.boolean()})).optional(),systemTools:Q.array(Q.object({name:Q.string(),tokens:Q.number()})).optional(),systemPromptSections:Q.array(Q.object({name:Q.string(),tokens:Q.number()})).optional(),agents:Q.array(Q.object({agentType:Q.string(),source:Q.string(),tokens:Q.number()})),slashCommands:Q.object({totalCommands:Q.number(),includedCommands:Q.number(),tokens:Q.number()}).optional(),skills:Q.object({totalSkills:Q.number(),includedSkills:Q.number(),tokens:Q.number(),skillFrontmatter:Q.array(Q.object({name:Q.string(),source:Q.string(),tokens:Q.number()}))}).optional(),autoCompactThreshold:Q.number().optional(),isAutoCompactEnabled:Q.boolean(),messageBreakdown:Q.object({toolCallTokens:Q.number(),toolResultTokens:Q.number(),attachmentTokens:Q.number(),assistantMessageTokens:Q.number(),userMessageTokens:Q.number(),toolCallsByType:Q.array(Q.object({name:Q.string(),callTokens:Q.number(),resultTokens:Q.number()})),attachmentsByType:Q.array(Q.object({name:Q.string(),tokens:Q.number()}))}).optional(),apiUsage:Q.object({input_tokens:Q.number(),output_tokens:Q.number(),cache_creation_input_tokens:Q.number(),cache_read_input_tokens:Q.number()}).nullable()}).describe("Breakdown of current context window usage by category (system prompt, tools, messages, etc.).")),z9=L(()=>Q.object({subtype:Q.literal("rewind_files"),user_message_id:Q.string(),dry_run:Q.boolean().optional()}).describe("Rewinds file changes made since a specific user message.")),q9=L(()=>Q.object({subtype:Q.literal("cancel_async_message"),message_uuid:Q.string()}).describe("Drops a pending async user message from the command queue by uuid. No-op if already dequeued for execution.")),w9=L(()=>Q.object({subtype:Q.literal("seed_read_state"),path:Q.string(),mtime:Q.number()}).describe("Seeds the readFileState cache with a path+mtime entry. Use when a prior Read was removed from context (e.g. by snip) so Edit validation would fail despite the client having observed the Read. The mtime lets the CLI detect if the file changed since the seeded Read — same staleness check as the normal path.")),D9=L(()=>Q.object({subtype:Q.literal("hook_callback"),callback_id:Q.string(),input:uZ(),tool_use_id:Q.string().optional()}).describe("Delivers a hook callback with its input data.")),_9=L(()=>Q.object({subtype:Q.literal("mcp_message"),server_name:Q.string(),message:Y9()}).describe("Sends a JSON-RPC message to a specific MCP server.")),A9=L(()=>Q.object({subtype:Q.literal("mcp_set_servers"),servers:Q.record(Q.string(),CZ())}).describe("Replaces the set of dynamically managed MCP servers.")),_W=L(()=>Q.object({added:Q.array(Q.string()),removed:Q.array(Q.string()),errors:Q.record(Q.string(),Q.string())}).describe("Result of replacing the set of dynamically managed MCP servers.")),y9=L(()=>Q.object({subtype:Q.literal("reload_plugins")}).describe("Reloads plugins from disk and returns the refreshed session components.")),AW=L(()=>Q.object({commands:Q.array(xQ()),agents:Q.array(kQ()),plugins:Q.array(Q.object({name:Q.string(),path:Q.string(),source:Q.string().optional()})),mcpServers:Q.array(SZ()),error_count:Q.number()}).describe("Refreshed commands, agents, plugins, and MCP server status after reload.")),O9=L(()=>Q.object({subtype:Q.literal("mcp_reconnect"),serverName:Q.string()}).describe("Reconnects a disconnected or failed MCP server.")),E9=L(()=>Q.object({subtype:Q.literal("mcp_toggle"),serverName:Q.string(),enabled:Q.boolean()}).describe("Enables or disables an MCP server.")),j9=L(()=>Q.object({subtype:Q.literal("stop_task"),task_id:Q.string()}).describe("Stops a running task.")),U9=L(()=>Q.object({subtype:Q.literal("apply_flag_settings"),settings:Q.record(Q.string(),Q.unknown())}).describe("Merges the provided settings into the flag settings layer, updating the active configuration.")),P9=L(()=>Q.object({subtype:Q.literal("get_settings")}).describe("Returns the effective merged settings and the raw per-source settings.")),yW=L(()=>Q.object({effective:Q.record(Q.string(),Q.unknown()),sources:Q.array(Q.object({source:Q.enum(["userSettings","projectSettings","localSettings","flagSettings","policySettings"]),settings:Q.record(Q.string(),Q.unknown())})).describe("Ordered low-to-high priority — later entries override earlier ones."),applied:Q.object({model:Q.string(),effort:Q.enum(["low","medium","high","max"]).nullable()}).optional().describe("Runtime-resolved values after env overrides, session state, and model-specific defaults are applied. Unlike `effective` (disk merge), these reflect what will actually be sent to the API.")}).describe("Effective merged settings plus raw per-source settings in merge order.")),$9=L(()=>Q.object({subtype:Q.literal("elicitation"),mcp_server_name:Q.string(),message:Q.string(),mode:Q.enum(["form","url"]).optional(),url:Q.string().optional(),elicitation_id:Q.string().optional(),requested_schema:Q.record(Q.string(),Q.unknown()).optional()}).describe("Requests the SDK consumer to handle an MCP elicitation (user input request).")),oZ=L(()=>Q.object({action:Q.enum(["accept","decline","cancel"]),content:Q.record(Q.string(),Q.unknown()).optional()}).describe("Response from the SDK consumer for an elicitation request.")),F9=L(()=>Q.union([K9(),V9(),X9(),G9(),J9(),H9(),N9(),B9(),D9(),_9(),z9(),q9(),w9(),A9(),y9(),O9(),E9(),j9(),U9(),P9(),$9()])),pQ=L(()=>Q.object({type:Q.literal("control_request"),request_id:Q.string(),request:F9()})),b9=L(()=>Q.object({subtype:Q.literal("success"),request_id:Q.string(),response:Q.record(Q.string(),Q.unknown()).optional()})),f9=L(()=>Q.object({subtype:Q.literal("error"),request_id:Q.string(),error:Q.string(),pending_permission_requests:Q.array(Q.lazy(()=>pQ())).optional()})),tZ=L(()=>Q.object({type:Q.literal("control_response"),response:Q.union([b9(),f9()])})),M9=L(()=>Q.object({type:Q.literal("control_cancel_request"),request_id:Q.string()}).describe("Cancels a currently open control request.")),sZ=L(()=>Q.object({type:Q.literal("keep_alive")}).describe("Keep-alive message to maintain WebSocket connection.")),T9=L(()=>Q.object({type:Q.literal("update_environment_variables"),variables:Q.record(Q.string(),Q.string())}).describe("Updates environment variables at runtime.")),OW=L(()=>Q.union([iZ(),lZ(),aZ(),nZ(),tZ(),pQ(),M9(),sZ()])),EW=L(()=>Q.union([gZ(),pQ(),tZ(),sZ(),T9()]));x9();VQ();C9();cQ();S9();R9();jQ();GQ();k9();B0();hZ();u9();jQ();p9();jQ();var h9=/\u2028|\u2029/g;function I9(Y){return Y.replace(h9,(Z)=>Z==="\u2028"?"\\u2028":"\\u2029")}function eZ(Y){return I9(s(Y))}var c9="SandboxNetworkAccess";function m9(Y){if(!Y)return;if(Y.type==="classifier")return Y.reason;switch(Y.type){case"rule":case"mode":case"subcommandResults":case"permissionPromptTool":return;case"hook":case"asyncAgent":case"sandboxOverride":case"workingDir":case"safetyCheck":case"other":return Y.reason}}function d9(Y,Z,W,X){let K;try{K=Y.getActivityDescription?.(Z)??Y.getToolUseSummary?.(Z)??Y.userFacingName(Z)}catch{K=Y.name}return{tool_name:Y.name,action_description:K,tool_use_id:W,request_id:X,input:Z}}var g9=1000;class l9{input;replayUserMessages;structuredInput;pendingRequests=new Map;restoredWorkerState=Promise.resolve(null);inputClosed=!1;unexpectedResponseCallback;resolvedToolUseIds=new Set;prependedLines=[];onControlRequestSent;onControlRequestResolved;outbound=new J0;constructor(Y,Z){this.input=Y;this.replayUserMessages=Z;this.input=Y,this.structuredInput=this.read()}trackResolvedToolUseId(Y){if(Y.request.subtype==="can_use_tool"){if(this.resolvedToolUseIds.add(Y.request.tool_use_id),this.resolvedToolUseIds.size>g9){let Z=this.resolvedToolUseIds.values().next().value;if(Z!==void 0)this.resolvedToolUseIds.delete(Z)}}}flushInternalEvents(){return Promise.resolve()}get internalEventsPending(){return 0}prependUserMessage(Y){this.prependedLines.push(s({type:"user",session_id:"",message:{role:"user",content:Y},parent_tool_use_id:null})+`
|
|
19
|
+
`)}async*read(){let Y="",Z=async function*(){for(;;){if(this.prependedLines.length>0)Y=this.prependedLines.join("")+Y,this.prependedLines=[];let W=Y.indexOf(`
|
|
20
|
+
`);if(W===-1)break;let X=Y.slice(0,W);Y=Y.slice(W+1);let K=await this.processLine(X);if(K)X0("info","cli_stdin_message_parsed",{type:K.type}),yield K}}.bind(this);yield*Z();for await(let W of this.input)Y+=W,yield*Z();if(Y){let W=await this.processLine(Y);if(W)yield W}this.inputClosed=!0;for(let W of this.pendingRequests.values())W.reject(Error("Tool permission stream closed before response received"))}getPendingPermissionRequests(){return Array.from(this.pendingRequests.values()).map((Y)=>Y.request).filter((Y)=>Y.request.subtype==="can_use_tool")}setUnexpectedResponseCallback(Y){this.unexpectedResponseCallback=Y}injectControlResponse(Y){let Z=Y.response?.request_id;if(!Z)return;let W=this.pendingRequests.get(Z);if(!W)return;if(this.trackResolvedToolUseId(W.request),this.pendingRequests.delete(Z),this.write({type:"control_cancel_request",request_id:Z}),Y.response.subtype==="error")W.reject(Error(Y.response.error));else{let X=Y.response.response;if(W.schema)try{W.resolve(W.schema.parse(X))}catch(K){W.reject(K)}else W.resolve({})}}setOnControlRequestSent(Y){this.onControlRequestSent=Y}setOnControlRequestResolved(Y){this.onControlRequestResolved=Y}async processLine(Y){if(!Y)return;try{let Z=v0(Y0(Y));if(Z.type==="keep_alive")return;if(Z.type==="update_environment_variables"){let X=Object.keys(Z.variables);for(let[K,J]of Object.entries(Z.variables))process.env[K]=J;T(`[structuredIO] applied update_environment_variables: ${X.join(", ")}`);return}if(Z.type==="control_response"){let X="uuid"in Z&&typeof Z.uuid==="string"?Z.uuid:void 0;if(X)G0(X,"completed");let K=this.pendingRequests.get(Z.response.request_id);if(!K){let V=(Z.response.subtype==="success"?Z.response.response:void 0)?.toolUseID;if(typeof V==="string"&&this.resolvedToolUseIds.has(V)){T(`Ignoring duplicate control_response for already-resolved toolUseID=${V} request_id=${Z.response.request_id}`);return}if(this.unexpectedResponseCallback)await this.unexpectedResponseCallback(Z);return}if(this.trackResolvedToolUseId(K.request),this.pendingRequests.delete(Z.response.request_id),K.request.request.subtype==="can_use_tool"&&this.onControlRequestResolved)this.onControlRequestResolved(Z.response.request_id);if(Z.response.subtype==="error"){K.reject(Error(Z.response.error));return}let J=Z.response.response;if(K.schema)try{K.resolve(K.schema.parse(J))}catch(G){K.reject(G)}else K.resolve({});if(this.replayUserMessages)return Z;return}if(Z.type!=="user"&&Z.type!=="control_request"&&Z.type!=="assistant"&&Z.type!=="system"){T(`Ignoring unknown message type: ${Z.type}`,{level:"warn"});return}if(Z.type==="control_request"){if(!Z.request)Q0("Error: Missing request on control_request");return Z}if(Z.type==="assistant"||Z.type==="system")return Z;let W=Z.message;if(W.role!=="user")Q0(`Error: Expected message role 'user', got '${String(W.role)}'`);return Z}catch(Z){console.error(`Error parsing streaming input line: ${Y}: ${Z}`),process.exit(1)}}async write(Y){W0(eZ(Y)+`
|
|
21
|
+
`)}async sendRequest(Y,Z,W,X=uQ()){let K={type:"control_request",request_id:X,request:Y};if(this.inputClosed)throw Error("Stream closed");if(W?.aborted)throw Error("Request aborted");if(this.outbound.enqueue(K),Y.subtype==="can_use_tool"&&this.onControlRequestSent)this.onControlRequestSent(K);let J=()=>{this.outbound.enqueue({type:"control_cancel_request",request_id:X});let G=this.pendingRequests.get(X);if(G)this.trackResolvedToolUseId(G.request),G.reject(new Z0)};if(W)W.addEventListener("abort",J,{once:!0});try{return await new Promise((G,V)=>{this.pendingRequests.set(X,{request:{type:"control_request",request_id:X,request:Y},resolve:(B)=>{G(B)},reject:V,schema:Z})})}finally{if(W)W.removeEventListener("abort",J);this.pendingRequests.delete(X)}}createCanUseTool(Y){return async(Z,W,X,K,J,G)=>{let V=G??await K0(Z,W,X,K,J);if(V.behavior==="allow"||V.behavior==="deny")return V;let B=new AbortController,v=X.abortController.signal,N=()=>B.abort();v.addEventListener("abort",N,{once:!0});try{let w=a9(Z.name,J,W,X,V.suggestions).then((h)=>({source:"hook",decision:h})),O=uQ();Y?.(d9(Z,W,J,O));let $=this.sendRequest({subtype:"can_use_tool",tool_name:Z.name,input:W,permission_suggestions:V.suggestions,blocked_path:V.blockedPath,decision_reason:m9(V.decisionReason),tool_use_id:J,agent_id:X.agentId},SQ(),B.signal,O).then((h)=>({source:"sdk",result:h})),z=await Promise.race([w,$]);if(z.source==="hook"){if(z.decision)return $.catch(()=>{}),B.abort(),z.decision;let h=await $;return EQ(h.result,Z,W,X)}return EQ(z.result,Z,W,X)}catch(w){return EQ({behavior:"deny",message:`Tool permission request failed: ${w}`,toolUseID:J},Z,W,X)}finally{if(this.getPendingPermissionRequests().length===0)H0("running");v.removeEventListener("abort",N)}}}createHookCallback(Y,Z){return{type:"callback",timeout:Z,callback:async(W,X,K)=>{try{return await this.sendRequest({subtype:"hook_callback",callback_id:Y,input:W,tool_use_id:X||void 0},V0(),K)}catch(J){return console.error(`Error in hook callback ${Y}:`,J),{}}}}}async handleElicitation(Y,Z,W,X,K,J,G){try{return await this.sendRequest({subtype:"elicitation",mcp_server_name:Y,message:Z,mode:K,url:J,elicitation_id:G,requested_schema:W},oZ(),X)}catch{return{action:"cancel"}}}createSandboxAskCallback(){return async(Y)=>{try{return(await this.sendRequest({subtype:"can_use_tool",tool_name:c9,input:{host:Y.host},tool_use_id:uQ(),description:`Allow network connection to ${Y.host}?`},SQ())).behavior==="allow"}catch{return!1}}}async sendMcpMessage(Y,Z){return(await this.sendRequest({subtype:"mcp_message",server_name:Y,message:Z},Q.object({mcp_response:Q.any()}))).mcp_response}}function Q0(Y){console.error(Y),process.exit(1)}async function a9(Y,Z,W,X,K){let G=X.getAppState().toolPermissionContext.mode,V=N0(Y,Z,W,X,G,K,X.abortController.signal);for await(let B of V)if(B.permissionRequestResult&&(B.permissionRequestResult.behavior==="allow"||B.permissionRequestResult.behavior==="deny")){let v=B.permissionRequestResult;if(v.behavior==="allow"){let N=v.updatedInput||W,w=v.updatedPermissions??[];if(w.length>0){OQ(w);let O=X.getAppState(),$=yQ(O.toolPermissionContext,w);X.setAppState((z)=>{if(z.toolPermissionContext===$)return z;return{...z,toolPermissionContext:$}})}return{behavior:"allow",updatedInput:N,userModified:!1,decisionReason:{type:"hook",hookName:"PermissionRequest"}}}else return{behavior:"deny",message:v.message||"Permission denied by PermissionRequest hook",decisionReason:{type:"hook",hookName:"PermissionRequest"}}}return}_Q();Q6();s9();e9();r9();B0();_0();i9();_Q();t9();o9();import{randomUUID as Z6}from"crypto";JQ();_Q();import{randomUUID as n9}from"crypto";function z0(Y,Z,W,X,K,J,G){let V=n9();if(L0(V),Z.length>0){let v=typeof Y==="string"?Y.trim()?[{type:"text",text:Y}]:[]:Y;return{messages:[r({content:[...v,...Z],uuid:K,imagePasteIds:W.length>0?W:void 0,permissionMode:J,isMeta:G||void 0}),...X],shouldQuery:!0}}return{messages:[r({content:Y,uuid:K,permissionMode:J,isMeta:G||void 0}),...X],shouldQuery:!0}}async function HX({input:Y,mode:Z,setToolJSX:W,context:X,pastedContents:K,ideSelection:J,messages:G,setUserInputOnProcessing:V,uuid:B,isAlreadyProcessing:v,querySource:N,canUseTool:w,skipSlashCommands:O,bridgeOrigin:$,isMeta:z,skipAttachments:h}){let E=typeof Y==="string"?Y:null;if(Z==="prompt"&&E!==null&&!z)V?.(E);g("query_process_user_input_base_start");let D=X.getAppState(),_=await Y6(Y,Z,W,X,K,J,G,B,v,N,w,D.toolPermissionContext.mode,O,$,z,h);if(g("query_process_user_input_base_end"),!_.shouldQuery)return _;g("query_hooks_start");let R=w0(Y)||"";for await(let F of M0(R,D.toolPermissionContext.mode,X,X.requestPrompt)){if(F.message?.type==="progress")continue;if(F.blockingError){let U=f0(F.blockingError);return{messages:[E0(`${U}
|
|
22
|
+
|
|
23
|
+
Original prompt: ${Y}`,"warning")],shouldQuery:!1,allowedTools:_.allowedTools}}if(F.preventContinuation){let U=F.stopReason?`Operation stopped by hook: ${F.stopReason}`:"Operation stopped by hook";return _.messages.push(r({content:U})),_.shouldQuery=!1,_}if(F.additionalContexts&&F.additionalContexts.length>0)_.messages.push(D0({type:"hook_additional_context",content:F.additionalContexts.map(q0),hookName:"UserPromptSubmit",toolUseID:`hook-${Z6()}`,hookEvent:"UserPromptSubmit"}));let j=F.message;if(j&&j.type==="attachment")switch(j.attachment.type){case"hook_success":if(!j.attachment.content)break;_.messages.push({...j,attachment:{...j.attachment,content:q0(j.attachment.content)}});break;default:_.messages.push(j);break}else if(j)_.messages.push(j)}return g("query_hooks_end"),_}var mQ=1e4;function q0(Y){if(Y.length>mQ)return`${Y.substring(0,mQ)}… [output truncated - exceeded ${mQ} characters]`;return Y}async function Y6(Y,Z,W,X,K,J,G,V,B,v,N,w,O,$,z,h){let E=null,D=[],_=[],R=Y;if(typeof Y==="string")E=Y;else if(Y.length>0){g("query_image_processing_start");let q=[];for(let P of Y)if(P.type==="image"){let H=await lQ(P);if(H.dimensions){let l=UQ(H.dimensions);if(l)_.push(l)}q.push(H.block)}else q.push(P);R=q,g("query_image_processing_end");let b=q[q.length-1];if(b?.type==="text")E=b.text,D=q.slice(0,-1);else D=q}if(E===null&&Z!=="prompt")throw Error(`Mode: ${Z} requires a string input.`);let F=K?Object.values(K).filter(U0):[],j=F.map((q)=>q.id),U=K?await A0(K):new Map;g("query_pasted_image_processing_start");let c=await Promise.all(F.map(async(q)=>{let b={type:"image",source:{type:"base64",media_type:q.mediaType||"image/png",data:q.content}};return{resized:await lQ(b),originalDimensions:q.dimensions,sourcePath:q.sourcePath??U.get(q.id)}})),d=[];for(let{resized:q,originalDimensions:b,sourcePath:P}of c){if(q.dimensions){let H=UQ(q.dimensions,P);if(H)_.push(H)}else if(b){let H=UQ(b,P);if(H)_.push(H)}else if(P)_.push(`[Image source: ${P}]`);d.push(q.block)}g("query_pasted_image_processing_end");let n=O;if($&&E!==null&&E.startsWith("/")){let q=O0(E),b=q?b0(q.commandName,X.options.commands):void 0;if(b)if(F0(b))n=!1;else{let P=`/${$0(b)} isn't available over Remote Control.`;return{messages:[r({content:E,uuid:V}),j0(`<local-command-stdout>${P}</local-command-stdout>`)],shouldQuery:!1,resultText:P}}}let C=!h&&E!==null&&(Z!=="prompt"||n||!E.startsWith("/"));g("query_attachment_loading_start");let x=C?await y0(P0(E,X,J??null,[],G,v)):[];if(g("query_attachment_loading_end"),E!==null&&Z==="bash"){let{processBashCommand:q}=await import("./processBashCommand-1.1.34-gcydk2hd.mjs");return dQ(await q(E,D,x,X,W),_)}if(E!==null&&!n&&E.startsWith("/")){let{processSlashCommand:q}=await import("./processSlashCommand-1.1.34-a3q257ff.mjs"),b=await q(E,D,d,x,X,W,V,B,N);return dQ(b,_)}if(E!==null&&Z==="prompt"){let q=E.trim(),b=x.find((P)=>P.attachment.type==="agent_mention");if(b){let P=`@agent-${b.attachment.agentType}`,H=q===P,l=q.startsWith(P)&&!H}}return dQ(z0(R,d,j,x,V,w,z),_)}function dQ(Y,Z){if(Z.length>0)Y.messages.push(r({content:Z.map((W)=>({type:"text",text:W})),isMeta:!0}));return Y}_0();function vX(Y){if(Y.type!=="user")return;let Z=Y.message?.content;if(!Z)return;if(Array.isArray(Z)&&Z.length===0)return;let W="uuid"in Y&&typeof Y.uuid==="string"?Y.uuid:void 0;return{content:Array.isArray(Z)?W6(Z):Z,uuid:W}}function W6(Y){if(!Y.some(T0))return Y;return Y.map((Z)=>{if(!T0(Z))return Z;let W=Z.source,X=typeof W.mediaType==="string"&&W.mediaType?W.mediaType:h0(Z.source.data);return{...Z,source:{type:"base64",media_type:X,data:Z.source.data}}})}function T0(Y){if(Y.type!=="image"||Y.source?.type!=="base64")return!1;return!Y.source.media_type}JQ();H6();K6();J6();X6();G6();V6();import{randomUUID as N6}from"crypto";function B6(Y){return Y===C0?S0:Y}function EX(Y){let W=x0()?.outputStyle??u0,X={type:"system",subtype:"init",cwd:R0(),session_id:HQ(),tools:Y.tools.map((K)=>B6(K.name)),mcp_servers:Y.mcpClients.map((K)=>({name:K.name,status:K.type})),model:Y.model,permissionMode:Y.permissionMode,slash_commands:Y.commands.filter((K)=>K.userInvocable!==!1).map((K)=>K.name),apiKeySource:p0().source,betas:I0(),claude_code_version:"99.0.0",output_style:W,agents:Y.agents.map((K)=>K.agentType),skills:Y.skills.filter((K)=>K.userInvocable!==!1).map((K)=>K.name),plugins:Y.plugins.map((K)=>({name:K.name,path:K.path,source:K.source})),uuid:N6()};return X.fast_mode_state=k0(Y.model,Y.fastMode),X}x6();JQ();VQ();cQ();R6();C6();DZ();k6();S6();import{isAbsolute as p6,resolve as u6}from"path";function c6(Y,Z,W){let X=[],K=[],J=[];for(let[G,V]of Object.entries(Y)){let B=Z[G],v=yY(V.source,W?.projectRoot);if(!B)X.push(G);else if(V.sourceIsFallback)J.push(G);else if(!wY(v,B.source))K.push({name:G,declaredSource:v,materializedSource:B.source});else J.push(G)}return{missing:X,sourceChanged:K,upToDate:J}}async function YK(Y){let Z=DY();if(Object.keys(Z).length===0)return{installed:[],updated:[],failed:[],upToDate:[],skipped:[]};let W;try{W=await _Y()}catch(N){o(N),W={}}let X=c6(Z,W,{projectRoot:ZZ()}),K=[...X.missing.map((N)=>({name:N,source:yY(Z[N].source),action:"install"})),...X.sourceChanged.map(({name:N,declaredSource:w})=>({name:N,source:w,action:"update"}))],J=[],G=[];for(let N of K){if(Y?.skip?.(N.name,N.source)){J.push(N.name);continue}if(N.action==="update"&&qY(N.source)&&!await LY(N.source.path)){T(`[reconcile] '${N.name}' declared path does not exist; keeping materialized entry`),J.push(N.name);continue}G.push(N)}if(G.length===0)return{installed:[],updated:[],failed:[],upToDate:X.upToDate,skipped:J};T(`[reconcile] ${G.length} marketplace(s): ${G.map((N)=>`${N.name}(${N.action})`).join(", ")}`);let V=[],B=[],v=[];for(let N=0;N<G.length;N++){let{name:w,source:O,action:$}=G[N];Y?.onProgress?.({type:"installing",name:w,action:$,index:N+1,total:G.length});try{let z=await AY(O);if($==="install")V.push(w);else B.push(w);Y?.onProgress?.({type:"installed",name:w,alreadyMaterialized:z.alreadyMaterialized})}catch(z){let h=vY(z);v.push({name:w,error:h}),Y?.onProgress?.({type:"failed",name:w,error:h}),o(z)}}return{installed:V,updated:B,failed:v,upToDate:X.upToDate,skipped:J}}function yY(Y,Z){if((Y.source==="directory"||Y.source==="file")&&!p6(Y.path)){let W=Z??ZZ(),X=zY(W);return{...Y,path:u6(X??W,Y.path)}}return Y}
|
|
24
|
+
export{SQ as ha,EQ as ia,eZ as ja,c9 as ka,l9 as la,gY as ma,TZ as na,rY as oa,oY as pa,tY as qa,HX as ra,vX as sa,B6 as ta,EX as ua,c6 as va,YK as wa,w6 as xa,D6 as ya,_6 as za,T6 as Aa,h6 as Ba,I6 as Ca};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{$h as jf,_h as v}from"./cli-1.1.34-ctjatnq8.mjs";import{di as c,fi as bf}from"./cli-1.1.34-7npd3as5.mjs";import{$v as m,AG as M,BG as _f,El as e,Fl as ff,Gj as O,HL as u,Hj as s,IL as $f,JS as Kf,Jm as y,NB as T,OR as g,Ol as W,Om as Gf,Tu as L,UB as Yf,VB as I,VR as l,WB as Zf,Xv as h,dw as Vf,eu as N,fS as Df,fm as zf,fu as E,gS as S,gu as Jf,hS as p,nv as P,pB as C,pm as w,qB as Xf,qv as Qf,tj as H,vm as Bf,wR as A}from"./cli-1.1.34-84707tma.mjs";import{nga as F,sga as t}from"./cli-1.1.34-wwjkncsv.mjs";import{Rka as R,Ska as D,Uoa as x,Xka as K,gna as U,upa as a}from"./cli-1.1.34-qef4zhc3.mjs";import{Fqa as q,Iqa as o}from"./cli-1.1.34-4x915j9t.mjs";import{randomUUID as qf}from"crypto";async function vf({setMessages:V,readFileState:d,discoveredSkillNames:k,loadedNestedMemoryPaths:i,getAppState:G,setAppState:J,setConversationId:X}){let Y=p();await L("clear",{getAppState:G,setAppState:J,signal:AbortSignal.timeout(Y),timeoutMs:Y});let Uf=U(),Q=new Set,Z=[],_=(f)=>("isBackgrounded"in f)&&f.isBackgrounded===!1;if(G)for(let f of Object.values(G().tasks)){if(_(f))continue;if(T(f))Q.add(f.agentId),Z.push(f);else if(M(f))Q.add(f.identity.agentId)}if(V(()=>[]),X)X(qf());if(v(Q),C(K()),d.clear(),k?.clear(),i?.clear(),J)J((f)=>{let B={};for(let[j,z]of Object.entries(f.tasks)){if(!_(z)){B[j]=z;continue}try{if(z.status==="running"){if(I(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(r){F(r)}N(j)}return{...f,tasks:B,attribution:u(),standaloneAgentContext:void 0,fileHistory:{snapshots:[],trackedFiles:new Set,snapshotSequence:0},mcp:{clients:[],tools:[],commands:[],resources:{},pluginReconnectKey:f.mcp.pluginReconnectKey}}});w(),g(),x(),c(),m(),h();let n=R();D({setCurrentAsParent:!0}),y(n),await A();for(let f of Z){if(f.status!=="running")continue;E(f.id,H(O(f.agentId)))}{let{saveMode:f}=(S(),q(Df)),{isCoordinatorMode:B}=(ff(),q(e));f(B()?"coordinator":"normal")}let $=W();if($)l($);let b=await P("clear");if(b.length>0)V(()=>b)}var Rf=o(()=>{a();_f();Yf();Zf();s();Vf();$f();Kf();t();bf();Bf();Xf();Qf();S();Jf();Gf();zf();jf()});
|
|
2
|
+
export{vf as Yh,Rf as Zh};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{wb as S,xb as R}from"./cli-1.1.34-d8bccy48.mjs";import{Cb as j}from"./cli-1.1.34-5mg7y1hs.mjs";import{mV as W,nV as A}from"./cli-1.1.34-9z887t80.mjs";import{y6 as T,z6 as F}from"./cli-1.1.34-4zj4kbw4.mjs";import{qja as Q,tja as P}from"./cli-1.1.34-xwg0x7p4.mjs";import{Qja as z,Xja as x}from"./cli-1.1.34-d0sgyvr1.mjs";P();x();A();function f(G){return{write:(J)=>G.write(J),writeBatch:(J)=>G.writeBatch(J),close:()=>G.close(),isConnectedStatus:()=>G.isConnectedStatus(),getStateLabel:()=>G.getStateLabel(),setOnData:(J)=>G.setOnData(J),setOnClose:(J)=>G.setOnClose(J),setOnConnect:(J)=>G.setOnConnect(J),connect:()=>void G.connect(),getLastSequenceNum:()=>0,get droppedBatchCount(){return G.droppedBatchCount},reportState:()=>{},reportMetadata:()=>{},reportDelivery:()=>{},flush:()=>Promise.resolve()}}async function m(G){let{sessionUrl:J,ingressToken:X,sessionId:V,initialSequenceNum:_,getAuthToken:$}=G,O;if($)O=()=>{let B=$();if(!B)return{};return{Authorization:`Bearer ${B}`}};else W(X);let Y=G.epoch??await j(J,X);Q(`[bridge:repl] CCR v2: worker sessionId=${V} epoch=${Y}${G.epoch!==void 0?" (from /bridge)":" (via registerWorker)"}`);let Z=new URL(J);Z.pathname=Z.pathname.replace(/\/$/,"")+"/worker/events/stream";let L=new R(Z,{},V,void 0,_,O),q,K=new S(L,new URL(J),{getAuthHeaders:O,heartbeatIntervalMs:G.heartbeatIntervalMs,heartbeatJitterFraction:G.heartbeatJitterFraction,onEpochMismatch:()=>{Q("[bridge:repl] CCR v2: epoch superseded (409) — closing for poll-loop recovery");try{K.close(),L.close(),q?.(4090)}catch(B){Q(`[bridge:repl] CCR v2: error during epoch-mismatch cleanup: ${z(B)}`,{level:"error"})}throw Error("epoch superseded")}});L.setOnEvent((B)=>{K.reportDelivery(B.event_id,"received"),K.reportDelivery(B.event_id,"processed")});let H,E=!1,M=!1;return{write(B){return K.writeEvent(B)},async writeBatch(B){for(let N of B){if(M)break;await K.writeEvent(N)}},close(){M=!0,K.close(),L.close()},isConnectedStatus(){return E},getStateLabel(){if(L.isClosedStatus())return"closed";if(L.isConnectedStatus())return E?"connected":"init";return"connecting"},setOnData(B){L.setOnData(B)},setOnClose(B){q=B,L.setOnClose((N)=>{K.close(),B(N??4092)})},setOnConnect(B){H=B},getLastSequenceNum(){return L.getLastSequenceNum()},droppedBatchCount:0,reportState(B){K.reportState(B)},reportMetadata(B){K.reportMetadata(B)},reportDelivery(B,N){K.reportDelivery(B,N)},flush(){return K.flush()},connect(){if(!G.outboundOnly)L.connect();K.initialize(Y).then(()=>{E=!0,Q(`[bridge:repl] v2 transport ready for writes (epoch=${Y}, sse=${L.isConnectedStatus()?"open":"opening"})`),H?.()},(B)=>{Q(`[bridge:repl] CCR v2 initialize failed: ${z(B)}`,{level:"error"}),K.close(),L.close(),q?.(4091)})}}}class U{_active=!1;_pending=[];get active(){return this._active}get pendingCount(){return this._pending.length}start(){this._active=!0}end(){return this._active=!1,this._pending.splice(0)}enqueue(...G){if(!this._active)return!1;return this._pending.push(...G),!0}drop(){this._active=!1;let G=this._pending.length;return this._pending.length=0,G}deactivate(){this._active=!1}}P();F();var g={maxAttempts:5,baseDelayMs:500,jitterFraction:0.25,maxDelayMs:4000};function I(G,J,X=Math.random){let V=J.baseDelayMs*2**(G-1),_=V*J.jitterFraction*(2*X()-1);return Math.min(V+_,J.maxDelayMs)}async function b(G,J){let{label:X,logPrefix:V="[bridge]",signal:_,isRetryable:$}=J;for(let O=1;O<=J.maxAttempts;O++){let Y=await G();if(Y!==null)return Y;if($&&!$())return Q(`${V} ${X} failed permanently on attempt ${O}/${J.maxAttempts}, not retrying`),null;if(_?.aborted)return Q(`${V} ${X} aborted after attempt ${O}/${J.maxAttempts}`),null;if(O<J.maxAttempts){let Z=I(O,J);Q(`${V} ${X} failed (attempt ${O}/${J.maxAttempts}), retrying in ${Math.round(Z)}ms`),await T(Z)}}return null}
|
|
2
|
+
export{f as pb,m as qb,U as rb,g as sb,b as tb};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{hha as W,kha as M}from"./cli-1.1.34-92kps6jn.mjs";import{cja as k,gja as L}from"./cli-1.1.34-xwg0x7p4.mjs";import J from"node:path";import y from"node:os";import R from"node:process";var S=Object.freeze([""," ",".",".."," .",". "," ..",".. ","../","../foo","foo/../bar","foo/bar","foo\\bar","foo\x00bar"]);function x(u){if(typeof u!=="string")return!1;let O=u.trim();return O!==""&&O!=="."&&O!==".."&&!u.includes("/")&&!u.includes("\\")&&!u.includes("\x00")}function Q(u){if(typeof u!=="string")throw TypeError("Expected a string");if(!x(u))throw Error(`Unsafe filename: ${JSON.stringify(u)}`)}var U=y.homedir(),V=y.tmpdir(),{env:$}=R,w=(u)=>{let O=J.join(U,"Library");return{data:J.join(O,"Application Support",u),config:J.join(O,"Preferences",u),cache:J.join(O,"Caches",u),log:J.join(O,"Logs",u),temp:J.join(V,u)}},F=(u)=>{let O=$.APPDATA||J.join(U,"AppData","Roaming"),K=$.LOCALAPPDATA||J.join(U,"AppData","Local");return{data:J.join(K,u,"Data"),config:J.join(O,u,"Config"),cache:J.join(K,u,"Cache"),log:J.join(K,u,"Log"),temp:J.join(V,u)}},G=(u)=>{let O=J.basename(U);return{data:J.join($.XDG_DATA_HOME||J.join(U,".local","share"),u),config:J.join($.XDG_CONFIG_HOME||J.join(U,".config"),u),cache:J.join($.XDG_CACHE_HOME||J.join(U,".cache"),u),log:J.join($.XDG_STATE_HOME||J.join(U,".local","state"),u),temp:J.join(V,O,u)}};function Y(u,{suffix:O="nodejs"}={}){if(Q(u),O)u+=`-${O}`;if(Q(u),R.platform==="darwin")return w(u);if(R.platform==="win32")return F(u);return G(u)}L();M();import{join as q}from"path";var B=Y("claude-cli"),E=200;function b(u){let O=u.replace(/[^a-zA-Z0-9]/g,"-");if(O.length<=E)return O;return`${O.slice(0,E)}-${Math.abs(W(u)).toString(36)}`}function C(u){return b(u)}var A={baseLogs:()=>q(B.cache,C(k().cwd())),errors:()=>q(B.cache,C(k().cwd()),"errors"),messages:()=>q(B.cache,C(k().cwd()),"messages"),mcpLogs:(u)=>q(B.cache,C(k().cwd()),`mcp-logs-${b(u)}`)};
|
|
2
|
+
export{A as fb};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{DR as n,ER as Xr,MR as s,Mp as L,PM as W,Px as M,QM as Jr,Rx as f,Tx as u,Vp as V,Wx as C,Xx as T,YK as E,YM as o,Yx as d,_x as A,aq as Y,ey as qr,gN as Kr,gS as Zr,jq as jr,kA as O,mN as i,nr as D,pN as Qr,rl as F,rr as kr,sA as Ir,ty as j,uy as zr,vl as Gr}from"./cli-1.1.34-84707tma.mjs";import{nW as l,tW as Wr}from"./cli-1.1.34-fgx6ej2m.mjs";import{GX as I,HX as Sr}from"./cli-1.1.34-59csbz1a.mjs";import{$5 as wr,N5 as $,V3 as H,W3 as B,t4 as yr}from"./cli-1.1.34-yrk4mxjw.mjs";import{v6 as b,w6 as g}from"./cli-1.1.34-7bxexffs.mjs";import{$_ as _,A_ as t,D_ as R,Eaa as m,F_ as G,Kaa as e,P_ as q,Tda as p,Tea as v,Yda as Q,h$ as Z,i$ as c,jea as rr,saa as z,y_ as k}from"./cli-1.1.34-wwjkncsv.mjs";import{qja as U,tja as a}from"./cli-1.1.34-xwg0x7p4.mjs";v();function Pr(r){let y=G().numStartups;R((w)=>{let S=w.tipsHistory??{};if(S[r]===y)return w;return{...w,tipsHistory:{...S,[r]:y}}})}function N(r){let y=G(),w=y.tipsHistory?.[r];if(!w)return 1/0;return y.numStartups-w}g();a();Ir();rr();Wr();Sr();zr();Gr();wr();Xr();v();jr();t();kr();e();qr();yr();c();Qr();Kr();Jr();Zr();_();var X;async function $r(){if(X!==void 0)return X;let r=await o();return X=W in r,X}async function P(r,y,w){if(!await $r())return!1;if(i(`${r}@${W}`))return!1;let{bashTools:S}=y??{};if(w.cli&&S?.size){if(w.cli.some((J)=>S.has(J)))return!0}if(w.filePath&&y?.readFileState){if(D(y.readFileState).some((h)=>w.filePath.test(h)))return!0}return!1}var hr=[{id:"new-user-warmup",content:async()=>"Start with small features or bug fixes, tell Claudin to propose a plan, and verify its suggested edits",cooldownSessions:3,async isRelevant(){return G().numStartups<10}},{id:"plan-mode-for-complex-tasks",content:async()=>`Use Plan Mode to prepare for a complex request before making changes. Press ${j("chat:cycleMode","Chat","shift+tab")} twice to enable.`,cooldownSessions:5,isRelevant:async()=>{let r=G();return(r.lastPlanModeUse?(Date.now()-r.lastPlanModeUse)/86400000:1/0)>7}},{id:"default-permission-mode-config",content:async()=>"Use /config to change your default permission mode (including Plan Mode)",cooldownSessions:10,isRelevant:async()=>{try{let r=G(),y=Q(),w=Boolean(r.lastPlanModeUse),S=Boolean(y?.permissions?.defaultMode);return w&&!S}catch(r){return U(`Failed to check default-permission-mode-config tip relevance: ${r}`,{level:"warn"}),!1}}},{id:"git-worktrees",content:async()=>"Use git worktrees to run multiple Claudin sessions in parallel.",cooldownSessions:10,isRelevant:async()=>{try{let r=G();return await m()<=1&&r.numStartups>50}catch(r){return!1}}},{id:"diff-reviewer",content:async()=>`Review local changes, stashes and the git log side by side — run /diff or hit ${j("chat:openDiff","Chat","ctrl+g")}.`,cooldownSessions:10,isRelevant:async()=>{try{return await z()}catch(r){return!1}}},{id:"diff-git-log",content:async()=>`Scroll back through your git log and open any commit's diff in /diff (or hit ${j("chat:openDiff","Chat","ctrl+g")}).`,cooldownSessions:15,isRelevant:async()=>{try{return await z()}catch(r){return!1}}},{id:"diff-source-cycle",content:async()=>`In /diff, ${j("diff:previousSource","DiffDialog","[")} and ${j("diff:nextSource","DiffDialog","]")} cycle what you are reviewing: the working tree, one diff per agent turn, then every stash.`,cooldownSessions:15,isRelevant:async()=>{try{return await z()}catch(r){return!1}}},{id:"diff-line-selection",content:async()=>`Press ${j("diff:select","DiffDialog","v")} in the /diff pane to select lines, then Enter to drop them into your prompt as @file#L12-L30 — dragging the mouse over them does the same.`,cooldownSessions:15,isRelevant:async()=>{try{return await z()}catch(r){return!1}}},{id:"diff-expand-context",content:async()=>`Need more context in /diff? Hit Enter on a "··· N lines" gap to reveal more around it, or ${j("diff:expandAll","DiffDialog","a")} to expand the whole file.`,cooldownSessions:20,isRelevant:async()=>{try{return await z()}catch(r){return!1}}},{id:"file-explorer",content:async()=>`Browse and edit files without leaving the REPL — run /explorer or hit ${j("chat:openExplorer","Chat","ctrl+e")} for a file tree with a built-in nvim-style editor.`,cooldownSessions:10,isRelevant:async()=>!0},{id:"explorer-fuzzy-find",content:async()=>"Inside /explorer, press / to fuzzy-find any file by name, or @ to drop it into your prompt.",cooldownSessions:15,isRelevant:async()=>!0},{id:"explorer-create-delete",content:async()=>"Inside /explorer, press a to create, r to rename, or d to delete the selected file.",cooldownSessions:15,isRelevant:async()=>!0},{id:"explorer-changed-files",content:async()=>"The /explorer tree opens with a Changed group — every file git sees as modified, in one flat list at the top.",cooldownSessions:15,isRelevant:async()=>{try{return await z()}catch(r){return!1}}},{id:"explorer-editor-ex-commands",content:async()=>"In the /explorer editor, :w saves, :q quits, :wq does both, and :42 jumps to line 42.",cooldownSessions:15,isRelevant:async()=>!0},{id:"explorer-editor-motions",content:async()=>"The /explorer editor speaks vim: dd cuts a line, yy copies, p pastes, u undoes and ctrl+r redoes.",cooldownSessions:20,isRelevant:async()=>!0},{id:"bash-output-filter-token-saving",content:async()=>"Bash output filter is active — redundant command output is trimmed before reaching the model, reducing token usage. Disable in /config.",cooldownSessions:20,async isRelevant(){let r=G();return r.numStartups>5&&r.bashOutputFilterEnabled!==!1}},{id:"color-when-multi-clauding",content:async()=>"Running multiple Claudin sessions? Use /color and /rename to tell them apart at a glance.",cooldownSessions:10,isRelevant:async()=>{if(s())return!1;return await n()>=2}},{id:"terminal-setup",content:async()=>k.terminal==="Apple_Terminal"?"Run /terminal-setup to enable convenient terminal integration like Option + Enter for new line and more":"Run /terminal-setup to enable convenient terminal integration like Shift + Enter for new line and more",cooldownSessions:10,async isRelevant(){let r=G();if(k.terminal==="Apple_Terminal")return!r.optionAsMetaKeyInstalled;return!r.shiftEnterKeyBindingInstalled}},{id:"shift-enter",content:async()=>k.terminal==="Apple_Terminal"?"Press Option+Enter to send a multi-line message":"Press Shift+Enter to send a multi-line message",cooldownSessions:10,async isRelevant(){let r=G();return Boolean((k.terminal==="Apple_Terminal"?r.optionAsMetaKeyInstalled:r.shiftEnterKeyBindingInstalled)&&r.numStartups>3)}},{id:"shift-enter-setup",content:async()=>k.terminal==="Apple_Terminal"?"Run /terminal-setup to enable Option+Enter for new lines":"Run /terminal-setup to enable Shift+Enter for new lines",cooldownSessions:10,async isRelevant(){if(!l())return!1;let r=G();return!(k.terminal==="Apple_Terminal"?r.optionAsMetaKeyInstalled:r.shiftEnterKeyBindingInstalled)}},{id:"memory-command",content:async()=>"Use /memory to view and manage Claudin memory",cooldownSessions:15,async isRelevant(){return G().memoryUsageCount<=0}},{id:"theme-command",content:async()=>"Use /theme to change the color theme",cooldownSessions:20,isRelevant:async()=>!0},{id:"colorterm-truecolor",content:async()=>"Try setting environment variable COLORTERM=truecolor for richer colors",cooldownSessions:30,isRelevant:async()=>!process.env.COLORTERM&&b.level<3},{id:"powershell-tool-env",content:async()=>"Set CLAUDIN_USE_POWERSHELL_TOOL=1 to enable the PowerShell tool (preview)",cooldownSessions:10,isRelevant:async()=>Z()==="windows"&&process.env.CLAUDIN_USE_POWERSHELL_TOOL===void 0},{id:"status-line",content:async()=>"Use /statusline to set up a custom status line that will display beneath the input box",cooldownSessions:25,isRelevant:async()=>Q().statusLine===void 0},{id:"prompt-queue",content:async()=>"Hit Enter to queue up additional messages while Claudin is working.",cooldownSessions:5,async isRelevant(){return G().promptQueueUseCount<=3}},{id:"enter-to-steer-in-relatime",content:async()=>"Send messages to Claudin while it works to steer Claudin in real-time",cooldownSessions:20,isRelevant:async()=>!0},{id:"todo-list",content:async()=>"Ask Claudin to create a todo list when working on complex tasks to track progress and remain on track",cooldownSessions:20,isRelevant:async()=>!0},{id:"vscode-command-install",content:async()=>`Open the Command Palette (Cmd+Shift+P) and run "Shell Command: Install '${k.terminal==="vscode"?"code":k.terminal}' command in PATH" to enable IDE integration`,cooldownSessions:0,async isRelevant(){if(!M())return!1;if(Z()!=="macos")return!1;switch(k.terminal){case"vscode":return!await d();case"cursor":return!await C();case"windsurf":return!await T();default:return!1}}},{id:"ide-upsell-external-terminal",content:async()=>"Connect Claudin to your IDE · /ide",cooldownSessions:4,async isRelevant(){if(f())return!1;if((await u()).length!==0)return!1;return(await A()).length>0}},{id:"install-github-app",content:async()=>"Run /install-github-app to tag @claude right from your Github issues and PRs",cooldownSessions:10,isRelevant:async()=>!G().githubActionSetupCount},{id:"install-slack-app",content:async()=>"Run /install-slack-app to use Claude in Slack",cooldownSessions:10,isRelevant:async()=>!G().slackAppInstallCount},{id:"permissions",content:async()=>"Use /permissions to pre-approve and pre-deny bash, edit, and MCP tools",cooldownSessions:10,async isRelevant(){return G().numStartups>10}},{id:"drag-and-drop-images",content:async()=>"Did you know you can drag and drop image files into your terminal?",cooldownSessions:10,isRelevant:async()=>!k.isSSH()},{id:"paste-images-mac",content:async()=>"Paste images into Claudin using control+v (not cmd+v!)",cooldownSessions:10,isRelevant:async()=>Z()==="macos"},{id:"double-esc",content:async()=>"Double-tap esc to rewind the conversation to a previous point in time",cooldownSessions:10,isRelevant:async()=>!O()},{id:"double-esc-code-restore",content:async()=>"Double-tap esc to rewind the code and/or conversation to a previous point in time",cooldownSessions:10,isRelevant:async()=>O()},{id:"continue",content:async()=>"Run claudin --continue or claudin --resume to resume a conversation",cooldownSessions:10,isRelevant:async()=>!0},{id:"rename-conversation",content:async()=>"Name your conversations with /rename to find them easily in /resume later",cooldownSessions:15,isRelevant:async()=>E()&&G().numStartups>10},{id:"custom-commands",content:async()=>"Create skills by adding .md files to .claudin/skills/ in your project or ~/.claudin/skills/ for skills that work in any project",cooldownSessions:15,async isRelevant(){return G().numStartups>10}},{id:"shift-tab",content:async()=>`Hit ${j("chat:cycleMode","Chat","shift+tab")} to cycle between default mode, auto-accept edit mode, and plan mode`,cooldownSessions:10,isRelevant:async()=>!0},{id:"image-paste",content:async()=>`Use ${j("chat:imagePaste","Chat","ctrl+v")} to paste images from your clipboard`,cooldownSessions:20,isRelevant:async()=>!0},{id:"custom-agents",content:async()=>"Use /agents to optimize specific tasks. Eg. Software Architect, Code Writer, Code Reviewer",cooldownSessions:15,async isRelevant(){return G().numStartups>5}},{id:"agent-flag",content:async()=>"Use --agent <agent_name> to directly start a conversation with a subagent",cooldownSessions:15,async isRelevant(){return G().numStartups>5}},{id:"opusplan-mode-reminder",content:async()=>`Your default model setting is Opus Plan Mode. Press ${j("chat:cycleMode","Chat","shift+tab")} twice to activate Plan Mode and plan with Claude Opus.`,cooldownSessions:2,async isRelevant(){let r=G(),w=H()==="opusplan",S=r.lastPlanModeUse?(Date.now()-r.lastPlanModeUse)/86400000:1/0;return w&&S>3}},{id:"frontend-design-plugin",content:async(r)=>{return`Working with HTML/CSS? Install the frontend-design plugin:
|
|
2
|
+
${I("suggestion",r.theme)(`/plugin install frontend-design@${W}`)}`},cooldownSessions:3,isRelevant:async(r)=>P("frontend-design",r,{filePath:/\.(html|css|htm)$/i})},{id:"vercel-plugin",content:async(r)=>{return`Working with Vercel? Install the vercel plugin:
|
|
3
|
+
${I("suggestion",r.theme)(`/plugin install vercel@${W}`)}`},cooldownSessions:3,isRelevant:async(r)=>P("vercel",r,{filePath:/(?:^|[/\\])vercel\.json$/i,cli:["vercel"]})},{id:"effort-high-nudge",content:async(r)=>{let w=I("suggestion",r.theme)("/effort high");return q("tengu_tide_elm","off")==="copy_b"?`Use ${w} for better one-shot answers. Claudin thinks it through first.`:`Working on something tricky? ${w} gives better first answers`},cooldownSessions:3,isRelevant:async()=>{if(!$())return!1;if(!L(B()))return!1;if(p("policySettings")?.effortLevel!==void 0)return!1;if(Y()!==void 0)return!1;let r=V();if(r==="high"||r==="max")return!1;return q("tengu_tide_elm","off")!=="off"}},{id:"subagent-fanout-nudge",content:async(r)=>{let y=I("suggestion",r.theme);return q("tengu_tern_alloy","off")==="copy_b"?`For big tasks, tell Claudin to ${y("use subagents")}. They work in parallel and keep your main thread clean.`:`Say ${y('"fan out subagents"')} and Claudin sends a team. Each one digs deep so nothing gets missed.`},cooldownSessions:3,isRelevant:async()=>{if(!$())return!1;return q("tengu_tern_alloy","off")!=="off"}},{id:"loop-command-nudge",content:async(r)=>{let y=I("suggestion",r.theme);return q("tengu_timber_lark","off")==="copy_b"?`Use ${y("/loop 5m check the deploy")} to run any prompt on a schedule. Set it and forget it.`:`${y("/loop")} runs any prompt on a recurring schedule. Great for monitoring deploys, babysitting PRs, or polling status.`},cooldownSessions:3,isRelevant:async()=>{if(!$())return!1;if(!F())return!1;return q("tengu_timber_lark","off")!=="off"}},{id:"feedback-command",content:async()=>"Use /feedback to help us improve!",cooldownSessions:15,async isRelevant(){return G().numStartups>5}}],Or=[];function Rr(){let y=Q().spinnerTipsOverride;if(!y?.tips?.length)return[];return y.tips.map((w,S)=>({id:`custom-tip-${S}`,content:async()=>w,cooldownSessions:0,isRelevant:async()=>!0}))}async function ar(r){let w=Q().spinnerTipsOverride,S=Rr();if(w?.excludeDefault&&S.length>0)return S;let J=[...hr,...Or],h=await Promise.all(J.map((K)=>K.isRelevant(r)));return[...J.filter((K,x)=>h[x]).filter((K)=>N(K.id)>=K.cooldownSessions),...S]}
|
|
4
|
+
export{Pr as bb,N as cb,ar as db};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import{Gqa as T,Iqa as J5,Jqa as M}from"./cli-1.1.34-4x915j9t.mjs";var T0=T((G5,K1)=>{K1.exports=function(){return typeof Promise==="function"&&Promise.prototype&&Promise.prototype.then}});var y=T((O2)=>{var X0,E2=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];O2.getSymbolSize=function(q){if(!q)throw Error('"version" cannot be null or undefined');if(q<1||q>40)throw Error('"version" should be in range from 1 to 40');return q*4+17};O2.getSymbolTotalCodewords=function(q){return E2[q]};O2.getBCHDigit=function($){let q=0;while($!==0)q++,$>>>=1;return q};O2.setToSJISFunction=function(q){if(typeof q!=="function")throw Error('"toSJISFunc" is not a valid function.');X0=q};O2.isKanjiModeEnabled=function(){return typeof X0<"u"};O2.toSJIS=function(q){return X0(q)}});var J0=T((M2)=>{M2.L={bit:1};M2.M={bit:0};M2.Q={bit:3};M2.H={bit:2};function W2($){if(typeof $!=="string")throw Error("Param is not a string");switch($.toLowerCase()){case"l":case"low":return M2.L;case"m":case"medium":return M2.M;case"q":case"quartile":return M2.Q;case"h":case"high":return M2.H;default:throw Error("Unknown EC Level: "+$)}}M2.isValid=function(q){return q&&typeof q.bit<"u"&&q.bit>=0&&q.bit<4};M2.from=function(q,Z){if(M2.isValid(q))return q;try{return W2(q)}catch(J){return Z}}});var X1=T((N5,T1)=>{function O1(){this.buffer=[],this.length=0}O1.prototype={get:function($){let q=Math.floor($/8);return(this.buffer[q]>>>7-$%8&1)===1},put:function($,q){for(let Z=0;Z<q;Z++)this.putBit(($>>>q-Z-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function($){let q=Math.floor(this.length/8);if(this.buffer.length<=q)this.buffer.push(0);if($)this.buffer[q]|=128>>>this.length%8;this.length++}};T1.exports=O1});var V1=T((W5,G1)=>{function s($){if(!$||$<1)throw Error("BitMatrix size must be defined and greater than 0");this.size=$,this.data=new Uint8Array($*$),this.reservedBit=new Uint8Array($*$)}s.prototype.set=function($,q,Z,J){let Q=$*this.size+q;if(this.data[Q]=Z,J)this.reservedBit[Q]=!0};s.prototype.get=function($,q){return this.data[$*this.size+q]};s.prototype.xor=function($,q,Z){this.data[$*this.size+q]^=Z};s.prototype.isReserved=function($,q){return this.reservedBit[$*this.size+q]};G1.exports=s});var N1=T((B2)=>{var _2=y().getSymbolSize;B2.getRowColCoords=function(q){if(q===1)return[];let Z=Math.floor(q/7)+2,J=_2(q),Q=J===145?26:Math.ceil((J-13)/(2*Z-2))*2,F=[J-7];for(let K=1;K<Z-1;K++)F[K]=F[K-1]-Q;return F.push(6),F.reverse()};B2.getPositions=function(q){let Z=[],J=B2.getRowColCoords(q),Q=J.length;for(let F=0;F<Q;F++)for(let K=0;K<Q;K++){if(F===0&&K===0||F===0&&K===Q-1||F===Q-1&&K===0)continue;Z.push([J[F],J[K]])}return Z}});var W1=T((z2)=>{var L2=y().getSymbolSize;z2.getPositions=function(q){let Z=L2(q);return[[0,0],[Z-7,0],[0,Z-7]]}});var L1=T((w2)=>{w2.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};var v={N1:3,N2:3,N3:40,N4:10};w2.isValid=function(q){return q!=null&&q!==""&&!isNaN(q)&&q>=0&&q<=7};w2.from=function(q){return w2.isValid(q)?parseInt(q,10):void 0};w2.getPenaltyN1=function(q){let Z=q.size,J=0,Q=0,F=0,K=null,U=null;for(let R=0;R<Z;R++){Q=F=0,K=U=null;for(let H=0;H<Z;H++){let Y=q.get(R,H);if(Y===K)Q++;else{if(Q>=5)J+=v.N1+(Q-5);K=Y,Q=1}if(Y=q.get(H,R),Y===U)F++;else{if(F>=5)J+=v.N1+(F-5);U=Y,F=1}}if(Q>=5)J+=v.N1+(Q-5);if(F>=5)J+=v.N1+(F-5)}return J};w2.getPenaltyN2=function(q){let Z=q.size,J=0;for(let Q=0;Q<Z-1;Q++)for(let F=0;F<Z-1;F++){let K=q.get(Q,F)+q.get(Q,F+1)+q.get(Q+1,F)+q.get(Q+1,F+1);if(K===4||K===0)J++}return J*v.N2};w2.getPenaltyN3=function(q){let Z=q.size,J=0,Q=0,F=0;for(let K=0;K<Z;K++){Q=F=0;for(let U=0;U<Z;U++){if(Q=Q<<1&2047|q.get(K,U),U>=10&&(Q===1488||Q===93))J++;if(F=F<<1&2047|q.get(U,K),U>=10&&(F===1488||F===93))J++}}return J*v.N3};w2.getPenaltyN4=function(q){let Z=0,J=q.data.length;for(let F=0;F<J;F++)Z+=q.data[F];return Math.abs(Math.ceil(Z*100/J/5)-10)*v.N4};function S2($,q,Z){switch($){case w2.Patterns.PATTERN000:return(q+Z)%2===0;case w2.Patterns.PATTERN001:return q%2===0;case w2.Patterns.PATTERN010:return Z%3===0;case w2.Patterns.PATTERN011:return(q+Z)%3===0;case w2.Patterns.PATTERN100:return(Math.floor(q/2)+Math.floor(Z/3))%2===0;case w2.Patterns.PATTERN101:return q*Z%2+q*Z%3===0;case w2.Patterns.PATTERN110:return(q*Z%2+q*Z%3)%2===0;case w2.Patterns.PATTERN111:return(q*Z%3+(q+Z)%2)%2===0;default:throw Error("bad maskPattern:"+$)}}w2.applyMask=function(q,Z){let J=Z.size;for(let Q=0;Q<J;Q++)for(let F=0;F<J;F++){if(Z.isReserved(F,Q))continue;Z.xor(F,Q,S2(q,F,Q))}};w2.getBestMask=function(q,Z){let J=Object.keys(w2.Patterns).length,Q=0,F=1/0;for(let K=0;K<J;K++){Z(K),w2.applyMask(K,q);let U=w2.getPenaltyN1(q)+w2.getPenaltyN2(q)+w2.getPenaltyN3(q)+w2.getPenaltyN4(q);if(w2.applyMask(K,q),U<F)F=U,Q=K}return Q}});var V0=T((y2)=>{var g=J0(),Q0=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],F0=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];y2.getBlocksCount=function(q,Z){switch(Z){case g.L:return Q0[(q-1)*4+0];case g.M:return Q0[(q-1)*4+1];case g.Q:return Q0[(q-1)*4+2];case g.H:return Q0[(q-1)*4+3];default:return}};y2.getTotalCodewordsCount=function(q,Z){switch(Z){case g.L:return F0[(q-1)*4+0];case g.M:return F0[(q-1)*4+1];case g.Q:return F0[(q-1)*4+2];case g.H:return F0[(q-1)*4+3];default:return}}});var z1=T((D2)=>{var o=new Uint8Array(512),K0=new Uint8Array(256);(function(){let q=1;for(let Z=0;Z<255;Z++)if(o[Z]=q,K0[q]=Z,q<<=1,q&256)q^=285;for(let Z=255;Z<512;Z++)o[Z]=o[Z-255]})();D2.log=function(q){if(q<1)throw Error("log("+q+")");return K0[q]};D2.exp=function(q){return o[q]};D2.mul=function(q,Z){if(q===0||Z===0)return 0;return o[K0[q]+K0[Z]]}});var S1=T((c2)=>{var A0=z1();c2.mul=function(q,Z){let J=new Uint8Array(q.length+Z.length-1);for(let Q=0;Q<q.length;Q++)for(let F=0;F<Z.length;F++)J[Q+F]^=A0.mul(q[Q],Z[F]);return J};c2.mod=function(q,Z){let J=new Uint8Array(q);while(J.length-Z.length>=0){let Q=J[0];for(let K=0;K<Z.length;K++)J[K]^=A0.mul(Z[K],Q);let F=0;while(F<J.length&&J[F]===0)F++;J=J.slice(F)}return J};c2.generateECPolynomial=function(q){let Z=new Uint8Array([1]);for(let J=0;J<q;J++)Z=c2.mul(Z,new Uint8Array([1,A0.exp(J)]));return Z}});var C1=T((z5,f1)=>{var w1=S1();function N0($){if(this.genPoly=void 0,this.degree=$,this.degree)this.initialize(this.degree)}N0.prototype.initialize=function(q){this.degree=q,this.genPoly=w1.generateECPolynomial(this.degree)};N0.prototype.encode=function(q){if(!this.genPoly)throw Error("Encoder not initialized");let Z=new Uint8Array(q.length+this.degree);Z.set(q);let J=w1.mod(Z,this.genPoly),Q=this.degree-J.length;if(Q>0){let F=new Uint8Array(this.degree);return F.set(J,Q),F}return J};f1.exports=N0});var W0=T((x2)=>{x2.isValid=function(q){return!isNaN(q)&&q>=1&&q<=40}});var M0=T((i2)=>{var t="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";t=t.replace(/u/g,"\\u");var n2="(?:(?![A-Z0-9 $%*+\\-./:]|"+t+`)(?:.|[\r
|
|
2
|
+
]))+`;i2.KANJI=new RegExp(t,"g");i2.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");i2.BYTE=new RegExp(n2,"g");i2.NUMERIC=new RegExp("[0-9]+","g");i2.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");var p2=new RegExp("^"+t+"$"),d2=new RegExp("^[0-9]+$"),r2=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");i2.testKanji=function(q){return p2.test(q)};i2.testNumeric=function(q){return d2.test(q)};i2.testAlphanumeric=function(q){return r2.test(q)}});var u=T((F6)=>{var J6=W0(),j0=M0();F6.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]};F6.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]};F6.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]};F6.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]};F6.MIXED={bit:-1};F6.getCharCountIndicator=function(q,Z){if(!q.ccBits)throw Error("Invalid mode: "+q);if(!J6.isValid(Z))throw Error("Invalid version: "+Z);if(Z>=1&&Z<10)return q.ccBits[0];else if(Z<27)return q.ccBits[1];return q.ccBits[2]};F6.getBestModeForData=function(q){if(j0.testNumeric(q))return F6.NUMERIC;else if(j0.testAlphanumeric(q))return F6.ALPHANUMERIC;else if(j0.testKanji(q))return F6.KANJI;else return F6.BYTE};F6.toString=function(q){if(q&&q.id)return q.id;throw Error("Invalid mode")};F6.isValid=function(q){return q&&q.bit&&q.ccBits};function Q6($){if(typeof $!=="string")throw Error("Param is not a string");switch($.toLowerCase()){case"numeric":return F6.NUMERIC;case"alphanumeric":return F6.ALPHANUMERIC;case"kanji":return F6.KANJI;case"byte":return F6.BYTE;default:throw Error("Unknown mode: "+$)}}F6.from=function(q,Z){if(F6.isValid(q))return q;try{return Q6(q)}catch(J){return Z}}});var P1=T((G6)=>{var U0=y(),E6=V0(),g1=J0(),D=u(),z0=W0(),u1=U0.getBCHDigit(7973);function O6($,q,Z){for(let J=1;J<=40;J++)if(q<=G6.getCapacity(J,Z,$))return J;return}function D1($,q){return D.getCharCountIndicator($,q)+4}function T6($,q){let Z=0;return $.forEach(function(J){let Q=D1(J.mode,q);Z+=Q+J.getBitsLength()}),Z}function X6($,q){for(let Z=1;Z<=40;Z++)if(T6($,Z)<=G6.getCapacity(Z,q,D.MIXED))return Z;return}G6.from=function(q,Z){if(z0.isValid(q))return parseInt(q,10);return Z};G6.getCapacity=function(q,Z,J){if(!z0.isValid(q))throw Error("Invalid QR Code version");if(typeof J>"u")J=D.BYTE;let Q=U0.getSymbolTotalCodewords(q),F=E6.getTotalCodewordsCount(q,Z),K=(Q-F)*8;if(J===D.MIXED)return K;let U=K-D1(J,q);switch(J){case D.NUMERIC:return Math.floor(U/10*3);case D.ALPHANUMERIC:return Math.floor(U/11*2);case D.KANJI:return Math.floor(U/13);case D.BYTE:default:return Math.floor(U/8)}};G6.getBestVersionForData=function(q,Z){let J,Q=g1.from(Z,g1.M);if(Array.isArray(q)){if(q.length>1)return X6(q,Q);if(q.length===0)return 1;J=q[0]}else J=q;return O6(J.mode,J.getLength(),Q)};G6.getEncodedBits=function(q){if(!z0.isValid(q)||q<7)throw Error("Invalid QR Code version");let Z=q<<12;while(U0.getBCHDigit(Z)-u1>=0)Z^=7973<<U0.getBCHDigit(Z)-u1;return q<<12|Z}});var c1=T((W6)=>{var k0=y(),v1=k0.getBCHDigit(1335);W6.getEncodedBits=function(q,Z){let J=q.bit<<3|Z,Q=J<<10;while(k0.getBCHDigit(Q)-v1>=0)Q^=1335<<k0.getBCHDigit(Q)-v1;return(J<<10|Q)^21522}});var m1=T((y5,b1)=>{var j6=u();function m($){this.mode=j6.NUMERIC,this.data=$.toString()}m.getBitsLength=function(q){return 10*Math.floor(q/3)+(q%3?q%3*3+1:0)};m.prototype.getLength=function(){return this.data.length};m.prototype.getBitsLength=function(){return m.getBitsLength(this.data.length)};m.prototype.write=function(q){let Z,J,Q;for(Z=0;Z+3<=this.data.length;Z+=3)J=this.data.substr(Z,3),Q=parseInt(J,10),q.put(Q,10);let F=this.data.length-Z;if(F>0)J=this.data.substr(Z),Q=parseInt(J,10),q.put(Q,F*3+1)};b1.exports=m});var l1=T((g5,x1)=>{var _6=u(),S0=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function x($){this.mode=_6.ALPHANUMERIC,this.data=$}x.getBitsLength=function(q){return 11*Math.floor(q/2)+6*(q%2)};x.prototype.getLength=function(){return this.data.length};x.prototype.getBitsLength=function(){return x.getBitsLength(this.data.length)};x.prototype.write=function(q){let Z;for(Z=0;Z+2<=this.data.length;Z+=2){let J=S0.indexOf(this.data[Z])*45;J+=S0.indexOf(this.data[Z+1]),q.put(J,11)}if(this.data.length%2)q.put(S0.indexOf(this.data[Z]),6)};x1.exports=x});var p1=T((u5,n1)=>{var B6=u();function l($){if(this.mode=B6.BYTE,typeof $==="string")this.data=new TextEncoder().encode($);else this.data=new Uint8Array($)}l.getBitsLength=function(q){return q*8};l.prototype.getLength=function(){return this.data.length};l.prototype.getBitsLength=function(){return l.getBitsLength(this.data.length)};l.prototype.write=function($){for(let q=0,Z=this.data.length;q<Z;q++)$.put(this.data[q],8)};n1.exports=l});var r1=T((D5,d1)=>{var I6=u(),L6=y();function n($){this.mode=I6.KANJI,this.data=$}n.getBitsLength=function(q){return q*13};n.prototype.getLength=function(){return this.data.length};n.prototype.getBitsLength=function(){return n.getBitsLength(this.data.length)};n.prototype.write=function($){let q;for(q=0;q<this.data.length;q++){let Z=L6.toSJIS(this.data[q]);if(Z>=33088&&Z<=40956)Z-=33088;else if(Z>=57408&&Z<=60351)Z-=49472;else throw Error("Invalid SJIS character: "+this.data[q]+`
|
|
3
|
+
Make sure your charset is UTF-8`);Z=(Z>>>8&255)*192+(Z&255),$.put(Z,13)}};d1.exports=n});var i1=T((h5,w0)=>{var e={single_source_shortest_paths:function($,q,Z){var J={},Q={};Q[q]=0;var F=e.PriorityQueue.make();F.push(q,0);var K,U,R,H,Y,E,O,X,G;while(!F.empty()){K=F.pop(),U=K.value,H=K.cost,Y=$[U]||{};for(R in Y)if(Y.hasOwnProperty(R)){if(E=Y[R],O=H+E,X=Q[R],G=typeof Q[R]>"u",G||X>O)Q[R]=O,F.push(R,O),J[R]=U}}if(typeof Z<"u"&&typeof Q[Z]>"u"){var A=["Could not find a path from ",q," to ",Z,"."].join("");throw Error(A)}return J},extract_shortest_path_from_predecessor_list:function($,q){var Z=[],J=q,Q;while(J)Z.push(J),Q=$[J],J=$[J];return Z.reverse(),Z},find_path:function($,q,Z){var J=e.single_source_shortest_paths($,q,Z);return e.extract_shortest_path_from_predecessor_list(J,Z)},PriorityQueue:{make:function($){var q=e.PriorityQueue,Z={},J;$=$||{};for(J in q)if(q.hasOwnProperty(J))Z[J]=q[J];return Z.queue=[],Z.sorter=$.sorter||q.default_sorter,Z},default_sorter:function($,q){return $.cost-q.cost},push:function($,q){var Z={value:$,cost:q};this.queue.push(Z),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};if(typeof w0<"u")w0.exports=e});var Z7=T((f6)=>{var N=u(),t1=m1(),e1=l1(),a1=p1(),q7=r1(),a=M0(),R0=y(),z6=i1();function s1($){return unescape(encodeURIComponent($)).length}function q0($,q,Z){let J=[],Q;while((Q=$.exec(Z))!==null)J.push({data:Q[0],index:Q.index,mode:q,length:Q[0].length});return J}function $7($){let q=q0(a.NUMERIC,N.NUMERIC,$),Z=q0(a.ALPHANUMERIC,N.ALPHANUMERIC,$),J,Q;if(R0.isKanjiModeEnabled())J=q0(a.BYTE,N.BYTE,$),Q=q0(a.KANJI,N.KANJI,$);else J=q0(a.BYTE_KANJI,N.BYTE,$),Q=[];return q.concat(Z,J,Q).sort(function(K,U){return K.index-U.index}).map(function(K){return{data:K.data,mode:K.mode,length:K.length}})}function f0($,q){switch(q){case N.NUMERIC:return t1.getBitsLength($);case N.ALPHANUMERIC:return e1.getBitsLength($);case N.KANJI:return q7.getBitsLength($);case N.BYTE:return a1.getBitsLength($)}}function k6($){return $.reduce(function(q,Z){let J=q.length-1>=0?q[q.length-1]:null;if(J&&J.mode===Z.mode)return q[q.length-1].data+=Z.data,q;return q.push(Z),q},[])}function S6($){let q=[];for(let Z=0;Z<$.length;Z++){let J=$[Z];switch(J.mode){case N.NUMERIC:q.push([J,{data:J.data,mode:N.ALPHANUMERIC,length:J.length},{data:J.data,mode:N.BYTE,length:J.length}]);break;case N.ALPHANUMERIC:q.push([J,{data:J.data,mode:N.BYTE,length:J.length}]);break;case N.KANJI:q.push([J,{data:J.data,mode:N.BYTE,length:s1(J.data)}]);break;case N.BYTE:q.push([{data:J.data,mode:N.BYTE,length:s1(J.data)}])}}return q}function w6($,q){let Z={},J={start:{}},Q=["start"];for(let F=0;F<$.length;F++){let K=$[F],U=[];for(let R=0;R<K.length;R++){let H=K[R],Y=""+F+R;U.push(Y),Z[Y]={node:H,lastCount:0},J[Y]={};for(let E=0;E<Q.length;E++){let O=Q[E];if(Z[O]&&Z[O].node.mode===H.mode)J[O][Y]=f0(Z[O].lastCount+H.length,H.mode)-f0(Z[O].lastCount,H.mode),Z[O].lastCount+=H.length;else{if(Z[O])Z[O].lastCount=H.length;J[O][Y]=f0(H.length,H.mode)+4+N.getCharCountIndicator(H.mode,q)}}}Q=U}for(let F=0;F<Q.length;F++)J[Q[F]].end=0;return{map:J,table:Z}}function o1($,q){let Z,J=N.getBestModeForData($);if(Z=N.from(q,J),Z!==N.BYTE&&Z.bit<J.bit)throw Error('"'+$+'" cannot be encoded with mode '+N.toString(Z)+`.
|
|
4
|
+
Suggested mode is: `+N.toString(J));if(Z===N.KANJI&&!R0.isKanjiModeEnabled())Z=N.BYTE;switch(Z){case N.NUMERIC:return new t1($);case N.ALPHANUMERIC:return new e1($);case N.KANJI:return new q7($);case N.BYTE:return new a1($)}}f6.fromArray=function(q){return q.reduce(function(Z,J){if(typeof J==="string")Z.push(o1(J,null));else if(J.data)Z.push(o1(J.data,J.mode));return Z},[])};f6.fromString=function(q,Z){let J=$7(q,R0.isKanjiModeEnabled()),Q=S6(J),F=w6(Q,Z),K=z6.find_path(F.map,"start","end"),U=[];for(let R=1;R<K.length-1;R++)U.push(F.table[K[R]].node);return f6.fromArray(k6(U))};f6.rawSplit=function(q){return f6.fromArray($7(q,R0.isKanjiModeEnabled()))}});var P0=T((i6)=>{var Y0=y(),y0=J0(),g6=X1(),u6=V1(),D6=N1(),h6=W1(),D0=L1(),h0=V0(),P6=C1(),H0=P1(),v6=c1(),c6=u(),g0=Z7();function b6($,q){let Z=$.size,J=h6.getPositions(q);for(let Q=0;Q<J.length;Q++){let F=J[Q][0],K=J[Q][1];for(let U=-1;U<=7;U++){if(F+U<=-1||Z<=F+U)continue;for(let R=-1;R<=7;R++){if(K+R<=-1||Z<=K+R)continue;if(U>=0&&U<=6&&(R===0||R===6)||R>=0&&R<=6&&(U===0||U===6)||U>=2&&U<=4&&R>=2&&R<=4)$.set(F+U,K+R,!0,!0);else $.set(F+U,K+R,!1,!0)}}}}function m6($){let q=$.size;for(let Z=8;Z<q-8;Z++){let J=Z%2===0;$.set(Z,6,J,!0),$.set(6,Z,J,!0)}}function x6($,q){let Z=D6.getPositions(q);for(let J=0;J<Z.length;J++){let Q=Z[J][0],F=Z[J][1];for(let K=-2;K<=2;K++)for(let U=-2;U<=2;U++)if(K===-2||K===2||U===-2||U===2||K===0&&U===0)$.set(Q+K,F+U,!0,!0);else $.set(Q+K,F+U,!1,!0)}}function l6($,q){let Z=$.size,J=H0.getEncodedBits(q),Q,F,K;for(let U=0;U<18;U++)Q=Math.floor(U/3),F=U%3+Z-8-3,K=(J>>U&1)===1,$.set(Q,F,K,!0),$.set(F,Q,K,!0)}function u0($,q,Z){let J=$.size,Q=v6.getEncodedBits(q,Z),F,K;for(F=0;F<15;F++){if(K=(Q>>F&1)===1,F<6)$.set(F,8,K,!0);else if(F<8)$.set(F+1,8,K,!0);else $.set(J-15+F,8,K,!0);if(F<8)$.set(8,J-F-1,K,!0);else if(F<9)$.set(8,15-F-1+1,K,!0);else $.set(8,15-F-1,K,!0)}$.set(J-8,8,1,!0)}function n6($,q){let Z=$.size,J=-1,Q=Z-1,F=7,K=0;for(let U=Z-1;U>0;U-=2){if(U===6)U--;while(!0){for(let R=0;R<2;R++)if(!$.isReserved(Q,U-R)){let H=!1;if(K<q.length)H=(q[K]>>>F&1)===1;if($.set(Q,U-R,H),F--,F===-1)K++,F=7}if(Q+=J,Q<0||Z<=Q){Q-=J,J=-J;break}}}}function p6($,q,Z){let J=new g6;Z.forEach(function(R){J.put(R.mode.bit,4),J.put(R.getLength(),c6.getCharCountIndicator(R.mode,$)),R.write(J)});let Q=Y0.getSymbolTotalCodewords($),F=h0.getTotalCodewordsCount($,q),K=(Q-F)*8;if(J.getLengthInBits()+4<=K)J.put(0,4);while(J.getLengthInBits()%8!==0)J.putBit(0);let U=(K-J.getLengthInBits())/8;for(let R=0;R<U;R++)J.put(R%2?17:236,8);return d6(J,$,q)}function d6($,q,Z){let J=Y0.getSymbolTotalCodewords(q),Q=h0.getTotalCodewordsCount(q,Z),F=J-Q,K=h0.getBlocksCount(q,Z),U=J%K,R=K-U,H=Math.floor(J/K),Y=Math.floor(F/K),E=Y+1,O=H-Y,X=new P6(O),G=0,A=Array(K),V=Array(K),W=0,E0=new Uint8Array($.buffer);for(let b=0;b<K;b++){let O0=b<R?Y:E;A[b]=E0.slice(G,G+O0),V[b]=X.encode(A[b]),G+=O0,W=Math.max(W,O0)}let i=new Uint8Array(J),I=0,z,C;for(z=0;z<W;z++)for(C=0;C<K;C++)if(z<A[C].length)i[I++]=A[C][z];for(z=0;z<O;z++)for(C=0;C<K;C++)i[I++]=V[C][z];return i}function r6($,q,Z,J){let Q;if(Array.isArray($))Q=g0.fromArray($);else if(typeof $==="string"){let H=q;if(!H){let Y=g0.rawSplit($);H=H0.getBestVersionForData(Y,Z)}Q=g0.fromString($,H||40)}else throw Error("Invalid data");let F=H0.getBestVersionForData(Q,Z);if(!F)throw Error("The amount of data is too big to be stored in a QR Code");if(!q)q=F;else if(q<F)throw Error(`
|
|
5
|
+
The chosen QR Code version cannot contain this amount of data.
|
|
6
|
+
Minimum version required to store current data is: `+F+`.
|
|
7
|
+
`);let K=p6(q,Z,Q),U=Y0.getSymbolSize(q),R=new u6(U);if(b6(R,q),m6(R),x6(R,q),u0(R,Z,0),q>=7)l6(R,q);if(n6(R,K),isNaN(J))J=D0.getBestMask(R,u0.bind(null,R,Z));return D0.applyMask(J,R),u0(R,Z,J),{modules:R,version:q,errorCorrectionLevel:Z,maskPattern:J,segments:Q}}i6.create=function(q,Z){if(typeof q>"u"||q==="")throw Error("No input text");let J=y0.M,Q,F;if(typeof Z<"u"){if(J=y0.from(Z.errorCorrectionLevel,y0.M),Q=H0.from(Z.version),F=D0.from(Z.maskPattern),Z.toSJISFunc)Y0.setToSJISFunction(Z.toSJISFunc)}return r6(q,Q,J,F)}});var v0=T((c5,Q7)=>{var o6=M("util"),J7=M("stream"),S=Q7.exports=function(){J7.call(this),this._buffers=[],this._buffered=0,this._reads=[],this._paused=!1,this._encoding="utf8",this.writable=!0};o6.inherits(S,J7);S.prototype.read=function($,q){this._reads.push({length:Math.abs($),allowLess:$<0,func:q}),process.nextTick(function(){if(this._process(),this._paused&&this._reads&&this._reads.length>0)this._paused=!1,this.emit("drain")}.bind(this))};S.prototype.write=function($,q){if(!this.writable)return this.emit("error",Error("Stream not writable")),!1;let Z;if(Buffer.isBuffer($))Z=$;else Z=Buffer.from($,q||this._encoding);if(this._buffers.push(Z),this._buffered+=Z.length,this._process(),this._reads&&this._reads.length===0)this._paused=!0;return this.writable&&!this._paused};S.prototype.end=function($,q){if($)this.write($,q);if(this.writable=!1,!this._buffers)return;if(this._buffers.length===0)this._end();else this._buffers.push(null),this._process()};S.prototype.destroySoon=S.prototype.end;S.prototype._end=function(){if(this._reads.length>0)this.emit("error",Error("Unexpected end of input"));this.destroy()};S.prototype.destroy=function(){if(!this._buffers)return;this.writable=!1,this._reads=null,this._buffers=null,this.emit("close")};S.prototype._processReadAllowingLess=function($){this._reads.shift();let q=this._buffers[0];if(q.length>$.length)this._buffered-=$.length,this._buffers[0]=q.slice($.length),$.func.call(this,q.slice(0,$.length));else this._buffered-=q.length,this._buffers.shift(),$.func.call(this,q)};S.prototype._processRead=function($){this._reads.shift();let q=0,Z=0,J=Buffer.alloc($.length);while(q<$.length){let Q=this._buffers[Z++],F=Math.min(Q.length,$.length-q);if(Q.copy(J,q,0,F),q+=F,F!==Q.length)this._buffers[--Z]=Q.slice(F)}if(Z>0)this._buffers.splice(0,Z);this._buffered-=$.length,$.func.call(this,J)};S.prototype._process=function(){try{while(this._buffered>0&&this._reads&&this._reads.length>0){let $=this._reads[0];if($.allowLess)this._processReadAllowingLess($);else if(this._buffered>=$.length)this._processRead($);else break}if(this._buffers&&!this.writable)this._end()}catch($){this.emit("error",$)}}});var c0=T((t6)=>{var h=[{x:[0],y:[0]},{x:[4],y:[0]},{x:[0,4],y:[4]},{x:[2,6],y:[0,4]},{x:[0,2,4,6],y:[2,6]},{x:[1,3,5,7],y:[0,2,4,6]},{x:[0,1,2,3,4,5,6,7],y:[1,3,5,7]}];t6.getImagePasses=function($,q){let Z=[],J=$%8,Q=q%8,F=($-J)/8,K=(q-Q)/8;for(let U=0;U<h.length;U++){let R=h[U],H=F*R.x.length,Y=K*R.y.length;for(let E=0;E<R.x.length;E++)if(R.x[E]<J)H++;else break;for(let E=0;E<R.y.length;E++)if(R.y[E]<Q)Y++;else break;if(H>0&&Y>0)Z.push({width:H,height:Y,index:U})}return Z};t6.getInterlaceIterator=function($){return function(q,Z,J){let Q=q%h[J].x.length,F=(q-Q)/h[J].x.length*8+h[J].x[Q],K=Z%h[J].y.length,U=(Z-K)/h[J].y.length*8+h[J].y[K];return F*4+U*$*4}}});var b0=T((m5,F7)=>{F7.exports=function(q,Z,J){let Q=q+Z-J,F=Math.abs(Q-q),K=Math.abs(Q-Z),U=Math.abs(Q-J);if(F<=K&&F<=U)return q;if(K<=U)return Z;return J}});var m0=T((x5,U7)=>{var qq=c0(),$q=b0();function K7($,q,Z){let J=$*q;if(Z!==8)J=Math.ceil(J/(8/Z));return J}var p=U7.exports=function($,q){let{width:Z,height:J,interlace:Q,bpp:F,depth:K}=$;if(this.read=q.read,this.write=q.write,this.complete=q.complete,this._imageIndex=0,this._images=[],Q){let U=qq.getImagePasses(Z,J);for(let R=0;R<U.length;R++)this._images.push({byteWidth:K7(U[R].width,F,K),height:U[R].height,lineIndex:0})}else this._images.push({byteWidth:K7(Z,F,K),height:J,lineIndex:0});if(K===8)this._xComparison=F;else if(K===16)this._xComparison=F*2;else this._xComparison=1};p.prototype.start=function(){this.read(this._images[this._imageIndex].byteWidth+1,this._reverseFilterLine.bind(this))};p.prototype._unFilterType1=function($,q,Z){let J=this._xComparison,Q=J-1;for(let F=0;F<Z;F++){let K=$[1+F],U=F>Q?q[F-J]:0;q[F]=K+U}};p.prototype._unFilterType2=function($,q,Z){let J=this._lastLine;for(let Q=0;Q<Z;Q++){let F=$[1+Q],K=J?J[Q]:0;q[Q]=F+K}};p.prototype._unFilterType3=function($,q,Z){let J=this._xComparison,Q=J-1,F=this._lastLine;for(let K=0;K<Z;K++){let U=$[1+K],R=F?F[K]:0,H=K>Q?q[K-J]:0,Y=Math.floor((H+R)/2);q[K]=U+Y}};p.prototype._unFilterType4=function($,q,Z){let J=this._xComparison,Q=J-1,F=this._lastLine;for(let K=0;K<Z;K++){let U=$[1+K],R=F?F[K]:0,H=K>Q?q[K-J]:0,Y=K>Q&&F?F[K-J]:0,E=$q(H,R,Y);q[K]=U+E}};p.prototype._reverseFilterLine=function($){let q=$[0],Z,J=this._images[this._imageIndex],Q=J.byteWidth;if(q===0)Z=$.slice(1,Q+1);else switch(Z=Buffer.alloc(Q),q){case 1:this._unFilterType1($,Z,Q);break;case 2:this._unFilterType2($,Z,Q);break;case 3:this._unFilterType3($,Z,Q);break;case 4:this._unFilterType4($,Z,Q);break;default:throw Error("Unrecognised filter type - "+q)}if(this.write(Z),J.lineIndex++,J.lineIndex>=J.height)this._lastLine=null,this._imageIndex++,J=this._images[this._imageIndex];else this._lastLine=Z;if(J)this.read(J.byteWidth+1,this._reverseFilterLine.bind(this));else this._lastLine=null,this.complete()}});var Y7=T((l5,H7)=>{var Zq=M("util"),R7=v0(),Jq=m0(),Qq=H7.exports=function($){R7.call(this);let q=[],Z=this;this._filter=new Jq($,{read:this.read.bind(this),write:function(J){q.push(J)},complete:function(){Z.emit("complete",Buffer.concat(q))}}),this._filter.start()};Zq.inherits(Qq,R7)});var d=T((n5,E7)=>{E7.exports={PNG_SIGNATURE:[137,80,78,71,13,10,26,10],TYPE_IHDR:1229472850,TYPE_IEND:1229278788,TYPE_IDAT:1229209940,TYPE_PLTE:1347179589,TYPE_tRNS:1951551059,TYPE_gAMA:1732332865,COLORTYPE_GRAYSCALE:0,COLORTYPE_PALETTE:1,COLORTYPE_COLOR:2,COLORTYPE_ALPHA:4,COLORTYPE_PALETTE_COLOR:3,COLORTYPE_COLOR_ALPHA:6,COLORTYPE_TO_BPP_MAP:{0:1,2:3,3:1,4:2,6:4},GAMMA_DIVISION:1e5}});var n0=T((p5,O7)=>{var x0=[];(function(){for(let $=0;$<256;$++){let q=$;for(let Z=0;Z<8;Z++)if(q&1)q=3988292384^q>>>1;else q=q>>>1;x0[$]=q}})();var l0=O7.exports=function(){this._crc=-1};l0.prototype.write=function($){for(let q=0;q<$.length;q++)this._crc=x0[(this._crc^$[q])&255]^this._crc>>>8;return!0};l0.prototype.crc32=function(){return this._crc^-1};l0.crc32=function($){let q=-1;for(let Z=0;Z<$.length;Z++)q=x0[(q^$[Z])&255]^q>>>8;return q^-1}});var p0=T((d5,T7)=>{var j=d(),Fq=n0(),_=T7.exports=function($,q){this._options=$,$.checkCRC=$.checkCRC!==!1,this._hasIHDR=!1,this._hasIEND=!1,this._emittedHeadersFinished=!1,this._palette=[],this._colorType=0,this._chunks={},this._chunks[j.TYPE_IHDR]=this._handleIHDR.bind(this),this._chunks[j.TYPE_IEND]=this._handleIEND.bind(this),this._chunks[j.TYPE_IDAT]=this._handleIDAT.bind(this),this._chunks[j.TYPE_PLTE]=this._handlePLTE.bind(this),this._chunks[j.TYPE_tRNS]=this._handleTRNS.bind(this),this._chunks[j.TYPE_gAMA]=this._handleGAMA.bind(this),this.read=q.read,this.error=q.error,this.metadata=q.metadata,this.gamma=q.gamma,this.transColor=q.transColor,this.palette=q.palette,this.parsed=q.parsed,this.inflateData=q.inflateData,this.finished=q.finished,this.simpleTransparency=q.simpleTransparency,this.headersFinished=q.headersFinished||function(){}};_.prototype.start=function(){this.read(j.PNG_SIGNATURE.length,this._parseSignature.bind(this))};_.prototype._parseSignature=function($){let q=j.PNG_SIGNATURE;for(let Z=0;Z<q.length;Z++)if($[Z]!==q[Z]){this.error(Error("Invalid file signature"));return}this.read(8,this._parseChunkBegin.bind(this))};_.prototype._parseChunkBegin=function($){let q=$.readUInt32BE(0),Z=$.readUInt32BE(4),J="";for(let F=4;F<8;F++)J+=String.fromCharCode($[F]);let Q=Boolean($[4]&32);if(!this._hasIHDR&&Z!==j.TYPE_IHDR){this.error(Error("Expected IHDR on beggining"));return}if(this._crc=new Fq,this._crc.write(Buffer.from(J)),this._chunks[Z])return this._chunks[Z](q);if(!Q){this.error(Error("Unsupported critical chunk type "+J));return}this.read(q+4,this._skipChunk.bind(this))};_.prototype._skipChunk=function(){this.read(8,this._parseChunkBegin.bind(this))};_.prototype._handleChunkEnd=function(){this.read(4,this._parseChunkEnd.bind(this))};_.prototype._parseChunkEnd=function($){let q=$.readInt32BE(0),Z=this._crc.crc32();if(this._options.checkCRC&&Z!==q){this.error(Error("Crc error - "+q+" - "+Z));return}if(!this._hasIEND)this.read(8,this._parseChunkBegin.bind(this))};_.prototype._handleIHDR=function($){this.read($,this._parseIHDR.bind(this))};_.prototype._parseIHDR=function($){this._crc.write($);let q=$.readUInt32BE(0),Z=$.readUInt32BE(4),J=$[8],Q=$[9],F=$[10],K=$[11],U=$[12];if(J!==8&&J!==4&&J!==2&&J!==1&&J!==16){this.error(Error("Unsupported bit depth "+J));return}if(!(Q in j.COLORTYPE_TO_BPP_MAP)){this.error(Error("Unsupported color type"));return}if(F!==0){this.error(Error("Unsupported compression method"));return}if(K!==0){this.error(Error("Unsupported filter method"));return}if(U!==0&&U!==1){this.error(Error("Unsupported interlace method"));return}this._colorType=Q;let R=j.COLORTYPE_TO_BPP_MAP[this._colorType];this._hasIHDR=!0,this.metadata({width:q,height:Z,depth:J,interlace:Boolean(U),palette:Boolean(Q&j.COLORTYPE_PALETTE),color:Boolean(Q&j.COLORTYPE_COLOR),alpha:Boolean(Q&j.COLORTYPE_ALPHA),bpp:R,colorType:Q}),this._handleChunkEnd()};_.prototype._handlePLTE=function($){this.read($,this._parsePLTE.bind(this))};_.prototype._parsePLTE=function($){this._crc.write($);let q=Math.floor($.length/3);for(let Z=0;Z<q;Z++)this._palette.push([$[Z*3],$[Z*3+1],$[Z*3+2],255]);this.palette(this._palette),this._handleChunkEnd()};_.prototype._handleTRNS=function($){this.simpleTransparency(),this.read($,this._parseTRNS.bind(this))};_.prototype._parseTRNS=function($){if(this._crc.write($),this._colorType===j.COLORTYPE_PALETTE_COLOR){if(this._palette.length===0){this.error(Error("Transparency chunk must be after palette"));return}if($.length>this._palette.length){this.error(Error("More transparent colors than palette size"));return}for(let q=0;q<$.length;q++)this._palette[q][3]=$[q];this.palette(this._palette)}if(this._colorType===j.COLORTYPE_GRAYSCALE)this.transColor([$.readUInt16BE(0)]);if(this._colorType===j.COLORTYPE_COLOR)this.transColor([$.readUInt16BE(0),$.readUInt16BE(2),$.readUInt16BE(4)]);this._handleChunkEnd()};_.prototype._handleGAMA=function($){this.read($,this._parseGAMA.bind(this))};_.prototype._parseGAMA=function($){this._crc.write($),this.gamma($.readUInt32BE(0)/j.GAMMA_DIVISION),this._handleChunkEnd()};_.prototype._handleIDAT=function($){if(!this._emittedHeadersFinished)this._emittedHeadersFinished=!0,this.headersFinished();this.read(-$,this._parseIDAT.bind(this,$))};_.prototype._parseIDAT=function($,q){if(this._crc.write(q),this._colorType===j.COLORTYPE_PALETTE_COLOR&&this._palette.length===0)throw Error("Expected palette not found");this.inflateData(q);let Z=$-q.length;if(Z>0)this._handleIDAT(Z);else this._handleChunkEnd()};_.prototype._handleIEND=function($){this.read($,this._parseIEND.bind(this))};_.prototype._parseIEND=function($){if(this._crc.write($),this._hasIEND=!0,this._handleChunkEnd(),this.finished)this.finished()}});var d0=T((Eq)=>{var X7=c0(),Kq=[function(){},function($,q,Z,J){if(J===q.length)throw Error("Ran out of data");let Q=q[J];$[Z]=Q,$[Z+1]=Q,$[Z+2]=Q,$[Z+3]=255},function($,q,Z,J){if(J+1>=q.length)throw Error("Ran out of data");let Q=q[J];$[Z]=Q,$[Z+1]=Q,$[Z+2]=Q,$[Z+3]=q[J+1]},function($,q,Z,J){if(J+2>=q.length)throw Error("Ran out of data");$[Z]=q[J],$[Z+1]=q[J+1],$[Z+2]=q[J+2],$[Z+3]=255},function($,q,Z,J){if(J+3>=q.length)throw Error("Ran out of data");$[Z]=q[J],$[Z+1]=q[J+1],$[Z+2]=q[J+2],$[Z+3]=q[J+3]}],Uq=[function(){},function($,q,Z,J){let Q=q[0];$[Z]=Q,$[Z+1]=Q,$[Z+2]=Q,$[Z+3]=J},function($,q,Z){let J=q[0];$[Z]=J,$[Z+1]=J,$[Z+2]=J,$[Z+3]=q[1]},function($,q,Z,J){$[Z]=q[0],$[Z+1]=q[1],$[Z+2]=q[2],$[Z+3]=J},function($,q,Z){$[Z]=q[0],$[Z+1]=q[1],$[Z+2]=q[2],$[Z+3]=q[3]}];function Rq($,q){let Z=[],J=0;function Q(){if(J===$.length)throw Error("Ran out of data");let F=$[J];J++;let K,U,R,H,Y,E,O,X;switch(q){default:throw Error("unrecognised depth");case 16:O=$[J],J++,Z.push((F<<8)+O);break;case 4:O=F&15,X=F>>4,Z.push(X,O);break;case 2:Y=F&3,E=F>>2&3,O=F>>4&3,X=F>>6&3,Z.push(X,O,E,Y);break;case 1:K=F&1,U=F>>1&1,R=F>>2&1,H=F>>3&1,Y=F>>4&1,E=F>>5&1,O=F>>6&1,X=F>>7&1,Z.push(X,O,E,Y,H,R,U,K);break}}return{get:function(F){while(Z.length<F)Q();let K=Z.slice(0,F);return Z=Z.slice(F),K},resetAfterLine:function(){Z.length=0},end:function(){if(J!==$.length)throw Error("extra data found")}}}function Hq($,q,Z,J,Q,F){let{width:K,height:U,index:R}=$;for(let H=0;H<U;H++)for(let Y=0;Y<K;Y++){let E=Z(Y,H,R);Kq[J](q,Q,E,F),F+=J}return F}function Yq($,q,Z,J,Q,F){let{width:K,height:U,index:R}=$;for(let H=0;H<U;H++){for(let Y=0;Y<K;Y++){let E=Q.get(J),O=Z(Y,H,R);Uq[J](q,E,O,F)}Q.resetAfterLine()}}Eq.dataToBitMap=function($,q){let{width:Z,height:J,depth:Q,bpp:F,interlace:K}=q,U;if(Q!==8)U=Rq($,Q);let R;if(Q<=8)R=Buffer.alloc(Z*J*4);else R=new Uint16Array(Z*J*4);let H=Math.pow(2,Q)-1,Y=0,E,O;if(K)E=X7.getImagePasses(Z,J),O=X7.getInterlaceIterator(Z,J);else{let X=0;O=function(){let G=X;return X+=4,G},E=[{width:Z,height:J}]}for(let X=0;X<E.length;X++)if(Q===8)Y=Hq(E[X],R,O,F,$,Y);else Yq(E[X],R,O,F,U,H);if(Q===8){if(Y!==$.length)throw Error("extra data found")}else U.end();return R}});var r0=T((i5,G7)=>{function Tq($,q,Z,J,Q){let F=0;for(let K=0;K<J;K++)for(let U=0;U<Z;U++){let R=Q[$[F]];if(!R)throw Error("index "+$[F]+" not in palette");for(let H=0;H<4;H++)q[F+H]=R[H];F+=4}}function Xq($,q,Z,J,Q){let F=0;for(let K=0;K<J;K++)for(let U=0;U<Z;U++){let R=!1;if(Q.length===1){if(Q[0]===$[F])R=!0}else if(Q[0]===$[F]&&Q[1]===$[F+1]&&Q[2]===$[F+2])R=!0;if(R)for(let H=0;H<4;H++)q[F+H]=0;F+=4}}function Gq($,q,Z,J,Q){let F=255,K=Math.pow(2,Q)-1,U=0;for(let R=0;R<J;R++)for(let H=0;H<Z;H++){for(let Y=0;Y<4;Y++)q[U+Y]=Math.floor($[U+Y]*F/K+0.5);U+=4}}G7.exports=function($,q){let{depth:Z,width:J,height:Q,colorType:F,transColor:K,palette:U}=q,R=$;if(F===3)Tq($,R,J,Q,U);else{if(K)Xq($,R,J,Q,K);if(Z!==8){if(Z===16)R=Buffer.alloc(J*Q*4);Gq($,R,J,Q,Z)}}return R}});var N7=T((s5,A7)=>{var Vq=M("util"),i0=M("zlib"),V7=v0(),Aq=Y7(),Nq=p0(),Wq=d0(),Mq=r0(),f=A7.exports=function($){V7.call(this),this._parser=new Nq($,{read:this.read.bind(this),error:this._handleError.bind(this),metadata:this._handleMetaData.bind(this),gamma:this.emit.bind(this,"gamma"),palette:this._handlePalette.bind(this),transColor:this._handleTransColor.bind(this),finished:this._finished.bind(this),inflateData:this._inflateData.bind(this),simpleTransparency:this._simpleTransparency.bind(this),headersFinished:this._headersFinished.bind(this)}),this._options=$,this.writable=!0,this._parser.start()};Vq.inherits(f,V7);f.prototype._handleError=function($){if(this.emit("error",$),this.writable=!1,this.destroy(),this._inflate&&this._inflate.destroy)this._inflate.destroy();if(this._filter)this._filter.destroy(),this._filter.on("error",function(){});this.errord=!0};f.prototype._inflateData=function($){if(!this._inflate)if(this._bitmapInfo.interlace)this._inflate=i0.createInflate(),this._inflate.on("error",this.emit.bind(this,"error")),this._filter.on("complete",this._complete.bind(this)),this._inflate.pipe(this._filter);else{let Z=((this._bitmapInfo.width*this._bitmapInfo.bpp*this._bitmapInfo.depth+7>>3)+1)*this._bitmapInfo.height,J=Math.max(Z,i0.Z_MIN_CHUNK);this._inflate=i0.createInflate({chunkSize:J});let Q=Z,F=this.emit.bind(this,"error");this._inflate.on("error",function(U){if(!Q)return;F(U)}),this._filter.on("complete",this._complete.bind(this));let K=this._filter.write.bind(this._filter);this._inflate.on("data",function(U){if(!Q)return;if(U.length>Q)U=U.slice(0,Q);Q-=U.length,K(U)}),this._inflate.on("end",this._filter.end.bind(this._filter))}this._inflate.write($)};f.prototype._handleMetaData=function($){this._metaData=$,this._bitmapInfo=Object.create($),this._filter=new Aq(this._bitmapInfo)};f.prototype._handleTransColor=function($){this._bitmapInfo.transColor=$};f.prototype._handlePalette=function($){this._bitmapInfo.palette=$};f.prototype._simpleTransparency=function(){this._metaData.alpha=!0};f.prototype._headersFinished=function(){this.emit("metadata",this._metaData)};f.prototype._finished=function(){if(this.errord)return;if(!this._inflate)this.emit("error","No Inflate block");else this._inflate.end()};f.prototype._complete=function($){if(this.errord)return;let q;try{let Z=Wq.dataToBitMap($,this._bitmapInfo);q=Mq(Z,this._bitmapInfo),Z=null}catch(Z){this._handleError(Z);return}this.emit("parsed",q)}});var M7=T((o5,W7)=>{var k=d();W7.exports=function($,q,Z,J){let Q=[k.COLORTYPE_COLOR_ALPHA,k.COLORTYPE_ALPHA].indexOf(J.colorType)!==-1;if(J.colorType===J.inputColorType){let G=function(){let A=new ArrayBuffer(2);return new DataView(A).setInt16(0,256,!0),new Int16Array(A)[0]!==256}();if(J.bitDepth===8||J.bitDepth===16&&G)return $}let F=J.bitDepth!==16?$:new Uint16Array($.buffer),K=255,U=k.COLORTYPE_TO_BPP_MAP[J.inputColorType];if(U===4&&!J.inputHasAlpha)U=3;let R=k.COLORTYPE_TO_BPP_MAP[J.colorType];if(J.bitDepth===16)K=65535,R*=2;let H=Buffer.alloc(q*Z*R),Y=0,E=0,O=J.bgColor||{};if(O.red===void 0)O.red=K;if(O.green===void 0)O.green=K;if(O.blue===void 0)O.blue=K;function X(){let G,A,V,W=K;switch(J.inputColorType){case k.COLORTYPE_COLOR_ALPHA:W=F[Y+3],G=F[Y],A=F[Y+1],V=F[Y+2];break;case k.COLORTYPE_COLOR:G=F[Y],A=F[Y+1],V=F[Y+2];break;case k.COLORTYPE_ALPHA:W=F[Y+1],G=F[Y],A=G,V=G;break;case k.COLORTYPE_GRAYSCALE:G=F[Y],A=G,V=G;break;default:throw Error("input color type:"+J.inputColorType+" is not supported at present")}if(J.inputHasAlpha){if(!Q)W/=K,G=Math.min(Math.max(Math.round((1-W)*O.red+W*G),0),K),A=Math.min(Math.max(Math.round((1-W)*O.green+W*A),0),K),V=Math.min(Math.max(Math.round((1-W)*O.blue+W*V),0),K)}return{red:G,green:A,blue:V,alpha:W}}for(let G=0;G<Z;G++)for(let A=0;A<q;A++){let V=X(F,Y);switch(J.colorType){case k.COLORTYPE_COLOR_ALPHA:case k.COLORTYPE_COLOR:if(J.bitDepth===8){if(H[E]=V.red,H[E+1]=V.green,H[E+2]=V.blue,Q)H[E+3]=V.alpha}else if(H.writeUInt16BE(V.red,E),H.writeUInt16BE(V.green,E+2),H.writeUInt16BE(V.blue,E+4),Q)H.writeUInt16BE(V.alpha,E+6);break;case k.COLORTYPE_ALPHA:case k.COLORTYPE_GRAYSCALE:{let W=(V.red+V.green+V.blue)/3;if(J.bitDepth===8){if(H[E]=W,Q)H[E+1]=V.alpha}else if(H.writeUInt16BE(W,E),Q)H.writeUInt16BE(V.alpha,E+2);break}default:throw Error("unrecognised color Type "+J.colorType)}Y+=U,E+=R}return H}});var B7=T((t5,_7)=>{var j7=b0();function jq($,q,Z,J,Q){for(let F=0;F<Z;F++)J[Q+F]=$[q+F]}function _q($,q,Z){let J=0,Q=q+Z;for(let F=q;F<Q;F++)J+=Math.abs($[F]);return J}function Bq($,q,Z,J,Q,F){for(let K=0;K<Z;K++){let U=K>=F?$[q+K-F]:0,R=$[q+K]-U;J[Q+K]=R}}function Iq($,q,Z,J){let Q=0;for(let F=0;F<Z;F++){let K=F>=J?$[q+F-J]:0,U=$[q+F]-K;Q+=Math.abs(U)}return Q}function Lq($,q,Z,J,Q){for(let F=0;F<Z;F++){let K=q>0?$[q+F-Z]:0,U=$[q+F]-K;J[Q+F]=U}}function zq($,q,Z){let J=0,Q=q+Z;for(let F=q;F<Q;F++){let K=q>0?$[F-Z]:0,U=$[F]-K;J+=Math.abs(U)}return J}function kq($,q,Z,J,Q,F){for(let K=0;K<Z;K++){let U=K>=F?$[q+K-F]:0,R=q>0?$[q+K-Z]:0,H=$[q+K]-(U+R>>1);J[Q+K]=H}}function Sq($,q,Z,J){let Q=0;for(let F=0;F<Z;F++){let K=F>=J?$[q+F-J]:0,U=q>0?$[q+F-Z]:0,R=$[q+F]-(K+U>>1);Q+=Math.abs(R)}return Q}function wq($,q,Z,J,Q,F){for(let K=0;K<Z;K++){let U=K>=F?$[q+K-F]:0,R=q>0?$[q+K-Z]:0,H=q>0&&K>=F?$[q+K-(Z+F)]:0,Y=$[q+K]-j7(U,R,H);J[Q+K]=Y}}function fq($,q,Z,J){let Q=0;for(let F=0;F<Z;F++){let K=F>=J?$[q+F-J]:0,U=q>0?$[q+F-Z]:0,R=q>0&&F>=J?$[q+F-(Z+J)]:0,H=$[q+F]-j7(K,U,R);Q+=Math.abs(H)}return Q}var Cq={0:jq,1:Bq,2:Lq,3:kq,4:wq},yq={0:_q,1:Iq,2:zq,3:Sq,4:fq};_7.exports=function($,q,Z,J,Q){let F;if(!("filterType"in J)||J.filterType===-1)F=[0,1,2,3,4];else if(typeof J.filterType==="number")F=[J.filterType];else throw Error("unrecognised filter types");if(J.bitDepth===16)Q*=2;let K=q*Q,U=0,R=0,H=Buffer.alloc((K+1)*Z),Y=F[0];for(let E=0;E<Z;E++){if(F.length>1){let O=1/0;for(let X=0;X<F.length;X++){let G=yq[F[X]]($,R,K,Q);if(G<O)Y=F[X],O=G}}H[U]=Y,U++,Cq[Y]($,R,K,H,U,Q),U+=K,R+=K}return H}});var s0=T((e5,I7)=>{var B=d(),gq=n0(),uq=M7(),Dq=B7(),hq=M("zlib"),P=I7.exports=function($){if(this._options=$,$.deflateChunkSize=$.deflateChunkSize||32768,$.deflateLevel=$.deflateLevel!=null?$.deflateLevel:9,$.deflateStrategy=$.deflateStrategy!=null?$.deflateStrategy:3,$.inputHasAlpha=$.inputHasAlpha!=null?$.inputHasAlpha:!0,$.deflateFactory=$.deflateFactory||hq.createDeflate,$.bitDepth=$.bitDepth||8,$.colorType=typeof $.colorType==="number"?$.colorType:B.COLORTYPE_COLOR_ALPHA,$.inputColorType=typeof $.inputColorType==="number"?$.inputColorType:B.COLORTYPE_COLOR_ALPHA,[B.COLORTYPE_GRAYSCALE,B.COLORTYPE_COLOR,B.COLORTYPE_COLOR_ALPHA,B.COLORTYPE_ALPHA].indexOf($.colorType)===-1)throw Error("option color type:"+$.colorType+" is not supported at present");if([B.COLORTYPE_GRAYSCALE,B.COLORTYPE_COLOR,B.COLORTYPE_COLOR_ALPHA,B.COLORTYPE_ALPHA].indexOf($.inputColorType)===-1)throw Error("option input color type:"+$.inputColorType+" is not supported at present");if($.bitDepth!==8&&$.bitDepth!==16)throw Error("option bit depth:"+$.bitDepth+" is not supported at present")};P.prototype.getDeflateOptions=function(){return{chunkSize:this._options.deflateChunkSize,level:this._options.deflateLevel,strategy:this._options.deflateStrategy}};P.prototype.createDeflate=function(){return this._options.deflateFactory(this.getDeflateOptions())};P.prototype.filterData=function($,q,Z){let J=uq($,q,Z,this._options),Q=B.COLORTYPE_TO_BPP_MAP[this._options.colorType];return Dq(J,q,Z,this._options,Q)};P.prototype._packChunk=function($,q){let Z=q?q.length:0,J=Buffer.alloc(Z+12);if(J.writeUInt32BE(Z,0),J.writeUInt32BE($,4),q)q.copy(J,8);return J.writeInt32BE(gq.crc32(J.slice(4,J.length-4)),J.length-4),J};P.prototype.packGAMA=function($){let q=Buffer.alloc(4);return q.writeUInt32BE(Math.floor($*B.GAMMA_DIVISION),0),this._packChunk(B.TYPE_gAMA,q)};P.prototype.packIHDR=function($,q){let Z=Buffer.alloc(13);return Z.writeUInt32BE($,0),Z.writeUInt32BE(q,4),Z[8]=this._options.bitDepth,Z[9]=this._options.colorType,Z[10]=0,Z[11]=0,Z[12]=0,this._packChunk(B.TYPE_IHDR,Z)};P.prototype.packIDAT=function($){return this._packChunk(B.TYPE_IDAT,$)};P.prototype.packIEND=function(){return this._packChunk(B.TYPE_IEND,null)}});var S7=T((a5,k7)=>{var Pq=M("util"),L7=M("stream"),vq=d(),cq=s0(),z7=k7.exports=function($){L7.call(this);let q=$||{};this._packer=new cq(q),this._deflate=this._packer.createDeflate(),this.readable=!0};Pq.inherits(z7,L7);z7.prototype.pack=function($,q,Z,J){if(this.emit("data",Buffer.from(vq.PNG_SIGNATURE)),this.emit("data",this._packer.packIHDR(q,Z)),J)this.emit("data",this._packer.packGAMA(J));let Q=this._packer.filterData($,q,Z);this._deflate.on("error",this.emit.bind(this,"error")),this._deflate.on("data",function(F){this.emit("data",this._packer.packIDAT(F))}.bind(this)),this._deflate.on("end",function(){this.emit("data",this._packer.packIEND()),this.emit("end")}.bind(this)),this._deflate.end(Q)}});var u7=T(($0,g7)=>{var w7=M("assert").ok,r=M("zlib"),bq=M("util"),f7=M("buffer").kMaxLength;function c($){if(!(this instanceof c))return new c($);if($&&$.chunkSize<r.Z_MIN_CHUNK)$.chunkSize=r.Z_MIN_CHUNK;if(r.Inflate.call(this,$),this._offset=this._offset===void 0?this._outOffset:this._offset,this._buffer=this._buffer||this._outBuffer,$&&$.maxLength!=null)this._maxLength=$.maxLength}function mq($){return new c($)}function C7($,q){if(q)process.nextTick(q);if(!$._handle)return;$._handle.close(),$._handle=null}c.prototype._processChunk=function($,q,Z){if(typeof Z==="function")return r.Inflate._processChunk.call(this,$,q,Z);let J=this,Q=$&&$.length,F=this._chunkSize-this._offset,K=this._maxLength,U=0,R=[],H=0,Y;this.on("error",function(G){Y=G});function E(G,A){if(J._hadError)return;let V=F-A;if(w7(V>=0,"have should not go down"),V>0){let W=J._buffer.slice(J._offset,J._offset+V);if(J._offset+=V,W.length>K)W=W.slice(0,K);if(R.push(W),H+=W.length,K-=W.length,K===0)return!1}if(A===0||J._offset>=J._chunkSize)F=J._chunkSize,J._offset=0,J._buffer=Buffer.allocUnsafe(J._chunkSize);if(A===0)return U+=Q-G,Q=G,!0;return!1}w7(this._handle,"zlib binding closed");let O;do O=this._handle.writeSync(q,$,U,Q,this._buffer,this._offset,F),O=O||this._writeState;while(!this._hadError&&E(O[0],O[1]));if(this._hadError)throw Y;if(H>=f7)throw C7(this),RangeError("Cannot create final Buffer. It would be larger than 0x"+f7.toString(16)+" bytes");let X=Buffer.concat(R,H);return C7(this),X};bq.inherits(c,r.Inflate);function xq($,q){if(typeof q==="string")q=Buffer.from(q);if(!(q instanceof Buffer))throw TypeError("Not a string or buffer");let Z=$._finishFlushFlag;if(Z==null)Z=r.Z_FINISH;return $._processChunk(q,Z)}function y7($,q){return xq(new c(q),$)}g7.exports=$0=y7;$0.Inflate=c;$0.createInflate=mq;$0.inflateSync=y7});var o0=T((q$,h7)=>{var D7=h7.exports=function($){this._buffer=$,this._reads=[]};D7.prototype.read=function($,q){this._reads.push({length:Math.abs($),allowLess:$<0,func:q})};D7.prototype.process=function(){while(this._reads.length>0&&this._buffer.length){let $=this._reads[0];if(this._buffer.length&&(this._buffer.length>=$.length||$.allowLess)){this._reads.shift();let q=this._buffer;this._buffer=q.slice($.length),$.func.call(this,q.slice(0,$.length))}else break}if(this._reads.length>0)return Error("There are some read requests waitng on finished stream");if(this._buffer.length>0)return Error("unrecognised content at end of stream")}});var P7=T((pq)=>{var lq=o0(),nq=m0();pq.process=function($,q){let Z=[],J=new lq($);return new nq(q,{read:J.read.bind(J),write:function(F){Z.push(F)},complete:function(){}}).start(),J.process(),Buffer.concat(Z)}});var m7=T((Z$,b7)=>{var v7=!0,c7=M("zlib"),rq=u7();if(!c7.deflateSync)v7=!1;var iq=o0(),sq=P7(),oq=p0(),tq=d0(),eq=r0();b7.exports=function($,q){if(!v7)throw Error("To use the sync capability of this library in old node versions, please pin pngjs to v2.3.0");let Z;function J(I){Z=I}let Q;function F(I){Q=I}function K(I){Q.transColor=I}function U(I){Q.palette=I}function R(){Q.alpha=!0}let H;function Y(I){H=I}let E=[];function O(I){E.push(I)}let X=new iq($);if(new oq(q,{read:X.read.bind(X),error:J,metadata:F,gamma:Y,palette:U,transColor:K,inflateData:O,simpleTransparency:R}).start(),X.process(),Z)throw Z;let A=Buffer.concat(E);E.length=0;let V;if(Q.interlace)V=c7.inflateSync(A);else{let z=((Q.width*Q.bpp*Q.depth+7>>3)+1)*Q.height;V=rq(A,{chunkSize:z,maxLength:z})}if(A=null,!V||!V.length)throw Error("bad png - invalid inflate data response");let W=sq.process(V,Q);A=null;let E0=tq.dataToBitMap(W,Q);W=null;let i=eq(E0,Q);return Q.data=i,Q.gamma=H||0,Q}});var p7=T((J$,n7)=>{var x7=!0,l7=M("zlib");if(!l7.deflateSync)x7=!1;var aq=d(),q4=s0();n7.exports=function($,q){if(!x7)throw Error("To use the sync capability of this library in old node versions, please pin pngjs to v2.3.0");let J=new q4(q||{}),Q=[];if(Q.push(Buffer.from(aq.PNG_SIGNATURE)),Q.push(J.packIHDR($.width,$.height)),$.gamma)Q.push(J.packGAMA($.gamma));let F=J.filterData($.data,$.width,$.height),K=l7.deflateSync(F,J.getDeflateOptions());if(F=null,!K||!K.length)throw Error("bad png - invalid compressed data response");return Q.push(J.packIDAT(K)),Q.push(J.packIEND()),Buffer.concat(Q)}});var d7=T((J4)=>{var $4=m7(),Z4=p7();J4.read=function($,q){return $4($,q||{})};J4.write=function($,q){return Z4($,q)}});var i7=T((Y4)=>{var K4=M("util"),r7=M("stream"),U4=N7(),R4=S7(),H4=d7(),L=Y4.PNG=function($){if(r7.call(this),$=$||{},this.width=$.width|0,this.height=$.height|0,this.data=this.width>0&&this.height>0?Buffer.alloc(4*this.width*this.height):null,$.fill&&this.data)this.data.fill(0);this.gamma=0,this.readable=this.writable=!0,this._parser=new U4($),this._parser.on("error",this.emit.bind(this,"error")),this._parser.on("close",this._handleClose.bind(this)),this._parser.on("metadata",this._metadata.bind(this)),this._parser.on("gamma",this._gamma.bind(this)),this._parser.on("parsed",function(q){this.data=q,this.emit("parsed",q)}.bind(this)),this._packer=new R4($),this._packer.on("data",this.emit.bind(this,"data")),this._packer.on("end",this.emit.bind(this,"end")),this._parser.on("close",this._handleClose.bind(this)),this._packer.on("error",this.emit.bind(this,"error"))};K4.inherits(L,r7);L.sync=H4;L.prototype.pack=function(){if(!this.data||!this.data.length)return this.emit("error","No data provided"),this;return process.nextTick(function(){this._packer.pack(this.data,this.width,this.height,this.gamma)}.bind(this)),this};L.prototype.parse=function($,q){if(q){let Z,J;Z=function(Q){this.removeListener("error",J),this.data=Q,q(null,this)}.bind(this),J=function(Q){this.removeListener("parsed",Z),q(Q,null)}.bind(this),this.once("parsed",Z),this.once("error",J)}return this.end($),this};L.prototype.write=function($){return this._parser.write($),!0};L.prototype.end=function($){this._parser.end($)};L.prototype._metadata=function($){this.width=$.width,this.height=$.height,this.emit("metadata",$)};L.prototype._gamma=function($){this.gamma=$};L.prototype._handleClose=function(){if(!this._parser.writable&&!this._packer.readable)this.emit("close")};L.bitblt=function($,q,Z,J,Q,F,K,U){if(Z|=0,J|=0,Q|=0,F|=0,K|=0,U|=0,Z>$.width||J>$.height||Z+Q>$.width||J+F>$.height)throw Error("bitblt reading outside image");if(K>q.width||U>q.height||K+Q>q.width||U+F>q.height)throw Error("bitblt writing outside image");for(let R=0;R<F;R++)$.data.copy(q.data,(U+R)*q.width+K<<2,(J+R)*$.width+Z<<2,(J+R)*$.width+Z+Q<<2)};L.prototype.bitblt=function($,q,Z,J,Q,F,K){return L.bitblt(this,$,q,Z,J,Q,F,K),this};L.adjustGamma=function($){if($.gamma){for(let q=0;q<$.height;q++)for(let Z=0;Z<$.width;Z++){let J=$.width*q+Z<<2;for(let Q=0;Q<3;Q++){let F=$.data[J+Q]/255;F=Math.pow(F,0.45454545454545453/$.gamma),$.data[J+Q]=Math.round(F*255)}}$.gamma=0}};L.prototype.adjustGamma=function(){L.adjustGamma(this)}});var Z0=T((E4)=>{function s7($){if(typeof $==="number")$=$.toString();if(typeof $!=="string")throw Error("Color should be defined as hex string");let q=$.slice().replace("#","").split("");if(q.length<3||q.length===5||q.length>8)throw Error("Invalid hex color: "+$);if(q.length===3||q.length===4)q=Array.prototype.concat.apply([],q.map(function(J){return[J,J]}));if(q.length===6)q.push("F","F");let Z=parseInt(q.join(""),16);return{r:Z>>24&255,g:Z>>16&255,b:Z>>8&255,a:Z&255,hex:"#"+q.slice(0,6).join("")}}E4.getOptions=function(q){if(!q)q={};if(!q.color)q.color={};let Z=typeof q.margin>"u"||q.margin===null||q.margin<0?4:q.margin,J=q.width&&q.width>=21?q.width:void 0,Q=q.scale||4;return{width:J,scale:J?4:Q,margin:Z,color:{dark:s7(q.color.dark||"#000000ff"),light:s7(q.color.light||"#ffffffff")},type:q.type,rendererOpts:q.rendererOpts||{}}};E4.getScale=function(q,Z){return Z.width&&Z.width>=q+Z.margin*2?Z.width/(q+Z.margin*2):Z.scale};E4.getImageWidth=function(q,Z){let J=E4.getScale(q,Z);return Math.floor((q+Z.margin*2)*J)};E4.qrToImageData=function(q,Z,J){let Q=Z.modules.size,F=Z.modules.data,K=E4.getScale(Q,J),U=Math.floor((Q+J.margin*2)*K),R=J.margin*K,H=[J.color.light,J.color.dark];for(let Y=0;Y<U;Y++)for(let E=0;E<U;E++){let O=(Y*U+E)*4,X=J.color.light;if(Y>=R&&E>=R&&Y<U-R&&E<U-R){let G=Math.floor((Y-R)/K),A=Math.floor((E-R)/K);X=H[F[G*Q+A]?1:0]}q[O++]=X.r,q[O++]=X.g,q[O++]=X.b,q[O]=X.a}}});var o7=T((A4)=>{var G4=M("fs"),V4=i7().PNG,e0=Z0();A4.render=function(q,Z){let J=e0.getOptions(Z),Q=J.rendererOpts,F=e0.getImageWidth(q.modules.size,J);Q.width=F,Q.height=F;let K=new V4(Q);return e0.qrToImageData(K.data,q,J),K};A4.renderToDataURL=function(q,Z,J){if(typeof J>"u")J=Z,Z=void 0;A4.renderToBuffer(q,Z,function(Q,F){if(Q)J(Q);let K="data:image/png;base64,";K+=F.toString("base64"),J(null,K)})};A4.renderToBuffer=function(q,Z,J){if(typeof J>"u")J=Z,Z=void 0;let Q=A4.render(q,Z),F=[];Q.on("error",J),Q.on("data",function(K){F.push(K)}),Q.on("end",function(){J(null,Buffer.concat(F))}),Q.pack()};A4.renderToFile=function(q,Z,J,Q){if(typeof Q>"u")Q=J,J=void 0;let F=!1,K=(...R)=>{if(F)return;F=!0,Q.apply(null,R)},U=G4.createWriteStream(q);U.on("error",K),U.on("close",K),A4.renderToFileStream(U,Z,J)};A4.renderToFileStream=function(q,Z,J){A4.render(Z,J).pack().pipe(q)}});var e7=T((z4)=>{var _4=Z0(),B4={WW:" ",WB:"▄",BB:"█",BW:"▀"},I4={BB:" ",BW:"▄",WW:"█",WB:"▀"};function L4($,q,Z){if($&&q)return Z.BB;if($&&!q)return Z.BW;if(!$&&q)return Z.WB;return Z.WW}z4.render=function($,q,Z){let J=_4.getOptions(q),Q=B4;if(J.color.dark.hex==="#ffffff"||J.color.light.hex==="#000000")Q=I4;let F=$.modules.size,K=$.modules.data,U="",R=Array(F+J.margin*2+1).join(Q.WW);R=Array(J.margin/2+1).join(R+`
|
|
8
|
+
`);let H=Array(J.margin+1).join(Q.WW);U+=R;for(let Y=0;Y<F;Y+=2){U+=H;for(let E=0;E<F;E++){let O=K[Y*F+E],X=K[(Y+1)*F+E];U+=L4(O,X,Q)}U+=H+`
|
|
9
|
+
`}if(U+=R.slice(0,-1),typeof Z==="function")Z(null,U);return U};z4.renderToFile=function(q,Z,J,Q){if(typeof Q>"u")Q=J,J=void 0;let F=M("fs"),K=z4.render(Z,J);F.writeFile(q,K,Q)}});var a7=T((S4)=>{S4.render=function($,q,Z){let J=$.modules.size,Q=$.modules.data,F="\x1B[40m \x1B[0m",K="\x1B[47m \x1B[0m",U="",R=Array(J+3).join("\x1B[47m \x1B[0m"),H=Array(2).join("\x1B[47m \x1B[0m");U+=R+`
|
|
10
|
+
`;for(let Y=0;Y<J;++Y){U+="\x1B[47m \x1B[0m";for(let E=0;E<J;E++)U+=Q[Y*J+E]?"\x1B[40m \x1B[0m":"\x1B[47m \x1B[0m";U+=H+`
|
|
11
|
+
`}if(U+=R+`
|
|
12
|
+
`,typeof Z==="function")Z(null,U);return U}});var Z2=T((g4)=>{var f4="\x1B[47m\x1B[30m",C4="\x1B[40m\x1B[37m",y4=function($,q,Z){return{"00":"\x1B[0m "+$,"01":"\x1B[0m"+q+"▄"+$,"02":"\x1B[0m"+Z+"▄"+$,10:"\x1B[0m"+q+"▀"+$,11:" ",12:"▄",20:"\x1B[0m"+Z+"▀"+$,21:"▀",22:"█"}},q2=function($,q,Z,J){let Q=q+1;if(Z>=Q||J>=Q||J<-1||Z<-1)return"0";if(Z>=q||J>=q||J<0||Z<0)return"1";let F=J*q+Z;return $[F]?"2":"1"},$2=function($,q,Z,J){return q2($,q,Z,J)+q2($,q,Z,J+1)};g4.render=function($,q,Z){let J=$.modules.size,Q=$.modules.data,F=!!(q&&q.inverse),K=q&&q.inverse?C4:f4,H=y4(K,F?"\x1B[30m":"\x1B[37m",F?"\x1B[37m":"\x1B[30m"),Y=`\x1B[0m
|
|
13
|
+
`+K,E=K;for(let O=-1;O<J+1;O+=2){for(let X=-1;X<J;X++)E+=H[$2(Q,J,X,O)];E+=H[$2(Q,J,J,O)]+Y}if(E+="\x1B[0m",typeof Z==="function")Z(null,E);return E}});var J2=T((P4)=>{var D4=a7(),h4=Z2();P4.render=function($,q,Z){if(q&&q.small)return h4.render($,q,Z);return D4.render($,q,Z)}});var $1=T((m4)=>{var c4=Z0();function Q2($,q){let Z=$.a/255,J=q+'="'+$.hex+'"';return Z<1?J+" "+q+'-opacity="'+Z.toFixed(2).slice(1)+'"':J}function q1($,q,Z){let J=$+q;if(typeof Z<"u")J+=" "+Z;return J}function b4($,q,Z){let J="",Q=0,F=!1,K=0;for(let U=0;U<$.length;U++){let R=Math.floor(U%q),H=Math.floor(U/q);if(!R&&!F)F=!0;if($[U]){if(K++,!(U>0&&R>0&&$[U-1]))J+=F?q1("M",R+Z,0.5+H+Z):q1("m",Q,0),Q=0,F=!1;if(!(R+1<q&&$[U+1]))J+=q1("h",K),K=0}else Q++}return J}m4.render=function(q,Z,J){let Q=c4.getOptions(Z),F=q.modules.size,K=q.modules.data,U=F+Q.margin*2,R=!Q.color.light.a?"":"<path "+Q2(Q.color.light,"fill")+' d="M0 0h'+U+"v"+U+'H0z"/>',H="<path "+Q2(Q.color.dark,"stroke")+' d="'+b4(K,F,Q.margin)+'"/>',Y='viewBox="0 0 '+U+" "+U+'"',O='<svg xmlns="http://www.w3.org/2000/svg" '+(!Q.width?"":'width="'+Q.width+'" height="'+Q.width+'" ')+Y+' shape-rendering="crispEdges">'+R+H+`</svg>
|
|
14
|
+
`;if(typeof J==="function")J(null,O);return O}});var K2=T((n4)=>{var l4=$1();n4.render=l4.render;n4.renderToFile=function(q,Z,J,Q){if(typeof Q>"u")Q=J,J=void 0;let F=M("fs"),U='<?xml version="1.0" encoding="utf-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">'+n4.render(Z,J);F.writeFile(q,U,Q)}});var R2=T((i4)=>{var Z1=Z0();function d4($,q,Z){if($.clearRect(0,0,q.width,q.height),!q.style)q.style={};q.height=Z,q.width=Z,q.style.height=Z+"px",q.style.width=Z+"px"}function r4(){try{return document.createElement("canvas")}catch($){throw Error("You need to specify a canvas element")}}i4.render=function(q,Z,J){let Q=J,F=Z;if(typeof Q>"u"&&(!Z||!Z.getContext))Q=Z,Z=void 0;if(!Z)F=r4();Q=Z1.getOptions(Q);let K=Z1.getImageWidth(q.modules.size,Q),U=F.getContext("2d"),R=U.createImageData(K,K);return Z1.qrToImageData(R.data,q,Q),d4(U,F,K),U.putImageData(R,0,0),F};i4.renderToDataURL=function(q,Z,J){let Q=J;if(typeof Q>"u"&&(!Z||!Z.getContext))Q=Z,Z=void 0;if(!Q)Q={};let F=i4.render(q,Z,Q),K=Q.type||"image/png",U=Q.rendererOpts||{};return F.toDataURL(K,U.quality)}});var Y2=T((e4)=>{var o4=T0(),J1=P0(),H2=R2(),t4=$1();function Q1($,q,Z,J,Q){let F=[].slice.call(arguments,1),K=F.length,U=typeof F[K-1]==="function";if(!U&&!o4())throw Error("Callback required as last argument");if(U){if(K<2)throw Error("Too few arguments provided");if(K===2)Q=Z,Z=q,q=J=void 0;else if(K===3)if(q.getContext&&typeof Q>"u")Q=J,J=void 0;else Q=J,J=Z,Z=q,q=void 0}else{if(K<1)throw Error("Too few arguments provided");if(K===1)Z=q,q=J=void 0;else if(K===2&&!q.getContext)J=Z,Z=q,q=void 0;return new Promise(function(R,H){try{let Y=J1.create(Z,J);R($(Y,q,J))}catch(Y){H(Y)}})}try{let R=J1.create(Z,J);Q(null,$(R,q,J))}catch(R){Q(R)}}e4.create=J1.create;e4.toCanvas=Q1.bind(null,H2.render);e4.toDataURL=Q1.bind(null,H2.renderToDataURL);e4.toString=Q1.bind(null,function($,q,Z){return t4.render($,Z)})});function R5($,q,Z){if(typeof $>"u")throw Error("String required as first argument");if(typeof Z>"u")Z=q,q={};if(typeof Z!=="function")if(!Q5())throw Error("Callback required as last argument");else q=Z||{},Z=null;return{opts:q,cb:Z}}function H5($){switch($){case"svg":return U5;case"terminal":return K5;case"utf8":default:return F5}}function Y5($,q,Z){if(!Z.cb)return new Promise(function(J,Q){try{let F=F1.create(q,Z.opts);return $(F,Z.opts,function(K,U){return K?Q(K):J(U)})}catch(F){Q(F)}});try{let J=F1.create(q,Z.opts);return $(J,Z.opts,Z.cb)}catch(J){Z.cb(J)}}var Q5,F1,A$,F5,K5,U5,E5,O5,T5=function(q,Z,J){let Q=R5(q,Z,J),F=Q.opts?Q.opts.type:void 0,K=H5(F);return Y5(K.render,q,Q)};var X5=J5(()=>{Q5=T0(),F1=P0(),A$=o7(),F5=e7(),K5=J2(),U5=K2();E5=F1.create,O5=Y2().toCanvas});
|
|
15
|
+
export{T5 as te,X5 as ue};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Gqa as H,Iqa as UJ}from"./cli-1.1.34-4x915j9t.mjs";var N=H((IJ,Oq)=>{var K1=Number.MAX_SAFE_INTEGER||9007199254740991,j1=["major","premajor","minor","preminor","patch","prepatch","prerelease"];Oq.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:K1,RELEASE_TYPES:j1,SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var S=H((OJ,Hq)=>{var z1=typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...q)=>console.error("SEMVER",...q):()=>{};Hq.exports=z1});var C=H((L,wq)=>{var{MAX_SAFE_COMPONENT_LENGTH:i,MAX_SAFE_BUILD_LENGTH:Y1,MAX_LENGTH:U1}=N(),F1=S();L=wq.exports={};var I1=L.re=[],O1=L.safeRe=[],j=L.src=[],H1=L.safeSrc=[],z=L.t={},w1=0,r="[a-zA-Z0-9-]",y1=[["\\s",1],["\\d",U1],[r,Y1]],B1=(q)=>{for(let[$,J]of y1)q=q.split(`${$}*`).join(`${$}{0,${J}}`).split(`${$}+`).join(`${$}{1,${J}}`);return q},w=(q,$,J)=>{let Q=B1($),Z=w1++;F1(q,Z,$),z[q]=Z,j[Z]=$,H1[Z]=Q,I1[Z]=new RegExp($,J?"g":void 0),O1[Z]=new RegExp(Q,J?"g":void 0)};w("NUMERICIDENTIFIER","0|[1-9]\\d*");w("NUMERICIDENTIFIERLOOSE","\\d+");w("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${r}*`);w("MAINVERSION",`(${j[z.NUMERICIDENTIFIER]})\\.(${j[z.NUMERICIDENTIFIER]})\\.(${j[z.NUMERICIDENTIFIER]})`);w("MAINVERSIONLOOSE",`(${j[z.NUMERICIDENTIFIERLOOSE]})\\.(${j[z.NUMERICIDENTIFIERLOOSE]})\\.(${j[z.NUMERICIDENTIFIERLOOSE]})`);w("PRERELEASEIDENTIFIER",`(?:${j[z.NONNUMERICIDENTIFIER]}|${j[z.NUMERICIDENTIFIER]})`);w("PRERELEASEIDENTIFIERLOOSE",`(?:${j[z.NONNUMERICIDENTIFIER]}|${j[z.NUMERICIDENTIFIERLOOSE]})`);w("PRERELEASE",`(?:-(${j[z.PRERELEASEIDENTIFIER]}(?:\\.${j[z.PRERELEASEIDENTIFIER]})*))`);w("PRERELEASELOOSE",`(?:-?(${j[z.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${j[z.PRERELEASEIDENTIFIERLOOSE]})*))`);w("BUILDIDENTIFIER",`${r}+`);w("BUILD",`(?:\\+(${j[z.BUILDIDENTIFIER]}(?:\\.${j[z.BUILDIDENTIFIER]})*))`);w("FULLPLAIN",`v?${j[z.MAINVERSION]}${j[z.PRERELEASE]}?${j[z.BUILD]}?`);w("FULL",`^${j[z.FULLPLAIN]}$`);w("LOOSEPLAIN",`[v=\\s]*${j[z.MAINVERSIONLOOSE]}${j[z.PRERELEASELOOSE]}?${j[z.BUILD]}?`);w("LOOSE",`^${j[z.LOOSEPLAIN]}$`);w("GTLT","((?:<|>)?=?)");w("XRANGEIDENTIFIERLOOSE",`${j[z.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);w("XRANGEIDENTIFIER",`${j[z.NUMERICIDENTIFIER]}|x|X|\\*`);w("XRANGEPLAIN",`[v=\\s]*(${j[z.XRANGEIDENTIFIER]})(?:\\.(${j[z.XRANGEIDENTIFIER]})(?:\\.(${j[z.XRANGEIDENTIFIER]})(?:${j[z.PRERELEASE]})?${j[z.BUILD]}?)?)?`);w("XRANGEPLAINLOOSE",`[v=\\s]*(${j[z.XRANGEIDENTIFIERLOOSE]})(?:\\.(${j[z.XRANGEIDENTIFIERLOOSE]})(?:\\.(${j[z.XRANGEIDENTIFIERLOOSE]})(?:${j[z.PRERELEASELOOSE]})?${j[z.BUILD]}?)?)?`);w("XRANGE",`^${j[z.GTLT]}\\s*${j[z.XRANGEPLAIN]}$`);w("XRANGELOOSE",`^${j[z.GTLT]}\\s*${j[z.XRANGEPLAINLOOSE]}$`);w("COERCEPLAIN",`(^|[^\\d])(\\d{1,${i}})(?:\\.(\\d{1,${i}}))?(?:\\.(\\d{1,${i}}))?`);w("COERCE",`${j[z.COERCEPLAIN]}(?:$|[^\\d])`);w("COERCEFULL",j[z.COERCEPLAIN]+`(?:${j[z.PRERELEASE]})?(?:${j[z.BUILD]})?(?:$|[^\\d])`);w("COERCERTL",j[z.COERCE],!0);w("COERCERTLFULL",j[z.COERCEFULL],!0);w("LONETILDE","(?:~>?)");w("TILDETRIM",`(\\s*)${j[z.LONETILDE]}\\s+`,!0);L.tildeTrimReplace="$1~";w("TILDE",`^${j[z.LONETILDE]}${j[z.XRANGEPLAIN]}$`);w("TILDELOOSE",`^${j[z.LONETILDE]}${j[z.XRANGEPLAINLOOSE]}$`);w("LONECARET","(?:\\^)");w("CARETTRIM",`(\\s*)${j[z.LONECARET]}\\s+`,!0);L.caretTrimReplace="$1^";w("CARET",`^${j[z.LONECARET]}${j[z.XRANGEPLAIN]}$`);w("CARETLOOSE",`^${j[z.LONECARET]}${j[z.XRANGEPLAINLOOSE]}$`);w("COMPARATORLOOSE",`^${j[z.GTLT]}\\s*(${j[z.LOOSEPLAIN]})$|^$`);w("COMPARATOR",`^${j[z.GTLT]}\\s*(${j[z.FULLPLAIN]})$|^$`);w("COMPARATORTRIM",`(\\s*)${j[z.GTLT]}\\s*(${j[z.LOOSEPLAIN]}|${j[z.XRANGEPLAIN]})`,!0);L.comparatorTrimReplace="$1$2$3";w("HYPHENRANGE",`^\\s*(${j[z.XRANGEPLAIN]})\\s+-\\s+(${j[z.XRANGEPLAIN]})\\s*$`);w("HYPHENRANGELOOSE",`^\\s*(${j[z.XRANGEPLAINLOOSE]})\\s+-\\s+(${j[z.XRANGEPLAINLOOSE]})\\s*$`);w("STAR","(<|>)?=?\\s*\\*");w("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");w("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var b=H((HJ,yq)=>{var x1=Object.freeze({loose:!0}),D1=Object.freeze({}),G1=(q)=>{if(!q)return D1;if(typeof q!=="object")return x1;return q};yq.exports=G1});var o=H((wJ,Dq)=>{var Bq=/^[0-9]+$/,xq=(q,$)=>{if(typeof q==="number"&&typeof $==="number")return q===$?0:q<$?-1:1;let J=Bq.test(q),Q=Bq.test($);if(J&&Q)q=+q,$=+$;return q===$?0:J&&!Q?-1:Q&&!J?1:q<$?-1:1},V1=(q,$)=>xq($,q);Dq.exports={compareIdentifiers:xq,rcompareIdentifiers:V1}});var G=H((yJ,Vq)=>{var h=S(),{MAX_LENGTH:Gq,MAX_SAFE_INTEGER:f}=N(),{safeRe:v,t:d}=C(),P1=b(),{compareIdentifiers:e}=o(),_1=(q,$)=>{let J=$.split(".");if(J.length>q.length)return!1;for(let Q=0;Q<J.length;Q++)if(e(q[Q],J[Q])!==0)return!1;return!0};class A{constructor(q,$){if($=P1($),q instanceof A)if(q.loose===!!$.loose&&q.includePrerelease===!!$.includePrerelease)return q;else q=q.version;else if(typeof q!=="string")throw TypeError(`Invalid version. Must be a string. Got type "${typeof q}".`);if(q.length>Gq)throw TypeError(`version is longer than ${Gq} characters`);h("SemVer",q,$),this.options=$,this.loose=!!$.loose,this.includePrerelease=!!$.includePrerelease;let J=q.trim().match($.loose?v[d.LOOSE]:v[d.FULL]);if(!J)throw TypeError(`Invalid Version: ${q}`);if(this.raw=q,this.major=+J[1],this.minor=+J[2],this.patch=+J[3],this.major>f||this.major<0)throw TypeError("Invalid major version");if(this.minor>f||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>f||this.patch<0)throw TypeError("Invalid patch version");if(!J[4])this.prerelease=[];else this.prerelease=J[4].split(".").map((Q)=>{if(/^[0-9]+$/.test(Q)){let Z=+Q;if(Z>=0&&Z<f)return Z}return Q});this.build=J[5]?J[5].split("."):[],this.format()}format(){if(this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length)this.version+=`-${this.prerelease.join(".")}`;return this.version}toString(){return this.version}compare(q){if(h("SemVer.compare",this.version,this.options,q),!(q instanceof A)){if(typeof q==="string"&&q===this.version)return 0;q=new A(q,this.options)}if(q.version===this.version)return 0;return this.compareMain(q)||this.comparePre(q)}compareMain(q){if(!(q instanceof A))q=new A(q,this.options);if(this.major<q.major)return-1;if(this.major>q.major)return 1;if(this.minor<q.minor)return-1;if(this.minor>q.minor)return 1;if(this.patch<q.patch)return-1;if(this.patch>q.patch)return 1;return 0}comparePre(q){if(!(q instanceof A))q=new A(q,this.options);if(this.prerelease.length&&!q.prerelease.length)return-1;else if(!this.prerelease.length&&q.prerelease.length)return 1;else if(!this.prerelease.length&&!q.prerelease.length)return 0;let $=0;do{let J=this.prerelease[$],Q=q.prerelease[$];if(h("prerelease compare",$,J,Q),J===void 0&&Q===void 0)return 0;else if(Q===void 0)return 1;else if(J===void 0)return-1;else if(J===Q)continue;else return e(J,Q)}while(++$)}compareBuild(q){if(!(q instanceof A))q=new A(q,this.options);let $=0;do{let J=this.build[$],Q=q.build[$];if(h("build compare",$,J,Q),J===void 0&&Q===void 0)return 0;else if(Q===void 0)return 1;else if(J===void 0)return-1;else if(J===Q)continue;else return e(J,Q)}while(++$)}inc(q,$,J){if(q.startsWith("pre")){if(!$&&J===!1)throw Error("invalid increment argument: identifier is empty");if($){let Q=`-${$}`.match(this.options.loose?v[d.PRERELEASELOOSE]:v[d.PRERELEASE]);if(!Q||Q[1]!==$)throw Error(`invalid identifier: ${$}`)}}switch(q){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",$,J);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",$,J);break;case"prepatch":this.prerelease.length=0,this.inc("patch",$,J),this.inc("pre",$,J);break;case"prerelease":if(this.prerelease.length===0)this.inc("patch",$,J);this.inc("pre",$,J);break;case"release":if(this.prerelease.length===0)throw Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":if(this.minor!==0||this.patch!==0||this.prerelease.length===0)this.major++;this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":if(this.patch!==0||this.prerelease.length===0)this.minor++;this.patch=0,this.prerelease=[];break;case"patch":if(this.prerelease.length===0)this.patch++;this.prerelease=[];break;case"pre":{let Q=Number(J)?1:0;if(this.prerelease.length===0)this.prerelease=[Q];else{let Z=this.prerelease.length;while(--Z>=0)if(typeof this.prerelease[Z]==="number")this.prerelease[Z]++,Z=-2;if(Z===-1){if($===this.prerelease.join(".")&&J===!1)throw Error("invalid increment argument: identifier already exists");this.prerelease.push(Q)}}if($){let Z=[$,Q];if(J===!1)Z=[$];if(_1(this.prerelease,$)){let W=this.prerelease[$.split(".").length];if(isNaN(W))this.prerelease=Z}else this.prerelease=Z}break}default:throw Error(`invalid increment argument: ${q}`)}if(this.raw=this.format(),this.build.length)this.raw+=`+${this.build.join(".")}`;return this}}Vq.exports=A});var E=H((BJ,_q)=>{var Pq=G(),X1=(q,$,J=!1)=>{if(q instanceof Pq)return q;try{return new Pq(q,$)}catch(Q){if(!J)return null;throw Q}};_q.exports=X1});var Aq=H((xJ,Xq)=>{var A1=E(),L1=(q,$)=>{let J=A1(q,$);return J?J.version:null};Xq.exports=L1});var Eq=H((DJ,Lq)=>{var E1=E(),N1=(q,$)=>{let J=E1(q.trim().replace(/^[=v]+/,""),$);return J?J.version:null};Lq.exports=N1});var Sq=H((GJ,Cq)=>{var Nq=G(),C1=(q,$,J,Q,Z)=>{if(typeof J==="string")Z=Q,Q=J,J=void 0;try{return new Nq(q instanceof Nq?q.version:q,J).inc($,Q,Z).version}catch(W){return null}};Cq.exports=C1});var uq=H((VJ,kq)=>{var Rq=E(),S1=(q,$)=>{let J=Rq(q,null,!0),Q=Rq($,null,!0),Z=J.compare(Q);if(Z===0)return null;let W=Z>0,K=W?J:Q,Y=W?Q:J,F=!!K.prerelease.length;if(!!Y.prerelease.length&&!F){if(!Y.patch&&!Y.minor)return"major";if(Y.compareMain(K)===0){if(Y.minor&&!Y.patch)return"minor";return"patch"}}let I=F?"pre":"";if(J.major!==Q.major)return I+"major";if(J.minor!==Q.minor)return I+"minor";if(J.patch!==Q.patch)return I+"patch";return"prerelease"};kq.exports=S1});var Mq=H((PJ,Tq)=>{var R1=G(),k1=(q,$)=>new R1(q,$).major;Tq.exports=k1});var hq=H((_J,bq)=>{var u1=G(),T1=(q,$)=>new u1(q,$).minor;bq.exports=T1});var vq=H((XJ,fq)=>{var M1=G(),b1=(q,$)=>new M1(q,$).patch;fq.exports=b1});var lq=H((AJ,dq)=>{var h1=E(),f1=(q,$)=>{let J=h1(q,$);return J&&J.prerelease.length?J.prerelease:null};dq.exports=f1});var _=H((LJ,cq)=>{var gq=G(),v1=(q,$,J)=>new gq(q,J).compare(new gq($,J));cq.exports=v1});var pq=H((EJ,mq)=>{var d1=_(),l1=(q,$,J)=>d1($,q,J);mq.exports=l1});var aq=H((NJ,sq)=>{var g1=_(),c1=(q,$)=>g1(q,$,!0);sq.exports=c1});var l=H((CJ,tq)=>{var nq=G(),m1=(q,$,J)=>{let Q=new nq(q,J),Z=new nq($,J);return Q.compare(Z)||Q.compareBuild(Z)};tq.exports=m1});var rq=H((SJ,iq)=>{var p1=l(),s1=(q,$)=>q.sort((J,Q)=>p1(J,Q,$));iq.exports=s1});var eq=H((RJ,oq)=>{var a1=l(),n1=(q,$)=>q.sort((J,Q)=>a1(Q,J,$));oq.exports=n1});var R=H((kJ,q0)=>{var t1=_(),i1=(q,$,J)=>t1(q,$,J)>0;q0.exports=i1});var g=H((uJ,$0)=>{var r1=_(),o1=(q,$,J)=>r1(q,$,J)<0;$0.exports=o1});var qq=H((TJ,J0)=>{var e1=_(),q$=(q,$,J)=>e1(q,$,J)===0;J0.exports=q$});var $q=H((MJ,Q0)=>{var $$=_(),J$=(q,$,J)=>$$(q,$,J)!==0;Q0.exports=J$});var c=H((bJ,W0)=>{var Q$=_(),W$=(q,$,J)=>Q$(q,$,J)>=0;W0.exports=W$});var m=H((hJ,Z0)=>{var Z$=_(),K$=(q,$,J)=>Z$(q,$,J)<=0;Z0.exports=K$});var Jq=H((fJ,K0)=>{var j$=qq(),z$=$q(),Y$=R(),U$=c(),F$=g(),I$=m(),O$=(q,$,J,Q)=>{switch($){case"===":if(typeof q==="object")q=q.version;if(typeof J==="object")J=J.version;return q===J;case"!==":if(typeof q==="object")q=q.version;if(typeof J==="object")J=J.version;return q!==J;case"":case"=":case"==":return j$(q,J,Q);case"!=":return z$(q,J,Q);case">":return Y$(q,J,Q);case">=":return U$(q,J,Q);case"<":return F$(q,J,Q);case"<=":return I$(q,J,Q);default:throw TypeError(`Invalid operator: ${$}`)}};K0.exports=O$});var z0=H((vJ,j0)=>{var H$=G(),w$=E(),{safeRe:p,t:s}=C(),y$=(q,$)=>{if(q instanceof H$)return q;if(typeof q==="number")q=String(q);if(typeof q!=="string")return null;$=$||{};let J=null;if(!$.rtl)J=q.match($.includePrerelease?p[s.COERCEFULL]:p[s.COERCE]);else{let F=$.includePrerelease?p[s.COERCERTLFULL]:p[s.COERCERTL],U;while((U=F.exec(q))&&(!J||J.index+J[0].length!==q.length)){if(!J||U.index+U[0].length!==J.index+J[0].length)J=U;F.lastIndex=U.index+U[1].length+U[2].length}F.lastIndex=-1}if(J===null)return null;let Q=J[2],Z=J[3]||"0",W=J[4]||"0",K=$.includePrerelease&&J[5]?`-${J[5]}`:"",Y=$.includePrerelease&&J[6]?`+${J[6]}`:"";return w$(`${Q}.${Z}.${W}${K}${Y}`,$)};j0.exports=y$});var U0=H((dJ,Y0)=>{var B$=E(),x$=N(),D$=G(),G$=(q,$,J)=>{if(!x$.RELEASE_TYPES.includes($))return null;let Q=V$(q,J);return Q&&P$(Q,$)},V$=(q,$)=>{let J=q instanceof D$?q.version:q;return B$(J,$)},P$=(q,$)=>{if(_$($))return q.version;switch(q.prerelease=[],$){case"major":q.minor=0,q.patch=0;break;case"minor":q.patch=0;break}return q.format()},_$=(q)=>{return q.startsWith("pre")};Y0.exports=G$});var O0=H((lJ,I0)=>{class F0{constructor(){this.max=1000,this.map=new Map}get(q){let $=this.map.get(q);if($===void 0)return;else return this.map.delete(q),this.map.set(q,$),$}delete(q){return this.map.delete(q)}set(q,$){if(!this.delete(q)&&$!==void 0){if(this.map.size>=this.max){let Q=this.map.keys().next().value;this.delete(Q)}this.map.set(q,$)}return this}}I0.exports=F0});var X=H((gJ,B0)=>{var X$=/\s+/g;class k{constructor(q,$){if($=L$($),q instanceof k)if(q.loose===!!$.loose&&q.includePrerelease===!!$.includePrerelease)return q;else return new k(q.raw,$);if(q instanceof Qq)return this.raw=q.value,this.set=[[q]],this.formatted=void 0,this;if(this.options=$,this.loose=!!$.loose,this.includePrerelease=!!$.includePrerelease,this.raw=q.trim().replace(X$," "),this.set=this.raw.split("||").map((J)=>this.parseRange(J.trim())).filter((J)=>J.length),!this.set.length)throw TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let J=this.set[0];if(this.set=this.set.filter((Q)=>!w0(Q[0])),this.set.length===0)this.set=[J];else if(this.set.length>1){for(let Q of this.set)if(Q.length===1&&M$(Q[0])){this.set=[Q];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let q=0;q<this.set.length;q++){if(q>0)this.formatted+="||";let $=this.set[q];for(let J=0;J<$.length;J++){if(J>0)this.formatted+=" ";this.formatted+=$[J].toString().trim()}}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(q){q=q.replace(T$,"");let J=((this.options.includePrerelease&&k$)|(this.options.loose&&u$))+":"+q,Q=H0.get(J);if(Q)return Q;let Z=this.options.loose,W=Z?P[V.HYPHENRANGELOOSE]:P[V.HYPHENRANGE];q=q.replace(W,s$(this.options.includePrerelease)),B("hyphen replace",q),q=q.replace(P[V.COMPARATORTRIM],C$),B("comparator trim",q),q=q.replace(P[V.TILDETRIM],S$),B("tilde trim",q),q=q.replace(P[V.CARETTRIM],R$),B("caret trim",q);let K=q.split(" ").map((I)=>b$(I,this.options)).join(" ").split(/\s+/).map((I)=>p$(I,this.options));if(Z)K=K.filter((I)=>{return B("loose invalid filter",I,this.options),!!I.match(P[V.COMPARATORLOOSE])});B("range list",K);let Y=new Map,F=K.map((I)=>new Qq(I,this.options));for(let I of F){if(w0(I))return[I];Y.set(I.value,I)}if(Y.size>1&&Y.has(""))Y.delete("");let U=[...Y.values()];return H0.set(J,U),U}intersects(q,$){if(!(q instanceof k))throw TypeError("a Range is required");return this.set.some((J)=>{return y0(J,$)&&q.set.some((Q)=>{return y0(Q,$)&&J.every((Z)=>{return Q.every((W)=>{return Z.intersects(W,$)})})})})}test(q){if(!q)return!1;if(typeof q==="string")try{q=new E$(q,this.options)}catch($){return!1}for(let $=0;$<this.set.length;$++)if(a$(this.set[$],q,this.options))return!0;return!1}}B0.exports=k;var A$=O0(),H0=new A$,L$=b(),Qq=u(),B=S(),E$=G(),{safeRe:P,src:N$,t:V,comparatorTrimReplace:C$,tildeTrimReplace:S$,caretTrimReplace:R$}=C(),{FLAG_INCLUDE_PRERELEASE:k$,FLAG_LOOSE:u$}=N(),T$=new RegExp(N$[V.BUILD],"g"),w0=(q)=>q.value==="<0.0.0-0",M$=(q)=>q.value==="",y0=(q,$)=>{let J=!0,Q=q.slice(),Z=Q.pop();while(J&&Q.length)J=Q.every((W)=>{return Z.intersects(W,$)}),Z=Q.pop();return J},b$=(q,$)=>{return q=q.replace(P[V.BUILD],""),B("comp",q,$),q=d$(q,$),B("caret",q),q=f$(q,$),B("tildes",q),q=g$(q,$),B("xrange",q),q=m$(q,$),B("stars",q),q},D=(q)=>!q||q.toLowerCase()==="x"||q==="*",h$=(q,$,J)=>D(q)&&!D($)||D($)&&J&&!D(J),f$=(q,$)=>{return q.trim().split(/\s+/).map((J)=>v$(J,$)).join(" ")},v$=(q,$)=>{let J=$.loose?P[V.TILDELOOSE]:P[V.TILDE],Q=$.includePrerelease?"-0":"";return q.replace(J,(Z,W,K,Y,F)=>{B("tilde",q,Z,W,K,Y,F);let U;if(D(W))U="";else if(D(K))U=`>=${W}.0.0${Q} <${+W+1}.0.0-0`;else if(D(Y))U=`>=${W}.${K}.0${Q} <${W}.${+K+1}.0-0`;else if(F)B("replaceTilde pr",F),U=`>=${W}.${K}.${Y}-${F} <${W}.${+K+1}.0-0`;else U=`>=${W}.${K}.${Y} <${W}.${+K+1}.0-0`;return B("tilde return",U),U})},d$=(q,$)=>{return q.trim().split(/\s+/).map((J)=>l$(J,$)).join(" ")},l$=(q,$)=>{B("caret",q,$);let J=$.loose?P[V.CARETLOOSE]:P[V.CARET],Q=$.includePrerelease?"-0":"";return q.replace(J,(Z,W,K,Y,F)=>{B("caret",q,Z,W,K,Y,F);let U;if(D(W))U="";else if(D(K))U=`>=${W}.0.0${Q} <${+W+1}.0.0-0`;else if(D(Y))if(W==="0")U=`>=${W}.${K}.0${Q} <${W}.${+K+1}.0-0`;else U=`>=${W}.${K}.0${Q} <${+W+1}.0.0-0`;else if(F)if(B("replaceCaret pr",F),W==="0")if(K==="0")U=`>=${W}.${K}.${Y}-${F} <${W}.${K}.${+Y+1}-0`;else U=`>=${W}.${K}.${Y}-${F} <${W}.${+K+1}.0-0`;else U=`>=${W}.${K}.${Y}-${F} <${+W+1}.0.0-0`;else if(B("no pr"),W==="0")if(K==="0")U=`>=${W}.${K}.${Y} <${W}.${K}.${+Y+1}-0`;else U=`>=${W}.${K}.${Y} <${W}.${+K+1}.0-0`;else U=`>=${W}.${K}.${Y} <${+W+1}.0.0-0`;return B("caret return",U),U})},g$=(q,$)=>{return B("replaceXRanges",q,$),q.split(/\s+/).map((J)=>c$(J,$)).join(" ")},c$=(q,$)=>{q=q.trim();let J=$.loose?P[V.XRANGELOOSE]:P[V.XRANGE];return q.replace(J,(Q,Z,W,K,Y,F)=>{if(B("xRange",q,Q,Z,W,K,Y,F),h$(W,K,Y))return q;let U=D(W),I=U||D(K),y=I||D(Y),x=y;if(Z==="="&&x)Z="";if(F=$.includePrerelease?"-0":"",U)if(Z===">"||Z==="<")Q="<0.0.0-0";else Q="*";else if(Z&&x){if(I)K=0;if(Y=0,Z===">")if(Z=">=",I)W=+W+1,K=0,Y=0;else K=+K+1,Y=0;else if(Z==="<=")if(Z="<",I)W=+W+1;else K=+K+1;if(Z==="<")F="-0";Q=`${Z+W}.${K}.${Y}${F}`}else if(I)Q=`>=${W}.0.0${F} <${+W+1}.0.0-0`;else if(y)Q=`>=${W}.${K}.0${F} <${W}.${+K+1}.0-0`;return B("xRange return",Q),Q})},m$=(q,$)=>{return B("replaceStars",q,$),q.trim().replace(P[V.STAR],"")},p$=(q,$)=>{return B("replaceGTE0",q,$),q.trim().replace(P[$.includePrerelease?V.GTE0PRE:V.GTE0],"")},s$=(q)=>($,J,Q,Z,W,K,Y,F,U,I,y,x)=>{if(D(Q))J="";else if(D(Z))J=`>=${Q}.0.0${q?"-0":""}`;else if(D(W))J=`>=${Q}.${Z}.0${q?"-0":""}`;else if(K)J=`>=${J}`;else J=`>=${J}${q?"-0":""}`;if(D(U))F="";else if(D(I))F=`<${+U+1}.0.0-0`;else if(D(y))F=`<${U}.${+I+1}.0-0`;else if(x)F=`<=${U}.${I}.${y}-${x}`;else if(q)F=`<${U}.${I}.${+y+1}-0`;else F=`<=${F}`;return`${J} ${F}`.trim()},a$=(q,$,J)=>{for(let Q=0;Q<q.length;Q++)if(!q[Q].test($))return!1;if($.prerelease.length&&!J.includePrerelease){for(let Q=0;Q<q.length;Q++){if(B(q[Q].semver),q[Q].semver===Qq.ANY)continue;if(q[Q].semver.prerelease.length>0){let Z=q[Q].semver;if(Z.major===$.major&&Z.minor===$.minor&&Z.patch===$.patch)return!0}}return!1}return!0}});var u=H((cJ,_0)=>{var T=Symbol("SemVer ANY");class a{static get ANY(){return T}constructor(q,$){if($=x0($),q instanceof a)if(q.loose===!!$.loose)return q;else q=q.value;if(q=q.trim().split(/\s+/).join(" "),Zq("comparator",q,$),this.options=$,this.loose=!!$.loose,this.parse(q),this.semver===T)this.value="";else this.value=this.operator+this.semver.version;Zq("comp",this)}parse(q){let $=this.options.loose?D0[G0.COMPARATORLOOSE]:D0[G0.COMPARATOR],J=q.match($);if(!J)throw TypeError(`Invalid comparator: ${q}`);if(this.operator=J[1]!==void 0?J[1]:"",this.operator==="=")this.operator="";if(!J[2])this.semver=T;else this.semver=new V0(J[2],this.options.loose)}toString(){return this.value}test(q){if(Zq("Comparator.test",q,this.options.loose),this.semver===T||q===T)return!0;if(typeof q==="string")try{q=new V0(q,this.options)}catch($){return!1}return Wq(q,this.operator,this.semver,this.options)}intersects(q,$){if(!(q instanceof a))throw TypeError("a Comparator is required");if(this.operator===""){if(this.value==="")return!0;return new P0(q.value,$).test(this.value)}else if(q.operator===""){if(q.value==="")return!0;return new P0(this.value,$).test(q.semver)}if($=x0($),$.includePrerelease&&(this.value==="<0.0.0-0"||q.value==="<0.0.0-0"))return!1;if(!$.includePrerelease&&(this.value.startsWith("<0.0.0")||q.value.startsWith("<0.0.0")))return!1;if(this.operator.startsWith(">")&&q.operator.startsWith(">"))return!0;if(this.operator.startsWith("<")&&q.operator.startsWith("<"))return!0;if(this.semver.version===q.semver.version&&this.operator.includes("=")&&q.operator.includes("="))return!0;if(Wq(this.semver,"<",q.semver,$)&&this.operator.startsWith(">")&&q.operator.startsWith("<"))return!0;if(Wq(this.semver,">",q.semver,$)&&this.operator.startsWith("<")&&q.operator.startsWith(">"))return!0;return!1}}_0.exports=a;var x0=b(),{safeRe:D0,t:G0}=C(),Wq=Jq(),Zq=S(),V0=G(),P0=X()});var M=H((mJ,X0)=>{var n$=X(),t$=(q,$,J)=>{try{$=new n$($,J)}catch(Q){return!1}return $.test(q)};X0.exports=t$});var L0=H((pJ,A0)=>{var i$=X(),r$=(q,$)=>new i$(q,$).set.map((J)=>J.map((Q)=>Q.value).join(" ").trim().split(" "));A0.exports=r$});var N0=H((sJ,E0)=>{var o$=G(),e$=X(),q9=(q,$,J)=>{let Q=null,Z=null,W=null;try{W=new e$($,J)}catch(K){return null}return q.forEach((K)=>{if(W.test(K)){if(!Q||Z.compare(K)===-1)Q=K,Z=new o$(Q,J)}}),Q};E0.exports=q9});var S0=H((aJ,C0)=>{var $9=G(),J9=X(),Q9=(q,$,J)=>{let Q=null,Z=null,W=null;try{W=new J9($,J)}catch(K){return null}return q.forEach((K)=>{if(W.test(K)){if(!Q||Z.compare(K)===1)Q=K,Z=new $9(Q,J)}}),Q};C0.exports=Q9});var u0=H((nJ,k0)=>{var Kq=G(),W9=X(),R0=R(),Z9=(q,$)=>{q=new W9(q,$);let J=new Kq("0.0.0");if(q.test(J))return J;if(J=new Kq("0.0.0-0"),q.test(J))return J;J=null;for(let Q=0;Q<q.set.length;++Q){let Z=q.set[Q],W=null;if(Z.forEach((K)=>{let Y=new Kq(K.semver.version);switch(K.operator){case">":if(Y.prerelease.length===0)Y.patch++;else Y.prerelease.push(0);Y.raw=Y.format();case"":case">=":if(!W||R0(Y,W))W=Y;break;case"<":case"<=":break;default:throw Error(`Unexpected operation: ${K.operator}`)}}),W&&(!J||R0(J,W)))J=W}if(J&&q.test(J))return J;return null};k0.exports=Z9});var M0=H((tJ,T0)=>{var K9=X(),j9=(q,$)=>{try{return new K9(q,$).range||"*"}catch(J){return null}};T0.exports=j9});var n=H((iJ,v0)=>{var z9=G(),f0=u(),{ANY:Y9}=f0,U9=X(),F9=M(),b0=R(),h0=g(),I9=m(),O9=c(),H9=(q,$,J,Q)=>{q=new z9(q,Q),$=new U9($,Q);let Z,W,K,Y,F;switch(J){case">":Z=b0,W=I9,K=h0,Y=">",F=">=";break;case"<":Z=h0,W=O9,K=b0,Y="<",F="<=";break;default:throw TypeError('Must provide a hilo val of "<" or ">"')}if(F9(q,$,Q))return!1;for(let U=0;U<$.set.length;++U){let I=$.set[U],y=null,x=null;if(I.forEach((O)=>{if(O.semver===Y9)O=new f0(">=0.0.0");if(y=y||O,x=x||O,Z(O.semver,y.semver,Q))y=O;else if(K(O.semver,x.semver,Q))x=O}),y.operator===Y||y.operator===F)return!1;if((!x.operator||x.operator===Y)&&W(q,x.semver))return!1;else if(x.operator===F&&K(q,x.semver))return!1}return!0};v0.exports=H9});var l0=H((rJ,d0)=>{var w9=n(),y9=(q,$,J)=>w9(q,$,">",J);d0.exports=y9});var c0=H((oJ,g0)=>{var B9=n(),x9=(q,$,J)=>B9(q,$,"<",J);g0.exports=x9});var s0=H((eJ,p0)=>{var m0=X(),D9=(q,$,J)=>{return q=new m0(q,J),$=new m0($,J),q.intersects($,J)};p0.exports=D9});var n0=H((qQ,a0)=>{var G9=M(),V9=_();a0.exports=(q,$,J)=>{let Q=[],Z=null,W=null,K=q.sort((I,y)=>V9(I,y,J));for(let I of K)if(G9(I,$,J)){if(W=I,!Z)Z=I}else{if(W)Q.push([Z,W]);W=null,Z=null}if(Z)Q.push([Z,null]);let Y=[];for(let[I,y]of Q)if(I===y)Y.push(I);else if(!y&&I===K[0])Y.push("*");else if(!y)Y.push(`>=${I}`);else if(I===K[0])Y.push(`<=${y}`);else Y.push(`${I} - ${y}`);let F=Y.join(" || "),U=typeof $.raw==="string"?$.raw:String($);return F.length<U.length?F:$}});var q1=H(($Q,e0)=>{var t0=X(),Yq=u(),{ANY:jq}=Yq,zq=M(),Uq=_(),P9=(q,$,J={})=>{if(q===$)return!0;q=new t0(q,J),$=new t0($,J);let Q=!1;q:for(let Z of q.set){for(let W of $.set){let K=X9(Z,W,J);if(Q=Q||K!==null,K)continue q}if(Q)return!1}return!0},_9=[new Yq(">=0.0.0-0")],i0=[new Yq(">=0.0.0")],X9=(q,$,J)=>{if(q===$)return!0;if(q.length===1&&q[0].semver===jq)if($.length===1&&$[0].semver===jq)return!0;else if(J.includePrerelease)q=_9;else q=i0;if($.length===1&&$[0].semver===jq)if(J.includePrerelease)return!0;else $=i0;let Q=new Set,Z,W;for(let O of q)if(O.operator===">"||O.operator===">=")Z=r0(Z,O,J);else if(O.operator==="<"||O.operator==="<=")W=o0(W,O,J);else Q.add(O.semver);if(Q.size>1)return null;let K;if(Z&&W){if(K=Uq(Z.semver,W.semver,J),K>0)return null;else if(K===0&&(Z.operator!==">="||W.operator!=="<="))return null}for(let O of Q){if(Z&&!zq(O,String(Z),J))return null;if(W&&!zq(O,String(W),J))return null;for(let Z1 of $)if(!zq(O,String(Z1),J))return!1;return!0}let Y,F,U,I,y=W&&!J.includePrerelease&&W.semver.prerelease.length?W.semver:!1,x=Z&&!J.includePrerelease&&Z.semver.prerelease.length?Z.semver:!1;if(y&&y.prerelease.length===1&&W.operator==="<"&&y.prerelease[0]===0)y=!1;for(let O of $){if(I=I||O.operator===">"||O.operator===">=",U=U||O.operator==="<"||O.operator==="<=",Z){if(x){if(O.semver.prerelease&&O.semver.prerelease.length&&O.semver.major===x.major&&O.semver.minor===x.minor&&O.semver.patch===x.patch)x=!1}if(O.operator===">"||O.operator===">="){if(Y=r0(Z,O,J),Y===O&&Y!==Z)return!1}else if(Z.operator===">="&&!O.test(Z.semver))return!1}if(W){if(y){if(O.semver.prerelease&&O.semver.prerelease.length&&O.semver.major===y.major&&O.semver.minor===y.minor&&O.semver.patch===y.patch)y=!1}if(O.operator==="<"||O.operator==="<="){if(F=o0(W,O,J),F===O&&F!==W)return!1}else if(W.operator==="<="&&!O.test(W.semver))return!1}if(!O.operator&&(W||Z)&&K!==0)return!1}if(Z&&U&&!W&&K!==0)return!1;if(W&&I&&!Z&&K!==0)return!1;if(x||y)return!1;return!0},r0=(q,$,J)=>{if(!q)return $;let Q=Uq(q.semver,$.semver,J);return Q>0?q:Q<0?$:$.operator===">"&&q.operator===">="?$:q},o0=(q,$,J)=>{if(!q)return $;let Q=Uq(q.semver,$.semver,J);return Q<0?q:Q>0?$:$.operator==="<"&&q.operator==="<="?$:q};e0.exports=P9});var W1=H((JQ,Q1)=>{var Fq=C(),$1=N(),A9=G(),J1=o(),L9=E(),E9=Aq(),N9=Eq(),C9=Sq(),S9=uq(),R9=Mq(),k9=hq(),u9=vq(),T9=lq(),M9=_(),b9=pq(),h9=aq(),f9=l(),v9=rq(),d9=eq(),l9=R(),g9=g(),c9=qq(),m9=$q(),p9=c(),s9=m(),a9=Jq(),n9=z0(),t9=U0(),i9=u(),r9=X(),o9=M(),e9=L0(),qJ=N0(),$J=S0(),JJ=u0(),QJ=M0(),WJ=n(),ZJ=l0(),KJ=c0(),jJ=s0(),zJ=n0(),YJ=q1();Q1.exports={parse:L9,valid:E9,clean:N9,inc:C9,diff:S9,major:R9,minor:k9,patch:u9,prerelease:T9,compare:M9,rcompare:b9,compareLoose:h9,compareBuild:f9,sort:v9,rsort:d9,gt:l9,lt:g9,eq:c9,neq:m9,gte:p9,lte:s9,cmp:a9,coerce:n9,truncate:t9,Comparator:i9,Range:r9,satisfies:o9,toComparators:e9,maxSatisfying:qJ,minSatisfying:$J,minVersion:JJ,validRange:QJ,outside:WJ,gtr:ZJ,ltr:KJ,intersects:jJ,simplifyRange:zJ,subset:YJ,SemVer:A9,re:Fq.re,src:Fq.src,tokens:Fq.t,SEMVER_SPEC_VERSION:$1.SEMVER_SPEC_VERSION,RELEASE_TYPES:$1.RELEASE_TYPES,compareIdentifiers:J1.compareIdentifiers,rcompareIdentifiers:J1.rcompareIdentifiers}});function t(){if(!Iq)Iq=W1();return Iq}function QQ(q,$){if(typeof Bun<"u")return Bun.semver.order(q,$)===1;return t().gt(q,$,{loose:!0})}function WQ(q,$){if(typeof Bun<"u")return Bun.semver.order(q,$)>=0;return t().gte(q,$,{loose:!0})}function ZQ(q,$){if(typeof Bun<"u")return Bun.semver.order(q,$)===-1;return t().lt(q,$,{loose:!0})}function KQ(q,$){if(typeof Bun<"u")return Bun.semver.satisfies(q,$);return t().satisfies(q,$,{loose:!0})}var Iq;var FJ=()=>{};
|
|
2
|
+
export{W1 as M1,QQ as N1,WQ as O1,ZQ as P1,KQ as Q1,FJ as R1};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{$E as P,Kx as f,Lx as v,lF as g}from"./cli-1.1.34-84707tma.mjs";import{IX as B,KX as J,OX as L,pY as p,wW as m}from"./cli-1.1.34-59csbz1a.mjs";import{T1 as G,U1 as H,V1 as y}from"./cli-1.1.34-8vfey6b5.mjs";import{Oaa as Z,Tea as I}from"./cli-1.1.34-wwjkncsv.mjs";import{Eqa as C,Iqa as T}from"./cli-1.1.34-4x915j9t.mjs";function i(q){let b=E.c(18),{onDone:U,isStandaloneDialog:k,externalIncludes:F}=q,K;if(b[1]!==U)K=(Y)=>{if(Y==="no")Z(S);else Z(h);U()},b[1]=U,b[2]=K;else K=b[2];let w=K,M;if(b[3]!==w)M=()=>{w("no")},b[3]=w,b[4]=M;else M=b[4];let V=M,W=!k,X=!k,N;if(b[5]===Symbol.for("react.memo_cache_sentinel"))N=G(J,{children:"This project's CLAUDE.md imports files outside the current working directory. Never allow this for third-party repositories."}),b[5]=N;else N=b[5];let z;if(b[6]!==F)z=F&&F.length>0&&H(B,{flexDirection:"column",children:[G(J,{dimColor:!0,children:"External imports:"}),F.map(D)]}),b[6]=F,b[7]=z;else z=b[7];let O;if(b[8]===Symbol.for("react.memo_cache_sentinel"))O=H(J,{dimColor:!0,children:["Important: Only use Claudin with files you trust. Accessing untrusted files may pose security risks"," ",G(L,{url:"https://code.claude.com/docs/en/security"})," "]}),b[8]=O;else O=b[8];let Q;if(b[9]===Symbol.for("react.memo_cache_sentinel"))Q=[{label:"Yes, allow external imports",value:"yes"},{label:"No, disable external imports",value:"no"}],b[9]=Q;else Q=b[9];let A;if(b[10]!==w)A=G(P,{options:Q,onChange:(Y)=>w(Y)}),b[10]=w,b[11]=A;else A=b[11];let R;if(b[12]!==V||b[13]!==A||b[14]!==W||b[15]!==X||b[16]!==z)R=H(f,{title:"Allow external CLAUDE.md file imports?",color:"warning",onCancel:V,hideBorder:W,hideInputGuide:X,children:[N,z,O,A]}),b[12]=V,b[13]=A,b[14]=W,b[15]=X,b[16]=z,b[17]=R;else R=b[17];return R}function D(q,b){return H(J,{dimColor:!0,children:[" ",q.path]},b)}function h(q){return{...q,hasClaudeMdExternalIncludesApproved:!0,hasClaudeMdExternalIncludesWarningShown:!0}}function S(q){return{...q,hasClaudeMdExternalIncludesApproved:!1,hasClaudeMdExternalIncludesWarningShown:!0}}var E;var j=T(()=>{p();I();g();v();y();E=C(m(),1)});
|
|
2
|
+
export{i as Pg,j as Qg};
|