claude-code-best 1.8.0 → 1.9.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 +30 -29
- package/dist/{chunk-hph307n4.js → chunk-03v6skhg.js} +26 -26
- package/dist/{chunk-vank0acb.js → chunk-040fs3bs.js} +3 -3
- package/dist/chunk-04tm5tgb.js +129 -0
- package/dist/{chunk-ewfnr2kc.js → chunk-07t4kz2e.js} +63 -56
- package/dist/{chunk-dmsneaaq.js → chunk-0bmy4kjm.js} +1 -1
- package/dist/{chunk-07hme8g1.js → chunk-0j5m6c68.js} +3 -3
- package/dist/{chunk-8rvn67de.js → chunk-0rbwrjqk.js} +66 -59
- package/dist/{chunk-c0fka9kt.js → chunk-0rd853rs.js} +63 -56
- package/dist/{chunk-ec9bfefg.js → chunk-0rjgkz6a.js} +3 -3
- package/dist/{chunk-t3jsc3b4.js → chunk-0rjxhydk.js} +65 -58
- package/dist/{chunk-k3h49w53.js → chunk-0s5rp3xp.js} +2 -2
- package/dist/{chunk-bgc5qnd6.js → chunk-0sz4ykc8.js} +19 -12
- package/dist/chunk-0v61f8bw.js +28 -0
- package/dist/{chunk-8wn7137w.js → chunk-0xbnw7e9.js} +2 -2
- package/dist/{chunk-26naqvnf.js → chunk-11q4j70f.js} +5 -5
- package/dist/{chunk-6b6pv595.js → chunk-12yhesm9.js} +2 -2
- package/dist/chunk-19sabysw.js +122 -0
- package/dist/{chunk-qszmebqw.js → chunk-1bn94cge.js} +2 -2
- package/dist/chunk-1cmzf5f7.js +37 -0
- package/dist/{chunk-za24x8e6.js → chunk-1dh9y2g9.js} +306 -151
- package/dist/{chunk-ns5ckn0j.js → chunk-1fexraxj.js} +1 -1
- package/dist/{chunk-r87w8r5v.js → chunk-1mrw14pd.js} +7 -7
- package/dist/chunk-1qzt23et.js +8 -0
- package/dist/chunk-1z9bmera.js +8 -0
- package/dist/{chunk-20tkh843.js → chunk-221qh3ba.js} +63 -56
- package/dist/{chunk-x4azk52n.js → chunk-2501y0qn.js} +21 -21
- package/dist/{chunk-tkwtc12m.js → chunk-26bxxwf6.js} +4 -4
- package/dist/{chunk-jwa7qf81.js → chunk-27hsrkpd.js} +4 -4
- package/dist/{chunk-ab8ddz4h.js → chunk-2by46aay.js} +9 -9
- package/dist/{chunk-jgdm5p7t.js → chunk-2cyjtt9z.js} +2 -2
- package/dist/{chunk-enq2chfq.js → chunk-2e6jz0ej.js} +3 -3
- package/dist/{chunk-7vp42apg.js → chunk-2nvs8639.js} +64 -57
- package/dist/{chunk-n9p0ss91.js → chunk-2pr8dmkw.js} +1565 -749
- package/dist/{chunk-yspxy3e8.js → chunk-2q1gcvk9.js} +10 -10
- package/dist/{chunk-0y082g7m.js → chunk-2q7ww4pa.js} +42 -42
- package/dist/chunk-2qg5ewk3.js +207 -0
- package/dist/chunk-2t26mfb1.js +80 -0
- package/dist/{chunk-x916qx2c.js → chunk-2wa6knad.js} +64 -57
- package/dist/chunk-2xcczxbp.js +128 -0
- package/dist/{chunk-y3f0q1yz.js → chunk-2y22jqr5.js} +9 -9
- package/dist/chunk-37c07frr.js +94 -0
- package/dist/{chunk-2f1k60ye.js → chunk-399dvtfq.js} +159 -59
- package/dist/chunk-3f8xw8t7.js +26 -0
- package/dist/{chunk-wm3yj6z2.js → chunk-3g9nhh30.js} +2 -2
- package/dist/chunk-3gbmfs3p.js +140 -0
- package/dist/{chunk-nwg30c8d.js → chunk-3gttavbe.js} +34 -44
- package/dist/chunk-3pk2fc73.js +514 -0
- package/dist/{chunk-p90f2nc9.js → chunk-3sag2vww.js} +20 -20
- package/dist/{chunk-7v0fvjcw.js → chunk-3skmxk2y.js} +63 -56
- package/dist/{chunk-caey4y8f.js → chunk-3t4w9ysv.js} +11 -11
- package/dist/{chunk-c81hswwd.js → chunk-3wt9ytsw.js} +6 -6
- package/dist/{chunk-03geymck.js → chunk-3ymerb20.js} +64 -57
- package/dist/{chunk-r4v9t688.js → chunk-3z4dcst0.js} +22 -22
- package/dist/{chunk-krrxrzr4.js → chunk-40n35nr8.js} +63 -56
- package/dist/{chunk-7d11053z.js → chunk-42176dsb.js} +2 -2
- package/dist/{chunk-z3q0mr1s.js → chunk-434mgf3p.js} +63 -56
- package/dist/{chunk-cfxan8nc.js → chunk-48ef3q17.js} +65 -58
- package/dist/{chunk-7rzk7d37.js → chunk-4c843krn.js} +25 -9
- package/dist/chunk-4f3pde4x.js +583 -0
- package/dist/{chunk-s17095ng.js → chunk-4h87abvn.js} +22 -22
- package/dist/chunk-4k37jfk7.js +342 -0
- package/dist/{chunk-brjsspt6.js → chunk-4qzt1dqf.js} +21 -21
- package/dist/{chunk-sckpstmv.js → chunk-5175g5we.js} +64 -57
- package/dist/{chunk-x9w1bv4a.js → chunk-59m2hkn3.js} +5 -5
- package/dist/{chunk-4bkr7cdb.js → chunk-5k004pfz.js} +21 -21
- package/dist/chunk-5q9cm9at.js +195 -0
- package/dist/{chunk-b3v7tk69.js → chunk-5w9eevss.js} +1 -1
- package/dist/{chunk-t5ywz5f9.js → chunk-5wsx54ya.js} +66 -59
- package/dist/{chunk-4fghnb4h.js → chunk-64m2p0fr.js} +1 -1
- package/dist/{chunk-05dy61pz.js → chunk-67f16jpf.js} +14 -25
- package/dist/chunk-6c6kdarp.js +226 -0
- package/dist/{chunk-jkpnx6d7.js → chunk-6f8rdjpr.js} +2 -2
- package/dist/{chunk-rf16rpg8.js → chunk-6h2zne6a.js} +14 -8
- package/dist/{chunk-qgvhan2t.js → chunk-6mb3gprt.js} +63 -56
- package/dist/chunk-6phbkzpx.js +347 -0
- package/dist/{chunk-mp9vfdcd.js → chunk-6q7v03rd.js} +1 -1
- package/dist/{chunk-sbzpht0c.js → chunk-6veqdcnr.js} +1 -1
- package/dist/{chunk-7bsrkxhf.js → chunk-6xnyvynx.js} +63 -56
- package/dist/{chunk-8atss5rz.js → chunk-70ftrmj8.js} +7 -7
- package/dist/{chunk-2baftj07.js → chunk-73bv553k.js} +71 -64
- package/dist/{chunk-x9jtstht.js → chunk-73yp3q0h.js} +18 -16
- package/dist/{chunk-1kq0x8dz.js → chunk-75hd7k1p.js} +14 -10
- package/dist/{chunk-pzrjj7h0.js → chunk-79bf1qvf.js} +5 -5
- package/dist/{chunk-pm491jb5.js → chunk-7at6y3z2.js} +3 -3
- package/dist/chunk-7dv9n7ge.js +91 -0
- package/dist/{chunk-47jk53ef.js → chunk-7f2k1ddn.js} +2 -2
- package/dist/{chunk-3y5jpqdf.js → chunk-7j7fbmf2.js} +8 -8
- package/dist/{chunk-wgcj2cgs.js → chunk-7jx306p8.js} +20 -20
- package/dist/{chunk-fgs4axa8.js → chunk-7mer0e9z.js} +20 -20
- package/dist/{chunk-yancgz33.js → chunk-7napdtem.js} +22 -22
- package/dist/{chunk-hzam3v9n.js → chunk-816j64jc.js} +5 -5
- package/dist/{chunk-dvw8byhq.js → chunk-8450evyk.js} +1 -1
- package/dist/{chunk-9f3x4r07.js → chunk-899vev03.js} +6 -6
- package/dist/{chunk-5e8w9mhp.js → chunk-8ktgxh4r.js} +5 -5
- package/dist/{chunk-6as82hge.js → chunk-8kzqyyjd.js} +1 -1
- package/dist/{chunk-ebhvnagj.js → chunk-8qraqb46.js} +2 -2
- package/dist/{chunk-h7cp4wy3.js → chunk-8rpvgrmr.js} +64 -57
- package/dist/{chunk-awhw6wp5.js → chunk-8scfbgn7.js} +137 -92
- package/dist/chunk-8vwc039q.js +94 -0
- package/dist/{chunk-8qrr3jhc.js → chunk-906fcbs0.js} +10 -10
- package/dist/{chunk-r6hgmetw.js → chunk-91xvmecy.js} +20 -20
- package/dist/{chunk-j65n711w.js → chunk-94w3b0ds.js} +3 -3
- package/dist/{chunk-temejnge.js → chunk-968vbp44.js} +4 -4
- package/dist/chunk-98n19k9z.js +136 -0
- package/dist/chunk-99qkqkb3.js +126 -0
- package/dist/{chunk-vyhzvqzc.js → chunk-9b41k3g2.js} +4 -4
- package/dist/{chunk-y6jp6ajk.js → chunk-9cg1cswh.js} +64 -57
- package/dist/{chunk-24dgse44.js → chunk-9d7dhwhn.js} +3 -3
- package/dist/chunk-9h87btmg.js +123 -0
- package/dist/{chunk-5gvt170a.js → chunk-9mvk4gyw.js} +1 -1
- package/dist/{chunk-3x9ewb0c.js → chunk-9nqj2261.js} +2 -2
- package/dist/{chunk-mt1zbwpm.js → chunk-9q44k0j3.js} +21 -21
- package/dist/{chunk-vn6fxqtx.js → chunk-9qa0wks3.js} +64 -57
- package/dist/chunk-9qfgk3ey.js +203 -0
- package/dist/{chunk-svkdak63.js → chunk-9s6wjjgc.js} +6 -6
- package/dist/{chunk-3rdscn7v.js → chunk-9sezj2s0.js} +10 -10
- package/dist/chunk-9sq8hkpk.js +8 -0
- package/dist/{chunk-pstn17ps.js → chunk-9txcrk0d.js} +69 -62
- package/dist/{chunk-pzzr97ff.js → chunk-9w4zt45w.js} +22 -22
- package/dist/{chunk-jvq0h0fq.js → chunk-9wm27ekn.js} +3 -3
- package/dist/{chunk-2x9v6ryw.js → chunk-9z8x61ch.js} +5 -3
- package/dist/{chunk-e1awvmbq.js → chunk-a0kvb5h1.js} +6 -6
- package/dist/{chunk-zzwvnewd.js → chunk-a1gr9gv9.js} +11 -11
- package/dist/{chunk-7w71dt0w.js → chunk-a2yz9sk4.js} +19 -4
- package/dist/{chunk-kh3eed6x.js → chunk-a6a879pe.js} +6 -6
- package/dist/{chunk-h724wqmb.js → chunk-a8ea1qyx.js} +63 -56
- package/dist/chunk-ab9h55e7.js +27 -0
- package/dist/{chunk-m2akjkdt.js → chunk-abcmnpw1.js} +6118 -2774
- package/dist/{chunk-rqf8xzbe.js → chunk-acad1ptb.js} +1 -1
- package/dist/chunk-aggcq5pt.js +13 -0
- package/dist/{chunk-tqgr4vfr.js → chunk-apefr3y8.js} +32 -32
- package/dist/{chunk-8g20wmye.js → chunk-argtwy1f.js} +5 -5
- package/dist/{chunk-evqj01ne.js → chunk-as6qggjr.js} +66 -59
- package/dist/{chunk-rfk6dz01.js → chunk-avv2r6q3.js} +6 -6
- package/dist/{chunk-v0bnnvkk.js → chunk-awxdzm87.js} +63 -56
- package/dist/chunk-azs4mq8s.js +185 -0
- package/dist/{chunk-8axk7tcz.js → chunk-b1tg76s0.js} +26 -26
- package/dist/chunk-b2meyyfn.js +126 -0
- package/dist/{chunk-6g935wma.js → chunk-b34nmtsh.js} +3 -3
- package/dist/chunk-b52gqznc.js +41 -0
- package/dist/{chunk-jejc5yrq.js → chunk-b607fyhm.js} +21 -21
- package/dist/{chunk-05qw4srn.js → chunk-bbnnxn7n.js} +63 -56
- package/dist/{chunk-1aaad6af.js → chunk-bc7vdtyx.js} +2 -2
- package/dist/{chunk-pj7pgttc.js → chunk-bd8h3bdx.js} +63 -56
- package/dist/{chunk-stfjvnbc.js → chunk-bedpg2b2.js} +19 -96
- package/dist/{chunk-zzn4hdgx.js → chunk-bftqj0aq.js} +64 -57
- package/dist/{chunk-17h7bnca.js → chunk-bn35xrzj.js} +7 -7
- package/dist/{chunk-tegg6r4t.js → chunk-bn99g0q6.js} +1 -1
- package/dist/{chunk-3hvpadv2.js → chunk-bqt5ykf8.js} +21 -21
- package/dist/{chunk-954x38qh.js → chunk-bvr12bqd.js} +3 -3
- package/dist/chunk-c12prd7j.js +127 -0
- package/dist/{chunk-ck7414y9.js → chunk-c14fx8xd.js} +63 -56
- package/dist/{chunk-v292vhrx.js → chunk-c26ntdxv.js} +5 -5
- package/dist/chunk-c2tvdak4.js +358 -0
- package/dist/chunk-c5mmqz6b.js +128 -0
- package/dist/chunk-cbd6s6et.js +9 -0
- package/dist/{chunk-vx7zv6zh.js → chunk-cfken2zf.js} +23 -23
- package/dist/chunk-cgzktn8a.js +395 -0
- package/dist/{chunk-1dhedd9z.js → chunk-ch9wpxam.js} +1 -1
- package/dist/{chunk-scphhw12.js → chunk-ck4dd7vx.js} +63 -56
- package/dist/{chunk-fnm8y1x0.js → chunk-cpzppa0f.js} +63 -56
- package/dist/chunk-crchz5q8.js +13 -0
- package/dist/{chunk-f5gd73ce.js → chunk-cs8wascn.js} +71 -64
- package/dist/chunk-cxscz76t.js +66 -0
- package/dist/{chunk-01nytp91.js → chunk-d31ye749.js} +68 -61
- package/dist/{chunk-6d0241ac.js → chunk-d47prfzj.js} +1 -1
- package/dist/{chunk-ambd2vf1.js → chunk-dawa9vdn.js} +7 -7
- package/dist/{chunk-abay4sak.js → chunk-dh52jprq.js} +2 -2
- package/dist/{chunk-4dxhrqgq.js → chunk-dj6r3bps.js} +78 -71
- package/dist/{chunk-gs1a03e2.js → chunk-djf6xgmk.js} +22 -22
- package/dist/chunk-drmhxxar.js +300 -0
- package/dist/{chunk-8eg4phfy.js → chunk-dsk2j7pz.js} +1 -1
- package/dist/{chunk-dgx7p003.js → chunk-dtk2406w.js} +63 -56
- package/dist/{chunk-z9fjyp10.js → chunk-dxdkze8z.js} +15 -14
- package/dist/{chunk-vfdax1q6.js → chunk-e2spk4fe.js} +2 -2
- package/dist/{chunk-bt94xn5q.js → chunk-e39hng3w.js} +1 -1
- package/dist/{chunk-2bn3rfrp.js → chunk-e4c9nm5e.js} +1 -1
- package/dist/{chunk-qkvakhx1.js → chunk-e732zxst.js} +20 -20
- package/dist/{chunk-a6aj70ts.js → chunk-e80zc1av.js} +8 -8
- package/dist/{chunk-a9576ng3.js → chunk-e8fna1ag.js} +65 -58
- package/dist/{chunk-8xa1kfya.js → chunk-ed7z1w7p.js} +10 -10
- package/dist/chunk-edqtm6y0.js +61 -0
- package/dist/chunk-ee1b0rvz.js +10 -0
- package/dist/{chunk-ns0rmh2k.js → chunk-emm7j4dk.js} +5 -5
- package/dist/{chunk-r0qx6xgc.js → chunk-enqry8t5.js} +9 -7
- package/dist/{chunk-yfmhhwwv.js → chunk-epznxrz2.js} +12 -12
- package/dist/{chunk-g99ezjcy.js → chunk-eq23h0x8.js} +22 -22
- package/dist/chunk-ermsg80f.js +127 -0
- package/dist/{chunk-nxfhyxc3.js → chunk-erszn6r3.js} +4 -4
- package/dist/chunk-ewmc9tav.js +128 -0
- package/dist/{chunk-9bmbzk2f.js → chunk-ezkmsnpd.js} +8 -8
- package/dist/chunk-f054mssm.js +12 -0
- package/dist/{chunk-r95z8zvj.js → chunk-f19hg379.js} +21 -21
- package/dist/{chunk-c25j8jpy.js → chunk-f2anq8fp.js} +3 -3
- package/dist/{chunk-bp5dhef8.js → chunk-f2k7vxg3.js} +10 -10
- package/dist/{chunk-9bp8584t.js → chunk-f8bpjk0x.js} +4 -4
- package/dist/{chunk-0s98x7qr.js → chunk-f98xrwe6.js} +63 -56
- package/dist/{chunk-v25hrcrp.js → chunk-fbx3sd2f.js} +72 -65
- package/dist/{chunk-rhfz4rps.js → chunk-fgzywhh2.js} +5 -5
- package/dist/{chunk-v50v1jf1.js → chunk-fjeaknmt.js} +21 -21
- package/dist/chunk-fjs4cp8b.js +155 -0
- package/dist/{chunk-zs52hzg8.js → chunk-fxtm8zfx.js} +21 -21
- package/dist/{chunk-54yfbyzj.js → chunk-fynce2x1.js} +73 -66
- package/dist/{chunk-by6f5f3f.js → chunk-g1fmphn5.js} +1 -1
- package/dist/{chunk-2qnmyxpy.js → chunk-g4jdxw9z.js} +8 -8
- package/dist/{chunk-kw10fbe0.js → chunk-g5fyyzw4.js} +5 -5
- package/dist/{chunk-xrcw33a6.js → chunk-g5snnfpz.js} +4 -4
- package/dist/chunk-g6ywkjpj.js +329 -0
- package/dist/chunk-gc3k4c71.js +120 -0
- package/dist/{chunk-av4xr370.js → chunk-gdrmj2pf.js} +24 -24
- package/dist/{chunk-4kx5dzdv.js → chunk-gxndbg0a.js} +1 -1
- package/dist/{chunk-27831wht.js → chunk-gz475s6y.js} +63 -56
- package/dist/{chunk-x8zkjhy7.js → chunk-gzvzgq26.js} +439 -176
- package/dist/{chunk-53dgvm3n.js → chunk-h0njsaxa.js} +8 -31
- package/dist/{chunk-nha86vac.js → chunk-h10sdaft.js} +64 -57
- package/dist/{chunk-eg0tc9yh.js → chunk-h4cqgnfp.js} +3 -3
- package/dist/{chunk-s67f3vd9.js → chunk-h5rhq3n7.js} +76 -59
- package/dist/{chunk-m1tjr9xq.js → chunk-h6pgm1qp.js} +1 -1
- package/dist/chunk-hewjtf7t.js +132 -0
- package/dist/{chunk-63aa365z.js → chunk-hfdnqzhf.js} +8 -8
- package/dist/{chunk-f4dvpkzw.js → chunk-hhd42y3a.js} +1 -1
- package/dist/{chunk-gvf59kpk.js → chunk-hmw06fge.js} +63 -56
- package/dist/{chunk-n0vth4gp.js → chunk-hprabxne.js} +1 -1
- package/dist/{chunk-nxdnby53.js → chunk-hstsssnj.js} +2 -2
- package/dist/chunk-j13svjky.js +158 -0
- package/dist/{chunk-vj7ngjnf.js → chunk-j2x5124d.js} +20 -20
- package/dist/chunk-j3k55b0k.js +212 -0
- package/dist/{chunk-7neqf4fa.js → chunk-j71hj7yz.js} +71 -64
- package/dist/{chunk-3wpgtpw3.js → chunk-j7dxyxhv.js} +63 -56
- package/dist/{chunk-pdy0cbps.js → chunk-j7xbftdd.js} +5 -5
- package/dist/{chunk-7wncxt8v.js → chunk-jars2pn8.js} +63 -56
- package/dist/{chunk-ex16f66z.js → chunk-je44d8pc.js} +64 -57
- package/dist/{chunk-y744f40h.js → chunk-jgyee51y.js} +64 -57
- package/dist/{chunk-2q0frcxq.js → chunk-jk6e2bjt.js} +66 -59
- package/dist/chunk-jkcqv906.js +128 -0
- package/dist/{chunk-4pkgv0q4.js → chunk-jrkdr66k.js} +64 -57
- package/dist/{chunk-v5m176px.js → chunk-jxvms2k5.js} +64 -57
- package/dist/{chunk-y8gcjqaj.js → chunk-jzjdkfvb.js} +21 -21
- package/dist/{chunk-fry0p30d.js → chunk-k1809z0z.js} +4 -4
- package/dist/{chunk-n5r7zefs.js → chunk-k2qry3j2.js} +3 -3
- package/dist/{chunk-gbm9xcsb.js → chunk-kaxc456a.js} +4 -4
- package/dist/{chunk-xq5m3waj.js → chunk-kh0tbb1f.js} +10 -10
- package/dist/{chunk-4w14tqd3.js → chunk-km555nmz.js} +2 -2
- package/dist/{chunk-0kce2wqf.js → chunk-kmaj89bz.js} +64 -57
- package/dist/chunk-ktvcgnpw.js +46 -0
- package/dist/{chunk-zcg5wkge.js → chunk-kty5fqkx.js} +4 -4
- package/dist/{chunk-vwmpfzsk.js → chunk-kywppkmb.js} +71 -64
- package/dist/chunk-kzj2w83g.js +325 -0
- package/dist/{chunk-qe3qr56q.js → chunk-m0avdb0h.js} +1 -1
- package/dist/chunk-m0zh7g06.js +13 -0
- package/dist/{chunk-b9sss8kt.js → chunk-m1gvrag8.js} +64 -57
- package/dist/{chunk-5n5wyzrh.js → chunk-m2r25bw1.js} +4 -4
- package/dist/{chunk-5xg0d983.js → chunk-m2rv6qz8.js} +20 -20
- package/dist/{chunk-0a04ntky.js → chunk-m3rvjxa4.js} +1 -1
- package/dist/{chunk-21mz4040.js → chunk-m48b7sj9.js} +1 -1
- package/dist/{chunk-bpww9jrc.js → chunk-m7w3r8n8.js} +63 -56
- package/dist/{chunk-dgmtm4rb.js → chunk-mbvn8gy2.js} +65 -58
- package/dist/chunk-mdnqgywy.js +32 -0
- package/dist/{chunk-834b4cwr.js → chunk-mdnt1rvx.js} +63 -56
- package/dist/chunk-mepq00y1.js +337 -0
- package/dist/chunk-mfhds0dp.js +415 -0
- package/dist/{chunk-zr8jx1me.js → chunk-mja6394w.js} +9 -9
- package/dist/{chunk-tq51n13h.js → chunk-mrp3wcy6.js} +63 -56
- package/dist/{chunk-53atcfc2.js → chunk-mxx4msjb.js} +63 -56
- package/dist/chunk-n014czx3.js +15 -0
- package/dist/{chunk-bn09p6rp.js → chunk-n0pqx4rz.js} +6 -6
- package/dist/chunk-n3gzjpvg.js +8 -0
- package/dist/{chunk-fmmhgjh2.js → chunk-n4h54170.js} +63 -56
- package/dist/{chunk-dqrma4xg.js → chunk-n5by3h0t.js} +76 -69
- package/dist/chunk-na5yxjbp.js +133 -0
- package/dist/{chunk-vvj9yfd6.js → chunk-nb32de90.js} +4 -4
- package/dist/{chunk-qd98rbkk.js → chunk-ndgftsr1.js} +1 -1
- package/dist/{chunk-nxffmvqq.js → chunk-nez23dsn.js} +28 -28
- package/dist/{chunk-n4pdrqfe.js → chunk-nj1wee9b.js} +21 -21
- package/dist/{chunk-6383ssyr.js → chunk-nkn6kceq.js} +4 -4
- package/dist/{chunk-36ah0k4v.js → chunk-nnhq3697.js} +64 -57
- package/dist/chunk-nntvxnk2.js +340 -0
- package/dist/chunk-nq0kyezp.js +433 -0
- package/dist/chunk-nrwhfe5y.js +105 -0
- package/dist/{chunk-81cq3ykn.js → chunk-nt7b1z5t.js} +1 -1
- package/dist/{chunk-vyxrqq2j.js → chunk-ntdnzp2z.js} +2 -2
- package/dist/{chunk-d86k6nna.js → chunk-ntr44dvp.js} +74 -67
- package/dist/chunk-nyq4jqm1.js +243 -0
- package/dist/{chunk-xxxpcn1s.js → chunk-p3g3f2ee.js} +84 -56
- package/dist/{chunk-2k162dz0.js → chunk-p5q62vjn.js} +64 -57
- package/dist/{chunk-ncyvjn2t.js → chunk-p8xpvkpy.js} +66 -59
- package/dist/{chunk-csye4xzg.js → chunk-pmn7jtsg.js} +63 -56
- package/dist/chunk-pr5a5xz1.js +124 -0
- package/dist/chunk-q2aas6kq.js +84 -0
- package/dist/{chunk-xm7k6jjc.js → chunk-q2dp7byy.js} +21 -21
- package/dist/{chunk-96kvtp4a.js → chunk-q48y3fcp.js} +63 -56
- package/dist/{chunk-kegv11w9.js → chunk-q9ekcqx7.js} +3 -3
- package/dist/chunk-qazvrdfx.js +8 -0
- package/dist/{chunk-mmtadzv4.js → chunk-qb9gk8qg.js} +3 -3
- package/dist/{chunk-6fffsyn1.js → chunk-qftvk54y.js} +2 -2
- package/dist/{chunk-xpsbj53r.js → chunk-qpsmedbj.js} +64 -57
- package/dist/{chunk-xne41nbg.js → chunk-qqvksktb.js} +68 -61
- package/dist/{chunk-14x4cnsh.js → chunk-qvmhwtbg.js} +2 -2
- package/dist/{chunk-gygm08n5.js → chunk-qvr1mfc2.js} +3 -3
- package/dist/{chunk-snkw3ez3.js → chunk-qxbjdz91.js} +69 -62
- package/dist/{chunk-hnwtdfn5.js → chunk-qz8h7c7e.js} +63 -56
- package/dist/{chunk-byxmnqrn.js → chunk-r446v6sq.js} +63 -56
- package/dist/{chunk-j9zd0zgk.js → chunk-r5657hwh.js} +6 -6
- package/dist/{chunk-cbb17erf.js → chunk-r98v6fmq.js} +2 -2
- package/dist/{chunk-v7kbh63p.js → chunk-ratjpqg8.js} +4 -4
- package/dist/{chunk-5r3s9p8x.js → chunk-rcqxbkjs.js} +22 -22
- package/dist/{chunk-ctr3c1sg.js → chunk-rcz0e093.js} +2 -2
- package/dist/{chunk-vmxyzqbq.js → chunk-rdbr0mc5.js} +3 -3
- package/dist/chunk-rebyeaz6.js +226 -0
- package/dist/{chunk-mdp7t6vc.js → chunk-rfn63r2s.js} +63 -56
- package/dist/chunk-rhjvcccz.js +196 -0
- package/dist/chunk-rq3fz6cv.js +125 -0
- package/dist/chunk-rqb52zr0.js +273 -0
- package/dist/{chunk-9mhk46zc.js → chunk-rramscv8.js} +65 -58
- package/dist/{chunk-7yazhrsr.js → chunk-rveecpyh.js} +13 -18
- package/dist/{chunk-8e7f9zht.js → chunk-s3nkbr4p.js} +6 -6
- package/dist/{chunk-mt5d325t.js → chunk-s4pvw5c2.js} +63 -56
- package/dist/{chunk-91aqhy8m.js → chunk-s55ghchb.js} +23 -23
- package/dist/{chunk-xfffg80w.js → chunk-s5wv4tve.js} +69 -62
- package/dist/{chunk-p4ejm62w.js → chunk-sadtb3z5.js} +63 -56
- package/dist/{chunk-kz1tx7rz.js → chunk-sc2j6qsx.js} +64 -57
- package/dist/{chunk-b0yyp8et.js → chunk-sd3b922y.js} +41 -5
- package/dist/{chunk-sa4v49yg.js → chunk-sdcwxxk6.js} +5 -5
- package/dist/chunk-sggasjjn.js +126 -0
- package/dist/{chunk-2v5ts0xs.js → chunk-sgnff472.js} +6 -6
- package/dist/chunk-sje53cwz.js +160 -0
- package/dist/{chunk-2d5783fd.js → chunk-sjhn7p5w.js} +9 -9
- package/dist/{chunk-7hqaeswx.js → chunk-skhb9mm3.js} +47 -47
- package/dist/chunk-smh1p2qy.js +138 -0
- package/dist/chunk-smp65jya.js +152 -0
- package/dist/{chunk-c5x53d8e.js → chunk-ss0vfwwq.js} +21 -21
- package/dist/chunk-ssxnpnp2.js +185 -0
- package/dist/{chunk-q4g44zhy.js → chunk-stvp7mm8.js} +67 -60
- package/dist/{chunk-cr287xgs.js → chunk-swasj01d.js} +22 -22
- package/dist/{chunk-4wvqsj82.js → chunk-sxkyxfc7.js} +1 -1
- package/dist/chunk-t27st4f6.js +11 -0
- package/dist/{chunk-h0jkyyzh.js → chunk-t33p3qh3.js} +2 -2
- package/dist/{chunk-sqr28nxr.js → chunk-t5am82j3.js} +21 -21
- package/dist/{chunk-650dg84f.js → chunk-t688crr3.js} +3 -3
- package/dist/chunk-t719e8eh.js +124 -0
- package/dist/{chunk-1g7vd9aw.js → chunk-tamranmv.js} +4 -4
- package/dist/chunk-tbh4w7g6.js +37 -0
- package/dist/{chunk-w6qq17bh.js → chunk-td06pg4k.js} +63 -56
- package/dist/{chunk-jv6b8825.js → chunk-tepcfjv9.js} +64 -57
- package/dist/{chunk-nfzczzpa.js → chunk-tgtshatc.js} +3 -3
- package/dist/{chunk-jyh5er8z.js → chunk-tm5bfdg7.js} +15 -15
- package/dist/{chunk-zwmrhef7.js → chunk-tngbfggd.js} +1 -1
- package/dist/{chunk-vrbvz6r8.js → chunk-tw9bcrhb.js} +1 -1
- package/dist/chunk-twea87k4.js +126 -0
- package/dist/{chunk-jw9r1vhk.js → chunk-tzed1ttg.js} +2 -2
- package/dist/{chunk-kzws79kx.js → chunk-v077s2dh.js} +63 -56
- package/dist/{chunk-ye565wnz.js → chunk-v07sn7tg.js} +4 -4
- package/dist/{chunk-0k1jmtw9.js → chunk-v5j77ftw.js} +2 -2
- package/dist/{chunk-f8jqr9gf.js → chunk-v70rt7ew.js} +63 -56
- package/dist/{chunk-sdw97qke.js → chunk-v7e85mv1.js} +20 -20
- package/dist/{chunk-h6xd4mkp.js → chunk-v83yjxgx.js} +4 -4
- package/dist/{chunk-r61twape.js → chunk-v8ak17j1.js} +107 -335
- package/dist/{chunk-0w5zb7ey.js → chunk-v91nx80s.js} +22 -22
- package/dist/{chunk-e41z7j8n.js → chunk-v9qatj12.js} +6 -6
- package/dist/{chunk-r9mvmqa3.js → chunk-vaq7mmkt.js} +63 -56
- package/dist/{chunk-438syzcr.js → chunk-vekca08b.js} +11 -11
- package/dist/{chunk-6rxwptex.js → chunk-vg98anv2.js} +1 -1
- package/dist/{chunk-ja87byad.js → chunk-vjy07dp5.js} +72 -65
- package/dist/{chunk-q90p1xq1.js → chunk-vp20ty7y.js} +1 -1
- package/dist/{chunk-9d00ms93.js → chunk-vpt9jxht.js} +3 -3
- package/dist/{chunk-b343wb80.js → chunk-vvsd3vs8.js} +63 -56
- package/dist/chunk-vxgc30h6.js +19 -0
- package/dist/{chunk-e3ddewwa.js → chunk-vxzmjwjs.js} +63 -56
- package/dist/{chunk-36qqb2zz.js → chunk-w6jz347g.js} +63 -56
- package/dist/{chunk-0nh980p8.js → chunk-w710jpa2.js} +2 -2
- package/dist/{chunk-paycanhw.js → chunk-w7ej2zrf.js} +2 -2
- package/dist/{chunk-vjdmt4qp.js → chunk-warzed1x.js} +22 -22
- package/dist/{chunk-edk6reza.js → chunk-wb2sg18w.js} +2 -2
- package/dist/{chunk-4qd05az9.js → chunk-we1n5raj.js} +7 -7
- package/dist/chunk-wf3yck87.js +21 -0
- package/dist/{chunk-etym3r9d.js → chunk-wf8acset.js} +3 -3
- package/dist/{chunk-2q0zzmty.js → chunk-wghswqwp.js} +27 -27
- package/dist/{chunk-gzp6rza1.js → chunk-wmgyt01k.js} +216 -1
- package/dist/chunk-wmh6v3e7.js +132 -0
- package/dist/chunk-wmpmafbc.js +138 -0
- package/dist/{chunk-1sf59qt5.js → chunk-wnf4vwkm.js} +64 -57
- package/dist/{chunk-ynv1bpe8.js → chunk-wt20bb12.js} +22 -22
- package/dist/{chunk-ap8sbteg.js → chunk-ww3p4y9a.js} +20 -12
- package/dist/{chunk-03r5j0h7.js → chunk-x1zesdka.js} +6 -6
- package/dist/{chunk-wx6n79wt.js → chunk-x313wqn1.js} +1 -1
- package/dist/{chunk-hy4eg9rh.js → chunk-x4xsq1s2.js} +2 -2
- package/dist/{chunk-9b6rk8qk.js → chunk-x5r688hj.js} +4 -4
- package/dist/chunk-x6f0ext2.js +514 -0
- package/dist/chunk-x6pa9me9.js +39 -0
- package/dist/{chunk-w4efvhba.js → chunk-xbaknws2.js} +3 -3
- package/dist/{chunk-xpwd9a6t.js → chunk-xhf4qr1n.js} +7 -7
- package/dist/{chunk-0c1px70b.js → chunk-xjbajnc0.js} +64 -57
- package/dist/chunk-xjccz51k.js +129 -0
- package/dist/{chunk-4djqhsnj.js → chunk-xk0tvbw1.js} +2 -2
- package/dist/{chunk-4h8wztdg.js → chunk-xqjc4jt5.js} +64 -57
- package/dist/{chunk-rm1mheme.js → chunk-xsdh0nhd.js} +9 -9
- package/dist/{chunk-4r4gn0cf.js → chunk-xsmg4rrh.js} +4 -4
- package/dist/chunk-y5tdbxz4.js +127 -0
- package/dist/{chunk-hdwtr2yf.js → chunk-y8pkn3xy.js} +5 -5
- package/dist/chunk-yashkw24.js +372 -0
- package/dist/{chunk-fta35khb.js → chunk-yezeptjf.js} +11 -11
- package/dist/{chunk-hr3btr8b.js → chunk-yhb095v3.js} +3 -3
- package/dist/{chunk-zhvtmajx.js → chunk-ynqybr2d.js} +64 -57
- package/dist/{chunk-pqerscs4.js → chunk-yrbx096r.js} +5 -5
- package/dist/{chunk-1b80pdn0.js → chunk-ytp8h1aw.js} +70 -60
- package/dist/{chunk-fzzjx191.js → chunk-ywf3v9s7.js} +1 -1
- package/dist/{chunk-v1k15ae4.js → chunk-yz7f0ahp.js} +1 -1
- package/dist/{chunk-n3w4a8jc.js → chunk-z1wsxdyq.js} +4 -4
- package/dist/{chunk-bvnbzqq1.js → chunk-z4phzs0c.js} +63 -56
- package/dist/{chunk-e8cewnpa.js → chunk-z5nfm6fz.js} +71 -64
- package/dist/{chunk-vcxp7ehh.js → chunk-z6j1ne1h.js} +69 -62
- package/dist/{chunk-jrzv14mz.js → chunk-z7k46hmy.js} +126 -115
- package/dist/chunk-zbcnvk19.js +38 -0
- package/dist/{chunk-p34f6v8t.js → chunk-zgaxdsmh.js} +65 -56
- package/dist/chunk-zjv8t5t3.js +942 -0
- package/dist/chunk-zjvshnv0.js +131 -0
- package/dist/{chunk-t6j072kk.js → chunk-zmrhj53d.js} +21 -21
- package/dist/{chunk-tv74hgw9.js → chunk-znv3atvc.js} +1 -1
- package/dist/chunk-zsr1mhby.js +126 -0
- package/dist/{chunk-2kdh2xhm.js → chunk-zvgv14qd.js} +25 -25
- package/dist/{chunk-egwsh2d3.js → chunk-zvh8p8b8.js} +6 -6
- package/dist/chunk-zyptmnvp.js +125 -0
- package/dist/cli.js +34 -34
- package/package.json +7 -2
- package/dist/chunk-0786r5qj.js +0 -26
- package/dist/chunk-18xdwe7f.js +0 -113
- package/dist/chunk-2mvp0yy0.js +0 -121
- package/dist/chunk-47te6zef.js +0 -119
- package/dist/chunk-83hfzbx3.js +0 -10
- package/dist/chunk-8ae0tf0x.js +0 -122
- package/dist/chunk-9fmj81q2.js +0 -118
- package/dist/chunk-advqggab.js +0 -121
- package/dist/chunk-bxwwcaqc.js +0 -129
- package/dist/chunk-cwfhgrw5.js +0 -122
- package/dist/chunk-dpvkw784.js +0 -117
- package/dist/chunk-dyy28gfx.js +0 -119
- package/dist/chunk-ec97t249.js +0 -120
- package/dist/chunk-fdetpw6s.js +0 -116
- package/dist/chunk-feyzykye.js +0 -10
- package/dist/chunk-kftpvpke.js +0 -115
- package/dist/chunk-mkn9qtyx.js +0 -120
- package/dist/chunk-msq3sm15.js +0 -117
- package/dist/chunk-pdk7x283.js +0 -131
- package/dist/chunk-pfhv31s6.js +0 -121
- package/dist/chunk-pkbsek0t.js +0 -118
- package/dist/chunk-qhcn44e1.js +0 -119
- package/dist/chunk-qsnfsw09.js +0 -119
- package/dist/chunk-stbkte9e.js +0 -184
- package/dist/chunk-szj5wvdy.js +0 -28
- package/dist/chunk-y9zmxrg1.js +0 -57
- package/dist/chunk-zaqjcmpr.js +0 -119
- package/dist/chunk-zg2vvytp.js +0 -121
- package/dist/{chunk-z0csm2zq.js → chunk-jg5ac2fy.js} +394 -394
|
@@ -3,38 +3,6 @@ import {
|
|
|
3
3
|
__esm
|
|
4
4
|
} from "./chunk-qp2qdcda.js";
|
|
5
5
|
|
|
6
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.80.0+3c5d820c62823f0b/node_modules/@anthropic-ai/sdk/internal/tslib.mjs
|
|
7
|
-
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
8
|
-
if (kind === "m")
|
|
9
|
-
throw new TypeError("Private method is not writable");
|
|
10
|
-
if (kind === "a" && !f)
|
|
11
|
-
throw new TypeError("Private accessor was defined without a setter");
|
|
12
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
13
|
-
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
14
|
-
return kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value), value;
|
|
15
|
-
}
|
|
16
|
-
function __classPrivateFieldGet(receiver, state, kind, f) {
|
|
17
|
-
if (kind === "a" && !f)
|
|
18
|
-
throw new TypeError("Private accessor was defined without a getter");
|
|
19
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
20
|
-
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
21
|
-
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
22
|
-
}
|
|
23
|
-
var init_tslib = () => {};
|
|
24
|
-
|
|
25
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.80.0+3c5d820c62823f0b/node_modules/@anthropic-ai/sdk/internal/utils/uuid.mjs
|
|
26
|
-
var uuid4 = function() {
|
|
27
|
-
const { crypto } = globalThis;
|
|
28
|
-
if (crypto?.randomUUID) {
|
|
29
|
-
uuid4 = crypto.randomUUID.bind(crypto);
|
|
30
|
-
return crypto.randomUUID();
|
|
31
|
-
}
|
|
32
|
-
const u8 = new Uint8Array(1);
|
|
33
|
-
const randomByte = crypto ? () => crypto.getRandomValues(u8)[0] : () => Math.random() * 255 & 255;
|
|
34
|
-
return "10000000-1000-4000-8000-100000000000".replace(/[018]/g, (c) => (+c ^ randomByte() & 15 >> +c / 4).toString(16));
|
|
35
|
-
};
|
|
36
|
-
var init_uuid = () => {};
|
|
37
|
-
|
|
38
6
|
// node_modules/.bun/@anthropic-ai+sdk@0.80.0+3c5d820c62823f0b/node_modules/@anthropic-ai/sdk/internal/errors.mjs
|
|
39
7
|
function isAbortError(err) {
|
|
40
8
|
return typeof err === "object" && err !== null && (("name" in err) && err.name === "AbortError" || ("message" in err) && String(err.message).includes("FetchRequestCanceledException"));
|
|
@@ -157,180 +125,37 @@ var init_error = __esm(() => {
|
|
|
157
125
|
};
|
|
158
126
|
});
|
|
159
127
|
|
|
160
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.80.0+3c5d820c62823f0b/node_modules/@anthropic-ai/sdk/
|
|
161
|
-
|
|
162
|
-
if (typeof x !== "object") {
|
|
163
|
-
return {};
|
|
164
|
-
}
|
|
165
|
-
return x ?? {};
|
|
166
|
-
}
|
|
167
|
-
function isEmptyObj(obj) {
|
|
168
|
-
if (!obj)
|
|
169
|
-
return true;
|
|
170
|
-
for (const _k in obj)
|
|
171
|
-
return false;
|
|
172
|
-
return true;
|
|
173
|
-
}
|
|
174
|
-
function hasOwn(obj, key) {
|
|
175
|
-
return Object.prototype.hasOwnProperty.call(obj, key);
|
|
176
|
-
}
|
|
177
|
-
var startsWithSchemeRegexp, isAbsoluteURL = (url) => {
|
|
178
|
-
return startsWithSchemeRegexp.test(url);
|
|
179
|
-
}, isArray = (val) => (isArray = Array.isArray, isArray(val)), isReadonlyArray, validatePositiveInteger = (name, n) => {
|
|
180
|
-
if (typeof n !== "number" || !Number.isInteger(n)) {
|
|
181
|
-
throw new AnthropicError(`${name} must be an integer`);
|
|
182
|
-
}
|
|
183
|
-
if (n < 0) {
|
|
184
|
-
throw new AnthropicError(`${name} must be a positive integer`);
|
|
185
|
-
}
|
|
186
|
-
return n;
|
|
187
|
-
}, safeJSON = (text) => {
|
|
188
|
-
try {
|
|
189
|
-
return JSON.parse(text);
|
|
190
|
-
} catch (err) {
|
|
191
|
-
return;
|
|
192
|
-
}
|
|
193
|
-
};
|
|
194
|
-
var init_values = __esm(() => {
|
|
128
|
+
// node_modules/.bun/@anthropic-ai+sdk@0.80.0+3c5d820c62823f0b/node_modules/@anthropic-ai/sdk/error.mjs
|
|
129
|
+
var init_error2 = __esm(() => {
|
|
195
130
|
init_error();
|
|
196
|
-
startsWithSchemeRegexp = /^[a-z][a-z0-9+.-]*:/i;
|
|
197
|
-
isReadonlyArray = isArray;
|
|
198
131
|
});
|
|
199
132
|
|
|
200
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.80.0+3c5d820c62823f0b/node_modules/@anthropic-ai/sdk/
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.80.0+3c5d820c62823f0b/node_modules/@anthropic-ai/sdk/version.mjs
|
|
205
|
-
var VERSION = "0.80.0";
|
|
206
|
-
var init_version = () => {};
|
|
207
|
-
|
|
208
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.80.0+3c5d820c62823f0b/node_modules/@anthropic-ai/sdk/internal/detect-platform.mjs
|
|
209
|
-
function getDetectedPlatform() {
|
|
210
|
-
if (typeof Deno !== "undefined" && Deno.build != null) {
|
|
211
|
-
return "deno";
|
|
212
|
-
}
|
|
213
|
-
if (typeof EdgeRuntime !== "undefined") {
|
|
214
|
-
return "edge";
|
|
215
|
-
}
|
|
216
|
-
if (Object.prototype.toString.call(typeof globalThis.process !== "undefined" ? globalThis.process : 0) === "[object process]") {
|
|
217
|
-
return "node";
|
|
133
|
+
// node_modules/.bun/@anthropic-ai+sdk@0.80.0+3c5d820c62823f0b/node_modules/@anthropic-ai/sdk/core/resource.mjs
|
|
134
|
+
class APIResource {
|
|
135
|
+
constructor(client) {
|
|
136
|
+
this._client = client;
|
|
218
137
|
}
|
|
219
|
-
return "unknown";
|
|
220
138
|
}
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
];
|
|
233
|
-
for (const { key, pattern } of browserPatterns) {
|
|
234
|
-
const match = pattern.exec(navigator.userAgent);
|
|
235
|
-
if (match) {
|
|
236
|
-
const major = match[1] || 0;
|
|
237
|
-
const minor = match[2] || 0;
|
|
238
|
-
const patch = match[3] || 0;
|
|
239
|
-
return { browser: key, version: `${major}.${minor}.${patch}` };
|
|
240
|
-
}
|
|
241
|
-
}
|
|
242
|
-
return null;
|
|
139
|
+
var init_resource = () => {};
|
|
140
|
+
|
|
141
|
+
// node_modules/.bun/@anthropic-ai+sdk@0.80.0+3c5d820c62823f0b/node_modules/@anthropic-ai/sdk/internal/tslib.mjs
|
|
142
|
+
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
143
|
+
if (kind === "m")
|
|
144
|
+
throw new TypeError("Private method is not writable");
|
|
145
|
+
if (kind === "a" && !f)
|
|
146
|
+
throw new TypeError("Private accessor was defined without a setter");
|
|
147
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
148
|
+
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
149
|
+
return kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value), value;
|
|
243
150
|
}
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
"X-Stainless-OS": normalizePlatform(Deno.build.os),
|
|
253
|
-
"X-Stainless-Arch": normalizeArch(Deno.build.arch),
|
|
254
|
-
"X-Stainless-Runtime": "deno",
|
|
255
|
-
"X-Stainless-Runtime-Version": typeof Deno.version === "string" ? Deno.version : Deno.version?.deno ?? "unknown"
|
|
256
|
-
};
|
|
257
|
-
}
|
|
258
|
-
if (typeof EdgeRuntime !== "undefined") {
|
|
259
|
-
return {
|
|
260
|
-
"X-Stainless-Lang": "js",
|
|
261
|
-
"X-Stainless-Package-Version": VERSION,
|
|
262
|
-
"X-Stainless-OS": "Unknown",
|
|
263
|
-
"X-Stainless-Arch": `other:${EdgeRuntime}`,
|
|
264
|
-
"X-Stainless-Runtime": "edge",
|
|
265
|
-
"X-Stainless-Runtime-Version": globalThis.process.version
|
|
266
|
-
};
|
|
267
|
-
}
|
|
268
|
-
if (detectedPlatform === "node") {
|
|
269
|
-
return {
|
|
270
|
-
"X-Stainless-Lang": "js",
|
|
271
|
-
"X-Stainless-Package-Version": VERSION,
|
|
272
|
-
"X-Stainless-OS": normalizePlatform(globalThis.process.platform ?? "unknown"),
|
|
273
|
-
"X-Stainless-Arch": normalizeArch(globalThis.process.arch ?? "unknown"),
|
|
274
|
-
"X-Stainless-Runtime": "node",
|
|
275
|
-
"X-Stainless-Runtime-Version": globalThis.process.version ?? "unknown"
|
|
276
|
-
};
|
|
277
|
-
}
|
|
278
|
-
const browserInfo = getBrowserInfo();
|
|
279
|
-
if (browserInfo) {
|
|
280
|
-
return {
|
|
281
|
-
"X-Stainless-Lang": "js",
|
|
282
|
-
"X-Stainless-Package-Version": VERSION,
|
|
283
|
-
"X-Stainless-OS": "Unknown",
|
|
284
|
-
"X-Stainless-Arch": "unknown",
|
|
285
|
-
"X-Stainless-Runtime": `browser:${browserInfo.browser}`,
|
|
286
|
-
"X-Stainless-Runtime-Version": browserInfo.version
|
|
287
|
-
};
|
|
288
|
-
}
|
|
289
|
-
return {
|
|
290
|
-
"X-Stainless-Lang": "js",
|
|
291
|
-
"X-Stainless-Package-Version": VERSION,
|
|
292
|
-
"X-Stainless-OS": "Unknown",
|
|
293
|
-
"X-Stainless-Arch": "unknown",
|
|
294
|
-
"X-Stainless-Runtime": "unknown",
|
|
295
|
-
"X-Stainless-Runtime-Version": "unknown"
|
|
296
|
-
};
|
|
297
|
-
}, normalizeArch = (arch) => {
|
|
298
|
-
if (arch === "x32")
|
|
299
|
-
return "x32";
|
|
300
|
-
if (arch === "x86_64" || arch === "x64")
|
|
301
|
-
return "x64";
|
|
302
|
-
if (arch === "arm")
|
|
303
|
-
return "arm";
|
|
304
|
-
if (arch === "aarch64" || arch === "arm64")
|
|
305
|
-
return "arm64";
|
|
306
|
-
if (arch)
|
|
307
|
-
return `other:${arch}`;
|
|
308
|
-
return "unknown";
|
|
309
|
-
}, normalizePlatform = (platform) => {
|
|
310
|
-
platform = platform.toLowerCase();
|
|
311
|
-
if (platform.includes("ios"))
|
|
312
|
-
return "iOS";
|
|
313
|
-
if (platform === "android")
|
|
314
|
-
return "Android";
|
|
315
|
-
if (platform === "darwin")
|
|
316
|
-
return "MacOS";
|
|
317
|
-
if (platform === "win32")
|
|
318
|
-
return "Windows";
|
|
319
|
-
if (platform === "freebsd")
|
|
320
|
-
return "FreeBSD";
|
|
321
|
-
if (platform === "openbsd")
|
|
322
|
-
return "OpenBSD";
|
|
323
|
-
if (platform === "linux")
|
|
324
|
-
return "Linux";
|
|
325
|
-
if (platform)
|
|
326
|
-
return `Other:${platform}`;
|
|
327
|
-
return "Unknown";
|
|
328
|
-
}, _platformHeaders, getPlatformHeaders = () => {
|
|
329
|
-
return _platformHeaders ?? (_platformHeaders = getPlatformProperties());
|
|
330
|
-
};
|
|
331
|
-
var init_detect_platform = __esm(() => {
|
|
332
|
-
init_version();
|
|
333
|
-
});
|
|
151
|
+
function __classPrivateFieldGet(receiver, state, kind, f) {
|
|
152
|
+
if (kind === "a" && !f)
|
|
153
|
+
throw new TypeError("Private accessor was defined without a getter");
|
|
154
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
155
|
+
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
156
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
157
|
+
}
|
|
158
|
+
var init_tslib = () => {};
|
|
334
159
|
|
|
335
160
|
// node_modules/.bun/@anthropic-ai+sdk@0.80.0+3c5d820c62823f0b/node_modules/@anthropic-ai/sdk/internal/shims.mjs
|
|
336
161
|
function getDefaultFetch() {
|
|
@@ -404,33 +229,6 @@ async function CancelReadableStream(stream) {
|
|
|
404
229
|
}
|
|
405
230
|
var init_shims = () => {};
|
|
406
231
|
|
|
407
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.80.0+3c5d820c62823f0b/node_modules/@anthropic-ai/sdk/internal/request-options.mjs
|
|
408
|
-
var FallbackEncoder = ({ headers, body }) => {
|
|
409
|
-
return {
|
|
410
|
-
bodyHeaders: {
|
|
411
|
-
"content-type": "application/json"
|
|
412
|
-
},
|
|
413
|
-
body: JSON.stringify(body)
|
|
414
|
-
};
|
|
415
|
-
};
|
|
416
|
-
var init_request_options = () => {};
|
|
417
|
-
|
|
418
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.80.0+3c5d820c62823f0b/node_modules/@anthropic-ai/sdk/internal/utils/query.mjs
|
|
419
|
-
function stringifyQuery(query) {
|
|
420
|
-
return Object.entries(query).filter(([_, value]) => typeof value !== "undefined").map(([key, value]) => {
|
|
421
|
-
if (typeof value === "string" || typeof value === "number" || typeof value === "boolean") {
|
|
422
|
-
return `${encodeURIComponent(key)}=${encodeURIComponent(value)}`;
|
|
423
|
-
}
|
|
424
|
-
if (value === null) {
|
|
425
|
-
return `${encodeURIComponent(key)}=`;
|
|
426
|
-
}
|
|
427
|
-
throw new AnthropicError(`Cannot stringify type ${typeof value}; Expected string, number, boolean, or null. If you need to pass nested query parameters, you can manually encode them, e.g. { query: { 'foo[key1]': value1, 'foo[key2]': value2 } }, and please open a GitHub issue requesting better support for your use case.`);
|
|
428
|
-
}).join("&");
|
|
429
|
-
}
|
|
430
|
-
var init_query = __esm(() => {
|
|
431
|
-
init_error();
|
|
432
|
-
});
|
|
433
|
-
|
|
434
232
|
// node_modules/.bun/@anthropic-ai+sdk@0.80.0+3c5d820c62823f0b/node_modules/@anthropic-ai/sdk/internal/utils/bytes.mjs
|
|
435
233
|
function concatBytes(buffers) {
|
|
436
234
|
let length = 0;
|
|
@@ -528,14 +326,54 @@ function findDoubleNewlineIndex(buffer) {
|
|
|
528
326
|
}
|
|
529
327
|
return -1;
|
|
530
328
|
}
|
|
531
|
-
var _LineDecoder_buffer, _LineDecoder_carriageReturnIndex;
|
|
532
|
-
var init_line = __esm(() => {
|
|
533
|
-
init_tslib();
|
|
534
|
-
init_bytes();
|
|
535
|
-
_LineDecoder_buffer = new WeakMap, _LineDecoder_carriageReturnIndex = new WeakMap;
|
|
536
|
-
LineDecoder.NEWLINE_CHARS = new Set([`
|
|
537
|
-
`, "\r"]);
|
|
538
|
-
LineDecoder.NEWLINE_REGEXP = /\r\n|[\n\r]/g;
|
|
329
|
+
var _LineDecoder_buffer, _LineDecoder_carriageReturnIndex;
|
|
330
|
+
var init_line = __esm(() => {
|
|
331
|
+
init_tslib();
|
|
332
|
+
init_bytes();
|
|
333
|
+
_LineDecoder_buffer = new WeakMap, _LineDecoder_carriageReturnIndex = new WeakMap;
|
|
334
|
+
LineDecoder.NEWLINE_CHARS = new Set([`
|
|
335
|
+
`, "\r"]);
|
|
336
|
+
LineDecoder.NEWLINE_REGEXP = /\r\n|[\n\r]/g;
|
|
337
|
+
});
|
|
338
|
+
|
|
339
|
+
// node_modules/.bun/@anthropic-ai+sdk@0.80.0+3c5d820c62823f0b/node_modules/@anthropic-ai/sdk/internal/utils/values.mjs
|
|
340
|
+
function maybeObj(x) {
|
|
341
|
+
if (typeof x !== "object") {
|
|
342
|
+
return {};
|
|
343
|
+
}
|
|
344
|
+
return x ?? {};
|
|
345
|
+
}
|
|
346
|
+
function isEmptyObj(obj) {
|
|
347
|
+
if (!obj)
|
|
348
|
+
return true;
|
|
349
|
+
for (const _k in obj)
|
|
350
|
+
return false;
|
|
351
|
+
return true;
|
|
352
|
+
}
|
|
353
|
+
function hasOwn(obj, key) {
|
|
354
|
+
return Object.prototype.hasOwnProperty.call(obj, key);
|
|
355
|
+
}
|
|
356
|
+
var startsWithSchemeRegexp, isAbsoluteURL = (url) => {
|
|
357
|
+
return startsWithSchemeRegexp.test(url);
|
|
358
|
+
}, isArray = (val) => (isArray = Array.isArray, isArray(val)), isReadonlyArray, validatePositiveInteger = (name, n) => {
|
|
359
|
+
if (typeof n !== "number" || !Number.isInteger(n)) {
|
|
360
|
+
throw new AnthropicError(`${name} must be an integer`);
|
|
361
|
+
}
|
|
362
|
+
if (n < 0) {
|
|
363
|
+
throw new AnthropicError(`${name} must be a positive integer`);
|
|
364
|
+
}
|
|
365
|
+
return n;
|
|
366
|
+
}, safeJSON = (text) => {
|
|
367
|
+
try {
|
|
368
|
+
return JSON.parse(text);
|
|
369
|
+
} catch (err) {
|
|
370
|
+
return;
|
|
371
|
+
}
|
|
372
|
+
};
|
|
373
|
+
var init_values = __esm(() => {
|
|
374
|
+
init_error();
|
|
375
|
+
startsWithSchemeRegexp = /^[a-z][a-z0-9+.-]*:/i;
|
|
376
|
+
isReadonlyArray = isArray;
|
|
539
377
|
});
|
|
540
378
|
|
|
541
379
|
// node_modules/.bun/@anthropic-ai+sdk@0.80.0+3c5d820c62823f0b/node_modules/@anthropic-ai/sdk/internal/utils/log.mjs
|
|
@@ -1093,155 +931,6 @@ var init_pagination = __esm(() => {
|
|
|
1093
931
|
};
|
|
1094
932
|
});
|
|
1095
933
|
|
|
1096
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.80.0+3c5d820c62823f0b/node_modules/@anthropic-ai/sdk/internal/uploads.mjs
|
|
1097
|
-
function makeFile(fileBits, fileName, options) {
|
|
1098
|
-
checkFileSupport();
|
|
1099
|
-
return new File(fileBits, fileName ?? "unknown_file", options);
|
|
1100
|
-
}
|
|
1101
|
-
function getName(value, stripPath) {
|
|
1102
|
-
const val = typeof value === "object" && value !== null && (("name" in value) && value.name && String(value.name) || ("url" in value) && value.url && String(value.url) || ("filename" in value) && value.filename && String(value.filename) || ("path" in value) && value.path && String(value.path)) || "";
|
|
1103
|
-
return stripPath ? val.split(/[\\/]/).pop() || undefined : val;
|
|
1104
|
-
}
|
|
1105
|
-
function supportsFormData(fetchObject) {
|
|
1106
|
-
const fetch2 = typeof fetchObject === "function" ? fetchObject : fetchObject.fetch;
|
|
1107
|
-
const cached = supportsFormDataMap.get(fetch2);
|
|
1108
|
-
if (cached)
|
|
1109
|
-
return cached;
|
|
1110
|
-
const promise = (async () => {
|
|
1111
|
-
try {
|
|
1112
|
-
const FetchResponse = "Response" in fetch2 ? fetch2.Response : (await fetch2("data:,")).constructor;
|
|
1113
|
-
const data = new FormData;
|
|
1114
|
-
if (data.toString() === await new FetchResponse(data).text()) {
|
|
1115
|
-
return false;
|
|
1116
|
-
}
|
|
1117
|
-
return true;
|
|
1118
|
-
} catch {
|
|
1119
|
-
return true;
|
|
1120
|
-
}
|
|
1121
|
-
})();
|
|
1122
|
-
supportsFormDataMap.set(fetch2, promise);
|
|
1123
|
-
return promise;
|
|
1124
|
-
}
|
|
1125
|
-
var checkFileSupport = () => {
|
|
1126
|
-
if (typeof File === "undefined") {
|
|
1127
|
-
const { process } = globalThis;
|
|
1128
|
-
const isOldNode = typeof process?.versions?.node === "string" && parseInt(process.versions.node.split(".")) < 20;
|
|
1129
|
-
throw new Error("`File` is not defined as a global, which is required for file uploads." + (isOldNode ? " Update to Node 20 LTS or newer, or set `globalThis.File` to `import('node:buffer').File`." : ""));
|
|
1130
|
-
}
|
|
1131
|
-
}, isAsyncIterable = (value) => value != null && typeof value === "object" && typeof value[Symbol.asyncIterator] === "function", multipartFormRequestOptions = async (opts, fetch2, stripFilenames = true) => {
|
|
1132
|
-
return { ...opts, body: await createForm(opts.body, fetch2, stripFilenames) };
|
|
1133
|
-
}, supportsFormDataMap, createForm = async (body, fetch2, stripFilenames = true) => {
|
|
1134
|
-
if (!await supportsFormData(fetch2)) {
|
|
1135
|
-
throw new TypeError("The provided fetch function does not support file uploads with the current global FormData class.");
|
|
1136
|
-
}
|
|
1137
|
-
const form = new FormData;
|
|
1138
|
-
await Promise.all(Object.entries(body || {}).map(([key, value]) => addFormValue(form, key, value, stripFilenames)));
|
|
1139
|
-
return form;
|
|
1140
|
-
}, isNamedBlob = (value) => value instanceof Blob && ("name" in value), addFormValue = async (form, key, value, stripFilenames) => {
|
|
1141
|
-
if (value === undefined)
|
|
1142
|
-
return;
|
|
1143
|
-
if (value == null) {
|
|
1144
|
-
throw new TypeError(`Received null for "${key}"; to pass null in FormData, you must use the string 'null'`);
|
|
1145
|
-
}
|
|
1146
|
-
if (typeof value === "string" || typeof value === "number" || typeof value === "boolean") {
|
|
1147
|
-
form.append(key, String(value));
|
|
1148
|
-
} else if (value instanceof Response) {
|
|
1149
|
-
let options = {};
|
|
1150
|
-
const contentType = value.headers.get("Content-Type");
|
|
1151
|
-
if (contentType) {
|
|
1152
|
-
options = { type: contentType };
|
|
1153
|
-
}
|
|
1154
|
-
form.append(key, makeFile([await value.blob()], getName(value, stripFilenames), options));
|
|
1155
|
-
} else if (isAsyncIterable(value)) {
|
|
1156
|
-
form.append(key, makeFile([await new Response(ReadableStreamFrom(value)).blob()], getName(value, stripFilenames)));
|
|
1157
|
-
} else if (isNamedBlob(value)) {
|
|
1158
|
-
form.append(key, makeFile([value], getName(value, stripFilenames), { type: value.type }));
|
|
1159
|
-
} else if (Array.isArray(value)) {
|
|
1160
|
-
await Promise.all(value.map((entry) => addFormValue(form, key + "[]", entry, stripFilenames)));
|
|
1161
|
-
} else if (typeof value === "object") {
|
|
1162
|
-
await Promise.all(Object.entries(value).map(([name, prop]) => addFormValue(form, `${key}[${name}]`, prop, stripFilenames)));
|
|
1163
|
-
} else {
|
|
1164
|
-
throw new TypeError(`Invalid value given to form, expected a string, number, boolean, object, Array, File or Blob but got ${value} instead`);
|
|
1165
|
-
}
|
|
1166
|
-
};
|
|
1167
|
-
var init_uploads = __esm(() => {
|
|
1168
|
-
init_shims();
|
|
1169
|
-
supportsFormDataMap = /* @__PURE__ */ new WeakMap;
|
|
1170
|
-
});
|
|
1171
|
-
|
|
1172
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.80.0+3c5d820c62823f0b/node_modules/@anthropic-ai/sdk/internal/to-file.mjs
|
|
1173
|
-
async function toFile(value, name, options) {
|
|
1174
|
-
checkFileSupport();
|
|
1175
|
-
value = await value;
|
|
1176
|
-
name || (name = getName(value, true));
|
|
1177
|
-
if (isFileLike(value)) {
|
|
1178
|
-
if (value instanceof File && name == null && options == null) {
|
|
1179
|
-
return value;
|
|
1180
|
-
}
|
|
1181
|
-
return makeFile([await value.arrayBuffer()], name ?? value.name, {
|
|
1182
|
-
type: value.type,
|
|
1183
|
-
lastModified: value.lastModified,
|
|
1184
|
-
...options
|
|
1185
|
-
});
|
|
1186
|
-
}
|
|
1187
|
-
if (isResponseLike(value)) {
|
|
1188
|
-
const blob = await value.blob();
|
|
1189
|
-
name || (name = new URL(value.url).pathname.split(/[\\/]/).pop());
|
|
1190
|
-
return makeFile(await getBytes(blob), name, options);
|
|
1191
|
-
}
|
|
1192
|
-
const parts = await getBytes(value);
|
|
1193
|
-
if (!options?.type) {
|
|
1194
|
-
const type = parts.find((part) => typeof part === "object" && ("type" in part) && part.type);
|
|
1195
|
-
if (typeof type === "string") {
|
|
1196
|
-
options = { ...options, type };
|
|
1197
|
-
}
|
|
1198
|
-
}
|
|
1199
|
-
return makeFile(parts, name, options);
|
|
1200
|
-
}
|
|
1201
|
-
async function getBytes(value) {
|
|
1202
|
-
let parts = [];
|
|
1203
|
-
if (typeof value === "string" || ArrayBuffer.isView(value) || value instanceof ArrayBuffer) {
|
|
1204
|
-
parts.push(value);
|
|
1205
|
-
} else if (isBlobLike(value)) {
|
|
1206
|
-
parts.push(value instanceof Blob ? value : await value.arrayBuffer());
|
|
1207
|
-
} else if (isAsyncIterable(value)) {
|
|
1208
|
-
for await (const chunk of value) {
|
|
1209
|
-
parts.push(...await getBytes(chunk));
|
|
1210
|
-
}
|
|
1211
|
-
} else {
|
|
1212
|
-
const constructor = value?.constructor?.name;
|
|
1213
|
-
throw new Error(`Unexpected data type: ${typeof value}${constructor ? `; constructor: ${constructor}` : ""}${propsForError(value)}`);
|
|
1214
|
-
}
|
|
1215
|
-
return parts;
|
|
1216
|
-
}
|
|
1217
|
-
function propsForError(value) {
|
|
1218
|
-
if (typeof value !== "object" || value === null)
|
|
1219
|
-
return "";
|
|
1220
|
-
const props = Object.getOwnPropertyNames(value);
|
|
1221
|
-
return `; props: [${props.map((p) => `"${p}"`).join(", ")}]`;
|
|
1222
|
-
}
|
|
1223
|
-
var isBlobLike = (value) => value != null && typeof value === "object" && typeof value.size === "number" && typeof value.type === "string" && typeof value.text === "function" && typeof value.slice === "function" && typeof value.arrayBuffer === "function", isFileLike = (value) => value != null && typeof value === "object" && typeof value.name === "string" && typeof value.lastModified === "number" && isBlobLike(value), isResponseLike = (value) => value != null && typeof value === "object" && typeof value.url === "string" && typeof value.blob === "function";
|
|
1224
|
-
var init_to_file = __esm(() => {
|
|
1225
|
-
init_uploads();
|
|
1226
|
-
init_uploads();
|
|
1227
|
-
});
|
|
1228
|
-
|
|
1229
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.80.0+3c5d820c62823f0b/node_modules/@anthropic-ai/sdk/core/uploads.mjs
|
|
1230
|
-
var init_uploads2 = __esm(() => {
|
|
1231
|
-
init_to_file();
|
|
1232
|
-
});
|
|
1233
|
-
|
|
1234
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.80.0+3c5d820c62823f0b/node_modules/@anthropic-ai/sdk/resources/shared.mjs
|
|
1235
|
-
var init_shared = () => {};
|
|
1236
|
-
|
|
1237
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.80.0+3c5d820c62823f0b/node_modules/@anthropic-ai/sdk/core/resource.mjs
|
|
1238
|
-
class APIResource {
|
|
1239
|
-
constructor(client) {
|
|
1240
|
-
this._client = client;
|
|
1241
|
-
}
|
|
1242
|
-
}
|
|
1243
|
-
var init_resource = () => {};
|
|
1244
|
-
|
|
1245
934
|
// node_modules/.bun/@anthropic-ai+sdk@0.80.0+3c5d820c62823f0b/node_modules/@anthropic-ai/sdk/internal/headers.mjs
|
|
1246
935
|
function* iterateHeaders(headers) {
|
|
1247
936
|
if (!headers)
|
|
@@ -1347,11 +1036,87 @@ function stainlessHelperHeaderFromFile(file) {
|
|
|
1347
1036
|
if (wasCreatedByStainlessHelper(file)) {
|
|
1348
1037
|
return { "x-stainless-helper": file[SDK_HELPER_SYMBOL] };
|
|
1349
1038
|
}
|
|
1350
|
-
return {};
|
|
1351
|
-
}
|
|
1352
|
-
var SDK_HELPER_SYMBOL;
|
|
1353
|
-
var init_stainless_helper_header = __esm(() => {
|
|
1354
|
-
SDK_HELPER_SYMBOL = Symbol("anthropic.sdk.stainlessHelper");
|
|
1039
|
+
return {};
|
|
1040
|
+
}
|
|
1041
|
+
var SDK_HELPER_SYMBOL;
|
|
1042
|
+
var init_stainless_helper_header = __esm(() => {
|
|
1043
|
+
SDK_HELPER_SYMBOL = Symbol("anthropic.sdk.stainlessHelper");
|
|
1044
|
+
});
|
|
1045
|
+
|
|
1046
|
+
// node_modules/.bun/@anthropic-ai+sdk@0.80.0+3c5d820c62823f0b/node_modules/@anthropic-ai/sdk/internal/uploads.mjs
|
|
1047
|
+
function makeFile(fileBits, fileName, options) {
|
|
1048
|
+
checkFileSupport();
|
|
1049
|
+
return new File(fileBits, fileName ?? "unknown_file", options);
|
|
1050
|
+
}
|
|
1051
|
+
function getName(value, stripPath) {
|
|
1052
|
+
const val = typeof value === "object" && value !== null && (("name" in value) && value.name && String(value.name) || ("url" in value) && value.url && String(value.url) || ("filename" in value) && value.filename && String(value.filename) || ("path" in value) && value.path && String(value.path)) || "";
|
|
1053
|
+
return stripPath ? val.split(/[\\/]/).pop() || undefined : val;
|
|
1054
|
+
}
|
|
1055
|
+
function supportsFormData(fetchObject) {
|
|
1056
|
+
const fetch2 = typeof fetchObject === "function" ? fetchObject : fetchObject.fetch;
|
|
1057
|
+
const cached = supportsFormDataMap.get(fetch2);
|
|
1058
|
+
if (cached)
|
|
1059
|
+
return cached;
|
|
1060
|
+
const promise = (async () => {
|
|
1061
|
+
try {
|
|
1062
|
+
const FetchResponse = "Response" in fetch2 ? fetch2.Response : (await fetch2("data:,")).constructor;
|
|
1063
|
+
const data = new FormData;
|
|
1064
|
+
if (data.toString() === await new FetchResponse(data).text()) {
|
|
1065
|
+
return false;
|
|
1066
|
+
}
|
|
1067
|
+
return true;
|
|
1068
|
+
} catch {
|
|
1069
|
+
return true;
|
|
1070
|
+
}
|
|
1071
|
+
})();
|
|
1072
|
+
supportsFormDataMap.set(fetch2, promise);
|
|
1073
|
+
return promise;
|
|
1074
|
+
}
|
|
1075
|
+
var checkFileSupport = () => {
|
|
1076
|
+
if (typeof File === "undefined") {
|
|
1077
|
+
const { process } = globalThis;
|
|
1078
|
+
const isOldNode = typeof process?.versions?.node === "string" && parseInt(process.versions.node.split(".")) < 20;
|
|
1079
|
+
throw new Error("`File` is not defined as a global, which is required for file uploads." + (isOldNode ? " Update to Node 20 LTS or newer, or set `globalThis.File` to `import('node:buffer').File`." : ""));
|
|
1080
|
+
}
|
|
1081
|
+
}, isAsyncIterable = (value) => value != null && typeof value === "object" && typeof value[Symbol.asyncIterator] === "function", multipartFormRequestOptions = async (opts, fetch2, stripFilenames = true) => {
|
|
1082
|
+
return { ...opts, body: await createForm(opts.body, fetch2, stripFilenames) };
|
|
1083
|
+
}, supportsFormDataMap, createForm = async (body, fetch2, stripFilenames = true) => {
|
|
1084
|
+
if (!await supportsFormData(fetch2)) {
|
|
1085
|
+
throw new TypeError("The provided fetch function does not support file uploads with the current global FormData class.");
|
|
1086
|
+
}
|
|
1087
|
+
const form = new FormData;
|
|
1088
|
+
await Promise.all(Object.entries(body || {}).map(([key, value]) => addFormValue(form, key, value, stripFilenames)));
|
|
1089
|
+
return form;
|
|
1090
|
+
}, isNamedBlob = (value) => value instanceof Blob && ("name" in value), addFormValue = async (form, key, value, stripFilenames) => {
|
|
1091
|
+
if (value === undefined)
|
|
1092
|
+
return;
|
|
1093
|
+
if (value == null) {
|
|
1094
|
+
throw new TypeError(`Received null for "${key}"; to pass null in FormData, you must use the string 'null'`);
|
|
1095
|
+
}
|
|
1096
|
+
if (typeof value === "string" || typeof value === "number" || typeof value === "boolean") {
|
|
1097
|
+
form.append(key, String(value));
|
|
1098
|
+
} else if (value instanceof Response) {
|
|
1099
|
+
let options = {};
|
|
1100
|
+
const contentType = value.headers.get("Content-Type");
|
|
1101
|
+
if (contentType) {
|
|
1102
|
+
options = { type: contentType };
|
|
1103
|
+
}
|
|
1104
|
+
form.append(key, makeFile([await value.blob()], getName(value, stripFilenames), options));
|
|
1105
|
+
} else if (isAsyncIterable(value)) {
|
|
1106
|
+
form.append(key, makeFile([await new Response(ReadableStreamFrom(value)).blob()], getName(value, stripFilenames)));
|
|
1107
|
+
} else if (isNamedBlob(value)) {
|
|
1108
|
+
form.append(key, makeFile([value], getName(value, stripFilenames), { type: value.type }));
|
|
1109
|
+
} else if (Array.isArray(value)) {
|
|
1110
|
+
await Promise.all(value.map((entry) => addFormValue(form, key + "[]", entry, stripFilenames)));
|
|
1111
|
+
} else if (typeof value === "object") {
|
|
1112
|
+
await Promise.all(Object.entries(value).map(([name, prop]) => addFormValue(form, `${key}[${name}]`, prop, stripFilenames)));
|
|
1113
|
+
} else {
|
|
1114
|
+
throw new TypeError(`Invalid value given to form, expected a string, number, boolean, object, Array, File or Blob but got ${value} instead`);
|
|
1115
|
+
}
|
|
1116
|
+
};
|
|
1117
|
+
var init_uploads = __esm(() => {
|
|
1118
|
+
init_shims();
|
|
1119
|
+
supportsFormDataMap = /* @__PURE__ */ new WeakMap;
|
|
1355
1120
|
});
|
|
1356
1121
|
|
|
1357
1122
|
// node_modules/.bun/@anthropic-ai+sdk@0.80.0+3c5d820c62823f0b/node_modules/@anthropic-ai/sdk/internal/utils/path.mjs
|
|
@@ -1514,11 +1279,6 @@ var init_models = __esm(() => {
|
|
|
1514
1279
|
};
|
|
1515
1280
|
});
|
|
1516
1281
|
|
|
1517
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.80.0+3c5d820c62823f0b/node_modules/@anthropic-ai/sdk/error.mjs
|
|
1518
|
-
var init_error2 = __esm(() => {
|
|
1519
|
-
init_error();
|
|
1520
|
-
});
|
|
1521
|
-
|
|
1522
1282
|
// node_modules/.bun/@anthropic-ai+sdk@0.80.0+3c5d820c62823f0b/node_modules/@anthropic-ai/sdk/internal/constants.mjs
|
|
1523
1283
|
var MODEL_NONSTREAMING_TOKENS;
|
|
1524
1284
|
var init_constants = __esm(() => {
|
|
@@ -3745,6 +3505,9 @@ Please migrate to a newer model. Visit https://docs.anthropic.com/en/docs/resour
|
|
|
3745
3505
|
Messages2.Batches = Batches2;
|
|
3746
3506
|
});
|
|
3747
3507
|
|
|
3508
|
+
// node_modules/.bun/@anthropic-ai+sdk@0.80.0+3c5d820c62823f0b/node_modules/@anthropic-ai/sdk/resources/shared.mjs
|
|
3509
|
+
var init_shared = () => {};
|
|
3510
|
+
|
|
3748
3511
|
// node_modules/.bun/@anthropic-ai+sdk@0.80.0+3c5d820c62823f0b/node_modules/@anthropic-ai/sdk/resources/models.mjs
|
|
3749
3512
|
var Models2;
|
|
3750
3513
|
var init_models2 = __esm(() => {
|
|
@@ -3786,6 +3549,243 @@ var init_resources = __esm(() => {
|
|
|
3786
3549
|
init_shared();
|
|
3787
3550
|
});
|
|
3788
3551
|
|
|
3552
|
+
// node_modules/.bun/@anthropic-ai+sdk@0.80.0+3c5d820c62823f0b/node_modules/@anthropic-ai/sdk/internal/utils/uuid.mjs
|
|
3553
|
+
var uuid4 = function() {
|
|
3554
|
+
const { crypto } = globalThis;
|
|
3555
|
+
if (crypto?.randomUUID) {
|
|
3556
|
+
uuid4 = crypto.randomUUID.bind(crypto);
|
|
3557
|
+
return crypto.randomUUID();
|
|
3558
|
+
}
|
|
3559
|
+
const u8 = new Uint8Array(1);
|
|
3560
|
+
const randomByte = crypto ? () => crypto.getRandomValues(u8)[0] : () => Math.random() * 255 & 255;
|
|
3561
|
+
return "10000000-1000-4000-8000-100000000000".replace(/[018]/g, (c) => (+c ^ randomByte() & 15 >> +c / 4).toString(16));
|
|
3562
|
+
};
|
|
3563
|
+
var init_uuid = () => {};
|
|
3564
|
+
|
|
3565
|
+
// node_modules/.bun/@anthropic-ai+sdk@0.80.0+3c5d820c62823f0b/node_modules/@anthropic-ai/sdk/internal/utils/sleep.mjs
|
|
3566
|
+
var sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
|
|
3567
|
+
var init_sleep = () => {};
|
|
3568
|
+
|
|
3569
|
+
// node_modules/.bun/@anthropic-ai+sdk@0.80.0+3c5d820c62823f0b/node_modules/@anthropic-ai/sdk/version.mjs
|
|
3570
|
+
var VERSION = "0.80.0";
|
|
3571
|
+
var init_version = () => {};
|
|
3572
|
+
|
|
3573
|
+
// node_modules/.bun/@anthropic-ai+sdk@0.80.0+3c5d820c62823f0b/node_modules/@anthropic-ai/sdk/internal/detect-platform.mjs
|
|
3574
|
+
function getDetectedPlatform() {
|
|
3575
|
+
if (typeof Deno !== "undefined" && Deno.build != null) {
|
|
3576
|
+
return "deno";
|
|
3577
|
+
}
|
|
3578
|
+
if (typeof EdgeRuntime !== "undefined") {
|
|
3579
|
+
return "edge";
|
|
3580
|
+
}
|
|
3581
|
+
if (Object.prototype.toString.call(typeof globalThis.process !== "undefined" ? globalThis.process : 0) === "[object process]") {
|
|
3582
|
+
return "node";
|
|
3583
|
+
}
|
|
3584
|
+
return "unknown";
|
|
3585
|
+
}
|
|
3586
|
+
function getBrowserInfo() {
|
|
3587
|
+
if (typeof navigator === "undefined" || !navigator) {
|
|
3588
|
+
return null;
|
|
3589
|
+
}
|
|
3590
|
+
const browserPatterns = [
|
|
3591
|
+
{ key: "edge", pattern: /Edge(?:\W+(\d+)\.(\d+)(?:\.(\d+))?)?/ },
|
|
3592
|
+
{ key: "ie", pattern: /MSIE(?:\W+(\d+)\.(\d+)(?:\.(\d+))?)?/ },
|
|
3593
|
+
{ key: "ie", pattern: /Trident(?:.*rv\:(\d+)\.(\d+)(?:\.(\d+))?)?/ },
|
|
3594
|
+
{ key: "chrome", pattern: /Chrome(?:\W+(\d+)\.(\d+)(?:\.(\d+))?)?/ },
|
|
3595
|
+
{ key: "firefox", pattern: /Firefox(?:\W+(\d+)\.(\d+)(?:\.(\d+))?)?/ },
|
|
3596
|
+
{ key: "safari", pattern: /(?:Version\W+(\d+)\.(\d+)(?:\.(\d+))?)?(?:\W+Mobile\S*)?\W+Safari/ }
|
|
3597
|
+
];
|
|
3598
|
+
for (const { key, pattern } of browserPatterns) {
|
|
3599
|
+
const match = pattern.exec(navigator.userAgent);
|
|
3600
|
+
if (match) {
|
|
3601
|
+
const major = match[1] || 0;
|
|
3602
|
+
const minor = match[2] || 0;
|
|
3603
|
+
const patch = match[3] || 0;
|
|
3604
|
+
return { browser: key, version: `${major}.${minor}.${patch}` };
|
|
3605
|
+
}
|
|
3606
|
+
}
|
|
3607
|
+
return null;
|
|
3608
|
+
}
|
|
3609
|
+
var isRunningInBrowser = () => {
|
|
3610
|
+
return typeof window !== "undefined" && typeof window.document !== "undefined" && typeof navigator !== "undefined";
|
|
3611
|
+
}, getPlatformProperties = () => {
|
|
3612
|
+
const detectedPlatform = getDetectedPlatform();
|
|
3613
|
+
if (detectedPlatform === "deno") {
|
|
3614
|
+
return {
|
|
3615
|
+
"X-Stainless-Lang": "js",
|
|
3616
|
+
"X-Stainless-Package-Version": VERSION,
|
|
3617
|
+
"X-Stainless-OS": normalizePlatform(Deno.build.os),
|
|
3618
|
+
"X-Stainless-Arch": normalizeArch(Deno.build.arch),
|
|
3619
|
+
"X-Stainless-Runtime": "deno",
|
|
3620
|
+
"X-Stainless-Runtime-Version": typeof Deno.version === "string" ? Deno.version : Deno.version?.deno ?? "unknown"
|
|
3621
|
+
};
|
|
3622
|
+
}
|
|
3623
|
+
if (typeof EdgeRuntime !== "undefined") {
|
|
3624
|
+
return {
|
|
3625
|
+
"X-Stainless-Lang": "js",
|
|
3626
|
+
"X-Stainless-Package-Version": VERSION,
|
|
3627
|
+
"X-Stainless-OS": "Unknown",
|
|
3628
|
+
"X-Stainless-Arch": `other:${EdgeRuntime}`,
|
|
3629
|
+
"X-Stainless-Runtime": "edge",
|
|
3630
|
+
"X-Stainless-Runtime-Version": globalThis.process.version
|
|
3631
|
+
};
|
|
3632
|
+
}
|
|
3633
|
+
if (detectedPlatform === "node") {
|
|
3634
|
+
return {
|
|
3635
|
+
"X-Stainless-Lang": "js",
|
|
3636
|
+
"X-Stainless-Package-Version": VERSION,
|
|
3637
|
+
"X-Stainless-OS": normalizePlatform(globalThis.process.platform ?? "unknown"),
|
|
3638
|
+
"X-Stainless-Arch": normalizeArch(globalThis.process.arch ?? "unknown"),
|
|
3639
|
+
"X-Stainless-Runtime": "node",
|
|
3640
|
+
"X-Stainless-Runtime-Version": globalThis.process.version ?? "unknown"
|
|
3641
|
+
};
|
|
3642
|
+
}
|
|
3643
|
+
const browserInfo = getBrowserInfo();
|
|
3644
|
+
if (browserInfo) {
|
|
3645
|
+
return {
|
|
3646
|
+
"X-Stainless-Lang": "js",
|
|
3647
|
+
"X-Stainless-Package-Version": VERSION,
|
|
3648
|
+
"X-Stainless-OS": "Unknown",
|
|
3649
|
+
"X-Stainless-Arch": "unknown",
|
|
3650
|
+
"X-Stainless-Runtime": `browser:${browserInfo.browser}`,
|
|
3651
|
+
"X-Stainless-Runtime-Version": browserInfo.version
|
|
3652
|
+
};
|
|
3653
|
+
}
|
|
3654
|
+
return {
|
|
3655
|
+
"X-Stainless-Lang": "js",
|
|
3656
|
+
"X-Stainless-Package-Version": VERSION,
|
|
3657
|
+
"X-Stainless-OS": "Unknown",
|
|
3658
|
+
"X-Stainless-Arch": "unknown",
|
|
3659
|
+
"X-Stainless-Runtime": "unknown",
|
|
3660
|
+
"X-Stainless-Runtime-Version": "unknown"
|
|
3661
|
+
};
|
|
3662
|
+
}, normalizeArch = (arch) => {
|
|
3663
|
+
if (arch === "x32")
|
|
3664
|
+
return "x32";
|
|
3665
|
+
if (arch === "x86_64" || arch === "x64")
|
|
3666
|
+
return "x64";
|
|
3667
|
+
if (arch === "arm")
|
|
3668
|
+
return "arm";
|
|
3669
|
+
if (arch === "aarch64" || arch === "arm64")
|
|
3670
|
+
return "arm64";
|
|
3671
|
+
if (arch)
|
|
3672
|
+
return `other:${arch}`;
|
|
3673
|
+
return "unknown";
|
|
3674
|
+
}, normalizePlatform = (platform) => {
|
|
3675
|
+
platform = platform.toLowerCase();
|
|
3676
|
+
if (platform.includes("ios"))
|
|
3677
|
+
return "iOS";
|
|
3678
|
+
if (platform === "android")
|
|
3679
|
+
return "Android";
|
|
3680
|
+
if (platform === "darwin")
|
|
3681
|
+
return "MacOS";
|
|
3682
|
+
if (platform === "win32")
|
|
3683
|
+
return "Windows";
|
|
3684
|
+
if (platform === "freebsd")
|
|
3685
|
+
return "FreeBSD";
|
|
3686
|
+
if (platform === "openbsd")
|
|
3687
|
+
return "OpenBSD";
|
|
3688
|
+
if (platform === "linux")
|
|
3689
|
+
return "Linux";
|
|
3690
|
+
if (platform)
|
|
3691
|
+
return `Other:${platform}`;
|
|
3692
|
+
return "Unknown";
|
|
3693
|
+
}, _platformHeaders, getPlatformHeaders = () => {
|
|
3694
|
+
return _platformHeaders ?? (_platformHeaders = getPlatformProperties());
|
|
3695
|
+
};
|
|
3696
|
+
var init_detect_platform = __esm(() => {
|
|
3697
|
+
init_version();
|
|
3698
|
+
});
|
|
3699
|
+
|
|
3700
|
+
// node_modules/.bun/@anthropic-ai+sdk@0.80.0+3c5d820c62823f0b/node_modules/@anthropic-ai/sdk/internal/request-options.mjs
|
|
3701
|
+
var FallbackEncoder = ({ headers, body }) => {
|
|
3702
|
+
return {
|
|
3703
|
+
bodyHeaders: {
|
|
3704
|
+
"content-type": "application/json"
|
|
3705
|
+
},
|
|
3706
|
+
body: JSON.stringify(body)
|
|
3707
|
+
};
|
|
3708
|
+
};
|
|
3709
|
+
var init_request_options = () => {};
|
|
3710
|
+
|
|
3711
|
+
// node_modules/.bun/@anthropic-ai+sdk@0.80.0+3c5d820c62823f0b/node_modules/@anthropic-ai/sdk/internal/utils/query.mjs
|
|
3712
|
+
function stringifyQuery(query) {
|
|
3713
|
+
return Object.entries(query).filter(([_, value]) => typeof value !== "undefined").map(([key, value]) => {
|
|
3714
|
+
if (typeof value === "string" || typeof value === "number" || typeof value === "boolean") {
|
|
3715
|
+
return `${encodeURIComponent(key)}=${encodeURIComponent(value)}`;
|
|
3716
|
+
}
|
|
3717
|
+
if (value === null) {
|
|
3718
|
+
return `${encodeURIComponent(key)}=`;
|
|
3719
|
+
}
|
|
3720
|
+
throw new AnthropicError(`Cannot stringify type ${typeof value}; Expected string, number, boolean, or null. If you need to pass nested query parameters, you can manually encode them, e.g. { query: { 'foo[key1]': value1, 'foo[key2]': value2 } }, and please open a GitHub issue requesting better support for your use case.`);
|
|
3721
|
+
}).join("&");
|
|
3722
|
+
}
|
|
3723
|
+
var init_query = __esm(() => {
|
|
3724
|
+
init_error();
|
|
3725
|
+
});
|
|
3726
|
+
|
|
3727
|
+
// node_modules/.bun/@anthropic-ai+sdk@0.80.0+3c5d820c62823f0b/node_modules/@anthropic-ai/sdk/internal/to-file.mjs
|
|
3728
|
+
async function toFile(value, name, options) {
|
|
3729
|
+
checkFileSupport();
|
|
3730
|
+
value = await value;
|
|
3731
|
+
name || (name = getName(value, true));
|
|
3732
|
+
if (isFileLike(value)) {
|
|
3733
|
+
if (value instanceof File && name == null && options == null) {
|
|
3734
|
+
return value;
|
|
3735
|
+
}
|
|
3736
|
+
return makeFile([await value.arrayBuffer()], name ?? value.name, {
|
|
3737
|
+
type: value.type,
|
|
3738
|
+
lastModified: value.lastModified,
|
|
3739
|
+
...options
|
|
3740
|
+
});
|
|
3741
|
+
}
|
|
3742
|
+
if (isResponseLike(value)) {
|
|
3743
|
+
const blob = await value.blob();
|
|
3744
|
+
name || (name = new URL(value.url).pathname.split(/[\\/]/).pop());
|
|
3745
|
+
return makeFile(await getBytes(blob), name, options);
|
|
3746
|
+
}
|
|
3747
|
+
const parts = await getBytes(value);
|
|
3748
|
+
if (!options?.type) {
|
|
3749
|
+
const type = parts.find((part) => typeof part === "object" && ("type" in part) && part.type);
|
|
3750
|
+
if (typeof type === "string") {
|
|
3751
|
+
options = { ...options, type };
|
|
3752
|
+
}
|
|
3753
|
+
}
|
|
3754
|
+
return makeFile(parts, name, options);
|
|
3755
|
+
}
|
|
3756
|
+
async function getBytes(value) {
|
|
3757
|
+
let parts = [];
|
|
3758
|
+
if (typeof value === "string" || ArrayBuffer.isView(value) || value instanceof ArrayBuffer) {
|
|
3759
|
+
parts.push(value);
|
|
3760
|
+
} else if (isBlobLike(value)) {
|
|
3761
|
+
parts.push(value instanceof Blob ? value : await value.arrayBuffer());
|
|
3762
|
+
} else if (isAsyncIterable(value)) {
|
|
3763
|
+
for await (const chunk of value) {
|
|
3764
|
+
parts.push(...await getBytes(chunk));
|
|
3765
|
+
}
|
|
3766
|
+
} else {
|
|
3767
|
+
const constructor = value?.constructor?.name;
|
|
3768
|
+
throw new Error(`Unexpected data type: ${typeof value}${constructor ? `; constructor: ${constructor}` : ""}${propsForError(value)}`);
|
|
3769
|
+
}
|
|
3770
|
+
return parts;
|
|
3771
|
+
}
|
|
3772
|
+
function propsForError(value) {
|
|
3773
|
+
if (typeof value !== "object" || value === null)
|
|
3774
|
+
return "";
|
|
3775
|
+
const props = Object.getOwnPropertyNames(value);
|
|
3776
|
+
return `; props: [${props.map((p) => `"${p}"`).join(", ")}]`;
|
|
3777
|
+
}
|
|
3778
|
+
var isBlobLike = (value) => value != null && typeof value === "object" && typeof value.size === "number" && typeof value.type === "string" && typeof value.text === "function" && typeof value.slice === "function" && typeof value.arrayBuffer === "function", isFileLike = (value) => value != null && typeof value === "object" && typeof value.name === "string" && typeof value.lastModified === "number" && isBlobLike(value), isResponseLike = (value) => value != null && typeof value === "object" && typeof value.url === "string" && typeof value.blob === "function";
|
|
3779
|
+
var init_to_file = __esm(() => {
|
|
3780
|
+
init_uploads();
|
|
3781
|
+
init_uploads();
|
|
3782
|
+
});
|
|
3783
|
+
|
|
3784
|
+
// node_modules/.bun/@anthropic-ai+sdk@0.80.0+3c5d820c62823f0b/node_modules/@anthropic-ai/sdk/core/uploads.mjs
|
|
3785
|
+
var init_uploads2 = __esm(() => {
|
|
3786
|
+
init_to_file();
|
|
3787
|
+
});
|
|
3788
|
+
|
|
3789
3789
|
// node_modules/.bun/@anthropic-ai+sdk@0.80.0+3c5d820c62823f0b/node_modules/@anthropic-ai/sdk/internal/utils/env.mjs
|
|
3790
3790
|
var readEnv = (env) => {
|
|
3791
3791
|
if (typeof globalThis.process !== "undefined") {
|