@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
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID14,
|
|
3
|
+
Service78
|
|
4
|
+
} from "./command-rmpnsk58.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service66
|
|
8
|
+
} from "./command-trs4csaq.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service54
|
|
12
|
+
} from "./command-bz4h3gj4.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./command-48kw51zw.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service63
|
|
18
|
+
} from "./command-8dmft94a.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service75
|
|
22
|
+
} from "./command-vdwvtvgk.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service21
|
|
25
|
+
} from "./command-cccett8t.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./command-6xb47vfp.js";
|
|
29
29
|
import {
|
|
30
30
|
Service10
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./command-zmekajch.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./command-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input9,
|
|
40
|
+
Output: () => Output7,
|
|
41
|
+
Plugin: () => Plugin44,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
|
-
description: () =>
|
|
44
|
-
name: () =>
|
|
43
|
+
description: () => description5,
|
|
44
|
+
name: () => name9
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Predicate, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name9 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input9 = Schema.Struct({
|
|
60
60
|
agent: Schema.String.annotate({
|
|
61
61
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
62
62
|
}),
|
|
@@ -72,12 +72,12 @@ var Input5 = Schema.Struct({
|
|
|
72
72
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Output7 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
79
79
|
});
|
|
80
|
-
var
|
|
80
|
+
var description5 = [
|
|
81
81
|
"Spawns an agent in a child session to work on the specified task.",
|
|
82
82
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
83
83
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -86,15 +86,15 @@ var description2 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin44 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
93
|
-
const jobs = yield*
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
92
|
+
const sessions = yield* Service21;
|
|
93
|
+
const jobs = yield* Service63;
|
|
94
|
+
const agents = yield* Service78;
|
|
95
|
+
const config = yield* Service54;
|
|
96
|
+
const permission = yield* Service75;
|
|
97
|
+
const models = yield* Service66;
|
|
98
98
|
const subagents = yield* Service10;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
@@ -115,11 +115,11 @@ var Plugin6 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name9,
|
|
119
119
|
options: { codemode: false },
|
|
120
|
-
description:
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
120
|
+
description: description5,
|
|
121
|
+
input: Input9,
|
|
122
|
+
output: Output7,
|
|
123
123
|
execute: (input, context) => Effect.gen(function* () {
|
|
124
124
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
125
125
|
let current = parent;
|
|
@@ -139,7 +139,7 @@ var Plugin6 = {
|
|
|
139
139
|
if (agent.mode === "primary")
|
|
140
140
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
141
141
|
yield* permission.assert({
|
|
142
|
-
action:
|
|
142
|
+
action: name9,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -168,7 +168,7 @@ var Plugin6 = {
|
|
|
168
168
|
const child = existing ?? (yield* sessions.create({
|
|
169
169
|
parentID: context.sessionID,
|
|
170
170
|
title: input.description,
|
|
171
|
-
agent:
|
|
171
|
+
agent: ID14.make(input.agent),
|
|
172
172
|
model
|
|
173
173
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
174
174
|
const background = input.background === true;
|
|
@@ -218,7 +218,7 @@ ${output.output}
|
|
|
218
218
|
})))
|
|
219
219
|
})).pipe(Effect.orDie);
|
|
220
220
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
221
|
-
if (event.tool !==
|
|
221
|
+
if (event.tool !== name9 || !Predicate.isObject(event.input))
|
|
222
222
|
return;
|
|
223
223
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
224
224
|
return;
|
|
@@ -230,13 +230,13 @@ ${output.output}
|
|
|
230
230
|
event.input = input;
|
|
231
231
|
}));
|
|
232
232
|
const hook = (event) => Effect.gen(function* () {
|
|
233
|
-
const tool = event.tools[
|
|
233
|
+
const tool = event.tools[name9];
|
|
234
234
|
if (!tool)
|
|
235
235
|
return;
|
|
236
236
|
const selected = yield* agents.resolve(event.agent);
|
|
237
237
|
if (!selected)
|
|
238
238
|
return;
|
|
239
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
239
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name9, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
240
240
|
if (available.length === 0)
|
|
241
241
|
return;
|
|
242
242
|
tool.description = [
|
|
@@ -253,4 +253,4 @@ ${output.output}
|
|
|
253
253
|
})
|
|
254
254
|
};
|
|
255
255
|
|
|
256
|
-
export {
|
|
256
|
+
export { name9, Input9, Output7, description5, Plugin44, exports_subagent };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-2vvh33eb.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service64,
|
|
6
|
+
node68
|
|
7
|
+
} from "./command-8c2fejh3.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
13
|
var exports_generate = {};
|
|
14
14
|
__export(exports_generate, {
|
|
15
15
|
Generate: () => exports_generate,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
18
|
-
UnavailableError: () =>
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
17
|
+
Service: () => Service19,
|
|
18
|
+
UnavailableError: () => UnavailableError2,
|
|
19
|
+
layer: () => layer10,
|
|
20
|
+
node: () => node22
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { SessionID } from "@opencode/schema/session-id";
|
|
@@ -28,17 +28,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
|
|
|
28
28
|
}) {
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
class
|
|
31
|
+
class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError", {
|
|
32
32
|
message: Schema.String,
|
|
33
33
|
service: Schema.optional(Schema.String)
|
|
34
34
|
}) {
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class Service19 extends Context.Service()("@opencode/Generate") {
|
|
38
38
|
}
|
|
39
|
-
var
|
|
39
|
+
var layer10 = Layer.effect(Service19, Effect.gen(function* () {
|
|
40
40
|
const llm = yield* LLMClient.Service;
|
|
41
|
-
const resolver = yield*
|
|
41
|
+
const resolver = yield* Service64;
|
|
42
42
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
43
43
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
44
44
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -48,7 +48,7 @@ var layer13 = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
48
48
|
"SessionRunnerModel.UnresolvedProviderVariablesError",
|
|
49
49
|
"SessionRunnerModel.UnsupportedCompactionError"
|
|
50
50
|
], (error) => {
|
|
51
|
-
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new
|
|
51
|
+
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: error.providerID });
|
|
52
52
|
return Effect.fail(mapped);
|
|
53
53
|
}));
|
|
54
54
|
if (!resolved)
|
|
@@ -59,21 +59,21 @@ var layer13 = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
59
59
|
model: resolved.model,
|
|
60
60
|
prompt: input.prompt,
|
|
61
61
|
http: { headers: { "x-opencode-session": SessionID.create() } }
|
|
62
|
-
})).pipe(Effect.mapError((error) => new
|
|
62
|
+
})).pipe(Effect.mapError((error) => new UnavailableError2({
|
|
63
63
|
message: error.message,
|
|
64
64
|
service: resolved.ref.providerID
|
|
65
65
|
})));
|
|
66
66
|
return response.text;
|
|
67
67
|
});
|
|
68
|
-
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new
|
|
68
|
+
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
|
|
69
69
|
message: "Generation credentials are unavailable"
|
|
70
70
|
})));
|
|
71
|
-
return
|
|
71
|
+
return Service19.of({ text });
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node22 = makeLocationNode({
|
|
74
|
+
service: Service19,
|
|
75
|
+
layer: layer10,
|
|
76
|
+
deps: [node68, llmClient2]
|
|
77
77
|
});
|
|
78
78
|
|
|
79
|
-
export { ModelSelectionError2,
|
|
79
|
+
export { ModelSelectionError2, UnavailableError2, Service19, layer10, node22, exports_generate };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SQLiteEffectCountBuilder2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-f0mxakyp.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDeleteBase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-w3wsvvr9.js";
|
|
7
7
|
import {
|
|
8
8
|
SQLiteEffectInsertBuilder2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-7bmhse3q.js";
|
|
10
10
|
import {
|
|
11
11
|
SQLiteEffectRelationalQueryBuilder2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-cf4snx6d.js";
|
|
13
13
|
import {
|
|
14
14
|
SQLiteEffectRaw2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./command-822emrt2.js";
|
|
16
16
|
import {
|
|
17
17
|
SQLiteEffectSelectBuilder2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./command-wd87259q.js";
|
|
19
19
|
import {
|
|
20
20
|
SQLiteEffectUpdateBuilder2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./command-m9w0rfyh.js";
|
|
22
22
|
|
|
23
23
|
// src/database/drizzle/sqlite-core/effect/db.ts
|
|
24
24
|
import { Effect } from "effect";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instructions/index.ts
|
|
6
6
|
var exports_instructions6 = {};
|
|
@@ -10,7 +10,7 @@ __export(exports_instructions6, {
|
|
|
10
10
|
Hash: () => Hash2,
|
|
11
11
|
InitializationBlocked: () => InitializationBlocked2,
|
|
12
12
|
Instructions: () => exports_instructions6,
|
|
13
|
-
Key: () =>
|
|
13
|
+
Key: () => Key4,
|
|
14
14
|
Values: () => Values2,
|
|
15
15
|
applyHashDelta: () => applyHashDelta2,
|
|
16
16
|
combine: () => combine2,
|
|
@@ -18,7 +18,7 @@ __export(exports_instructions6, {
|
|
|
18
18
|
diffByKey: () => diffByKey2,
|
|
19
19
|
empty: () => empty3,
|
|
20
20
|
hash: () => hash2,
|
|
21
|
-
make: () =>
|
|
21
|
+
make: () => make21,
|
|
22
22
|
read: () => read3,
|
|
23
23
|
removed: () => removed2,
|
|
24
24
|
renderInitial: () => renderInitial2,
|
|
@@ -28,7 +28,7 @@ __export(exports_instructions6, {
|
|
|
28
28
|
import { createHash } from "crypto";
|
|
29
29
|
import { Instruction } from "@opencode/schema/instruction";
|
|
30
30
|
import { Data, Effect, Option, Schema } from "effect";
|
|
31
|
-
var
|
|
31
|
+
var Key4 = Instruction.Key;
|
|
32
32
|
var Hash2 = Instruction.Hash;
|
|
33
33
|
var Values2 = Instruction.Values;
|
|
34
34
|
var Delta2 = Instruction.Delta;
|
|
@@ -36,21 +36,21 @@ var NonValue = Data.taggedEnum();
|
|
|
36
36
|
var unavailable3 = NonValue.Unavailable();
|
|
37
37
|
var removed2 = NonValue.Removed();
|
|
38
38
|
|
|
39
|
-
class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(
|
|
39
|
+
class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(Key4) }) {
|
|
40
40
|
get message() {
|
|
41
41
|
return `Instruction initialization blocked by unavailable sources: ${this.keys.join(", ")}`;
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKeyError", {
|
|
46
|
-
key:
|
|
46
|
+
key: Key4
|
|
47
47
|
}) {
|
|
48
48
|
get message() {
|
|
49
49
|
return `Duplicate instruction key: ${this.key}`;
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
var empty3 = [];
|
|
53
|
-
function
|
|
53
|
+
function make21(source) {
|
|
54
54
|
const decode = Schema.decodeUnknownOption(source.codec);
|
|
55
55
|
const encode = Schema.encodeSync(source.codec);
|
|
56
56
|
const initial = (value) => requireText(source.key, "initial", source.render.initial(value));
|
|
@@ -193,4 +193,4 @@ function requireText(key, kind, text) {
|
|
|
193
193
|
return text;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
export {
|
|
196
|
+
export { Key4, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make21, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
which2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-qaymkmh1.js";
|
|
4
4
|
|
|
5
5
|
// src/formatter/builtins.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
7
7
|
import { ChildProcess } from "effect/process";
|
|
8
|
-
function
|
|
8
|
+
function make5(input) {
|
|
9
9
|
const disabled = false;
|
|
10
10
|
const findExecutable = (name) => which2(name, undefined, input.bin);
|
|
11
11
|
const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
|
|
@@ -261,4 +261,4 @@ function isRecord(input) {
|
|
|
261
261
|
return Boolean(input && typeof input === "object" && !Array.isArray(input));
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
export {
|
|
264
|
+
export { make5 };
|
|
@@ -1,58 +1,58 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-b4fmh4gz.js";
|
|
5
5
|
import {
|
|
6
6
|
Service80,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./command-zyfyd078.js";
|
|
9
9
|
import {
|
|
10
10
|
Service82,
|
|
11
11
|
node86
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-0r9t40ws.js";
|
|
13
13
|
import {
|
|
14
14
|
Ref4,
|
|
15
15
|
Service81,
|
|
16
16
|
node85
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./command-x4e9fr25.js";
|
|
18
18
|
import {
|
|
19
19
|
canonical3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./command-s5phpar0.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionEvent2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./command-ec1grn59.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service75,
|
|
26
|
+
node79
|
|
27
|
+
} from "./command-vdwvtvgk.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service73,
|
|
30
|
+
node77
|
|
31
|
+
} from "./command-jnyt3wvk.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./command-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/location-lifecycle.ts
|
|
37
37
|
var exports_location_lifecycle = {};
|
|
38
38
|
__export(exports_location_lifecycle, {
|
|
39
39
|
LocationLifecycle: () => exports_location_lifecycle,
|
|
40
|
-
Service: () =>
|
|
41
|
-
node: () =>
|
|
40
|
+
Service: () => Service72,
|
|
41
|
+
node: () => node76
|
|
42
42
|
});
|
|
43
43
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
44
44
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
45
45
|
import { LocationEvent } from "@opencode/schema/location-event";
|
|
46
46
|
var isSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service72 extends Context.Service()("@opencode/LocationLifecycle") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
51
51
|
const bus = yield* Service84;
|
|
52
52
|
const location = yield* Service81;
|
|
53
|
-
const permission = yield*
|
|
53
|
+
const permission = yield* Service75;
|
|
54
54
|
const forms = yield* Service80;
|
|
55
|
-
const rpc = yield*
|
|
55
|
+
const rpc = yield* Service73;
|
|
56
56
|
const project = yield* Service82;
|
|
57
57
|
const scope = yield* Effect.scope;
|
|
58
58
|
yield* project.activate(location.project.id);
|
|
@@ -80,15 +80,15 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
80
80
|
});
|
|
81
81
|
}).pipe(Effect.ensuring(Deferred.succeed(done, undefined)));
|
|
82
82
|
}).pipe(Effect.uninterruptible);
|
|
83
|
-
return
|
|
83
|
+
return Service72.of({
|
|
84
84
|
isClosed: () => closed,
|
|
85
85
|
shutdown
|
|
86
86
|
});
|
|
87
87
|
}));
|
|
88
|
-
var
|
|
89
|
-
service:
|
|
88
|
+
var node76 = makeLocationNode({
|
|
89
|
+
service: Service72,
|
|
90
90
|
layer,
|
|
91
|
-
deps: [node88, node85,
|
|
91
|
+
deps: [node88, node85, node79, node86, node84, node77]
|
|
92
92
|
});
|
|
93
93
|
|
|
94
|
-
export {
|
|
94
|
+
export { Service72, node76, exports_location_lifecycle };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./command-hgz4x7wa.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./command-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/exec-defaults.ts
|
|
11
11
|
var exports_exec_defaults = {};
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
8
|
Service83,
|
|
9
9
|
node87
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-svcw9x3w.js";
|
|
11
11
|
import {
|
|
12
12
|
Service81,
|
|
13
13
|
node85
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./command-x4e9fr25.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./command-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./command-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error3,
|
|
26
|
+
ID: () => ID4,
|
|
27
|
+
Service: () => Service36,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node39,
|
|
30
|
+
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
import path from "path";
|
|
34
34
|
import { Clock, Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID4 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service36 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
const git = yield* Service83;
|
|
51
51
|
const global = yield* Global.Service;
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
72
72
|
const repository = repositoryFiber.pipe(Effect.uninterruptible, Effect.flatMap(Fiber.join));
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
if (!FSUtil.contains(worktree, location.directory))
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
|
|
76
76
|
return RelativePath2.make(path.relative(worktree, location.directory).replaceAll("\\", "/") || ".");
|
|
77
77
|
});
|
|
78
78
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
96
96
|
maximumUntrackedFileBytes: 2 * 1024 * 1024
|
|
97
97
|
});
|
|
98
98
|
yield* packWhenDue(repo.snapshotRepository);
|
|
99
|
-
return
|
|
99
|
+
return ID4.make(tree);
|
|
100
100
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to capture snapshot", { cause }).pipe(Effect.as(undefined))));
|
|
101
101
|
});
|
|
102
102
|
const comparison = Effect.fnUntraced(function* (operation, input) {
|
|
@@ -136,25 +136,25 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
136
136
|
for (const [file, snapshot] of input.files) {
|
|
137
137
|
const absolute = path.resolve(worktree, file);
|
|
138
138
|
if (!FSUtil.contains(worktree, absolute))
|
|
139
|
-
return yield* new
|
|
139
|
+
return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
140
140
|
files.set(file, TreeID2.make(snapshot));
|
|
141
141
|
}
|
|
142
142
|
return files;
|
|
143
143
|
});
|
|
144
144
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
145
145
|
if (!enabled())
|
|
146
|
-
return yield* new
|
|
146
|
+
return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
|
|
147
147
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
148
148
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
149
149
|
});
|
|
150
|
-
return
|
|
150
|
+
return Service36.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
151
151
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
152
|
-
var
|
|
153
|
-
service:
|
|
152
|
+
var node39 = makeLocationNode({
|
|
153
|
+
service: Service36,
|
|
154
154
|
layer,
|
|
155
155
|
deps: [FSUtil.node, node87, Global.node, node85]
|
|
156
156
|
});
|
|
157
|
-
var
|
|
157
|
+
var noopLayer2 = Layer.succeed(Service36, Service36.of({
|
|
158
158
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
159
159
|
reload: () => Effect.void,
|
|
160
160
|
capture: () => Effect.undefined,
|
|
@@ -163,13 +163,13 @@ var noopLayer3 = Layer.succeed(Service71, Service71.of({
|
|
|
163
163
|
restore: () => Effect.void
|
|
164
164
|
}));
|
|
165
165
|
function failure(operation, cause) {
|
|
166
|
-
if (cause instanceof
|
|
166
|
+
if (cause instanceof Error3 && cause.operation === operation)
|
|
167
167
|
return cause;
|
|
168
|
-
return new
|
|
168
|
+
return new Error3({
|
|
169
169
|
operation,
|
|
170
170
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
171
171
|
cause
|
|
172
172
|
});
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
export {
|
|
175
|
+
export { ID4, Error3, Service36, node39, noopLayer2, exports_snapshot2 };
|