@opencode/core 0.0.0-dev-19625 → 0.0.0-dev-19627
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 +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +70 -70
- package/dist/chunks/{state-yzjv0n59.js → file-mutation-03nfxjzw.js} +32 -32
- package/dist/chunks/{state-06dxphr1.js → file-mutation-06dxphr1.js} +1 -1
- package/dist/chunks/{state-baaqp4zd.js → file-mutation-06x8he3q.js} +4 -4
- package/dist/chunks/{state-8zc3jqwb.js → file-mutation-06xhg51a.js} +26 -26
- package/dist/chunks/{state-20ft7gws.js → file-mutation-0c0n109p.js} +29 -29
- package/dist/chunks/{state-2z3d3p6x.js → file-mutation-0j4wr494.js} +15 -15
- package/dist/chunks/{state-y69ckfyh.js → file-mutation-0j569f3z.js} +3 -3
- package/dist/chunks/{state-v6vt01kk.js → file-mutation-0nes3kdx.js} +31 -31
- package/dist/chunks/{state-0paq2nw3.js → file-mutation-0paq2nw3.js} +1 -1
- package/dist/chunks/{state-0q0f95c6.js → file-mutation-0q0f95c6.js} +1 -1
- package/dist/chunks/{state-yayfkm3a.js → file-mutation-0tbwr05t.js} +10 -10
- package/dist/chunks/{state-2t25jzh1.js → file-mutation-0tncbqge.js} +30 -30
- package/dist/chunks/{state-yt84cctg.js → file-mutation-10s3487r.js} +15 -15
- package/dist/chunks/{state-wqntmxqd.js → file-mutation-11n3wfat.js} +21 -21
- package/dist/chunks/file-mutation-11z0rz4y.js +247 -0
- package/dist/chunks/{state-hwwcyrqp.js → file-mutation-1306karf.js} +40 -40
- package/dist/chunks/{state-bstmf25n.js → file-mutation-13c44461.js} +22 -22
- package/dist/chunks/{state-w4p6h1mp.js → file-mutation-18db4y5c.js} +18 -18
- package/dist/chunks/{state-r8xr0va3.js → file-mutation-1acjjqhc.js} +4 -4
- package/dist/chunks/{state-zbmtd5wr.js → file-mutation-1c76g24z.js} +6 -6
- package/dist/chunks/{state-1dazxqgg.js → file-mutation-1dazxqgg.js} +2 -2
- package/dist/chunks/{state-thaea3t9.js → file-mutation-1x1ag7qp.js} +18 -18
- package/dist/chunks/{state-21r38tys.js → file-mutation-21r38tys.js} +1 -1
- package/dist/chunks/{state-2402vzrj.js → file-mutation-2402vzrj.js} +1 -1
- package/dist/chunks/{state-0cnr96kf.js → file-mutation-24b9aadw.js} +11 -11
- package/dist/chunks/{state-z06fw8bd.js → file-mutation-25jpqk5v.js} +11 -11
- package/dist/chunks/{state-2a5m3afh.js → file-mutation-2a5m3afh.js} +1 -1
- package/dist/chunks/{state-0zmtjazh.js → file-mutation-2fhwbkrm.js} +23 -23
- package/dist/chunks/{state-rg4jwqxj.js → file-mutation-2h5ctm2z.js} +87 -87
- package/dist/chunks/{state-wevxc10v.js → file-mutation-2n0epbhs.js} +3 -3
- package/dist/chunks/{state-87k0zb7t.js → file-mutation-2py7vkgw.js} +6 -6
- package/dist/chunks/{state-jtzy25zk.js → file-mutation-2qcp78kg.js} +17 -17
- package/dist/chunks/{state-1k33tf3r.js → file-mutation-2tvcbkwg.js} +10 -10
- package/dist/chunks/{state-m2wkxzph.js → file-mutation-2v6a2rnj.js} +7 -7
- package/dist/chunks/{state-c156ep7e.js → file-mutation-30n84348.js} +11 -11
- package/dist/chunks/{state-tzdgdhg5.js → file-mutation-3aaqwtv7.js} +40 -40
- package/dist/chunks/{state-w6q8xqpp.js → file-mutation-3ar42wrm.js} +9 -9
- package/dist/chunks/{state-3fc6dm20.js → file-mutation-3fc6dm20.js} +1 -1
- package/dist/chunks/{state-9bw9tdmf.js → file-mutation-3fz3b278.js} +28 -28
- package/dist/chunks/{state-3hepkmqq.js → file-mutation-3hepkmqq.js} +1 -1
- package/dist/chunks/{state-j107h3n9.js → file-mutation-3nmkgzqt.js} +3 -3
- package/dist/chunks/{state-q7j6jfz6.js → file-mutation-3qgtx68d.js} +17 -17
- package/dist/chunks/{state-3smtnn6g.js → file-mutation-3smtnn6g.js} +1 -1
- package/dist/chunks/{state-3tvqynh2.js → file-mutation-3tvqynh2.js} +1 -1
- package/dist/chunks/file-mutation-48r4agm7.js +66 -0
- package/dist/chunks/{state-dxwen4wn.js → file-mutation-4afm2zz7.js} +47 -47
- package/dist/chunks/{state-h6r3nrb9.js → file-mutation-4dgbcxzg.js} +4 -4
- package/dist/chunks/{state-z78rkc6e.js → file-mutation-4g2m7ccv.js} +20 -20
- package/dist/chunks/{state-fa9b5va3.js → file-mutation-4sy6x2w1.js} +9 -9
- package/dist/chunks/{state-56gdpj1q.js → file-mutation-56gdpj1q.js} +2 -2
- package/dist/chunks/{state-fc9ethwj.js → file-mutation-5bbsmdtr.js} +4 -4
- package/dist/chunks/{state-ftdzjz2b.js → file-mutation-5bdbc12f.js} +4 -4
- package/dist/chunks/{state-a1bz86dw.js → file-mutation-5c4hm403.js} +3 -3
- package/dist/chunks/{state-5daktx2q.js → file-mutation-5daktx2q.js} +1 -1
- package/dist/chunks/{state-bqn1h69t.js → file-mutation-5fxvnth9.js} +8 -8
- package/dist/chunks/{state-n24en66b.js → file-mutation-5kh97ynp.js} +34 -34
- package/dist/chunks/{state-yt8tcjwm.js → file-mutation-5p8vcd02.js} +23 -23
- package/dist/chunks/{state-78v47nsk.js → file-mutation-5sj81wm5.js} +5 -5
- package/dist/chunks/{state-5t3nmthw.js → file-mutation-5t3nmthw.js} +2 -2
- package/dist/chunks/{state-qaffs4jm.js → file-mutation-635mjk8g.js} +23 -23
- package/dist/chunks/{state-669tq793.js → file-mutation-669tq793.js} +1 -1
- package/dist/chunks/{state-xf8yr4rj.js → file-mutation-6804x6mf.js} +18 -18
- package/dist/chunks/{state-9hbm8v8j.js → file-mutation-698497kr.js} +12 -12
- package/dist/chunks/{state-eh458v3w.js → file-mutation-6fkjc3gv.js} +24 -24
- package/dist/chunks/{state-c8xqcx36.js → file-mutation-6h3wybc7.js} +6 -6
- package/dist/chunks/{state-hjscxttq.js → file-mutation-6k7rtajw.js} +29 -29
- package/dist/chunks/{state-6msgmcgs.js → file-mutation-6msgmcgs.js} +1 -1
- package/dist/chunks/{state-7h0e1682.js → file-mutation-6zwemvqm.js} +19 -19
- package/dist/chunks/{state-cjnav3re.js → file-mutation-7avp506j.js} +53 -53
- package/dist/chunks/{state-7bmhse3q.js → file-mutation-7bmhse3q.js} +1 -1
- package/dist/chunks/{state-607tc6va.js → file-mutation-7dqw4kz8.js} +5 -5
- package/dist/chunks/{state-tmrapw0j.js → file-mutation-7hg3t1ht.js} +19 -19
- package/dist/chunks/{state-t3s3wq0q.js → file-mutation-7k05wx0c.js} +6 -6
- package/dist/chunks/{state-89rgtdwh.js → file-mutation-7nam6z95.js} +6 -6
- package/dist/chunks/{state-1x2m2kns.js → file-mutation-7rtzrs6z.js} +23 -23
- package/dist/chunks/{state-hgy1dkmh.js → file-mutation-7v7yaejn.js} +7 -7
- package/dist/chunks/{state-wzg7zq6j.js → file-mutation-7w3s9kd0.js} +9 -9
- package/dist/chunks/{state-jexxy024.js → file-mutation-7w99qc9d.js} +3 -3
- package/dist/chunks/{state-zaj5a1yd.js → file-mutation-7ycsd0tm.js} +16 -16
- package/dist/chunks/{state-xn5a693m.js → file-mutation-82adjhvd.js} +8 -8
- package/dist/chunks/{state-cq37gk0t.js → file-mutation-89smrnyf.js} +4 -4
- package/dist/chunks/{state-8d7r5vzw.js → file-mutation-8d7r5vzw.js} +1 -1
- package/dist/chunks/{state-937vk562.js → file-mutation-8fk85gr8.js} +4 -4
- package/dist/chunks/{state-34crcs6s.js → file-mutation-8rsrtv6x.js} +26 -26
- package/dist/chunks/{state-4bszj314.js → file-mutation-91sxxkcr.js} +5 -5
- package/dist/chunks/{state-sqdca7me.js → file-mutation-91t2kvk6.js} +13 -13
- package/dist/chunks/{state-xrrv4szm.js → file-mutation-9fsxynh3.js} +8 -8
- package/dist/chunks/{state-j6024k5x.js → file-mutation-9nygvg6d.js} +14 -14
- package/dist/chunks/{state-0ejqnpgq.js → file-mutation-9x4ccdjv.js} +182 -189
- package/dist/chunks/{state-a3hkj0gm.js → file-mutation-9y2fz4rr.js} +10 -10
- package/dist/chunks/{state-vjm8cxw2.js → file-mutation-a04y0etw.js} +27 -27
- package/dist/chunks/{state-1cr9pyzx.js → file-mutation-a3k5zcqz.js} +32 -32
- package/dist/chunks/{state-edrmdtr5.js → file-mutation-a46v4e4v.js} +7 -7
- package/dist/chunks/{state-r4spvhqj.js → file-mutation-a5de4bcy.js} +30 -30
- package/dist/chunks/{state-aaet6srn.js → file-mutation-aaet6srn.js} +2 -2
- package/dist/chunks/{state-1t5zgxxm.js → file-mutation-ac5xk54v.js} +21 -21
- package/dist/chunks/{state-z66esb84.js → file-mutation-ajwqadgf.js} +17 -17
- package/dist/chunks/{state-0y8dyykb.js → file-mutation-aychzs8s.js} +16 -16
- package/dist/chunks/{state-h4f983qb.js → file-mutation-ayex3wth.js} +22 -22
- package/dist/chunks/{state-3hzsgabf.js → file-mutation-azma9pmk.js} +16 -16
- package/dist/chunks/{state-b6gygkdw.js → file-mutation-b6gygkdw.js} +2 -2
- package/dist/chunks/{state-v676ynba.js → file-mutation-bqnv8r25.js} +9 -9
- package/dist/chunks/{state-40ar7v2a.js → file-mutation-bvdx5xp3.js} +11 -11
- package/dist/chunks/{state-bz85s9hh.js → file-mutation-bz85s9hh.js} +1 -1
- package/dist/chunks/{state-992j9qx1.js → file-mutation-c175xrn1.js} +30 -30
- package/dist/chunks/{state-5ptztvq7.js → file-mutation-c5rw5aek.js} +5 -5
- package/dist/chunks/{state-6dt5d3yy.js → file-mutation-c765mh8b.js} +9 -9
- package/dist/chunks/{state-cxv3b682.js → file-mutation-cmwkp3r5.js} +8 -8
- package/dist/chunks/{state-23pqda6t.js → file-mutation-cpy6gm2a.js} +6 -6
- package/dist/chunks/{state-d7s9ww47.js → file-mutation-cr1q0w15.js} +18 -18
- package/dist/chunks/{state-fj9wbyc8.js → file-mutation-cyx09s2a.js} +10 -10
- package/dist/chunks/{state-xp3zd2em.js → file-mutation-czzymjv3.js} +41 -41
- package/dist/chunks/file-mutation-d1y9ts6h.js +474 -0
- package/dist/chunks/{state-vy8efbby.js → file-mutation-d4fjsvxd.js} +36 -36
- package/dist/chunks/{state-rrm0bmxa.js → file-mutation-dcq050h0.js} +32 -32
- package/dist/chunks/{state-84hf00xv.js → file-mutation-ddg0keqc.js} +7 -7
- package/dist/chunks/{state-8p4f9s12.js → file-mutation-dj2t23y0.js} +2 -2
- package/dist/chunks/{state-a1k0n4t5.js → file-mutation-dmgsj5zc.js} +27 -27
- package/dist/chunks/{state-cnvgsmxe.js → file-mutation-dp45y3n1.js} +17 -17
- package/dist/chunks/{state-rex1qj25.js → file-mutation-dwvb776c.js} +22 -22
- package/dist/chunks/{state-ys0xwr4p.js → file-mutation-dzrq5311.js} +9 -9
- package/dist/chunks/{state-e5nv3ght.js → file-mutation-e5nv3ght.js} +2 -2
- package/dist/chunks/{state-a7txqt5m.js → file-mutation-eajyy5ey.js} +46 -46
- package/dist/chunks/{state-ef5x83kb.js → file-mutation-ef5x83kb.js} +1 -1
- package/dist/chunks/{state-hvcdvhf8.js → file-mutation-eg6djbbr.js} +32 -32
- package/dist/chunks/{state-jp74hzaz.js → file-mutation-ekezzs5q.js} +5 -5
- package/dist/chunks/{state-kgfwvcqs.js → file-mutation-eqfn3g5k.js} +19 -19
- package/dist/chunks/{state-jey6arge.js → file-mutation-es3fm114.js} +1 -1
- package/dist/chunks/{state-etq0c3wd.js → file-mutation-etq0c3wd.js} +1 -1
- package/dist/chunks/{state-m86bnw2c.js → file-mutation-f7j90zp2.js} +9 -9
- package/dist/chunks/{state-spx2bnh9.js → file-mutation-f9yn9122.js} +9 -9
- package/dist/chunks/{state-fxbjtjnd.js → file-mutation-fxbjtjnd.js} +1 -1
- package/dist/chunks/{state-6qkc0t3x.js → file-mutation-g1sxm558.js} +4 -4
- package/dist/chunks/{state-q6djktq7.js → file-mutation-g87vc5p1.js} +12 -12
- package/dist/chunks/{state-7egh4y4y.js → file-mutation-g9nckgd1.js} +18 -18
- package/dist/chunks/{state-b29mbqx6.js → file-mutation-gcavn3wx.js} +5 -5
- package/dist/chunks/{state-59mgbvjy.js → file-mutation-gcwb3twc.js} +37 -37
- package/dist/chunks/{state-gd4qta3r.js → file-mutation-gd4qta3r.js} +1 -1
- package/dist/chunks/{state-2jcx25a3.js → file-mutation-gh317mre.js} +18 -18
- package/dist/chunks/{state-vcy4fgke.js → file-mutation-gj014zr3.js} +16 -16
- package/dist/chunks/{state-jr96nny2.js → file-mutation-gmp12gr6.js} +14 -14
- package/dist/chunks/{state-dedpvjp1.js → file-mutation-gr1f03ws.js} +9 -9
- package/dist/chunks/{state-1brs0x88.js → file-mutation-gw4zmj2g.js} +27 -27
- package/dist/chunks/{state-h03wrkyp.js → file-mutation-h03wrkyp.js} +2 -2
- package/dist/chunks/{state-0v5c5440.js → file-mutation-h23j7wn7.js} +7 -7
- package/dist/chunks/{state-h6vf3j39.js → file-mutation-h6vf3j39.js} +1 -1
- package/dist/chunks/{state-qa4rp7fn.js → file-mutation-h71w788e.js} +9 -9
- package/dist/chunks/{state-x3gyjycy.js → file-mutation-h85ccg7e.js} +4 -4
- package/dist/chunks/{state-fdtfhvf4.js → file-mutation-hdh38a9b.js} +9 -9
- package/dist/chunks/{state-f828m53h.js → file-mutation-hdnk95c8.js} +2 -2
- package/dist/chunks/{state-5avwrfg8.js → file-mutation-hfvv3mv3.js} +27 -27
- package/dist/chunks/{state-nhy5jxhy.js → file-mutation-hjt4xg1x.js} +4 -4
- package/dist/chunks/file-mutation-ht5y0zrb.js +18 -0
- package/dist/chunks/{state-zzmr1x04.js → file-mutation-j4p8w3kg.js} +24 -24
- package/dist/chunks/{state-j56e64zr.js → file-mutation-j56e64zr.js} +1 -1
- package/dist/chunks/{state-bqmb9zzv.js → file-mutation-j7jqt5tj.js} +11 -11
- package/dist/chunks/{state-v3j36t2s.js → file-mutation-jdcpnvpf.js} +7 -7
- package/dist/chunks/{state-k31m950v.js → file-mutation-jfya27vc.js} +8 -8
- package/dist/chunks/{state-4phm5153.js → file-mutation-jwbqhvyy.js} +5 -5
- package/dist/chunks/{state-vjman6x4.js → file-mutation-jxwjknq3.js} +10 -10
- package/dist/chunks/{state-vky51n64.js → file-mutation-k6v14n43.js} +17 -17
- package/dist/chunks/{state-w3wfndk6.js → file-mutation-k86shhx4.js} +13 -13
- package/dist/chunks/{state-ybhbtxjg.js → file-mutation-k9avtbwf.js} +3 -3
- package/dist/chunks/{state-fkdvy3ye.js → file-mutation-k9vs72wj.js} +11 -11
- package/dist/chunks/{state-mps7w25w.js → file-mutation-kcm959y1.js} +30 -30
- package/dist/chunks/{state-zex37ywk.js → file-mutation-kjfdeayr.js} +8 -8
- package/dist/chunks/{state-t8pps5yz.js → file-mutation-ktak12d4.js} +16 -16
- package/dist/chunks/{state-28wkbh4b.js → file-mutation-ky2zf32z.js} +11 -11
- package/dist/chunks/{state-vd3vzfjc.js → file-mutation-kyvf95r7.js} +27 -27
- package/dist/chunks/{state-cfpkc3c9.js → file-mutation-m0jqrx5p.js} +2 -2
- package/dist/chunks/{state-m9w0rfyh.js → file-mutation-m9w0rfyh.js} +1 -1
- package/dist/chunks/{state-r5x6zcsm.js → file-mutation-mvfsc1pv.js} +3 -3
- package/dist/chunks/{state-mweswy2n.js → file-mutation-my26e0c6.js} +26 -26
- package/dist/chunks/{state-3n6sdpxb.js → file-mutation-n8j5ecm5.js} +4 -4
- package/dist/chunks/{state-8vb6c4g2.js → file-mutation-nap3yrea.js} +47 -47
- package/dist/chunks/{state-a3r4dcrj.js → file-mutation-nng2ktcm.js} +2 -2
- package/dist/chunks/{state-t7e3d7s2.js → file-mutation-ns5krr68.js} +5 -5
- package/dist/chunks/{state-d8nc1xcx.js → file-mutation-nw2nz702.js} +4 -4
- package/dist/chunks/{state-eebppvc8.js → file-mutation-p2f53c8e.js} +38 -38
- package/dist/chunks/{state-bk8e4xf7.js → file-mutation-pcvnxmb4.js} +10 -10
- package/dist/chunks/{state-66mxargn.js → file-mutation-pcwvymat.js} +12 -12
- package/dist/chunks/{state-z25aqp2g.js → file-mutation-pes8w8r9.js} +28 -28
- package/dist/chunks/{state-898yeema.js → file-mutation-pf2ava87.js} +20 -20
- package/dist/chunks/{state-pjvnvgmy.js → file-mutation-pjvnvgmy.js} +1 -1
- package/dist/chunks/{state-pknna89w.js → file-mutation-pknna89w.js} +1 -1
- package/dist/chunks/{state-tvenyyex.js → file-mutation-pvp0xbtq.js} +5 -5
- package/dist/chunks/{state-49efg6hh.js → file-mutation-q5rhn9x0.js} +11 -11
- package/dist/chunks/{state-wf67cbqp.js → file-mutation-qb9x24v0.js} +15 -15
- package/dist/chunks/{state-57ez7d0k.js → file-mutation-qebawg89.js} +9 -9
- package/dist/chunks/{state-a8bn8zg0.js → file-mutation-qj8eh1ht.js} +4 -4
- package/dist/chunks/{state-xx4p9jw3.js → file-mutation-qkxympve.js} +47 -47
- package/dist/chunks/{state-86a9eks8.js → file-mutation-qr8mshgh.js} +32 -32
- package/dist/chunks/{state-qsdy395h.js → file-mutation-qsdy395h.js} +1 -1
- package/dist/chunks/{state-xdw78xdg.js → file-mutation-qxmaq0sm.js} +8 -8
- package/dist/chunks/{state-aby1gkpe.js → file-mutation-qyqjfx9x.js} +16 -16
- package/dist/chunks/{state-ckvyy4ff.js → file-mutation-qz3sdwq7.js} +4 -4
- package/dist/chunks/{state-gayp7ypd.js → file-mutation-r1jcp9he.js} +31 -31
- package/dist/chunks/{state-9fgjxmjq.js → file-mutation-r8bq8m7e.js} +3 -3
- package/dist/chunks/{state-01c8jd1w.js → file-mutation-r8s4q6ph.js} +11 -11
- package/dist/chunks/{state-r9mregkx.js → file-mutation-r9mregkx.js} +2 -2
- package/dist/chunks/{state-rdw6cm16.js → file-mutation-rdw6cm16.js} +1 -1
- package/dist/chunks/{state-fe1a2b94.js → file-mutation-rdwnzddt.js} +52 -52
- package/dist/chunks/{state-fjnw3amg.js → file-mutation-rf848q2s.js} +8 -8
- package/dist/chunks/file-mutation-rjhhx3kh.js +26 -0
- package/dist/chunks/{state-3m5b51q1.js → file-mutation-rmkqwdpg.js} +89 -89
- package/dist/chunks/{state-zeh9ct20.js → file-mutation-rq775frq.js} +2 -2
- package/dist/chunks/{state-k5kkqdex.js → file-mutation-rr1pnw44.js} +8 -8
- package/dist/chunks/{state-wecqvfcx.js → file-mutation-rw337v24.js} +11 -11
- package/dist/chunks/{state-ws4jrj3s.js → file-mutation-ryrj46hv.js} +15 -15
- package/dist/chunks/{state-spvae7dy.js → file-mutation-rz5kv9fq.js} +17 -17
- package/dist/chunks/{state-83s880gm.js → file-mutation-s5ech5g2.js} +36 -36
- package/dist/chunks/{state-rhjbct0v.js → file-mutation-s8d7rejh.js} +4 -4
- package/dist/chunks/{state-nmdzht59.js → file-mutation-s8yyarnz.js} +11 -11
- package/dist/chunks/{state-8gzdyzew.js → file-mutation-sqeh6kv1.js} +20 -20
- package/dist/chunks/{state-ahhsgd92.js → file-mutation-sr25wdwa.js} +17 -17
- package/dist/chunks/{state-5w4tm8f9.js → file-mutation-ssz2ek6x.js} +11 -11
- package/dist/chunks/{state-1bvekr7f.js → file-mutation-sxzvkvgj.js} +6 -6
- package/dist/chunks/{state-wk4mdq5k.js → file-mutation-synq1jy2.js} +13 -13
- package/dist/chunks/{state-36308byx.js → file-mutation-t1eg3y3w.js} +13 -13
- package/dist/chunks/{state-e6hmchc5.js → file-mutation-t3swkhbg.js} +2 -2
- package/dist/chunks/{state-e80f6ask.js → file-mutation-t5vtrxv1.js} +22 -22
- package/dist/chunks/{state-tazgh4e4.js → file-mutation-tazgh4e4.js} +1 -1
- package/dist/chunks/{state-kg53bg6f.js → file-mutation-tbb58408.js} +102 -110
- package/dist/chunks/{state-m2z0yx10.js → file-mutation-tcdc8g31.js} +9 -9
- package/dist/chunks/{state-89znhe33.js → file-mutation-tcezcvh9.js} +4 -4
- package/dist/chunks/{state-sa4z093x.js → file-mutation-tds7k197.js} +2 -2
- package/dist/chunks/{state-tdstcens.js → file-mutation-tdstcens.js} +1 -1
- package/dist/chunks/{state-dvzdqzst.js → file-mutation-tgft0wfk.js} +24 -24
- package/dist/chunks/{state-1jxz1f4t.js → file-mutation-the10gxd.js} +18 -18
- package/dist/chunks/{state-sfga0tvm.js → file-mutation-tv17mb0q.js} +7 -7
- package/dist/chunks/{state-tvtrv512.js → file-mutation-tvtrv512.js} +1 -1
- package/dist/chunks/{state-936zgkx3.js → file-mutation-tzz76ghp.js} +3 -3
- package/dist/chunks/{state-6fzqmn9v.js → file-mutation-v0x321vx.js} +30 -30
- package/dist/chunks/{state-d9b7h6cw.js → file-mutation-v3fdhb9p.js} +37 -37
- package/dist/chunks/{state-t9zs3egg.js → file-mutation-ve4pfa0n.js} +4 -4
- package/dist/chunks/{state-veqvce7d.js → file-mutation-veqvce7d.js} +1 -1
- package/dist/chunks/{state-yjn491gs.js → file-mutation-vtfn81vb.js} +13 -13
- package/dist/chunks/{state-vzcthcp8.js → file-mutation-vzcthcp8.js} +1 -1
- package/dist/chunks/{state-w3wsvvr9.js → file-mutation-w3wsvvr9.js} +1 -1
- package/dist/chunks/{state-9vqz0pne.js → file-mutation-wa2k838w.js} +10 -10
- package/dist/chunks/{state-gjv4hb9a.js → file-mutation-wc8c3q07.js} +11 -11
- package/dist/chunks/{state-wd87259q.js → file-mutation-wd87259q.js} +1 -1
- package/dist/chunks/{state-ak76n2aw.js → file-mutation-wdzhm1dy.js} +13 -13
- package/dist/chunks/{state-e0hkds3t.js → file-mutation-wejf0rdp.js} +63 -63
- package/dist/chunks/{state-1vxxmenm.js → file-mutation-x121vean.js} +6 -6
- package/dist/chunks/{state-x1ezjp6w.js → file-mutation-x1ezjp6w.js} +1 -1
- package/dist/chunks/{state-nggt3w8z.js → file-mutation-x1r77kwh.js} +3 -3
- package/dist/chunks/{state-pwh0py47.js → file-mutation-x2c9waxa.js} +8 -8
- package/dist/chunks/{state-47dkewx0.js → file-mutation-x2fjf6jt.js} +1 -1
- package/dist/chunks/{state-e8dtjarm.js → file-mutation-x3ykbdq0.js} +22 -22
- package/dist/chunks/{state-7hc87grc.js → file-mutation-x5h3w8zq.js} +32 -32
- package/dist/chunks/{state-wmttgrd3.js → file-mutation-xb3f970q.js} +11 -11
- package/dist/chunks/{state-e8340df8.js → file-mutation-xe94yqgp.js} +6 -6
- package/dist/chunks/{state-tyad6bnf.js → file-mutation-xqhhrdfp.js} +22 -22
- package/dist/chunks/{state-kervakjy.js → file-mutation-xqk8sbne.js} +12 -12
- package/dist/chunks/{state-py2c23wa.js → file-mutation-xrv8p737.js} +25 -25
- package/dist/chunks/{state-cemwa943.js → file-mutation-xx8we5ps.js} +4 -4
- package/dist/chunks/{state-ddyhp86z.js → file-mutation-xyny64hx.js} +23 -23
- package/dist/chunks/{state-k3bsjs2v.js → file-mutation-xza6172n.js} +5 -5
- package/dist/chunks/{state-y1fvbwt7.js → file-mutation-y1fvbwt7.js} +1 -1
- package/dist/chunks/{state-y71avatq.js → file-mutation-y71avatq.js} +1 -1
- package/dist/chunks/{state-s9tvycjm.js → file-mutation-yce1w55j.js} +9 -9
- package/dist/chunks/{state-9j69pfkk.js → file-mutation-yf98xpe6.js} +9 -9
- package/dist/chunks/{state-brt4p7q6.js → file-mutation-ynjpqawr.js} +6 -6
- package/dist/chunks/{state-k3va51sp.js → file-mutation-yphy50z6.js} +21 -21
- package/dist/chunks/{state-18zsx4wd.js → file-mutation-yqf3qraq.js} +8 -8
- package/dist/chunks/{state-yrhqyw5v.js → file-mutation-yrhqyw5v.js} +1 -1
- package/dist/chunks/{state-yrznvahk.js → file-mutation-yrznvahk.js} +2 -2
- package/dist/chunks/{state-gv6a8nnw.js → file-mutation-yyb7tjpc.js} +2 -2
- package/dist/chunks/{state-z0bkrqjs.js → file-mutation-z0bkrqjs.js} +1 -1
- package/dist/chunks/{state-xesac8hr.js → file-mutation-z1jek54d.js} +5 -5
- package/dist/chunks/{state-rwdj6r64.js → file-mutation-z2ab2b6j.js} +11 -11
- package/dist/chunks/{state-z63w68vq.js → file-mutation-z63w68vq.js} +2 -2
- package/dist/chunks/{state-8bcx3nez.js → file-mutation-z76rvear.js} +4 -4
- package/dist/chunks/{state-zr2ceqn5.js → file-mutation-zr2ceqn5.js} +1 -1
- package/dist/chunks/{state-zxq2ej10.js → file-mutation-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +210 -210
- package/dist/config/plugin/compaction.js +158 -158
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +67 -67
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +71 -71
- package/dist/file-access.js +101 -101
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +223 -222
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +107 -107
- package/dist/form.js +79 -79
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +102 -102
- 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 +98 -98
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +353 -353
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-mutation.js +101 -101
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +350 -350
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +95 -95
- package/dist/model.js +97 -97
- package/dist/models-dev.js +100 -100
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +73 -73
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +100 -100
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +216 -215
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +325 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +119 -119
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +119 -119
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +157 -157
- package/dist/plugin/sdk.js +71 -71
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +342 -341
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +223 -222
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +87 -87
- package/dist/provider.js +98 -98
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -91
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +128 -128
- package/dist/session/context.js +150 -150
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +149 -149
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -117
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +1 -1
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -227
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +122 -122
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +82 -82
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +152 -152
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- 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 +11 -11
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +90 -90
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +125 -125
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +103 -103
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +6 -6
- package/dist/tool.js +13 -13
- package/dist/types/config/plugin/worktree.d.ts +2 -2
- package/dist/types/instance.d.ts +2 -2
- package/dist/types/plugin/host.d.ts +3 -2
- package/dist/types/plugin/internal.d.ts +3 -2
- package/dist/types/worktree/git.d.ts +2 -4
- package/dist/types/worktree/strategies.d.ts +36 -0
- package/dist/types/worktree.d.ts +23 -40
- 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/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- 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 +2 -2
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +79 -79
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +75 -75
- 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 +93 -0
- package/dist/worktree.js +95 -97
- package/package.json +8 -8
- package/dist/chunks/state-1x11rq2a.js +0 -18
- package/dist/chunks/state-7eaj6nza.js +0 -468
- package/dist/chunks/state-7g1ww872.js +0 -26
- package/dist/chunks/state-d33cb7pa.js +0 -251
- package/dist/chunks/state-xbhtvydn.js +0 -44
- package/dist/types/worktree/refresh.d.ts +0 -2
- package/dist/worktree/refresh.js +0 -347
- /package/dist/chunks/{state-0mesazry.js → file-mutation-0mesazry.js} +0 -0
- /package/dist/chunks/{state-0qkdqm5v.js → file-mutation-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{state-0zkw76rk.js → file-mutation-0zkw76rk.js} +0 -0
- /package/dist/chunks/{state-17cy0kzp.js → file-mutation-17cy0kzp.js} +0 -0
- /package/dist/chunks/{state-1cnp2v09.js → file-mutation-1cnp2v09.js} +0 -0
- /package/dist/chunks/{state-1kg9ymc8.js → file-mutation-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{state-24dcb14g.js → file-mutation-24dcb14g.js} +0 -0
- /package/dist/chunks/{state-2710q6r3.js → file-mutation-2710q6r3.js} +0 -0
- /package/dist/chunks/{state-2axfhc9x.js → file-mutation-2axfhc9x.js} +0 -0
- /package/dist/chunks/{state-2c3vjs8z.js → file-mutation-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{state-359p4xyc.js → file-mutation-359p4xyc.js} +0 -0
- /package/dist/chunks/{state-3asan66x.js → file-mutation-3asan66x.js} +0 -0
- /package/dist/chunks/{state-3v8g72cx.js → file-mutation-3v8g72cx.js} +0 -0
- /package/dist/chunks/{state-3w5fmr99.js → file-mutation-3w5fmr99.js} +0 -0
- /package/dist/chunks/{state-3wcehsnq.js → file-mutation-3wcehsnq.js} +0 -0
- /package/dist/chunks/{state-43n2bw4t.js → file-mutation-43n2bw4t.js} +0 -0
- /package/dist/chunks/{state-4knz6hnm.js → file-mutation-4knz6hnm.js} +0 -0
- /package/dist/chunks/{state-4vcrnpx2.js → file-mutation-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{state-4y7fprxs.js → file-mutation-4y7fprxs.js} +0 -0
- /package/dist/chunks/{state-53557ph1.js → file-mutation-53557ph1.js} +0 -0
- /package/dist/chunks/{state-550bvhaj.js → file-mutation-550bvhaj.js} +0 -0
- /package/dist/chunks/{state-5qd3pb7m.js → file-mutation-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{state-6prwharc.js → file-mutation-6prwharc.js} +0 -0
- /package/dist/chunks/{state-7akdwqpd.js → file-mutation-7akdwqpd.js} +0 -0
- /package/dist/chunks/{state-7m9af43g.js → file-mutation-7m9af43g.js} +0 -0
- /package/dist/chunks/{state-822emrt2.js → file-mutation-822emrt2.js} +0 -0
- /package/dist/chunks/{state-88xbtdfr.js → file-mutation-88xbtdfr.js} +0 -0
- /package/dist/chunks/{state-8n3pysct.js → file-mutation-8n3pysct.js} +0 -0
- /package/dist/chunks/{state-922hggd3.js → file-mutation-922hggd3.js} +0 -0
- /package/dist/chunks/{state-9a4afbnw.js → file-mutation-9a4afbnw.js} +0 -0
- /package/dist/chunks/{state-9rqn6x4v.js → file-mutation-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{state-a6k6eb26.js → file-mutation-a6k6eb26.js} +0 -0
- /package/dist/chunks/{state-af5trqkr.js → file-mutation-af5trqkr.js} +0 -0
- /package/dist/chunks/{state-afrmfg78.js → file-mutation-afrmfg78.js} +0 -0
- /package/dist/chunks/{state-aqzs7mqg.js → file-mutation-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{state-atq7p7m5.js → file-mutation-atq7p7m5.js} +0 -0
- /package/dist/chunks/{state-bkyjaxrp.js → file-mutation-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{state-bmr6ed5q.js → file-mutation-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{state-cf4snx6d.js → file-mutation-cf4snx6d.js} +0 -0
- /package/dist/chunks/{state-cvy3z8tj.js → file-mutation-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{state-d9fn303g.js → file-mutation-d9fn303g.js} +0 -0
- /package/dist/chunks/{state-d9jj8t3e.js → file-mutation-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{state-dajrwvna.js → file-mutation-dajrwvna.js} +0 -0
- /package/dist/chunks/{state-dap0rakb.js → file-mutation-dap0rakb.js} +0 -0
- /package/dist/chunks/{state-df08tz66.js → file-mutation-df08tz66.js} +0 -0
- /package/dist/chunks/{state-dy18nga0.js → file-mutation-dy18nga0.js} +0 -0
- /package/dist/chunks/{state-e5kj55wp.js → file-mutation-e5kj55wp.js} +0 -0
- /package/dist/chunks/{state-e73j6tqm.js → file-mutation-e73j6tqm.js} +0 -0
- /package/dist/chunks/{state-ec1grn59.js → file-mutation-ec1grn59.js} +0 -0
- /package/dist/chunks/{state-eh3zwz77.js → file-mutation-eh3zwz77.js} +0 -0
- /package/dist/chunks/{state-emrn6kk6.js → file-mutation-emrn6kk6.js} +0 -0
- /package/dist/chunks/{state-f0mxakyp.js → file-mutation-f0mxakyp.js} +0 -0
- /package/dist/chunks/{state-f6n9ztr4.js → file-mutation-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{state-faypxj3z.js → file-mutation-faypxj3z.js} +0 -0
- /package/dist/chunks/{state-fd410y7t.js → file-mutation-fd410y7t.js} +0 -0
- /package/dist/chunks/{state-fxgpk5d8.js → file-mutation-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{state-g4wezp1m.js → file-mutation-g4wezp1m.js} +0 -0
- /package/dist/chunks/{state-g86h250q.js → file-mutation-g86h250q.js} +0 -0
- /package/dist/chunks/{state-gebd4c9n.js → file-mutation-gebd4c9n.js} +0 -0
- /package/dist/chunks/{state-gftt206x.js → file-mutation-gftt206x.js} +0 -0
- /package/dist/chunks/{state-hjbc5kem.js → file-mutation-hjbc5kem.js} +0 -0
- /package/dist/chunks/{state-hk9envan.js → file-mutation-hk9envan.js} +0 -0
- /package/dist/chunks/{state-j2ntwpah.js → file-mutation-j2ntwpah.js} +0 -0
- /package/dist/chunks/{state-j5zkgpj8.js → file-mutation-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{state-jjkms2e6.js → file-mutation-jjkms2e6.js} +0 -0
- /package/dist/chunks/{state-jr7sbwjy.js → file-mutation-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{state-jwfs4k6c.js → file-mutation-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{state-jzg6c2d5.js → file-mutation-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{state-mp448xyj.js → file-mutation-mp448xyj.js} +0 -0
- /package/dist/chunks/{state-msx8hqn2.js → file-mutation-msx8hqn2.js} +0 -0
- /package/dist/chunks/{state-n05xt0ee.js → file-mutation-n05xt0ee.js} +0 -0
- /package/dist/chunks/{state-n3j8tn72.js → file-mutation-n3j8tn72.js} +0 -0
- /package/dist/chunks/{state-njntx4h6.js → file-mutation-njntx4h6.js} +0 -0
- /package/dist/chunks/{state-q3sfg36h.js → file-mutation-q3sfg36h.js} +0 -0
- /package/dist/chunks/{state-q74kybfr.js → file-mutation-q74kybfr.js} +0 -0
- /package/dist/chunks/{state-qaymkmh1.js → file-mutation-qaymkmh1.js} +0 -0
- /package/dist/chunks/{state-qb87gjwd.js → file-mutation-qb87gjwd.js} +0 -0
- /package/dist/chunks/{state-qfa1cgps.js → file-mutation-qfa1cgps.js} +0 -0
- /package/dist/chunks/{state-qg3g05ea.js → file-mutation-qg3g05ea.js} +0 -0
- /package/dist/chunks/{state-qrg20bc0.js → file-mutation-qrg20bc0.js} +0 -0
- /package/dist/chunks/{state-rcb2kzg1.js → file-mutation-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{state-sdp7kfr6.js → file-mutation-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{state-sk3qaz4a.js → file-mutation-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{state-ssg3fenm.js → file-mutation-ssg3fenm.js} +0 -0
- /package/dist/chunks/{state-twg0f83k.js → file-mutation-twg0f83k.js} +0 -0
- /package/dist/chunks/{state-w803qqfp.js → file-mutation-w803qqfp.js} +0 -0
- /package/dist/chunks/{state-wc3fc9cn.js → file-mutation-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{state-wer8tq1h.js → file-mutation-wer8tq1h.js} +0 -0
- /package/dist/chunks/{state-wtztk69x.js → file-mutation-wtztk69x.js} +0 -0
- /package/dist/chunks/{state-x0ckcb58.js → file-mutation-x0ckcb58.js} +0 -0
- /package/dist/chunks/{state-x61499pn.js → file-mutation-x61499pn.js} +0 -0
- /package/dist/chunks/{state-y44na4kk.js → file-mutation-y44na4kk.js} +0 -0
- /package/dist/chunks/{state-y8cydn3q.js → file-mutation-y8cydn3q.js} +0 -0
- /package/dist/chunks/{state-y8f7s663.js → file-mutation-y8f7s663.js} +0 -0
- /package/dist/chunks/{state-ygaqb7jw.js → file-mutation-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{state-ym463w8f.js → file-mutation-ym463w8f.js} +0 -0
- /package/dist/chunks/{state-z9919s4g.js → file-mutation-z9919s4g.js} +0 -0
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service75
|
|
3
|
+
} from "./file-mutation-11n3wfat.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service64
|
|
6
|
+
} from "./file-mutation-a5de4bcy.js";
|
|
7
7
|
import {
|
|
8
8
|
ID6,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service37
|
|
14
|
+
} from "./file-mutation-6zwemvqm.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
|
-
var
|
|
21
|
-
__export(
|
|
22
|
-
Input: () =>
|
|
20
|
+
var exports_websearch2 = {};
|
|
21
|
+
__export(exports_websearch2, {
|
|
22
|
+
Input: () => Input9,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
25
|
-
WebSearchTool: () =>
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
24
|
+
Plugin: () => Plugin28,
|
|
25
|
+
WebSearchTool: () => exports_websearch2,
|
|
26
|
+
description: () => description4,
|
|
27
|
+
name: () => name9
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/unstable/http";
|
|
32
|
-
var
|
|
32
|
+
var name9 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description4 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input9 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
46
|
provider: ID6,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin28 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service64;
|
|
53
|
+
const forms = yield* Service75;
|
|
54
|
+
const websearch = yield* Service37;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name9,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description4,
|
|
59
|
+
input: Input9,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name9,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
const hook = (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name9];
|
|
180
180
|
});
|
|
181
181
|
yield* ctx.session.hook("context", hook);
|
|
182
182
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
|
|
|
184
184
|
})
|
|
185
185
|
};
|
|
186
186
|
|
|
187
|
-
export {
|
|
187
|
+
export { name9, NO_RESULTS2, description4, Input9, Plugin28, exports_websearch2 };
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service61
|
|
3
|
+
} from "./file-mutation-6fkjc3gv.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service60,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-mutation-t1eg3y3w.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service14
|
|
11
|
+
} from "./file-mutation-1x1ag7qp.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service64
|
|
14
|
+
} from "./file-mutation-a5de4bcy.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service63
|
|
17
|
+
} from "./file-mutation-7ycsd0tm.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./file-mutation-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input10,
|
|
29
|
+
Output: () => Output7,
|
|
30
|
+
Plugin: () => Plugin29,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name10,
|
|
33
|
+
toModelContent: () => toModelContent5
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name10 = "write";
|
|
39
|
+
var Input10 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output7 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent5 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin29 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service63;
|
|
56
|
+
const fileMutation = yield* Service60;
|
|
57
|
+
const environment = yield* Service61;
|
|
58
|
+
const formatter = yield* Service14;
|
|
59
|
+
const permission = yield* Service64;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name10,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input10,
|
|
69
|
+
output: Output7,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent5(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name10, Input10, Output7, toModelContent5, Plugin29, exports_write };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
8
|
-
ConfigCommandV1: () =>
|
|
9
|
-
Info: () =>
|
|
6
|
+
var exports_command5 = {};
|
|
7
|
+
__export(exports_command5, {
|
|
8
|
+
ConfigCommandV1: () => exports_command5,
|
|
9
|
+
Info: () => Info20
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info20 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info10 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info20, exports_command5 };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node84
|
|
4
|
+
} from "./file-mutation-f9yn9122.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service76,
|
|
7
|
+
node80
|
|
8
|
+
} from "./file-mutation-aychzs8s.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID18,
|
|
11
|
+
Service79,
|
|
12
|
+
node83
|
|
13
|
+
} from "./file-mutation-x3ykbdq0.js";
|
|
14
14
|
import {
|
|
15
15
|
NotFoundError9
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-mutation-k9avtbwf.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
18
|
+
Service65,
|
|
19
19
|
node69
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./file-mutation-g87vc5p1.js";
|
|
21
21
|
import {
|
|
22
22
|
match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-mutation-y1fvbwt7.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
25
|
+
Service66,
|
|
26
26
|
node70
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./file-mutation-pcvnxmb4.js";
|
|
28
28
|
import {
|
|
29
29
|
Service67,
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
node71
|
|
31
|
+
} from "./file-mutation-g1sxm558.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 = {};
|
|
@@ -51,7 +51,7 @@ __export(exports_permission2, {
|
|
|
51
51
|
Request: () => Request2,
|
|
52
52
|
Rule: () => Rule3,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
|
-
Service: () =>
|
|
54
|
+
Service: () => Service64,
|
|
55
55
|
Source: () => Source5,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
@@ -79,7 +79,7 @@ var Reply2 = Permission.Reply;
|
|
|
79
79
|
var AssertInput2 = Schema.Struct({
|
|
80
80
|
id: ID8.pipe(Schema.optional),
|
|
81
81
|
...RequestFields,
|
|
82
|
-
agent:
|
|
82
|
+
agent: ID18.pipe(Schema.optional)
|
|
83
83
|
}).annotate({ identifier: "Permission.AssertInput" });
|
|
84
84
|
var ReplyInput2 = Schema.Struct({
|
|
85
85
|
requestID: ID8,
|
|
@@ -125,14 +125,14 @@ function merge2(...rulesets) {
|
|
|
125
125
|
return rulesets.flat();
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service64 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
|
-
var layer = Layer.effect(
|
|
130
|
+
var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
131
131
|
const bus = yield* Service80;
|
|
132
|
-
const location = yield*
|
|
133
|
-
const agents = yield*
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
132
|
+
const location = yield* Service76;
|
|
133
|
+
const agents = yield* Service79;
|
|
134
|
+
const sessions = yield* Service65;
|
|
135
|
+
const saved = yield* Service66;
|
|
136
136
|
const hooks = yield* Service67;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
yield* Effect.addFinalizer(() => Effect.forEach(pending.values(), (item) => Deferred.fail(item.deferred, new DeclinedError2), {
|
|
@@ -283,12 +283,12 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
283
283
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
284
284
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
285
285
|
});
|
|
286
|
-
return
|
|
286
|
+
return Service64.of({ ask, assert, reply, get, forSession, list });
|
|
287
287
|
}));
|
|
288
288
|
var node68 = makeLocationNode({
|
|
289
|
-
service:
|
|
289
|
+
service: Service64,
|
|
290
290
|
layer,
|
|
291
|
-
deps: [
|
|
291
|
+
deps: [node84, node80, node83, node69, node70, node71]
|
|
292
292
|
});
|
|
293
293
|
|
|
294
|
-
export { PermissionEffect, ID8, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2,
|
|
294
|
+
export { PermissionEffect, ID8, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service64, node68, exports_permission2, Rule3, Ruleset2, Event14 };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-mutation-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/memory.ts
|
|
11
11
|
var exports_memory = {};
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node84
|
|
4
|
+
} from "./file-mutation-f9yn9122.js";
|
|
5
5
|
import {
|
|
6
6
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-mutation-tazgh4e4.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service76,
|
|
12
|
+
node80
|
|
13
|
+
} from "./file-mutation-aychzs8s.js";
|
|
14
14
|
import {
|
|
15
15
|
reconcile2,
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./file-mutation-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/vcs.ts
|
|
23
23
|
var exports_vcs = {};
|
|
@@ -26,17 +26,17 @@ __export(exports_vcs, {
|
|
|
26
26
|
BranchList: () => BranchList2,
|
|
27
27
|
DiffError: () => DiffError2,
|
|
28
28
|
FileStatus: () => FileStatus2,
|
|
29
|
-
Info: () =>
|
|
29
|
+
Info: () => Info10,
|
|
30
30
|
Mode: () => Mode2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service50,
|
|
32
32
|
Vcs: () => exports_vcs,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node52
|
|
34
34
|
});
|
|
35
35
|
import path from "path";
|
|
36
36
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
37
37
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
38
38
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
39
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
39
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info10, Mode as Mode2 } from "@opencode/schema/vcs";
|
|
40
40
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
41
41
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -45,11 +45,11 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
|
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service50 extends Context.Service()("@opencode/Vcs") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service76;
|
|
53
53
|
const bus = yield* Service80;
|
|
54
54
|
const root = yield* Effect.scope;
|
|
55
55
|
const fork = yield* FiberSet.makeRuntime();
|
|
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
62
62
|
canonical: location.project.canonical,
|
|
63
63
|
...vcs ? { store: vcs.store } : {}
|
|
64
64
|
};
|
|
65
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
65
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info10));
|
|
66
66
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
67
67
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
68
68
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
115
115
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
116
116
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
117
117
|
}
|
|
118
|
-
return
|
|
118
|
+
return Service50.of({
|
|
119
119
|
transform: state.transform,
|
|
120
120
|
reload: state.reload,
|
|
121
121
|
info: Effect.fn("Vcs.info")(function* () {
|
|
@@ -161,10 +161,10 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
161
161
|
})
|
|
162
162
|
});
|
|
163
163
|
}));
|
|
164
|
-
var
|
|
165
|
-
service:
|
|
164
|
+
var node52 = makeLocationNode({
|
|
165
|
+
service: Service50,
|
|
166
166
|
layer,
|
|
167
|
-
deps: [FSUtil.node,
|
|
167
|
+
deps: [FSUtil.node, node80, node84]
|
|
168
168
|
});
|
|
169
169
|
|
|
170
|
-
export { Base2, BranchList2, FileStatus2,
|
|
170
|
+
export { Base2, BranchList2, FileStatus2, Info10, Mode2, DiffError2, Service50, node52, exports_vcs };
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-mutation-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service61,
|
|
8
|
+
node63
|
|
9
|
+
} from "./file-mutation-6fkjc3gv.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Content2
|
|
12
|
+
} from "./file-mutation-x5h3w8zq.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-mutation-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service10,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node12,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
|
|
|
89
89
|
});
|
|
90
90
|
var FileContent2 = Schema.Struct({
|
|
91
91
|
type: Schema.Literal("file"),
|
|
92
|
-
...
|
|
92
|
+
...Content2.fields
|
|
93
93
|
}).annotate({ identifier: "ReadTool.FileContent" });
|
|
94
94
|
|
|
95
95
|
class TextPage2 extends Schema.Class("ReadTool.TextPage")({
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service10 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -326,13 +326,13 @@ var nthNewline = (bytes, count) => {
|
|
|
326
326
|
return index + 1;
|
|
327
327
|
}
|
|
328
328
|
};
|
|
329
|
-
var layer = Layer.effect(
|
|
330
|
-
const environment = yield*
|
|
331
|
-
return
|
|
329
|
+
var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
330
|
+
const environment = yield* Service61;
|
|
331
|
+
return Service10.of({
|
|
332
332
|
list: environment.files.list,
|
|
333
333
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
334
334
|
});
|
|
335
335
|
}));
|
|
336
|
-
var
|
|
336
|
+
var node12 = makeLocationNode({ service: Service10, layer, deps: [node63] });
|
|
337
337
|
|
|
338
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
338
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service10, read2, node12, exports_read_filesystem };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service77,
|
|
3
|
+
node81
|
|
4
|
+
} from "./file-mutation-1306karf.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
11
11
|
__export(exports_location, {
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info31,
|
|
13
13
|
Location: () => exports_location,
|
|
14
14
|
Ref: () => Ref4,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service76,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node80,
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
|
-
import { Info as
|
|
21
|
+
import { Info as Info31, Ref as Ref4, response as response2 } from "@opencode/schema/location";
|
|
22
22
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
23
23
|
import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
|
|
24
|
-
class
|
|
24
|
+
class Service76 extends Context.Service()("@opencode/Location") {
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
var layer = (ref, options) => Layer.effect(
|
|
28
|
-
const project = yield*
|
|
26
|
+
var node80 = LayerNode.unbound(Service76, tags.values.location);
|
|
27
|
+
var layer = (ref, options) => Layer.effect(Service76, Effect.gen(function* () {
|
|
28
|
+
const project = yield* Service77;
|
|
29
29
|
const resolved = yield* project.resolve(ref.directory, options);
|
|
30
|
-
return
|
|
30
|
+
return Service76.of({
|
|
31
31
|
directory: ref.directory,
|
|
32
32
|
workspaceID: ref.workspaceID,
|
|
33
33
|
project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
|
|
@@ -35,9 +35,9 @@ var layer = (ref, options) => Layer.effect(Service77, Effect.gen(function* () {
|
|
|
35
35
|
});
|
|
36
36
|
}));
|
|
37
37
|
var boundNode2 = (ref, options) => makeLocationNode({
|
|
38
|
-
service:
|
|
38
|
+
service: Service76,
|
|
39
39
|
layer: layer(ref, options),
|
|
40
|
-
deps: [
|
|
40
|
+
deps: [node81]
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { Info31, Ref4, response2, Service76, node80, boundNode2, exports_location };
|