@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,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./formatter-bfajmyfy.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./formatter-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
Service79,
|
|
10
10
|
node84
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./formatter-1g7m4r41.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./formatter-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessage2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./formatter-gftt206x.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionSchema2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./formatter-y6f0p4jw.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionMessageTable2,
|
|
23
23
|
SessionInboxTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./formatter-a1bz86dw.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./formatter-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/session/inbox.ts
|
|
30
30
|
var exports_inbox = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_inbox, {
|
|
|
32
32
|
Compaction: () => Compaction2,
|
|
33
33
|
CompactionPayload: () => CompactionPayload2,
|
|
34
34
|
Delivery: () => Delivery2,
|
|
35
|
-
Info: () =>
|
|
35
|
+
Info: () => Info18,
|
|
36
36
|
Item: () => Item2,
|
|
37
37
|
LifecycleConflict: () => LifecycleConflict2,
|
|
38
38
|
Move: () => Move2,
|
|
39
39
|
MovePayload: () => MovePayload2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service49,
|
|
41
41
|
SessionInbox: () => exports_inbox,
|
|
42
42
|
Synthetic: () => Synthetic2,
|
|
43
43
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -45,12 +45,12 @@ __export(exports_inbox, {
|
|
|
45
45
|
UserPayload: () => UserPayload2,
|
|
46
46
|
find: () => find2,
|
|
47
47
|
has: () => has2,
|
|
48
|
-
layer: () =>
|
|
49
|
-
list: () =>
|
|
50
|
-
make: () =>
|
|
48
|
+
layer: () => layer21,
|
|
49
|
+
list: () => list4,
|
|
50
|
+
make: () => make18,
|
|
51
51
|
moveIDs: () => moveIDs2,
|
|
52
52
|
nextPromotable: () => nextPromotable2,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node53,
|
|
54
54
|
projectAdmitted: () => projectAdmitted2,
|
|
55
55
|
projectCancelled: () => projectCancelled2,
|
|
56
56
|
projectDelivered: () => projectDelivered2,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
Compaction as Compaction2,
|
|
66
66
|
CompactionPayload as CompactionPayload2,
|
|
67
67
|
Delivery as Delivery2,
|
|
68
|
-
Info as
|
|
68
|
+
Info as Info18,
|
|
69
69
|
Item as Item2,
|
|
70
70
|
Move as Move2,
|
|
71
71
|
MovePayload as MovePayload2,
|
|
@@ -151,9 +151,9 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
151
151
|
return yield* new LifecycleConflict2({ id });
|
|
152
152
|
});
|
|
153
153
|
|
|
154
|
-
class
|
|
154
|
+
class Service49 extends Context.Service()("@opencode/SessionInbox") {
|
|
155
155
|
}
|
|
156
|
-
var
|
|
156
|
+
var make18 = Effect.fn("SessionInbox.make")(function* () {
|
|
157
157
|
const database = yield* Service80;
|
|
158
158
|
const db = database.db;
|
|
159
159
|
const bus = yield* Service79;
|
|
@@ -173,7 +173,7 @@ var make15 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
173
173
|
inboxID: request.id,
|
|
174
174
|
sessionID: request.sessionID,
|
|
175
175
|
item: request.item
|
|
176
|
-
}).pipe(Effect.map((event) =>
|
|
176
|
+
}).pipe(Effect.map((event) => Info18.make({
|
|
177
177
|
id: request.id,
|
|
178
178
|
sessionID: request.sessionID,
|
|
179
179
|
timeCreated: DateTime.makeUnsafe(event.created),
|
|
@@ -193,7 +193,7 @@ var make15 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
193
193
|
}
|
|
194
194
|
if (yield* promotedFromMessage(db, input.sessionID, input.id, input.delivery))
|
|
195
195
|
return yield* new LifecycleConflict2({ id: input.id });
|
|
196
|
-
const pending = (yield*
|
|
196
|
+
const pending = (yield* list4(db, input.sessionID)).find((item) => item.type === "compaction");
|
|
197
197
|
if (pending)
|
|
198
198
|
return pending;
|
|
199
199
|
return yield* admit({
|
|
@@ -218,7 +218,7 @@ var make15 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
218
218
|
delivery: "queue"
|
|
219
219
|
})));
|
|
220
220
|
return {
|
|
221
|
-
list: (sessionID) =>
|
|
221
|
+
list: (sessionID) => list4(db, sessionID),
|
|
222
222
|
reconcile,
|
|
223
223
|
admit,
|
|
224
224
|
admitCompaction,
|
|
@@ -227,8 +227,8 @@ var make15 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
227
227
|
queue
|
|
228
228
|
};
|
|
229
229
|
});
|
|
230
|
-
var
|
|
231
|
-
var
|
|
230
|
+
var layer21 = Layer.effect(Service49, make18());
|
|
231
|
+
var node53 = makeGlobalNode({ service: Service49, layer: layer21, deps: [node85, node84] });
|
|
232
232
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
233
233
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
234
234
|
if (message !== undefined)
|
|
@@ -266,7 +266,7 @@ var projectDeliveryChanged2 = Effect.fn("SessionInbox.projectDeliveryChanged")((
|
|
|
266
266
|
from: input.delivery === "steer" ? "queue" : "steer",
|
|
267
267
|
to: input.delivery
|
|
268
268
|
}));
|
|
269
|
-
var
|
|
269
|
+
var list4 = Effect.fn("SessionInbox.list")(function* (db, sessionID) {
|
|
270
270
|
const rows = yield* db.select().from(SessionInboxTable2).where(eq(SessionInboxTable2.session_id, sessionID)).orderBy(asc(SessionInboxTable2.enqueued_seq)).all().pipe(Effect.orDie);
|
|
271
271
|
return rows.map(fromRow);
|
|
272
272
|
});
|
|
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
326
326
|
return rows;
|
|
327
327
|
}));
|
|
328
328
|
|
|
329
|
-
export { Compaction2, CompactionPayload2, Delivery2,
|
|
329
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info18, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service49, make18, layer21, node53, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list4, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-1g7m4r41.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service72
|
|
6
|
+
} from "./formatter-fy5dbkry.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service29
|
|
10
|
+
} from "./formatter-1ga0n8k4.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./formatter-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
CommandPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_command = {};
|
|
17
|
+
__export(exports_command, {
|
|
18
|
+
CommandPlugin: () => exports_command,
|
|
19
|
+
Plugin: () => Plugin11
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Stream } from "effect";
|
|
@@ -193,11 +193,11 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
193
193
|
`;
|
|
194
194
|
|
|
195
195
|
// src/plugin/command.ts
|
|
196
|
-
var
|
|
196
|
+
var Plugin11 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
|
-
const location = yield*
|
|
200
|
-
const mcp = yield*
|
|
199
|
+
const location = yield* Service72;
|
|
200
|
+
const mcp = yield* Service29;
|
|
201
201
|
const bus = yield* Service79;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export {
|
|
283
|
+
export { Plugin11, exports_command };
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./formatter-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service74,
|
|
9
|
+
node79
|
|
10
|
+
} from "./formatter-9fwp41vh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service72,
|
|
13
|
+
node77
|
|
14
|
+
} from "./formatter-fy5dbkry.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./formatter-kg06axw8.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./formatter-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
25
|
Error: () => Error3,
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
26
|
+
ID: () => ID4,
|
|
27
|
+
Service: () => Service45,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node50,
|
|
30
|
+
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
import path from "path";
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID4 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
39
|
class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
@@ -43,13 +43,13 @@ class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service45 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service74;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service72;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID4.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -133,14 +133,14 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
133
133
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
134
134
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service45.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
137
137
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
138
|
-
var
|
|
139
|
-
service:
|
|
138
|
+
var node50 = makeLocationNode({
|
|
139
|
+
service: Service45,
|
|
140
140
|
layer,
|
|
141
|
-
deps: [FSUtil.node,
|
|
141
|
+
deps: [FSUtil.node, node79, Global.node, node77]
|
|
142
142
|
});
|
|
143
|
-
var
|
|
143
|
+
var noopLayer2 = Layer.succeed(Service45, Service45.of({
|
|
144
144
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
145
145
|
reload: () => Effect.void,
|
|
146
146
|
capture: () => Effect.undefined,
|
|
@@ -158,4 +158,4 @@ function failure(operation, cause) {
|
|
|
158
158
|
});
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
export {
|
|
161
|
+
export { ID4, Error3, Service45, node50, noopLayer2, exports_snapshot2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-6msgmcgs.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-8p4f9s12.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/sql.ts
|
|
9
9
|
import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID16,
|
|
3
|
+
Service76
|
|
4
|
+
} from "./formatter-24g3tesp.js";
|
|
5
5
|
import {
|
|
6
6
|
isAISDK2,
|
|
7
7
|
packageName2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./formatter-dt849bc4.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/provider/llmgateway.ts
|
|
11
11
|
import { Effect } from "effect";
|
|
@@ -13,7 +13,7 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
13
13
|
var LLMGatewayPlugin2 = define({
|
|
14
14
|
id: "opencode.provider.llmgateway",
|
|
15
15
|
effect: Effect.fn(function* (ctx) {
|
|
16
|
-
const integrations = yield*
|
|
16
|
+
const integrations = yield* Service76;
|
|
17
17
|
const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
|
|
18
18
|
yield* ctx.catalog.transform((evt) => {
|
|
19
19
|
for (const item of evt.provider.list()) {
|
|
@@ -25,7 +25,7 @@ var LLMGatewayPlugin2 = define({
|
|
|
25
25
|
continue;
|
|
26
26
|
if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
|
|
27
27
|
continue;
|
|
28
|
-
if (!configured.has(
|
|
28
|
+
if (!configured.has(ID16.make(item.provider.id)))
|
|
29
29
|
continue;
|
|
30
30
|
evt.provider.update(item.provider.id, (provider) => {
|
|
31
31
|
provider.headers = {
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./formatter-1g7m4r41.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service72,
|
|
7
|
+
node77
|
|
8
|
+
} from "./formatter-fy5dbkry.js";
|
|
9
9
|
import {
|
|
10
10
|
reconcile2,
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./formatter-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
14
|
PATCH_CONTEXT_LINES2,
|
|
15
15
|
MAX_TOTAL_PATCH_BYTES2,
|
|
16
16
|
emptyPatch2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./formatter-tazgh4e4.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./formatter-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/vcs.ts
|
|
23
23
|
var exports_vcs = {};
|
|
@@ -26,17 +26,17 @@ __export(exports_vcs, {
|
|
|
26
26
|
BranchList: () => BranchList2,
|
|
27
27
|
DiffError: () => DiffError2,
|
|
28
28
|
FileStatus: () => FileStatus2,
|
|
29
|
-
Info: () =>
|
|
29
|
+
Info: () => Info16,
|
|
30
30
|
Mode: () => Mode2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service43,
|
|
32
32
|
Vcs: () => exports_vcs,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node48
|
|
34
34
|
});
|
|
35
35
|
import path from "path";
|
|
36
36
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
37
37
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
38
38
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
39
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
39
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info16, Mode as Mode2 } from "@opencode/schema/vcs";
|
|
40
40
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
41
41
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -45,11 +45,11 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
|
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service43 extends Context.Service()("@opencode/Vcs") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service72;
|
|
53
53
|
const bus = yield* Service79;
|
|
54
54
|
const root = yield* Effect.scope;
|
|
55
55
|
const fork = yield* FiberSet.makeRuntime();
|
|
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
62
62
|
canonical: location.project.canonical,
|
|
63
63
|
...vcs ? { store: vcs.store } : {}
|
|
64
64
|
};
|
|
65
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
65
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info16));
|
|
66
66
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
67
67
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
68
68
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
115
115
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
116
116
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
117
117
|
}
|
|
118
|
-
return
|
|
118
|
+
return Service43.of({
|
|
119
119
|
transform: state.transform,
|
|
120
120
|
reload: state.reload,
|
|
121
121
|
info: Effect.fn("Vcs.info")(function* () {
|
|
@@ -161,10 +161,10 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
161
161
|
})
|
|
162
162
|
});
|
|
163
163
|
}));
|
|
164
|
-
var
|
|
165
|
-
service:
|
|
164
|
+
var node48 = makeLocationNode({
|
|
165
|
+
service: Service43,
|
|
166
166
|
layer,
|
|
167
|
-
deps: [FSUtil.node,
|
|
167
|
+
deps: [FSUtil.node, node77, node84]
|
|
168
168
|
});
|
|
169
169
|
|
|
170
|
-
export { Base2, BranchList2, FileStatus2,
|
|
170
|
+
export { Base2, BranchList2, FileStatus2, Info16, Mode2, DiffError2, Service43, node48, exports_vcs };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info9,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info9 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info9, exports_mcp5 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service70
|
|
3
|
+
} from "./formatter-zetmaeve.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/stdio.ts
|
|
9
9
|
var exports_stdio = {};
|
|
@@ -19,7 +19,7 @@ var FORCE_KILL_AFTER = Duration.seconds(2);
|
|
|
19
19
|
var OUTGOING_CAPACITY = 64;
|
|
20
20
|
var MAX_FRAME_BYTES = 16 * 1024 * 1024;
|
|
21
21
|
var make2 = Effect.fnUntraced(function* (options) {
|
|
22
|
-
const environment = yield*
|
|
22
|
+
const environment = yield* Service70;
|
|
23
23
|
const scope = yield* Effect.scope;
|
|
24
24
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
25
25
|
const buffer = new ReadBuffer;
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service72
|
|
6
|
+
} from "./formatter-fy5dbkry.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service33
|
|
9
|
+
} from "./formatter-aefq2yfw.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service44
|
|
12
|
+
} from "./formatter-63bkm2xc.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./formatter-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./formatter-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin27
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin27 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
34
|
-
const location = yield*
|
|
33
|
+
const config = yield* Service33;
|
|
34
|
+
const location = yield* Service72;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service44;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin18 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin27, exports_worktree };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./formatter-x93xphn0.js";
|
|
4
4
|
import {
|
|
5
5
|
Service56
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-rtfynwzt.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
13
13
|
__export(exports_question, {
|
|
14
14
|
CancelledError: () => CancelledError2,
|
|
15
|
-
Input: () =>
|
|
15
|
+
Input: () => Input13,
|
|
16
16
|
Output: () => Output9,
|
|
17
17
|
Plugin: () => Plugin45,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
19
19
|
description: () => description6,
|
|
20
|
-
name: () =>
|
|
20
|
+
name: () => name13,
|
|
21
21
|
toModelContent: () => toModelContent7
|
|
22
22
|
});
|
|
23
23
|
import { ToolFailure } from "@opencode/ai";
|
|
24
24
|
import { Effect, Schema } from "effect";
|
|
25
25
|
import { Question } from "@opencode/schema/question";
|
|
26
|
-
var
|
|
26
|
+
var name13 = "question";
|
|
27
27
|
var description6 = `Use this tool when you need to ask the user questions during execution. This allows you to:
|
|
28
28
|
1. Gather user preferences or requirements
|
|
29
29
|
2. Clarify ambiguous instructions
|
|
@@ -34,7 +34,7 @@ Usage notes:
|
|
|
34
34
|
- A "Type your own answer" option is added automatically; don't include a separate option for free form answers
|
|
35
35
|
- Set \`multiple: true\` to allow selecting more than one option
|
|
36
36
|
- If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
|
|
37
|
-
var
|
|
37
|
+
var Input13 = Schema.Struct({
|
|
38
38
|
questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
|
|
39
39
|
});
|
|
40
40
|
var Output9 = Schema.Struct({
|
|
@@ -53,13 +53,13 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin45 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
56
|
+
const forms = yield* Service78;
|
|
57
57
|
const permission = yield* Service56;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
|
-
name:
|
|
59
|
+
name: name13,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
|
-
input:
|
|
62
|
+
input: Input13,
|
|
63
63
|
output: Output9,
|
|
64
64
|
execute: (input, context) => permission.assert({
|
|
65
65
|
action: "question",
|
|
@@ -115,4 +115,4 @@ function toField(question, index) {
|
|
|
115
115
|
};
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
export {
|
|
118
|
+
export { name13, description6, Input13, Output9, CancelledError2, toModelContent7, Plugin45, exports_question };
|