@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,37 +1,37 @@
|
|
|
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
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID15,
|
|
11
|
+
Service79,
|
|
12
|
+
node83
|
|
13
|
+
} from "./file-mutation-q25spqw2.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
NotFoundError10
|
|
16
|
+
} from "./file-mutation-v3dgmss6.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service78,
|
|
19
|
+
node82
|
|
20
|
+
} from "./file-mutation-w4k8vqpf.js";
|
|
21
21
|
import {
|
|
22
22
|
match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-mutation-y1fvbwt7.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service77,
|
|
26
|
+
node81
|
|
27
|
+
} from "./file-mutation-wnc0h338.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service85,
|
|
30
|
+
node89
|
|
31
|
+
} from "./file-mutation-fgem0d3n.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/permission.ts
|
|
37
37
|
var exports_permission2 = {};
|
|
@@ -42,29 +42,29 @@ __export(exports_permission2, {
|
|
|
42
42
|
CorrectedError: () => CorrectedError2,
|
|
43
43
|
DeclinedError: () => DeclinedError2,
|
|
44
44
|
Effect: () => PermissionEffect,
|
|
45
|
-
Event: () =>
|
|
46
|
-
ID: () =>
|
|
47
|
-
NotFoundError: () =>
|
|
45
|
+
Event: () => Event19,
|
|
46
|
+
ID: () => ID13,
|
|
47
|
+
NotFoundError: () => NotFoundError9,
|
|
48
48
|
Permission: () => exports_permission2,
|
|
49
|
-
Reply: () =>
|
|
49
|
+
Reply: () => Reply3,
|
|
50
50
|
ReplyInput: () => ReplyInput2,
|
|
51
|
-
Request: () =>
|
|
51
|
+
Request: () => Request3,
|
|
52
52
|
Rule: () => Rule3,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
|
-
Service: () =>
|
|
54
|
+
Service: () => Service76,
|
|
55
55
|
Source: () => Source5,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node80
|
|
59
59
|
});
|
|
60
60
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
61
61
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
62
62
|
import { Permission } from "@opencode/schema/permission";
|
|
63
63
|
import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
64
|
-
import { Event as
|
|
64
|
+
import { Event as Event19 } from "@opencode/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
|
-
var
|
|
67
|
+
var ID13 = Permission.ID;
|
|
68
68
|
var Source5 = Permission.Source;
|
|
69
69
|
var RequestFields = {
|
|
70
70
|
sessionID: Permission.Request.fields.sessionID,
|
|
@@ -74,20 +74,20 @@ var RequestFields = {
|
|
|
74
74
|
metadata: Permission.Request.fields.metadata,
|
|
75
75
|
source: Permission.Request.fields.source
|
|
76
76
|
};
|
|
77
|
-
var
|
|
78
|
-
var
|
|
77
|
+
var Request3 = Permission.Request;
|
|
78
|
+
var Reply3 = Permission.Reply;
|
|
79
79
|
var AssertInput2 = Schema.Struct({
|
|
80
|
-
id:
|
|
80
|
+
id: ID13.pipe(Schema.optional),
|
|
81
81
|
...RequestFields,
|
|
82
|
-
agent:
|
|
82
|
+
agent: ID15.pipe(Schema.optional)
|
|
83
83
|
}).annotate({ identifier: "Permission.AssertInput" });
|
|
84
84
|
var ReplyInput2 = Schema.Struct({
|
|
85
|
-
requestID:
|
|
86
|
-
reply:
|
|
85
|
+
requestID: ID13,
|
|
86
|
+
reply: Reply3,
|
|
87
87
|
message: Schema.String.pipe(Schema.optional)
|
|
88
88
|
}).annotate({ identifier: "Permission.ReplyInput" });
|
|
89
89
|
var AskResult2 = Schema.Struct({
|
|
90
|
-
id:
|
|
90
|
+
id: ID13,
|
|
91
91
|
effect: Permission.Effect
|
|
92
92
|
}).annotate({ identifier: "Permission.AskResult" });
|
|
93
93
|
|
|
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
class
|
|
114
|
-
requestID:
|
|
113
|
+
class NotFoundError9 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
114
|
+
requestID: ID13
|
|
115
115
|
}) {
|
|
116
116
|
}
|
|
117
117
|
function evaluate2(action, resource, ...rulesets) {
|
|
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
|
|
|
125
125
|
return rulesets.flat();
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service76 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
|
-
var layer = Layer.effect(
|
|
131
|
-
const bus = yield*
|
|
132
|
-
const location = yield*
|
|
133
|
-
const agents = yield*
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
136
|
-
const hooks = yield*
|
|
130
|
+
var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
131
|
+
const bus = yield* Service83;
|
|
132
|
+
const location = yield* Service80;
|
|
133
|
+
const agents = yield* Service79;
|
|
134
|
+
const sessions = yield* Service78;
|
|
135
|
+
const saved = yield* Service77;
|
|
136
|
+
const hooks = yield* Service85;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
let closed = false;
|
|
139
139
|
const close = Effect.gen(function* () {
|
|
@@ -156,7 +156,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
156
156
|
const configured = Effect.fnUntraced(function* (sessionID, agentID) {
|
|
157
157
|
const session = yield* sessions.get(sessionID);
|
|
158
158
|
if (!session)
|
|
159
|
-
return yield* new
|
|
159
|
+
return yield* new NotFoundError10({ sessionID });
|
|
160
160
|
const agent = yield* agents.resolve(agentID ?? session.agent);
|
|
161
161
|
return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
|
|
162
162
|
});
|
|
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
186
186
|
});
|
|
187
187
|
function request(input, message) {
|
|
188
188
|
return {
|
|
189
|
-
id: input.id ??
|
|
189
|
+
id: input.id ?? ID13.create(),
|
|
190
190
|
sessionID: input.sessionID,
|
|
191
191
|
action: input.action,
|
|
192
192
|
resources: input.resources,
|
|
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
211
211
|
}));
|
|
212
212
|
const ask = Effect.fn("Permission.ask")(function* (input) {
|
|
213
213
|
if (closed)
|
|
214
|
-
return { id: input.id ??
|
|
214
|
+
return { id: input.id ?? ID13.create(), effect: "deny" };
|
|
215
215
|
const result = yield* evaluateInput(input);
|
|
216
216
|
const value = request(input, result.message);
|
|
217
217
|
if (result.effect === "ask")
|
|
@@ -242,7 +242,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
242
242
|
const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
243
243
|
const existing = pending.get(input.requestID);
|
|
244
244
|
if (!existing)
|
|
245
|
-
return yield* new
|
|
245
|
+
return yield* new NotFoundError9({ requestID: input.requestID });
|
|
246
246
|
yield* bus.publish(Permission.Event.Replied, {
|
|
247
247
|
sessionID: existing.request.sessionID,
|
|
248
248
|
requestID: existing.request.id,
|
|
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
297
297
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
298
298
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
299
299
|
});
|
|
300
|
-
return
|
|
300
|
+
return Service76.of({ ask, assert, reply, get, forSession, list, close });
|
|
301
301
|
}));
|
|
302
|
-
var
|
|
303
|
-
service:
|
|
302
|
+
var node80 = makeLocationNode({
|
|
303
|
+
service: Service76,
|
|
304
304
|
layer,
|
|
305
|
-
deps: [
|
|
305
|
+
deps: [node87, node84, node83, node82, node81, node89]
|
|
306
306
|
});
|
|
307
307
|
|
|
308
|
-
export { PermissionEffect,
|
|
308
|
+
export { PermissionEffect, ID13, Source5, Request3, Reply3, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError9, evaluate2, merge2, Service76, node80, exports_permission2, Rule3, Ruleset2, Event19 };
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-mutation-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service83
|
|
3
|
+
} from "./file-mutation-b7enqntx.js";
|
|
4
4
|
import {
|
|
5
5
|
supportsText2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-1r21y0zf.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service16,
|
|
9
|
+
Event3
|
|
10
|
+
} from "./file-mutation-9rrwnz2a.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/models-dev.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -38,8 +38,8 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
38
38
|
var ModelsDevPlugin2 = define({
|
|
39
39
|
id: "opencode.models.dev",
|
|
40
40
|
effect: Effect.fn(function* (ctx) {
|
|
41
|
-
const modelsDev = yield*
|
|
42
|
-
const bus = yield*
|
|
41
|
+
const modelsDev = yield* Service16;
|
|
42
|
+
const bus = yield* Service83;
|
|
43
43
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
44
44
|
yield* ctx.integration.transform((integrations) => {
|
|
45
45
|
for (const provider of loaded.data) {
|
|
@@ -72,7 +72,7 @@ var ModelsDevPlugin2 = define({
|
|
|
72
72
|
loaded.data = snapshots(data);
|
|
73
73
|
return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
|
|
74
74
|
};
|
|
75
|
-
yield* bus.subscribe(
|
|
75
|
+
yield* bus.subscribe(Event3.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
|
|
76
76
|
const latest = yield* modelsDev.get();
|
|
77
77
|
if (snapshots(latest) !== loaded.data)
|
|
78
78
|
yield* apply(latest);
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service46
|
|
4
|
+
} from "./file-mutation-z8jpgmyn.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service44
|
|
7
|
+
} from "./file-mutation-pebh026f.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-mutation-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/snapshot.ts
|
|
16
16
|
var exports_snapshot = {};
|
|
17
17
|
__export(exports_snapshot, {
|
|
18
18
|
ConfigSnapshotPlugin: () => exports_snapshot,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin49
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin49 = define({
|
|
24
24
|
id: "opencode.config.snapshot",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const snapshot = yield*
|
|
26
|
+
const config = yield* Service46;
|
|
27
|
+
const snapshot = yield* Service44;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, snapshot.reload());
|
|
29
29
|
yield* snapshot.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "snapshots");
|
|
@@ -35,4 +35,4 @@ var Plugin3 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin49, exports_snapshot };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service60,
|
|
6
|
+
node63
|
|
7
|
+
} from "./file-mutation-a4wsassf.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service59,
|
|
17
|
+
node: () => node62,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service59 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service60;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service59.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node62 = makeLocationNode({ service: Service59, layer, deps: [node63] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service59, readText2, syncTextBom2, node62, exports_file_mutation };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentNotFoundError2,
|
|
3
3
|
StepFailedError2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-mutation-v3dgmss6.js";
|
|
5
5
|
import {
|
|
6
6
|
CorrectedError2,
|
|
7
7
|
BlockedError2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-mutation-m3accaze.js";
|
|
9
9
|
import {
|
|
10
10
|
AuthorizationError2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-mutation-xsg9rpyw.js";
|
|
12
12
|
import {
|
|
13
13
|
VariantUnavailableError2,
|
|
14
14
|
UnsupportedPackageError2,
|
|
@@ -16,11 +16,11 @@ import {
|
|
|
16
16
|
ModelInitializationError2,
|
|
17
17
|
UnresolvedProviderVariablesError2,
|
|
18
18
|
UnsupportedCompactionError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-mutation-c32pkzs5.js";
|
|
20
20
|
import {
|
|
21
21
|
ModelNotSelectedError2,
|
|
22
22
|
ModelUnavailableError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-mutation-04gahc5k.js";
|
|
24
24
|
|
|
25
25
|
// src/session/to-session-error.ts
|
|
26
26
|
import { AIError, ToolFailure } from "@opencode/ai";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-mutation-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-mutation-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_TOTAL_PATCH_BYTES2,
|
|
10
10
|
emptyPatch2,
|
|
11
11
|
chunksByFile2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-mutation-tazgh4e4.js";
|
|
13
13
|
import {
|
|
14
14
|
gitExecutable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-mutation-ef5x83kb.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/git.ts
|
|
21
21
|
var exports_git3 = {};
|
|
@@ -23,11 +23,11 @@ __export(exports_git3, {
|
|
|
23
23
|
Git: () => exports_git3,
|
|
24
24
|
OperationError: () => OperationError3,
|
|
25
25
|
Repository: () => Repository2,
|
|
26
|
-
Service: () =>
|
|
26
|
+
Service: () => Service82,
|
|
27
27
|
TreeID: () => TreeID2,
|
|
28
28
|
Worktree: () => Worktree2,
|
|
29
29
|
WorktreeError: () => WorktreeError2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node86
|
|
31
31
|
});
|
|
32
32
|
import path from "path";
|
|
33
33
|
import { Cause, Context, Effect, Exit, Layer, Option, Schedule, Schema } from "effect";
|
|
@@ -100,9 +100,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
|
|
|
100
100
|
}) {
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
-
class
|
|
103
|
+
class Service82 extends Context.Service()("@opencode/Git") {
|
|
104
104
|
}
|
|
105
|
-
var layer = Layer.effect(
|
|
105
|
+
var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
106
106
|
const fs = yield* FSUtil.Service;
|
|
107
107
|
const proc = yield* AppProcess.Service;
|
|
108
108
|
const locks = makeUnsafe2();
|
|
@@ -717,7 +717,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
717
717
|
kind: index === 0 ? "main" : "linked"
|
|
718
718
|
}));
|
|
719
719
|
});
|
|
720
|
-
return
|
|
720
|
+
return Service82.of({
|
|
721
721
|
repo: { discover, clone, create },
|
|
722
722
|
remote: { get: remote },
|
|
723
723
|
history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
|
|
@@ -734,7 +734,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
734
734
|
objects: { pack: packObjects }
|
|
735
735
|
});
|
|
736
736
|
}));
|
|
737
|
-
var
|
|
737
|
+
var node86 = makeGlobalNode({ service: Service82, layer, deps: [FSUtil.node, AppProcess.node] });
|
|
738
738
|
function run(cwd, proc, args) {
|
|
739
739
|
return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
|
|
740
740
|
}
|
|
@@ -801,4 +801,4 @@ function resolvePath(cwd, value) {
|
|
|
801
801
|
return path.resolve(cwd, normalized);
|
|
802
802
|
}
|
|
803
803
|
|
|
804
|
-
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2,
|
|
804
|
+
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service82, node86, exports_git3 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./file-mutation-b7enqntx.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-mutation-csq5hgpx.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-mutation-3t0ybcrp.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError7,
|
|
20
|
+
Options: () => Options9,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UnavailableError: () =>
|
|
24
|
-
available: () =>
|
|
25
|
-
configured: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
node: () =>
|
|
22
|
+
Service: () => Service62,
|
|
23
|
+
UnavailableError: () => UnavailableError3,
|
|
24
|
+
available: () => available3,
|
|
25
|
+
configured: () => configured10,
|
|
26
|
+
layer: () => layer25,
|
|
27
|
+
node: () => node66
|
|
28
28
|
});
|
|
29
29
|
import path from "node:path";
|
|
30
30
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -35,26 +35,26 @@ import { Pty } from "@opencode/schema/pty";
|
|
|
35
35
|
import { Global } from "@opencode/util/global";
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
|
-
import { available as
|
|
39
|
-
var
|
|
38
|
+
import { available as available3 } from "#persistent-pty-binary";
|
|
39
|
+
var Options9 = Schema.Struct({
|
|
40
40
|
handoff: Schema.optional(Handoff),
|
|
41
41
|
root: Schema.optional(Schema.String)
|
|
42
42
|
});
|
|
43
43
|
|
|
44
|
-
class
|
|
44
|
+
class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
45
45
|
message: Schema.String
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class NotFoundError7 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
50
50
|
ptyID: Pty.ID
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service62 extends Context.Service()("@opencode/PersistentPty") {
|
|
55
55
|
}
|
|
56
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
57
|
-
const bus = yield*
|
|
56
|
+
var makeLayer = (options = {}) => Layer.effect(Service62, Effect.gen(function* () {
|
|
57
|
+
const bus = yield* Service83;
|
|
58
58
|
const global = yield* Global.Service;
|
|
59
59
|
const context = yield* Effect.context();
|
|
60
60
|
const runFork = Effect.runForkWith(context);
|
|
@@ -76,7 +76,7 @@ var makeLayer = (options = {}) => Layer.effect(Service16, Effect.gen(function* (
|
|
|
76
76
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
77
77
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
78
78
|
if (!found)
|
|
79
|
-
return yield* new
|
|
79
|
+
return yield* new NotFoundError7({ ptyID: id });
|
|
80
80
|
return found;
|
|
81
81
|
});
|
|
82
82
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -166,7 +166,7 @@ var makeLayer = (options = {}) => Layer.effect(Service16, Effect.gen(function* (
|
|
|
166
166
|
});
|
|
167
167
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
168
168
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
169
|
-
return yield* new
|
|
169
|
+
return yield* new UnavailableError3({ message: "lines must be an integer between 1 and 65535" });
|
|
170
170
|
const id = current.get(sessionID);
|
|
171
171
|
if (!id)
|
|
172
172
|
return null;
|
|
@@ -243,7 +243,7 @@ var makeLayer = (options = {}) => Layer.effect(Service16, Effect.gen(function* (
|
|
|
243
243
|
detach: attachment.detach
|
|
244
244
|
};
|
|
245
245
|
});
|
|
246
|
-
return
|
|
246
|
+
return Service62.of({
|
|
247
247
|
list,
|
|
248
248
|
get,
|
|
249
249
|
create,
|
|
@@ -259,17 +259,17 @@ var makeLayer = (options = {}) => Layer.effect(Service16, Effect.gen(function* (
|
|
|
259
259
|
attach
|
|
260
260
|
});
|
|
261
261
|
}));
|
|
262
|
-
var
|
|
263
|
-
var
|
|
264
|
-
service:
|
|
265
|
-
layer: options === undefined ?
|
|
266
|
-
deps: [
|
|
262
|
+
var layer25 = makeLayer();
|
|
263
|
+
var configured10 = (options) => makeGlobalNode({
|
|
264
|
+
service: Service62,
|
|
265
|
+
layer: options === undefined ? layer25 : makeLayer(options),
|
|
266
|
+
deps: [node87, Global.node]
|
|
267
267
|
});
|
|
268
|
-
var
|
|
268
|
+
var node66 = configured10();
|
|
269
269
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
270
270
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
271
|
-
var unexpected = (response) => Effect.fail(new
|
|
272
|
-
var unavailable = (error) => new
|
|
271
|
+
var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
272
|
+
var unavailable = (error) => new UnavailableError3({ message: error instanceof Error ? error.message : String(error) });
|
|
273
273
|
function toInfo(value) {
|
|
274
274
|
const status = value.lifecycle.status;
|
|
275
275
|
return {
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options9, UnavailableError3, NotFoundError7, Service62, layer25, configured10, node66, exports_persistent_pty, Handoff2, available3 };
|