@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,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-b4fmh4gz.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
5
|
+
ID11,
|
|
6
|
+
Event16,
|
|
7
|
+
Service70
|
|
8
|
+
} from "./command-wh1armcy.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID9
|
|
11
|
+
} from "./command-70az54m3.js";
|
|
12
12
|
import {
|
|
13
13
|
configuredSettings2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./command-x7q2mydz.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/provider/google-vertex.ts
|
|
17
17
|
import { Effect, Option, Schema, Stream } from "effect";
|
|
@@ -41,7 +41,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
41
41
|
id: "opencode.provider.google.vertex",
|
|
42
42
|
effect: Effect.fn(function* (ctx) {
|
|
43
43
|
const fs = yield* FSUtil.Service;
|
|
44
|
-
const credentials = yield*
|
|
44
|
+
const credentials = yield* Service70;
|
|
45
45
|
const bus = yield* Service84;
|
|
46
46
|
const read = (file) => fs.readFileStringSafe(file).pipe(Effect.orElseSucceed(() => {
|
|
47
47
|
return;
|
|
@@ -51,7 +51,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
51
51
|
const configs = (yield* fs.readDirectory(path.join(gcloud, "configurations")).pipe(Effect.orElseSucceed(() => []))).filter((name) => name.startsWith("config_")).toSorted((a, b) => Number(b === active) - Number(a === active) || a.localeCompare(b));
|
|
52
52
|
const contents = yield* Effect.forEach(configs, (name) => read(path.join(gcloud, "configurations", name)));
|
|
53
53
|
const adcFile = yield* read(path.join(gcloud, "application_default_credentials.json"));
|
|
54
|
-
const configured = (yield* configuredSettings2(
|
|
54
|
+
const configured = (yield* configuredSettings2(ID9.googleVertex)) ?? {};
|
|
55
55
|
const projects = Array.from(new Set([
|
|
56
56
|
resolveProject(configured),
|
|
57
57
|
...contents.map((content) => content?.match(/^project\s*=\s*(\S+)/m)?.[1]),
|
|
@@ -65,8 +65,8 @@ var GoogleVertexPlugin2 = define({
|
|
|
65
65
|
...contents.flatMap((content) => Array.from((content ?? "").matchAll(/^region\s*=\s*(\S+)/gm), (match) => match[1]))
|
|
66
66
|
]));
|
|
67
67
|
const load = Effect.fn("GoogleVertexPlugin.load")(function* () {
|
|
68
|
-
const connection = yield* ctx.integration.connection.active(
|
|
69
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
68
|
+
const connection = yield* ctx.integration.connection.active(ID9.googleVertex);
|
|
69
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID11.make(connection.id)) : undefined;
|
|
70
70
|
if (stored?.value.type !== "external" || stored.value.methodID !== ADC_METHOD)
|
|
71
71
|
return {};
|
|
72
72
|
return { project: stored.value.metadata?.project, location: stored.value.metadata?.location };
|
|
@@ -74,15 +74,15 @@ var GoogleVertexPlugin2 = define({
|
|
|
74
74
|
const selected = { settings: yield* load() };
|
|
75
75
|
const settingsFor = (provider) => ({
|
|
76
76
|
...provider.settings,
|
|
77
|
-
...(provider.integrationID ?? provider.id) ===
|
|
77
|
+
...(provider.integrationID ?? provider.id) === ID9.googleVertex ? selected.settings : {}
|
|
78
78
|
});
|
|
79
79
|
yield* ctx.integration.transform((editor) => {
|
|
80
80
|
editor.method.update({
|
|
81
|
-
integrationID:
|
|
81
|
+
integrationID: ID9.googleVertex,
|
|
82
82
|
method: { type: "env", names: ["GOOGLE_VERTEX_API_KEY"] }
|
|
83
83
|
});
|
|
84
84
|
editor.method.update({
|
|
85
|
-
integrationID:
|
|
85
|
+
integrationID: ID9.googleVertex,
|
|
86
86
|
method: {
|
|
87
87
|
id: ADC_METHOD,
|
|
88
88
|
type: "external",
|
|
@@ -120,7 +120,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
120
120
|
});
|
|
121
121
|
yield* ctx.provider.transform((evt) => {
|
|
122
122
|
for (const item of evt.list()) {
|
|
123
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
123
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID9.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
124
124
|
continue;
|
|
125
125
|
const settings = settingsFor(item.provider);
|
|
126
126
|
const project = resolveProject(settings);
|
|
@@ -139,7 +139,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
139
139
|
});
|
|
140
140
|
yield* ctx.model.transform((models) => {
|
|
141
141
|
for (const item of models.provider.list()) {
|
|
142
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
142
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID9.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
143
143
|
continue;
|
|
144
144
|
const settings = settingsFor(item.provider);
|
|
145
145
|
const project = resolveProject(settings);
|
|
@@ -156,7 +156,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
156
156
|
}
|
|
157
157
|
}
|
|
158
158
|
});
|
|
159
|
-
yield* bus.subscribe([
|
|
159
|
+
yield* bus.subscribe([Event16.Updated, Event16.Switched]).pipe(Stream.runForEach(() => Effect.gen(function* () {
|
|
160
160
|
const next = yield* load();
|
|
161
161
|
if (JSON.stringify(next) === JSON.stringify(selected.settings))
|
|
162
162
|
return;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-0r9t40ws.js";
|
|
7
7
|
import {
|
|
8
8
|
Service81,
|
|
9
9
|
node85
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-x4e9fr25.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service75,
|
|
13
|
+
node79
|
|
14
|
+
} from "./command-vdwvtvgk.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./command-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
26
|
-
node: () =>
|
|
25
|
+
Service: () => Service14,
|
|
26
|
+
node: () => node16,
|
|
27
27
|
resolvePath: () => resolvePath2
|
|
28
28
|
});
|
|
29
29
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -37,7 +37,7 @@ var ResolveInput2 = Schema.Struct({
|
|
|
37
37
|
kind: Kind2.pipe(Schema.optional)
|
|
38
38
|
});
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service14 extends Context.Service()("@opencode/FileAccess") {
|
|
41
41
|
}
|
|
42
42
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
43
43
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -49,10 +49,10 @@ var invocation = (context) => ({
|
|
|
49
49
|
agent: context.agent,
|
|
50
50
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
51
51
|
});
|
|
52
|
-
var layer = Layer.effect(
|
|
52
|
+
var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
53
53
|
const fs = yield* FSUtil.Service;
|
|
54
54
|
const location = yield* Service81;
|
|
55
|
-
const permission = yield*
|
|
55
|
+
const permission = yield* Service75;
|
|
56
56
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
57
57
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
58
58
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
101
101
|
});
|
|
102
102
|
return target;
|
|
103
103
|
});
|
|
104
|
-
return
|
|
104
|
+
return Service14.of({ resolve, authorizeExternal, authorizeRead });
|
|
105
105
|
}));
|
|
106
|
-
var
|
|
106
|
+
var node16 = makeLocationNode({ service: Service14, layer, deps: [FSUtil.node, node85, node79] });
|
|
107
107
|
|
|
108
|
-
export { Kind2, ResolveInput2,
|
|
108
|
+
export { Kind2, ResolveInput2, Service14, resolvePath2, node16, exports_file_access };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service79,
|
|
10
|
+
node: () => node83
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service79 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service79.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node83 = makeLocationNode({ service: Service79, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service79, node83, exports_hooks };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/identity.ts
|
|
6
6
|
var exports_identity = {};
|
|
7
7
|
__export(exports_identity, {
|
|
8
8
|
IdentityPlugin: () => exports_identity,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin28,
|
|
10
10
|
identity: () => identity2
|
|
11
11
|
});
|
|
12
12
|
import { SystemPart } from "@opencode/ai";
|
|
@@ -22,7 +22,7 @@ function identity2(model) {
|
|
|
22
22
|
].join(`
|
|
23
23
|
`);
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var Plugin28 = define({
|
|
26
26
|
id: "opencode.prompt.identity",
|
|
27
27
|
effect: Effect.fn("IdentityPlugin")(function* (ctx) {
|
|
28
28
|
const hook = (event) => Effect.gen(function* () {
|
|
@@ -35,4 +35,4 @@ var Plugin26 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export { identity2,
|
|
38
|
+
export { identity2, Plugin28, exports_identity };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info8,
|
|
6
|
+
ID6,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./command-z65krm0a.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service54
|
|
11
|
+
} from "./command-bz4h3gj4.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./command-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
17
|
var exports_skill2 = {};
|
|
18
18
|
__export(exports_skill2, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin37,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
23
|
SkillPlugin: () => exports_skill2
|
|
24
24
|
});
|
|
@@ -425,20 +425,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
425
425
|
var ReportContent2 = report_default;
|
|
426
426
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
427
427
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
428
|
-
var
|
|
428
|
+
var Plugin37 = define({
|
|
429
429
|
id: "opencode.skill",
|
|
430
430
|
effect: Effect.fn(function* (ctx) {
|
|
431
431
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
432
432
|
yield* ctx.skill.transform((editor) => {
|
|
433
|
-
editor.add(
|
|
434
|
-
id:
|
|
433
|
+
editor.add(Info8.make({
|
|
434
|
+
id: ID6.make("opencode"),
|
|
435
435
|
name: Name2.make("OpenCode"),
|
|
436
436
|
description: OpencodeDescription2,
|
|
437
437
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
438
438
|
content: OpencodeContent2
|
|
439
439
|
}));
|
|
440
|
-
editor.add(
|
|
441
|
-
id:
|
|
440
|
+
editor.add(Info8.make({
|
|
441
|
+
id: ID6.make("report"),
|
|
442
442
|
name: Name2.make("Report"),
|
|
443
443
|
description: REPORT_DESCRIPTION,
|
|
444
444
|
path: AbsolutePath2.make("/builtin/report.md"),
|
|
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
466
466
|
`);
|
|
467
467
|
});
|
|
468
468
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
469
|
-
const config = yield*
|
|
469
|
+
const config = yield* Service54;
|
|
470
470
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
471
471
|
});
|
|
472
472
|
function terminal() {
|
|
@@ -480,4 +480,4 @@ function shell() {
|
|
|
480
480
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
483
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin37, exports_skill2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveNullableObjectPaths2,
|
|
3
3
|
mapResultRow2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-emrn6kk6.js";
|
|
5
5
|
import {
|
|
6
6
|
SQLiteEffectDatabase2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./command-eaeq0sye.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/session.ts
|
|
10
10
|
import * as Cause from "effect/Cause";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-b4fmh4gz.js";
|
|
4
4
|
import {
|
|
5
5
|
supportsText2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-trs4csaq.js";
|
|
7
7
|
import {
|
|
8
8
|
Service15,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event2
|
|
10
|
+
} from "./command-99tgmy8e.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/models-dev.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -66,7 +66,7 @@ var ModelsDevPlugin2 = define({
|
|
|
66
66
|
loaded.data = snapshots(data);
|
|
67
67
|
return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
|
|
68
68
|
};
|
|
69
|
-
yield* bus.subscribe(
|
|
69
|
+
yield* bus.subscribe(Event2.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
|
|
70
70
|
const latest = yield* modelsDev.get();
|
|
71
71
|
if (snapshots(latest) !== loaded.data)
|
|
72
72
|
yield* apply(latest);
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-rhv7vgb3.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./command-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./command-y71avatq.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./command-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID14,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./command-rmpnsk58.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./command-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/agent.ts
|
|
11
|
-
var
|
|
12
|
-
__export(
|
|
13
|
-
AgentPlugin: () =>
|
|
14
|
-
Plugin: () =>
|
|
11
|
+
var exports_agent2 = {};
|
|
12
|
+
__export(exports_agent2, {
|
|
13
|
+
AgentPlugin: () => exports_agent2,
|
|
14
|
+
Plugin: () => Plugin36
|
|
15
15
|
});
|
|
16
16
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
17
17
|
import { Effect } from "effect";
|
|
@@ -81,7 +81,7 @@ Rules:
|
|
|
81
81
|
- Never ask questions or add new questions
|
|
82
82
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
83
83
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
84
|
-
var
|
|
84
|
+
var Plugin36 = define({
|
|
85
85
|
id: "opencode.agent",
|
|
86
86
|
effect: Effect.fn(function* (ctx) {
|
|
87
87
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -91,32 +91,32 @@ var Plugin25 = define({
|
|
|
91
91
|
item.mode = "primary";
|
|
92
92
|
item.permissions.push({ action: "question", resource: "*", effect: "allow" });
|
|
93
93
|
});
|
|
94
|
-
editor.update(
|
|
94
|
+
editor.update(ID14.make("general"), (item) => {
|
|
95
95
|
item.name = Name3.make("General");
|
|
96
96
|
item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
|
|
97
97
|
item.mode = "subagent";
|
|
98
98
|
item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
|
|
99
99
|
});
|
|
100
|
-
editor.update(
|
|
100
|
+
editor.update(ID14.make("explore"), (item) => {
|
|
101
101
|
item.name = Name3.make("Explore");
|
|
102
102
|
item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
|
|
103
103
|
item.system = PROMPT_EXPLORE;
|
|
104
104
|
item.mode = "subagent";
|
|
105
105
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" }, { action: "shell", resource: "*", effect: "allow" }, { action: "grep", resource: "*", effect: "allow" }, { action: "glob", resource: "*", effect: "allow" }, { action: "webfetch", resource: "*", effect: "allow" }, { action: "websearch", resource: "*", effect: "allow" }, { action: "read", resource: "*", effect: "allow" }, { action: "read", resource: "*.env", effect: "ask" }, { action: "read", resource: "*.env.*", effect: "ask" }, { action: "read", resource: "*.env.example", effect: "allow" }, { action: "subagent", resource: "*", effect: "deny" }, { action: "external_directory", resource: "*", effect: "allow" });
|
|
106
106
|
});
|
|
107
|
-
editor.update(
|
|
107
|
+
editor.update(ID14.make("compaction"), (item) => {
|
|
108
108
|
item.name = Name3.make("Compaction");
|
|
109
109
|
item.mode = "primary";
|
|
110
110
|
item.hidden = true;
|
|
111
111
|
});
|
|
112
|
-
editor.update(
|
|
112
|
+
editor.update(ID14.make("title"), (item) => {
|
|
113
113
|
item.name = Name3.make("Title");
|
|
114
114
|
item.mode = "primary";
|
|
115
115
|
item.hidden = true;
|
|
116
116
|
item.system = PROMPT_TITLE;
|
|
117
117
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" });
|
|
118
118
|
});
|
|
119
|
-
editor.update(
|
|
119
|
+
editor.update(ID14.make("summary"), (item) => {
|
|
120
120
|
item.name = Name3.make("Summary");
|
|
121
121
|
item.mode = "primary";
|
|
122
122
|
item.hidden = true;
|
|
@@ -127,4 +127,4 @@ var Plugin25 = define({
|
|
|
127
127
|
})
|
|
128
128
|
});
|
|
129
129
|
|
|
130
|
-
export {
|
|
130
|
+
export { Plugin36, exports_agent2 };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-b4fmh4gz.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Event16,
|
|
7
|
+
Service70,
|
|
8
|
+
node74
|
|
9
|
+
} from "./command-wh1armcy.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service55,
|
|
12
|
+
node59
|
|
13
|
+
} from "./command-f4ej5vtm.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./command-z5v4ffb3.js";
|
|
17
17
|
import {
|
|
18
18
|
Service81,
|
|
19
19
|
node85
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./command-x4e9fr25.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./command-4ts7tf6z.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./command-d8npn8xg.js";
|
|
27
27
|
import {
|
|
28
28
|
names4,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./command-t5mnyv20.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./command-j56e64zr.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
35
|
+
Service56,
|
|
36
36
|
Event12,
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
37
|
+
node60
|
|
38
|
+
} from "./command-1ake5xtc.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./command-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/config.ts
|
|
44
44
|
var exports_config = {};
|
|
45
45
|
__export(exports_config, {
|
|
46
46
|
Config: () => exports_config,
|
|
47
|
-
Options: () =>
|
|
48
|
-
Service: () =>
|
|
47
|
+
Options: () => Options7,
|
|
48
|
+
Service: () => Service54,
|
|
49
49
|
Test: () => Test2,
|
|
50
|
-
configured: () =>
|
|
50
|
+
configured: () => configured8,
|
|
51
51
|
latest: () => latest2,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer21,
|
|
53
|
+
node: () => node58,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -64,14 +64,14 @@ import { Global } from "@opencode/util/global";
|
|
|
64
64
|
function latest2(entries, key) {
|
|
65
65
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
66
66
|
}
|
|
67
|
-
var
|
|
67
|
+
var Options7 = Schema.Struct({
|
|
68
68
|
project: Schema.optional(Schema.Boolean),
|
|
69
69
|
global: Schema.optional(Schema.Boolean),
|
|
70
70
|
file: Schema.optional(Schema.String),
|
|
71
71
|
content: Schema.optional(Schema.String)
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service54 extends Context.Service()("@opencode/Config") {
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -89,16 +89,16 @@ var testLayer2 = (initial = [], compatibility = {
|
|
|
89
89
|
setEntries: (next) => Ref.set(entries, next),
|
|
90
90
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
91
91
|
});
|
|
92
|
-
return Context.empty().pipe(Context.add(
|
|
92
|
+
return Context.empty().pipe(Context.add(Service54, service), Context.add(Test2, service));
|
|
93
93
|
}));
|
|
94
|
-
var
|
|
94
|
+
var layer21 = (options) => Layer.effect(Service54, Effect.gen(function* () {
|
|
95
95
|
const fs = yield* FSUtil.Service;
|
|
96
96
|
const location = yield* Service81;
|
|
97
|
-
const watcher = yield*
|
|
97
|
+
const watcher = yield* Service55;
|
|
98
98
|
const bus = yield* Service84;
|
|
99
|
-
const credentials = yield*
|
|
99
|
+
const credentials = yield* Service70;
|
|
100
100
|
const globalService = yield* Global.Service;
|
|
101
|
-
const wellknown = yield*
|
|
101
|
+
const wellknown = yield* Service56;
|
|
102
102
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
103
103
|
const updateLock = Semaphore.makeUnsafe(1);
|
|
104
104
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore" };
|
|
@@ -217,7 +217,7 @@ var layer23 = (options) => Layer.effect(Service64, Effect.gen(function* () {
|
|
|
217
217
|
}, (effect) => reloadLock.withPermit(effect));
|
|
218
218
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
219
219
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
220
|
-
yield* bus.subscribe(
|
|
220
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
221
221
|
yield* bus.subscribe(Event12.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
222
222
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
223
223
|
if (!wellknown.snapshot().length)
|
|
@@ -246,7 +246,7 @@ var layer23 = (options) => Layer.effect(Service64, Effect.gen(function* () {
|
|
|
246
246
|
`);
|
|
247
247
|
yield* requestReload;
|
|
248
248
|
}, (effect) => updateLock.withPermit(effect));
|
|
249
|
-
return
|
|
249
|
+
return Service54.of({
|
|
250
250
|
entries: Effect.fnUntraced(function* () {
|
|
251
251
|
return configs;
|
|
252
252
|
}),
|
|
@@ -258,13 +258,13 @@ var layer23 = (options) => Layer.effect(Service64, Effect.gen(function* () {
|
|
|
258
258
|
update
|
|
259
259
|
});
|
|
260
260
|
}));
|
|
261
|
-
function
|
|
261
|
+
function configured8(options) {
|
|
262
262
|
return makeLocationNode({
|
|
263
|
-
service:
|
|
264
|
-
layer:
|
|
265
|
-
deps: [
|
|
263
|
+
service: Service54,
|
|
264
|
+
layer: layer21(options),
|
|
265
|
+
deps: [node59, node88, FSUtil.node, Global.node, node85, node74, node60]
|
|
266
266
|
});
|
|
267
267
|
}
|
|
268
|
-
var
|
|
268
|
+
var node58 = configured8();
|
|
269
269
|
|
|
270
|
-
export { latest2,
|
|
270
|
+
export { latest2, Options7, Service54, Test2, testLayer2, layer21, configured8, node58, exports_config };
|