@opencode-ai/core 0.0.0-dev-19102 → 0.0.0-dev-19105
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 +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +7 -7
- package/dist/bus.js +71 -71
- package/dist/catalog.js +82 -82
- package/dist/chunks/{persistent-pty-sy4zz7rh.js → repository-cache-05pstytc.js} +13 -13
- package/dist/chunks/{persistent-pty-0e0xafbb.js → repository-cache-0e0xafbb.js} +2 -2
- package/dist/chunks/{persistent-pty-kbyz2dkt.js → repository-cache-0gq9h64r.js} +9 -9
- package/dist/chunks/{persistent-pty-3rtc4tqa.js → repository-cache-0n2a45ev.js} +6 -6
- package/dist/chunks/{persistent-pty-0paq2nw3.js → repository-cache-0paq2nw3.js} +1 -1
- package/dist/chunks/{persistent-pty-ak38yve4.js → repository-cache-0qhg2ys8.js} +9 -9
- package/dist/chunks/{persistent-pty-0s9ayhjt.js → repository-cache-0s9ayhjt.js} +1 -1
- package/dist/chunks/{persistent-pty-gkdfetxb.js → repository-cache-0vekmfs4.js} +10 -10
- package/dist/chunks/{persistent-pty-xmtn9a9r.js → repository-cache-0w2scgpv.js} +27 -27
- package/dist/chunks/{persistent-pty-msxx7emw.js → repository-cache-18gap71y.js} +26 -26
- package/dist/chunks/{persistent-pty-1ct4r87x.js → repository-cache-1ct4r87x.js} +1 -1
- package/dist/chunks/{persistent-pty-1f1wzhgc.js → repository-cache-1f1wzhgc.js} +1 -1
- package/dist/chunks/{persistent-pty-nrse418z.js → repository-cache-1pxb6me4.js} +20 -20
- package/dist/chunks/{persistent-pty-bn8089at.js → repository-cache-1wze5k7w.js} +11 -11
- package/dist/chunks/{persistent-pty-21r38tys.js → repository-cache-21r38tys.js} +1 -1
- package/dist/chunks/{persistent-pty-fn2zck2h.js → repository-cache-220r9699.js} +14 -14
- package/dist/chunks/{persistent-pty-2402vzrj.js → repository-cache-2402vzrj.js} +1 -1
- package/dist/chunks/{persistent-pty-97f5v037.js → repository-cache-28pcbh69.js} +4 -4
- package/dist/chunks/{persistent-pty-1s4k183h.js → repository-cache-29ez19kp.js} +18 -18
- package/dist/chunks/{persistent-pty-2a5m3afh.js → repository-cache-2a5m3afh.js} +1 -1
- package/dist/chunks/{persistent-pty-2ht70gj7.js → repository-cache-2ht70gj7.js} +1 -1
- package/dist/chunks/{persistent-pty-2jqmte8w.js → repository-cache-2jqmte8w.js} +2 -2
- package/dist/chunks/{persistent-pty-x2rt1cxd.js → repository-cache-2kykh1mj.js} +5 -5
- package/dist/chunks/{persistent-pty-h2st8tcp.js → repository-cache-2m4g9ewj.js} +18 -18
- package/dist/chunks/{persistent-pty-6h414ywr.js → repository-cache-2qg97hzz.js} +5 -5
- package/dist/chunks/{persistent-pty-wctfcgtb.js → repository-cache-32pxk2gf.js} +6 -6
- package/dist/chunks/{persistent-pty-36mzbjn4.js → repository-cache-36mzbjn4.js} +1 -1
- package/dist/chunks/{persistent-pty-nt2wbfgf.js → repository-cache-394hfvj3.js} +23 -23
- package/dist/chunks/{persistent-pty-qmkhq1hj.js → repository-cache-39xga0q8.js} +10 -10
- package/dist/chunks/{persistent-pty-fgj7dkc9.js → repository-cache-3aydfa36.js} +6 -6
- package/dist/chunks/{persistent-pty-c4ka2x60.js → repository-cache-3dfc520q.js} +35 -35
- package/dist/chunks/{persistent-pty-3fc6dm20.js → repository-cache-3fc6dm20.js} +1 -1
- package/dist/chunks/{persistent-pty-za3gge5n.js → repository-cache-3fs6zsnx.js} +28 -28
- package/dist/chunks/{persistent-pty-3hepkmqq.js → repository-cache-3hepkmqq.js} +1 -1
- package/dist/chunks/{persistent-pty-gqdgqbeh.js → repository-cache-3jwx3mex.js} +5 -5
- package/dist/chunks/{persistent-pty-c2c0m65v.js → repository-cache-3q2746ky.js} +35 -35
- package/dist/chunks/{persistent-pty-3qzbfqsy.js → repository-cache-3qzbfqsy.js} +2 -2
- package/dist/chunks/{persistent-pty-craj34q5.js → repository-cache-3s9gm80q.js} +24 -24
- package/dist/chunks/{persistent-pty-3smtnn6g.js → repository-cache-3smtnn6g.js} +1 -1
- package/dist/chunks/{persistent-pty-3tvqynh2.js → repository-cache-3tvqynh2.js} +1 -1
- package/dist/chunks/{persistent-pty-20jvp80s.js → repository-cache-3zmf0rfa.js} +8 -8
- package/dist/chunks/{persistent-pty-454k5vzh.js → repository-cache-454k5vzh.js} +1 -1
- package/dist/chunks/{persistent-pty-vwnnwet6.js → repository-cache-49yh3bfh.js} +50 -50
- package/dist/chunks/{persistent-pty-247ymhap.js → repository-cache-4ehv4ads.js} +1 -1
- package/dist/chunks/{persistent-pty-ts7bph5s.js → repository-cache-4jjgfsa5.js} +85 -85
- package/dist/chunks/{persistent-pty-aj6efch7.js → repository-cache-4pem94xn.js} +12 -12
- package/dist/chunks/{persistent-pty-4r2nyarf.js → repository-cache-4r2nyarf.js} +1 -1
- package/dist/chunks/{persistent-pty-k50eqkg3.js → repository-cache-546r5bpn.js} +13 -13
- package/dist/chunks/{persistent-pty-ne5w19nk.js → repository-cache-563f1ftq.js} +29 -29
- package/dist/chunks/{persistent-pty-j90p7j59.js → repository-cache-57j4c7ba.js} +4 -4
- package/dist/chunks/{persistent-pty-5daktx2q.js → repository-cache-5daktx2q.js} +1 -1
- package/dist/chunks/repository-cache-5evhmzwd.js +243 -0
- package/dist/chunks/{persistent-pty-5fmxt4p5.js → repository-cache-5fmxt4p5.js} +1 -1
- package/dist/chunks/{persistent-pty-5jvc5tg2.js → repository-cache-5jvc5tg2.js} +1 -1
- package/dist/chunks/{persistent-pty-s8g36k60.js → repository-cache-5pcq40vq.js} +4 -4
- package/dist/chunks/{persistent-pty-5tfcvdvj.js → repository-cache-5pn8t89y.js} +5 -5
- package/dist/chunks/{persistent-pty-ez5b8bq3.js → repository-cache-5sg4xzjf.js} +7 -7
- package/dist/chunks/{persistent-pty-0jwsre1p.js → repository-cache-607tc6va.js} +5 -5
- package/dist/chunks/{persistent-pty-h8q6a69m.js → repository-cache-630pqp47.js} +23 -23
- package/dist/chunks/{persistent-pty-7k5q7gm2.js → repository-cache-63mar4rr.js} +21 -21
- package/dist/chunks/{persistent-pty-6d0jr2jk.js → repository-cache-656jcyx5.js} +30 -30
- package/dist/chunks/{persistent-pty-e3vpkeje.js → repository-cache-66fanshm.js} +13 -13
- package/dist/chunks/{persistent-pty-68qdqky7.js → repository-cache-6fb8xvtg.js} +18 -18
- package/dist/chunks/{persistent-pty-6tf8tr4v.js → repository-cache-6tf8tr4v.js} +2 -2
- package/dist/chunks/{persistent-pty-rpksmvzr.js → repository-cache-6v1jh7bb.js} +11 -11
- package/dist/chunks/{persistent-pty-6z5bwd8g.js → repository-cache-6z5bwd8g.js} +2 -2
- package/dist/chunks/{persistent-pty-711hfp6y.js → repository-cache-711hfp6y.js} +2 -2
- package/dist/chunks/{persistent-pty-88fw41mx.js → repository-cache-748kwc47.js} +16 -16
- package/dist/chunks/{persistent-pty-sagqnce1.js → repository-cache-74kdhb1m.js} +3 -3
- package/dist/chunks/{persistent-pty-7bmhse3q.js → repository-cache-7bmhse3q.js} +1 -1
- package/dist/chunks/{persistent-pty-6kgy03tf.js → repository-cache-7j312h9m.js} +11 -11
- package/dist/chunks/{persistent-pty-xw378f4n.js → repository-cache-7sfv3p2m.js} +28 -28
- package/dist/chunks/{persistent-pty-yvyswnaa.js → repository-cache-84fw9q5z.js} +9 -9
- package/dist/chunks/{persistent-pty-n50399pa.js → repository-cache-84j2v9xn.js} +10 -10
- package/dist/chunks/{persistent-pty-89znhe33.js → repository-cache-89znhe33.js} +1 -1
- package/dist/chunks/{persistent-pty-f02rj1me.js → repository-cache-8a1r08v4.js} +82 -82
- package/dist/chunks/repository-cache-8b4ae33c.js +450 -0
- package/dist/chunks/{persistent-pty-1tag838h.js → repository-cache-8bx7t8v6.js} +27 -27
- package/dist/chunks/{persistent-pty-2b6y700x.js → repository-cache-8gd1dzb2.js} +39 -39
- package/dist/chunks/{persistent-pty-f44dq202.js → repository-cache-8m2jrjp3.js} +2 -2
- package/dist/chunks/{persistent-pty-yxzxwnyx.js → repository-cache-8x01vjp4.js} +9 -9
- package/dist/chunks/{persistent-pty-y2cqme3r.js → repository-cache-93a8yfjt.js} +5 -5
- package/dist/chunks/{persistent-pty-63kze1d3.js → repository-cache-9gq6sz2t.js} +4 -4
- package/dist/chunks/{persistent-pty-rvn46zq7.js → repository-cache-9qj8fy7h.js} +9 -9
- package/dist/chunks/{persistent-pty-9qm9egsn.js → repository-cache-9qm9egsn.js} +2 -2
- package/dist/chunks/{persistent-pty-fa2er9zw.js → repository-cache-9renkqs2.js} +9 -9
- package/dist/chunks/repository-cache-9sh4wc5j.js +18 -0
- package/dist/chunks/{persistent-pty-a202dayn.js → repository-cache-9z8gssse.js} +12 -12
- package/dist/chunks/{persistent-pty-bpyfw359.js → repository-cache-a82a9vrx.js} +8 -8
- package/dist/chunks/{persistent-pty-m3fm0fm8.js → repository-cache-a9zfrvqc.js} +5 -5
- package/dist/chunks/{persistent-pty-aaet6srn.js → repository-cache-aaet6srn.js} +2 -2
- package/dist/chunks/{persistent-pty-sgh09qtt.js → repository-cache-ab3wbpm9.js} +24 -24
- package/dist/chunks/{persistent-pty-ajtjthsy.js → repository-cache-ajtjthsy.js} +2 -2
- package/dist/chunks/{persistent-pty-acdzekmc.js → repository-cache-avnqhz03.js} +15 -15
- package/dist/chunks/{persistent-pty-b6gygkdw.js → repository-cache-b6gygkdw.js} +2 -2
- package/dist/chunks/{persistent-pty-70203jtn.js → repository-cache-b7x2d8ke.js} +29 -29
- package/dist/chunks/{persistent-pty-b9wsbatv.js → repository-cache-b9wsbatv.js} +1 -1
- package/dist/chunks/{persistent-pty-tgpxmjaj.js → repository-cache-bej7k3ry.js} +21 -21
- package/dist/chunks/{persistent-pty-s1zas8dv.js → repository-cache-bnrckxde.js} +9 -9
- package/dist/chunks/{persistent-pty-gpkgrk3z.js → repository-cache-bpnz08mb.js} +2 -2
- package/dist/chunks/{persistent-pty-a80d3v2r.js → repository-cache-bsgfd7rs.js} +15 -15
- package/dist/chunks/{persistent-pty-twtpgget.js → repository-cache-btx77ktp.js} +10 -10
- package/dist/chunks/{persistent-pty-gev0qjxp.js → repository-cache-bx4kw4b4.js} +13 -13
- package/dist/chunks/{persistent-pty-edaf3eyg.js → repository-cache-c9j6j8xv.js} +20 -20
- package/dist/chunks/{persistent-pty-2ghkytyg.js → repository-cache-ccebnpq3.js} +36 -36
- package/dist/chunks/{persistent-pty-vqxj4jm3.js → repository-cache-cpj9epp9.js} +24 -24
- package/dist/chunks/{persistent-pty-5mdrv3hm.js → repository-cache-cqg8v4c7.js} +4 -4
- package/dist/chunks/{persistent-pty-1r9xt4cr.js → repository-cache-d25s7832.js} +24 -24
- package/dist/chunks/{persistent-pty-kbg5ppnb.js → repository-cache-d4pa9p4x.js} +7 -7
- package/dist/chunks/{persistent-pty-d72308c8.js → repository-cache-d72308c8.js} +2 -2
- package/dist/chunks/{persistent-pty-2tn9agq3.js → repository-cache-da9t65db.js} +28 -28
- package/dist/chunks/{persistent-pty-8g20mv6s.js → repository-cache-darvehcf.js} +14 -14
- package/dist/chunks/{persistent-pty-gynq7mwy.js → repository-cache-dmjcn6k2.js} +15 -15
- package/dist/chunks/{persistent-pty-2pr8vdab.js → repository-cache-dnbc70qt.js} +37 -37
- package/dist/chunks/{persistent-pty-nzf6eghd.js → repository-cache-drxzgfe8.js} +10 -10
- package/dist/chunks/{persistent-pty-a3x9xvd8.js → repository-cache-e7gxy7fd.js} +4 -4
- package/dist/chunks/{persistent-pty-0g7k506p.js → repository-cache-eb943jbd.js} +10 -10
- package/dist/chunks/{persistent-pty-s6qgbjky.js → repository-cache-edbshx5x.js} +6 -6
- package/dist/chunks/{persistent-pty-ac3j6t8f.js → repository-cache-efcf8wyf.js} +8 -8
- package/dist/chunks/{persistent-pty-82aytm87.js → repository-cache-eq19x63z.js} +1 -1
- package/dist/chunks/repository-cache-ex6jvk62.js +20 -0
- package/dist/chunks/{persistent-pty-97tyj6c6.js → repository-cache-ey40d2qc.js} +24 -24
- package/dist/chunks/{persistent-pty-zbqrcwzf.js → repository-cache-f6b02bh3.js} +20 -20
- package/dist/chunks/{persistent-pty-0w19ktq4.js → repository-cache-favyzkqq.js} +2 -2
- package/dist/chunks/{persistent-pty-54bnqtv9.js → repository-cache-fczys2jv.js} +17 -17
- package/dist/chunks/{persistent-pty-xspyb9m3.js → repository-cache-fdsjkpmm.js} +8 -8
- package/dist/chunks/{persistent-pty-1g7epwpd.js → repository-cache-fdv30zvt.js} +4 -4
- package/dist/chunks/{persistent-pty-rmpjenwd.js → repository-cache-fk96haxh.js} +11 -11
- package/dist/chunks/{persistent-pty-shbsgx5h.js → repository-cache-fnptnz5b.js} +10 -10
- package/dist/chunks/{persistent-pty-bqgp69re.js → repository-cache-fr45shcv.js} +15 -15
- package/dist/chunks/{persistent-pty-d8brfqjj.js → repository-cache-fryr0adr.js} +13 -13
- package/dist/chunks/{persistent-pty-fxbjtjnd.js → repository-cache-fxbjtjnd.js} +1 -1
- package/dist/chunks/{persistent-pty-fxypknc8.js → repository-cache-fxypknc8.js} +1 -1
- package/dist/chunks/{persistent-pty-t7dkb9mz.js → repository-cache-fy84afhm.js} +7 -7
- package/dist/chunks/{persistent-pty-xa3k010d.js → repository-cache-g43zmwxj.js} +36 -36
- package/dist/chunks/{persistent-pty-8tj73bzm.js → repository-cache-g5s092ab.js} +3 -3
- package/dist/chunks/{persistent-pty-ta4jwntf.js → repository-cache-gbkf9b04.js} +4 -4
- package/dist/chunks/{persistent-pty-gd4qta3r.js → repository-cache-gd4qta3r.js} +1 -1
- package/dist/chunks/{persistent-pty-rs8bkfty.js → repository-cache-gdgf4bzy.js} +2 -2
- package/dist/chunks/{persistent-pty-64fqqfmx.js → repository-cache-grxhsk7a.js} +8 -8
- package/dist/chunks/{persistent-pty-skfe9q3s.js → repository-cache-h143p8q2.js} +46 -46
- package/dist/chunks/{persistent-pty-h6vf3j39.js → repository-cache-h6vf3j39.js} +1 -1
- package/dist/chunks/{persistent-pty-r60qd0ca.js → repository-cache-h6x65x9a.js} +20 -20
- package/dist/chunks/{persistent-pty-heyhwy2w.js → repository-cache-heyhwy2w.js} +1 -1
- package/dist/chunks/{persistent-pty-c5g21jc3.js → repository-cache-hn2rbvre.js} +9 -9
- package/dist/chunks/{persistent-pty-738s90ft.js → repository-cache-hqpvkzyp.js} +7 -7
- package/dist/chunks/{persistent-pty-hrvm11jt.js → repository-cache-hrvm11jt.js} +3 -3
- package/dist/chunks/{persistent-pty-kvsjn1dr.js → repository-cache-hw4pv20g.js} +2 -2
- package/dist/chunks/{persistent-pty-smgpfta5.js → repository-cache-hzrqpb26.js} +12 -12
- package/dist/chunks/{persistent-pty-ckev9kd7.js → repository-cache-hzxq4bdr.js} +3 -3
- package/dist/chunks/{persistent-pty-pzjeeacc.js → repository-cache-j3pby61b.js} +6 -6
- package/dist/chunks/{persistent-pty-qg20g60x.js → repository-cache-j4gz6jpe.js} +15 -15
- package/dist/chunks/{persistent-pty-a0q04gk3.js → repository-cache-j5enze0m.js} +4 -4
- package/dist/chunks/{persistent-pty-5qd3pb7m.js → repository-cache-j935v87r.js} +2 -2
- package/dist/chunks/{persistent-pty-twy2b4zd.js → repository-cache-jfzxswtj.js} +8 -8
- package/dist/chunks/{persistent-pty-m1ggyr73.js → repository-cache-jj3qxa52.js} +4 -4
- package/dist/chunks/{persistent-pty-gjswkc62.js → repository-cache-jpeny003.js} +30 -30
- package/dist/chunks/{persistent-pty-jwcy2c2z.js → repository-cache-jwcy2c2z.js} +1 -1
- package/dist/chunks/{persistent-pty-3t5jsk6c.js → repository-cache-jyp7qw1b.js} +12 -12
- package/dist/chunks/{persistent-pty-73tf0mnp.js → repository-cache-k2hym4j5.js} +45 -45
- package/dist/chunks/{persistent-pty-k4bwy1x5.js → repository-cache-k4bwy1x5.js} +1 -1
- package/dist/chunks/{persistent-pty-628cc3h3.js → repository-cache-k6tca84x.js} +16 -16
- package/dist/chunks/{persistent-pty-kg06axw8.js → repository-cache-kg06axw8.js} +1 -1
- package/dist/chunks/{persistent-pty-m79fg301.js → repository-cache-kj3dqcxb.js} +15 -15
- package/dist/chunks/{persistent-pty-yfbd16n1.js → repository-cache-kk3rr3qh.js} +5 -5
- package/dist/chunks/{persistent-pty-zhhz7vvj.js → repository-cache-kk7gmv6r.js} +24 -24
- package/dist/chunks/{persistent-pty-cf6j12q4.js → repository-cache-kwx7x66f.js} +14 -14
- package/dist/chunks/{persistent-pty-g1v92phv.js → repository-cache-m207hpws.js} +1 -1
- package/dist/chunks/{persistent-pty-by7j3p9d.js → repository-cache-m3tecxrk.js} +11 -11
- package/dist/chunks/{persistent-pty-m9w0rfyh.js → repository-cache-m9w0rfyh.js} +1 -1
- package/dist/chunks/{persistent-pty-nca7p386.js → repository-cache-marnn1hp.js} +7 -7
- package/dist/chunks/{persistent-pty-x15v48ws.js → repository-cache-mg7j0d2q.js} +15 -15
- package/dist/chunks/{persistent-pty-eq1pz5kg.js → repository-cache-mhkvc446.js} +3 -3
- package/dist/chunks/{persistent-pty-serxh5qa.js → repository-cache-mj85qk29.js} +6 -6
- package/dist/chunks/{persistent-pty-qp6zthdp.js → repository-cache-mnvbmvrb.js} +20 -20
- package/dist/chunks/{persistent-pty-1nk2mnc0.js → repository-cache-mq9r6drf.js} +3 -3
- package/dist/chunks/{persistent-pty-6ykkc5x7.js → repository-cache-n9q77z0r.js} +31 -31
- package/dist/chunks/{persistent-pty-b6xfkz6v.js → repository-cache-nb22s6w0.js} +32 -32
- package/dist/chunks/{persistent-pty-7x0f5kvq.js → repository-cache-nc48n2wr.js} +11 -11
- package/dist/chunks/{persistent-pty-qqbjvkxt.js → repository-cache-ne45hhcm.js} +48 -48
- package/dist/chunks/{persistent-pty-0d5mggnk.js → repository-cache-npqm4cqn.js} +22 -22
- package/dist/chunks/{persistent-pty-d7zznenn.js → repository-cache-nrz5c8c1.js} +9 -9
- package/dist/chunks/{persistent-pty-369x3t65.js → repository-cache-nwkrf4xa.js} +4 -4
- package/dist/chunks/{persistent-pty-wvx09938.js → repository-cache-nzmvpftv.js} +12 -12
- package/dist/chunks/{persistent-pty-zcc5h559.js → repository-cache-p7cz5004.js} +15 -15
- package/dist/chunks/{persistent-pty-zja0h37x.js → repository-cache-pafd5yw5.js} +3 -3
- package/dist/chunks/{persistent-pty-ameg2vx3.js → repository-cache-pbxt2nhv.js} +1 -1
- package/dist/chunks/{persistent-pty-pjvnvgmy.js → repository-cache-pjvnvgmy.js} +1 -1
- package/dist/chunks/{persistent-pty-pknna89w.js → repository-cache-pknna89w.js} +1 -1
- package/dist/chunks/{persistent-pty-y6raa7nc.js → repository-cache-ppjk6hn1.js} +35 -35
- package/dist/chunks/{persistent-pty-jnhf5mef.js → repository-cache-pq15x4g3.js} +1 -1
- package/dist/chunks/{persistent-pty-bzc17vb9.js → repository-cache-pv7qv44g.js} +3 -3
- package/dist/chunks/{persistent-pty-kpyq2w0f.js → repository-cache-pwxeq6k8.js} +3 -3
- package/dist/chunks/{persistent-pty-w40bmgb5.js → repository-cache-pz6mwber.js} +21 -21
- package/dist/chunks/{persistent-pty-1mdarqb0.js → repository-cache-q2jmrb6y.js} +32 -32
- package/dist/chunks/{persistent-pty-tckacx9z.js → repository-cache-q4gqerdf.js} +30 -30
- package/dist/chunks/{persistent-pty-yzp432d8.js → repository-cache-q4xszad5.js} +34 -34
- package/dist/chunks/{persistent-pty-w6z2g4f7.js → repository-cache-qccqznv7.js} +26 -26
- package/dist/chunks/{persistent-pty-4xjdkfjs.js → repository-cache-qkxs7z50.js} +18 -18
- package/dist/chunks/{persistent-pty-0v9kxdr7.js → repository-cache-qm4x1tv3.js} +17 -17
- package/dist/chunks/{persistent-pty-010ymet8.js → repository-cache-qnhdtvjf.js} +4 -4
- package/dist/chunks/{persistent-pty-cqzeme2b.js → repository-cache-qrd9jmab.js} +16 -16
- package/dist/chunks/{persistent-pty-qsdy395h.js → repository-cache-qsdy395h.js} +1 -1
- package/dist/chunks/{persistent-pty-mbapk581.js → repository-cache-r7jfqefa.js} +38 -38
- package/dist/chunks/{persistent-pty-c47xcf4v.js → repository-cache-r83xrjyd.js} +17 -17
- package/dist/chunks/{persistent-pty-r8dhm0tv.js → repository-cache-r8dhm0tv.js} +1 -1
- package/dist/chunks/{persistent-pty-3j6zyyvs.js → repository-cache-rcwznz6s.js} +28 -28
- package/dist/chunks/{persistent-pty-stfay7w2.js → repository-cache-rcy0rrp8.js} +59 -59
- package/dist/chunks/{persistent-pty-dba19q6g.js → repository-cache-remvd9dc.js} +34 -34
- package/dist/chunks/{persistent-pty-70nq51cn.js → repository-cache-rgkby237.js} +20 -20
- package/dist/chunks/{persistent-pty-pae9v2p1.js → repository-cache-rmkjmdgc.js} +4 -4
- package/dist/chunks/{persistent-pty-s3kg5m6x.js → repository-cache-rykn30ym.js} +14 -14
- package/dist/chunks/{persistent-pty-03xjq0tm.js → repository-cache-s6yp8zxq.js} +13 -13
- package/dist/chunks/{persistent-pty-sba4qhjf.js → repository-cache-sba4qhjf.js} +1 -1
- package/dist/chunks/{persistent-pty-m7khsb1d.js → repository-cache-sgycpjz0.js} +20 -20
- package/dist/chunks/{persistent-pty-me6p58dn.js → repository-cache-sk3frpwf.js} +25 -25
- package/dist/chunks/{persistent-pty-scarvxmk.js → repository-cache-sqwe93rn.js} +11 -11
- package/dist/chunks/{persistent-pty-mpzahx5f.js → repository-cache-ssw3vdak.js} +155 -155
- package/dist/chunks/{persistent-pty-06b9fxmy.js → repository-cache-svsveg1x.js} +27 -27
- package/dist/chunks/{persistent-pty-an7cqtb7.js → repository-cache-sx1n432n.js} +4 -4
- package/dist/chunks/{persistent-pty-ss7602g3.js → repository-cache-t1s1k0sf.js} +21 -21
- package/dist/chunks/{persistent-pty-n8bbtjn9.js → repository-cache-t5ghet4f.js} +11 -11
- package/dist/chunks/{persistent-pty-af5cxv86.js → repository-cache-t7qz6q2a.js} +55 -55
- package/dist/chunks/{persistent-pty-tazgh4e4.js → repository-cache-tazgh4e4.js} +1 -1
- package/dist/chunks/{persistent-pty-1nknpwm3.js → repository-cache-tdjcc7fh.js} +4 -4
- package/dist/chunks/{persistent-pty-thfv75je.js → repository-cache-thfv75je.js} +2 -2
- package/dist/chunks/{persistent-pty-tjykrgmx.js → repository-cache-tjykrgmx.js} +1 -1
- package/dist/chunks/{persistent-pty-ymbwt96j.js → repository-cache-tppvcy65.js} +9 -9
- package/dist/chunks/{persistent-pty-vng46sf0.js → repository-cache-trwew4qa.js} +4 -4
- package/dist/chunks/{persistent-pty-ajyamx78.js → repository-cache-v1sap15r.js} +9 -9
- package/dist/chunks/{persistent-pty-jn521bbx.js → repository-cache-v4bb5bjz.js} +58 -58
- package/dist/chunks/{persistent-pty-we5ggtsr.js → repository-cache-v69gwcvd.js} +11 -11
- package/dist/chunks/{persistent-pty-d3baj57q.js → repository-cache-v807t513.js} +15 -15
- package/dist/chunks/{persistent-pty-x92yqmyb.js → repository-cache-vcxmff2j.js} +31 -31
- package/dist/chunks/{persistent-pty-ftr4qpk4.js → repository-cache-vejcm8dx.js} +9 -9
- package/dist/chunks/{persistent-pty-66b3gex4.js → repository-cache-vfj1gh84.js} +22 -22
- package/dist/chunks/{persistent-pty-xr14zjyh.js → repository-cache-vk1xmwae.js} +14 -14
- package/dist/chunks/{persistent-pty-8jkpz5pq.js → repository-cache-vmca7sfr.js} +6 -6
- package/dist/chunks/{persistent-pty-yawraddd.js → repository-cache-vnh2yqr1.js} +16 -16
- package/dist/chunks/repository-cache-w3vb4krt.js +4 -0
- package/dist/chunks/{persistent-pty-w3wsvvr9.js → repository-cache-w3wsvvr9.js} +1 -1
- package/dist/chunks/{persistent-pty-rb1agnwm.js → repository-cache-w9h2daj1.js} +10 -10
- package/dist/chunks/{persistent-pty-wd87259q.js → repository-cache-wd87259q.js} +1 -1
- package/dist/chunks/{persistent-pty-eerwjj66.js → repository-cache-wjk9qnse.js} +44 -44
- package/dist/chunks/{persistent-pty-30janqm6.js → repository-cache-wr76wy0j.js} +22 -22
- package/dist/chunks/{persistent-pty-ykczf8eq.js → repository-cache-wr7ps67x.js} +5 -5
- package/dist/chunks/{persistent-pty-w7y9r27g.js → repository-cache-ws0jz6qs.js} +43 -43
- package/dist/chunks/{persistent-pty-vrxbpmbb.js → repository-cache-wshx1hjc.js} +46 -46
- package/dist/chunks/{persistent-pty-ddbc03cc.js → repository-cache-wvwx3b6d.js} +1 -1
- package/dist/chunks/{persistent-pty-f4ywn050.js → repository-cache-wydngvmw.js} +17 -17
- package/dist/chunks/{persistent-pty-d030bd0f.js → repository-cache-wyetrkgt.js} +11 -11
- package/dist/chunks/{persistent-pty-81xmbs00.js → repository-cache-wz5fptb2.js} +30 -30
- package/dist/chunks/{persistent-pty-x1ezjp6w.js → repository-cache-x1ezjp6w.js} +1 -1
- package/dist/chunks/{persistent-pty-10pzdvzd.js → repository-cache-x5yepr7q.js} +7 -7
- package/dist/chunks/{persistent-pty-w5g2dnw1.js → repository-cache-xb07znzv.js} +39 -39
- package/dist/chunks/{persistent-pty-j8xe25ng.js → repository-cache-xbmkhb6r.js} +25 -25
- package/dist/chunks/{persistent-pty-fhzfk9q0.js → repository-cache-xmjfe6wn.js} +23 -23
- package/dist/chunks/{persistent-pty-2rjhfz2z.js → repository-cache-xqfsn8ey.js} +9 -9
- package/dist/chunks/{persistent-pty-eyrpjw8c.js → repository-cache-xye0m3vs.js} +26 -26
- package/dist/chunks/{persistent-pty-y1fvbwt7.js → repository-cache-y1fvbwt7.js} +1 -1
- package/dist/chunks/{persistent-pty-czrfnqv4.js → repository-cache-yb77q6ts.js} +17 -17
- package/dist/chunks/{persistent-pty-a62e05n8.js → repository-cache-yesb68we.js} +5 -5
- package/dist/chunks/{persistent-pty-97058x90.js → repository-cache-yfcq4873.js} +3 -3
- package/dist/chunks/{persistent-pty-y89bt055.js → repository-cache-yj47mv1v.js} +11 -11
- package/dist/chunks/{persistent-pty-yzd93mfj.js → repository-cache-yzd93mfj.js} +2 -2
- package/dist/chunks/{persistent-pty-c3e32yye.js → repository-cache-z0svzngc.js} +32 -32
- package/dist/chunks/{persistent-pty-z1k01bn4.js → repository-cache-z1k01bn4.js} +2 -2
- package/dist/chunks/{persistent-pty-8hxn7kz0.js → repository-cache-z30gy60d.js} +20 -20
- package/dist/chunks/{persistent-pty-4kav5gz3.js → repository-cache-z3x7m4xk.js} +9 -9
- package/dist/chunks/{persistent-pty-fjkyzcze.js → repository-cache-z44ta873.js} +6 -6
- package/dist/chunks/{persistent-pty-6svye9h2.js → repository-cache-z59zzgt4.js} +9 -9
- package/dist/chunks/{persistent-pty-29x78va6.js → repository-cache-z63w68vq.js} +6 -6
- package/dist/chunks/{persistent-pty-g2c9bhkq.js → repository-cache-zfdtt056.js} +6 -6
- package/dist/chunks/{persistent-pty-7dz4r7mk.js → repository-cache-zvnk5jqh.js} +8 -8
- package/dist/chunks/{persistent-pty-zxq2ej10.js → repository-cache-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +114 -114
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +116 -116
- package/dist/config/plugin/image.js +114 -114
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +113 -113
- package/dist/config/plugin/provider.js +112 -112
- package/dist/config/plugin/reference.js +116 -116
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +114 -114
- package/dist/config/plugin/source.js +116 -116
- package/dist/config/plugin/tool-output.js +116 -116
- package/dist/config/plugin/websearch.js +114 -114
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +116 -116
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +80 -80
- package/dist/database/database.js +64 -64
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +356 -356
- 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 +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-mutation.js +85 -85
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +217 -217
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +96 -96
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +84 -84
- package/dist/generate.js +86 -86
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +7 -7
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +7 -7
- package/dist/instance.js +347 -347
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +86 -86
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +344 -344
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +98 -98
- package/dist/mcp/instructions.js +118 -118
- package/dist/mcp/oauth.js +2 -2
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +85 -85
- package/dist/model.js +8 -8
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +107 -107
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +96 -96
- package/dist/plugin/command.js +93 -93
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +208 -208
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +316 -316
- package/dist/plugin/mcp-codemode-exclusion.js +1 -1
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +2 -2
- package/dist/plugin/plan.js +96 -96
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +4 -4
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- 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 +79 -79
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +75 -75
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +78 -78
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +75 -75
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +76 -76
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +154 -154
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +5 -5
- package/dist/plugin/skill.js +129 -129
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +335 -335
- package/dist/plugin/system-prompt.js +5 -5
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +2 -2
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +111 -111
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +211 -211
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +92 -92
- package/dist/reference/instructions.js +82 -82
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +77 -77
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +145 -145
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +118 -118
- package/dist/session/generate.js +144 -144
- package/dist/session/history.js +14 -14
- package/dist/session/inbox.js +82 -82
- 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 +91 -91
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +112 -112
- package/dist/session/model-transport.js +5 -5
- package/dist/session/move.js +124 -124
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +99 -99
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +220 -220
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +85 -85
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +2 -2
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +97 -97
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +105 -105
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +104 -104
- package/dist/snapshot.js +84 -84
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +119 -119
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +117 -117
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +114 -114
- package/dist/tool/plugin/question.js +99 -99
- package/dist/tool/plugin/read.js +118 -118
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +104 -104
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +6 -6
- package/dist/tool.js +11 -11
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +5 -5
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +90 -90
- package/package.json +7 -7
- package/dist/chunks/persistent-pty-35chk74t.js +0 -4
- package/dist/chunks/persistent-pty-40ke5ycv.js +0 -18
- package/dist/chunks/persistent-pty-ch0he8ej.js +0 -450
- package/dist/chunks/persistent-pty-qqytqg20.js +0 -243
- package/dist/chunks/persistent-pty-zy35xm16.js +0 -20
- /package/dist/chunks/{persistent-pty-0fabt78z.js → repository-cache-0fabt78z.js} +0 -0
- /package/dist/chunks/{persistent-pty-0qkdqm5v.js → repository-cache-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{persistent-pty-0zkw76rk.js → repository-cache-0zkw76rk.js} +0 -0
- /package/dist/chunks/{persistent-pty-17cy0kzp.js → repository-cache-17cy0kzp.js} +0 -0
- /package/dist/chunks/{persistent-pty-1cnp2v09.js → repository-cache-1cnp2v09.js} +0 -0
- /package/dist/chunks/{persistent-pty-1kg9ymc8.js → repository-cache-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{persistent-pty-2710q6r3.js → repository-cache-2710q6r3.js} +0 -0
- /package/dist/chunks/{persistent-pty-2axfhc9x.js → repository-cache-2axfhc9x.js} +0 -0
- /package/dist/chunks/{persistent-pty-2c3vjs8z.js → repository-cache-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{persistent-pty-359p4xyc.js → repository-cache-359p4xyc.js} +0 -0
- /package/dist/chunks/{persistent-pty-3asan66x.js → repository-cache-3asan66x.js} +0 -0
- /package/dist/chunks/{persistent-pty-3t738kvx.js → repository-cache-3t738kvx.js} +0 -0
- /package/dist/chunks/{persistent-pty-3v8g72cx.js → repository-cache-3v8g72cx.js} +0 -0
- /package/dist/chunks/{persistent-pty-3wcehsnq.js → repository-cache-3wcehsnq.js} +0 -0
- /package/dist/chunks/{persistent-pty-41nvscxy.js → repository-cache-41nvscxy.js} +0 -0
- /package/dist/chunks/{persistent-pty-43n2bw4t.js → repository-cache-43n2bw4t.js} +0 -0
- /package/dist/chunks/{persistent-pty-4knz6hnm.js → repository-cache-4knz6hnm.js} +0 -0
- /package/dist/chunks/{persistent-pty-4y7fprxs.js → repository-cache-4y7fprxs.js} +0 -0
- /package/dist/chunks/{persistent-pty-53557ph1.js → repository-cache-53557ph1.js} +0 -0
- /package/dist/chunks/{persistent-pty-550bvhaj.js → repository-cache-550bvhaj.js} +0 -0
- /package/dist/chunks/{persistent-pty-6prwharc.js → repository-cache-6prwharc.js} +0 -0
- /package/dist/chunks/{persistent-pty-7akdwqpd.js → repository-cache-7akdwqpd.js} +0 -0
- /package/dist/chunks/{persistent-pty-7m9af43g.js → repository-cache-7m9af43g.js} +0 -0
- /package/dist/chunks/{persistent-pty-822emrt2.js → repository-cache-822emrt2.js} +0 -0
- /package/dist/chunks/{persistent-pty-88xbtdfr.js → repository-cache-88xbtdfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-8n3pysct.js → repository-cache-8n3pysct.js} +0 -0
- /package/dist/chunks/{persistent-pty-982e01ww.js → repository-cache-982e01ww.js} +0 -0
- /package/dist/chunks/{persistent-pty-9a4afbnw.js → repository-cache-9a4afbnw.js} +0 -0
- /package/dist/chunks/{persistent-pty-9rqn6x4v.js → repository-cache-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{persistent-pty-a1tpkmh4.js → repository-cache-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{persistent-pty-af5trqkr.js → repository-cache-af5trqkr.js} +0 -0
- /package/dist/chunks/{persistent-pty-afrmfg78.js → repository-cache-afrmfg78.js} +0 -0
- /package/dist/chunks/{persistent-pty-aqzs7mqg.js → repository-cache-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{persistent-pty-atq7p7m5.js → repository-cache-atq7p7m5.js} +0 -0
- /package/dist/chunks/{persistent-pty-bkyjaxrp.js → repository-cache-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-bmr6ed5q.js → repository-cache-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{persistent-pty-cf4snx6d.js → repository-cache-cf4snx6d.js} +0 -0
- /package/dist/chunks/{persistent-pty-cvy3z8tj.js → repository-cache-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9fn303g.js → repository-cache-d9fn303g.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9jj8t3e.js → repository-cache-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{persistent-pty-dajrwvna.js → repository-cache-dajrwvna.js} +0 -0
- /package/dist/chunks/{persistent-pty-dap0rakb.js → repository-cache-dap0rakb.js} +0 -0
- /package/dist/chunks/{persistent-pty-df08tz66.js → repository-cache-df08tz66.js} +0 -0
- /package/dist/chunks/{persistent-pty-dy18nga0.js → repository-cache-dy18nga0.js} +0 -0
- /package/dist/chunks/{persistent-pty-e5kj55wp.js → repository-cache-e5kj55wp.js} +0 -0
- /package/dist/chunks/{persistent-pty-e73j6tqm.js → repository-cache-e73j6tqm.js} +0 -0
- /package/dist/chunks/{persistent-pty-eh3zwz77.js → repository-cache-eh3zwz77.js} +0 -0
- /package/dist/chunks/{persistent-pty-emrn6kk6.js → repository-cache-emrn6kk6.js} +0 -0
- /package/dist/chunks/{persistent-pty-f0mxakyp.js → repository-cache-f0mxakyp.js} +0 -0
- /package/dist/chunks/{persistent-pty-f6n9ztr4.js → repository-cache-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{persistent-pty-faypxj3z.js → repository-cache-faypxj3z.js} +0 -0
- /package/dist/chunks/{persistent-pty-fd410y7t.js → repository-cache-fd410y7t.js} +0 -0
- /package/dist/chunks/{persistent-pty-fxgpk5d8.js → repository-cache-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{persistent-pty-g4wezp1m.js → repository-cache-g4wezp1m.js} +0 -0
- /package/dist/chunks/{persistent-pty-g86h250q.js → repository-cache-g86h250q.js} +0 -0
- /package/dist/chunks/{persistent-pty-gebd4c9n.js → repository-cache-gebd4c9n.js} +0 -0
- /package/dist/chunks/{persistent-pty-hk9envan.js → repository-cache-hk9envan.js} +0 -0
- /package/dist/chunks/{persistent-pty-j2ntwpah.js → repository-cache-j2ntwpah.js} +0 -0
- /package/dist/chunks/{persistent-pty-j5zkgpj8.js → repository-cache-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{persistent-pty-jr7sbwjy.js → repository-cache-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{persistent-pty-jwfs4k6c.js → repository-cache-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{persistent-pty-jzg6c2d5.js → repository-cache-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{persistent-pty-mntxs535.js → repository-cache-mntxs535.js} +0 -0
- /package/dist/chunks/{persistent-pty-mp448xyj.js → repository-cache-mp448xyj.js} +0 -0
- /package/dist/chunks/{persistent-pty-msx8hqn2.js → repository-cache-msx8hqn2.js} +0 -0
- /package/dist/chunks/{persistent-pty-n05xt0ee.js → repository-cache-n05xt0ee.js} +0 -0
- /package/dist/chunks/{persistent-pty-n3j8tn72.js → repository-cache-n3j8tn72.js} +0 -0
- /package/dist/chunks/{persistent-pty-njntx4h6.js → repository-cache-njntx4h6.js} +0 -0
- /package/dist/chunks/{persistent-pty-p8qxwesx.js → repository-cache-p8qxwesx.js} +0 -0
- /package/dist/chunks/{persistent-pty-q3sfg36h.js → repository-cache-q3sfg36h.js} +0 -0
- /package/dist/chunks/{persistent-pty-q74kybfr.js → repository-cache-q74kybfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-qaymkmh1.js → repository-cache-qaymkmh1.js} +0 -0
- /package/dist/chunks/{persistent-pty-qb87gjwd.js → repository-cache-qb87gjwd.js} +0 -0
- /package/dist/chunks/{persistent-pty-qfa1cgps.js → repository-cache-qfa1cgps.js} +0 -0
- /package/dist/chunks/{persistent-pty-qrg20bc0.js → repository-cache-qrg20bc0.js} +0 -0
- /package/dist/chunks/{persistent-pty-rcb2kzg1.js → repository-cache-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{persistent-pty-sdp7kfr6.js → repository-cache-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{persistent-pty-se0s1eqw.js → repository-cache-se0s1eqw.js} +0 -0
- /package/dist/chunks/{persistent-pty-sk3qaz4a.js → repository-cache-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{persistent-pty-ssg3fenm.js → repository-cache-ssg3fenm.js} +0 -0
- /package/dist/chunks/{persistent-pty-twg0f83k.js → repository-cache-twg0f83k.js} +0 -0
- /package/dist/chunks/{persistent-pty-w803qqfp.js → repository-cache-w803qqfp.js} +0 -0
- /package/dist/chunks/{persistent-pty-wer8tq1h.js → repository-cache-wer8tq1h.js} +0 -0
- /package/dist/chunks/{persistent-pty-wtztk69x.js → repository-cache-wtztk69x.js} +0 -0
- /package/dist/chunks/{persistent-pty-x0ckcb58.js → repository-cache-x0ckcb58.js} +0 -0
- /package/dist/chunks/{persistent-pty-x1b8g1yb.js → repository-cache-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{persistent-pty-x61499pn.js → repository-cache-x61499pn.js} +0 -0
- /package/dist/chunks/{persistent-pty-y44na4kk.js → repository-cache-y44na4kk.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8cydn3q.js → repository-cache-y8cydn3q.js} +0 -0
- /package/dist/chunks/{persistent-pty-ygaqb7jw.js → repository-cache-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{persistent-pty-z9919s4g.js → repository-cache-z9919s4g.js} +0 -0
- /package/dist/chunks/{persistent-pty-zbjnn3ac.js → repository-cache-zbjnn3ac.js} +0 -0
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service76
|
|
3
|
+
} from "./repository-cache-r83xrjyd.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service73
|
|
6
|
+
} from "./repository-cache-cpj9epp9.js";
|
|
7
7
|
import {
|
|
8
8
|
Service13,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-cache-d4pa9p4x.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service75
|
|
14
|
+
} from "./repository-cache-6fb8xvtg.js";
|
|
15
15
|
import {
|
|
16
16
|
externalDirectoryPermission2,
|
|
17
17
|
resolvePath2,
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service20
|
|
19
|
+
} from "./repository-cache-k6tca84x.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service52
|
|
22
|
+
} from "./repository-cache-t7qz6q2a.js";
|
|
23
23
|
import {
|
|
24
24
|
fileDiff2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./repository-cache-6prwharc.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool/plugin/edit.ts
|
|
31
31
|
var exports_edit = {};
|
|
32
32
|
__export(exports_edit, {
|
|
33
33
|
EditTool: () => exports_edit,
|
|
34
|
-
Input: () =>
|
|
35
|
-
Output: () =>
|
|
36
|
-
Plugin: () =>
|
|
37
|
-
name: () =>
|
|
34
|
+
Input: () => Input2,
|
|
35
|
+
Output: () => Output2,
|
|
36
|
+
Plugin: () => Plugin31,
|
|
37
|
+
name: () => name2
|
|
38
38
|
});
|
|
39
39
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
40
40
|
import { FileDiff } from "@opencode-ai/schema/file-diff";
|
|
41
41
|
import { Bom } from "@opencode-ai/util/bom";
|
|
42
42
|
import { Effect, Schema } from "effect";
|
|
43
|
-
var
|
|
44
|
-
var
|
|
43
|
+
var name2 = "edit";
|
|
44
|
+
var Input2 = Schema.Struct({
|
|
45
45
|
path: Schema.String.annotate({
|
|
46
46
|
description: "File to edit"
|
|
47
47
|
}),
|
|
@@ -51,7 +51,7 @@ var Input8 = Schema.Struct({
|
|
|
51
51
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
52
52
|
})
|
|
53
53
|
});
|
|
54
|
-
var
|
|
54
|
+
var Output2 = Schema.Struct({
|
|
55
55
|
files: Schema.Array(FileDiff.Info),
|
|
56
56
|
replacements: Schema.Number
|
|
57
57
|
});
|
|
@@ -104,21 +104,21 @@ var findLineOccurrences = (content, search) => {
|
|
|
104
104
|
return result;
|
|
105
105
|
}, []);
|
|
106
106
|
};
|
|
107
|
-
var
|
|
107
|
+
var Plugin31 = {
|
|
108
108
|
id: "opencode.tool.edit",
|
|
109
109
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
110
|
-
const mutation = yield*
|
|
110
|
+
const mutation = yield* Service20;
|
|
111
111
|
const fileMutation = yield* Service13;
|
|
112
|
-
const environment = yield*
|
|
113
|
-
const formatter = yield*
|
|
114
|
-
const location = yield*
|
|
115
|
-
const permission = yield*
|
|
112
|
+
const environment = yield* Service73;
|
|
113
|
+
const formatter = yield* Service75;
|
|
114
|
+
const location = yield* Service76;
|
|
115
|
+
const permission = yield* Service52;
|
|
116
116
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
117
|
-
name:
|
|
117
|
+
name: name2,
|
|
118
118
|
options: { codemode: false, permission: "edit" },
|
|
119
119
|
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.",
|
|
120
|
-
input:
|
|
121
|
-
output:
|
|
120
|
+
input: Input2,
|
|
121
|
+
output: Output2,
|
|
122
122
|
execute: (input, context) => {
|
|
123
123
|
return Effect.gen(function* () {
|
|
124
124
|
const permissionSource = {
|
|
@@ -203,4 +203,4 @@ var Plugin22 = {
|
|
|
203
203
|
})
|
|
204
204
|
};
|
|
205
205
|
|
|
206
|
-
export {
|
|
206
|
+
export { name2, Input2, Output2, Plugin31, exports_edit };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node83
|
|
4
|
+
} from "./repository-cache-hzrqpb26.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service5,
|
|
7
|
+
node6
|
|
8
|
+
} from "./repository-cache-0w2scgpv.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service32
|
|
11
|
+
} from "./repository-cache-9sh4wc5j.js";
|
|
12
12
|
import {
|
|
13
13
|
node16,
|
|
14
14
|
ID2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-cache-p7cz5004.js";
|
|
16
16
|
import {
|
|
17
17
|
Service4,
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
node5
|
|
19
|
+
} from "./repository-cache-rmkjmdgc.js";
|
|
20
20
|
import {
|
|
21
21
|
requirements2,
|
|
22
22
|
list2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./repository-cache-8b4ae33c.js";
|
|
24
24
|
import {
|
|
25
25
|
LoadError2,
|
|
26
26
|
load2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./repository-cache-2jqmte8w.js";
|
|
28
28
|
import {
|
|
29
29
|
Updated2,
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
} from "./
|
|
30
|
+
Service3,
|
|
31
|
+
node4
|
|
32
|
+
} from "./repository-cache-05pstytc.js";
|
|
33
33
|
import {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service2,
|
|
35
|
+
node3
|
|
36
|
+
} from "./repository-cache-8x01vjp4.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/plugin/supervisor.ts
|
|
42
42
|
var exports_supervisor = {};
|
|
43
43
|
__export(exports_supervisor, {
|
|
44
44
|
PluginSupervisor: () => exports_supervisor,
|
|
45
|
-
layer: () =>
|
|
46
|
-
node: () =>
|
|
45
|
+
layer: () => layer3,
|
|
46
|
+
node: () => node2
|
|
47
47
|
});
|
|
48
48
|
import { Event } from "@opencode-ai/schema/config";
|
|
49
49
|
import { Cause, Effect, Layer, Queue, Stream } from "effect";
|
|
@@ -121,13 +121,13 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (pre, post, operat
|
|
|
121
121
|
pending: [...pending]
|
|
122
122
|
};
|
|
123
123
|
});
|
|
124
|
-
var
|
|
125
|
-
const registry = yield*
|
|
126
|
-
const sdk = yield*
|
|
124
|
+
var layer3 = Layer.effectDiscard(Effect.gen(function* () {
|
|
125
|
+
const registry = yield* Service32;
|
|
126
|
+
const sdk = yield* Service3;
|
|
127
127
|
const instance = yield* Service4;
|
|
128
|
-
const sources = yield*
|
|
129
|
-
const bus = yield*
|
|
130
|
-
const updates = yield*
|
|
128
|
+
const sources = yield* Service5;
|
|
129
|
+
const bus = yield* Service79;
|
|
130
|
+
const updates = yield* Service2;
|
|
131
131
|
const internal = yield* list2();
|
|
132
132
|
let release = yield* registry.hold();
|
|
133
133
|
yield* Effect.addFinalizer(() => release ?? Effect.void);
|
|
@@ -202,11 +202,11 @@ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
202
202
|
}));
|
|
203
203
|
var nodeDeps = [
|
|
204
204
|
node16,
|
|
205
|
-
|
|
205
|
+
node4,
|
|
206
|
+
node5,
|
|
206
207
|
node6,
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
node82,
|
|
208
|
+
node3,
|
|
209
|
+
node83,
|
|
210
210
|
Npm.node,
|
|
211
211
|
requirements2
|
|
212
212
|
];
|
|
@@ -215,6 +215,6 @@ function pluginSource(target) {
|
|
|
215
215
|
return { type: "local", path: target };
|
|
216
216
|
return { type: "package", target };
|
|
217
217
|
}
|
|
218
|
-
var
|
|
218
|
+
var node2 = makeLocationNode({ name: "plugin-supervisor", layer: layer3, deps: nodeDeps });
|
|
219
219
|
|
|
220
|
-
export {
|
|
220
|
+
export { layer3, node2, exports_supervisor };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node83
|
|
4
|
+
} from "./repository-cache-hzrqpb26.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-cache-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-cache-t7qz6q2a.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-cache-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: () => Event6,
|
|
21
|
+
ID: () => ID5,
|
|
22
|
+
Info: () => Info8,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service40,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
26
|
Source: () => Source3,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node42,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode-ai/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event6 } from "@opencode-ai/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
41
|
var Source3 = Skill.Source;
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var Info8 = Skill.Info;
|
|
43
|
+
var ID5 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
45
|
var available2 = (skills, agent) => skills.filter((skill) => evaluate2("skill", skill.id, agent.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 Service40 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
77
|
-
const bus = yield*
|
|
76
|
+
var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
77
|
+
const bus = yield* Service79;
|
|
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(ID5.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(ID5.make(id));
|
|
89
89
|
if (!current)
|
|
90
90
|
return;
|
|
91
91
|
update(current);
|
|
92
|
-
current.id =
|
|
92
|
+
current.id = ID5.make(id);
|
|
93
93
|
},
|
|
94
94
|
remove: (id) => {
|
|
95
|
-
editor.skills.delete(
|
|
95
|
+
editor.skills.delete(ID5.make(id));
|
|
96
96
|
}
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service40.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(Service37, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node42 = makeLocationNode({
|
|
112
|
+
service: Service40,
|
|
113
113
|
layer,
|
|
114
|
-
deps: [
|
|
114
|
+
deps: [node83]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info8, ID5, Name2, available2, toModelOutput3, prepare3, Service40, node42, exports_skill5, Event6 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID14,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./repository-cache-zfdtt056.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID13,
|
|
8
8
|
VariantID2,
|
|
9
|
-
|
|
9
|
+
Info26,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-cache-nzmvpftv.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/modal/models.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
ModalModels: () =>
|
|
20
|
-
get: () =>
|
|
17
|
+
var exports_models2 = {};
|
|
18
|
+
__export(exports_models2, {
|
|
19
|
+
ModalModels: () => exports_models2,
|
|
20
|
+
get: () => get3
|
|
21
21
|
});
|
|
22
22
|
import { Money } from "@opencode-ai/schema/money";
|
|
23
23
|
import { Option, Schema } from "effect";
|
|
24
|
-
var providerID =
|
|
24
|
+
var providerID = ID14.make("modal");
|
|
25
25
|
var ReasoningOption = Schema.Struct({
|
|
26
26
|
type: Schema.Literal("effort"),
|
|
27
27
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -53,7 +53,7 @@ var RemoteModel = Schema.Struct({
|
|
|
53
53
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
54
54
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
55
55
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
56
|
-
async function
|
|
56
|
+
async function get3(baseURL, apiKey, existing) {
|
|
57
57
|
const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
|
|
58
58
|
headers: {
|
|
59
59
|
Authorization: `Bearer ${apiKey}`
|
|
@@ -69,8 +69,8 @@ async function get2(baseURL, apiKey, existing) {
|
|
|
69
69
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
70
70
|
const result = new Map;
|
|
71
71
|
for (const item of remote) {
|
|
72
|
-
const template = templates.get(
|
|
73
|
-
const id =
|
|
72
|
+
const template = templates.get(ID13.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
73
|
+
const id = ID13.make(item.id);
|
|
74
74
|
result.set(id, build(id, item, baseURL, template));
|
|
75
75
|
}
|
|
76
76
|
return result;
|
|
@@ -88,10 +88,10 @@ function limit(value, fallback) {
|
|
|
88
88
|
function build(id, remote, baseURL, previous) {
|
|
89
89
|
const cost = previous?.cost[0];
|
|
90
90
|
const input = previous?.limit.input;
|
|
91
|
-
return
|
|
92
|
-
...
|
|
91
|
+
return Info26.make({
|
|
92
|
+
...Info26.default(providerID, id),
|
|
93
93
|
id,
|
|
94
|
-
modelID:
|
|
94
|
+
modelID: ID13.make(remote.id),
|
|
95
95
|
providerID,
|
|
96
96
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
97
97
|
family: previous?.family,
|
|
@@ -138,4 +138,4 @@ function variants(remote) {
|
|
|
138
138
|
return [...seen.values()];
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
-
export {
|
|
141
|
+
export { get3, exports_models2 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID14,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./repository-cache-zfdtt056.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID13,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Info26
|
|
11
|
+
} from "./repository-cache-nzmvpftv.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CopilotModels: () =>
|
|
20
|
-
get: () =>
|
|
17
|
+
var exports_models = {};
|
|
18
|
+
__export(exports_models, {
|
|
19
|
+
CopilotModels: () => exports_models,
|
|
20
|
+
get: () => get2
|
|
21
21
|
});
|
|
22
22
|
import { Money } from "@opencode-ai/schema/money";
|
|
23
23
|
import { Option, Schema } from "effect";
|
|
@@ -66,7 +66,7 @@ var RemoteModel = Schema.Struct({
|
|
|
66
66
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
67
67
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
68
68
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
69
|
-
async function
|
|
69
|
+
async function get2(baseURL, headers, existing) {
|
|
70
70
|
const response = await fetch(`${baseURL}/models`, {
|
|
71
71
|
headers,
|
|
72
72
|
signal: AbortSignal.timeout(5000)
|
|
@@ -87,7 +87,7 @@ async function get3(baseURL, headers, existing) {
|
|
|
87
87
|
result.set(id, build(id, current, baseURL, model));
|
|
88
88
|
}
|
|
89
89
|
for (const [id, model] of remote) {
|
|
90
|
-
const key =
|
|
90
|
+
const key = ID13.make(id);
|
|
91
91
|
if (result.has(key))
|
|
92
92
|
continue;
|
|
93
93
|
result.set(key, build(key, model, baseURL));
|
|
@@ -111,11 +111,11 @@ function build(id, remote, baseURL, previous) {
|
|
|
111
111
|
const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
|
|
112
112
|
const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
|
|
113
113
|
const released = previous?.time.released || Date.parse(version);
|
|
114
|
-
return
|
|
115
|
-
...
|
|
114
|
+
return Info26.make({
|
|
115
|
+
...Info26.default(ID14.githubCopilot, id),
|
|
116
116
|
id,
|
|
117
|
-
modelID:
|
|
118
|
-
providerID:
|
|
117
|
+
modelID: ID13.make(remote.id),
|
|
118
|
+
providerID: ID14.githubCopilot,
|
|
119
119
|
family: previous?.family ?? Family2.make(remote.capabilities.family),
|
|
120
120
|
name: previous?.name ?? remote.name,
|
|
121
121
|
package: aisdk2(messages ? "@ai-sdk/anthropic" : "@ai-sdk/github-copilot"),
|
|
@@ -190,4 +190,4 @@ function variants(remote, messages) {
|
|
|
190
190
|
];
|
|
191
191
|
}
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { get2, exports_models };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-fryr0adr.js";
|
|
4
4
|
import {
|
|
5
5
|
lazy2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-88xbtdfr.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-cache-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/shell/parse.ts
|
|
15
15
|
var exports_parse = {};
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service51
|
|
3
|
+
} from "./repository-cache-v1sap15r.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service34
|
|
6
|
+
} from "./repository-cache-ex6jvk62.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-cache-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-cache-9sh4wc5j.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service56
|
|
15
|
+
} from "./repository-cache-zvnk5jqh.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./repository-cache-xqfsn8ey.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service40
|
|
23
|
+
} from "./repository-cache-qccqznv7.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service34;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service56;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service40;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -125,7 +125,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
125
125
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
126
126
|
if (!mime.startsWith("image/"))
|
|
127
127
|
return { data: Base64.make(data), mime };
|
|
128
|
-
const image = yield*
|
|
128
|
+
const image = yield* Service51;
|
|
129
129
|
const label = input.name ?? (input.uri.startsWith("data:") ? "inline attachment" : input.uri);
|
|
130
130
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
131
131
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|