claude-code-best 1.4.3 → 1.5.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 +1 -0
- package/dist/{chunk-wpcgztry.js → chunk-07hgsrrj.js} +61 -65
- package/dist/{chunk-yamdfram.js → chunk-08s2vf8j.js} +51 -52
- package/dist/{chunk-rde4wtp8.js → chunk-099vkedx.js} +2 -2
- package/dist/{chunk-pj0866mn.js → chunk-0bbrkswa.js} +1 -1
- package/dist/{chunk-0dwxmzv5.js → chunk-0bqtrr6h.js} +55 -56
- package/dist/{chunk-kbzh54rh.js → chunk-0g5qnby7.js} +6 -6
- package/dist/{chunk-bec4mkst.js → chunk-0h1mmmrb.js} +15 -15
- package/dist/{chunk-5dhrvrtg.js → chunk-0j7426hg.js} +2 -2
- package/dist/{chunk-0z0m6mm5.js → chunk-0k1jmtw9.js} +2 -2
- package/dist/{chunk-z3hw83qk.js → chunk-0k5v3m41.js} +49 -50
- package/dist/chunk-0kd8mq8j.js +36 -0
- package/dist/{chunk-3fp4s54c.js → chunk-0n0ca69d.js} +8 -8
- package/dist/{chunk-pp147tk2.js → chunk-0qakcnby.js} +47 -48
- package/dist/chunk-0s7za42b.js +14 -0
- package/dist/{chunk-fb2ta2tx.js → chunk-0tmg91b1.js} +47 -48
- package/dist/{chunk-mcyyqkv6.js → chunk-0v20v2af.js} +3 -3
- package/dist/{chunk-dmj8nwb4.js → chunk-0v2awzd5.js} +1 -1
- package/dist/{chunk-5fnc2arn.js → chunk-0v590295.js} +148 -148
- package/dist/{chunk-rwz2d4a6.js → chunk-0va3y97h.js} +50 -51
- package/dist/{chunk-r26enj81.js → chunk-0vcpjqz5.js} +18 -18
- package/dist/{chunk-nnjw47pz.js → chunk-0vvk6tv4.js} +15 -15
- package/dist/{chunk-k4zz5qt6.js → chunk-0w957a33.js} +50 -51
- package/dist/{chunk-vnkmsvcm.js → chunk-0wtwnyvg.js} +1 -1
- package/dist/chunk-0xereag4.js +173 -0
- package/dist/{chunk-34ct1dk0.js → chunk-0z5j99bj.js} +16 -16
- package/dist/{chunk-6bd8brc4.js → chunk-0zkw14gq.js} +3 -3
- package/dist/{chunk-jfhmk1c6.js → chunk-13zdd5e6.js} +38 -32
- package/dist/{chunk-3me3nd70.js → chunk-16gq8x0y.js} +49 -50
- package/dist/{chunk-apyd6jg3.js → chunk-19gdjrk6.js} +3 -3
- package/dist/{chunk-strvbymz.js → chunk-1dym9vfh.js} +37 -31
- package/dist/chunk-1g68v32a.js +17 -0
- package/dist/{chunk-ztb7kzx4.js → chunk-1k83dgjb.js} +49 -50
- package/dist/{chunk-sfqs55dz.js → chunk-1kr4x0ec.js} +16 -16
- package/dist/chunk-1v0q0tce.js +104 -0
- package/dist/{chunk-m41d561t.js → chunk-1y0w6mjw.js} +48 -49
- package/dist/{chunk-gjfa8v40.js → chunk-1ymrygy1.js} +3 -3
- package/dist/{chunk-cd48n5z6.js → chunk-1zzfvmmk.js} +47 -48
- package/dist/{chunk-qyeh87q9.js → chunk-23j983cf.js} +48 -49
- package/dist/{chunk-t0644p95.js → chunk-25xrykpm.js} +47 -48
- package/dist/{chunk-1c9eqthz.js → chunk-26yzm962.js} +47 -48
- package/dist/{chunk-11rpa5zm.js → chunk-279m39zm.js} +2 -2
- package/dist/chunk-27an25fd.js +118 -0
- package/dist/{chunk-c9js3490.js → chunk-2br81xts.js} +13 -13
- package/dist/chunk-2eftymgs.js +70 -0
- package/dist/{chunk-dmk1xmtv.js → chunk-2n53zm0g.js} +1 -1
- package/dist/{chunk-0tqqepp7.js → chunk-2ppy5p0x.js} +1 -1
- package/dist/chunk-2rhny2td.js +542 -0
- package/dist/{chunk-691kttad.js → chunk-2s2z24wm.js} +47 -48
- package/dist/{chunk-0bthwtc4.js → chunk-2tt7xc2t.js} +2 -2
- package/dist/{chunk-813bqtt4.js → chunk-2wy13rhe.js} +14 -14
- package/dist/{chunk-1y0e25vy.js → chunk-2xx8f4qv.js} +4 -4
- package/dist/{chunk-6v12h56j.js → chunk-32mtrtm4.js} +48 -49
- package/dist/{chunk-wjhhetv4.js → chunk-32vdb088.js} +208 -202
- package/dist/{chunk-03qpgz7e.js → chunk-36yypykx.js} +2151 -2124
- package/dist/{chunk-01pfrqr8.js → chunk-381w6mma.js} +1 -1
- package/dist/{chunk-c5mxmjvf.js → chunk-3cghr0yw.js} +47 -48
- package/dist/chunk-3dpdscmt.js +5332 -0
- package/dist/{chunk-c4r8jfrs.js → chunk-3dv5ctj4.js} +48 -49
- package/dist/{chunk-wkxg48gk.js → chunk-3es5r0dx.js} +48 -49
- package/dist/chunk-3fapt8z5.js +3686 -0
- package/dist/{chunk-xxdk3d0d.js → chunk-3gpxmzz8.js} +3 -3
- package/dist/{chunk-t6w2xwm7.js → chunk-3xh6v618.js} +47 -48
- package/dist/{chunk-nh76pgrt.js → chunk-3xw21x85.js} +2 -2
- package/dist/{chunk-cbssxph9.js → chunk-3zyt28ea.js} +14 -14
- package/dist/{chunk-gwkgfkj5.js → chunk-40d286da.js} +5 -5
- package/dist/{chunk-ew5daj4s.js → chunk-42k22r18.js} +1 -1
- package/dist/{chunk-ygc38zsc.js → chunk-456m81he.js} +47 -48
- package/dist/{chunk-309spvbz.js → chunk-46bqcdpf.js} +5 -5
- package/dist/{chunk-w61znt0r.js → chunk-4b5peb6p.js} +7 -7
- package/dist/chunk-4cfcpzb1.js +25 -0
- package/dist/chunk-4ch5vxv6.js +55 -0
- package/dist/chunk-4drj3c7m.js +9 -0
- package/dist/{chunk-s0f9h1ke.js → chunk-4h5zefyh.js} +48 -49
- package/dist/{chunk-q33kdbcv.js → chunk-4n6tnssg.js} +75 -50
- package/dist/{chunk-w0hw971e.js → chunk-4pr3ph3g.js} +14 -14
- package/dist/{chunk-jff3fbst.js → chunk-4sahp0qz.js} +93 -101
- package/dist/{chunk-sxceea76.js → chunk-4ymyjjq9.js} +6 -6
- package/dist/{chunk-05tebmww.js → chunk-50ykc5qt.js} +2 -2
- package/dist/{chunk-qq72x3fs.js → chunk-53dr4k73.js} +3 -3
- package/dist/chunk-58fwsj1y.js +718 -0
- package/dist/chunk-59dp4z1p.js +157 -0
- package/dist/chunk-5b4v2zkf.js +1095 -0
- package/dist/{chunk-6h9gxb9m.js → chunk-5c62s229.js} +14 -14
- package/dist/{chunk-kgj9893t.js → chunk-5f4n0ywb.js} +48 -49
- package/dist/{chunk-zypp6syd.js → chunk-5gv4sshz.js} +47 -48
- package/dist/{chunk-tj45shek.js → chunk-5m6942nd.js} +5 -5
- package/dist/{chunk-ykr5qx9v.js → chunk-5nccnh01.js} +123 -103
- package/dist/{chunk-1gj0pnga.js → chunk-5q5xcm1a.js} +47 -48
- package/dist/{chunk-x6v6emh0.js → chunk-5wq9nsdc.js} +3 -3
- package/dist/{chunk-n0y737n2.js → chunk-5x2nq6b9.js} +55 -58
- package/dist/{chunk-d6qweage.js → chunk-5y6k4xrs.js} +2 -2
- package/dist/{chunk-qbaszyg6.js → chunk-63q03fkn.js} +47 -48
- package/dist/{chunk-wsx9nt4e.js → chunk-65w3ek1a.js} +17 -17
- package/dist/{chunk-q80ddpch.js → chunk-67w1zken.js} +16 -16
- package/dist/{chunk-5q0pv8vm.js → chunk-6ccsyy1d.js} +1 -1
- package/dist/{chunk-fhfp2q8c.js → chunk-6ct7fh1v.js} +3 -3
- package/dist/{chunk-yefearm8.js → chunk-6d1y8a8t.js} +2 -2
- package/dist/{chunk-ndbcx9we.js → chunk-6dcmw81a.js} +22 -22
- package/dist/{chunk-bg0k9ktd.js → chunk-6eb1nz6v.js} +3 -3
- package/dist/{chunk-zm12zvc2.js → chunk-6frqd366.js} +50 -51
- package/dist/chunk-6m81e182.js +81 -0
- package/dist/{chunk-j6k3zjb5.js → chunk-6ns89pft.js} +25 -17
- package/dist/chunk-6vqkv5g7.js +256 -0
- package/dist/{chunk-k7qcpvdq.js → chunk-6weddn5h.js} +49 -50
- package/dist/{chunk-5tscygm0.js → chunk-7a6r0k3m.js} +47 -48
- package/dist/{chunk-r7n5brf9.js → chunk-7b2e9e81.js} +15 -17
- package/dist/{chunk-d5qv71vm.js → chunk-7bc12031.js} +14 -12
- package/dist/{chunk-49hrrcw1.js → chunk-7brvkna2.js} +53 -54
- package/dist/{chunk-gptd9heq.js → chunk-7bs8swa2.js} +7 -7
- package/dist/{chunk-0925w20x.js → chunk-7dgqzj7h.js} +50 -51
- package/dist/{chunk-e6yh7vb2.js → chunk-7dk4m49a.js} +48 -49
- package/dist/{chunk-8y6xx3na.js → chunk-7e9hc8ce.js} +52 -53
- package/dist/{chunk-90wp6wez.js → chunk-7ebcff63.js} +2 -2
- package/dist/{chunk-pjmqey38.js → chunk-7ecg65mr.js} +1 -1
- package/dist/{chunk-zttmdag3.js → chunk-7fht54sw.js} +1 -1
- package/dist/{chunk-djhtjksq.js → chunk-7j845cqe.js} +47 -48
- package/dist/chunk-7jk88vww.js +782 -0
- package/dist/{chunk-ecj9mwz9.js → chunk-7kfb7tqj.js} +2 -2
- package/dist/{chunk-rbkhemh9.js → chunk-7p437ydk.js} +37 -31
- package/dist/{chunk-a9zh40sj.js → chunk-7q7h7msb.js} +3 -3
- package/dist/{chunk-aex4kmfm.js → chunk-7ye0arvq.js} +1 -1
- package/dist/{chunk-s8atpq1r.js → chunk-7z17cw4h.js} +47 -48
- package/dist/{chunk-hxc8e6wd.js → chunk-7zrkp054.js} +2 -2
- package/dist/chunk-82jkr65n.js +16 -0
- package/dist/{chunk-avbb5066.js → chunk-838naekw.js} +2 -2
- package/dist/{chunk-32p0jkaj.js → chunk-879maaae.js} +47 -48
- package/dist/chunk-87zgmycv.js +65 -0
- package/dist/{chunk-fb7hgch7.js → chunk-8shx4hgv.js} +48 -49
- package/dist/{chunk-czk5s0d6.js → chunk-8vt2rmzz.js} +52 -53
- package/dist/{chunk-grvhbg1q.js → chunk-8wmyjwn2.js} +2 -2
- package/dist/{chunk-27ezf4tc.js → chunk-8wq0z465.js} +1 -1
- package/dist/{chunk-1feqvkrs.js → chunk-8ym1t31g.js} +53 -54
- package/dist/{chunk-1jp931g0.js → chunk-8z33fy5n.js} +49 -50
- package/dist/chunk-91abjr1g.js +29 -0
- package/dist/{chunk-g649rtg8.js → chunk-9230kmx2.js} +7 -6
- package/dist/{chunk-s39ksgef.js → chunk-93qhgq6p.js} +1 -1
- package/dist/{chunk-qx67chz8.js → chunk-9629mtdz.js} +1 -1
- package/dist/{chunk-g4wnmj57.js → chunk-9b04n6d1.js} +1 -1
- package/dist/{chunk-fengsq7f.js → chunk-9fpha2xv.js} +6 -6
- package/dist/{chunk-469hyn07.js → chunk-9stsxjba.js} +4 -4
- package/dist/{chunk-e1f6mcs9.js → chunk-9t7nxd80.js} +1 -1
- package/dist/{chunk-wx1f33e7.js → chunk-9vebtp7v.js} +52 -53
- package/dist/{chunk-bgbp3zkb.js → chunk-a7kdj8mj.js} +54 -55
- package/dist/{chunk-7rncd7c0.js → chunk-acts7vdr.js} +10 -10
- package/dist/{chunk-xthpe23e.js → chunk-adgamch7.js} +57 -60
- package/dist/{chunk-g588xxp7.js → chunk-ahebrd5y.js} +5 -5
- package/dist/{chunk-8b70kazk.js → chunk-am5cn48y.js} +4 -4
- package/dist/{chunk-541f5hfx.js → chunk-apwjfffr.js} +1 -1
- package/dist/{chunk-rbfe062s.js → chunk-ayn250r2.js} +16 -16
- package/dist/chunk-b0bk6bxs.js +742 -0
- package/dist/{chunk-c358prbg.js → chunk-b0yyp8et.js} +4210 -253
- package/dist/{chunk-d9fng1q2.js → chunk-bg3zs6s3.js} +1 -1
- package/dist/chunk-btnvjcc5.js +15 -0
- package/dist/{chunk-z7dv1v7n.js → chunk-by7nh2js.js} +18 -18
- package/dist/{chunk-3g4s34f4.js → chunk-c0yhh86m.js} +3 -3
- package/dist/{chunk-6dfy9qjt.js → chunk-c68754tz.js} +5 -5
- package/dist/chunk-cga5sq7g.js +41 -0
- package/dist/{chunk-v30g8yjp.js → chunk-cjzk6t5c.js} +1 -1
- package/dist/chunk-ck06sqpy.js +220 -0
- package/dist/{chunk-bh9dh708.js → chunk-ck3q71vq.js} +2 -2
- package/dist/{chunk-gtzjdd18.js → chunk-cqbkd5ec.js} +3 -3
- package/dist/{chunk-c0mdv9w6.js → chunk-cqym51bf.js} +6 -6
- package/dist/{chunk-3ybsbz1m.js → chunk-cvqjhmqj.js} +56 -57
- package/dist/{chunk-fejedxv7.js → chunk-cxy1ed0h.js} +3 -3
- package/dist/{chunk-a4c4m0nx.js → chunk-czjvd1xh.js} +91 -1806
- package/dist/{chunk-9f1w8esq.js → chunk-d0hj14fq.js} +65 -66
- package/dist/{chunk-d015m8yn.js → chunk-d2kj6nek.js} +2 -2
- package/dist/{chunk-9s5zmrvx.js → chunk-d37y1qja.js} +53 -54
- package/dist/{chunk-819mbp4a.js → chunk-d4x13kaa.js} +53 -54
- package/dist/{chunk-ch7hgejq.js → chunk-d6kw0esk.js} +1200 -161
- package/dist/{chunk-9aak4pwq.js → chunk-d7jqw171.js} +47 -48
- package/dist/{chunk-nt3r80s6.js → chunk-d7xarb4w.js} +50 -51
- package/dist/{chunk-k3p4x944.js → chunk-db3pr49y.js} +1 -1
- package/dist/{chunk-8yqnkf9n.js → chunk-dbfg6qhf.js} +2 -2
- package/dist/{chunk-brg57n5r.js → chunk-dcs7myc3.js} +7 -7
- package/dist/{chunk-8rmntsad.js → chunk-ddyjgjpq.js} +47 -48
- package/dist/chunk-dgv19cce.js +183 -0
- package/dist/{chunk-k3eb60ct.js → chunk-djrgjmyj.js} +1 -1
- package/dist/{chunk-g9tce9xp.js → chunk-djye5k50.js} +56 -59
- package/dist/{chunk-35c6r949.js → chunk-dknvhgkn.js} +3 -3
- package/dist/{chunk-s2t3qrte.js → chunk-drth8ce0.js} +1 -1
- package/dist/{chunk-dpzvkxtn.js → chunk-dt26hy6y.js} +1 -1
- package/dist/{chunk-cp21k6j3.js → chunk-dw5n6pr6.js} +47 -48
- package/dist/{chunk-ze6zvkg6.js → chunk-dxcr07z5.js} +4 -4
- package/dist/{chunk-bx42jx3q.js → chunk-dz32qcdd.js} +1 -1
- package/dist/chunk-e2cwk4hm.js +1185 -0
- package/dist/{chunk-964fpq2b.js → chunk-e50jgy7e.js} +14 -14
- package/dist/{chunk-dq4mt605.js → chunk-e6trsfsm.js} +47 -48
- package/dist/{chunk-7cn3st3a.js → chunk-e6x5rpgx.js} +2 -2
- package/dist/{chunk-krcxgtkq.js → chunk-e84ydbsq.js} +49 -50
- package/dist/{chunk-e1z0nyq5.js → chunk-e96pr3z1.js} +48 -49
- package/dist/{chunk-6kr82nrb.js → chunk-eaawf61a.js} +47 -48
- package/dist/{chunk-6fbnt5h9.js → chunk-eck5mjcw.js} +47 -48
- package/dist/{chunk-jf3995b3.js → chunk-egtb28zm.js} +233 -256
- package/dist/chunk-enhtm7h3.js +1731 -0
- package/dist/{chunk-n1hc1e25.js → chunk-ep3h3f40.js} +47 -48
- package/dist/{chunk-5b3k6tpd.js → chunk-eqrxxgwx.js} +47 -48
- package/dist/chunk-es6y15pn.js +42 -0
- package/dist/{chunk-8czrx8ht.js → chunk-etjwrq2s.js} +27 -27
- package/dist/{chunk-6bsm0zew.js → chunk-ezbeckn3.js} +74 -51
- package/dist/{chunk-3fqxcp51.js → chunk-f109n77b.js} +14 -12
- package/dist/{chunk-kw1hpgh9.js → chunk-f29erv6g.js} +1 -1
- package/dist/{chunk-1vddy71a.js → chunk-f3hyhcgd.js} +48 -49
- package/dist/{chunk-y49d81am.js → chunk-fc9we717.js} +57 -60
- package/dist/{chunk-djydtvkr.js → chunk-fekynwj1.js} +505 -211
- package/dist/{chunk-572eqfcb.js → chunk-fks8ej56.js} +49 -50
- package/dist/{chunk-8zfdkr9j.js → chunk-frwxzq55.js} +47 -48
- package/dist/{chunk-6rcfewfp.js → chunk-ftdfvq1w.js} +4 -4
- package/dist/{chunk-w4pyvjtz.js → chunk-fx0xd0ex.js} +4 -4
- package/dist/{chunk-xpsb3jm8.js → chunk-fx52a9s2.js} +1 -1
- package/dist/{chunk-3nxv7rc1.js → chunk-fxgt3m0a.js} +47 -48
- package/dist/{chunk-wvac5hhg.js → chunk-fxm5s7sf.js} +15 -15
- package/dist/{chunk-bkafccpc.js → chunk-fy2qr4hw.js} +48 -49
- package/dist/{chunk-5aw4k8fc.js → chunk-fz395yre.js} +1 -1
- package/dist/{chunk-tsd9qae1.js → chunk-g0pmcggh.js} +2 -2
- package/dist/{chunk-1nkqjw8f.js → chunk-g45rr3sj.js} +1 -1
- package/dist/{chunk-q27bsq0y.js → chunk-g5kf8gsq.js} +4 -4
- package/dist/{chunk-5vkft7fk.js → chunk-g9p7fypd.js} +47 -48
- package/dist/{chunk-ep17krqe.js → chunk-gbjhmjds.js} +9 -35
- package/dist/chunk-gd1ye7ef.js +168 -0
- package/dist/{chunk-spbanbyj.js → chunk-gfmss0fm.js} +15 -15
- package/dist/{chunk-xnakns4w.js → chunk-gg7ay6js.js} +47 -48
- package/dist/{chunk-777vk9pb.js → chunk-gk6v4y3r.js} +36 -32
- package/dist/{chunk-zftb15xp.js → chunk-gpgcar7e.js} +49 -50
- package/dist/{chunk-k384qakk.js → chunk-gps4nmr6.js} +47 -48
- package/dist/{chunk-tp7b8ek9.js → chunk-gsa7bq8w.js} +6 -8
- package/dist/{chunk-m7m8tbj3.js → chunk-gsh55gb1.js} +2 -2
- package/dist/{chunk-mmn3cbyd.js → chunk-gv7bchnx.js} +47 -48
- package/dist/{chunk-enkmd54m.js → chunk-gvg7arvr.js} +47 -48
- package/dist/chunk-gxnyeps9.js +3 -3
- package/dist/{chunk-3c1emyyp.js → chunk-gy5rfgd4.js} +6 -6
- package/dist/{chunk-vrq6n6h1.js → chunk-gzsnwa2e.js} +2 -2
- package/dist/{chunk-4qqswajh.js → chunk-h2vxyvpa.js} +12 -14
- package/dist/{chunk-jebb8j1d.js → chunk-h9dtsc52.js} +51 -53
- package/dist/{chunk-nzpww4n5.js → chunk-hjr7tc1g.js} +1 -1
- package/dist/{chunk-hhwwyqt1.js → chunk-hkfat5cj.js} +50 -51
- package/dist/{chunk-9b77th8n.js → chunk-hkk80362.js} +1 -1
- package/dist/{chunk-fvr6n12m.js → chunk-hkqvtcn2.js} +1 -1
- package/dist/{chunk-nxa79974.js → chunk-hs7sxtea.js} +2 -2
- package/dist/{chunk-8ymf4e6z.js → chunk-hxc5rbra.js} +3 -3
- package/dist/{chunk-bmpwagz8.js → chunk-hz9ty6jz.js} +50 -51
- package/dist/{chunk-6kwx0aa4.js → chunk-hzk6nn1a.js} +47 -48
- package/dist/{chunk-b5hv2cbp.js → chunk-hzq56eee.js} +15 -15
- package/dist/{chunk-bt64sq5y.js → chunk-j04z48rw.js} +2 -2
- package/dist/chunk-j99epwtm.js +703 -0
- package/dist/{chunk-zs5b1dgr.js → chunk-jdq8jgyg.js} +1 -1
- package/dist/chunk-jdx93dh4.js +412 -0
- package/dist/chunk-jfqdw43z.js +14 -0
- package/dist/{chunk-ej1wwrcw.js → chunk-jvwa5w8w.js} +440 -654
- package/dist/{chunk-0w1sq2wh.js → chunk-jxzrapdr.js} +47 -48
- package/dist/{chunk-q76tj8p6.js → chunk-k7qqw0mj.js} +4 -4
- package/dist/{chunk-a8ejc632.js → chunk-k97s93n9.js} +1 -1
- package/dist/{chunk-sxaedgmw.js → chunk-kcewk85p.js} +2 -2
- package/dist/{chunk-5xbvemsj.js → chunk-kdbbs50z.js} +3 -3
- package/dist/{chunk-xmh281bd.js → chunk-ke0bvd5n.js} +48 -49
- package/dist/{chunk-3czpsqvd.js → chunk-kggr6n4m.js} +60 -63
- package/dist/{chunk-sfmxv59p.js → chunk-km3ssf62.js} +19 -19
- package/dist/{chunk-j1x3ns18.js → chunk-kmh848ar.js} +19 -19
- package/dist/{chunk-8k26yg8y.js → chunk-kmy230xj.js} +50 -51
- package/dist/{chunk-twmgrmfw.js → chunk-kpyj9z78.js} +1 -1
- package/dist/{chunk-s0d48jma.js → chunk-kwrep6kh.js} +2 -2
- package/dist/chunk-kxqjncxw.js +35 -0
- package/dist/{chunk-gfex5hb6.js → chunk-kyddexms.js} +13 -19
- package/dist/{chunk-sstfswx9.js → chunk-kyefv6ng.js} +16 -16
- package/dist/{chunk-2rdnvcex.js → chunk-kz44a3qf.js} +3 -3
- package/dist/{chunk-dy8tttdp.js → chunk-m0vj33nj.js} +3 -3
- package/dist/chunk-m2rg2m7x.js +910 -0
- package/dist/{chunk-mday155d.js → chunk-mbg1aw69.js} +10 -10
- package/dist/{chunk-h2ywbfms.js → chunk-mbkp0n55.js} +25 -25
- package/dist/{chunk-5cc4s826.js → chunk-mc41nrsy.js} +15 -15
- package/dist/{chunk-fbt6vctw.js → chunk-me5gz5wa.js} +14 -14
- package/dist/{chunk-gfs9md4a.js → chunk-mg8jtbwg.js} +50 -51
- package/dist/{chunk-r71sjhpf.js → chunk-mgkaqb94.js} +47 -48
- package/dist/{chunk-6s311f7t.js → chunk-mhygj95j.js} +48 -49
- package/dist/{chunk-xx1p336b.js → chunk-mjqazs3m.js} +2 -2
- package/dist/{chunk-sf0ay82k.js → chunk-mnfb10tx.js} +3 -3
- package/dist/{chunk-nwrtz4yt.js → chunk-mp72s5hc.js} +1 -1
- package/dist/{chunk-kzhw03m7.js → chunk-mp7bn9nx.js} +47 -48
- package/dist/{chunk-tzqx43zc.js → chunk-ms5agen7.js} +47 -48
- package/dist/{chunk-vs6r3az0.js → chunk-msehbnjp.js} +59 -60
- package/dist/{chunk-0mzj4pd6.js → chunk-my9dkgm8.js} +118 -4
- package/dist/{chunk-3jhddwfc.js → chunk-n7pwac8p.js} +15 -15
- package/dist/{chunk-kksbjtad.js → chunk-n8fxmey8.js} +1 -1
- package/dist/{chunk-tc1yyeaa.js → chunk-nd8hhtqz.js} +1 -1
- package/dist/{chunk-pyb8mk8k.js → chunk-nehajf9x.js} +3 -5
- package/dist/{chunk-fz0ch109.js → chunk-ng6s8w0e.js} +2 -2
- package/dist/{chunk-ry4ct8z8.js → chunk-ngryd7gy.js} +1 -1
- package/dist/{chunk-hbeg1qyg.js → chunk-nhxygcn1.js} +49 -50
- package/dist/chunk-nv7eb4pc.js +22 -0
- package/dist/{chunk-j84jdj7r.js → chunk-p6bws1a4.js} +16 -16
- package/dist/{chunk-y5x8wqe5.js → chunk-p8c4512d.js} +1 -1
- package/dist/{chunk-zt4jjf59.js → chunk-pa4m8fka.js} +14 -14
- package/dist/{chunk-4v58psnx.js → chunk-pd9q9fd7.js} +47 -48
- package/dist/chunk-pf1dekdv.js +26 -0
- package/dist/{chunk-9v303wbj.js → chunk-pj5wk9qe.js} +47 -48
- package/dist/{chunk-43v0vw9y.js → chunk-pkaehdm6.js} +859 -942
- package/dist/{chunk-fytzzgd4.js → chunk-pp4kq0fa.js} +47 -48
- package/dist/{chunk-1dnx9t9k.js → chunk-ptnf75rg.js} +47 -48
- package/dist/{chunk-wgwhgb0q.js → chunk-q09zbxk4.js} +15 -15
- package/dist/{chunk-ng8k4ywf.js → chunk-q1e46gk8.js} +55 -56
- package/dist/{chunk-n7gcwz03.js → chunk-q1e7t6tz.js} +15 -128
- package/dist/{chunk-exg8st0p.js → chunk-q2jeezb4.js} +3 -3
- package/dist/{chunk-865khv0s.js → chunk-q6vk37f0.js} +47 -48
- package/dist/chunk-q95b9wrd.js +40 -0
- package/dist/{chunk-75y4edzf.js → chunk-qcvyd3y4.js} +3 -3
- package/dist/{chunk-dx0wh311.js → chunk-qd97hcgd.js} +5 -5
- package/dist/{chunk-9r057b2r.js → chunk-qgx9mc6p.js} +5 -5
- package/dist/{chunk-jqr257x5.js → chunk-qkp3ytva.js} +108 -111
- package/dist/{chunk-ettyndhe.js → chunk-qkymv6n8.js} +6 -6
- package/dist/{chunk-rc5r5t8e.js → chunk-qrz3b0e1.js} +4 -4
- package/dist/{chunk-tmmjr5ta.js → chunk-qzjk4vpq.js} +4 -4
- package/dist/{chunk-hn3hk8tc.js → chunk-r35b43p4.js} +17 -17
- package/dist/{chunk-6gg2cvm2.js → chunk-r4j2h4yp.js} +1 -1
- package/dist/{chunk-p6q6twct.js → chunk-r651whr2.js} +15 -15
- package/dist/{chunk-wdz993z8.js → chunk-r70h7x48.js} +50 -51
- package/dist/{chunk-a9psh500.js → chunk-r8yzzrsp.js} +55 -56
- package/dist/{chunk-h1qt9p3c.js → chunk-rdgrfsjm.js} +47 -48
- package/dist/{chunk-65nwpf7n.js → chunk-rfmf8jw2.js} +1 -1
- package/dist/{chunk-m9e7stwq.js → chunk-rhdgt3c8.js} +4 -4
- package/dist/{chunk-1f59hhb4.js → chunk-rqwcz7mf.js} +16 -16
- package/dist/{chunk-73pxnrgv.js → chunk-rvb54w68.js} +2 -2
- package/dist/{chunk-4qv97nv2.js → chunk-rwa1xxqk.js} +4 -4
- package/dist/{chunk-aga3cvg8.js → chunk-s3k2jajp.js} +47 -48
- package/dist/{chunk-35bdpz91.js → chunk-s5cvaf0y.js} +3 -3
- package/dist/{chunk-13z0sgs1.js → chunk-s8tq4y70.js} +2 -2
- package/dist/{chunk-rmb338tt.js → chunk-sa2gzt2m.js} +2 -2
- package/dist/chunk-scyjb4rw.js +42 -0
- package/dist/{chunk-jk1arbw0.js → chunk-sfem4v24.js} +14 -14
- package/dist/{chunk-wbv06vv2.js → chunk-sjc21xag.js} +4 -4
- package/dist/{chunk-p12z0hqk.js → chunk-snkt46ca.js} +1 -1
- package/dist/{chunk-trj0ahk0.js → chunk-sqk9ayam.js} +5 -7
- package/dist/chunk-swjfjpja.js +3213 -0
- package/dist/{chunk-c7qxrffg.js → chunk-swyr0ze5.js} +5 -5
- package/dist/{chunk-sznnpxg3.js → chunk-t0rxmbvz.js} +17 -17
- package/dist/{chunk-eskw6xkv.js → chunk-t260g32y.js} +4 -4
- package/dist/{chunk-fg46hc6d.js → chunk-t6kym3nr.js} +38 -32
- package/dist/{chunk-5hjn2k7k.js → chunk-t79jmj3c.js} +5 -5
- package/dist/chunk-t7vqt78m.js +32 -0
- package/dist/chunk-t8sg0wf3.js +23 -0
- package/dist/{chunk-xdrgnnrx.js → chunk-tc92qnj1.js} +77 -50
- package/dist/{chunk-dd60e5wj.js → chunk-temv6q01.js} +4 -4
- package/dist/chunk-th1cykx3.js +494 -0
- package/dist/chunk-tp6bgx9r.js +90 -0
- package/dist/{chunk-smf3xf1p.js → chunk-tq61s8re.js} +48 -49
- package/dist/chunk-tsycknnm.js +887 -0
- package/dist/{chunk-0grvs3fk.js → chunk-tv3n7nyr.js} +47 -48
- package/dist/{chunk-ftfgv9wc.js → chunk-v3a3d8qr.js} +48 -49
- package/dist/{chunk-h83fz0gd.js → chunk-v6q8mas6.js} +48 -49
- package/dist/{chunk-9frfqse4.js → chunk-v9xtwnkn.js} +4 -4
- package/dist/{chunk-8fw7frqb.js → chunk-vecm4b7g.js} +1 -1
- package/dist/{chunk-35nbv64e.js → chunk-vhjrpmd7.js} +48 -49
- package/dist/{chunk-h2mr7m2a.js → chunk-vmp1tr7b.js} +2 -2
- package/dist/{chunk-zj3en2ka.js → chunk-vn9dpw7e.js} +50 -51
- package/dist/{chunk-qjxk8wrn.js → chunk-vnhhnca0.js} +1 -1
- package/dist/{chunk-y413jeq2.js → chunk-vqf0cwfx.js} +48 -49
- package/dist/chunk-vqm2wda9.js +46 -0
- package/dist/{chunk-045t7r98.js → chunk-vrbtdakb.js} +1 -1
- package/dist/{chunk-mk7e37ps.js → chunk-vrdp6hk3.js} +50 -51
- package/dist/{chunk-jgf7597r.js → chunk-vzn6172q.js} +56 -58
- package/dist/chunk-w0b04y7r.js +609 -0
- package/dist/{chunk-ckw2286k.js → chunk-w20437bg.js} +47 -48
- package/dist/{chunk-1ed27xte.js → chunk-w54rzd0a.js} +50 -51
- package/dist/{chunk-8fttwfkm.js → chunk-w7eccwbe.js} +15 -15
- package/dist/{chunk-1e3vcw6m.js → chunk-wa3arctj.js} +12 -12
- package/dist/{chunk-yt46a969.js → chunk-wa7rnp49.js} +1 -1
- package/dist/{chunk-1j57r4bp.js → chunk-waazrpce.js} +2 -2
- package/dist/{chunk-wny26e8e.js → chunk-wbh9ydpk.js} +19 -19
- package/dist/{chunk-w6k4bxas.js → chunk-wc7s61fq.js} +15 -15
- package/dist/{chunk-tjqcyj2x.js → chunk-wgmkhbe4.js} +2 -2
- package/dist/{chunk-k80dnb78.js → chunk-wh23fnfe.js} +11 -11
- package/dist/{chunk-pkm2nhk9.js → chunk-whvpa72n.js} +4 -4
- package/dist/chunk-wkyyghn6.js +184 -0
- package/dist/{chunk-ebnp9s5b.js → chunk-wngtt6cw.js} +2 -2
- package/dist/chunk-wp35dfwp.js +15 -0
- package/dist/{chunk-6gr3c3w9.js → chunk-wpqynh28.js} +2 -2
- package/dist/{chunk-tv7hgcvj.js → chunk-wtje1bzc.js} +48 -49
- package/dist/{chunk-w375z6hb.js → chunk-wwjb9kpr.js} +48 -49
- package/dist/{chunk-y6f7kmzf.js → chunk-wzarjbqs.js} +47 -48
- package/dist/{chunk-9b0yx2w5.js → chunk-wzyspdkz.js} +54 -55
- package/dist/chunk-x3atm9a1.js +864 -0
- package/dist/{chunk-rkmwx1yz.js → chunk-x52qkhng.js} +1 -1
- package/dist/{chunk-m737wsqq.js → chunk-xpecr6a1.js} +5 -7
- package/dist/{chunk-3e41bc8q.js → chunk-xt3x0wrj.js} +1 -1
- package/dist/{chunk-25bv0psg.js → chunk-xvwv91w4.js} +47 -48
- package/dist/{chunk-8c32awe2.js → chunk-xwh3q911.js} +2 -2
- package/dist/{chunk-vcctr6md.js → chunk-xydbqr0b.js} +47 -48
- package/dist/{chunk-dpwxnzqj.js → chunk-xzmas4y8.js} +47 -48
- package/dist/{chunk-p814dt75.js → chunk-y4dgbkb3.js} +290 -261
- package/dist/{chunk-2f1f034j.js → chunk-y5phkfvf.js} +3 -3
- package/dist/{chunk-k1af22na.js → chunk-y689dg14.js} +14 -14
- package/dist/{chunk-qdx64b6y.js → chunk-yevw8ttf.js} +15 -15
- package/dist/{chunk-jpk1syr5.js → chunk-yhqcnq80.js} +50 -51
- package/dist/{chunk-zcn4zxbj.js → chunk-yk4t7kxm.js} +1 -1
- package/dist/{chunk-7r2k7qes.js → chunk-ykbz8f85.js} +3 -3
- package/dist/{chunk-h3p151fx.js → chunk-ykcqa4mj.js} +1 -1
- package/dist/{chunk-d90bhmt1.js → chunk-ysj2gfxe.js} +48 -47
- package/dist/{chunk-6cj8bg38.js → chunk-z51fyxdw.js} +55 -56
- package/dist/{chunk-j52vz59d.js → chunk-z86pzxdm.js} +48 -49
- package/dist/chunk-z88f5181.js +258 -0
- package/dist/{chunk-8epxe23k.js → chunk-zd6w7gc2.js} +5 -5
- package/dist/{chunk-ebrc3yf3.js → chunk-zv0txvbs.js} +4 -4
- package/dist/{chunk-196500e9.js → chunk-zvkkjep6.js} +12 -12
- package/dist/{chunk-j66ffy26.js → chunk-zx2xx5ek.js} +20 -20
- package/dist/{chunk-trt2sfjg.js → chunk-zzz4ny7p.js} +1 -1
- package/dist/cli.js +24 -24
- package/package.json +29 -28
- package/scripts/run-parallel.mjs +10 -0
- package/dist/chunk-0mf8c3kx.js +0 -8
- package/dist/chunk-40k3k0bt.js +0 -68
- package/dist/chunk-6c5zyga7.js +0 -12
- package/dist/chunk-c79brdh8.js +0 -186
- package/dist/chunk-h6hh3va9.js +0 -946
- package/dist/chunk-jnhp78c8.js +0 -47
- package/dist/chunk-k97ze3a8.js +0 -524
- package/dist/chunk-m4sp7ycd.js +0 -53
- package/dist/chunk-vk6s7hsj.js +0 -159
- package/dist/download-ripgrep.js +0 -24837
- package/dist/{chunk-y3jmpqat.js → chunk-5vdpbk46.js} +3 -3
- package/dist/{chunk-vest0y6x.js → chunk-6h6kzvyd.js} +3 -3
- package/dist/{chunk-f5ma3nh5.js → chunk-7a31vc3r.js} +0 -0
- package/dist/{chunk-tbas522c.js → chunk-ftbf37y7.js} +1 -1
- package/dist/{chunk-pfgwfg55.js → chunk-xexnht94.js} +3 -3
- package/dist/{chunk-0fnpkgd6.js → chunk-ybebarb1.js} +10 -10
|
@@ -7,12 +7,17 @@ import {
|
|
|
7
7
|
readJSONLFile,
|
|
8
8
|
safeParseJSON,
|
|
9
9
|
stripBOM
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ykcqa4mj.js";
|
|
11
11
|
import {
|
|
12
12
|
expandPath,
|
|
13
13
|
init_path,
|
|
14
14
|
normalizePathForConfigKey
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-r4j2h4yp.js";
|
|
16
|
+
import {
|
|
17
|
+
getAWSClientProxyConfig,
|
|
18
|
+
getProxyFetchOptions,
|
|
19
|
+
init_proxy
|
|
20
|
+
} from "./chunk-7zrkp054.js";
|
|
16
21
|
import {
|
|
17
22
|
count,
|
|
18
23
|
getAgentId,
|
|
@@ -26,16 +31,6 @@ import {
|
|
|
26
31
|
lockSync,
|
|
27
32
|
uniq
|
|
28
33
|
} from "./chunk-zwarn9h7.js";
|
|
29
|
-
import {
|
|
30
|
-
getAWSClientProxyConfig,
|
|
31
|
-
getProxyFetchOptions,
|
|
32
|
-
init_proxy
|
|
33
|
-
} from "./chunk-hxc8e6wd.js";
|
|
34
|
-
import {
|
|
35
|
-
EXTERNAL_PERMISSION_MODES,
|
|
36
|
-
PERMISSION_MODES,
|
|
37
|
-
init_permissions
|
|
38
|
-
} from "./chunk-qbrsmra3.js";
|
|
39
34
|
import {
|
|
40
35
|
sanitizePath
|
|
41
36
|
} from "./chunk-7hmy36fh.js";
|
|
@@ -43,6 +38,15 @@ import {
|
|
|
43
38
|
init_lazySchema,
|
|
44
39
|
lazySchema
|
|
45
40
|
} from "./chunk-64c1avct.js";
|
|
41
|
+
import {
|
|
42
|
+
EXTERNAL_PERMISSION_MODES,
|
|
43
|
+
PERMISSION_MODES,
|
|
44
|
+
init_permissions
|
|
45
|
+
} from "./chunk-qbrsmra3.js";
|
|
46
|
+
import {
|
|
47
|
+
init_sleep,
|
|
48
|
+
sleep
|
|
49
|
+
} from "./chunk-8g5pe1gr.js";
|
|
46
50
|
import {
|
|
47
51
|
detectVcs,
|
|
48
52
|
getLinuxDistroInfo,
|
|
@@ -50,27 +54,15 @@ import {
|
|
|
50
54
|
getWslVersion,
|
|
51
55
|
init_platform
|
|
52
56
|
} from "./chunk-pjz4m7pd.js";
|
|
53
|
-
import {
|
|
54
|
-
init_sleep,
|
|
55
|
-
sleep
|
|
56
|
-
} from "./chunk-8g5pe1gr.js";
|
|
57
57
|
import {
|
|
58
58
|
getAncestorCommandsAsync,
|
|
59
59
|
init_genericProcessUtils
|
|
60
60
|
} from "./chunk-zvdc0eh1.js";
|
|
61
|
-
import {
|
|
62
|
-
init_v4,
|
|
63
|
-
v4_default
|
|
64
|
-
} from "./chunk-8g747a8x.js";
|
|
65
|
-
import {
|
|
66
|
-
exports_external,
|
|
67
|
-
toJSONSchema
|
|
68
|
-
} from "./chunk-d7886r6a.js";
|
|
69
61
|
import {
|
|
70
62
|
require_src as require_src2,
|
|
71
63
|
require_src1 as require_src3,
|
|
72
64
|
require_src2 as require_src4
|
|
73
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-7a31vc3r.js";
|
|
74
66
|
import {
|
|
75
67
|
exports_common,
|
|
76
68
|
init_common
|
|
@@ -99,6 +91,14 @@ import {
|
|
|
99
91
|
getOauthConfig,
|
|
100
92
|
init_oauth
|
|
101
93
|
} from "./chunk-rh5a2rg9.js";
|
|
94
|
+
import {
|
|
95
|
+
init_v4,
|
|
96
|
+
v4_default
|
|
97
|
+
} from "./chunk-8g747a8x.js";
|
|
98
|
+
import {
|
|
99
|
+
exports_external,
|
|
100
|
+
toJSONSchema
|
|
101
|
+
} from "./chunk-d7886r6a.js";
|
|
102
102
|
import {
|
|
103
103
|
require_src
|
|
104
104
|
} from "./chunk-p2816w9z.js";
|
|
@@ -122,11 +122,11 @@ import {
|
|
|
122
122
|
init_diagLogs,
|
|
123
123
|
init_git,
|
|
124
124
|
logForDiagnosticsNoPII
|
|
125
|
-
} from "./chunk-
|
|
125
|
+
} from "./chunk-rvb54w68.js";
|
|
126
126
|
import {
|
|
127
127
|
init_memoize as init_memoize2,
|
|
128
128
|
memoizeWithTTLAsync
|
|
129
|
-
} from "./chunk-
|
|
129
|
+
} from "./chunk-fz395yre.js";
|
|
130
130
|
import {
|
|
131
131
|
execFileNoThrow,
|
|
132
132
|
execFileNoThrowWithCwd,
|
|
@@ -5014,6 +5014,1045 @@ var init_user = __esm(() => {
|
|
|
5014
5014
|
});
|
|
5015
5015
|
});
|
|
5016
5016
|
|
|
5017
|
+
// node_modules/.bun/@opentelemetry+core@2.7.0+e40b0dfdd726a224/node_modules/@opentelemetry/core/build/esm/trace/suppress-tracing.js
|
|
5018
|
+
function suppressTracing(context) {
|
|
5019
|
+
return context.setValue(SUPPRESS_TRACING_KEY, true);
|
|
5020
|
+
}
|
|
5021
|
+
function isTracingSuppressed(context) {
|
|
5022
|
+
return context.getValue(SUPPRESS_TRACING_KEY) === true;
|
|
5023
|
+
}
|
|
5024
|
+
var import_api, SUPPRESS_TRACING_KEY;
|
|
5025
|
+
var init_suppress_tracing = __esm(() => {
|
|
5026
|
+
import_api = __toESM(require_src(), 1);
|
|
5027
|
+
SUPPRESS_TRACING_KEY = import_api.createContextKey("OpenTelemetry SDK Context Key SUPPRESS_TRACING");
|
|
5028
|
+
});
|
|
5029
|
+
|
|
5030
|
+
// node_modules/.bun/@opentelemetry+core@2.7.0+e40b0dfdd726a224/node_modules/@opentelemetry/core/build/esm/baggage/constants.js
|
|
5031
|
+
var BAGGAGE_KEY_PAIR_SEPARATOR = "=", BAGGAGE_PROPERTIES_SEPARATOR = ";", BAGGAGE_ITEMS_SEPARATOR = ",", BAGGAGE_HEADER = "baggage", BAGGAGE_MAX_NAME_VALUE_PAIRS = 180, BAGGAGE_MAX_PER_NAME_VALUE_PAIRS = 4096, BAGGAGE_MAX_TOTAL_LENGTH = 8192;
|
|
5032
|
+
var init_constants = () => {};
|
|
5033
|
+
|
|
5034
|
+
// node_modules/.bun/@opentelemetry+core@2.7.0+e40b0dfdd726a224/node_modules/@opentelemetry/core/build/esm/baggage/utils.js
|
|
5035
|
+
function serializeKeyPairs(keyPairs) {
|
|
5036
|
+
return keyPairs.reduce((hValue, current) => {
|
|
5037
|
+
const value = `${hValue}${hValue !== "" ? BAGGAGE_ITEMS_SEPARATOR : ""}${current}`;
|
|
5038
|
+
return value.length > BAGGAGE_MAX_TOTAL_LENGTH ? hValue : value;
|
|
5039
|
+
}, "");
|
|
5040
|
+
}
|
|
5041
|
+
function getKeyPairs(baggage) {
|
|
5042
|
+
return baggage.getAllEntries().map(([key, value]) => {
|
|
5043
|
+
let entry = `${encodeURIComponent(key)}=${encodeURIComponent(value.value)}`;
|
|
5044
|
+
if (value.metadata !== undefined) {
|
|
5045
|
+
entry += BAGGAGE_PROPERTIES_SEPARATOR + value.metadata.toString();
|
|
5046
|
+
}
|
|
5047
|
+
return entry;
|
|
5048
|
+
});
|
|
5049
|
+
}
|
|
5050
|
+
function parsePairKeyValue(entry) {
|
|
5051
|
+
if (!entry)
|
|
5052
|
+
return;
|
|
5053
|
+
const metadataSeparatorIndex = entry.indexOf(BAGGAGE_PROPERTIES_SEPARATOR);
|
|
5054
|
+
const keyPairPart = metadataSeparatorIndex === -1 ? entry : entry.substring(0, metadataSeparatorIndex);
|
|
5055
|
+
const separatorIndex = keyPairPart.indexOf(BAGGAGE_KEY_PAIR_SEPARATOR);
|
|
5056
|
+
if (separatorIndex <= 0)
|
|
5057
|
+
return;
|
|
5058
|
+
const rawKey = keyPairPart.substring(0, separatorIndex).trim();
|
|
5059
|
+
const rawValue = keyPairPart.substring(separatorIndex + 1).trim();
|
|
5060
|
+
if (!rawKey || !rawValue)
|
|
5061
|
+
return;
|
|
5062
|
+
let key;
|
|
5063
|
+
let value;
|
|
5064
|
+
try {
|
|
5065
|
+
key = decodeURIComponent(rawKey);
|
|
5066
|
+
value = decodeURIComponent(rawValue);
|
|
5067
|
+
} catch {
|
|
5068
|
+
return;
|
|
5069
|
+
}
|
|
5070
|
+
let metadata;
|
|
5071
|
+
if (metadataSeparatorIndex !== -1 && metadataSeparatorIndex < entry.length - 1) {
|
|
5072
|
+
const metadataString = entry.substring(metadataSeparatorIndex + 1);
|
|
5073
|
+
metadata = import_api2.baggageEntryMetadataFromString(metadataString);
|
|
5074
|
+
}
|
|
5075
|
+
return { key, value, metadata };
|
|
5076
|
+
}
|
|
5077
|
+
var import_api2;
|
|
5078
|
+
var init_utils = __esm(() => {
|
|
5079
|
+
init_constants();
|
|
5080
|
+
import_api2 = __toESM(require_src(), 1);
|
|
5081
|
+
});
|
|
5082
|
+
|
|
5083
|
+
// node_modules/.bun/@opentelemetry+core@2.7.0+e40b0dfdd726a224/node_modules/@opentelemetry/core/build/esm/baggage/propagation/W3CBaggagePropagator.js
|
|
5084
|
+
class W3CBaggagePropagator {
|
|
5085
|
+
inject(context, carrier, setter) {
|
|
5086
|
+
const baggage = import_api3.propagation.getBaggage(context);
|
|
5087
|
+
if (!baggage || isTracingSuppressed(context))
|
|
5088
|
+
return;
|
|
5089
|
+
const keyPairs = getKeyPairs(baggage).filter((pair) => {
|
|
5090
|
+
return pair.length <= BAGGAGE_MAX_PER_NAME_VALUE_PAIRS;
|
|
5091
|
+
}).slice(0, BAGGAGE_MAX_NAME_VALUE_PAIRS);
|
|
5092
|
+
const headerValue = serializeKeyPairs(keyPairs);
|
|
5093
|
+
if (headerValue.length > 0) {
|
|
5094
|
+
setter.set(carrier, BAGGAGE_HEADER, headerValue);
|
|
5095
|
+
}
|
|
5096
|
+
}
|
|
5097
|
+
extract(context, carrier, getter) {
|
|
5098
|
+
const headerValue = getter.get(carrier, BAGGAGE_HEADER);
|
|
5099
|
+
const baggageString = Array.isArray(headerValue) ? headerValue.join(BAGGAGE_ITEMS_SEPARATOR) : headerValue;
|
|
5100
|
+
if (!baggageString)
|
|
5101
|
+
return context;
|
|
5102
|
+
const baggage = {};
|
|
5103
|
+
if (baggageString.length === 0) {
|
|
5104
|
+
return context;
|
|
5105
|
+
}
|
|
5106
|
+
const pairs = baggageString.split(BAGGAGE_ITEMS_SEPARATOR);
|
|
5107
|
+
pairs.forEach((entry) => {
|
|
5108
|
+
const keyPair = parsePairKeyValue(entry);
|
|
5109
|
+
if (keyPair) {
|
|
5110
|
+
const baggageEntry = { value: keyPair.value };
|
|
5111
|
+
if (keyPair.metadata) {
|
|
5112
|
+
baggageEntry.metadata = keyPair.metadata;
|
|
5113
|
+
}
|
|
5114
|
+
baggage[keyPair.key] = baggageEntry;
|
|
5115
|
+
}
|
|
5116
|
+
});
|
|
5117
|
+
if (Object.entries(baggage).length === 0) {
|
|
5118
|
+
return context;
|
|
5119
|
+
}
|
|
5120
|
+
return import_api3.propagation.setBaggage(context, import_api3.propagation.createBaggage(baggage));
|
|
5121
|
+
}
|
|
5122
|
+
fields() {
|
|
5123
|
+
return [BAGGAGE_HEADER];
|
|
5124
|
+
}
|
|
5125
|
+
}
|
|
5126
|
+
var import_api3;
|
|
5127
|
+
var init_W3CBaggagePropagator = __esm(() => {
|
|
5128
|
+
init_suppress_tracing();
|
|
5129
|
+
init_constants();
|
|
5130
|
+
init_utils();
|
|
5131
|
+
import_api3 = __toESM(require_src(), 1);
|
|
5132
|
+
});
|
|
5133
|
+
|
|
5134
|
+
// node_modules/.bun/@opentelemetry+core@2.7.0+e40b0dfdd726a224/node_modules/@opentelemetry/core/build/esm/common/attributes.js
|
|
5135
|
+
function sanitizeAttributes(attributes) {
|
|
5136
|
+
const out = {};
|
|
5137
|
+
if (typeof attributes !== "object" || attributes == null) {
|
|
5138
|
+
return out;
|
|
5139
|
+
}
|
|
5140
|
+
for (const key in attributes) {
|
|
5141
|
+
if (!Object.prototype.hasOwnProperty.call(attributes, key)) {
|
|
5142
|
+
continue;
|
|
5143
|
+
}
|
|
5144
|
+
if (!isAttributeKey(key)) {
|
|
5145
|
+
import_api4.diag.warn(`Invalid attribute key: ${key}`);
|
|
5146
|
+
continue;
|
|
5147
|
+
}
|
|
5148
|
+
const val = attributes[key];
|
|
5149
|
+
if (!isAttributeValue(val)) {
|
|
5150
|
+
import_api4.diag.warn(`Invalid attribute value set for key: ${key}`);
|
|
5151
|
+
continue;
|
|
5152
|
+
}
|
|
5153
|
+
if (Array.isArray(val)) {
|
|
5154
|
+
out[key] = val.slice();
|
|
5155
|
+
} else {
|
|
5156
|
+
out[key] = val;
|
|
5157
|
+
}
|
|
5158
|
+
}
|
|
5159
|
+
return out;
|
|
5160
|
+
}
|
|
5161
|
+
function isAttributeKey(key) {
|
|
5162
|
+
return typeof key === "string" && key !== "";
|
|
5163
|
+
}
|
|
5164
|
+
function isAttributeValue(val) {
|
|
5165
|
+
if (val == null) {
|
|
5166
|
+
return true;
|
|
5167
|
+
}
|
|
5168
|
+
if (Array.isArray(val)) {
|
|
5169
|
+
return isHomogeneousAttributeValueArray(val);
|
|
5170
|
+
}
|
|
5171
|
+
return isValidPrimitiveAttributeValueType(typeof val);
|
|
5172
|
+
}
|
|
5173
|
+
function isHomogeneousAttributeValueArray(arr) {
|
|
5174
|
+
let type;
|
|
5175
|
+
for (const element of arr) {
|
|
5176
|
+
if (element == null)
|
|
5177
|
+
continue;
|
|
5178
|
+
const elementType = typeof element;
|
|
5179
|
+
if (elementType === type) {
|
|
5180
|
+
continue;
|
|
5181
|
+
}
|
|
5182
|
+
if (!type) {
|
|
5183
|
+
if (isValidPrimitiveAttributeValueType(elementType)) {
|
|
5184
|
+
type = elementType;
|
|
5185
|
+
continue;
|
|
5186
|
+
}
|
|
5187
|
+
return false;
|
|
5188
|
+
}
|
|
5189
|
+
return false;
|
|
5190
|
+
}
|
|
5191
|
+
return true;
|
|
5192
|
+
}
|
|
5193
|
+
function isValidPrimitiveAttributeValueType(valType) {
|
|
5194
|
+
switch (valType) {
|
|
5195
|
+
case "number":
|
|
5196
|
+
case "boolean":
|
|
5197
|
+
case "string":
|
|
5198
|
+
return true;
|
|
5199
|
+
}
|
|
5200
|
+
return false;
|
|
5201
|
+
}
|
|
5202
|
+
var import_api4;
|
|
5203
|
+
var init_attributes = __esm(() => {
|
|
5204
|
+
import_api4 = __toESM(require_src(), 1);
|
|
5205
|
+
});
|
|
5206
|
+
|
|
5207
|
+
// node_modules/.bun/@opentelemetry+core@2.7.0+e40b0dfdd726a224/node_modules/@opentelemetry/core/build/esm/common/logging-error-handler.js
|
|
5208
|
+
function loggingErrorHandler() {
|
|
5209
|
+
return (ex) => {
|
|
5210
|
+
import_api5.diag.error(stringifyException(ex));
|
|
5211
|
+
};
|
|
5212
|
+
}
|
|
5213
|
+
function stringifyException(ex) {
|
|
5214
|
+
if (typeof ex === "string") {
|
|
5215
|
+
return ex;
|
|
5216
|
+
} else {
|
|
5217
|
+
return JSON.stringify(flattenException(ex));
|
|
5218
|
+
}
|
|
5219
|
+
}
|
|
5220
|
+
function flattenException(ex) {
|
|
5221
|
+
const result = {};
|
|
5222
|
+
let current = ex;
|
|
5223
|
+
while (current !== null) {
|
|
5224
|
+
Object.getOwnPropertyNames(current).forEach((propertyName) => {
|
|
5225
|
+
if (result[propertyName])
|
|
5226
|
+
return;
|
|
5227
|
+
const value = current[propertyName];
|
|
5228
|
+
if (value) {
|
|
5229
|
+
result[propertyName] = String(value);
|
|
5230
|
+
}
|
|
5231
|
+
});
|
|
5232
|
+
current = Object.getPrototypeOf(current);
|
|
5233
|
+
}
|
|
5234
|
+
return result;
|
|
5235
|
+
}
|
|
5236
|
+
var import_api5;
|
|
5237
|
+
var init_logging_error_handler = __esm(() => {
|
|
5238
|
+
import_api5 = __toESM(require_src(), 1);
|
|
5239
|
+
});
|
|
5240
|
+
|
|
5241
|
+
// node_modules/.bun/@opentelemetry+core@2.7.0+e40b0dfdd726a224/node_modules/@opentelemetry/core/build/esm/common/global-error-handler.js
|
|
5242
|
+
function globalErrorHandler(ex) {
|
|
5243
|
+
try {
|
|
5244
|
+
delegateHandler(ex);
|
|
5245
|
+
} catch {}
|
|
5246
|
+
}
|
|
5247
|
+
var delegateHandler;
|
|
5248
|
+
var init_global_error_handler = __esm(() => {
|
|
5249
|
+
init_logging_error_handler();
|
|
5250
|
+
delegateHandler = loggingErrorHandler();
|
|
5251
|
+
});
|
|
5252
|
+
|
|
5253
|
+
// node_modules/.bun/@opentelemetry+core@2.7.0+e40b0dfdd726a224/node_modules/@opentelemetry/core/build/esm/platform/node/environment.js
|
|
5254
|
+
import { inspect } from "util";
|
|
5255
|
+
function getNumberFromEnv(key) {
|
|
5256
|
+
const raw = process.env[key];
|
|
5257
|
+
if (raw == null || raw.trim() === "") {
|
|
5258
|
+
return;
|
|
5259
|
+
}
|
|
5260
|
+
const value = Number(raw);
|
|
5261
|
+
if (isNaN(value)) {
|
|
5262
|
+
import_api6.diag.warn(`Unknown value ${inspect(raw)} for ${key}, expected a number, using defaults`);
|
|
5263
|
+
return;
|
|
5264
|
+
}
|
|
5265
|
+
return value;
|
|
5266
|
+
}
|
|
5267
|
+
function getStringFromEnv(key) {
|
|
5268
|
+
const raw = process.env[key];
|
|
5269
|
+
if (raw == null || raw.trim() === "") {
|
|
5270
|
+
return;
|
|
5271
|
+
}
|
|
5272
|
+
return raw;
|
|
5273
|
+
}
|
|
5274
|
+
var import_api6;
|
|
5275
|
+
var init_environment = __esm(() => {
|
|
5276
|
+
import_api6 = __toESM(require_src(), 1);
|
|
5277
|
+
});
|
|
5278
|
+
|
|
5279
|
+
// node_modules/.bun/@opentelemetry+core@2.7.0+e40b0dfdd726a224/node_modules/@opentelemetry/core/build/esm/version.js
|
|
5280
|
+
var VERSION = "2.7.0";
|
|
5281
|
+
var init_version = () => {};
|
|
5282
|
+
|
|
5283
|
+
// node_modules/.bun/@opentelemetry+core@2.7.0+e40b0dfdd726a224/node_modules/@opentelemetry/core/build/esm/semconv.js
|
|
5284
|
+
var ATTR_PROCESS_RUNTIME_NAME = "process.runtime.name";
|
|
5285
|
+
var init_semconv = () => {};
|
|
5286
|
+
|
|
5287
|
+
// node_modules/.bun/@opentelemetry+core@2.7.0+e40b0dfdd726a224/node_modules/@opentelemetry/core/build/esm/platform/node/sdk-info.js
|
|
5288
|
+
var import_semantic_conventions, SDK_INFO;
|
|
5289
|
+
var init_sdk_info = __esm(() => {
|
|
5290
|
+
init_version();
|
|
5291
|
+
init_semconv();
|
|
5292
|
+
import_semantic_conventions = __toESM(require_src2(), 1);
|
|
5293
|
+
SDK_INFO = {
|
|
5294
|
+
[import_semantic_conventions.ATTR_TELEMETRY_SDK_NAME]: "opentelemetry",
|
|
5295
|
+
[ATTR_PROCESS_RUNTIME_NAME]: "node",
|
|
5296
|
+
[import_semantic_conventions.ATTR_TELEMETRY_SDK_LANGUAGE]: import_semantic_conventions.TELEMETRY_SDK_LANGUAGE_VALUE_NODEJS,
|
|
5297
|
+
[import_semantic_conventions.ATTR_TELEMETRY_SDK_VERSION]: VERSION
|
|
5298
|
+
};
|
|
5299
|
+
});
|
|
5300
|
+
|
|
5301
|
+
// node_modules/.bun/@opentelemetry+core@2.7.0+e40b0dfdd726a224/node_modules/@opentelemetry/core/build/esm/platform/node/index.js
|
|
5302
|
+
var otperformance;
|
|
5303
|
+
var init_node = __esm(() => {
|
|
5304
|
+
init_environment();
|
|
5305
|
+
init_sdk_info();
|
|
5306
|
+
otperformance = performance;
|
|
5307
|
+
});
|
|
5308
|
+
|
|
5309
|
+
// node_modules/.bun/@opentelemetry+core@2.7.0+e40b0dfdd726a224/node_modules/@opentelemetry/core/build/esm/platform/index.js
|
|
5310
|
+
var init_platform2 = __esm(() => {
|
|
5311
|
+
init_node();
|
|
5312
|
+
});
|
|
5313
|
+
|
|
5314
|
+
// node_modules/.bun/@opentelemetry+core@2.7.0+e40b0dfdd726a224/node_modules/@opentelemetry/core/build/esm/common/time.js
|
|
5315
|
+
function millisToHrTime(epochMillis) {
|
|
5316
|
+
const epochSeconds = epochMillis / 1000;
|
|
5317
|
+
const seconds = Math.trunc(epochSeconds);
|
|
5318
|
+
const nanos = Math.round(epochMillis % 1000 * MILLISECONDS_TO_NANOSECONDS);
|
|
5319
|
+
return [seconds, nanos];
|
|
5320
|
+
}
|
|
5321
|
+
function hrTime(performanceNow) {
|
|
5322
|
+
const timeOrigin = millisToHrTime(otperformance.timeOrigin);
|
|
5323
|
+
const now = millisToHrTime(typeof performanceNow === "number" ? performanceNow : otperformance.now());
|
|
5324
|
+
return addHrTimes(timeOrigin, now);
|
|
5325
|
+
}
|
|
5326
|
+
function hrTimeDuration(startTime, endTime) {
|
|
5327
|
+
let seconds = endTime[0] - startTime[0];
|
|
5328
|
+
let nanos = endTime[1] - startTime[1];
|
|
5329
|
+
if (nanos < 0) {
|
|
5330
|
+
seconds -= 1;
|
|
5331
|
+
nanos += SECOND_TO_NANOSECONDS;
|
|
5332
|
+
}
|
|
5333
|
+
return [seconds, nanos];
|
|
5334
|
+
}
|
|
5335
|
+
function hrTimeToMilliseconds(time) {
|
|
5336
|
+
return time[0] * 1000 + time[1] / 1e6;
|
|
5337
|
+
}
|
|
5338
|
+
function hrTimeToMicroseconds(time) {
|
|
5339
|
+
return time[0] * 1e6 + time[1] / 1000;
|
|
5340
|
+
}
|
|
5341
|
+
function isTimeInputHrTime(value) {
|
|
5342
|
+
return Array.isArray(value) && value.length === 2 && typeof value[0] === "number" && typeof value[1] === "number";
|
|
5343
|
+
}
|
|
5344
|
+
function isTimeInput(value) {
|
|
5345
|
+
return isTimeInputHrTime(value) || typeof value === "number" || value instanceof Date;
|
|
5346
|
+
}
|
|
5347
|
+
function addHrTimes(time1, time2) {
|
|
5348
|
+
const out = [time1[0] + time2[0], time1[1] + time2[1]];
|
|
5349
|
+
if (out[1] >= SECOND_TO_NANOSECONDS) {
|
|
5350
|
+
out[1] -= SECOND_TO_NANOSECONDS;
|
|
5351
|
+
out[0] += 1;
|
|
5352
|
+
}
|
|
5353
|
+
return out;
|
|
5354
|
+
}
|
|
5355
|
+
var NANOSECOND_DIGITS = 9, NANOSECOND_DIGITS_IN_MILLIS = 6, MILLISECONDS_TO_NANOSECONDS, SECOND_TO_NANOSECONDS;
|
|
5356
|
+
var init_time = __esm(() => {
|
|
5357
|
+
init_platform2();
|
|
5358
|
+
MILLISECONDS_TO_NANOSECONDS = Math.pow(10, NANOSECOND_DIGITS_IN_MILLIS);
|
|
5359
|
+
SECOND_TO_NANOSECONDS = Math.pow(10, NANOSECOND_DIGITS);
|
|
5360
|
+
});
|
|
5361
|
+
|
|
5362
|
+
// node_modules/.bun/@opentelemetry+core@2.7.0+e40b0dfdd726a224/node_modules/@opentelemetry/core/build/esm/ExportResult.js
|
|
5363
|
+
var ExportResultCode;
|
|
5364
|
+
var init_ExportResult = __esm(() => {
|
|
5365
|
+
(function(ExportResultCode2) {
|
|
5366
|
+
ExportResultCode2[ExportResultCode2["SUCCESS"] = 0] = "SUCCESS";
|
|
5367
|
+
ExportResultCode2[ExportResultCode2["FAILED"] = 1] = "FAILED";
|
|
5368
|
+
})(ExportResultCode || (ExportResultCode = {}));
|
|
5369
|
+
});
|
|
5370
|
+
|
|
5371
|
+
// node_modules/.bun/@opentelemetry+core@2.7.0+e40b0dfdd726a224/node_modules/@opentelemetry/core/build/esm/internal/validators.js
|
|
5372
|
+
function validateKey(key) {
|
|
5373
|
+
return VALID_KEY_REGEX.test(key);
|
|
5374
|
+
}
|
|
5375
|
+
function validateValue(value) {
|
|
5376
|
+
return VALID_VALUE_BASE_REGEX.test(value) && !INVALID_VALUE_COMMA_EQUAL_REGEX.test(value);
|
|
5377
|
+
}
|
|
5378
|
+
var VALID_KEY_CHAR_RANGE = "[_0-9a-z-*/]", VALID_KEY, VALID_VENDOR_KEY, VALID_KEY_REGEX, VALID_VALUE_BASE_REGEX, INVALID_VALUE_COMMA_EQUAL_REGEX;
|
|
5379
|
+
var init_validators = __esm(() => {
|
|
5380
|
+
VALID_KEY = `[a-z]${VALID_KEY_CHAR_RANGE}{0,255}`;
|
|
5381
|
+
VALID_VENDOR_KEY = `[a-z0-9]${VALID_KEY_CHAR_RANGE}{0,240}@[a-z]${VALID_KEY_CHAR_RANGE}{0,13}`;
|
|
5382
|
+
VALID_KEY_REGEX = new RegExp(`^(?:${VALID_KEY}|${VALID_VENDOR_KEY})$`);
|
|
5383
|
+
VALID_VALUE_BASE_REGEX = /^[ -~]{0,255}[!-~]$/;
|
|
5384
|
+
INVALID_VALUE_COMMA_EQUAL_REGEX = /,|=/;
|
|
5385
|
+
});
|
|
5386
|
+
|
|
5387
|
+
// node_modules/.bun/@opentelemetry+core@2.7.0+e40b0dfdd726a224/node_modules/@opentelemetry/core/build/esm/trace/TraceState.js
|
|
5388
|
+
class TraceState {
|
|
5389
|
+
_internalState = new Map;
|
|
5390
|
+
constructor(rawTraceState) {
|
|
5391
|
+
if (rawTraceState)
|
|
5392
|
+
this._parse(rawTraceState);
|
|
5393
|
+
}
|
|
5394
|
+
set(key, value) {
|
|
5395
|
+
const traceState = this._clone();
|
|
5396
|
+
if (traceState._internalState.has(key)) {
|
|
5397
|
+
traceState._internalState.delete(key);
|
|
5398
|
+
}
|
|
5399
|
+
traceState._internalState.set(key, value);
|
|
5400
|
+
return traceState;
|
|
5401
|
+
}
|
|
5402
|
+
unset(key) {
|
|
5403
|
+
const traceState = this._clone();
|
|
5404
|
+
traceState._internalState.delete(key);
|
|
5405
|
+
return traceState;
|
|
5406
|
+
}
|
|
5407
|
+
get(key) {
|
|
5408
|
+
return this._internalState.get(key);
|
|
5409
|
+
}
|
|
5410
|
+
serialize() {
|
|
5411
|
+
return this._keys().reduce((agg, key) => {
|
|
5412
|
+
agg.push(key + LIST_MEMBER_KEY_VALUE_SPLITTER + this.get(key));
|
|
5413
|
+
return agg;
|
|
5414
|
+
}, []).join(LIST_MEMBERS_SEPARATOR);
|
|
5415
|
+
}
|
|
5416
|
+
_parse(rawTraceState) {
|
|
5417
|
+
if (rawTraceState.length > MAX_TRACE_STATE_LEN)
|
|
5418
|
+
return;
|
|
5419
|
+
this._internalState = rawTraceState.split(LIST_MEMBERS_SEPARATOR).reverse().reduce((agg, part) => {
|
|
5420
|
+
const listMember = part.trim();
|
|
5421
|
+
const i = listMember.indexOf(LIST_MEMBER_KEY_VALUE_SPLITTER);
|
|
5422
|
+
if (i !== -1) {
|
|
5423
|
+
const key = listMember.slice(0, i);
|
|
5424
|
+
const value = listMember.slice(i + 1, part.length);
|
|
5425
|
+
if (validateKey(key) && validateValue(value)) {
|
|
5426
|
+
agg.set(key, value);
|
|
5427
|
+
} else {}
|
|
5428
|
+
}
|
|
5429
|
+
return agg;
|
|
5430
|
+
}, new Map);
|
|
5431
|
+
if (this._internalState.size > MAX_TRACE_STATE_ITEMS) {
|
|
5432
|
+
this._internalState = new Map(Array.from(this._internalState.entries()).reverse().slice(0, MAX_TRACE_STATE_ITEMS));
|
|
5433
|
+
}
|
|
5434
|
+
}
|
|
5435
|
+
_keys() {
|
|
5436
|
+
return Array.from(this._internalState.keys()).reverse();
|
|
5437
|
+
}
|
|
5438
|
+
_clone() {
|
|
5439
|
+
const traceState = new TraceState;
|
|
5440
|
+
traceState._internalState = new Map(this._internalState);
|
|
5441
|
+
return traceState;
|
|
5442
|
+
}
|
|
5443
|
+
}
|
|
5444
|
+
var MAX_TRACE_STATE_ITEMS = 32, MAX_TRACE_STATE_LEN = 512, LIST_MEMBERS_SEPARATOR = ",", LIST_MEMBER_KEY_VALUE_SPLITTER = "=";
|
|
5445
|
+
var init_TraceState = __esm(() => {
|
|
5446
|
+
init_validators();
|
|
5447
|
+
});
|
|
5448
|
+
|
|
5449
|
+
// node_modules/.bun/@opentelemetry+core@2.7.0+e40b0dfdd726a224/node_modules/@opentelemetry/core/build/esm/trace/rpc-metadata.js
|
|
5450
|
+
function setRPCMetadata(context, meta) {
|
|
5451
|
+
return context.setValue(RPC_METADATA_KEY, meta);
|
|
5452
|
+
}
|
|
5453
|
+
function getRPCMetadata(context) {
|
|
5454
|
+
return context.getValue(RPC_METADATA_KEY);
|
|
5455
|
+
}
|
|
5456
|
+
var import_api7, RPC_METADATA_KEY, RPCType;
|
|
5457
|
+
var init_rpc_metadata = __esm(() => {
|
|
5458
|
+
import_api7 = __toESM(require_src(), 1);
|
|
5459
|
+
RPC_METADATA_KEY = import_api7.createContextKey("OpenTelemetry SDK Context Key RPC_METADATA");
|
|
5460
|
+
(function(RPCType2) {
|
|
5461
|
+
RPCType2["HTTP"] = "http";
|
|
5462
|
+
})(RPCType || (RPCType = {}));
|
|
5463
|
+
});
|
|
5464
|
+
|
|
5465
|
+
// node_modules/.bun/@opentelemetry+core@2.7.0+e40b0dfdd726a224/node_modules/@opentelemetry/core/build/esm/utils/lodash.merge.js
|
|
5466
|
+
function isPlainObject2(value) {
|
|
5467
|
+
if (!isObjectLike(value) || baseGetTag(value) !== objectTag2) {
|
|
5468
|
+
return false;
|
|
5469
|
+
}
|
|
5470
|
+
const proto = getPrototypeOf(value);
|
|
5471
|
+
if (proto === null) {
|
|
5472
|
+
return true;
|
|
5473
|
+
}
|
|
5474
|
+
const Ctor = hasOwnProperty2.call(proto, "constructor") && proto.constructor;
|
|
5475
|
+
return typeof Ctor == "function" && Ctor instanceof Ctor && funcToString2.call(Ctor) === objectCtorString2;
|
|
5476
|
+
}
|
|
5477
|
+
function isObjectLike(value) {
|
|
5478
|
+
return value != null && typeof value == "object";
|
|
5479
|
+
}
|
|
5480
|
+
function baseGetTag(value) {
|
|
5481
|
+
if (value == null) {
|
|
5482
|
+
return value === undefined ? undefinedTag : nullTag;
|
|
5483
|
+
}
|
|
5484
|
+
return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) : objectToString(value);
|
|
5485
|
+
}
|
|
5486
|
+
function getRawTag(value) {
|
|
5487
|
+
const isOwn = hasOwnProperty2.call(value, symToStringTag), tag = value[symToStringTag];
|
|
5488
|
+
let unmasked = false;
|
|
5489
|
+
try {
|
|
5490
|
+
value[symToStringTag] = undefined;
|
|
5491
|
+
unmasked = true;
|
|
5492
|
+
} catch {}
|
|
5493
|
+
const result = nativeObjectToString.call(value);
|
|
5494
|
+
if (unmasked) {
|
|
5495
|
+
if (isOwn) {
|
|
5496
|
+
value[symToStringTag] = tag;
|
|
5497
|
+
} else {
|
|
5498
|
+
delete value[symToStringTag];
|
|
5499
|
+
}
|
|
5500
|
+
}
|
|
5501
|
+
return result;
|
|
5502
|
+
}
|
|
5503
|
+
function objectToString(value) {
|
|
5504
|
+
return nativeObjectToString.call(value);
|
|
5505
|
+
}
|
|
5506
|
+
var objectTag2 = "[object Object]", nullTag = "[object Null]", undefinedTag = "[object Undefined]", funcProto2, funcToString2, objectCtorString2, getPrototypeOf, objectProto2, hasOwnProperty2, symToStringTag, nativeObjectToString;
|
|
5507
|
+
var init_lodash_merge = __esm(() => {
|
|
5508
|
+
funcProto2 = Function.prototype;
|
|
5509
|
+
funcToString2 = funcProto2.toString;
|
|
5510
|
+
objectCtorString2 = funcToString2.call(Object);
|
|
5511
|
+
getPrototypeOf = Object.getPrototypeOf;
|
|
5512
|
+
objectProto2 = Object.prototype;
|
|
5513
|
+
hasOwnProperty2 = objectProto2.hasOwnProperty;
|
|
5514
|
+
symToStringTag = Symbol ? Symbol.toStringTag : undefined;
|
|
5515
|
+
nativeObjectToString = objectProto2.toString;
|
|
5516
|
+
});
|
|
5517
|
+
|
|
5518
|
+
// node_modules/.bun/@opentelemetry+core@2.7.0+e40b0dfdd726a224/node_modules/@opentelemetry/core/build/esm/utils/merge.js
|
|
5519
|
+
function merge(...args) {
|
|
5520
|
+
let result = args.shift();
|
|
5521
|
+
const objects = new WeakMap;
|
|
5522
|
+
while (args.length > 0) {
|
|
5523
|
+
result = mergeTwoObjects(result, args.shift(), 0, objects);
|
|
5524
|
+
}
|
|
5525
|
+
return result;
|
|
5526
|
+
}
|
|
5527
|
+
function takeValue(value) {
|
|
5528
|
+
if (isArray(value)) {
|
|
5529
|
+
return value.slice();
|
|
5530
|
+
}
|
|
5531
|
+
return value;
|
|
5532
|
+
}
|
|
5533
|
+
function mergeTwoObjects(one, two, level = 0, objects) {
|
|
5534
|
+
let result;
|
|
5535
|
+
if (level > MAX_LEVEL) {
|
|
5536
|
+
return;
|
|
5537
|
+
}
|
|
5538
|
+
level++;
|
|
5539
|
+
if (isPrimitive(one) || isPrimitive(two) || isFunction(two)) {
|
|
5540
|
+
result = takeValue(two);
|
|
5541
|
+
} else if (isArray(one)) {
|
|
5542
|
+
result = one.slice();
|
|
5543
|
+
if (isArray(two)) {
|
|
5544
|
+
for (let i = 0, j = two.length;i < j; i++) {
|
|
5545
|
+
result.push(takeValue(two[i]));
|
|
5546
|
+
}
|
|
5547
|
+
} else if (isObject(two)) {
|
|
5548
|
+
const keys = Object.keys(two);
|
|
5549
|
+
for (let i = 0, j = keys.length;i < j; i++) {
|
|
5550
|
+
const key = keys[i];
|
|
5551
|
+
if (key === "__proto__" || key === "constructor" || key === "prototype") {
|
|
5552
|
+
continue;
|
|
5553
|
+
}
|
|
5554
|
+
result[key] = takeValue(two[key]);
|
|
5555
|
+
}
|
|
5556
|
+
}
|
|
5557
|
+
} else if (isObject(one)) {
|
|
5558
|
+
if (isObject(two)) {
|
|
5559
|
+
if (!shouldMerge(one, two)) {
|
|
5560
|
+
return two;
|
|
5561
|
+
}
|
|
5562
|
+
result = Object.assign({}, one);
|
|
5563
|
+
const keys = Object.keys(two);
|
|
5564
|
+
for (let i = 0, j = keys.length;i < j; i++) {
|
|
5565
|
+
const key = keys[i];
|
|
5566
|
+
if (key === "__proto__" || key === "constructor" || key === "prototype") {
|
|
5567
|
+
continue;
|
|
5568
|
+
}
|
|
5569
|
+
const twoValue = two[key];
|
|
5570
|
+
if (isPrimitive(twoValue)) {
|
|
5571
|
+
if (typeof twoValue === "undefined") {
|
|
5572
|
+
delete result[key];
|
|
5573
|
+
} else {
|
|
5574
|
+
result[key] = twoValue;
|
|
5575
|
+
}
|
|
5576
|
+
} else {
|
|
5577
|
+
const obj1 = result[key];
|
|
5578
|
+
const obj2 = twoValue;
|
|
5579
|
+
if (wasObjectReferenced(one, key, objects) || wasObjectReferenced(two, key, objects)) {
|
|
5580
|
+
delete result[key];
|
|
5581
|
+
} else {
|
|
5582
|
+
if (isObject(obj1) && isObject(obj2)) {
|
|
5583
|
+
const arr1 = objects.get(obj1) || [];
|
|
5584
|
+
const arr2 = objects.get(obj2) || [];
|
|
5585
|
+
arr1.push({ obj: one, key });
|
|
5586
|
+
arr2.push({ obj: two, key });
|
|
5587
|
+
objects.set(obj1, arr1);
|
|
5588
|
+
objects.set(obj2, arr2);
|
|
5589
|
+
}
|
|
5590
|
+
result[key] = mergeTwoObjects(result[key], twoValue, level, objects);
|
|
5591
|
+
}
|
|
5592
|
+
}
|
|
5593
|
+
}
|
|
5594
|
+
} else {
|
|
5595
|
+
result = two;
|
|
5596
|
+
}
|
|
5597
|
+
}
|
|
5598
|
+
return result;
|
|
5599
|
+
}
|
|
5600
|
+
function wasObjectReferenced(obj, key, objects) {
|
|
5601
|
+
const arr = objects.get(obj[key]) || [];
|
|
5602
|
+
for (let i = 0, j = arr.length;i < j; i++) {
|
|
5603
|
+
const info = arr[i];
|
|
5604
|
+
if (info.key === key && info.obj === obj) {
|
|
5605
|
+
return true;
|
|
5606
|
+
}
|
|
5607
|
+
}
|
|
5608
|
+
return false;
|
|
5609
|
+
}
|
|
5610
|
+
function isArray(value) {
|
|
5611
|
+
return Array.isArray(value);
|
|
5612
|
+
}
|
|
5613
|
+
function isFunction(value) {
|
|
5614
|
+
return typeof value === "function";
|
|
5615
|
+
}
|
|
5616
|
+
function isObject(value) {
|
|
5617
|
+
return !isPrimitive(value) && !isArray(value) && !isFunction(value) && typeof value === "object";
|
|
5618
|
+
}
|
|
5619
|
+
function isPrimitive(value) {
|
|
5620
|
+
return typeof value === "string" || typeof value === "number" || typeof value === "boolean" || typeof value === "undefined" || value instanceof Date || value instanceof RegExp || value === null;
|
|
5621
|
+
}
|
|
5622
|
+
function shouldMerge(one, two) {
|
|
5623
|
+
if (!isPlainObject2(one) || !isPlainObject2(two)) {
|
|
5624
|
+
return false;
|
|
5625
|
+
}
|
|
5626
|
+
return true;
|
|
5627
|
+
}
|
|
5628
|
+
var MAX_LEVEL = 20;
|
|
5629
|
+
var init_merge = __esm(() => {
|
|
5630
|
+
init_lodash_merge();
|
|
5631
|
+
});
|
|
5632
|
+
|
|
5633
|
+
// node_modules/.bun/@opentelemetry+core@2.7.0+e40b0dfdd726a224/node_modules/@opentelemetry/core/build/esm/utils/promise.js
|
|
5634
|
+
class Deferred {
|
|
5635
|
+
_promise;
|
|
5636
|
+
_resolve;
|
|
5637
|
+
_reject;
|
|
5638
|
+
constructor() {
|
|
5639
|
+
this._promise = new Promise((resolve2, reject) => {
|
|
5640
|
+
this._resolve = resolve2;
|
|
5641
|
+
this._reject = reject;
|
|
5642
|
+
});
|
|
5643
|
+
}
|
|
5644
|
+
get promise() {
|
|
5645
|
+
return this._promise;
|
|
5646
|
+
}
|
|
5647
|
+
resolve(val) {
|
|
5648
|
+
this._resolve(val);
|
|
5649
|
+
}
|
|
5650
|
+
reject(err) {
|
|
5651
|
+
this._reject(err);
|
|
5652
|
+
}
|
|
5653
|
+
}
|
|
5654
|
+
var init_promise = () => {};
|
|
5655
|
+
|
|
5656
|
+
// node_modules/.bun/@opentelemetry+core@2.7.0+e40b0dfdd726a224/node_modules/@opentelemetry/core/build/esm/utils/callback.js
|
|
5657
|
+
class BindOnceFuture {
|
|
5658
|
+
_isCalled = false;
|
|
5659
|
+
_deferred = new Deferred;
|
|
5660
|
+
_callback;
|
|
5661
|
+
_that;
|
|
5662
|
+
constructor(callback, that) {
|
|
5663
|
+
this._callback = callback;
|
|
5664
|
+
this._that = that;
|
|
5665
|
+
}
|
|
5666
|
+
get isCalled() {
|
|
5667
|
+
return this._isCalled;
|
|
5668
|
+
}
|
|
5669
|
+
get promise() {
|
|
5670
|
+
return this._deferred.promise;
|
|
5671
|
+
}
|
|
5672
|
+
call(...args) {
|
|
5673
|
+
if (!this._isCalled) {
|
|
5674
|
+
this._isCalled = true;
|
|
5675
|
+
try {
|
|
5676
|
+
Promise.resolve(this._callback.call(this._that, ...args)).then((val) => this._deferred.resolve(val), (err) => this._deferred.reject(err));
|
|
5677
|
+
} catch (err) {
|
|
5678
|
+
this._deferred.reject(err);
|
|
5679
|
+
}
|
|
5680
|
+
}
|
|
5681
|
+
return this._deferred.promise;
|
|
5682
|
+
}
|
|
5683
|
+
}
|
|
5684
|
+
var init_callback = __esm(() => {
|
|
5685
|
+
init_promise();
|
|
5686
|
+
});
|
|
5687
|
+
|
|
5688
|
+
// node_modules/.bun/@opentelemetry+core@2.7.0+e40b0dfdd726a224/node_modules/@opentelemetry/core/build/esm/internal/exporter.js
|
|
5689
|
+
function _export(exporter, arg) {
|
|
5690
|
+
return new Promise((resolve2) => {
|
|
5691
|
+
import_api8.context.with(suppressTracing(import_api8.context.active()), () => {
|
|
5692
|
+
exporter.export(arg, resolve2);
|
|
5693
|
+
});
|
|
5694
|
+
});
|
|
5695
|
+
}
|
|
5696
|
+
var import_api8;
|
|
5697
|
+
var init_exporter = __esm(() => {
|
|
5698
|
+
init_suppress_tracing();
|
|
5699
|
+
import_api8 = __toESM(require_src(), 1);
|
|
5700
|
+
});
|
|
5701
|
+
|
|
5702
|
+
// node_modules/.bun/@opentelemetry+core@2.7.0+e40b0dfdd726a224/node_modules/@opentelemetry/core/build/esm/index.js
|
|
5703
|
+
var internal;
|
|
5704
|
+
var init_esm2 = __esm(() => {
|
|
5705
|
+
init_W3CBaggagePropagator();
|
|
5706
|
+
init_attributes();
|
|
5707
|
+
init_global_error_handler();
|
|
5708
|
+
init_time();
|
|
5709
|
+
init_ExportResult();
|
|
5710
|
+
init_platform2();
|
|
5711
|
+
init_rpc_metadata();
|
|
5712
|
+
init_suppress_tracing();
|
|
5713
|
+
init_TraceState();
|
|
5714
|
+
init_merge();
|
|
5715
|
+
init_callback();
|
|
5716
|
+
init_exporter();
|
|
5717
|
+
internal = {
|
|
5718
|
+
_export
|
|
5719
|
+
};
|
|
5720
|
+
});
|
|
5721
|
+
|
|
5722
|
+
// node_modules/.bun/@opentelemetry+resources@2.7.0+e40b0dfdd726a224/node_modules/@opentelemetry/resources/build/esm/detectors/EnvDetector.js
|
|
5723
|
+
class EnvDetector {
|
|
5724
|
+
_MAX_LENGTH = 255;
|
|
5725
|
+
_COMMA_SEPARATOR = ",";
|
|
5726
|
+
_LABEL_KEY_VALUE_SPLITTER = "=";
|
|
5727
|
+
detect(_config) {
|
|
5728
|
+
const attributes = {};
|
|
5729
|
+
const rawAttributes = getStringFromEnv("OTEL_RESOURCE_ATTRIBUTES");
|
|
5730
|
+
const serviceName = getStringFromEnv("OTEL_SERVICE_NAME");
|
|
5731
|
+
if (rawAttributes) {
|
|
5732
|
+
try {
|
|
5733
|
+
const parsedAttributes = this._parseResourceAttributes(rawAttributes);
|
|
5734
|
+
Object.assign(attributes, parsedAttributes);
|
|
5735
|
+
} catch (e) {
|
|
5736
|
+
import_api9.diag.debug(`EnvDetector failed: ${e instanceof Error ? e.message : e}`);
|
|
5737
|
+
}
|
|
5738
|
+
}
|
|
5739
|
+
if (serviceName) {
|
|
5740
|
+
attributes[import_semantic_conventions2.ATTR_SERVICE_NAME] = serviceName;
|
|
5741
|
+
}
|
|
5742
|
+
return { attributes };
|
|
5743
|
+
}
|
|
5744
|
+
_parseResourceAttributes(rawEnvAttributes) {
|
|
5745
|
+
if (!rawEnvAttributes)
|
|
5746
|
+
return {};
|
|
5747
|
+
const attributes = {};
|
|
5748
|
+
const rawAttributes = rawEnvAttributes.split(this._COMMA_SEPARATOR).filter((attr) => attr.trim() !== "");
|
|
5749
|
+
for (const rawAttribute of rawAttributes) {
|
|
5750
|
+
const keyValuePair = rawAttribute.split(this._LABEL_KEY_VALUE_SPLITTER);
|
|
5751
|
+
if (keyValuePair.length !== 2) {
|
|
5752
|
+
throw new Error(`Invalid format for OTEL_RESOURCE_ATTRIBUTES: "${rawAttribute}". ` + `Expected format: key=value. The ',' and '=' characters must be percent-encoded in keys and values.`);
|
|
5753
|
+
}
|
|
5754
|
+
const [rawKey, rawValue] = keyValuePair;
|
|
5755
|
+
const key = rawKey.trim();
|
|
5756
|
+
const value = rawValue.trim();
|
|
5757
|
+
if (key.length === 0) {
|
|
5758
|
+
throw new Error(`Invalid OTEL_RESOURCE_ATTRIBUTES: empty attribute key in "${rawAttribute}".`);
|
|
5759
|
+
}
|
|
5760
|
+
let decodedKey;
|
|
5761
|
+
let decodedValue;
|
|
5762
|
+
try {
|
|
5763
|
+
decodedKey = decodeURIComponent(key);
|
|
5764
|
+
decodedValue = decodeURIComponent(value);
|
|
5765
|
+
} catch (e) {
|
|
5766
|
+
throw new Error(`Failed to percent-decode OTEL_RESOURCE_ATTRIBUTES entry "${rawAttribute}": ${e instanceof Error ? e.message : e}`);
|
|
5767
|
+
}
|
|
5768
|
+
if (decodedKey.length > this._MAX_LENGTH) {
|
|
5769
|
+
throw new Error(`Attribute key exceeds the maximum length of ${this._MAX_LENGTH} characters: "${decodedKey}".`);
|
|
5770
|
+
}
|
|
5771
|
+
if (decodedValue.length > this._MAX_LENGTH) {
|
|
5772
|
+
throw new Error(`Attribute value exceeds the maximum length of ${this._MAX_LENGTH} characters for key "${decodedKey}".`);
|
|
5773
|
+
}
|
|
5774
|
+
attributes[decodedKey] = decodedValue;
|
|
5775
|
+
}
|
|
5776
|
+
return attributes;
|
|
5777
|
+
}
|
|
5778
|
+
}
|
|
5779
|
+
var import_api9, import_semantic_conventions2, envDetector;
|
|
5780
|
+
var init_EnvDetector = __esm(() => {
|
|
5781
|
+
init_esm2();
|
|
5782
|
+
import_api9 = __toESM(require_src(), 1);
|
|
5783
|
+
import_semantic_conventions2 = __toESM(require_src2(), 1);
|
|
5784
|
+
envDetector = new EnvDetector;
|
|
5785
|
+
});
|
|
5786
|
+
|
|
5787
|
+
// node_modules/.bun/@opentelemetry+resources@2.7.0+e40b0dfdd726a224/node_modules/@opentelemetry/resources/build/esm/semconv.js
|
|
5788
|
+
var ATTR_HOST_ARCH = "host.arch", ATTR_HOST_ID = "host.id", ATTR_HOST_NAME = "host.name", ATTR_OS_TYPE = "os.type", ATTR_OS_VERSION = "os.version";
|
|
5789
|
+
var init_semconv2 = () => {};
|
|
5790
|
+
|
|
5791
|
+
// node_modules/.bun/@opentelemetry+resources@2.7.0+e40b0dfdd726a224/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/machine-id/getMachineId.js
|
|
5792
|
+
import * as process2 from "process";
|
|
5793
|
+
async function getMachineId() {
|
|
5794
|
+
if (!getMachineIdImpl) {
|
|
5795
|
+
switch (process2.platform) {
|
|
5796
|
+
case "darwin":
|
|
5797
|
+
getMachineIdImpl = (await import("./chunk-cga5sq7g.js")).getMachineId;
|
|
5798
|
+
break;
|
|
5799
|
+
case "linux":
|
|
5800
|
+
getMachineIdImpl = (await import("./chunk-t7vqt78m.js")).getMachineId;
|
|
5801
|
+
break;
|
|
5802
|
+
case "freebsd":
|
|
5803
|
+
getMachineIdImpl = (await import("./chunk-q95b9wrd.js")).getMachineId;
|
|
5804
|
+
break;
|
|
5805
|
+
case "win32":
|
|
5806
|
+
getMachineIdImpl = (await import("./chunk-es6y15pn.js")).getMachineId;
|
|
5807
|
+
break;
|
|
5808
|
+
default:
|
|
5809
|
+
getMachineIdImpl = (await import("./chunk-t8sg0wf3.js")).getMachineId;
|
|
5810
|
+
break;
|
|
5811
|
+
}
|
|
5812
|
+
}
|
|
5813
|
+
return getMachineIdImpl();
|
|
5814
|
+
}
|
|
5815
|
+
var getMachineIdImpl;
|
|
5816
|
+
var init_getMachineId = () => {};
|
|
5817
|
+
|
|
5818
|
+
// node_modules/.bun/@opentelemetry+resources@2.7.0+e40b0dfdd726a224/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/utils.js
|
|
5819
|
+
var normalizeArch = (nodeArchString) => {
|
|
5820
|
+
switch (nodeArchString) {
|
|
5821
|
+
case "arm":
|
|
5822
|
+
return "arm32";
|
|
5823
|
+
case "ppc":
|
|
5824
|
+
return "ppc32";
|
|
5825
|
+
case "x64":
|
|
5826
|
+
return "amd64";
|
|
5827
|
+
default:
|
|
5828
|
+
return nodeArchString;
|
|
5829
|
+
}
|
|
5830
|
+
}, normalizeType = (nodePlatform) => {
|
|
5831
|
+
switch (nodePlatform) {
|
|
5832
|
+
case "sunos":
|
|
5833
|
+
return "solaris";
|
|
5834
|
+
case "win32":
|
|
5835
|
+
return "windows";
|
|
5836
|
+
default:
|
|
5837
|
+
return nodePlatform;
|
|
5838
|
+
}
|
|
5839
|
+
};
|
|
5840
|
+
var init_utils2 = () => {};
|
|
5841
|
+
|
|
5842
|
+
// node_modules/.bun/@opentelemetry+resources@2.7.0+e40b0dfdd726a224/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/HostDetector.js
|
|
5843
|
+
import { arch, hostname } from "os";
|
|
5844
|
+
|
|
5845
|
+
class HostDetector {
|
|
5846
|
+
detect(_config) {
|
|
5847
|
+
const attributes = {
|
|
5848
|
+
[ATTR_HOST_NAME]: hostname(),
|
|
5849
|
+
[ATTR_HOST_ARCH]: normalizeArch(arch()),
|
|
5850
|
+
[ATTR_HOST_ID]: getMachineId()
|
|
5851
|
+
};
|
|
5852
|
+
return { attributes };
|
|
5853
|
+
}
|
|
5854
|
+
}
|
|
5855
|
+
var hostDetector;
|
|
5856
|
+
var init_HostDetector = __esm(() => {
|
|
5857
|
+
init_semconv2();
|
|
5858
|
+
init_getMachineId();
|
|
5859
|
+
init_utils2();
|
|
5860
|
+
hostDetector = new HostDetector;
|
|
5861
|
+
});
|
|
5862
|
+
|
|
5863
|
+
// node_modules/.bun/@opentelemetry+resources@2.7.0+e40b0dfdd726a224/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/OSDetector.js
|
|
5864
|
+
import { platform as platform2, release } from "os";
|
|
5865
|
+
|
|
5866
|
+
class OSDetector {
|
|
5867
|
+
detect(_config) {
|
|
5868
|
+
const attributes = {
|
|
5869
|
+
[ATTR_OS_TYPE]: normalizeType(platform2()),
|
|
5870
|
+
[ATTR_OS_VERSION]: release()
|
|
5871
|
+
};
|
|
5872
|
+
return { attributes };
|
|
5873
|
+
}
|
|
5874
|
+
}
|
|
5875
|
+
var osDetector;
|
|
5876
|
+
var init_OSDetector = __esm(() => {
|
|
5877
|
+
init_semconv2();
|
|
5878
|
+
init_utils2();
|
|
5879
|
+
osDetector = new OSDetector;
|
|
5880
|
+
});
|
|
5881
|
+
|
|
5882
|
+
// node_modules/.bun/@opentelemetry+resources@2.7.0+e40b0dfdd726a224/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/index.js
|
|
5883
|
+
var init_node2 = __esm(() => {
|
|
5884
|
+
init_HostDetector();
|
|
5885
|
+
init_OSDetector();
|
|
5886
|
+
});
|
|
5887
|
+
|
|
5888
|
+
// node_modules/.bun/@opentelemetry+resources@2.7.0+e40b0dfdd726a224/node_modules/@opentelemetry/resources/build/esm/detectors/platform/index.js
|
|
5889
|
+
var init_platform3 = __esm(() => {
|
|
5890
|
+
init_node2();
|
|
5891
|
+
});
|
|
5892
|
+
|
|
5893
|
+
// node_modules/.bun/@opentelemetry+resources@2.7.0+e40b0dfdd726a224/node_modules/@opentelemetry/resources/build/esm/detectors/index.js
|
|
5894
|
+
var init_detectors = __esm(() => {
|
|
5895
|
+
init_EnvDetector();
|
|
5896
|
+
init_platform3();
|
|
5897
|
+
});
|
|
5898
|
+
|
|
5899
|
+
// node_modules/.bun/@opentelemetry+resources@2.7.0+e40b0dfdd726a224/node_modules/@opentelemetry/resources/build/esm/default-service-name.js
|
|
5900
|
+
function defaultServiceName() {
|
|
5901
|
+
if (serviceName === undefined) {
|
|
5902
|
+
try {
|
|
5903
|
+
const argv0 = globalThis.process.argv0;
|
|
5904
|
+
serviceName = argv0 ? `unknown_service:${argv0}` : "unknown_service";
|
|
5905
|
+
} catch {
|
|
5906
|
+
serviceName = "unknown_service";
|
|
5907
|
+
}
|
|
5908
|
+
}
|
|
5909
|
+
return serviceName;
|
|
5910
|
+
}
|
|
5911
|
+
var serviceName;
|
|
5912
|
+
var init_default_service_name = () => {};
|
|
5913
|
+
|
|
5914
|
+
// node_modules/.bun/@opentelemetry+resources@2.7.0+e40b0dfdd726a224/node_modules/@opentelemetry/resources/build/esm/utils.js
|
|
5915
|
+
var isPromiseLike = (val) => {
|
|
5916
|
+
return val !== null && typeof val === "object" && typeof val.then === "function";
|
|
5917
|
+
};
|
|
5918
|
+
var init_utils3 = () => {};
|
|
5919
|
+
|
|
5920
|
+
// node_modules/.bun/@opentelemetry+resources@2.7.0+e40b0dfdd726a224/node_modules/@opentelemetry/resources/build/esm/ResourceImpl.js
|
|
5921
|
+
class ResourceImpl {
|
|
5922
|
+
_rawAttributes;
|
|
5923
|
+
_asyncAttributesPending = false;
|
|
5924
|
+
_schemaUrl;
|
|
5925
|
+
_memoizedAttributes;
|
|
5926
|
+
static FromAttributeList(attributes, options) {
|
|
5927
|
+
const res = new ResourceImpl({}, options);
|
|
5928
|
+
res._rawAttributes = guardedRawAttributes(attributes);
|
|
5929
|
+
res._asyncAttributesPending = attributes.filter(([_, val]) => isPromiseLike(val)).length > 0;
|
|
5930
|
+
return res;
|
|
5931
|
+
}
|
|
5932
|
+
constructor(resource, options) {
|
|
5933
|
+
const attributes = resource.attributes ?? {};
|
|
5934
|
+
this._rawAttributes = Object.entries(attributes).map(([k, v]) => {
|
|
5935
|
+
if (isPromiseLike(v)) {
|
|
5936
|
+
this._asyncAttributesPending = true;
|
|
5937
|
+
}
|
|
5938
|
+
return [k, v];
|
|
5939
|
+
});
|
|
5940
|
+
this._rawAttributes = guardedRawAttributes(this._rawAttributes);
|
|
5941
|
+
this._schemaUrl = validateSchemaUrl(options?.schemaUrl);
|
|
5942
|
+
}
|
|
5943
|
+
get asyncAttributesPending() {
|
|
5944
|
+
return this._asyncAttributesPending;
|
|
5945
|
+
}
|
|
5946
|
+
async waitForAsyncAttributes() {
|
|
5947
|
+
if (!this.asyncAttributesPending) {
|
|
5948
|
+
return;
|
|
5949
|
+
}
|
|
5950
|
+
for (let i = 0;i < this._rawAttributes.length; i++) {
|
|
5951
|
+
const [k, v] = this._rawAttributes[i];
|
|
5952
|
+
this._rawAttributes[i] = [k, isPromiseLike(v) ? await v : v];
|
|
5953
|
+
}
|
|
5954
|
+
this._asyncAttributesPending = false;
|
|
5955
|
+
}
|
|
5956
|
+
get attributes() {
|
|
5957
|
+
if (this.asyncAttributesPending) {
|
|
5958
|
+
import_api10.diag.error("Accessing resource attributes before async attributes settled");
|
|
5959
|
+
}
|
|
5960
|
+
if (this._memoizedAttributes) {
|
|
5961
|
+
return this._memoizedAttributes;
|
|
5962
|
+
}
|
|
5963
|
+
const attrs = {};
|
|
5964
|
+
for (const [k, v] of this._rawAttributes) {
|
|
5965
|
+
if (isPromiseLike(v)) {
|
|
5966
|
+
import_api10.diag.debug(`Unsettled resource attribute ${k} skipped`);
|
|
5967
|
+
continue;
|
|
5968
|
+
}
|
|
5969
|
+
if (v != null) {
|
|
5970
|
+
attrs[k] ??= v;
|
|
5971
|
+
}
|
|
5972
|
+
}
|
|
5973
|
+
if (!this._asyncAttributesPending) {
|
|
5974
|
+
this._memoizedAttributes = attrs;
|
|
5975
|
+
}
|
|
5976
|
+
return attrs;
|
|
5977
|
+
}
|
|
5978
|
+
getRawAttributes() {
|
|
5979
|
+
return this._rawAttributes;
|
|
5980
|
+
}
|
|
5981
|
+
get schemaUrl() {
|
|
5982
|
+
return this._schemaUrl;
|
|
5983
|
+
}
|
|
5984
|
+
merge(resource) {
|
|
5985
|
+
if (resource == null)
|
|
5986
|
+
return this;
|
|
5987
|
+
const mergedSchemaUrl = mergeSchemaUrl(this, resource);
|
|
5988
|
+
const mergedOptions = mergedSchemaUrl ? { schemaUrl: mergedSchemaUrl } : undefined;
|
|
5989
|
+
return ResourceImpl.FromAttributeList([...resource.getRawAttributes(), ...this.getRawAttributes()], mergedOptions);
|
|
5990
|
+
}
|
|
5991
|
+
}
|
|
5992
|
+
function resourceFromAttributes(attributes, options) {
|
|
5993
|
+
return ResourceImpl.FromAttributeList(Object.entries(attributes), options);
|
|
5994
|
+
}
|
|
5995
|
+
function defaultResource() {
|
|
5996
|
+
return resourceFromAttributes({
|
|
5997
|
+
[import_semantic_conventions3.ATTR_SERVICE_NAME]: defaultServiceName(),
|
|
5998
|
+
[import_semantic_conventions3.ATTR_TELEMETRY_SDK_LANGUAGE]: SDK_INFO[import_semantic_conventions3.ATTR_TELEMETRY_SDK_LANGUAGE],
|
|
5999
|
+
[import_semantic_conventions3.ATTR_TELEMETRY_SDK_NAME]: SDK_INFO[import_semantic_conventions3.ATTR_TELEMETRY_SDK_NAME],
|
|
6000
|
+
[import_semantic_conventions3.ATTR_TELEMETRY_SDK_VERSION]: SDK_INFO[import_semantic_conventions3.ATTR_TELEMETRY_SDK_VERSION]
|
|
6001
|
+
});
|
|
6002
|
+
}
|
|
6003
|
+
function guardedRawAttributes(attributes) {
|
|
6004
|
+
return attributes.map(([k, v]) => {
|
|
6005
|
+
if (isPromiseLike(v)) {
|
|
6006
|
+
return [
|
|
6007
|
+
k,
|
|
6008
|
+
v.catch((err) => {
|
|
6009
|
+
import_api10.diag.debug("promise rejection for resource attribute: %s - %s", k, err);
|
|
6010
|
+
return;
|
|
6011
|
+
})
|
|
6012
|
+
];
|
|
6013
|
+
}
|
|
6014
|
+
return [k, v];
|
|
6015
|
+
});
|
|
6016
|
+
}
|
|
6017
|
+
function validateSchemaUrl(schemaUrl) {
|
|
6018
|
+
if (typeof schemaUrl === "string" || schemaUrl === undefined) {
|
|
6019
|
+
return schemaUrl;
|
|
6020
|
+
}
|
|
6021
|
+
import_api10.diag.warn("Schema URL must be string or undefined, got %s. Schema URL will be ignored.", schemaUrl);
|
|
6022
|
+
return;
|
|
6023
|
+
}
|
|
6024
|
+
function mergeSchemaUrl(old, updating) {
|
|
6025
|
+
const oldSchemaUrl = old?.schemaUrl;
|
|
6026
|
+
const updatingSchemaUrl = updating?.schemaUrl;
|
|
6027
|
+
const isOldEmpty = oldSchemaUrl === undefined || oldSchemaUrl === "";
|
|
6028
|
+
const isUpdatingEmpty = updatingSchemaUrl === undefined || updatingSchemaUrl === "";
|
|
6029
|
+
if (isOldEmpty) {
|
|
6030
|
+
return updatingSchemaUrl;
|
|
6031
|
+
}
|
|
6032
|
+
if (isUpdatingEmpty) {
|
|
6033
|
+
return oldSchemaUrl;
|
|
6034
|
+
}
|
|
6035
|
+
if (oldSchemaUrl === updatingSchemaUrl) {
|
|
6036
|
+
return oldSchemaUrl;
|
|
6037
|
+
}
|
|
6038
|
+
import_api10.diag.warn('Schema URL merge conflict: old resource has "%s", updating resource has "%s". Resulting resource will have undefined Schema URL.', oldSchemaUrl, updatingSchemaUrl);
|
|
6039
|
+
return;
|
|
6040
|
+
}
|
|
6041
|
+
var import_api10, import_semantic_conventions3;
|
|
6042
|
+
var init_ResourceImpl = __esm(() => {
|
|
6043
|
+
init_esm2();
|
|
6044
|
+
init_default_service_name();
|
|
6045
|
+
init_utils3();
|
|
6046
|
+
import_api10 = __toESM(require_src(), 1);
|
|
6047
|
+
import_semantic_conventions3 = __toESM(require_src2(), 1);
|
|
6048
|
+
});
|
|
6049
|
+
|
|
6050
|
+
// node_modules/.bun/@opentelemetry+resources@2.7.0+e40b0dfdd726a224/node_modules/@opentelemetry/resources/build/esm/index.js
|
|
6051
|
+
var init_esm3 = __esm(() => {
|
|
6052
|
+
init_detectors();
|
|
6053
|
+
init_ResourceImpl();
|
|
6054
|
+
});
|
|
6055
|
+
|
|
5017
6056
|
// node_modules/.bun/@opentelemetry+api-logs@0.214.0/node_modules/@opentelemetry/api-logs/build/src/types/LogRecord.js
|
|
5018
6057
|
var require_LogRecord = __commonJS((exports) => {
|
|
5019
6058
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -5294,12 +6333,12 @@ class LogRecordImpl {
|
|
|
5294
6333
|
return this._droppedAttributesCount;
|
|
5295
6334
|
}
|
|
5296
6335
|
constructor(_sharedState, instrumentationScope, logRecord) {
|
|
5297
|
-
const { timestamp, observedTimestamp, eventName, severityNumber, severityText, body, attributes = {}, exception, context } = logRecord;
|
|
6336
|
+
const { timestamp, observedTimestamp, eventName, severityNumber, severityText, body, attributes = {}, exception, context: context2 } = logRecord;
|
|
5298
6337
|
const now = Date.now();
|
|
5299
|
-
this.hrTime =
|
|
5300
|
-
this.hrTimeObserved =
|
|
5301
|
-
if (
|
|
5302
|
-
const spanContext = api.trace.getSpanContext(
|
|
6338
|
+
this.hrTime = import_core5.timeInputToHrTime(timestamp ?? now);
|
|
6339
|
+
this.hrTimeObserved = import_core5.timeInputToHrTime(observedTimestamp ?? now);
|
|
6340
|
+
if (context2) {
|
|
6341
|
+
const spanContext = api.trace.getSpanContext(context2);
|
|
5303
6342
|
if (spanContext && api.isSpanContextValid(spanContext)) {
|
|
5304
6343
|
this.spanContext = spanContext;
|
|
5305
6344
|
}
|
|
@@ -5397,32 +6436,32 @@ class LogRecordImpl {
|
|
|
5397
6436
|
_setException(exception) {
|
|
5398
6437
|
let hasMinimumAttributes = false;
|
|
5399
6438
|
if (typeof exception === "string" || typeof exception === "number") {
|
|
5400
|
-
if (!Object.hasOwn(this.attributes,
|
|
5401
|
-
this.setAttribute(
|
|
6439
|
+
if (!Object.hasOwn(this.attributes, import_semantic_conventions4.ATTR_EXCEPTION_MESSAGE)) {
|
|
6440
|
+
this.setAttribute(import_semantic_conventions4.ATTR_EXCEPTION_MESSAGE, String(exception));
|
|
5402
6441
|
}
|
|
5403
6442
|
hasMinimumAttributes = true;
|
|
5404
6443
|
} else if (exception && typeof exception === "object") {
|
|
5405
6444
|
const exceptionObj = exception;
|
|
5406
6445
|
if (exceptionObj.code) {
|
|
5407
|
-
if (!Object.hasOwn(this.attributes,
|
|
5408
|
-
this.setAttribute(
|
|
6446
|
+
if (!Object.hasOwn(this.attributes, import_semantic_conventions4.ATTR_EXCEPTION_TYPE)) {
|
|
6447
|
+
this.setAttribute(import_semantic_conventions4.ATTR_EXCEPTION_TYPE, exceptionObj.code.toString());
|
|
5409
6448
|
}
|
|
5410
6449
|
hasMinimumAttributes = true;
|
|
5411
6450
|
} else if (exceptionObj.name) {
|
|
5412
|
-
if (!Object.hasOwn(this.attributes,
|
|
5413
|
-
this.setAttribute(
|
|
6451
|
+
if (!Object.hasOwn(this.attributes, import_semantic_conventions4.ATTR_EXCEPTION_TYPE)) {
|
|
6452
|
+
this.setAttribute(import_semantic_conventions4.ATTR_EXCEPTION_TYPE, exceptionObj.name);
|
|
5414
6453
|
}
|
|
5415
6454
|
hasMinimumAttributes = true;
|
|
5416
6455
|
}
|
|
5417
6456
|
if (exceptionObj.message) {
|
|
5418
|
-
if (!Object.hasOwn(this.attributes,
|
|
5419
|
-
this.setAttribute(
|
|
6457
|
+
if (!Object.hasOwn(this.attributes, import_semantic_conventions4.ATTR_EXCEPTION_MESSAGE)) {
|
|
6458
|
+
this.setAttribute(import_semantic_conventions4.ATTR_EXCEPTION_MESSAGE, exceptionObj.message);
|
|
5420
6459
|
}
|
|
5421
6460
|
hasMinimumAttributes = true;
|
|
5422
6461
|
}
|
|
5423
6462
|
if (exceptionObj.stack) {
|
|
5424
|
-
if (!Object.hasOwn(this.attributes,
|
|
5425
|
-
this.setAttribute(
|
|
6463
|
+
if (!Object.hasOwn(this.attributes, import_semantic_conventions4.ATTR_EXCEPTION_STACKTRACE)) {
|
|
6464
|
+
this.setAttribute(import_semantic_conventions4.ATTR_EXCEPTION_STACKTRACE, exceptionObj.stack);
|
|
5426
6465
|
}
|
|
5427
6466
|
hasMinimumAttributes = true;
|
|
5428
6467
|
}
|
|
@@ -5444,12 +6483,12 @@ class LogRecordImpl {
|
|
|
5444
6483
|
return this._isReadonly;
|
|
5445
6484
|
}
|
|
5446
6485
|
}
|
|
5447
|
-
var api,
|
|
6486
|
+
var api, import_core5, import_semantic_conventions4;
|
|
5448
6487
|
var init_LogRecordImpl = __esm(() => {
|
|
5449
6488
|
init_validation();
|
|
5450
6489
|
api = __toESM(require_src(), 1);
|
|
5451
|
-
|
|
5452
|
-
|
|
6490
|
+
import_core5 = __toESM(require_src3(), 1);
|
|
6491
|
+
import_semantic_conventions4 = __toESM(require_src2(), 1);
|
|
5453
6492
|
});
|
|
5454
6493
|
|
|
5455
6494
|
// node_modules/.bun/@opentelemetry+sdk-logs@0.214.0+e40b0dfdd726a224/node_modules/@opentelemetry/sdk-logs/build/esm/Logger.js
|
|
@@ -5464,15 +6503,15 @@ class Logger {
|
|
|
5464
6503
|
}
|
|
5465
6504
|
emit(logRecord) {
|
|
5466
6505
|
const loggerConfig = this._loggerConfig;
|
|
5467
|
-
const currentContext = logRecord.context ||
|
|
6506
|
+
const currentContext = logRecord.context || import_api11.context.active();
|
|
5468
6507
|
const recordSeverity = logRecord.severityNumber ?? import_api_logs.SeverityNumber.UNSPECIFIED;
|
|
5469
6508
|
if (recordSeverity !== import_api_logs.SeverityNumber.UNSPECIFIED && recordSeverity < loggerConfig.minimumSeverity) {
|
|
5470
6509
|
return;
|
|
5471
6510
|
}
|
|
5472
6511
|
if (loggerConfig.traceBased) {
|
|
5473
|
-
const spanContext =
|
|
5474
|
-
if (spanContext &&
|
|
5475
|
-
const isSampled = (spanContext.traceFlags &
|
|
6512
|
+
const spanContext = import_api11.trace.getSpanContext(currentContext);
|
|
6513
|
+
if (spanContext && import_api11.isSpanContextValid(spanContext)) {
|
|
6514
|
+
const isSampled = (spanContext.traceFlags & import_api11.TraceFlags.SAMPLED) === import_api11.TraceFlags.SAMPLED;
|
|
5476
6515
|
if (!isSampled) {
|
|
5477
6516
|
return;
|
|
5478
6517
|
}
|
|
@@ -5486,11 +6525,11 @@ class Logger {
|
|
|
5486
6525
|
logRecordInstance._makeReadonly();
|
|
5487
6526
|
}
|
|
5488
6527
|
}
|
|
5489
|
-
var import_api_logs,
|
|
6528
|
+
var import_api_logs, import_api11;
|
|
5490
6529
|
var init_Logger = __esm(() => {
|
|
5491
6530
|
init_LogRecordImpl();
|
|
5492
6531
|
import_api_logs = __toESM(require_src5(), 1);
|
|
5493
|
-
|
|
6532
|
+
import_api11 = __toESM(require_src(), 1);
|
|
5494
6533
|
});
|
|
5495
6534
|
|
|
5496
6535
|
// node_modules/.bun/@opentelemetry+sdk-logs@0.214.0+e40b0dfdd726a224/node_modules/@opentelemetry/sdk-logs/build/esm/export/NoopLogRecordProcessor.js
|
|
@@ -5515,25 +6554,25 @@ class MultiLogRecordProcessor {
|
|
|
5515
6554
|
}
|
|
5516
6555
|
async forceFlush() {
|
|
5517
6556
|
const timeout = this.forceFlushTimeoutMillis;
|
|
5518
|
-
await Promise.all(this.processors.map((processor) =>
|
|
6557
|
+
await Promise.all(this.processors.map((processor) => import_core6.callWithTimeout(processor.forceFlush(), timeout)));
|
|
5519
6558
|
}
|
|
5520
|
-
onEmit(logRecord,
|
|
5521
|
-
this.processors.forEach((processors) => processors.onEmit(logRecord,
|
|
6559
|
+
onEmit(logRecord, context3) {
|
|
6560
|
+
this.processors.forEach((processors) => processors.onEmit(logRecord, context3));
|
|
5522
6561
|
}
|
|
5523
6562
|
async shutdown() {
|
|
5524
6563
|
await Promise.all(this.processors.map((processor) => processor.shutdown()));
|
|
5525
6564
|
}
|
|
5526
6565
|
}
|
|
5527
|
-
var
|
|
6566
|
+
var import_core6;
|
|
5528
6567
|
var init_MultiLogRecordProcessor = __esm(() => {
|
|
5529
|
-
|
|
6568
|
+
import_core6 = __toESM(require_src3(), 1);
|
|
5530
6569
|
});
|
|
5531
6570
|
|
|
5532
6571
|
// node_modules/.bun/@opentelemetry+sdk-logs@0.214.0+e40b0dfdd726a224/node_modules/@opentelemetry/sdk-logs/build/esm/internal/utils.js
|
|
5533
6572
|
function getInstrumentationScopeKey(scope) {
|
|
5534
6573
|
return `${scope.name}@${scope.version || ""}:${scope.schemaUrl || ""}`;
|
|
5535
6574
|
}
|
|
5536
|
-
var
|
|
6575
|
+
var init_utils4 = () => {};
|
|
5537
6576
|
|
|
5538
6577
|
// node_modules/.bun/@opentelemetry+sdk-logs@0.214.0+e40b0dfdd726a224/node_modules/@opentelemetry/sdk-logs/build/esm/internal/LoggerProviderSharedState.js
|
|
5539
6578
|
class LoggerProviderSharedState {
|
|
@@ -5576,7 +6615,7 @@ var import_api_logs2, DEFAULT_LOGGER_CONFIG, DEFAULT_LOGGER_CONFIGURATOR = () =>
|
|
|
5576
6615
|
var init_LoggerProviderSharedState = __esm(() => {
|
|
5577
6616
|
init_NoopLogRecordProcessor();
|
|
5578
6617
|
init_MultiLogRecordProcessor();
|
|
5579
|
-
|
|
6618
|
+
init_utils4();
|
|
5580
6619
|
import_api_logs2 = __toESM(require_src5(), 1);
|
|
5581
6620
|
DEFAULT_LOGGER_CONFIG = {
|
|
5582
6621
|
disabled: false,
|
|
@@ -5601,15 +6640,15 @@ class LoggerProvider {
|
|
|
5601
6640
|
processors: config.processors ?? []
|
|
5602
6641
|
};
|
|
5603
6642
|
this._sharedState = new LoggerProviderSharedState(mergedConfig.resource, mergedConfig.forceFlushTimeoutMillis, mergedConfig.logRecordLimits, mergedConfig.processors, mergedConfig.loggerConfigurator);
|
|
5604
|
-
this._shutdownOnce = new
|
|
6643
|
+
this._shutdownOnce = new import_core7.BindOnceFuture(this._shutdown, this);
|
|
5605
6644
|
}
|
|
5606
6645
|
getLogger(name, version, options) {
|
|
5607
6646
|
if (this._shutdownOnce.isCalled) {
|
|
5608
|
-
|
|
6647
|
+
import_api12.diag.warn("A shutdown LoggerProvider cannot provide a Logger");
|
|
5609
6648
|
return import_api_logs3.NOOP_LOGGER;
|
|
5610
6649
|
}
|
|
5611
6650
|
if (!name) {
|
|
5612
|
-
|
|
6651
|
+
import_api12.diag.warn("Logger requested without instrumentation scope name.");
|
|
5613
6652
|
}
|
|
5614
6653
|
const loggerName = name || DEFAULT_LOGGER_NAME;
|
|
5615
6654
|
const key = `${loggerName}@${version || ""}:${options?.schemaUrl || ""}`;
|
|
@@ -5620,14 +6659,14 @@ class LoggerProvider {
|
|
|
5620
6659
|
}
|
|
5621
6660
|
forceFlush() {
|
|
5622
6661
|
if (this._shutdownOnce.isCalled) {
|
|
5623
|
-
|
|
6662
|
+
import_api12.diag.warn("invalid attempt to force flush after LoggerProvider shutdown");
|
|
5624
6663
|
return this._shutdownOnce.promise;
|
|
5625
6664
|
}
|
|
5626
6665
|
return this._sharedState.activeProcessor.forceFlush();
|
|
5627
6666
|
}
|
|
5628
6667
|
shutdown() {
|
|
5629
6668
|
if (this._shutdownOnce.isCalled) {
|
|
5630
|
-
|
|
6669
|
+
import_api12.diag.warn("shutdown may only be called once per LoggerProvider");
|
|
5631
6670
|
return this._shutdownOnce.promise;
|
|
5632
6671
|
}
|
|
5633
6672
|
return this._shutdownOnce.call();
|
|
@@ -5636,14 +6675,14 @@ class LoggerProvider {
|
|
|
5636
6675
|
return this._sharedState.activeProcessor.shutdown();
|
|
5637
6676
|
}
|
|
5638
6677
|
}
|
|
5639
|
-
var
|
|
6678
|
+
var import_api12, import_api_logs3, import_resources, import_core7, DEFAULT_LOGGER_NAME = "unknown";
|
|
5640
6679
|
var init_LoggerProvider = __esm(() => {
|
|
5641
6680
|
init_Logger();
|
|
5642
6681
|
init_LoggerProviderSharedState();
|
|
5643
|
-
|
|
6682
|
+
import_api12 = __toESM(require_src(), 1);
|
|
5644
6683
|
import_api_logs3 = __toESM(require_src5(), 1);
|
|
5645
6684
|
import_resources = __toESM(require_src4(), 1);
|
|
5646
|
-
|
|
6685
|
+
import_core7 = __toESM(require_src3(), 1);
|
|
5647
6686
|
});
|
|
5648
6687
|
|
|
5649
6688
|
// node_modules/.bun/@opentelemetry+sdk-logs@0.214.0+e40b0dfdd726a224/node_modules/@opentelemetry/sdk-logs/build/esm/export/ConsoleLogRecordExporter.js
|
|
@@ -5660,7 +6699,7 @@ class ConsoleLogRecordExporter {
|
|
|
5660
6699
|
attributes: logRecord.resource.attributes
|
|
5661
6700
|
},
|
|
5662
6701
|
instrumentationScope: logRecord.instrumentationScope,
|
|
5663
|
-
timestamp:
|
|
6702
|
+
timestamp: import_core8.hrTimeToMicroseconds(logRecord.hrTime),
|
|
5664
6703
|
traceId: logRecord.spanContext?.traceId,
|
|
5665
6704
|
spanId: logRecord.spanContext?.spanId,
|
|
5666
6705
|
traceFlags: logRecord.spanContext?.traceFlags,
|
|
@@ -5675,12 +6714,12 @@ class ConsoleLogRecordExporter {
|
|
|
5675
6714
|
for (const logRecord of logRecords) {
|
|
5676
6715
|
console.dir(this._exportInfo(logRecord), { depth: 3 });
|
|
5677
6716
|
}
|
|
5678
|
-
done?.({ code:
|
|
6717
|
+
done?.({ code: import_core8.ExportResultCode.SUCCESS });
|
|
5679
6718
|
}
|
|
5680
6719
|
}
|
|
5681
|
-
var
|
|
6720
|
+
var import_core8;
|
|
5682
6721
|
var init_ConsoleLogRecordExporter = __esm(() => {
|
|
5683
|
-
|
|
6722
|
+
import_core8 = __toESM(require_src3(), 1);
|
|
5684
6723
|
});
|
|
5685
6724
|
|
|
5686
6725
|
// node_modules/.bun/@opentelemetry+sdk-logs@0.214.0+e40b0dfdd726a224/node_modules/@opentelemetry/sdk-logs/build/esm/export/BatchLogRecordProcessorBase.js
|
|
@@ -5700,9 +6739,9 @@ class BatchLogRecordProcessorBase {
|
|
|
5700
6739
|
this._maxQueueSize = config?.maxQueueSize ?? 2048;
|
|
5701
6740
|
this._scheduledDelayMillis = config?.scheduledDelayMillis ?? 5000;
|
|
5702
6741
|
this._exportTimeoutMillis = config?.exportTimeoutMillis ?? 30000;
|
|
5703
|
-
this._shutdownOnce = new
|
|
6742
|
+
this._shutdownOnce = new import_core9.BindOnceFuture(this._shutdown, this);
|
|
5704
6743
|
if (this._maxExportBatchSize > this._maxQueueSize) {
|
|
5705
|
-
|
|
6744
|
+
import_api13.diag.warn("BatchLogRecordProcessor: maxExportBatchSize must be smaller or equal to maxQueueSize, setting maxExportBatchSize to match maxQueueSize");
|
|
5706
6745
|
this._maxExportBatchSize = this._maxQueueSize;
|
|
5707
6746
|
}
|
|
5708
6747
|
}
|
|
@@ -5750,7 +6789,7 @@ class BatchLogRecordProcessorBase {
|
|
|
5750
6789
|
if (this._finishedLogRecords.length === 0) {
|
|
5751
6790
|
return Promise.resolve();
|
|
5752
6791
|
}
|
|
5753
|
-
return
|
|
6792
|
+
return import_core9.callWithTimeout(this._export(this._finishedLogRecords.splice(0, this._maxExportBatchSize)), this._exportTimeoutMillis);
|
|
5754
6793
|
}
|
|
5755
6794
|
_maybeStartTimer() {
|
|
5756
6795
|
if (this._isExporting)
|
|
@@ -5765,7 +6804,7 @@ class BatchLogRecordProcessorBase {
|
|
|
5765
6804
|
}
|
|
5766
6805
|
}).catch((e) => {
|
|
5767
6806
|
this._isExporting = false;
|
|
5768
|
-
|
|
6807
|
+
import_core9.globalErrorHandler(e);
|
|
5769
6808
|
});
|
|
5770
6809
|
};
|
|
5771
6810
|
if (this._finishedLogRecords.length >= this._maxExportBatchSize) {
|
|
@@ -5785,11 +6824,11 @@ class BatchLogRecordProcessorBase {
|
|
|
5785
6824
|
}
|
|
5786
6825
|
}
|
|
5787
6826
|
_export(logRecords) {
|
|
5788
|
-
const doExport = () =>
|
|
5789
|
-
if (result.code !==
|
|
5790
|
-
|
|
6827
|
+
const doExport = () => import_core9.internal._export(this._exporter, logRecords).then((result) => {
|
|
6828
|
+
if (result.code !== import_core9.ExportResultCode.SUCCESS) {
|
|
6829
|
+
import_core9.globalErrorHandler(result.error ?? new Error(`BatchLogRecordProcessor: log record export failed (status ${result})`));
|
|
5791
6830
|
}
|
|
5792
|
-
}).catch(
|
|
6831
|
+
}).catch(import_core9.globalErrorHandler);
|
|
5793
6832
|
const pendingResources = [];
|
|
5794
6833
|
for (let i = 0;i < logRecords.length; i++) {
|
|
5795
6834
|
const resource = logRecords[i].resource;
|
|
@@ -5800,14 +6839,14 @@ class BatchLogRecordProcessorBase {
|
|
|
5800
6839
|
if (pendingResources.length === 0) {
|
|
5801
6840
|
return doExport();
|
|
5802
6841
|
} else {
|
|
5803
|
-
return Promise.all(pendingResources).then(doExport,
|
|
6842
|
+
return Promise.all(pendingResources).then(doExport, import_core9.globalErrorHandler);
|
|
5804
6843
|
}
|
|
5805
6844
|
}
|
|
5806
6845
|
}
|
|
5807
|
-
var
|
|
6846
|
+
var import_api13, import_core9;
|
|
5808
6847
|
var init_BatchLogRecordProcessorBase = __esm(() => {
|
|
5809
|
-
|
|
5810
|
-
|
|
6848
|
+
import_api13 = __toESM(require_src(), 1);
|
|
6849
|
+
import_core9 = __toESM(require_src3(), 1);
|
|
5811
6850
|
});
|
|
5812
6851
|
|
|
5813
6852
|
// node_modules/.bun/@opentelemetry+sdk-logs@0.214.0+e40b0dfdd726a224/node_modules/@opentelemetry/sdk-logs/build/esm/platform/node/export/BatchLogRecordProcessor.js
|
|
@@ -5820,20 +6859,20 @@ var init_BatchLogRecordProcessor = __esm(() => {
|
|
|
5820
6859
|
});
|
|
5821
6860
|
|
|
5822
6861
|
// node_modules/.bun/@opentelemetry+sdk-logs@0.214.0+e40b0dfdd726a224/node_modules/@opentelemetry/sdk-logs/build/esm/platform/node/index.js
|
|
5823
|
-
var
|
|
6862
|
+
var init_node3 = __esm(() => {
|
|
5824
6863
|
init_BatchLogRecordProcessor();
|
|
5825
6864
|
});
|
|
5826
6865
|
|
|
5827
6866
|
// node_modules/.bun/@opentelemetry+sdk-logs@0.214.0+e40b0dfdd726a224/node_modules/@opentelemetry/sdk-logs/build/esm/platform/index.js
|
|
5828
|
-
var
|
|
5829
|
-
|
|
6867
|
+
var init_platform4 = __esm(() => {
|
|
6868
|
+
init_node3();
|
|
5830
6869
|
});
|
|
5831
6870
|
|
|
5832
6871
|
// node_modules/.bun/@opentelemetry+sdk-logs@0.214.0+e40b0dfdd726a224/node_modules/@opentelemetry/sdk-logs/build/esm/index.js
|
|
5833
|
-
var
|
|
6872
|
+
var init_esm4 = __esm(() => {
|
|
5834
6873
|
init_LoggerProvider();
|
|
5835
6874
|
init_ConsoleLogRecordExporter();
|
|
5836
|
-
|
|
6875
|
+
init_platform4();
|
|
5837
6876
|
});
|
|
5838
6877
|
|
|
5839
6878
|
// src/services/analytics/config.ts
|
|
@@ -8006,7 +9045,7 @@ async function getAnthropicClient({
|
|
|
8006
9045
|
}
|
|
8007
9046
|
};
|
|
8008
9047
|
if (isEnvTruthy(process.env.CLAUDE_CODE_USE_BEDROCK)) {
|
|
8009
|
-
const { AnthropicBedrock } = await import("./chunk-
|
|
9048
|
+
const { AnthropicBedrock } = await import("./chunk-b0yyp8et.js");
|
|
8010
9049
|
const awsRegion = model === getSmallFastModel() && process.env.ANTHROPIC_SMALL_FAST_MODEL_AWS_REGION ? process.env.ANTHROPIC_SMALL_FAST_MODEL_AWS_REGION : getAWSRegion();
|
|
8011
9050
|
const bedrockArgs = {
|
|
8012
9051
|
...ARGS,
|
|
@@ -8042,7 +9081,7 @@ async function getAnthropicClient({
|
|
|
8042
9081
|
const {
|
|
8043
9082
|
DefaultAzureCredential: AzureCredential,
|
|
8044
9083
|
getBearerTokenProvider
|
|
8045
|
-
} = await import("./chunk-
|
|
9084
|
+
} = await import("./chunk-5vdpbk46.js");
|
|
8046
9085
|
azureADTokenProvider = getBearerTokenProvider(new AzureCredential, "https://cognitiveservices.azure.com/.default");
|
|
8047
9086
|
}
|
|
8048
9087
|
}
|
|
@@ -8058,7 +9097,7 @@ async function getAnthropicClient({
|
|
|
8058
9097
|
await refreshGcpCredentialsIfNeeded();
|
|
8059
9098
|
}
|
|
8060
9099
|
const [{ AnthropicVertex }, { GoogleAuth }] = await Promise.all([
|
|
8061
|
-
import("./chunk-
|
|
9100
|
+
import("./chunk-ybebarb1.js"),
|
|
8062
9101
|
import("./chunk-tezak8rx.js").then((m)=>__toESM(m.default,1))
|
|
8063
9102
|
]);
|
|
8064
9103
|
const hasProjectEnvVar = process.env["GCLOUD_PROJECT"] || process.env["GOOGLE_CLOUD_PROJECT"] || process.env["gcloud_project"] || process.env["google_cloud_project"];
|
|
@@ -8672,28 +9711,28 @@ import { AsyncLocalStorage as AsyncLocalStorage2 } from "async_hooks";
|
|
|
8672
9711
|
function getAgentContext() {
|
|
8673
9712
|
return agentContextStorage.getStore();
|
|
8674
9713
|
}
|
|
8675
|
-
function runWithAgentContext(
|
|
8676
|
-
return agentContextStorage.run(
|
|
9714
|
+
function runWithAgentContext(context3, fn) {
|
|
9715
|
+
return agentContextStorage.run(context3, fn);
|
|
8677
9716
|
}
|
|
8678
|
-
function isSubagentContext(
|
|
8679
|
-
return
|
|
9717
|
+
function isSubagentContext(context3) {
|
|
9718
|
+
return context3?.agentType === "subagent";
|
|
8680
9719
|
}
|
|
8681
9720
|
function getSubagentLogName() {
|
|
8682
|
-
const
|
|
8683
|
-
if (!isSubagentContext(
|
|
9721
|
+
const context3 = getAgentContext();
|
|
9722
|
+
if (!isSubagentContext(context3) || !context3.subagentName) {
|
|
8684
9723
|
return;
|
|
8685
9724
|
}
|
|
8686
|
-
return
|
|
9725
|
+
return context3.isBuiltIn ? context3.subagentName : "user-defined";
|
|
8687
9726
|
}
|
|
8688
9727
|
function consumeInvokingRequestId() {
|
|
8689
|
-
const
|
|
8690
|
-
if (!
|
|
9728
|
+
const context3 = getAgentContext();
|
|
9729
|
+
if (!context3?.invokingRequestId || context3.invocationEmitted) {
|
|
8691
9730
|
return;
|
|
8692
9731
|
}
|
|
8693
|
-
|
|
9732
|
+
context3.invocationEmitted = true;
|
|
8694
9733
|
return {
|
|
8695
|
-
invokingRequestId:
|
|
8696
|
-
invocationKind:
|
|
9734
|
+
invokingRequestId: context3.invokingRequestId,
|
|
9735
|
+
invocationKind: context3.invocationKind
|
|
8697
9736
|
};
|
|
8698
9737
|
}
|
|
8699
9738
|
var agentContextStorage;
|
|
@@ -9179,7 +10218,7 @@ var init_metadata = __esm(() => {
|
|
|
9179
10218
|
isClaudeAiAuth: isClaudeAISubscriber(),
|
|
9180
10219
|
version: "2.1.888",
|
|
9181
10220
|
versionBase: getVersionBase(),
|
|
9182
|
-
buildTime: "2026-04-
|
|
10221
|
+
buildTime: "2026-04-19T04:33:30.431Z",
|
|
9183
10222
|
deploymentEnvironment: env.detectDeploymentEnvironment(),
|
|
9184
10223
|
...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
|
|
9185
10224
|
githubEventName: process.env.GITHUB_EVENT_NAME,
|
|
@@ -9338,7 +10377,7 @@ class FirstPartyEventLoggingExporter {
|
|
|
9338
10377
|
logForDebugging("1P event logging export failed: Exporter has been shutdown");
|
|
9339
10378
|
}
|
|
9340
10379
|
resultCallback({
|
|
9341
|
-
code:
|
|
10380
|
+
code: ExportResultCode.FAILED,
|
|
9342
10381
|
error: new Error("Exporter has been shutdown")
|
|
9343
10382
|
});
|
|
9344
10383
|
return;
|
|
@@ -9356,17 +10395,17 @@ class FirstPartyEventLoggingExporter {
|
|
|
9356
10395
|
try {
|
|
9357
10396
|
const eventLogs = logs.filter((log) => log.instrumentationScope?.name === "com.anthropic.claude_code.events");
|
|
9358
10397
|
if (eventLogs.length === 0) {
|
|
9359
|
-
resultCallback({ code:
|
|
10398
|
+
resultCallback({ code: ExportResultCode.SUCCESS });
|
|
9360
10399
|
return;
|
|
9361
10400
|
}
|
|
9362
10401
|
const events = this.transformLogsToEvents(eventLogs).events;
|
|
9363
10402
|
if (events.length === 0) {
|
|
9364
|
-
resultCallback({ code:
|
|
10403
|
+
resultCallback({ code: ExportResultCode.SUCCESS });
|
|
9365
10404
|
return;
|
|
9366
10405
|
}
|
|
9367
10406
|
if (this.attempts >= this.maxAttempts) {
|
|
9368
10407
|
resultCallback({
|
|
9369
|
-
code:
|
|
10408
|
+
code: ExportResultCode.FAILED,
|
|
9370
10409
|
error: new Error(`Dropped ${events.length} events: max attempts (${this.maxAttempts}) reached`)
|
|
9371
10410
|
});
|
|
9372
10411
|
return;
|
|
@@ -9376,10 +10415,10 @@ class FirstPartyEventLoggingExporter {
|
|
|
9376
10415
|
if (failedEvents.length > 0) {
|
|
9377
10416
|
await this.queueFailedEvents(failedEvents);
|
|
9378
10417
|
this.scheduleBackoffRetry();
|
|
9379
|
-
const
|
|
10418
|
+
const context3 = this.lastExportErrorContext ? ` (${this.lastExportErrorContext})` : "";
|
|
9380
10419
|
resultCallback({
|
|
9381
|
-
code:
|
|
9382
|
-
error: new Error(`Failed to export ${failedEvents.length} events${
|
|
10420
|
+
code: ExportResultCode.FAILED,
|
|
10421
|
+
error: new Error(`Failed to export ${failedEvents.length} events${context3}`)
|
|
9383
10422
|
});
|
|
9384
10423
|
return;
|
|
9385
10424
|
}
|
|
@@ -9387,14 +10426,14 @@ class FirstPartyEventLoggingExporter {
|
|
|
9387
10426
|
if (await this.getQueuedEventCount() > 0 && !this.isRetrying) {
|
|
9388
10427
|
this.retryFailedEvents();
|
|
9389
10428
|
}
|
|
9390
|
-
resultCallback({ code:
|
|
10429
|
+
resultCallback({ code: ExportResultCode.SUCCESS });
|
|
9391
10430
|
} catch (error) {
|
|
9392
10431
|
if (process.env.USER_TYPE === "ant") {
|
|
9393
10432
|
logForDebugging(`1P event logging export failed: ${errorMessage(error)}`);
|
|
9394
10433
|
}
|
|
9395
10434
|
logError(error);
|
|
9396
10435
|
resultCallback({
|
|
9397
|
-
code:
|
|
10436
|
+
code: ExportResultCode.FAILED,
|
|
9398
10437
|
error: toError(error)
|
|
9399
10438
|
});
|
|
9400
10439
|
}
|
|
@@ -9436,8 +10475,8 @@ class FirstPartyEventLoggingExporter {
|
|
|
9436
10475
|
async queueFailedEvents(events) {
|
|
9437
10476
|
const filePath = this.getCurrentBatchFilePath();
|
|
9438
10477
|
await this.appendEventsToFile(filePath, events);
|
|
9439
|
-
const
|
|
9440
|
-
const message = `1P event logging: ${events.length} events failed to export${
|
|
10478
|
+
const context3 = this.lastExportErrorContext ? ` (${this.lastExportErrorContext})` : "";
|
|
10479
|
+
const message = `1P event logging: ${events.length} events failed to export${context3}`;
|
|
9441
10480
|
logError(new Error(message));
|
|
9442
10481
|
}
|
|
9443
10482
|
scheduleBackoffRetry() {
|
|
@@ -9552,8 +10591,8 @@ class FirstPartyEventLoggingExporter {
|
|
|
9552
10591
|
logForDebugging(`API Response: ${jsonStringify(responseData, null, 2)}`);
|
|
9553
10592
|
}
|
|
9554
10593
|
}
|
|
9555
|
-
hrTimeToDate(
|
|
9556
|
-
const [seconds, nanoseconds] =
|
|
10594
|
+
hrTimeToDate(hrTime2) {
|
|
10595
|
+
const [seconds, nanoseconds] = hrTime2;
|
|
9557
10596
|
return new Date(seconds * 1000 + nanoseconds / 1e6);
|
|
9558
10597
|
}
|
|
9559
10598
|
transformLogsToEvents(logs) {
|
|
@@ -9667,8 +10706,9 @@ function getAxiosErrorContext(error) {
|
|
|
9667
10706
|
}
|
|
9668
10707
|
return parts.join(", ");
|
|
9669
10708
|
}
|
|
9670
|
-
var
|
|
10709
|
+
var BATCH_UUID, FILE_PREFIX = "1p_failed_events.";
|
|
9671
10710
|
var init_firstPartyEventLoggingExporter = __esm(() => {
|
|
10711
|
+
init_esm2();
|
|
9672
10712
|
init_axios();
|
|
9673
10713
|
init_state();
|
|
9674
10714
|
init_claude_code_internal_event();
|
|
@@ -9687,7 +10727,6 @@ var init_firstPartyEventLoggingExporter = __esm(() => {
|
|
|
9687
10727
|
init_client2();
|
|
9688
10728
|
init_analytics();
|
|
9689
10729
|
init_metadata();
|
|
9690
|
-
import_core8 = __toESM(require_src3(), 1);
|
|
9691
10730
|
BATCH_UUID = randomUUID2();
|
|
9692
10731
|
});
|
|
9693
10732
|
|
|
@@ -9835,18 +10874,18 @@ function initialize1PEventLogging() {
|
|
|
9835
10874
|
const scheduledDelayMillis = batchConfig.scheduledDelayMillis || parseInt(process.env.OTEL_LOGS_EXPORT_INTERVAL || DEFAULT_LOGS_EXPORT_INTERVAL_MS.toString());
|
|
9836
10875
|
const maxExportBatchSize = batchConfig.maxExportBatchSize || DEFAULT_MAX_EXPORT_BATCH_SIZE;
|
|
9837
10876
|
const maxQueueSize = batchConfig.maxQueueSize || DEFAULT_MAX_QUEUE_SIZE;
|
|
9838
|
-
const
|
|
10877
|
+
const platform3 = getPlatform();
|
|
9839
10878
|
const attributes = {
|
|
9840
|
-
[
|
|
9841
|
-
[
|
|
10879
|
+
[import_semantic_conventions5.ATTR_SERVICE_NAME]: "claude-code",
|
|
10880
|
+
[import_semantic_conventions5.ATTR_SERVICE_VERSION]: "2.1.888"
|
|
9842
10881
|
};
|
|
9843
|
-
if (
|
|
10882
|
+
if (platform3 === "wsl") {
|
|
9844
10883
|
const wslVersion = getWslVersion();
|
|
9845
10884
|
if (wslVersion) {
|
|
9846
10885
|
attributes["wsl.version"] = wslVersion;
|
|
9847
10886
|
}
|
|
9848
10887
|
}
|
|
9849
|
-
const resource =
|
|
10888
|
+
const resource = resourceFromAttributes(attributes);
|
|
9850
10889
|
const eventLoggingExporter = new FirstPartyEventLoggingExporter({
|
|
9851
10890
|
maxBatchSize: maxExportBatchSize,
|
|
9852
10891
|
skipAuth: batchConfig.skipAuth,
|
|
@@ -9895,9 +10934,10 @@ async function reinitialize1PEventLoggingIfConfigChanged() {
|
|
|
9895
10934
|
}
|
|
9896
10935
|
oldProvider.shutdown().catch(() => {});
|
|
9897
10936
|
}
|
|
9898
|
-
var
|
|
10937
|
+
var import_semantic_conventions5, 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;
|
|
9899
10938
|
var init_firstPartyEventLogger = __esm(() => {
|
|
9900
|
-
|
|
10939
|
+
init_esm3();
|
|
10940
|
+
init_esm4();
|
|
9901
10941
|
init_lodash();
|
|
9902
10942
|
init_config();
|
|
9903
10943
|
init_debug();
|
|
@@ -9911,8 +10951,7 @@ var init_firstPartyEventLogger = __esm(() => {
|
|
|
9911
10951
|
init_growthbook();
|
|
9912
10952
|
init_metadata();
|
|
9913
10953
|
init_sinkKillswitch();
|
|
9914
|
-
|
|
9915
|
-
import_semantic_conventions2 = __toESM(require_src2(), 1);
|
|
10954
|
+
import_semantic_conventions5 = __toESM(require_src2(), 1);
|
|
9916
10955
|
});
|
|
9917
10956
|
|
|
9918
10957
|
// src/services/analytics/growthbook.ts
|
|
@@ -10865,12 +11904,12 @@ function writeFileSyncAndFlush_DEPRECATED(filePath, content, options = { encodin
|
|
|
10865
11904
|
}
|
|
10866
11905
|
}
|
|
10867
11906
|
function getDesktopPath() {
|
|
10868
|
-
const
|
|
11907
|
+
const platform3 = getPlatform();
|
|
10869
11908
|
const homeDir = homedir2();
|
|
10870
|
-
if (
|
|
11909
|
+
if (platform3 === "macos") {
|
|
10871
11910
|
return join7(homeDir, "Desktop");
|
|
10872
11911
|
}
|
|
10873
|
-
if (
|
|
11912
|
+
if (platform3 === "windows") {
|
|
10874
11913
|
const windowsHome = process.env.USERPROFILE ? process.env.USERPROFILE.replace(/\\/g, "/") : null;
|
|
10875
11914
|
if (windowsHome) {
|
|
10876
11915
|
const wslPath = windowsHome.replace(/^[A-Z]:/, "");
|
|
@@ -11099,7 +12138,7 @@ function isSettingSourceEnabled(source) {
|
|
|
11099
12138
|
return enabled.includes(source);
|
|
11100
12139
|
}
|
|
11101
12140
|
var SETTING_SOURCES, SOURCES, CLAUDE_CODE_SETTINGS_SCHEMA_URL = "https://json.schemastore.org/claude-code-settings.json";
|
|
11102
|
-
var
|
|
12141
|
+
var init_constants2 = __esm(() => {
|
|
11103
12142
|
init_state();
|
|
11104
12143
|
SETTING_SOURCES = [
|
|
11105
12144
|
"userSettings",
|
|
@@ -11828,7 +12867,7 @@ var init_mcpStringUtils = __esm(() => {
|
|
|
11828
12867
|
|
|
11829
12868
|
// packages/builtin-tools/src/tools/AgentTool/constants.ts
|
|
11830
12869
|
var AGENT_TOOL_NAME = "Agent", LEGACY_AGENT_TOOL_NAME = "Task", VERIFICATION_AGENT_TYPE = "verification", ONE_SHOT_BUILTIN_AGENT_TYPES;
|
|
11831
|
-
var
|
|
12870
|
+
var init_constants3 = __esm(() => {
|
|
11832
12871
|
ONE_SHOT_BUILTIN_AGENT_TYPES = new Set([
|
|
11833
12872
|
"Explore",
|
|
11834
12873
|
"Plan"
|
|
@@ -11837,7 +12876,7 @@ var init_constants2 = __esm(() => {
|
|
|
11837
12876
|
|
|
11838
12877
|
// packages/builtin-tools/src/tools/TaskOutputTool/constants.ts
|
|
11839
12878
|
var TASK_OUTPUT_TOOL_NAME = "TaskOutput";
|
|
11840
|
-
var
|
|
12879
|
+
var init_constants4 = () => {};
|
|
11841
12880
|
|
|
11842
12881
|
// packages/builtin-tools/src/tools/TaskStopTool/prompt.ts
|
|
11843
12882
|
var TASK_STOP_TOOL_NAME = "TaskStop", DESCRIPTION = `
|
|
@@ -11958,8 +12997,8 @@ function findLastUnescapedChar(str, char) {
|
|
|
11958
12997
|
}
|
|
11959
12998
|
var BRIEF_TOOL_NAME2, LEGACY_TOOL_NAME_ALIASES;
|
|
11960
12999
|
var init_permissionRuleParser = __esm(() => {
|
|
11961
|
-
init_constants2();
|
|
11962
13000
|
init_constants3();
|
|
13001
|
+
init_constants4();
|
|
11963
13002
|
init_prompt();
|
|
11964
13003
|
BRIEF_TOOL_NAME2 = (init_prompt2(), __toCommonJS(exports_prompt)).BRIEF_TOOL_NAME;
|
|
11965
13004
|
LEGACY_TOOL_NAME_ALIASES = {
|
|
@@ -12222,7 +13261,7 @@ var init_types2 = __esm(() => {
|
|
|
12222
13261
|
init_lazySchema();
|
|
12223
13262
|
init_PermissionMode();
|
|
12224
13263
|
init_schemas();
|
|
12225
|
-
|
|
13264
|
+
init_constants2();
|
|
12226
13265
|
init_permissionValidation();
|
|
12227
13266
|
init_hooks();
|
|
12228
13267
|
init_hooks();
|
|
@@ -12465,16 +13504,16 @@ var init_schemaOutput = __esm(() => {
|
|
|
12465
13504
|
});
|
|
12466
13505
|
|
|
12467
13506
|
// src/utils/settings/validationTips.ts
|
|
12468
|
-
function getValidationTip(
|
|
12469
|
-
const matcher = TIP_MATCHERS.find((m) => m.matches(
|
|
13507
|
+
function getValidationTip(context3) {
|
|
13508
|
+
const matcher = TIP_MATCHERS.find((m) => m.matches(context3));
|
|
12470
13509
|
if (!matcher)
|
|
12471
13510
|
return null;
|
|
12472
13511
|
const tip = { ...matcher.tip };
|
|
12473
|
-
if (
|
|
12474
|
-
tip.suggestion = `Valid values: ${
|
|
13512
|
+
if (context3.code === "invalid_value" && context3.enumValues && !tip.suggestion) {
|
|
13513
|
+
tip.suggestion = `Valid values: ${context3.enumValues.map((v) => `"${v}"`).join(", ")}`;
|
|
12475
13514
|
}
|
|
12476
|
-
if (!tip.docLink &&
|
|
12477
|
-
const pathPrefix =
|
|
13515
|
+
if (!tip.docLink && context3.path) {
|
|
13516
|
+
const pathPrefix = context3.path.split(".")[0];
|
|
12478
13517
|
if (pathPrefix) {
|
|
12479
13518
|
tip.docLink = PATH_DOC_LINKS[pathPrefix];
|
|
12480
13519
|
}
|
|
@@ -12754,7 +13793,7 @@ function getMacOSPlistPaths() {
|
|
|
12754
13793
|
return paths;
|
|
12755
13794
|
}
|
|
12756
13795
|
var MACOS_PREFERENCE_DOMAIN = "com.anthropic.claudecode", WINDOWS_REGISTRY_KEY_PATH_HKLM = "HKLM\\SOFTWARE\\Policies\\ClaudeCode", WINDOWS_REGISTRY_KEY_PATH_HKCU = "HKCU\\SOFTWARE\\Policies\\ClaudeCode", WINDOWS_REGISTRY_VALUE_NAME = "Settings", PLUTIL_PATH = "/usr/bin/plutil", PLUTIL_ARGS_PREFIX, MDM_SUBPROCESS_TIMEOUT_MS = 5000;
|
|
12757
|
-
var
|
|
13796
|
+
var init_constants5 = __esm(() => {
|
|
12758
13797
|
PLUTIL_ARGS_PREFIX = ["-convert", "json", "-o", "-", "--"];
|
|
12759
13798
|
});
|
|
12760
13799
|
|
|
@@ -12823,7 +13862,7 @@ function getMdmRawReadPromise() {
|
|
|
12823
13862
|
}
|
|
12824
13863
|
var rawReadPromise = null;
|
|
12825
13864
|
var init_rawRead = __esm(() => {
|
|
12826
|
-
|
|
13865
|
+
init_constants5();
|
|
12827
13866
|
});
|
|
12828
13867
|
|
|
12829
13868
|
// src/utils/settings/mdm/settings.ts
|
|
@@ -12965,7 +14004,7 @@ var init_settings = __esm(() => {
|
|
|
12965
14004
|
init_managedPath();
|
|
12966
14005
|
init_types2();
|
|
12967
14006
|
init_validation2();
|
|
12968
|
-
|
|
14007
|
+
init_constants5();
|
|
12969
14008
|
init_rawRead();
|
|
12970
14009
|
EMPTY_RESULT = Object.freeze({ settings: {}, errors: [] });
|
|
12971
14010
|
});
|
|
@@ -13522,7 +14561,7 @@ var init_settings2 = __esm(() => {
|
|
|
13522
14561
|
init_platform();
|
|
13523
14562
|
init_slowOperations();
|
|
13524
14563
|
init_startupProfiler();
|
|
13525
|
-
|
|
14564
|
+
init_constants2();
|
|
13526
14565
|
init_internalWrites();
|
|
13527
14566
|
init_managedPath();
|
|
13528
14567
|
init_settings();
|
|
@@ -13537,7 +14576,7 @@ function findFirstMatch(profiles, substring) {
|
|
|
13537
14576
|
return profiles.find((p) => p.includes(substring)) ?? null;
|
|
13538
14577
|
}
|
|
13539
14578
|
async function createBedrockClient() {
|
|
13540
|
-
const { BedrockClient } = await import("./chunk-
|
|
14579
|
+
const { BedrockClient } = await import("./chunk-32vdb088.js");
|
|
13541
14580
|
const region = getAWSRegion();
|
|
13542
14581
|
const skipAuth = isEnvTruthy(process.env.CLAUDE_CODE_SKIP_BEDROCK_AUTH);
|
|
13543
14582
|
const clientConfig = {
|
|
@@ -13547,12 +14586,12 @@ async function createBedrockClient() {
|
|
|
13547
14586
|
},
|
|
13548
14587
|
...await getAWSClientProxyConfig(),
|
|
13549
14588
|
...skipAuth && {
|
|
13550
|
-
requestHandler: new (await import("./chunk-
|
|
14589
|
+
requestHandler: new (await import("./chunk-4drj3c7m.js")).NodeHttpHandler,
|
|
13551
14590
|
httpAuthSchemes: [
|
|
13552
14591
|
{
|
|
13553
14592
|
schemeId: "smithy.api#noAuth",
|
|
13554
14593
|
identityProvider: () => async () => ({}),
|
|
13555
|
-
signer: new (await import("./chunk-
|
|
14594
|
+
signer: new (await import("./chunk-0s7za42b.js")).NoAuthSigner
|
|
13556
14595
|
}
|
|
13557
14596
|
],
|
|
13558
14597
|
httpAuthSchemeProvider: () => [{ schemeId: "smithy.api#noAuth" }]
|
|
@@ -13571,7 +14610,7 @@ async function createBedrockClient() {
|
|
|
13571
14610
|
return new BedrockClient(clientConfig);
|
|
13572
14611
|
}
|
|
13573
14612
|
async function createBedrockRuntimeClient() {
|
|
13574
|
-
const { BedrockRuntimeClient } = await import("./chunk-
|
|
14613
|
+
const { BedrockRuntimeClient } = await import("./chunk-jvwa5w8w.js");
|
|
13575
14614
|
const region = getAWSRegion();
|
|
13576
14615
|
const skipAuth = isEnvTruthy(process.env.CLAUDE_CODE_SKIP_BEDROCK_AUTH);
|
|
13577
14616
|
const clientConfig = {
|
|
@@ -13581,12 +14620,12 @@ async function createBedrockRuntimeClient() {
|
|
|
13581
14620
|
},
|
|
13582
14621
|
...await getAWSClientProxyConfig(),
|
|
13583
14622
|
...skipAuth && {
|
|
13584
|
-
requestHandler: new (await import("./chunk-
|
|
14623
|
+
requestHandler: new (await import("./chunk-4drj3c7m.js")).NodeHttpHandler,
|
|
13585
14624
|
httpAuthSchemes: [
|
|
13586
14625
|
{
|
|
13587
14626
|
schemeId: "smithy.api#noAuth",
|
|
13588
14627
|
identityProvider: () => async () => ({}),
|
|
13589
|
-
signer: new (await import("./chunk-
|
|
14628
|
+
signer: new (await import("./chunk-0s7za42b.js")).NoAuthSigner
|
|
13590
14629
|
}
|
|
13591
14630
|
],
|
|
13592
14631
|
httpAuthSchemeProvider: () => [{ schemeId: "smithy.api#noAuth" }]
|
|
@@ -13646,7 +14685,7 @@ var init_bedrock = __esm(() => {
|
|
|
13646
14685
|
getBedrockInferenceProfiles = memoize_default(async function() {
|
|
13647
14686
|
const [client2, { ListInferenceProfilesCommand }] = await Promise.all([
|
|
13648
14687
|
createBedrockClient(),
|
|
13649
|
-
import("./chunk-
|
|
14688
|
+
import("./chunk-32vdb088.js")
|
|
13650
14689
|
]);
|
|
13651
14690
|
const allProfiles = [];
|
|
13652
14691
|
let nextToken;
|
|
@@ -13672,7 +14711,7 @@ var init_bedrock = __esm(() => {
|
|
|
13672
14711
|
try {
|
|
13673
14712
|
const [client2, { GetInferenceProfileCommand }] = await Promise.all([
|
|
13674
14713
|
createBedrockClient(),
|
|
13675
|
-
import("./chunk-
|
|
14714
|
+
import("./chunk-32vdb088.js")
|
|
13676
14715
|
]);
|
|
13677
14716
|
const command = new GetInferenceProfileCommand({
|
|
13678
14717
|
inferenceProfileIdentifier: profileId
|
|
@@ -14170,13 +15209,13 @@ function isValidAwsStsOutput(obj) {
|
|
|
14170
15209
|
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;
|
|
14171
15210
|
}
|
|
14172
15211
|
async function checkStsCallerIdentity() {
|
|
14173
|
-
const { STSClient, GetCallerIdentityCommand } = await import("./chunk-
|
|
15212
|
+
const { STSClient, GetCallerIdentityCommand } = await import("./chunk-fekynwj1.js");
|
|
14174
15213
|
await new STSClient().send(new GetCallerIdentityCommand({}));
|
|
14175
15214
|
}
|
|
14176
15215
|
async function clearAwsIniCache() {
|
|
14177
15216
|
try {
|
|
14178
15217
|
logForDebugging("Clearing AWS credential provider cache");
|
|
14179
|
-
const { fromIni } = await import("./chunk-
|
|
15218
|
+
const { fromIni } = await import("./chunk-w0b04y7r.js");
|
|
14180
15219
|
const iniProvider = fromIni({ ignoreCache: true });
|
|
14181
15220
|
await iniProvider();
|
|
14182
15221
|
logForDebugging("AWS credential provider cache refreshed");
|
|
@@ -14531,9 +15570,9 @@ var init_secureStorage = __esm(() => {
|
|
|
14531
15570
|
|
|
14532
15571
|
// src/utils/secureStorage/keychainPrefetch.ts
|
|
14533
15572
|
import { execFile as execFile2 } from "child_process";
|
|
14534
|
-
function spawnSecurity(
|
|
15573
|
+
function spawnSecurity(serviceName2) {
|
|
14535
15574
|
return new Promise((resolve4) => {
|
|
14536
|
-
execFile2("security", ["find-generic-password", "-a", getUsername(), "-w", "-s",
|
|
15575
|
+
execFile2("security", ["find-generic-password", "-a", getUsername(), "-w", "-s", serviceName2], { encoding: "utf-8", timeout: KEYCHAIN_PREFETCH_TIMEOUT_MS }, (err, stdout) => {
|
|
14537
15576
|
resolve4({
|
|
14538
15577
|
stdout: err ? null : stdout?.trim() || null,
|
|
14539
15578
|
timedOut: Boolean(err && "killed" in err && err.killed)
|
|
@@ -15378,10 +16417,10 @@ async function checkAndRefreshOAuthTokenIfNeededImpl(retryCount, force) {
|
|
|
15378
16417
|
}
|
|
15379
16418
|
const claudeDir = getClaudeConfigHomeDir();
|
|
15380
16419
|
await mkdir4(claudeDir, { recursive: true });
|
|
15381
|
-
let
|
|
16420
|
+
let release2;
|
|
15382
16421
|
try {
|
|
15383
16422
|
logEvent("tengu_oauth_token_refresh_lock_acquiring", {});
|
|
15384
|
-
|
|
16423
|
+
release2 = await lock(claudeDir);
|
|
15385
16424
|
logEvent("tengu_oauth_token_refresh_lock_acquired", {});
|
|
15386
16425
|
} catch (err) {
|
|
15387
16426
|
if (err.code === "ELOCKED") {
|
|
@@ -15431,7 +16470,7 @@ async function checkAndRefreshOAuthTokenIfNeededImpl(retryCount, force) {
|
|
|
15431
16470
|
return false;
|
|
15432
16471
|
} finally {
|
|
15433
16472
|
logEvent("tengu_oauth_token_refresh_lock_releasing", {});
|
|
15434
|
-
await
|
|
16473
|
+
await release2();
|
|
15435
16474
|
logEvent("tengu_oauth_token_refresh_lock_released", {});
|
|
15436
16475
|
}
|
|
15437
16476
|
}
|
|
@@ -16119,4 +17158,4 @@ var init_client2 = __esm(() => {
|
|
|
16119
17158
|
init_getOauthProfile();
|
|
16120
17159
|
});
|
|
16121
17160
|
|
|
16122
|
-
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, CHANNEL_ARROW, DIAMOND_OPEN, DIAMOND_FILLED, REFERENCE_MARK, FLAG_ICON, BLOCKQUOTE_BAR, BRIDGE_SPINNER_FRAMES, 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, getUseAutoModeDuringPlan, getAutoModeConfig, rawSettingsContainsKey, init_settings2 as init_settings1, createBedrockRuntimeClient, getInferenceProfileBackingModel, isFoundationModel, getBedrockRegionPrefix, applyBedrockRegionPrefix, init_bedrock, CLAUDE_OPUS_4_6_CONFIG, 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, calculateCostFromTokens, 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, getCoreUserData, getGitEmail, init_user, require_src5 as require_src, LoggerProvider, ConsoleLogRecordExporter, BatchLogRecordProcessor, init_esm2 as init_esm, isAnalyticsDisabled, isFeedbackSurveyDisabled, init_config2 as init_config, initJetBrainsDetection, envDynamic, init_envDynamic, 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 };
|
|
17161
|
+
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_constants2 as 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, CHANNEL_ARROW, DIAMOND_OPEN, DIAMOND_FILLED, REFERENCE_MARK, FLAG_ICON, BLOCKQUOTE_BAR, BRIDGE_SPINNER_FRAMES, 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_constants3 as init_constants1, TASK_OUTPUT_TOOL_NAME, init_constants4 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, getUseAutoModeDuringPlan, getAutoModeConfig, rawSettingsContainsKey, init_settings2 as init_settings1, createBedrockRuntimeClient, getInferenceProfileBackingModel, isFoundationModel, getBedrockRegionPrefix, applyBedrockRegionPrefix, init_bedrock, CLAUDE_OPUS_4_6_CONFIG, 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, calculateCostFromTokens, 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, getCoreUserData, getGitEmail, init_user, suppressTracing, isTracingSuppressed, W3CBaggagePropagator, sanitizeAttributes, isAttributeValue, globalErrorHandler, getNumberFromEnv, getStringFromEnv, SDK_INFO, otperformance, millisToHrTime, hrTime, hrTimeDuration, hrTimeToMilliseconds, hrTimeToMicroseconds, isTimeInputHrTime, isTimeInput, addHrTimes, ExportResultCode, TraceState, RPCType, setRPCMetadata, getRPCMetadata, merge, BindOnceFuture, internal, init_esm2 as init_esm, envDetector, hostDetector, osDetector, resourceFromAttributes, defaultResource, init_esm3 as init_esm1, require_src5 as require_src, LoggerProvider, ConsoleLogRecordExporter, BatchLogRecordProcessor, init_esm4 as init_esm2, isAnalyticsDisabled, isFeedbackSurveyDisabled, init_config2 as init_config, initJetBrainsDetection, envDynamic, init_envDynamic, 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 };
|