@opencode/core 0.0.0-dev-20567 → 0.0.0-dev-20569
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 +77 -77
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{event-logger-8hkfkb27.js → rpc-03xyy9gs.js} +5 -5
- package/dist/chunks/{event-logger-w5zzhgd0.js → rpc-04j0x0ww.js} +6 -6
- package/dist/chunks/{event-logger-d3g62185.js → rpc-05b7j7nc.js} +18 -18
- package/dist/chunks/{event-logger-1z1k0k0m.js → rpc-07qspjr9.js} +13 -13
- package/dist/chunks/{event-logger-831hsqrm.js → rpc-098wjtq5.js} +31 -31
- package/dist/chunks/{event-logger-afh6rxv0.js → rpc-0c0qx5qx.js} +14 -14
- package/dist/chunks/{event-logger-51p4vv1x.js → rpc-0er21fhz.js} +21 -21
- package/dist/chunks/{event-logger-kae7mtr8.js → rpc-0fnwcstt.js} +8 -8
- package/dist/chunks/{event-logger-anq72g8v.js → rpc-0m2861xh.js} +2 -2
- package/dist/chunks/{event-logger-5aze7snc.js → rpc-0m8xe625.js} +10 -10
- package/dist/chunks/{event-logger-0paq2nw3.js → rpc-0paq2nw3.js} +1 -1
- package/dist/chunks/{event-logger-ygdna4kr.js → rpc-0r3c1bmw.js} +5 -5
- package/dist/chunks/{event-logger-0vbcp93d.js → rpc-0vbcp93d.js} +2 -2
- package/dist/chunks/{event-logger-73kdj4zj.js → rpc-0xezjjjn.js} +7 -7
- package/dist/chunks/{event-logger-806fnher.js → rpc-0xrnfvwp.js} +28 -28
- package/dist/chunks/{event-logger-mrdvawve.js → rpc-1133tj20.js} +22 -22
- package/dist/chunks/{event-logger-4rz6h4kd.js → rpc-1as3daqx.js} +5 -5
- package/dist/chunks/{event-logger-1dazxqgg.js → rpc-1dazxqgg.js} +2 -2
- package/dist/chunks/{event-logger-1dvck2a7.js → rpc-1dvck2a7.js} +2 -2
- package/dist/chunks/{event-logger-7mk2zvb1.js → rpc-1kmjk8kg.js} +13 -13
- package/dist/chunks/{event-logger-21v1hpxm.js → rpc-1ngv9tv8.js} +12 -12
- package/dist/chunks/{event-logger-y5ay4ksy.js → rpc-1q09qgwy.js} +6 -6
- package/dist/chunks/{event-logger-q5yjstm4.js → rpc-1qaky3xs.js} +29 -29
- package/dist/chunks/{event-logger-f9kgxdee.js → rpc-1rvbgkgd.js} +3 -3
- package/dist/chunks/{event-logger-6z2jg7m4.js → rpc-20k6bs8s.js} +11 -11
- package/dist/chunks/{event-logger-0fbvrdy5.js → rpc-26frdzsg.js} +5 -5
- package/dist/chunks/{event-logger-wxmz76ec.js → rpc-28ysey72.js} +7 -7
- package/dist/chunks/{event-logger-2a5m3afh.js → rpc-2a5m3afh.js} +1 -1
- package/dist/chunks/{event-logger-emqg5zdf.js → rpc-2cj59yd0.js} +30 -30
- package/dist/chunks/{event-logger-4n607a2z.js → rpc-2p623br6.js} +5 -5
- package/dist/chunks/{event-logger-pz072wrm.js → rpc-2vasyqn5.js} +13 -13
- package/dist/chunks/{event-logger-a0p4vcfa.js → rpc-2y1aws93.js} +6 -6
- package/dist/chunks/{event-logger-q3d4d80v.js → rpc-30g848st.js} +15 -15
- package/dist/chunks/{event-logger-xsjtgsrs.js → rpc-31ytfjtf.js} +7 -7
- package/dist/chunks/{event-logger-hv71bjwd.js → rpc-36yf2ddr.js} +18 -18
- package/dist/chunks/{event-logger-8cvw6atp.js → rpc-37k8p2z2.js} +27 -27
- package/dist/chunks/{event-logger-3fc6dm20.js → rpc-3fc6dm20.js} +1 -1
- package/dist/chunks/{event-logger-3hepkmqq.js → rpc-3hepkmqq.js} +1 -1
- package/dist/chunks/{event-logger-35pn0smq.js → rpc-3pzq4bxj.js} +6 -6
- package/dist/chunks/{event-logger-za77p82n.js → rpc-3qdjr5ym.js} +6 -6
- package/dist/chunks/{event-logger-3smtnn6g.js → rpc-3smtnn6g.js} +1 -1
- package/dist/chunks/{event-logger-3tvqynh2.js → rpc-3tvqynh2.js} +1 -1
- package/dist/chunks/{event-logger-3zsf4n22.js → rpc-3zsf4n22.js} +1 -1
- package/dist/chunks/{event-logger-zdyda3a9.js → rpc-43p2n4jh.js} +29 -29
- package/dist/chunks/{event-logger-7xfepgaq.js → rpc-48nzehqx.js} +22 -22
- package/dist/chunks/{event-logger-erxcjrma.js → rpc-495ah7rv.js} +24 -24
- package/dist/chunks/{event-logger-txsd1wst.js → rpc-4bd1m6m8.js} +8 -8
- package/dist/chunks/{event-logger-t71v2ka4.js → rpc-4drgpw32.js} +5 -5
- package/dist/chunks/{event-logger-qhmnxp49.js → rpc-4e42zdmr.js} +9 -9
- package/dist/chunks/{event-logger-0855qfdz.js → rpc-4g6xgwkf.js} +30 -30
- package/dist/chunks/{event-logger-ta118shs.js → rpc-4jfevdw8.js} +20 -20
- package/dist/chunks/{event-logger-4ts7tf6z.js → rpc-4ts7tf6z.js} +2 -2
- package/dist/chunks/{event-logger-4nn4ddvg.js → rpc-4x98a375.js} +23 -23
- package/dist/chunks/{event-logger-nahmzh17.js → rpc-4z86tf5s.js} +30 -30
- package/dist/chunks/{event-logger-cbq317bq.js → rpc-51prhw21.js} +41 -41
- package/dist/chunks/{event-logger-xdhqmewg.js → rpc-540mx71t.js} +25 -25
- package/dist/chunks/{event-logger-msetn3kq.js → rpc-54b2bcam.js} +8 -8
- package/dist/chunks/{event-logger-bgc4erd9.js → rpc-54k1v346.js} +15 -15
- package/dist/chunks/{event-logger-54ma36ye.js → rpc-54ma36ye.js} +1 -1
- package/dist/chunks/{event-logger-apb8ehxp.js → rpc-59wwawx9.js} +17 -17
- package/dist/chunks/{event-logger-xv38b4m9.js → rpc-5aze2f39.js} +30 -30
- package/dist/chunks/{event-logger-5daktx2q.js → rpc-5daktx2q.js} +1 -1
- package/dist/chunks/{event-logger-f58vnteg.js → rpc-5k8k8ajy.js} +8 -8
- package/dist/chunks/{event-logger-kazp80fy.js → rpc-5ktvwtrd.js} +15 -15
- package/dist/chunks/{event-logger-09fdbc95.js → rpc-5mq93c5b.js} +4 -4
- package/dist/chunks/{event-logger-vc2f8gxd.js → rpc-5p5rb2xf.js} +11 -11
- package/dist/chunks/{event-logger-5t3nmthw.js → rpc-5t3nmthw.js} +2 -2
- package/dist/chunks/{event-logger-znsvsf37.js → rpc-61dc9y59.js} +11 -11
- package/dist/chunks/{event-logger-wqpz1b6r.js → rpc-62wa77kx.js} +12 -12
- package/dist/chunks/{event-logger-669tq793.js → rpc-669tq793.js} +1 -1
- package/dist/chunks/{event-logger-veybsmen.js → rpc-69c46p7r.js} +85 -85
- package/dist/chunks/{event-logger-s162s8dr.js → rpc-6aqk6k4h.js} +1 -1
- package/dist/chunks/{event-logger-d65fhfp9.js → rpc-6ehqgf3h.js} +34 -34
- package/dist/chunks/{event-logger-gxsjk49t.js → rpc-6fy5j2sr.js} +4 -4
- package/dist/chunks/{event-logger-wahrr66y.js → rpc-6ycadg5x.js} +15 -15
- package/dist/chunks/{event-logger-71az546q.js → rpc-71az546q.js} +2 -2
- package/dist/chunks/rpc-731t4gzs.js +26 -0
- package/dist/chunks/{event-logger-q18e58my.js → rpc-73naqs8w.js} +13 -13
- package/dist/chunks/{event-logger-eswksyvh.js → rpc-76f0k4j8.js} +26 -26
- package/dist/chunks/{event-logger-3skeyb2f.js → rpc-79z95hvx.js} +22 -22
- package/dist/chunks/{event-logger-7bmhse3q.js → rpc-7bmhse3q.js} +1 -1
- package/dist/chunks/{event-logger-kvn8dybj.js → rpc-7evxkwxm.js} +24 -24
- package/dist/chunks/{event-logger-ejreszss.js → rpc-7ktr74ms.js} +9 -9
- package/dist/chunks/{event-logger-0d4x1zev.js → rpc-7ngh9skp.js} +20 -20
- package/dist/chunks/{event-logger-b227eqxp.js → rpc-7vs9szcs.js} +16 -16
- package/dist/chunks/{event-logger-tjedn1bk.js → rpc-80scg3y3.js} +4 -4
- package/dist/chunks/{event-logger-84txncab.js → rpc-84txncab.js} +1 -1
- package/dist/chunks/{event-logger-zch7ywyj.js → rpc-875n2812.js} +8 -8
- package/dist/chunks/{event-logger-8d7r5vzw.js → rpc-8d7r5vzw.js} +1 -1
- package/dist/chunks/{event-logger-37zf7qbf.js → rpc-8eyv5ht6.js} +18 -18
- package/dist/chunks/{event-logger-8rxvvxg3.js → rpc-8gmbr94j.js} +20 -20
- package/dist/chunks/{event-logger-pxnmbjps.js → rpc-8r28z6dw.js} +13 -13
- package/dist/chunks/{event-logger-ts23464c.js → rpc-8sze2n9a.js} +8 -8
- package/dist/chunks/{event-logger-5cgt60zr.js → rpc-8xykhngt.js} +8 -8
- package/dist/chunks/{event-logger-yz7pj7yh.js → rpc-94mhp9v4.js} +11 -11
- package/dist/chunks/{event-logger-zxckqbm2.js → rpc-96n48cx5.js} +9 -9
- package/dist/chunks/{event-logger-bam6jvje.js → rpc-97rpkwxs.js} +45 -45
- package/dist/chunks/{event-logger-9e5bzkjp.js → rpc-9e5bzkjp.js} +3 -3
- package/dist/chunks/{event-logger-pz026a91.js → rpc-9gc7vjkx.js} +4 -4
- package/dist/chunks/{event-logger-h2w61qm2.js → rpc-9q2mfyfe.js} +9 -9
- package/dist/chunks/{event-logger-rhjbct0v.js → rpc-9t7a50xb.js} +4 -4
- package/dist/chunks/{event-logger-x3f5d85j.js → rpc-a2rfergm.js} +9 -9
- package/dist/chunks/{event-logger-aaet6srn.js → rpc-aaet6srn.js} +2 -2
- package/dist/chunks/{event-logger-xcmk6yw7.js → rpc-ac3w4tg1.js} +11 -11
- package/dist/chunks/{event-logger-zee1rnkq.js → rpc-afdssyjb.js} +4 -4
- package/dist/chunks/{event-logger-zvezb2kf.js → rpc-ag5syekm.js} +3 -3
- package/dist/chunks/{event-logger-rh8y0z1p.js → rpc-amzhydp5.js} +22 -22
- package/dist/chunks/{event-logger-8phpf8yy.js → rpc-apaxybca.js} +33 -33
- package/dist/chunks/{event-logger-sqqnya1q.js → rpc-aq5k8ccr.js} +8 -8
- package/dist/chunks/{event-logger-3572nwpd.js → rpc-aqkazd2c.js} +39 -39
- package/dist/chunks/{event-logger-vx3jgdek.js → rpc-arz7hw7x.js} +2 -2
- package/dist/chunks/{event-logger-tk9306s6.js → rpc-awvsk72y.js} +15 -15
- package/dist/chunks/{event-logger-scgrse2b.js → rpc-b3f8fkhc.js} +5 -5
- package/dist/chunks/{event-logger-ns3eape4.js → rpc-b69jv39p.js} +1 -1
- package/dist/chunks/{event-logger-b6gygkdw.js → rpc-b6gygkdw.js} +2 -2
- package/dist/chunks/{event-logger-5w6ne2rj.js → rpc-bpyscj0b.js} +11 -11
- package/dist/chunks/{event-logger-y2gja34b.js → rpc-bvp1xhr2.js} +48 -48
- package/dist/chunks/{event-logger-frezfajw.js → rpc-bxc5b8nk.js} +11 -11
- package/dist/chunks/{event-logger-d9x6rt4z.js → rpc-bycm97pk.js} +12 -12
- package/dist/chunks/{event-logger-7zx1qa5e.js → rpc-ccv5fkkn.js} +15 -15
- package/dist/chunks/{event-logger-v7e8956y.js → rpc-d2gz9cce.js} +20 -20
- package/dist/chunks/{event-logger-n38ya1g3.js → rpc-d2kcxfd6.js} +9 -9
- package/dist/chunks/{event-logger-xxndcd6m.js → rpc-de52ckkz.js} +4 -4
- package/dist/chunks/{event-logger-wfpsx1me.js → rpc-dhtadd1m.js} +8 -8
- package/dist/chunks/{event-logger-znqestm0.js → rpc-dj1n9kpx.js} +24 -24
- package/dist/chunks/{event-logger-rrn65qmk.js → rpc-djb2ytsp.js} +45 -45
- package/dist/chunks/{event-logger-qmqgtz8f.js → rpc-djszqvmq.js} +9 -9
- package/dist/chunks/{event-logger-xkntkrq7.js → rpc-dmqcgk4z.js} +5 -5
- package/dist/chunks/{event-logger-pvmthvac.js → rpc-dn950d55.js} +4 -4
- package/dist/chunks/{event-logger-xtqysgr8.js → rpc-dnfk70v8.js} +5 -5
- package/dist/chunks/{event-logger-3q9crcyf.js → rpc-dpatgrg9.js} +6 -6
- package/dist/chunks/{event-logger-nxm207yx.js → rpc-dpkg50ah.js} +4 -4
- package/dist/chunks/{event-logger-7s4mjnmw.js → rpc-dshxakwq.js} +15 -15
- package/dist/chunks/{event-logger-pf1fzyvx.js → rpc-dxftzqav.js} +28 -28
- package/dist/chunks/{event-logger-4hk595b4.js → rpc-dzdyqhkg.js} +9 -9
- package/dist/chunks/{event-logger-4bwj66ga.js → rpc-e9by8ggv.js} +34 -34
- package/dist/chunks/{event-logger-dn28bnpy.js → rpc-e9earv5b.js} +8 -8
- package/dist/chunks/{event-logger-chf3w04c.js → rpc-e9vk3hbf.js} +7 -7
- package/dist/chunks/{event-logger-z26xrq94.js → rpc-ed1gjmjw.js} +124 -124
- package/dist/chunks/{event-logger-62ksnfjt.js → rpc-ed6wmw1w.js} +30 -30
- package/dist/chunks/{event-logger-ef5x83kb.js → rpc-ef5x83kb.js} +1 -1
- package/dist/chunks/{event-logger-68nmj0q8.js → rpc-eg33xmpf.js} +34 -34
- package/dist/chunks/{event-logger-x9gx0qjd.js → rpc-en81y1qk.js} +12 -12
- package/dist/chunks/{event-logger-etq0c3wd.js → rpc-etq0c3wd.js} +1 -1
- package/dist/chunks/{event-logger-rpjgfq5s.js → rpc-f0ftzx98.js} +9 -9
- package/dist/chunks/{event-logger-tfyjw356.js → rpc-f2n12xh0.js} +23 -23
- package/dist/chunks/{event-logger-eneefzjq.js → rpc-f5gy8qwh.js} +8 -8
- package/dist/chunks/{event-logger-fpecnkgp.js → rpc-fpecnkgp.js} +2 -2
- package/dist/chunks/{event-logger-9axq52v7.js → rpc-fqakbtp4.js} +11 -11
- package/dist/chunks/{event-logger-c5fpeb8k.js → rpc-fqmx5nm9.js} +18 -18
- package/dist/chunks/{event-logger-cmwkp3r5.js → rpc-g0445xdp.js} +4 -4
- package/dist/chunks/{event-logger-hxfyxexa.js → rpc-g5synpqe.js} +3 -3
- package/dist/chunks/{event-logger-q7jz43pf.js → rpc-g7xxt0qj.js} +8 -8
- package/dist/chunks/{event-logger-p4wtzybe.js → rpc-gcfjm7bm.js} +2 -2
- package/dist/chunks/{event-logger-gd4qta3r.js → rpc-gd4qta3r.js} +1 -1
- package/dist/chunks/{event-logger-dkc9vchc.js → rpc-gq02gwn2.js} +16 -16
- package/dist/chunks/{event-logger-eg5ratp2.js → rpc-gv9c67bd.js} +21 -21
- package/dist/chunks/{event-logger-h2b79v29.js → rpc-h2b79v29.js} +2 -2
- package/dist/chunks/{event-logger-z9f2ycf9.js → rpc-h3rbskkr.js} +21 -21
- package/dist/chunks/{event-logger-q9tvzxj2.js → rpc-h6g26nh6.js} +11 -11
- package/dist/chunks/{event-logger-h6vf3j39.js → rpc-h6vf3j39.js} +1 -1
- package/dist/chunks/{event-logger-q7b7nz0t.js → rpc-h70n3zbe.js} +33 -33
- package/dist/chunks/{event-logger-nara5m26.js → rpc-h9qs4w9g.js} +12 -12
- package/dist/chunks/{event-logger-vzg25qs0.js → rpc-haphpm34.js} +14 -14
- package/dist/chunks/{event-logger-zm9dabhv.js → rpc-hh5p9qkr.js} +11 -11
- package/dist/chunks/rpc-ht5y0zrb.js +18 -0
- package/dist/chunks/{event-logger-j56e64zr.js → rpc-j56e64zr.js} +1 -1
- package/dist/chunks/{event-logger-0wgf5py0.js → rpc-j9wy7tpg.js} +15 -15
- package/dist/chunks/{event-logger-baa30hpf.js → rpc-jh9nzahn.js} +11 -11
- package/dist/chunks/{event-logger-84n1gmdq.js → rpc-jpfj1tgy.js} +9 -9
- package/dist/chunks/{event-logger-vgh0spdv.js → rpc-jvafdv55.js} +27 -27
- package/dist/chunks/{event-logger-vnfa89td.js → rpc-jvm41she.js} +19 -19
- package/dist/chunks/{event-logger-x1d6qpwz.js → rpc-jx3pdty8.js} +8 -8
- package/dist/chunks/{event-logger-wr596h84.js → rpc-k666j8dg.js} +18 -18
- package/dist/chunks/{event-logger-edbbqtza.js → rpc-kc8kax9h.js} +17 -17
- package/dist/chunks/{event-logger-xq9dxhhz.js → rpc-ked3394e.js} +28 -28
- package/dist/chunks/{event-logger-svk3x2zh.js → rpc-kjf6mp1y.js} +8 -8
- package/dist/chunks/{event-logger-m3fdjcah.js → rpc-m3fdjcah.js} +1 -1
- package/dist/chunks/{event-logger-v50jzj02.js → rpc-m6etmxes.js} +15 -15
- package/dist/chunks/{event-logger-rjt1g28d.js → rpc-m80hmhxa.js} +8 -8
- package/dist/chunks/{event-logger-m9w0rfyh.js → rpc-m9w0rfyh.js} +1 -1
- package/dist/chunks/{event-logger-h7spb5hj.js → rpc-mcv3a36r.js} +21 -21
- package/dist/chunks/{event-logger-e5jwtp31.js → rpc-meryj7ts.js} +9 -9
- package/dist/chunks/{event-logger-2zevca3p.js → rpc-mfcxax4z.js} +3 -3
- package/dist/chunks/{event-logger-1ygqh575.js → rpc-mfqp6xfm.js} +6 -6
- package/dist/chunks/{event-logger-a8bn8zg0.js → rpc-mjymc32g.js} +4 -4
- package/dist/chunks/{event-logger-1m5fjx7m.js → rpc-mq68mrvn.js} +20 -20
- package/dist/chunks/{event-logger-73tb2d7t.js → rpc-mvfsc1pv.js} +3 -3
- package/dist/chunks/{event-logger-4bp7zqzm.js → rpc-n57203xy.js} +4 -4
- package/dist/chunks/{event-logger-gh5z95q3.js → rpc-n8sna2wb.js} +9 -9
- package/dist/chunks/{event-logger-4e7ay6dn.js → rpc-n93fdwdk.js} +11 -11
- package/dist/chunks/{event-logger-9snwt6s6.js → rpc-nebw3ssp.js} +17 -17
- package/dist/chunks/{event-logger-dx203me6.js → rpc-nh2r5jdq.js} +1 -1
- package/dist/chunks/{event-logger-39hdyk0g.js → rpc-nk4v7p9e.js} +17 -17
- package/dist/chunks/{event-logger-r8xr0va3.js → rpc-nkf980df.js} +4 -4
- package/dist/chunks/{event-logger-5pyjqqve.js → rpc-nqxj0yn4.js} +2 -2
- package/dist/chunks/{event-logger-baecs5bv.js → rpc-nrdvpcyr.js} +5 -5
- package/dist/chunks/{event-logger-pafbpkz4.js → rpc-nvb4w87b.js} +18 -18
- package/dist/chunks/rpc-nwyrkjrj.js +253 -0
- package/dist/chunks/{event-logger-jg9q3c0d.js → rpc-nz6rmfz6.js} +1 -1
- package/dist/chunks/{event-logger-an2q25y2.js → rpc-p2r83aaj.js} +30 -30
- package/dist/chunks/{event-logger-ab8e2bjz.js → rpc-p4n9y7jb.js} +30 -30
- package/dist/chunks/{event-logger-ne7h8j0q.js → rpc-p5y4cf2q.js} +30 -30
- package/dist/chunks/{event-logger-2wbcts9v.js → rpc-peyag8b6.js} +10 -10
- package/dist/chunks/{event-logger-pjvnvgmy.js → rpc-pjvnvgmy.js} +1 -1
- package/dist/chunks/{event-logger-pknna89w.js → rpc-pknna89w.js} +1 -1
- package/dist/chunks/{event-logger-4rt0ga34.js → rpc-prq7hedt.js} +9 -9
- package/dist/chunks/{event-logger-q0xm7vwc.js → rpc-q0xm7vwc.js} +2 -2
- package/dist/chunks/{event-logger-wghrvrnx.js → rpc-q24ev196.js} +6 -6
- package/dist/chunks/{event-logger-6hh8tjw2.js → rpc-qa3qhgw8.js} +4 -4
- package/dist/chunks/{event-logger-qgn6gcr1.js → rpc-qgn6gcr1.js} +1 -1
- package/dist/chunks/{event-logger-3gfarxqp.js → rpc-qgy3xkdy.js} +20 -20
- package/dist/chunks/{event-logger-en9vvhvq.js → rpc-qjhybbr3.js} +15 -15
- package/dist/chunks/{event-logger-1m50q83p.js → rpc-qktcjb9a.js} +14 -14
- package/dist/chunks/{event-logger-qnc92qwc.js → rpc-qnc92qwc.js} +1 -1
- package/dist/chunks/{event-logger-qsdy395h.js → rpc-qsdy395h.js} +1 -1
- package/dist/chunks/{event-logger-hcg895qx.js → rpc-qt86nhzz.js} +16 -16
- package/dist/chunks/{event-logger-qxjc9qry.js → rpc-qxjc9qry.js} +3 -3
- package/dist/chunks/{event-logger-qnphscyf.js → rpc-r4r6h1bt.js} +11 -11
- package/dist/chunks/{event-logger-t5g8fq61.js → rpc-raefn8bd.js} +16 -16
- package/dist/chunks/{event-logger-rdw6cm16.js → rpc-rdw6cm16.js} +1 -1
- package/dist/chunks/{event-logger-ej4j9fs4.js → rpc-rfx92m3x.js} +12 -12
- package/dist/chunks/{event-logger-sn3tzr3x.js → rpc-rtyp35cp.js} +33 -33
- package/dist/chunks/{event-logger-22jpppbg.js → rpc-rwvjj138.js} +25 -25
- package/dist/chunks/{event-logger-6xjwfqne.js → rpc-rxjw7vcz.js} +18 -18
- package/dist/chunks/rpc-ry82cvjn.js +507 -0
- package/dist/chunks/{event-logger-1c580bdm.js → rpc-s9c506h2.js} +17 -17
- package/dist/chunks/{event-logger-hfmn2s96.js → rpc-sjhgpbcy.js} +12 -12
- package/dist/chunks/{event-logger-z0jk8bat.js → rpc-sm8v7w24.js} +1 -1
- package/dist/chunks/{event-logger-bsprd9wx.js → rpc-snf1tfdw.js} +6 -6
- package/dist/chunks/{event-logger-tnajt1g2.js → rpc-sqvhtszt.js} +8 -8
- package/dist/chunks/{event-logger-776nwxfq.js → rpc-sy5ep2py.js} +22 -22
- package/dist/chunks/{event-logger-tazgh4e4.js → rpc-tazgh4e4.js} +1 -1
- package/dist/chunks/{event-logger-tcezcvh9.js → rpc-tcezcvh9.js} +1 -1
- package/dist/chunks/{event-logger-wymez3jf.js → rpc-tcjjjjsx.js} +5 -5
- package/dist/chunks/{event-logger-tdstcens.js → rpc-tdstcens.js} +1 -1
- package/dist/chunks/{event-logger-0kkzs4n0.js → rpc-tfj3m1c6.js} +17 -17
- package/dist/chunks/{event-logger-rzthh29p.js → rpc-tqn4x5x0.js} +5 -5
- package/dist/chunks/{event-logger-0gqjw64g.js → rpc-tzg0ntq7.js} +4 -4
- package/dist/chunks/{event-logger-q3sx9zc0.js → rpc-v24kn170.js} +12 -12
- package/dist/chunks/{event-logger-veqvce7d.js → rpc-veqvce7d.js} +1 -1
- package/dist/chunks/{event-logger-as7cf5zz.js → rpc-vn72gsba.js} +4 -4
- package/dist/chunks/{event-logger-91qa8bjq.js → rpc-vphvsar6.js} +15 -15
- package/dist/chunks/{event-logger-q9prrvcy.js → rpc-vwk18htr.js} +16 -16
- package/dist/chunks/{event-logger-vzcthcp8.js → rpc-vzcthcp8.js} +1 -1
- package/dist/chunks/{event-logger-vzs5sf6e.js → rpc-vzs5sf6e.js} +1 -1
- package/dist/chunks/{event-logger-w3wsvvr9.js → rpc-w3wsvvr9.js} +1 -1
- package/dist/chunks/{event-logger-y3jj7n2z.js → rpc-wa5v1sav.js} +50 -50
- package/dist/chunks/{event-logger-7zjjffc4.js → rpc-wc20vksc.js} +3 -3
- package/dist/chunks/{event-logger-wd87259q.js → rpc-wd87259q.js} +1 -1
- package/dist/chunks/{event-logger-g6yfr6ja.js → rpc-wh6zw745.js} +5 -5
- package/dist/chunks/{event-logger-vfdmtzgf.js → rpc-wk9zx1p6.js} +36 -36
- package/dist/chunks/{event-logger-y82d93qa.js → rpc-wr2g9e9e.js} +1 -1
- package/dist/chunks/{event-logger-x1ezjp6w.js → rpc-x1ezjp6w.js} +1 -1
- package/dist/chunks/{event-logger-s6znykmr.js → rpc-x4czt7ke.js} +3 -3
- package/dist/chunks/{event-logger-addxnjmp.js → rpc-x661k3y3.js} +4 -4
- package/dist/chunks/{event-logger-46c02rdt.js → rpc-x82kr3b3.js} +15 -15
- package/dist/chunks/{event-logger-w19d8598.js → rpc-xfkkasph.js} +5 -5
- package/dist/chunks/{event-logger-brq5wy4x.js → rpc-xjgqcdss.js} +82 -82
- package/dist/chunks/{event-logger-k0esjgft.js → rpc-xp7stfgp.js} +2 -2
- package/dist/chunks/{event-logger-gttjtz1f.js → rpc-xzj9282n.js} +7 -7
- package/dist/chunks/{event-logger-y1fvbwt7.js → rpc-y1fvbwt7.js} +1 -1
- package/dist/chunks/{event-logger-nzq7ck9f.js → rpc-ycjb11n5.js} +5 -5
- package/dist/chunks/{event-logger-tc24bj4p.js → rpc-yejhw0v4.js} +1 -1
- package/dist/chunks/{event-logger-t2n039rm.js → rpc-yg4qzx3c.js} +24 -24
- package/dist/chunks/{event-logger-4p7bwmxt.js → rpc-yh96w6ga.js} +8 -8
- package/dist/chunks/{event-logger-fztfnv9x.js → rpc-yj1g27er.js} +9 -9
- package/dist/chunks/{event-logger-n1n192bv.js → rpc-yrcj3v3g.js} +4 -4
- package/dist/chunks/{event-logger-bh0zzf2s.js → rpc-yvvvp4gn.js} +8 -8
- package/dist/chunks/{event-logger-wnxe1wsr.js → rpc-ywhg6kqj.js} +8 -8
- package/dist/chunks/{event-logger-z0bkrqjs.js → rpc-z0bkrqjs.js} +1 -1
- package/dist/chunks/{event-logger-gfye9bj3.js → rpc-z7k13xkj.js} +10 -10
- package/dist/chunks/{event-logger-h7r917mz.js → rpc-zb0d3y8q.js} +35 -35
- package/dist/chunks/{event-logger-b6ntnayc.js → rpc-zmwzk07p.js} +68 -68
- package/dist/chunks/{event-logger-zr2ceqn5.js → rpc-zr2ceqn5.js} +1 -1
- package/dist/chunks/{event-logger-zxq2ej10.js → rpc-zxq2ej10.js} +1 -1
- package/dist/chunks/{event-logger-ngyhb3xw.js → rpc-zy43x3f1.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 +81 -81
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- 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 +116 -116
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +77 -77
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +361 -361
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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 +218 -218
- package/dist/filesystem/protected.js +1 -1
- 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 +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- 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 +3 -3
- package/dist/instance.js +352 -352
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +83 -83
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +129 -129
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +351 -351
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +96 -96
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +76 -76
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +105 -105
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +326 -326
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- 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/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +113 -113
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +72 -72
- 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 +345 -345
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- 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 +218 -218
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +95 -95
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- 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 +212 -212
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- 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 +93 -93
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +83 -83
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +201 -201
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +208 -208
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +89 -89
- 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 +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +110 -110
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +3 -3
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- 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 +89 -89
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- 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 +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/event-logger-6stjv2cy.js +0 -507
- package/dist/chunks/event-logger-bec6g9s1.js +0 -26
- package/dist/chunks/event-logger-rap9a73h.js +0 -18
- package/dist/chunks/event-logger-tz6pchj2.js +0 -253
- /package/dist/chunks/{event-logger-0qkdqm5v.js → rpc-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{event-logger-0zkw76rk.js → rpc-0zkw76rk.js} +0 -0
- /package/dist/chunks/{event-logger-17cy0kzp.js → rpc-17cy0kzp.js} +0 -0
- /package/dist/chunks/{event-logger-1cnp2v09.js → rpc-1cnp2v09.js} +0 -0
- /package/dist/chunks/{event-logger-1kg9ymc8.js → rpc-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{event-logger-24dcb14g.js → rpc-24dcb14g.js} +0 -0
- /package/dist/chunks/{event-logger-2710q6r3.js → rpc-2710q6r3.js} +0 -0
- /package/dist/chunks/{event-logger-2axfhc9x.js → rpc-2axfhc9x.js} +0 -0
- /package/dist/chunks/{event-logger-2c3vjs8z.js → rpc-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{event-logger-34c7v6d4.js → rpc-34c7v6d4.js} +0 -0
- /package/dist/chunks/{event-logger-359p4xyc.js → rpc-359p4xyc.js} +0 -0
- /package/dist/chunks/{event-logger-3asan66x.js → rpc-3asan66x.js} +0 -0
- /package/dist/chunks/{event-logger-3t0ybcrp.js → rpc-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{event-logger-3v8g72cx.js → rpc-3v8g72cx.js} +0 -0
- /package/dist/chunks/{event-logger-3w5fmr99.js → rpc-3w5fmr99.js} +0 -0
- /package/dist/chunks/{event-logger-3wcehsnq.js → rpc-3wcehsnq.js} +0 -0
- /package/dist/chunks/{event-logger-43n2bw4t.js → rpc-43n2bw4t.js} +0 -0
- /package/dist/chunks/{event-logger-4knz6hnm.js → rpc-4knz6hnm.js} +0 -0
- /package/dist/chunks/{event-logger-4vcrnpx2.js → rpc-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{event-logger-4y7fprxs.js → rpc-4y7fprxs.js} +0 -0
- /package/dist/chunks/{event-logger-53557ph1.js → rpc-53557ph1.js} +0 -0
- /package/dist/chunks/{event-logger-550bvhaj.js → rpc-550bvhaj.js} +0 -0
- /package/dist/chunks/{event-logger-5qd3pb7m.js → rpc-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{event-logger-6prwharc.js → rpc-6prwharc.js} +0 -0
- /package/dist/chunks/{event-logger-7akdwqpd.js → rpc-7akdwqpd.js} +0 -0
- /package/dist/chunks/{event-logger-7m9af43g.js → rpc-7m9af43g.js} +0 -0
- /package/dist/chunks/{event-logger-822emrt2.js → rpc-822emrt2.js} +0 -0
- /package/dist/chunks/{event-logger-88xbtdfr.js → rpc-88xbtdfr.js} +0 -0
- /package/dist/chunks/{event-logger-8n3pysct.js → rpc-8n3pysct.js} +0 -0
- /package/dist/chunks/{event-logger-8wj87zfr.js → rpc-8wj87zfr.js} +0 -0
- /package/dist/chunks/{event-logger-9a4afbnw.js → rpc-9a4afbnw.js} +0 -0
- /package/dist/chunks/{event-logger-9rqn6x4v.js → rpc-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{event-logger-a6k6eb26.js → rpc-a6k6eb26.js} +0 -0
- /package/dist/chunks/{event-logger-af5trqkr.js → rpc-af5trqkr.js} +0 -0
- /package/dist/chunks/{event-logger-afrmfg78.js → rpc-afrmfg78.js} +0 -0
- /package/dist/chunks/{event-logger-aqzs7mqg.js → rpc-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{event-logger-atq7p7m5.js → rpc-atq7p7m5.js} +0 -0
- /package/dist/chunks/{event-logger-bkyjaxrp.js → rpc-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{event-logger-bmr6ed5q.js → rpc-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{event-logger-cf4snx6d.js → rpc-cf4snx6d.js} +0 -0
- /package/dist/chunks/{event-logger-cvy3z8tj.js → rpc-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{event-logger-d9fn303g.js → rpc-d9fn303g.js} +0 -0
- /package/dist/chunks/{event-logger-d9jj8t3e.js → rpc-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{event-logger-dajrwvna.js → rpc-dajrwvna.js} +0 -0
- /package/dist/chunks/{event-logger-dap0rakb.js → rpc-dap0rakb.js} +0 -0
- /package/dist/chunks/{event-logger-df08tz66.js → rpc-df08tz66.js} +0 -0
- /package/dist/chunks/{event-logger-dy18nga0.js → rpc-dy18nga0.js} +0 -0
- /package/dist/chunks/{event-logger-e5kj55wp.js → rpc-e5kj55wp.js} +0 -0
- /package/dist/chunks/{event-logger-e73j6tqm.js → rpc-e73j6tqm.js} +0 -0
- /package/dist/chunks/{event-logger-ec1grn59.js → rpc-ec1grn59.js} +0 -0
- /package/dist/chunks/{event-logger-eh3zwz77.js → rpc-eh3zwz77.js} +0 -0
- /package/dist/chunks/{event-logger-emrn6kk6.js → rpc-emrn6kk6.js} +0 -0
- /package/dist/chunks/{event-logger-f0mxakyp.js → rpc-f0mxakyp.js} +0 -0
- /package/dist/chunks/{event-logger-f6n9ztr4.js → rpc-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{event-logger-faypxj3z.js → rpc-faypxj3z.js} +0 -0
- /package/dist/chunks/{event-logger-fd410y7t.js → rpc-fd410y7t.js} +0 -0
- /package/dist/chunks/{event-logger-fxgpk5d8.js → rpc-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{event-logger-g4wezp1m.js → rpc-g4wezp1m.js} +0 -0
- /package/dist/chunks/{event-logger-g86h250q.js → rpc-g86h250q.js} +0 -0
- /package/dist/chunks/{event-logger-gebd4c9n.js → rpc-gebd4c9n.js} +0 -0
- /package/dist/chunks/{event-logger-gftt206x.js → rpc-gftt206x.js} +0 -0
- /package/dist/chunks/{event-logger-hjbc5kem.js → rpc-hjbc5kem.js} +0 -0
- /package/dist/chunks/{event-logger-hk9envan.js → rpc-hk9envan.js} +0 -0
- /package/dist/chunks/{event-logger-j2ntwpah.js → rpc-j2ntwpah.js} +0 -0
- /package/dist/chunks/{event-logger-j5zkgpj8.js → rpc-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{event-logger-jjkms2e6.js → rpc-jjkms2e6.js} +0 -0
- /package/dist/chunks/{event-logger-jr7sbwjy.js → rpc-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{event-logger-jwfs4k6c.js → rpc-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{event-logger-jzg6c2d5.js → rpc-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{event-logger-mp448xyj.js → rpc-mp448xyj.js} +0 -0
- /package/dist/chunks/{event-logger-msx8hqn2.js → rpc-msx8hqn2.js} +0 -0
- /package/dist/chunks/{event-logger-n05xt0ee.js → rpc-n05xt0ee.js} +0 -0
- /package/dist/chunks/{event-logger-n3j8tn72.js → rpc-n3j8tn72.js} +0 -0
- /package/dist/chunks/{event-logger-njntx4h6.js → rpc-njntx4h6.js} +0 -0
- /package/dist/chunks/{event-logger-q3sfg36h.js → rpc-q3sfg36h.js} +0 -0
- /package/dist/chunks/{event-logger-q74kybfr.js → rpc-q74kybfr.js} +0 -0
- /package/dist/chunks/{event-logger-qaymkmh1.js → rpc-qaymkmh1.js} +0 -0
- /package/dist/chunks/{event-logger-qb87gjwd.js → rpc-qb87gjwd.js} +0 -0
- /package/dist/chunks/{event-logger-qfa1cgps.js → rpc-qfa1cgps.js} +0 -0
- /package/dist/chunks/{event-logger-qg3g05ea.js → rpc-qg3g05ea.js} +0 -0
- /package/dist/chunks/{event-logger-qrg20bc0.js → rpc-qrg20bc0.js} +0 -0
- /package/dist/chunks/{event-logger-rcb2kzg1.js → rpc-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{event-logger-sdp7kfr6.js → rpc-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{event-logger-ssg3fenm.js → rpc-ssg3fenm.js} +0 -0
- /package/dist/chunks/{event-logger-w803qqfp.js → rpc-w803qqfp.js} +0 -0
- /package/dist/chunks/{event-logger-wc3fc9cn.js → rpc-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{event-logger-wer8tq1h.js → rpc-wer8tq1h.js} +0 -0
- /package/dist/chunks/{event-logger-wtztk69x.js → rpc-wtztk69x.js} +0 -0
- /package/dist/chunks/{event-logger-x0ckcb58.js → rpc-x0ckcb58.js} +0 -0
- /package/dist/chunks/{event-logger-x61499pn.js → rpc-x61499pn.js} +0 -0
- /package/dist/chunks/{event-logger-y44na4kk.js → rpc-y44na4kk.js} +0 -0
- /package/dist/chunks/{event-logger-y8cydn3q.js → rpc-y8cydn3q.js} +0 -0
- /package/dist/chunks/{event-logger-y8f7s663.js → rpc-y8f7s663.js} +0 -0
- /package/dist/chunks/{event-logger-ygaqb7jw.js → rpc-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{event-logger-ym463w8f.js → rpc-ym463w8f.js} +0 -0
- /package/dist/chunks/{event-logger-z5v4ffb3.js → rpc-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{event-logger-z9919s4g.js → rpc-z9919s4g.js} +0 -0
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service77,
|
|
6
|
+
node81
|
|
7
|
+
} from "./rpc-0c0qx5qx.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service47,
|
|
10
|
+
node50
|
|
11
|
+
} from "./rpc-36yf2ddr.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
14
|
names3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./rpc-tcezcvh9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./rpc-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Options: () =>
|
|
25
|
-
Service: () =>
|
|
26
|
-
configured: () =>
|
|
24
|
+
Options: () => Options4,
|
|
25
|
+
Service: () => Service46,
|
|
26
|
+
configured: () => configured4,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer16,
|
|
29
|
+
node: () => node49,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
|
|
|
35
35
|
import { Fff } from "#fff";
|
|
36
36
|
import fuzzysort from "fuzzysort";
|
|
37
37
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
38
|
-
var
|
|
38
|
+
var Options4 = Schema.Struct({
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service46 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
62
|
-
const location = yield*
|
|
63
|
-
const ripgrep = yield*
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service46, Effect.gen(function* () {
|
|
62
|
+
const location = yield* Service77;
|
|
63
|
+
const ripgrep = yield* Service47;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service46.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
116
|
-
const location = yield*
|
|
115
|
+
var fffLayer2 = Layer.effect(Service46, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service77;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
119
119
|
basePath: location.directory,
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service46.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service46.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
178
|
-
const location = yield*
|
|
177
|
+
var layer16 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
|
+
const location = yield* Service77;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
181
181
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
182
182
|
return ripgrepLayer2;
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
|
-
function
|
|
186
|
-
return makeLocationNode({ service:
|
|
185
|
+
function configured4(options) {
|
|
186
|
+
return makeLocationNode({ service: Service46, layer: layer16(options), deps: [node81, node50] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node49 = configured4();
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Options4, Service46, ripgrepLayer2, fffLayer2, layer16, configured4, node49, exports_search };
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service54
|
|
7
|
+
} from "./rpc-aqkazd2c.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./rpc-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service48
|
|
13
|
+
} from "./rpc-yg4qzx3c.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service62
|
|
16
|
+
} from "./rpc-haphpm34.js";
|
|
17
17
|
import {
|
|
18
18
|
Service65
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./rpc-0xrnfvwp.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service36,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./rpc-7vs9szcs.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./rpc-vzs5sf6e.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service82,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./rpc-amzhydp5.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError5,
|
|
36
|
+
Service42
|
|
37
|
+
} from "./rpc-97rpkwxs.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service18
|
|
40
|
+
} from "./rpc-69c46p7r.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./rpc-9gc7vjkx.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./rpc-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell2 = {};
|
|
50
50
|
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input4,
|
|
53
|
+
Plugin: () => Plugin40,
|
|
54
54
|
ShellTool: () => exports_shell2,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name4
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name4 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input4 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -116,19 +116,19 @@ Output is streaming to: ${file}`,
|
|
|
116
116
|
truncated: false,
|
|
117
117
|
status: "running"
|
|
118
118
|
});
|
|
119
|
-
var
|
|
119
|
+
var Plugin40 = {
|
|
120
120
|
id: "opencode.tool.shell",
|
|
121
121
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
122
|
-
const sessions = yield*
|
|
123
|
-
const jobs = yield*
|
|
122
|
+
const sessions = yield* Service18;
|
|
123
|
+
const jobs = yield* Service62;
|
|
124
124
|
const scope = yield* Scope.Scope;
|
|
125
|
-
const environment = yield*
|
|
126
|
-
const access = yield*
|
|
127
|
-
const shell = yield*
|
|
128
|
-
const shellSelect = yield*
|
|
125
|
+
const environment = yield* Service48;
|
|
126
|
+
const access = yield* Service36;
|
|
127
|
+
const shell = yield* Service42;
|
|
128
|
+
const shellSelect = yield* Service82;
|
|
129
129
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
130
130
|
const permission = yield* Service65;
|
|
131
|
-
const config = yield*
|
|
131
|
+
const config = yield* Service54;
|
|
132
132
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
133
133
|
const source = {
|
|
134
134
|
type: "tool",
|
|
@@ -147,7 +147,7 @@ var Plugin42 = {
|
|
|
147
147
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
148
148
|
if (parsed.commands.length > 0)
|
|
149
149
|
yield* permission.assert({
|
|
150
|
-
action:
|
|
150
|
+
action: name4,
|
|
151
151
|
resources: parsed.commands.map((command) => command.resource),
|
|
152
152
|
save: parsed.commands.map((command) => command.save),
|
|
153
153
|
sessionID: context.sessionID,
|
|
@@ -184,10 +184,10 @@ var Plugin42 = {
|
|
|
184
184
|
yield* jobs.completeBackground(info.notificationID);
|
|
185
185
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
186
186
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
187
|
-
name:
|
|
187
|
+
name: name4,
|
|
188
188
|
options: { codemode: false },
|
|
189
189
|
description: description(),
|
|
190
|
-
input:
|
|
190
|
+
input: Input4,
|
|
191
191
|
output: Output,
|
|
192
192
|
execute: (input, context) => Effect.gen(function* () {
|
|
193
193
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -210,7 +210,7 @@ var Plugin42 = {
|
|
|
210
210
|
const run = Effect.gen(function* () {
|
|
211
211
|
const result = yield* shell.result(info);
|
|
212
212
|
if (!result.capture)
|
|
213
|
-
return yield* new
|
|
213
|
+
return yield* new NotFoundError5({ id: info.id });
|
|
214
214
|
const output = output2(result);
|
|
215
215
|
return {
|
|
216
216
|
...output,
|
|
@@ -224,7 +224,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
224
224
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
225
225
|
const job = yield* jobs.start({
|
|
226
226
|
id: info.id,
|
|
227
|
-
type:
|
|
227
|
+
type: name4,
|
|
228
228
|
title: info.command,
|
|
229
229
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
230
230
|
recovery: {
|
|
@@ -254,7 +254,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
254
254
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
255
255
|
})).pipe(Effect.orDie);
|
|
256
256
|
const hook = (event) => Effect.gen(function* () {
|
|
257
|
-
const tool = event.tools[
|
|
257
|
+
const tool = event.tools[name4];
|
|
258
258
|
if (!tool)
|
|
259
259
|
return;
|
|
260
260
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -265,4 +265,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
265
265
|
})
|
|
266
266
|
};
|
|
267
267
|
|
|
268
|
-
export {
|
|
268
|
+
export { name4, DEFAULT_TIMEOUT_MS2, Input4, Plugin40, exports_shell2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service77
|
|
6
|
+
} from "./rpc-0c0qx5qx.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service36
|
|
9
|
+
} from "./rpc-7vs9szcs.js";
|
|
10
10
|
import {
|
|
11
11
|
Service11
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./rpc-peyag8b6.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./rpc-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service12
|
|
27
|
+
} from "./rpc-tfj3m1c6.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./rpc-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input11,
|
|
36
|
+
Plugin: () => Plugin48,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name11,
|
|
39
|
+
toModelContent: () => toModelContent5
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name11 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input11 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin48 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
61
|
+
const reader = yield* Service12;
|
|
62
|
+
const access = yield* Service36;
|
|
63
63
|
const sessionInstructions = yield* Service11;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service77;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name11,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input11,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -113,7 +113,7 @@ var Plugin43 = {
|
|
|
113
113
|
return { output: result.content, path: result.path };
|
|
114
114
|
}).pipe(Effect.map((result) => ({
|
|
115
115
|
output: result.output,
|
|
116
|
-
content:
|
|
116
|
+
content: toModelContent5(result.path, input.offset, result.output),
|
|
117
117
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
118
118
|
})), Effect.mapError((error) => {
|
|
119
119
|
if (error instanceof ToolFailure)
|
|
@@ -146,7 +146,7 @@ ${suggestions.join(`
|
|
|
146
146
|
});
|
|
147
147
|
})
|
|
148
148
|
};
|
|
149
|
-
var
|
|
149
|
+
var toModelContent5 = (path, offset, output) => {
|
|
150
150
|
if (output.type === "file" && output.encoding === "base64")
|
|
151
151
|
return [
|
|
152
152
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -182,4 +182,4 @@ var toModelContent3 = (path, offset, output) => {
|
|
|
182
182
|
`);
|
|
183
183
|
};
|
|
184
184
|
|
|
185
|
-
export {
|
|
185
|
+
export { name11, Input11, Plugin48, toModelContent5, exports_read };
|
|
@@ -2,27 +2,27 @@ import {
|
|
|
2
2
|
Resource2,
|
|
3
3
|
ResourceTemplate2,
|
|
4
4
|
ResourceContent2,
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service30
|
|
6
|
+
} from "./rpc-djb2ytsp.js";
|
|
7
7
|
import {
|
|
8
8
|
Service65
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./rpc-0xrnfvwp.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./rpc-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: () => Plugin38
|
|
19
19
|
});
|
|
20
20
|
import { ToolFailure } from "@opencode/ai";
|
|
21
21
|
import { Effect, Schema } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin38 = {
|
|
23
23
|
id: "opencode.tools.mcp-resources",
|
|
24
24
|
effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
|
|
25
|
-
const mcp = yield*
|
|
25
|
+
const mcp = yield* Service30;
|
|
26
26
|
const permission = yield* Service65;
|
|
27
27
|
yield* ctx.tool.transform((editor) => {
|
|
28
28
|
editor.add({
|
|
@@ -93,4 +93,4 @@ var Plugin40 = {
|
|
|
93
93
|
})
|
|
94
94
|
};
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Plugin38, exports_mcp_resource };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service65
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-0xrnfvwp.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./rpc-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./rpc-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./rpc-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
19
|
+
Input: () => Input2,
|
|
20
20
|
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin37,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
25
|
description: () => description2,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name2
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
33
|
+
var name2 = "webfetch";
|
|
34
34
|
var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
@@ -38,7 +38,7 @@ var description2 = `Fetch content from an HTTP or HTTPS URL and return it as tex
|
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input2 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input4 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input2.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin37 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
99
|
const permission = yield* Service65;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name2,
|
|
102
102
|
options: { codemode: false },
|
|
103
103
|
description: description2,
|
|
104
|
-
input:
|
|
104
|
+
input: Input2,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin41 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name2,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name2, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description2, Input2, Plugin37, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make22,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-9t7a50xb.js";
|
|
7
7
|
import {
|
|
8
8
|
ID6,
|
|
9
9
|
Name2,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
available2,
|
|
11
|
+
Service34,
|
|
12
|
+
node37
|
|
13
|
+
} from "./rpc-8gmbr94j.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./rpc-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/skill/instructions.ts
|
|
19
19
|
var exports_instructions4 = {};
|
|
20
20
|
__export(exports_instructions4, {
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service24,
|
|
22
22
|
SkillInstructions: () => exports_instructions4,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node28
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -60,14 +60,14 @@ var update = (previous, current) => {
|
|
|
60
60
|
`);
|
|
61
61
|
};
|
|
62
62
|
|
|
63
|
-
class
|
|
63
|
+
class Service24 extends Context.Service()("@opencode/SkillInstructions") {
|
|
64
64
|
}
|
|
65
|
-
var layer = Layer.effect(
|
|
66
|
-
const skills = yield*
|
|
67
|
-
return
|
|
65
|
+
var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
66
|
+
const skills = yield* Service34;
|
|
67
|
+
return Service24.of({
|
|
68
68
|
load: Effect.fn("SkillInstructions.load")(function* (permissions) {
|
|
69
|
-
const available =
|
|
70
|
-
return
|
|
69
|
+
const available = available2(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
|
|
70
|
+
return make22({
|
|
71
71
|
key: Key3.make("core/skill-guidance"),
|
|
72
72
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
73
73
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
@@ -80,6 +80,6 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
80
80
|
})
|
|
81
81
|
});
|
|
82
82
|
}));
|
|
83
|
-
var
|
|
83
|
+
var node28 = makeLocationNode({ service: Service24, layer, deps: [node37] });
|
|
84
84
|
|
|
85
|
-
export {
|
|
85
|
+
export { Service24, node28, exports_instructions4 };
|