@opencode-ai/core 0.0.0-dev-19099 → 0.0.0-dev-19102
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +7 -7
- package/dist/bus.js +71 -71
- package/dist/catalog.js +82 -82
- package/dist/chunks/{session-pgaghrd6.js → persistent-pty-010ymet8.js} +4 -4
- package/dist/chunks/{session-xp3tymbh.js → persistent-pty-03xjq0tm.js} +13 -13
- package/dist/chunks/{session-1kvgqkc1.js → persistent-pty-06b9fxmy.js} +27 -27
- package/dist/chunks/{session-bzgcd8ct.js → persistent-pty-0d5mggnk.js} +25 -25
- package/dist/chunks/{session-0e0xafbb.js → persistent-pty-0e0xafbb.js} +2 -2
- package/dist/chunks/{session-qf4fh2md.js → persistent-pty-0g7k506p.js} +7 -7
- package/dist/chunks/{session-2k8khapm.js → persistent-pty-0jwsre1p.js} +5 -5
- package/dist/chunks/{session-0paq2nw3.js → persistent-pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{session-0s9ayhjt.js → persistent-pty-0s9ayhjt.js} +1 -1
- package/dist/chunks/{session-y01np14z.js → persistent-pty-0v9kxdr7.js} +9 -9
- package/dist/chunks/{session-0ez61b8c.js → persistent-pty-0w19ktq4.js} +2 -2
- package/dist/chunks/{session-egw5w7de.js → persistent-pty-10pzdvzd.js} +7 -7
- package/dist/chunks/{session-1ct4r87x.js → persistent-pty-1ct4r87x.js} +1 -1
- package/dist/chunks/{session-ej1cjmmj.js → persistent-pty-1f1wzhgc.js} +4 -4
- package/dist/chunks/{session-edrmdtr5.js → persistent-pty-1g7epwpd.js} +4 -4
- package/dist/chunks/{session-qtde2qpd.js → persistent-pty-1mdarqb0.js} +34 -34
- package/dist/chunks/{session-d4fyz6jk.js → persistent-pty-1nk2mnc0.js} +3 -3
- package/dist/chunks/{session-5zhf747r.js → persistent-pty-1nknpwm3.js} +4 -4
- package/dist/chunks/{session-zr7byz86.js → persistent-pty-1r9xt4cr.js} +32 -32
- package/dist/chunks/{session-v7p1qd80.js → persistent-pty-1s4k183h.js} +10 -10
- package/dist/chunks/{session-15gg0na4.js → persistent-pty-1tag838h.js} +27 -27
- package/dist/chunks/{session-y430n1rx.js → persistent-pty-20jvp80s.js} +8 -8
- package/dist/chunks/{session-21r38tys.js → persistent-pty-21r38tys.js} +1 -1
- package/dist/chunks/{session-2402vzrj.js → persistent-pty-2402vzrj.js} +1 -1
- package/dist/chunks/{session-mcxg6pmm.js → persistent-pty-247ymhap.js} +1 -1
- package/dist/chunks/{session-z63w68vq.js → persistent-pty-29x78va6.js} +6 -6
- package/dist/chunks/{session-2a5m3afh.js → persistent-pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{session-0tyy99y6.js → persistent-pty-2b6y700x.js} +38 -38
- package/dist/chunks/{session-qxrtgzhn.js → persistent-pty-2ghkytyg.js} +36 -36
- package/dist/chunks/{session-2ht70gj7.js → persistent-pty-2ht70gj7.js} +1 -1
- package/dist/chunks/{session-2jqmte8w.js → persistent-pty-2jqmte8w.js} +2 -2
- package/dist/chunks/{session-362503zv.js → persistent-pty-2pr8vdab.js} +39 -39
- package/dist/chunks/{session-vqnm39r0.js → persistent-pty-2rjhfz2z.js} +9 -9
- package/dist/chunks/{session-nax573hd.js → persistent-pty-2tn9agq3.js} +26 -26
- package/dist/chunks/{session-m6ref827.js → persistent-pty-30janqm6.js} +19 -19
- package/dist/chunks/persistent-pty-35chk74t.js +4 -0
- package/dist/chunks/{session-wgxn7ww3.js → persistent-pty-369x3t65.js} +4 -4
- package/dist/chunks/{session-0rag4e4f.js → persistent-pty-36mzbjn4.js} +4 -4
- package/dist/chunks/{session-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{session-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{session-2s1by3x3.js → persistent-pty-3j6zyyvs.js} +28 -28
- package/dist/chunks/{session-3qzbfqsy.js → persistent-pty-3qzbfqsy.js} +2 -2
- package/dist/chunks/{session-74zgpmwc.js → persistent-pty-3rtc4tqa.js} +6 -6
- package/dist/chunks/{session-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{session-gacg7ezd.js → persistent-pty-3t5jsk6c.js} +10 -10
- package/dist/chunks/{session-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
- package/dist/chunks/persistent-pty-40ke5ycv.js +18 -0
- package/dist/chunks/{session-454k5vzh.js → persistent-pty-454k5vzh.js} +1 -1
- package/dist/chunks/{session-bgwx2zk1.js → persistent-pty-4kav5gz3.js} +9 -9
- package/dist/chunks/{session-4r2nyarf.js → persistent-pty-4r2nyarf.js} +1 -1
- package/dist/chunks/{session-rzsjt7my.js → persistent-pty-4xjdkfjs.js} +10 -10
- package/dist/chunks/{session-n38rkygq.js → persistent-pty-54bnqtv9.js} +18 -18
- package/dist/chunks/{session-5daktx2q.js → persistent-pty-5daktx2q.js} +1 -1
- package/dist/chunks/{session-5fmxt4p5.js → persistent-pty-5fmxt4p5.js} +1 -1
- package/dist/chunks/{session-5jvc5tg2.js → persistent-pty-5jvc5tg2.js} +1 -1
- package/dist/chunks/{session-e6hd9jay.js → persistent-pty-5mdrv3hm.js} +6 -6
- package/dist/chunks/{session-j935v87r.js → persistent-pty-5qd3pb7m.js} +2 -2
- package/dist/chunks/{session-g41n1fn3.js → persistent-pty-5tfcvdvj.js} +1 -1
- package/dist/chunks/{session-d5nmy0ep.js → persistent-pty-628cc3h3.js} +16 -16
- package/dist/chunks/{session-y9j759kk.js → persistent-pty-63kze1d3.js} +4 -4
- package/dist/chunks/{session-cqv4qzc3.js → persistent-pty-64fqqfmx.js} +8 -8
- package/dist/chunks/{session-efewvhem.js → persistent-pty-66b3gex4.js} +15 -15
- package/dist/chunks/{session-xsvcmxep.js → persistent-pty-68qdqky7.js} +15 -15
- package/dist/chunks/{session-qnmg9m6w.js → persistent-pty-6d0jr2jk.js} +32 -32
- package/dist/chunks/{session-6h414ywr.js → persistent-pty-6h414ywr.js} +2 -2
- package/dist/chunks/{session-ecx8qs62.js → persistent-pty-6kgy03tf.js} +11 -11
- package/dist/chunks/{session-yjmhwj7v.js → persistent-pty-6svye9h2.js} +9 -9
- package/dist/chunks/{session-6tf8tr4v.js → persistent-pty-6tf8tr4v.js} +2 -2
- package/dist/chunks/{session-mjqa4ah0.js → persistent-pty-6ykkc5x7.js} +36 -36
- package/dist/chunks/{session-saak5ttd.js → persistent-pty-6z5bwd8g.js} +6 -6
- package/dist/chunks/{session-gy92dee3.js → persistent-pty-70203jtn.js} +29 -29
- package/dist/chunks/{session-r1x0ce7m.js → persistent-pty-70nq51cn.js} +20 -20
- package/dist/chunks/{session-711hfp6y.js → persistent-pty-711hfp6y.js} +2 -2
- package/dist/chunks/{session-5xy06vd8.js → persistent-pty-738s90ft.js} +7 -7
- package/dist/chunks/{session-ym5x9jxc.js → persistent-pty-73tf0mnp.js} +42 -42
- package/dist/chunks/{session-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{session-9pk3p303.js → persistent-pty-7dz4r7mk.js} +8 -8
- package/dist/chunks/{session-xvkrt86w.js → persistent-pty-7k5q7gm2.js} +20 -20
- package/dist/chunks/{session-7gv5bdgm.js → persistent-pty-7x0f5kvq.js} +11 -11
- package/dist/chunks/{session-1k5rte3c.js → persistent-pty-81xmbs00.js} +22 -22
- package/dist/chunks/{session-s3eqpch7.js → persistent-pty-82aytm87.js} +1 -1
- package/dist/chunks/{session-khg7wmvg.js → persistent-pty-88fw41mx.js} +16 -16
- package/dist/chunks/{session-tcezcvh9.js → persistent-pty-89znhe33.js} +4 -4
- package/dist/chunks/{session-nx6avvy5.js → persistent-pty-8g20mv6s.js} +18 -18
- package/dist/chunks/{session-4tjv1w0c.js → persistent-pty-8hxn7kz0.js} +20 -20
- package/dist/chunks/{session-5ew1cpbm.js → persistent-pty-8jkpz5pq.js} +4 -4
- package/dist/chunks/{session-jbx3xvkx.js → persistent-pty-8tj73bzm.js} +3 -3
- package/dist/chunks/{session-spwgm08d.js → persistent-pty-97058x90.js} +3 -3
- package/dist/chunks/{session-6e958v7x.js → persistent-pty-97f5v037.js} +4 -4
- package/dist/chunks/{session-rcrz2f46.js → persistent-pty-97tyj6c6.js} +31 -31
- package/dist/chunks/{session-9qm9egsn.js → persistent-pty-9qm9egsn.js} +2 -2
- package/dist/chunks/{session-nxhj2y70.js → persistent-pty-a0q04gk3.js} +4 -4
- package/dist/chunks/{session-mdbg29km.js → persistent-pty-a202dayn.js} +11 -11
- package/dist/chunks/{session-djtdz80w.js → persistent-pty-a3x9xvd8.js} +4 -4
- package/dist/chunks/{session-xgfwkkrf.js → persistent-pty-a62e05n8.js} +5 -5
- package/dist/chunks/{session-ek8ykwvv.js → persistent-pty-a80d3v2r.js} +17 -17
- package/dist/chunks/{session-aaet6srn.js → persistent-pty-aaet6srn.js} +2 -2
- package/dist/chunks/{session-8n4fjbmr.js → persistent-pty-ac3j6t8f.js} +8 -8
- package/dist/chunks/{session-5fq3meay.js → persistent-pty-acdzekmc.js} +15 -15
- package/dist/chunks/{session-qbwsjg4y.js → persistent-pty-af5cxv86.js} +57 -57
- package/dist/chunks/{session-zt81hpm2.js → persistent-pty-aj6efch7.js} +12 -12
- package/dist/chunks/{session-ajtjthsy.js → persistent-pty-ajtjthsy.js} +2 -2
- package/dist/chunks/{session-w3jjk181.js → persistent-pty-ajyamx78.js} +9 -9
- package/dist/chunks/{session-mwjfjpe1.js → persistent-pty-ak38yve4.js} +9 -9
- package/dist/chunks/{session-86s3977f.js → persistent-pty-ameg2vx3.js} +1 -1
- package/dist/chunks/{session-dfe8djrf.js → persistent-pty-an7cqtb7.js} +4 -4
- package/dist/chunks/{session-b6gygkdw.js → persistent-pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{session-fca9s3tf.js → persistent-pty-b6xfkz6v.js} +26 -26
- package/dist/chunks/{session-b9wsbatv.js → persistent-pty-b9wsbatv.js} +1 -1
- package/dist/chunks/{session-83at72gv.js → persistent-pty-bn8089at.js} +11 -11
- package/dist/chunks/{session-xk40txbb.js → persistent-pty-bpyfw359.js} +5 -5
- package/dist/chunks/{session-qm1p4vma.js → persistent-pty-bqgp69re.js} +15 -15
- package/dist/chunks/persistent-pty-by7j3p9d.js +22 -0
- package/dist/chunks/{session-tckp1j5y.js → persistent-pty-bzc17vb9.js} +3 -3
- package/dist/chunks/{session-vavk4pfm.js → persistent-pty-c2c0m65v.js} +34 -34
- package/dist/chunks/{session-9y4a5m7y.js → persistent-pty-c3e32yye.js} +16 -16
- package/dist/chunks/{session-krd0bj29.js → persistent-pty-c47xcf4v.js} +16 -16
- package/dist/chunks/{session-0k5h4jkn.js → persistent-pty-c4ka2x60.js} +35 -35
- package/dist/chunks/{session-06ztdyqf.js → persistent-pty-c5g21jc3.js} +9 -9
- package/dist/chunks/{session-tgbem4ss.js → persistent-pty-cf6j12q4.js} +17 -17
- package/dist/chunks/persistent-pty-ch0he8ej.js +450 -0
- package/dist/chunks/{session-14hmenm3.js → persistent-pty-ckev9kd7.js} +1 -1
- package/dist/chunks/{session-3b3xadwe.js → persistent-pty-cqzeme2b.js} +16 -16
- package/dist/chunks/{session-6nem85hv.js → persistent-pty-craj34q5.js} +10 -10
- package/dist/chunks/{session-14f8jh9e.js → persistent-pty-czrfnqv4.js} +17 -17
- package/dist/chunks/{session-s0jf0z46.js → persistent-pty-d030bd0f.js} +11 -11
- package/dist/chunks/{session-tr2r56k3.js → persistent-pty-d3baj57q.js} +18 -18
- package/dist/chunks/{session-d72308c8.js → persistent-pty-d72308c8.js} +2 -2
- package/dist/chunks/{session-1y50zexa.js → persistent-pty-d7zznenn.js} +9 -9
- package/dist/chunks/{session-pkjas4h9.js → persistent-pty-d8brfqjj.js} +9 -9
- package/dist/chunks/{session-hrwsywca.js → persistent-pty-dba19q6g.js} +33 -33
- package/dist/chunks/{session-w1w9qes5.js → persistent-pty-ddbc03cc.js} +1 -1
- package/dist/chunks/{session-5z37qfst.js → persistent-pty-e3vpkeje.js} +13 -13
- package/dist/chunks/{session-a78pknby.js → persistent-pty-edaf3eyg.js} +20 -20
- package/dist/chunks/{session-mh7ybtnt.js → persistent-pty-eerwjj66.js} +44 -44
- package/dist/chunks/{session-mhkvc446.js → persistent-pty-eq1pz5kg.js} +3 -3
- package/dist/chunks/{session-npp63b0x.js → persistent-pty-eyrpjw8c.js} +26 -26
- package/dist/chunks/{session-5sg4xzjf.js → persistent-pty-ez5b8bq3.js} +7 -7
- package/dist/chunks/{session-q6j65b7y.js → persistent-pty-f02rj1me.js} +86 -86
- package/dist/chunks/{session-z00rzy17.js → persistent-pty-f44dq202.js} +5 -5
- package/dist/chunks/{session-5pg6yw59.js → persistent-pty-f4ywn050.js} +17 -17
- package/dist/chunks/{session-92ttya6d.js → persistent-pty-fa2er9zw.js} +9 -9
- package/dist/chunks/{session-4tgt7804.js → persistent-pty-fgj7dkc9.js} +4 -4
- package/dist/chunks/{session-nn7rvrn2.js → persistent-pty-fhzfk9q0.js} +23 -23
- package/dist/chunks/{session-rbwftchb.js → persistent-pty-fjkyzcze.js} +11 -11
- package/dist/chunks/{session-3nqgc3yx.js → persistent-pty-fn2zck2h.js} +11 -11
- package/dist/chunks/{session-n2bs5rn6.js → persistent-pty-ftr4qpk4.js} +9 -9
- package/dist/chunks/{session-fxbjtjnd.js → persistent-pty-fxbjtjnd.js} +1 -1
- package/dist/chunks/{session-fxypknc8.js → persistent-pty-fxypknc8.js} +1 -1
- package/dist/chunks/{session-xqsy6kp0.js → persistent-pty-g1v92phv.js} +1 -1
- package/dist/chunks/{session-4z6b0fg6.js → persistent-pty-g2c9bhkq.js} +4 -4
- package/dist/chunks/{session-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{session-wm6pwq74.js → persistent-pty-gev0qjxp.js} +6 -6
- package/dist/chunks/{session-k4bj2yce.js → persistent-pty-gjswkc62.js} +32 -32
- package/dist/chunks/{session-046wb0sx.js → persistent-pty-gkdfetxb.js} +10 -10
- package/dist/chunks/{session-j3apsvbv.js → persistent-pty-gpkgrk3z.js} +2 -2
- package/dist/chunks/{session-zjqef28p.js → persistent-pty-gqdgqbeh.js} +10 -10
- package/dist/chunks/{session-p6pnan0z.js → persistent-pty-gynq7mwy.js} +17 -17
- package/dist/chunks/{session-hha4zry8.js → persistent-pty-h2st8tcp.js} +20 -20
- package/dist/chunks/{session-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{session-87smybrf.js → persistent-pty-h8q6a69m.js} +23 -23
- package/dist/chunks/{session-heyhwy2w.js → persistent-pty-heyhwy2w.js} +1 -1
- package/dist/chunks/{session-hrvm11jt.js → persistent-pty-hrvm11jt.js} +3 -3
- package/dist/chunks/{session-wjvq9b7z.js → persistent-pty-j8xe25ng.js} +25 -25
- package/dist/chunks/{session-00zc6prc.js → persistent-pty-j90p7j59.js} +2 -2
- package/dist/chunks/{session-y6sxghsa.js → persistent-pty-jn521bbx.js} +66 -66
- package/dist/chunks/{session-e5b0qn1c.js → persistent-pty-jnhf5mef.js} +1 -1
- package/dist/chunks/{session-jwcy2c2z.js → persistent-pty-jwcy2c2z.js} +1 -1
- package/dist/chunks/{session-k4bwy1x5.js → persistent-pty-k4bwy1x5.js} +1 -1
- package/dist/chunks/{session-mzwqtm94.js → persistent-pty-k50eqkg3.js} +13 -13
- package/dist/chunks/{session-zt4h1x9p.js → persistent-pty-kbg5ppnb.js} +13 -13
- package/dist/chunks/{session-m35s3e48.js → persistent-pty-kbyz2dkt.js} +9 -9
- package/dist/chunks/{session-kg06axw8.js → persistent-pty-kg06axw8.js} +1 -1
- package/dist/chunks/{session-rmy3e5eg.js → persistent-pty-kpyq2w0f.js} +1 -1
- package/dist/chunks/{session-hw4pv20g.js → persistent-pty-kvsjn1dr.js} +2 -2
- package/dist/chunks/{session-ca7w653e.js → persistent-pty-m1ggyr73.js} +4 -4
- package/dist/chunks/{session-m3fm0fm8.js → persistent-pty-m3fm0fm8.js} +2 -2
- package/dist/chunks/{session-zy5e4jbn.js → persistent-pty-m79fg301.js} +15 -15
- package/dist/chunks/{session-9y4cjape.js → persistent-pty-m7khsb1d.js} +20 -20
- package/dist/chunks/{session-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{session-nqsjc2sz.js → persistent-pty-mbapk581.js} +39 -39
- package/dist/chunks/{session-1bbscqjq.js → persistent-pty-me6p58dn.js} +23 -23
- package/dist/chunks/{session-78xpxgdy.js → persistent-pty-mpzahx5f.js} +139 -139
- package/dist/chunks/{session-xzg7katx.js → persistent-pty-msxx7emw.js} +20 -20
- package/dist/chunks/{session-qygjny4b.js → persistent-pty-n50399pa.js} +10 -10
- package/dist/chunks/{session-em64c7fc.js → persistent-pty-n8bbtjn9.js} +11 -11
- package/dist/chunks/{session-4gycnsfp.js → persistent-pty-nca7p386.js} +6 -6
- package/dist/chunks/{session-xfrftg31.js → persistent-pty-ne5w19nk.js} +25 -25
- package/dist/chunks/{session-jn1w34ja.js → persistent-pty-nrse418z.js} +23 -23
- package/dist/chunks/{session-8j93e5xs.js → persistent-pty-nt2wbfgf.js} +23 -23
- package/dist/chunks/{session-3rmx93c4.js → persistent-pty-nzf6eghd.js} +10 -10
- package/dist/chunks/{session-1h561g3c.js → persistent-pty-pae9v2p1.js} +8 -8
- package/dist/chunks/{session-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{session-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
- package/dist/chunks/{session-j3pby61b.js → persistent-pty-pzjeeacc.js} +6 -6
- package/dist/chunks/{session-ntdm8fkt.js → persistent-pty-qg20g60x.js} +17 -17
- package/dist/chunks/{session-v5m9qfmy.js → persistent-pty-qmkhq1hj.js} +10 -10
- package/dist/chunks/{session-ps9kfsxp.js → persistent-pty-qp6zthdp.js} +13 -13
- package/dist/chunks/{session-e4dgvvze.js → persistent-pty-qqbjvkxt.js} +48 -48
- package/dist/chunks/persistent-pty-qqytqg20.js +243 -0
- package/dist/chunks/{session-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
- package/dist/chunks/{session-ppkpjgys.js → persistent-pty-r60qd0ca.js} +22 -22
- package/dist/chunks/{session-r8dhm0tv.js → persistent-pty-r8dhm0tv.js} +1 -1
- package/dist/chunks/{session-vfa7vgdt.js → persistent-pty-rb1agnwm.js} +12 -12
- package/dist/chunks/{session-84kxd1n4.js → persistent-pty-rmpjenwd.js} +8 -8
- package/dist/chunks/{session-svrpwktq.js → persistent-pty-rpksmvzr.js} +6 -6
- package/dist/chunks/{session-s2yfzr0x.js → persistent-pty-rs8bkfty.js} +2 -2
- package/dist/chunks/{session-eb5hvjq0.js → persistent-pty-rvn46zq7.js} +9 -9
- package/dist/chunks/{session-jy1b6ewz.js → persistent-pty-s1zas8dv.js} +11 -11
- package/dist/chunks/{session-kvrwf3pk.js → persistent-pty-s3kg5m6x.js} +11 -11
- package/dist/chunks/{session-vp0rf33z.js → persistent-pty-s6qgbjky.js} +4 -4
- package/dist/chunks/{session-jrpeh8d2.js → persistent-pty-s8g36k60.js} +4 -4
- package/dist/chunks/{session-vsr56sgz.js → persistent-pty-sagqnce1.js} +3 -3
- package/dist/chunks/{session-sba4qhjf.js → persistent-pty-sba4qhjf.js} +1 -1
- package/dist/chunks/{session-5sd665qf.js → persistent-pty-scarvxmk.js} +9 -9
- package/dist/chunks/{session-r4rxbb2t.js → persistent-pty-serxh5qa.js} +12 -12
- package/dist/chunks/{session-nth65dz9.js → persistent-pty-sgh09qtt.js} +27 -27
- package/dist/chunks/{session-xvcttetg.js → persistent-pty-shbsgx5h.js} +10 -10
- package/dist/chunks/{session-mjmwg246.js → persistent-pty-skfe9q3s.js} +46 -46
- package/dist/chunks/{session-vnt7ze4s.js → persistent-pty-smgpfta5.js} +12 -12
- package/dist/chunks/{session-mx85t2yq.js → persistent-pty-ss7602g3.js} +27 -27
- package/dist/chunks/{session-xky3aqr0.js → persistent-pty-stfay7w2.js} +58 -58
- package/dist/chunks/{session-6whzccev.js → persistent-pty-sy4zz7rh.js} +13 -13
- package/dist/chunks/{session-v8v7w6fv.js → persistent-pty-t7dkb9mz.js} +7 -7
- package/dist/chunks/{session-g963r9r4.js → persistent-pty-ta4jwntf.js} +4 -4
- package/dist/chunks/{session-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{session-3ap01362.js → persistent-pty-tckacx9z.js} +32 -32
- package/dist/chunks/{session-vaak15ye.js → persistent-pty-tgpxmjaj.js} +19 -19
- package/dist/chunks/{session-thfv75je.js → persistent-pty-thfv75je.js} +2 -2
- package/dist/chunks/{session-tjykrgmx.js → persistent-pty-tjykrgmx.js} +1 -1
- package/dist/chunks/{session-pt70tw8e.js → persistent-pty-ts7bph5s.js} +90 -90
- package/dist/chunks/{session-32fd39f2.js → persistent-pty-twtpgget.js} +10 -10
- package/dist/chunks/{session-tzwfg5hj.js → persistent-pty-twy2b4zd.js} +8 -8
- package/dist/chunks/{session-e9snx1sv.js → persistent-pty-vng46sf0.js} +4 -4
- package/dist/chunks/{session-wk20761v.js → persistent-pty-vqxj4jm3.js} +24 -24
- package/dist/chunks/{session-5dfa1j4k.js → persistent-pty-vrxbpmbb.js} +41 -41
- package/dist/chunks/{session-8szhmwn7.js → persistent-pty-vwnnwet6.js} +47 -47
- package/dist/chunks/{session-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{session-2e967tky.js → persistent-pty-w40bmgb5.js} +27 -27
- package/dist/chunks/{session-0scqckt0.js → persistent-pty-w5g2dnw1.js} +31 -31
- package/dist/chunks/{session-er9n0m1v.js → persistent-pty-w6z2g4f7.js} +26 -26
- package/dist/chunks/{session-q1ap3bya.js → persistent-pty-w7y9r27g.js} +32 -32
- package/dist/chunks/{session-41v30afh.js → persistent-pty-wctfcgtb.js} +6 -6
- package/dist/chunks/{session-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
- package/dist/chunks/{session-4jzh0xe1.js → persistent-pty-we5ggtsr.js} +11 -11
- package/dist/chunks/{session-3wfq9j39.js → persistent-pty-wvx09938.js} +8 -8
- package/dist/chunks/{session-vxg864v9.js → persistent-pty-x15v48ws.js} +15 -15
- package/dist/chunks/{session-x1ezjp6w.js → persistent-pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{session-zn2pq4p8.js → persistent-pty-x2rt1cxd.js} +2 -2
- package/dist/chunks/{session-1a3my7cd.js → persistent-pty-x92yqmyb.js} +20 -20
- package/dist/chunks/{session-0hxewv05.js → persistent-pty-xa3k010d.js} +30 -30
- package/dist/chunks/{session-pw559tdx.js → persistent-pty-xmtn9a9r.js} +25 -25
- package/dist/chunks/{session-9q7d80ra.js → persistent-pty-xr14zjyh.js} +9 -9
- package/dist/chunks/{session-jvfahvjt.js → persistent-pty-xspyb9m3.js} +8 -8
- package/dist/chunks/{session-c7sdkgzs.js → persistent-pty-xw378f4n.js} +23 -23
- package/dist/chunks/{session-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{session-93a8yfjt.js → persistent-pty-y2cqme3r.js} +5 -5
- package/dist/chunks/{session-4qmdx6xs.js → persistent-pty-y6raa7nc.js} +32 -32
- package/dist/chunks/{session-033qr46r.js → persistent-pty-y89bt055.js} +11 -11
- package/dist/chunks/{session-fwm5qdh2.js → persistent-pty-yawraddd.js} +16 -16
- package/dist/chunks/{session-yfbd16n1.js → persistent-pty-yfbd16n1.js} +2 -2
- package/dist/chunks/{session-762r0j46.js → persistent-pty-ykczf8eq.js} +5 -5
- package/dist/chunks/{session-vwvvp157.js → persistent-pty-ymbwt96j.js} +7 -7
- package/dist/chunks/{session-fv2zgjwj.js → persistent-pty-yvyswnaa.js} +9 -9
- package/dist/chunks/{session-w3628pf0.js → persistent-pty-yxzxwnyx.js} +5 -5
- package/dist/chunks/{session-sh7bh2kf.js → persistent-pty-yzd93mfj.js} +5 -5
- package/dist/chunks/{session-te02k642.js → persistent-pty-yzp432d8.js} +38 -38
- package/dist/chunks/{session-z1k01bn4.js → persistent-pty-z1k01bn4.js} +2 -2
- package/dist/chunks/{session-vftcyset.js → persistent-pty-za3gge5n.js} +26 -26
- package/dist/chunks/{session-70zb4fhk.js → persistent-pty-zbqrcwzf.js} +23 -23
- package/dist/chunks/{session-bm40x1qd.js → persistent-pty-zcc5h559.js} +24 -24
- package/dist/chunks/{session-98grnphf.js → persistent-pty-zhhz7vvj.js} +22 -22
- package/dist/chunks/{session-2skgqc7d.js → persistent-pty-zja0h37x.js} +3 -3
- package/dist/chunks/{session-zxq2ej10.js → persistent-pty-zxq2ej10.js} +1 -1
- package/dist/chunks/persistent-pty-zy35xm16.js +20 -0
- 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 +79 -79
- 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 +114 -114
- 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 +115 -115
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +132 -132
- package/dist/config/plugin/snapshot.js +114 -114
- package/dist/config/plugin/source.js +114 -114
- package/dist/config/plugin/tool-output.js +116 -116
- package/dist/config/plugin/websearch.js +112 -112
- 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 +78 -78
- 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 +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +215 -215
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +102 -102
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +88 -88
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +3 -3
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +7 -7
- package/dist/instance.js +347 -347
- package/dist/instruction-discovery.js +79 -79
- 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 +81 -81
- 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 +82 -82
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +102 -102
- 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 +3 -3
- package/dist/model-resolver.js +85 -85
- package/dist/model.js +6 -6
- package/dist/models-dev.js +82 -82
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- 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 +210 -210
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +316 -316
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- 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 +114 -114
- 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 +131 -131
- 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 +4 -4
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +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 +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +219 -219
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +3 -3
- 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 +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +125 -125
- 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 +120 -120
- package/dist/session/generate.js +144 -144
- package/dist/session/history.js +14 -14
- package/dist/session/inbox.js +86 -86
- 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 +87 -87
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +112 -112
- package/dist/session/model-transport.js +9 -9
- 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 +3 -3
- 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 +7 -7
- 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 +86 -86
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +115 -115
- 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 +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +97 -97
- package/dist/tool/plugin/read.js +118 -118
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +102 -102
- 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 +8 -8
- package/dist/tool.js +15 -15
- package/dist/types/model-resolver.d.ts +1 -1
- package/dist/types/provider.d.ts +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +2 -2
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- 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/session-1bnacmtz.js +0 -22
- package/dist/chunks/session-619r8v3y.js +0 -18
- package/dist/chunks/session-76h0ztym.js +0 -243
- package/dist/chunks/session-7zk4hah4.js +0 -4
- package/dist/chunks/session-bamjcx2k.js +0 -450
- package/dist/chunks/session-q13zt0rt.js +0 -20
- /package/dist/chunks/{session-0fabt78z.js → persistent-pty-0fabt78z.js} +0 -0
- /package/dist/chunks/{session-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{session-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{session-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{session-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{session-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{session-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{session-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{session-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{session-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{session-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
- /package/dist/chunks/{session-3t738kvx.js → persistent-pty-3t738kvx.js} +0 -0
- /package/dist/chunks/{session-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{session-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{session-41nvscxy.js → persistent-pty-41nvscxy.js} +0 -0
- /package/dist/chunks/{session-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{session-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{session-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{session-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
- /package/dist/chunks/{session-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{session-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
- /package/dist/chunks/{session-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{session-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{session-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
- /package/dist/chunks/{session-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{session-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{session-982e01ww.js → persistent-pty-982e01ww.js} +0 -0
- /package/dist/chunks/{session-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{session-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{session-a1tpkmh4.js → persistent-pty-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{session-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{session-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{session-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{session-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{session-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{session-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{session-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{session-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{session-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{session-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{session-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{session-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{session-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
- /package/dist/chunks/{session-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{session-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{session-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{session-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{session-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{session-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{session-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{session-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{session-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{session-fxgpk5d8.js → persistent-pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{session-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{session-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
- /package/dist/chunks/{session-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{session-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
- /package/dist/chunks/{session-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{session-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{session-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{session-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{session-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{session-mntxs535.js → persistent-pty-mntxs535.js} +0 -0
- /package/dist/chunks/{session-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{session-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{session-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{session-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{session-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{session-p8qxwesx.js → persistent-pty-p8qxwesx.js} +0 -0
- /package/dist/chunks/{session-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{session-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{session-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{session-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{session-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{session-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{session-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{session-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{session-se0s1eqw.js → persistent-pty-se0s1eqw.js} +0 -0
- /package/dist/chunks/{session-sk3qaz4a.js → persistent-pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{session-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{session-twg0f83k.js → persistent-pty-twg0f83k.js} +0 -0
- /package/dist/chunks/{session-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{session-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{session-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{session-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{session-x1b8g1yb.js → persistent-pty-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{session-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
- /package/dist/chunks/{session-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{session-y8cydn3q.js → persistent-pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{session-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{session-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
- /package/dist/chunks/{session-zbjnn3ac.js → persistent-pty-zbjnn3ac.js} +0 -0
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node82
|
|
4
|
+
} from "./persistent-pty-smgpfta5.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service76,
|
|
8
|
+
node80
|
|
9
|
+
} from "./persistent-pty-81xmbs00.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
14
|
validateAnswer2,
|
|
15
15
|
validateFields2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./persistent-pty-sgh09qtt.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/integration.ts
|
|
22
22
|
var exports_integration = {};
|
|
@@ -30,17 +30,17 @@ __export(exports_integration, {
|
|
|
30
30
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
31
31
|
CommandMethod: () => CommandMethod2,
|
|
32
32
|
EnvMethod: () => EnvMethod2,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event17,
|
|
34
34
|
ID: () => ID14,
|
|
35
|
-
Info: () =>
|
|
35
|
+
Info: () => Info27,
|
|
36
36
|
Integration: () => exports_integration,
|
|
37
37
|
KeyMethod: () => KeyMethod2,
|
|
38
38
|
Method: () => Method2,
|
|
39
39
|
MethodID: () => MethodID2,
|
|
40
40
|
OAuthMethod: () => OAuthMethod2,
|
|
41
41
|
Ref: () => Ref3,
|
|
42
|
-
Service: () =>
|
|
43
|
-
node: () =>
|
|
42
|
+
Service: () => Service74,
|
|
43
|
+
node: () => node78
|
|
44
44
|
});
|
|
45
45
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
46
46
|
import {
|
|
@@ -61,7 +61,7 @@ import {
|
|
|
61
61
|
import { Integration } from "@opencode-ai/schema/integration";
|
|
62
62
|
import { AppProcess } from "@opencode-ai/util/process";
|
|
63
63
|
import { ChildProcess } from "effect/unstable/process";
|
|
64
|
-
import { Event as
|
|
64
|
+
import { Event as Event17 } from "@opencode-ai/schema/integration";
|
|
65
65
|
var ID14 = Integration.ID;
|
|
66
66
|
var MethodID2 = Integration.MethodID;
|
|
67
67
|
var AttemptID2 = Integration.AttemptID;
|
|
@@ -70,7 +70,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
70
70
|
var KeyMethod2 = Integration.KeyMethod;
|
|
71
71
|
var EnvMethod2 = Integration.EnvMethod;
|
|
72
72
|
var Method2 = Integration.Method;
|
|
73
|
-
var
|
|
73
|
+
var Info27 = Integration.Info;
|
|
74
74
|
var Attempt2 = Integration.Attempt;
|
|
75
75
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
76
76
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -87,14 +87,14 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
87
87
|
}
|
|
88
88
|
var Ref3 = Integration.Ref;
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service74 extends Context.Service()("@opencode/Integration") {
|
|
91
91
|
}
|
|
92
92
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
93
93
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
94
94
|
var scrubInterval = Duration.seconds(30);
|
|
95
|
-
var layer = Layer.effect(
|
|
96
|
-
const credentials = yield*
|
|
97
|
-
const bus = yield*
|
|
95
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
96
|
+
const credentials = yield* Service76;
|
|
97
|
+
const bus = yield* Service78;
|
|
98
98
|
const processes = yield* AppProcess.Service;
|
|
99
99
|
const scope = yield* Scope.Scope;
|
|
100
100
|
const attempts = SynchronizedRef.makeUnsafe(new Map);
|
|
@@ -187,7 +187,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
187
187
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
188
188
|
return [...credentials, ...env];
|
|
189
189
|
};
|
|
190
|
-
const project = (entry, connections) =>
|
|
190
|
+
const project = (entry, connections) => Info27.make({
|
|
191
191
|
id: entry.ref.id,
|
|
192
192
|
name: entry.ref.name,
|
|
193
193
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -417,7 +417,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
417
417
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
418
418
|
return CommandAttempt2.make({ attemptID, time });
|
|
419
419
|
});
|
|
420
|
-
return
|
|
420
|
+
return Service74.of({
|
|
421
421
|
transform: state.transform,
|
|
422
422
|
reload: state.reload,
|
|
423
423
|
get: Effect.fn("Integration.get")(function* (id) {
|
|
@@ -565,10 +565,10 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
565
565
|
}
|
|
566
566
|
});
|
|
567
567
|
}));
|
|
568
|
-
var
|
|
569
|
-
service:
|
|
568
|
+
var node78 = makeLocationNode({
|
|
569
|
+
service: Service74,
|
|
570
570
|
layer,
|
|
571
|
-
deps: [
|
|
571
|
+
deps: [node80, node82, AppProcess.node]
|
|
572
572
|
});
|
|
573
573
|
|
|
574
|
-
export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2,
|
|
574
|
+
export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info27, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref3, Service74, node78, exports_integration, Event17 };
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service40
|
|
3
|
+
} from "./persistent-pty-af5cxv86.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./persistent-pty-a1tpkmh4.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
20
|
-
MAX_RESPONSE_BYTES: () =>
|
|
19
|
+
Input: () => Input9,
|
|
20
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin23,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
|
-
description: () =>
|
|
25
|
+
description: () => description4,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name9
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
34
|
-
var
|
|
33
|
+
var name9 = "webfetch";
|
|
34
|
+
var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
|
-
var
|
|
37
|
+
var description4 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input9 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input8 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input9.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
|
|
|
79
79
|
throw new Error("URL must use http:// or https://");
|
|
80
80
|
};
|
|
81
81
|
var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
|
|
82
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
82
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES3} byte limit)`));
|
|
83
83
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
84
84
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
85
85
|
var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin23 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service40;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name9,
|
|
102
102
|
options: { codemode: false },
|
|
103
|
-
description:
|
|
104
|
-
input:
|
|
103
|
+
description: description4,
|
|
104
|
+
input: Input9,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin8 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name9,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name9, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input9, Plugin23, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node82
|
|
4
|
+
} from "./persistent-pty-smgpfta5.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service67,
|
|
7
|
+
node70
|
|
8
|
+
} from "./persistent-pty-c47xcf4v.js";
|
|
9
9
|
import {
|
|
10
10
|
reconcile2,
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
14
|
PATCH_CONTEXT_LINES2,
|
|
15
15
|
MAX_TOTAL_PATCH_BYTES2,
|
|
16
16
|
emptyPatch2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./persistent-pty-tazgh4e4.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/vcs.ts
|
|
23
23
|
var exports_vcs = {};
|
|
@@ -26,17 +26,17 @@ __export(exports_vcs, {
|
|
|
26
26
|
BranchList: () => BranchList2,
|
|
27
27
|
DiffError: () => DiffError2,
|
|
28
28
|
FileStatus: () => FileStatus2,
|
|
29
|
-
Info: () =>
|
|
29
|
+
Info: () => Info6,
|
|
30
30
|
Mode: () => Mode2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service39,
|
|
32
32
|
Vcs: () => exports_vcs,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node41
|
|
34
34
|
});
|
|
35
35
|
import path from "path";
|
|
36
36
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
37
37
|
import { FileDiff } from "@opencode-ai/schema/file-diff";
|
|
38
38
|
import { FileSystem } from "@opencode-ai/schema/filesystem";
|
|
39
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
39
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info6, Mode as Mode2 } from "@opencode-ai/schema/vcs";
|
|
40
40
|
import { VcsEvent } from "@opencode-ai/schema/vcs-event";
|
|
41
41
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
42
42
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
@@ -45,12 +45,12 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
|
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service39 extends Context.Service()("@opencode/Vcs") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
|
-
const location = yield*
|
|
53
|
-
const bus = yield*
|
|
52
|
+
const location = yield* Service67;
|
|
53
|
+
const bus = yield* Service78;
|
|
54
54
|
const root = yield* Effect.scope;
|
|
55
55
|
const fork = yield* FiberSet.makeRuntime();
|
|
56
56
|
const vcs = location.vcs;
|
|
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
62
62
|
canonical: location.project.canonical,
|
|
63
63
|
...vcs ? { store: vcs.store } : {}
|
|
64
64
|
};
|
|
65
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
65
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info6));
|
|
66
66
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
67
67
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
68
68
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
115
115
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
116
116
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
117
117
|
}
|
|
118
|
-
return
|
|
118
|
+
return Service39.of({
|
|
119
119
|
transform: state.transform,
|
|
120
120
|
reload: state.reload,
|
|
121
121
|
info: Effect.fn("Vcs.info")(function* () {
|
|
@@ -161,10 +161,10 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
161
161
|
})
|
|
162
162
|
});
|
|
163
163
|
}));
|
|
164
|
-
var
|
|
165
|
-
service:
|
|
164
|
+
var node41 = makeLocationNode({
|
|
165
|
+
service: Service39,
|
|
166
166
|
layer,
|
|
167
|
-
deps: [FSUtil.node,
|
|
167
|
+
deps: [FSUtil.node, node70, node82]
|
|
168
168
|
});
|
|
169
169
|
|
|
170
|
-
export { Base2, BranchList2, FileStatus2,
|
|
170
|
+
export { Base2, BranchList2, FileStatus2, Info6, Mode2, DiffError2, Service39, node41, exports_vcs };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-bzc17vb9.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./persistent-pty-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service79,
|
|
17
|
+
node: () => node83
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service79 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service80).db;
|
|
26
|
-
return
|
|
26
|
+
return Service79.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node83 = makeGlobalNode({ service: Service79, layer, deps: [node84] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service79, node83, exports_kv };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service4,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node6
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service4 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node6 = makeLocationNode({
|
|
19
|
+
service: Service4,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service4, Service4.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service4, node6, bound2, exports_instance2 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
@@ -10,8 +10,8 @@ __export(exports_driver, {
|
|
|
10
10
|
ProviderNotFound: () => ProviderNotFound2,
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
|
-
make: () =>
|
|
14
|
-
node: () =>
|
|
13
|
+
make: () => make19,
|
|
14
|
+
node: () => node74,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
|
|
|
29
29
|
provider: Schema.String
|
|
30
30
|
}) {
|
|
31
31
|
}
|
|
32
|
-
var
|
|
32
|
+
var make19 = (driver) => driver;
|
|
33
33
|
|
|
34
34
|
class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
|
|
35
35
|
}
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node74 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2, Error5, ProviderNotFound2,
|
|
49
|
+
export { Binding2, Error5, ProviderNotFound2, make19, RegistryService2, registry2, registryNode2, node74, exports_driver };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-0e0xafbb.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service35,
|
|
6
|
+
node37
|
|
7
|
+
} from "./persistent-pty-w5g2dnw1.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
13
|
var exports_generate = {};
|
|
14
14
|
__export(exports_generate, {
|
|
15
15
|
Generate: () => exports_generate,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service14,
|
|
18
18
|
UnavailableError: () => UnavailableError2,
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
19
|
+
layer: () => layer8,
|
|
20
|
+
node: () => node17
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode-ai/ai";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -33,11 +33,11 @@ class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError"
|
|
|
33
33
|
}) {
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service14 extends Context.Service()("@opencode/Generate") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
38
|
+
var layer8 = Layer.effect(Service14, Effect.gen(function* () {
|
|
39
39
|
const llm = yield* LLMClient.Service;
|
|
40
|
-
const resolver = yield*
|
|
40
|
+
const resolver = yield* Service35;
|
|
41
41
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
42
42
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
43
43
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -60,12 +60,12 @@ var layer10 = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
60
60
|
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
|
|
61
61
|
message: "Generation credentials are unavailable"
|
|
62
62
|
})));
|
|
63
|
-
return
|
|
63
|
+
return Service14.of({ text });
|
|
64
64
|
}));
|
|
65
|
-
var
|
|
66
|
-
service:
|
|
67
|
-
layer:
|
|
68
|
-
deps: [
|
|
65
|
+
var node17 = makeLocationNode({
|
|
66
|
+
service: Service14,
|
|
67
|
+
layer: layer8,
|
|
68
|
+
deps: [node37, llmClient2]
|
|
69
69
|
});
|
|
70
70
|
|
|
71
|
-
export { ModelSelectionError2, UnavailableError2,
|
|
71
|
+
export { ModelSelectionError2, UnavailableError2, Service14, layer8, node17, exports_generate };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service57
|
|
3
|
+
} from "./persistent-pty-eerwjj66.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service31
|
|
6
|
+
} from "./persistent-pty-qqbjvkxt.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
12
|
var exports_mcp2 = {};
|
|
13
13
|
__export(exports_mcp2, {
|
|
14
14
|
ConfigMcpPlugin: () => exports_mcp2,
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin32,
|
|
16
16
|
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin32 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register2(ctx.event.subscribe());
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
26
|
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
-
const config = yield*
|
|
28
|
-
const mcp = yield*
|
|
27
|
+
const config = yield* Service57;
|
|
28
|
+
const mcp = yield* Service31;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin32, register2, exports_mcp2 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./persistent-pty-smgpfta5.js";
|
|
4
4
|
import {
|
|
5
5
|
ID18
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-g2c9bhkq.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
ID16
|
|
9
|
+
} from "./persistent-pty-wvx09938.js";
|
|
10
10
|
import {
|
|
11
11
|
Event19
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-81xmbs00.js";
|
|
13
13
|
import {
|
|
14
14
|
ID14
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./persistent-pty-ne5w19nk.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service73
|
|
18
|
+
} from "./persistent-pty-2tn9agq3.js";
|
|
19
19
|
import {
|
|
20
20
|
get2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./persistent-pty-4xjdkfjs.js";
|
|
22
22
|
|
|
23
23
|
// src/plugin/provider/modal.ts
|
|
24
24
|
import { Effect, Semaphore, Stream } from "effect";
|
|
@@ -27,8 +27,8 @@ var providerID = ID18.make("modal");
|
|
|
27
27
|
var ModalPlugin2 = define({
|
|
28
28
|
id: "opencode.provider.modal",
|
|
29
29
|
effect: Effect.fn(function* (ctx) {
|
|
30
|
-
const catalog = yield*
|
|
31
|
-
const bus = yield*
|
|
30
|
+
const catalog = yield* Service73;
|
|
31
|
+
const bus = yield* Service78;
|
|
32
32
|
const loading = Semaphore.makeUnsafe(1);
|
|
33
33
|
const loaded = {};
|
|
34
34
|
const load = Effect.fn("ModalPlugin.load")(function* () {
|
|
@@ -58,7 +58,7 @@ var ModalPlugin2 = define({
|
|
|
58
58
|
if (!loaded.models)
|
|
59
59
|
return;
|
|
60
60
|
for (const id of item.models.keys()) {
|
|
61
|
-
if (!loaded.models.has(
|
|
61
|
+
if (!loaded.models.has(ID16.make(id)))
|
|
62
62
|
evt.model.remove(item.provider.id, id);
|
|
63
63
|
}
|
|
64
64
|
for (const [id, model] of loaded.models) {
|