@claudiolabs/claudin 1.0.12 → 1.0.13
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/AgentTool-1.0.13-6b06g673.mjs +1 -0
- package/dist/chunks/App-1.0.13-ka050dp3.mjs +1 -0
- package/dist/chunks/ApproveApiKey-1.0.13-f6p2r5kq.mjs +1 -0
- package/dist/chunks/AssistantSessionChooser-1.0.13-ghffkhts.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-1.0.13-5b244jsj.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-1.0.13-eqq7qkpy.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.0.13-5279tcga.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-1.0.13-gwgar56n.mjs +1 -0
- package/dist/chunks/DiffDialog-1.0.13-2jaehz54.mjs +7 -0
- package/dist/chunks/Doctor-1.0.13-t887gwxz.mjs +1 -0
- package/dist/chunks/ExplorerDialog-1.0.13-85gxb6k8.mjs +6 -0
- package/dist/chunks/Grove-1.0.13-hdw88war.mjs +1 -0
- package/dist/chunks/ITermBackend-1.0.13-m0d78jq0.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-1.0.13-4z7zd6n8.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-1.0.13-6xc5sc8a.mjs +1 -0
- package/dist/chunks/MigrationDialog-1.0.13-hhrgw5xc.mjs +1 -0
- package/dist/chunks/Onboarding-1.0.13-byv83gyv.mjs +1 -0
- package/dist/chunks/ProviderManager-1.0.13-gt6ntzcv.mjs +1 -0
- package/dist/chunks/REPL-1.0.13-wjxj6xgk.mjs +1 -0
- package/dist/chunks/ResumeConversation-1.0.13-tx1ek47f.mjs +1 -0
- package/dist/chunks/SnapshotUpdateDialog-1.0.13-4j2e4s72.mjs +1 -0
- package/dist/chunks/TeleportProgress-1.0.13-1rpjcxph.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-1.0.13-5fgav722.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-1.0.13-gy4sr83e.mjs +1 -0
- package/dist/chunks/TmuxBackend-1.0.13-t98nfbxk.mjs +9 -0
- package/dist/chunks/ToolSearchTool-1.0.13-n5wg1rcd.mjs +1 -0
- package/dist/chunks/TrustDialog-1.0.13-xdkp37x2.mjs +1 -0
- package/dist/chunks/activeProvider-1.0.13-v0kphhga.mjs +1 -0
- package/dist/chunks/add-dir-1.0.13-7v5rg7km.mjs +1 -0
- package/dist/chunks/agentTypes-1.0.13-k5wckd5y.mjs +1 -0
- package/dist/chunks/agents-1.0.13-ngbk16a3.mjs +3 -0
- package/dist/chunks/agents-1.0.13-tcqasxmv.mjs +110 -0
- package/dist/chunks/api-1.0.13-bvwz0wzt.mjs +1 -0
- package/dist/chunks/asciicast-1.0.13-j8ad859r.mjs +1 -0
- package/dist/chunks/assistant-1.0.13-91499j0p.mjs +1 -0
- package/dist/chunks/auth-1.0.13-p0qrnz2b.mjs +1 -0
- package/dist/chunks/auth-1.0.13-s1vedchg.mjs +1 -0
- package/dist/chunks/autoMode-1.0.13-61pvskhh.mjs +48 -0
- package/dist/chunks/autoUpdater-1.0.13-fnpzj0bw.mjs +1 -0
- package/dist/chunks/backgroundHousekeeping-1.0.13-92x690ww.mjs +1 -0
- package/dist/chunks/branch-1.0.13-encr40nd.mjs +4 -0
- package/dist/chunks/bridge-1.0.13-xfcd961b.mjs +2 -0
- package/dist/chunks/bridgeConfig-1.0.13-m2jyf3zk.mjs +1 -0
- package/dist/chunks/bridgeEnabled-1.0.13-2chm7y0g.mjs +1 -0
- package/dist/chunks/bridgeMain-1.0.13-d64q1ebx.mjs +88 -0
- package/dist/chunks/bridgePointer-1.0.13-npck2cd4.mjs +1 -0
- package/dist/chunks/btw-1.0.13-55x872ns.mjs +1 -0
- package/dist/chunks/buddy-1.0.13-9dmgywzm.mjs +3 -0
- package/dist/chunks/cacache-1.0.13-3c5hrrs4.mjs +1 -0
- package/dist/chunks/cache-probe-1.0.13-n8g8y16c.mjs +21 -0
- package/dist/chunks/cacheStats-1.0.13-2kyncvct.mjs +4 -0
- package/dist/chunks/caches-1.0.13-md3zkabd.mjs +1 -0
- package/dist/chunks/claudeDesktop-1.0.13-crk87hee.mjs +1 -0
- package/dist/chunks/claudemd-1.0.13-y42xe571.mjs +1 -0
- package/dist/chunks/clear-1.0.13-g8a3zjew.mjs +1 -0
- package/dist/chunks/clearTerminal-1.0.13-4k4snh0r.mjs +1 -0
- package/dist/chunks/cli-1.0.13-01n6gr4q.mjs +2 -0
- package/dist/chunks/cli-1.0.13-0357cnwe.mjs +2 -0
- package/dist/chunks/cli-1.0.13-14c24kge.mjs +2 -0
- package/dist/chunks/cli-1.0.13-19k4k5jx.mjs +2 -0
- package/dist/chunks/cli-1.0.13-1dk8e4ny.mjs +3 -0
- package/dist/chunks/cli-1.0.13-1hcywhe5.mjs +2 -0
- package/dist/chunks/cli-1.0.13-1hdbaf71.mjs +3 -0
- package/dist/chunks/cli-1.0.13-1qbvvc2e.mjs +4 -0
- package/dist/chunks/cli-1.0.13-23ev2ept.mjs +45 -0
- package/dist/chunks/cli-1.0.13-29x94tf7.mjs +2 -0
- package/dist/chunks/cli-1.0.13-2x789qav.mjs +2 -0
- package/dist/chunks/cli-1.0.13-2xpprn71.mjs +1 -0
- package/dist/chunks/cli-1.0.13-2z8q1mtz.mjs +3 -0
- package/dist/chunks/cli-1.0.13-36yeyd1r.mjs +18 -0
- package/dist/chunks/cli-1.0.13-3767t4yj.mjs +4 -0
- package/dist/chunks/cli-1.0.13-3c13b00m.mjs +2 -0
- package/dist/chunks/cli-1.0.13-3dmmr756.mjs +2 -0
- package/dist/chunks/cli-1.0.13-3essvqs1.mjs +2 -0
- package/dist/chunks/cli-1.0.13-3f0zqjp8.mjs +2 -0
- package/dist/chunks/cli-1.0.13-3fs84evm.mjs +2 -0
- package/dist/chunks/cli-1.0.13-3pspajgg.mjs +15 -0
- package/dist/chunks/cli-1.0.13-3rqmqts3.mjs +2 -0
- package/dist/chunks/cli-1.0.13-449f1p6g.mjs +2 -0
- package/dist/chunks/cli-1.0.13-466jbd1q.mjs +2 -0
- package/dist/chunks/cli-1.0.13-4dp5a597.mjs +6 -0
- package/dist/chunks/cli-1.0.13-4x3mr6wk.mjs +2 -0
- package/dist/chunks/cli-1.0.13-57993qn6.mjs +2 -0
- package/dist/chunks/cli-1.0.13-57ez593b.mjs +3 -0
- package/dist/chunks/cli-1.0.13-5g7rhqvq.mjs +4 -0
- package/dist/chunks/cli-1.0.13-5keyjg3e.mjs +58 -0
- package/dist/chunks/cli-1.0.13-5m2br5vf.mjs +2 -0
- package/dist/chunks/cli-1.0.13-5sc2h2hm.mjs +2 -0
- package/dist/chunks/cli-1.0.13-5sq4jbf1.mjs +2 -0
- package/dist/chunks/cli-1.0.13-696y87my.mjs +18 -0
- package/dist/chunks/cli-1.0.13-6b6kn6sd.mjs +2 -0
- package/dist/chunks/cli-1.0.13-6thbqr6g.mjs +2 -0
- package/dist/chunks/cli-1.0.13-6vb140br.mjs +25 -0
- package/dist/chunks/cli-1.0.13-6w1rqgrf.mjs +2 -0
- package/dist/chunks/cli-1.0.13-6xc8qzyr.mjs +2 -0
- package/dist/chunks/cli-1.0.13-6xkw8tq6.mjs +2 -0
- package/dist/chunks/cli-1.0.13-7kg0qv18.mjs +2 -0
- package/dist/chunks/cli-1.0.13-7nmrp6gh.mjs +2 -0
- package/dist/chunks/cli-1.0.13-7rg014zx.mjs +5 -0
- package/dist/chunks/cli-1.0.13-7xfra4by.mjs +2 -0
- package/dist/chunks/cli-1.0.13-80pk1w5c.mjs +2 -0
- package/dist/chunks/cli-1.0.13-81s2z4sy.mjs +2 -0
- package/dist/chunks/cli-1.0.13-83vckpyr.mjs +6 -0
- package/dist/chunks/cli-1.0.13-8s33s84f.mjs +2 -0
- package/dist/chunks/cli-1.0.13-93twxc7q.mjs +2 -0
- package/dist/chunks/cli-1.0.13-98a94f4b.mjs +2 -0
- package/dist/chunks/cli-1.0.13-9ax4vv5d.mjs +2 -0
- package/dist/chunks/cli-1.0.13-9bh8f53y.mjs +9 -0
- package/dist/chunks/cli-1.0.13-9t0q538w.mjs +25 -0
- package/dist/chunks/cli-1.0.13-a2j673qk.mjs +2 -0
- package/dist/chunks/cli-1.0.13-a5641ktm.mjs +2 -0
- package/dist/chunks/cli-1.0.13-a77ea1ga.mjs +2 -0
- package/dist/chunks/cli-1.0.13-a8t9066b.mjs +2 -0
- package/dist/chunks/cli-1.0.13-afdk25h0.mjs +2 -0
- package/dist/chunks/cli-1.0.13-avxss6zg.mjs +9 -0
- package/dist/chunks/cli-1.0.13-bj2neb84.mjs +2 -0
- package/dist/chunks/cli-1.0.13-bs0esgv1.mjs +2 -0
- package/dist/chunks/cli-1.0.13-byhjhrrg.mjs +15 -0
- package/dist/chunks/cli-1.0.13-cm3q208z.mjs +2 -0
- package/dist/chunks/cli-1.0.13-cwce8b7b.mjs +34 -0
- package/dist/chunks/cli-1.0.13-d016ffc7.mjs +3 -0
- package/dist/chunks/cli-1.0.13-d4zr1yqd.mjs +2 -0
- package/dist/chunks/cli-1.0.13-d7kr7nkk.mjs +2 -0
- package/dist/chunks/cli-1.0.13-dg21ms7f.mjs +2 -0
- package/dist/chunks/cli-1.0.13-dwp60tja.mjs +2 -0
- package/dist/chunks/cli-1.0.13-e19bb64d.mjs +4 -0
- package/dist/chunks/cli-1.0.13-e1m0dx6a.mjs +2 -0
- package/dist/chunks/cli-1.0.13-e3ca1xwv.mjs +2 -0
- package/dist/chunks/cli-1.0.13-e464ab16.mjs +2 -0
- package/dist/chunks/cli-1.0.13-e8p0r9r9.mjs +2 -0
- package/dist/chunks/cli-1.0.13-e9q9245e.mjs +2 -0
- package/dist/chunks/cli-1.0.13-ecv0stcf.mjs +2 -0
- package/dist/chunks/cli-1.0.13-ey9smtb0.mjs +3 -0
- package/dist/chunks/cli-1.0.13-f38bh25k.mjs +12 -0
- package/dist/chunks/cli-1.0.13-f4dfekwp.mjs +133 -0
- package/dist/chunks/cli-1.0.13-fb695nhr.mjs +67 -0
- package/dist/chunks/cli-1.0.13-fjwhbyeh.mjs +2 -0
- package/dist/chunks/cli-1.0.13-fpwws3z2.mjs +2 -0
- package/dist/chunks/cli-1.0.13-frs40s6h.mjs +2 -0
- package/dist/chunks/cli-1.0.13-fsmjqwpj.mjs +2 -0
- package/dist/chunks/cli-1.0.13-fta82vnx.mjs +2 -0
- package/dist/chunks/cli-1.0.13-g1rr0zfh.mjs +8 -0
- package/dist/chunks/cli-1.0.13-g7daabde.mjs +3 -0
- package/dist/chunks/cli-1.0.13-gd9e7w43.mjs +2 -0
- package/dist/chunks/cli-1.0.13-gsz0cygn.mjs +2 -0
- package/dist/chunks/cli-1.0.13-h5mwwv8w.mjs +16 -0
- package/dist/chunks/cli-1.0.13-hbcgx6rs.mjs +2 -0
- package/dist/chunks/cli-1.0.13-j0m03dqz.mjs +39 -0
- package/dist/chunks/cli-1.0.13-j3gww2v8.mjs +2 -0
- package/dist/chunks/cli-1.0.13-jdxaky02.mjs +12 -0
- package/dist/chunks/cli-1.0.13-jkahzkac.mjs +12 -0
- package/dist/chunks/cli-1.0.13-jrjz42t8.mjs +2 -0
- package/dist/chunks/cli-1.0.13-jsezewz5.mjs +2 -0
- package/dist/chunks/cli-1.0.13-jxe94sbj.mjs +2 -0
- package/dist/chunks/cli-1.0.13-k4znag0a.mjs +2 -0
- package/dist/chunks/cli-1.0.13-k71bq854.mjs +2 -0
- package/dist/chunks/cli-1.0.13-k8vrp1kw.mjs +2 -0
- package/dist/chunks/cli-1.0.13-kc1q3k9n.mjs +2 -0
- package/dist/chunks/cli-1.0.13-kg25kqz0.mjs +12 -0
- package/dist/chunks/cli-1.0.13-kmmkpfh0.mjs +2 -0
- package/dist/chunks/cli-1.0.13-knb8ctbq.mjs +3 -0
- package/dist/chunks/cli-1.0.13-kpqaz90n.mjs +7 -0
- package/dist/chunks/cli-1.0.13-kq0mvqax.mjs +2 -0
- package/dist/chunks/cli-1.0.13-kr3d94dn.mjs +5495 -0
- package/dist/chunks/cli-1.0.13-m5hkpjvs.mjs +2 -0
- package/dist/chunks/cli-1.0.13-mazxedqg.mjs +4 -0
- package/dist/chunks/cli-1.0.13-mtnc53tx.mjs +2 -0
- package/dist/chunks/cli-1.0.13-mv57kk3c.mjs +59 -0
- package/dist/chunks/cli-1.0.13-n4fsyme7.mjs +2 -0
- package/dist/chunks/cli-1.0.13-ndthc14d.mjs +2 -0
- package/dist/chunks/cli-1.0.13-nqw7f2pt.mjs +2 -0
- package/dist/chunks/cli-1.0.13-ns8m0h8r.mjs +15 -0
- package/dist/chunks/cli-1.0.13-p1nsb8ay.mjs +202 -0
- package/dist/chunks/cli-1.0.13-p43t5py0.mjs +2 -0
- package/dist/chunks/cli-1.0.13-p7b51har.mjs +2 -0
- package/dist/chunks/cli-1.0.13-pajjrc2x.mjs +2 -0
- package/dist/chunks/cli-1.0.13-pf0ztxpx.mjs +6 -0
- package/dist/chunks/cli-1.0.13-ppdtae6a.mjs +2 -0
- package/dist/chunks/cli-1.0.13-pwfpt641.mjs +2 -0
- package/dist/chunks/cli-1.0.13-q03bdpb3.mjs +17 -0
- package/dist/chunks/cli-1.0.13-q40za40w.mjs +50 -0
- package/dist/chunks/cli-1.0.13-qpnp3w6h.mjs +2 -0
- package/dist/chunks/cli-1.0.13-qx079tft.mjs +2 -0
- package/dist/chunks/cli-1.0.13-qxebhem2.mjs +2 -0
- package/dist/chunks/cli-1.0.13-r6v8d7e7.mjs +2 -0
- package/dist/chunks/cli-1.0.13-r9nmkthw.mjs +2 -0
- package/dist/chunks/cli-1.0.13-rcrh6wfx.mjs +4 -0
- package/dist/chunks/cli-1.0.13-rgk2vrkz.mjs +2 -0
- package/dist/chunks/cli-1.0.13-rhptvh17.mjs +2 -0
- package/dist/chunks/cli-1.0.13-rxd329nn.mjs +24 -0
- package/dist/chunks/cli-1.0.13-ry9nsg8a.mjs +2 -0
- package/dist/chunks/cli-1.0.13-ryajgbr3.mjs +2 -0
- package/dist/chunks/cli-1.0.13-s15merj9.mjs +2 -0
- package/dist/chunks/cli-1.0.13-s16wgevn.mjs +2 -0
- package/dist/chunks/cli-1.0.13-s2czjfzp.mjs +2 -0
- package/dist/chunks/cli-1.0.13-s2sd6xfc.mjs +24 -0
- package/dist/chunks/cli-1.0.13-s5bfzdbk.mjs +2 -0
- package/dist/chunks/cli-1.0.13-sg6bkxg3.mjs +20 -0
- package/dist/chunks/cli-1.0.13-shrh1g4z.mjs +2 -0
- package/dist/chunks/cli-1.0.13-sj8rg9wk.mjs +24 -0
- package/dist/chunks/cli-1.0.13-smrxt9dh.mjs +2 -0
- package/dist/chunks/cli-1.0.13-smtbj9fm.mjs +2 -0
- package/dist/chunks/cli-1.0.13-sy93t0xx.mjs +2 -0
- package/dist/chunks/cli-1.0.13-t1z10ay5.mjs +2 -0
- package/dist/chunks/cli-1.0.13-t9wrrtrh.mjs +2 -0
- package/dist/chunks/cli-1.0.13-tfd5mr15.mjs +17 -0
- package/dist/chunks/cli-1.0.13-thxvtvt4.mjs +2 -0
- package/dist/chunks/cli-1.0.13-tmfvcmn3.mjs +2 -0
- package/dist/chunks/cli-1.0.13-tnq7z8s5.mjs +3 -0
- package/dist/chunks/cli-1.0.13-tp2w17kc.mjs +2 -0
- package/dist/chunks/cli-1.0.13-tq5m4f65.mjs +2 -0
- package/dist/chunks/cli-1.0.13-tr0fe3hn.mjs +2 -0
- package/dist/chunks/cli-1.0.13-trkevtw9.mjs +2 -0
- package/dist/chunks/cli-1.0.13-tyhtztew.mjs +2 -0
- package/dist/chunks/cli-1.0.13-v1tn9wpw.mjs +21 -0
- package/dist/chunks/cli-1.0.13-v38n7n4p.mjs +2 -0
- package/dist/chunks/cli-1.0.13-v4annnm3.mjs +2 -0
- package/dist/chunks/cli-1.0.13-v5gjxk3n.mjs +4 -0
- package/dist/chunks/cli-1.0.13-v7eb8n71.mjs +133 -0
- package/dist/chunks/cli-1.0.13-v8tce7qz.mjs +2 -0
- package/dist/chunks/cli-1.0.13-vb85p8we.mjs +2 -0
- package/dist/chunks/cli-1.0.13-vbby2x4m.mjs +2 -0
- package/dist/chunks/cli-1.0.13-vd01re4x.mjs +2 -0
- package/dist/chunks/cli-1.0.13-vp1h8f42.mjs +2 -0
- package/dist/chunks/cli-1.0.13-vs4d56js.mjs +2 -0
- package/dist/chunks/cli-1.0.13-vv5mtvhr.mjs +2 -0
- package/dist/chunks/cli-1.0.13-vvtdrd6j.mjs +5 -0
- package/dist/chunks/cli-1.0.13-vwmq6bde.mjs +2 -0
- package/dist/chunks/cli-1.0.13-w5jash5n.mjs +2 -0
- package/dist/chunks/cli-1.0.13-w7jh58qt.mjs +2 -0
- package/dist/chunks/cli-1.0.13-w8wwn19j.mjs +2 -0
- package/dist/chunks/cli-1.0.13-wmc6ft2f.mjs +6 -0
- package/dist/chunks/cli-1.0.13-wrcxv50n.mjs +2 -0
- package/dist/chunks/cli-1.0.13-wsk4823v.mjs +2 -0
- package/dist/chunks/cli-1.0.13-x4xwa6y3.mjs +4 -0
- package/dist/chunks/cli-1.0.13-x8j9z15q.mjs +3 -0
- package/dist/chunks/cli-1.0.13-xajnmhak.mjs +2 -0
- package/dist/chunks/cli-1.0.13-xg86t5j7.mjs +2 -0
- package/dist/chunks/cli-1.0.13-xpc2m6vc.mjs +2 -0
- package/dist/chunks/cli-1.0.13-xr55511t.mjs +2 -0
- package/dist/chunks/cli-1.0.13-xsvz53d6.mjs +42 -0
- package/dist/chunks/cli-1.0.13-y1kzayxj.mjs +18 -0
- package/dist/chunks/cli-1.0.13-y20sjx5k.mjs +6 -0
- package/dist/chunks/cli-1.0.13-y6y32j2s.mjs +2 -0
- package/dist/chunks/cli-1.0.13-y74xv34r.mjs +4 -0
- package/dist/chunks/cli-1.0.13-yb1smx77.mjs +2 -0
- package/dist/chunks/cli-1.0.13-ymvtrfgn.mjs +4 -0
- package/dist/chunks/cli-1.0.13-yq7961x3.mjs +4 -0
- package/dist/chunks/cli-1.0.13-yr590qbp.mjs +3 -0
- package/dist/chunks/cli-1.0.13-z72v7rwr.mjs +2 -0
- package/dist/chunks/cli-1.0.13-z8vs7cc1.mjs +2 -0
- package/dist/chunks/cli-1.0.13-zgdatr3s.mjs +3 -0
- package/dist/chunks/cli-1.0.13-zmyb9smk.mjs +2 -0
- package/dist/chunks/cli-1.0.13-zp9tvwgh.mjs +2 -0
- package/dist/chunks/cli-1.0.13-zt4bek0j.mjs +2 -0
- package/dist/chunks/cli-1.0.13-ztqnt3qp.mjs +2 -0
- package/dist/chunks/cli-1.0.13-zvemnxrj.mjs +2 -0
- package/dist/chunks/client-1.0.13-jj0v4n27.mjs +1 -0
- package/dist/chunks/color-1.0.13-3v7rvzdv.mjs +1 -0
- package/dist/chunks/compact-1.0.13-dbdbjtdk.mjs +3 -0
- package/dist/chunks/config-1.0.13-3qrt3cgm.mjs +1 -0
- package/dist/chunks/config-1.0.13-r3hkdrhb.mjs +1 -0
- package/dist/chunks/constants-1.0.13-rnw6yks8.mjs +1 -0
- package/dist/chunks/context-1.0.13-vzh7rmzp.mjs +1 -0
- package/dist/chunks/context-noninteractive-1.0.13-pch5w54p.mjs +1 -0
- package/dist/chunks/conversation-1.0.13-deetqyn0.mjs +1 -0
- package/dist/chunks/copilotHeaders-1.0.13-nt9wrgp5.mjs +1 -0
- package/dist/chunks/copy-1.0.13-hzdas7e3.mjs +9 -0
- package/dist/chunks/cost-1.0.13-6nzzt5ne.mjs +1 -0
- package/dist/chunks/createSSHSession-1.0.13-vy3mcz3k.mjs +1 -0
- package/dist/chunks/createSession-1.0.13-9f9eevz2.mjs +1 -0
- package/dist/chunks/debug-1.0.13-f3k3n0w9.mjs +1 -0
- package/dist/chunks/defaultActionDeps-1.0.13-cnw858jb.mjs +1446 -0
- package/dist/chunks/desktop-1.0.13-e005km58.mjs +1 -0
- package/dist/chunks/detectRepository-1.0.13-rjbmyf6j.mjs +1 -0
- package/dist/chunks/detection-1.0.13-fmg4e9cn.mjs +1 -0
- package/dist/chunks/diff-1.0.13-9jypv082.mjs +1 -0
- package/dist/chunks/doctor-1.0.13-8tdcwyds.mjs +1 -0
- package/dist/chunks/doctorDiagnostic-1.0.13-01b5f1qr.mjs +1 -0
- package/dist/chunks/earlyInput-1.0.13-qdaqzn87.mjs +1 -0
- package/dist/chunks/effort-1.0.13-xfj9x3jk.mjs +10 -0
- package/dist/chunks/engine-1.0.13-8zd1smqp.mjs +1 -0
- package/dist/chunks/envLessBridgeConfig-1.0.13-3pv6cjbw.mjs +1 -0
- package/dist/chunks/envUtils-1.0.13-vcp6531a.mjs +1 -0
- package/dist/chunks/environmentSelection-1.0.13-jeanv46d.mjs +1 -0
- package/dist/chunks/environments-1.0.13-w5a33d52.mjs +1 -0
- package/dist/chunks/errors-1.0.13-wrs4k863.mjs +1 -0
- package/dist/chunks/exampleCommands-1.0.13-f3v5223v.mjs +1 -0
- package/dist/chunks/execFileNoThrow-1.0.13-5qgqf50q.mjs +1 -0
- package/dist/chunks/exit-1.0.13-dkp2e02s.mjs +1 -0
- package/dist/chunks/explorer-1.0.13-0c0437ts.mjs +1 -0
- package/dist/chunks/export-1.0.13-cbatvd1c.mjs +2 -0
- package/dist/chunks/extra-usage-1.0.13-tm9dn26m.mjs +1 -0
- package/dist/chunks/extra-usage-noninteractive-1.0.13-tyfdd6zc.mjs +1 -0
- package/dist/chunks/fast-1.0.13-m2jj5axh.mjs +1 -0
- package/dist/chunks/feedback-1.0.13-3rc5sphe.mjs +14 -0
- package/dist/chunks/firstPartyEventLogger-1.0.13-9cqvyyy3.mjs +1 -0
- package/dist/chunks/git-1.0.13-9196pgzv.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-1.0.13-h8fyv4hh.mjs +1 -0
- package/dist/chunks/goal-1.0.13-cty957vz.mjs +4 -0
- package/dist/chunks/grove-1.0.13-jew4jmvf.mjs +1 -0
- package/dist/chunks/growthbook-1.0.13-q8xh656p.mjs +1 -0
- package/dist/chunks/headless-1.0.13-h0c3ze3f.mjs +2 -0
- package/dist/chunks/heapdump-1.0.13-ndzc9093.mjs +6 -0
- package/dist/chunks/help-1.0.13-em333cwb.mjs +1 -0
- package/dist/chunks/hookChains-1.0.13-ytcm9p3p.mjs +3 -0
- package/dist/chunks/hooks-1.0.13-43xm69rv.mjs +79 -0
- package/dist/chunks/hooks-1.0.13-xa6gpzvq.mjs +1 -0
- package/dist/chunks/ide-1.0.13-4z1afk08.mjs +3 -0
- package/dist/chunks/image-processor-napi-1.0.13-e53cs6qw.mjs +1 -0
- package/dist/chunks/inboundAttachments-1.0.13-968zpe6v.mjs +1 -0
- package/dist/chunks/index-1.0.13-361h9v63.mjs +1 -0
- package/dist/chunks/index-1.0.13-4p1eb2pq.mjs +1 -0
- package/dist/chunks/index-1.0.13-55th4hhq.mjs +1 -0
- package/dist/chunks/index-1.0.13-55vgc9cr.mjs +1 -0
- package/dist/chunks/index-1.0.13-5gqy8x3m.mjs +1 -0
- package/dist/chunks/index-1.0.13-792fhv61.mjs +1 -0
- package/dist/chunks/index-1.0.13-8k0904bs.mjs +1 -0
- package/dist/chunks/index-1.0.13-ace8202d.mjs +2 -0
- package/dist/chunks/index-1.0.13-e20f9w6f.mjs +1 -0
- package/dist/chunks/index-1.0.13-efh2qbe0.mjs +1 -0
- package/dist/chunks/index-1.0.13-ej84k860.mjs +1 -0
- package/dist/chunks/index-1.0.13-fnd36467.mjs +2 -0
- package/dist/chunks/index-1.0.13-hdvj3xyt.mjs +30 -0
- package/dist/chunks/index-1.0.13-hgbqf3v1.mjs +1 -0
- package/dist/chunks/index-1.0.13-j0146ntq.mjs +1 -0
- package/dist/chunks/index-1.0.13-jackh0p4.mjs +17 -0
- package/dist/chunks/index-1.0.13-kfmh713v.mjs +9 -0
- package/dist/chunks/index-1.0.13-mrvd3mn4.mjs +1 -0
- package/dist/chunks/index-1.0.13-rrm8s54m.mjs +1 -0
- package/dist/chunks/index-1.0.13-vgmxqgw6.mjs +1 -0
- package/dist/chunks/index-1.0.13-xgbfdr5p.mjs +5 -0
- package/dist/chunks/index-1.0.13-y5wahjbd.mjs +9 -0
- package/dist/chunks/index-1.0.13-ykat42gv.mjs +1 -0
- package/dist/chunks/init-1.0.13-pyw980be.mjs +1 -0
- package/dist/chunks/initReplBridge-1.0.13-8pye5m3y.mjs +1 -0
- package/dist/chunks/ink-1.0.13-4ks3vqg1.mjs +1 -0
- package/dist/chunks/insights-1.0.13-8p04qt4e.mjs +870 -0
- package/dist/chunks/install-1.0.13-afmkvg4q.mjs +1 -0
- package/dist/chunks/install-github-app-1.0.13-nybxp9y9.mjs +149 -0
- package/dist/chunks/install-slack-app-1.0.13-ghycqjsr.mjs +1 -0
- package/dist/chunks/instrumentation-1.0.13-35rtw7fn.mjs +1 -0
- package/dist/chunks/interactiveHelpers-1.0.13-16ydy7kk.mjs +1 -0
- package/dist/chunks/keybindings-1.0.13-nt63s9bg.mjs +2 -0
- package/dist/chunks/knowledge-1.0.13-g9wcredx.mjs +2 -0
- package/dist/chunks/latestVersionCache-1.0.13-783kmyc1.mjs +1 -0
- package/dist/chunks/loadAgentsDir-1.0.13-btkcbfn1.mjs +1 -0
- package/dist/chunks/loadPluginHooks-1.0.13-6cxg0hz0.mjs +1 -0
- package/dist/chunks/loadPluginHooks-1.0.13-tf6npdgj.mjs +1 -0
- package/dist/chunks/log-1.0.13-3sscdqcx.mjs +1 -0
- package/dist/chunks/main-1.0.13-h958ytkv.mjs +1 -0
- package/dist/chunks/managedEnv-1.0.13-kcy78mg2.mjs +1 -0
- package/dist/chunks/mcp-1.0.13-gwfzhgtm.mjs +4 -0
- package/dist/chunks/mcp-1.0.13-s9hvy6a1.mjs +1 -0
- package/dist/chunks/mcp-1.0.13-vathcxfe.mjs +17 -0
- package/dist/chunks/mcpb-1.0.13-ynwdmrgy.mjs +1 -0
- package/dist/chunks/memory-1.0.13-y5pgdmp0.mjs +72 -0
- package/dist/chunks/model-1.0.13-28wkmva5.mjs +2 -0
- package/dist/chunks/model-1.0.13-wbne69bf.mjs +1 -0
- package/dist/chunks/node-1.0.13-jb6nf3sf.mjs +12 -0
- package/dist/chunks/oauth-1.0.13-x9g8753d.mjs +1 -0
- package/dist/chunks/openaiShim-1.0.13-dmzfpj84.mjs +14 -0
- package/dist/chunks/output-style-1.0.13-dkm9cvhh.mjs +1 -0
- package/dist/chunks/package-2VNCXFNY-1.0.13-c2rzk5s5.mjs +1 -0
- package/dist/chunks/parseConnectUrl-1.0.13-drfxxfbm.mjs +1 -0
- package/dist/chunks/parser-1.0.13-2a4gxkj4.mjs +1 -0
- package/dist/chunks/passes-1.0.13-xe1s3afm.mjs +1 -0
- package/dist/chunks/permissions-1.0.13-091a123r.mjs +1 -0
- package/dist/chunks/permissions-1.0.13-de2kak1c.mjs +3 -0
- package/dist/chunks/plan-1.0.13-nq51yj1w.mjs +1 -0
- package/dist/chunks/plist-1.0.13-9jnyqg5e.mjs +1 -0
- package/dist/chunks/plugin-1.0.13-ravfdrab.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-1.0.13-bpnvrbf5.mjs +1 -0
- package/dist/chunks/plugins-1.0.13-2g0zcvmn.mjs +9 -0
- package/dist/chunks/preActionHook-1.0.13-sh1garss.mjs +2 -0
- package/dist/chunks/print-1.0.13-fbmdzf5h.mjs +57 -0
- package/dist/chunks/privacy-settings-1.0.13-xmggzdjb.mjs +1 -0
- package/dist/chunks/process-1.0.13-yvqmferw.mjs +1 -0
- package/dist/chunks/processBashCommand-1.0.13-vymx613b.mjs +1 -0
- package/dist/chunks/processSlashCommand-1.0.13-t2b59q54.mjs +9 -0
- package/dist/chunks/prompt-1.0.13-5rf0rmyz.mjs +1 -0
- package/dist/chunks/prompt-1.0.13-z2a6q0v3.mjs +1 -0
- package/dist/chunks/prompts-1.0.13-xntc8d09.mjs +1 -0
- package/dist/chunks/protocolHandler-1.0.13-c5pks46d.mjs +13 -0
- package/dist/chunks/provider-1.0.13-zfgjs99b.mjs +2 -0
- package/dist/chunks/providerProfiles-1.0.13-rk6z9ker.mjs +1 -0
- package/dist/chunks/providerValidation-1.0.13-w8m526k7.mjs +6 -0
- package/dist/chunks/rate-limit-options-1.0.13-2a7ezwjq.mjs +1 -0
- package/dist/chunks/registerSubcommands-1.0.13-fdj1d2vn.mjs +34 -0
- package/dist/chunks/registry-1.0.13-p4zgn33y.mjs +1 -0
- package/dist/chunks/release-notes-1.0.13-pgzcje06.mjs +5 -0
- package/dist/chunks/reload-plugins-1.0.13-6chpnefr.mjs +2 -0
- package/dist/chunks/remote-env-1.0.13-j1xk0q03.mjs +1 -0
- package/dist/chunks/remoteBridgeCore-1.0.13-ffh4q93x.mjs +1 -0
- package/dist/chunks/remoteSession-1.0.13-h715mcc6.mjs +1 -0
- package/dist/chunks/rename-1.0.13-x7fma5b1.mjs +1 -0
- package/dist/chunks/replBridgeHandle-1.0.13-d1r6xsjs.mjs +1 -0
- package/dist/chunks/replLauncher-1.0.13-bhshyrk2.mjs +1 -0
- package/dist/chunks/resume-1.0.13-g7w8k889.mjs +2 -0
- package/dist/chunks/rewind-1.0.13-9wf9gqtz.mjs +1 -0
- package/dist/chunks/rootOptions-1.0.13-7y485878.mjs +1 -0
- package/dist/chunks/runWorkflowHeadless-1.0.13-rv0anxz7.mjs +10 -0
- package/dist/chunks/sandbox-adapter-1.0.13-kvcvaae5.mjs +1 -0
- package/dist/chunks/sandbox-toggle-1.0.13-gzeexqb1.mjs +1 -0
- package/dist/chunks/session-1.0.13-hyhbhvkf.mjs +2 -0
- package/dist/chunks/sessionDiscovery-1.0.13-525ff4qc.mjs +1 -0
- package/dist/chunks/sessionFileAccessHooks-1.0.13-52whtstc.mjs +1 -0
- package/dist/chunks/sessionStorage-1.0.13-r00sygqv.mjs +1 -0
- package/dist/chunks/settings-1.0.13-sm1hpt00.mjs +1 -0
- package/dist/chunks/setup-1.0.13-7y88y2kn.mjs +5 -0
- package/dist/chunks/sinks-1.0.13-4g18qqzg.mjs +1 -0
- package/dist/chunks/skills-1.0.13-cpct3g7k.mjs +1 -0
- package/dist/chunks/startupProfiler-1.0.13-x0k3gz44.mjs +1 -0
- package/dist/chunks/startupUpdateCheck-1.0.13-n4bzta5q.mjs +1 -0
- package/dist/chunks/state-1.0.13-zq29wtdm.mjs +1 -0
- package/dist/chunks/stats-1.0.13-q0gfz40a.mjs +6 -0
- package/dist/chunks/status-1.0.13-t69r10gd.mjs +1 -0
- package/dist/chunks/stickers-1.0.13-1vnk8fs0.mjs +1 -0
- package/dist/chunks/subprocessEnv-1.0.13-1qaxx1mm.mjs +1 -0
- package/dist/chunks/tasks-1.0.13-xbf05jds.mjs +1 -0
- package/dist/chunks/teamHelpers-1.0.13-ajaffjmv.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-1.0.13-0se6apnj.mjs +1 -0
- package/dist/chunks/teleport-1.0.13-fy5929dz.mjs +1 -0
- package/dist/chunks/terminalSetup-1.0.13-6vb6xv4h.mjs +1 -0
- package/dist/chunks/theme-1.0.13-qh1caywb.mjs +1 -0
- package/dist/chunks/thinkback-1.0.13-yxqc5snt.mjs +1 -0
- package/dist/chunks/thinkback-play-1.0.13-4zdbm8qa.mjs +1 -0
- package/dist/chunks/toolPool-1.0.13-p41w5yd3.mjs +1 -0
- package/dist/chunks/toolSearch-1.0.13-4behydd7.mjs +1 -0
- package/dist/chunks/tools-1.0.13-vkf5gwtw.mjs +1 -0
- package/dist/chunks/trustedDevice-1.0.13-zafdrn99.mjs +1 -0
- package/dist/chunks/turndown.cjs-1.0.13-jyfkbj9m.mjs +69 -0
- package/dist/chunks/types-1.0.13-7xc46cqv.mjs +1 -0
- package/dist/chunks/ultrareviewCommand-1.0.13-3bz6pfy0.mjs +4 -0
- package/dist/chunks/update-1.0.13-yevsj7ad.mjs +88 -0
- package/dist/chunks/upgrade-1.0.13-exvdsfcj.mjs +1 -0
- package/dist/chunks/upload-1.0.13-hnnrtgrv.mjs +7 -0
- package/dist/chunks/upstreamproxy-1.0.13-qgbvmb0r.mjs +14 -0
- package/dist/chunks/url-handler-napi-1.0.13-7wjfhqg3.mjs +1 -0
- package/dist/chunks/usage-1.0.13-jvdr40ma.mjs +1 -0
- package/dist/chunks/util-1.0.13-87gxb90q.mjs +1 -0
- package/dist/chunks/utils-1.0.13-c5pe460e.mjs +1 -0
- package/dist/chunks/vim-1.0.13-nkrbsse9.mjs +1 -0
- package/dist/chunks/watchLoop-1.0.13-922mtars.mjs +13 -0
- package/dist/chunks/watcher-1.0.13-pt4sgafn.mjs +1 -0
- package/dist/chunks/wiki-1.0.13-swp7dc6p.mjs +132 -0
- package/dist/chunks/workflows-1.0.13-ykfca04r.mjs +1 -0
- package/dist/chunks/worktree-1.0.13-9m47x8ty.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-1.0.13-3jrpyzfm.mjs +1 -0
- package/dist/chunks/wrapper-1.0.13-2myaas4p.mjs +7 -0
- package/dist/cli.mjs +2 -2
- package/package.json +9 -9
- package/dist/chunks/AgentTool-1.0.12-abyv62fr.mjs +0 -1
- package/dist/chunks/App-1.0.12-dn7sszp8.mjs +0 -1
- package/dist/chunks/ApproveApiKey-1.0.12-vx8944sv.mjs +0 -1
- package/dist/chunks/AssistantSessionChooser-1.0.12-ke187zyp.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-1.0.12-4evyjnv0.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-1.0.12-d9mwxc90.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.0.12-3jmx6cgy.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-1.0.12-3kmzdqzg.mjs +0 -1
- package/dist/chunks/DiffDialog-1.0.12-qj1xvjhw.mjs +0 -7
- package/dist/chunks/Doctor-1.0.12-51vy6wdx.mjs +0 -1
- package/dist/chunks/ExplorerDialog-1.0.12-96frvk0f.mjs +0 -6
- package/dist/chunks/Grove-1.0.12-56863ex7.mjs +0 -1
- package/dist/chunks/ITermBackend-1.0.12-r6mxvzaa.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-1.0.12-79dad11d.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-1.0.12-stz0gsem.mjs +0 -1
- package/dist/chunks/MigrationDialog-1.0.12-zyd4mdh4.mjs +0 -1
- package/dist/chunks/Onboarding-1.0.12-zbfxpy94.mjs +0 -1
- package/dist/chunks/ProviderManager-1.0.12-p8zk25w6.mjs +0 -1
- package/dist/chunks/REPL-1.0.12-fqnth064.mjs +0 -1
- package/dist/chunks/ResumeConversation-1.0.12-0qfj43z7.mjs +0 -1
- package/dist/chunks/SnapshotUpdateDialog-1.0.12-bnjcb979.mjs +0 -1
- package/dist/chunks/TeleportProgress-1.0.12-c6fa4qje.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-1.0.12-ycm47j1m.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-1.0.12-9rp6hs4x.mjs +0 -1
- package/dist/chunks/TmuxBackend-1.0.12-41jckn7c.mjs +0 -9
- package/dist/chunks/ToolSearchTool-1.0.12-c9n0hbpv.mjs +0 -1
- package/dist/chunks/TrustDialog-1.0.12-7fnas2qv.mjs +0 -1
- package/dist/chunks/activeProvider-1.0.12-gv2mp6kz.mjs +0 -1
- package/dist/chunks/add-dir-1.0.12-fpqr5x3k.mjs +0 -1
- package/dist/chunks/agentTypes-1.0.12-vrw22nhr.mjs +0 -1
- package/dist/chunks/agents-1.0.12-b7qmsh41.mjs +0 -3
- package/dist/chunks/agents-1.0.12-swx0yj99.mjs +0 -110
- package/dist/chunks/api-1.0.12-7ekn0cc8.mjs +0 -1
- package/dist/chunks/asciicast-1.0.12-bwarrcwq.mjs +0 -1
- package/dist/chunks/assistant-1.0.12-85mxf1m6.mjs +0 -1
- package/dist/chunks/auth-1.0.12-cefhne6z.mjs +0 -1
- package/dist/chunks/auth-1.0.12-snebfssk.mjs +0 -1
- package/dist/chunks/autoMode-1.0.12-9n08nqfk.mjs +0 -48
- package/dist/chunks/autoUpdater-1.0.12-h50vcbqf.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-1.0.12-tdh1q45w.mjs +0 -1
- package/dist/chunks/branch-1.0.12-863hng5d.mjs +0 -4
- package/dist/chunks/bridge-1.0.12-a5nw09de.mjs +0 -2
- package/dist/chunks/bridgeConfig-1.0.12-x66p8c5q.mjs +0 -1
- package/dist/chunks/bridgeEnabled-1.0.12-0wztb1hd.mjs +0 -1
- package/dist/chunks/bridgeMain-1.0.12-038n798h.mjs +0 -88
- package/dist/chunks/bridgePointer-1.0.12-9sjcxc3h.mjs +0 -1
- package/dist/chunks/btw-1.0.12-k26an2yc.mjs +0 -1
- package/dist/chunks/buddy-1.0.12-fpfpe288.mjs +0 -3
- package/dist/chunks/cacache-1.0.12-tee370hf.mjs +0 -1
- package/dist/chunks/cache-probe-1.0.12-ch8554yv.mjs +0 -21
- package/dist/chunks/cacheStats-1.0.12-9e5dx6pf.mjs +0 -4
- package/dist/chunks/caches-1.0.12-40h57pd6.mjs +0 -1
- package/dist/chunks/claudeDesktop-1.0.12-9cxdymhn.mjs +0 -1
- package/dist/chunks/claudemd-1.0.12-9dezcbgf.mjs +0 -1
- package/dist/chunks/clear-1.0.12-rhwxvjx8.mjs +0 -1
- package/dist/chunks/clearTerminal-1.0.12-33ecg1d7.mjs +0 -1
- package/dist/chunks/cli-1.0.12-05z376bz.mjs +0 -2
- package/dist/chunks/cli-1.0.12-0hs0n73e.mjs +0 -2
- package/dist/chunks/cli-1.0.12-0smh9wwk.mjs +0 -2
- package/dist/chunks/cli-1.0.12-0ttcqcck.mjs +0 -133
- package/dist/chunks/cli-1.0.12-18q23t16.mjs +0 -2
- package/dist/chunks/cli-1.0.12-1bcrzsgk.mjs +0 -45
- package/dist/chunks/cli-1.0.12-1cr9ram8.mjs +0 -21
- package/dist/chunks/cli-1.0.12-1dt50yfn.mjs +0 -4
- package/dist/chunks/cli-1.0.12-1n68xsye.mjs +0 -2
- package/dist/chunks/cli-1.0.12-1qc9gpzw.mjs +0 -12
- package/dist/chunks/cli-1.0.12-21c23686.mjs +0 -9
- package/dist/chunks/cli-1.0.12-22gbc57h.mjs +0 -2
- package/dist/chunks/cli-1.0.12-27qnbw76.mjs +0 -2
- package/dist/chunks/cli-1.0.12-2kt5mqgg.mjs +0 -2
- package/dist/chunks/cli-1.0.12-2nmjd3nj.mjs +0 -2
- package/dist/chunks/cli-1.0.12-2yt4jp97.mjs +0 -2
- package/dist/chunks/cli-1.0.12-321h968k.mjs +0 -2
- package/dist/chunks/cli-1.0.12-352e65vc.mjs +0 -2
- package/dist/chunks/cli-1.0.12-37c8ygq5.mjs +0 -6
- package/dist/chunks/cli-1.0.12-3fnggb5b.mjs +0 -133
- package/dist/chunks/cli-1.0.12-3n5xx9qt.mjs +0 -18
- package/dist/chunks/cli-1.0.12-3ncccq9x.mjs +0 -2
- package/dist/chunks/cli-1.0.12-3pn1zvqm.mjs +0 -2
- package/dist/chunks/cli-1.0.12-3r1201w4.mjs +0 -2
- package/dist/chunks/cli-1.0.12-3ya2dc5e.mjs +0 -2
- package/dist/chunks/cli-1.0.12-4hwr3sdf.mjs +0 -2
- package/dist/chunks/cli-1.0.12-4p7v89wr.mjs +0 -2
- package/dist/chunks/cli-1.0.12-57gs15yp.mjs +0 -18
- package/dist/chunks/cli-1.0.12-5efdpv3j.mjs +0 -2
- package/dist/chunks/cli-1.0.12-5sztdycm.mjs +0 -2
- package/dist/chunks/cli-1.0.12-65451rqd.mjs +0 -6
- package/dist/chunks/cli-1.0.12-67258wf2.mjs +0 -2
- package/dist/chunks/cli-1.0.12-6a3h6ptq.mjs +0 -2
- package/dist/chunks/cli-1.0.12-6p5xq1zz.mjs +0 -2
- package/dist/chunks/cli-1.0.12-6r2ap1g8.mjs +0 -4
- package/dist/chunks/cli-1.0.12-6rebetxb.mjs +0 -2
- package/dist/chunks/cli-1.0.12-6s4gq7fa.mjs +0 -2
- package/dist/chunks/cli-1.0.12-6tg9g6jd.mjs +0 -18
- package/dist/chunks/cli-1.0.12-76954fs2.mjs +0 -2
- package/dist/chunks/cli-1.0.12-769ev05r.mjs +0 -2
- package/dist/chunks/cli-1.0.12-7gt5bvcm.mjs +0 -16
- package/dist/chunks/cli-1.0.12-7ptw0hek.mjs +0 -3
- package/dist/chunks/cli-1.0.12-7tv5r0ph.mjs +0 -2
- package/dist/chunks/cli-1.0.12-7yabvp9r.mjs +0 -2
- package/dist/chunks/cli-1.0.12-7ynhsc1z.mjs +0 -4
- package/dist/chunks/cli-1.0.12-824tangf.mjs +0 -2
- package/dist/chunks/cli-1.0.12-86r9ty21.mjs +0 -5
- package/dist/chunks/cli-1.0.12-8751mzfs.mjs +0 -2
- package/dist/chunks/cli-1.0.12-87hs2fpz.mjs +0 -2
- package/dist/chunks/cli-1.0.12-88jecwwk.mjs +0 -2
- package/dist/chunks/cli-1.0.12-8neq4sr4.mjs +0 -2
- package/dist/chunks/cli-1.0.12-8ntn3ny6.mjs +0 -3
- package/dist/chunks/cli-1.0.12-8vjn5tt5.mjs +0 -2
- package/dist/chunks/cli-1.0.12-939eqyt0.mjs +0 -2
- package/dist/chunks/cli-1.0.12-93c97gc0.mjs +0 -7
- package/dist/chunks/cli-1.0.12-9xrez673.mjs +0 -6
- package/dist/chunks/cli-1.0.12-a3wknc82.mjs +0 -3
- package/dist/chunks/cli-1.0.12-a761j1gv.mjs +0 -2
- package/dist/chunks/cli-1.0.12-afqp6ccg.mjs +0 -5
- package/dist/chunks/cli-1.0.12-anfbb1k6.mjs +0 -199
- package/dist/chunks/cli-1.0.12-aqhk0pnq.mjs +0 -2
- package/dist/chunks/cli-1.0.12-aqvexw12.mjs +0 -4
- package/dist/chunks/cli-1.0.12-ar5q5p8k.mjs +0 -3
- package/dist/chunks/cli-1.0.12-arptj6sc.mjs +0 -2
- package/dist/chunks/cli-1.0.12-asf0zhhk.mjs +0 -2
- package/dist/chunks/cli-1.0.12-aswy8n6q.mjs +0 -2
- package/dist/chunks/cli-1.0.12-b0xdgvm3.mjs +0 -2
- package/dist/chunks/cli-1.0.12-b2kkbfqv.mjs +0 -2
- package/dist/chunks/cli-1.0.12-b54efth7.mjs +0 -3
- package/dist/chunks/cli-1.0.12-b55xwv7c.mjs +0 -12
- package/dist/chunks/cli-1.0.12-bavasn2m.mjs +0 -2
- package/dist/chunks/cli-1.0.12-bhvkmj7j.mjs +0 -2
- package/dist/chunks/cli-1.0.12-bphdbsee.mjs +0 -20
- package/dist/chunks/cli-1.0.12-bwhry5d9.mjs +0 -2
- package/dist/chunks/cli-1.0.12-bxrzeqxy.mjs +0 -2
- package/dist/chunks/cli-1.0.12-c3r1a6g5.mjs +0 -24
- package/dist/chunks/cli-1.0.12-c8eswgza.mjs +0 -2
- package/dist/chunks/cli-1.0.12-cdv6sj7q.mjs +0 -2
- package/dist/chunks/cli-1.0.12-ce2kb4jz.mjs +0 -2
- package/dist/chunks/cli-1.0.12-ce5a5631.mjs +0 -4
- package/dist/chunks/cli-1.0.12-cg6zadcf.mjs +0 -2
- package/dist/chunks/cli-1.0.12-ckpmw81j.mjs +0 -2
- package/dist/chunks/cli-1.0.12-crspnn4b.mjs +0 -6
- package/dist/chunks/cli-1.0.12-cveh4gy6.mjs +0 -34
- package/dist/chunks/cli-1.0.12-dcw582gx.mjs +0 -15
- package/dist/chunks/cli-1.0.12-ehp5ev2y.mjs +0 -2
- package/dist/chunks/cli-1.0.12-eptxz5fr.mjs +0 -2
- package/dist/chunks/cli-1.0.12-ets3kmf3.mjs +0 -2
- package/dist/chunks/cli-1.0.12-ev21p7g7.mjs +0 -1
- package/dist/chunks/cli-1.0.12-evtxsq88.mjs +0 -2
- package/dist/chunks/cli-1.0.12-f7s9vrvb.mjs +0 -2
- package/dist/chunks/cli-1.0.12-fc7czhyd.mjs +0 -2
- package/dist/chunks/cli-1.0.12-fr4x7p5q.mjs +0 -3
- package/dist/chunks/cli-1.0.12-fs27jw81.mjs +0 -59
- package/dist/chunks/cli-1.0.12-fs365rj0.mjs +0 -2
- package/dist/chunks/cli-1.0.12-fsgbmjzn.mjs +0 -2
- package/dist/chunks/cli-1.0.12-fttry6vt.mjs +0 -2
- package/dist/chunks/cli-1.0.12-g2qcnx8m.mjs +0 -2
- package/dist/chunks/cli-1.0.12-g2qsv3tc.mjs +0 -5494
- package/dist/chunks/cli-1.0.12-g6jjrjcj.mjs +0 -2
- package/dist/chunks/cli-1.0.12-gajn1gbg.mjs +0 -2
- package/dist/chunks/cli-1.0.12-gctwj61k.mjs +0 -4
- package/dist/chunks/cli-1.0.12-gd18f7hm.mjs +0 -2
- package/dist/chunks/cli-1.0.12-gden9vt3.mjs +0 -2
- package/dist/chunks/cli-1.0.12-gdjkhny3.mjs +0 -2
- package/dist/chunks/cli-1.0.12-geffmp8p.mjs +0 -2
- package/dist/chunks/cli-1.0.12-ggdecys5.mjs +0 -2
- package/dist/chunks/cli-1.0.12-gnjqhx0t.mjs +0 -3
- package/dist/chunks/cli-1.0.12-gvpmx85m.mjs +0 -58
- package/dist/chunks/cli-1.0.12-gz6fyqwk.mjs +0 -39
- package/dist/chunks/cli-1.0.12-gzdht3by.mjs +0 -2
- package/dist/chunks/cli-1.0.12-hcw51twk.mjs +0 -2
- package/dist/chunks/cli-1.0.12-hfjvcc88.mjs +0 -2
- package/dist/chunks/cli-1.0.12-hg7zn647.mjs +0 -2
- package/dist/chunks/cli-1.0.12-hhbfs4k4.mjs +0 -6
- package/dist/chunks/cli-1.0.12-hhr93g23.mjs +0 -2
- package/dist/chunks/cli-1.0.12-hkmqbg09.mjs +0 -2
- package/dist/chunks/cli-1.0.12-hqfw51ap.mjs +0 -4
- package/dist/chunks/cli-1.0.12-hs1b7q69.mjs +0 -2
- package/dist/chunks/cli-1.0.12-hxmg9ymn.mjs +0 -67
- package/dist/chunks/cli-1.0.12-j6jbtppw.mjs +0 -50
- package/dist/chunks/cli-1.0.12-jcpeegj0.mjs +0 -2
- package/dist/chunks/cli-1.0.12-jfhjds03.mjs +0 -2
- package/dist/chunks/cli-1.0.12-jfsy9ha5.mjs +0 -2
- package/dist/chunks/cli-1.0.12-jk3cz5bk.mjs +0 -2
- package/dist/chunks/cli-1.0.12-jv9bdyr3.mjs +0 -4
- package/dist/chunks/cli-1.0.12-jx132j1k.mjs +0 -25
- package/dist/chunks/cli-1.0.12-k1be9914.mjs +0 -12
- package/dist/chunks/cli-1.0.12-kamdx1jw.mjs +0 -2
- package/dist/chunks/cli-1.0.12-krksdpwy.mjs +0 -2
- package/dist/chunks/cli-1.0.12-krtzqxr0.mjs +0 -2
- package/dist/chunks/cli-1.0.12-kvbcb0np.mjs +0 -2
- package/dist/chunks/cli-1.0.12-kyxqyb1j.mjs +0 -2
- package/dist/chunks/cli-1.0.12-m46zb45g.mjs +0 -2
- package/dist/chunks/cli-1.0.12-m4ayadmp.mjs +0 -12
- package/dist/chunks/cli-1.0.12-mg5ma9ym.mjs +0 -15
- package/dist/chunks/cli-1.0.12-mx2xvdp9.mjs +0 -2
- package/dist/chunks/cli-1.0.12-n1m3pwwf.mjs +0 -2
- package/dist/chunks/cli-1.0.12-nanfnkp2.mjs +0 -2
- package/dist/chunks/cli-1.0.12-nn3vf2hn.mjs +0 -2
- package/dist/chunks/cli-1.0.12-nqhqcsq6.mjs +0 -2
- package/dist/chunks/cli-1.0.12-nvvpna9m.mjs +0 -3
- package/dist/chunks/cli-1.0.12-p4ezzhhd.mjs +0 -8
- package/dist/chunks/cli-1.0.12-pp2g923k.mjs +0 -2
- package/dist/chunks/cli-1.0.12-pp47fwxq.mjs +0 -2
- package/dist/chunks/cli-1.0.12-pr30kcgz.mjs +0 -2
- package/dist/chunks/cli-1.0.12-q0r16q04.mjs +0 -2
- package/dist/chunks/cli-1.0.12-q5pm96yt.mjs +0 -2
- package/dist/chunks/cli-1.0.12-q6d6aqp0.mjs +0 -2
- package/dist/chunks/cli-1.0.12-q6k5vz5c.mjs +0 -15
- package/dist/chunks/cli-1.0.12-qawr9s3v.mjs +0 -2
- package/dist/chunks/cli-1.0.12-qdw94y1a.mjs +0 -2
- package/dist/chunks/cli-1.0.12-r0h1nfgc.mjs +0 -2
- package/dist/chunks/cli-1.0.12-r5xssak6.mjs +0 -3
- package/dist/chunks/cli-1.0.12-rkm9m5nr.mjs +0 -4
- package/dist/chunks/cli-1.0.12-rndzs6hs.mjs +0 -3
- package/dist/chunks/cli-1.0.12-rx65fdkz.mjs +0 -2
- package/dist/chunks/cli-1.0.12-s5nznhbh.mjs +0 -3
- package/dist/chunks/cli-1.0.12-s6we79nr.mjs +0 -17
- package/dist/chunks/cli-1.0.12-samztxet.mjs +0 -2
- package/dist/chunks/cli-1.0.12-sav2q0qa.mjs +0 -42
- package/dist/chunks/cli-1.0.12-t40ecqfd.mjs +0 -2
- package/dist/chunks/cli-1.0.12-tj9ktjsh.mjs +0 -24
- package/dist/chunks/cli-1.0.12-tj9rj5jy.mjs +0 -2
- package/dist/chunks/cli-1.0.12-tjbtefn3.mjs +0 -2
- package/dist/chunks/cli-1.0.12-trd4dn34.mjs +0 -2
- package/dist/chunks/cli-1.0.12-tv0c63rt.mjs +0 -2
- package/dist/chunks/cli-1.0.12-tz4cb805.mjs +0 -2
- package/dist/chunks/cli-1.0.12-v4dwzr3x.mjs +0 -17
- package/dist/chunks/cli-1.0.12-vaj96q9j.mjs +0 -2
- package/dist/chunks/cli-1.0.12-vr2x1cvb.mjs +0 -2
- package/dist/chunks/cli-1.0.12-w1kw41q7.mjs +0 -2
- package/dist/chunks/cli-1.0.12-w7rfasq3.mjs +0 -9
- package/dist/chunks/cli-1.0.12-w8y086m4.mjs +0 -25
- package/dist/chunks/cli-1.0.12-wex4dg02.mjs +0 -4
- package/dist/chunks/cli-1.0.12-wg1cqvtp.mjs +0 -2
- package/dist/chunks/cli-1.0.12-wjsws708.mjs +0 -2
- package/dist/chunks/cli-1.0.12-wk1q0n53.mjs +0 -2
- package/dist/chunks/cli-1.0.12-wrzpekwj.mjs +0 -2
- package/dist/chunks/cli-1.0.12-wvndtz51.mjs +0 -24
- package/dist/chunks/cli-1.0.12-wz7n2nsd.mjs +0 -2
- package/dist/chunks/cli-1.0.12-x10h3tbg.mjs +0 -2
- package/dist/chunks/cli-1.0.12-x4ep25h9.mjs +0 -4
- package/dist/chunks/cli-1.0.12-xkytf9yh.mjs +0 -2
- package/dist/chunks/cli-1.0.12-xttdsx6k.mjs +0 -2
- package/dist/chunks/cli-1.0.12-y1c7c1a1.mjs +0 -2
- package/dist/chunks/cli-1.0.12-y84rjfz7.mjs +0 -2
- package/dist/chunks/cli-1.0.12-yhv467zj.mjs +0 -2
- package/dist/chunks/cli-1.0.12-ynve21xv.mjs +0 -2
- package/dist/chunks/cli-1.0.12-ys1t2bxz.mjs +0 -2
- package/dist/chunks/cli-1.0.12-yxtwvta2.mjs +0 -2
- package/dist/chunks/cli-1.0.12-z3a8jcm9.mjs +0 -3
- package/dist/chunks/cli-1.0.12-z3c340m4.mjs +0 -2
- package/dist/chunks/cli-1.0.12-z623f1kc.mjs +0 -2
- package/dist/chunks/cli-1.0.12-z9h568zf.mjs +0 -2
- package/dist/chunks/cli-1.0.12-z9sfhfkz.mjs +0 -2
- package/dist/chunks/cli-1.0.12-zeamr7yd.mjs +0 -2
- package/dist/chunks/cli-1.0.12-zeyjdjny.mjs +0 -2
- package/dist/chunks/cli-1.0.12-zfc8ad9g.mjs +0 -2
- package/dist/chunks/cli-1.0.12-zh892bg0.mjs +0 -2
- package/dist/chunks/cli-1.0.12-zjxsxtgp.mjs +0 -2
- package/dist/chunks/client-1.0.12-byhwssfy.mjs +0 -1
- package/dist/chunks/color-1.0.12-r9qemzca.mjs +0 -1
- package/dist/chunks/compact-1.0.12-e026vahr.mjs +0 -3
- package/dist/chunks/config-1.0.12-bzczt66c.mjs +0 -1
- package/dist/chunks/config-1.0.12-spq7sz3g.mjs +0 -1
- package/dist/chunks/constants-1.0.12-wfre6b4q.mjs +0 -1
- package/dist/chunks/context-1.0.12-062jh3t1.mjs +0 -1
- package/dist/chunks/context-noninteractive-1.0.12-2a33mwts.mjs +0 -1
- package/dist/chunks/conversation-1.0.12-84yx1v9g.mjs +0 -1
- package/dist/chunks/copilotHeaders-1.0.12-9p7nbsej.mjs +0 -1
- package/dist/chunks/copy-1.0.12-p0ehh4km.mjs +0 -9
- package/dist/chunks/cost-1.0.12-rp0mbkmr.mjs +0 -1
- package/dist/chunks/createSSHSession-1.0.12-wxq374vh.mjs +0 -1
- package/dist/chunks/createSession-1.0.12-1xvzax9p.mjs +0 -1
- package/dist/chunks/debug-1.0.12-94hz3csj.mjs +0 -1
- package/dist/chunks/defaultActionDeps-1.0.12-xampkk9g.mjs +0 -1446
- package/dist/chunks/desktop-1.0.12-sjnz496g.mjs +0 -1
- package/dist/chunks/detectRepository-1.0.12-ba7p74yk.mjs +0 -1
- package/dist/chunks/detection-1.0.12-a5q568s6.mjs +0 -1
- package/dist/chunks/diff-1.0.12-ndfx6mw0.mjs +0 -1
- package/dist/chunks/doctor-1.0.12-n0w9na8y.mjs +0 -1
- package/dist/chunks/doctorDiagnostic-1.0.12-9s7nqv0g.mjs +0 -1
- package/dist/chunks/earlyInput-1.0.12-zysskqm6.mjs +0 -1
- package/dist/chunks/effort-1.0.12-fv5hhe7x.mjs +0 -10
- package/dist/chunks/engine-1.0.12-h8g4mgyb.mjs +0 -1
- package/dist/chunks/envLessBridgeConfig-1.0.12-dgzmkpm2.mjs +0 -1
- package/dist/chunks/envUtils-1.0.12-sdf1kcja.mjs +0 -1
- package/dist/chunks/environmentSelection-1.0.12-8q9ret6b.mjs +0 -1
- package/dist/chunks/environments-1.0.12-a3zhfbhz.mjs +0 -1
- package/dist/chunks/errors-1.0.12-ct15bef4.mjs +0 -1
- package/dist/chunks/exampleCommands-1.0.12-df1dw74e.mjs +0 -1
- package/dist/chunks/execFileNoThrow-1.0.12-xfr44c3a.mjs +0 -1
- package/dist/chunks/exit-1.0.12-zvdfr5b8.mjs +0 -1
- package/dist/chunks/explorer-1.0.12-6y9xjy1q.mjs +0 -1
- package/dist/chunks/export-1.0.12-skd48sxc.mjs +0 -2
- package/dist/chunks/extra-usage-1.0.12-xfmqjtpj.mjs +0 -1
- package/dist/chunks/extra-usage-noninteractive-1.0.12-t1hm20j5.mjs +0 -1
- package/dist/chunks/fast-1.0.12-fhft5ey6.mjs +0 -1
- package/dist/chunks/feedback-1.0.12-3nxarzk5.mjs +0 -14
- package/dist/chunks/firstPartyEventLogger-1.0.12-wd3zscn0.mjs +0 -1
- package/dist/chunks/git-1.0.12-vdgymgzx.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-1.0.12-4srnyf9v.mjs +0 -1
- package/dist/chunks/goal-1.0.12-h2359pb4.mjs +0 -4
- package/dist/chunks/grove-1.0.12-77sjjjn3.mjs +0 -1
- package/dist/chunks/growthbook-1.0.12-3n3fqtkt.mjs +0 -1
- package/dist/chunks/headless-1.0.12-yp3kbbxc.mjs +0 -2
- package/dist/chunks/heapdump-1.0.12-s91zbazj.mjs +0 -6
- package/dist/chunks/help-1.0.12-0xjr189z.mjs +0 -1
- package/dist/chunks/hookChains-1.0.12-ct9k5n1p.mjs +0 -3
- package/dist/chunks/hooks-1.0.12-3j1z9nnx.mjs +0 -79
- package/dist/chunks/hooks-1.0.12-70mxcsxh.mjs +0 -1
- package/dist/chunks/ide-1.0.12-28njrjbk.mjs +0 -3
- package/dist/chunks/image-processor-napi-1.0.12-6wgz5kvw.mjs +0 -1
- package/dist/chunks/inboundAttachments-1.0.12-jvjez1dn.mjs +0 -1
- package/dist/chunks/index-1.0.12-0da1bb49.mjs +0 -9
- package/dist/chunks/index-1.0.12-1e9j7vzg.mjs +0 -5
- package/dist/chunks/index-1.0.12-1mdaerd8.mjs +0 -1
- package/dist/chunks/index-1.0.12-24pswrth.mjs +0 -1
- package/dist/chunks/index-1.0.12-2v2em96v.mjs +0 -2
- package/dist/chunks/index-1.0.12-474c1qt4.mjs +0 -1
- package/dist/chunks/index-1.0.12-6mn5222v.mjs +0 -1
- package/dist/chunks/index-1.0.12-742qmav9.mjs +0 -1
- package/dist/chunks/index-1.0.12-7k7nz3zd.mjs +0 -1
- package/dist/chunks/index-1.0.12-9j0r9hj8.mjs +0 -1
- package/dist/chunks/index-1.0.12-b9j27arj.mjs +0 -1
- package/dist/chunks/index-1.0.12-bpttwsys.mjs +0 -9
- package/dist/chunks/index-1.0.12-c5e33bnp.mjs +0 -1
- package/dist/chunks/index-1.0.12-cqq21e0m.mjs +0 -2
- package/dist/chunks/index-1.0.12-cr5bmztw.mjs +0 -1
- package/dist/chunks/index-1.0.12-fmffckpa.mjs +0 -1
- package/dist/chunks/index-1.0.12-gq7wdwne.mjs +0 -1
- package/dist/chunks/index-1.0.12-hdkwtv7r.mjs +0 -30
- package/dist/chunks/index-1.0.12-hdncwsmp.mjs +0 -17
- package/dist/chunks/index-1.0.12-p087je6g.mjs +0 -1
- package/dist/chunks/index-1.0.12-v4fg3ddh.mjs +0 -1
- package/dist/chunks/index-1.0.12-vx8y4eyw.mjs +0 -1
- package/dist/chunks/index-1.0.12-wbyw0qj6.mjs +0 -1
- package/dist/chunks/init-1.0.12-z61mf946.mjs +0 -1
- package/dist/chunks/initReplBridge-1.0.12-x85m2bm7.mjs +0 -1
- package/dist/chunks/ink-1.0.12-zmy65h90.mjs +0 -1
- package/dist/chunks/insights-1.0.12-hmmb2hfq.mjs +0 -870
- package/dist/chunks/install-1.0.12-ayp0wk5h.mjs +0 -1
- package/dist/chunks/install-github-app-1.0.12-gp77dd3x.mjs +0 -149
- package/dist/chunks/install-slack-app-1.0.12-r3sn5vy9.mjs +0 -1
- package/dist/chunks/instrumentation-1.0.12-p992hkry.mjs +0 -1
- package/dist/chunks/interactiveHelpers-1.0.12-bpa40yg2.mjs +0 -1
- package/dist/chunks/keybindings-1.0.12-tzqxhe4y.mjs +0 -2
- package/dist/chunks/knowledge-1.0.12-4z117jz8.mjs +0 -2
- package/dist/chunks/latestVersionCache-1.0.12-v4exfmej.mjs +0 -1
- package/dist/chunks/loadAgentsDir-1.0.12-33qj54es.mjs +0 -1
- package/dist/chunks/loadPluginHooks-1.0.12-3e1ay1bg.mjs +0 -1
- package/dist/chunks/loadPluginHooks-1.0.12-s7htccwt.mjs +0 -1
- package/dist/chunks/log-1.0.12-qerp8m38.mjs +0 -1
- package/dist/chunks/main-1.0.12-eegz9vfx.mjs +0 -1
- package/dist/chunks/managedEnv-1.0.12-dsdjxx30.mjs +0 -1
- package/dist/chunks/mcp-1.0.12-6dgfh9jp.mjs +0 -17
- package/dist/chunks/mcp-1.0.12-j2h3k7hg.mjs +0 -4
- package/dist/chunks/mcp-1.0.12-kp37svg1.mjs +0 -1
- package/dist/chunks/mcpb-1.0.12-ca16ddb6.mjs +0 -1
- package/dist/chunks/memory-1.0.12-0k08f6b4.mjs +0 -72
- package/dist/chunks/model-1.0.12-2z9t0e24.mjs +0 -2
- package/dist/chunks/model-1.0.12-avtsadm7.mjs +0 -1
- package/dist/chunks/node-1.0.12-5zcm6b49.mjs +0 -12
- package/dist/chunks/oauth-1.0.12-t7s3r4ha.mjs +0 -1
- package/dist/chunks/openaiShim-1.0.12-y35cxvtm.mjs +0 -14
- package/dist/chunks/output-style-1.0.12-hwh89yg3.mjs +0 -1
- package/dist/chunks/package-ZZWOLTXM-1.0.12-jrq6q5gh.mjs +0 -1
- package/dist/chunks/parseConnectUrl-1.0.12-1ajk88cn.mjs +0 -1
- package/dist/chunks/parser-1.0.12-mnazf4dy.mjs +0 -1
- package/dist/chunks/passes-1.0.12-hvk4mc22.mjs +0 -1
- package/dist/chunks/permissions-1.0.12-8mr0v1ms.mjs +0 -1
- package/dist/chunks/permissions-1.0.12-bhr0jwb3.mjs +0 -3
- package/dist/chunks/plan-1.0.12-5bjaadcz.mjs +0 -1
- package/dist/chunks/plist-1.0.12-rkjbgan4.mjs +0 -1
- package/dist/chunks/plugin-1.0.12-pxgt2afc.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-1.0.12-6gcazre9.mjs +0 -1
- package/dist/chunks/plugins-1.0.12-m5w6j4w1.mjs +0 -9
- package/dist/chunks/preActionHook-1.0.12-mf4w1185.mjs +0 -2
- package/dist/chunks/print-1.0.12-t6h31xzw.mjs +0 -57
- package/dist/chunks/privacy-settings-1.0.12-p99c9mr9.mjs +0 -1
- package/dist/chunks/process-1.0.12-514yxzk8.mjs +0 -1
- package/dist/chunks/processBashCommand-1.0.12-sg75g2bj.mjs +0 -1
- package/dist/chunks/processSlashCommand-1.0.12-yc9eq6vv.mjs +0 -9
- package/dist/chunks/prompt-1.0.12-0s0zhnqk.mjs +0 -1
- package/dist/chunks/prompt-1.0.12-yxsmhgt0.mjs +0 -1
- package/dist/chunks/prompts-1.0.12-0hkf5v5d.mjs +0 -1
- package/dist/chunks/protocolHandler-1.0.12-2s1b0744.mjs +0 -13
- package/dist/chunks/provider-1.0.12-br1hwfjc.mjs +0 -2
- package/dist/chunks/providerProfiles-1.0.12-1cvn3gk3.mjs +0 -1
- package/dist/chunks/providerValidation-1.0.12-e5hn1s9f.mjs +0 -6
- package/dist/chunks/rate-limit-options-1.0.12-2b1eehxk.mjs +0 -1
- package/dist/chunks/registerSubcommands-1.0.12-3w6n3hvp.mjs +0 -34
- package/dist/chunks/registry-1.0.12-416j15rh.mjs +0 -1
- package/dist/chunks/release-notes-1.0.12-cjkaspwe.mjs +0 -5
- package/dist/chunks/reload-plugins-1.0.12-kn31ddrr.mjs +0 -2
- package/dist/chunks/remote-env-1.0.12-wgzde32c.mjs +0 -1
- package/dist/chunks/remoteBridgeCore-1.0.12-0c89q3s7.mjs +0 -1
- package/dist/chunks/remoteSession-1.0.12-cs8aksk2.mjs +0 -1
- package/dist/chunks/rename-1.0.12-2a5n1bm7.mjs +0 -1
- package/dist/chunks/replBridgeHandle-1.0.12-1sgqwxsb.mjs +0 -1
- package/dist/chunks/replLauncher-1.0.12-380zfnph.mjs +0 -1
- package/dist/chunks/resume-1.0.12-xfc2cbkb.mjs +0 -2
- package/dist/chunks/rewind-1.0.12-r3d180dy.mjs +0 -1
- package/dist/chunks/rootOptions-1.0.12-pfhteve9.mjs +0 -1
- package/dist/chunks/runWorkflowHeadless-1.0.12-05semed9.mjs +0 -10
- package/dist/chunks/sandbox-adapter-1.0.12-6ty9e1sb.mjs +0 -1
- package/dist/chunks/sandbox-toggle-1.0.12-3s3mg79e.mjs +0 -1
- package/dist/chunks/session-1.0.12-xx9k18d5.mjs +0 -2
- package/dist/chunks/sessionDiscovery-1.0.12-k0eh44q5.mjs +0 -1
- package/dist/chunks/sessionFileAccessHooks-1.0.12-289cp1d9.mjs +0 -1
- package/dist/chunks/sessionStorage-1.0.12-af0sp63e.mjs +0 -1
- package/dist/chunks/settings-1.0.12-1kn5k4w3.mjs +0 -1
- package/dist/chunks/setup-1.0.12-sjx27cy2.mjs +0 -5
- package/dist/chunks/sinks-1.0.12-s5jc7mhb.mjs +0 -1
- package/dist/chunks/skills-1.0.12-rz6jxa0g.mjs +0 -1
- package/dist/chunks/startupProfiler-1.0.12-p1sagjpt.mjs +0 -1
- package/dist/chunks/startupUpdateCheck-1.0.12-0rynn7sy.mjs +0 -1
- package/dist/chunks/state-1.0.12-scv8d1ss.mjs +0 -1
- package/dist/chunks/stats-1.0.12-h73ksepe.mjs +0 -6
- package/dist/chunks/status-1.0.12-w3s8s4n7.mjs +0 -1
- package/dist/chunks/stickers-1.0.12-tytep2cy.mjs +0 -1
- package/dist/chunks/subprocessEnv-1.0.12-6kt4e9mh.mjs +0 -1
- package/dist/chunks/tasks-1.0.12-ezrpv3cr.mjs +0 -1
- package/dist/chunks/teamHelpers-1.0.12-yg34czgd.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-1.0.12-0b71sedv.mjs +0 -1
- package/dist/chunks/teleport-1.0.12-zq525vyn.mjs +0 -1
- package/dist/chunks/terminalSetup-1.0.12-z82kcb7p.mjs +0 -1
- package/dist/chunks/theme-1.0.12-1n4zhmvg.mjs +0 -1
- package/dist/chunks/thinkback-1.0.12-vegbsqqh.mjs +0 -1
- package/dist/chunks/thinkback-play-1.0.12-m2re0ysp.mjs +0 -1
- package/dist/chunks/toolPool-1.0.12-7k896ktz.mjs +0 -1
- package/dist/chunks/toolSearch-1.0.12-1t7z9s8n.mjs +0 -1
- package/dist/chunks/tools-1.0.12-m1q30sx2.mjs +0 -1
- package/dist/chunks/trustedDevice-1.0.12-d1ec8tgn.mjs +0 -1
- package/dist/chunks/turndown.cjs-1.0.12-gd906rm3.mjs +0 -69
- package/dist/chunks/types-1.0.12-bnkcne53.mjs +0 -1
- package/dist/chunks/ultrareviewCommand-1.0.12-d94wevag.mjs +0 -4
- package/dist/chunks/update-1.0.12-42sky6mj.mjs +0 -88
- package/dist/chunks/upgrade-1.0.12-dmpc55bj.mjs +0 -1
- package/dist/chunks/upload-1.0.12-nmk9n704.mjs +0 -7
- package/dist/chunks/upstreamproxy-1.0.12-91ksccx0.mjs +0 -14
- package/dist/chunks/url-handler-napi-1.0.12-dmb5xjpf.mjs +0 -1
- package/dist/chunks/usage-1.0.12-tjapt84n.mjs +0 -1
- package/dist/chunks/util-1.0.12-10z43mt9.mjs +0 -1
- package/dist/chunks/utils-1.0.12-w32argrx.mjs +0 -1
- package/dist/chunks/vim-1.0.12-wf8sb0mt.mjs +0 -1
- package/dist/chunks/watchLoop-1.0.12-3dxe0717.mjs +0 -13
- package/dist/chunks/watcher-1.0.12-7p840es5.mjs +0 -1
- package/dist/chunks/wiki-1.0.12-0ym9ejj5.mjs +0 -132
- package/dist/chunks/workflows-1.0.12-c270z4b2.mjs +0 -1
- package/dist/chunks/worktree-1.0.12-zeqk2tcs.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-1.0.12-kmtt3k2w.mjs +0 -1
- package/dist/chunks/wrapper-1.0.12-wzaxf903.mjs +0 -7
- /package/dist/chunks/{cli-1.0.12-w5g65qpt.mjs → cli-1.0.13-4z6c4gzk.mjs} +0 -0
- /package/dist/chunks/{cli-1.0.12-v6h16sq3.mjs → cli-1.0.13-ap2xrh2s.mjs} +0 -0
- /package/dist/chunks/{cli-1.0.12-ecf1es2x.mjs → cli-1.0.13-d9nvpqpw.mjs} +0 -0
- /package/dist/chunks/{cli-1.0.12-2sf9ww39.mjs → cli-1.0.13-n6bzzv7p.mjs} +0 -0
- /package/dist/chunks/{cli-1.0.12-h16hfwe6.mjs → cli-1.0.13-q9et56bj.mjs} +0 -0
- /package/dist/chunks/{cli-1.0.12-xya69wfx.mjs → cli-1.0.13-tzenmc0b.mjs} +0 -0
- /package/dist/chunks/{cli-1.0.12-8yzsm0t1.mjs → cli-1.0.13-v34fp7gq.mjs} +0 -0
- /package/dist/chunks/{cli-1.0.12-c9kgj61k.mjs → cli-1.0.13-wv7skbb9.mjs} +0 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{T9 as Z,X9 as _,Y9 as w}from"./cli-1.0.13-kc1q3k9n.mjs";import{Baa as D,H_ as Y,I_ as U,T_ as $,Tea as j,eaa as k,u$ as T,vea as W,yea as V}from"./cli-1.0.13-p1nsb8ay.mjs";import{_ja as N,bka as M}from"./cli-1.0.13-4dp5a597.mjs";import{Fma as X,yqa as O}from"./cli-1.0.13-vwmq6bde.mjs";O();j();M();w();D();U();T();import{realpath as v}from"fs/promises";async function b(){try{let q=await Z();if(!q){N("Not in a GitHub repository, skipping path mapping update");return}let A=X(),z=$(A)??A,B;try{B=(await v(z)).normalize("NFC")}catch{B=z}let J=q.toLowerCase(),L=V().githubRepoPaths?.[J]??[];if(L[0]===B){N(`Path ${B} already tracked for repo ${J}`);return}let E=L.filter((S)=>S!==B),H=[B,...E];W((S)=>({...S,githubRepoPaths:{...S.githubRepoPaths,[J]:H}})),N(`Added ${B} to tracked paths for repo ${J}`)}catch(q){N(`Error updating repo path mapping: ${q}`)}}function y(q){let A=V(),I=q.toLowerCase();return A.githubRepoPaths?.[I]??[]}async function P(q){let A=await Promise.all(q.map(k));return q.filter((I,z)=>A[z])}async function d(q,A){try{let I=await Y(q);if(!I)return!1;let z=_(I);if(!z)return!1;return z.toLowerCase()===A.toLowerCase()}catch{return!1}}function c(q,A){let I=V(),z=q.toLowerCase(),B=I.githubRepoPaths?.[z]??[],J=B.filter((L)=>L!==A);if(J.length===B.length)return;let Q={...I.githubRepoPaths};if(J.length===0)delete Q[z];else Q[z]=J;W((L)=>({...L,githubRepoPaths:Q})),N(`Removed ${A} from tracked paths for repo ${z}`)}
|
|
2
|
+
export{b as lb,y as mb,P as nb,d as ob,c as pb};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Mi as H,Oi as C}from"./cli-1.0.13-r6v8d7e7.mjs";import{Pi as k,Qi as y}from"./cli-1.0.13-smrxt9dh.mjs";import{j4 as X,l4 as Y,q4 as R}from"./cli-1.0.13-tyhtztew.mjs";import{s4 as G,t4 as m}from"./cli-1.0.13-2z8q1mtz.mjs";import{E8 as f,X4 as w,Y4 as E,p8 as B}from"./cli-1.0.13-h5mwwv8w.mjs";import{Tea as x,qga as Q,vea as S,yea as j,yga as D}from"./cli-1.0.13-p1nsb8ay.mjs";import{Via as V,Wia as b}from"./cli-1.0.13-y6y32j2s.mjs";import{Kra as I,sra as W}from"./cli-1.0.13-696y87my.mjs";import{hsa as Z}from"./cli-1.0.13-d9nvpqpw.mjs";async function _(L){let{accessToken:N,orgUUID:P}=await X(),K={...Y(N),"x-organization-uuid":P},J=`${V().BASE_API_URL}/api/oauth/organizations/${P}/admin_requests`;return(await W.post(J,L,{headers:K})).data}async function $(L,N){let{accessToken:P,orgUUID:K}=await X(),J={...Y(P),"x-organization-uuid":K},F=`${V().BASE_API_URL}/api/oauth/organizations/${K}/admin_requests/me?request_type=${L}`;for(let v of N)F+=`&statuses=${v}`;return(await W.get(F,{headers:J})).data}async function z(L){let{accessToken:N,orgUUID:P}=await X(),K={...Y(N),"x-organization-uuid":P},J=`${V().BASE_API_URL}/api/oauth/organizations/${P}/admin_requests/eligibility?request_type=${L}`;return(await W.get(J,{headers:K})).data}var M=Z(()=>{I();b();R()});async function i(){if(!j().hasVisitedExtraUsage)S((J)=>({...J,hasVisitedExtraUsage:!0}));H();let L=B(),N=L==="team"||L==="enterprise";if(!w()&&N){let J;try{J=(await k())?.extra_usage}catch(F){Q(F)}if(J?.is_enabled&&J.monthly_limit===null)return{type:"message",value:"Your organization already has unlimited extra usage. No request needed."};try{if((await z("limit_increase"))?.is_allowed===!1)return{type:"message",value:"Please contact your admin to manage extra usage settings."}}catch(F){Q(F)}try{let F=await $("limit_increase",["pending","dismissed"]);if(F&&F.length>0)return{type:"message",value:"You have already submitted a request for extra usage to your admin."}}catch(F){Q(F)}try{return await _({request_type:"limit_increase",details:null}),{type:"message",value:J?.is_enabled?"Request sent to your admin to increase extra usage.":"Request sent to your admin to enable extra usage."}}catch(F){Q(F)}return{type:"message",value:"Please contact your admin to manage extra usage settings."}}let K=N?"https://claude.ai/admin-settings/usage":"https://claude.ai/settings/usage";try{let J=await G(K);return{type:"browser-opened",url:K,opened:J}}catch(J){return Q(J),{type:"message",value:`Failed to open browser. Please visit ${K} to manage extra usage.`}}}var A=Z(()=>{M();C();y();f();E();m();x();D()});
|
|
2
|
+
export{i as Ji,A as Ki};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import{fsa as T,hsa as J5,isa as M}from"./cli-1.0.13-d9nvpqpw.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 Se,X5 as Te};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{hsa as P}from"./cli-1.0.13-d9nvpqpw.mjs";import{homedir as Q}from"os";import{join as F}from"path";function J(q){return{env:q?.env??process.env,home:q?.homedir??process.env.HOME??Q()}}function k(q){let{env:x,home:B}=J(q);return x.XDG_STATE_HOME??F(B,".local","state")}function w(q){let{env:x,home:B}=J(q);return x.XDG_CACHE_HOME??F(B,".cache")}function H(q){let{env:x,home:B}=J(q);return x.XDG_DATA_HOME??F(B,".local","share")}function g(q){let{home:x}=J(q);return F(x,".local","bin")}var V=()=>{};function W(q){let x=q,B="",C=0,K=10;while(x!==B&&C<K)B=x,x=x.normalize("NFKC"),x=x.replace(/[\p{Cf}\p{Co}\p{Cn}]/gu,""),x=x.replace(/[\u200B-\u200F]/g,"").replace(/[\u202A-\u202E]/g,"").replace(/[\u2066-\u2069]/g,"").replace(/[\uFEFF]/g,"").replace(/[\uE000-\uF8FF]/g,""),C++;if(C>=K)throw Error(`Unicode sanitization reached maximum iterations (${K}) for input: ${q.slice(0,100)}`);return x}function L(q){if(typeof q==="string")return W(q);if(Array.isArray(q))return q.map(L);if(q!==null&&typeof q==="object"){let x={};for(let[B,C]of Object.entries(q))x[L(B)]=L(C);return x}return q}var Y=()=>{};
|
|
2
|
+
export{k as hW,w as iW,H as jW,g as kW,V as lW,W as mW,L as nW,Y as oW};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import{E0 as X,K0 as JT,L0 as ST,l1 as IT}from"./cli-1.0.13-mv57kk3c.mjs";import{$8 as VT,_8 as K}from"./cli-1.0.13-y20sjx5k.mjs";import{Baa as XT,Eea as l,Fea as d,Gaa as FT,Jaa as qT,Kaa as OT,Tea as D,Yda as f,_da as YT,gba as Q,iba as UT,qga as H,uaa as s,vea as z,w$ as BT,w_ as Y,x$ as _T,y_ as o,yea as V,yga as n}from"./cli-1.0.13-p1nsb8ay.mjs";import{iia as E,jia as QT}from"./cli-1.0.13-kq0mvqax.mjs";import{Dja as GT,Eja as $T,Ija as zT,Mja as P,Qja as KT}from"./cli-1.0.13-4dp5a597.mjs";import{Dka as u,Fka as LT}from"./cli-1.0.13-mazxedqg.mjs";import{Xqa as r,Yqa as ZT}from"./cli-1.0.13-thxvtvt4.mjs";import{hsa as I}from"./cli-1.0.13-d9nvpqpw.mjs";function m(){let T=f(E(),P().existsSync)!==null,w=s(E());return[{key:"workspace",text:"Ask Claude to create a new app or clone a repository",isComplete:!1,isCompletable:!0,isEnabled:w},{key:"claudemd",text:"Set up repo instructions (/init creates AGENTS.md or updates existing CLAUDE.md; either file counts)",isComplete:T,isCompletable:!0,isEnabled:!w}]}function M(){return m().filter(({isCompletable:T,isEnabled:w})=>T&&w).every(({isComplete:T})=>T)}var k=I(()=>{QT();XT();KT();YT()});function a(){if(l().hasCompletedProjectOnboarding)return;if(M())d((T)=>({...T,hasCompletedProjectOnboarding:!0}))}var fT;var h=I(()=>{ZT();D();k();k();fT=r(()=>{let T=l();if(T.hasCompletedProjectOnboarding||T.projectOnboardingSeenCount>=4||process.env.IS_DEMO)return!1;return!M()})});import{stat as i}from"fs/promises";import{homedir as xT}from"os";import{join as HT}from"path";function RT(T){z((w)=>({...w,appleTerminalSetupInProgress:!0,appleTerminalBackupPath:T}))}function L(){z((T)=>({...T,appleTerminalSetupInProgress:!1}))}function WT(){let T=V();return{inProgress:T.appleTerminalSetupInProgress??!1,backupPath:T.appleTerminalBackupPath||null}}function _(){return HT(xT(),"Library","Preferences","com.apple.Terminal.plist")}async function t(){let T=_(),w=`${T}.bak`;try{let{code:v}=await Y("defaults",["export","com.apple.Terminal",T]);if(v!==0)return null;try{await i(T)}catch{return null}return await Y("defaults",["export","com.apple.Terminal",w]),RT(w),w}catch(v){return H(v),null}}async function e(){let{inProgress:T,backupPath:w}=WT();if(!T)return{status:"no_backup"};if(!w)return L(),{status:"no_backup"};try{await i(w)}catch{return L(),{status:"no_backup"}}try{let{code:v}=await Y("defaults",["import","com.apple.Terminal",w]);if(v!==0)return{status:"failed",backupPath:w};return await Y("killall",["cfprefsd"]),L(),{status:"restored"}}catch(v){return H(Error(`Failed to restore Terminal.app settings with: ${v}`)),L(),{status:"failed",backupPath:w}}}var TT=I(()=>{D();o();n()});import{randomBytes as y}from"crypto";import{copyFile as N,mkdir as c,readFile as p,writeFile as C}from"fs/promises";import{homedir as g,platform as A}from"os";import{dirname as MT,join as R}from"path";import{pathToFileURL as AT}from"url";function jT(){let T=process.env.VSCODE_GIT_ASKPASS_MAIN??"",w=process.env.PATH??"";return T.includes(".vscode-server")||T.includes(".cursor-server")||T.includes(".windsurf-server")||w.includes(".vscode-server")||w.includes(".cursor-server")||w.includes(".windsurf-server")}function Ww(){if(!Q.terminal||!(Q.terminal in j))return null;return j[Q.terminal]??null}function Z(T){if(!JT())return T;return`\x1B]8;;${AT(T).href}\x07${T}\x1B]8;;\x07`}function uT(){return A()==="darwin"&&Q.terminal==="Apple_Terminal"||Q.terminal==="vscode"||Q.terminal==="cursor"||Q.terminal==="windsurf"||Q.terminal==="alacritty"||Q.terminal==="zed"}async function ET(T){let w="";switch(Q.terminal){case"Apple_Terminal":w=await kT(T);break;case"vscode":w=await b("VSCode",T);break;case"cursor":w=await b("Cursor",T);break;case"windsurf":w=await b("Windsurf",T);break;case"alacritty":w=await lT(T);break;case"zed":w=await DT(T);break;case null:break}return z((v)=>{if(["vscode","cursor","windsurf","alacritty","zed"].includes(Q.terminal??"")){if(v.shiftEnterKeyBindingInstalled===!0)return v;return{...v,shiftEnterKeyBindingInstalled:!0}}else if(Q.terminal==="Apple_Terminal"){if(v.optionAsMetaKeyInstalled===!0)return v;return{...v,optionAsMetaKeyInstalled:!0}}return v}),a(),w}function Lw(){return V().shiftEnterKeyBindingInstalled===!0}function zw(){return V().hasUsedBackslashReturn===!0}function Vw(){if(!V().hasUsedBackslashReturn)z((w)=>({...w,hasUsedBackslashReturn:!0}))}async function _w(T,w,v){if(Q.terminal&&Q.terminal in j){let $=`Shift+Enter is natively supported in ${j[Q.terminal]}.
|
|
2
|
+
|
|
3
|
+
No configuration needed. Just use Shift+Enter to add newlines.`;return T($),null}if(!uT()){let $=Q.terminal||"your current terminal",B=BT(),J="";if(B==="macos")J=` • macOS: Apple Terminal
|
|
4
|
+
`;else if(B==="windows")J=` • Windows: Windows Terminal
|
|
5
|
+
`;let F=`Terminal setup cannot be run from ${$}.
|
|
6
|
+
|
|
7
|
+
This command configures a convenient Shift+Enter shortcut for multi-line prompts.
|
|
8
|
+
${K.dim("Note: You can already use backslash (\\\\) + return to add newlines.")}
|
|
9
|
+
|
|
10
|
+
To set up the shortcut (optional):
|
|
11
|
+
1. Exit tmux/screen temporarily
|
|
12
|
+
2. Run /terminal-setup directly in one of these terminals:
|
|
13
|
+
${J} • IDE: VSCode, Cursor, Windsurf, Zed
|
|
14
|
+
• Other: Alacritty
|
|
15
|
+
3. Return to tmux/screen - settings will persist
|
|
16
|
+
|
|
17
|
+
${K.dim("Note: iTerm2, WezTerm, Ghostty, Kitty, and Warp support Shift+Enter natively.")}`;return T(F),null}let q=await ET(w.options.theme);return T(q),null}async function b(T="VSCode",w){if(jT())return`${X("warning",w)(`Cannot install keybindings from a remote ${T} session.`)}${G}${G}${T} keybindings must be installed on your local machine, not the remote server.${G}${G}To install the Shift+Enter keybinding:${G}1. Open ${T} on your local machine (not connected to remote)${G}2. Open the Command Palette (Cmd/Ctrl+Shift+P) → "Preferences: Open Keyboard Shortcuts (JSON)"${G}3. Add this keybinding (the file must be a JSON array):${G}${G}${K.dim(`[
|
|
18
|
+
{
|
|
19
|
+
"key": "shift+enter",
|
|
20
|
+
"command": "workbench.action.terminal.sendSequence",
|
|
21
|
+
"args": { "text": "\\u001b\\r" },
|
|
22
|
+
"when": "terminalFocus"
|
|
23
|
+
}
|
|
24
|
+
]`)}${G}`;let v=T==="VSCode"?"Code":T,q=R(g(),A()==="win32"?R("AppData","Roaming",v,"User"):A()==="darwin"?R("Library","Application Support",v,"User"):R(".config",v,"User")),$=R(q,"keybindings.json");try{await c(q,{recursive:!0});let B="[]",J=[],F=!1;try{B=await p($,{encoding:"utf-8"}),F=!0,J=FT(B)??[]}catch(x){if(!u(x))throw x}if(F){let x=y(4).toString("hex"),S=`${$}.${x}.bak`;try{await N($,S)}catch{return`${X("warning",w)(`Error backing up existing ${T} terminal keybindings. Bailing out.`)}${G}${K.dim(`See ${Z($)}`)}${G}${K.dim(`Backup path: ${Z(S)}`)}${G}`}}if(J.find((x)=>x.key==="shift+enter"&&x.command==="workbench.action.terminal.sendSequence"&&x.when==="terminalFocus"))return`${X("warning",w)(`Found existing ${T} terminal Shift+Enter key binding. Remove it to continue.`)}${G}${K.dim(`See ${Z($)}`)}${G}`;let U=qT(B,{key:"shift+enter",command:"workbench.action.terminal.sendSequence",args:{text:"\x1B\r"},when:"terminalFocus"});return await C($,U,{encoding:"utf-8"}),`${X("success",w)(`Installed ${T} terminal Shift+Enter key binding`)}${G}${K.dim(`See ${Z($)}`)}${G}`}catch(B){throw H(B),Error(`Failed to install ${T} terminal Shift+Enter key binding`)}}async function wT(T){let{code:w}=await Y("/usr/libexec/PlistBuddy",["-c",`Add :'Window Settings':'${T}':useOptionAsMetaKey bool true`,_()]);if(w!==0){let{code:v}=await Y("/usr/libexec/PlistBuddy",["-c",`Set :'Window Settings':'${T}':useOptionAsMetaKey true`,_()]);if(v!==0)return H(Error(`Failed to enable Option as Meta key for Terminal.app profile: ${T}`)),!1}return!0}async function vT(T){let{code:w}=await Y("/usr/libexec/PlistBuddy",["-c",`Add :'Window Settings':'${T}':Bell bool false`,_()]);if(w!==0){let{code:v}=await Y("/usr/libexec/PlistBuddy",["-c",`Set :'Window Settings':'${T}':Bell false`,_()]);if(v!==0)return H(Error(`Failed to disable audio bell for Terminal.app profile: ${T}`)),!1}return!0}async function kT(T){try{if(!await t())throw Error("Failed to create backup of Terminal.app preferences, bailing out");let{stdout:v,code:q}=await Y("defaults",["read","com.apple.Terminal","Default Window Settings"]);if(q!==0||!v.trim())throw Error("Failed to read default Terminal.app profile");let{stdout:$,code:B}=await Y("defaults",["read","com.apple.Terminal","Startup Window Settings"]);if(B!==0||!$.trim())throw Error("Failed to read startup Terminal.app profile");let J=!1,F=v.trim(),W=await wT(F),O=await vT(F);if(W||O)J=!0;let U=$.trim();if(U!==F){let x=await wT(U),S=await vT(U);if(x||S)J=!0}if(!J)throw Error("Failed to enable Option as Meta key or disable audio bell for any Terminal.app profile");return await Y("killall",["cfprefsd"]),L(),`${X("success",T)("Configured Terminal.app settings:")}${G}${X("success",T)('- Enabled "Use Option as Meta key"')}${G}${X("success",T)("- Switched to visual bell")}${G}${K.dim("Option+Enter will now enter a newline.")}${G}${K.dim("You must restart Terminal.app for changes to take effect.",T)}${G}`}catch(w){H(w);let v=await e(),q="Failed to enable Option as Meta key for Terminal.app.";if(v.status==="restored")throw Error(`${q} Your settings have been restored from backup.`);else if(v.status==="failed")throw Error(`${q} Restoring from backup failed, try manually with: defaults import com.apple.Terminal ${v.backupPath}`);else throw Error(`${q} No backup was available to restore from.`)}}async function lT(T){let v=[],q=process.env.XDG_CONFIG_HOME;if(q)v.push(R(q,"alacritty","alacritty.toml"));else v.push(R(g(),".config","alacritty","alacritty.toml"));if(A()==="win32"){let F=process.env.APPDATA;if(F)v.push(R(F,"alacritty","alacritty.toml"))}let $=null,B="",J=!1;for(let F of v)try{B=await p(F,{encoding:"utf-8"}),$=F,J=!0;break}catch(W){if(!u(W))throw W}if(!$)$=v[0]??null;if(!$)throw Error("No valid config path found for Alacritty");try{if(J){if(B.includes('mods = "Shift"')&&B.includes('key = "Return"'))return`${X("warning",T)("Found existing Alacritty Shift+Enter key binding. Remove it to continue.")}${G}${K.dim(`See ${Z($)}`)}${G}`;let W=y(4).toString("hex"),O=`${$}.${W}.bak`;try{await N($,O)}catch{return`${X("warning",T)("Error backing up existing Alacritty config. Bailing out.")}${G}${K.dim(`See ${Z($)}`)}${G}${K.dim(`Backup path: ${Z(O)}`)}${G}`}}else await c(MT($),{recursive:!0});let F=B;if(B&&!B.endsWith(`
|
|
25
|
+
`))F+=`
|
|
26
|
+
`;return F+=`
|
|
27
|
+
[[keyboard.bindings]]
|
|
28
|
+
key = "Return"
|
|
29
|
+
mods = "Shift"
|
|
30
|
+
chars = "\\u001B\\r"
|
|
31
|
+
`,await C($,F,{encoding:"utf-8"}),`${X("success",T)("Installed Alacritty Shift+Enter key binding")}${G}${X("success",T)("You may need to restart Alacritty for changes to take effect")}${G}${K.dim(`See ${Z($)}`)}${G}`}catch(F){throw H(F),Error("Failed to install Alacritty Shift+Enter key binding")}}async function DT(T){let w=R(g(),".config","zed"),v=R(w,"keymap.json");try{await c(w,{recursive:!0});let q="[]",$=!1;try{q=await p(v,{encoding:"utf-8"}),$=!0}catch(J){if(!u(J))throw J}if($){if(q.includes("shift-enter"))return`${X("warning",T)("Found existing Zed Shift+Enter key binding. Remove it to continue.")}${G}${K.dim(`See ${Z(v)}`)}${G}`;let J=y(4).toString("hex"),F=`${v}.${J}.bak`;try{await N(v,F)}catch{return`${X("warning",T)("Error backing up existing Zed keymap. Bailing out.")}${G}${K.dim(`See ${Z(v)}`)}${G}${K.dim(`Backup path: ${Z(F)}`)}${G}`}}let B;try{if(B=$T(q),!Array.isArray(B))B=[]}catch{B=[]}return B.push({context:"Terminal",bindings:{"shift-enter":["terminal::SendText","\x1B\r"]}}),await C(v,GT(B,null,2)+`
|
|
32
|
+
`,{encoding:"utf-8"}),`${X("success",T)("Installed Zed Shift+Enter key binding")}${G}${K.dim(`See ${Z(v)}`)}${G}`}catch(q){throw H(q),Error("Failed to install Zed Shift+Enter key binding")}}var G=`
|
|
33
|
+
`,j;var bT=I(()=>{VT();ST();IT();h();TT();D();UT();LT();o();OT();n();_T();zT();j={ghostty:"Ghostty",kitty:"Kitty","iTerm.app":"iTerm2",WezTerm:"WezTerm",WarpTerminal:"Warp"}});
|
|
34
|
+
export{a as GY,h as HY,e as IY,TT as JY,Ww as KY,uT as LY,ET as MY,Lw as NY,zw as OY,Vw as PY,_w as QY,bT as RY};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{KW as W,PW as p}from"./cli-1.0.13-yr590qbp.mjs";import{g2 as H,i2 as P}from"./cli-1.0.13-ecv0stcf.mjs";import{Kha as Z,xha as M}from"./cli-1.0.13-k4znag0a.mjs";import{bia as q,dia as $,eia as Q,fia as k}from"./cli-1.0.13-fb695nhr.mjs";import{hsa as Y}from"./cli-1.0.13-d9nvpqpw.mjs";async function X(){let x=await M("tengu_bridge_repl_v2_config",K),J=w().safeParse(x);return J.success?J.data:K}async function V(){let x=await X();if(x.min_version&&H("99.0.0",x.min_version))return`Your version of Claudin (99.0.0) is too old for Remote Control.
|
|
2
|
+
Version ${x.min_version} or higher is required. Run \`claudin update\` to update.`;return null}async function b(){if(!W())return!1;return(await X()).should_show_app_upgrade_message}var K,w;var O=Y(()=>{$();Z();k();P();p();K={init_retry_max_attempts:3,init_retry_base_delay_ms:500,init_retry_jitter_fraction:0.25,init_retry_max_delay_ms:4000,http_timeout_ms:1e4,uuid_dedup_buffer_size:2000,heartbeat_interval_ms:20000,heartbeat_jitter_fraction:0.1,token_refresh_buffer_ms:300000,teardown_archive_timeout_ms:1500,connect_timeout_ms:15000,min_version:"0.0.0",should_show_app_upgrade_message:!1},w=Q(()=>q.object({init_retry_max_attempts:q.number().int().min(1).max(10).default(3),init_retry_base_delay_ms:q.number().int().min(100).default(500),init_retry_jitter_fraction:q.number().min(0).max(1).default(0.25),init_retry_max_delay_ms:q.number().int().min(500).default(4000),http_timeout_ms:q.number().int().min(2000).default(1e4),uuid_dedup_buffer_size:q.number().int().min(100).max(50000).default(2000),heartbeat_interval_ms:q.number().int().min(5000).max(30000).default(20000),heartbeat_jitter_fraction:q.number().min(0).max(0.5).default(0.1),token_refresh_buffer_ms:q.number().int().min(30000).max(1800000).default(300000),teardown_archive_timeout_ms:q.number().int().min(500).max(2000).default(1500),connect_timeout_ms:q.number().int().min(5000).max(60000).default(15000),min_version:q.string().refine((x)=>{try{return H(x,"0.0.0"),!0}catch{return!1}}).default("0.0.0"),should_show_app_upgrade_message:q.boolean().default(!1)}))});
|
|
3
|
+
export{K as mc,X as nc,V as oc,b as pc,O as qc};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Yf as EG,Zf as iG,dg as rG}from"./cli-1.0.13-v5gjxk3n.mjs";import{$x as HG,AM as WG,BM as qG,Fs as uG,GM as a,IN as bG,KM as DG,LN as sG,MM as y,NM as o,OM as lG,PN as f,QM as kG,QN as s,RN as c,SN as v,TN as i,VM as _G,WN as u,Zx as l,_N as cG,_x as jG,ay as dG,cN as aG,fn as FG,gn as OG,gs as vG,kN as $G,kn as VG,lN as oG,oF as KG,pF as mG,un as fG,vM as LG,wM as BG,yM as pG}from"./cli-1.0.13-kr3d94dn.mjs";import{kZ as QJ}from"./cli-1.0.13-mv57kk3c.mjs";import{U3 as wG,W3 as PG}from"./cli-1.0.13-afdk25h0.mjs";import{X3 as YG}from"./cli-1.0.13-gsz0cygn.mjs";import{tca as zG,uga as R,vga as _,yca as CG,yga as gG}from"./cli-1.0.13-p1nsb8ay.mjs";import{Kha as NG}from"./cli-1.0.13-k4znag0a.mjs";import{Xia as A,_ia as MG}from"./cli-1.0.13-vbby2x4m.mjs";import{Ija as yG,_ja as ZG,bka as SG}from"./cli-1.0.13-4dp5a597.mjs";import{Fka as TG,yka as h}from"./cli-1.0.13-mazxedqg.mjs";import{yqa as XG,zma as QG}from"./cli-1.0.13-vwmq6bde.mjs";import{dsa as r,hsa as p}from"./cli-1.0.13-d9nvpqpw.mjs";var e=p(()=>{yG();NG()});function GG(Z){let z="plugin"in Z?Z.plugin:"no-plugin";return`${Z.type}:${Z.source}:${z}`}function JG(Z,z){if(z.length===0)return;Z((k)=>{let U=new Set(k.plugins.errors.map((j)=>GG(j))),$=z.filter((j)=>!U.has(GG(j)));if($.length===0)return k;return{...k,plugins:{...k.plugins,errors:[...k.plugins.errors,...$]}}})}function GJ(Z,z,k,U){let $=z==="disabled"?U??[]:U;if($===void 0)return Z;let j=new Map;for(let W of $)if(W.name!==void 0)j.set(W.name,W);let V=[],P=new Set;for(let W of Z){if(!W.name?.startsWith(k)){V.push(W);continue}let w=j.get(W.name);if(w)V.push(w),P.add(W.name)}for(let W of $)if(W.name===void 0||!P.has(W.name))V.push(W);return V}function IG(Z,z=!1){let k=HG(),U=l((G)=>G.authVersion),$=l((G)=>G.mcp.pluginReconnectKey),j=jG(),V=D.useRef(new Map),P=D.useRef(new Set),W=D.useRef(null);D.useEffect(()=>{},[j]);let{addNotification:w}=KG(),RG=16,d=D.useRef([]),N=D.useRef(null),C=D.useCallback(()=>{N.current=null;let G=d.current;if(G.length===0)return;d.current=[],j((Y)=>{let F=Y.mcp;for(let B of G){let{tools:X,commands:H,resources:q,...J}=B,K=J.type==="disabled"||J.type==="failed"?H??[]:H,Q=J.type==="disabled"||J.type==="failed"?q??[]:q,O=zG(J.name),I=F.clients.findIndex((M)=>M.name===J.name)===-1?[...F.clients,J]:F.clients.map((M)=>M.name===J.name?J:M),g=GJ(F.tools,J.type,O,X),x=K===void 0?F.commands:[...$G(F.commands,(M)=>kG(M,J.name)),...K],m=Q===void 0?F.resources:{...F.resources,...Q.length>0?{[J.name]:Q}:EG(F.resources,J.name)};F={...F,clients:I,tools:g,commands:x,resources:m}}return{...Y,mcp:F}})},[j]),b=D.useCallback((G)=>{if(d.current.push(G),N.current===null)N.current=setTimeout(C,RG)},[C]),E=D.useCallback(({client:G,tools:Y,commands:F,resources:B})=>{switch(b({...G,tools:Y,commands:F,resources:B}),G.type){case"connected":{if(bG(G.client,G.name,j),G.client.onclose=()=>{let X=G.config.type??"stdio";if(u(G.name,G.config).catch(()=>{ZG(`Failed to invalidate the server cache: ${G.name}`)}),y(G.name)){_(G.name,"Server is disabled, skipping automatic reconnection");return}if(X!=="stdio"&&X!=="sdk"){let H=JJ(X);_(G.name,`${H} transport closed/disconnected, attempting automatic reconnection`);let q=V.current.get(G.name);if(q)clearTimeout(q),V.current.delete(G.name);(async()=>{for(let K=1;K<=T;K++){if(y(G.name)){_(G.name,"Server disabled during reconnection, stopping retry"),V.current.delete(G.name);return}b({...G,type:"pending",reconnectAttempt:K,maxReconnectAttempts:T});let Q=Date.now();try{let L=await v(G.name,G.config),I=Date.now()-Q;if(L.client.type==="connected"){_(G.name,`${H} reconnection successful after ${I}ms (attempt ${K})`),V.current.delete(G.name),E(L);return}if(_(G.name,`${H} reconnection attempt ${K} completed with status: ${L.client.type}`),K===T){_(G.name,`Max reconnection attempts (${T}) reached, giving up`),V.current.delete(G.name),E(L);return}}catch(L){let I=Date.now()-Q;if(R(G.name,`${H} reconnection attempt ${K} failed after ${I}ms: ${L}`),K===T){_(G.name,`Max reconnection attempts (${T}) reached, giving up`),V.current.delete(G.name),b({...G,type:"failed"});return}}let O=Math.min(tG*Math.pow(2,K-1),eG);_(G.name,`Scheduling reconnection attempt ${K+1} in ${O}ms`),await new Promise((L)=>{let I=setTimeout(L,O);V.current.set(G.name,I)})}})()}else b({...G,type:"failed"})},!1)switch(X.action){case"register":case"skip":}if(G.capabilities?.tools?.listChanged)G.client.setNotificationHandler(VG,async()=>{_(G.name,"Received tools/list_changed notification, refreshing tools");try{let X=f.cache.get(G.name);f.cache.delete(G.name);let H=await f(G),q=H.length;if(X)X.then((J)=>{A("tengu_mcp_list_changed",{type:"tools",previousCount:J.length,newCount:q})},()=>{A("tengu_mcp_list_changed",{type:"tools",newCount:q})});else A("tengu_mcp_list_changed",{type:"tools",newCount:q});b({...G,tools:H})}catch(X){R(G.name,`Failed to refresh tools after list_changed notification: ${h(X)}`)}});if(G.capabilities?.prompts?.listChanged)G.client.setNotificationHandler(OG,async()=>{_(G.name,"Received prompts/list_changed notification, refreshing prompts"),A("tengu_mcp_list_changed",{type:"prompts"});try{c.cache.delete(G.name);let[X,H]=await Promise.all([c(G),Promise.resolve([])]);b({...G,commands:[...X,...H]}),nG?.()}catch(X){R(G.name,`Failed to refresh prompts after list_changed notification: ${h(X)}`)}});if(G.capabilities?.resources?.listChanged)G.client.setNotificationHandler(FG,async()=>{_(G.name,"Received resources/list_changed notification, refreshing resources"),A("tengu_mcp_list_changed",{type:"resources"});try{s.cache.delete(G.name);{let X=await s(G);b({...G,resources:X})}}catch(X){R(G.name,`Failed to refresh resources after list_changed notification: ${h(X)}`)}});break}case"needs-auth":case"failed":case"pending":case"disabled":break}},[b]),t=QG();D.useEffect(()=>{async function G(){let{servers:Y,errors:F}=z?{servers:{},errors:[]}:await a(Z),B={...Y,...Z};JG(j,F),j((X)=>{let{stale:H,...q}=_G(X.mcp,B);for(let Q of H){let O=V.current.get(Q.name);if(O)clearTimeout(O),V.current.delete(Q.name);if(Q.type==="connected")Q.client.onclose=void 0,u(Q.name,Q.config).catch(()=>{})}let J=new Set(q.clients.map((Q)=>Q.name)),K=Object.entries(B).filter(([Q])=>!J.has(Q)).map(([Q,O])=>({name:Q,type:y(Q)?"disabled":"pending",config:O}));if(K.length===0&&H.length===0)return X;return{...X,mcp:{...X.mcp,...q,clients:[...q.clients,...K]}}})}G().catch((Y)=>{R("useManageMCPConnections",`Failed to initialize servers as pending: ${h(Y)}`)})},[z,Z,j,t,$]),D.useEffect(()=>{let G=!1;async function Y(){let F;if(z||DG())F=Promise.resolve({});else BG(),F=LG();let{servers:B,errors:X}=z?{servers:{},errors:[]}:await a(Z,F);if(G)return;JG(j,X);let H={...B,...Z},q=Object.fromEntries(Object.entries(H).filter(([O])=>!y(O)));i(E,q).catch((O)=>{R("useManageMcpConnections",`Failed to get MCP resources: ${h(O)}`)});let J={};if(!z){if(J=qG(await F).allowed,G)return;if(Object.keys(J).length>0){let{servers:O}=WG(J,H);J=O}if(Object.keys(J).length>0){j((L)=>{let I=new Set(L.mcp.clients.map((x)=>x.name)),g=Object.entries(J).filter(([x])=>!I.has(x)).map(([x,m])=>({name:x,type:y(x)?"disabled":"pending",config:m}));if(g.length===0)return L;return{...L,mcp:{...L.mcp,clients:[...L.mcp.clients,...g]}}});let O=Object.fromEntries(Object.entries(J).filter(([L])=>!y(L)));i(E,O).catch((L)=>{R("useManageMcpConnections",`Failed to get claude.ai MCP resources: ${h(L)}`)})}}let K={...H,...J},Q={enterprise:0,global:0,project:0,user:0,plugin:0,claudeai:0};for(let O of Object.values(K))if(O.scope==="enterprise")Q.enterprise++;else if(O.scope==="user")Q.global++;else if(O.scope==="project")Q.project++;else if(O.scope==="local")Q.user++;else if(O.scope==="dynamic")Q.plugin++;else if(O.scope==="claudeai")Q.claudeai++;A("tengu_mcp_servers",{...Q})}return Y(),()=>{G=!0}},[z,Z,E,j,U,t,$]),D.useEffect(()=>{let G=V.current;return()=>{for(let Y of G.values())clearTimeout(Y);if(G.clear(),N.current!==null)clearTimeout(N.current),N.current=null,C()}},[C]);let AG=D.useCallback(async(G)=>{let Y=k.getState().mcp.clients.find((X)=>X.name===G);if(!Y)throw Error(`MCP server ${G} not found`);let F=V.current.get(G);if(F)clearTimeout(F),V.current.delete(G);let B=await v(G,Y.config);return E(B),B},[k,E]),hG=D.useCallback(async(G)=>{let Y=k.getState().mcp.clients.find((B)=>B.name===G);if(!Y)throw Error(`MCP server ${G} not found`);if(Y.type!=="disabled"){let B=V.current.get(G);if(B)clearTimeout(B),V.current.delete(G);if(o(G,!1),Y.type==="connected")await u(G,Y.config);b({name:G,type:"disabled",config:Y.config})}else{o(G,!0),b({name:G,type:"pending",config:Y.config});let B=await v(G,Y.config);E(B)}},[k,b,E]);return{reconnectMcpServer:AG,toggleMcpServer:hG}}function JJ(Z){switch(Z){case"http":return"HTTP";case"ws":case"ws-ide":return"WebSocket";default:return"SSE"}}var D,nG=null,T=5,tG=1000,eG=30000;var UG=p(()=>{XG();cG();fG();iG();oG();MG();lG();SG();XG();mG();dG();TG();gG();uG();rG();e();pG();sG();CG();aG();vG();D=r(YG(),1)});function aJ(){let Z=S.useContext(n);if(!Z)throw Error("useMcpReconnect must be used within MCPConnectionManager");return Z.reconnectMcpServer}function oJ(){let Z=S.useContext(n);if(!Z)throw Error("useMcpToggleEnabled must be used within MCPConnectionManager");return Z.toggleMcpServer}function sJ(Z){let z=xG.c(6),{children:k,dynamicMcpConfig:U,isStrictMcpConfig:$}=Z,{reconnectMcpServer:j,toggleMcpServer:V}=IG(U,$),P;if(z[0]!==j||z[1]!==V)P={reconnectMcpServer:j,toggleMcpServer:V},z[0]=j,z[1]=V,z[2]=P;else P=z[2];let W=P,w;if(z[3]!==k||z[4]!==W)w=wG(n.Provider,{value:W,children:k}),z[3]=k,z[4]=W,z[5]=w;else w=z[5];return w}var xG,S,n;var XJ=p(()=>{UG();PG();xG=r(QJ(),1),S=r(YG(),1),n=S.createContext(null)});
|
|
2
|
+
export{e as Tf,aJ as Uf,oJ as Vf,sJ as Wf,XJ as Xf};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{hsa as r}from"./cli-1.0.13-d9nvpqpw.mjs";var i,a=(s,e)=>function(){try{return e||(0,s[i(s)[0]])((e={exports:{}}).exports,e),e.exports}catch(t){throw e=0,t}},c;var p=r(()=>{i=Object.getOwnPropertyNames,c=a({"package.json"(s,e){e.exports={name:"@mendable/firecrawl-js",version:"4.30.1",description:"JavaScript SDK for Firecrawl API",main:"dist/index.js",types:"dist/index.d.ts",exports:{"./package.json":"./package.json",".":{import:"./dist/index.js",default:"./dist/index.cjs"}},type:"module",scripts:{build:"tsup","build-and-publish":"pnpm run build && pnpm publish --access public","publish-beta":"pnpm run build && pnpm publish --access public --tag beta",test:"NODE_OPTIONS=--experimental-vm-modules jest --verbose src/__tests__/e2e/v2/*.test.ts --detectOpenHandles","test:unit":"NODE_OPTIONS=--experimental-vm-modules jest --verbose src/__tests__/unit/v2/*.test.ts"},repository:{type:"git",url:"git+https://github.com/firecrawl/firecrawl.git"},author:"Mendable.ai",license:"MIT",dependencies:{axios:"1.18.0",firecrawl:"4.16.0","typescript-event-target":"^1.1.1",zod:"^3.23.8","zod-to-json-schema":"^3.23.0"},bugs:{url:"https://github.com/firecrawl/firecrawl/issues"},homepage:"https://github.com/firecrawl/firecrawl#readme",devDependencies:{"@jest/globals":"^30.2.0","@types/dotenv":"^8.2.0","@types/jest":"^30.0.0","@types/mocha":"^10.0.6","@types/node":"^20.12.12","@types/uuid":"^9.0.8",dotenv:"^16.4.5",jest:"^30.2.0","ts-jest":"^29.4.5",tsup:"^8.5.0",typescript:"^5.4.5",uuid:"^14.0.0"},keywords:["firecrawl","mendable","crawler","web","scraper","api","sdk"],engines:{node:">=22.0.0"},pnpm:{overrides:{"@isaacs/brace-expansion@<=5.0.0":">=5.0.1","minimatch@<10.2.3":">=10.2.3","rollup@<4.59.0":">=4.59.0","picomatch@<4.0.4":">=4.0.4",handlebars:">=4.7.9","brace-expansion":">=5.0.6","js-yaml@>=3.0.0 <3.15.0":"3.15.0","axios@>=1.0.0 <1.16.0":"1.16.1","follow-redirects@<1.16.0":">=1.16.0 <2.0.0","form-data@>=4.0.0 <4.0.6":"4.0.6","@babel/core@>=7.0.0 <7.29.6":"7.29.7","esbuild@>=0.17.0 <0.28.1":"0.28.1"}}}}})});
|
|
2
|
+
export{c as ni,p as oi};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Hc as l,Ic as m,Lc as u,Mc as y}from"./cli-1.0.13-z8vs7cc1.mjs";import{gG as p,iG as b}from"./cli-1.0.13-kr3d94dn.mjs";import{G0 as s,I0 as e,l1 as C}from"./cli-1.0.13-mv57kk3c.mjs";import{U3 as i,V3 as r,W3 as g}from"./cli-1.0.13-afdk25h0.mjs";import{X3 as M}from"./cli-1.0.13-gsz0cygn.mjs";import{dsa as h,hsa as f}from"./cli-1.0.13-d9nvpqpw.mjs";function T({enabled:c,onDismiss:a}){let[n,t]=k.useState(()=>c?{kind:"prompt"}:{kind:"hidden"});if(!c||n.kind==="hidden")return null;if(n.kind==="running")return r(s,{flexDirection:"column",marginBottom:1,children:[i(e,{color:"warning",bold:!0,children:"Migrating ~/.claude/ to ~/.claudin/..."}),i(e,{dimColor:!0,children:"Copying tokens, settings, theme, MCP servers, skills, agents, slash commands, plugins, and keybindings."})]});if(n.kind==="success"||n.kind==="error"){let d=n.kind==="success"?"success":"warning",o=n.kind==="success"?"Migration complete":"Migration finished with warnings";return r(s,{flexDirection:"column",marginBottom:1,children:[i(e,{color:d,bold:!0,children:o}),i(e,{children:m(n.report)})]})}return r(s,{flexDirection:"column",marginBottom:1,children:[i(e,{color:"warning",bold:!0,children:"Found Claude Code config at ~/.claude/"}),i(e,{children:"Import API tokens, settings, theme, MCP servers, skills, agents, slash commands, plugins, and keybindings into ~/.claudin/?"}),i(p,{options:[{value:"migrate",label:"Migrate now",description:"Copy tokens, settings, CLAUDE.md, skills, agents, commands, plugins, keybindings."},{value:"skip",label:"Skip — start fresh",description:"Don't ask again this profile."}],onChange:(d)=>{if(d==="skip"){u(),t({kind:"hidden"}),a?.("skipped");return}t({kind:"running"}),(async()=>{let o=await l();t({kind:o.errors.length===0?"success":"error",report:o}),a?.("migrated")})()},onCancel:()=>{t({kind:"hidden"}),a?.("skipped")},visibleOptionCount:2})]})}var k;var w=f(()=>{C();y();b();g();k=h(M(),1)});
|
|
2
|
+
export{T as Fc,w as Gc};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{$ra as n}from"./cli-1.0.13-tfd5mr15.mjs";import{fsa as r}from"./cli-1.0.13-d9nvpqpw.mjs";var i=r((e)=>{Object.defineProperty(e,"__esModule",{value:!0});e.readFile=e.externalDataInterceptor=e.parseKnownFiles=e.loadSsoSessionData=e.loadSharedConfigFiles=e.CONFIG_PREFIX_SEPARATOR=e.getSSOTokenFromFile=e.getSSOTokenFilepath=e.getProfileName=e.DEFAULT_PROFILE=e.ENV_PROFILE=e.getHomeDir=void 0;var t=n();Object.defineProperty(e,"getHomeDir",{enumerable:!0,get:function(){return t.getHomeDir}});Object.defineProperty(e,"ENV_PROFILE",{enumerable:!0,get:function(){return t.ENV_PROFILE}});Object.defineProperty(e,"DEFAULT_PROFILE",{enumerable:!0,get:function(){return t.DEFAULT_PROFILE}});Object.defineProperty(e,"getProfileName",{enumerable:!0,get:function(){return t.getProfileName}});Object.defineProperty(e,"getSSOTokenFilepath",{enumerable:!0,get:function(){return t.getSSOTokenFilepath}});Object.defineProperty(e,"getSSOTokenFromFile",{enumerable:!0,get:function(){return t.getSSOTokenFromFile}});Object.defineProperty(e,"CONFIG_PREFIX_SEPARATOR",{enumerable:!0,get:function(){return t.CONFIG_PREFIX_SEPARATOR}});Object.defineProperty(e,"loadSharedConfigFiles",{enumerable:!0,get:function(){return t.loadSharedConfigFiles}});Object.defineProperty(e,"loadSsoSessionData",{enumerable:!0,get:function(){return t.loadSsoSessionData}});Object.defineProperty(e,"parseKnownFiles",{enumerable:!0,get:function(){return t.parseKnownFiles}});Object.defineProperty(e,"externalDataInterceptor",{enumerable:!0,get:function(){return t.externalDataInterceptor}});Object.defineProperty(e,"readFile",{enumerable:!0,get:function(){return t.readFile}})});
|
|
2
|
+
export{i as R9};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{Sg as g,Tg as Py}from"./cli-1.0.13-6xc8qzyr.mjs";import{Li as s,Ni as d,Oi as $y}from"./cli-1.0.13-r6v8d7e7.mjs";import{AL as Ry,CP as l,IL as n,Iv as E,Lv as Xy,Nq as u,SL as vy,YS as c,Yq as A,ZL as x,bM as Ny,eo as V,er as Qy,go as Y,io as D,it as R,lo as M,mo as C,nl as L,no as T,ny as q,oy as Zy,po as f,qt as Wy,rl as Iy,sT as py,vo as Ky,zL as K}from"./cli-1.0.13-kr3d94dn.mjs";import{xX as i,yX as Oy}from"./cli-1.0.13-rxd329nn.mjs";import{AY as a,BY as t,FY as Uy,zY as _}from"./cli-1.0.13-3f0zqjp8.mjs";import{LY as o,RY as hy}from"./cli-1.0.13-cwce8b7b.mjs";import{E0 as k,F0 as Jy}from"./cli-1.0.13-mv57kk3c.mjs";import{E8 as zy,V6 as qy,l8 as X,v6 as B,w6 as F}from"./cli-1.0.13-h5mwwv8w.mjs";import{$8 as ry,_8 as H}from"./cli-1.0.13-y20sjx5k.mjs";import{Hda as ky,Tea as N,Z_ as h,gba as j,iba as jy,n$ as b,sda as m,u$ as wy,vea as v,w$ as W,x$ as Sy,xda as Z,yda as O,yea as w}from"./cli-1.0.13-p1nsb8ay.mjs";import{Kha as Gy,yha as z}from"./cli-1.0.13-k4znag0a.mjs";import{_ja as p,bka as yy}from"./cli-1.0.13-4dp5a597.mjs";N();function Vy(y){let r=w().numStartups;v((G)=>{let S=G.tipsHistory??{};if(S[y]===r)return G;return{...G,tipsHistory:{...S,[y]:r}}})}function P(y){let r=w(),G=r.tipsHistory?.[y];if(!G)return 1/0;return r.numStartups-G}ry();yy();Wy();ky();hy();Jy();Py();Zy();Iy();zy();Oy();N();Qy();jy();Xy();wy();Ky();qy();Sy();Ny();vy();Ry();py();Gy();$y();Uy();var Q;async function Hy(){if(Q!==void 0)return Q;let y=await n();return Q=K in y,Q}async function U(y,r,G){if(!await Hy())return!1;if(x(`${y}@${K}`))return!1;let{bashTools:S}=r??{};if(G.cli&&S?.size){if(G.cli.some((I)=>S.has(I)))return!0}if(G.filePath&&r?.readFileState){if(E(r.readFileState).some(($)=>G.filePath.test($)))return!0}return!1}var by=[{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 w().numStartups<10}},{id:"plan-mode-for-complex-tasks",content:async()=>`Use Plan Mode to prepare for a complex request before making changes. Press ${q("chat:cycleMode","Chat","shift+tab")} twice to enable.`,cooldownSessions:5,isRelevant:async()=>{let y=w();return(y.lastPlanModeUse?(Date.now()-y.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 y=w(),r=O(),G=Boolean(y.lastPlanModeUse),S=Boolean(r?.permissions?.defaultMode);return G&&!S}catch(y){return p(`Failed to check default-permission-mode-config tip relevance: ${y}`,{level:"warn"}),!1}}},{id:"git-worktrees",content:async()=>"Use git worktrees to run multiple Claudin sessions in parallel.",cooldownSessions:10,isRelevant:async()=>{try{let y=w();return await b()<=1&&y.numStartups>50}catch(y){return!1}}},{id:"diff-reviewer",content:async()=>`Review local changes, stashes and the git log side by side — run /diff or hit ${q("chat:openDiff","Chat","ctrl+g")}.`,cooldownSessions:10,isRelevant:async()=>{try{return await h()}catch(y){return!1}}},{id:"diff-git-log",content:async()=>`Scroll back through your git log and open any commit's diff in /diff (or hit ${q("chat:openDiff","Chat","ctrl+g")}).`,cooldownSessions:15,isRelevant:async()=>{try{return await h()}catch(y){return!1}}},{id:"file-explorer",content:async()=>`Browse and edit files without leaving the REPL — run /explorer or hit ${q("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:"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 y=w();return y.numStartups>5&&y.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(c())return!1;return await i()>=2}},{id:"terminal-setup",content:async()=>j.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 y=w();if(j.terminal==="Apple_Terminal")return!y.optionAsMetaKeyInstalled;return!y.shiftEnterKeyBindingInstalled}},{id:"shift-enter",content:async()=>j.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 y=w();return Boolean((j.terminal==="Apple_Terminal"?y.optionAsMetaKeyInstalled:y.shiftEnterKeyBindingInstalled)&&y.numStartups>3)}},{id:"shift-enter-setup",content:async()=>j.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(!o())return!1;let y=w();return!(j.terminal==="Apple_Terminal"?y.optionAsMetaKeyInstalled:y.shiftEnterKeyBindingInstalled)}},{id:"memory-command",content:async()=>"Use /memory to view and manage Claudin memory",cooldownSessions:15,async isRelevant(){return w().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&&H.level<3},{id:"powershell-tool-env",content:async()=>"Set CLAUDE_CODE_USE_POWERSHELL_TOOL=1 to enable the PowerShell tool (preview)",cooldownSessions:10,isRelevant:async()=>W()==="windows"&&process.env.CLAUDE_CODE_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()=>O().statusLine===void 0},{id:"prompt-queue",content:async()=>"Hit Enter to queue up additional messages while Claudin is working.",cooldownSessions:5,async isRelevant(){return w().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 '${j.terminal==="vscode"?"code":j.terminal}' command in PATH" to enable IDE integration`,cooldownSessions:0,async isRelevant(){if(!V())return!1;if(W()!=="macos")return!1;switch(j.terminal){case"vscode":return!await T();case"cursor":return!await M();case"windsurf":return!await C();default:return!1}}},{id:"ide-upsell-external-terminal",content:async()=>"Connect Claudin to your IDE · /ide",cooldownSessions:4,async isRelevant(){if(Y())return!1;if((await D()).length!==0)return!1;return(await f()).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()=>!w().githubActionSetupCount},{id:"install-slack-app",content:async()=>"Run /install-slack-app to use Claude in Slack",cooldownSessions:10,isRelevant:async()=>!w().slackAppInstallCount},{id:"permissions",content:async()=>"Use /permissions to pre-approve and pre-deny bash, edit, and MCP tools",cooldownSessions:10,async isRelevant(){return w().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()=>!j.isSSH()},{id:"paste-images-mac",content:async()=>"Paste images into Claudin using control+v (not cmd+v!)",cooldownSessions:10,isRelevant:async()=>W()==="macos"},{id:"double-esc",content:async()=>"Double-tap esc to rewind the conversation to a previous point in time",cooldownSessions:10,isRelevant:async()=>!R()},{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()=>R()},{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()=>l()&&w().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 w().numStartups>10}},{id:"shift-tab",content:async()=>`Hit ${q("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 ${q("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 w().numStartups>5}},{id:"agent-flag",content:async()=>"Use --agent <agent_name> to directly start a conversation with a subagent",cooldownSessions:15,async isRelevant(){return w().numStartups>5}},{id:"opusplan-mode-reminder",content:async()=>`Your default model setting is Opus Plan Mode. Press ${q("chat:cycleMode","Chat","shift+tab")} twice to activate Plan Mode and plan with Claude Opus.`,cooldownSessions:2,async isRelevant(){let y=w(),G=B()==="opusplan",S=y.lastPlanModeUse?(Date.now()-y.lastPlanModeUse)/86400000:1/0;return G&&S>3}},{id:"frontend-design-plugin",content:async(y)=>{return`Working with HTML/CSS? Install the frontend-design plugin:
|
|
2
|
+
${k("suggestion",y.theme)(`/plugin install frontend-design@${K}`)}`},cooldownSessions:3,isRelevant:async(y)=>U("frontend-design",y,{filePath:/\.(html|css|htm)$/i})},{id:"vercel-plugin",content:async(y)=>{return`Working with Vercel? Install the vercel plugin:
|
|
3
|
+
${k("suggestion",y.theme)(`/plugin install vercel@${K}`)}`},cooldownSessions:3,isRelevant:async(y)=>U("vercel",y,{filePath:/(?:^|[/\\])vercel\.json$/i,cli:["vercel"]})},{id:"effort-high-nudge",content:async(y)=>{let G=k("suggestion",y.theme)("/effort high");return z("tengu_tide_elm","off")==="copy_b"?`Use ${G} for better one-shot answers. Claudin thinks it through first.`:`Working on something tricky? ${G} gives better first answers`},cooldownSessions:3,isRelevant:async()=>{if(!X())return!1;if(!u(F()))return!1;if(m("policySettings")?.effortLevel!==void 0)return!1;if(A()!==void 0)return!1;let y=Z().effortLevel;if(y==="high"||y==="max")return!1;return z("tengu_tide_elm","off")!=="off"}},{id:"subagent-fanout-nudge",content:async(y)=>{let r=k("suggestion",y.theme);return z("tengu_tern_alloy","off")==="copy_b"?`For big tasks, tell Claudin to ${r("use subagents")}. They work in parallel and keep your main thread clean.`:`Say ${r('"fan out subagents"')} and Claudin sends a team. Each one digs deep so nothing gets missed.`},cooldownSessions:3,isRelevant:async()=>{if(!X())return!1;return z("tengu_tern_alloy","off")!=="off"}},{id:"loop-command-nudge",content:async(y)=>{let r=k("suggestion",y.theme);return z("tengu_timber_lark","off")==="copy_b"?`Use ${r("/loop 5m check the deploy")} to run any prompt on a schedule. Set it and forget it.`:`${r("/loop")} runs any prompt on a recurring schedule. Great for monitoring deploys, babysitting PRs, or polling status.`},cooldownSessions:3,isRelevant:async()=>{if(!X())return!1;if(!L())return!1;return z("tengu_timber_lark","off")!=="off"}},{id:"guest-passes",content:async(y)=>{let r=k("claude",y.theme),G=t();return G?`Share Claudin and earn ${r(a(G))} of extra usage · ${r("/passes")}`:`You have free guest passes to share · ${r("/passes")}`},cooldownSessions:3,isRelevant:async()=>{if(w().hasVisitedPasses)return!1;let{eligible:r}=_();return r}},{id:"overage-credit",content:async(y)=>{let r=k("claude",y.theme),G=s(),S=G?d(G):null;if(!S)return"";return`${r(`${S} in extra usage, on us`)} · third-party apps · ${r("/extra-usage")}`},cooldownSessions:3,isRelevant:async()=>g()},{id:"feedback-command",content:async()=>"Use /feedback to help us improve!",cooldownSessions:15,async isRelevant(){return w().numStartups>5}}],my=[];function By(){let r=Z().spinnerTipsOverride;if(!r?.tips?.length)return[];return r.tips.map((G,S)=>({id:`custom-tip-${S}`,content:async()=>G,cooldownSessions:0,isRelevant:async()=>!0}))}async function kr(y){let G=Z().spinnerTipsOverride,S=By();if(G?.excludeDefault&&S.length>0)return S;let I=[...by,...my],$=await Promise.all(I.map((J)=>J.isRelevant(y)));return[...I.filter((J,e)=>$[e]).filter((J)=>P(J.id)>=J.cooldownSessions),...S]}
|
|
4
|
+
export{Vy as cb,P as db,kr as eb};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Gs as I,Js as X}from"./cli-1.0.13-kr3d94dn.mjs";import{Lka as H,Vka as W}from"./cli-1.0.13-6b6kn6sd.mjs";import{hsa as V}from"./cli-1.0.13-d9nvpqpw.mjs";function q(f){J=f}function F(f){z=f}function K(f){N=f}function Q(){return O}function R(f,B){if(O=f,J?.(f,B),f==="requires_action"&&B)G=!0,z?.({pending_action:B});else if(G)G=!1,z?.({pending_action:null});if(f==="idle")z?.({task_summary:null});if(H(process.env.CLAUDE_CODE_EMIT_SESSION_STATE_EVENTS))I({type:"system",subtype:"session_state_changed",state:f})}function _(f){z?.(f)}function j(f){N?.(f)}var J=null,z=null,N=null,G=!1,O="idle";var Y=V(()=>{W();X()});
|
|
2
|
+
export{q as Uc,F as Vc,K as Wc,Q as Xc,R as Yc,_ as Zc,j as _c,Y as $c};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Nd as x,Od as o}from"./cli-1.0.13-m5hkpjvs.mjs";import{$K as O,Ku as Z,Qu as v,aD as M,aL as a,cA as K,eA as m,gD as l,gp as Y,ip as g,lL as R,oL as i,qz as $,rM as W,rz as d,uM as t,vz as y,xz as u}from"./cli-1.0.13-kr3d94dn.mjs";import{qga as X,yga as h}from"./cli-1.0.13-p1nsb8ay.mjs";import{_ja as I,bka as c}from"./cli-1.0.13-4dp5a597.mjs";import{Fka as f,yka as V}from"./cli-1.0.13-mazxedqg.mjs";import{Fma as U,yqa as _}from"./cli-1.0.13-vwmq6bde.mjs";import{hsa as C}from"./cli-1.0.13-d9nvpqpw.mjs";async function Lj(w){I("refreshActivePlugins: clearing all plugin caches"),R(),K();let G=await W(),[E,F]=await Promise.all([O(),Z(U())]),{enabled:z,disabled:B,errors:H}=G;x(E);let[P,S]=await Promise.all([Promise.all(z.map(async(j)=>{if(j.mcpServers)return Object.keys(j.mcpServers).length;let q=await Y(j,H);if(q)j.mcpServers=q;return q?Object.keys(q).length:0})),Promise.all(z.map(async(j)=>{if(j.lspServers)return Object.keys(j.lspServers).length;let q=await $(j,H);if(q)j.lspServers=q;return q?Object.keys(q).length:0}))]),J=P.reduce((j,q)=>j+q,0),L=S.reduce((j,q)=>j+q,0);w((j)=>({...j,plugins:{...j.plugins,enabled:z,disabled:B,commands:[],errors:n(j.plugins.errors,H),needsRefresh:!1},agentDefinitions:F,mcp:{...j.mcp,pluginReconnectKey:j.mcp.pluginReconnectKey+1}})),y();let N=!1;try{await M()}catch(j){N=!0,X(j),I(`refreshActivePlugins: loadPluginHooks failed: ${V(j)}`)}let Q=z.reduce((j,q)=>{if(!q.hooksConfig)return j;return j+Object.values(q.hooksConfig).reduce((k,A)=>k+(A?.reduce((D,b)=>D+b.hooks.length,0)??0),0)},0);return I(`refreshActivePlugins: ${z.length} enabled, ${E.length} commands, ${F.allAgents.length} agents, ${Q} hooks, ${J} MCP, ${L} LSP`),{enabled_count:z.length,disabled_count:B.length,command_count:E.length,agent_count:F.allAgents.length,hook_count:Q,mcp_count:J,lsp_count:L,error_count:H.length+(N?1:0),agentDefinitions:F,pluginCommands:E}}function n(w,G){let E=w.filter((B)=>B.source==="lsp-manager"||B.source.startsWith("plugin:")),F=new Set(G.map(T));return[...E.filter((B)=>!F.has(T(B))),...G]}function T(w){return w.type==="generic-error"?`generic-error:${w.source}:${w.error}`:`${w.type}:${w.source}`}var p=C(()=>{_();u();o();v();c();f();h();i();a();l();d();g();m();t()});
|
|
2
|
+
export{Lj as Jd,p as Kd};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Rn as T,Sn as Cq,iy as Pq,my as cq}from"./cli-1.0.13-kr3d94dn.mjs";import{NY as Uq,OY as Iq,RY as kq}from"./cli-1.0.13-cwce8b7b.mjs";import{G0 as L,I0 as O,kZ as aq,l1 as hq}from"./cli-1.0.13-mv57kk3c.mjs";import{U3 as J,V3 as Q,W3 as vq}from"./cli-1.0.13-afdk25h0.mjs";import{N5 as bq,O5 as Mq,f6 as Sq}from"./cli-1.0.13-h5mwwv8w.mjs";import{Tea as Bq,gba as Nq,iba as fq,w$ as Xq,x$ as jq,yea as Rq}from"./cli-1.0.13-p1nsb8ay.mjs";import{Kha as nq}from"./cli-1.0.13-k4znag0a.mjs";import{dsa as yq,hsa as Gq}from"./cli-1.0.13-d9nvpqpw.mjs";function dq(){return Rq().editorMode==="vim"}function Kq(){if(Nq.terminal==="Apple_Terminal"&&process.platform==="darwin")return"shift + ⏎ for newline";if(Uq())return"shift + ⏎ for newline";return Iq()?"\\⏎ for newline":"backslash (\\) + return (⏎) for newline"}function eq(Y,q){if(q.ctrl||q.meta||q.escape||q.return||q.tab||q.backspace||q.delete||q.upArrow||q.downArrow||q.leftArrow||q.rightArrow||q.pageUp||q.pageDown||q.home||q.end)return!1;return Y.length>0&&!/^\s/.test(Y)&&!Y.startsWith("\x1B")}var Wq=Gq(()=>{kq();Bq();fq()});function V(Y){return Y.replace(/\+/g," + ")}function LH(Y){let q=Eq.c(99),{dimColor:H,fixedWidth:Dq,gap:x,paddingX:l}=Y,m=T("app:toggleTranscript","Global","ctrl+o"),p;if(q[0]!==m)p=V(m),q[0]=m,q[1]=p;else p=q[1];let d=p,e=T("app:toggleTodos","Global","ctrl+t"),f;if(q[2]!==e)f=V(e),q[2]=e,q[3]=f;else f=q[3];let s=f,i=T("chat:undo","Chat","ctrl+_"),B;if(q[4]!==i)B=V(i),q[4]=i,q[5]=B;else B=q[5];let r=B,$=T("chat:stash","Chat","ctrl+s"),k;if(q[6]!==$)k=V($),q[6]=$,q[7]=k;else k=q[7];let o=k,t=T("chat:cycleMode","Chat","shift+tab"),y;if(q[8]!==t)y=V(t),q[8]=t,q[9]=y;else y=q[9];let qq=y,Hq=T("chat:modelPicker","Chat","alt+p"),n;if(q[10]!==Hq)n=V(Hq),q[10]=Hq,q[11]=n;else n=q[11];let Jq=n,Lq=T("chat:fastMode","Chat","alt+o"),j;if(q[12]!==Lq)j=V(Lq),q[12]=Lq,q[13]=j;else j=q[13];let Oq=j,Qq=T("chat:externalEditor","Chat","ctrl+g"),S;if(q[14]!==Qq)S=V(Qq),q[14]=Qq,q[15]=S;else S=q[15];let Tq=S,Vq=T("app:toggleTerminal","Global","meta+j"),a;if(q[16]!==Vq)a=V(Vq),q[16]=Vq,q[17]=a;else a=q[17];let Fq=a,Yq=T("chat:imagePaste","Chat","ctrl+v"),h;if(q[18]!==Yq)h=V(Yq),q[18]=Yq,q[19]=h;else h=q[19];let Zq=h,gq=V(T("chat:increaseEffort","Chat","shift+right")),_q=V(T("chat:openDiff","Chat","ctrl+g")),pq=V(T("chat:openExplorer","Chat","ctrl+e")),C;if(q[20]!==H||q[21]!==Fq)C=null,q[20]=H,q[21]=Fq,q[22]=C;else C=q[22];let wq=C,zq=Dq?28:void 0,Z;if(q[23]!==H)Z=J(L,{children:J(O,{dimColor:H,children:"! for bash mode"})}),q[23]=H,q[24]=Z;else Z=q[24];let w;if(q[25]!==H)w=J(L,{children:J(O,{dimColor:H,children:"/ for commands"})}),q[25]=H,q[26]=w;else w=q[26];let z;if(q[27]!==H)z=J(L,{children:J(O,{dimColor:H,children:"@ for file paths"})}),q[27]=H,q[28]=z;else z=q[28];let A;if(q[29]!==H)A=J(L,{children:J(O,{dimColor:H,children:"& for background"})}),q[29]=H,q[30]=A;else A=q[30];let D;if(q[31]!==H)D=J(L,{children:J(O,{dimColor:H,children:"/btw for side question"})}),q[31]=H,q[32]=D;else D=q[32];let F;if(q[33]!==zq||q[34]!==Z||q[35]!==w||q[36]!==z||q[37]!==A||q[38]!==D)F=Q(L,{flexDirection:"column",width:zq,children:[Z,w,z,A,D,J(L,{children:Q(O,{dimColor:H,children:[pq," for file explorer"]})}),J(L,{children:Q(O,{dimColor:H,children:[_q," for diff reviewer"]})})]}),q[33]=zq,q[34]=Z,q[35]=w,q[36]=z,q[37]=A,q[38]=D,q[39]=F;else F=q[39];let Aq=Dq?35:void 0,G;if(q[40]!==H)G=J(L,{children:J(O,{dimColor:H,children:"double tap esc to clear input"})}),q[40]=H,q[41]=G;else G=q[41];let N;if(q[42]!==qq||q[43]!==H)N=J(L,{children:Q(O,{dimColor:H,children:[qq," ","to auto-accept edits"]})}),q[42]=qq,q[43]=H,q[44]=N;else N=q[44];let R;if(q[45]!==H||q[46]!==d)R=J(L,{children:Q(O,{dimColor:H,children:[d," for verbose output"]})}),q[45]=H,q[46]=d,q[47]=R;else R=q[47];let U;if(q[48]!==H||q[49]!==s)U=J(L,{children:Q(O,{dimColor:H,children:[s," to toggle tasks"]})}),q[48]=H,q[49]=s,q[50]=U;else U=q[50];let c;if(q[51]===Symbol.for("react.memo_cache_sentinel"))c=Kq(),q[51]=c;else c=q[51];let I;if(q[52]!==H)I=J(L,{children:J(O,{dimColor:H,children:c})}),q[52]=H,q[53]=I;else I=q[53];let K;if(q[54]!==Aq||q[55]!==G||q[56]!==N||q[57]!==R||q[58]!==U||q[59]!==I||q[60]!==wq)K=Q(L,{flexDirection:"column",width:Aq,children:[G,N,R,U,wq,I]}),q[54]=Aq,q[55]=G,q[56]=N,q[57]=R,q[58]=U,q[59]=I,q[60]=wq,q[61]=K;else K=q[61];let W;if(q[62]!==H||q[63]!==r)W=J(L,{children:Q(O,{dimColor:H,children:[r," to undo"]})}),q[62]=H,q[63]=r,q[64]=W;else W=q[64];let v;if(q[65]!==H)v=Xq()!=="windows"&&J(L,{children:J(O,{dimColor:H,children:"ctrl + z to suspend"})}),q[65]=H,q[66]=v;else v=q[66];let X;if(q[67]!==H||q[68]!==Zq)X=J(L,{children:Q(O,{dimColor:H,children:[Zq," to paste images"]})}),q[67]=H,q[68]=Zq,q[69]=X;else X=q[69];let b;if(q[70]!==H||q[71]!==Jq)b=J(L,{children:Q(O,{dimColor:H,children:[Jq," to switch model"]})}),q[70]=H,q[71]=Jq,q[72]=b;else b=q[72];let M;if(q[73]!==H||q[74]!==Oq)M=bq()&&Mq()&&J(L,{children:Q(O,{dimColor:H,children:[Oq," to toggle fast mode"]})}),q[73]=H,q[74]=Oq,q[75]=M;else M=q[75];let P;if(q[76]!==H||q[77]!==o)P=J(L,{children:Q(O,{dimColor:H,children:[o," to stash prompt"]})}),q[76]=H,q[77]=o,q[78]=P;else P=q[78];let E;if(q[79]!==H||q[80]!==Tq)E=J(L,{children:Q(O,{dimColor:H,children:[Tq," to edit in $EDITOR"]})}),q[79]=H,q[80]=Tq,q[81]=E;else E=q[81];let g;if(q[82]!==H)g=Pq()&&J(L,{children:J(O,{dimColor:H,children:"/keybindings to customize"})}),q[82]=H,q[83]=g;else g=q[83];let _;if(q[84]!==W||q[85]!==v||q[86]!==X||q[87]!==b||q[88]!==M||q[89]!==P||q[90]!==E||q[91]!==g)_=Q(L,{flexDirection:"column",children:[W,v,X,b,J(L,{children:Q(O,{dimColor:H,children:[gq," to change effort"]})}),M,P,E,g]}),q[84]=W,q[85]=v,q[86]=X,q[87]=b,q[88]=M,q[89]=P,q[90]=E,q[91]=g,q[92]=_;else _=q[92];let u;if(q[93]!==x||q[94]!==l||q[95]!==F||q[96]!==K||q[97]!==_)u=Q(L,{paddingX:l,flexDirection:"row",gap:x,children:[F,K,_]}),q[93]=x,q[94]=l,q[95]=F,q[96]=K,q[97]=_,q[98]=u;else u=q[98];return u}var Eq;var uq=Gq(()=>{hq();jq();cq();Cq();nq();Sq();Wq();vq();Eq=yq(aq(),1)});
|
|
2
|
+
export{dq as Gf,eq as Hf,Wq as If,LH as Jf,uq as Kf};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{FF as R,GF as E,HF as l,IF as i,JF as c,KF as w,LF as O,PF as y,QF as e}from"./cli-1.0.13-kr3d94dn.mjs";import{WX as x,XX as s}from"./cli-1.0.13-3f0zqjp8.mjs";import{G0 as k,I0 as W,a1 as Q,kZ as n,l1 as K,v0 as j,w0 as r}from"./cli-1.0.13-mv57kk3c.mjs";import{T3 as A,U3 as V,V3 as D,W3 as v}from"./cli-1.0.13-afdk25h0.mjs";import{X3 as t}from"./cli-1.0.13-gsz0cygn.mjs";import{dsa as q,hsa as p}from"./cli-1.0.13-d9nvpqpw.mjs";function X1(J){let b=S.c(17),{query:$,placeholder:N,isFocused:Z,isTerminalFocused:H,prefix:g,width:P,cursorOffset:_,borderless:Y}=J,G=N===void 0?"Search…":N,h=g===void 0?"⌕":g,L=Y===void 0?!1:Y,B=_??$.length,m=L?void 0:"round",z=Z?"suggestion":void 0,d=!Z,F=L?0:1,T=!Z,X;if(b[0]!==Z||b[1]!==H||b[2]!==B||b[3]!==G||b[4]!==$)X=Z?V(A,{children:$?H?D(A,{children:[V(W,{children:$.slice(0,B)}),V(W,{inverse:!0,children:B<$.length?$[B]:" "}),B<$.length&&V(W,{children:$.slice(B+1)})]}):V(W,{children:$}):H?D(A,{children:[V(W,{inverse:!0,children:G.charAt(0)}),V(W,{dimColor:!0,children:G.slice(1)})]}):V(W,{dimColor:!0,children:G})}):$?V(W,{children:$}):V(W,{children:G}),b[0]=Z,b[1]=H,b[2]=B,b[3]=G,b[4]=$,b[5]=X;else X=b[5];let M;if(b[6]!==h||b[7]!==T||b[8]!==X)M=D(W,{dimColor:T,children:[h," ",X]}),b[6]=h,b[7]=T,b[8]=X,b[9]=M;else M=b[9];let I;if(b[10]!==M||b[11]!==m||b[12]!==z||b[13]!==d||b[14]!==F||b[15]!==P)I=V(k,{flexShrink:0,borderStyle:m,borderColor:z,borderDimColor:d,paddingX:F,width:P,children:M}),b[10]=M,b[11]=m,b[12]=z,b[13]=d,b[14]=F,b[15]=P,b[16]=I;else I=b[16];return I}var S;var u=p(()=>{K();v();S=q(n(),1)});function d1(J){if(J.ctrl&&(J.key==="k"||J.key==="u"||J.key==="w"))return!0;if(J.meta&&J.key==="backspace")return!0;return!1}function T1(J){return(J.ctrl||J.meta)&&J.key==="y"}function W1({isActive:J,onExit:b,onCancel:$,onExitUp:N,columns:Z,passthroughCtrlKeys:H=[],initialQuery:g="",backspaceExitsOnEmpty:P=!0}){let{columns:_}=x(),Y=Z??_,[G,h]=U.useState(g),[L,B]=U.useState(g.length),m=U.useCallback((d)=>{h(d),B(d.length)},[]),z=(d)=>{if(!J)return;let F=y.fromText(G,Y,L);if(d.ctrl&&H.includes(d.key.toLowerCase()))return;if(!d1(d))l();if(!T1(d))O();if(d.key==="return"||d.key==="down"){d.preventDefault(),b();return}if(d.key==="up"){if(d.preventDefault(),N)N();return}if(d.key==="escape"){if(d.preventDefault(),$)$();else if(G.length>0)h(""),B(0);else b();return}if(d.key==="backspace"){if(d.preventDefault(),d.meta){let{cursor:X,killed:M}=F.deleteWordBefore();R(M,"prepend"),h(X.text),B(X.offset);return}if(G.length===0){if(P)($??b)();return}let T=F.backspace();h(T.text),B(T.offset);return}if(d.key==="delete"){d.preventDefault();let T=F.del();h(T.text),B(T.offset);return}if(d.key==="left"&&(d.ctrl||d.meta||d.fn)){d.preventDefault();let T=F.prevWord();B(T.offset);return}if(d.key==="right"&&(d.ctrl||d.meta||d.fn)){d.preventDefault();let T=F.nextWord();B(T.offset);return}if(d.key==="left"){d.preventDefault();let T=F.left();B(T.offset);return}if(d.key==="right"){d.preventDefault();let T=F.right();B(T.offset);return}if(d.key==="home"){d.preventDefault(),B(0);return}if(d.key==="end"){d.preventDefault(),B(G.length);return}if(d.ctrl){switch(d.preventDefault(),d.key.toLowerCase()){case"a":B(0);return;case"e":B(G.length);return;case"b":B(F.left().offset);return;case"f":B(F.right().offset);return;case"d":{if(G.length===0){($??b)();return}let T=F.del();h(T.text),B(T.offset);return}case"h":{if(G.length===0){if(P)($??b)();return}let T=F.backspace();h(T.text),B(T.offset);return}case"k":{let{cursor:T,killed:X}=F.deleteToLineEnd();R(X,"append"),h(T.text),B(T.offset);return}case"u":{let{cursor:T,killed:X}=F.deleteToLineStart();R(X,"prepend"),h(T.text),B(T.offset);return}case"w":{let{cursor:T,killed:X}=F.deleteWordBefore();R(X,"prepend"),h(T.text),B(T.offset);return}case"y":{let T=E();if(T.length>0){let X=F.offset,M=F.insert(T);i(X,T.length),h(M.text),B(M.offset)}return}case"g":case"c":if($){$();return}}return}if(d.meta){switch(d.preventDefault(),d.key.toLowerCase()){case"b":B(F.prevWord().offset);return;case"f":B(F.nextWord().offset);return;case"d":{let T=F.deleteWordAfter();h(T.text),B(T.offset);return}case"y":{let T=c();if(T){let{text:X,start:M,length:I}=T,f=G.slice(0,M),a=G.slice(M+I),C=f+X+a,o=M+X.length;w(X.length),h(C),B(o)}return}}return}if(d.key==="tab")return;if(d.key.length>=1&&!b1.has(d.key)){d.preventDefault();let T=F.insert(d.key);h(T.text),B(T.offset)}};return Q((d,F,T)=>{z(new j(T.keypress))},{isActive:J}),{query:G,setQuery:m,cursorOffset:L,handleKeyDown:z}}var U,b1;var B1=p(()=>{r();K();e();s();U=q(t(),1);b1=new Set(["pageup","pagedown","insert","wheelup","wheeldown","mouse","f1","f2","f3","f4","f5","f6","f7","f8","f9","f10","f11","f12"])});
|
|
2
|
+
export{X1 as kh,u as lh,W1 as mh,B1 as nh};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{hsa as J}from"./cli-1.0.13-d9nvpqpw.mjs";import v from"node:path";function Z(q){if(q.endsWith(v.sep)||q.endsWith("/"))return K;let j=v.basename(q).toLowerCase();if(j.startsWith("readme"))return B[".md"];if(j.startsWith(".env"))return Q;let z=U[j];if(z)return z;let H=v.extname(j);return B[H]??P}var K="",Y="",P="",Q="",U,B;var V=J(()=>{U={"package.json":"",dockerfile:"",".dockerignore":"",".gitignore":"",".gitattributes":"",license:"","bun.lock":""},B={".ts":"",".tsx":"",".js":"",".jsx":"",".mjs":"",".cjs":"",".json":"",".md":"",".markdown":"",".toml":"",".yaml":"",".yml":"",".py":"",".rs":"",".go":"",".sh":"",".bash":"",".zsh":"",".css":"",".scss":"",".html":"",".htm":"",".png":"",".jpg":"",".jpeg":"",".gif":"",".svg":"",".webp":"",".lock":""}});
|
|
2
|
+
export{K as Hh,Y as Ih,Z as Jh,V as Kh};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{fsa as H,hsa as UJ}from"./cli-1.0.13-d9nvpqpw.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 d2,QQ as e2,WQ as f2,ZQ as g2,KQ as h2,FJ as i2};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{E0 as j,F0 as s,G0 as F,I0 as V,kZ as t,l1 as o,tZ as p}from"./cli-1.0.13-mv57kk3c.mjs";import{U3 as w,V3 as g,W3 as y}from"./cli-1.0.13-afdk25h0.mjs";import{f_ as $,g_ as a,l_ as _,m_ as n}from"./cli-1.0.13-p1nsb8ay.mjs";import{dsa as i,hsa as v}from"./cli-1.0.13-d9nvpqpw.mjs";function l(J,q,M,G){return G=typeof G=="function"?G:void 0,J==null?J:_(J,q,M,G)}var b;var f=v(()=>{n();b=l});function x(J,q={}){let{showValues:M=!0,hideFunctions:G=!1,themeName:W="dark",treeCharColors:Q={}}=q,X=[],I=new WeakSet;function Z(Y,D){if(!D)return Y;return j(D,W)(Y)}function N(Y,D,S,A=0){if(typeof Y==="string"){X.push(D+Z(Y,Q.value));return}if(typeof Y!=="object"||Y===null){if(M){let H=String(Y);X.push(D+Z(H,Q.value))}return}if(I.has(Y)){X.push(D+Z("[Circular]",Q.value));return}I.add(Y);let L=Object.keys(Y).filter((H)=>{let E=Y[H];if(G&&typeof E==="function")return!1;return!0});L.forEach((H,E)=>{let U=Y[H],P=E===L.length-1,T=A===0&&E===0?"":D,u=P?R.lastBranch:R.branch,d=Z(u,Q.treeChar),C=H.trim()===""?"":Z(H,Q.key),B=T+d+(C?" "+C:""),z=H.trim()!=="";if(U&&typeof U==="object"&&I.has(U)){let K=Z("[Circular]",Q.value);X.push(B+(z?": ":B?" ":"")+K)}else if(U&&typeof U==="object"&&!Array.isArray(U)){X.push(B);let K=P?R.empty:R.line,k=Z(K,Q.treeChar),c=T+k+" ";N(U,c,P,A+1)}else if(Array.isArray(U))X.push(B+(z?": ":B?" ":"")+"[Array("+U.length+")]");else if(M){let K=typeof U==="function"?"[Function]":String(U),k=Z(K,Q.value);B+=(z?": ":B?" ":"")+k,X.push(B)}else X.push(B)})}let O=Object.keys(J);if(O.length===0)return Z("(empty)",Q.value);if(O.length===1&&O[0]!==void 0&&O[0].trim()===""&&typeof J[O[0]]==="string"){let Y=O[0],D=Z(R.lastBranch,Q.treeChar),S=Z(J[Y],Q.value);return D+" "+S}return N(J,"",!0),X.join(`
|
|
2
|
+
`)}var R;var m=v(()=>{a();s();R={branch:$.lineUpDownRight,lastBranch:$.lineUpRight,line:$.lineVertical,empty:" "}});function r(J){let q={};return J.forEach((M)=>{if(!M.path){q[""]=M.message;return}let G=M.path.split("."),W=M.path;if(M.invalidValue!==null&&M.invalidValue!==void 0&&G.length>0){let Q=[];for(let X=0;X<G.length;X++){let I=G[X];if(!I)continue;let Z=parseInt(I,10);if(!isNaN(Z)&&X===G.length-1){let N;if(typeof M.invalidValue==="string")N=`"${M.invalidValue}"`;else if(M.invalidValue===null)N="null";else if(M.invalidValue===void 0)N="undefined";else N=String(M.invalidValue);Q.push(N)}else Q.push(I)}W=Q.join(".")}b(q,W,M.message,Object)}),q}function Hq(J){let q=h.c(9),{errors:M}=J,[G]=p();if(M.length===0)return null;let W,Q,X;if(q[0]!==M||q[1]!==G){let Z=M.reduce(Jq,{}),N=Object.keys(Z).sort();W=F,Q="column",X=N.map((O)=>{let Y=Z[O]||[];Y.sort(qq);let D=r(Y),S=new Map;Y.forEach((L)=>{if(L.suggestion||L.docLink){let H=`${L.suggestion||""}|${L.docLink||""}`;if(!S.has(H))S.set(H,{suggestion:L.suggestion,docLink:L.docLink})}});let A=x(D,{showValues:!0,themeName:G,treeCharColors:{treeChar:"inactive",key:"text",value:"inactive"}});return g(F,{flexDirection:"column",children:[w(V,{children:O}),w(F,{marginLeft:1,children:w(V,{dimColor:!0,children:A})}),S.size>0&&w(F,{flexDirection:"column",marginTop:1,children:Array.from(S.values()).map(e)})]},O)}),q[0]=M,q[1]=G,q[2]=W,q[3]=Q,q[4]=X}else W=q[2],Q=q[3],X=q[4];let I;if(q[5]!==W||q[6]!==Q||q[7]!==X)I=w(W,{flexDirection:Q,children:X}),q[5]=W,q[6]=Q,q[7]=X,q[8]=I;else I=q[8];return I}function e(J,q){return g(F,{flexDirection:"column",marginBottom:1,children:[J.suggestion&&w(V,{dimColor:!0,wrap:"wrap",children:J.suggestion}),J.docLink&&g(V,{dimColor:!0,wrap:"wrap",children:["Learn more: ",J.docLink]})]},`suggestion-pair-${q}`)}function qq(J,q){if(!J.path&&q.path)return-1;if(J.path&&!q.path)return 1;return(J.path||"").localeCompare(q.path||"")}function Jq(J,q){let M=q.file||"(file not specified)";if(!J[M])J[M]=[];return J[M].push(q),J}var h;var Mq=v(()=>{f();o();m();y();h=i(t(),1)});
|
|
3
|
+
export{Hq as rg,Mq as sg};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import{$n as d,Tn as E,Un as Uq,Xn as r,Yn as Xq,ao as Yq,cF as x,dF as s,eF as C,gF as n,gG as o,hF as $,iG as Mq,jF as Zq}from"./cli-1.0.13-kr3d94dn.mjs";import{G0 as N,I0 as U,M0 as V,a1 as a,kZ as Jq,l1 as Qq}from"./cli-1.0.13-mv57kk3c.mjs";import{T3 as u,U3 as J,V3 as X,W3 as g}from"./cli-1.0.13-afdk25h0.mjs";import{X3 as zq}from"./cli-1.0.13-gsz0cygn.mjs";import{Xia as w,_ia as qq}from"./cli-1.0.13-vbby2x4m.mjs";import{dsa as i,hsa as t}from"./cli-1.0.13-d9nvpqpw.mjs";function Fq(){let z=f.c(9),q;if(z[0]===Symbol.for("react.memo_cache_sentinel"))q=X(U,{children:["An update to our Consumer Terms and Privacy Policy will take effect on"," ",J(U,{bold:!0,children:"October 8, 2025"}),". You can accept the updated terms today."]}),z[0]=q;else q=z[0];let F;if(z[1]===Symbol.for("react.memo_cache_sentinel"))F=J(U,{children:"What's changing?"}),z[1]=F;else F=z[1];let Y,Z;if(z[2]===Symbol.for("react.memo_cache_sentinel"))Y=J(U,{children:"· "}),Z=J(U,{bold:!0,children:"You can help improve Claude "}),z[2]=Y,z[3]=Z;else Y=z[2],Z=z[3];let W;if(z[4]===Symbol.for("react.memo_cache_sentinel"))W=J(N,{paddingLeft:1,children:X(U,{children:[Y,Z,X(U,{children:["— Allow the use of your chats and coding sessions to train and improve Anthropic AI models. Change anytime in your Privacy Settings (",J(V,{url:"https://claude.ai/settings/data-privacy-controls"}),")."]})]})}),z[4]=W;else W=z[4];let P;if(z[5]===Symbol.for("react.memo_cache_sentinel"))P=X(N,{flexDirection:"column",children:[F,W,J(N,{paddingLeft:1,children:X(U,{children:[J(U,{children:"· "}),J(U,{bold:!0,children:"Updates to data retention "}),J(U,{children:"— To help us improve our AI models and safety protections, we're extending data retention to 5 years."})]})})]}),z[5]=P;else P=z[5];let Q;if(z[6]===Symbol.for("react.memo_cache_sentinel"))Q=J(V,{url:"https://www.anthropic.com/news/updates-to-our-consumer-terms"}),z[6]=Q;else Q=z[6];let H;if(z[7]===Symbol.for("react.memo_cache_sentinel"))H=J(V,{url:"https://anthropic.com/legal/terms"}),z[7]=H;else H=z[7];let O;if(z[8]===Symbol.for("react.memo_cache_sentinel"))O=X(u,{children:[q,P,X(U,{children:["Learn more (",Q,") or read the updated Consumer Terms (",H,") and Privacy Policy (",J(V,{url:"https://anthropic.com/legal/privacy"}),")"]})]}),z[8]=O;else O=z[8];return O}function Nq(){let z=f.c(7),q;if(z[0]===Symbol.for("react.memo_cache_sentinel"))q=J(U,{children:"We've updated our Consumer Terms and Privacy Policy."}),z[0]=q;else q=z[0];let F;if(z[1]===Symbol.for("react.memo_cache_sentinel"))F=J(U,{children:"What's changing?"}),z[1]=F;else F=z[1];let Y;if(z[2]===Symbol.for("react.memo_cache_sentinel"))Y=X(N,{flexDirection:"column",children:[J(U,{bold:!0,children:"Help improve Claude"}),J(U,{children:"Allow the use of your chats and coding sessions to train and improve Anthropic AI models. You can change this anytime in Privacy Settings"}),J(V,{url:"https://claude.ai/settings/data-privacy-controls"})]}),z[2]=Y;else Y=z[2];let Z;if(z[3]===Symbol.for("react.memo_cache_sentinel"))Z=X(N,{flexDirection:"column",gap:1,children:[F,Y,X(N,{flexDirection:"column",children:[J(U,{bold:!0,children:"How this affects data retention"}),J(U,{children:"Turning ON the improve Claude setting extends data retention from 30 days to 5 years. Turning it OFF keeps the default 30-day data retention. Delete data anytime."})]})]}),z[3]=Z;else Z=z[3];let W;if(z[4]===Symbol.for("react.memo_cache_sentinel"))W=J(V,{url:"https://www.anthropic.com/news/updates-to-our-consumer-terms"}),z[4]=W;else W=z[4];let P;if(z[5]===Symbol.for("react.memo_cache_sentinel"))P=J(V,{url:"https://anthropic.com/legal/terms"}),z[5]=P;else P=z[5];let Q;if(z[6]===Symbol.for("react.memo_cache_sentinel"))Q=X(u,{children:[q,Z,X(U,{children:["Learn more (",W,") or read the updated Consumer Terms (",P,") and Privacy Policy (",J(V,{url:"https://anthropic.com/legal/privacy"}),")"]})]}),z[6]=Q;else Q=z[6];return Q}function kq(z){let q=f.c(34),{showIfAlreadyViewed:F,location:Y,onDone:Z}=z,[W,P]=_.useState(null),[Q,H]=_.useState(null),O,R;if(q[0]!==Y||q[1]!==Z||q[2]!==F)O=()=>{(async function(){let[e,c]=await Promise.all([x(),n()]),j=c.success?c.data:null;H(j);let l=$(e,c,F);if(P(l),!l){Z("skip_rendering");return}s(),w("tengu_grove_policy_viewed",{location:Y,dismissable:j?.notice_is_grace_period})})()},R=[F,Y,Z],q[0]=Y,q[1]=Z,q[2]=F,q[3]=O,q[4]=R;else O=q[3],R=q[4];if(_.useEffect(O,R),W===null)return null;if(!W)return null;let K;if(q[5]!==Q?.notice_is_grace_period||q[6]!==Z)K=async function(v){q:switch(v){case"accept_opt_in":{await C(!0),w("tengu_grove_policy_submitted",{state:!0,dismissable:Q?.notice_is_grace_period});break q}case"accept_opt_out":{await C(!1),w("tengu_grove_policy_submitted",{state:!1,dismissable:Q?.notice_is_grace_period});break q}case"defer":{w("tengu_grove_policy_dismissed",{state:!0});break q}case"escape":w("tengu_grove_policy_escaped",{})}Z(v)},q[5]=Q?.notice_is_grace_period,q[6]=Z,q[7]=K;else K=q[7];let A=K,L;if(q[8]!==Q?.domain_excluded)L=Q?.domain_excluded?[{label:"Accept terms · Help improve Claude: OFF (for emails with your domain)",value:"accept_opt_out"}]:[{label:"Accept terms · Help improve Claude: ON",value:"accept_opt_in"},{label:"Accept terms · Help improve Claude: OFF",value:"accept_opt_out"}],q[8]=Q?.domain_excluded,q[9]=L;else L=q[9];let I=L,G;if(q[10]!==Q?.notice_is_grace_period||q[11]!==A)G=function(){if(Q?.notice_is_grace_period){A("defer");return}A("escape")},q[10]=Q?.notice_is_grace_period,q[11]=A,q[12]=G;else G=q[12];let M=G,k;if(q[13]!==Q?.notice_is_grace_period)k=J(N,{flexDirection:"column",gap:1,flexGrow:1,children:Q?.notice_is_grace_period?J(Fq,{}):J(Nq,{})}),q[13]=Q?.notice_is_grace_period,q[14]=k;else k=q[14];let D;if(q[15]===Symbol.for("react.memo_cache_sentinel"))D=J(N,{flexShrink:0,children:J(U,{color:"professionalBlue",children:Wq})}),q[15]=D;else D=q[15];let B;if(q[16]!==k)B=X(N,{flexDirection:"row",children:[k,D]}),q[16]=k,q[17]=B;else B=q[17];let T;if(q[18]===Symbol.for("react.memo_cache_sentinel"))T=X(N,{flexDirection:"column",children:[J(U,{bold:!0,children:"Please select how you'd like to continue"}),J(U,{children:"Your choice takes effect immediately upon confirmation."})]}),q[18]=T;else T=q[18];let b;if(q[19]!==Q?.notice_is_grace_period)b=Q?.notice_is_grace_period?[{label:"Not now",value:"defer"}]:[],q[19]=Q?.notice_is_grace_period,q[20]=b;else b=q[20];let m;if(q[21]!==I||q[22]!==b)m=[...I,...b],q[21]=I,q[22]=b,q[23]=m;else m=q[23];let p;if(q[24]!==A)p=(h)=>A(h),q[24]=A,q[25]=p;else p=q[25];let y;if(q[26]!==M||q[27]!==m||q[28]!==p)y=X(N,{flexDirection:"column",gap:1,children:[T,J(o,{options:m,onChange:p,onCancel:M})]}),q[26]=M,q[27]=m,q[28]=p,q[29]=y;else y=q[29];let S;if(q[30]!==M||q[31]!==y||q[32]!==B)S=X(d,{title:"Updates to Consumer Terms and Policies",color:"professionalBlue",onCancel:M,inputGuide:Oq,children:[B,y]}),q[30]=M,q[31]=y,q[32]=B,q[33]=S;else S=q[33];return S}function Oq(z){return z.pending?X(U,{children:["Press ",z.keyName," again to exit"]}):X(r,{children:[J(E,{shortcut:"Enter",action:"confirm"}),J(E,{shortcut:"Esc",action:"cancel"})]})}function _q(z){let q=f.c(17),{settings:F,domainExcluded:Y,onDone:Z}=z,[W,P]=_.useState(F.grove_enabled),Q;if(q[0]===Symbol.for("react.memo_cache_sentinel"))Q=[],q[0]=Q;else Q=q[0];_.default.useEffect(Pq,Q);let H;if(q[1]!==Y||q[2]!==W)H=async(M,k)=>{if(!Y&&(k.tab||k.return||M===" ")){let D=!W;P(D),await C(D)}},q[1]=Y,q[2]=W,q[3]=H;else H=q[3];a(H);let O;if(q[4]===Symbol.for("react.memo_cache_sentinel"))O=J(U,{color:"error",children:"false"}),q[4]=O;else O=q[4];let R=O;if(Y){let M;if(q[5]===Symbol.for("react.memo_cache_sentinel"))M=J(U,{color:"error",children:"false (for emails with your domain)"}),q[5]=M;else M=q[5];R=M}else if(W){let M;if(q[6]===Symbol.for("react.memo_cache_sentinel"))M=J(U,{color:"success",children:"true"}),q[6]=M;else M=q[6];R=M}let K;if(q[7]!==Y)K=(M)=>M.pending?X(U,{children:["Press ",M.keyName," again to exit"]}):Y?J(E,{shortcut:"Esc",action:"cancel"}):X(r,{children:[J(E,{shortcut:"Enter/Tab/Space",action:"toggle"}),J(E,{shortcut:"Esc",action:"cancel"})]}),q[7]=Y,q[8]=K;else K=q[8];let A;if(q[9]===Symbol.for("react.memo_cache_sentinel"))A=X(U,{children:["Review and manage your privacy settings at"," ",J(V,{url:"https://claude.ai/settings/data-privacy-controls"})]}),q[9]=A;else A=q[9];let L;if(q[10]===Symbol.for("react.memo_cache_sentinel"))L=J(N,{width:44,children:J(U,{bold:!0,children:"Help improve Claude"})}),q[10]=L;else L=q[10];let I;if(q[11]!==R)I=X(N,{children:[L,J(N,{children:R})]}),q[11]=R,q[12]=I;else I=q[12];let G;if(q[13]!==Z||q[14]!==K||q[15]!==I)G=X(d,{title:"Data Privacy",color:"professionalBlue",onCancel:Z,inputGuide:K,children:[A,I]}),q[13]=Z,q[14]=K,q[15]=I,q[16]=G;else G=q[16];return G}function Pq(){w("tengu_grove_privacy_settings_viewed",{})}var f,_,Wq=` _____________
|
|
2
|
+
| \\ \\
|
|
3
|
+
| NEW TERMS \\__\\
|
|
4
|
+
| |
|
|
5
|
+
| ---------- |
|
|
6
|
+
| ---------- |
|
|
7
|
+
| ---------- |
|
|
8
|
+
| ---------- |
|
|
9
|
+
| ---------- |
|
|
10
|
+
| |
|
|
11
|
+
|______________|`;var Aq=t(()=>{qq();Qq();Zq();Mq();Xq();Yq();Uq();g();f=i(Jq(),1),_=i(zq(),1)});
|
|
12
|
+
export{kq as xc,_q as yc,Aq as zc};
|