@opencode/core 0.0.0-dev-19539 → 0.0.0-dev-19540
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +80 -80
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +7 -7
- package/dist/bus.js +72 -72
- package/dist/catalog.js +84 -84
- package/dist/chunks/{wellknown-e0nfhzw1.js → tool-0299gjg5.js} +23 -23
- package/dist/chunks/{wellknown-77nagcj1.js → tool-02zskd6f.js} +4 -4
- package/dist/chunks/{wellknown-b8b3f19r.js → tool-0996nyz8.js} +9 -9
- package/dist/chunks/{wellknown-6pzpj85z.js → tool-0bqxz2km.js} +26 -26
- package/dist/chunks/{wellknown-2k8khapm.js → tool-0jwsre1p.js} +5 -5
- package/dist/chunks/{wellknown-6w9kmp65.js → tool-0nbbv2dg.js} +91 -91
- package/dist/chunks/{wellknown-0paq2nw3.js → tool-0paq2nw3.js} +1 -1
- package/dist/chunks/{wellknown-0q0f95c6.js → tool-0q0f95c6.js} +1 -1
- package/dist/chunks/{wellknown-rq2kkvr3.js → tool-0r9sq1ay.js} +10 -10
- package/dist/chunks/{wellknown-4xrb88hm.js → tool-0veevydg.js} +28 -28
- package/dist/chunks/{wellknown-5zsm984v.js → tool-11021cf3.js} +6 -6
- package/dist/chunks/{wellknown-08cen3js.js → tool-19w2tstg.js} +28 -28
- package/dist/chunks/{wellknown-r8xr0va3.js → tool-1acjjqhc.js} +4 -4
- package/dist/chunks/{wellknown-9j4e7e8q.js → tool-1c8etqjp.js} +7 -7
- package/dist/chunks/{wellknown-1dazxqgg.js → tool-1dazxqgg.js} +2 -2
- package/dist/chunks/{wellknown-5vc4apcq.js → tool-1fjf9qgp.js} +15 -15
- package/dist/chunks/{wellknown-728x28gm.js → tool-1jqgrzzt.js} +8 -8
- package/dist/chunks/{wellknown-vg4z5xy3.js → tool-1pwvfv87.js} +11 -11
- package/dist/chunks/tool-1qd3ycm2.js +26 -0
- package/dist/chunks/{wellknown-8hhpf1hm.js → tool-1qmbqjyv.js} +36 -36
- package/dist/chunks/{wellknown-s47e1ezx.js → tool-1r6pjnw8.js} +13 -13
- package/dist/chunks/{wellknown-2erey2nk.js → tool-20m8myk3.js} +11 -11
- package/dist/chunks/{wellknown-7vzhg19r.js → tool-20tfp5zs.js} +4 -4
- package/dist/chunks/{wellknown-21r38tys.js → tool-21r38tys.js} +1 -1
- package/dist/chunks/{wellknown-6h73sxmp.js → tool-2402vzrj.js} +5 -5
- package/dist/chunks/{wellknown-rwregw7w.js → tool-24dbyy2c.js} +10 -10
- package/dist/chunks/{wellknown-2a5m3afh.js → tool-2a5m3afh.js} +1 -1
- package/dist/chunks/{wellknown-mgjq6x1m.js → tool-2cv6r8s0.js} +41 -41
- package/dist/chunks/{wellknown-p7a4gs0b.js → tool-2fvqh1y6.js} +16 -16
- package/dist/chunks/{wellknown-851r6173.js → tool-2syw43ez.js} +14 -14
- package/dist/chunks/{wellknown-y94c40zx.js → tool-2v3pb6qd.js} +12 -12
- package/dist/chunks/{wellknown-dc76j9wz.js → tool-2vnwx32a.js} +8 -8
- package/dist/chunks/{wellknown-7esh47m3.js → tool-2vs9fmj2.js} +14 -14
- package/dist/chunks/{wellknown-23t8dfc0.js → tool-2z7ees0g.js} +4 -4
- package/dist/chunks/{wellknown-mfqp6xfm.js → tool-33w4ejhs.js} +9 -9
- package/dist/chunks/{wellknown-4m2pmvxz.js → tool-3c1tgrea.js} +6 -6
- package/dist/chunks/{wellknown-3fc6dm20.js → tool-3fc6dm20.js} +1 -1
- package/dist/chunks/{wellknown-3hepkmqq.js → tool-3hepkmqq.js} +1 -1
- package/dist/chunks/{wellknown-bksxygyb.js → tool-3se9mp31.js} +33 -33
- package/dist/chunks/{wellknown-3smtnn6g.js → tool-3smtnn6g.js} +1 -1
- package/dist/chunks/{wellknown-3tvqynh2.js → tool-3tvqynh2.js} +1 -1
- package/dist/chunks/{wellknown-3cfzdc8e.js → tool-3w2b2yj4.js} +5 -5
- package/dist/chunks/{wellknown-g8471784.js → tool-439n1kaq.js} +2 -2
- package/dist/chunks/{wellknown-kyjnjde5.js → tool-4cbqng7e.js} +8 -8
- package/dist/chunks/{wellknown-81swgkk7.js → tool-4frkg54w.js} +9 -9
- package/dist/chunks/{wellknown-d60v85tc.js → tool-4fxa00ze.js} +3 -3
- package/dist/chunks/{wellknown-hfpkbpzz.js → tool-4rgwgr9n.js} +4 -4
- package/dist/chunks/{wellknown-7m5f9412.js → tool-52fpbh6z.js} +8 -8
- package/dist/chunks/{wellknown-2023svme.js → tool-5cmqm0ev.js} +9 -9
- package/dist/chunks/{wellknown-5daktx2q.js → tool-5daktx2q.js} +1 -1
- package/dist/chunks/{wellknown-fexf5k2n.js → tool-5m0afy4r.js} +6 -6
- package/dist/chunks/{wellknown-5t3nmthw.js → tool-5t3nmthw.js} +2 -2
- package/dist/chunks/{wellknown-vavy50n7.js → tool-5vgkaf0c.js} +22 -22
- package/dist/chunks/{wellknown-9sh3b0bz.js → tool-5wj1bc2b.js} +4 -4
- package/dist/chunks/{wellknown-arwy73pv.js → tool-5zhzefj3.js} +17 -17
- package/dist/chunks/{wellknown-vt6mrpr2.js → tool-60cvmy65.js} +1 -1
- package/dist/chunks/{wellknown-y9hpkwc1.js → tool-62139ecc.js} +7 -7
- package/dist/chunks/{wellknown-vfnexndp.js → tool-64mbz47k.js} +6 -6
- package/dist/chunks/{wellknown-669tq793.js → tool-669tq793.js} +1 -1
- package/dist/chunks/{wellknown-2ab9sw28.js → tool-69xwbkdg.js} +37 -37
- package/dist/chunks/{wellknown-bnp0v6wa.js → tool-6ba819az.js} +29 -29
- package/dist/chunks/{wellknown-26qyng6q.js → tool-6jjd6916.js} +11 -11
- package/dist/chunks/{wellknown-h0w0a0x1.js → tool-6karmr7k.js} +9 -9
- package/dist/chunks/{wellknown-6msgmcgs.js → tool-6msgmcgs.js} +1 -1
- package/dist/chunks/{wellknown-cyvma0e0.js → tool-6qqxn8pv.js} +15 -15
- package/dist/chunks/{wellknown-ds9vkb33.js → tool-700r65qt.js} +168 -168
- package/dist/chunks/{wellknown-rzkmpk7g.js → tool-70wdtdtz.js} +69 -69
- package/dist/chunks/{wellknown-jhee3avx.js → tool-71b76pde.js} +12 -12
- package/dist/chunks/{wellknown-71q4at8m.js → tool-71q4at8m.js} +1 -1
- package/dist/chunks/{wellknown-6jvvt40y.js → tool-7690wq37.js} +9 -9
- package/dist/chunks/{wellknown-7bmhse3q.js → tool-7bmhse3q.js} +1 -1
- package/dist/chunks/{wellknown-qcx2jk2t.js → tool-7j0r01e2.js} +59 -59
- package/dist/chunks/{wellknown-ny23mpww.js → tool-7m06xexa.js} +10 -10
- package/dist/chunks/{wellknown-ygc9jv0b.js → tool-7pegcs5y.js} +2 -2
- package/dist/chunks/{wellknown-scrkxf2r.js → tool-7wcy2j48.js} +13 -13
- package/dist/chunks/{wellknown-akw77m90.js → tool-7xmcpp5k.js} +1 -1
- package/dist/chunks/tool-7z7rpcgx.js +247 -0
- package/dist/chunks/{wellknown-1at5eyj7.js → tool-8557jav9.js} +80 -80
- package/dist/chunks/{wellknown-ec6jknr9.js → tool-8cdvd9z3.js} +15 -15
- package/dist/chunks/{wellknown-1bx8nmgw.js → tool-8cwk6cmw.js} +9 -9
- package/dist/chunks/{wellknown-8d7r5vzw.js → tool-8d7r5vzw.js} +1 -1
- package/dist/chunks/{wellknown-vkyg9h5q.js → tool-8mxe8k4b.js} +22 -22
- package/dist/chunks/{wellknown-8p4f9s12.js → tool-8p4f9s12.js} +2 -2
- package/dist/chunks/{wellknown-rmt0nbj5.js → tool-8rqvsz38.js} +4 -4
- package/dist/chunks/{wellknown-czy44wp6.js → tool-8s0z9n45.js} +5 -5
- package/dist/chunks/{wellknown-bbz20pt0.js → tool-8twyvpe7.js} +43 -43
- package/dist/chunks/{wellknown-7pd4ry3z.js → tool-8vsxpez5.js} +46 -46
- package/dist/chunks/{wellknown-bq71vxtg.js → tool-8wagbt41.js} +27 -27
- package/dist/chunks/{wellknown-as6kphby.js → tool-9eeg3wcp.js} +51 -51
- package/dist/chunks/{wellknown-zj09a0ew.js → tool-9h41vc4j.js} +4 -4
- package/dist/chunks/{wellknown-2qw1bc1t.js → tool-9h7qzzke.js} +24 -24
- package/dist/chunks/{wellknown-zvt5ka0t.js → tool-9j2xpqw0.js} +28 -28
- package/dist/chunks/{wellknown-myy8h7m5.js → tool-9me22cbr.js} +19 -19
- package/dist/chunks/{wellknown-d6ygf2cn.js → tool-9swcrqvc.js} +30 -30
- package/dist/chunks/{wellknown-wfq7e0xr.js → tool-9tmrnrc3.js} +20 -20
- package/dist/chunks/{wellknown-a1bz86dw.js → tool-a1bz86dw.js} +3 -3
- package/dist/chunks/{wellknown-mz243gxw.js → tool-a4s526ga.js} +24 -24
- package/dist/chunks/{wellknown-kerhshr9.js → tool-a694798e.js} +5 -5
- package/dist/chunks/{wellknown-aaet6srn.js → tool-aaet6srn.js} +2 -2
- package/dist/chunks/{wellknown-q4eww03h.js → tool-aax1h56x.js} +1 -1
- package/dist/chunks/{wellknown-r61k027t.js → tool-ad6yvafe.js} +17 -17
- package/dist/chunks/{wellknown-fyj0f73f.js → tool-aedkfdwe.js} +16 -16
- package/dist/chunks/{wellknown-0t3pyjz3.js → tool-ankkda91.js} +9 -9
- package/dist/chunks/{wellknown-g4417hh3.js → tool-at81ej1z.js} +6 -6
- package/dist/chunks/{wellknown-428yx6p2.js → tool-awtg3954.js} +33 -33
- package/dist/chunks/{wellknown-b6gygkdw.js → tool-b6gygkdw.js} +2 -2
- package/dist/chunks/{wellknown-a8nah55w.js → tool-b8wa1ckd.js} +1 -1
- package/dist/chunks/{wellknown-z6brc79e.js → tool-ba3nnyyx.js} +10 -10
- package/dist/chunks/{wellknown-bha4atvq.js → tool-bajakh74.js} +4 -4
- package/dist/chunks/{wellknown-t9zs3egg.js → tool-bct739vz.js} +4 -4
- package/dist/chunks/{wellknown-j8zzr2am.js → tool-bdqrk2vk.js} +5 -5
- package/dist/chunks/{wellknown-txh28jzs.js → tool-bfc0h0ah.js} +8 -8
- package/dist/chunks/{wellknown-dwq8cef9.js → tool-bmwvampg.js} +35 -35
- package/dist/chunks/{wellknown-67esxyaq.js → tool-bnxh6nf1.js} +17 -17
- package/dist/chunks/{wellknown-b4cya9kz.js → tool-brahnmae.js} +11 -11
- package/dist/chunks/{wellknown-vzzkf86k.js → tool-c3nr3a1t.js} +28 -28
- package/dist/chunks/{wellknown-7sz98wh0.js → tool-c74bb4fg.js} +299 -299
- package/dist/chunks/{wellknown-860p72tc.js → tool-c8ftv886.js} +5 -5
- package/dist/chunks/{wellknown-cxqrqs6v.js → tool-cb1fb07j.js} +32 -32
- package/dist/chunks/{wellknown-d1v5nxx2.js → tool-cf4qthmf.js} +20 -20
- package/dist/chunks/{wellknown-cfpkc3c9.js → tool-cfpkc3c9.js} +2 -2
- package/dist/chunks/{wellknown-07vf46pq.js → tool-ctgxkhvw.js} +15 -15
- package/dist/chunks/{wellknown-g59p72yg.js → tool-dmpv135r.js} +47 -47
- package/dist/chunks/{wellknown-nm03esje.js → tool-ds93jj24.js} +3 -3
- package/dist/chunks/{wellknown-nw0178xm.js → tool-dssyvqwy.js} +33 -33
- package/dist/chunks/{wellknown-jqktx0eb.js → tool-e036a9pm.js} +28 -28
- package/dist/chunks/{wellknown-bndc73cn.js → tool-e5nv3ght.js} +5 -5
- package/dist/chunks/{wellknown-e6hmchc5.js → tool-e6hmchc5.js} +2 -2
- package/dist/chunks/{wellknown-pecb0brz.js → tool-ead3g9p8.js} +5 -5
- package/dist/chunks/{wellknown-bz0devez.js → tool-ee4a09y5.js} +10 -10
- package/dist/chunks/{wellknown-jnk338bk.js → tool-ekx6gx0x.js} +11 -11
- package/dist/chunks/{wellknown-xk2mzpsa.js → tool-enccs5rm.js} +32 -32
- package/dist/chunks/{wellknown-7yh4e7ss.js → tool-eq1pz5kg.js} +3 -3
- package/dist/chunks/{wellknown-etq0c3wd.js → tool-etq0c3wd.js} +1 -1
- package/dist/chunks/{wellknown-f828m53h.js → tool-f828m53h.js} +2 -2
- package/dist/chunks/{wellknown-nvde7z1v.js → tool-f9m0bqsz.js} +22 -22
- package/dist/chunks/{wellknown-gx2jmcw9.js → tool-fgg2p6ky.js} +11 -11
- package/dist/chunks/{wellknown-j60r5zmy.js → tool-fp7xghy5.js} +13 -13
- package/dist/chunks/{wellknown-23pqda6t.js → tool-fvanntqq.js} +6 -6
- package/dist/chunks/{wellknown-6xcwhts3.js → tool-fvgvh3wz.js} +11 -11
- package/dist/chunks/{wellknown-fxbjtjnd.js → tool-fxbjtjnd.js} +1 -1
- package/dist/chunks/{wellknown-rf98ft5w.js → tool-g4qfqx3z.js} +26 -26
- package/dist/chunks/{wellknown-qx2znyws.js → tool-g77pfeh0.js} +15 -15
- package/dist/chunks/{wellknown-gd4qta3r.js → tool-gd4qta3r.js} +1 -1
- package/dist/chunks/{wellknown-tmt7y050.js → tool-gf3w8mcy.js} +12 -12
- package/dist/chunks/{wellknown-fqj9nv8j.js → tool-gft05b0a.js} +8 -8
- package/dist/chunks/{wellknown-1hpbd1d8.js → tool-gg4bq2q4.js} +7 -7
- package/dist/chunks/{wellknown-n6c2qfs9.js → tool-gq3a5xex.js} +41 -41
- package/dist/chunks/{wellknown-g2ddh771.js → tool-gs4q6mge.js} +5 -5
- package/dist/chunks/{wellknown-gv6a8nnw.js → tool-gv6a8nnw.js} +2 -2
- package/dist/chunks/{wellknown-h03wrkyp.js → tool-h03wrkyp.js} +2 -2
- package/dist/chunks/{wellknown-h6vf3j39.js → tool-h6vf3j39.js} +1 -1
- package/dist/chunks/{wellknown-ferfphdt.js → tool-h7pjjeb1.js} +5 -5
- package/dist/chunks/{wellknown-6yjwfbhf.js → tool-hav2x4nq.js} +4 -4
- package/dist/chunks/{wellknown-hjt4xg1x.js → tool-hjt4xg1x.js} +1 -1
- package/dist/chunks/{wellknown-afdssyjb.js → tool-hn57h045.js} +4 -4
- package/dist/chunks/{wellknown-wtdkn21q.js → tool-hq9kk1eh.js} +5 -5
- package/dist/chunks/{wellknown-614nn5w1.js → tool-hrj7pjr8.js} +14 -14
- package/dist/chunks/{wellknown-twy35tz0.js → tool-hrvd6t1f.js} +9 -9
- package/dist/chunks/{wellknown-c982ejga.js → tool-hz30zgkd.js} +9 -9
- package/dist/chunks/{wellknown-40kjh9zt.js → tool-hz62r41k.js} +46 -46
- package/dist/chunks/{wellknown-tpej6hf6.js → tool-j12s1dt6.js} +6 -6
- package/dist/chunks/{wellknown-6ymj5c7p.js → tool-j27yjeep.js} +29 -29
- package/dist/chunks/{wellknown-hyn2ecqg.js → tool-j2wbkj1x.js} +48 -48
- package/dist/chunks/{wellknown-j56e64zr.js → tool-j56e64zr.js} +1 -1
- package/dist/chunks/{wellknown-ywq6n3vy.js → tool-jb2vcz8q.js} +57 -57
- package/dist/chunks/{wellknown-eyt4k3kj.js → tool-jmk5eqxp.js} +17 -17
- package/dist/chunks/{wellknown-8wrg7dkf.js → tool-jvhnejfk.js} +23 -23
- package/dist/chunks/{wellknown-jw80jp6b.js → tool-jw80jp6b.js} +1 -1
- package/dist/chunks/{wellknown-x569bdqa.js → tool-k2dherqe.js} +1 -1
- package/dist/chunks/{wellknown-7df9bwsb.js → tool-k2vvnb2e.js} +27 -27
- package/dist/chunks/{wellknown-2yc0zt1n.js → tool-k581jmxz.js} +14 -14
- package/dist/chunks/{wellknown-sz6k00j1.js → tool-k641sm4f.js} +12 -12
- package/dist/chunks/{wellknown-j7wq2tw5.js → tool-k6yq57aq.js} +3 -3
- package/dist/chunks/{wellknown-kte9e5my.js → tool-k7hfcg7n.js} +23 -23
- package/dist/chunks/{wellknown-t0fq93h8.js → tool-k9yfmsvc.js} +15 -15
- package/dist/chunks/{wellknown-y6a1dekx.js → tool-kac23fkg.js} +1 -1
- package/dist/chunks/{wellknown-vf49pxf8.js → tool-kaypvkzz.js} +19 -19
- package/dist/chunks/{wellknown-fy5rdmrn.js → tool-kdv4badm.js} +5 -5
- package/dist/chunks/{wellknown-kg06axw8.js → tool-kg06axw8.js} +1 -1
- package/dist/chunks/{wellknown-9cw4g2nz.js → tool-kgwhbhza.js} +19 -19
- package/dist/chunks/{wellknown-awhgpd7e.js → tool-khcc2y7p.js} +11 -11
- package/dist/chunks/{wellknown-7srhakrh.js → tool-khyy3z7c.js} +36 -36
- package/dist/chunks/{wellknown-v67r9x2e.js → tool-kjne0gnr.js} +13 -13
- package/dist/chunks/{wellknown-nftnfmm3.js → tool-kmqmddk0.js} +45 -45
- package/dist/chunks/{wellknown-66c64646.js → tool-kxqpg2a3.js} +6 -6
- package/dist/chunks/{wellknown-7j34szy8.js → tool-m21k6hwm.js} +20 -20
- package/dist/chunks/{wellknown-wtq9ytdv.js → tool-m70012hk.js} +14 -14
- package/dist/chunks/{wellknown-n2t4r3gh.js → tool-m7ah9b01.js} +22 -22
- package/dist/chunks/{wellknown-53dfrr0p.js → tool-m7xke3eb.js} +22 -22
- package/dist/chunks/{wellknown-xekzrwwc.js → tool-m86bnw2c.js} +9 -9
- package/dist/chunks/{wellknown-00h2wynw.js → tool-m8vzpnra.js} +22 -22
- package/dist/chunks/{wellknown-m9w0rfyh.js → tool-m9w0rfyh.js} +1 -1
- package/dist/chunks/{wellknown-55a4dvpq.js → tool-mbeywexs.js} +5 -5
- package/dist/chunks/{wellknown-paegk39x.js → tool-msq0jde0.js} +4 -4
- package/dist/chunks/{wellknown-307krdjp.js → tool-n02csdyp.js} +15 -15
- package/dist/chunks/{wellknown-tfqpcp74.js → tool-n89ph4ha.js} +9 -9
- package/dist/chunks/{wellknown-y0teaw91.js → tool-n96v1vx3.js} +15 -15
- package/dist/chunks/{wellknown-ddc0bqhb.js → tool-n9z12nhw.js} +8 -8
- package/dist/chunks/{wellknown-n6r2xd79.js → tool-nb6x7g5x.js} +4 -4
- package/dist/chunks/{wellknown-zr6mpnsb.js → tool-ngwpnmm2.js} +6 -6
- package/dist/chunks/{wellknown-1vr0zdnx.js → tool-nv6sgpkb.js} +6 -6
- package/dist/chunks/{wellknown-tk7tn7wd.js → tool-nwa6tt5d.js} +1 -1
- package/dist/chunks/tool-pf31ssb9.js +18 -0
- package/dist/chunks/{wellknown-vxq3cchq.js → tool-phptn4kh.js} +6 -6
- package/dist/chunks/{wellknown-pjvnvgmy.js → tool-pjvnvgmy.js} +1 -1
- package/dist/chunks/{wellknown-pknna89w.js → tool-pknna89w.js} +1 -1
- package/dist/chunks/{wellknown-ypgtt1w2.js → tool-pnbgbrcy.js} +35 -35
- package/dist/chunks/{wellknown-xjgyf5pt.js → tool-ppbs3dgs.js} +27 -27
- package/dist/chunks/{wellknown-rvsy3236.js → tool-pq99gyy2.js} +11 -11
- package/dist/chunks/{wellknown-rkmq0ftz.js → tool-pwh8btyp.js} +11 -11
- package/dist/chunks/{wellknown-pxsh4axf.js → tool-q0x9hp0x.js} +32 -32
- package/dist/chunks/{wellknown-cxv3b682.js → tool-q26tgv94.js} +8 -8
- package/dist/chunks/{wellknown-cfb5pb1y.js → tool-q6hf9b7c.js} +20 -20
- package/dist/chunks/{wellknown-kwfvtv90.js → tool-q8445bg1.js} +25 -25
- package/dist/chunks/tool-qapv375x.js +4 -0
- package/dist/chunks/{wellknown-f6brk7pj.js → tool-qcprappc.js} +12 -12
- package/dist/chunks/{wellknown-rz7nw9vv.js → tool-qnhx320f.js} +9 -9
- package/dist/chunks/{wellknown-qsdy395h.js → tool-qsdy395h.js} +1 -1
- package/dist/chunks/{wellknown-xb19yntf.js → tool-qvkbe7wj.js} +22 -22
- package/dist/chunks/{wellknown-8k6k9q3x.js → tool-r0trdc9p.js} +5 -5
- package/dist/chunks/{wellknown-b860jvh5.js → tool-r5vpk0b1.js} +4 -4
- package/dist/chunks/{wellknown-a6jgch9w.js → tool-r6w0w95m.js} +22 -22
- package/dist/chunks/{wellknown-sxg9z5jp.js → tool-r7h76vv8.js} +9 -9
- package/dist/chunks/{wellknown-t7hf8wx6.js → tool-r7x1my69.js} +3 -3
- package/dist/chunks/{wellknown-r9mregkx.js → tool-r9mregkx.js} +2 -2
- package/dist/chunks/{wellknown-e95g814e.js → tool-rcmaerg2.js} +15 -15
- package/dist/chunks/{wellknown-2d9jcxpv.js → tool-rdqxydgw.js} +16 -16
- package/dist/chunks/{wellknown-bb3w8y6r.js → tool-rdsy4w4t.js} +32 -32
- package/dist/chunks/{wellknown-97jqyest.js → tool-rfsjamy2.js} +28 -28
- package/dist/chunks/{wellknown-nvkvd3qt.js → tool-rmbepvtv.js} +17 -17
- package/dist/chunks/{wellknown-5fhs403j.js → tool-rms87t6p.js} +29 -29
- package/dist/chunks/{wellknown-1s2726j8.js → tool-s2hm79cz.js} +10 -10
- package/dist/chunks/{wellknown-m23nmkb4.js → tool-s7cmhz1c.js} +35 -35
- package/dist/chunks/{wellknown-zsjem71r.js → tool-sbshw81j.js} +26 -26
- package/dist/chunks/{wellknown-jwfqb58t.js → tool-smznf5zv.js} +9 -9
- package/dist/chunks/{wellknown-eaj1djv9.js → tool-t550f9t1.js} +8 -8
- package/dist/chunks/{wellknown-tazgh4e4.js → tool-tazgh4e4.js} +1 -1
- package/dist/chunks/{wellknown-tcezcvh9.js → tool-tcezcvh9.js} +1 -1
- package/dist/chunks/{wellknown-tdstcens.js → tool-tdstcens.js} +1 -1
- package/dist/chunks/{wellknown-ds6fr8we.js → tool-tgyrx776.js} +19 -19
- package/dist/chunks/{wellknown-ndya6qrf.js → tool-tjhqx05s.js} +46 -46
- package/dist/chunks/{wellknown-vxbt1qyf.js → tool-tpgw4r9p.js} +11 -11
- package/dist/chunks/{wellknown-tvtrv512.js → tool-tvtrv512.js} +1 -1
- package/dist/chunks/{wellknown-tx9qvpbt.js → tool-tx9qvpbt.js} +2 -2
- package/dist/chunks/{wellknown-v5dkyp31.js → tool-v5dkyp31.js} +1 -1
- package/dist/chunks/{wellknown-veqvce7d.js → tool-veqvce7d.js} +1 -1
- package/dist/chunks/{wellknown-vzcthcp8.js → tool-vzcthcp8.js} +1 -1
- package/dist/chunks/{wellknown-w3wsvvr9.js → tool-w3wsvvr9.js} +1 -1
- package/dist/chunks/{wellknown-mcndymyz.js → tool-w466msxf.js} +8 -8
- package/dist/chunks/{wellknown-wc1gtajg.js → tool-w6zk8pbt.js} +6 -6
- package/dist/chunks/{wellknown-rh2esky4.js → tool-w8dhyk9b.js} +11 -11
- package/dist/chunks/{wellknown-8r3d8rvc.js → tool-wadft2hn.js} +22 -22
- package/dist/chunks/{wellknown-wd87259q.js → tool-wd87259q.js} +1 -1
- package/dist/chunks/{wellknown-3jxyd7b8.js → tool-wp4wkpxj.js} +21 -21
- package/dist/chunks/{wellknown-xg9t41r3.js → tool-wqc6684y.js} +2 -2
- package/dist/chunks/{wellknown-m8f49s9b.js → tool-wrzcwb32.js} +13 -13
- package/dist/chunks/{wellknown-875jp0ab.js → tool-wwmkx8c8.js} +26 -26
- package/dist/chunks/{wellknown-x1ezjp6w.js → tool-x1ezjp6w.js} +1 -1
- package/dist/chunks/{wellknown-r08exq5n.js → tool-xgfrx0dg.js} +22 -22
- package/dist/chunks/{wellknown-f66vs8vk.js → tool-xk01n904.js} +8 -8
- package/dist/chunks/{wellknown-hmgwptan.js → tool-xvr1tfrz.js} +17 -17
- package/dist/chunks/{wellknown-pe8kj4am.js → tool-xwzeg4yz.js} +20 -20
- package/dist/chunks/{wellknown-y1fvbwt7.js → tool-y1fvbwt7.js} +1 -1
- package/dist/chunks/{wellknown-v6mp902x.js → tool-y1rf3ngb.js} +18 -18
- package/dist/chunks/{wellknown-dpkg50ah.js → tool-y71avatq.js} +4 -4
- package/dist/chunks/{wellknown-deh05xx4.js → tool-ycsy29mf.js} +19 -19
- package/dist/chunks/{wellknown-h4yhaw2e.js → tool-ypcyj4th.js} +18 -18
- package/dist/chunks/{wellknown-yrhqyw5v.js → tool-yrhqyw5v.js} +1 -1
- package/dist/chunks/{wellknown-yrznvahk.js → tool-yrznvahk.js} +2 -2
- package/dist/chunks/{wellknown-z0bkrqjs.js → tool-z0bkrqjs.js} +1 -1
- package/dist/chunks/{wellknown-z63w68vq.js → tool-z63w68vq.js} +2 -2
- package/dist/chunks/{wellknown-zeh9ct20.js → tool-zeh9ct20.js} +2 -2
- package/dist/chunks/{wellknown-w73e06md.js → tool-zmjtvdmj.js} +12 -12
- package/dist/chunks/{wellknown-sry1band.js → tool-zq6fa2xa.js} +6 -6
- package/dist/chunks/{wellknown-zr2ceqn5.js → tool-zr2ceqn5.js} +1 -1
- package/dist/chunks/{wellknown-fff7t2h9.js → tool-zv5xthkc.js} +11 -11
- package/dist/chunks/{wellknown-yerdpya6.js → tool-zvsxz435.js} +16 -16
- package/dist/chunks/{wellknown-zxq2ej10.js → tool-zxq2ej10.js} +1 -1
- package/dist/chunks/{wellknown-xjw8t61g.js → tool-zxqp5j27.js} +32 -32
- package/dist/chunks/{wellknown-65cnjpna.js → tool-zzd04jwc.js} +26 -26
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +80 -80
- package/dist/config/discovery.js +79 -79
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +119 -119
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +157 -157
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +117 -117
- package/dist/config/plugin/instruction.js +87 -87
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +128 -128
- package/dist/config/plugin/policy.js +116 -116
- package/dist/config/plugin/provider.js +115 -115
- package/dist/config/plugin/reference.js +119 -119
- package/dist/config/plugin/shell.js +120 -120
- package/dist/config/plugin/skill-file.js +99 -99
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +117 -117
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +65 -65
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- 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 +90 -90
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +92 -92
- 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 +73 -73
- package/dist/file-access.js +101 -101
- package/dist/file-mutation.js +91 -91
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +97 -97
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +100 -100
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +84 -84
- package/dist/generate.js +90 -90
- package/dist/git.js +8 -8
- 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 +3 -3
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +354 -354
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +84 -84
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +133 -133
- package/dist/location-mutation.js +101 -101
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +351 -351
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +88 -88
- package/dist/mcp/index.js +101 -101
- package/dist/mcp/instructions.js +120 -120
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +87 -87
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +10 -10
- package/dist/models-dev.js +87 -87
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +110 -110
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +215 -215
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +325 -325
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +99 -99
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/azure.js +120 -120
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +119 -119
- package/dist/plugin/provider/cloudflare-workers-ai.js +119 -119
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +116 -116
- package/dist/plugin/provider/digitalocean.js +80 -80
- 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 +81 -81
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +119 -119
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +119 -119
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +119 -119
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +119 -119
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +344 -344
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +226 -226
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +87 -87
- package/dist/provider.js +7 -7
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +96 -96
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +78 -78
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +83 -83
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +149 -149
- package/dist/session/diff.js +85 -85
- 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 +222 -222
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +148 -148
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +94 -94
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +115 -115
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +128 -128
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +102 -102
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +87 -87
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +227 -227
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +112 -112
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +133 -133
- package/dist/session/skill.js +100 -100
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +109 -109
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- 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 +135 -135
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +86 -86
- 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 +117 -117
- package/dist/tool/plugin/edit.js +117 -117
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +98 -98
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +102 -102
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +119 -119
- package/dist/tool/read-filesystem.js +98 -98
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +11 -11
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +1 -1
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +6 -6
- package/dist/worktree/refresh.js +341 -341
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +8 -8
- package/dist/chunks/wellknown-0mesazry.js +0 -4
- package/dist/chunks/wellknown-8rg17q0b.js +0 -26
- package/dist/chunks/wellknown-rap9a73h.js +0 -18
- package/dist/chunks/wellknown-w6rm0z24.js +0 -247
- /package/dist/chunks/{wellknown-0qkdqm5v.js → tool-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{wellknown-0zkw76rk.js → tool-0zkw76rk.js} +0 -0
- /package/dist/chunks/{wellknown-17cy0kzp.js → tool-17cy0kzp.js} +0 -0
- /package/dist/chunks/{wellknown-1cnp2v09.js → tool-1cnp2v09.js} +0 -0
- /package/dist/chunks/{wellknown-1kg9ymc8.js → tool-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{wellknown-2710q6r3.js → tool-2710q6r3.js} +0 -0
- /package/dist/chunks/{wellknown-2axfhc9x.js → tool-2axfhc9x.js} +0 -0
- /package/dist/chunks/{wellknown-2c3vjs8z.js → tool-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{wellknown-359p4xyc.js → tool-359p4xyc.js} +0 -0
- /package/dist/chunks/{wellknown-3asan66x.js → tool-3asan66x.js} +0 -0
- /package/dist/chunks/{wellknown-3v8g72cx.js → tool-3v8g72cx.js} +0 -0
- /package/dist/chunks/{wellknown-3w5fmr99.js → tool-3w5fmr99.js} +0 -0
- /package/dist/chunks/{wellknown-3wcehsnq.js → tool-3wcehsnq.js} +0 -0
- /package/dist/chunks/{wellknown-43n2bw4t.js → tool-43n2bw4t.js} +0 -0
- /package/dist/chunks/{wellknown-4knz6hnm.js → tool-4knz6hnm.js} +0 -0
- /package/dist/chunks/{wellknown-4vcrnpx2.js → tool-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{wellknown-4y7fprxs.js → tool-4y7fprxs.js} +0 -0
- /package/dist/chunks/{wellknown-53557ph1.js → tool-53557ph1.js} +0 -0
- /package/dist/chunks/{wellknown-550bvhaj.js → tool-550bvhaj.js} +0 -0
- /package/dist/chunks/{wellknown-6prwharc.js → tool-6prwharc.js} +0 -0
- /package/dist/chunks/{wellknown-7akdwqpd.js → tool-7akdwqpd.js} +0 -0
- /package/dist/chunks/{wellknown-7m9af43g.js → tool-7m9af43g.js} +0 -0
- /package/dist/chunks/{wellknown-822emrt2.js → tool-822emrt2.js} +0 -0
- /package/dist/chunks/{wellknown-88xbtdfr.js → tool-88xbtdfr.js} +0 -0
- /package/dist/chunks/{wellknown-8n3pysct.js → tool-8n3pysct.js} +0 -0
- /package/dist/chunks/{wellknown-922hggd3.js → tool-922hggd3.js} +0 -0
- /package/dist/chunks/{wellknown-9a4afbnw.js → tool-9a4afbnw.js} +0 -0
- /package/dist/chunks/{wellknown-9rqn6x4v.js → tool-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{wellknown-a6k6eb26.js → tool-a6k6eb26.js} +0 -0
- /package/dist/chunks/{wellknown-af5trqkr.js → tool-af5trqkr.js} +0 -0
- /package/dist/chunks/{wellknown-afrmfg78.js → tool-afrmfg78.js} +0 -0
- /package/dist/chunks/{wellknown-aqzs7mqg.js → tool-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{wellknown-atq7p7m5.js → tool-atq7p7m5.js} +0 -0
- /package/dist/chunks/{wellknown-bkyjaxrp.js → tool-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{wellknown-bmr6ed5q.js → tool-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{wellknown-cf4snx6d.js → tool-cf4snx6d.js} +0 -0
- /package/dist/chunks/{wellknown-cvy3z8tj.js → tool-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{wellknown-d9fn303g.js → tool-d9fn303g.js} +0 -0
- /package/dist/chunks/{wellknown-d9jj8t3e.js → tool-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{wellknown-dajrwvna.js → tool-dajrwvna.js} +0 -0
- /package/dist/chunks/{wellknown-dap0rakb.js → tool-dap0rakb.js} +0 -0
- /package/dist/chunks/{wellknown-df08tz66.js → tool-df08tz66.js} +0 -0
- /package/dist/chunks/{wellknown-dy18nga0.js → tool-dy18nga0.js} +0 -0
- /package/dist/chunks/{wellknown-e5kj55wp.js → tool-e5kj55wp.js} +0 -0
- /package/dist/chunks/{wellknown-e73j6tqm.js → tool-e73j6tqm.js} +0 -0
- /package/dist/chunks/{wellknown-ec1grn59.js → tool-ec1grn59.js} +0 -0
- /package/dist/chunks/{wellknown-eh3zwz77.js → tool-eh3zwz77.js} +0 -0
- /package/dist/chunks/{wellknown-emrn6kk6.js → tool-emrn6kk6.js} +0 -0
- /package/dist/chunks/{wellknown-f0mxakyp.js → tool-f0mxakyp.js} +0 -0
- /package/dist/chunks/{wellknown-f6n9ztr4.js → tool-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{wellknown-faypxj3z.js → tool-faypxj3z.js} +0 -0
- /package/dist/chunks/{wellknown-fd410y7t.js → tool-fd410y7t.js} +0 -0
- /package/dist/chunks/{wellknown-fxgpk5d8.js → tool-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{wellknown-g4wezp1m.js → tool-g4wezp1m.js} +0 -0
- /package/dist/chunks/{wellknown-g86h250q.js → tool-g86h250q.js} +0 -0
- /package/dist/chunks/{wellknown-gebd4c9n.js → tool-gebd4c9n.js} +0 -0
- /package/dist/chunks/{wellknown-gftt206x.js → tool-gftt206x.js} +0 -0
- /package/dist/chunks/{wellknown-hjbc5kem.js → tool-hjbc5kem.js} +0 -0
- /package/dist/chunks/{wellknown-hk9envan.js → tool-hk9envan.js} +0 -0
- /package/dist/chunks/{wellknown-hrnqkpcd.js → tool-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{wellknown-j2ntwpah.js → tool-j2ntwpah.js} +0 -0
- /package/dist/chunks/{wellknown-j5zkgpj8.js → tool-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{wellknown-jr7sbwjy.js → tool-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{wellknown-jwfs4k6c.js → tool-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{wellknown-jzg6c2d5.js → tool-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{wellknown-mp448xyj.js → tool-mp448xyj.js} +0 -0
- /package/dist/chunks/{wellknown-msx8hqn2.js → tool-msx8hqn2.js} +0 -0
- /package/dist/chunks/{wellknown-n05xt0ee.js → tool-n05xt0ee.js} +0 -0
- /package/dist/chunks/{wellknown-n3j8tn72.js → tool-n3j8tn72.js} +0 -0
- /package/dist/chunks/{wellknown-njntx4h6.js → tool-njntx4h6.js} +0 -0
- /package/dist/chunks/{wellknown-paphc93g.js → tool-paphc93g.js} +0 -0
- /package/dist/chunks/{wellknown-q3sfg36h.js → tool-q3sfg36h.js} +0 -0
- /package/dist/chunks/{wellknown-q74kybfr.js → tool-q74kybfr.js} +0 -0
- /package/dist/chunks/{wellknown-qaymkmh1.js → tool-qaymkmh1.js} +0 -0
- /package/dist/chunks/{wellknown-qb87gjwd.js → tool-qb87gjwd.js} +0 -0
- /package/dist/chunks/{wellknown-qfa1cgps.js → tool-qfa1cgps.js} +0 -0
- /package/dist/chunks/{wellknown-qrg20bc0.js → tool-qrg20bc0.js} +0 -0
- /package/dist/chunks/{wellknown-rcb2kzg1.js → tool-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{wellknown-sdp7kfr6.js → tool-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{wellknown-sk3qaz4a.js → tool-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{wellknown-ssg3fenm.js → tool-ssg3fenm.js} +0 -0
- /package/dist/chunks/{wellknown-twg0f83k.js → tool-twg0f83k.js} +0 -0
- /package/dist/chunks/{wellknown-w803qqfp.js → tool-w803qqfp.js} +0 -0
- /package/dist/chunks/{wellknown-wer8tq1h.js → tool-wer8tq1h.js} +0 -0
- /package/dist/chunks/{wellknown-wtztk69x.js → tool-wtztk69x.js} +0 -0
- /package/dist/chunks/{wellknown-x0ckcb58.js → tool-x0ckcb58.js} +0 -0
- /package/dist/chunks/{wellknown-x61499pn.js → tool-x61499pn.js} +0 -0
- /package/dist/chunks/{wellknown-y44na4kk.js → tool-y44na4kk.js} +0 -0
- /package/dist/chunks/{wellknown-y8cydn3q.js → tool-y8cydn3q.js} +0 -0
- /package/dist/chunks/{wellknown-y8f7s663.js → tool-y8f7s663.js} +0 -0
- /package/dist/chunks/{wellknown-ygaqb7jw.js → tool-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{wellknown-ym463w8f.js → tool-ym463w8f.js} +0 -0
- /package/dist/chunks/{wellknown-z9919s4g.js → tool-z9919s4g.js} +0 -0
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service59
|
|
3
|
+
} from "./tool-jb2vcz8q.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./tool-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: () =>
|
|
20
|
-
MAX_RESPONSE_BYTES: () =>
|
|
19
|
+
Input: () => Input7,
|
|
20
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin7,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
25
|
description: () => description5,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name7
|
|
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
|
|
34
|
-
var
|
|
33
|
+
var name7 = "webfetch";
|
|
34
|
+
var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
37
|
var description5 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
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 Input7 = 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 Input11 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input7.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
|
|
|
79
79
|
throw new Error("URL must use http:// or https://");
|
|
80
80
|
};
|
|
81
81
|
var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
|
|
82
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
82
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} byte limit)`));
|
|
83
83
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
84
84
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
85
85
|
var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin7 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service59;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name7,
|
|
102
102
|
options: { codemode: false },
|
|
103
103
|
description: description5,
|
|
104
|
-
input:
|
|
104
|
+
input: Input7,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin44 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name7,
|
|
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 { name7, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description5, Input7, Plugin7, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-8p4f9s12.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -3,34 +3,34 @@ import {
|
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2,
|
|
5
5
|
typeFollowing2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-2a5m3afh.js";
|
|
7
7
|
import {
|
|
8
8
|
execDefaults2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-1dazxqgg.js";
|
|
10
10
|
import {
|
|
11
11
|
makeLocalDriver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-b6gygkdw.js";
|
|
13
13
|
import {
|
|
14
14
|
makeMemoryDriver2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./tool-aaet6srn.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service68,
|
|
18
|
+
node72
|
|
19
|
+
} from "./tool-ad6yvafe.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service64,
|
|
22
|
+
node67
|
|
23
|
+
} from "./tool-g4qfqx3z.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./tool-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/environment/environment.ts
|
|
29
29
|
var exports_environment2 = {};
|
|
30
30
|
__export(exports_environment2, {
|
|
31
31
|
EnvironmentService: () => exports_environment2,
|
|
32
|
-
Service: () =>
|
|
33
|
-
node: () =>
|
|
32
|
+
Service: () => Service63,
|
|
33
|
+
node: () => node66
|
|
34
34
|
});
|
|
35
35
|
import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,13 +43,13 @@ __export(exports_environment3, {
|
|
|
43
43
|
Environment: () => exports_environment3,
|
|
44
44
|
Failed: () => Failed2,
|
|
45
45
|
NotFound: () => NotFound2,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service63,
|
|
47
47
|
WrongKind: () => WrongKind2,
|
|
48
48
|
execDefaults: () => execDefaults2,
|
|
49
49
|
makeFiles: () => makeFiles2,
|
|
50
50
|
makeLocalDriver: () => makeLocalDriver2,
|
|
51
51
|
makeMemoryDriver: () => makeMemoryDriver2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node66,
|
|
53
53
|
typeFollowing: () => typeFollowing2
|
|
54
54
|
});
|
|
55
55
|
var makeFiles2 = (driver) => ({
|
|
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
|
|
|
58
58
|
});
|
|
59
59
|
|
|
60
60
|
// src/environment/environment.ts
|
|
61
|
-
class
|
|
61
|
+
class Service63 extends Context.Service()("@opencode/Environment") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
63
|
+
var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
64
64
|
const spawner = yield* ChildProcessSpawner;
|
|
65
|
-
const location = yield*
|
|
66
|
-
const workspace = yield*
|
|
65
|
+
const location = yield* Service68;
|
|
66
|
+
const workspace = yield* Service64;
|
|
67
67
|
const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
|
|
68
|
-
return
|
|
68
|
+
return Service63.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
69
69
|
}));
|
|
70
|
-
var
|
|
71
|
-
service:
|
|
70
|
+
var node66 = makeLocationNode({
|
|
71
|
+
service: Service63,
|
|
72
72
|
layer,
|
|
73
|
-
deps: [CrossSpawnSpawner.node,
|
|
73
|
+
deps: [CrossSpawnSpawner.node, node72, node67]
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Service63, node66, exports_environment2, makeFiles2, exports_environment3 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
codeInterpreterArgsSchema2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-eh3zwz77.js";
|
|
4
4
|
import {
|
|
5
5
|
fileSearchArgsSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-e73j6tqm.js";
|
|
7
7
|
import {
|
|
8
8
|
webSearchArgsSchema2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-3wcehsnq.js";
|
|
10
10
|
import {
|
|
11
11
|
webSearchPreviewArgsSchema2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-dap0rakb.js";
|
|
13
13
|
import {
|
|
14
14
|
imageGenerationArgsSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./tool-4y7fprxs.js";
|
|
16
16
|
|
|
17
17
|
// src/github-copilot/responses/openai-responses-prepare-tools.ts
|
|
18
18
|
import {
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./tool-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./tool-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/memory.ts
|
|
11
11
|
var exports_memory = {};
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service69,
|
|
3
|
+
node73
|
|
4
|
+
} from "./tool-8twyvpe7.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
11
11
|
__export(exports_location, {
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info26,
|
|
13
13
|
Location: () => exports_location,
|
|
14
|
-
Ref: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Ref: () => Ref2,
|
|
15
|
+
Service: () => Service68,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node72,
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
|
-
import { Info as
|
|
21
|
+
import { Info as Info26, Ref as Ref2, response as response2 } from "@opencode/schema/location";
|
|
22
22
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
23
23
|
import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
|
|
24
|
-
class
|
|
24
|
+
class Service68 extends Context.Service()("@opencode/Location") {
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
var layer = (ref, options) => Layer.effect(
|
|
28
|
-
const project = yield*
|
|
26
|
+
var node72 = LayerNode.unbound(Service68, tags.values.location);
|
|
27
|
+
var layer = (ref, options) => Layer.effect(Service68, Effect.gen(function* () {
|
|
28
|
+
const project = yield* Service69;
|
|
29
29
|
const resolved = yield* project.resolve(ref.directory, options);
|
|
30
|
-
return
|
|
30
|
+
return Service68.of({
|
|
31
31
|
directory: ref.directory,
|
|
32
32
|
workspaceID: ref.workspaceID,
|
|
33
33
|
project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
|
|
@@ -35,9 +35,9 @@ var layer = (ref, options) => Layer.effect(Service76, Effect.gen(function* () {
|
|
|
35
35
|
});
|
|
36
36
|
}));
|
|
37
37
|
var boundNode2 = (ref, options) => makeLocationNode({
|
|
38
|
-
service:
|
|
38
|
+
service: Service68,
|
|
39
39
|
layer: layer(ref, options),
|
|
40
|
-
deps: [
|
|
40
|
+
deps: [node73]
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { Info26, Ref2, response2, Service68, node72, boundNode2, exports_location };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./tool-zmjtvdmj.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Event18
|
|
7
|
+
} from "./tool-dssyvqwy.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID15,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./tool-3se9mp31.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID14,
|
|
14
14
|
mergeOverlay2,
|
|
15
15
|
mergeHeaders2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./tool-bfc0h0ah.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
18
|
+
ID18,
|
|
19
19
|
Input14,
|
|
20
20
|
Response2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./tool-q8445bg1.js";
|
|
22
22
|
|
|
23
23
|
// src/plugin/provider/opencode.ts
|
|
24
24
|
import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
|
|
@@ -32,7 +32,7 @@ var methodID = MethodID2.make("device");
|
|
|
32
32
|
var RemoteResponse = Schema.Struct({
|
|
33
33
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
34
34
|
websearch: Schema.Struct({
|
|
35
|
-
providerID:
|
|
35
|
+
providerID: ID18
|
|
36
36
|
}).pipe(Schema.optional)
|
|
37
37
|
});
|
|
38
38
|
var Device = Schema.Struct({
|
|
@@ -54,7 +54,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
|
|
|
54
54
|
var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
|
|
55
55
|
function oauth(http) {
|
|
56
56
|
return {
|
|
57
|
-
integrationID:
|
|
57
|
+
integrationID: ID15.make("opencode"),
|
|
58
58
|
method: {
|
|
59
59
|
id: methodID,
|
|
60
60
|
type: "oauth",
|
|
@@ -99,7 +99,7 @@ function oauth(http) {
|
|
|
99
99
|
var OpencodePlugin2 = define({
|
|
100
100
|
id: "opencode.provider.opencode",
|
|
101
101
|
effect: Effect.fn(function* (ctx) {
|
|
102
|
-
const bus = yield*
|
|
102
|
+
const bus = yield* Service79;
|
|
103
103
|
const http = yield* HttpClient.HttpClient;
|
|
104
104
|
const loading = Semaphore.makeUnsafe(1);
|
|
105
105
|
let snapshot = { config: undefined, connection: undefined };
|
|
@@ -125,7 +125,7 @@ var OpencodePlugin2 = define({
|
|
|
125
125
|
catalog.provider.update(providerID, (provider) => {
|
|
126
126
|
if (source && source.provider !== provider)
|
|
127
127
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
128
|
-
provider.integrationID =
|
|
128
|
+
provider.integrationID = ID15.make("opencode");
|
|
129
129
|
if (item.canonical !== undefined)
|
|
130
130
|
provider.canonical = item.canonical;
|
|
131
131
|
if (item.name !== undefined)
|
|
@@ -188,7 +188,7 @@ var OpencodePlugin2 = define({
|
|
|
188
188
|
});
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
|
-
const item = catalog.provider.get(
|
|
191
|
+
const item = catalog.provider.get(ID14.opencode);
|
|
192
192
|
if (!item)
|
|
193
193
|
return;
|
|
194
194
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -249,7 +249,7 @@ var OpencodePlugin2 = define({
|
|
|
249
249
|
yield* Effect.all([ctx.catalog.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
|
|
250
250
|
});
|
|
251
251
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
|
|
252
|
-
yield* bus.subscribe(
|
|
252
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID15.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
253
253
|
yield* Effect.sleep(Duration.minutes(10)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
|
|
254
254
|
})
|
|
255
255
|
});
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service41
|
|
3
|
+
} from "./tool-3c1tgrea.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-pf31ssb9.js";
|
|
7
7
|
import {
|
|
8
8
|
SkillNotFoundError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-nv6sgpkb.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service50
|
|
12
|
+
} from "./tool-wwmkx8c8.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./tool-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/skill.ts
|
|
18
18
|
var exports_skill4 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_skill4, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var get4 = Effect.fn("SessionSkill.get")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const skills = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service41;
|
|
26
|
+
const skills = yield* awaitActivation2.pipe(Effect.andThen(Service50), instances.provide(input.session));
|
|
27
27
|
const skill = yield* skills.get(input.skill);
|
|
28
28
|
if (!skill)
|
|
29
29
|
return yield* new SkillNotFoundError2({ skill: input.skill });
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
toSessionError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-4rgwgr9n.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/retry.ts
|
|
12
12
|
var exports_retry = {};
|
|
13
13
|
__export(exports_retry, {
|
|
14
14
|
SessionRunnerRetry: () => exports_retry,
|
|
15
15
|
isRetryable: () => isRetryable2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make10,
|
|
17
17
|
policy: () => policy2,
|
|
18
18
|
transient: () => transient2
|
|
19
19
|
});
|
|
@@ -96,7 +96,7 @@ var transient2 = (decide, input) => (effect) => Effect.retry(effect, {
|
|
|
96
96
|
return true;
|
|
97
97
|
})
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var make10 = (bus, sessionID) => Effect.gen(function* () {
|
|
100
100
|
const decide = yield* policy2(sessionID);
|
|
101
101
|
const wait = (input) => Effect.gen(function* () {
|
|
102
102
|
const scheduled = yield* Clock.currentTimeMillis;
|
|
@@ -113,4 +113,4 @@ var make5 = (bus, sessionID) => Effect.gen(function* () {
|
|
|
113
113
|
return { decide, wait };
|
|
114
114
|
});
|
|
115
115
|
|
|
116
|
-
export { isRetryable2, policy2, transient2,
|
|
116
|
+
export { isRetryable2, policy2, transient2, make10, exports_retry };
|
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./tool-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service68
|
|
8
|
+
} from "./tool-ad6yvafe.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service63
|
|
11
|
+
} from "./tool-a4s526ga.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service13
|
|
14
|
+
} from "./tool-rcmaerg2.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service21,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./tool-fp7xghy5.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service59
|
|
22
|
+
} from "./tool-jb2vcz8q.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service17,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./tool-ypcyj4th.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./tool-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./tool-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
38
|
+
Input: () => Input11,
|
|
39
39
|
Output: () => Output8,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin12,
|
|
42
|
+
name: () => name11,
|
|
43
|
+
toModelContent: () => toModelContent5
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name11 = "patch";
|
|
89
|
+
var Input11 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -100,25 +100,25 @@ var Output8 = Schema.Struct({
|
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent5 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin12 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
111
|
+
const environment = yield* Service63;
|
|
112
|
+
const access = yield* Service17;
|
|
113
|
+
const fileMutation = yield* Service21;
|
|
114
|
+
const formatter = yield* Service13;
|
|
115
|
+
const location = yield* Service68;
|
|
116
|
+
const permission = yield* Service59;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name11,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
121
|
+
input: Input11,
|
|
122
122
|
output: Output8,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
@@ -266,7 +266,7 @@ var Plugin45 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent5(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -323,4 +323,4 @@ function trimDiff(diff) {
|
|
|
323
323
|
`);
|
|
324
324
|
}
|
|
325
325
|
|
|
326
|
-
export {
|
|
326
|
+
export { name11, Input11, Applied2, Output8, toModelContent5, Plugin12, exports_patch };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./tool-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./tool-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/local.ts
|
|
11
11
|
var exports_local = {};
|