@claudiolabs/claudin 0.7.2 → 0.7.5
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/LICENSE +23 -200
- package/README.md +27 -90
- package/dist/chunks/AgentTool-0.7.5-xc9zjfz7.mjs +1 -0
- package/dist/chunks/App-0.7.5-acjfhz7f.mjs +1 -0
- package/dist/chunks/ApproveApiKey-0.7.5-k8xp8shh.mjs +1 -0
- package/dist/chunks/AssistantSessionChooser-0.7.5-b586ydqn.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-0.7.5-4vrmrdr7.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-0.7.5-0dfen1xs.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-0.7.5-ngb74vnm.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-0.7.5-0kerpb2w.mjs +1 -0
- package/dist/chunks/DiffDialog-0.7.5-srnpt7vg.mjs +7 -0
- package/dist/chunks/Doctor-0.7.5-4sb6exd1.mjs +1 -0
- package/dist/chunks/ExplorerDialog-0.7.5-4epxtpqm.mjs +6 -0
- package/dist/chunks/Grove-0.7.5-mq5kyerq.mjs +1 -0
- package/dist/chunks/ITermBackend-0.7.5-2gsr5w8r.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-0.7.5-0pyrr9nf.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-0.7.5-h5by8vz0.mjs +1 -0
- package/dist/chunks/MigrationDialog-0.7.5-3w71fa3y.mjs +1 -0
- package/dist/chunks/Onboarding-0.7.5-b7vhm3se.mjs +1 -0
- package/dist/chunks/ProviderManager-0.7.5-aerbfw66.mjs +1 -0
- package/dist/chunks/REPL-0.7.5-vtg3m5vj.mjs +1 -0
- package/dist/chunks/ResumeConversation-0.7.5-y1z299bf.mjs +1 -0
- package/dist/chunks/SnapshotUpdateDialog-0.7.5-j019aekp.mjs +1 -0
- package/dist/chunks/TeleportProgress-0.7.5-svv1q02p.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-0.7.5-58j0azyf.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-0.7.5-bc8j445x.mjs +1 -0
- package/dist/chunks/TmuxBackend-0.7.5-cjf1ngxx.mjs +9 -0
- package/dist/chunks/ToolSearchTool-0.7.5-ebcazye5.mjs +1 -0
- package/dist/chunks/TrustDialog-0.7.5-152ydvn7.mjs +1 -0
- package/dist/chunks/activeProvider-0.7.5-0kfzwxhb.mjs +1 -0
- package/dist/chunks/add-dir-0.7.5-35b90wc9.mjs +1 -0
- package/dist/chunks/agentTypes-0.7.5-wrskj5tn.mjs +1 -0
- package/dist/chunks/agents-0.7.5-4qcppggm.mjs +110 -0
- package/dist/chunks/agents-0.7.5-xq7kprd6.mjs +3 -0
- package/dist/chunks/api-0.7.5-fcbv21bw.mjs +1 -0
- package/dist/chunks/asciicast-0.7.5-d28172s4.mjs +1 -0
- package/dist/chunks/assistant-0.7.5-f95dwf9p.mjs +1 -0
- package/dist/chunks/auth-0.7.5-10gj2nsp.mjs +1 -0
- package/dist/chunks/auth-0.7.5-gdt0tbr7.mjs +1 -0
- package/dist/chunks/autoMode-0.7.5-rh9k8nn2.mjs +48 -0
- package/dist/chunks/autoUpdater-0.7.5-tfhznsk1.mjs +1 -0
- package/dist/chunks/backgroundHousekeeping-0.7.5-sj02xapc.mjs +1 -0
- package/dist/chunks/branch-0.7.5-5j5akkrn.mjs +4 -0
- package/dist/chunks/bridge-0.7.5-8y0xqq28.mjs +2 -0
- package/dist/chunks/bridgeConfig-0.7.5-nme7hkby.mjs +1 -0
- package/dist/chunks/bridgeEnabled-0.7.5-py8rybz2.mjs +1 -0
- package/dist/chunks/bridgeMain-0.7.5-5kat8nm9.mjs +88 -0
- package/dist/chunks/bridgePointer-0.7.5-5wgvs16s.mjs +1 -0
- package/dist/chunks/btw-0.7.5-yawwzr37.mjs +1 -0
- package/dist/chunks/buddy-0.7.5-qmp34ccf.mjs +3 -0
- package/dist/chunks/cacache-0.7.5-7844wbd2.mjs +1 -0
- package/dist/chunks/cache-probe-0.7.5-8jthv18c.mjs +21 -0
- package/dist/chunks/cacheStats-0.7.5-77ds68g1.mjs +4 -0
- package/dist/chunks/caches-0.7.5-qsf7gskj.mjs +1 -0
- package/dist/chunks/claudeDesktop-0.7.5-98s74wma.mjs +1 -0
- package/dist/chunks/claudemd-0.7.5-yemjch22.mjs +1 -0
- package/dist/chunks/clear-0.7.5-m1tdyhpp.mjs +1 -0
- package/dist/chunks/clearTerminal-0.7.5-z4zv01xp.mjs +1 -0
- package/dist/chunks/cli-0.7.5-012a6zfk.mjs +2 -0
- package/dist/chunks/cli-0.7.5-0bsdv5z9.mjs +2 -0
- package/dist/chunks/cli-0.7.5-0wyg5tbv.mjs +2 -0
- package/dist/chunks/cli-0.7.5-10stvena.mjs +2 -0
- package/dist/chunks/cli-0.7.5-1130jhj6.mjs +5469 -0
- package/dist/chunks/cli-0.7.5-137tt9mn.mjs +42 -0
- package/dist/chunks/cli-0.7.5-1raty5m9.mjs +2 -0
- package/dist/chunks/cli-0.7.5-1s8z73wz.mjs +2 -0
- package/dist/chunks/cli-0.7.5-1tw92v7f.mjs +17 -0
- package/dist/chunks/cli-0.7.5-1w5f2dfy.mjs +2 -0
- package/dist/chunks/cli-0.7.5-1z5n1s3z.mjs +2 -0
- package/dist/chunks/cli-0.7.5-20s4s7eq.mjs +2 -0
- package/dist/chunks/cli-0.7.5-2czfx8da.mjs +2 -0
- package/dist/chunks/cli-0.7.5-2f55fq7s.mjs +2 -0
- package/dist/chunks/cli-0.7.5-2kqm2cm6.mjs +3 -0
- package/dist/chunks/cli-0.7.5-3e9fty2f.mjs +2 -0
- package/dist/chunks/cli-0.7.5-3mhw32x1.mjs +2 -0
- package/dist/chunks/cli-0.7.5-40m9mj91.mjs +133 -0
- package/dist/chunks/cli-0.7.5-49b2vx6q.mjs +2 -0
- package/dist/chunks/cli-0.7.5-49f39qnb.mjs +2 -0
- package/dist/chunks/cli-0.7.5-4mvg3dke.mjs +59 -0
- package/dist/chunks/cli-0.7.5-4pc187my.mjs +2 -0
- package/dist/chunks/cli-0.7.5-4pekv38x.mjs +2 -0
- package/dist/chunks/cli-0.7.5-4s3wj4db.mjs +2 -0
- package/dist/chunks/cli-0.7.5-510b39kd.mjs +3 -0
- package/dist/chunks/cli-0.7.5-529cdx0d.mjs +2 -0
- package/dist/chunks/cli-0.7.5-56navtps.mjs +3 -0
- package/dist/chunks/cli-0.7.5-57cepgzg.mjs +4 -0
- package/dist/chunks/cli-0.7.5-5a315ky8.mjs +17 -0
- package/dist/chunks/cli-0.7.5-5nkj9199.mjs +2 -0
- package/dist/chunks/cli-0.7.5-5pg00eg2.mjs +15 -0
- package/dist/chunks/cli-0.7.5-5pxnxmzj.mjs +2 -0
- package/dist/chunks/cli-0.7.5-5r8ygwxv.mjs +3 -0
- package/dist/chunks/cli-0.7.5-5w2rj0hg.mjs +3 -0
- package/dist/chunks/cli-0.7.5-5z67f2be.mjs +18 -0
- package/dist/chunks/cli-0.7.5-60age1v3.mjs +3 -0
- package/dist/chunks/cli-0.7.5-614rpqd6.mjs +2 -0
- package/dist/chunks/cli-0.7.5-6g85h6sa.mjs +34 -0
- package/dist/chunks/cli-0.7.5-6mf5dxyw.mjs +2 -0
- package/dist/chunks/cli-0.7.5-6mmfvszc.mjs +2 -0
- package/dist/chunks/cli-0.7.5-6s7zhdt4.mjs +2 -0
- package/dist/chunks/cli-0.7.5-6v0bgn02.mjs +2 -0
- package/dist/chunks/cli-0.7.5-6wvc1yjw.mjs +2 -0
- package/dist/chunks/cli-0.7.5-7bd3ngaj.mjs +2 -0
- package/dist/chunks/cli-0.7.5-7ezb8apr.mjs +2 -0
- package/dist/chunks/cli-0.7.5-7gkjs4wv.mjs +2 -0
- package/dist/chunks/cli-0.7.5-7h3tq3wc.mjs +6 -0
- package/dist/chunks/cli-0.7.5-7zd2bp43.mjs +45 -0
- package/dist/chunks/cli-0.7.5-80je81v4.mjs +2 -0
- package/dist/chunks/cli-0.7.5-81aasr9m.mjs +2 -0
- package/dist/chunks/cli-0.7.5-84ksc40j.mjs +25 -0
- package/dist/chunks/cli-0.7.5-85hyf5qe.mjs +15 -0
- package/dist/chunks/cli-0.7.5-88bh6s1x.mjs +2 -0
- package/dist/chunks/cli-0.7.5-90k5jpxh.mjs +2 -0
- package/dist/chunks/cli-0.7.5-92scwwjf.mjs +24 -0
- package/dist/chunks/cli-0.7.5-975by9n8.mjs +3 -0
- package/dist/chunks/cli-0.7.5-987zbyps.mjs +2 -0
- package/dist/chunks/cli-0.7.5-99wdc670.mjs +24 -0
- package/dist/chunks/cli-0.7.5-9na53kvh.mjs +2 -0
- package/dist/chunks/cli-0.7.5-9pd9feb4.mjs +5 -0
- package/dist/chunks/cli-0.7.5-9v3pjabj.mjs +133 -0
- package/dist/chunks/cli-0.7.5-9y8fgxfa.mjs +2 -0
- package/dist/chunks/cli-0.7.5-a36ctp71.mjs +6 -0
- package/dist/chunks/cli-0.7.5-acfkszsn.mjs +8 -0
- package/dist/chunks/cli-0.7.5-akxpdesn.mjs +2 -0
- package/dist/chunks/cli-0.7.5-aphrc23w.mjs +2 -0
- package/dist/chunks/cli-0.7.5-apycan2y.mjs +2 -0
- package/dist/chunks/cli-0.7.5-aq0c8awk.mjs +2 -0
- package/dist/chunks/cli-0.7.5-atzfkz67.mjs +2 -0
- package/dist/chunks/cli-0.7.5-az0dwafe.mjs +2 -0
- package/dist/chunks/cli-0.7.5-b8wc44ze.mjs +2 -0
- package/dist/chunks/cli-0.7.5-ba83wc9t.mjs +2 -0
- package/dist/chunks/cli-0.7.5-be0fn3rp.mjs +2 -0
- package/dist/chunks/cli-0.7.5-bkep7yw1.mjs +2 -0
- package/dist/chunks/cli-0.7.5-bzrmp2wf.mjs +2 -0
- package/dist/chunks/cli-0.7.5-c0qhtrbh.mjs +2 -0
- package/dist/chunks/cli-0.7.5-c3w496ap.mjs +3 -0
- package/dist/chunks/cli-0.7.5-c6xa3se4.mjs +2 -0
- package/dist/chunks/cli-0.7.5-ca0xearm.mjs +2 -0
- package/dist/chunks/cli-0.7.5-cbkmf04v.mjs +2 -0
- package/dist/chunks/cli-0.7.5-cd6cs7q9.mjs +2 -0
- package/dist/chunks/cli-0.7.5-crbzqw8b.mjs +20 -0
- package/dist/chunks/cli-0.7.5-d8kenjfw.mjs +2 -0
- package/dist/chunks/cli-0.7.5-dc34hzge.mjs +12 -0
- package/dist/chunks/cli-0.7.5-ddpksb1g.mjs +2 -0
- package/dist/chunks/cli-0.7.5-dp4tresm.mjs +2 -0
- package/dist/chunks/cli-0.7.5-dx6zs9qf.mjs +2 -0
- package/dist/chunks/cli-0.7.5-dzyyype0.mjs +2 -0
- package/dist/chunks/cli-0.7.5-e7mb7d0a.mjs +10 -0
- package/dist/chunks/cli-0.7.5-e8m1fhax.mjs +2 -0
- package/dist/chunks/cli-0.7.5-eeb6rjs0.mjs +2 -0
- package/dist/chunks/cli-0.7.5-ek1sq6b5.mjs +2 -0
- package/dist/chunks/cli-0.7.5-f5jj9gaq.mjs +2 -0
- package/dist/chunks/cli-0.7.5-f8j1xqbv.mjs +2 -0
- package/dist/chunks/cli-0.7.5-f9jr5v5w.mjs +5 -0
- package/dist/chunks/cli-0.7.5-f9v35634.mjs +2 -0
- package/dist/chunks/cli-0.7.5-fjd3yr3y.mjs +2 -0
- package/dist/chunks/cli-0.7.5-fsr31z4k.mjs +12 -0
- package/dist/chunks/cli-0.7.5-ftngeevg.mjs +2 -0
- package/dist/chunks/cli-0.7.5-fzamc565.mjs +3 -0
- package/dist/chunks/cli-0.7.5-fzktcx0s.mjs +4 -0
- package/dist/chunks/cli-0.7.5-fzqampqh.mjs +4 -0
- package/dist/chunks/cli-0.7.5-g3ejs520.mjs +2 -0
- package/dist/chunks/cli-0.7.5-gb57bm0v.mjs +2 -0
- package/dist/chunks/cli-0.7.5-gbz8thht.mjs +50 -0
- package/dist/chunks/cli-0.7.5-gd8wcttv.mjs +3 -0
- package/dist/chunks/cli-0.7.5-gdadd4x4.mjs +2 -0
- package/dist/chunks/cli-0.7.5-gfq85y17.mjs +2 -0
- package/dist/chunks/cli-0.7.5-gh00zb08.mjs +18 -0
- package/dist/chunks/cli-0.7.5-ghq2axmf.mjs +194 -0
- package/dist/chunks/cli-0.7.5-gmew5n1p.mjs +2 -0
- package/dist/chunks/cli-0.7.5-gpbvs2kz.mjs +2 -0
- package/dist/chunks/cli-0.7.5-h3p8qw3f.mjs +2 -0
- package/dist/chunks/cli-0.7.5-h6e17t7j.mjs +2 -0
- package/dist/chunks/cli-0.7.5-h9s62ky5.mjs +2 -0
- package/dist/chunks/cli-0.7.5-hb39f7nj.mjs +2 -0
- package/dist/chunks/cli-0.7.5-hbgzm4wt.mjs +9 -0
- package/dist/chunks/cli-0.7.5-hce2yd4f.mjs +2 -0
- package/dist/chunks/cli-0.7.5-hcxagyjb.mjs +2 -0
- package/dist/chunks/cli-0.7.5-hd1mkmqa.mjs +2 -0
- package/dist/chunks/cli-0.7.5-hfej6gk7.mjs +2 -0
- package/dist/chunks/cli-0.7.5-hfvrp8qk.mjs +2 -0
- package/dist/chunks/cli-0.7.5-hh8ynv80.mjs +2 -0
- package/dist/chunks/cli-0.7.5-hj89dnh6.mjs +2 -0
- package/dist/chunks/cli-0.7.5-hp8g8gw0.mjs +2 -0
- package/dist/chunks/cli-0.7.5-htnhe6mt.mjs +2 -0
- package/dist/chunks/cli-0.7.5-hxk7g9fk.mjs +2 -0
- package/dist/chunks/cli-0.7.5-hyyd4eh8.mjs +2 -0
- package/dist/chunks/cli-0.7.5-j27qn7ks.mjs +2 -0
- package/dist/chunks/cli-0.7.5-jc93grn1.mjs +2 -0
- package/dist/chunks/cli-0.7.5-jwcpd0fz.mjs +2 -0
- package/dist/chunks/cli-0.7.5-jx9x8eh7.mjs +2 -0
- package/dist/chunks/cli-0.7.5-k2nqj3ry.mjs +39 -0
- package/dist/chunks/cli-0.7.5-kj54k6vh.mjs +4 -0
- package/dist/chunks/cli-0.7.5-krbmx93g.mjs +2 -0
- package/dist/chunks/cli-0.7.5-kzmgwzjq.mjs +7 -0
- package/dist/chunks/cli-0.7.5-m8cf1p72.mjs +2 -0
- package/dist/chunks/cli-0.7.5-medd7tha.mjs +2 -0
- package/dist/chunks/cli-0.7.5-mftmyrxg.mjs +2 -0
- package/dist/chunks/cli-0.7.5-mhdkfw8w.mjs +2 -0
- package/dist/chunks/cli-0.7.5-mk1nsvev.mjs +2 -0
- package/dist/chunks/cli-0.7.5-mkypasee.mjs +3 -0
- package/dist/chunks/cli-0.7.5-mtaq950q.mjs +2 -0
- package/dist/chunks/cli-0.7.5-myvw92ta.mjs +2 -0
- package/dist/chunks/cli-0.7.5-n8nsc1fy.mjs +4 -0
- package/dist/chunks/cli-0.7.5-p72rah24.mjs +2 -0
- package/dist/chunks/cli-0.7.5-paykwdd9.mjs +26 -0
- package/dist/chunks/cli-0.7.5-pd9x4y8x.mjs +2 -0
- package/dist/chunks/cli-0.7.5-pm9grnq1.mjs +67 -0
- package/dist/chunks/cli-0.7.5-pmsw8q6q.mjs +2 -0
- package/dist/chunks/cli-0.7.5-pxj8y53k.mjs +2 -0
- package/dist/chunks/cli-0.7.5-q4nf1yjd.mjs +2 -0
- package/dist/chunks/cli-0.7.5-qpqfdmsk.mjs +4 -0
- package/dist/chunks/cli-0.7.5-qxdvdw89.mjs +3 -0
- package/dist/chunks/cli-0.7.5-qzhygzzn.mjs +5 -0
- package/dist/chunks/cli-0.7.5-r5ckgfah.mjs +2 -0
- package/dist/chunks/cli-0.7.5-rahmqve7.mjs +2 -0
- package/dist/chunks/cli-0.7.5-rbv538zg.mjs +2 -0
- package/dist/chunks/cli-0.7.5-rc47zyrc.mjs +2 -0
- package/dist/chunks/cli-0.7.5-rg2nrraj.mjs +2 -0
- package/dist/chunks/cli-0.7.5-rpnr09s5.mjs +2 -0
- package/dist/chunks/cli-0.7.5-rqvar6g7.mjs +16 -0
- package/dist/chunks/cli-0.7.5-s65rbrvj.mjs +58 -0
- package/dist/chunks/cli-0.7.5-sq0v922e.mjs +6 -0
- package/dist/chunks/cli-0.7.5-t77nd6kj.mjs +2 -0
- package/dist/chunks/cli-0.7.5-tbrfr6hj.mjs +2 -0
- package/dist/chunks/cli-0.7.5-tqwr1q73.mjs +4 -0
- package/dist/chunks/cli-0.7.5-tzc3pn7w.mjs +2 -0
- package/dist/chunks/cli-0.7.5-v85dx0nq.mjs +2 -0
- package/dist/chunks/cli-0.7.5-v8apq7df.mjs +15 -0
- package/dist/chunks/cli-0.7.5-vhkgs6h9.mjs +2 -0
- package/dist/chunks/cli-0.7.5-vktpnz25.mjs +2 -0
- package/dist/chunks/cli-0.7.5-vmr9xqzs.mjs +6 -0
- package/dist/chunks/cli-0.7.5-vzssapx0.mjs +2 -0
- package/dist/chunks/cli-0.7.5-w2vyrb4j.mjs +18 -0
- package/dist/chunks/cli-0.7.5-wd0yxrvg.mjs +2 -0
- package/dist/chunks/cli-0.7.5-wj3w13az.mjs +2 -0
- package/dist/chunks/cli-0.7.5-wjfmb762.mjs +2 -0
- package/dist/chunks/cli-0.7.5-wjpv5xmb.mjs +4 -0
- package/dist/chunks/cli-0.7.5-wpgtmkvc.mjs +2 -0
- package/dist/chunks/cli-0.7.5-x2z686xj.mjs +25 -0
- package/dist/chunks/cli-0.7.5-x4kb7k70.mjs +2 -0
- package/dist/chunks/cli-0.7.5-xbqxjykr.mjs +2 -0
- package/dist/chunks/cli-0.7.5-xfxxbwbm.mjs +12 -0
- package/dist/chunks/cli-0.7.5-xg32zg8k.mjs +24 -0
- package/dist/chunks/cli-0.7.5-xgdba5yp.mjs +2 -0
- package/dist/chunks/cli-0.7.5-xt0mqg4f.mjs +2 -0
- package/dist/chunks/cli-0.7.5-xv3vs7j9.mjs +2 -0
- package/dist/chunks/cli-0.7.5-xv6ra0kw.mjs +2 -0
- package/dist/chunks/cli-0.7.5-xvveqsx1.mjs +2 -0
- package/dist/chunks/cli-0.7.5-xwzejhw4.mjs +3 -0
- package/dist/chunks/cli-0.7.5-y3yqkc5p.mjs +12 -0
- package/dist/chunks/cli-0.7.5-y58r6dq0.mjs +2 -0
- package/dist/chunks/cli-0.7.5-y7ehmef8.mjs +1 -0
- package/dist/chunks/cli-0.7.5-ydfgf7qv.mjs +21 -0
- package/dist/chunks/cli-0.7.5-yjwnjtvn.mjs +2 -0
- package/dist/chunks/cli-0.7.5-yr70t57x.mjs +2 -0
- package/dist/chunks/cli-0.7.5-z2yexv2e.mjs +2 -0
- package/dist/chunks/cli-0.7.5-z3dzj7v3.mjs +2 -0
- package/dist/chunks/cli-0.7.5-z40jp8ew.mjs +4 -0
- package/dist/chunks/cli-0.7.5-zde1m2ej.mjs +4 -0
- package/dist/chunks/cli-0.7.5-zdq0vv92.mjs +2 -0
- package/dist/chunks/cli-0.7.5-zftjc44p.mjs +2 -0
- package/dist/chunks/cli-0.7.5-zj0xcj80.mjs +2 -0
- package/dist/chunks/cli-0.7.5-zpmehtjz.mjs +2 -0
- package/dist/chunks/cli-0.7.5-zsmx06gy.mjs +2 -0
- package/dist/chunks/client-0.7.5-w36k0xa4.mjs +1 -0
- package/dist/chunks/color-0.7.5-6q028b6j.mjs +1 -0
- package/dist/chunks/compact-0.7.5-brw7r66h.mjs +3 -0
- package/dist/chunks/config-0.7.5-23y0vmxv.mjs +1 -0
- package/dist/chunks/config-0.7.5-scfm2ghv.mjs +1 -0
- package/dist/chunks/constants-0.7.5-gtkzq93a.mjs +1 -0
- package/dist/chunks/context-0.7.5-5sr5p20h.mjs +1 -0
- package/dist/chunks/context-noninteractive-0.7.5-478h1wv5.mjs +1 -0
- package/dist/chunks/conversation-0.7.5-qmek5yn5.mjs +1 -0
- package/dist/chunks/copilotHeaders-0.7.5-hbgm40tm.mjs +1 -0
- package/dist/chunks/copy-0.7.5-1j6r3503.mjs +9 -0
- package/dist/chunks/cost-0.7.5-qmhkw8cf.mjs +1 -0
- package/dist/chunks/createSSHSession-0.7.5-km7csf59.mjs +1 -0
- package/dist/chunks/createSession-0.7.5-4ry726v4.mjs +1 -0
- package/dist/chunks/debug-0.7.5-f7ay5633.mjs +1 -0
- package/dist/chunks/defaultActionDeps-0.7.5-fahgw2xf.mjs +1446 -0
- package/dist/chunks/desktop-0.7.5-177ca2xz.mjs +1 -0
- package/dist/chunks/detectRepository-0.7.5-9tagnw7m.mjs +1 -0
- package/dist/chunks/detection-0.7.5-g5p116dy.mjs +1 -0
- package/dist/chunks/diff-0.7.5-gwzyav0v.mjs +1 -0
- package/dist/chunks/doctor-0.7.5-eqrnfehr.mjs +1 -0
- package/dist/chunks/doctorDiagnostic-0.7.5-wtjp576r.mjs +1 -0
- package/dist/chunks/earlyInput-0.7.5-cbbxamm6.mjs +1 -0
- package/dist/chunks/effort-0.7.5-h1m1pcsc.mjs +10 -0
- package/dist/chunks/engine-0.7.5-3s2wmkmq.mjs +1 -0
- package/dist/chunks/envLessBridgeConfig-0.7.5-6kr19meq.mjs +1 -0
- package/dist/chunks/envUtils-0.7.5-gna3tn15.mjs +1 -0
- package/dist/chunks/environmentSelection-0.7.5-ax80y2br.mjs +1 -0
- package/dist/chunks/environments-0.7.5-vzttb5rv.mjs +1 -0
- package/dist/chunks/errors-0.7.5-39sxdk37.mjs +1 -0
- package/dist/chunks/exampleCommands-0.7.5-xsrm4x8y.mjs +1 -0
- package/dist/chunks/exit-0.7.5-bkbd5npx.mjs +1 -0
- package/dist/chunks/explorer-0.7.5-19gvmqgr.mjs +1 -0
- package/dist/chunks/export-0.7.5-34j4n9kh.mjs +2 -0
- package/dist/chunks/extra-usage-0.7.5-b97sj0ap.mjs +1 -0
- package/dist/chunks/extra-usage-noninteractive-0.7.5-xd1mr1j5.mjs +1 -0
- package/dist/chunks/fast-0.7.5-0wqk7a9x.mjs +1 -0
- package/dist/chunks/feedback-0.7.5-vtbcry18.mjs +14 -0
- package/dist/chunks/firstPartyEventLogger-0.7.5-xqazh0ye.mjs +1 -0
- package/dist/chunks/git-0.7.5-e2235c1t.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-0.7.5-rv73mazg.mjs +1 -0
- package/dist/chunks/goal-0.7.5-cqb7e1pf.mjs +4 -0
- package/dist/chunks/grove-0.7.5-qsvaz9x8.mjs +1 -0
- package/dist/chunks/growthbook-0.7.5-3qfr8h94.mjs +1 -0
- package/dist/chunks/headless-0.7.5-wbtxesec.mjs +2 -0
- package/dist/chunks/heapdump-0.7.5-nc48tbvw.mjs +6 -0
- package/dist/chunks/help-0.7.5-6jm9nrcy.mjs +1 -0
- package/dist/chunks/hookChains-0.7.5-khy46vaw.mjs +3 -0
- package/dist/chunks/hooks-0.7.5-167mv9th.mjs +1 -0
- package/dist/chunks/hooks-0.7.5-nx4910ga.mjs +79 -0
- package/dist/chunks/ide-0.7.5-n6hvszan.mjs +3 -0
- package/dist/chunks/image-processor-napi-0.7.5-ndmd493b.mjs +1 -0
- package/dist/chunks/inboundAttachments-0.7.5-1nbx425g.mjs +1 -0
- package/dist/chunks/index-0.7.5-5j4305xq.mjs +1 -0
- package/dist/chunks/index-0.7.5-63xhx5j4.mjs +1 -0
- package/dist/chunks/index-0.7.5-7e5rqqh4.mjs +9 -0
- package/dist/chunks/index-0.7.5-a12krakj.mjs +2 -0
- package/dist/chunks/index-0.7.5-bsq6e16w.mjs +1 -0
- package/dist/chunks/index-0.7.5-caethvnv.mjs +1 -0
- package/dist/chunks/index-0.7.5-cx1vr981.mjs +17 -0
- package/dist/chunks/index-0.7.5-dcd3w04q.mjs +1 -0
- package/dist/chunks/index-0.7.5-ekrwk3jz.mjs +9 -0
- package/dist/chunks/index-0.7.5-h4cbsc0a.mjs +2 -0
- package/dist/chunks/index-0.7.5-hvzcp0kn.mjs +5 -0
- package/dist/chunks/index-0.7.5-kh3ebxx0.mjs +1 -0
- package/dist/chunks/index-0.7.5-kzhpap3n.mjs +1 -0
- package/dist/chunks/index-0.7.5-njd4yt57.mjs +1 -0
- package/dist/chunks/index-0.7.5-r1ny63xd.mjs +1 -0
- package/dist/chunks/index-0.7.5-ry24w7t2.mjs +1 -0
- package/dist/chunks/index-0.7.5-syzp921n.mjs +30 -0
- package/dist/chunks/index-0.7.5-t7jx62n3.mjs +1 -0
- package/dist/chunks/index-0.7.5-wj36e6k0.mjs +1 -0
- package/dist/chunks/index-0.7.5-yv1dtnpt.mjs +1 -0
- package/dist/chunks/index-0.7.5-yzrfjy23.mjs +1 -0
- package/dist/chunks/index-0.7.5-zfker4t5.mjs +1 -0
- package/dist/chunks/index-0.7.5-zxrxsyxj.mjs +1 -0
- package/dist/chunks/init-0.7.5-hh6v113j.mjs +1 -0
- package/dist/chunks/initReplBridge-0.7.5-c1za6hde.mjs +1 -0
- package/dist/chunks/ink-0.7.5-56yev9n3.mjs +1 -0
- package/dist/chunks/insights-0.7.5-qz9bb1ry.mjs +870 -0
- package/dist/chunks/install-0.7.5-sbxfgz0w.mjs +1 -0
- package/dist/chunks/install-github-app-0.7.5-7txny4wr.mjs +149 -0
- package/dist/chunks/install-slack-app-0.7.5-69pj36yh.mjs +1 -0
- package/dist/chunks/instrumentation-0.7.5-q9v6ptmg.mjs +1 -0
- package/dist/chunks/interactiveHelpers-0.7.5-40q6avjg.mjs +1 -0
- package/dist/chunks/keybindings-0.7.5-wj2ms9t5.mjs +2 -0
- package/dist/chunks/knowledge-0.7.5-t1ay4xsf.mjs +2 -0
- package/dist/chunks/latestVersionCache-0.7.5-2sn56g0f.mjs +1 -0
- package/dist/chunks/loadAgentsDir-0.7.5-fw6g0k2f.mjs +1 -0
- package/dist/chunks/loadPluginHooks-0.7.5-32j9xrwe.mjs +1 -0
- package/dist/chunks/loadPluginHooks-0.7.5-wex6715a.mjs +1 -0
- package/dist/chunks/log-0.7.5-ksrcjwgt.mjs +1 -0
- package/dist/chunks/main-0.7.5-y3x6nz9x.mjs +1 -0
- package/dist/chunks/managedEnv-0.7.5-8t44hgy8.mjs +1 -0
- package/dist/chunks/mcp-0.7.5-60fgv34x.mjs +1 -0
- package/dist/chunks/mcp-0.7.5-mbfzrcm8.mjs +4 -0
- package/dist/chunks/mcp-0.7.5-rkaypthk.mjs +17 -0
- package/dist/chunks/mcpb-0.7.5-v66xmybr.mjs +1 -0
- package/dist/chunks/memory-0.7.5-fvpt844c.mjs +3 -0
- package/dist/chunks/model-0.7.5-tsr4h9g8.mjs +2 -0
- package/dist/chunks/model-0.7.5-z5fcqt5b.mjs +1 -0
- package/dist/chunks/node-0.7.5-ym7zwnx3.mjs +12 -0
- package/dist/chunks/oauth-0.7.5-pp4rkjfe.mjs +1 -0
- package/dist/chunks/openaiShim-0.7.5-vtkg5q0g.mjs +14 -0
- package/dist/chunks/output-style-0.7.5-13fnqr6c.mjs +1 -0
- package/dist/chunks/package-ZZWOLTXM-0.7.5-16qd12nt.mjs +1 -0
- package/dist/chunks/parseConnectUrl-0.7.5-s8jq90n0.mjs +1 -0
- package/dist/chunks/parser-0.7.5-eefzgrd7.mjs +1 -0
- package/dist/chunks/passes-0.7.5-4axt111x.mjs +1 -0
- package/dist/chunks/permissions-0.7.5-s0m3z1fe.mjs +3 -0
- package/dist/chunks/permissions-0.7.5-xdxqnd7w.mjs +1 -0
- package/dist/chunks/plan-0.7.5-wwgtg3j2.mjs +1 -0
- package/dist/chunks/plist-0.7.5-sqqsbn3c.mjs +1 -0
- package/dist/chunks/plugin-0.7.5-1d2gra71.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-0.7.5-5z80320b.mjs +1 -0
- package/dist/chunks/plugins-0.7.5-0a9ytst2.mjs +9 -0
- package/dist/chunks/preActionHook-0.7.5-pe8h6p21.mjs +2 -0
- package/dist/chunks/print-0.7.5-9ejsfw3k.mjs +57 -0
- package/dist/chunks/privacy-settings-0.7.5-d9ptjk2d.mjs +1 -0
- package/dist/chunks/process-0.7.5-fgwhv8bw.mjs +1 -0
- package/dist/chunks/processBashCommand-0.7.5-c619z7fd.mjs +1 -0
- package/dist/chunks/processSlashCommand-0.7.5-75p45f0t.mjs +9 -0
- package/dist/chunks/prompt-0.7.5-51c6hnqr.mjs +1 -0
- package/dist/chunks/prompt-0.7.5-cy0v1vqr.mjs +1 -0
- package/dist/chunks/prompts-0.7.5-wmn5bdx5.mjs +1 -0
- package/dist/chunks/protocolHandler-0.7.5-eeqecgkp.mjs +13 -0
- package/dist/chunks/provider-0.7.5-y0gpvctq.mjs +2 -0
- package/dist/chunks/providerProfiles-0.7.5-jrmjbp5b.mjs +1 -0
- package/dist/chunks/providerValidation-0.7.5-jgdgbk4q.mjs +6 -0
- package/dist/chunks/rate-limit-options-0.7.5-29f89kh1.mjs +1 -0
- package/dist/chunks/registerSubcommands-0.7.5-c36hzdav.mjs +34 -0
- package/dist/chunks/registry-0.7.5-whsh7x53.mjs +1 -0
- package/dist/chunks/release-notes-0.7.5-ptvapnr0.mjs +5 -0
- package/dist/chunks/reload-plugins-0.7.5-ka0e8hq5.mjs +2 -0
- package/dist/chunks/remote-env-0.7.5-qjxje9ma.mjs +1 -0
- package/dist/chunks/remoteBridgeCore-0.7.5-k3f68b7h.mjs +1 -0
- package/dist/chunks/remoteSession-0.7.5-rape7yd4.mjs +1 -0
- package/dist/chunks/rename-0.7.5-ktcd7rtq.mjs +1 -0
- package/dist/chunks/replBridgeHandle-0.7.5-phh34y8h.mjs +1 -0
- package/dist/chunks/replLauncher-0.7.5-sq476c2a.mjs +1 -0
- package/dist/chunks/resume-0.7.5-6tvrgh8j.mjs +2 -0
- package/dist/chunks/rewind-0.7.5-vd47v5rv.mjs +1 -0
- package/dist/chunks/rootOptions-0.7.5-wqt2k4rc.mjs +1 -0
- package/dist/chunks/sandbox-adapter-0.7.5-ky898f3m.mjs +1 -0
- package/dist/chunks/sandbox-toggle-0.7.5-7hkar7r5.mjs +1 -0
- package/dist/chunks/session-0.7.5-hkxz3wye.mjs +2 -0
- package/dist/chunks/sessionDiscovery-0.7.5-y04m8ab9.mjs +1 -0
- package/dist/chunks/sessionFileAccessHooks-0.7.5-f5rgs672.mjs +1 -0
- package/dist/chunks/sessionStorage-0.7.5-18q303bk.mjs +1 -0
- package/dist/chunks/settings-0.7.5-4hqnkkc8.mjs +1 -0
- package/dist/chunks/setup-0.7.5-y5xxwxbd.mjs +5 -0
- package/dist/chunks/sinks-0.7.5-cvxvp35v.mjs +1 -0
- package/dist/chunks/skills-0.7.5-kwgf9qjq.mjs +1 -0
- package/dist/chunks/startupProfiler-0.7.5-za7tk2tk.mjs +1 -0
- package/dist/chunks/startupUpdateCheck-0.7.5-czmgq418.mjs +1 -0
- package/dist/chunks/state-0.7.5-ak36peq3.mjs +1 -0
- package/dist/chunks/stats-0.7.5-er3ye8yh.mjs +6 -0
- package/dist/chunks/status-0.7.5-c5cjb8e4.mjs +1 -0
- package/dist/chunks/stickers-0.7.5-j3k2cxdh.mjs +1 -0
- package/dist/chunks/subprocessEnv-0.7.5-c9cn3hdx.mjs +1 -0
- package/dist/chunks/tasks-0.7.5-63j9r8xa.mjs +1 -0
- package/dist/chunks/teamHelpers-0.7.5-m7f40cd8.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-0.7.5-p9m6xw5v.mjs +1 -0
- package/dist/chunks/teleport-0.7.5-eznfwa79.mjs +1 -0
- package/dist/chunks/terminalSetup-0.7.5-jh6gn62d.mjs +1 -0
- package/dist/chunks/theme-0.7.5-ybd8jwyk.mjs +1 -0
- package/dist/chunks/thinkback-0.7.5-n7szmggb.mjs +1 -0
- package/dist/chunks/thinkback-play-0.7.5-7zmp1768.mjs +1 -0
- package/dist/chunks/toolPool-0.7.5-3086ep19.mjs +1 -0
- package/dist/chunks/toolSearch-0.7.5-ksvb5jn8.mjs +1 -0
- package/dist/chunks/tools-0.7.5-a8e705rj.mjs +1 -0
- package/dist/chunks/trustedDevice-0.7.5-skv46tba.mjs +1 -0
- package/dist/chunks/turndown.cjs-0.7.5-bv92xw4e.mjs +69 -0
- package/dist/chunks/types-0.7.5-63qbfwst.mjs +1 -0
- package/dist/chunks/ultrareviewCommand-0.7.5-8skwm5gw.mjs +4 -0
- package/dist/chunks/update-0.7.5-g0qcx3kr.mjs +86 -0
- package/dist/chunks/upgrade-0.7.5-gka5mmvk.mjs +1 -0
- package/dist/chunks/upload-0.7.5-6kw8akzx.mjs +7 -0
- package/dist/chunks/upstreamproxy-0.7.5-97n9j2vs.mjs +14 -0
- package/dist/chunks/url-handler-napi-0.7.5-2gqe7mr0.mjs +1 -0
- package/dist/chunks/usage-0.7.5-36hanm9f.mjs +1 -0
- package/dist/chunks/util-0.7.5-90a4jn87.mjs +1 -0
- package/dist/chunks/utils-0.7.5-8rhszmzb.mjs +1 -0
- package/dist/chunks/vim-0.7.5-nptszgna.mjs +1 -0
- package/dist/chunks/watcher-0.7.5-pqe6cg42.mjs +1 -0
- package/dist/chunks/wiki-0.7.5-zngdktge.mjs +132 -0
- package/dist/chunks/workflows-0.7.5-efk35dv0.mjs +1 -0
- package/dist/chunks/worktree-0.7.5-ptj9226d.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-0.7.5-whaev58q.mjs +1 -0
- package/dist/chunks/wrapper-0.7.5-dfb28jc5.mjs +7 -0
- package/dist/claudin-vscode.vsix +0 -0
- package/dist/cli.mjs +2 -2
- package/package.json +12 -4
- package/dist/chunks/AgentTool-0.7.2-9q9cf0s2.mjs +0 -1
- package/dist/chunks/App-0.7.2-1yazneaj.mjs +0 -1
- package/dist/chunks/ApproveApiKey-0.7.2-r6n7yk1e.mjs +0 -1
- package/dist/chunks/AssistantSessionChooser-0.7.2-bq8tfzkt.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-0.7.2-exq70cpt.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-0.7.2-4wq8e6bg.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-0.7.2-tfd9bwks.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-0.7.2-x4nff112.mjs +0 -1
- package/dist/chunks/DiffDialog-0.7.2-rynq65x0.mjs +0 -7
- package/dist/chunks/Doctor-0.7.2-47kvka8v.mjs +0 -1
- package/dist/chunks/ExplorerDialog-0.7.2-whxpmm57.mjs +0 -6
- package/dist/chunks/Grove-0.7.2-xd5sc9zj.mjs +0 -1
- package/dist/chunks/ITermBackend-0.7.2-d9gvx90g.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-0.7.2-caf92zwe.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-0.7.2-4ahhegj6.mjs +0 -1
- package/dist/chunks/MigrationDialog-0.7.2-j7wxkhr6.mjs +0 -1
- package/dist/chunks/Onboarding-0.7.2-4rq70qsr.mjs +0 -1
- package/dist/chunks/ProviderManager-0.7.2-gjmzm35c.mjs +0 -1
- package/dist/chunks/REPL-0.7.2-a8j6n2qa.mjs +0 -1
- package/dist/chunks/ResumeConversation-0.7.2-84wvvrx5.mjs +0 -1
- package/dist/chunks/SnapshotUpdateDialog-0.7.2-wk0qx8j6.mjs +0 -1
- package/dist/chunks/TeleportProgress-0.7.2-dj8zvkv5.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-0.7.2-ey2mmrd3.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-0.7.2-j4vtrwzz.mjs +0 -1
- package/dist/chunks/TmuxBackend-0.7.2-en2ev5fc.mjs +0 -9
- package/dist/chunks/ToolSearchTool-0.7.2-qkk7a91f.mjs +0 -1
- package/dist/chunks/TrustDialog-0.7.2-eh3tqgea.mjs +0 -1
- package/dist/chunks/activeProvider-0.7.2-53s4g0s8.mjs +0 -1
- package/dist/chunks/add-dir-0.7.2-p09yjmj7.mjs +0 -1
- package/dist/chunks/agents-0.7.2-0m73ejzs.mjs +0 -3
- package/dist/chunks/agents-0.7.2-a1zpb02y.mjs +0 -110
- package/dist/chunks/api-0.7.2-gwy9gs1j.mjs +0 -1
- package/dist/chunks/asciicast-0.7.2-5vqep6sv.mjs +0 -1
- package/dist/chunks/assistant-0.7.2-txvf934b.mjs +0 -1
- package/dist/chunks/auth-0.7.2-02q30rsb.mjs +0 -1
- package/dist/chunks/auth-0.7.2-x29x49yh.mjs +0 -1
- package/dist/chunks/autoMode-0.7.2-5jnc8v33.mjs +0 -48
- package/dist/chunks/autoUpdater-0.7.2-pdqvbd3c.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-0.7.2-1m4w90vq.mjs +0 -1
- package/dist/chunks/branch-0.7.2-wgyhx41x.mjs +0 -4
- package/dist/chunks/bridge-0.7.2-f4ryhejx.mjs +0 -2
- package/dist/chunks/bridgeConfig-0.7.2-g6w4rghz.mjs +0 -1
- package/dist/chunks/bridgeEnabled-0.7.2-5aspb655.mjs +0 -1
- package/dist/chunks/bridgeMain-0.7.2-fey03cj7.mjs +0 -88
- package/dist/chunks/bridgePointer-0.7.2-8k41syzc.mjs +0 -1
- package/dist/chunks/btw-0.7.2-syxbtnxj.mjs +0 -1
- package/dist/chunks/buddy-0.7.2-gge72j8t.mjs +0 -3
- package/dist/chunks/cacache-0.7.2-gztwvvrm.mjs +0 -1
- package/dist/chunks/cache-probe-0.7.2-1gytt4j5.mjs +0 -21
- package/dist/chunks/cacheStats-0.7.2-sd9n48k1.mjs +0 -4
- package/dist/chunks/caches-0.7.2-cqzt5zwn.mjs +0 -1
- package/dist/chunks/claudeDesktop-0.7.2-7pna3peh.mjs +0 -1
- package/dist/chunks/claudemd-0.7.2-n2d9tbz6.mjs +0 -1
- package/dist/chunks/clear-0.7.2-v59pskrm.mjs +0 -1
- package/dist/chunks/clearTerminal-0.7.2-p4d7q5b7.mjs +0 -1
- package/dist/chunks/cli-0.7.2-0cmw1f4j.mjs +0 -2
- package/dist/chunks/cli-0.7.2-0mj25tns.mjs +0 -2
- package/dist/chunks/cli-0.7.2-0v8f8cx4.mjs +0 -2
- package/dist/chunks/cli-0.7.2-19vhaz2c.mjs +0 -2
- package/dist/chunks/cli-0.7.2-1a4j9k2f.mjs +0 -2
- package/dist/chunks/cli-0.7.2-1aerk8aa.mjs +0 -2
- package/dist/chunks/cli-0.7.2-1rwkghr2.mjs +0 -2
- package/dist/chunks/cli-0.7.2-21mtjks8.mjs +0 -15
- package/dist/chunks/cli-0.7.2-23xjb2nt.mjs +0 -2
- package/dist/chunks/cli-0.7.2-26rzbaez.mjs +0 -2
- package/dist/chunks/cli-0.7.2-29hh46ve.mjs +0 -3
- package/dist/chunks/cli-0.7.2-2dbmqwyn.mjs +0 -2
- package/dist/chunks/cli-0.7.2-2rj33835.mjs +0 -6
- package/dist/chunks/cli-0.7.2-31k7gjq7.mjs +0 -2
- package/dist/chunks/cli-0.7.2-358vh55m.mjs +0 -2
- package/dist/chunks/cli-0.7.2-3cc67r6d.mjs +0 -2
- package/dist/chunks/cli-0.7.2-3frg7csa.mjs +0 -2
- package/dist/chunks/cli-0.7.2-3s2zd715.mjs +0 -3
- package/dist/chunks/cli-0.7.2-3synxf81.mjs +0 -2
- package/dist/chunks/cli-0.7.2-40f37y02.mjs +0 -2
- package/dist/chunks/cli-0.7.2-40xymk1q.mjs +0 -2
- package/dist/chunks/cli-0.7.2-437jawbh.mjs +0 -2
- package/dist/chunks/cli-0.7.2-43d0yq0h.mjs +0 -2
- package/dist/chunks/cli-0.7.2-44rzmsbx.mjs +0 -2
- package/dist/chunks/cli-0.7.2-4d6z9fdj.mjs +0 -2
- package/dist/chunks/cli-0.7.2-4g4d682x.mjs +0 -3
- package/dist/chunks/cli-0.7.2-520tgkhw.mjs +0 -5438
- package/dist/chunks/cli-0.7.2-53qayxqk.mjs +0 -2
- package/dist/chunks/cli-0.7.2-5415yrkc.mjs +0 -2
- package/dist/chunks/cli-0.7.2-55ye29jy.mjs +0 -2
- package/dist/chunks/cli-0.7.2-5750g5et.mjs +0 -2
- package/dist/chunks/cli-0.7.2-59wm2srd.mjs +0 -2
- package/dist/chunks/cli-0.7.2-5aka4emf.mjs +0 -133
- package/dist/chunks/cli-0.7.2-5c89p68w.mjs +0 -2
- package/dist/chunks/cli-0.7.2-5ca5nqtj.mjs +0 -4
- package/dist/chunks/cli-0.7.2-5e72m61f.mjs +0 -25
- package/dist/chunks/cli-0.7.2-5ff63f31.mjs +0 -4
- package/dist/chunks/cli-0.7.2-5gqht4d7.mjs +0 -2
- package/dist/chunks/cli-0.7.2-5qd0bn5g.mjs +0 -193
- package/dist/chunks/cli-0.7.2-5tacs42k.mjs +0 -2
- package/dist/chunks/cli-0.7.2-5y498dyr.mjs +0 -2
- package/dist/chunks/cli-0.7.2-5y75zyrv.mjs +0 -15
- package/dist/chunks/cli-0.7.2-5yrman6f.mjs +0 -2
- package/dist/chunks/cli-0.7.2-60exfzc0.mjs +0 -2
- package/dist/chunks/cli-0.7.2-65v6wt4g.mjs +0 -2
- package/dist/chunks/cli-0.7.2-68dn8am7.mjs +0 -2
- package/dist/chunks/cli-0.7.2-6pjgt9bx.mjs +0 -2
- package/dist/chunks/cli-0.7.2-6zd4a6yh.mjs +0 -12
- package/dist/chunks/cli-0.7.2-796x24s1.mjs +0 -2
- package/dist/chunks/cli-0.7.2-7dh7rk2t.mjs +0 -2
- package/dist/chunks/cli-0.7.2-7rjfehxm.mjs +0 -2
- package/dist/chunks/cli-0.7.2-7xfph0pz.mjs +0 -2
- package/dist/chunks/cli-0.7.2-81s45w7r.mjs +0 -2
- package/dist/chunks/cli-0.7.2-828f420c.mjs +0 -7
- package/dist/chunks/cli-0.7.2-83dd0h2c.mjs +0 -2
- package/dist/chunks/cli-0.7.2-88h70xrj.mjs +0 -50
- package/dist/chunks/cli-0.7.2-894093rv.mjs +0 -2
- package/dist/chunks/cli-0.7.2-89wj5h3q.mjs +0 -2
- package/dist/chunks/cli-0.7.2-8pfcc363.mjs +0 -12
- package/dist/chunks/cli-0.7.2-8qd7xft9.mjs +0 -16
- package/dist/chunks/cli-0.7.2-9156j3vm.mjs +0 -6
- package/dist/chunks/cli-0.7.2-9328ezjz.mjs +0 -3
- package/dist/chunks/cli-0.7.2-9953mwyy.mjs +0 -2
- package/dist/chunks/cli-0.7.2-99am4r15.mjs +0 -4
- package/dist/chunks/cli-0.7.2-9kn29b9a.mjs +0 -4
- package/dist/chunks/cli-0.7.2-9ry87dm1.mjs +0 -2
- package/dist/chunks/cli-0.7.2-9vr6ts7b.mjs +0 -2
- package/dist/chunks/cli-0.7.2-a5svqzyj.mjs +0 -2
- package/dist/chunks/cli-0.7.2-a6q1amed.mjs +0 -2
- package/dist/chunks/cli-0.7.2-a9324x4q.mjs +0 -8
- package/dist/chunks/cli-0.7.2-aaxbm02p.mjs +0 -2
- package/dist/chunks/cli-0.7.2-apg4ptg9.mjs +0 -2
- package/dist/chunks/cli-0.7.2-atsd6734.mjs +0 -2
- package/dist/chunks/cli-0.7.2-avk3azcp.mjs +0 -2
- package/dist/chunks/cli-0.7.2-aye3y5eg.mjs +0 -2
- package/dist/chunks/cli-0.7.2-b0v1mt53.mjs +0 -2
- package/dist/chunks/cli-0.7.2-b9pdb0nv.mjs +0 -26
- package/dist/chunks/cli-0.7.2-bd97qyyb.mjs +0 -2
- package/dist/chunks/cli-0.7.2-bdnz1mnz.mjs +0 -21
- package/dist/chunks/cli-0.7.2-bjk14f5p.mjs +0 -2
- package/dist/chunks/cli-0.7.2-bmz47g1t.mjs +0 -18
- package/dist/chunks/cli-0.7.2-bttmh4fa.mjs +0 -4
- package/dist/chunks/cli-0.7.2-ccy16hvg.mjs +0 -2
- package/dist/chunks/cli-0.7.2-chg4zqj2.mjs +0 -2
- package/dist/chunks/cli-0.7.2-cjhzamwx.mjs +0 -2
- package/dist/chunks/cli-0.7.2-cqh66sd8.mjs +0 -2
- package/dist/chunks/cli-0.7.2-cqqj8v1e.mjs +0 -6
- package/dist/chunks/cli-0.7.2-czgmcj2j.mjs +0 -2
- package/dist/chunks/cli-0.7.2-d5fbych4.mjs +0 -2
- package/dist/chunks/cli-0.7.2-dggndd24.mjs +0 -2
- package/dist/chunks/cli-0.7.2-drxj7wsn.mjs +0 -2
- package/dist/chunks/cli-0.7.2-ds7h4ntr.mjs +0 -2
- package/dist/chunks/cli-0.7.2-dxm2c139.mjs +0 -24
- package/dist/chunks/cli-0.7.2-dzt53r0y.mjs +0 -2
- package/dist/chunks/cli-0.7.2-e6dtw86q.mjs +0 -2
- package/dist/chunks/cli-0.7.2-ec60dmtg.mjs +0 -2
- package/dist/chunks/cli-0.7.2-edf740pd.mjs +0 -5
- package/dist/chunks/cli-0.7.2-eey9qnsc.mjs +0 -2
- package/dist/chunks/cli-0.7.2-eyjs1wq5.mjs +0 -2
- package/dist/chunks/cli-0.7.2-f4nt233k.mjs +0 -3
- package/dist/chunks/cli-0.7.2-fcadqwem.mjs +0 -1
- package/dist/chunks/cli-0.7.2-fkp8v4sr.mjs +0 -2
- package/dist/chunks/cli-0.7.2-g3k7m45h.mjs +0 -12
- package/dist/chunks/cli-0.7.2-g6cqgcyf.mjs +0 -2
- package/dist/chunks/cli-0.7.2-gar34ch2.mjs +0 -4
- package/dist/chunks/cli-0.7.2-gn8ff3x2.mjs +0 -2
- package/dist/chunks/cli-0.7.2-gssxkynf.mjs +0 -2
- package/dist/chunks/cli-0.7.2-gx0r7hs8.mjs +0 -2
- package/dist/chunks/cli-0.7.2-gysw8esj.mjs +0 -2
- package/dist/chunks/cli-0.7.2-h248q4gt.mjs +0 -2
- package/dist/chunks/cli-0.7.2-h3jq0nx1.mjs +0 -2
- package/dist/chunks/cli-0.7.2-h7m849rt.mjs +0 -2
- package/dist/chunks/cli-0.7.2-h903zfjz.mjs +0 -2
- package/dist/chunks/cli-0.7.2-hbmczrch.mjs +0 -9
- package/dist/chunks/cli-0.7.2-he1hdn59.mjs +0 -18
- package/dist/chunks/cli-0.7.2-hspcdhd7.mjs +0 -2
- package/dist/chunks/cli-0.7.2-hv1z3had.mjs +0 -3
- package/dist/chunks/cli-0.7.2-hvk7rgt3.mjs +0 -2
- package/dist/chunks/cli-0.7.2-j029dkan.mjs +0 -3
- package/dist/chunks/cli-0.7.2-j0s33kp5.mjs +0 -2
- package/dist/chunks/cli-0.7.2-j3vx2jqw.mjs +0 -2
- package/dist/chunks/cli-0.7.2-jbhdwhp3.mjs +0 -2
- package/dist/chunks/cli-0.7.2-jc7jm1vm.mjs +0 -2
- package/dist/chunks/cli-0.7.2-jkt40yfs.mjs +0 -2
- package/dist/chunks/cli-0.7.2-jn2497vh.mjs +0 -2
- package/dist/chunks/cli-0.7.2-jv6k1kz6.mjs +0 -2
- package/dist/chunks/cli-0.7.2-k40k933y.mjs +0 -24
- package/dist/chunks/cli-0.7.2-k6jnr159.mjs +0 -2
- package/dist/chunks/cli-0.7.2-k9qpm29e.mjs +0 -2
- package/dist/chunks/cli-0.7.2-kyd7mrxn.mjs +0 -2
- package/dist/chunks/cli-0.7.2-mapkx1gt.mjs +0 -2
- package/dist/chunks/cli-0.7.2-mg2tmjs3.mjs +0 -12
- package/dist/chunks/cli-0.7.2-mja3g8j0.mjs +0 -2
- package/dist/chunks/cli-0.7.2-mp7jnva5.mjs +0 -15
- package/dist/chunks/cli-0.7.2-mqv265gk.mjs +0 -42
- package/dist/chunks/cli-0.7.2-mw93dmjz.mjs +0 -3
- package/dist/chunks/cli-0.7.2-n1ncm3tc.mjs +0 -2
- package/dist/chunks/cli-0.7.2-n8kpba5n.mjs +0 -2
- package/dist/chunks/cli-0.7.2-ndt224p1.mjs +0 -2
- package/dist/chunks/cli-0.7.2-nf346apq.mjs +0 -18
- package/dist/chunks/cli-0.7.2-ngdtr2fz.mjs +0 -2
- package/dist/chunks/cli-0.7.2-nkafymh4.mjs +0 -3
- package/dist/chunks/cli-0.7.2-nxtag6y2.mjs +0 -45
- package/dist/chunks/cli-0.7.2-p42bcqhs.mjs +0 -3
- package/dist/chunks/cli-0.7.2-pbaedfkk.mjs +0 -67
- package/dist/chunks/cli-0.7.2-pjavf176.mjs +0 -2
- package/dist/chunks/cli-0.7.2-pm05qj0a.mjs +0 -4
- package/dist/chunks/cli-0.7.2-ppaeptkd.mjs +0 -2
- package/dist/chunks/cli-0.7.2-q2pk22xv.mjs +0 -2
- package/dist/chunks/cli-0.7.2-q85af7gm.mjs +0 -2
- package/dist/chunks/cli-0.7.2-q88h44qv.mjs +0 -17
- package/dist/chunks/cli-0.7.2-q9twb2tn.mjs +0 -2
- package/dist/chunks/cli-0.7.2-qdapr4dz.mjs +0 -2
- package/dist/chunks/cli-0.7.2-qf8435qy.mjs +0 -2
- package/dist/chunks/cli-0.7.2-qftw5wyw.mjs +0 -5
- package/dist/chunks/cli-0.7.2-qr706n52.mjs +0 -10
- package/dist/chunks/cli-0.7.2-qsx52bst.mjs +0 -2
- package/dist/chunks/cli-0.7.2-r1502pen.mjs +0 -2
- package/dist/chunks/cli-0.7.2-r26ghgw6.mjs +0 -5
- package/dist/chunks/cli-0.7.2-r7x165sf.mjs +0 -17
- package/dist/chunks/cli-0.7.2-rn3w4y3r.mjs +0 -2
- package/dist/chunks/cli-0.7.2-s0av8fr2.mjs +0 -2
- package/dist/chunks/cli-0.7.2-s3r1krp7.mjs +0 -2
- package/dist/chunks/cli-0.7.2-s41x7s9w.mjs +0 -133
- package/dist/chunks/cli-0.7.2-se4w3qaw.mjs +0 -2
- package/dist/chunks/cli-0.7.2-sjrnxjfp.mjs +0 -2
- package/dist/chunks/cli-0.7.2-sr9m45tm.mjs +0 -2
- package/dist/chunks/cli-0.7.2-t1wtmnh8.mjs +0 -2
- package/dist/chunks/cli-0.7.2-tds456xt.mjs +0 -34
- package/dist/chunks/cli-0.7.2-tf3mc20k.mjs +0 -4
- package/dist/chunks/cli-0.7.2-twx01hwg.mjs +0 -2
- package/dist/chunks/cli-0.7.2-tx2rxhrx.mjs +0 -3
- package/dist/chunks/cli-0.7.2-tytdzgnc.mjs +0 -2
- package/dist/chunks/cli-0.7.2-tz5zv753.mjs +0 -6
- package/dist/chunks/cli-0.7.2-tzc6qkph.mjs +0 -3
- package/dist/chunks/cli-0.7.2-vb0ja1yz.mjs +0 -2
- package/dist/chunks/cli-0.7.2-vgq7ce31.mjs +0 -4
- package/dist/chunks/cli-0.7.2-vqvfxb9x.mjs +0 -2
- package/dist/chunks/cli-0.7.2-vvbp0ycp.mjs +0 -2
- package/dist/chunks/cli-0.7.2-vx10940a.mjs +0 -2
- package/dist/chunks/cli-0.7.2-vx90v3pr.mjs +0 -2
- package/dist/chunks/cli-0.7.2-w07ksegr.mjs +0 -2
- package/dist/chunks/cli-0.7.2-waas8a1p.mjs +0 -2
- package/dist/chunks/cli-0.7.2-wahbzckp.mjs +0 -58
- package/dist/chunks/cli-0.7.2-whm7dq8a.mjs +0 -2
- package/dist/chunks/cli-0.7.2-wk3m6ndw.mjs +0 -2
- package/dist/chunks/cli-0.7.2-wmz88sxe.mjs +0 -2
- package/dist/chunks/cli-0.7.2-xced0m7v.mjs +0 -2
- package/dist/chunks/cli-0.7.2-xkbkgc1x.mjs +0 -2
- package/dist/chunks/cli-0.7.2-xmf0q5j5.mjs +0 -39
- package/dist/chunks/cli-0.7.2-xpw13d73.mjs +0 -59
- package/dist/chunks/cli-0.7.2-xtj79p8n.mjs +0 -2
- package/dist/chunks/cli-0.7.2-xwmd0gap.mjs +0 -2
- package/dist/chunks/cli-0.7.2-xzq4nj1z.mjs +0 -2
- package/dist/chunks/cli-0.7.2-ydcqkbay.mjs +0 -20
- package/dist/chunks/cli-0.7.2-yeym3pfk.mjs +0 -4
- package/dist/chunks/cli-0.7.2-ygx94a70.mjs +0 -2
- package/dist/chunks/cli-0.7.2-ymes9mpn.mjs +0 -2
- package/dist/chunks/cli-0.7.2-yppcb6em.mjs +0 -2
- package/dist/chunks/cli-0.7.2-ze0wyhxh.mjs +0 -2
- package/dist/chunks/cli-0.7.2-zevvxkk3.mjs +0 -2
- package/dist/chunks/cli-0.7.2-zjn5drn1.mjs +0 -3
- package/dist/chunks/cli-0.7.2-zva1j44t.mjs +0 -2
- package/dist/chunks/cli-0.7.2-zvq6jw19.mjs +0 -2
- package/dist/chunks/client-0.7.2-5ayk0kpq.mjs +0 -1
- package/dist/chunks/color-0.7.2-qwk7wwhg.mjs +0 -1
- package/dist/chunks/compact-0.7.2-1htfptdq.mjs +0 -3
- package/dist/chunks/config-0.7.2-5qhqvs6r.mjs +0 -1
- package/dist/chunks/config-0.7.2-m4pjdgrd.mjs +0 -1
- package/dist/chunks/constants-0.7.2-pkxz3zw1.mjs +0 -1
- package/dist/chunks/context-0.7.2-sbj7xgcd.mjs +0 -1
- package/dist/chunks/context-noninteractive-0.7.2-0e342zm8.mjs +0 -1
- package/dist/chunks/conversation-0.7.2-8w1wm1xe.mjs +0 -1
- package/dist/chunks/copilotHeaders-0.7.2-qkkqpxf3.mjs +0 -1
- package/dist/chunks/copy-0.7.2-edx6f8tb.mjs +0 -9
- package/dist/chunks/cost-0.7.2-8arxgyd6.mjs +0 -1
- package/dist/chunks/createSSHSession-0.7.2-3n718ymh.mjs +0 -1
- package/dist/chunks/createSession-0.7.2-hm9d0q01.mjs +0 -1
- package/dist/chunks/debug-0.7.2-ngrc7p4e.mjs +0 -1
- package/dist/chunks/defaultActionDeps-0.7.2-dftsz493.mjs +0 -1446
- package/dist/chunks/desktop-0.7.2-vt6ymh81.mjs +0 -1
- package/dist/chunks/detectRepository-0.7.2-xgsqcqxv.mjs +0 -1
- package/dist/chunks/detection-0.7.2-m6c0amh8.mjs +0 -1
- package/dist/chunks/diff-0.7.2-7np6da8n.mjs +0 -1
- package/dist/chunks/doctor-0.7.2-spqx634t.mjs +0 -1
- package/dist/chunks/doctorDiagnostic-0.7.2-81rdywyn.mjs +0 -1
- package/dist/chunks/earlyInput-0.7.2-b7j7hx34.mjs +0 -1
- package/dist/chunks/effort-0.7.2-1jd0yvy3.mjs +0 -10
- package/dist/chunks/envLessBridgeConfig-0.7.2-x5wybzrg.mjs +0 -1
- package/dist/chunks/envUtils-0.7.2-srtr0ybx.mjs +0 -1
- package/dist/chunks/environmentSelection-0.7.2-drjpcqg5.mjs +0 -1
- package/dist/chunks/environments-0.7.2-c51gb5sh.mjs +0 -1
- package/dist/chunks/errors-0.7.2-4mfat7g5.mjs +0 -1
- package/dist/chunks/exampleCommands-0.7.2-c8b6smyk.mjs +0 -1
- package/dist/chunks/exit-0.7.2-0b21e2f4.mjs +0 -1
- package/dist/chunks/explorer-0.7.2-b2qgsg4r.mjs +0 -1
- package/dist/chunks/export-0.7.2-j6tnta5r.mjs +0 -2
- package/dist/chunks/extra-usage-0.7.2-8xrddgmh.mjs +0 -1
- package/dist/chunks/extra-usage-noninteractive-0.7.2-vzzkmfzw.mjs +0 -1
- package/dist/chunks/fast-0.7.2-kfcnj6wq.mjs +0 -1
- package/dist/chunks/feedback-0.7.2-cmhc12wj.mjs +0 -14
- package/dist/chunks/firstPartyEventLogger-0.7.2-pa49ax22.mjs +0 -1
- package/dist/chunks/git-0.7.2-9f7gvn9h.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-0.7.2-qy1mhzsm.mjs +0 -1
- package/dist/chunks/goal-0.7.2-t9vq2zc6.mjs +0 -4
- package/dist/chunks/grove-0.7.2-9sxczf29.mjs +0 -1
- package/dist/chunks/growthbook-0.7.2-ch3yc64n.mjs +0 -1
- package/dist/chunks/headless-0.7.2-9kh4ecvm.mjs +0 -2
- package/dist/chunks/heapdump-0.7.2-jrxgec1e.mjs +0 -6
- package/dist/chunks/help-0.7.2-mkkkzv97.mjs +0 -1
- package/dist/chunks/hookChains-0.7.2-4rsz02te.mjs +0 -3
- package/dist/chunks/hooks-0.7.2-mpa8g97z.mjs +0 -1
- package/dist/chunks/hooks-0.7.2-yaybnthb.mjs +0 -79
- package/dist/chunks/ide-0.7.2-a5p1wn0n.mjs +0 -3
- package/dist/chunks/image-processor-napi-0.7.2-c971ey5m.mjs +0 -1
- package/dist/chunks/inboundAttachments-0.7.2-vkae77ac.mjs +0 -1
- package/dist/chunks/index-0.7.2-4qr2yjjg.mjs +0 -1
- package/dist/chunks/index-0.7.2-5mfmhd35.mjs +0 -1
- package/dist/chunks/index-0.7.2-62g62r4p.mjs +0 -1
- package/dist/chunks/index-0.7.2-7b6mkd4g.mjs +0 -9
- package/dist/chunks/index-0.7.2-87jrdmn3.mjs +0 -2
- package/dist/chunks/index-0.7.2-9h4tsef1.mjs +0 -1
- package/dist/chunks/index-0.7.2-9mk9g3c3.mjs +0 -1
- package/dist/chunks/index-0.7.2-a3w6at2z.mjs +0 -1
- package/dist/chunks/index-0.7.2-b296et1z.mjs +0 -1
- package/dist/chunks/index-0.7.2-c22bn4q9.mjs +0 -1
- package/dist/chunks/index-0.7.2-dn8m3dh3.mjs +0 -9
- package/dist/chunks/index-0.7.2-f8swc4mv.mjs +0 -30
- package/dist/chunks/index-0.7.2-fdsptfbt.mjs +0 -17
- package/dist/chunks/index-0.7.2-g2vfnmjs.mjs +0 -1
- package/dist/chunks/index-0.7.2-hjcptpaz.mjs +0 -1
- package/dist/chunks/index-0.7.2-hts44hhf.mjs +0 -2
- package/dist/chunks/index-0.7.2-k2y0b0h3.mjs +0 -1
- package/dist/chunks/index-0.7.2-nhtpksxs.mjs +0 -5
- package/dist/chunks/index-0.7.2-p5a52s17.mjs +0 -1
- package/dist/chunks/index-0.7.2-r0zwxc1g.mjs +0 -1
- package/dist/chunks/index-0.7.2-vfyvycvc.mjs +0 -1
- package/dist/chunks/index-0.7.2-vw5e1spt.mjs +0 -1
- package/dist/chunks/index-0.7.2-xp0gpx8w.mjs +0 -1
- package/dist/chunks/init-0.7.2-mdhax55g.mjs +0 -1
- package/dist/chunks/initReplBridge-0.7.2-sq5dka9e.mjs +0 -1
- package/dist/chunks/ink-0.7.2-xhfkzs8w.mjs +0 -1
- package/dist/chunks/insights-0.7.2-hnzbcbwt.mjs +0 -870
- package/dist/chunks/install-0.7.2-f33pbxz0.mjs +0 -1
- package/dist/chunks/install-github-app-0.7.2-rysxaqa4.mjs +0 -149
- package/dist/chunks/install-slack-app-0.7.2-nsg858f1.mjs +0 -1
- package/dist/chunks/instrumentation-0.7.2-6t0dw394.mjs +0 -1
- package/dist/chunks/interactiveHelpers-0.7.2-wqr53tgp.mjs +0 -1
- package/dist/chunks/keybindings-0.7.2-b6yhemd9.mjs +0 -2
- package/dist/chunks/knowledge-0.7.2-94b972dr.mjs +0 -2
- package/dist/chunks/latestVersionCache-0.7.2-1e9h6ycx.mjs +0 -1
- package/dist/chunks/loadAgentsDir-0.7.2-d3vy1hjh.mjs +0 -1
- package/dist/chunks/loadPluginHooks-0.7.2-9bdtab1f.mjs +0 -1
- package/dist/chunks/loadPluginHooks-0.7.2-v002c6d9.mjs +0 -1
- package/dist/chunks/log-0.7.2-n28x7jf3.mjs +0 -1
- package/dist/chunks/main-0.7.2-bbgx9tzn.mjs +0 -1
- package/dist/chunks/managedEnv-0.7.2-c7gnfsz5.mjs +0 -1
- package/dist/chunks/mcp-0.7.2-nakq1rhg.mjs +0 -1
- package/dist/chunks/mcp-0.7.2-v40gxs87.mjs +0 -17
- package/dist/chunks/mcp-0.7.2-wtmt0vpe.mjs +0 -4
- package/dist/chunks/mcpb-0.7.2-k7z7aa64.mjs +0 -1
- package/dist/chunks/memory-0.7.2-1hfh6410.mjs +0 -3
- package/dist/chunks/model-0.7.2-c8esc658.mjs +0 -1
- package/dist/chunks/model-0.7.2-sjw6chpt.mjs +0 -2
- package/dist/chunks/node-0.7.2-2bm5bpwx.mjs +0 -12
- package/dist/chunks/oauth-0.7.2-ze80cmtw.mjs +0 -1
- package/dist/chunks/openaiShim-0.7.2-qwqrcmfv.mjs +0 -14
- package/dist/chunks/output-style-0.7.2-mhfyzz5h.mjs +0 -1
- package/dist/chunks/package-GCDC7LJR-0.7.2-d271461v.mjs +0 -1
- package/dist/chunks/parseConnectUrl-0.7.2-5c6xzn22.mjs +0 -1
- package/dist/chunks/parser-0.7.2-ekqc81n3.mjs +0 -1
- package/dist/chunks/passes-0.7.2-dyr0j4xs.mjs +0 -1
- package/dist/chunks/permissions-0.7.2-ap5ve9y3.mjs +0 -3
- package/dist/chunks/permissions-0.7.2-pqbpv219.mjs +0 -1
- package/dist/chunks/plan-0.7.2-3qcvkebx.mjs +0 -1
- package/dist/chunks/plist-0.7.2-sfrs3sb5.mjs +0 -1
- package/dist/chunks/plugin-0.7.2-23zzkpzp.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-0.7.2-hdbd4vjf.mjs +0 -1
- package/dist/chunks/plugins-0.7.2-8b79cq4h.mjs +0 -9
- package/dist/chunks/preActionHook-0.7.2-denqn35e.mjs +0 -2
- package/dist/chunks/print-0.7.2-k3jvb8xp.mjs +0 -57
- package/dist/chunks/privacy-settings-0.7.2-2a25e9zd.mjs +0 -1
- package/dist/chunks/process-0.7.2-bydxzc10.mjs +0 -1
- package/dist/chunks/processBashCommand-0.7.2-n8zeggtq.mjs +0 -1
- package/dist/chunks/processSlashCommand-0.7.2-8bkqmvyg.mjs +0 -9
- package/dist/chunks/prompt-0.7.2-xcyvamqv.mjs +0 -1
- package/dist/chunks/prompt-0.7.2-zgvfvr40.mjs +0 -1
- package/dist/chunks/prompts-0.7.2-v3chnzw2.mjs +0 -1
- package/dist/chunks/protocolHandler-0.7.2-pcar7hdp.mjs +0 -13
- package/dist/chunks/provider-0.7.2-amg0a8yq.mjs +0 -2
- package/dist/chunks/providerProfiles-0.7.2-nwbz4k4w.mjs +0 -1
- package/dist/chunks/providerValidation-0.7.2-acwg3yzh.mjs +0 -6
- package/dist/chunks/rate-limit-options-0.7.2-spv7s8hs.mjs +0 -1
- package/dist/chunks/registerSubcommands-0.7.2-7g1dds0b.mjs +0 -34
- package/dist/chunks/registry-0.7.2-kv34xe3p.mjs +0 -1
- package/dist/chunks/release-notes-0.7.2-amerc2cj.mjs +0 -5
- package/dist/chunks/reload-plugins-0.7.2-tx1872h3.mjs +0 -2
- package/dist/chunks/remote-env-0.7.2-hq2w0qkg.mjs +0 -1
- package/dist/chunks/remoteBridgeCore-0.7.2-5stcs58w.mjs +0 -1
- package/dist/chunks/remoteSession-0.7.2-zwc7cra7.mjs +0 -1
- package/dist/chunks/rename-0.7.2-gk2b22q0.mjs +0 -1
- package/dist/chunks/replBridgeHandle-0.7.2-17phx9ww.mjs +0 -1
- package/dist/chunks/replLauncher-0.7.2-th0j1erj.mjs +0 -1
- package/dist/chunks/resume-0.7.2-xmxzptvs.mjs +0 -2
- package/dist/chunks/rewind-0.7.2-bvjnkrk2.mjs +0 -1
- package/dist/chunks/rootOptions-0.7.2-2cy9mmwc.mjs +0 -1
- package/dist/chunks/sandbox-adapter-0.7.2-h0xxevv6.mjs +0 -1
- package/dist/chunks/sandbox-toggle-0.7.2-qhhmmtft.mjs +0 -1
- package/dist/chunks/session-0.7.2-c8me3g3x.mjs +0 -2
- package/dist/chunks/sessionDiscovery-0.7.2-3k39j4tc.mjs +0 -1
- package/dist/chunks/sessionFileAccessHooks-0.7.2-rv6etkhg.mjs +0 -1
- package/dist/chunks/sessionStorage-0.7.2-97nxk3y6.mjs +0 -1
- package/dist/chunks/settings-0.7.2-xc200363.mjs +0 -1
- package/dist/chunks/setup-0.7.2-c982wyvz.mjs +0 -5
- package/dist/chunks/sinks-0.7.2-95rk1mrs.mjs +0 -1
- package/dist/chunks/skills-0.7.2-6gdq6xgn.mjs +0 -1
- package/dist/chunks/startupProfiler-0.7.2-bx988amf.mjs +0 -1
- package/dist/chunks/startupUpdateCheck-0.7.2-n1cjfry1.mjs +0 -1
- package/dist/chunks/state-0.7.2-p9tevca2.mjs +0 -1
- package/dist/chunks/stats-0.7.2-8xhdefb7.mjs +0 -6
- package/dist/chunks/status-0.7.2-fh89jm1g.mjs +0 -1
- package/dist/chunks/stickers-0.7.2-8p2fssw5.mjs +0 -1
- package/dist/chunks/subprocessEnv-0.7.2-rxrfb67k.mjs +0 -1
- package/dist/chunks/tasks-0.7.2-e27mj4dh.mjs +0 -1
- package/dist/chunks/teamHelpers-0.7.2-m3z5pcdz.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-0.7.2-p7amb3d6.mjs +0 -1
- package/dist/chunks/teleport-0.7.2-5esyfq9r.mjs +0 -1
- package/dist/chunks/terminalSetup-0.7.2-yscmphsc.mjs +0 -1
- package/dist/chunks/theme-0.7.2-1zmsca02.mjs +0 -1
- package/dist/chunks/thinkback-0.7.2-17ff2vy3.mjs +0 -1
- package/dist/chunks/thinkback-play-0.7.2-mdnape3r.mjs +0 -1
- package/dist/chunks/toolPool-0.7.2-jbgwb4kh.mjs +0 -1
- package/dist/chunks/toolSearch-0.7.2-c6qby1zz.mjs +0 -1
- package/dist/chunks/tools-0.7.2-b04qyzf8.mjs +0 -1
- package/dist/chunks/trustedDevice-0.7.2-jz3zmc03.mjs +0 -1
- package/dist/chunks/turndown.cjs-0.7.2-bj6egxgk.mjs +0 -69
- package/dist/chunks/types-0.7.2-fsjvv1kt.mjs +0 -1
- package/dist/chunks/ultrareviewCommand-0.7.2-w2fbj23d.mjs +0 -4
- package/dist/chunks/update-0.7.2-4ccgmd4p.mjs +0 -86
- package/dist/chunks/upgrade-0.7.2-d7h7vmqn.mjs +0 -1
- package/dist/chunks/upload-0.7.2-p6je053d.mjs +0 -7
- package/dist/chunks/upstreamproxy-0.7.2-sjmkdjb8.mjs +0 -14
- package/dist/chunks/url-handler-napi-0.7.2-snjwvzje.mjs +0 -1
- package/dist/chunks/usage-0.7.2-2k2m3v75.mjs +0 -1
- package/dist/chunks/util-0.7.2-n4vdasdr.mjs +0 -1
- package/dist/chunks/utils-0.7.2-bmqt59ff.mjs +0 -1
- package/dist/chunks/vim-0.7.2-bd15xeza.mjs +0 -1
- package/dist/chunks/watcher-0.7.2-pjzeng3k.mjs +0 -1
- package/dist/chunks/wiki-0.7.2-2a655hhv.mjs +0 -132
- package/dist/chunks/worktree-0.7.2-gs72mnyb.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-0.7.2-gqtz9ha6.mjs +0 -1
- package/dist/chunks/wrapper-0.7.2-j420s6rc.mjs +0 -7
- /package/dist/chunks/{cli-0.7.2-1xbehmgb.mjs → cli-0.7.5-jk7d368h.mjs} +0 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Iha as f}from"./cli-0.7.5-tbrfr6hj.mjs";import{Lia as h}from"./cli-0.7.5-7h3tq3wc.mjs";import{Pqa as Z}from"./cli-0.7.5-012a6zfk.mjs";var $=()=>{};var F=Z(()=>{$()});var K;var G=Z(()=>{K=new Set(["if","then","elif","else","fi","while","until","for","in","do","done","case","esac","function","select"])});var M=Z(()=>{G();$();F();_();O()});var _=Z(()=>{G();$();F();M()});var O=Z(()=>{G();$();F();_();M()});var Sz;var w=Z(()=>{$();F();O();G();Sz=Promise.resolve()});async function kz(){}async function oz(z){if(!z||z.length>D)return null;return null}async function dz(z){if(!z||z.length>D)return null;return null}function nz(z){if(z.type==="declaration_command"){let J=z.children[0];return J&&x.has(J.text)?[J.text]:[]}let X=[],V=!1;for(let J of z.children){if(J.type==="variable_assignment")continue;if(J.type==="command_name"||!V&&J.type==="word"){V=!0,X.push(J.text);continue}if(v.has(J.type))X.push(l(J.text));else if(m.has(J.type))break}return X}function l(z){return z.length>=2&&(z[0]==='"'&&z.at(-1)==='"'||z[0]==="'"&&z.at(-1)==="'")?z.slice(1,-1):z}var D=1e4,x,v,m,pz;var L=Z(()=>{f();h();w();x=new Set(["export","declare","typeset","readonly","local","unset","unsetenv"]),v=new Set(["word","string","raw_string","number"]),m=new Set(["command_substitution","process_substitution"]);pz=Symbol("parse-aborted")});
|
|
2
|
+
export{K as e2,w as f2,kz as g2,oz as h2,pz as i2,dz as j2,nz as k2,L as l2};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Pqa as r}from"./cli-0.7.5-012a6zfk.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.0",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 ci,p as di};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Pqa as M}from"./cli-0.7.5-012a6zfk.mjs";function J(){return"prod"}function W(){if(process.env.CLAUDE_CODE_CUSTOM_OAUTH_URL)return"-custom-oauth";switch(J()){case"local":return"-local-oauth";case"staging":return"-staging-oauth";case"prod":return""}}function $(){let k=process.env.CLAUDE_LOCAL_OAUTH_API_BASE?.replace(/\/$/,"")??"http://localhost:8000",x=process.env.CLAUDE_LOCAL_OAUTH_APPS_BASE?.replace(/\/$/,"")??"http://localhost:4000",q=process.env.CLAUDE_LOCAL_OAUTH_CONSOLE_BASE?.replace(/\/$/,"")??"http://localhost:3000";return{BASE_API_URL:k,CONSOLE_AUTHORIZE_URL:`${q}/oauth/authorize`,CLAUDE_AI_AUTHORIZE_URL:`${x}/oauth/authorize`,CLAUDE_AI_ORIGIN:x,TOKEN_URL:`${k}/v1/oauth/token`,API_KEY_URL:`${k}/api/oauth/claude_cli/create_api_key`,ROLES_URL:`${k}/api/oauth/claude_cli/roles`,CONSOLE_SUCCESS_URL:`${q}/buy_credits?returnUrl=/oauth/code/success%3Fapp%3Dclaude-code`,CLAUDEAI_SUCCESS_URL:`${q}/oauth/code/success?app=claude-code`,MANUAL_REDIRECT_URL:`${q}/oauth/code/callback`,CLIENT_ID:"22422756-60c9-4084-8eb7-27705fd5cf9a",OAUTH_FILE_SUFFIX:"-local-oauth",MCP_PROXY_URL:"http://localhost:8205",MCP_PROXY_PATH:"/v1/toolbox/shttp/mcp/{server_id}"}}function h(){let k=(()=>{switch(J()){case"local":return $();case"staging":return z;case"prod":return z}})(),x=process.env.CLAUDE_CODE_CUSTOM_OAUTH_URL;if(x){let j=x.replace(/\/$/,"");if(!m.includes(j))throw Error("CLAUDE_CODE_CUSTOM_OAUTH_URL is not an approved endpoint.");k={...k,BASE_API_URL:j,CONSOLE_AUTHORIZE_URL:`${j}/oauth/authorize`,CLAUDE_AI_AUTHORIZE_URL:`${j}/oauth/authorize`,CLAUDE_AI_ORIGIN:j,TOKEN_URL:`${j}/v1/oauth/token`,API_KEY_URL:`${j}/api/oauth/claude_cli/create_api_key`,ROLES_URL:`${j}/api/oauth/claude_cli/roles`,CONSOLE_SUCCESS_URL:`${j}/oauth/code/success?app=claude-code`,CLAUDEAI_SUCCESS_URL:`${j}/oauth/code/success?app=claude-code`,MANUAL_REDIRECT_URL:`${j}/oauth/code/callback`,OAUTH_FILE_SUFFIX:"-custom-oauth"}}let q=process.env.CLAUDE_CODE_OAUTH_CLIENT_ID;if(q)k={...k,CLIENT_ID:q};return k}var Q="user:inference",K="user:profile",V="org:create_api_key",X="oauth-2025-04-20",Y,Z,y,z,G="https://claude.ai/oauth/claude-code-client-metadata",m;var w=M(()=>{Y=[V,K],Z=[K,Q,"user:sessions:claude_code","user:mcp_servers","user:file_upload"],y=Array.from(new Set([...Y,...Z])),z={BASE_API_URL:"https://api.anthropic.com",CONSOLE_AUTHORIZE_URL:"https://platform.claude.com/oauth/authorize",CLAUDE_AI_AUTHORIZE_URL:"https://claude.com/cai/oauth/authorize",CLAUDE_AI_ORIGIN:"https://claude.ai",TOKEN_URL:"https://platform.claude.com/v1/oauth/token",API_KEY_URL:"https://api.anthropic.com/api/oauth/claude_cli/create_api_key",ROLES_URL:"https://api.anthropic.com/api/oauth/claude_cli/roles",CONSOLE_SUCCESS_URL:"https://platform.claude.com/buy_credits?returnUrl=/oauth/code/success%3Fapp%3Dclaude-code",CLAUDEAI_SUCCESS_URL:"https://platform.claude.com/oauth/code/success?app=claude-code",MANUAL_REDIRECT_URL:"https://platform.claude.com/oauth/code/callback",CLIENT_ID:"9d1c250a-e61b-44d9-88ed-5944d1962f5e",OAUTH_FILE_SUFFIX:"",MCP_PROXY_URL:"https://mcp-proxy.anthropic.com",MCP_PROXY_PATH:"/v1/mcp/{server_id}"};m=["https://beacon.claude-ai.staging.ant.dev","https://claude.fedstart.com","https://claude-staging.fedstart.com"]});
|
|
2
|
+
export{W as vha,Q as wha,K as xha,X as yha,Y as zha,Z as Aha,y as Bha,G as Cha,h as Dha,w as Eha};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a4 as H,b4 as _,c4 as Y,d4 as y}from"./cli-0.7.5-rqvar6g7.mjs";import{a9 as M,c9 as f}from"./cli-0.7.5-ghq2axmf.mjs";import{Iia as x,Lha as F,Lia as S,Nha as b,uia as P,yia as p}from"./cli-0.7.5-7h3tq3wc.mjs";import{gja as V,nja as R}from"./cli-0.7.5-fzqampqh.mjs";import{Dja as g,tja as U}from"./cli-0.7.5-cd6cs7q9.mjs";import{epa as A,qna as D,rna as W}from"./cli-0.7.5-987zbyps.mjs";import{Pqa as L}from"./cli-0.7.5-012a6zfk.mjs";function I(){let q=D();if(q!==void 0)return q;let G=process.env.CLAUDE_CODE_WEBSOCKET_AUTH_FILE_DESCRIPTOR;if(!G){let w=process.env.CLAUDE_SESSION_INGRESS_TOKEN_FILE??H,z=Y(w,"session ingress token");return W(z),z}let Q=parseInt(G,10);if(Number.isNaN(Q))return x(`CLAUDE_CODE_WEBSOCKET_AUTH_FILE_DESCRIPTOR must be a valid file descriptor number, got: ${G}`,{level:"error"}),W(null),null;try{let w=P(),z=process.platform==="darwin"||process.platform==="freebsd"?`/dev/fd/${Q}`:`/proc/self/fd/${Q}`,X=w.readFileSync(z,{encoding:"utf8"}).trim();if(!X)return x("File descriptor contained empty token",{level:"error"}),W(null),null;return x(`Successfully read token from file descriptor ${Q}`),W(X),_(H,X,"session ingress token"),X}catch(w){x(`Failed to read token from file descriptor ${Q}: ${V(w)}`,{level:"error"});let z=process.env.CLAUDE_SESSION_INGRESS_TOKEN_FILE??H,X=Y(z,"session ingress token");return W(X),X}}function k(){let q=process.env.CLAUDE_CODE_SESSION_ACCESS_TOKEN;if(q)return q;return I()}function s(){let q=k();if(!q)return{};if(q.startsWith("sk-ant-sid")){let G={Cookie:`sessionKey=${q}`},Q=process.env.CLAUDE_CODE_ORGANIZATION_UUID;if(Q)G["X-Organization-Uuid"]=Q;return G}return{Authorization:`Bearer ${q}`}}function o(q){process.env.CLAUDE_CODE_SESSION_ACCESS_TOKEN=q}var u=L(()=>{A();y();S();R();p()});function E(){j(),K=setInterval(()=>{if(M("debug","session_keepalive_heartbeat",{refcount:J}),U(process.env.CLAUDE_CODE_REMOTE_SEND_KEEPALIVES))$?.()},C)}function v(){if(j(),$===null)return;B=setTimeout(()=>{M("info","session_idle_30s"),B=null},C)}function j(){if(B!==null)clearTimeout(B),B=null}function e(q){if($=q,J>0&&K===null)E()}function qq(){if($=null,K!==null)clearInterval(K),K=null;j()}function Gq(){if(U(process.env.CLAUDE_CODE_REMOTE_SEND_KEEPALIVES))$?.()}function Jq(){return $!==null}function Kq(q){if(J++,Z.set(q,(Z.get(q)??0)+1),J===1){if(O=Date.now(),$!==null&&K===null)E()}if(!N)N=!0,F(async()=>{M("info","session_activity_at_shutdown",{refcount:J,active:Object.fromEntries(Z),oldest_activity_ms:J>0&&O!==null?Date.now()-O:null})})}function Qq(q){if(J>0)J--;let G=(Z.get(q)??0)-1;if(G>0)Z.set(q,G);else Z.delete(q);if(J===0&&K!==null)clearInterval(K),K=null,v()}var C=30000,$=null,J=0,Z,O=null,K=null,B=null,N=!1;var h=L(()=>{b();f();g();Z=new Map});var $q;var m=L(()=>{$q={input_tokens:0,cache_creation_input_tokens:0,cache_read_input_tokens:0,output_tokens:0,output_tokens_details:{thinking_tokens:0},server_tool_use:{web_search_requests:0,web_fetch_requests:0},service_tier:"standard",cache_creation:{ephemeral_1h_input_tokens:0,ephemeral_5m_input_tokens:0},inference_geo:"",iterations:[],speed:"standard"}});
|
|
2
|
+
export{k as EV,s as FV,o as GV,u as HV,e as IV,qq as JV,Gq as KV,Jq as LV,Kq as MV,Qq as NV,h as OV,$q as PV,m as QV};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{FF as h,HF as I,On as g,Pn as k}from"./cli-0.7.5-1130jhj6.mjs";import{WZ as s,z0 as _,zY as S}from"./cli-0.7.5-4mvg3dke.mjs";import{F2 as c,G2 as m,H2 as T}from"./cli-0.7.5-xbqxjykr.mjs";import{Bda as P,dda as b}from"./cli-0.7.5-ghq2axmf.mjs";import{Lqa as D}from"./cli-0.7.5-012a6zfk.mjs";_();P();I();k();T();var v=D(S(),1);function E(C){let e=v.c(17),{customApiKeyTruncated:o,onDone:p}=C,r;if(e[0]!==o||e[1]!==p)r=function(R){e:switch(R){case"yes":{b((n)=>({...n,customApiKeyResponses:{...n.customApiKeyResponses,approved:[...n.customApiKeyResponses?.approved??[],o]}})),p(!0);break e}case"no":b((n)=>({...n,customApiKeyResponses:{...n.customApiKeyResponses,rejected:[...n.customApiKeyResponses?.rejected??[],o]}})),p(!1)}},e[0]=o,e[1]=p,e[2]=r;else r=e[2];let t=r,l;if(e[3]!==t)l=()=>t("no"),e[3]=t,e[4]=l;else l=e[4];let f;if(e[5]===Symbol.for("react.memo_cache_sentinel"))f=c(s,{bold:!0,children:"ANTHROPIC_API_KEY"}),e[5]=f;else f=e[5];let i;if(e[6]!==o)i=m(s,{children:[f,m(s,{children:[": sk-ant-...",o]})]}),e[6]=o,e[7]=i;else i=e[7];let u;if(e[8]===Symbol.for("react.memo_cache_sentinel"))u=c(s,{children:"Do you want to use this API key?"}),e[8]=u;else u=e[8];let y;if(e[9]===Symbol.for("react.memo_cache_sentinel"))y={label:"Yes",value:"yes"},e[9]=y;else y=e[9];let d;if(e[10]===Symbol.for("react.memo_cache_sentinel"))d=[y,{label:m(s,{children:["No (",c(s,{bold:!0,children:"recommended"}),")"]}),value:"no"}],e[10]=d;else d=e[10];let a;if(e[11]!==t)a=c(h,{defaultValue:"no",defaultFocusValue:"no",options:d,onChange:(K)=>t(K),onCancel:()=>t("no")}),e[11]=t,e[12]=a;else a=e[12];let A;if(e[13]!==l||e[14]!==i||e[15]!==a)A=m(g,{title:"Detected a custom API key in your environment",color:"warning",onCancel:l,children:[i,u,a]}),e[13]=l,e[14]=i,e[15]=a,e[16]=A;else A=e[16];return A}
|
|
2
|
+
export{E as M};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{HZ as QQ,IZ as uQ,UZ as g,WZ as h,a0 as RQ,j0 as jQ,k0 as aQ,o0 as d,z0 as a,zY as u}from"./cli-0.7.5-4mvg3dke.mjs";import{F2 as S,G2 as k,H2 as f}from"./cli-0.7.5-xbqxjykr.mjs";import{I2 as v}from"./cli-0.7.5-1w5f2dfy.mjs";import{W2 as n,Y2 as t,b3 as YV}from"./cli-0.7.5-m8cf1p72.mjs";import{T6 as $Q,W6 as P,Z6 as bQ,m7 as XV}from"./cli-0.7.5-rqvar6g7.mjs";import{Bca as fQ,Bda as QV,Cca as eQ,Zea as CQ,dda as mQ,ffa as VV,gda as x}from"./cli-0.7.5-ghq2axmf.mjs";import{kfa as AQ,lfa as sQ}from"./cli-0.7.5-kj54k6vh.mjs";import{Dha as r,Eha as nQ}from"./cli-0.7.5-h3p8qw3f.mjs";import{Iia as D,Lia as iQ}from"./cli-0.7.5-7h3tq3wc.mjs";import{_pa as i,qqa as tQ}from"./cli-0.7.5-w2vyrb4j.mjs";import{Lqa as M,Pqa as F}from"./cli-0.7.5-012a6zfk.mjs";function XQ(){let X=VQ.useContext(QQ);if(!X)throw Error("useTerminalSize must be used within an Ink App component");return X}var VQ;var YQ=F(()=>{uQ();VQ=M(v(),1)});function ZQ(X,Q){if(Q.escape)return"escape";if(Q.return)return"enter";if(Q.tab)return"tab";if(Q.backspace)return"backspace";if(Q.delete)return"delete";if(Q.upArrow)return"up";if(Q.downArrow)return"down";if(Q.leftArrow)return"left";if(Q.rightArrow)return"right";if(Q.pageUp)return"pageup";if(Q.pageDown)return"pagedown";if(Q.wheelUp)return"wheelup";if(Q.wheelDown)return"wheeldown";if(Q.home)return"home";if(Q.end)return"end";if(X.length===1)return X.toLowerCase();return null}var JQ=()=>{};function GQ(X){let Q=X.split("+"),V={key:"",ctrl:!1,alt:!1,shift:!1,meta:!1,super:!1};for(let Z of Q){let Y=Z.toLowerCase();switch(Y){case"ctrl":case"control":V.ctrl=!0;break;case"alt":case"opt":case"option":V.alt=!0;break;case"shift":V.shift=!0;break;case"meta":V.meta=!0;break;case"cmd":case"command":case"super":case"win":V.super=!0;break;case"esc":V.key="escape";break;case"return":V.key="enter";break;case"space":V.key=" ";break;case"↑":V.key="up";break;case"↓":V.key="down";break;case"←":V.key="left";break;case"→":V.key="right";break;default:V.key=Y;break}}return V}function yQ(X){if(X===" ")return[GQ("space")];return X.trim().split(/\s+/).map(GQ)}function hQ(X){let Q=[];if(X.ctrl)Q.push("ctrl");if(X.alt)Q.push("alt");if(X.shift)Q.push("shift");if(X.meta)Q.push("meta");if(X.super)Q.push("cmd");let V=kQ(X.key);return Q.push(V),Q.join("+")}function kQ(X){switch(X){case"escape":return"Esc";case" ":return"Space";case"tab":return"tab";case"enter":return"Enter";case"backspace":return"Backspace";case"delete":return"Delete";case"up":return"↑";case"down":return"↓";case"left":return"←";case"right":return"→";case"pageup":return"PageUp";case"pagedown":return"PageDown";case"home":return"Home";case"end":return"End";default:return X}}function l(X){return X.map(hQ).join(" ")}function BV(X){let Q=[];for(let V of X)for(let[Z,Y]of Object.entries(V.bindings))Q.push({chord:yQ(Z),action:Y,context:V.context});return Q}var qQ=()=>{};function LQ(X,Q,V){let Z=V.findLast((Y)=>Y.action===X&&Y.context===Q);return Z?l(Z.chord):void 0}function gQ(X,Q){let V=ZQ(X,Q);if(!V)return null;let Z=Q.escape?!1:Q.meta;return{key:V,ctrl:Q.ctrl,alt:Z,shift:Q.shift,meta:Z,super:Q.super}}function HQ(X,Q){return X.key===Q.key&&X.ctrl===Q.ctrl&&X.shift===Q.shift&&(X.alt||X.meta)===(Q.alt||Q.meta)&&X.super===Q.super}function lQ(X,Q){if(X.length>=Q.chord.length)return!1;for(let V=0;V<X.length;V++){let Z=X[V],Y=Q.chord[V];if(!Z||!Y)return!1;if(!HQ(Z,Y))return!1}return!0}function cQ(X,Q){if(X.length!==Q.chord.length)return!1;for(let V=0;V<X.length;V++){let Z=X[V],Y=Q.chord[V];if(!Z||!Y)return!1;if(!HQ(Z,Y))return!1}return!0}function zQ(X,Q,V,Z,Y){if(Q.escape&&Y!==null)return{type:"chord_cancelled"};let J=gQ(X,Q);if(!J){if(Y!==null)return{type:"chord_cancelled"};return{type:"none"}}let G=Y?[...Y,J]:[J],q=new Set(V),B=Z.filter((L)=>q.has(L.context)),z=new Map;for(let L of B)if(L.chord.length>G.length&&lQ(G,L))z.set(l(L.chord),L.action);let N=!1;for(let L of z.values())if(L!==null){N=!0;break}if(N)return{type:"chord_started",pending:G};let H;for(let L of B)if(cQ(G,L))H=L;if(H){if(H.action===null)return{type:"unbound"};return{type:"match",action:H.action}}if(Y!==null)return{type:"chord_cancelled"};return{type:"none"}}var BQ=F(()=>{JQ();qQ()});function MV(X){let Q=c.c(24),{bindings:V,pendingChordRef:Z,pendingChord:Y,setPendingChord:J,activeContexts:G,registerActiveContext:q,unregisterActiveContext:B,handlerRegistryRef:z,children:N}=X,H;if(Q[0]!==V)H=(U,O)=>LQ(U,O,V),Q[0]=V,Q[1]=H;else H=Q[1];let L=H,_;if(Q[2]!==z)_=(U)=>{let O=z.current;if(!O)return dQ;if(!O.has(U.action))O.set(U.action,new Set);return O.get(U.action).add(U),()=>{let I=O.get(U.action);if(I){if(I.delete(U),I.size===0)O.delete(U.action)}}},Q[2]=z,Q[3]=_;else _=Q[3];let b=_,E;if(Q[4]!==G||Q[5]!==z)E=(U)=>{let O=z.current;if(!O)return!1;let I=O.get(U);if(!I||I.size===0)return!1;for(let e of I)if(G.has(e.context))return e.handler(),!0;return!1},Q[4]=G,Q[5]=z,Q[6]=E;else E=Q[6];let K=E,j;if(Q[7]!==V||Q[8]!==Z)j=(U,O,I)=>zQ(U,O,I,V,Z.current),Q[7]=V,Q[8]=Z,Q[9]=j;else j=Q[9];let A;if(Q[10]!==G||Q[11]!==V||Q[12]!==L||Q[13]!==K||Q[14]!==Y||Q[15]!==q||Q[16]!==b||Q[17]!==J||Q[18]!==j||Q[19]!==B)A={resolve:j,setPendingChord:J,getDisplayText:L,bindings:V,pendingChord:Y,activeContexts:G,registerActiveContext:q,unregisterActiveContext:B,registerHandler:b,invokeAction:K},Q[10]=G,Q[11]=V,Q[12]=L,Q[13]=K,Q[14]=Y,Q[15]=q,Q[16]=b,Q[17]=J,Q[18]=j,Q[19]=B,Q[20]=A;else A=Q[20];let w=A,W;if(Q[21]!==N||Q[22]!==w)W=S(NQ.Provider,{value:w,children:N}),Q[21]=N,Q[22]=w,Q[23]=W;else W=Q[23];return W}function dQ(){}function y(){return m.useContext(NQ)}function SV(X,Q){let V=c.c(5),Z=Q===void 0?!0:Q,Y=y(),J,G;if(V[0]!==X||V[1]!==Z||V[2]!==Y)J=()=>{if(!Y||!Z)return;return Y.registerActiveContext(X),()=>{Y.unregisterActiveContext(X)}},G=[X,Y,Z],V[0]=X,V[1]=Z,V[2]=Y,V[3]=J,V[4]=G;else J=V[3],G=V[4];m.useLayoutEffect(J,G)}var c,m,NQ;var UQ=F(()=>{BQ();f();c=M(u(),1),m=M(v(),1),NQ=m.createContext(null)});function TV(X,Q,V={}){let{context:Z="Global",isActive:Y=!0}=V,J=y();C.useEffect(()=>{if(!J||!Y)return;return J.registerHandler({action:X,context:Z,handler:Q})},[X,Z,Q,J,Y]);let G=C.useCallback((q,B,z)=>{if(!J)return;let N=[...J.activeContexts,Z,"Global"],H=[...new Set(N)],L=J.resolve(q,B,H);switch(L.type){case"match":if(J.setPendingChord(null),L.action===X){if(Q()!==!1)z.stopImmediatePropagation()}break;case"chord_started":J.setPendingChord(L.pending),z.stopImmediatePropagation();break;case"chord_cancelled":J.setPendingChord(null);break;case"unbound":J.setPendingChord(null),z.stopImmediatePropagation();break;case"none":break}},[X,Z,Q,J]);d(G,{isActive:Y})}function OQ(X,Q={}){let{context:V="Global",isActive:Z=!0}=Q,Y=y();C.useEffect(()=>{if(!Y||!Z)return;let G=[];for(let[q,B]of Object.entries(X))G.push(Y.registerHandler({action:q,context:V,handler:B}));return()=>{for(let q of G)q()}},[V,X,Y,Z]);let J=C.useCallback((G,q,B)=>{if(!Y)return;let z=[...Y.activeContexts,V,"Global"],N=[...new Set(z)],H=Y.resolve(G,q,N);switch(H.type){case"match":if(Y.setPendingChord(null),H.action in X){let L=X[H.action];if(L&&L()!==!1)B.stopImmediatePropagation()}break;case"chord_started":Y.setPendingChord(H.pending),B.stopImmediatePropagation();break;case"chord_cancelled":Y.setPendingChord(null);break;case"unbound":Y.setPendingChord(null),B.stopImmediatePropagation();break;case"none":break}},[V,X,Y]);d(J,{isActive:Z})}var C;var _Q=F(()=>{a();UQ();C=M(v(),1)});function o(X,Q,V){let Z=R.useRef(0),Y=R.useRef(void 0),J=R.useCallback(()=>{if(Y.current)clearTimeout(Y.current),Y.current=void 0},[]);return R.useEffect(()=>{return()=>{J()}},[J]),R.useCallback(()=>{let G=Date.now();if(G-Z.current<=FQ&&Y.current!==void 0)J(),X(!1),Q();else V?.(),X(!0),J(),Y.current=setTimeout((z,N)=>{z(!1),N.current=void 0},FQ,X,Y);Z.current=G},[X,Q,V,J])}var R,FQ=800;var WQ=F(()=>{R=M(v(),1)});function wQ(X,Q,V,Z=!0){let{exit:Y}=jQ(),[J,G]=T.useState({pending:!1,keyName:null}),q=T.useMemo(()=>V??Y,[V,Y]),B=o((_)=>G({pending:_,keyName:"Ctrl-C"}),q),z=o((_)=>G({pending:_,keyName:"Ctrl-D"}),q),N=T.useCallback(()=>{if(Q?.())return;B()},[B,Q]),H=T.useCallback(()=>{z()},[z]),L=T.useMemo(()=>({"app:interrupt":N,"app:exit":H}),[N,H]);return X(L,{context:"Global",isActive:Z}),J}var T;var MQ=F(()=>{aQ();WQ();T=M(v(),1)});function $V(X,Q,V){return wQ(OQ,Q,X,V)}var oQ=F(()=>{_Q();MQ()});function IQ(){return $.useContext(s)!==null}function pV(X){let Q=SQ.c(3),V=$.useContext(s),Z;if(Q[0]!==V||Q[1]!==X)Z=V?{rows:V.rows,columns:V.columns}:X,Q[0]=V,Q[1]=X,Q[2]=Z;else Z=Q[2];return Z}function xV(){return $.useContext(s)?.scrollRef??null}var SQ,$,s;var KQ=F(()=>{SQ=M(u(),1),$=M(v(),1),s=$.createContext(null)});function EQ(X){let Q=TQ.c(21),{width:V,color:Z,char:Y,padding:J,title:G}=X,q=Y===void 0?"─":Y,B=J===void 0?0:J,{columns:z}=XQ(),N=Math.max(0,(V??z)-B);if(G){let b=AQ(G)+2,E=Math.max(0,N-b),K=Math.floor(E/2),j=E-K,A=!Z,w;if(Q[0]!==q||Q[1]!==K)w=q.repeat(K),Q[0]=q,Q[1]=K,Q[2]=w;else w=Q[2];let W;if(Q[3]!==G)W=S(h,{dimColor:!0,children:S(RQ,{children:G})}),Q[3]=G,Q[4]=W;else W=Q[4];let U;if(Q[5]!==q||Q[6]!==j)U=q.repeat(j),Q[5]=q,Q[6]=j,Q[7]=U;else U=Q[7];let O;if(Q[8]!==Z||Q[9]!==A||Q[10]!==w||Q[11]!==W||Q[12]!==U)O=k(h,{color:Z,dimColor:A,children:[w," ",W," ",U]}),Q[8]=Z,Q[9]=A,Q[10]=w,Q[11]=W,Q[12]=U,Q[13]=O;else O=Q[13];return O}let H=!Z,L;if(Q[14]!==q||Q[15]!==N)L=q.repeat(N),Q[14]=q,Q[15]=N,Q[16]=L;else L=Q[16];let _;if(Q[17]!==Z||Q[18]!==H||Q[19]!==L)_=S(h,{color:Z,dimColor:H,children:L}),Q[17]=Z,Q[18]=H,Q[19]=L,Q[20]=_;else _=Q[20];return _}var TQ;var DQ=F(()=>{YQ();sQ();a();f();TQ=M(u(),1)});function oV(X){let Q=PQ.c(9),{children:V,color:Z}=X;if(IQ()){let q;if(Q[0]!==V)q=S(g,{flexDirection:"column",paddingX:1,flexShrink:0,children:V}),Q[0]=V,Q[1]=q;else q=Q[1];return q}let Y;if(Q[2]!==Z)Y=S(EQ,{color:Z}),Q[2]=Z,Q[3]=Y;else Y=Q[3];let J;if(Q[4]!==V)J=S(g,{flexDirection:"column",paddingX:2,children:V}),Q[4]=V,Q[5]=J;else J=Q[5];let G;if(Q[6]!==Y||Q[7]!==J)G=k(g,{flexDirection:"column",paddingTop:1,children:[Y,J]}),Q[6]=Y,Q[7]=J,Q[8]=G;else G=Q[8];return G}var PQ;var rQ=F(()=>{KQ();a();DQ();f();PQ=M(u(),1)});async function ZV(X="claude_code_guest_pass"){let{accessToken:Q,orgUUID:V}=await n(),Z={...t(Q),"x-organization-uuid":V},Y=`${r().BASE_API_URL}/api/oauth/organizations/${V}/referral/eligibility`;return(await i.get(Y,{headers:Z,params:{campaign:X},timeout:5000})).data}async function ZX(X="claude_code_guest_pass"){let{accessToken:Q,orgUUID:V}=await n(),Z={...t(Q),"x-organization-uuid":V},Y=`${r().BASE_API_URL}/api/oauth/organizations/${V}/referral/redemptions`;return(await i.get(Y,{headers:Z,params:{campaign:X},timeout:1e4})).data}function xQ(){return!!(P()?.organizationUuid&&$Q()&&bQ()==="max")}function JX(){if(!xQ())return{eligible:!1,needsRefresh:!1,hasCache:!1};let X=P()?.organizationUuid;if(!X)return{eligible:!1,needsRefresh:!1,hasCache:!1};let V=x().passesEligibilityCache?.[X];if(!V)return{eligible:!1,needsRefresh:!0,hasCache:!1};let{eligible:Z,timestamp:Y}=V,G=Date.now()-Y>pQ;return{eligible:Z,needsRefresh:G,hasCache:!0}}function GX(X){let Q=JV[X.currency]??`${X.currency} `,V=X.amount_minor_units/100,Z=V%1===0?V.toString():V.toFixed(2);return`${Q}${Z}`}function qX(){let X=P()?.organizationUuid;if(!X)return null;return x().passesEligibilityCache?.[X]?.referrer_reward??null}function LX(){let X=P()?.organizationUuid;if(!X)return null;return x().passesEligibilityCache?.[X]?.remaining_passes??null}async function vQ(){if(p)return D("Passes: Reusing in-flight eligibility fetch"),p;let X=P()?.organizationUuid;if(!X)return null;return p=(async()=>{try{let Q=await ZV(),V={...Q,timestamp:Date.now()};return mQ((Z)=>({...Z,passesEligibilityCache:{...Z.passesEligibilityCache,[X]:V}})),D(`Passes eligibility cached for org ${X}: ${Q.eligible}`),Q}catch(Q){return D("Failed to fetch and cache passes eligibility"),CQ(Q),null}finally{p=null}})(),p}async function GV(){if(!xQ())return null;let X=P()?.organizationUuid;if(!X)return null;let V=x().passesEligibilityCache?.[X],Z=Date.now();if(!V)return D("Passes: No cache, fetching eligibility in background (command unavailable this session)"),vQ(),null;if(Z-V.timestamp>pQ){D("Passes: Cache stale, returning cached data and refreshing in background"),vQ();let{timestamp:G,...q}=V;return q}D("Passes: Using fresh cached eligibility data");let{timestamp:Y,...J}=V;return J}async function HX(){if(fQ())return;GV()}var pQ=86400000,p=null,JV;var qV=F(()=>{tQ();nQ();XV();QV();iQ();VV();eQ();YV();JV={USD:"$",EUR:"€",GBP:"£",BRL:"R$",CAD:"CA$",AUD:"A$",NZD:"NZ$",SGD:"S$"}});
|
|
2
|
+
export{XQ as jX,YQ as kX,GQ as lX,yQ as mX,l as nX,BV as oX,qQ as pX,LQ as qX,zQ as rX,BQ as sX,MV as tX,y as uX,SV as vX,UQ as wX,TV as xX,OQ as yX,_Q as zX,o as AX,WQ as BX,$V as CX,oQ as DX,s as EX,IQ as FX,pV as GX,xV as HX,KQ as IX,EQ as JX,DQ as KX,oV as LX,rQ as MX,ZX as NX,JX as OX,GX as PX,qX as QX,LX as RX,GV as SX,HX as TX,qV as UX};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import{Gqa as V_,Hqa as su,Jqa as K_,Kqa as f_}from"./cli-0.7.5-5a315ky8.mjs";import{Nqa as H,Qqa as $_}from"./cli-0.7.5-012a6zfk.mjs";var W_=H((k_)=>{var z_=$_("node:stream"),v=V_(),K=f_(),q=K_(),m=(_)=>_?.body instanceof z_.Readable||typeof ReadableStream<"u"&&_?.body instanceof ReadableStream,G_=["AuthFailure","InvalidSignatureException","RequestExpired","RequestInTheFuture","RequestTimeTooSkewed","SignatureDoesNotMatch"],J_=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException","TransactionInProgressException"],X_=["TimeoutError","RequestTimeout","RequestTimeoutException"],C_=[500,502,503,504],d_=["ECONNRESET","ECONNREFUSED","EPIPE","ETIMEDOUT"],Z_=["EHOSTUNREACH","ENETUNREACH","ENOTFOUND"],A=(_)=>_?.$retryable!==void 0,p=(_)=>G_.includes(_.name),y=(_)=>_.$metadata?.clockSkewCorrected,s=(_)=>{let u=new Set(["Failed to fetch","NetworkError when attempting to fetch resource","The Internet connection appears to be offline","Load failed","Network request failed"]);if(!(_&&_ instanceof TypeError))return!1;return u.has(_.message)},J=(_)=>_.$metadata?.httpStatusCode===429||J_.includes(_.name)||_.$retryable?.throttling==!0,X=(_,u=0)=>A(_)||y(_)||_.name==="InvalidSignatureException"&&_.message?.includes("Signature expired")||X_.includes(_.name)||d_.includes(_?.code||"")||Z_.includes(_?.code||"")||C_.includes(_.$metadata?.httpStatusCode||0)||s(_)||o(_)||_.cause!==void 0&&u<=10&&X(_.cause,u+1),a=(_)=>{if(_.$metadata?.httpStatusCode!==void 0){let u=_.$metadata.httpStatusCode;if(500<=u&&u<=599&&!X(_))return!0;return!1}return!1};function o(_){return _.code==="ERR_HTTP2_STREAM_ERROR"&&_.message.includes("NGHTTP2_REFUSED_STREAM")}var e=100,Q=20000,t=500,Z=500,r=5,__=10,g=1,c="amz-sdk-invocation-id",w="amz-sdk-request";function u_(_,u){if(!K.HttpResponse.isInstance(_))return;for(let E of Object.keys(_.headers)){let O=E.toLowerCase();if(O==="retry-after"){let T=_.headers[E],b=NaN;if(T.endsWith("GMT"))try{b=(q.parseRfc7231DateTime(T).getTime()-Date.now())/1000}catch(L){u?.trace?.("Failed to parse retry-after header"),u?.trace?.(L)}else if(T.match(/ GMT, ((\d+)|(\d+\.\d+))$/))b=Number(T.match(/ GMT, ([\d.]+)$/)?.[1]);else if(T.match(/^((\d+)|(\d+\.\d+))$/))b=Number(T);else if(Date.parse(T)>=Date.now())b=(Date.parse(T)-Date.now())/1000;if(isNaN(b))return;return new Date(Date.now()+b*1000)}else if(O==="x-amz-retry-after"){let T=_.headers[E],b=Number(T);if(isNaN(b)){u?.trace?.(`Failed to parse x-amz-retry-after=${T}`);return}return new Date(Date.now()+b)}}}function H_(_,u){return u_(_,u)}var E_=(_)=>{if(_ instanceof Error)return _;if(_ instanceof Object)return Object.assign(Error(),_);if(typeof _==="string")return Error(_);return Error(`AWS SDK error wrapper for ${_}`)};function O_(_){return(u)=>(E,O)=>async(T)=>{let b=await u.retryStrategy(),L=await u.maxAttempts();if(Q_(b)){b=b;let N=await b.acquireInitialRetryToken((O.partition_id??"")+(O.__retryLongPoll?":longpoll":"")),j=Error(),Y=0,F=0,{request:I}=T,R=K.HttpRequest.isInstance(I);if(R)I.headers[c]=q.v4();while(!0)try{if(R)I.headers[w]=`attempt=${Y+1}; max=${L}`;let{response:V,output:z}=await E(T);return b.recordSuccess(N),z.$metadata.attempts=Y+1,z.$metadata.totalRetryDelay=F,{response:V,output:z}}catch(V){let z=c_(V,u.logger);if(j=E_(V),R&&_(I))throw(O.logger instanceof v.NoOpLogger?console:O.logger)?.warn("An error was encountered in a non-retryable streaming request."),j;try{N=await b.refreshRetryTokenForRetry(N,z)}catch(x){if(typeof x.$backoff==="number")await l(x.$backoff);if(!j.$metadata)j.$metadata={};throw j.$metadata.attempts=Y+1,j.$metadata.totalRetryDelay=F,j}Y=N.getRetryCount();let k=N.getRetryDelay();F+=k,await l(k)}}else{if(b=b,b?.mode)O.userAgent=[...O.userAgent||[],["cfg/retry-mode",b.mode]];return b.retry(E,T)}}}var l=(_)=>new Promise((u)=>setTimeout(u,_)),Q_=(_)=>typeof _.acquireInitialRetryToken<"u"&&typeof _.refreshRetryTokenForRetry<"u"&&typeof _.recordSuccess<"u",c_=(_,u)=>{let E={error:_,errorType:w_(_)},O=u_(_.$response,u);if(O)E.retryAfterHint=O;return E},w_=(_)=>{if(J(_))return"THROTTLING";if(X(_))return"TRANSIENT";if(a(_))return"SERVER_ERROR";return"CLIENT_ERROR"},b_={name:"retryMiddleware",tags:["RETRY"],step:"finalizeRequest",priority:"high",override:!0};function B_(_){let u=O_(_);return(E)=>({applyToStack:(O)=>{O.add(u(E),b_)}})}class C{static setTimeoutFn=setTimeout;beta;minCapacity;minFillRate;scaleConstant;smooth;enabled=!1;availableTokens=0;lastMaxRate=0;measuredTxRate=0;requestCount=0;fillRate;lastThrottleTime;lastTimestamp=0;lastTxRateBucket;maxCapacity;timeWindow=0;constructor(_){this.beta=_?.beta??0.7,this.minCapacity=_?.minCapacity??1,this.minFillRate=_?.minFillRate??0.5,this.scaleConstant=_?.scaleConstant??0.4,this.smooth=_?.smooth??0.8,this.lastThrottleTime=this.getCurrentTimeInSeconds(),this.lastTxRateBucket=Math.floor(this.getCurrentTimeInSeconds()),this.fillRate=this.minFillRate,this.maxCapacity=this.minCapacity}async getSendToken(){return this.acquireTokenBucket(1)}updateClientSendingRate(_){let u;this.updateMeasuredRate();let E=_;if(E?.errorType==="THROTTLING"||J(E?.error??_)){let b=!this.enabled?this.measuredTxRate:Math.min(this.measuredTxRate,this.fillRate);this.lastMaxRate=b,this.calculateTimeWindow(),this.lastThrottleTime=this.getCurrentTimeInSeconds(),u=this.cubicThrottle(b),this.enableTokenBucket()}else this.calculateTimeWindow(),u=this.cubicSuccess(this.getCurrentTimeInSeconds());let T=Math.min(u,2*this.measuredTxRate);this.updateTokenBucketRate(T)}getCurrentTimeInSeconds(){return Date.now()/1000}async acquireTokenBucket(_){if(!this.enabled)return;this.refillTokenBucket();while(_>this.availableTokens){let u=(_-this.availableTokens)/this.fillRate*1000;await new Promise((E)=>C.setTimeoutFn(E,u)),this.refillTokenBucket()}this.availableTokens=this.availableTokens-_}refillTokenBucket(){let _=this.getCurrentTimeInSeconds();if(!this.lastTimestamp){this.lastTimestamp=_;return}let u=(_-this.lastTimestamp)*this.fillRate;this.availableTokens=Math.min(this.maxCapacity,this.availableTokens+u),this.lastTimestamp=_}calculateTimeWindow(){this.timeWindow=this.getPrecise(Math.pow(this.lastMaxRate*(1-this.beta)/this.scaleConstant,0.3333333333333333))}cubicThrottle(_){return this.getPrecise(_*this.beta)}cubicSuccess(_){return this.getPrecise(this.scaleConstant*Math.pow(_-this.lastThrottleTime-this.timeWindow,3)+this.lastMaxRate)}enableTokenBucket(){this.enabled=!0}updateTokenBucketRate(_){this.refillTokenBucket(),this.fillRate=Math.max(_,this.minFillRate),this.maxCapacity=Math.max(_,this.minCapacity),this.availableTokens=Math.min(this.availableTokens,this.maxCapacity)}updateMeasuredRate(){let _=this.getCurrentTimeInSeconds(),u=Math.floor(_*2)/2;if(this.requestCount++,u>this.lastTxRateBucket){let E=this.requestCount/(u-this.lastTxRateBucket);this.measuredTxRate=this.getPrecise(E*this.smooth+this.measuredTxRate*(1-this.smooth)),this.requestCount=0,this.lastTxRateBucket=u}}getPrecise(_){return parseFloat(_.toFixed(8))}}class M{static v2026=typeof process<"u"&&process.env?.SMITHY_NEW_RETRIES_2026==="true";static delay(){return M.v2026?50:100}static throttlingDelay(){return M.v2026?1000:500}static cost(){return M.v2026?14:5}static throttlingCost(){return M.v2026?5:10}static modifiedCostType(){return M.v2026?"THROTTLING":"TRANSIENT"}}class T_{x=M.delay();computeNextBackoffDelay(_){let u=Math.random(),E=2,O=u*Math.min(this.x*2**_,Q);return Math.floor(O)}setDelayBase(_){this.x=_}}class h{delay;count;cost;longPoll;constructor(_,u,E,O){this.delay=_,this.count=u,this.cost=E,this.longPoll=O}getRetryCount(){return this.count}getRetryDelay(){return Math.min(Q,this.delay)}getRetryCost(){return this.cost}isLongPoll(){return this.longPoll}}k_.RETRY_MODES=void 0;(function(_){_.STANDARD="standard",_.ADAPTIVE="adaptive"})(k_.RETRY_MODES||(k_.RETRY_MODES={}));var $=3,Y_=k_.RETRY_MODES.STANDARD,d={incompatible:1,attempts:2,capacity:3},G=class{mode=k_.RETRY_MODES.STANDARD;capacity=Z;retryBackoffStrategy;maxAttemptsProvider;baseDelay;constructor(u){if(typeof u==="number")this.maxAttemptsProvider=async()=>u;else if(typeof u==="function")this.maxAttemptsProvider=u;else if(u&&typeof u==="object")this.maxAttemptsProvider=async()=>u.maxAttempts,this.baseDelay=u.baseDelay,this.retryBackoffStrategy=u.backoff;this.maxAttemptsProvider??=async()=>$,this.baseDelay??=M.delay(),this.retryBackoffStrategy??=new T_}async acquireInitialRetryToken(u){return new h(M.delay(),0,void 0,M.v2026&&u.includes(":longpoll"))}async refreshRetryTokenForRetry(u,E){let O=await this.getMaxAttempts(),T=this.retryCode(u,E,O),b=T===0,L=u.isLongPoll?.();if(b||L){let N=E.errorType;this.retryBackoffStrategy.setDelayBase(N==="THROTTLING"?M.throttlingDelay():this.baseDelay);let j=this.retryBackoffStrategy.computeNextBackoffDelay(u.getRetryCount()),Y=j;if(E.retryAfterHint instanceof Date)Y=Math.max(j,Math.min(E.retryAfterHint.getTime()-Date.now(),j+5000));if(!b)throw Object.assign(Error("No retry token available"),{$backoff:M.v2026&&T===d.capacity&&L?Y:0});else{let F=this.getCapacityCost(N);return this.capacity-=F,new h(Y,u.getRetryCount()+1,F,u.isLongPoll?.()??!1)}}throw Error("No retry token available")}recordSuccess(u){this.capacity=Math.min(Z,this.capacity+(u.getRetryCost()??g))}getCapacity(){return this.capacity}async maxAttempts(){return this.maxAttemptsProvider()}async getMaxAttempts(){try{return await this.maxAttemptsProvider()}catch(u){return console.warn(`Max attempts provider could not resolve. Using default of ${$}`),$}}retryCode(u,E,O){let T=u.getRetryCount()+1,b=this.isRetryableError(E.errorType)?0:d.incompatible,L=T<O?0:d.attempts,N=this.capacity>=this.getCapacityCost(E.errorType)?0:d.capacity;return b||L||N}getCapacityCost(u){return u===M.modifiedCostType()?M.throttlingCost():M.cost()}isRetryableError(u){return u==="THROTTLING"||u==="TRANSIENT"}},j_=class{mode=k_.RETRY_MODES.ADAPTIVE;rateLimiter;standardRetryStrategy;constructor(u,E){let{rateLimiter:O}=E??{};this.rateLimiter=O??new C,this.standardRetryStrategy=E?new G({maxAttempts:typeof u==="number"?u:3,...E}):new G(u)}async acquireInitialRetryToken(u){let E=await this.standardRetryStrategy.acquireInitialRetryToken(u);return await this.rateLimiter.getSendToken(),E}async refreshRetryTokenForRetry(u,E){this.rateLimiter.updateClientSendingRate(E);let O=await this.standardRetryStrategy.refreshRetryTokenForRetry(u,E);return await this.rateLimiter.getSendToken(),O}recordSuccess(u){this.rateLimiter.updateClientSendingRate({}),this.standardRetryStrategy.recordSuccess(u)}async maxAttemptsProvider(){return this.standardRetryStrategy.maxAttempts()}};class P_ extends G{computeNextBackoffDelay;constructor(_,u=M.delay()){super(typeof _==="function"?_:async()=>_);if(typeof u==="number")this.computeNextBackoffDelay=()=>u;else this.computeNextBackoffDelay=u}async refreshRetryTokenForRetry(_,u){let E=await super.refreshRetryTokenForRetry(_,u);return E.getRetryDelay=()=>this.computeNextBackoffDelay(E.getRetryCount()),E}}var v_=(_,u)=>{let E=_,O=g,T=r,b=__,L=_,N=(I)=>I.name==="TimeoutError"?b:T,j=(I)=>N(I)<=L;return Object.freeze({hasRetryTokens:j,retrieveRetryTokens:(I)=>{if(!j(I))throw Error("No retry token available");let R=N(I);return L-=R,R},releaseRetryTokens:(I)=>{L+=I??O,L=Math.min(L,E)}})},L_=(_,u)=>Math.floor(Math.min(Q,Math.random()*2**u*_)),N_=(_)=>{if(!_)return!1;return A(_)||p(_)||J(_)||X(_)};class n{maxAttemptsProvider;retryDecider;delayDecider;retryQuota;mode=k_.RETRY_MODES.STANDARD;constructor(_,u){this.maxAttemptsProvider=_,this.retryDecider=u?.retryDecider??N_,this.delayDecider=u?.delayDecider??L_,this.retryQuota=u?.retryQuota??v_(Z)}shouldRetry(_,u,E){return u<E&&this.retryDecider(_)&&this.retryQuota.hasRetryTokens(_)}async getMaxAttempts(){let _;try{_=await this.maxAttemptsProvider()}catch(u){_=$}return _}async retry(_,u,E){let O,T=0,b=0,L=await this.getMaxAttempts(),{request:N}=u;if(K.HttpRequest.isInstance(N))N.headers[c]=q.v4();while(!0)try{if(K.HttpRequest.isInstance(N))N.headers[w]=`attempt=${T+1}; max=${L}`;if(E?.beforeRequest)await E.beforeRequest();let{response:j,output:Y}=await _(u);if(E?.afterRequest)E.afterRequest(j);return this.retryQuota.releaseRetryTokens(O),Y.$metadata.attempts=T+1,Y.$metadata.totalRetryDelay=b,{response:j,output:Y}}catch(j){let Y=E_(j);if(T++,this.shouldRetry(Y,T,L)){O=this.retryQuota.retrieveRetryTokens(Y);let F=this.delayDecider(J(Y)?t:e,T),I=h_(Y.$response),R=Math.max(I||0,F);b+=R,await new Promise((V)=>setTimeout(V,R));continue}if(!Y.$metadata)Y.$metadata={};throw Y.$metadata.attempts=T,Y.$metadata.totalRetryDelay=b,Y}}}var h_=(_)=>{if(!K.HttpResponse.isInstance(_))return;let u=Object.keys(_.headers).find((b)=>b.toLowerCase()==="retry-after");if(!u)return;let E=_.headers[u],O=Number(E);if(!Number.isNaN(O))return O*1000;return new Date(E).getTime()-Date.now()};class M_ extends n{rateLimiter;constructor(_,u){let{rateLimiter:E,...O}=u??{};super(_,O);this.rateLimiter=E??new C,this.mode=k_.RETRY_MODES.ADAPTIVE}async retry(_,u){return super.retry(_,u,{beforeRequest:async()=>{return this.rateLimiter.getSendToken()},afterRequest:(E)=>{this.rateLimiter.updateClientSendingRate(E)}})}}var S="AWS_MAX_ATTEMPTS",i="max_attempts",S_={environmentVariableSelector:(_)=>{let u=_[S];if(!u)return;let E=parseInt(u);if(Number.isNaN(E))throw Error(`Environment variable ${S} mast be a number, got "${u}"`);return E},configFileSelector:(_)=>{let u=_[i];if(!u)return;let E=parseInt(u);if(Number.isNaN(E))throw Error(`Shared config file entry ${i} mast be a number, got "${u}"`);return E},default:$},i_=(_)=>{let{retryStrategy:u,retryMode:E}=_,O=v.normalizeProvider(_.maxAttempts??$),T=u?Promise.resolve(u):void 0,b=async()=>await v.normalizeProvider(E)()===k_.RETRY_MODES.ADAPTIVE?new j_(O):new G(O);return Object.assign(_,{maxAttempts:O,retryStrategy:()=>T??=b()})},U_="AWS_RETRY_MODE",I_="retry_mode",q_={environmentVariableSelector:(_)=>_[U_],configFileSelector:(_)=>_[I_],default:Y_},F_=()=>(_)=>async(u)=>{let{request:E}=u;if(K.HttpRequest.isInstance(E))delete E.headers[c],delete E.headers[w];return _(u)},R_={name:"omitRetryHeadersMiddleware",tags:["RETRY","HEADERS","OMIT_RETRY_HEADERS"],relation:"before",toMiddleware:"awsAuthMiddleware",override:!0},A_=(_)=>({applyToStack:(u)=>{u.addRelativeTo(F_(),R_)}}),g_=O_(m),n_=B_(m);k_.AdaptiveRetryStrategy=j_;k_.CONFIG_MAX_ATTEMPTS=i;k_.CONFIG_RETRY_MODE=I_;k_.ConfiguredRetryStrategy=P_;k_.DEFAULT_MAX_ATTEMPTS=$;k_.DEFAULT_RETRY_DELAY_BASE=e;k_.DEFAULT_RETRY_MODE=Y_;k_.DefaultRateLimiter=C;k_.DeprecatedAdaptiveRetryStrategy=M_;k_.DeprecatedStandardRetryStrategy=n;k_.ENV_MAX_ATTEMPTS=S;k_.ENV_RETRY_MODE=U_;k_.INITIAL_RETRY_TOKENS=Z;k_.INVOCATION_ID_HEADER=c;k_.MAXIMUM_RETRY_DELAY=Q;k_.NODE_MAX_ATTEMPT_CONFIG_OPTIONS=S_;k_.NODE_RETRY_MODE_CONFIG_OPTIONS=q_;k_.NO_RETRY_INCREMENT=g;k_.REQUEST_HEADER=w;k_.RETRY_COST=r;k_.Retry=M;k_.StandardRetryStrategy=G;k_.THROTTLING_RETRY_DELAY_BASE=t;k_.TIMEOUT_RETRY_COST=__;k_.defaultDelayDecider=L_;k_.defaultRetryDecider=N_;k_.getOmitRetryHeadersPlugin=A_;k_.getRetryAfterHint=H_;k_.getRetryPlugin=n_;k_.isBrowserNetworkError=s;k_.isClockSkewCorrectedError=y;k_.isClockSkewError=p;k_.isNodeJsHttp2TransientError=o;k_.isRetryableByTrait=A;k_.isServerError=a;k_.isThrottlingError=J;k_.isTransientError=X;k_.omitRetryHeadersMiddleware=F_;k_.omitRetryHeadersMiddlewareOptions=R_;k_.resolveRetryConfig=i_;k_.retryMiddleware=g_;k_.retryMiddlewareOptions=b_});var D_=H((P)=>{Object.defineProperty(P,"__esModule",{value:!0});P.TIMEOUT_RETRY_COST=P.THROTTLING_RETRY_DELAY_BASE=P.Retry=P.RETRY_MODES=P.RETRY_COST=P.NO_RETRY_INCREMENT=P.REQUEST_HEADER=P.MAXIMUM_RETRY_DELAY=P.INVOCATION_ID_HEADER=P.INITIAL_RETRY_TOKENS=P.DEFAULT_RETRY_MODE=P.DEFAULT_RETRY_DELAY_BASE=P.DEFAULT_MAX_ATTEMPTS=P.StandardRetryStrategy=P.DefaultRateLimiter=P.ConfiguredRetryStrategy=P.AdaptiveRetryStrategy=void 0;var U=W_();Object.defineProperty(P,"AdaptiveRetryStrategy",{enumerable:!0,get:function(){return U.AdaptiveRetryStrategy}});Object.defineProperty(P,"ConfiguredRetryStrategy",{enumerable:!0,get:function(){return U.ConfiguredRetryStrategy}});Object.defineProperty(P,"DefaultRateLimiter",{enumerable:!0,get:function(){return U.DefaultRateLimiter}});Object.defineProperty(P,"StandardRetryStrategy",{enumerable:!0,get:function(){return U.StandardRetryStrategy}});Object.defineProperty(P,"DEFAULT_MAX_ATTEMPTS",{enumerable:!0,get:function(){return U.DEFAULT_MAX_ATTEMPTS}});Object.defineProperty(P,"DEFAULT_RETRY_DELAY_BASE",{enumerable:!0,get:function(){return U.DEFAULT_RETRY_DELAY_BASE}});Object.defineProperty(P,"DEFAULT_RETRY_MODE",{enumerable:!0,get:function(){return U.DEFAULT_RETRY_MODE}});Object.defineProperty(P,"INITIAL_RETRY_TOKENS",{enumerable:!0,get:function(){return U.INITIAL_RETRY_TOKENS}});Object.defineProperty(P,"INVOCATION_ID_HEADER",{enumerable:!0,get:function(){return U.INVOCATION_ID_HEADER}});Object.defineProperty(P,"MAXIMUM_RETRY_DELAY",{enumerable:!0,get:function(){return U.MAXIMUM_RETRY_DELAY}});Object.defineProperty(P,"REQUEST_HEADER",{enumerable:!0,get:function(){return U.REQUEST_HEADER}});Object.defineProperty(P,"NO_RETRY_INCREMENT",{enumerable:!0,get:function(){return U.NO_RETRY_INCREMENT}});Object.defineProperty(P,"RETRY_COST",{enumerable:!0,get:function(){return U.RETRY_COST}});Object.defineProperty(P,"RETRY_MODES",{enumerable:!0,get:function(){return U.RETRY_MODES}});Object.defineProperty(P,"Retry",{enumerable:!0,get:function(){return U.Retry}});Object.defineProperty(P,"THROTTLING_RETRY_DELAY_BASE",{enumerable:!0,get:function(){return U.THROTTLING_RETRY_DELAY_BASE}});Object.defineProperty(P,"TIMEOUT_RETRY_COST",{enumerable:!0,get:function(){return U.TIMEOUT_RETRY_COST}})});var yu=H((gu)=>{var wu=D_(),B={warningEmitted:!1},Bu=(_)=>{if(_&&!B.warningEmitted){if(process.env.AWS_SDK_JS_NODE_VERSION_SUPPORT_WARNING_DISABLED==="true"){B.warningEmitted=!0;return}let u=parseInt(_.substring(1,_.indexOf("."))),E=22;if(u<E)B.warningEmitted=!0,process.emitWarning(`NodeVersionSupportWarning: The AWS SDK for JavaScript (v3)
|
|
2
|
+
versions published after the first week of January 2027
|
|
3
|
+
will require node >=${E}. You are running node ${_}.
|
|
4
|
+
|
|
5
|
+
To continue receiving updates to AWS services, bug fixes,
|
|
6
|
+
and security updates please upgrade to node >=${E}.
|
|
7
|
+
|
|
8
|
+
More information can be found at: https://a.co/c895JFp`)}},vu=()=>(_,u)=>async(E)=>{return u.__retryLongPoll=!0,_(E)},hu={name:"longPollMiddleware",tags:["RETRY"],step:"initialize",override:!0},Su=(_)=>({applyToStack:(u)=>{u.add(vu(),hu)}});function iu(_,u,E){if(!_.$source)_.$source={};return _.$source[u]=E,_}wu.Retry.v2026||=typeof process==="object"&&process.env?.AWS_NEW_RETRIES_2026==="true";function qu(_,u,E){if(!_.__aws_sdk_context)_.__aws_sdk_context={features:{}};else if(!_.__aws_sdk_context.features)_.__aws_sdk_context.features={};_.__aws_sdk_context.features[u]=E}function Au(_,u,E){if(!_.$source)_.$source={};return _.$source[u]=E,_}gu.emitWarningIfUnsupportedVersion=Bu;gu.getLongPollPlugin=Su;gu.setCredentialFeature=iu;gu.setFeature=qu;gu.setTokenFeature=Au;gu.state=B});var ou=H((D)=>{Object.defineProperty(D,"__esModule",{value:!0});D.memoize=D.fromStatic=D.chain=D.TokenProviderError=D.CredentialsProviderError=D.ProviderError=void 0;var f=su();Object.defineProperty(D,"ProviderError",{enumerable:!0,get:function(){return f.ProviderError}});Object.defineProperty(D,"CredentialsProviderError",{enumerable:!0,get:function(){return f.CredentialsProviderError}});Object.defineProperty(D,"TokenProviderError",{enumerable:!0,get:function(){return f.TokenProviderError}});Object.defineProperty(D,"chain",{enumerable:!0,get:function(){return f.chain}});Object.defineProperty(D,"fromStatic",{enumerable:!0,get:function(){return f.fromValue}});Object.defineProperty(D,"memoize",{enumerable:!0,get:function(){return f.memoize}})});
|
|
9
|
+
export{W_ as zqa,D_ as Aqa,yu as Bqa,ou as Cqa};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{B3 as W,C3 as V,O6 as j,m7 as f,p6 as M,x3 as G}from"./cli-0.7.5-rqvar6g7.mjs";import{Bca as x,Cca as B,D_ as w,E_ as z,H_ as Y}from"./cli-0.7.5-ghq2axmf.mjs";import{Eha as F,wha as J}from"./cli-0.7.5-h3p8qw3f.mjs";import{Pqa as Z}from"./cli-0.7.5-012a6zfk.mjs";function g(){q=void 0,w()}function p(){if(q!==void 0)return q;if(G()!=="firstParty")return q=z(!1);if(!W())return q=z(!1);if(x())return q=z(!1);if(process.env.CLAUDE_CODE_ENTRYPOINT==="local-agent")return q=z(!1);let Q=j();if(Q?.accessToken&&Q.subscriptionType===null)return q=z(!0);if(Q?.accessToken&&Q.scopes?.includes(J)&&(Q.subscriptionType==="enterprise"||Q.subscriptionType==="team"))return q=z(!0);try{let{key:$}=M({skipRetrievingKeyFromApiKeyHelper:!0});if($)return q=z(!0)}catch{}return q=z(!1)}var q;var X=Z(()=>{F();f();V();B();Y()});function S(Q){let $=Q.toUpperCase();return K.has($)||k.some((m)=>$.startsWith(m))}var K,k,y,I;var b=Z(()=>{K=new Set(["CLAUDE_CODE_PROVIDER_MANAGED_BY_HOST","CLAUDE_CODE_USE_BEDROCK","CLAUDE_CODE_USE_VERTEX","CLAUDE_CODE_USE_FOUNDRY","CLAUDE_CODE_USE_GITHUB","ANTHROPIC_BASE_URL","ANTHROPIC_BEDROCK_BASE_URL","ANTHROPIC_VERTEX_BASE_URL","ANTHROPIC_FOUNDRY_BASE_URL","ANTHROPIC_FOUNDRY_RESOURCE","ANTHROPIC_VERTEX_PROJECT_ID","CLOUD_ML_REGION","ANTHROPIC_API_KEY","ANTHROPIC_AUTH_TOKEN","CLAUDE_CODE_OAUTH_TOKEN","AWS_BEARER_TOKEN_BEDROCK","ANTHROPIC_FOUNDRY_API_KEY","CLAUDE_CODE_SKIP_BEDROCK_AUTH","CLAUDE_CODE_SKIP_VERTEX_AUTH","CLAUDE_CODE_SKIP_FOUNDRY_AUTH","ANTHROPIC_MODEL","ANTHROPIC_DEFAULT_HAIKU_MODEL","ANTHROPIC_DEFAULT_HAIKU_MODEL_DESCRIPTION","ANTHROPIC_DEFAULT_HAIKU_MODEL_NAME","ANTHROPIC_DEFAULT_HAIKU_MODEL_SUPPORTED_CAPABILITIES","ANTHROPIC_DEFAULT_OPUS_MODEL","ANTHROPIC_DEFAULT_OPUS_MODEL_DESCRIPTION","ANTHROPIC_DEFAULT_OPUS_MODEL_NAME","ANTHROPIC_DEFAULT_OPUS_MODEL_SUPPORTED_CAPABILITIES","ANTHROPIC_DEFAULT_SONNET_MODEL","ANTHROPIC_DEFAULT_SONNET_MODEL_DESCRIPTION","ANTHROPIC_DEFAULT_SONNET_MODEL_NAME","ANTHROPIC_DEFAULT_SONNET_MODEL_SUPPORTED_CAPABILITIES","ANTHROPIC_SMALL_FAST_MODEL","ANTHROPIC_SMALL_FAST_MODEL_AWS_REGION","CLAUDE_CODE_SUBAGENT_MODEL"]),k=["VERTEX_REGION_CLAUDE_"];y=["apiKeyHelper","awsAuthRefresh","awsCredentialExport","gcpAuthRefresh","otelHeadersHelper","statusLine"],I=new Set(["ANTHROPIC_CUSTOM_HEADERS","ANTHROPIC_CUSTOM_MODEL_OPTION","ANTHROPIC_CUSTOM_MODEL_OPTION_DESCRIPTION","ANTHROPIC_CUSTOM_MODEL_OPTION_NAME","ANTHROPIC_DEFAULT_HAIKU_MODEL","ANTHROPIC_DEFAULT_HAIKU_MODEL_DESCRIPTION","ANTHROPIC_DEFAULT_HAIKU_MODEL_NAME","ANTHROPIC_DEFAULT_HAIKU_MODEL_SUPPORTED_CAPABILITIES","ANTHROPIC_DEFAULT_OPUS_MODEL","ANTHROPIC_DEFAULT_OPUS_MODEL_DESCRIPTION","ANTHROPIC_DEFAULT_OPUS_MODEL_NAME","ANTHROPIC_DEFAULT_OPUS_MODEL_SUPPORTED_CAPABILITIES","ANTHROPIC_DEFAULT_SONNET_MODEL","ANTHROPIC_DEFAULT_SONNET_MODEL_DESCRIPTION","ANTHROPIC_DEFAULT_SONNET_MODEL_NAME","ANTHROPIC_DEFAULT_SONNET_MODEL_SUPPORTED_CAPABILITIES","ANTHROPIC_MODEL","ANTHROPIC_SMALL_FAST_MODEL_AWS_REGION","ANTHROPIC_SMALL_FAST_MODEL","AWS_DEFAULT_REGION","AWS_PROFILE","AWS_REGION","BASH_DEFAULT_TIMEOUT_MS","BASH_MAX_OUTPUT_LENGTH","BASH_MAX_TIMEOUT_MS","CLAUDE_BASH_MAINTAIN_PROJECT_WORKING_DIR","CLAUDE_CODE_API_KEY_HELPER_TTL_MS","CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS","CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC","CLAUDE_CODE_DISABLE_TERMINAL_TITLE","CLAUDE_CODE_ENABLE_TELEMETRY","CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS","CLAUDE_CODE_IDE_SKIP_AUTO_INSTALL","CLAUDE_CODE_MAX_OUTPUT_TOKENS","CLAUDE_CODE_SKIP_BEDROCK_AUTH","CLAUDE_CODE_SKIP_FOUNDRY_AUTH","CLAUDE_CODE_SKIP_VERTEX_AUTH","CLAUDE_CODE_SUBAGENT_MODEL","CLAUDE_CODE_USE_BEDROCK","CLAUDE_CODE_USE_FOUNDRY","CLAUDE_CODE_USE_GITHUB","CLAUDE_CODE_USE_VERTEX","DISABLE_AUTOUPDATER","DISABLE_BUG_COMMAND","DISABLE_COST_WARNINGS","DISABLE_ERROR_REPORTING","DISABLE_FEEDBACK_COMMAND","DISABLE_TELEMETRY","ENABLE_TOOL_SEARCH","MAX_MCP_OUTPUT_TOKENS","MAX_THINKING_TOKENS","MCP_TIMEOUT","MCP_TOOL_TIMEOUT","OTEL_EXPORTER_OTLP_HEADERS","OTEL_EXPORTER_OTLP_LOGS_HEADERS","OTEL_EXPORTER_OTLP_LOGS_PROTOCOL","OTEL_EXPORTER_OTLP_METRICS_CLIENT_CERTIFICATE","OTEL_EXPORTER_OTLP_METRICS_CLIENT_KEY","OTEL_EXPORTER_OTLP_METRICS_HEADERS","OTEL_EXPORTER_OTLP_METRICS_PROTOCOL","OTEL_EXPORTER_OTLP_PROTOCOL","OTEL_EXPORTER_OTLP_TRACES_HEADERS","OTEL_LOG_TOOL_DETAILS","OTEL_LOG_USER_PROMPTS","OTEL_LOGS_EXPORT_INTERVAL","OTEL_LOGS_EXPORTER","OTEL_METRIC_EXPORT_INTERVAL","OTEL_METRICS_EXPORTER","OTEL_METRICS_INCLUDE_ACCOUNT_UUID","OTEL_METRICS_INCLUDE_SESSION_ID","OTEL_METRICS_INCLUDE_VERSION","OTEL_RESOURCE_ATTRIBUTES","USE_BUILTIN_RIPGREP","VERTEX_REGION_CLAUDE_3_5_HAIKU","VERTEX_REGION_CLAUDE_3_5_SONNET","VERTEX_REGION_CLAUDE_3_7_SONNET","VERTEX_REGION_CLAUDE_4_0_OPUS","VERTEX_REGION_CLAUDE_4_0_SONNET","VERTEX_REGION_CLAUDE_4_1_OPUS","VERTEX_REGION_CLAUDE_4_5_SONNET","VERTEX_REGION_CLAUDE_4_6_SONNET","VERTEX_REGION_CLAUDE_HAIKU_4_5"])});
|
|
2
|
+
export{g as oT,p as pT,X as qT,S as rT,y as sT,I as tT,b as uT};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a9 as B,c9 as p}from"./cli-0.7.5-ghq2axmf.mjs";import{Fha as C,Iha as y}from"./cli-0.7.5-tbrfr6hj.mjs";import{Iia as V,Lia as M,mia as T,qia as x}from"./cli-0.7.5-7h3tq3wc.mjs";import{gja as L,nja as c}from"./cli-0.7.5-fzqampqh.mjs";y();M();p();c();x();function N(W){if(W<60000)return`${Math.round(W/1000)}s`;let Z=Math.floor(W/60000),z=Math.round(W%60000/1000);return z>0?`${Z}m ${z}s`:`${Z}m`}function h(W){let z=(W.startsWith("sk-ant-si-")?W.slice(10):W).split(".");if(z.length!==3||!z[1])return null;try{return T(Buffer.from(z[1],"base64url").toString("utf8"))}catch{return null}}function E(W){let Z=h(W);if(Z!==null&&typeof Z==="object"&&"exp"in Z&&typeof Z.exp==="number")return Z.exp;return null}var F=300000,j=1800000,H=3,R=60000;function I({getAccessToken:W,onRefresh:Z,label:z,refreshBufferMs:P=F}){let O=new Map,v=new Map,w=new Map;function U(q){let Q=(w.get(q)??0)+1;return w.set(q,Q),Q}function A(q,Q){let $=E(Q);if(!$){V(`[${z}:token] Could not decode JWT expiry for sessionId=${q}, token prefix=${Q.slice(0,15)}…, keeping existing timer`);return}let X=O.get(q);if(X)clearTimeout(X);let J=U(q),Y=new Date($*1000).toISOString(),G=$*1000-Date.now()-P;if(G<=0){V(`[${z}:token] Token for sessionId=${q} expires=${Y} (past or within buffer), refreshing immediately`),K(q,J);return}V(`[${z}:token] Scheduled token refresh for sessionId=${q} in ${N(G)} (expires=${Y}, buffer=${P/1000}s)`);let k=setTimeout(K,G,q,J);O.set(q,k)}function D(q,Q){let $=O.get(q);if($)clearTimeout($);let X=U(q),J=Math.max(Q*1000-P,30000);V(`[${z}:token] Scheduled token refresh for sessionId=${q} in ${N(J)} (expires_in=${Q}s, buffer=${P/1000}s)`);let Y=setTimeout(K,J,q,X);O.set(q,Y)}async function K(q,Q){let $;try{$=await W()}catch(J){V(`[${z}:token] getAccessToken threw for sessionId=${q}: ${L(J)}`,{level:"error"})}if(w.get(q)!==Q){V(`[${z}:token] doRefresh for sessionId=${q} stale (gen ${Q} vs ${w.get(q)}), skipping`);return}if(!$){let J=(v.get(q)??0)+1;if(v.set(q,J),V(`[${z}:token] No OAuth token available for refresh, sessionId=${q} (failure ${J}/${H})`,{level:"error"}),B("error","bridge_token_refresh_no_oauth"),J<H){let Y=setTimeout(K,R,q,Q);O.set(q,Y)}return}v.delete(q),V(`[${z}:token] Refreshing token for sessionId=${q}: new token prefix=${$.slice(0,15)}…`),C("tengu_bridge_token_refreshed",{}),Z(q,$);let X=setTimeout(K,j,q,Q);O.set(q,X),V(`[${z}:token] Scheduled follow-up refresh for sessionId=${q} in ${N(j)}`)}function S(q){U(q);let Q=O.get(q);if(Q)clearTimeout(Q),O.delete(q);v.delete(q)}function _(){for(let q of w.keys())U(q);for(let q of O.values())clearTimeout(q);O.clear(),v.clear()}return{schedule:A,scheduleFromExpiresIn:D,cancel:S,cancelAll:_}}
|
|
2
|
+
export{E as Jb,I as Kb};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Pqa as C}from"./cli-0.7.5-012a6zfk.mjs";import E from"node:fs";import G from"node:path";import H from"node:os";function A(){if(q!==void 0)return;try{let b=process.env.CLAUDE_FEATURE_FLAGS_FILE||G.join(H.homedir(),".claudin","feature-flags.json"),j=JSON.parse(E.readFileSync(b,"utf-8"));q=j&&typeof j==="object"&&!Array.isArray(j)?j:null}catch{q=null}}function x(b,j){if(A(),q!=null&&Object.hasOwn(q,b))return q[b];if(Object.hasOwn(z,b))return z[b];return j}function O(){return I}function Q(){return!1}function R(){return A(),q||{}}function S(){return{}}function T(){}function U(){}function W(){return}async function Y(b,j){return x(b,j)}function Z(b,j){return x(b,j)}function $(b,j){return x(b,j)}function v(b){return Boolean(x(b,!1))}async function w(b){return!1}async function P(b){return Boolean(x(b,!1))}function B(){}function D(){q=void 0}async function h(){q=void 0}function N(){}function m(){}async function c(b,j){return x(b,j)}function F(b,j){return x(b,j)}var q=void 0,z,I=()=>{},X=async()=>null;var J=C(()=>{z={tengu_sedge_lantern:!0,tengu_passport_quail:!0,tengu_coral_fern:!0,tengu_bramble_lintel:15,tengu_glacier_2xr:!0}});
|
|
2
|
+
export{O as Yfa,Q as Zfa,R as _fa,S as $fa,T as aga,U as bga,W as cga,X as dga,Y as ega,Z as fga,$ as gga,v as hga,w as iga,P as jga,B as kga,D as lga,h as mga,N as nga,m as oga,c as pga,F as qga,J as rga};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{cm as W,fm as P,hk as Q,ik as I,wJ as Y,zQ as R}from"./cli-0.7.5-1130jhj6.mjs";import{ifa as B,jfa as f}from"./cli-0.7.5-kj54k6vh.mjs";import{Zga as H,_ga as J,uha as F}from"./cli-0.7.5-9na53kvh.mjs";import{epa as $,hla as v}from"./cli-0.7.5-987zbyps.mjs";import{Pqa as Z}from"./cli-0.7.5-012a6zfk.mjs";import{randomUUID as U}from"crypto";function S(j){return j.flatMap((h)=>{switch(h.type){case"assistant":return[{type:"assistant",message:h.message,uuid:h.uuid,requestId:void 0,timestamp:new Date().toISOString()}];case"user":return[{type:"user",message:h.message,uuid:h.uuid??U(),timestamp:h.timestamp??new Date().toISOString(),isMeta:h.isSynthetic}];case"system":if(h.subtype==="compact_boundary")return[{type:"system",content:"Conversation compacted",level:"info",subtype:"compact_boundary",compactMetadata:X(h.compact_metadata),uuid:h.uuid,timestamp:new Date().toISOString()}];return[];default:return[]}})}function V(j){let h=j.preservedSegment;return{trigger:j.trigger,pre_tokens:j.preTokens,...h&&{preserved_segment:{head_uuid:h.headUuid,anchor_uuid:h.anchorUuid,tail_uuid:h.tailUuid}}}}function X(j){let h=j.preserved_segment;return{trigger:j.trigger,preTokens:j.pre_tokens,...h&&{preservedSegment:{headUuid:h.head_uuid,anchorUuid:h.anchor_uuid,tailUuid:h.tail_uuid}}}}function r(j){return j.flatMap((h)=>{switch(h.type){case"assistant":return[{type:"assistant",message:z(h),session_id:v(),parent_tool_use_id:null,uuid:h.uuid,error:h.error}];case"user":return[{type:"user",message:h.message,session_id:v(),parent_tool_use_id:null,uuid:h.uuid,timestamp:h.timestamp,isSynthetic:h.isMeta||h.isVisibleInTranscriptOnly,...h.toolUseResult!==void 0?{tool_use_result:h.toolUseResult}:{}}];case"system":if(h.subtype==="compact_boundary"&&h.compactMetadata)return[{type:"system",subtype:"compact_boundary",session_id:v(),uuid:h.uuid,compact_metadata:V(h.compactMetadata)}];if(h.subtype==="local_command"&&(h.content.includes(`<${H}>`)||h.content.includes(`<${J}>`)))return[w(h.content,h.uuid)];return[];default:return[]}})}function w(j,h){let x=B(j).replace(/<local-command-stdout>([\s\S]*?)<\/local-command-stdout>/,"$1").replace(/<local-command-stderr>([\s\S]*?)<\/local-command-stderr>/,"$1").trim();return{type:"assistant",message:Y({content:x}).message,parent_tool_use_id:null,session_id:v(),uuid:h}}function T(j){if(!j)return;return{status:j.status,...j.resetsAt!==void 0&&{resetsAt:j.resetsAt},...j.rateLimitType!==void 0&&{rateLimitType:j.rateLimitType},...j.utilization!==void 0&&{utilization:j.utilization},...j.overageStatus!==void 0&&{overageStatus:j.overageStatus},...j.overageResetsAt!==void 0&&{overageResetsAt:j.overageResetsAt},...j.overageDisabledReason!==void 0&&{overageDisabledReason:j.overageDisabledReason},...j.isUsingOverage!==void 0&&{isUsingOverage:j.isUsingOverage},...j.surpassedThreshold!==void 0&&{surpassedThreshold:j.surpassedThreshold}}}function z(j){let h=j.message.content;if(!Array.isArray(h))return j.message;let x=h.map((q)=>{if(q.type!=="tool_use")return q;if(q.name===Q){let y=W();if(y)return{...q,input:{...q.input,plan:y}}}return q});return{...j.message,content:x}}var G=Z(()=>{$();F();I();f();R();P()});
|
|
2
|
+
export{S as af,V as bf,X as cf,r as df,w as ef,T as ff,G as gf};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{d3 as M,e3 as E}from"./cli-0.7.5-fzamc565.mjs";import{Gda as _,Kea as S,Nea as p,Oda as F,Zda as l,aea as L,bea as c}from"./cli-0.7.5-ghq2axmf.mjs";import{Dja as m,vja as Y}from"./cli-0.7.5-cd6cs7q9.mjs";import{Pqa as B}from"./cli-0.7.5-012a6zfk.mjs";function R(J){if(!J)return;let Q=J.trim().replace(/^https?:\/\//i,"").replace(/\/+$/,"");if(!Q||Q.toLowerCase()==="github.com")return;return Q}function b(J){return J?`https://${J}/login/device/code`:g}function v(J){return J?`https://${J}/login/oauth/access_token`:f}function h(J){return J?`https://api.${J}/copilot_internal/v2/token`:G}function H(){return process.env.GITHUB_DEVICE_FLOW_CLIENT_ID?.trim()||T}function P(J){return new Promise((Q)=>setTimeout(Q,J))}async function r(J){let Q=J?.clientId??H();if(!Q)throw new q("No OAuth client ID: set GITHUB_DEVICE_FLOW_CLIENT_ID.");let Z=J?.fetchImpl??fetch,y=J?.scope?.trim()||C,$=y===C?[y]:[y,C],j="Device code request failed.",z=b(R(J?.domain));for(let V of $){let W=await Z(z,{method:"POST",headers:{Accept:"application/json"},body:new URLSearchParams({client_id:Q,scope:V})});if(!W.ok){let w=await W.text().catch(()=>"");j=`Device code request failed: ${W.status} ${w}`;let D=/invalid_scope/i.test(w);if(V!==C&&D)continue;throw new q(j)}let X=await W.json(),N=X.device_code,K=X.user_code,x=X.verification_uri;if(typeof N!=="string"||typeof K!=="string"||typeof x!=="string")throw new q("Malformed device code response from GitHub");return{device_code:N,user_code:K,verification_uri:x,expires_in:typeof X.expires_in==="number"?X.expires_in:900,interval:typeof X.interval==="number"?X.interval:5}}throw new q(j)}async function o(J,Q){let Z=Q?.clientId??H();if(!Z)throw new q("client_id required for polling");let y=Math.max(1,Q?.initialInterval??5),$=Q?.timeoutSeconds??900,j=Q?.fetchImpl??fetch,z=v(R(Q?.domain)),V=Date.now();while((Date.now()-V)/1000<$){let W=await j(z,{method:"POST",headers:{Accept:"application/json"},body:new URLSearchParams({client_id:Z,device_code:J,grant_type:"urn:ietf:params:oauth:grant-type:device_code"})});if(!W.ok){let K=await W.text().catch(()=>"");throw new q(`Token request failed: ${W.status} ${K}`)}let X=await W.json(),N=X.error;if(N==null){let K=X.access_token;if(typeof K==="string"&&K)return K;throw new q("No access_token in response")}if(N==="authorization_pending"){await P(y*1000);continue}if(N==="slow_down"){y=typeof X.interval==="number"?X.interval:y+5,await P(y*1000);continue}if(N==="expired_token")throw new q("Device code expired. Start the login flow again.");if(N==="access_denied")throw new q("Authorization was denied or cancelled.");throw new q(`GitHub OAuth error: ${N}`)}throw new q("Timed out waiting for authorization.")}async function e(J){await M(J)}async function I(J,Q){let Z=typeof Q==="function"?{fetchImpl:Q}:Q??{},y=Z.fetchImpl??fetch,$=h(R(Z.domain)),j=await y($,{method:"GET",headers:{Accept:"application/json",Authorization:`Bearer ${J}`,...u}});if(!j.ok){let K=await j.text().catch(()=>"");throw new q(`Copilot token exchange failed: ${j.status} ${K}`)}let z=await j.json(),V=z.token,W=z.expires_at,X=z.refresh_in,N=z.endpoints;if(typeof V!=="string"||typeof W!=="number"||typeof X!=="number"||!N||typeof N!=="object"||typeof N.api!=="string")throw new q("Malformed Copilot token response");return{token:V,expires_at:W,refresh_in:X,endpoints:N}}var T="Iv1.b507a08c87ecfe98",g="https://github.com/login/device/code",f="https://github.com/login/oauth/access_token",G="https://api.github.com/copilot_internal/v2/token",C="read:user",u,q;var O=B(()=>{E();u={"User-Agent":"GitHubCopilotChat/0.26.7","Editor-Version":"vscode/1.99.3","Editor-Plugin-Version":"copilot-chat/0.26.7","Copilot-Integration-Id":"vscode-chat"};q=class q extends Error{constructor(J){super(J);this.name="GitHubDeviceFlowError"}}});function k(){return S()?.transport==="github_copilot"}function d(J){let Q=J.match(/exp=(\d+)/);if(Q){let $=Number(Q[1]);if(!Number.isNaN($))return Date.now()>=$*1000?"expired":"valid"}let Z=J.split(".");if(Z.length===3&&Z.every(($)=>/^[A-Za-z0-9_-]+$/.test($)))try{let $=Z[1].replace(/-/g,"+").replace(/_/g,"/"),j=$+"=".repeat((4-$.length%4)%4),z=Buffer.from(j,"base64").toString("utf8"),V=JSON.parse(z);if(V&&typeof V==="object"&&V.exp)return Date.now()>=V.exp*1000?"expired":"valid"}catch{return"invalid_format"}return"invalid_format"}function a(){if(Y())return;try{return L().read()?.githubModels?.accessToken?.trim()||void 0}catch{return}}async function WJ(){if(Y())return;try{return(await L().readAsync())?.githubModels?.accessToken?.trim()||void 0}catch{return}}function yJ(){if(!k())return;if(Y())return;if(a())return}async function zJ(){if(!k())return!1;if(Y())return!1;if(A)return A;return A=(async()=>{try{let Z=L().read()?.githubModels,y=Z?.accessToken?.trim()||"",$=Z?.oauthAccessToken?.trim()||"";if(!y&&!$)return!1;if((y?d(y):"expired")==="valid")return!1;if(!$)return!1;let z=Z?.enterpriseDomain?.trim()||void 0,V=await I($,{domain:z});if(!n(V.token,$,z).success)return!1;let X=_().find((N)=>N.provider==="openai"&&N.extras?.githubToken!==void 0);if(X)F(X.id,{provider:"openai",name:X.name,baseUrl:X.baseUrl,model:X.model,apiKey:V.token,extras:{...X.extras,githubToken:V.token}});return!0}catch{return!1}finally{A=null}})(),A}function n(J,Q,Z){if(Y())return{success:!1,warning:"Bare mode: secure storage is disabled."};let y=J.trim();if(!y)return{success:!1,warning:"Token is empty."};let $=L(),j=$.read()||{},z=j[U],V=Q?.trim(),W={accessToken:y};if(V){if(W.oauthAccessToken=V,Z?.trim())W.enterpriseDomain=Z.trim()}else{if(z?.oauthAccessToken?.trim())W.oauthAccessToken=z.oauthAccessToken.trim();let N=Z?.trim()||z?.enterpriseDomain?.trim();if(N)W.enterpriseDomain=N}let X={...j,[U]:W};return $.update(X)}function jJ(){if(Y())return{success:!0};let J=L(),Z={...J.read()||{}};return delete Z[U],J.update(Z)}var U="githubModels",VJ="CLAUDE_CODE_GITHUB_TOKEN_HYDRATED",A=null;var s=B(()=>{p();m();c();O();l()});
|
|
2
|
+
export{R as C1,r as D1,o as E1,e as F1,I as G1,O as H1,U as I1,VJ as J1,a as K1,WJ as L1,yJ as M1,zJ as N1,n as O1,jJ as P1,s as Q1};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Pqa as $}from"./cli-0.7.5-012a6zfk.mjs";function w(z){return z>=48&&z<=126}var d,Y="\x1B",h="\x07",j=";",H;var L=$(()=>{d={NUL:0,SOH:1,STX:2,ETX:3,EOT:4,ENQ:5,ACK:6,BEL:7,BS:8,HT:9,LF:10,VT:11,FF:12,CR:13,SO:14,SI:15,DLE:16,DC1:17,DC2:18,DC3:19,DC4:20,NAK:21,SYN:22,ETB:23,CAN:24,EM:25,SUB:26,ESC:27,FS:28,GS:29,RS:30,US:31,DEL:127},H={CSI:91,OSC:93,DCS:80,APC:95,PM:94,SOS:88,ST:92}});function x(z){return z>=Z.PARAM_START&&z<=Z.PARAM_END}function A(z){return z>=Z.INTERMEDIATE_START&&z<=Z.INTERMEDIATE_END}function N(z){return z>=Z.FINAL_START&&z<=Z.FINAL_END}function J(...z){if(z.length===0)return B;if(z.length===1)return`${B}${z[0]}`;let Q=z.slice(0,-1),V=z[z.length-1];return`${B}${Q.join(j)}${V}`}function k(z=1){return z===0?"":J(z,"A")}function X(z=1){return z===0?"":J(z,"B")}function D(z=1){return z===0?"":J(z,"C")}function M(z=1){return z===0?"":J(z,"D")}function R(z){return J(z,"G")}function C(z,Q){return J(z,Q,"H")}function S(z,Q){let V="";if(z<0)V+=M(-z);else if(z>0)V+=D(z);if(Q<0)V+=k(-Q);else if(Q>0)V+=X(Q);return V}function o(){return J("K")}function y(z){if(z<=0)return"";let Q="";for(let V=0;V<z;V++)if(Q+=F,V<z-1)Q+=k(1);return Q+=W,Q}function a(z=1){return z===0?"":J(z,"S")}function n(z=1){return z===0?"":J(z,"T")}function c(z,Q){return J(z,Q,"r")}var B,Z,g,I,_,u,W,q,b,l,F,K,E,t,r,i,e,s,zz,Jz,Qz,Vz;var v=$(()=>{L();B=Y+String.fromCharCode(H.CSI),Z={PARAM_START:48,PARAM_END:63,INTERMEDIATE_START:32,INTERMEDIATE_END:47,FINAL_START:64,FINAL_END:126};g={CUU:65,CUD:66,CUF:67,CUB:68,CNL:69,CPL:70,CHA:71,CUP:72,CHT:73,VPA:100,HVP:102,ED:74,EL:75,ECH:88,IL:76,DL:77,ICH:64,DCH:80,SU:83,SD:84,SM:104,RM:108,SGR:109,DSR:110,DECSCUSR:113,DECSTBM:114,SCOSC:115,SCORC:117,CBT:90},I=["toEnd","toStart","all","scrollback"],_=["toEnd","toStart","all"],u=[{style:"block",blinking:!0},{style:"block",blinking:!0},{style:"block",blinking:!1},{style:"underline",blinking:!0},{style:"underline",blinking:!1},{style:"bar",blinking:!0},{style:"bar",blinking:!1}];W=J("G");q=J("H");b=J("s"),l=J("u");F=J(2,"K"),K=J(2,"J"),E=J(3,"J");t=J("r"),r=J("200~"),i=J("201~"),e=J("I"),s=J("O"),zz=J(">1u"),Jz=J("<u"),Qz=J(">4;2m"),Vz=J(">4m")});function U(){return process.platform==="win32"&&!!process.env.WT_SESSION}function p(){if(process.env.TERM_PROGRAM==="mintty")return!0;if(process.platform==="win32"&&process.env.MSYSTEM)return!0;return!1}function G(){if(U())return!0;if(process.platform==="win32"&&process.env.TERM_PROGRAM==="vscode"&&process.env.TERM_PROGRAM_VERSION)return!0;if(p())return!0;return!1}function T(){if(process.platform==="win32"&&!G())return K+P;return K+q}var P,Bz;var f=$(()=>{v();P=J(0,"f");Bz=T()});
|
|
2
|
+
export{d as H0,Y as I0,h as J0,j as K0,H as L0,w as M0,L as N0,x as O0,A as P0,N as Q0,J as R0,g as S0,I as T0,_ as U0,u as V0,R as W0,C as X0,q as Y0,S as Z0,o as _0,K as $0,y as a1,a as b1,n as c1,c as d1,t as e1,r as f1,i as g1,e as h1,s as i1,zz as j1,Jz as k1,Qz as l1,Vz as m1,v as n1,T as o1,Bz as p1,f as q1};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Iia as Q,Lia as $}from"./cli-0.7.5-7h3tq3wc.mjs";import{ija as K,nja as Z}from"./cli-0.7.5-fzqampqh.mjs";import{Dja as Y,qja as J}from"./cli-0.7.5-cd6cs7q9.mjs";Y();Z();$();import{readFileSync as k}from"node:fs";import{mkdir as I,writeFile as W}from"node:fs/promises";import{join as M}from"node:path";var S="latest-version.json";function X(){return M(J(),S)}function U(q){if(!q||typeof q!=="object")return!1;let x=q;return typeof x.latest==="string"&&x.latest.length>0&&typeof x.current==="string"&&x.current.length>0&&typeof x.checkedAt==="number"&&Number.isFinite(x.checkedAt)}function T(){try{let q=k(X(),"utf8"),x=JSON.parse(q);return U(x)?x:null}catch(q){if(K(q))return null;return Q(`latestVersionCache: read failed: ${q instanceof Error?q.stack??q.message:String(q)}`),null}}var G=new Set;function w(q){return G.add(q),()=>{G.delete(q)}}async function y(q){let x=X(),R=JSON.stringify(q);try{await W(x,R,"utf8")}catch(z){if(K(z))await I(J(),{recursive:!0}),await W(x,R,"utf8");else throw z}for(let z of[...G])try{z(q)}catch(B){Q(`latestVersionCache: listener threw: ${B instanceof Error?B.stack??B.message:String(B)}`)}}
|
|
2
|
+
export{T as U,w as V,y as W};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{FF as U,GF as A,KF as V,LF as E}from"./cli-0.7.5-1130jhj6.mjs";import{WV as W,cW as G}from"./cli-0.7.5-510b39kd.mjs";import{UZ as F,WZ as H,z0 as O}from"./cli-0.7.5-4mvg3dke.mjs";import{F2 as q,G2 as K,H2 as L}from"./cli-0.7.5-xbqxjykr.mjs";import{I2 as I}from"./cli-0.7.5-1w5f2dfy.mjs";import{O6 as Q,m7 as p}from"./cli-0.7.5-rqvar6g7.mjs";import{Bda as $,dda as M,gda as N}from"./cli-0.7.5-ghq2axmf.mjs";import{Lqa as Z,Pqa as _}from"./cli-0.7.5-012a6zfk.mjs";function b({onDone:J}){let z=w.useRef(J);z.current=J;let X=w.useCallback(()=>{z.current("dismiss")},[]);w.useEffect(()=>{M((y)=>{if(y.remoteDialogSeen)return y;return{...y,remoteDialogSeen:!0}})},[]);let Y=w.useCallback((y)=>{z.current(y)},[]);return q(V,{title:"Remote Control",children:K(F,{flexDirection:"column",paddingX:2,paddingY:1,children:[K(F,{marginBottom:1,flexDirection:"column",children:[q(H,{children:"Remote Control lets you access this CLI session from the web (claude.ai/code) or the Claude app, so you can pick up where you left off on any device."}),q(H,{children:" "}),q(H,{children:"You can disconnect remote access anytime by running /remote-control again."})]}),q(F,{children:q(U,{options:[{label:"Enable Remote Control for this session",description:"Opens a secure connection to claude.ai.",value:"enable"},{label:"Never mind",description:"You can always enable it later with /remote-control.",value:"dismiss"}],onChange:Y,onCancel:X})})]})})}function d(){if(N().remoteDialogSeen)return!1;if(!W())return!1;if(!Q()?.accessToken)return!1;return!0}var w;var P=_(()=>{G();O();p();$();A();E();L();w=Z(I(),1)});
|
|
2
|
+
export{b as Sb,d as Tb,P as Ub};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{O6 as q,m7 as D}from"./cli-0.7.5-rqvar6g7.mjs";import{Dha as m,Eha as z}from"./cli-0.7.5-h3p8qw3f.mjs";import{Pqa as x}from"./cli-0.7.5-012a6zfk.mjs";function E(){return process.env.CLAUDE_BRIDGE_OAUTH_TOKEN||void 0}function F(){return process.env.CLAUDE_BRIDGE_BASE_URL||void 0}function K(){return E()??q()?.accessToken}function M(){return F()??m().BASE_API_URL}var G=x(()=>{z();D()});
|
|
2
|
+
export{E as ei,F as fi,K as gi,M as hi,G as ii};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Pqa as H}from"./cli-0.7.5-012a6zfk.mjs";function F(){if(!A)A=new Intl.Segmenter(void 0,{granularity:"grapheme"});return A}function K(b){if(!b)return"";return F().segment(b)[Symbol.iterator]().next().value?.segment??""}function M(b){if(!b)return"";let j="";for(let{segment:q}of F().segment(b))j=q;return j}function N(){if(!B)B=new Intl.Segmenter(void 0,{granularity:"word"});return B}function O(b,j){let q=`${b}:${j}`,z=E.get(q);if(!z)z=new Intl.RelativeTimeFormat("en",{style:b,numeric:j}),E.set(q,z);return z}function P(){if(!D)D=Intl.DateTimeFormat().resolvedOptions().timeZone;return D}var A=null,B=null,E,D=null;var J=H(()=>{E=new Map});
|
|
2
|
+
export{F as Nfa,K as Ofa,M as Pfa,N as Qfa,O as Rfa,P as Sfa,J as Tfa};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Nqa as H,Pqa as UJ}from"./cli-0.7.5-012a6zfk.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 w1,QQ as x1,WQ as y1,ZQ as z1,KQ as A1,FJ as B1};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Y2 as N,b3 as $}from"./cli-0.7.5-m8cf1p72.mjs";import{$3 as Y,O6 as M,Y3 as L,m7 as Z}from"./cli-0.7.5-rqvar6g7.mjs";import{Zea as Q,ffa as X}from"./cli-0.7.5-ghq2axmf.mjs";import{Dha as J,Eha as V}from"./cli-0.7.5-h3p8qw3f.mjs";import{fja as P,nja as S}from"./cli-0.7.5-fzqampqh.mjs";import{_pa as K,qqa as W}from"./cli-0.7.5-w2vyrb4j.mjs";import{Pqa as R}from"./cli-0.7.5-012a6zfk.mjs";async function C(){let F=M()?.accessToken;if(!F)throw Error("Claude Code web sessions require authentication with a Claude.ai account. API key authentication is not sufficient. Please run /login to authenticate, or check your authentication status with /status.");let y=await L();if(!y)throw Error("Unable to get organization UUID");let G=`${J().BASE_API_URL}/v1/environment_providers`;try{let B={...N(F),"x-organization-uuid":y},q=await K.get(G,{headers:B,timeout:15000});if(q.status!==200)throw Error(`Failed to fetch environments: ${q.status} ${q.statusText}`);return q.data.environments}catch(B){let q=P(B);throw Q(q),Error(`Failed to fetch environments: ${q.message}`)}}async function j(F){let y=M()?.accessToken;if(!y)throw Error("No access token available");let G=await L();if(!G)throw Error("Unable to get organization UUID");let B=`${J().BASE_API_URL}/v1/environment_providers/cloud/create`;return(await K.post(B,{name:F,kind:"anthropic_cloud",description:"",config:{environment_type:"anthropic",cwd:"/home/user",init_script:null,environment:{},languages:[{name:"python",version:"3.11"},{name:"node",version:"20"}],network_config:{allowed_hosts:[],allow_default_hosts:!0}}},{headers:{...N(y),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":G},timeout:15000})).data}var b=R(()=>{W();V();Y();Z();S();X();$()});
|
|
2
|
+
export{C as KW,j as LW,b as MW};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{DM as Q,EM as $}from"./cli-0.7.5-1130jhj6.mjs";import{Qja as V,Rja as P,Ska as W,Tka as E}from"./cli-0.7.5-987zbyps.mjs";import{Pqa as L}from"./cli-0.7.5-012a6zfk.mjs";function Z(x,q,D,G){var H=-1,J=x==null?0:x.length;while(++H<J){var K=x[H];q(G,K,D(K),x)}return G}var M;var N=L(()=>{M=Z});function B(x,q,D,G){return Q(x,function(H,J,K){q(G,H,D(H),K)}),G}var S;var U=L(()=>{$();S=B});function I(x,q){return function(D,G){var H=V(D)?M:S,J=q?q():{};return H(D,x,W(G,2),J)}}var X;var Y=L(()=>{N();U();E();P();X=I});var R,v;var C=L(()=>{Y();R=X(function(x,q,D){x[D?0:1].push(q)},function(){return[[],[]]}),v=R});
|
|
2
|
+
export{v as ld,C as md};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Gi as R,Ii as y,Ji as v}from"./cli-0.7.5-6wvc1yjw.mjs";import{WZ as K,z0 as E,zY as c}from"./cli-0.7.5-4mvg3dke.mjs";import{E2 as O,F2 as N,G2 as M,H2 as U}from"./cli-0.7.5-xbqxjykr.mjs";import{I2 as G}from"./cli-0.7.5-1w5f2dfy.mjs";import{Bda as b,gda as L}from"./cli-0.7.5-ghq2axmf.mjs";import{Cfa as W,qfa as Z}from"./cli-0.7.5-kj54k6vh.mjs";import{Iha as p}from"./cli-0.7.5-tbrfr6hj.mjs";import{Lqa as F,Pqa as j}from"./cli-0.7.5-012a6zfk.mjs";function f(){let q=R();if(!q||!q.available||q.granted)return!1;return y(q)!==null}function r(){if(!f())return!1;let q=L();if(q.hasVisitedExtraUsage)return!1;if((q.overageCreditUpsellSeenCount??0)>=T)return!1;return!0}function C(q){return`${q} in extra usage for third-party apps · /extra-usage`}function w(q){return`${q} in extra usage`}function n(q){let k=S.c(8),{maxWidth:z,twoLine:P}=q,Q,H;if(k[0]!==z||k[1]!==P){H=Symbol.for("react.early_return_sentinel");k:{let A=R();if(!A){H=null;break k}let V=y(A);if(!V){H=null;break k}if(P){let I=w(V),J;if(k[4]!==z)J=z?Z(_,z):_,k[4]=z,k[5]=J;else J=k[5];let Y;if(k[6]!==J)Y=N(K,{dimColor:!0,children:J}),k[6]=J,k[7]=Y;else Y=k[7];H=M(O,{children:[N(K,{color:"claude",children:z?Z(I,z):I}),Y]});break k}let B=C(V),X=z?Z(B,z):B,D=Math.min(w(V).length,X.length);Q=M(K,{dimColor:!0,children:[N(K,{color:"claude",children:X.slice(0,D)}),X.slice(D)]})}k[0]=z,k[1]=P,k[2]=Q,k[3]=H}else Q=k[2],H=k[3];if(H!==Symbol.for("react.early_return_sentinel"))return H;return Q}var S,$,T=3,_="On us. Works on third-party apps · /extra-usage";var l=j(()=>{E();p();v();b();W();U();S=F(c(),1),$=F(G(),1)});
|
|
2
|
+
export{f as ah,r as bh,n as ch,l as dh};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import{lQ as N,ly as B,ny as U,wP as L,xP as w,zQ as d}from"./cli-0.7.5-1130jhj6.mjs";import{C$ as F,Fba as P,v$ as z}from"./cli-0.7.5-ghq2axmf.mjs";import{Cfa as v,wfa as H}from"./cli-0.7.5-kj54k6vh.mjs";import{Pqa as j}from"./cli-0.7.5-012a6zfk.mjs";async function V(R){let{messages:I,getAppState:O,options:{mainLoopModel:J,tools:Y,agentDefinitions:Z,customSystemPrompt:W,appendSystemPrompt:X}}=R,Q=N(I),{messages:K}=await B(Q),h=O();return L(K,J,async()=>h.toolPermissionContext,Y,Z,void 0,{options:{customSystemPrompt:W,appendSystemPrompt:X}},void 0,Q)}async function g(R,I){let O=await V(I);return{type:"text",value:b(O)}}function b(R){let{categories:I,totalTokens:O,rawMaxTokens:J,percentage:Y,model:Z,memoryFiles:W,mcpTools:X,agents:Q,skills:K}=R,h=`## Context Usage
|
|
2
|
+
|
|
3
|
+
`;h+=`**Model:** ${Z}
|
|
4
|
+
`,h+=`**Tokens:** ${H(O)} / ${H(J)} (${Y}%)
|
|
5
|
+
`,h+=`
|
|
6
|
+
`;let _=I.filter((q)=>q.tokens>0&&q.name!=="Free space"&&q.name!=="Autocompact buffer");if(_.length>0){h+=`### Estimated usage by category
|
|
7
|
+
|
|
8
|
+
`,h+=`| Category | Tokens | Percentage |
|
|
9
|
+
`,h+=`|----------|--------|------------|
|
|
10
|
+
`;for(let G of _){let $=(G.tokens/J*100).toFixed(1);h+=`| ${G.name} | ${H(G.tokens)} | ${$}% |
|
|
11
|
+
`}let q=I.find((G)=>G.name==="Free space");if(q&&q.tokens>0){let G=(q.tokens/J*100).toFixed(1);h+=`| Free space | ${H(q.tokens)} | ${G}% |
|
|
12
|
+
`}let E=I.find((G)=>G.name==="Autocompact buffer");if(E&&E.tokens>0){let G=(E.tokens/J*100).toFixed(1);h+=`| Autocompact buffer | ${H(E.tokens)} | ${G}% |
|
|
13
|
+
`}h+=`
|
|
14
|
+
`}if(X.length>0){h+=`### MCP Tools
|
|
15
|
+
|
|
16
|
+
`,h+=`| Tool | Server | Tokens |
|
|
17
|
+
`,h+=`|------|--------|--------|
|
|
18
|
+
`;for(let q of X)h+=`| ${q.name} | ${q.serverName} | ${H(q.tokens)} |
|
|
19
|
+
`;h+=`
|
|
20
|
+
`}if(Q.length>0){h+=`### Custom Agents
|
|
21
|
+
|
|
22
|
+
`,h+=`| Agent Type | Source | Tokens |
|
|
23
|
+
`,h+=`|------------|--------|--------|
|
|
24
|
+
`;for(let q of Q){let E;switch(q.source){case"projectSettings":E="Project";break;case"userSettings":E="User";break;case"localSettings":E="Local";break;case"flagSettings":E="Flag";break;case"policySettings":E="Policy";break;case"plugin":E="Plugin";break;case"built-in":E="Built-in";break;default:E=String(q.source)}h+=`| ${q.agentType} | ${E} | ${H(q.tokens)} |
|
|
25
|
+
`}h+=`
|
|
26
|
+
`}if(W.length>0){h+=`### Memory Files
|
|
27
|
+
|
|
28
|
+
`,h+=`| Type | Path | Tokens |
|
|
29
|
+
`,h+=`|------|------|--------|
|
|
30
|
+
`;for(let q of W)h+=`| ${q.type} | ${q.path} | ${H(q.tokens)} |
|
|
31
|
+
`;h+=`
|
|
32
|
+
`}if(K&&K.tokens>0&&K.skillFrontmatter.length>0){h+=`### Skills
|
|
33
|
+
|
|
34
|
+
`,h+=`| Skill | Source | Tokens |
|
|
35
|
+
`,h+=`|-------|--------|--------|
|
|
36
|
+
`;for(let q of K.skillFrontmatter)h+=`| ${q.name} | ${z(q.source)} | ${H(q.tokens)} |
|
|
37
|
+
`;h+=`
|
|
38
|
+
`}return h}var A=j(()=>{U();w();v();d();F();P()});
|
|
39
|
+
export{V as Hh,g as Ih,A as Jh};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{Nfa as X,Rfa as w,Sfa as L,Tfa as _}from"./cli-0.7.5-hyyd4eh8.mjs";import{Fha as MD,Iha as cD}from"./cli-0.7.5-tbrfr6hj.mjs";import{Iia as x,Lia as dD,oia as jD,qia as rD,uia as ND,yia as aD}from"./cli-0.7.5-7h3tq3wc.mjs";import{Dja as mD,qja as zD,tja as HD}from"./cli-0.7.5-cd6cs7q9.mjs";import{epa as PD,hla as UD}from"./cli-0.7.5-987zbyps.mjs";import{Lqa as LD,Nqa as bD,Pqa as V,Qqa as hD}from"./cli-0.7.5-012a6zfk.mjs";var T=bD((Cu,S)=>{S.exports=()=>{return/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E-\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED8\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g}});var W=161,f=1114109,p,l=12288,g=65510,h,P=4352,c=262141,N;var m=V(()=>{p=[161,161,164,164,167,168,170,170,173,174,176,180,182,186,188,191,198,198,208,208,215,216,222,225,230,230,232,234,236,237,240,240,242,243,247,250,252,252,254,254,257,257,273,273,275,275,283,283,294,295,299,299,305,307,312,312,319,322,324,324,328,331,333,333,338,339,358,359,363,363,462,462,464,464,466,466,468,468,470,470,472,472,474,474,476,476,593,593,609,609,708,708,711,711,713,715,717,717,720,720,728,731,733,733,735,735,768,879,913,929,931,937,945,961,963,969,1025,1025,1040,1103,1105,1105,8208,8208,8211,8214,8216,8217,8220,8221,8224,8226,8228,8231,8240,8240,8242,8243,8245,8245,8251,8251,8254,8254,8308,8308,8319,8319,8321,8324,8364,8364,8451,8451,8453,8453,8457,8457,8467,8467,8470,8470,8481,8482,8486,8486,8491,8491,8531,8532,8539,8542,8544,8555,8560,8569,8585,8585,8592,8601,8632,8633,8658,8658,8660,8660,8679,8679,8704,8704,8706,8707,8711,8712,8715,8715,8719,8719,8721,8721,8725,8725,8730,8730,8733,8736,8739,8739,8741,8741,8743,8748,8750,8750,8756,8759,8764,8765,8776,8776,8780,8780,8786,8786,8800,8801,8804,8807,8810,8811,8814,8815,8834,8835,8838,8839,8853,8853,8857,8857,8869,8869,8895,8895,8978,8978,9312,9449,9451,9547,9552,9587,9600,9615,9618,9621,9632,9633,9635,9641,9650,9651,9654,9655,9660,9661,9664,9665,9670,9672,9675,9675,9678,9681,9698,9701,9711,9711,9733,9734,9737,9737,9742,9743,9756,9756,9758,9758,9792,9792,9794,9794,9824,9825,9827,9829,9831,9834,9836,9837,9839,9839,9886,9887,9919,9919,9926,9933,9935,9939,9941,9953,9955,9955,9960,9961,9963,9969,9972,9972,9974,9977,9979,9980,9982,9983,10045,10045,10102,10111,11094,11097,12872,12879,57344,63743,65024,65039,65533,65533,127232,127242,127248,127277,127280,127337,127344,127373,127375,127376,127387,127404,917760,917999,983040,1048573,1048576,1114109],h=[12288,12288,65281,65376,65504,65510],N=[4352,4447,8986,8987,9001,9002,9193,9196,9200,9200,9203,9203,9725,9726,9748,9749,9776,9783,9800,9811,9855,9855,9866,9871,9875,9875,9889,9889,9898,9899,9917,9918,9924,9925,9934,9934,9940,9940,9962,9962,9970,9971,9973,9973,9978,9978,9981,9981,9989,9989,9994,9995,10024,10024,10060,10060,10062,10062,10067,10069,10071,10071,10133,10135,10160,10160,10175,10175,11035,11036,11088,11088,11093,11093,11904,11929,11931,12019,12032,12245,12272,12287,12289,12350,12353,12438,12441,12543,12549,12591,12593,12686,12688,12773,12783,12830,12832,12871,12880,42124,42128,42182,43360,43388,44032,55203,63744,64255,65040,65049,65072,65106,65108,65126,65128,65131,94176,94180,94192,94198,94208,101589,101631,101662,101760,101874,110576,110579,110581,110587,110589,110590,110592,110882,110898,110898,110928,110930,110933,110933,110948,110951,110960,111355,119552,119638,119648,119670,126980,126980,127183,127183,127374,127374,127377,127386,127488,127490,127504,127547,127552,127560,127568,127569,127584,127589,127744,127776,127789,127797,127799,127868,127870,127891,127904,127946,127951,127955,127968,127984,127988,127988,127992,128062,128064,128064,128066,128252,128255,128317,128331,128334,128336,128359,128378,128378,128405,128406,128420,128420,128507,128591,128640,128709,128716,128716,128720,128722,128725,128728,128732,128735,128747,128748,128756,128764,128992,129003,129008,129008,129292,129338,129340,129349,129351,129535,129648,129660,129664,129674,129678,129734,129736,129736,129741,129756,129759,129770,129775,129784,131072,196605,196608,262141]});var K=(D,F)=>{let u=0,C=Math.floor(D.length/2)-1;while(u<=C){let E=Math.floor((u+C)/2),B=E*2;if(F<D[B])C=E-1;else if(F>D[B+1])u=E+1;else return!0}return!1};var r=()=>{};function kD(D){let F=D[0],u=D[1];for(let C=0;C<D.length;C+=2){let E=D[C],B=D[C+1];if(a>=E&&a<=B)return[E,B];if(B-E>u-F)F=E,u=B}return[F,u]}var a=19968,_D,yD,d=(D)=>{if(D<W||D>f)return!1;return K(p,D)},s=(D)=>{if(D<l||D>g)return!1;return K(h,D)},n=(D)=>{if(D>=_D&&D<=yD)return!0;if(D<P||D>c)return!1;return K(N,D)};var i=V(()=>{m();r();[_D,yD]=kD(N)});function RD(D){if(!Number.isSafeInteger(D))throw TypeError(`Expected a code point, got \`${typeof D}\`.`)}function v(D,{ambiguousAsWide:F=!1}={}){if(RD(D),s(D)||n(D)||F&&d(D))return 2;return 1}var o=V(()=>{i()});function G({onlyFirst:D=!1}={}){return new RegExp("(?:\\u001B\\][\\s\\S]*?(?:\\u0007|\\u001B\\u005C|\\u009C))|[\\u001B\\u009B][[\\]()#;?]*(?:\\d{1,4}(?:[;:]\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]",D?void 0:"g")}var e=()=>{};function O(D){if(typeof D!=="string")throw TypeError(`Expected a \`string\`, got \`${typeof D}\``);if(!D.includes("\x1B")&&!D.includes(""))return D;return D.replace(wD,"")}var wD;var t=V(()=>{e();wD=G()});function BD(D){let F=0,u=D.replace(ID,()=>{return F++,""});return{count:F,stripped:u}}function AD(D){if(typeof D!=="string"||D.length===0)return 0;if(D.includes(ED)){let{count:C,stripped:E}=BD(D);return C+AD(E)}let F=!0;for(let C=0;C<D.length;C++){let E=D.charCodeAt(C);if(E>=127||E===27){F=!1;break}}if(F){let C=0;for(let E=0;E<D.length;E++)if(D.charCodeAt(E)>31)C++;return C}if(D.includes("\x1B")){if(D=O(D),D.length===0)return 0}if(!xD(D)){let C=0;for(let E of D){let B=E.codePointAt(0);if(!uD(B))C+=v(B,{ambiguousAsWide:!1})}return C}let u=0;for(let{segment:C}of X().segment(D)){if(DD.lastIndex=0,DD.test(C)){u+=SD(C);continue}for(let E of C){let B=E.codePointAt(0);if(!uD(B)){u+=v(B,{ambiguousAsWide:!1});break}}}return u}function xD(D){for(let F of D){let u=F.codePointAt(0);if(u>=127744&&u<=129791)return!0;if(u>=9728&&u<=10175)return!0;if(u>=127462&&u<=127487)return!0;if(u>=65024&&u<=65039)return!0;if(u===8205)return!0}return!1}function SD(D){let F=D.codePointAt(0);if(F>=127462&&F<=127487){let u=0;for(let C of D)u++;return u===1?1:2}if(D.length===2){if(D.codePointAt(1)===65039&&(F>=48&&F<=57||F===35||F===42))return 1}return 2}function uD(D){if(D>=32&&D<127)return!1;if(D>=160&&D<768)return D===173;if(D<=31||D>=127&&D<=159)return!0;if(D>=8203&&D<=8205||D===65279||D>=8288&&D<=8292)return!0;if(D>=65024&&D<=65039||D>=917760&&D<=917999)return!0;if(D>=768&&D<=879||D>=6832&&D<=6911||D>=7616&&D<=7679||D>=8400&&D<=8447||D>=65056&&D<=65071)return!0;if(D>=2304&&D<=3407){let F=D&127;if(F<=3)return!0;if(F>=58&&F<=79)return!0;if(F>=81&&F<=87)return!0;if(F>=98&&F<=99)return!0}if(D===3633||D>=3636&&D<=3642||D>=3655&&D<=3662||D===3761||D>=3764&&D<=3772||D>=3784&&D<=3789)return!0;if(D>=1536&&D<=1541||D===1757||D===1807||D===2274)return!0;if(D>=55296&&D<=57343)return!0;if(D>=917504&&D<=917631)return!0;return!1}var CD,DD,ED="\uDBFB\uDEEE",ID,b,FD,$;var QD=V(()=>{o();t();_();CD=LD(T(),1),DD=CD.default(),ID=/\u{10EEEE}\p{M}{0,3}/gu;b=typeof Bun<"u"&&typeof Bun.stringWidth==="function"?Bun.stringWidth:null,FD={ambiguousIsNarrow:!0},$=b?(D)=>{if(D.includes(ED)){let{count:F,stripped:u}=BD(D);return F+(u.length>0?b(u,FD):0)}return b(D,FD)}:AD});function TD(D,F){let u=D??"";if($(u)<=F)return u;if(F<=0)return"…";if(F<5)return U(u,F);let C=u.lastIndexOf("/"),E=C>=0?u.slice(C):u,B=C>=0?u.slice(0,C):"",A=$(E);if(A>=F-1)return y(D,F);let Q=F-1-A;if(Q<=0)return y(E,F);return VD(B,Q)+"…"+E}function U(D,F){let u=D??"";if($(u)<=F)return u;if(F<=1)return"…";let C=0,E="";for(let{segment:B}of X().segment(u)){let A=$(B);if(C+A>F-1)break;E+=B,C+=A}return E+"…"}function y(D,F){let u=D??"";if($(u)<=F)return u;if(F<=1)return"…";let C=[...X().segment(u)],E=0,B=C.length;for(let A=C.length-1;A>=0;A--){let Q=$(C[A].segment);if(E+Q>F-1)break;E+=Q,B=A}return"…"+C.slice(B).map((A)=>A.segment).join("")}function VD(D,F){let u=D??"";if($(u)<=F)return u;if(F<=0)return"";let C=0,E="";for(let{segment:B}of X().segment(u)){let A=$(B);if(C+A>F)break;E+=B,C+=A}return E}function WD(D,F,u=!1){let C=D??"";if(C==="")return"";let E=C;if(u){let B=C.indexOf(`
|
|
2
|
+
`);if(B!==-1){if(E=C.substring(0,B),$(E)+1>F)return U(E,F);return`${E}…`}}if($(E)<=F)return E;return U(E,F)}var $D=V(()=>{QD();_()});function M(D){let F=D/1024;if(F<1)return`${D} bytes`;if(F<1024)return`${F.toFixed(1).replace(/\.0$/,"")}KB`;let u=F/1024;if(u<1024)return`${u.toFixed(1).replace(/\.0$/,"")}MB`;return`${(u/1024).toFixed(1).replace(/\.0$/,"")}GB`}function wu(D){return`${(D/1000).toFixed(1)}s`}function Lu(D,F){if(D<60000){if(D===0)return"0s";if(D<1)return`${(D/1000).toFixed(1)}s`;return`${Math.floor(D/1000).toString()}s`}let u=Math.floor(D/86400000),C=Math.floor(D%86400000/3600000),E=Math.floor(D%3600000/60000),B=Math.round(D%60000/1000);if(B===60)B=0,E++;if(E===60)E=0,C++;if(C===24)C=0,u++;let A=F?.hideTrailingZeros;if(F?.mostSignificantOnly){if(u>0)return`${u}d`;if(C>0)return`${C}h`;if(E>0)return`${E}m`;return`${B}s`}if(u>0){if(A&&C===0&&E===0)return`${u}d`;if(A&&E===0)return`${u}d ${C}h`;return`${u}d ${C}h ${E}m`}if(C>0){if(A&&E===0&&B===0)return`${C}h`;if(A&&B===0)return`${C}h ${E}m`;return`${C}h ${E}m ${B}s`}if(E>0){if(A&&B===0)return`${E}m`;return`${E}m ${B}s`}return`${B}s`}function pD(D){let F=D>=1000;return fD(F).format(D).toLowerCase()}function Iu(D){return pD(D).replace(".0","")}function qD(D,F={}){let{style:u="narrow",numeric:C="always",now:E=new Date}=F,B=D.getTime()-E.getTime(),A=Math.trunc(B/1000),Q=[{unit:"year",seconds:31536000,shortUnit:"y"},{unit:"month",seconds:2592000,shortUnit:"mo"},{unit:"week",seconds:604800,shortUnit:"w"},{unit:"day",seconds:86400,shortUnit:"d"},{unit:"hour",seconds:3600,shortUnit:"h"},{unit:"minute",seconds:60,shortUnit:"m"},{unit:"second",seconds:1,shortUnit:"s"}];for(let{unit:q,seconds:Y,shortUnit:j}of Q)if(Math.abs(A)>=Y){let J=Math.trunc(A/Y);if(u==="narrow")return A<0?`${Math.abs(J)}${j} ago`:`in ${J}${j}`;return w("long",C).format(J,q)}if(u==="narrow")return A<=0?"0s ago":"in 0s";return w(u,C).format(0,"second")}function lD(D,F={}){let{now:u=new Date,...C}=F;if(D>u)return qD(D,{...C,now:u});return qD(D,{...C,numeric:"always",now:u})}function xu(D){let F=D.fileSize!==void 0?M(D.fileSize):`${D.messageCount} messages`,u=[lD(D.modified,{style:"short"}),...D.gitBranch?[D.gitBranch]:[],F];if(D.tag)u.push(`#${D.tag}`);if(D.agentSetting)u.push(`@${D.agentSetting}`);if(D.prNumber)u.push(D.prRepository?`${D.prRepository}#${D.prNumber}`:`#${D.prNumber}`);return u.join(" · ")}function gD(D,F=!1,u=!0){if(!D)return;let C=new Date(D*1000),E=new Date,B=C.getMinutes();if((C.getTime()-E.getTime())/3600000>24){let q={month:"short",day:"numeric",hour:u?"numeric":void 0,minute:!u||B===0?void 0:"2-digit",hour12:u?!0:void 0};if(C.getFullYear()!==E.getFullYear())q.year="numeric";return C.toLocaleString("en-US",q).replace(/ ([AP]M)/i,(j,J)=>J.toLowerCase())+(F?` (${L()})`:"")}return C.toLocaleTimeString("en-US",{hour:"numeric",minute:B===0?void 0:"2-digit",hour12:!0}).replace(/ ([AP]M)/i,(q,Y)=>Y.toLowerCase())+(F?` (${L()})`:"")}function Su(D,F=!1,u=!0){let C=new Date(D);return`${gD(Math.floor(C.getTime()/1000),F,u)}`}var k=null,R=null,fD=(D)=>{if(D){if(!k)k=new Intl.NumberFormat("en-US",{notation:"compact",maximumFractionDigits:1,minimumFractionDigits:1});return k}else{if(!R)R=new Intl.NumberFormat("en-US",{notation:"compact",maximumFractionDigits:1,minimumFractionDigits:0});return R}};var XD=V(()=>{_();$D()});function H(){if(!I)I=hD("perf_hooks").performance;return I}function z(D){return D.toFixed(3)}function YD(D,F,u,C,E,B,A=""){let Q=C?` | RSS: ${M(C.rss)}, Heap: ${M(C.heapUsed)}`:"";return`[+${z(D).padStart(E)}ms] (+${z(F).padStart(B)}ms) ${u}${A}${Q}`}var I=null;var JD=V(()=>{XD()});import{dirname as sD,join as nD}from"path";function eD(D){if(!GD)return;if(H().mark(D),Z)OD.push(process.memoryUsage())}function ZD(){if(!Z)return"Startup profiling not enabled";let F=H().getEntriesByType("mark");if(F.length===0)return"No profiling checkpoints recorded";let u=[];u.push("=".repeat(80)),u.push("STARTUP PROFILING REPORT"),u.push("=".repeat(80)),u.push("");let C=0;for(let[B,A]of F.entries())u.push(YD(A.startTime,A.startTime-C,A.name,OD[B],8,7)),C=A.startTime;let E=F[F.length-1];return u.push(""),u.push(`Total startup time: ${z(E?.startTime??0)}ms`),u.push("=".repeat(80)),u.join(`
|
|
3
|
+
`)}function tD(){if(KD)return;if(KD=!0,uu(),Z){let D=Du(),F=sD(D);ND().mkdirSync(F),jD(D,ZD(),{encoding:"utf8",flush:!0}),x("Startup profiling report:"),x(ZD())}}function du(){return Z}function Du(){return nD(zD(),"startup-perf",`${UD()}.txt`)}function uu(){if(!vD)return;let F=H().getEntriesByType("mark");if(F.length===0)return;let u=new Map;for(let E of F)u.set(E.name,E.startTime);let C={};for(let[E,[B,A]]of Object.entries(oD)){let Q=u.get(B),q=u.get(A);if(Q!==void 0&&q!==void 0)C[`${E}_ms`]=Math.round(q-Q)}C.checkpoint_count=F.length,MD("tengu_startup_perf",C)}var Z,iD=0.005,vD,GD,OD,oD,KD=!1;var Fu=V(()=>{PD();cD();dD();mD();aD();JD();rD();Z=HD(process.env.CLAUDE_CODE_PROFILE_STARTUP),vD=Math.random()<iD,GD=Z||vD,OD=[],oD={import_time:["cli_entry","main_tsx_imports_loaded"],init_time:["init_function_start","init_function_end"],settings_time:["eagerLoadSettings_start","eagerLoadSettings_end"],total_time:["cli_entry","main_after_run"]};if(GD)eD("profiler_initialized"),process.on("exit",()=>{try{tD()}catch{}})});
|
|
4
|
+
export{v as gfa,o as hfa,O as ifa,t as jfa,$ as kfa,QD as lfa,TD as mfa,U as nfa,y as ofa,VD as pfa,WD as qfa,$D as rfa,M as sfa,wu as tfa,Lu as ufa,pD as vfa,Iu as wfa,qD as xfa,lD as yfa,xu as zfa,gD as Afa,Su as Bfa,XD as Cfa,H as Dfa,z as Efa,YD as Ffa,JD as Gfa,eD as Hfa,tD as Ifa,du as Jfa,Du as Kfa,uu as Lfa,Fu as Mfa};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Dja as U,tja as q}from"./cli-0.7.5-cd6cs7q9.mjs";import{Oqa as L,Pqa as X}from"./cli-0.7.5-012a6zfk.mjs";import{AsyncLocalStorage as F}from"async_hooks";function G(){return O.getStore()}function Y(z,B){return O.run(z,B)}function Z(){return O.getStore()!==void 0}function $(z){return{...z,isInProcess:!0}}var O;var Q=X(()=>{O=new F});var y={};L(y,{waitForTeammatesToBecomeIdle:()=>l,setDynamicTeamContext:()=>b,runWithTeammateContext:()=>Y,isTeammate:()=>u,isTeamLead:()=>S,isPlanModeRequired:()=>w,isInProcessTeammate:()=>Z,hasWorkingInProcessTeammates:()=>I,hasActiveInProcessTeammates:()=>P,getTeammateContext:()=>G,getTeammateColor:()=>f,getTeamName:()=>h,getParentSessionId:()=>_,getDynamicTeamContext:()=>v,getAgentName:()=>A,getAgentId:()=>E,createTeammateContext:()=>$,clearDynamicTeamContext:()=>j});function _(){let z=G();if(z)return z.parentSessionId;return D?.parentSessionId}function b(z){D=z}function j(){D=null}function v(){return D}function E(){let z=G();if(z)return z.agentId;return D?.agentId}function A(){let z=G();if(z)return z.agentName;return D?.agentName}function h(z){let B=G();if(B)return B.teamName;if(D?.teamName)return D.teamName;return z?.teamName}function u(){if(G())return!0;return!!(D?.agentId&&D?.teamName)}function f(){let z=G();if(z)return z.color;return D?.color}function w(){let z=G();if(z)return z.planModeRequired;if(D!==null)return D.planModeRequired;return q(process.env.CLAUDE_CODE_PLAN_MODE_REQUIRED)}function S(z){if(!z?.leadAgentId)return!1;let B=E(),H=z.leadAgentId;if(B===H)return!0;if(!B)return!0;return!1}function P(z){for(let B of Object.values(z.tasks))if(B.type==="in_process_teammate"&&B.status==="running")return!0;return!1}function I(z){for(let B of Object.values(z.tasks))if(B.type==="in_process_teammate"&&B.status==="running"&&!B.isIdle)return!0;return!1}function l(z,B){let H=[];for(let[M,J]of Object.entries(B.tasks))if(J.type==="in_process_teammate"&&J.status==="running"&&!J.isIdle)H.push(M);if(H.length===0)return Promise.resolve();return new Promise((M)=>{let J=H.length,R=()=>{if(J--,J===0)M()};z((V)=>{let N={...V.tasks};for(let W of H){let K=N[W];if(K&&K.type==="in_process_teammate")if(K.isIdle)R();else N[W]={...K,onIdleCallbacks:[...K.onIdleCallbacks??[],R]}}return{...V,tasks:N}})})}var D=null;var g=X(()=>{Q();U();Q()});
|
|
2
|
+
export{G as rW,Y as sW,Z as tW,$ as uW,Q as vW,_ as wW,v as xW,E as yW,A as zW,h as AW,u as BW,f as CW,w as DW,S as EW,P as FW,I as GW,l as HW,y as IW,g as JW};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import{Jb as d}from"./cli-0.7.5-hcxagyjb.mjs";import{EV as y,FV as U,HV as f,IV as h,JV as c,OV as i}from"./cli-0.7.5-h6e17t7j.mjs";import{P2 as O,R2 as b}from"./cli-0.7.5-atzfkz67.mjs";import{g6 as B,h6 as M}from"./cli-0.7.5-rqvar6g7.mjs";import{G7 as u,z7 as I}from"./cli-0.7.5-xfxxbwbm.mjs";import{a9 as V,c9 as v}from"./cli-0.7.5-ghq2axmf.mjs";import{Iia as G,Lia as D,lia as H,mia as m,qia as T}from"./cli-0.7.5-7h3tq3wc.mjs";import{gja as q,hja as S,nja as F}from"./cli-0.7.5-fzqampqh.mjs";import{_pa as p,qqa as s}from"./cli-0.7.5-w2vyrb4j.mjs";import{randomUUID as N}from"crypto";D();v();F();u();i();f();M();b();T();class j extends Error{retryAfterMs;constructor(J,K){super(J);this.retryAfterMs=K}}class R{pending=[];pendingAtClose=0;draining=!1;closed=!1;backpressureResolvers=[];sleepResolve=null;flushResolvers=[];droppedBatches=0;config;constructor(J){this.config=J}get droppedBatchCount(){return this.droppedBatches}get pendingCount(){return this.closed?this.pendingAtClose:this.pending.length}async enqueue(J){if(this.closed)return;let K=Array.isArray(J)?J:[J];if(K.length===0)return;while(this.pending.length+K.length>this.config.maxQueueSize&&!this.closed)await new Promise((W)=>{this.backpressureResolvers.push(W)});if(this.closed)return;this.pending.push(...K),this.drain()}flush(){if(this.pending.length===0&&!this.draining)return Promise.resolve();return this.drain(),new Promise((J)=>{this.flushResolvers.push(J)})}close(){if(this.closed)return;this.closed=!0,this.pendingAtClose=this.pending.length,this.pending=[],this.sleepResolve?.(),this.sleepResolve=null;for(let J of this.backpressureResolvers)J();this.backpressureResolvers=[];for(let J of this.flushResolvers)J();this.flushResolvers=[]}async drain(){if(this.draining||this.closed)return;this.draining=!0;let J=0;try{while(this.pending.length>0&&!this.closed){let K=this.takeBatch();if(K.length===0)continue;try{await this.config.send(K),J=0}catch(W){if(J++,this.config.maxConsecutiveFailures!==void 0&&J>=this.config.maxConsecutiveFailures){this.droppedBatches++,this.config.onBatchDropped?.(K.length,J),J=0,this.releaseBackpressure();continue}this.pending=K.concat(this.pending);let Z=W instanceof j?W.retryAfterMs:void 0;await this.sleep(this.retryDelay(J,Z));continue}this.releaseBackpressure()}}finally{if(this.draining=!1,this.pending.length===0){for(let K of this.flushResolvers)K();this.flushResolvers=[]}}}takeBatch(){let{maxBatchSize:J,maxBatchBytes:K}=this.config;if(K===void 0)return this.pending.splice(0,J);let W=0,Z=0;while(Z<this.pending.length&&Z<J){let Q;try{Q=Buffer.byteLength(H(this.pending[Z]))}catch{this.pending.splice(Z,1);continue}if(Z>0&&W+Q>K)break;W+=Q,Z++}return this.pending.splice(0,Z)}retryDelay(J,K){let W=Math.random()*this.config.jitterMs;if(K!==void 0)return Math.max(this.config.baseDelayMs,Math.min(K,this.config.maxDelayMs))+W;return Math.min(this.config.baseDelayMs*2**(J-1),this.config.maxDelayMs)+W}releaseBackpressure(){let J=this.backpressureResolvers;this.backpressureResolvers=[];for(let K of J)K()}sleep(J){return new Promise((K)=>{this.sleepResolve=K,setTimeout((W,Z)=>{W.sleepResolve=null,Z()},J,this,K)})}}M();class A{inflight=null;pending=null;closed=!1;config;constructor(J){this.config=J}enqueue(J){if(this.closed)return;this.pending=this.pending?P(this.pending,J):J,this.drain()}close(){this.closed=!0,this.pending=null}async drain(){if(this.inflight||this.closed)return;if(!this.pending)return;let J=this.pending;this.pending=null,this.inflight=this.sendWithRetry(J).then(()=>{if(this.inflight=null,this.pending&&!this.closed)this.drain()})}async sendWithRetry(J){let K=J,W=0;while(!this.closed){if(await this.config.send(K))return;if(W++,await B(this.retryDelay(W)),this.pending&&!this.closed)K=P(K,this.pending),this.pending=null}}retryDelay(J){let K=Math.min(this.config.baseDelayMs*2**(J-1),this.config.maxDelayMs),W=Math.random()*this.config.jitterMs;return K+W}}function P(J,K){let W={...J};for(let[Z,Q]of Object.entries(K))if((Z==="external_metadata"||Z==="internal_metadata")&&W[Z]&&typeof W[Z]==="object"&&typeof Q==="object"&&Q!==null)W[Z]={...W[Z],...Q};else W[Z]=Q;return W}var g=20000,n=100;function E(){return!0}class k extends Error{reason;constructor(J){super(`CCRClient init failed: ${J}`);this.reason=J}}var l=10;function o(){return{byMessage:new Map,scopeToMessage:new Map}}function C(J){return`${J.session_id}:${J.parent_tool_use_id??""}`}function r(J,K){let W=[],Z=new Map;for(let Q of J)switch(Q.event.type){case"message_start":{let $=Q.event.message.id,z=K.scopeToMessage.get(C(Q));if(z)K.byMessage.delete(z);K.scopeToMessage.set(C(Q),$),K.byMessage.set($,[]),W.push(Q);break}case"content_block_delta":{if(Q.event.delta.type!=="text_delta"){W.push(Q);break}let $=K.scopeToMessage.get(C(Q)),z=$?K.byMessage.get($):void 0;if(!z){W.push(Q);break}let L=z[Q.event.index]??=[];L.push(Q.event.delta.text);let Y=Z.get(L);if(Y){Y.event.delta.text=L.join("");break}let X={type:"stream_event",uuid:Q.uuid,session_id:Q.session_id,parent_tool_use_id:Q.parent_tool_use_id,event:{type:"content_block_delta",index:Q.event.index,delta:{type:"text_delta",text:L.join("")}}};Z.set(L,X),W.push(X);break}default:W.push(Q)}return W}function t(J,K){J.byMessage.delete(K.message.id);let W=C(K);if(J.scopeToMessage.get(W)===K.message.id)J.scopeToMessage.delete(W)}class a{workerEpoch=0;heartbeatIntervalMs;heartbeatJitterFraction;heartbeatTimer=null;heartbeatInFlight=!1;closed=!1;consecutiveAuthFailures=0;currentState=null;sessionBaseUrl;sessionId;http=I({keepAlive:!0});streamEventBuffer=[];streamEventTimer=null;streamTextAccumulator=o();workerState;eventUploader;internalEventUploader;deliveryUploader;onEpochMismatch;getAuthHeaders;constructor(J,K,W){if(this.onEpochMismatch=W?.onEpochMismatch??(()=>{process.exit(1)}),this.heartbeatIntervalMs=W?.heartbeatIntervalMs??g,this.heartbeatJitterFraction=W?.heartbeatJitterFraction??0,this.getAuthHeaders=W?.getAuthHeaders??U,K.protocol!=="http:"&&K.protocol!=="https:")throw Error(`CCRClient: Expected http(s) URL, got ${K.protocol}`);let Z=K.pathname.replace(/\/$/,"");this.sessionBaseUrl=`${K.protocol}//${K.host}${Z}`,this.sessionId=Z.split("/").pop()||"",this.workerState=new A({send:(Q)=>this.request("put","/worker",{worker_epoch:this.workerEpoch,...Q},"PUT worker").then(($)=>$.ok),baseDelayMs:500,maxDelayMs:30000,jitterMs:500}),this.eventUploader=new R({maxBatchSize:100,maxBatchBytes:10485760,maxQueueSize:1e5,send:async(Q)=>{let $=await this.request("post","/worker/events",{worker_epoch:this.workerEpoch,events:Q},"client events");if(!$.ok)throw new j("client event POST failed",$.retryAfterMs)},baseDelayMs:500,maxDelayMs:30000,jitterMs:500}),this.internalEventUploader=new R({maxBatchSize:100,maxBatchBytes:10485760,maxQueueSize:200,send:async(Q)=>{let $=await this.request("post","/worker/internal-events",{worker_epoch:this.workerEpoch,events:Q},"internal events");if(!$.ok)throw new j("internal event POST failed",$.retryAfterMs)},baseDelayMs:500,maxDelayMs:30000,jitterMs:500}),this.deliveryUploader=new R({maxBatchSize:64,maxQueueSize:64,send:async(Q)=>{let $=await this.request("post","/worker/events/delivery",{worker_epoch:this.workerEpoch,updates:Q.map((z)=>({event_id:z.eventId,status:z.status}))},"delivery batch");if(!$.ok)throw new j("delivery POST failed",$.retryAfterMs)},baseDelayMs:500,maxDelayMs:30000,jitterMs:500}),J.setOnEvent((Q)=>{this.reportDelivery(Q.event_id,"received")})}async initialize(J){let K=Date.now();if(Object.keys(this.getAuthHeaders()).length===0)throw new k("no_auth_headers");if(J===void 0){let z=process.env.CLAUDE_CODE_WORKER_EPOCH;J=z?parseInt(z,10):NaN}if(isNaN(J))throw new k("missing_epoch");this.workerEpoch=J;let W=this.getWorkerState();if(!(await this.request("put","/worker",{worker_status:"idle",worker_epoch:this.workerEpoch,external_metadata:{pending_action:null,task_summary:null}},"PUT worker (init)")).ok)throw new k("worker_register_failed");this.currentState="idle",this.startHeartbeat(),h(()=>{this.writeEvent({type:"keep_alive"})}),G(`CCRClient: initialized, epoch=${this.workerEpoch}`),V("info","cli_worker_lifecycle_initialized",{epoch:this.workerEpoch,duration_ms:Date.now()-K});let{metadata:Q,durationMs:$}=await W;if(!this.closed)V("info","cli_worker_state_restored",{duration_ms:$,had_state:Q!==null});return Q}async getWorkerState(){let J=Date.now(),K=this.getAuthHeaders();if(Object.keys(K).length===0)return{metadata:null,durationMs:0};return{metadata:(await this.getWithRetry(`${this.sessionBaseUrl}/worker`,K,"worker_state"))?.worker?.external_metadata??null,durationMs:Date.now()-J}}async request(J,K,W,Z,{timeout:Q=1e4}={}){let $=this.getAuthHeaders();if(Object.keys($).length===0)return{ok:!1};try{let z=await this.http[J](`${this.sessionBaseUrl}${K}`,W,{headers:{...$,"Content-Type":"application/json","anthropic-version":"2023-06-01","User-Agent":O()},validateStatus:E,timeout:Q});if(z.status>=200&&z.status<300)return this.consecutiveAuthFailures=0,{ok:!0};if(z.status===409)this.handleEpochMismatch();if(z.status===401||z.status===403){let L=y(),Y=L?d(L):null;if(Y!==null&&Y*1000<Date.now())G(`CCRClient: session_token expired (exp=${new Date(Y*1000).toISOString()}) — no refresh was delivered, exiting`,{level:"error"}),V("error","cli_worker_token_expired_no_refresh"),this.onEpochMismatch();if(this.consecutiveAuthFailures++,this.consecutiveAuthFailures>=l)G(`CCRClient: ${this.consecutiveAuthFailures} consecutive auth failures with a valid-looking token — server-side auth unrecoverable, exiting`,{level:"error"}),V("error","cli_worker_auth_failures_exhausted"),this.onEpochMismatch()}if(G(`CCRClient: ${Z} returned ${z.status}`,{level:"warn"}),V("warn","cli_worker_request_failed",{method:J,path:K,status:z.status}),z.status===429){let L=z.headers?.["retry-after"],Y=typeof L==="string"?parseInt(L,10):NaN;if(!isNaN(Y)&&Y>=0)return{ok:!1,retryAfterMs:Y*1000}}return{ok:!1}}catch(z){return G(`CCRClient: ${Z} failed: ${q(z)}`,{level:"warn"}),V("warn","cli_worker_request_error",{method:J,path:K,error_code:S(z)}),{ok:!1}}}reportState(J,K){if(J===this.currentState&&!K)return;this.currentState=J,this.workerState.enqueue({worker_status:J,requires_action_details:K?{tool_name:K.tool_name,action_description:K.action_description,request_id:K.request_id}:null})}reportMetadata(J){this.workerState.enqueue({external_metadata:J})}handleEpochMismatch(){G("CCRClient: Epoch mismatch (409), shutting down",{level:"error"}),V("error","cli_worker_epoch_mismatch"),this.onEpochMismatch()}startHeartbeat(){this.stopHeartbeat();let J=()=>{let W=this.heartbeatIntervalMs*this.heartbeatJitterFraction*(2*Math.random()-1);this.heartbeatTimer=setTimeout(K,this.heartbeatIntervalMs+W)},K=()=>{if(this.sendHeartbeat(),this.heartbeatTimer===null)return;J()};J()}stopHeartbeat(){if(this.heartbeatTimer)clearTimeout(this.heartbeatTimer),this.heartbeatTimer=null}async sendHeartbeat(){if(this.heartbeatInFlight)return;this.heartbeatInFlight=!0;try{if((await this.request("post","/worker/heartbeat",{session_id:this.sessionId,worker_epoch:this.workerEpoch},"Heartbeat",{timeout:5000})).ok)G("CCRClient: Heartbeat sent")}finally{this.heartbeatInFlight=!1}}async writeEvent(J){if(J.type==="stream_event"){if(this.streamEventBuffer.push(J),!this.streamEventTimer)this.streamEventTimer=setTimeout(()=>void this.flushStreamEventBuffer(),n);return}if(await this.flushStreamEventBuffer(),J.type==="assistant")t(this.streamTextAccumulator,J);await this.eventUploader.enqueue(this.toClientEvent(J))}toClientEvent(J){let K=J;return{payload:{...K,uuid:typeof K.uuid==="string"?K.uuid:N()}}}async flushStreamEventBuffer(){if(this.streamEventTimer)clearTimeout(this.streamEventTimer),this.streamEventTimer=null;if(this.streamEventBuffer.length===0)return;let J=this.streamEventBuffer;this.streamEventBuffer=[];let K=r(J,this.streamTextAccumulator);await this.eventUploader.enqueue(K.map((W)=>({payload:W,ephemeral:!0})))}async writeInternalEvent(J,K,{isCompaction:W=!1,agentId:Z}={}){let Q={payload:{type:J,...K,uuid:typeof K.uuid==="string"?K.uuid:N()},...W&&{is_compaction:!0},...Z&&{agent_id:Z}};await this.internalEventUploader.enqueue(Q)}flushInternalEvents(){return this.internalEventUploader.flush()}async flush(){return await this.flushStreamEventBuffer(),this.eventUploader.flush()}async readInternalEvents(){return this.paginatedGet("/worker/internal-events",{},"internal_events")}async readSubagentInternalEvents(){return this.paginatedGet("/worker/internal-events",{subagents:"true"},"subagent_events")}async paginatedGet(J,K,W){let Z=this.getAuthHeaders();if(Object.keys(Z).length===0)return null;let Q=[],$;do{let z=new URL(`${this.sessionBaseUrl}${J}`);for(let[Y,X]of Object.entries(K))z.searchParams.set(Y,X);if($)z.searchParams.set("cursor",$);let L=await this.getWithRetry(z.toString(),Z,W);if(!L)return null;Q.push(...L.data??[]),$=L.next_cursor}while($);return G(`CCRClient: Read ${Q.length} internal events from ${J}${K.subagents?" (subagents)":""}`),Q}async getWithRetry(J,K,W){for(let Z=1;Z<=10;Z++){let Q;try{Q=await this.http.get(J,{headers:{...K,"anthropic-version":"2023-06-01","User-Agent":O()},validateStatus:E,timeout:30000})}catch($){if(G(`CCRClient: GET ${J} failed (attempt ${Z}/10): ${q($)}`,{level:"warn"}),Z<10){let z=Math.min(500*2**(Z-1),30000)+Math.random()*500;await B(z)}continue}if(Q.status>=200&&Q.status<300)return Q.data;if(Q.status===409)this.handleEpochMismatch();if(G(`CCRClient: GET ${J} returned ${Q.status} (attempt ${Z}/10)`,{level:"warn"}),Z<10){let $=Math.min(500*2**(Z-1),30000)+Math.random()*500;await B($)}}return G("CCRClient: GET retries exhausted",{level:"error"}),V("error","cli_worker_get_retries_exhausted",{context:W}),null}reportDelivery(J,K){this.deliveryUploader.enqueue({eventId:J,status:K})}getWorkerEpoch(){return this.workerEpoch}get internalEventsPending(){return this.internalEventUploader.pendingCount}close(){if(this.closed=!0,this.stopHeartbeat(),c(),this.streamEventTimer)clearTimeout(this.streamEventTimer),this.streamEventTimer=null;this.streamEventBuffer=[],this.streamTextAccumulator.byMessage.clear(),this.streamTextAccumulator.scopeToMessage.clear(),this.workerState.close(),this.eventUploader.close(),this.internalEventUploader.close(),this.deliveryUploader.close()}}s();D();v();F();f();M();T();b();var e=1000,JJ=30000,KJ=600000,QJ=45000,WJ=new Set([401,403,404]),x=10,ZJ=500,$J=8000,GJ={stream:!0};function zJ(){return!0}function VJ(J){let K=[],W=0,Z;while((Z=J.indexOf(`
|
|
2
|
+
|
|
3
|
+
`,W))!==-1){let Q=J.slice(W,Z);if(W=Z+2,!Q.trim())continue;let $={},z=!1;for(let L of Q.split(`
|
|
4
|
+
`)){if(L.startsWith(":")){z=!0;continue}let Y=L.indexOf(":");if(Y===-1)continue;let X=L.slice(0,Y),w=L[Y+1]===" "?L.slice(Y+2):L.slice(Y+1);switch(X){case"event":$.event=w;break;case"id":$.id=w;break;case"data":$.data=$.data?$.data+`
|
|
5
|
+
`+w:w;break}}if($.data||z)K.push($)}return{frames:K,remaining:J.slice(W)}}class YJ{url;state="idle";onData;onCloseCallback;onEventCallback;headers;sessionId;refreshHeaders;getAuthHeaders;abortController=null;lastSequenceNum=0;seenSequenceNums=new Set;reconnectAttempts=0;reconnectStartTime=null;reconnectTimer=null;livenessTimer=null;postUrl;constructor(J,K={},W,Z,Q,$){this.url=J;if(this.headers=K,this.sessionId=W,this.refreshHeaders=Z,this.getAuthHeaders=$??U,this.postUrl=LJ(J),Q!==void 0&&Q>0)this.lastSequenceNum=Q;G(`SSETransport: SSE URL = ${J.href}`),G(`SSETransport: POST URL = ${this.postUrl}`),V("info","cli_sse_transport_initialized")}getLastSequenceNum(){return this.lastSequenceNum}async connect(){if(this.state!=="idle"&&this.state!=="reconnecting"){G(`SSETransport: Cannot connect, current state is ${this.state}`,{level:"error"}),V("error","cli_sse_connect_failed");return}this.state="reconnecting";let J=Date.now(),K=new URL(this.url.href);if(this.lastSequenceNum>0)K.searchParams.set("from_sequence_num",String(this.lastSequenceNum));let W=this.getAuthHeaders(),Z={...this.headers,...W,Accept:"text/event-stream","anthropic-version":"2023-06-01","User-Agent":O()};if(W.Cookie)delete Z.Authorization;if(this.lastSequenceNum>0)Z["Last-Event-ID"]=String(this.lastSequenceNum);G(`SSETransport: Opening ${K.href}`),V("info","cli_sse_connect_opening"),this.abortController=new AbortController;try{let Q=await fetch(K.href,{headers:Z,signal:this.abortController.signal});if(!Q.ok){let z=WJ.has(Q.status);if(G(`SSETransport: HTTP ${Q.status}${z?" (permanent)":""}`,{level:"error"}),V("error","cli_sse_connect_http_error",{status:Q.status}),z){this.state="closed",this.onCloseCallback?.(Q.status);return}this.handleConnectionError();return}if(!Q.body){G("SSETransport: No response body"),this.handleConnectionError();return}let $=Date.now()-J;G("SSETransport: Connected"),V("info","cli_sse_connect_connected",{duration_ms:$}),this.state="connected",this.reconnectAttempts=0,this.reconnectStartTime=null,this.resetLivenessTimer(),await this.readStream(Q.body)}catch(Q){if(this.abortController?.signal.aborted)return;G(`SSETransport: Connection error: ${q(Q)}`,{level:"error"}),V("error","cli_sse_connect_error"),this.handleConnectionError()}}async readStream(J){let K=J.getReader(),W=new TextDecoder,Z="";try{while(!0){let{done:Q,value:$}=await K.read();if(Q)break;Z+=W.decode($,GJ);let{frames:z,remaining:L}=VJ(Z);Z=L;for(let Y of z){if(this.resetLivenessTimer(),Y.id){let X=parseInt(Y.id,10);if(!isNaN(X)){if(this.seenSequenceNums.has(X))G(`SSETransport: DUPLICATE frame seq=${X} (lastSequenceNum=${this.lastSequenceNum}, seenCount=${this.seenSequenceNums.size})`,{level:"warn"}),V("warn","cli_sse_duplicate_sequence");else if(this.seenSequenceNums.add(X),this.seenSequenceNums.size>1000){let w=this.lastSequenceNum-200;for(let _ of this.seenSequenceNums)if(_<w)this.seenSequenceNums.delete(_)}if(X>this.lastSequenceNum)this.lastSequenceNum=X}}if(Y.event&&Y.data)this.handleSSEFrame(Y.event,Y.data);else if(Y.data)G("SSETransport: Frame has data: but no event: field — dropped",{level:"warn"}),V("warn","cli_sse_frame_missing_event_field")}}}catch(Q){if(this.abortController?.signal.aborted)return;G(`SSETransport: Stream read error: ${q(Q)}`,{level:"error"}),V("error","cli_sse_stream_read_error")}finally{K.releaseLock()}if(this.state!=="closing"&&this.state!=="closed")G("SSETransport: Stream ended, reconnecting"),this.handleConnectionError()}handleSSEFrame(J,K){if(J!=="client_event"){G(`SSETransport: Unexpected SSE event type '${J}' on worker stream`,{level:"warn"}),V("warn","cli_sse_unexpected_event_type",{event_type:J});return}let W;try{W=m(K)}catch(Q){G(`SSETransport: Failed to parse client_event data: ${q(Q)}`,{level:"error"});return}let Z=W.payload;if(Z&&typeof Z==="object"&&"type"in Z){let Q=this.sessionId?` session=${this.sessionId}`:"";G(`SSETransport: Event seq=${W.sequence_num} event_id=${W.event_id} event_type=${W.event_type} payload_type=${String(Z.type)}${Q}`),V("info","cli_sse_message_received"),this.onData?.(H(Z)+`
|
|
6
|
+
`)}else G(`SSETransport: Ignoring client_event with no type in payload: event_id=${W.event_id}`);this.onEventCallback?.(W)}handleConnectionError(){if(this.clearLivenessTimer(),this.state==="closing"||this.state==="closed")return;this.abortController?.abort(),this.abortController=null;let J=Date.now();if(!this.reconnectStartTime)this.reconnectStartTime=J;let K=J-this.reconnectStartTime;if(K<KJ){if(this.reconnectTimer)clearTimeout(this.reconnectTimer),this.reconnectTimer=null;if(this.refreshHeaders){let Q=this.refreshHeaders();Object.assign(this.headers,Q),G("SSETransport: Refreshed headers for reconnect")}this.state="reconnecting",this.reconnectAttempts++;let W=Math.min(e*Math.pow(2,this.reconnectAttempts-1),JJ),Z=Math.max(0,W+W*0.25*(2*Math.random()-1));G(`SSETransport: Reconnecting in ${Math.round(Z)}ms (attempt ${this.reconnectAttempts}, ${Math.round(K/1000)}s elapsed)`),V("error","cli_sse_reconnect_attempt",{reconnectAttempts:this.reconnectAttempts}),this.reconnectTimer=setTimeout(()=>{this.reconnectTimer=null,this.connect()},Z)}else G(`SSETransport: Reconnection time budget exhausted after ${Math.round(K/1000)}s`,{level:"error"}),V("error","cli_sse_reconnect_exhausted",{reconnectAttempts:this.reconnectAttempts,elapsedMs:K}),this.state="closed",this.onCloseCallback?.()}onLivenessTimeout=()=>{this.livenessTimer=null,G("SSETransport: Liveness timeout, reconnecting",{level:"error"}),V("error","cli_sse_liveness_timeout"),this.abortController?.abort(),this.handleConnectionError()};resetLivenessTimer(){this.clearLivenessTimer(),this.livenessTimer=setTimeout(this.onLivenessTimeout,QJ)}clearLivenessTimer(){if(this.livenessTimer)clearTimeout(this.livenessTimer),this.livenessTimer=null}async write(J){let K=this.getAuthHeaders();if(Object.keys(K).length===0){G("SSETransport: No session token available for POST"),V("warn","cli_sse_post_no_token");return}let W={...K,"Content-Type":"application/json","anthropic-version":"2023-06-01","User-Agent":O()};G(`SSETransport: POST body keys=${Object.keys(J).join(",")}`);for(let Z=1;Z<=x;Z++){try{let $=await p.post(this.postUrl,J,{headers:W,validateStatus:zJ});if($.status===200||$.status===201){G(`SSETransport: POST success type=${J.type}`);return}if(G(`SSETransport: POST ${$.status} body=${H($.data).slice(0,200)}`),$.status>=400&&$.status<500&&$.status!==429){G(`SSETransport: POST returned ${$.status} (client error), not retrying`),V("warn","cli_sse_post_client_error",{status:$.status});return}G(`SSETransport: POST returned ${$.status}, attempt ${Z}/${x}`),V("warn","cli_sse_post_retryable_error",{status:$.status,attempt:Z})}catch($){G(`SSETransport: POST error: ${$.message}, attempt ${Z}/${x}`),V("warn","cli_sse_post_network_error",{attempt:Z})}if(Z===x){G(`SSETransport: POST failed after ${x} attempts, continuing`),V("warn","cli_sse_post_retries_exhausted");return}let Q=Math.min(ZJ*Math.pow(2,Z-1),$J);await B(Q)}}isConnectedStatus(){return this.state==="connected"}isClosedStatus(){return this.state==="closed"}setOnData(J){this.onData=J}setOnClose(J){this.onCloseCallback=J}setOnEvent(J){this.onEventCallback=J}close(){if(this.reconnectTimer)clearTimeout(this.reconnectTimer),this.reconnectTimer=null;this.clearLivenessTimer(),this.state="closing",this.abortController?.abort(),this.abortController=null}}function LJ(J){let K=J.pathname;if(K.endsWith("/stream"))K=K.slice(0,-7);return`${J.protocol}//${J.host}${K}`}
|
|
7
|
+
export{R as Ab,k as Bb,a as Cb,YJ as Db};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{$3 as I,O6 as f,Y3 as j,g6 as b,h6 as c,m7 as d}from"./cli-0.7.5-rqvar6g7.mjs";import{F8 as F,G8 as D}from"./cli-0.7.5-medd7tha.mjs";import{Zea as y,ffa as T}from"./cli-0.7.5-ghq2axmf.mjs";import{Lga as $,Mga as R,Nga as _,Oga as E}from"./cli-0.7.5-pm9grnq1.mjs";import{Dha as q,Eha as m}from"./cli-0.7.5-h3p8qw3f.mjs";import{Iia as W,Lia as z,lia as M,qia as U}from"./cli-0.7.5-7h3tq3wc.mjs";import{fja as k,gja as Y,nja as O}from"./cli-0.7.5-fzqampqh.mjs";import{_pa as X,qqa as h}from"./cli-0.7.5-w2vyrb4j.mjs";import{Pqa as A}from"./cli-0.7.5-012a6zfk.mjs";import{randomUUID as l}from"crypto";function p(J){if(!X.isAxiosError(J))return!1;if(!J.response)return!0;if(J.response.status>=500)return!0;return!1}async function u(J,B){let N;for(let K=0;K<=x;K++)try{return await X.get(J,B)}catch(Q){if(N=Q,!p(Q))throw Q;if(K>=x)throw W(`Teleport request failed after ${K+1} attempts: ${Y(Q)}`),Q;let V=S[K]??2000;W(`Teleport request failed (attempt ${K+1}/${x+1}), retrying in ${V}ms: ${Y(Q)}`),await b(V)}throw N}async function C(){let J=f()?.accessToken;if(J===void 0)throw Error("Claude Code web sessions require authentication with a Claude.ai account. API key authentication is not sufficient. Please run /login to authenticate, or check your authentication status with /status.");let B=await j();if(!B)throw Error("Unable to get organization UUID");return{accessToken:J,orgUUID:B}}async function NJ(){let{accessToken:J,orgUUID:B}=await C(),N=`${q().BASE_API_URL}/v1/sessions`;try{let K={...L(J),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":B},Q=await u(N,{headers:K});if(Q.status!==200)throw Error(`Failed to fetch code sessions: ${Q.statusText}`);return Q.data.data.map((Z)=>{let v=Z.session_context.sources.find((G)=>G.type==="git_repository"),H=null;if(v?.url){let G=F(v.url);if(G){let[w,P]=G.split("/");if(w&&P)H={name:P,owner:{login:w},default_branch:v.revision||void 0}}}return{id:Z.id,title:Z.title||"Untitled",description:"",status:Z.session_status,repo:H,turns:[],created_at:Z.created_at,updated_at:Z.updated_at}})}catch(K){let Q=k(K);throw y(Q),K}}function L(J){return{Authorization:`Bearer ${J}`,"Content-Type":"application/json","anthropic-version":"2023-06-01"}}async function WJ(J){let{accessToken:B,orgUUID:N}=await C(),K=`${q().BASE_API_URL}/v1/sessions/${J}`,Q={...L(B),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":N},V=await X.get(K,{headers:Q,timeout:15000,validateStatus:(Z)=>Z<500});if(V.status!==200){let v=V.data?.error?.message;if(V.status===404)throw Error(`Session not found: ${J}`);if(V.status===401)throw Error("Session expired. Please run /login to sign in again.");throw Error(v||`Failed to fetch session: ${V.status} ${V.statusText}`)}return V.data}function GJ(J){return J.session_context.outcomes?.find((N)=>N.type==="git_repository")?.git_info?.branches[0]}async function vJ(J,B,N){try{let{accessToken:K,orgUUID:Q}=await C(),V=`${q().BASE_API_URL}/v1/sessions/${J}/events`,Z={...L(K),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":Q},H={events:[{uuid:N?.uuid??l(),session_id:J,type:"user",parent_tool_use_id:null,message:{role:"user",content:B}}]};W(`[sendEventToRemoteSession] Sending event to session ${J}`);let G=await X.post(V,H,{headers:Z,validateStatus:(w)=>w<500,timeout:30000});if(G.status===200||G.status===201)return W(`[sendEventToRemoteSession] Successfully sent event to session ${J}`),!0;return W(`[sendEventToRemoteSession] Failed with status ${G.status}: ${M(G.data)}`),!1}catch(K){return W(`[sendEventToRemoteSession] Error: ${Y(K)}`),!1}}async function XJ(J,B){try{let{accessToken:N,orgUUID:K}=await C(),Q=`${q().BASE_API_URL}/v1/sessions/${J}`,V={...L(N),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":K};W(`[updateSessionTitle] Updating title for session ${J}: "${B}"`);let Z=await X.patch(Q,{title:B},{headers:V,validateStatus:(v)=>v<500});if(Z.status===200)return W(`[updateSessionTitle] Successfully updated title for session ${J}`),!0;return W(`[updateSessionTitle] Failed with status ${Z.status}: ${M(Z.data)}`),!1}catch(N){return W(`[updateSessionTitle] Error: ${Y(N)}`),!1}}var S,x,$J="ccr-byoc-2025-07-29",BJ;var g=A(()=>{h();m();I();R();d();z();D();O();E();T();c();U();S=[2000,4000,8000,16000],x=S.length;BJ=_(()=>$.object({id:$.string(),title:$.string(),description:$.string(),status:$.enum(["idle","working","waiting","completed","archived","cancelled","rejected"]),repo:$.object({name:$.string(),owner:$.object({login:$.string()}),default_branch:$.string().optional()}).nullable(),turns:$.array($.string()),created_at:$.string(),updated_at:$.string()}))});
|
|
2
|
+
export{$J as S2,p as T2,u as U2,BJ as V2,C as W2,NJ as X2,L as Y2,WJ as Z2,GJ as _2,vJ as $2,XJ as a3,g as b3};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{O9 as Q,c_ as _}from"./cli-0.7.5-ghq2axmf.mjs";import{Rga as I,Sga as X}from"./cli-0.7.5-9na53kvh.mjs";import{Iia as B,Lia as V}from"./cli-0.7.5-7h3tq3wc.mjs";import{Pqa as T}from"./cli-0.7.5-012a6zfk.mjs";function j(){A.clear()}async function P(){let f=await Y();if(!f)return null;if(f.host!=="github.com")return null;return`${f.owner}/${f.name}`}async function Y(){let f=I();if(A.has(f))return A.get(f)??null;try{let q=await Q();if(B(`Git remote URL: ${q}`),!q)return B("No git remote URL found"),A.set(f,null),null;let x=O(q);return B(`Parsed repository: ${x?`${x.host}/${x.owner}/${x.name}`:null} from URL: ${q}`),A.set(f,x),x}catch(q){return B(`Error detecting repository: ${q}`),A.set(f,null),null}}function S(){let f=A.get(I());if(!f||f.host!=="github.com")return null;return`${f.owner}/${f.name}`}function O(f){let q=f.trim(),x=q.match(/^git@([^:]+):([^/]+)\/([^/]+?)(?:\.git)?$/);if(x?.[1]&&x[2]&&x[3]){if(!N(x[1]))return null;return{host:x[1],owner:x[2],name:x[3]}}let z=q.match(/^(https?|ssh|git):\/\/(?:[^@]+@)?([^/:]+(?::\d+)?)\/([^/]+)\/([^/]+?)(?:\.git)?$/);if(z?.[1]&&z[2]&&z[3]&&z[4]){let E=z[1],J=z[2],K=J.split(":")[0]??"";if(!N(K))return null;return{host:E==="https"||E==="http"?J:K,owner:z[3],name:z[4]}}return null}function D(f){let q=f.trim(),x=O(q);if(x){if(x.host!=="github.com")return null;return`${x.owner}/${x.name}`}if(!q.includes("://")&&!q.includes("@")&&q.includes("/")){let z=q.split("/");if(z.length===2&&z[0]&&z[1]){let E=z[1].replace(/\.git$/,"");return`${z[0]}/${E}`}}return B(`Could not parse repository from: ${q}`),null}function N(f){if(!f.includes("."))return!1;let q=f.split(".").pop();if(!q)return!1;return/^[a-zA-Z]+$/.test(q)}var A;var Z=T(()=>{X();V();_();A=new Map});
|
|
2
|
+
export{j as A8,P as B8,Y as C8,S as D8,O as E8,D as F8,Z as G8};
|