@opencode/core 0.0.0-dev-20465 → 0.0.0-dev-20470
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 +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{pty-3h7mwb1y.js → mime-01vbh4b3.js} +10 -10
- package/dist/chunks/{pty-2aahd4k0.js → mime-05t99dhf.js} +1 -1
- package/dist/chunks/{pty-x7ya3ng0.js → mime-068gpbd9.js} +40 -45
- package/dist/chunks/{pty-69j0j58y.js → mime-06dj46ky.js} +11 -11
- package/dist/chunks/{pty-h82kh8n3.js → mime-0a62tskg.js} +11 -11
- package/dist/chunks/{pty-0vbcp93d.js → mime-0emb60td.js} +2 -2
- package/dist/chunks/{pty-85xxa1xb.js → mime-0h4fw62m.js} +2 -2
- package/dist/chunks/{pty-1q5awywt.js → mime-0nde5ztd.js} +5 -5
- package/dist/chunks/{pty-0paq2nw3.js → mime-0paq2nw3.js} +1 -1
- package/dist/chunks/{pty-9g3vzsh2.js → mime-0xn2111h.js} +4 -4
- package/dist/chunks/{pty-btsk7ns6.js → mime-15h1bbb3.js} +76 -76
- package/dist/chunks/{pty-1dazxqgg.js → mime-1dazxqgg.js} +2 -2
- package/dist/chunks/{pty-jw3e9cpn.js → mime-1evbeta6.js} +3 -3
- package/dist/chunks/{pty-cp2e1w3e.js → mime-1ezwtg26.js} +8 -8
- package/dist/chunks/{pty-ej9mn2hm.js → mime-1fmrbde1.js} +6 -6
- package/dist/chunks/{pty-wdbg2mx5.js → mime-1yedb2yx.js} +9 -9
- package/dist/chunks/{pty-21r38tys.js → mime-21r38tys.js} +1 -1
- package/dist/chunks/{pty-b6n73f8d.js → mime-21tqyygk.js} +40 -40
- package/dist/chunks/{pty-2a5m3afh.js → mime-2a5m3afh.js} +1 -1
- package/dist/chunks/{pty-7yqjxrmz.js → mime-2d57kztd.js} +6 -6
- package/dist/chunks/{pty-jhpaar4x.js → mime-2hr5nhwa.js} +8 -8
- package/dist/chunks/{pty-h4bqv94p.js → mime-2j5t9zjq.js} +30 -30
- package/dist/chunks/{pty-dar8dhhp.js → mime-2jfwh2t6.js} +51 -51
- package/dist/chunks/{pty-j1qwbh4p.js → mime-2m35s2yg.js} +22 -22
- package/dist/chunks/{pty-hcsm92x8.js → mime-2nhyf9gp.js} +30 -30
- package/dist/chunks/{pty-654wfw74.js → mime-2va8heef.js} +2 -2
- package/dist/chunks/{pty-wj8xfhrt.js → mime-2wzcstvr.js} +11 -11
- package/dist/chunks/{pty-gneskcp7.js → mime-31770cq8.js} +10 -10
- package/dist/chunks/{pty-2mqpdq13.js → mime-334pc9ed.js} +3 -3
- package/dist/chunks/{pty-vnfn90d3.js → mime-372b9p0d.js} +24 -24
- package/dist/chunks/{pty-p3gefhvv.js → mime-38a0tmmt.js} +6 -6
- package/dist/chunks/{pty-1tat02m1.js → mime-3bzke43f.js} +9 -9
- package/dist/chunks/{pty-h2b79v29.js → mime-3cegwx68.js} +2 -2
- package/dist/chunks/{pty-my6s2k18.js → mime-3dj9ym1t.js} +16 -16
- package/dist/chunks/{pty-4bm5ja14.js → mime-3ewed21c.js} +4 -4
- package/dist/chunks/{pty-3fc6dm20.js → mime-3fc6dm20.js} +1 -1
- package/dist/chunks/{pty-nkqe1jkz.js → mime-3gc434y9.js} +11 -11
- package/dist/chunks/{pty-7wew4q66.js → mime-3gxdmg1p.js} +3 -3
- package/dist/chunks/{pty-3hepkmqq.js → mime-3hepkmqq.js} +1 -1
- package/dist/chunks/{pty-cjrfn32c.js → mime-3sbj3w55.js} +17 -17
- package/dist/chunks/{pty-3smtnn6g.js → mime-3smtnn6g.js} +1 -1
- package/dist/chunks/{pty-y2nr333m.js → mime-3t793sqb.js} +1 -1
- package/dist/chunks/{pty-3tvqynh2.js → mime-3tvqynh2.js} +1 -1
- package/dist/chunks/{pty-cx924f93.js → mime-3zmmk8jr.js} +21 -21
- package/dist/chunks/{pty-3zsf4n22.js → mime-3zsf4n22.js} +1 -1
- package/dist/chunks/{pty-zmr78fwr.js → mime-43kvem2p.js} +5 -5
- package/dist/chunks/{pty-bydnjh3t.js → mime-4jyvzrab.js} +2 -2
- package/dist/chunks/{pty-2ccvkpx1.js → mime-4ts7tf6z.js} +2 -2
- package/dist/chunks/{pty-sxzvkvgj.js → mime-51f5btjf.js} +6 -6
- package/dist/chunks/{pty-54ma36ye.js → mime-54ma36ye.js} +1 -1
- package/dist/chunks/{pty-56gdpj1q.js → mime-56gdpj1q.js} +2 -2
- package/dist/chunks/{pty-kjfdeayr.js → mime-57e9z27j.js} +8 -8
- package/dist/chunks/{pty-ryndyrje.js → mime-57t2akgp.js} +60 -60
- package/dist/chunks/{pty-jyn8qy1m.js → mime-59gjxxx9.js} +37 -37
- package/dist/chunks/{pty-fxcz0da0.js → mime-59he4xmr.js} +11 -11
- package/dist/chunks/{pty-x5w3d5vd.js → mime-5acs1xhz.js} +9 -9
- package/dist/chunks/{pty-5daktx2q.js → mime-5daktx2q.js} +1 -1
- package/dist/chunks/{pty-e3qxr5gk.js → mime-5qd3pb7m.js} +2 -2
- package/dist/chunks/{pty-cyswwyve.js → mime-5s91rp69.js} +17 -17
- package/dist/chunks/{pty-5t3nmthw.js → mime-5t3nmthw.js} +2 -2
- package/dist/chunks/{pty-tpw6cwsb.js → mime-5xtgfte3.js} +8 -8
- package/dist/chunks/{pty-bj1wp5mv.js → mime-61w87evq.js} +34 -34
- package/dist/chunks/{pty-669tq793.js → mime-669tq793.js} +1 -1
- package/dist/chunks/{pty-c94by4w0.js → mime-66az4k2s.js} +25 -25
- package/dist/chunks/{pty-0htt3qwy.js → mime-675p05bk.js} +16 -16
- package/dist/chunks/{pty-x6xfjs65.js → mime-694pv4x1.js} +11 -11
- package/dist/chunks/{pty-pbcwpz6x.js → mime-69ywzg6c.js} +26 -26
- package/dist/chunks/{pty-jymza7x7.js → mime-6epc62pm.js} +3 -3
- package/dist/chunks/{pty-d6wdd58k.js → mime-6wqswahh.js} +32 -32
- package/dist/chunks/{pty-j5j7sqd7.js → mime-73sha07p.js} +25 -25
- package/dist/chunks/{pty-hmzm1mrk.js → mime-74e4jmfh.js} +24 -24
- package/dist/chunks/{pty-7bmhse3q.js → mime-7bmhse3q.js} +1 -1
- package/dist/chunks/{pty-ra8qt2z6.js → mime-7e50kkn8.js} +14 -14
- package/dist/chunks/{pty-dbneng7t.js → mime-7jvpbwfz.js} +19 -19
- package/dist/chunks/{pty-svhsva1n.js → mime-7w6qk0sn.js} +42 -42
- package/dist/chunks/{pty-9zncbkq8.js → mime-7wg6a9xy.js} +7 -7
- package/dist/chunks/{pty-0ymz9t41.js → mime-7xk7v40y.js} +15 -15
- package/dist/chunks/{pty-e9h38f33.js → mime-7yb2ybf6.js} +13 -13
- package/dist/chunks/{pty-ahsttzmd.js → mime-8316qx5p.js} +5 -5
- package/dist/chunks/{pty-eycf18wc.js → mime-83mtbh1h.js} +3 -3
- package/dist/chunks/{pty-31ec1s0m.js → mime-8439xzqf.js} +21 -21
- package/dist/chunks/{pty-1dvck2a7.js → mime-84h8c373.js} +2 -2
- package/dist/chunks/{pty-w1eejvng.js → mime-84txncab.js} +5 -5
- package/dist/chunks/{pty-bq7b46md.js → mime-86qjnnqk.js} +11 -11
- package/dist/chunks/{pty-tcezcvh9.js → mime-89znhe33.js} +4 -4
- package/dist/chunks/{pty-jvnghvnw.js → mime-8ank75fn.js} +8 -8
- package/dist/chunks/{pty-8d7r5vzw.js → mime-8d7r5vzw.js} +1 -1
- package/dist/chunks/{pty-v56p6sfb.js → mime-8kch91gp.js} +25 -25
- package/dist/chunks/{pty-sa8a2jg7.js → mime-8n3f0kbg.js} +24 -24
- package/dist/chunks/{pty-8gxy57kn.js → mime-8r9d4f7f.js} +8 -8
- package/dist/chunks/{pty-d79y3jv5.js → mime-8twmn6r7.js} +29 -29
- package/dist/chunks/{pty-2bekqz3a.js → mime-9k8khh75.js} +13 -13
- package/dist/chunks/{pty-mjqndqed.js → mime-9s1fef2z.js} +12 -12
- package/dist/chunks/{pty-r5x6zcsm.js → mime-a1gpj94z.js} +3 -3
- package/dist/chunks/{pty-6zzs5mwg.js → mime-a8nehgcf.js} +23 -23
- package/dist/chunks/{pty-5cm3k1aq.js → mime-a8tz3pvz.js} +16 -16
- package/dist/chunks/{pty-aaet6srn.js → mime-aaet6srn.js} +2 -2
- package/dist/chunks/{pty-5yswx35n.js → mime-ajkppa7x.js} +32 -32
- package/dist/chunks/{pty-9804v7wv.js → mime-ajt55ttf.js} +22 -22
- package/dist/chunks/{pty-nryt7kay.js → mime-aker6v60.js} +17 -17
- package/dist/chunks/{pty-f992e8rm.js → mime-ap9q6hx1.js} +48 -48
- package/dist/chunks/{pty-p3xya2zq.js → mime-aq20xgnp.js} +28 -28
- package/dist/chunks/{pty-jgynzvas.js → mime-awfffjg5.js} +153 -153
- package/dist/chunks/{pty-wj0fpcc3.js → mime-b2142pzq.js} +33 -33
- package/dist/chunks/{pty-zgw7gart.js → mime-b3t7exkg.js} +6 -6
- package/dist/chunks/{pty-4vybm4fz.js → mime-b46pamft.js} +15 -15
- package/dist/chunks/{pty-b6gygkdw.js → mime-b6gygkdw.js} +2 -2
- package/dist/chunks/{pty-e2jeb051.js → mime-b8j60jjz.js} +8 -8
- package/dist/chunks/{pty-3bvvdvt1.js → mime-b998q84g.js} +36 -36
- package/dist/chunks/{pty-sjt06tff.js → mime-bfrkyb4v.js} +35 -35
- package/dist/chunks/{pty-x8nnxcg2.js → mime-bpgchkmt.js} +9 -9
- package/dist/chunks/mime-by5v678g.js +18 -0
- package/dist/chunks/{pty-wps6jxys.js → mime-c738tryd.js} +17 -17
- package/dist/chunks/{pty-2pzrgdj0.js → mime-c9x2jsqt.js} +11 -11
- package/dist/chunks/{pty-rbzagpv5.js → mime-cf5x6mq8.js} +14 -14
- package/dist/chunks/{pty-1p07q0wb.js → mime-cfsekr6v.js} +4 -4
- package/dist/chunks/{pty-t15nrssv.js → mime-cgjxc2h6.js} +12 -12
- package/dist/chunks/{pty-744jnaem.js → mime-cvnmwk6c.js} +16 -16
- package/dist/chunks/{pty-gp73hwme.js → mime-cw8j8gm3.js} +11 -11
- package/dist/chunks/{pty-qmqgtz8f.js → mime-cwa6csj7.js} +9 -9
- package/dist/chunks/{pty-k747m8pa.js → mime-cybsyzkk.js} +26 -26
- package/dist/chunks/{pty-cg76ry6w.js → mime-d328dj5n.js} +32 -32
- package/dist/chunks/{pty-n6mbxeh3.js → mime-d3ymxdyw.js} +33 -33
- package/dist/chunks/{pty-0gg0ptvt.js → mime-d6efa7rx.js} +13 -13
- package/dist/chunks/{pty-ykwjawef.js → mime-ddweaty3.js} +23 -23
- package/dist/chunks/{pty-mpk0rfs5.js → mime-dnxkq42g.js} +4 -4
- package/dist/chunks/{pty-65zgsz9y.js → mime-dphnx1wg.js} +9 -9
- package/dist/chunks/{pty-6pz0f3gp.js → mime-dy7dxchr.js} +28 -28
- package/dist/chunks/{pty-j0vs91sp.js → mime-e1kaz002.js} +18 -18
- package/dist/chunks/{pty-grh2mbxc.js → mime-e4mpcj2w.js} +5 -5
- package/dist/chunks/{pty-33h0sywe.js → mime-e6psn9y2.js} +4 -4
- package/dist/chunks/{pty-xaj1t2na.js → mime-ednvghyx.js} +28 -28
- package/dist/chunks/{pty-ef5x83kb.js → mime-ef5x83kb.js} +1 -1
- package/dist/chunks/{pty-dvxfaxz1.js → mime-ep96ymdh.js} +31 -31
- package/dist/chunks/{pty-espax8zg.js → mime-espax8zg.js} +1 -1
- package/dist/chunks/{pty-etq0c3wd.js → mime-etq0c3wd.js} +1 -1
- package/dist/chunks/{pty-9a3mtckk.js → mime-ewge9cav.js} +18 -18
- package/dist/chunks/{pty-zr1tm1t6.js → mime-eyeb6xk3.js} +18 -18
- package/dist/chunks/{pty-4r3m895s.js → mime-f1yhsvj9.js} +1 -1
- package/dist/chunks/{pty-1rn5pcm9.js → mime-f29mbr7f.js} +4 -4
- package/dist/chunks/{pty-eb0vzkjg.js → mime-f2gtdjdp.js} +25 -25
- package/dist/chunks/{pty-3ymzsrgp.js → mime-f4a4fymy.js} +4 -4
- package/dist/chunks/{pty-71az546q.js → mime-f75zav2x.js} +2 -2
- package/dist/chunks/{pty-f9bdb5ag.js → mime-f7vgrd2g.js} +14 -14
- package/dist/chunks/{pty-wv696c4x.js → mime-fjdps7eb.js} +8 -8
- package/dist/chunks/{pty-t7d8dr7r.js → mime-fq2g7c6x.js} +11 -11
- package/dist/chunks/{pty-kk00bynn.js → mime-g190xswt.js} +21 -21
- package/dist/chunks/{pty-57b9ws8p.js → mime-g5w8qwbj.js} +7 -7
- package/dist/chunks/{pty-krym5cze.js → mime-g66805e4.js} +23 -23
- package/dist/chunks/{pty-vkeqp8nw.js → mime-g9v737mn.js} +6 -6
- package/dist/chunks/{pty-gd4qta3r.js → mime-gd4qta3r.js} +1 -1
- package/dist/chunks/{pty-5r1ecmk3.js → mime-gv2yjgzz.js} +8 -8
- package/dist/chunks/{pty-b37nj31g.js → mime-h2tzjape.js} +23 -23
- package/dist/chunks/{pty-v9ywz4w0.js → mime-h377qqqs.js} +19 -19
- package/dist/chunks/{pty-h6vf3j39.js → mime-h6vf3j39.js} +1 -1
- package/dist/chunks/{pty-mha52fg8.js → mime-hdkng2sj.js} +5 -5
- package/dist/chunks/{pty-vczvxyc1.js → mime-hnbdma03.js} +90 -90
- package/dist/chunks/{pty-8skk2bv8.js → mime-j3rxv4am.js} +6 -6
- package/dist/chunks/{pty-j56e64zr.js → mime-j56e64zr.js} +1 -1
- package/dist/chunks/{pty-268dwz27.js → mime-j8t255bq.js} +2 -2
- package/dist/chunks/{pty-ba07h9gm.js → mime-jexxy024.js} +3 -3
- package/dist/chunks/{pty-06x8he3q.js → mime-jvf3yq6v.js} +4 -4
- package/dist/chunks/{pty-tbb8wp41.js → mime-jzsz9v64.js} +20 -20
- package/dist/chunks/{pty-5qwkxp89.js → mime-k3yea1v9.js} +4 -4
- package/dist/chunks/{pty-9e5bzkjp.js → mime-kb9j3d72.js} +3 -3
- package/dist/chunks/{pty-h7ym8ggf.js → mime-kjfy6aqy.js} +16 -16
- package/dist/chunks/{pty-thfkeznf.js → mime-knvbkgg0.js} +13 -13
- package/dist/chunks/{pty-tfjx5c9j.js → mime-kvkq3jdm.js} +7 -7
- package/dist/chunks/{pty-ypj3qt3a.js → mime-m35a1js7.js} +13 -13
- package/dist/chunks/{pty-m3fdjcah.js → mime-m3fdjcah.js} +1 -1
- package/dist/chunks/{pty-6ysrkrkr.js → mime-m6f3t844.js} +8 -8
- package/dist/chunks/{pty-gx5xjf3t.js → mime-m7h1967w.js} +19 -19
- package/dist/chunks/{pty-m9w0rfyh.js → mime-m9w0rfyh.js} +1 -1
- package/dist/chunks/{pty-aep3mzsj.js → mime-mdy91dzd.js} +11 -11
- package/dist/chunks/{pty-1zg7we31.js → mime-mfeg5k3q.js} +11 -11
- package/dist/chunks/{pty-r4dcwnmb.js → mime-mhm95nh1.js} +27 -27
- package/dist/chunks/{pty-54r1wzpb.js → mime-mncep7ma.js} +7 -7
- package/dist/chunks/{pty-vvf5cqb2.js → mime-mqf7qztk.js} +24 -24
- package/dist/chunks/{pty-n099z6kj.js → mime-mqgb4hkm.js} +8 -8
- package/dist/chunks/{pty-5r2x0qgd.js → mime-mtwm9ezq.js} +24 -24
- package/dist/chunks/{pty-7tp0thxb.js → mime-mwa79a1d.js} +37 -37
- package/dist/chunks/{pty-9rq40ggw.js → mime-n0tvkx1b.js} +13 -13
- package/dist/chunks/{pty-yd7m906j.js → mime-n59v16j7.js} +97 -97
- package/dist/chunks/{pty-vrfmkq1b.js → mime-nqv404gn.js} +2 -2
- package/dist/chunks/{pty-tz8876m4.js → mime-nrjkrfdk.js} +8 -8
- package/dist/chunks/{pty-2m8jawch.js → mime-nvhjw3b0.js} +4 -4
- package/dist/chunks/{pty-na5ad8x6.js → mime-nvxd4a3z.js} +12 -12
- package/dist/chunks/{pty-dpkg50ah.js → mime-nxm207yx.js} +4 -4
- package/dist/chunks/{pty-dpra9b9a.js → mime-p6wgvgn6.js} +9 -9
- package/dist/chunks/{pty-qyrkwdx9.js → mime-pcqej2dj.js} +22 -22
- package/dist/chunks/{pty-89r56116.js → mime-pfrtanrk.js} +30 -30
- package/dist/chunks/{pty-8s5pwsga.js → mime-pgzt0k19.js} +9 -9
- package/dist/chunks/mime-pj3sbc1q.js +252 -0
- package/dist/chunks/{pty-pjvnvgmy.js → mime-pjvnvgmy.js} +1 -1
- package/dist/chunks/{pty-pknna89w.js → mime-pknna89w.js} +1 -1
- package/dist/chunks/{pty-cq2fm5z3.js → mime-pmjfnjve.js} +10 -10
- package/dist/chunks/{pty-an7cqtb7.js → mime-pmr4s4kc.js} +4 -4
- package/dist/chunks/{pty-3b7ev2pn.js → mime-ppm6qgbs.js} +36 -36
- package/dist/chunks/{pty-bfnsmjbw.js → mime-pr4tzdnn.js} +5 -5
- package/dist/chunks/{pty-ntah2d2v.js → mime-psbsx9ev.js} +5 -5
- package/dist/chunks/{pty-0j77ygfz.js → mime-q0xm7vwc.js} +6 -6
- package/dist/chunks/{pty-nca7p386.js → mime-q5nw5m1n.js} +6 -6
- package/dist/chunks/{pty-ef5raw6k.js → mime-q9ah5cgy.js} +32 -32
- package/dist/chunks/{pty-mazbtkaa.js → mime-qd6pb4xn.js} +2 -2
- package/dist/chunks/{pty-emz89tv7.js → mime-qecm58md.js} +6 -6
- package/dist/chunks/{pty-t9kt8c31.js → mime-qepntzbg.js} +19 -19
- package/dist/chunks/{pty-cwem3fhm.js → mime-qewcqqea.js} +20 -20
- package/dist/chunks/{pty-7dqw4kz8.js → mime-qgn6gcr1.js} +5 -5
- package/dist/chunks/{pty-qnc92qwc.js → mime-qnc92qwc.js} +1 -1
- package/dist/chunks/{pty-qsdy395h.js → mime-qsdy395h.js} +1 -1
- package/dist/chunks/{pty-n34nv609.js → mime-qvy1qmm3.js} +9 -9
- package/dist/chunks/{pty-xyafkbt0.js → mime-qxjc9qry.js} +3 -3
- package/dist/chunks/{pty-b4tw85s5.js → mime-qy24xa0s.js} +19 -19
- package/dist/chunks/{pty-rp04m9y7.js → mime-r27bg8y4.js} +47 -47
- package/dist/chunks/{pty-8cgmda8d.js → mime-r4m5gmwp.js} +9 -9
- package/dist/chunks/{pty-gcwax8a0.js → mime-r5q07pyt.js} +6 -6
- package/dist/chunks/{pty-r8xr0va3.js → mime-r8xr0va3.js} +1 -1
- package/dist/chunks/{pty-58r1cxk0.js → mime-r8z1rt2e.js} +31 -31
- package/dist/chunks/{pty-fm2qvscf.js → mime-ratrq7cm.js} +4 -4
- package/dist/chunks/{pty-rdw6cm16.js → mime-rdw6cm16.js} +1 -1
- package/dist/chunks/{pty-xp3fh2h7.js → mime-rk1r2hx8.js} +1 -1
- package/dist/chunks/{pty-syjz6ynj.js → mime-rx48dec3.js} +9 -9
- package/dist/chunks/{pty-j7jm1rg4.js → mime-s0224r3c.js} +11 -11
- package/dist/chunks/{pty-t550f9t1.js → mime-s8d7rejh.js} +4 -4
- package/dist/chunks/{pty-wc19s0z4.js → mime-s9kb2yg2.js} +8 -8
- package/dist/chunks/{pty-cgaacc6a.js → mime-sfpt4edp.js} +16 -16
- package/dist/chunks/{pty-pe69whtr.js → mime-sg7q32v8.js} +37 -37
- package/dist/chunks/{pty-d4pshd8q.js → mime-shrvt0bc.js} +14 -14
- package/dist/chunks/{pty-dnkc5m6k.js → mime-stnejjkn.js} +1 -1
- package/dist/chunks/{pty-kgen349b.js → mime-sy29epdy.js} +9 -9
- package/dist/chunks/{pty-9vygzh4b.js → mime-t0dtkzr7.js} +6 -6
- package/dist/chunks/{pty-h8g6pbq3.js → mime-t67r96zt.js} +3 -3
- package/dist/chunks/{pty-cyr2cxn9.js → mime-t768gxq0.js} +1 -1
- package/dist/chunks/{pty-ekezbvqg.js → mime-ta9v1xwm.js} +311 -311
- package/dist/chunks/{pty-tazgh4e4.js → mime-tazgh4e4.js} +1 -1
- package/dist/chunks/{pty-w0nkn6ve.js → mime-tc2bp7te.js} +11 -11
- package/dist/chunks/{pty-tdstcens.js → mime-tdstcens.js} +1 -1
- package/dist/chunks/{pty-ta546dzx.js → mime-tg3dtvd2.js} +24 -24
- package/dist/chunks/{pty-j8r070e4.js → mime-tkzj0056.js} +4 -4
- package/dist/chunks/{pty-y5drw8vz.js → mime-tv8mz1yx.js} +17 -17
- package/dist/chunks/{pty-k7y6sfy1.js → mime-tz67dcvr.js} +21 -21
- package/dist/chunks/{pty-5qxcgjcr.js → mime-v3ant3rv.js} +15 -15
- package/dist/chunks/{pty-qxppefrw.js → mime-v9c6pdvn.js} +18 -18
- package/dist/chunks/{pty-rfdgkn6p.js → mime-vbnh33m2.js} +25 -25
- package/dist/chunks/{pty-veqvce7d.js → mime-veqvce7d.js} +1 -1
- package/dist/chunks/{pty-zm3tt0zb.js → mime-vjjxy6yb.js} +9 -9
- package/dist/chunks/{pty-39h54dwb.js → mime-vm1e42pn.js} +26 -26
- package/dist/chunks/{pty-s0q1fkaz.js → mime-vnzmcpcw.js} +28 -28
- package/dist/chunks/{pty-vzcthcp8.js → mime-vzcthcp8.js} +1 -1
- package/dist/chunks/{pty-vzs5sf6e.js → mime-vzs5sf6e.js} +1 -1
- package/dist/chunks/{pty-w3wsvvr9.js → mime-w3wsvvr9.js} +1 -1
- package/dist/chunks/{pty-65d6t9nm.js → mime-w4cerd5t.js} +43 -43
- package/dist/chunks/{pty-86ndwq9q.js → mime-w53c1cz5.js} +59 -59
- package/dist/chunks/{pty-wd87259q.js → mime-wd87259q.js} +1 -1
- package/dist/chunks/{pty-mcc6t1v4.js → mime-wkhdexc5.js} +5 -5
- package/dist/chunks/{pty-k70p9jzb.js → mime-wmz9gz0a.js} +9 -9
- package/dist/chunks/{pty-27vvhq6q.js → mime-wr2fe94x.js} +43 -43
- package/dist/chunks/{pty-wm9zswm7.js → mime-wt3b0rt6.js} +28 -28
- package/dist/chunks/{pty-3dfke6ah.js → mime-wtqdm9z0.js} +18 -18
- package/dist/chunks/{pty-8d883stb.js → mime-wvc0kw0p.js} +5 -5
- package/dist/chunks/{pty-x1ezjp6w.js → mime-x1ezjp6w.js} +1 -1
- package/dist/chunks/{pty-0b3yex2r.js → mime-x53sfaky.js} +11 -11
- package/dist/chunks/{pty-dfa350ep.js → mime-x5prftgx.js} +1 -1
- package/dist/chunks/{pty-56rn98qe.js → mime-xe3c0b6j.js} +21 -21
- package/dist/chunks/{pty-zwqdfq5j.js → mime-xgrkhhdd.js} +33 -33
- package/dist/chunks/{pty-xkntkrq7.js → mime-xkntkrq7.js} +2 -2
- package/dist/chunks/{pty-gkxwzehf.js → mime-xn8j4qgz.js} +29 -29
- package/dist/chunks/{pty-pngzmcmx.js → mime-xrds2yvy.js} +9 -9
- package/dist/chunks/{pty-8f516jjj.js → mime-xtax8pzg.js} +33 -33
- package/dist/chunks/{pty-6t1p0y7j.js → mime-y0hjkqeb.js} +18 -18
- package/dist/chunks/{pty-y1fvbwt7.js → mime-y1fvbwt7.js} +1 -1
- package/dist/chunks/{pty-0pvpap86.js → mime-y6q12yz9.js} +50 -50
- package/dist/chunks/{pty-9t5v5m66.js → mime-yd2nyxdd.js} +14 -14
- package/dist/chunks/{pty-j16d020p.js → mime-ye9wteb0.js} +13 -13
- package/dist/chunks/{pty-1z3nqx9t.js → mime-ykfv63at.js} +10 -10
- package/dist/chunks/{pty-yrhqyw5v.js → mime-yrhqyw5v.js} +1 -1
- package/dist/chunks/{pty-e8qyrgb1.js → mime-yt3hy1g9.js} +5 -5
- package/dist/chunks/{pty-z0bkrqjs.js → mime-z0bkrqjs.js} +1 -1
- package/dist/chunks/{pty-5eftksh5.js → mime-z3zvc1my.js} +11 -11
- package/dist/chunks/{pty-e6k5s2wm.js → mime-z6aw0mzm.js} +22 -22
- package/dist/chunks/{pty-s9rwj2jy.js → mime-zc96g2bq.js} +13 -13
- package/dist/chunks/{pty-ppy93fad.js → mime-zk9d4y74.js} +5 -5
- package/dist/chunks/{pty-zr2ceqn5.js → mime-zr2ceqn5.js} +1 -1
- package/dist/chunks/{pty-zxq2ej10.js → mime-zxq2ej10.js} +1 -1
- package/dist/chunks/{pty-8spjttef.js → mime-zyvzzg4e.js} +12 -12
- package/dist/chunks/{pty-j6vz790y.js → mime-zz01mka2.js} +30 -30
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +79 -79
- package/dist/database/database.js +70 -70
- 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.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- 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 +93 -93
- 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 +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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 +227 -227
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +106 -106
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- 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 +362 -362
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +334 -334
- package/dist/plugin/mcp-codemode-defaults.js +1 -1
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +124 -124
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +120 -120
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +70 -70
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +137 -137
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +84 -84
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- 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 +2 -2
- 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 +229 -229
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- 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 +224 -224
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- 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 +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +103 -103
- 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 +210 -210
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +223 -223
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- 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 +13 -13
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +93 -93
- 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 +126 -126
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/types/session/transfer.d.ts +2 -3
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- 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 +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/pty-1x11rq2a.js +0 -18
- package/dist/chunks/pty-cyrqa2n4.js +0 -252
- /package/dist/chunks/{pty-0qkdqm5v.js → mime-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{pty-0zkw76rk.js → mime-0zkw76rk.js} +0 -0
- /package/dist/chunks/{pty-17cy0kzp.js → mime-17cy0kzp.js} +0 -0
- /package/dist/chunks/{pty-1cnp2v09.js → mime-1cnp2v09.js} +0 -0
- /package/dist/chunks/{pty-1kg9ymc8.js → mime-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{pty-24dcb14g.js → mime-24dcb14g.js} +0 -0
- /package/dist/chunks/{pty-2710q6r3.js → mime-2710q6r3.js} +0 -0
- /package/dist/chunks/{pty-2axfhc9x.js → mime-2axfhc9x.js} +0 -0
- /package/dist/chunks/{pty-2c3vjs8z.js → mime-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{pty-34c7v6d4.js → mime-34c7v6d4.js} +0 -0
- /package/dist/chunks/{pty-359p4xyc.js → mime-359p4xyc.js} +0 -0
- /package/dist/chunks/{pty-3asan66x.js → mime-3asan66x.js} +0 -0
- /package/dist/chunks/{pty-3v8g72cx.js → mime-3v8g72cx.js} +0 -0
- /package/dist/chunks/{pty-3w5fmr99.js → mime-3w5fmr99.js} +0 -0
- /package/dist/chunks/{pty-3wcehsnq.js → mime-3wcehsnq.js} +0 -0
- /package/dist/chunks/{pty-43n2bw4t.js → mime-43n2bw4t.js} +0 -0
- /package/dist/chunks/{pty-4knz6hnm.js → mime-4knz6hnm.js} +0 -0
- /package/dist/chunks/{pty-4vcrnpx2.js → mime-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{pty-4y7fprxs.js → mime-4y7fprxs.js} +0 -0
- /package/dist/chunks/{pty-53557ph1.js → mime-53557ph1.js} +0 -0
- /package/dist/chunks/{pty-550bvhaj.js → mime-550bvhaj.js} +0 -0
- /package/dist/chunks/{pty-6prwharc.js → mime-6prwharc.js} +0 -0
- /package/dist/chunks/{pty-7akdwqpd.js → mime-7akdwqpd.js} +0 -0
- /package/dist/chunks/{pty-7m9af43g.js → mime-7m9af43g.js} +0 -0
- /package/dist/chunks/{pty-822emrt2.js → mime-822emrt2.js} +0 -0
- /package/dist/chunks/{pty-88xbtdfr.js → mime-88xbtdfr.js} +0 -0
- /package/dist/chunks/{pty-8n3pysct.js → mime-8n3pysct.js} +0 -0
- /package/dist/chunks/{pty-8wj87zfr.js → mime-8wj87zfr.js} +0 -0
- /package/dist/chunks/{pty-9a4afbnw.js → mime-9a4afbnw.js} +0 -0
- /package/dist/chunks/{pty-9rqn6x4v.js → mime-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{pty-a6k6eb26.js → mime-a6k6eb26.js} +0 -0
- /package/dist/chunks/{pty-af5trqkr.js → mime-af5trqkr.js} +0 -0
- /package/dist/chunks/{pty-afrmfg78.js → mime-afrmfg78.js} +0 -0
- /package/dist/chunks/{pty-aqzs7mqg.js → mime-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{pty-atq7p7m5.js → mime-atq7p7m5.js} +0 -0
- /package/dist/chunks/{pty-bkyjaxrp.js → mime-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{pty-bmr6ed5q.js → mime-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{pty-cf4snx6d.js → mime-cf4snx6d.js} +0 -0
- /package/dist/chunks/{pty-cvy3z8tj.js → mime-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{pty-d9fn303g.js → mime-d9fn303g.js} +0 -0
- /package/dist/chunks/{pty-d9jj8t3e.js → mime-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{pty-dajrwvna.js → mime-dajrwvna.js} +0 -0
- /package/dist/chunks/{pty-dap0rakb.js → mime-dap0rakb.js} +0 -0
- /package/dist/chunks/{pty-df08tz66.js → mime-df08tz66.js} +0 -0
- /package/dist/chunks/{pty-dy18nga0.js → mime-dy18nga0.js} +0 -0
- /package/dist/chunks/{pty-e5kj55wp.js → mime-e5kj55wp.js} +0 -0
- /package/dist/chunks/{pty-e73j6tqm.js → mime-e73j6tqm.js} +0 -0
- /package/dist/chunks/{pty-ec1grn59.js → mime-ec1grn59.js} +0 -0
- /package/dist/chunks/{pty-eh3zwz77.js → mime-eh3zwz77.js} +0 -0
- /package/dist/chunks/{pty-emrn6kk6.js → mime-emrn6kk6.js} +0 -0
- /package/dist/chunks/{pty-f0mxakyp.js → mime-f0mxakyp.js} +0 -0
- /package/dist/chunks/{pty-f6n9ztr4.js → mime-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{pty-faypxj3z.js → mime-faypxj3z.js} +0 -0
- /package/dist/chunks/{pty-fd410y7t.js → mime-fd410y7t.js} +0 -0
- /package/dist/chunks/{pty-fxgpk5d8.js → mime-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{pty-g4wezp1m.js → mime-g4wezp1m.js} +0 -0
- /package/dist/chunks/{pty-g86h250q.js → mime-g86h250q.js} +0 -0
- /package/dist/chunks/{pty-gebd4c9n.js → mime-gebd4c9n.js} +0 -0
- /package/dist/chunks/{pty-gftt206x.js → mime-gftt206x.js} +0 -0
- /package/dist/chunks/{pty-hjbc5kem.js → mime-hjbc5kem.js} +0 -0
- /package/dist/chunks/{pty-hk9envan.js → mime-hk9envan.js} +0 -0
- /package/dist/chunks/{pty-j2ntwpah.js → mime-j2ntwpah.js} +0 -0
- /package/dist/chunks/{pty-j5zkgpj8.js → mime-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{pty-jjkms2e6.js → mime-jjkms2e6.js} +0 -0
- /package/dist/chunks/{pty-jr7sbwjy.js → mime-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{pty-jwfs4k6c.js → mime-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{pty-jzg6c2d5.js → mime-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{pty-mp448xyj.js → mime-mp448xyj.js} +0 -0
- /package/dist/chunks/{pty-msx8hqn2.js → mime-msx8hqn2.js} +0 -0
- /package/dist/chunks/{pty-n05xt0ee.js → mime-n05xt0ee.js} +0 -0
- /package/dist/chunks/{pty-n3j8tn72.js → mime-n3j8tn72.js} +0 -0
- /package/dist/chunks/{pty-njntx4h6.js → mime-njntx4h6.js} +0 -0
- /package/dist/chunks/{pty-q3sfg36h.js → mime-q3sfg36h.js} +0 -0
- /package/dist/chunks/{pty-q74kybfr.js → mime-q74kybfr.js} +0 -0
- /package/dist/chunks/{pty-qaymkmh1.js → mime-qaymkmh1.js} +0 -0
- /package/dist/chunks/{pty-qb87gjwd.js → mime-qb87gjwd.js} +0 -0
- /package/dist/chunks/{pty-qfa1cgps.js → mime-qfa1cgps.js} +0 -0
- /package/dist/chunks/{pty-qg3g05ea.js → mime-qg3g05ea.js} +0 -0
- /package/dist/chunks/{pty-qrg20bc0.js → mime-qrg20bc0.js} +0 -0
- /package/dist/chunks/{pty-rcb2kzg1.js → mime-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{pty-sdp7kfr6.js → mime-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{pty-sk3qaz4a.js → mime-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{pty-ssg3fenm.js → mime-ssg3fenm.js} +0 -0
- /package/dist/chunks/{pty-w803qqfp.js → mime-w803qqfp.js} +0 -0
- /package/dist/chunks/{pty-wc3fc9cn.js → mime-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{pty-wer8tq1h.js → mime-wer8tq1h.js} +0 -0
- /package/dist/chunks/{pty-wtztk69x.js → mime-wtztk69x.js} +0 -0
- /package/dist/chunks/{pty-x0ckcb58.js → mime-x0ckcb58.js} +0 -0
- /package/dist/chunks/{pty-x61499pn.js → mime-x61499pn.js} +0 -0
- /package/dist/chunks/{pty-y44na4kk.js → mime-y44na4kk.js} +0 -0
- /package/dist/chunks/{pty-y8cydn3q.js → mime-y8cydn3q.js} +0 -0
- /package/dist/chunks/{pty-y8f7s663.js → mime-y8f7s663.js} +0 -0
- /package/dist/chunks/{pty-ygaqb7jw.js → mime-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{pty-ym463w8f.js → mime-ym463w8f.js} +0 -0
- /package/dist/chunks/{pty-z5v4ffb3.js → mime-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{pty-z9919s4g.js → mime-z9919s4g.js} +0 -0
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service80
|
|
6
|
+
} from "./mime-cvnmwk6c.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service50
|
|
9
|
+
} from "./mime-r27bg8y4.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service24
|
|
12
|
+
} from "./mime-8439xzqf.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./mime-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./mime-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin20
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin20 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
34
|
-
const location = yield*
|
|
33
|
+
const config = yield* Service50;
|
|
34
|
+
const location = yield* Service80;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service24;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin27 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin20, exports_worktree };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service84
|
|
3
|
+
} from "./mime-9s1fef2z.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./mime-0emb60td.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./mime-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
14
14
|
__export(exports_git2, {
|
|
15
15
|
WorktreeGit: () => exports_git2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make13
|
|
17
17
|
});
|
|
18
18
|
import { Effect } from "effect";
|
|
19
19
|
import { Worktree } from "@opencode/schema/worktree";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
|
-
var
|
|
21
|
+
var make13 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
|
-
const git = yield*
|
|
23
|
+
const git = yield* Service84;
|
|
24
24
|
return {
|
|
25
25
|
id: Worktree.StrategyID.make("git"),
|
|
26
26
|
create: Effect.fn("Worktree.Git.create")(function* (input) {
|
|
@@ -46,4 +46,4 @@ var make16 = Effect.gen(function* () {
|
|
|
46
46
|
};
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { make13, exports_git2 };
|
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./mime-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service80
|
|
8
|
+
} from "./mime-cvnmwk6c.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service66
|
|
11
|
+
} from "./mime-8n3f0kbg.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service15
|
|
14
|
+
} from "./mime-7xk7v40y.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service16,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./mime-zc96g2bq.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service70
|
|
22
|
+
} from "./mime-57t2akgp.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service69,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./mime-eyeb6xk3.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./mime-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./mime-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input5,
|
|
39
|
+
Output: () => Output5,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin6,
|
|
42
|
+
name: () => name5,
|
|
43
|
+
toModelContent: () => toModelContent4
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name5 = "patch";
|
|
89
|
+
var Input5 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output5 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent4 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin6 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
111
|
+
const environment = yield* Service66;
|
|
112
|
+
const access = yield* Service69;
|
|
113
|
+
const fileMutation = yield* Service16;
|
|
114
|
+
const formatter = yield* Service15;
|
|
115
|
+
const location = yield* Service80;
|
|
116
|
+
const permission = yield* Service70;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name5,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input5,
|
|
122
|
+
output: Output5,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin3 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent4(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name5, Input5, Applied2, Output5, toModelContent4, Plugin6, exports_patch };
|
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service83,
|
|
3
|
-
node87
|
|
4
|
-
} from "./pty-0htt3qwy.js";
|
|
5
1
|
import {
|
|
6
2
|
Service82,
|
|
7
3
|
node86
|
|
8
|
-
} from "./
|
|
4
|
+
} from "./mime-675p05bk.js";
|
|
5
|
+
import {
|
|
6
|
+
Service84,
|
|
7
|
+
node88
|
|
8
|
+
} from "./mime-9s1fef2z.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service80,
|
|
11
|
+
node84
|
|
12
|
+
} from "./mime-cvnmwk6c.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./mime-by5v678g.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service51,
|
|
18
|
+
node53
|
|
19
|
+
} from "./mime-372b9p0d.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node21
|
|
22
|
+
} from "./mime-pcqej2dj.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service12,
|
|
25
|
+
node14
|
|
26
|
+
} from "./mime-cwa6csj7.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./mime-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
|
-
var
|
|
33
|
-
__export(
|
|
34
|
-
LocationWatcher: () =>
|
|
35
|
-
Service: () =>
|
|
36
|
-
node: () =>
|
|
32
|
+
var exports_location_watcher2 = {};
|
|
33
|
+
__export(exports_location_watcher2, {
|
|
34
|
+
LocationWatcher: () => exports_location_watcher2,
|
|
35
|
+
Service: () => Service11,
|
|
36
|
+
node: () => node13
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
|
|
40
40
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
|
-
class
|
|
43
|
+
class Service11 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
48
|
-
const bus = yield*
|
|
45
|
+
var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
46
|
+
const location = yield* Service80;
|
|
47
|
+
const watcher = yield* Service51;
|
|
48
|
+
const bus = yield* Service82;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
51
|
-
const policy = yield*
|
|
50
|
+
const git = yield* Service84;
|
|
51
|
+
const policy = yield* Service12;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
54
54
|
event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
|
|
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service2, Effect.gen(function* () {
|
|
|
100
100
|
yield* awaitActivation2;
|
|
101
101
|
yield* reconcile();
|
|
102
102
|
}).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
|
|
103
|
-
return
|
|
103
|
+
return Service11.of({});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
106
|
-
service:
|
|
105
|
+
var node13 = makeLocationNode({
|
|
106
|
+
service: Service11,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node53, FSUtil.node, node84, node88, node86, node21, node14]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
export {
|
|
111
|
+
export { Service11, node13, exports_location_watcher2 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-2wzcstvr.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-56gdpj1q.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./mime-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin38,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint5
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint5 = "https://mcp.firecrawl.dev/v2/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String,
|
|
24
24
|
limit: Schema.Number.pipe(Schema.optional)
|
|
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
37
37
|
})
|
|
38
38
|
}));
|
|
39
39
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
40
|
-
var
|
|
40
|
+
var Plugin38 = define({
|
|
41
41
|
id: "opencode.websearch.firecrawl",
|
|
42
42
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -59,7 +59,7 @@ var Plugin37 = define({
|
|
|
59
59
|
execute: (input) => Effect.gen(function* () {
|
|
60
60
|
const connection = yield* ctx.integration.connection.active("firecrawl");
|
|
61
61
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
62
|
-
const result = yield* call2(http,
|
|
62
|
+
const result = yield* call2(http, endpoint5, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
|
|
63
63
|
"User-Agent": useragent2(ctx.app),
|
|
64
64
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
|
|
65
65
|
});
|
|
@@ -77,4 +77,4 @@ var Plugin37 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint5, Plugin38, exports_firecrawl };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./mime-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/plugin/service.ts
|
|
6
|
+
var exports_service = {};
|
|
7
|
+
__export(exports_service, {
|
|
8
|
+
Plugin: () => exports_service,
|
|
9
|
+
Service: () => Service34,
|
|
10
|
+
awaitActivation: () => awaitActivation2
|
|
11
|
+
});
|
|
12
|
+
import { Context } from "effect";
|
|
13
|
+
|
|
14
|
+
class Service34 extends Context.Service()("@opencode/Plugin") {
|
|
15
|
+
}
|
|
16
|
+
var awaitActivation2 = Service34.use((plugins) => plugins.awaitActivation);
|
|
17
|
+
|
|
18
|
+
export { Service34, awaitActivation2, exports_service };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-2wzcstvr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./mime-675p05bk.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event19
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./mime-xe3c0b6j.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./mime-dnxkq42g.js";
|
|
14
14
|
import {
|
|
15
15
|
ID14,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./mime-vm1e42pn.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service18
|
|
21
|
+
} from "./mime-m6f3t844.js";
|
|
22
22
|
import {
|
|
23
23
|
ID13,
|
|
24
24
|
mergeOverlay2,
|
|
25
25
|
mergeHeaders2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./mime-xn8j4qgz.js";
|
|
27
27
|
import {
|
|
28
28
|
mergeCapabilities2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./mime-2j5t9zjq.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
ID4,
|
|
32
|
+
Input13,
|
|
33
33
|
Response2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./mime-vnzmcpcw.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/opencode.ts
|
|
37
37
|
import { Duration, Effect, Equal, Option, Schema, Scope, Semaphore, Stream } from "effect";
|
|
@@ -47,7 +47,7 @@ var methodID = MethodID2.make("device");
|
|
|
47
47
|
var RemoteResponse = Schema.Struct({
|
|
48
48
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
49
49
|
websearch: Schema.Struct({
|
|
50
|
-
providerID:
|
|
50
|
+
providerID: ID4
|
|
51
51
|
}).pipe(Schema.optional),
|
|
52
52
|
mcp: Schema.Struct({
|
|
53
53
|
servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
|
|
@@ -163,10 +163,10 @@ function oauth(http) {
|
|
|
163
163
|
var OpencodePlugin2 = define({
|
|
164
164
|
id: "opencode.provider.opencode",
|
|
165
165
|
effect: Effect.fn(function* (ctx) {
|
|
166
|
-
const bus = yield*
|
|
166
|
+
const bus = yield* Service82;
|
|
167
167
|
const client = yield* HttpClient.HttpClient;
|
|
168
168
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
169
|
-
const managed = yield*
|
|
169
|
+
const managed = yield* Service18;
|
|
170
170
|
const scope = yield* Scope.Scope;
|
|
171
171
|
const loading = Semaphore.makeUnsafe(1);
|
|
172
172
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
@@ -327,7 +327,7 @@ var OpencodePlugin2 = define({
|
|
|
327
327
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
328
328
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
329
329
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
330
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
330
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
|
|
331
331
|
query: input.query,
|
|
332
332
|
providerID: descriptor.providerID
|
|
333
333
|
}));
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service50
|
|
3
|
+
} from "./mime-r27bg8y4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service62
|
|
6
|
+
} from "./mime-sy29epdy.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./mime-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./mime-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/image.ts
|
|
15
15
|
var exports_image = {};
|
|
16
16
|
__export(exports_image, {
|
|
17
17
|
ConfigImagePlugin: () => exports_image,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin30
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin30 = define({
|
|
23
23
|
id: "opencode.config.image",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const image = yield*
|
|
25
|
+
const config = yield* Service50;
|
|
26
|
+
const image = yield* Service62;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, image.reload());
|
|
28
28
|
yield* image.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -43,4 +43,4 @@ var Plugin16 = define({
|
|
|
43
43
|
})
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Plugin30, exports_image };
|
|
@@ -2,17 +2,17 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./mime-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service66,
|
|
8
|
+
node68
|
|
9
|
+
} from "./mime-8n3f0kbg.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./mime-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./mime-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
@@ -20,8 +20,8 @@ __export(exports_ripgrep, {
|
|
|
20
20
|
Error: () => Error4,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service65,
|
|
24
|
+
node: () => node67
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service65 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
63
|
var failure = (message, cause) => new Error4({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service66;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -92,7 +92,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
93
|
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service65.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node67 = makeLocationNode({ service: Service65, layer, deps: [node68, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export { Error4, InvalidPatternError2,
|
|
180
|
+
export { Error4, InvalidPatternError2, Service65, node67, exports_ripgrep };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
render3
|
|
3
|
+
} from "./mime-g5w8qwbj.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/optimize.ts
|
|
9
9
|
var exports_optimize = {};
|
|
@@ -424,7 +424,7 @@ function make(id, optimize, mode = "override") {
|
|
|
424
424
|
const system = event.system[0];
|
|
425
425
|
if (!system)
|
|
426
426
|
return;
|
|
427
|
-
const rendered =
|
|
427
|
+
const rendered = render3(template, Object.keys(event.tools));
|
|
428
428
|
const text = mode === "append" ? `${system.text}
|
|
429
429
|
|
|
430
430
|
${rendered}` : rendered;
|