@opencode/core 0.0.0-dev-20848 → 0.0.0-dev-20850
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 +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{mime-9c3np669.js → command-00832hy7.js} +8 -8
- package/dist/chunks/{mime-yt8s49gy.js → command-00v3p02c.js} +12 -12
- package/dist/chunks/{mime-3tdspdk0.js → command-03eecatj.js} +32 -32
- package/dist/chunks/{mime-4vy300yq.js → command-0651g2m8.js} +24 -24
- package/dist/chunks/{mime-ct5msdbx.js → command-0f74e6s6.js} +16 -16
- package/dist/chunks/{mime-thye16kd.js → command-0g7cgnx9.js} +1 -1
- package/dist/chunks/{mime-z2tkkdyw.js → command-0r9t40ws.js} +8 -8
- package/dist/chunks/{mime-0vbcp93d.js → command-0vbcp93d.js} +2 -2
- package/dist/chunks/{mime-wj4ga3q8.js → command-0yz1bb5z.js} +4 -4
- package/dist/chunks/{mime-7t21zscw.js → command-1078m2ze.js} +11 -11
- package/dist/chunks/{mime-y4783gag.js → command-125b2gjd.js} +25 -25
- package/dist/chunks/{mime-093ezmkq.js → command-141ztcwb.js} +15 -15
- package/dist/chunks/{mime-z001n1ar.js → command-1ake5xtc.js} +10 -10
- package/dist/chunks/{mime-grcxjrjv.js → command-1e7j80nv.js} +15 -15
- package/dist/chunks/{mime-03zdqwm6.js → command-1tc9ms7v.js} +80 -80
- package/dist/chunks/{mime-8ge66yjw.js → command-1xfjfm5k.js} +16 -16
- package/dist/chunks/{mime-qpm56zd3.js → command-266f832d.js} +22 -22
- package/dist/chunks/{mime-p84pazke.js → command-2ej7p5df.js} +17 -17
- package/dist/chunks/{mime-rnkwpqsj.js → command-2vn9a9m5.js} +13 -13
- package/dist/chunks/{mime-2vvh33eb.js → command-2vvh33eb.js} +2 -2
- package/dist/chunks/{mime-d3j1yfh5.js → command-2w85jf91.js} +3 -3
- package/dist/chunks/{mime-rjv486v1.js → command-2x98hj2d.js} +6 -6
- package/dist/chunks/{mime-kqkndje3.js → command-2ztj38qe.js} +20 -20
- package/dist/chunks/{mime-31xfzrxg.js → command-31xfzrxg.js} +2 -2
- package/dist/chunks/{mime-y82gm3gz.js → command-3b7e2402.js} +11 -11
- package/dist/chunks/{mime-3fc6dm20.js → command-3fc6dm20.js} +1 -1
- package/dist/chunks/{mime-341887x8.js → command-3ggbdzvf.js} +37 -37
- package/dist/chunks/{mime-jvcyxgjy.js → command-3grbmg3s.js} +17 -17
- package/dist/chunks/{mime-3hepkmqq.js → command-3hepkmqq.js} +1 -1
- package/dist/chunks/{mime-3hwn7j4h.js → command-3hwn7j4h.js} +2 -2
- package/dist/chunks/{mime-3smtnn6g.js → command-3smtnn6g.js} +1 -1
- package/dist/chunks/{mime-88j8nb7d.js → command-3t1dcsxj.js} +50 -50
- package/dist/chunks/{mime-3tvqynh2.js → command-3tvqynh2.js} +1 -1
- package/dist/chunks/{mime-xg6vc4yz.js → command-3xr281qj.js} +9 -9
- package/dist/chunks/{mime-3zsf4n22.js → command-3zsf4n22.js} +1 -1
- package/dist/chunks/{mime-wmswtf3a.js → command-43b4ysp3.js} +13 -13
- package/dist/chunks/{mime-ba07h9gm.js → command-48kw51zw.js} +3 -3
- package/dist/chunks/{mime-a01j9zgm.js → command-4ekscj25.js} +5 -5
- package/dist/chunks/{mime-9ayz8qe3.js → command-4h0vb0gq.js} +15 -15
- package/dist/chunks/{mime-nypk9e09.js → command-4jw9kfxa.js} +10 -10
- package/dist/chunks/{mime-td4h0tpz.js → command-4n4sjte8.js} +20 -20
- package/dist/chunks/{mime-fmwz837r.js → command-4s7sr0a4.js} +8 -8
- package/dist/chunks/{mime-2ccvkpx1.js → command-4ts7tf6z.js} +2 -2
- package/dist/chunks/command-4v7qdvcn.js +18 -0
- package/dist/chunks/{mime-5crmb2xf.js → command-50waebaf.js} +14 -14
- package/dist/chunks/{mime-bydzhrwf.js → command-51p4tjed.js} +18 -18
- package/dist/chunks/{mime-x19mfkfa.js → command-524nwbbt.js} +10 -10
- package/dist/chunks/{mime-44rdwtgh.js → command-54e5rmax.js} +4 -4
- package/dist/chunks/{mime-54ma36ye.js → command-54ma36ye.js} +1 -1
- package/dist/chunks/{mime-63qttpz0.js → command-5faj6gpx.js} +27 -27
- package/dist/chunks/{mime-5m9w47nd.js → command-5m9w47nd.js} +1 -1
- package/dist/chunks/{mime-e2n962sp.js → command-5mgptwxw.js} +11 -11
- package/dist/chunks/{mime-e3qxr5gk.js → command-5qd3pb7m.js} +2 -2
- package/dist/chunks/{mime-c28b4grb.js → command-5t3310k6.js} +4 -4
- package/dist/chunks/{mime-2njrmdps.js → command-5ytdfek8.js} +20 -20
- package/dist/chunks/{mime-nk1a0m4h.js → command-6674vnd9.js} +30 -30
- package/dist/chunks/{mime-48c45xbx.js → command-684z2rkg.js} +14 -12
- package/dist/chunks/{mime-6nhrap54.js → command-6qrtx4s9.js} +8 -8
- package/dist/chunks/{mime-ghdx6zwz.js → command-6rv30qxe.js} +6 -6
- package/dist/chunks/{mime-874mqwgr.js → command-6v23mrsw.js} +11 -11
- package/dist/chunks/{mime-q6k0rjqm.js → command-6w6dyk7v.js} +9 -9
- package/dist/chunks/{mime-6xb47vfp.js → command-6xb47vfp.js} +1 -1
- package/dist/chunks/{mime-b9hjh4zd.js → command-70az54m3.js} +29 -29
- package/dist/chunks/{mime-7c9rhtvt.js → command-754hrxp0.js} +21 -21
- package/dist/chunks/{mime-6pyvjtsa.js → command-7ad1qpnj.js} +16 -16
- package/dist/chunks/{mime-7bmhse3q.js → command-7bmhse3q.js} +1 -1
- package/dist/chunks/{mime-7dqw4kz8.js → command-7dqw4kz8.js} +1 -1
- package/dist/chunks/{mime-fv0pzh3a.js → command-7ffperky.js} +20 -20
- package/dist/chunks/{mime-0hzwm2j4.js → command-7fqkjd9x.js} +30 -30
- package/dist/chunks/{mime-avcrxgn1.js → command-7qskwz89.js} +24 -24
- package/dist/chunks/{mime-9khdf5s3.js → command-7rce4ag1.js} +11 -11
- package/dist/chunks/{mime-84txncab.js → command-84txncab.js} +1 -1
- package/dist/chunks/{mime-25x08sgb.js → command-886t639t.js} +11 -11
- package/dist/chunks/{mime-tpd4zc77.js → command-8akyxt9x.js} +171 -171
- package/dist/chunks/{mime-c3kdf4nh.js → command-8c2fejh3.js} +45 -45
- package/dist/chunks/{mime-t0czkw58.js → command-8dmft94a.js} +13 -13
- package/dist/chunks/{mime-z321w99j.js → command-8k7cnv0y.js} +1 -1
- package/dist/chunks/{mime-8m6m0r52.js → command-8m6m0r52.js} +1 -1
- package/dist/chunks/{mime-h0t0bv9g.js → command-8nehyppj.js} +13 -13
- package/dist/chunks/{mime-j09zfasm.js → command-91qna3x0.js} +3 -3
- package/dist/chunks/{mime-xay352td.js → command-99tgmy8e.js} +19 -19
- package/dist/chunks/{mime-h581xfce.js → command-9a3p6fm2.js} +41 -41
- package/dist/chunks/{mime-xbxz27st.js → command-9gz7rpcg.js} +17 -17
- package/dist/chunks/{mime-jexmkm21.js → command-9my8cp47.js} +46 -46
- package/dist/chunks/{mime-hqz60g6y.js → command-9rcsrpay.js} +25 -25
- package/dist/chunks/{mime-pzxj9hfq.js → command-9xnzsa35.js} +18 -18
- package/dist/chunks/{mime-f8wv18vk.js → command-9ygwj23r.js} +15 -15
- package/dist/chunks/{mime-c27esgm9.js → command-a2qe2ev9.js} +8 -8
- package/dist/chunks/{mime-nb9p6b26.js → command-a89e0tac.js} +4 -4
- package/dist/chunks/{mime-5zxyxt67.js → command-apj6cajm.js} +15 -15
- package/dist/chunks/{mime-5v4tq1pr.js → command-b1nzd013.js} +2 -2
- package/dist/chunks/{mime-rw63zn1c.js → command-b3d0s7yq.js} +5 -5
- package/dist/chunks/{mime-p75g0t75.js → command-b4fmh4gz.js} +4 -4
- package/dist/chunks/{mime-dzxpq3he.js → command-bep02zpa.js} +14 -14
- package/dist/chunks/{mime-fg20npmb.js → command-bz4h3gj4.js} +38 -38
- package/dist/chunks/{mime-z2z2ww5c.js → command-c10fq8yw.js} +70 -70
- package/dist/chunks/{mime-xvy6exsz.js → command-c1p4wns8.js} +11 -11
- package/dist/chunks/{mime-s79kdw20.js → command-c41h4f8s.js} +3 -3
- package/dist/chunks/{mime-c41wscbt.js → command-c41wscbt.js} +2 -2
- package/dist/chunks/{mime-ft3hqk2c.js → command-c765mh8b.js} +9 -9
- package/dist/chunks/{mime-c8ax2afj.js → command-c8ax2afj.js} +2 -2
- package/dist/chunks/{mime-yvd3xmh6.js → command-cccett8t.js} +85 -85
- package/dist/chunks/{mime-nr82q2y3.js → command-d331akc0.js} +27 -27
- package/dist/chunks/{mime-1nwrzgv4.js → command-d8npn8xg.js} +18 -18
- package/dist/chunks/{mime-addxnjmp.js → command-db2wf4at.js} +4 -4
- package/dist/chunks/{mime-hte375x9.js → command-ded7ed65.js} +13 -13
- package/dist/chunks/{mime-9cbcaerr.js → command-dehk00jt.js} +15 -15
- package/dist/chunks/{mime-drwq78ky.js → command-drwq78ky.js} +1 -1
- package/dist/chunks/{mime-64197h0s.js → command-dtpvhdth.js} +7 -7
- package/dist/chunks/{mime-vtqafnzr.js → command-dys7k0s0.js} +11 -11
- package/dist/chunks/{mime-2zrs9e1z.js → command-e3mqmg8e.js} +7 -7
- package/dist/chunks/{mime-jc7bxj62.js → command-e53ktggx.js} +43 -43
- package/dist/chunks/{mime-2c1y2c17.js → command-e87zkmfq.js} +22 -22
- package/dist/chunks/{mime-bsdt1m9e.js → command-eaeq0sye.js} +7 -7
- package/dist/chunks/{mime-t550f9t1.js → command-eaj1djv9.js} +8 -8
- package/dist/chunks/{mime-e80seqcp.js → command-ed1g29hy.js} +3 -3
- package/dist/chunks/{mime-8758vc7w.js → command-ee1byx1z.js} +24 -24
- package/dist/chunks/{mime-eej6y6fw.js → command-eej6y6fw.js} +2 -2
- package/dist/chunks/{mime-ef5x83kb.js → command-ef5x83kb.js} +1 -1
- package/dist/chunks/{mime-9h6b9xcq.js → command-emhev80g.js} +26 -26
- package/dist/chunks/{mime-vkjxqv50.js → command-eq3njjjt.js} +27 -27
- package/dist/chunks/{mime-2zznshrj.js → command-erj4chxm.js} +14 -14
- package/dist/chunks/{mime-es1vcfrp.js → command-es1vcfrp.js} +3 -3
- package/dist/chunks/{mime-4z58m4b4.js → command-f29mbr7f.js} +4 -4
- package/dist/chunks/{mime-fv1xpqq8.js → command-f4ej5vtm.js} +24 -24
- package/dist/chunks/{mime-bpcp2wk4.js → command-f5rky6pw.js} +30 -30
- package/dist/chunks/{mime-002yfvjw.js → command-f6zrmd8m.js} +20 -20
- package/dist/chunks/{mime-spdr2m8g.js → command-fcs8jd9f.js} +31 -31
- package/dist/chunks/{mime-nd4tfyg0.js → command-g686f6pq.js} +9 -9
- package/dist/chunks/{mime-ykgfn48v.js → command-gbst0gvm.js} +44 -44
- package/dist/chunks/{mime-n21cjp58.js → command-gcxv3h2c.js} +8 -8
- package/dist/chunks/{mime-gd4qta3r.js → command-gd4qta3r.js} +1 -1
- package/dist/chunks/{mime-qne3fa44.js → command-gj71zhbs.js} +5 -5
- package/dist/chunks/{mime-621kfk4a.js → command-gj7khvz3.js} +13 -13
- package/dist/chunks/{mime-gk8qb678.js → command-gk8qb678.js} +1 -1
- package/dist/chunks/{mime-4qneze2k.js → command-gnqwsg0j.js} +9 -9
- package/dist/chunks/{mime-bf73z2bd.js → command-gsnj80d9.js} +47 -98
- package/dist/chunks/{mime-2d3qjknd.js → command-gvxf58ty.js} +13 -13
- package/dist/chunks/command-gzksc6e4.js +26 -0
- package/dist/chunks/{mime-t8g2rvm9.js → command-h3k0sdzw.js} +9 -9
- package/dist/chunks/{mime-h6vf3j39.js → command-h6vf3j39.js} +1 -1
- package/dist/chunks/{mime-4nj4bn9q.js → command-h71w788e.js} +9 -9
- package/dist/chunks/{mime-w546eqkd.js → command-hatca7p1.js} +24 -24
- package/dist/chunks/{mime-scgrse2b.js → command-hdkng2sj.js} +5 -5
- package/dist/chunks/{mime-zg3tcem2.js → command-hes1j7ga.js} +9 -9
- package/dist/chunks/{mime-hgz4x7wa.js → command-hgz4x7wa.js} +1 -1
- package/dist/chunks/{mime-002hnt25.js → command-hqb6mdaz.js} +20 -20
- package/dist/chunks/{mime-vf2dg72c.js → command-hrvrjbe0.js} +5 -5
- package/dist/chunks/{mime-rwbv99bt.js → command-hvtsap7v.js} +20 -20
- package/dist/chunks/{mime-bfbcwk3j.js → command-hy8hfmse.js} +5 -5
- package/dist/chunks/{mime-znqq22v1.js → command-hyzzdb65.js} +12 -12
- package/dist/chunks/{mime-p167xd9m.js → command-hzs77mdg.js} +13 -13
- package/dist/chunks/{mime-j56e64zr.js → command-j56e64zr.js} +1 -1
- package/dist/chunks/{mime-6wzskj7v.js → command-ja2a058e.js} +4 -4
- package/dist/chunks/{mime-83r455cj.js → command-jdz4qjxc.js} +4 -4
- package/dist/chunks/{mime-aysmer6g.js → command-jnyt3wvk.js} +11 -11
- package/dist/chunks/{mime-d4qxdy3f.js → command-k085ax4w.js} +11 -11
- package/dist/chunks/{mime-rxkwhjbw.js → command-k3cg02ta.js} +5 -5
- package/dist/chunks/{mime-mqgk8r7f.js → command-ke0v1s51.js} +42 -42
- package/dist/chunks/{mime-hq3c8me3.js → command-khmqacep.js} +4 -4
- package/dist/chunks/{mime-7d8xn48g.js → command-kwbgkw7p.js} +3 -3
- package/dist/chunks/{mime-ex0pka66.js → command-kzdcqyn1.js} +5 -5
- package/dist/chunks/{mime-w6fjva46.js → command-m1q8be4e.js} +6 -6
- package/dist/chunks/{mime-8nn0aekz.js → command-m7jak9xg.js} +20 -20
- package/dist/chunks/{mime-m2zdk9kx.js → command-m9r522wj.js} +25 -25
- package/dist/chunks/{mime-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
- package/dist/chunks/{mime-v67tqvgv.js → command-mm236w6k.js} +17 -17
- package/dist/chunks/{mime-pccmesk3.js → command-mq9nb5yf.js} +14 -14
- package/dist/chunks/{mime-shxcat2w.js → command-mxv0ahxn.js} +34 -34
- package/dist/chunks/{mime-mz10zc8h.js → command-mzydhjeg.js} +3 -3
- package/dist/chunks/{mime-ttqh24zm.js → command-n4r3xatb.js} +4 -4
- package/dist/chunks/{mime-943skrnc.js → command-n7syarbg.js} +6 -6
- package/dist/chunks/{mime-18wcmczp.js → command-n8cj0r05.js} +3 -3
- package/dist/chunks/{mime-k1xhjma1.js → command-n94jt7k6.js} +11 -11
- package/dist/chunks/{mime-q52t79da.js → command-ngkkqbqm.js} +26 -26
- package/dist/chunks/{mime-1f45z9qr.js → command-njrwvgpc.js} +11 -11
- package/dist/chunks/{mime-agdd9xsj.js → command-npvtjmwq.js} +15 -15
- package/dist/chunks/{mime-v531ggt4.js → command-nr7p0et9.js} +5 -5
- package/dist/chunks/{mime-19vkts2s.js → command-nrxc3w5k.js} +31 -31
- package/dist/chunks/{mime-qa5vprxq.js → command-nt0mjwaw.js} +11 -11
- package/dist/chunks/{mime-egk29gxp.js → command-nz5tb3mz.js} +13 -13
- package/dist/chunks/{mime-dwctjmtf.js → command-p267qznr.js} +32 -32
- package/dist/chunks/{mime-p37cw4rj.js → command-p42hj8p8.js} +8 -8
- package/dist/chunks/{mime-19ehbbx2.js → command-p51cfpkz.js} +11 -11
- package/dist/chunks/{mime-010n58ab.js → command-p6dnv1qh.js} +20 -20
- package/dist/chunks/{mime-pjvnvgmy.js → command-pjvnvgmy.js} +1 -1
- package/dist/chunks/{mime-pknna89w.js → command-pknna89w.js} +1 -1
- package/dist/chunks/{mime-98tgrza1.js → command-pv5w45yn.js} +11 -11
- package/dist/chunks/{mime-qptva5a0.js → command-pz0ytm9k.js} +8 -8
- package/dist/chunks/{mime-0j77ygfz.js → command-q0xm7vwc.js} +6 -6
- package/dist/chunks/{mime-gd0tnyjc.js → command-q5e7cmwt.js} +1 -1
- package/dist/chunks/{mime-hvq1vxtv.js → command-qkb6y1tc.js} +30 -30
- package/dist/chunks/{mime-zfm2k9h8.js → command-qmwxrq4q.js} +3 -3
- package/dist/chunks/{mime-qnc92qwc.js → command-qnc92qwc.js} +1 -1
- package/dist/chunks/{mime-qsdy395h.js → command-qsdy395h.js} +1 -1
- package/dist/chunks/{mime-v56myrm4.js → command-r0p853b9.js} +28 -28
- package/dist/chunks/{mime-h8k9kr22.js → command-r5tpv63y.js} +319 -319
- package/dist/chunks/{mime-cthrtr0v.js → command-r6a4azr4.js} +11 -11
- package/dist/chunks/{mime-yp2x3t23.js → command-r8xr0va3.js} +4 -4
- package/dist/chunks/{mime-6258hrf2.js → command-r9vebypt.js} +16 -16
- package/dist/chunks/{mime-rdw6cm16.js → command-rdw6cm16.js} +1 -1
- package/dist/chunks/{mime-3wm8rynf.js → command-reevcg95.js} +16 -16
- package/dist/chunks/{mime-tyhvedd8.js → command-rg90hx5t.js} +24 -24
- package/dist/chunks/{mime-8vg2ek78.js → command-rhv7vgb3.js} +3 -3
- package/dist/chunks/{mime-rkprpv83.js → command-rkprpv83.js} +2 -2
- package/dist/chunks/{mime-q7sg16y8.js → command-rmpnsk58.js} +24 -24
- package/dist/chunks/{mime-85xxa1xb.js → command-rqa1jxse.js} +2 -2
- package/dist/chunks/{mime-7x88nx06.js → command-rvea9875.js} +9 -9
- package/dist/chunks/{mime-mtq6xxnx.js → command-ryr25ayn.js} +7 -7
- package/dist/chunks/{mime-50gcym7f.js → command-s5phpar0.js} +9 -9
- package/dist/chunks/{mime-h14hz9z0.js → command-s98w7xaq.js} +13 -13
- package/dist/chunks/{mime-nwb5j2mm.js → command-sd66kwnn.js} +11 -11
- package/dist/chunks/{mime-a3vy0zy5.js → command-sefmw985.js} +26 -26
- package/dist/chunks/{mime-8ja30ehw.js → command-sf0yp864.js} +8 -8
- package/dist/chunks/{mime-vqgjf46c.js → command-sf6256ff.js} +4 -4
- package/dist/chunks/{mime-b8j6recp.js → command-sg56rmc9.js} +9 -9
- package/dist/chunks/{mime-mg1adt76.js → command-sgfee8yb.js} +5 -5
- package/dist/chunks/{mime-5a2crbnm.js → command-snnejgvy.js} +23 -23
- package/dist/chunks/{mime-k3bh1kct.js → command-svcw9x3w.js} +5 -5
- package/dist/chunks/{mime-dvf6tdtm.js → command-sx7mvmwx.js} +5 -5
- package/dist/chunks/{mime-syv4x271.js → command-syv4x271.js} +1 -1
- package/dist/chunks/{mime-r1v71m1q.js → command-t4g07myj.js} +11 -11
- package/dist/chunks/{mime-305smynn.js → command-t5mnyv20.js} +3 -3
- package/dist/chunks/{mime-tazgh4e4.js → command-tazgh4e4.js} +1 -1
- package/dist/chunks/{mime-tcezcvh9.js → command-tcezcvh9.js} +1 -1
- package/dist/chunks/{mime-rcxxtyg9.js → command-tdcm2knz.js} +32 -32
- package/dist/chunks/{mime-tdstcens.js → command-tdstcens.js} +1 -1
- package/dist/chunks/{mime-tkb22qbm.js → command-tkb22qbm.js} +2 -2
- package/dist/chunks/{mime-0paq2nw3.js → command-tm0kqsz3.js} +26 -2
- package/dist/chunks/{mime-k5ha2rxc.js → command-trs4csaq.js} +27 -27
- package/dist/chunks/{mime-1fxcdfpr.js → command-ts860kc8.js} +11 -11
- package/dist/chunks/{mime-tyytaxap.js → command-tyytaxap.js} +1 -1
- package/dist/chunks/{mime-v0es1rhs.js → command-v0es1rhs.js} +2 -2
- package/dist/chunks/{mime-v7p4zvkq.js → command-v7p4zvkq.js} +2 -2
- package/dist/chunks/{mime-ztkjbas2.js → command-vdwvtvgk.js} +54 -54
- package/dist/chunks/{mime-fzejrech.js → command-vea3bt9n.js} +8 -8
- package/dist/chunks/{mime-veqvce7d.js → command-veqvce7d.js} +1 -1
- package/dist/chunks/{mime-817wyjpp.js → command-vy8bzexn.js} +20 -20
- package/dist/chunks/{mime-vzs5sf6e.js → command-vzs5sf6e.js} +1 -1
- package/dist/chunks/{mime-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
- package/dist/chunks/{mime-rkg4v3e5.js → command-waskdk5r.js} +9 -9
- package/dist/chunks/{mime-wd87259q.js → command-wd87259q.js} +1 -1
- package/dist/chunks/{mime-gsb0ytgh.js → command-wggd68j5.js} +4 -4
- package/dist/chunks/{mime-ft8f0j73.js → command-wh1armcy.js} +30 -30
- package/dist/chunks/{mime-6yz0wx8n.js → command-wh6zw745.js} +5 -5
- package/dist/chunks/{mime-1ffvrpkg.js → command-wjr9rjd7.js} +9 -9
- package/dist/chunks/{mime-nyq6zjbq.js → command-wkrrhx1g.js} +18 -18
- package/dist/chunks/{mime-vz1740cg.js → command-wtkbvwtp.js} +25 -25
- package/dist/chunks/{mime-b5expwxh.js → command-wymw8b6n.js} +12 -12
- package/dist/chunks/{mime-r9gmq3a3.js → command-x4e9fr25.js} +2 -2
- package/dist/chunks/{mime-b5pctew3.js → command-x7m2pq7s.js} +9 -9
- package/dist/chunks/{mime-cy5d7jcg.js → command-x7q2mydz.js} +6 -6
- package/dist/chunks/command-x8196b4w.js +253 -0
- package/dist/chunks/{mime-9gagznbj.js → command-xmmcf9bt.js} +5 -5
- package/dist/chunks/{mime-zdssxewb.js → command-xpgsdcx2.js} +8 -8
- package/dist/chunks/{mime-t44n0djv.js → command-xxc15cb4.js} +17 -17
- package/dist/chunks/{mime-y1fvbwt7.js → command-y1fvbwt7.js} +1 -1
- package/dist/chunks/{mime-dpkg50ah.js → command-y71avatq.js} +4 -4
- package/dist/chunks/{mime-hdnmq8jc.js → command-y7ppa9zv.js} +14 -14
- package/dist/chunks/{mime-cjdmztnd.js → command-y9y6emgs.js} +36 -36
- package/dist/chunks/{mime-28rmsg7j.js → command-yabdq57b.js} +15 -15
- package/dist/chunks/{mime-d0k1g5nx.js → command-ycjb11n5.js} +6 -6
- package/dist/chunks/{mime-c74pnqn7.js → command-yk0w1sxf.js} +5 -5
- package/dist/chunks/{mime-z0bkrqjs.js → command-z0bkrqjs.js} +1 -1
- package/dist/chunks/{mime-564q7t6e.js → command-z463bfa6.js} +19 -19
- package/dist/chunks/{mime-4b2pdyzr.js → command-z4zmw5wd.js} +43 -43
- package/dist/chunks/{mime-ctdy4p88.js → command-z65krm0a.js} +18 -18
- package/dist/chunks/{mime-2eqf98j4.js → command-zc7432er.js} +30 -30
- package/dist/chunks/{mime-bbmgsf8y.js → command-zkgp92a0.js} +16 -16
- package/dist/chunks/{mime-kbkgrfea.js → command-zmekajch.js} +11 -11
- package/dist/chunks/{mime-q4eqpz6z.js → command-zq51jzx2.js} +21 -21
- package/dist/chunks/{mime-zr2ceqn5.js → command-zr2ceqn5.js} +1 -1
- package/dist/chunks/{mime-7t45mqen.js → command-zryp2me0.js} +23 -23
- package/dist/chunks/{mime-1vdt07et.js → command-ztm4jwfz.js} +4 -4
- package/dist/chunks/{mime-zxq2ej10.js → command-zxq2ej10.js} +1 -1
- package/dist/chunks/{mime-vfjhn2wd.js → command-zy43x3f1.js} +4 -4
- package/dist/chunks/{mime-s674p844.js → command-zyfyd078.js} +2 -2
- package/dist/chunks/{mime-ydp8pw23.js → command-zynkq0bw.js} +10 -10
- package/dist/chunks/{mime-xyn3q1e0.js → command-zzqs5kr4.js} +49 -49
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +120 -120
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +92 -92
- package/dist/config/plugin/location-watcher.js +120 -120
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +120 -120
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +119 -119
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +72 -72
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- package/dist/git.js +6 -6
- 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 +101 -101
- 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/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 +87 -87
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +102 -102
- package/dist/models-dev.js +99 -99
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +117 -117
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +118 -119
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +96 -96
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -127
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +99 -99
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +92 -92
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +116 -116
- 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 +6 -6
- 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 +220 -220
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +137 -137
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- 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 +216 -216
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +127 -127
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +209 -209
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- 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 +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +108 -108
- package/dist/snapshot.js +95 -95
- 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 +122 -122
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/types/plugin/provider/azure.d.ts +2 -3
- package/dist/types/v1/config/migrate.d.ts +9 -3
- package/dist/types/v1/config/provider-options.d.ts +8 -0
- 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/command.js +5 -5
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +3 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/mime-5r09gv9w.js +0 -26
- package/dist/chunks/mime-9sh4wc5j.js +0 -18
- package/dist/chunks/mime-aars6rd8.js +0 -253
- /package/dist/chunks/{mime-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{mime-0zkw76rk.js → command-0zkw76rk.js} +0 -0
- /package/dist/chunks/{mime-17cy0kzp.js → command-17cy0kzp.js} +0 -0
- /package/dist/chunks/{mime-1cnp2v09.js → command-1cnp2v09.js} +0 -0
- /package/dist/chunks/{mime-1kg9ymc8.js → command-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{mime-24dcb14g.js → command-24dcb14g.js} +0 -0
- /package/dist/chunks/{mime-2710q6r3.js → command-2710q6r3.js} +0 -0
- /package/dist/chunks/{mime-2axfhc9x.js → command-2axfhc9x.js} +0 -0
- /package/dist/chunks/{mime-2bv980vf.js → command-2bv980vf.js} +0 -0
- /package/dist/chunks/{mime-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{mime-359p4xyc.js → command-359p4xyc.js} +0 -0
- /package/dist/chunks/{mime-3asan66x.js → command-3asan66x.js} +0 -0
- /package/dist/chunks/{mime-3t0ybcrp.js → command-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{mime-3v8g72cx.js → command-3v8g72cx.js} +0 -0
- /package/dist/chunks/{mime-3wcehsnq.js → command-3wcehsnq.js} +0 -0
- /package/dist/chunks/{mime-43n2bw4t.js → command-43n2bw4t.js} +0 -0
- /package/dist/chunks/{mime-4knz6hnm.js → command-4knz6hnm.js} +0 -0
- /package/dist/chunks/{mime-4vcrnpx2.js → command-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{mime-4y7fprxs.js → command-4y7fprxs.js} +0 -0
- /package/dist/chunks/{mime-53557ph1.js → command-53557ph1.js} +0 -0
- /package/dist/chunks/{mime-550bvhaj.js → command-550bvhaj.js} +0 -0
- /package/dist/chunks/{mime-6prwharc.js → command-6prwharc.js} +0 -0
- /package/dist/chunks/{mime-6q2bdcd1.js → command-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{mime-7akdwqpd.js → command-7akdwqpd.js} +0 -0
- /package/dist/chunks/{mime-7m9af43g.js → command-7m9af43g.js} +0 -0
- /package/dist/chunks/{mime-822emrt2.js → command-822emrt2.js} +0 -0
- /package/dist/chunks/{mime-84wd9syh.js → command-84wd9syh.js} +0 -0
- /package/dist/chunks/{mime-88xbtdfr.js → command-88xbtdfr.js} +0 -0
- /package/dist/chunks/{mime-8n3pysct.js → command-8n3pysct.js} +0 -0
- /package/dist/chunks/{mime-8wj87zfr.js → command-8wj87zfr.js} +0 -0
- /package/dist/chunks/{mime-9a4afbnw.js → command-9a4afbnw.js} +0 -0
- /package/dist/chunks/{mime-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{mime-a6k6eb26.js → command-a6k6eb26.js} +0 -0
- /package/dist/chunks/{mime-af5trqkr.js → command-af5trqkr.js} +0 -0
- /package/dist/chunks/{mime-afrmfg78.js → command-afrmfg78.js} +0 -0
- /package/dist/chunks/{mime-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{mime-atq7p7m5.js → command-atq7p7m5.js} +0 -0
- /package/dist/chunks/{mime-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{mime-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{mime-bw78ga2c.js → command-bw78ga2c.js} +0 -0
- /package/dist/chunks/{mime-cf4snx6d.js → command-cf4snx6d.js} +0 -0
- /package/dist/chunks/{mime-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{mime-d9fn303g.js → command-d9fn303g.js} +0 -0
- /package/dist/chunks/{mime-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{mime-dajrwvna.js → command-dajrwvna.js} +0 -0
- /package/dist/chunks/{mime-dap0rakb.js → command-dap0rakb.js} +0 -0
- /package/dist/chunks/{mime-df08tz66.js → command-df08tz66.js} +0 -0
- /package/dist/chunks/{mime-dy18nga0.js → command-dy18nga0.js} +0 -0
- /package/dist/chunks/{mime-e5kj55wp.js → command-e5kj55wp.js} +0 -0
- /package/dist/chunks/{mime-e73j6tqm.js → command-e73j6tqm.js} +0 -0
- /package/dist/chunks/{mime-ec1grn59.js → command-ec1grn59.js} +0 -0
- /package/dist/chunks/{mime-eh3zwz77.js → command-eh3zwz77.js} +0 -0
- /package/dist/chunks/{mime-emrn6kk6.js → command-emrn6kk6.js} +0 -0
- /package/dist/chunks/{mime-f0mxakyp.js → command-f0mxakyp.js} +0 -0
- /package/dist/chunks/{mime-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{mime-faypxj3z.js → command-faypxj3z.js} +0 -0
- /package/dist/chunks/{mime-fd410y7t.js → command-fd410y7t.js} +0 -0
- /package/dist/chunks/{mime-g4wezp1m.js → command-g4wezp1m.js} +0 -0
- /package/dist/chunks/{mime-g86h250q.js → command-g86h250q.js} +0 -0
- /package/dist/chunks/{mime-gebd4c9n.js → command-gebd4c9n.js} +0 -0
- /package/dist/chunks/{mime-gftt206x.js → command-gftt206x.js} +0 -0
- /package/dist/chunks/{mime-hk9envan.js → command-hk9envan.js} +0 -0
- /package/dist/chunks/{mime-j2ntwpah.js → command-j2ntwpah.js} +0 -0
- /package/dist/chunks/{mime-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{mime-jjkms2e6.js → command-jjkms2e6.js} +0 -0
- /package/dist/chunks/{mime-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{mime-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{mime-jze0r7bz.js → command-jze0r7bz.js} +0 -0
- /package/dist/chunks/{mime-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{mime-m18g726c.js → command-m18g726c.js} +0 -0
- /package/dist/chunks/{mime-mp448xyj.js → command-mp448xyj.js} +0 -0
- /package/dist/chunks/{mime-msx8hqn2.js → command-msx8hqn2.js} +0 -0
- /package/dist/chunks/{mime-n05xt0ee.js → command-n05xt0ee.js} +0 -0
- /package/dist/chunks/{mime-n3j8tn72.js → command-n3j8tn72.js} +0 -0
- /package/dist/chunks/{mime-njntx4h6.js → command-njntx4h6.js} +0 -0
- /package/dist/chunks/{mime-pkyv6v7h.js → command-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{mime-pyv0edze.js → command-pyv0edze.js} +0 -0
- /package/dist/chunks/{mime-q3sfg36h.js → command-q3sfg36h.js} +0 -0
- /package/dist/chunks/{mime-q74kybfr.js → command-q74kybfr.js} +0 -0
- /package/dist/chunks/{mime-qaymkmh1.js → command-qaymkmh1.js} +0 -0
- /package/dist/chunks/{mime-qb87gjwd.js → command-qb87gjwd.js} +0 -0
- /package/dist/chunks/{mime-qfa1cgps.js → command-qfa1cgps.js} +0 -0
- /package/dist/chunks/{mime-qg3g05ea.js → command-qg3g05ea.js} +0 -0
- /package/dist/chunks/{mime-qrg20bc0.js → command-qrg20bc0.js} +0 -0
- /package/dist/chunks/{mime-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{mime-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{mime-ssg3fenm.js → command-ssg3fenm.js} +0 -0
- /package/dist/chunks/{mime-ve7vex1e.js → command-ve7vex1e.js} +0 -0
- /package/dist/chunks/{mime-w803qqfp.js → command-w803qqfp.js} +0 -0
- /package/dist/chunks/{mime-wc3fc9cn.js → command-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{mime-wer8tq1h.js → command-wer8tq1h.js} +0 -0
- /package/dist/chunks/{mime-wtztk69x.js → command-wtztk69x.js} +0 -0
- /package/dist/chunks/{mime-x0ckcb58.js → command-x0ckcb58.js} +0 -0
- /package/dist/chunks/{mime-x61499pn.js → command-x61499pn.js} +0 -0
- /package/dist/chunks/{mime-y44na4kk.js → command-y44na4kk.js} +0 -0
- /package/dist/chunks/{mime-y8f7s663.js → command-y8f7s663.js} +0 -0
- /package/dist/chunks/{mime-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{mime-ym463w8f.js → command-ym463w8f.js} +0 -0
- /package/dist/chunks/{mime-z5v4ffb3.js → command-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{mime-z9919s4g.js → command-z9919s4g.js} +0 -0
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-hgz4x7wa.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
8
|
Service81
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-x4e9fr25.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service53
|
|
12
|
+
} from "./command-zq51jzx2.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service44
|
|
16
|
+
} from "./command-wkrrhx1g.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
21
|
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./command-nrxc3w5k.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service75
|
|
26
|
+
} from "./command-vdwvtvgk.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service14
|
|
29
|
+
} from "./command-9ygwj23r.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./command-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
38
|
+
Input: () => Input10,
|
|
39
39
|
Output: () => Output8,
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
42
|
-
toModelContent: () =>
|
|
40
|
+
Plugin: () => Plugin45,
|
|
41
|
+
name: () => name10,
|
|
42
|
+
toModelContent: () => toModelContent5
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name10 = "grep";
|
|
48
|
+
var Input10 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -66,7 +66,7 @@ var Input12 = Schema.Struct({
|
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
68
|
var Output8 = Schema.Array(Match2);
|
|
69
|
-
var
|
|
69
|
+
var toModelContent5 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
72
72
|
for (const match of matches) {
|
|
@@ -83,26 +83,26 @@ var toModelContent6 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin45 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
89
|
+
const environment = yield* Service53;
|
|
90
|
+
const ripgrep = yield* Service44;
|
|
91
91
|
const location = yield* Service81;
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
92
|
+
const access = yield* Service14;
|
|
93
|
+
const permission = yield* Service75;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name10,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
98
|
+
input: Input10,
|
|
99
99
|
output: Output8,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name10,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -144,7 +144,7 @@ var Plugin15 = {
|
|
|
144
144
|
return { matches: matches.slice(0, limit), truncated: matches.length > limit };
|
|
145
145
|
}).pipe(Effect.map((result) => ({
|
|
146
146
|
output: result.matches,
|
|
147
|
-
content:
|
|
147
|
+
content: toModelContent5(result.matches.map((match) => ({
|
|
148
148
|
...match,
|
|
149
149
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
150
150
|
})), result.truncated),
|
|
@@ -154,4 +154,4 @@ var Plugin15 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name10, Input10, Output8, toModelContent5, Plugin45, exports_grep };
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
provider2,
|
|
3
|
-
model2
|
|
4
|
-
|
|
3
|
+
model2,
|
|
4
|
+
compatibleModel2
|
|
5
|
+
} from "./command-tm0kqsz3.js";
|
|
5
6
|
import {
|
|
6
7
|
aisdk2
|
|
7
|
-
} from "./
|
|
8
|
+
} from "./command-70az54m3.js";
|
|
8
9
|
import {
|
|
9
10
|
Capabilities2,
|
|
10
11
|
compatibility2
|
|
11
|
-
} from "./
|
|
12
|
+
} from "./command-trs4csaq.js";
|
|
12
13
|
import {
|
|
13
14
|
__export
|
|
14
|
-
} from "./
|
|
15
|
+
} from "./command-9rqn6x4v.js";
|
|
15
16
|
|
|
16
17
|
// src/v1/config/migrate.ts
|
|
17
18
|
var exports_migrate = {};
|
|
@@ -128,7 +129,7 @@ function migrateStandardProvider(info) {
|
|
|
128
129
|
settings: info.api ? { ...options.settings, baseURL: info.api } : info.options ? options.settings : undefined,
|
|
129
130
|
headers: info.options && options.headers,
|
|
130
131
|
body: info.options && options.body,
|
|
131
|
-
models: info.models && Object.fromEntries(Object.entries(info.models).map(([name, model]) => [name, migrateModel(model)]))
|
|
132
|
+
models: info.models && Object.fromEntries(Object.entries(info.models).map(([name, model]) => [name, migrateModel(model, info.npm)]))
|
|
132
133
|
};
|
|
133
134
|
}
|
|
134
135
|
function migrateAzureCognitiveServicesProvider(info) {
|
|
@@ -166,7 +167,7 @@ function providerID2(input) {
|
|
|
166
167
|
return "google-vertex";
|
|
167
168
|
return input;
|
|
168
169
|
}
|
|
169
|
-
function migrateModel(info) {
|
|
170
|
+
function migrateModel(info, npm) {
|
|
170
171
|
const disableThinkingBlockBinding = info.options?.thinking?.blockBinding === false || info.options?.reasoningConfig?.blockBinding === false;
|
|
171
172
|
const options = info.options && { ...info.options };
|
|
172
173
|
if (options && disableThinkingBlockBinding) {
|
|
@@ -181,7 +182,10 @@ function migrateModel(info) {
|
|
|
181
182
|
delete options[key];
|
|
182
183
|
}
|
|
183
184
|
}
|
|
184
|
-
const
|
|
185
|
+
const compatible = (info.provider?.npm ?? npm) === "@ai-sdk/openai-compatible";
|
|
186
|
+
const split = (input) => compatible ? compatibleModel2(input) : { settings: model2(input), body: undefined };
|
|
187
|
+
const migrated = options && split(options);
|
|
188
|
+
const settings = migrated?.settings;
|
|
185
189
|
const compatibility = compatibility2(info.interleaved);
|
|
186
190
|
const costs = info.cost && [
|
|
187
191
|
{
|
|
@@ -213,10 +217,8 @@ function migrateModel(info) {
|
|
|
213
217
|
settings: info.provider?.api ? { ...settings, baseURL: info.provider.api } : settings,
|
|
214
218
|
capabilities,
|
|
215
219
|
headers: info.headers,
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
settings: model2(options)
|
|
219
|
-
})),
|
|
220
|
+
body: migrated?.body,
|
|
221
|
+
variants: info.variants && Object.entries(info.variants).map(([id, options]) => ({ id, ...split(options) })),
|
|
220
222
|
cost: costs,
|
|
221
223
|
disabled: info.status === "deprecated" ? true : undefined,
|
|
222
224
|
limit: info.limit && {
|
|
@@ -5,24 +5,24 @@ import {
|
|
|
5
5
|
emptyPatch2,
|
|
6
6
|
splitGitPatch2,
|
|
7
7
|
chunksByFile2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./command-tazgh4e4.js";
|
|
9
9
|
import {
|
|
10
10
|
gitExecutable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./command-ef5x83kb.js";
|
|
12
12
|
import {
|
|
13
13
|
Service81
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./command-x4e9fr25.js";
|
|
15
15
|
import {
|
|
16
16
|
DiffError2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./command-9gz7rpcg.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./command-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/vcs/git.ts
|
|
23
23
|
var exports_git = {};
|
|
24
24
|
__export(exports_git, {
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin25,
|
|
26
26
|
VcsGitPlugin: () => exports_git
|
|
27
27
|
});
|
|
28
28
|
import { randomUUID } from "crypto";
|
|
@@ -33,7 +33,7 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
import { ChildProcess } from "effect/process";
|
|
35
35
|
import { AppProcess } from "@opencode/util/process";
|
|
36
|
-
var
|
|
36
|
+
var Plugin25 = define({
|
|
37
37
|
id: "opencode.vcs.git",
|
|
38
38
|
effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
|
|
39
39
|
const location = yield* Service81;
|
|
@@ -553,4 +553,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
553
553
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
554
554
|
});
|
|
555
555
|
|
|
556
|
-
export {
|
|
556
|
+
export { Plugin25, exports_git };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-svcw9x3w.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./command-0vbcp93d.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
14
14
|
__export(exports_git2, {
|
|
15
15
|
WorktreeGit: () => exports_git2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make15
|
|
17
17
|
});
|
|
18
18
|
import { Effect } from "effect";
|
|
19
19
|
import { Worktree } from "@opencode/schema/worktree";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
|
-
var
|
|
21
|
+
var make15 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
23
|
const git = yield* Service83;
|
|
24
24
|
return {
|
|
@@ -46,4 +46,4 @@ var make21 = Effect.gen(function* () {
|
|
|
46
46
|
};
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { make15, exports_git2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
create3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-rdw6cm16.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool-output.ts
|
|
12
12
|
var exports_tool_output2 = {};
|
|
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
|
|
|
15
15
|
MAX_BYTES: () => MAX_BYTES2,
|
|
16
16
|
MAX_LINES: () => MAX_LINES2,
|
|
17
17
|
RETENTION: () => RETENTION3,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service51,
|
|
19
19
|
ToolOutput: () => exports_tool_output2,
|
|
20
20
|
fileName: () => fileName2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node55
|
|
22
22
|
});
|
|
23
23
|
import path from "path";
|
|
24
24
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
|
|
|
32
32
|
var DIRECTORY3 = "tool-output";
|
|
33
33
|
var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service51 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(Service51, 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);
|
|
@@ -116,7 +116,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
116
116
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
117
117
|
};
|
|
118
118
|
});
|
|
119
|
-
return
|
|
119
|
+
return Service51.of({
|
|
120
120
|
transform: state.transform,
|
|
121
121
|
reload: state.reload,
|
|
122
122
|
truncate,
|
|
@@ -133,10 +133,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
133
133
|
layer: cleanupLayer,
|
|
134
134
|
deps: [FSUtil.node, Global.node]
|
|
135
135
|
});
|
|
136
|
-
var
|
|
137
|
-
service:
|
|
136
|
+
var node55 = makeLocationNode({
|
|
137
|
+
service: Service51,
|
|
138
138
|
layer,
|
|
139
139
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
140
140
|
});
|
|
141
141
|
|
|
142
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2,
|
|
142
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service51, node55, exports_tool_output2 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-7rce4ag1.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-wjr9rjd7.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/tinyfish.ts
|
|
12
12
|
var exports_tinyfish = {};
|
|
13
13
|
__export(exports_tinyfish, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin23,
|
|
15
15
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint5
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint5 = "https://agent.tinyfish.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String
|
|
24
24
|
});
|
|
@@ -33,7 +33,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
33
33
|
}))
|
|
34
34
|
}));
|
|
35
35
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
36
|
-
var
|
|
36
|
+
var Plugin23 = define({
|
|
37
37
|
id: "opencode.websearch.tinyfish",
|
|
38
38
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
39
39
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -55,7 +55,7 @@ var Plugin22 = define({
|
|
|
55
55
|
execute: (input) => Effect.gen(function* () {
|
|
56
56
|
const connection = yield* ctx.integration.connection.active("tinyfish");
|
|
57
57
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
58
|
-
const result = yield* call2(http,
|
|
58
|
+
const result = yield* call2(http, endpoint5, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
|
|
59
59
|
"User-Agent": useragent2(ctx.app),
|
|
60
60
|
...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
|
|
61
61
|
});
|
|
@@ -73,4 +73,4 @@ var Plugin22 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { endpoint5, Plugin23, exports_tinyfish };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-b4fmh4gz.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./command-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
key2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./command-db2wf4at.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
13
|
+
ID10,
|
|
14
|
+
Service69,
|
|
15
|
+
node73,
|
|
16
|
+
Event15
|
|
17
|
+
} from "./command-zc7432er.js";
|
|
18
18
|
import {
|
|
19
19
|
Service81,
|
|
20
20
|
node85
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./command-x4e9fr25.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./command-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -38,13 +38,13 @@ __export(exports_provider3, {
|
|
|
38
38
|
AISDK_PREFIX: () => AISDK_PREFIX2,
|
|
39
39
|
Compaction: () => Compaction3,
|
|
40
40
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
|
|
41
|
-
Event: () =>
|
|
42
|
-
ID: () =>
|
|
43
|
-
Info: () =>
|
|
41
|
+
Event: () => Event14,
|
|
42
|
+
ID: () => ID9,
|
|
43
|
+
Info: () => Info18,
|
|
44
44
|
LoadError: () => LoadError3,
|
|
45
45
|
Provider: () => exports_provider3,
|
|
46
|
-
Request: () =>
|
|
47
|
-
Service: () =>
|
|
46
|
+
Request: () => Request2,
|
|
47
|
+
Service: () => Service68,
|
|
48
48
|
Settings: () => Settings2,
|
|
49
49
|
Transport: () => Transport2,
|
|
50
50
|
aisdk: () => aisdk2,
|
|
@@ -54,7 +54,7 @@ __export(exports_provider3, {
|
|
|
54
54
|
mergeOverlay: () => mergeOverlay2,
|
|
55
55
|
modelSettings: () => modelSettings2,
|
|
56
56
|
nativeSettings: () => nativeSettings2,
|
|
57
|
-
node: () =>
|
|
57
|
+
node: () => node72,
|
|
58
58
|
packageName: () => packageName2,
|
|
59
59
|
timeout: () => timeout2,
|
|
60
60
|
timeouts: () => timeouts2
|
|
@@ -68,8 +68,8 @@ import { isRecord } from "@opencode/ai/utils/record";
|
|
|
68
68
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
69
69
|
import { Credential } from "@opencode/schema/credential";
|
|
70
70
|
import { freeze } from "immer";
|
|
71
|
-
import { Event as
|
|
72
|
-
var
|
|
71
|
+
import { Event as Event14 } from "@opencode/schema/provider";
|
|
72
|
+
var ID9 = Provider.ID;
|
|
73
73
|
var AISDK_PREFIX2 = "aisdk:";
|
|
74
74
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
75
75
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -242,13 +242,13 @@ function mergeHeaders2(base, overlay) {
|
|
|
242
242
|
return result;
|
|
243
243
|
}, new Map).values());
|
|
244
244
|
}
|
|
245
|
-
var
|
|
245
|
+
var Request2 = Provider.Request;
|
|
246
246
|
var Compaction3 = Provider.Compaction;
|
|
247
247
|
var Transport2 = Provider.Transport;
|
|
248
248
|
var Settings2 = Provider.Settings;
|
|
249
|
-
var
|
|
249
|
+
var Info18 = Provider.Info;
|
|
250
250
|
|
|
251
|
-
class
|
|
251
|
+
class Service68 extends Context.Service()("@opencode/Provider") {
|
|
252
252
|
}
|
|
253
253
|
var definitions = new WeakMap;
|
|
254
254
|
function index(providerID, models) {
|
|
@@ -261,9 +261,9 @@ function index(providerID, models) {
|
|
|
261
261
|
definitions.set(models, indexes);
|
|
262
262
|
return result;
|
|
263
263
|
}
|
|
264
|
-
var layer = Layer.effect(
|
|
264
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
265
265
|
const bus = yield* Service84;
|
|
266
|
-
const integrations = yield*
|
|
266
|
+
const integrations = yield* Service69;
|
|
267
267
|
const location = yield* Service81;
|
|
268
268
|
const state = create3({
|
|
269
269
|
name: "provider",
|
|
@@ -275,7 +275,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
275
275
|
const current = records.get(id);
|
|
276
276
|
if (current)
|
|
277
277
|
return current;
|
|
278
|
-
const added = { provider:
|
|
278
|
+
const added = { provider: Info18.empty(id), models: new Map };
|
|
279
279
|
records.set(id, added);
|
|
280
280
|
maps.add(added.models);
|
|
281
281
|
return added;
|
|
@@ -356,7 +356,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
356
356
|
const available = Array.from(records.values()).filter((record) => {
|
|
357
357
|
if (record.provider.activation === "disabled")
|
|
358
358
|
return false;
|
|
359
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
359
|
+
const integration = byID.get(record.provider.integrationID ?? ID10.make(record.provider.id));
|
|
360
360
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
361
361
|
return false;
|
|
362
362
|
if (record.provider.activation === "enabled")
|
|
@@ -382,8 +382,8 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
382
382
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
383
383
|
});
|
|
384
384
|
});
|
|
385
|
-
yield* bus.subscribe([
|
|
386
|
-
return
|
|
385
|
+
yield* bus.subscribe([Event15.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
386
|
+
return Service68.of({
|
|
387
387
|
transform: state.transform,
|
|
388
388
|
reload: state.reload,
|
|
389
389
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -392,7 +392,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
392
392
|
snapshot
|
|
393
393
|
});
|
|
394
394
|
}));
|
|
395
|
-
var
|
|
395
|
+
var node72 = makeLocationNode({ service: Service68, layer, deps: [node88, node73, node85] });
|
|
396
396
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
397
397
|
const module = yield* Effect.tryPromise({
|
|
398
398
|
try: () => {
|
|
@@ -670,4 +670,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
670
670
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
671
671
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
672
672
|
|
|
673
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
673
|
+
export { rewrite2, native2, exports_aisdk_native, ID9, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, timeout2, timeouts2, mergeOverlay2, mergeHeaders2, Request2, Compaction3, Transport2, Settings2, Info18, Service68, node72, exports_provider3, Event14 };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-b4fmh4gz.js";
|
|
5
5
|
import {
|
|
6
6
|
Service67,
|
|
7
7
|
node71
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./command-mzydhjeg.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./command-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./command-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/websearch.ts
|
|
17
17
|
var exports_websearch3 = {};
|
|
18
18
|
__export(exports_websearch3, {
|
|
19
19
|
DisabledError: () => DisabledError2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Input: () =>
|
|
20
|
+
Event: () => Event8,
|
|
21
|
+
ID: () => ID5,
|
|
22
|
+
Input: () => Input14,
|
|
23
23
|
Provider: () => Provider2,
|
|
24
24
|
ProviderKey: () => ProviderKey2,
|
|
25
25
|
ProviderNotFoundError: () => ProviderNotFoundError2,
|
|
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
|
|
|
28
28
|
Response: () => Response2,
|
|
29
29
|
Result: () => Result2,
|
|
30
30
|
Selection: () => Selection2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service45,
|
|
32
32
|
WebSearch: () => exports_websearch3,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node48
|
|
34
34
|
});
|
|
35
35
|
import { WebSearch } from "@opencode/schema/websearch";
|
|
36
36
|
import { SessionEvent } from "@opencode/schema/session-event";
|
|
37
37
|
import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
|
|
38
38
|
import { HttpClientError } from "effect/http";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
import { Event as
|
|
41
|
-
var
|
|
40
|
+
import { Event as Event8 } from "@opencode/schema/websearch";
|
|
41
|
+
var ID5 = WebSearch.ID;
|
|
42
42
|
var Provider2 = WebSearch.Provider;
|
|
43
|
-
var
|
|
43
|
+
var Input14 = WebSearch.Input;
|
|
44
44
|
var Result2 = WebSearch.Result;
|
|
45
45
|
var Response2 = WebSearch.Response;
|
|
46
46
|
var ProviderKey2 = "websearch:provider";
|
|
47
|
-
var Selection2 = Schema.Union([
|
|
47
|
+
var Selection2 = Schema.Union([ID5, Schema.Literal("random"), Schema.Literal(false)]);
|
|
48
48
|
|
|
49
49
|
class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
|
|
53
|
-
providerID:
|
|
53
|
+
providerID: ID5
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
@@ -58,14 +58,14 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
61
|
-
providerID:
|
|
61
|
+
providerID: ID5,
|
|
62
62
|
cause: Schema.Defect()
|
|
63
63
|
}) {
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
class
|
|
66
|
+
class Service45 extends Context.Service()("@opencode/WebSearch") {
|
|
67
67
|
}
|
|
68
|
-
var layer = Layer.effect(
|
|
68
|
+
var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
69
69
|
const bus = yield* Service84;
|
|
70
70
|
const kv = yield* Service67;
|
|
71
71
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
124
124
|
}
|
|
125
125
|
return choice ? state.get().providers.get(choice) : undefined;
|
|
126
126
|
});
|
|
127
|
-
return
|
|
127
|
+
return Service45.of({
|
|
128
128
|
transform: state.transform,
|
|
129
129
|
reload: state.reload,
|
|
130
130
|
providers: Effect.fn("WebSearch.providers")(function* () {
|
|
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
|
|
|
184
184
|
const date = Date.parse(value);
|
|
185
185
|
return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
|
|
186
186
|
}
|
|
187
|
-
var
|
|
188
|
-
service:
|
|
187
|
+
var node48 = makeLocationNode({
|
|
188
|
+
service: Service45,
|
|
189
189
|
layer,
|
|
190
190
|
deps: [node88, node71]
|
|
191
191
|
});
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { ID5, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service45, node48, exports_websearch3, Event8 };
|