@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,65 +1,65 @@
|
|
|
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
|
llmClient2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./formatter-5t3nmthw.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./formatter-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
provenance2,
|
|
17
17
|
compatible2,
|
|
18
18
|
isCheckpoint2,
|
|
19
19
|
encode2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./formatter-msq0jde0.js";
|
|
21
21
|
import {
|
|
22
22
|
load3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./formatter-xz285jew.js";
|
|
24
24
|
import {
|
|
25
25
|
create3
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./formatter-kg06axw8.js";
|
|
27
27
|
import {
|
|
28
28
|
toLLMMessages2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./formatter-p33ejz0k.js";
|
|
30
30
|
import {
|
|
31
31
|
baseTranscript2,
|
|
32
32
|
unsupportedParts2,
|
|
33
33
|
boundImages2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./formatter-rx5z47at.js";
|
|
35
35
|
import {
|
|
36
36
|
toSessionError2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./formatter-mjxbdjmk.js";
|
|
38
38
|
import {
|
|
39
39
|
policy2,
|
|
40
40
|
transient2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./formatter-9cetqcc0.js";
|
|
42
42
|
import {
|
|
43
43
|
estimate2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./formatter-h6vf3j39.js";
|
|
45
45
|
import {
|
|
46
46
|
calculateCost2,
|
|
47
47
|
record2,
|
|
48
48
|
add2
|
|
49
|
-
} from "./
|
|
49
|
+
} from "./formatter-tdstcens.js";
|
|
50
50
|
import {
|
|
51
51
|
__export
|
|
52
|
-
} from "./
|
|
52
|
+
} from "./formatter-9rqn6x4v.js";
|
|
53
53
|
|
|
54
54
|
// src/session/compaction.ts
|
|
55
55
|
var exports_compaction2 = {};
|
|
56
56
|
__export(exports_compaction2, {
|
|
57
|
-
Service: () =>
|
|
57
|
+
Service: () => Service10,
|
|
58
58
|
SessionCompaction: () => exports_compaction2,
|
|
59
59
|
buildPrompt: () => buildPrompt2,
|
|
60
60
|
estimateTokens: () => estimateTokens2,
|
|
61
|
-
layer: () =>
|
|
62
|
-
node: () =>
|
|
61
|
+
layer: () => layer7,
|
|
62
|
+
node: () => node13,
|
|
63
63
|
retainUsers: () => retainUsers2,
|
|
64
64
|
serializeToolContent: () => serializeToolContent2,
|
|
65
65
|
truncateToolOutput: () => truncateToolOutput2
|
|
@@ -125,7 +125,7 @@ var SUMMARY_HEADINGS = SUMMARY_TEMPLATE.split(`
|
|
|
125
125
|
`).filter((line) => line.startsWith("##"));
|
|
126
126
|
var LEGACY_HEADING = "## Additional Context";
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service10 extends Context.Service()("@opencode/SessionCompaction") {
|
|
129
129
|
}
|
|
130
130
|
var hasInputUsage = (message) => message.type === "assistant" && !message.error && message.tokens !== undefined && message.tokens.input + message.tokens.cache.read + message.tokens.cache.write > 0;
|
|
131
131
|
var estimateTokens2 = (input) => {
|
|
@@ -296,7 +296,7 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
296
296
|
};
|
|
297
297
|
var hasSummarySection = (summary) => summary.split(`
|
|
298
298
|
`).some((line) => SUMMARY_HEADINGS.includes(line.trim()));
|
|
299
|
-
var
|
|
299
|
+
var layer7 = Layer.effect(Service10, Effect.gen(function* () {
|
|
300
300
|
const bus = yield* Service79;
|
|
301
301
|
const llm = yield* LLMClient.Service;
|
|
302
302
|
const db = (yield* Service80).db;
|
|
@@ -605,7 +605,7 @@ var layer6 = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
605
605
|
}
|
|
606
606
|
}));
|
|
607
607
|
});
|
|
608
|
-
return
|
|
608
|
+
return Service10.of({
|
|
609
609
|
transform: state.transform,
|
|
610
610
|
reload: state.reload,
|
|
611
611
|
enabled: () => state.get().auto,
|
|
@@ -614,10 +614,10 @@ var layer6 = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
614
614
|
compactManual
|
|
615
615
|
});
|
|
616
616
|
}));
|
|
617
|
-
var
|
|
618
|
-
service:
|
|
619
|
-
layer:
|
|
617
|
+
var node13 = makeLocationNode({
|
|
618
|
+
service: Service10,
|
|
619
|
+
layer: layer7,
|
|
620
620
|
deps: [node84, node85, llmClient2]
|
|
621
621
|
});
|
|
622
622
|
|
|
623
|
-
export {
|
|
623
|
+
export { Service10, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer7, node13, exports_compaction2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service51
|
|
3
|
+
} from "./formatter-w9nng7hv.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-1x11rq2a.js";
|
|
7
7
|
import {
|
|
8
8
|
SkillNotFoundError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-3x8gcmrs.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service55
|
|
12
|
+
} from "./formatter-86cj3c8h.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./formatter-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/skill.ts
|
|
18
18
|
var exports_skill4 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_skill4, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var get4 = Effect.fn("SessionSkill.get")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const skills = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service51;
|
|
26
|
+
const skills = yield* awaitActivation2.pipe(Effect.andThen(Service55), instances.provide(input.session));
|
|
27
27
|
const skill = yield* skills.get(input.skill);
|
|
28
28
|
if (!skill)
|
|
29
29
|
return yield* new SkillNotFoundError2({ skill: input.skill });
|
|
@@ -2,35 +2,35 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service79,
|
|
4
4
|
node84
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./formatter-1g7m4r41.js";
|
|
6
6
|
import {
|
|
7
7
|
Key3,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
|
-
|
|
10
|
+
make19,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./formatter-t550f9t1.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./formatter-922hggd3.js";
|
|
16
16
|
import {
|
|
17
17
|
create3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./formatter-kg06axw8.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./formatter-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/instruction-discovery.ts
|
|
24
24
|
var exports_instruction_discovery = {};
|
|
25
25
|
__export(exports_instruction_discovery, {
|
|
26
|
-
Event: () =>
|
|
26
|
+
Event: () => Event7,
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
|
-
Options: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
configured: () =>
|
|
32
|
-
layer: () =>
|
|
33
|
-
node: () =>
|
|
29
|
+
Options: () => Options9,
|
|
30
|
+
Service: () => Service41,
|
|
31
|
+
configured: () => configured9,
|
|
32
|
+
layer: () => layer19,
|
|
33
|
+
node: () => node46
|
|
34
34
|
});
|
|
35
35
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -42,17 +42,17 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
42
42
|
}
|
|
43
43
|
var Files = Schema.Array(File2);
|
|
44
44
|
var key = Key3.make("core/instructions");
|
|
45
|
-
var
|
|
45
|
+
var Event7 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
48
|
-
var
|
|
48
|
+
var Options9 = Schema.Struct({
|
|
49
49
|
project: Schema.optional(Schema.Boolean),
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service41 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var
|
|
55
|
+
var layer19 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
56
56
|
const bus = yield* Service79;
|
|
57
57
|
const state = create3({
|
|
58
58
|
name: "instruction-discovery",
|
|
@@ -72,9 +72,9 @@ var layer18 = (options) => Layer.effect(Service44, Effect.gen(function* () {
|
|
|
72
72
|
editor.available = false;
|
|
73
73
|
}
|
|
74
74
|
}),
|
|
75
|
-
notify: () => bus.publish(
|
|
75
|
+
notify: () => bus.publish(Event7.Updated, {}).pipe(Effect.asVoid)
|
|
76
76
|
});
|
|
77
|
-
const source = (value) =>
|
|
77
|
+
const source = (value) => make19({
|
|
78
78
|
key,
|
|
79
79
|
codec: Schema.toCodecJson(Files),
|
|
80
80
|
read: Effect.succeed(value),
|
|
@@ -90,7 +90,7 @@ var layer18 = (options) => Layer.effect(Service44, Effect.gen(function* () {
|
|
|
90
90
|
return unavailable3;
|
|
91
91
|
return Array.from(current.files.values());
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service41.of({
|
|
94
94
|
project: options?.project !== false,
|
|
95
95
|
global: options?.global !== false,
|
|
96
96
|
transform: state.transform,
|
|
@@ -104,14 +104,14 @@ var layer18 = (options) => Layer.effect(Service44, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
}));
|
|
107
|
-
function
|
|
107
|
+
function configured9(options) {
|
|
108
108
|
return makeLocationNode({
|
|
109
|
-
service:
|
|
110
|
-
layer:
|
|
109
|
+
service: Service41,
|
|
110
|
+
layer: layer19(options),
|
|
111
111
|
deps: [node84]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node46 = configured9();
|
|
115
115
|
function render(files) {
|
|
116
116
|
return files.map((file) => `Instructions from: ${file.path}
|
|
117
117
|
${file.content}`).join(`
|
|
@@ -142,4 +142,4 @@ ${render([after])}`;
|
|
|
142
142
|
`);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export { File2,
|
|
145
|
+
export { File2, Event7, Options9, Service41, layer19, configured9, node46, exports_instruction_discovery };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./formatter-bfajmyfy.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./formatter-f828m53h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./formatter-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
16
|
+
ID: () => ID7,
|
|
17
17
|
Info: () => Info20,
|
|
18
|
-
ListInput: () =>
|
|
18
|
+
ListInput: () => ListInput3,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
20
|
Service: () => Service57,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node61
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
28
|
+
var ID7 = PermissionSaved.ID;
|
|
29
29
|
var Info20 = PermissionSaved.Info;
|
|
30
|
-
var
|
|
30
|
+
var ListInput3 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
33
33
|
var AddInput2 = Schema.Struct({
|
|
@@ -53,7 +53,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
53
53
|
if (!input.resources.length)
|
|
54
54
|
return;
|
|
55
55
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
56
|
-
id:
|
|
56
|
+
id: ID7.create(),
|
|
57
57
|
project_id: input.projectID,
|
|
58
58
|
action: input.action,
|
|
59
59
|
resource
|
|
@@ -64,6 +64,6 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
64
64
|
});
|
|
65
65
|
return Service57.of({ list, add, remove });
|
|
66
66
|
}));
|
|
67
|
-
var
|
|
67
|
+
var node61 = makeGlobalNode({ service: Service57, layer, deps: [node85] });
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { ID7, Info20, ListInput3, AddInput2, Service57, node61, exports_saved };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isAISDK2,
|
|
3
3
|
packageName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./formatter-dt849bc4.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./formatter-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/variant.ts
|
|
10
10
|
var exports_variant = {};
|
|
11
11
|
__export(exports_variant, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin14,
|
|
13
13
|
VariantPlugin: () => exports_variant,
|
|
14
14
|
generate: () => generate2
|
|
15
15
|
});
|
|
16
16
|
import { Effect } from "effect";
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
18
18
|
import { Model } from "@opencode/schema/model";
|
|
19
|
-
var
|
|
19
|
+
var Plugin14 = define({
|
|
20
20
|
id: "opencode.variant",
|
|
21
21
|
effect: Effect.fn(function* (ctx) {
|
|
22
22
|
yield* ctx.catalog.transform((catalog) => {
|
|
@@ -52,4 +52,4 @@ function generate2(model, provider) {
|
|
|
52
52
|
}));
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
export {
|
|
55
|
+
export { Plugin14, generate2, exports_variant };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/skills.ts
|
|
6
6
|
var exports_skills = {};
|
|
7
7
|
__export(exports_skills, {
|
|
8
8
|
ConfigSkillsV1: () => exports_skills,
|
|
9
|
-
Info: () =>
|
|
9
|
+
Info: () => Info13
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info13 = Schema.Struct({
|
|
13
13
|
paths: Schema.optional(Schema.Array(Schema.String)).annotate({
|
|
14
14
|
description: "Additional paths to skill folders"
|
|
15
15
|
}),
|
|
@@ -18,4 +18,4 @@ var Info17 = Schema.Struct({
|
|
|
18
18
|
})
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info13, exports_skills };
|
|
@@ -1,46 +1,46 @@
|
|
|
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
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service70,
|
|
11
|
+
node74
|
|
12
|
+
} from "./formatter-zetmaeve.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./formatter-gd4qta3r.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service40,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node44
|
|
20
|
+
} from "./formatter-9e77hs8e.js";
|
|
21
21
|
import {
|
|
22
22
|
Service60,
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
node64
|
|
24
|
+
} from "./formatter-zwwmew6a.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service32,
|
|
27
|
+
node36
|
|
28
|
+
} from "./formatter-8ppq07x6.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./formatter-y6f0p4jw.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service33,
|
|
35
|
+
node37
|
|
36
|
+
} from "./formatter-aefq2yfw.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./formatter-743vzpe1.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./formatter-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/shell.ts
|
|
46
46
|
var exports_shell4 = {};
|
|
@@ -48,10 +48,10 @@ __export(exports_shell4, {
|
|
|
48
48
|
DIRECTORY: () => DIRECTORY2,
|
|
49
49
|
NotFoundError: () => NotFoundError4,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service31,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node35
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -70,7 +70,7 @@ var EXITED_LIMIT = 25;
|
|
|
70
70
|
var RETENTION2 = Duration.days(7);
|
|
71
71
|
var DIRECTORY2 = "shell";
|
|
72
72
|
|
|
73
|
-
class
|
|
73
|
+
class Service31 extends Context.Service()("@opencode/Shell") {
|
|
74
74
|
}
|
|
75
75
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
76
76
|
const fs = yield* FSUtil.Service;
|
|
@@ -86,15 +86,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
86
86
|
layer: cleanupLayer,
|
|
87
87
|
deps: [FSUtil.node, Global.node]
|
|
88
88
|
});
|
|
89
|
-
var layer = () => Layer.effect(
|
|
89
|
+
var layer = () => Layer.effect(Service31, Effect.gen(function* () {
|
|
90
90
|
const bus = yield* Service79;
|
|
91
|
-
const location = yield*
|
|
91
|
+
const location = yield* Service72;
|
|
92
92
|
const global = yield* Global.Service;
|
|
93
|
-
const shell = yield*
|
|
94
|
-
const environment = yield*
|
|
93
|
+
const shell = yield* Service40;
|
|
94
|
+
const environment = yield* Service70;
|
|
95
95
|
const hooks = yield* Service60;
|
|
96
|
-
const environments = yield*
|
|
97
|
-
const config = yield*
|
|
96
|
+
const environments = yield* Service32;
|
|
97
|
+
const config = yield* Service33;
|
|
98
98
|
const context = yield* Effect.context();
|
|
99
99
|
const runFork = Effect.runForkWith(context);
|
|
100
100
|
const commands = new Map;
|
|
@@ -314,22 +314,22 @@ var layer = () => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
314
314
|
const command = yield* Deferred.await(ready);
|
|
315
315
|
return command.info;
|
|
316
316
|
});
|
|
317
|
-
return
|
|
317
|
+
return Service31.of({ create, list, get, wait, result, timeout, output, remove });
|
|
318
318
|
}));
|
|
319
|
-
var
|
|
320
|
-
service:
|
|
319
|
+
var node35 = makeLocationNode({
|
|
320
|
+
service: Service31,
|
|
321
321
|
layer: layer(),
|
|
322
322
|
deps: [
|
|
323
323
|
node84,
|
|
324
|
-
|
|
324
|
+
node77,
|
|
325
325
|
Global.node,
|
|
326
|
-
node76,
|
|
327
|
-
node78,
|
|
328
|
-
node63,
|
|
329
326
|
node44,
|
|
330
|
-
|
|
327
|
+
node74,
|
|
328
|
+
node64,
|
|
329
|
+
node36,
|
|
330
|
+
node37,
|
|
331
331
|
cleanupNode
|
|
332
332
|
]
|
|
333
333
|
});
|
|
334
334
|
|
|
335
|
-
export { NotFoundError4, RETENTION2, DIRECTORY2,
|
|
335
|
+
export { NotFoundError4, RETENTION2, DIRECTORY2, Service31, cleanup2, node35, exports_shell4 };
|
|
@@ -2,31 +2,31 @@ import {
|
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
4
|
empty3,
|
|
5
|
-
|
|
5
|
+
make19,
|
|
6
6
|
diffByKey2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./formatter-t550f9t1.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID5,
|
|
10
10
|
Name2,
|
|
11
11
|
available2,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service55,
|
|
13
|
+
node59
|
|
14
|
+
} from "./formatter-86cj3c8h.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./formatter-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/skill/instructions.ts
|
|
20
|
-
var
|
|
21
|
-
__export(
|
|
22
|
-
Service: () =>
|
|
23
|
-
SkillInstructions: () =>
|
|
24
|
-
node: () =>
|
|
20
|
+
var exports_instructions4 = {};
|
|
21
|
+
__export(exports_instructions4, {
|
|
22
|
+
Service: () => Service20,
|
|
23
|
+
SkillInstructions: () => exports_instructions4,
|
|
24
|
+
node: () => node24
|
|
25
25
|
});
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
28
28
|
var Summary = Schema.Struct({
|
|
29
|
-
id:
|
|
29
|
+
id: ID5,
|
|
30
30
|
name: Name2,
|
|
31
31
|
description: Schema.String
|
|
32
32
|
});
|
|
@@ -60,17 +60,17 @@ var update = (previous, current) => {
|
|
|
60
60
|
`);
|
|
61
61
|
};
|
|
62
62
|
|
|
63
|
-
class
|
|
63
|
+
class Service20 extends Context.Service()("@opencode/SkillInstructions") {
|
|
64
64
|
}
|
|
65
|
-
var layer = Layer.effect(
|
|
66
|
-
const skills = yield*
|
|
67
|
-
return
|
|
65
|
+
var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
66
|
+
const skills = yield* Service55;
|
|
67
|
+
return Service20.of({
|
|
68
68
|
load: Effect.fn("SkillInstructions.load")(function* (selection) {
|
|
69
69
|
const agent = selection.info;
|
|
70
70
|
if (!agent)
|
|
71
71
|
return empty3;
|
|
72
72
|
const available = available2(yield* skills.list(), agent).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
|
|
73
|
-
return
|
|
73
|
+
return make19({
|
|
74
74
|
key: Key3.make("core/skill-guidance"),
|
|
75
75
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
76
76
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
@@ -83,6 +83,6 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
83
83
|
})
|
|
84
84
|
});
|
|
85
85
|
}));
|
|
86
|
-
var
|
|
86
|
+
var node24 = makeLocationNode({ service: Service20, layer, deps: [node59] });
|
|
87
87
|
|
|
88
|
-
export {
|
|
88
|
+
export { Service20, node24, exports_instructions4 };
|