@opencode/core 0.0.0-dev-20292 → 0.0.0-dev-20295
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 +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +5 -5
- package/dist/bus.js +69 -69
- package/dist/chunks/{ripgrep-2dfsp93b.js → location-016zrmbp.js} +40 -40
- package/dist/chunks/{ripgrep-w29ra1z6.js → location-03b5ykzw.js} +3 -3
- package/dist/chunks/{ripgrep-rpg9c19m.js → location-06x8he3q.js} +4 -4
- package/dist/chunks/{ripgrep-n542nw20.js → location-09mh3h53.js} +15 -15
- package/dist/chunks/{ripgrep-rgwtw4pk.js → location-0g11kb4v.js} +13 -13
- package/dist/chunks/{ripgrep-0czp0bk4.js → location-0jvg19fh.js} +21 -21
- package/dist/chunks/{ripgrep-0paq2nw3.js → location-0paq2nw3.js} +1 -1
- package/dist/chunks/{ripgrep-j4g07zwy.js → location-13xegjf9.js} +33 -33
- package/dist/chunks/{ripgrep-4hkxpksb.js → location-15zraegk.js} +30 -30
- package/dist/chunks/{ripgrep-5vtq9k1b.js → location-16a16tg4.js} +13 -13
- package/dist/chunks/{ripgrep-f5gy8qwh.js → location-18rp1xkf.js} +8 -8
- package/dist/chunks/{ripgrep-2f7cedef.js → location-1akzjdkx.js} +20 -20
- package/dist/chunks/{ripgrep-1dazxqgg.js → location-1dazxqgg.js} +2 -2
- package/dist/chunks/{ripgrep-6g6nvm69.js → location-1gmrbm9q.js} +20 -20
- package/dist/chunks/{ripgrep-4djqy3b1.js → location-1jysqf0q.js} +26 -26
- package/dist/chunks/{ripgrep-2dch9cv2.js → location-1qetcq2f.js} +4 -4
- package/dist/chunks/location-1s2cnys0.js +252 -0
- package/dist/chunks/{ripgrep-937m9zg6.js → location-1zr7j3r4.js} +5 -5
- package/dist/chunks/{ripgrep-21r38tys.js → location-21r38tys.js} +1 -1
- package/dist/chunks/{ripgrep-464yenze.js → location-25h6wh0b.js} +33 -33
- package/dist/chunks/{ripgrep-hw1tkaa7.js → location-27z7pma6.js} +16 -16
- package/dist/chunks/{ripgrep-8d0p2m37.js → location-299n82gd.js} +8 -8
- package/dist/chunks/{ripgrep-2a5m3afh.js → location-2a5m3afh.js} +1 -1
- package/dist/chunks/{ripgrep-qgn6gcr1.js → location-2k8khapm.js} +5 -5
- package/dist/chunks/{ripgrep-669mnavw.js → location-2r60reda.js} +21 -21
- package/dist/chunks/{ripgrep-bdqrk2vk.js → location-2y34zzjz.js} +4 -4
- package/dist/chunks/{ripgrep-52dfra55.js → location-2zxaccxt.js} +10 -10
- package/dist/chunks/{ripgrep-xq1s1hxa.js → location-30pndsv9.js} +4 -4
- package/dist/chunks/{ripgrep-73a2vzjg.js → location-3ez35teb.js} +15 -15
- package/dist/chunks/{ripgrep-3fc6dm20.js → location-3fc6dm20.js} +1 -1
- package/dist/chunks/{ripgrep-3hepkmqq.js → location-3hepkmqq.js} +1 -1
- package/dist/chunks/{ripgrep-a8zr1srk.js → location-3pbjq009.js} +8 -8
- package/dist/chunks/{ripgrep-j3s2z371.js → location-3pe7sts8.js} +9 -9
- package/dist/chunks/{ripgrep-3smtnn6g.js → location-3smtnn6g.js} +1 -1
- package/dist/chunks/{ripgrep-3tvqynh2.js → location-3tvqynh2.js} +1 -1
- package/dist/chunks/{ripgrep-3zsf4n22.js → location-3zsf4n22.js} +1 -1
- package/dist/chunks/{ripgrep-0bfcnrg1.js → location-427t97hr.js} +1 -1
- package/dist/chunks/{ripgrep-eqd5qykg.js → location-46t99vnr.js} +13 -13
- package/dist/chunks/{ripgrep-aq3yrsfq.js → location-4928d4yw.js} +11 -11
- package/dist/chunks/{ripgrep-4vznd14g.js → location-4c9fncqc.js} +5 -5
- package/dist/chunks/{ripgrep-atg39wsg.js → location-4gma0qdv.js} +11 -11
- package/dist/chunks/{ripgrep-5yjg4844.js → location-4jmq7cn8.js} +11 -11
- package/dist/chunks/{ripgrep-wexprs6b.js → location-4r1h02t6.js} +29 -29
- package/dist/chunks/{ripgrep-rx84aht4.js → location-4sb5xsr0.js} +15 -15
- package/dist/chunks/{ripgrep-p2szdq98.js → location-4v0x0v53.js} +44 -44
- package/dist/chunks/{ripgrep-cznrqaaz.js → location-4vgcem2z.js} +1 -1
- package/dist/chunks/{ripgrep-avzdjs5z.js → location-51n8w2am.js} +6 -6
- package/dist/chunks/{ripgrep-54ma36ye.js → location-54ma36ye.js} +1 -1
- package/dist/chunks/{ripgrep-mfqp6xfm.js → location-56gdpj1q.js} +6 -6
- package/dist/chunks/{ripgrep-5nf5fkza.js → location-58exf9s3.js} +18 -18
- package/dist/chunks/{ripgrep-97d1gz13.js → location-5aserzf1.js} +11 -11
- package/dist/chunks/{ripgrep-k7sekcqa.js → location-5bpccfdn.js} +19 -19
- package/dist/chunks/{ripgrep-5daktx2q.js → location-5daktx2q.js} +1 -1
- package/dist/chunks/{ripgrep-s7cej264.js → location-5j3nemfx.js} +24 -24
- package/dist/chunks/{ripgrep-5848hxr9.js → location-5kbmmh0w.js} +11 -11
- package/dist/chunks/{ripgrep-zpmxzwgb.js → location-5ns8y5nv.js} +8 -8
- package/dist/chunks/{ripgrep-x4k31b5q.js → location-5pc7ckbf.js} +39 -39
- package/dist/chunks/{ripgrep-5t3nmthw.js → location-5t3nmthw.js} +2 -2
- package/dist/chunks/{ripgrep-xwm6bryg.js → location-5xpznt2d.js} +4 -4
- package/dist/chunks/{ripgrep-dqx57jvk.js → location-613reg7y.js} +7 -7
- package/dist/chunks/{ripgrep-669tq793.js → location-669tq793.js} +1 -1
- package/dist/chunks/{ripgrep-ce6ce29e.js → location-6bass0b7.js} +16 -16
- package/dist/chunks/{ripgrep-6msgmcgs.js → location-6msgmcgs.js} +1 -1
- package/dist/chunks/{ripgrep-q4e7vy2b.js → location-6nex2bx1.js} +21 -21
- package/dist/chunks/{ripgrep-q826ync2.js → location-6yvxz189.js} +13 -13
- package/dist/chunks/{ripgrep-7bmhse3q.js → location-7bmhse3q.js} +1 -1
- package/dist/chunks/{ripgrep-py3kkmfq.js → location-7fkffz83.js} +4 -4
- package/dist/chunks/{ripgrep-a4691zpg.js → location-7ybfkyhv.js} +19 -19
- package/dist/chunks/{ripgrep-b446k4sn.js → location-7ysj2gw8.js} +24 -24
- package/dist/chunks/{ripgrep-57ez7d0k.js → location-81swgkk7.js} +7 -7
- package/dist/chunks/{ripgrep-84txncab.js → location-84txncab.js} +1 -1
- package/dist/chunks/{ripgrep-fqhn89qk.js → location-87eb0wvk.js} +32 -32
- package/dist/chunks/{ripgrep-4c2df9zx.js → location-8aaqm6qj.js} +8 -8
- package/dist/chunks/{ripgrep-8d7r5vzw.js → location-8d7r5vzw.js} +1 -1
- package/dist/chunks/{ripgrep-6wgqnbhb.js → location-8j5e0nxw.js} +32 -32
- package/dist/chunks/{ripgrep-40p1p2fq.js → location-8pv27hsx.js} +17 -17
- package/dist/chunks/{ripgrep-asrgbh96.js → location-8t9r9m98.js} +24 -24
- package/dist/chunks/{ripgrep-apcpvt2b.js → location-8x023p49.js} +6 -6
- package/dist/chunks/{ripgrep-vv97ra8n.js → location-8zqs9j7p.js} +11 -11
- package/dist/chunks/{ripgrep-6gsfn1dv.js → location-92r5fjaa.js} +34 -34
- package/dist/chunks/{ripgrep-94ek1h2f.js → location-94ek1h2f.js} +2 -2
- package/dist/chunks/{ripgrep-67r4mtw2.js → location-96xc4j73.js} +9 -9
- package/dist/chunks/{ripgrep-1jqh21ez.js → location-9h6052ys.js} +37 -37
- package/dist/chunks/{ripgrep-qp7sx9de.js → location-9jbrny13.js} +32 -32
- package/dist/chunks/{ripgrep-8v9axdqq.js → location-9sm9gfq3.js} +20 -20
- package/dist/chunks/{ripgrep-y5mjhv0c.js → location-a1b9eenk.js} +4 -4
- package/dist/chunks/{ripgrep-ss37jsxd.js → location-a6zkzxs1.js} +15 -15
- package/dist/chunks/{ripgrep-aaet6srn.js → location-aaet6srn.js} +2 -2
- package/dist/chunks/location-aba4y9w7.js +26 -0
- package/dist/chunks/{ripgrep-te91bpk3.js → location-ajpn13bz.js} +24 -24
- package/dist/chunks/{ripgrep-j7y92zpc.js → location-ambwqhm0.js} +61 -61
- package/dist/chunks/{ripgrep-svxtz2p3.js → location-aqxvbtvc.js} +23 -23
- package/dist/chunks/{ripgrep-d5y0ve3n.js → location-at8brtyc.js} +17 -17
- package/dist/chunks/{ripgrep-84zcxbc9.js → location-axs6pdy0.js} +5 -5
- package/dist/chunks/{ripgrep-vmgq4x8b.js → location-b09hzw3k.js} +2 -2
- package/dist/chunks/{ripgrep-b6gygkdw.js → location-b6gygkdw.js} +2 -2
- package/dist/chunks/{ripgrep-dbdkqs60.js → location-b7t5wn2m.js} +17 -17
- package/dist/chunks/{ripgrep-atvavzdr.js → location-bj3zhn3q.js} +5 -5
- package/dist/chunks/{ripgrep-qbbmae1w.js → location-bnty75vp.js} +5 -5
- package/dist/chunks/{ripgrep-j6bb8g4d.js → location-bpc3jfqy.js} +11 -11
- package/dist/chunks/{ripgrep-s9mggv36.js → location-bwqnkjsb.js} +17 -17
- package/dist/chunks/{ripgrep-jpcvf65v.js → location-bx8vey6p.js} +21 -21
- package/dist/chunks/{ripgrep-tn0aqsam.js → location-c78bbtc9.js} +5 -5
- package/dist/chunks/{ripgrep-dxczsaw9.js → location-ckbtgcas.js} +12 -12
- package/dist/chunks/{ripgrep-ckecvw8r.js → location-ckecvw8r.js} +2 -2
- package/dist/chunks/{ripgrep-cpy6gm2a.js → location-cpy6gm2a.js} +1 -1
- package/dist/chunks/{ripgrep-fvy6pxa1.js → location-cqhb2t13.js} +23 -23
- package/dist/chunks/{ripgrep-7nm77vb3.js → location-csp167nn.js} +3 -3
- package/dist/chunks/{ripgrep-pymq7jkz.js → location-cw1jgv1w.js} +8 -8
- package/dist/chunks/{ripgrep-5d607bsg.js → location-cwa6csj7.js} +9 -9
- package/dist/chunks/{ripgrep-3hfr6h8q.js → location-czfptnv9.js} +8 -8
- package/dist/chunks/{ripgrep-46tkexde.js → location-d3z5vgb9.js} +77 -77
- package/dist/chunks/{ripgrep-dnpyyfmr.js → location-d725fnbd.js} +30 -30
- package/dist/chunks/{ripgrep-vg7bdtvb.js → location-dnh5am79.js} +9 -9
- package/dist/chunks/{ripgrep-cgkq456e.js → location-dvfstcq5.js} +17 -17
- package/dist/chunks/{ripgrep-r4yqrmdq.js → location-e89xj288.js} +5 -5
- package/dist/chunks/{ripgrep-h5r8400x.js → location-eae26f42.js} +13 -13
- package/dist/chunks/{ripgrep-n5qb4bnc.js → location-eag70mrj.js} +3 -3
- package/dist/chunks/{ripgrep-ecfe7b91.js → location-ecfe7b91.js} +2 -2
- package/dist/chunks/{ripgrep-2wts5qzq.js → location-ednp5hmx.js} +8 -8
- package/dist/chunks/{ripgrep-ef5x83kb.js → location-ef5x83kb.js} +1 -1
- package/dist/chunks/{ripgrep-aj930q3s.js → location-ek5t7eqg.js} +3 -3
- package/dist/chunks/{ripgrep-etq0c3wd.js → location-etq0c3wd.js} +1 -1
- package/dist/chunks/{ripgrep-tb18kw1r.js → location-f0v8xfz9.js} +33 -33
- package/dist/chunks/{ripgrep-yp2x3t23.js → location-f2n192rq.js} +4 -4
- package/dist/chunks/{ripgrep-a8bn8zg0.js → location-f3ngv102.js} +4 -4
- package/dist/chunks/{ripgrep-hjpq76f0.js → location-f3rj20sn.js} +20 -20
- package/dist/chunks/{ripgrep-9seqqng0.js → location-f5qn67hn.js} +321 -321
- package/dist/chunks/{ripgrep-cpgvmsmz.js → location-f6qf1r64.js} +9 -9
- package/dist/chunks/{ripgrep-n00nrqde.js → location-f99pqswk.js} +36 -36
- package/dist/chunks/{ripgrep-ajskgwrh.js → location-f9qcgrnz.js} +33 -33
- package/dist/chunks/{ripgrep-7dftej1j.js → location-fg6vqa6w.js} +31 -31
- package/dist/chunks/{ripgrep-g5agzp2h.js → location-g5agzp2h.js} +2 -2
- package/dist/chunks/{ripgrep-qa3qhgw8.js → location-g8d3gcyj.js} +7 -7
- package/dist/chunks/{ripgrep-gd4qta3r.js → location-gd4qta3r.js} +1 -1
- package/dist/chunks/{ripgrep-dqp0ptjh.js → location-gq9kk5at.js} +6 -6
- package/dist/chunks/{ripgrep-gv6a8nnw.js → location-gv6a8nnw.js} +2 -2
- package/dist/chunks/{ripgrep-4fx0v051.js → location-gydr4vsc.js} +9 -9
- package/dist/chunks/{ripgrep-4ndvwbzn.js → location-gz5dk3bq.js} +3 -3
- package/dist/chunks/{ripgrep-7ab4f44s.js → location-h23ctypg.js} +18 -18
- package/dist/chunks/{ripgrep-3tfp5dh2.js → location-h345add1.js} +8 -8
- package/dist/chunks/{ripgrep-y3c47kq2.js → location-h3qzgcp1.js} +13 -13
- package/dist/chunks/{ripgrep-6ydrntg5.js → location-h3s7v34z.js} +6 -6
- package/dist/chunks/{ripgrep-h6vf3j39.js → location-h6vf3j39.js} +1 -1
- package/dist/chunks/{ripgrep-e7ncmn5y.js → location-hhc9atkh.js} +15 -15
- package/dist/chunks/{ripgrep-h6b50tg5.js → location-hmr7k35w.js} +25 -25
- package/dist/chunks/{ripgrep-ez62b8nj.js → location-hn61d6g7.js} +6 -6
- package/dist/chunks/{ripgrep-qnj1ev0v.js → location-hn75rfyg.js} +11 -11
- package/dist/chunks/{ripgrep-e6te0wgx.js → location-hngjveb4.js} +10 -10
- package/dist/chunks/{ripgrep-de52ckkz.js → location-hnr8f6ws.js} +4 -4
- package/dist/chunks/{ripgrep-qndte7za.js → location-hq78f3qw.js} +33 -33
- package/dist/chunks/{ripgrep-fr2byary.js → location-hre7hyen.js} +17 -17
- package/dist/chunks/{ripgrep-1bbkgx8g.js → location-j028xdjb.js} +3 -3
- package/dist/chunks/{ripgrep-j56e64zr.js → location-j56e64zr.js} +1 -1
- package/dist/chunks/{ripgrep-sh80pnfr.js → location-j5fma2v7.js} +33 -33
- package/dist/chunks/{ripgrep-1j6r9yf3.js → location-j6h5z8n4.js} +30 -30
- package/dist/chunks/{ripgrep-sx1n432n.js → location-j83byb14.js} +4 -4
- package/dist/chunks/{ripgrep-jj72jhew.js → location-j8zvn2fh.js} +8 -8
- package/dist/chunks/{ripgrep-8vp0jrea.js → location-jdhe76k5.js} +3 -3
- package/dist/chunks/{ripgrep-80scg3y3.js → location-jewzahs7.js} +4 -4
- package/dist/chunks/{ripgrep-hnefe9tq.js → location-jf5a25sz.js} +44 -44
- package/dist/chunks/{ripgrep-9979gqg8.js → location-jggnvhtg.js} +56 -56
- package/dist/chunks/{ripgrep-m1gcv8kj.js → location-jmasdga9.js} +51 -51
- package/dist/chunks/{ripgrep-t3fh9vjv.js → location-jtfh4wfs.js} +19 -19
- package/dist/chunks/{ripgrep-ea8e1byc.js → location-k0h4mfgc.js} +46 -46
- package/dist/chunks/{ripgrep-mxfbfm56.js → location-kk3cv3zh.js} +1 -1
- package/dist/chunks/{ripgrep-29jfjc42.js → location-kn0epzjf.js} +7 -7
- package/dist/chunks/{ripgrep-bv8nht0w.js → location-knetett0.js} +48 -48
- package/dist/chunks/{ripgrep-6hjx5zpb.js → location-kp8q1t60.js} +9 -9
- package/dist/chunks/{ripgrep-6dwdgb0a.js → location-kx6ewwgc.js} +5 -5
- package/dist/chunks/{ripgrep-m3fdjcah.js → location-m3fdjcah.js} +1 -1
- package/dist/chunks/{ripgrep-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
- package/dist/chunks/{ripgrep-9r5kv9cm.js → location-mam35mvc.js} +12 -12
- package/dist/chunks/{ripgrep-14yyfa4b.js → location-math506r.js} +24 -24
- package/dist/chunks/{ripgrep-bn30swxx.js → location-mc8ws243.js} +26 -26
- package/dist/chunks/{ripgrep-5g11er5x.js → location-mn2xmmev.js} +14 -14
- package/dist/chunks/{ripgrep-vkchd65f.js → location-mntfxcz2.js} +4 -4
- package/dist/chunks/{ripgrep-addxnjmp.js → location-mpk0rfs5.js} +4 -4
- package/dist/chunks/{ripgrep-z508a32f.js → location-mq8f5nmh.js} +24 -24
- package/dist/chunks/{ripgrep-qq5y994f.js → location-mw2h8ask.js} +18 -18
- package/dist/chunks/{ripgrep-wnj5dgs2.js → location-n0ppq016.js} +14 -14
- package/dist/chunks/{ripgrep-1ynb6qa0.js → location-n1m68ejj.js} +20 -20
- package/dist/chunks/{ripgrep-tn8eqcjj.js → location-n5rr0bsk.js} +6 -6
- package/dist/chunks/{ripgrep-x3ggs2d6.js → location-n77hk0vh.js} +12 -12
- package/dist/chunks/{ripgrep-e5jn2fa5.js → location-nw7gx7cz.js} +28 -28
- package/dist/chunks/{ripgrep-614e606q.js → location-nwnnebx3.js} +20 -20
- package/dist/chunks/{ripgrep-sypvhjmn.js → location-nxhp6d1h.js} +18 -18
- package/dist/chunks/{ripgrep-k3c624dm.js → location-nzks3jc8.js} +3 -3
- package/dist/chunks/{ripgrep-3b9qt4hj.js → location-patgj9rf.js} +9 -9
- package/dist/chunks/{ripgrep-snrx9wzx.js → location-pb18q5py.js} +36 -36
- package/dist/chunks/{ripgrep-0f9afca0.js → location-pecb0brz.js} +5 -5
- package/dist/chunks/{ripgrep-9gqwmv79.js → location-pg092y7m.js} +23 -23
- package/dist/chunks/{ripgrep-c5zhzd6d.js → location-pgsw580e.js} +17 -17
- package/dist/chunks/{ripgrep-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
- package/dist/chunks/{ripgrep-pknna89w.js → location-pknna89w.js} +1 -1
- package/dist/chunks/{ripgrep-qkn179pw.js → location-pr72k1jg.js} +13 -13
- package/dist/chunks/{ripgrep-jgnf2bvc.js → location-prww9d41.js} +10 -10
- package/dist/chunks/{ripgrep-drtcq7dv.js → location-ps9c259y.js} +17 -17
- package/dist/chunks/{ripgrep-qpwf5ett.js → location-px4zyfbx.js} +10 -10
- package/dist/chunks/{ripgrep-gn14yt0k.js → location-pxya9xw6.js} +26 -26
- package/dist/chunks/{ripgrep-91wvh588.js → location-q7sva9xj.js} +9 -9
- package/dist/chunks/{ripgrep-ymtchxmw.js → location-qahgzyff.js} +36 -36
- package/dist/chunks/{ripgrep-54j2g604.js → location-qgt4e7dm.js} +8 -8
- package/dist/chunks/{ripgrep-gmddfe7k.js → location-qqcp2fey.js} +11 -6
- package/dist/chunks/{ripgrep-xfkkasph.js → location-qqeeq2t9.js} +7 -7
- package/dist/chunks/{ripgrep-dppfvz3f.js → location-qrarvdac.js} +16 -16
- package/dist/chunks/{ripgrep-v88ypzx6.js → location-qrpna819.js} +15 -15
- package/dist/chunks/{ripgrep-qsdy395h.js → location-qsdy395h.js} +1 -1
- package/dist/chunks/{ripgrep-ng5rtwhy.js → location-qtpgf39r.js} +3 -3
- package/dist/chunks/{ripgrep-a2qe2ev9.js → location-qwjmgwmn.js} +8 -8
- package/dist/chunks/{ripgrep-54n8g67r.js → location-qwwvq786.js} +11 -11
- package/dist/chunks/{ripgrep-f8yxf6yh.js → location-r0dmdece.js} +2 -2
- package/dist/chunks/{ripgrep-cp937pt4.js → location-ra4n65wq.js} +4 -4
- package/dist/chunks/{ripgrep-rdw6cm16.js → location-rdw6cm16.js} +1 -1
- package/dist/chunks/{ripgrep-wbd0sh62.js → location-rnr5nq63.js} +20 -20
- package/dist/chunks/{ripgrep-gpp31qn3.js → location-rnx3qgyn.js} +37 -37
- package/dist/chunks/{ripgrep-72mdmaav.js → location-rp7q4m9n.js} +14 -14
- package/dist/chunks/{ripgrep-eaj1djv9.js → location-s8d7rejh.js} +6 -6
- package/dist/chunks/{ripgrep-bjb1q8ez.js → location-sc4ksy03.js} +8 -8
- package/dist/chunks/{ripgrep-h90y3pkt.js → location-sd23ea76.js} +15 -15
- package/dist/chunks/{ripgrep-dnwg479b.js → location-sdvk2ad6.js} +20 -20
- package/dist/chunks/{ripgrep-gc0xbwck.js → location-sqr731h9.js} +10 -10
- package/dist/chunks/{ripgrep-v2p4rfxw.js → location-swabsky0.js} +6 -6
- package/dist/chunks/{ripgrep-yf4jcbx9.js → location-sxzvkvgj.js} +6 -6
- package/dist/chunks/{ripgrep-s30fyz93.js → location-syf57q56.js} +4 -4
- package/dist/chunks/{ripgrep-n3vygs5b.js → location-sz763eb6.js} +6 -6
- package/dist/chunks/{ripgrep-tazgh4e4.js → location-tazgh4e4.js} +1 -1
- package/dist/chunks/{ripgrep-tcezcvh9.js → location-tcezcvh9.js} +1 -1
- package/dist/chunks/{ripgrep-tdstcens.js → location-tdstcens.js} +1 -1
- package/dist/chunks/{ripgrep-pj6tenb7.js → location-tjp0ts8d.js} +177 -177
- package/dist/chunks/{ripgrep-a48m945n.js → location-tjyds3np.js} +15 -15
- package/dist/chunks/{ripgrep-xhfc0ae0.js → location-tvsfvamq.js} +5 -5
- package/dist/chunks/{ripgrep-tvtrv512.js → location-tvtrv512.js} +1 -1
- package/dist/chunks/{ripgrep-0j45e4a4.js → location-v01qj8m2.js} +22 -22
- package/dist/chunks/{ripgrep-v1faaxn9.js → location-v1faaxn9.js} +1 -1
- package/dist/chunks/{ripgrep-xdfgknmx.js → location-v3679p2r.js} +17 -17
- package/dist/chunks/{ripgrep-ap544ky7.js → location-v4w8s23p.js} +32 -32
- package/dist/chunks/{ripgrep-mwymx5eg.js → location-v537vfcj.js} +44 -44
- package/dist/chunks/{ripgrep-g4ev0w7y.js → location-v8v948yd.js} +10 -10
- package/dist/chunks/{ripgrep-veqvce7d.js → location-veqvce7d.js} +1 -1
- package/dist/chunks/{ripgrep-ner28t5a.js → location-vfbk05zz.js} +74 -74
- package/dist/chunks/{ripgrep-bm12swdw.js → location-vz2v0y1g.js} +11 -11
- package/dist/chunks/{ripgrep-vzcthcp8.js → location-vzcthcp8.js} +1 -1
- package/dist/chunks/{ripgrep-vzs5sf6e.js → location-vzs5sf6e.js} +1 -1
- package/dist/chunks/{ripgrep-hr01dqex.js → location-w3efebdc.js} +27 -27
- package/dist/chunks/{ripgrep-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
- package/dist/chunks/{ripgrep-yrdcmk37.js → location-w6fmte8d.js} +30 -30
- package/dist/chunks/{ripgrep-wd3x2cqz.js → location-wd3x2cqz.js} +2 -2
- package/dist/chunks/{ripgrep-wd87259q.js → location-wd87259q.js} +1 -1
- package/dist/chunks/{ripgrep-0spqb8br.js → location-wpn654rn.js} +38 -38
- package/dist/chunks/{ripgrep-yp4zak5f.js → location-wpttx3ek.js} +23 -23
- package/dist/chunks/{ripgrep-2d0eq7f5.js → location-wtyk7tnn.js} +6 -6
- package/dist/chunks/{ripgrep-70m7fb3k.js → location-wxxtmkrx.js} +5 -5
- package/dist/chunks/{ripgrep-xm47dg1f.js → location-wyanbm64.js} +4 -4
- package/dist/chunks/{ripgrep-x1ezjp6w.js → location-x1ezjp6w.js} +1 -1
- package/dist/chunks/{ripgrep-g3p8qp1x.js → location-xd7pxsgz.js} +10 -10
- package/dist/chunks/{ripgrep-3fn1d266.js → location-xdqwyhzn.js} +7 -7
- package/dist/chunks/{ripgrep-xkntkrq7.js → location-xkntkrq7.js} +2 -2
- package/dist/chunks/{ripgrep-7d4qx0wr.js → location-xxdt3syk.js} +11 -11
- package/dist/chunks/{ripgrep-ndhs64pk.js → location-xxewh186.js} +9 -9
- package/dist/chunks/{ripgrep-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
- package/dist/chunks/{ripgrep-97ffttsr.js → location-y4h12032.js} +22 -22
- package/dist/chunks/{ripgrep-dq0v80fr.js → location-y5df08dr.js} +12 -12
- package/dist/chunks/{ripgrep-5cmxdwv8.js → location-y6f0p4jw.js} +3 -3
- package/dist/chunks/{ripgrep-y71avatq.js → location-y71avatq.js} +1 -1
- package/dist/chunks/{ripgrep-ew2ae9f5.js → location-y9kjyn13.js} +12 -12
- package/dist/chunks/{ripgrep-nndvp20a.js → location-yahe92kn.js} +20 -20
- package/dist/chunks/{ripgrep-9xpmj48t.js → location-yf8kg88s.js} +7 -7
- package/dist/chunks/{ripgrep-jv01nqvq.js → location-yjptyezs.js} +5 -5
- package/dist/chunks/{ripgrep-harp7y6f.js → location-yk6wy72m.js} +21 -21
- package/dist/chunks/{ripgrep-g0qymqv1.js → location-yrccs5dw.js} +29 -29
- package/dist/chunks/{ripgrep-yrhqyw5v.js → location-yrhqyw5v.js} +1 -1
- package/dist/chunks/{ripgrep-yrznvahk.js → location-yrznvahk.js} +2 -2
- package/dist/chunks/{ripgrep-a6znh3jt.js → location-yxcw63er.js} +23 -23
- package/dist/chunks/{ripgrep-z07pqspn.js → location-z07pqspn.js} +3 -3
- package/dist/chunks/{ripgrep-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
- package/dist/chunks/{ripgrep-qr0v61ms.js → location-z1dsjv8w.js} +24 -24
- package/dist/chunks/{ripgrep-vb3rn859.js → location-z5q8ygm0.js} +25 -25
- package/dist/chunks/{ripgrep-z63w68vq.js → location-z63w68vq.js} +2 -2
- package/dist/chunks/{ripgrep-2wyx13rv.js → location-z7eps1h1.js} +4 -4
- package/dist/chunks/{ripgrep-zeh9ct20.js → location-zeh9ct20.js} +2 -2
- package/dist/chunks/{ripgrep-s5v1wr1y.js → location-zm51y9zq.js} +14 -14
- package/dist/chunks/{ripgrep-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
- package/dist/chunks/{ripgrep-nd3632dr.js → location-zsh9941h.js} +10 -10
- package/dist/chunks/{ripgrep-zxq2ej10.js → location-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +124 -124
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- 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/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.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 +228 -228
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +97 -97
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +98 -98
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +99 -99
- package/dist/git.js +10 -10
- 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 +99 -99
- 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 +362 -362
- package/dist/instruction-discovery.js +81 -81
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +103 -103
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- 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 +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +334 -334
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- 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 +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +162 -162
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +228 -228
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +149 -149
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- 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 +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- 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 +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +2 -2
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- 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 +13 -13
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +93 -93
- 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 +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +116 -116
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +218 -218
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/types/session/error.d.ts +5 -0
- package/dist/types/session/history.d.ts +48 -0
- package/dist/types/session/transfer.d.ts +30 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- 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 +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +1 -1
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- 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/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- 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 +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/ripgrep-0qk019jc.js +0 -26
- package/dist/chunks/ripgrep-34d822yn.js +0 -252
- /package/dist/chunks/{ripgrep-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{ripgrep-0zkw76rk.js → location-0zkw76rk.js} +0 -0
- /package/dist/chunks/{ripgrep-17cy0kzp.js → location-17cy0kzp.js} +0 -0
- /package/dist/chunks/{ripgrep-1cnp2v09.js → location-1cnp2v09.js} +0 -0
- /package/dist/chunks/{ripgrep-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{ripgrep-24dcb14g.js → location-24dcb14g.js} +0 -0
- /package/dist/chunks/{ripgrep-2710q6r3.js → location-2710q6r3.js} +0 -0
- /package/dist/chunks/{ripgrep-2axfhc9x.js → location-2axfhc9x.js} +0 -0
- /package/dist/chunks/{ripgrep-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{ripgrep-34c7v6d4.js → location-34c7v6d4.js} +0 -0
- /package/dist/chunks/{ripgrep-359p4xyc.js → location-359p4xyc.js} +0 -0
- /package/dist/chunks/{ripgrep-3asan66x.js → location-3asan66x.js} +0 -0
- /package/dist/chunks/{ripgrep-3v8g72cx.js → location-3v8g72cx.js} +0 -0
- /package/dist/chunks/{ripgrep-3w5fmr99.js → location-3w5fmr99.js} +0 -0
- /package/dist/chunks/{ripgrep-3wcehsnq.js → location-3wcehsnq.js} +0 -0
- /package/dist/chunks/{ripgrep-43n2bw4t.js → location-43n2bw4t.js} +0 -0
- /package/dist/chunks/{ripgrep-4knz6hnm.js → location-4knz6hnm.js} +0 -0
- /package/dist/chunks/{ripgrep-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{ripgrep-4y7fprxs.js → location-4y7fprxs.js} +0 -0
- /package/dist/chunks/{ripgrep-53557ph1.js → location-53557ph1.js} +0 -0
- /package/dist/chunks/{ripgrep-550bvhaj.js → location-550bvhaj.js} +0 -0
- /package/dist/chunks/{ripgrep-5qd3pb7m.js → location-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{ripgrep-6prwharc.js → location-6prwharc.js} +0 -0
- /package/dist/chunks/{ripgrep-7akdwqpd.js → location-7akdwqpd.js} +0 -0
- /package/dist/chunks/{ripgrep-7m9af43g.js → location-7m9af43g.js} +0 -0
- /package/dist/chunks/{ripgrep-822emrt2.js → location-822emrt2.js} +0 -0
- /package/dist/chunks/{ripgrep-88xbtdfr.js → location-88xbtdfr.js} +0 -0
- /package/dist/chunks/{ripgrep-8n3pysct.js → location-8n3pysct.js} +0 -0
- /package/dist/chunks/{ripgrep-8wj87zfr.js → location-8wj87zfr.js} +0 -0
- /package/dist/chunks/{ripgrep-922hggd3.js → location-922hggd3.js} +0 -0
- /package/dist/chunks/{ripgrep-9a4afbnw.js → location-9a4afbnw.js} +0 -0
- /package/dist/chunks/{ripgrep-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{ripgrep-a6k6eb26.js → location-a6k6eb26.js} +0 -0
- /package/dist/chunks/{ripgrep-af5trqkr.js → location-af5trqkr.js} +0 -0
- /package/dist/chunks/{ripgrep-afrmfg78.js → location-afrmfg78.js} +0 -0
- /package/dist/chunks/{ripgrep-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{ripgrep-atq7p7m5.js → location-atq7p7m5.js} +0 -0
- /package/dist/chunks/{ripgrep-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{ripgrep-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{ripgrep-cf4snx6d.js → location-cf4snx6d.js} +0 -0
- /package/dist/chunks/{ripgrep-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{ripgrep-d9fn303g.js → location-d9fn303g.js} +0 -0
- /package/dist/chunks/{ripgrep-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{ripgrep-dajrwvna.js → location-dajrwvna.js} +0 -0
- /package/dist/chunks/{ripgrep-dap0rakb.js → location-dap0rakb.js} +0 -0
- /package/dist/chunks/{ripgrep-df08tz66.js → location-df08tz66.js} +0 -0
- /package/dist/chunks/{ripgrep-dy18nga0.js → location-dy18nga0.js} +0 -0
- /package/dist/chunks/{ripgrep-e5kj55wp.js → location-e5kj55wp.js} +0 -0
- /package/dist/chunks/{ripgrep-e73j6tqm.js → location-e73j6tqm.js} +0 -0
- /package/dist/chunks/{ripgrep-ec1grn59.js → location-ec1grn59.js} +0 -0
- /package/dist/chunks/{ripgrep-eh3zwz77.js → location-eh3zwz77.js} +0 -0
- /package/dist/chunks/{ripgrep-emrn6kk6.js → location-emrn6kk6.js} +0 -0
- /package/dist/chunks/{ripgrep-f0mxakyp.js → location-f0mxakyp.js} +0 -0
- /package/dist/chunks/{ripgrep-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{ripgrep-faypxj3z.js → location-faypxj3z.js} +0 -0
- /package/dist/chunks/{ripgrep-fd410y7t.js → location-fd410y7t.js} +0 -0
- /package/dist/chunks/{ripgrep-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{ripgrep-g4wezp1m.js → location-g4wezp1m.js} +0 -0
- /package/dist/chunks/{ripgrep-g86h250q.js → location-g86h250q.js} +0 -0
- /package/dist/chunks/{ripgrep-gebd4c9n.js → location-gebd4c9n.js} +0 -0
- /package/dist/chunks/{ripgrep-gftt206x.js → location-gftt206x.js} +0 -0
- /package/dist/chunks/{ripgrep-hjbc5kem.js → location-hjbc5kem.js} +0 -0
- /package/dist/chunks/{ripgrep-hk9envan.js → location-hk9envan.js} +0 -0
- /package/dist/chunks/{ripgrep-j2ntwpah.js → location-j2ntwpah.js} +0 -0
- /package/dist/chunks/{ripgrep-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{ripgrep-jjkms2e6.js → location-jjkms2e6.js} +0 -0
- /package/dist/chunks/{ripgrep-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{ripgrep-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{ripgrep-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{ripgrep-mp448xyj.js → location-mp448xyj.js} +0 -0
- /package/dist/chunks/{ripgrep-msx8hqn2.js → location-msx8hqn2.js} +0 -0
- /package/dist/chunks/{ripgrep-n05xt0ee.js → location-n05xt0ee.js} +0 -0
- /package/dist/chunks/{ripgrep-n3j8tn72.js → location-n3j8tn72.js} +0 -0
- /package/dist/chunks/{ripgrep-njntx4h6.js → location-njntx4h6.js} +0 -0
- /package/dist/chunks/{ripgrep-q3sfg36h.js → location-q3sfg36h.js} +0 -0
- /package/dist/chunks/{ripgrep-q74kybfr.js → location-q74kybfr.js} +0 -0
- /package/dist/chunks/{ripgrep-qaymkmh1.js → location-qaymkmh1.js} +0 -0
- /package/dist/chunks/{ripgrep-qb87gjwd.js → location-qb87gjwd.js} +0 -0
- /package/dist/chunks/{ripgrep-qfa1cgps.js → location-qfa1cgps.js} +0 -0
- /package/dist/chunks/{ripgrep-qg3g05ea.js → location-qg3g05ea.js} +0 -0
- /package/dist/chunks/{ripgrep-qrg20bc0.js → location-qrg20bc0.js} +0 -0
- /package/dist/chunks/{ripgrep-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{ripgrep-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{ripgrep-sk3qaz4a.js → location-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{ripgrep-ssg3fenm.js → location-ssg3fenm.js} +0 -0
- /package/dist/chunks/{ripgrep-w803qqfp.js → location-w803qqfp.js} +0 -0
- /package/dist/chunks/{ripgrep-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{ripgrep-wer8tq1h.js → location-wer8tq1h.js} +0 -0
- /package/dist/chunks/{ripgrep-wtztk69x.js → location-wtztk69x.js} +0 -0
- /package/dist/chunks/{ripgrep-x0ckcb58.js → location-x0ckcb58.js} +0 -0
- /package/dist/chunks/{ripgrep-x61499pn.js → location-x61499pn.js} +0 -0
- /package/dist/chunks/{ripgrep-y44na4kk.js → location-y44na4kk.js} +0 -0
- /package/dist/chunks/{ripgrep-y8cydn3q.js → location-y8cydn3q.js} +0 -0
- /package/dist/chunks/{ripgrep-y8f7s663.js → location-y8f7s663.js} +0 -0
- /package/dist/chunks/{ripgrep-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{ripgrep-ym463w8f.js → location-ym463w8f.js} +0 -0
- /package/dist/chunks/{ripgrep-z9919s4g.js → location-z9919s4g.js} +0 -0
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-csp167nn.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-mntfxcz2.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service43,
|
|
11
|
+
node45
|
|
12
|
+
} from "./location-8pv27hsx.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service42,
|
|
15
|
+
node44
|
|
16
|
+
} from "./location-sxzvkvgj.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
make15
|
|
22
|
+
} from "./location-f2n192rq.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service39
|
|
26
|
+
} from "./location-06x8he3q.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service65,
|
|
29
|
+
node69
|
|
30
|
+
} from "./location-zm51y9zq.js";
|
|
31
31
|
import {
|
|
32
32
|
toSessionError2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-qqcp2fey.js";
|
|
34
34
|
import {
|
|
35
35
|
nextPromotable2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./location-z1dsjv8w.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./location-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/session/execution.ts
|
|
42
42
|
var exports_execution = {};
|
|
43
43
|
__export(exports_execution, {
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service38,
|
|
45
45
|
SessionExecution: () => exports_execution,
|
|
46
|
-
layer: () =>
|
|
47
|
-
node: () =>
|
|
48
|
-
noopLayer: () =>
|
|
46
|
+
layer: () => layer17,
|
|
47
|
+
node: () => node41,
|
|
48
|
+
noopLayer: () => noopLayer2,
|
|
49
49
|
terminal: () => terminal2
|
|
50
50
|
});
|
|
51
51
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
52
52
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
53
|
-
class
|
|
53
|
+
class Service38 extends Context.Service()("@opencode/SessionExecution") {
|
|
54
54
|
}
|
|
55
55
|
function terminal2(exit, reason) {
|
|
56
56
|
if (Exit.isSuccess(exit))
|
|
@@ -59,11 +59,11 @@ function terminal2(exit, reason) {
|
|
|
59
59
|
return { type: "interrupted", reason: reason ?? "shutdown" };
|
|
60
60
|
return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
|
|
61
61
|
}
|
|
62
|
-
var
|
|
63
|
-
const store = yield*
|
|
64
|
-
const instances = yield*
|
|
62
|
+
var layer17 = Layer.effect(Service38, Effect.gen(function* () {
|
|
63
|
+
const store = yield* Service65;
|
|
64
|
+
const instances = yield* Service42;
|
|
65
65
|
const bus = yield* Service83;
|
|
66
|
-
const jobs = yield*
|
|
66
|
+
const jobs = yield* Service43;
|
|
67
67
|
const db = (yield* Service84).db;
|
|
68
68
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
69
69
|
const claimOnCommit = (sessionID) => ({
|
|
@@ -76,14 +76,14 @@ var layer20 = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
76
76
|
const session = yield* store.get(sessionID);
|
|
77
77
|
if (!session)
|
|
78
78
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
79
|
-
const result = yield*
|
|
79
|
+
const result = yield* Service39.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
80
80
|
return yield* DrainResult2.$match(result, {
|
|
81
81
|
Complete: () => Effect.void,
|
|
82
82
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable),
|
|
83
83
|
Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
|
|
84
84
|
});
|
|
85
85
|
});
|
|
86
|
-
const coordinator = yield*
|
|
86
|
+
const coordinator = yield* make15({
|
|
87
87
|
started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
|
|
88
88
|
drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
|
|
89
89
|
settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
|
|
@@ -104,7 +104,7 @@ var layer20 = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
104
104
|
}, releaseOnCommit(sessionID));
|
|
105
105
|
}))
|
|
106
106
|
});
|
|
107
|
-
return
|
|
107
|
+
return Service38.of({
|
|
108
108
|
active: coordinator.active,
|
|
109
109
|
isActive: coordinator.isActive,
|
|
110
110
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -123,12 +123,12 @@ var layer20 = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
123
123
|
awaitIdle: coordinator.awaitIdle
|
|
124
124
|
});
|
|
125
125
|
}));
|
|
126
|
-
var
|
|
127
|
-
service:
|
|
128
|
-
layer:
|
|
129
|
-
deps: [
|
|
126
|
+
var node41 = makeGlobalNode({
|
|
127
|
+
service: Service38,
|
|
128
|
+
layer: layer17,
|
|
129
|
+
deps: [node69, node44, node87, node88, node45]
|
|
130
130
|
});
|
|
131
|
-
var
|
|
131
|
+
var noopLayer2 = Layer.succeed(Service38, Service38.of({
|
|
132
132
|
active: Effect.succeed(new Set),
|
|
133
133
|
isActive: () => Effect.succeed(false),
|
|
134
134
|
resume: () => Effect.void,
|
|
@@ -137,4 +137,4 @@ var noopLayer3 = Layer.succeed(Service51, Service51.of({
|
|
|
137
137
|
awaitIdle: () => Effect.void
|
|
138
138
|
}));
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service38, terminal2, layer17, node41, noopLayer2, exports_execution };
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./location-6bass0b7.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service51
|
|
6
|
+
} from "./location-5j3nemfx.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service13,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-16a16tg4.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service18
|
|
14
|
+
} from "./location-3ez35teb.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service64
|
|
17
|
+
} from "./location-jggnvhtg.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service57,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-58exf9s3.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-6prwharc.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./location-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/tool/plugin/edit.ts
|
|
30
30
|
var exports_edit = {};
|
|
31
31
|
__export(exports_edit, {
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
|
-
Input: () =>
|
|
34
|
-
Output: () =>
|
|
35
|
-
Plugin: () =>
|
|
36
|
-
name: () =>
|
|
33
|
+
Input: () => Input12,
|
|
34
|
+
Output: () => Output8,
|
|
35
|
+
Plugin: () => Plugin15,
|
|
36
|
+
name: () => name12
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode/ai";
|
|
39
39
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
40
40
|
import { Bom } from "@opencode/util/bom";
|
|
41
41
|
import { Effect, Schema } from "effect";
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var name12 = "edit";
|
|
43
|
+
var Input12 = Schema.Struct({
|
|
44
44
|
path: Schema.String.annotate({
|
|
45
45
|
description: "File to edit"
|
|
46
46
|
}),
|
|
@@ -50,7 +50,7 @@ var Input8 = Schema.Struct({
|
|
|
50
50
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
51
51
|
})
|
|
52
52
|
});
|
|
53
|
-
var
|
|
53
|
+
var Output8 = Schema.Struct({
|
|
54
54
|
files: Schema.Array(FileDiff.Info),
|
|
55
55
|
replacements: Schema.Number
|
|
56
56
|
});
|
|
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
|
|
|
103
103
|
return result;
|
|
104
104
|
}, []);
|
|
105
105
|
};
|
|
106
|
-
var
|
|
106
|
+
var Plugin15 = {
|
|
107
107
|
id: "opencode.tool.edit",
|
|
108
108
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
109
|
-
const access = yield*
|
|
110
|
-
const fileMutation = yield*
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const formatter = yield*
|
|
113
|
-
const location = yield*
|
|
114
|
-
const permission = yield*
|
|
109
|
+
const access = yield* Service57;
|
|
110
|
+
const fileMutation = yield* Service13;
|
|
111
|
+
const environment = yield* Service51;
|
|
112
|
+
const formatter = yield* Service18;
|
|
113
|
+
const location = yield* Service79;
|
|
114
|
+
const permission = yield* Service64;
|
|
115
115
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
116
|
-
name:
|
|
116
|
+
name: name12,
|
|
117
117
|
options: { codemode: false, permission: "edit" },
|
|
118
118
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
119
|
-
input:
|
|
120
|
-
output:
|
|
119
|
+
input: Input12,
|
|
120
|
+
output: Output8,
|
|
121
121
|
execute: (input, context) => {
|
|
122
122
|
return Effect.gen(function* () {
|
|
123
123
|
const permissionSource = {
|
|
@@ -194,4 +194,4 @@ var Plugin43 = {
|
|
|
194
194
|
})
|
|
195
195
|
};
|
|
196
196
|
|
|
197
|
-
export {
|
|
197
|
+
export { name12, Input12, Output8, Plugin15, exports_edit };
|
|
@@ -2,28 +2,28 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service83,
|
|
4
4
|
node87
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-mntfxcz2.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service61,
|
|
8
|
+
node65
|
|
9
|
+
} from "./location-zsh9941h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
16
16
|
__export(exports_wellknown, {
|
|
17
17
|
Auth: () => Auth2,
|
|
18
18
|
Config: () => Config2,
|
|
19
|
-
Event: () =>
|
|
19
|
+
Event: () => Event10,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service53,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
26
|
-
resolve: () =>
|
|
25
|
+
node: () => node56,
|
|
26
|
+
resolve: () => resolve2
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
29
29
|
import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
|
|
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service53 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event10 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
@@ -56,7 +56,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
|
56
56
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
57
57
|
return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var resolve2 = Effect.fn("WellKnown.resolve")(function* (input) {
|
|
60
60
|
const manifest = yield* inspect2(input.origin);
|
|
61
61
|
return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
|
|
62
62
|
});
|
|
@@ -75,9 +75,9 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
|
|
|
75
75
|
});
|
|
76
76
|
var sourcesKey = "wellknown:sources";
|
|
77
77
|
var Sources = Schema.Array(Schema.String);
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
79
79
|
const http = yield* HttpClient.HttpClient;
|
|
80
|
-
const kv = yield*
|
|
80
|
+
const kv = yield* Service61;
|
|
81
81
|
const bus = yield* Service83;
|
|
82
82
|
const cache = yield* Ref.make(new Map);
|
|
83
83
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
109
109
|
if (!changed)
|
|
110
110
|
return false;
|
|
111
111
|
yield* Ref.set(cache, next);
|
|
112
|
-
yield* bus.publish(
|
|
112
|
+
yield* bus.publish(Event10.Updated, {});
|
|
113
113
|
return true;
|
|
114
114
|
}, (effect) => lock.withPermit(effect));
|
|
115
|
-
return
|
|
115
|
+
return Service53.of({
|
|
116
116
|
entries: load,
|
|
117
117
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
118
118
|
refresh,
|
|
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
125
125
|
const origins = Schema.is(Sources)(sources) ? sources : [];
|
|
126
126
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
127
127
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
128
|
-
yield* bus.publish(
|
|
128
|
+
yield* bus.publish(Event10.Updated, {});
|
|
129
129
|
return entry;
|
|
130
130
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
131
131
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
138
138
|
next.delete(origin);
|
|
139
139
|
return next;
|
|
140
140
|
});
|
|
141
|
-
yield* bus.publish(
|
|
141
|
+
yield* bus.publish(Event10.Updated, {});
|
|
142
142
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
143
143
|
resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
|
|
144
144
|
});
|
|
145
145
|
}));
|
|
146
|
-
var
|
|
146
|
+
var node56 = makeGlobalNode({ service: Service53, layer, deps: [httpClient, node65, node87] });
|
|
147
147
|
|
|
148
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
148
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service53, Event10, inspect2, resolve2, node56, exports_wellknown };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service51
|
|
3
|
+
} from "./location-5j3nemfx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/stdio.ts
|
|
9
9
|
var exports_stdio = {};
|
|
@@ -19,7 +19,7 @@ var FORCE_KILL_AFTER = Duration.seconds(2);
|
|
|
19
19
|
var OUTGOING_CAPACITY = 64;
|
|
20
20
|
var MAX_FRAME_BYTES = 16 * 1024 * 1024;
|
|
21
21
|
var make2 = Effect.fnUntraced(function* (options) {
|
|
22
|
-
const environment = yield*
|
|
22
|
+
const environment = yield* Service51;
|
|
23
23
|
const scope = yield* Effect.scope;
|
|
24
24
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
25
25
|
const buffer = new ReadBuffer;
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-mntfxcz2.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-922hggd3.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref4,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service79,
|
|
12
|
+
node83
|
|
13
|
+
} from "./location-6bass0b7.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service78,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node82
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
29
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service78 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,9 +39,9 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
42
|
+
var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
43
43
|
const bus = yield* Service83;
|
|
44
|
-
const location = yield*
|
|
44
|
+
const location = yield* Service79;
|
|
45
45
|
const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
46
46
|
const closed = yield* Deferred.make();
|
|
47
47
|
const callContext = {
|
|
@@ -118,14 +118,14 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
118
118
|
const registered = events.get(name);
|
|
119
119
|
if (!registered)
|
|
120
120
|
return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
|
|
121
|
-
return bus.subscribe(registered.definition).pipe(Stream.provideService(
|
|
121
|
+
return bus.subscribe(registered.definition).pipe(Stream.provideService(Service79, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service78.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node82 = makeLocationNode({ service: Service78, layer, deps: [node87, node83] });
|
|
129
129
|
var fields = {
|
|
130
130
|
id: Event.ID,
|
|
131
131
|
created: Schema.Finite,
|
|
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service78, node82, exports_rpc, define2 };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/memory.ts
|
|
11
11
|
var exports_memory = {};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Plugin33
|
|
3
|
+
} from "./location-ednp5hmx.js";
|
|
4
|
+
import {
|
|
5
|
+
Plugin39
|
|
6
|
+
} from "./location-q7sva9xj.js";
|
|
7
|
+
import {
|
|
8
|
+
Plugin38
|
|
9
|
+
} from "./location-hn61d6g7.js";
|
|
10
|
+
import {
|
|
11
|
+
Plugin34
|
|
12
|
+
} from "./location-qgt4e7dm.js";
|
|
13
|
+
import {
|
|
14
|
+
Plugin35
|
|
15
|
+
} from "./location-51n8w2am.js";
|
|
16
|
+
|
|
17
|
+
// src/plugin/websearch/index.ts
|
|
18
|
+
var WebSearchPlugins2 = [
|
|
19
|
+
Plugin33,
|
|
20
|
+
Plugin39,
|
|
21
|
+
Plugin38,
|
|
22
|
+
Plugin34,
|
|
23
|
+
Plugin35
|
|
24
|
+
];
|
|
25
|
+
|
|
26
|
+
export { WebSearchPlugins2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-mntfxcz2.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-jggnvhtg.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
20
|
+
Event: () => Event5,
|
|
21
|
+
ID: () => ID4,
|
|
22
|
+
Info: () => Info6,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service35,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
|
-
Source: () =>
|
|
26
|
+
Source: () => Source3,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node38,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event5 } from "@opencode/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
|
-
var
|
|
42
|
-
var
|
|
43
|
-
var
|
|
41
|
+
var Source3 = Skill.Source;
|
|
42
|
+
var Info6 = Skill.Info;
|
|
43
|
+
var ID4 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
45
|
var available2 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
|
|
46
46
|
var toModelOutput3 = (skill, files) => {
|
|
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service35 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
76
|
+
var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
77
77
|
const bus = yield* Service83;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
80
80
|
initial: () => ({ skills: new Map }),
|
|
81
81
|
editor: (editor) => ({
|
|
82
82
|
list: () => Array.from(editor.skills.values()),
|
|
83
|
-
get: (id) => editor.skills.get(
|
|
83
|
+
get: (id) => editor.skills.get(ID4.make(id)),
|
|
84
84
|
add: (skill) => {
|
|
85
85
|
editor.skills.set(skill.id, { ...skill });
|
|
86
86
|
},
|
|
87
87
|
update: (id, update) => {
|
|
88
|
-
const current = editor.skills.get(
|
|
88
|
+
const current = editor.skills.get(ID4.make(id));
|
|
89
89
|
if (!current)
|
|
90
90
|
return;
|
|
91
91
|
update(current);
|
|
92
|
-
current.id =
|
|
92
|
+
current.id = ID4.make(id);
|
|
93
93
|
},
|
|
94
94
|
remove: (id) => {
|
|
95
|
-
editor.skills.delete(
|
|
95
|
+
editor.skills.delete(ID4.make(id));
|
|
96
96
|
}
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service35.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node38 = makeLocationNode({
|
|
112
|
+
service: Service35,
|
|
113
113
|
layer,
|
|
114
114
|
deps: [node87]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info6, ID4, Name2, available2, toModelOutput3, prepare3, Service35, node38, exports_skill5, Event5 };
|