claude-code-best 1.0.3 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +104 -369
- package/dist/{chunk-5wxspfct.js → chunk-01qzvbp3.js} +8 -2
- package/dist/chunk-053bj0m0.js +247 -0
- package/dist/chunk-05tt9tt1.js +653 -0
- package/dist/chunk-06sq1vz3.js +403 -0
- package/dist/chunk-07069jq1.js +30 -0
- package/dist/chunk-0dac8msw.js +135 -0
- package/dist/{chunk-52n4py3b.js → chunk-0ja0y3at.js} +6 -6
- package/dist/chunk-0jzdwbdc.js +14 -0
- package/dist/chunk-0nrq46nf.js +313 -0
- package/dist/chunk-0qz705wz.js +192 -0
- package/dist/{chunk-by7ezad6.js → chunk-0rn4v8sg.js} +42 -28
- package/dist/{chunk-1cbn5kxf.js → chunk-0rpb2bdp.js} +3 -2
- package/dist/{chunk-zz21rvr7.js → chunk-127cmycn.js} +8 -5
- package/dist/chunk-12vk6z7z.js +109 -0
- package/dist/chunk-15y014gg.js +102 -0
- package/dist/{chunk-44fpr6jq.js → chunk-168xb8v1.js} +4 -2
- package/dist/{chunk-8fmbf525.js → chunk-16bnxyz0.js} +1 -1
- package/dist/{chunk-wsqhnjj3.js → chunk-1atfzck5.js} +24 -24
- package/dist/chunk-1cbhkqxg.js +310 -0
- package/dist/chunk-1csq8bf1.js +295 -0
- package/dist/{chunk-0e1xsncc.js → chunk-1cwdhk7a.js} +1 -1
- package/dist/{chunk-36k3f7pn.js → chunk-1ebqpwhn.js} +79 -59
- package/dist/{chunk-ap2a2er6.js → chunk-1mh5vt6v.js} +102 -80
- package/dist/chunk-1qf125vg.js +123 -0
- package/dist/{chunk-fcz5eche.js → chunk-1sp6713v.js} +139 -170
- package/dist/{chunk-d18z9pna.js → chunk-1thgdca1.js} +2 -2
- package/dist/chunk-1z1gfx2c.js +443 -0
- package/dist/{chunk-7z8j9qfn.js → chunk-21z7acxh.js} +3 -3
- package/dist/chunk-229pcf6p.js +509 -0
- package/dist/chunk-238g70xa.js +1 -1
- package/dist/{chunk-vpb723tx.js → chunk-23ad5t92.js} +5 -5
- package/dist/chunk-28043j1k.js +68 -0
- package/dist/chunk-299r6d9v.js +141 -0
- package/dist/{chunk-5r3ak65p.js → chunk-2bw5nqsw.js} +4 -4
- package/dist/chunk-2mxstrx5.js +445 -0
- package/dist/{chunk-w2z5pqd3.js → chunk-2q39ej51.js} +6 -6
- package/dist/chunk-2qwgfjcj.js +5370 -0
- package/dist/chunk-2ss23j0q.js +3587 -0
- package/dist/{chunk-k9c3888e.js → chunk-2wvxddsg.js} +9 -7
- package/dist/chunk-2x2aznpc.js +134 -0
- package/dist/{chunk-bqq4zamw.js → chunk-2ys5wcxk.js} +3 -3
- package/dist/{chunk-2kbk09sb.js → chunk-3cvcwgsr.js} +79 -59
- package/dist/{chunk-rs45skes.js → chunk-3xv7rjsy.js} +15 -11
- package/dist/chunk-42x5tjk2.js +42 -0
- package/dist/{chunk-n78qmqpq.js → chunk-436r0x2n.js} +8 -8
- package/dist/{chunk-k3vpzx3c.js → chunk-44q4jkwa.js} +27 -67
- package/dist/{chunk-qnbdekts.js → chunk-44w22kyx.js} +111 -132
- package/dist/{chunk-7m2nd8da.js → chunk-46fcr28b.js} +31 -10
- package/dist/{chunk-wm2f2f1z.js → chunk-474y75ga.js} +2 -2
- package/dist/{chunk-6fkwz9yk.js → chunk-478rpnqm.js} +8 -8
- package/dist/chunk-48w0df8a.js +32 -0
- package/dist/chunk-4cp6193g.js +9076 -0
- package/dist/chunk-4d0de73v.js +436 -0
- package/dist/chunk-4eecm90d.js +1030 -0
- package/dist/{chunk-jfv3zczw.js → chunk-4f4ccg1h.js} +10 -115
- package/dist/chunk-4h102wt5.js +65 -0
- package/dist/{chunk-6n2qgm9v.js → chunk-4hv90qcz.js} +1 -1
- package/dist/{chunk-4gj6zzg1.js → chunk-4jcqmf9w.js} +43 -29
- package/dist/{chunk-067wa5sn.js → chunk-4kk7vxed.js} +8 -6
- package/dist/chunk-4nspekjp.js +69 -0
- package/dist/chunk-4xmb7bvy.js +125 -0
- package/dist/{chunk-nrp9yaq6.js → chunk-4xy0c1dz.js} +16 -12
- package/dist/{chunk-77g09znh.js → chunk-53c9gb9c.js} +23 -16
- package/dist/{chunk-03nqtgyr.js → chunk-53zsn91p.js} +42 -30
- package/dist/{chunk-gkrx7ptx.js → chunk-548g1d6z.js} +113 -114
- package/dist/chunk-559yvwh1.js +63 -0
- package/dist/chunk-5a6ahhvy.js +594 -0
- package/dist/{chunk-h2j4t3fk.js → chunk-5c6man70.js} +9692 -17630
- package/dist/chunk-5hb5ev7b.js +74 -0
- package/dist/{chunk-hx2tr4ep.js → chunk-5z28bqne.js} +34 -475
- package/dist/{chunk-p7g7pf3f.js → chunk-61ahbn23.js} +8 -6
- package/dist/chunk-64c1avct.js +13 -0
- package/dist/{chunk-0sb5scxx.js → chunk-652wnf1z.js} +5 -5
- package/dist/{chunk-1w361mz1.js → chunk-66jkaz3q.js} +109 -213
- package/dist/{chunk-q25bjaev.js → chunk-677as3nh.js} +2 -2
- package/dist/chunk-68ksfahx.js +386 -0
- package/dist/{chunk-xs0hwvpa.js → chunk-68pfxvxt.js} +14 -9
- package/dist/{chunk-epmheefa.js → chunk-69hys77v.js} +8 -8
- package/dist/{chunk-404wc7d4.js → chunk-6ayqcq3h.js} +126 -119
- package/dist/chunk-6kpbgc5w.js +23 -0
- package/dist/chunk-6mpsxxsf.js +362 -0
- package/dist/chunk-6nze0g86.js +119 -0
- package/dist/{chunk-v1mgv1et.js → chunk-6p4cyhb3.js} +4 -3
- package/dist/{chunk-w2qfgzzh.js → chunk-6t62dbnb.js} +61 -100
- package/dist/chunk-6t87a3q6.js +2842 -0
- package/dist/{chunk-q6av622g.js → chunk-6xana182.js} +18 -13
- package/dist/{chunk-fpf4cgbt.js → chunk-7bfach0x.js} +9 -9
- package/dist/{chunk-g6e1ab2k.js → chunk-7f1ggjr2.js} +81 -61
- package/dist/chunk-7fxjmmfw.js +1172 -0
- package/dist/{chunk-ckcagq32.js → chunk-7gqf9wej.js} +5 -5
- package/dist/chunk-7j3dkjqq.js +38 -0
- package/dist/chunk-7ns74x0q.js +475 -0
- package/dist/chunk-7qmknpkq.js +272 -0
- package/dist/chunk-7rzepn9c.js +83 -0
- package/dist/chunk-7tdcwje9.js +68 -0
- package/dist/{chunk-201dvaa3.js → chunk-8201tnhf.js} +11 -5
- package/dist/{chunk-dv1wfr85.js → chunk-8225arm6.js} +5 -4
- package/dist/chunk-822wfv88.js +70 -0
- package/dist/chunk-837tm8ht.js +183 -0
- package/dist/chunk-8a2ajt5d.js +878 -0
- package/dist/{chunk-drv8qvwz.js → chunk-8bymxfn4.js} +43 -29
- package/dist/chunk-8cwbzk7h.js +118 -0
- package/dist/chunk-8d0ev0m2.js +111 -0
- package/dist/chunk-8g5pe1gr.js +37 -0
- package/dist/{chunk-g0j0t6qk.js → chunk-8g747a8x.js} +1 -1
- package/dist/chunk-8kfwb79z.js +436 -0
- package/dist/{chunk-xyqr1cww.js → chunk-8me0yq6v.js} +12 -12
- package/dist/{chunk-qdrwxg3e.js → chunk-8n8285ax.js} +91 -71
- package/dist/{chunk-sdj9b9wh.js → chunk-8pn8tvgg.js} +9 -154
- package/dist/{chunk-ha0xq3e9.js → chunk-8qhr4n77.js} +64 -106
- package/dist/{chunk-fpjzr5jj.js → chunk-8s9bbk3r.js} +62 -45
- package/dist/{chunk-e3g8q4cn.js → chunk-905d2hee.js} +10 -8
- package/dist/{chunk-3psth3ez.js → chunk-91xq5y4a.js} +9 -9
- package/dist/{chunk-rq1kckze.js → chunk-93xsyzsp.js} +1 -1
- package/dist/chunk-99pmbfqp.js +230 -0
- package/dist/chunk-9f14bkn9.js +33068 -0
- package/dist/{chunk-ex978bsn.js → chunk-9m78gjpd.js} +1 -1
- package/dist/{chunk-hpwa620w.js → chunk-9pm2d2gv.js} +251 -306
- package/dist/chunk-a136cvvz.js +27 -0
- package/dist/{chunk-n5t9m8h9.js → chunk-a1bjde7d.js} +7 -7
- package/dist/chunk-a2evk7n1.js +168 -0
- package/dist/{chunk-6heqkcjx.js → chunk-a3k4w4cm.js} +42 -28
- package/dist/chunk-a3mcc1sb.js +1403 -0
- package/dist/{chunk-8hq5kk3y.js → chunk-a4twdmhf.js} +3 -2
- package/dist/chunk-a8eaey19.js +66 -0
- package/dist/chunk-abkb5pw6.js +426 -0
- package/dist/chunk-ae76ded0.js +30 -0
- package/dist/{chunk-2v1br2x0.js → chunk-agx5w9ce.js} +14 -8
- package/dist/chunk-ah46h8rp.js +70 -0
- package/dist/chunk-aj3azy6z.js +409 -0
- package/dist/chunk-an6z4rzv.js +158 -0
- package/dist/{chunk-r6b58y3x.js → chunk-ase86y73.js} +1 -3
- package/dist/{chunk-e6s36z54.js → chunk-avfjb6pd.js} +17 -557
- package/dist/{chunk-1hhdpn3t.js → chunk-az5x70pn.js} +8 -5
- package/dist/{chunk-91gk0g2y.js → chunk-b6rg3egp.js} +33 -18
- package/dist/chunk-b73r6ngr.js +125 -0
- package/dist/{chunk-8bedvdm1.js → chunk-b81hd3m6.js} +1 -1
- package/dist/{chunk-ebfsjcvm.js → chunk-b9mhpc0v.js} +3 -3
- package/dist/chunk-b9ndqcdv.js +139 -0
- package/dist/{chunk-w7wgpqcp.js → chunk-bd8zk9tn.js} +7 -7
- package/dist/chunk-bdy6n17s.js +343 -0
- package/dist/{chunk-s8y2tfzf.js → chunk-bf1j3azq.js} +156 -119
- package/dist/{chunk-j5j6nrfq.js → chunk-bfcet2mw.js} +2 -2
- package/dist/{chunk-jy35mvy3.js → chunk-bmjmrk76.js} +7 -7
- package/dist/{chunk-ra0r65nx.js → chunk-bsj8e2mb.js} +11 -11
- package/dist/{chunk-jce5r25x.js → chunk-bt64sq5y.js} +5 -4
- package/dist/{chunk-vyc0rjyx.js → chunk-bwg7582d.js} +1 -1
- package/dist/{chunk-3be7ka25.js → chunk-bxcfz5gy.js} +1 -1
- package/dist/{chunk-7wm1rjfm.js → chunk-c1k9tg7h.js} +518 -810
- package/dist/{chunk-qwvrkydc.js → chunk-c5pxerks.js} +13 -11
- package/dist/chunk-c6sjhj89.js +1284 -0
- package/dist/{chunk-brcnd1j0.js → chunk-c9q0phsg.js} +9 -6
- package/dist/chunk-caj0ab74.js +129 -0
- package/dist/chunk-chsyvavm.js +3435 -0
- package/dist/chunk-cjpt035a.js +269 -0
- package/dist/chunk-cmcbatgz.js +147 -0
- package/dist/chunk-cnsj3vq2.js +35 -0
- package/dist/chunk-cqjmxeqv.js +269 -0
- package/dist/{chunk-cdz5yb0r.js → chunk-crmjpsqe.js} +13 -2
- package/dist/{chunk-2mcp388c.js → chunk-cvb1v08x.js} +38 -32
- package/dist/{chunk-w0r5627q.js → chunk-cxhvyf7c.js} +234 -363
- package/dist/{chunk-s0wvh65m.js → chunk-cxx0e4nv.js} +1343 -2839
- package/dist/chunk-cy2hswr1.js +15 -0
- package/dist/{chunk-g9q2cznf.js → chunk-cy6ezb6j.js} +125994 -138958
- package/dist/{chunk-ks0m9njy.js → chunk-d2jekryq.js} +8 -8
- package/dist/chunk-d4mdda98.js +94 -0
- package/dist/{chunk-hgtf13es.js → chunk-d6ve5pze.js} +10 -10
- package/dist/{chunk-55wgxwa9.js → chunk-d7886r6a.js} +6928 -6935
- package/dist/{chunk-4bgz02m1.js → chunk-d83tmb5h.js} +87 -64
- package/dist/{chunk-hdwh7ncw.js → chunk-d8meetqc.js} +84 -63
- package/dist/{chunk-128nh5j9.js → chunk-d8r0q4ps.js} +547 -866
- package/dist/chunk-d95k8xkm.js +84 -0
- package/dist/chunk-dd4m7t1v.js +112 -0
- package/dist/{chunk-rcdpvnxh.js → chunk-dekbr08w.js} +24 -20
- package/dist/{chunk-cvge4pvp.js → chunk-dk8287aa.js} +1 -1
- package/dist/chunk-dm3n2qgd.js +24 -0
- package/dist/{chunk-b0105v1f.js → chunk-dmxte86x.js} +3 -3
- package/dist/{chunk-zkmxtgc3.js → chunk-dqvwn28p.js} +19 -15
- package/dist/chunk-drkm8yx2.js +34 -0
- package/dist/chunk-dsbewdgm.js +148 -0
- package/dist/{chunk-w7h2yphx.js → chunk-dwekpr47.js} +2 -2
- package/dist/{chunk-hg776v69.js → chunk-e3299veq.js} +16 -68
- package/dist/{chunk-wqpr7002.js → chunk-e5hcyxae.js} +132 -18
- package/dist/chunk-e7h0nd5w.js +106 -0
- package/dist/{chunk-7qwme3ab.js → chunk-eaemyebz.js} +5 -5
- package/dist/{chunk-hjhc4cpt.js → chunk-edzkkadh.js} +2 -2
- package/dist/chunk-em99fnet.js +128 -0
- package/dist/{chunk-hfzj1m07.js → chunk-epyaq1z0.js} +13 -4
- package/dist/{chunk-r8f13sz1.js → chunk-eqmkajs4.js} +102 -195
- package/dist/{chunk-gax0fcbx.js → chunk-ergam9ft.js} +5 -5
- package/dist/chunk-es2fdse0.js +63 -0
- package/dist/{chunk-grdvmq7q.js → chunk-esn3tgm2.js} +8 -6
- package/dist/{chunk-ptmcaxqn.js → chunk-et8ybmt2.js} +9 -7
- package/dist/chunk-ew9rp41b.js +300 -0
- package/dist/{chunk-dvfb4qwt.js → chunk-ewx6xfzb.js} +2 -2
- package/dist/chunk-eyjtbtt0.js +137 -0
- package/dist/chunk-f0jd2p9n.js +797 -0
- package/dist/{chunk-vzqrbsd1.js → chunk-f69rgsm2.js} +5 -5
- package/dist/{chunk-45kxdsp8.js → chunk-f6rbj3gz.js} +17 -12
- package/dist/chunk-fbhyqxdg.js +1182 -0
- package/dist/chunk-feyzykye.js +10 -0
- package/dist/chunk-ffhejx56.js +107 -0
- package/dist/{chunk-cpe70sxw.js → chunk-fhx6nt2a.js} +42 -28
- package/dist/chunk-fkkysfev.js +158 -0
- package/dist/chunk-fn510gqw.js +216 -0
- package/dist/chunk-ftsg8bjm.js +117 -0
- package/dist/{chunk-s39js2d3.js → chunk-fyts9grb.js} +2 -2
- package/dist/{chunk-bjqw6798.js → chunk-fz0ch109.js} +6 -5
- package/dist/{chunk-q1e6pzwh.js → chunk-g1jarkx9.js} +38 -8
- package/dist/chunk-g9f19ttm.js +15 -0
- package/dist/chunk-g9qte35t.js +341 -0
- package/dist/chunk-gaav53dc.js +105 -0
- package/dist/chunk-gfx3cwrk.js +75 -0
- package/dist/chunk-gk2d1x2a.js +946 -0
- package/dist/chunk-gkbat1p9.js +121 -0
- package/dist/{chunk-cg43nnpk.js → chunk-gmnyk2t8.js} +8 -6
- package/dist/{chunk-m23b51r2.js → chunk-gnmdprq3.js} +191 -338
- package/dist/{chunk-bq6x1ehp.js → chunk-gpz0ddyz.js} +8 -8
- package/dist/{chunk-yt6z8030.js → chunk-gv1csnc3.js} +217 -355
- package/dist/{chunk-nx6nds18.js → chunk-gv37c8ax.js} +3 -3
- package/dist/{chunk-h6c8cms4.js → chunk-gzr2601k.js} +10 -10
- package/dist/{chunk-2tkt52mz.js → chunk-h3pda469.js} +37 -82
- package/dist/{chunk-qqfa0dqg.js → chunk-h4b85amj.js} +20 -32
- package/dist/chunk-h5zv78zq.js +352 -0
- package/dist/{chunk-2x3gmbws.js → chunk-h7edytkc.js} +5 -5
- package/dist/{chunk-as261f01.js → chunk-ha0wbzc3.js} +13 -11
- package/dist/{chunk-nxsh6de2.js → chunk-hcgkak1j.js} +20 -125
- package/dist/{chunk-tjaqa99q.js → chunk-hezj20qy.js} +3 -3
- package/dist/{chunk-7ahman84.js → chunk-hf85ht0m.js} +2 -2
- package/dist/{chunk-w0hx9v3y.js → chunk-ht1nfygk.js} +42 -28
- package/dist/chunk-j316jjby.js +108 -0
- package/dist/chunk-j3fge71v.js +115 -0
- package/dist/{chunk-v4h5psgs.js → chunk-j4x0t6k2.js} +46 -31
- package/dist/{chunk-9gbamk79.js → chunk-j5bth84e.js} +5 -1
- package/dist/chunk-j783d5af.js +134 -0
- package/dist/chunk-j7pbwf9x.js +108 -0
- package/dist/{chunk-rf2w4x97.js → chunk-j8rnrm5n.js} +120 -142
- package/dist/{chunk-vratq94g.js → chunk-j9gxwbe3.js} +1 -1
- package/dist/{chunk-3r24h7t6.js → chunk-jaaxk89e.js} +1 -1
- package/dist/{chunk-y47cg3kz.js → chunk-jaew3662.js} +18 -13
- package/dist/{chunk-q1txr206.js → chunk-jbbj16w2.js} +128 -185
- package/dist/chunk-jerew25v.js +148 -0
- package/dist/{chunk-v399mzxk.js → chunk-jf0p00fz.js} +2 -2
- package/dist/{chunk-97r68x5g.js → chunk-jfsah2w3.js} +1065 -1762
- package/dist/{chunk-av73dywf.js → chunk-jna2tcvj.js} +8 -8
- package/dist/{chunk-yym1e1dr.js → chunk-jng0mb4r.js} +10 -10
- package/dist/chunk-jrrmwfp4.js +66 -0
- package/dist/{chunk-0rc2rn3b.js → chunk-jt6fa514.js} +14 -12
- package/dist/chunk-jvkyx1b7.js +911 -0
- package/dist/{chunk-41xeh3t9.js → chunk-jy6c07wa.js} +4 -4
- package/dist/chunk-k1fvb16y.js +269 -0
- package/dist/{chunk-bqfnp99q.js → chunk-k3s4yk22.js} +1 -1
- package/dist/{chunk-madfgr3n.js → chunk-k46gxg21.js} +68 -8
- package/dist/chunk-k8wwyz2t.js +110 -0
- package/dist/{chunk-mnx3wyv4.js → chunk-ka3fdfyb.js} +83 -62
- package/dist/{chunk-k5c8ssc6.js → chunk-ka4x7mhn.js} +42 -28
- package/dist/chunk-kb99zpps.js +216 -0
- package/dist/{chunk-1dyeexvn.js → chunk-kd3mmsd2.js} +4 -4
- package/dist/{chunk-1xkekb9y.js → chunk-kfd89dsd.js} +5 -3
- package/dist/{chunk-g7fxbqsc.js → chunk-km1wcchx.js} +87 -68
- package/dist/{chunk-248szg6m.js → chunk-kmhwx18d.js} +3 -3
- package/dist/{chunk-pabnr66n.js → chunk-kq91dwkq.js} +8 -6
- package/dist/chunk-m17m84b7.js +111 -0
- package/dist/chunk-m1a0s9fd.js +1070 -0
- package/dist/{chunk-jafes477.js → chunk-m2bcpk8j.js} +4 -3
- package/dist/{chunk-t0brxw87.js → chunk-m7jtn7dk.js} +80 -60
- package/dist/chunk-mq2mgyt9.js +103 -0
- package/dist/chunk-msv3w4qp.js +1811 -0
- package/dist/chunk-mx28h61f.js +1147 -0
- package/dist/{chunk-wf7yz2j0.js → chunk-mxe1f4jg.js} +13 -11
- package/dist/{chunk-n5crdyay.js → chunk-mzwjvfr2.js} +137 -124
- package/dist/{chunk-gf96dtb6.js → chunk-n2n0sq7r.js} +71 -77
- package/dist/{chunk-m06q12hg.js → chunk-n8mpqdje.js} +1 -1
- package/dist/chunk-n9e984ba.js +132 -0
- package/dist/chunk-netzwgv1.js +154 -0
- package/dist/{chunk-xszk7n10.js → chunk-nh3cd07f.js} +1 -1
- package/dist/chunk-njrz6mbe.js +66 -0
- package/dist/{chunk-sb2sew2f.js → chunk-nv7pfr7k.js} +2 -2
- package/dist/{chunk-g9xf7jc4.js → chunk-nwd8pb55.js} +85 -65
- package/dist/{chunk-5hva0tsg.js → chunk-p2yv7m0g.js} +6 -6
- package/dist/chunk-p5t2vy90.js +259 -0
- package/dist/{chunk-zk2wsm7d.js → chunk-p7vkh4wx.js} +2 -2
- package/dist/{chunk-da4ve9t5.js → chunk-p8crqj70.js} +10 -10
- package/dist/{chunk-02y0y853.js → chunk-pcngtzr8.js} +12 -6
- package/dist/{chunk-3vpqaqc6.js → chunk-pdjem6h1.js} +53 -71
- package/dist/{chunk-7rgwp44r.js → chunk-pmxdzjq0.js} +11 -9
- package/dist/{chunk-3s5r02ps.js → chunk-pnkcecq2.js} +31 -57
- package/dist/{chunk-zsfxha74.js → chunk-pshjyzq4.js} +8 -7
- package/dist/chunk-pt1yj9zf.js +107 -0
- package/dist/{chunk-rxwb7b78.js → chunk-py6b9d5b.js} +2331 -4219
- package/dist/chunk-q7n8d91g.js +67 -0
- package/dist/{chunk-e5pntxye.js → chunk-q7tpyeb3.js} +6 -4
- package/dist/{chunk-7ymfj7m3.js → chunk-q82r31er.js} +1 -1
- package/dist/chunk-qajrkk97.js +298 -0
- package/dist/chunk-qbrh24cn.js +119 -0
- package/dist/chunk-qd9ntz7c.js +230 -0
- package/dist/chunk-qfr5tcd5.js +2537 -0
- package/dist/chunk-qpzfmkct.js +456 -0
- package/dist/{chunk-ywxd4qw4.js → chunk-qtfc6wdh.js} +2 -5
- package/dist/chunk-r032587e.js +83 -0
- package/dist/chunk-r2k2jy0y.js +51 -0
- package/dist/{chunk-8mqwac85.js → chunk-r4dnnggx.js} +22 -16
- package/dist/{chunk-5wnn3t3a.js → chunk-r5n8fvw0.js} +7 -7
- package/dist/{chunk-pxvatg16.js → chunk-r7kh03er.js} +231 -190
- package/dist/{chunk-z4wtem3z.js → chunk-rfs0mfg8.js} +147 -151
- package/dist/{chunk-hrzerbfw.js → chunk-rgbbtszq.js} +14 -14
- package/dist/{chunk-ctw5jwcd.js → chunk-rkak3kjw.js} +10 -10
- package/dist/chunk-rp568bfw.js +111 -0
- package/dist/chunk-rtv718sv.js +146 -0
- package/dist/{chunk-8d5eyjse.js → chunk-rvkvehat.js} +5284 -3093
- package/dist/chunk-s1baskk7.js +14 -0
- package/dist/{chunk-tse7q7k1.js → chunk-s1eb67v3.js} +79 -59
- package/dist/{chunk-7rn4t7tx.js → chunk-s59kx26r.js} +87 -64
- package/dist/chunk-s6yk6m3b.js +109 -0
- package/dist/{chunk-bsk44136.js → chunk-sca71yv8.js} +11 -9
- package/dist/chunk-sfrwm87k.js +151 -0
- package/dist/chunk-sgaknx21.js +123 -0
- package/dist/{chunk-4y62603j.js → chunk-snyaz093.js} +9 -15
- package/dist/{chunk-ytg914ra.js → chunk-sq8wkk3z.js} +1 -3
- package/dist/chunk-sxqj7s2h.js +54 -0
- package/dist/chunk-t2m6cjp1.js +264 -0
- package/dist/chunk-t6hmvb6k.js +1021 -0
- package/dist/chunk-t72x960a.js +125 -0
- package/dist/chunk-t9kashay.js +440 -0
- package/dist/chunk-t9wzf009.js +151 -0
- package/dist/chunk-ta1dgyj1.js +154 -0
- package/dist/chunk-tavxhayf.js +149 -0
- package/dist/{chunk-2tw2ve8h.js → chunk-tcdv4gp8.js} +18 -12
- package/dist/chunk-td3b74vm.js +362 -0
- package/dist/{chunk-mt25echc.js → chunk-tezak8rx.js} +1 -1
- package/dist/chunk-tgcw0rzx.js +262 -0
- package/dist/{chunk-9rcbyag3.js → chunk-tmdbrszg.js} +2 -2
- package/dist/{chunk-avwewk4v.js → chunk-v17qee2y.js} +12 -8
- package/dist/{chunk-njtjmsx7.js → chunk-v1jd31dw.js} +2 -2
- package/dist/chunk-var1et7e.js +66 -0
- package/dist/{chunk-j5zq8axt.js → chunk-ve9wswz4.js} +7 -131
- package/dist/{chunk-hqmz36b3.js → chunk-vf612n57.js} +21 -101
- package/dist/chunk-vfhabc5j.js +109 -0
- package/dist/{chunk-wszmas1q.js → chunk-vgy0w6tt.js} +2 -2
- package/dist/chunk-vh02fvz1.js +375 -0
- package/dist/{chunk-jz6sqm8m.js → chunk-vm935era.js} +1083 -881
- package/dist/{chunk-e7393td6.js → chunk-vtb8z6as.js} +14 -9
- package/dist/chunk-w2kf9sxn.js +115 -0
- package/dist/chunk-w7trx259.js +132 -0
- package/dist/chunk-w92b262y.js +1072 -0
- package/dist/chunk-w9zqjhvm.js +103 -0
- package/dist/{chunk-0he1tqj5.js → chunk-wb2fvy1k.js} +81 -61
- package/dist/chunk-ws2d81aj.js +123 -0
- package/dist/{chunk-k808gmhk.js → chunk-wssgdcck.js} +2 -2
- package/dist/{chunk-t9z6njcr.js → chunk-wtycm8km.js} +9 -9
- package/dist/chunk-wz0d8mna.js +108 -0
- package/dist/chunk-x01wtn3p.js +144 -0
- package/dist/{chunk-ze747xz6.js → chunk-x2sp7rcv.js} +73 -105
- package/dist/{chunk-7vtykt4v.js → chunk-xbprynsc.js} +18 -46
- package/dist/{chunk-p196v9d0.js → chunk-xext3y2y.js} +8 -6
- package/dist/{chunk-r66hz8j6.js → chunk-xycy3c8q.js} +15 -12
- package/dist/{chunk-npv8q5qr.js → chunk-y01ys1vm.js} +25 -74
- package/dist/{chunk-spqaamnc.js → chunk-y78t50v0.js} +2 -2
- package/dist/chunk-y9bgt2k1.js +78 -0
- package/dist/{chunk-j8rw3m89.js → chunk-ydm0nfsv.js} +6 -6
- package/dist/{chunk-3cn070p7.js → chunk-yetebjek.js} +291 -502
- package/dist/chunk-ym5r3jnk.js +2007 -0
- package/dist/chunk-ysks0ewj.js +237 -0
- package/dist/chunk-yv3evkgg.js +68 -0
- package/dist/chunk-yw79dz62.js +164 -0
- package/dist/{chunk-ea18z8vr.js → chunk-yy59gvs4.js} +159 -183
- package/dist/{chunk-def1dc97.js → chunk-yyax4hdg.js} +10 -8
- package/dist/chunk-yzx3mhfd.js +110 -0
- package/dist/chunk-z0q85m5f.js +108 -0
- package/dist/chunk-z1bs6d7k.js +24 -0
- package/dist/chunk-z6e5jp2w.js +119 -0
- package/dist/chunk-z7ssqvt6.js +6886 -0
- package/dist/chunk-z95yxwyb.js +61 -0
- package/dist/{chunk-5a3cw988.js → chunk-z9aqj026.js} +5 -5
- package/dist/chunk-zc6dxhk9.js +169 -0
- package/dist/{chunk-2t3vw4tx.js → chunk-ze6zvkg6.js} +10 -10
- package/dist/{chunk-t0rgmccj.js → chunk-zejm280k.js} +1 -1
- package/dist/chunk-zfapazzd.js +37 -0
- package/dist/chunk-zj4fqmnc.js +219 -0
- package/dist/chunk-zkrpbswn.js +1608 -0
- package/dist/chunk-zktbb38m.js +112 -0
- package/dist/{chunk-2mcrd0rj.js → chunk-zptcqa7t.js} +92 -71
- package/dist/{chunk-a3csma98.js → chunk-zvnsjbt8.js} +1 -1
- package/dist/chunk-zwaanw8y.js +110 -0
- package/dist/{chunk-g3t0act8.js → chunk-zzm33q8x.js} +1 -1
- package/dist/{chunk-3gqdqmzb.js → chunk-zzzc1ead.js} +17 -12
- package/dist/cli.js +39 -10
- package/dist/download-ripgrep.js +24821 -0
- package/dist/vendor/audio-capture/arm64-darwin/audio-capture.node +0 -0
- package/dist/vendor/audio-capture/arm64-linux/audio-capture.node +0 -0
- package/dist/vendor/audio-capture/arm64-win32/audio-capture.node +0 -0
- package/dist/vendor/audio-capture/x64-darwin/audio-capture.node +0 -0
- package/dist/vendor/audio-capture/x64-linux/audio-capture.node +0 -0
- package/dist/vendor/audio-capture/x64-win32/audio-capture.node +0 -0
- package/package.json +25 -15
- package/scripts/download-ripgrep.ts +335 -0
- package/scripts/postinstall.cjs +319 -0
- package/dist/chunk-07ysf2mw.js +0 -184
- package/dist/chunk-0ewgfms5.js +0 -117
- package/dist/chunk-165b9y9k.js +0 -70
- package/dist/chunk-17g3drrw.js +0 -121
- package/dist/chunk-1jv1ckhg.js +0 -1152
- package/dist/chunk-1pxd1xfp.js +0 -103
- package/dist/chunk-1tzexy7d.js +0 -258
- package/dist/chunk-271zt54b.js +0 -1871
- package/dist/chunk-2a27tvzp.js +0 -281
- package/dist/chunk-2g1zxpt7.js +0 -2833
- package/dist/chunk-2jb48txn.js +0 -98
- package/dist/chunk-2kc13eta.js +0 -88
- package/dist/chunk-2tme3s1c.js +0 -114
- package/dist/chunk-4491abz9.js +0 -99
- package/dist/chunk-4dfmgx6h.js +0 -69
- package/dist/chunk-4fbyr2hm.js +0 -279
- package/dist/chunk-5dsvtbwb.js +0 -87
- package/dist/chunk-5t59fqg3.js +0 -127
- package/dist/chunk-60nc5bh3.js +0 -1579
- package/dist/chunk-6dcq96a3.js +0 -128
- package/dist/chunk-6tm5941a.js +0 -152
- package/dist/chunk-79zmgkg5.js +0 -750
- package/dist/chunk-7d35rxr3.js +0 -69
- package/dist/chunk-7enxknwt.js +0 -442
- package/dist/chunk-7j0wpf4m.js +0 -89
- package/dist/chunk-7q6pjeyp.js +0 -1493
- package/dist/chunk-7whgbwhx.js +0 -584
- package/dist/chunk-9egdc8n4.js +0 -463
- package/dist/chunk-9rr0wepz.js +0 -56
- package/dist/chunk-ajp7hmws.js +0 -422
- package/dist/chunk-bm1qb16p.js +0 -17
- package/dist/chunk-bmvzacx5.js +0 -998
- package/dist/chunk-bw093kge.js +0 -129
- package/dist/chunk-c4q9x8t2.js +0 -105
- package/dist/chunk-c6421kme.js +0 -54
- package/dist/chunk-cdajcgne.js +0 -195
- package/dist/chunk-ch8avrbh.js +0 -86
- package/dist/chunk-chkyv40s.js +0 -2642
- package/dist/chunk-d049dd11.js +0 -348
- package/dist/chunk-d7tw94h4.js +0 -114
- package/dist/chunk-daeav7vb.js +0 -418
- package/dist/chunk-dxnv8hfn.js +0 -536
- package/dist/chunk-dy3tzxgq.js +0 -91
- package/dist/chunk-exy9bnjf.js +0 -212
- package/dist/chunk-f1f3dmd5.js +0 -713
- package/dist/chunk-f7yg1atj.js +0 -47
- package/dist/chunk-fakajzny.js +0 -372
- package/dist/chunk-ftrm87vt.js +0 -467
- package/dist/chunk-ftsp0cj3.js +0 -105
- package/dist/chunk-fv7hhcns.js +0 -345
- package/dist/chunk-fvcwxb8x.js +0 -83
- package/dist/chunk-g00hs992.js +0 -90
- package/dist/chunk-g5fpkpeg.js +0 -520
- package/dist/chunk-g9qyg278.js +0 -88
- package/dist/chunk-gkjdjqfs.js +0 -112
- package/dist/chunk-gqk545se.js +0 -6107
- package/dist/chunk-gyj242zr.js +0 -20
- package/dist/chunk-gzmjp1eb.js +0 -696
- package/dist/chunk-hbh17tng.js +0 -1013
- package/dist/chunk-hdfzyzk4.js +0 -85
- package/dist/chunk-hdtb5jce.js +0 -101
- package/dist/chunk-j99mjxam.js +0 -220
- package/dist/chunk-jaqg0k7h.js +0 -271
- package/dist/chunk-jdew773m.js +0 -115
- package/dist/chunk-jjsx6t78.js +0 -169
- package/dist/chunk-jpr8js4w.js +0 -328
- package/dist/chunk-jx817w05.js +0 -11
- package/dist/chunk-k0g3jve7.js +0 -89
- package/dist/chunk-k1g3g183.js +0 -128
- package/dist/chunk-k1p54aq6.js +0 -54
- package/dist/chunk-kexj9c6y.js +0 -5398
- package/dist/chunk-kgg1gq3t.js +0 -113
- package/dist/chunk-kwkrek4t.js +0 -95
- package/dist/chunk-m4gcjpj3.js +0 -103
- package/dist/chunk-m6rk1r6q.js +0 -194
- package/dist/chunk-mb2xmb0d.js +0 -53
- package/dist/chunk-mv1pbf3a.js +0 -297
- package/dist/chunk-my7r0cca.js +0 -469
- package/dist/chunk-nprycdaa.js +0 -525
- package/dist/chunk-p2pztr2r.js +0 -104
- package/dist/chunk-p68nf56z.js +0 -92
- package/dist/chunk-p6pc9xrz.js +0 -3443
- package/dist/chunk-p7skftb4.js +0 -108
- package/dist/chunk-pa2235xc.js +0 -160
- package/dist/chunk-pmzbyaat.js +0 -99
- package/dist/chunk-pqzk7nbh.js +0 -91
- package/dist/chunk-pvvew193.js +0 -802
- package/dist/chunk-pvx0x5zm.js +0 -2057
- package/dist/chunk-py77warv.js +0 -66
- package/dist/chunk-q43gccx5.js +0 -92
- package/dist/chunk-rse6x10x.js +0 -89
- package/dist/chunk-rxdhy7ve.js +0 -131
- package/dist/chunk-scb48p4v.js +0 -496
- package/dist/chunk-sjqtqj35.js +0 -28
- package/dist/chunk-sq0wf7jj.js +0 -1919
- package/dist/chunk-sy1hkkty.js +0 -400
- package/dist/chunk-sy9jf9v2.js +0 -109
- package/dist/chunk-t2km9bn3.js +0 -87
- package/dist/chunk-t4afbt2j.js +0 -88
- package/dist/chunk-t4c5qtdc.js +0 -42
- package/dist/chunk-t94jxd0x.js +0 -100
- package/dist/chunk-tb2g2bba.js +0 -192
- package/dist/chunk-tdpvdzbf.js +0 -97
- package/dist/chunk-tf4dw2e2.js +0 -142
- package/dist/chunk-tp40437d.js +0 -90
- package/dist/chunk-vabm7x8v.js +0 -61
- package/dist/chunk-veaq13qy.js +0 -490
- package/dist/chunk-vmz3wcnv.js +0 -641
- package/dist/chunk-vsgv16zj.js +0 -756
- package/dist/chunk-vxa0avb0.js +0 -105
- package/dist/chunk-x14dq3v1.js +0 -722
- package/dist/chunk-x6bg700t.js +0 -88
- package/dist/chunk-x8b7vft8.js +0 -132
- package/dist/chunk-xmdcxa8r.js +0 -374
- package/dist/chunk-y42a2xmv.js +0 -1316
- package/dist/chunk-y56ckcf8.js +0 -44
- package/dist/chunk-ybgghjqa.js +0 -602
- package/dist/chunk-zacq47b2.js +0 -84
- package/dist/chunk-zv3hxg5y.js +0 -267
- package/dist/chunk-zw2x3xxq.js +0 -96
- package/dist/chunk-zyf9epwn.js +0 -642
- package/dist/{chunk-whvdag1y.js → chunk-3bfs3x0h.js} +9 -9
- package/dist/{chunk-27xc1csx.js → chunk-dggvswz1.js} +3 -3
- package/dist/{chunk-0wftg29n.js → chunk-f9nt10jh.js} +3 -3
|
@@ -7,20 +7,17 @@ import {
|
|
|
7
7
|
readJSONLFile,
|
|
8
8
|
safeParseJSON,
|
|
9
9
|
stripBOM
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-905d2hee.js";
|
|
11
11
|
import {
|
|
12
12
|
expandPath,
|
|
13
13
|
init_path,
|
|
14
14
|
normalizePathForConfigKey
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import {
|
|
17
|
-
sanitizePath
|
|
18
|
-
} from "./chunk-vratq94g.js";
|
|
15
|
+
} from "./chunk-rkak3kjw.js";
|
|
19
16
|
import {
|
|
20
17
|
getAWSClientProxyConfig,
|
|
21
18
|
getProxyFetchOptions,
|
|
22
19
|
init_proxy
|
|
23
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-p2yv7m0g.js";
|
|
24
21
|
import {
|
|
25
22
|
count,
|
|
26
23
|
getAgentId,
|
|
@@ -33,28 +30,51 @@ import {
|
|
|
33
30
|
lock,
|
|
34
31
|
lockSync,
|
|
35
32
|
uniq
|
|
36
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-1cwdhk7a.js";
|
|
37
34
|
import {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
} from "./chunk-g0j0t6qk.js";
|
|
35
|
+
sanitizePath
|
|
36
|
+
} from "./chunk-j9gxwbe3.js";
|
|
41
37
|
import {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
} from "./chunk-
|
|
38
|
+
init_lazySchema,
|
|
39
|
+
lazySchema
|
|
40
|
+
} from "./chunk-64c1avct.js";
|
|
41
|
+
import {
|
|
42
|
+
EXTERNAL_PERMISSION_MODES,
|
|
43
|
+
PERMISSION_MODES,
|
|
44
|
+
init_permissions
|
|
45
|
+
} from "./chunk-6kpbgc5w.js";
|
|
46
|
+
import {
|
|
47
|
+
init_sleep,
|
|
48
|
+
sleep
|
|
49
|
+
} from "./chunk-8g5pe1gr.js";
|
|
45
50
|
import {
|
|
46
51
|
detectVcs,
|
|
47
52
|
getLinuxDistroInfo,
|
|
48
53
|
getPlatform,
|
|
49
54
|
getWslVersion,
|
|
50
55
|
init_platform
|
|
51
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-hezj20qy.js";
|
|
57
|
+
import {
|
|
58
|
+
init_v4,
|
|
59
|
+
v4_default
|
|
60
|
+
} from "./chunk-8g747a8x.js";
|
|
52
61
|
import {
|
|
53
62
|
exports_external,
|
|
54
|
-
init_lazySchema,
|
|
55
|
-
lazySchema,
|
|
56
63
|
toJSONSchema
|
|
57
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-d7886r6a.js";
|
|
65
|
+
import {
|
|
66
|
+
require_src as require_src2,
|
|
67
|
+
require_src1 as require_src3,
|
|
68
|
+
require_src2 as require_src4
|
|
69
|
+
} from "./chunk-f5ma3nh5.js";
|
|
70
|
+
import {
|
|
71
|
+
exports_common,
|
|
72
|
+
init_common
|
|
73
|
+
} from "./chunk-r2k2jy0y.js";
|
|
74
|
+
import {
|
|
75
|
+
init_normalization,
|
|
76
|
+
normalizeNameForMCP
|
|
77
|
+
} from "./chunk-3c25bcsw.js";
|
|
58
78
|
import {
|
|
59
79
|
JETBRAINS_IDES,
|
|
60
80
|
env,
|
|
@@ -63,7 +83,7 @@ import {
|
|
|
63
83
|
init_bundledMode,
|
|
64
84
|
init_env,
|
|
65
85
|
isInBundledMode
|
|
66
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-2q39ej51.js";
|
|
67
87
|
import {
|
|
68
88
|
ALL_OAUTH_SCOPES,
|
|
69
89
|
CLAUDE_AI_INFERENCE_SCOPE,
|
|
@@ -72,19 +92,18 @@ import {
|
|
|
72
92
|
OAUTH_BETA_HEADER,
|
|
73
93
|
getOauthConfig,
|
|
74
94
|
init_oauth
|
|
75
|
-
} from "./chunk-
|
|
76
|
-
import {
|
|
77
|
-
require_src as require_src2,
|
|
78
|
-
require_src1 as require_src3,
|
|
79
|
-
require_src2 as require_src4
|
|
80
|
-
} from "./chunk-f5ma3nh5.js";
|
|
95
|
+
} from "./chunk-q82r31er.js";
|
|
81
96
|
import {
|
|
82
97
|
require_src
|
|
83
98
|
} from "./chunk-p2816w9z.js";
|
|
84
99
|
import {
|
|
85
100
|
init_startupProfiler,
|
|
86
101
|
profileCheckpoint
|
|
87
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-qpzfmkct.js";
|
|
103
|
+
import {
|
|
104
|
+
init_source,
|
|
105
|
+
source_default
|
|
106
|
+
} from "./chunk-rvkvehat.js";
|
|
88
107
|
import {
|
|
89
108
|
init_analytics,
|
|
90
109
|
logEvent,
|
|
@@ -97,21 +116,22 @@ import {
|
|
|
97
116
|
init_diagLogs,
|
|
98
117
|
init_git,
|
|
99
118
|
logForDiagnosticsNoPII
|
|
100
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-rgbbtszq.js";
|
|
101
120
|
import {
|
|
102
121
|
init_memoize as init_memoize2,
|
|
103
122
|
memoizeWithTTLAsync
|
|
104
|
-
} from "./chunk-
|
|
123
|
+
} from "./chunk-1thgdca1.js";
|
|
105
124
|
import {
|
|
106
125
|
execFileNoThrow,
|
|
107
126
|
execFileNoThrowWithCwd,
|
|
108
127
|
execSyncWithDefaults_DEPRECATED,
|
|
109
|
-
execa,
|
|
110
|
-
execaSync,
|
|
111
128
|
init_execFileNoThrow,
|
|
112
|
-
init_execFileNoThrowPortable
|
|
113
|
-
|
|
114
|
-
|
|
129
|
+
init_execFileNoThrowPortable
|
|
130
|
+
} from "./chunk-yw79dz62.js";
|
|
131
|
+
import {
|
|
132
|
+
getCwd,
|
|
133
|
+
init_cwd
|
|
134
|
+
} from "./chunk-b81hd3m6.js";
|
|
115
135
|
import {
|
|
116
136
|
getEssentialTrafficOnlyReason,
|
|
117
137
|
init_log,
|
|
@@ -119,13 +139,13 @@ import {
|
|
|
119
139
|
isEssentialTrafficOnly,
|
|
120
140
|
isTelemetryDisabled,
|
|
121
141
|
logError
|
|
122
|
-
} from "./chunk-
|
|
142
|
+
} from "./chunk-61ahbn23.js";
|
|
123
143
|
import {
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
144
|
+
execa,
|
|
145
|
+
execaSync,
|
|
146
|
+
init_execa
|
|
147
|
+
} from "./chunk-5z28bqne.js";
|
|
127
148
|
import {
|
|
128
|
-
ConfigParseError,
|
|
129
149
|
_assignValue_default,
|
|
130
150
|
_baseAssignValue_default,
|
|
131
151
|
_cloneBuffer_default,
|
|
@@ -137,8 +157,6 @@ import {
|
|
|
137
157
|
_getPrototype_default,
|
|
138
158
|
_initCloneObject_default,
|
|
139
159
|
clone,
|
|
140
|
-
errorMessage,
|
|
141
|
-
getErrnoCode,
|
|
142
160
|
getFsImplementation,
|
|
143
161
|
init__assignValue,
|
|
144
162
|
init__baseAssignValue,
|
|
@@ -153,13 +171,10 @@ import {
|
|
|
153
171
|
init_cleanupRegistry,
|
|
154
172
|
init_cloneDeep,
|
|
155
173
|
init_debug,
|
|
156
|
-
init_errors,
|
|
157
174
|
init_fsOperations,
|
|
158
175
|
init_keysIn,
|
|
159
176
|
init_slowOperations,
|
|
160
177
|
isDebugToStdErr,
|
|
161
|
-
isENOENT,
|
|
162
|
-
isFsInaccessible,
|
|
163
178
|
jsonParse,
|
|
164
179
|
jsonStringify,
|
|
165
180
|
keysIn_default,
|
|
@@ -167,9 +182,17 @@ import {
|
|
|
167
182
|
logForDebugging,
|
|
168
183
|
registerCleanup,
|
|
169
184
|
safeResolvePath,
|
|
170
|
-
toError,
|
|
171
185
|
writeFileSync_DEPRECATED
|
|
172
|
-
} from "./chunk-
|
|
186
|
+
} from "./chunk-hcgkak1j.js";
|
|
187
|
+
import {
|
|
188
|
+
ConfigParseError,
|
|
189
|
+
errorMessage,
|
|
190
|
+
getErrnoCode,
|
|
191
|
+
init_errors,
|
|
192
|
+
isENOENT,
|
|
193
|
+
isFsInaccessible,
|
|
194
|
+
toError
|
|
195
|
+
} from "./chunk-z6e5jp2w.js";
|
|
173
196
|
import {
|
|
174
197
|
getAWSRegion,
|
|
175
198
|
getClaudeConfigHomeDir,
|
|
@@ -179,7 +202,7 @@ import {
|
|
|
179
202
|
isEnvDefinedFalsy,
|
|
180
203
|
isEnvTruthy,
|
|
181
204
|
isRunningOnHomespace
|
|
182
|
-
} from "./chunk-
|
|
205
|
+
} from "./chunk-jaaxk89e.js";
|
|
183
206
|
import {
|
|
184
207
|
_Stack_default,
|
|
185
208
|
_arrayMap_default,
|
|
@@ -226,7 +249,6 @@ import {
|
|
|
226
249
|
init_isArray,
|
|
227
250
|
init_isArrayLike,
|
|
228
251
|
init_isBuffer,
|
|
229
|
-
init_isObjectLike,
|
|
230
252
|
init_isTypedArray,
|
|
231
253
|
init_settingsCache,
|
|
232
254
|
init_signal,
|
|
@@ -235,7 +257,6 @@ import {
|
|
|
235
257
|
isArrayLike_default,
|
|
236
258
|
isArray_default,
|
|
237
259
|
isBuffer_default,
|
|
238
|
-
isObjectLike_default,
|
|
239
260
|
isTypedArray_default,
|
|
240
261
|
preferThirdPartyAuthentication,
|
|
241
262
|
resetSettingsCache,
|
|
@@ -246,19 +267,25 @@ import {
|
|
|
246
267
|
setModelStrings,
|
|
247
268
|
setOauthTokenFromFd,
|
|
248
269
|
setSessionSettingsCache
|
|
249
|
-
} from "./chunk-
|
|
270
|
+
} from "./chunk-h4b85amj.js";
|
|
271
|
+
import {
|
|
272
|
+
init_isObjectLike,
|
|
273
|
+
isObjectLike_default
|
|
274
|
+
} from "./chunk-07069jq1.js";
|
|
250
275
|
import {
|
|
251
|
-
_baseGetTag_default,
|
|
252
276
|
eq_default,
|
|
253
|
-
init__baseGetTag,
|
|
254
277
|
init_eq,
|
|
255
278
|
init_isFunction,
|
|
256
|
-
init_isObject,
|
|
257
279
|
init_memoize,
|
|
258
280
|
isFunction_default,
|
|
259
|
-
isObject_default,
|
|
260
281
|
memoize_default
|
|
261
|
-
} from "./chunk-
|
|
282
|
+
} from "./chunk-vf612n57.js";
|
|
283
|
+
import {
|
|
284
|
+
_baseGetTag_default,
|
|
285
|
+
init__baseGetTag,
|
|
286
|
+
init_isObject,
|
|
287
|
+
isObject_default
|
|
288
|
+
} from "./chunk-d4mdda98.js";
|
|
262
289
|
import {
|
|
263
290
|
init_sdk
|
|
264
291
|
} from "./chunk-4g3v8y12.js";
|
|
@@ -268,510 +295,16 @@ import {
|
|
|
268
295
|
import {
|
|
269
296
|
axios_default,
|
|
270
297
|
init_axios
|
|
271
|
-
} from "./chunk-
|
|
298
|
+
} from "./chunk-nh3cd07f.js";
|
|
272
299
|
import {
|
|
300
|
+
__commonJS,
|
|
273
301
|
__esm,
|
|
274
302
|
__export,
|
|
275
303
|
__require,
|
|
304
|
+
__toCommonJS,
|
|
276
305
|
__toESM
|
|
277
306
|
} from "./chunk-qp2qdcda.js";
|
|
278
307
|
|
|
279
|
-
// node_modules/.bun/chalk@5.6.2/node_modules/chalk/source/vendor/ansi-styles/index.js
|
|
280
|
-
function assembleStyles() {
|
|
281
|
-
const codes = new Map;
|
|
282
|
-
for (const [groupName, group] of Object.entries(styles)) {
|
|
283
|
-
for (const [styleName, style] of Object.entries(group)) {
|
|
284
|
-
styles[styleName] = {
|
|
285
|
-
open: `\x1B[${style[0]}m`,
|
|
286
|
-
close: `\x1B[${style[1]}m`
|
|
287
|
-
};
|
|
288
|
-
group[styleName] = styles[styleName];
|
|
289
|
-
codes.set(style[0], style[1]);
|
|
290
|
-
}
|
|
291
|
-
Object.defineProperty(styles, groupName, {
|
|
292
|
-
value: group,
|
|
293
|
-
enumerable: false
|
|
294
|
-
});
|
|
295
|
-
}
|
|
296
|
-
Object.defineProperty(styles, "codes", {
|
|
297
|
-
value: codes,
|
|
298
|
-
enumerable: false
|
|
299
|
-
});
|
|
300
|
-
styles.color.close = "\x1B[39m";
|
|
301
|
-
styles.bgColor.close = "\x1B[49m";
|
|
302
|
-
styles.color.ansi = wrapAnsi16();
|
|
303
|
-
styles.color.ansi256 = wrapAnsi256();
|
|
304
|
-
styles.color.ansi16m = wrapAnsi16m();
|
|
305
|
-
styles.bgColor.ansi = wrapAnsi16(ANSI_BACKGROUND_OFFSET);
|
|
306
|
-
styles.bgColor.ansi256 = wrapAnsi256(ANSI_BACKGROUND_OFFSET);
|
|
307
|
-
styles.bgColor.ansi16m = wrapAnsi16m(ANSI_BACKGROUND_OFFSET);
|
|
308
|
-
Object.defineProperties(styles, {
|
|
309
|
-
rgbToAnsi256: {
|
|
310
|
-
value(red, green, blue) {
|
|
311
|
-
if (red === green && green === blue) {
|
|
312
|
-
if (red < 8) {
|
|
313
|
-
return 16;
|
|
314
|
-
}
|
|
315
|
-
if (red > 248) {
|
|
316
|
-
return 231;
|
|
317
|
-
}
|
|
318
|
-
return Math.round((red - 8) / 247 * 24) + 232;
|
|
319
|
-
}
|
|
320
|
-
return 16 + 36 * Math.round(red / 255 * 5) + 6 * Math.round(green / 255 * 5) + Math.round(blue / 255 * 5);
|
|
321
|
-
},
|
|
322
|
-
enumerable: false
|
|
323
|
-
},
|
|
324
|
-
hexToRgb: {
|
|
325
|
-
value(hex) {
|
|
326
|
-
const matches = /[a-f\d]{6}|[a-f\d]{3}/i.exec(hex.toString(16));
|
|
327
|
-
if (!matches) {
|
|
328
|
-
return [0, 0, 0];
|
|
329
|
-
}
|
|
330
|
-
let [colorString] = matches;
|
|
331
|
-
if (colorString.length === 3) {
|
|
332
|
-
colorString = [...colorString].map((character) => character + character).join("");
|
|
333
|
-
}
|
|
334
|
-
const integer = Number.parseInt(colorString, 16);
|
|
335
|
-
return [
|
|
336
|
-
integer >> 16 & 255,
|
|
337
|
-
integer >> 8 & 255,
|
|
338
|
-
integer & 255
|
|
339
|
-
];
|
|
340
|
-
},
|
|
341
|
-
enumerable: false
|
|
342
|
-
},
|
|
343
|
-
hexToAnsi256: {
|
|
344
|
-
value: (hex) => styles.rgbToAnsi256(...styles.hexToRgb(hex)),
|
|
345
|
-
enumerable: false
|
|
346
|
-
},
|
|
347
|
-
ansi256ToAnsi: {
|
|
348
|
-
value(code) {
|
|
349
|
-
if (code < 8) {
|
|
350
|
-
return 30 + code;
|
|
351
|
-
}
|
|
352
|
-
if (code < 16) {
|
|
353
|
-
return 90 + (code - 8);
|
|
354
|
-
}
|
|
355
|
-
let red;
|
|
356
|
-
let green;
|
|
357
|
-
let blue;
|
|
358
|
-
if (code >= 232) {
|
|
359
|
-
red = ((code - 232) * 10 + 8) / 255;
|
|
360
|
-
green = red;
|
|
361
|
-
blue = red;
|
|
362
|
-
} else {
|
|
363
|
-
code -= 16;
|
|
364
|
-
const remainder = code % 36;
|
|
365
|
-
red = Math.floor(code / 36) / 5;
|
|
366
|
-
green = Math.floor(remainder / 6) / 5;
|
|
367
|
-
blue = remainder % 6 / 5;
|
|
368
|
-
}
|
|
369
|
-
const value = Math.max(red, green, blue) * 2;
|
|
370
|
-
if (value === 0) {
|
|
371
|
-
return 30;
|
|
372
|
-
}
|
|
373
|
-
let result = 30 + (Math.round(blue) << 2 | Math.round(green) << 1 | Math.round(red));
|
|
374
|
-
if (value === 2) {
|
|
375
|
-
result += 60;
|
|
376
|
-
}
|
|
377
|
-
return result;
|
|
378
|
-
},
|
|
379
|
-
enumerable: false
|
|
380
|
-
},
|
|
381
|
-
rgbToAnsi: {
|
|
382
|
-
value: (red, green, blue) => styles.ansi256ToAnsi(styles.rgbToAnsi256(red, green, blue)),
|
|
383
|
-
enumerable: false
|
|
384
|
-
},
|
|
385
|
-
hexToAnsi: {
|
|
386
|
-
value: (hex) => styles.ansi256ToAnsi(styles.hexToAnsi256(hex)),
|
|
387
|
-
enumerable: false
|
|
388
|
-
}
|
|
389
|
-
});
|
|
390
|
-
return styles;
|
|
391
|
-
}
|
|
392
|
-
var ANSI_BACKGROUND_OFFSET = 10, wrapAnsi16 = (offset = 0) => (code) => `\x1B[${code + offset}m`, wrapAnsi256 = (offset = 0) => (code) => `\x1B[${38 + offset};5;${code}m`, wrapAnsi16m = (offset = 0) => (red, green, blue) => `\x1B[${38 + offset};2;${red};${green};${blue}m`, styles, modifierNames, foregroundColorNames, backgroundColorNames, colorNames, ansiStyles, ansi_styles_default;
|
|
393
|
-
var init_ansi_styles = __esm(() => {
|
|
394
|
-
styles = {
|
|
395
|
-
modifier: {
|
|
396
|
-
reset: [0, 0],
|
|
397
|
-
bold: [1, 22],
|
|
398
|
-
dim: [2, 22],
|
|
399
|
-
italic: [3, 23],
|
|
400
|
-
underline: [4, 24],
|
|
401
|
-
overline: [53, 55],
|
|
402
|
-
inverse: [7, 27],
|
|
403
|
-
hidden: [8, 28],
|
|
404
|
-
strikethrough: [9, 29]
|
|
405
|
-
},
|
|
406
|
-
color: {
|
|
407
|
-
black: [30, 39],
|
|
408
|
-
red: [31, 39],
|
|
409
|
-
green: [32, 39],
|
|
410
|
-
yellow: [33, 39],
|
|
411
|
-
blue: [34, 39],
|
|
412
|
-
magenta: [35, 39],
|
|
413
|
-
cyan: [36, 39],
|
|
414
|
-
white: [37, 39],
|
|
415
|
-
blackBright: [90, 39],
|
|
416
|
-
gray: [90, 39],
|
|
417
|
-
grey: [90, 39],
|
|
418
|
-
redBright: [91, 39],
|
|
419
|
-
greenBright: [92, 39],
|
|
420
|
-
yellowBright: [93, 39],
|
|
421
|
-
blueBright: [94, 39],
|
|
422
|
-
magentaBright: [95, 39],
|
|
423
|
-
cyanBright: [96, 39],
|
|
424
|
-
whiteBright: [97, 39]
|
|
425
|
-
},
|
|
426
|
-
bgColor: {
|
|
427
|
-
bgBlack: [40, 49],
|
|
428
|
-
bgRed: [41, 49],
|
|
429
|
-
bgGreen: [42, 49],
|
|
430
|
-
bgYellow: [43, 49],
|
|
431
|
-
bgBlue: [44, 49],
|
|
432
|
-
bgMagenta: [45, 49],
|
|
433
|
-
bgCyan: [46, 49],
|
|
434
|
-
bgWhite: [47, 49],
|
|
435
|
-
bgBlackBright: [100, 49],
|
|
436
|
-
bgGray: [100, 49],
|
|
437
|
-
bgGrey: [100, 49],
|
|
438
|
-
bgRedBright: [101, 49],
|
|
439
|
-
bgGreenBright: [102, 49],
|
|
440
|
-
bgYellowBright: [103, 49],
|
|
441
|
-
bgBlueBright: [104, 49],
|
|
442
|
-
bgMagentaBright: [105, 49],
|
|
443
|
-
bgCyanBright: [106, 49],
|
|
444
|
-
bgWhiteBright: [107, 49]
|
|
445
|
-
}
|
|
446
|
-
};
|
|
447
|
-
modifierNames = Object.keys(styles.modifier);
|
|
448
|
-
foregroundColorNames = Object.keys(styles.color);
|
|
449
|
-
backgroundColorNames = Object.keys(styles.bgColor);
|
|
450
|
-
colorNames = [...foregroundColorNames, ...backgroundColorNames];
|
|
451
|
-
ansiStyles = assembleStyles();
|
|
452
|
-
ansi_styles_default = ansiStyles;
|
|
453
|
-
});
|
|
454
|
-
|
|
455
|
-
// node_modules/.bun/chalk@5.6.2/node_modules/chalk/source/vendor/supports-color/index.js
|
|
456
|
-
import process2 from "process";
|
|
457
|
-
import os from "os";
|
|
458
|
-
import tty from "tty";
|
|
459
|
-
function hasFlag(flag, argv = globalThis.Deno ? globalThis.Deno.args : process2.argv) {
|
|
460
|
-
const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
|
|
461
|
-
const position = argv.indexOf(prefix + flag);
|
|
462
|
-
const terminatorPosition = argv.indexOf("--");
|
|
463
|
-
return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
|
|
464
|
-
}
|
|
465
|
-
function envForceColor() {
|
|
466
|
-
if ("FORCE_COLOR" in env2) {
|
|
467
|
-
if (env2.FORCE_COLOR === "true") {
|
|
468
|
-
return 1;
|
|
469
|
-
}
|
|
470
|
-
if (env2.FORCE_COLOR === "false") {
|
|
471
|
-
return 0;
|
|
472
|
-
}
|
|
473
|
-
return env2.FORCE_COLOR.length === 0 ? 1 : Math.min(Number.parseInt(env2.FORCE_COLOR, 10), 3);
|
|
474
|
-
}
|
|
475
|
-
}
|
|
476
|
-
function translateLevel(level) {
|
|
477
|
-
if (level === 0) {
|
|
478
|
-
return false;
|
|
479
|
-
}
|
|
480
|
-
return {
|
|
481
|
-
level,
|
|
482
|
-
hasBasic: true,
|
|
483
|
-
has256: level >= 2,
|
|
484
|
-
has16m: level >= 3
|
|
485
|
-
};
|
|
486
|
-
}
|
|
487
|
-
function _supportsColor(haveStream, { streamIsTTY, sniffFlags = true } = {}) {
|
|
488
|
-
const noFlagForceColor = envForceColor();
|
|
489
|
-
if (noFlagForceColor !== undefined) {
|
|
490
|
-
flagForceColor = noFlagForceColor;
|
|
491
|
-
}
|
|
492
|
-
const forceColor = sniffFlags ? flagForceColor : noFlagForceColor;
|
|
493
|
-
if (forceColor === 0) {
|
|
494
|
-
return 0;
|
|
495
|
-
}
|
|
496
|
-
if (sniffFlags) {
|
|
497
|
-
if (hasFlag("color=16m") || hasFlag("color=full") || hasFlag("color=truecolor")) {
|
|
498
|
-
return 3;
|
|
499
|
-
}
|
|
500
|
-
if (hasFlag("color=256")) {
|
|
501
|
-
return 2;
|
|
502
|
-
}
|
|
503
|
-
}
|
|
504
|
-
if ("TF_BUILD" in env2 && "AGENT_NAME" in env2) {
|
|
505
|
-
return 1;
|
|
506
|
-
}
|
|
507
|
-
if (haveStream && !streamIsTTY && forceColor === undefined) {
|
|
508
|
-
return 0;
|
|
509
|
-
}
|
|
510
|
-
const min = forceColor || 0;
|
|
511
|
-
if (env2.TERM === "dumb") {
|
|
512
|
-
return min;
|
|
513
|
-
}
|
|
514
|
-
if (process2.platform === "win32") {
|
|
515
|
-
const osRelease = os.release().split(".");
|
|
516
|
-
if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
|
|
517
|
-
return Number(osRelease[2]) >= 14931 ? 3 : 2;
|
|
518
|
-
}
|
|
519
|
-
return 1;
|
|
520
|
-
}
|
|
521
|
-
if ("CI" in env2) {
|
|
522
|
-
if (["GITHUB_ACTIONS", "GITEA_ACTIONS", "CIRCLECI"].some((key) => (key in env2))) {
|
|
523
|
-
return 3;
|
|
524
|
-
}
|
|
525
|
-
if (["TRAVIS", "APPVEYOR", "GITLAB_CI", "BUILDKITE", "DRONE"].some((sign) => (sign in env2)) || env2.CI_NAME === "codeship") {
|
|
526
|
-
return 1;
|
|
527
|
-
}
|
|
528
|
-
return min;
|
|
529
|
-
}
|
|
530
|
-
if ("TEAMCITY_VERSION" in env2) {
|
|
531
|
-
return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env2.TEAMCITY_VERSION) ? 1 : 0;
|
|
532
|
-
}
|
|
533
|
-
if (env2.COLORTERM === "truecolor") {
|
|
534
|
-
return 3;
|
|
535
|
-
}
|
|
536
|
-
if (env2.TERM === "xterm-kitty") {
|
|
537
|
-
return 3;
|
|
538
|
-
}
|
|
539
|
-
if (env2.TERM === "xterm-ghostty") {
|
|
540
|
-
return 3;
|
|
541
|
-
}
|
|
542
|
-
if (env2.TERM === "wezterm") {
|
|
543
|
-
return 3;
|
|
544
|
-
}
|
|
545
|
-
if ("TERM_PROGRAM" in env2) {
|
|
546
|
-
const version = Number.parseInt((env2.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
|
|
547
|
-
switch (env2.TERM_PROGRAM) {
|
|
548
|
-
case "iTerm.app": {
|
|
549
|
-
return version >= 3 ? 3 : 2;
|
|
550
|
-
}
|
|
551
|
-
case "Apple_Terminal": {
|
|
552
|
-
return 2;
|
|
553
|
-
}
|
|
554
|
-
}
|
|
555
|
-
}
|
|
556
|
-
if (/-256(color)?$/i.test(env2.TERM)) {
|
|
557
|
-
return 2;
|
|
558
|
-
}
|
|
559
|
-
if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env2.TERM)) {
|
|
560
|
-
return 1;
|
|
561
|
-
}
|
|
562
|
-
if ("COLORTERM" in env2) {
|
|
563
|
-
return 1;
|
|
564
|
-
}
|
|
565
|
-
return min;
|
|
566
|
-
}
|
|
567
|
-
function createSupportsColor(stream, options = {}) {
|
|
568
|
-
const level = _supportsColor(stream, {
|
|
569
|
-
streamIsTTY: stream && stream.isTTY,
|
|
570
|
-
...options
|
|
571
|
-
});
|
|
572
|
-
return translateLevel(level);
|
|
573
|
-
}
|
|
574
|
-
var env2, flagForceColor, supportsColor, supports_color_default;
|
|
575
|
-
var init_supports_color = __esm(() => {
|
|
576
|
-
({ env: env2 } = process2);
|
|
577
|
-
if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false") || hasFlag("color=never")) {
|
|
578
|
-
flagForceColor = 0;
|
|
579
|
-
} else if (hasFlag("color") || hasFlag("colors") || hasFlag("color=true") || hasFlag("color=always")) {
|
|
580
|
-
flagForceColor = 1;
|
|
581
|
-
}
|
|
582
|
-
supportsColor = {
|
|
583
|
-
stdout: createSupportsColor({ isTTY: tty.isatty(1) }),
|
|
584
|
-
stderr: createSupportsColor({ isTTY: tty.isatty(2) })
|
|
585
|
-
};
|
|
586
|
-
supports_color_default = supportsColor;
|
|
587
|
-
});
|
|
588
|
-
|
|
589
|
-
// node_modules/.bun/chalk@5.6.2/node_modules/chalk/source/utilities.js
|
|
590
|
-
function stringReplaceAll(string, substring, replacer) {
|
|
591
|
-
let index = string.indexOf(substring);
|
|
592
|
-
if (index === -1) {
|
|
593
|
-
return string;
|
|
594
|
-
}
|
|
595
|
-
const substringLength = substring.length;
|
|
596
|
-
let endIndex = 0;
|
|
597
|
-
let returnValue = "";
|
|
598
|
-
do {
|
|
599
|
-
returnValue += string.slice(endIndex, index) + substring + replacer;
|
|
600
|
-
endIndex = index + substringLength;
|
|
601
|
-
index = string.indexOf(substring, endIndex);
|
|
602
|
-
} while (index !== -1);
|
|
603
|
-
returnValue += string.slice(endIndex);
|
|
604
|
-
return returnValue;
|
|
605
|
-
}
|
|
606
|
-
function stringEncaseCRLFWithFirstIndex(string, prefix, postfix, index) {
|
|
607
|
-
let endIndex = 0;
|
|
608
|
-
let returnValue = "";
|
|
609
|
-
do {
|
|
610
|
-
const gotCR = string[index - 1] === "\r";
|
|
611
|
-
returnValue += string.slice(endIndex, gotCR ? index - 1 : index) + prefix + (gotCR ? `\r
|
|
612
|
-
` : `
|
|
613
|
-
`) + postfix;
|
|
614
|
-
endIndex = index + 1;
|
|
615
|
-
index = string.indexOf(`
|
|
616
|
-
`, endIndex);
|
|
617
|
-
} while (index !== -1);
|
|
618
|
-
returnValue += string.slice(endIndex);
|
|
619
|
-
return returnValue;
|
|
620
|
-
}
|
|
621
|
-
var init_utilities = () => {};
|
|
622
|
-
|
|
623
|
-
// node_modules/.bun/chalk@5.6.2/node_modules/chalk/source/index.js
|
|
624
|
-
class Chalk {
|
|
625
|
-
constructor(options) {
|
|
626
|
-
return chalkFactory(options);
|
|
627
|
-
}
|
|
628
|
-
}
|
|
629
|
-
function createChalk(options) {
|
|
630
|
-
return chalkFactory(options);
|
|
631
|
-
}
|
|
632
|
-
var stdoutColor, stderrColor, GENERATOR, STYLER, IS_EMPTY, levelMapping, styles2, applyOptions = (object, options = {}) => {
|
|
633
|
-
if (options.level && !(Number.isInteger(options.level) && options.level >= 0 && options.level <= 3)) {
|
|
634
|
-
throw new Error("The `level` option should be an integer from 0 to 3");
|
|
635
|
-
}
|
|
636
|
-
const colorLevel = stdoutColor ? stdoutColor.level : 0;
|
|
637
|
-
object.level = options.level === undefined ? colorLevel : options.level;
|
|
638
|
-
}, chalkFactory = (options) => {
|
|
639
|
-
const chalk = (...strings) => strings.join(" ");
|
|
640
|
-
applyOptions(chalk, options);
|
|
641
|
-
Object.setPrototypeOf(chalk, createChalk.prototype);
|
|
642
|
-
return chalk;
|
|
643
|
-
}, getModelAnsi = (model, level, type, ...arguments_) => {
|
|
644
|
-
if (model === "rgb") {
|
|
645
|
-
if (level === "ansi16m") {
|
|
646
|
-
return ansi_styles_default[type].ansi16m(...arguments_);
|
|
647
|
-
}
|
|
648
|
-
if (level === "ansi256") {
|
|
649
|
-
return ansi_styles_default[type].ansi256(ansi_styles_default.rgbToAnsi256(...arguments_));
|
|
650
|
-
}
|
|
651
|
-
return ansi_styles_default[type].ansi(ansi_styles_default.rgbToAnsi(...arguments_));
|
|
652
|
-
}
|
|
653
|
-
if (model === "hex") {
|
|
654
|
-
return getModelAnsi("rgb", level, type, ...ansi_styles_default.hexToRgb(...arguments_));
|
|
655
|
-
}
|
|
656
|
-
return ansi_styles_default[type][model](...arguments_);
|
|
657
|
-
}, usedModels, proto, createStyler = (open, close, parent) => {
|
|
658
|
-
let openAll;
|
|
659
|
-
let closeAll;
|
|
660
|
-
if (parent === undefined) {
|
|
661
|
-
openAll = open;
|
|
662
|
-
closeAll = close;
|
|
663
|
-
} else {
|
|
664
|
-
openAll = parent.openAll + open;
|
|
665
|
-
closeAll = close + parent.closeAll;
|
|
666
|
-
}
|
|
667
|
-
return {
|
|
668
|
-
open,
|
|
669
|
-
close,
|
|
670
|
-
openAll,
|
|
671
|
-
closeAll,
|
|
672
|
-
parent
|
|
673
|
-
};
|
|
674
|
-
}, createBuilder = (self, _styler, _isEmpty) => {
|
|
675
|
-
const builder = (...arguments_) => applyStyle(builder, arguments_.length === 1 ? "" + arguments_[0] : arguments_.join(" "));
|
|
676
|
-
Object.setPrototypeOf(builder, proto);
|
|
677
|
-
builder[GENERATOR] = self;
|
|
678
|
-
builder[STYLER] = _styler;
|
|
679
|
-
builder[IS_EMPTY] = _isEmpty;
|
|
680
|
-
return builder;
|
|
681
|
-
}, applyStyle = (self, string) => {
|
|
682
|
-
if (self.level <= 0 || !string) {
|
|
683
|
-
return self[IS_EMPTY] ? "" : string;
|
|
684
|
-
}
|
|
685
|
-
let styler = self[STYLER];
|
|
686
|
-
if (styler === undefined) {
|
|
687
|
-
return string;
|
|
688
|
-
}
|
|
689
|
-
const { openAll, closeAll } = styler;
|
|
690
|
-
if (string.includes("\x1B")) {
|
|
691
|
-
while (styler !== undefined) {
|
|
692
|
-
string = stringReplaceAll(string, styler.close, styler.open);
|
|
693
|
-
styler = styler.parent;
|
|
694
|
-
}
|
|
695
|
-
}
|
|
696
|
-
const lfIndex = string.indexOf(`
|
|
697
|
-
`);
|
|
698
|
-
if (lfIndex !== -1) {
|
|
699
|
-
string = stringEncaseCRLFWithFirstIndex(string, closeAll, openAll, lfIndex);
|
|
700
|
-
}
|
|
701
|
-
return openAll + string + closeAll;
|
|
702
|
-
}, chalk, chalkStderr, source_default;
|
|
703
|
-
var init_source = __esm(() => {
|
|
704
|
-
init_ansi_styles();
|
|
705
|
-
init_supports_color();
|
|
706
|
-
init_utilities();
|
|
707
|
-
({ stdout: stdoutColor, stderr: stderrColor } = supports_color_default);
|
|
708
|
-
GENERATOR = Symbol("GENERATOR");
|
|
709
|
-
STYLER = Symbol("STYLER");
|
|
710
|
-
IS_EMPTY = Symbol("IS_EMPTY");
|
|
711
|
-
levelMapping = [
|
|
712
|
-
"ansi",
|
|
713
|
-
"ansi",
|
|
714
|
-
"ansi256",
|
|
715
|
-
"ansi16m"
|
|
716
|
-
];
|
|
717
|
-
styles2 = Object.create(null);
|
|
718
|
-
Object.setPrototypeOf(createChalk.prototype, Function.prototype);
|
|
719
|
-
for (const [styleName, style] of Object.entries(ansi_styles_default)) {
|
|
720
|
-
styles2[styleName] = {
|
|
721
|
-
get() {
|
|
722
|
-
const builder = createBuilder(this, createStyler(style.open, style.close, this[STYLER]), this[IS_EMPTY]);
|
|
723
|
-
Object.defineProperty(this, styleName, { value: builder });
|
|
724
|
-
return builder;
|
|
725
|
-
}
|
|
726
|
-
};
|
|
727
|
-
}
|
|
728
|
-
styles2.visible = {
|
|
729
|
-
get() {
|
|
730
|
-
const builder = createBuilder(this, this[STYLER], true);
|
|
731
|
-
Object.defineProperty(this, "visible", { value: builder });
|
|
732
|
-
return builder;
|
|
733
|
-
}
|
|
734
|
-
};
|
|
735
|
-
usedModels = ["rgb", "hex", "ansi256"];
|
|
736
|
-
for (const model of usedModels) {
|
|
737
|
-
styles2[model] = {
|
|
738
|
-
get() {
|
|
739
|
-
const { level } = this;
|
|
740
|
-
return function(...arguments_) {
|
|
741
|
-
const styler = createStyler(getModelAnsi(model, levelMapping[level], "color", ...arguments_), ansi_styles_default.color.close, this[STYLER]);
|
|
742
|
-
return createBuilder(this, styler, this[IS_EMPTY]);
|
|
743
|
-
};
|
|
744
|
-
}
|
|
745
|
-
};
|
|
746
|
-
const bgModel = "bg" + model[0].toUpperCase() + model.slice(1);
|
|
747
|
-
styles2[bgModel] = {
|
|
748
|
-
get() {
|
|
749
|
-
const { level } = this;
|
|
750
|
-
return function(...arguments_) {
|
|
751
|
-
const styler = createStyler(getModelAnsi(model, levelMapping[level], "bgColor", ...arguments_), ansi_styles_default.bgColor.close, this[STYLER]);
|
|
752
|
-
return createBuilder(this, styler, this[IS_EMPTY]);
|
|
753
|
-
};
|
|
754
|
-
}
|
|
755
|
-
};
|
|
756
|
-
}
|
|
757
|
-
proto = Object.defineProperties(() => {}, {
|
|
758
|
-
...styles2,
|
|
759
|
-
level: {
|
|
760
|
-
enumerable: true,
|
|
761
|
-
get() {
|
|
762
|
-
return this[GENERATOR].level;
|
|
763
|
-
},
|
|
764
|
-
set(level) {
|
|
765
|
-
this[GENERATOR].level = level;
|
|
766
|
-
}
|
|
767
|
-
}
|
|
768
|
-
});
|
|
769
|
-
Object.defineProperties(createChalk.prototype, styles2);
|
|
770
|
-
chalk = createChalk();
|
|
771
|
-
chalkStderr = createChalk({ level: stderrColor ? stderrColor.level : 0 });
|
|
772
|
-
source_default = chalk;
|
|
773
|
-
});
|
|
774
|
-
|
|
775
308
|
// src/utils/sequential.ts
|
|
776
309
|
function sequential(fn) {
|
|
777
310
|
const queue = [];
|
|
@@ -860,11 +393,11 @@ function isPlainObject(value) {
|
|
|
860
393
|
if (!isObjectLike_default(value) || _baseGetTag_default(value) != objectTag) {
|
|
861
394
|
return false;
|
|
862
395
|
}
|
|
863
|
-
var
|
|
864
|
-
if (
|
|
396
|
+
var proto = _getPrototype_default(value);
|
|
397
|
+
if (proto === null) {
|
|
865
398
|
return true;
|
|
866
399
|
}
|
|
867
|
-
var Ctor = hasOwnProperty.call(
|
|
400
|
+
var Ctor = hasOwnProperty.call(proto, "constructor") && proto.constructor;
|
|
868
401
|
return typeof Ctor == "function" && Ctor instanceof Ctor && funcToString.call(Ctor) == objectCtorString;
|
|
869
402
|
}
|
|
870
403
|
var objectTag = "[object Object]", funcProto, objectProto, funcToString, hasOwnProperty, objectCtorString, isPlainObject_default;
|
|
@@ -4260,6 +3793,9 @@ var init_lodash = __esm(() => {
|
|
|
4260
3793
|
|
|
4261
3794
|
// src/constants/keys.ts
|
|
4262
3795
|
function getGrowthBookClientKey() {
|
|
3796
|
+
const adapterKey = process.env.CLAUDE_GB_ADAPTER_KEY;
|
|
3797
|
+
if (adapterKey)
|
|
3798
|
+
return adapterKey;
|
|
4263
3799
|
return process.env.USER_TYPE === "ant" ? isEnvTruthy(process.env.ENABLE_GROWTHBOOK_DEV) ? "sdk-yZQvlplybuXjYh6L" : "sdk-xRVcrliHIlrg4og4" : "sdk-zAZezfDKGoZuXXKe";
|
|
4264
3800
|
}
|
|
4265
3801
|
var init_keys = __esm(() => {
|
|
@@ -4364,6 +3900,12 @@ function isAutoMemoryEnabled() {
|
|
|
4364
3900
|
}
|
|
4365
3901
|
return true;
|
|
4366
3902
|
}
|
|
3903
|
+
function isExtractModeActive() {
|
|
3904
|
+
if (!getFeatureValue_CACHED_MAY_BE_STALE("tengu_passport_quail", false)) {
|
|
3905
|
+
return false;
|
|
3906
|
+
}
|
|
3907
|
+
return !getIsNonInteractiveSession() || getFeatureValue_CACHED_MAY_BE_STALE("tengu_slate_thimble", false);
|
|
3908
|
+
}
|
|
4367
3909
|
function getMemoryBaseDir() {
|
|
4368
3910
|
if (process.env.CLAUDE_CODE_REMOTE_MEMORY_DIR) {
|
|
4369
3911
|
return process.env.CLAUDE_CODE_REMOTE_MEMORY_DIR;
|
|
@@ -5091,6 +4633,9 @@ function getAutoUpdaterDisabledReason() {
|
|
|
5091
4633
|
if (true) {
|
|
5092
4634
|
return { type: "development" };
|
|
5093
4635
|
}
|
|
4636
|
+
if (!isEnvTruthy(process.env.ENABLE_AUTOUPDATER)) {
|
|
4637
|
+
return { type: "config" };
|
|
4638
|
+
}
|
|
5094
4639
|
if (isEnvTruthy(process.env.DISABLE_AUTOUPDATER)) {
|
|
5095
4640
|
return { type: "env", envVar: "DISABLE_AUTOUPDATER" };
|
|
5096
4641
|
}
|
|
@@ -5467,9 +5012,11 @@ var init_user = __esm(() => {
|
|
|
5467
5012
|
});
|
|
5468
5013
|
});
|
|
5469
5014
|
|
|
5470
|
-
// node_modules/.bun/@opentelemetry+api-logs@0.214.0/node_modules/@opentelemetry/api-logs/build/
|
|
5471
|
-
var
|
|
5472
|
-
|
|
5015
|
+
// node_modules/.bun/@opentelemetry+api-logs@0.214.0/node_modules/@opentelemetry/api-logs/build/src/types/LogRecord.js
|
|
5016
|
+
var require_LogRecord = __commonJS((exports) => {
|
|
5017
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5018
|
+
exports.SeverityNumber = undefined;
|
|
5019
|
+
var SeverityNumber;
|
|
5473
5020
|
(function(SeverityNumber2) {
|
|
5474
5021
|
SeverityNumber2[SeverityNumber2["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
5475
5022
|
SeverityNumber2[SeverityNumber2["TRACE"] = 1] = "TRACE";
|
|
@@ -5496,134 +5043,165 @@ var init_LogRecord = __esm(() => {
|
|
|
5496
5043
|
SeverityNumber2[SeverityNumber2["FATAL2"] = 22] = "FATAL2";
|
|
5497
5044
|
SeverityNumber2[SeverityNumber2["FATAL3"] = 23] = "FATAL3";
|
|
5498
5045
|
SeverityNumber2[SeverityNumber2["FATAL4"] = 24] = "FATAL4";
|
|
5499
|
-
})(SeverityNumber || (SeverityNumber = {}));
|
|
5046
|
+
})(SeverityNumber = exports.SeverityNumber || (exports.SeverityNumber = {}));
|
|
5500
5047
|
});
|
|
5501
5048
|
|
|
5502
|
-
// node_modules/.bun/@opentelemetry+api-logs@0.214.0/node_modules/@opentelemetry/api-logs/build/
|
|
5503
|
-
|
|
5504
|
-
|
|
5505
|
-
|
|
5506
|
-
var NOOP_LOGGER;
|
|
5507
|
-
var init_NoopLogger = __esm(() => {
|
|
5508
|
-
NOOP_LOGGER = new NoopLogger;
|
|
5509
|
-
});
|
|
5049
|
+
// node_modules/.bun/@opentelemetry+api-logs@0.214.0/node_modules/@opentelemetry/api-logs/build/src/NoopLogger.js
|
|
5050
|
+
var require_NoopLogger = __commonJS((exports) => {
|
|
5051
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5052
|
+
exports.NOOP_LOGGER = exports.NoopLogger = undefined;
|
|
5510
5053
|
|
|
5511
|
-
|
|
5512
|
-
|
|
5513
|
-
|
|
5514
|
-
|
|
5515
|
-
|
|
5516
|
-
var init_global_utils = __esm(() => {
|
|
5517
|
-
GLOBAL_LOGS_API_KEY = Symbol.for("io.opentelemetry.js.api.logs");
|
|
5518
|
-
_global = globalThis;
|
|
5054
|
+
class NoopLogger {
|
|
5055
|
+
emit(_logRecord) {}
|
|
5056
|
+
}
|
|
5057
|
+
exports.NoopLogger = NoopLogger;
|
|
5058
|
+
exports.NOOP_LOGGER = new NoopLogger;
|
|
5519
5059
|
});
|
|
5520
5060
|
|
|
5521
|
-
// node_modules/.bun/@opentelemetry+api-logs@0.214.0/node_modules/@opentelemetry/api-logs/build/
|
|
5522
|
-
|
|
5523
|
-
|
|
5524
|
-
|
|
5061
|
+
// node_modules/.bun/@opentelemetry+api-logs@0.214.0/node_modules/@opentelemetry/api-logs/build/src/internal/global-utils.js
|
|
5062
|
+
var require_global_utils = __commonJS((exports) => {
|
|
5063
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5064
|
+
exports.API_BACKWARDS_COMPATIBILITY_VERSION = exports.makeGetter = exports._global = exports.GLOBAL_LOGS_API_KEY = undefined;
|
|
5065
|
+
exports.GLOBAL_LOGS_API_KEY = Symbol.for("io.opentelemetry.js.api.logs");
|
|
5066
|
+
exports._global = globalThis;
|
|
5067
|
+
function makeGetter(requiredVersion, instance, fallback) {
|
|
5068
|
+
return (version) => version === requiredVersion ? instance : fallback;
|
|
5525
5069
|
}
|
|
5526
|
-
|
|
5527
|
-
|
|
5528
|
-
var init_NoopLoggerProvider = __esm(() => {
|
|
5529
|
-
init_NoopLogger();
|
|
5530
|
-
NOOP_LOGGER_PROVIDER = new NoopLoggerProvider;
|
|
5070
|
+
exports.makeGetter = makeGetter;
|
|
5071
|
+
exports.API_BACKWARDS_COMPATIBILITY_VERSION = 1;
|
|
5531
5072
|
});
|
|
5532
5073
|
|
|
5533
|
-
// node_modules/.bun/@opentelemetry+api-logs@0.214.0/node_modules/@opentelemetry/api-logs/build/
|
|
5534
|
-
|
|
5535
|
-
|
|
5536
|
-
|
|
5537
|
-
|
|
5538
|
-
|
|
5539
|
-
|
|
5540
|
-
|
|
5541
|
-
|
|
5542
|
-
|
|
5074
|
+
// node_modules/.bun/@opentelemetry+api-logs@0.214.0/node_modules/@opentelemetry/api-logs/build/src/NoopLoggerProvider.js
|
|
5075
|
+
var require_NoopLoggerProvider = __commonJS((exports) => {
|
|
5076
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5077
|
+
exports.NOOP_LOGGER_PROVIDER = exports.NoopLoggerProvider = undefined;
|
|
5078
|
+
var NoopLogger_1 = require_NoopLogger();
|
|
5079
|
+
|
|
5080
|
+
class NoopLoggerProvider {
|
|
5081
|
+
getLogger(_name, _version, _options) {
|
|
5082
|
+
return new NoopLogger_1.NoopLogger;
|
|
5083
|
+
}
|
|
5543
5084
|
}
|
|
5544
|
-
|
|
5545
|
-
|
|
5546
|
-
|
|
5085
|
+
exports.NoopLoggerProvider = NoopLoggerProvider;
|
|
5086
|
+
exports.NOOP_LOGGER_PROVIDER = new NoopLoggerProvider;
|
|
5087
|
+
});
|
|
5088
|
+
|
|
5089
|
+
// node_modules/.bun/@opentelemetry+api-logs@0.214.0/node_modules/@opentelemetry/api-logs/build/src/ProxyLogger.js
|
|
5090
|
+
var require_ProxyLogger = __commonJS((exports) => {
|
|
5091
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5092
|
+
exports.ProxyLogger = undefined;
|
|
5093
|
+
var NoopLogger_1 = require_NoopLogger();
|
|
5094
|
+
|
|
5095
|
+
class ProxyLogger {
|
|
5096
|
+
constructor(provider, name, version, options) {
|
|
5097
|
+
this._provider = provider;
|
|
5098
|
+
this.name = name;
|
|
5099
|
+
this.version = version;
|
|
5100
|
+
this.options = options;
|
|
5547
5101
|
}
|
|
5548
|
-
|
|
5549
|
-
|
|
5550
|
-
|
|
5102
|
+
emit(logRecord) {
|
|
5103
|
+
this._getLogger().emit(logRecord);
|
|
5104
|
+
}
|
|
5105
|
+
_getLogger() {
|
|
5106
|
+
if (this._delegate) {
|
|
5107
|
+
return this._delegate;
|
|
5108
|
+
}
|
|
5109
|
+
const logger = this._provider._getDelegateLogger(this.name, this.version, this.options);
|
|
5110
|
+
if (!logger) {
|
|
5111
|
+
return NoopLogger_1.NOOP_LOGGER;
|
|
5112
|
+
}
|
|
5113
|
+
this._delegate = logger;
|
|
5114
|
+
return this._delegate;
|
|
5551
5115
|
}
|
|
5552
|
-
this._delegate = logger;
|
|
5553
|
-
return this._delegate;
|
|
5554
5116
|
}
|
|
5555
|
-
|
|
5556
|
-
var init_ProxyLogger = __esm(() => {
|
|
5557
|
-
init_NoopLogger();
|
|
5117
|
+
exports.ProxyLogger = ProxyLogger;
|
|
5558
5118
|
});
|
|
5559
5119
|
|
|
5560
|
-
// node_modules/.bun/@opentelemetry+api-logs@0.214.0/node_modules/@opentelemetry/api-logs/build/
|
|
5561
|
-
|
|
5562
|
-
|
|
5563
|
-
|
|
5564
|
-
|
|
5565
|
-
|
|
5566
|
-
|
|
5567
|
-
|
|
5568
|
-
|
|
5569
|
-
|
|
5570
|
-
|
|
5571
|
-
|
|
5572
|
-
|
|
5573
|
-
|
|
5574
|
-
|
|
5575
|
-
|
|
5120
|
+
// node_modules/.bun/@opentelemetry+api-logs@0.214.0/node_modules/@opentelemetry/api-logs/build/src/ProxyLoggerProvider.js
|
|
5121
|
+
var require_ProxyLoggerProvider = __commonJS((exports) => {
|
|
5122
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5123
|
+
exports.ProxyLoggerProvider = undefined;
|
|
5124
|
+
var NoopLoggerProvider_1 = require_NoopLoggerProvider();
|
|
5125
|
+
var ProxyLogger_1 = require_ProxyLogger();
|
|
5126
|
+
|
|
5127
|
+
class ProxyLoggerProvider {
|
|
5128
|
+
getLogger(name, version, options) {
|
|
5129
|
+
var _a;
|
|
5130
|
+
return (_a = this._getDelegateLogger(name, version, options)) !== null && _a !== undefined ? _a : new ProxyLogger_1.ProxyLogger(this, name, version, options);
|
|
5131
|
+
}
|
|
5132
|
+
_getDelegate() {
|
|
5133
|
+
var _a;
|
|
5134
|
+
return (_a = this._delegate) !== null && _a !== undefined ? _a : NoopLoggerProvider_1.NOOP_LOGGER_PROVIDER;
|
|
5135
|
+
}
|
|
5136
|
+
_setDelegate(delegate) {
|
|
5137
|
+
this._delegate = delegate;
|
|
5138
|
+
}
|
|
5139
|
+
_getDelegateLogger(name, version, options) {
|
|
5140
|
+
var _a;
|
|
5141
|
+
return (_a = this._delegate) === null || _a === undefined ? undefined : _a.getLogger(name, version, options);
|
|
5142
|
+
}
|
|
5576
5143
|
}
|
|
5577
|
-
|
|
5578
|
-
var init_ProxyLoggerProvider = __esm(() => {
|
|
5579
|
-
init_NoopLoggerProvider();
|
|
5580
|
-
init_ProxyLogger();
|
|
5144
|
+
exports.ProxyLoggerProvider = ProxyLoggerProvider;
|
|
5581
5145
|
});
|
|
5582
5146
|
|
|
5583
|
-
// node_modules/.bun/@opentelemetry+api-logs@0.214.0/node_modules/@opentelemetry/api-logs/build/
|
|
5584
|
-
|
|
5585
|
-
|
|
5586
|
-
|
|
5587
|
-
|
|
5588
|
-
|
|
5589
|
-
|
|
5590
|
-
|
|
5147
|
+
// node_modules/.bun/@opentelemetry+api-logs@0.214.0/node_modules/@opentelemetry/api-logs/build/src/api/logs.js
|
|
5148
|
+
var require_logs = __commonJS((exports) => {
|
|
5149
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5150
|
+
exports.LogsAPI = undefined;
|
|
5151
|
+
var global_utils_1 = require_global_utils();
|
|
5152
|
+
var NoopLoggerProvider_1 = require_NoopLoggerProvider();
|
|
5153
|
+
var ProxyLoggerProvider_1 = require_ProxyLoggerProvider();
|
|
5154
|
+
|
|
5155
|
+
class LogsAPI {
|
|
5156
|
+
constructor() {
|
|
5157
|
+
this._proxyLoggerProvider = new ProxyLoggerProvider_1.ProxyLoggerProvider;
|
|
5591
5158
|
}
|
|
5592
|
-
|
|
5593
|
-
|
|
5594
|
-
|
|
5595
|
-
|
|
5596
|
-
return this.
|
|
5159
|
+
static getInstance() {
|
|
5160
|
+
if (!this._instance) {
|
|
5161
|
+
this._instance = new LogsAPI;
|
|
5162
|
+
}
|
|
5163
|
+
return this._instance;
|
|
5164
|
+
}
|
|
5165
|
+
setGlobalLoggerProvider(provider) {
|
|
5166
|
+
if (global_utils_1._global[global_utils_1.GLOBAL_LOGS_API_KEY]) {
|
|
5167
|
+
return this.getLoggerProvider();
|
|
5168
|
+
}
|
|
5169
|
+
global_utils_1._global[global_utils_1.GLOBAL_LOGS_API_KEY] = (0, global_utils_1.makeGetter)(global_utils_1.API_BACKWARDS_COMPATIBILITY_VERSION, provider, NoopLoggerProvider_1.NOOP_LOGGER_PROVIDER);
|
|
5170
|
+
this._proxyLoggerProvider._setDelegate(provider);
|
|
5171
|
+
return provider;
|
|
5172
|
+
}
|
|
5173
|
+
getLoggerProvider() {
|
|
5174
|
+
var _a, _b;
|
|
5175
|
+
return (_b = (_a = global_utils_1._global[global_utils_1.GLOBAL_LOGS_API_KEY]) === null || _a === undefined ? undefined : _a.call(global_utils_1._global, global_utils_1.API_BACKWARDS_COMPATIBILITY_VERSION)) !== null && _b !== undefined ? _b : this._proxyLoggerProvider;
|
|
5176
|
+
}
|
|
5177
|
+
getLogger(name, version, options) {
|
|
5178
|
+
return this.getLoggerProvider().getLogger(name, version, options);
|
|
5179
|
+
}
|
|
5180
|
+
disable() {
|
|
5181
|
+
delete global_utils_1._global[global_utils_1.GLOBAL_LOGS_API_KEY];
|
|
5182
|
+
this._proxyLoggerProvider = new ProxyLoggerProvider_1.ProxyLoggerProvider;
|
|
5597
5183
|
}
|
|
5598
|
-
_global[GLOBAL_LOGS_API_KEY] = makeGetter(API_BACKWARDS_COMPATIBILITY_VERSION, provider, NOOP_LOGGER_PROVIDER);
|
|
5599
|
-
this._proxyLoggerProvider._setDelegate(provider);
|
|
5600
|
-
return provider;
|
|
5601
|
-
}
|
|
5602
|
-
getLoggerProvider() {
|
|
5603
|
-
var _a, _b;
|
|
5604
|
-
return (_b = (_a = _global[GLOBAL_LOGS_API_KEY]) === null || _a === undefined ? undefined : _a.call(_global, API_BACKWARDS_COMPATIBILITY_VERSION)) !== null && _b !== undefined ? _b : this._proxyLoggerProvider;
|
|
5605
|
-
}
|
|
5606
|
-
getLogger(name, version, options) {
|
|
5607
|
-
return this.getLoggerProvider().getLogger(name, version, options);
|
|
5608
|
-
}
|
|
5609
|
-
disable() {
|
|
5610
|
-
delete _global[GLOBAL_LOGS_API_KEY];
|
|
5611
|
-
this._proxyLoggerProvider = new ProxyLoggerProvider;
|
|
5612
5184
|
}
|
|
5613
|
-
|
|
5614
|
-
var init_logs = __esm(() => {
|
|
5615
|
-
init_global_utils();
|
|
5616
|
-
init_NoopLoggerProvider();
|
|
5617
|
-
init_ProxyLoggerProvider();
|
|
5185
|
+
exports.LogsAPI = LogsAPI;
|
|
5618
5186
|
});
|
|
5619
5187
|
|
|
5620
|
-
// node_modules/.bun/@opentelemetry+api-logs@0.214.0/node_modules/@opentelemetry/api-logs/build/
|
|
5621
|
-
var
|
|
5622
|
-
|
|
5623
|
-
|
|
5624
|
-
|
|
5625
|
-
|
|
5626
|
-
|
|
5188
|
+
// node_modules/.bun/@opentelemetry+api-logs@0.214.0/node_modules/@opentelemetry/api-logs/build/src/index.js
|
|
5189
|
+
var require_src5 = __commonJS((exports) => {
|
|
5190
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5191
|
+
exports.logs = exports.NoopLogger = exports.NOOP_LOGGER = exports.SeverityNumber = undefined;
|
|
5192
|
+
var LogRecord_1 = require_LogRecord();
|
|
5193
|
+
Object.defineProperty(exports, "SeverityNumber", { enumerable: true, get: function() {
|
|
5194
|
+
return LogRecord_1.SeverityNumber;
|
|
5195
|
+
} });
|
|
5196
|
+
var NoopLogger_1 = require_NoopLogger();
|
|
5197
|
+
Object.defineProperty(exports, "NOOP_LOGGER", { enumerable: true, get: function() {
|
|
5198
|
+
return NoopLogger_1.NOOP_LOGGER;
|
|
5199
|
+
} });
|
|
5200
|
+
Object.defineProperty(exports, "NoopLogger", { enumerable: true, get: function() {
|
|
5201
|
+
return NoopLogger_1.NoopLogger;
|
|
5202
|
+
} });
|
|
5203
|
+
var logs_1 = require_logs();
|
|
5204
|
+
exports.logs = logs_1.LogsAPI.getInstance();
|
|
5627
5205
|
});
|
|
5628
5206
|
|
|
5629
5207
|
// node_modules/.bun/@opentelemetry+sdk-logs@0.214.0+e40b0dfdd726a224/node_modules/@opentelemetry/sdk-logs/build/esm/utils/validation.js
|
|
@@ -5885,8 +5463,8 @@ class Logger {
|
|
|
5885
5463
|
emit(logRecord) {
|
|
5886
5464
|
const loggerConfig = this._loggerConfig;
|
|
5887
5465
|
const currentContext = logRecord.context || import_api.context.active();
|
|
5888
|
-
const recordSeverity = logRecord.severityNumber ?? SeverityNumber.UNSPECIFIED;
|
|
5889
|
-
if (recordSeverity !== SeverityNumber.UNSPECIFIED && recordSeverity < loggerConfig.minimumSeverity) {
|
|
5466
|
+
const recordSeverity = logRecord.severityNumber ?? import_api_logs.SeverityNumber.UNSPECIFIED;
|
|
5467
|
+
if (recordSeverity !== import_api_logs.SeverityNumber.UNSPECIFIED && recordSeverity < loggerConfig.minimumSeverity) {
|
|
5890
5468
|
return;
|
|
5891
5469
|
}
|
|
5892
5470
|
if (loggerConfig.traceBased) {
|
|
@@ -5906,10 +5484,10 @@ class Logger {
|
|
|
5906
5484
|
logRecordInstance._makeReadonly();
|
|
5907
5485
|
}
|
|
5908
5486
|
}
|
|
5909
|
-
var import_api;
|
|
5487
|
+
var import_api_logs, import_api;
|
|
5910
5488
|
var init_Logger = __esm(() => {
|
|
5911
|
-
init_esm2();
|
|
5912
5489
|
init_LogRecordImpl();
|
|
5490
|
+
import_api_logs = __toESM(require_src5(), 1);
|
|
5913
5491
|
import_api = __toESM(require_src(), 1);
|
|
5914
5492
|
});
|
|
5915
5493
|
|
|
@@ -5990,17 +5568,17 @@ class LoggerProviderSharedState {
|
|
|
5990
5568
|
return config;
|
|
5991
5569
|
}
|
|
5992
5570
|
}
|
|
5993
|
-
var DEFAULT_LOGGER_CONFIG, DEFAULT_LOGGER_CONFIGURATOR = () => ({
|
|
5571
|
+
var import_api_logs2, DEFAULT_LOGGER_CONFIG, DEFAULT_LOGGER_CONFIGURATOR = () => ({
|
|
5994
5572
|
...DEFAULT_LOGGER_CONFIG
|
|
5995
5573
|
});
|
|
5996
5574
|
var init_LoggerProviderSharedState = __esm(() => {
|
|
5997
|
-
init_esm2();
|
|
5998
5575
|
init_NoopLogRecordProcessor();
|
|
5999
5576
|
init_MultiLogRecordProcessor();
|
|
6000
5577
|
init_utils();
|
|
5578
|
+
import_api_logs2 = __toESM(require_src5(), 1);
|
|
6001
5579
|
DEFAULT_LOGGER_CONFIG = {
|
|
6002
5580
|
disabled: false,
|
|
6003
|
-
minimumSeverity: SeverityNumber.UNSPECIFIED,
|
|
5581
|
+
minimumSeverity: import_api_logs2.SeverityNumber.UNSPECIFIED,
|
|
6004
5582
|
traceBased: false
|
|
6005
5583
|
};
|
|
6006
5584
|
});
|
|
@@ -6026,7 +5604,7 @@ class LoggerProvider {
|
|
|
6026
5604
|
getLogger(name, version, options) {
|
|
6027
5605
|
if (this._shutdownOnce.isCalled) {
|
|
6028
5606
|
import_api2.diag.warn("A shutdown LoggerProvider cannot provide a Logger");
|
|
6029
|
-
return NOOP_LOGGER;
|
|
5607
|
+
return import_api_logs3.NOOP_LOGGER;
|
|
6030
5608
|
}
|
|
6031
5609
|
if (!name) {
|
|
6032
5610
|
import_api2.diag.warn("Logger requested without instrumentation scope name.");
|
|
@@ -6056,20 +5634,20 @@ class LoggerProvider {
|
|
|
6056
5634
|
return this._sharedState.activeProcessor.shutdown();
|
|
6057
5635
|
}
|
|
6058
5636
|
}
|
|
6059
|
-
var import_api2, import_resources, import_core5, DEFAULT_LOGGER_NAME = "unknown";
|
|
5637
|
+
var import_api2, import_api_logs3, import_resources, import_core5, DEFAULT_LOGGER_NAME = "unknown";
|
|
6060
5638
|
var init_LoggerProvider = __esm(() => {
|
|
6061
|
-
init_esm2();
|
|
6062
5639
|
init_Logger();
|
|
6063
5640
|
init_LoggerProviderSharedState();
|
|
6064
5641
|
import_api2 = __toESM(require_src(), 1);
|
|
5642
|
+
import_api_logs3 = __toESM(require_src5(), 1);
|
|
6065
5643
|
import_resources = __toESM(require_src4(), 1);
|
|
6066
5644
|
import_core5 = __toESM(require_src3(), 1);
|
|
6067
5645
|
});
|
|
6068
5646
|
|
|
6069
5647
|
// node_modules/.bun/@opentelemetry+sdk-logs@0.214.0+e40b0dfdd726a224/node_modules/@opentelemetry/sdk-logs/build/esm/export/ConsoleLogRecordExporter.js
|
|
6070
5648
|
class ConsoleLogRecordExporter {
|
|
6071
|
-
export(
|
|
6072
|
-
this._sendLogRecords(
|
|
5649
|
+
export(logs, resultCallback) {
|
|
5650
|
+
this._sendLogRecords(logs, resultCallback);
|
|
6073
5651
|
}
|
|
6074
5652
|
shutdown() {
|
|
6075
5653
|
return Promise.resolve();
|
|
@@ -6250,7 +5828,7 @@ var init_platform2 = __esm(() => {
|
|
|
6250
5828
|
});
|
|
6251
5829
|
|
|
6252
5830
|
// node_modules/.bun/@opentelemetry+sdk-logs@0.214.0+e40b0dfdd726a224/node_modules/@opentelemetry/sdk-logs/build/esm/index.js
|
|
6253
|
-
var
|
|
5831
|
+
var init_esm2 = __esm(() => {
|
|
6254
5832
|
init_LoggerProvider();
|
|
6255
5833
|
init_ConsoleLogRecordExporter();
|
|
6256
5834
|
init_platform2();
|
|
@@ -6996,37 +6574,6 @@ var init_growthbook_experiment_event = __esm(() => {
|
|
|
6996
6574
|
};
|
|
6997
6575
|
});
|
|
6998
6576
|
|
|
6999
|
-
// src/utils/sleep.ts
|
|
7000
|
-
function sleep(ms, signal, opts) {
|
|
7001
|
-
return new Promise((resolve2, reject) => {
|
|
7002
|
-
if (signal?.aborted) {
|
|
7003
|
-
if (opts?.throwOnAbort || opts?.abortError) {
|
|
7004
|
-
reject(opts.abortError?.() ?? new Error("aborted"));
|
|
7005
|
-
} else {
|
|
7006
|
-
resolve2();
|
|
7007
|
-
}
|
|
7008
|
-
return;
|
|
7009
|
-
}
|
|
7010
|
-
const timer = setTimeout((signal2, onAbort2, resolve3) => {
|
|
7011
|
-
signal2?.removeEventListener("abort", onAbort2);
|
|
7012
|
-
resolve3();
|
|
7013
|
-
}, ms, signal, onAbort, resolve2);
|
|
7014
|
-
function onAbort() {
|
|
7015
|
-
clearTimeout(timer);
|
|
7016
|
-
if (opts?.throwOnAbort || opts?.abortError) {
|
|
7017
|
-
reject(opts.abortError?.() ?? new Error("aborted"));
|
|
7018
|
-
} else {
|
|
7019
|
-
resolve2();
|
|
7020
|
-
}
|
|
7021
|
-
}
|
|
7022
|
-
signal?.addEventListener("abort", onAbort, { once: true });
|
|
7023
|
-
if (opts?.unref) {
|
|
7024
|
-
timer.unref();
|
|
7025
|
-
}
|
|
7026
|
-
});
|
|
7027
|
-
}
|
|
7028
|
-
var init_sleep = () => {};
|
|
7029
|
-
|
|
7030
6577
|
// src/utils/genericProcessUtils.ts
|
|
7031
6578
|
function isProcessRunning(pid) {
|
|
7032
6579
|
if (pid <= 1)
|
|
@@ -7205,7 +6752,7 @@ var init_envDynamic = __esm(() => {
|
|
|
7205
6752
|
});
|
|
7206
6753
|
|
|
7207
6754
|
// src/constants/betas.ts
|
|
7208
|
-
var CLAUDE_CODE_20250219_BETA_HEADER = "claude-code-20250219", INTERLEAVED_THINKING_BETA_HEADER = "interleaved-thinking-2025-05-14", CONTEXT_1M_BETA_HEADER = "context-1m-2025-08-07", CONTEXT_MANAGEMENT_BETA_HEADER = "context-management-2025-06-27", STRUCTURED_OUTPUTS_BETA_HEADER = "structured-outputs-2025-12-15", WEB_SEARCH_BETA_HEADER = "web-search-2025-03-05", TOOL_SEARCH_BETA_HEADER_1P = "advanced-tool-use-2025-11-20", TOOL_SEARCH_BETA_HEADER_3P = "tool-search-tool-2025-10-19", EFFORT_BETA_HEADER = "effort-2025-11-24", TASK_BUDGETS_BETA_HEADER = "task-budgets-2026-03-13", PROMPT_CACHING_SCOPE_BETA_HEADER = "prompt-caching-scope-2026-01-05", FAST_MODE_BETA_HEADER = "fast-mode-2026-02-01", REDACT_THINKING_BETA_HEADER = "redact-thinking-2026-02-12", TOKEN_EFFICIENT_TOOLS_BETA_HEADER = "token-efficient-tools-2026-03-28",
|
|
6755
|
+
var CLAUDE_CODE_20250219_BETA_HEADER = "claude-code-20250219", INTERLEAVED_THINKING_BETA_HEADER = "interleaved-thinking-2025-05-14", CONTEXT_1M_BETA_HEADER = "context-1m-2025-08-07", CONTEXT_MANAGEMENT_BETA_HEADER = "context-management-2025-06-27", STRUCTURED_OUTPUTS_BETA_HEADER = "structured-outputs-2025-12-15", WEB_SEARCH_BETA_HEADER = "web-search-2025-03-05", TOOL_SEARCH_BETA_HEADER_1P = "advanced-tool-use-2025-11-20", TOOL_SEARCH_BETA_HEADER_3P = "tool-search-tool-2025-10-19", EFFORT_BETA_HEADER = "effort-2025-11-24", TASK_BUDGETS_BETA_HEADER = "task-budgets-2026-03-13", PROMPT_CACHING_SCOPE_BETA_HEADER = "prompt-caching-scope-2026-01-05", FAST_MODE_BETA_HEADER = "fast-mode-2026-02-01", REDACT_THINKING_BETA_HEADER = "redact-thinking-2026-02-12", TOKEN_EFFICIENT_TOOLS_BETA_HEADER = "token-efficient-tools-2026-03-28", AFK_MODE_BETA_HEADER = "", CLI_INTERNAL_BETA_HEADER, ADVISOR_BETA_HEADER = "advisor-tool-2026-03-01", BEDROCK_EXTRA_PARAMS_HEADERS, VERTEX_COUNT_TOKENS_ALLOWED_BETAS;
|
|
7209
6756
|
var init_betas = __esm(() => {
|
|
7210
6757
|
CLI_INTERNAL_BETA_HEADER = process.env.USER_TYPE === "ant" ? "cli-internal-2026-02-09" : "";
|
|
7211
6758
|
BEDROCK_EXTRA_PARAMS_HEADERS = new Set([
|
|
@@ -7249,7 +6796,26 @@ var init_antModels = __esm(() => {
|
|
|
7249
6796
|
|
|
7250
6797
|
// src/utils/model/providers.ts
|
|
7251
6798
|
function getAPIProvider() {
|
|
7252
|
-
|
|
6799
|
+
const modelType = getInitialSettings().modelType;
|
|
6800
|
+
if (modelType === "openai")
|
|
6801
|
+
return "openai";
|
|
6802
|
+
if (modelType === "gemini")
|
|
6803
|
+
return "gemini";
|
|
6804
|
+
if (modelType === "grok")
|
|
6805
|
+
return "grok";
|
|
6806
|
+
if (isEnvTruthy(process.env.CLAUDE_CODE_USE_BEDROCK))
|
|
6807
|
+
return "bedrock";
|
|
6808
|
+
if (isEnvTruthy(process.env.CLAUDE_CODE_USE_VERTEX))
|
|
6809
|
+
return "vertex";
|
|
6810
|
+
if (isEnvTruthy(process.env.CLAUDE_CODE_USE_FOUNDRY))
|
|
6811
|
+
return "foundry";
|
|
6812
|
+
if (isEnvTruthy(process.env.CLAUDE_CODE_USE_OPENAI))
|
|
6813
|
+
return "openai";
|
|
6814
|
+
if (isEnvTruthy(process.env.CLAUDE_CODE_USE_GEMINI))
|
|
6815
|
+
return "gemini";
|
|
6816
|
+
if (isEnvTruthy(process.env.CLAUDE_CODE_USE_GROK))
|
|
6817
|
+
return "grok";
|
|
6818
|
+
return "firstParty";
|
|
7253
6819
|
}
|
|
7254
6820
|
function getAPIProviderForStatsig() {
|
|
7255
6821
|
return getAPIProvider();
|
|
@@ -7271,6 +6837,7 @@ function isFirstPartyAnthropicBaseUrl() {
|
|
|
7271
6837
|
}
|
|
7272
6838
|
}
|
|
7273
6839
|
var init_providers = __esm(() => {
|
|
6840
|
+
init_settings2();
|
|
7274
6841
|
init_envUtils();
|
|
7275
6842
|
});
|
|
7276
6843
|
|
|
@@ -7593,67 +7160,89 @@ var init_configs = __esm(() => {
|
|
|
7593
7160
|
firstParty: "claude-3-7-sonnet-20250219",
|
|
7594
7161
|
bedrock: "us.anthropic.claude-3-7-sonnet-20250219-v1:0",
|
|
7595
7162
|
vertex: "claude-3-7-sonnet@20250219",
|
|
7596
|
-
foundry: "claude-3-7-sonnet"
|
|
7163
|
+
foundry: "claude-3-7-sonnet",
|
|
7164
|
+
openai: "claude-3-7-sonnet-20250219",
|
|
7165
|
+
gemini: "claude-3-7-sonnet-20250219"
|
|
7597
7166
|
};
|
|
7598
7167
|
CLAUDE_3_5_V2_SONNET_CONFIG = {
|
|
7599
7168
|
firstParty: "claude-3-5-sonnet-20241022",
|
|
7600
7169
|
bedrock: "anthropic.claude-3-5-sonnet-20241022-v2:0",
|
|
7601
7170
|
vertex: "claude-3-5-sonnet-v2@20241022",
|
|
7602
|
-
foundry: "claude-3-5-sonnet"
|
|
7171
|
+
foundry: "claude-3-5-sonnet",
|
|
7172
|
+
openai: "claude-3-5-sonnet-20241022",
|
|
7173
|
+
gemini: "claude-3-5-sonnet-20241022"
|
|
7603
7174
|
};
|
|
7604
7175
|
CLAUDE_3_5_HAIKU_CONFIG = {
|
|
7605
7176
|
firstParty: "claude-3-5-haiku-20241022",
|
|
7606
7177
|
bedrock: "us.anthropic.claude-3-5-haiku-20241022-v1:0",
|
|
7607
7178
|
vertex: "claude-3-5-haiku@20241022",
|
|
7608
|
-
foundry: "claude-3-5-haiku"
|
|
7179
|
+
foundry: "claude-3-5-haiku",
|
|
7180
|
+
openai: "claude-3-5-haiku-20241022",
|
|
7181
|
+
gemini: "claude-3-5-haiku-20241022"
|
|
7609
7182
|
};
|
|
7610
7183
|
CLAUDE_HAIKU_4_5_CONFIG = {
|
|
7611
7184
|
firstParty: "claude-haiku-4-5-20251001",
|
|
7612
7185
|
bedrock: "us.anthropic.claude-haiku-4-5-20251001-v1:0",
|
|
7613
7186
|
vertex: "claude-haiku-4-5@20251001",
|
|
7614
|
-
foundry: "claude-haiku-4-5"
|
|
7187
|
+
foundry: "claude-haiku-4-5",
|
|
7188
|
+
openai: "claude-haiku-4-5-20251001",
|
|
7189
|
+
gemini: "claude-haiku-4-5-20251001"
|
|
7615
7190
|
};
|
|
7616
7191
|
CLAUDE_SONNET_4_CONFIG = {
|
|
7617
7192
|
firstParty: "claude-sonnet-4-20250514",
|
|
7618
7193
|
bedrock: "us.anthropic.claude-sonnet-4-20250514-v1:0",
|
|
7619
7194
|
vertex: "claude-sonnet-4@20250514",
|
|
7620
|
-
foundry: "claude-sonnet-4"
|
|
7195
|
+
foundry: "claude-sonnet-4",
|
|
7196
|
+
openai: "claude-sonnet-4-20250514",
|
|
7197
|
+
gemini: "claude-sonnet-4-20250514"
|
|
7621
7198
|
};
|
|
7622
7199
|
CLAUDE_SONNET_4_5_CONFIG = {
|
|
7623
7200
|
firstParty: "claude-sonnet-4-5-20250929",
|
|
7624
7201
|
bedrock: "us.anthropic.claude-sonnet-4-5-20250929-v1:0",
|
|
7625
7202
|
vertex: "claude-sonnet-4-5@20250929",
|
|
7626
|
-
foundry: "claude-sonnet-4-5"
|
|
7203
|
+
foundry: "claude-sonnet-4-5",
|
|
7204
|
+
openai: "claude-sonnet-4-5-20250929",
|
|
7205
|
+
gemini: "claude-sonnet-4-5-20250929"
|
|
7627
7206
|
};
|
|
7628
7207
|
CLAUDE_OPUS_4_CONFIG = {
|
|
7629
7208
|
firstParty: "claude-opus-4-20250514",
|
|
7630
7209
|
bedrock: "us.anthropic.claude-opus-4-20250514-v1:0",
|
|
7631
7210
|
vertex: "claude-opus-4@20250514",
|
|
7632
|
-
foundry: "claude-opus-4"
|
|
7211
|
+
foundry: "claude-opus-4",
|
|
7212
|
+
openai: "claude-opus-4-20250514",
|
|
7213
|
+
gemini: "claude-opus-4-20250514"
|
|
7633
7214
|
};
|
|
7634
7215
|
CLAUDE_OPUS_4_1_CONFIG = {
|
|
7635
7216
|
firstParty: "claude-opus-4-1-20250805",
|
|
7636
7217
|
bedrock: "us.anthropic.claude-opus-4-1-20250805-v1:0",
|
|
7637
7218
|
vertex: "claude-opus-4-1@20250805",
|
|
7638
|
-
foundry: "claude-opus-4-1"
|
|
7219
|
+
foundry: "claude-opus-4-1",
|
|
7220
|
+
openai: "claude-opus-4-1-20250805",
|
|
7221
|
+
gemini: "claude-opus-4-1-20250805"
|
|
7639
7222
|
};
|
|
7640
7223
|
CLAUDE_OPUS_4_5_CONFIG = {
|
|
7641
7224
|
firstParty: "claude-opus-4-5-20251101",
|
|
7642
7225
|
bedrock: "us.anthropic.claude-opus-4-5-20251101-v1:0",
|
|
7643
7226
|
vertex: "claude-opus-4-5@20251101",
|
|
7644
|
-
foundry: "claude-opus-4-5"
|
|
7227
|
+
foundry: "claude-opus-4-5",
|
|
7228
|
+
openai: "claude-opus-4-5-20251101",
|
|
7229
|
+
gemini: "claude-opus-4-5-20251101"
|
|
7645
7230
|
};
|
|
7646
7231
|
CLAUDE_OPUS_4_6_CONFIG = {
|
|
7647
7232
|
firstParty: "claude-opus-4-6",
|
|
7648
7233
|
bedrock: "us.anthropic.claude-opus-4-6-v1",
|
|
7649
7234
|
vertex: "claude-opus-4-6",
|
|
7650
|
-
foundry: "claude-opus-4-6"
|
|
7235
|
+
foundry: "claude-opus-4-6",
|
|
7236
|
+
openai: "claude-opus-4-6",
|
|
7237
|
+
gemini: "claude-opus-4-6"
|
|
7651
7238
|
};
|
|
7652
7239
|
CLAUDE_SONNET_4_6_CONFIG = {
|
|
7653
7240
|
firstParty: "claude-sonnet-4-6",
|
|
7654
7241
|
bedrock: "us.anthropic.claude-sonnet-4-6",
|
|
7655
7242
|
vertex: "claude-sonnet-4-6",
|
|
7656
|
-
foundry: "claude-sonnet-4-6"
|
|
7243
|
+
foundry: "claude-sonnet-4-6",
|
|
7244
|
+
openai: "claude-sonnet-4-6",
|
|
7245
|
+
gemini: "claude-sonnet-4-6"
|
|
7657
7246
|
};
|
|
7658
7247
|
ALL_MODEL_CONFIGS = {
|
|
7659
7248
|
haiku35: CLAUDE_3_5_HAIKU_CONFIG,
|
|
@@ -7781,7 +7370,7 @@ var init_modelCost = __esm(() => {
|
|
|
7781
7370
|
});
|
|
7782
7371
|
|
|
7783
7372
|
// src/constants/figures.ts
|
|
7784
|
-
var BLACK_CIRCLE, BULLET_OPERATOR = "\u2219", TEARDROP_ASTERISK = "\u273B", UP_ARROW = "\u2191", DOWN_ARROW = "\u2193", LIGHTNING_BOLT = "\u21AF", EFFORT_LOW = "\u25CB", EFFORT_MEDIUM = "\u25D0", EFFORT_HIGH = "\u25CF", EFFORT_MAX = "\u25C9", PLAY_ICON = "\u25B6", PAUSE_ICON = "\u23F8", REFRESH_ARROW = "\u21BB", DIAMOND_OPEN = "\u25C7", DIAMOND_FILLED = "\u25C6", REFERENCE_MARK = "\u203B", BLOCKQUOTE_BAR = "\u258E", BRIDGE_READY_INDICATOR = "\xB7\u2714\uFE0E\xB7", BRIDGE_FAILED_INDICATOR = "\xD7";
|
|
7373
|
+
var BLACK_CIRCLE, BULLET_OPERATOR = "\u2219", TEARDROP_ASTERISK = "\u273B", UP_ARROW = "\u2191", DOWN_ARROW = "\u2193", LIGHTNING_BOLT = "\u21AF", EFFORT_LOW = "\u25CB", EFFORT_MEDIUM = "\u25D0", EFFORT_HIGH = "\u25CF", EFFORT_MAX = "\u25C9", PLAY_ICON = "\u25B6", PAUSE_ICON = "\u23F8", REFRESH_ARROW = "\u21BB", DIAMOND_OPEN = "\u25C7", DIAMOND_FILLED = "\u25C6", REFERENCE_MARK = "\u203B", FLAG_ICON = "\u2691", BLOCKQUOTE_BAR = "\u258E", BRIDGE_READY_INDICATOR = "\xB7\u2714\uFE0E\xB7", BRIDGE_FAILED_INDICATOR = "\xD7";
|
|
7785
7374
|
var init_figures = __esm(() => {
|
|
7786
7375
|
init_env();
|
|
7787
7376
|
BLACK_CIRCLE = env.platform === "darwin" ? "\u23FA" : "\u25CF";
|
|
@@ -8018,6 +7607,13 @@ var init_stringUtils = __esm(() => {
|
|
|
8018
7607
|
|
|
8019
7608
|
// src/utils/model/model.ts
|
|
8020
7609
|
function getSmallFastModel() {
|
|
7610
|
+
const provider = getAPIProvider();
|
|
7611
|
+
if (provider === "openai" && process.env.OPENAI_SMALL_FAST_MODEL) {
|
|
7612
|
+
return process.env.OPENAI_SMALL_FAST_MODEL;
|
|
7613
|
+
}
|
|
7614
|
+
if (provider === "gemini" && process.env.GEMINI_SMALL_FAST_MODEL) {
|
|
7615
|
+
return process.env.GEMINI_SMALL_FAST_MODEL;
|
|
7616
|
+
}
|
|
8021
7617
|
return process.env.ANTHROPIC_SMALL_FAST_MODEL || getDefaultHaikuModel();
|
|
8022
7618
|
}
|
|
8023
7619
|
function isNonCustomOpusModel(model) {
|
|
@@ -8048,24 +7644,45 @@ function getBestModel() {
|
|
|
8048
7644
|
return getDefaultOpusModel();
|
|
8049
7645
|
}
|
|
8050
7646
|
function getDefaultOpusModel() {
|
|
7647
|
+
const provider = getAPIProvider();
|
|
7648
|
+
if (provider === "openai" && process.env.OPENAI_DEFAULT_OPUS_MODEL) {
|
|
7649
|
+
return process.env.OPENAI_DEFAULT_OPUS_MODEL;
|
|
7650
|
+
}
|
|
7651
|
+
if (provider === "gemini" && process.env.GEMINI_DEFAULT_OPUS_MODEL) {
|
|
7652
|
+
return process.env.GEMINI_DEFAULT_OPUS_MODEL;
|
|
7653
|
+
}
|
|
8051
7654
|
if (process.env.ANTHROPIC_DEFAULT_OPUS_MODEL) {
|
|
8052
7655
|
return process.env.ANTHROPIC_DEFAULT_OPUS_MODEL;
|
|
8053
7656
|
}
|
|
8054
|
-
if (
|
|
7657
|
+
if (provider !== "firstParty") {
|
|
8055
7658
|
return getModelStrings2().opus46;
|
|
8056
7659
|
}
|
|
8057
7660
|
return getModelStrings2().opus46;
|
|
8058
7661
|
}
|
|
8059
7662
|
function getDefaultSonnetModel() {
|
|
7663
|
+
const provider = getAPIProvider();
|
|
7664
|
+
if (provider === "openai" && process.env.OPENAI_DEFAULT_SONNET_MODEL) {
|
|
7665
|
+
return process.env.OPENAI_DEFAULT_SONNET_MODEL;
|
|
7666
|
+
}
|
|
7667
|
+
if (provider === "gemini" && process.env.GEMINI_DEFAULT_SONNET_MODEL) {
|
|
7668
|
+
return process.env.GEMINI_DEFAULT_SONNET_MODEL;
|
|
7669
|
+
}
|
|
8060
7670
|
if (process.env.ANTHROPIC_DEFAULT_SONNET_MODEL) {
|
|
8061
7671
|
return process.env.ANTHROPIC_DEFAULT_SONNET_MODEL;
|
|
8062
7672
|
}
|
|
8063
|
-
if (
|
|
7673
|
+
if (provider !== "firstParty") {
|
|
8064
7674
|
return getModelStrings2().sonnet45;
|
|
8065
7675
|
}
|
|
8066
7676
|
return getModelStrings2().sonnet46;
|
|
8067
7677
|
}
|
|
8068
7678
|
function getDefaultHaikuModel() {
|
|
7679
|
+
const provider = getAPIProvider();
|
|
7680
|
+
if (provider === "openai" && process.env.OPENAI_DEFAULT_HAIKU_MODEL) {
|
|
7681
|
+
return process.env.OPENAI_DEFAULT_HAIKU_MODEL;
|
|
7682
|
+
}
|
|
7683
|
+
if (provider === "gemini" && process.env.GEMINI_DEFAULT_HAIKU_MODEL) {
|
|
7684
|
+
return process.env.GEMINI_DEFAULT_HAIKU_MODEL;
|
|
7685
|
+
}
|
|
8069
7686
|
if (process.env.ANTHROPIC_DEFAULT_HAIKU_MODEL) {
|
|
8070
7687
|
return process.env.ANTHROPIC_DEFAULT_HAIKU_MODEL;
|
|
8071
7688
|
}
|
|
@@ -8444,7 +8061,7 @@ async function getAnthropicClient({
|
|
|
8444
8061
|
}
|
|
8445
8062
|
};
|
|
8446
8063
|
if (isEnvTruthy(process.env.CLAUDE_CODE_USE_BEDROCK)) {
|
|
8447
|
-
const { AnthropicBedrock } = await import("./chunk-
|
|
8064
|
+
const { AnthropicBedrock } = await import("./chunk-8me0yq6v.js");
|
|
8448
8065
|
const awsRegion = model === getSmallFastModel() && process.env.ANTHROPIC_SMALL_FAST_MODEL_AWS_REGION ? process.env.ANTHROPIC_SMALL_FAST_MODEL_AWS_REGION : getAWSRegion();
|
|
8449
8066
|
const bedrockArgs = {
|
|
8450
8067
|
...ARGS,
|
|
@@ -8480,7 +8097,7 @@ async function getAnthropicClient({
|
|
|
8480
8097
|
const {
|
|
8481
8098
|
DefaultAzureCredential: AzureCredential,
|
|
8482
8099
|
getBearerTokenProvider
|
|
8483
|
-
} = await import("./chunk-
|
|
8100
|
+
} = await import("./chunk-pshjyzq4.js");
|
|
8484
8101
|
azureADTokenProvider = getBearerTokenProvider(new AzureCredential, "https://cognitiveservices.azure.com/.default");
|
|
8485
8102
|
}
|
|
8486
8103
|
}
|
|
@@ -8496,8 +8113,8 @@ async function getAnthropicClient({
|
|
|
8496
8113
|
await refreshGcpCredentialsIfNeeded();
|
|
8497
8114
|
}
|
|
8498
8115
|
const [{ AnthropicVertex }, { GoogleAuth }] = await Promise.all([
|
|
8499
|
-
import("./chunk-
|
|
8500
|
-
import("./chunk-
|
|
8116
|
+
import("./chunk-8225arm6.js"),
|
|
8117
|
+
import("./chunk-tezak8rx.js").then((m)=>__toESM(m.default,1))
|
|
8501
8118
|
]);
|
|
8502
8119
|
const hasProjectEnvVar = process.env["GCLOUD_PROJECT"] || process.env["GOOGLE_CLOUD_PROJECT"] || process.env["gcloud_project"] || process.env["google_cloud_project"];
|
|
8503
8120
|
const hasKeyFile = process.env["GOOGLE_APPLICATION_CREDENTIALS"] || process.env["google_application_credentials"];
|
|
@@ -8822,11 +8439,11 @@ var init_context = __esm(() => {
|
|
|
8822
8439
|
});
|
|
8823
8440
|
|
|
8824
8441
|
// src/utils/model/modelSupportOverrides.ts
|
|
8825
|
-
var
|
|
8442
|
+
var ANTHROPIC_TIERS, OPENAI_TIERS, get3PModelCapabilityOverride;
|
|
8826
8443
|
var init_modelSupportOverrides = __esm(() => {
|
|
8827
8444
|
init_memoize();
|
|
8828
8445
|
init_providers();
|
|
8829
|
-
|
|
8446
|
+
ANTHROPIC_TIERS = [
|
|
8830
8447
|
{
|
|
8831
8448
|
modelEnvVar: "ANTHROPIC_DEFAULT_OPUS_MODEL",
|
|
8832
8449
|
capabilitiesEnvVar: "ANTHROPIC_DEFAULT_OPUS_MODEL_SUPPORTED_CAPABILITIES"
|
|
@@ -8840,12 +8457,27 @@ var init_modelSupportOverrides = __esm(() => {
|
|
|
8840
8457
|
capabilitiesEnvVar: "ANTHROPIC_DEFAULT_HAIKU_MODEL_SUPPORTED_CAPABILITIES"
|
|
8841
8458
|
}
|
|
8842
8459
|
];
|
|
8460
|
+
OPENAI_TIERS = [
|
|
8461
|
+
{
|
|
8462
|
+
modelEnvVar: "OPENAI_DEFAULT_OPUS_MODEL",
|
|
8463
|
+
capabilitiesEnvVar: "OPENAI_DEFAULT_OPUS_MODEL_SUPPORTED_CAPABILITIES"
|
|
8464
|
+
},
|
|
8465
|
+
{
|
|
8466
|
+
modelEnvVar: "OPENAI_DEFAULT_SONNET_MODEL",
|
|
8467
|
+
capabilitiesEnvVar: "OPENAI_DEFAULT_SONNET_MODEL_SUPPORTED_CAPABILITIES"
|
|
8468
|
+
},
|
|
8469
|
+
{
|
|
8470
|
+
modelEnvVar: "OPENAI_DEFAULT_HAIKU_MODEL",
|
|
8471
|
+
capabilitiesEnvVar: "OPENAI_DEFAULT_HAIKU_MODEL_SUPPORTED_CAPABILITIES"
|
|
8472
|
+
}
|
|
8473
|
+
];
|
|
8843
8474
|
get3PModelCapabilityOverride = memoize_default((model, capability) => {
|
|
8844
8475
|
if (getAPIProvider() === "firstParty") {
|
|
8845
8476
|
return;
|
|
8846
8477
|
}
|
|
8847
8478
|
const m = model.toLowerCase();
|
|
8848
|
-
|
|
8479
|
+
const tiers = getAPIProvider() === "openai" ? OPENAI_TIERS : ANTHROPIC_TIERS;
|
|
8480
|
+
for (const tier of tiers) {
|
|
8849
8481
|
const pinned = process.env[tier.modelEnvVar];
|
|
8850
8482
|
const capabilities = process.env[tier.capabilitiesEnvVar];
|
|
8851
8483
|
if (!pinned || capabilities === undefined)
|
|
@@ -9001,9 +8633,6 @@ var init_betas2 = __esm(() => {
|
|
|
9001
8633
|
if (includeFirstPartyOnlyBetas && modelSupportsISP(model) && !getIsNonInteractiveSession() && getInitialSettings().showThinkingSummaries !== true) {
|
|
9002
8634
|
betaHeaders.push(REDACT_THINKING_BETA_HEADER);
|
|
9003
8635
|
}
|
|
9004
|
-
if (SUMMARIZE_CONNECTOR_TEXT_BETA_HEADER && process.env.USER_TYPE === "ant" && includeFirstPartyOnlyBetas && !isEnvDefinedFalsy(process.env.USE_CONNECTOR_TEXT_SUMMARIZATION) && (isEnvTruthy(process.env.USE_CONNECTOR_TEXT_SUMMARIZATION) || getFeatureValue_CACHED_MAY_BE_STALE("tengu_slate_prism", false))) {
|
|
9005
|
-
betaHeaders.push(SUMMARIZE_CONNECTOR_TEXT_BETA_HEADER);
|
|
9006
|
-
}
|
|
9007
8636
|
const antOptedIntoToolClearing = isEnvTruthy(process.env.USE_API_CONTEXT_MANAGEMENT) && process.env.USER_TYPE === "ant";
|
|
9008
8637
|
const thinkingPreservationEnabled = modelSupportsContextManagement(model);
|
|
9009
8638
|
if (shouldIncludeFirstPartyOnlyBetas() && (antOptedIntoToolClearing || thinkingPreservationEnabled)) {
|
|
@@ -9404,7 +9033,7 @@ function to1PEventFormat(metadata, userMetadata, additionalMetadata = {}) {
|
|
|
9404
9033
|
observerMode,
|
|
9405
9034
|
...coreFields
|
|
9406
9035
|
} = metadata;
|
|
9407
|
-
const
|
|
9036
|
+
const env2 = {
|
|
9408
9037
|
platform: envContext.platform,
|
|
9409
9038
|
platform_raw: envContext.platformRaw,
|
|
9410
9039
|
arch: envContext.arch,
|
|
@@ -9426,47 +9055,47 @@ function to1PEventFormat(metadata, userMetadata, additionalMetadata = {}) {
|
|
|
9426
9055
|
deployment_environment: envContext.deploymentEnvironment
|
|
9427
9056
|
};
|
|
9428
9057
|
if (envContext.remoteEnvironmentType) {
|
|
9429
|
-
|
|
9058
|
+
env2.remote_environment_type = envContext.remoteEnvironmentType;
|
|
9430
9059
|
}
|
|
9431
9060
|
if (false) {}
|
|
9432
9061
|
if (envContext.claudeCodeContainerId) {
|
|
9433
|
-
|
|
9062
|
+
env2.claude_code_container_id = envContext.claudeCodeContainerId;
|
|
9434
9063
|
}
|
|
9435
9064
|
if (envContext.claudeCodeRemoteSessionId) {
|
|
9436
|
-
|
|
9065
|
+
env2.claude_code_remote_session_id = envContext.claudeCodeRemoteSessionId;
|
|
9437
9066
|
}
|
|
9438
9067
|
if (envContext.tags) {
|
|
9439
|
-
|
|
9068
|
+
env2.tags = envContext.tags.split(",").map((t) => t.trim()).filter(Boolean);
|
|
9440
9069
|
}
|
|
9441
9070
|
if (envContext.githubEventName) {
|
|
9442
|
-
|
|
9071
|
+
env2.github_event_name = envContext.githubEventName;
|
|
9443
9072
|
}
|
|
9444
9073
|
if (envContext.githubActionsRunnerEnvironment) {
|
|
9445
|
-
|
|
9074
|
+
env2.github_actions_runner_environment = envContext.githubActionsRunnerEnvironment;
|
|
9446
9075
|
}
|
|
9447
9076
|
if (envContext.githubActionsRunnerOs) {
|
|
9448
|
-
|
|
9077
|
+
env2.github_actions_runner_os = envContext.githubActionsRunnerOs;
|
|
9449
9078
|
}
|
|
9450
9079
|
if (envContext.githubActionRef) {
|
|
9451
|
-
|
|
9080
|
+
env2.github_action_ref = envContext.githubActionRef;
|
|
9452
9081
|
}
|
|
9453
9082
|
if (envContext.wslVersion) {
|
|
9454
|
-
|
|
9083
|
+
env2.wsl_version = envContext.wslVersion;
|
|
9455
9084
|
}
|
|
9456
9085
|
if (envContext.linuxDistroId) {
|
|
9457
|
-
|
|
9086
|
+
env2.linux_distro_id = envContext.linuxDistroId;
|
|
9458
9087
|
}
|
|
9459
9088
|
if (envContext.linuxDistroVersion) {
|
|
9460
|
-
|
|
9089
|
+
env2.linux_distro_version = envContext.linuxDistroVersion;
|
|
9461
9090
|
}
|
|
9462
9091
|
if (envContext.linuxKernel) {
|
|
9463
|
-
|
|
9092
|
+
env2.linux_kernel = envContext.linuxKernel;
|
|
9464
9093
|
}
|
|
9465
9094
|
if (envContext.vcs) {
|
|
9466
|
-
|
|
9095
|
+
env2.vcs = envContext.vcs;
|
|
9467
9096
|
}
|
|
9468
9097
|
if (envContext.versionBase) {
|
|
9469
|
-
|
|
9098
|
+
env2.version_base = envContext.versionBase;
|
|
9470
9099
|
}
|
|
9471
9100
|
const core = {
|
|
9472
9101
|
session_id: coreFields.sessionId,
|
|
@@ -9507,7 +9136,7 @@ function to1PEventFormat(metadata, userMetadata, additionalMetadata = {}) {
|
|
|
9507
9136
|
}
|
|
9508
9137
|
if (userMetadata.githubActionsMetadata) {
|
|
9509
9138
|
const ghMeta = userMetadata.githubActionsMetadata;
|
|
9510
|
-
|
|
9139
|
+
env2.github_actions_metadata = {
|
|
9511
9140
|
actor_id: ghMeta.actorId,
|
|
9512
9141
|
repository_id: ghMeta.repositoryId,
|
|
9513
9142
|
repository_owner_id: ghMeta.repositoryOwnerId
|
|
@@ -9521,7 +9150,7 @@ function to1PEventFormat(metadata, userMetadata, additionalMetadata = {}) {
|
|
|
9521
9150
|
};
|
|
9522
9151
|
}
|
|
9523
9152
|
return {
|
|
9524
|
-
env:
|
|
9153
|
+
env: env2,
|
|
9525
9154
|
...processMetrics && {
|
|
9526
9155
|
process: Buffer.from(jsonStringify(processMetrics)).toString("base64")
|
|
9527
9156
|
},
|
|
@@ -9552,7 +9181,9 @@ var init_metadata = __esm(() => {
|
|
|
9552
9181
|
init_agentContext();
|
|
9553
9182
|
init_slowOperations();
|
|
9554
9183
|
init_teammate();
|
|
9555
|
-
BUILTIN_MCP_SERVER_NAMES = new Set([
|
|
9184
|
+
BUILTIN_MCP_SERVER_NAMES = new Set([
|
|
9185
|
+
(init_common(), __toCommonJS(exports_common)).COMPUTER_USE_MCP_SERVER_NAME
|
|
9186
|
+
]);
|
|
9556
9187
|
TOOL_INPUT_MAX_JSON_CHARS = 4 * 1024;
|
|
9557
9188
|
FILE_COMMANDS = new Set([
|
|
9558
9189
|
"rm",
|
|
@@ -9618,7 +9249,7 @@ var init_metadata = __esm(() => {
|
|
|
9618
9249
|
isClaudeAiAuth: isClaudeAISubscriber(),
|
|
9619
9250
|
version: "2.1.888",
|
|
9620
9251
|
versionBase: getVersionBase(),
|
|
9621
|
-
buildTime: "2026-04-
|
|
9252
|
+
buildTime: "2026-04-09T12:10:59.620Z",
|
|
9622
9253
|
deploymentEnvironment: env.detectDeploymentEnvironment(),
|
|
9623
9254
|
...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
|
|
9624
9255
|
githubEventName: process.env.GITHUB_EVENT_NAME,
|
|
@@ -9771,7 +9402,7 @@ class FirstPartyEventLoggingExporter {
|
|
|
9771
9402
|
}
|
|
9772
9403
|
}
|
|
9773
9404
|
}
|
|
9774
|
-
async export(
|
|
9405
|
+
async export(logs, resultCallback) {
|
|
9775
9406
|
if (this.isShutdown) {
|
|
9776
9407
|
if (process.env.USER_TYPE === "ant") {
|
|
9777
9408
|
logForDebugging("1P event logging export failed: Exporter has been shutdown");
|
|
@@ -9782,7 +9413,7 @@ class FirstPartyEventLoggingExporter {
|
|
|
9782
9413
|
});
|
|
9783
9414
|
return;
|
|
9784
9415
|
}
|
|
9785
|
-
const exportPromise = this.doExport(
|
|
9416
|
+
const exportPromise = this.doExport(logs, resultCallback);
|
|
9786
9417
|
this.pendingExports.push(exportPromise);
|
|
9787
9418
|
exportPromise.finally(() => {
|
|
9788
9419
|
const index2 = this.pendingExports.indexOf(exportPromise);
|
|
@@ -9791,9 +9422,9 @@ class FirstPartyEventLoggingExporter {
|
|
|
9791
9422
|
}
|
|
9792
9423
|
});
|
|
9793
9424
|
}
|
|
9794
|
-
async doExport(
|
|
9425
|
+
async doExport(logs, resultCallback) {
|
|
9795
9426
|
try {
|
|
9796
|
-
const eventLogs =
|
|
9427
|
+
const eventLogs = logs.filter((log) => log.instrumentationScope?.name === "com.anthropic.claude_code.events");
|
|
9797
9428
|
if (eventLogs.length === 0) {
|
|
9798
9429
|
resultCallback({ code: import_core8.ExportResultCode.SUCCESS });
|
|
9799
9430
|
return;
|
|
@@ -9995,9 +9626,9 @@ class FirstPartyEventLoggingExporter {
|
|
|
9995
9626
|
const [seconds, nanoseconds] = hrTime;
|
|
9996
9627
|
return new Date(seconds * 1000 + nanoseconds / 1e6);
|
|
9997
9628
|
}
|
|
9998
|
-
transformLogsToEvents(
|
|
9629
|
+
transformLogsToEvents(logs) {
|
|
9999
9630
|
const events = [];
|
|
10000
|
-
for (const log of
|
|
9631
|
+
for (const log of logs) {
|
|
10001
9632
|
const attributes = log.attributes || {};
|
|
10002
9633
|
if (attributes.event_type === "GrowthbookExperimentEvent") {
|
|
10003
9634
|
const timestamp = this.hrTimeToDate(log.hrTime);
|
|
@@ -10336,7 +9967,7 @@ async function reinitialize1PEventLoggingIfConfigChanged() {
|
|
|
10336
9967
|
}
|
|
10337
9968
|
var import_resources2, import_semantic_conventions2, EVENT_SAMPLING_CONFIG_NAME = "tengu_event_sampling_config", BATCH_CONFIG_NAME = "tengu_1p_event_batch_config", firstPartyEventLogger = null, firstPartyEventLoggerProvider = null, lastBatchConfig = null, DEFAULT_LOGS_EXPORT_INTERVAL_MS = 1e4, DEFAULT_MAX_EXPORT_BATCH_SIZE = 200, DEFAULT_MAX_QUEUE_SIZE = 8192;
|
|
10338
9969
|
var init_firstPartyEventLogger = __esm(() => {
|
|
10339
|
-
|
|
9970
|
+
init_esm2();
|
|
10340
9971
|
init_lodash();
|
|
10341
9972
|
init_config();
|
|
10342
9973
|
init_debug();
|
|
@@ -10528,7 +10159,16 @@ function syncRemoteEvalToDisk() {
|
|
|
10528
10159
|
cachedGrowthBookFeatures: fresh
|
|
10529
10160
|
}));
|
|
10530
10161
|
}
|
|
10162
|
+
function getLocalGateDefault(feature) {
|
|
10163
|
+
if (process.env.CLAUDE_CODE_DISABLE_LOCAL_GATES) {
|
|
10164
|
+
return;
|
|
10165
|
+
}
|
|
10166
|
+
return LOCAL_GATE_DEFAULTS[feature];
|
|
10167
|
+
}
|
|
10531
10168
|
function isGrowthBookEnabled() {
|
|
10169
|
+
if (process.env.CLAUDE_GB_ADAPTER_URL && process.env.CLAUDE_GB_ADAPTER_KEY) {
|
|
10170
|
+
return true;
|
|
10171
|
+
}
|
|
10532
10172
|
return is1PEventLoggingEnabled();
|
|
10533
10173
|
}
|
|
10534
10174
|
function getApiBaseUrlHost() {
|
|
@@ -10581,11 +10221,13 @@ async function getFeatureValueInternal(feature, defaultValue, logExposure) {
|
|
|
10581
10221
|
return configOverrides[feature];
|
|
10582
10222
|
}
|
|
10583
10223
|
if (!isGrowthBookEnabled()) {
|
|
10584
|
-
|
|
10224
|
+
const localDefault = getLocalGateDefault(feature);
|
|
10225
|
+
return localDefault !== undefined ? localDefault : defaultValue;
|
|
10585
10226
|
}
|
|
10586
10227
|
const growthBookClient = await initializeGrowthBook();
|
|
10587
10228
|
if (!growthBookClient) {
|
|
10588
|
-
|
|
10229
|
+
const localDefault = getLocalGateDefault(feature);
|
|
10230
|
+
return localDefault !== undefined ? localDefault : defaultValue;
|
|
10589
10231
|
}
|
|
10590
10232
|
let result;
|
|
10591
10233
|
if (remoteEvalFeatureValues.has(feature)) {
|
|
@@ -10614,7 +10256,8 @@ function getFeatureValue_CACHED_MAY_BE_STALE(feature, defaultValue) {
|
|
|
10614
10256
|
return configOverrides[feature];
|
|
10615
10257
|
}
|
|
10616
10258
|
if (!isGrowthBookEnabled()) {
|
|
10617
|
-
|
|
10259
|
+
const localDefault2 = getLocalGateDefault(feature);
|
|
10260
|
+
return localDefault2 !== undefined ? localDefault2 : defaultValue;
|
|
10618
10261
|
}
|
|
10619
10262
|
if (experimentDataByFeature.has(feature)) {
|
|
10620
10263
|
logExposureForFeature(feature);
|
|
@@ -10626,10 +10269,12 @@ function getFeatureValue_CACHED_MAY_BE_STALE(feature, defaultValue) {
|
|
|
10626
10269
|
}
|
|
10627
10270
|
try {
|
|
10628
10271
|
const cached = getGlobalConfig().cachedGrowthBookFeatures?.[feature];
|
|
10629
|
-
|
|
10630
|
-
|
|
10631
|
-
|
|
10632
|
-
}
|
|
10272
|
+
if (cached !== undefined) {
|
|
10273
|
+
return cached;
|
|
10274
|
+
}
|
|
10275
|
+
} catch {}
|
|
10276
|
+
const localDefault = getLocalGateDefault(feature);
|
|
10277
|
+
return localDefault !== undefined ? localDefault : defaultValue;
|
|
10633
10278
|
}
|
|
10634
10279
|
function getFeatureValue_CACHED_WITH_REFRESH(feature, defaultValue, _refreshIntervalMs) {
|
|
10635
10280
|
return getFeatureValue_CACHED_MAY_BE_STALE(feature, defaultValue);
|
|
@@ -10644,19 +10289,27 @@ function checkStatsigFeatureGate_CACHED_MAY_BE_STALE(gate) {
|
|
|
10644
10289
|
return Boolean(configOverrides[gate]);
|
|
10645
10290
|
}
|
|
10646
10291
|
if (!isGrowthBookEnabled()) {
|
|
10647
|
-
|
|
10292
|
+
const localDefault2 = getLocalGateDefault(gate);
|
|
10293
|
+
return localDefault2 !== undefined ? Boolean(localDefault2) : false;
|
|
10648
10294
|
}
|
|
10649
10295
|
if (experimentDataByFeature.has(gate)) {
|
|
10650
10296
|
logExposureForFeature(gate);
|
|
10651
10297
|
} else {
|
|
10652
10298
|
pendingExposures.add(gate);
|
|
10653
10299
|
}
|
|
10654
|
-
|
|
10655
|
-
|
|
10656
|
-
|
|
10657
|
-
|
|
10658
|
-
|
|
10659
|
-
|
|
10300
|
+
try {
|
|
10301
|
+
const config = getGlobalConfig();
|
|
10302
|
+
const gbCached = config.cachedGrowthBookFeatures?.[gate];
|
|
10303
|
+
if (gbCached !== undefined) {
|
|
10304
|
+
return Boolean(gbCached);
|
|
10305
|
+
}
|
|
10306
|
+
const statsigCached = config.cachedStatsigGates?.[gate];
|
|
10307
|
+
if (statsigCached !== undefined) {
|
|
10308
|
+
return statsigCached;
|
|
10309
|
+
}
|
|
10310
|
+
} catch {}
|
|
10311
|
+
const localDefault = getLocalGateDefault(gate);
|
|
10312
|
+
return localDefault !== undefined ? Boolean(localDefault) : false;
|
|
10660
10313
|
}
|
|
10661
10314
|
async function checkSecurityRestrictionGate(gate) {
|
|
10662
10315
|
const overrides = getEnvOverrides();
|
|
@@ -10694,7 +10347,8 @@ async function checkGate_CACHED_OR_BLOCKING(gate) {
|
|
|
10694
10347
|
return Boolean(configOverrides[gate]);
|
|
10695
10348
|
}
|
|
10696
10349
|
if (!isGrowthBookEnabled()) {
|
|
10697
|
-
|
|
10350
|
+
const localDefault = getLocalGateDefault(gate);
|
|
10351
|
+
return localDefault !== undefined ? Boolean(localDefault) : false;
|
|
10698
10352
|
}
|
|
10699
10353
|
const cached = getGlobalConfig().cachedGrowthBookFeatures?.[gate];
|
|
10700
10354
|
if (cached === true) {
|
|
@@ -10817,7 +10471,7 @@ async function getDynamicConfig_BLOCKS_ON_INIT(configName, defaultValue) {
|
|
|
10817
10471
|
function getDynamicConfig_CACHED_MAY_BE_STALE(configName, defaultValue) {
|
|
10818
10472
|
return getFeatureValue_CACHED_MAY_BE_STALE(configName, defaultValue);
|
|
10819
10473
|
}
|
|
10820
|
-
var client = null, currentBeforeExitHandler = null, currentExitHandler = null, clientCreatedWithAuth = false, experimentDataByFeature, remoteEvalFeatureValues, pendingExposures, loggedExposures, reinitializingPromise = null, refreshed, envOverrides = null, envOverridesParsed = false, getGrowthBookClient, initializeGrowthBook, GROWTHBOOK_REFRESH_INTERVAL_MS, refreshInterval = null, beforeExitListener = null;
|
|
10474
|
+
var client = null, currentBeforeExitHandler = null, currentExitHandler = null, clientCreatedWithAuth = false, experimentDataByFeature, remoteEvalFeatureValues, pendingExposures, loggedExposures, reinitializingPromise = null, refreshed, envOverrides = null, envOverridesParsed = false, LOCAL_GATE_DEFAULTS, getGrowthBookClient, initializeGrowthBook, GROWTHBOOK_REFRESH_INTERVAL_MS, refreshInterval = null, beforeExitListener = null;
|
|
10821
10475
|
var init_growthbook = __esm(() => {
|
|
10822
10476
|
init_esm();
|
|
10823
10477
|
init_lodash();
|
|
@@ -10837,26 +10491,61 @@ var init_growthbook = __esm(() => {
|
|
|
10837
10491
|
pendingExposures = new Set;
|
|
10838
10492
|
loggedExposures = new Set;
|
|
10839
10493
|
refreshed = createSignal();
|
|
10494
|
+
LOCAL_GATE_DEFAULTS = {
|
|
10495
|
+
tengu_keybinding_customization_release: true,
|
|
10496
|
+
tengu_streaming_tool_execution2: true,
|
|
10497
|
+
tengu_kairos_cron: true,
|
|
10498
|
+
tengu_amber_json_tools: true,
|
|
10499
|
+
tengu_immediate_model_command: true,
|
|
10500
|
+
tengu_basalt_3kr: true,
|
|
10501
|
+
tengu_pebble_leaf_prune: true,
|
|
10502
|
+
tengu_chair_sermon: true,
|
|
10503
|
+
tengu_lodestone_enabled: true,
|
|
10504
|
+
tengu_auto_background_agents: true,
|
|
10505
|
+
tengu_fgts: true,
|
|
10506
|
+
tengu_session_memory: true,
|
|
10507
|
+
tengu_passport_quail: true,
|
|
10508
|
+
tengu_moth_copse: true,
|
|
10509
|
+
tengu_coral_fern: true,
|
|
10510
|
+
tengu_chomp_inflection: true,
|
|
10511
|
+
tengu_hive_evidence: true,
|
|
10512
|
+
tengu_kairos_brief: true,
|
|
10513
|
+
tengu_kairos_brief_config: { enable_slash_command: true },
|
|
10514
|
+
tengu_sedge_lantern: true,
|
|
10515
|
+
tengu_onyx_plover: { enabled: true },
|
|
10516
|
+
tengu_willow_mode: "dialog",
|
|
10517
|
+
tengu_turtle_carbon: true,
|
|
10518
|
+
tengu_amber_stoat: true,
|
|
10519
|
+
tengu_amber_flint: true,
|
|
10520
|
+
tengu_slim_subagent_claudemd: true,
|
|
10521
|
+
tengu_birch_trellis: true,
|
|
10522
|
+
tengu_collage_kaleidoscope: true,
|
|
10523
|
+
tengu_compact_cache_prefix: true,
|
|
10524
|
+
tengu_kairos_cron_durable: true,
|
|
10525
|
+
tengu_attribution_header: true,
|
|
10526
|
+
tengu_slate_prism: true
|
|
10527
|
+
};
|
|
10840
10528
|
getGrowthBookClient = memoize_default(() => {
|
|
10841
10529
|
if (!isGrowthBookEnabled()) {
|
|
10842
10530
|
return null;
|
|
10843
10531
|
}
|
|
10844
10532
|
const attributes = getUserAttributes();
|
|
10845
10533
|
const clientKey = getGrowthBookClientKey();
|
|
10534
|
+
const baseUrl = process.env.CLAUDE_GB_ADAPTER_URL || (process.env.USER_TYPE === "ant" ? process.env.CLAUDE_CODE_GB_BASE_URL || "https://api.anthropic.com/" : "https://api.anthropic.com/");
|
|
10535
|
+
const isAdapterMode = !!(process.env.CLAUDE_GB_ADAPTER_URL && process.env.CLAUDE_GB_ADAPTER_KEY);
|
|
10846
10536
|
if (process.env.USER_TYPE === "ant") {
|
|
10847
10537
|
logForDebugging(`GrowthBook: Creating client with clientKey=${clientKey}, attributes: ${jsonStringify(attributes)}`);
|
|
10848
10538
|
}
|
|
10849
|
-
const baseUrl = process.env.USER_TYPE === "ant" ? process.env.CLAUDE_CODE_GB_BASE_URL || "https://api.anthropic.com/" : "https://api.anthropic.com/";
|
|
10850
10539
|
const hasTrust = checkHasTrustDialogAccepted() || getSessionTrustAccepted() || getIsNonInteractiveSession();
|
|
10851
10540
|
const authHeaders = hasTrust ? getAuthHeaders() : { headers: {}, error: "trust not established" };
|
|
10852
|
-
const hasAuth = !authHeaders.error;
|
|
10541
|
+
const hasAuth = isAdapterMode || !authHeaders.error;
|
|
10853
10542
|
clientCreatedWithAuth = hasAuth;
|
|
10854
10543
|
const thisClient = new GrowthBook({
|
|
10855
10544
|
apiHost: baseUrl,
|
|
10856
10545
|
clientKey,
|
|
10857
10546
|
attributes,
|
|
10858
|
-
remoteEval:
|
|
10859
|
-
cacheKeyAttributes: ["id", "organizationUUID"],
|
|
10547
|
+
remoteEval: !isAdapterMode,
|
|
10548
|
+
...!isAdapterMode ? { cacheKeyAttributes: ["id", "organizationUUID"] } : {},
|
|
10860
10549
|
...authHeaders.error ? {} : { apiHostRequestHeaders: authHeaders.headers },
|
|
10861
10550
|
...process.env.USER_TYPE === "ant" ? {
|
|
10862
10551
|
log: (msg, ctx) => {
|
|
@@ -10876,7 +10565,7 @@ var init_growthbook = __esm(() => {
|
|
|
10876
10565
|
return;
|
|
10877
10566
|
}
|
|
10878
10567
|
if (process.env.USER_TYPE === "ant") {
|
|
10879
|
-
logForDebugging(`GrowthBook initialized
|
|
10568
|
+
logForDebugging(`GrowthBook initialized, source: ${result.source}, success: ${result.success}`);
|
|
10880
10569
|
}
|
|
10881
10570
|
const hadFeatures = await processRemoteEvalPayload(thisClient);
|
|
10882
10571
|
if (client !== thisClient)
|
|
@@ -11550,23 +11239,6 @@ var init_sandboxTypes = __esm(() => {
|
|
|
11550
11239
|
}).passthrough());
|
|
11551
11240
|
});
|
|
11552
11241
|
|
|
11553
|
-
// src/types/permissions.ts
|
|
11554
|
-
var EXTERNAL_PERMISSION_MODES, INTERNAL_PERMISSION_MODES, PERMISSION_MODES;
|
|
11555
|
-
var init_permissions = __esm(() => {
|
|
11556
|
-
EXTERNAL_PERMISSION_MODES = [
|
|
11557
|
-
"acceptEdits",
|
|
11558
|
-
"bypassPermissions",
|
|
11559
|
-
"default",
|
|
11560
|
-
"dontAsk",
|
|
11561
|
-
"plan"
|
|
11562
|
-
];
|
|
11563
|
-
INTERNAL_PERMISSION_MODES = [
|
|
11564
|
-
...EXTERNAL_PERMISSION_MODES,
|
|
11565
|
-
...[]
|
|
11566
|
-
];
|
|
11567
|
-
PERMISSION_MODES = INTERNAL_PERMISSION_MODES;
|
|
11568
|
-
});
|
|
11569
|
-
|
|
11570
11242
|
// src/utils/permissions/PermissionMode.ts
|
|
11571
11243
|
function isExternalPermissionMode(mode) {
|
|
11572
11244
|
if (process.env.USER_TYPE !== "ant") {
|
|
@@ -12233,6 +11905,34 @@ var TASK_STOP_TOOL_NAME = "TaskStop", DESCRIPTION = `
|
|
|
12233
11905
|
`;
|
|
12234
11906
|
var init_prompt = () => {};
|
|
12235
11907
|
|
|
11908
|
+
// src/tools/BriefTool/prompt.ts
|
|
11909
|
+
var exports_prompt = {};
|
|
11910
|
+
__export(exports_prompt, {
|
|
11911
|
+
LEGACY_BRIEF_TOOL_NAME: () => LEGACY_BRIEF_TOOL_NAME,
|
|
11912
|
+
DESCRIPTION: () => DESCRIPTION2,
|
|
11913
|
+
BRIEF_TOOL_PROMPT: () => BRIEF_TOOL_PROMPT,
|
|
11914
|
+
BRIEF_TOOL_NAME: () => BRIEF_TOOL_NAME,
|
|
11915
|
+
BRIEF_PROACTIVE_SECTION: () => BRIEF_PROACTIVE_SECTION
|
|
11916
|
+
});
|
|
11917
|
+
var BRIEF_TOOL_NAME = "SendUserMessage", LEGACY_BRIEF_TOOL_NAME = "Brief", DESCRIPTION2 = "Send a message to the user", BRIEF_TOOL_PROMPT = `Send a message the user will read. Text outside this tool is visible in the detail view, but most won't open it \u2014 the answer lives here.
|
|
11918
|
+
|
|
11919
|
+
\`message\` supports markdown. \`attachments\` takes file paths (absolute or cwd-relative) for images, diffs, logs.
|
|
11920
|
+
|
|
11921
|
+
\`status\` labels intent: 'normal' when replying to what they just asked; 'proactive' when you're initiating \u2014 a scheduled task finished, a blocker surfaced during background work, you need input on something they haven't asked about. Set it honestly; downstream routing uses it.`, BRIEF_PROACTIVE_SECTION;
|
|
11922
|
+
var init_prompt2 = __esm(() => {
|
|
11923
|
+
BRIEF_PROACTIVE_SECTION = `## Talking to the user
|
|
11924
|
+
|
|
11925
|
+
${BRIEF_TOOL_NAME} is where your replies go. Text outside it is visible if the user expands the detail view, but most won't \u2014 assume unread. Anything you want them to actually see goes through ${BRIEF_TOOL_NAME}. The failure mode: the real answer lives in plain text while ${BRIEF_TOOL_NAME} just says "done!" \u2014 they see "done!" and miss everything.
|
|
11926
|
+
|
|
11927
|
+
So: every time the user says something, the reply they actually read comes through ${BRIEF_TOOL_NAME}. Even for "hi". Even for "thanks".
|
|
11928
|
+
|
|
11929
|
+
If you can answer right away, send the answer. If you need to go look \u2014 run a command, read files, check something \u2014 ack first in one line ("On it \u2014 checking the test output"), then work, then send the result. Without the ack they're staring at a spinner.
|
|
11930
|
+
|
|
11931
|
+
For longer work: ack \u2192 work \u2192 result. Between those, send a checkpoint when something useful happened \u2014 a decision you made, a surprise you hit, a phase boundary. Skip the filler ("running tests...") \u2014 a checkpoint earns its place by carrying information.
|
|
11932
|
+
|
|
11933
|
+
Keep messages tight \u2014 the decision, the file:line, the PR number. Second person always ("your config"), never third.`;
|
|
11934
|
+
});
|
|
11935
|
+
|
|
12236
11936
|
// src/utils/permissions/permissionRuleParser.ts
|
|
12237
11937
|
function normalizeLegacyToolName(name) {
|
|
12238
11938
|
return LEGACY_TOOL_NAME_ALIASES[name] ?? name;
|
|
@@ -12313,17 +12013,18 @@ function findLastUnescapedChar(str, char) {
|
|
|
12313
12013
|
}
|
|
12314
12014
|
return -1;
|
|
12315
12015
|
}
|
|
12316
|
-
var LEGACY_TOOL_NAME_ALIASES;
|
|
12016
|
+
var BRIEF_TOOL_NAME2, LEGACY_TOOL_NAME_ALIASES;
|
|
12317
12017
|
var init_permissionRuleParser = __esm(() => {
|
|
12318
12018
|
init_constants2();
|
|
12319
12019
|
init_constants3();
|
|
12320
12020
|
init_prompt();
|
|
12021
|
+
BRIEF_TOOL_NAME2 = (init_prompt2(), __toCommonJS(exports_prompt)).BRIEF_TOOL_NAME;
|
|
12321
12022
|
LEGACY_TOOL_NAME_ALIASES = {
|
|
12322
12023
|
Task: AGENT_TOOL_NAME,
|
|
12323
12024
|
KillShell: TASK_STOP_TOOL_NAME,
|
|
12324
12025
|
AgentOutputTool: TASK_OUTPUT_TOOL_NAME,
|
|
12325
12026
|
BashOutputTool: TASK_OUTPUT_TOOL_NAME,
|
|
12326
|
-
...{}
|
|
12027
|
+
...BRIEF_TOOL_NAME2 ? { Brief: BRIEF_TOOL_NAME2 } : {}
|
|
12327
12028
|
};
|
|
12328
12029
|
});
|
|
12329
12030
|
|
|
@@ -12659,6 +12360,7 @@ var init_types2 = __esm(() => {
|
|
|
12659
12360
|
includeCoAuthoredBy: exports_external.boolean().optional().describe("Deprecated: Use attribution instead. " + "Whether to include Claude's co-authored by attribution in commits and PRs (defaults to true)"),
|
|
12660
12361
|
includeGitInstructions: exports_external.boolean().optional().describe("Include built-in commit and PR workflow instructions in Claude's system prompt (default: true)"),
|
|
12661
12362
|
permissions: PermissionsSchema().optional().describe("Tool usage permissions configuration"),
|
|
12363
|
+
modelType: exports_external.enum(["anthropic", "openai", "gemini", "grok"]).optional().describe('API provider type. "anthropic" uses the Anthropic API (default), "openai" uses the OpenAI Chat Completions API, "gemini" uses the Gemini API, and "grok" uses the xAI Grok API (OpenAI-compatible). ' + 'When set to "openai", configure OPENAI_API_KEY, OPENAI_BASE_URL, and OPENAI_MODEL. When set to "gemini", configure GEMINI_API_KEY and optional GEMINI_BASE_URL. When set to "grok", configure GROK_API_KEY (or XAI_API_KEY), optional GROK_BASE_URL, GROK_MODEL, and GROK_MODEL_MAP.'),
|
|
12662
12364
|
model: exports_external.string().optional().describe("Override the default model used by Claude Code"),
|
|
12663
12365
|
availableModels: exports_external.array(exports_external.string()).optional().describe("Allowlist of models that users can select. " + 'Accepts family aliases ("opus" allows any opus version), ' + 'version prefixes ("opus-4-5" allows only that version), ' + "and full model IDs. " + "If undefined, all models are available. If empty array, only the default model is available. " + "Typically set in managed settings by enterprise administrators."),
|
|
12664
12366
|
modelOverrides: exports_external.record(exports_external.string(), exports_external.string()).optional().describe('Override mapping from Anthropic model ID (e.g. "claude-opus-4-6") to provider-specific ' + "model ID (e.g. a Bedrock inference profile ARN). Typically set in managed settings by " + "enterprise administrators."),
|
|
@@ -12746,21 +12448,27 @@ var init_types2 = __esm(() => {
|
|
|
12746
12448
|
defaultEnvironmentId: exports_external.string().optional().describe("Default environment ID to use for remote sessions")
|
|
12747
12449
|
}).optional().describe("Remote session configuration"),
|
|
12748
12450
|
autoUpdatesChannel: exports_external.enum(["latest", "stable"]).optional().describe("Release channel for auto-updates (latest or stable)"),
|
|
12749
|
-
...{
|
|
12451
|
+
...{
|
|
12452
|
+
disableDeepLinkRegistration: exports_external.enum(["disable"]).optional().describe("Prevent claude-cli:// protocol handler registration with the OS")
|
|
12453
|
+
},
|
|
12750
12454
|
minimumVersion: exports_external.string().optional().describe("Minimum version to stay on - prevents downgrades when switching to stable channel"),
|
|
12751
12455
|
plansDirectory: exports_external.string().optional().describe("Custom directory for plan files, relative to project root. " + "If not set, defaults to ~/.claude/plans/"),
|
|
12752
12456
|
...process.env.USER_TYPE === "ant" ? {
|
|
12753
12457
|
classifierPermissionsEnabled: exports_external.boolean().optional().describe("Enable AI-based classification for Bash(prompt:...) permission rules")
|
|
12754
12458
|
} : {},
|
|
12755
12459
|
...{},
|
|
12756
|
-
...{
|
|
12460
|
+
...{
|
|
12461
|
+
voiceEnabled: exports_external.boolean().optional().describe("Enable voice mode (hold-to-talk dictation)")
|
|
12462
|
+
},
|
|
12757
12463
|
...{},
|
|
12758
12464
|
channelsEnabled: exports_external.boolean().optional().describe("Teams/Enterprise opt-in for channel notifications (MCP servers with the " + "claude/channel capability pushing inbound messages). Default off. " + "Set true to allow; users then select servers via --channels."),
|
|
12759
12465
|
allowedChannelPlugins: exports_external.array(exports_external.object({
|
|
12760
12466
|
marketplace: exports_external.string(),
|
|
12761
12467
|
plugin: exports_external.string()
|
|
12762
12468
|
})).optional().describe("Teams/Enterprise allowlist of channel plugins. When set, " + "replaces the default Anthropic allowlist \u2014 admins decide which " + "plugins may push inbound messages. Undefined falls back to the default. " + "Requires channelsEnabled: true."),
|
|
12763
|
-
...{
|
|
12469
|
+
...{
|
|
12470
|
+
defaultView: exports_external.enum(["chat", "transcript"]).optional().describe("Default transcript view: chat (SendUserMessage checkpoints only) or transcript (full)")
|
|
12471
|
+
},
|
|
12764
12472
|
prefersReducedMotion: exports_external.boolean().optional().describe("Reduce or disable animations for accessibility (spinner shimmer, flash effects, etc.)"),
|
|
12765
12473
|
autoMemoryEnabled: exports_external.boolean().optional().describe("Enable auto-memory for this project. When false, Claude will not read from or write to the auto-memory directory."),
|
|
12766
12474
|
autoMemoryDirectory: exports_external.string().optional().describe("Custom directory path for auto-memory storage. Supports ~/ prefix for home directory expansion. Ignored if set in projectSettings (checked-in .claude/settings.json) for security. When unset, defaults to ~/.claude/projects/<sanitized-cwd>/memory/."),
|
|
@@ -13807,7 +13515,7 @@ function findFirstMatch(profiles, substring) {
|
|
|
13807
13515
|
return profiles.find((p) => p.includes(substring)) ?? null;
|
|
13808
13516
|
}
|
|
13809
13517
|
async function createBedrockClient() {
|
|
13810
|
-
const { BedrockClient } = await import("./chunk-
|
|
13518
|
+
const { BedrockClient } = await import("./chunk-p8crqj70.js");
|
|
13811
13519
|
const region = getAWSRegion();
|
|
13812
13520
|
const skipAuth = isEnvTruthy(process.env.CLAUDE_CODE_SKIP_BEDROCK_AUTH);
|
|
13813
13521
|
const clientConfig = {
|
|
@@ -13841,7 +13549,7 @@ async function createBedrockClient() {
|
|
|
13841
13549
|
return new BedrockClient(clientConfig);
|
|
13842
13550
|
}
|
|
13843
13551
|
async function createBedrockRuntimeClient() {
|
|
13844
|
-
const { BedrockRuntimeClient } = await import("./chunk-
|
|
13552
|
+
const { BedrockRuntimeClient } = await import("./chunk-a1bjde7d.js");
|
|
13845
13553
|
const region = getAWSRegion();
|
|
13846
13554
|
const skipAuth = isEnvTruthy(process.env.CLAUDE_CODE_SKIP_BEDROCK_AUTH);
|
|
13847
13555
|
const clientConfig = {
|
|
@@ -13916,7 +13624,7 @@ var init_bedrock = __esm(() => {
|
|
|
13916
13624
|
getBedrockInferenceProfiles = memoize_default(async function() {
|
|
13917
13625
|
const [client2, { ListInferenceProfilesCommand }] = await Promise.all([
|
|
13918
13626
|
createBedrockClient(),
|
|
13919
|
-
import("./chunk-
|
|
13627
|
+
import("./chunk-p8crqj70.js")
|
|
13920
13628
|
]);
|
|
13921
13629
|
const allProfiles = [];
|
|
13922
13630
|
let nextToken;
|
|
@@ -13942,7 +13650,7 @@ var init_bedrock = __esm(() => {
|
|
|
13942
13650
|
try {
|
|
13943
13651
|
const [client2, { GetInferenceProfileCommand }] = await Promise.all([
|
|
13944
13652
|
createBedrockClient(),
|
|
13945
|
-
import("./chunk-
|
|
13653
|
+
import("./chunk-p8crqj70.js")
|
|
13946
13654
|
]);
|
|
13947
13655
|
const command = new GetInferenceProfileCommand({
|
|
13948
13656
|
inferenceProfileIdentifier: profileId
|
|
@@ -14440,13 +14148,13 @@ function isValidAwsStsOutput(obj) {
|
|
|
14440
14148
|
return typeof credentials.AccessKeyId === "string" && typeof credentials.SecretAccessKey === "string" && typeof credentials.SessionToken === "string" && credentials.AccessKeyId.length > 0 && credentials.SecretAccessKey.length > 0 && credentials.SessionToken.length > 0;
|
|
14441
14149
|
}
|
|
14442
14150
|
async function checkStsCallerIdentity() {
|
|
14443
|
-
const { STSClient, GetCallerIdentityCommand } = await import("./chunk-
|
|
14151
|
+
const { STSClient, GetCallerIdentityCommand } = await import("./chunk-wtycm8km.js");
|
|
14444
14152
|
await new STSClient().send(new GetCallerIdentityCommand({}));
|
|
14445
14153
|
}
|
|
14446
14154
|
async function clearAwsIniCache() {
|
|
14447
14155
|
try {
|
|
14448
14156
|
logForDebugging("Clearing AWS credential provider cache");
|
|
14449
|
-
const { fromIni } = await import("./chunk-
|
|
14157
|
+
const { fromIni } = await import("./chunk-1atfzck5.js");
|
|
14450
14158
|
const iniProvider = fromIni({ ignoreCache: true });
|
|
14451
14159
|
await iniProvider();
|
|
14452
14160
|
logForDebugging("AWS credential provider cache refreshed");
|
|
@@ -14921,8 +14629,8 @@ function isAnthropicAuthEnabled() {
|
|
|
14921
14629
|
if (process.env.ANTHROPIC_UNIX_SOCKET) {
|
|
14922
14630
|
return !!process.env.CLAUDE_CODE_OAUTH_TOKEN;
|
|
14923
14631
|
}
|
|
14924
|
-
const is3P = isEnvTruthy(process.env.CLAUDE_CODE_USE_BEDROCK) || isEnvTruthy(process.env.CLAUDE_CODE_USE_VERTEX) || isEnvTruthy(process.env.CLAUDE_CODE_USE_FOUNDRY);
|
|
14925
14632
|
const settings = getSettings_DEPRECATED() || {};
|
|
14633
|
+
const is3P = isEnvTruthy(process.env.CLAUDE_CODE_USE_BEDROCK) || isEnvTruthy(process.env.CLAUDE_CODE_USE_VERTEX) || isEnvTruthy(process.env.CLAUDE_CODE_USE_FOUNDRY) || settings.modelType === "openai" || settings.modelType === "gemini" || !!process.env.OPENAI_BASE_URL || !!process.env.GEMINI_BASE_URL;
|
|
14926
14634
|
const apiKeyHelper = settings.apiKeyHelper;
|
|
14927
14635
|
const hasExternalAuthToken = process.env.ANTHROPIC_AUTH_TOKEN || apiKeyHelper || process.env.CLAUDE_CODE_API_KEY_FILE_DESCRIPTOR;
|
|
14928
14636
|
const { source: apiKeySource } = getAnthropicApiKeyWithSource({
|
|
@@ -15337,7 +15045,7 @@ function isGcpAuthRefreshFromProjectSettings() {
|
|
|
15337
15045
|
}
|
|
15338
15046
|
async function checkGcpCredentialsValid() {
|
|
15339
15047
|
try {
|
|
15340
|
-
const { GoogleAuth } = await import("./chunk-
|
|
15048
|
+
const { GoogleAuth } = await import("./chunk-tezak8rx.js").then((m)=>__toESM(m.default,1));
|
|
15341
15049
|
const auth = new GoogleAuth({
|
|
15342
15050
|
scopes: ["https://www.googleapis.com/auth/cloud-platform"]
|
|
15343
15051
|
});
|
|
@@ -16389,4 +16097,4 @@ var init_client2 = __esm(() => {
|
|
|
16389
16097
|
init_getOauthProfile();
|
|
16390
16098
|
});
|
|
16391
16099
|
|
|
16392
|
-
export { _baseSet_default, init__baseSet, pickBy_default, init_pickBy, isEqual_default, init_isEqual, init_lodash, Chalk, source_default, init_source, sequential, init_sequential, _baseFor_default, init__baseFor, isPlainObject_default, init_isPlainObject, _overRest_default, init__overRest, _setToString_default, init__setToString, detectEncodingForResolvedPath, readFileSyncWithMetadata, readFileSync, init_fileRead, setSessionCache, resetSyncCache, setEligibility, getSettingsPath, getRemoteManagedSettingsSyncFromCache, init_syncCacheState, pathExists, MAX_OUTPUT_SIZE, readFileSafe, getFileModificationTime, getFileModificationTimeAsync, writeTextContent, detectFileEncoding, detectLineEndings, convertLeadingTabsToSpaces, getDisplayPath, findSimilarFile, FILE_NOT_FOUND_CWD_NOTE, suggestPathUnderCwd, isCompactLinePrefixEnabled, addLineNumbers, stripLineNumberPrefix, isDirEmpty, readFileSyncCached, getDesktopPath, isFileWithinReadSizeLimit, normalizePathForComparison, pathsEqual, init_file, isPathGitignored, init_gitignore, SETTING_SOURCES, getSettingSourceName, getSourceDisplayName, getSettingSourceDisplayNameLowercase, getSettingSourceDisplayNameCapitalized, parseSettingSourcesFlag, getEnabledSettingSources, isSettingSourceEnabled, SOURCES, init_constants, consumeInternalWrite, clearInternalWrites, init_internalWrites, getManagedFilePath, getManagedSettingsDropInDir, init_managedPath, BLACK_CIRCLE, BULLET_OPERATOR, TEARDROP_ASTERISK, UP_ARROW, DOWN_ARROW, LIGHTNING_BOLT, EFFORT_LOW, EFFORT_MEDIUM, EFFORT_HIGH, EFFORT_MAX, PLAY_ICON, PAUSE_ICON, REFRESH_ARROW, DIAMOND_OPEN, DIAMOND_FILLED, REFERENCE_MARK, BLOCKQUOTE_BAR, BRIDGE_READY_INDICATOR, BRIDGE_FAILED_INDICATOR, init_figures, EXTERNAL_PERMISSION_MODES, PERMISSION_MODES, init_permissions, permissionModeSchema, externalPermissionModeSchema, isExternalPermissionMode, toExternalPermissionMode, permissionModeFromString, permissionModeTitle, isDefaultMode, permissionModeSymbol, getModeColor, init_PermissionMode, HOOK_EVENTS, init_agentSdkTypes, DEFAULT_HOOK_SHELL, init_shellProvider, HooksSchema, ALLOWED_OFFICIAL_MARKETPLACE_NAMES, isMarketplaceAutoUpdate, validateOfficialNameSource, PluginHooksSchema, LspServerConfigSchema, PluginManifestSchema, isLocalPluginSource, isLocalMarketplaceSource, PluginMarketplaceEntrySchema, PluginMarketplaceSchema, PluginIdSchema, InstalledPluginsFileSchemaV1, InstalledPluginsFileSchemaV2, KnownMarketplacesFileSchema, init_schemas, mcpInfoFromString, getMcpPrefix, buildMcpToolName, getToolNameForPermissionCheck, getMcpDisplayName, extractMcpToolDisplayName, init_mcpStringUtils, AGENT_TOOL_NAME, LEGACY_AGENT_TOOL_NAME, VERIFICATION_AGENT_TYPE, ONE_SHOT_BUILTIN_AGENT_TYPES, init_constants2 as init_constants1, TASK_OUTPUT_TOOL_NAME, init_constants3 as init_constants2, TASK_STOP_TOOL_NAME, DESCRIPTION, init_prompt, normalizeLegacyToolName, getLegacyToolNames, permissionRuleValueFromString, permissionRuleValueToString, init_permissionRuleParser, escapeRegExp, capitalize, plural, firstLineOf, countCharInString, normalizeFullWidthDigits, normalizeFullWidthSpace, safeJoinLines, EndTruncatingAccumulator, truncateToLines, init_stringUtils, CUSTOMIZATION_SURFACES, SettingsSchema, isMcpServerNameEntry, isMcpServerCommandEntry, isMcpServerUrlEntry, init_types2 as init_types, validateSettingsFileContent, init_validation2 as init_validation, startMdmRawRead, init_rawRead, ensureMdmSettingsLoaded, getMdmSettings, getHkcuSettings, setMdmSettingsCache, refreshMdmSettings, init_settings, getManagedFileSettingsPresence, parseSettingsFile, getSettingsRootPathForSource, getSettingsFilePathForSource, getRelativeSettingsFilePathForSource, getSettingsForSource, getPolicySettingsOrigin, updateSettingsForSource, getManagedSettingsKeysForLogging, getInitialSettings, getSettings_DEPRECATED, getSettingsWithSources, getSettingsWithErrors, hasSkipDangerousModePermissionPrompt, hasAutoModeOptIn, rawSettingsContainsKey, init_settings2 as init_settings1, createBedrockRuntimeClient, getInferenceProfileBackingModel, isFoundationModel, getBedrockRegionPrefix, applyBedrockRegionPrefix, init_bedrock, CLAUDE_OPUS_4_6_CONFIG, ALL_MODEL_CONFIGS, init_configs, getAPIProvider, getAPIProviderForStatsig, isFirstPartyAnthropicBaseUrl, init_providers, getModelStrings2 as getModelStrings, ensureModelStringsInitialized, init_modelStrings, hasConsoleBillingAccess, hasClaudeAiBillingAccess, init_billing, getMockHeaderless429Message, getMockHeaders, applyMockHeaders, shouldProcessMockLimits, isMockFastModeRateLimitScenario, checkMockFastModeRateLimit, init_mockRateLimits, getOauthProfileFromApiKey, getOauthProfileFromOauthToken, init_getOauthProfile, shouldUseClaudeAIAuth, parseScopes, buildAuthUrl, exchangeCodeForTokens, refreshOAuthToken, fetchAndStoreUserRoles, createAndStoreApiKey, isOAuthTokenExpired, fetchProfileInfo, getOrganizationUUID, populateOAuthAccountInfoIfNeeded, storeOAuthAccountInfo, init_client2 as init_client, CCR_SESSION_INGRESS_TOKEN_PATH, maybePersistTokenForSubprocesses, readTokenFromWellKnownFile, init_authFileDescriptor, clearKeychainCache, init_macOsKeychainHelpers, normalizeApiKeyForConfig, init_authPortable, isAwsCredentialsProviderError, init_aws, AwsAuthStatusManager, init_awsAuthStatusManager, CONTEXT_1M_BETA_HEADER, CONTEXT_MANAGEMENT_BETA_HEADER, STRUCTURED_OUTPUTS_BETA_HEADER, EFFORT_BETA_HEADER, TASK_BUDGETS_BETA_HEADER, PROMPT_CACHING_SCOPE_BETA_HEADER, FAST_MODE_BETA_HEADER, REDACT_THINKING_BETA_HEADER, AFK_MODE_BETA_HEADER, ADVISOR_BETA_HEADER, VERTEX_COUNT_TOKENS_ALLOWED_BETAS, init_betas, getAntModelOverrideConfig, resolveAntModel, init_antModels, isFastModeEnabled, isFastModeAvailable, getFastModeUnavailableReason, FAST_MODE_MODEL_DISPLAY, getFastModeModel, getInitialFastModeSetting, isFastModeSupportedByModel, onCooldownTriggered, onCooldownExpired, getFastModeRuntimeState, triggerFastModeCooldown, clearFastModeCooldown, handleFastModeRejectedByAPI, onFastModeOverageRejection, handleFastModeOverageRejection, isFastModeCooldown, getFastModeState, onOrgFastModeChanged, resolveFastModeStatusFromCache, prefetchFastModeStatus, init_fastMode, COST_TIER_3_15, COST_HAIKU_35, COST_HAIKU_45, getOpus46CostTier, MODEL_COSTS, calculateUSDCost, formatModelPricing, init_modelCost, MODEL_ALIASES, init_aliases, isModelAllowed, init_modelAllowlist, getSmallFastModel, isNonCustomOpusModel, getUserSpecifiedModelSetting, getMainLoopModel, getBestModel, getDefaultOpusModel, getDefaultSonnetModel, getDefaultHaikuModel, getRuntimeMainLoopModel, getDefaultMainLoopModelSetting, getDefaultMainLoopModel, firstPartyNameToCanonical, getCanonicalName, getClaudeAiUserDefaultModelDescription, renderDefaultModelSetting, getOpus46PricingSuffix, isOpus1mMergeEnabled, renderModelSetting, getPublicModelDisplayName, renderModelName, getPublicModelName, parseUserSpecifiedModel, resolveSkillModelOverride, isLegacyModelRemapEnabled, modelDisplayString, getMarketingNameForModel, normalizeModelStringForAPI, init_model, getAnthropicClient, CLIENT_REQUEST_ID_HEADER, init_client as init_client1, refreshModelCapabilities, init_modelCapabilities, COMPACT_MAX_OUTPUT_TOKENS, CAPPED_DEFAULT_MAX_TOKENS, ESCALATED_MAX_TOKENS, is1mContextDisabled, has1mContext, getContextWindowForModel, getSonnet1mExpTreatmentEnabled, calculateContextPercentages, getModelMaxOutputTokens, getMaxThinkingTokensForModel, init_context, get3PModelCapabilityOverride, init_modelSupportOverrides, filterAllowedSdkBetas, modelSupportsStructuredOutputs, modelSupportsAutoMode, getToolSearchBetaHeader, shouldIncludeFirstPartyOnlyBetas, shouldUseGlobalCacheScope, getModelBetas, getBedrockExtraBodyParamsBetas, getMergedBetas, clearBetasCaches, init_betas2 as init_betas1, isMacOsKeychainLocked, init_macOsKeychainStorage, getSecureStorage, init_secureStorage, startKeychainPrefetch, ensureKeychainPrefetchCompleted, init_keychainPrefetch, sleep, init_sleep, getToolSchemaCache, clearToolSchemaCache, init_toolSchemaCache, isAnthropicAuthEnabled, getAuthTokenSource, getAnthropicApiKey, hasAnthropicApiKeyAuth, getAnthropicApiKeyWithSource, getConfiguredApiKeyHelper, isAwsAuthRefreshFromProjectSettings, isAwsCredentialExportFromProjectSettings, calculateApiKeyHelperTTL, getApiKeyHelperElapsedMs, getApiKeyFromApiKeyHelper, getApiKeyFromApiKeyHelperCached, clearApiKeyHelperCache, prefetchApiKeyFromApiKeyHelperIfSafe, refreshAwsAuth, refreshAndGetAwsCredentials, clearAwsCredentialsCache, isGcpAuthRefreshFromProjectSettings, checkGcpCredentialsValid, refreshGcpAuth, refreshGcpCredentialsIfNeeded, clearGcpCredentialsCache, prefetchGcpCredentialsIfSafe, prefetchAwsCredentialsAndBedRockInfoIfSafe, getApiKeyFromConfigOrMacOSKeychain, saveApiKey, isCustomApiKeyApproved, removeApiKey, saveOAuthTokensIfNeeded, getClaudeAIOAuthTokens, clearOAuthTokenCache, handleOAuth401Error, getClaudeAIOAuthTokensAsync, checkAndRefreshOAuthTokenIfNeeded, isClaudeAISubscriber, hasProfileScope, is1PApiCustomer, getOauthAccountInfo, isOverageProvisioningAllowed, hasOpusAccess, getSubscriptionType, isMaxSubscriber, isTeamSubscriber, isTeamPremiumSubscriber, isEnterpriseSubscriber, isProSubscriber, getRateLimitTier, getSubscriptionName, isUsing3PServices, isOtelHeadersHelperFromProjectOrLocalSettings, getOtelHeadersFromHelper, isConsumerSubscriber, getAccountInformation, validateForceLoginOrg, exports_auth, init_auth2 as init_auth, getClaudeCodeUserAgent, init_userAgent, WORKLOAD_CRON, getWorkload, runWithWorkload, init_workloadContext, getUserAgent, getMCPUserAgent, getWebFetchUserAgent, getAuthHeaders, withOAuth401Retry, init_http, initUser, resetUserCache, getGitEmail, init_user, logs, init_esm2 as init_esm, LoggerProvider, ConsoleLogRecordExporter, BatchLogRecordProcessor, init_esm3 as init_esm1, isAnalyticsDisabled, isFeedbackSurveyDisabled, init_config2 as init_config, isProcessRunning, getAncestorPidsAsync, getProcessCommand, init_genericProcessUtils, initJetBrainsDetection, envDynamic, init_envDynamic, prefetchOfficialMcpUrls, init_officialRegistry, isAgentSwarmsEnabled, init_agentSwarmsEnabled, getAgentContext, runWithAgentContext, getSubagentLogName, consumeInvokingRequestId, init_agentContext, sanitizeToolNameForAnalytics, isToolDetailsLoggingEnabled, mcpToolDetailsForAnalytics, extractMcpToolDetails, extractSkillName, extractToolInputForTelemetry, getFileExtensionForAnalytics, getFileExtensionsFromBashCommand, getEventMetadata, init_metadata, isSinkKilled, init_sinkKillswitch, getEventSamplingConfig, shouldSampleEvent, shutdown1PEventLogging, is1PEventLoggingEnabled, logEventTo1P, logGrowthBookExperimentTo1P, initialize1PEventLogging, reinitialize1PEventLoggingIfConfigChanged, init_firstPartyEventLogger, onGrowthBookRefresh, hasGrowthBookEnvOverride, getAllGrowthBookFeatures, getGrowthBookConfigOverrides, setGrowthBookConfigOverride, clearGrowthBookConfigOverrides, getApiBaseUrlHost, initializeGrowthBook, getFeatureValue_DEPRECATED, getFeatureValue_CACHED_MAY_BE_STALE, getFeatureValue_CACHED_WITH_REFRESH, checkStatsigFeatureGate_CACHED_MAY_BE_STALE, checkSecurityRestrictionGate, checkGate_CACHED_OR_BLOCKING, refreshGrowthBookAfterAuthChange, resetGrowthBook, refreshGrowthBookFeatures, setupPeriodicGrowthBookRefresh, stopPeriodicGrowthBookRefresh, getDynamicConfig_BLOCKS_ON_INIT, getDynamicConfig_CACHED_MAY_BE_STALE, init_growthbook, isAutoMemoryEnabled, getMemoryBaseDir, hasAutoMemPathOverride, getAutoMemPath, getAutoMemEntrypoint, isAutoMemPath, init_paths, NOTIFICATION_CHANNELS, EDITOR_MODES, TEAMMATE_MODES, init_configConstants, DEFAULT_GLOBAL_CONFIG, GLOBAL_CONFIG_KEYS, isGlobalConfigKey, PROJECT_CONFIG_KEYS, resetTrustDialogAcceptedCacheForTesting, checkHasTrustDialogAccepted, isPathTrusted, isProjectConfigKey, saveGlobalConfig, getGlobalConfigWriteCount, CONFIG_WRITE_DISPLAY_THRESHOLD, getGlobalConfig, getRemoteControlAtStartup, getCustomApiKeyStatus, enableConfigs, getProjectPathForConfig, getCurrentProjectConfig, saveCurrentProjectConfig, isAutoUpdaterDisabled, shouldSkipPluginAutoupdate, formatAutoUpdaterDisabledReason, getAutoUpdaterDisabledReason, getOrCreateUserID, recordFirstStartTime, getMemoryPath, getManagedClaudeRulesDir, getUserClaudeRulesDir, _getConfigForTesting, _wouldLoseAuthStateForTesting, _setGlobalConfigCacheForTesting, init_config as init_config1 };
|
|
16100
|
+
export { _baseSet_default, init__baseSet, pickBy_default, init_pickBy, isEqual_default, init_isEqual, init_lodash, sequential, init_sequential, _baseFor_default, init__baseFor, isPlainObject_default, init_isPlainObject, _overRest_default, init__overRest, _setToString_default, init__setToString, detectEncodingForResolvedPath, readFileSyncWithMetadata, readFileSync, init_fileRead, setSessionCache, resetSyncCache, setEligibility, getSettingsPath, getRemoteManagedSettingsSyncFromCache, init_syncCacheState, pathExists, MAX_OUTPUT_SIZE, readFileSafe, getFileModificationTime, getFileModificationTimeAsync, writeTextContent, detectFileEncoding, detectLineEndings, convertLeadingTabsToSpaces, getDisplayPath, findSimilarFile, FILE_NOT_FOUND_CWD_NOTE, suggestPathUnderCwd, isCompactLinePrefixEnabled, addLineNumbers, stripLineNumberPrefix, isDirEmpty, readFileSyncCached, getDesktopPath, isFileWithinReadSizeLimit, normalizePathForComparison, pathsEqual, init_file, isPathGitignored, init_gitignore, SETTING_SOURCES, getSettingSourceName, getSourceDisplayName, getSettingSourceDisplayNameLowercase, getSettingSourceDisplayNameCapitalized, parseSettingSourcesFlag, getEnabledSettingSources, isSettingSourceEnabled, SOURCES, init_constants, consumeInternalWrite, clearInternalWrites, init_internalWrites, getManagedFilePath, getManagedSettingsDropInDir, init_managedPath, BLACK_CIRCLE, BULLET_OPERATOR, TEARDROP_ASTERISK, UP_ARROW, DOWN_ARROW, LIGHTNING_BOLT, EFFORT_LOW, EFFORT_MEDIUM, EFFORT_HIGH, EFFORT_MAX, PLAY_ICON, PAUSE_ICON, REFRESH_ARROW, DIAMOND_OPEN, DIAMOND_FILLED, REFERENCE_MARK, FLAG_ICON, BLOCKQUOTE_BAR, BRIDGE_READY_INDICATOR, BRIDGE_FAILED_INDICATOR, init_figures, permissionModeSchema, externalPermissionModeSchema, isExternalPermissionMode, toExternalPermissionMode, permissionModeFromString, permissionModeTitle, isDefaultMode, permissionModeSymbol, getModeColor, init_PermissionMode, HOOK_EVENTS, init_agentSdkTypes, DEFAULT_HOOK_SHELL, init_shellProvider, HooksSchema, ALLOWED_OFFICIAL_MARKETPLACE_NAMES, isMarketplaceAutoUpdate, validateOfficialNameSource, PluginHooksSchema, LspServerConfigSchema, PluginManifestSchema, isLocalPluginSource, isLocalMarketplaceSource, PluginMarketplaceEntrySchema, PluginMarketplaceSchema, PluginIdSchema, InstalledPluginsFileSchemaV1, InstalledPluginsFileSchemaV2, KnownMarketplacesFileSchema, init_schemas, mcpInfoFromString, getMcpPrefix, buildMcpToolName, getToolNameForPermissionCheck, getMcpDisplayName, extractMcpToolDisplayName, init_mcpStringUtils, AGENT_TOOL_NAME, LEGACY_AGENT_TOOL_NAME, VERIFICATION_AGENT_TYPE, ONE_SHOT_BUILTIN_AGENT_TYPES, init_constants2 as init_constants1, TASK_OUTPUT_TOOL_NAME, init_constants3 as init_constants2, TASK_STOP_TOOL_NAME, DESCRIPTION, init_prompt, BRIEF_TOOL_NAME, LEGACY_BRIEF_TOOL_NAME, DESCRIPTION2 as DESCRIPTION1, BRIEF_TOOL_PROMPT, exports_prompt, init_prompt2 as init_prompt1, normalizeLegacyToolName, getLegacyToolNames, permissionRuleValueFromString, permissionRuleValueToString, init_permissionRuleParser, escapeRegExp, capitalize, plural, firstLineOf, countCharInString, normalizeFullWidthDigits, normalizeFullWidthSpace, safeJoinLines, EndTruncatingAccumulator, truncateToLines, init_stringUtils, CUSTOMIZATION_SURFACES, SettingsSchema, isMcpServerNameEntry, isMcpServerCommandEntry, isMcpServerUrlEntry, init_types2 as init_types, validateSettingsFileContent, init_validation2 as init_validation, startMdmRawRead, init_rawRead, ensureMdmSettingsLoaded, getMdmSettings, getHkcuSettings, setMdmSettingsCache, refreshMdmSettings, init_settings, getManagedFileSettingsPresence, parseSettingsFile, getSettingsRootPathForSource, getSettingsFilePathForSource, getRelativeSettingsFilePathForSource, getSettingsForSource, getPolicySettingsOrigin, updateSettingsForSource, getManagedSettingsKeysForLogging, getInitialSettings, getSettings_DEPRECATED, getSettingsWithSources, getSettingsWithErrors, hasSkipDangerousModePermissionPrompt, hasAutoModeOptIn, rawSettingsContainsKey, init_settings2 as init_settings1, createBedrockRuntimeClient, getInferenceProfileBackingModel, isFoundationModel, getBedrockRegionPrefix, applyBedrockRegionPrefix, init_bedrock, CLAUDE_OPUS_4_6_CONFIG, ALL_MODEL_CONFIGS, init_configs, getAPIProvider, getAPIProviderForStatsig, isFirstPartyAnthropicBaseUrl, init_providers, getModelStrings2 as getModelStrings, ensureModelStringsInitialized, init_modelStrings, hasConsoleBillingAccess, hasClaudeAiBillingAccess, init_billing, getMockHeaderless429Message, getMockHeaders, applyMockHeaders, shouldProcessMockLimits, isMockFastModeRateLimitScenario, checkMockFastModeRateLimit, init_mockRateLimits, getOauthProfileFromApiKey, getOauthProfileFromOauthToken, init_getOauthProfile, shouldUseClaudeAIAuth, parseScopes, buildAuthUrl, exchangeCodeForTokens, refreshOAuthToken, fetchAndStoreUserRoles, createAndStoreApiKey, isOAuthTokenExpired, fetchProfileInfo, getOrganizationUUID, populateOAuthAccountInfoIfNeeded, storeOAuthAccountInfo, init_client2 as init_client, CCR_SESSION_INGRESS_TOKEN_PATH, maybePersistTokenForSubprocesses, readTokenFromWellKnownFile, init_authFileDescriptor, clearKeychainCache, init_macOsKeychainHelpers, normalizeApiKeyForConfig, init_authPortable, isAwsCredentialsProviderError, init_aws, AwsAuthStatusManager, init_awsAuthStatusManager, CONTEXT_1M_BETA_HEADER, CONTEXT_MANAGEMENT_BETA_HEADER, STRUCTURED_OUTPUTS_BETA_HEADER, EFFORT_BETA_HEADER, TASK_BUDGETS_BETA_HEADER, PROMPT_CACHING_SCOPE_BETA_HEADER, FAST_MODE_BETA_HEADER, REDACT_THINKING_BETA_HEADER, AFK_MODE_BETA_HEADER, ADVISOR_BETA_HEADER, VERTEX_COUNT_TOKENS_ALLOWED_BETAS, init_betas, getAntModelOverrideConfig, getAntModels, resolveAntModel, init_antModels, isFastModeEnabled, isFastModeAvailable, getFastModeUnavailableReason, FAST_MODE_MODEL_DISPLAY, getFastModeModel, getInitialFastModeSetting, isFastModeSupportedByModel, onCooldownTriggered, onCooldownExpired, getFastModeRuntimeState, triggerFastModeCooldown, clearFastModeCooldown, handleFastModeRejectedByAPI, onFastModeOverageRejection, handleFastModeOverageRejection, isFastModeCooldown, getFastModeState, onOrgFastModeChanged, resolveFastModeStatusFromCache, prefetchFastModeStatus, init_fastMode, COST_TIER_3_15, COST_HAIKU_35, COST_HAIKU_45, getOpus46CostTier, MODEL_COSTS, calculateUSDCost, formatModelPricing, init_modelCost, MODEL_ALIASES, init_aliases, isModelAllowed, init_modelAllowlist, getSmallFastModel, isNonCustomOpusModel, getUserSpecifiedModelSetting, getMainLoopModel, getBestModel, getDefaultOpusModel, getDefaultSonnetModel, getDefaultHaikuModel, getRuntimeMainLoopModel, getDefaultMainLoopModelSetting, getDefaultMainLoopModel, firstPartyNameToCanonical, getCanonicalName, getClaudeAiUserDefaultModelDescription, renderDefaultModelSetting, getOpus46PricingSuffix, isOpus1mMergeEnabled, renderModelSetting, getPublicModelDisplayName, renderModelName, getPublicModelName, parseUserSpecifiedModel, resolveSkillModelOverride, isLegacyModelRemapEnabled, modelDisplayString, getMarketingNameForModel, normalizeModelStringForAPI, init_model, getAnthropicClient, CLIENT_REQUEST_ID_HEADER, init_client as init_client1, refreshModelCapabilities, init_modelCapabilities, COMPACT_MAX_OUTPUT_TOKENS, CAPPED_DEFAULT_MAX_TOKENS, ESCALATED_MAX_TOKENS, is1mContextDisabled, has1mContext, getContextWindowForModel, getSonnet1mExpTreatmentEnabled, calculateContextPercentages, getModelMaxOutputTokens, getMaxThinkingTokensForModel, init_context, get3PModelCapabilityOverride, init_modelSupportOverrides, filterAllowedSdkBetas, modelSupportsStructuredOutputs, modelSupportsAutoMode, getToolSearchBetaHeader, shouldIncludeFirstPartyOnlyBetas, shouldUseGlobalCacheScope, getModelBetas, getBedrockExtraBodyParamsBetas, getMergedBetas, clearBetasCaches, init_betas2 as init_betas1, isMacOsKeychainLocked, init_macOsKeychainStorage, getSecureStorage, init_secureStorage, startKeychainPrefetch, ensureKeychainPrefetchCompleted, init_keychainPrefetch, getToolSchemaCache, clearToolSchemaCache, init_toolSchemaCache, isAnthropicAuthEnabled, getAuthTokenSource, getAnthropicApiKey, hasAnthropicApiKeyAuth, getAnthropicApiKeyWithSource, getConfiguredApiKeyHelper, isAwsAuthRefreshFromProjectSettings, isAwsCredentialExportFromProjectSettings, calculateApiKeyHelperTTL, getApiKeyHelperElapsedMs, getApiKeyFromApiKeyHelper, getApiKeyFromApiKeyHelperCached, clearApiKeyHelperCache, prefetchApiKeyFromApiKeyHelperIfSafe, refreshAwsAuth, refreshAndGetAwsCredentials, clearAwsCredentialsCache, isGcpAuthRefreshFromProjectSettings, checkGcpCredentialsValid, refreshGcpAuth, refreshGcpCredentialsIfNeeded, clearGcpCredentialsCache, prefetchGcpCredentialsIfSafe, prefetchAwsCredentialsAndBedRockInfoIfSafe, getApiKeyFromConfigOrMacOSKeychain, saveApiKey, isCustomApiKeyApproved, removeApiKey, saveOAuthTokensIfNeeded, getClaudeAIOAuthTokens, clearOAuthTokenCache, handleOAuth401Error, getClaudeAIOAuthTokensAsync, checkAndRefreshOAuthTokenIfNeeded, isClaudeAISubscriber, hasProfileScope, is1PApiCustomer, getOauthAccountInfo, isOverageProvisioningAllowed, hasOpusAccess, getSubscriptionType, isMaxSubscriber, isTeamSubscriber, isTeamPremiumSubscriber, isEnterpriseSubscriber, isProSubscriber, getRateLimitTier, getSubscriptionName, isUsing3PServices, isOtelHeadersHelperFromProjectOrLocalSettings, getOtelHeadersFromHelper, isConsumerSubscriber, getAccountInformation, validateForceLoginOrg, exports_auth, init_auth2 as init_auth, getClaudeCodeUserAgent, init_userAgent, WORKLOAD_CRON, getWorkload, runWithWorkload, init_workloadContext, getUserAgent, getMCPUserAgent, getWebFetchUserAgent, getAuthHeaders, withOAuth401Retry, init_http, initUser, resetUserCache, getGitEmail, init_user, require_src5 as require_src, LoggerProvider, ConsoleLogRecordExporter, BatchLogRecordProcessor, init_esm2 as init_esm, isAnalyticsDisabled, isFeedbackSurveyDisabled, init_config2 as init_config, isProcessRunning, getAncestorPidsAsync, getProcessCommand, init_genericProcessUtils, initJetBrainsDetection, envDynamic, init_envDynamic, prefetchOfficialMcpUrls, init_officialRegistry, isAgentSwarmsEnabled, init_agentSwarmsEnabled, getAgentContext, runWithAgentContext, getSubagentLogName, consumeInvokingRequestId, init_agentContext, sanitizeToolNameForAnalytics, isToolDetailsLoggingEnabled, mcpToolDetailsForAnalytics, extractMcpToolDetails, extractSkillName, extractToolInputForTelemetry, getFileExtensionForAnalytics, getFileExtensionsFromBashCommand, getEventMetadata, init_metadata, isSinkKilled, init_sinkKillswitch, getEventSamplingConfig, shouldSampleEvent, shutdown1PEventLogging, is1PEventLoggingEnabled, logEventTo1P, logGrowthBookExperimentTo1P, initialize1PEventLogging, reinitialize1PEventLoggingIfConfigChanged, init_firstPartyEventLogger, onGrowthBookRefresh, hasGrowthBookEnvOverride, getAllGrowthBookFeatures, getGrowthBookConfigOverrides, setGrowthBookConfigOverride, clearGrowthBookConfigOverrides, getApiBaseUrlHost, initializeGrowthBook, getFeatureValue_DEPRECATED, getFeatureValue_CACHED_MAY_BE_STALE, getFeatureValue_CACHED_WITH_REFRESH, checkStatsigFeatureGate_CACHED_MAY_BE_STALE, checkSecurityRestrictionGate, checkGate_CACHED_OR_BLOCKING, refreshGrowthBookAfterAuthChange, resetGrowthBook, refreshGrowthBookFeatures, setupPeriodicGrowthBookRefresh, stopPeriodicGrowthBookRefresh, getDynamicConfig_BLOCKS_ON_INIT, getDynamicConfig_CACHED_MAY_BE_STALE, init_growthbook, isAutoMemoryEnabled, isExtractModeActive, getMemoryBaseDir, hasAutoMemPathOverride, getAutoMemPath, getAutoMemEntrypoint, isAutoMemPath, init_paths, NOTIFICATION_CHANNELS, EDITOR_MODES, TEAMMATE_MODES, init_configConstants, DEFAULT_GLOBAL_CONFIG, GLOBAL_CONFIG_KEYS, isGlobalConfigKey, PROJECT_CONFIG_KEYS, resetTrustDialogAcceptedCacheForTesting, checkHasTrustDialogAccepted, isPathTrusted, isProjectConfigKey, saveGlobalConfig, getGlobalConfigWriteCount, CONFIG_WRITE_DISPLAY_THRESHOLD, getGlobalConfig, getRemoteControlAtStartup, getCustomApiKeyStatus, enableConfigs, getProjectPathForConfig, getCurrentProjectConfig, saveCurrentProjectConfig, isAutoUpdaterDisabled, shouldSkipPluginAutoupdate, formatAutoUpdaterDisabledReason, getAutoUpdaterDisabledReason, getOrCreateUserID, recordFirstStartTime, getMemoryPath, getManagedClaudeRulesDir, getUserClaudeRulesDir, _getConfigForTesting, _wouldLoseAuthStateForTesting, _setGlobalConfigCacheForTesting, init_config as init_config1 };
|