@opencode/core 0.0.0-dev-21067 → 0.0.0-dev-21071
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 +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{repository-cache-v4v9aph4.js → file-mutation-04gahc5k.js} +13 -13
- package/dist/chunks/{repository-cache-529j2gk6.js → file-mutation-0bc7m438.js} +8 -8
- package/dist/chunks/{repository-cache-qgn6gcr1.js → file-mutation-0jwsre1p.js} +5 -5
- package/dist/chunks/{repository-cache-491xdksk.js → file-mutation-0mpedbbb.js} +22 -22
- package/dist/chunks/{repository-cache-gj71zhbs.js → file-mutation-0r3c1bmw.js} +5 -5
- package/dist/chunks/{repository-cache-0vbcp93d.js → file-mutation-0vbcp93d.js} +2 -2
- package/dist/chunks/{repository-cache-xreky3y6.js → file-mutation-0yhk6gp6.js} +32 -32
- package/dist/chunks/{repository-cache-fw181sc9.js → file-mutation-0ypwzj5g.js} +9 -9
- package/dist/chunks/{repository-cache-cx8gshh0.js → file-mutation-11b27e8f.js} +18 -18
- package/dist/chunks/{repository-cache-ejb551xx.js → file-mutation-14yva1n7.js} +50 -50
- package/dist/chunks/{repository-cache-kpe059n0.js → file-mutation-1cq4pe0m.js} +12 -12
- package/dist/chunks/{repository-cache-wjr9rjd7.js → file-mutation-1ffvrpkg.js} +9 -9
- package/dist/chunks/{repository-cache-kcvbm89f.js → file-mutation-1j8qaxwj.js} +35 -35
- package/dist/chunks/{repository-cache-xyzkt3tg.js → file-mutation-1jj86a1g.js} +28 -28
- package/dist/chunks/{repository-cache-abs0cgcn.js → file-mutation-1r21y0zf.js} +36 -36
- package/dist/chunks/{repository-cache-f25zr6qz.js → file-mutation-21gy9x8d.js} +32 -32
- package/dist/chunks/{repository-cache-0h584zcj.js → file-mutation-25jsarnm.js} +35 -35
- package/dist/chunks/{repository-cache-nj3byha7.js → file-mutation-2anmfb28.js} +20 -20
- package/dist/chunks/{repository-cache-nq7pnem0.js → file-mutation-2pky7py4.js} +23 -23
- package/dist/chunks/{repository-cache-1c0nrm75.js → file-mutation-39crmc22.js} +36 -36
- package/dist/chunks/{repository-cache-8tsx4356.js → file-mutation-3b2a3n6q.js} +20 -20
- package/dist/chunks/{repository-cache-6shgtgh7.js → file-mutation-3dz6ahwr.js} +24 -24
- package/dist/chunks/{repository-cache-yh1stbkq.js → file-mutation-3ed11w8s.js} +9 -9
- package/dist/chunks/{repository-cache-3fc6dm20.js → file-mutation-3fc6dm20.js} +1 -1
- package/dist/chunks/{repository-cache-3hepkmqq.js → file-mutation-3hepkmqq.js} +1 -1
- package/dist/chunks/{repository-cache-3hwn7j4h.js → file-mutation-3hwn7j4h.js} +2 -2
- package/dist/chunks/{repository-cache-b15enhky.js → file-mutation-3nh75wq8.js} +25 -25
- package/dist/chunks/{repository-cache-3smtnn6g.js → file-mutation-3smtnn6g.js} +1 -1
- package/dist/chunks/{repository-cache-3tvqynh2.js → file-mutation-3tvqynh2.js} +1 -1
- package/dist/chunks/{repository-cache-p91h8kfs.js → file-mutation-3vnbg786.js} +4 -4
- package/dist/chunks/{repository-cache-3zsf4n22.js → file-mutation-3zsf4n22.js} +1 -1
- package/dist/chunks/file-mutation-4ahhhrmd.js +513 -0
- package/dist/chunks/{repository-cache-5kcxs3hq.js → file-mutation-4rseknjd.js} +14 -14
- package/dist/chunks/{repository-cache-c63260k1.js → file-mutation-50dehnmn.js} +22 -22
- package/dist/chunks/{repository-cache-4cacgcg4.js → file-mutation-59zkjk3y.js} +13 -13
- package/dist/chunks/{repository-cache-5m9w47nd.js → file-mutation-5m9w47nd.js} +1 -1
- package/dist/chunks/{repository-cache-krf4tsjk.js → file-mutation-5wap4m0x.js} +32 -32
- package/dist/chunks/{repository-cache-j1wkfhwt.js → file-mutation-5yssak3t.js} +11 -11
- package/dist/chunks/{repository-cache-9y9sk2j9.js → file-mutation-63db42yp.js} +2 -2
- package/dist/chunks/{repository-cache-q2pht526.js → file-mutation-6hr6wpb4.js} +15 -15
- package/dist/chunks/{repository-cache-8qpd1wq0.js → file-mutation-6mr69mjb.js} +28 -28
- package/dist/chunks/{repository-cache-0mp77758.js → file-mutation-6vav3wr9.js} +21 -21
- package/dist/chunks/{repository-cache-6xb47vfp.js → file-mutation-6xb47vfp.js} +1 -1
- package/dist/chunks/{repository-cache-v1cyyw7h.js → file-mutation-7020efnj.js} +15 -15
- package/dist/chunks/{repository-cache-775gj3j1.js → file-mutation-775gj3j1.js} +2 -2
- package/dist/chunks/{repository-cache-d1qr7c61.js → file-mutation-776yvj3q.js} +29 -29
- package/dist/chunks/{repository-cache-0q1bg550.js → file-mutation-77qt7e0z.js} +7 -7
- package/dist/chunks/{repository-cache-bxv8f0vx.js → file-mutation-79xjmmb5.js} +37 -37
- package/dist/chunks/{repository-cache-7bmhse3q.js → file-mutation-7bmhse3q.js} +1 -1
- package/dist/chunks/{repository-cache-bfv9bv9k.js → file-mutation-7hb0ye5y.js} +6 -6
- package/dist/chunks/{repository-cache-vhaf4ayt.js → file-mutation-7m8s928w.js} +95 -95
- package/dist/chunks/{repository-cache-ctj9g63t.js → file-mutation-7n0883x4.js} +26 -26
- package/dist/chunks/{repository-cache-apjrvc88.js → file-mutation-7s7hm91v.js} +14 -14
- package/dist/chunks/{repository-cache-9rehpywf.js → file-mutation-7sjtwm11.js} +27 -27
- package/dist/chunks/{repository-cache-xybefm6f.js → file-mutation-7zt5x37y.js} +1 -1
- package/dist/chunks/{repository-cache-w1eejvng.js → file-mutation-84txncab.js} +5 -5
- package/dist/chunks/{repository-cache-89znhe33.js → file-mutation-89znhe33.js} +1 -1
- package/dist/chunks/{repository-cache-8m6m0r52.js → file-mutation-8m6m0r52.js} +1 -1
- package/dist/chunks/{repository-cache-eg4pqzs7.js → file-mutation-90d8cn73.js} +7 -7
- package/dist/chunks/{repository-cache-wqaksqmk.js → file-mutation-92c2cc71.js} +20 -20
- package/dist/chunks/{repository-cache-1002ah85.js → file-mutation-92ddkf58.js} +4 -4
- package/dist/chunks/{repository-cache-e49nbjze.js → file-mutation-92gn8zss.js} +16 -16
- package/dist/chunks/{repository-cache-waskdk5r.js → file-mutation-97aeaand.js} +4 -4
- package/dist/chunks/{repository-cache-pm1kn7fh.js → file-mutation-995g38qh.js} +23 -23
- package/dist/chunks/{repository-cache-wbv8krvw.js → file-mutation-9e8th0kv.js} +35 -35
- package/dist/chunks/{repository-cache-ycpsy51k.js → file-mutation-9h5yh638.js} +27 -27
- package/dist/chunks/{repository-cache-xrr5sc3f.js → file-mutation-9rrwnz2a.js} +39 -39
- package/dist/chunks/{repository-cache-crq3qyq7.js → file-mutation-9s6resbq.js} +18 -18
- package/dist/chunks/file-mutation-9sh4wc5j.js +18 -0
- package/dist/chunks/{repository-cache-mpy9qz4k.js → file-mutation-a0zqwv0t.js} +11 -11
- package/dist/chunks/{repository-cache-9ydfqn9m.js → file-mutation-a4wsassf.js} +24 -24
- package/dist/chunks/{repository-cache-e40rpznh.js → file-mutation-afy8vrty.js} +11 -11
- package/dist/chunks/{repository-cache-q5v42qaq.js → file-mutation-amw107g8.js} +29 -29
- package/dist/chunks/{repository-cache-rkxvzxf2.js → file-mutation-awj2nbsy.js} +47 -47
- package/dist/chunks/{repository-cache-wecqtg5s.js → file-mutation-b3f8fkhc.js} +5 -5
- package/dist/chunks/{repository-cache-sje3rda6.js → file-mutation-b43vfdes.js} +14 -14
- package/dist/chunks/{repository-cache-h4a8c9dz.js → file-mutation-b7enqntx.js} +16 -16
- package/dist/chunks/{repository-cache-1zkr7at4.js → file-mutation-b8bhhzxn.js} +17 -17
- package/dist/chunks/file-mutation-b9d8dn4y.js +26 -0
- package/dist/chunks/{repository-cache-mj4tx5qy.js → file-mutation-bt7w1kje.js} +22 -22
- package/dist/chunks/{repository-cache-c1fqxshp.js → file-mutation-c1fqxshp.js} +3 -3
- package/dist/chunks/{repository-cache-b4qvnwj4.js → file-mutation-c32pkzs5.js} +45 -45
- package/dist/chunks/{repository-cache-ewxjqerj.js → file-mutation-c6ayj5b9.js} +25 -25
- package/dist/chunks/{repository-cache-cjb9bptw.js → file-mutation-c9hdf14c.js} +11 -11
- package/dist/chunks/{repository-cache-ch54pc8v.js → file-mutation-cadd5v4z.js} +5 -5
- package/dist/chunks/{repository-cache-j2b91fdp.js → file-mutation-cdyhe1ya.js} +14 -14
- package/dist/chunks/{repository-cache-14ghcskf.js → file-mutation-cf7y9c8p.js} +11 -11
- package/dist/chunks/{repository-cache-vr44d4hm.js → file-mutation-cn9ad67s.js} +22 -22
- package/dist/chunks/{repository-cache-5cgvgbkt.js → file-mutation-csq5hgpx.js} +19 -19
- package/dist/chunks/{repository-cache-tnw9vg4a.js → file-mutation-ctc6ed33.js} +1 -1
- package/dist/chunks/{repository-cache-k9gyx25e.js → file-mutation-cxnfkyxa.js} +25 -25
- package/dist/chunks/{repository-cache-9m58ky0y.js → file-mutation-d45jvkea.js} +32 -32
- package/dist/chunks/{repository-cache-addxnjmp.js → file-mutation-db2wf4at.js} +4 -4
- package/dist/chunks/{repository-cache-0vxmkk46.js → file-mutation-dj3cg100.js} +13 -13
- package/dist/chunks/{repository-cache-dqxsqydv.js → file-mutation-dqxsqydv.js} +1 -1
- package/dist/chunks/{repository-cache-kqtg52fn.js → file-mutation-drh946jm.js} +78 -78
- package/dist/chunks/{repository-cache-57b9ws8p.js → file-mutation-drwq78ky.js} +5 -5
- package/dist/chunks/{repository-cache-xfnq57nx.js → file-mutation-e2hxmdav.js} +15 -15
- package/dist/chunks/{repository-cache-2hs2b7gr.js → file-mutation-e6n8rayc.js} +16 -16
- package/dist/chunks/{repository-cache-rhjbct0v.js → file-mutation-eaj1djv9.js} +8 -8
- package/dist/chunks/{repository-cache-8xbb1bj4.js → file-mutation-ec4k3znj.js} +4 -4
- package/dist/chunks/{repository-cache-eej6y6fw.js → file-mutation-eej6y6fw.js} +2 -2
- package/dist/chunks/{repository-cache-ef5x83kb.js → file-mutation-ef5x83kb.js} +1 -1
- package/dist/chunks/{repository-cache-pk4ymh6x.js → file-mutation-efqq20xs.js} +20 -20
- package/dist/chunks/{repository-cache-47p11zqp.js → file-mutation-eha4acjp.js} +30 -30
- package/dist/chunks/{repository-cache-cchmky4n.js → file-mutation-eyck5g6r.js} +4 -4
- package/dist/chunks/{repository-cache-d9vjfnsx.js → file-mutation-f2dsd17s.js} +21 -21
- package/dist/chunks/{repository-cache-aypb1cd9.js → file-mutation-f741zez9.js} +12 -12
- package/dist/chunks/{repository-cache-qyj1vcvk.js → file-mutation-f78dsz6n.js} +11 -11
- package/dist/chunks/{repository-cache-6fatt4mk.js → file-mutation-fdms3n6w.js} +9 -9
- package/dist/chunks/{repository-cache-jecp24jg.js → file-mutation-fdwveq8c.js} +6 -6
- package/dist/chunks/{repository-cache-sxk90dft.js → file-mutation-fefg9bmw.js} +38 -38
- package/dist/chunks/{repository-cache-ab7kh9ah.js → file-mutation-ffrvhpw6.js} +13 -13
- package/dist/chunks/{repository-cache-4w5f3qm5.js → file-mutation-fgem0d3n.js} +8 -8
- package/dist/chunks/{repository-cache-ptjpt6w9.js → file-mutation-fp1pr8tk.js} +92 -92
- package/dist/chunks/{repository-cache-3s0pff9n.js → file-mutation-fq5ew60m.js} +4 -4
- package/dist/chunks/{repository-cache-cmwkp3r5.js → file-mutation-g0445xdp.js} +4 -4
- package/dist/chunks/{repository-cache-g6yfr6ja.js → file-mutation-g6yfr6ja.js} +2 -2
- package/dist/chunks/{repository-cache-gd4qta3r.js → file-mutation-gd4qta3r.js} +1 -1
- package/dist/chunks/{repository-cache-g6q9qykm.js → file-mutation-gjwgx2c5.js} +9 -9
- package/dist/chunks/{repository-cache-9bepqb19.js → file-mutation-gn5h8pq0.js} +47 -47
- package/dist/chunks/{repository-cache-mv1zf9z2.js → file-mutation-grdcrf3d.js} +46 -46
- package/dist/chunks/{repository-cache-q51r5gk2.js → file-mutation-gsqcb970.js} +9 -9
- package/dist/chunks/{repository-cache-d2czbp48.js → file-mutation-gw7cjrad.js} +4 -4
- package/dist/chunks/{repository-cache-4weqkh0r.js → file-mutation-gy17075n.js} +12 -12
- package/dist/chunks/{repository-cache-zgza60ny.js → file-mutation-gzn03n0s.js} +8 -8
- package/dist/chunks/{repository-cache-temcp865.js → file-mutation-h26t4a67.js} +4 -4
- package/dist/chunks/{repository-cache-3dp26de5.js → file-mutation-h3z9m7dx.js} +3 -3
- package/dist/chunks/{repository-cache-h6vf3j39.js → file-mutation-h6vf3j39.js} +1 -1
- package/dist/chunks/{repository-cache-h7s7r6s9.js → file-mutation-h7s7r6s9.js} +2 -2
- package/dist/chunks/{repository-cache-8xfr6ygr.js → file-mutation-h95evsxh.js} +4 -4
- package/dist/chunks/{repository-cache-hgz4x7wa.js → file-mutation-hgz4x7wa.js} +1 -1
- package/dist/chunks/{repository-cache-4s488yf0.js → file-mutation-hhn1ddy0.js} +22 -22
- package/dist/chunks/{repository-cache-20ddjeqk.js → file-mutation-hjt1hbfa.js} +5 -5
- package/dist/chunks/{repository-cache-91qna3x0.js → file-mutation-j09zfasm.js} +3 -3
- package/dist/chunks/{repository-cache-z0qz3jqt.js → file-mutation-j0ya2rs8.js} +59 -59
- package/dist/chunks/{repository-cache-5fggwg49.js → file-mutation-j33d5bbd.js} +9 -9
- package/dist/chunks/{repository-cache-pdx0gykg.js → file-mutation-j41s7mqx.js} +23 -23
- package/dist/chunks/{repository-cache-by2m0qzd.js → file-mutation-j5cagssa.js} +11 -11
- package/dist/chunks/{repository-cache-zzt06fmm.js → file-mutation-jfrbrgfz.js} +14 -14
- package/dist/chunks/{repository-cache-71ydk2nh.js → file-mutation-jhm1x23d.js} +5 -5
- package/dist/chunks/{repository-cache-ngpfqwbj.js → file-mutation-jq0sr216.js} +22 -22
- package/dist/chunks/{repository-cache-g3y8m8pp.js → file-mutation-jr64ns26.js} +14 -14
- package/dist/chunks/{repository-cache-e5m8tg9t.js → file-mutation-k0j14s5e.js} +23 -23
- package/dist/chunks/{repository-cache-xgq2rm19.js → file-mutation-k1pj957b.js} +9 -9
- package/dist/chunks/{repository-cache-wp5jg3qv.js → file-mutation-k6q4wxba.js} +15 -15
- package/dist/chunks/{repository-cache-0ks8fkk7.js → file-mutation-k9dhbhwr.js} +18 -18
- package/dist/chunks/{repository-cache-mwyvanbh.js → file-mutation-kf57y49z.js} +14 -14
- package/dist/chunks/{repository-cache-ve7zbnhg.js → file-mutation-kszxvpmf.js} +13 -13
- package/dist/chunks/{repository-cache-kwb1v3vj.js → file-mutation-kwb1v3vj.js} +1 -1
- package/dist/chunks/{repository-cache-0fkzsajt.js → file-mutation-m3accaze.js} +58 -58
- package/dist/chunks/{repository-cache-m9w0rfyh.js → file-mutation-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-cache-maspj1v3.js → file-mutation-maspj1v3.js} +1 -1
- package/dist/chunks/{repository-cache-x7pmjftd.js → file-mutation-mk6dfvp6.js} +9 -9
- package/dist/chunks/{repository-cache-cdv61tg0.js → file-mutation-mnx7pdmv.js} +11 -11
- package/dist/chunks/{repository-cache-34wbqfzd.js → file-mutation-mp3r2yw7.js} +13 -13
- package/dist/chunks/{repository-cache-9e6h2n11.js → file-mutation-mx57q4zt.js} +5 -5
- package/dist/chunks/{repository-cache-2r93mh4x.js → file-mutation-mydantps.js} +12 -12
- package/dist/chunks/{repository-cache-d4k0r7c4.js → file-mutation-n2mhxj6d.js} +33 -33
- package/dist/chunks/{repository-cache-2reh3z7q.js → file-mutation-n3xc443j.js} +11 -11
- package/dist/chunks/{repository-cache-dys7k0s0.js → file-mutation-n61013np.js} +8 -8
- package/dist/chunks/{repository-cache-wcmdh5fr.js → file-mutation-nbk7mhjt.js} +8 -8
- package/dist/chunks/{repository-cache-ave3dvq0.js → file-mutation-nexgpjkt.js} +5 -5
- package/dist/chunks/{repository-cache-7hpzbegt.js → file-mutation-ng5ntxb6.js} +5 -5
- package/dist/chunks/{repository-cache-e80seqcp.js → file-mutation-nma959mg.js} +3 -3
- package/dist/chunks/{repository-cache-3j6skxgn.js → file-mutation-nq9e2zk5.js} +15 -15
- package/dist/chunks/{repository-cache-khmqacep.js → file-mutation-ny8edt06.js} +4 -4
- package/dist/chunks/{repository-cache-8nmsyqvc.js → file-mutation-nz114yw4.js} +187 -187
- package/dist/chunks/{repository-cache-3ppptnan.js → file-mutation-p7a39gy5.js} +6 -6
- package/dist/chunks/{repository-cache-a7q6bcxf.js → file-mutation-p7zy3mv1.js} +50 -50
- package/dist/chunks/{repository-cache-1mhdjbgf.js → file-mutation-pcnfwazn.js} +50 -50
- package/dist/chunks/{repository-cache-mq9zb5b9.js → file-mutation-pebh026f.js} +24 -24
- package/dist/chunks/{repository-cache-pjvnvgmy.js → file-mutation-pjvnvgmy.js} +1 -1
- package/dist/chunks/{repository-cache-pknna89w.js → file-mutation-pknna89w.js} +1 -1
- package/dist/chunks/{repository-cache-c342w7bd.js → file-mutation-psezng9k.js} +19 -19
- package/dist/chunks/{repository-cache-pfjh7j5z.js → file-mutation-pw7kcs4h.js} +11 -11
- package/dist/chunks/{repository-cache-6mvxpr6a.js → file-mutation-q25spqw2.js} +24 -24
- package/dist/chunks/{repository-cache-m6b17x9v.js → file-mutation-q41etg39.js} +2 -2
- package/dist/chunks/{repository-cache-dk6v5ecn.js → file-mutation-q6mv5x85.js} +25 -25
- package/dist/chunks/{repository-cache-gd39dmhb.js → file-mutation-qbycd7ce.js} +20 -20
- package/dist/chunks/{repository-cache-87xdddg2.js → file-mutation-qcm1q03w.js} +16 -16
- package/dist/chunks/{repository-cache-94ca0bep.js → file-mutation-qf76qvkk.js} +5 -5
- package/dist/chunks/{repository-cache-t0yfw6ys.js → file-mutation-qkx8anmh.js} +8 -8
- package/dist/chunks/{repository-cache-qnc92qwc.js → file-mutation-qnc92qwc.js} +1 -1
- package/dist/chunks/{repository-cache-k57ac7j1.js → file-mutation-qp2gy7tz.js} +3 -3
- package/dist/chunks/{repository-cache-3yx1m4p2.js → file-mutation-qqjckzrk.js} +34 -34
- package/dist/chunks/{repository-cache-qsdy395h.js → file-mutation-qsdy395h.js} +1 -1
- package/dist/chunks/{repository-cache-fjtmed58.js → file-mutation-qygy1hkm.js} +13 -13
- package/dist/chunks/{repository-cache-j9x0khfw.js → file-mutation-qzex3fqc.js} +6 -6
- package/dist/chunks/{repository-cache-fpyqxqmr.js → file-mutation-r536j0mf.js} +22 -22
- package/dist/chunks/{repository-cache-54ma36ye.js → file-mutation-r94pvvab.js} +4 -4
- package/dist/chunks/{repository-cache-04hm8sbf.js → file-mutation-rbjx1tqt.js} +3 -3
- package/dist/chunks/{repository-cache-rdw6cm16.js → file-mutation-rdw6cm16.js} +1 -1
- package/dist/chunks/{repository-cache-mp7nbm6p.js → file-mutation-re1xywfy.js} +3 -3
- package/dist/chunks/{repository-cache-rert0e01.js → file-mutation-rert0e01.js} +2 -2
- package/dist/chunks/{repository-cache-rj3eygr5.js → file-mutation-rj3eygr5.js} +2 -2
- package/dist/chunks/{repository-cache-xxtzrfs4.js → file-mutation-rjet8g1d.js} +14 -14
- package/dist/chunks/{repository-cache-px85ptb0.js → file-mutation-rk0h5111.js} +28 -28
- package/dist/chunks/{repository-cache-w92k2e0p.js → file-mutation-rkprpv83.js} +8 -8
- package/dist/chunks/{repository-cache-7862sz3y.js → file-mutation-rqg54x9b.js} +5 -5
- package/dist/chunks/{repository-cache-rap56gfv.js → file-mutation-rzxj16tr.js} +10 -10
- package/dist/chunks/{repository-cache-vsye7q8h.js → file-mutation-s3g42skr.js} +30 -30
- package/dist/chunks/{repository-cache-sa8ekw3f.js → file-mutation-sa8ekw3f.js} +2 -2
- package/dist/chunks/{repository-cache-rsvmvhbp.js → file-mutation-sbapmza5.js} +8 -8
- package/dist/chunks/{repository-cache-m93cgr6s.js → file-mutation-sc1pjph2.js} +8 -8
- package/dist/chunks/{repository-cache-mdre6djm.js → file-mutation-sdma8epe.js} +11 -11
- package/dist/chunks/{repository-cache-8ke26ekv.js → file-mutation-sk8sk1p2.js} +25 -25
- package/dist/chunks/{repository-cache-7s2t8884.js → file-mutation-skb1qz6x.js} +7 -7
- package/dist/chunks/{repository-cache-axe3mf62.js → file-mutation-ss358qx3.js} +3 -3
- package/dist/chunks/{repository-cache-btec747f.js → file-mutation-sykc9y4a.js} +5 -5
- package/dist/chunks/{repository-cache-syv4x271.js → file-mutation-syv4x271.js} +1 -1
- package/dist/chunks/{repository-cache-ejvep6r2.js → file-mutation-t1qtpgnt.js} +33 -33
- package/dist/chunks/{repository-cache-bqcq01f8.js → file-mutation-t5dtnmtq.js} +1 -1
- package/dist/chunks/{repository-cache-hqxhqkds.js → file-mutation-t8zq0xng.js} +3 -3
- package/dist/chunks/{repository-cache-tazgh4e4.js → file-mutation-tazgh4e4.js} +1 -1
- package/dist/chunks/{repository-cache-tdstcens.js → file-mutation-tdstcens.js} +1 -1
- package/dist/chunks/{repository-cache-5b8jzjbb.js → file-mutation-teamcsp1.js} +10 -10
- package/dist/chunks/{repository-cache-tm0kqsz3.js → file-mutation-tm0kqsz3.js} +1 -1
- package/dist/chunks/{repository-cache-tyytaxap.js → file-mutation-tyytaxap.js} +1 -1
- package/dist/chunks/{repository-cache-gst7axd9.js → file-mutation-tz4n1mmd.js} +4 -4
- package/dist/chunks/{repository-cache-v0es1rhs.js → file-mutation-v0es1rhs.js} +2 -2
- package/dist/chunks/{repository-cache-y7nndgyc.js → file-mutation-v1vh7s4p.js} +9 -9
- package/dist/chunks/{repository-cache-9hd7xbnq.js → file-mutation-v2s2yk6j.js} +3 -3
- package/dist/chunks/{repository-cache-qb9n2841.js → file-mutation-v3dgmss6.js} +6 -6
- package/dist/chunks/{repository-cache-v5dkyp31.js → file-mutation-v5dkyp31.js} +1 -1
- package/dist/chunks/{repository-cache-m8sfq14v.js → file-mutation-v7jrjpm7.js} +13 -13
- package/dist/chunks/{repository-cache-v7p4zvkq.js → file-mutation-v7p4zvkq.js} +2 -2
- package/dist/chunks/{repository-cache-04fq9w7k.js → file-mutation-v9jtffcg.js} +17 -17
- package/dist/chunks/{repository-cache-veqvce7d.js → file-mutation-veqvce7d.js} +1 -1
- package/dist/chunks/{repository-cache-fvcpcef7.js → file-mutation-vf3ky1a3.js} +14 -14
- package/dist/chunks/{repository-cache-6rm5yzkt.js → file-mutation-vfjhn2wd.js} +4 -4
- package/dist/chunks/file-mutation-vk909ydq.js +253 -0
- package/dist/chunks/{repository-cache-y6mhz57t.js → file-mutation-vkfdnwpx.js} +4 -4
- package/dist/chunks/{repository-cache-3yfx7ssa.js → file-mutation-vw7ed3qr.js} +5 -5
- package/dist/chunks/{repository-cache-vzs5sf6e.js → file-mutation-vzs5sf6e.js} +1 -1
- package/dist/chunks/{repository-cache-w3wsvvr9.js → file-mutation-w3wsvvr9.js} +1 -1
- package/dist/chunks/{repository-cache-geyja93h.js → file-mutation-w48m6n7x.js} +28 -28
- package/dist/chunks/{repository-cache-f0q5jczr.js → file-mutation-w4k8vqpf.js} +15 -15
- package/dist/chunks/{repository-cache-d8v8pkk5.js → file-mutation-w6j04hb9.js} +34 -34
- package/dist/chunks/{repository-cache-wd87259q.js → file-mutation-wd87259q.js} +1 -1
- package/dist/chunks/{repository-cache-kqx1b4hy.js → file-mutation-wg81ww38.js} +4 -4
- package/dist/chunks/{repository-cache-fqp693fh.js → file-mutation-wkngazx7.js} +25 -25
- package/dist/chunks/{repository-cache-at71mg2v.js → file-mutation-wnc0h338.js} +18 -18
- package/dist/chunks/{repository-cache-zss4em3h.js → file-mutation-x478ts87.js} +28 -28
- package/dist/chunks/{repository-cache-a5efwarc.js → file-mutation-x9be270t.js} +19 -19
- package/dist/chunks/{repository-cache-vcdzpava.js → file-mutation-xck5qdb4.js} +41 -41
- package/dist/chunks/{repository-cache-e7r48vpy.js → file-mutation-xeprvqqe.js} +11 -11
- package/dist/chunks/{repository-cache-fdg7jwgm.js → file-mutation-xftmsjnm.js} +19 -19
- package/dist/chunks/{repository-cache-wz0h12mc.js → file-mutation-xkvyqfan.js} +45 -45
- package/dist/chunks/{repository-cache-3f3jw9g7.js → file-mutation-xkz95gf0.js} +27 -27
- package/dist/chunks/{repository-cache-rcy0c9yy.js → file-mutation-xnbc6z54.js} +46 -46
- package/dist/chunks/{repository-cache-fe4hjjyy.js → file-mutation-xsa0zxax.js} +11 -11
- package/dist/chunks/{repository-cache-d591ppm4.js → file-mutation-xsg9rpyw.js} +33 -33
- package/dist/chunks/{repository-cache-h0y6q46p.js → file-mutation-xxbj5h6b.js} +21 -21
- package/dist/chunks/{repository-cache-2c7hjkzv.js → file-mutation-xya6rnzh.js} +17 -17
- package/dist/chunks/{repository-cache-y1fvbwt7.js → file-mutation-y1fvbwt7.js} +1 -1
- package/dist/chunks/{repository-cache-yacze3r8.js → file-mutation-y3xej2bp.js} +5 -5
- package/dist/chunks/{repository-cache-y71avatq.js → file-mutation-y71avatq.js} +1 -1
- package/dist/chunks/{repository-cache-e5tpmdkr.js → file-mutation-y7htv6vf.js} +25 -25
- package/dist/chunks/{repository-cache-6y3da09e.js → file-mutation-yfajwj4k.js} +9 -9
- package/dist/chunks/{repository-cache-sgjfhjy7.js → file-mutation-ym04y10s.js} +11 -11
- package/dist/chunks/{repository-cache-1acjjqhc.js → file-mutation-yp2x3t23.js} +4 -4
- package/dist/chunks/{repository-cache-n2wb2mch.js → file-mutation-yrqbsmq1.js} +35 -35
- package/dist/chunks/{repository-cache-be7qvw84.js → file-mutation-yvvvp4gn.js} +8 -8
- package/dist/chunks/{repository-cache-z0bkrqjs.js → file-mutation-z0bkrqjs.js} +1 -1
- package/dist/chunks/{repository-cache-yrmnft4d.js → file-mutation-z0crbjfj.js} +11 -11
- package/dist/chunks/{repository-cache-e2pebnkw.js → file-mutation-z8jpgmyn.js} +48 -48
- package/dist/chunks/{repository-cache-gq7y3cd8.js → file-mutation-zbtksm62.js} +27 -27
- package/dist/chunks/{repository-cache-cwe0vf0q.js → file-mutation-zcrnfbce.js} +17 -17
- package/dist/chunks/{repository-cache-vk80et65.js → file-mutation-zm0086f9.js} +4 -4
- package/dist/chunks/{repository-cache-0gwaxdb5.js → file-mutation-zpbp9e8h.js} +9 -9
- package/dist/chunks/{repository-cache-zr2ceqn5.js → file-mutation-zr2ceqn5.js} +1 -1
- package/dist/chunks/{repository-cache-9a1tk2ax.js → file-mutation-zrhjcpcd.js} +18 -18
- package/dist/chunks/{repository-cache-ywqzdww2.js → file-mutation-zty7337v.js} +25 -25
- package/dist/chunks/{repository-cache-gv37jgcn.js → file-mutation-zv357qg3.js} +36 -36
- package/dist/chunks/{repository-cache-zxq2ej10.js → file-mutation-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- 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 +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +72 -72
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +81 -81
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +366 -366
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +106 -106
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +85 -85
- package/dist/generate.js +107 -107
- 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 +93 -93
- 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 +357 -357
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +136 -136
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +354 -354
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +6 -6
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +104 -104
- package/dist/models-dev.js +109 -109
- 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 +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +329 -329
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +137 -137
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +156 -156
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +127 -127
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +107 -107
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -77
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- 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 +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +114 -114
- 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 +130 -130
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/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 +5 -5
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +3 -3
- 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/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +7 -7
- 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 +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/repository-cache-dxj72tfx.js +0 -18
- package/dist/chunks/repository-cache-jevmk2ks.js +0 -26
- package/dist/chunks/repository-cache-ks80404h.js +0 -513
- package/dist/chunks/repository-cache-w3tje0hb.js +0 -253
- /package/dist/chunks/{repository-cache-0qkdqm5v.js → file-mutation-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{repository-cache-0zkw76rk.js → file-mutation-0zkw76rk.js} +0 -0
- /package/dist/chunks/{repository-cache-17cy0kzp.js → file-mutation-17cy0kzp.js} +0 -0
- /package/dist/chunks/{repository-cache-1cnp2v09.js → file-mutation-1cnp2v09.js} +0 -0
- /package/dist/chunks/{repository-cache-1kg9ymc8.js → file-mutation-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{repository-cache-24dcb14g.js → file-mutation-24dcb14g.js} +0 -0
- /package/dist/chunks/{repository-cache-2710q6r3.js → file-mutation-2710q6r3.js} +0 -0
- /package/dist/chunks/{repository-cache-2axfhc9x.js → file-mutation-2axfhc9x.js} +0 -0
- /package/dist/chunks/{repository-cache-2bv980vf.js → file-mutation-2bv980vf.js} +0 -0
- /package/dist/chunks/{repository-cache-2c3vjs8z.js → file-mutation-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{repository-cache-359p4xyc.js → file-mutation-359p4xyc.js} +0 -0
- /package/dist/chunks/{repository-cache-3asan66x.js → file-mutation-3asan66x.js} +0 -0
- /package/dist/chunks/{repository-cache-3t0ybcrp.js → file-mutation-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{repository-cache-3v8g72cx.js → file-mutation-3v8g72cx.js} +0 -0
- /package/dist/chunks/{repository-cache-3wcehsnq.js → file-mutation-3wcehsnq.js} +0 -0
- /package/dist/chunks/{repository-cache-43n2bw4t.js → file-mutation-43n2bw4t.js} +0 -0
- /package/dist/chunks/{repository-cache-4knz6hnm.js → file-mutation-4knz6hnm.js} +0 -0
- /package/dist/chunks/{repository-cache-4vcrnpx2.js → file-mutation-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{repository-cache-4y7fprxs.js → file-mutation-4y7fprxs.js} +0 -0
- /package/dist/chunks/{repository-cache-53557ph1.js → file-mutation-53557ph1.js} +0 -0
- /package/dist/chunks/{repository-cache-550bvhaj.js → file-mutation-550bvhaj.js} +0 -0
- /package/dist/chunks/{repository-cache-5qd3pb7m.js → file-mutation-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{repository-cache-6prwharc.js → file-mutation-6prwharc.js} +0 -0
- /package/dist/chunks/{repository-cache-6q2bdcd1.js → file-mutation-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{repository-cache-7akdwqpd.js → file-mutation-7akdwqpd.js} +0 -0
- /package/dist/chunks/{repository-cache-7m9af43g.js → file-mutation-7m9af43g.js} +0 -0
- /package/dist/chunks/{repository-cache-822emrt2.js → file-mutation-822emrt2.js} +0 -0
- /package/dist/chunks/{repository-cache-84wd9syh.js → file-mutation-84wd9syh.js} +0 -0
- /package/dist/chunks/{repository-cache-88xbtdfr.js → file-mutation-88xbtdfr.js} +0 -0
- /package/dist/chunks/{repository-cache-8n3pysct.js → file-mutation-8n3pysct.js} +0 -0
- /package/dist/chunks/{repository-cache-8wj87zfr.js → file-mutation-8wj87zfr.js} +0 -0
- /package/dist/chunks/{repository-cache-9a4afbnw.js → file-mutation-9a4afbnw.js} +0 -0
- /package/dist/chunks/{repository-cache-9rqn6x4v.js → file-mutation-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{repository-cache-a6k6eb26.js → file-mutation-a6k6eb26.js} +0 -0
- /package/dist/chunks/{repository-cache-af5trqkr.js → file-mutation-af5trqkr.js} +0 -0
- /package/dist/chunks/{repository-cache-afrmfg78.js → file-mutation-afrmfg78.js} +0 -0
- /package/dist/chunks/{repository-cache-aqzs7mqg.js → file-mutation-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{repository-cache-atq7p7m5.js → file-mutation-atq7p7m5.js} +0 -0
- /package/dist/chunks/{repository-cache-bkyjaxrp.js → file-mutation-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{repository-cache-bmr6ed5q.js → file-mutation-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{repository-cache-cf4snx6d.js → file-mutation-cf4snx6d.js} +0 -0
- /package/dist/chunks/{repository-cache-cvy3z8tj.js → file-mutation-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{repository-cache-d9fn303g.js → file-mutation-d9fn303g.js} +0 -0
- /package/dist/chunks/{repository-cache-d9jj8t3e.js → file-mutation-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{repository-cache-dajrwvna.js → file-mutation-dajrwvna.js} +0 -0
- /package/dist/chunks/{repository-cache-dap0rakb.js → file-mutation-dap0rakb.js} +0 -0
- /package/dist/chunks/{repository-cache-df08tz66.js → file-mutation-df08tz66.js} +0 -0
- /package/dist/chunks/{repository-cache-dy18nga0.js → file-mutation-dy18nga0.js} +0 -0
- /package/dist/chunks/{repository-cache-e5kj55wp.js → file-mutation-e5kj55wp.js} +0 -0
- /package/dist/chunks/{repository-cache-e73j6tqm.js → file-mutation-e73j6tqm.js} +0 -0
- /package/dist/chunks/{repository-cache-ec1grn59.js → file-mutation-ec1grn59.js} +0 -0
- /package/dist/chunks/{repository-cache-eh3zwz77.js → file-mutation-eh3zwz77.js} +0 -0
- /package/dist/chunks/{repository-cache-emrn6kk6.js → file-mutation-emrn6kk6.js} +0 -0
- /package/dist/chunks/{repository-cache-f0mxakyp.js → file-mutation-f0mxakyp.js} +0 -0
- /package/dist/chunks/{repository-cache-f6n9ztr4.js → file-mutation-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{repository-cache-faypxj3z.js → file-mutation-faypxj3z.js} +0 -0
- /package/dist/chunks/{repository-cache-fd410y7t.js → file-mutation-fd410y7t.js} +0 -0
- /package/dist/chunks/{repository-cache-g4wezp1m.js → file-mutation-g4wezp1m.js} +0 -0
- /package/dist/chunks/{repository-cache-g86h250q.js → file-mutation-g86h250q.js} +0 -0
- /package/dist/chunks/{repository-cache-gebd4c9n.js → file-mutation-gebd4c9n.js} +0 -0
- /package/dist/chunks/{repository-cache-gftt206x.js → file-mutation-gftt206x.js} +0 -0
- /package/dist/chunks/{repository-cache-hcxmzztb.js → file-mutation-hcxmzztb.js} +0 -0
- /package/dist/chunks/{repository-cache-hk9envan.js → file-mutation-hk9envan.js} +0 -0
- /package/dist/chunks/{repository-cache-j2ntwpah.js → file-mutation-j2ntwpah.js} +0 -0
- /package/dist/chunks/{repository-cache-j5zkgpj8.js → file-mutation-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{repository-cache-jjkms2e6.js → file-mutation-jjkms2e6.js} +0 -0
- /package/dist/chunks/{repository-cache-jr7sbwjy.js → file-mutation-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{repository-cache-jwfs4k6c.js → file-mutation-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{repository-cache-jze0r7bz.js → file-mutation-jze0r7bz.js} +0 -0
- /package/dist/chunks/{repository-cache-jzg6c2d5.js → file-mutation-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{repository-cache-m18g726c.js → file-mutation-m18g726c.js} +0 -0
- /package/dist/chunks/{repository-cache-mp448xyj.js → file-mutation-mp448xyj.js} +0 -0
- /package/dist/chunks/{repository-cache-msx8hqn2.js → file-mutation-msx8hqn2.js} +0 -0
- /package/dist/chunks/{repository-cache-n05xt0ee.js → file-mutation-n05xt0ee.js} +0 -0
- /package/dist/chunks/{repository-cache-n3j8tn72.js → file-mutation-n3j8tn72.js} +0 -0
- /package/dist/chunks/{repository-cache-njntx4h6.js → file-mutation-njntx4h6.js} +0 -0
- /package/dist/chunks/{repository-cache-pkyv6v7h.js → file-mutation-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{repository-cache-pyv0edze.js → file-mutation-pyv0edze.js} +0 -0
- /package/dist/chunks/{repository-cache-q3sfg36h.js → file-mutation-q3sfg36h.js} +0 -0
- /package/dist/chunks/{repository-cache-q74kybfr.js → file-mutation-q74kybfr.js} +0 -0
- /package/dist/chunks/{repository-cache-qaymkmh1.js → file-mutation-qaymkmh1.js} +0 -0
- /package/dist/chunks/{repository-cache-qb87gjwd.js → file-mutation-qb87gjwd.js} +0 -0
- /package/dist/chunks/{repository-cache-qfa1cgps.js → file-mutation-qfa1cgps.js} +0 -0
- /package/dist/chunks/{repository-cache-qg3g05ea.js → file-mutation-qg3g05ea.js} +0 -0
- /package/dist/chunks/{repository-cache-qrg20bc0.js → file-mutation-qrg20bc0.js} +0 -0
- /package/dist/chunks/{repository-cache-rcb2kzg1.js → file-mutation-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{repository-cache-sdp7kfr6.js → file-mutation-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{repository-cache-ssg3fenm.js → file-mutation-ssg3fenm.js} +0 -0
- /package/dist/chunks/{repository-cache-ve7vex1e.js → file-mutation-ve7vex1e.js} +0 -0
- /package/dist/chunks/{repository-cache-w803qqfp.js → file-mutation-w803qqfp.js} +0 -0
- /package/dist/chunks/{repository-cache-wc3fc9cn.js → file-mutation-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{repository-cache-wer8tq1h.js → file-mutation-wer8tq1h.js} +0 -0
- /package/dist/chunks/{repository-cache-wjj7prxr.js → file-mutation-wjj7prxr.js} +0 -0
- /package/dist/chunks/{repository-cache-wtztk69x.js → file-mutation-wtztk69x.js} +0 -0
- /package/dist/chunks/{repository-cache-x0ckcb58.js → file-mutation-x0ckcb58.js} +0 -0
- /package/dist/chunks/{repository-cache-x61499pn.js → file-mutation-x61499pn.js} +0 -0
- /package/dist/chunks/{repository-cache-y44na4kk.js → file-mutation-y44na4kk.js} +0 -0
- /package/dist/chunks/{repository-cache-y8f7s663.js → file-mutation-y8f7s663.js} +0 -0
- /package/dist/chunks/{repository-cache-ygaqb7jw.js → file-mutation-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{repository-cache-ym463w8f.js → file-mutation-ym463w8f.js} +0 -0
- /package/dist/chunks/{repository-cache-z5v4ffb3.js → file-mutation-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{repository-cache-z9919s4g.js → file-mutation-z9919s4g.js} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service38
|
|
3
|
+
} from "./file-mutation-p7a39gy5.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-9sh4wc5j.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service42
|
|
9
|
+
} from "./file-mutation-p7zy3mv1.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-mutation-vzs5sf6e.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service38;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service42), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-c6ayj5b9.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service80,
|
|
9
|
+
node84
|
|
10
|
+
} from "./file-mutation-jfrbrgfz.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service76,
|
|
13
|
+
node80
|
|
14
|
+
} from "./file-mutation-m3accaze.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
26
|
-
node: () =>
|
|
25
|
+
Service: () => Service17,
|
|
26
|
+
node: () => node19,
|
|
27
27
|
resolvePath: () => resolvePath2
|
|
28
28
|
});
|
|
29
29
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -37,7 +37,7 @@ var ResolveInput2 = Schema.Struct({
|
|
|
37
37
|
kind: Kind2.pipe(Schema.optional)
|
|
38
38
|
});
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service17 extends Context.Service()("@opencode/FileAccess") {
|
|
41
41
|
}
|
|
42
42
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
43
43
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -49,10 +49,10 @@ var invocation = (context) => ({
|
|
|
49
49
|
agent: context.agent,
|
|
50
50
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
51
51
|
});
|
|
52
|
-
var layer = Layer.effect(
|
|
52
|
+
var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
53
53
|
const fs = yield* FSUtil.Service;
|
|
54
|
-
const location = yield*
|
|
55
|
-
const permission = yield*
|
|
54
|
+
const location = yield* Service80;
|
|
55
|
+
const permission = yield* Service76;
|
|
56
56
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
57
57
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
58
58
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
101
101
|
});
|
|
102
102
|
return target;
|
|
103
103
|
});
|
|
104
|
-
return
|
|
104
|
+
return Service17.of({ resolve, authorizeExternal, authorizeRead });
|
|
105
105
|
}));
|
|
106
|
-
var
|
|
106
|
+
var node19 = makeLocationNode({ service: Service17, layer, deps: [FSUtil.node, node84, node80] });
|
|
107
107
|
|
|
108
|
-
export { Kind2, ResolveInput2,
|
|
108
|
+
export { Kind2, ResolveInput2, Service17, resolvePath2, node19, exports_file_access };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service83,
|
|
4
|
+
node87
|
|
5
|
+
} from "./file-mutation-b7enqntx.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
Key4,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
|
-
|
|
10
|
+
make21,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-mutation-eaj1djv9.js";
|
|
13
13
|
import {
|
|
14
14
|
create3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-mutation-rdw6cm16.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/instruction-discovery.ts
|
|
21
21
|
var exports_instruction_discovery = {};
|
|
22
22
|
__export(exports_instruction_discovery, {
|
|
23
|
-
Event: () =>
|
|
23
|
+
Event: () => Event5,
|
|
24
24
|
File: () => File2,
|
|
25
25
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
26
26
|
Options: () => Options4,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service33,
|
|
28
28
|
configured: () => configured4,
|
|
29
|
-
layer: () =>
|
|
30
|
-
node: () =>
|
|
29
|
+
layer: () => layer16,
|
|
30
|
+
node: () => node36
|
|
31
31
|
});
|
|
32
32
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
33
33
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -38,8 +38,8 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
38
38
|
}) {
|
|
39
39
|
}
|
|
40
40
|
var Files = Schema.Array(File2);
|
|
41
|
-
var key =
|
|
42
|
-
var
|
|
41
|
+
var key = Key4.make("core/instructions");
|
|
42
|
+
var Event5 = {
|
|
43
43
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
44
44
|
};
|
|
45
45
|
var Options4 = Schema.Struct({
|
|
@@ -47,10 +47,10 @@ var Options4 = Schema.Struct({
|
|
|
47
47
|
global: Schema.optional(Schema.Boolean)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service33 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
51
51
|
}
|
|
52
|
-
var
|
|
53
|
-
const bus = yield*
|
|
52
|
+
var layer16 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
53
|
+
const bus = yield* Service83;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "instruction-discovery",
|
|
56
56
|
initial: () => ({ files: new Map, available: true }),
|
|
@@ -69,9 +69,9 @@ var layer18 = (options) => Layer.effect(Service44, Effect.gen(function* () {
|
|
|
69
69
|
editor.available = false;
|
|
70
70
|
}
|
|
71
71
|
}),
|
|
72
|
-
notify: () => bus.publish(
|
|
72
|
+
notify: () => bus.publish(Event5.Updated, {}).pipe(Effect.asVoid)
|
|
73
73
|
});
|
|
74
|
-
const source = (value) =>
|
|
74
|
+
const source = (value) => make21({
|
|
75
75
|
key,
|
|
76
76
|
codec: Schema.toCodecJson(Files),
|
|
77
77
|
read: Effect.succeed(value),
|
|
@@ -87,7 +87,7 @@ var layer18 = (options) => Layer.effect(Service44, Effect.gen(function* () {
|
|
|
87
87
|
return unavailable3;
|
|
88
88
|
return Array.from(current.files.values());
|
|
89
89
|
});
|
|
90
|
-
return
|
|
90
|
+
return Service33.of({
|
|
91
91
|
project: options?.project !== false,
|
|
92
92
|
global: options?.global !== false,
|
|
93
93
|
transform: state.transform,
|
|
@@ -103,12 +103,12 @@ var layer18 = (options) => Layer.effect(Service44, Effect.gen(function* () {
|
|
|
103
103
|
}));
|
|
104
104
|
function configured4(options) {
|
|
105
105
|
return makeLocationNode({
|
|
106
|
-
service:
|
|
107
|
-
layer:
|
|
108
|
-
deps: [
|
|
106
|
+
service: Service33,
|
|
107
|
+
layer: layer16(options),
|
|
108
|
+
deps: [node87]
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
|
-
var
|
|
111
|
+
var node36 = configured4();
|
|
112
112
|
function render(files) {
|
|
113
113
|
return files.map((file) => `Instructions from: ${file.path}
|
|
114
114
|
${file.content}`).join(`
|
|
@@ -139,4 +139,4 @@ ${render([after])}`;
|
|
|
139
139
|
`);
|
|
140
140
|
}
|
|
141
141
|
|
|
142
|
-
export { File2,
|
|
142
|
+
export { File2, Event5, Options4, Service33, layer16, configured4, node36, exports_instruction_discovery };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-db2wf4at.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service83
|
|
6
|
+
} from "./file-mutation-b7enqntx.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event17
|
|
10
|
+
} from "./file-mutation-25jsarnm.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID10,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-mutation-xsg9rpyw.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID9,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service70
|
|
20
|
+
} from "./file-mutation-yrqbsmq1.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID8
|
|
23
|
+
} from "./file-mutation-1r21y0zf.js";
|
|
24
24
|
import {
|
|
25
25
|
load2,
|
|
26
26
|
derive2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./file-mutation-n3xc443j.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-mutation-c9hdf14c.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
ID15
|
|
33
|
+
} from "./file-mutation-q25spqw2.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
35
|
+
get4
|
|
36
|
+
} from "./file-mutation-r94pvvab.js";
|
|
37
37
|
|
|
38
38
|
// src/plugin/provider/github-copilot.ts
|
|
39
39
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -65,7 +65,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
65
65
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
66
66
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
67
67
|
var oauth = (app) => ({
|
|
68
|
-
integrationID:
|
|
68
|
+
integrationID: ID10.make("github-copilot"),
|
|
69
69
|
method: {
|
|
70
70
|
id: methodID,
|
|
71
71
|
type: "oauth",
|
|
@@ -163,8 +163,8 @@ var oauth = (app) => ({
|
|
|
163
163
|
var GithubCopilotPlugin2 = define({
|
|
164
164
|
id: "opencode.provider.github.copilot",
|
|
165
165
|
effect: Effect.fn(function* (ctx) {
|
|
166
|
-
const providers = yield*
|
|
167
|
-
const bus = yield*
|
|
166
|
+
const providers = yield* Service70;
|
|
167
|
+
const bus = yield* Service83;
|
|
168
168
|
const loading = Semaphore.makeUnsafe(1);
|
|
169
169
|
const loaded = {};
|
|
170
170
|
const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
|
|
@@ -180,7 +180,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
180
180
|
return;
|
|
181
181
|
}
|
|
182
182
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
183
|
-
const provider = yield* providers.get(
|
|
183
|
+
const provider = yield* providers.get(ID9.githubCopilot);
|
|
184
184
|
const remote = yield* Effect.tryPromise({
|
|
185
185
|
try: () => load2(url, {
|
|
186
186
|
...provider?.headers,
|
|
@@ -202,7 +202,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
202
202
|
editor.method.update(oauth(ctx.app));
|
|
203
203
|
});
|
|
204
204
|
yield* ctx.provider.transform((evt) => {
|
|
205
|
-
const item = evt.get(
|
|
205
|
+
const item = evt.get(ID9.githubCopilot);
|
|
206
206
|
if (!item)
|
|
207
207
|
return;
|
|
208
208
|
if (loaded.models) {
|
|
@@ -230,17 +230,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
230
230
|
}
|
|
231
231
|
});
|
|
232
232
|
yield* ctx.model.transform((models) => {
|
|
233
|
-
if (models.get(
|
|
234
|
-
models.update(
|
|
233
|
+
if (models.get(ID9.githubCopilot, ID8.make("gpt-5-chat-latest"))) {
|
|
234
|
+
models.update(ID9.githubCopilot, ID8.make("gpt-5-chat-latest"), (model) => {
|
|
235
235
|
model.enabled = false;
|
|
236
236
|
});
|
|
237
237
|
}
|
|
238
238
|
});
|
|
239
239
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
240
|
-
yield* bus.subscribe(
|
|
240
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
241
241
|
yield* refresh().pipe(Effect.forkScoped);
|
|
242
242
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
243
|
-
if (evt.model.providerID !==
|
|
243
|
+
if (evt.model.providerID !== ID9.githubCopilot)
|
|
244
244
|
return;
|
|
245
245
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
246
246
|
return;
|
|
@@ -249,23 +249,23 @@ var GithubCopilotPlugin2 = define({
|
|
|
249
249
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
250
250
|
}));
|
|
251
251
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
252
|
-
if (evt.model.providerID !==
|
|
252
|
+
if (evt.model.providerID !== ID9.githubCopilot)
|
|
253
253
|
return;
|
|
254
254
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
255
255
|
return;
|
|
256
256
|
}));
|
|
257
257
|
const interaction = interactionType2(evt.kind, session?.parentID !== undefined);
|
|
258
258
|
evt.headers["X-Interaction-Type"] = interaction;
|
|
259
|
-
evt.headers["X-Interaction-Id"] = session ?
|
|
259
|
+
evt.headers["X-Interaction-Id"] = session ? get4(session) : evt.sessionID;
|
|
260
260
|
if (interaction !== "conversation-agent")
|
|
261
261
|
evt.headers["x-initiator"] = "agent";
|
|
262
|
-
}), { providerID:
|
|
262
|
+
}), { providerID: ID9.githubCopilot });
|
|
263
263
|
yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
|
|
264
|
-
if (evt.model.providerID !==
|
|
264
|
+
if (evt.model.providerID !== ID9.githubCopilot)
|
|
265
265
|
return;
|
|
266
266
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
267
267
|
return;
|
|
268
|
-
const agent = yield* ctx.agent.get({ agentID:
|
|
268
|
+
const agent = yield* ctx.agent.get({ agentID: ID15.make("title") }).pipe(Effect.orElseSucceed(() => {
|
|
269
269
|
return;
|
|
270
270
|
}));
|
|
271
271
|
if (agent?.data.model)
|
|
@@ -276,9 +276,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
276
276
|
evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
|
|
277
277
|
return;
|
|
278
278
|
}));
|
|
279
|
-
}), { providerID:
|
|
279
|
+
}), { providerID: ID9.githubCopilot });
|
|
280
280
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
281
|
-
if (evt.model.providerID !==
|
|
281
|
+
if (evt.model.providerID !== ID9.githubCopilot)
|
|
282
282
|
return;
|
|
283
283
|
const token = evt.request.headers.get("x-api-key");
|
|
284
284
|
if (!token)
|
|
@@ -286,9 +286,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
286
286
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
287
287
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
288
288
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
289
|
-
}), { providerID:
|
|
289
|
+
}), { providerID: ID9.githubCopilot });
|
|
290
290
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
291
|
-
if (evt.model.providerID !==
|
|
291
|
+
if (evt.model.providerID !== ID9.githubCopilot)
|
|
292
292
|
return;
|
|
293
293
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
294
294
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
package/dist/codemode/catalog.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
render2,
|
|
3
3
|
update3,
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
} from "../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
4
|
+
make13,
|
|
5
|
+
exports_instructions5
|
|
6
|
+
} from "../chunks/file-mutation-xya6rnzh.js";
|
|
7
|
+
import"../chunks/file-mutation-3fc6dm20.js";
|
|
8
|
+
import"../chunks/file-mutation-eaj1djv9.js";
|
|
9
9
|
export {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
exports_instructions5 as CodeModeInstructions,
|
|
11
|
+
make13 as make,
|
|
12
|
+
render2 as render,
|
|
13
13
|
update3 as update
|
|
14
14
|
};
|
package/dist/codemode/tool.js
CHANGED
|
@@ -2,9 +2,9 @@ import {
|
|
|
2
2
|
create2,
|
|
3
3
|
catalog2,
|
|
4
4
|
exports_tool2
|
|
5
|
-
} from "../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
5
|
+
} from "../chunks/file-mutation-j09zfasm.js";
|
|
6
|
+
import"../chunks/file-mutation-pyv0edze.js";
|
|
7
|
+
import"../chunks/file-mutation-syv4x271.js";
|
|
8
8
|
export {
|
|
9
9
|
exports_tool2 as CodeModeTool,
|
|
10
10
|
catalog2 as catalog,
|