@opencode/core 0.0.0-dev-19294 → 0.0.0-dev-19297
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 +5 -5
- package/dist/bus.js +71 -71
- package/dist/catalog.js +83 -83
- package/dist/chunks/{persistent-pty-82zcy4t3.js → instance-01jwtfx3.js} +7 -7
- package/dist/chunks/{persistent-pty-t7n9q6bq.js → instance-06x8he3q.js} +4 -4
- package/dist/chunks/{persistent-pty-0hpxrkyb.js → instance-0hpxrkyb.js} +2 -2
- package/dist/chunks/{persistent-pty-ma15yhyh.js → instance-0nde5ztd.js} +5 -5
- package/dist/chunks/{persistent-pty-0paq2nw3.js → instance-0paq2nw3.js} +1 -1
- package/dist/chunks/{persistent-pty-0q0f95c6.js → instance-0q0f95c6.js} +1 -1
- package/dist/chunks/{persistent-pty-ht8yq9j7.js → instance-0yzq9n39.js} +22 -22
- package/dist/chunks/{persistent-pty-egg00cm7.js → instance-19wnhc9k.js} +18 -18
- package/dist/chunks/{persistent-pty-z9ftmr1k.js → instance-1cmm49yn.js} +9 -9
- package/dist/chunks/{persistent-pty-1dazxqgg.js → instance-1dazxqgg.js} +2 -2
- package/dist/chunks/instance-1ebq5kva.js +247 -0
- package/dist/chunks/{persistent-pty-2qcb76fz.js → instance-1ppyepr8.js} +1 -1
- package/dist/chunks/{persistent-pty-t3xw15sj.js → instance-1qm24qff.js} +11 -11
- package/dist/chunks/{persistent-pty-cpy6gm2a.js → instance-1s3p39g4.js} +4 -4
- package/dist/chunks/{persistent-pty-33w4ejhs.js → instance-1ygqh575.js} +6 -6
- package/dist/chunks/{persistent-pty-21r38tys.js → instance-21r38tys.js} +1 -1
- package/dist/chunks/{persistent-pty-2me1kph6.js → instance-21r551s5.js} +41 -41
- package/dist/chunks/{persistent-pty-2a5m3afh.js → instance-2a5m3afh.js} +1 -1
- package/dist/chunks/{persistent-pty-gb05bdzk.js → instance-2byb8yr3.js} +11 -11
- package/dist/chunks/{persistent-pty-y59nms7p.js → instance-2drqq9fc.js} +35 -35
- package/dist/chunks/{persistent-pty-s0esgemt.js → instance-2evyaa68.js} +4 -4
- package/dist/chunks/{persistent-pty-ee2tbgw5.js → instance-2h50kq9x.js} +32 -32
- package/dist/chunks/{persistent-pty-sytjjnsv.js → instance-2n7srhfk.js} +18 -18
- package/dist/chunks/{persistent-pty-8gmzme5z.js → instance-2qzxxsah.js} +12 -12
- package/dist/chunks/{persistent-pty-9gr8y5ys.js → instance-2tfmgkzg.js} +4 -4
- package/dist/chunks/{persistent-pty-2qa1y7tr.js → instance-2zk7q63q.js} +25 -25
- package/dist/chunks/{persistent-pty-eqw6cy2w.js → instance-339dmwxv.js} +20 -20
- package/dist/chunks/{persistent-pty-pk6r85zh.js → instance-39r4aecv.js} +26 -26
- package/dist/chunks/{persistent-pty-4c8bw516.js → instance-3cwb9jzf.js} +8 -8
- package/dist/chunks/{persistent-pty-3fc6dm20.js → instance-3fc6dm20.js} +1 -1
- package/dist/chunks/{persistent-pty-3hepkmqq.js → instance-3hepkmqq.js} +1 -1
- package/dist/chunks/{persistent-pty-rxv86vcs.js → instance-3jyh38wp.js} +54 -54
- package/dist/chunks/{persistent-pty-rv1159bt.js → instance-3mvvax0j.js} +32 -32
- package/dist/chunks/{persistent-pty-8ygrg08v.js → instance-3q5yw5wc.js} +22 -22
- package/dist/chunks/{persistent-pty-3smtnn6g.js → instance-3smtnn6g.js} +1 -1
- package/dist/chunks/{persistent-pty-h82fng87.js → instance-3tbwzafx.js} +12 -12
- package/dist/chunks/{persistent-pty-3tvqynh2.js → instance-3tvqynh2.js} +1 -1
- package/dist/chunks/{persistent-pty-zr7f6xwe.js → instance-3v460zrs.js} +6 -6
- package/dist/chunks/{persistent-pty-a8qvq7xc.js → instance-3x919xvf.js} +38 -38
- package/dist/chunks/{persistent-pty-etks993p.js → instance-3xb7t3ea.js} +8 -8
- package/dist/chunks/{persistent-pty-1yrs7djp.js → instance-3y8se8h9.js} +9 -9
- package/dist/chunks/{persistent-pty-mjkd0a6p.js → instance-3zjyvmkv.js} +43 -43
- package/dist/chunks/{persistent-pty-mnza640n.js → instance-466rerzc.js} +23 -23
- package/dist/chunks/{persistent-pty-es9s4w7e.js → instance-4ha0j3vr.js} +8 -8
- package/dist/chunks/{persistent-pty-nbjdr6xc.js → instance-4hrc3tyr.js} +14 -14
- package/dist/chunks/{persistent-pty-727hyhtj.js → instance-4zhk1eez.js} +23 -23
- package/dist/chunks/{persistent-pty-31nw0jmk.js → instance-502pc4xn.js} +15 -15
- package/dist/chunks/{persistent-pty-qj8eh1ht.js → instance-50mzsvk4.js} +4 -4
- package/dist/chunks/{persistent-pty-a1bz86dw.js → instance-5c4hm403.js} +3 -3
- package/dist/chunks/{persistent-pty-5daktx2q.js → instance-5daktx2q.js} +1 -1
- package/dist/chunks/{persistent-pty-bgz3db1b.js → instance-5faha6gd.js} +24 -24
- package/dist/chunks/{persistent-pty-35qwg6vj.js → instance-5fve6znn.js} +23 -23
- package/dist/chunks/{persistent-pty-yxt3f3md.js → instance-5mrtvbn9.js} +17 -17
- package/dist/chunks/{persistent-pty-393vybvf.js → instance-5pkw1d5z.js} +13 -13
- package/dist/chunks/{persistent-pty-5t3nmthw.js → instance-5t3nmthw.js} +2 -2
- package/dist/chunks/{persistent-pty-xrdkskw0.js → instance-5xh15ypd.js} +24 -24
- package/dist/chunks/{persistent-pty-7b15y959.js → instance-5xtgfte3.js} +8 -8
- package/dist/chunks/{persistent-pty-bbf85as9.js → instance-5zy6em5b.js} +11 -11
- package/dist/chunks/{persistent-pty-2k8khapm.js → instance-607tc6va.js} +5 -5
- package/dist/chunks/{persistent-pty-669tq793.js → instance-669tq793.js} +1 -1
- package/dist/chunks/{persistent-pty-r17k24qa.js → instance-6arz13z6.js} +10 -10
- package/dist/chunks/{persistent-pty-2402vzrj.js → instance-6h73sxmp.js} +5 -5
- package/dist/chunks/{persistent-pty-h7ygw6q4.js → instance-6jnybvqn.js} +9 -9
- package/dist/chunks/{persistent-pty-6msgmcgs.js → instance-6msgmcgs.js} +1 -1
- package/dist/chunks/{persistent-pty-bscb95cy.js → instance-6zz0jjar.js} +4 -4
- package/dist/chunks/{persistent-pty-gqxm86at.js → instance-70313qx6.js} +8 -8
- package/dist/chunks/{persistent-pty-9k2v62xn.js → instance-710w2ech.js} +1 -1
- package/dist/chunks/{persistent-pty-71q4at8m.js → instance-71q4at8m.js} +1 -1
- package/dist/chunks/{persistent-pty-tysjjvy9.js → instance-73k9p0pd.js} +3 -3
- package/dist/chunks/{persistent-pty-73tb2d7t.js → instance-73tb2d7t.js} +1 -1
- package/dist/chunks/{persistent-pty-7knmeq7j.js → instance-75jwe5md.js} +12 -12
- package/dist/chunks/{persistent-pty-tn0aqsam.js → instance-78v47nsk.js} +5 -5
- package/dist/chunks/{persistent-pty-hghsks1n.js → instance-79f5wznj.js} +29 -29
- package/dist/chunks/{persistent-pty-7bmhse3q.js → instance-7bmhse3q.js} +1 -1
- package/dist/chunks/{persistent-pty-22zc0h6z.js → instance-7f9wmjs1.js} +26 -26
- package/dist/chunks/{persistent-pty-wp1zmha7.js → instance-7fpn5dqa.js} +13 -13
- package/dist/chunks/{persistent-pty-jkp0d30b.js → instance-81rrwt6s.js} +6 -6
- package/dist/chunks/{persistent-pty-81swgkk7.js → instance-81swgkk7.js} +2 -2
- package/dist/chunks/{persistent-pty-nhvy51yq.js → instance-87rsn3wc.js} +6 -6
- package/dist/chunks/{persistent-pty-z1hva277.js → instance-888xqp9w.js} +15 -15
- package/dist/chunks/{persistent-pty-519xp98s.js → instance-88cv5s5z.js} +4 -4
- package/dist/chunks/{persistent-pty-8d7r5vzw.js → instance-8d7r5vzw.js} +1 -1
- package/dist/chunks/{persistent-pty-9dgj6nfy.js → instance-8nz0kf2a.js} +39 -39
- package/dist/chunks/{persistent-pty-vabb23s0.js → instance-8qk9tw02.js} +1 -1
- package/dist/chunks/{persistent-pty-hrtnrbtk.js → instance-9b4ng3vd.js} +6 -6
- package/dist/chunks/instance-9bjv8jc0.js +462 -0
- package/dist/chunks/{persistent-pty-p7t0e5yz.js → instance-9jdkkkxy.js} +28 -28
- package/dist/chunks/{persistent-pty-84tssp1s.js → instance-9qn3qky1.js} +8 -8
- package/dist/chunks/{persistent-pty-hphp9nwx.js → instance-9tgwmq03.js} +26 -26
- package/dist/chunks/{persistent-pty-atcvebh1.js → instance-9v1jw1ne.js} +30 -30
- package/dist/chunks/{persistent-pty-0f9afca0.js → instance-a1a50ys5.js} +5 -5
- package/dist/chunks/{persistent-pty-z7exr65g.js → instance-a1ny26p1.js} +17 -17
- package/dist/chunks/{persistent-pty-daq6r9eg.js → instance-a2jy5wt1.js} +11 -11
- package/dist/chunks/{persistent-pty-g5w4gfvg.js → instance-a4gb111k.js} +25 -25
- package/dist/chunks/{persistent-pty-pq4st5kv.js → instance-a4r18kjz.js} +2 -2
- package/dist/chunks/{persistent-pty-rs226bz6.js → instance-a9ab9jmj.js} +5 -5
- package/dist/chunks/{persistent-pty-8sjbh9hv.js → instance-a9hk7e9v.js} +18 -18
- package/dist/chunks/{persistent-pty-emjm2bea.js → instance-a9m3pnym.js} +13 -13
- package/dist/chunks/{persistent-pty-aaet6srn.js → instance-aaet6srn.js} +2 -2
- package/dist/chunks/{persistent-pty-725dzfhf.js → instance-acf5grrn.js} +24 -24
- package/dist/chunks/{persistent-pty-k1v94gwx.js → instance-ackzb6j1.js} +24 -24
- package/dist/chunks/{persistent-pty-w3jexmf5.js → instance-ajcnkc0y.js} +51 -51
- package/dist/chunks/{persistent-pty-8j7660kb.js → instance-apx2a7ca.js} +18 -18
- package/dist/chunks/{persistent-pty-dxsf3nxk.js → instance-b3jc0806.js} +9 -9
- package/dist/chunks/{persistent-pty-b6gygkdw.js → instance-b6gygkdw.js} +2 -2
- package/dist/chunks/{persistent-pty-9r9xaaca.js → instance-b8vn8jv0.js} +17 -17
- package/dist/chunks/{persistent-pty-trn6fzsq.js → instance-b912gh5h.js} +4 -4
- package/dist/chunks/{persistent-pty-gg09y051.js → instance-bg72d9np.js} +10 -10
- package/dist/chunks/{persistent-pty-1g8atdmp.js → instance-bgj5tqem.js} +12 -12
- package/dist/chunks/{persistent-pty-z807qtb6.js → instance-bm9xv2dk.js} +21 -21
- package/dist/chunks/{persistent-pty-j67mtk5t.js → instance-bn9nv5jw.js} +15 -15
- package/dist/chunks/{persistent-pty-bbrn9wt5.js → instance-c12pp0g5.js} +11 -11
- package/dist/chunks/{persistent-pty-th9j4zfv.js → instance-c77dj74a.js} +69 -69
- package/dist/chunks/{persistent-pty-p3n7r4sc.js → instance-cdr5gg57.js} +7 -7
- package/dist/chunks/{persistent-pty-3jaapndc.js → instance-cxsnvna4.js} +21 -21
- package/dist/chunks/{persistent-pty-xhqkdcr0.js → instance-d9sn21bc.js} +2 -2
- package/dist/chunks/{persistent-pty-8p4f9s12.js → instance-dj2t23y0.js} +2 -2
- package/dist/chunks/{persistent-pty-y71avatq.js → instance-dpkg50ah.js} +4 -4
- package/dist/chunks/{persistent-pty-0axathjs.js → instance-dreymjps.js} +27 -27
- package/dist/chunks/{persistent-pty-fyjrpq2n.js → instance-dxkzy7ga.js} +8 -8
- package/dist/chunks/{persistent-pty-02nrjc1r.js → instance-eaj1djv9.js} +4 -4
- package/dist/chunks/{persistent-pty-g2ym30wz.js → instance-eazjk0wr.js} +18 -18
- package/dist/chunks/{persistent-pty-6a88n1h6.js → instance-ent7r1aa.js} +18 -18
- package/dist/chunks/{persistent-pty-etq0c3wd.js → instance-etq0c3wd.js} +1 -1
- package/dist/chunks/{persistent-pty-fthsm4kn.js → instance-ewc21egd.js} +7 -7
- package/dist/chunks/{persistent-pty-1acjjqhc.js → instance-f2n192rq.js} +4 -4
- package/dist/chunks/{persistent-pty-5q7zd1pw.js → instance-f7yvr5pd.js} +2 -2
- package/dist/chunks/{persistent-pty-fq1h1v14.js → instance-fa0cr6zp.js} +3 -3
- package/dist/chunks/{persistent-pty-2483rb3n.js → instance-fc24de9c.js} +164 -164
- package/dist/chunks/{persistent-pty-rcfc93g0.js → instance-fd220aqp.js} +11 -11
- package/dist/chunks/{persistent-pty-esdnemd6.js → instance-ffx4mq6v.js} +1 -1
- package/dist/chunks/{persistent-pty-nh85wpnm.js → instance-ffz0ekd9.js} +6 -6
- package/dist/chunks/{persistent-pty-2pwhnswx.js → instance-fv32247r.js} +23 -23
- package/dist/chunks/{persistent-pty-cvjh1vra.js → instance-fw2j09t7.js} +89 -89
- package/dist/chunks/{persistent-pty-fxbjtjnd.js → instance-fxbjtjnd.js} +1 -1
- package/dist/chunks/{persistent-pty-1r470mcr.js → instance-fxh7ah4m.js} +22 -22
- package/dist/chunks/{persistent-pty-0x4wqcvz.js → instance-g33ss047.js} +9 -9
- package/dist/chunks/{persistent-pty-r2dp1cmd.js → instance-g37n6v01.js} +32 -32
- package/dist/chunks/{persistent-pty-y8p3zjbc.js → instance-g8atgw3j.js} +6 -6
- package/dist/chunks/{persistent-pty-3b234dxf.js → instance-gb01a068.js} +13 -13
- package/dist/chunks/{persistent-pty-gd4qta3r.js → instance-gd4qta3r.js} +1 -1
- package/dist/chunks/{persistent-pty-7s3mtrfk.js → instance-ggv90arp.js} +11 -11
- package/dist/chunks/{persistent-pty-q1a91n7k.js → instance-gj9xpvv3.js} +2 -6
- package/dist/chunks/{persistent-pty-50fwx2e7.js → instance-gnqt40jz.js} +3 -3
- package/dist/chunks/{persistent-pty-g9hjdpe6.js → instance-gptnw8m2.js} +13 -13
- package/dist/chunks/{persistent-pty-gv6a8nnw.js → instance-gv6a8nnw.js} +2 -2
- package/dist/chunks/{persistent-pty-h03wrkyp.js → instance-h03wrkyp.js} +2 -2
- package/dist/chunks/{persistent-pty-j18gb1wk.js → instance-h558gzas.js} +17 -17
- package/dist/chunks/{persistent-pty-h6vf3j39.js → instance-h6vf3j39.js} +1 -1
- package/dist/chunks/{persistent-pty-gkngn95s.js → instance-ha9q7byt.js} +33 -33
- package/dist/chunks/{persistent-pty-1aypx7k6.js → instance-haphqn3v.js} +34 -34
- package/dist/chunks/{persistent-pty-5p42pk8x.js → instance-hc3xjh4c.js} +4 -4
- package/dist/chunks/{persistent-pty-f828m53h.js → instance-hdnk95c8.js} +2 -2
- package/dist/chunks/{persistent-pty-1wh7yt6v.js → instance-hm92n5p0.js} +29 -29
- package/dist/chunks/{persistent-pty-fnw3hf31.js → instance-hq8nvw5t.js} +5 -5
- package/dist/chunks/{persistent-pty-cjckq4v9.js → instance-hs9pnjsv.js} +7 -7
- package/dist/chunks/{persistent-pty-bv075x5w.js → instance-hx6242bd.js} +17 -17
- package/dist/chunks/{persistent-pty-j56e64zr.js → instance-j56e64zr.js} +1 -1
- package/dist/chunks/{persistent-pty-6bsje7ws.js → instance-j7wq2tw5.js} +3 -3
- package/dist/chunks/{persistent-pty-xr3qwqh4.js → instance-jdaqcb1t.js} +16 -16
- package/dist/chunks/{persistent-pty-qg9drey5.js → instance-jft9hn7j.js} +26 -26
- package/dist/chunks/{persistent-pty-ddx3tg71.js → instance-jj63jgrn.js} +8 -8
- package/dist/chunks/{persistent-pty-zxperdw5.js → instance-jvzt705t.js} +88 -88
- package/dist/chunks/{persistent-pty-4hbnwbp2.js → instance-k11evj39.js} +14 -14
- package/dist/chunks/{persistent-pty-8sfc32fj.js → instance-k3ekk4hs.js} +18 -18
- package/dist/chunks/{persistent-pty-qzqps7kt.js → instance-k4hsf3h8.js} +10 -10
- package/dist/chunks/{persistent-pty-2y9nvaw7.js → instance-k5mm8gs0.js} +13 -13
- package/dist/chunks/{persistent-pty-1tjg7tvh.js → instance-k79tzb9n.js} +5 -5
- package/dist/chunks/{persistent-pty-72p4sft2.js → instance-ka44map4.js} +5 -5
- package/dist/chunks/{persistent-pty-fp77m0kv.js → instance-ket659ap.js} +18 -18
- package/dist/chunks/{persistent-pty-kg06axw8.js → instance-kg06axw8.js} +1 -1
- package/dist/chunks/{persistent-pty-vbqtc4fz.js → instance-m02sgzmt.js} +16 -16
- package/dist/chunks/{persistent-pty-cfpkc3c9.js → instance-m0jqrx5p.js} +2 -2
- package/dist/chunks/{persistent-pty-nnjk6rmq.js → instance-m0rktphg.js} +35 -35
- package/dist/chunks/{persistent-pty-mv1w94an.js → instance-m5sw0a5d.js} +33 -33
- package/dist/chunks/{persistent-pty-pvm63170.js → instance-m94k6fn1.js} +8 -8
- package/dist/chunks/{persistent-pty-qx5x1pzp.js → instance-m953gznc.js} +15 -15
- package/dist/chunks/{persistent-pty-zhbcekg2.js → instance-m96a6c4x.js} +11 -11
- package/dist/chunks/{persistent-pty-m9w0rfyh.js → instance-m9w0rfyh.js} +1 -1
- package/dist/chunks/{persistent-pty-ed4261w0.js → instance-mhxmkf1w.js} +28 -28
- package/dist/chunks/{persistent-pty-mkcjrzeh.js → instance-mkcjrzeh.js} +1 -1
- package/dist/chunks/{persistent-pty-zyrrefe2.js → instance-ms3w2pjb.js} +37 -37
- package/dist/chunks/{persistent-pty-8y1r50ts.js → instance-msjt41yg.js} +10 -10
- package/dist/chunks/{persistent-pty-wed3qxc6.js → instance-n7aqgnhz.js} +5 -5
- package/dist/chunks/{persistent-pty-k0gdq8ga.js → instance-nbzsj80d.js} +8 -8
- package/dist/chunks/{persistent-pty-hjt4xg1x.js → instance-nhy5jxhy.js} +4 -4
- package/dist/chunks/{persistent-pty-3dtz0ed4.js → instance-np6kt6y4.js} +6 -6
- package/dist/chunks/{persistent-pty-djvjdepx.js → instance-nqv7mfvf.js} +9 -9
- package/dist/chunks/{persistent-pty-d190jgse.js → instance-nry41skx.js} +46 -46
- package/dist/chunks/{persistent-pty-nzq16788.js → instance-nt8a5yma.js} +39 -39
- package/dist/chunks/instance-nw45wjz5.js +22 -0
- package/dist/chunks/{persistent-pty-ewy23wfq.js → instance-nz1f1dnx.js} +59 -59
- package/dist/chunks/{persistent-pty-v0wtswx9.js → instance-nz6xy3pw.js} +23 -23
- package/dist/chunks/{persistent-pty-ws5qfxv9.js → instance-nzwzy72p.js} +9 -9
- package/dist/chunks/{persistent-pty-mrw4weg4.js → instance-p0cja4mf.js} +5 -5
- package/dist/chunks/{persistent-pty-he62rfth.js → instance-p4hmnksp.js} +19 -19
- package/dist/chunks/{persistent-pty-y9g26qgq.js → instance-p4jrza1n.js} +26 -26
- package/dist/chunks/{persistent-pty-h44053qn.js → instance-p8phdtyp.js} +30 -30
- package/dist/chunks/{persistent-pty-rsdf2nvv.js → instance-paegk39x.js} +4 -4
- package/dist/chunks/{persistent-pty-dz79qsv0.js → instance-pav6qp9g.js} +9 -9
- package/dist/chunks/{persistent-pty-cay3r0qb.js → instance-pck3w1ab.js} +4 -4
- package/dist/chunks/{persistent-pty-pjvnvgmy.js → instance-pjvnvgmy.js} +1 -1
- package/dist/chunks/{persistent-pty-pknna89w.js → instance-pknna89w.js} +1 -1
- package/dist/chunks/{persistent-pty-774549wc.js → instance-pqemdkaf.js} +17 -17
- package/dist/chunks/{persistent-pty-q0xt3gns.js → instance-q0rt5j2q.js} +24 -24
- package/dist/chunks/{persistent-pty-j78cby75.js → instance-q4vdg68a.js} +41 -41
- package/dist/chunks/{persistent-pty-5aqfxp9a.js → instance-q5b78q1j.js} +4 -4
- package/dist/chunks/{persistent-pty-ydvjgqzz.js → instance-qbc8hfnq.js} +25 -25
- package/dist/chunks/{persistent-pty-4kr8d4zw.js → instance-qc4gj2y6.js} +6 -6
- package/dist/chunks/{persistent-pty-4gq97fz6.js → instance-qd5n9004.js} +4 -4
- package/dist/chunks/{persistent-pty-c2bnm6k2.js → instance-qjm52h53.js} +5 -5
- package/dist/chunks/{persistent-pty-wgmz4se6.js → instance-qnrj3j72.js} +12 -12
- package/dist/chunks/{persistent-pty-mtfbgphn.js → instance-qp4vfw5t.js} +36 -36
- package/dist/chunks/{persistent-pty-qyvn9zey.js → instance-qrah3a09.js} +15 -15
- package/dist/chunks/{persistent-pty-qsdy395h.js → instance-qsdy395h.js} +1 -1
- package/dist/chunks/{persistent-pty-pa16je5z.js → instance-regnx5sz.js} +11 -11
- package/dist/chunks/{persistent-pty-j3s48atd.js → instance-rfntstnm.js} +24 -24
- package/dist/chunks/{persistent-pty-b1er1a8h.js → instance-rpechfdf.js} +11 -11
- package/dist/chunks/{persistent-pty-k0sa6emq.js → instance-rt8c47yx.js} +27 -27
- package/dist/chunks/{persistent-pty-h2gyv3sg.js → instance-s7xtjryh.js} +1 -1
- package/dist/chunks/{persistent-pty-gwzd8001.js → instance-s9wa000y.js} +22 -22
- package/dist/chunks/{persistent-pty-c12qfpxz.js → instance-sa5pv7yh.js} +13 -13
- package/dist/chunks/{persistent-pty-f2serpxf.js → instance-sa8ndcy2.js} +14 -14
- package/dist/chunks/{persistent-pty-0v53mg2y.js → instance-sx1n432n.js} +4 -4
- package/dist/chunks/{persistent-pty-tn6kcrep.js → instance-sz8zp43t.js} +32 -32
- package/dist/chunks/{persistent-pty-qbhwnd5t.js → instance-t0j15s1g.js} +8 -8
- package/dist/chunks/{persistent-pty-hrvd6t1f.js → instance-t0x5rdq8.js} +9 -9
- package/dist/chunks/{persistent-pty-554te78s.js → instance-t36j701w.js} +9 -9
- package/dist/chunks/{persistent-pty-tkmwgdpd.js → instance-t6vsspdg.js} +4 -4
- package/dist/chunks/{persistent-pty-vypqtakx.js → instance-t9e6e84n.js} +1 -1
- package/dist/chunks/{persistent-pty-tazgh4e4.js → instance-tazgh4e4.js} +1 -1
- package/dist/chunks/{persistent-pty-tcezcvh9.js → instance-tcezcvh9.js} +1 -1
- package/dist/chunks/{persistent-pty-tdstcens.js → instance-tdstcens.js} +1 -1
- package/dist/chunks/{persistent-pty-zhakcjh9.js → instance-tfe3dyhg.js} +8 -8
- package/dist/chunks/{persistent-pty-jefma2gq.js → instance-tfwap27p.js} +10 -10
- package/dist/chunks/{persistent-pty-k1557tdf.js → instance-tpsh7nep.js} +12 -12
- package/dist/chunks/{persistent-pty-0e5n0sf2.js → instance-tqhvqgv9.js} +24 -24
- package/dist/chunks/{persistent-pty-tvtrv512.js → instance-tvtrv512.js} +1 -1
- package/dist/chunks/{persistent-pty-v1qx6y19.js → instance-v58rse4y.js} +8 -8
- package/dist/chunks/{persistent-pty-0myxtnrb.js → instance-v5fwnavd.js} +23 -23
- package/dist/chunks/{persistent-pty-ny46n6vj.js → instance-v7gjmewq.js} +10 -10
- package/dist/chunks/{persistent-pty-28wyaaxp.js → instance-vaq1jbx7.js} +16 -16
- package/dist/chunks/{persistent-pty-8kay7r51.js → instance-vbqgtwgy.js} +13 -13
- package/dist/chunks/{persistent-pty-veqvce7d.js → instance-veqvce7d.js} +1 -1
- package/dist/chunks/instance-vnkjks7b.js +18 -0
- package/dist/chunks/{persistent-pty-ndf63s1d.js → instance-vssdy4ge.js} +6 -6
- package/dist/chunks/{persistent-pty-www25bj0.js → instance-vt2qmknb.js} +11 -11
- package/dist/chunks/{persistent-pty-ac5bwv76.js → instance-vx66cmhf.js} +16 -16
- package/dist/chunks/{persistent-pty-vzcthcp8.js → instance-vzcthcp8.js} +1 -1
- package/dist/chunks/{persistent-pty-145661wq.js → instance-w1cas0vc.js} +28 -28
- package/dist/chunks/{persistent-pty-w3wsvvr9.js → instance-w3wsvvr9.js} +1 -1
- package/dist/chunks/{persistent-pty-wx9wy1qm.js → instance-w79zsp0s.js} +1 -1
- package/dist/chunks/{persistent-pty-24z3mw7y.js → instance-w97m1n76.js} +50 -50
- package/dist/chunks/{persistent-pty-wd87259q.js → instance-wd87259q.js} +1 -1
- package/dist/chunks/{persistent-pty-8d6twjaw.js → instance-wf2tgg0c.js} +28 -28
- package/dist/chunks/{persistent-pty-wwxgka64.js → instance-x0e6qwje.js} +5 -5
- package/dist/chunks/{persistent-pty-x1ezjp6w.js → instance-x1ezjp6w.js} +1 -1
- package/dist/chunks/{persistent-pty-x43y2vfs.js → instance-x43y2vfs.js} +2 -2
- package/dist/chunks/{persistent-pty-nswt8hzj.js → instance-x4wfhds3.js} +15 -15
- package/dist/chunks/{persistent-pty-e3xaa0tb.js → instance-xanrfe6t.js} +28 -28
- package/dist/chunks/{persistent-pty-pxks3tta.js → instance-xetf4kax.js} +6 -6
- package/dist/chunks/{persistent-pty-qhmak1gv.js → instance-xxhgza55.js} +31 -31
- package/dist/chunks/{persistent-pty-y1fvbwt7.js → instance-y1fvbwt7.js} +1 -1
- package/dist/chunks/{persistent-pty-fg8ch49h.js → instance-ygezbb2m.js} +8 -8
- package/dist/chunks/{persistent-pty-jv01nqvq.js → instance-yjptyezs.js} +5 -5
- package/dist/chunks/{persistent-pty-yrhqyw5v.js → instance-yrhqyw5v.js} +1 -1
- package/dist/chunks/{persistent-pty-yrznvahk.js → instance-yrznvahk.js} +2 -2
- package/dist/chunks/{persistent-pty-z0bkrqjs.js → instance-z0bkrqjs.js} +1 -1
- package/dist/chunks/{persistent-pty-q6zxxt9y.js → instance-z22pjn7v.js} +4 -4
- package/dist/chunks/{persistent-pty-80bgm7g6.js → instance-z24mx39z.js} +43 -43
- package/dist/chunks/{persistent-pty-x9y61efs.js → instance-z31m6bz4.js} +24 -24
- package/dist/chunks/{persistent-pty-z63w68vq.js → instance-z63w68vq.js} +2 -2
- package/dist/chunks/{persistent-pty-s8bz6z4k.js → instance-ze5v0a14.js} +8 -8
- package/dist/chunks/{persistent-pty-zeh9ct20.js → instance-zeh9ct20.js} +2 -2
- package/dist/chunks/{persistent-pty-05d6g4k8.js → instance-zhn4z0e0.js} +4 -4
- package/dist/chunks/{persistent-pty-mwm2dbc1.js → instance-zqvhk09s.js} +9 -9
- package/dist/chunks/{persistent-pty-zr2ceqn5.js → instance-zr2ceqn5.js} +1 -1
- package/dist/chunks/{persistent-pty-3trbxeqx.js → instance-zxgnc9zk.js} +1 -1
- package/dist/chunks/{persistent-pty-zxq2ej10.js → instance-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +3 -3
- 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 +115 -115
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +113 -113
- package/dist/config/plugin/worktree.js +116 -116
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +77 -77
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +77 -77
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +361 -361
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +93 -93
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +96 -96
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +82 -82
- package/dist/generate.js +89 -89
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +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 +5 -5
- package/dist/instance.js +352 -352
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +84 -84
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +131 -131
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +349 -349
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +120 -120
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +8 -8
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +106 -106
- 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 +97 -97
- package/dist/plugin/command.js +94 -94
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +323 -323
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -78
- package/dist/plugin/provider/opencode.js +76 -76
- 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 +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +156 -156
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +342 -342
- 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 +112 -112
- 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 +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +81 -81
- package/dist/provider.js +7 -7
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +88 -88
- package/dist/reference/instructions.js +82 -82
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- 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 +129 -129
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +122 -122
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +13 -13
- 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 +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +108 -108
- package/dist/session/runner/step.js +121 -121
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +83 -83
- 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 +151 -151
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +217 -217
- 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 +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +100 -100
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +88 -88
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +119 -119
- package/dist/tool/plugin/edit.js +109 -109
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +118 -118
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +98 -98
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +206 -206
- package/dist/tool/plugin/skill.js +106 -106
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +94 -94
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- 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 +2 -2
- package/dist/v1/config/formatter.js +3 -3
- 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 +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/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 +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +339 -339
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +8 -8
- package/dist/chunks/persistent-pty-dxj72tfx.js +0 -18
- package/dist/chunks/persistent-pty-gbs4gtrg.js +0 -22
- package/dist/chunks/persistent-pty-kfvq4etd.js +0 -247
- package/dist/chunks/persistent-pty-y7yp40hx.js +0 -462
- /package/dist/chunks/{persistent-pty-0mesazry.js → instance-0mesazry.js} +0 -0
- /package/dist/chunks/{persistent-pty-0qkdqm5v.js → instance-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{persistent-pty-0zkw76rk.js → instance-0zkw76rk.js} +0 -0
- /package/dist/chunks/{persistent-pty-17cy0kzp.js → instance-17cy0kzp.js} +0 -0
- /package/dist/chunks/{persistent-pty-1cnp2v09.js → instance-1cnp2v09.js} +0 -0
- /package/dist/chunks/{persistent-pty-1kg9ymc8.js → instance-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{persistent-pty-2710q6r3.js → instance-2710q6r3.js} +0 -0
- /package/dist/chunks/{persistent-pty-2axfhc9x.js → instance-2axfhc9x.js} +0 -0
- /package/dist/chunks/{persistent-pty-2c3vjs8z.js → instance-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{persistent-pty-359p4xyc.js → instance-359p4xyc.js} +0 -0
- /package/dist/chunks/{persistent-pty-3asan66x.js → instance-3asan66x.js} +0 -0
- /package/dist/chunks/{persistent-pty-3v8g72cx.js → instance-3v8g72cx.js} +0 -0
- /package/dist/chunks/{persistent-pty-3w5fmr99.js → instance-3w5fmr99.js} +0 -0
- /package/dist/chunks/{persistent-pty-3wcehsnq.js → instance-3wcehsnq.js} +0 -0
- /package/dist/chunks/{persistent-pty-43n2bw4t.js → instance-43n2bw4t.js} +0 -0
- /package/dist/chunks/{persistent-pty-4knz6hnm.js → instance-4knz6hnm.js} +0 -0
- /package/dist/chunks/{persistent-pty-4y7fprxs.js → instance-4y7fprxs.js} +0 -0
- /package/dist/chunks/{persistent-pty-53557ph1.js → instance-53557ph1.js} +0 -0
- /package/dist/chunks/{persistent-pty-550bvhaj.js → instance-550bvhaj.js} +0 -0
- /package/dist/chunks/{persistent-pty-6prwharc.js → instance-6prwharc.js} +0 -0
- /package/dist/chunks/{persistent-pty-7akdwqpd.js → instance-7akdwqpd.js} +0 -0
- /package/dist/chunks/{persistent-pty-7m9af43g.js → instance-7m9af43g.js} +0 -0
- /package/dist/chunks/{persistent-pty-822emrt2.js → instance-822emrt2.js} +0 -0
- /package/dist/chunks/{persistent-pty-88xbtdfr.js → instance-88xbtdfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-8n3pysct.js → instance-8n3pysct.js} +0 -0
- /package/dist/chunks/{persistent-pty-922hggd3.js → instance-922hggd3.js} +0 -0
- /package/dist/chunks/{persistent-pty-9a4afbnw.js → instance-9a4afbnw.js} +0 -0
- /package/dist/chunks/{persistent-pty-9rqn6x4v.js → instance-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{persistent-pty-a1tpkmh4.js → instance-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{persistent-pty-a6k6eb26.js → instance-a6k6eb26.js} +0 -0
- /package/dist/chunks/{persistent-pty-af5trqkr.js → instance-af5trqkr.js} +0 -0
- /package/dist/chunks/{persistent-pty-afrmfg78.js → instance-afrmfg78.js} +0 -0
- /package/dist/chunks/{persistent-pty-aqzs7mqg.js → instance-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{persistent-pty-atq7p7m5.js → instance-atq7p7m5.js} +0 -0
- /package/dist/chunks/{persistent-pty-bkyjaxrp.js → instance-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-bmr6ed5q.js → instance-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{persistent-pty-cf4snx6d.js → instance-cf4snx6d.js} +0 -0
- /package/dist/chunks/{persistent-pty-cvy3z8tj.js → instance-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9fn303g.js → instance-d9fn303g.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9jj8t3e.js → instance-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{persistent-pty-dajrwvna.js → instance-dajrwvna.js} +0 -0
- /package/dist/chunks/{persistent-pty-dap0rakb.js → instance-dap0rakb.js} +0 -0
- /package/dist/chunks/{persistent-pty-df08tz66.js → instance-df08tz66.js} +0 -0
- /package/dist/chunks/{persistent-pty-dy18nga0.js → instance-dy18nga0.js} +0 -0
- /package/dist/chunks/{persistent-pty-e5kj55wp.js → instance-e5kj55wp.js} +0 -0
- /package/dist/chunks/{persistent-pty-e73j6tqm.js → instance-e73j6tqm.js} +0 -0
- /package/dist/chunks/{persistent-pty-ec1grn59.js → instance-ec1grn59.js} +0 -0
- /package/dist/chunks/{persistent-pty-eh3zwz77.js → instance-eh3zwz77.js} +0 -0
- /package/dist/chunks/{persistent-pty-emrn6kk6.js → instance-emrn6kk6.js} +0 -0
- /package/dist/chunks/{persistent-pty-f0mxakyp.js → instance-f0mxakyp.js} +0 -0
- /package/dist/chunks/{persistent-pty-f6n9ztr4.js → instance-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{persistent-pty-faypxj3z.js → instance-faypxj3z.js} +0 -0
- /package/dist/chunks/{persistent-pty-fd410y7t.js → instance-fd410y7t.js} +0 -0
- /package/dist/chunks/{persistent-pty-fxgpk5d8.js → instance-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{persistent-pty-g4wezp1m.js → instance-g4wezp1m.js} +0 -0
- /package/dist/chunks/{persistent-pty-g86h250q.js → instance-g86h250q.js} +0 -0
- /package/dist/chunks/{persistent-pty-gebd4c9n.js → instance-gebd4c9n.js} +0 -0
- /package/dist/chunks/{persistent-pty-gftt206x.js → instance-gftt206x.js} +0 -0
- /package/dist/chunks/{persistent-pty-hjbc5kem.js → instance-hjbc5kem.js} +0 -0
- /package/dist/chunks/{persistent-pty-hk9envan.js → instance-hk9envan.js} +0 -0
- /package/dist/chunks/{persistent-pty-hrnqkpcd.js → instance-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{persistent-pty-j2ntwpah.js → instance-j2ntwpah.js} +0 -0
- /package/dist/chunks/{persistent-pty-j5zkgpj8.js → instance-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{persistent-pty-jr7sbwjy.js → instance-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{persistent-pty-jwfs4k6c.js → instance-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{persistent-pty-jzg6c2d5.js → instance-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{persistent-pty-mp448xyj.js → instance-mp448xyj.js} +0 -0
- /package/dist/chunks/{persistent-pty-msx8hqn2.js → instance-msx8hqn2.js} +0 -0
- /package/dist/chunks/{persistent-pty-n05xt0ee.js → instance-n05xt0ee.js} +0 -0
- /package/dist/chunks/{persistent-pty-n3j8tn72.js → instance-n3j8tn72.js} +0 -0
- /package/dist/chunks/{persistent-pty-njntx4h6.js → instance-njntx4h6.js} +0 -0
- /package/dist/chunks/{persistent-pty-paphc93g.js → instance-paphc93g.js} +0 -0
- /package/dist/chunks/{persistent-pty-q3sfg36h.js → instance-q3sfg36h.js} +0 -0
- /package/dist/chunks/{persistent-pty-q74kybfr.js → instance-q74kybfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-qaymkmh1.js → instance-qaymkmh1.js} +0 -0
- /package/dist/chunks/{persistent-pty-qb87gjwd.js → instance-qb87gjwd.js} +0 -0
- /package/dist/chunks/{persistent-pty-qfa1cgps.js → instance-qfa1cgps.js} +0 -0
- /package/dist/chunks/{persistent-pty-qrg20bc0.js → instance-qrg20bc0.js} +0 -0
- /package/dist/chunks/{persistent-pty-rcb2kzg1.js → instance-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{persistent-pty-sdp7kfr6.js → instance-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{persistent-pty-sk3qaz4a.js → instance-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{persistent-pty-ssg3fenm.js → instance-ssg3fenm.js} +0 -0
- /package/dist/chunks/{persistent-pty-twg0f83k.js → instance-twg0f83k.js} +0 -0
- /package/dist/chunks/{persistent-pty-w803qqfp.js → instance-w803qqfp.js} +0 -0
- /package/dist/chunks/{persistent-pty-wer8tq1h.js → instance-wer8tq1h.js} +0 -0
- /package/dist/chunks/{persistent-pty-wtztk69x.js → instance-wtztk69x.js} +0 -0
- /package/dist/chunks/{persistent-pty-x0ckcb58.js → instance-x0ckcb58.js} +0 -0
- /package/dist/chunks/{persistent-pty-x61499pn.js → instance-x61499pn.js} +0 -0
- /package/dist/chunks/{persistent-pty-y44na4kk.js → instance-y44na4kk.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8cydn3q.js → instance-y8cydn3q.js} +0 -0
- /package/dist/chunks/{persistent-pty-ygaqb7jw.js → instance-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{persistent-pty-ym463w8f.js → instance-ym463w8f.js} +0 -0
- /package/dist/chunks/{persistent-pty-z9919s4g.js → instance-z9919s4g.js} +0 -0
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service36
|
|
4
|
+
} from "./instance-3zjyvmkv.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service77
|
|
7
|
+
} from "./instance-a9m3pnym.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instance-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./instance-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/shell.ts
|
|
16
16
|
var exports_shell2 = {};
|
|
17
17
|
__export(exports_shell2, {
|
|
18
18
|
ConfigShellPlugin: () => exports_shell2,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin31
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin31 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service36;
|
|
27
|
+
const shell = yield* Service77;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -34,4 +34,4 @@ var Plugin27 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin31, exports_shell2 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service37,
|
|
3
|
+
node41
|
|
4
|
+
} from "./instance-0yzq9n39.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service74,
|
|
7
|
+
node79
|
|
8
|
+
} from "./instance-k11evj39.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service36,
|
|
11
|
+
node40
|
|
12
|
+
} from "./instance-3zjyvmkv.js";
|
|
13
13
|
import {
|
|
14
14
|
names2,
|
|
15
15
|
discover2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./instance-zxq2ej10.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./instance-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/source.ts
|
|
22
22
|
var exports_source = {};
|
|
23
23
|
__export(exports_source, {
|
|
24
24
|
ConfigPluginSource: () => exports_source,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service6,
|
|
26
26
|
empty: () => empty2,
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
27
|
+
layer: () => layer5,
|
|
28
|
+
node: () => node8
|
|
29
29
|
});
|
|
30
30
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
31
31
|
import { Host } from "@opencode/plugin/host";
|
|
@@ -33,13 +33,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
33
33
|
import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
36
|
-
class
|
|
36
|
+
class Service6 extends Context.Service()("@opencode/ConfigPluginSource") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
39
|
-
const config = yield*
|
|
40
|
-
const watcher = yield*
|
|
38
|
+
var layer5 = Layer.effect(Service6, Effect.gen(function* () {
|
|
39
|
+
const config = yield* Service36;
|
|
40
|
+
const watcher = yield* Service37;
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const location = yield*
|
|
42
|
+
const location = yield* Service74;
|
|
43
43
|
const configuredChanges = yield* PubSub.unbounded();
|
|
44
44
|
const watched = new Set;
|
|
45
45
|
const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
|
|
@@ -58,7 +58,7 @@ var layer6 = Layer.effect(Service8, Effect.gen(function* () {
|
|
|
58
58
|
yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
|
-
return
|
|
61
|
+
return Service6.of({
|
|
62
62
|
operations: Effect.fn("ConfigPluginSource.operations")(function* () {
|
|
63
63
|
const entries = yield* config.entries();
|
|
64
64
|
const operations = yield* scan(fs, location, entries);
|
|
@@ -70,14 +70,14 @@ var layer6 = Layer.effect(Service8, Effect.gen(function* () {
|
|
|
70
70
|
})), Stream.fromPubSub(configuredChanges))
|
|
71
71
|
});
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node8 = makeLocationNode({
|
|
74
|
+
service: Service6,
|
|
75
|
+
layer: layer5,
|
|
76
|
+
deps: [node40, FSUtil.node, node41, node79]
|
|
77
77
|
});
|
|
78
78
|
var empty2 = makeLocationNode({
|
|
79
|
-
service:
|
|
80
|
-
layer: Layer.succeed(
|
|
79
|
+
service: Service6,
|
|
80
|
+
layer: Layer.succeed(Service6, Service6.of({
|
|
81
81
|
operations: () => Effect.succeed([]),
|
|
82
82
|
changes: () => Stream.never
|
|
83
83
|
})),
|
|
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
|
|
|
137
137
|
return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service6, layer5, node8, empty2, exports_source };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node83
|
|
4
|
+
} from "./instance-vaq1jbx7.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service74,
|
|
7
|
+
node79
|
|
8
|
+
} from "./instance-k11evj39.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./instance-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service70,
|
|
14
|
+
node75
|
|
15
|
+
} from "./instance-888xqp9w.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./instance-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
22
22
|
__export(exports_instructions, {
|
|
23
|
-
Service: () =>
|
|
23
|
+
Service: () => Service7,
|
|
24
24
|
SessionInstructions: () => exports_instructions,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node10
|
|
26
26
|
});
|
|
27
27
|
import { relative } from "path";
|
|
28
28
|
import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
|
|
@@ -32,13 +32,13 @@ var InjectedMetadata = Schema.Struct({
|
|
|
32
32
|
instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service7 extends Context.Service()("@opencode/SessionInstructions") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const bus = yield*
|
|
37
|
+
var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
38
|
+
const bus = yield* Service78;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
|
-
const store = yield*
|
|
41
|
-
const location = yield*
|
|
40
|
+
const store = yield* Service70;
|
|
41
|
+
const location = yield* Service74;
|
|
42
42
|
const root = yield* fs.resolve(location.project.directory);
|
|
43
43
|
const inFlight = yield* Ref.make(new Map);
|
|
44
44
|
const load = Effect.fn("SessionInstructions.load")(function* (input) {
|
|
@@ -84,7 +84,7 @@ ${file.content}`).join(`
|
|
|
84
84
|
return next;
|
|
85
85
|
})));
|
|
86
86
|
});
|
|
87
|
-
return
|
|
87
|
+
return Service7.of({ load });
|
|
88
88
|
}));
|
|
89
89
|
function previouslyInjected(store, sessionID) {
|
|
90
90
|
return Effect.gen(function* () {
|
|
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
|
|
|
95
95
|
function describePath(root, path) {
|
|
96
96
|
return FSUtil.contains(root, path) ? relative(root, path) : path;
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var node10 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [
|
|
101
|
+
deps: [node83, FSUtil.node, node79, node75]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
|
-
export {
|
|
104
|
+
export { Service7, node10, exports_instructions };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service78,
|
|
4
|
+
node83
|
|
5
|
+
} from "./instance-vaq1jbx7.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./instance-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk = {};
|
|
12
12
|
__export(exports_sdk, {
|
|
13
13
|
SdkPlugins: () => exports_sdk,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service2,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
|
-
layer: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
layer: () => layer4,
|
|
17
|
+
node: () => node4
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service2 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var
|
|
26
|
-
const bus = yield*
|
|
25
|
+
var layer4 = Layer.effect(Service2, Effect.gen(function* () {
|
|
26
|
+
const bus = yield* Service78;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
|
-
return
|
|
29
|
+
return Service2.of({
|
|
30
30
|
register: (plugin) => Effect.sync(() => {
|
|
31
31
|
plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
|
|
32
32
|
}).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var
|
|
36
|
+
var node4 = makeGlobalNode({ service: Service2, layer: layer4, deps: [node83] });
|
|
37
37
|
|
|
38
|
-
export { Updated2,
|
|
38
|
+
export { Updated2, Service2, layer4, node4, exports_sdk };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./instance-5zy6em5b.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service42
|
|
6
|
+
} from "./instance-81rrwt6s.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instance-vnkjks7b.js";
|
|
10
10
|
import {
|
|
11
11
|
provenance2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./instance-paegk39x.js";
|
|
13
13
|
import {
|
|
14
14
|
preview2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./instance-4ha0j3vr.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./instance-xxhgza55.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service23
|
|
21
|
+
} from "./instance-fw2j09t7.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./instance-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
27
|
var exports_generate2 = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_generate2, {
|
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate3 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
36
|
-
const database = yield*
|
|
35
|
+
const instances = yield* Service42;
|
|
36
|
+
const database = yield* Service79;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service23;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/skills.ts
|
|
6
6
|
var exports_skills = {};
|
|
7
7
|
__export(exports_skills, {
|
|
8
8
|
ConfigSkillsV1: () => exports_skills,
|
|
9
|
-
Info: () =>
|
|
9
|
+
Info: () => Info10
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info10 = Schema.Struct({
|
|
13
13
|
paths: Schema.optional(Schema.Array(Schema.String)).annotate({
|
|
14
14
|
description: "Additional paths to skill folders"
|
|
15
15
|
}),
|
|
@@ -18,4 +18,4 @@ var Info15 = Schema.Struct({
|
|
|
18
18
|
})
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info10, exports_skills };
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service62
|
|
3
|
+
} from "./instance-ackzb6j1.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service13,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./instance-7fpn5dqa.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service16
|
|
11
|
+
} from "./instance-m953gznc.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service69
|
|
14
|
+
} from "./instance-3jyh38wp.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service55
|
|
17
|
+
} from "./instance-ket659ap.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./instance-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./instance-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input7,
|
|
29
|
+
Output: () => Output4,
|
|
30
|
+
Plugin: () => Plugin21,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name7,
|
|
33
|
+
toModelContent: () => toModelContent5
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name7 = "write";
|
|
39
|
+
var Input7 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output4 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent5 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin21 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service55;
|
|
56
|
+
const fileMutation = yield* Service13;
|
|
57
|
+
const environment = yield* Service62;
|
|
58
|
+
const formatter = yield* Service16;
|
|
59
|
+
const permission = yield* Service69;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name7,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input7,
|
|
69
|
+
output: Output4,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent5(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name7, Input7, Output4, toModelContent5, Plugin21, exports_write };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-k11evj39.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instance-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service65,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node70
|
|
15
15
|
});
|
|
16
16
|
import { Context, Effect, Layer } from "effect";
|
|
17
17
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
18
18
|
import { Node } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
20
20
|
import path from "path";
|
|
21
|
-
class
|
|
21
|
+
class Service65 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
22
22
|
static get(ref) {
|
|
23
|
-
return Layer.unwrap(Effect.map(
|
|
23
|
+
return Layer.unwrap(Effect.map(Service65, (locations) => locations.get(ref)));
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
var
|
|
26
|
+
var node70 = LayerNode.unbound(Service65, Node.tags.values.global);
|
|
27
27
|
function canonical3(ref) {
|
|
28
28
|
return Ref4.make({
|
|
29
29
|
directory: AbsolutePath.make(process.platform === "win32" ? path.normalize(ref.directory) : ref.directory),
|
|
@@ -31,4 +31,4 @@ function canonical3(ref) {
|
|
|
31
31
|
});
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
export {
|
|
34
|
+
export { Service65, node70, canonical3, exports_location_service_map };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-kg06axw8.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instance-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service12,
|
|
13
|
+
node: () => node15
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service12 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create3({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service12.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node15 = makeLocationNode({ service: Service12, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service12, node15, exports_location_watcher_policy };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service42
|
|
3
|
+
} from "./instance-81rrwt6s.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instance-vnkjks7b.js";
|
|
7
7
|
import {
|
|
8
8
|
SkillNotFoundError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instance-np6kt6y4.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service56
|
|
12
|
+
} from "./instance-jft9hn7j.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./instance-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/skill.ts
|
|
18
18
|
var exports_skill4 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_skill4, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var get4 = Effect.fn("SessionSkill.get")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const skills = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service42;
|
|
26
|
+
const skills = yield* awaitActivation2.pipe(Effect.andThen(Service56), instances.provide(input.session));
|
|
27
27
|
const skill = yield* skills.get(input.skill);
|
|
28
28
|
if (!skill)
|
|
29
29
|
return yield* new SkillNotFoundError2({ skill: input.skill });
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
6
|
var exports_command4 = {};
|
|
7
7
|
__export(exports_command4, {
|
|
8
8
|
ConfigCommandV1: () => exports_command4,
|
|
9
|
-
Info: () =>
|
|
9
|
+
Info: () => Info9
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info9 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info12 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info9, exports_command4 };
|