@opencode/core 0.0.0-dev-19440 → 0.0.0-dev-19443
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 +81 -81
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +4 -4
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/catalog.js +83 -83
- package/dist/chunks/{file-wpm2rk0p.js → aisdk-native-036scx05.js} +6 -6
- package/dist/chunks/aisdk-native-0mesazry.js +4 -0
- package/dist/chunks/{file-0paq2nw3.js → aisdk-native-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-0q0f95c6.js → aisdk-native-0q0f95c6.js} +1 -1
- package/dist/chunks/{file-snsk04x3.js → aisdk-native-0s5esgd1.js} +19 -19
- package/dist/chunks/{file-pydmrwq0.js → aisdk-native-11c6haq0.js} +29 -29
- package/dist/chunks/{file-xxsgs27q.js → aisdk-native-18j3d1k5.js} +14 -14
- package/dist/chunks/{file-nxer0yad.js → aisdk-native-1acjjqhc.js} +4 -4
- package/dist/chunks/{file-1dazxqgg.js → aisdk-native-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-kt5w8vxh.js → aisdk-native-1e9w7pgh.js} +10 -10
- package/dist/chunks/{file-m8nf6fh5.js → aisdk-native-1rbex5rt.js} +37 -37
- package/dist/chunks/{file-akrnn5pm.js → aisdk-native-1y1z8jnb.js} +11 -11
- package/dist/chunks/{file-56gdpj1q.js → aisdk-native-1ygqh575.js} +9 -9
- package/dist/chunks/{file-21r38tys.js → aisdk-native-21r38tys.js} +1 -1
- package/dist/chunks/{file-2402vzrj.js → aisdk-native-2402vzrj.js} +1 -1
- package/dist/chunks/{file-z63w68vq.js → aisdk-native-29x78va6.js} +6 -6
- package/dist/chunks/{file-2a5m3afh.js → aisdk-native-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-90hac4w7.js → aisdk-native-2dx5zcey.js} +15 -15
- package/dist/chunks/{file-9ev7wkx2.js → aisdk-native-2fktr2jd.js} +5 -5
- package/dist/chunks/{file-3w0fmcng.js → aisdk-native-2qp6y8xf.js} +5 -5
- package/dist/chunks/{file-1kz1ep11.js → aisdk-native-2srt5kyc.js} +9 -9
- package/dist/chunks/{file-aqnnbpn3.js → aisdk-native-2vt4z936.js} +7 -7
- package/dist/chunks/{file-1dgfjwgv.js → aisdk-native-36sz8rgh.js} +24 -24
- package/dist/chunks/{file-gdvy8fx6.js → aisdk-native-3fc6dm20.js} +4 -4
- package/dist/chunks/{file-3hepkmqq.js → aisdk-native-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-ma9yb35x.js → aisdk-native-3jqe0tdq.js} +9 -9
- package/dist/chunks/{file-56pp0xdw.js → aisdk-native-3mn8z65d.js} +17 -17
- package/dist/chunks/{file-6cxvyk5r.js → aisdk-native-3n70k9za.js} +5 -5
- package/dist/chunks/{file-3e0re2er.js → aisdk-native-3r8ddj3n.js} +16 -16
- package/dist/chunks/{file-3smtnn6g.js → aisdk-native-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-3tvqynh2.js → aisdk-native-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-1zpv7ff7.js → aisdk-native-3yjctv3v.js} +41 -41
- package/dist/chunks/{file-efd2tswm.js → aisdk-native-414xncdy.js} +4 -4
- package/dist/chunks/{file-m0f43kw2.js → aisdk-native-4622e55f.js} +36 -36
- package/dist/chunks/{file-x3n8sh0p.js → aisdk-native-4cnyw18s.js} +17 -17
- package/dist/chunks/{file-pfq1ksym.js → aisdk-native-4dg124c5.js} +5 -5
- package/dist/chunks/{file-e6hd9jay.js → aisdk-native-4p37gy4n.js} +6 -6
- package/dist/chunks/{file-8a2qdx2a.js → aisdk-native-5346cs1n.js} +6 -6
- package/dist/chunks/{file-kvext5yd.js → aisdk-native-5ak1qtzr.js} +88 -88
- package/dist/chunks/{file-5daktx2q.js → aisdk-native-5daktx2q.js} +1 -1
- package/dist/chunks/{file-gsnb458g.js → aisdk-native-5frevzdr.js} +9 -9
- package/dist/chunks/{file-6d9mz4vp.js → aisdk-native-5kptn8c0.js} +9 -9
- package/dist/chunks/{file-31k57cnn.js → aisdk-native-5pkey55m.js} +12 -12
- package/dist/chunks/{file-5t3nmthw.js → aisdk-native-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-9khdf5s3.js → aisdk-native-5wbzy8nn.js} +11 -11
- package/dist/chunks/{file-hqt9f5hj.js → aisdk-native-5yxh3d48.js} +174 -174
- package/dist/chunks/{file-c7vqgbdp.js → aisdk-native-60fp49e0.js} +6 -6
- package/dist/chunks/{file-669tq793.js → aisdk-native-669tq793.js} +1 -1
- package/dist/chunks/{file-ad4c86qp.js → aisdk-native-693j9t8q.js} +22 -22
- package/dist/chunks/{file-qnq5akd1.js → aisdk-native-69jxqepe.js} +20 -20
- package/dist/chunks/{file-1nepfxaz.js → aisdk-native-69r9223c.js} +9 -9
- package/dist/chunks/{file-6msgmcgs.js → aisdk-native-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-5ahbvy81.js → aisdk-native-6q02yaaj.js} +12 -12
- package/dist/chunks/{file-p2vn5raz.js → aisdk-native-6rffdb5j.js} +7 -7
- package/dist/chunks/{file-pfjkw3sm.js → aisdk-native-6rv39ce1.js} +68 -68
- package/dist/chunks/{file-5eep6mvg.js → aisdk-native-6t8gs0b1.js} +20 -20
- package/dist/chunks/{file-54xwtjdq.js → aisdk-native-6waq3m7r.js} +46 -46
- package/dist/chunks/{file-71q4at8m.js → aisdk-native-71q4at8m.js} +1 -1
- package/dist/chunks/{file-4qk82zqm.js → aisdk-native-734nr2zp.js} +20 -20
- package/dist/chunks/{file-7bmhse3q.js → aisdk-native-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-bsre5g92.js → aisdk-native-7cgxkbdr.js} +17 -17
- package/dist/chunks/{file-xw91ethm.js → aisdk-native-7fyjb6zr.js} +5 -5
- package/dist/chunks/{file-5zjhyd44.js → aisdk-native-7vypmzqc.js} +35 -35
- package/dist/chunks/{file-sx8dqv37.js → aisdk-native-7yk2c6c5.js} +27 -27
- package/dist/chunks/{file-z3asdwpy.js → aisdk-native-7yzm6pxz.js} +20 -20
- package/dist/chunks/{file-zw0jxv6w.js → aisdk-native-7z99814y.js} +12 -12
- package/dist/chunks/{file-b27vhd2z.js → aisdk-native-806j49yq.js} +4 -4
- package/dist/chunks/{file-sfegc1hb.js → aisdk-native-83028rk2.js} +3 -3
- package/dist/chunks/{file-tmrp3428.js → aisdk-native-846a88cc.js} +4 -4
- package/dist/chunks/{file-jzd96n45.js → aisdk-native-87k8zj6p.js} +16 -16
- package/dist/chunks/{file-8va43b33.js → aisdk-native-89mk6zq8.js} +46 -46
- package/dist/chunks/{file-8d7r5vzw.js → aisdk-native-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-bz5k20yh.js → aisdk-native-8e9d62j8.js} +10 -10
- package/dist/chunks/{file-z2fmw18c.js → aisdk-native-8evvv6w2.js} +22 -22
- package/dist/chunks/{file-jj3qxa52.js → aisdk-native-8gxqpgph.js} +4 -4
- package/dist/chunks/{file-x4tsw7vb.js → aisdk-native-8mr4zjz5.js} +20 -20
- package/dist/chunks/{file-8p4f9s12.js → aisdk-native-8p4f9s12.js} +2 -2
- package/dist/chunks/{file-heer32bb.js → aisdk-native-8y4y6bqe.js} +7 -7
- package/dist/chunks/{file-bez9jb7v.js → aisdk-native-91bz4edj.js} +7 -7
- package/dist/chunks/{file-mb0ha6fs.js → aisdk-native-96yt6zt0.js} +1 -1
- package/dist/chunks/{file-ykhkvv1t.js → aisdk-native-9b4wwscp.js} +6 -6
- package/dist/chunks/{file-cef1ew0c.js → aisdk-native-9ctd387c.js} +27 -27
- package/dist/chunks/{file-h7nxn43q.js → aisdk-native-9yq1xq8h.js} +32 -32
- package/dist/chunks/{file-rvyh1tga.js → aisdk-native-a161dj2k.js} +4 -4
- package/dist/chunks/{file-a1bz86dw.js → aisdk-native-a1bz86dw.js} +3 -3
- package/dist/chunks/{file-34y33xw8.js → aisdk-native-a2phgqwc.js} +40 -40
- package/dist/chunks/{file-aaet6srn.js → aisdk-native-aaet6srn.js} +2 -2
- package/dist/chunks/{file-e4jhm3j4.js → aisdk-native-abzhw57t.js} +28 -28
- package/dist/chunks/{file-29vcxy2s.js → aisdk-native-aj8kkpvr.js} +4 -4
- package/dist/chunks/{file-hkfg6fzm.js → aisdk-native-avm8jn6n.js} +5 -5
- package/dist/chunks/{file-6cwg1y4g.js → aisdk-native-azdr1ew2.js} +15 -15
- package/dist/chunks/{file-gz2y2193.js → aisdk-native-b1hwkhhg.js} +4 -4
- package/dist/chunks/{file-b6gygkdw.js → aisdk-native-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-epd1fg1b.js → aisdk-native-bajakh74.js} +4 -4
- package/dist/chunks/{file-msq0jde0.js → aisdk-native-bccb6npm.js} +4 -4
- package/dist/chunks/aisdk-native-befyamhm.js +22 -0
- package/dist/chunks/{file-7c6e5y81.js → aisdk-native-bh0q3qw2.js} +26 -26
- package/dist/chunks/{file-5wd13403.js → aisdk-native-bhwxr1kx.js} +27 -27
- package/dist/chunks/{file-f0w7qnfr.js → aisdk-native-bs7hmeg3.js} +18 -18
- package/dist/chunks/{file-11rr1j9z.js → aisdk-native-c0wenar5.js} +16 -16
- package/dist/chunks/{file-apktd9aw.js → aisdk-native-c7aqkwyx.js} +11 -11
- package/dist/chunks/{file-cfpkc3c9.js → aisdk-native-cfpkc3c9.js} +2 -2
- package/dist/chunks/{file-6kaqw02d.js → aisdk-native-ck004xzv.js} +16 -16
- package/dist/chunks/{file-0j7s38gp.js → aisdk-native-cmaw1yhg.js} +24 -24
- package/dist/chunks/{file-shyev4mk.js → aisdk-native-cv1ed7e8.js} +10 -10
- package/dist/chunks/{file-tnjzq8hh.js → aisdk-native-cwcv96xt.js} +24 -24
- package/dist/chunks/{file-arsacetm.js → aisdk-native-d6eq99k8.js} +11 -11
- package/dist/chunks/{file-rmnfqzky.js → aisdk-native-dfra2488.js} +28 -28
- package/dist/chunks/{file-z0q4dsav.js → aisdk-native-dhpx4bgt.js} +8 -8
- package/dist/chunks/{file-jk47m7qg.js → aisdk-native-dkxen2ne.js} +18 -18
- package/dist/chunks/{file-pxt4kznk.js → aisdk-native-dv250zvr.js} +3 -3
- package/dist/chunks/{file-9pazyhrx.js → aisdk-native-e0y88b7s.js} +34 -34
- package/dist/chunks/{file-fmhfve32.js → aisdk-native-e5v436ga.js} +24 -24
- package/dist/chunks/{file-p6yzb5ay.js → aisdk-native-e82z9tr0.js} +7 -7
- package/dist/chunks/{file-qknber6z.js → aisdk-native-e9kjg0vc.js} +5 -5
- package/dist/chunks/{file-jtkkm2qn.js → aisdk-native-e9nzppwt.js} +23 -23
- package/dist/chunks/{file-f40nw3s4.js → aisdk-native-efy942t1.js} +13 -13
- package/dist/chunks/{file-5tvb4m4x.js → aisdk-native-er56z9m3.js} +4 -4
- package/dist/chunks/{file-etq0c3wd.js → aisdk-native-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-bnd8m4xr.js → aisdk-native-f4mtjk0y.js} +9 -9
- package/dist/chunks/{file-f828m53h.js → aisdk-native-f828m53h.js} +2 -2
- package/dist/chunks/{file-hgyq7eg6.js → aisdk-native-f8m2xdzz.js} +22 -22
- package/dist/chunks/{file-g08h86t3.js → aisdk-native-f8q7mv7a.js} +1 -1
- package/dist/chunks/{file-c0q0hmxn.js → aisdk-native-f9ek4kpk.js} +6 -6
- package/dist/chunks/{file-92e8bh4d.js → aisdk-native-fae6jabp.js} +30 -30
- package/dist/chunks/{file-7dqw4kz8.js → aisdk-native-fcrkznn8.js} +5 -5
- package/dist/chunks/{file-z0wr5a8a.js → aisdk-native-fdgvvs2b.js} +31 -31
- package/dist/chunks/{file-cxgbd94q.js → aisdk-native-fdrns0k3.js} +22 -22
- package/dist/chunks/{file-2jhvch9f.js → aisdk-native-fgh0kbhd.js} +1 -1
- package/dist/chunks/{file-zx6x6k27.js → aisdk-native-fgwez2sf.js} +13 -13
- package/dist/chunks/{file-bjwja24f.js → aisdk-native-fgwkmjw7.js} +5 -5
- package/dist/chunks/{file-31a64gx3.js → aisdk-native-fnx83s2r.js} +46 -46
- package/dist/chunks/{file-ts8g87kd.js → aisdk-native-fv3xc2ec.js} +15 -15
- package/dist/chunks/{file-fxbjtjnd.js → aisdk-native-fxbjtjnd.js} +1 -1
- package/dist/chunks/{file-2w8gt3dc.js → aisdk-native-fygdb7h7.js} +3 -3
- package/dist/chunks/{file-6tp3trja.js → aisdk-native-g0tknpy6.js} +19 -19
- package/dist/chunks/{file-6brzmxsm.js → aisdk-native-g9h0cv9w.js} +18 -18
- package/dist/chunks/{file-gd4qta3r.js → aisdk-native-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-8ygr8afe.js → aisdk-native-gpr0mnvy.js} +9 -9
- package/dist/chunks/{file-gv6a8nnw.js → aisdk-native-gv6a8nnw.js} +2 -2
- package/dist/chunks/{file-2a02pqey.js → aisdk-native-gw96jgh3.js} +28 -28
- package/dist/chunks/{file-h03wrkyp.js → aisdk-native-h03wrkyp.js} +2 -2
- package/dist/chunks/{file-fpm9cd7c.js → aisdk-native-h393hsdx.js} +35 -35
- package/dist/chunks/{file-xhhb3q2x.js → aisdk-native-h3e3s5sa.js} +15 -15
- package/dist/chunks/{file-w7q7v3t1.js → aisdk-native-h509qmsw.js} +15 -15
- package/dist/chunks/{file-h6vf3j39.js → aisdk-native-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-4k1x48fq.js → aisdk-native-h7zq2bwb.js} +14 -14
- package/dist/chunks/{file-dwvzh0g2.js → aisdk-native-hdzt82x2.js} +6 -6
- package/dist/chunks/{file-fz45jgbm.js → aisdk-native-hm95npdb.js} +28 -28
- package/dist/chunks/{file-zr6kk9a2.js → aisdk-native-hmb9mprx.js} +4 -4
- package/dist/chunks/{file-47rg0syt.js → aisdk-native-hn5yzyh1.js} +17 -17
- package/dist/chunks/{file-2dwxz9nb.js → aisdk-native-hzssdtqa.js} +1 -1
- package/dist/chunks/{file-j56e64zr.js → aisdk-native-j56e64zr.js} +1 -1
- package/dist/chunks/{file-39ydjj0q.js → aisdk-native-j5j4zr0n.js} +12 -12
- package/dist/chunks/{file-paphc93g.js → aisdk-native-j935v87r.js} +2 -2
- package/dist/chunks/{file-0r7yqxbf.js → aisdk-native-jk9a1ysw.js} +5 -5
- package/dist/chunks/{file-5k8nf3y0.js → aisdk-native-k16ay38w.js} +1 -1
- package/dist/chunks/{file-cqf55qpv.js → aisdk-native-k7zvybbz.js} +13 -13
- package/dist/chunks/{file-v84ecj13.js → aisdk-native-k8zhydtp.js} +41 -41
- package/dist/chunks/{file-84k0ms65.js → aisdk-native-kap7d8ny.js} +13 -13
- package/dist/chunks/{file-kg06axw8.js → aisdk-native-kg06axw8.js} +1 -1
- package/dist/chunks/{file-kaaek4yc.js → aisdk-native-ksz0h0wp.js} +1 -1
- package/dist/chunks/{file-yhks5pv3.js → aisdk-native-m27pyyd3.js} +6 -6
- package/dist/chunks/{file-m9w0rfyh.js → aisdk-native-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-j028xdjb.js → aisdk-native-mhkvc446.js} +3 -3
- package/dist/chunks/{file-mkcjrzeh.js → aisdk-native-mkcjrzeh.js} +1 -1
- package/dist/chunks/{file-v9yqefes.js → aisdk-native-mr2e4527.js} +32 -32
- package/dist/chunks/{file-6z8rkrt2.js → aisdk-native-mt76ms35.js} +27 -27
- package/dist/chunks/{file-nnsfn4jb.js → aisdk-native-mtx2vye4.js} +27 -27
- package/dist/chunks/{file-rq6a0dg0.js → aisdk-native-mw1247dj.js} +4 -4
- package/dist/chunks/{file-td8ytyxd.js → aisdk-native-mwzwsk9n.js} +11 -11
- package/dist/chunks/{file-0a423ajn.js → aisdk-native-mxncjdsk.js} +43 -43
- package/dist/chunks/{file-nfnqdzmc.js → aisdk-native-n76fdqym.js} +5 -5
- package/dist/chunks/{file-ct16t8sn.js → aisdk-native-n7w9w4s7.js} +11 -11
- package/dist/chunks/{file-j0hyjfyk.js → aisdk-native-nfxyqc0v.js} +9 -9
- package/dist/chunks/{file-hjkgy200.js → aisdk-native-nrq08cvv.js} +32 -32
- package/dist/chunks/{file-gctttn65.js → aisdk-native-nrtb1g45.js} +18 -18
- package/dist/chunks/{file-75kte9jx.js → aisdk-native-ntbmwyv9.js} +18 -18
- package/dist/chunks/{file-40bxqg89.js → aisdk-native-nzzy63ds.js} +11 -11
- package/dist/chunks/{file-b5v58ftx.js → aisdk-native-p0x1x402.js} +8 -8
- package/dist/chunks/{file-5t76y6t3.js → aisdk-native-p0y1ktg0.js} +60 -60
- package/dist/chunks/{file-qr42g2ex.js → aisdk-native-p4qt1y8s.js} +12 -12
- package/dist/chunks/{file-vpsn8azz.js → aisdk-native-p5948bz6.js} +23 -23
- package/dist/chunks/{file-pjvnvgmy.js → aisdk-native-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-pknna89w.js → aisdk-native-pknna89w.js} +1 -1
- package/dist/chunks/{file-b3yz7px1.js → aisdk-native-ppg1r0zn.js} +36 -36
- package/dist/chunks/{file-g1sb636y.js → aisdk-native-pw9v3g6d.js} +8 -8
- package/dist/chunks/{file-j1k07czg.js → aisdk-native-q3dfwa13.js} +5 -5
- package/dist/chunks/aisdk-native-q509s3k3.js +18 -0
- package/dist/chunks/{file-1vtz46z8.js → aisdk-native-q56zp3pb.js} +8 -8
- package/dist/chunks/{file-zfznrpx1.js → aisdk-native-q5j1bp2v.js} +4 -4
- package/dist/chunks/{file-915t83ht.js → aisdk-native-q6sd8jqx.js} +8 -8
- package/dist/chunks/{file-n8hp42zk.js → aisdk-native-q9d5c5bg.js} +23 -23
- package/dist/chunks/{file-85y38j38.js → aisdk-native-qa4pd714.js} +15 -15
- package/dist/chunks/{file-41nzdzyt.js → aisdk-native-qdjwk6et.js} +12 -12
- package/dist/chunks/{file-81swgkk7.js → aisdk-native-qg6emqy4.js} +9 -9
- package/dist/chunks/{file-t1d7geq2.js → aisdk-native-qm66azdk.js} +11 -11
- package/dist/chunks/{file-4gxnfwsp.js → aisdk-native-qnecgmg3.js} +39 -39
- package/dist/chunks/{file-dfe8djrf.js → aisdk-native-qq11w61w.js} +4 -4
- package/dist/chunks/{file-qsdy395h.js → aisdk-native-qsdy395h.js} +1 -1
- package/dist/chunks/{file-j1dc1ckq.js → aisdk-native-qtmhg6c3.js} +27 -27
- package/dist/chunks/{file-8st6sg7d.js → aisdk-native-qwt0xknm.js} +6 -6
- package/dist/chunks/aisdk-native-qyzw8b7h.js +247 -0
- package/dist/chunks/{file-ah20z6ve.js → aisdk-native-r4qygam9.js} +2 -2
- package/dist/chunks/{file-p6mw6jzc.js → aisdk-native-r9babyk8.js} +1 -1
- package/dist/chunks/{file-r9mregkx.js → aisdk-native-r9mregkx.js} +2 -2
- package/dist/chunks/{file-yczh3409.js → aisdk-native-rc7zsjvb.js} +29 -29
- package/dist/chunks/{file-n032fvft.js → aisdk-native-rgy7ctyq.js} +6 -6
- package/dist/chunks/{file-a1ttd06w.js → aisdk-native-rkc71d60.js} +26 -26
- package/dist/chunks/{file-qvb3nf84.js → aisdk-native-rmdyxgmk.js} +8 -8
- package/dist/chunks/aisdk-native-rmgpmqvg.js +462 -0
- package/dist/chunks/{file-cw20kccn.js → aisdk-native-rw0xhzfz.js} +9 -9
- package/dist/chunks/{file-53kvdkfc.js → aisdk-native-rwxhg8cn.js} +45 -45
- package/dist/chunks/{file-eg6tdpbh.js → aisdk-native-rxmwyzz4.js} +21 -21
- package/dist/chunks/{file-yrznvahk.js → aisdk-native-s4enseaf.js} +2 -2
- package/dist/chunks/{file-qj8eh1ht.js → aisdk-native-s8j6jbjj.js} +21 -21
- package/dist/chunks/{file-wepxzacc.js → aisdk-native-sx0kmj3h.js} +3 -3
- package/dist/chunks/{file-hgz4ddpy.js → aisdk-native-syvyg8jx.js} +18 -18
- package/dist/chunks/{file-0gb42mpy.js → aisdk-native-t138kpbp.js} +4 -4
- package/dist/chunks/{file-p33ejz0k.js → aisdk-native-t23qze4t.js} +1 -1
- package/dist/chunks/{file-tjr0drtg.js → aisdk-native-t2w7qj2h.js} +15 -15
- package/dist/chunks/{file-0gdmqesm.js → aisdk-native-t550f9t1.js} +4 -4
- package/dist/chunks/{file-r0q5qwf7.js → aisdk-native-t5kb7xrj.js} +17 -17
- package/dist/chunks/{file-v6krneed.js → aisdk-native-t7z3zppm.js} +2 -2
- package/dist/chunks/{file-tazgh4e4.js → aisdk-native-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-tcezcvh9.js → aisdk-native-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-tdstcens.js → aisdk-native-tdstcens.js} +1 -1
- package/dist/chunks/{file-3q86das3.js → aisdk-native-tm0ysbqm.js} +32 -32
- package/dist/chunks/{file-tvtrv512.js → aisdk-native-tvtrv512.js} +1 -1
- package/dist/chunks/{file-01x5ayvb.js → aisdk-native-tzgha2eb.js} +10 -10
- package/dist/chunks/{file-etq9z835.js → aisdk-native-v4b36nj3.js} +2 -2
- package/dist/chunks/{file-81wjxh2j.js → aisdk-native-v4jjqebk.js} +16 -16
- package/dist/chunks/{file-veqvce7d.js → aisdk-native-veqvce7d.js} +1 -1
- package/dist/chunks/{file-4zqvh54v.js → aisdk-native-vnxf3xq1.js} +53 -53
- package/dist/chunks/{file-y3ak5rv5.js → aisdk-native-vsq8jhd6.js} +58 -58
- package/dist/chunks/{file-51b1p1nf.js → aisdk-native-vvv3thrh.js} +12 -12
- package/dist/chunks/{file-y2rgym3m.js → aisdk-native-vxwzppst.js} +9 -9
- package/dist/chunks/{file-vzcthcp8.js → aisdk-native-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-f7xc3wa1.js → aisdk-native-w2187ed2.js} +24 -24
- package/dist/chunks/{file-bty97h6q.js → aisdk-native-w3hwtebh.js} +7 -7
- package/dist/chunks/{file-w3wsvvr9.js → aisdk-native-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-a12ktaww.js → aisdk-native-w48scv8w.js} +6 -6
- package/dist/chunks/{file-rj8m8qzm.js → aisdk-native-w4v2becs.js} +7 -7
- package/dist/chunks/{file-ha2h0zjh.js → aisdk-native-w6v733tr.js} +27 -27
- package/dist/chunks/{file-wd87259q.js → aisdk-native-wd87259q.js} +1 -1
- package/dist/chunks/{file-1qvh4tdd.js → aisdk-native-wgrkr345.js} +87 -87
- package/dist/chunks/{file-6wbs09gh.js → aisdk-native-wsk9egft.js} +11 -11
- package/dist/chunks/{file-w3tvvpzb.js → aisdk-native-wspyg160.js} +15 -15
- package/dist/chunks/{file-7sqxeqwy.js → aisdk-native-x0511brf.js} +4 -4
- package/dist/chunks/{file-x1ezjp6w.js → aisdk-native-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-tpw6cwsb.js → aisdk-native-x3et2xth.js} +8 -8
- package/dist/chunks/{file-r6r1pz2h.js → aisdk-native-x3hrgzzj.js} +33 -33
- package/dist/chunks/{file-s9wkemjm.js → aisdk-native-x47ex9qk.js} +16 -16
- package/dist/chunks/{file-jzd3sdz4.js → aisdk-native-x5f4ydnm.js} +13 -13
- package/dist/chunks/{file-caevyejh.js → aisdk-native-x5tmsv1z.js} +22 -22
- package/dist/chunks/{file-10m077g0.js → aisdk-native-x90ekrdb.js} +6 -6
- package/dist/chunks/{file-8tf464ev.js → aisdk-native-xbp5vre2.js} +35 -35
- package/dist/chunks/{file-84zt2byv.js → aisdk-native-xekzrwwc.js} +9 -9
- package/dist/chunks/{file-zrd73k1r.js → aisdk-native-xfqaw5jk.js} +32 -32
- package/dist/chunks/{file-qbrwkfs8.js → aisdk-native-xhh24fr8.js} +11 -11
- package/dist/chunks/{file-jzzy94zk.js → aisdk-native-xhmq8qgk.js} +9 -9
- package/dist/chunks/{file-y1fvbwt7.js → aisdk-native-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-nyj7fnw9.js → aisdk-native-y4h9daa2.js} +35 -35
- package/dist/chunks/{file-dpkg50ah.js → aisdk-native-y71avatq.js} +4 -4
- package/dist/chunks/{file-yddgxcp4.js → aisdk-native-yddgxcp4.js} +2 -2
- package/dist/chunks/{file-qz8n5g0w.js → aisdk-native-yep2bc9q.js} +11 -11
- package/dist/chunks/{file-m2h2dh4q.js → aisdk-native-yhy3dzz1.js} +15 -15
- package/dist/chunks/{file-yrhqyw5v.js → aisdk-native-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-s8b69be9.js → aisdk-native-yxq4x6j1.js} +8 -8
- package/dist/chunks/{file-c6090g2y.js → aisdk-native-yzahj7qk.js} +40 -40
- package/dist/chunks/{file-z0bkrqjs.js → aisdk-native-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-dv8j6wzk.js → aisdk-native-z2kjg3n2.js} +15 -15
- package/dist/chunks/{file-d1jmswd2.js → aisdk-native-z69s9t6b.js} +5 -5
- package/dist/chunks/{file-avp3hhf2.js → aisdk-native-z9g8v05p.js} +29 -29
- package/dist/chunks/{file-qmj11y7g.js → aisdk-native-zbpnfvtq.js} +24 -24
- package/dist/chunks/{file-stntv2hh.js → aisdk-native-zebk3f7x.js} +21 -21
- package/dist/chunks/{file-zeh9ct20.js → aisdk-native-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-0ccn345w.js → aisdk-native-zkqp0xtw.js} +23 -23
- package/dist/chunks/{file-v1d6h3jw.js → aisdk-native-zmz8tvp3.js} +11 -11
- package/dist/chunks/{file-zr2ceqn5.js → aisdk-native-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-kegs65m0.js → aisdk-native-zrtmhd6x.js} +28 -28
- package/dist/chunks/{file-zxq2ej10.js → aisdk-native-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 +79 -79
- package/dist/config/discovery.js +77 -77
- 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 +117 -117
- 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 +72 -72
- 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 +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +96 -96
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- 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 +7 -7
- 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 +84 -84
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +131 -131
- 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 +120 -120
- 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 +7 -7
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +8 -8
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +110 -110
- 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 +5 -5
- 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 +117 -117
- 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 +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +343 -343
- 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 +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- 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 +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +15 -15
- 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 +2 -2
- 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 +3 -3
- 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 +5 -5
- 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 +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +100 -100
- package/dist/skill.js +103 -103
- package/dist/snapshot.js +88 -88
- 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 +119 -119
- 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 +98 -98
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +106 -106
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +101 -101
- 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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- 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 +7 -7
- 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 +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +342 -342
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +8 -8
- package/dist/chunks/file-1x11rq2a.js +0 -18
- package/dist/chunks/file-8b4f4643.js +0 -462
- 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 → aisdk-native-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-0zkw76rk.js → aisdk-native-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-17cy0kzp.js → aisdk-native-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-1cnp2v09.js → aisdk-native-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-1kg9ymc8.js → aisdk-native-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-2710q6r3.js → aisdk-native-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-2axfhc9x.js → aisdk-native-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-2c3vjs8z.js → aisdk-native-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-359p4xyc.js → aisdk-native-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-3asan66x.js → aisdk-native-3asan66x.js} +0 -0
- /package/dist/chunks/{file-3v8g72cx.js → aisdk-native-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-3w5fmr99.js → aisdk-native-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-3wcehsnq.js → aisdk-native-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-43n2bw4t.js → aisdk-native-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-4knz6hnm.js → aisdk-native-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-4vcrnpx2.js → aisdk-native-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-4y7fprxs.js → aisdk-native-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-53557ph1.js → aisdk-native-53557ph1.js} +0 -0
- /package/dist/chunks/{file-550bvhaj.js → aisdk-native-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-6prwharc.js → aisdk-native-6prwharc.js} +0 -0
- /package/dist/chunks/{file-7akdwqpd.js → aisdk-native-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-7m9af43g.js → aisdk-native-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-822emrt2.js → aisdk-native-822emrt2.js} +0 -0
- /package/dist/chunks/{file-88xbtdfr.js → aisdk-native-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-8n3pysct.js → aisdk-native-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-922hggd3.js → aisdk-native-922hggd3.js} +0 -0
- /package/dist/chunks/{file-9a4afbnw.js → aisdk-native-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-9rqn6x4v.js → aisdk-native-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-a6k6eb26.js → aisdk-native-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-af5trqkr.js → aisdk-native-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-afrmfg78.js → aisdk-native-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-aqzs7mqg.js → aisdk-native-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-atq7p7m5.js → aisdk-native-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-bkyjaxrp.js → aisdk-native-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-bmr6ed5q.js → aisdk-native-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-cf4snx6d.js → aisdk-native-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-cvy3z8tj.js → aisdk-native-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-d9fn303g.js → aisdk-native-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-d9jj8t3e.js → aisdk-native-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-dajrwvna.js → aisdk-native-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-dap0rakb.js → aisdk-native-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-df08tz66.js → aisdk-native-df08tz66.js} +0 -0
- /package/dist/chunks/{file-dy18nga0.js → aisdk-native-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-e5kj55wp.js → aisdk-native-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-e73j6tqm.js → aisdk-native-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-ec1grn59.js → aisdk-native-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-eh3zwz77.js → aisdk-native-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-emrn6kk6.js → aisdk-native-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-f0mxakyp.js → aisdk-native-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-f6n9ztr4.js → aisdk-native-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-faypxj3z.js → aisdk-native-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-fd410y7t.js → aisdk-native-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-fxgpk5d8.js → aisdk-native-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-g4wezp1m.js → aisdk-native-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-g86h250q.js → aisdk-native-g86h250q.js} +0 -0
- /package/dist/chunks/{file-gebd4c9n.js → aisdk-native-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-gftt206x.js → aisdk-native-gftt206x.js} +0 -0
- /package/dist/chunks/{file-hjbc5kem.js → aisdk-native-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-hk9envan.js → aisdk-native-hk9envan.js} +0 -0
- /package/dist/chunks/{file-hrnqkpcd.js → aisdk-native-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{file-j2ntwpah.js → aisdk-native-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-j5zkgpj8.js → aisdk-native-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-jr7sbwjy.js → aisdk-native-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-jwfs4k6c.js → aisdk-native-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-jzg6c2d5.js → aisdk-native-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-mp448xyj.js → aisdk-native-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-msx8hqn2.js → aisdk-native-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-n05xt0ee.js → aisdk-native-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-n3j8tn72.js → aisdk-native-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-njntx4h6.js → aisdk-native-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-q3sfg36h.js → aisdk-native-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-q74kybfr.js → aisdk-native-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-qaymkmh1.js → aisdk-native-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-qb87gjwd.js → aisdk-native-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-qfa1cgps.js → aisdk-native-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-qrg20bc0.js → aisdk-native-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-rcb2kzg1.js → aisdk-native-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-sdp7kfr6.js → aisdk-native-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-sk3qaz4a.js → aisdk-native-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-ssg3fenm.js → aisdk-native-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-twg0f83k.js → aisdk-native-twg0f83k.js} +0 -0
- /package/dist/chunks/{file-w803qqfp.js → aisdk-native-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-wer8tq1h.js → aisdk-native-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-wtztk69x.js → aisdk-native-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-x0ckcb58.js → aisdk-native-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-x61499pn.js → aisdk-native-x61499pn.js} +0 -0
- /package/dist/chunks/{file-y44na4kk.js → aisdk-native-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-y8cydn3q.js → aisdk-native-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-ygaqb7jw.js → aisdk-native-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-ym463w8f.js → aisdk-native-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-z9919s4g.js → aisdk-native-z9919s4g.js} +0 -0
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./aisdk-native-83028rk2.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./aisdk-native-y71avatq.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service78,
|
|
10
|
+
node83
|
|
11
|
+
} from "./aisdk-native-7z99814y.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./aisdk-native-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessage2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./aisdk-native-gftt206x.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionSchema2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./aisdk-native-dv250zvr.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionMessageTable2,
|
|
23
23
|
SessionInboxTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./aisdk-native-a1bz86dw.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./aisdk-native-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: () => Info8,
|
|
36
36
|
Item: () => Item2,
|
|
37
37
|
LifecycleConflict: () => LifecycleConflict2,
|
|
38
38
|
Move: () => Move2,
|
|
39
39
|
MovePayload: () => MovePayload2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service50,
|
|
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: () => node55,
|
|
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 Info8,
|
|
69
69
|
Item as Item2,
|
|
70
70
|
Move as Move2,
|
|
71
71
|
MovePayload as MovePayload2,
|
|
@@ -151,12 +151,12 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
151
151
|
return yield* new LifecycleConflict2({ id });
|
|
152
152
|
});
|
|
153
153
|
|
|
154
|
-
class
|
|
154
|
+
class Service50 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
|
-
const bus = yield*
|
|
159
|
+
const bus = yield* Service78;
|
|
160
160
|
const reconcile = Effect.fn("SessionInbox.reconcile")(function* (request) {
|
|
161
161
|
const existing = (yield* find2(db, request.id)) ?? (yield* promotedFromMessage(db, request.sessionID, request.id, request.delivery));
|
|
162
162
|
if (existing === undefined)
|
|
@@ -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) => Info8.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(Service50, make18());
|
|
231
|
+
var node55 = makeGlobalNode({ service: Service50, layer: layer21, deps: [node85, node83] });
|
|
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, Info8, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service50, make18, layer21, node55, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list4, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Service78,
|
|
3
|
+
node83
|
|
4
|
+
} from "./aisdk-native-7z99814y.js";
|
|
1
5
|
import {
|
|
2
6
|
Service79,
|
|
3
7
|
node84
|
|
4
|
-
} from "./
|
|
5
|
-
import {
|
|
6
|
-
Service62,
|
|
7
|
-
node65
|
|
8
|
-
} from "./file-shyev4mk.js";
|
|
8
|
+
} from "./aisdk-native-cv1ed7e8.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./aisdk-native-kg06axw8.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/websearch.ts
|
|
17
17
|
var exports_websearch3 = {};
|
|
18
18
|
__export(exports_websearch3, {
|
|
19
19
|
DisabledError: () => DisabledError2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Input: () =>
|
|
20
|
+
Event: () => Event9,
|
|
21
|
+
ID: () => ID7,
|
|
22
|
+
Input: () => Input14,
|
|
23
23
|
Provider: () => Provider2,
|
|
24
24
|
ProviderKey: () => ProviderKey2,
|
|
25
25
|
ProviderNotFoundError: () => ProviderNotFoundError2,
|
|
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
|
|
|
28
28
|
Response: () => Response2,
|
|
29
29
|
Result: () => Result2,
|
|
30
30
|
Selection: () => Selection2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service46,
|
|
32
32
|
WebSearch: () => exports_websearch3,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node52
|
|
34
34
|
});
|
|
35
35
|
import { WebSearch } from "@opencode/schema/websearch";
|
|
36
36
|
import { SessionEvent } from "@opencode/schema/session-event";
|
|
37
37
|
import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
|
|
38
38
|
import { HttpClientError } from "effect/unstable/http";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
import { Event as
|
|
41
|
-
var
|
|
40
|
+
import { Event as Event9 } from "@opencode/schema/websearch";
|
|
41
|
+
var ID7 = WebSearch.ID;
|
|
42
42
|
var Provider2 = WebSearch.Provider;
|
|
43
|
-
var
|
|
43
|
+
var Input14 = WebSearch.Input;
|
|
44
44
|
var Result2 = WebSearch.Result;
|
|
45
45
|
var Response2 = WebSearch.Response;
|
|
46
46
|
var ProviderKey2 = "websearch:provider";
|
|
47
|
-
var Selection2 = Schema.Union([
|
|
47
|
+
var Selection2 = Schema.Union([ID7, Schema.Literal("random"), Schema.Literal(false)]);
|
|
48
48
|
|
|
49
49
|
class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
|
|
53
|
-
providerID:
|
|
53
|
+
providerID: ID7
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
61
|
-
providerID:
|
|
61
|
+
providerID: ID7,
|
|
62
62
|
cause: Schema.Defect()
|
|
63
63
|
}) {
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
class
|
|
66
|
+
class Service46 extends Context.Service()("@opencode/WebSearch") {
|
|
67
67
|
}
|
|
68
|
-
var layer = Layer.effect(
|
|
69
|
-
const bus = yield*
|
|
70
|
-
const kv = yield*
|
|
68
|
+
var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
69
|
+
const bus = yield* Service78;
|
|
70
|
+
const kv = yield* Service79;
|
|
71
71
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
72
72
|
const cooldowns = new Map;
|
|
73
73
|
const preferred = new Map;
|
|
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
124
124
|
}
|
|
125
125
|
return choice ? state.get().providers.get(choice) : undefined;
|
|
126
126
|
});
|
|
127
|
-
return
|
|
127
|
+
return Service46.of({
|
|
128
128
|
transform: state.transform,
|
|
129
129
|
reload: state.reload,
|
|
130
130
|
providers: Effect.fn("WebSearch.providers")(function* () {
|
|
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
|
|
|
184
184
|
const date = Date.parse(value);
|
|
185
185
|
return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
|
|
186
186
|
}
|
|
187
|
-
var
|
|
188
|
-
service:
|
|
187
|
+
var node52 = makeLocationNode({
|
|
188
|
+
service: Service46,
|
|
189
189
|
layer,
|
|
190
|
-
deps: [
|
|
190
|
+
deps: [node83, node84]
|
|
191
191
|
});
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { ID7, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service46, node52, exports_websearch3, Event9 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-rxmwyzz4.js";
|
|
4
4
|
import {
|
|
5
5
|
lazy2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-native-88xbtdfr.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./aisdk-native-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/shell/parse.ts
|
|
15
15
|
var exports_parse = {};
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-native-dv250zvr.js";
|
|
7
7
|
import {
|
|
8
8
|
MessageDecodeError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./aisdk-native-3jqe0tdq.js";
|
|
10
10
|
import {
|
|
11
11
|
InitializationBlocked2,
|
|
12
12
|
read3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./aisdk-native-t550f9t1.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./aisdk-native-a1bz86dw.js";
|
|
17
17
|
import {
|
|
18
18
|
initial2,
|
|
19
19
|
preview3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./aisdk-native-bajakh74.js";
|
|
21
21
|
import {
|
|
22
22
|
compatible2,
|
|
23
23
|
isCheckpoint2,
|
|
24
24
|
validate2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./aisdk-native-bccb6npm.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/session/history.ts
|
|
31
31
|
var exports_history = {};
|
|
@@ -35,7 +35,7 @@ __export(exports_history, {
|
|
|
35
35
|
entriesForRunner: () => entriesForRunner2,
|
|
36
36
|
firstUserMessage: () => firstUserMessage2,
|
|
37
37
|
latestCompaction: () => latestCompaction2,
|
|
38
|
-
load: () =>
|
|
38
|
+
load: () => load2,
|
|
39
39
|
preview: () => preview2
|
|
40
40
|
});
|
|
41
41
|
import { and, asc, desc, eq, gte, or, sql } from "drizzle-orm";
|
|
@@ -56,7 +56,7 @@ var messageEntries = Effect.fnUntraced(function* (db, sessionID, boundary) {
|
|
|
56
56
|
const native = entries.findLast((entry) => isCheckpoint2(entry.message));
|
|
57
57
|
return entries.filter((entry) => !(entry.message.type === "system" && native && entry.seq < native.seq) && replayable(entry.message, boundary));
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var load2 = Effect.fn("SessionHistory.load")(function* (db, sessionID, boundary) {
|
|
60
60
|
return (yield* messageEntries(db, sessionID, boundary)).map((entry) => entry.message);
|
|
61
61
|
});
|
|
62
62
|
var entriesForRunner2 = Effect.fn("SessionHistory.entriesForRunner")(function* (db, sessionID, instructions, boundary) {
|
|
@@ -92,4 +92,4 @@ var firstUserMessage2 = Effect.fn("SessionHistory.firstUserMessage")(function* (
|
|
|
92
92
|
return message?.type === "user" ? message : undefined;
|
|
93
93
|
});
|
|
94
94
|
|
|
95
|
-
export { latestCompaction2, decodeMessageRow2,
|
|
95
|
+
export { latestCompaction2, decodeMessageRow2, load2, entriesForRunner2, preview2, firstUserMessage2, exports_history };
|
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./aisdk-native-922hggd3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Info25
|
|
7
|
+
} from "./aisdk-native-s8j6jbjj.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Info19
|
|
10
|
+
} from "./aisdk-native-1y1z8jnb.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Info20
|
|
13
|
+
} from "./aisdk-native-2qp6y8xf.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Info21
|
|
16
|
+
} from "./aisdk-native-806j49yq.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Info22
|
|
19
|
+
} from "./aisdk-native-hdzt82x2.js";
|
|
20
20
|
import {
|
|
21
21
|
Layout2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./aisdk-native-21r38tys.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Info27
|
|
25
|
+
} from "./aisdk-native-4p37gy4n.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
Info23
|
|
28
|
+
} from "./aisdk-native-avm8jn6n.js";
|
|
29
29
|
import {
|
|
30
30
|
Spec2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./aisdk-native-fcrkznn8.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Info26
|
|
34
|
+
} from "./aisdk-native-jk9a1ysw.js";
|
|
35
35
|
import {
|
|
36
36
|
Server2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./aisdk-native-zeh9ct20.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Info24
|
|
40
|
+
} from "./aisdk-native-qq11w61w.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/v1/config/config.ts
|
|
46
46
|
var exports_config2 = {};
|
|
47
47
|
__export(exports_config2, {
|
|
48
48
|
ConfigV1: () => exports_config2,
|
|
49
|
-
Info: () =>
|
|
49
|
+
Info: () => Info18,
|
|
50
50
|
WellKnown: () => WellKnown2
|
|
51
51
|
});
|
|
52
52
|
import { Schema } from "effect";
|
|
@@ -59,7 +59,7 @@ var LogLevelRef = Schema.Literals(["DEBUG", "INFO", "WARN", "ERROR"]).annotate({
|
|
|
59
59
|
identifier: "LogLevel",
|
|
60
60
|
description: "Log level"
|
|
61
61
|
});
|
|
62
|
-
var
|
|
62
|
+
var Info18 = Schema.Struct({
|
|
63
63
|
$schema: Schema.optional(Schema.String).annotate({
|
|
64
64
|
description: "JSON schema reference for configuration validation"
|
|
65
65
|
}),
|
|
@@ -68,10 +68,10 @@ var Info10 = Schema.Struct({
|
|
|
68
68
|
server: Schema.optional(Server2).annotate({
|
|
69
69
|
description: "Server configuration for opencode serve and web commands"
|
|
70
70
|
}),
|
|
71
|
-
command: Schema.optional(Schema.Record(Schema.String,
|
|
71
|
+
command: Schema.optional(Schema.Record(Schema.String, Info21)).annotate({
|
|
72
72
|
description: "Command configuration, see https://opencode.ai/docs/commands"
|
|
73
73
|
}),
|
|
74
|
-
skills: Schema.optional(
|
|
74
|
+
skills: Schema.optional(Info24).annotate({ description: "Additional skill folder paths" }),
|
|
75
75
|
references: Schema.optional(ConfigReference.Info).annotate({
|
|
76
76
|
description: "Named git or local directory references"
|
|
77
77
|
}),
|
|
@@ -113,33 +113,33 @@ var Info10 = Schema.Struct({
|
|
|
113
113
|
username: Schema.optional(Schema.String).annotate({
|
|
114
114
|
description: "Custom username to display in conversations instead of system username"
|
|
115
115
|
}),
|
|
116
|
-
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(
|
|
116
|
+
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(Info19), plan: Schema.optional(Info19) }), [Schema.Record(Schema.String, Info19)])).annotate({ description: "@deprecated Use `agent` field instead." }),
|
|
117
117
|
agent: Schema.optional(Schema.StructWithRest(Schema.Struct({
|
|
118
|
-
plan: Schema.optional(
|
|
119
|
-
build: Schema.optional(
|
|
120
|
-
general: Schema.optional(
|
|
121
|
-
explore: Schema.optional(
|
|
122
|
-
title: Schema.optional(
|
|
123
|
-
summary: Schema.optional(
|
|
124
|
-
compaction: Schema.optional(
|
|
125
|
-
}), [Schema.Record(Schema.String,
|
|
126
|
-
provider: Schema.optional(Schema.Record(Schema.String,
|
|
118
|
+
plan: Schema.optional(Info19),
|
|
119
|
+
build: Schema.optional(Info19),
|
|
120
|
+
general: Schema.optional(Info19),
|
|
121
|
+
explore: Schema.optional(Info19),
|
|
122
|
+
title: Schema.optional(Info19),
|
|
123
|
+
summary: Schema.optional(Info19),
|
|
124
|
+
compaction: Schema.optional(Info19)
|
|
125
|
+
}), [Schema.Record(Schema.String, Info19)])).annotate({ description: "Agent configuration, see https://opencode.ai/docs/agents" }),
|
|
126
|
+
provider: Schema.optional(Schema.Record(Schema.String, Info26)).annotate({
|
|
127
127
|
description: "Custom provider configurations and model overrides"
|
|
128
128
|
}),
|
|
129
|
-
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([
|
|
130
|
-
formatter: Schema.optional(
|
|
129
|
+
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([Info23, Schema.Struct({ enabled: Schema.Boolean })]))).annotate({ description: "MCP (Model Context Protocol) server configurations" }),
|
|
130
|
+
formatter: Schema.optional(Info22).annotate({
|
|
131
131
|
description: "Enable or configure formatters. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
|
|
132
132
|
}),
|
|
133
|
-
lsp: Schema.optional(
|
|
133
|
+
lsp: Schema.optional(Info27).annotate({
|
|
134
134
|
description: "Enable or configure LSP servers. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
|
|
135
135
|
}),
|
|
136
136
|
instructions: Schema.optional(Schema.mutable(Schema.Array(Schema.String))).annotate({
|
|
137
137
|
description: "Additional instruction files or patterns to include"
|
|
138
138
|
}),
|
|
139
139
|
layout: Schema.optional(Layout2).annotate({ description: "@deprecated Always uses stretch layout." }),
|
|
140
|
-
permission: Schema.optional(
|
|
140
|
+
permission: Schema.optional(Info25),
|
|
141
141
|
tools: Schema.optional(Schema.Record(Schema.String, Schema.Boolean)),
|
|
142
|
-
attachment: Schema.optional(
|
|
142
|
+
attachment: Schema.optional(Info20).annotate({
|
|
143
143
|
description: "Attachment processing configuration, including image size limits and resizing behavior"
|
|
144
144
|
}),
|
|
145
145
|
enterprise: Schema.optional(Schema.Struct({ url: Schema.optional(Schema.String).annotate({ description: "Enterprise URL" }) })),
|
|
@@ -191,4 +191,4 @@ var Info10 = Schema.Struct({
|
|
|
191
191
|
}))
|
|
192
192
|
}).annotate({ identifier: "Config" });
|
|
193
193
|
|
|
194
|
-
export { WellKnown2,
|
|
194
|
+
export { WellKnown2, Info18, exports_config2 };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID18,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./aisdk-native-m27pyyd3.js";
|
|
6
6
|
|
|
7
7
|
// src/plugin/provider/google-vertex.ts
|
|
8
8
|
import { Effect } from "effect";
|
|
@@ -39,7 +39,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
39
39
|
for (const item of evt.provider.list()) {
|
|
40
40
|
if (!isAISDK2(item.provider.package))
|
|
41
41
|
continue;
|
|
42
|
-
if (packageName2(item.provider.package) !== "@ai-sdk/google-vertex" && !(item.provider.id ===
|
|
42
|
+
if (packageName2(item.provider.package) !== "@ai-sdk/google-vertex" && !(item.provider.id === ID18.googleVertex && packageName2(item.provider.package)?.includes("@ai-sdk/openai-compatible")))
|
|
43
43
|
continue;
|
|
44
44
|
const project = resolveProject(item.provider.settings ?? {});
|
|
45
45
|
const location = String(resolveLocation(item.provider.settings ?? {}));
|
|
@@ -56,7 +56,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
56
56
|
}
|
|
57
57
|
});
|
|
58
58
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
59
|
-
if (evt.model.providerID ===
|
|
59
|
+
if (evt.model.providerID === ID18.googleVertex && evt.package.includes("@ai-sdk/openai-compatible")) {
|
|
60
60
|
evt.options.fetch = authFetch(evt.options.fetch);
|
|
61
61
|
return;
|
|
62
62
|
}
|
|
@@ -87,7 +87,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
87
87
|
});
|
|
88
88
|
}));
|
|
89
89
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
90
|
-
if (evt.model.providerID !==
|
|
90
|
+
if (evt.model.providerID !== ID18.googleVertex)
|
|
91
91
|
return;
|
|
92
92
|
evt.language = evt.sdk.languageModel(String(evt.model.modelID ?? evt.model.id).trim());
|
|
93
93
|
}));
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service69
|
|
3
|
+
} from "./aisdk-native-w6v733tr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service53
|
|
6
|
+
} from "./aisdk-native-vsq8jhd6.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./aisdk-native-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,
|
|
@@ -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*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service69;
|
|
57
|
+
const permission = yield* Service53;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
59
|
name: name14,
|
|
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 { name14, description6,
|
|
118
|
+
export { name14, description6, Input13, Output9, CancelledError2, toModelContent7, Plugin45, exports_question };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service74
|
|
3
|
+
} from "./aisdk-native-3mn8z65d.js";
|
|
4
4
|
import {
|
|
5
5
|
PATCH_CONTEXT_LINES2,
|
|
6
6
|
MAX_PATCH_BYTES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./aisdk-native-tazgh4e4.js";
|
|
11
11
|
import {
|
|
12
12
|
DiffError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./aisdk-native-p5948bz6.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/plugin/vcs/git.ts
|
|
19
19
|
var exports_git = {};
|
|
20
20
|
__export(exports_git, {
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin3,
|
|
22
22
|
VcsGitPlugin: () => exports_git
|
|
23
23
|
});
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
25
|
import { Effect } from "effect";
|
|
26
26
|
import { ChildProcess } from "effect/unstable/process";
|
|
27
27
|
import { AppProcess } from "@opencode/util/process";
|
|
28
|
-
var
|
|
28
|
+
var Plugin3 = define({
|
|
29
29
|
id: "opencode.vcs.git",
|
|
30
30
|
effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
|
|
31
|
-
const location = yield*
|
|
31
|
+
const location = yield* Service74;
|
|
32
32
|
if (location.vcs?.type !== "git")
|
|
33
33
|
return;
|
|
34
34
|
const processes = yield* AppProcess.Service;
|
|
@@ -467,4 +467,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
467
467
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
468
468
|
});
|
|
469
469
|
|
|
470
|
-
export {
|
|
470
|
+
export { Plugin3, exports_git };
|