@opencode/core 0.0.0-dev-19440 → 0.0.0-dev-19442
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/account/sql.js +1 -1
- package/dist/agent.js +75 -75
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{file-wpm2rk0p.js → formatter-07770t2t.js} +4 -4
- package/dist/chunks/{file-z2fmw18c.js → formatter-07g5132y.js} +18 -18
- package/dist/chunks/{file-jzzy94zk.js → formatter-0996nyz8.js} +9 -9
- package/dist/chunks/{file-0ccn345w.js → formatter-0gegznas.js} +20 -20
- package/dist/chunks/{file-0gb42mpy.js → formatter-0hc60vqt.js} +6 -6
- package/dist/chunks/{file-7dqw4kz8.js → formatter-0jwsre1p.js} +5 -5
- package/dist/chunks/formatter-0mesazry.js +4 -0
- package/dist/chunks/{file-0paq2nw3.js → formatter-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-0q0f95c6.js → formatter-0q0f95c6.js} +1 -1
- package/dist/chunks/{file-39ydjj0q.js → formatter-0t7gmehk.js} +12 -12
- package/dist/chunks/{file-hqt9f5hj.js → formatter-0z4ganrk.js} +163 -163
- package/dist/chunks/{file-fmhfve32.js → formatter-14s5dwzm.js} +19 -19
- package/dist/chunks/{file-qmj11y7g.js → formatter-17exey95.js} +22 -22
- package/dist/chunks/{file-nxer0yad.js → formatter-1acjjqhc.js} +4 -4
- package/dist/chunks/{file-1dazxqgg.js → formatter-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-qz8n5g0w.js → formatter-1e1eh5br.js} +11 -11
- package/dist/chunks/{file-2jhvch9f.js → formatter-1fa9ans5.js} +1 -1
- package/dist/chunks/{file-zw0jxv6w.js → formatter-1g7m4r41.js} +4 -4
- package/dist/chunks/{file-4zqvh54v.js → formatter-1ga0n8k4.js} +50 -50
- package/dist/chunks/{file-1x11rq2a.js → formatter-1x11rq2a.js} +1 -1
- package/dist/chunks/{file-56gdpj1q.js → formatter-1ygqh575.js} +9 -9
- package/dist/chunks/{file-6cxvyk5r.js → formatter-1z802faq.js} +5 -5
- package/dist/chunks/{file-21r38tys.js → formatter-21r38tys.js} +1 -1
- package/dist/chunks/{file-kvext5yd.js → formatter-22mjh9ty.js} +78 -78
- package/dist/chunks/{file-2402vzrj.js → formatter-2402vzrj.js} +1 -1
- package/dist/chunks/{file-j1dc1ckq.js → formatter-24g3tesp.js} +26 -26
- package/dist/chunks/{file-heer32bb.js → formatter-27cvmr0a.js} +7 -7
- package/dist/chunks/{file-2a5m3afh.js → formatter-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-d1jmswd2.js → formatter-2ee8pmxs.js} +5 -5
- package/dist/chunks/{file-nyj7fnw9.js → formatter-2fepy6kp.js} +29 -29
- package/dist/chunks/{file-jzd3sdz4.js → formatter-2j72yz8b.js} +13 -13
- package/dist/chunks/{file-z0wr5a8a.js → formatter-2jxkcfxh.js} +28 -28
- package/dist/chunks/formatter-2ma3xmgy.js +247 -0
- package/dist/chunks/{file-8tf464ev.js → formatter-2p4d45ss.js} +35 -35
- package/dist/chunks/{file-84k0ms65.js → formatter-2qbzv385.js} +13 -13
- package/dist/chunks/{file-m2h2dh4q.js → formatter-2xp9zh4w.js} +15 -15
- package/dist/chunks/{file-j1k07czg.js → formatter-2ye3w4c6.js} +5 -5
- package/dist/chunks/{file-nnsfn4jb.js → formatter-35ybfb31.js} +25 -25
- package/dist/chunks/{file-rmnfqzky.js → formatter-3a3nm9ck.js} +27 -27
- package/dist/chunks/{file-gdvy8fx6.js → formatter-3fc6dm20.js} +4 -4
- package/dist/chunks/{file-3hepkmqq.js → formatter-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-e6hd9jay.js → formatter-3k6sfp50.js} +6 -6
- package/dist/chunks/{file-3smtnn6g.js → formatter-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-9khdf5s3.js → formatter-3sztcym1.js} +11 -11
- package/dist/chunks/{file-3tvqynh2.js → formatter-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-ma9yb35x.js → formatter-3x8gcmrs.js} +3 -3
- package/dist/chunks/{file-7sqxeqwy.js → formatter-3ythc6yv.js} +4 -4
- package/dist/chunks/{file-40bxqg89.js → formatter-41f61ev5.js} +11 -11
- package/dist/chunks/{file-01x5ayvb.js → formatter-4a4wm3fd.js} +10 -10
- package/dist/chunks/{file-yczh3409.js → formatter-4gyv9dcq.js} +27 -27
- package/dist/chunks/{file-4qk82zqm.js → formatter-4k602d3g.js} +14 -14
- package/dist/chunks/{file-5ahbvy81.js → formatter-4nc4g32g.js} +10 -10
- package/dist/chunks/{file-bsre5g92.js → formatter-4r64zwvk.js} +17 -17
- package/dist/chunks/{file-1kz1ep11.js → formatter-51pnjp32.js} +6 -6
- package/dist/chunks/{file-bez9jb7v.js → formatter-5686k794.js} +7 -7
- package/dist/chunks/{file-8ygr8afe.js → formatter-5730y88m.js} +9 -9
- package/dist/chunks/{file-5daktx2q.js → formatter-5daktx2q.js} +1 -1
- package/dist/chunks/{file-bnd8m4xr.js → formatter-5mpmxcn3.js} +9 -9
- package/dist/chunks/{file-5t3nmthw.js → formatter-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-7c6e5y81.js → formatter-5zn8m59m.js} +22 -22
- package/dist/chunks/{file-34y33xw8.js → formatter-63bkm2xc.js} +37 -37
- package/dist/chunks/{file-669tq793.js → formatter-669tq793.js} +1 -1
- package/dist/chunks/{file-a1ttd06w.js → formatter-66gmdr70.js} +24 -24
- package/dist/chunks/{file-v84ecj13.js → formatter-68mqsjbx.js} +22 -22
- package/dist/chunks/{file-6d9mz4vp.js → formatter-6ck2t1rv.js} +9 -9
- package/dist/chunks/{file-nfnqdzmc.js → formatter-6jex2xta.js} +5 -5
- package/dist/chunks/{file-6msgmcgs.js → formatter-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-71q4at8m.js → formatter-71q4at8m.js} +1 -1
- package/dist/chunks/{file-qr42g2ex.js → formatter-743vzpe1.js} +12 -12
- package/dist/chunks/{file-v9yqefes.js → formatter-76n9k95k.js} +28 -28
- package/dist/chunks/{file-zfznrpx1.js → formatter-77nagcj1.js} +4 -4
- package/dist/chunks/{file-3w0fmcng.js → formatter-78v47nsk.js} +5 -5
- package/dist/chunks/{file-rq6a0dg0.js → formatter-79renbpq.js} +4 -4
- package/dist/chunks/{file-7bmhse3q.js → formatter-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-p6mw6jzc.js → formatter-7s02b6me.js} +1 -1
- package/dist/chunks/{file-cw20kccn.js → formatter-7stj2g6t.js} +9 -9
- package/dist/chunks/{file-pydmrwq0.js → formatter-7zph4ccs.js} +24 -24
- package/dist/chunks/{file-0a423ajn.js → formatter-8014eh36.js} +43 -43
- package/dist/chunks/{file-fpm9cd7c.js → formatter-83jsjxge.js} +35 -35
- package/dist/chunks/{file-41nzdzyt.js → formatter-844q5q2y.js} +10 -10
- package/dist/chunks/{file-z3asdwpy.js → formatter-86cj3c8h.js} +22 -22
- package/dist/chunks/{file-tcezcvh9.js → formatter-89znhe33.js} +4 -4
- package/dist/chunks/{file-stntv2hh.js → formatter-8d321qp1.js} +27 -27
- package/dist/chunks/{file-8d7r5vzw.js → formatter-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-avp3hhf2.js → formatter-8gbdh1kt.js} +24 -24
- package/dist/chunks/{file-8p4f9s12.js → formatter-8p4f9s12.js} +2 -2
- package/dist/chunks/{file-qvb3nf84.js → formatter-8ppq07x6.js} +8 -8
- package/dist/chunks/{file-pfjkw3sm.js → formatter-8zy8t8gf.js} +61 -61
- package/dist/chunks/{file-c0q0hmxn.js → formatter-9cetqcc0.js} +6 -6
- package/dist/chunks/{file-eg6tdpbh.js → formatter-9e77hs8e.js} +21 -21
- package/dist/chunks/{file-kt5w8vxh.js → formatter-9fwp41vh.js} +10 -10
- package/dist/chunks/{file-aqnnbpn3.js → formatter-9tjnx8ba.js} +7 -7
- package/dist/chunks/{file-6tp3trja.js → formatter-9v9evep5.js} +18 -18
- package/dist/chunks/{file-b3yz7px1.js → formatter-9yp3h48g.js} +27 -27
- package/dist/chunks/{file-a1bz86dw.js → formatter-a1bz86dw.js} +3 -3
- package/dist/chunks/{file-aaet6srn.js → formatter-aaet6srn.js} +2 -2
- package/dist/chunks/{file-8st6sg7d.js → formatter-acsnj85b.js} +6 -6
- package/dist/chunks/{file-54xwtjdq.js → formatter-aefq2yfw.js} +45 -45
- package/dist/chunks/{file-85y38j38.js → formatter-amm4215g.js} +13 -13
- package/dist/chunks/{file-dwvzh0g2.js → formatter-b0awdqvx.js} +9 -9
- package/dist/chunks/{file-h7nxn43q.js → formatter-b42np7pe.js} +30 -30
- package/dist/chunks/{file-b6gygkdw.js → formatter-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-tnjzq8hh.js → formatter-b6r1f5rm.js} +22 -22
- package/dist/chunks/{file-4k1x48fq.js → formatter-b95h3j77.js} +14 -14
- package/dist/chunks/{file-epd1fg1b.js → formatter-bajakh74.js} +4 -4
- package/dist/chunks/{file-sfegc1hb.js → formatter-bfajmyfy.js} +3 -3
- package/dist/chunks/{file-6z8rkrt2.js → formatter-bmb9q18h.js} +24 -24
- package/dist/chunks/{file-3e0re2er.js → formatter-bwatdc02.js} +14 -14
- package/dist/chunks/{file-hjkgy200.js → formatter-cfdfryy5.js} +25 -25
- package/dist/chunks/{file-cfpkc3c9.js → formatter-cfpkc3c9.js} +2 -2
- package/dist/chunks/{file-10m077g0.js → formatter-cj7ef3kd.js} +6 -6
- package/dist/chunks/{file-vpsn8azz.js → formatter-cn9ts38g.js} +20 -20
- package/dist/chunks/{file-hkfg6fzm.js → formatter-cr07tj7n.js} +5 -5
- package/dist/chunks/{file-tmrp3428.js → formatter-cyqm2h3q.js} +4 -4
- package/dist/chunks/{file-ts8g87kd.js → formatter-d07z2d7y.js} +15 -15
- package/dist/chunks/{file-ct16t8sn.js → formatter-d8sdrn5j.js} +12 -12
- package/dist/chunks/{file-caevyejh.js → formatter-d8vv29gg.js} +24 -24
- package/dist/chunks/{file-2a02pqey.js → formatter-dg40m71b.js} +26 -26
- package/dist/chunks/{file-snsk04x3.js → formatter-dge3x2p3.js} +17 -17
- package/dist/chunks/{file-29vcxy2s.js → formatter-dghgjkkt.js} +4 -4
- package/dist/chunks/{file-a12ktaww.js → formatter-dkfqzx94.js} +9 -9
- package/dist/chunks/{file-cqf55qpv.js → formatter-dr3wacvp.js} +13 -13
- package/dist/chunks/{file-yhks5pv3.js → formatter-dt849bc4.js} +6 -6
- package/dist/chunks/{file-tpw6cwsb.js → formatter-dv1qgsyq.js} +8 -8
- package/dist/chunks/{file-bz5k20yh.js → formatter-ebk5sng0.js} +7 -7
- package/dist/chunks/{file-9ev7wkx2.js → formatter-eecr541e.js} +5 -5
- package/dist/chunks/{file-cef1ew0c.js → formatter-efcedsnh.js} +14 -14
- package/dist/chunks/{file-0r7yqxbf.js → formatter-eq23s0y6.js} +5 -5
- package/dist/chunks/{file-etq0c3wd.js → formatter-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-xxsgs27q.js → formatter-f2rbzmx2.js} +11 -11
- package/dist/chunks/{file-f828m53h.js → formatter-f828m53h.js} +2 -2
- package/dist/chunks/{file-51b1p1nf.js → formatter-fban3jjy.js} +10 -10
- package/dist/chunks/{file-b27vhd2z.js → formatter-fdv30zvt.js} +7 -7
- package/dist/chunks/{file-84zt2byv.js → formatter-fhs97t90.js} +9 -9
- package/dist/chunks/{file-2w8gt3dc.js → formatter-fmmn8x74.js} +3 -3
- package/dist/chunks/{file-fxbjtjnd.js → formatter-fxbjtjnd.js} +1 -1
- package/dist/chunks/{file-56pp0xdw.js → formatter-fy5dbkry.js} +17 -17
- package/dist/chunks/{file-g1sb636y.js → formatter-g2y161wv.js} +8 -8
- package/dist/chunks/{file-n032fvft.js → formatter-g97k7hqe.js} +6 -6
- package/dist/chunks/{file-gd4qta3r.js → formatter-gd4qta3r.js} +1 -1
- package/dist/chunks/formatter-gkc9xmpb.js +22 -0
- package/dist/chunks/{file-gv6a8nnw.js → formatter-gv6a8nnw.js} +2 -2
- package/dist/chunks/{file-5wd13403.js → formatter-gwf61436.js} +27 -27
- package/dist/chunks/{file-f0w7qnfr.js → formatter-gxr5v7wk.js} +12 -12
- package/dist/chunks/{file-1qvh4tdd.js → formatter-gzbxtshv.js} +85 -85
- package/dist/chunks/{file-h03wrkyp.js → formatter-h03wrkyp.js} +2 -2
- package/dist/chunks/{file-h6vf3j39.js → formatter-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-fz45jgbm.js → formatter-hdgeqy3n.js} +25 -25
- package/dist/chunks/{file-hgyq7eg6.js → formatter-hef2fv9c.js} +17 -17
- package/dist/chunks/{file-kaaek4yc.js → formatter-hf8cnsjw.js} +1 -1
- package/dist/chunks/{file-zx6x6k27.js → formatter-hp5e6fgb.js} +13 -13
- package/dist/chunks/{file-tjr0drtg.js → formatter-hrmdcqyf.js} +14 -14
- package/dist/chunks/{file-v6krneed.js → formatter-hv4dbmz4.js} +2 -2
- package/dist/chunks/{file-j56e64zr.js → formatter-j56e64zr.js} +1 -1
- package/dist/chunks/{file-qknber6z.js → formatter-j5hcmc17.js} +5 -5
- package/dist/chunks/{file-r0q5qwf7.js → formatter-j6qbcxka.js} +11 -11
- package/dist/chunks/{file-m8nf6fh5.js → formatter-jbtsx043.js} +34 -34
- package/dist/chunks/{file-etq9z835.js → formatter-jfkc9b5n.js} +2 -2
- package/dist/chunks/{file-8b4f4643.js → formatter-jm6wy66x.js} +297 -297
- package/dist/chunks/{file-r6r1pz2h.js → formatter-jnjr1yzt.js} +22 -22
- package/dist/chunks/{file-p2vn5raz.js → formatter-jtbqtm0k.js} +7 -7
- package/dist/chunks/{file-1zpv7ff7.js → formatter-kfw23kb1.js} +36 -36
- package/dist/chunks/{file-kg06axw8.js → formatter-kg06axw8.js} +1 -1
- package/dist/chunks/{file-2dwxz9nb.js → formatter-kgwny488.js} +1 -1
- package/dist/chunks/{file-xhhb3q2x.js → formatter-knaweb83.js} +17 -17
- package/dist/chunks/{file-5t76y6t3.js → formatter-kq1kcxwx.js} +52 -52
- package/dist/chunks/{file-31a64gx3.js → formatter-kwk5x0cs.js} +46 -46
- package/dist/chunks/{file-gz2y2193.js → formatter-kyrbgmgz.js} +2 -2
- package/dist/chunks/{file-n8hp42zk.js → formatter-m31d5xjk.js} +26 -26
- package/dist/chunks/{file-6kaqw02d.js → formatter-m3ts4v0j.js} +10 -10
- package/dist/chunks/{file-m9w0rfyh.js → formatter-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-j028xdjb.js → formatter-mhkvc446.js} +3 -3
- package/dist/chunks/{file-zr6kk9a2.js → formatter-mjxbdjmk.js} +4 -4
- package/dist/chunks/{file-qj8eh1ht.js → formatter-mjymc32g.js} +4 -4
- package/dist/chunks/{file-mkcjrzeh.js → formatter-mkcjrzeh.js} +1 -1
- package/dist/chunks/{file-4gxnfwsp.js → formatter-mq24hmwn.js} +39 -39
- package/dist/chunks/{file-msq0jde0.js → formatter-msq0jde0.js} +1 -1
- package/dist/chunks/{file-w7q7v3t1.js → formatter-mzzxvvcj.js} +18 -18
- package/dist/chunks/{file-6wbs09gh.js → formatter-n07qvca3.js} +11 -11
- package/dist/chunks/{file-ad4c86qp.js → formatter-n3me71ma.js} +20 -20
- package/dist/chunks/{file-sx8dqv37.js → formatter-n5jxhyy6.js} +24 -24
- package/dist/chunks/{file-g08h86t3.js → formatter-n5zjdcc0.js} +1 -1
- package/dist/chunks/{file-c7vqgbdp.js → formatter-n7epfj1e.js} +6 -6
- package/dist/chunks/{file-qnq5akd1.js → formatter-nbcf758j.js} +16 -16
- package/dist/chunks/{file-75kte9jx.js → formatter-nf8etk0h.js} +16 -16
- package/dist/chunks/{file-p6yzb5ay.js → formatter-nhy5jxhy.js} +4 -4
- package/dist/chunks/{file-11rr1j9z.js → formatter-npfjnfyw.js} +14 -14
- package/dist/chunks/{file-kegs65m0.js → formatter-nt0xtg2m.js} +24 -24
- package/dist/chunks/{file-p33ejz0k.js → formatter-p33ejz0k.js} +1 -1
- package/dist/chunks/{file-1nepfxaz.js → formatter-p688bkc5.js} +9 -9
- package/dist/chunks/{file-e4jhm3j4.js → formatter-pd900gms.js} +24 -24
- package/dist/chunks/{file-s9wkemjm.js → formatter-phasdpa1.js} +11 -11
- package/dist/chunks/{file-bjwja24f.js → formatter-phhzch1s.js} +5 -5
- package/dist/chunks/{file-pjvnvgmy.js → formatter-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-pknna89w.js → formatter-pknna89w.js} +1 -1
- package/dist/chunks/{file-dfe8djrf.js → formatter-pmr4s4kc.js} +4 -4
- package/dist/chunks/{file-8va43b33.js → formatter-pypsba0w.js} +40 -40
- package/dist/chunks/{file-6cwg1y4g.js → formatter-pys7r5ft.js} +20 -20
- package/dist/chunks/{file-shyev4mk.js → formatter-q542kxb4.js} +10 -10
- package/dist/chunks/{file-y2rgym3m.js → formatter-qba6esk9.js} +9 -9
- package/dist/chunks/{file-arsacetm.js → formatter-qfnbjkve.js} +11 -11
- package/dist/chunks/{file-qsdy395h.js → formatter-qsdy395h.js} +1 -1
- package/dist/chunks/{file-5k8nf3y0.js → formatter-qssq5wvh.js} +1 -1
- package/dist/chunks/{file-t1d7geq2.js → formatter-qyj995fp.js} +11 -11
- package/dist/chunks/{file-gsnb458g.js → formatter-r1p8h42q.js} +9 -9
- package/dist/chunks/{file-yddgxcp4.js → formatter-r1wdcgzk.js} +5 -5
- package/dist/chunks/{file-5eep6mvg.js → formatter-r78rzmsw.js} +20 -20
- package/dist/chunks/{file-r9mregkx.js → formatter-r9mregkx.js} +2 -2
- package/dist/chunks/{file-jtkkm2qn.js → formatter-ran1x3dp.js} +20 -20
- package/dist/chunks/{file-0j7s38gp.js → formatter-rbp9pwyt.js} +24 -24
- package/dist/chunks/{file-81swgkk7.js → formatter-rk0rec3h.js} +9 -9
- package/dist/chunks/{file-cxgbd94q.js → formatter-rra39r6b.js} +14 -14
- package/dist/chunks/{file-y3ak5rv5.js → formatter-rtfynwzt.js} +31 -31
- package/dist/chunks/{file-3q86das3.js → formatter-rx5z47at.js} +28 -28
- package/dist/chunks/{file-31k57cnn.js → formatter-syd2ek2m.js} +21 -21
- package/dist/chunks/{file-ah20z6ve.js → formatter-szy17rma.js} +2 -2
- package/dist/chunks/{file-mb0ha6fs.js → formatter-t1bhcjx3.js} +1 -1
- package/dist/chunks/{file-0gdmqesm.js → formatter-t550f9t1.js} +4 -4
- package/dist/chunks/{file-tazgh4e4.js → formatter-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-x4tsw7vb.js → formatter-tcent856.js} +20 -20
- package/dist/chunks/{file-akrnn5pm.js → formatter-tdhe5xga.js} +8 -8
- package/dist/chunks/{file-tdstcens.js → formatter-tdstcens.js} +1 -1
- package/dist/chunks/{file-hgz4ddpy.js → formatter-tjv8j3ty.js} +14 -14
- package/dist/chunks/{file-qbrwkfs8.js → formatter-tkd28t9z.js} +11 -11
- package/dist/chunks/{file-v1d6h3jw.js → formatter-tmr90kjh.js} +11 -11
- package/dist/chunks/{file-1dgfjwgv.js → formatter-tvejcd1c.js} +22 -22
- package/dist/chunks/{file-tvtrv512.js → formatter-tvtrv512.js} +1 -1
- package/dist/chunks/{file-53kvdkfc.js → formatter-tyq6zn03.js} +34 -34
- package/dist/chunks/{file-5tvb4m4x.js → formatter-v6kh18tr.js} +4 -4
- package/dist/chunks/{file-rvyh1tga.js → formatter-v9btxpfp.js} +4 -4
- package/dist/chunks/{file-915t83ht.js → formatter-vak1nh3a.js} +8 -8
- package/dist/chunks/{file-veqvce7d.js → formatter-veqvce7d.js} +1 -1
- package/dist/chunks/{file-apktd9aw.js → formatter-vfbvz2sn.js} +11 -11
- package/dist/chunks/{file-bty97h6q.js → formatter-vh2brwev.js} +11 -11
- package/dist/chunks/{file-9pazyhrx.js → formatter-vjtcf3cg.js} +34 -34
- package/dist/chunks/{file-f40nw3s4.js → formatter-vwc53vnk.js} +13 -13
- package/dist/chunks/{file-vzcthcp8.js → formatter-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-zrd73k1r.js → formatter-w19rq0qz.js} +30 -30
- package/dist/chunks/{file-w3wsvvr9.js → formatter-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-8a2qdx2a.js → formatter-w9nng7hv.js} +6 -6
- package/dist/chunks/{file-wd87259q.js → formatter-wd87259q.js} +1 -1
- package/dist/chunks/{file-81wjxh2j.js → formatter-wf6rfhw9.js} +16 -16
- package/dist/chunks/{file-6brzmxsm.js → formatter-wkkxymjz.js} +18 -18
- package/dist/chunks/{file-z0q4dsav.js → formatter-wndmtb1p.js} +8 -8
- package/dist/chunks/{file-pfq1ksym.js → formatter-wr7ps67x.js} +5 -5
- package/dist/chunks/{file-92e8bh4d.js → formatter-wvx822mk.js} +32 -32
- package/dist/chunks/{file-47rg0syt.js → formatter-x0wwt8km.js} +17 -17
- package/dist/chunks/{file-x1ezjp6w.js → formatter-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-ykhkvv1t.js → formatter-x4j2hrja.js} +6 -6
- package/dist/chunks/{file-ha2h0zjh.js → formatter-x93xphn0.js} +23 -23
- package/dist/chunks/{file-c6090g2y.js → formatter-xejpdtff.js} +41 -41
- package/dist/chunks/{file-m0f43kw2.js → formatter-xh0q5d19.js} +34 -34
- package/dist/chunks/{file-x3n8sh0p.js → formatter-xx38zygr.js} +17 -17
- package/dist/chunks/{file-wepxzacc.js → formatter-xypf59mt.js} +3 -3
- package/dist/chunks/{file-td8ytyxd.js → formatter-xz285jew.js} +8 -8
- package/dist/chunks/{file-s8b69be9.js → formatter-xz9wm8d3.js} +8 -8
- package/dist/chunks/{file-y1fvbwt7.js → formatter-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-efd2tswm.js → formatter-y20mwvjq.js} +4 -4
- package/dist/chunks/{file-pxt4kznk.js → formatter-y6f0p4jw.js} +2 -2
- package/dist/chunks/{file-dpkg50ah.js → formatter-y71avatq.js} +4 -4
- package/dist/chunks/{file-b5v58ftx.js → formatter-ya3pk50a.js} +6 -6
- package/dist/chunks/{file-5zjhyd44.js → formatter-yjgtw0qv.js} +42 -42
- package/dist/chunks/{file-90hac4w7.js → formatter-ymyxwevk.js} +15 -15
- package/dist/chunks/{file-yrhqyw5v.js → formatter-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-yrznvahk.js → formatter-yrznvahk.js} +2 -2
- package/dist/chunks/{file-w3tvvpzb.js → formatter-yvxd7hem.js} +18 -18
- package/dist/chunks/{file-z0bkrqjs.js → formatter-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-gctttn65.js → formatter-z5249fh5.js} +23 -23
- package/dist/chunks/{file-z63w68vq.js → formatter-z63w68vq.js} +2 -2
- package/dist/chunks/{file-j0hyjfyk.js → formatter-z7nszk6n.js} +9 -9
- package/dist/chunks/{file-rj8m8qzm.js → formatter-z8vercf0.js} +7 -7
- package/dist/chunks/{file-jk47m7qg.js → formatter-z9bbcn2s.js} +16 -16
- package/dist/chunks/{file-xw91ethm.js → formatter-zae39fg2.js} +10 -10
- package/dist/chunks/{file-jj3qxa52.js → formatter-zav06jzw.js} +4 -4
- package/dist/chunks/{file-dv8j6wzk.js → formatter-zcjdhcyr.js} +15 -15
- package/dist/chunks/{file-zeh9ct20.js → formatter-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-f7xc3wa1.js → formatter-zetmaeve.js} +24 -24
- package/dist/chunks/{file-jzd96n45.js → formatter-zm73fw82.js} +14 -14
- package/dist/chunks/{file-zr2ceqn5.js → formatter-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-1vtz46z8.js → formatter-zwwmew6a.js} +4 -4
- package/dist/chunks/{file-zxq2ej10.js → formatter-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +79 -79
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +64 -64
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +68 -68
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +216 -216
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +84 -84
- package/dist/generate.js +89 -89
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +3 -3
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +353 -353
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +86 -86
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +126 -126
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +350 -350
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +6 -6
- package/dist/models-dev.js +80 -80
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +76 -76
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +100 -100
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +115 -115
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -78
- package/dist/plugin/provider/opencode.js +79 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +76 -76
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +339 -339
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +94 -94
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +214 -214
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +1 -1
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +121 -121
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +83 -83
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +131 -131
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +86 -86
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +121 -121
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +119 -119
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +206 -206
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +340 -340
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +8 -8
- package/dist/chunks/file-dqjwa780.js +0 -22
- package/dist/chunks/file-qtvmxc8s.js +0 -4
- package/dist/chunks/file-v7es8fey.js +0 -247
- /package/dist/chunks/{file-0qkdqm5v.js → formatter-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-0zkw76rk.js → formatter-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-17cy0kzp.js → formatter-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-1cnp2v09.js → formatter-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-1kg9ymc8.js → formatter-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-2710q6r3.js → formatter-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-2axfhc9x.js → formatter-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-2c3vjs8z.js → formatter-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-359p4xyc.js → formatter-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-3asan66x.js → formatter-3asan66x.js} +0 -0
- /package/dist/chunks/{file-3v8g72cx.js → formatter-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-3w5fmr99.js → formatter-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-3wcehsnq.js → formatter-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-43n2bw4t.js → formatter-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-4knz6hnm.js → formatter-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-4vcrnpx2.js → formatter-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-4y7fprxs.js → formatter-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-53557ph1.js → formatter-53557ph1.js} +0 -0
- /package/dist/chunks/{file-550bvhaj.js → formatter-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-6prwharc.js → formatter-6prwharc.js} +0 -0
- /package/dist/chunks/{file-7akdwqpd.js → formatter-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-7m9af43g.js → formatter-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-822emrt2.js → formatter-822emrt2.js} +0 -0
- /package/dist/chunks/{file-88xbtdfr.js → formatter-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-8n3pysct.js → formatter-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-922hggd3.js → formatter-922hggd3.js} +0 -0
- /package/dist/chunks/{file-9a4afbnw.js → formatter-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-9rqn6x4v.js → formatter-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-a6k6eb26.js → formatter-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-af5trqkr.js → formatter-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-afrmfg78.js → formatter-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-aqzs7mqg.js → formatter-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-atq7p7m5.js → formatter-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-bkyjaxrp.js → formatter-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-bmr6ed5q.js → formatter-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-cf4snx6d.js → formatter-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-cvy3z8tj.js → formatter-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-d9fn303g.js → formatter-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-d9jj8t3e.js → formatter-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-dajrwvna.js → formatter-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-dap0rakb.js → formatter-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-df08tz66.js → formatter-df08tz66.js} +0 -0
- /package/dist/chunks/{file-dy18nga0.js → formatter-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-e5kj55wp.js → formatter-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-e73j6tqm.js → formatter-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-ec1grn59.js → formatter-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-eh3zwz77.js → formatter-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-emrn6kk6.js → formatter-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-f0mxakyp.js → formatter-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-f6n9ztr4.js → formatter-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-faypxj3z.js → formatter-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-fd410y7t.js → formatter-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-fxgpk5d8.js → formatter-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-g4wezp1m.js → formatter-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-g86h250q.js → formatter-g86h250q.js} +0 -0
- /package/dist/chunks/{file-gebd4c9n.js → formatter-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-gftt206x.js → formatter-gftt206x.js} +0 -0
- /package/dist/chunks/{file-hjbc5kem.js → formatter-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-hk9envan.js → formatter-hk9envan.js} +0 -0
- /package/dist/chunks/{file-hrnqkpcd.js → formatter-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{file-j2ntwpah.js → formatter-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-j5zkgpj8.js → formatter-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-jr7sbwjy.js → formatter-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-jwfs4k6c.js → formatter-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-jzg6c2d5.js → formatter-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-mp448xyj.js → formatter-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-msx8hqn2.js → formatter-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-n05xt0ee.js → formatter-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-n3j8tn72.js → formatter-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-njntx4h6.js → formatter-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-paphc93g.js → formatter-paphc93g.js} +0 -0
- /package/dist/chunks/{file-q3sfg36h.js → formatter-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-q74kybfr.js → formatter-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-qaymkmh1.js → formatter-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-qb87gjwd.js → formatter-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-qfa1cgps.js → formatter-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-qrg20bc0.js → formatter-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-rcb2kzg1.js → formatter-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-sdp7kfr6.js → formatter-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-sk3qaz4a.js → formatter-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-ssg3fenm.js → formatter-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-twg0f83k.js → formatter-twg0f83k.js} +0 -0
- /package/dist/chunks/{file-w803qqfp.js → formatter-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-wer8tq1h.js → formatter-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-wtztk69x.js → formatter-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-x0ckcb58.js → formatter-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-x61499pn.js → formatter-x61499pn.js} +0 -0
- /package/dist/chunks/{file-y44na4kk.js → formatter-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-y8cydn3q.js → formatter-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-ygaqb7jw.js → formatter-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-ym463w8f.js → formatter-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-z9919s4g.js → formatter-z9919s4g.js} +0 -0
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./formatter-bfajmyfy.js";
|
|
5
5
|
import {
|
|
6
6
|
Service79,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./formatter-1g7m4r41.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./formatter-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./formatter-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./formatter-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
23
|
+
Event: () => Event19,
|
|
24
|
+
ID: () => ID17,
|
|
25
|
+
Info: () => Info32,
|
|
26
26
|
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service77,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node82
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID17 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
39
|
var Key4 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event19 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info32 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID17,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service77 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service80).db;
|
|
55
55
|
const bus = yield* Service79;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info32({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service77.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info32({
|
|
80
|
+
id: ID17.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node82 = makeGlobalNode({ service: Service77, layer, deps: [node85, node84] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID17, OAuth3, Key4, Value2, Event19, Info32, Service77, node82, exports_credential };
|
|
@@ -0,0 +1,247 @@
|
|
|
1
|
+
import {
|
|
2
|
+
node63
|
|
3
|
+
} from "./formatter-efcedsnh.js";
|
|
4
|
+
import {
|
|
5
|
+
node58
|
|
6
|
+
} from "./formatter-vh2brwev.js";
|
|
7
|
+
import {
|
|
8
|
+
node83
|
|
9
|
+
} from "./formatter-x93xphn0.js";
|
|
10
|
+
import {
|
|
11
|
+
node81
|
|
12
|
+
} from "./formatter-24g3tesp.js";
|
|
13
|
+
import {
|
|
14
|
+
node80
|
|
15
|
+
} from "./formatter-hdgeqy3n.js";
|
|
16
|
+
import {
|
|
17
|
+
node70
|
|
18
|
+
} from "./formatter-d8vv29gg.js";
|
|
19
|
+
import {
|
|
20
|
+
node77,
|
|
21
|
+
boundNode2
|
|
22
|
+
} from "./formatter-fy5dbkry.js";
|
|
23
|
+
import {
|
|
24
|
+
configured4,
|
|
25
|
+
node37
|
|
26
|
+
} from "./formatter-aefq2yfw.js";
|
|
27
|
+
import {
|
|
28
|
+
node74
|
|
29
|
+
} from "./formatter-zetmaeve.js";
|
|
30
|
+
import {
|
|
31
|
+
node16
|
|
32
|
+
} from "./formatter-2qbzv385.js";
|
|
33
|
+
import {
|
|
34
|
+
node67
|
|
35
|
+
} from "./formatter-mzzxvvcj.js";
|
|
36
|
+
import {
|
|
37
|
+
node72
|
|
38
|
+
} from "./formatter-wvx822mk.js";
|
|
39
|
+
import {
|
|
40
|
+
node71
|
|
41
|
+
} from "./formatter-8d321qp1.js";
|
|
42
|
+
import {
|
|
43
|
+
node57
|
|
44
|
+
} from "./formatter-mq24hmwn.js";
|
|
45
|
+
import {
|
|
46
|
+
node43
|
|
47
|
+
} from "./formatter-4r64zwvk.js";
|
|
48
|
+
import {
|
|
49
|
+
node40
|
|
50
|
+
} from "./formatter-qba6esk9.js";
|
|
51
|
+
import {
|
|
52
|
+
node33
|
|
53
|
+
} from "./formatter-1ga0n8k4.js";
|
|
54
|
+
import {
|
|
55
|
+
Service51,
|
|
56
|
+
node55
|
|
57
|
+
} from "./formatter-w9nng7hv.js";
|
|
58
|
+
import {
|
|
59
|
+
node31
|
|
60
|
+
} from "./formatter-2xp9zh4w.js";
|
|
61
|
+
import {
|
|
62
|
+
node64
|
|
63
|
+
} from "./formatter-zwwmew6a.js";
|
|
64
|
+
import {
|
|
65
|
+
node60
|
|
66
|
+
} from "./formatter-rtfynwzt.js";
|
|
67
|
+
import {
|
|
68
|
+
node54
|
|
69
|
+
} from "./formatter-dr3wacvp.js";
|
|
70
|
+
import {
|
|
71
|
+
configured9,
|
|
72
|
+
node46
|
|
73
|
+
} from "./formatter-pd900gms.js";
|
|
74
|
+
import {
|
|
75
|
+
node26
|
|
76
|
+
} from "./formatter-wf6rfhw9.js";
|
|
77
|
+
import {
|
|
78
|
+
node34
|
|
79
|
+
} from "./formatter-tvejcd1c.js";
|
|
80
|
+
import {
|
|
81
|
+
node32
|
|
82
|
+
} from "./formatter-3a3nm9ck.js";
|
|
83
|
+
import {
|
|
84
|
+
node39
|
|
85
|
+
} from "./formatter-8gbdh1kt.js";
|
|
86
|
+
import {
|
|
87
|
+
node23
|
|
88
|
+
} from "./formatter-wkkxymjz.js";
|
|
89
|
+
import {
|
|
90
|
+
node59
|
|
91
|
+
} from "./formatter-86cj3c8h.js";
|
|
92
|
+
import {
|
|
93
|
+
node24
|
|
94
|
+
} from "./formatter-pys7r5ft.js";
|
|
95
|
+
import {
|
|
96
|
+
node22
|
|
97
|
+
} from "./formatter-gzbxtshv.js";
|
|
98
|
+
import {
|
|
99
|
+
node50
|
|
100
|
+
} from "./formatter-cfdfryy5.js";
|
|
101
|
+
import {
|
|
102
|
+
node44
|
|
103
|
+
} from "./formatter-9e77hs8e.js";
|
|
104
|
+
import {
|
|
105
|
+
node41
|
|
106
|
+
} from "./formatter-743vzpe1.js";
|
|
107
|
+
import {
|
|
108
|
+
node35
|
|
109
|
+
} from "./formatter-pypsba0w.js";
|
|
110
|
+
import {
|
|
111
|
+
node47
|
|
112
|
+
} from "./formatter-0gegznas.js";
|
|
113
|
+
import {
|
|
114
|
+
node48
|
|
115
|
+
} from "./formatter-cn9ts38g.js";
|
|
116
|
+
import {
|
|
117
|
+
node65
|
|
118
|
+
} from "./formatter-35ybfb31.js";
|
|
119
|
+
import {
|
|
120
|
+
node49
|
|
121
|
+
} from "./formatter-63bkm2xc.js";
|
|
122
|
+
import {
|
|
123
|
+
node20
|
|
124
|
+
} from "./formatter-rra39r6b.js";
|
|
125
|
+
import {
|
|
126
|
+
node2
|
|
127
|
+
} from "./formatter-jnjr1yzt.js";
|
|
128
|
+
import {
|
|
129
|
+
node19
|
|
130
|
+
} from "./formatter-z9bbcn2s.js";
|
|
131
|
+
import {
|
|
132
|
+
node5,
|
|
133
|
+
bound2
|
|
134
|
+
} from "./formatter-dv1qgsyq.js";
|
|
135
|
+
import {
|
|
136
|
+
node13
|
|
137
|
+
} from "./formatter-nt0xtg2m.js";
|
|
138
|
+
import {
|
|
139
|
+
node14
|
|
140
|
+
} from "./formatter-hef2fv9c.js";
|
|
141
|
+
import {
|
|
142
|
+
node15
|
|
143
|
+
} from "./formatter-knaweb83.js";
|
|
144
|
+
import {
|
|
145
|
+
node4
|
|
146
|
+
} from "./formatter-tyq6zn03.js";
|
|
147
|
+
import {
|
|
148
|
+
node3
|
|
149
|
+
} from "./formatter-4k602d3g.js";
|
|
150
|
+
import {
|
|
151
|
+
node17
|
|
152
|
+
} from "./formatter-jbtsx043.js";
|
|
153
|
+
import {
|
|
154
|
+
node12
|
|
155
|
+
} from "./formatter-7zph4ccs.js";
|
|
156
|
+
import {
|
|
157
|
+
node11
|
|
158
|
+
} from "./formatter-8zy8t8gf.js";
|
|
159
|
+
import {
|
|
160
|
+
__export
|
|
161
|
+
} from "./formatter-9rqn6x4v.js";
|
|
162
|
+
|
|
163
|
+
// src/instance.ts
|
|
164
|
+
var exports_instance = {};
|
|
165
|
+
__export(exports_instance, {
|
|
166
|
+
Instance: () => exports_instance,
|
|
167
|
+
Service: () => Service51,
|
|
168
|
+
graph: () => graph2,
|
|
169
|
+
layer: () => layer2,
|
|
170
|
+
node: () => node55
|
|
171
|
+
});
|
|
172
|
+
import { Effect, Layer } from "effect";
|
|
173
|
+
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
174
|
+
import { Node } from "@opencode/util/effect/app-node";
|
|
175
|
+
var nodes = [
|
|
176
|
+
node77,
|
|
177
|
+
node74,
|
|
178
|
+
node37,
|
|
179
|
+
node63,
|
|
180
|
+
node70,
|
|
181
|
+
node39,
|
|
182
|
+
node47,
|
|
183
|
+
node65,
|
|
184
|
+
node81,
|
|
185
|
+
node80,
|
|
186
|
+
node57,
|
|
187
|
+
node58,
|
|
188
|
+
node20,
|
|
189
|
+
node64,
|
|
190
|
+
node5,
|
|
191
|
+
node4,
|
|
192
|
+
node3,
|
|
193
|
+
node49,
|
|
194
|
+
node72,
|
|
195
|
+
node71,
|
|
196
|
+
node44,
|
|
197
|
+
node17,
|
|
198
|
+
node35,
|
|
199
|
+
node59,
|
|
200
|
+
node26,
|
|
201
|
+
node46,
|
|
202
|
+
node19,
|
|
203
|
+
node16,
|
|
204
|
+
node67,
|
|
205
|
+
node33,
|
|
206
|
+
node60,
|
|
207
|
+
node34,
|
|
208
|
+
node41,
|
|
209
|
+
node40,
|
|
210
|
+
node24,
|
|
211
|
+
node23,
|
|
212
|
+
node31,
|
|
213
|
+
node83,
|
|
214
|
+
node43,
|
|
215
|
+
node15,
|
|
216
|
+
node32,
|
|
217
|
+
node14,
|
|
218
|
+
node54,
|
|
219
|
+
node13,
|
|
220
|
+
node12,
|
|
221
|
+
node22,
|
|
222
|
+
node50,
|
|
223
|
+
node11,
|
|
224
|
+
node48,
|
|
225
|
+
node2
|
|
226
|
+
];
|
|
227
|
+
var graph2 = LayerNode.group(nodes);
|
|
228
|
+
var vanillaReplacements = [
|
|
229
|
+
node37.replace(configured4({ project: false, global: false })),
|
|
230
|
+
node46.replace(configured9({ project: false, global: false }))
|
|
231
|
+
];
|
|
232
|
+
function layer2(ref, options = {}) {
|
|
233
|
+
const startedAt = performance.now();
|
|
234
|
+
const replacements = [
|
|
235
|
+
...options.discovery === false ? vanillaReplacements : [],
|
|
236
|
+
...options.replacements ?? [],
|
|
237
|
+
node77.replace(boundNode2(ref, { discovery: options.discovery })),
|
|
238
|
+
node5.replace(bound2(options.plugins ?? []))
|
|
239
|
+
];
|
|
240
|
+
return LayerNode.compile(graph2, { replacements, shared: Node.tags.values.global }).pipe(Layer.orDie, Layer.tap(() => Effect.logInfo("location services booted", {
|
|
241
|
+
directory: ref.directory,
|
|
242
|
+
workspaceID: ref.workspaceID,
|
|
243
|
+
durationMs: Math.round(performance.now() - startedAt)
|
|
244
|
+
})));
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
export { graph2, layer2, exports_instance };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service72
|
|
9
|
+
} from "./formatter-fy5dbkry.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service70
|
|
12
|
+
} from "./formatter-zetmaeve.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service69
|
|
15
|
+
} from "./formatter-tjv8j3ty.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Entry4
|
|
21
|
+
} from "./formatter-8d321qp1.js";
|
|
22
22
|
import {
|
|
23
23
|
Service56
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./formatter-rtfynwzt.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service16
|
|
27
|
+
} from "./formatter-z9bbcn2s.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./formatter-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
|
-
Input: () =>
|
|
37
|
-
Output: () =>
|
|
38
|
-
Plugin: () =>
|
|
39
|
-
name: () =>
|
|
40
|
-
toModelContent: () =>
|
|
36
|
+
Input: () => Input2,
|
|
37
|
+
Output: () => Output2,
|
|
38
|
+
Plugin: () => Plugin33,
|
|
39
|
+
name: () => name2,
|
|
40
|
+
toModelContent: () => toModelContent2
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import path from "path";
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var name2 = "glob";
|
|
46
|
+
var Input2 = Schema.Struct({
|
|
47
47
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
48
48
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
49
49
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -55,35 +55,35 @@ var Input10 = Schema.Struct({
|
|
|
55
55
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
var
|
|
59
|
-
var
|
|
58
|
+
var Output2 = Schema.Array(Entry4);
|
|
59
|
+
var toModelContent2 = (entries, truncated = false) => {
|
|
60
60
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
61
61
|
if (truncated)
|
|
62
62
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin33 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
70
|
-
const ripgrep = yield*
|
|
71
|
-
const location = yield*
|
|
72
|
-
const access = yield*
|
|
69
|
+
const environment = yield* Service70;
|
|
70
|
+
const ripgrep = yield* Service69;
|
|
71
|
+
const location = yield* Service72;
|
|
72
|
+
const access = yield* Service16;
|
|
73
73
|
const permission = yield* Service56;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name2,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input2,
|
|
79
|
+
output: Output2,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
82
82
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
83
83
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
84
84
|
yield* access.authorizeExternal([target], context);
|
|
85
85
|
yield* permission.assert({
|
|
86
|
-
action:
|
|
86
|
+
action: name2,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -111,18 +111,18 @@ var Plugin11 = {
|
|
|
111
111
|
orElse: () => Effect.fail(new ToolFailure({
|
|
112
112
|
message: `Search timed out after ${DEFAULT_SEARCH_TIMEOUT_MS2 / 1000} seconds. Consider using a more specific path or pattern.`
|
|
113
113
|
}))
|
|
114
|
-
}), Effect.map((result) => result.map((entry) =>
|
|
114
|
+
}), Effect.map((result) => result.map((entry) => Entry4.make({
|
|
115
115
|
...entry,
|
|
116
116
|
path: RelativePath2.make(path.relative(location.directory, path.resolve(root, entry.path)))
|
|
117
117
|
}))));
|
|
118
118
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
119
119
|
}).pipe(Effect.map((result) => ({
|
|
120
120
|
output: result.entries,
|
|
121
|
-
content:
|
|
121
|
+
content: toModelContent2(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
122
122
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
123
123
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
124
124
|
})).pipe(Effect.orDie);
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { name2, Input2, Output2, toModelContent2, Plugin33, exports_glob };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service70,
|
|
6
|
+
node74
|
|
7
|
+
} from "./formatter-zetmaeve.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./formatter-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service13,
|
|
17
|
+
node: () => node16,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service13 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service70;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service13.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node16 = makeLocationNode({ service: Service13, layer, deps: [node74] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service13, readText2, syncTextBom2, node16, exports_file_mutation };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./formatter-bfajmyfy.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make19,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./formatter-t550f9t1.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./formatter-a1bz86dw.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./formatter-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
20
20
|
__export(exports_instruction_entry, {
|
|
21
|
-
Info: () =>
|
|
21
|
+
Info: () => Info4,
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service26,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node31,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
34
34
|
import { InstructionEntry } from "@opencode/schema/instruction-entry";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
var Key2 = InstructionEntry.Key;
|
|
37
|
-
var
|
|
37
|
+
var Info4 = InstructionEntry.Info;
|
|
38
38
|
var Snapshot2 = InstructionEntry.Snapshot;
|
|
39
39
|
var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
|
|
40
40
|
var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
|
|
@@ -56,12 +56,12 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service26 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
|
-
var source = (entry) =>
|
|
64
|
+
var source = (entry) => make19({
|
|
65
65
|
key: Key3.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make18({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service80;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service26.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node31 = makeLocationNode({ service: Service26, layer, deps: [node85] });
|
|
114
114
|
|
|
115
|
-
export { Key2,
|
|
115
|
+
export { Key2, Info4, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service26, node31, exports_instruction_entry };
|