@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,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./file-mutation-5yssak3t.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-mutation-y71avatq.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service83,
|
|
10
|
+
node87
|
|
11
|
+
} from "./file-mutation-b7enqntx.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-mutation-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessage2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./file-mutation-gftt206x.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionSchema2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./file-mutation-ss358qx3.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionMessageTable2,
|
|
23
23
|
SessionInboxTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./file-mutation-c1fqxshp.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/session/inbox.ts
|
|
30
30
|
var exports_inbox = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_inbox, {
|
|
|
32
32
|
Compaction: () => Compaction2,
|
|
33
33
|
CompactionPayload: () => CompactionPayload2,
|
|
34
34
|
Delivery: () => Delivery2,
|
|
35
|
-
Info: () =>
|
|
35
|
+
Info: () => Info6,
|
|
36
36
|
Item: () => Item2,
|
|
37
37
|
LifecycleConflict: () => LifecycleConflict2,
|
|
38
38
|
Move: () => Move2,
|
|
39
39
|
MovePayload: () => MovePayload2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service36,
|
|
41
41
|
SessionInbox: () => exports_inbox,
|
|
42
42
|
Synthetic: () => Synthetic2,
|
|
43
43
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -45,12 +45,12 @@ __export(exports_inbox, {
|
|
|
45
45
|
UserPayload: () => UserPayload2,
|
|
46
46
|
find: () => find2,
|
|
47
47
|
has: () => has2,
|
|
48
|
-
layer: () =>
|
|
48
|
+
layer: () => layer18,
|
|
49
49
|
list: () => list3,
|
|
50
|
-
make: () =>
|
|
50
|
+
make: () => make15,
|
|
51
51
|
moveIDs: () => moveIDs2,
|
|
52
52
|
nextPromotable: () => nextPromotable2,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node38,
|
|
54
54
|
projectAdmitted: () => projectAdmitted2,
|
|
55
55
|
projectCancelled: () => projectCancelled2,
|
|
56
56
|
projectDelivered: () => projectDelivered2,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
Compaction as Compaction2,
|
|
66
66
|
CompactionPayload as CompactionPayload2,
|
|
67
67
|
Delivery as Delivery2,
|
|
68
|
-
Info as
|
|
68
|
+
Info as Info6,
|
|
69
69
|
Item as Item2,
|
|
70
70
|
Move as Move2,
|
|
71
71
|
MovePayload as MovePayload2,
|
|
@@ -151,12 +151,12 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
151
151
|
return yield* new LifecycleConflict2({ id });
|
|
152
152
|
});
|
|
153
153
|
|
|
154
|
-
class
|
|
154
|
+
class Service36 extends Context.Service()("@opencode/SessionInbox") {
|
|
155
155
|
}
|
|
156
|
-
var
|
|
157
|
-
const database = yield*
|
|
156
|
+
var make15 = Effect.fn("SessionInbox.make")(function* () {
|
|
157
|
+
const database = yield* Service84;
|
|
158
158
|
const db = database.db;
|
|
159
|
-
const bus = yield*
|
|
159
|
+
const bus = yield* Service83;
|
|
160
160
|
const reconcile = Effect.fn("SessionInbox.reconcile")(function* (request) {
|
|
161
161
|
const existing = (yield* find2(db, request.id)) ?? (yield* promotedFromMessage(db, request.sessionID, request.id, request.delivery));
|
|
162
162
|
if (existing === undefined)
|
|
@@ -173,7 +173,7 @@ var make16 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
173
173
|
inboxID: request.id,
|
|
174
174
|
sessionID: request.sessionID,
|
|
175
175
|
item: request.item
|
|
176
|
-
}).pipe(Effect.map((event) =>
|
|
176
|
+
}).pipe(Effect.map((event) => Info6.make({
|
|
177
177
|
id: request.id,
|
|
178
178
|
sessionID: request.sessionID,
|
|
179
179
|
time: { created: DateTime.makeUnsafe(event.created) },
|
|
@@ -227,8 +227,8 @@ var make16 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
227
227
|
queue
|
|
228
228
|
};
|
|
229
229
|
});
|
|
230
|
-
var
|
|
231
|
-
var
|
|
230
|
+
var layer18 = Layer.effect(Service36, make15());
|
|
231
|
+
var node38 = makeGlobalNode({ service: Service36, layer: layer18, deps: [node88, node87] });
|
|
232
232
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
233
233
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
234
234
|
if (message !== undefined)
|
|
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
326
326
|
return rows;
|
|
327
327
|
}));
|
|
328
328
|
|
|
329
|
-
export { Compaction2, CompactionPayload2, Delivery2,
|
|
329
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info6, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service36, make15, layer18, node38, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-97aeaand.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info9
|
|
9
|
+
} from "./file-mutation-n61013np.js";
|
|
10
10
|
import {
|
|
11
11
|
Info12
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-mutation-v5dkyp31.js";
|
|
13
13
|
import {
|
|
14
14
|
Info11
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-mutation-g6yfr6ja.js";
|
|
16
16
|
import {
|
|
17
17
|
Spec2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-mutation-0jwsre1p.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Info13
|
|
21
|
+
} from "./file-mutation-0r3c1bmw.js";
|
|
22
22
|
import {
|
|
23
23
|
normalizeAction2,
|
|
24
24
|
migrateAgent2,
|
|
@@ -28,10 +28,10 @@ import {
|
|
|
28
28
|
migrateMcp2,
|
|
29
29
|
migrateProvider2,
|
|
30
30
|
providerID2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./file-mutation-zm0086f9.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/config/normalize.ts
|
|
37
37
|
var exports_normalize = {};
|
|
@@ -103,7 +103,7 @@ function normalize2(input) {
|
|
|
103
103
|
const migratedCommands = mapValues(legacyCommands, (value) => canonical(ConfigCommand.Info, migrateCommand2(value)));
|
|
104
104
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
105
105
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
106
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
106
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info9, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
107
107
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
108
108
|
const migratedSmallModel = modelSelection2(legacySmallModel);
|
|
109
109
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -117,7 +117,7 @@ function normalize2(input) {
|
|
|
117
117
|
model: migratedSmallModel,
|
|
118
118
|
...legacyAgents.title
|
|
119
119
|
};
|
|
120
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
120
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info9, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
121
121
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
122
122
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
123
123
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -425,7 +425,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
425
425
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
426
426
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
427
427
|
return [];
|
|
428
|
-
const provider = decodeValue(
|
|
428
|
+
const provider = decodeValue(Info13, raw, path, diagnostics);
|
|
429
429
|
if (provider === undefined)
|
|
430
430
|
return [];
|
|
431
431
|
const destination = providerID2(name);
|
|
@@ -1,65 +1,65 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./file-mutation-b7enqntx.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service80,
|
|
7
|
+
node84
|
|
8
|
+
} from "./file-mutation-jfrbrgfz.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
10
|
+
Service63,
|
|
11
11
|
login2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
node67
|
|
13
|
+
} from "./file-mutation-csq5hgpx.js";
|
|
14
14
|
import {
|
|
15
15
|
lazy2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-mutation-88xbtdfr.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/pty.ts
|
|
22
22
|
var exports_pty = {};
|
|
23
23
|
__export(exports_pty, {
|
|
24
24
|
CreateInput: () => CreateInput2,
|
|
25
|
-
Event: () =>
|
|
25
|
+
Event: () => Event2,
|
|
26
26
|
ExitedError: () => ExitedError2,
|
|
27
|
-
ID: () =>
|
|
28
|
-
Info: () =>
|
|
27
|
+
ID: () => ID2,
|
|
28
|
+
Info: () => Info2,
|
|
29
29
|
NotFoundError: () => NotFoundError2,
|
|
30
30
|
Pty: () => exports_pty,
|
|
31
31
|
Service: () => Service15,
|
|
32
32
|
UpdateInput: () => UpdateInput2,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node17
|
|
34
34
|
});
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
37
37
|
import { Pty } from "@opencode/schema/pty";
|
|
38
|
-
import { Event as
|
|
38
|
+
import { Event as Event2 } from "@opencode/schema/pty";
|
|
39
39
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
40
40
|
var EXITED_LIMIT = 25;
|
|
41
41
|
var pty = lazy2(() => import("#pty"));
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var ID2 = Pty.ID;
|
|
43
|
+
var Info2 = Pty.Info;
|
|
44
44
|
var CreateInput2 = Pty.CreateInput;
|
|
45
45
|
var UpdateInput2 = Pty.UpdateInput;
|
|
46
46
|
|
|
47
47
|
class NotFoundError2 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
48
|
-
ptyID:
|
|
48
|
+
ptyID: ID2
|
|
49
49
|
}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
53
|
-
ptyID:
|
|
53
|
+
ptyID: ID2
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
class Service15 extends Context.Service()("@opencode/Pty") {
|
|
58
58
|
}
|
|
59
59
|
var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
60
|
-
const bus = yield*
|
|
61
|
-
const location = yield*
|
|
62
|
-
const shell = yield*
|
|
60
|
+
const bus = yield* Service83;
|
|
61
|
+
const location = yield* Service80;
|
|
62
|
+
const shell = yield* Service63;
|
|
63
63
|
const context = yield* Effect.context();
|
|
64
64
|
const runFork = Effect.runForkWith(context);
|
|
65
65
|
const sessions = new Map;
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
122
122
|
return (yield* requireSession(id)).info;
|
|
123
123
|
});
|
|
124
124
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
125
|
-
const id =
|
|
125
|
+
const id = ID2.ascending();
|
|
126
126
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
127
127
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
128
128
|
const cwd = input.cwd || location.directory;
|
|
@@ -269,10 +269,10 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
269
269
|
});
|
|
270
270
|
return Service15.of({ list, get, create, update, remove, write, attach });
|
|
271
271
|
}));
|
|
272
|
-
var
|
|
272
|
+
var node17 = makeLocationNode({
|
|
273
273
|
service: Service15,
|
|
274
274
|
layer,
|
|
275
|
-
deps: [
|
|
275
|
+
deps: [node87, node84, node67]
|
|
276
276
|
});
|
|
277
277
|
|
|
278
|
-
export {
|
|
278
|
+
export { ID2, Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service15, node17, exports_pty, Event2 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/repository.ts
|
|
6
6
|
var exports_repository = {};
|
|
@@ -13,7 +13,7 @@ __export(exports_repository, {
|
|
|
13
13
|
cachePath: () => cachePath2,
|
|
14
14
|
isFile: () => isFile2,
|
|
15
15
|
isRemote: () => isRemote2,
|
|
16
|
-
parse: () =>
|
|
16
|
+
parse: () => parse4,
|
|
17
17
|
parseRemote: () => parseRemote2,
|
|
18
18
|
same: () => same2,
|
|
19
19
|
validateBranch: () => validateBranch3
|
|
@@ -39,7 +39,7 @@ class InvalidBranchError3 extends Schema.TaggedError()("RepositoryInvalidBranchE
|
|
|
39
39
|
message: Schema.String
|
|
40
40
|
}) {
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function parse4(input) {
|
|
43
43
|
const cleaned = normalizeInput(input);
|
|
44
44
|
if (!cleaned)
|
|
45
45
|
return;
|
|
@@ -72,7 +72,7 @@ function parse5(input) {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
function parseRemote2(input) {
|
|
75
|
-
const reference =
|
|
75
|
+
const reference = parse4(input);
|
|
76
76
|
if (!reference) {
|
|
77
77
|
throw new InvalidReferenceError2({
|
|
78
78
|
repository: input,
|
|
@@ -172,4 +172,4 @@ function buildFile(input) {
|
|
|
172
172
|
};
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3,
|
|
175
|
+
export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3, parse4, parseRemote2, validateBranch3, isFile2, isRemote2, cachePath2, cacheIdentity2, same2, exports_repository };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node84
|
|
4
|
+
} from "./file-mutation-jfrbrgfz.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-mutation-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/formatter.ts
|
|
13
13
|
var exports_formatter2 = {};
|
|
@@ -24,7 +24,7 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
24
24
|
class Service14 extends Context.Service()("@opencode/v2/Formatter") {
|
|
25
25
|
}
|
|
26
26
|
var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
27
|
-
const location = yield*
|
|
27
|
+
const location = yield* Service80;
|
|
28
28
|
const processes = yield* AppProcess.Service;
|
|
29
29
|
const commands = new WeakMap;
|
|
30
30
|
const state = create3({
|
|
@@ -90,7 +90,7 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
90
90
|
var node16 = makeLocationNode({
|
|
91
91
|
service: Service14,
|
|
92
92
|
layer,
|
|
93
|
-
deps: [
|
|
93
|
+
deps: [node84, AppProcess.node]
|
|
94
94
|
});
|
|
95
95
|
|
|
96
96
|
export { Service14, node16, exports_formatter2 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service83
|
|
3
|
+
} from "./file-mutation-b7enqntx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
5
|
+
ID11,
|
|
6
|
+
Event17,
|
|
7
|
+
Service72
|
|
8
|
+
} from "./file-mutation-25jsarnm.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID9
|
|
11
|
+
} from "./file-mutation-yrqbsmq1.js";
|
|
12
12
|
import {
|
|
13
13
|
configuredSettings2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-mutation-fdwveq8c.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/provider/google-vertex.ts
|
|
17
17
|
import { Effect, Option, Schema, Stream } from "effect";
|
|
@@ -41,8 +41,8 @@ var GoogleVertexPlugin2 = define({
|
|
|
41
41
|
id: "opencode.provider.google.vertex",
|
|
42
42
|
effect: Effect.fn(function* (ctx) {
|
|
43
43
|
const fs = yield* FSUtil.Service;
|
|
44
|
-
const credentials = yield*
|
|
45
|
-
const bus = yield*
|
|
44
|
+
const credentials = yield* Service72;
|
|
45
|
+
const bus = yield* Service83;
|
|
46
46
|
const read = (file) => fs.readFileStringSafe(file).pipe(Effect.orElseSucceed(() => {
|
|
47
47
|
return;
|
|
48
48
|
}));
|
|
@@ -51,7 +51,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
51
51
|
const configs = (yield* fs.readDirectory(path.join(gcloud, "configurations")).pipe(Effect.orElseSucceed(() => []))).filter((name) => name.startsWith("config_")).toSorted((a, b) => Number(b === active) - Number(a === active) || a.localeCompare(b));
|
|
52
52
|
const contents = yield* Effect.forEach(configs, (name) => read(path.join(gcloud, "configurations", name)));
|
|
53
53
|
const adcFile = yield* read(path.join(gcloud, "application_default_credentials.json"));
|
|
54
|
-
const configured = (yield* configuredSettings2(
|
|
54
|
+
const configured = (yield* configuredSettings2(ID9.googleVertex)) ?? {};
|
|
55
55
|
const projects = Array.from(new Set([
|
|
56
56
|
resolveProject(configured),
|
|
57
57
|
...contents.map((content) => content?.match(/^project\s*=\s*(\S+)/m)?.[1]),
|
|
@@ -65,8 +65,8 @@ var GoogleVertexPlugin2 = define({
|
|
|
65
65
|
...contents.flatMap((content) => Array.from((content ?? "").matchAll(/^region\s*=\s*(\S+)/gm), (match) => match[1]))
|
|
66
66
|
]));
|
|
67
67
|
const load = Effect.fn("GoogleVertexPlugin.load")(function* () {
|
|
68
|
-
const connection = yield* ctx.integration.connection.active(
|
|
69
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
68
|
+
const connection = yield* ctx.integration.connection.active(ID9.googleVertex);
|
|
69
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID11.make(connection.id)) : undefined;
|
|
70
70
|
if (stored?.value.type !== "external" || stored.value.methodID !== ADC_METHOD)
|
|
71
71
|
return {};
|
|
72
72
|
return { project: stored.value.metadata?.project, location: stored.value.metadata?.location };
|
|
@@ -74,15 +74,15 @@ var GoogleVertexPlugin2 = define({
|
|
|
74
74
|
const selected = { settings: yield* load() };
|
|
75
75
|
const settingsFor = (provider) => ({
|
|
76
76
|
...provider.settings,
|
|
77
|
-
...(provider.integrationID ?? provider.id) ===
|
|
77
|
+
...(provider.integrationID ?? provider.id) === ID9.googleVertex ? selected.settings : {}
|
|
78
78
|
});
|
|
79
79
|
yield* ctx.integration.transform((editor) => {
|
|
80
80
|
editor.method.update({
|
|
81
|
-
integrationID:
|
|
81
|
+
integrationID: ID9.googleVertex,
|
|
82
82
|
method: { type: "env", names: ["GOOGLE_VERTEX_API_KEY"] }
|
|
83
83
|
});
|
|
84
84
|
editor.method.update({
|
|
85
|
-
integrationID:
|
|
85
|
+
integrationID: ID9.googleVertex,
|
|
86
86
|
method: {
|
|
87
87
|
id: ADC_METHOD,
|
|
88
88
|
type: "external",
|
|
@@ -120,7 +120,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
120
120
|
});
|
|
121
121
|
yield* ctx.provider.transform((evt) => {
|
|
122
122
|
for (const item of evt.list()) {
|
|
123
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
123
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID9.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
124
124
|
continue;
|
|
125
125
|
const settings = settingsFor(item.provider);
|
|
126
126
|
const project = resolveProject(settings);
|
|
@@ -139,7 +139,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
139
139
|
});
|
|
140
140
|
yield* ctx.model.transform((models) => {
|
|
141
141
|
for (const item of models.provider.list()) {
|
|
142
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
142
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID9.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
143
143
|
continue;
|
|
144
144
|
const settings = settingsFor(item.provider);
|
|
145
145
|
const project = resolveProject(settings);
|
|
@@ -156,7 +156,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
156
156
|
}
|
|
157
157
|
}
|
|
158
158
|
});
|
|
159
|
-
yield* bus.subscribe([
|
|
159
|
+
yield* bus.subscribe([Event17.Updated, Event17.Switched]).pipe(Stream.runForEach(() => Effect.gen(function* () {
|
|
160
160
|
const next = yield* load();
|
|
161
161
|
if (JSON.stringify(next) === JSON.stringify(selected.settings))
|
|
162
162
|
return;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-vf3ky1a3.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/lmstudio.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -19,7 +19,7 @@ var RemoteModel = Schema.Struct({
|
|
|
19
19
|
}).pipe(Schema.optional)
|
|
20
20
|
});
|
|
21
21
|
var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
|
|
22
|
-
var
|
|
22
|
+
var make6 = createLocalProviderPlugin2({
|
|
23
23
|
id: "opencode.provider.lmstudio",
|
|
24
24
|
providerID: "lmstudio",
|
|
25
25
|
name: "LM Studio",
|
|
@@ -38,6 +38,6 @@ var make8 = createLocalProviderPlugin2({
|
|
|
38
38
|
context: item.loaded_instances.length === 0 ? item.max_context_length : Math.min(...item.loaded_instances.map((instance) => instance.config.context_length))
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
|
-
var LMStudioPlugin2 =
|
|
41
|
+
var LMStudioPlugin2 = make6();
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { make6, LMStudioPlugin2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service83
|
|
3
|
+
} from "./file-mutation-b7enqntx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service80
|
|
6
|
+
} from "./file-mutation-jfrbrgfz.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service28
|
|
10
|
+
} from "./file-mutation-pcnfwazn.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
CommandPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_command = {};
|
|
17
|
+
__export(exports_command, {
|
|
18
|
+
CommandPlugin: () => exports_command,
|
|
19
|
+
Plugin: () => Plugin26
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Stream } from "effect";
|
|
@@ -193,12 +193,12 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
193
193
|
`;
|
|
194
194
|
|
|
195
195
|
// src/plugin/command.ts
|
|
196
|
-
var
|
|
196
|
+
var Plugin26 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
|
-
const location = yield*
|
|
200
|
-
const mcp = yield*
|
|
201
|
-
const bus = yield*
|
|
199
|
+
const location = yield* Service80;
|
|
200
|
+
const mcp = yield* Service28;
|
|
201
|
+
const bus = yield* Service83;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
204
204
|
loaded.prompts = yield* mcp.prompts();
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export {
|
|
283
|
+
export { Plugin26, exports_command };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
6
|
var exports_permission = {};
|
|
@@ -8,7 +8,7 @@ __export(exports_permission, {
|
|
|
8
8
|
Action: () => Action2,
|
|
9
9
|
ConfigPermissionV1: () => exports_permission,
|
|
10
10
|
Entries: () => Entries2,
|
|
11
|
-
Info: () =>
|
|
11
|
+
Info: () => Info10,
|
|
12
12
|
Object: () => Object2,
|
|
13
13
|
Rule: () => Rule2
|
|
14
14
|
});
|
|
@@ -21,11 +21,11 @@ var Entries2 = (value) => Schema.ObjectKeyword.check(Schema.makeFilter((input) =
|
|
|
21
21
|
var Object2 = Entries2(Action2).annotate({ identifier: "PermissionObjectConfig" });
|
|
22
22
|
var Rule2 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
|
|
23
23
|
var actionOnly = new Set(["question", "websearch", "doom_loop"]);
|
|
24
|
-
var
|
|
24
|
+
var Info10 = Schema.Union([Action2, Schema.ObjectKeyword]).pipe(Schema.decodeTo(Entries2(Rule2), {
|
|
25
25
|
decode: SchemaGetter.transform((input) => typeof input === "string" ? { "*": input } : input),
|
|
26
26
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
27
27
|
})).check(Schema.makeFilter((rules) => rules.every(([key, rule]) => !actionOnly.has(key) || typeof rule === "string"), {
|
|
28
28
|
expected: "question, websearch, and doom_loop to be ask, allow, or deny"
|
|
29
29
|
})).annotate({ identifier: "PermissionConfig" });
|
|
30
30
|
|
|
31
|
-
export { Action2, Entries2, Object2, Rule2,
|
|
31
|
+
export { Action2, Entries2, Object2, Rule2, Info10, exports_permission };
|