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
|
@@ -2,16 +2,24 @@
|
|
|
2
2
|
import {
|
|
3
3
|
BasicTracerProvider,
|
|
4
4
|
SamplingDecision,
|
|
5
|
-
init_esm
|
|
6
|
-
} from "./chunk-
|
|
5
|
+
init_esm as init_esm2
|
|
6
|
+
} from "./chunk-5nccnh01.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
RPCType,
|
|
9
|
+
SDK_INFO,
|
|
10
|
+
TraceState,
|
|
11
|
+
W3CBaggagePropagator,
|
|
12
|
+
getRPCMetadata,
|
|
13
|
+
init_esm,
|
|
14
|
+
isTracingSuppressed,
|
|
15
|
+
require_src as require_src4,
|
|
16
|
+
setRPCMetadata,
|
|
17
|
+
suppressTracing
|
|
18
|
+
} from "./chunk-d6kw0esk.js";
|
|
10
19
|
import {
|
|
11
20
|
require_src as require_src3,
|
|
12
|
-
require_src1 as
|
|
13
|
-
|
|
14
|
-
} from "./chunk-f5ma3nh5.js";
|
|
21
|
+
require_src1 as require_src5
|
|
22
|
+
} from "./chunk-7a31vc3r.js";
|
|
15
23
|
import {
|
|
16
24
|
require_src as require_src2
|
|
17
25
|
} from "./chunk-p2816w9z.js";
|
|
@@ -69,7 +77,7 @@ var require_autoLoader = __commonJS((exports) => {
|
|
|
69
77
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
70
78
|
exports.registerInstrumentations = undefined;
|
|
71
79
|
var api_1 = require_src2();
|
|
72
|
-
var api_logs_1 =
|
|
80
|
+
var api_logs_1 = require_src4();
|
|
73
81
|
var autoLoaderUtils_1 = require_autoLoaderUtils();
|
|
74
82
|
function registerInstrumentations(options) {
|
|
75
83
|
const tracerProvider = options.tracerProvider || api_1.trace.getTracerProvider();
|
|
@@ -565,7 +573,7 @@ var require_instrumentation = __commonJS((exports) => {
|
|
|
565
573
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
566
574
|
exports.InstrumentationAbstract = undefined;
|
|
567
575
|
var api_1 = require_src2();
|
|
568
|
-
var api_logs_1 =
|
|
576
|
+
var api_logs_1 = require_src4();
|
|
569
577
|
var shimmer = require_shimmer();
|
|
570
578
|
|
|
571
579
|
class InstrumentationAbstract {
|
|
@@ -1617,7 +1625,7 @@ var require_semconvStability = __commonJS((exports) => {
|
|
|
1617
1625
|
});
|
|
1618
1626
|
|
|
1619
1627
|
// node_modules/.bun/@opentelemetry+instrumentation@0.214.0+e40b0dfdd726a224/node_modules/@opentelemetry/instrumentation/build/src/index.js
|
|
1620
|
-
var
|
|
1628
|
+
var require_src6 = __commonJS((exports) => {
|
|
1621
1629
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1622
1630
|
exports.semconvStabilityFromStr = exports.SemconvStability = exports.safeExecuteInTheMiddleAsync = exports.safeExecuteInTheMiddle = exports.isWrapped = exports.InstrumentationNodeModuleFile = exports.InstrumentationNodeModuleDefinition = exports.InstrumentationBase = exports.registerInstrumentations = undefined;
|
|
1623
1631
|
var autoLoader_1 = require_autoLoader();
|
|
@@ -1869,8 +1877,8 @@ var require_utils2 = __commonJS((exports) => {
|
|
|
1869
1877
|
var api_1 = require_src2();
|
|
1870
1878
|
var semantic_conventions_1 = require_src3();
|
|
1871
1879
|
var semconv_1 = require_semconv();
|
|
1872
|
-
var core_1 =
|
|
1873
|
-
var instrumentation_1 =
|
|
1880
|
+
var core_1 = require_src5();
|
|
1881
|
+
var instrumentation_1 = require_src6();
|
|
1874
1882
|
var url = __require("url");
|
|
1875
1883
|
var AttributeNames_1 = require_AttributeNames();
|
|
1876
1884
|
var internal_types_1 = require_internal_types();
|
|
@@ -2520,10 +2528,10 @@ var require_http = __commonJS((exports) => {
|
|
|
2520
2528
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2521
2529
|
exports.HttpInstrumentation = undefined;
|
|
2522
2530
|
var api_1 = require_src2();
|
|
2523
|
-
var core_1 =
|
|
2531
|
+
var core_1 = require_src5();
|
|
2524
2532
|
var url = __require("url");
|
|
2525
2533
|
var version_1 = require_version();
|
|
2526
|
-
var instrumentation_1 =
|
|
2534
|
+
var instrumentation_1 = require_src6();
|
|
2527
2535
|
var events_1 = __require("events");
|
|
2528
2536
|
var semantic_conventions_1 = require_src3();
|
|
2529
2537
|
var utils_1 = require_utils2();
|
|
@@ -3029,7 +3037,7 @@ var require_http = __commonJS((exports) => {
|
|
|
3029
3037
|
});
|
|
3030
3038
|
|
|
3031
3039
|
// node_modules/.bun/@opentelemetry+instrumentation-http@0.214.0+e40b0dfdd726a224/node_modules/@opentelemetry/instrumentation-http/build/src/index.js
|
|
3032
|
-
var
|
|
3040
|
+
var require_src7 = __commonJS((exports) => {
|
|
3033
3041
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3034
3042
|
exports.HttpInstrumentation = undefined;
|
|
3035
3043
|
var http_1 = require_http();
|
|
@@ -3038,13 +3046,13 @@ var require_src8 = __commonJS((exports) => {
|
|
|
3038
3046
|
} });
|
|
3039
3047
|
});
|
|
3040
3048
|
|
|
3041
|
-
// node_modules/.bun/@sentry+core@10.
|
|
3049
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/debug-build.js
|
|
3042
3050
|
var DEBUG_BUILD;
|
|
3043
3051
|
var init_debug_build = __esm(() => {
|
|
3044
3052
|
DEBUG_BUILD = typeof __SENTRY_DEBUG__ === "undefined" || __SENTRY_DEBUG__;
|
|
3045
3053
|
});
|
|
3046
3054
|
|
|
3047
|
-
// node_modules/.bun/@sentry+core@10.
|
|
3055
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/utils/is.js
|
|
3048
3056
|
function isError(wat) {
|
|
3049
3057
|
switch (objectToString.call(wat)) {
|
|
3050
3058
|
case "[object Error]":
|
|
@@ -3104,13 +3112,13 @@ var init_is = __esm(() => {
|
|
|
3104
3112
|
objectToString = Object.prototype.toString;
|
|
3105
3113
|
});
|
|
3106
3114
|
|
|
3107
|
-
// node_modules/.bun/@sentry+core@10.
|
|
3115
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/utils/worldwide.js
|
|
3108
3116
|
var GLOBAL_OBJ;
|
|
3109
3117
|
var init_worldwide = __esm(() => {
|
|
3110
3118
|
GLOBAL_OBJ = globalThis;
|
|
3111
3119
|
});
|
|
3112
3120
|
|
|
3113
|
-
// node_modules/.bun/@sentry+core@10.
|
|
3121
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/utils/browser.js
|
|
3114
3122
|
function htmlTreeAsString(elem, options = {}) {
|
|
3115
3123
|
if (!elem) {
|
|
3116
3124
|
return "<unknown>";
|
|
@@ -3189,11 +3197,11 @@ var init_browser = __esm(() => {
|
|
|
3189
3197
|
WINDOW = GLOBAL_OBJ;
|
|
3190
3198
|
});
|
|
3191
3199
|
|
|
3192
|
-
// node_modules/.bun/@sentry+core@10.
|
|
3193
|
-
var SDK_VERSION = "10.
|
|
3200
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/utils/version.js
|
|
3201
|
+
var SDK_VERSION = "10.49.0";
|
|
3194
3202
|
var init_version = () => {};
|
|
3195
3203
|
|
|
3196
|
-
// node_modules/.bun/@sentry+core@10.
|
|
3204
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/carrier.js
|
|
3197
3205
|
function getMainCarrier() {
|
|
3198
3206
|
getSentryCarrier(GLOBAL_OBJ);
|
|
3199
3207
|
return GLOBAL_OBJ;
|
|
@@ -3213,7 +3221,7 @@ var init_carrier = __esm(() => {
|
|
|
3213
3221
|
init_worldwide();
|
|
3214
3222
|
});
|
|
3215
3223
|
|
|
3216
|
-
// node_modules/.bun/@sentry+core@10.
|
|
3224
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/utils/debug-logger.js
|
|
3217
3225
|
function consoleSandbox(callback) {
|
|
3218
3226
|
if (!("console" in GLOBAL_OBJ)) {
|
|
3219
3227
|
return callback();
|
|
@@ -3293,7 +3301,7 @@ var init_debug_logger = __esm(() => {
|
|
|
3293
3301
|
};
|
|
3294
3302
|
});
|
|
3295
3303
|
|
|
3296
|
-
// node_modules/.bun/@sentry+core@10.
|
|
3304
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/utils/object.js
|
|
3297
3305
|
function fill(source, name, replacementFactory) {
|
|
3298
3306
|
if (!(name in source)) {
|
|
3299
3307
|
return;
|
|
@@ -3397,32 +3405,37 @@ var init_object = __esm(() => {
|
|
|
3397
3405
|
init_is();
|
|
3398
3406
|
});
|
|
3399
3407
|
|
|
3400
|
-
// node_modules/.bun/@sentry+core@10.
|
|
3401
|
-
function
|
|
3408
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/utils/weakRef.js
|
|
3409
|
+
function makeWeakRef(value) {
|
|
3402
3410
|
try {
|
|
3403
|
-
const
|
|
3404
|
-
if (typeof
|
|
3405
|
-
return new
|
|
3411
|
+
const WeakRefImpl = GLOBAL_OBJ.WeakRef;
|
|
3412
|
+
if (typeof WeakRefImpl === "function") {
|
|
3413
|
+
return new WeakRefImpl(value);
|
|
3406
3414
|
}
|
|
3407
3415
|
} catch {}
|
|
3408
|
-
return
|
|
3416
|
+
return value;
|
|
3409
3417
|
}
|
|
3410
|
-
function
|
|
3411
|
-
if (!
|
|
3418
|
+
function derefWeakRef(ref) {
|
|
3419
|
+
if (!ref) {
|
|
3412
3420
|
return;
|
|
3413
3421
|
}
|
|
3414
|
-
if (typeof
|
|
3422
|
+
if (typeof ref === "object" && "deref" in ref && typeof ref.deref === "function") {
|
|
3415
3423
|
try {
|
|
3416
|
-
return
|
|
3424
|
+
return ref.deref();
|
|
3417
3425
|
} catch {
|
|
3418
3426
|
return;
|
|
3419
3427
|
}
|
|
3420
3428
|
}
|
|
3421
|
-
return
|
|
3429
|
+
return ref;
|
|
3422
3430
|
}
|
|
3431
|
+
var init_weakRef = __esm(() => {
|
|
3432
|
+
init_worldwide();
|
|
3433
|
+
});
|
|
3434
|
+
|
|
3435
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/tracing/utils.js
|
|
3423
3436
|
function setCapturedScopesOnSpan(span, scope, isolationScope) {
|
|
3424
3437
|
if (span) {
|
|
3425
|
-
addNonEnumerableProperty(span, ISOLATION_SCOPE_ON_START_SPAN_FIELD,
|
|
3438
|
+
addNonEnumerableProperty(span, ISOLATION_SCOPE_ON_START_SPAN_FIELD, makeWeakRef(isolationScope));
|
|
3426
3439
|
addNonEnumerableProperty(span, SCOPE_ON_START_SPAN_FIELD, scope);
|
|
3427
3440
|
}
|
|
3428
3441
|
}
|
|
@@ -3430,16 +3443,16 @@ function getCapturedScopesOnSpan(span) {
|
|
|
3430
3443
|
const spanWithScopes = span;
|
|
3431
3444
|
return {
|
|
3432
3445
|
scope: spanWithScopes[SCOPE_ON_START_SPAN_FIELD],
|
|
3433
|
-
isolationScope:
|
|
3446
|
+
isolationScope: derefWeakRef(spanWithScopes[ISOLATION_SCOPE_ON_START_SPAN_FIELD])
|
|
3434
3447
|
};
|
|
3435
3448
|
}
|
|
3436
3449
|
var SCOPE_ON_START_SPAN_FIELD = "_sentryScope", ISOLATION_SCOPE_ON_START_SPAN_FIELD = "_sentryIsolationScope";
|
|
3437
3450
|
var init_utils = __esm(() => {
|
|
3438
3451
|
init_object();
|
|
3439
|
-
|
|
3452
|
+
init_weakRef();
|
|
3440
3453
|
});
|
|
3441
3454
|
|
|
3442
|
-
// node_modules/.bun/@sentry+core@10.
|
|
3455
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/tracing/spanstatus.js
|
|
3443
3456
|
function getSpanStatusFromHttpCode(httpStatus) {
|
|
3444
3457
|
if (httpStatus < 400 && httpStatus >= 100) {
|
|
3445
3458
|
return { code: SPAN_STATUS_OK };
|
|
@@ -3481,7 +3494,7 @@ function getSpanStatusFromHttpCode(httpStatus) {
|
|
|
3481
3494
|
var SPAN_STATUS_UNSET = 0, SPAN_STATUS_OK = 1, SPAN_STATUS_ERROR = 2;
|
|
3482
3495
|
var init_spanstatus = () => {};
|
|
3483
3496
|
|
|
3484
|
-
// node_modules/.bun/@sentry+core@10.
|
|
3497
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/utils/randomSafeContext.js
|
|
3485
3498
|
function withRandomSafeContext(cb) {
|
|
3486
3499
|
if (RESOLVED_RUNNER !== undefined) {
|
|
3487
3500
|
return RESOLVED_RUNNER ? RESOLVED_RUNNER(cb) : cb();
|
|
@@ -3506,7 +3519,7 @@ var init_randomSafeContext = __esm(() => {
|
|
|
3506
3519
|
init_worldwide();
|
|
3507
3520
|
});
|
|
3508
3521
|
|
|
3509
|
-
// node_modules/.bun/@sentry+core@10.
|
|
3522
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/utils/stacktrace.js
|
|
3510
3523
|
function createStackParser(...parsers) {
|
|
3511
3524
|
const sortedParsers = parsers.sort((a, b) => a[0] - b[0]).map((p) => p[1]);
|
|
3512
3525
|
return (stack, skipFirstLines = 0, framesToPop = 0) => {
|
|
@@ -3593,7 +3606,7 @@ var init_stacktrace = __esm(() => {
|
|
|
3593
3606
|
STRIP_FRAME_REGEXP = /captureMessage|captureException/;
|
|
3594
3607
|
});
|
|
3595
3608
|
|
|
3596
|
-
// node_modules/.bun/@sentry+core@10.
|
|
3609
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/utils/string.js
|
|
3597
3610
|
function truncate(str, max = 0) {
|
|
3598
3611
|
if (typeof str !== "string" || max === 0) {
|
|
3599
3612
|
return str;
|
|
@@ -3671,7 +3684,7 @@ var init_string = __esm(() => {
|
|
|
3671
3684
|
init_stacktrace();
|
|
3672
3685
|
});
|
|
3673
3686
|
|
|
3674
|
-
// node_modules/.bun/@sentry+core@10.
|
|
3687
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/utils/misc.js
|
|
3675
3688
|
function getCrypto() {
|
|
3676
3689
|
const gbl = GLOBAL_OBJ;
|
|
3677
3690
|
return gbl.crypto || gbl.msCrypto;
|
|
@@ -3769,7 +3782,7 @@ var init_misc = __esm(() => {
|
|
|
3769
3782
|
SEMVER_REGEXP = /^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/;
|
|
3770
3783
|
});
|
|
3771
3784
|
|
|
3772
|
-
// node_modules/.bun/@sentry+core@10.
|
|
3785
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/utils/time.js
|
|
3773
3786
|
function dateTimestampInSeconds() {
|
|
3774
3787
|
return safeDateNow() / ONE_SECOND_IN_MS;
|
|
3775
3788
|
}
|
|
@@ -3793,7 +3806,7 @@ var init_time = __esm(() => {
|
|
|
3793
3806
|
init_worldwide();
|
|
3794
3807
|
});
|
|
3795
3808
|
|
|
3796
|
-
// node_modules/.bun/@sentry+core@10.
|
|
3809
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/session.js
|
|
3797
3810
|
function makeSession(context) {
|
|
3798
3811
|
const startingTime = timestampInSeconds();
|
|
3799
3812
|
const session = {
|
|
@@ -3900,7 +3913,7 @@ var init_session = __esm(() => {
|
|
|
3900
3913
|
init_time();
|
|
3901
3914
|
});
|
|
3902
3915
|
|
|
3903
|
-
// node_modules/.bun/@sentry+core@10.
|
|
3916
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/utils/merge.js
|
|
3904
3917
|
function merge(initialObj, mergeObj, levels = 2) {
|
|
3905
3918
|
if (!mergeObj || typeof mergeObj !== "object" || levels <= 0) {
|
|
3906
3919
|
return mergeObj;
|
|
@@ -3918,7 +3931,7 @@ function merge(initialObj, mergeObj, levels = 2) {
|
|
|
3918
3931
|
}
|
|
3919
3932
|
var init_merge = () => {};
|
|
3920
3933
|
|
|
3921
|
-
// node_modules/.bun/@sentry+core@10.
|
|
3934
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/utils/propagationContext.js
|
|
3922
3935
|
function generateTraceId() {
|
|
3923
3936
|
return uuid4();
|
|
3924
3937
|
}
|
|
@@ -3929,7 +3942,7 @@ var init_propagationContext = __esm(() => {
|
|
|
3929
3942
|
init_misc();
|
|
3930
3943
|
});
|
|
3931
3944
|
|
|
3932
|
-
// node_modules/.bun/@sentry+core@10.
|
|
3945
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/utils/spanOnScope.js
|
|
3933
3946
|
function _setSpanForScope(scope, span) {
|
|
3934
3947
|
if (span) {
|
|
3935
3948
|
addNonEnumerableProperty(scope, SCOPE_SPAN_FIELD, span);
|
|
@@ -3945,7 +3958,7 @@ var init_spanOnScope = __esm(() => {
|
|
|
3945
3958
|
init_object();
|
|
3946
3959
|
});
|
|
3947
3960
|
|
|
3948
|
-
// node_modules/.bun/@sentry+core@10.
|
|
3961
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/scope.js
|
|
3949
3962
|
class Scope {
|
|
3950
3963
|
constructor() {
|
|
3951
3964
|
this._notifyingListeners = false;
|
|
@@ -4296,7 +4309,7 @@ var init_scope = __esm(() => {
|
|
|
4296
4309
|
init_time();
|
|
4297
4310
|
});
|
|
4298
4311
|
|
|
4299
|
-
// node_modules/.bun/@sentry+core@10.
|
|
4312
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/defaultScopes.js
|
|
4300
4313
|
function getDefaultCurrentScope() {
|
|
4301
4314
|
return getGlobalSingleton("defaultCurrentScope", () => new Scope);
|
|
4302
4315
|
}
|
|
@@ -4308,7 +4321,7 @@ var init_defaultScopes = __esm(() => {
|
|
|
4308
4321
|
init_scope();
|
|
4309
4322
|
});
|
|
4310
4323
|
|
|
4311
|
-
// node_modules/.bun/@sentry+core@10.
|
|
4324
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/utils/chain-and-copy-promiselike.js
|
|
4312
4325
|
var isActualPromise = (p) => p instanceof Promise && !p[kChainedCopy], kChainedCopy, chainAndCopyPromiseLike = (original, onSuccess, onError) => {
|
|
4313
4326
|
const chained = original.then((value) => {
|
|
4314
4327
|
onSuccess(value);
|
|
@@ -4344,7 +4357,7 @@ var init_chain_and_copy_promiselike = __esm(() => {
|
|
|
4344
4357
|
kChainedCopy = Symbol("chained PromiseLike");
|
|
4345
4358
|
});
|
|
4346
4359
|
|
|
4347
|
-
// node_modules/.bun/@sentry+core@10.
|
|
4360
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/asyncContext/stackStrategy.js
|
|
4348
4361
|
class AsyncContextStack {
|
|
4349
4362
|
constructor(scope, isolationScope) {
|
|
4350
4363
|
let assignedScope;
|
|
@@ -4443,7 +4456,7 @@ var init_stackStrategy = __esm(() => {
|
|
|
4443
4456
|
init_carrier();
|
|
4444
4457
|
});
|
|
4445
4458
|
|
|
4446
|
-
// node_modules/.bun/@sentry+core@10.
|
|
4459
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/asyncContext/index.js
|
|
4447
4460
|
function setAsyncContextStrategy(strategy) {
|
|
4448
4461
|
const registry = getMainCarrier();
|
|
4449
4462
|
const sentry = getSentryCarrier(registry);
|
|
@@ -4461,7 +4474,7 @@ var init_asyncContext = __esm(() => {
|
|
|
4461
4474
|
init_stackStrategy();
|
|
4462
4475
|
});
|
|
4463
4476
|
|
|
4464
|
-
// node_modules/.bun/@sentry+core@10.
|
|
4477
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/currentScopes.js
|
|
4465
4478
|
function getExternalPropagationContext() {
|
|
4466
4479
|
return _externalPropagationContextProvider?.();
|
|
4467
4480
|
}
|
|
@@ -4532,11 +4545,11 @@ var init_currentScopes = __esm(() => {
|
|
|
4532
4545
|
init_propagationContext();
|
|
4533
4546
|
});
|
|
4534
4547
|
|
|
4535
|
-
// node_modules/.bun/@sentry+core@10.
|
|
4548
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/semanticAttributes.js
|
|
4536
4549
|
var SEMANTIC_ATTRIBUTE_SENTRY_SOURCE = "sentry.source", SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE = "sentry.sample_rate", SEMANTIC_ATTRIBUTE_SENTRY_PREVIOUS_TRACE_SAMPLE_RATE = "sentry.previous_trace_sample_rate", SEMANTIC_ATTRIBUTE_SENTRY_OP = "sentry.op", SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN = "sentry.origin", SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT = "sentry.measurement_unit", SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE = "sentry.measurement_value", SEMANTIC_ATTRIBUTE_SENTRY_RELEASE = "sentry.release", SEMANTIC_ATTRIBUTE_SENTRY_ENVIRONMENT = "sentry.environment", SEMANTIC_ATTRIBUTE_SENTRY_SEGMENT_NAME = "sentry.segment.name", SEMANTIC_ATTRIBUTE_SENTRY_SEGMENT_ID = "sentry.segment.id", SEMANTIC_ATTRIBUTE_SENTRY_SDK_NAME = "sentry.sdk.name", SEMANTIC_ATTRIBUTE_SENTRY_SDK_VERSION = "sentry.sdk.version", SEMANTIC_ATTRIBUTE_USER_ID = "user.id", SEMANTIC_ATTRIBUTE_USER_EMAIL = "user.email", SEMANTIC_ATTRIBUTE_USER_IP_ADDRESS = "user.ip_address", SEMANTIC_ATTRIBUTE_USER_USERNAME = "user.name", SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME = "sentry.custom_span_name", SEMANTIC_ATTRIBUTE_PROFILE_ID = "sentry.profile_id", SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME = "sentry.exclusive_time", SEMANTIC_ATTRIBUTE_CACHE_HIT = "cache.hit", SEMANTIC_ATTRIBUTE_CACHE_KEY = "cache.key", SEMANTIC_ATTRIBUTE_CACHE_ITEM_SIZE = "cache.item_size", SEMANTIC_ATTRIBUTE_HTTP_REQUEST_METHOD = "http.request.method", SEMANTIC_ATTRIBUTE_URL_FULL = "url.full", GEN_AI_CONVERSATION_ID_ATTRIBUTE = "gen_ai.conversation.id";
|
|
4537
4550
|
var init_semanticAttributes = () => {};
|
|
4538
4551
|
|
|
4539
|
-
// node_modules/.bun/@sentry+core@10.
|
|
4552
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/utils/baggage.js
|
|
4540
4553
|
function baggageHeaderToDynamicSamplingContext(baggageHeader) {
|
|
4541
4554
|
const baggageObject = parseBaggageHeader(baggageHeader);
|
|
4542
4555
|
if (!baggageObject) {
|
|
@@ -4626,7 +4639,7 @@ var init_baggage = __esm(() => {
|
|
|
4626
4639
|
init_is();
|
|
4627
4640
|
});
|
|
4628
4641
|
|
|
4629
|
-
// node_modules/.bun/@sentry+core@10.
|
|
4642
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/utils/handleCallbackErrors.js
|
|
4630
4643
|
function handleCallbackErrors(fn, onError, onFinally = () => {}, onSuccess = () => {}) {
|
|
4631
4644
|
let maybePromiseResult;
|
|
4632
4645
|
try {
|
|
@@ -4657,7 +4670,7 @@ var init_handleCallbackErrors = __esm(() => {
|
|
|
4657
4670
|
init_is();
|
|
4658
4671
|
});
|
|
4659
4672
|
|
|
4660
|
-
// node_modules/.bun/@sentry+core@10.
|
|
4673
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/utils/hasSpansEnabled.js
|
|
4661
4674
|
function hasSpansEnabled(maybeOptions) {
|
|
4662
4675
|
if (typeof __SENTRY_TRACING__ === "boolean" && !__SENTRY_TRACING__) {
|
|
4663
4676
|
return false;
|
|
@@ -4669,7 +4682,7 @@ var init_hasSpansEnabled = __esm(() => {
|
|
|
4669
4682
|
init_currentScopes();
|
|
4670
4683
|
});
|
|
4671
4684
|
|
|
4672
|
-
// node_modules/.bun/@sentry+core@10.
|
|
4685
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/utils/should-ignore-span.js
|
|
4673
4686
|
function logIgnoredSpan(droppedSpan) {
|
|
4674
4687
|
debug.log(`Ignoring span ${droppedSpan.op} - ${droppedSpan.description} because it matches \`ignoreSpans\`.`);
|
|
4675
4688
|
}
|
|
@@ -4718,13 +4731,13 @@ var init_should_ignore_span = __esm(() => {
|
|
|
4718
4731
|
init_string();
|
|
4719
4732
|
});
|
|
4720
4733
|
|
|
4721
|
-
// node_modules/.bun/@sentry+core@10.
|
|
4734
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/tracing/spans/hasSpanStreamingEnabled.js
|
|
4722
4735
|
function hasSpanStreamingEnabled(client) {
|
|
4723
4736
|
return client.getOptions().traceLifecycle === "stream";
|
|
4724
4737
|
}
|
|
4725
4738
|
var init_hasSpanStreamingEnabled = () => {};
|
|
4726
4739
|
|
|
4727
|
-
// node_modules/.bun/@sentry+core@10.
|
|
4740
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/utils/parseSampleRate.js
|
|
4728
4741
|
function parseSampleRate(sampleRate) {
|
|
4729
4742
|
if (typeof sampleRate === "boolean") {
|
|
4730
4743
|
return Number(sampleRate);
|
|
@@ -4737,7 +4750,7 @@ function parseSampleRate(sampleRate) {
|
|
|
4737
4750
|
}
|
|
4738
4751
|
var init_parseSampleRate = () => {};
|
|
4739
4752
|
|
|
4740
|
-
// node_modules/.bun/@sentry+core@10.
|
|
4753
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/attributes.js
|
|
4741
4754
|
function isAttributeObject(maybeObj) {
|
|
4742
4755
|
return typeof maybeObj === "object" && maybeObj != null && !Array.isArray(maybeObj) && Object.keys(maybeObj).includes("value");
|
|
4743
4756
|
}
|
|
@@ -4811,7 +4824,7 @@ var init_attributes = __esm(() => {
|
|
|
4811
4824
|
init_is();
|
|
4812
4825
|
});
|
|
4813
4826
|
|
|
4814
|
-
// node_modules/.bun/@sentry+core@10.
|
|
4827
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/utils/dsn.js
|
|
4815
4828
|
function isValidProtocol(protocol) {
|
|
4816
4829
|
return protocol === "http" || protocol === "https";
|
|
4817
4830
|
}
|
|
@@ -4914,7 +4927,7 @@ var init_dsn = __esm(() => {
|
|
|
4914
4927
|
DSN_REGEX = /^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;
|
|
4915
4928
|
});
|
|
4916
4929
|
|
|
4917
|
-
// node_modules/.bun/@sentry+core@10.
|
|
4930
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/utils/tracing.js
|
|
4918
4931
|
function extractTraceparentData(traceparent) {
|
|
4919
4932
|
if (!traceparent) {
|
|
4920
4933
|
return;
|
|
@@ -5005,7 +5018,7 @@ var init_tracing = __esm(() => {
|
|
|
5005
5018
|
TRACEPARENT_REGEXP = new RegExp("^[ \\t]*" + "([0-9a-f]{32})?" + "-?([0-9a-f]{16})?" + "-?([01])?" + "[ \\t]*$");
|
|
5006
5019
|
});
|
|
5007
5020
|
|
|
5008
|
-
// node_modules/.bun/@sentry+core@10.
|
|
5021
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/utils/spanUtils.js
|
|
5009
5022
|
function spanToTransactionTraceContext(span) {
|
|
5010
5023
|
const { spanId: span_id, traceId: trace_id } = span.spanContext();
|
|
5011
5024
|
const { data, op, parent_span_id, status, origin, links } = spanToJSON(span);
|
|
@@ -5238,11 +5251,11 @@ var init_spanUtils = __esm(() => {
|
|
|
5238
5251
|
getRootSpan = INTERNAL_getSegmentSpan;
|
|
5239
5252
|
});
|
|
5240
5253
|
|
|
5241
|
-
// node_modules/.bun/@sentry+core@10.
|
|
5254
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/constants.js
|
|
5242
5255
|
var DEFAULT_ENVIRONMENT = "production";
|
|
5243
5256
|
var init_constants = () => {};
|
|
5244
5257
|
|
|
5245
|
-
// node_modules/.bun/@sentry+core@10.
|
|
5258
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/tracing/dynamicSamplingContext.js
|
|
5246
5259
|
function freezeDscOnSpan(span, dsc) {
|
|
5247
5260
|
const spanWithMaybeDsc = span;
|
|
5248
5261
|
addNonEnumerableProperty(spanWithMaybeDsc, FROZEN_DSC_FIELD, dsc);
|
|
@@ -5316,7 +5329,7 @@ var init_dynamicSamplingContext = __esm(() => {
|
|
|
5316
5329
|
init_utils();
|
|
5317
5330
|
});
|
|
5318
5331
|
|
|
5319
|
-
// node_modules/.bun/@sentry+core@10.
|
|
5332
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/tracing/logSpans.js
|
|
5320
5333
|
function logSpanStart(span) {
|
|
5321
5334
|
if (!DEBUG_BUILD)
|
|
5322
5335
|
return;
|
|
@@ -5360,7 +5373,7 @@ var init_logSpans = __esm(() => {
|
|
|
5360
5373
|
init_spanUtils();
|
|
5361
5374
|
});
|
|
5362
5375
|
|
|
5363
|
-
// node_modules/.bun/@sentry+core@10.
|
|
5376
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/tracing/sampling.js
|
|
5364
5377
|
function sampleSpan(options, samplingContext, sampleRand) {
|
|
5365
5378
|
if (!hasSpansEnabled(options)) {
|
|
5366
5379
|
return [false];
|
|
@@ -5409,7 +5422,7 @@ var init_sampling = __esm(() => {
|
|
|
5409
5422
|
init_parseSampleRate();
|
|
5410
5423
|
});
|
|
5411
5424
|
|
|
5412
|
-
// node_modules/.bun/@sentry+core@10.
|
|
5425
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/tracing/sentryNonRecordingSpan.js
|
|
5413
5426
|
class SentryNonRecordingSpan {
|
|
5414
5427
|
constructor(spanContext = {}) {
|
|
5415
5428
|
this._traceId = spanContext.traceId || generateTraceId();
|
|
@@ -5455,13 +5468,13 @@ var init_sentryNonRecordingSpan = __esm(() => {
|
|
|
5455
5468
|
init_spanUtils();
|
|
5456
5469
|
});
|
|
5457
5470
|
|
|
5458
|
-
// node_modules/.bun/@sentry+core@10.
|
|
5471
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/tracing/spans/beforeSendSpan.js
|
|
5459
5472
|
function isStreamedBeforeSendSpanCallback(callback) {
|
|
5460
5473
|
return !!callback && typeof callback === "function" && "_streamed" in callback && !!callback._streamed;
|
|
5461
5474
|
}
|
|
5462
5475
|
var init_beforeSendSpan = () => {};
|
|
5463
5476
|
|
|
5464
|
-
// node_modules/.bun/@sentry+core@10.
|
|
5477
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/utils/normalize.js
|
|
5465
5478
|
function normalize(input, depth = 100, maxProperties = Infinity) {
|
|
5466
5479
|
try {
|
|
5467
5480
|
return visit("", input, depth, maxProperties);
|
|
@@ -5594,7 +5607,7 @@ var init_normalize = __esm(() => {
|
|
|
5594
5607
|
init_stacktrace();
|
|
5595
5608
|
});
|
|
5596
5609
|
|
|
5597
|
-
// node_modules/.bun/@sentry+core@10.
|
|
5610
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/utils/envelope.js
|
|
5598
5611
|
function createEnvelope(headers, items = []) {
|
|
5599
5612
|
return [headers, items];
|
|
5600
5613
|
}
|
|
@@ -5724,7 +5737,7 @@ var init_envelope = __esm(() => {
|
|
|
5724
5737
|
};
|
|
5725
5738
|
});
|
|
5726
5739
|
|
|
5727
|
-
// node_modules/.bun/@sentry+core@10.
|
|
5740
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/envelope.js
|
|
5728
5741
|
function _enhanceEventWithSdkInfo(event, newSdkInfo) {
|
|
5729
5742
|
if (!newSdkInfo) {
|
|
5730
5743
|
return event;
|
|
@@ -5807,7 +5820,7 @@ var init_envelope2 = __esm(() => {
|
|
|
5807
5820
|
init_spanUtils();
|
|
5808
5821
|
});
|
|
5809
5822
|
|
|
5810
|
-
// node_modules/.bun/@sentry+core@10.
|
|
5823
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/tracing/measurement.js
|
|
5811
5824
|
function timedEventsToMeasurements(events) {
|
|
5812
5825
|
if (!events || events.length === 0) {
|
|
5813
5826
|
return;
|
|
@@ -5827,7 +5840,7 @@ var init_measurement = __esm(() => {
|
|
|
5827
5840
|
init_semanticAttributes();
|
|
5828
5841
|
});
|
|
5829
5842
|
|
|
5830
|
-
// node_modules/.bun/@sentry+core@10.
|
|
5843
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/tracing/sentrySpan.js
|
|
5831
5844
|
class SentrySpan {
|
|
5832
5845
|
constructor(spanContext = {}) {
|
|
5833
5846
|
this._traceId = spanContext.traceId || generateTraceId();
|
|
@@ -6085,7 +6098,7 @@ var init_sentrySpan = __esm(() => {
|
|
|
6085
6098
|
init_utils();
|
|
6086
6099
|
});
|
|
6087
6100
|
|
|
6088
|
-
// node_modules/.bun/@sentry+core@10.
|
|
6101
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/tracing/trace.js
|
|
6089
6102
|
function startSpan(options, callback) {
|
|
6090
6103
|
const acs = getAcs();
|
|
6091
6104
|
if (acs.startSpan) {
|
|
@@ -6185,7 +6198,7 @@ function withActiveSpan(span, callback) {
|
|
|
6185
6198
|
return callback(scope);
|
|
6186
6199
|
});
|
|
6187
6200
|
}
|
|
6188
|
-
function
|
|
6201
|
+
function suppressTracing2(callback) {
|
|
6189
6202
|
const acs = getAcs();
|
|
6190
6203
|
if (acs.suppressTracing) {
|
|
6191
6204
|
return acs.suppressTracing(callback);
|
|
@@ -6291,8 +6304,8 @@ function _startRootSpan(spanArguments, scope, parentSampled) {
|
|
|
6291
6304
|
const finalParentSampled = mutableSpanSamplingData.parentSampled ?? parentSampled;
|
|
6292
6305
|
const finalAttributes = mutableSpanSamplingData.spanAttributes;
|
|
6293
6306
|
const currentPropagationContext = scope.getPropagationContext();
|
|
6294
|
-
const
|
|
6295
|
-
const [sampled, sampleRate, localSampleRateWasApplied] =
|
|
6307
|
+
const isTracingSuppressed2 = _isTracingSuppressed(scope);
|
|
6308
|
+
const [sampled, sampleRate, localSampleRateWasApplied] = isTracingSuppressed2 ? [false] : sampleSpan(options, {
|
|
6296
6309
|
name,
|
|
6297
6310
|
parentSampled: finalParentSampled,
|
|
6298
6311
|
attributes: finalAttributes,
|
|
@@ -6307,7 +6320,7 @@ function _startRootSpan(spanArguments, scope, parentSampled) {
|
|
|
6307
6320
|
},
|
|
6308
6321
|
sampled
|
|
6309
6322
|
});
|
|
6310
|
-
if (!sampled && client && !
|
|
6323
|
+
if (!sampled && client && !isTracingSuppressed2) {
|
|
6311
6324
|
DEBUG_BUILD && debug.log("[Tracing] Discarding root span because its trace was not chosen to be sampled.");
|
|
6312
6325
|
client.recordDroppedEvent("sample_rate", hasSpanStreamingEnabled(client) ? "span" : "transaction");
|
|
6313
6326
|
}
|
|
@@ -6318,8 +6331,8 @@ function _startRootSpan(spanArguments, scope, parentSampled) {
|
|
|
6318
6331
|
}
|
|
6319
6332
|
function _startChildSpan(parentSpan, scope, spanArguments) {
|
|
6320
6333
|
const { spanId, traceId } = parentSpan.spanContext();
|
|
6321
|
-
const
|
|
6322
|
-
const sampled =
|
|
6334
|
+
const isTracingSuppressed2 = _isTracingSuppressed(scope);
|
|
6335
|
+
const sampled = isTracingSuppressed2 ? false : spanIsSampled(parentSpan);
|
|
6323
6336
|
const childSpan = sampled ? new SentrySpan({
|
|
6324
6337
|
...spanArguments,
|
|
6325
6338
|
parentSpanId: spanId,
|
|
@@ -6335,7 +6348,7 @@ function _startChildSpan(parentSpan, scope, spanArguments) {
|
|
|
6335
6348
|
if (parentSpan instanceof SentryNonRecordingSpan && parentSpan.dropReason) {
|
|
6336
6349
|
childSpan.dropReason = parentSpan.dropReason;
|
|
6337
6350
|
client.recordDroppedEvent(parentSpan.dropReason, "span");
|
|
6338
|
-
} else if (!
|
|
6351
|
+
} else if (!isTracingSuppressed2) {
|
|
6339
6352
|
childSpan.dropReason = "sample_rate";
|
|
6340
6353
|
client.recordDroppedEvent("sample_rate", "span");
|
|
6341
6354
|
}
|
|
@@ -6410,7 +6423,7 @@ var init_trace = __esm(() => {
|
|
|
6410
6423
|
init_utils();
|
|
6411
6424
|
});
|
|
6412
6425
|
|
|
6413
|
-
// node_modules/.bun/@sentry+core@10.
|
|
6426
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/utils/syncpromise.js
|
|
6414
6427
|
function resolvedSyncPromise(value) {
|
|
6415
6428
|
return new SyncPromise((resolve) => {
|
|
6416
6429
|
resolve(value);
|
|
@@ -6536,7 +6549,7 @@ var init_syncpromise = __esm(() => {
|
|
|
6536
6549
|
init_is();
|
|
6537
6550
|
});
|
|
6538
6551
|
|
|
6539
|
-
// node_modules/.bun/@sentry+core@10.
|
|
6552
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/eventProcessors.js
|
|
6540
6553
|
function notifyEventProcessors(processors, event, hint, index = 0) {
|
|
6541
6554
|
try {
|
|
6542
6555
|
const result = _notifyEventProcessors(event, hint, processors, index);
|
|
@@ -6564,7 +6577,7 @@ var init_eventProcessors = __esm(() => {
|
|
|
6564
6577
|
init_syncpromise();
|
|
6565
6578
|
});
|
|
6566
6579
|
|
|
6567
|
-
// node_modules/.bun/@sentry+core@10.
|
|
6580
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/utils/debug-ids.js
|
|
6568
6581
|
function getFilenameToDebugIdMap(stackParser) {
|
|
6569
6582
|
const sentryDebugIdMap = GLOBAL_OBJ._sentryDebugIds;
|
|
6570
6583
|
const nativeDebugIdMap = GLOBAL_OBJ._debugIds;
|
|
@@ -6618,7 +6631,7 @@ var init_debug_ids = __esm(() => {
|
|
|
6618
6631
|
init_worldwide();
|
|
6619
6632
|
});
|
|
6620
6633
|
|
|
6621
|
-
// node_modules/.bun/@sentry+core@10.
|
|
6634
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/utils/scopeData.js
|
|
6622
6635
|
function applyScopeDataToEvent(event, data) {
|
|
6623
6636
|
const { fingerprint, span, breadcrumbs, sdkProcessingMetadata } = data;
|
|
6624
6637
|
applyDataToEvent(event, data);
|
|
@@ -6746,7 +6759,7 @@ var init_scopeData = __esm(() => {
|
|
|
6746
6759
|
init_spanUtils();
|
|
6747
6760
|
});
|
|
6748
6761
|
|
|
6749
|
-
// node_modules/.bun/@sentry+core@10.
|
|
6762
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/utils/prepareEvent.js
|
|
6750
6763
|
function prepareEvent(options, event, hint, scope, client, isolationScope) {
|
|
6751
6764
|
const { normalizeDepth = 3, normalizeMaxBreadth = 1000 } = options;
|
|
6752
6765
|
const prepared = {
|
|
@@ -6951,7 +6964,7 @@ var init_prepareEvent = __esm(() => {
|
|
|
6951
6964
|
];
|
|
6952
6965
|
});
|
|
6953
6966
|
|
|
6954
|
-
// node_modules/.bun/@sentry+core@10.
|
|
6967
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/exports.js
|
|
6955
6968
|
function captureException(exception, hint) {
|
|
6956
6969
|
return getCurrentScope().captureException(exception, parseEventHintOrCaptureContext(hint));
|
|
6957
6970
|
}
|
|
@@ -7023,7 +7036,7 @@ var init_exports = __esm(() => {
|
|
|
7023
7036
|
init_worldwide();
|
|
7024
7037
|
});
|
|
7025
7038
|
|
|
7026
|
-
// node_modules/.bun/@sentry+core@10.
|
|
7039
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/checkin.js
|
|
7027
7040
|
function createCheckInEnvelope(checkIn, dynamicSamplingContext, metadata, tunnel, dsn) {
|
|
7028
7041
|
const headers = {
|
|
7029
7042
|
sent_at: new Date().toISOString()
|
|
@@ -7054,7 +7067,7 @@ var init_checkin = __esm(() => {
|
|
|
7054
7067
|
init_envelope();
|
|
7055
7068
|
});
|
|
7056
7069
|
|
|
7057
|
-
// node_modules/.bun/@sentry+core@10.
|
|
7070
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/api.js
|
|
7058
7071
|
function getBaseApiEndpoint(dsn) {
|
|
7059
7072
|
const protocol = dsn.protocol ? `${dsn.protocol}:` : "";
|
|
7060
7073
|
const port = dsn.port ? `:${dsn.port}` : "";
|
|
@@ -7081,7 +7094,7 @@ function getEnvelopeEndpointWithUrlEncodedAuth(dsn, tunnel, sdkInfo) {
|
|
|
7081
7094
|
var SENTRY_API_VERSION = "7";
|
|
7082
7095
|
var init_api = () => {};
|
|
7083
7096
|
|
|
7084
|
-
// node_modules/.bun/@sentry+core@10.
|
|
7097
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/integration.js
|
|
7085
7098
|
function filterDuplicates(integrations) {
|
|
7086
7099
|
const integrationsByName = {};
|
|
7087
7100
|
integrations.forEach((currentInstance) => {
|
|
@@ -7168,7 +7181,7 @@ var init_integration = __esm(() => {
|
|
|
7168
7181
|
installedIntegrations = [];
|
|
7169
7182
|
});
|
|
7170
7183
|
|
|
7171
|
-
// node_modules/.bun/@sentry+core@10.
|
|
7184
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/utils/trace-info.js
|
|
7172
7185
|
function _getTraceInfoFromScope(client, scope) {
|
|
7173
7186
|
if (!scope) {
|
|
7174
7187
|
return [undefined, undefined];
|
|
@@ -7186,7 +7199,7 @@ var init_trace_info = __esm(() => {
|
|
|
7186
7199
|
init_spanUtils();
|
|
7187
7200
|
});
|
|
7188
7201
|
|
|
7189
|
-
// node_modules/.bun/@sentry+core@10.
|
|
7202
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/logs/envelope.js
|
|
7190
7203
|
function createLogContainerEnvelopeItem(items) {
|
|
7191
7204
|
return [
|
|
7192
7205
|
{
|
|
@@ -7217,7 +7230,7 @@ var init_envelope3 = __esm(() => {
|
|
|
7217
7230
|
init_envelope();
|
|
7218
7231
|
});
|
|
7219
7232
|
|
|
7220
|
-
// node_modules/.bun/@sentry+core@10.
|
|
7233
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/logs/internal.js
|
|
7221
7234
|
function _INTERNAL_flushLogsBuffer(client, maybeLogBuffer) {
|
|
7222
7235
|
const logBuffer = maybeLogBuffer ?? _INTERNAL_getLogBuffer(client) ?? [];
|
|
7223
7236
|
if (logBuffer.length === 0) {
|
|
@@ -7240,7 +7253,7 @@ var init_internal = __esm(() => {
|
|
|
7240
7253
|
init_envelope3();
|
|
7241
7254
|
});
|
|
7242
7255
|
|
|
7243
|
-
// node_modules/.bun/@sentry+core@10.
|
|
7256
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/metrics/envelope.js
|
|
7244
7257
|
function createMetricContainerEnvelopeItem(items) {
|
|
7245
7258
|
return [
|
|
7246
7259
|
{
|
|
@@ -7271,7 +7284,7 @@ var init_envelope4 = __esm(() => {
|
|
|
7271
7284
|
init_envelope();
|
|
7272
7285
|
});
|
|
7273
7286
|
|
|
7274
|
-
// node_modules/.bun/@sentry+core@10.
|
|
7287
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/metrics/internal.js
|
|
7275
7288
|
function _INTERNAL_flushMetricsBuffer(client, maybeMetricBuffer) {
|
|
7276
7289
|
const metricBuffer = maybeMetricBuffer ?? _INTERNAL_getMetricBuffer(client) ?? [];
|
|
7277
7290
|
if (metricBuffer.length === 0) {
|
|
@@ -7294,7 +7307,7 @@ var init_internal2 = __esm(() => {
|
|
|
7294
7307
|
init_envelope4();
|
|
7295
7308
|
});
|
|
7296
7309
|
|
|
7297
|
-
// node_modules/.bun/@sentry+core@10.
|
|
7310
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/utils/timer.js
|
|
7298
7311
|
function safeUnref(timer) {
|
|
7299
7312
|
if (typeof timer === "object" && typeof timer.unref === "function") {
|
|
7300
7313
|
timer.unref();
|
|
@@ -7303,7 +7316,7 @@ function safeUnref(timer) {
|
|
|
7303
7316
|
}
|
|
7304
7317
|
var init_timer = () => {};
|
|
7305
7318
|
|
|
7306
|
-
// node_modules/.bun/@sentry+core@10.
|
|
7319
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/utils/promisebuffer.js
|
|
7307
7320
|
function makePromiseBuffer(limit = 100) {
|
|
7308
7321
|
const buffer = new Set;
|
|
7309
7322
|
function isReady() {
|
|
@@ -7350,7 +7363,7 @@ var init_promisebuffer = __esm(() => {
|
|
|
7350
7363
|
SENTRY_BUFFER_FULL_ERROR = Symbol.for("SentryBufferFullError");
|
|
7351
7364
|
});
|
|
7352
7365
|
|
|
7353
|
-
// node_modules/.bun/@sentry+core@10.
|
|
7366
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/utils/ratelimit.js
|
|
7354
7367
|
function parseRetryAfterHeader(header, now = safeDateNow()) {
|
|
7355
7368
|
const headerDelay = parseInt(`${header}`, 10);
|
|
7356
7369
|
if (!isNaN(headerDelay)) {
|
|
@@ -7406,7 +7419,7 @@ var init_ratelimit = __esm(() => {
|
|
|
7406
7419
|
DEFAULT_RETRY_AFTER = 60 * 1000;
|
|
7407
7420
|
});
|
|
7408
7421
|
|
|
7409
|
-
// node_modules/.bun/@sentry+core@10.
|
|
7422
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/transports/base.js
|
|
7410
7423
|
function createTransport(options, makeRequest, buffer = makePromiseBuffer(options.bufferSize || DEFAULT_TRANSPORT_BUFFER_SIZE)) {
|
|
7411
7424
|
let rateLimits = {};
|
|
7412
7425
|
const flush2 = (timeout) => buffer.drain(timeout);
|
|
@@ -7473,7 +7486,7 @@ var init_base = __esm(() => {
|
|
|
7473
7486
|
init_ratelimit();
|
|
7474
7487
|
});
|
|
7475
7488
|
|
|
7476
|
-
// node_modules/.bun/@sentry+core@10.
|
|
7489
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/utils/clientreport.js
|
|
7477
7490
|
function createClientReportEnvelope(discarded_events, dsn, timestamp) {
|
|
7478
7491
|
const clientReportItem = [
|
|
7479
7492
|
{ type: "client_report" },
|
|
@@ -7489,7 +7502,7 @@ var init_clientreport = __esm(() => {
|
|
|
7489
7502
|
init_time();
|
|
7490
7503
|
});
|
|
7491
7504
|
|
|
7492
|
-
// node_modules/.bun/@sentry+core@10.
|
|
7505
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/utils/eventUtils.js
|
|
7493
7506
|
function getPossibleEventMessages(event) {
|
|
7494
7507
|
const possibleMessages = [];
|
|
7495
7508
|
if (event.message) {
|
|
@@ -7508,7 +7521,7 @@ function getPossibleEventMessages(event) {
|
|
|
7508
7521
|
}
|
|
7509
7522
|
var init_eventUtils = () => {};
|
|
7510
7523
|
|
|
7511
|
-
// node_modules/.bun/@sentry+core@10.
|
|
7524
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/utils/transactionEvent.js
|
|
7512
7525
|
function convertTransactionEventToSpanJson(event) {
|
|
7513
7526
|
const { trace_id, parent_span_id, span_id, status, origin, data, op } = event.contexts?.trace ?? {};
|
|
7514
7527
|
return {
|
|
@@ -7556,7 +7569,7 @@ var init_transactionEvent = __esm(() => {
|
|
|
7556
7569
|
init_semanticAttributes();
|
|
7557
7570
|
});
|
|
7558
7571
|
|
|
7559
|
-
// node_modules/.bun/@sentry+core@10.
|
|
7572
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/client.js
|
|
7560
7573
|
function _makeInternalError(message) {
|
|
7561
7574
|
return {
|
|
7562
7575
|
message,
|
|
@@ -8162,7 +8175,7 @@ var init_client = __esm(() => {
|
|
|
8162
8175
|
DO_NOT_SEND_EVENT_SYMBOL = Symbol.for("SentryDoNotSendEventError");
|
|
8163
8176
|
});
|
|
8164
8177
|
|
|
8165
|
-
// node_modules/.bun/@sentry+core@10.
|
|
8178
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/instrument/handlers.js
|
|
8166
8179
|
function addHandler(type, handler) {
|
|
8167
8180
|
handlers[type] = handlers[type] || [];
|
|
8168
8181
|
handlers[type].push(handler);
|
|
@@ -8202,7 +8215,7 @@ var init_handlers = __esm(() => {
|
|
|
8202
8215
|
instrumented = {};
|
|
8203
8216
|
});
|
|
8204
8217
|
|
|
8205
|
-
// node_modules/.bun/@sentry+core@10.
|
|
8218
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/instrument/globalError.js
|
|
8206
8219
|
function addGlobalErrorInstrumentationHandler(handler) {
|
|
8207
8220
|
const type = "error";
|
|
8208
8221
|
addHandler(type, handler);
|
|
@@ -8232,7 +8245,7 @@ var init_globalError = __esm(() => {
|
|
|
8232
8245
|
init_handlers();
|
|
8233
8246
|
});
|
|
8234
8247
|
|
|
8235
|
-
// node_modules/.bun/@sentry+core@10.
|
|
8248
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/instrument/globalUnhandledRejection.js
|
|
8236
8249
|
function addGlobalUnhandledRejectionInstrumentationHandler(handler) {
|
|
8237
8250
|
const type = "unhandledrejection";
|
|
8238
8251
|
addHandler(type, handler);
|
|
@@ -8256,7 +8269,7 @@ var init_globalUnhandledRejection = __esm(() => {
|
|
|
8256
8269
|
init_handlers();
|
|
8257
8270
|
});
|
|
8258
8271
|
|
|
8259
|
-
// node_modules/.bun/@sentry+core@10.
|
|
8272
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/tracing/errors.js
|
|
8260
8273
|
function registerSpanErrorInstrumentation() {
|
|
8261
8274
|
if (errorsInstrumented) {
|
|
8262
8275
|
return;
|
|
@@ -8285,7 +8298,7 @@ var init_errors = __esm(() => {
|
|
|
8285
8298
|
init_spanstatus();
|
|
8286
8299
|
});
|
|
8287
8300
|
|
|
8288
|
-
// node_modules/.bun/@sentry+core@10.
|
|
8301
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/transports/userAgent.js
|
|
8289
8302
|
function addUserAgentToTransportHeaders(options) {
|
|
8290
8303
|
const sdkMetadata = options._metadata?.sdk;
|
|
8291
8304
|
const sdkUserAgent = sdkMetadata?.name && sdkMetadata?.version ? `${sdkMetadata?.name}/${sdkMetadata?.version}` : undefined;
|
|
@@ -8299,7 +8312,7 @@ function addUserAgentToTransportHeaders(options) {
|
|
|
8299
8312
|
}
|
|
8300
8313
|
var init_userAgent = () => {};
|
|
8301
8314
|
|
|
8302
|
-
// node_modules/.bun/@sentry+core@10.
|
|
8315
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/utils/eventbuilder.js
|
|
8303
8316
|
function parseStackFrames(stackParser, error2) {
|
|
8304
8317
|
return stackParser(error2.stack || "", 1);
|
|
8305
8318
|
}
|
|
@@ -8437,7 +8450,7 @@ var init_eventbuilder = __esm(() => {
|
|
|
8437
8450
|
init_object();
|
|
8438
8451
|
});
|
|
8439
8452
|
|
|
8440
|
-
// node_modules/.bun/@sentry+core@10.
|
|
8453
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/server-runtime-client.js
|
|
8441
8454
|
function setCurrentRequestSessionErroredOrCrashed(eventHint) {
|
|
8442
8455
|
const requestSession = getIsolationScope().getScopeData().sdkProcessingMetadata.requestSession;
|
|
8443
8456
|
if (requestSession) {
|
|
@@ -8569,7 +8582,7 @@ var init_server_runtime_client = __esm(() => {
|
|
|
8569
8582
|
};
|
|
8570
8583
|
});
|
|
8571
8584
|
|
|
8572
|
-
// node_modules/.bun/@sentry+core@10.
|
|
8585
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/utils/ai/providerSkip.js
|
|
8573
8586
|
function _INTERNAL_skipAiProviderWrapping(modules) {
|
|
8574
8587
|
modules.forEach((module) => {
|
|
8575
8588
|
SKIPPED_AI_PROVIDERS.add(module);
|
|
@@ -8590,7 +8603,7 @@ var init_providerSkip = __esm(() => {
|
|
|
8590
8603
|
SKIPPED_AI_PROVIDERS = new Set;
|
|
8591
8604
|
});
|
|
8592
8605
|
|
|
8593
|
-
// node_modules/.bun/@sentry+core@10.
|
|
8606
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/utils/envToBool.js
|
|
8594
8607
|
function envToBool(value, options) {
|
|
8595
8608
|
const normalized = String(value).toLowerCase();
|
|
8596
8609
|
if (FALSY_ENV_VALUES.has(normalized)) {
|
|
@@ -8607,7 +8620,7 @@ var init_envToBool = __esm(() => {
|
|
|
8607
8620
|
TRUTHY_ENV_VALUES = new Set(["true", "t", "y", "yes", "on", "1"]);
|
|
8608
8621
|
});
|
|
8609
8622
|
|
|
8610
|
-
// node_modules/.bun/@sentry+core@10.
|
|
8623
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/utils/url.js
|
|
8611
8624
|
function isURLObjectRelative(url) {
|
|
8612
8625
|
return "isRelative" in url;
|
|
8613
8626
|
}
|
|
@@ -8741,7 +8754,7 @@ var init_url = __esm(() => {
|
|
|
8741
8754
|
init_semanticAttributes();
|
|
8742
8755
|
});
|
|
8743
8756
|
|
|
8744
|
-
// node_modules/.bun/@sentry+core@10.
|
|
8757
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/utils/sdkMetadata.js
|
|
8745
8758
|
function applySdkMetadata(options, name, names = [name], source = "npm") {
|
|
8746
8759
|
const sdk = (options._metadata = options._metadata || {}).sdk = options._metadata.sdk || {};
|
|
8747
8760
|
if (!sdk.name) {
|
|
@@ -8757,7 +8770,7 @@ var init_sdkMetadata = __esm(() => {
|
|
|
8757
8770
|
init_version();
|
|
8758
8771
|
});
|
|
8759
8772
|
|
|
8760
|
-
// node_modules/.bun/@sentry+core@10.
|
|
8773
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/utils/traceData.js
|
|
8761
8774
|
function getTraceData(options = {}) {
|
|
8762
8775
|
const client = options.client || getClient();
|
|
8763
8776
|
if (!isEnabled2() || !client) {
|
|
@@ -8810,7 +8823,7 @@ var init_traceData = __esm(() => {
|
|
|
8810
8823
|
init_tracing();
|
|
8811
8824
|
});
|
|
8812
8825
|
|
|
8813
|
-
// node_modules/.bun/@sentry+core@10.
|
|
8826
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/utils/tracePropagationTargets.js
|
|
8814
8827
|
function shouldPropagateTraceForUrl(url, tracePropagationTargets, decisionMap) {
|
|
8815
8828
|
if (typeof url !== "string" || !tracePropagationTargets) {
|
|
8816
8829
|
return true;
|
|
@@ -8832,7 +8845,7 @@ var init_tracePropagationTargets = __esm(() => {
|
|
|
8832
8845
|
init_string();
|
|
8833
8846
|
});
|
|
8834
8847
|
|
|
8835
|
-
// node_modules/.bun/@sentry+core@10.
|
|
8848
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/utils/debounce.js
|
|
8836
8849
|
function debounce(func, wait, options) {
|
|
8837
8850
|
let callbackReturnValue;
|
|
8838
8851
|
let timerId;
|
|
@@ -8871,7 +8884,7 @@ function debounce(func, wait, options) {
|
|
|
8871
8884
|
}
|
|
8872
8885
|
var init_debounce = () => {};
|
|
8873
8886
|
|
|
8874
|
-
// node_modules/.bun/@sentry+core@10.
|
|
8887
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/utils/request.js
|
|
8875
8888
|
function headersToDict(reqHeaders) {
|
|
8876
8889
|
const headers = Object.create(null);
|
|
8877
8890
|
try {
|
|
@@ -9004,7 +9017,7 @@ var init_request = __esm(() => {
|
|
|
9004
9017
|
PII_HEADER_SNIPPETS = ["x-forwarded-", "-user"];
|
|
9005
9018
|
});
|
|
9006
9019
|
|
|
9007
|
-
// node_modules/.bun/@sentry+core@10.
|
|
9020
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/breadcrumbs.js
|
|
9008
9021
|
function addBreadcrumb(breadcrumb, hint) {
|
|
9009
9022
|
const client = getClient();
|
|
9010
9023
|
const isolationScope = getIsolationScope();
|
|
@@ -9030,7 +9043,7 @@ var init_breadcrumbs = __esm(() => {
|
|
|
9030
9043
|
init_time();
|
|
9031
9044
|
});
|
|
9032
9045
|
|
|
9033
|
-
// node_modules/.bun/@sentry+core@10.
|
|
9046
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/integrations/functiontostring.js
|
|
9034
9047
|
var originalFunctionToString, INTEGRATION_NAME = "FunctionToString", SETUP_CLIENTS, _functionToStringIntegration = () => {
|
|
9035
9048
|
return {
|
|
9036
9049
|
name: INTEGRATION_NAME,
|
|
@@ -9057,7 +9070,7 @@ var init_functiontostring = __esm(() => {
|
|
|
9057
9070
|
functionToStringIntegration = defineIntegration(_functionToStringIntegration);
|
|
9058
9071
|
});
|
|
9059
9072
|
|
|
9060
|
-
// node_modules/.bun/@sentry+core@10.
|
|
9073
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/integrations/eventFilters.js
|
|
9061
9074
|
function _mergeOptions(internalOptions = {}, clientOptions = {}) {
|
|
9062
9075
|
return {
|
|
9063
9076
|
allowUrls: [...internalOptions.allowUrls || [], ...clientOptions.allowUrls || []],
|
|
@@ -9201,7 +9214,7 @@ var init_eventFilters = __esm(() => {
|
|
|
9201
9214
|
});
|
|
9202
9215
|
});
|
|
9203
9216
|
|
|
9204
|
-
// node_modules/.bun/@sentry+core@10.
|
|
9217
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/utils/aggregate-errors.js
|
|
9205
9218
|
function applyAggregateErrorsToEvent(exceptionFromErrorImplementation, parser, key, limit, event, hint) {
|
|
9206
9219
|
if (!event.exception?.values || !hint || !isInstanceOf(hint.originalException, Error)) {
|
|
9207
9220
|
return;
|
|
@@ -9262,7 +9275,7 @@ var init_aggregate_errors = __esm(() => {
|
|
|
9262
9275
|
init_is();
|
|
9263
9276
|
});
|
|
9264
9277
|
|
|
9265
|
-
// node_modules/.bun/@sentry+core@10.
|
|
9278
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/integrations/linkederrors.js
|
|
9266
9279
|
var DEFAULT_KEY = "cause", DEFAULT_LIMIT = 5, INTEGRATION_NAME3 = "LinkedErrors", _linkedErrorsIntegration = (options = {}) => {
|
|
9267
9280
|
const limit = options.limit || DEFAULT_LIMIT;
|
|
9268
9281
|
const key = options.key || DEFAULT_KEY;
|
|
@@ -9281,7 +9294,7 @@ var init_linkederrors = __esm(() => {
|
|
|
9281
9294
|
linkedErrorsIntegration = defineIntegration(_linkedErrorsIntegration);
|
|
9282
9295
|
});
|
|
9283
9296
|
|
|
9284
|
-
// node_modules/.bun/@sentry+core@10.
|
|
9297
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/utils/cookie.js
|
|
9285
9298
|
function parseCookie(str) {
|
|
9286
9299
|
const obj = {};
|
|
9287
9300
|
let index = 0;
|
|
@@ -9315,7 +9328,7 @@ function parseCookie(str) {
|
|
|
9315
9328
|
}
|
|
9316
9329
|
var init_cookie = () => {};
|
|
9317
9330
|
|
|
9318
|
-
// node_modules/.bun/@sentry+core@10.
|
|
9331
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/vendor/getIpAddress.js
|
|
9319
9332
|
function getClientIPAddress(headers) {
|
|
9320
9333
|
const lowerCaseHeaders = {};
|
|
9321
9334
|
for (const key of Object.keys(headers)) {
|
|
@@ -9371,7 +9384,7 @@ var init_getIpAddress = __esm(() => {
|
|
|
9371
9384
|
];
|
|
9372
9385
|
});
|
|
9373
9386
|
|
|
9374
|
-
// node_modules/.bun/@sentry+core@10.
|
|
9387
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/integrations/requestdata.js
|
|
9375
9388
|
function addNormalizedRequestDataToEvent(event, req, additionalData, include) {
|
|
9376
9389
|
event.request = {
|
|
9377
9390
|
...event.request,
|
|
@@ -9452,7 +9465,7 @@ var init_requestdata = __esm(() => {
|
|
|
9452
9465
|
requestDataIntegration = defineIntegration(_requestDataIntegration);
|
|
9453
9466
|
});
|
|
9454
9467
|
|
|
9455
|
-
// node_modules/.bun/@sentry+core@10.
|
|
9468
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/instrument/console.js
|
|
9456
9469
|
function addConsoleInstrumentationHandler(handler) {
|
|
9457
9470
|
const type = "console";
|
|
9458
9471
|
addHandler(type, handler);
|
|
@@ -9484,13 +9497,13 @@ var init_console = __esm(() => {
|
|
|
9484
9497
|
init_handlers();
|
|
9485
9498
|
});
|
|
9486
9499
|
|
|
9487
|
-
// node_modules/.bun/@sentry+core@10.
|
|
9500
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/utils/severity.js
|
|
9488
9501
|
function severityLevelFromString(level) {
|
|
9489
9502
|
return level === "warn" ? "warning" : ["fatal", "error", "warning", "log", "info", "debug"].includes(level) ? level : "log";
|
|
9490
9503
|
}
|
|
9491
9504
|
var init_severity = () => {};
|
|
9492
9505
|
|
|
9493
|
-
// node_modules/.bun/@sentry+core@10.
|
|
9506
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/integrations/express/request-layer-store.js
|
|
9494
9507
|
var requestLayerStore, storeLayer = (req, layer) => {
|
|
9495
9508
|
const store = requestLayerStore.get(req);
|
|
9496
9509
|
if (!store) {
|
|
@@ -9510,11 +9523,11 @@ var init_request_layer_store = __esm(() => {
|
|
|
9510
9523
|
requestLayerStore = new WeakMap;
|
|
9511
9524
|
});
|
|
9512
9525
|
|
|
9513
|
-
// node_modules/.bun/@sentry+core@10.
|
|
9526
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/integrations/express/types.js
|
|
9514
9527
|
var ATTR_EXPRESS_NAME = "express.name", ATTR_HTTP_ROUTE = "http.route", ATTR_EXPRESS_TYPE = "express.type", ExpressLayerType_ROUTER = "router", ExpressLayerType_MIDDLEWARE = "middleware", ExpressLayerType_REQUEST_HANDLER = "request_handler";
|
|
9515
9528
|
var init_types = () => {};
|
|
9516
9529
|
|
|
9517
|
-
// node_modules/.bun/@sentry+core@10.
|
|
9530
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/integrations/express/utils.js
|
|
9518
9531
|
function isRoutePattern(route) {
|
|
9519
9532
|
return route.includes(":") || route.includes("*");
|
|
9520
9533
|
}
|
|
@@ -9608,7 +9621,7 @@ var init_utils2 = __esm(() => {
|
|
|
9608
9621
|
init_string();
|
|
9609
9622
|
});
|
|
9610
9623
|
|
|
9611
|
-
// node_modules/.bun/@sentry+core@10.
|
|
9624
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/integrations/express/set-sdk-processing-metadata.js
|
|
9612
9625
|
function setSDKProcessingMetadata(request) {
|
|
9613
9626
|
const sdkProcMeta = getIsolationScope()?.getScopeData()?.sdkProcessingMetadata;
|
|
9614
9627
|
if (!sdkProcMeta?.normalizedRequest) {
|
|
@@ -9621,8 +9634,8 @@ var init_set_sdk_processing_metadata = __esm(() => {
|
|
|
9621
9634
|
init_request();
|
|
9622
9635
|
});
|
|
9623
9636
|
|
|
9624
|
-
// node_modules/.bun/@sentry+core@10.
|
|
9625
|
-
function patchLayer(
|
|
9637
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/integrations/express/patch-layer.js
|
|
9638
|
+
function patchLayer(getOptions, maybeLayer, layerPath) {
|
|
9626
9639
|
if (!maybeLayer?.handle) {
|
|
9627
9640
|
return;
|
|
9628
9641
|
}
|
|
@@ -9635,6 +9648,7 @@ function patchLayer(options, maybeLayer, layerPath) {
|
|
|
9635
9648
|
return;
|
|
9636
9649
|
}
|
|
9637
9650
|
function layerHandlePatched(req, res, ...otherArgs) {
|
|
9651
|
+
const options = getOptions();
|
|
9638
9652
|
setSDKProcessingMetadata(req);
|
|
9639
9653
|
const parentSpan = getActiveSpan();
|
|
9640
9654
|
if (!parentSpan) {
|
|
@@ -9765,9 +9779,31 @@ var init_patch_layer = __esm(() => {
|
|
|
9765
9779
|
init_set_sdk_processing_metadata();
|
|
9766
9780
|
});
|
|
9767
9781
|
|
|
9768
|
-
// node_modules/.bun/@sentry+core@10.
|
|
9769
|
-
|
|
9770
|
-
|
|
9782
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/integrations/express/index.js
|
|
9783
|
+
function isLegacyOptions(options) {
|
|
9784
|
+
return !!options.express;
|
|
9785
|
+
}
|
|
9786
|
+
function deprecationWarning() {
|
|
9787
|
+
if (!didLegacyDeprecationWarning) {
|
|
9788
|
+
didLegacyDeprecationWarning = true;
|
|
9789
|
+
DEBUG_BUILD && debug.warn("[Express] `patchExpressModule(options)` is deprecated. Use `patchExpressModule(moduleExports, getOptions)` instead.");
|
|
9790
|
+
}
|
|
9791
|
+
}
|
|
9792
|
+
function patchExpressModule(optionsOrExports, maybeGetOptions) {
|
|
9793
|
+
let getOptions;
|
|
9794
|
+
let moduleExports;
|
|
9795
|
+
if (!maybeGetOptions && isLegacyOptions(optionsOrExports)) {
|
|
9796
|
+
const { express: express2, ...options } = optionsOrExports;
|
|
9797
|
+
moduleExports = express2;
|
|
9798
|
+
getOptions = () => options;
|
|
9799
|
+
deprecationWarning();
|
|
9800
|
+
} else if (typeof maybeGetOptions !== "function") {
|
|
9801
|
+
throw new TypeError("`patchExpressModule(moduleExports, getOptions)` requires a `getOptions` callback");
|
|
9802
|
+
} else {
|
|
9803
|
+
getOptions = maybeGetOptions;
|
|
9804
|
+
moduleExports = optionsOrExports;
|
|
9805
|
+
}
|
|
9806
|
+
const express = getExpressExport(moduleExports);
|
|
9771
9807
|
const routerProto = isExpressWithRouterPrototype(express) ? express.Router.prototype : isExpressWithoutRouterPrototype(express) ? express.Router : undefined;
|
|
9772
9808
|
if (!routerProto) {
|
|
9773
9809
|
throw new TypeError("no valid Express route function to instrument");
|
|
@@ -9777,7 +9813,7 @@ var getExpressExport = (express) => hasDefaultProp(express) ? express.default :
|
|
|
9777
9813
|
wrapMethod(routerProto, "route", function routeTrace(...args) {
|
|
9778
9814
|
const route = originalRouteMethod.apply(this, args);
|
|
9779
9815
|
const layer = this.stack[this.stack.length - 1];
|
|
9780
|
-
patchLayer(
|
|
9816
|
+
patchLayer(getOptions, layer, getLayerPath(args));
|
|
9781
9817
|
return route;
|
|
9782
9818
|
});
|
|
9783
9819
|
} catch (e) {
|
|
@@ -9791,7 +9827,7 @@ var getExpressExport = (express) => hasDefaultProp(express) ? express.default :
|
|
|
9791
9827
|
if (!layer) {
|
|
9792
9828
|
return route;
|
|
9793
9829
|
}
|
|
9794
|
-
patchLayer(
|
|
9830
|
+
patchLayer(getOptions, layer, getLayerPath(args));
|
|
9795
9831
|
return route;
|
|
9796
9832
|
});
|
|
9797
9833
|
} catch (e) {
|
|
@@ -9806,7 +9842,7 @@ var getExpressExport = (express) => hasDefaultProp(express) ? express.default :
|
|
|
9806
9842
|
if (router) {
|
|
9807
9843
|
const layer = router.stack[router.stack.length - 1];
|
|
9808
9844
|
if (layer) {
|
|
9809
|
-
patchLayer(
|
|
9845
|
+
patchLayer(getOptions, layer, getLayerPath(args));
|
|
9810
9846
|
}
|
|
9811
9847
|
}
|
|
9812
9848
|
return route;
|
|
@@ -9815,7 +9851,8 @@ var getExpressExport = (express) => hasDefaultProp(express) ? express.default :
|
|
|
9815
9851
|
DEBUG_BUILD && debug.error("Failed to patch express application.use method:", e);
|
|
9816
9852
|
}
|
|
9817
9853
|
return express;
|
|
9818
|
-
}
|
|
9854
|
+
}
|
|
9855
|
+
var getExpressExport = (express) => hasDefaultProp(express) ? express.default : express, didLegacyDeprecationWarning = false;
|
|
9819
9856
|
var init_express = __esm(() => {
|
|
9820
9857
|
init_debug_logger();
|
|
9821
9858
|
init_debug_build();
|
|
@@ -9824,7 +9861,7 @@ var init_express = __esm(() => {
|
|
|
9824
9861
|
init_patch_layer();
|
|
9825
9862
|
});
|
|
9826
9863
|
|
|
9827
|
-
// node_modules/.bun/@sentry+core@10.
|
|
9864
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/utils/path.js
|
|
9828
9865
|
function splitPath(filename) {
|
|
9829
9866
|
const truncated = filename.length > 1024 ? `<truncated>${filename.slice(-1024)}` : filename;
|
|
9830
9867
|
const parts = splitPathRe.exec(truncated);
|
|
@@ -9847,7 +9884,7 @@ var init_path = __esm(() => {
|
|
|
9847
9884
|
splitPathRe = /^(\S+:\\|\/?)([\s\S]*?)((?:\.{1,2}|[^/\\]+?|)(\.[^./\\]*|))(?:[/\\]*)$/;
|
|
9848
9885
|
});
|
|
9849
9886
|
|
|
9850
|
-
// node_modules/.bun/@sentry+core@10.
|
|
9887
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/integrations/postgresjs.js
|
|
9851
9888
|
function instrumentPostgresJsSql(sql, options) {
|
|
9852
9889
|
if (!sql || typeof sql !== "function") {
|
|
9853
9890
|
DEBUG_BUILD && debug.warn("instrumentPostgresJsSql: provided value is not a valid postgres.js sql instance");
|
|
@@ -10071,7 +10108,7 @@ var init_postgresjs = __esm(() => {
|
|
|
10071
10108
|
QUERY_FROM_INSTRUMENTED_SQL = Symbol.for("sentry.query.from.instrumented.sql");
|
|
10072
10109
|
});
|
|
10073
10110
|
|
|
10074
|
-
// node_modules/.bun/@sentry+core@10.
|
|
10111
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/integrations/console.js
|
|
10075
10112
|
function addConsoleBreadcrumb(level, args) {
|
|
10076
10113
|
const breadcrumb = {
|
|
10077
10114
|
category: "console",
|
|
@@ -10125,7 +10162,7 @@ var init_console2 = __esm(() => {
|
|
|
10125
10162
|
});
|
|
10126
10163
|
});
|
|
10127
10164
|
|
|
10128
|
-
// node_modules/.bun/@sentry+core@10.
|
|
10165
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/integrations/conversationId.js
|
|
10129
10166
|
var INTEGRATION_NAME6 = "ConversationId", _conversationIdIntegration = () => {
|
|
10130
10167
|
return {
|
|
10131
10168
|
name: INTEGRATION_NAME6,
|
|
@@ -10135,6 +10172,10 @@ var INTEGRATION_NAME6 = "ConversationId", _conversationIdIntegration = () => {
|
|
|
10135
10172
|
const isolationScopeData = getIsolationScope().getScopeData();
|
|
10136
10173
|
const conversationId = scopeData.conversationId || isolationScopeData.conversationId;
|
|
10137
10174
|
if (conversationId) {
|
|
10175
|
+
const { op, data: attributes, description: name } = spanToJSON(span);
|
|
10176
|
+
if (!op?.startsWith("gen_ai.") && !attributes["ai.operationId"] && !name?.startsWith("ai.")) {
|
|
10177
|
+
return;
|
|
10178
|
+
}
|
|
10138
10179
|
span.setAttribute(GEN_AI_CONVERSATION_ID_ATTRIBUTE, conversationId);
|
|
10139
10180
|
}
|
|
10140
10181
|
});
|
|
@@ -10145,34 +10186,15 @@ var init_conversationId = __esm(() => {
|
|
|
10145
10186
|
init_currentScopes();
|
|
10146
10187
|
init_integration();
|
|
10147
10188
|
init_semanticAttributes();
|
|
10189
|
+
init_spanUtils();
|
|
10148
10190
|
conversationIdIntegration = defineIntegration(_conversationIdIntegration);
|
|
10149
10191
|
});
|
|
10150
10192
|
|
|
10151
|
-
// node_modules/.bun/@sentry+core@10.
|
|
10152
|
-
var GEN_AI_PROMPT_ATTRIBUTE = "gen_ai.prompt", GEN_AI_SYSTEM_ATTRIBUTE = "gen_ai.system", GEN_AI_REQUEST_MODEL_ATTRIBUTE = "gen_ai.request.model", GEN_AI_REQUEST_STREAM_ATTRIBUTE = "gen_ai.request.stream", GEN_AI_REQUEST_TEMPERATURE_ATTRIBUTE = "gen_ai.request.temperature", GEN_AI_REQUEST_MAX_TOKENS_ATTRIBUTE = "gen_ai.request.max_tokens", GEN_AI_REQUEST_FREQUENCY_PENALTY_ATTRIBUTE = "gen_ai.request.frequency_penalty", GEN_AI_REQUEST_PRESENCE_PENALTY_ATTRIBUTE = "gen_ai.request.presence_penalty", GEN_AI_REQUEST_TOP_P_ATTRIBUTE = "gen_ai.request.top_p", GEN_AI_REQUEST_TOP_K_ATTRIBUTE = "gen_ai.request.top_k", GEN_AI_REQUEST_ENCODING_FORMAT_ATTRIBUTE = "gen_ai.request.encoding_format", GEN_AI_REQUEST_DIMENSIONS_ATTRIBUTE = "gen_ai.request.dimensions", GEN_AI_RESPONSE_FINISH_REASONS_ATTRIBUTE = "gen_ai.response.finish_reasons", GEN_AI_RESPONSE_MODEL_ATTRIBUTE = "gen_ai.response.model", GEN_AI_RESPONSE_ID_ATTRIBUTE = "gen_ai.response.id", GEN_AI_RESPONSE_STOP_REASON_ATTRIBUTE = "gen_ai.response.stop_reason", GEN_AI_USAGE_INPUT_TOKENS_ATTRIBUTE = "gen_ai.usage.input_tokens", GEN_AI_USAGE_OUTPUT_TOKENS_ATTRIBUTE = "gen_ai.usage.output_tokens", GEN_AI_USAGE_TOTAL_TOKENS_ATTRIBUTE = "gen_ai.usage.total_tokens", GEN_AI_OPERATION_NAME_ATTRIBUTE = "gen_ai.operation.name", GEN_AI_INPUT_MESSAGES_ORIGINAL_LENGTH_ATTRIBUTE = "sentry.sdk_meta.gen_ai.input.messages.original_length", GEN_AI_INPUT_MESSAGES_ATTRIBUTE = "gen_ai.input.messages", GEN_AI_OUTPUT_MESSAGES_ATTRIBUTE = "gen_ai.output.messages", GEN_AI_SYSTEM_INSTRUCTIONS_ATTRIBUTE = "gen_ai.system_instructions", GEN_AI_RESPONSE_TEXT_ATTRIBUTE = "gen_ai.response.text", GEN_AI_REQUEST_AVAILABLE_TOOLS_ATTRIBUTE = "gen_ai.request.available_tools", GEN_AI_RESPONSE_STREAMING_ATTRIBUTE = "gen_ai.response.streaming", GEN_AI_RESPONSE_TOOL_CALLS_ATTRIBUTE = "gen_ai.response.tool_calls", GEN_AI_AGENT_NAME_ATTRIBUTE = "gen_ai.agent.name", GEN_AI_PIPELINE_NAME_ATTRIBUTE = "gen_ai.pipeline.name", GEN_AI_CONVERSATION_ID_ATTRIBUTE2 = "gen_ai.conversation.id", GEN_AI_USAGE_CACHE_CREATION_INPUT_TOKENS_ATTRIBUTE = "gen_ai.usage.cache_creation_input_tokens", GEN_AI_USAGE_CACHE_READ_INPUT_TOKENS_ATTRIBUTE = "gen_ai.usage.cache_read_input_tokens", GEN_AI_USAGE_INPUT_TOKENS_CACHE_WRITE_ATTRIBUTE = "gen_ai.usage.input_tokens.cache_write", GEN_AI_USAGE_INPUT_TOKENS_CACHED_ATTRIBUTE = "gen_ai.usage.input_tokens.cached", GEN_AI_INVOKE_AGENT_OPERATION_ATTRIBUTE = "gen_ai.invoke_agent",
|
|
10193
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/tracing/ai/gen-ai-attributes.js
|
|
10194
|
+
var GEN_AI_PROMPT_ATTRIBUTE = "gen_ai.prompt", GEN_AI_SYSTEM_ATTRIBUTE = "gen_ai.system", GEN_AI_REQUEST_MODEL_ATTRIBUTE = "gen_ai.request.model", GEN_AI_REQUEST_STREAM_ATTRIBUTE = "gen_ai.request.stream", GEN_AI_REQUEST_TEMPERATURE_ATTRIBUTE = "gen_ai.request.temperature", GEN_AI_REQUEST_MAX_TOKENS_ATTRIBUTE = "gen_ai.request.max_tokens", GEN_AI_REQUEST_FREQUENCY_PENALTY_ATTRIBUTE = "gen_ai.request.frequency_penalty", GEN_AI_REQUEST_PRESENCE_PENALTY_ATTRIBUTE = "gen_ai.request.presence_penalty", GEN_AI_REQUEST_TOP_P_ATTRIBUTE = "gen_ai.request.top_p", GEN_AI_REQUEST_TOP_K_ATTRIBUTE = "gen_ai.request.top_k", GEN_AI_REQUEST_ENCODING_FORMAT_ATTRIBUTE = "gen_ai.request.encoding_format", GEN_AI_REQUEST_DIMENSIONS_ATTRIBUTE = "gen_ai.request.dimensions", GEN_AI_RESPONSE_FINISH_REASONS_ATTRIBUTE = "gen_ai.response.finish_reasons", GEN_AI_RESPONSE_MODEL_ATTRIBUTE = "gen_ai.response.model", GEN_AI_RESPONSE_ID_ATTRIBUTE = "gen_ai.response.id", GEN_AI_RESPONSE_STOP_REASON_ATTRIBUTE = "gen_ai.response.stop_reason", GEN_AI_USAGE_INPUT_TOKENS_ATTRIBUTE = "gen_ai.usage.input_tokens", GEN_AI_USAGE_OUTPUT_TOKENS_ATTRIBUTE = "gen_ai.usage.output_tokens", GEN_AI_USAGE_TOTAL_TOKENS_ATTRIBUTE = "gen_ai.usage.total_tokens", GEN_AI_OPERATION_NAME_ATTRIBUTE = "gen_ai.operation.name", GEN_AI_INPUT_MESSAGES_ORIGINAL_LENGTH_ATTRIBUTE = "sentry.sdk_meta.gen_ai.input.messages.original_length", GEN_AI_INPUT_MESSAGES_ATTRIBUTE = "gen_ai.input.messages", GEN_AI_OUTPUT_MESSAGES_ATTRIBUTE = "gen_ai.output.messages", GEN_AI_SYSTEM_INSTRUCTIONS_ATTRIBUTE = "gen_ai.system_instructions", GEN_AI_RESPONSE_TEXT_ATTRIBUTE = "gen_ai.response.text", GEN_AI_REQUEST_AVAILABLE_TOOLS_ATTRIBUTE = "gen_ai.request.available_tools", GEN_AI_RESPONSE_STREAMING_ATTRIBUTE = "gen_ai.response.streaming", GEN_AI_RESPONSE_TOOL_CALLS_ATTRIBUTE = "gen_ai.response.tool_calls", GEN_AI_AGENT_NAME_ATTRIBUTE = "gen_ai.agent.name", GEN_AI_PIPELINE_NAME_ATTRIBUTE = "gen_ai.pipeline.name", GEN_AI_CONVERSATION_ID_ATTRIBUTE2 = "gen_ai.conversation.id", GEN_AI_USAGE_CACHE_CREATION_INPUT_TOKENS_ATTRIBUTE = "gen_ai.usage.cache_creation_input_tokens", GEN_AI_USAGE_CACHE_READ_INPUT_TOKENS_ATTRIBUTE = "gen_ai.usage.cache_read_input_tokens", GEN_AI_USAGE_INPUT_TOKENS_CACHE_WRITE_ATTRIBUTE = "gen_ai.usage.input_tokens.cache_write", GEN_AI_USAGE_INPUT_TOKENS_CACHED_ATTRIBUTE = "gen_ai.usage.input_tokens.cached", GEN_AI_INVOKE_AGENT_OPERATION_ATTRIBUTE = "gen_ai.invoke_agent", GEN_AI_EMBEDDINGS_INPUT_ATTRIBUTE = "gen_ai.embeddings.input", GEN_AI_EMBEDDINGS_OPERATION_ATTRIBUTE = "gen_ai.embeddings", GEN_AI_TOOL_NAME_ATTRIBUTE = "gen_ai.tool.name", GEN_AI_TOOL_CALL_ID_ATTRIBUTE = "gen_ai.tool.call.id", GEN_AI_TOOL_TYPE_ATTRIBUTE = "gen_ai.tool.type", GEN_AI_TOOL_INPUT_ATTRIBUTE = "gen_ai.tool.input", GEN_AI_TOOL_OUTPUT_ATTRIBUTE = "gen_ai.tool.output", GEN_AI_TOOL_DESCRIPTION_ATTRIBUTE = "gen_ai.tool.description";
|
|
10153
10195
|
var init_gen_ai_attributes = () => {};
|
|
10154
10196
|
|
|
10155
|
-
// node_modules/.bun/@sentry+core@10.
|
|
10156
|
-
var toolCallSpanContextMap, INVOKE_AGENT_OPS, GENERATE_CONTENT_OPS, EMBEDDINGS_OPS, RERANK_OPS, DO_SPAN_NAME_PREFIX;
|
|
10157
|
-
var init_constants2 = __esm(() => {
|
|
10158
|
-
toolCallSpanContextMap = new Map;
|
|
10159
|
-
INVOKE_AGENT_OPS = new Set(["ai.generateText", "ai.streamText", "ai.generateObject", "ai.streamObject"]);
|
|
10160
|
-
GENERATE_CONTENT_OPS = new Set([
|
|
10161
|
-
"ai.generateText.doGenerate",
|
|
10162
|
-
"ai.streamText.doStream",
|
|
10163
|
-
"ai.generateObject.doGenerate",
|
|
10164
|
-
"ai.streamObject.doStream"
|
|
10165
|
-
]);
|
|
10166
|
-
EMBEDDINGS_OPS = new Set(["ai.embed.doEmbed", "ai.embedMany.doEmbed"]);
|
|
10167
|
-
RERANK_OPS = new Set(["ai.rerank.doRerank"]);
|
|
10168
|
-
DO_SPAN_NAME_PREFIX = {
|
|
10169
|
-
"ai.embed.doEmbed": "embeddings",
|
|
10170
|
-
"ai.embedMany.doEmbed": "embeddings",
|
|
10171
|
-
"ai.rerank.doRerank": "rerank"
|
|
10172
|
-
};
|
|
10173
|
-
});
|
|
10174
|
-
|
|
10175
|
-
// node_modules/.bun/@sentry+core@10.48.0/node_modules/@sentry/core/build/esm/tracing/ai/mediaStripping.js
|
|
10197
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/tracing/ai/mediaStripping.js
|
|
10176
10198
|
function isContentMedia(part) {
|
|
10177
10199
|
if (!part || typeof part !== "object")
|
|
10178
10200
|
return false;
|
|
@@ -10249,7 +10271,7 @@ var init_mediaStripping = __esm(() => {
|
|
|
10249
10271
|
MEDIA_FIELDS = ["image_url", "data", "content", "b64_json", "result", "uri", "image"];
|
|
10250
10272
|
});
|
|
10251
10273
|
|
|
10252
|
-
// node_modules/.bun/@sentry+core@10.
|
|
10274
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/tracing/ai/messageTruncation.js
|
|
10253
10275
|
function truncateTextByBytes(text, maxBytes) {
|
|
10254
10276
|
if (utf8Bytes(text) <= maxBytes) {
|
|
10255
10277
|
return text;
|
|
@@ -10425,7 +10447,7 @@ var init_messageTruncation = __esm(() => {
|
|
|
10425
10447
|
init_mediaStripping();
|
|
10426
10448
|
});
|
|
10427
10449
|
|
|
10428
|
-
// node_modules/.bun/@sentry+core@10.
|
|
10450
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/tracing/ai/utils.js
|
|
10429
10451
|
function resolveAIRecordingOptions(options) {
|
|
10430
10452
|
const sendDefaultPii = Boolean(getClient()?.getOptions().sendDefaultPii);
|
|
10431
10453
|
return {
|
|
@@ -10434,6 +10456,10 @@ function resolveAIRecordingOptions(options) {
|
|
|
10434
10456
|
recordOutputs: options?.recordOutputs ?? sendDefaultPii
|
|
10435
10457
|
};
|
|
10436
10458
|
}
|
|
10459
|
+
function shouldEnableTruncation(enableTruncation) {
|
|
10460
|
+
const client = getClient();
|
|
10461
|
+
return enableTruncation ?? !(client && hasSpanStreamingEnabled(client));
|
|
10462
|
+
}
|
|
10437
10463
|
function buildMethodPath(currentPath, prop) {
|
|
10438
10464
|
return currentPath ? `${currentPath}.${prop}` : prop;
|
|
10439
10465
|
}
|
|
@@ -10487,6 +10513,12 @@ function endStreamSpan(span, state, recordOutputs) {
|
|
|
10487
10513
|
span.setAttributes(attrs);
|
|
10488
10514
|
span.end();
|
|
10489
10515
|
}
|
|
10516
|
+
function getJsonString(value) {
|
|
10517
|
+
if (typeof value === "string") {
|
|
10518
|
+
return value;
|
|
10519
|
+
}
|
|
10520
|
+
return JSON.stringify(value);
|
|
10521
|
+
}
|
|
10490
10522
|
function getTruncatedJsonString(value) {
|
|
10491
10523
|
if (typeof value === "string") {
|
|
10492
10524
|
return truncateGenAiStringInput(value);
|
|
@@ -10556,16 +10588,37 @@ function wrapPromiseWithMethods(originalPromiseLike, instrumentedPromise, mechan
|
|
|
10556
10588
|
var init_utils3 = __esm(() => {
|
|
10557
10589
|
init_exports();
|
|
10558
10590
|
init_currentScopes();
|
|
10591
|
+
init_hasSpanStreamingEnabled();
|
|
10559
10592
|
init_is();
|
|
10560
10593
|
init_gen_ai_attributes();
|
|
10561
10594
|
init_messageTruncation();
|
|
10562
10595
|
});
|
|
10563
10596
|
|
|
10564
|
-
// node_modules/.bun/@sentry+core@10.
|
|
10597
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/tracing/vercel-ai/constants.js
|
|
10598
|
+
var toolCallSpanContextMap, SPAN_TO_OPERATION_NAME;
|
|
10599
|
+
var init_constants2 = __esm(() => {
|
|
10600
|
+
toolCallSpanContextMap = new Map;
|
|
10601
|
+
SPAN_TO_OPERATION_NAME = new Map([
|
|
10602
|
+
["ai.generateText", "invoke_agent"],
|
|
10603
|
+
["ai.streamText", "invoke_agent"],
|
|
10604
|
+
["ai.generateObject", "invoke_agent"],
|
|
10605
|
+
["ai.streamObject", "invoke_agent"],
|
|
10606
|
+
["ai.generateText.doGenerate", "generate_content"],
|
|
10607
|
+
["ai.streamText.doStream", "generate_content"],
|
|
10608
|
+
["ai.generateObject.doGenerate", "generate_content"],
|
|
10609
|
+
["ai.streamObject.doStream", "generate_content"],
|
|
10610
|
+
["ai.embed.doEmbed", "embeddings"],
|
|
10611
|
+
["ai.embedMany.doEmbed", "embeddings"],
|
|
10612
|
+
["ai.rerank.doRerank", "rerank"],
|
|
10613
|
+
["ai.toolCall", "execute_tool"]
|
|
10614
|
+
]);
|
|
10615
|
+
});
|
|
10616
|
+
|
|
10617
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/tracing/vercel-ai/vercel-ai-attributes.js
|
|
10565
10618
|
var OPERATION_NAME_ATTRIBUTE = "operation.name", AI_OPERATION_ID_ATTRIBUTE = "ai.operationId", AI_PROMPT_ATTRIBUTE = "ai.prompt", AI_SCHEMA_ATTRIBUTE = "ai.schema", AI_RESPONSE_OBJECT_ATTRIBUTE = "ai.response.object", AI_VALUES_ATTRIBUTE = "ai.values", AI_RESPONSE_TEXT_ATTRIBUTE = "ai.response.text", AI_RESPONSE_TOOL_CALLS_ATTRIBUTE = "ai.response.toolCalls", AI_RESPONSE_FINISH_REASON_ATTRIBUTE = "ai.response.finishReason", AI_PROMPT_MESSAGES_ATTRIBUTE = "ai.prompt.messages", AI_PROMPT_TOOLS_ATTRIBUTE = "ai.prompt.tools", AI_MODEL_ID_ATTRIBUTE = "ai.model.id", AI_RESPONSE_PROVIDER_METADATA_ATTRIBUTE = "ai.response.providerMetadata", AI_USAGE_CACHED_INPUT_TOKENS_ATTRIBUTE = "ai.usage.cachedInputTokens", AI_TELEMETRY_FUNCTION_ID_ATTRIBUTE = "ai.telemetry.functionId", AI_USAGE_COMPLETION_TOKENS_ATTRIBUTE = "ai.usage.completionTokens", AI_USAGE_PROMPT_TOKENS_ATTRIBUTE = "ai.usage.promptTokens", AI_USAGE_TOKENS_ATTRIBUTE = "ai.usage.tokens", AI_TOOL_CALL_NAME_ATTRIBUTE = "ai.toolCall.name", AI_TOOL_CALL_ID_ATTRIBUTE = "ai.toolCall.id", AI_TOOL_CALL_ARGS_ATTRIBUTE = "ai.toolCall.args", AI_TOOL_CALL_RESULT_ATTRIBUTE = "ai.toolCall.result";
|
|
10566
10619
|
var init_vercel_ai_attributes = () => {};
|
|
10567
10620
|
|
|
10568
|
-
// node_modules/.bun/@sentry+core@10.
|
|
10621
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/tracing/vercel-ai/utils.js
|
|
10569
10622
|
function accumulateTokensForParent(span, tokenAccumulator) {
|
|
10570
10623
|
const parentSpanId = span.parent_span_id;
|
|
10571
10624
|
if (!parentSpanId) {
|
|
@@ -10689,7 +10742,7 @@ function convertUserInputToMessagesFormat(userInput) {
|
|
|
10689
10742
|
} catch {}
|
|
10690
10743
|
return [];
|
|
10691
10744
|
}
|
|
10692
|
-
function requestMessagesFromPrompt(span, attributes) {
|
|
10745
|
+
function requestMessagesFromPrompt(span, attributes, enableTruncation) {
|
|
10693
10746
|
if (typeof attributes[AI_PROMPT_ATTRIBUTE] === "string" && !attributes[GEN_AI_INPUT_MESSAGES_ATTRIBUTE] && !attributes[AI_PROMPT_MESSAGES_ATTRIBUTE]) {
|
|
10694
10747
|
const userInput = attributes[AI_PROMPT_ATTRIBUTE];
|
|
10695
10748
|
const messages = convertUserInputToMessagesFormat(userInput);
|
|
@@ -10699,10 +10752,10 @@ function requestMessagesFromPrompt(span, attributes) {
|
|
|
10699
10752
|
span.setAttribute(GEN_AI_SYSTEM_INSTRUCTIONS_ATTRIBUTE, systemInstructions);
|
|
10700
10753
|
}
|
|
10701
10754
|
const filteredLength = Array.isArray(filteredMessages) ? filteredMessages.length : 0;
|
|
10702
|
-
const
|
|
10755
|
+
const messagesJson = enableTruncation ? getTruncatedJsonString(filteredMessages) : getJsonString(filteredMessages);
|
|
10703
10756
|
span.setAttributes({
|
|
10704
|
-
[AI_PROMPT_ATTRIBUTE]:
|
|
10705
|
-
[GEN_AI_INPUT_MESSAGES_ATTRIBUTE]:
|
|
10757
|
+
[AI_PROMPT_ATTRIBUTE]: messagesJson,
|
|
10758
|
+
[GEN_AI_INPUT_MESSAGES_ATTRIBUTE]: messagesJson,
|
|
10706
10759
|
[GEN_AI_INPUT_MESSAGES_ORIGINAL_LENGTH_ATTRIBUTE]: filteredLength
|
|
10707
10760
|
});
|
|
10708
10761
|
}
|
|
@@ -10715,43 +10768,16 @@ function requestMessagesFromPrompt(span, attributes) {
|
|
|
10715
10768
|
span.setAttribute(GEN_AI_SYSTEM_INSTRUCTIONS_ATTRIBUTE, systemInstructions);
|
|
10716
10769
|
}
|
|
10717
10770
|
const filteredLength = Array.isArray(filteredMessages) ? filteredMessages.length : 0;
|
|
10718
|
-
const
|
|
10771
|
+
const messagesJson = enableTruncation ? getTruncatedJsonString(filteredMessages) : getJsonString(filteredMessages);
|
|
10719
10772
|
span.setAttributes({
|
|
10720
|
-
[AI_PROMPT_MESSAGES_ATTRIBUTE]:
|
|
10721
|
-
[GEN_AI_INPUT_MESSAGES_ATTRIBUTE]:
|
|
10773
|
+
[AI_PROMPT_MESSAGES_ATTRIBUTE]: messagesJson,
|
|
10774
|
+
[GEN_AI_INPUT_MESSAGES_ATTRIBUTE]: messagesJson,
|
|
10722
10775
|
[GEN_AI_INPUT_MESSAGES_ORIGINAL_LENGTH_ATTRIBUTE]: filteredLength
|
|
10723
10776
|
});
|
|
10724
10777
|
}
|
|
10725
10778
|
} catch {}
|
|
10726
10779
|
}
|
|
10727
10780
|
}
|
|
10728
|
-
function getSpanOpFromName(name) {
|
|
10729
|
-
switch (name) {
|
|
10730
|
-
case "ai.generateText":
|
|
10731
|
-
case "ai.streamText":
|
|
10732
|
-
case "ai.generateObject":
|
|
10733
|
-
case "ai.streamObject":
|
|
10734
|
-
return GEN_AI_INVOKE_AGENT_OPERATION_ATTRIBUTE;
|
|
10735
|
-
case "ai.generateText.doGenerate":
|
|
10736
|
-
case "ai.streamText.doStream":
|
|
10737
|
-
case "ai.generateObject.doGenerate":
|
|
10738
|
-
case "ai.streamObject.doStream":
|
|
10739
|
-
return GEN_AI_GENERATE_CONTENT_OPERATION_ATTRIBUTE;
|
|
10740
|
-
case "ai.embed.doEmbed":
|
|
10741
|
-
return GEN_AI_EMBED_DO_EMBED_OPERATION_ATTRIBUTE;
|
|
10742
|
-
case "ai.embedMany.doEmbed":
|
|
10743
|
-
return GEN_AI_EMBED_MANY_DO_EMBED_OPERATION_ATTRIBUTE;
|
|
10744
|
-
case "ai.rerank.doRerank":
|
|
10745
|
-
return GEN_AI_RERANK_DO_RERANK_OPERATION_ATTRIBUTE;
|
|
10746
|
-
case "ai.toolCall":
|
|
10747
|
-
return GEN_AI_EXECUTE_TOOL_OPERATION_ATTRIBUTE;
|
|
10748
|
-
default:
|
|
10749
|
-
if (name.startsWith("ai.stream")) {
|
|
10750
|
-
return "ai.run";
|
|
10751
|
-
}
|
|
10752
|
-
return;
|
|
10753
|
-
}
|
|
10754
|
-
}
|
|
10755
10781
|
var init_utils4 = __esm(() => {
|
|
10756
10782
|
init_gen_ai_attributes();
|
|
10757
10783
|
init_utils3();
|
|
@@ -10759,25 +10785,7 @@ var init_utils4 = __esm(() => {
|
|
|
10759
10785
|
init_vercel_ai_attributes();
|
|
10760
10786
|
});
|
|
10761
10787
|
|
|
10762
|
-
// node_modules/.bun/@sentry+core@10.
|
|
10763
|
-
function mapVercelAiOperationName(operationName) {
|
|
10764
|
-
if (INVOKE_AGENT_OPS.has(operationName)) {
|
|
10765
|
-
return "invoke_agent";
|
|
10766
|
-
}
|
|
10767
|
-
if (GENERATE_CONTENT_OPS.has(operationName)) {
|
|
10768
|
-
return "generate_content";
|
|
10769
|
-
}
|
|
10770
|
-
if (EMBEDDINGS_OPS.has(operationName)) {
|
|
10771
|
-
return "embeddings";
|
|
10772
|
-
}
|
|
10773
|
-
if (RERANK_OPS.has(operationName)) {
|
|
10774
|
-
return "rerank";
|
|
10775
|
-
}
|
|
10776
|
-
if (operationName === "ai.toolCall") {
|
|
10777
|
-
return "execute_tool";
|
|
10778
|
-
}
|
|
10779
|
-
return operationName;
|
|
10780
|
-
}
|
|
10788
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/tracing/vercel-ai/index.js
|
|
10781
10789
|
function onVercelAiSpanStart(span) {
|
|
10782
10790
|
const { data: attributes, description: name } = spanToJSON(span);
|
|
10783
10791
|
if (!name) {
|
|
@@ -10790,7 +10798,10 @@ function onVercelAiSpanStart(span) {
|
|
|
10790
10798
|
if (!attributes[AI_OPERATION_ID_ATTRIBUTE] && !name.startsWith("ai.")) {
|
|
10791
10799
|
return;
|
|
10792
10800
|
}
|
|
10793
|
-
|
|
10801
|
+
const client = getClient();
|
|
10802
|
+
const integration = client?.getIntegrationByName("VercelAI");
|
|
10803
|
+
const enableTruncation = shouldEnableTruncation(integration?.options?.enableTruncation);
|
|
10804
|
+
processGenerateSpan(span, name, attributes, enableTruncation);
|
|
10794
10805
|
}
|
|
10795
10806
|
function vercelAiEventProcessor(event) {
|
|
10796
10807
|
if (event.type === "transaction" && event.spans) {
|
|
@@ -10890,7 +10901,8 @@ function processEndedVercelAiSpan(span) {
|
|
|
10890
10901
|
attributes[AI_PROMPT_TOOLS_ATTRIBUTE] = convertAvailableToolsToJsonString(attributes[AI_PROMPT_TOOLS_ATTRIBUTE]);
|
|
10891
10902
|
}
|
|
10892
10903
|
if (attributes[OPERATION_NAME_ATTRIBUTE]) {
|
|
10893
|
-
const
|
|
10904
|
+
const rawOperationName = attributes[AI_OPERATION_ID_ATTRIBUTE] ? attributes[AI_OPERATION_ID_ATTRIBUTE] : attributes[OPERATION_NAME_ATTRIBUTE];
|
|
10905
|
+
const operationName = SPAN_TO_OPERATION_NAME.get(rawOperationName) ?? rawOperationName;
|
|
10894
10906
|
attributes[GEN_AI_OPERATION_NAME_ATTRIBUTE] = operationName;
|
|
10895
10907
|
delete attributes[OPERATION_NAME_ATTRIBUTE];
|
|
10896
10908
|
}
|
|
@@ -10943,7 +10955,7 @@ function processToolCallSpan(span, attributes) {
|
|
|
10943
10955
|
span.updateName(`execute_tool ${toolName}`);
|
|
10944
10956
|
}
|
|
10945
10957
|
}
|
|
10946
|
-
function processGenerateSpan(span, name, attributes) {
|
|
10958
|
+
function processGenerateSpan(span, name, attributes, enableTruncation) {
|
|
10947
10959
|
span.setAttribute(SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, "auto.vercelai.otel");
|
|
10948
10960
|
const nameWthoutAi = name.replace("ai.", "");
|
|
10949
10961
|
span.setAttribute("ai.pipeline.name", nameWthoutAi);
|
|
@@ -10952,16 +10964,18 @@ function processGenerateSpan(span, name, attributes) {
|
|
|
10952
10964
|
if (functionId && typeof functionId === "string") {
|
|
10953
10965
|
span.setAttribute("gen_ai.function_id", functionId);
|
|
10954
10966
|
}
|
|
10955
|
-
requestMessagesFromPrompt(span, attributes);
|
|
10967
|
+
requestMessagesFromPrompt(span, attributes, enableTruncation);
|
|
10956
10968
|
if (attributes[AI_MODEL_ID_ATTRIBUTE] && !attributes[GEN_AI_RESPONSE_MODEL_ATTRIBUTE]) {
|
|
10957
10969
|
span.setAttribute(GEN_AI_RESPONSE_MODEL_ATTRIBUTE, attributes[AI_MODEL_ID_ATTRIBUTE]);
|
|
10958
10970
|
}
|
|
10959
10971
|
span.setAttribute("ai.streaming", name.includes("stream"));
|
|
10960
|
-
const
|
|
10961
|
-
if (
|
|
10962
|
-
span.setAttribute(SEMANTIC_ATTRIBUTE_SENTRY_OP,
|
|
10972
|
+
const operationName = SPAN_TO_OPERATION_NAME.get(name);
|
|
10973
|
+
if (operationName) {
|
|
10974
|
+
span.setAttribute(SEMANTIC_ATTRIBUTE_SENTRY_OP, `gen_ai.${operationName}`);
|
|
10975
|
+
} else if (name.startsWith("ai.stream")) {
|
|
10976
|
+
span.setAttribute(SEMANTIC_ATTRIBUTE_SENTRY_OP, "ai.run");
|
|
10963
10977
|
}
|
|
10964
|
-
if (
|
|
10978
|
+
if (operationName === "invoke_agent") {
|
|
10965
10979
|
if (functionId && typeof functionId === "string") {
|
|
10966
10980
|
span.updateName(`invoke_agent ${functionId}`);
|
|
10967
10981
|
} else {
|
|
@@ -10970,11 +10984,8 @@ function processGenerateSpan(span, name, attributes) {
|
|
|
10970
10984
|
return;
|
|
10971
10985
|
}
|
|
10972
10986
|
const modelId = attributes[AI_MODEL_ID_ATTRIBUTE];
|
|
10973
|
-
if (modelId) {
|
|
10974
|
-
|
|
10975
|
-
if (doSpanPrefix) {
|
|
10976
|
-
span.updateName(`${doSpanPrefix} ${modelId}`);
|
|
10977
|
-
}
|
|
10987
|
+
if (modelId && operationName) {
|
|
10988
|
+
span.updateName(`${operationName} ${modelId}`);
|
|
10978
10989
|
}
|
|
10979
10990
|
}
|
|
10980
10991
|
function addVercelAiProcessors(client) {
|
|
@@ -11019,7 +11030,9 @@ function setAttributeIfDefined(attributes, key, value) {
|
|
|
11019
11030
|
}
|
|
11020
11031
|
}
|
|
11021
11032
|
var init_vercel_ai = __esm(() => {
|
|
11033
|
+
init_currentScopes();
|
|
11022
11034
|
init_semanticAttributes();
|
|
11035
|
+
init_utils3();
|
|
11023
11036
|
init_spanUtils();
|
|
11024
11037
|
init_gen_ai_attributes();
|
|
11025
11038
|
init_constants2();
|
|
@@ -11027,7 +11040,7 @@ var init_vercel_ai = __esm(() => {
|
|
|
11027
11040
|
init_vercel_ai_attributes();
|
|
11028
11041
|
});
|
|
11029
11042
|
|
|
11030
|
-
// node_modules/.bun/@sentry+core@10.
|
|
11043
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/tracing/openai/constants.js
|
|
11031
11044
|
var OPENAI_INTEGRATION_NAME = "OpenAI", OPENAI_METHOD_REGISTRY, RESPONSES_TOOL_CALL_EVENT_TYPES, RESPONSE_EVENT_TYPES;
|
|
11032
11045
|
var init_constants3 = __esm(() => {
|
|
11033
11046
|
OPENAI_METHOD_REGISTRY = {
|
|
@@ -11054,7 +11067,7 @@ var init_constants3 = __esm(() => {
|
|
|
11054
11067
|
];
|
|
11055
11068
|
});
|
|
11056
11069
|
|
|
11057
|
-
// node_modules/.bun/@sentry+core@10.
|
|
11070
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/tracing/openai/utils.js
|
|
11058
11071
|
function isResponsesApiStreamEvent(event) {
|
|
11059
11072
|
return event !== null && typeof event === "object" && "type" in event && typeof event.type === "string" && event.type.startsWith("response.");
|
|
11060
11073
|
}
|
|
@@ -11165,7 +11178,7 @@ var init_utils5 = __esm(() => {
|
|
|
11165
11178
|
init_gen_ai_attributes();
|
|
11166
11179
|
});
|
|
11167
11180
|
|
|
11168
|
-
// node_modules/.bun/@sentry+core@10.
|
|
11181
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/tracing/openai/streaming.js
|
|
11169
11182
|
function processChatCompletionToolCalls(toolCalls, state) {
|
|
11170
11183
|
for (const toolCall of toolCalls) {
|
|
11171
11184
|
const index = toolCall.index;
|
|
@@ -11292,7 +11305,7 @@ var init_streaming = __esm(() => {
|
|
|
11292
11305
|
init_utils5();
|
|
11293
11306
|
});
|
|
11294
11307
|
|
|
11295
|
-
// node_modules/.bun/@sentry+core@10.
|
|
11308
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/tracing/openai/index.js
|
|
11296
11309
|
function extractAvailableTools(params) {
|
|
11297
11310
|
const tools = Array.isArray(params.tools) ? params.tools : [];
|
|
11298
11311
|
const hasWebSearchOptions = params.web_search_options && typeof params.web_search_options === "object";
|
|
@@ -11326,7 +11339,7 @@ function extractRequestAttributes(args, operationName) {
|
|
|
11326
11339
|
}
|
|
11327
11340
|
return attributes;
|
|
11328
11341
|
}
|
|
11329
|
-
function addRequestAttributes(span, params, operationName) {
|
|
11342
|
+
function addRequestAttributes(span, params, operationName, enableTruncation) {
|
|
11330
11343
|
if (operationName === "embeddings" && "input" in params) {
|
|
11331
11344
|
const input = params.input;
|
|
11332
11345
|
if (input == null) {
|
|
@@ -11352,8 +11365,7 @@ function addRequestAttributes(span, params, operationName) {
|
|
|
11352
11365
|
if (systemInstructions) {
|
|
11353
11366
|
span.setAttribute(GEN_AI_SYSTEM_INSTRUCTIONS_ATTRIBUTE, systemInstructions);
|
|
11354
11367
|
}
|
|
11355
|
-
|
|
11356
|
-
span.setAttribute(GEN_AI_INPUT_MESSAGES_ATTRIBUTE, truncatedInput);
|
|
11368
|
+
span.setAttribute(GEN_AI_INPUT_MESSAGES_ATTRIBUTE, enableTruncation ? getTruncatedJsonString(filteredMessages) : getJsonString(filteredMessages));
|
|
11357
11369
|
if (Array.isArray(filteredMessages)) {
|
|
11358
11370
|
span.setAttribute(GEN_AI_INPUT_MESSAGES_ORIGINAL_LENGTH_ATTRIBUTE, filteredMessages.length);
|
|
11359
11371
|
} else {
|
|
@@ -11377,7 +11389,7 @@ function instrumentMethod(originalMethod, methodPath, instrumentedMethod, contex
|
|
|
11377
11389
|
const instrumentedPromise2 = startSpanManual(spanConfig, (span) => {
|
|
11378
11390
|
originalResult2 = originalMethod.apply(context, args);
|
|
11379
11391
|
if (options.recordInputs && params) {
|
|
11380
|
-
addRequestAttributes(span, params, operationName);
|
|
11392
|
+
addRequestAttributes(span, params, operationName, shouldEnableTruncation(options.enableTruncation));
|
|
11381
11393
|
}
|
|
11382
11394
|
return (async () => {
|
|
11383
11395
|
try {
|
|
@@ -11403,7 +11415,7 @@ function instrumentMethod(originalMethod, methodPath, instrumentedMethod, contex
|
|
|
11403
11415
|
const instrumentedPromise = startSpan(spanConfig, (span) => {
|
|
11404
11416
|
originalResult = originalMethod.apply(context, args);
|
|
11405
11417
|
if (options.recordInputs && params) {
|
|
11406
|
-
addRequestAttributes(span, params, operationName);
|
|
11418
|
+
addRequestAttributes(span, params, operationName, shouldEnableTruncation(options.enableTruncation));
|
|
11407
11419
|
}
|
|
11408
11420
|
return originalResult.then((result) => {
|
|
11409
11421
|
addResponseAttributes(span, result, options.recordOutputs);
|
|
@@ -11458,7 +11470,7 @@ var init_openai = __esm(() => {
|
|
|
11458
11470
|
init_utils5();
|
|
11459
11471
|
});
|
|
11460
11472
|
|
|
11461
|
-
// node_modules/.bun/@sentry+core@10.
|
|
11473
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/tracing/anthropic-ai/constants.js
|
|
11462
11474
|
var ANTHROPIC_AI_INTEGRATION_NAME = "Anthropic_AI", ANTHROPIC_METHOD_REGISTRY;
|
|
11463
11475
|
var init_constants4 = __esm(() => {
|
|
11464
11476
|
ANTHROPIC_METHOD_REGISTRY = {
|
|
@@ -11472,8 +11484,8 @@ var init_constants4 = __esm(() => {
|
|
|
11472
11484
|
};
|
|
11473
11485
|
});
|
|
11474
11486
|
|
|
11475
|
-
// node_modules/.bun/@sentry+core@10.
|
|
11476
|
-
function setMessagesAttribute(span, messages) {
|
|
11487
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/tracing/anthropic-ai/utils.js
|
|
11488
|
+
function setMessagesAttribute(span, messages, enableTruncation) {
|
|
11477
11489
|
if (Array.isArray(messages) && messages.length === 0) {
|
|
11478
11490
|
return;
|
|
11479
11491
|
}
|
|
@@ -11485,7 +11497,7 @@ function setMessagesAttribute(span, messages) {
|
|
|
11485
11497
|
}
|
|
11486
11498
|
const filteredLength = Array.isArray(filteredMessages) ? filteredMessages.length : 1;
|
|
11487
11499
|
span.setAttributes({
|
|
11488
|
-
[GEN_AI_INPUT_MESSAGES_ATTRIBUTE]: getTruncatedJsonString(filteredMessages),
|
|
11500
|
+
[GEN_AI_INPUT_MESSAGES_ATTRIBUTE]: enableTruncation ? getTruncatedJsonString(filteredMessages) : getJsonString(filteredMessages),
|
|
11489
11501
|
[GEN_AI_INPUT_MESSAGES_ORIGINAL_LENGTH_ATTRIBUTE]: filteredLength
|
|
11490
11502
|
});
|
|
11491
11503
|
}
|
|
@@ -11532,7 +11544,7 @@ var init_utils6 = __esm(() => {
|
|
|
11532
11544
|
};
|
|
11533
11545
|
});
|
|
11534
11546
|
|
|
11535
|
-
// node_modules/.bun/@sentry+core@10.
|
|
11547
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/tracing/anthropic-ai/streaming.js
|
|
11536
11548
|
function isErrorEvent3(event, span) {
|
|
11537
11549
|
if ("type" in event && typeof event.type === "string") {
|
|
11538
11550
|
if (event.type === "error") {
|
|
@@ -11691,7 +11703,7 @@ var init_streaming2 = __esm(() => {
|
|
|
11691
11703
|
init_utils6();
|
|
11692
11704
|
});
|
|
11693
11705
|
|
|
11694
|
-
// node_modules/.bun/@sentry+core@10.
|
|
11706
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/tracing/anthropic-ai/index.js
|
|
11695
11707
|
function extractRequestAttributes2(args, methodPath, operationName) {
|
|
11696
11708
|
const attributes = {
|
|
11697
11709
|
[GEN_AI_SYSTEM_ATTRIBUTE]: "anthropic",
|
|
@@ -11725,9 +11737,9 @@ function extractRequestAttributes2(args, methodPath, operationName) {
|
|
|
11725
11737
|
}
|
|
11726
11738
|
return attributes;
|
|
11727
11739
|
}
|
|
11728
|
-
function addPrivateRequestAttributes(span, params) {
|
|
11740
|
+
function addPrivateRequestAttributes(span, params, enableTruncation) {
|
|
11729
11741
|
const messages = messagesFromParams(params);
|
|
11730
|
-
setMessagesAttribute(span, messages);
|
|
11742
|
+
setMessagesAttribute(span, messages, enableTruncation);
|
|
11731
11743
|
if ("prompt" in params) {
|
|
11732
11744
|
span.setAttributes({ [GEN_AI_PROMPT_ATTRIBUTE]: JSON.stringify(params.prompt) });
|
|
11733
11745
|
}
|
|
@@ -11801,7 +11813,7 @@ function handleStreamingRequest(originalMethod, target, context, args, requestAt
|
|
|
11801
11813
|
const instrumentedPromise = startSpanManual(spanConfig, (span) => {
|
|
11802
11814
|
originalResult = originalMethod.apply(context, args);
|
|
11803
11815
|
if (options.recordInputs && params) {
|
|
11804
|
-
addPrivateRequestAttributes(span, params);
|
|
11816
|
+
addPrivateRequestAttributes(span, params, shouldEnableTruncation(options.enableTruncation));
|
|
11805
11817
|
}
|
|
11806
11818
|
return (async () => {
|
|
11807
11819
|
try {
|
|
@@ -11817,7 +11829,7 @@ function handleStreamingRequest(originalMethod, target, context, args, requestAt
|
|
|
11817
11829
|
return startSpanManual(spanConfig, (span) => {
|
|
11818
11830
|
try {
|
|
11819
11831
|
if (options.recordInputs && params) {
|
|
11820
|
-
addPrivateRequestAttributes(span, params);
|
|
11832
|
+
addPrivateRequestAttributes(span, params, shouldEnableTruncation(options.enableTruncation));
|
|
11821
11833
|
}
|
|
11822
11834
|
const messageStream = target.apply(context, args);
|
|
11823
11835
|
return instrumentMessageStream(messageStream, span, options.recordOutputs ?? false);
|
|
@@ -11847,7 +11859,7 @@ function instrumentMethod2(originalMethod, methodPath, instrumentedMethod, conte
|
|
|
11847
11859
|
}, (span) => {
|
|
11848
11860
|
originalResult = target.apply(context, args);
|
|
11849
11861
|
if (options.recordInputs && params) {
|
|
11850
|
-
addPrivateRequestAttributes(span, params);
|
|
11862
|
+
addPrivateRequestAttributes(span, params, shouldEnableTruncation(options.enableTruncation));
|
|
11851
11863
|
}
|
|
11852
11864
|
return originalResult.then((result) => {
|
|
11853
11865
|
addResponseAttributes2(span, result, options.recordOutputs);
|
|
@@ -11903,7 +11915,7 @@ var init_anthropic_ai = __esm(() => {
|
|
|
11903
11915
|
init_utils6();
|
|
11904
11916
|
});
|
|
11905
11917
|
|
|
11906
|
-
// node_modules/.bun/@sentry+core@10.
|
|
11918
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/tracing/google-genai/constants.js
|
|
11907
11919
|
var GOOGLE_GENAI_INTEGRATION_NAME = "Google_GenAI", GOOGLE_GENAI_METHOD_REGISTRY, GOOGLE_GENAI_SYSTEM_NAME = "google_genai";
|
|
11908
11920
|
var init_constants5 = __esm(() => {
|
|
11909
11921
|
GOOGLE_GENAI_METHOD_REGISTRY = {
|
|
@@ -11916,7 +11928,7 @@ var init_constants5 = __esm(() => {
|
|
|
11916
11928
|
};
|
|
11917
11929
|
});
|
|
11918
11930
|
|
|
11919
|
-
// node_modules/.bun/@sentry+core@10.
|
|
11931
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/tracing/google-genai/streaming.js
|
|
11920
11932
|
function isErrorChunk(chunk, span) {
|
|
11921
11933
|
const feedback = chunk?.promptFeedback;
|
|
11922
11934
|
if (feedback?.blockReason) {
|
|
@@ -11993,7 +12005,7 @@ var init_streaming3 = __esm(() => {
|
|
|
11993
12005
|
init_utils3();
|
|
11994
12006
|
});
|
|
11995
12007
|
|
|
11996
|
-
// node_modules/.bun/@sentry+core@10.
|
|
12008
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/tracing/google-genai/utils.js
|
|
11997
12009
|
function contentUnionToMessages(content, role = "user") {
|
|
11998
12010
|
if (typeof content === "string") {
|
|
11999
12011
|
return [{ role, content }];
|
|
@@ -12013,7 +12025,7 @@ function contentUnionToMessages(content, role = "user") {
|
|
|
12013
12025
|
}
|
|
12014
12026
|
var init_utils7 = () => {};
|
|
12015
12027
|
|
|
12016
|
-
// node_modules/.bun/@sentry+core@10.
|
|
12028
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/tracing/google-genai/index.js
|
|
12017
12029
|
function extractModel(params, context) {
|
|
12018
12030
|
if ("model" in params && typeof params.model === "string") {
|
|
12019
12031
|
return params.model;
|
|
@@ -12072,7 +12084,7 @@ function extractRequestAttributes3(operationName, params, context) {
|
|
|
12072
12084
|
}
|
|
12073
12085
|
return attributes;
|
|
12074
12086
|
}
|
|
12075
|
-
function addPrivateRequestAttributes2(span, params, isEmbeddings) {
|
|
12087
|
+
function addPrivateRequestAttributes2(span, params, isEmbeddings, enableTruncation) {
|
|
12076
12088
|
if (isEmbeddings) {
|
|
12077
12089
|
const contents = params.contents;
|
|
12078
12090
|
if (contents != null) {
|
|
@@ -12101,7 +12113,7 @@ function addPrivateRequestAttributes2(span, params, isEmbeddings) {
|
|
|
12101
12113
|
const filteredLength = Array.isArray(filteredMessages) ? filteredMessages.length : 0;
|
|
12102
12114
|
span.setAttributes({
|
|
12103
12115
|
[GEN_AI_INPUT_MESSAGES_ORIGINAL_LENGTH_ATTRIBUTE]: filteredLength,
|
|
12104
|
-
[GEN_AI_INPUT_MESSAGES_ATTRIBUTE]:
|
|
12116
|
+
[GEN_AI_INPUT_MESSAGES_ATTRIBUTE]: enableTruncation ? getTruncatedJsonString(filteredMessages) : getJsonString(filteredMessages)
|
|
12105
12117
|
});
|
|
12106
12118
|
}
|
|
12107
12119
|
}
|
|
@@ -12167,7 +12179,7 @@ function instrumentMethod3(originalMethod, methodPath, instrumentedMethod, conte
|
|
|
12167
12179
|
}, async (span) => {
|
|
12168
12180
|
try {
|
|
12169
12181
|
if (options.recordInputs && params) {
|
|
12170
|
-
addPrivateRequestAttributes2(span, params, isEmbeddings);
|
|
12182
|
+
addPrivateRequestAttributes2(span, params, isEmbeddings, shouldEnableTruncation(options.enableTruncation));
|
|
12171
12183
|
}
|
|
12172
12184
|
const stream = await target.apply(context, args);
|
|
12173
12185
|
return instrumentStream2(stream, span, Boolean(options.recordOutputs));
|
|
@@ -12191,7 +12203,7 @@ function instrumentMethod3(originalMethod, methodPath, instrumentedMethod, conte
|
|
|
12191
12203
|
attributes: requestAttributes
|
|
12192
12204
|
}, (span) => {
|
|
12193
12205
|
if (options.recordInputs && params) {
|
|
12194
|
-
addPrivateRequestAttributes2(span, params, isEmbeddings);
|
|
12206
|
+
addPrivateRequestAttributes2(span, params, isEmbeddings, shouldEnableTruncation(options.enableTruncation));
|
|
12195
12207
|
}
|
|
12196
12208
|
return handleCallbackErrors(() => target.apply(context, args), (error2) => {
|
|
12197
12209
|
captureException(error2, {
|
|
@@ -12245,14 +12257,13 @@ var init_google_genai = __esm(() => {
|
|
|
12245
12257
|
init_trace();
|
|
12246
12258
|
init_handleCallbackErrors();
|
|
12247
12259
|
init_gen_ai_attributes();
|
|
12248
|
-
init_messageTruncation();
|
|
12249
12260
|
init_utils3();
|
|
12250
12261
|
init_constants5();
|
|
12251
12262
|
init_streaming3();
|
|
12252
12263
|
init_utils7();
|
|
12253
12264
|
});
|
|
12254
12265
|
|
|
12255
|
-
// node_modules/.bun/@sentry+core@10.
|
|
12266
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/tracing/langchain/constants.js
|
|
12256
12267
|
var LANGCHAIN_INTEGRATION_NAME = "LangChain", LANGCHAIN_ORIGIN = "auto.ai.langchain", ROLE_MAP;
|
|
12257
12268
|
var init_constants6 = __esm(() => {
|
|
12258
12269
|
ROLE_MAP = {
|
|
@@ -12265,7 +12276,7 @@ var init_constants6 = __esm(() => {
|
|
|
12265
12276
|
};
|
|
12266
12277
|
});
|
|
12267
12278
|
|
|
12268
|
-
// node_modules/.bun/@sentry+core@10.
|
|
12279
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/tracing/langchain/utils.js
|
|
12269
12280
|
function asString(v) {
|
|
12270
12281
|
if (typeof v === "string")
|
|
12271
12282
|
return v;
|
|
@@ -12380,18 +12391,18 @@ function baseRequestAttributes(system, modelName, serialized, invocationParams,
|
|
|
12380
12391
|
...extractCommonRequestAttributes(serialized, invocationParams, langSmithMetadata)
|
|
12381
12392
|
};
|
|
12382
12393
|
}
|
|
12383
|
-
function extractLLMRequestAttributes(llm, prompts, recordInputs, invocationParams, langSmithMetadata) {
|
|
12394
|
+
function extractLLMRequestAttributes(llm, prompts, recordInputs, enableTruncation, invocationParams, langSmithMetadata) {
|
|
12384
12395
|
const system = langSmithMetadata?.ls_provider;
|
|
12385
12396
|
const modelName = invocationParams?.model ?? langSmithMetadata?.ls_model_name ?? "unknown";
|
|
12386
12397
|
const attrs = baseRequestAttributes(system, modelName, llm, invocationParams, langSmithMetadata);
|
|
12387
12398
|
if (recordInputs && Array.isArray(prompts) && prompts.length > 0) {
|
|
12388
12399
|
setIfDefined(attrs, GEN_AI_INPUT_MESSAGES_ORIGINAL_LENGTH_ATTRIBUTE, prompts.length);
|
|
12389
12400
|
const messages = prompts.map((p) => ({ role: "user", content: p }));
|
|
12390
|
-
setIfDefined(attrs, GEN_AI_INPUT_MESSAGES_ATTRIBUTE,
|
|
12401
|
+
setIfDefined(attrs, GEN_AI_INPUT_MESSAGES_ATTRIBUTE, enableTruncation ? getTruncatedJsonString(messages) : getJsonString(messages));
|
|
12391
12402
|
}
|
|
12392
12403
|
return attrs;
|
|
12393
12404
|
}
|
|
12394
|
-
function extractChatModelRequestAttributes(llm, langChainMessages, recordInputs, invocationParams, langSmithMetadata) {
|
|
12405
|
+
function extractChatModelRequestAttributes(llm, langChainMessages, recordInputs, enableTruncation, invocationParams, langSmithMetadata) {
|
|
12395
12406
|
const system = langSmithMetadata?.ls_provider ?? llm.id?.[2];
|
|
12396
12407
|
const modelName = invocationParams?.model ?? langSmithMetadata?.ls_model_name ?? "unknown";
|
|
12397
12408
|
const attrs = baseRequestAttributes(system, modelName, llm, invocationParams, langSmithMetadata);
|
|
@@ -12403,8 +12414,7 @@ function extractChatModelRequestAttributes(llm, langChainMessages, recordInputs,
|
|
|
12403
12414
|
}
|
|
12404
12415
|
const filteredLength = Array.isArray(filteredMessages) ? filteredMessages.length : 0;
|
|
12405
12416
|
setIfDefined(attrs, GEN_AI_INPUT_MESSAGES_ORIGINAL_LENGTH_ATTRIBUTE, filteredLength);
|
|
12406
|
-
|
|
12407
|
-
setIfDefined(attrs, GEN_AI_INPUT_MESSAGES_ATTRIBUTE, asString(truncated));
|
|
12417
|
+
setIfDefined(attrs, GEN_AI_INPUT_MESSAGES_ATTRIBUTE, enableTruncation ? getTruncatedJsonString(filteredMessages) : getJsonString(filteredMessages));
|
|
12408
12418
|
}
|
|
12409
12419
|
return attrs;
|
|
12410
12420
|
}
|
|
@@ -12502,14 +12512,14 @@ var init_utils8 = __esm(() => {
|
|
|
12502
12512
|
init_semanticAttributes();
|
|
12503
12513
|
init_gen_ai_attributes();
|
|
12504
12514
|
init_mediaStripping();
|
|
12505
|
-
init_messageTruncation();
|
|
12506
12515
|
init_utils3();
|
|
12507
12516
|
init_constants6();
|
|
12508
12517
|
});
|
|
12509
12518
|
|
|
12510
|
-
// node_modules/.bun/@sentry+core@10.
|
|
12519
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/tracing/langchain/index.js
|
|
12511
12520
|
function createLangChainCallbackHandler(options = {}) {
|
|
12512
12521
|
const { recordInputs, recordOutputs } = resolveAIRecordingOptions(options);
|
|
12522
|
+
const enableTruncation = shouldEnableTruncation(options.enableTruncation);
|
|
12513
12523
|
const spanMap = new Map;
|
|
12514
12524
|
const exitSpan = (runId) => {
|
|
12515
12525
|
const span = spanMap.get(runId);
|
|
@@ -12537,7 +12547,7 @@ function createLangChainCallbackHandler(options = {}) {
|
|
|
12537
12547
|
awaitHandlers: true,
|
|
12538
12548
|
handleLLMStart(llm, prompts, runId, _parentRunId, _extraParams, tags, metadata, _runName) {
|
|
12539
12549
|
const invocationParams = getInvocationParams(tags);
|
|
12540
|
-
const attributes = extractLLMRequestAttributes(llm, prompts, recordInputs, invocationParams, metadata);
|
|
12550
|
+
const attributes = extractLLMRequestAttributes(llm, prompts, recordInputs, enableTruncation, invocationParams, metadata);
|
|
12541
12551
|
const modelName = attributes[GEN_AI_REQUEST_MODEL_ATTRIBUTE];
|
|
12542
12552
|
const operationName = attributes[GEN_AI_OPERATION_NAME_ATTRIBUTE];
|
|
12543
12553
|
startSpanManual({
|
|
@@ -12554,7 +12564,7 @@ function createLangChainCallbackHandler(options = {}) {
|
|
|
12554
12564
|
},
|
|
12555
12565
|
handleChatModelStart(llm, messages, runId, _parentRunId, _extraParams, tags, metadata, _runName) {
|
|
12556
12566
|
const invocationParams = getInvocationParams(tags);
|
|
12557
|
-
const attributes = extractChatModelRequestAttributes(llm, messages, recordInputs, invocationParams, metadata);
|
|
12567
|
+
const attributes = extractChatModelRequestAttributes(llm, messages, recordInputs, enableTruncation, invocationParams, metadata);
|
|
12558
12568
|
const modelName = attributes[GEN_AI_REQUEST_MODEL_ATTRIBUTE];
|
|
12559
12569
|
const operationName = attributes[GEN_AI_OPERATION_NAME_ATTRIBUTE];
|
|
12560
12570
|
startSpanManual({
|
|
@@ -12713,11 +12723,11 @@ var init_langchain = __esm(() => {
|
|
|
12713
12723
|
init_utils8();
|
|
12714
12724
|
});
|
|
12715
12725
|
|
|
12716
|
-
// node_modules/.bun/@sentry+core@10.
|
|
12726
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/tracing/langgraph/constants.js
|
|
12717
12727
|
var LANGGRAPH_INTEGRATION_NAME = "LangGraph", LANGGRAPH_ORIGIN = "auto.ai.langgraph";
|
|
12718
12728
|
var init_constants7 = () => {};
|
|
12719
12729
|
|
|
12720
|
-
// node_modules/.bun/@sentry+core@10.
|
|
12730
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/tracing/langgraph/utils.js
|
|
12721
12731
|
function extractToolCalls(messages) {
|
|
12722
12732
|
if (!messages || messages.length === 0) {
|
|
12723
12733
|
return null;
|
|
@@ -12836,7 +12846,7 @@ var init_utils9 = __esm(() => {
|
|
|
12836
12846
|
init_utils8();
|
|
12837
12847
|
});
|
|
12838
12848
|
|
|
12839
|
-
// node_modules/.bun/@sentry+core@10.
|
|
12849
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/tracing/langgraph/index.js
|
|
12840
12850
|
function instrumentStateGraphCompile(originalCompile, options) {
|
|
12841
12851
|
return new Proxy(originalCompile, {
|
|
12842
12852
|
apply(target, thisArg, args) {
|
|
@@ -12913,10 +12923,10 @@ function instrumentCompiledGraphInvoke(originalInvoke, graphInstance, compileOpt
|
|
|
12913
12923
|
if (systemInstructions) {
|
|
12914
12924
|
span.setAttribute(GEN_AI_SYSTEM_INSTRUCTIONS_ATTRIBUTE, systemInstructions);
|
|
12915
12925
|
}
|
|
12916
|
-
const
|
|
12926
|
+
const enableTruncation = shouldEnableTruncation(options.enableTruncation);
|
|
12917
12927
|
const filteredLength = Array.isArray(filteredMessages) ? filteredMessages.length : 0;
|
|
12918
12928
|
span.setAttributes({
|
|
12919
|
-
[GEN_AI_INPUT_MESSAGES_ATTRIBUTE]:
|
|
12929
|
+
[GEN_AI_INPUT_MESSAGES_ATTRIBUTE]: enableTruncation ? getTruncatedJsonString(filteredMessages) : getJsonString(filteredMessages),
|
|
12920
12930
|
[GEN_AI_INPUT_MESSAGES_ORIGINAL_LENGTH_ATTRIBUTE]: filteredLength
|
|
12921
12931
|
});
|
|
12922
12932
|
}
|
|
@@ -12949,14 +12959,13 @@ var init_langgraph = __esm(() => {
|
|
|
12949
12959
|
init_spanstatus();
|
|
12950
12960
|
init_trace();
|
|
12951
12961
|
init_gen_ai_attributes();
|
|
12952
|
-
init_messageTruncation();
|
|
12953
12962
|
init_utils3();
|
|
12954
12963
|
init_utils8();
|
|
12955
12964
|
init_constants7();
|
|
12956
12965
|
init_utils9();
|
|
12957
12966
|
});
|
|
12958
12967
|
|
|
12959
|
-
// node_modules/.bun/@sentry+core@10.
|
|
12968
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/tracing/spans/captureSpan.js
|
|
12960
12969
|
function captureSpan(span, client) {
|
|
12961
12970
|
const spanJSON = spanToStreamedSpanJSON(span);
|
|
12962
12971
|
const segmentSpan = INTERNAL_getSegmentSpan(span);
|
|
@@ -13024,7 +13033,7 @@ var init_captureSpan = __esm(() => {
|
|
|
13024
13033
|
init_beforeSendSpan();
|
|
13025
13034
|
});
|
|
13026
13035
|
|
|
13027
|
-
// node_modules/.bun/@sentry+core@10.
|
|
13036
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/tracing/spans/envelope.js
|
|
13028
13037
|
function createStreamedSpanEnvelope(serializedSpans, dsc, client) {
|
|
13029
13038
|
const dsn = client.getDsn();
|
|
13030
13039
|
const tunnel = client.getOptions().tunnel;
|
|
@@ -13049,7 +13058,7 @@ var init_envelope5 = __esm(() => {
|
|
|
13049
13058
|
init_envelope();
|
|
13050
13059
|
});
|
|
13051
13060
|
|
|
13052
|
-
// node_modules/.bun/@sentry+core@10.
|
|
13061
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/tracing/spans/estimateSize.js
|
|
13053
13062
|
function estimateSerializedSpanSizeInBytes(span) {
|
|
13054
13063
|
let weight = 156;
|
|
13055
13064
|
weight += span.name.length * 2;
|
|
@@ -13066,7 +13075,7 @@ var init_estimateSize = __esm(() => {
|
|
|
13066
13075
|
init_attributes();
|
|
13067
13076
|
});
|
|
13068
13077
|
|
|
13069
|
-
// node_modules/.bun/@sentry+core@10.
|
|
13078
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/tracing/spans/spanBuffer.js
|
|
13070
13079
|
class SpanBuffer {
|
|
13071
13080
|
constructor(client, options) {
|
|
13072
13081
|
this._traceBuckets = new Map;
|
|
@@ -13159,7 +13168,7 @@ var init_spanBuffer = __esm(() => {
|
|
|
13159
13168
|
init_estimateSize();
|
|
13160
13169
|
});
|
|
13161
13170
|
|
|
13162
|
-
// node_modules/.bun/@sentry+core@10.
|
|
13171
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/integrations/spanStreaming.js
|
|
13163
13172
|
var spanStreamingIntegration;
|
|
13164
13173
|
var init_spanStreaming = __esm(() => {
|
|
13165
13174
|
init_debug_build();
|
|
@@ -13200,7 +13209,7 @@ var init_spanStreaming = __esm(() => {
|
|
|
13200
13209
|
});
|
|
13201
13210
|
});
|
|
13202
13211
|
|
|
13203
|
-
// node_modules/.bun/@sentry+core@10.
|
|
13212
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/utils/breadcrumb-log-level.js
|
|
13204
13213
|
function getBreadcrumbLogLevelFromHttpStatusCode(statusCode) {
|
|
13205
13214
|
if (statusCode === undefined) {
|
|
13206
13215
|
return;
|
|
@@ -13214,7 +13223,7 @@ function getBreadcrumbLogLevelFromHttpStatusCode(statusCode) {
|
|
|
13214
13223
|
}
|
|
13215
13224
|
var init_breadcrumb_log_level = () => {};
|
|
13216
13225
|
|
|
13217
|
-
// node_modules/.bun/@sentry+core@10.
|
|
13226
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/utils/exports.js
|
|
13218
13227
|
function replaceExports(exports$1, exportName, wrappedConstructor) {
|
|
13219
13228
|
const original = exports$1[exportName];
|
|
13220
13229
|
if (typeof original !== "function") {
|
|
@@ -13245,7 +13254,7 @@ function replaceExports(exports$1, exportName, wrappedConstructor) {
|
|
|
13245
13254
|
}
|
|
13246
13255
|
var init_exports2 = () => {};
|
|
13247
13256
|
|
|
13248
|
-
// node_modules/.bun/@sentry+core@10.
|
|
13257
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/utils/node-stack-trace.js
|
|
13249
13258
|
function filenameIsInApp(filename, isNative = false) {
|
|
13250
13259
|
const isInternal = isNative || filename && !filename.startsWith("/") && !filename.match(/^[A-Z]:/) && !filename.startsWith(".") && !filename.match(/^[a-zA-Z]([a-zA-Z0-9.\-+])*:\/\//);
|
|
13251
13260
|
return !isInternal && filename !== undefined && !filename.includes("node_modules/");
|
|
@@ -13338,7 +13347,7 @@ var init_node_stack_trace = __esm(() => {
|
|
|
13338
13347
|
init_stacktrace();
|
|
13339
13348
|
});
|
|
13340
13349
|
|
|
13341
|
-
// node_modules/.bun/@sentry+core@10.
|
|
13350
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/utils/lru.js
|
|
13342
13351
|
class LRUMap {
|
|
13343
13352
|
constructor(_maxSize) {
|
|
13344
13353
|
this._maxSize = _maxSize;
|
|
@@ -13384,7 +13393,7 @@ class LRUMap {
|
|
|
13384
13393
|
}
|
|
13385
13394
|
var init_lru = () => {};
|
|
13386
13395
|
|
|
13387
|
-
// node_modules/.bun/@sentry+core@10.
|
|
13396
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/tracing/langchain/embeddings.js
|
|
13388
13397
|
function inferSystemFromInstance(instance) {
|
|
13389
13398
|
const name = instance.constructor?.name ?? "";
|
|
13390
13399
|
if (name.includes("OpenAI"))
|
|
@@ -13468,8 +13477,8 @@ var init_embeddings = __esm(() => {
|
|
|
13468
13477
|
init_constants6();
|
|
13469
13478
|
});
|
|
13470
13479
|
|
|
13471
|
-
// node_modules/.bun/@sentry+core@10.
|
|
13472
|
-
var
|
|
13480
|
+
// node_modules/.bun/@sentry+core@10.49.0/node_modules/@sentry/core/build/esm/index.js
|
|
13481
|
+
var init_esm3 = __esm(() => {
|
|
13473
13482
|
init_utils();
|
|
13474
13483
|
init_spanstatus();
|
|
13475
13484
|
init_trace();
|
|
@@ -13495,6 +13504,7 @@ var init_esm2 = __esm(() => {
|
|
|
13495
13504
|
init_traceData();
|
|
13496
13505
|
init_tracePropagationTargets();
|
|
13497
13506
|
init_debounce();
|
|
13507
|
+
init_weakRef();
|
|
13498
13508
|
init_should_ignore_span();
|
|
13499
13509
|
init_request();
|
|
13500
13510
|
init_breadcrumbs();
|
|
@@ -13543,19 +13553,19 @@ var init_esm2 = __esm(() => {
|
|
|
13543
13553
|
init_embeddings();
|
|
13544
13554
|
});
|
|
13545
13555
|
|
|
13546
|
-
// node_modules/.bun/@sentry+node-core@10.
|
|
13556
|
+
// node_modules/.bun/@sentry+node-core@10.49.0+327cdc98b26f66bc/node_modules/@sentry/node-core/build/esm/debug-build.js
|
|
13547
13557
|
var DEBUG_BUILD2;
|
|
13548
13558
|
var init_debug_build2 = __esm(() => {
|
|
13549
13559
|
DEBUG_BUILD2 = typeof __SENTRY_DEBUG__ === "undefined" || __SENTRY_DEBUG__;
|
|
13550
13560
|
});
|
|
13551
13561
|
|
|
13552
|
-
// node_modules/.bun/@sentry+node-core@10.
|
|
13562
|
+
// node_modules/.bun/@sentry+node-core@10.49.0+327cdc98b26f66bc/node_modules/@sentry/node-core/build/esm/integrations/http/constants.js
|
|
13553
13563
|
var INSTRUMENTATION_NAME = "@sentry/instrumentation-http", MAX_BODY_BYTE_LENGTH;
|
|
13554
13564
|
var init_constants8 = __esm(() => {
|
|
13555
13565
|
MAX_BODY_BYTE_LENGTH = 1024 * 1024;
|
|
13556
13566
|
});
|
|
13557
13567
|
|
|
13558
|
-
// node_modules/.bun/@sentry+node-core@10.
|
|
13568
|
+
// node_modules/.bun/@sentry+node-core@10.49.0+327cdc98b26f66bc/node_modules/@sentry/node-core/build/esm/utils/captureRequestBody.js
|
|
13559
13569
|
function patchRequestToCaptureBody(req, isolationScope, maxIncomingRequestBodySize, integrationName) {
|
|
13560
13570
|
let bodyByteLength = 0;
|
|
13561
13571
|
const chunks = [];
|
|
@@ -13625,12 +13635,12 @@ function patchRequestToCaptureBody(req, isolationScope, maxIncomingRequestBodySi
|
|
|
13625
13635
|
}
|
|
13626
13636
|
}
|
|
13627
13637
|
var init_captureRequestBody = __esm(() => {
|
|
13628
|
-
|
|
13638
|
+
init_esm3();
|
|
13629
13639
|
init_debug_build2();
|
|
13630
13640
|
init_constants8();
|
|
13631
13641
|
});
|
|
13632
13642
|
|
|
13633
|
-
// node_modules/.bun/@sentry+node-core@10.
|
|
13643
|
+
// node_modules/.bun/@sentry+node-core@10.49.0+327cdc98b26f66bc/node_modules/@sentry/node-core/build/esm/integrations/http/httpServerIntegration.js
|
|
13634
13644
|
import { subscribe } from "diagnostics_channel";
|
|
13635
13645
|
function addStartSpanCallback(request, callback) {
|
|
13636
13646
|
addNonEnumerableProperty(request, "_startSpanCallback", new WeakRef(callback));
|
|
@@ -13771,7 +13781,7 @@ var import_api3, HTTP_SERVER_INSTRUMENTED_KEY, INTEGRATION_NAME7 = "Http.Server"
|
|
|
13771
13781
|
};
|
|
13772
13782
|
}, httpServerIntegration;
|
|
13773
13783
|
var init_httpServerIntegration = __esm(() => {
|
|
13774
|
-
|
|
13784
|
+
init_esm3();
|
|
13775
13785
|
init_debug_build2();
|
|
13776
13786
|
init_captureRequestBody();
|
|
13777
13787
|
import_api3 = __toESM(require_src2(), 1);
|
|
@@ -13781,7 +13791,7 @@ var init_httpServerIntegration = __esm(() => {
|
|
|
13781
13791
|
httpServerIntegration = _httpServerIntegration;
|
|
13782
13792
|
});
|
|
13783
13793
|
|
|
13784
|
-
// node_modules/.bun/@sentry+node-core@10.
|
|
13794
|
+
// node_modules/.bun/@sentry+node-core@10.49.0+327cdc98b26f66bc/node_modules/@sentry/node-core/build/esm/integrations/http/httpServerSpansIntegration.js
|
|
13785
13795
|
import { errorMonitor } from "events";
|
|
13786
13796
|
function isKnownPrefetchRequest(req) {
|
|
13787
13797
|
return req.headers["next-router-prefetch"] === "1";
|
|
@@ -13800,7 +13810,7 @@ function shouldIgnoreSpansForIncomingRequest(request, {
|
|
|
13800
13810
|
ignoreStaticAssets,
|
|
13801
13811
|
ignoreIncomingRequests
|
|
13802
13812
|
}) {
|
|
13803
|
-
if (
|
|
13813
|
+
if (isTracingSuppressed(import_api4.context.active())) {
|
|
13804
13814
|
return true;
|
|
13805
13815
|
}
|
|
13806
13816
|
const urlPath = request.url;
|
|
@@ -13852,7 +13862,7 @@ function getIncomingRequestAttributesOnResponse(request, response) {
|
|
|
13852
13862
|
[import_semantic_conventions.SEMATTRS_HTTP_STATUS_CODE]: statusCode,
|
|
13853
13863
|
"http.status_text": statusMessage?.toUpperCase()
|
|
13854
13864
|
};
|
|
13855
|
-
const rpcMetadata =
|
|
13865
|
+
const rpcMetadata = getRPCMetadata(import_api4.context.active());
|
|
13856
13866
|
if (socket) {
|
|
13857
13867
|
const { localAddress, localPort, remoteAddress, remotePort } = socket;
|
|
13858
13868
|
newAttributes[import_semantic_conventions.SEMATTRS_NET_HOST_IP] = localAddress;
|
|
@@ -13862,7 +13872,7 @@ function getIncomingRequestAttributesOnResponse(request, response) {
|
|
|
13862
13872
|
}
|
|
13863
13873
|
newAttributes[import_semantic_conventions.SEMATTRS_HTTP_STATUS_CODE] = statusCode;
|
|
13864
13874
|
newAttributes["http.status_text"] = (statusMessage || "").toUpperCase();
|
|
13865
|
-
if (rpcMetadata?.type ===
|
|
13875
|
+
if (rpcMetadata?.type === RPCType.HTTP && rpcMetadata.route !== undefined) {
|
|
13866
13876
|
const routeName = rpcMetadata.route;
|
|
13867
13877
|
newAttributes[import_semantic_conventions.ATTR_HTTP_ROUTE] = routeName;
|
|
13868
13878
|
}
|
|
@@ -13877,7 +13887,7 @@ function shouldFilterStatusCode(statusCode, dropForStatusCodes) {
|
|
|
13877
13887
|
return statusCode >= min && statusCode <= max;
|
|
13878
13888
|
});
|
|
13879
13889
|
}
|
|
13880
|
-
var import_api4,
|
|
13890
|
+
var import_api4, import_semantic_conventions, INTEGRATION_NAME8 = "Http.ServerSpans", _httpServerSpansIntegration = (options = {}) => {
|
|
13881
13891
|
const ignoreStaticAssets = options.ignoreStaticAssets ?? true;
|
|
13882
13892
|
const ignoreIncomingRequests = options.ignoreIncomingRequests;
|
|
13883
13893
|
const ignoreStatusCodes = options.ignoreStatusCodes ?? [
|
|
@@ -13942,10 +13952,10 @@ var import_api4, import_core3, import_semantic_conventions, INTEGRATION_NAME8 =
|
|
|
13942
13952
|
applyCustomAttributesOnSpan?.(span, request, response);
|
|
13943
13953
|
onSpanCreated?.(span, request, response);
|
|
13944
13954
|
const rpcMetadata = {
|
|
13945
|
-
type:
|
|
13955
|
+
type: RPCType.HTTP,
|
|
13946
13956
|
span
|
|
13947
13957
|
};
|
|
13948
|
-
return import_api4.context.with(
|
|
13958
|
+
return import_api4.context.with(setRPCMetadata(import_api4.trace.setSpan(import_api4.context.active(), span), rpcMetadata), () => {
|
|
13949
13959
|
import_api4.context.bind(import_api4.context.active(), request);
|
|
13950
13960
|
import_api4.context.bind(import_api4.context.active(), response);
|
|
13951
13961
|
let isEnded = false;
|
|
@@ -14003,16 +14013,16 @@ var import_api4, import_core3, import_semantic_conventions, INTEGRATION_NAME8 =
|
|
|
14003
14013
|
};
|
|
14004
14014
|
}, httpServerSpansIntegration;
|
|
14005
14015
|
var init_httpServerSpansIntegration = __esm(() => {
|
|
14006
|
-
|
|
14016
|
+
init_esm();
|
|
14017
|
+
init_esm3();
|
|
14007
14018
|
init_debug_build2();
|
|
14008
14019
|
init_httpServerIntegration();
|
|
14009
14020
|
import_api4 = __toESM(require_src2(), 1);
|
|
14010
|
-
import_core3 = __toESM(require_src4(), 1);
|
|
14011
14021
|
import_semantic_conventions = __toESM(require_src3(), 1);
|
|
14012
14022
|
httpServerSpansIntegration = _httpServerSpansIntegration;
|
|
14013
14023
|
});
|
|
14014
14024
|
|
|
14015
|
-
// node_modules/.bun/@sentry+node-core@10.
|
|
14025
|
+
// node_modules/.bun/@sentry+node-core@10.49.0+327cdc98b26f66bc/node_modules/@sentry/node-core/build/esm/utils/baggage.js
|
|
14016
14026
|
function mergeBaggageHeaders(existing, baggage) {
|
|
14017
14027
|
if (!existing) {
|
|
14018
14028
|
return baggage;
|
|
@@ -14050,10 +14060,10 @@ function mergeBaggageHeaders(existing, baggage) {
|
|
|
14050
14060
|
return objectToBaggageHeader(mergedBaggageEntries);
|
|
14051
14061
|
}
|
|
14052
14062
|
var init_baggage2 = __esm(() => {
|
|
14053
|
-
|
|
14063
|
+
init_esm3();
|
|
14054
14064
|
});
|
|
14055
14065
|
|
|
14056
|
-
// node_modules/.bun/@sentry+node-core@10.
|
|
14066
|
+
// node_modules/.bun/@sentry+node-core@10.49.0+327cdc98b26f66bc/node_modules/@sentry/node-core/build/esm/utils/outgoingHttpRequest.js
|
|
14057
14067
|
function addRequestBreadcrumb(request, response) {
|
|
14058
14068
|
const data = getBreadcrumbData(request);
|
|
14059
14069
|
const statusCode = response?.statusCode;
|
|
@@ -14151,12 +14161,12 @@ function getClientRequestUrl(request) {
|
|
|
14151
14161
|
}
|
|
14152
14162
|
var LOG_PREFIX = "@sentry/instrumentation-http";
|
|
14153
14163
|
var init_outgoingHttpRequest = __esm(() => {
|
|
14154
|
-
|
|
14164
|
+
init_esm3();
|
|
14155
14165
|
init_debug_build2();
|
|
14156
14166
|
init_baggage2();
|
|
14157
14167
|
});
|
|
14158
14168
|
|
|
14159
|
-
// node_modules/.bun/@sentry+node-core@10.
|
|
14169
|
+
// node_modules/.bun/@sentry+node-core@10.49.0+327cdc98b26f66bc/node_modules/@sentry/node-core/build/esm/integrations/http/SentryHttpInstrumentation.js
|
|
14160
14170
|
import { subscribe as subscribe2, unsubscribe } from "diagnostics_channel";
|
|
14161
14171
|
import { errorMonitor as errorMonitor2 } from "events";
|
|
14162
14172
|
function _getOutgoingRequestSpanData(request) {
|
|
@@ -14230,15 +14240,15 @@ function isCompressed2(headers) {
|
|
|
14230
14240
|
const encoding = headers["content-encoding"];
|
|
14231
14241
|
return !!encoding && encoding !== "identity";
|
|
14232
14242
|
}
|
|
14233
|
-
var import_api5,
|
|
14243
|
+
var import_api5, import_instrumentation, import_semantic_conventions2, SentryHttpInstrumentation;
|
|
14234
14244
|
var init_SentryHttpInstrumentation = __esm(() => {
|
|
14235
|
-
|
|
14245
|
+
init_esm();
|
|
14246
|
+
init_esm3();
|
|
14236
14247
|
init_debug_build2();
|
|
14237
14248
|
init_constants8();
|
|
14238
14249
|
init_outgoingHttpRequest();
|
|
14239
14250
|
import_api5 = __toESM(require_src2(), 1);
|
|
14240
|
-
|
|
14241
|
-
import_instrumentation = __toESM(require_src7(), 1);
|
|
14251
|
+
import_instrumentation = __toESM(require_src6(), 1);
|
|
14242
14252
|
import_semantic_conventions2 = __toESM(require_src3(), 1);
|
|
14243
14253
|
SentryHttpInstrumentation = class SentryHttpInstrumentation extends import_instrumentation.InstrumentationBase {
|
|
14244
14254
|
constructor(config = {}) {
|
|
@@ -14379,7 +14389,7 @@ var init_SentryHttpInstrumentation = __esm(() => {
|
|
|
14379
14389
|
}
|
|
14380
14390
|
}
|
|
14381
14391
|
_shouldIgnoreOutgoingRequest(request) {
|
|
14382
|
-
if (
|
|
14392
|
+
if (isTracingSuppressed(import_api5.context.active())) {
|
|
14383
14393
|
return true;
|
|
14384
14394
|
}
|
|
14385
14395
|
const ignoreOutgoingRequests = this.getConfig().ignoreOutgoingRequests;
|
|
@@ -14393,16 +14403,16 @@ var init_SentryHttpInstrumentation = __esm(() => {
|
|
|
14393
14403
|
};
|
|
14394
14404
|
});
|
|
14395
14405
|
|
|
14396
|
-
// node_modules/.bun/@sentry+node-core@10.
|
|
14406
|
+
// node_modules/.bun/@sentry+node-core@10.49.0+327cdc98b26f66bc/node_modules/@sentry/node-core/build/esm/nodeVersion.js
|
|
14397
14407
|
var NODE_VERSION, NODE_MAJOR, NODE_MINOR;
|
|
14398
14408
|
var init_nodeVersion = __esm(() => {
|
|
14399
|
-
|
|
14409
|
+
init_esm3();
|
|
14400
14410
|
NODE_VERSION = parseSemver(process.versions.node);
|
|
14401
14411
|
NODE_MAJOR = NODE_VERSION.major;
|
|
14402
14412
|
NODE_MINOR = NODE_VERSION.minor;
|
|
14403
14413
|
});
|
|
14404
14414
|
|
|
14405
|
-
// node_modules/.bun/@sentry+node-core@10.
|
|
14415
|
+
// node_modules/.bun/@sentry+node-core@10.49.0+327cdc98b26f66bc/node_modules/@sentry/node-core/build/esm/utils/outgoingFetchRequest.js
|
|
14406
14416
|
function addTracePropagationHeadersToFetchRequest(request, propagationDecisionMap) {
|
|
14407
14417
|
const url = getAbsoluteUrl2(request.origin, request.path);
|
|
14408
14418
|
const { tracePropagationTargets, propagateTraceparent } = getClient()?.getOptions() || {};
|
|
@@ -14556,20 +14566,20 @@ function getAbsoluteUrl2(origin, path = "/") {
|
|
|
14556
14566
|
}
|
|
14557
14567
|
var SENTRY_TRACE_HEADER = "sentry-trace", SENTRY_BAGGAGE_HEADER = "baggage", W3C_TRACEPARENT_HEADER = "traceparent";
|
|
14558
14568
|
var init_outgoingFetchRequest = __esm(() => {
|
|
14559
|
-
|
|
14569
|
+
init_esm3();
|
|
14560
14570
|
init_baggage2();
|
|
14561
14571
|
});
|
|
14562
14572
|
|
|
14563
|
-
// node_modules/.bun/@sentry+node-core@10.
|
|
14573
|
+
// node_modules/.bun/@sentry+node-core@10.49.0+327cdc98b26f66bc/node_modules/@sentry/node-core/build/esm/integrations/node-fetch/SentryNodeFetchInstrumentation.js
|
|
14564
14574
|
import * as diagch from "diagnostics_channel";
|
|
14565
|
-
var import_api6,
|
|
14575
|
+
var import_api6, import_instrumentation2, SentryNodeFetchInstrumentation;
|
|
14566
14576
|
var init_SentryNodeFetchInstrumentation = __esm(() => {
|
|
14567
|
-
|
|
14577
|
+
init_esm();
|
|
14578
|
+
init_esm3();
|
|
14568
14579
|
init_nodeVersion();
|
|
14569
14580
|
init_outgoingFetchRequest();
|
|
14570
14581
|
import_api6 = __toESM(require_src2(), 1);
|
|
14571
|
-
|
|
14572
|
-
import_instrumentation2 = __toESM(require_src7(), 1);
|
|
14582
|
+
import_instrumentation2 = __toESM(require_src6(), 1);
|
|
14573
14583
|
SentryNodeFetchInstrumentation = class SentryNodeFetchInstrumentation extends import_instrumentation2.InstrumentationBase {
|
|
14574
14584
|
constructor(config = {}) {
|
|
14575
14585
|
super("@sentry/instrumentation-node-fetch", SDK_VERSION, config);
|
|
@@ -14639,7 +14649,7 @@ var init_SentryNodeFetchInstrumentation = __esm(() => {
|
|
|
14639
14649
|
});
|
|
14640
14650
|
}
|
|
14641
14651
|
_shouldIgnoreOutgoingRequest(request) {
|
|
14642
|
-
if (
|
|
14652
|
+
if (isTracingSuppressed(import_api6.context.active())) {
|
|
14643
14653
|
return true;
|
|
14644
14654
|
}
|
|
14645
14655
|
const url = getAbsoluteUrl2(request.origin, request.path);
|
|
@@ -14652,247 +14662,9 @@ var init_SentryNodeFetchInstrumentation = __esm(() => {
|
|
|
14652
14662
|
};
|
|
14653
14663
|
});
|
|
14654
14664
|
|
|
14655
|
-
// node_modules/.bun/@opentelemetry
|
|
14656
|
-
|
|
14657
|
-
|
|
14658
|
-
exports.AbstractAsyncHooksContextManager = undefined;
|
|
14659
|
-
var events_1 = __require("events");
|
|
14660
|
-
var ADD_LISTENER_METHODS = [
|
|
14661
|
-
"addListener",
|
|
14662
|
-
"on",
|
|
14663
|
-
"once",
|
|
14664
|
-
"prependListener",
|
|
14665
|
-
"prependOnceListener"
|
|
14666
|
-
];
|
|
14667
|
-
|
|
14668
|
-
class AbstractAsyncHooksContextManager {
|
|
14669
|
-
bind(context5, target) {
|
|
14670
|
-
if (target instanceof events_1.EventEmitter) {
|
|
14671
|
-
return this._bindEventEmitter(context5, target);
|
|
14672
|
-
}
|
|
14673
|
-
if (typeof target === "function") {
|
|
14674
|
-
return this._bindFunction(context5, target);
|
|
14675
|
-
}
|
|
14676
|
-
return target;
|
|
14677
|
-
}
|
|
14678
|
-
_bindFunction(context5, target) {
|
|
14679
|
-
const manager = this;
|
|
14680
|
-
const contextWrapper = function(...args) {
|
|
14681
|
-
return manager.with(context5, () => target.apply(this, args));
|
|
14682
|
-
};
|
|
14683
|
-
Object.defineProperty(contextWrapper, "length", {
|
|
14684
|
-
enumerable: false,
|
|
14685
|
-
configurable: true,
|
|
14686
|
-
writable: false,
|
|
14687
|
-
value: target.length
|
|
14688
|
-
});
|
|
14689
|
-
return contextWrapper;
|
|
14690
|
-
}
|
|
14691
|
-
_bindEventEmitter(context5, ee) {
|
|
14692
|
-
const map = this._getPatchMap(ee);
|
|
14693
|
-
if (map !== undefined)
|
|
14694
|
-
return ee;
|
|
14695
|
-
this._createPatchMap(ee);
|
|
14696
|
-
ADD_LISTENER_METHODS.forEach((methodName) => {
|
|
14697
|
-
if (ee[methodName] === undefined)
|
|
14698
|
-
return;
|
|
14699
|
-
ee[methodName] = this._patchAddListener(ee, ee[methodName], context5);
|
|
14700
|
-
});
|
|
14701
|
-
if (typeof ee.removeListener === "function") {
|
|
14702
|
-
ee.removeListener = this._patchRemoveListener(ee, ee.removeListener);
|
|
14703
|
-
}
|
|
14704
|
-
if (typeof ee.off === "function") {
|
|
14705
|
-
ee.off = this._patchRemoveListener(ee, ee.off);
|
|
14706
|
-
}
|
|
14707
|
-
if (typeof ee.removeAllListeners === "function") {
|
|
14708
|
-
ee.removeAllListeners = this._patchRemoveAllListeners(ee, ee.removeAllListeners);
|
|
14709
|
-
}
|
|
14710
|
-
return ee;
|
|
14711
|
-
}
|
|
14712
|
-
_patchRemoveListener(ee, original) {
|
|
14713
|
-
const contextManager = this;
|
|
14714
|
-
return function(event, listener) {
|
|
14715
|
-
const events = contextManager._getPatchMap(ee)?.[event];
|
|
14716
|
-
if (events === undefined) {
|
|
14717
|
-
return original.call(this, event, listener);
|
|
14718
|
-
}
|
|
14719
|
-
const patchedListener = events.get(listener);
|
|
14720
|
-
return original.call(this, event, patchedListener || listener);
|
|
14721
|
-
};
|
|
14722
|
-
}
|
|
14723
|
-
_patchRemoveAllListeners(ee, original) {
|
|
14724
|
-
const contextManager = this;
|
|
14725
|
-
return function(event) {
|
|
14726
|
-
const map = contextManager._getPatchMap(ee);
|
|
14727
|
-
if (map !== undefined) {
|
|
14728
|
-
if (arguments.length === 0) {
|
|
14729
|
-
contextManager._createPatchMap(ee);
|
|
14730
|
-
} else if (map[event] !== undefined) {
|
|
14731
|
-
delete map[event];
|
|
14732
|
-
}
|
|
14733
|
-
}
|
|
14734
|
-
return original.apply(this, arguments);
|
|
14735
|
-
};
|
|
14736
|
-
}
|
|
14737
|
-
_patchAddListener(ee, original, context5) {
|
|
14738
|
-
const contextManager = this;
|
|
14739
|
-
return function(event, listener) {
|
|
14740
|
-
if (contextManager._wrapped) {
|
|
14741
|
-
return original.call(this, event, listener);
|
|
14742
|
-
}
|
|
14743
|
-
let map = contextManager._getPatchMap(ee);
|
|
14744
|
-
if (map === undefined) {
|
|
14745
|
-
map = contextManager._createPatchMap(ee);
|
|
14746
|
-
}
|
|
14747
|
-
let listeners = map[event];
|
|
14748
|
-
if (listeners === undefined) {
|
|
14749
|
-
listeners = new WeakMap;
|
|
14750
|
-
map[event] = listeners;
|
|
14751
|
-
}
|
|
14752
|
-
const patchedListener = contextManager.bind(context5, listener);
|
|
14753
|
-
listeners.set(listener, patchedListener);
|
|
14754
|
-
contextManager._wrapped = true;
|
|
14755
|
-
try {
|
|
14756
|
-
return original.call(this, event, patchedListener);
|
|
14757
|
-
} finally {
|
|
14758
|
-
contextManager._wrapped = false;
|
|
14759
|
-
}
|
|
14760
|
-
};
|
|
14761
|
-
}
|
|
14762
|
-
_createPatchMap(ee) {
|
|
14763
|
-
const map = Object.create(null);
|
|
14764
|
-
ee[this._kOtListeners] = map;
|
|
14765
|
-
return map;
|
|
14766
|
-
}
|
|
14767
|
-
_getPatchMap(ee) {
|
|
14768
|
-
return ee[this._kOtListeners];
|
|
14769
|
-
}
|
|
14770
|
-
_kOtListeners = Symbol("OtListeners");
|
|
14771
|
-
_wrapped = false;
|
|
14772
|
-
}
|
|
14773
|
-
exports.AbstractAsyncHooksContextManager = AbstractAsyncHooksContextManager;
|
|
14774
|
-
});
|
|
14775
|
-
|
|
14776
|
-
// node_modules/.bun/@opentelemetry+context-async-hooks@2.6.1+e40b0dfdd726a224/node_modules/@opentelemetry/context-async-hooks/build/src/AsyncHooksContextManager.js
|
|
14777
|
-
var require_AsyncHooksContextManager = __commonJS((exports) => {
|
|
14778
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14779
|
-
exports.AsyncHooksContextManager = undefined;
|
|
14780
|
-
var api_1 = require_src2();
|
|
14781
|
-
var asyncHooks = __require("async_hooks");
|
|
14782
|
-
var AbstractAsyncHooksContextManager_1 = require_AbstractAsyncHooksContextManager();
|
|
14783
|
-
|
|
14784
|
-
class AsyncHooksContextManager extends AbstractAsyncHooksContextManager_1.AbstractAsyncHooksContextManager {
|
|
14785
|
-
_asyncHook;
|
|
14786
|
-
_contexts = new Map;
|
|
14787
|
-
_stack = [];
|
|
14788
|
-
constructor() {
|
|
14789
|
-
super();
|
|
14790
|
-
this._asyncHook = asyncHooks.createHook({
|
|
14791
|
-
init: this._init.bind(this),
|
|
14792
|
-
before: this._before.bind(this),
|
|
14793
|
-
after: this._after.bind(this),
|
|
14794
|
-
destroy: this._destroy.bind(this),
|
|
14795
|
-
promiseResolve: this._destroy.bind(this)
|
|
14796
|
-
});
|
|
14797
|
-
}
|
|
14798
|
-
active() {
|
|
14799
|
-
return this._stack[this._stack.length - 1] ?? api_1.ROOT_CONTEXT;
|
|
14800
|
-
}
|
|
14801
|
-
with(context5, fn, thisArg, ...args) {
|
|
14802
|
-
this._enterContext(context5);
|
|
14803
|
-
try {
|
|
14804
|
-
return fn.call(thisArg, ...args);
|
|
14805
|
-
} finally {
|
|
14806
|
-
this._exitContext();
|
|
14807
|
-
}
|
|
14808
|
-
}
|
|
14809
|
-
enable() {
|
|
14810
|
-
this._asyncHook.enable();
|
|
14811
|
-
return this;
|
|
14812
|
-
}
|
|
14813
|
-
disable() {
|
|
14814
|
-
this._asyncHook.disable();
|
|
14815
|
-
this._contexts.clear();
|
|
14816
|
-
this._stack = [];
|
|
14817
|
-
return this;
|
|
14818
|
-
}
|
|
14819
|
-
_init(uid, type) {
|
|
14820
|
-
if (type === "TIMERWRAP")
|
|
14821
|
-
return;
|
|
14822
|
-
const context5 = this._stack[this._stack.length - 1];
|
|
14823
|
-
if (context5 !== undefined) {
|
|
14824
|
-
this._contexts.set(uid, context5);
|
|
14825
|
-
}
|
|
14826
|
-
}
|
|
14827
|
-
_destroy(uid) {
|
|
14828
|
-
this._contexts.delete(uid);
|
|
14829
|
-
}
|
|
14830
|
-
_before(uid) {
|
|
14831
|
-
const context5 = this._contexts.get(uid);
|
|
14832
|
-
if (context5 !== undefined) {
|
|
14833
|
-
this._enterContext(context5);
|
|
14834
|
-
}
|
|
14835
|
-
}
|
|
14836
|
-
_after() {
|
|
14837
|
-
this._exitContext();
|
|
14838
|
-
}
|
|
14839
|
-
_enterContext(context5) {
|
|
14840
|
-
this._stack.push(context5);
|
|
14841
|
-
}
|
|
14842
|
-
_exitContext() {
|
|
14843
|
-
this._stack.pop();
|
|
14844
|
-
}
|
|
14845
|
-
}
|
|
14846
|
-
exports.AsyncHooksContextManager = AsyncHooksContextManager;
|
|
14847
|
-
});
|
|
14848
|
-
|
|
14849
|
-
// node_modules/.bun/@opentelemetry+context-async-hooks@2.6.1+e40b0dfdd726a224/node_modules/@opentelemetry/context-async-hooks/build/src/AsyncLocalStorageContextManager.js
|
|
14850
|
-
var require_AsyncLocalStorageContextManager = __commonJS((exports) => {
|
|
14851
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14852
|
-
exports.AsyncLocalStorageContextManager = undefined;
|
|
14853
|
-
var api_1 = require_src2();
|
|
14854
|
-
var async_hooks_1 = __require("async_hooks");
|
|
14855
|
-
var AbstractAsyncHooksContextManager_1 = require_AbstractAsyncHooksContextManager();
|
|
14856
|
-
|
|
14857
|
-
class AsyncLocalStorageContextManager extends AbstractAsyncHooksContextManager_1.AbstractAsyncHooksContextManager {
|
|
14858
|
-
_asyncLocalStorage;
|
|
14859
|
-
constructor() {
|
|
14860
|
-
super();
|
|
14861
|
-
this._asyncLocalStorage = new async_hooks_1.AsyncLocalStorage;
|
|
14862
|
-
}
|
|
14863
|
-
active() {
|
|
14864
|
-
return this._asyncLocalStorage.getStore() ?? api_1.ROOT_CONTEXT;
|
|
14865
|
-
}
|
|
14866
|
-
with(context5, fn, thisArg, ...args) {
|
|
14867
|
-
const cb = thisArg == null ? fn : fn.bind(thisArg);
|
|
14868
|
-
return this._asyncLocalStorage.run(context5, cb, ...args);
|
|
14869
|
-
}
|
|
14870
|
-
enable() {
|
|
14871
|
-
return this;
|
|
14872
|
-
}
|
|
14873
|
-
disable() {
|
|
14874
|
-
this._asyncLocalStorage.disable();
|
|
14875
|
-
return this;
|
|
14876
|
-
}
|
|
14877
|
-
}
|
|
14878
|
-
exports.AsyncLocalStorageContextManager = AsyncLocalStorageContextManager;
|
|
14879
|
-
});
|
|
14880
|
-
|
|
14881
|
-
// node_modules/.bun/@opentelemetry+context-async-hooks@2.6.1+e40b0dfdd726a224/node_modules/@opentelemetry/context-async-hooks/build/src/index.js
|
|
14882
|
-
var require_src9 = __commonJS((exports) => {
|
|
14883
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14884
|
-
exports.AsyncLocalStorageContextManager = exports.AsyncHooksContextManager = undefined;
|
|
14885
|
-
var AsyncHooksContextManager_1 = require_AsyncHooksContextManager();
|
|
14886
|
-
Object.defineProperty(exports, "AsyncHooksContextManager", { enumerable: true, get: function() {
|
|
14887
|
-
return AsyncHooksContextManager_1.AsyncHooksContextManager;
|
|
14888
|
-
} });
|
|
14889
|
-
var AsyncLocalStorageContextManager_1 = require_AsyncLocalStorageContextManager();
|
|
14890
|
-
Object.defineProperty(exports, "AsyncLocalStorageContextManager", { enumerable: true, get: function() {
|
|
14891
|
-
return AsyncLocalStorageContextManager_1.AsyncLocalStorageContextManager;
|
|
14892
|
-
} });
|
|
14893
|
-
});
|
|
14894
|
-
|
|
14895
|
-
// node_modules/.bun/@sentry+opentelemetry@10.48.0+c1edb7dae736216c/node_modules/@sentry/opentelemetry/build/esm/index.js
|
|
14665
|
+
// node_modules/.bun/@sentry+opentelemetry@10.49.0+a9de41b37105ec63/node_modules/@sentry/opentelemetry/build/esm/index.js
|
|
14666
|
+
import { AsyncLocalStorage } from "async_hooks";
|
|
14667
|
+
import { EventEmitter } from "events";
|
|
14896
14668
|
function getParentSpanId(span) {
|
|
14897
14669
|
if ("parentSpanId" in span) {
|
|
14898
14670
|
return span.parentSpanId;
|
|
@@ -14956,10 +14728,10 @@ function setScopesOnContext(context7, scopes) {
|
|
|
14956
14728
|
return context7.setValue(SENTRY_SCOPES_CONTEXT_KEY, scopes);
|
|
14957
14729
|
}
|
|
14958
14730
|
function setContextOnScope(scope, context7) {
|
|
14959
|
-
addNonEnumerableProperty(scope, SCOPE_CONTEXT_FIELD, context7);
|
|
14731
|
+
addNonEnumerableProperty(scope, SCOPE_CONTEXT_FIELD, makeWeakRef(context7));
|
|
14960
14732
|
}
|
|
14961
14733
|
function getContextFromScope(scope) {
|
|
14962
|
-
return scope[SCOPE_CONTEXT_FIELD];
|
|
14734
|
+
return derefWeakRef(scope[SCOPE_CONTEXT_FIELD]);
|
|
14963
14735
|
}
|
|
14964
14736
|
function getSamplingDecision(spanContext) {
|
|
14965
14737
|
const { traceFlags, traceState } = spanContext;
|
|
@@ -15151,7 +14923,7 @@ function makeTraceState({
|
|
|
15151
14923
|
sampled
|
|
15152
14924
|
}) {
|
|
15153
14925
|
const dscString = dsc ? dynamicSamplingContextToSentryBaggageHeader(dsc) : undefined;
|
|
15154
|
-
const traceStateBase = new
|
|
14926
|
+
const traceStateBase = new TraceState;
|
|
15155
14927
|
const traceStateWithDsc = dscString ? traceStateBase.set(SENTRY_TRACE_STATE_DSC, dscString) : traceStateBase;
|
|
15156
14928
|
return sampled === false ? traceStateWithDsc.set(SENTRY_TRACE_STATE_SAMPLED_NOT_RECORDING, "1") : traceStateWithDsc;
|
|
15157
14929
|
}
|
|
@@ -15275,10 +15047,10 @@ function _startSpan(options, callback, autoEnd) {
|
|
|
15275
15047
|
return wrapper(() => {
|
|
15276
15048
|
const activeCtx = getContext(options.scope, options.forceTransaction);
|
|
15277
15049
|
const shouldSkipSpan = options.onlyIfParent && !import_api7.trace.getSpan(activeCtx);
|
|
15278
|
-
const ctx = shouldSkipSpan ?
|
|
15050
|
+
const ctx = shouldSkipSpan ? suppressTracing(activeCtx) : activeCtx;
|
|
15279
15051
|
const spanOptions = getSpanOptions(options);
|
|
15280
15052
|
if (!hasSpansEnabled()) {
|
|
15281
|
-
const suppressedCtx =
|
|
15053
|
+
const suppressedCtx = isTracingSuppressed(ctx) ? ctx : suppressTracing(ctx);
|
|
15282
15054
|
return import_api7.context.with(suppressedCtx, () => {
|
|
15283
15055
|
return tracer.startActiveSpan(name, spanOptions, suppressedCtx, (span) => {
|
|
15284
15056
|
patchSpanEnd(span);
|
|
@@ -15315,10 +15087,10 @@ function startInactiveSpan2(options) {
|
|
|
15315
15087
|
return wrapper(() => {
|
|
15316
15088
|
const activeCtx = getContext(options.scope, options.forceTransaction);
|
|
15317
15089
|
const shouldSkipSpan = options.onlyIfParent && !import_api7.trace.getSpan(activeCtx);
|
|
15318
|
-
let ctx = shouldSkipSpan ?
|
|
15090
|
+
let ctx = shouldSkipSpan ? suppressTracing(activeCtx) : activeCtx;
|
|
15319
15091
|
const spanOptions = getSpanOptions(options);
|
|
15320
15092
|
if (!hasSpansEnabled()) {
|
|
15321
|
-
ctx =
|
|
15093
|
+
ctx = isTracingSuppressed(ctx) ? ctx : suppressTracing(ctx);
|
|
15322
15094
|
}
|
|
15323
15095
|
const span = tracer.startSpan(name, spanOptions, ctx);
|
|
15324
15096
|
patchSpanEnd(span);
|
|
@@ -15426,8 +15198,8 @@ function getActiveSpanWrapper2(parentSpan) {
|
|
|
15426
15198
|
return withActiveSpan2(parentSpan, callback);
|
|
15427
15199
|
} : (callback) => callback();
|
|
15428
15200
|
}
|
|
15429
|
-
function
|
|
15430
|
-
const ctx =
|
|
15201
|
+
function suppressTracing3(callback) {
|
|
15202
|
+
const ctx = suppressTracing(import_api7.context.active());
|
|
15431
15203
|
return import_api7.context.with(ctx, callback);
|
|
15432
15204
|
}
|
|
15433
15205
|
function setupEventContextTrace(client) {
|
|
@@ -15522,52 +15294,176 @@ function setOpenTelemetryContextAsyncContextStrategy() {
|
|
|
15522
15294
|
startSpanManual: startSpanManual2,
|
|
15523
15295
|
startInactiveSpan: startInactiveSpan2,
|
|
15524
15296
|
getActiveSpan: getActiveSpan2,
|
|
15525
|
-
suppressTracing:
|
|
15297
|
+
suppressTracing: suppressTracing3,
|
|
15526
15298
|
getTraceData: getTraceData2,
|
|
15527
15299
|
continueTrace: continueTrace2,
|
|
15528
15300
|
startNewTrace: startNewTrace2,
|
|
15529
15301
|
withActiveSpan: withActiveSpan2
|
|
15530
15302
|
});
|
|
15531
15303
|
}
|
|
15532
|
-
function
|
|
15304
|
+
function buildContextWithSentryScopes(context7, activeContext) {
|
|
15305
|
+
const span = import_api7.trace.getSpan(context7);
|
|
15306
|
+
let effectiveContext;
|
|
15307
|
+
if (span?.spanContext().traceState?.get(SENTRY_TRACE_STATE_CHILD_IGNORED) === "1") {
|
|
15308
|
+
const contextWithoutSpan = import_api7.trace.deleteSpan(context7);
|
|
15309
|
+
const parentSpan = import_api7.trace.getSpan(activeContext);
|
|
15310
|
+
effectiveContext = parentSpan ? import_api7.trace.setSpan(contextWithoutSpan, parentSpan) : contextWithoutSpan;
|
|
15311
|
+
} else {
|
|
15312
|
+
effectiveContext = context7;
|
|
15313
|
+
}
|
|
15314
|
+
const currentScopes = getScopesFromContext(effectiveContext);
|
|
15315
|
+
const currentScope = currentScopes?.scope || getCurrentScope();
|
|
15316
|
+
const currentIsolationScope = currentScopes?.isolationScope || getIsolationScope();
|
|
15317
|
+
const shouldForkIsolationScope = effectiveContext.getValue(SENTRY_FORK_ISOLATION_SCOPE_CONTEXT_KEY) === true;
|
|
15318
|
+
const scope = effectiveContext.getValue(SENTRY_FORK_SET_SCOPE_CONTEXT_KEY);
|
|
15319
|
+
const isolationScope = effectiveContext.getValue(SENTRY_FORK_SET_ISOLATION_SCOPE_CONTEXT_KEY);
|
|
15320
|
+
const newCurrentScope = scope || currentScope.clone();
|
|
15321
|
+
const newIsolationScope = isolationScope || (shouldForkIsolationScope ? currentIsolationScope.clone() : currentIsolationScope);
|
|
15322
|
+
const scopes = { scope: newCurrentScope, isolationScope: newIsolationScope };
|
|
15323
|
+
const ctx1 = setScopesOnContext(effectiveContext, scopes);
|
|
15324
|
+
const ctx2 = ctx1.deleteValue(SENTRY_FORK_ISOLATION_SCOPE_CONTEXT_KEY).deleteValue(SENTRY_FORK_SET_SCOPE_CONTEXT_KEY).deleteValue(SENTRY_FORK_SET_ISOLATION_SCOPE_CONTEXT_KEY);
|
|
15325
|
+
setContextOnScope(newCurrentScope, ctx2);
|
|
15326
|
+
return ctx2;
|
|
15327
|
+
}
|
|
15533
15328
|
|
|
15534
|
-
|
|
15535
|
-
|
|
15536
|
-
|
|
15537
|
-
|
|
15329
|
+
class SentryAsyncLocalStorageContextManager {
|
|
15330
|
+
__init() {
|
|
15331
|
+
this._asyncLocalStorage = new AsyncLocalStorage;
|
|
15332
|
+
}
|
|
15333
|
+
__init2() {
|
|
15334
|
+
this._kOtListeners = Symbol("OtListeners");
|
|
15335
|
+
}
|
|
15336
|
+
__init3() {
|
|
15337
|
+
this._wrapped = false;
|
|
15338
|
+
}
|
|
15339
|
+
constructor() {
|
|
15340
|
+
SentryAsyncLocalStorageContextManager.prototype.__init.call(this);
|
|
15341
|
+
SentryAsyncLocalStorageContextManager.prototype.__init2.call(this);
|
|
15342
|
+
SentryAsyncLocalStorageContextManager.prototype.__init3.call(this);
|
|
15343
|
+
setIsSetup("SentryContextManager");
|
|
15344
|
+
}
|
|
15345
|
+
active() {
|
|
15346
|
+
return this._asyncLocalStorage.getStore() ?? import_api7.ROOT_CONTEXT;
|
|
15347
|
+
}
|
|
15348
|
+
with(context7, fn, thisArg, ...args) {
|
|
15349
|
+
const ctx2 = buildContextWithSentryScopes(context7, this.active());
|
|
15350
|
+
const cb = thisArg == null ? fn : fn.bind(thisArg);
|
|
15351
|
+
return this._asyncLocalStorage.run(ctx2, cb, ...args);
|
|
15352
|
+
}
|
|
15353
|
+
enable() {
|
|
15354
|
+
return this;
|
|
15355
|
+
}
|
|
15356
|
+
disable() {
|
|
15357
|
+
this._asyncLocalStorage.disable();
|
|
15358
|
+
return this;
|
|
15359
|
+
}
|
|
15360
|
+
bind(context7, target) {
|
|
15361
|
+
if (target instanceof EventEmitter) {
|
|
15362
|
+
return this._bindEventEmitter(context7, target);
|
|
15538
15363
|
}
|
|
15539
|
-
|
|
15540
|
-
|
|
15541
|
-
let effectiveContext;
|
|
15542
|
-
if (span?.spanContext().traceState?.get(SENTRY_TRACE_STATE_CHILD_IGNORED) === "1") {
|
|
15543
|
-
const contextWithoutSpan = import_api7.trace.deleteSpan(context7);
|
|
15544
|
-
const parentSpan = import_api7.trace.getSpan(this.active());
|
|
15545
|
-
effectiveContext = parentSpan ? import_api7.trace.setSpan(contextWithoutSpan, parentSpan) : contextWithoutSpan;
|
|
15546
|
-
} else {
|
|
15547
|
-
effectiveContext = context7;
|
|
15548
|
-
}
|
|
15549
|
-
const currentScopes = getScopesFromContext(effectiveContext);
|
|
15550
|
-
const currentScope = currentScopes?.scope || getCurrentScope();
|
|
15551
|
-
const currentIsolationScope = currentScopes?.isolationScope || getIsolationScope();
|
|
15552
|
-
const shouldForkIsolationScope = effectiveContext.getValue(SENTRY_FORK_ISOLATION_SCOPE_CONTEXT_KEY) === true;
|
|
15553
|
-
const scope = effectiveContext.getValue(SENTRY_FORK_SET_SCOPE_CONTEXT_KEY);
|
|
15554
|
-
const isolationScope = effectiveContext.getValue(SENTRY_FORK_SET_ISOLATION_SCOPE_CONTEXT_KEY);
|
|
15555
|
-
const newCurrentScope = scope || currentScope.clone();
|
|
15556
|
-
const newIsolationScope = isolationScope || (shouldForkIsolationScope ? currentIsolationScope.clone() : currentIsolationScope);
|
|
15557
|
-
const scopes = { scope: newCurrentScope, isolationScope: newIsolationScope };
|
|
15558
|
-
const ctx1 = setScopesOnContext(effectiveContext, scopes);
|
|
15559
|
-
const ctx2 = ctx1.deleteValue(SENTRY_FORK_ISOLATION_SCOPE_CONTEXT_KEY).deleteValue(SENTRY_FORK_SET_SCOPE_CONTEXT_KEY).deleteValue(SENTRY_FORK_SET_ISOLATION_SCOPE_CONTEXT_KEY);
|
|
15560
|
-
setContextOnScope(newCurrentScope, ctx2);
|
|
15561
|
-
return super.with(ctx2, fn, thisArg, ...args);
|
|
15562
|
-
}
|
|
15563
|
-
getAsyncLocalStorageLookup() {
|
|
15564
|
-
return {
|
|
15565
|
-
asyncLocalStorage: this._asyncLocalStorage,
|
|
15566
|
-
contextSymbol: SENTRY_SCOPES_CONTEXT_KEY
|
|
15567
|
-
};
|
|
15364
|
+
if (typeof target === "function") {
|
|
15365
|
+
return this._bindFunction(context7, target);
|
|
15568
15366
|
}
|
|
15367
|
+
return target;
|
|
15368
|
+
}
|
|
15369
|
+
getAsyncLocalStorageLookup() {
|
|
15370
|
+
return {
|
|
15371
|
+
asyncLocalStorage: this._asyncLocalStorage,
|
|
15372
|
+
contextSymbol: SENTRY_SCOPES_CONTEXT_KEY
|
|
15373
|
+
};
|
|
15374
|
+
}
|
|
15375
|
+
_bindFunction(context7, target) {
|
|
15376
|
+
const managerWith = this.with.bind(this);
|
|
15377
|
+
const contextWrapper = function(...args) {
|
|
15378
|
+
return managerWith(context7, () => target.apply(this, args));
|
|
15379
|
+
};
|
|
15380
|
+
Object.defineProperty(contextWrapper, "length", {
|
|
15381
|
+
enumerable: false,
|
|
15382
|
+
configurable: true,
|
|
15383
|
+
writable: false,
|
|
15384
|
+
value: target.length
|
|
15385
|
+
});
|
|
15386
|
+
return contextWrapper;
|
|
15387
|
+
}
|
|
15388
|
+
_bindEventEmitter(context7, ee) {
|
|
15389
|
+
if (this._getPatchMap(ee) !== undefined) {
|
|
15390
|
+
return ee;
|
|
15391
|
+
}
|
|
15392
|
+
this._createPatchMap(ee);
|
|
15393
|
+
for (const methodName of ADD_LISTENER_METHODS) {
|
|
15394
|
+
if (ee[methodName] === undefined)
|
|
15395
|
+
continue;
|
|
15396
|
+
ee[methodName] = this._patchAddListener(ee, ee[methodName], context7);
|
|
15397
|
+
}
|
|
15398
|
+
if (typeof ee.removeListener === "function") {
|
|
15399
|
+
ee.removeListener = this._patchRemoveListener(ee, ee.removeListener);
|
|
15400
|
+
}
|
|
15401
|
+
if (typeof ee.off === "function") {
|
|
15402
|
+
ee.off = this._patchRemoveListener(ee, ee.off);
|
|
15403
|
+
}
|
|
15404
|
+
if (typeof ee.removeAllListeners === "function") {
|
|
15405
|
+
ee.removeAllListeners = this._patchRemoveAllListeners(ee, ee.removeAllListeners);
|
|
15406
|
+
}
|
|
15407
|
+
return ee;
|
|
15408
|
+
}
|
|
15409
|
+
_patchRemoveListener(ee, original) {
|
|
15410
|
+
const contextManager = this;
|
|
15411
|
+
return function(event, listener) {
|
|
15412
|
+
const events = contextManager._getPatchMap(ee)?.[event];
|
|
15413
|
+
if (events === undefined) {
|
|
15414
|
+
return original.call(this, event, listener);
|
|
15415
|
+
}
|
|
15416
|
+
const patchedListener = events.get(listener);
|
|
15417
|
+
return original.call(this, event, patchedListener || listener);
|
|
15418
|
+
};
|
|
15419
|
+
}
|
|
15420
|
+
_patchRemoveAllListeners(ee, original) {
|
|
15421
|
+
const contextManager = this;
|
|
15422
|
+
return function(event) {
|
|
15423
|
+
const map = contextManager._getPatchMap(ee);
|
|
15424
|
+
if (map !== undefined) {
|
|
15425
|
+
if (arguments.length === 0) {
|
|
15426
|
+
contextManager._createPatchMap(ee);
|
|
15427
|
+
} else if (event !== undefined && map[event] !== undefined) {
|
|
15428
|
+
delete map[event];
|
|
15429
|
+
}
|
|
15430
|
+
}
|
|
15431
|
+
return original.apply(this, arguments);
|
|
15432
|
+
};
|
|
15433
|
+
}
|
|
15434
|
+
_patchAddListener(ee, original, context7) {
|
|
15435
|
+
const contextManager = this;
|
|
15436
|
+
return function(event, listener) {
|
|
15437
|
+
if (contextManager._wrapped) {
|
|
15438
|
+
return original.call(this, event, listener);
|
|
15439
|
+
}
|
|
15440
|
+
let map = contextManager._getPatchMap(ee);
|
|
15441
|
+
if (map === undefined) {
|
|
15442
|
+
map = contextManager._createPatchMap(ee);
|
|
15443
|
+
}
|
|
15444
|
+
let listeners = map[event];
|
|
15445
|
+
if (listeners === undefined) {
|
|
15446
|
+
listeners = new WeakMap;
|
|
15447
|
+
map[event] = listeners;
|
|
15448
|
+
}
|
|
15449
|
+
const patchedListener = contextManager.bind(context7, listener);
|
|
15450
|
+
listeners.set(listener, patchedListener);
|
|
15451
|
+
contextManager._wrapped = true;
|
|
15452
|
+
try {
|
|
15453
|
+
return original.call(this, event, patchedListener);
|
|
15454
|
+
} finally {
|
|
15455
|
+
contextManager._wrapped = false;
|
|
15456
|
+
}
|
|
15457
|
+
};
|
|
15458
|
+
}
|
|
15459
|
+
_createPatchMap(ee) {
|
|
15460
|
+
const map = Object.create(null);
|
|
15461
|
+
ee[this._kOtListeners] = map;
|
|
15462
|
+
return map;
|
|
15463
|
+
}
|
|
15464
|
+
_getPatchMap(ee) {
|
|
15465
|
+
return ee[this._kOtListeners];
|
|
15569
15466
|
}
|
|
15570
|
-
return SentryContextManager;
|
|
15571
15467
|
}
|
|
15572
15468
|
function groupSpansWithParents(spans) {
|
|
15573
15469
|
const nodeMap = new Map;
|
|
@@ -16119,7 +16015,7 @@ function wrapSamplingDecision({
|
|
|
16119
16015
|
function getBaseTraceState(context7, spanAttributes) {
|
|
16120
16016
|
const parentSpan = import_api7.trace.getSpan(context7);
|
|
16121
16017
|
const parentContext = parentSpan?.spanContext();
|
|
16122
|
-
let traceState = parentContext?.traceState || new
|
|
16018
|
+
let traceState = parentContext?.traceState || new TraceState;
|
|
16123
16019
|
const url = spanAttributes[import_semantic_conventions3.SEMATTRS_HTTP_URL] || spanAttributes[import_semantic_conventions3.ATTR_URL_FULL];
|
|
16124
16020
|
if (url && typeof url === "string") {
|
|
16125
16021
|
traceState = traceState.set(SENTRY_TRACE_STATE_URL, url);
|
|
@@ -16130,30 +16026,58 @@ function getValidSpan(context7) {
|
|
|
16130
16026
|
const span = import_api7.trace.getSpan(context7);
|
|
16131
16027
|
return span && import_api7.isSpanContextValid(span.spanContext()) ? span : undefined;
|
|
16132
16028
|
}
|
|
16133
|
-
|
|
16029
|
+
|
|
16030
|
+
class SentryResource {
|
|
16031
|
+
constructor(attributes) {
|
|
16032
|
+
this._attributes = attributes;
|
|
16033
|
+
}
|
|
16034
|
+
get attributes() {
|
|
16035
|
+
return this._attributes;
|
|
16036
|
+
}
|
|
16037
|
+
merge(other) {
|
|
16038
|
+
if (!other) {
|
|
16039
|
+
return this;
|
|
16040
|
+
}
|
|
16041
|
+
return new SentryResource({ ...this._attributes, ...other.attributes });
|
|
16042
|
+
}
|
|
16043
|
+
getRawAttributes() {
|
|
16044
|
+
return Object.entries(this._attributes);
|
|
16045
|
+
}
|
|
16046
|
+
}
|
|
16047
|
+
function getSentryResource(serviceName) {
|
|
16048
|
+
return new SentryResource({
|
|
16049
|
+
[import_semantic_conventions3.ATTR_SERVICE_NAME]: serviceName,
|
|
16050
|
+
[import_semantic_conventions3.SEMRESATTRS_SERVICE_NAMESPACE]: "sentry",
|
|
16051
|
+
[import_semantic_conventions3.ATTR_SERVICE_VERSION]: SDK_VERSION,
|
|
16052
|
+
[import_semantic_conventions3.ATTR_TELEMETRY_SDK_LANGUAGE]: SDK_INFO[import_semantic_conventions3.ATTR_TELEMETRY_SDK_LANGUAGE],
|
|
16053
|
+
[import_semantic_conventions3.ATTR_TELEMETRY_SDK_NAME]: SDK_INFO[import_semantic_conventions3.ATTR_TELEMETRY_SDK_NAME],
|
|
16054
|
+
[import_semantic_conventions3.ATTR_TELEMETRY_SDK_VERSION]: SDK_INFO[import_semantic_conventions3.ATTR_TELEMETRY_SDK_VERSION]
|
|
16055
|
+
});
|
|
16056
|
+
}
|
|
16057
|
+
var import_semantic_conventions3, api, import_api7, SEMANTIC_ATTRIBUTE_SENTRY_PARENT_IS_REMOTE = "sentry.parentIsRemote", SEMANTIC_ATTRIBUTE_SENTRY_GRAPHQL_OPERATION = "sentry.graphql.operation", SENTRY_TRACE_HEADER2 = "sentry-trace", SENTRY_BAGGAGE_HEADER2 = "baggage", SENTRY_TRACE_STATE_DSC = "sentry.dsc", SENTRY_TRACE_STATE_SAMPLED_NOT_RECORDING = "sentry.sampled_not_recording", SENTRY_TRACE_STATE_URL = "sentry.url", SENTRY_TRACE_STATE_SAMPLE_RAND = "sentry.sample_rand", SENTRY_TRACE_STATE_SAMPLE_RATE = "sentry.sample_rate", SENTRY_TRACE_STATE_CHILD_IGNORED = "sentry.ignored", SENTRY_TRACE_STATE_SEGMENT_IGNORED = "sentry.segment_ignored", SENTRY_SCOPES_CONTEXT_KEY, SENTRY_FORK_ISOLATION_SCOPE_CONTEXT_KEY, SENTRY_FORK_SET_SCOPE_CONTEXT_KEY, SENTRY_FORK_SET_ISOLATION_SCOPE_CONTEXT_KEY, SCOPE_CONTEXT_FIELD = "_scopeContext", DEBUG_BUILD3, setupElements, SentryPropagator, ADD_LISTENER_METHODS, canonicalGrpcErrorCodesMap, isStatusErrorMessageValid = (message) => {
|
|
16134
16058
|
return Object.values(canonicalGrpcErrorCodesMap).includes(message);
|
|
16135
16059
|
}, MAX_SPAN_COUNT2 = 1000, DEFAULT_TIMEOUT = 300;
|
|
16136
|
-
var
|
|
16137
|
-
|
|
16060
|
+
var init_esm4 = __esm(() => {
|
|
16061
|
+
init_esm3();
|
|
16138
16062
|
init_esm();
|
|
16063
|
+
init_esm2();
|
|
16139
16064
|
import_semantic_conventions3 = __toESM(require_src3(), 1);
|
|
16140
16065
|
api = __toESM(require_src2(), 1);
|
|
16141
16066
|
import_api7 = __toESM(require_src2(), 1);
|
|
16142
|
-
import_core14 = __toESM(require_src4(), 1);
|
|
16143
16067
|
SENTRY_SCOPES_CONTEXT_KEY = import_api7.createContextKey("sentry_scopes");
|
|
16144
16068
|
SENTRY_FORK_ISOLATION_SCOPE_CONTEXT_KEY = import_api7.createContextKey("sentry_fork_isolation_scope");
|
|
16145
16069
|
SENTRY_FORK_SET_SCOPE_CONTEXT_KEY = import_api7.createContextKey("sentry_fork_set_scope");
|
|
16146
16070
|
SENTRY_FORK_SET_ISOLATION_SCOPE_CONTEXT_KEY = import_api7.createContextKey("sentry_fork_set_isolation_scope");
|
|
16147
16071
|
DEBUG_BUILD3 = typeof __SENTRY_DEBUG__ === "undefined" || __SENTRY_DEBUG__;
|
|
16148
16072
|
setupElements = new Set;
|
|
16149
|
-
SentryPropagator = class SentryPropagator extends
|
|
16073
|
+
SentryPropagator = class SentryPropagator extends W3CBaggagePropagator {
|
|
16150
16074
|
constructor() {
|
|
16151
16075
|
super();
|
|
16152
16076
|
setIsSetup("SentryPropagator");
|
|
16153
16077
|
this._urlMatchesTargetsMap = new LRUMap(100);
|
|
16154
16078
|
}
|
|
16155
16079
|
inject(context7, carrier, setter) {
|
|
16156
|
-
if (
|
|
16080
|
+
if (isTracingSuppressed(context7)) {
|
|
16157
16081
|
DEBUG_BUILD3 && debug.log("[Tracing] Not injecting trace data for url because tracing is suppressed.");
|
|
16158
16082
|
return;
|
|
16159
16083
|
}
|
|
@@ -16205,6 +16129,7 @@ var init_esm3 = __esm(() => {
|
|
|
16205
16129
|
return [SENTRY_TRACE_HEADER2, SENTRY_BAGGAGE_HEADER2, "traceparent"];
|
|
16206
16130
|
}
|
|
16207
16131
|
};
|
|
16132
|
+
ADD_LISTENER_METHODS = ["addListener", "on", "once", "prependListener", "prependOnceListener"];
|
|
16208
16133
|
canonicalGrpcErrorCodesMap = {
|
|
16209
16134
|
"1": "cancelled",
|
|
16210
16135
|
"2": "unknown_error",
|
|
@@ -16225,15 +16150,14 @@ var init_esm3 = __esm(() => {
|
|
|
16225
16150
|
};
|
|
16226
16151
|
});
|
|
16227
16152
|
|
|
16228
|
-
// node_modules/.bun/@sentry+node-core@10.
|
|
16229
|
-
var
|
|
16153
|
+
// node_modules/.bun/@sentry+node-core@10.49.0+327cdc98b26f66bc/node_modules/@sentry/node-core/build/esm/otel/contextManager.js
|
|
16154
|
+
var SentryContextManager;
|
|
16230
16155
|
var init_contextManager = __esm(() => {
|
|
16231
|
-
|
|
16232
|
-
|
|
16233
|
-
SentryContextManager = wrapContextManagerClass(import_context_async_hooks.AsyncLocalStorageContextManager);
|
|
16156
|
+
init_esm4();
|
|
16157
|
+
SentryContextManager = SentryAsyncLocalStorageContextManager;
|
|
16234
16158
|
});
|
|
16235
16159
|
|
|
16236
|
-
// node_modules/.bun/@sentry+node-core@10.
|
|
16160
|
+
// node_modules/.bun/@sentry+node-core@10.49.0+327cdc98b26f66bc/node_modules/@sentry/node-core/build/esm/otel/logger.js
|
|
16237
16161
|
function setupOpenTelemetryLogger() {
|
|
16238
16162
|
import_api8.diag.disable();
|
|
16239
16163
|
import_api8.diag.setLogger({
|
|
@@ -16246,11 +16170,11 @@ function setupOpenTelemetryLogger() {
|
|
|
16246
16170
|
}
|
|
16247
16171
|
var import_api8;
|
|
16248
16172
|
var init_logger = __esm(() => {
|
|
16249
|
-
|
|
16173
|
+
init_esm3();
|
|
16250
16174
|
import_api8 = __toESM(require_src2(), 1);
|
|
16251
16175
|
});
|
|
16252
16176
|
|
|
16253
|
-
// node_modules/.bun/@sentry+node-core@10.
|
|
16177
|
+
// node_modules/.bun/@sentry+node-core@10.49.0+327cdc98b26f66bc/node_modules/@sentry/node-core/build/esm/otel/instrument.js
|
|
16254
16178
|
function generateInstrumentOnce(name, creatorOrClass, optionsCallback) {
|
|
16255
16179
|
if (optionsCallback) {
|
|
16256
16180
|
return _generateInstrumentOnceWithOptions(name, creatorOrClass, optionsCallback);
|
|
@@ -16318,11 +16242,11 @@ function hasWrap(instrumentation) {
|
|
|
16318
16242
|
}
|
|
16319
16243
|
var import_instrumentation3, INSTRUMENTED;
|
|
16320
16244
|
var init_instrument = __esm(() => {
|
|
16321
|
-
import_instrumentation3 = __toESM(
|
|
16245
|
+
import_instrumentation3 = __toESM(require_src6(), 1);
|
|
16322
16246
|
INSTRUMENTED = {};
|
|
16323
16247
|
});
|
|
16324
16248
|
|
|
16325
|
-
// node_modules/.bun/@sentry+node-core@10.
|
|
16249
|
+
// node_modules/.bun/@sentry+node-core@10.49.0+327cdc98b26f66bc/node_modules/@sentry/node-core/build/esm/integrations/childProcess.js
|
|
16326
16250
|
import * as diagnosticsChannel from "diagnostics_channel";
|
|
16327
16251
|
function captureChildProcessEvents(child, options) {
|
|
16328
16252
|
let hasExited = false;
|
|
@@ -16381,7 +16305,7 @@ function captureWorkerThreadEvents(worker, options) {
|
|
|
16381
16305
|
}
|
|
16382
16306
|
var INTEGRATION_NAME9 = "ChildProcess", childProcessIntegration;
|
|
16383
16307
|
var init_childProcess = __esm(() => {
|
|
16384
|
-
|
|
16308
|
+
init_esm3();
|
|
16385
16309
|
childProcessIntegration = defineIntegration((options = {}) => {
|
|
16386
16310
|
return {
|
|
16387
16311
|
name: INTEGRATION_NAME9,
|
|
@@ -16401,7 +16325,7 @@ var init_childProcess = __esm(() => {
|
|
|
16401
16325
|
});
|
|
16402
16326
|
});
|
|
16403
16327
|
|
|
16404
|
-
// node_modules/.bun/@sentry+node-core@10.
|
|
16328
|
+
// node_modules/.bun/@sentry+node-core@10.49.0+327cdc98b26f66bc/node_modules/@sentry/node-core/build/esm/integrations/context.js
|
|
16405
16329
|
import { execFile } from "child_process";
|
|
16406
16330
|
import { readFile, readdir } from "fs";
|
|
16407
16331
|
import * as os from "os";
|
|
@@ -16649,7 +16573,7 @@ var readFileAsync, readDirAsync, INTEGRATION_NAME10 = "Context", _nodeContextInt
|
|
|
16649
16573
|
};
|
|
16650
16574
|
}, nodeContextIntegration, PLATFORM_NAMES, LINUX_DISTROS, LINUX_VERSIONS;
|
|
16651
16575
|
var init_context = __esm(() => {
|
|
16652
|
-
|
|
16576
|
+
init_esm3();
|
|
16653
16577
|
readFileAsync = promisify(readFile);
|
|
16654
16578
|
readDirAsync = promisify(readdir);
|
|
16655
16579
|
nodeContextIntegration = defineIntegration(_nodeContextIntegration);
|
|
@@ -16688,7 +16612,7 @@ var init_context = __esm(() => {
|
|
|
16688
16612
|
};
|
|
16689
16613
|
});
|
|
16690
16614
|
|
|
16691
|
-
// node_modules/.bun/@sentry+node-core@10.
|
|
16615
|
+
// node_modules/.bun/@sentry+node-core@10.49.0+327cdc98b26f66bc/node_modules/@sentry/node-core/build/esm/integrations/contextlines.js
|
|
16692
16616
|
import { createReadStream } from "fs";
|
|
16693
16617
|
import { createInterface } from "readline";
|
|
16694
16618
|
function emplace(map, key, contents) {
|
|
@@ -16932,17 +16856,17 @@ var LRU_FILE_CONTENTS_CACHE, LRU_FILE_CONTENTS_FS_READ_FAILED, DEFAULT_LINES_OF_
|
|
|
16932
16856
|
};
|
|
16933
16857
|
}, contextLinesIntegration;
|
|
16934
16858
|
var init_contextlines = __esm(() => {
|
|
16935
|
-
|
|
16859
|
+
init_esm3();
|
|
16936
16860
|
init_debug_build2();
|
|
16937
16861
|
LRU_FILE_CONTENTS_CACHE = new LRUMap(10);
|
|
16938
16862
|
LRU_FILE_CONTENTS_FS_READ_FAILED = new LRUMap(20);
|
|
16939
16863
|
contextLinesIntegration = defineIntegration(_contextLinesIntegration);
|
|
16940
16864
|
});
|
|
16941
16865
|
|
|
16942
|
-
// node_modules/.bun/@sentry+node-core@10.
|
|
16866
|
+
// node_modules/.bun/@sentry+node-core@10.49.0+327cdc98b26f66bc/node_modules/@sentry/node-core/build/esm/integrations/http/index.js
|
|
16943
16867
|
var INTEGRATION_NAME12 = "Http", instrumentSentryHttp, httpIntegration;
|
|
16944
16868
|
var init_http = __esm(() => {
|
|
16945
|
-
|
|
16869
|
+
init_esm3();
|
|
16946
16870
|
init_instrument();
|
|
16947
16871
|
init_httpServerIntegration();
|
|
16948
16872
|
init_httpServerSpansIntegration();
|
|
@@ -16990,7 +16914,7 @@ var init_http = __esm(() => {
|
|
|
16990
16914
|
});
|
|
16991
16915
|
});
|
|
16992
16916
|
|
|
16993
|
-
// node_modules/.bun/@sentry+node-core@10.
|
|
16917
|
+
// node_modules/.bun/@sentry+node-core@10.49.0+327cdc98b26f66bc/node_modules/@sentry/node-core/build/esm/utils/debug.js
|
|
16994
16918
|
async function isDebuggerEnabled() {
|
|
16995
16919
|
if (cachedDebuggerEnabled === undefined) {
|
|
16996
16920
|
try {
|
|
@@ -17005,7 +16929,7 @@ async function isDebuggerEnabled() {
|
|
|
17005
16929
|
var cachedDebuggerEnabled;
|
|
17006
16930
|
var init_debug2 = () => {};
|
|
17007
16931
|
|
|
17008
|
-
// node_modules/.bun/@sentry+node-core@10.
|
|
16932
|
+
// node_modules/.bun/@sentry+node-core@10.49.0+327cdc98b26f66bc/node_modules/@sentry/node-core/build/esm/integrations/local-variables/common.js
|
|
17009
16933
|
function createRateLimiter(maxPerSecond, enable2, disable2) {
|
|
17010
16934
|
let count = 0;
|
|
17011
16935
|
let retrySeconds = 5;
|
|
@@ -17041,14 +16965,14 @@ function functionNamesMatch(a, b) {
|
|
|
17041
16965
|
var LOCAL_VARIABLES_KEY = "__SENTRY_ERROR_LOCAL_VARIABLES__";
|
|
17042
16966
|
var init_common = () => {};
|
|
17043
16967
|
|
|
17044
|
-
// node_modules/.bun/@sentry+node-core@10.
|
|
16968
|
+
// node_modules/.bun/@sentry+node-core@10.49.0+327cdc98b26f66bc/node_modules/@sentry/node-core/build/esm/integrations/local-variables/local-variables-async.js
|
|
17045
16969
|
import { Worker } from "worker_threads";
|
|
17046
16970
|
function log2(...args) {
|
|
17047
16971
|
debug.log("[LocalVariables]", ...args);
|
|
17048
16972
|
}
|
|
17049
|
-
var base64WorkerScript = "
|
|
16973
|
+
var base64WorkerScript = "LyohIEBzZW50cnkvbm9kZS1jb3JlIDEwLjQ5LjAgKDc0NWFmNzkpIHwgaHR0cHM6Ly9naXRodWIuY29tL2dldHNlbnRyeS9zZW50cnktamF2YXNjcmlwdCAqLwppbXBvcnR7U2Vzc2lvbiBhcyBlfWZyb20ibm9kZTppbnNwZWN0b3IvcHJvbWlzZXMiO2ltcG9ydHt3b3JrZXJEYXRhIGFzIHR9ZnJvbSJub2RlOndvcmtlcl90aHJlYWRzIjtjb25zdCBuPWdsb2JhbFRoaXMsaT17fTtjb25zdCBvPSJfX1NFTlRSWV9FUlJPUl9MT0NBTF9WQVJJQUJMRVNfXyI7Y29uc3QgYT10O2Z1bmN0aW9uIHMoLi4uZSl7YS5kZWJ1ZyYmZnVuY3Rpb24oZSl7aWYoISgiY29uc29sZSJpbiBuKSlyZXR1cm4gZSgpO2NvbnN0IHQ9bi5jb25zb2xlLG89e30sYT1PYmplY3Qua2V5cyhpKTthLmZvckVhY2goZT0+e2NvbnN0IG49aVtlXTtvW2VdPXRbZV0sdFtlXT1ufSk7dHJ5e3JldHVybiBlKCl9ZmluYWxseXthLmZvckVhY2goZT0+e3RbZV09b1tlXX0pfX0oKCk9PmNvbnNvbGUubG9nKCJbTG9jYWxWYXJpYWJsZXMgV29ya2VyXSIsLi4uZSkpfWFzeW5jIGZ1bmN0aW9uIGMoZSx0LG4saSl7Y29uc3Qgbz1hd2FpdCBlLnBvc3QoIlJ1bnRpbWUuZ2V0UHJvcGVydGllcyIse29iamVjdElkOnQsb3duUHJvcGVydGllczohMH0pO2lbbl09by5yZXN1bHQuZmlsdGVyKGU9PiJsZW5ndGgiIT09ZS5uYW1lJiYhaXNOYU4ocGFyc2VJbnQoZS5uYW1lLDEwKSkpLnNvcnQoKGUsdCk9PnBhcnNlSW50KGUubmFtZSwxMCktcGFyc2VJbnQodC5uYW1lLDEwKSkubWFwKGU9PmUudmFsdWU/LnZhbHVlKX1hc3luYyBmdW5jdGlvbiByKGUsdCxuLGkpe2NvbnN0IG89YXdhaXQgZS5wb3N0KCJSdW50aW1lLmdldFByb3BlcnRpZXMiLHtvYmplY3RJZDp0LG93blByb3BlcnRpZXM6ITB9KTtpW25dPW8ucmVzdWx0Lm1hcChlPT5bZS5uYW1lLGUudmFsdWU/LnZhbHVlXSkucmVkdWNlKChlLFt0LG5dKT0+KGVbdF09bixlKSx7fSl9ZnVuY3Rpb24gdShlLHQpe2UudmFsdWUmJigidmFsdWUiaW4gZS52YWx1ZT92b2lkIDA9PT1lLnZhbHVlLnZhbHVlfHxudWxsPT09ZS52YWx1ZS52YWx1ZT90W2UubmFtZV09YDwke2UudmFsdWUudmFsdWV9PmA6dFtlLm5hbWVdPWUudmFsdWUudmFsdWU6ImRlc2NyaXB0aW9uImluIGUudmFsdWUmJiJmdW5jdGlvbiIhPT1lLnZhbHVlLnR5cGU/dFtlLm5hbWVdPWA8JHtlLnZhbHVlLmRlc2NyaXB0aW9ufT5gOiJ1bmRlZmluZWQiPT09ZS52YWx1ZS50eXBlJiYodFtlLm5hbWVdPSI8dW5kZWZpbmVkPiIpKX1hc3luYyBmdW5jdGlvbiBsKGUsdCl7Y29uc3Qgbj1hd2FpdCBlLnBvc3QoIlJ1bnRpbWUuZ2V0UHJvcGVydGllcyIse29iamVjdElkOnQsb3duUHJvcGVydGllczohMH0pLGk9e307Zm9yKGNvbnN0IHQgb2Ygbi5yZXN1bHQpaWYodC52YWx1ZT8ub2JqZWN0SWQmJiJBcnJheSI9PT10LnZhbHVlLmNsYXNzTmFtZSl7Y29uc3Qgbj10LnZhbHVlLm9iamVjdElkO2F3YWl0IGMoZSxuLHQubmFtZSxpKX1lbHNlIGlmKHQudmFsdWU/Lm9iamVjdElkJiYiT2JqZWN0Ij09PXQudmFsdWUuY2xhc3NOYW1lKXtjb25zdCBuPXQudmFsdWUub2JqZWN0SWQ7YXdhaXQgcihlLG4sdC5uYW1lLGkpfWVsc2UgdC52YWx1ZSYmdSh0LGkpO3JldHVybiBpfWxldCBmOyhhc3luYyBmdW5jdGlvbigpe2NvbnN0IHQ9bmV3IGU7dC5jb25uZWN0VG9NYWluVGhyZWFkKCkscygiQ29ubmVjdGVkIHRvIG1haW4gdGhyZWFkIik7bGV0IG49ITE7dC5vbigiRGVidWdnZXIucmVzdW1lZCIsKCk9PntuPSExfSksdC5vbigiRGVidWdnZXIucGF1c2VkIixlPT57bj0hMCxhc3luYyBmdW5jdGlvbihlLHtyZWFzb246dCxkYXRhOntvYmplY3RJZDpufSxjYWxsRnJhbWVzOml9KXtpZigiZXhjZXB0aW9uIiE9PXQmJiJwcm9taXNlUmVqZWN0aW9uIiE9PXQpcmV0dXJuO2lmKGY/LigpLG51bGw9PW4pcmV0dXJuO2NvbnN0IGE9W107Zm9yKGxldCB0PTA7dDxpLmxlbmd0aDt0Kyspe2NvbnN0e3Njb3BlQ2hhaW46bixmdW5jdGlvbk5hbWU6byx0aGlzOnN9PWlbdF0sYz1uLmZpbmQoZT0+ImxvY2FsIj09PWUudHlwZSkscj0iZ2xvYmFsIiE9PXMuY2xhc3NOYW1lJiZzLmNsYXNzTmFtZT9gJHtzLmNsYXNzTmFtZX0uJHtvfWA6bztpZih2b2lkIDA9PT1jPy5vYmplY3Qub2JqZWN0SWQpYVt0XT17ZnVuY3Rpb246cn07ZWxzZXtjb25zdCBuPWF3YWl0IGwoZSxjLm9iamVjdC5vYmplY3RJZCk7YVt0XT17ZnVuY3Rpb246cix2YXJzOm59fX1hd2FpdCBlLnBvc3QoIlJ1bnRpbWUuY2FsbEZ1bmN0aW9uT24iLHtmdW5jdGlvbkRlY2xhcmF0aW9uOmBmdW5jdGlvbigpIHsgdGhpcy4ke299ID0gdGhpcy4ke299IHx8ICR7SlNPTi5zdHJpbmdpZnkoYSl9OyB9YCxzaWxlbnQ6ITAsb2JqZWN0SWQ6bn0pLGF3YWl0IGUucG9zdCgiUnVudGltZS5yZWxlYXNlT2JqZWN0Iix7b2JqZWN0SWQ6bn0pfSh0LGUucGFyYW1zKS50aGVuKGFzeW5jKCk9PntuJiZhd2FpdCB0LnBvc3QoIkRlYnVnZ2VyLnJlc3VtZSIpfSxhc3luYyBlPT57biYmYXdhaXQgdC5wb3N0KCJEZWJ1Z2dlci5yZXN1bWUiKX0pfSksYXdhaXQgdC5wb3N0KCJEZWJ1Z2dlci5lbmFibGUiKTtjb25zdCBpPSExIT09YS5jYXB0dXJlQWxsRXhjZXB0aW9ucztpZihhd2FpdCB0LnBvc3QoIkRlYnVnZ2VyLnNldFBhdXNlT25FeGNlcHRpb25zIix7c3RhdGU6aT8iYWxsIjoidW5jYXVnaHQifSksaSl7Y29uc3QgZT1hLm1heEV4Y2VwdGlvbnNQZXJTZWNvbmR8fDUwO2Y9ZnVuY3Rpb24oZSx0LG4pe2xldCBpPTAsbz01LGE9MDtyZXR1cm4gc2V0SW50ZXJ2YWwoKCk9PnswPT09YT9pPmUmJihvKj0yLG4obyksbz44NjQwMCYmKG89ODY0MDApLGE9byk6KGEtPTEsMD09PWEmJnQoKSksaT0wfSwxZTMpLnVucmVmKCksKCk9PntpKz0xfX0oZSxhc3luYygpPT57cygiUmF0ZS1saW1pdCBsaWZ0ZWQuIiksYXdhaXQgdC5wb3N0KCJEZWJ1Z2dlci5zZXRQYXVzZU9uRXhjZXB0aW9ucyIse3N0YXRlOiJhbGwifSl9LGFzeW5jIGU9PntzKGBSYXRlLWxpbWl0IGV4Y2VlZGVkLiBEaXNhYmxpbmcgY2FwdHVyaW5nIG9mIGNhdWdodCBleGNlcHRpb25zIGZvciAke2V9IHNlY29uZHMuYCksYXdhaXQgdC5wb3N0KCJEZWJ1Z2dlci5zZXRQYXVzZU9uRXhjZXB0aW9ucyIse3N0YXRlOiJ1bmNhdWdodCJ9KX0pfX0pKCkuY2F0Y2goZT0+e3MoIkZhaWxlZCB0byBzdGFydCBkZWJ1Z2dlciIsZSl9KSxzZXRJbnRlcnZhbCgoKT0+e30sMWU0KTs=", localVariablesAsyncIntegration;
|
|
17050
16974
|
var init_local_variables_async = __esm(() => {
|
|
17051
|
-
|
|
16975
|
+
init_esm3();
|
|
17052
16976
|
init_debug2();
|
|
17053
16977
|
init_common();
|
|
17054
16978
|
localVariablesAsyncIntegration = defineIntegration((integrationOptions = {}) => {
|
|
@@ -17131,7 +17055,7 @@ var init_local_variables_async = __esm(() => {
|
|
|
17131
17055
|
});
|
|
17132
17056
|
});
|
|
17133
17057
|
|
|
17134
|
-
// node_modules/.bun/@sentry+node-core@10.
|
|
17058
|
+
// node_modules/.bun/@sentry+node-core@10.49.0+327cdc98b26f66bc/node_modules/@sentry/node-core/build/esm/integrations/local-variables/local-variables-sync.js
|
|
17135
17059
|
function hashFrames(frames) {
|
|
17136
17060
|
if (frames === undefined) {
|
|
17137
17061
|
return;
|
|
@@ -17378,14 +17302,14 @@ var INTEGRATION_NAME13 = "LocalVariables", _localVariablesSyncIntegration = (opt
|
|
|
17378
17302
|
};
|
|
17379
17303
|
}, localVariablesSyncIntegration;
|
|
17380
17304
|
var init_local_variables_sync = __esm(() => {
|
|
17381
|
-
|
|
17305
|
+
init_esm3();
|
|
17382
17306
|
init_nodeVersion();
|
|
17383
17307
|
init_debug2();
|
|
17384
17308
|
init_common();
|
|
17385
17309
|
localVariablesSyncIntegration = defineIntegration(_localVariablesSyncIntegration);
|
|
17386
17310
|
});
|
|
17387
17311
|
|
|
17388
|
-
// node_modules/.bun/@sentry+node-core@10.
|
|
17312
|
+
// node_modules/.bun/@sentry+node-core@10.49.0+327cdc98b26f66bc/node_modules/@sentry/node-core/build/esm/integrations/local-variables/index.js
|
|
17389
17313
|
var localVariablesIntegration = (options = {}) => {
|
|
17390
17314
|
return NODE_VERSION.major < 19 ? localVariablesSyncIntegration(options) : localVariablesAsyncIntegration(options);
|
|
17391
17315
|
};
|
|
@@ -17395,7 +17319,7 @@ var init_local_variables = __esm(() => {
|
|
|
17395
17319
|
init_local_variables_sync();
|
|
17396
17320
|
});
|
|
17397
17321
|
|
|
17398
|
-
// node_modules/.bun/@sentry+node-core@10.
|
|
17322
|
+
// node_modules/.bun/@sentry+node-core@10.49.0+327cdc98b26f66bc/node_modules/@sentry/node-core/build/esm/utils/detection.js
|
|
17399
17323
|
function isCjs() {
|
|
17400
17324
|
try {
|
|
17401
17325
|
return typeof module_detection !== "undefined" && typeof exports_detection !== "undefined";
|
|
@@ -17420,11 +17344,11 @@ function supportsEsmLoaderHooks() {
|
|
|
17420
17344
|
}
|
|
17421
17345
|
var hasWarnedAboutNodeVersion;
|
|
17422
17346
|
var init_detection = __esm(() => {
|
|
17423
|
-
|
|
17347
|
+
init_esm3();
|
|
17424
17348
|
init_nodeVersion();
|
|
17425
17349
|
});
|
|
17426
17350
|
|
|
17427
|
-
// node_modules/.bun/@sentry+node-core@10.
|
|
17351
|
+
// node_modules/.bun/@sentry+node-core@10.49.0+327cdc98b26f66bc/node_modules/@sentry/node-core/build/esm/integrations/modules.js
|
|
17428
17352
|
import { existsSync, readFileSync } from "fs";
|
|
17429
17353
|
import { dirname as dirname2, join as join3 } from "path";
|
|
17430
17354
|
function getRequireCachePaths() {
|
|
@@ -17512,7 +17436,7 @@ var init_modules = __esm(() => {
|
|
|
17512
17436
|
modulesIntegration = _modulesIntegration;
|
|
17513
17437
|
});
|
|
17514
17438
|
|
|
17515
|
-
// node_modules/.bun/@sentry+node-core@10.
|
|
17439
|
+
// node_modules/.bun/@sentry+node-core@10.49.0+327cdc98b26f66bc/node_modules/@sentry/node-core/build/esm/integrations/node-fetch/index.js
|
|
17516
17440
|
var INTEGRATION_NAME15 = "NodeFetch", instrumentSentryNodeFetch, _nativeNodeFetchIntegration = (options = {}) => {
|
|
17517
17441
|
return {
|
|
17518
17442
|
name: "NodeFetch",
|
|
@@ -17522,7 +17446,7 @@ var INTEGRATION_NAME15 = "NodeFetch", instrumentSentryNodeFetch, _nativeNodeFetc
|
|
|
17522
17446
|
};
|
|
17523
17447
|
}, nativeNodeFetchIntegration;
|
|
17524
17448
|
var init_node_fetch = __esm(() => {
|
|
17525
|
-
|
|
17449
|
+
init_esm3();
|
|
17526
17450
|
init_instrument();
|
|
17527
17451
|
init_SentryNodeFetchInstrumentation();
|
|
17528
17452
|
instrumentSentryNodeFetch = generateInstrumentOnce(`${INTEGRATION_NAME15}.sentry`, SentryNodeFetchInstrumentation, (options) => {
|
|
@@ -17531,7 +17455,7 @@ var init_node_fetch = __esm(() => {
|
|
|
17531
17455
|
nativeNodeFetchIntegration = defineIntegration(_nativeNodeFetchIntegration);
|
|
17532
17456
|
});
|
|
17533
17457
|
|
|
17534
|
-
// node_modules/.bun/@sentry+node-core@10.
|
|
17458
|
+
// node_modules/.bun/@sentry+node-core@10.49.0+327cdc98b26f66bc/node_modules/@sentry/node-core/build/esm/utils/errorhandling.js
|
|
17535
17459
|
function logAndExitProcess(error2) {
|
|
17536
17460
|
consoleSandbox(() => {
|
|
17537
17461
|
console.error(error2);
|
|
@@ -17555,11 +17479,11 @@ function logAndExitProcess(error2) {
|
|
|
17555
17479
|
}
|
|
17556
17480
|
var DEFAULT_SHUTDOWN_TIMEOUT = 2000;
|
|
17557
17481
|
var init_errorhandling = __esm(() => {
|
|
17558
|
-
|
|
17482
|
+
init_esm3();
|
|
17559
17483
|
init_debug_build2();
|
|
17560
17484
|
});
|
|
17561
17485
|
|
|
17562
|
-
// node_modules/.bun/@sentry+node-core@10.
|
|
17486
|
+
// node_modules/.bun/@sentry+node-core@10.49.0+327cdc98b26f66bc/node_modules/@sentry/node-core/build/esm/integrations/onuncaughtexception.js
|
|
17563
17487
|
import { isMainThread } from "worker_threads";
|
|
17564
17488
|
function makeErrorHandler(client, options) {
|
|
17565
17489
|
const timeout = 2000;
|
|
@@ -17619,7 +17543,7 @@ function makeErrorHandler(client, options) {
|
|
|
17619
17543
|
}
|
|
17620
17544
|
var INTEGRATION_NAME16 = "OnUncaughtException", onUncaughtExceptionIntegration;
|
|
17621
17545
|
var init_onuncaughtexception = __esm(() => {
|
|
17622
|
-
|
|
17546
|
+
init_esm3();
|
|
17623
17547
|
init_debug_build2();
|
|
17624
17548
|
init_errorhandling();
|
|
17625
17549
|
onUncaughtExceptionIntegration = defineIntegration((options = {}) => {
|
|
@@ -17639,7 +17563,7 @@ var init_onuncaughtexception = __esm(() => {
|
|
|
17639
17563
|
});
|
|
17640
17564
|
});
|
|
17641
17565
|
|
|
17642
|
-
// node_modules/.bun/@sentry+node-core@10.
|
|
17566
|
+
// node_modules/.bun/@sentry+node-core@10.49.0+327cdc98b26f66bc/node_modules/@sentry/node-core/build/esm/integrations/onunhandledrejection.js
|
|
17643
17567
|
function extractErrorInfo(reason) {
|
|
17644
17568
|
if (typeof reason !== "object" || reason === null) {
|
|
17645
17569
|
return { name: "", message: String(reason ?? "") };
|
|
@@ -17712,7 +17636,7 @@ var INTEGRATION_NAME17 = "OnUnhandledRejection", DEFAULT_IGNORES, _onUnhandledRe
|
|
|
17712
17636
|
};
|
|
17713
17637
|
}, onUnhandledRejectionIntegration;
|
|
17714
17638
|
var init_onunhandledrejection = __esm(() => {
|
|
17715
|
-
|
|
17639
|
+
init_esm3();
|
|
17716
17640
|
init_errorhandling();
|
|
17717
17641
|
DEFAULT_IGNORES = [
|
|
17718
17642
|
{
|
|
@@ -17725,10 +17649,10 @@ var init_onunhandledrejection = __esm(() => {
|
|
|
17725
17649
|
onUnhandledRejectionIntegration = defineIntegration(_onUnhandledRejectionIntegration);
|
|
17726
17650
|
});
|
|
17727
17651
|
|
|
17728
|
-
// node_modules/.bun/@sentry+node-core@10.
|
|
17652
|
+
// node_modules/.bun/@sentry+node-core@10.49.0+327cdc98b26f66bc/node_modules/@sentry/node-core/build/esm/integrations/processSession.js
|
|
17729
17653
|
var INTEGRATION_NAME18 = "ProcessSession", processSessionIntegration;
|
|
17730
17654
|
var init_processSession = __esm(() => {
|
|
17731
|
-
|
|
17655
|
+
init_esm3();
|
|
17732
17656
|
processSessionIntegration = defineIntegration(() => {
|
|
17733
17657
|
return {
|
|
17734
17658
|
name: INTEGRATION_NAME18,
|
|
@@ -17745,7 +17669,7 @@ var init_processSession = __esm(() => {
|
|
|
17745
17669
|
});
|
|
17746
17670
|
});
|
|
17747
17671
|
|
|
17748
|
-
// node_modules/.bun/@sentry+node-core@10.
|
|
17672
|
+
// node_modules/.bun/@sentry+node-core@10.49.0+327cdc98b26f66bc/node_modules/@sentry/node-core/build/esm/integrations/spotlight.js
|
|
17749
17673
|
import * as http from "http";
|
|
17750
17674
|
function connectToSpotlight(client, options) {
|
|
17751
17675
|
const spotlightUrl = parseSidecarUrl(options.sidecarUrl);
|
|
@@ -17759,7 +17683,7 @@ function connectToSpotlight(client, options) {
|
|
|
17759
17683
|
return;
|
|
17760
17684
|
}
|
|
17761
17685
|
const serializedEnvelope = serializeEnvelope(envelope);
|
|
17762
|
-
|
|
17686
|
+
suppressTracing2(() => {
|
|
17763
17687
|
const req = http.request({
|
|
17764
17688
|
method: "POST",
|
|
17765
17689
|
path: spotlightUrl.pathname,
|
|
@@ -17808,11 +17732,11 @@ var INTEGRATION_NAME19 = "Spotlight", _spotlightIntegration = (options = {}) =>
|
|
|
17808
17732
|
};
|
|
17809
17733
|
}, spotlightIntegration;
|
|
17810
17734
|
var init_spotlight = __esm(() => {
|
|
17811
|
-
|
|
17735
|
+
init_esm3();
|
|
17812
17736
|
spotlightIntegration = defineIntegration(_spotlightIntegration);
|
|
17813
17737
|
});
|
|
17814
17738
|
|
|
17815
|
-
// node_modules/.bun/@sentry+node-core@10.
|
|
17739
|
+
// node_modules/.bun/@sentry+node-core@10.49.0+327cdc98b26f66bc/node_modules/@sentry/node-core/build/esm/integrations/systemError.js
|
|
17816
17740
|
import * as util from "util";
|
|
17817
17741
|
function isSystemError(error2) {
|
|
17818
17742
|
if (!(error2 instanceof Error)) {
|
|
@@ -17825,7 +17749,7 @@ function isSystemError(error2) {
|
|
|
17825
17749
|
}
|
|
17826
17750
|
var INTEGRATION_NAME20 = "NodeSystemError", systemErrorIntegration;
|
|
17827
17751
|
var init_systemError = __esm(() => {
|
|
17828
|
-
|
|
17752
|
+
init_esm3();
|
|
17829
17753
|
systemErrorIntegration = defineIntegration((options = {}) => {
|
|
17830
17754
|
return {
|
|
17831
17755
|
name: INTEGRATION_NAME20,
|
|
@@ -17861,7 +17785,7 @@ var init_systemError = __esm(() => {
|
|
|
17861
17785
|
});
|
|
17862
17786
|
});
|
|
17863
17787
|
|
|
17864
|
-
// node_modules/.bun/@sentry+node-core@10.
|
|
17788
|
+
// node_modules/.bun/@sentry+node-core@10.49.0+327cdc98b26f66bc/node_modules/@sentry/node-core/build/esm/proxy/base.js
|
|
17865
17789
|
import * as http2 from "http";
|
|
17866
17790
|
var INTERNAL, Agent2;
|
|
17867
17791
|
var init_base2 = __esm(() => {
|
|
@@ -17926,7 +17850,7 @@ var init_base2 = __esm(() => {
|
|
|
17926
17850
|
};
|
|
17927
17851
|
});
|
|
17928
17852
|
|
|
17929
|
-
// node_modules/.bun/@sentry+node-core@10.
|
|
17853
|
+
// node_modules/.bun/@sentry+node-core@10.49.0+327cdc98b26f66bc/node_modules/@sentry/node-core/build/esm/proxy/parse-proxy-response.js
|
|
17930
17854
|
function debugLog(...args) {
|
|
17931
17855
|
debug.log("[https-proxy-agent:parse-proxy-response]", ...args);
|
|
17932
17856
|
}
|
|
@@ -18015,10 +17939,10 @@ function parseProxyResponse(socket) {
|
|
|
18015
17939
|
});
|
|
18016
17940
|
}
|
|
18017
17941
|
var init_parse_proxy_response = __esm(() => {
|
|
18018
|
-
|
|
17942
|
+
init_esm3();
|
|
18019
17943
|
});
|
|
18020
17944
|
|
|
18021
|
-
// node_modules/.bun/@sentry+node-core@10.
|
|
17945
|
+
// node_modules/.bun/@sentry+node-core@10.49.0+327cdc98b26f66bc/node_modules/@sentry/node-core/build/esm/proxy/index.js
|
|
18022
17946
|
import * as net from "net";
|
|
18023
17947
|
import * as tls from "tls";
|
|
18024
17948
|
function debugLog2(...args) {
|
|
@@ -18039,7 +17963,7 @@ function omit(obj, ...keys) {
|
|
|
18039
17963
|
}
|
|
18040
17964
|
var HttpsProxyAgent;
|
|
18041
17965
|
var init_proxy = __esm(() => {
|
|
18042
|
-
|
|
17966
|
+
init_esm3();
|
|
18043
17967
|
init_base2();
|
|
18044
17968
|
init_parse_proxy_response();
|
|
18045
17969
|
HttpsProxyAgent = class HttpsProxyAgent extends Agent2 {
|
|
@@ -18127,7 +18051,7 @@ var init_proxy = __esm(() => {
|
|
|
18127
18051
|
HttpsProxyAgent.__initStatic();
|
|
18128
18052
|
});
|
|
18129
18053
|
|
|
18130
|
-
// node_modules/.bun/@sentry+node-core@10.
|
|
18054
|
+
// node_modules/.bun/@sentry+node-core@10.49.0+327cdc98b26f66bc/node_modules/@sentry/node-core/build/esm/transports/http.js
|
|
18131
18055
|
import * as http3 from "http";
|
|
18132
18056
|
import * as https from "https";
|
|
18133
18057
|
import { Readable } from "stream";
|
|
@@ -18171,7 +18095,7 @@ function createRequestExecutor(options, httpModule, agent) {
|
|
|
18171
18095
|
const { hostname, pathname, port, protocol, search } = new URL(options.url);
|
|
18172
18096
|
return function makeRequest(request2) {
|
|
18173
18097
|
return new Promise((resolve2, reject) => {
|
|
18174
|
-
|
|
18098
|
+
suppressTracing2(() => {
|
|
18175
18099
|
let body = streamFromBody(request2.body);
|
|
18176
18100
|
const headers = { ...options.headers };
|
|
18177
18101
|
if (request2.body.length > GZIP_THRESHOLD) {
|
|
@@ -18210,12 +18134,12 @@ function createRequestExecutor(options, httpModule, agent) {
|
|
|
18210
18134
|
}
|
|
18211
18135
|
var GZIP_THRESHOLD;
|
|
18212
18136
|
var init_http2 = __esm(() => {
|
|
18213
|
-
|
|
18137
|
+
init_esm3();
|
|
18214
18138
|
init_proxy();
|
|
18215
18139
|
GZIP_THRESHOLD = 1024 * 32;
|
|
18216
18140
|
});
|
|
18217
18141
|
|
|
18218
|
-
// node_modules/.bun/@sentry+node-core@10.
|
|
18142
|
+
// node_modules/.bun/@sentry+node-core@10.49.0+327cdc98b26f66bc/node_modules/@sentry/node-core/build/esm/utils/spotlight.js
|
|
18219
18143
|
function getSpotlightConfig(optionsSpotlight) {
|
|
18220
18144
|
if (optionsSpotlight === false) {
|
|
18221
18145
|
return false;
|
|
@@ -18228,10 +18152,10 @@ function getSpotlightConfig(optionsSpotlight) {
|
|
|
18228
18152
|
return optionsSpotlight === true ? envUrl ?? true : envBool ?? envUrl;
|
|
18229
18153
|
}
|
|
18230
18154
|
var init_spotlight2 = __esm(() => {
|
|
18231
|
-
|
|
18155
|
+
init_esm3();
|
|
18232
18156
|
});
|
|
18233
18157
|
|
|
18234
|
-
// node_modules/.bun/@sentry+node-core@10.
|
|
18158
|
+
// node_modules/.bun/@sentry+node-core@10.49.0+327cdc98b26f66bc/node_modules/@sentry/node-core/build/esm/utils/module.js
|
|
18235
18159
|
import { posix, sep } from "path";
|
|
18236
18160
|
function normalizeWindowsPath(path) {
|
|
18237
18161
|
return path.replace(/^[A-Z]:/, "").replace(/\\/g, "/");
|
|
@@ -18263,10 +18187,10 @@ function createGetModuleFromFilename(basePath = process.argv[1] ? dirname(proces
|
|
|
18263
18187
|
};
|
|
18264
18188
|
}
|
|
18265
18189
|
var init_module = __esm(() => {
|
|
18266
|
-
|
|
18190
|
+
init_esm3();
|
|
18267
18191
|
});
|
|
18268
18192
|
|
|
18269
|
-
// node_modules/.bun/@sentry+node-core@10.
|
|
18193
|
+
// node_modules/.bun/@sentry+node-core@10.49.0+327cdc98b26f66bc/node_modules/@sentry/node-core/build/esm/sdk/api.js
|
|
18270
18194
|
function getSentryRelease(fallback) {
|
|
18271
18195
|
if (process.env.SENTRY_RELEASE) {
|
|
18272
18196
|
return process.env.SENTRY_RELEASE;
|
|
@@ -18281,21 +18205,21 @@ function getSentryRelease(fallback) {
|
|
|
18281
18205
|
}
|
|
18282
18206
|
var defaultStackParser;
|
|
18283
18207
|
var init_api2 = __esm(() => {
|
|
18284
|
-
|
|
18208
|
+
init_esm3();
|
|
18285
18209
|
init_module();
|
|
18286
18210
|
defaultStackParser = createStackParser(nodeStackLineParser(createGetModuleFromFilename()));
|
|
18287
18211
|
});
|
|
18288
18212
|
|
|
18289
|
-
// node_modules/.bun/@sentry+node-core@10.
|
|
18213
|
+
// node_modules/.bun/@sentry+node-core@10.49.0+327cdc98b26f66bc/node_modules/@sentry/node-core/build/esm/sdk/client.js
|
|
18290
18214
|
import * as os2 from "os";
|
|
18291
18215
|
import { threadId, isMainThread as isMainThread2 } from "worker_threads";
|
|
18292
18216
|
var import_api9, import_instrumentation4, DEFAULT_CLIENT_REPORT_FLUSH_INTERVAL_MS = 60000, NodeClient;
|
|
18293
18217
|
var init_client2 = __esm(() => {
|
|
18294
|
-
init_esm2();
|
|
18295
18218
|
init_esm3();
|
|
18219
|
+
init_esm4();
|
|
18296
18220
|
init_debug_build2();
|
|
18297
18221
|
import_api9 = __toESM(require_src2(), 1);
|
|
18298
|
-
import_instrumentation4 = __toESM(
|
|
18222
|
+
import_instrumentation4 = __toESM(require_src6(), 1);
|
|
18299
18223
|
NodeClient = class NodeClient extends ServerRuntimeClient {
|
|
18300
18224
|
constructor(options) {
|
|
18301
18225
|
const serverName = options.includeServerName === false ? undefined : options.serverName || global.process.env.SENTRY_NAME || os2.hostname();
|
|
@@ -18387,7 +18311,7 @@ var init_client2 = __esm(() => {
|
|
|
18387
18311
|
};
|
|
18388
18312
|
});
|
|
18389
18313
|
|
|
18390
|
-
// node_modules/.bun/@sentry+node-core@10.
|
|
18314
|
+
// node_modules/.bun/@sentry+node-core@10.49.0+327cdc98b26f66bc/node_modules/@sentry/node-core/build/esm/sdk/esmLoader.js
|
|
18391
18315
|
import * as moduleModule from "module";
|
|
18392
18316
|
function initializeEsmLoader() {
|
|
18393
18317
|
if (!supportsEsmLoaderHooks()) {
|
|
@@ -18408,12 +18332,12 @@ function initializeEsmLoader() {
|
|
|
18408
18332
|
}
|
|
18409
18333
|
var import_import_in_the_middle;
|
|
18410
18334
|
var init_esmLoader = __esm(() => {
|
|
18411
|
-
|
|
18335
|
+
init_esm3();
|
|
18412
18336
|
init_detection();
|
|
18413
18337
|
import_import_in_the_middle = __toESM(require_import_in_the_middle(), 1);
|
|
18414
18338
|
});
|
|
18415
18339
|
|
|
18416
|
-
// node_modules/.bun/@sentry+node-core@10.
|
|
18340
|
+
// node_modules/.bun/@sentry+node-core@10.49.0+327cdc98b26f66bc/node_modules/@sentry/node-core/build/esm/sdk/index.js
|
|
18417
18341
|
function getDefaultIntegrations() {
|
|
18418
18342
|
return [
|
|
18419
18343
|
inboundFiltersIntegration(),
|
|
@@ -18554,8 +18478,8 @@ function updateScopeFromEnvVariables() {
|
|
|
18554
18478
|
}
|
|
18555
18479
|
}
|
|
18556
18480
|
var init_sdk = __esm(() => {
|
|
18557
|
-
init_esm2();
|
|
18558
18481
|
init_esm3();
|
|
18482
|
+
init_esm4();
|
|
18559
18483
|
init_debug_build2();
|
|
18560
18484
|
init_childProcess();
|
|
18561
18485
|
init_context();
|
|
@@ -18577,15 +18501,15 @@ var init_sdk = __esm(() => {
|
|
|
18577
18501
|
init_esmLoader();
|
|
18578
18502
|
});
|
|
18579
18503
|
|
|
18580
|
-
// node_modules/.bun/@sentry+node-core@10.
|
|
18504
|
+
// node_modules/.bun/@sentry+node-core@10.49.0+327cdc98b26f66bc/node_modules/@sentry/node-core/build/esm/utils/addOriginToSpan.js
|
|
18581
18505
|
function addOriginToSpan(span, origin) {
|
|
18582
18506
|
span.setAttribute(SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, origin);
|
|
18583
18507
|
}
|
|
18584
18508
|
var init_addOriginToSpan = __esm(() => {
|
|
18585
|
-
|
|
18509
|
+
init_esm3();
|
|
18586
18510
|
});
|
|
18587
18511
|
|
|
18588
|
-
// node_modules/.bun/@sentry+node-core@10.
|
|
18512
|
+
// node_modules/.bun/@sentry+node-core@10.49.0+327cdc98b26f66bc/node_modules/@sentry/node-core/build/esm/utils/getRequestUrl.js
|
|
18589
18513
|
function getRequestUrl(requestOptions) {
|
|
18590
18514
|
const protocol = requestOptions.protocol || "";
|
|
18591
18515
|
const hostname2 = requestOptions.hostname || requestOptions.host || "";
|
|
@@ -18595,8 +18519,8 @@ function getRequestUrl(requestOptions) {
|
|
|
18595
18519
|
}
|
|
18596
18520
|
var init_getRequestUrl = () => {};
|
|
18597
18521
|
|
|
18598
|
-
// node_modules/.bun/@sentry+node-core@10.
|
|
18599
|
-
var
|
|
18522
|
+
// node_modules/.bun/@sentry+node-core@10.49.0+327cdc98b26f66bc/node_modules/@sentry/node-core/build/esm/index.js
|
|
18523
|
+
var init_esm5 = __esm(() => {
|
|
18600
18524
|
init_httpServerSpansIntegration();
|
|
18601
18525
|
init_httpServerIntegration();
|
|
18602
18526
|
init_SentryHttpInstrumentation();
|
|
@@ -18610,7 +18534,7 @@ var init_esm4 = __esm(() => {
|
|
|
18610
18534
|
init_nodeVersion();
|
|
18611
18535
|
});
|
|
18612
18536
|
|
|
18613
|
-
// node_modules/.bun/@sentry+node@10.
|
|
18537
|
+
// node_modules/.bun/@sentry+node@10.49.0+852a1763612925e9/node_modules/@sentry/node/build/esm/integrations/http.js
|
|
18614
18538
|
function _shouldUseOtelHttpInstrumentation(options, clientOptions = {}) {
|
|
18615
18539
|
if (typeof options.spans === "boolean") {
|
|
18616
18540
|
return options.spans;
|
|
@@ -18660,10 +18584,10 @@ function getConfigWithDefaults(options = {}) {
|
|
|
18660
18584
|
}
|
|
18661
18585
|
var import_api11, import_instrumentation_http, INTEGRATION_NAME21 = "Http", INSTRUMENTATION_NAME2 = "@opentelemetry_sentry-patched/instrumentation-http", FULLY_SUPPORTS_HTTP_DIAGNOSTICS_CHANNEL, instrumentSentryHttp2, instrumentOtelHttp, httpIntegration3;
|
|
18662
18586
|
var init_http3 = __esm(() => {
|
|
18663
|
-
|
|
18664
|
-
|
|
18587
|
+
init_esm3();
|
|
18588
|
+
init_esm5();
|
|
18665
18589
|
import_api11 = __toESM(require_src2(), 1);
|
|
18666
|
-
import_instrumentation_http = __toESM(
|
|
18590
|
+
import_instrumentation_http = __toESM(require_src7(), 1);
|
|
18667
18591
|
FULLY_SUPPORTS_HTTP_DIAGNOSTICS_CHANNEL = NODE_VERSION.major === 22 && NODE_VERSION.minor >= 12 || NODE_VERSION.major === 23 && NODE_VERSION.minor >= 2 || NODE_VERSION.major >= 24;
|
|
18668
18592
|
instrumentSentryHttp2 = generateInstrumentOnce(`${INTEGRATION_NAME21}.sentry`, (options) => {
|
|
18669
18593
|
return new SentryHttpInstrumentation(options);
|
|
@@ -18763,9 +18687,9 @@ var require_undici = __commonJS((exports) => {
|
|
|
18763
18687
|
exports.UndiciInstrumentation = undefined;
|
|
18764
18688
|
var diagch2 = __require("diagnostics_channel");
|
|
18765
18689
|
var url_1 = __require("url");
|
|
18766
|
-
var instrumentation_1 =
|
|
18690
|
+
var instrumentation_1 = require_src6();
|
|
18767
18691
|
var api_1 = require_src2();
|
|
18768
|
-
var core_1 =
|
|
18692
|
+
var core_1 = require_src5();
|
|
18769
18693
|
var semantic_conventions_1 = require_src3();
|
|
18770
18694
|
var version_1 = require_version2();
|
|
18771
18695
|
|
|
@@ -19068,7 +18992,7 @@ var require_undici = __commonJS((exports) => {
|
|
|
19068
18992
|
});
|
|
19069
18993
|
|
|
19070
18994
|
// node_modules/.bun/@opentelemetry+instrumentation-undici@0.24.0+e40b0dfdd726a224/node_modules/@opentelemetry/instrumentation-undici/build/src/index.js
|
|
19071
|
-
var
|
|
18995
|
+
var require_src8 = __commonJS((exports) => {
|
|
19072
18996
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19073
18997
|
exports.UndiciInstrumentation = undefined;
|
|
19074
18998
|
var undici_1 = require_undici();
|
|
@@ -19077,7 +19001,7 @@ var require_src10 = __commonJS((exports) => {
|
|
|
19077
19001
|
} });
|
|
19078
19002
|
});
|
|
19079
19003
|
|
|
19080
|
-
// node_modules/.bun/@sentry+node@10.
|
|
19004
|
+
// node_modules/.bun/@sentry+node@10.49.0+852a1763612925e9/node_modules/@sentry/node/build/esm/integrations/node-fetch.js
|
|
19081
19005
|
function getAbsoluteUrl3(origin, path = "/") {
|
|
19082
19006
|
const url = `${origin}`;
|
|
19083
19007
|
if (url.endsWith("/") && path.startsWith("/")) {
|
|
@@ -19134,9 +19058,9 @@ var import_instrumentation_undici, INTEGRATION_NAME22 = "NodeFetch", instrumentO
|
|
|
19134
19058
|
};
|
|
19135
19059
|
}, nativeNodeFetchIntegration3;
|
|
19136
19060
|
var init_node_fetch2 = __esm(() => {
|
|
19137
|
-
|
|
19138
|
-
|
|
19139
|
-
import_instrumentation_undici = __toESM(
|
|
19061
|
+
init_esm3();
|
|
19062
|
+
init_esm5();
|
|
19063
|
+
import_instrumentation_undici = __toESM(require_src8(), 1);
|
|
19140
19064
|
instrumentOtelNodeFetch = generateInstrumentOnce(INTEGRATION_NAME22, import_instrumentation_undici.UndiciInstrumentation, (options) => {
|
|
19141
19065
|
return _getConfigWithDefaults(options);
|
|
19142
19066
|
});
|
|
@@ -19146,14 +19070,14 @@ var init_node_fetch2 = __esm(() => {
|
|
|
19146
19070
|
nativeNodeFetchIntegration3 = defineIntegration(_nativeNodeFetchIntegration2);
|
|
19147
19071
|
});
|
|
19148
19072
|
|
|
19149
|
-
// node_modules/.bun/@sentry+node@10.
|
|
19073
|
+
// node_modules/.bun/@sentry+node@10.49.0+852a1763612925e9/node_modules/@sentry/node/build/esm/debug-build.js
|
|
19150
19074
|
var DEBUG_BUILD4;
|
|
19151
19075
|
var init_debug_build3 = __esm(() => {
|
|
19152
19076
|
DEBUG_BUILD4 = typeof __SENTRY_DEBUG__ === "undefined" || __SENTRY_DEBUG__;
|
|
19153
19077
|
});
|
|
19154
19078
|
|
|
19155
|
-
// node_modules/.bun/@sentry+node@10.
|
|
19156
|
-
var import_instrumentation5, import_api12,
|
|
19079
|
+
// node_modules/.bun/@sentry+node@10.49.0+852a1763612925e9/node_modules/@sentry/node/build/esm/integrations/tracing/express.js
|
|
19080
|
+
var import_instrumentation5, import_api12, INTEGRATION_NAME23 = "Express", SUPPORTED_VERSIONS, instrumentExpress, ExpressInstrumentation, _expressIntegration = (options) => {
|
|
19157
19081
|
return {
|
|
19158
19082
|
name: INTEGRATION_NAME23,
|
|
19159
19083
|
setupOnce() {
|
|
@@ -19162,12 +19086,12 @@ var import_instrumentation5, import_api12, import_core42, INTEGRATION_NAME23 = "
|
|
|
19162
19086
|
};
|
|
19163
19087
|
}, expressIntegration;
|
|
19164
19088
|
var init_express2 = __esm(() => {
|
|
19165
|
-
|
|
19166
|
-
|
|
19089
|
+
init_esm();
|
|
19090
|
+
init_esm5();
|
|
19091
|
+
init_esm3();
|
|
19167
19092
|
init_debug_build3();
|
|
19168
|
-
import_instrumentation5 = __toESM(
|
|
19093
|
+
import_instrumentation5 = __toESM(require_src6(), 1);
|
|
19169
19094
|
import_api12 = __toESM(require_src2(), 1);
|
|
19170
|
-
import_core42 = __toESM(require_src4(), 1);
|
|
19171
19095
|
SUPPORTED_VERSIONS = [">=4.0.0 <6"];
|
|
19172
19096
|
instrumentExpress = generateInstrumentOnce(INTEGRATION_NAME23, (options) => new ExpressInstrumentation(options));
|
|
19173
19097
|
ExpressInstrumentation = class ExpressInstrumentation extends import_instrumentation5.InstrumentationBase {
|
|
@@ -19177,16 +19101,15 @@ var init_express2 = __esm(() => {
|
|
|
19177
19101
|
init() {
|
|
19178
19102
|
const module = new import_instrumentation5.InstrumentationNodeModuleDefinition("express", SUPPORTED_VERSIONS, (express) => {
|
|
19179
19103
|
try {
|
|
19180
|
-
patchExpressModule({
|
|
19104
|
+
patchExpressModule(express, () => ({
|
|
19181
19105
|
...this.getConfig(),
|
|
19182
|
-
express,
|
|
19183
19106
|
onRouteResolved(route) {
|
|
19184
|
-
const rpcMetadata =
|
|
19185
|
-
if (route && rpcMetadata?.type ===
|
|
19107
|
+
const rpcMetadata = getRPCMetadata(import_api12.context.active());
|
|
19108
|
+
if (route && rpcMetadata?.type === RPCType.HTTP) {
|
|
19186
19109
|
rpcMetadata.route = route;
|
|
19187
19110
|
}
|
|
19188
19111
|
}
|
|
19189
|
-
});
|
|
19112
|
+
}));
|
|
19190
19113
|
} catch (e) {
|
|
19191
19114
|
DEBUG_BUILD4 && debug.error("Failed to patch express module:", e);
|
|
19192
19115
|
}
|
|
@@ -19195,7 +19118,7 @@ var init_express2 = __esm(() => {
|
|
|
19195
19118
|
return module;
|
|
19196
19119
|
}
|
|
19197
19120
|
};
|
|
19198
|
-
expressIntegration = defineIntegration(
|
|
19121
|
+
expressIntegration = defineIntegration(_expressIntegration);
|
|
19199
19122
|
});
|
|
19200
19123
|
|
|
19201
19124
|
// node_modules/.bun/@opentelemetry+api-logs@0.212.0/node_modules/@opentelemetry/api-logs/build/src/types/LogRecord.js
|
|
@@ -19372,7 +19295,7 @@ var require_logs = __commonJS((exports) => {
|
|
|
19372
19295
|
});
|
|
19373
19296
|
|
|
19374
19297
|
// node_modules/.bun/@opentelemetry+api-logs@0.212.0/node_modules/@opentelemetry/api-logs/build/src/index.js
|
|
19375
|
-
var
|
|
19298
|
+
var require_src9 = __commonJS((exports) => {
|
|
19376
19299
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19377
19300
|
exports.logs = exports.NoopLogger = exports.NOOP_LOGGER = exports.SeverityNumber = undefined;
|
|
19378
19301
|
var LogRecord_1 = require_LogRecord();
|
|
@@ -19423,7 +19346,7 @@ var require_autoLoader2 = __commonJS((exports) => {
|
|
|
19423
19346
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19424
19347
|
exports.registerInstrumentations = undefined;
|
|
19425
19348
|
var api_1 = require_src2();
|
|
19426
|
-
var api_logs_1 =
|
|
19349
|
+
var api_logs_1 = require_src9();
|
|
19427
19350
|
var autoLoaderUtils_1 = require_autoLoaderUtils2();
|
|
19428
19351
|
function registerInstrumentations3(options) {
|
|
19429
19352
|
const tracerProvider = options.tracerProvider || api_1.trace.getTracerProvider();
|
|
@@ -19919,7 +19842,7 @@ var require_instrumentation3 = __commonJS((exports) => {
|
|
|
19919
19842
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19920
19843
|
exports.InstrumentationAbstract = undefined;
|
|
19921
19844
|
var api_1 = require_src2();
|
|
19922
|
-
var api_logs_1 =
|
|
19845
|
+
var api_logs_1 = require_src9();
|
|
19923
19846
|
var shimmer = require_shimmer2();
|
|
19924
19847
|
|
|
19925
19848
|
class InstrumentationAbstract {
|
|
@@ -20694,7 +20617,7 @@ var require_semconvStability2 = __commonJS((exports) => {
|
|
|
20694
20617
|
});
|
|
20695
20618
|
|
|
20696
20619
|
// node_modules/.bun/@opentelemetry+instrumentation@0.212.0+e40b0dfdd726a224/node_modules/@opentelemetry/instrumentation/build/src/index.js
|
|
20697
|
-
var
|
|
20620
|
+
var require_src10 = __commonJS((exports) => {
|
|
20698
20621
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20699
20622
|
exports.semconvStabilityFromStr = exports.SemconvStability = exports.safeExecuteInTheMiddleAsync = exports.safeExecuteInTheMiddle = exports.isWrapped = exports.InstrumentationNodeModuleFile = exports.InstrumentationNodeModuleDefinition = exports.InstrumentationBase = exports.registerInstrumentations = undefined;
|
|
20700
20623
|
var autoLoader_1 = require_autoLoader2();
|
|
@@ -22563,14 +22486,14 @@ var require_commonjs3 = __commonJS((exports) => {
|
|
|
22563
22486
|
var require_otel = __commonJS((exports, module) => {
|
|
22564
22487
|
var dc = __require("diagnostics_channel");
|
|
22565
22488
|
var { context: context8, trace: trace6, SpanStatusCode: SpanStatusCode3, propagation: propagation3, diag: diag3 } = require_src2();
|
|
22566
|
-
var { getRPCMetadata:
|
|
22489
|
+
var { getRPCMetadata: getRPCMetadata2, RPCType: RPCType2 } = require_src5();
|
|
22567
22490
|
var {
|
|
22568
22491
|
ATTR_HTTP_ROUTE: ATTR_HTTP_ROUTE4,
|
|
22569
22492
|
ATTR_HTTP_RESPONSE_STATUS_CODE: ATTR_HTTP_RESPONSE_STATUS_CODE4,
|
|
22570
22493
|
ATTR_HTTP_REQUEST_METHOD: ATTR_HTTP_REQUEST_METHOD2,
|
|
22571
22494
|
ATTR_URL_PATH
|
|
22572
22495
|
} = require_src3();
|
|
22573
|
-
var { InstrumentationBase: InstrumentationBase4 } =
|
|
22496
|
+
var { InstrumentationBase: InstrumentationBase4 } = require_src10();
|
|
22574
22497
|
var {
|
|
22575
22498
|
version: PACKAGE_VERSION,
|
|
22576
22499
|
name: PACKAGE_NAME
|
|
@@ -22766,8 +22689,8 @@ var require_otel = __commonJS((exports, module) => {
|
|
|
22766
22689
|
if (trace6.getSpan(ctx) == null) {
|
|
22767
22690
|
ctx = propagation3.extract(ctx, request2.headers);
|
|
22768
22691
|
}
|
|
22769
|
-
const rpcMetadata =
|
|
22770
|
-
if (request2.routeOptions.url != null && rpcMetadata?.type ===
|
|
22692
|
+
const rpcMetadata = getRPCMetadata2(ctx);
|
|
22693
|
+
if (request2.routeOptions.url != null && rpcMetadata?.type === RPCType2.HTTP) {
|
|
22771
22694
|
rpcMetadata.route = request2.routeOptions.url;
|
|
22772
22695
|
}
|
|
22773
22696
|
const attributes = {
|
|
@@ -22962,7 +22885,7 @@ var require_otel = __commonJS((exports, module) => {
|
|
|
22962
22885
|
module.exports.FastifyOtelInstrumentation = FastifyOtelInstrumentation;
|
|
22963
22886
|
});
|
|
22964
22887
|
|
|
22965
|
-
// node_modules/.bun/@sentry+node@10.
|
|
22888
|
+
// node_modules/.bun/@sentry+node@10.49.0+852a1763612925e9/node_modules/@sentry/node/build/esm/integrations/tracing/fastify/v3/enums/AttributeNames.js
|
|
22966
22889
|
var AttributeNames, FastifyTypes, FastifyNames;
|
|
22967
22890
|
var init_AttributeNames = __esm(() => {
|
|
22968
22891
|
(function(AttributeNames2) {
|
|
@@ -22989,13 +22912,13 @@ var init_AttributeNames = __esm(() => {
|
|
|
22989
22912
|
})(FastifyNames || (FastifyNames = {}));
|
|
22990
22913
|
});
|
|
22991
22914
|
|
|
22992
|
-
// node_modules/.bun/@sentry+node@10.
|
|
22915
|
+
// node_modules/.bun/@sentry+node@10.49.0+852a1763612925e9/node_modules/@sentry/node/build/esm/integrations/tracing/fastify/v3/constants.js
|
|
22993
22916
|
var spanRequestSymbol;
|
|
22994
22917
|
var init_constants9 = __esm(() => {
|
|
22995
22918
|
spanRequestSymbol = Symbol("opentelemetry.instrumentation.fastify.request_active_span");
|
|
22996
22919
|
});
|
|
22997
22920
|
|
|
22998
|
-
// node_modules/.bun/@sentry+node@10.
|
|
22921
|
+
// node_modules/.bun/@sentry+node@10.49.0+852a1763612925e9/node_modules/@sentry/node/build/esm/integrations/tracing/fastify/v3/utils.js
|
|
22999
22922
|
function startSpan3(reply, tracer, spanName, spanAttributes = {}) {
|
|
23000
22923
|
const span = tracer.startSpan(spanName, { attributes: spanAttributes });
|
|
23001
22924
|
const spans = reply[spanRequestSymbol] || [];
|
|
@@ -23053,7 +22976,7 @@ var init_utils10 = __esm(() => {
|
|
|
23053
22976
|
import_api13 = __toESM(require_src2(), 1);
|
|
23054
22977
|
});
|
|
23055
22978
|
|
|
23056
|
-
// node_modules/.bun/@sentry+node@10.
|
|
22979
|
+
// node_modules/.bun/@sentry+node@10.49.0+852a1763612925e9/node_modules/@sentry/node/build/esm/integrations/tracing/fastify/v3/instrumentation.js
|
|
23057
22980
|
function instrumentClient() {
|
|
23058
22981
|
const client = getClient();
|
|
23059
22982
|
if (client) {
|
|
@@ -23078,14 +23001,14 @@ function addFastifyV3SpanAttributes(span) {
|
|
|
23078
23001
|
span.updateName(updatedName);
|
|
23079
23002
|
}
|
|
23080
23003
|
}
|
|
23081
|
-
var import_api14,
|
|
23004
|
+
var import_api14, import_instrumentation6, import_semantic_conventions4, PACKAGE_VERSION = "0.1.0", PACKAGE_NAME = "@sentry/instrumentation-fastify-v3", ANONYMOUS_NAME = "anonymous", hooksNamesToWrap, FastifyInstrumentationV3;
|
|
23082
23005
|
var init_instrumentation = __esm(() => {
|
|
23083
|
-
|
|
23006
|
+
init_esm();
|
|
23007
|
+
init_esm3();
|
|
23084
23008
|
init_AttributeNames();
|
|
23085
23009
|
init_utils10();
|
|
23086
23010
|
import_api14 = __toESM(require_src2(), 1);
|
|
23087
|
-
|
|
23088
|
-
import_instrumentation6 = __toESM(require_src7(), 1);
|
|
23011
|
+
import_instrumentation6 = __toESM(require_src6(), 1);
|
|
23089
23012
|
import_semantic_conventions4 = __toESM(require_src3(), 1);
|
|
23090
23013
|
hooksNamesToWrap = new Set([
|
|
23091
23014
|
"onTimeout",
|
|
@@ -23117,9 +23040,9 @@ var init_instrumentation = __esm(() => {
|
|
|
23117
23040
|
}
|
|
23118
23041
|
instrumentation._wrap(reply, "send", instrumentation._patchSend());
|
|
23119
23042
|
const anyRequest = request2;
|
|
23120
|
-
const rpcMetadata =
|
|
23043
|
+
const rpcMetadata = getRPCMetadata(import_api14.context.active());
|
|
23121
23044
|
const routeName = anyRequest.routeOptions ? anyRequest.routeOptions.url : request2.routerPath;
|
|
23122
|
-
if (routeName && rpcMetadata?.type ===
|
|
23045
|
+
if (routeName && rpcMetadata?.type === RPCType.HTTP) {
|
|
23123
23046
|
rpcMetadata.route = routeName;
|
|
23124
23047
|
}
|
|
23125
23048
|
const method = request2.method || "GET";
|
|
@@ -23260,7 +23183,7 @@ var init_instrumentation = __esm(() => {
|
|
|
23260
23183
|
};
|
|
23261
23184
|
});
|
|
23262
23185
|
|
|
23263
|
-
// node_modules/.bun/@sentry+node@10.
|
|
23186
|
+
// node_modules/.bun/@sentry+node@10.49.0+852a1763612925e9/node_modules/@sentry/node/build/esm/integrations/tracing/fastify/index.js
|
|
23264
23187
|
import * as diagnosticsChannel2 from "diagnostics_channel";
|
|
23265
23188
|
function getFastifyIntegration() {
|
|
23266
23189
|
const client = getClient();
|
|
@@ -23348,8 +23271,8 @@ var import_otel, INTEGRATION_NAME24 = "Fastify", instrumentFastifyV3, instrument
|
|
|
23348
23271
|
};
|
|
23349
23272
|
}, fastifyIntegration;
|
|
23350
23273
|
var init_fastify = __esm(() => {
|
|
23351
|
-
|
|
23352
|
-
|
|
23274
|
+
init_esm3();
|
|
23275
|
+
init_esm5();
|
|
23353
23276
|
init_debug_build3();
|
|
23354
23277
|
init_instrumentation();
|
|
23355
23278
|
import_otel = __toESM(require_otel(), 1);
|
|
@@ -23772,7 +23695,7 @@ var require_instrumentation5 = __commonJS((exports) => {
|
|
|
23772
23695
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23773
23696
|
exports.GraphQLInstrumentation = undefined;
|
|
23774
23697
|
var api_1 = require_src2();
|
|
23775
|
-
var instrumentation_1 =
|
|
23698
|
+
var instrumentation_1 = require_src6();
|
|
23776
23699
|
var enum_1 = require_enum();
|
|
23777
23700
|
var AttributeNames_1 = require_AttributeNames2();
|
|
23778
23701
|
var symbols_1 = require_symbols();
|
|
@@ -24031,7 +23954,7 @@ var require_instrumentation5 = __commonJS((exports) => {
|
|
|
24031
23954
|
});
|
|
24032
23955
|
|
|
24033
23956
|
// node_modules/.bun/@opentelemetry+instrumentation-graphql@0.62.0+e40b0dfdd726a224/node_modules/@opentelemetry/instrumentation-graphql/build/src/index.js
|
|
24034
|
-
var
|
|
23957
|
+
var require_src11 = __commonJS((exports) => {
|
|
24035
23958
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24036
23959
|
exports.GraphQLInstrumentation = undefined;
|
|
24037
23960
|
var instrumentation_1 = require_instrumentation5();
|
|
@@ -24040,7 +23963,7 @@ var require_src13 = __commonJS((exports) => {
|
|
|
24040
23963
|
} });
|
|
24041
23964
|
});
|
|
24042
23965
|
|
|
24043
|
-
// node_modules/.bun/@sentry+node@10.
|
|
23966
|
+
// node_modules/.bun/@sentry+node@10.49.0+852a1763612925e9/node_modules/@sentry/node/build/esm/integrations/tracing/graphql.js
|
|
24044
23967
|
function getOptionsWithDefaults(options) {
|
|
24045
23968
|
return {
|
|
24046
23969
|
ignoreResolveSpans: true,
|
|
@@ -24069,11 +23992,11 @@ var import_api15, import_instrumentation_graphql, INTEGRATION_NAME25 = "Graphql"
|
|
|
24069
23992
|
};
|
|
24070
23993
|
}, graphqlIntegration;
|
|
24071
23994
|
var init_graphql = __esm(() => {
|
|
24072
|
-
init_esm2();
|
|
24073
|
-
init_esm4();
|
|
24074
23995
|
init_esm3();
|
|
23996
|
+
init_esm5();
|
|
23997
|
+
init_esm4();
|
|
24075
23998
|
import_api15 = __toESM(require_src2(), 1);
|
|
24076
|
-
import_instrumentation_graphql = __toESM(
|
|
23999
|
+
import_instrumentation_graphql = __toESM(require_src11(), 1);
|
|
24077
24000
|
instrumentGraphql = generateInstrumentOnce(INTEGRATION_NAME25, import_instrumentation_graphql.GraphQLInstrumentation, (_options) => {
|
|
24078
24001
|
const options = getOptionsWithDefaults(_options);
|
|
24079
24002
|
return {
|
|
@@ -24177,7 +24100,7 @@ var require_instrumentation6 = __commonJS((exports) => {
|
|
|
24177
24100
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24178
24101
|
exports.KafkaJsInstrumentation = undefined;
|
|
24179
24102
|
var api_1 = require_src2();
|
|
24180
|
-
var instrumentation_1 =
|
|
24103
|
+
var instrumentation_1 = require_src6();
|
|
24181
24104
|
var semantic_conventions_1 = require_src3();
|
|
24182
24105
|
var internal_types_1 = require_internal_types3();
|
|
24183
24106
|
var propagator_1 = require_propagator();
|
|
@@ -24597,7 +24520,7 @@ var require_instrumentation6 = __commonJS((exports) => {
|
|
|
24597
24520
|
});
|
|
24598
24521
|
|
|
24599
24522
|
// node_modules/.bun/@opentelemetry+instrumentation-kafkajs@0.23.0+e40b0dfdd726a224/node_modules/@opentelemetry/instrumentation-kafkajs/build/src/index.js
|
|
24600
|
-
var
|
|
24523
|
+
var require_src12 = __commonJS((exports) => {
|
|
24601
24524
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24602
24525
|
exports.KafkaJsInstrumentation = undefined;
|
|
24603
24526
|
var instrumentation_1 = require_instrumentation6();
|
|
@@ -24606,7 +24529,7 @@ var require_src14 = __commonJS((exports) => {
|
|
|
24606
24529
|
} });
|
|
24607
24530
|
});
|
|
24608
24531
|
|
|
24609
|
-
// node_modules/.bun/@sentry+node@10.
|
|
24532
|
+
// node_modules/.bun/@sentry+node@10.49.0+852a1763612925e9/node_modules/@sentry/node/build/esm/integrations/tracing/kafka.js
|
|
24610
24533
|
var import_instrumentation_kafkajs, INTEGRATION_NAME26 = "Kafka", instrumentKafka, _kafkaIntegration = () => {
|
|
24611
24534
|
return {
|
|
24612
24535
|
name: INTEGRATION_NAME26,
|
|
@@ -24616,9 +24539,9 @@ var import_instrumentation_kafkajs, INTEGRATION_NAME26 = "Kafka", instrumentKafk
|
|
|
24616
24539
|
};
|
|
24617
24540
|
}, kafkaIntegration;
|
|
24618
24541
|
var init_kafka = __esm(() => {
|
|
24619
|
-
|
|
24620
|
-
|
|
24621
|
-
import_instrumentation_kafkajs = __toESM(
|
|
24542
|
+
init_esm3();
|
|
24543
|
+
init_esm5();
|
|
24544
|
+
import_instrumentation_kafkajs = __toESM(require_src12(), 1);
|
|
24622
24545
|
instrumentKafka = generateInstrumentOnce(INTEGRATION_NAME26, () => new import_instrumentation_kafkajs.KafkaJsInstrumentation({
|
|
24623
24546
|
consumerHook(span) {
|
|
24624
24547
|
addOriginToSpan(span, "auto.kafkajs.otel.consumer");
|
|
@@ -24643,7 +24566,7 @@ var require_instrumentation7 = __commonJS((exports) => {
|
|
|
24643
24566
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24644
24567
|
exports.LruMemoizerInstrumentation = undefined;
|
|
24645
24568
|
var api_1 = require_src2();
|
|
24646
|
-
var instrumentation_1 =
|
|
24569
|
+
var instrumentation_1 = require_src6();
|
|
24647
24570
|
var version_1 = require_version5();
|
|
24648
24571
|
|
|
24649
24572
|
class LruMemoizerInstrumentation extends instrumentation_1.InstrumentationBase {
|
|
@@ -24673,7 +24596,7 @@ var require_instrumentation7 = __commonJS((exports) => {
|
|
|
24673
24596
|
});
|
|
24674
24597
|
|
|
24675
24598
|
// node_modules/.bun/@opentelemetry+instrumentation-lru-memoizer@0.58.0+e40b0dfdd726a224/node_modules/@opentelemetry/instrumentation-lru-memoizer/build/src/index.js
|
|
24676
|
-
var
|
|
24599
|
+
var require_src13 = __commonJS((exports) => {
|
|
24677
24600
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24678
24601
|
exports.LruMemoizerInstrumentation = undefined;
|
|
24679
24602
|
var instrumentation_1 = require_instrumentation7();
|
|
@@ -24682,7 +24605,7 @@ var require_src15 = __commonJS((exports) => {
|
|
|
24682
24605
|
} });
|
|
24683
24606
|
});
|
|
24684
24607
|
|
|
24685
|
-
// node_modules/.bun/@sentry+node@10.
|
|
24608
|
+
// node_modules/.bun/@sentry+node@10.49.0+852a1763612925e9/node_modules/@sentry/node/build/esm/integrations/tracing/lrumemoizer.js
|
|
24686
24609
|
var import_instrumentation_lru_memoizer, INTEGRATION_NAME27 = "LruMemoizer", instrumentLruMemoizer, _lruMemoizerIntegration = () => {
|
|
24687
24610
|
return {
|
|
24688
24611
|
name: INTEGRATION_NAME27,
|
|
@@ -24692,9 +24615,9 @@ var import_instrumentation_lru_memoizer, INTEGRATION_NAME27 = "LruMemoizer", ins
|
|
|
24692
24615
|
};
|
|
24693
24616
|
}, lruMemoizerIntegration;
|
|
24694
24617
|
var init_lrumemoizer = __esm(() => {
|
|
24695
|
-
|
|
24696
|
-
|
|
24697
|
-
import_instrumentation_lru_memoizer = __toESM(
|
|
24618
|
+
init_esm3();
|
|
24619
|
+
init_esm5();
|
|
24620
|
+
import_instrumentation_lru_memoizer = __toESM(require_src13(), 1);
|
|
24698
24621
|
instrumentLruMemoizer = generateInstrumentOnce(INTEGRATION_NAME27, () => new import_instrumentation_lru_memoizer.LruMemoizerInstrumentation);
|
|
24699
24622
|
lruMemoizerIntegration = defineIntegration(_lruMemoizerIntegration);
|
|
24700
24623
|
});
|
|
@@ -24744,7 +24667,7 @@ var require_instrumentation8 = __commonJS((exports) => {
|
|
|
24744
24667
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24745
24668
|
exports.MongoDBInstrumentation = undefined;
|
|
24746
24669
|
var api_1 = require_src2();
|
|
24747
|
-
var instrumentation_1 =
|
|
24670
|
+
var instrumentation_1 = require_src6();
|
|
24748
24671
|
var semantic_conventions_1 = require_src3();
|
|
24749
24672
|
var semconv_1 = require_semconv3();
|
|
24750
24673
|
var internal_types_1 = require_internal_types4();
|
|
@@ -25357,7 +25280,7 @@ var require_types = __commonJS((exports) => {
|
|
|
25357
25280
|
});
|
|
25358
25281
|
|
|
25359
25282
|
// node_modules/.bun/@opentelemetry+instrumentation-mongodb@0.67.0+e40b0dfdd726a224/node_modules/@opentelemetry/instrumentation-mongodb/build/src/index.js
|
|
25360
|
-
var
|
|
25283
|
+
var require_src14 = __commonJS((exports) => {
|
|
25361
25284
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25362
25285
|
exports.MongodbCommandType = exports.MongoDBInstrumentation = undefined;
|
|
25363
25286
|
var instrumentation_1 = require_instrumentation8();
|
|
@@ -25370,7 +25293,7 @@ var require_src16 = __commonJS((exports) => {
|
|
|
25370
25293
|
} });
|
|
25371
25294
|
});
|
|
25372
25295
|
|
|
25373
|
-
// node_modules/.bun/@sentry+node@10.
|
|
25296
|
+
// node_modules/.bun/@sentry+node@10.49.0+852a1763612925e9/node_modules/@sentry/node/build/esm/integrations/tracing/mongo.js
|
|
25374
25297
|
function _defaultDbStatementSerializer(commandObj) {
|
|
25375
25298
|
const resultObj = _scrubStatement(commandObj);
|
|
25376
25299
|
return JSON.stringify(resultObj);
|
|
@@ -25412,9 +25335,9 @@ var import_instrumentation_mongodb, INTEGRATION_NAME28 = "Mongo", instrumentMong
|
|
|
25412
25335
|
};
|
|
25413
25336
|
}, mongoIntegration;
|
|
25414
25337
|
var init_mongo = __esm(() => {
|
|
25415
|
-
|
|
25416
|
-
|
|
25417
|
-
import_instrumentation_mongodb = __toESM(
|
|
25338
|
+
init_esm3();
|
|
25339
|
+
init_esm5();
|
|
25340
|
+
import_instrumentation_mongodb = __toESM(require_src14(), 1);
|
|
25418
25341
|
instrumentMongo = generateInstrumentOnce(INTEGRATION_NAME28, () => new import_instrumentation_mongodb.MongoDBInstrumentation({
|
|
25419
25342
|
dbStatementSerializer: _defaultDbStatementSerializer,
|
|
25420
25343
|
responseHook(span) {
|
|
@@ -25444,7 +25367,7 @@ var require_utils5 = __commonJS((exports) => {
|
|
|
25444
25367
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25445
25368
|
exports.handleCallbackResponse = exports.handlePromiseResponse = exports.getAttributesFromCollection = undefined;
|
|
25446
25369
|
var api_1 = require_src2();
|
|
25447
|
-
var instrumentation_1 =
|
|
25370
|
+
var instrumentation_1 = require_src6();
|
|
25448
25371
|
var semconv_1 = require_semconv4();
|
|
25449
25372
|
var semantic_conventions_1 = require_src3();
|
|
25450
25373
|
function getAttributesFromCollection(collection, dbSemconvStability, netSemconvStability) {
|
|
@@ -25536,9 +25459,9 @@ var require_mongoose = __commonJS((exports) => {
|
|
|
25536
25459
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25537
25460
|
exports.MongooseInstrumentation = exports._ALREADY_INSTRUMENTED = exports._STORED_PARENT_SPAN = undefined;
|
|
25538
25461
|
var api_1 = require_src2();
|
|
25539
|
-
var core_1 =
|
|
25462
|
+
var core_1 = require_src5();
|
|
25540
25463
|
var utils_1 = require_utils5();
|
|
25541
|
-
var instrumentation_1 =
|
|
25464
|
+
var instrumentation_1 = require_src6();
|
|
25542
25465
|
var version_1 = require_version7();
|
|
25543
25466
|
var semconv_1 = require_semconv4();
|
|
25544
25467
|
var semantic_conventions_1 = require_src3();
|
|
@@ -25885,7 +25808,7 @@ var require_mongoose = __commonJS((exports) => {
|
|
|
25885
25808
|
});
|
|
25886
25809
|
|
|
25887
25810
|
// node_modules/.bun/@opentelemetry+instrumentation-mongoose@0.60.0+e40b0dfdd726a224/node_modules/@opentelemetry/instrumentation-mongoose/build/src/index.js
|
|
25888
|
-
var
|
|
25811
|
+
var require_src15 = __commonJS((exports) => {
|
|
25889
25812
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25890
25813
|
exports.MongooseInstrumentation = undefined;
|
|
25891
25814
|
var mongoose_1 = require_mongoose();
|
|
@@ -25894,7 +25817,7 @@ var require_src17 = __commonJS((exports) => {
|
|
|
25894
25817
|
} });
|
|
25895
25818
|
});
|
|
25896
25819
|
|
|
25897
|
-
// node_modules/.bun/@sentry+node@10.
|
|
25820
|
+
// node_modules/.bun/@sentry+node@10.49.0+852a1763612925e9/node_modules/@sentry/node/build/esm/integrations/tracing/mongoose.js
|
|
25898
25821
|
var import_instrumentation_mongoose, INTEGRATION_NAME29 = "Mongoose", instrumentMongoose, _mongooseIntegration = () => {
|
|
25899
25822
|
return {
|
|
25900
25823
|
name: INTEGRATION_NAME29,
|
|
@@ -25904,9 +25827,9 @@ var import_instrumentation_mongoose, INTEGRATION_NAME29 = "Mongoose", instrument
|
|
|
25904
25827
|
};
|
|
25905
25828
|
}, mongooseIntegration;
|
|
25906
25829
|
var init_mongoose = __esm(() => {
|
|
25907
|
-
|
|
25908
|
-
|
|
25909
|
-
import_instrumentation_mongoose = __toESM(
|
|
25830
|
+
init_esm3();
|
|
25831
|
+
init_esm5();
|
|
25832
|
+
import_instrumentation_mongoose = __toESM(require_src15(), 1);
|
|
25910
25833
|
instrumentMongoose = generateInstrumentOnce(INTEGRATION_NAME29, () => new import_instrumentation_mongoose.MongooseInstrumentation({
|
|
25911
25834
|
responseHook(span) {
|
|
25912
25835
|
addOriginToSpan(span, "auto.db.otel.mongoose");
|
|
@@ -26019,7 +25942,7 @@ var require_instrumentation9 = __commonJS((exports) => {
|
|
|
26019
25942
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26020
25943
|
exports.MySQLInstrumentation = undefined;
|
|
26021
25944
|
var api_1 = require_src2();
|
|
26022
|
-
var instrumentation_1 =
|
|
25945
|
+
var instrumentation_1 = require_src6();
|
|
26023
25946
|
var semantic_conventions_1 = require_src3();
|
|
26024
25947
|
var semconv_1 = require_semconv5();
|
|
26025
25948
|
var AttributeNames_1 = require_AttributeNames3();
|
|
@@ -26279,7 +26202,7 @@ var require_instrumentation9 = __commonJS((exports) => {
|
|
|
26279
26202
|
});
|
|
26280
26203
|
|
|
26281
26204
|
// node_modules/.bun/@opentelemetry+instrumentation-mysql@0.60.0+e40b0dfdd726a224/node_modules/@opentelemetry/instrumentation-mysql/build/src/index.js
|
|
26282
|
-
var
|
|
26205
|
+
var require_src16 = __commonJS((exports) => {
|
|
26283
26206
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26284
26207
|
exports.MySQLInstrumentation = undefined;
|
|
26285
26208
|
var instrumentation_1 = require_instrumentation9();
|
|
@@ -26288,7 +26211,7 @@ var require_src18 = __commonJS((exports) => {
|
|
|
26288
26211
|
} });
|
|
26289
26212
|
});
|
|
26290
26213
|
|
|
26291
|
-
// node_modules/.bun/@sentry+node@10.
|
|
26214
|
+
// node_modules/.bun/@sentry+node@10.49.0+852a1763612925e9/node_modules/@sentry/node/build/esm/integrations/tracing/mysql.js
|
|
26292
26215
|
var import_instrumentation_mysql, INTEGRATION_NAME30 = "Mysql", instrumentMysql, _mysqlIntegration = () => {
|
|
26293
26216
|
return {
|
|
26294
26217
|
name: INTEGRATION_NAME30,
|
|
@@ -26298,9 +26221,9 @@ var import_instrumentation_mysql, INTEGRATION_NAME30 = "Mysql", instrumentMysql,
|
|
|
26298
26221
|
};
|
|
26299
26222
|
}, mysqlIntegration;
|
|
26300
26223
|
var init_mysql = __esm(() => {
|
|
26301
|
-
|
|
26302
|
-
|
|
26303
|
-
import_instrumentation_mysql = __toESM(
|
|
26224
|
+
init_esm3();
|
|
26225
|
+
init_esm5();
|
|
26226
|
+
import_instrumentation_mysql = __toESM(require_src16(), 1);
|
|
26304
26227
|
instrumentMysql = generateInstrumentOnce(INTEGRATION_NAME30, () => new import_instrumentation_mysql.MySQLInstrumentation({}));
|
|
26305
26228
|
mysqlIntegration = defineIntegration(_mysqlIntegration);
|
|
26306
26229
|
});
|
|
@@ -26320,11 +26243,11 @@ var require_semconv6 = __commonJS((exports) => {
|
|
|
26320
26243
|
});
|
|
26321
26244
|
|
|
26322
26245
|
// node_modules/.bun/@opentelemetry+sql-common@0.41.2+e40b0dfdd726a224/node_modules/@opentelemetry/sql-common/build/src/index.js
|
|
26323
|
-
var
|
|
26246
|
+
var require_src17 = __commonJS((exports) => {
|
|
26324
26247
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26325
26248
|
exports.addSqlCommenterComment = undefined;
|
|
26326
26249
|
var api_1 = require_src2();
|
|
26327
|
-
var core_1 =
|
|
26250
|
+
var core_1 = require_src5();
|
|
26328
26251
|
function hasValidSqlComment(query) {
|
|
26329
26252
|
const indexOpeningDashDashComment = query.indexOf("--");
|
|
26330
26253
|
if (indexOpeningDashDashComment >= 0) {
|
|
@@ -26368,7 +26291,7 @@ var require_utils7 = __commonJS((exports) => {
|
|
|
26368
26291
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26369
26292
|
exports.getConnectionPrototypeToInstrument = exports.once = exports.getSpanName = exports.getQueryText = exports.getConnectionAttributes = undefined;
|
|
26370
26293
|
var semconv_1 = require_semconv6();
|
|
26371
|
-
var instrumentation_1 =
|
|
26294
|
+
var instrumentation_1 = require_src6();
|
|
26372
26295
|
var semantic_conventions_1 = require_src3();
|
|
26373
26296
|
function getConnectionAttributes(config, dbSemconvStability, netSemconvStability) {
|
|
26374
26297
|
const { host, port, database, user } = getConfig(config);
|
|
@@ -26475,9 +26398,9 @@ var require_instrumentation10 = __commonJS((exports) => {
|
|
|
26475
26398
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26476
26399
|
exports.MySQL2Instrumentation = undefined;
|
|
26477
26400
|
var api2 = require_src2();
|
|
26478
|
-
var instrumentation_1 =
|
|
26401
|
+
var instrumentation_1 = require_src6();
|
|
26479
26402
|
var semconv_1 = require_semconv6();
|
|
26480
|
-
var sql_common_1 =
|
|
26403
|
+
var sql_common_1 = require_src17();
|
|
26481
26404
|
var utils_1 = require_utils7();
|
|
26482
26405
|
var version_1 = require_version9();
|
|
26483
26406
|
var semantic_conventions_1 = require_src3();
|
|
@@ -26622,7 +26545,7 @@ var require_instrumentation10 = __commonJS((exports) => {
|
|
|
26622
26545
|
});
|
|
26623
26546
|
|
|
26624
26547
|
// node_modules/.bun/@opentelemetry+instrumentation-mysql2@0.60.0+e40b0dfdd726a224/node_modules/@opentelemetry/instrumentation-mysql2/build/src/index.js
|
|
26625
|
-
var
|
|
26548
|
+
var require_src18 = __commonJS((exports) => {
|
|
26626
26549
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26627
26550
|
exports.MySQL2Instrumentation = undefined;
|
|
26628
26551
|
var instrumentation_1 = require_instrumentation10();
|
|
@@ -26631,7 +26554,7 @@ var require_src20 = __commonJS((exports) => {
|
|
|
26631
26554
|
} });
|
|
26632
26555
|
});
|
|
26633
26556
|
|
|
26634
|
-
// node_modules/.bun/@sentry+node@10.
|
|
26557
|
+
// node_modules/.bun/@sentry+node@10.49.0+852a1763612925e9/node_modules/@sentry/node/build/esm/integrations/tracing/mysql2.js
|
|
26635
26558
|
var import_instrumentation_mysql2, INTEGRATION_NAME31 = "Mysql2", instrumentMysql2, _mysql2Integration = () => {
|
|
26636
26559
|
return {
|
|
26637
26560
|
name: INTEGRATION_NAME31,
|
|
@@ -26641,9 +26564,9 @@ var import_instrumentation_mysql2, INTEGRATION_NAME31 = "Mysql2", instrumentMysq
|
|
|
26641
26564
|
};
|
|
26642
26565
|
}, mysql2Integration;
|
|
26643
26566
|
var init_mysql2 = __esm(() => {
|
|
26644
|
-
|
|
26645
|
-
|
|
26646
|
-
import_instrumentation_mysql2 = __toESM(
|
|
26567
|
+
init_esm3();
|
|
26568
|
+
init_esm5();
|
|
26569
|
+
import_instrumentation_mysql2 = __toESM(require_src18(), 1);
|
|
26647
26570
|
instrumentMysql2 = generateInstrumentOnce(INTEGRATION_NAME31, () => new import_instrumentation_mysql2.MySQL2Instrumentation({
|
|
26648
26571
|
responseHook(span) {
|
|
26649
26572
|
addOriginToSpan(span, "auto.db.otel.mysql2");
|
|
@@ -26684,7 +26607,7 @@ var require_utils8 = __commonJS((exports) => {
|
|
|
26684
26607
|
});
|
|
26685
26608
|
|
|
26686
26609
|
// node_modules/.bun/@opentelemetry+redis-common@0.38.2/node_modules/@opentelemetry/redis-common/build/src/index.js
|
|
26687
|
-
var
|
|
26610
|
+
var require_src19 = __commonJS((exports) => {
|
|
26688
26611
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26689
26612
|
exports.defaultDbStatementSerializer = undefined;
|
|
26690
26613
|
var serializationSubsets = [
|
|
@@ -26734,12 +26657,12 @@ var require_instrumentation11 = __commonJS((exports) => {
|
|
|
26734
26657
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26735
26658
|
exports.IORedisInstrumentation = undefined;
|
|
26736
26659
|
var api_1 = require_src2();
|
|
26737
|
-
var instrumentation_1 =
|
|
26660
|
+
var instrumentation_1 = require_src6();
|
|
26738
26661
|
var semantic_conventions_1 = require_src3();
|
|
26739
26662
|
var semconv_1 = require_semconv7();
|
|
26740
|
-
var instrumentation_2 =
|
|
26663
|
+
var instrumentation_2 = require_src6();
|
|
26741
26664
|
var utils_1 = require_utils8();
|
|
26742
|
-
var redis_common_1 =
|
|
26665
|
+
var redis_common_1 = require_src19();
|
|
26743
26666
|
var version_1 = require_version10();
|
|
26744
26667
|
var DEFAULT_CONFIG = {
|
|
26745
26668
|
requireParentSpan: true
|
|
@@ -26908,7 +26831,7 @@ var require_instrumentation11 = __commonJS((exports) => {
|
|
|
26908
26831
|
});
|
|
26909
26832
|
|
|
26910
26833
|
// node_modules/.bun/@opentelemetry+instrumentation-ioredis@0.62.0+e40b0dfdd726a224/node_modules/@opentelemetry/instrumentation-ioredis/build/src/index.js
|
|
26911
|
-
var
|
|
26834
|
+
var require_src20 = __commonJS((exports) => {
|
|
26912
26835
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26913
26836
|
exports.IORedisInstrumentation = undefined;
|
|
26914
26837
|
var instrumentation_1 = require_instrumentation11();
|
|
@@ -26983,13 +26906,13 @@ var require_semconv8 = __commonJS((exports) => {
|
|
|
26983
26906
|
var require_instrumentation12 = __commonJS((exports) => {
|
|
26984
26907
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26985
26908
|
exports.RedisInstrumentationV2_V3 = undefined;
|
|
26986
|
-
var instrumentation_1 =
|
|
26909
|
+
var instrumentation_1 = require_src6();
|
|
26987
26910
|
var utils_1 = require_utils9();
|
|
26988
26911
|
var version_1 = require_version11();
|
|
26989
26912
|
var api_1 = require_src2();
|
|
26990
26913
|
var semantic_conventions_1 = require_src3();
|
|
26991
26914
|
var semconv_1 = require_semconv8();
|
|
26992
|
-
var redis_common_1 =
|
|
26915
|
+
var redis_common_1 = require_src19();
|
|
26993
26916
|
|
|
26994
26917
|
class RedisInstrumentationV2_V3 extends instrumentation_1.InstrumentationBase {
|
|
26995
26918
|
static COMPONENT = "redis";
|
|
@@ -27124,7 +27047,7 @@ var require_utils10 = __commonJS((exports) => {
|
|
|
27124
27047
|
exports.getClientAttributes = undefined;
|
|
27125
27048
|
var semantic_conventions_1 = require_src3();
|
|
27126
27049
|
var semconv_1 = require_semconv8();
|
|
27127
|
-
var instrumentation_1 =
|
|
27050
|
+
var instrumentation_1 = require_src6();
|
|
27128
27051
|
function getClientAttributes(diag3, options, semconvStability) {
|
|
27129
27052
|
const attributes = {};
|
|
27130
27053
|
if (semconvStability & instrumentation_1.SemconvStability.OLD) {
|
|
@@ -27167,9 +27090,9 @@ var require_instrumentation13 = __commonJS((exports) => {
|
|
|
27167
27090
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27168
27091
|
exports.RedisInstrumentationV4_V5 = undefined;
|
|
27169
27092
|
var api_1 = require_src2();
|
|
27170
|
-
var instrumentation_1 =
|
|
27093
|
+
var instrumentation_1 = require_src6();
|
|
27171
27094
|
var utils_1 = require_utils10();
|
|
27172
|
-
var redis_common_1 =
|
|
27095
|
+
var redis_common_1 = require_src19();
|
|
27173
27096
|
var version_1 = require_version11();
|
|
27174
27097
|
var semantic_conventions_1 = require_src3();
|
|
27175
27098
|
var semconv_1 = require_semconv8();
|
|
@@ -27464,7 +27387,7 @@ var require_instrumentation13 = __commonJS((exports) => {
|
|
|
27464
27387
|
var require_redis = __commonJS((exports) => {
|
|
27465
27388
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27466
27389
|
exports.RedisInstrumentation = undefined;
|
|
27467
|
-
var instrumentation_1 =
|
|
27390
|
+
var instrumentation_1 = require_src6();
|
|
27468
27391
|
var version_1 = require_version11();
|
|
27469
27392
|
var instrumentation_2 = require_instrumentation12();
|
|
27470
27393
|
var instrumentation_3 = require_instrumentation13();
|
|
@@ -27528,7 +27451,7 @@ var require_redis = __commonJS((exports) => {
|
|
|
27528
27451
|
});
|
|
27529
27452
|
|
|
27530
27453
|
// node_modules/.bun/@opentelemetry+instrumentation-redis@0.62.0+e40b0dfdd726a224/node_modules/@opentelemetry/instrumentation-redis/build/src/index.js
|
|
27531
|
-
var
|
|
27454
|
+
var require_src21 = __commonJS((exports) => {
|
|
27532
27455
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27533
27456
|
exports.RedisInstrumentation = undefined;
|
|
27534
27457
|
var redis_1 = require_redis();
|
|
@@ -27537,7 +27460,7 @@ var require_src23 = __commonJS((exports) => {
|
|
|
27537
27460
|
} });
|
|
27538
27461
|
});
|
|
27539
27462
|
|
|
27540
|
-
// node_modules/.bun/@sentry+node@10.
|
|
27463
|
+
// node_modules/.bun/@sentry+node@10.49.0+852a1763612925e9/node_modules/@sentry/node/build/esm/utils/redisCache.js
|
|
27541
27464
|
function isInCommands(redisCommands, command) {
|
|
27542
27465
|
return redisCommands.includes(command.toLowerCase());
|
|
27543
27466
|
}
|
|
@@ -27629,7 +27552,7 @@ var init_redisCache = __esm(() => {
|
|
|
27629
27552
|
SET_COMMANDS = ["set", "setex"];
|
|
27630
27553
|
});
|
|
27631
27554
|
|
|
27632
|
-
// node_modules/.bun/@sentry+node@10.
|
|
27555
|
+
// node_modules/.bun/@sentry+node@10.49.0+852a1763612925e9/node_modules/@sentry/node/build/esm/integrations/tracing/redis.js
|
|
27633
27556
|
var import_instrumentation_ioredis, import_instrumentation_redis, INTEGRATION_NAME32 = "Redis", _redisOptions, cacheResponseHook = (span, redisCommand, cmdArgs, response) => {
|
|
27634
27557
|
span.setAttribute(SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, "auto.db.otel.redis");
|
|
27635
27558
|
const safeKey = getCacheKeySafely(redisCommand, cmdArgs);
|
|
@@ -27665,11 +27588,11 @@ var import_instrumentation_ioredis, import_instrumentation_redis, INTEGRATION_NA
|
|
|
27665
27588
|
};
|
|
27666
27589
|
}, redisIntegration;
|
|
27667
27590
|
var init_redis = __esm(() => {
|
|
27668
|
-
|
|
27669
|
-
|
|
27591
|
+
init_esm3();
|
|
27592
|
+
init_esm5();
|
|
27670
27593
|
init_redisCache();
|
|
27671
|
-
import_instrumentation_ioredis = __toESM(
|
|
27672
|
-
import_instrumentation_redis = __toESM(
|
|
27594
|
+
import_instrumentation_ioredis = __toESM(require_src20(), 1);
|
|
27595
|
+
import_instrumentation_redis = __toESM(require_src21(), 1);
|
|
27673
27596
|
_redisOptions = {};
|
|
27674
27597
|
instrumentIORedis = generateInstrumentOnce(`${INTEGRATION_NAME32}.IORedis`, () => {
|
|
27675
27598
|
return new import_instrumentation_ioredis.IORedisInstrumentation({
|
|
@@ -27748,7 +27671,7 @@ var require_utils11 = __commonJS((exports) => {
|
|
|
27748
27671
|
var AttributeNames_1 = require_AttributeNames4();
|
|
27749
27672
|
var semantic_conventions_1 = require_src3();
|
|
27750
27673
|
var semconv_1 = require_semconv9();
|
|
27751
|
-
var instrumentation_1 =
|
|
27674
|
+
var instrumentation_1 = require_src6();
|
|
27752
27675
|
var SpanNames_1 = require_SpanNames();
|
|
27753
27676
|
function getQuerySpanName(dbName, queryConfig) {
|
|
27754
27677
|
if (!queryConfig)
|
|
@@ -28024,14 +27947,14 @@ var require_version12 = __commonJS((exports) => {
|
|
|
28024
27947
|
var require_instrumentation14 = __commonJS((exports) => {
|
|
28025
27948
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28026
27949
|
exports.PgInstrumentation = undefined;
|
|
28027
|
-
var instrumentation_1 =
|
|
27950
|
+
var instrumentation_1 = require_src6();
|
|
28028
27951
|
var api_1 = require_src2();
|
|
28029
27952
|
var internal_types_1 = require_internal_types5();
|
|
28030
27953
|
var utils = require_utils11();
|
|
28031
|
-
var sql_common_1 =
|
|
27954
|
+
var sql_common_1 = require_src17();
|
|
28032
27955
|
var version_1 = require_version12();
|
|
28033
27956
|
var SpanNames_1 = require_SpanNames();
|
|
28034
|
-
var core_1 =
|
|
27957
|
+
var core_1 = require_src5();
|
|
28035
27958
|
var semantic_conventions_1 = require_src3();
|
|
28036
27959
|
var semconv_1 = require_semconv9();
|
|
28037
27960
|
function extractModuleExports(module2) {
|
|
@@ -28378,7 +28301,7 @@ var require_instrumentation14 = __commonJS((exports) => {
|
|
|
28378
28301
|
});
|
|
28379
28302
|
|
|
28380
28303
|
// node_modules/.bun/@opentelemetry+instrumentation-pg@0.66.0+e40b0dfdd726a224/node_modules/@opentelemetry/instrumentation-pg/build/src/index.js
|
|
28381
|
-
var
|
|
28304
|
+
var require_src22 = __commonJS((exports) => {
|
|
28382
28305
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28383
28306
|
exports.AttributeNames = exports.PgInstrumentation = undefined;
|
|
28384
28307
|
var instrumentation_1 = require_instrumentation14();
|
|
@@ -28391,7 +28314,7 @@ var require_src24 = __commonJS((exports) => {
|
|
|
28391
28314
|
} });
|
|
28392
28315
|
});
|
|
28393
28316
|
|
|
28394
|
-
// node_modules/.bun/@sentry+node@10.
|
|
28317
|
+
// node_modules/.bun/@sentry+node@10.49.0+852a1763612925e9/node_modules/@sentry/node/build/esm/integrations/tracing/postgres.js
|
|
28395
28318
|
var import_instrumentation_pg, INTEGRATION_NAME33 = "Postgres", instrumentPostgres, _postgresIntegration = (options) => {
|
|
28396
28319
|
return {
|
|
28397
28320
|
name: INTEGRATION_NAME33,
|
|
@@ -28401,9 +28324,9 @@ var import_instrumentation_pg, INTEGRATION_NAME33 = "Postgres", instrumentPostgr
|
|
|
28401
28324
|
};
|
|
28402
28325
|
}, postgresIntegration;
|
|
28403
28326
|
var init_postgres = __esm(() => {
|
|
28404
|
-
|
|
28405
|
-
|
|
28406
|
-
import_instrumentation_pg = __toESM(
|
|
28327
|
+
init_esm3();
|
|
28328
|
+
init_esm5();
|
|
28329
|
+
import_instrumentation_pg = __toESM(require_src22(), 1);
|
|
28407
28330
|
instrumentPostgres = generateInstrumentOnce(INTEGRATION_NAME33, import_instrumentation_pg.PgInstrumentation, (options) => ({
|
|
28408
28331
|
requireParentSpan: true,
|
|
28409
28332
|
requestHook(span) {
|
|
@@ -28414,7 +28337,7 @@ var init_postgres = __esm(() => {
|
|
|
28414
28337
|
postgresIntegration = defineIntegration(_postgresIntegration);
|
|
28415
28338
|
});
|
|
28416
28339
|
|
|
28417
|
-
// node_modules/.bun/@sentry+node@10.
|
|
28340
|
+
// node_modules/.bun/@sentry+node@10.49.0+852a1763612925e9/node_modules/@sentry/node/build/esm/integrations/tracing/postgresjs.js
|
|
28418
28341
|
var import_api16, import_instrumentation8, import_semantic_conventions5, INTEGRATION_NAME34 = "PostgresJs", SUPPORTED_VERSIONS2, SQL_OPERATION_REGEX2, QUERY_FROM_INSTRUMENTED_SQL2, instrumentPostgresJs, PostgresJsInstrumentation, _postgresJsIntegration = (options) => {
|
|
28419
28342
|
return {
|
|
28420
28343
|
name: INTEGRATION_NAME34,
|
|
@@ -28424,11 +28347,11 @@ var import_api16, import_instrumentation8, import_semantic_conventions5, INTEGRA
|
|
|
28424
28347
|
};
|
|
28425
28348
|
}, postgresJsIntegration;
|
|
28426
28349
|
var init_postgresjs2 = __esm(() => {
|
|
28427
|
-
|
|
28428
|
-
|
|
28350
|
+
init_esm3();
|
|
28351
|
+
init_esm5();
|
|
28429
28352
|
init_debug_build3();
|
|
28430
28353
|
import_api16 = __toESM(require_src2(), 1);
|
|
28431
|
-
import_instrumentation8 = __toESM(
|
|
28354
|
+
import_instrumentation8 = __toESM(require_src6(), 1);
|
|
28432
28355
|
import_semantic_conventions5 = __toESM(require_src3(), 1);
|
|
28433
28356
|
SUPPORTED_VERSIONS2 = [">=3.0.0 <4"];
|
|
28434
28357
|
SQL_OPERATION_REGEX2 = /^(SELECT|INSERT|UPDATE|DELETE|CREATE|DROP|ALTER)/i;
|
|
@@ -28745,7 +28668,7 @@ var init_logs = __esm(() => {
|
|
|
28745
28668
|
|
|
28746
28669
|
// node_modules/.bun/@opentelemetry+api-logs@0.207.0/node_modules/@opentelemetry/api-logs/build/esm/index.js
|
|
28747
28670
|
var logs;
|
|
28748
|
-
var
|
|
28671
|
+
var init_esm6 = __esm(() => {
|
|
28749
28672
|
init_logs();
|
|
28750
28673
|
logs = LogsAPI.getInstance();
|
|
28751
28674
|
});
|
|
@@ -29285,7 +29208,7 @@ class InstrumentationAbstract {
|
|
|
29285
29208
|
}
|
|
29286
29209
|
var import_api18;
|
|
29287
29210
|
var init_instrumentation2 = __esm(() => {
|
|
29288
|
-
|
|
29211
|
+
init_esm6();
|
|
29289
29212
|
init_shimmer();
|
|
29290
29213
|
import_api18 = __toESM(require_src2(), 1);
|
|
29291
29214
|
});
|
|
@@ -29673,7 +29596,7 @@ class InstrumentationNodeModuleDefinition5 {
|
|
|
29673
29596
|
var init_instrumentationNodeModuleDefinition = () => {};
|
|
29674
29597
|
|
|
29675
29598
|
// node_modules/.bun/@opentelemetry+instrumentation@0.207.0+e40b0dfdd726a224/node_modules/@opentelemetry/instrumentation/build/esm/index.js
|
|
29676
|
-
var
|
|
29599
|
+
var init_esm7 = __esm(() => {
|
|
29677
29600
|
init_platform2();
|
|
29678
29601
|
init_instrumentationNodeModuleDefinition();
|
|
29679
29602
|
});
|
|
@@ -29805,7 +29728,7 @@ var import_api20, import_api21, package_default, majorVersion, GLOBAL_INSTRUMENT
|
|
|
29805
29728
|
}
|
|
29806
29729
|
}, package_default2, VERSION, NAME, MODULE_NAME = "@prisma/client", PrismaInstrumentation;
|
|
29807
29730
|
var init_dist = __esm(() => {
|
|
29808
|
-
|
|
29731
|
+
init_esm7();
|
|
29809
29732
|
import_api20 = __toESM(require_src2(), 1);
|
|
29810
29733
|
import_api21 = __toESM(require_src2(), 1);
|
|
29811
29734
|
package_default = {
|
|
@@ -29942,7 +29865,7 @@ var init_dist = __esm(() => {
|
|
|
29942
29865
|
};
|
|
29943
29866
|
});
|
|
29944
29867
|
|
|
29945
|
-
// node_modules/.bun/@sentry+node@10.
|
|
29868
|
+
// node_modules/.bun/@sentry+node@10.49.0+852a1763612925e9/node_modules/@sentry/node/build/esm/integrations/tracing/prisma.js
|
|
29946
29869
|
function isPrismaV6TracingHelper(helper) {
|
|
29947
29870
|
return !!helper && typeof helper === "object" && "dispatchEngineSpans" in helper;
|
|
29948
29871
|
}
|
|
@@ -29963,8 +29886,8 @@ function engineSpanKindToOTELSpanKind(engineSpanKind) {
|
|
|
29963
29886
|
var import_api22, INTEGRATION_NAME35 = "Prisma", SentryPrismaInteropInstrumentation, instrumentPrisma, prismaIntegration;
|
|
29964
29887
|
var init_prisma = __esm(() => {
|
|
29965
29888
|
init_dist();
|
|
29966
|
-
|
|
29967
|
-
|
|
29889
|
+
init_esm3();
|
|
29890
|
+
init_esm5();
|
|
29968
29891
|
import_api22 = __toESM(require_src2(), 1);
|
|
29969
29892
|
SentryPrismaInteropInstrumentation = class SentryPrismaInteropInstrumentation extends PrismaInstrumentation {
|
|
29970
29893
|
constructor(options) {
|
|
@@ -30117,7 +30040,7 @@ var require_utils12 = __commonJS((exports) => {
|
|
|
30117
30040
|
var semconv_1 = require_semconv10();
|
|
30118
30041
|
var internal_types_1 = require_internal_types6();
|
|
30119
30042
|
var AttributeNames_1 = require_AttributeNames5();
|
|
30120
|
-
var instrumentation_1 =
|
|
30043
|
+
var instrumentation_1 = require_src6();
|
|
30121
30044
|
function getPluginName(plugin) {
|
|
30122
30045
|
if (plugin.name) {
|
|
30123
30046
|
return plugin.name;
|
|
@@ -30206,8 +30129,8 @@ var require_instrumentation15 = __commonJS((exports) => {
|
|
|
30206
30129
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30207
30130
|
exports.HapiInstrumentation = undefined;
|
|
30208
30131
|
var api2 = require_src2();
|
|
30209
|
-
var core_1 =
|
|
30210
|
-
var instrumentation_1 =
|
|
30132
|
+
var core_1 = require_src5();
|
|
30133
|
+
var instrumentation_1 = require_src6();
|
|
30211
30134
|
var version_1 = require_version13();
|
|
30212
30135
|
var internal_types_1 = require_internal_types6();
|
|
30213
30136
|
var utils_1 = require_utils12();
|
|
@@ -30411,7 +30334,7 @@ var require_instrumentation15 = __commonJS((exports) => {
|
|
|
30411
30334
|
});
|
|
30412
30335
|
|
|
30413
30336
|
// node_modules/.bun/@opentelemetry+instrumentation-hapi@0.60.0+e40b0dfdd726a224/node_modules/@opentelemetry/instrumentation-hapi/build/src/index.js
|
|
30414
|
-
var
|
|
30337
|
+
var require_src23 = __commonJS((exports) => {
|
|
30415
30338
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30416
30339
|
exports.AttributeNames = exports.HapiInstrumentation = undefined;
|
|
30417
30340
|
var instrumentation_1 = require_instrumentation15();
|
|
@@ -30424,7 +30347,7 @@ var require_src25 = __commonJS((exports) => {
|
|
|
30424
30347
|
} });
|
|
30425
30348
|
});
|
|
30426
30349
|
|
|
30427
|
-
// node_modules/.bun/@sentry+node@10.
|
|
30350
|
+
// node_modules/.bun/@sentry+node@10.49.0+852a1763612925e9/node_modules/@sentry/node/build/esm/integrations/tracing/hapi/index.js
|
|
30428
30351
|
var import_instrumentation_hapi, INTEGRATION_NAME36 = "Hapi", instrumentHapi, _hapiIntegration = () => {
|
|
30429
30352
|
return {
|
|
30430
30353
|
name: INTEGRATION_NAME36,
|
|
@@ -30434,14 +30357,14 @@ var import_instrumentation_hapi, INTEGRATION_NAME36 = "Hapi", instrumentHapi, _h
|
|
|
30434
30357
|
};
|
|
30435
30358
|
}, hapiIntegration;
|
|
30436
30359
|
var init_hapi = __esm(() => {
|
|
30437
|
-
|
|
30438
|
-
|
|
30439
|
-
import_instrumentation_hapi = __toESM(
|
|
30360
|
+
init_esm3();
|
|
30361
|
+
init_esm5();
|
|
30362
|
+
import_instrumentation_hapi = __toESM(require_src23(), 1);
|
|
30440
30363
|
instrumentHapi = generateInstrumentOnce(INTEGRATION_NAME36, () => new import_instrumentation_hapi.HapiInstrumentation);
|
|
30441
30364
|
hapiIntegration = defineIntegration(_hapiIntegration);
|
|
30442
30365
|
});
|
|
30443
30366
|
|
|
30444
|
-
// node_modules/.bun/@sentry+node@10.
|
|
30367
|
+
// node_modules/.bun/@sentry+node@10.49.0+852a1763612925e9/node_modules/@sentry/node/build/esm/integrations/tracing/hono/constants.js
|
|
30445
30368
|
var AttributeNames2, HonoTypes;
|
|
30446
30369
|
var init_constants10 = __esm(() => {
|
|
30447
30370
|
AttributeNames2 = {
|
|
@@ -30454,13 +30377,13 @@ var init_constants10 = __esm(() => {
|
|
|
30454
30377
|
};
|
|
30455
30378
|
});
|
|
30456
30379
|
|
|
30457
|
-
// node_modules/.bun/@sentry+node@10.
|
|
30380
|
+
// node_modules/.bun/@sentry+node@10.49.0+852a1763612925e9/node_modules/@sentry/node/build/esm/integrations/tracing/hono/instrumentation.js
|
|
30458
30381
|
var import_api23, import_instrumentation13, PACKAGE_NAME2 = "@sentry/instrumentation-hono", PACKAGE_VERSION2 = "0.0.1", HonoInstrumentation;
|
|
30459
30382
|
var init_instrumentation4 = __esm(() => {
|
|
30460
|
-
|
|
30383
|
+
init_esm3();
|
|
30461
30384
|
init_constants10();
|
|
30462
30385
|
import_api23 = __toESM(require_src2(), 1);
|
|
30463
|
-
import_instrumentation13 = __toESM(
|
|
30386
|
+
import_instrumentation13 = __toESM(require_src6(), 1);
|
|
30464
30387
|
HonoInstrumentation = class HonoInstrumentation extends import_instrumentation13.InstrumentationBase {
|
|
30465
30388
|
constructor(config = {}) {
|
|
30466
30389
|
super(PACKAGE_NAME2, PACKAGE_VERSION2, config);
|
|
@@ -30610,7 +30533,7 @@ var init_instrumentation4 = __esm(() => {
|
|
|
30610
30533
|
};
|
|
30611
30534
|
});
|
|
30612
30535
|
|
|
30613
|
-
// node_modules/.bun/@sentry+node@10.
|
|
30536
|
+
// node_modules/.bun/@sentry+node@10.49.0+852a1763612925e9/node_modules/@sentry/node/build/esm/integrations/tracing/hono/index.js
|
|
30614
30537
|
function addHonoSpanAttributes(span) {
|
|
30615
30538
|
const attributes = spanToJSON(span).data;
|
|
30616
30539
|
const type = attributes[AttributeNames2.HONO_TYPE];
|
|
@@ -30644,8 +30567,8 @@ var import_semantic_conventions6, INTEGRATION_NAME37 = "Hono", instrumentHono, _
|
|
|
30644
30567
|
};
|
|
30645
30568
|
}, honoIntegration;
|
|
30646
30569
|
var init_hono = __esm(() => {
|
|
30647
|
-
|
|
30648
|
-
|
|
30570
|
+
init_esm3();
|
|
30571
|
+
init_esm5();
|
|
30649
30572
|
init_debug_build3();
|
|
30650
30573
|
init_constants10();
|
|
30651
30574
|
init_instrumentation4();
|
|
@@ -30734,11 +30657,11 @@ var require_instrumentation16 = __commonJS((exports) => {
|
|
|
30734
30657
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30735
30658
|
exports.KoaInstrumentation = undefined;
|
|
30736
30659
|
var api2 = require_src2();
|
|
30737
|
-
var instrumentation_1 =
|
|
30660
|
+
var instrumentation_1 = require_src6();
|
|
30738
30661
|
var types_1 = require_types2();
|
|
30739
30662
|
var version_1 = require_version14();
|
|
30740
30663
|
var utils_1 = require_utils13();
|
|
30741
|
-
var core_1 =
|
|
30664
|
+
var core_1 = require_src5();
|
|
30742
30665
|
var internal_types_1 = require_internal_types7();
|
|
30743
30666
|
|
|
30744
30667
|
class KoaInstrumentation extends instrumentation_1.InstrumentationBase {
|
|
@@ -30842,7 +30765,7 @@ var require_instrumentation16 = __commonJS((exports) => {
|
|
|
30842
30765
|
});
|
|
30843
30766
|
|
|
30844
30767
|
// node_modules/.bun/@opentelemetry+instrumentation-koa@0.62.0+e40b0dfdd726a224/node_modules/@opentelemetry/instrumentation-koa/build/src/index.js
|
|
30845
|
-
var
|
|
30768
|
+
var require_src24 = __commonJS((exports) => {
|
|
30846
30769
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30847
30770
|
exports.KoaLayerType = exports.AttributeNames = exports.KoaInstrumentation = undefined;
|
|
30848
30771
|
var instrumentation_1 = require_instrumentation16();
|
|
@@ -30859,7 +30782,7 @@ var require_src26 = __commonJS((exports) => {
|
|
|
30859
30782
|
} });
|
|
30860
30783
|
});
|
|
30861
30784
|
|
|
30862
|
-
// node_modules/.bun/@sentry+node@10.
|
|
30785
|
+
// node_modules/.bun/@sentry+node@10.49.0+852a1763612925e9/node_modules/@sentry/node/build/esm/integrations/tracing/koa.js
|
|
30863
30786
|
var import_instrumentation_koa, import_semantic_conventions7, INTEGRATION_NAME38 = "Koa", instrumentKoa, _koaIntegration = (options = {}) => {
|
|
30864
30787
|
return {
|
|
30865
30788
|
name: INTEGRATION_NAME38,
|
|
@@ -30869,10 +30792,10 @@ var import_instrumentation_koa, import_semantic_conventions7, INTEGRATION_NAME38
|
|
|
30869
30792
|
};
|
|
30870
30793
|
}, koaIntegration;
|
|
30871
30794
|
var init_koa = __esm(() => {
|
|
30872
|
-
|
|
30873
|
-
|
|
30795
|
+
init_esm3();
|
|
30796
|
+
init_esm5();
|
|
30874
30797
|
init_debug_build3();
|
|
30875
|
-
import_instrumentation_koa = __toESM(
|
|
30798
|
+
import_instrumentation_koa = __toESM(require_src24(), 1);
|
|
30876
30799
|
import_semantic_conventions7 = __toESM(require_src3(), 1);
|
|
30877
30800
|
instrumentKoa = generateInstrumentOnce(INTEGRATION_NAME38, import_instrumentation_koa.KoaInstrumentation, (options = {}) => {
|
|
30878
30801
|
return {
|
|
@@ -30980,10 +30903,10 @@ var require_instrumentation17 = __commonJS((exports) => {
|
|
|
30980
30903
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30981
30904
|
exports.ConnectInstrumentation = exports.ANONYMOUS_NAME = undefined;
|
|
30982
30905
|
var api_1 = require_src2();
|
|
30983
|
-
var core_1 =
|
|
30906
|
+
var core_1 = require_src5();
|
|
30984
30907
|
var AttributeNames_1 = require_AttributeNames7();
|
|
30985
30908
|
var version_1 = require_version15();
|
|
30986
|
-
var instrumentation_1 =
|
|
30909
|
+
var instrumentation_1 = require_src6();
|
|
30987
30910
|
var semantic_conventions_1 = require_src3();
|
|
30988
30911
|
var utils_1 = require_utils14();
|
|
30989
30912
|
exports.ANONYMOUS_NAME = "anonymous";
|
|
@@ -31124,7 +31047,7 @@ var require_instrumentation17 = __commonJS((exports) => {
|
|
|
31124
31047
|
});
|
|
31125
31048
|
|
|
31126
31049
|
// node_modules/.bun/@opentelemetry+instrumentation-connect@0.57.0+e40b0dfdd726a224/node_modules/@opentelemetry/instrumentation-connect/build/src/index.js
|
|
31127
|
-
var
|
|
31050
|
+
var require_src25 = __commonJS((exports) => {
|
|
31128
31051
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
31129
31052
|
exports.ConnectTypes = exports.ConnectNames = exports.AttributeNames = exports.ANONYMOUS_NAME = exports.ConnectInstrumentation = undefined;
|
|
31130
31053
|
var instrumentation_1 = require_instrumentation17();
|
|
@@ -31146,7 +31069,7 @@ var require_src27 = __commonJS((exports) => {
|
|
|
31146
31069
|
} });
|
|
31147
31070
|
});
|
|
31148
31071
|
|
|
31149
|
-
// node_modules/.bun/@sentry+node@10.
|
|
31072
|
+
// node_modules/.bun/@sentry+node@10.49.0+852a1763612925e9/node_modules/@sentry/node/build/esm/integrations/tracing/connect.js
|
|
31150
31073
|
var import_instrumentation_connect, INTEGRATION_NAME39 = "Connect", instrumentConnect, _connectIntegration = () => {
|
|
31151
31074
|
return {
|
|
31152
31075
|
name: INTEGRATION_NAME39,
|
|
@@ -31156,9 +31079,9 @@ var import_instrumentation_connect, INTEGRATION_NAME39 = "Connect", instrumentCo
|
|
|
31156
31079
|
};
|
|
31157
31080
|
}, connectIntegration;
|
|
31158
31081
|
var init_connect = __esm(() => {
|
|
31159
|
-
|
|
31160
|
-
|
|
31161
|
-
import_instrumentation_connect = __toESM(
|
|
31082
|
+
init_esm3();
|
|
31083
|
+
init_esm5();
|
|
31084
|
+
import_instrumentation_connect = __toESM(require_src25(), 1);
|
|
31162
31085
|
instrumentConnect = generateInstrumentOnce(INTEGRATION_NAME39, () => new import_instrumentation_connect.ConnectInstrumentation);
|
|
31163
31086
|
connectIntegration = defineIntegration(_connectIntegration);
|
|
31164
31087
|
});
|
|
@@ -31223,7 +31146,7 @@ var require_instrumentation18 = __commonJS((exports) => {
|
|
|
31223
31146
|
exports.TediousInstrumentation = exports.INJECTED_CTX = undefined;
|
|
31224
31147
|
var api2 = require_src2();
|
|
31225
31148
|
var events_1 = __require("events");
|
|
31226
|
-
var instrumentation_1 =
|
|
31149
|
+
var instrumentation_1 = require_src6();
|
|
31227
31150
|
var semantic_conventions_1 = require_src3();
|
|
31228
31151
|
var semconv_1 = require_semconv11();
|
|
31229
31152
|
var utils_1 = require_utils15();
|
|
@@ -31421,7 +31344,7 @@ var require_instrumentation18 = __commonJS((exports) => {
|
|
|
31421
31344
|
});
|
|
31422
31345
|
|
|
31423
31346
|
// node_modules/.bun/@opentelemetry+instrumentation-tedious@0.33.0+e40b0dfdd726a224/node_modules/@opentelemetry/instrumentation-tedious/build/src/index.js
|
|
31424
|
-
var
|
|
31347
|
+
var require_src26 = __commonJS((exports) => {
|
|
31425
31348
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
31426
31349
|
exports.TediousInstrumentation = undefined;
|
|
31427
31350
|
var instrumentation_1 = require_instrumentation18();
|
|
@@ -31430,7 +31353,7 @@ var require_src28 = __commonJS((exports) => {
|
|
|
31430
31353
|
} });
|
|
31431
31354
|
});
|
|
31432
31355
|
|
|
31433
|
-
// node_modules/.bun/@sentry+node@10.
|
|
31356
|
+
// node_modules/.bun/@sentry+node@10.49.0+852a1763612925e9/node_modules/@sentry/node/build/esm/integrations/tracing/tedious.js
|
|
31434
31357
|
var import_instrumentation_tedious, TEDIUS_INSTRUMENTED_METHODS, INTEGRATION_NAME40 = "Tedious", instrumentTedious, _tediousIntegration = () => {
|
|
31435
31358
|
let instrumentationWrappedCallback;
|
|
31436
31359
|
return {
|
|
@@ -31454,9 +31377,9 @@ var import_instrumentation_tedious, TEDIUS_INSTRUMENTED_METHODS, INTEGRATION_NAM
|
|
|
31454
31377
|
};
|
|
31455
31378
|
}, tediousIntegration;
|
|
31456
31379
|
var init_tedious = __esm(() => {
|
|
31457
|
-
|
|
31458
|
-
|
|
31459
|
-
import_instrumentation_tedious = __toESM(
|
|
31380
|
+
init_esm3();
|
|
31381
|
+
init_esm5();
|
|
31382
|
+
import_instrumentation_tedious = __toESM(require_src26(), 1);
|
|
31460
31383
|
TEDIUS_INSTRUMENTED_METHODS = new Set([
|
|
31461
31384
|
"callProcedure",
|
|
31462
31385
|
"execSql",
|
|
@@ -31482,7 +31405,7 @@ var require_instrumentation19 = __commonJS((exports) => {
|
|
|
31482
31405
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
31483
31406
|
exports.GenericPoolInstrumentation = undefined;
|
|
31484
31407
|
var api2 = require_src2();
|
|
31485
|
-
var instrumentation_1 =
|
|
31408
|
+
var instrumentation_1 = require_src6();
|
|
31486
31409
|
var version_1 = require_version17();
|
|
31487
31410
|
var MODULE_NAME2 = "generic-pool";
|
|
31488
31411
|
|
|
@@ -31578,7 +31501,7 @@ var require_instrumentation19 = __commonJS((exports) => {
|
|
|
31578
31501
|
});
|
|
31579
31502
|
|
|
31580
31503
|
// node_modules/.bun/@opentelemetry+instrumentation-generic-pool@0.57.0+e40b0dfdd726a224/node_modules/@opentelemetry/instrumentation-generic-pool/build/src/index.js
|
|
31581
|
-
var
|
|
31504
|
+
var require_src27 = __commonJS((exports) => {
|
|
31582
31505
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
31583
31506
|
exports.GenericPoolInstrumentation = undefined;
|
|
31584
31507
|
var instrumentation_1 = require_instrumentation19();
|
|
@@ -31587,7 +31510,7 @@ var require_src29 = __commonJS((exports) => {
|
|
|
31587
31510
|
} });
|
|
31588
31511
|
});
|
|
31589
31512
|
|
|
31590
|
-
// node_modules/.bun/@sentry+node@10.
|
|
31513
|
+
// node_modules/.bun/@sentry+node@10.49.0+852a1763612925e9/node_modules/@sentry/node/build/esm/integrations/tracing/genericPool.js
|
|
31591
31514
|
var import_instrumentation_generic_pool, INTEGRATION_NAME41 = "GenericPool", instrumentGenericPool, _genericPoolIntegration = () => {
|
|
31592
31515
|
let instrumentationWrappedCallback;
|
|
31593
31516
|
return {
|
|
@@ -31609,9 +31532,9 @@ var import_instrumentation_generic_pool, INTEGRATION_NAME41 = "GenericPool", ins
|
|
|
31609
31532
|
};
|
|
31610
31533
|
}, genericPoolIntegration;
|
|
31611
31534
|
var init_genericPool = __esm(() => {
|
|
31612
|
-
|
|
31613
|
-
|
|
31614
|
-
import_instrumentation_generic_pool = __toESM(
|
|
31535
|
+
init_esm3();
|
|
31536
|
+
init_esm5();
|
|
31537
|
+
import_instrumentation_generic_pool = __toESM(require_src27(), 1);
|
|
31615
31538
|
instrumentGenericPool = generateInstrumentOnce(INTEGRATION_NAME41, () => new import_instrumentation_generic_pool.GenericPoolInstrumentation({}));
|
|
31616
31539
|
genericPoolIntegration = defineIntegration(_genericPoolIntegration);
|
|
31617
31540
|
});
|
|
@@ -31669,7 +31592,7 @@ var require_utils16 = __commonJS((exports) => {
|
|
|
31669
31592
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
31670
31593
|
exports.isConfirmChannelTracing = exports.unmarkConfirmChannelTracing = exports.markConfirmChannelTracing = exports.getConnectionAttributesFromUrl = exports.getConnectionAttributesFromServer = exports.normalizeExchange = exports.CONNECTION_ATTRIBUTES = exports.CHANNEL_CONSUME_TIMEOUT_TIMER = exports.CHANNEL_SPANS_NOT_ENDED = exports.MESSAGE_STORED_SPAN = undefined;
|
|
31671
31594
|
var api_1 = require_src2();
|
|
31672
|
-
var instrumentation_1 =
|
|
31595
|
+
var instrumentation_1 = require_src6();
|
|
31673
31596
|
var semantic_conventions_1 = require_src3();
|
|
31674
31597
|
var semconv_1 = require_semconv12();
|
|
31675
31598
|
var semconv_obsolete_1 = require_semconv_obsolete();
|
|
@@ -31808,8 +31731,8 @@ var require_amqplib = __commonJS((exports) => {
|
|
|
31808
31731
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
31809
31732
|
exports.AmqplibInstrumentation = undefined;
|
|
31810
31733
|
var api_1 = require_src2();
|
|
31811
|
-
var core_1 =
|
|
31812
|
-
var instrumentation_1 =
|
|
31734
|
+
var core_1 = require_src5();
|
|
31735
|
+
var instrumentation_1 = require_src6();
|
|
31813
31736
|
var semconv_1 = require_semconv12();
|
|
31814
31737
|
var semconv_obsolete_1 = require_semconv_obsolete();
|
|
31815
31738
|
var types_1 = require_types3();
|
|
@@ -32200,7 +32123,7 @@ var require_amqplib = __commonJS((exports) => {
|
|
|
32200
32123
|
});
|
|
32201
32124
|
|
|
32202
32125
|
// node_modules/.bun/@opentelemetry+instrumentation-amqplib@0.61.0+e40b0dfdd726a224/node_modules/@opentelemetry/instrumentation-amqplib/build/src/index.js
|
|
32203
|
-
var
|
|
32126
|
+
var require_src28 = __commonJS((exports) => {
|
|
32204
32127
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
32205
32128
|
exports.EndOperation = exports.DEFAULT_CONFIG = exports.AmqplibInstrumentation = undefined;
|
|
32206
32129
|
var amqplib_1 = require_amqplib();
|
|
@@ -32216,7 +32139,7 @@ var require_src30 = __commonJS((exports) => {
|
|
|
32216
32139
|
} });
|
|
32217
32140
|
});
|
|
32218
32141
|
|
|
32219
|
-
// node_modules/.bun/@sentry+node@10.
|
|
32142
|
+
// node_modules/.bun/@sentry+node@10.49.0+852a1763612925e9/node_modules/@sentry/node/build/esm/integrations/tracing/amqplib.js
|
|
32220
32143
|
var import_instrumentation_amqplib, INTEGRATION_NAME42 = "Amqplib", config, instrumentAmqplib, _amqplibIntegration = () => {
|
|
32221
32144
|
return {
|
|
32222
32145
|
name: INTEGRATION_NAME42,
|
|
@@ -32226,9 +32149,9 @@ var import_instrumentation_amqplib, INTEGRATION_NAME42 = "Amqplib", config, inst
|
|
|
32226
32149
|
};
|
|
32227
32150
|
}, amqplibIntegration;
|
|
32228
32151
|
var init_amqplib = __esm(() => {
|
|
32229
|
-
|
|
32230
|
-
|
|
32231
|
-
import_instrumentation_amqplib = __toESM(
|
|
32152
|
+
init_esm3();
|
|
32153
|
+
init_esm5();
|
|
32154
|
+
import_instrumentation_amqplib = __toESM(require_src28(), 1);
|
|
32232
32155
|
config = {
|
|
32233
32156
|
consumeEndHook: (span) => {
|
|
32234
32157
|
addOriginToSpan(span, "auto.amqplib.otel.consumer");
|
|
@@ -32241,11 +32164,11 @@ var init_amqplib = __esm(() => {
|
|
|
32241
32164
|
amqplibIntegration = defineIntegration(_amqplibIntegration);
|
|
32242
32165
|
});
|
|
32243
32166
|
|
|
32244
|
-
// node_modules/.bun/@sentry+node@10.
|
|
32167
|
+
// node_modules/.bun/@sentry+node@10.49.0+852a1763612925e9/node_modules/@sentry/node/build/esm/integrations/tracing/vercelai/constants.js
|
|
32245
32168
|
var INTEGRATION_NAME43 = "VercelAI";
|
|
32246
32169
|
var init_constants11 = () => {};
|
|
32247
32170
|
|
|
32248
|
-
// node_modules/.bun/@sentry+node@10.
|
|
32171
|
+
// node_modules/.bun/@sentry+node@10.49.0+852a1763612925e9/node_modules/@sentry/node/build/esm/integrations/tracing/vercelai/instrumentation.js
|
|
32249
32172
|
function isToolError(obj) {
|
|
32250
32173
|
if (typeof obj !== "object" || obj === null) {
|
|
32251
32174
|
return false;
|
|
@@ -32315,9 +32238,9 @@ function determineRecordingSettings(integrationRecordingOptions, methodTelemetry
|
|
|
32315
32238
|
}
|
|
32316
32239
|
var import_instrumentation15, SUPPORTED_VERSIONS3, INSTRUMENTED_METHODS, SentryVercelAiInstrumentation;
|
|
32317
32240
|
var init_instrumentation5 = __esm(() => {
|
|
32318
|
-
|
|
32241
|
+
init_esm3();
|
|
32319
32242
|
init_constants11();
|
|
32320
|
-
import_instrumentation15 = __toESM(
|
|
32243
|
+
import_instrumentation15 = __toESM(require_src6(), 1);
|
|
32321
32244
|
SUPPORTED_VERSIONS3 = [">=3.0.0 <7"];
|
|
32322
32245
|
INSTRUMENTED_METHODS = [
|
|
32323
32246
|
"generateText",
|
|
@@ -32401,7 +32324,7 @@ var init_instrumentation5 = __esm(() => {
|
|
|
32401
32324
|
};
|
|
32402
32325
|
});
|
|
32403
32326
|
|
|
32404
|
-
// node_modules/.bun/@sentry+node@10.
|
|
32327
|
+
// node_modules/.bun/@sentry+node@10.49.0+852a1763612925e9/node_modules/@sentry/node/build/esm/integrations/tracing/vercelai/index.js
|
|
32405
32328
|
function shouldForceIntegration(client) {
|
|
32406
32329
|
const modules = client.getIntegrationByName("Modules");
|
|
32407
32330
|
return !!modules?.getModules?.()?.ai;
|
|
@@ -32425,19 +32348,19 @@ var instrumentVercelAi, _vercelAIIntegration = (options = {}) => {
|
|
|
32425
32348
|
};
|
|
32426
32349
|
}, vercelAIIntegration;
|
|
32427
32350
|
var init_vercelai = __esm(() => {
|
|
32428
|
-
|
|
32429
|
-
|
|
32351
|
+
init_esm3();
|
|
32352
|
+
init_esm5();
|
|
32430
32353
|
init_constants11();
|
|
32431
32354
|
init_instrumentation5();
|
|
32432
32355
|
instrumentVercelAi = generateInstrumentOnce(INTEGRATION_NAME43, () => new SentryVercelAiInstrumentation({}));
|
|
32433
32356
|
vercelAIIntegration = defineIntegration(_vercelAIIntegration);
|
|
32434
32357
|
});
|
|
32435
32358
|
|
|
32436
|
-
// node_modules/.bun/@sentry+node@10.
|
|
32359
|
+
// node_modules/.bun/@sentry+node@10.49.0+852a1763612925e9/node_modules/@sentry/node/build/esm/integrations/tracing/openai/instrumentation.js
|
|
32437
32360
|
var import_instrumentation17, supportedVersions, SentryOpenAiInstrumentation;
|
|
32438
32361
|
var init_instrumentation6 = __esm(() => {
|
|
32439
|
-
|
|
32440
|
-
import_instrumentation17 = __toESM(
|
|
32362
|
+
init_esm3();
|
|
32363
|
+
import_instrumentation17 = __toESM(require_src6(), 1);
|
|
32441
32364
|
supportedVersions = [">=4.0.0 <7"];
|
|
32442
32365
|
SentryOpenAiInstrumentation = class SentryOpenAiInstrumentation extends import_instrumentation17.InstrumentationBase {
|
|
32443
32366
|
constructor(config2 = {}) {
|
|
@@ -32503,7 +32426,7 @@ var init_instrumentation6 = __esm(() => {
|
|
|
32503
32426
|
};
|
|
32504
32427
|
});
|
|
32505
32428
|
|
|
32506
|
-
// node_modules/.bun/@sentry+node@10.
|
|
32429
|
+
// node_modules/.bun/@sentry+node@10.49.0+852a1763612925e9/node_modules/@sentry/node/build/esm/integrations/tracing/openai/index.js
|
|
32507
32430
|
var instrumentOpenAi, _openAiIntegration = (options = {}) => {
|
|
32508
32431
|
return {
|
|
32509
32432
|
name: OPENAI_INTEGRATION_NAME,
|
|
@@ -32513,18 +32436,18 @@ var instrumentOpenAi, _openAiIntegration = (options = {}) => {
|
|
|
32513
32436
|
};
|
|
32514
32437
|
}, openAIIntegration;
|
|
32515
32438
|
var init_openai2 = __esm(() => {
|
|
32516
|
-
|
|
32517
|
-
|
|
32439
|
+
init_esm3();
|
|
32440
|
+
init_esm5();
|
|
32518
32441
|
init_instrumentation6();
|
|
32519
32442
|
instrumentOpenAi = generateInstrumentOnce(OPENAI_INTEGRATION_NAME, (options) => new SentryOpenAiInstrumentation(options));
|
|
32520
32443
|
openAIIntegration = defineIntegration(_openAiIntegration);
|
|
32521
32444
|
});
|
|
32522
32445
|
|
|
32523
|
-
// node_modules/.bun/@sentry+node@10.
|
|
32446
|
+
// node_modules/.bun/@sentry+node@10.49.0+852a1763612925e9/node_modules/@sentry/node/build/esm/integrations/tracing/anthropic-ai/instrumentation.js
|
|
32524
32447
|
var import_instrumentation19, supportedVersions2, SentryAnthropicAiInstrumentation;
|
|
32525
32448
|
var init_instrumentation7 = __esm(() => {
|
|
32526
|
-
|
|
32527
|
-
import_instrumentation19 = __toESM(
|
|
32449
|
+
init_esm3();
|
|
32450
|
+
import_instrumentation19 = __toESM(require_src6(), 1);
|
|
32528
32451
|
supportedVersions2 = [">=0.19.2 <1.0.0"];
|
|
32529
32452
|
SentryAnthropicAiInstrumentation = class SentryAnthropicAiInstrumentation extends import_instrumentation19.InstrumentationBase {
|
|
32530
32453
|
constructor(config2 = {}) {
|
|
@@ -32581,7 +32504,7 @@ var init_instrumentation7 = __esm(() => {
|
|
|
32581
32504
|
};
|
|
32582
32505
|
});
|
|
32583
32506
|
|
|
32584
|
-
// node_modules/.bun/@sentry+node@10.
|
|
32507
|
+
// node_modules/.bun/@sentry+node@10.49.0+852a1763612925e9/node_modules/@sentry/node/build/esm/integrations/tracing/anthropic-ai/index.js
|
|
32585
32508
|
var instrumentAnthropicAi, _anthropicAIIntegration = (options = {}) => {
|
|
32586
32509
|
return {
|
|
32587
32510
|
name: ANTHROPIC_AI_INTEGRATION_NAME,
|
|
@@ -32592,18 +32515,18 @@ var instrumentAnthropicAi, _anthropicAIIntegration = (options = {}) => {
|
|
|
32592
32515
|
};
|
|
32593
32516
|
}, anthropicAIIntegration;
|
|
32594
32517
|
var init_anthropic_ai2 = __esm(() => {
|
|
32595
|
-
|
|
32596
|
-
|
|
32518
|
+
init_esm3();
|
|
32519
|
+
init_esm5();
|
|
32597
32520
|
init_instrumentation7();
|
|
32598
32521
|
instrumentAnthropicAi = generateInstrumentOnce(ANTHROPIC_AI_INTEGRATION_NAME, (options) => new SentryAnthropicAiInstrumentation(options));
|
|
32599
32522
|
anthropicAIIntegration = defineIntegration(_anthropicAIIntegration);
|
|
32600
32523
|
});
|
|
32601
32524
|
|
|
32602
|
-
// node_modules/.bun/@sentry+node@10.
|
|
32525
|
+
// node_modules/.bun/@sentry+node@10.49.0+852a1763612925e9/node_modules/@sentry/node/build/esm/integrations/tracing/google-genai/instrumentation.js
|
|
32603
32526
|
var import_instrumentation21, supportedVersions3, SentryGoogleGenAiInstrumentation;
|
|
32604
32527
|
var init_instrumentation8 = __esm(() => {
|
|
32605
|
-
|
|
32606
|
-
import_instrumentation21 = __toESM(
|
|
32528
|
+
init_esm3();
|
|
32529
|
+
import_instrumentation21 = __toESM(require_src6(), 1);
|
|
32607
32530
|
supportedVersions3 = [">=0.10.0 <2"];
|
|
32608
32531
|
SentryGoogleGenAiInstrumentation = class SentryGoogleGenAiInstrumentation extends import_instrumentation21.InstrumentationBase {
|
|
32609
32532
|
constructor(config2 = {}) {
|
|
@@ -32644,7 +32567,7 @@ var init_instrumentation8 = __esm(() => {
|
|
|
32644
32567
|
};
|
|
32645
32568
|
});
|
|
32646
32569
|
|
|
32647
|
-
// node_modules/.bun/@sentry+node@10.
|
|
32570
|
+
// node_modules/.bun/@sentry+node@10.49.0+852a1763612925e9/node_modules/@sentry/node/build/esm/integrations/tracing/google-genai/index.js
|
|
32648
32571
|
var instrumentGoogleGenAI, _googleGenAIIntegration = (options = {}) => {
|
|
32649
32572
|
return {
|
|
32650
32573
|
name: GOOGLE_GENAI_INTEGRATION_NAME,
|
|
@@ -32654,14 +32577,14 @@ var instrumentGoogleGenAI, _googleGenAIIntegration = (options = {}) => {
|
|
|
32654
32577
|
};
|
|
32655
32578
|
}, googleGenAIIntegration;
|
|
32656
32579
|
var init_google_genai2 = __esm(() => {
|
|
32657
|
-
|
|
32658
|
-
|
|
32580
|
+
init_esm3();
|
|
32581
|
+
init_esm5();
|
|
32659
32582
|
init_instrumentation8();
|
|
32660
32583
|
instrumentGoogleGenAI = generateInstrumentOnce(GOOGLE_GENAI_INTEGRATION_NAME, (options) => new SentryGoogleGenAiInstrumentation(options));
|
|
32661
32584
|
googleGenAIIntegration = defineIntegration(_googleGenAIIntegration);
|
|
32662
32585
|
});
|
|
32663
32586
|
|
|
32664
|
-
// node_modules/.bun/@sentry+node@10.
|
|
32587
|
+
// node_modules/.bun/@sentry+node@10.49.0+852a1763612925e9/node_modules/@sentry/node/build/esm/integrations/tracing/langchain/instrumentation.js
|
|
32665
32588
|
function augmentCallbackHandlers(handlers2, sentryHandler) {
|
|
32666
32589
|
if (!handlers2) {
|
|
32667
32590
|
return [sentryHandler];
|
|
@@ -32695,8 +32618,8 @@ function wrapRunnableMethod(originalMethod, sentryHandler, _methodName) {
|
|
|
32695
32618
|
}
|
|
32696
32619
|
var import_instrumentation23, supportedVersions4, SentryLangChainInstrumentation;
|
|
32697
32620
|
var init_instrumentation9 = __esm(() => {
|
|
32698
|
-
|
|
32699
|
-
import_instrumentation23 = __toESM(
|
|
32621
|
+
init_esm3();
|
|
32622
|
+
import_instrumentation23 = __toESM(require_src6(), 1);
|
|
32700
32623
|
supportedVersions4 = [">=0.1.0 <2.0.0"];
|
|
32701
32624
|
SentryLangChainInstrumentation = class SentryLangChainInstrumentation extends import_instrumentation23.InstrumentationBase {
|
|
32702
32625
|
constructor(config2 = {}) {
|
|
@@ -32784,7 +32707,7 @@ var init_instrumentation9 = __esm(() => {
|
|
|
32784
32707
|
};
|
|
32785
32708
|
});
|
|
32786
32709
|
|
|
32787
|
-
// node_modules/.bun/@sentry+node@10.
|
|
32710
|
+
// node_modules/.bun/@sentry+node@10.49.0+852a1763612925e9/node_modules/@sentry/node/build/esm/integrations/tracing/langchain/index.js
|
|
32788
32711
|
var instrumentLangChain, _langChainIntegration = (options = {}) => {
|
|
32789
32712
|
return {
|
|
32790
32713
|
name: LANGCHAIN_INTEGRATION_NAME,
|
|
@@ -32794,18 +32717,18 @@ var instrumentLangChain, _langChainIntegration = (options = {}) => {
|
|
|
32794
32717
|
};
|
|
32795
32718
|
}, langChainIntegration;
|
|
32796
32719
|
var init_langchain2 = __esm(() => {
|
|
32797
|
-
|
|
32798
|
-
|
|
32720
|
+
init_esm3();
|
|
32721
|
+
init_esm5();
|
|
32799
32722
|
init_instrumentation9();
|
|
32800
32723
|
instrumentLangChain = generateInstrumentOnce(LANGCHAIN_INTEGRATION_NAME, (options) => new SentryLangChainInstrumentation(options));
|
|
32801
32724
|
langChainIntegration = defineIntegration(_langChainIntegration);
|
|
32802
32725
|
});
|
|
32803
32726
|
|
|
32804
|
-
// node_modules/.bun/@sentry+node@10.
|
|
32727
|
+
// node_modules/.bun/@sentry+node@10.49.0+852a1763612925e9/node_modules/@sentry/node/build/esm/integrations/tracing/langgraph/instrumentation.js
|
|
32805
32728
|
var import_instrumentation25, supportedVersions5, SentryLangGraphInstrumentation;
|
|
32806
32729
|
var init_instrumentation10 = __esm(() => {
|
|
32807
|
-
|
|
32808
|
-
import_instrumentation25 = __toESM(
|
|
32730
|
+
init_esm3();
|
|
32731
|
+
import_instrumentation25 = __toESM(require_src6(), 1);
|
|
32809
32732
|
supportedVersions5 = [">=0.0.0 <2.0.0"];
|
|
32810
32733
|
SentryLangGraphInstrumentation = class SentryLangGraphInstrumentation extends import_instrumentation25.InstrumentationBase {
|
|
32811
32734
|
constructor(config2 = {}) {
|
|
@@ -32826,7 +32749,7 @@ var init_instrumentation10 = __esm(() => {
|
|
|
32826
32749
|
};
|
|
32827
32750
|
});
|
|
32828
32751
|
|
|
32829
|
-
// node_modules/.bun/@sentry+node@10.
|
|
32752
|
+
// node_modules/.bun/@sentry+node@10.49.0+852a1763612925e9/node_modules/@sentry/node/build/esm/integrations/tracing/langgraph/index.js
|
|
32830
32753
|
var instrumentLangGraph2, _langGraphIntegration = (options = {}) => {
|
|
32831
32754
|
return {
|
|
32832
32755
|
name: LANGGRAPH_INTEGRATION_NAME,
|
|
@@ -32836,14 +32759,14 @@ var instrumentLangGraph2, _langGraphIntegration = (options = {}) => {
|
|
|
32836
32759
|
};
|
|
32837
32760
|
}, langGraphIntegration;
|
|
32838
32761
|
var init_langgraph2 = __esm(() => {
|
|
32839
|
-
|
|
32840
|
-
|
|
32762
|
+
init_esm3();
|
|
32763
|
+
init_esm5();
|
|
32841
32764
|
init_instrumentation10();
|
|
32842
32765
|
instrumentLangGraph2 = generateInstrumentOnce(LANGGRAPH_INTEGRATION_NAME, (options) => new SentryLangGraphInstrumentation(options));
|
|
32843
32766
|
langGraphIntegration = defineIntegration(_langGraphIntegration);
|
|
32844
32767
|
});
|
|
32845
32768
|
|
|
32846
|
-
// node_modules/.bun/@sentry+node@10.
|
|
32769
|
+
// node_modules/.bun/@sentry+node@10.49.0+852a1763612925e9/node_modules/@sentry/node/build/esm/integrations/tracing/firebase/otel/patches/firestore.js
|
|
32847
32770
|
import * as net2 from "net";
|
|
32848
32771
|
function patchFirestore(tracer, firestoreSupportedVersions, wrap2, unwrap2, config2) {
|
|
32849
32772
|
const defaultFirestoreSpanCreationHook = () => {};
|
|
@@ -33009,11 +32932,11 @@ function addAttributes(span, reference) {
|
|
|
33009
32932
|
var import_api24, import_instrumentation27, import_semantic_conventions8;
|
|
33010
32933
|
var init_firestore = __esm(() => {
|
|
33011
32934
|
import_api24 = __toESM(require_src2(), 1);
|
|
33012
|
-
import_instrumentation27 = __toESM(
|
|
32935
|
+
import_instrumentation27 = __toESM(require_src6(), 1);
|
|
33013
32936
|
import_semantic_conventions8 = __toESM(require_src3(), 1);
|
|
33014
32937
|
});
|
|
33015
32938
|
|
|
33016
|
-
// node_modules/.bun/@sentry+node@10.
|
|
32939
|
+
// node_modules/.bun/@sentry+node@10.49.0+852a1763612925e9/node_modules/@sentry/node/build/esm/integrations/tracing/firebase/otel/patches/functions.js
|
|
33017
32940
|
function patchFunctions(tracer, functionsSupportedVersions, wrap2, unwrap2, config2) {
|
|
33018
32941
|
let requestHook = () => {};
|
|
33019
32942
|
let responseHook = () => {};
|
|
@@ -33163,16 +33086,16 @@ function unwrapCommonFunctions(moduleExports, unwrap2) {
|
|
|
33163
33086
|
var import_api25, import_instrumentation28;
|
|
33164
33087
|
var init_functions = __esm(() => {
|
|
33165
33088
|
import_api25 = __toESM(require_src2(), 1);
|
|
33166
|
-
import_instrumentation28 = __toESM(
|
|
33089
|
+
import_instrumentation28 = __toESM(require_src6(), 1);
|
|
33167
33090
|
});
|
|
33168
33091
|
|
|
33169
|
-
// node_modules/.bun/@sentry+node@10.
|
|
33092
|
+
// node_modules/.bun/@sentry+node@10.49.0+852a1763612925e9/node_modules/@sentry/node/build/esm/integrations/tracing/firebase/otel/firebaseInstrumentation.js
|
|
33170
33093
|
var import_instrumentation29, DefaultFirebaseInstrumentationConfig, firestoreSupportedVersions, functionsSupportedVersions, FirebaseInstrumentation;
|
|
33171
33094
|
var init_firebaseInstrumentation = __esm(() => {
|
|
33172
|
-
|
|
33095
|
+
init_esm3();
|
|
33173
33096
|
init_firestore();
|
|
33174
33097
|
init_functions();
|
|
33175
|
-
import_instrumentation29 = __toESM(
|
|
33098
|
+
import_instrumentation29 = __toESM(require_src6(), 1);
|
|
33176
33099
|
DefaultFirebaseInstrumentationConfig = {};
|
|
33177
33100
|
firestoreSupportedVersions = [">=3.0.0 <5"];
|
|
33178
33101
|
functionsSupportedVersions = [">=6.0.0 <7"];
|
|
@@ -33192,7 +33115,7 @@ var init_firebaseInstrumentation = __esm(() => {
|
|
|
33192
33115
|
};
|
|
33193
33116
|
});
|
|
33194
33117
|
|
|
33195
|
-
// node_modules/.bun/@sentry+node@10.
|
|
33118
|
+
// node_modules/.bun/@sentry+node@10.49.0+852a1763612925e9/node_modules/@sentry/node/build/esm/integrations/tracing/firebase/firebase.js
|
|
33196
33119
|
var INTEGRATION_NAME44 = "Firebase", config2, instrumentFirebase, _firebaseIntegration = () => {
|
|
33197
33120
|
return {
|
|
33198
33121
|
name: INTEGRATION_NAME44,
|
|
@@ -33202,8 +33125,8 @@ var INTEGRATION_NAME44 = "Firebase", config2, instrumentFirebase, _firebaseInteg
|
|
|
33202
33125
|
};
|
|
33203
33126
|
}, firebaseIntegration;
|
|
33204
33127
|
var init_firebase = __esm(() => {
|
|
33205
|
-
|
|
33206
|
-
|
|
33128
|
+
init_esm3();
|
|
33129
|
+
init_esm5();
|
|
33207
33130
|
init_firebaseInstrumentation();
|
|
33208
33131
|
config2 = {
|
|
33209
33132
|
firestoreSpanCreationHook: (span) => {
|
|
@@ -33232,7 +33155,7 @@ var init_firebase = __esm(() => {
|
|
|
33232
33155
|
firebaseIntegration = defineIntegration(_firebaseIntegration);
|
|
33233
33156
|
});
|
|
33234
33157
|
|
|
33235
|
-
// node_modules/.bun/@sentry+node@10.
|
|
33158
|
+
// node_modules/.bun/@sentry+node@10.49.0+852a1763612925e9/node_modules/@sentry/node/build/esm/integrations/tracing/index.js
|
|
33236
33159
|
function getAutoPerformanceIntegrations() {
|
|
33237
33160
|
return [
|
|
33238
33161
|
expressIntegration(),
|
|
@@ -33294,7 +33217,7 @@ var init_tracing2 = __esm(() => {
|
|
|
33294
33217
|
init_vercelai();
|
|
33295
33218
|
});
|
|
33296
33219
|
|
|
33297
|
-
// node_modules/.bun/@sentry+node@10.
|
|
33220
|
+
// node_modules/.bun/@sentry+node@10.49.0+852a1763612925e9/node_modules/@sentry/node/build/esm/sdk/initOtel.js
|
|
33298
33221
|
function initOpenTelemetry(client, options = {}) {
|
|
33299
33222
|
if (client.getOptions().debug) {
|
|
33300
33223
|
setupOpenTelemetryLogger();
|
|
@@ -33306,11 +33229,7 @@ function initOpenTelemetry(client, options = {}) {
|
|
|
33306
33229
|
function setupOtel(client, options = {}) {
|
|
33307
33230
|
const provider = new BasicTracerProvider({
|
|
33308
33231
|
sampler: new SentrySampler(client),
|
|
33309
|
-
resource:
|
|
33310
|
-
[import_semantic_conventions9.ATTR_SERVICE_NAME]: "node",
|
|
33311
|
-
[import_semantic_conventions9.SEMRESATTRS_SERVICE_NAMESPACE]: "sentry",
|
|
33312
|
-
[import_semantic_conventions9.ATTR_SERVICE_VERSION]: SDK_VERSION
|
|
33313
|
-
})),
|
|
33232
|
+
resource: getSentryResource("node"),
|
|
33314
33233
|
forceFlushTimeoutMillis: 500,
|
|
33315
33234
|
spanProcessors: [
|
|
33316
33235
|
new SentrySpanProcessor({
|
|
@@ -33338,19 +33257,17 @@ function _clampSpanProcessorTimeout(maxSpanWaitDuration) {
|
|
|
33338
33257
|
}
|
|
33339
33258
|
return maxSpanWaitDuration;
|
|
33340
33259
|
}
|
|
33341
|
-
var import_api26,
|
|
33260
|
+
var import_api26, MAX_MAX_SPAN_WAIT_DURATION = 1e6;
|
|
33342
33261
|
var init_initOtel = __esm(() => {
|
|
33343
|
-
init_esm();
|
|
33344
33262
|
init_esm2();
|
|
33345
|
-
init_esm4();
|
|
33346
33263
|
init_esm3();
|
|
33264
|
+
init_esm5();
|
|
33265
|
+
init_esm4();
|
|
33347
33266
|
init_debug_build3();
|
|
33348
33267
|
import_api26 = __toESM(require_src2(), 1);
|
|
33349
|
-
import_resources = __toESM(require_src5(), 1);
|
|
33350
|
-
import_semantic_conventions9 = __toESM(require_src3(), 1);
|
|
33351
33268
|
});
|
|
33352
33269
|
|
|
33353
|
-
// node_modules/.bun/@sentry+node@10.
|
|
33270
|
+
// node_modules/.bun/@sentry+node@10.49.0+852a1763612925e9/node_modules/@sentry/node/build/esm/sdk/index.js
|
|
33354
33271
|
function getDefaultIntegrationsWithoutPerformance() {
|
|
33355
33272
|
const nodeCoreIntegrations = getDefaultIntegrations();
|
|
33356
33273
|
return nodeCoreIntegrations.filter((integration) => integration.name !== "Http" && integration.name !== "NodeFetch").concat(httpIntegration3(), nativeNodeFetchIntegration3());
|
|
@@ -33379,18 +33296,18 @@ function _init2(options = {}, getDefaultIntegrationsImpl) {
|
|
|
33379
33296
|
return client;
|
|
33380
33297
|
}
|
|
33381
33298
|
var init_sdk2 = __esm(() => {
|
|
33382
|
-
|
|
33383
|
-
|
|
33299
|
+
init_esm3();
|
|
33300
|
+
init_esm5();
|
|
33384
33301
|
init_http3();
|
|
33385
33302
|
init_node_fetch2();
|
|
33386
33303
|
init_tracing2();
|
|
33387
33304
|
init_initOtel();
|
|
33388
33305
|
});
|
|
33389
33306
|
|
|
33390
|
-
// node_modules/.bun/@sentry+node@10.
|
|
33391
|
-
var
|
|
33307
|
+
// node_modules/.bun/@sentry+node@10.49.0+852a1763612925e9/node_modules/@sentry/node/build/esm/index.js
|
|
33308
|
+
var init_esm8 = __esm(() => {
|
|
33392
33309
|
init_sdk2();
|
|
33393
|
-
|
|
33310
|
+
init_esm3();
|
|
33394
33311
|
});
|
|
33395
33312
|
|
|
33396
33313
|
// src/utils/sentry.ts
|
|
@@ -33466,7 +33383,7 @@ async function closeSentry(timeoutMs = 2000) {
|
|
|
33466
33383
|
}
|
|
33467
33384
|
var initialized = false;
|
|
33468
33385
|
var init_sentry = __esm(() => {
|
|
33469
|
-
|
|
33386
|
+
init_esm8();
|
|
33470
33387
|
init_debug();
|
|
33471
33388
|
});
|
|
33472
33389
|
|