@opencode/core 0.0.0-dev-21387 → 0.0.0-dev-21390
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +92 -92
- package/dist/app.js +7 -7
- package/dist/bus.js +75 -75
- package/dist/chunks/{event-logger-0gdmqesm.js → file-mutation-02nrjc1r.js} +8 -8
- package/dist/chunks/{event-logger-rq0bn2t5.js → file-mutation-03cyahpz.js} +25 -25
- package/dist/chunks/{event-logger-dtxsy7wm.js → file-mutation-06xmkky8.js} +13 -13
- package/dist/chunks/{event-logger-fepwfk8f.js → file-mutation-06xsmntz.js} +2 -2
- package/dist/chunks/{event-logger-74t224rd.js → file-mutation-0b01yxp0.js} +43 -43
- package/dist/chunks/{event-logger-7dqw4kz8.js → file-mutation-0jwsre1p.js} +5 -5
- package/dist/chunks/{event-logger-ns720xzt.js → file-mutation-0qg9wp3b.js} +12 -12
- package/dist/chunks/{event-logger-cr69fjw7.js → file-mutation-0rv871qk.js} +12 -12
- package/dist/chunks/{event-logger-0davf6sd.js → file-mutation-0s171grw.js} +22 -22
- package/dist/chunks/{event-logger-8ev3b84m.js → file-mutation-0s4zgerr.js} +33 -33
- package/dist/chunks/{event-logger-0vbcp93d.js → file-mutation-0vbcp93d.js} +2 -2
- package/dist/chunks/{event-logger-k69cqzmt.js → file-mutation-10sr3c2w.js} +10 -10
- package/dist/chunks/{event-logger-5g5sexc8.js → file-mutation-11bsw10t.js} +19 -19
- package/dist/chunks/{event-logger-bzeyqsqd.js → file-mutation-1ep4rre3.js} +4 -4
- package/dist/chunks/{event-logger-wjr9rjd7.js → file-mutation-1ffvrpkg.js} +9 -9
- package/dist/chunks/{event-logger-dtnhn6dh.js → file-mutation-1fz8ksxp.js} +50 -50
- package/dist/chunks/{event-logger-apvbqsv3.js → file-mutation-1sqrcqpt.js} +6 -6
- package/dist/chunks/{event-logger-fbndn9th.js → file-mutation-1yd7h3h8.js} +11 -11
- package/dist/chunks/{event-logger-58ez54yx.js → file-mutation-23yr3n9z.js} +1 -1
- package/dist/chunks/{event-logger-qkd85dmw.js → file-mutation-28b9pmxf.js} +29 -29
- package/dist/chunks/{event-logger-w3pa87t5.js → file-mutation-28jszdgh.js} +15 -15
- package/dist/chunks/{event-logger-k1tsx7e9.js → file-mutation-2a3rnyjp.js} +1 -1
- package/dist/chunks/{event-logger-62q9wyeh.js → file-mutation-2w943ba3.js} +5 -5
- package/dist/chunks/{event-logger-7ppz45ns.js → file-mutation-2yz1g7gy.js} +23 -23
- package/dist/chunks/{event-logger-wt8k87w5.js → file-mutation-30mkkrgf.js} +8 -8
- package/dist/chunks/{event-logger-92gz47bb.js → file-mutation-37688efw.js} +16 -16
- package/dist/chunks/{event-logger-1f0rmtk8.js → file-mutation-37qnpxgx.js} +28 -28
- package/dist/chunks/{event-logger-9gp6apfa.js → file-mutation-3a7k8z3r.js} +27 -27
- package/dist/chunks/{event-logger-e7a0tnjd.js → file-mutation-3aj445ja.js} +9 -9
- package/dist/chunks/{event-logger-1aasmg7z.js → file-mutation-3berxp5h.js} +13 -13
- package/dist/chunks/{event-logger-98h6b40k.js → file-mutation-3bynrp5j.js} +29 -28
- package/dist/chunks/{event-logger-230vxcgc.js → file-mutation-3cywy0c3.js} +3 -3
- package/dist/chunks/{event-logger-3hepkmqq.js → file-mutation-3hepkmqq.js} +1 -1
- package/dist/chunks/{event-logger-3hwn7j4h.js → file-mutation-3hwn7j4h.js} +2 -2
- package/dist/chunks/{event-logger-g0asar3z.js → file-mutation-3jb9jjfv.js} +15 -15
- package/dist/chunks/{event-logger-s4fkhgs2.js → file-mutation-3kkkyqec.js} +9 -9
- package/dist/chunks/{event-logger-xbwvg8w4.js → file-mutation-3pr61yv2.js} +29 -29
- package/dist/chunks/{event-logger-jsqaqst9.js → file-mutation-3qta67sk.js} +11 -11
- package/dist/chunks/{event-logger-3smtnn6g.js → file-mutation-3smtnn6g.js} +1 -1
- package/dist/chunks/{event-logger-3tvqynh2.js → file-mutation-3tvqynh2.js} +1 -1
- package/dist/chunks/{event-logger-arvfy1x3.js → file-mutation-3v80qfk6.js} +8 -8
- package/dist/chunks/{event-logger-19jaxqvz.js → file-mutation-3y1bhqyq.js} +12 -12
- package/dist/chunks/{event-logger-t928kr56.js → file-mutation-3zqpxcym.js} +52 -52
- package/dist/chunks/{event-logger-3zsf4n22.js → file-mutation-3zsf4n22.js} +1 -1
- package/dist/chunks/{event-logger-jpqeh2wc.js → file-mutation-41czef58.js} +4 -4
- package/dist/chunks/{event-logger-15f8sa68.js → file-mutation-41gx20tv.js} +17 -17
- package/dist/chunks/{event-logger-kjrd9b6q.js → file-mutation-42ehbd6e.js} +8 -8
- package/dist/chunks/{event-logger-tv4f17r3.js → file-mutation-45ag4h5e.js} +42 -42
- package/dist/chunks/{event-logger-fa83yftt.js → file-mutation-4t0fmp6z.js} +12 -12
- package/dist/chunks/{event-logger-tzt8skxj.js → file-mutation-4vmkhc5n.js} +14 -14
- package/dist/chunks/{event-logger-4zvqx7mh.js → file-mutation-519d1vwx.js} +7 -7
- package/dist/chunks/{event-logger-54ma36ye.js → file-mutation-54ma36ye.js} +1 -1
- package/dist/chunks/{event-logger-5757br3t.js → file-mutation-56spgh5t.js} +22 -22
- package/dist/chunks/file-mutation-57e5yzdy.js +257 -0
- package/dist/chunks/{event-logger-5g57z1ma.js → file-mutation-5g57z1ma.js} +1 -1
- package/dist/chunks/{event-logger-5m9w47nd.js → file-mutation-5m9w47nd.js} +1 -1
- package/dist/chunks/{event-logger-y0jvwb8z.js → file-mutation-5mdvenct.js} +19 -19
- package/dist/chunks/{event-logger-zh7te6am.js → file-mutation-5t7451fr.js} +9 -9
- package/dist/chunks/{event-logger-bx5fxdna.js → file-mutation-62mz8jvf.js} +29 -29
- package/dist/chunks/{event-logger-6827pfxn.js → file-mutation-6827pfxn.js} +1 -1
- package/dist/chunks/{event-logger-jx5mtn20.js → file-mutation-6azzqc0z.js} +6 -6
- package/dist/chunks/{event-logger-b8p2k3p8.js → file-mutation-6eg9htqv.js} +1 -1
- package/dist/chunks/{event-logger-k0w48235.js → file-mutation-6m0ab3mz.js} +11 -11
- package/dist/chunks/{event-logger-76ymgwed.js → file-mutation-6n4b0dsb.js} +9 -9
- package/dist/chunks/{event-logger-b5d3j6rk.js → file-mutation-6t4vhed6.js} +5 -5
- package/dist/chunks/{event-logger-6xb47vfp.js → file-mutation-6xb47vfp.js} +1 -1
- package/dist/chunks/{event-logger-sx0rs7d0.js → file-mutation-6zc1k7ct.js} +30 -23
- package/dist/chunks/{event-logger-jmg1zvdz.js → file-mutation-74q762c0.js} +14 -14
- package/dist/chunks/{event-logger-775gj3j1.js → file-mutation-775gj3j1.js} +2 -2
- package/dist/chunks/{event-logger-7bmhse3q.js → file-mutation-7bmhse3q.js} +1 -1
- package/dist/chunks/{event-logger-9pz8w8a5.js → file-mutation-7djxwg8w.js} +25 -25
- package/dist/chunks/{event-logger-kx0rrjhv.js → file-mutation-7ndcpfx4.js} +13 -13
- package/dist/chunks/{event-logger-t0xyvzmy.js → file-mutation-7r5wsdye.js} +10 -10
- package/dist/chunks/{event-logger-g0t57f6q.js → file-mutation-7r9mhtn4.js} +33 -33
- package/dist/chunks/{event-logger-qgqe4jb4.js → file-mutation-7smjb1nk.js} +171 -171
- package/dist/chunks/{event-logger-a20pjse5.js → file-mutation-7v6vae4w.js} +3 -3
- package/dist/chunks/{event-logger-687tthex.js → file-mutation-7x5efvhs.js} +322 -322
- package/dist/chunks/{event-logger-ay857t3e.js → file-mutation-8185hgv1.js} +8 -8
- package/dist/chunks/{event-logger-tcezcvh9.js → file-mutation-89znhe33.js} +4 -4
- package/dist/chunks/{event-logger-8m6m0r52.js → file-mutation-8m6m0r52.js} +1 -1
- package/dist/chunks/{event-logger-8mywswrd.js → file-mutation-8mywswrd.js} +1 -1
- package/dist/chunks/{event-logger-brc60g1j.js → file-mutation-8xmp1zer.js} +37 -37
- package/dist/chunks/{event-logger-z7vjr8ds.js → file-mutation-8y1w76e6.js} +20 -20
- package/dist/chunks/{event-logger-y7x08173.js → file-mutation-97yqkd1k.js} +8 -8
- package/dist/chunks/{event-logger-sp5zyyma.js → file-mutation-9c3np669.js} +8 -8
- package/dist/chunks/{event-logger-r79z9z6k.js → file-mutation-9qpecfme.js} +13 -13
- package/dist/chunks/{event-logger-enp2k9s2.js → file-mutation-9zs8zcdx.js} +20 -20
- package/dist/chunks/{event-logger-ayw5mjn6.js → file-mutation-a2px89rw.js} +24 -24
- package/dist/chunks/{event-logger-0vhjnex2.js → file-mutation-a565ke38.js} +20 -20
- package/dist/chunks/{event-logger-5evw82hy.js → file-mutation-a82304wy.js} +34 -34
- package/dist/chunks/{event-logger-tg8yqqgq.js → file-mutation-ad4w0vjn.js} +19 -19
- package/dist/chunks/{event-logger-zm1nwptd.js → file-mutation-ak9msbxp.js} +4 -4
- package/dist/chunks/{event-logger-965mmkss.js → file-mutation-atdrdmj6.js} +6 -6
- package/dist/chunks/{event-logger-mh8c02nx.js → file-mutation-aw52c1ne.js} +19 -19
- package/dist/chunks/{event-logger-wfakye87.js → file-mutation-b2nsbkna.js} +11 -11
- package/dist/chunks/{event-logger-w0dm5bba.js → file-mutation-bhs00ts1.js} +28 -28
- package/dist/chunks/{event-logger-2nca96aj.js → file-mutation-bqjpzzk3.js} +24 -24
- package/dist/chunks/{event-logger-jkqvgxx0.js → file-mutation-bsa6sgws.js} +26 -26
- package/dist/chunks/{event-logger-sdvhx7x2.js → file-mutation-c13z1yp1.js} +33 -33
- package/dist/chunks/{event-logger-c1fqxshp.js → file-mutation-c1fqxshp.js} +3 -3
- package/dist/chunks/{event-logger-zp2m4z3e.js → file-mutation-c87k5ccs.js} +16 -16
- package/dist/chunks/{event-logger-yzk9yanh.js → file-mutation-cb4re6k7.js} +3 -3
- package/dist/chunks/{event-logger-w6a51qjs.js → file-mutation-ce3wexff.js} +15 -15
- package/dist/chunks/{event-logger-q9kcnnwr.js → file-mutation-cm67jkab.js} +12 -12
- package/dist/chunks/{event-logger-ngts6ef0.js → file-mutation-cmmdg65p.js} +8 -8
- package/dist/chunks/{event-logger-ft3hqk2c.js → file-mutation-cwa6csj7.js} +9 -9
- package/dist/chunks/{event-logger-dqz2rgy5.js → file-mutation-d5et20rv.js} +4 -4
- package/dist/chunks/{event-logger-baaqp4zd.js → file-mutation-ddt2bs9e.js} +4 -4
- package/dist/chunks/{event-logger-vkwbrgfm.js → file-mutation-dfpkkgmz.js} +5 -5
- package/dist/chunks/{event-logger-5e84ase9.js → file-mutation-dp2x8bvg.js} +11 -11
- package/dist/chunks/{event-logger-pa8pe2x7.js → file-mutation-dv1qgsyq.js} +8 -8
- package/dist/chunks/{event-logger-dys7k0s0.js → file-mutation-dys7k0s0.js} +3 -3
- package/dist/chunks/{event-logger-ady6em11.js → file-mutation-dzx86zvg.js} +11 -11
- package/dist/chunks/{event-logger-8v8qb0a2.js → file-mutation-e27yq2dh.js} +15 -15
- package/dist/chunks/{event-logger-qgwrdebb.js → file-mutation-e4m676a8.js} +34 -34
- package/dist/chunks/{event-logger-j9kxwsfy.js → file-mutation-eajv9c1q.js} +26 -26
- package/dist/chunks/{event-logger-2bem4azs.js → file-mutation-eb4sm8gp.js} +13 -13
- package/dist/chunks/{event-logger-axpqfvf7.js → file-mutation-ee0gr7kd.js} +21 -21
- package/dist/chunks/{event-logger-eej6y6fw.js → file-mutation-eej6y6fw.js} +2 -2
- package/dist/chunks/{event-logger-ef5x83kb.js → file-mutation-ef5x83kb.js} +1 -1
- package/dist/chunks/{event-logger-n0wcvart.js → file-mutation-efacs7fs.js} +7 -7
- package/dist/chunks/{event-logger-4t8k2r1g.js → file-mutation-ehvt2tba.js} +26 -26
- package/dist/chunks/{event-logger-eg96fwp0.js → file-mutation-em5cgnc4.js} +49 -49
- package/dist/chunks/{event-logger-3r4bkgjj.js → file-mutation-erxfktnw.js} +4 -4
- package/dist/chunks/{event-logger-g68bhc8c.js → file-mutation-etvgdas2.js} +15 -15
- package/dist/chunks/{event-logger-d4t4d4a4.js → file-mutation-fb8cphng.js} +11 -11
- package/dist/chunks/{event-logger-fcy631f0.js → file-mutation-fcy631f0.js} +1 -1
- package/dist/chunks/{event-logger-d855j11k.js → file-mutation-fp29cjek.js} +7 -7
- package/dist/chunks/{event-logger-1w2wqhfv.js → file-mutation-fxaymqdw.js} +4 -4
- package/dist/chunks/{event-logger-sjf9w9sn.js → file-mutation-fzp13ncj.js} +5 -5
- package/dist/chunks/{event-logger-nd4tfyg0.js → file-mutation-g686f6pq.js} +9 -9
- package/dist/chunks/{event-logger-1pxz8ven.js → file-mutation-g6yfr6ja.js} +5 -5
- package/dist/chunks/{event-logger-gd4qta3r.js → file-mutation-gd4qta3r.js} +1 -1
- package/dist/chunks/{event-logger-9hwaqfsw.js → file-mutation-gj71zhbs.js} +5 -5
- package/dist/chunks/{event-logger-v2ae6mvm.js → file-mutation-gr66jygg.js} +43 -43
- package/dist/chunks/{event-logger-8s48m379.js → file-mutation-gvvbrpww.js} +6 -6
- package/dist/chunks/{event-logger-fbx2zj7f.js → file-mutation-gybtzb9x.js} +7 -7
- package/dist/chunks/{event-logger-gn5cfhfe.js → file-mutation-gzspr1z4.js} +3 -3
- package/dist/chunks/{event-logger-wqc59w9s.js → file-mutation-h4bdw36b.js} +16 -16
- package/dist/chunks/{event-logger-yb0xqw03.js → file-mutation-h62a697x.js} +8 -8
- package/dist/chunks/{event-logger-h6vf3j39.js → file-mutation-h6vf3j39.js} +1 -1
- package/dist/chunks/{event-logger-kracvgcn.js → file-mutation-hd1nrk2b.js} +8 -8
- package/dist/chunks/{event-logger-hgz4x7wa.js → file-mutation-hgz4x7wa.js} +1 -1
- package/dist/chunks/{event-logger-w2vjr3dt.js → file-mutation-hkgnaefc.js} +11 -11
- package/dist/chunks/{event-logger-xvcwxf7g.js → file-mutation-j8th9n6h.js} +10 -10
- package/dist/chunks/{event-logger-aqgqfsze.js → file-mutation-j9d78s05.js} +30 -30
- package/dist/chunks/{event-logger-t2sc8hs2.js → file-mutation-jf9n6w3j.js} +11 -11
- package/dist/chunks/{event-logger-f5xhthqg.js → file-mutation-jfbb0hnv.js} +2 -2
- package/dist/chunks/{event-logger-04z4t5gq.js → file-mutation-jfhp5m7r.js} +32 -32
- package/dist/chunks/{event-logger-yfx0wecs.js → file-mutation-jgzj6jsc.js} +14 -14
- package/dist/chunks/{event-logger-gws3ea32.js → file-mutation-jjqh5zx4.js} +12 -12
- package/dist/chunks/{event-logger-3v37xfbr.js → file-mutation-jjypx1zf.js} +4 -4
- package/dist/chunks/{event-logger-jg914ar5.js → file-mutation-jpecd9th.js} +3 -3
- package/dist/chunks/{event-logger-4r6mwygs.js → file-mutation-jsn4hjph.js} +8 -8
- package/dist/chunks/{event-logger-w6p74w5s.js → file-mutation-jt9ed28e.js} +11 -11
- package/dist/chunks/{event-logger-e5qxg8h8.js → file-mutation-jx6q8471.js} +45 -45
- package/dist/chunks/{event-logger-kj230rep.js → file-mutation-k02f29ms.js} +30 -30
- package/dist/chunks/{event-logger-v1vwdnn2.js → file-mutation-ka369yzh.js} +27 -27
- package/dist/chunks/{event-logger-h5jqacnq.js → file-mutation-kb1d5h98.js} +3 -3
- package/dist/chunks/{event-logger-dqkkx36v.js → file-mutation-kd03d9gr.js} +4 -4
- package/dist/chunks/{event-logger-3ga9038w.js → file-mutation-kdzm5bhe.js} +18 -18
- package/dist/chunks/{event-logger-dd9rmwq8.js → file-mutation-kr4x12kf.js} +22 -22
- package/dist/chunks/{event-logger-kwb1v3vj.js → file-mutation-kwb1v3vj.js} +1 -1
- package/dist/chunks/{event-logger-kh3zyzzy.js → file-mutation-kxej0ekr.js} +11 -11
- package/dist/chunks/file-mutation-m73346m7.js +26 -0
- package/dist/chunks/{event-logger-m9w0rfyh.js → file-mutation-m9w0rfyh.js} +1 -1
- package/dist/chunks/{event-logger-maspj1v3.js → file-mutation-maspj1v3.js} +1 -1
- package/dist/chunks/{event-logger-x0414q09.js → file-mutation-mqg3fzsn.js} +16 -16
- package/dist/chunks/{event-logger-143qq2q9.js → file-mutation-mtpeagzc.js} +3 -3
- package/dist/chunks/{event-logger-6ssy61w6.js → file-mutation-mydhh9sm.js} +75 -75
- package/dist/chunks/{event-logger-7yjr90q2.js → file-mutation-ndzdr1dv.js} +2 -2
- package/dist/chunks/{event-logger-nz56sr1f.js → file-mutation-nz56sr1f.js} +2 -2
- package/dist/chunks/{event-logger-hjcmja4m.js → file-mutation-nzs7qp78.js} +6 -6
- package/dist/chunks/{event-logger-t2jvn6s6.js → file-mutation-p190h37r.js} +19 -19
- package/dist/chunks/{event-logger-bmh1v8cy.js → file-mutation-p2wcahxe.js} +87 -87
- package/dist/chunks/{event-logger-dzse07y5.js → file-mutation-p7a39gy5.js} +6 -6
- package/dist/chunks/{event-logger-qmgn6hh6.js → file-mutation-pbacqn8s.js} +5 -5
- package/dist/chunks/{event-logger-aewryxaa.js → file-mutation-pcdas667.js} +27 -27
- package/dist/chunks/file-mutation-pf31ssb9.js +18 -0
- package/dist/chunks/{event-logger-vykevjvn.js → file-mutation-pfq1ksym.js} +5 -5
- package/dist/chunks/{event-logger-7p7hk8sv.js → file-mutation-pgfe47gj.js} +23 -23
- package/dist/chunks/{event-logger-j1a03btz.js → file-mutation-phsgz9sx.js} +5 -5
- package/dist/chunks/{event-logger-pjvnvgmy.js → file-mutation-pjvnvgmy.js} +1 -1
- package/dist/chunks/{event-logger-pknna89w.js → file-mutation-pknna89w.js} +1 -1
- package/dist/chunks/{event-logger-rkprpv83.js → file-mutation-py3kkmfq.js} +2 -2
- package/dist/chunks/{event-logger-4v86bgjk.js → file-mutation-q0cbencw.js} +2 -2
- package/dist/chunks/{event-logger-m2tznbx2.js → file-mutation-q5d81rx9.js} +11 -11
- package/dist/chunks/{event-logger-59c10ypj.js → file-mutation-q7rdkpep.js} +4 -4
- package/dist/chunks/{event-logger-y0pbe0yv.js → file-mutation-q9eyhvvk.js} +32 -32
- package/dist/chunks/{event-logger-6vekzxw1.js → file-mutation-q9qps9mc.js} +21 -21
- package/dist/chunks/{event-logger-srwgmrb6.js → file-mutation-qevj7g07.js} +28 -28
- package/dist/chunks/{event-logger-wzcgjz6k.js → file-mutation-qgf6fbf9.js} +30 -30
- package/dist/chunks/{event-logger-qnc92qwc.js → file-mutation-qnc92qwc.js} +1 -1
- package/dist/chunks/{event-logger-91pznn53.js → file-mutation-qnfncs7q.js} +1 -1
- package/dist/chunks/{event-logger-qsdy395h.js → file-mutation-qsdy395h.js} +1 -1
- package/dist/chunks/{event-logger-p5fvf2qr.js → file-mutation-qwv7c4pn.js} +22 -22
- package/dist/chunks/{event-logger-sxcaecc0.js → file-mutation-r2z489rp.js} +3 -3
- package/dist/chunks/{event-logger-hd0py222.js → file-mutation-r62a9xnm.js} +14 -14
- package/dist/chunks/{event-logger-3jjnp2ys.js → file-mutation-r6zh1g81.js} +14 -14
- package/dist/chunks/{event-logger-evjtt84t.js → file-mutation-r7dsxv7s.js} +20 -20
- package/dist/chunks/{event-logger-1pqty4gk.js → file-mutation-rbp8ryhp.js} +35 -35
- package/dist/chunks/{event-logger-69k4q2vg.js → file-mutation-rcjn9711.js} +10 -10
- package/dist/chunks/{event-logger-8yp148f8.js → file-mutation-rcjp1z92.js} +31 -31
- package/dist/chunks/{event-logger-rdw6cm16.js → file-mutation-rdw6cm16.js} +1 -1
- package/dist/chunks/{event-logger-rert0e01.js → file-mutation-rert0e01.js} +2 -2
- package/dist/chunks/{event-logger-xxjygm7w.js → file-mutation-retn9hxc.js} +65 -65
- package/dist/chunks/{event-logger-rj3eygr5.js → file-mutation-rj3eygr5.js} +2 -2
- package/dist/chunks/{event-logger-hff9h1tp.js → file-mutation-rt822zgg.js} +14 -14
- package/dist/chunks/{event-logger-0k360key.js → file-mutation-rz1wjwgb.js} +19 -19
- package/dist/chunks/{event-logger-a89e0tac.js → file-mutation-s26hbv8p.js} +4 -4
- package/dist/chunks/{event-logger-wtqpmmty.js → file-mutation-s4nxs4pr.js} +22 -22
- package/dist/chunks/{event-logger-sa8ekw3f.js → file-mutation-sa8ekw3f.js} +2 -2
- package/dist/chunks/{event-logger-crjfqpdy.js → file-mutation-sc1avexy.js} +23 -23
- package/dist/chunks/{event-logger-hg105040.js → file-mutation-schnsw0c.js} +4 -4
- package/dist/chunks/{event-logger-9vw55b6z.js → file-mutation-sh547pn2.js} +5 -5
- package/dist/chunks/{event-logger-veszqgr6.js → file-mutation-sh6a696f.js} +16 -16
- package/dist/chunks/{event-logger-nn0vxdsv.js → file-mutation-stndfsa3.js} +8 -8
- package/dist/chunks/{event-logger-nzvzhybn.js → file-mutation-sxeq46ve.js} +7 -7
- package/dist/chunks/{event-logger-eb8hvb8b.js → file-mutation-sxzykved.js} +38 -38
- package/dist/chunks/{event-logger-syv4x271.js → file-mutation-syv4x271.js} +1 -1
- package/dist/chunks/{event-logger-a5b1fpat.js → file-mutation-t1nzq07k.js} +9 -9
- package/dist/chunks/{event-logger-tazgh4e4.js → file-mutation-tazgh4e4.js} +1 -1
- package/dist/chunks/{event-logger-72xe526g.js → file-mutation-tb34rtt0.js} +39 -39
- package/dist/chunks/{event-logger-ytkm1fdb.js → file-mutation-tc78d14m.js} +19 -19
- package/dist/chunks/{event-logger-tdstcens.js → file-mutation-tdstcens.js} +1 -1
- package/dist/chunks/{event-logger-t7hbmgbx.js → file-mutation-thz6jf9v.js} +28 -28
- package/dist/chunks/{event-logger-tkmwgdpd.js → file-mutation-tkmwgdpd.js} +1 -1
- package/dist/chunks/{event-logger-tm0kqsz3.js → file-mutation-tm0kqsz3.js} +1 -1
- package/dist/chunks/{event-logger-hp80z79w.js → file-mutation-tt3w6h4v.js} +15 -15
- package/dist/chunks/{event-logger-dq407baf.js → file-mutation-tt8gc4fv.js} +6 -6
- package/dist/chunks/{event-logger-d3e8d5h7.js → file-mutation-twbk3118.js} +32 -32
- package/dist/chunks/{event-logger-tyytaxap.js → file-mutation-tyytaxap.js} +1 -1
- package/dist/chunks/{event-logger-125wdn1j.js → file-mutation-v210v162.js} +9 -9
- package/dist/chunks/{event-logger-g1zdr5n1.js → file-mutation-v53hzd0w.js} +17 -17
- package/dist/chunks/{event-logger-v7p4zvkq.js → file-mutation-v7p4zvkq.js} +2 -2
- package/dist/chunks/{event-logger-5187w131.js → file-mutation-vae2677r.js} +29 -29
- package/dist/chunks/{event-logger-veqvce7d.js → file-mutation-veqvce7d.js} +1 -1
- package/dist/chunks/{event-logger-zxr4n7nr.js → file-mutation-vkqam852.js} +4 -4
- package/dist/chunks/{event-logger-wckktynd.js → file-mutation-vtt8tbap.js} +54 -54
- package/dist/chunks/{event-logger-wf2f137k.js → file-mutation-vyp2z6jc.js} +24 -24
- package/dist/chunks/{event-logger-vzs5sf6e.js → file-mutation-vzs5sf6e.js} +1 -1
- package/dist/chunks/{event-logger-w1eejvng.js → file-mutation-w1eejvng.js} +1 -1
- package/dist/chunks/{event-logger-w3wsvvr9.js → file-mutation-w3wsvvr9.js} +1 -1
- package/dist/chunks/{event-logger-vnxnqzwp.js → file-mutation-w7h8reg6.js} +5 -5
- package/dist/chunks/{event-logger-61b1bym2.js → file-mutation-w84617t1.js} +11 -11
- package/dist/chunks/{event-logger-waskdk5r.js → file-mutation-waskdk5r.js} +1 -1
- package/dist/chunks/{event-logger-wd87259q.js → file-mutation-wd87259q.js} +1 -1
- package/dist/chunks/{event-logger-qeda0rp6.js → file-mutation-we55t667.js} +41 -41
- package/dist/chunks/{event-logger-b4s8ej7r.js → file-mutation-wk5z6jzv.js} +9 -9
- package/dist/chunks/{event-logger-718nvvp0.js → file-mutation-wq2p2qmk.js} +24 -24
- package/dist/chunks/{event-logger-y6rvfep9.js → file-mutation-x5e1n3vw.js} +21 -21
- package/dist/chunks/{event-logger-drwq78ky.js → file-mutation-xfkkasph.js} +4 -4
- package/dist/chunks/{event-logger-89an5fkr.js → file-mutation-xmy4sz0h.js} +3 -3
- package/dist/chunks/{event-logger-ajc6q3j1.js → file-mutation-xw6avn3p.js} +5 -5
- package/dist/chunks/{event-logger-vh716j4k.js → file-mutation-xx5ebepc.js} +8 -8
- package/dist/chunks/{event-logger-y1fvbwt7.js → file-mutation-y1fvbwt7.js} +1 -1
- package/dist/chunks/{event-logger-jwcy2c2z.js → file-mutation-y71avatq.js} +4 -4
- package/dist/chunks/{event-logger-qkhkydxx.js → file-mutation-y81rr1wr.js} +6 -6
- package/dist/chunks/{event-logger-d9gse1kg.js → file-mutation-y84x4ntc.js} +20 -20
- package/dist/chunks/{event-logger-g0zeqm1b.js → file-mutation-ymkxabsa.js} +11 -11
- package/dist/chunks/{event-logger-cgb09904.js → file-mutation-ynfzaa2p.js} +25 -25
- package/dist/chunks/{event-logger-b7r64wqx.js → file-mutation-yv7acsrv.js} +17 -17
- package/dist/chunks/{event-logger-z0bkrqjs.js → file-mutation-z0bkrqjs.js} +1 -1
- package/dist/chunks/{event-logger-z18fegx4.js → file-mutation-z18fegx4.js} +1 -1
- package/dist/chunks/{event-logger-krf1rydg.js → file-mutation-z1jgb0t4.js} +1 -1
- package/dist/chunks/{event-logger-nhc3bfbq.js → file-mutation-z2jaas8m.js} +21 -21
- package/dist/chunks/{event-logger-gma6ksnq.js → file-mutation-z3tzxhn5.js} +9 -9
- package/dist/chunks/{event-logger-5t1xxmjj.js → file-mutation-z4g16tg4.js} +19 -19
- package/dist/chunks/{event-logger-1wmz6vz9.js → file-mutation-zcbpwp6v.js} +13 -13
- package/dist/chunks/{event-logger-mmcnbdg7.js → file-mutation-ze7vjsts.js} +15 -15
- package/dist/chunks/{event-logger-sqn3n8r9.js → file-mutation-zezrz4ps.js} +13 -13
- package/dist/chunks/{event-logger-avcs2e0g.js → file-mutation-zgxd750f.js} +14 -14
- package/dist/chunks/{event-logger-xj1aydcy.js → file-mutation-zjtrsxny.js} +5 -5
- package/dist/chunks/{event-logger-t35h127n.js → file-mutation-zn9jy13z.js} +6 -6
- package/dist/chunks/{event-logger-zr2ceqn5.js → file-mutation-zr2ceqn5.js} +1 -1
- package/dist/chunks/{event-logger-2w2v9qgz.js → file-mutation-zvcz9zfg.js} +5 -5
- package/dist/chunks/{event-logger-2nfn53fa.js → file-mutation-zvntbwz4.js} +11 -11
- package/dist/chunks/{event-logger-azwe5p1w.js → file-mutation-zw2hpfmh.js} +4 -4
- package/dist/chunks/{event-logger-hfrvtkzg.js → file-mutation-zwjpxgfy.js} +46 -46
- package/dist/chunks/{event-logger-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 +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +91 -91
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +91 -91
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +219 -219
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +106 -106
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +106 -106
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +93 -93
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +361 -361
- package/dist/instruction-discovery.js +78 -78
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +158 -158
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +358 -358
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +6 -6
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +96 -96
- package/dist/model-retry.js +1 -1
- package/dist/model.js +96 -96
- package/dist/models-dev.js +103 -103
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +86 -86
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +114 -114
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +123 -123
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +123 -123
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +130 -130
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -347
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +138 -138
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +218 -218
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +157 -157
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +95 -95
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +223 -223
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +202 -202
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +211 -211
- package/dist/session/usage.js +1 -1
- package/dist/session.js +210 -210
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +126 -126
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- 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 +3 -3
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +1 -1
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +88 -88
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/event-logger-ht5y0zrb.js +0 -18
- package/dist/chunks/event-logger-r7y3ynm2.js +0 -257
- package/dist/chunks/event-logger-yp8vcx0q.js +0 -26
- /package/dist/chunks/{event-logger-0qkdqm5v.js → file-mutation-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{event-logger-0zkw76rk.js → file-mutation-0zkw76rk.js} +0 -0
- /package/dist/chunks/{event-logger-17cy0kzp.js → file-mutation-17cy0kzp.js} +0 -0
- /package/dist/chunks/{event-logger-1cnp2v09.js → file-mutation-1cnp2v09.js} +0 -0
- /package/dist/chunks/{event-logger-1kg9ymc8.js → file-mutation-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{event-logger-24dcb14g.js → file-mutation-24dcb14g.js} +0 -0
- /package/dist/chunks/{event-logger-2710q6r3.js → file-mutation-2710q6r3.js} +0 -0
- /package/dist/chunks/{event-logger-2axfhc9x.js → file-mutation-2axfhc9x.js} +0 -0
- /package/dist/chunks/{event-logger-2bv980vf.js → file-mutation-2bv980vf.js} +0 -0
- /package/dist/chunks/{event-logger-2c3vjs8z.js → file-mutation-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{event-logger-359p4xyc.js → file-mutation-359p4xyc.js} +0 -0
- /package/dist/chunks/{event-logger-3asan66x.js → file-mutation-3asan66x.js} +0 -0
- /package/dist/chunks/{event-logger-3t0ybcrp.js → file-mutation-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{event-logger-3v8g72cx.js → file-mutation-3v8g72cx.js} +0 -0
- /package/dist/chunks/{event-logger-3wcehsnq.js → file-mutation-3wcehsnq.js} +0 -0
- /package/dist/chunks/{event-logger-43n2bw4t.js → file-mutation-43n2bw4t.js} +0 -0
- /package/dist/chunks/{event-logger-4knz6hnm.js → file-mutation-4knz6hnm.js} +0 -0
- /package/dist/chunks/{event-logger-4vcrnpx2.js → file-mutation-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{event-logger-4y7fprxs.js → file-mutation-4y7fprxs.js} +0 -0
- /package/dist/chunks/{event-logger-53557ph1.js → file-mutation-53557ph1.js} +0 -0
- /package/dist/chunks/{event-logger-550bvhaj.js → file-mutation-550bvhaj.js} +0 -0
- /package/dist/chunks/{event-logger-5qd3pb7m.js → file-mutation-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{event-logger-6prwharc.js → file-mutation-6prwharc.js} +0 -0
- /package/dist/chunks/{event-logger-6q2bdcd1.js → file-mutation-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{event-logger-7akdwqpd.js → file-mutation-7akdwqpd.js} +0 -0
- /package/dist/chunks/{event-logger-7m9af43g.js → file-mutation-7m9af43g.js} +0 -0
- /package/dist/chunks/{event-logger-822emrt2.js → file-mutation-822emrt2.js} +0 -0
- /package/dist/chunks/{event-logger-84wd9syh.js → file-mutation-84wd9syh.js} +0 -0
- /package/dist/chunks/{event-logger-88xbtdfr.js → file-mutation-88xbtdfr.js} +0 -0
- /package/dist/chunks/{event-logger-8n3pysct.js → file-mutation-8n3pysct.js} +0 -0
- /package/dist/chunks/{event-logger-8wj87zfr.js → file-mutation-8wj87zfr.js} +0 -0
- /package/dist/chunks/{event-logger-9a4afbnw.js → file-mutation-9a4afbnw.js} +0 -0
- /package/dist/chunks/{event-logger-9rqn6x4v.js → file-mutation-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{event-logger-a6k6eb26.js → file-mutation-a6k6eb26.js} +0 -0
- /package/dist/chunks/{event-logger-af5trqkr.js → file-mutation-af5trqkr.js} +0 -0
- /package/dist/chunks/{event-logger-afrmfg78.js → file-mutation-afrmfg78.js} +0 -0
- /package/dist/chunks/{event-logger-aqzs7mqg.js → file-mutation-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{event-logger-atq7p7m5.js → file-mutation-atq7p7m5.js} +0 -0
- /package/dist/chunks/{event-logger-bkyjaxrp.js → file-mutation-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{event-logger-bmr6ed5q.js → file-mutation-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{event-logger-cf4snx6d.js → file-mutation-cf4snx6d.js} +0 -0
- /package/dist/chunks/{event-logger-cvy3z8tj.js → file-mutation-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{event-logger-d9fn303g.js → file-mutation-d9fn303g.js} +0 -0
- /package/dist/chunks/{event-logger-d9jj8t3e.js → file-mutation-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{event-logger-dajrwvna.js → file-mutation-dajrwvna.js} +0 -0
- /package/dist/chunks/{event-logger-dap0rakb.js → file-mutation-dap0rakb.js} +0 -0
- /package/dist/chunks/{event-logger-df08tz66.js → file-mutation-df08tz66.js} +0 -0
- /package/dist/chunks/{event-logger-dy18nga0.js → file-mutation-dy18nga0.js} +0 -0
- /package/dist/chunks/{event-logger-e5kj55wp.js → file-mutation-e5kj55wp.js} +0 -0
- /package/dist/chunks/{event-logger-e73j6tqm.js → file-mutation-e73j6tqm.js} +0 -0
- /package/dist/chunks/{event-logger-ec1grn59.js → file-mutation-ec1grn59.js} +0 -0
- /package/dist/chunks/{event-logger-eh3zwz77.js → file-mutation-eh3zwz77.js} +0 -0
- /package/dist/chunks/{event-logger-emrn6kk6.js → file-mutation-emrn6kk6.js} +0 -0
- /package/dist/chunks/{event-logger-f0mxakyp.js → file-mutation-f0mxakyp.js} +0 -0
- /package/dist/chunks/{event-logger-f6n9ztr4.js → file-mutation-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{event-logger-faypxj3z.js → file-mutation-faypxj3z.js} +0 -0
- /package/dist/chunks/{event-logger-fd410y7t.js → file-mutation-fd410y7t.js} +0 -0
- /package/dist/chunks/{event-logger-g4wezp1m.js → file-mutation-g4wezp1m.js} +0 -0
- /package/dist/chunks/{event-logger-g86h250q.js → file-mutation-g86h250q.js} +0 -0
- /package/dist/chunks/{event-logger-gebd4c9n.js → file-mutation-gebd4c9n.js} +0 -0
- /package/dist/chunks/{event-logger-gftt206x.js → file-mutation-gftt206x.js} +0 -0
- /package/dist/chunks/{event-logger-hcxmzztb.js → file-mutation-hcxmzztb.js} +0 -0
- /package/dist/chunks/{event-logger-hk9envan.js → file-mutation-hk9envan.js} +0 -0
- /package/dist/chunks/{event-logger-j2ntwpah.js → file-mutation-j2ntwpah.js} +0 -0
- /package/dist/chunks/{event-logger-j5zkgpj8.js → file-mutation-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{event-logger-jjkms2e6.js → file-mutation-jjkms2e6.js} +0 -0
- /package/dist/chunks/{event-logger-jr7sbwjy.js → file-mutation-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{event-logger-jwfs4k6c.js → file-mutation-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{event-logger-jze0r7bz.js → file-mutation-jze0r7bz.js} +0 -0
- /package/dist/chunks/{event-logger-jzg6c2d5.js → file-mutation-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{event-logger-m18g726c.js → file-mutation-m18g726c.js} +0 -0
- /package/dist/chunks/{event-logger-mp448xyj.js → file-mutation-mp448xyj.js} +0 -0
- /package/dist/chunks/{event-logger-msx8hqn2.js → file-mutation-msx8hqn2.js} +0 -0
- /package/dist/chunks/{event-logger-n05xt0ee.js → file-mutation-n05xt0ee.js} +0 -0
- /package/dist/chunks/{event-logger-n3j8tn72.js → file-mutation-n3j8tn72.js} +0 -0
- /package/dist/chunks/{event-logger-njntx4h6.js → file-mutation-njntx4h6.js} +0 -0
- /package/dist/chunks/{event-logger-pkyv6v7h.js → file-mutation-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{event-logger-pyv0edze.js → file-mutation-pyv0edze.js} +0 -0
- /package/dist/chunks/{event-logger-q3sfg36h.js → file-mutation-q3sfg36h.js} +0 -0
- /package/dist/chunks/{event-logger-q74kybfr.js → file-mutation-q74kybfr.js} +0 -0
- /package/dist/chunks/{event-logger-qaymkmh1.js → file-mutation-qaymkmh1.js} +0 -0
- /package/dist/chunks/{event-logger-qb87gjwd.js → file-mutation-qb87gjwd.js} +0 -0
- /package/dist/chunks/{event-logger-qfa1cgps.js → file-mutation-qfa1cgps.js} +0 -0
- /package/dist/chunks/{event-logger-qg3g05ea.js → file-mutation-qg3g05ea.js} +0 -0
- /package/dist/chunks/{event-logger-qrg20bc0.js → file-mutation-qrg20bc0.js} +0 -0
- /package/dist/chunks/{event-logger-rcb2kzg1.js → file-mutation-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{event-logger-sdp7kfr6.js → file-mutation-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{event-logger-ssg3fenm.js → file-mutation-ssg3fenm.js} +0 -0
- /package/dist/chunks/{event-logger-ve7vex1e.js → file-mutation-ve7vex1e.js} +0 -0
- /package/dist/chunks/{event-logger-w803qqfp.js → file-mutation-w803qqfp.js} +0 -0
- /package/dist/chunks/{event-logger-wc3fc9cn.js → file-mutation-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{event-logger-wer8tq1h.js → file-mutation-wer8tq1h.js} +0 -0
- /package/dist/chunks/{event-logger-wjj7prxr.js → file-mutation-wjj7prxr.js} +0 -0
- /package/dist/chunks/{event-logger-wtztk69x.js → file-mutation-wtztk69x.js} +0 -0
- /package/dist/chunks/{event-logger-x0ckcb58.js → file-mutation-x0ckcb58.js} +0 -0
- /package/dist/chunks/{event-logger-x61499pn.js → file-mutation-x61499pn.js} +0 -0
- /package/dist/chunks/{event-logger-y44na4kk.js → file-mutation-y44na4kk.js} +0 -0
- /package/dist/chunks/{event-logger-y8f7s663.js → file-mutation-y8f7s663.js} +0 -0
- /package/dist/chunks/{event-logger-ygaqb7jw.js → file-mutation-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{event-logger-ym463w8f.js → file-mutation-ym463w8f.js} +0 -0
- /package/dist/chunks/{event-logger-z5v4ffb3.js → file-mutation-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{event-logger-z9919s4g.js → file-mutation-z9919s4g.js} +0 -0
|
@@ -3,27 +3,27 @@ import {
|
|
|
3
3
|
ResourceTemplate2,
|
|
4
4
|
ResourceContent2,
|
|
5
5
|
Service30
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-8xmp1zer.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service69
|
|
9
|
+
} from "./file-mutation-3zqpxcym.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool/plugin/mcp-resource.ts
|
|
15
15
|
var exports_mcp_resource = {};
|
|
16
16
|
__export(exports_mcp_resource, {
|
|
17
17
|
McpResourceTools: () => exports_mcp_resource,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin9
|
|
19
19
|
});
|
|
20
20
|
import { ToolFailure } from "@opencode/ai";
|
|
21
21
|
import { Effect, Schema } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin9 = {
|
|
23
23
|
id: "opencode.tools.mcp-resources",
|
|
24
24
|
effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
|
|
25
25
|
const mcp = yield* Service30;
|
|
26
|
-
const permission = yield*
|
|
26
|
+
const permission = yield* Service69;
|
|
27
27
|
yield* ctx.tool.transform((editor) => {
|
|
28
28
|
editor.add({
|
|
29
29
|
name: "list_mcp_resources",
|
|
@@ -93,4 +93,4 @@ var Plugin50 = {
|
|
|
93
93
|
})
|
|
94
94
|
};
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Plugin9, exports_mcp_resource };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-3cywy0c3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service38
|
|
6
|
+
} from "./file-mutation-p7a39gy5.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-mutation-pf31ssb9.js";
|
|
10
10
|
import {
|
|
11
11
|
preview2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-mutation-42ehbd6e.js";
|
|
13
13
|
import {
|
|
14
14
|
baseTranscript2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-mutation-j9d78s05.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service23
|
|
18
|
+
} from "./file-mutation-mydhh9sm.js";
|
|
19
19
|
import {
|
|
20
20
|
retry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./file-mutation-fcy631f0.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
|
-
var
|
|
28
|
-
__export(
|
|
29
|
-
SessionGenerate: () =>
|
|
27
|
+
var exports_generate = {};
|
|
28
|
+
__export(exports_generate, {
|
|
29
|
+
SessionGenerate: () => exports_generate,
|
|
30
30
|
generate: () => generate2
|
|
31
31
|
});
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service38;
|
|
36
36
|
const database = yield* Service86;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service23;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, model.ref);
|
|
@@ -71,4 +71,4 @@ var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
|
71
71
|
}).pipe(instances.provide(input.session));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
export { generate2,
|
|
74
|
+
export { generate2, exports_generate };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-hgz4x7wa.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
8
|
Service79
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-mutation-w7h8reg6.js";
|
|
10
10
|
import {
|
|
11
11
|
Service77
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-mutation-gybtzb9x.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service76
|
|
16
|
+
} from "./file-mutation-dzx86zvg.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
21
|
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-mutation-28b9pmxf.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service69
|
|
26
|
+
} from "./file-mutation-3zqpxcym.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service68
|
|
29
|
+
} from "./file-mutation-28jszdgh.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
38
|
+
Input: () => Input12,
|
|
39
|
+
Output: () => Output8,
|
|
40
|
+
Plugin: () => Plugin14,
|
|
41
|
+
name: () => name12,
|
|
42
42
|
toModelContent: () => toModelContent5
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name12 = "grep";
|
|
48
|
+
var Input12 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -65,7 +65,7 @@ var Input10 = Schema.Struct({
|
|
|
65
65
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
|
-
var
|
|
68
|
+
var Output8 = Schema.Array(Match2);
|
|
69
69
|
var toModelContent5 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
@@ -83,26 +83,26 @@ var toModelContent5 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin14 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
89
|
const environment = yield* Service77;
|
|
90
|
-
const ripgrep = yield*
|
|
90
|
+
const ripgrep = yield* Service76;
|
|
91
91
|
const location = yield* Service79;
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
92
|
+
const access = yield* Service68;
|
|
93
|
+
const permission = yield* Service69;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name12,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
99
|
-
output:
|
|
98
|
+
input: Input12,
|
|
99
|
+
output: Output8,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name12,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -154,4 +154,4 @@ var Plugin44 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name12, Input12, Output8, toModelContent5, Plugin14, exports_grep };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service85,
|
|
3
|
+
node89
|
|
4
|
+
} from "./file-mutation-0rv871qk.js";
|
|
5
5
|
import {
|
|
6
6
|
parse5,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-mutation-w1eejvng.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-mutation-z5v4ffb3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service51,
|
|
17
|
+
node54
|
|
18
|
+
} from "./file-mutation-yv7acsrv.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./file-mutation-rdw6cm16.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event9,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info9,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service50,
|
|
35
35
|
Source: () => Source4,
|
|
36
|
-
node: () =>
|
|
36
|
+
node: () => node53
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
40
40
|
import { Reference } from "@opencode/schema/reference";
|
|
41
41
|
import { Global } from "@opencode/util/global";
|
|
42
|
-
import { Event as
|
|
42
|
+
import { Event as Event9 } from "@opencode/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
45
|
var Source4 = Reference.Source;
|
|
46
|
-
var
|
|
46
|
+
var Info9 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service50 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const bus = yield*
|
|
53
|
-
const cache = yield*
|
|
52
|
+
const bus = yield* Service85;
|
|
53
|
+
const cache = yield* Service51;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
56
56
|
const info = {
|
|
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
63
|
+
return [Info9.make({ ...info, path: source.path })];
|
|
64
64
|
const repository = parse5(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info9.make({
|
|
76
76
|
...info,
|
|
77
77
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
78
78
|
})
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
107
|
-
return
|
|
107
|
+
return Service50.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node53 = makeLocationNode({
|
|
116
|
+
service: Service50,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node,
|
|
118
|
+
deps: [Global.node, node89, node54]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2, Source4,
|
|
121
|
+
export { LocalSource2, GitSource2, Source4, Info9, Service50, node53, exports_reference2, Event9 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
match2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-y1fvbwt7.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/managed-policy.ts
|
|
9
9
|
var exports_managed_policy = {};
|
|
10
10
|
__export(exports_managed_policy, {
|
|
11
11
|
ManagedPolicy: () => exports_managed_policy,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service17,
|
|
13
13
|
decision: () => decision2,
|
|
14
14
|
layer: () => layer11,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node19,
|
|
16
16
|
statements: () => statements2
|
|
17
17
|
});
|
|
18
18
|
import { isDeepStrictEqual } from "node:util";
|
|
19
19
|
import { Context, Effect, Layer, PubSub, Stream } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
|
|
22
|
-
class
|
|
22
|
+
class Service17 extends Context.Service()("@opencode/ManagedPolicy") {
|
|
23
23
|
}
|
|
24
|
-
var layer11 = Layer.effect(
|
|
24
|
+
var layer11 = Layer.effect(Service17, Effect.gen(function* () {
|
|
25
25
|
const changes = yield* PubSub.unbounded();
|
|
26
26
|
const state = { current: { statements: [] } };
|
|
27
|
-
return
|
|
27
|
+
return Service17.of({
|
|
28
28
|
changes: () => Stream.fromPubSub(changes),
|
|
29
29
|
current: () => state.current,
|
|
30
30
|
set: (next) => Effect.gen(function* () {
|
|
@@ -36,7 +36,7 @@ var layer11 = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
36
36
|
})
|
|
37
37
|
});
|
|
38
38
|
}));
|
|
39
|
-
var
|
|
39
|
+
var node19 = makeGlobalNode({ service: Service17, layer: layer11, deps: [] });
|
|
40
40
|
function statements2(entries, organization) {
|
|
41
41
|
return [
|
|
42
42
|
...entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => entry.info.policies ?? []).map((policy) => ({ ...policy, message: "Blocked by configuration policy" })),
|
|
@@ -50,4 +50,4 @@ function decision2(policies, action, resource) {
|
|
|
50
50
|
return policies.findLast((policy) => policy.action === action && match2(resource, policy.resource))?.effect ?? "allow";
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service17, layer11, node19, statements2, decision2, exports_managed_policy };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service58
|
|
3
|
+
} from "./file-mutation-y84x4ntc.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-w7h8reg6.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service57
|
|
9
|
+
} from "./file-mutation-em5cgnc4.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-mutation-02nrjc1r.js";
|
|
13
13
|
import {
|
|
14
14
|
File2,
|
|
15
15
|
Service34
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-mutation-ad4w0vjn.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/instruction.ts
|
|
22
22
|
var exports_instruction = {};
|
|
23
23
|
__export(exports_instruction, {
|
|
24
24
|
ConfigInstructionPlugin: () => exports_instruction,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin36
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -31,17 +31,17 @@ import { sameDirectory } from "@opencode/util/path";
|
|
|
31
31
|
import path, { dirname, join } from "path";
|
|
32
32
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
33
33
|
import { HttpClient, HttpClientRequest } from "effect/http";
|
|
34
|
-
var
|
|
34
|
+
var Plugin36 = define({
|
|
35
35
|
id: "opencode.config.instruction",
|
|
36
36
|
effect: Effect.fn(function* (ctx) {
|
|
37
37
|
const discovery = yield* Service34;
|
|
38
38
|
yield* Effect.gen(function* () {
|
|
39
|
-
const config = yield*
|
|
39
|
+
const config = yield* Service57;
|
|
40
40
|
const fs = yield* FSUtil.Service;
|
|
41
41
|
const global = yield* Global.Service;
|
|
42
42
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
43
43
|
const location = yield* Service79;
|
|
44
|
-
const watcher = yield*
|
|
44
|
+
const watcher = yield* Service58;
|
|
45
45
|
const changes = yield* PubSub.sliding(1);
|
|
46
46
|
const watches = yield* FiberMap.make();
|
|
47
47
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -174,4 +174,4 @@ function isUrl(source) {
|
|
|
174
174
|
return URL.canParse(source) && /^https?:$/.test(new URL(source).protocol);
|
|
175
175
|
}
|
|
176
176
|
|
|
177
|
-
export {
|
|
177
|
+
export { Plugin36, exports_instruction };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-10sr3c2w.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service85
|
|
6
|
+
} from "./file-mutation-0rv871qk.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event14
|
|
10
|
+
} from "./file-mutation-7r9mhtn4.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-mutation-zw2hpfmh.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID9,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-mutation-0s4zgerr.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service17
|
|
21
|
+
} from "./file-mutation-3aj445ja.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID8,
|
|
24
24
|
mergeOverlay2,
|
|
25
25
|
mergeHeaders2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./file-mutation-twbk3118.js";
|
|
27
27
|
import {
|
|
28
28
|
mergeCapabilities2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./file-mutation-6zc1k7ct.js";
|
|
30
30
|
import {
|
|
31
31
|
supports2,
|
|
32
32
|
resolve2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./file-mutation-cb4re6k7.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
ID3,
|
|
36
|
+
Input14,
|
|
37
37
|
Response2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./file-mutation-pcdas667.js";
|
|
39
39
|
|
|
40
40
|
// src/plugin/provider/opencode.ts
|
|
41
41
|
import {
|
|
@@ -73,7 +73,7 @@ var RemotePolicies = Schema.Array(Schema.Unknown).pipe(Schema.decodeTo(Schema.Un
|
|
|
73
73
|
var RemoteResponse = Schema.Struct({
|
|
74
74
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
75
75
|
websearch: Schema.Struct({
|
|
76
|
-
providerID:
|
|
76
|
+
providerID: ID3
|
|
77
77
|
}).pipe(Schema.optional),
|
|
78
78
|
mcp: Schema.Struct({
|
|
79
79
|
servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
|
|
@@ -124,7 +124,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
124
124
|
}
|
|
125
125
|
function oauth(http) {
|
|
126
126
|
return {
|
|
127
|
-
integrationID:
|
|
127
|
+
integrationID: ID9.make("opencode"),
|
|
128
128
|
method: {
|
|
129
129
|
id: methodID,
|
|
130
130
|
type: "oauth",
|
|
@@ -188,10 +188,11 @@ function oauth(http) {
|
|
|
188
188
|
var OpencodePlugin2 = define({
|
|
189
189
|
id: "opencode.provider.opencode",
|
|
190
190
|
effect: Effect.fn(function* (ctx) {
|
|
191
|
-
const
|
|
191
|
+
const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
|
|
192
|
+
const bus = yield* Service85;
|
|
192
193
|
const client = yield* HttpClient.HttpClient;
|
|
193
194
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
194
|
-
const managed = yield*
|
|
195
|
+
const managed = yield* Service17;
|
|
195
196
|
const scope = yield* Scope.Scope;
|
|
196
197
|
const loading = Semaphore.makeUnsafe(1);
|
|
197
198
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
@@ -245,7 +246,7 @@ var OpencodePlugin2 = define({
|
|
|
245
246
|
providers.update(providerID, (provider) => {
|
|
246
247
|
if (source && source.provider !== provider)
|
|
247
248
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
248
|
-
provider.integrationID =
|
|
249
|
+
provider.integrationID = ID9.make("opencode");
|
|
249
250
|
if (item.canonical !== undefined)
|
|
250
251
|
provider.canonical = item.canonical;
|
|
251
252
|
if (item.name !== undefined)
|
|
@@ -319,19 +320,19 @@ var OpencodePlugin2 = define({
|
|
|
319
320
|
sourceConnection: snapshot.connection
|
|
320
321
|
});
|
|
321
322
|
}
|
|
322
|
-
const item = providers.get(
|
|
323
|
+
const item = providers.get(ID8.opencode);
|
|
323
324
|
if (!item)
|
|
324
325
|
return;
|
|
325
326
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
326
327
|
providers.update(item.provider.id, (provider) => {
|
|
327
|
-
if (!hasKey) {
|
|
328
|
+
if (!hasKey && !disableFree) {
|
|
328
329
|
provider.activation = "enabled";
|
|
329
330
|
provider.settings = { ...provider.settings, apiKey: "public" };
|
|
330
331
|
}
|
|
331
332
|
});
|
|
332
333
|
});
|
|
333
334
|
yield* ctx.model.transform((models) => {
|
|
334
|
-
const item = models.provider.get(
|
|
335
|
+
const item = models.provider.get(ID8.opencode);
|
|
335
336
|
if (!item)
|
|
336
337
|
return;
|
|
337
338
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -365,7 +366,7 @@ var OpencodePlugin2 = define({
|
|
|
365
366
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
366
367
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
367
368
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
368
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
369
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
|
|
369
370
|
query: input.query,
|
|
370
371
|
providerID: descriptor.providerID
|
|
371
372
|
}));
|
|
@@ -426,7 +427,7 @@ var OpencodePlugin2 = define({
|
|
|
426
427
|
});
|
|
427
428
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
428
429
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
429
|
-
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
430
|
+
explainers = yield* Effect.forEach(next.connection ? new Set([ID8.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
430
431
|
});
|
|
431
432
|
yield* guard(snapshot);
|
|
432
433
|
const polling = yield* FiberHandle.make();
|
|
@@ -437,7 +438,7 @@ var OpencodePlugin2 = define({
|
|
|
437
438
|
onlyIfMissing: true
|
|
438
439
|
});
|
|
439
440
|
});
|
|
440
|
-
yield* bus.subscribe(
|
|
441
|
+
yield* bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("opencode")), Stream.runForEach(() => refresh().pipe(Effect.andThen(poll()))), Effect.forkScoped({ startImmediately: true }));
|
|
441
442
|
yield* poll();
|
|
442
443
|
})
|
|
443
444
|
});
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-kb1d5h98.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-jpecd9th.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-mutation-hgz4x7wa.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/local.ts
|
|
11
11
|
var exports_local = {};
|