@opencode/core 2.1.3 → 2.1.4
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 +81 -81
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +97 -97
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{instruction-discovery-5fkm8khv.js → location-005psrwt.js} +9 -9
- package/dist/chunks/location-00ve6mdn.js +18 -0
- package/dist/chunks/{instruction-discovery-034tev2y.js → location-034tev2y.js} +2 -2
- package/dist/chunks/{instruction-discovery-2ph54kq6.js → location-0928y98p.js} +2 -2
- package/dist/chunks/{instruction-discovery-ymqv4qqa.js → location-09wmedhs.js} +9 -9
- package/dist/chunks/{instruction-discovery-9r0x1bva.js → location-0gbb59p9.js} +9 -9
- package/dist/chunks/{instruction-discovery-v3tkh1aj.js → location-0hpjzkz5.js} +5 -5
- package/dist/chunks/{instruction-discovery-46r0wh18.js → location-0pm6fm3r.js} +16 -16
- package/dist/chunks/{instruction-discovery-6vnjn6e3.js → location-1bmrwaa5.js} +9 -9
- package/dist/chunks/{instruction-discovery-1dqke238.js → location-1dqke238.js} +3 -3
- package/dist/chunks/{instruction-discovery-1ep2p91f.js → location-1ep2p91f.js} +2 -2
- package/dist/chunks/{instruction-discovery-kdbzq6ew.js → location-1qtv120j.js} +9 -9
- package/dist/chunks/{instruction-discovery-1x2knyw4.js → location-1x2knyw4.js} +1 -1
- package/dist/chunks/{instruction-discovery-tmqhwsdc.js → location-1xwgv2nq.js} +3 -3
- package/dist/chunks/{instruction-discovery-1y0wdj51.js → location-1y0wdj51.js} +1 -1
- package/dist/chunks/{instruction-discovery-1yq9hg58.js → location-1yq9hg58.js} +1 -1
- package/dist/chunks/{instruction-discovery-pp5hwqdy.js → location-239z01gj.js} +3 -3
- package/dist/chunks/{instruction-discovery-ba1860as.js → location-2ahfrs74.js} +11 -11
- package/dist/chunks/{instruction-discovery-zhtsgqh5.js → location-2brc2rvy.js} +4 -4
- package/dist/chunks/{instruction-discovery-b5j1fcax.js → location-2bymr7vt.js} +21 -21
- package/dist/chunks/{instruction-discovery-bcyzxrby.js → location-2cjxs9ry.js} +15 -15
- package/dist/chunks/{instruction-discovery-a6r83rnm.js → location-2d2g0mpf.js} +28 -28
- package/dist/chunks/{instruction-discovery-j4mjn1pq.js → location-2ggqsqg3.js} +5 -5
- package/dist/chunks/{instruction-discovery-0dw5cvz7.js → location-2h6s5afk.js} +7 -7
- package/dist/chunks/{instruction-discovery-2azy8kv6.js → location-2jq4ff38.js} +4 -4
- package/dist/chunks/{instruction-discovery-a12mwymm.js → location-2n0y9ar2.js} +13 -13
- package/dist/chunks/{instruction-discovery-8p073n4r.js → location-2s6r54qs.js} +7 -7
- package/dist/chunks/{instruction-discovery-b9p9sb5m.js → location-2satw072.js} +15 -15
- package/dist/chunks/{instruction-discovery-2z1j29yd.js → location-2z1j29yd.js} +1 -1
- package/dist/chunks/{instruction-discovery-043wk7y2.js → location-3043t2hd.js} +12 -12
- package/dist/chunks/{instruction-discovery-00vfyfmg.js → location-30bn4rx3.js} +16 -16
- package/dist/chunks/{instruction-discovery-v466f70q.js → location-37c15ztt.js} +5 -5
- package/dist/chunks/{instruction-discovery-qhhs3wjj.js → location-37d4mgj3.js} +24 -24
- package/dist/chunks/{instruction-discovery-6zh9yw36.js → location-3e8nvsz7.js} +3 -3
- package/dist/chunks/{instruction-discovery-3hepkmqq.js → location-3hepkmqq.js} +1 -1
- package/dist/chunks/{instruction-discovery-mn6tycs6.js → location-3j92816q.js} +2 -2
- package/dist/chunks/{instruction-discovery-6c5cd6ez.js → location-3mgb105e.js} +9 -9
- package/dist/chunks/{instruction-discovery-3nnrz6f6.js → location-3nnrz6f6.js} +1 -1
- package/dist/chunks/{instruction-discovery-rtqr9ste.js → location-3sfq932m.js} +10 -10
- package/dist/chunks/{instruction-discovery-kb0avjr6.js → location-3wef9mrz.js} +8 -8
- package/dist/chunks/{instruction-discovery-1887s9ws.js → location-3y1df9hb.js} +3 -3
- package/dist/chunks/{instruction-discovery-vw33scy9.js → location-3yy2vhmn.js} +17 -17
- package/dist/chunks/{instruction-discovery-r41sfy63.js → location-40za9wsf.js} +6 -6
- package/dist/chunks/{instruction-discovery-pk22050n.js → location-42hxtx4a.js} +2 -2
- package/dist/chunks/{instruction-discovery-w76j0mqj.js → location-4bvc8sjz.js} +2 -2
- package/dist/chunks/{instruction-discovery-ekeaw6g8.js → location-4c6ksw65.js} +27 -27
- package/dist/chunks/{instruction-discovery-mbvnayvm.js → location-4fspmagn.js} +242 -103
- package/dist/chunks/{instruction-discovery-0kjn1fz0.js → location-4jbtvrw1.js} +14 -14
- package/dist/chunks/{instruction-discovery-f8fq6sgx.js → location-4kb4jvb8.js} +11 -11
- package/dist/chunks/{instruction-discovery-4v008n1t.js → location-4v008n1t.js} +1 -1
- package/dist/chunks/{instruction-discovery-4wn1snmt.js → location-4v3515yy.js} +32 -32
- package/dist/chunks/{instruction-discovery-4xvmh7wp.js → location-4xvmh7wp.js} +3 -3
- package/dist/chunks/{instruction-discovery-wh2p867q.js → location-4y92vxjf.js} +39 -39
- package/dist/chunks/{instruction-discovery-qz04j05z.js → location-584rjm98.js} +1 -1
- package/dist/chunks/{instruction-discovery-5m9w47nd.js → location-5m9w47nd.js} +1 -1
- package/dist/chunks/{instruction-discovery-8d991bzx.js → location-5nankzt7.js} +3 -3
- package/dist/chunks/{instruction-discovery-11xg13et.js → location-5qebhevh.js} +7 -7
- package/dist/chunks/{instruction-discovery-7m02jy4j.js → location-5ysrq0ad.js} +2 -2
- package/dist/chunks/{instruction-discovery-0rmtycpk.js → location-633qbm06.js} +10 -10
- package/dist/chunks/{instruction-discovery-20e5g7bx.js → location-6b66j3w1.js} +23 -23
- package/dist/chunks/{instruction-discovery-6esdw8yj.js → location-6esdw8yj.js} +1 -1
- package/dist/chunks/{instruction-discovery-3wvbe35v.js → location-6p8ga3wk.js} +13 -13
- package/dist/chunks/{instruction-discovery-43jry69q.js → location-6pe7vn7p.js} +13 -13
- package/dist/chunks/{instruction-discovery-6pjqjmy2.js → location-6pjqjmy2.js} +1 -1
- package/dist/chunks/{instruction-discovery-vp60xasa.js → location-6qtdkhme.js} +1 -1
- package/dist/chunks/{instruction-discovery-fhjfpzy5.js → location-6z79x2sm.js} +11 -11
- package/dist/chunks/{instruction-discovery-76cb1hcw.js → location-76cb1hcw.js} +1 -1
- package/dist/chunks/{instruction-discovery-zygdztbw.js → location-7bgh3hsv.js} +7 -7
- package/dist/chunks/{instruction-discovery-7bmhse3q.js → location-7bmhse3q.js} +1 -1
- package/dist/chunks/{instruction-discovery-d0bfceqm.js → location-7hk3fzbx.js} +27 -27
- package/dist/chunks/{instruction-discovery-ad4wbrpy.js → location-7jg3h9xc.js} +11 -11
- package/dist/chunks/{instruction-discovery-4x3py1rw.js → location-7jrmq8v4.js} +18 -18
- package/dist/chunks/{instruction-discovery-7fyd11se.js → location-7th4r57j.js} +12 -12
- package/dist/chunks/{instruction-discovery-c0emejqt.js → location-7vd4enbp.js} +13 -13
- package/dist/chunks/{instruction-discovery-7w2ypzdf.js → location-7w2ypzdf.js} +1 -1
- package/dist/chunks/{instruction-discovery-jsbhksmn.js → location-80cqk4v7.js} +13 -13
- package/dist/chunks/{instruction-discovery-2vnhppnj.js → location-81va5nb7.js} +25 -19
- package/dist/chunks/location-8230236v.js +257 -0
- package/dist/chunks/{instruction-discovery-4x6wmwcx.js → location-830bkp7y.js} +17 -17
- package/dist/chunks/{instruction-discovery-0txtbpzw.js → location-86439gfw.js} +30 -30
- package/dist/chunks/{instruction-discovery-rx7ecff6.js → location-89c7n5pz.js} +3 -3
- package/dist/chunks/{instruction-discovery-rjw99gz0.js → location-8bf8d73q.js} +9 -9
- package/dist/chunks/{instruction-discovery-4shrmavh.js → location-8c8xwrnt.js} +14 -14
- package/dist/chunks/{instruction-discovery-8jztxfpf.js → location-8jztxfpf.js} +1 -1
- package/dist/chunks/{instruction-discovery-76ncshtz.js → location-8vjz6zkc.js} +23 -23
- package/dist/chunks/{instruction-discovery-8wtp7s3z.js → location-8wtp7s3z.js} +1 -1
- package/dist/chunks/{instruction-discovery-91rj84md.js → location-91rj84md.js} +1 -1
- package/dist/chunks/{instruction-discovery-956c56jz.js → location-997dsrmm.js} +4 -4
- package/dist/chunks/{instruction-discovery-998yhzzq.js → location-998yhzzq.js} +3 -3
- package/dist/chunks/{instruction-discovery-1vdntpm3.js → location-9b28cy4d.js} +5 -5
- package/dist/chunks/{instruction-discovery-y8a8xdaa.js → location-9dxz0jcc.js} +9 -9
- package/dist/chunks/{instruction-discovery-fnw4y167.js → location-9mrr08ev.js} +4 -4
- package/dist/chunks/{instruction-discovery-w0ap69e3.js → location-9p7ryr2b.js} +7 -7
- package/dist/chunks/{instruction-discovery-jme6sax1.js → location-9s6wb0ev.js} +9 -9
- package/dist/chunks/{instruction-discovery-t8qa7zg5.js → location-9ypen6gf.js} +5 -5
- package/dist/chunks/{instruction-discovery-5091jnev.js → location-9zetw7am.js} +78 -78
- package/dist/chunks/{instruction-discovery-avzkbq4q.js → location-a5h3ke48.js} +43 -43
- package/dist/chunks/{instruction-discovery-e65cdmhb.js → location-a7hcemwv.js} +6 -6
- package/dist/chunks/{instruction-discovery-6y263vp8.js → location-afmnpta1.js} +5 -5
- package/dist/chunks/{instruction-discovery-x62216mf.js → location-aft2va8r.js} +11 -11
- package/dist/chunks/{instruction-discovery-e2mf0cbs.js → location-akfw3dm8.js} +25 -25
- package/dist/chunks/{instruction-discovery-c2sed5cq.js → location-axe3mf62.js} +3 -3
- package/dist/chunks/{instruction-discovery-ayjs7tqn.js → location-ayjs7tqn.js} +2 -2
- package/dist/chunks/{instruction-discovery-b0mv4wxm.js → location-b0mv4wxm.js} +2 -2
- package/dist/chunks/{instruction-discovery-2dh20r6m.js → location-b259twyp.js} +14 -14
- package/dist/chunks/{instruction-discovery-1x75wf9g.js → location-b29mbqx6.js} +5 -5
- package/dist/chunks/{instruction-discovery-cqmfkhmj.js → location-b46dzrwk.js} +34 -34
- package/dist/chunks/{instruction-discovery-b6vsg801.js → location-b6vsg801.js} +2 -2
- package/dist/chunks/{instruction-discovery-z81weg6a.js → location-b93307df.js} +24 -24
- package/dist/chunks/{instruction-discovery-zba5tm1j.js → location-bjhzkqyk.js} +4 -4
- package/dist/chunks/{instruction-discovery-f0st8ac1.js → location-bm60t44w.js} +3 -3
- package/dist/chunks/{instruction-discovery-bstexjd6.js → location-bstexjd6.js} +1 -1
- package/dist/chunks/{instruction-discovery-kj7e2tww.js → location-c34bh8hr.js} +105 -28
- package/dist/chunks/{instruction-discovery-c3cfh5w6.js → location-c3cfh5w6.js} +2 -2
- package/dist/chunks/{instruction-discovery-mt3ysty9.js → location-c8666r4c.js} +3 -3
- package/dist/chunks/{instruction-discovery-scaas24c.js → location-ckr4b3py.js} +31 -31
- package/dist/chunks/{instruction-discovery-znn5w31e.js → location-cp65cvxr.js} +9 -9
- package/dist/chunks/{instruction-discovery-v1wb27er.js → location-cxat4xx2.js} +31 -31
- package/dist/chunks/{instruction-discovery-ssfehs1z.js → location-d2887f8n.js} +4 -4
- package/dist/chunks/{instruction-discovery-d4v9tmah.js → location-d4v9tmah.js} +2 -2
- package/dist/chunks/{instruction-discovery-5hny5v5k.js → location-d5m0d1jd.js} +81 -81
- package/dist/chunks/{instruction-discovery-nttn14j9.js → location-ddwaa558.js} +4 -4
- package/dist/chunks/{instruction-discovery-y299mpjs.js → location-dg6zbqet.js} +48 -48
- package/dist/chunks/{instruction-discovery-3ffdjm8e.js → location-dgj49q4q.js} +10 -10
- package/dist/chunks/{instruction-discovery-gq24h8g9.js → location-dqc1xg2h.js} +15 -15
- package/dist/chunks/{instruction-discovery-ffdw0et2.js → location-dvpv1qqw.js} +3 -3
- package/dist/chunks/{instruction-discovery-2annm2pv.js → location-dxbw252c.js} +23 -18
- package/dist/chunks/{instruction-discovery-2m2g9ynh.js → location-e45fk36t.js} +4 -4
- package/dist/chunks/{instruction-discovery-t633519e.js → location-e6ke8dsh.js} +31 -31
- package/dist/chunks/{instruction-discovery-e834z07m.js → location-e834z07m.js} +1 -1
- package/dist/chunks/{instruction-discovery-ef5x83kb.js → location-ef5x83kb.js} +1 -1
- package/dist/chunks/{instruction-discovery-hyynj17b.js → location-eggkdbge.js} +1 -1
- package/dist/chunks/{instruction-discovery-7yv7aars.js → location-eh71ek0g.js} +68 -63
- package/dist/chunks/{instruction-discovery-nxsjqf5t.js → location-et9e0jv5.js} +11 -11
- package/dist/chunks/{instruction-discovery-scfq87m9.js → location-f7ma11rg.js} +6 -6
- package/dist/chunks/{instruction-discovery-kdmjmd4e.js → location-fcfxs1zj.js} +3 -3
- package/dist/chunks/{instruction-discovery-fffv3p7h.js → location-fffv3p7h.js} +1 -1
- package/dist/chunks/{instruction-discovery-1acn2yrp.js → location-fjngd7fj.js} +9 -9
- package/dist/chunks/{instruction-discovery-ewjr930z.js → location-fjnhz8nn.js} +4 -4
- package/dist/chunks/{instruction-discovery-k5dps1se.js → location-fphnwtmq.js} +11 -11
- package/dist/chunks/{instruction-discovery-jjbtbvzd.js → location-fqzd2d2r.js} +13 -13
- package/dist/chunks/{instruction-discovery-k61mxn43.js → location-g3avwj86.js} +11 -11
- package/dist/chunks/{instruction-discovery-g5h9c0rr.js → location-g5h9c0rr.js} +2 -2
- package/dist/chunks/{instruction-discovery-m37sd98t.js → location-g7esga4v.js} +7 -7
- package/dist/chunks/{instruction-discovery-n4jvz8kw.js → location-gb9gmc0j.js} +8 -8
- package/dist/chunks/{instruction-discovery-n5194rg1.js → location-ght5gt7k.js} +16 -16
- package/dist/chunks/{instruction-discovery-wkr28yqr.js → location-gnkrmvzs.js} +4 -4
- package/dist/chunks/{instruction-discovery-w194z9kg.js → location-h8rac0eh.js} +10 -10
- package/dist/chunks/{instruction-discovery-ta8jwj2a.js → location-hfkcnh3h.js} +16 -16
- package/dist/chunks/{instruction-discovery-p8t554mv.js → location-hgn7fvrd.js} +28 -28
- package/dist/chunks/{instruction-discovery-6z2tyrnm.js → location-hqgpx30z.js} +21 -21
- package/dist/chunks/{instruction-discovery-psq905b5.js → location-hwqvnpa6.js} +9 -9
- package/dist/chunks/{instruction-discovery-jzmsqkqv.js → location-hyvp8sn8.js} +1 -1
- package/dist/chunks/{instruction-discovery-k6hny6gd.js → location-hzsp1kxy.js} +18 -18
- package/dist/chunks/{instruction-discovery-j113cymg.js → location-j113cymg.js} +1 -1
- package/dist/chunks/{instruction-discovery-2cjmrnhq.js → location-j2cjg2qt.js} +11 -11
- package/dist/chunks/{instruction-discovery-ztzjzgcq.js → location-j6sw43tq.js} +12 -12
- package/dist/chunks/{instruction-discovery-x2c3sws5.js → location-j8pg8rcr.js} +22 -22
- package/dist/chunks/location-jbt1xm3n.js +523 -0
- package/dist/chunks/{instruction-discovery-7w0k7xvm.js → location-jdcya02q.js} +13 -13
- package/dist/chunks/{instruction-discovery-bwg9673r.js → location-jh9pmtvm.js} +16 -16
- package/dist/chunks/{instruction-discovery-jneg3k74.js → location-jneg3k74.js} +1 -1
- package/dist/chunks/{instruction-discovery-sm5tp0dc.js → location-jw4xm41e.js} +10 -10
- package/dist/chunks/{instruction-discovery-x2sbbjmw.js → location-jz6d5c41.js} +119 -119
- package/dist/chunks/{instruction-discovery-etwrvj6f.js → location-jznc3yn3.js} +11 -11
- package/dist/chunks/{instruction-discovery-5t4dhsbz.js → location-k6wybhe4.js} +30 -30
- package/dist/chunks/{instruction-discovery-jc512s3p.js → location-k732j073.js} +8 -8
- package/dist/chunks/{instruction-discovery-k814nvkf.js → location-k814nvkf.js} +1 -1
- package/dist/chunks/{instruction-discovery-wp4rg1a9.js → location-kb4gstwj.js} +5 -5
- package/dist/chunks/{instruction-discovery-7d1g1zxa.js → location-ke7vzy3f.js} +13 -12
- package/dist/chunks/location-khh5ttga.js +26 -0
- package/dist/chunks/{instruction-discovery-3z193f8y.js → location-kjb4x69f.js} +1 -1
- package/dist/chunks/{instruction-discovery-kmzgegqq.js → location-kmzgegqq.js} +1 -1
- package/dist/chunks/{instruction-discovery-v2dnm4n9.js → location-kp4ctdbn.js} +11 -11
- package/dist/chunks/{instruction-discovery-bzfg3f7z.js → location-ky7vvs7w.js} +23 -23
- package/dist/chunks/{instruction-discovery-jf30r1rb.js → location-m0gv7qej.js} +14 -14
- package/dist/chunks/{instruction-discovery-m1714858.js → location-m1714858.js} +1 -1
- package/dist/chunks/{instruction-discovery-ryq7zjd3.js → location-m5nnd4yj.js} +12 -12
- package/dist/chunks/{instruction-discovery-6j214bp7.js → location-m9ga4zyy.js} +9 -9
- package/dist/chunks/{instruction-discovery-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
- package/dist/chunks/{instruction-discovery-maspj1v3.js → location-maspj1v3.js} +1 -1
- package/dist/chunks/{instruction-discovery-y09thtp3.js → location-mh30raav.js} +4 -4
- package/dist/chunks/{instruction-discovery-5v9evq2g.js → location-mjey6v08.js} +6 -6
- package/dist/chunks/{instruction-discovery-mg3zv8ep.js → location-mx81xwtn.js} +23 -23
- package/dist/chunks/{instruction-discovery-n0p0277s.js → location-n0p0277s.js} +1 -1
- package/dist/chunks/{instruction-discovery-p3ram5kx.js → location-n1ryh798.js} +31 -31
- package/dist/chunks/{instruction-discovery-770pw0s1.js → location-nah043kf.js} +4 -4
- package/dist/chunks/{instruction-discovery-wbmymcea.js → location-nb3nrvbh.js} +8 -8
- package/dist/chunks/{instruction-discovery-m46e9dn8.js → location-nbvb24gq.js} +14 -14
- package/dist/chunks/{instruction-discovery-0mhrw39n.js → location-nes0ks30.js} +16 -16
- package/dist/chunks/{instruction-discovery-8k3r5dp0.js → location-nfdwtzhc.js} +25 -25
- package/dist/chunks/{instruction-discovery-cqxf2v2j.js → location-nm4377q9.js} +8 -8
- package/dist/chunks/{instruction-discovery-cgwzn4dm.js → location-nte6bvsd.js} +17 -17
- package/dist/chunks/{instruction-discovery-p015t6z3.js → location-p015t6z3.js} +2 -2
- package/dist/chunks/{instruction-discovery-a4b9rhwe.js → location-p184mqc5.js} +21 -14
- package/dist/chunks/{instruction-discovery-d63q5jb9.js → location-p894etz3.js} +44 -44
- package/dist/chunks/{instruction-discovery-pc1v25hk.js → location-pc1v25hk.js} +1 -1
- package/dist/chunks/{instruction-discovery-pknna89w.js → location-pknna89w.js} +1 -1
- package/dist/chunks/{instruction-discovery-hq055v4c.js → location-pt3agb94.js} +10 -10
- package/dist/chunks/{instruction-discovery-c1tsfj35.js → location-ptcpq2hv.js} +6 -6
- package/dist/chunks/{instruction-discovery-vfjveysg.js → location-q1rqw855.js} +5 -5
- package/dist/chunks/{instruction-discovery-1m4hc5mh.js → location-q55b1wrz.js} +13 -13
- package/dist/chunks/{instruction-discovery-kkh84317.js → location-q89bkvf2.js} +2 -2
- package/dist/chunks/{instruction-discovery-1cx70z4q.js → location-qbgwvbz8.js} +8 -8
- package/dist/chunks/{instruction-discovery-8mhma7yw.js → location-qbm0r1ap.js} +6 -5
- package/dist/chunks/{instruction-discovery-ygtqa21c.js → location-qyx1nkkd.js} +19 -19
- package/dist/chunks/{instruction-discovery-r0yr0wbs.js → location-r0yr0wbs.js} +1 -1
- package/dist/chunks/{instruction-discovery-55tcnysh.js → location-r1s8qxhz.js} +9 -9
- package/dist/chunks/{instruction-discovery-4n11yhw4.js → location-r20swzxr.js} +21 -21
- package/dist/chunks/{instruction-discovery-ddbr5e5j.js → location-r3083m8p.js} +22 -22
- package/dist/chunks/{instruction-discovery-6pg400w5.js → location-ran0pwn3.js} +17 -17
- package/dist/chunks/{instruction-discovery-t31xmjpq.js → location-raq1s93x.js} +21 -21
- package/dist/chunks/{instruction-discovery-rb9dy4dg.js → location-rb9dy4dg.js} +1 -1
- package/dist/chunks/location-rgyfs092.js +58 -0
- package/dist/chunks/{instruction-discovery-gcjdgkn2.js → location-rjnacbrz.js} +9 -9
- package/dist/chunks/{instruction-discovery-mfa5g8gf.js → location-rkdfvdar.js} +16 -16
- package/dist/chunks/{instruction-discovery-pthf9bv3.js → location-rkvk32bt.js} +10 -10
- package/dist/chunks/{instruction-discovery-rt5dr6hb.js → location-rt5dr6hb.js} +1 -1
- package/dist/chunks/{instruction-discovery-kr28pkn3.js → location-rttdb5jp.js} +36 -32
- package/dist/chunks/{instruction-discovery-y78a4wcp.js → location-rxz7t1tx.js} +21 -21
- package/dist/chunks/{instruction-discovery-r6ff3mpm.js → location-s1t9wfqz.js} +8 -8
- package/dist/chunks/{instruction-discovery-97cewran.js → location-s2pfznc4.js} +6 -6
- package/dist/chunks/{instruction-discovery-rh2kdvv3.js → location-s56jz2hb.js} +16 -16
- package/dist/chunks/{instruction-discovery-pytpe3gf.js → location-s9ty2h8k.js} +11 -11
- package/dist/chunks/{instruction-discovery-zspgb8vt.js → location-scdee33y.js} +2 -2
- package/dist/chunks/{instruction-discovery-6q77emv1.js → location-sk6vvdwr.js} +18 -18
- package/dist/chunks/{instruction-discovery-xac4ky40.js → location-snh71vez.js} +19 -19
- package/dist/chunks/{instruction-discovery-sqjzf8x2.js → location-sqjzf8x2.js} +1 -1
- package/dist/chunks/{instruction-discovery-7ayzy530.js → location-t09yj0zj.js} +4 -4
- package/dist/chunks/{instruction-discovery-exc8xa65.js → location-t35vpv8z.js} +22 -22
- package/dist/chunks/{instruction-discovery-0afbw91q.js → location-t6dn99ca.js} +23 -18
- package/dist/chunks/{instruction-discovery-b8mk3enz.js → location-t9sf4w0m.js} +11 -11
- package/dist/chunks/{instruction-discovery-tczq8hjw.js → location-tczq8hjw.js} +1 -1
- package/dist/chunks/{instruction-discovery-3p713cmj.js → location-tseqrb92.js} +37 -37
- package/dist/chunks/{instruction-discovery-tw8zr1ps.js → location-tw8zr1ps.js} +1 -1
- package/dist/chunks/{instruction-discovery-twv2r8f4.js → location-twv2r8f4.js} +2 -2
- package/dist/chunks/{instruction-discovery-pd3xbwyj.js → location-tx9vmxa7.js} +15 -15
- package/dist/chunks/{instruction-discovery-010690t7.js → location-txg5xg0c.js} +25 -25
- package/dist/chunks/{instruction-discovery-2p8pcvpp.js → location-v0ajt838.js} +10 -10
- package/dist/chunks/{instruction-discovery-mjatteds.js → location-v0h1q5gr.js} +18 -18
- package/dist/chunks/{instruction-discovery-me5bcav6.js → location-v2r1d0zg.js} +2 -2
- package/dist/chunks/{instruction-discovery-b974jjnj.js → location-v3q8ezdd.js} +13 -13
- package/dist/chunks/{instruction-discovery-nad4mkqt.js → location-v6h5bgwd.js} +8 -8
- package/dist/chunks/{instruction-discovery-vd3b3yk9.js → location-vd3b3yk9.js} +1 -1
- package/dist/chunks/{instruction-discovery-veqvce7d.js → location-veqvce7d.js} +1 -1
- package/dist/chunks/{instruction-discovery-08c8nzsh.js → location-vqpjc3nz.js} +15 -15
- package/dist/chunks/{instruction-discovery-5yzc6bj8.js → location-vxybbfew.js} +11 -11
- package/dist/chunks/{instruction-discovery-jzrtge32.js → location-w00s5rdr.js} +4 -4
- package/dist/chunks/{instruction-discovery-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
- package/dist/chunks/{instruction-discovery-62mdyzxb.js → location-w67r90k6.js} +5 -5
- package/dist/chunks/{instruction-discovery-fznmdakp.js → location-w687dnns.js} +4 -4
- package/dist/chunks/{instruction-discovery-wakvkjy4.js → location-wakvkjy4.js} +1 -1
- package/dist/chunks/{instruction-discovery-wd87259q.js → location-wd87259q.js} +1 -1
- package/dist/chunks/{instruction-discovery-7nepz6ee.js → location-wedh6qfb.js} +4 -4
- package/dist/chunks/{instruction-discovery-hdgh8tc2.js → location-wf8nwwfn.js} +13 -11
- package/dist/chunks/{instruction-discovery-p4az2c5k.js → location-wxy5qeqz.js} +11 -11
- package/dist/chunks/{instruction-discovery-a9n89zg4.js → location-x2adk3yy.js} +20 -20
- package/dist/chunks/{instruction-discovery-xg53n6nb.js → location-x3w3gr0t.js} +8 -8
- package/dist/chunks/{instruction-discovery-18b8n2mx.js → location-x6zjgj80.js} +9 -9
- package/dist/chunks/{instruction-discovery-v4gdxem8.js → location-xewrm1yq.js} +32 -32
- package/dist/chunks/{instruction-discovery-j035ke4x.js → location-xr94g6d3.js} +26 -26
- package/dist/chunks/{instruction-discovery-ffcwgx2p.js → location-xy22cvcr.js} +50 -50
- package/dist/chunks/{instruction-discovery-9hbqwfdp.js → location-xyswfhq2.js} +35 -35
- package/dist/chunks/{instruction-discovery-pmz5xcbe.js → location-xzb17nsd.js} +8 -8
- package/dist/chunks/{instruction-discovery-8a6bse1c.js → location-y2hbnz15.js} +24 -24
- package/dist/chunks/{instruction-discovery-y9awcm76.js → location-y9awcm76.js} +5 -5
- package/dist/chunks/{instruction-discovery-yb20nhc3.js → location-yb20nhc3.js} +1 -1
- package/dist/chunks/{instruction-discovery-ma4p4v89.js → location-ye1xrrbs.js} +18 -18
- package/dist/chunks/{instruction-discovery-kbp23r6j.js → location-ytsgm675.js} +7 -7
- package/dist/chunks/{instruction-discovery-tzjzgnfr.js → location-ytvhabzn.js} +10 -10
- package/dist/chunks/{instruction-discovery-x0kw00z1.js → location-yx8gesms.js} +10 -12
- package/dist/chunks/{instruction-discovery-mpx851pd.js → location-z06f5xk1.js} +23 -23
- package/dist/chunks/{instruction-discovery-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
- package/dist/chunks/{instruction-discovery-wcs0vwrk.js → location-z1f2n5q4.js} +20 -20
- package/dist/chunks/{instruction-discovery-hxbv21kt.js → location-z24fzt3x.js} +21 -21
- package/dist/chunks/{instruction-discovery-gwkpgrwq.js → location-z359x3zf.js} +17 -17
- package/dist/chunks/{instruction-discovery-z38nccrw.js → location-z38nccrw.js} +1 -1
- package/dist/chunks/{instruction-discovery-7d2ezwbt.js → location-zakhs7qb.js} +20 -20
- package/dist/chunks/{instruction-discovery-98t435zw.js → location-zfwjf24c.js} +8 -8
- package/dist/chunks/{instruction-discovery-zkg84ctx.js → location-zkg84ctx.js} +1 -1
- package/dist/chunks/{instruction-discovery-w7zjqt6n.js → location-zkgq49d1.js} +4 -4
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +212 -212
- 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 +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +114 -114
- 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 +117 -117
- 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 +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +77 -77
- 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 +154 -86
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -369
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- 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 +72 -72
- package/dist/file-access.js +102 -102
- 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 +225 -225
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +104 -104
- package/dist/form.js +74 -74
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +107 -107
- 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 -360
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +81 -81
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +156 -156
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +358 -357
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +114 -106
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +138 -138
- package/dist/mcp/oauth.js +86 -80
- package/dist/mcp/socket-client.js +71 -0
- 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 +101 -101
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev.js +101 -101
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +78 -78
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +333 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +115 -115
- 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 +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai-context-caps.js +97 -0
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +103 -103
- 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 +171 -170
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -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 +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- 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 +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +11 -4
- package/dist/pty.js +91 -91
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +79 -79
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +136 -136
- package/dist/session/context.js +164 -164
- package/dist/session/diff.js +90 -90
- 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 +221 -221
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +164 -164
- 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 +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +132 -132
- 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 +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +102 -101
- package/dist/session/runner/publish-llm-event.js +116 -116
- package/dist/session/runner/retry.js +3 -3
- 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 +165 -165
- 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 +212 -212
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +164 -164
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- 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 +13 -13
- package/dist/shell.js +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +93 -93
- 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 +139 -139
- 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 +126 -126
- package/dist/tool/plugin/mcp-resource.js +126 -126
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +115 -115
- package/dist/tool/plugin/websearch.js +114 -114
- 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/types/database/v1-migration.bun.d.ts +4 -2
- package/dist/types/github-copilot/responses/openai-responses-language-model.d.ts +2 -2
- package/dist/types/image/photon-wasm.bun.d.ts +1 -1
- package/dist/types/job.d.ts +1 -4
- package/dist/types/mcp/client.d.ts +8 -281
- package/dist/types/mcp/index.d.ts +8 -1
- package/dist/types/mcp/socket-client.d.ts +28 -0
- package/dist/types/permission.d.ts +0 -1
- package/dist/types/persistent-pty/daemon.d.ts +0 -6
- package/dist/types/plugin/provider/openai-context-caps.d.ts +2 -0
- package/dist/types/project.d.ts +6 -2
- package/dist/types/pty/ticket.d.ts +7 -1
- package/dist/types/session/compaction.d.ts +7 -0
- package/dist/types/session/diff.d.ts +0 -1
- package/dist/types/session/error.d.ts +6 -16
- package/dist/types/session/history.d.ts +269 -269
- package/dist/types/session/inbox.d.ts +1 -1
- package/dist/types/session/runner/model.d.ts +0 -1
- package/dist/types/session/schema.d.ts +6 -12
- package/dist/types/session/stats.d.ts +12 -11
- package/dist/types/session/store.d.ts +0 -6
- package/dist/types/session/transfer.d.ts +19 -25
- package/dist/types/session.d.ts +0 -6
- package/dist/types/shell/parser-wasm.bun.d.ts +3 -3
- package/dist/types/tool/plugin/opencode.d.ts +0 -2
- package/dist/types/tool/plugin/subagent.d.ts +0 -2
- package/dist/types/v1/config/migrate.d.ts +1 -1
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- 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 +1 -1
- 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 +90 -90
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +94 -94
- package/package.json +13 -12
- package/dist/chunks/instruction-discovery-8wc7jg0k.js +0 -26
- package/dist/chunks/instruction-discovery-grzehpz7.js +0 -18
- package/dist/chunks/instruction-discovery-h50tsds5.js +0 -257
- package/dist/chunks/instruction-discovery-zyp4ce26.js +0 -523
- /package/dist/chunks/{instruction-discovery-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{instruction-discovery-0zkw76rk.js → location-0zkw76rk.js} +0 -0
- /package/dist/chunks/{instruction-discovery-17cy0kzp.js → location-17cy0kzp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-1cnp2v09.js → location-1cnp2v09.js} +0 -0
- /package/dist/chunks/{instruction-discovery-24dcb14g.js → location-24dcb14g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2710q6r3.js → location-2710q6r3.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2bv980vf.js → location-2bv980vf.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-359p4xyc.js → location-359p4xyc.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3asan66x.js → location-3asan66x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3v8g72cx.js → location-3v8g72cx.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3wcehsnq.js → location-3wcehsnq.js} +0 -0
- /package/dist/chunks/{instruction-discovery-43n2bw4t.js → location-43n2bw4t.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4knz6hnm.js → location-4knz6hnm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4y7fprxs.js → location-4y7fprxs.js} +0 -0
- /package/dist/chunks/{instruction-discovery-53557ph1.js → location-53557ph1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-550bvhaj.js → location-550bvhaj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-5fjb7ams.js → location-5fjb7ams.js} +0 -0
- /package/dist/chunks/{instruction-discovery-5qd3pb7m.js → location-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{instruction-discovery-6prwharc.js → location-6prwharc.js} +0 -0
- /package/dist/chunks/{instruction-discovery-6q2bdcd1.js → location-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-7akdwqpd.js → location-7akdwqpd.js} +0 -0
- /package/dist/chunks/{instruction-discovery-7m9af43g.js → location-7m9af43g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-822emrt2.js → location-822emrt2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-84wd9syh.js → location-84wd9syh.js} +0 -0
- /package/dist/chunks/{instruction-discovery-88xbtdfr.js → location-88xbtdfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-8n3pysct.js → location-8n3pysct.js} +0 -0
- /package/dist/chunks/{instruction-discovery-8wj87zfr.js → location-8wj87zfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-9a4afbnw.js → location-9a4afbnw.js} +0 -0
- /package/dist/chunks/{instruction-discovery-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{instruction-discovery-a058387c.js → location-a058387c.js} +0 -0
- /package/dist/chunks/{instruction-discovery-a6k6eb26.js → location-a6k6eb26.js} +0 -0
- /package/dist/chunks/{instruction-discovery-af5trqkr.js → location-af5trqkr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-afrmfg78.js → location-afrmfg78.js} +0 -0
- /package/dist/chunks/{instruction-discovery-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{instruction-discovery-atq7p7m5.js → location-atq7p7m5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cf4snx6d.js → location-cf4snx6d.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-d9fn303g.js → location-d9fn303g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dajrwvna.js → location-dajrwvna.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dap0rakb.js → location-dap0rakb.js} +0 -0
- /package/dist/chunks/{instruction-discovery-df08tz66.js → location-df08tz66.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dy18nga0.js → location-dy18nga0.js} +0 -0
- /package/dist/chunks/{instruction-discovery-e5kj55wp.js → location-e5kj55wp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-e73j6tqm.js → location-e73j6tqm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ec1grn59.js → location-ec1grn59.js} +0 -0
- /package/dist/chunks/{instruction-discovery-eh3zwz77.js → location-eh3zwz77.js} +0 -0
- /package/dist/chunks/{instruction-discovery-emrn6kk6.js → location-emrn6kk6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-f0mxakyp.js → location-f0mxakyp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{instruction-discovery-faypxj3z.js → location-faypxj3z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-fd410y7t.js → location-fd410y7t.js} +0 -0
- /package/dist/chunks/{instruction-discovery-g4wezp1m.js → location-g4wezp1m.js} +0 -0
- /package/dist/chunks/{instruction-discovery-g86h250q.js → location-g86h250q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-gebd4c9n.js → location-gebd4c9n.js} +0 -0
- /package/dist/chunks/{instruction-discovery-gftt206x.js → location-gftt206x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-hcxmzztb.js → location-hcxmzztb.js} +0 -0
- /package/dist/chunks/{instruction-discovery-hk9envan.js → location-hk9envan.js} +0 -0
- /package/dist/chunks/{instruction-discovery-j2ntwpah.js → location-j2ntwpah.js} +0 -0
- /package/dist/chunks/{instruction-discovery-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jjkms2e6.js → location-jjkms2e6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jze0r7bz.js → location-jze0r7bz.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-m18g726c.js → location-m18g726c.js} +0 -0
- /package/dist/chunks/{instruction-discovery-mp448xyj.js → location-mp448xyj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-msx8hqn2.js → location-msx8hqn2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-n05xt0ee.js → location-n05xt0ee.js} +0 -0
- /package/dist/chunks/{instruction-discovery-n3j8tn72.js → location-n3j8tn72.js} +0 -0
- /package/dist/chunks/{instruction-discovery-njntx4h6.js → location-njntx4h6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-pkyv6v7h.js → location-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-q3sfg36h.js → location-q3sfg36h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-q74kybfr.js → location-q74kybfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qaymkmh1.js → location-qaymkmh1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qb87gjwd.js → location-qb87gjwd.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qfa1cgps.js → location-qfa1cgps.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qg3g05ea.js → location-qg3g05ea.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qrg20bc0.js → location-qrg20bc0.js} +0 -0
- /package/dist/chunks/{instruction-discovery-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ssg3fenm.js → location-ssg3fenm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ve7vex1e.js → location-ve7vex1e.js} +0 -0
- /package/dist/chunks/{instruction-discovery-w803qqfp.js → location-w803qqfp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wer8tq1h.js → location-wer8tq1h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wjj7prxr.js → location-wjj7prxr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wtztk69x.js → location-wtztk69x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-x0ckcb58.js → location-x0ckcb58.js} +0 -0
- /package/dist/chunks/{instruction-discovery-x61499pn.js → location-x61499pn.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y44na4kk.js → location-y44na4kk.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y8f7s663.js → location-y8f7s663.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ym463w8f.js → location-ym463w8f.js} +0 -0
- /package/dist/chunks/{instruction-discovery-z5v4ffb3.js → location-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{instruction-discovery-z9919s4g.js → location-z9919s4g.js} +0 -0
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service51,
|
|
3
|
+
node53,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-9dxz0jcc.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service48,
|
|
8
|
+
node50
|
|
9
|
+
} from "./location-s2pfznc4.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service15
|
|
12
|
+
} from "./location-37d4mgj3.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-8230236v.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service51, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
27
27
|
const finish = Effect.suspend(() => {
|
|
28
28
|
if (Exit.isSuccess(exit)) {
|
|
29
29
|
return Effect.gen(function* () {
|
|
30
|
-
const lifecycle = Context.get(exit.value,
|
|
30
|
+
const lifecycle = Context.get(exit.value, Service15);
|
|
31
31
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
32
32
|
return yield* lifecycle.shutdown;
|
|
33
33
|
build.close = lifecycle.shutdown;
|
|
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
54
54
|
}).pipe(Effect.uninterruptible)
|
|
55
55
|
};
|
|
56
56
|
const bindings = [
|
|
57
|
-
|
|
57
|
+
node50.replace(Layer.succeed(Service48, {
|
|
58
58
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
59
59
|
})),
|
|
60
60
|
...replacements,
|
|
61
|
-
|
|
61
|
+
node53.replace(Layer.succeed(Service51, map))
|
|
62
62
|
];
|
|
63
63
|
return map;
|
|
64
64
|
}));
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info18,
|
|
6
|
+
ID8,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-z24fzt3x.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service58
|
|
11
|
+
} from "./location-4v3515yy.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
17
|
+
var exports_skill = {};
|
|
18
|
+
__export(exports_skill, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin16,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
|
-
SkillPlugin: () =>
|
|
23
|
+
SkillPlugin: () => exports_skill
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Effect } from "effect";
|
|
@@ -127,6 +127,11 @@ This configuration is distinct from \`cli.json\`. Use the
|
|
|
127
127
|
[CLI settings reference](https://opencode.ai/v2/docs/cli/config) for terminal
|
|
128
128
|
preferences, especially themes and keybindings.
|
|
129
129
|
|
|
130
|
+
Config changes apply without a restart. OpenCode watches config files and
|
|
131
|
+
reloads agents, commands, skills, MCP servers, and plugins after a save. The TUI
|
|
132
|
+
does the same for \`cli.json\`. To force a full reload, use \`/reload\`. Don't tell
|
|
133
|
+
the user to restart OpenCode after editing config.
|
|
134
|
+
|
|
130
135
|
Do not guess field names or shapes. Fetch the V2 configuration guide and its
|
|
131
136
|
linked topic guide as the source of truth, and preserve unrelated settings when
|
|
132
137
|
editing an existing file. Keep the published \`$schema\` URL in configuration
|
|
@@ -197,7 +202,8 @@ to a background OpenCode service, which owns sessions, configuration, plugins,
|
|
|
197
202
|
permissions, and tool execution.
|
|
198
203
|
|
|
199
204
|
OpenCode normally discovers or starts the shared background service
|
|
200
|
-
automatically.
|
|
205
|
+
automatically. Restart it only if it is stuck or unhealthy, not to apply
|
|
206
|
+
configuration changes:
|
|
201
207
|
|
|
202
208
|
\`\`\`sh
|
|
203
209
|
opencode service restart
|
|
@@ -424,20 +430,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
424
430
|
var ReportContent2 = report_default;
|
|
425
431
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
426
432
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
427
|
-
var
|
|
433
|
+
var Plugin16 = define({
|
|
428
434
|
id: "opencode.skill",
|
|
429
435
|
effect: Effect.fn(function* (ctx) {
|
|
430
436
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
431
437
|
yield* ctx.skill.transform((editor) => {
|
|
432
|
-
editor.add(
|
|
433
|
-
id:
|
|
438
|
+
editor.add(Info18.make({
|
|
439
|
+
id: ID8.make("opencode"),
|
|
434
440
|
name: Name2.make("OpenCode"),
|
|
435
441
|
description: OpencodeDescription2,
|
|
436
442
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
437
443
|
content: OpencodeContent2
|
|
438
444
|
}));
|
|
439
|
-
editor.add(
|
|
440
|
-
id:
|
|
445
|
+
editor.add(Info18.make({
|
|
446
|
+
id: ID8.make("report"),
|
|
441
447
|
name: Name2.make("Report"),
|
|
442
448
|
description: REPORT_DESCRIPTION,
|
|
443
449
|
path: AbsolutePath2.make("/builtin/report.md"),
|
|
@@ -466,7 +472,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
466
472
|
`);
|
|
467
473
|
});
|
|
468
474
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
469
|
-
const config = yield*
|
|
475
|
+
const config = yield* Service58;
|
|
470
476
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
471
477
|
});
|
|
472
478
|
function terminal() {
|
|
@@ -480,4 +486,4 @@ function shell() {
|
|
|
480
486
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
481
487
|
}
|
|
482
488
|
|
|
483
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
489
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin16, exports_skill };
|
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
import {
|
|
2
|
+
node79
|
|
3
|
+
} from "./location-dqc1xg2h.js";
|
|
4
|
+
import {
|
|
5
|
+
node83
|
|
6
|
+
} from "./location-w67r90k6.js";
|
|
7
|
+
import {
|
|
8
|
+
node82
|
|
9
|
+
} from "./location-dgj49q4q.js";
|
|
10
|
+
import {
|
|
11
|
+
node86,
|
|
12
|
+
boundNode2
|
|
13
|
+
} from "./location-5ysrq0ad.js";
|
|
14
|
+
import {
|
|
15
|
+
node81
|
|
16
|
+
} from "./location-ght5gt7k.js";
|
|
17
|
+
import {
|
|
18
|
+
node73
|
|
19
|
+
} from "./location-3sfq932m.js";
|
|
20
|
+
import {
|
|
21
|
+
node74
|
|
22
|
+
} from "./location-6b66j3w1.js";
|
|
23
|
+
import {
|
|
24
|
+
node47
|
|
25
|
+
} from "./location-snh71vez.js";
|
|
26
|
+
import {
|
|
27
|
+
configured8,
|
|
28
|
+
node60
|
|
29
|
+
} from "./location-4v3515yy.js";
|
|
30
|
+
import {
|
|
31
|
+
node62
|
|
32
|
+
} from "./location-r20swzxr.js";
|
|
33
|
+
import {
|
|
34
|
+
node19
|
|
35
|
+
} from "./location-v3q8ezdd.js";
|
|
36
|
+
import {
|
|
37
|
+
node85
|
|
38
|
+
} from "./location-wxy5qeqz.js";
|
|
39
|
+
import {
|
|
40
|
+
node55
|
|
41
|
+
} from "./location-rxz7t1tx.js";
|
|
42
|
+
import {
|
|
43
|
+
DirectoryNotFoundError2,
|
|
44
|
+
node54
|
|
45
|
+
} from "./location-7hk3fzbx.js";
|
|
46
|
+
import {
|
|
47
|
+
node72
|
|
48
|
+
} from "./location-xewrm1yq.js";
|
|
49
|
+
import {
|
|
50
|
+
node71
|
|
51
|
+
} from "./location-mx81xwtn.js";
|
|
52
|
+
import {
|
|
53
|
+
node27
|
|
54
|
+
} from "./location-hzsp1kxy.js";
|
|
55
|
+
import {
|
|
56
|
+
node68
|
|
57
|
+
} from "./location-1qtv120j.js";
|
|
58
|
+
import {
|
|
59
|
+
node42
|
|
60
|
+
} from "./location-c34bh8hr.js";
|
|
61
|
+
import {
|
|
62
|
+
Service48,
|
|
63
|
+
node50
|
|
64
|
+
} from "./location-s2pfznc4.js";
|
|
65
|
+
import {
|
|
66
|
+
node34
|
|
67
|
+
} from "./location-jdcya02q.js";
|
|
68
|
+
import {
|
|
69
|
+
node80
|
|
70
|
+
} from "./location-v6h5bgwd.js";
|
|
71
|
+
import {
|
|
72
|
+
node76
|
|
73
|
+
} from "./location-tseqrb92.js";
|
|
74
|
+
import {
|
|
75
|
+
node51
|
|
76
|
+
} from "./location-p184mqc5.js";
|
|
77
|
+
import {
|
|
78
|
+
configured5,
|
|
79
|
+
node46
|
|
80
|
+
} from "./location-2bymr7vt.js";
|
|
81
|
+
import {
|
|
82
|
+
node38
|
|
83
|
+
} from "./location-rkvk32bt.js";
|
|
84
|
+
import {
|
|
85
|
+
node67
|
|
86
|
+
} from "./location-j8pg8rcr.js";
|
|
87
|
+
import {
|
|
88
|
+
node65
|
|
89
|
+
} from "./location-s9ty2h8k.js";
|
|
90
|
+
import {
|
|
91
|
+
node41
|
|
92
|
+
} from "./location-tx9vmxa7.js";
|
|
93
|
+
import {
|
|
94
|
+
node40
|
|
95
|
+
} from "./location-xyswfhq2.js";
|
|
96
|
+
import {
|
|
97
|
+
node43
|
|
98
|
+
} from "./location-x2adk3yy.js";
|
|
99
|
+
import {
|
|
100
|
+
node37
|
|
101
|
+
} from "./location-fqzd2d2r.js";
|
|
102
|
+
import {
|
|
103
|
+
node75
|
|
104
|
+
} from "./location-z24fzt3x.js";
|
|
105
|
+
import {
|
|
106
|
+
node33
|
|
107
|
+
} from "./location-nbvb24gq.js";
|
|
108
|
+
import {
|
|
109
|
+
node32
|
|
110
|
+
} from "./location-9zetw7am.js";
|
|
111
|
+
import {
|
|
112
|
+
node44
|
|
113
|
+
} from "./location-txg5xg0c.js";
|
|
114
|
+
import {
|
|
115
|
+
node59
|
|
116
|
+
} from "./location-sk6vvdwr.js";
|
|
117
|
+
import {
|
|
118
|
+
node57
|
|
119
|
+
} from "./location-4y92vxjf.js";
|
|
120
|
+
import {
|
|
121
|
+
node25
|
|
122
|
+
} from "./location-4kb4jvb8.js";
|
|
123
|
+
import {
|
|
124
|
+
node24
|
|
125
|
+
} from "./location-830bkp7y.js";
|
|
126
|
+
import {
|
|
127
|
+
node21
|
|
128
|
+
} from "./location-nes0ks30.js";
|
|
129
|
+
import {
|
|
130
|
+
node23
|
|
131
|
+
} from "./location-b259twyp.js";
|
|
132
|
+
import {
|
|
133
|
+
node20
|
|
134
|
+
} from "./location-hfkcnh3h.js";
|
|
135
|
+
import {
|
|
136
|
+
node6
|
|
137
|
+
} from "./location-b93307df.js";
|
|
138
|
+
import {
|
|
139
|
+
Service15,
|
|
140
|
+
node17
|
|
141
|
+
} from "./location-37d4mgj3.js";
|
|
142
|
+
import {
|
|
143
|
+
node16
|
|
144
|
+
} from "./location-x6zjgj80.js";
|
|
145
|
+
import {
|
|
146
|
+
node3,
|
|
147
|
+
bound2
|
|
148
|
+
} from "./location-kmzgegqq.js";
|
|
149
|
+
import {
|
|
150
|
+
node10
|
|
151
|
+
} from "./location-4fspmagn.js";
|
|
152
|
+
import {
|
|
153
|
+
node13
|
|
154
|
+
} from "./location-rkdfvdar.js";
|
|
155
|
+
import {
|
|
156
|
+
node2
|
|
157
|
+
} from "./location-ckr4b3py.js";
|
|
158
|
+
import {
|
|
159
|
+
node18
|
|
160
|
+
} from "./location-z359x3zf.js";
|
|
161
|
+
import {
|
|
162
|
+
node8
|
|
163
|
+
} from "./location-zakhs7qb.js";
|
|
164
|
+
import {
|
|
165
|
+
node7
|
|
166
|
+
} from "./location-eh71ek0g.js";
|
|
167
|
+
import {
|
|
168
|
+
__export
|
|
169
|
+
} from "./location-9rqn6x4v.js";
|
|
170
|
+
|
|
171
|
+
// src/instance.ts
|
|
172
|
+
var exports_instance = {};
|
|
173
|
+
__export(exports_instance, {
|
|
174
|
+
Instance: () => exports_instance,
|
|
175
|
+
Service: () => Service48,
|
|
176
|
+
graph: () => graph2,
|
|
177
|
+
layer: () => layer2,
|
|
178
|
+
node: () => node50
|
|
179
|
+
});
|
|
180
|
+
import { Context, Effect, Layer } from "effect";
|
|
181
|
+
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
182
|
+
import { Node } from "@opencode/util/effect/app-node";
|
|
183
|
+
var nodes = [
|
|
184
|
+
node86,
|
|
185
|
+
node17,
|
|
186
|
+
node62,
|
|
187
|
+
node60,
|
|
188
|
+
node79,
|
|
189
|
+
node47,
|
|
190
|
+
node43,
|
|
191
|
+
node25,
|
|
192
|
+
node21,
|
|
193
|
+
node82,
|
|
194
|
+
node81,
|
|
195
|
+
node74,
|
|
196
|
+
node72,
|
|
197
|
+
node73,
|
|
198
|
+
node20,
|
|
199
|
+
node80,
|
|
200
|
+
node3,
|
|
201
|
+
node2,
|
|
202
|
+
node23,
|
|
203
|
+
node55,
|
|
204
|
+
node54,
|
|
205
|
+
node59,
|
|
206
|
+
node18,
|
|
207
|
+
node57,
|
|
208
|
+
node75,
|
|
209
|
+
node38,
|
|
210
|
+
node46,
|
|
211
|
+
node16,
|
|
212
|
+
node19,
|
|
213
|
+
node85,
|
|
214
|
+
node42,
|
|
215
|
+
node76,
|
|
216
|
+
node67,
|
|
217
|
+
node65,
|
|
218
|
+
node68,
|
|
219
|
+
node33,
|
|
220
|
+
node37,
|
|
221
|
+
node34,
|
|
222
|
+
node83,
|
|
223
|
+
node71,
|
|
224
|
+
node27,
|
|
225
|
+
node41,
|
|
226
|
+
node40,
|
|
227
|
+
node13,
|
|
228
|
+
node51,
|
|
229
|
+
node10,
|
|
230
|
+
node8,
|
|
231
|
+
node32,
|
|
232
|
+
node44,
|
|
233
|
+
node7,
|
|
234
|
+
node24,
|
|
235
|
+
node6
|
|
236
|
+
];
|
|
237
|
+
var graph2 = LayerNode.group(nodes);
|
|
238
|
+
var vanillaReplacements = [
|
|
239
|
+
node60.replace(configured8({ project: false, global: false })),
|
|
240
|
+
node46.replace(configured5({ project: false, global: false }))
|
|
241
|
+
];
|
|
242
|
+
function layer2(ref, options = {}) {
|
|
243
|
+
const startedAt = performance.now();
|
|
244
|
+
const replacements = [
|
|
245
|
+
...options.discovery === false ? vanillaReplacements : [],
|
|
246
|
+
...options.replacements ?? [],
|
|
247
|
+
node86.replace(boundNode2(ref)),
|
|
248
|
+
node3.replace(bound2(options.plugins ?? []))
|
|
249
|
+
];
|
|
250
|
+
return LayerNode.compile(graph2, { replacements, shared: Node.tags.values.global }).pipe(Layer.catchCause((cause) => Layer.unwrap(Effect.failCause(cause).pipe(Effect.catch((error) => error instanceof DirectoryNotFoundError2 ? Effect.fail(error) : Effect.die(error))))), Layer.tap((context) => Effect.addFinalizer(() => Context.get(context, Service15).shutdown)), Layer.tap(() => Effect.logInfo("location services booted", {
|
|
251
|
+
directory: ref.directory,
|
|
252
|
+
workspaceID: ref.workspaceID,
|
|
253
|
+
durationMs: Math.round(performance.now() - startedAt)
|
|
254
|
+
})));
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
export { graph2, layer2, exports_instance };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-wedh6qfb.js";
|
|
5
5
|
import {
|
|
6
6
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-rb9dy4dg.js";
|
|
10
10
|
import {
|
|
11
11
|
root2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-ke7vzy3f.js";
|
|
13
13
|
import {
|
|
14
14
|
Service82,
|
|
15
15
|
node86
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-5ysrq0ad.js";
|
|
17
17
|
import {
|
|
18
18
|
reconcile2,
|
|
19
19
|
create3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-vd3b3yk9.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/vcs.ts
|
|
26
26
|
var exports_vcs = {};
|
|
@@ -29,18 +29,18 @@ __export(exports_vcs, {
|
|
|
29
29
|
BranchList: () => BranchList2,
|
|
30
30
|
DiffError: () => DiffError2,
|
|
31
31
|
FileStatus: () => FileStatus2,
|
|
32
|
-
Info: () =>
|
|
32
|
+
Info: () => Info6,
|
|
33
33
|
InitializeError: () => InitializeError2,
|
|
34
34
|
Mode: () => Mode2,
|
|
35
|
-
Service: () =>
|
|
35
|
+
Service: () => Service21,
|
|
36
36
|
Vcs: () => exports_vcs,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node24
|
|
38
38
|
});
|
|
39
39
|
import path from "path";
|
|
40
40
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
41
41
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
42
42
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
43
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
43
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info6, Mode as Mode2 } from "@opencode/schema/vcs";
|
|
44
44
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
45
45
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
46
46
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -54,9 +54,9 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
|
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service21 extends Context.Service()("@opencode/Vcs") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
59
|
+
var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
60
60
|
const fs = yield* FSUtil.Service;
|
|
61
61
|
const location = yield* Service82;
|
|
62
62
|
const bus = yield* Service85;
|
|
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
71
71
|
canonical: location.project.canonical,
|
|
72
72
|
...vcs ? { store: vcs.store } : {}
|
|
73
73
|
};
|
|
74
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
74
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info6));
|
|
75
75
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
76
76
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
77
77
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
129
129
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
130
130
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
131
131
|
}
|
|
132
|
-
return
|
|
132
|
+
return Service21.of({
|
|
133
133
|
transform: state.transform,
|
|
134
134
|
reload: state.reload,
|
|
135
135
|
initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
|
|
@@ -187,10 +187,10 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
187
187
|
})
|
|
188
188
|
});
|
|
189
189
|
}));
|
|
190
|
-
var
|
|
191
|
-
service:
|
|
190
|
+
var node24 = makeLocationNode({
|
|
191
|
+
service: Service21,
|
|
192
192
|
layer,
|
|
193
193
|
deps: [FSUtil.node, node86, node89]
|
|
194
194
|
});
|
|
195
195
|
|
|
196
|
-
export { Base2, BranchList2, FileStatus2,
|
|
196
|
+
export { Base2, BranchList2, FileStatus2, Info6, Mode2, DiffError2, InitializeError2, Service21, node24, exports_vcs };
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service60
|
|
3
|
+
} from "./location-r20swzxr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service17,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-v3q8ezdd.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service81
|
|
11
|
+
} from "./location-wxy5qeqz.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service72
|
|
14
|
+
} from "./location-tseqrb92.js";
|
|
15
15
|
import {
|
|
16
16
|
Service14
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-x6zjgj80.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input7,
|
|
29
|
+
Output: () => Output5,
|
|
30
|
+
Plugin: () => Plugin43,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name7,
|
|
33
|
+
toModelContent: () => toModelContent4
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name7 = "write";
|
|
39
|
+
var Input7 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output5 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent4 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin43 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
55
|
const access = yield* Service14;
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
56
|
+
const fileMutation = yield* Service17;
|
|
57
|
+
const environment = yield* Service60;
|
|
58
|
+
const formatter = yield* Service81;
|
|
59
|
+
const permission = yield* Service72;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name7,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input7,
|
|
69
|
+
output: Output5,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent4(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name7, Input7, Output5, toModelContent4, Plugin43, exports_write };
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-hyvp8sn8.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
9
|
make22,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-3y1df9hb.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|