@caspian2026/agent-sdk 0.0.18 → 0.0.20
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/dist/{chunk-s9dazft8.js → chunk-09nzqj0f.js} +2927 -764
- package/dist/{chunk-9gn2ft16.js → chunk-0a8jb5c8.js} +9 -9
- package/dist/{chunk-xrtkg6a5.js → chunk-0b85d7q0.js} +7 -7
- package/dist/{chunk-5j8md8dg.js → chunk-0dwdg9bz.js} +9 -9
- package/dist/{chunk-ap1wxeh4.js → chunk-0f84wjjc.js} +79 -79
- package/dist/chunk-0fw1mz8s.js +27 -0
- package/dist/{chunk-kwekc97v.js → chunk-0pbwcm8b.js} +1 -1
- package/dist/chunk-0pqv68xt.js +133 -0
- package/dist/chunk-0pv13fxq.js +1684 -0
- package/dist/chunk-0tgn1431.js +38 -0
- package/dist/{chunk-bg4x9ex0.js → chunk-0tja7d1y.js} +6 -6
- package/dist/{chunk-xs6my1r1.js → chunk-0w2ntzwz.js} +92 -92
- package/dist/chunk-0yshjsxt.js +122 -0
- package/dist/chunk-0z9s957c.js +94 -0
- package/dist/{chunk-fyc5fepv.js → chunk-0zscb6c7.js} +1 -1
- package/dist/{chunk-x8d2ehd7.js → chunk-13pmg16e.js} +1 -1
- package/dist/{chunk-v4t6dyyh.js → chunk-15f7ee0j.js} +245 -158
- package/dist/{chunk-ksrvrndt.js → chunk-1ehn6qdp.js} +13 -13
- package/dist/chunk-1gt45dyg.js +101 -0
- package/dist/{chunk-39dpcr2t.js → chunk-1s9jxpjm.js} +7 -7
- package/dist/{chunk-3c25bcsw.js → chunk-1t3cyn1k.js} +1 -1
- package/dist/{chunk-bpa7mm4n.js → chunk-1ycd7t0f.js} +88 -88
- package/dist/{chunk-aj428gay.js → chunk-1ytng03p.js} +12 -12
- package/dist/{chunk-72na7rqk.js → chunk-25jhz0br.js} +16 -16
- package/dist/{chunk-wp3ryedc.js → chunk-26kp0k1t.js} +79 -79
- package/dist/{chunk-175v9c0j.js → chunk-2b00k9ep.js} +78 -78
- package/dist/{chunk-egme4m15.js → chunk-2bh7f2wa.js} +13 -13
- package/dist/{chunk-hf0q1g1n.js → chunk-2bk4jvse.js} +7 -7
- package/dist/{chunk-0vkfrmqm.js → chunk-2mfzqkzn.js} +69 -29
- package/dist/{chunk-szj5wvdy.js → chunk-2qpy8kne.js} +1 -1
- package/dist/{chunk-pwwa7s62.js → chunk-2vc3fyp9.js} +2 -2
- package/dist/{chunk-n4022dzr.js → chunk-37j24srh.js} +6 -6
- package/dist/{chunk-bxd7dzz4.js → chunk-39r7sh1h.js} +90 -90
- package/dist/{chunk-a6d2q415.js → chunk-3hcfwedh.js} +5 -5
- package/dist/{chunk-6e84jw8j.js → chunk-3hxr3x9d.js} +2 -2
- package/dist/{chunk-2zf2y9xh.js → chunk-3jbxhytz.js} +8 -8
- package/dist/{chunk-ch53xex6.js → chunk-3k8ecscj.js} +78 -78
- package/dist/chunk-3kx7brrn.js +55 -0
- package/dist/{chunk-yb6xww2x.js → chunk-3w4xq6cv.js} +92 -92
- package/dist/{chunk-6rhzfq66.js → chunk-3xamk0n1.js} +25 -25
- package/dist/{chunk-yt3s7a7d.js → chunk-41wn5eqw.js} +10 -10
- package/dist/{chunk-fys33rtr.js → chunk-44bqv91d.js} +3 -3
- package/dist/{chunk-cgfdkzhb.js → chunk-4bcx2a3p.js} +1 -1
- package/dist/{chunk-mswx2nma.js → chunk-4e1j46k0.js} +3 -3
- package/dist/{chunk-dg5g4rx6.js → chunk-4fwzreqj.js} +6 -6
- package/dist/{chunk-8p1zdkhr.js → chunk-4kfhh3aw.js} +4 -4
- package/dist/chunk-4kfs8ymb.js +92 -0
- package/dist/{chunk-t29a6zb5.js → chunk-4nqm22j3.js} +6 -4
- package/dist/{chunk-27west95.js → chunk-4v1mr2x2.js} +41 -41
- package/dist/{chunk-qmaadr70.js → chunk-4yq5zz3m.js} +9 -9
- package/dist/{chunk-y6ktw609.js → chunk-52pp0dbk.js} +4 -4
- package/dist/{chunk-3nk79af8.js → chunk-568q88qz.js} +1 -1
- package/dist/{chunk-ase86y73.js → chunk-5f57qtf9.js} +1 -1
- package/dist/{chunk-07069jq1.js → chunk-5gr6ekgm.js} +4 -4
- package/dist/{chunk-ppwjyveh.js → chunk-5nqrdqz5.js} +1 -1
- package/dist/chunk-5rhmrt2j.js +121 -0
- package/dist/{chunk-fbfjz4mv.js → chunk-5sd5fz78.js} +78 -78
- package/dist/{chunk-nsc89h0n.js → chunk-5v6wr1z4.js} +3 -9
- package/dist/{chunk-69n11zng.js → chunk-5vavvf6y.js} +5 -5
- package/dist/{chunk-g6xtx9ad.js → chunk-60a647ty.js} +81 -81
- package/dist/{chunk-dwyaks7s.js → chunk-61x3akfa.js} +2 -2
- package/dist/chunk-626watky.js +50 -0
- package/dist/{chunk-v786pxdf.js → chunk-62jrhytw.js} +10 -10
- package/dist/{chunk-a4x613vq.js → chunk-638qz5y7.js} +5 -5
- package/dist/{chunk-n8780srz.js → chunk-657k4mef.js} +78 -79
- package/dist/chunk-6aqa0ec5.js +145 -0
- package/dist/{chunk-1e7a4d58.js → chunk-6c22q39e.js} +78 -78
- package/dist/{chunk-b0kf00ff.js → chunk-6d05fvxz.js} +2 -2
- package/dist/{chunk-dapz0pb2.js → chunk-6fe0an4e.js} +79 -79
- package/dist/{chunk-wpegnpmd.js → chunk-6fx36a3s.js} +5 -5
- package/dist/{chunk-dsd0v5za.js → chunk-6hs3wed5.js} +7 -7
- package/dist/{chunk-d1m96xhv.js → chunk-6qb753r5.js} +79 -79
- package/dist/{chunk-0xjaqda8.js → chunk-6rcf54zd.js} +48 -27
- package/dist/{chunk-jtwdv23y.js → chunk-6twsw69m.js} +7 -7
- package/dist/{chunk-6p6mwfc8.js → chunk-6vp8zen2.js} +79 -79
- package/dist/chunk-6zfb4n08.js +91 -0
- package/dist/chunk-73bgy356.js +90 -0
- package/dist/{chunk-6gjke1xd.js → chunk-7ba45tqg.js} +5 -5
- package/dist/{chunk-j1y56wgn.js → chunk-7dc9d8fy.js} +7 -7
- package/dist/{chunk-5vp228m5.js → chunk-7deqmrby.js} +5 -5
- package/dist/{chunk-9x5zgy22.js → chunk-7e9xcw77.js} +1 -1
- package/dist/{chunk-gapsz2hr.js → chunk-7gbe6ftc.js} +9 -9
- package/dist/{chunk-xhfmdq1y.js → chunk-7gte8zc4.js} +1 -1
- package/dist/{chunk-6nsd9606.js → chunk-7kp42hzq.js} +2 -2
- package/dist/{chunk-hakdhagh.js → chunk-7njkaxjp.js} +39 -120
- package/dist/chunk-7nphjzve.js +105 -0
- package/dist/chunk-7sp9dk6d.js +20 -0
- package/dist/{chunk-wgk9sxk7.js → chunk-7tdk9ypw.js} +10 -10
- package/dist/{chunk-6dj5t602.js → chunk-7wegz81g.js} +1 -1
- package/dist/{chunk-7wm5s02e.js → chunk-7yexhdjs.js} +1 -1
- package/dist/{chunk-51pjmydp.js → chunk-88k0rgdp.js} +11 -11
- package/dist/{chunk-a4vds27m.js → chunk-8a1jee0e.js} +2 -2
- package/dist/{chunk-kd5k97vr.js → chunk-8ady2sm4.js} +10 -28
- package/dist/chunk-8jmkpx1h.js +123 -0
- package/dist/{chunk-1h6cfybr.js → chunk-8m1gfrme.js} +14 -14
- package/dist/{chunk-7sgtxrsc.js → chunk-8q5fzyem.js} +10 -8
- package/dist/{chunk-zzm33q8x.js → chunk-8r1napm7.js} +1 -1
- package/dist/{chunk-cdz5yb0r.js → chunk-9029sbq1.js} +1 -1
- package/dist/{chunk-y1784krc.js → chunk-92wwx9vf.js} +2 -2
- package/dist/{chunk-7ekgfz41.js → chunk-93hxjnkb.js} +78 -78
- package/dist/{chunk-7v42bsr9.js → chunk-93kvs6fh.js} +6 -6
- package/dist/{chunk-7ep76qfm.js → chunk-9b71sn2g.js} +41 -41
- package/dist/{chunk-mjgzpvks.js → chunk-9drwsb3g.js} +80 -80
- package/dist/{chunk-frnaaxw8.js → chunk-9p62r6he.js} +6 -6
- package/dist/{chunk-e86wz4cn.js → chunk-9re786wa.js} +40 -40
- package/dist/{chunk-hp00gn9k.js → chunk-9rhy5vt7.js} +9 -9
- package/dist/chunk-9xq7ef8y.js +100 -0
- package/dist/chunk-9ydxqdhe.js +121 -0
- package/dist/{chunk-45fm4zby.js → chunk-a00gfn8e.js} +2 -2
- package/dist/{chunk-qt5e2evw.js → chunk-a1mewckj.js} +78 -78
- package/dist/{chunk-k8vp0atq.js → chunk-a3qtafgw.js} +79 -79
- package/dist/chunk-ab6apbd2.js +140 -0
- package/dist/{chunk-d4mdda98.js → chunk-apjnwens.js} +8 -8
- package/dist/{chunk-ddsjkqs4.js → chunk-b1hygym1.js} +8 -8
- package/dist/{chunk-qatfdxvd.js → chunk-b610qrvk.js} +3 -3
- package/dist/{chunk-83pxcp3r.js → chunk-bbhg7m1a.js} +79 -79
- package/dist/{chunk-83hfzbx3.js → chunk-bdhdmkya.js} +1 -1
- package/dist/chunk-bdrsheny.js +35 -0
- package/dist/{chunk-vyjeh50y.js → chunk-bktmgb4n.js} +68 -39
- package/dist/{chunk-feyzykye.js → chunk-bq0wp28e.js} +1 -1
- package/dist/{chunk-0vp3wfab.js → chunk-bs9rn85s.js} +1 -1
- package/dist/{chunk-q41bvf6v.js → chunk-bstyysxw.js} +3 -3
- package/dist/{chunk-yyex5gsf.js → chunk-bta8w8ge.js} +10 -10
- package/dist/chunk-bvfqg3cg.js +131 -0
- package/dist/{chunk-zpnrabf3.js → chunk-bw8y1msy.js} +5 -5
- package/dist/{chunk-hxavvf2h.js → chunk-c2k1n6yb.js} +41 -335
- package/dist/{chunk-rgk6mfwe.js → chunk-c6gpdd2c.js} +78 -78
- package/dist/{chunk-tmjt0nae.js → chunk-cajjdb7j.js} +4 -4
- package/dist/{chunk-5hnhres8.js → chunk-ccdh8eh2.js} +38 -38
- package/dist/{chunk-57qr194r.js → chunk-cfpnb7x4.js} +78 -78
- package/dist/{chunk-9t6ktd1k.js → chunk-cgzq4zww.js} +4 -4
- package/dist/chunk-cj0j4n23.js +71 -0
- package/dist/{chunk-0731m51q.js → chunk-ckrs789w.js} +1 -1
- package/dist/{chunk-ejjp1fy1.js → chunk-cqb31tfg.js} +6 -6
- package/dist/{chunk-zx09tq9a.js → chunk-cx21etb2.js} +2 -2
- package/dist/chunk-cynnhyy3.js +103 -0
- package/dist/chunk-d0zx5hba.js +85 -0
- package/dist/{chunk-svx8h8tt.js → chunk-d2cypdsx.js} +23 -23
- package/dist/{chunk-1h2famwb.js → chunk-d99k9r9g.js} +1 -1
- package/dist/{chunk-mn96ajge.js → chunk-dg2k597k.js} +9 -9
- package/dist/{chunk-ewadzrm8.js → chunk-dh01e4bp.js} +2 -2
- package/dist/{chunk-ztc0wy8h.js → chunk-dmp3nd67.js} +90 -90
- package/dist/{chunk-43rp9zbk.js → chunk-dv38yqdn.js} +3 -3
- package/dist/{chunk-bwtw1cbj.js → chunk-dy8278wt.js} +7 -7
- package/dist/{chunk-fryfy1ac.js → chunk-dzcb2ekz.js} +4 -4
- package/dist/{chunk-0z7km4rh.js → chunk-e01rphq3.js} +114 -117
- package/dist/{chunk-gtn3b2xr.js → chunk-e22at2jn.js} +4 -4
- package/dist/chunk-e6s584g7.js +77 -0
- package/dist/{chunk-a9jh9m0x.js → chunk-e7j6g62d.js} +9 -9
- package/dist/chunk-e90dyenj.js +127 -0
- package/dist/{chunk-eeag0gpw.js → chunk-eb4t4ehh.js} +6 -6
- package/dist/{chunk-p4k5pzge.js → chunk-ej882sb5.js} +27 -33
- package/dist/{chunk-aejyn03k.js → chunk-ekewg3tj.js} +4 -4
- package/dist/chunk-em5s71j6.js +89 -0
- package/dist/chunk-eqcgr89w.js +646 -0
- package/dist/{chunk-5zqatqff.js → chunk-et3jfht8.js} +13 -13
- package/dist/{chunk-qp2qdcda.js → chunk-eta5aekm.js} +9 -30
- package/dist/{chunk-6xe15dps.js → chunk-ewsvbzhz.js} +3 -3
- package/dist/{chunk-hd6rkyjg.js → chunk-eynfddhq.js} +143 -144
- package/dist/{chunk-66zry909.js → chunk-f517h74h.js} +1 -1
- package/dist/{chunk-4pbx3g7s.js → chunk-f79jyxwd.js} +4 -4
- package/dist/{chunk-hwfknpxv.js → chunk-f9ybfyyp.js} +2 -2
- package/dist/chunk-f9zvs66e.js +105 -0
- package/dist/{chunk-7aw745vx.js → chunk-fdwtd6s9.js} +3 -3
- package/dist/{chunk-2jdbfhb2.js → chunk-fefs2xby.js} +25 -25
- package/dist/{chunk-jzthz1bx.js → chunk-fpq87r80.js} +1 -1
- package/dist/{chunk-c25z9zmd.js → chunk-fqr6n9z6.js} +3 -3
- package/dist/{chunk-s8kj6ajy.js → chunk-fr5s5ceq.js} +2 -2
- package/dist/chunk-gaf31961.js +81 -0
- package/dist/{chunk-64c1avct.js → chunk-gbvmks09.js} +1 -1
- package/dist/{chunk-y4ca9kqz.js → chunk-ggk84sc5.js} +4 -4
- package/dist/chunk-gkz2djp0.js +121 -0
- package/dist/{chunk-grd58s24.js → chunk-gm8ht8g9.js} +6 -6
- package/dist/{chunk-6vrbnjz8.js → chunk-gt43z5zd.js} +81 -81
- package/dist/chunk-gwktnbeg.js +90 -0
- package/dist/{chunk-xv3era3s.js → chunk-gxsrvxjn.js} +1 -1
- package/dist/chunk-h0bgwz9v.js +55 -0
- package/dist/{chunk-tzfd1egv.js → chunk-h1tv19q0.js} +80 -80
- package/dist/chunk-h3v46eky.js +105 -0
- package/dist/{chunk-vtxskzvg.js → chunk-h4tnp6dw.js} +7 -7
- package/dist/{chunk-sm9q19ws.js → chunk-h8n0a991.js} +79 -79
- package/dist/{chunk-gp605hkw.js → chunk-hbz8xggv.js} +11 -11
- package/dist/{chunk-v78fj8by.js → chunk-he9zw1gh.js} +2 -2
- package/dist/{chunk-asenzcq2.js → chunk-hgb8024k.js} +8 -8
- package/dist/{chunk-8sxpmxaj.js → chunk-hhvf84fa.js} +193 -195
- package/dist/chunk-hycm92ss.js +52 -0
- package/dist/{chunk-kwkcmv5p.js → chunk-j0bfbce5.js} +36 -36
- package/dist/{chunk-efr7hp9d.js → chunk-j15xyew5.js} +4 -4
- package/dist/chunk-j3c5r08n.js +87 -0
- package/dist/chunk-j3q2sbhc.js +107 -0
- package/dist/{chunk-rh5v7hf7.js → chunk-j77g2v22.js} +5 -5
- package/dist/{chunk-ps49ymvj.js → chunk-ja1nqz5q.js} +2 -2
- package/dist/{chunk-x66axbfx.js → chunk-ja23mty8.js} +83 -83
- package/dist/{chunk-c2he84t1.js → chunk-jrqjxhxj.js} +2 -2
- package/dist/{chunk-87xg6yb4.js → chunk-jsvsnqkn.js} +2 -2
- package/dist/{chunk-b71fc01f.js → chunk-jw9zwgea.js} +4 -4
- package/dist/{chunk-we205f8x.js → chunk-jwqveqpr.js} +9 -9
- package/dist/{chunk-v4dh4hcd.js → chunk-k0dprbnn.js} +78 -78
- package/dist/{chunk-2h6f45jx.js → chunk-k3gvjjm9.js} +5 -5
- package/dist/{chunk-2fwze72g.js → chunk-k6cq3j7z.js} +1 -1
- package/dist/{chunk-x7fdwq3d.js → chunk-k6wmp81y.js} +1 -1
- package/dist/{chunk-e8xjcdk1.js → chunk-k8by1vfd.js} +19 -19
- package/dist/chunk-k9h7kjf6.js +8 -0
- package/dist/chunk-karea2z2.js +89 -0
- package/dist/{chunk-wa8yn2p0.js → chunk-kcp41jcn.js} +2 -2
- package/dist/{chunk-g7qtsqk8.js → chunk-khwhppzs.js} +2 -2
- package/dist/{chunk-68ffk5qa.js → chunk-kjx9a9p4.js} +2 -2
- package/dist/chunk-kra9y8qb.js +97 -0
- package/dist/{chunk-j5bth84e.js → chunk-kt25n52f.js} +4 -4
- package/dist/{chunk-c5hr98qm.js → chunk-m12e2wq3.js} +80 -80
- package/dist/{chunk-h9n54swm.js → chunk-m13ptmf2.js} +2 -2
- package/dist/{chunk-4jm600zv.js → chunk-m6vs965c.js} +1 -1
- package/dist/{chunk-0vz3p22g.js → chunk-m82ketm1.js} +78 -78
- package/dist/{chunk-kpr0q6sr.js → chunk-m8qvkabg.js} +4 -4
- package/dist/{chunk-wqdfck13.js → chunk-ma6x4ws8.js} +46 -46
- package/dist/{chunk-c54cp070.js → chunk-mbfzfg56.js} +85 -85
- package/dist/{chunk-2jzpw1pf.js → chunk-mtstpt1e.js} +43 -43
- package/dist/chunk-mwzwm2z2.js +60 -0
- package/dist/{chunk-w28t9jy7.js → chunk-myac8yfs.js} +5 -5
- package/dist/{chunk-a7gk9w5h.js → chunk-n3vmrzcy.js} +5 -5
- package/dist/chunk-n535j168.js +131 -0
- package/dist/{chunk-v9smspw2.js → chunk-n9ne98cj.js} +5 -4
- package/dist/{chunk-fq5vhqx0.js → chunk-n9xhrzxs.js} +78 -78
- package/dist/{chunk-s43qhc1v.js → chunk-ngde5k9k.js} +79 -79
- package/dist/{chunk-a7fqavjt.js → chunk-nsxw4b3j.js} +8 -8
- package/dist/{chunk-9pnc5v9y.js → chunk-nwdpjkrw.js} +78 -78
- package/dist/{chunk-sd36yzx8.js → chunk-nztayqyx.js} +1 -1
- package/dist/{chunk-db92x7yq.js → chunk-p0n9ew4x.js} +4 -4
- package/dist/{chunk-ehtwnxpg.js → chunk-p4e5ymdw.js} +1 -1
- package/dist/{chunk-cnsj3vq2.js → chunk-p8hn07q2.js} +1 -1
- package/dist/chunk-p9nkqgej.js +19 -0
- package/dist/{chunk-agfhxmaa.js → chunk-pg4fbhbm.js} +11 -11
- package/dist/{chunk-qd5n2h9f.js → chunk-pg8asjpk.js} +20 -20
- package/dist/chunk-pgptefy1.js +114 -0
- package/dist/chunk-pjn0s3j1.js +111 -0
- package/dist/chunk-pkwv0q5q.js +91 -0
- package/dist/{chunk-netzwgv1.js → chunk-pnc7q9rt.js} +1 -1
- package/dist/{chunk-xeb6075z.js → chunk-pnrdvxhy.js} +2 -2
- package/dist/{chunk-5dpys8tw.js → chunk-pp5zbnpr.js} +80 -80
- package/dist/{chunk-gq2ty76e.js → chunk-pqf2bjy1.js} +4 -4
- package/dist/{chunk-3fhrs3qm.js → chunk-pqxyft7d.js} +8 -8
- package/dist/{chunk-2k3y6fnp.js → chunk-pt1jzmkv.js} +2 -2
- package/dist/{chunk-vdagxf3w.js → chunk-pt6vj628.js} +9 -9
- package/dist/{chunk-c7jwbe76.js → chunk-pyn4ry36.js} +103 -57
- package/dist/{chunk-3b2t95m2.js → chunk-q53kkzhr.js} +80 -80
- package/dist/chunk-q6m9qgaa.js +88 -0
- package/dist/{chunk-p8na2wwp.js → chunk-q74fcthe.js} +2 -2
- package/dist/{chunk-zthjz9rz.js → chunk-q8t0ym9s.js} +83 -83
- package/dist/{chunk-mcws22k3.js → chunk-q9y73cmh.js} +1 -1
- package/dist/{chunk-fajg8x36.js → chunk-qbbf7rr5.js} +1818 -727
- package/dist/{chunk-qb6k2afy.js → chunk-qka6pqrq.js} +11 -11
- package/dist/{chunk-0paqc2yw.js → chunk-qqc3b97c.js} +1 -1
- package/dist/{chunk-t9p85zff.js → chunk-qrdbqeve.js} +2 -2
- package/dist/{chunk-96thjkqe.js → chunk-qrgxbrs9.js} +1958 -3027
- package/dist/{chunk-etnkcek5.js → chunk-qs4stpt5.js} +14 -14
- package/dist/{chunk-b1kcd3ss.js → chunk-r055z03k.js} +1 -1
- package/dist/{chunk-ns7x6xam.js → chunk-r1q9s5hs.js} +13 -10
- package/dist/{chunk-b8zcqbbd.js → chunk-r27tskss.js} +11 -9
- package/dist/{chunk-etdt1xz3.js → chunk-r4pq77kb.js} +3 -3
- package/dist/{chunk-5z28bqne.js → chunk-r585pc0g.js} +4 -3
- package/dist/chunk-r82c7gfc.js +58 -0
- package/dist/{chunk-aejj9p9y.js → chunk-ra9hbfyz.js} +3 -3
- package/dist/{chunk-jnqvh4rm.js → chunk-rfj6gjwh.js} +15 -15
- package/dist/{chunk-qkczt8cr.js → chunk-rgaedd84.js} +5 -5
- package/dist/chunk-rgshryeb.js +93 -0
- package/dist/chunk-rk2kb2ec.js +101 -0
- package/dist/{chunk-x6r4v44b.js → chunk-rpta0rqz.js} +1 -1
- package/dist/{chunk-2gzv8nrw.js → chunk-rrtpbztr.js} +4 -3
- package/dist/{chunk-qhsd552n.js → chunk-rx9ypbjy.js} +8 -8
- package/dist/{chunk-3ecxxh0v.js → chunk-rzk001ay.js} +85 -85
- package/dist/{chunk-je14p1p5.js → chunk-rzn9w8p2.js} +3 -3
- package/dist/chunk-s0p653k2.js +93 -0
- package/dist/{chunk-mbz52548.js → chunk-s13y3w7e.js} +36 -36
- package/dist/{chunk-634c89zh.js → chunk-s201s689.js} +18 -18
- package/dist/{chunk-wvxaaw85.js → chunk-s5arr49c.js} +11 -200
- package/dist/{chunk-ytw7cet7.js → chunk-s7tq4e5g.js} +78 -78
- package/dist/{chunk-98hsxvwg.js → chunk-s9906sac.js} +83 -83
- package/dist/{chunk-kgk4p214.js → chunk-s9jxtj04.js} +103 -103
- package/dist/{chunk-j7ptfetg.js → chunk-sbe9zd56.js} +6 -6
- package/dist/chunk-skypjdyc.js +147 -0
- package/dist/{chunk-fbv4apne.js → chunk-snd4pbkp.js} +1 -1
- package/dist/{chunk-7xee389k.js → chunk-sthmb4xf.js} +78 -78
- package/dist/{chunk-1gx78081.js → chunk-t3yc7m07.js} +1 -1
- package/dist/{chunk-2avrzsjc.js → chunk-t83amzhd.js} +12 -12
- package/dist/{chunk-hqdwr6mz.js → chunk-t8chhacb.js} +2 -2
- package/dist/{chunk-k0p9w03v.js → chunk-taqr0qw1.js} +3 -3
- package/dist/{chunk-e0pv7mxq.js → chunk-tdf3ha9b.js} +79 -79
- package/dist/{chunk-8g5pe1gr.js → chunk-tevzn1xp.js} +1 -1
- package/dist/chunk-tgayhxvz.js +41 -0
- package/dist/{chunk-j64ga6ta.js → chunk-tkbwrjte.js} +325 -284
- package/dist/{chunk-qsxj0kfc.js → chunk-tmye4d2k.js} +15 -15
- package/dist/{chunk-55raexh7.js → chunk-tnpk0ne1.js} +2458 -1002
- package/dist/{chunk-vfszgkkq.js → chunk-tnv92c5m.js} +80 -80
- package/dist/{chunk-jd32zbps.js → chunk-trm02xde.js} +2 -2
- package/dist/{chunk-zkyqgt3m.js → chunk-tyc5c0q4.js} +8 -8
- package/dist/{chunk-jbv0d2xg.js → chunk-v2szqm5g.js} +5 -5
- package/dist/{chunk-7p9xptww.js → chunk-v8k67zfz.js} +1123 -388
- package/dist/{chunk-0fjwyhtj.js → chunk-v9sy0cj3.js} +10 -10
- package/dist/{chunk-p7vkh4wx.js → chunk-vbe1ersf.js} +1 -1
- package/dist/{chunk-xe47nxbq.js → chunk-vd5dh925.js} +78 -78
- package/dist/{chunk-cfvgegjj.js → chunk-vnrevqdf.js} +4 -4
- package/dist/{chunk-q9pw9pca.js → chunk-vq4k182g.js} +5 -5
- package/dist/chunk-vr5vyt2h.js +107 -0
- package/dist/{chunk-tbhsqgh4.js → chunk-vv84k232.js} +5 -5
- package/dist/chunk-vvjhax8n.js +114 -0
- package/dist/chunk-vvsts2t9.js +30 -0
- package/dist/{chunk-ymxwas49.js → chunk-vwkb146r.js} +90 -90
- package/dist/{chunk-7bz03dax.js → chunk-vwt2fv6j.js} +3 -3
- package/dist/{chunk-5vzqvgea.js → chunk-vx28ztc7.js} +20 -20
- package/dist/{chunk-g9f19ttm.js → chunk-vxsad4bw.js} +2 -2
- package/dist/chunk-w287mz4p.js +146 -0
- package/dist/{chunk-sd8209pb.js → chunk-w2bff8pq.js} +12 -92
- package/dist/{chunk-grbjajg5.js → chunk-w60c0dkw.js} +5 -5
- package/dist/chunk-wa852b5b.js +113 -0
- package/dist/{chunk-7xyswgjh.js → chunk-wfh12nzh.js} +1 -1
- package/dist/{chunk-vf612n57.js → chunk-wt799fvk.js} +34 -34
- package/dist/{chunk-qajrkk97.js → chunk-wwrswxg1.js} +1 -1
- package/dist/{chunk-afbvx9ey.js → chunk-wyyd1qfn.js} +81 -81
- package/dist/{chunk-6sdx75d8.js → chunk-x09aacvx.js} +5 -5
- package/dist/{chunk-fhej4f56.js → chunk-x4x3691j.js} +12 -12
- package/dist/chunk-xbpt4dv8.js +155 -0
- package/dist/{chunk-rn0v1hk8.js → chunk-xdxdztxa.js} +1 -1
- package/dist/{chunk-fdhbpqkt.js → chunk-xggbj4j9.js} +3 -3
- package/dist/chunk-xj72jfpd.js +33 -0
- package/dist/{chunk-2nya3j5t.js → chunk-xj8tk3d7.js} +3 -3
- package/dist/{chunk-0a8mnxpe.js → chunk-xkra2684.js} +85 -90
- package/dist/{chunk-2671jfzz.js → chunk-xm9zf0tv.js} +78 -78
- package/dist/chunk-xwbh3j1x.js +107 -0
- package/dist/chunk-xwrar1c5.js +97 -0
- package/dist/{chunk-14xjyt14.js → chunk-xygy5v97.js} +30 -30
- package/dist/{chunk-xycbvwy2.js → chunk-xyzbgjpv.js} +2 -2
- package/dist/{chunk-2tm611h9.js → chunk-y83gxqvc.js} +3 -3
- package/dist/{chunk-9an46bhy.js → chunk-y8b45mt2.js} +4 -4
- package/dist/{chunk-yd5sv0na.js → chunk-ycpdfeya.js} +79 -79
- package/dist/{chunk-4v6h9fhy.js → chunk-yh46f77t.js} +78 -78
- package/dist/{chunk-p620jjt8.js → chunk-ykvf93ft.js} +79 -79
- package/dist/{chunk-26wtxbdc.js → chunk-ynx3fetd.js} +1222 -463
- package/dist/{chunk-vkcqcmdv.js → chunk-yp64t9je.js} +8 -8
- package/dist/{chunk-eqp1rfft.js → chunk-ysfam81t.js} +2 -2
- package/dist/chunk-yt9mady7.js +36 -0
- package/dist/{chunk-hc158qrt.js → chunk-yteprw63.js} +26 -26
- package/dist/{chunk-9d13k3m6.js → chunk-ytt8da3v.js} +81 -81
- package/dist/{chunk-5xt8w19j.js → chunk-yvm9t98e.js} +7 -18
- package/dist/{chunk-c7c3t5kg.js → chunk-z7yj7dfh.js} +10 -10
- package/dist/{chunk-5mxbpsb4.js → chunk-z8b8f2n3.js} +79 -79
- package/dist/{chunk-96523fnw.js → chunk-z8n8cjhz.js} +2 -2
- package/dist/{chunk-5ccdsxgy.js → chunk-z9v4bxrj.js} +3 -3
- package/dist/{chunk-9k9th7xv.js → chunk-zat7q2e0.js} +79 -79
- package/dist/chunk-zfxp82tk.js +24 -0
- package/dist/chunk-zgkngrp4.js +54 -0
- package/dist/{chunk-h6bgcfma.js → chunk-zhnnzkzm.js} +14 -14
- package/dist/{chunk-2jyvw1vd.js → chunk-zp5nvg44.js} +2 -2
- package/dist/{chunk-1a5w7wdt.js → chunk-zqajmq38.js} +6 -6
- package/dist/{chunk-v1kzp02e.js → chunk-zx9r7a23.js} +1 -1
- package/dist/cli.js +11 -11
- package/dist/gateway/worker.js +23440 -21268
- package/dist/sdk/query.cjs +8 -18
- package/dist/sdk/query.js +1 -1
- package/package.json +128 -128
- package/dist/chunk-07nc7v02.js +0 -121
- package/dist/chunk-0m45arzy.js +0 -101
- package/dist/chunk-0m6r5xry.js +0 -133
- package/dist/chunk-24s7fatk.js +0 -52
- package/dist/chunk-2apvtmkd.js +0 -30
- package/dist/chunk-3b8bwc0r.js +0 -130
- package/dist/chunk-3cmhd7fz.js +0 -93
- package/dist/chunk-3g03wcny.js +0 -107
- package/dist/chunk-3mgywd32.js +0 -8
- package/dist/chunk-405v2pq2.js +0 -2186
- package/dist/chunk-485en4m4.js +0 -105
- package/dist/chunk-4fvbhs6s.js +0 -97
- package/dist/chunk-510y033v.js +0 -91
- package/dist/chunk-657y059h.js +0 -41
- package/dist/chunk-6w51dnv1.js +0 -35
- package/dist/chunk-84hebfv5.js +0 -97
- package/dist/chunk-85hp74zz.js +0 -121
- package/dist/chunk-865gwyhc.js +0 -100
- package/dist/chunk-8y55mc4q.js +0 -20
- package/dist/chunk-amkyhs41.js +0 -93
- package/dist/chunk-av6sfjhb.js +0 -107
- package/dist/chunk-b66hjndz.js +0 -103
- package/dist/chunk-c01dn3n0.js +0 -58
- package/dist/chunk-c6sjhj89.js +0 -1284
- package/dist/chunk-cg185b3s.js +0 -71
- package/dist/chunk-ckg9f3bq.js +0 -111
- package/dist/chunk-ckx8wtr1.js +0 -60
- package/dist/chunk-d348dy5e.js +0 -89
- package/dist/chunk-dd3fkytw.js +0 -90
- package/dist/chunk-df4rn6zx.js +0 -131
- package/dist/chunk-djna15b0.js +0 -55
- package/dist/chunk-eszdke28.js +0 -33
- package/dist/chunk-eyys9mkd.js +0 -36
- package/dist/chunk-f5f76rs0.js +0 -122
- package/dist/chunk-fhwnqkps.js +0 -114
- package/dist/chunk-fkttqetc.js +0 -77
- package/dist/chunk-gdwdqewd.js +0 -19
- package/dist/chunk-gfvab3pt.js +0 -146
- package/dist/chunk-gnhr6m0v.js +0 -91
- package/dist/chunk-gq4ptzy4.js +0 -50
- package/dist/chunk-gt5qmg5w.js +0 -121
- package/dist/chunk-h3rtwnzt.js +0 -27
- package/dist/chunk-h5kqbyza.js +0 -85
- package/dist/chunk-h8e89948.js +0 -24
- package/dist/chunk-hm185n1k.js +0 -105
- package/dist/chunk-ht2vfyw7.js +0 -127
- package/dist/chunk-j1jcmemq.js +0 -155
- package/dist/chunk-jch08yr8.js +0 -107
- package/dist/chunk-ng3tkgf2.js +0 -90
- package/dist/chunk-pxqvh94k.js +0 -88
- package/dist/chunk-qjr6jsys.js +0 -89
- package/dist/chunk-qk9hhrzj.js +0 -114
- package/dist/chunk-qnfx3qtx.js +0 -617
- package/dist/chunk-r9fbv9wd.js +0 -94
- package/dist/chunk-rnmravvv.js +0 -148
- package/dist/chunk-sactn8fj.js +0 -92
- package/dist/chunk-sq32fw07.js +0 -101
- package/dist/chunk-sqq17sk1.js +0 -55
- package/dist/chunk-t0fqphva.js +0 -123
- package/dist/chunk-t5b0h3vc.js +0 -54
- package/dist/chunk-vgn0fyes.js +0 -145
- package/dist/chunk-vkaz7qe2.js +0 -113
- package/dist/chunk-wd531rah.js +0 -140
- package/dist/chunk-wrtabh03.js +0 -81
- package/dist/chunk-x43vg58b.js +0 -87
- package/dist/chunk-xf4d0bmf.js +0 -105
- package/dist/chunk-xqa13w46.js +0 -71
- package/dist/chunk-xxahhkz2.js +0 -38
|
@@ -6,36 +6,36 @@ import {
|
|
|
6
6
|
init_types,
|
|
7
7
|
safeParseJSON,
|
|
8
8
|
stripBOM
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-cqb31tfg.js";
|
|
10
10
|
import {
|
|
11
11
|
expandPath,
|
|
12
12
|
init_path,
|
|
13
13
|
normalizePathForConfigKey,
|
|
14
14
|
sanitizePath
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-7dc9d8fy.js";
|
|
16
16
|
import {
|
|
17
17
|
count,
|
|
18
18
|
init_array,
|
|
19
19
|
init_lockfile,
|
|
20
20
|
lockSync,
|
|
21
21
|
uniq
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-7kp42hzq.js";
|
|
23
23
|
import {
|
|
24
24
|
init_lazySchema,
|
|
25
25
|
lazySchema
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-gbvmks09.js";
|
|
27
27
|
import {
|
|
28
28
|
init_v4,
|
|
29
29
|
v4_default
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-f79jyxwd.js";
|
|
31
31
|
import {
|
|
32
32
|
exports_external,
|
|
33
33
|
toJSONSchema
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-ynx3fetd.js";
|
|
35
35
|
import {
|
|
36
36
|
init_normalization,
|
|
37
37
|
normalizeNameForMCP
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-1t3cyn1k.js";
|
|
39
39
|
import {
|
|
40
40
|
env,
|
|
41
41
|
getApiConfigSuffix,
|
|
@@ -43,43 +43,46 @@ import {
|
|
|
43
43
|
getHostPlatformForAnalytics,
|
|
44
44
|
init_apiConfig,
|
|
45
45
|
init_env
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-zqajmq38.js";
|
|
47
47
|
import {
|
|
48
48
|
init_startupProfiler,
|
|
49
49
|
profileCheckpoint
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-dy8278wt.js";
|
|
51
51
|
import {
|
|
52
|
+
init_noop,
|
|
52
53
|
init_source,
|
|
54
|
+
noop_default,
|
|
53
55
|
source_default
|
|
54
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-pyn4ry36.js";
|
|
55
57
|
import {
|
|
56
58
|
init_analytics,
|
|
57
59
|
logEvent
|
|
58
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-13pmg16e.js";
|
|
59
61
|
import {
|
|
60
62
|
dirIsInGitRepo,
|
|
61
63
|
findCanonicalGitRoot,
|
|
62
64
|
init_diagLogs,
|
|
63
65
|
init_git,
|
|
64
66
|
logForDiagnosticsNoPII
|
|
65
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-8ady2sm4.js";
|
|
66
68
|
import {
|
|
67
69
|
execFileNoThrowWithCwd,
|
|
68
70
|
execSyncWithDefaults_DEPRECATED,
|
|
69
71
|
init_execFileNoThrow
|
|
70
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-y8b45mt2.js";
|
|
71
73
|
import {
|
|
72
74
|
getCwd,
|
|
73
75
|
init_cwd
|
|
74
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-fr5s5ceq.js";
|
|
75
77
|
import {
|
|
76
78
|
execa,
|
|
77
79
|
init_execa
|
|
78
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-r585pc0g.js";
|
|
79
81
|
import {
|
|
80
82
|
ConfigParseError,
|
|
81
83
|
_assignValue_default,
|
|
82
84
|
_baseAssignValue_default,
|
|
85
|
+
_baseClone_default,
|
|
83
86
|
_cloneBuffer_default,
|
|
84
87
|
_cloneTypedArray_default,
|
|
85
88
|
_copyArray_default,
|
|
@@ -96,6 +99,7 @@ import {
|
|
|
96
99
|
getPlatform,
|
|
97
100
|
init__assignValue,
|
|
98
101
|
init__baseAssignValue,
|
|
102
|
+
init__baseClone,
|
|
99
103
|
init__cloneBuffer,
|
|
100
104
|
init__cloneTypedArray,
|
|
101
105
|
init__copyArray,
|
|
@@ -125,7 +129,7 @@ import {
|
|
|
125
129
|
registerCleanup,
|
|
126
130
|
safeResolvePath,
|
|
127
131
|
toError
|
|
128
|
-
} from "./chunk-
|
|
132
|
+
} from "./chunk-3w4xq6cv.js";
|
|
129
133
|
import {
|
|
130
134
|
getClaudeConfigHomeDir,
|
|
131
135
|
init_envUtils,
|
|
@@ -133,15 +137,21 @@ import {
|
|
|
133
137
|
isEnvDefinedFalsy,
|
|
134
138
|
isEnvTruthy,
|
|
135
139
|
isRunningOnHomespace
|
|
136
|
-
} from "./chunk-
|
|
140
|
+
} from "./chunk-5v6wr1z4.js";
|
|
137
141
|
import {
|
|
142
|
+
_SetCache_default,
|
|
143
|
+
_Set_default,
|
|
138
144
|
_Stack_default,
|
|
145
|
+
_arrayFilter_default,
|
|
139
146
|
_arrayMap_default,
|
|
147
|
+
_arrayPush_default,
|
|
140
148
|
_baseGet_default,
|
|
141
149
|
_baseIsEqual_default,
|
|
142
150
|
_baseIteratee_default,
|
|
151
|
+
_cacheHas_default,
|
|
143
152
|
_castPath_default,
|
|
144
153
|
_isIndex_default,
|
|
154
|
+
_setToArray_default,
|
|
145
155
|
_toKey_default,
|
|
146
156
|
createSignal,
|
|
147
157
|
getAllowedSettingSources,
|
|
@@ -159,13 +169,19 @@ import {
|
|
|
159
169
|
getSessionTrustAccepted,
|
|
160
170
|
getUseCoworkPlugins,
|
|
161
171
|
identity_default,
|
|
172
|
+
init__Set,
|
|
173
|
+
init__SetCache,
|
|
162
174
|
init__Stack,
|
|
175
|
+
init__arrayFilter,
|
|
163
176
|
init__arrayMap,
|
|
177
|
+
init__arrayPush,
|
|
164
178
|
init__baseGet,
|
|
165
179
|
init__baseIsEqual,
|
|
166
180
|
init__baseIteratee,
|
|
181
|
+
init__cacheHas,
|
|
167
182
|
init__castPath,
|
|
168
183
|
init__isIndex,
|
|
184
|
+
init__setToArray,
|
|
169
185
|
init__toKey,
|
|
170
186
|
init_identity,
|
|
171
187
|
init_isArguments,
|
|
@@ -173,21 +189,25 @@ import {
|
|
|
173
189
|
init_isArrayLike,
|
|
174
190
|
init_isBuffer,
|
|
175
191
|
init_isTypedArray,
|
|
192
|
+
init_keys,
|
|
176
193
|
init_settingsCache,
|
|
177
194
|
init_signal,
|
|
178
195
|
init_state,
|
|
196
|
+
init_toString,
|
|
179
197
|
isArguments_default,
|
|
180
198
|
isArrayLike_default,
|
|
181
199
|
isArray_default,
|
|
182
200
|
isBuffer_default,
|
|
183
201
|
isTypedArray_default,
|
|
202
|
+
keys_default,
|
|
184
203
|
preferThirdPartyAuthentication,
|
|
185
204
|
resetSettingsCache,
|
|
186
205
|
setApiKeyFromFd,
|
|
187
206
|
setCachedParsedFile,
|
|
188
207
|
setCachedSettingsForSource,
|
|
189
|
-
setSessionSettingsCache
|
|
190
|
-
|
|
208
|
+
setSessionSettingsCache,
|
|
209
|
+
toString_default
|
|
210
|
+
} from "./chunk-a3qtafgw.js";
|
|
191
211
|
import {
|
|
192
212
|
eq_default,
|
|
193
213
|
init_eq,
|
|
@@ -195,24 +215,26 @@ import {
|
|
|
195
215
|
init_memoize,
|
|
196
216
|
isFunction_default,
|
|
197
217
|
memoize_default
|
|
198
|
-
} from "./chunk-
|
|
218
|
+
} from "./chunk-wt799fvk.js";
|
|
199
219
|
import {
|
|
200
220
|
init_isObjectLike,
|
|
201
221
|
isObjectLike_default
|
|
202
|
-
} from "./chunk-
|
|
222
|
+
} from "./chunk-5gr6ekgm.js";
|
|
203
223
|
import {
|
|
224
|
+
_Symbol_default,
|
|
204
225
|
_baseGetTag_default,
|
|
226
|
+
init__Symbol,
|
|
205
227
|
init__baseGetTag,
|
|
206
228
|
init_isObject,
|
|
207
229
|
isObject_default
|
|
208
|
-
} from "./chunk-
|
|
230
|
+
} from "./chunk-apjnwens.js";
|
|
209
231
|
import {
|
|
210
232
|
__esm,
|
|
211
233
|
__export,
|
|
212
234
|
__toCommonJS
|
|
213
|
-
} from "./chunk-
|
|
235
|
+
} from "./chunk-eta5aekm.js";
|
|
214
236
|
|
|
215
|
-
// node_modules/.bun/lodash-es@4.
|
|
237
|
+
// node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseSet.js
|
|
216
238
|
function baseSet(object, path, value, customizer) {
|
|
217
239
|
if (!isObject_default(object)) {
|
|
218
240
|
return object;
|
|
@@ -246,7 +268,7 @@ var init__baseSet = __esm(() => {
|
|
|
246
268
|
_baseSet_default = baseSet;
|
|
247
269
|
});
|
|
248
270
|
|
|
249
|
-
// node_modules/.bun/lodash-es@4.
|
|
271
|
+
// node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_basePickBy.js
|
|
250
272
|
function basePickBy(object, paths, predicate) {
|
|
251
273
|
var index = -1, length = paths.length, result = {};
|
|
252
274
|
while (++index < length) {
|
|
@@ -265,7 +287,7 @@ var init__basePickBy = __esm(() => {
|
|
|
265
287
|
_basePickBy_default = basePickBy;
|
|
266
288
|
});
|
|
267
289
|
|
|
268
|
-
// node_modules/.bun/lodash-es@4.
|
|
290
|
+
// node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/pickBy.js
|
|
269
291
|
function pickBy(object, predicate) {
|
|
270
292
|
if (object == null) {
|
|
271
293
|
return {};
|
|
@@ -287,236 +309,455 @@ var init_pickBy = __esm(() => {
|
|
|
287
309
|
pickBy_default = pickBy;
|
|
288
310
|
});
|
|
289
311
|
|
|
290
|
-
// node_modules/.bun/lodash-es@4.
|
|
291
|
-
function
|
|
292
|
-
|
|
312
|
+
// node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_apply.js
|
|
313
|
+
function apply(func, thisArg, args) {
|
|
314
|
+
switch (args.length) {
|
|
315
|
+
case 0:
|
|
316
|
+
return func.call(thisArg);
|
|
317
|
+
case 1:
|
|
318
|
+
return func.call(thisArg, args[0]);
|
|
319
|
+
case 2:
|
|
320
|
+
return func.call(thisArg, args[0], args[1]);
|
|
321
|
+
case 3:
|
|
322
|
+
return func.call(thisArg, args[0], args[1], args[2]);
|
|
323
|
+
}
|
|
324
|
+
return func.apply(thisArg, args);
|
|
293
325
|
}
|
|
294
|
-
var
|
|
295
|
-
var
|
|
296
|
-
|
|
297
|
-
isEqual_default = isEqual;
|
|
326
|
+
var _apply_default;
|
|
327
|
+
var init__apply = __esm(() => {
|
|
328
|
+
_apply_default = apply;
|
|
298
329
|
});
|
|
299
330
|
|
|
300
|
-
// node_modules/.bun/lodash-es@4.
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
331
|
+
// node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_shortOut.js
|
|
332
|
+
function shortOut(func) {
|
|
333
|
+
var count2 = 0, lastCalled = 0;
|
|
334
|
+
return function() {
|
|
335
|
+
var stamp = nativeNow(), remaining = HOT_SPAN - (stamp - lastCalled);
|
|
336
|
+
lastCalled = stamp;
|
|
337
|
+
if (remaining > 0) {
|
|
338
|
+
if (++count2 >= HOT_COUNT) {
|
|
339
|
+
return arguments[0];
|
|
340
|
+
}
|
|
341
|
+
} else {
|
|
342
|
+
count2 = 0;
|
|
343
|
+
}
|
|
344
|
+
return func.apply(undefined, arguments);
|
|
345
|
+
};
|
|
346
|
+
}
|
|
347
|
+
var HOT_COUNT = 800, HOT_SPAN = 16, nativeNow, _shortOut_default;
|
|
348
|
+
var init__shortOut = __esm(() => {
|
|
349
|
+
nativeNow = Date.now;
|
|
350
|
+
_shortOut_default = shortOut;
|
|
305
351
|
});
|
|
306
352
|
|
|
307
|
-
//
|
|
308
|
-
|
|
309
|
-
function
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
}
|
|
313
|
-
try {
|
|
314
|
-
mkdirSync(CCR_TOKEN_DIR, { recursive: true, mode: 448 });
|
|
315
|
-
writeFileSync(path, token, { encoding: "utf8", mode: 384 });
|
|
316
|
-
logForDebugging(`Persisted ${tokenName} to ${path} for subprocess access`);
|
|
317
|
-
} catch (error) {
|
|
318
|
-
logForDebugging(`Failed to persist ${tokenName} to disk (non-fatal): ${errorMessage(error)}`, { level: "error" });
|
|
319
|
-
}
|
|
320
|
-
}
|
|
321
|
-
function readTokenFromWellKnownFile(path, tokenName) {
|
|
322
|
-
try {
|
|
323
|
-
const fsOps = getFsImplementation();
|
|
324
|
-
const token = fsOps.readFileSync(path, { encoding: "utf8" }).trim();
|
|
325
|
-
if (!token) {
|
|
326
|
-
return null;
|
|
327
|
-
}
|
|
328
|
-
logForDebugging(`Read ${tokenName} from well-known file ${path}`);
|
|
329
|
-
return token;
|
|
330
|
-
} catch (error) {
|
|
331
|
-
if (!isENOENT(error)) {
|
|
332
|
-
logForDebugging(`Failed to read ${tokenName} from ${path}: ${errorMessage(error)}`, { level: "debug" });
|
|
333
|
-
}
|
|
334
|
-
return null;
|
|
335
|
-
}
|
|
353
|
+
// node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/constant.js
|
|
354
|
+
function constant(value) {
|
|
355
|
+
return function() {
|
|
356
|
+
return value;
|
|
357
|
+
};
|
|
336
358
|
}
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
359
|
+
var constant_default;
|
|
360
|
+
var init_constant = __esm(() => {
|
|
361
|
+
constant_default = constant;
|
|
362
|
+
});
|
|
363
|
+
|
|
364
|
+
// node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseSetToString.js
|
|
365
|
+
var baseSetToString, _baseSetToString_default;
|
|
366
|
+
var init__baseSetToString = __esm(() => {
|
|
367
|
+
init_constant();
|
|
368
|
+
init__defineProperty();
|
|
369
|
+
init_identity();
|
|
370
|
+
baseSetToString = !_defineProperty_default ? identity_default : function(func, string) {
|
|
371
|
+
return _defineProperty_default(func, "toString", {
|
|
372
|
+
configurable: true,
|
|
373
|
+
enumerable: false,
|
|
374
|
+
value: constant_default(string),
|
|
375
|
+
writable: true
|
|
376
|
+
});
|
|
377
|
+
};
|
|
378
|
+
_baseSetToString_default = baseSetToString;
|
|
379
|
+
});
|
|
380
|
+
|
|
381
|
+
// node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setToString.js
|
|
382
|
+
var setToString, _setToString_default;
|
|
383
|
+
var init__setToString = __esm(() => {
|
|
384
|
+
init__baseSetToString();
|
|
385
|
+
init__shortOut();
|
|
386
|
+
setToString = _shortOut_default(_baseSetToString_default);
|
|
387
|
+
_setToString_default = setToString;
|
|
388
|
+
});
|
|
389
|
+
|
|
390
|
+
// node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseFindIndex.js
|
|
391
|
+
function baseFindIndex(array, predicate, fromIndex, fromRight) {
|
|
392
|
+
var length = array.length, index = fromIndex + (fromRight ? 1 : -1);
|
|
393
|
+
while (fromRight ? index-- : ++index < length) {
|
|
394
|
+
if (predicate(array[index], index, array)) {
|
|
395
|
+
return index;
|
|
370
396
|
}
|
|
371
|
-
logForDebugging(`Successfully read ${label} from file descriptor ${fd}`);
|
|
372
|
-
setCached(token);
|
|
373
|
-
maybePersistTokenForSubprocesses(wellKnownPath, token, label);
|
|
374
|
-
return token;
|
|
375
|
-
} catch (error) {
|
|
376
|
-
logForDebugging(`Failed to read ${label} from file descriptor ${fd}: ${errorMessage(error)}`, { level: "error" });
|
|
377
|
-
const fromFile = readTokenFromWellKnownFile(wellKnownPath, label);
|
|
378
|
-
setCached(fromFile);
|
|
379
|
-
return fromFile;
|
|
380
397
|
}
|
|
398
|
+
return -1;
|
|
381
399
|
}
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
wellKnownPath: CCR_API_KEY_PATH,
|
|
386
|
-
label: "API key",
|
|
387
|
-
getCached: getApiKeyFromFd,
|
|
388
|
-
setCached: setApiKeyFromFd
|
|
389
|
-
});
|
|
390
|
-
}
|
|
391
|
-
var CCR_TOKEN_DIR = "/home/claude/.claude/remote", CCR_OAUTH_TOKEN_PATH, CCR_API_KEY_PATH, CCR_SESSION_INGRESS_TOKEN_PATH;
|
|
392
|
-
var init_authFileDescriptor = __esm(() => {
|
|
393
|
-
init_state();
|
|
394
|
-
init_debug();
|
|
395
|
-
init_envUtils();
|
|
396
|
-
init_errors();
|
|
397
|
-
init_fsOperations();
|
|
398
|
-
CCR_OAUTH_TOKEN_PATH = `${CCR_TOKEN_DIR}/.oauth_token`;
|
|
399
|
-
CCR_API_KEY_PATH = `${CCR_TOKEN_DIR}/.api_key`;
|
|
400
|
-
CCR_SESSION_INGRESS_TOKEN_PATH = `${CCR_TOKEN_DIR}/.session_ingress_token`;
|
|
400
|
+
var _baseFindIndex_default;
|
|
401
|
+
var init__baseFindIndex = __esm(() => {
|
|
402
|
+
_baseFindIndex_default = baseFindIndex;
|
|
401
403
|
});
|
|
402
404
|
|
|
403
|
-
//
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
function getMacOsKeychainStorageServiceName(serviceSuffix = "") {
|
|
407
|
-
const configDir = getClaudeConfigHomeDir();
|
|
408
|
-
const isDefaultDir = !process.env.CLAUDE_CONFIG_DIR;
|
|
409
|
-
const dirHash = isDefaultDir ? "" : `-${createHash("sha256").update(configDir).digest("hex").substring(0, 8)}`;
|
|
410
|
-
return `Claude Code${getApiConfigSuffix()}${serviceSuffix}${dirHash}`;
|
|
405
|
+
// node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNaN.js
|
|
406
|
+
function baseIsNaN(value) {
|
|
407
|
+
return value !== value;
|
|
411
408
|
}
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
}
|
|
424
|
-
function primeKeychainCacheFromPrefetch(stdout) {
|
|
425
|
-
if (keychainCacheState.cache.cachedAt !== 0)
|
|
426
|
-
return;
|
|
427
|
-
let data = null;
|
|
428
|
-
if (stdout) {
|
|
429
|
-
try {
|
|
430
|
-
data = JSON.parse(stdout);
|
|
431
|
-
} catch {
|
|
432
|
-
return;
|
|
409
|
+
var _baseIsNaN_default;
|
|
410
|
+
var init__baseIsNaN = __esm(() => {
|
|
411
|
+
_baseIsNaN_default = baseIsNaN;
|
|
412
|
+
});
|
|
413
|
+
|
|
414
|
+
// node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_strictIndexOf.js
|
|
415
|
+
function strictIndexOf(array, value, fromIndex) {
|
|
416
|
+
var index = fromIndex - 1, length = array.length;
|
|
417
|
+
while (++index < length) {
|
|
418
|
+
if (array[index] === value) {
|
|
419
|
+
return index;
|
|
433
420
|
}
|
|
434
421
|
}
|
|
435
|
-
|
|
422
|
+
return -1;
|
|
436
423
|
}
|
|
437
|
-
var
|
|
438
|
-
var
|
|
439
|
-
|
|
440
|
-
init_envUtils();
|
|
441
|
-
keychainCacheState = {
|
|
442
|
-
cache: { data: null, cachedAt: 0 },
|
|
443
|
-
generation: 0,
|
|
444
|
-
readInFlight: null
|
|
445
|
-
};
|
|
424
|
+
var _strictIndexOf_default;
|
|
425
|
+
var init__strictIndexOf = __esm(() => {
|
|
426
|
+
_strictIndexOf_default = strictIndexOf;
|
|
446
427
|
});
|
|
447
428
|
|
|
448
|
-
//
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
429
|
+
// node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIndexOf.js
|
|
430
|
+
function baseIndexOf(array, value, fromIndex) {
|
|
431
|
+
return value === value ? _strictIndexOf_default(array, value, fromIndex) : _baseFindIndex_default(array, _baseIsNaN_default, fromIndex);
|
|
432
|
+
}
|
|
433
|
+
var _baseIndexOf_default;
|
|
434
|
+
var init__baseIndexOf = __esm(() => {
|
|
435
|
+
init__baseFindIndex();
|
|
436
|
+
init__baseIsNaN();
|
|
437
|
+
init__strictIndexOf();
|
|
438
|
+
_baseIndexOf_default = baseIndexOf;
|
|
439
|
+
});
|
|
440
|
+
|
|
441
|
+
// node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayIncludes.js
|
|
442
|
+
function arrayIncludes(array, value) {
|
|
443
|
+
var length = array == null ? 0 : array.length;
|
|
444
|
+
return !!length && _baseIndexOf_default(array, value, 0) > -1;
|
|
445
|
+
}
|
|
446
|
+
var _arrayIncludes_default;
|
|
447
|
+
var init__arrayIncludes = __esm(() => {
|
|
448
|
+
init__baseIndexOf();
|
|
449
|
+
_arrayIncludes_default = arrayIncludes;
|
|
450
|
+
});
|
|
451
|
+
|
|
452
|
+
// node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_overRest.js
|
|
453
|
+
function overRest(func, start, transform) {
|
|
454
|
+
start = nativeMax(start === undefined ? func.length - 1 : start, 0);
|
|
455
|
+
return function() {
|
|
456
|
+
var args = arguments, index = -1, length = nativeMax(args.length - start, 0), array = Array(length);
|
|
457
|
+
while (++index < length) {
|
|
458
|
+
array[index] = args[start + index];
|
|
455
459
|
}
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
+
index = -1;
|
|
461
|
+
var otherArgs = Array(start + 1);
|
|
462
|
+
while (++index < start) {
|
|
463
|
+
otherArgs[index] = args[index];
|
|
464
|
+
}
|
|
465
|
+
otherArgs[start] = transform(array);
|
|
466
|
+
return _apply_default(func, this, otherArgs);
|
|
467
|
+
};
|
|
460
468
|
}
|
|
461
|
-
var
|
|
462
|
-
|
|
463
|
-
|
|
469
|
+
var nativeMax, _overRest_default;
|
|
470
|
+
var init__overRest = __esm(() => {
|
|
471
|
+
init__apply();
|
|
472
|
+
nativeMax = Math.max;
|
|
473
|
+
_overRest_default = overRest;
|
|
464
474
|
});
|
|
465
475
|
|
|
466
|
-
//
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
return new Promise((resolve) => {
|
|
470
|
-
execFile("security", ["find-generic-password", "-a", getUsername(), "-w", "-s", serviceName], { encoding: "utf-8", timeout: KEYCHAIN_PREFETCH_TIMEOUT_MS }, (err, stdout) => {
|
|
471
|
-
resolve({
|
|
472
|
-
stdout: err ? null : stdout?.trim() || null,
|
|
473
|
-
timedOut: Boolean(err && "killed" in err && err.killed)
|
|
474
|
-
});
|
|
475
|
-
});
|
|
476
|
-
});
|
|
476
|
+
// node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseRest.js
|
|
477
|
+
function baseRest(func, start) {
|
|
478
|
+
return _setToString_default(_overRest_default(func, start, identity_default), func + "");
|
|
477
479
|
}
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
480
|
+
var _baseRest_default;
|
|
481
|
+
var init__baseRest = __esm(() => {
|
|
482
|
+
init_identity();
|
|
483
|
+
init__overRest();
|
|
484
|
+
init__setToString();
|
|
485
|
+
_baseRest_default = baseRest;
|
|
486
|
+
});
|
|
487
|
+
|
|
488
|
+
// node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isIterateeCall.js
|
|
489
|
+
function isIterateeCall(value, index, object) {
|
|
490
|
+
if (!isObject_default(object)) {
|
|
491
|
+
return false;
|
|
492
|
+
}
|
|
493
|
+
var type = typeof index;
|
|
494
|
+
if (type == "number" ? isArrayLike_default(object) && _isIndex_default(index, object.length) : type == "string" && (index in object)) {
|
|
495
|
+
return eq_default(object[index], value);
|
|
496
|
+
}
|
|
497
|
+
return false;
|
|
498
|
+
}
|
|
499
|
+
var _isIterateeCall_default;
|
|
500
|
+
var init__isIterateeCall = __esm(() => {
|
|
501
|
+
init_eq();
|
|
502
|
+
init_isArrayLike();
|
|
503
|
+
init__isIndex();
|
|
504
|
+
init_isObject();
|
|
505
|
+
_isIterateeCall_default = isIterateeCall;
|
|
506
|
+
});
|
|
507
|
+
|
|
508
|
+
// node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_createAssigner.js
|
|
509
|
+
function createAssigner(assigner) {
|
|
510
|
+
return _baseRest_default(function(object, sources) {
|
|
511
|
+
var index = -1, length = sources.length, customizer = length > 1 ? sources[length - 1] : undefined, guard = length > 2 ? sources[2] : undefined;
|
|
512
|
+
customizer = assigner.length > 3 && typeof customizer == "function" ? (length--, customizer) : undefined;
|
|
513
|
+
if (guard && _isIterateeCall_default(sources[0], sources[1], guard)) {
|
|
514
|
+
customizer = length < 3 ? undefined : customizer;
|
|
515
|
+
length = 1;
|
|
516
|
+
}
|
|
517
|
+
object = Object(object);
|
|
518
|
+
while (++index < length) {
|
|
519
|
+
var source = sources[index];
|
|
520
|
+
if (source) {
|
|
521
|
+
assigner(object, source, index, customizer);
|
|
522
|
+
}
|
|
523
|
+
}
|
|
524
|
+
return object;
|
|
488
525
|
});
|
|
489
526
|
}
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
527
|
+
var _createAssigner_default;
|
|
528
|
+
var init__createAssigner = __esm(() => {
|
|
529
|
+
init__baseRest();
|
|
530
|
+
init__isIterateeCall();
|
|
531
|
+
_createAssigner_default = createAssigner;
|
|
532
|
+
});
|
|
533
|
+
|
|
534
|
+
// node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isFlattenable.js
|
|
535
|
+
function isFlattenable(value) {
|
|
536
|
+
return isArray_default(value) || isArguments_default(value) || !!(spreadableSymbol && value && value[spreadableSymbol]);
|
|
493
537
|
}
|
|
494
|
-
|
|
495
|
-
|
|
538
|
+
var spreadableSymbol, _isFlattenable_default;
|
|
539
|
+
var init__isFlattenable = __esm(() => {
|
|
540
|
+
init__Symbol();
|
|
541
|
+
init_isArguments();
|
|
542
|
+
init_isArray();
|
|
543
|
+
spreadableSymbol = _Symbol_default ? _Symbol_default.isConcatSpreadable : undefined;
|
|
544
|
+
_isFlattenable_default = isFlattenable;
|
|
545
|
+
});
|
|
546
|
+
|
|
547
|
+
// node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseFlatten.js
|
|
548
|
+
function baseFlatten(array, depth, predicate, isStrict, result) {
|
|
549
|
+
var index = -1, length = array.length;
|
|
550
|
+
predicate || (predicate = _isFlattenable_default);
|
|
551
|
+
result || (result = []);
|
|
552
|
+
while (++index < length) {
|
|
553
|
+
var value = array[index];
|
|
554
|
+
if (depth > 0 && predicate(value)) {
|
|
555
|
+
if (depth > 1) {
|
|
556
|
+
baseFlatten(value, depth - 1, predicate, isStrict, result);
|
|
557
|
+
} else {
|
|
558
|
+
_arrayPush_default(result, value);
|
|
559
|
+
}
|
|
560
|
+
} else if (!isStrict) {
|
|
561
|
+
result[result.length] = value;
|
|
562
|
+
}
|
|
563
|
+
}
|
|
564
|
+
return result;
|
|
496
565
|
}
|
|
497
|
-
|
|
498
|
-
|
|
566
|
+
var _baseFlatten_default;
|
|
567
|
+
var init__baseFlatten = __esm(() => {
|
|
568
|
+
init__arrayPush();
|
|
569
|
+
init__isFlattenable();
|
|
570
|
+
_baseFlatten_default = baseFlatten;
|
|
571
|
+
});
|
|
572
|
+
|
|
573
|
+
// node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/flatten.js
|
|
574
|
+
function flatten(array) {
|
|
575
|
+
var length = array == null ? 0 : array.length;
|
|
576
|
+
return length ? _baseFlatten_default(array, 1) : [];
|
|
577
|
+
}
|
|
578
|
+
var flatten_default;
|
|
579
|
+
var init_flatten = __esm(() => {
|
|
580
|
+
init__baseFlatten();
|
|
581
|
+
flatten_default = flatten;
|
|
582
|
+
});
|
|
583
|
+
|
|
584
|
+
// node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_flatRest.js
|
|
585
|
+
function flatRest(func) {
|
|
586
|
+
return _setToString_default(_overRest_default(func, undefined, flatten_default), func + "");
|
|
499
587
|
}
|
|
500
|
-
var
|
|
501
|
-
var
|
|
502
|
-
|
|
503
|
-
|
|
588
|
+
var _flatRest_default;
|
|
589
|
+
var init__flatRest = __esm(() => {
|
|
590
|
+
init_flatten();
|
|
591
|
+
init__overRest();
|
|
592
|
+
init__setToString();
|
|
593
|
+
_flatRest_default = flatRest;
|
|
504
594
|
});
|
|
505
595
|
|
|
506
|
-
// node_modules/.bun/lodash-es@4.
|
|
507
|
-
function
|
|
508
|
-
if (
|
|
509
|
-
|
|
596
|
+
// node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isPlainObject.js
|
|
597
|
+
function isPlainObject(value) {
|
|
598
|
+
if (!isObjectLike_default(value) || _baseGetTag_default(value) != objectTag) {
|
|
599
|
+
return false;
|
|
600
|
+
}
|
|
601
|
+
var proto = _getPrototype_default(value);
|
|
602
|
+
if (proto === null) {
|
|
603
|
+
return true;
|
|
510
604
|
}
|
|
605
|
+
var Ctor = hasOwnProperty.call(proto, "constructor") && proto.constructor;
|
|
606
|
+
return typeof Ctor == "function" && Ctor instanceof Ctor && funcToString.call(Ctor) == objectCtorString;
|
|
511
607
|
}
|
|
512
|
-
var
|
|
513
|
-
var
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
608
|
+
var objectTag = "[object Object]", funcProto, objectProto, funcToString, hasOwnProperty, objectCtorString, isPlainObject_default;
|
|
609
|
+
var init_isPlainObject = __esm(() => {
|
|
610
|
+
init__baseGetTag();
|
|
611
|
+
init__getPrototype();
|
|
612
|
+
init_isObjectLike();
|
|
613
|
+
funcProto = Function.prototype;
|
|
614
|
+
objectProto = Object.prototype;
|
|
615
|
+
funcToString = funcProto.toString;
|
|
616
|
+
hasOwnProperty = objectProto.hasOwnProperty;
|
|
617
|
+
objectCtorString = funcToString.call(Object);
|
|
618
|
+
isPlainObject_default = isPlainObject;
|
|
619
|
+
});
|
|
620
|
+
|
|
621
|
+
// node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseSlice.js
|
|
622
|
+
function baseSlice(array, start, end) {
|
|
623
|
+
var index = -1, length = array.length;
|
|
624
|
+
if (start < 0) {
|
|
625
|
+
start = -start > length ? 0 : length + start;
|
|
626
|
+
}
|
|
627
|
+
end = end > length ? length : end;
|
|
628
|
+
if (end < 0) {
|
|
629
|
+
end += length;
|
|
630
|
+
}
|
|
631
|
+
length = start > end ? 0 : end - start >>> 0;
|
|
632
|
+
start >>>= 0;
|
|
633
|
+
var result = Array(length);
|
|
634
|
+
while (++index < length) {
|
|
635
|
+
result[index] = array[index + start];
|
|
636
|
+
}
|
|
637
|
+
return result;
|
|
638
|
+
}
|
|
639
|
+
var _baseSlice_default;
|
|
640
|
+
var init__baseSlice = __esm(() => {
|
|
641
|
+
_baseSlice_default = baseSlice;
|
|
642
|
+
});
|
|
643
|
+
|
|
644
|
+
// node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_castSlice.js
|
|
645
|
+
function castSlice(array, start, end) {
|
|
646
|
+
var length = array.length;
|
|
647
|
+
end = end === undefined ? length : end;
|
|
648
|
+
return !start && end >= length ? array : _baseSlice_default(array, start, end);
|
|
649
|
+
}
|
|
650
|
+
var _castSlice_default;
|
|
651
|
+
var init__castSlice = __esm(() => {
|
|
652
|
+
init__baseSlice();
|
|
653
|
+
_castSlice_default = castSlice;
|
|
517
654
|
});
|
|
518
655
|
|
|
519
|
-
// node_modules/.bun/lodash-es@4.
|
|
656
|
+
// node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hasUnicode.js
|
|
657
|
+
function hasUnicode(string) {
|
|
658
|
+
return reHasUnicode.test(string);
|
|
659
|
+
}
|
|
660
|
+
var rsAstralRange = "\\ud800-\\udfff", rsComboMarksRange = "\\u0300-\\u036f", reComboHalfMarksRange = "\\ufe20-\\ufe2f", rsComboSymbolsRange = "\\u20d0-\\u20ff", rsComboRange, rsVarRange = "\\ufe0e\\ufe0f", rsZWJ = "\\u200d", reHasUnicode, _hasUnicode_default;
|
|
661
|
+
var init__hasUnicode = __esm(() => {
|
|
662
|
+
rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange;
|
|
663
|
+
reHasUnicode = RegExp("[" + rsZWJ + rsAstralRange + rsComboRange + rsVarRange + "]");
|
|
664
|
+
_hasUnicode_default = hasUnicode;
|
|
665
|
+
});
|
|
666
|
+
|
|
667
|
+
// node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_asciiToArray.js
|
|
668
|
+
function asciiToArray(string) {
|
|
669
|
+
return string.split("");
|
|
670
|
+
}
|
|
671
|
+
var _asciiToArray_default;
|
|
672
|
+
var init__asciiToArray = __esm(() => {
|
|
673
|
+
_asciiToArray_default = asciiToArray;
|
|
674
|
+
});
|
|
675
|
+
|
|
676
|
+
// node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_unicodeToArray.js
|
|
677
|
+
function unicodeToArray(string) {
|
|
678
|
+
return string.match(reUnicode) || [];
|
|
679
|
+
}
|
|
680
|
+
var rsAstralRange2 = "\\ud800-\\udfff", rsComboMarksRange2 = "\\u0300-\\u036f", reComboHalfMarksRange2 = "\\ufe20-\\ufe2f", rsComboSymbolsRange2 = "\\u20d0-\\u20ff", rsComboRange2, rsVarRange2 = "\\ufe0e\\ufe0f", rsAstral, rsCombo, rsFitz = "\\ud83c[\\udffb-\\udfff]", rsModifier, rsNonAstral, rsRegional = "(?:\\ud83c[\\udde6-\\uddff]){2}", rsSurrPair = "[\\ud800-\\udbff][\\udc00-\\udfff]", rsZWJ2 = "\\u200d", reOptMod, rsOptVar, rsOptJoin, rsSeq, rsSymbol, reUnicode, _unicodeToArray_default;
|
|
681
|
+
var init__unicodeToArray = __esm(() => {
|
|
682
|
+
rsComboRange2 = rsComboMarksRange2 + reComboHalfMarksRange2 + rsComboSymbolsRange2;
|
|
683
|
+
rsAstral = "[" + rsAstralRange2 + "]";
|
|
684
|
+
rsCombo = "[" + rsComboRange2 + "]";
|
|
685
|
+
rsModifier = "(?:" + rsCombo + "|" + rsFitz + ")";
|
|
686
|
+
rsNonAstral = "[^" + rsAstralRange2 + "]";
|
|
687
|
+
reOptMod = rsModifier + "?";
|
|
688
|
+
rsOptVar = "[" + rsVarRange2 + "]?";
|
|
689
|
+
rsOptJoin = "(?:" + rsZWJ2 + "(?:" + [rsNonAstral, rsRegional, rsSurrPair].join("|") + ")" + rsOptVar + reOptMod + ")*";
|
|
690
|
+
rsSeq = rsOptVar + reOptMod + rsOptJoin;
|
|
691
|
+
rsSymbol = "(?:" + [rsNonAstral + rsCombo + "?", rsCombo, rsRegional, rsSurrPair, rsAstral].join("|") + ")";
|
|
692
|
+
reUnicode = RegExp(rsFitz + "(?=" + rsFitz + ")|" + rsSymbol + rsSeq, "g");
|
|
693
|
+
_unicodeToArray_default = unicodeToArray;
|
|
694
|
+
});
|
|
695
|
+
|
|
696
|
+
// node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stringToArray.js
|
|
697
|
+
function stringToArray(string) {
|
|
698
|
+
return _hasUnicode_default(string) ? _unicodeToArray_default(string) : _asciiToArray_default(string);
|
|
699
|
+
}
|
|
700
|
+
var _stringToArray_default;
|
|
701
|
+
var init__stringToArray = __esm(() => {
|
|
702
|
+
init__asciiToArray();
|
|
703
|
+
init__hasUnicode();
|
|
704
|
+
init__unicodeToArray();
|
|
705
|
+
_stringToArray_default = stringToArray;
|
|
706
|
+
});
|
|
707
|
+
|
|
708
|
+
// node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_createCaseFirst.js
|
|
709
|
+
function createCaseFirst(methodName) {
|
|
710
|
+
return function(string) {
|
|
711
|
+
string = toString_default(string);
|
|
712
|
+
var strSymbols = _hasUnicode_default(string) ? _stringToArray_default(string) : undefined;
|
|
713
|
+
var chr = strSymbols ? strSymbols[0] : string.charAt(0);
|
|
714
|
+
var trailing = strSymbols ? _castSlice_default(strSymbols, 1).join("") : string.slice(1);
|
|
715
|
+
return chr[methodName]() + trailing;
|
|
716
|
+
};
|
|
717
|
+
}
|
|
718
|
+
var _createCaseFirst_default;
|
|
719
|
+
var init__createCaseFirst = __esm(() => {
|
|
720
|
+
init__castSlice();
|
|
721
|
+
init__hasUnicode();
|
|
722
|
+
init__stringToArray();
|
|
723
|
+
init_toString();
|
|
724
|
+
_createCaseFirst_default = createCaseFirst;
|
|
725
|
+
});
|
|
726
|
+
|
|
727
|
+
// node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/upperFirst.js
|
|
728
|
+
var upperFirst, upperFirst_default;
|
|
729
|
+
var init_upperFirst = __esm(() => {
|
|
730
|
+
init__createCaseFirst();
|
|
731
|
+
upperFirst = _createCaseFirst_default("toUpperCase");
|
|
732
|
+
upperFirst_default = upperFirst;
|
|
733
|
+
});
|
|
734
|
+
|
|
735
|
+
// node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/capitalize.js
|
|
736
|
+
function capitalize(string) {
|
|
737
|
+
return upperFirst_default(toString_default(string).toLowerCase());
|
|
738
|
+
}
|
|
739
|
+
var capitalize_default;
|
|
740
|
+
var init_capitalize = __esm(() => {
|
|
741
|
+
init_toString();
|
|
742
|
+
init_upperFirst();
|
|
743
|
+
capitalize_default = capitalize;
|
|
744
|
+
});
|
|
745
|
+
|
|
746
|
+
// node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayAggregator.js
|
|
747
|
+
function arrayAggregator(array, setter, iteratee, accumulator) {
|
|
748
|
+
var index = -1, length = array == null ? 0 : array.length;
|
|
749
|
+
while (++index < length) {
|
|
750
|
+
var value = array[index];
|
|
751
|
+
setter(accumulator, value, iteratee(value), array);
|
|
752
|
+
}
|
|
753
|
+
return accumulator;
|
|
754
|
+
}
|
|
755
|
+
var _arrayAggregator_default;
|
|
756
|
+
var init__arrayAggregator = __esm(() => {
|
|
757
|
+
_arrayAggregator_default = arrayAggregator;
|
|
758
|
+
});
|
|
759
|
+
|
|
760
|
+
// node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_createBaseFor.js
|
|
520
761
|
function createBaseFor(fromRight) {
|
|
521
762
|
return function(object, iteratee, keysFunc) {
|
|
522
763
|
var index = -1, iterable = Object(object), props = keysFunc(object), length = props.length;
|
|
@@ -534,7 +775,7 @@ var init__createBaseFor = __esm(() => {
|
|
|
534
775
|
_createBaseFor_default = createBaseFor;
|
|
535
776
|
});
|
|
536
777
|
|
|
537
|
-
// node_modules/.bun/lodash-es@4.
|
|
778
|
+
// node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseFor.js
|
|
538
779
|
var baseFor, _baseFor_default;
|
|
539
780
|
var init__baseFor = __esm(() => {
|
|
540
781
|
init__createBaseFor();
|
|
@@ -542,7 +783,93 @@ var init__baseFor = __esm(() => {
|
|
|
542
783
|
_baseFor_default = baseFor;
|
|
543
784
|
});
|
|
544
785
|
|
|
545
|
-
// node_modules/.bun/lodash-es@4.
|
|
786
|
+
// node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseForOwn.js
|
|
787
|
+
function baseForOwn(object, iteratee) {
|
|
788
|
+
return object && _baseFor_default(object, iteratee, keys_default);
|
|
789
|
+
}
|
|
790
|
+
var _baseForOwn_default;
|
|
791
|
+
var init__baseForOwn = __esm(() => {
|
|
792
|
+
init__baseFor();
|
|
793
|
+
init_keys();
|
|
794
|
+
_baseForOwn_default = baseForOwn;
|
|
795
|
+
});
|
|
796
|
+
|
|
797
|
+
// node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_createBaseEach.js
|
|
798
|
+
function createBaseEach(eachFunc, fromRight) {
|
|
799
|
+
return function(collection, iteratee) {
|
|
800
|
+
if (collection == null) {
|
|
801
|
+
return collection;
|
|
802
|
+
}
|
|
803
|
+
if (!isArrayLike_default(collection)) {
|
|
804
|
+
return eachFunc(collection, iteratee);
|
|
805
|
+
}
|
|
806
|
+
var length = collection.length, index = fromRight ? length : -1, iterable = Object(collection);
|
|
807
|
+
while (fromRight ? index-- : ++index < length) {
|
|
808
|
+
if (iteratee(iterable[index], index, iterable) === false) {
|
|
809
|
+
break;
|
|
810
|
+
}
|
|
811
|
+
}
|
|
812
|
+
return collection;
|
|
813
|
+
};
|
|
814
|
+
}
|
|
815
|
+
var _createBaseEach_default;
|
|
816
|
+
var init__createBaseEach = __esm(() => {
|
|
817
|
+
init_isArrayLike();
|
|
818
|
+
_createBaseEach_default = createBaseEach;
|
|
819
|
+
});
|
|
820
|
+
|
|
821
|
+
// node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseEach.js
|
|
822
|
+
var baseEach, _baseEach_default;
|
|
823
|
+
var init__baseEach = __esm(() => {
|
|
824
|
+
init__baseForOwn();
|
|
825
|
+
init__createBaseEach();
|
|
826
|
+
baseEach = _createBaseEach_default(_baseForOwn_default);
|
|
827
|
+
_baseEach_default = baseEach;
|
|
828
|
+
});
|
|
829
|
+
|
|
830
|
+
// node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAggregator.js
|
|
831
|
+
function baseAggregator(collection, setter, iteratee, accumulator) {
|
|
832
|
+
_baseEach_default(collection, function(value, key, collection2) {
|
|
833
|
+
setter(accumulator, value, iteratee(value), collection2);
|
|
834
|
+
});
|
|
835
|
+
return accumulator;
|
|
836
|
+
}
|
|
837
|
+
var _baseAggregator_default;
|
|
838
|
+
var init__baseAggregator = __esm(() => {
|
|
839
|
+
init__baseEach();
|
|
840
|
+
_baseAggregator_default = baseAggregator;
|
|
841
|
+
});
|
|
842
|
+
|
|
843
|
+
// node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_createAggregator.js
|
|
844
|
+
function createAggregator(setter, initializer) {
|
|
845
|
+
return function(collection, iteratee) {
|
|
846
|
+
var func = isArray_default(collection) ? _arrayAggregator_default : _baseAggregator_default, accumulator = initializer ? initializer() : {};
|
|
847
|
+
return func(collection, setter, _baseIteratee_default(iteratee, 2), accumulator);
|
|
848
|
+
};
|
|
849
|
+
}
|
|
850
|
+
var _createAggregator_default;
|
|
851
|
+
var init__createAggregator = __esm(() => {
|
|
852
|
+
init__arrayAggregator();
|
|
853
|
+
init__baseAggregator();
|
|
854
|
+
init__baseIteratee();
|
|
855
|
+
init_isArray();
|
|
856
|
+
_createAggregator_default = createAggregator;
|
|
857
|
+
});
|
|
858
|
+
|
|
859
|
+
// node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assignMergeValue.js
|
|
860
|
+
function assignMergeValue(object, key, value) {
|
|
861
|
+
if (value !== undefined && !eq_default(object[key], value) || value === undefined && !(key in object)) {
|
|
862
|
+
_baseAssignValue_default(object, key, value);
|
|
863
|
+
}
|
|
864
|
+
}
|
|
865
|
+
var _assignMergeValue_default;
|
|
866
|
+
var init__assignMergeValue = __esm(() => {
|
|
867
|
+
init__baseAssignValue();
|
|
868
|
+
init_eq();
|
|
869
|
+
_assignMergeValue_default = assignMergeValue;
|
|
870
|
+
});
|
|
871
|
+
|
|
872
|
+
// node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArrayLikeObject.js
|
|
546
873
|
function isArrayLikeObject(value) {
|
|
547
874
|
return isObjectLike_default(value) && isArrayLike_default(value);
|
|
548
875
|
}
|
|
@@ -553,32 +880,7 @@ var init_isArrayLikeObject = __esm(() => {
|
|
|
553
880
|
isArrayLikeObject_default = isArrayLikeObject;
|
|
554
881
|
});
|
|
555
882
|
|
|
556
|
-
// node_modules/.bun/lodash-es@4.
|
|
557
|
-
function isPlainObject(value) {
|
|
558
|
-
if (!isObjectLike_default(value) || _baseGetTag_default(value) != objectTag) {
|
|
559
|
-
return false;
|
|
560
|
-
}
|
|
561
|
-
var proto = _getPrototype_default(value);
|
|
562
|
-
if (proto === null) {
|
|
563
|
-
return true;
|
|
564
|
-
}
|
|
565
|
-
var Ctor = hasOwnProperty.call(proto, "constructor") && proto.constructor;
|
|
566
|
-
return typeof Ctor == "function" && Ctor instanceof Ctor && funcToString.call(Ctor) == objectCtorString;
|
|
567
|
-
}
|
|
568
|
-
var objectTag = "[object Object]", funcProto, objectProto, funcToString, hasOwnProperty, objectCtorString, isPlainObject_default;
|
|
569
|
-
var init_isPlainObject = __esm(() => {
|
|
570
|
-
init__baseGetTag();
|
|
571
|
-
init__getPrototype();
|
|
572
|
-
init_isObjectLike();
|
|
573
|
-
funcProto = Function.prototype;
|
|
574
|
-
objectProto = Object.prototype;
|
|
575
|
-
funcToString = funcProto.toString;
|
|
576
|
-
hasOwnProperty = objectProto.hasOwnProperty;
|
|
577
|
-
objectCtorString = funcToString.call(Object);
|
|
578
|
-
isPlainObject_default = isPlainObject;
|
|
579
|
-
});
|
|
580
|
-
|
|
581
|
-
// node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_safeGet.js
|
|
883
|
+
// node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_safeGet.js
|
|
582
884
|
function safeGet(object, key) {
|
|
583
885
|
if (key === "constructor" && typeof object[key] === "function") {
|
|
584
886
|
return;
|
|
@@ -593,7 +895,7 @@ var init__safeGet = __esm(() => {
|
|
|
593
895
|
_safeGet_default = safeGet;
|
|
594
896
|
});
|
|
595
897
|
|
|
596
|
-
// node_modules/.bun/lodash-es@4.
|
|
898
|
+
// node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/toPlainObject.js
|
|
597
899
|
function toPlainObject(value) {
|
|
598
900
|
return _copyObject_default(value, keysIn_default(value));
|
|
599
901
|
}
|
|
@@ -604,7 +906,7 @@ var init_toPlainObject = __esm(() => {
|
|
|
604
906
|
toPlainObject_default = toPlainObject;
|
|
605
907
|
});
|
|
606
908
|
|
|
607
|
-
// node_modules/.bun/lodash-es@4.
|
|
909
|
+
// node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseMergeDeep.js
|
|
608
910
|
function baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, stack) {
|
|
609
911
|
var objValue = _safeGet_default(object, key), srcValue = _safeGet_default(source, key), stacked = stack.get(srcValue);
|
|
610
912
|
if (stacked) {
|
|
@@ -668,7 +970,7 @@ var init__baseMergeDeep = __esm(() => {
|
|
|
668
970
|
_baseMergeDeep_default = baseMergeDeep;
|
|
669
971
|
});
|
|
670
972
|
|
|
671
|
-
// node_modules/.bun/lodash-es@4.
|
|
973
|
+
// node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseMerge.js
|
|
672
974
|
function baseMerge(object, source, srcIndex, customizer, stack) {
|
|
673
975
|
if (object === source) {
|
|
674
976
|
return;
|
|
@@ -698,175 +1000,608 @@ var init__baseMerge = __esm(() => {
|
|
|
698
1000
|
_baseMerge_default = baseMerge;
|
|
699
1001
|
});
|
|
700
1002
|
|
|
701
|
-
// node_modules/.bun/lodash-es@4.
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
1003
|
+
// node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/mergeWith.js
|
|
1004
|
+
var mergeWith, mergeWith_default;
|
|
1005
|
+
var init_mergeWith = __esm(() => {
|
|
1006
|
+
init__baseMerge();
|
|
1007
|
+
init__createAssigner();
|
|
1008
|
+
mergeWith = _createAssigner_default(function(object, source, srcIndex, customizer) {
|
|
1009
|
+
_baseMerge_default(object, source, srcIndex, customizer);
|
|
1010
|
+
});
|
|
1011
|
+
mergeWith_default = mergeWith;
|
|
1012
|
+
});
|
|
1013
|
+
|
|
1014
|
+
// node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayIncludesWith.js
|
|
1015
|
+
function arrayIncludesWith(array, value, comparator) {
|
|
1016
|
+
var index = -1, length = array == null ? 0 : array.length;
|
|
1017
|
+
while (++index < length) {
|
|
1018
|
+
if (comparator(value, array[index])) {
|
|
1019
|
+
return true;
|
|
1020
|
+
}
|
|
712
1021
|
}
|
|
713
|
-
return
|
|
1022
|
+
return false;
|
|
714
1023
|
}
|
|
715
|
-
var
|
|
716
|
-
var
|
|
717
|
-
|
|
1024
|
+
var _arrayIncludesWith_default;
|
|
1025
|
+
var init__arrayIncludesWith = __esm(() => {
|
|
1026
|
+
_arrayIncludesWith_default = arrayIncludesWith;
|
|
718
1027
|
});
|
|
719
1028
|
|
|
720
|
-
// node_modules/.bun/lodash-es@4.
|
|
721
|
-
function
|
|
722
|
-
|
|
723
|
-
return
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
1029
|
+
// node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/last.js
|
|
1030
|
+
function last(array) {
|
|
1031
|
+
var length = array == null ? 0 : array.length;
|
|
1032
|
+
return length ? array[length - 1] : undefined;
|
|
1033
|
+
}
|
|
1034
|
+
var last_default;
|
|
1035
|
+
var init_last = __esm(() => {
|
|
1036
|
+
last_default = last;
|
|
1037
|
+
});
|
|
1038
|
+
|
|
1039
|
+
// node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseFilter.js
|
|
1040
|
+
function baseFilter(collection, predicate) {
|
|
1041
|
+
var result = [];
|
|
1042
|
+
_baseEach_default(collection, function(value, index, collection2) {
|
|
1043
|
+
if (predicate(value, index, collection2)) {
|
|
1044
|
+
result.push(value);
|
|
732
1045
|
}
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
};
|
|
1046
|
+
});
|
|
1047
|
+
return result;
|
|
736
1048
|
}
|
|
737
|
-
var
|
|
738
|
-
var
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
_overRest_default = overRest;
|
|
1049
|
+
var _baseFilter_default;
|
|
1050
|
+
var init__baseFilter = __esm(() => {
|
|
1051
|
+
init__baseEach();
|
|
1052
|
+
_baseFilter_default = baseFilter;
|
|
742
1053
|
});
|
|
743
1054
|
|
|
744
|
-
// node_modules/.bun/lodash-es@4.
|
|
745
|
-
function
|
|
1055
|
+
// node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseValues.js
|
|
1056
|
+
function baseValues(object, props) {
|
|
1057
|
+
return _arrayMap_default(props, function(key) {
|
|
1058
|
+
return object[key];
|
|
1059
|
+
});
|
|
1060
|
+
}
|
|
1061
|
+
var _baseValues_default;
|
|
1062
|
+
var init__baseValues = __esm(() => {
|
|
1063
|
+
init__arrayMap();
|
|
1064
|
+
_baseValues_default = baseValues;
|
|
1065
|
+
});
|
|
1066
|
+
|
|
1067
|
+
// node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/values.js
|
|
1068
|
+
function values(object) {
|
|
1069
|
+
return object == null ? [] : _baseValues_default(object, keys_default(object));
|
|
1070
|
+
}
|
|
1071
|
+
var values_default;
|
|
1072
|
+
var init_values = __esm(() => {
|
|
1073
|
+
init__baseValues();
|
|
1074
|
+
init_keys();
|
|
1075
|
+
values_default = values;
|
|
1076
|
+
});
|
|
1077
|
+
|
|
1078
|
+
// node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_parent.js
|
|
1079
|
+
function parent(object, path) {
|
|
1080
|
+
return path.length < 2 ? object : _baseGet_default(object, _baseSlice_default(path, 0, -1));
|
|
1081
|
+
}
|
|
1082
|
+
var _parent_default;
|
|
1083
|
+
var init__parent = __esm(() => {
|
|
1084
|
+
init__baseGet();
|
|
1085
|
+
init__baseSlice();
|
|
1086
|
+
_parent_default = parent;
|
|
1087
|
+
});
|
|
1088
|
+
|
|
1089
|
+
// node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isEqual.js
|
|
1090
|
+
function isEqual(value, other) {
|
|
1091
|
+
return _baseIsEqual_default(value, other);
|
|
1092
|
+
}
|
|
1093
|
+
var isEqual_default;
|
|
1094
|
+
var init_isEqual = __esm(() => {
|
|
1095
|
+
init__baseIsEqual();
|
|
1096
|
+
isEqual_default = isEqual;
|
|
1097
|
+
});
|
|
1098
|
+
|
|
1099
|
+
// node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/mapValues.js
|
|
1100
|
+
function mapValues(object, iteratee) {
|
|
1101
|
+
var result = {};
|
|
1102
|
+
iteratee = _baseIteratee_default(iteratee, 3);
|
|
1103
|
+
_baseForOwn_default(object, function(value, key, object2) {
|
|
1104
|
+
_baseAssignValue_default(result, key, iteratee(value, key, object2));
|
|
1105
|
+
});
|
|
1106
|
+
return result;
|
|
1107
|
+
}
|
|
1108
|
+
var mapValues_default;
|
|
1109
|
+
var init_mapValues = __esm(() => {
|
|
1110
|
+
init__baseAssignValue();
|
|
1111
|
+
init__baseForOwn();
|
|
1112
|
+
init__baseIteratee();
|
|
1113
|
+
mapValues_default = mapValues;
|
|
1114
|
+
});
|
|
1115
|
+
|
|
1116
|
+
// node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/negate.js
|
|
1117
|
+
function negate(predicate) {
|
|
1118
|
+
if (typeof predicate != "function") {
|
|
1119
|
+
throw new TypeError(FUNC_ERROR_TEXT);
|
|
1120
|
+
}
|
|
746
1121
|
return function() {
|
|
747
|
-
|
|
1122
|
+
var args = arguments;
|
|
1123
|
+
switch (args.length) {
|
|
1124
|
+
case 0:
|
|
1125
|
+
return !predicate.call(this);
|
|
1126
|
+
case 1:
|
|
1127
|
+
return !predicate.call(this, args[0]);
|
|
1128
|
+
case 2:
|
|
1129
|
+
return !predicate.call(this, args[0], args[1]);
|
|
1130
|
+
case 3:
|
|
1131
|
+
return !predicate.call(this, args[0], args[1], args[2]);
|
|
1132
|
+
}
|
|
1133
|
+
return !predicate.apply(this, args);
|
|
748
1134
|
};
|
|
749
1135
|
}
|
|
750
|
-
var
|
|
751
|
-
var
|
|
752
|
-
|
|
1136
|
+
var FUNC_ERROR_TEXT = "Expected a function", negate_default;
|
|
1137
|
+
var init_negate = __esm(() => {
|
|
1138
|
+
negate_default = negate;
|
|
753
1139
|
});
|
|
754
1140
|
|
|
755
|
-
// node_modules/.bun/lodash-es@4.
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
1141
|
+
// node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseUnset.js
|
|
1142
|
+
function baseUnset(object, path) {
|
|
1143
|
+
path = _castPath_default(path, object);
|
|
1144
|
+
var index = -1, length = path.length;
|
|
1145
|
+
if (!length) {
|
|
1146
|
+
return true;
|
|
1147
|
+
}
|
|
1148
|
+
while (++index < length) {
|
|
1149
|
+
var key = _toKey_default(path[index]);
|
|
1150
|
+
if (key === "__proto__" && !hasOwnProperty2.call(object, "__proto__")) {
|
|
1151
|
+
return false;
|
|
1152
|
+
}
|
|
1153
|
+
if ((key === "constructor" || key === "prototype") && index < length - 1) {
|
|
1154
|
+
return false;
|
|
1155
|
+
}
|
|
1156
|
+
}
|
|
1157
|
+
var obj = _parent_default(object, path);
|
|
1158
|
+
return obj == null || delete obj[_toKey_default(last_default(path))];
|
|
1159
|
+
}
|
|
1160
|
+
var objectProto2, hasOwnProperty2, _baseUnset_default;
|
|
1161
|
+
var init__baseUnset = __esm(() => {
|
|
1162
|
+
init__castPath();
|
|
1163
|
+
init_last();
|
|
1164
|
+
init__parent();
|
|
1165
|
+
init__toKey();
|
|
1166
|
+
objectProto2 = Object.prototype;
|
|
1167
|
+
hasOwnProperty2 = objectProto2.hasOwnProperty;
|
|
1168
|
+
_baseUnset_default = baseUnset;
|
|
1169
|
+
});
|
|
1170
|
+
|
|
1171
|
+
// node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_customOmitClone.js
|
|
1172
|
+
function customOmitClone(value) {
|
|
1173
|
+
return isPlainObject_default(value) ? undefined : value;
|
|
1174
|
+
}
|
|
1175
|
+
var _customOmitClone_default;
|
|
1176
|
+
var init__customOmitClone = __esm(() => {
|
|
1177
|
+
init_isPlainObject();
|
|
1178
|
+
_customOmitClone_default = customOmitClone;
|
|
1179
|
+
});
|
|
1180
|
+
|
|
1181
|
+
// node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/omit.js
|
|
1182
|
+
var CLONE_DEEP_FLAG = 1, CLONE_FLAT_FLAG = 2, CLONE_SYMBOLS_FLAG = 4, omit, omit_default;
|
|
1183
|
+
var init_omit = __esm(() => {
|
|
1184
|
+
init__arrayMap();
|
|
1185
|
+
init__baseClone();
|
|
1186
|
+
init__baseUnset();
|
|
1187
|
+
init__castPath();
|
|
1188
|
+
init__copyObject();
|
|
1189
|
+
init__customOmitClone();
|
|
1190
|
+
init__flatRest();
|
|
1191
|
+
init__getAllKeysIn();
|
|
1192
|
+
omit = _flatRest_default(function(object, paths) {
|
|
1193
|
+
var result = {};
|
|
1194
|
+
if (object == null) {
|
|
1195
|
+
return result;
|
|
1196
|
+
}
|
|
1197
|
+
var isDeep = false;
|
|
1198
|
+
paths = _arrayMap_default(paths, function(path) {
|
|
1199
|
+
path = _castPath_default(path, object);
|
|
1200
|
+
isDeep || (isDeep = path.length > 1);
|
|
1201
|
+
return path;
|
|
767
1202
|
});
|
|
1203
|
+
_copyObject_default(object, _getAllKeysIn_default(object), result);
|
|
1204
|
+
if (isDeep) {
|
|
1205
|
+
result = _baseClone_default(result, CLONE_DEEP_FLAG | CLONE_FLAT_FLAG | CLONE_SYMBOLS_FLAG, _customOmitClone_default);
|
|
1206
|
+
}
|
|
1207
|
+
var length = paths.length;
|
|
1208
|
+
while (length--) {
|
|
1209
|
+
_baseUnset_default(result, paths[length]);
|
|
1210
|
+
}
|
|
1211
|
+
return result;
|
|
1212
|
+
});
|
|
1213
|
+
omit_default = omit;
|
|
1214
|
+
});
|
|
1215
|
+
|
|
1216
|
+
// node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/partition.js
|
|
1217
|
+
var partition, partition_default;
|
|
1218
|
+
var init_partition = __esm(() => {
|
|
1219
|
+
init__createAggregator();
|
|
1220
|
+
partition = _createAggregator_default(function(result, value, key) {
|
|
1221
|
+
result[key ? 0 : 1].push(value);
|
|
1222
|
+
}, function() {
|
|
1223
|
+
return [[], []];
|
|
1224
|
+
});
|
|
1225
|
+
partition_default = partition;
|
|
1226
|
+
});
|
|
1227
|
+
|
|
1228
|
+
// node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseRandom.js
|
|
1229
|
+
function baseRandom(lower, upper) {
|
|
1230
|
+
return lower + nativeFloor(nativeRandom() * (upper - lower + 1));
|
|
1231
|
+
}
|
|
1232
|
+
var nativeFloor, nativeRandom, _baseRandom_default;
|
|
1233
|
+
var init__baseRandom = __esm(() => {
|
|
1234
|
+
nativeFloor = Math.floor;
|
|
1235
|
+
nativeRandom = Math.random;
|
|
1236
|
+
_baseRandom_default = baseRandom;
|
|
1237
|
+
});
|
|
1238
|
+
|
|
1239
|
+
// node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/reject.js
|
|
1240
|
+
function reject(collection, predicate) {
|
|
1241
|
+
var func = isArray_default(collection) ? _arrayFilter_default : _baseFilter_default;
|
|
1242
|
+
return func(collection, negate_default(_baseIteratee_default(predicate, 3)));
|
|
1243
|
+
}
|
|
1244
|
+
var reject_default;
|
|
1245
|
+
var init_reject = __esm(() => {
|
|
1246
|
+
init__arrayFilter();
|
|
1247
|
+
init__baseFilter();
|
|
1248
|
+
init__baseIteratee();
|
|
1249
|
+
init_isArray();
|
|
1250
|
+
init_negate();
|
|
1251
|
+
reject_default = reject;
|
|
1252
|
+
});
|
|
1253
|
+
|
|
1254
|
+
// node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arraySample.js
|
|
1255
|
+
function arraySample(array) {
|
|
1256
|
+
var length = array.length;
|
|
1257
|
+
return length ? array[_baseRandom_default(0, length - 1)] : undefined;
|
|
1258
|
+
}
|
|
1259
|
+
var _arraySample_default;
|
|
1260
|
+
var init__arraySample = __esm(() => {
|
|
1261
|
+
init__baseRandom();
|
|
1262
|
+
_arraySample_default = arraySample;
|
|
1263
|
+
});
|
|
1264
|
+
|
|
1265
|
+
// node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseSample.js
|
|
1266
|
+
function baseSample(collection) {
|
|
1267
|
+
return _arraySample_default(values_default(collection));
|
|
1268
|
+
}
|
|
1269
|
+
var _baseSample_default;
|
|
1270
|
+
var init__baseSample = __esm(() => {
|
|
1271
|
+
init__arraySample();
|
|
1272
|
+
init_values();
|
|
1273
|
+
_baseSample_default = baseSample;
|
|
1274
|
+
});
|
|
1275
|
+
|
|
1276
|
+
// node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/sample.js
|
|
1277
|
+
function sample(collection) {
|
|
1278
|
+
var func = isArray_default(collection) ? _arraySample_default : _baseSample_default;
|
|
1279
|
+
return func(collection);
|
|
1280
|
+
}
|
|
1281
|
+
var sample_default;
|
|
1282
|
+
var init_sample = __esm(() => {
|
|
1283
|
+
init__arraySample();
|
|
1284
|
+
init__baseSample();
|
|
1285
|
+
init_isArray();
|
|
1286
|
+
sample_default = sample;
|
|
1287
|
+
});
|
|
1288
|
+
|
|
1289
|
+
// node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/setWith.js
|
|
1290
|
+
function setWith(object, path, value, customizer) {
|
|
1291
|
+
customizer = typeof customizer == "function" ? customizer : undefined;
|
|
1292
|
+
return object == null ? object : _baseSet_default(object, path, value, customizer);
|
|
1293
|
+
}
|
|
1294
|
+
var setWith_default;
|
|
1295
|
+
var init_setWith = __esm(() => {
|
|
1296
|
+
init__baseSet();
|
|
1297
|
+
setWith_default = setWith;
|
|
1298
|
+
});
|
|
1299
|
+
|
|
1300
|
+
// node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_createSet.js
|
|
1301
|
+
var INFINITY, createSet, _createSet_default;
|
|
1302
|
+
var init__createSet = __esm(() => {
|
|
1303
|
+
init__Set();
|
|
1304
|
+
init_noop();
|
|
1305
|
+
init__setToArray();
|
|
1306
|
+
INFINITY = 1 / 0;
|
|
1307
|
+
createSet = !(_Set_default && 1 / _setToArray_default(new _Set_default([, -0]))[1] == INFINITY) ? noop_default : function(values2) {
|
|
1308
|
+
return new _Set_default(values2);
|
|
768
1309
|
};
|
|
769
|
-
|
|
1310
|
+
_createSet_default = createSet;
|
|
770
1311
|
});
|
|
771
1312
|
|
|
772
|
-
// node_modules/.bun/lodash-es@4.
|
|
773
|
-
function
|
|
774
|
-
var
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
1313
|
+
// node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseUniq.js
|
|
1314
|
+
function baseUniq(array, iteratee, comparator) {
|
|
1315
|
+
var index = -1, includes = _arrayIncludes_default, length = array.length, isCommon = true, result = [], seen = result;
|
|
1316
|
+
if (comparator) {
|
|
1317
|
+
isCommon = false;
|
|
1318
|
+
includes = _arrayIncludesWith_default;
|
|
1319
|
+
} else if (length >= LARGE_ARRAY_SIZE) {
|
|
1320
|
+
var set = iteratee ? null : _createSet_default(array);
|
|
1321
|
+
if (set) {
|
|
1322
|
+
return _setToArray_default(set);
|
|
1323
|
+
}
|
|
1324
|
+
isCommon = false;
|
|
1325
|
+
includes = _cacheHas_default;
|
|
1326
|
+
seen = new _SetCache_default;
|
|
1327
|
+
} else {
|
|
1328
|
+
seen = iteratee ? [] : result;
|
|
1329
|
+
}
|
|
1330
|
+
outer:
|
|
1331
|
+
while (++index < length) {
|
|
1332
|
+
var value = array[index], computed = iteratee ? iteratee(value) : value;
|
|
1333
|
+
value = comparator || value !== 0 ? value : 0;
|
|
1334
|
+
if (isCommon && computed === computed) {
|
|
1335
|
+
var seenIndex = seen.length;
|
|
1336
|
+
while (seenIndex--) {
|
|
1337
|
+
if (seen[seenIndex] === computed) {
|
|
1338
|
+
continue outer;
|
|
1339
|
+
}
|
|
1340
|
+
}
|
|
1341
|
+
if (iteratee) {
|
|
1342
|
+
seen.push(computed);
|
|
1343
|
+
}
|
|
1344
|
+
result.push(value);
|
|
1345
|
+
} else if (!includes(seen, computed, comparator)) {
|
|
1346
|
+
if (seen !== result) {
|
|
1347
|
+
seen.push(computed);
|
|
1348
|
+
}
|
|
1349
|
+
result.push(value);
|
|
781
1350
|
}
|
|
782
|
-
} else {
|
|
783
|
-
count2 = 0;
|
|
784
1351
|
}
|
|
785
|
-
|
|
786
|
-
};
|
|
1352
|
+
return result;
|
|
787
1353
|
}
|
|
788
|
-
var
|
|
789
|
-
var
|
|
790
|
-
|
|
791
|
-
|
|
1354
|
+
var LARGE_ARRAY_SIZE = 200, _baseUniq_default;
|
|
1355
|
+
var init__baseUniq = __esm(() => {
|
|
1356
|
+
init__SetCache();
|
|
1357
|
+
init__arrayIncludes();
|
|
1358
|
+
init__arrayIncludesWith();
|
|
1359
|
+
init__cacheHas();
|
|
1360
|
+
init__createSet();
|
|
1361
|
+
init__setToArray();
|
|
1362
|
+
_baseUniq_default = baseUniq;
|
|
792
1363
|
});
|
|
793
1364
|
|
|
794
|
-
// node_modules/.bun/lodash-es@4.
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
1365
|
+
// node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/uniqBy.js
|
|
1366
|
+
function uniqBy(array, iteratee) {
|
|
1367
|
+
return array && array.length ? _baseUniq_default(array, _baseIteratee_default(iteratee, 2)) : [];
|
|
1368
|
+
}
|
|
1369
|
+
var uniqBy_default;
|
|
1370
|
+
var init_uniqBy = __esm(() => {
|
|
1371
|
+
init__baseIteratee();
|
|
1372
|
+
init__baseUniq();
|
|
1373
|
+
uniqBy_default = uniqBy;
|
|
801
1374
|
});
|
|
802
1375
|
|
|
803
|
-
// node_modules/.bun/lodash-es@4.
|
|
804
|
-
function
|
|
805
|
-
|
|
1376
|
+
// node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseZipObject.js
|
|
1377
|
+
function baseZipObject(props, values2, assignFunc) {
|
|
1378
|
+
var index = -1, length = props.length, valsLength = values2.length, result = {};
|
|
1379
|
+
while (++index < length) {
|
|
1380
|
+
var value = index < valsLength ? values2[index] : undefined;
|
|
1381
|
+
assignFunc(result, props[index], value);
|
|
1382
|
+
}
|
|
1383
|
+
return result;
|
|
806
1384
|
}
|
|
807
|
-
var
|
|
808
|
-
var
|
|
809
|
-
|
|
810
|
-
init__overRest();
|
|
811
|
-
init__setToString();
|
|
812
|
-
_baseRest_default = baseRest;
|
|
1385
|
+
var _baseZipObject_default;
|
|
1386
|
+
var init__baseZipObject = __esm(() => {
|
|
1387
|
+
_baseZipObject_default = baseZipObject;
|
|
813
1388
|
});
|
|
814
1389
|
|
|
815
|
-
// node_modules/.bun/lodash-es@4.
|
|
816
|
-
function
|
|
817
|
-
|
|
818
|
-
|
|
1390
|
+
// node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/zipObject.js
|
|
1391
|
+
function zipObject(props, values2) {
|
|
1392
|
+
return _baseZipObject_default(props || [], values2 || [], _assignValue_default);
|
|
1393
|
+
}
|
|
1394
|
+
var zipObject_default;
|
|
1395
|
+
var init_zipObject = __esm(() => {
|
|
1396
|
+
init__assignValue();
|
|
1397
|
+
init__baseZipObject();
|
|
1398
|
+
zipObject_default = zipObject;
|
|
1399
|
+
});
|
|
1400
|
+
|
|
1401
|
+
// node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/lodash.js
|
|
1402
|
+
var init_lodash = __esm(() => {
|
|
1403
|
+
init_cloneDeep();
|
|
1404
|
+
init_isEqual();
|
|
1405
|
+
init_memoize();
|
|
1406
|
+
});
|
|
1407
|
+
|
|
1408
|
+
// src/utils/authFileDescriptor.ts
|
|
1409
|
+
import { mkdirSync, writeFileSync } from "fs";
|
|
1410
|
+
function maybePersistTokenForSubprocesses(path, token, tokenName) {
|
|
1411
|
+
if (!isEnvTruthy(process.env.CLAUDE_CODE_REMOTE)) {
|
|
1412
|
+
return;
|
|
819
1413
|
}
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
1414
|
+
try {
|
|
1415
|
+
mkdirSync(CCR_TOKEN_DIR, { recursive: true, mode: 448 });
|
|
1416
|
+
writeFileSync(path, token, { encoding: "utf8", mode: 384 });
|
|
1417
|
+
logForDebugging(`Persisted ${tokenName} to ${path} for subprocess access`);
|
|
1418
|
+
} catch (error) {
|
|
1419
|
+
logForDebugging(`Failed to persist ${tokenName} to disk (non-fatal): ${errorMessage(error)}`, { level: "error" });
|
|
823
1420
|
}
|
|
824
|
-
return false;
|
|
825
1421
|
}
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
1422
|
+
function readTokenFromWellKnownFile(path, tokenName) {
|
|
1423
|
+
try {
|
|
1424
|
+
const fsOps = getFsImplementation();
|
|
1425
|
+
const token = fsOps.readFileSync(path, { encoding: "utf8" }).trim();
|
|
1426
|
+
if (!token) {
|
|
1427
|
+
return null;
|
|
1428
|
+
}
|
|
1429
|
+
logForDebugging(`Read ${tokenName} from well-known file ${path}`);
|
|
1430
|
+
return token;
|
|
1431
|
+
} catch (error) {
|
|
1432
|
+
if (!isENOENT(error)) {
|
|
1433
|
+
logForDebugging(`Failed to read ${tokenName} from ${path}: ${errorMessage(error)}`, { level: "debug" });
|
|
1434
|
+
}
|
|
1435
|
+
return null;
|
|
1436
|
+
}
|
|
1437
|
+
}
|
|
1438
|
+
function getCredentialFromFd({
|
|
1439
|
+
envVar,
|
|
1440
|
+
wellKnownPath,
|
|
1441
|
+
label,
|
|
1442
|
+
getCached,
|
|
1443
|
+
setCached
|
|
1444
|
+
}) {
|
|
1445
|
+
const cached = getCached();
|
|
1446
|
+
if (cached !== undefined) {
|
|
1447
|
+
return cached;
|
|
1448
|
+
}
|
|
1449
|
+
const fdEnv = process.env[envVar];
|
|
1450
|
+
if (!fdEnv) {
|
|
1451
|
+
const fromFile = readTokenFromWellKnownFile(wellKnownPath, label);
|
|
1452
|
+
setCached(fromFile);
|
|
1453
|
+
return fromFile;
|
|
1454
|
+
}
|
|
1455
|
+
const fd = parseInt(fdEnv, 10);
|
|
1456
|
+
if (Number.isNaN(fd)) {
|
|
1457
|
+
logForDebugging(`${envVar} must be a valid file descriptor number, got: ${fdEnv}`, { level: "error" });
|
|
1458
|
+
setCached(null);
|
|
1459
|
+
return null;
|
|
1460
|
+
}
|
|
1461
|
+
try {
|
|
1462
|
+
const fsOps = getFsImplementation();
|
|
1463
|
+
const fdPath = process.platform === "darwin" || process.platform === "freebsd" ? `/dev/fd/${fd}` : `/proc/self/fd/${fd}`;
|
|
1464
|
+
const token = fsOps.readFileSync(fdPath, { encoding: "utf8" }).trim();
|
|
1465
|
+
if (!token) {
|
|
1466
|
+
logForDebugging(`File descriptor contained empty ${label}`, {
|
|
1467
|
+
level: "error"
|
|
1468
|
+
});
|
|
1469
|
+
setCached(null);
|
|
1470
|
+
return null;
|
|
1471
|
+
}
|
|
1472
|
+
logForDebugging(`Successfully read ${label} from file descriptor ${fd}`);
|
|
1473
|
+
setCached(token);
|
|
1474
|
+
maybePersistTokenForSubprocesses(wellKnownPath, token, label);
|
|
1475
|
+
return token;
|
|
1476
|
+
} catch (error) {
|
|
1477
|
+
logForDebugging(`Failed to read ${label} from file descriptor ${fd}: ${errorMessage(error)}`, { level: "error" });
|
|
1478
|
+
const fromFile = readTokenFromWellKnownFile(wellKnownPath, label);
|
|
1479
|
+
setCached(fromFile);
|
|
1480
|
+
return fromFile;
|
|
1481
|
+
}
|
|
1482
|
+
}
|
|
1483
|
+
function getApiKeyFromFileDescriptor() {
|
|
1484
|
+
return getCredentialFromFd({
|
|
1485
|
+
envVar: "CLAUDE_CODE_API_KEY_FILE_DESCRIPTOR",
|
|
1486
|
+
wellKnownPath: CCR_API_KEY_PATH,
|
|
1487
|
+
label: "API key",
|
|
1488
|
+
getCached: getApiKeyFromFd,
|
|
1489
|
+
setCached: setApiKeyFromFd
|
|
1490
|
+
});
|
|
1491
|
+
}
|
|
1492
|
+
var CCR_TOKEN_DIR = "/home/claude/.claude/remote", CCR_OAUTH_TOKEN_PATH, CCR_API_KEY_PATH, CCR_SESSION_INGRESS_TOKEN_PATH;
|
|
1493
|
+
var init_authFileDescriptor = __esm(() => {
|
|
1494
|
+
init_state();
|
|
1495
|
+
init_debug();
|
|
1496
|
+
init_envUtils();
|
|
1497
|
+
init_errors();
|
|
1498
|
+
init_fsOperations();
|
|
1499
|
+
CCR_OAUTH_TOKEN_PATH = `${CCR_TOKEN_DIR}/.oauth_token`;
|
|
1500
|
+
CCR_API_KEY_PATH = `${CCR_TOKEN_DIR}/.api_key`;
|
|
1501
|
+
CCR_SESSION_INGRESS_TOKEN_PATH = `${CCR_TOKEN_DIR}/.session_ingress_token`;
|
|
833
1502
|
});
|
|
834
1503
|
|
|
835
|
-
//
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
1504
|
+
// src/utils/secureStorage/macOsKeychainHelpers.ts
|
|
1505
|
+
import { createHash } from "crypto";
|
|
1506
|
+
import { userInfo } from "os";
|
|
1507
|
+
function getMacOsKeychainStorageServiceName(serviceSuffix = "") {
|
|
1508
|
+
const configDir = getClaudeConfigHomeDir();
|
|
1509
|
+
const isDefaultDir = !process.env.CLAUDE_CONFIG_DIR;
|
|
1510
|
+
const dirHash = isDefaultDir ? "" : `-${createHash("sha256").update(configDir).digest("hex").substring(0, 8)}`;
|
|
1511
|
+
return `Claude Code${getApiConfigSuffix()}${serviceSuffix}${dirHash}`;
|
|
1512
|
+
}
|
|
1513
|
+
function getUsername() {
|
|
1514
|
+
try {
|
|
1515
|
+
return process.env.USER || userInfo().username;
|
|
1516
|
+
} catch {
|
|
1517
|
+
return "claude-code-user";
|
|
1518
|
+
}
|
|
1519
|
+
}
|
|
1520
|
+
function clearKeychainCache() {
|
|
1521
|
+
keychainCacheState.cache = { data: null, cachedAt: 0 };
|
|
1522
|
+
keychainCacheState.generation++;
|
|
1523
|
+
keychainCacheState.readInFlight = null;
|
|
1524
|
+
}
|
|
1525
|
+
function primeKeychainCacheFromPrefetch(stdout) {
|
|
1526
|
+
if (keychainCacheState.cache.cachedAt !== 0)
|
|
1527
|
+
return;
|
|
1528
|
+
let data = null;
|
|
1529
|
+
if (stdout) {
|
|
1530
|
+
try {
|
|
1531
|
+
data = JSON.parse(stdout);
|
|
1532
|
+
} catch {
|
|
1533
|
+
return;
|
|
843
1534
|
}
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
1535
|
+
}
|
|
1536
|
+
keychainCacheState.cache = { data, cachedAt: Date.now() };
|
|
1537
|
+
}
|
|
1538
|
+
var CREDENTIALS_SERVICE_SUFFIX = "-credentials", KEYCHAIN_CACHE_TTL_MS = 30000, keychainCacheState;
|
|
1539
|
+
var init_macOsKeychainHelpers = __esm(() => {
|
|
1540
|
+
init_apiConfig();
|
|
1541
|
+
init_envUtils();
|
|
1542
|
+
keychainCacheState = {
|
|
1543
|
+
cache: { data: null, cachedAt: 0 },
|
|
1544
|
+
generation: 0,
|
|
1545
|
+
readInFlight: null
|
|
1546
|
+
};
|
|
1547
|
+
});
|
|
1548
|
+
|
|
1549
|
+
// src/utils/authPortable.ts
|
|
1550
|
+
async function maybeRemoveApiKeyFromMacOSKeychainThrows() {
|
|
1551
|
+
if (process.platform === "darwin") {
|
|
1552
|
+
const storageServiceName = getMacOsKeychainStorageServiceName();
|
|
1553
|
+
const result = await execa(`security delete-generic-password -a $USER -s "${storageServiceName}"`, { shell: true, reject: false });
|
|
1554
|
+
if (result.exitCode !== 0) {
|
|
1555
|
+
throw new Error("Failed to delete keychain entry");
|
|
850
1556
|
}
|
|
851
|
-
|
|
852
|
-
});
|
|
1557
|
+
}
|
|
853
1558
|
}
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
1559
|
+
function normalizeApiKeyForConfig(apiKey) {
|
|
1560
|
+
return apiKey.slice(-20);
|
|
1561
|
+
}
|
|
1562
|
+
var init_authPortable = __esm(() => {
|
|
1563
|
+
init_execa();
|
|
1564
|
+
init_macOsKeychainHelpers();
|
|
859
1565
|
});
|
|
860
1566
|
|
|
861
|
-
//
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
1567
|
+
// src/utils/secureStorage/keychainPrefetch.ts
|
|
1568
|
+
import { execFile } from "child_process";
|
|
1569
|
+
function spawnSecurity(serviceName) {
|
|
1570
|
+
return new Promise((resolve) => {
|
|
1571
|
+
execFile("security", ["find-generic-password", "-a", getUsername(), "-w", "-s", serviceName], { encoding: "utf-8", timeout: KEYCHAIN_PREFETCH_TIMEOUT_MS }, (err, stdout) => {
|
|
1572
|
+
resolve({
|
|
1573
|
+
stdout: err ? null : stdout?.trim() || null,
|
|
1574
|
+
timedOut: Boolean(err && "killed" in err && err.killed)
|
|
1575
|
+
});
|
|
1576
|
+
});
|
|
868
1577
|
});
|
|
869
|
-
|
|
1578
|
+
}
|
|
1579
|
+
function startKeychainPrefetch() {
|
|
1580
|
+
if (process.platform !== "darwin" || prefetchPromise || isBareMode())
|
|
1581
|
+
return;
|
|
1582
|
+
const oauthSpawn = spawnSecurity(getMacOsKeychainStorageServiceName(CREDENTIALS_SERVICE_SUFFIX));
|
|
1583
|
+
const legacySpawn = spawnSecurity(getMacOsKeychainStorageServiceName());
|
|
1584
|
+
prefetchPromise = Promise.all([oauthSpawn, legacySpawn]).then(([oauth, legacy]) => {
|
|
1585
|
+
if (!oauth.timedOut)
|
|
1586
|
+
primeKeychainCacheFromPrefetch(oauth.stdout);
|
|
1587
|
+
if (!legacy.timedOut)
|
|
1588
|
+
legacyApiKeyPrefetch = { stdout: legacy.stdout };
|
|
1589
|
+
});
|
|
1590
|
+
}
|
|
1591
|
+
async function ensureKeychainPrefetchCompleted() {
|
|
1592
|
+
if (prefetchPromise)
|
|
1593
|
+
await prefetchPromise;
|
|
1594
|
+
}
|
|
1595
|
+
function getLegacyApiKeyPrefetchResult() {
|
|
1596
|
+
return legacyApiKeyPrefetch;
|
|
1597
|
+
}
|
|
1598
|
+
function clearLegacyApiKeyPrefetch() {
|
|
1599
|
+
legacyApiKeyPrefetch = null;
|
|
1600
|
+
}
|
|
1601
|
+
var KEYCHAIN_PREFETCH_TIMEOUT_MS = 1e4, legacyApiKeyPrefetch = null, prefetchPromise = null;
|
|
1602
|
+
var init_keychainPrefetch = __esm(() => {
|
|
1603
|
+
init_envUtils();
|
|
1604
|
+
init_macOsKeychainHelpers();
|
|
870
1605
|
});
|
|
871
1606
|
|
|
872
1607
|
// src/utils/fileRead.ts
|
|
@@ -2382,7 +3117,7 @@ var init_permissionRuleParser = __esm(() => {
|
|
|
2382
3117
|
function escapeRegExp(str) {
|
|
2383
3118
|
return str.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
2384
3119
|
}
|
|
2385
|
-
function
|
|
3120
|
+
function capitalize2(str) {
|
|
2386
3121
|
return str.charAt(0).toUpperCase() + str.slice(1);
|
|
2387
3122
|
}
|
|
2388
3123
|
function plural(n, word, pluralWord = word + "s") {
|
|
@@ -2636,7 +3371,7 @@ function validatePermissionRule(rule) {
|
|
|
2636
3371
|
return {
|
|
2637
3372
|
valid: false,
|
|
2638
3373
|
error: "Tool names must start with uppercase",
|
|
2639
|
-
suggestion: `Use "${
|
|
3374
|
+
suggestion: `Use "${capitalize2(String(parsed.toolName))}"`
|
|
2640
3375
|
};
|
|
2641
3376
|
}
|
|
2642
3377
|
const customValidation = getCustomValidation(parsed.toolName);
|
|
@@ -5819,4 +6554,4 @@ var init_config = __esm(() => {
|
|
|
5819
6554
|
_wouldLoseAuthStateForTesting = wouldLoseAuthState;
|
|
5820
6555
|
});
|
|
5821
6556
|
|
|
5822
|
-
export { logEventTo1P, shutdown1PEventLogging, init_firstPartyEventLogger, isEqual_default, init_isEqual,
|
|
6557
|
+
export { logEventTo1P, shutdown1PEventLogging, init_firstPartyEventLogger, isPlainObject_default, init_isPlainObject, capitalize_default, init_capitalize, last_default, init_last, isEqual_default, init_isEqual, mapValues_default, init_mapValues, omit_default, init_omit, pickBy_default, init_pickBy, partition_default, init_partition, reject_default, init_reject, sample_default, init_sample, setWith_default, init_setWith, uniqBy_default, init_uniqBy, zipObject_default, init_zipObject, init_lodash, detectEncodingForResolvedPath, readFileSyncWithMetadata, readFileSync, init_fileRead, pathExists, MAX_OUTPUT_SIZE, readFileSafe, getFileModificationTime, getFileModificationTimeAsync, writeTextContent, detectFileEncoding, detectLineEndings, convertLeadingTabsToSpaces, getDisplayPath, findSimilarFile, FILE_NOT_FOUND_CWD_NOTE, suggestPathUnderCwd, isCompactLinePrefixEnabled, addLineNumbers, stripLineNumberPrefix, isDirEmpty, readFileSyncCached, getDesktopPath, isFileWithinReadSizeLimit, normalizePathForComparison, pathsEqual, init_file, isPathGitignored, init_gitignore, SETTING_SOURCES, getSettingSourceName, getSourceDisplayName, getSettingSourceDisplayNameLowercase, getSettingSourceDisplayNameCapitalized, parseSettingSourcesFlag, getEnabledSettingSources, isSettingSourceEnabled, SOURCES, init_constants, consumeInternalWrite, clearInternalWrites, init_internalWrites, getManagedFilePath, getManagedSettingsDropInDir, init_managedPath, BLACK_CIRCLE, BULLET_OPERATOR, TEARDROP_ASTERISK, UP_ARROW, DOWN_ARROW, LIGHTNING_BOLT, EFFORT_LOW, EFFORT_MEDIUM, EFFORT_HIGH, EFFORT_MAX, PLAY_ICON, PAUSE_ICON, REFRESH_ARROW, DIAMOND_OPEN, DIAMOND_FILLED, REFERENCE_MARK, FLAG_ICON, BLOCKQUOTE_BAR, init_figures, EXTERNAL_PERMISSION_MODES, PERMISSION_MODES, init_permissions, permissionModeSchema, externalPermissionModeSchema, isExternalPermissionMode, toExternalPermissionMode, permissionModeFromString, permissionModeTitle, isDefaultMode, permissionModeSymbol, getModeColor, init_PermissionMode, HOOK_EVENTS, init_agentSdkTypes, DEFAULT_HOOK_SHELL, init_shellProvider, HooksSchema, ALLOWED_OFFICIAL_MARKETPLACE_NAMES, isMarketplaceAutoUpdate, validateOfficialNameSource, PluginHooksSchema, LspServerConfigSchema, PluginManifestSchema, isLocalPluginSource, isLocalMarketplaceSource, PluginMarketplaceEntrySchema, PluginMarketplaceSchema, PluginIdSchema, InstalledPluginsFileSchemaV1, InstalledPluginsFileSchemaV2, KnownMarketplacesFileSchema, init_schemas, mcpInfoFromString, getMcpPrefix, buildMcpToolName, getToolNameForPermissionCheck, getMcpDisplayName, extractMcpToolDisplayName, init_mcpStringUtils, AGENT_TOOL_NAME, LEGACY_AGENT_TOOL_NAME, VERIFICATION_AGENT_TYPE, ONE_SHOT_BUILTIN_AGENT_TYPES, init_constants2 as init_constants1, TASK_OUTPUT_TOOL_NAME, init_constants3 as init_constants2, TASK_STOP_TOOL_NAME, DESCRIPTION, init_prompt, BRIEF_TOOL_NAME, LEGACY_BRIEF_TOOL_NAME, DESCRIPTION2 as DESCRIPTION1, BRIEF_TOOL_PROMPT, exports_prompt, init_prompt2 as init_prompt1, normalizeLegacyToolName, getLegacyToolNames, permissionRuleValueFromString, permissionRuleValueToString, init_permissionRuleParser, escapeRegExp, capitalize2 as capitalize, plural, firstLineOf, countCharInString, normalizeFullWidthDigits, normalizeFullWidthSpace, safeJoinLines, EndTruncatingAccumulator, truncateToLines, init_stringUtils, CUSTOMIZATION_SURFACES, SettingsSchema, isMcpServerNameEntry, isMcpServerCommandEntry, isMcpServerUrlEntry, init_types2 as init_types, validateSettingsFileContent, init_validation, startMdmRawRead, init_rawRead, ensureMdmSettingsLoaded, getMdmSettings, getHkcuSettings, setMdmSettingsCache, refreshMdmSettings, init_settings, getManagedFileSettingsPresence, parseSettingsFile, getSettingsRootPathForSource, getSettingsFilePathForSource, getRelativeSettingsFilePathForSource, getSettingsForSource, getPolicySettingsOrigin, updateSettingsForSource, getManagedSettingsKeysForLogging, getInitialSettings, getSettings_DEPRECATED, getSettingsWithSources, getSettingsWithErrors, hasSkipDangerousModePermissionPrompt, hasAutoModeOptIn, rawSettingsContainsKey, init_settings2 as init_settings1, isAutoMemoryEnabled, isExtractModeActive, getMemoryBaseDir, hasAutoMemPathOverride, getAutoMemPath, getAutoMemEntrypoint, isAutoMemPath, init_paths, NOTIFICATION_CHANNELS, EDITOR_MODES, TEAMMATE_MODES, init_configConstants, DEFAULT_GLOBAL_CONFIG, GLOBAL_CONFIG_KEYS, isGlobalConfigKey, PROJECT_CONFIG_KEYS, resetTrustDialogAcceptedCacheForTesting, checkHasTrustDialogAccepted, isPathTrusted, isProjectConfigKey, saveGlobalConfig, getGlobalConfigWriteCount, CONFIG_WRITE_DISPLAY_THRESHOLD, getGlobalConfig, getRemoteControlAtStartup, getCustomApiKeyStatus, enableConfigs, getProjectPathForConfig, getCurrentProjectConfig, saveCurrentProjectConfig, isAutoUpdaterDisabled, shouldSkipPluginAutoupdate, formatAutoUpdaterDisabledReason, getAutoUpdaterDisabledReason, getOrCreateUserID, recordFirstStartTime, getMemoryPath, getManagedClaudeRulesDir, getUserClaudeRulesDir, _getConfigForTesting, _wouldLoseAuthStateForTesting, _setGlobalConfigCacheForTesting, init_config, CCR_SESSION_INGRESS_TOKEN_PATH, maybePersistTokenForSubprocesses, readTokenFromWellKnownFile, init_authFileDescriptor, CREDENTIALS_SERVICE_SUFFIX, getMacOsKeychainStorageServiceName, getUsername, KEYCHAIN_CACHE_TTL_MS, keychainCacheState, clearKeychainCache, init_macOsKeychainHelpers, normalizeApiKeyForConfig, init_authPortable, startKeychainPrefetch, ensureKeychainPrefetchCompleted, init_keychainPrefetch, getAuthTokenSource, getAnthropicApiKey, getAnthropicApiKeyWithSource, getConfiguredApiKeyHelper, getApiKeyHelperElapsedMs, getApiKeyFromApiKeyHelper, clearApiKeyHelperCache, prefetchApiKeyFromApiKeyHelperIfSafe, getApiKeyFromConfigOrMacOSKeychain, removeApiKey, is1PApiCustomer, isUsing3PServices, getAccountInformation, init_auth, getClaudeCodeUserAgent, init_userAgent, WORKLOAD_CRON, getWorkload, runWithWorkload, init_workloadContext, getUserAgent, getMCPUserAgent, getWebFetchUserAgent, getAuthHeaders, init_http, initUser, resetUserCache, getGitEmail, init_user, onGrowthBookRefresh, hasGrowthBookEnvOverride, initializeGrowthBook, getFeatureValue_CACHED_MAY_BE_STALE, getFeatureValue_CACHED_WITH_REFRESH, checkStatsigFeatureGate_CACHED_MAY_BE_STALE, checkSecurityRestrictionGate, checkGate_CACHED_OR_BLOCKING, refreshGrowthBookAfterAuthChange, resetGrowthBook, getDynamicConfig_BLOCKS_ON_INIT, getDynamicConfig_CACHED_MAY_BE_STALE, init_growthbook };
|