@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,128 +1,131 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node66
|
|
4
|
+
} from "./file-mutation-xb3f970q.js";
|
|
5
5
|
import {
|
|
6
6
|
Service80,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
node84
|
|
8
|
+
} from "./file-mutation-f9yn9122.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
|
+
ID14,
|
|
16
16
|
OAuth3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./file-mutation-kcm959y1.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID13,
|
|
20
20
|
MethodID2,
|
|
21
21
|
AttemptID2,
|
|
22
22
|
Method2,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service73,
|
|
24
|
+
node77
|
|
25
|
+
} from "./file-mutation-8rsrtv6x.js";
|
|
26
26
|
import {
|
|
27
27
|
AbsolutePath2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./file-mutation-922hggd3.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
30
|
+
Info31,
|
|
31
31
|
Ref4,
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
35
|
-
import {
|
|
36
|
-
ID13,
|
|
37
|
-
Service73,
|
|
38
|
-
node78
|
|
39
|
-
} from "./state-v6vt01kk.js";
|
|
32
|
+
Service76,
|
|
33
|
+
node80
|
|
34
|
+
} from "./file-mutation-aychzs8s.js";
|
|
40
35
|
import {
|
|
36
|
+
ID12,
|
|
41
37
|
Service72,
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
44
|
-
import {
|
|
45
|
-
Service42,
|
|
46
|
-
node47
|
|
47
|
-
} from "./state-0zmtjazh.js";
|
|
38
|
+
node76
|
|
39
|
+
} from "./file-mutation-0nes3kdx.js";
|
|
48
40
|
import {
|
|
49
|
-
|
|
41
|
+
Service70,
|
|
50
42
|
node74
|
|
51
|
-
} from "./
|
|
43
|
+
} from "./file-mutation-ky2zf32z.js";
|
|
52
44
|
import {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
} from "./
|
|
45
|
+
Service46,
|
|
46
|
+
node48
|
|
47
|
+
} from "./file-mutation-2fhwbkrm.js";
|
|
56
48
|
import {
|
|
57
|
-
|
|
49
|
+
Service59,
|
|
50
|
+
node61
|
|
51
|
+
} from "./file-mutation-s8yyarnz.js";
|
|
52
|
+
import {
|
|
53
|
+
Service48,
|
|
54
|
+
node50
|
|
55
|
+
} from "./file-mutation-82adjhvd.js";
|
|
56
|
+
import {
|
|
57
|
+
ID11,
|
|
58
58
|
Service71,
|
|
59
|
-
|
|
60
|
-
} from "./
|
|
59
|
+
node75
|
|
60
|
+
} from "./file-mutation-kyvf95r7.js";
|
|
61
61
|
import {
|
|
62
62
|
ID7
|
|
63
|
-
} from "./
|
|
63
|
+
} from "./file-mutation-g9nckgd1.js";
|
|
64
64
|
import {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
} from "./
|
|
65
|
+
Service34,
|
|
66
|
+
node37
|
|
67
|
+
} from "./file-mutation-rdwnzddt.js";
|
|
68
68
|
import {
|
|
69
69
|
Service67,
|
|
70
|
-
|
|
71
|
-
} from "./
|
|
70
|
+
node71
|
|
71
|
+
} from "./file-mutation-g1sxm558.js";
|
|
72
72
|
import {
|
|
73
|
-
|
|
73
|
+
Service64,
|
|
74
74
|
node68
|
|
75
|
-
} from "./
|
|
75
|
+
} from "./file-mutation-a5de4bcy.js";
|
|
76
76
|
import {
|
|
77
|
-
Service38,
|
|
78
|
-
node42
|
|
79
|
-
} from "./state-rex1qj25.js";
|
|
80
|
-
import {
|
|
81
|
-
Source3,
|
|
82
77
|
Service35,
|
|
83
|
-
|
|
84
|
-
} from "./
|
|
78
|
+
node38
|
|
79
|
+
} from "./file-mutation-dwvb776c.js";
|
|
85
80
|
import {
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
} from "./
|
|
81
|
+
Source4,
|
|
82
|
+
Service49,
|
|
83
|
+
node51
|
|
84
|
+
} from "./file-mutation-hfvv3mv3.js";
|
|
90
85
|
import {
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
86
|
+
Info6,
|
|
87
|
+
Service31,
|
|
88
|
+
node34
|
|
89
|
+
} from "./file-mutation-my26e0c6.js";
|
|
94
90
|
import {
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
} from "./
|
|
91
|
+
Service21,
|
|
92
|
+
node24
|
|
93
|
+
} from "./file-mutation-rmkqwdpg.js";
|
|
98
94
|
import {
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
} from "./
|
|
95
|
+
Service44,
|
|
96
|
+
node46
|
|
97
|
+
} from "./file-mutation-0c0n109p.js";
|
|
98
|
+
import {
|
|
99
|
+
Service45,
|
|
100
|
+
node47
|
|
101
|
+
} from "./file-mutation-qyqjfx9x.js";
|
|
102
102
|
import {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
} from "./
|
|
103
|
+
Service50,
|
|
104
|
+
node52
|
|
105
|
+
} from "./file-mutation-ac5xk54v.js";
|
|
106
106
|
import {
|
|
107
107
|
ID6,
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
} from "./
|
|
108
|
+
Service37,
|
|
109
|
+
node40
|
|
110
|
+
} from "./file-mutation-6zwemvqm.js";
|
|
111
|
+
import {
|
|
112
|
+
Service20,
|
|
113
|
+
node23
|
|
114
|
+
} from "./file-mutation-48r4agm7.js";
|
|
111
115
|
import {
|
|
112
116
|
StrategyID2,
|
|
113
|
-
|
|
117
|
+
Info4,
|
|
114
118
|
ListEntry3,
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
} from "./state-kg53bg6f.js";
|
|
119
|
+
Service19,
|
|
120
|
+
node22
|
|
121
|
+
} from "./file-mutation-tbb58408.js";
|
|
119
122
|
import {
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
} from "./
|
|
123
|
+
Service68,
|
|
124
|
+
node72
|
|
125
|
+
} from "./file-mutation-ayex3wth.js";
|
|
123
126
|
import {
|
|
124
127
|
__export
|
|
125
|
-
} from "./
|
|
128
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
126
129
|
|
|
127
130
|
// src/plugin/host.ts
|
|
128
131
|
var exports_host = {};
|
|
@@ -140,30 +143,32 @@ var mutable = (value) => value;
|
|
|
140
143
|
var isRpcEvent = (event) => event.type.startsWith("rpc.");
|
|
141
144
|
var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test") {
|
|
142
145
|
const app = yield* Metadata2;
|
|
143
|
-
const agents = yield*
|
|
144
|
-
const aisdk = yield*
|
|
145
|
-
const providers = yield*
|
|
146
|
+
const agents = yield* Service79;
|
|
147
|
+
const aisdk = yield* Service70;
|
|
148
|
+
const providers = yield* Service72;
|
|
146
149
|
const models = yield* Service71;
|
|
147
|
-
const commands = yield*
|
|
150
|
+
const commands = yield* Service46;
|
|
148
151
|
const bus = yield* Service80;
|
|
149
|
-
const integration = yield*
|
|
150
|
-
const kv = yield*
|
|
151
|
-
const mcp = yield*
|
|
152
|
-
const location = yield*
|
|
153
|
-
const reference = yield*
|
|
154
|
-
const rpc = yield*
|
|
155
|
-
const skill = yield*
|
|
156
|
-
const tools = yield*
|
|
157
|
-
const vcs = yield*
|
|
158
|
-
const websearch = yield*
|
|
159
|
-
const generate = yield*
|
|
160
|
-
const permission = yield*
|
|
152
|
+
const integration = yield* Service73;
|
|
153
|
+
const kv = yield* Service59;
|
|
154
|
+
const mcp = yield* Service34;
|
|
155
|
+
const location = yield* Service76;
|
|
156
|
+
const reference = yield* Service49;
|
|
157
|
+
const rpc = yield* Service45;
|
|
158
|
+
const skill = yield* Service31;
|
|
159
|
+
const tools = yield* Service35;
|
|
160
|
+
const vcs = yield* Service50;
|
|
161
|
+
const websearch = yield* Service37;
|
|
162
|
+
const generate = yield* Service68;
|
|
163
|
+
const permission = yield* Service64;
|
|
161
164
|
const hooks = yield* Service67;
|
|
162
|
-
const sessions = yield*
|
|
163
|
-
const persistentPty = yield*
|
|
164
|
-
const locations = yield*
|
|
165
|
-
const worktrees = yield*
|
|
166
|
-
const
|
|
165
|
+
const sessions = yield* Service21;
|
|
166
|
+
const persistentPty = yield* Service44;
|
|
167
|
+
const locations = yield* Service48;
|
|
168
|
+
const worktrees = yield* Service19;
|
|
169
|
+
const worktreeStrategies = yield* Service20;
|
|
170
|
+
const currentWorktreeStrategies = location.workspaceID ? undefined : worktreeStrategies;
|
|
171
|
+
const locationInfo = () => new Info31({
|
|
167
172
|
directory: location.directory,
|
|
168
173
|
workspaceID: location.workspaceID,
|
|
169
174
|
project: location.project
|
|
@@ -174,26 +179,13 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
174
179
|
});
|
|
175
180
|
const isCurrentLocation = (ref) => ref.directory === location.directory && ref.workspaceID === location.workspaceID;
|
|
176
181
|
const response = (effect) => effect.pipe(Effect.map((data) => ({ location: locationInfo(), data })));
|
|
177
|
-
const
|
|
178
|
-
if (ref?.workspaceID)
|
|
179
|
-
return Effect.fail(new UnsupportedLocationError2({ directory: ref.directory }));
|
|
180
|
-
if (!ref || isCurrentLocation(ref))
|
|
181
|
-
return run(worktrees);
|
|
182
|
-
return Effect.gen(function* () {
|
|
183
|
-
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
184
|
-
const plugins = yield* Plugin.Service;
|
|
185
|
-
const target = yield* Service43;
|
|
186
|
-
yield* plugins.awaitActivation;
|
|
187
|
-
return yield* run(target);
|
|
188
|
-
}).pipe(Effect.provide(locations.get(ref)));
|
|
189
|
-
};
|
|
190
|
-
const decodeWorktree = Schema.decodeUnknownEffect(Info17);
|
|
182
|
+
const decodeWorktree = Schema.decodeUnknownEffect(Info4);
|
|
191
183
|
const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry3));
|
|
192
184
|
const listAgents = Effect.fn("PluginHost.listAgents")((ref) => Effect.gen(function* () {
|
|
193
|
-
const location = yield*
|
|
194
|
-
const agents = yield*
|
|
185
|
+
const location = yield* Service76;
|
|
186
|
+
const agents = yield* Service79;
|
|
195
187
|
return {
|
|
196
|
-
location: new
|
|
188
|
+
location: new Info31({
|
|
197
189
|
directory: location.directory,
|
|
198
190
|
workspaceID: location.workspaceID,
|
|
199
191
|
project: location.project
|
|
@@ -225,10 +217,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
225
217
|
transform: (callback) => agents.transform((editor) => {
|
|
226
218
|
callback({
|
|
227
219
|
list: () => mutable(editor.list()),
|
|
228
|
-
get: (id) => mutable(editor.get(
|
|
229
|
-
default: (id) => editor.default(id === undefined ? undefined :
|
|
230
|
-
update: (id, update) => editor.update(
|
|
231
|
-
remove: (id) => editor.remove(
|
|
220
|
+
get: (id) => mutable(editor.get(ID18.make(id))),
|
|
221
|
+
default: (id) => editor.default(id === undefined ? undefined : ID18.make(id)),
|
|
222
|
+
update: (id, update) => editor.update(ID18.make(id), update),
|
|
223
|
+
remove: (id) => editor.remove(ID18.make(id))
|
|
232
224
|
});
|
|
233
225
|
})
|
|
234
226
|
},
|
|
@@ -262,22 +254,22 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
262
254
|
},
|
|
263
255
|
provider: {
|
|
264
256
|
list: () => response(providers.available()),
|
|
265
|
-
get: (input) => providers.get(
|
|
257
|
+
get: (input) => providers.get(ID12.make(input.providerID)).pipe(Effect.flatMap((provider) => provider === undefined ? Effect.fail(new Error(`Provider not found: ${input.providerID}`)) : response(Effect.succeed(provider)))),
|
|
266
258
|
reload: providers.reload,
|
|
267
259
|
transform: (callback) => providers.transform((editor) => {
|
|
268
260
|
callback({
|
|
269
261
|
list: editor.list,
|
|
270
|
-
get: (id) => editor.get(
|
|
262
|
+
get: (id) => editor.get(ID12.make(id)),
|
|
271
263
|
add: (definition) => editor.add({
|
|
272
264
|
...definition,
|
|
273
|
-
sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id:
|
|
265
|
+
sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id: ID14.make(definition.sourceConnection.id) } : definition.sourceConnection
|
|
274
266
|
}),
|
|
275
|
-
update: (id, update) => editor.update(
|
|
276
|
-
remove: (id) => editor.remove(
|
|
267
|
+
update: (id, update) => editor.update(ID12.make(id), update),
|
|
268
|
+
remove: (id) => editor.remove(ID12.make(id)),
|
|
277
269
|
models: {
|
|
278
|
-
set: (id, models) => editor.models.set(
|
|
279
|
-
update: (providerID, modelID, update) => editor.models.update(
|
|
280
|
-
remove: (providerID, modelID) => editor.models.remove(
|
|
270
|
+
set: (id, models) => editor.models.set(ID12.make(id), models),
|
|
271
|
+
update: (providerID, modelID, update) => editor.models.update(ID12.make(providerID), ID11.make(modelID), update),
|
|
272
|
+
remove: (providerID, modelID) => editor.models.remove(ID12.make(providerID), ID11.make(modelID))
|
|
281
273
|
}
|
|
282
274
|
});
|
|
283
275
|
})
|
|
@@ -287,17 +279,17 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
287
279
|
default: () => response(models.default()),
|
|
288
280
|
reload: models.reload,
|
|
289
281
|
transform: (callback) => models.transform((editor) => callback({
|
|
290
|
-
list: (providerID) => editor.list(providerID === undefined ? undefined :
|
|
291
|
-
get: (providerID, modelID) => editor.get(
|
|
292
|
-
update: (providerID, modelID, update) => editor.update(
|
|
293
|
-
remove: (providerID, modelID) => editor.remove(
|
|
282
|
+
list: (providerID) => editor.list(providerID === undefined ? undefined : ID12.make(providerID)),
|
|
283
|
+
get: (providerID, modelID) => editor.get(ID12.make(providerID), ID11.make(modelID)),
|
|
284
|
+
update: (providerID, modelID, update) => editor.update(ID12.make(providerID), ID11.make(modelID), update),
|
|
285
|
+
remove: (providerID, modelID) => editor.remove(ID12.make(providerID), ID11.make(modelID)),
|
|
294
286
|
default: {
|
|
295
287
|
get: editor.default.get,
|
|
296
|
-
set: (providerID, modelID) => editor.default.set(
|
|
288
|
+
set: (providerID, modelID) => editor.default.set(ID12.make(providerID), ID11.make(modelID))
|
|
297
289
|
},
|
|
298
290
|
provider: {
|
|
299
291
|
list: editor.provider.list,
|
|
300
|
-
get: (id) => editor.provider.get(
|
|
292
|
+
get: (id) => editor.provider.get(ID12.make(id))
|
|
301
293
|
}
|
|
302
294
|
}))
|
|
303
295
|
},
|
|
@@ -320,14 +312,14 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
320
312
|
integration: {
|
|
321
313
|
list: () => response(integration.list()),
|
|
322
314
|
get: Effect.fn(function* (input) {
|
|
323
|
-
const item = yield* integration.get(
|
|
315
|
+
const item = yield* integration.get(ID13.make(input.integrationID));
|
|
324
316
|
if (!item)
|
|
325
317
|
return yield* Effect.fail(new Error(`Integration not found: ${input.integrationID}`));
|
|
326
318
|
return yield* response(Effect.succeed(item));
|
|
327
319
|
}),
|
|
328
320
|
connect: {
|
|
329
321
|
key: (input) => integration.connection.key({
|
|
330
|
-
integrationID:
|
|
322
|
+
integrationID: ID13.make(input.integrationID),
|
|
331
323
|
key: input.key,
|
|
332
324
|
answer: input.answer,
|
|
333
325
|
label: input.label
|
|
@@ -335,55 +327,55 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
335
327
|
},
|
|
336
328
|
oauth: {
|
|
337
329
|
connect: (input) => response(integration.oauth.connect({
|
|
338
|
-
integrationID:
|
|
330
|
+
integrationID: ID13.make(input.integrationID),
|
|
339
331
|
methodID: MethodID2.make(input.methodID),
|
|
340
332
|
answer: input.answer,
|
|
341
333
|
label: input.label
|
|
342
334
|
})),
|
|
343
335
|
status: (input) => response(integration.oauth.status({
|
|
344
|
-
integrationID:
|
|
336
|
+
integrationID: ID13.make(input.integrationID),
|
|
345
337
|
attemptID: AttemptID2.make(input.attemptID)
|
|
346
338
|
})),
|
|
347
339
|
complete: (input) => integration.oauth.complete({
|
|
348
|
-
integrationID:
|
|
340
|
+
integrationID: ID13.make(input.integrationID),
|
|
349
341
|
attemptID: AttemptID2.make(input.attemptID),
|
|
350
342
|
code: input.code
|
|
351
343
|
}),
|
|
352
344
|
cancel: (input) => integration.oauth.cancel({
|
|
353
|
-
integrationID:
|
|
345
|
+
integrationID: ID13.make(input.integrationID),
|
|
354
346
|
attemptID: AttemptID2.make(input.attemptID)
|
|
355
347
|
})
|
|
356
348
|
},
|
|
357
349
|
command: {
|
|
358
350
|
connect: (input) => response(integration.command.connect({
|
|
359
|
-
integrationID:
|
|
351
|
+
integrationID: ID13.make(input.integrationID),
|
|
360
352
|
methodID: MethodID2.make(input.methodID),
|
|
361
353
|
label: input.label
|
|
362
354
|
})),
|
|
363
355
|
status: (input) => response(integration.command.status({
|
|
364
|
-
integrationID:
|
|
356
|
+
integrationID: ID13.make(input.integrationID),
|
|
365
357
|
attemptID: AttemptID2.make(input.attemptID)
|
|
366
358
|
})),
|
|
367
359
|
cancel: (input) => integration.command.cancel({
|
|
368
|
-
integrationID:
|
|
360
|
+
integrationID: ID13.make(input.integrationID),
|
|
369
361
|
attemptID: AttemptID2.make(input.attemptID)
|
|
370
362
|
})
|
|
371
363
|
},
|
|
372
364
|
reload: integration.reload,
|
|
373
365
|
connection: {
|
|
374
|
-
active: (id) => integration.connection.active(
|
|
375
|
-
resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id:
|
|
366
|
+
active: (id) => integration.connection.active(ID13.make(id)),
|
|
367
|
+
resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID14.make(connection.id) } : connection)
|
|
376
368
|
},
|
|
377
369
|
transform: (callback) => integration.transform((editor) => {
|
|
378
370
|
callback({
|
|
379
371
|
list: () => mutable(editor.list()),
|
|
380
|
-
get: (id) => mutable(editor.get(
|
|
381
|
-
update: (id, update) => editor.update(
|
|
382
|
-
remove: (id) => editor.remove(
|
|
372
|
+
get: (id) => mutable(editor.get(ID13.make(id))),
|
|
373
|
+
update: (id, update) => editor.update(ID13.make(id), update),
|
|
374
|
+
remove: (id) => editor.remove(ID13.make(id)),
|
|
383
375
|
method: {
|
|
384
|
-
list: (id) => editor.method.list(
|
|
376
|
+
list: (id) => editor.method.list(ID13.make(id)),
|
|
385
377
|
update: (input) => editor.method.update(methodImplementation(input)),
|
|
386
|
-
remove: (id, method) => editor.method.remove(
|
|
378
|
+
remove: (id, method) => editor.method.remove(ID13.make(id), Schema.decodeUnknownSync(Method2)(method))
|
|
387
379
|
}
|
|
388
380
|
});
|
|
389
381
|
})
|
|
@@ -393,10 +385,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
393
385
|
const ref = locationRef(input);
|
|
394
386
|
if (ref && !isCurrentLocation(ref))
|
|
395
387
|
return Effect.gen(function* () {
|
|
396
|
-
const location = yield*
|
|
397
|
-
const mcp = yield*
|
|
388
|
+
const location = yield* Service76;
|
|
389
|
+
const mcp = yield* Service34;
|
|
398
390
|
return {
|
|
399
|
-
location: new
|
|
391
|
+
location: new Info31({
|
|
400
392
|
directory: location.directory,
|
|
401
393
|
workspaceID: location.workspaceID,
|
|
402
394
|
project: location.project
|
|
@@ -432,7 +424,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
432
424
|
reload: reference.reload,
|
|
433
425
|
transform: (callback) => reference.transform((editor) => {
|
|
434
426
|
callback({
|
|
435
|
-
add: (name, source) => editor.add(name, Schema.decodeUnknownSync(
|
|
427
|
+
add: (name, source) => editor.add(name, Schema.decodeUnknownSync(Source4)(source)),
|
|
436
428
|
remove: editor.remove,
|
|
437
429
|
list: editor.list,
|
|
438
430
|
get: editor.get
|
|
@@ -446,7 +438,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
446
438
|
callback({
|
|
447
439
|
list: () => mutable(editor.list()),
|
|
448
440
|
get: editor.get,
|
|
449
|
-
add: (value) => editor.add(Schema.decodeUnknownSync(
|
|
441
|
+
add: (value) => editor.add(Schema.decodeUnknownSync(Info6)(value)),
|
|
450
442
|
update: editor.update,
|
|
451
443
|
remove: editor.remove
|
|
452
444
|
});
|
|
@@ -492,12 +484,12 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
492
484
|
})
|
|
493
485
|
},
|
|
494
486
|
worktree: {
|
|
495
|
-
list:
|
|
496
|
-
create: (input) =>
|
|
497
|
-
refresh: (input) =>
|
|
498
|
-
remove: (input) =>
|
|
499
|
-
reload:
|
|
500
|
-
transform: (callback) =>
|
|
487
|
+
list: worktrees.list,
|
|
488
|
+
create: (input) => worktrees.create(input, currentWorktreeStrategies),
|
|
489
|
+
refresh: (input) => worktrees.refresh(input, currentWorktreeStrategies).pipe(Effect.asVoid),
|
|
490
|
+
remove: (input) => worktrees.remove(input, currentWorktreeStrategies),
|
|
491
|
+
reload: worktreeStrategies.reload,
|
|
492
|
+
transform: (callback) => worktreeStrategies.transform((editor) => callback({
|
|
501
493
|
add: (definition) => editor.add({
|
|
502
494
|
id: StrategyID2.make(definition.id),
|
|
503
495
|
create: (input) => definition.create(input).pipe(Effect.flatMap(decodeWorktree)),
|
|
@@ -534,30 +526,31 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
534
526
|
return context;
|
|
535
527
|
});
|
|
536
528
|
var requirements3 = LayerNode.group([
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
node77,
|
|
540
|
-
node78,
|
|
541
|
-
node76,
|
|
542
|
-
node47,
|
|
543
|
-
node85,
|
|
544
|
-
node79,
|
|
529
|
+
node66,
|
|
530
|
+
node83,
|
|
545
531
|
node74,
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
node39,
|
|
549
|
-
node37,
|
|
550
|
-
node49,
|
|
551
|
-
node42,
|
|
552
|
-
node62,
|
|
553
|
-
node59,
|
|
532
|
+
node76,
|
|
533
|
+
node75,
|
|
554
534
|
node48,
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
535
|
+
node84,
|
|
536
|
+
node77,
|
|
537
|
+
node61,
|
|
538
|
+
node37,
|
|
539
|
+
node80,
|
|
559
540
|
node51,
|
|
560
|
-
|
|
541
|
+
node47,
|
|
542
|
+
node34,
|
|
543
|
+
node38,
|
|
544
|
+
node52,
|
|
545
|
+
node40,
|
|
546
|
+
node22,
|
|
547
|
+
node23,
|
|
548
|
+
node72,
|
|
549
|
+
node68,
|
|
550
|
+
node71,
|
|
551
|
+
node24,
|
|
552
|
+
node46,
|
|
553
|
+
node50
|
|
561
554
|
]);
|
|
562
555
|
function storage2(kv, pluginID) {
|
|
563
556
|
const namespace = `plugin:${pluginID.split("").map((value) => value.charCodeAt(0).toString(16).padStart(4, "0")).join("")}:`;
|
|
@@ -584,7 +577,7 @@ function methodImplementation(input) {
|
|
|
584
577
|
if ("authorize" in input) {
|
|
585
578
|
const refresh = input.refresh;
|
|
586
579
|
return {
|
|
587
|
-
integrationID:
|
|
580
|
+
integrationID: ID13.make(input.integrationID),
|
|
588
581
|
method: { ...input.method, id: MethodID2.make(input.method.id) },
|
|
589
582
|
authorize: (answer) => input.authorize(answer).pipe(Effect.map((authorization) => {
|
|
590
583
|
if (authorization.mode === "auto") {
|
|
@@ -604,18 +597,18 @@ function methodImplementation(input) {
|
|
|
604
597
|
}
|
|
605
598
|
if (input.method.type === "env") {
|
|
606
599
|
return {
|
|
607
|
-
integrationID:
|
|
600
|
+
integrationID: ID13.make(input.integrationID),
|
|
608
601
|
method: input.method
|
|
609
602
|
};
|
|
610
603
|
}
|
|
611
604
|
if (input.method.type === "command") {
|
|
612
605
|
return {
|
|
613
|
-
integrationID:
|
|
606
|
+
integrationID: ID13.make(input.integrationID),
|
|
614
607
|
method: { ...input.method, id: MethodID2.make(input.method.id) }
|
|
615
608
|
};
|
|
616
609
|
}
|
|
617
610
|
return {
|
|
618
|
-
integrationID:
|
|
611
|
+
integrationID: ID13.make(input.integrationID),
|
|
619
612
|
method: input.method
|
|
620
613
|
};
|
|
621
614
|
}
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service54
|
|
3
|
+
} from "./file-mutation-4afm2zz7.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service34
|
|
6
|
+
} from "./file-mutation-rdwnzddt.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
12
|
var exports_mcp = {};
|
|
13
13
|
__export(exports_mcp, {
|
|
14
14
|
ConfigMcpPlugin: () => exports_mcp,
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin7,
|
|
16
16
|
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin7 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register2(ctx.event.subscribe());
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
26
|
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
-
const config = yield*
|
|
28
|
-
const mcp = yield*
|
|
27
|
+
const config = yield* Service54;
|
|
28
|
+
const mcp = yield* Service34;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin7, register2, exports_mcp };
|