@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,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-csp167nn.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service42
|
|
6
|
+
} from "./location-sxzvkvgj.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-v1faaxn9.js";
|
|
10
10
|
import {
|
|
11
11
|
provenance2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-syf57q56.js";
|
|
13
13
|
import {
|
|
14
14
|
preview2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-h345add1.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-25h6wh0b.js";
|
|
19
19
|
import {
|
|
20
20
|
Service25
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-vfbk05zz.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
27
|
var exports_generate2 = {};
|
|
@@ -32,7 +32,7 @@ __export(exports_generate2, {
|
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service42;
|
|
36
36
|
const database = yield* Service84;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-csp167nn.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-ckecvw8r.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
18
|
-
ListInput: () =>
|
|
16
|
+
ID: () => ID9,
|
|
17
|
+
Info: () => Info22,
|
|
18
|
+
ListInput: () => ListInput5,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service66,
|
|
21
|
+
node: () => node70
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
30
|
-
var
|
|
28
|
+
var ID9 = PermissionSaved.ID;
|
|
29
|
+
var Info22 = PermissionSaved.Info;
|
|
30
|
+
var ListInput5 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
33
33
|
var AddInput2 = Schema.Struct({
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service66 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service84).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
57
57
|
if (!input.resources.length)
|
|
58
58
|
return;
|
|
59
59
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
60
|
-
id:
|
|
60
|
+
id: ID9.create(),
|
|
61
61
|
project_id: input.projectID,
|
|
62
62
|
action: input.action,
|
|
63
63
|
resource
|
|
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
66
66
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
67
67
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service66.of({ list, add, remove });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
71
|
+
var node70 = makeGlobalNode({ service: Service66, layer, deps: [node88] });
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { ID9, Info22, ListInput5, AddInput2, Service66, node70, exports_saved };
|
|
@@ -4,34 +4,34 @@ import {
|
|
|
4
4
|
MAX_TOTAL_PATCH_BYTES2,
|
|
5
5
|
emptyPatch2,
|
|
6
6
|
chunksByFile2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-tazgh4e4.js";
|
|
8
8
|
import {
|
|
9
9
|
gitExecutable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-ef5x83kb.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service79
|
|
13
|
+
} from "./location-6bass0b7.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-1gmrbm9q.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/git.ts
|
|
22
22
|
var exports_git = {};
|
|
23
23
|
__export(exports_git, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin37,
|
|
25
25
|
VcsGitPlugin: () => exports_git
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Effect } from "effect";
|
|
29
29
|
import { ChildProcess } from "effect/unstable/process";
|
|
30
30
|
import { AppProcess } from "@opencode/util/process";
|
|
31
|
-
var
|
|
31
|
+
var Plugin37 = define({
|
|
32
32
|
id: "opencode.vcs.git",
|
|
33
33
|
effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
|
|
34
|
-
const location = yield*
|
|
34
|
+
const location = yield* Service79;
|
|
35
35
|
if (location.vcs?.type !== "git")
|
|
36
36
|
return;
|
|
37
37
|
const processes = yield* AppProcess.Service;
|
|
@@ -470,4 +470,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
470
470
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
471
471
|
});
|
|
472
472
|
|
|
473
|
-
export {
|
|
473
|
+
export { Plugin37, exports_git };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-mntfxcz2.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,40 +12,40 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event19,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID16,
|
|
20
|
+
Info: () => Info30,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
24
|
-
Reply: () =>
|
|
25
|
-
Service: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError9,
|
|
24
|
+
Reply: () => Reply3,
|
|
25
|
+
Service: () => Service77,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer24,
|
|
29
|
+
node: () => node81,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event19 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID16 = Form.ID;
|
|
39
|
+
var Info30 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
43
43
|
var State3 = Form.State;
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
|
-
var
|
|
45
|
+
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError9 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID16
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError8 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID16
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID16
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID16,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service77 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
84
|
+
var layer24 = Layer.effect(Service77, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service83;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
88
88
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
89
89
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
90
90
|
});
|
|
91
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
91
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError9({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
|
-
const id = input.id ??
|
|
93
|
+
const id = input.id ?? ID16.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -159,9 +159,9 @@ var layer25 = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
159
159
|
closed = true;
|
|
160
160
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
161
161
|
yield* Effect.addFinalizer(() => close);
|
|
162
|
-
return
|
|
162
|
+
return Service77.of({ create, ask, get, list, state, reply, cancel, close });
|
|
163
163
|
}));
|
|
164
|
-
var
|
|
164
|
+
var node81 = makeLocationNode({ service: Service77, layer: layer24, deps: [node87] });
|
|
165
165
|
function validateAnswer2(form, answer) {
|
|
166
166
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
167
167
|
for (const key of Object.keys(answer)) {
|
|
@@ -313,4 +313,4 @@ function isDateTime(value) {
|
|
|
313
313
|
return !Number.isNaN(new Date(value).getTime());
|
|
314
314
|
}
|
|
315
315
|
|
|
316
|
-
export {
|
|
316
|
+
export { ID16, Info30, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError9, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service77, layer24, node81, validateAnswer2, validateFields2, exports_form, Event19 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-kn0epzjf.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-56gdpj1q.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin39,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint6
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint6 = "https://mcp.firecrawl.dev/v2/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String,
|
|
24
24
|
limit: Schema.Number.pipe(Schema.optional)
|
|
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
37
37
|
})
|
|
38
38
|
}));
|
|
39
39
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
40
|
-
var
|
|
40
|
+
var Plugin39 = define({
|
|
41
41
|
id: "opencode.websearch.firecrawl",
|
|
42
42
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -59,7 +59,7 @@ var Plugin20 = define({
|
|
|
59
59
|
execute: (input) => Effect.gen(function* () {
|
|
60
60
|
const connection = yield* ctx.integration.connection.active("firecrawl");
|
|
61
61
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
62
|
-
const result = yield* call2(http,
|
|
62
|
+
const result = yield* call2(http, endpoint6, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
|
|
63
63
|
"User-Agent": useragent2(ctx.app),
|
|
64
64
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
|
|
65
65
|
});
|
|
@@ -77,4 +77,4 @@ var Plugin20 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint6, Plugin39, exports_firecrawl };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mpk0rfs5.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-mntfxcz2.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event18
|
|
10
|
+
} from "./location-j6h5z8n4.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-d725fnbd.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID13,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service74
|
|
20
|
+
} from "./location-v4w8s23p.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID12
|
|
23
|
+
} from "./location-15zraegk.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
load3,
|
|
26
|
+
derive3
|
|
27
|
+
} from "./location-y4h12032.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-kn0epzjf.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
ID11
|
|
33
|
+
} from "./location-2r60reda.js";
|
|
34
34
|
import {
|
|
35
35
|
get5
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./location-54ma36ye.js";
|
|
37
37
|
|
|
38
38
|
// src/plugin/provider/github-copilot.ts
|
|
39
39
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -65,7 +65,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
65
65
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
66
66
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
67
67
|
var oauth = (app) => ({
|
|
68
|
-
integrationID:
|
|
68
|
+
integrationID: ID14.make("github-copilot"),
|
|
69
69
|
method: {
|
|
70
70
|
id: methodID,
|
|
71
71
|
type: "oauth",
|
|
@@ -163,7 +163,7 @@ var oauth = (app) => ({
|
|
|
163
163
|
var GithubCopilotPlugin2 = define({
|
|
164
164
|
id: "opencode.provider.github.copilot",
|
|
165
165
|
effect: Effect.fn(function* (ctx) {
|
|
166
|
-
const providers = yield*
|
|
166
|
+
const providers = yield* Service74;
|
|
167
167
|
const bus = yield* Service83;
|
|
168
168
|
const loading = Semaphore.makeUnsafe(1);
|
|
169
169
|
const loaded = {};
|
|
@@ -180,9 +180,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
180
180
|
return;
|
|
181
181
|
}
|
|
182
182
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
183
|
-
const provider = yield* providers.get(
|
|
183
|
+
const provider = yield* providers.get(ID13.githubCopilot);
|
|
184
184
|
const remote = yield* Effect.tryPromise({
|
|
185
|
-
try: () =>
|
|
185
|
+
try: () => load3(url, {
|
|
186
186
|
...provider?.headers,
|
|
187
187
|
Authorization: `Bearer ${credential.refresh}`,
|
|
188
188
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -202,13 +202,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
202
202
|
editor.method.update(oauth(ctx.app));
|
|
203
203
|
});
|
|
204
204
|
yield* ctx.provider.transform((evt) => {
|
|
205
|
-
const item = evt.get(
|
|
205
|
+
const item = evt.get(ID13.githubCopilot);
|
|
206
206
|
if (!item)
|
|
207
207
|
return;
|
|
208
208
|
if (loaded.models) {
|
|
209
209
|
evt.add({
|
|
210
210
|
info: item.provider,
|
|
211
|
-
models: Array.from(
|
|
211
|
+
models: Array.from(derive3(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
|
|
212
212
|
sourceConnection: loaded.connection
|
|
213
213
|
});
|
|
214
214
|
return;
|
|
@@ -222,17 +222,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
222
222
|
}
|
|
223
223
|
});
|
|
224
224
|
yield* ctx.model.transform((models) => {
|
|
225
|
-
if (models.get(
|
|
226
|
-
models.update(
|
|
225
|
+
if (models.get(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"))) {
|
|
226
|
+
models.update(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"), (model) => {
|
|
227
227
|
model.enabled = false;
|
|
228
228
|
});
|
|
229
229
|
}
|
|
230
230
|
});
|
|
231
231
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
232
|
-
yield* bus.subscribe(
|
|
232
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
233
233
|
yield* refresh().pipe(Effect.forkScoped);
|
|
234
234
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
235
|
-
if (evt.model.providerID !==
|
|
235
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
236
236
|
return;
|
|
237
237
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
238
238
|
return;
|
|
@@ -241,7 +241,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
241
241
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
242
242
|
}));
|
|
243
243
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
244
|
-
if (evt.model.providerID !==
|
|
244
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
245
245
|
return;
|
|
246
246
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
247
247
|
return;
|
|
@@ -251,13 +251,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
251
251
|
evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
|
|
252
252
|
if (interaction !== "conversation-agent")
|
|
253
253
|
evt.headers["x-initiator"] = "agent";
|
|
254
|
-
}), { providerID:
|
|
254
|
+
}), { providerID: ID13.githubCopilot });
|
|
255
255
|
yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
|
|
256
|
-
if (evt.model.providerID !==
|
|
256
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
257
257
|
return;
|
|
258
258
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
259
259
|
return;
|
|
260
|
-
const agent = yield* ctx.agent.get({ agentID:
|
|
260
|
+
const agent = yield* ctx.agent.get({ agentID: ID11.make("title") }).pipe(Effect.orElseSucceed(() => {
|
|
261
261
|
return;
|
|
262
262
|
}));
|
|
263
263
|
if (agent?.data.model)
|
|
@@ -268,9 +268,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
268
268
|
evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
|
|
269
269
|
return;
|
|
270
270
|
}));
|
|
271
|
-
}), { providerID:
|
|
271
|
+
}), { providerID: ID13.githubCopilot });
|
|
272
272
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
273
|
-
if (evt.model.providerID !==
|
|
273
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
274
274
|
return;
|
|
275
275
|
const token = evt.request.headers.get("x-api-key");
|
|
276
276
|
if (!token)
|
|
@@ -278,9 +278,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
278
278
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
279
279
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
280
280
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
281
|
-
}), { providerID:
|
|
281
|
+
}), { providerID: ID13.githubCopilot });
|
|
282
282
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
283
|
-
if (evt.model.providerID !==
|
|
283
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
284
284
|
return;
|
|
285
285
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
286
286
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-kn0epzjf.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin34,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint3
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint3 = "https://api.tavily.com/search";
|
|
19
19
|
var SearchRequest = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
search_depth: Schema.Literal("basic"),
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin34 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -51,7 +51,7 @@ var Plugin26 = define({
|
|
|
51
51
|
execute: (input) => Effect.gen(function* () {
|
|
52
52
|
const connection = yield* ctx.integration.connection.active("tavily");
|
|
53
53
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
54
|
-
const request = yield* HttpClientRequest.post(
|
|
54
|
+
const request = yield* HttpClientRequest.post(endpoint3).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
|
|
55
55
|
"User-Agent": useragent2(ctx.app),
|
|
56
56
|
"X-Client-Name": "opencode2",
|
|
57
57
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
|
|
@@ -77,4 +77,4 @@ var Plugin26 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint3, Plugin34, exports_tavily };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentNotFoundError2,
|
|
3
3
|
StepFailedError2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-sz763eb6.js";
|
|
5
5
|
import {
|
|
6
6
|
CorrectedError2,
|
|
7
7
|
BlockedError2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-jggnvhtg.js";
|
|
9
9
|
import {
|
|
10
10
|
AuthorizationError2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-d725fnbd.js";
|
|
12
12
|
import {
|
|
13
13
|
VariantUnavailableError2,
|
|
14
14
|
UnsupportedPackageError2,
|
|
@@ -16,11 +16,11 @@ import {
|
|
|
16
16
|
ModelInitializationError2,
|
|
17
17
|
UnresolvedProviderVariablesError2,
|
|
18
18
|
UnsupportedCompactionError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-v537vfcj.js";
|
|
20
20
|
import {
|
|
21
21
|
ModelNotSelectedError2,
|
|
22
22
|
ModelUnavailableError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-46t99vnr.js";
|
|
24
24
|
|
|
25
25
|
// src/session/to-session-error.ts
|
|
26
26
|
import { AIError, ToolFailure } from "@opencode/ai";
|
|
@@ -82,7 +82,12 @@ function toSessionError2(cause) {
|
|
|
82
82
|
}
|
|
83
83
|
function providerError(type, reason) {
|
|
84
84
|
const status = reason.http?.status;
|
|
85
|
-
return {
|
|
85
|
+
return {
|
|
86
|
+
type,
|
|
87
|
+
message: reason.message,
|
|
88
|
+
...status === undefined ? {} : { status },
|
|
89
|
+
...reason.body === undefined ? {} : { response: { body: reason.body } }
|
|
90
|
+
};
|
|
86
91
|
}
|
|
87
92
|
|
|
88
93
|
export { toSessionError2 };
|