@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,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./instance-5zy6em5b.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instance-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
9
|
Binding2,
|
|
10
10
|
RegistryService2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node68
|
|
12
|
+
} from "./instance-g8atgw3j.js";
|
|
13
13
|
import {
|
|
14
14
|
WorkspaceTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./instance-faypxj3z.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./instance-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/workspace.ts
|
|
21
21
|
var exports_workspace = {};
|
|
22
22
|
__export(exports_workspace, {
|
|
23
23
|
CreateConflict: () => CreateConflict2,
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
24
|
+
ID: () => ID10,
|
|
25
|
+
Info: () => Info24,
|
|
26
26
|
NotFound: () => NotFound3,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service63,
|
|
28
28
|
Workspace: () => exports_workspace,
|
|
29
|
-
configured: () =>
|
|
30
|
-
node: () =>
|
|
29
|
+
configured: () => configured8,
|
|
30
|
+
node: () => node67
|
|
31
31
|
});
|
|
32
32
|
import { Workspace } from "@opencode/schema/workspace";
|
|
33
33
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
|
|
|
35
35
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
36
36
|
import { systemError } from "effect/PlatformError";
|
|
37
37
|
import { make } from "effect/unstable/process/ChildProcessSpawner";
|
|
38
|
-
var
|
|
38
|
+
var ID10 = Workspace.ID;
|
|
39
39
|
|
|
40
|
-
class
|
|
41
|
-
id:
|
|
40
|
+
class Info24 extends Schema.Class("Workspace.Info")({
|
|
41
|
+
id: ID10,
|
|
42
42
|
provider: Schema.String,
|
|
43
43
|
binding: Binding2,
|
|
44
44
|
createdAt: Schema.Number,
|
|
@@ -46,25 +46,25 @@ class Info29 extends Schema.Class("Workspace.Info")({
|
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
49
|
+
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID10 }) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
53
|
-
workspaceID:
|
|
53
|
+
workspaceID: ID10,
|
|
54
54
|
provider: Schema.String,
|
|
55
55
|
existingProvider: Schema.String
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service63 extends Context.Service()("@opencode/Workspace") {
|
|
60
60
|
}
|
|
61
|
-
var
|
|
62
|
-
service:
|
|
61
|
+
var configured8 = (options = {}) => makeGlobalNode({
|
|
62
|
+
service: Service63,
|
|
63
63
|
layer: layer(options),
|
|
64
|
-
deps: [
|
|
64
|
+
deps: [node84, node68]
|
|
65
65
|
});
|
|
66
|
-
var layer = (options) => Layer.effect(
|
|
67
|
-
const db = (yield*
|
|
66
|
+
var layer = (options) => Layer.effect(Service63, Effect.gen(function* () {
|
|
67
|
+
const db = (yield* Service79).db;
|
|
68
68
|
const registry = yield* RegistryService2;
|
|
69
69
|
const lifetime = yield* Scope.Scope;
|
|
70
70
|
const connections = new Map;
|
|
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service74, Effect.gen(function* () {
|
|
|
80
80
|
return row;
|
|
81
81
|
});
|
|
82
82
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
83
|
-
const info = (row, binding) => new
|
|
83
|
+
const info = (row, binding) => new Info24({
|
|
84
84
|
id: row.id,
|
|
85
85
|
provider: row.provider,
|
|
86
86
|
binding,
|
|
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service74, Effect.gen(function* () {
|
|
|
154
154
|
yield* Scope.close(connection.scope, Exit.void);
|
|
155
155
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
156
156
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
157
|
-
return
|
|
157
|
+
return Service63.of({
|
|
158
158
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
159
|
-
const workspaceID = input.id ??
|
|
159
|
+
const workspaceID = input.id ?? ID10.create();
|
|
160
160
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
161
161
|
if (existing) {
|
|
162
162
|
if (existing.provider === input.provider)
|
|
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service74, Effect.gen(function* () {
|
|
|
221
221
|
})
|
|
222
222
|
});
|
|
223
223
|
}));
|
|
224
|
-
var
|
|
224
|
+
var node67 = configured8();
|
|
225
225
|
|
|
226
|
-
export {
|
|
226
|
+
export { ID10, Info24, NotFound3, CreateConflict2, Service63, configured8, node67, exports_workspace };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service74
|
|
6
|
+
} from "./instance-k11evj39.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instance-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
@@ -23,7 +23,7 @@ var names4 = ["opencode.json", "opencode.jsonc"];
|
|
|
23
23
|
var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
24
24
|
const fs = yield* FSUtil.Service;
|
|
25
25
|
const global = yield* Global.Service;
|
|
26
|
-
const location = yield*
|
|
26
|
+
const location = yield* Service74;
|
|
27
27
|
const globalDirectory = AbsolutePath2.make(global.config);
|
|
28
28
|
const globalAgentsDirectory = AbsolutePath2.make(path.join(global.home, ".agents"));
|
|
29
29
|
const globalClaudeDirectory = AbsolutePath2.make(path.join(global.home, ".claude"));
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SQLiteEffectCountBuilder2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-f0mxakyp.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDeleteBase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instance-w3wsvvr9.js";
|
|
7
7
|
import {
|
|
8
8
|
SQLiteEffectInsertBuilder2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instance-7bmhse3q.js";
|
|
10
10
|
import {
|
|
11
11
|
SQLiteEffectRelationalQueryBuilder2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./instance-cf4snx6d.js";
|
|
13
13
|
import {
|
|
14
14
|
SQLiteEffectRaw2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./instance-822emrt2.js";
|
|
16
16
|
import {
|
|
17
17
|
SQLiteEffectSelectBuilder2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./instance-wd87259q.js";
|
|
19
19
|
import {
|
|
20
20
|
SQLiteEffectUpdateBuilder2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./instance-m9w0rfyh.js";
|
|
22
22
|
|
|
23
23
|
// src/database/drizzle/sqlite-core/effect/db.ts
|
|
24
24
|
import { Effect } from "effect";
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service45,
|
|
6
|
+
node48
|
|
7
|
+
} from "./instance-8nz0kf2a.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instance-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: () => Service19,
|
|
18
18
|
UnavailableError: () => UnavailableError2,
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
19
|
+
layer: () => layer9,
|
|
20
|
+
node: () => node23
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/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 Service19 extends Context.Service()("@opencode/Generate") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
38
|
+
var layer9 = Layer.effect(Service19, Effect.gen(function* () {
|
|
39
39
|
const llm = yield* LLMClient.Service;
|
|
40
|
-
const resolver = yield*
|
|
40
|
+
const resolver = yield* Service45;
|
|
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",
|
|
@@ -61,12 +61,12 @@ var layer10 = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
61
61
|
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
|
|
62
62
|
message: "Generation credentials are unavailable"
|
|
63
63
|
})));
|
|
64
|
-
return
|
|
64
|
+
return Service19.of({ text });
|
|
65
65
|
}));
|
|
66
|
-
var
|
|
67
|
-
service:
|
|
68
|
-
layer:
|
|
69
|
-
deps: [
|
|
66
|
+
var node23 = makeLocationNode({
|
|
67
|
+
service: Service19,
|
|
68
|
+
layer: layer9,
|
|
69
|
+
deps: [node48, llmClient2]
|
|
70
70
|
});
|
|
71
71
|
|
|
72
|
-
export { ModelSelectionError2, UnavailableError2,
|
|
72
|
+
export { ModelSelectionError2, UnavailableError2, Service19, layer9, node23, exports_generate };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/session/schema.ts
|
|
2
2
|
import * as SessionSchema2 from "@opencode/schema/session";
|
|
3
3
|
import { Session } from "@opencode/schema/session";
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var ID15 = Session.ID;
|
|
5
|
+
var Info29 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { ID15, Info29, SessionSchema2 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-01jwtfx3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service78
|
|
6
|
+
} from "./instance-vaq1jbx7.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event15
|
|
10
|
+
} from "./instance-xanrfe6t.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID5,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./instance-q0rt5j2q.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./instance-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID12,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./instance-9qn3qky1.js";
|
|
24
24
|
|
|
25
25
|
// src/plugin/provider/openai.ts
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -44,7 +44,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
44
44
|
}));
|
|
45
45
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
46
46
|
var browser = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID5.make("openai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: browserMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -117,7 +117,7 @@ function addressInUse(error) {
|
|
|
117
117
|
return "code" in error && error.code === "EADDRINUSE";
|
|
118
118
|
}
|
|
119
119
|
var headless = (app) => ({
|
|
120
|
-
integrationID:
|
|
120
|
+
integrationID: ID5.make("openai"),
|
|
121
121
|
method: {
|
|
122
122
|
id: headlessMethodID,
|
|
123
123
|
type: "oauth",
|
|
@@ -162,7 +162,7 @@ var headless = (app) => ({
|
|
|
162
162
|
var OpenAIPlugin3 = define({
|
|
163
163
|
id: "opencode.provider.openai",
|
|
164
164
|
effect: Effect.fn(function* (ctx) {
|
|
165
|
-
const bus = yield*
|
|
165
|
+
const bus = yield* Service78;
|
|
166
166
|
const loading = Semaphore.makeUnsafe(1);
|
|
167
167
|
let chatgpt;
|
|
168
168
|
const load = Effect.fn("OpenAIPlugin.load")(function* () {
|
|
@@ -178,7 +178,7 @@ var OpenAIPlugin3 = define({
|
|
|
178
178
|
});
|
|
179
179
|
yield* load();
|
|
180
180
|
yield* ctx.catalog.transform((evt) => {
|
|
181
|
-
const item = evt.provider.get(
|
|
181
|
+
const item = evt.provider.get(ID12.openai);
|
|
182
182
|
if (!item)
|
|
183
183
|
return;
|
|
184
184
|
for (const model of item.models.values()) {
|
|
@@ -221,9 +221,9 @@ var OpenAIPlugin3 = define({
|
|
|
221
221
|
evt.baseURL = codexBaseURL;
|
|
222
222
|
evt.headers.originator = "opencode";
|
|
223
223
|
evt.headers["session-id"] = evt.sessionID;
|
|
224
|
-
}), { providerID:
|
|
224
|
+
}), { providerID: ID12.openai });
|
|
225
225
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
226
|
-
yield* bus.subscribe(
|
|
226
|
+
yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID5.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
227
227
|
})
|
|
228
228
|
});
|
|
229
229
|
function headers(contentType, app) {
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node83
|
|
4
|
+
} from "./instance-vaq1jbx7.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instance-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instance-3jyh38wp.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./instance-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
20
|
+
Event: () => Event13,
|
|
21
|
+
ID: () => ID7,
|
|
22
|
+
Info: () => Info22,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service56,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
26
|
Source: () => Source4,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node59,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event13 } from "@opencode/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
41
|
var Source4 = Skill.Source;
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var Info22 = Skill.Info;
|
|
43
|
+
var ID7 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
45
|
var available2 = (skills, agent) => skills.filter((skill) => evaluate2("skill", skill.id, agent.permissions).effect !== "deny");
|
|
46
46
|
var toModelOutput3 = (skill, files) => {
|
|
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service56 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
77
|
-
const bus = yield*
|
|
76
|
+
var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
77
|
+
const bus = yield* Service78;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
80
80
|
initial: () => ({ skills: new Map }),
|
|
81
81
|
editor: (editor) => ({
|
|
82
82
|
list: () => Array.from(editor.skills.values()),
|
|
83
|
-
get: (id) => editor.skills.get(
|
|
83
|
+
get: (id) => editor.skills.get(ID7.make(id)),
|
|
84
84
|
add: (skill) => {
|
|
85
85
|
editor.skills.set(skill.id, { ...skill });
|
|
86
86
|
},
|
|
87
87
|
update: (id, update) => {
|
|
88
|
-
const current = editor.skills.get(
|
|
88
|
+
const current = editor.skills.get(ID7.make(id));
|
|
89
89
|
if (!current)
|
|
90
90
|
return;
|
|
91
91
|
update(current);
|
|
92
|
-
current.id =
|
|
92
|
+
current.id = ID7.make(id);
|
|
93
93
|
},
|
|
94
94
|
remove: (id) => {
|
|
95
|
-
editor.skills.delete(
|
|
95
|
+
editor.skills.delete(ID7.make(id));
|
|
96
96
|
}
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service56.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node59 = makeLocationNode({
|
|
112
|
+
service: Service56,
|
|
113
113
|
layer,
|
|
114
|
-
deps: [
|
|
114
|
+
deps: [node83]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info22, ID7, Name2, available2, toModelOutput3, prepare3, Service56, node59, exports_skill5, Event13 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service73,
|
|
10
|
+
node: () => node78
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service73 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service73.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node78 = makeLocationNode({ service: Service73, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service73, node78, exports_hooks };
|