@opencode/core 0.0.0-dev-20221 → 0.0.0-dev-20224
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 +69 -69
- package/dist/chunks/{location-h5e2anyc.js → rpc-01r2c5m8.js} +16 -16
- package/dist/chunks/{location-x0p95pq5.js → rpc-0546m1r6.js} +9 -9
- package/dist/chunks/{location-cq4wpeev.js → rpc-07x1x1ts.js} +15 -15
- package/dist/chunks/{location-7qks8dan.js → rpc-0j8fgfmj.js} +35 -35
- package/dist/chunks/{location-xdma2xvk.js → rpc-0ng3qkf0.js} +32 -32
- package/dist/chunks/{location-0paq2nw3.js → rpc-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-n62dhrz9.js → rpc-0qd78r7p.js} +22 -22
- package/dist/chunks/{location-hp5fhm3b.js → rpc-0y1sr1c9.js} +11 -11
- package/dist/chunks/{location-6mk1zs0m.js → rpc-17b9jkx1.js} +25 -25
- package/dist/chunks/{location-w0tr1p2n.js → rpc-17tgjc63.js} +20 -20
- package/dist/chunks/{location-hj80damg.js → rpc-1874525a.js} +35 -35
- package/dist/chunks/{location-xhkwk9gp.js → rpc-19c28r63.js} +16 -16
- package/dist/chunks/{location-1acjjqhc.js → rpc-1acjjqhc.js} +1 -1
- package/dist/chunks/{location-6936e3tb.js → rpc-1ck09sm2.js} +30 -30
- package/dist/chunks/{location-1dazxqgg.js → rpc-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-bsjb98v5.js → rpc-1ggtwts1.js} +46 -46
- package/dist/chunks/{location-vjnhtx5y.js → rpc-1kb4nj88.js} +3 -3
- package/dist/chunks/{location-zzmrs7ms.js → rpc-1s473r1k.js} +25 -25
- package/dist/chunks/{location-3yzbp4y2.js → rpc-1tkq8rwe.js} +14 -14
- package/dist/chunks/{location-2r3apkbr.js → rpc-1ze3xm91.js} +8 -8
- package/dist/chunks/{location-21r38tys.js → rpc-21r38tys.js} +1 -1
- package/dist/chunks/{location-6h73sxmp.js → rpc-2402vzrj.js} +5 -5
- package/dist/chunks/{location-5q41emxe.js → rpc-291mp9vb.js} +10 -10
- package/dist/chunks/{location-kvnawng8.js → rpc-29btxg4b.js} +6 -6
- package/dist/chunks/{location-z63w68vq.js → rpc-29x78va6.js} +6 -6
- package/dist/chunks/{location-2a5m3afh.js → rpc-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-mtsc5q31.js → rpc-2aecba3t.js} +25 -25
- package/dist/chunks/{location-0jwsre1p.js → rpc-2k8khapm.js} +5 -5
- package/dist/chunks/{location-aktznddm.js → rpc-2qm5zhy8.js} +11 -11
- package/dist/chunks/{location-hm2cbah8.js → rpc-2rdwn31h.js} +27 -27
- package/dist/chunks/{location-91n38a9p.js → rpc-2swe609t.js} +24 -24
- package/dist/chunks/{location-81swgkk7.js → rpc-2w6fc0zt.js} +7 -7
- package/dist/chunks/{location-30846h32.js → rpc-30846h32.js} +1 -1
- package/dist/chunks/{location-fcbwjxnb.js → rpc-33ed7edk.js} +3 -3
- package/dist/chunks/{location-33w4ejhs.js → rpc-33w4ejhs.js} +2 -2
- package/dist/chunks/{location-yv7j04vt.js → rpc-33w90mgy.js} +4 -4
- package/dist/chunks/{location-w168c8c1.js → rpc-3d9q0z9h.js} +24 -24
- package/dist/chunks/{location-3fc6dm20.js → rpc-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-3hepkmqq.js → rpc-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-b95n020p.js → rpc-3p0c6km7.js} +9 -9
- package/dist/chunks/{location-3smtnn6g.js → rpc-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-3tvqynh2.js → rpc-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-njwqk4ka.js → rpc-3ynfmtcj.js} +19 -19
- package/dist/chunks/{location-3zsf4n22.js → rpc-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-0ascw2kk.js → rpc-40p0tn2p.js} +13 -13
- package/dist/chunks/{location-zv90g90z.js → rpc-46hzd864.js} +13 -13
- package/dist/chunks/{location-4dgbcxzg.js → rpc-4dgbcxzg.js} +1 -1
- package/dist/chunks/{location-k3sn4jay.js → rpc-4eq8w0dz.js} +4 -4
- package/dist/chunks/{location-rk8e6c4e.js → rpc-4fp42h4f.js} +6 -6
- package/dist/chunks/{location-2xw79qf5.js → rpc-4r37mwpa.js} +17 -17
- package/dist/chunks/{location-31sb4mzz.js → rpc-55bft698.js} +5 -5
- package/dist/chunks/{location-pmtx2bmb.js → rpc-59xqp4q6.js} +15 -15
- package/dist/chunks/{location-5daktx2q.js → rpc-5daktx2q.js} +1 -1
- package/dist/chunks/{location-4j4tgtq5.js → rpc-5dkn69vz.js} +4 -4
- package/dist/chunks/{location-4yg98eve.js → rpc-5eb3a1ca.js} +12 -12
- package/dist/chunks/{location-87dxtzj4.js → rpc-5qtbtk4r.js} +24 -24
- package/dist/chunks/{location-fvf5cb06.js → rpc-5rb2f846.js} +23 -23
- package/dist/chunks/{location-5t3nmthw.js → rpc-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-ka9n7xe0.js → rpc-5th2s8aw.js} +21 -21
- package/dist/chunks/{location-8pwagnxc.js → rpc-5xx5bm18.js} +22 -22
- package/dist/chunks/{location-xp5qxbch.js → rpc-5ysbk3t6.js} +10 -10
- package/dist/chunks/{location-42bm2tdg.js → rpc-60ztnerv.js} +11 -11
- package/dist/chunks/{location-zxfsz17a.js → rpc-61hbrkhq.js} +16 -16
- package/dist/chunks/{location-693v0dn7.js → rpc-61t48z3p.js} +5 -5
- package/dist/chunks/{location-akvdnkta.js → rpc-641ncxkp.js} +24 -24
- package/dist/chunks/{location-669tq793.js → rpc-669tq793.js} +1 -1
- package/dist/chunks/{location-e6hd9jay.js → rpc-6anwy9fs.js} +4 -4
- package/dist/chunks/{location-6msgmcgs.js → rpc-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-4sdz4ba6.js → rpc-6r7xjz6b.js} +62 -62
- package/dist/chunks/{location-z38mhgfq.js → rpc-6y58km9h.js} +12 -12
- package/dist/chunks/{location-3bc8czyk.js → rpc-705e2ap1.js} +5 -5
- package/dist/chunks/{location-eq1pz5kg.js → rpc-73tb2d7t.js} +3 -3
- package/dist/chunks/{location-pz026a91.js → rpc-7bftgs18.js} +4 -4
- package/dist/chunks/{location-7bmhse3q.js → rpc-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-rnnyhd50.js → rpc-7dn7wph4.js} +17 -17
- package/dist/chunks/{location-ef7kd23s.js → rpc-7fw6dmmr.js} +19 -19
- package/dist/chunks/{location-pvphy38p.js → rpc-7w3y3331.js} +23 -23
- package/dist/chunks/{location-q4gdq19g.js → rpc-82xkvmsx.js} +20 -20
- package/dist/chunks/{location-p50sb73r.js → rpc-887sth5f.js} +11 -11
- package/dist/chunks/{location-eqrj6z30.js → rpc-8b9pfjqy.js} +30 -30
- package/dist/chunks/{location-8d7r5vzw.js → rpc-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-vxtm7qfg.js → rpc-8dkrvbda.js} +9 -9
- package/dist/chunks/{location-jzg4p26z.js → rpc-8kj5sqfp.js} +11 -11
- package/dist/chunks/{location-js0q1b7y.js → rpc-8zw2zqhe.js} +34 -34
- package/dist/chunks/{location-ent53862.js → rpc-911xaqx0.js} +24 -24
- package/dist/chunks/{location-gfvb90ym.js → rpc-94ek1h2f.js} +2 -2
- package/dist/chunks/{location-23xkb9ck.js → rpc-9dgzngwy.js} +1 -1
- package/dist/chunks/{location-qyysjfz2.js → rpc-9esz73wg.js} +1 -1
- package/dist/chunks/{location-qxvajmf7.js → rpc-9gp4vace.js} +13 -13
- package/dist/chunks/{location-4nndrb46.js → rpc-9qth1mer.js} +13 -13
- package/dist/chunks/{location-t80zgtse.js → rpc-9wyv5qrm.js} +33 -33
- package/dist/chunks/{location-9mm3gyjg.js → rpc-9yff3t6h.js} +12 -12
- package/dist/chunks/rpc-9zdhvgqs.js +18 -0
- package/dist/chunks/{location-wq9xxgxb.js → rpc-9ze1bqdw.js} +43 -43
- package/dist/chunks/{location-t2fc4mz5.js → rpc-a2ew8a62.js} +4 -4
- package/dist/chunks/{location-b7kqjy0v.js → rpc-a45xf03t.js} +25 -25
- package/dist/chunks/{location-aaet6srn.js → rpc-aaet6srn.js} +2 -2
- package/dist/chunks/{location-5767z5qk.js → rpc-ad6wcgn6.js} +42 -42
- package/dist/chunks/{location-0bkc3y3d.js → rpc-aj2hwc8g.js} +22 -22
- package/dist/chunks/{location-q17xkac2.js → rpc-ataya66t.js} +9 -9
- package/dist/chunks/{location-k23qkgd8.js → rpc-avr3epf8.js} +33 -33
- package/dist/chunks/{location-f3ngv102.js → rpc-axmvebxj.js} +21 -21
- package/dist/chunks/{location-z1wz9sty.js → rpc-b0x6hx13.js} +11 -11
- package/dist/chunks/{location-b6gygkdw.js → rpc-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-9qyfdgxc.js → rpc-b7wazbtb.js} +15 -15
- package/dist/chunks/{location-rd0fjfer.js → rpc-bdf29vvx.js} +20 -20
- package/dist/chunks/{location-ajaf8rr1.js → rpc-bnf6pzzw.js} +11 -11
- package/dist/chunks/{location-bqfsqarm.js → rpc-bvcdv2ee.js} +15 -15
- package/dist/chunks/{location-10mkqwtm.js → rpc-bvg5gydp.js} +180 -180
- package/dist/chunks/{location-c0zy3nqq.js → rpc-bw25a4j5.js} +5 -5
- package/dist/chunks/{location-h71w788e.js → rpc-bydnjh3t.js} +2 -2
- package/dist/chunks/{location-0x8r1xf8.js → rpc-bz7wthpw.js} +16 -16
- package/dist/chunks/{location-54tcyq79.js → rpc-ckecvw8r.js} +2 -2
- package/dist/chunks/{location-gy1zbbg8.js → rpc-cm42m14b.js} +16 -16
- package/dist/chunks/{location-2sejkfem.js → rpc-cwa6csj7.js} +9 -9
- package/dist/chunks/{location-wbkyxrgf.js → rpc-d1khqved.js} +5 -5
- package/dist/chunks/{location-7v81x33d.js → rpc-d43tgzm4.js} +9 -9
- package/dist/chunks/{location-24vp5xsz.js → rpc-d4z5zpac.js} +27 -27
- package/dist/chunks/{location-2n2feb9b.js → rpc-d7a37h98.js} +5 -5
- package/dist/chunks/{location-afed7ext.js → rpc-db54agdm.js} +12 -12
- package/dist/chunks/{location-qj9xvr5c.js → rpc-dfqbq8r5.js} +6 -6
- package/dist/chunks/{location-frbktfyz.js → rpc-dftt7jbf.js} +11 -11
- package/dist/chunks/{location-50q9nbwa.js → rpc-dj50hwt2.js} +17 -17
- package/dist/chunks/{location-d6r54p0z.js → rpc-djhjy4ry.js} +25 -25
- package/dist/chunks/{location-bxg941en.js → rpc-dkw4e9f1.js} +20 -20
- package/dist/chunks/{location-f9yek72b.js → rpc-dmdp0vd0.js} +5 -5
- package/dist/chunks/{location-3104ney4.js → rpc-dpahde6h.js} +8 -8
- package/dist/chunks/{location-y71avatq.js → rpc-dpkg50ah.js} +4 -4
- package/dist/chunks/{location-fmq6hapb.js → rpc-dvjgjqby.js} +10 -10
- package/dist/chunks/{location-pq0em7mp.js → rpc-dy25nfy6.js} +14 -14
- package/dist/chunks/{location-2y6ffh4c.js → rpc-dzmxyd7h.js} +4 -4
- package/dist/chunks/{location-5qd3pb7m.js → rpc-e3qxr5gk.js} +2 -2
- package/dist/chunks/{location-zqjeymsx.js → rpc-e6a68qvh.js} +4 -4
- package/dist/chunks/{location-qe945752.js → rpc-e7a3whya.js} +15 -15
- package/dist/chunks/{location-w7zcztdz.js → rpc-e7tvatn9.js} +11 -11
- package/dist/chunks/{location-3pbjq009.js → rpc-eaf7bn6e.js} +11 -11
- package/dist/chunks/{location-f0vrjwjw.js → rpc-eafppxg9.js} +18 -18
- package/dist/chunks/{location-ecfe7b91.js → rpc-ecfe7b91.js} +2 -2
- package/dist/chunks/{location-ef5x83kb.js → rpc-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-sbhdk62n.js → rpc-emm42b62.js} +10 -10
- package/dist/chunks/{location-f8jv9byx.js → rpc-er7m35t7.js} +35 -35
- package/dist/chunks/{location-etq0c3wd.js → rpc-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-xh5xzt4q.js → rpc-f2a55b9w.js} +13 -13
- package/dist/chunks/{location-pcsc7bbk.js → rpc-fb1hjgew.js} +3 -3
- package/dist/chunks/{location-68hvg95z.js → rpc-fgx6hsxk.js} +9 -9
- package/dist/chunks/{location-99fa44nw.js → rpc-ft1g15zq.js} +10 -10
- package/dist/chunks/{location-9rak6fg2.js → rpc-fxkepnf0.js} +16 -16
- package/dist/chunks/{location-dm5bbsxw.js → rpc-fzj6yzt3.js} +8 -8
- package/dist/chunks/{location-f5gy8qwh.js → rpc-g3bs2z4s.js} +8 -8
- package/dist/chunks/{location-p4av1y14.js → rpc-g6ypk20d.js} +17 -17
- package/dist/chunks/{location-q1b20y97.js → rpc-g7schdde.js} +16 -16
- package/dist/chunks/{location-gd4qta3r.js → rpc-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-82mn4p1g.js → rpc-gv66z500.js} +41 -41
- package/dist/chunks/{location-gv6a8nnw.js → rpc-gv6a8nnw.js} +2 -2
- package/dist/chunks/{location-ahs7fvg1.js → rpc-h3zq03vb.js} +9 -9
- package/dist/chunks/{location-hd8vw2pw.js → rpc-h5w29vws.js} +1 -1
- package/dist/chunks/{location-h6vf3j39.js → rpc-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-whrbrn4z.js → rpc-hjx66919.js} +16 -16
- package/dist/chunks/{location-cvrsk9fd.js → rpc-j2q5esyv.js} +13 -13
- package/dist/chunks/{location-j56e64zr.js → rpc-j56e64zr.js} +1 -1
- package/dist/chunks/{location-pz6dgdr2.js → rpc-j62efq2m.js} +7 -7
- package/dist/chunks/{location-7q8vgb26.js → rpc-j693j56p.js} +7 -7
- package/dist/chunks/{location-rh8y0z1p.js → rpc-jb9mn43j.js} +22 -22
- package/dist/chunks/{location-xs1m67vf.js → rpc-jc854ahh.js} +9 -9
- package/dist/chunks/{location-dg2tseh9.js → rpc-jrrazstp.js} +9 -9
- package/dist/chunks/{location-k3c624dm.js → rpc-k3c624dm.js} +3 -3
- package/dist/chunks/{location-y6f0p4jw.js → rpc-k6yq57aq.js} +3 -3
- package/dist/chunks/{location-j0374pag.js → rpc-k87jrsyw.js} +6 -6
- package/dist/chunks/{location-9jhkgaje.js → rpc-k97nvw3s.js} +38 -38
- package/dist/chunks/{location-71xcq78h.js → rpc-kdr2y7sc.js} +89 -89
- package/dist/chunks/{location-r4yqrmdq.js → rpc-kerhshr9.js} +5 -5
- package/dist/chunks/{location-c4rfsmrz.js → rpc-knmp623e.js} +6 -6
- package/dist/chunks/{location-pwhkx6jx.js → rpc-kq76ymd0.js} +5 -5
- package/dist/chunks/{location-e06d8b03.js → rpc-kqaf077y.js} +35 -35
- package/dist/chunks/{location-72nn9jfv.js → rpc-ks4s575r.js} +20 -20
- package/dist/chunks/{location-5eq1rvf4.js → rpc-kyvhk9gp.js} +43 -43
- package/dist/chunks/{location-m3fdjcah.js → rpc-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-kwg7c6hr.js → rpc-m9bnbapx.js} +33 -33
- package/dist/chunks/{location-m9w0rfyh.js → rpc-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-bk7jaeqh.js → rpc-mvksx64m.js} +4 -4
- package/dist/chunks/{location-mgmaefw5.js → rpc-mvzp9w89.js} +5 -5
- package/dist/chunks/{location-h9shz2e0.js → rpc-n15rqfwk.js} +11 -11
- package/dist/chunks/{location-dbb8vp5z.js → rpc-n2srvep7.js} +4 -4
- package/dist/chunks/{location-bf4e40v7.js → rpc-nanx9z7d.js} +10 -10
- package/dist/chunks/{location-ah251an0.js → rpc-nkbj3xh8.js} +16 -16
- package/dist/chunks/{location-bjmftk71.js → rpc-p14jyq32.js} +19 -19
- package/dist/chunks/{location-ecrfaaw3.js → rpc-p3zdvk1j.js} +45 -45
- package/dist/chunks/{location-86cgss88.js → rpc-p4axxag3.js} +6 -6
- package/dist/chunks/{location-4gycnsfp.js → rpc-p57dvf2n.js} +4 -4
- package/dist/chunks/{location-pjvnvgmy.js → rpc-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-pknna89w.js → rpc-pknna89w.js} +1 -1
- package/dist/chunks/{location-snqwywr0.js → rpc-pn1y9y4g.js} +16 -16
- package/dist/chunks/{location-nq7qbqzc.js → rpc-pnv527nz.js} +9 -9
- package/dist/chunks/{location-8sze2n9a.js → rpc-py3kkmfq.js} +6 -6
- package/dist/chunks/{location-fnhn454m.js → rpc-q657g4g7.js} +11 -11
- package/dist/chunks/{location-ay4yd4d7.js → rpc-q67f7nmy.js} +11 -11
- package/dist/chunks/rpc-qa7zfvr9.js +26 -0
- package/dist/chunks/{location-xg3m2ppk.js → rpc-qf39nrvn.js} +85 -85
- package/dist/chunks/{location-qsdy395h.js → rpc-qsdy395h.js} +1 -1
- package/dist/chunks/{location-5agr9zwd.js → rpc-qyj3y2ty.js} +12 -12
- package/dist/chunks/{location-8fhzde2b.js → rpc-r0ng0yj5.js} +32 -32
- package/dist/chunks/{location-va698f7d.js → rpc-r0zct088.js} +8 -8
- package/dist/chunks/{location-3pfqp9x0.js → rpc-r3wr5xg7.js} +43 -43
- package/dist/chunks/{location-vncycja5.js → rpc-r98e92ep.js} +4 -4
- package/dist/chunks/{location-zmwna8pt.js → rpc-r993e5vv.js} +21 -21
- package/dist/chunks/{location-03b1d2xf.js → rpc-rdpxprv5.js} +8 -8
- package/dist/chunks/{location-rdw6cm16.js → rpc-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-wy0rscj2.js → rpc-rexb5wtd.js} +27 -27
- package/dist/chunks/{location-rhjbct0v.js → rpc-rhjbct0v.js} +1 -1
- package/dist/chunks/{location-va6930fd.js → rpc-rmh2g5sz.js} +5 -5
- package/dist/chunks/{location-4jwfw9t7.js → rpc-s2d6nvja.js} +9 -9
- package/dist/chunks/{location-yrznvahk.js → rpc-s4enseaf.js} +2 -2
- package/dist/chunks/{location-fkgkq2bq.js → rpc-s6x4fzhm.js} +2 -2
- package/dist/chunks/{location-xd9p6rte.js → rpc-s7pfdvj0.js} +54 -54
- package/dist/chunks/{location-8k1xnzjf.js → rpc-saqncsjt.js} +15 -15
- package/dist/chunks/{location-grs5yd9b.js → rpc-sbdrsm1d.js} +54 -54
- package/dist/chunks/{location-vth0z15k.js → rpc-sdcd8j0d.js} +23 -23
- package/dist/chunks/{location-yeqt6yj4.js → rpc-sdz95h4g.js} +28 -28
- package/dist/chunks/{location-dd2mwsqy.js → rpc-smcmav20.js} +22 -22
- package/dist/chunks/{location-af04s6ss.js → rpc-sra9araw.js} +5 -5
- package/dist/chunks/{location-pty0nb4y.js → rpc-t2qevr0q.js} +8 -8
- package/dist/chunks/{location-afdssyjb.js → rpc-t7n9q6bq.js} +4 -4
- package/dist/chunks/{location-pbmgymcv.js → rpc-t7x8bg7z.js} +18 -18
- package/dist/chunks/{location-8m83jnsx.js → rpc-t8k67vys.js} +48 -48
- package/dist/chunks/{location-tazgh4e4.js → rpc-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-tcezcvh9.js → rpc-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-tdstcens.js → rpc-tdstcens.js} +1 -1
- package/dist/chunks/{location-n2qcta3r.js → rpc-tgpsmcaa.js} +11 -11
- package/dist/chunks/rpc-tj97xa7g.js +252 -0
- package/dist/chunks/{location-7mt2gtfj.js → rpc-tk9ve4rs.js} +26 -26
- package/dist/chunks/{location-p49hdftr.js → rpc-tkgh5sbc.js} +11 -11
- package/dist/chunks/{location-evbgk2k8.js → rpc-tn0aqsam.js} +5 -5
- package/dist/chunks/{location-1ajx6rf5.js → rpc-tpw6cwsb.js} +8 -8
- package/dist/chunks/{location-hrpea4dg.js → rpc-tvks49a3.js} +309 -309
- package/dist/chunks/{location-tvtrv512.js → rpc-tvtrv512.js} +1 -1
- package/dist/chunks/{location-jx81s07m.js → rpc-tw9eefyr.js} +5 -5
- package/dist/chunks/{location-60k29m3a.js → rpc-v4sm4c0k.js} +3 -3
- package/dist/chunks/{location-fgen454y.js → rpc-v7ttk1k5.js} +3 -3
- package/dist/chunks/{location-2jhm9eyt.js → rpc-v9cmtvna.js} +32 -32
- package/dist/chunks/{location-em7mzjn4.js → rpc-vdptz04f.js} +6 -6
- package/dist/chunks/{location-veqvce7d.js → rpc-veqvce7d.js} +1 -1
- package/dist/chunks/{location-cpn8fns4.js → rpc-vn4gjnxr.js} +10 -10
- package/dist/chunks/{location-b8171w38.js → rpc-vrqsv3fa.js} +21 -21
- package/dist/chunks/{location-bf4gbvg4.js → rpc-vtt0yr3x.js} +7 -7
- package/dist/chunks/{location-z2sk8n0r.js → rpc-vv97ra8n.js} +11 -11
- package/dist/chunks/{location-321x2wtd.js → rpc-vvccsdf3.js} +6 -6
- package/dist/chunks/{location-vzcthcp8.js → rpc-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-vzs5sf6e.js → rpc-vzs5sf6e.js} +1 -1
- package/dist/chunks/{location-6k33h7hv.js → rpc-w30pqdw0.js} +37 -37
- package/dist/chunks/{location-t8jhjvab.js → rpc-w3rf13e0.js} +24 -24
- package/dist/chunks/{location-w3wsvvr9.js → rpc-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-mnbh32fx.js → rpc-w4axh9wz.js} +6 -6
- package/dist/chunks/{location-pdnpx475.js → rpc-w9g9cqgp.js} +6 -6
- package/dist/chunks/{location-8j1skqgj.js → rpc-wcxa5cm4.js} +17 -17
- package/dist/chunks/{location-1thp3168.js → rpc-wd2dgpck.js} +34 -34
- package/dist/chunks/{location-psazpmmj.js → rpc-wd3x2cqz.js} +2 -2
- package/dist/chunks/{location-wd87259q.js → rpc-wd87259q.js} +1 -1
- package/dist/chunks/{location-gvegpbk5.js → rpc-wjd1eqsf.js} +15 -15
- package/dist/chunks/{location-wget8q3v.js → rpc-wk6jwtqz.js} +5 -5
- package/dist/chunks/{location-b09hzw3k.js → rpc-wqc6684y.js} +2 -2
- package/dist/chunks/{location-yzqmf70x.js → rpc-wqmhqt44.js} +36 -36
- package/dist/chunks/{location-x0tasxqz.js → rpc-wwy42dnk.js} +4 -4
- package/dist/chunks/{location-42dy8wkf.js → rpc-wyg44cg0.js} +20 -20
- package/dist/chunks/{location-wn6ryfvd.js → rpc-wzdtzazs.js} +5 -5
- package/dist/chunks/{location-x1ezjp6w.js → rpc-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-sjrr8pwy.js → rpc-xdk4v0b3.js} +25 -25
- package/dist/chunks/{location-xfkkasph.js → rpc-xfkkasph.js} +1 -1
- package/dist/chunks/{location-xkntkrq7.js → rpc-xkntkrq7.js} +2 -2
- package/dist/chunks/{location-qzyph8ek.js → rpc-xv5nxp49.js} +11 -11
- package/dist/chunks/{location-g5agzp2h.js → rpc-xvp1j2dc.js} +5 -5
- package/dist/chunks/{location-y1fvbwt7.js → rpc-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-7j2qha59.js → rpc-y1qqcj8h.js} +8 -8
- package/dist/chunks/{location-me8jvw4v.js → rpc-y98ks474.js} +34 -34
- package/dist/chunks/{location-qsjjakye.js → rpc-ye8cnd5y.js} +10 -10
- package/dist/chunks/{location-m303x724.js → rpc-yf6pqagp.js} +25 -25
- package/dist/chunks/{location-yrhqyw5v.js → rpc-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-pgp1nwjn.js → rpc-ywxndyv1.js} +4 -4
- package/dist/chunks/{location-bjtzbw4r.js → rpc-z07pqspn.js} +3 -3
- package/dist/chunks/{location-z0bkrqjs.js → rpc-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-0xqnn6r6.js → rpc-zc7sp5v7.js} +13 -13
- package/dist/chunks/{location-zeh9ct20.js → rpc-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-zr2ceqn5.js → rpc-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-y1df562v.js → rpc-zsaha2d7.js} +17 -17
- package/dist/chunks/{location-zxq2ej10.js → rpc-zxq2ej10.js} +1 -1
- package/dist/chunks/{location-qcf13vms.js → rpc-zzr03zs4.js} +15 -15
- 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 +83 -83
- package/dist/config/discovery.js +82 -82
- 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 +160 -160
- 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 +124 -124
- 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 +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- 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 +66 -66
- 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 +76 -76
- 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 +70 -70
- 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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +96 -96
- package/dist/form.js +76 -76
- 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/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +361 -361
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +82 -82
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +358 -358
- 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 +106 -106
- package/dist/mcp/instructions.js +126 -126
- 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 +96 -96
- package/dist/model.js +98 -98
- package/dist/models-dev.js +107 -107
- 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 +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 +88 -88
- 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 +99 -99
- package/dist/plugin/hooks.js +1 -1
- 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 +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- 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 +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- 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 +94 -94
- 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 +77 -77
- 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 +94 -94
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- 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 +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +161 -161
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- 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 +2 -2
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- 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 +6 -6
- 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 +227 -227
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +95 -95
- 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 +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +152 -152
- 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 +221 -221
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- 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 +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- 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 +229 -229
- 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 +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- 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 +1 -1
- package/dist/session/title.js +150 -150
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- 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 +15 -15
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +91 -91
- 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 +125 -125
- 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 +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- 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 +125 -125
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +102 -102
- package/dist/tool/plugin/websearch.js +110 -110
- 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 +8 -8
- package/dist/tool.js +14 -14
- 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 +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- 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/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- 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 +8 -8
- 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/location-2g5sqqgw.js +0 -252
- package/dist/chunks/location-rap9a73h.js +0 -18
- package/dist/chunks/location-sb5wy6p1.js +0 -26
- /package/dist/chunks/{location-0qkdqm5v.js → rpc-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-0zkw76rk.js → rpc-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-17cy0kzp.js → rpc-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-1cnp2v09.js → rpc-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-1kg9ymc8.js → rpc-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-24dcb14g.js → rpc-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-2710q6r3.js → rpc-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-2axfhc9x.js → rpc-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-2c3vjs8z.js → rpc-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-34c7v6d4.js → rpc-34c7v6d4.js} +0 -0
- /package/dist/chunks/{location-359p4xyc.js → rpc-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-3asan66x.js → rpc-3asan66x.js} +0 -0
- /package/dist/chunks/{location-3v8g72cx.js → rpc-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-3w5fmr99.js → rpc-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-3wcehsnq.js → rpc-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-43n2bw4t.js → rpc-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-4knz6hnm.js → rpc-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-4vcrnpx2.js → rpc-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-4y7fprxs.js → rpc-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-53557ph1.js → rpc-53557ph1.js} +0 -0
- /package/dist/chunks/{location-550bvhaj.js → rpc-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-6prwharc.js → rpc-6prwharc.js} +0 -0
- /package/dist/chunks/{location-7akdwqpd.js → rpc-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-7m9af43g.js → rpc-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-822emrt2.js → rpc-822emrt2.js} +0 -0
- /package/dist/chunks/{location-88xbtdfr.js → rpc-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-8n3pysct.js → rpc-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-8wj87zfr.js → rpc-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-922hggd3.js → rpc-922hggd3.js} +0 -0
- /package/dist/chunks/{location-9a4afbnw.js → rpc-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-9rqn6x4v.js → rpc-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-a6k6eb26.js → rpc-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-af5trqkr.js → rpc-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-afrmfg78.js → rpc-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-aqzs7mqg.js → rpc-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-atq7p7m5.js → rpc-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-bkyjaxrp.js → rpc-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-bmr6ed5q.js → rpc-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-cf4snx6d.js → rpc-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-cvy3z8tj.js → rpc-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-d9fn303g.js → rpc-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-d9jj8t3e.js → rpc-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-dajrwvna.js → rpc-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-dap0rakb.js → rpc-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-df08tz66.js → rpc-df08tz66.js} +0 -0
- /package/dist/chunks/{location-dy18nga0.js → rpc-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-e5kj55wp.js → rpc-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-e73j6tqm.js → rpc-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-ec1grn59.js → rpc-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-eh3zwz77.js → rpc-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-emrn6kk6.js → rpc-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-f0mxakyp.js → rpc-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-f6n9ztr4.js → rpc-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-faypxj3z.js → rpc-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-fd410y7t.js → rpc-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-fxgpk5d8.js → rpc-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-g4wezp1m.js → rpc-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-g86h250q.js → rpc-g86h250q.js} +0 -0
- /package/dist/chunks/{location-gebd4c9n.js → rpc-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-gftt206x.js → rpc-gftt206x.js} +0 -0
- /package/dist/chunks/{location-hjbc5kem.js → rpc-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-hk9envan.js → rpc-hk9envan.js} +0 -0
- /package/dist/chunks/{location-j2ntwpah.js → rpc-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-j5zkgpj8.js → rpc-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-jjkms2e6.js → rpc-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-jr7sbwjy.js → rpc-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-jwfs4k6c.js → rpc-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-jzg6c2d5.js → rpc-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-mp448xyj.js → rpc-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-msx8hqn2.js → rpc-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-n05xt0ee.js → rpc-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-n3j8tn72.js → rpc-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-njntx4h6.js → rpc-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-q3sfg36h.js → rpc-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-q74kybfr.js → rpc-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-qaymkmh1.js → rpc-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-qb87gjwd.js → rpc-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-qfa1cgps.js → rpc-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-qg3g05ea.js → rpc-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-qrg20bc0.js → rpc-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-rcb2kzg1.js → rpc-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-sdp7kfr6.js → rpc-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-sk3qaz4a.js → rpc-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-ssg3fenm.js → rpc-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-w803qqfp.js → rpc-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-wc3fc9cn.js → rpc-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-wer8tq1h.js → rpc-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-wtztk69x.js → rpc-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-x0ckcb58.js → rpc-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-x61499pn.js → rpc-x61499pn.js} +0 -0
- /package/dist/chunks/{location-y44na4kk.js → rpc-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-y8cydn3q.js → rpc-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-y8f7s663.js → rpc-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-ygaqb7jw.js → rpc-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-ym463w8f.js → rpc-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-z9919s4g.js → rpc-z9919s4g.js} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service78
|
|
6
|
+
} from "./rpc-61hbrkhq.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service15
|
|
9
|
+
} from "./rpc-eafppxg9.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service3
|
|
12
|
+
} from "./rpc-p14jyq32.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./rpc-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -24,25 +24,25 @@ import {
|
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
26
|
Service4
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./rpc-s2d6nvja.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./rpc-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input9,
|
|
36
|
+
Plugin: () => Plugin10,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name9,
|
|
39
|
+
toModelContent: () => toModelContent5
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name9 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input9 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin10 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
61
|
const reader = yield* Service4;
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
62
|
+
const access = yield* Service15;
|
|
63
|
+
const sessionInstructions = yield* Service3;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service78;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name9,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input9,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -112,7 +112,7 @@ var Plugin6 = {
|
|
|
112
112
|
return { output: result.content, path: result.path };
|
|
113
113
|
}).pipe(Effect.map((result) => ({
|
|
114
114
|
output: result.output,
|
|
115
|
-
content:
|
|
115
|
+
content: toModelContent5(result.path, input.offset, result.output),
|
|
116
116
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
117
117
|
})), Effect.mapError((error) => {
|
|
118
118
|
if (error instanceof ToolFailure)
|
|
@@ -145,7 +145,7 @@ ${suggestions.join(`
|
|
|
145
145
|
});
|
|
146
146
|
})
|
|
147
147
|
};
|
|
148
|
-
var
|
|
148
|
+
var toModelContent5 = (path, offset, output) => {
|
|
149
149
|
if (output.type === "file" && output.encoding === "base64")
|
|
150
150
|
return [
|
|
151
151
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -181,4 +181,4 @@ var toModelContent3 = (path, offset, output) => {
|
|
|
181
181
|
`);
|
|
182
182
|
};
|
|
183
183
|
|
|
184
|
-
export {
|
|
184
|
+
export { name9, Input9, Plugin10, toModelContent5, exports_read };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./rpc-33w90mgy.js";
|
|
5
5
|
import {
|
|
6
6
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./rpc-tazgh4e4.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service78,
|
|
12
|
+
node82
|
|
13
|
+
} from "./rpc-61hbrkhq.js";
|
|
14
14
|
import {
|
|
15
15
|
reconcile2,
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./rpc-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./rpc-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/vcs.ts
|
|
23
23
|
var exports_vcs = {};
|
|
@@ -26,17 +26,17 @@ __export(exports_vcs, {
|
|
|
26
26
|
BranchList: () => BranchList2,
|
|
27
27
|
DiffError: () => DiffError2,
|
|
28
28
|
FileStatus: () => FileStatus2,
|
|
29
|
-
Info: () =>
|
|
29
|
+
Info: () => Info7,
|
|
30
30
|
Mode: () => Mode2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service42,
|
|
32
32
|
Vcs: () => exports_vcs,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node46
|
|
34
34
|
});
|
|
35
35
|
import path from "path";
|
|
36
36
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
37
37
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
38
38
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
39
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
39
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info7, Mode as Mode2 } from "@opencode/schema/vcs";
|
|
40
40
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
41
41
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -45,11 +45,11 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
|
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service42 extends Context.Service()("@opencode/Vcs") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service78;
|
|
53
53
|
const bus = yield* Service83;
|
|
54
54
|
const root = yield* Effect.scope;
|
|
55
55
|
const fork = yield* FiberSet.makeRuntime();
|
|
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
62
62
|
canonical: location.project.canonical,
|
|
63
63
|
...vcs ? { store: vcs.store } : {}
|
|
64
64
|
};
|
|
65
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
65
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info7));
|
|
66
66
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
67
67
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
68
68
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -118,7 +118,7 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
118
118
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
119
119
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
120
120
|
}
|
|
121
|
-
return
|
|
121
|
+
return Service42.of({
|
|
122
122
|
transform: state.transform,
|
|
123
123
|
reload: state.reload,
|
|
124
124
|
info: Effect.fn("Vcs.info")(function* () {
|
|
@@ -164,10 +164,10 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
164
164
|
})
|
|
165
165
|
});
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
168
|
-
service:
|
|
167
|
+
var node46 = makeLocationNode({
|
|
168
|
+
service: Service42,
|
|
169
169
|
layer,
|
|
170
|
-
deps: [FSUtil.node,
|
|
170
|
+
deps: [FSUtil.node, node82, node87]
|
|
171
171
|
});
|
|
172
172
|
|
|
173
|
-
export { Base2, BranchList2, FileStatus2,
|
|
173
|
+
export { Base2, BranchList2, FileStatus2, Info7, Mode2, DiffError2, Service42, node46, exports_vcs };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID11
|
|
3
|
+
} from "./rpc-sdcd8j0d.js";
|
|
4
4
|
import {
|
|
5
5
|
iife2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-1kg9ymc8.js";
|
|
7
7
|
import {
|
|
8
8
|
configuredSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./rpc-4fp42h4f.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
14
14
|
import { Form } from "@opencode/schema/form";
|
|
15
|
-
var providerID =
|
|
15
|
+
var providerID = ID11.make("cloudflare-workers-ai");
|
|
16
16
|
var CloudflareWorkersAIPlugin2 = define({
|
|
17
17
|
id: "opencode.provider.cloudflare.workers.ai",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-33w4ejhs.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin17,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint3
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint3 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin17 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin15 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint3);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint3, Plugin17, exports_exa };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/effect/keyed-mutex.ts
|
|
6
6
|
var exports_keyed_mutex = {};
|
|
7
7
|
__export(exports_keyed_mutex, {
|
|
8
8
|
KeyedMutex: () => exports_keyed_mutex,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make23,
|
|
10
10
|
makeUnsafe: () => makeUnsafe2
|
|
11
11
|
});
|
|
12
12
|
import { Effect, Semaphore } from "effect";
|
|
@@ -26,6 +26,6 @@ var makeUnsafe2 = () => {
|
|
|
26
26
|
});
|
|
27
27
|
return { size: Effect.sync(() => locks.size), withLock };
|
|
28
28
|
};
|
|
29
|
-
var
|
|
29
|
+
var make23 = () => Effect.sync(makeUnsafe2);
|
|
30
30
|
|
|
31
|
-
export { makeUnsafe2,
|
|
31
|
+
export { makeUnsafe2, make23, exports_keyed_mutex };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service64
|
|
3
|
+
} from "./rpc-gv66z500.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service34
|
|
6
|
+
} from "./rpc-1ggtwts1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./rpc-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
12
|
var exports_mcp2 = {};
|
|
13
13
|
__export(exports_mcp2, {
|
|
14
14
|
ConfigMcpPlugin: () => exports_mcp2,
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin49,
|
|
16
16
|
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin49 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register2(ctx.event.subscribe());
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
26
|
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
-
const config = yield*
|
|
28
|
-
const mcp = yield*
|
|
27
|
+
const config = yield* Service64;
|
|
28
|
+
const mcp = yield* Service34;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin49, register2, exports_mcp2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service64
|
|
3
|
+
} from "./rpc-gv66z500.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service12
|
|
6
|
+
} from "./rpc-cwa6csj7.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./rpc-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./rpc-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/location-watcher.ts
|
|
15
|
-
var
|
|
16
|
-
__export(
|
|
17
|
-
ConfigLocationWatcherPlugin: () =>
|
|
18
|
-
Plugin: () =>
|
|
15
|
+
var exports_location_watcher = {};
|
|
16
|
+
__export(exports_location_watcher, {
|
|
17
|
+
ConfigLocationWatcherPlugin: () => exports_location_watcher,
|
|
18
|
+
Plugin: () => Plugin32
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin32 = define({
|
|
23
23
|
id: "opencode.config.location-watcher",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const policy = yield*
|
|
25
|
+
const config = yield* Service64;
|
|
26
|
+
const policy = yield* Service12;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, policy.reload());
|
|
28
28
|
yield* policy.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -35,4 +35,4 @@ var Plugin40 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin32, exports_location_watcher };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openaiFailedResponseHandler2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-550bvhaj.js";
|
|
4
4
|
import {
|
|
5
5
|
convertToOpenAIResponsesInput2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-j5zkgpj8.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAIResponseFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./rpc-3asan66x.js";
|
|
10
10
|
import {
|
|
11
11
|
prepareResponsesTools2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./rpc-kerhshr9.js";
|
|
13
13
|
|
|
14
14
|
// src/github-copilot/responses/openai-responses-language-model.ts
|
|
15
15
|
import {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// src/filesystem/watcher-binding.ts
|
|
2
2
|
import { createRequire } from "node:module";
|
|
3
|
-
function
|
|
3
|
+
function load5() {
|
|
4
4
|
const require2 = createRequire(import.meta.url);
|
|
5
5
|
const libc = typeof OPENCODE_LIBC === "undefined" ? undefined : OPENCODE_LIBC;
|
|
6
6
|
return require2(process.env.OPENCODE_PARCEL_WATCHER_PATH ?? `@parcel/watcher-${process.platform}-${process.arch}${process.platform === "linux" ? `-${libc || "glibc"}` : ""}`);
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
export {
|
|
9
|
+
export { load5 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service76
|
|
3
|
+
} from "./rpc-3d9q0z9h.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/stdio.ts
|
|
9
9
|
var exports_stdio = {};
|
|
@@ -19,7 +19,7 @@ var FORCE_KILL_AFTER = Duration.seconds(2);
|
|
|
19
19
|
var OUTGOING_CAPACITY = 64;
|
|
20
20
|
var MAX_FRAME_BYTES = 16 * 1024 * 1024;
|
|
21
21
|
var make2 = Effect.fnUntraced(function* (options) {
|
|
22
|
-
const environment = yield*
|
|
22
|
+
const environment = yield* Service76;
|
|
23
23
|
const scope = yield* Effect.scope;
|
|
24
24
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
25
25
|
const buffer = new ReadBuffer;
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ascending2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-tvtrv512.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service82,
|
|
6
|
+
node86
|
|
7
|
+
} from "./rpc-nanx9z7d.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionMessage2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./rpc-gftt206x.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionSchema2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./rpc-k6yq57aq.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./rpc-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/job.ts
|
|
19
19
|
var exports_job = {};
|
|
20
20
|
__export(exports_job, {
|
|
21
21
|
Job: () => exports_job,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service49,
|
|
23
23
|
make: () => make19,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node52
|
|
25
25
|
});
|
|
26
26
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
27
27
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -51,7 +51,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
|
51
51
|
var backgroundPrefix = "job.background/";
|
|
52
52
|
var COMPLETED_LIMIT = 25;
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service49 extends Context.Service()("@opencode/Job") {
|
|
55
55
|
}
|
|
56
56
|
function snapshot(job) {
|
|
57
57
|
return {
|
|
@@ -87,7 +87,7 @@ function decrementSession(input, sessionID) {
|
|
|
87
87
|
return next;
|
|
88
88
|
}
|
|
89
89
|
var make19 = Effect.gen(function* () {
|
|
90
|
-
const kv = yield*
|
|
90
|
+
const kv = yield* Service82;
|
|
91
91
|
const state = {
|
|
92
92
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
93
93
|
scope: yield* Scope.Scope
|
|
@@ -346,7 +346,7 @@ var make19 = Effect.gen(function* () {
|
|
|
346
346
|
next.delete(entry[0]);
|
|
347
347
|
return next;
|
|
348
348
|
})));
|
|
349
|
-
return
|
|
349
|
+
return Service49.of({
|
|
350
350
|
get,
|
|
351
351
|
start,
|
|
352
352
|
wait,
|
|
@@ -358,7 +358,7 @@ var make19 = Effect.gen(function* () {
|
|
|
358
358
|
completeBackground
|
|
359
359
|
});
|
|
360
360
|
});
|
|
361
|
-
var layer = Layer.effect(
|
|
362
|
-
var
|
|
361
|
+
var layer = Layer.effect(Service49, make19);
|
|
362
|
+
var node52 = makeGlobalNode({ service: Service49, layer, deps: [node86] });
|
|
363
363
|
|
|
364
|
-
export {
|
|
364
|
+
export { Service49, make19, node52, exports_job };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service64
|
|
4
|
+
} from "./rpc-gv66z500.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service69
|
|
7
|
+
} from "./rpc-5eb3a1ca.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./rpc-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./rpc-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/tool-output.ts
|
|
16
16
|
var exports_tool_output = {};
|
|
17
17
|
__export(exports_tool_output, {
|
|
18
18
|
ConfigToolOutputPlugin: () => exports_tool_output,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin41
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin41 = define({
|
|
24
24
|
id: "opencode.config.tool-output",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const output = yield*
|
|
26
|
+
const config = yield* Service64;
|
|
27
|
+
const output = yield* Service69;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, output.reload());
|
|
29
29
|
yield* output.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "tool_output");
|
|
@@ -38,4 +38,4 @@ var Plugin48 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin41, exports_tool_output };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Info22
|
|
6
|
+
} from "./rpc-axmvebxj.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./rpc-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/v1/config/agent.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
14
|
-
ConfigAgentV1: () =>
|
|
15
|
-
Info: () =>
|
|
12
|
+
var exports_agent4 = {};
|
|
13
|
+
__export(exports_agent4, {
|
|
14
|
+
ConfigAgentV1: () => exports_agent4,
|
|
15
|
+
Info: () => Info15
|
|
16
16
|
});
|
|
17
17
|
import { Schema, SchemaGetter } from "effect";
|
|
18
18
|
var Color = Schema.Union([
|
|
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
44
44
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
45
45
|
}),
|
|
46
46
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
47
|
-
permission: Schema.optional(
|
|
47
|
+
permission: Schema.optional(Info22)
|
|
48
48
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
49
49
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
50
50
|
var normalize = (agent) => {
|
|
@@ -66,9 +66,9 @@ var normalize = (agent) => {
|
|
|
66
66
|
const steps = agent.steps ?? agent.maxSteps;
|
|
67
67
|
return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
|
|
68
68
|
};
|
|
69
|
-
var
|
|
69
|
+
var Info15 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
|
|
70
70
|
decode: SchemaGetter.transform(normalize),
|
|
71
71
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
72
72
|
})).annotate({ identifier: "AgentConfig" });
|
|
73
73
|
|
|
74
|
-
export {
|
|
74
|
+
export { Info15, exports_agent4 };
|