@opencode/core 0.0.0-dev-19876 → 0.0.0-dev-19877
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 +82 -82
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{websearch-gcscxdcd.js → app-014xdmgp.js} +26 -26
- package/dist/chunks/{websearch-tkwczmt9.js → app-01s6r663.js} +17 -17
- package/dist/chunks/{websearch-9mtfc2c3.js → app-03matkmd.js} +17 -17
- package/dist/chunks/{websearch-x0smw0ee.js → app-06r2eyqd.js} +4 -4
- package/dist/chunks/{websearch-swe1bhtv.js → app-07can071.js} +24 -24
- package/dist/chunks/{websearch-eaj1djv9.js → app-0gdmqesm.js} +8 -8
- package/dist/chunks/{websearch-m8c6rrn2.js → app-0hr54mt4.js} +33 -33
- package/dist/chunks/{websearch-zbpe8re2.js → app-0j8d1df6.js} +3 -3
- package/dist/chunks/{websearch-0paq2nw3.js → app-0paq2nw3.js} +1 -1
- package/dist/chunks/{websearch-0q0f95c6.js → app-0q0f95c6.js} +1 -1
- package/dist/chunks/{websearch-mdhyv5nc.js → app-0sa6p4t3.js} +11 -11
- package/dist/chunks/{websearch-6c3b8enr.js → app-0tv5m9zy.js} +15 -15
- package/dist/chunks/{websearch-vmwh049b.js → app-11823ez3.js} +9 -9
- package/dist/chunks/{websearch-90p8v5nb.js → app-16rcg4y4.js} +20 -20
- package/dist/chunks/{websearch-bct739vz.js → app-1a6p2twq.js} +4 -4
- package/dist/chunks/{websearch-1dazxqgg.js → app-1dazxqgg.js} +2 -2
- package/dist/chunks/{websearch-x0cggcj0.js → app-1s3za36d.js} +4 -4
- package/dist/chunks/{websearch-grvrvpgq.js → app-1wr3afwe.js} +5 -5
- package/dist/chunks/{websearch-a2mrgm08.js → app-1zcc4bn4.js} +11 -11
- package/dist/chunks/{websearch-th4axz7r.js → app-20dk8r1s.js} +27 -27
- package/dist/chunks/{websearch-z5q5v17b.js → app-20ycjnd3.js} +3 -3
- package/dist/chunks/{websearch-8js6bpd4.js → app-20zx6c52.js} +24 -24
- package/dist/chunks/{websearch-21r38tys.js → app-21r38tys.js} +1 -1
- package/dist/chunks/{websearch-26k5bknw.js → app-26ym7a2d.js} +4 -4
- package/dist/chunks/{websearch-z63w68vq.js → app-29x78va6.js} +6 -6
- package/dist/chunks/{websearch-2a5m3afh.js → app-2a5m3afh.js} +1 -1
- package/dist/chunks/{websearch-h3gw73yd.js → app-2f21k4jq.js} +19 -19
- package/dist/chunks/{websearch-4946q93p.js → app-2fvbvr4z.js} +13 -13
- package/dist/chunks/{websearch-d855x4e9.js → app-2hsx99jb.js} +36 -36
- package/dist/chunks/{websearch-2k8khapm.js → app-2k8khapm.js} +1 -1
- package/dist/chunks/{websearch-4pzrhk0q.js → app-2npqe2nd.js} +35 -35
- package/dist/chunks/{websearch-b97cbvw3.js → app-2pjc63d4.js} +1 -1
- package/dist/chunks/{websearch-k2h4r4s0.js → app-2pnhn36q.js} +21 -21
- package/dist/chunks/{websearch-kehq2phh.js → app-35w9qdzz.js} +9 -9
- package/dist/chunks/app-39c2k6vv.js +26 -0
- package/dist/chunks/{websearch-ym95y3aw.js → app-39dgwvb1.js} +27 -27
- package/dist/chunks/{websearch-r33ff4dw.js → app-3b1q5j1v.js} +6 -6
- package/dist/chunks/{websearch-d4qwrvmk.js → app-3e6x224v.js} +17 -17
- package/dist/chunks/{websearch-3fc6dm20.js → app-3fc6dm20.js} +1 -1
- package/dist/chunks/{websearch-3hepkmqq.js → app-3hepkmqq.js} +1 -1
- package/dist/chunks/{websearch-07pztq71.js → app-3m3qrqke.js} +6 -6
- package/dist/chunks/{websearch-vse1kc94.js → app-3m4ehbcm.js} +10 -10
- package/dist/chunks/{websearch-3smtnn6g.js → app-3smtnn6g.js} +1 -1
- package/dist/chunks/{websearch-3tvqynh2.js → app-3tvqynh2.js} +1 -1
- package/dist/chunks/{websearch-eg8kzc30.js → app-3vaynbq5.js} +3 -3
- package/dist/chunks/{websearch-fbc3f2wc.js → app-44zmf7q8.js} +43 -43
- package/dist/chunks/{websearch-cdme4d64.js → app-49yvn64x.js} +1 -1
- package/dist/chunks/{websearch-0rj2ab4p.js → app-4d4f54qe.js} +42 -42
- package/dist/chunks/app-4v7qdvcn.js +18 -0
- package/dist/chunks/{websearch-0m0tvs7x.js → app-4y9pqhyv.js} +4 -4
- package/dist/chunks/{websearch-zaeb7647.js → app-55y9qcck.js} +8 -8
- package/dist/chunks/{websearch-56gdpj1q.js → app-56gdpj1q.js} +2 -2
- package/dist/chunks/{websearch-zex37ywk.js → app-57e9z27j.js} +8 -8
- package/dist/chunks/{websearch-57ez7d0k.js → app-57ez7d0k.js} +2 -2
- package/dist/chunks/{websearch-zmqdwtas.js → app-57m20ys8.js} +5 -5
- package/dist/chunks/{websearch-a1bz86dw.js → app-5c4hm403.js} +3 -3
- package/dist/chunks/{websearch-5daktx2q.js → app-5daktx2q.js} +1 -1
- package/dist/chunks/{websearch-h6hkyq0z.js → app-5mj83k5s.js} +11 -11
- package/dist/chunks/{websearch-vmgq4x8b.js → app-5nb2d01r.js} +2 -2
- package/dist/chunks/{websearch-5t3nmthw.js → app-5t3nmthw.js} +2 -2
- package/dist/chunks/{websearch-8cn9axm6.js → app-5v8q48de.js} +29 -29
- package/dist/chunks/{websearch-p5a2ffdn.js → app-5vt9esmq.js} +20 -20
- package/dist/chunks/{websearch-669tq793.js → app-669tq793.js} +1 -1
- package/dist/chunks/{websearch-63asdtk1.js → app-688dcwrg.js} +11 -11
- package/dist/chunks/{websearch-922qjc4n.js → app-68zcn1pn.js} +5 -5
- package/dist/chunks/{websearch-1fn7qv1v.js → app-6c2r5v8w.js} +4 -4
- package/dist/chunks/{websearch-2402vzrj.js → app-6h73sxmp.js} +5 -5
- package/dist/chunks/{websearch-6msgmcgs.js → app-6msgmcgs.js} +1 -1
- package/dist/chunks/{websearch-zqgjwv2v.js → app-6nshdwd7.js} +27 -27
- package/dist/chunks/{websearch-w9v7qmey.js → app-6r8xth9q.js} +11 -11
- package/dist/chunks/{websearch-gbdr24b9.js → app-709xpvx9.js} +12 -12
- package/dist/chunks/{websearch-4wtw1vks.js → app-711sgqvm.js} +9 -9
- package/dist/chunks/{websearch-thjxzeng.js → app-79mnhcfn.js} +8 -8
- package/dist/chunks/{websearch-s5dqpbma.js → app-7b4r5at6.js} +15 -15
- package/dist/chunks/{websearch-7bmhse3q.js → app-7bmhse3q.js} +1 -1
- package/dist/chunks/{websearch-sgmz29zg.js → app-7ekr1ah4.js} +25 -25
- package/dist/chunks/{websearch-r7r57zxe.js → app-7ghxp6dc.js} +11 -11
- package/dist/chunks/{websearch-p44d8wdy.js → app-7gvwkz6m.js} +5 -5
- package/dist/chunks/{websearch-1f39afds.js → app-7hnsdr40.js} +16 -16
- package/dist/chunks/{websearch-aq93d8cp.js → app-7hwc72pw.js} +42 -42
- package/dist/chunks/{websearch-5ft3mfbx.js → app-7ka5mwj0.js} +24 -24
- package/dist/chunks/{websearch-daq0svh3.js → app-7mvfcvez.js} +24 -24
- package/dist/chunks/{websearch-f6pycvcz.js → app-7vneq8n3.js} +10 -10
- package/dist/chunks/{websearch-qe2k48wn.js → app-7w8wfers.js} +22 -22
- package/dist/chunks/{websearch-mm0yswqq.js → app-7x1nw6gz.js} +9 -9
- package/dist/chunks/{websearch-fqc582ks.js → app-876jnmkn.js} +22 -22
- package/dist/chunks/{websearch-3tapbz30.js → app-88yxd0gw.js} +49 -49
- package/dist/chunks/{websearch-tcezcvh9.js → app-89znhe33.js} +4 -4
- package/dist/chunks/{websearch-8d7r5vzw.js → app-8d7r5vzw.js} +1 -1
- package/dist/chunks/{websearch-xn9t0c4p.js → app-8j10kyg7.js} +11 -11
- package/dist/chunks/{websearch-zt1xfrkw.js → app-8kefq0e4.js} +29 -29
- package/dist/chunks/{websearch-mp6d0dty.js → app-8n69n882.js} +8 -8
- package/dist/chunks/{websearch-nzzdkq0m.js → app-8trhq89n.js} +4 -4
- package/dist/chunks/{websearch-cmwkp3r5.js → app-8v6pyhej.js} +8 -8
- package/dist/chunks/{websearch-vwefnm96.js → app-915nf07v.js} +11 -11
- package/dist/chunks/{websearch-e9ftvw34.js → app-9jn97mr4.js} +10 -10
- package/dist/chunks/{websearch-k8tk1d59.js → app-9n0txh3w.js} +32 -32
- package/dist/chunks/{websearch-3vfws0k7.js → app-9pe371ph.js} +12 -12
- package/dist/chunks/{websearch-aaet6srn.js → app-aaet6srn.js} +2 -2
- package/dist/chunks/{websearch-bh4w6j9p.js → app-abfe342y.js} +3 -3
- package/dist/chunks/{websearch-0hs9h1h1.js → app-aky1hhm0.js} +28 -28
- package/dist/chunks/{websearch-9c9zbnn4.js → app-arndb05z.js} +5 -5
- package/dist/chunks/{websearch-cvc264at.js → app-aswv42tr.js} +11 -11
- package/dist/chunks/{websearch-v5dkyp31.js → app-axtvtek4.js} +7 -7
- package/dist/chunks/{websearch-x5yneds9.js → app-azynnvek.js} +62 -62
- package/dist/chunks/{websearch-b6gygkdw.js → app-b6gygkdw.js} +2 -2
- package/dist/chunks/{websearch-v4bswmvz.js → app-b6mrn51r.js} +11 -11
- package/dist/chunks/{websearch-fpvxm61y.js → app-bawrj3b9.js} +2 -2
- package/dist/chunks/{websearch-t50kpa8e.js → app-bd9kkww0.js} +18 -18
- package/dist/chunks/{websearch-2y34zzjz.js → app-bdqrk2vk.js} +4 -4
- package/dist/chunks/{websearch-qy8x2pcr.js → app-bdwsy2v9.js} +4 -4
- package/dist/chunks/{websearch-022zszfk.js → app-bg2gq5qa.js} +4 -4
- package/dist/chunks/{websearch-qhz7g1hs.js → app-bvfp0cee.js} +26 -26
- package/dist/chunks/{websearch-rbcnc587.js → app-bw1ynhc4.js} +15 -15
- package/dist/chunks/{websearch-g47s2x9k.js → app-c1ef6zpr.js} +3 -3
- package/dist/chunks/{websearch-rpv0dpgd.js → app-c2k60acp.js} +17 -17
- package/dist/chunks/{websearch-phqyvzn3.js → app-c38jyzps.js} +8 -8
- package/dist/chunks/{websearch-am1fxjt6.js → app-csxzn776.js} +16 -16
- package/dist/chunks/{websearch-24r4tnx8.js → app-cxgg6zzr.js} +9 -9
- package/dist/chunks/{websearch-zg60pe4d.js → app-cz4gxkeh.js} +47 -47
- package/dist/chunks/{websearch-73d1g9dn.js → app-d0kf8th3.js} +11 -11
- package/dist/chunks/{websearch-32fc7y0z.js → app-d0zj62h6.js} +16 -16
- package/dist/chunks/{websearch-cvbty185.js → app-d4awevab.js} +9 -9
- package/dist/chunks/{websearch-c765mh8b.js → app-d4he2qe1.js} +9 -9
- package/dist/chunks/{websearch-s33pa8x7.js → app-d78xx6qz.js} +23 -23
- package/dist/chunks/{websearch-3259xwv7.js → app-d7fy9tms.js} +29 -29
- package/dist/chunks/{websearch-thehb6w6.js → app-d883tjw7.js} +18 -18
- package/dist/chunks/{websearch-7p5004hk.js → app-d9ytdjw8.js} +25 -25
- package/dist/chunks/{websearch-jvf3yq6v.js → app-ddt2bs9e.js} +4 -4
- package/dist/chunks/{websearch-8p4f9s12.js → app-dj2t23y0.js} +2 -2
- package/dist/chunks/{websearch-s33rtr2z.js → app-dpfenvj7.js} +6 -6
- package/dist/chunks/{websearch-drwq78ky.js → app-drwq78ky.js} +1 -1
- package/dist/chunks/{websearch-6gjv58vr.js → app-dsqt3g70.js} +4 -4
- package/dist/chunks/{websearch-wvjkps9p.js → app-dw1nbz2e.js} +10 -10
- package/dist/chunks/{websearch-1342j4sv.js → app-e14sp09f.js} +7 -7
- package/dist/chunks/{websearch-5qd3pb7m.js → app-e3qxr5gk.js} +2 -2
- package/dist/chunks/{websearch-44h5tttr.js → app-ebe9bak5.js} +4 -4
- package/dist/chunks/{websearch-ef5x83kb.js → app-ef5x83kb.js} +1 -1
- package/dist/chunks/{websearch-erw5rpbs.js → app-erw5rpbs.js} +2 -2
- package/dist/chunks/{websearch-etq0c3wd.js → app-etq0c3wd.js} +1 -1
- package/dist/chunks/{websearch-jvghx0bs.js → app-f5js084j.js} +15 -15
- package/dist/chunks/{websearch-g9vrwn0g.js → app-f6h44vt5.js} +6 -6
- package/dist/chunks/{websearch-vk7r0sdx.js → app-f8wvxc75.js} +9 -9
- package/dist/chunks/{websearch-h9kjb0ve.js → app-fab6kdz8.js} +26 -26
- package/dist/chunks/{websearch-wn80v95j.js → app-fdaj3cxn.js} +33 -33
- package/dist/chunks/{websearch-jrntgg2b.js → app-fpxm7379.js} +3 -3
- package/dist/chunks/{websearch-fxbjtjnd.js → app-fxbjtjnd.js} +1 -1
- package/dist/chunks/{websearch-1qrhy71f.js → app-g2qchbvm.js} +9 -9
- package/dist/chunks/{websearch-75mzrq4c.js → app-g5zpxqd5.js} +47 -47
- package/dist/chunks/{websearch-mmmhkb6c.js → app-g6ckadgp.js} +19 -19
- package/dist/chunks/{websearch-wxz7n9j6.js → app-gcq2fxm3.js} +23 -23
- package/dist/chunks/{websearch-gd4qta3r.js → app-gd4qta3r.js} +1 -1
- package/dist/chunks/{websearch-h5v9867y.js → app-gfpj78pk.js} +4 -4
- package/dist/chunks/{websearch-vtpvbejg.js → app-gh58188p.js} +16 -16
- package/dist/chunks/{websearch-wjcyvsj3.js → app-grfgd9mf.js} +30 -30
- package/dist/chunks/{websearch-6jz0pjc8.js → app-gs5memm2.js} +10 -10
- package/dist/chunks/{websearch-gv6a8nnw.js → app-gv6a8nnw.js} +2 -2
- package/dist/chunks/{websearch-9ymbn572.js → app-h2tx7zx9.js} +20 -20
- package/dist/chunks/{websearch-x2d9qy7d.js → app-h4z1mxff.js} +5 -5
- package/dist/chunks/{websearch-h1wac2e3.js → app-h5gvbxth.js} +13 -13
- package/dist/chunks/{websearch-jva4mgym.js → app-h6jr292a.js} +4 -4
- package/dist/chunks/{websearch-h6vf3j39.js → app-h6vf3j39.js} +1 -1
- package/dist/chunks/{websearch-wbkyxrgf.js → app-hcz3zddy.js} +5 -5
- package/dist/chunks/{websearch-f828m53h.js → app-hdnk95c8.js} +2 -2
- package/dist/chunks/{websearch-j56e64zr.js → app-j56e64zr.js} +1 -1
- package/dist/chunks/{websearch-6b87tbfq.js → app-japfypf2.js} +311 -311
- package/dist/chunks/{websearch-3ewed21c.js → app-jewzahs7.js} +4 -4
- package/dist/chunks/{websearch-p2jtg5hv.js → app-jnmfw45r.js} +11 -11
- package/dist/chunks/{websearch-a4jd9ae5.js → app-jpqzn5nx.js} +37 -37
- package/dist/chunks/{websearch-ef4dvjn2.js → app-jw57wrad.js} +13 -13
- package/dist/chunks/{websearch-0v4g7ykw.js → app-jzz4kwyh.js} +4 -4
- package/dist/chunks/{websearch-f1w75fms.js → app-k27386pf.js} +27 -27
- package/dist/chunks/{websearch-k3c624dm.js → app-k3c624dm.js} +3 -3
- package/dist/chunks/{websearch-y6e67daz.js → app-kfpfq9wx.js} +22 -22
- package/dist/chunks/{websearch-fkjmw100.js → app-knb7evpn.js} +6 -6
- package/dist/chunks/{websearch-xa0k5bz6.js → app-kytjdcrv.js} +61 -61
- package/dist/chunks/{websearch-cfpkc3c9.js → app-m0jqrx5p.js} +2 -2
- package/dist/chunks/{websearch-nq7qbqzc.js → app-m2d0j7c0.js} +9 -9
- package/dist/chunks/{websearch-m3fdjcah.js → app-m3fdjcah.js} +1 -1
- package/dist/chunks/{websearch-jmvta0xh.js → app-m3pgw4q9.js} +25 -25
- package/dist/chunks/{websearch-40qeew11.js → app-m85z7vph.js} +11 -11
- package/dist/chunks/{websearch-m9w0rfyh.js → app-m9w0rfyh.js} +1 -1
- package/dist/chunks/{websearch-bzqynpg4.js → app-mm16ex40.js} +9 -9
- package/dist/chunks/{websearch-tn5xbw6a.js → app-nk1wytkm.js} +30 -30
- package/dist/chunks/{websearch-yq75gvbk.js → app-nm3p96rh.js} +23 -23
- package/dist/chunks/{websearch-6n88yxkj.js → app-nm6tfe9e.js} +11 -11
- package/dist/chunks/{websearch-tbz0fdvh.js → app-p28j5sbe.js} +5 -5
- package/dist/chunks/{websearch-b0nyhm6x.js → app-p29sx5d2.js} +17 -17
- package/dist/chunks/{websearch-nfrvzg0m.js → app-p33jdkfk.js} +4 -4
- package/dist/chunks/{websearch-hwe7x4em.js → app-p7a39gy5.js} +6 -6
- package/dist/chunks/{websearch-pjvnvgmy.js → app-pjvnvgmy.js} +1 -1
- package/dist/chunks/{websearch-pknna89w.js → app-pknna89w.js} +1 -1
- package/dist/chunks/{websearch-sr3q8be1.js → app-png4bzvj.js} +25 -25
- package/dist/chunks/{websearch-snca356v.js → app-pps41de9.js} +10 -10
- package/dist/chunks/{websearch-v4m12608.js → app-ps5kdaeb.js} +32 -32
- package/dist/chunks/{websearch-5jz4t8qk.js → app-psst68c8.js} +32 -32
- package/dist/chunks/{websearch-0fp5f3pp.js → app-q4gtzsax.js} +28 -28
- package/dist/chunks/{websearch-7z9tkqw1.js → app-qbkt3cqr.js} +14 -14
- package/dist/chunks/{websearch-a0z3rh9n.js → app-qfdknrj4.js} +3 -3
- package/dist/chunks/{websearch-x4q76t5m.js → app-qmznc2j1.js} +27 -27
- package/dist/chunks/{websearch-qsdy395h.js → app-qsdy395h.js} +1 -1
- package/dist/chunks/app-qtvmxc8s.js +4 -0
- package/dist/chunks/{websearch-me3rvs4w.js → app-qzjq96ve.js} +44 -44
- package/dist/chunks/{websearch-mvfsc1pv.js → app-r5x6zcsm.js} +3 -3
- package/dist/chunks/{websearch-rdw6cm16.js → app-rdw6cm16.js} +1 -1
- package/dist/chunks/{websearch-0mpmkbvk.js → app-rfdx9aph.js} +25 -25
- package/dist/chunks/{websearch-se08cp42.js → app-rfjpkbyr.js} +171 -171
- package/dist/chunks/{websearch-12cff98h.js → app-rh2h7bz2.js} +19 -19
- package/dist/chunks/{websearch-5cmxdwv8.js → app-rj6d5p5e.js} +3 -3
- package/dist/chunks/app-s0mmenjh.js +252 -0
- package/dist/chunks/{websearch-h71w788e.js → app-s1kvmffy.js} +9 -9
- package/dist/chunks/{websearch-yrznvahk.js → app-s4enseaf.js} +2 -2
- package/dist/chunks/{websearch-y575x8fq.js → app-senw7f5q.js} +5 -5
- package/dist/chunks/{websearch-68p33881.js → app-sjgwehbe.js} +15 -15
- package/dist/chunks/{websearch-2ddqzwtn.js → app-swk9pkgd.js} +7 -7
- package/dist/chunks/{websearch-c12e90ve.js → app-t0b82sn3.js} +13 -13
- package/dist/chunks/{websearch-tazgh4e4.js → app-tazgh4e4.js} +1 -1
- package/dist/chunks/{websearch-b1yh53et.js → app-tb5xxcc9.js} +78 -78
- package/dist/chunks/{websearch-xg4xty0h.js → app-tb9xm78q.js} +8 -8
- package/dist/chunks/{websearch-tdstcens.js → app-tdstcens.js} +1 -1
- package/dist/chunks/{websearch-c7vemr9z.js → app-tfxsda3f.js} +34 -34
- package/dist/chunks/{websearch-p8dex54c.js → app-thph1k7c.js} +32 -32
- package/dist/chunks/{websearch-2f0bjgcj.js → app-tn0aqsam.js} +5 -5
- package/dist/chunks/{websearch-87r11qxp.js → app-ttsb85y1.js} +7 -7
- package/dist/chunks/{websearch-tvtrv512.js → app-tvtrv512.js} +1 -1
- package/dist/chunks/{websearch-jt70q5eh.js → app-v19j2x38.js} +7 -7
- package/dist/chunks/{websearch-x07a79kb.js → app-v1kgz5pa.js} +13 -13
- package/dist/chunks/{websearch-papy6808.js → app-v62cs5sj.js} +23 -23
- package/dist/chunks/{websearch-52fqhwf1.js → app-v6h6kk4n.js} +46 -46
- package/dist/chunks/{websearch-xmw0d9va.js → app-v7ax49y9.js} +19 -19
- package/dist/chunks/{websearch-k18p3m3j.js → app-va20k388.js} +20 -20
- package/dist/chunks/{websearch-veqvce7d.js → app-veqvce7d.js} +1 -1
- package/dist/chunks/{websearch-20rkawgy.js → app-vmv0kd87.js} +3 -3
- package/dist/chunks/{websearch-wjyt3d36.js → app-vqn7h5f3.js} +34 -34
- package/dist/chunks/{websearch-cxhtbce4.js → app-vwcr4tjx.js} +9 -9
- package/dist/chunks/{websearch-9g3kc011.js → app-vy4zg7qh.js} +12 -12
- package/dist/chunks/{websearch-vzcthcp8.js → app-vzcthcp8.js} +1 -1
- package/dist/chunks/{websearch-q58mka6k.js → app-w3jg838k.js} +9 -9
- package/dist/chunks/{websearch-w3wsvvr9.js → app-w3wsvvr9.js} +1 -1
- package/dist/chunks/{websearch-3x4ghmxy.js → app-wa17x0f6.js} +23 -23
- package/dist/chunks/{websearch-wd87259q.js → app-wd87259q.js} +1 -1
- package/dist/chunks/{websearch-3drga6ng.js → app-wks3bq41.js} +37 -37
- package/dist/chunks/{websearch-6kg1vfnr.js → app-wpm2rk0p.js} +8 -8
- package/dist/chunks/{websearch-3d0jer83.js → app-wq38yxfv.js} +1 -1
- package/dist/chunks/{websearch-ce2efaee.js → app-wx5y01fx.js} +11 -11
- package/dist/chunks/{websearch-z6n7xg8y.js → app-wxtfr31w.js} +20 -20
- package/dist/chunks/{websearch-zpfs6wz4.js → app-wxyrkypr.js} +16 -16
- package/dist/chunks/{websearch-x1ezjp6w.js → app-x1ezjp6w.js} +1 -1
- package/dist/chunks/{websearch-ntdz2qy0.js → app-x2rmejqt.js} +13 -13
- package/dist/chunks/{websearch-ezanmzeq.js → app-x3qv8ryf.js} +63 -63
- package/dist/chunks/{websearch-ncwp3cv9.js → app-x4e5jp7e.js} +10 -10
- package/dist/chunks/{websearch-b8rdat62.js → app-x8chr5sc.js} +29 -29
- package/dist/chunks/{websearch-e8xn9cp3.js → app-x9qt50vx.js} +13 -13
- package/dist/chunks/{websearch-7cdvpqbm.js → app-xg9j3gxx.js} +5 -5
- package/dist/chunks/{websearch-hp68hswg.js → app-xgpvyysx.js} +94 -94
- package/dist/chunks/{websearch-31kpg2hv.js → app-xhpeghz7.js} +13 -13
- package/dist/chunks/{websearch-5g37xssw.js → app-y15xkh2n.js} +25 -25
- package/dist/chunks/{websearch-y1fvbwt7.js → app-y1fvbwt7.js} +1 -1
- package/dist/chunks/{websearch-g12b4xa8.js → app-y2nmavtm.js} +29 -29
- package/dist/chunks/{websearch-4hbbf1we.js → app-y5xn5bba.js} +18 -18
- package/dist/chunks/{websearch-y71avatq.js → app-y71avatq.js} +1 -1
- package/dist/chunks/{websearch-3tsc6jw1.js → app-y76zn1vz.js} +5 -5
- package/dist/chunks/{websearch-c0ebfkfm.js → app-y9p6qzzr.js} +39 -39
- package/dist/chunks/{websearch-yk8qrx9z.js → app-ybgh1m9m.js} +15 -15
- package/dist/chunks/{websearch-q9v6pdhx.js → app-yj47cjx3.js} +18 -18
- package/dist/chunks/{websearch-b37xwwf0.js → app-ykf0jhfk.js} +24 -24
- package/dist/chunks/{websearch-yp2x3t23.js → app-yp2x3t23.js} +1 -1
- package/dist/chunks/{websearch-yrhqyw5v.js → app-yrhqyw5v.js} +1 -1
- package/dist/chunks/{websearch-q4w743xy.js → app-yrhthkpk.js} +37 -37
- package/dist/chunks/{websearch-pjz7m4en.js → app-yrq83nnf.js} +14 -14
- package/dist/chunks/{websearch-hc3esc2s.js → app-yxms1dgw.js} +27 -27
- package/dist/chunks/{websearch-szemypwa.js → app-yy70n6y7.js} +26 -26
- package/dist/chunks/{websearch-z0bkrqjs.js → app-z0bkrqjs.js} +1 -1
- package/dist/chunks/{websearch-9apbawma.js → app-z6p9zkzw.js} +38 -38
- package/dist/chunks/{websearch-p1cpmwyf.js → app-zc72yjq3.js} +10 -10
- package/dist/chunks/{websearch-5qydrcv1.js → app-zdb8sah8.js} +18 -18
- package/dist/chunks/{websearch-zeh9ct20.js → app-zeh9ct20.js} +2 -2
- package/dist/chunks/{websearch-6hzx84tq.js → app-zkmmppc2.js} +7 -7
- package/dist/chunks/{websearch-jwkr9gz9.js → app-zmnyjegj.js} +18 -18
- package/dist/chunks/{websearch-zr2ceqn5.js → app-zr2ceqn5.js} +1 -1
- package/dist/chunks/{websearch-2hzd43g2.js → app-zswdvhgs.js} +17 -17
- package/dist/chunks/{websearch-ma15yhyh.js → app-zw4pk1bw.js} +5 -5
- package/dist/chunks/{websearch-zxq2ej10.js → app-zxq2ej10.js} +1 -1
- package/dist/chunks/{websearch-4mmncdms.js → app-zy4aaz3n.js} +3 -3
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- 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 +83 -83
- 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 +122 -122
- 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 +119 -119
- 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 +69 -69
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- 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 +94 -94
- 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 +73 -73
- 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 +220 -220
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +107 -107
- package/dist/form.js +83 -83
- 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 +98 -98
- 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 +359 -359
- 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 +3 -3
- package/dist/integration.js +83 -83
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- 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 +356 -356
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +105 -105
- 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 +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +99 -99
- package/dist/models-dev.js +104 -104
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +116 -116
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +83 -83
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/compaction.js +130 -130
- 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 +330 -330
- 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 +4 -4
- 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 +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +119 -119
- package/dist/plugin/provider/openai.js +93 -93
- 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 +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +345 -345
- package/dist/plugin/tool-input-repair.js +4 -4
- 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 +118 -118
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +98 -98
- 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 +97 -97
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- 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 +133 -133
- package/dist/session/context.js +149 -149
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +223 -223
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +87 -87
- 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 +116 -116
- package/dist/session/model-transport.js +7 -7
- 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 +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -228
- 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 +111 -111
- 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 +74 -74
- 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 +1 -1
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +222 -222
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- 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 +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +90 -90
- 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 +123 -123
- 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 +106 -106
- package/dist/tool/plugin/subagent.js +216 -216
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +111 -111
- 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 +16 -16
- 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 +7 -7
- 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 +4 -4
- package/dist/v1/config/formatter.js +3 -3
- 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 +7 -7
- package/dist/v1/config/plugin.js +1 -1
- 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 +73 -73
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +7 -7
- 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 +97 -97
- package/package.json +8 -8
- package/dist/chunks/websearch-g6d38j8q.js +0 -26
- package/dist/chunks/websearch-gbadjzag.js +0 -4
- package/dist/chunks/websearch-pf31ssb9.js +0 -18
- package/dist/chunks/websearch-qq1hq5hy.js +0 -252
- /package/dist/chunks/{websearch-0qkdqm5v.js → app-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{websearch-0zkw76rk.js → app-0zkw76rk.js} +0 -0
- /package/dist/chunks/{websearch-17cy0kzp.js → app-17cy0kzp.js} +0 -0
- /package/dist/chunks/{websearch-1cnp2v09.js → app-1cnp2v09.js} +0 -0
- /package/dist/chunks/{websearch-1kg9ymc8.js → app-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{websearch-24dcb14g.js → app-24dcb14g.js} +0 -0
- /package/dist/chunks/{websearch-2710q6r3.js → app-2710q6r3.js} +0 -0
- /package/dist/chunks/{websearch-2axfhc9x.js → app-2axfhc9x.js} +0 -0
- /package/dist/chunks/{websearch-2c3vjs8z.js → app-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{websearch-359p4xyc.js → app-359p4xyc.js} +0 -0
- /package/dist/chunks/{websearch-3asan66x.js → app-3asan66x.js} +0 -0
- /package/dist/chunks/{websearch-3v8g72cx.js → app-3v8g72cx.js} +0 -0
- /package/dist/chunks/{websearch-3w5fmr99.js → app-3w5fmr99.js} +0 -0
- /package/dist/chunks/{websearch-3wcehsnq.js → app-3wcehsnq.js} +0 -0
- /package/dist/chunks/{websearch-43n2bw4t.js → app-43n2bw4t.js} +0 -0
- /package/dist/chunks/{websearch-4knz6hnm.js → app-4knz6hnm.js} +0 -0
- /package/dist/chunks/{websearch-4vcrnpx2.js → app-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{websearch-4y7fprxs.js → app-4y7fprxs.js} +0 -0
- /package/dist/chunks/{websearch-53557ph1.js → app-53557ph1.js} +0 -0
- /package/dist/chunks/{websearch-550bvhaj.js → app-550bvhaj.js} +0 -0
- /package/dist/chunks/{websearch-6prwharc.js → app-6prwharc.js} +0 -0
- /package/dist/chunks/{websearch-7akdwqpd.js → app-7akdwqpd.js} +0 -0
- /package/dist/chunks/{websearch-7m9af43g.js → app-7m9af43g.js} +0 -0
- /package/dist/chunks/{websearch-822emrt2.js → app-822emrt2.js} +0 -0
- /package/dist/chunks/{websearch-88xbtdfr.js → app-88xbtdfr.js} +0 -0
- /package/dist/chunks/{websearch-8n3pysct.js → app-8n3pysct.js} +0 -0
- /package/dist/chunks/{websearch-922hggd3.js → app-922hggd3.js} +0 -0
- /package/dist/chunks/{websearch-9a4afbnw.js → app-9a4afbnw.js} +0 -0
- /package/dist/chunks/{websearch-9rqn6x4v.js → app-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{websearch-a6k6eb26.js → app-a6k6eb26.js} +0 -0
- /package/dist/chunks/{websearch-af5trqkr.js → app-af5trqkr.js} +0 -0
- /package/dist/chunks/{websearch-afrmfg78.js → app-afrmfg78.js} +0 -0
- /package/dist/chunks/{websearch-aqzs7mqg.js → app-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{websearch-atq7p7m5.js → app-atq7p7m5.js} +0 -0
- /package/dist/chunks/{websearch-bkyjaxrp.js → app-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{websearch-bmr6ed5q.js → app-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{websearch-cf4snx6d.js → app-cf4snx6d.js} +0 -0
- /package/dist/chunks/{websearch-cvy3z8tj.js → app-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{websearch-d9fn303g.js → app-d9fn303g.js} +0 -0
- /package/dist/chunks/{websearch-d9jj8t3e.js → app-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{websearch-dajrwvna.js → app-dajrwvna.js} +0 -0
- /package/dist/chunks/{websearch-dap0rakb.js → app-dap0rakb.js} +0 -0
- /package/dist/chunks/{websearch-df08tz66.js → app-df08tz66.js} +0 -0
- /package/dist/chunks/{websearch-dy18nga0.js → app-dy18nga0.js} +0 -0
- /package/dist/chunks/{websearch-e5kj55wp.js → app-e5kj55wp.js} +0 -0
- /package/dist/chunks/{websearch-e73j6tqm.js → app-e73j6tqm.js} +0 -0
- /package/dist/chunks/{websearch-ec1grn59.js → app-ec1grn59.js} +0 -0
- /package/dist/chunks/{websearch-eh3zwz77.js → app-eh3zwz77.js} +0 -0
- /package/dist/chunks/{websearch-emrn6kk6.js → app-emrn6kk6.js} +0 -0
- /package/dist/chunks/{websearch-f0mxakyp.js → app-f0mxakyp.js} +0 -0
- /package/dist/chunks/{websearch-f6n9ztr4.js → app-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{websearch-faypxj3z.js → app-faypxj3z.js} +0 -0
- /package/dist/chunks/{websearch-fd410y7t.js → app-fd410y7t.js} +0 -0
- /package/dist/chunks/{websearch-fxgpk5d8.js → app-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{websearch-g4wezp1m.js → app-g4wezp1m.js} +0 -0
- /package/dist/chunks/{websearch-g86h250q.js → app-g86h250q.js} +0 -0
- /package/dist/chunks/{websearch-gebd4c9n.js → app-gebd4c9n.js} +0 -0
- /package/dist/chunks/{websearch-gftt206x.js → app-gftt206x.js} +0 -0
- /package/dist/chunks/{websearch-hjbc5kem.js → app-hjbc5kem.js} +0 -0
- /package/dist/chunks/{websearch-hk9envan.js → app-hk9envan.js} +0 -0
- /package/dist/chunks/{websearch-j2ntwpah.js → app-j2ntwpah.js} +0 -0
- /package/dist/chunks/{websearch-j5zkgpj8.js → app-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{websearch-jjkms2e6.js → app-jjkms2e6.js} +0 -0
- /package/dist/chunks/{websearch-jr7sbwjy.js → app-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{websearch-jwfs4k6c.js → app-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{websearch-jzg6c2d5.js → app-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{websearch-mp448xyj.js → app-mp448xyj.js} +0 -0
- /package/dist/chunks/{websearch-msx8hqn2.js → app-msx8hqn2.js} +0 -0
- /package/dist/chunks/{websearch-n05xt0ee.js → app-n05xt0ee.js} +0 -0
- /package/dist/chunks/{websearch-n3j8tn72.js → app-n3j8tn72.js} +0 -0
- /package/dist/chunks/{websearch-njntx4h6.js → app-njntx4h6.js} +0 -0
- /package/dist/chunks/{websearch-q3sfg36h.js → app-q3sfg36h.js} +0 -0
- /package/dist/chunks/{websearch-q74kybfr.js → app-q74kybfr.js} +0 -0
- /package/dist/chunks/{websearch-qaymkmh1.js → app-qaymkmh1.js} +0 -0
- /package/dist/chunks/{websearch-qb87gjwd.js → app-qb87gjwd.js} +0 -0
- /package/dist/chunks/{websearch-qfa1cgps.js → app-qfa1cgps.js} +0 -0
- /package/dist/chunks/{websearch-qg3g05ea.js → app-qg3g05ea.js} +0 -0
- /package/dist/chunks/{websearch-qrg20bc0.js → app-qrg20bc0.js} +0 -0
- /package/dist/chunks/{websearch-rcb2kzg1.js → app-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{websearch-sdp7kfr6.js → app-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{websearch-sk3qaz4a.js → app-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{websearch-ssg3fenm.js → app-ssg3fenm.js} +0 -0
- /package/dist/chunks/{websearch-twg0f83k.js → app-twg0f83k.js} +0 -0
- /package/dist/chunks/{websearch-w803qqfp.js → app-w803qqfp.js} +0 -0
- /package/dist/chunks/{websearch-wc3fc9cn.js → app-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{websearch-wer8tq1h.js → app-wer8tq1h.js} +0 -0
- /package/dist/chunks/{websearch-wtztk69x.js → app-wtztk69x.js} +0 -0
- /package/dist/chunks/{websearch-x0ckcb58.js → app-x0ckcb58.js} +0 -0
- /package/dist/chunks/{websearch-x61499pn.js → app-x61499pn.js} +0 -0
- /package/dist/chunks/{websearch-y44na4kk.js → app-y44na4kk.js} +0 -0
- /package/dist/chunks/{websearch-y8cydn3q.js → app-y8cydn3q.js} +0 -0
- /package/dist/chunks/{websearch-y8f7s663.js → app-y8f7s663.js} +0 -0
- /package/dist/chunks/{websearch-ygaqb7jw.js → app-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{websearch-ym463w8f.js → app-ym463w8f.js} +0 -0
- /package/dist/chunks/{websearch-z9919s4g.js → app-z9919s4g.js} +0 -0
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
ID8,
|
|
3
|
+
Info10,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./app-rj6d5p5e.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./app-922hggd3.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service83,
|
|
11
|
+
node87
|
|
12
|
+
} from "./app-jnmfw45r.js";
|
|
13
13
|
import {
|
|
14
14
|
isSynced2,
|
|
15
|
-
Service81,
|
|
16
|
-
node85
|
|
17
|
-
} from "./websearch-am1fxjt6.js";
|
|
18
|
-
import {
|
|
19
15
|
Service79,
|
|
20
16
|
node83
|
|
21
|
-
} from "./
|
|
17
|
+
} from "./app-csxzn776.js";
|
|
18
|
+
import {
|
|
19
|
+
Service78,
|
|
20
|
+
node82
|
|
21
|
+
} from "./app-yy70n6y7.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service38,
|
|
24
|
+
node40
|
|
25
|
+
} from "./app-p7a39gy5.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./app-ec1grn59.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionMessageTable2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./app-5c4hm403.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
node39
|
|
34
|
+
} from "./app-014xdmgp.js";
|
|
35
35
|
import {
|
|
36
36
|
current2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./app-bg2gq5qa.js";
|
|
38
38
|
import {
|
|
39
39
|
snapshot2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./app-va20k388.js";
|
|
41
41
|
import {
|
|
42
42
|
Slug2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./app-gebd4c9n.js";
|
|
44
44
|
import {
|
|
45
45
|
SessionAlreadyProjected2,
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
46
|
+
node22
|
|
47
|
+
} from "./app-7mvfcvez.js";
|
|
48
48
|
import {
|
|
49
49
|
Metadata2,
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
node63
|
|
51
|
+
} from "./app-6r8xth9q.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
53
|
+
NotFoundError6,
|
|
54
54
|
MessageNotFoundError2,
|
|
55
55
|
ForkEmptyError2,
|
|
56
56
|
MessageDecodeError2,
|
|
@@ -61,58 +61,58 @@ import {
|
|
|
61
61
|
BusyError2,
|
|
62
62
|
InboxConflictError2,
|
|
63
63
|
SkillNotFoundError2
|
|
64
|
-
} from "./
|
|
64
|
+
} from "./app-11823ez3.js";
|
|
65
65
|
import {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
66
|
+
ListInput3,
|
|
67
|
+
Service54,
|
|
68
|
+
node56
|
|
69
|
+
} from "./app-g6ckadgp.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
71
|
+
Service40,
|
|
72
|
+
node42
|
|
73
|
+
} from "./app-01s6r663.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
75
|
+
Service35,
|
|
76
|
+
node38
|
|
77
|
+
} from "./app-7hwc72pw.js";
|
|
78
78
|
import {
|
|
79
79
|
llmClient2
|
|
80
|
-
} from "./
|
|
80
|
+
} from "./app-5t3nmthw.js";
|
|
81
81
|
import {
|
|
82
|
-
|
|
82
|
+
Service27,
|
|
83
83
|
node31
|
|
84
|
-
} from "./
|
|
84
|
+
} from "./app-gs5memm2.js";
|
|
85
85
|
import {
|
|
86
86
|
generate2
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./app-wxyrkypr.js";
|
|
88
88
|
import {
|
|
89
89
|
execute2
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./app-c38jyzps.js";
|
|
91
91
|
import {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
} from "./
|
|
92
|
+
Service60,
|
|
93
|
+
node62
|
|
94
|
+
} from "./app-f8wvxc75.js";
|
|
95
95
|
import {
|
|
96
96
|
DestinationNotFoundError2,
|
|
97
97
|
DestinationNotDirectoryError2,
|
|
98
98
|
DestinationUnavailableError2,
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
} from "./
|
|
99
|
+
Service18,
|
|
100
|
+
node21
|
|
101
|
+
} from "./app-kytjdcrv.js";
|
|
102
102
|
import {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
} from "./
|
|
103
|
+
Service43,
|
|
104
|
+
node45
|
|
105
|
+
} from "./app-8n69n882.js";
|
|
106
106
|
import {
|
|
107
107
|
make12
|
|
108
|
-
} from "./
|
|
108
|
+
} from "./app-tfxsda3f.js";
|
|
109
109
|
import {
|
|
110
110
|
TurnRangeError2,
|
|
111
111
|
turn2
|
|
112
|
-
} from "./
|
|
112
|
+
} from "./app-d0kf8th3.js";
|
|
113
113
|
import {
|
|
114
114
|
__export
|
|
115
|
-
} from "./
|
|
115
|
+
} from "./app-9rqn6x4v.js";
|
|
116
116
|
|
|
117
117
|
// src/session.ts
|
|
118
118
|
var exports_session = {};
|
|
@@ -123,22 +123,22 @@ __export(exports_session, {
|
|
|
123
123
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
124
124
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
125
125
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
126
|
-
ID: () =>
|
|
126
|
+
ID: () => ID8,
|
|
127
127
|
InboxConflictError: () => InboxConflictError2,
|
|
128
|
-
Info: () =>
|
|
128
|
+
Info: () => Info10,
|
|
129
129
|
ListAnchor: () => ListAnchor2,
|
|
130
|
-
ListInput: () =>
|
|
130
|
+
ListInput: () => ListInput2,
|
|
131
131
|
MessageDecodeError: () => MessageDecodeError2,
|
|
132
132
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
133
|
-
NotFoundError: () =>
|
|
133
|
+
NotFoundError: () => NotFoundError6,
|
|
134
134
|
PromptConflictError: () => PromptConflictError2,
|
|
135
|
-
Service: () =>
|
|
135
|
+
Service: () => Service17,
|
|
136
136
|
Session: () => exports_session,
|
|
137
137
|
SessionSchema: () => SessionSchema2,
|
|
138
138
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
139
139
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
140
140
|
TurnRangeError: () => TurnRangeError2,
|
|
141
|
-
node: () =>
|
|
141
|
+
node: () => node20
|
|
142
142
|
});
|
|
143
143
|
import { Effect, Layer, Schema, Context, Stream } from "effect";
|
|
144
144
|
import { LLMClient } from "@opencode/ai";
|
|
@@ -148,27 +148,27 @@ import { Model } from "@opencode/schema/model";
|
|
|
148
148
|
import path from "path";
|
|
149
149
|
import { Node } from "@opencode/util/effect/app-node";
|
|
150
150
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
151
|
-
var
|
|
152
|
-
class
|
|
151
|
+
var ListInput2 = ListInput3;
|
|
152
|
+
class Service17 extends Context.Service()("@opencode/Session") {
|
|
153
153
|
}
|
|
154
|
-
var layer = Layer.effect(
|
|
154
|
+
var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
155
155
|
const app = yield* Metadata2;
|
|
156
|
-
const database = yield*
|
|
156
|
+
const database = yield* Service83;
|
|
157
157
|
const db = database.db;
|
|
158
|
-
const bus = yield*
|
|
159
|
-
const projects = yield*
|
|
160
|
-
const execution = yield*
|
|
158
|
+
const bus = yield* Service79;
|
|
159
|
+
const projects = yield* Service78;
|
|
160
|
+
const execution = yield* Service35;
|
|
161
161
|
const llm = yield* LLMClient.Service;
|
|
162
|
-
const transport = yield*
|
|
163
|
-
const store = yield*
|
|
164
|
-
const instances = yield*
|
|
165
|
-
const moves = yield*
|
|
166
|
-
const jobs = yield*
|
|
167
|
-
const environments = yield*
|
|
168
|
-
const locations = yield*
|
|
162
|
+
const transport = yield* Service27;
|
|
163
|
+
const store = yield* Service54;
|
|
164
|
+
const instances = yield* Service38;
|
|
165
|
+
const moves = yield* Service18;
|
|
166
|
+
const jobs = yield* Service40;
|
|
167
|
+
const environments = yield* Service43;
|
|
168
|
+
const locations = yield* Service60;
|
|
169
169
|
const sessions = yield* make12();
|
|
170
170
|
const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
171
|
-
const result =
|
|
171
|
+
const result = Service17.of({
|
|
172
172
|
create: Effect.fn("Session.create")(function* (input) {
|
|
173
173
|
const sessionID = input.id ?? SessionSchema2.ID.create();
|
|
174
174
|
const recorded = yield* store.get(sessionID);
|
|
@@ -176,7 +176,7 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
176
176
|
return recorded;
|
|
177
177
|
const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
|
|
178
178
|
if (input.parentID && parent === undefined)
|
|
179
|
-
return yield* new
|
|
179
|
+
return yield* new NotFoundError6({ sessionID: input.parentID });
|
|
180
180
|
const location = parent?.location ?? input.location;
|
|
181
181
|
if (location === undefined)
|
|
182
182
|
return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
|
|
@@ -281,11 +281,11 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
281
281
|
prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
|
|
282
282
|
generate: Effect.fn("Session.generate")(function* (input) {
|
|
283
283
|
const session = yield* result.get(input.sessionID);
|
|
284
|
-
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(
|
|
284
|
+
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service38, instances), Effect.provideService(Service83, database), Effect.provideService(LLMClient.Service, llm));
|
|
285
285
|
}),
|
|
286
286
|
command: Effect.fn("Session.command")(function* (input) {
|
|
287
287
|
const session = yield* result.get(input.sessionID);
|
|
288
|
-
return yield* execute2({ ...input, session }).pipe(Effect.provideService(
|
|
288
|
+
return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service38, instances));
|
|
289
289
|
}),
|
|
290
290
|
shell: (input) => sessions.forSession(input.sessionID).shell(input),
|
|
291
291
|
skill: (input) => sessions.forSession(input.sessionID).skill(input),
|
|
@@ -326,27 +326,27 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
326
326
|
});
|
|
327
327
|
return result;
|
|
328
328
|
}));
|
|
329
|
-
var
|
|
330
|
-
service:
|
|
329
|
+
var node20 = Node.makeGlobalNode({
|
|
330
|
+
service: Service17,
|
|
331
331
|
layer,
|
|
332
332
|
deps: [
|
|
333
|
-
|
|
334
|
-
node60,
|
|
335
|
-
node86,
|
|
336
|
-
node85,
|
|
337
|
-
node83,
|
|
333
|
+
node42,
|
|
338
334
|
node45,
|
|
335
|
+
node87,
|
|
336
|
+
node83,
|
|
337
|
+
node82,
|
|
338
|
+
node38,
|
|
339
339
|
node31,
|
|
340
340
|
llmClient2,
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
341
|
+
node56,
|
|
342
|
+
node40,
|
|
343
|
+
node39,
|
|
344
|
+
node21,
|
|
345
|
+
node22,
|
|
346
|
+
node62,
|
|
347
347
|
FSUtil.node,
|
|
348
|
-
|
|
348
|
+
node63
|
|
349
349
|
]
|
|
350
350
|
});
|
|
351
351
|
|
|
352
|
-
export { ListAnchor2,
|
|
352
|
+
export { ListAnchor2, ListInput2, Service17, node20, exports_session };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./app-jnmfw45r.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./app-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./app-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service81,
|
|
17
|
+
node: () => node85
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service81 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
25
|
-
const db = (yield*
|
|
26
|
-
return
|
|
24
|
+
var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
25
|
+
const db = (yield* Service83).db;
|
|
26
|
+
return Service81.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node85 = makeGlobalNode({ service: Service81, layer, deps: [node87] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service81, node85, exports_kv };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service83
|
|
3
|
+
} from "./app-jnmfw45r.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./app-csxzn776.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service38
|
|
9
|
+
} from "./app-p7a39gy5.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./app-922hggd3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID5,
|
|
15
|
+
Service46
|
|
16
|
+
} from "./app-7ekr1ah4.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./app-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./app-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./app-11823ez3.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./app-5c4hm403.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./app-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -42,12 +42,12 @@ __export(exports_revert, {
|
|
|
42
42
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
45
|
-
const instances = yield*
|
|
46
|
-
const database = yield*
|
|
47
|
-
const bus = yield*
|
|
45
|
+
const instances = yield* Service38;
|
|
46
|
+
const database = yield* Service83;
|
|
47
|
+
const bus = yield* Service79;
|
|
48
48
|
return yield* Effect.gen(function* () {
|
|
49
|
-
const snapshot = yield*
|
|
50
|
-
const original = input.session.revert?.snapshot ?
|
|
49
|
+
const snapshot = yield* Service46;
|
|
50
|
+
const original = input.session.revert?.snapshot ? ID5.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
51
51
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
52
52
|
const restore = new Map;
|
|
53
53
|
if (original) {
|
|
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
74
74
|
}).pipe(instances.provide(input.session));
|
|
75
75
|
});
|
|
76
76
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
77
|
-
const instances = yield*
|
|
78
|
-
const bus = yield*
|
|
77
|
+
const instances = yield* Service38;
|
|
78
|
+
const bus = yield* Service79;
|
|
79
79
|
yield* Effect.gen(function* () {
|
|
80
|
-
const snapshot = yield*
|
|
80
|
+
const snapshot = yield* Service46;
|
|
81
81
|
if (!session.revert)
|
|
82
82
|
return;
|
|
83
|
-
const original = session.revert.snapshot ?
|
|
83
|
+
const original = session.revert.snapshot ? ID5.make(session.revert.snapshot) : undefined;
|
|
84
84
|
if (original)
|
|
85
85
|
yield* snapshot.restore({
|
|
86
86
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
111
111
|
continue;
|
|
112
112
|
for (const file of message.snapshot.files ?? [])
|
|
113
113
|
if (!files.has(file))
|
|
114
|
-
files.set(file,
|
|
114
|
+
files.set(file, ID5.make(message.snapshot.start));
|
|
115
115
|
}
|
|
116
116
|
return files;
|
|
117
117
|
});
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node83
|
|
4
|
+
} from "./app-csxzn776.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./app-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service77,
|
|
11
|
+
node81
|
|
12
|
+
} from "./app-yrq83nnf.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
|
-
|
|
15
|
+
ID11,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
19
|
Service65,
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
node68,
|
|
21
|
+
Event14
|
|
22
|
+
} from "./app-5v8q48de.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./app-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -30,25 +30,25 @@ __export(exports_model2, {
|
|
|
30
30
|
Capabilities: () => Capabilities2,
|
|
31
31
|
Compatibility: () => Compatibility2,
|
|
32
32
|
Cost: () => Cost2,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event13,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID10,
|
|
36
|
+
Info: () => Info23,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref2,
|
|
40
40
|
Service: () => Service64,
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
|
-
node: () =>
|
|
44
|
-
parse: () =>
|
|
43
|
+
node: () => node67,
|
|
44
|
+
parse: () => parse4
|
|
45
45
|
});
|
|
46
46
|
import { Model } from "@opencode/schema/model";
|
|
47
47
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
48
48
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
49
49
|
import { freeze } from "immer";
|
|
50
|
-
import { Event as
|
|
51
|
-
var
|
|
50
|
+
import { Event as Event13 } from "@opencode/schema/model";
|
|
51
|
+
var ID10 = Model.ID;
|
|
52
52
|
var VariantID2 = Model.VariantID;
|
|
53
53
|
var Family2 = Model.Family;
|
|
54
54
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -56,14 +56,14 @@ var Compatibility2 = Model.Compatibility;
|
|
|
56
56
|
var Capabilities2 = Model.Capabilities;
|
|
57
57
|
var Cost2 = Model.Cost;
|
|
58
58
|
var Ref2 = Model.Ref;
|
|
59
|
-
var
|
|
59
|
+
var Info23 = Model.Info;
|
|
60
60
|
|
|
61
61
|
class Service64 extends Context.Service()("@opencode/Model") {
|
|
62
62
|
}
|
|
63
63
|
var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
64
64
|
const providers = yield* Service65;
|
|
65
|
-
const bus = yield*
|
|
66
|
-
const location = yield*
|
|
65
|
+
const bus = yield* Service79;
|
|
66
|
+
const location = yield* Service77;
|
|
67
67
|
let input;
|
|
68
68
|
const state = create3({
|
|
69
69
|
name: "model",
|
|
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
108
108
|
const models = writable(providerID);
|
|
109
109
|
if (!models)
|
|
110
110
|
return;
|
|
111
|
-
const model = draft(providerID, modelID) ??
|
|
111
|
+
const model = draft(providerID, modelID) ?? Info23.default(providerID, modelID);
|
|
112
112
|
update(model);
|
|
113
113
|
model.id = modelID;
|
|
114
114
|
model.providerID = providerID;
|
|
@@ -197,7 +197,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
197
197
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
198
198
|
});
|
|
199
199
|
});
|
|
200
|
-
yield* bus.subscribe(
|
|
200
|
+
yield* bus.subscribe(Event14.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
201
201
|
return Service64.of({
|
|
202
202
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
203
203
|
reload,
|
|
@@ -217,7 +217,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
217
217
|
})
|
|
218
218
|
});
|
|
219
219
|
}));
|
|
220
|
-
var
|
|
220
|
+
var node67 = makeLocationNode({ service: Service64, layer, deps: [node68, node83, node81] });
|
|
221
221
|
function compatibility2(input) {
|
|
222
222
|
if (typeof input === "string")
|
|
223
223
|
return { reasoningField: input };
|
|
@@ -225,12 +225,12 @@ function compatibility2(input) {
|
|
|
225
225
|
return;
|
|
226
226
|
return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
|
|
227
227
|
}
|
|
228
|
-
function
|
|
228
|
+
function parse4(input) {
|
|
229
229
|
const index = input.indexOf("/");
|
|
230
230
|
return {
|
|
231
|
-
providerID:
|
|
232
|
-
modelID:
|
|
231
|
+
providerID: ID11.make(index === -1 ? input : input.slice(0, index)),
|
|
232
|
+
modelID: ID10.make(index === -1 ? "" : input.slice(index + 1))
|
|
233
233
|
};
|
|
234
234
|
}
|
|
235
235
|
|
|
236
|
-
export {
|
|
236
|
+
export { ID10, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info23, Service64, node67, compatibility2, parse4, exports_model2, Event13 };
|