@opencode/core 0.0.0-dev-19728 → 0.0.0-dev-19737
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 +78 -78
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{persistent-pty-bf0ztrs3.js → schema-00z3vp5f.js} +4 -4
- package/dist/chunks/{persistent-pty-af04s6ss.js → schema-0f9afca0.js} +5 -5
- package/dist/chunks/{persistent-pty-zsphfh87.js → schema-0kq1vnt2.js} +22 -22
- package/dist/chunks/{persistent-pty-7158h6s7.js → schema-0m4needc.js} +35 -35
- package/dist/chunks/{persistent-pty-0paq2nw3.js → schema-0paq2nw3.js} +1 -1
- package/dist/chunks/{persistent-pty-0q0f95c6.js → schema-0q0f95c6.js} +1 -1
- package/dist/chunks/{persistent-pty-2xh021f3.js → schema-0wbtz0x1.js} +20 -20
- package/dist/chunks/{persistent-pty-74esd9zg.js → schema-14xxbdt3.js} +11 -11
- package/dist/chunks/{persistent-pty-rhraev7y.js → schema-1acjjqhc.js} +4 -4
- package/dist/chunks/{persistent-pty-1dazxqgg.js → schema-1dazxqgg.js} +2 -2
- package/dist/chunks/{persistent-pty-mxqdc3nz.js → schema-1fzn40f7.js} +32 -32
- package/dist/chunks/{persistent-pty-sbhenykq.js → schema-1gf2zdqm.js} +1 -1
- package/dist/chunks/{persistent-pty-aw8xkpzd.js → schema-1phb3yjr.js} +31 -31
- package/dist/chunks/{persistent-pty-fgj0ctqj.js → schema-1ww8dv02.js} +26 -26
- package/dist/chunks/{persistent-pty-3hdyanjz.js → schema-1yv162eq.js} +4 -4
- package/dist/chunks/{persistent-pty-pcv9vap9.js → schema-20rcmd8z.js} +8 -8
- package/dist/chunks/{persistent-pty-vwzsxpqv.js → schema-20w62y01.js} +24 -24
- package/dist/chunks/{persistent-pty-21r38tys.js → schema-21r38tys.js} +1 -1
- package/dist/chunks/{persistent-pty-nrm3jg5q.js → schema-23kb5mxq.js} +40 -40
- package/dist/chunks/{persistent-pty-2402vzrj.js → schema-2402vzrj.js} +1 -1
- package/dist/chunks/{persistent-pty-2a5m3afh.js → schema-2a5m3afh.js} +1 -1
- package/dist/chunks/{persistent-pty-69qp09he.js → schema-2fdjcr0k.js} +4 -4
- package/dist/chunks/{persistent-pty-e0k9jqvk.js → schema-2fzk1ze6.js} +9 -9
- package/dist/chunks/{persistent-pty-qbvsdytj.js → schema-2q85j725.js} +1 -1
- package/dist/chunks/{persistent-pty-0q14gyha.js → schema-2r6c0n2x.js} +4 -4
- package/dist/chunks/schema-2wg3ms2p.js +478 -0
- package/dist/chunks/{persistent-pty-se3v9tfx.js → schema-306j3wnv.js} +27 -27
- package/dist/chunks/{persistent-pty-x31d7mze.js → schema-34m0q60c.js} +9 -9
- package/dist/chunks/{persistent-pty-ratrq7cm.js → schema-34rkz0x9.js} +7 -7
- package/dist/chunks/{persistent-pty-ww52grw6.js → schema-34vjgn4c.js} +19 -19
- package/dist/chunks/{persistent-pty-xv9ma6ry.js → schema-3c6vacrb.js} +23 -23
- package/dist/chunks/{persistent-pty-c78bbtc9.js → schema-3cfzdc8e.js} +5 -5
- package/dist/chunks/{persistent-pty-3fc6dm20.js → schema-3fc6dm20.js} +1 -1
- package/dist/chunks/schema-3gw6zea7.js +252 -0
- package/dist/chunks/{persistent-pty-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
- package/dist/chunks/{persistent-pty-3smtnn6g.js → schema-3smtnn6g.js} +1 -1
- package/dist/chunks/{persistent-pty-3tvqynh2.js → schema-3tvqynh2.js} +1 -1
- package/dist/chunks/{persistent-pty-y9k7smv5.js → schema-3xez6jaj.js} +14 -14
- package/dist/chunks/{persistent-pty-vqxe66hv.js → schema-4138kfer.js} +10 -10
- package/dist/chunks/{persistent-pty-zmpf3yp4.js → schema-4cmy5hks.js} +17 -17
- package/dist/chunks/{persistent-pty-2y34zzjz.js → schema-4gycnsfp.js} +6 -6
- package/dist/chunks/{persistent-pty-tegm9nvs.js → schema-4nv7pmvf.js} +15 -15
- package/dist/chunks/{persistent-pty-8hwhcqqg.js → schema-4p44gt6q.js} +20 -20
- package/dist/chunks/{persistent-pty-dyyx6kgc.js → schema-4rftnvmm.js} +20 -20
- package/dist/chunks/{persistent-pty-p5zskvh4.js → schema-4rnjwd9y.js} +30 -30
- package/dist/chunks/{persistent-pty-xfkkasph.js → schema-57b9ws8p.js} +7 -7
- package/dist/chunks/{persistent-pty-0ke265bw.js → schema-57ez7d0k.js} +5 -5
- package/dist/chunks/{persistent-pty-5c4hm403.js → schema-5c4hm403.js} +3 -3
- package/dist/chunks/{persistent-pty-da6xg5hq.js → schema-5ceybh92.js} +54 -54
- package/dist/chunks/{persistent-pty-5daktx2q.js → schema-5daktx2q.js} +1 -1
- package/dist/chunks/{persistent-pty-dws7cgfq.js → schema-5p8gznt9.js} +3 -3
- package/dist/chunks/{persistent-pty-5t3nmthw.js → schema-5t3nmthw.js} +2 -2
- package/dist/chunks/{persistent-pty-mw5jjxyq.js → schema-5th5y29m.js} +34 -34
- package/dist/chunks/{persistent-pty-nvdt7cxy.js → schema-615rvbph.js} +8 -8
- package/dist/chunks/{persistent-pty-669tq793.js → schema-669tq793.js} +1 -1
- package/dist/chunks/{persistent-pty-ry3ayprc.js → schema-6fbcz64v.js} +6 -6
- package/dist/chunks/{persistent-pty-dq3nzk0j.js → schema-6gxr2kse.js} +19 -19
- package/dist/chunks/schema-6kdq0pjd.js +4 -0
- package/dist/chunks/{persistent-pty-6msgmcgs.js → schema-6msgmcgs.js} +1 -1
- package/dist/chunks/{persistent-pty-xmm5j47e.js → schema-6x27dj5x.js} +5 -5
- package/dist/chunks/{persistent-pty-vr3dsx4b.js → schema-7278r6b7.js} +25 -25
- package/dist/chunks/{persistent-pty-4kqw14kn.js → schema-73chcb62.js} +17 -17
- package/dist/chunks/{persistent-pty-ab8cnxkj.js → schema-74rrnwt7.js} +12 -12
- package/dist/chunks/{persistent-pty-46h4yk7y.js → schema-767jsjr0.js} +9 -9
- package/dist/chunks/{persistent-pty-patgj9rf.js → schema-76ymgwed.js} +9 -9
- package/dist/chunks/{persistent-pty-5v97j575.js → schema-7a8dqjge.js} +23 -23
- package/dist/chunks/{persistent-pty-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
- package/dist/chunks/{persistent-pty-xajwbek5.js → schema-7dc2gp21.js} +2 -2
- package/dist/chunks/{persistent-pty-be0xfwc6.js → schema-7wjtb2rf.js} +10 -10
- package/dist/chunks/{persistent-pty-bkzets0h.js → schema-7xfrred8.js} +3 -3
- package/dist/chunks/{persistent-pty-vph6zqr2.js → schema-82asfs5g.js} +11 -11
- package/dist/chunks/{persistent-pty-9p9te0yq.js → schema-88t8rp6e.js} +24 -24
- package/dist/chunks/{persistent-pty-8d7r5vzw.js → schema-8d7r5vzw.js} +1 -1
- package/dist/chunks/{persistent-pty-wfbbatkv.js → schema-8kk7mxym.js} +10 -10
- package/dist/chunks/{persistent-pty-qqd25hrc.js → schema-8nq6hfsb.js} +3 -3
- package/dist/chunks/{persistent-pty-zgbvzy4h.js → schema-8rj9y1pa.js} +11 -11
- package/dist/chunks/{persistent-pty-xndy1brp.js → schema-8vqvhprh.js} +4 -4
- package/dist/chunks/{persistent-pty-tbgyadps.js → schema-94rtpxdn.js} +8 -8
- package/dist/chunks/{persistent-pty-ypyqm45m.js → schema-97j0r8y9.js} +14 -14
- package/dist/chunks/{persistent-pty-kgeynd61.js → schema-9936p5k8.js} +12 -12
- package/dist/chunks/{persistent-pty-wbrh8mmr.js → schema-9f3e1ggy.js} +7 -7
- package/dist/chunks/{persistent-pty-pwc6j5c3.js → schema-9mxah8h4.js} +47 -47
- package/dist/chunks/{persistent-pty-hmdeq4v3.js → schema-9pjrnwke.js} +15 -15
- package/dist/chunks/{persistent-pty-27kesqea.js → schema-9qh9k4jy.js} +22 -22
- package/dist/chunks/{persistent-pty-3dnp56pr.js → schema-9vsy5c72.js} +13 -13
- package/dist/chunks/{persistent-pty-9c8f3b19.js → schema-9yn6v7ct.js} +4 -4
- package/dist/chunks/{persistent-pty-cm8msd5e.js → schema-a51y6ym7.js} +24 -24
- package/dist/chunks/{persistent-pty-y906m0ew.js → schema-a694798e.js} +5 -5
- package/dist/chunks/{persistent-pty-aaet6srn.js → schema-aaet6srn.js} +2 -2
- package/dist/chunks/{persistent-pty-8v94ed5m.js → schema-af9dffab.js} +38 -38
- package/dist/chunks/{persistent-pty-mpahdt45.js → schema-ag3m1axn.js} +12 -12
- package/dist/chunks/{persistent-pty-ah4kcnx7.js → schema-ahcd1ndw.js} +9 -9
- package/dist/chunks/{persistent-pty-a6ydtnj7.js → schema-annge035.js} +24 -24
- package/dist/chunks/{persistent-pty-66dyjrem.js → schema-arn7a10h.js} +23 -23
- package/dist/chunks/{persistent-pty-0abzxk01.js → schema-awchmv23.js} +47 -47
- package/dist/chunks/{persistent-pty-b6gygkdw.js → schema-b6gygkdw.js} +2 -2
- package/dist/chunks/{persistent-pty-qn4ba14w.js → schema-bgxcxs0p.js} +5 -5
- package/dist/chunks/{persistent-pty-7p76c24s.js → schema-bh4jpqk7.js} +3 -3
- package/dist/chunks/{persistent-pty-ya3ej9zv.js → schema-bqxn86gj.js} +3 -3
- package/dist/chunks/{persistent-pty-bp73j9d8.js → schema-bz45yw4h.js} +13 -13
- package/dist/chunks/{persistent-pty-kpfem4ty.js → schema-c6j30ft7.js} +5 -5
- package/dist/chunks/{persistent-pty-85htkvce.js → schema-c7p9qvyj.js} +11 -11
- package/dist/chunks/{persistent-pty-0bjwe8an.js → schema-cbhwhadg.js} +10 -10
- package/dist/chunks/{persistent-pty-r2pbtf1m.js → schema-cfa48gc9.js} +7 -7
- package/dist/chunks/{persistent-pty-j8ew5444.js → schema-cg5ycx1e.js} +3 -3
- package/dist/chunks/{persistent-pty-ahpfebvr.js → schema-d3ax6dyb.js} +20 -20
- package/dist/chunks/{persistent-pty-txa68nbj.js → schema-d47nnc12.js} +27 -27
- package/dist/chunks/{persistent-pty-rby3xxx1.js → schema-d48ezy26.js} +3 -3
- package/dist/chunks/{persistent-pty-gakcnn0z.js → schema-dby5k82d.js} +9 -9
- package/dist/chunks/{persistent-pty-08bhejcc.js → schema-dby5rmb5.js} +22 -22
- package/dist/chunks/{persistent-pty-j8bvp1fm.js → schema-dcezsyq8.js} +22 -22
- package/dist/chunks/{persistent-pty-dj2t23y0.js → schema-dj2t23y0.js} +2 -2
- package/dist/chunks/{persistent-pty-qmqgtz8f.js → schema-djszqvmq.js} +9 -9
- package/dist/chunks/{persistent-pty-dpkg50ah.js → schema-dpkg50ah.js} +1 -1
- package/dist/chunks/{persistent-pty-mnf1jt53.js → schema-drx7c34e.js} +25 -25
- package/dist/chunks/{persistent-pty-78b8afjy.js → schema-e3d7m6yw.js} +11 -11
- package/dist/chunks/{persistent-pty-8106cjk8.js → schema-e697vzkb.js} +33 -33
- package/dist/chunks/{persistent-pty-r33ff4dw.js → schema-e6hd9jay.js} +6 -6
- package/dist/chunks/{persistent-pty-x44f4n8q.js → schema-eabne0ps.js} +16 -16
- package/dist/chunks/{persistent-pty-ef5x83kb.js → schema-ef5x83kb.js} +1 -1
- package/dist/chunks/{persistent-pty-etq0c3wd.js → schema-etq0c3wd.js} +1 -1
- package/dist/chunks/{persistent-pty-v8wrdptb.js → schema-evapsva0.js} +28 -28
- package/dist/chunks/{persistent-pty-ga8ekxq3.js → schema-f4k86emj.js} +8 -8
- package/dist/chunks/{persistent-pty-gnx4ytbv.js → schema-fab8hzt3.js} +4 -4
- package/dist/chunks/{persistent-pty-tbgrq2h7.js → schema-fbngn8kj.js} +9 -9
- package/dist/chunks/{persistent-pty-v6p4jrsd.js → schema-fg1jd41j.js} +11 -11
- package/dist/chunks/{persistent-pty-m2d0j7c0.js → schema-fhs97t90.js} +9 -9
- package/dist/chunks/{persistent-pty-db85t7kk.js → schema-fpvkpsh3.js} +11 -11
- package/dist/chunks/{persistent-pty-j58c5xyq.js → schema-fwwk8vbp.js} +9 -9
- package/dist/chunks/{persistent-pty-fxbjtjnd.js → schema-fxbjtjnd.js} +1 -1
- package/dist/chunks/{persistent-pty-pmqwy1kz.js → schema-fy09w2xd.js} +1 -1
- package/dist/chunks/{persistent-pty-nw2nz702.js → schema-fyymr9xg.js} +4 -4
- package/dist/chunks/{persistent-pty-gd4qta3r.js → schema-gd4qta3r.js} +1 -1
- package/dist/chunks/{persistent-pty-nxmv3qtw.js → schema-gk2qhqxt.js} +27 -27
- package/dist/chunks/{persistent-pty-gv6a8nnw.js → schema-gv6a8nnw.js} +2 -2
- package/dist/chunks/{persistent-pty-sv8w2zbm.js → schema-gykz7zvq.js} +23 -23
- package/dist/chunks/{persistent-pty-mzpz6184.js → schema-gypfqv8n.js} +11 -11
- package/dist/chunks/{persistent-pty-h03wrkyp.js → schema-h03wrkyp.js} +2 -2
- package/dist/chunks/{persistent-pty-kze5qbmf.js → schema-h5e28ese.js} +1 -1
- package/dist/chunks/{persistent-pty-h6r3nrb9.js → schema-h6r3nrb9.js} +1 -1
- package/dist/chunks/{persistent-pty-h6vf3j39.js → schema-h6vf3j39.js} +1 -1
- package/dist/chunks/{persistent-pty-ycjb11n5.js → schema-h896pcm5.js} +6 -6
- package/dist/chunks/{persistent-pty-jxm7mf79.js → schema-hcghqa17.js} +6 -6
- package/dist/chunks/{persistent-pty-hdnk95c8.js → schema-hdnk95c8.js} +2 -2
- package/dist/chunks/{persistent-pty-94n6ez7z.js → schema-hpe0jmgz.js} +23 -23
- package/dist/chunks/{persistent-pty-7ycevcb9.js → schema-hta4qd97.js} +10 -10
- package/dist/chunks/{persistent-pty-5hj37ers.js → schema-htcg5w1w.js} +41 -41
- package/dist/chunks/{persistent-pty-dbyf6pmq.js → schema-hw08ag4f.js} +3 -3
- package/dist/chunks/{persistent-pty-8byt1a1f.js → schema-hzz2ft1h.js} +89 -89
- package/dist/chunks/{persistent-pty-j56e64zr.js → schema-j56e64zr.js} +1 -1
- package/dist/chunks/{persistent-pty-a3r4dcrj.js → schema-j699j8bt.js} +2 -2
- package/dist/chunks/{persistent-pty-yp8dzd9b.js → schema-j6bmhn27.js} +4 -4
- package/dist/chunks/{persistent-pty-k3gnzxs0.js → schema-jppvw2tx.js} +5 -5
- package/dist/chunks/{persistent-pty-qs8m1hnz.js → schema-jy668y7m.js} +20 -20
- package/dist/chunks/{persistent-pty-k3c624dm.js → schema-k3c624dm.js} +3 -3
- package/dist/chunks/{persistent-pty-7kjjtcaz.js → schema-k7db9dk4.js} +9 -9
- package/dist/chunks/{persistent-pty-ba82ctx4.js → schema-kf6dz3d4.js} +48 -48
- package/dist/chunks/{persistent-pty-sc61929c.js → schema-kjdatzbq.js} +12 -12
- package/dist/chunks/{persistent-pty-5qzy05yz.js → schema-kjmy95ac.js} +20 -20
- package/dist/chunks/{persistent-pty-8ckeceky.js → schema-kqgpfsd6.js} +20 -20
- package/dist/chunks/{persistent-pty-gcbc03sz.js → schema-kwwbzygf.js} +22 -22
- package/dist/chunks/{persistent-pty-9ytqehrq.js → schema-kxp5agay.js} +11 -11
- package/dist/chunks/{persistent-pty-3kzm2gg7.js → schema-m08zhkpp.js} +15 -15
- package/dist/chunks/{persistent-pty-m0jqrx5p.js → schema-m0jqrx5p.js} +2 -2
- package/dist/chunks/{persistent-pty-m3fdjcah.js → schema-m3fdjcah.js} +1 -1
- package/dist/chunks/{persistent-pty-8da4efp4.js → schema-m3vpbdr9.js} +6 -6
- package/dist/chunks/{persistent-pty-c9rej1jf.js → schema-m8wp6b1y.js} +18 -18
- package/dist/chunks/{persistent-pty-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
- package/dist/chunks/{persistent-pty-qj8eh1ht.js → schema-magykp64.js} +4 -4
- package/dist/chunks/{persistent-pty-56gdpj1q.js → schema-mfqp6xfm.js} +6 -6
- package/dist/chunks/{persistent-pty-mvfsc1pv.js → schema-mhkvc446.js} +3 -3
- package/dist/chunks/{persistent-pty-0nvdzmpy.js → schema-mj63na3k.js} +29 -29
- package/dist/chunks/{persistent-pty-06dxphr1.js → schema-msq0jde0.js} +4 -4
- package/dist/chunks/{persistent-pty-p1rr7jpk.js → schema-mv6nj29r.js} +8 -8
- package/dist/chunks/{persistent-pty-r88en1p6.js → schema-mw1wac3q.js} +4 -4
- package/dist/chunks/{persistent-pty-18yg4hgb.js → schema-myj56f32.js} +2 -2
- package/dist/chunks/{persistent-pty-y0ge2r9f.js → schema-n72fdvhp.js} +2 -2
- package/dist/chunks/{persistent-pty-qt01bjqm.js → schema-nd8dp5pn.js} +9 -9
- package/dist/chunks/{persistent-pty-s96yh66p.js → schema-ndzetbhx.js} +17 -17
- package/dist/chunks/{persistent-pty-k1gkpfdk.js → schema-ngts6ef0.js} +8 -8
- package/dist/chunks/{persistent-pty-xbw6anr4.js → schema-nj67srqg.js} +13 -13
- package/dist/chunks/{persistent-pty-9kzytzbk.js → schema-nnfafz6r.js} +43 -43
- package/dist/chunks/{persistent-pty-kcmy9jxr.js → schema-np5mv9cj.js} +24 -24
- package/dist/chunks/{persistent-pty-jjht5kq7.js → schema-p1h3kwr0.js} +15 -15
- package/dist/chunks/{persistent-pty-ztbsr2q6.js → schema-p4b86tx8.js} +6 -6
- package/dist/chunks/{persistent-pty-fwbhdv10.js → schema-p5y7rtkc.js} +11 -11
- package/dist/chunks/{persistent-pty-ahszpzb1.js → schema-p9fj2hk0.js} +1 -1
- package/dist/chunks/{persistent-pty-br0tr5aq.js → schema-pa8pe2x7.js} +8 -8
- package/dist/chunks/{persistent-pty-akrnn5pm.js → schema-pb1eahw5.js} +8 -8
- package/dist/chunks/{persistent-pty-m5tndwkn.js → schema-pfjre90x.js} +20 -20
- package/dist/chunks/{persistent-pty-2rwww3fn.js → schema-pfm3fg2c.js} +3 -3
- package/dist/chunks/{persistent-pty-pjvnvgmy.js → schema-pjvnvgmy.js} +1 -1
- package/dist/chunks/{persistent-pty-jexxy024.js → schema-pk2244jm.js} +3 -3
- package/dist/chunks/{persistent-pty-pknna89w.js → schema-pknna89w.js} +1 -1
- package/dist/chunks/{persistent-pty-b5ew5r0t.js → schema-pn6t2syx.js} +137 -137
- package/dist/chunks/{persistent-pty-yz5gadm7.js → schema-pnp2s8b6.js} +68 -68
- package/dist/chunks/{persistent-pty-bz85s9hh.js → schema-pstg3rfm.js} +1 -1
- package/dist/chunks/{persistent-pty-qcyhmmbj.js → schema-q0k0nrg7.js} +36 -36
- package/dist/chunks/schema-qc068m1q.js +18 -0
- package/dist/chunks/{persistent-pty-6nagbv76.js → schema-qe3gtrvm.js} +8 -8
- package/dist/chunks/{persistent-pty-2k8khapm.js → schema-qgn6gcr1.js} +5 -5
- package/dist/chunks/{persistent-pty-qsdy395h.js → schema-qsdy395h.js} +1 -1
- package/dist/chunks/{persistent-pty-g06jb19y.js → schema-qvs1q9w1.js} +7 -7
- package/dist/chunks/{persistent-pty-5vmxkdvd.js → schema-qvxswqn3.js} +11 -11
- package/dist/chunks/{persistent-pty-rdw6cm16.js → schema-rdw6cm16.js} +1 -1
- package/dist/chunks/{persistent-pty-eaj1djv9.js → schema-rhjbct0v.js} +8 -8
- package/dist/chunks/{persistent-pty-k6w2t1ya.js → schema-rhzwv3vg.js} +4 -4
- package/dist/chunks/{persistent-pty-xtv69tq4.js → schema-rkga6wtf.js} +5 -5
- package/dist/chunks/{persistent-pty-0f1em0ez.js → schema-rm76s9kk.js} +9 -9
- package/dist/chunks/{persistent-pty-623746t2.js → schema-rr1sj5ze.js} +13 -13
- package/dist/chunks/{persistent-pty-a4bygxwv.js → schema-s9g9krtc.js} +25 -25
- package/dist/chunks/{persistent-pty-xkf2rpbc.js → schema-sb54ykdv.js} +32 -32
- package/dist/chunks/{persistent-pty-9y5n8jnt.js → schema-sbenfaxa.js} +19 -19
- package/dist/chunks/{persistent-pty-ybhbtxjg.js → schema-sc186k9x.js} +6 -6
- package/dist/chunks/{persistent-pty-7vnscw7e.js → schema-sprf7069.js} +24 -24
- package/dist/chunks/{persistent-pty-0y4tsv4g.js → schema-stctxq11.js} +1 -1
- package/dist/chunks/{persistent-pty-rpbhrmr0.js → schema-sv7g1snr.js} +8 -8
- package/dist/chunks/{persistent-pty-r72bb3g5.js → schema-svvemcs6.js} +5 -5
- package/dist/chunks/{persistent-pty-7x79k76q.js → schema-sy1jr3z7.js} +30 -30
- package/dist/chunks/{persistent-pty-cjzmr2wc.js → schema-t1bqjk22.js} +44 -44
- package/dist/chunks/{persistent-pty-tazgh4e4.js → schema-tazgh4e4.js} +1 -1
- package/dist/chunks/{persistent-pty-tcezcvh9.js → schema-tcezcvh9.js} +1 -1
- package/dist/chunks/{persistent-pty-tdstcens.js → schema-tdstcens.js} +1 -1
- package/dist/chunks/{persistent-pty-em0daefh.js → schema-tew4rwd7.js} +15 -15
- package/dist/chunks/{persistent-pty-t3e2pjga.js → schema-tqae5094.js} +3 -3
- package/dist/chunks/{persistent-pty-tvtrv512.js → schema-tvtrv512.js} +1 -1
- package/dist/chunks/{persistent-pty-xe4w135j.js → schema-twt11qtz.js} +9 -9
- package/dist/chunks/{persistent-pty-sdc2ahzz.js → schema-tyahera8.js} +24 -24
- package/dist/chunks/{persistent-pty-2gbsvbx5.js → schema-v0ex13be.js} +12 -12
- package/dist/chunks/{persistent-pty-pg3cx23y.js → schema-v23ay7fj.js} +13 -13
- package/dist/chunks/{persistent-pty-qbrsjjg8.js → schema-v96zbsm4.js} +19 -19
- package/dist/chunks/{persistent-pty-veqvce7d.js → schema-veqvce7d.js} +1 -1
- package/dist/chunks/{persistent-pty-yn8wfmf6.js → schema-vgmzrbt3.js} +23 -23
- package/dist/chunks/schema-vnzrfeqa.js +26 -0
- package/dist/chunks/{persistent-pty-vzcthcp8.js → schema-vzcthcp8.js} +1 -1
- package/dist/chunks/{persistent-pty-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
- package/dist/chunks/{persistent-pty-9ex8f1cq.js → schema-w3x9v1nk.js} +8 -8
- package/dist/chunks/{persistent-pty-19e86vrr.js → schema-w4hnw4p2.js} +32 -32
- package/dist/chunks/{persistent-pty-jaqtfry5.js → schema-w7xsq20c.js} +18 -18
- package/dist/chunks/{persistent-pty-wd87259q.js → schema-wd87259q.js} +1 -1
- package/dist/chunks/{persistent-pty-9zmt1vx9.js → schema-wkhem9xk.js} +33 -33
- package/dist/chunks/{persistent-pty-jqczgfd0.js → schema-wn3hqp9d.js} +43 -43
- package/dist/chunks/{persistent-pty-mdtxnk3g.js → schema-wnzd5x6z.js} +17 -17
- package/dist/chunks/{persistent-pty-43v53x48.js → schema-wsk3qemq.js} +14 -14
- package/dist/chunks/{persistent-pty-x1ezjp6w.js → schema-x1ezjp6w.js} +1 -1
- package/dist/chunks/{persistent-pty-1c6r0v3g.js → schema-x806t7sw.js} +15 -15
- package/dist/chunks/{persistent-pty-rtathh62.js → schema-xbrnje9f.js} +8 -8
- package/dist/chunks/{persistent-pty-44ke2mar.js → schema-xfdrc2qg.js} +4 -4
- package/dist/chunks/{persistent-pty-j92nbs9r.js → schema-xjqr407x.js} +16 -16
- package/dist/chunks/{persistent-pty-re6b68jt.js → schema-xk0yw0s7.js} +9 -9
- package/dist/chunks/{persistent-pty-gq0aze3h.js → schema-xrg66tk8.js} +22 -22
- package/dist/chunks/{persistent-pty-58b33b18.js → schema-xs0kh3zs.js} +9 -9
- package/dist/chunks/{persistent-pty-y1fvbwt7.js → schema-y1fvbwt7.js} +1 -1
- package/dist/chunks/{persistent-pty-dxhjx9yt.js → schema-y246tq9k.js} +18 -18
- package/dist/chunks/{persistent-pty-4bm5ja14.js → schema-y6mhz57t.js} +4 -4
- package/dist/chunks/{persistent-pty-hp1gy4dq.js → schema-y6q6zf37.js} +28 -28
- package/dist/chunks/{persistent-pty-5yp8twyc.js → schema-y71g7smx.js} +31 -31
- package/dist/chunks/{persistent-pty-43vp44v8.js → schema-y76rrb5c.js} +43 -43
- package/dist/chunks/{persistent-pty-sckksdt6.js → schema-y9azjxwp.js} +25 -25
- package/dist/chunks/{persistent-pty-fxyabwbq.js → schema-yca3ft21.js} +6 -6
- package/dist/chunks/{persistent-pty-8p23sgx2.js → schema-ydat8bwa.js} +26 -26
- package/dist/chunks/{persistent-pty-md1q8d4s.js → schema-ykjwg2je.js} +17 -17
- package/dist/chunks/{persistent-pty-hds23wzw.js → schema-ymbz5575.js} +17 -17
- package/dist/chunks/{persistent-pty-4scff3yx.js → schema-yp2xj7p9.js} +90 -90
- package/dist/chunks/{persistent-pty-yrhqyw5v.js → schema-yrhqyw5v.js} +1 -1
- package/dist/chunks/{persistent-pty-yrznvahk.js → schema-yrznvahk.js} +2 -2
- package/dist/chunks/{persistent-pty-ryn2s76s.js → schema-yx860a03.js} +25 -25
- package/dist/chunks/{persistent-pty-k8drj7r5.js → schema-yz7nz4q8.js} +10 -10
- package/dist/chunks/{persistent-pty-z0bkrqjs.js → schema-z0bkrqjs.js} +1 -1
- package/dist/chunks/{persistent-pty-tj531n0d.js → schema-z2eqq79g.js} +22 -22
- package/dist/chunks/{persistent-pty-rbakn429.js → schema-z3njypsy.js} +14 -14
- package/dist/chunks/{persistent-pty-z63w68vq.js → schema-z63w68vq.js} +2 -2
- package/dist/chunks/{persistent-pty-rma8wxqr.js → schema-z7m6ynqn.js} +17 -17
- package/dist/chunks/{persistent-pty-476xsedq.js → schema-zahct80t.js} +10 -10
- package/dist/chunks/{persistent-pty-afdssyjb.js → schema-zav06jzw.js} +4 -4
- package/dist/chunks/{persistent-pty-zeh9ct20.js → schema-zeh9ct20.js} +2 -2
- package/dist/chunks/{persistent-pty-edjqbjbz.js → schema-zpby3q09.js} +3 -3
- package/dist/chunks/{persistent-pty-zr2ceqn5.js → schema-zr2ceqn5.js} +1 -1
- package/dist/chunks/{persistent-pty-mg83pbjr.js → schema-zrj78jzj.js} +6 -6
- package/dist/chunks/{persistent-pty-edcwcjj7.js → schema-zv1y5e3h.js} +16 -16
- package/dist/chunks/{persistent-pty-zxq2ej10.js → schema-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +123 -123
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +80 -80
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +366 -366
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +92 -92
- 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 +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- 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 +226 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +103 -103
- package/dist/form.js +77 -77
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +104 -104
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +90 -90
- 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 +357 -357
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +81 -81
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +354 -354
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +95 -95
- package/dist/models-dev.js +100 -100
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- 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 +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +328 -328
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +119 -119
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +73 -73
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +345 -345
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +228 -228
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +94 -94
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- 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 +220 -220
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +123 -123
- 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 +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- 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 +15 -15
- package/dist/shell.js +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +92 -92
- 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 +124 -124
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +117 -117
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +216 -216
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/persistent-pty-0mesazry.js +0 -4
- package/dist/chunks/persistent-pty-btx52nm0.js +0 -478
- package/dist/chunks/persistent-pty-dxj72tfx.js +0 -18
- package/dist/chunks/persistent-pty-gsphepnq.js +0 -26
- package/dist/chunks/persistent-pty-nvh8apkc.js +0 -252
- /package/dist/chunks/{persistent-pty-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{persistent-pty-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
- /package/dist/chunks/{persistent-pty-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
- /package/dist/chunks/{persistent-pty-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
- /package/dist/chunks/{persistent-pty-1kg9ymc8.js → schema-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{persistent-pty-24dcb14g.js → schema-24dcb14g.js} +0 -0
- /package/dist/chunks/{persistent-pty-2710q6r3.js → schema-2710q6r3.js} +0 -0
- /package/dist/chunks/{persistent-pty-2axfhc9x.js → schema-2axfhc9x.js} +0 -0
- /package/dist/chunks/{persistent-pty-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{persistent-pty-359p4xyc.js → schema-359p4xyc.js} +0 -0
- /package/dist/chunks/{persistent-pty-3asan66x.js → schema-3asan66x.js} +0 -0
- /package/dist/chunks/{persistent-pty-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
- /package/dist/chunks/{persistent-pty-3w5fmr99.js → schema-3w5fmr99.js} +0 -0
- /package/dist/chunks/{persistent-pty-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
- /package/dist/chunks/{persistent-pty-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
- /package/dist/chunks/{persistent-pty-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
- /package/dist/chunks/{persistent-pty-4vcrnpx2.js → schema-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{persistent-pty-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
- /package/dist/chunks/{persistent-pty-53557ph1.js → schema-53557ph1.js} +0 -0
- /package/dist/chunks/{persistent-pty-550bvhaj.js → schema-550bvhaj.js} +0 -0
- /package/dist/chunks/{persistent-pty-5qd3pb7m.js → schema-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{persistent-pty-6prwharc.js → schema-6prwharc.js} +0 -0
- /package/dist/chunks/{persistent-pty-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
- /package/dist/chunks/{persistent-pty-7m9af43g.js → schema-7m9af43g.js} +0 -0
- /package/dist/chunks/{persistent-pty-822emrt2.js → schema-822emrt2.js} +0 -0
- /package/dist/chunks/{persistent-pty-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-8n3pysct.js → schema-8n3pysct.js} +0 -0
- /package/dist/chunks/{persistent-pty-922hggd3.js → schema-922hggd3.js} +0 -0
- /package/dist/chunks/{persistent-pty-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
- /package/dist/chunks/{persistent-pty-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{persistent-pty-a6k6eb26.js → schema-a6k6eb26.js} +0 -0
- /package/dist/chunks/{persistent-pty-af5trqkr.js → schema-af5trqkr.js} +0 -0
- /package/dist/chunks/{persistent-pty-afrmfg78.js → schema-afrmfg78.js} +0 -0
- /package/dist/chunks/{persistent-pty-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{persistent-pty-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
- /package/dist/chunks/{persistent-pty-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{persistent-pty-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
- /package/dist/chunks/{persistent-pty-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9fn303g.js → schema-d9fn303g.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{persistent-pty-dajrwvna.js → schema-dajrwvna.js} +0 -0
- /package/dist/chunks/{persistent-pty-dap0rakb.js → schema-dap0rakb.js} +0 -0
- /package/dist/chunks/{persistent-pty-df08tz66.js → schema-df08tz66.js} +0 -0
- /package/dist/chunks/{persistent-pty-dy18nga0.js → schema-dy18nga0.js} +0 -0
- /package/dist/chunks/{persistent-pty-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
- /package/dist/chunks/{persistent-pty-e73j6tqm.js → schema-e73j6tqm.js} +0 -0
- /package/dist/chunks/{persistent-pty-ec1grn59.js → schema-ec1grn59.js} +0 -0
- /package/dist/chunks/{persistent-pty-eh3zwz77.js → schema-eh3zwz77.js} +0 -0
- /package/dist/chunks/{persistent-pty-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
- /package/dist/chunks/{persistent-pty-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
- /package/dist/chunks/{persistent-pty-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{persistent-pty-faypxj3z.js → schema-faypxj3z.js} +0 -0
- /package/dist/chunks/{persistent-pty-fd410y7t.js → schema-fd410y7t.js} +0 -0
- /package/dist/chunks/{persistent-pty-fxgpk5d8.js → schema-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{persistent-pty-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
- /package/dist/chunks/{persistent-pty-g86h250q.js → schema-g86h250q.js} +0 -0
- /package/dist/chunks/{persistent-pty-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
- /package/dist/chunks/{persistent-pty-gftt206x.js → schema-gftt206x.js} +0 -0
- /package/dist/chunks/{persistent-pty-hjbc5kem.js → schema-hjbc5kem.js} +0 -0
- /package/dist/chunks/{persistent-pty-hk9envan.js → schema-hk9envan.js} +0 -0
- /package/dist/chunks/{persistent-pty-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
- /package/dist/chunks/{persistent-pty-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{persistent-pty-jjkms2e6.js → schema-jjkms2e6.js} +0 -0
- /package/dist/chunks/{persistent-pty-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{persistent-pty-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{persistent-pty-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{persistent-pty-mp448xyj.js → schema-mp448xyj.js} +0 -0
- /package/dist/chunks/{persistent-pty-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
- /package/dist/chunks/{persistent-pty-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
- /package/dist/chunks/{persistent-pty-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
- /package/dist/chunks/{persistent-pty-njntx4h6.js → schema-njntx4h6.js} +0 -0
- /package/dist/chunks/{persistent-pty-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
- /package/dist/chunks/{persistent-pty-q74kybfr.js → schema-q74kybfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-qaymkmh1.js → schema-qaymkmh1.js} +0 -0
- /package/dist/chunks/{persistent-pty-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
- /package/dist/chunks/{persistent-pty-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
- /package/dist/chunks/{persistent-pty-qg3g05ea.js → schema-qg3g05ea.js} +0 -0
- /package/dist/chunks/{persistent-pty-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
- /package/dist/chunks/{persistent-pty-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{persistent-pty-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{persistent-pty-sk3qaz4a.js → schema-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{persistent-pty-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
- /package/dist/chunks/{persistent-pty-twg0f83k.js → schema-twg0f83k.js} +0 -0
- /package/dist/chunks/{persistent-pty-w803qqfp.js → schema-w803qqfp.js} +0 -0
- /package/dist/chunks/{persistent-pty-wc3fc9cn.js → schema-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{persistent-pty-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
- /package/dist/chunks/{persistent-pty-wtztk69x.js → schema-wtztk69x.js} +0 -0
- /package/dist/chunks/{persistent-pty-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
- /package/dist/chunks/{persistent-pty-x61499pn.js → schema-x61499pn.js} +0 -0
- /package/dist/chunks/{persistent-pty-y44na4kk.js → schema-y44na4kk.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8cydn3q.js → schema-y8cydn3q.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8f7s663.js → schema-y8f7s663.js} +0 -0
- /package/dist/chunks/{persistent-pty-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{persistent-pty-ym463w8f.js → schema-ym463w8f.js} +0 -0
- /package/dist/chunks/{persistent-pty-z9919s4g.js → schema-z9919s4g.js} +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-tvtrv512.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-rdw6cm16.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./schema-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool-output.ts
|
|
15
15
|
var exports_tool_output2 = {};
|
|
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
|
|
|
18
18
|
MAX_BYTES: () => MAX_BYTES2,
|
|
19
19
|
MAX_LINES: () => MAX_LINES2,
|
|
20
20
|
RETENTION: () => RETENTION3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service63,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node66
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
|
|
|
32
32
|
var RETENTION3 = Duration.days(7);
|
|
33
33
|
var DIRECTORY3 = "tool-output";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service63 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
122
122
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
123
123
|
};
|
|
124
124
|
});
|
|
125
|
-
return
|
|
125
|
+
return Service63.of({
|
|
126
126
|
transform: state.transform,
|
|
127
127
|
reload: state.reload,
|
|
128
128
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node66 = makeLocationNode({
|
|
143
|
+
service: Service63,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service63, node66, exports_tool_output2 };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./schema-wsk3qemq.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service45
|
|
9
|
+
} from "./schema-nnfafz6r.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./schema-sprf7069.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./schema-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./schema-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/reference.ts
|
|
22
22
|
var exports_reference = {};
|
|
23
23
|
__export(exports_reference, {
|
|
24
24
|
ConfigReferencePlugin: () => exports_reference,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin15
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin15 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
35
|
-
const location = yield*
|
|
34
|
+
const config = yield* Service45;
|
|
35
|
+
const location = yield* Service79;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
38
38
|
yield* ctx.reference.transform((editor) => {
|
|
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
|
|
|
72
72
|
return path.isAbsolute(value) ? value : path.resolve(directory, value);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export {
|
|
75
|
+
export { Plugin15, exports_reference };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./schema-9yn6v7ct.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./schema-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./schema-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
13
|
var exports_agent4 = {};
|
|
@@ -15,12 +15,12 @@ __export(exports_agent4, {
|
|
|
15
15
|
Agent: () => exports_agent4,
|
|
16
16
|
Color: () => Color2,
|
|
17
17
|
Event: () => Event14,
|
|
18
|
-
ID: () =>
|
|
19
|
-
Info: () =>
|
|
18
|
+
ID: () => ID9,
|
|
19
|
+
Info: () => Info23,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service64,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node67
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -30,15 +30,15 @@ import { Global } from "@opencode/util/global";
|
|
|
30
30
|
import { Event as Event14 } from "@opencode/schema/agent";
|
|
31
31
|
var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
|
|
32
32
|
var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
|
|
33
|
-
var
|
|
33
|
+
var ID9 = Agent.ID;
|
|
34
34
|
var Name3 = Agent.Name;
|
|
35
|
-
var defaultID2 =
|
|
35
|
+
var defaultID2 = ID9.make("build");
|
|
36
36
|
var Color2 = Agent.Color;
|
|
37
|
-
var
|
|
37
|
+
var Info23 = Agent.Info;
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service64 extends Context.Service()("@opencode/Agent") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
42
42
|
const bus = yield* Service82;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const permissions = [
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
57
57
|
editor.default = id;
|
|
58
58
|
},
|
|
59
59
|
update: (id, fn) => {
|
|
60
|
-
const defaults =
|
|
60
|
+
const defaults = Info23.default(id);
|
|
61
61
|
const current = editor.agents.get(id) ?? {
|
|
62
62
|
...defaults,
|
|
63
63
|
permissions: [...defaults.permissions, ...permissions]
|
|
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
79
79
|
const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
|
|
80
80
|
if (configured)
|
|
81
81
|
return configured;
|
|
82
|
-
const build = selectable(data.agents.get(
|
|
82
|
+
const build = selectable(data.agents.get(ID9.make("build")));
|
|
83
83
|
if (build)
|
|
84
84
|
return build;
|
|
85
85
|
for (const agent of data.agents.values()) {
|
|
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
88
88
|
return fallback;
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
|
-
return
|
|
91
|
+
return Service64.of({
|
|
92
92
|
transform: state.transform,
|
|
93
93
|
reload: state.reload,
|
|
94
94
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
96
96
|
}),
|
|
97
97
|
resolve: Effect.fnUntraced(function* (id) {
|
|
98
98
|
if (id !== undefined)
|
|
99
|
-
return state.get().agents.get(
|
|
99
|
+
return state.get().agents.get(ID9.make(id));
|
|
100
100
|
return selectedDefault();
|
|
101
101
|
}),
|
|
102
102
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
103
103
|
if (id !== undefined) {
|
|
104
|
-
const selected =
|
|
104
|
+
const selected = ID9.make(id);
|
|
105
105
|
return { id: selected, info: state.get().agents.get(selected) };
|
|
106
106
|
}
|
|
107
107
|
const info = selectedDefault();
|
|
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
116
116
|
})
|
|
117
117
|
});
|
|
118
118
|
}));
|
|
119
|
-
var
|
|
119
|
+
var node67 = makeLocationNode({ service: Service64, layer, deps: [node86, Global.node] });
|
|
120
120
|
|
|
121
|
-
export {
|
|
121
|
+
export { ID9, Name3, defaultID2, Color2, Info23, Service64, node67, exports_agent4, Event14 };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83,
|
|
6
6
|
node87
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./schema-zpby3q09.js";
|
|
8
8
|
import {
|
|
9
9
|
Service82,
|
|
10
10
|
node86
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./schema-9yn6v7ct.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service81,
|
|
14
|
+
node85
|
|
15
|
+
} from "./schema-74rrnwt7.js";
|
|
16
16
|
import {
|
|
17
17
|
ID18,
|
|
18
18
|
Current3,
|
|
19
19
|
Info34,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event21,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./schema-57ez7d0k.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./schema-dj2t23y0.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./schema-m0jqrx5p.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./schema-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
@@ -40,10 +40,10 @@ __export(exports_project, {
|
|
|
40
40
|
Info: () => Info33,
|
|
41
41
|
NotFoundError: () => NotFoundError11,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service80,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node84,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
71
71
|
}));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service80 extends Context.Service()("@opencode/Project") {
|
|
75
75
|
}
|
|
76
76
|
function fromRow(row) {
|
|
77
77
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -93,9 +93,9 @@ function fromRow(row) {
|
|
|
93
93
|
sandboxes: row.sandboxes
|
|
94
94
|
};
|
|
95
95
|
}
|
|
96
|
-
var layer = Layer.effect(
|
|
96
|
+
var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
97
97
|
const fs = yield* FSUtil.Service;
|
|
98
|
-
const git = yield*
|
|
98
|
+
const git = yield* Service81;
|
|
99
99
|
const proc = yield* AppProcess.Service;
|
|
100
100
|
const bus = yield* Service82;
|
|
101
101
|
const db = (yield* Service83).db;
|
|
@@ -106,7 +106,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
106
106
|
if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
|
|
107
107
|
const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
|
|
108
108
|
if (row)
|
|
109
|
-
yield* bus.publish(
|
|
109
|
+
yield* bus.publish(Event21.Updated, fromRow(row));
|
|
110
110
|
}
|
|
111
111
|
if (!project.vcs)
|
|
112
112
|
return project;
|
|
@@ -168,7 +168,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
168
168
|
if (!row)
|
|
169
169
|
return yield* new NotFoundError11({ projectID: input.projectID });
|
|
170
170
|
const project = fromRow(row);
|
|
171
|
-
yield* bus.publish(
|
|
171
|
+
yield* bus.publish(Event21.Updated, project);
|
|
172
172
|
return project;
|
|
173
173
|
});
|
|
174
174
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
@@ -270,12 +270,12 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
270
270
|
vcs: undefined
|
|
271
271
|
});
|
|
272
272
|
});
|
|
273
|
-
return
|
|
273
|
+
return Service80.of({ list, update, resolve });
|
|
274
274
|
}));
|
|
275
|
-
var
|
|
276
|
-
service:
|
|
275
|
+
var node84 = makeGlobalNode({
|
|
276
|
+
service: Service80,
|
|
277
277
|
layer,
|
|
278
|
-
deps: [node86, node87, FSUtil.node,
|
|
278
|
+
deps: [node86, node87, FSUtil.node, node85, AppProcess.node]
|
|
279
279
|
});
|
|
280
280
|
|
|
281
|
-
export { ID17, Vcs2, Current2, Info33, UpdateInput3, NotFoundError11, root2,
|
|
281
|
+
export { ID17, Vcs2, Current2, Info33, UpdateInput3, NotFoundError11, root2, Service80, node84, exports_project };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Plugin24
|
|
3
|
+
} from "./schema-xbrnje9f.js";
|
|
4
|
+
import {
|
|
5
|
+
Plugin23
|
|
6
|
+
} from "./schema-nd8dp5pn.js";
|
|
7
|
+
import {
|
|
8
|
+
Plugin21
|
|
9
|
+
} from "./schema-fbngn8kj.js";
|
|
10
|
+
import {
|
|
11
|
+
Plugin25
|
|
12
|
+
} from "./schema-mv6nj29r.js";
|
|
13
|
+
import {
|
|
14
|
+
Plugin22
|
|
15
|
+
} from "./schema-xs0kh3zs.js";
|
|
16
|
+
|
|
17
|
+
// src/plugin/websearch/index.ts
|
|
18
|
+
var WebSearchPlugins2 = [
|
|
19
|
+
Plugin24,
|
|
20
|
+
Plugin23,
|
|
21
|
+
Plugin21,
|
|
22
|
+
Plugin25,
|
|
23
|
+
Plugin22
|
|
24
|
+
];
|
|
25
|
+
|
|
26
|
+
export { WebSearchPlugins2 };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./schema-emrn6kk6.js";
|
|
5
5
|
|
|
6
6
|
// src/database/drizzle/sqlite-core/effect/delete.ts
|
|
7
7
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service44,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node47
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service44 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service44, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service44.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service47, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node47 = makeGlobalNode({ service: Service44, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service44, node47, exports_environment };
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service67
|
|
3
|
+
} from "./schema-np5mv9cj.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service16,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./schema-rr1sj5ze.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service26
|
|
11
|
+
} from "./schema-9pjrnwke.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service59
|
|
14
|
+
} from "./schema-kf6dz3d4.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service15
|
|
17
|
+
} from "./schema-m8wp6b1y.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./schema-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./schema-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: () => Input2,
|
|
29
|
+
Output: () => Output2,
|
|
30
|
+
Plugin: () => Plugin35,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name2,
|
|
33
|
+
toModelContent: () => toModelContent2
|
|
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 name2 = "write";
|
|
39
|
+
var Input2 = 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 Output2 = 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 toModelContent2 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin35 = {
|
|
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* Service15;
|
|
56
|
+
const fileMutation = yield* Service16;
|
|
57
|
+
const environment = yield* Service67;
|
|
58
|
+
const formatter = yield* Service26;
|
|
59
|
+
const permission = yield* Service59;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name2,
|
|
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: Input2,
|
|
69
|
+
output: Output2,
|
|
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: toModelContent2(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 { name2, Input2, Output2, toModelContent2, Plugin35, exports_write };
|
|
@@ -1,61 +1,61 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./schema-zpby3q09.js";
|
|
5
5
|
import {
|
|
6
6
|
reserveSequence2,
|
|
7
7
|
Service82,
|
|
8
8
|
node86
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-9yn6v7ct.js";
|
|
10
10
|
import {
|
|
11
11
|
SessionEvent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./schema-ec1grn59.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./schema-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
update2
|
|
18
|
+
} from "./schema-jppvw2tx.js";
|
|
19
19
|
import {
|
|
20
20
|
AbsolutePath2,
|
|
21
21
|
RelativePath2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./schema-922hggd3.js";
|
|
23
23
|
import {
|
|
24
24
|
ProjectTable2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./schema-dj2t23y0.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionTable2,
|
|
28
28
|
SessionMessageTable2,
|
|
29
29
|
SessionInboxTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./schema-5c4hm403.js";
|
|
31
31
|
import {
|
|
32
32
|
projectAdmitted2,
|
|
33
33
|
projectDelivered2,
|
|
34
34
|
projectCancelled2,
|
|
35
35
|
projectDeliveryChanged2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./schema-a51y6ym7.js";
|
|
37
37
|
import {
|
|
38
38
|
apply2,
|
|
39
39
|
initialize3,
|
|
40
40
|
advanceEpoch2,
|
|
41
41
|
reset2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./schema-fab8hzt3.js";
|
|
43
43
|
import {
|
|
44
44
|
initialize2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./schema-73chcb62.js";
|
|
46
46
|
import {
|
|
47
47
|
Slug2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./schema-gebd4c9n.js";
|
|
49
49
|
import {
|
|
50
50
|
__export
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./schema-9rqn6x4v.js";
|
|
52
52
|
|
|
53
53
|
// src/session/projector.ts
|
|
54
54
|
var exports_projector = {};
|
|
55
55
|
__export(exports_projector, {
|
|
56
56
|
SessionAlreadyProjected: () => SessionAlreadyProjected2,
|
|
57
57
|
SessionProjector: () => exports_projector,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node34
|
|
59
59
|
});
|
|
60
60
|
import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
|
|
61
61
|
import { DateTime, Effect, Layer, Schema, Stream } from "effect";
|
|
@@ -246,7 +246,7 @@ function run(db, event) {
|
|
|
246
246
|
updateCompaction: updateMessage,
|
|
247
247
|
appendMessage
|
|
248
248
|
};
|
|
249
|
-
yield*
|
|
249
|
+
yield* update2(adapter, event);
|
|
250
250
|
});
|
|
251
251
|
}
|
|
252
252
|
function insertMessage(db, event, message) {
|
|
@@ -458,6 +458,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
458
458
|
return publishSessionUsage(db, bus, event.data.sessionID);
|
|
459
459
|
}), Effect.forkScoped({ startImmediately: true }));
|
|
460
460
|
}));
|
|
461
|
-
var
|
|
461
|
+
var node34 = makeGlobalNode({ name: "session-projector", layer, deps: [node86, node87] });
|
|
462
462
|
|
|
463
|
-
export { SessionAlreadyProjected2,
|
|
463
|
+
export { SessionAlreadyProjected2, node34, exports_projector };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getViewSelectedFieldsRuntime2,
|
|
3
3
|
orderSelectedFields2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./schema-emrn6kk6.js";
|
|
5
5
|
|
|
6
6
|
// src/database/drizzle/sqlite-core/effect/select.ts
|
|
7
7
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|