@opencode/core 0.0.0-dev-19368 → 0.0.0-dev-19369
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{instance-ebhk0gzw.js → tool-00gnxv30.js} +9 -9
- package/dist/chunks/{instance-n9vjy7vk.js → tool-01797ny4.js} +12 -12
- package/dist/chunks/{instance-gsqa3fkf.js → tool-08xgehk5.js} +4 -4
- package/dist/chunks/{instance-kpvyk30t.js → tool-0996nyz8.js} +9 -9
- package/dist/chunks/{instance-0hpxrkyb.js → tool-0hpxrkyb.js} +2 -2
- package/dist/chunks/{instance-e8t7n0n4.js → tool-0msc39tg.js} +6 -6
- package/dist/chunks/{instance-0paq2nw3.js → tool-0paq2nw3.js} +1 -1
- package/dist/chunks/{instance-0q0f95c6.js → tool-0q0f95c6.js} +1 -1
- package/dist/chunks/{instance-frf5pa85.js → tool-0xf6t1bc.js} +21 -21
- package/dist/chunks/{instance-bgwz9jn7.js → tool-0z93v4jy.js} +14 -14
- package/dist/chunks/{instance-adxneatt.js → tool-100kzw8g.js} +39 -39
- package/dist/chunks/{instance-91kzfy2j.js → tool-13tvcsgk.js} +11 -11
- package/dist/chunks/{instance-66m6ryhw.js → tool-1c2q116c.js} +22 -22
- package/dist/chunks/{instance-1dazxqgg.js → tool-1dazxqgg.js} +2 -2
- package/dist/chunks/{instance-kvx3xm55.js → tool-1famk9p6.js} +15 -15
- package/dist/chunks/{instance-840zxbq2.js → tool-1hgt76pw.js} +18 -18
- package/dist/chunks/{instance-w3q19cma.js → tool-1jwdep4c.js} +9 -9
- package/dist/chunks/{instance-cgw5255p.js → tool-1kh06mg4.js} +5 -5
- package/dist/chunks/{instance-21r38tys.js → tool-21r38tys.js} +1 -1
- package/dist/chunks/{instance-w1k39n5e.js → tool-22m95qs7.js} +4 -4
- package/dist/chunks/{instance-6h73sxmp.js → tool-2402vzrj.js} +5 -5
- package/dist/chunks/{instance-z63w68vq.js → tool-29x78va6.js} +6 -6
- package/dist/chunks/{instance-2a4f6v5q.js → tool-2a4f6v5q.js} +2 -2
- package/dist/chunks/{instance-2a5m3afh.js → tool-2a5m3afh.js} +1 -1
- package/dist/chunks/{instance-b1x7x3xx.js → tool-2aqbs40b.js} +11 -11
- package/dist/chunks/{instance-w57fgss2.js → tool-2ft9rrby.js} +4 -4
- package/dist/chunks/{instance-kv861fwr.js → tool-2gm42vdj.js} +13 -13
- package/dist/chunks/{instance-7dqw4kz8.js → tool-2k8khapm.js} +5 -5
- package/dist/chunks/{instance-a9ab9jmj.js → tool-2mnagb0e.js} +5 -5
- package/dist/chunks/{instance-n8yjw666.js → tool-2zk4ah9y.js} +9 -9
- package/dist/chunks/{instance-5xzd26eb.js → tool-31v57ene.js} +32 -32
- package/dist/chunks/{instance-mdrt31wt.js → tool-32xz9ffh.js} +11 -11
- package/dist/chunks/{instance-6j6s7zvs.js → tool-39etbsth.js} +2 -2
- package/dist/chunks/{instance-zqz4jdp2.js → tool-3a9e8ct5.js} +10 -10
- package/dist/chunks/{instance-3fc6dm20.js → tool-3fc6dm20.js} +1 -1
- package/dist/chunks/{instance-3hepkmqq.js → tool-3hepkmqq.js} +1 -1
- package/dist/chunks/{instance-rfgz8p3a.js → tool-3r6vp6xx.js} +10 -10
- package/dist/chunks/{instance-dhhafstk.js → tool-3r7whzgv.js} +7 -7
- package/dist/chunks/{instance-3smtnn6g.js → tool-3smtnn6g.js} +1 -1
- package/dist/chunks/{instance-3tvqynh2.js → tool-3tvqynh2.js} +1 -1
- package/dist/chunks/{instance-5qvyv5vg.js → tool-3zb9t6gq.js} +34 -34
- package/dist/chunks/{instance-5k2c2spf.js → tool-41e240wd.js} +11 -11
- package/dist/chunks/{instance-6y292xw6.js → tool-45zx1ce8.js} +24 -24
- package/dist/chunks/{instance-02zskd6f.js → tool-49hrpkdk.js} +4 -4
- package/dist/chunks/{instance-00btbdax.js → tool-4faz70f1.js} +53 -53
- package/dist/chunks/{instance-g2rrghcj.js → tool-4hnvk1d0.js} +17 -17
- package/dist/chunks/{instance-xbv5m7mc.js → tool-4jad23kz.js} +20 -20
- package/dist/chunks/{instance-2zmvsqxc.js → tool-4rggjvr2.js} +4 -4
- package/dist/chunks/{instance-9eve8eyk.js → tool-50kt3f8y.js} +4 -4
- package/dist/chunks/{instance-8jndy7jd.js → tool-50wkfpjr.js} +24 -24
- package/dist/chunks/{instance-56gdpj1q.js → tool-56gdpj1q.js} +2 -2
- package/dist/chunks/{instance-d3apn3qh.js → tool-5aa4zf44.js} +25 -25
- package/dist/chunks/{instance-ercs2zy5.js → tool-5bnvv0fb.js} +25 -17
- package/dist/chunks/{instance-5c4hm403.js → tool-5c4hm403.js} +3 -3
- package/dist/chunks/{instance-5daktx2q.js → tool-5daktx2q.js} +1 -1
- package/dist/chunks/{instance-5t3nmthw.js → tool-5t3nmthw.js} +2 -2
- package/dist/chunks/{instance-tvmd4yt8.js → tool-622ah2gs.js} +26 -26
- package/dist/chunks/{instance-dp9wb4n0.js → tool-62gm3akr.js} +11 -11
- package/dist/chunks/{instance-5mvd7r80.js → tool-632pkhjb.js} +39 -39
- package/dist/chunks/{instance-9a6pd9wk.js → tool-638f9gty.js} +26 -26
- package/dist/chunks/{instance-669tq793.js → tool-669tq793.js} +1 -1
- package/dist/chunks/{instance-6an8es06.js → tool-6f5kdbjb.js} +30 -30
- package/dist/chunks/{instance-px7qcgj8.js → tool-6fyrr4w1.js} +4 -4
- package/dist/chunks/tool-6kdq0pjd.js +4 -0
- package/dist/chunks/{instance-dc76j9wz.js → tool-6m8y77r5.js} +8 -8
- package/dist/chunks/{instance-6msgmcgs.js → tool-6msgmcgs.js} +1 -1
- package/dist/chunks/{instance-fh1cj0jq.js → tool-6ppc03cv.js} +6 -6
- package/dist/chunks/{instance-25nmx83g.js → tool-6y4tgg16.js} +31 -31
- package/dist/chunks/{instance-71q4at8m.js → tool-71q4at8m.js} +1 -1
- package/dist/chunks/{instance-ty2jx0g0.js → tool-72cm32h1.js} +3 -3
- package/dist/chunks/{instance-7bmhse3q.js → tool-7bmhse3q.js} +1 -1
- package/dist/chunks/{instance-0ft9cg2j.js → tool-7ebn0nc0.js} +6 -6
- package/dist/chunks/{instance-ffx4mq6v.js → tool-7f3sjtrh.js} +1 -1
- package/dist/chunks/{instance-bx4qmb9g.js → tool-7gvwkz6m.js} +5 -5
- package/dist/chunks/{instance-8g55vyxc.js → tool-7j9rtswg.js} +6 -6
- package/dist/chunks/{instance-0trb1k4k.js → tool-7k1k30bt.js} +1 -1
- package/dist/chunks/{instance-hnmyxa6k.js → tool-7rzn7488.js} +37 -37
- package/dist/chunks/{instance-awbdwcvp.js → tool-81swgkk7.js} +2 -2
- package/dist/chunks/{instance-hvkz51ym.js → tool-83n1dzne.js} +29 -29
- package/dist/chunks/{instance-7qp9dbwx.js → tool-859kcgs2.js} +3 -3
- package/dist/chunks/{instance-7nvervjk.js → tool-89h3bp38.js} +20 -20
- package/dist/chunks/{instance-8d7r5vzw.js → tool-8d7r5vzw.js} +1 -1
- package/dist/chunks/{instance-cq9vh2fv.js → tool-8t1wrec1.js} +8 -8
- package/dist/chunks/{instance-7dg8pccb.js → tool-8xv0fcmg.js} +26 -26
- package/dist/chunks/{instance-rfnzy394.js → tool-8ypn74s0.js} +1 -1
- package/dist/chunks/{instance-km7jpebh.js → tool-910hnegs.js} +24 -24
- package/dist/chunks/{instance-h25mgkm2.js → tool-937nxygj.js} +8 -8
- package/dist/chunks/{instance-fagd81np.js → tool-99exew75.js} +43 -43
- package/dist/chunks/{instance-84vd1cs0.js → tool-9aqmr64f.js} +3 -3
- package/dist/chunks/{instance-bw29kp7d.js → tool-9hv8phah.js} +16 -16
- package/dist/chunks/{instance-4n7anxvp.js → tool-a1pcbmkx.js} +14 -14
- package/dist/chunks/{instance-1g7epwpd.js → tool-a46v4e4v.js} +7 -7
- package/dist/chunks/{instance-aaet6srn.js → tool-aaet6srn.js} +2 -2
- package/dist/chunks/{instance-4xbskmpe.js → tool-ag9w8cw1.js} +5 -5
- package/dist/chunks/{instance-rffakc6t.js → tool-amegs12p.js} +9 -9
- package/dist/chunks/{instance-b6gygkdw.js → tool-b6gygkdw.js} +2 -2
- package/dist/chunks/{instance-m3q4xbmf.js → tool-bgmt3wra.js} +25 -25
- package/dist/chunks/{instance-vzrz8rh7.js → tool-bnweey00.js} +4 -4
- package/dist/chunks/{instance-a1jbw6wk.js → tool-br0bxb5z.js} +3 -3
- package/dist/chunks/{instance-bv56xrks.js → tool-bv56xrks.js} +2 -2
- package/dist/chunks/{instance-d01awfpe.js → tool-c3er4f98.js} +15 -15
- package/dist/chunks/{instance-5h7k74mc.js → tool-c4ypf6wq.js} +18 -18
- package/dist/chunks/{instance-wqkncbjv.js → tool-ca9nbgzj.js} +9 -9
- package/dist/chunks/{instance-ytx6pywt.js → tool-ce8ketvm.js} +24 -24
- package/dist/chunks/{instance-hjsa270y.js → tool-cfxak8gp.js} +22 -22
- package/dist/chunks/{instance-q3zg87hy.js → tool-cgfvzygb.js} +16 -16
- package/dist/chunks/{instance-7b15y959.js → tool-cmwkp3r5.js} +8 -8
- package/dist/chunks/{instance-czw7y25w.js → tool-d38rwssd.js} +4 -4
- package/dist/chunks/{instance-4cgf21fz.js → tool-d5pcg4sb.js} +57 -57
- package/dist/chunks/{instance-5r5rxa4y.js → tool-d6bb4cvp.js} +12 -12
- package/dist/chunks/{instance-tm7zr4pr.js → tool-d8nc1xcx.js} +4 -4
- package/dist/chunks/{instance-v00rg87b.js → tool-d8q39vv3.js} +9 -9
- package/dist/chunks/{instance-p72z5xx6.js → tool-d9sn21bc.js} +2 -2
- package/dist/chunks/{instance-1rmngpxg.js → tool-dbnvakxz.js} +2 -2
- package/dist/chunks/{instance-kvw4zqcr.js → tool-dex3nr62.js} +64 -64
- package/dist/chunks/{instance-0cqcvrxj.js → tool-dhhdcexn.js} +19 -19
- package/dist/chunks/{instance-dj2t23y0.js → tool-dj2t23y0.js} +2 -2
- package/dist/chunks/{instance-rqznsqxw.js → tool-dr8w6t5k.js} +8 -8
- package/dist/chunks/{instance-eeke5b1b.js → tool-dw8c19qb.js} +4 -4
- package/dist/chunks/{instance-naxreecs.js → tool-e67ygrb5.js} +20 -20
- package/dist/chunks/{instance-710w2ech.js → tool-e8ge1rnk.js} +1 -1
- package/dist/chunks/{instance-649x8vwy.js → tool-egp6178n.js} +10 -10
- package/dist/chunks/{instance-etq0c3wd.js → tool-etq0c3wd.js} +1 -1
- package/dist/chunks/{instance-rfg5pwyx.js → tool-ezs43bsy.js} +17 -17
- package/dist/chunks/{instance-enndethk.js → tool-f249p1w2.js} +8 -8
- package/dist/chunks/{instance-mm48g0z7.js → tool-f65fprkq.js} +10 -7
- package/dist/chunks/{instance-zv30fynd.js → tool-f9qak17s.js} +3 -3
- package/dist/chunks/{instance-y31b318c.js → tool-fab8hzt3.js} +4 -4
- package/dist/chunks/{instance-j8zzr2am.js → tool-fjvydvzm.js} +6 -6
- package/dist/chunks/{instance-qm29392x.js → tool-fsn1dw54.js} +5 -5
- package/dist/chunks/{instance-4d70nnfp.js → tool-fw7ks5z6.js} +16 -16
- package/dist/chunks/{instance-fxbjtjnd.js → tool-fxbjtjnd.js} +1 -1
- package/dist/chunks/{instance-8fa3dps7.js → tool-g0aj3r5p.js} +4 -4
- package/dist/chunks/{instance-zxgnc9zk.js → tool-g5zf0djh.js} +1 -1
- package/dist/chunks/{instance-m9qackvx.js → tool-g83yhva0.js} +18 -18
- package/dist/chunks/{instance-kqdhfbs0.js → tool-gc2r3arx.js} +80 -80
- package/dist/chunks/{instance-gd4qta3r.js → tool-gd4qta3r.js} +1 -1
- package/dist/chunks/{instance-t0x5rdq8.js → tool-gfqzzqy5.js} +9 -9
- package/dist/chunks/{instance-dzgqajh9.js → tool-gj7hk09m.js} +26 -26
- package/dist/chunks/{instance-yp8ya171.js → tool-gjsj0zqz.js} +148 -148
- package/dist/chunks/{instance-yyb7tjpc.js → tool-gv6a8nnw.js} +2 -2
- package/dist/chunks/{instance-h03wrkyp.js → tool-h03wrkyp.js} +2 -2
- package/dist/chunks/{instance-891xsxp1.js → tool-h1dazz20.js} +17 -17
- package/dist/chunks/{instance-8ccsmkea.js → tool-h30n9bbs.js} +17 -17
- package/dist/chunks/{instance-yaer3rya.js → tool-h47mvjjj.js} +30 -30
- package/dist/chunks/{instance-h6vf3j39.js → tool-h6vf3j39.js} +1 -1
- package/dist/chunks/{instance-hdnk95c8.js → tool-hdnk95c8.js} +2 -2
- package/dist/chunks/{instance-hjt4xg1x.js → tool-hjt4xg1x.js} +1 -1
- package/dist/chunks/{instance-2c0b9tk5.js → tool-hvcjdrj2.js} +4 -4
- package/dist/chunks/{instance-vpt56g2a.js → tool-hwe7x4em.js} +6 -6
- package/dist/chunks/{instance-j56e64zr.js → tool-j56e64zr.js} +1 -1
- package/dist/chunks/{instance-2f04pwep.js → tool-j7wq2tw5.js} +3 -3
- package/dist/chunks/{instance-paphc93g.js → tool-j935v87r.js} +2 -2
- package/dist/chunks/{instance-eafsmgxs.js → tool-j9eppgdd.js} +13 -13
- package/dist/chunks/{instance-1ajn7x1d.js → tool-j9tvrbwe.js} +22 -22
- package/dist/chunks/{instance-9qn3qky1.js → tool-jfpzywp2.js} +8 -8
- package/dist/chunks/{instance-jtw0qgy9.js → tool-jmm88pvs.js} +11 -11
- package/dist/chunks/{instance-vrmbk9b3.js → tool-jp8xd6mf.js} +12 -12
- package/dist/chunks/{instance-ejx21pzt.js → tool-jpchzm8t.js} +14 -14
- package/dist/chunks/{instance-bhn6nzqw.js → tool-jw7c8f1w.js} +13 -13
- package/dist/chunks/{instance-7hdvrc4w.js → tool-jwcaj6se.js} +22 -22
- package/dist/chunks/{instance-dtmjbvbn.js → tool-kf91f419.js} +14 -14
- package/dist/chunks/{instance-kg06axw8.js → tool-kg06axw8.js} +1 -1
- package/dist/chunks/{instance-snb2c079.js → tool-kk8fq19e.js} +24 -24
- package/dist/chunks/{instance-8tzdpj1k.js → tool-knvy7wqf.js} +20 -20
- package/dist/chunks/{instance-63e2pprf.js → tool-ktazsj8x.js} +9 -9
- package/dist/chunks/{instance-x6r00jnc.js → tool-kzx8z335.js} +49 -49
- package/dist/chunks/{instance-m0jqrx5p.js → tool-m0jqrx5p.js} +2 -2
- package/dist/chunks/{instance-efvawj0d.js → tool-m2krvp2x.js} +13 -13
- package/dist/chunks/{instance-a43s45q5.js → tool-m8gmjx38.js} +43 -43
- package/dist/chunks/{instance-m9w0rfyh.js → tool-m9w0rfyh.js} +1 -1
- package/dist/chunks/{instance-qbxb0yq0.js → tool-mfvn5m8d.js} +8 -8
- package/dist/chunks/{instance-mkcjrzeh.js → tool-mkcjrzeh.js} +1 -1
- package/dist/chunks/tool-ms6fawk6.js +247 -0
- package/dist/chunks/{instance-7yh4e7ss.js → tool-mvfsc1pv.js} +3 -3
- package/dist/chunks/{instance-19xzpcas.js → tool-myeama09.js} +41 -41
- package/dist/chunks/{instance-hhnemazm.js → tool-n17rpw7s.js} +11 -11
- package/dist/chunks/{instance-73q02ca8.js → tool-n6arc57m.js} +7 -7
- package/dist/chunks/{instance-e6720tr1.js → tool-n6pkm576.js} +21 -21
- package/dist/chunks/tool-n95b3jav.js +18 -0
- package/dist/chunks/{instance-5wxtjvz1.js → tool-nnxzqqg8.js} +15 -15
- package/dist/chunks/{instance-0aej6zys.js → tool-nqz62vb6.js} +23 -23
- package/dist/chunks/{instance-y6y301ds.js → tool-p514mdqe.js} +25 -25
- package/dist/chunks/{instance-vexpznsa.js → tool-p6604nm9.js} +8 -8
- package/dist/chunks/{instance-kybd2rxw.js → tool-p6rs3vpq.js} +7 -7
- package/dist/chunks/{instance-66x94rbx.js → tool-pc5wdgkb.js} +17 -17
- package/dist/chunks/{instance-knbz53vq.js → tool-pe0c0z4r.js} +18 -18
- package/dist/chunks/{instance-xx6xxkr7.js → tool-phwjyq2h.js} +19 -19
- package/dist/chunks/{instance-9tc5smpg.js → tool-pjmc1jwj.js} +23 -23
- package/dist/chunks/{instance-pjvnvgmy.js → tool-pjvnvgmy.js} +1 -1
- package/dist/chunks/{instance-pknna89w.js → tool-pknna89w.js} +1 -1
- package/dist/chunks/{instance-sw3r3x1t.js → tool-pnv527nz.js} +9 -9
- package/dist/chunks/{instance-8h515xwn.js → tool-pqkb2z9p.js} +15 -15
- package/dist/chunks/{instance-t9c17wmd.js → tool-ptq11xx0.js} +6 -6
- package/dist/chunks/{instance-gzqnxn46.js → tool-pwk28ted.js} +13 -13
- package/dist/chunks/{instance-h79vk5n1.js → tool-px9gxtsw.js} +30 -30
- package/dist/chunks/{instance-8qk9tw02.js → tool-q2027nw7.js} +1 -1
- package/dist/chunks/{instance-gbpp1m8e.js → tool-q5qadqqc.js} +4 -4
- package/dist/chunks/{instance-xnqtaz30.js → tool-q8rarcde.js} +22 -22
- package/dist/chunks/{instance-h7k619ye.js → tool-qaed280k.js} +3 -3
- package/dist/chunks/{instance-x0e6qwje.js → tool-qek8dtx8.js} +11 -11
- package/dist/chunks/{instance-yhj4pxny.js → tool-qfv804ab.js} +6 -6
- package/dist/chunks/{instance-nwcaskpv.js → tool-qjqdk9x8.js} +24 -24
- package/dist/chunks/{instance-qsdy395h.js → tool-qsdy395h.js} +1 -1
- package/dist/chunks/{instance-vqmr0pha.js → tool-qyyanj0n.js} +22 -22
- package/dist/chunks/{instance-9gqncv86.js → tool-qzkdxd86.js} +6 -6
- package/dist/chunks/{instance-prhmb2m0.js → tool-r1q74f54.js} +24 -24
- package/dist/chunks/{instance-np4m5fpj.js → tool-r86gmde5.js} +16 -16
- package/dist/chunks/{instance-qbsmd41d.js → tool-ra3gq1k7.js} +9 -9
- package/dist/chunks/{instance-d2t4e0c6.js → tool-rda0t9vq.js} +5 -5
- package/dist/chunks/{instance-eaj1djv9.js → tool-rhjbct0v.js} +8 -8
- package/dist/chunks/{instance-vnwmzs4a.js → tool-rmm45jmv.js} +5 -5
- package/dist/chunks/{instance-ew85ryxc.js → tool-rsv3dyxs.js} +11 -11
- package/dist/chunks/{instance-hqzv2zrf.js → tool-s006vazc.js} +10 -10
- package/dist/chunks/{instance-j3r1b2h2.js → tool-s0haq3v3.js} +18 -18
- package/dist/chunks/{instance-yrznvahk.js → tool-s4enseaf.js} +2 -2
- package/dist/chunks/{instance-c0b4e50e.js → tool-s6vet9p8.js} +6 -6
- package/dist/chunks/{instance-ektf7zmc.js → tool-s73q3448.js} +275 -275
- package/dist/chunks/{instance-f3ngv102.js → tool-s8j6jbjj.js} +21 -21
- package/dist/chunks/{instance-jkyr6s8g.js → tool-sj71rkrx.js} +11 -11
- package/dist/chunks/{instance-2a10s75x.js → tool-sq27dbnb.js} +9 -9
- package/dist/chunks/{instance-szn5gnby.js → tool-stbptvy9.js} +18 -18
- package/dist/chunks/{instance-808fjmsk.js → tool-sxnp3vqk.js} +17 -17
- package/dist/chunks/{instance-cjv0pc3e.js → tool-t0jgeayb.js} +11 -11
- package/dist/chunks/{instance-m2pqzy60.js → tool-t7yz8ad7.js} +8 -8
- package/dist/chunks/{instance-tazgh4e4.js → tool-tazgh4e4.js} +1 -1
- package/dist/chunks/{instance-taffhj1h.js → tool-tb8rp2yt.js} +24 -24
- package/dist/chunks/{instance-tcezcvh9.js → tool-tcezcvh9.js} +1 -1
- package/dist/chunks/{instance-tdstcens.js → tool-tdstcens.js} +1 -1
- package/dist/chunks/{instance-tvtrv512.js → tool-tvtrv512.js} +1 -1
- package/dist/chunks/{instance-cz5chahx.js → tool-tx1kta8e.js} +39 -39
- package/dist/chunks/{instance-9v3w9xbd.js → tool-v0ekqx65.js} +33 -33
- package/dist/chunks/{instance-j83byb14.js → tool-ve4pfa0n.js} +4 -4
- package/dist/chunks/{instance-veqvce7d.js → tool-veqvce7d.js} +1 -1
- package/dist/chunks/{instance-nq0sdxn2.js → tool-vfpkabdf.js} +10 -10
- package/dist/chunks/{instance-6hc7z342.js → tool-vmq7ehpy.js} +5 -5
- package/dist/chunks/{instance-a2rkxg63.js → tool-vmshp960.js} +24 -24
- package/dist/chunks/{instance-epnpy5yw.js → tool-vv3eqyfe.js} +8 -8
- package/dist/chunks/{instance-qez77x2d.js → tool-vycpdhb1.js} +26 -26
- package/dist/chunks/{instance-5z5zwjym.js → tool-vyqwgby1.js} +3 -3
- package/dist/chunks/{instance-j5ztw4z3.js → tool-vz6rz0af.js} +20 -20
- package/dist/chunks/{instance-vzcthcp8.js → tool-vzcthcp8.js} +1 -1
- package/dist/chunks/{instance-5q2yyvh3.js → tool-w3k36hrr.js} +3 -3
- package/dist/chunks/{instance-w3wsvvr9.js → tool-w3wsvvr9.js} +1 -1
- package/dist/chunks/{instance-c528srjm.js → tool-wbyq7e0t.js} +46 -46
- package/dist/chunks/{instance-wd87259q.js → tool-wd87259q.js} +1 -1
- package/dist/chunks/{instance-7z2ta81y.js → tool-wdn3ce2t.js} +11 -11
- package/dist/chunks/{instance-pvx4ycye.js → tool-wk58jv74.js} +3 -3
- package/dist/chunks/{instance-nm4299rz.js → tool-wpm2rk0p.js} +8 -8
- package/dist/chunks/{instance-wzq4pq7r.js → tool-ws5qfxv9.js} +9 -9
- package/dist/chunks/{instance-x1ezjp6w.js → tool-x1ezjp6w.js} +1 -1
- package/dist/chunks/{instance-x43y2vfs.js → tool-x43y2vfs.js} +2 -2
- package/dist/chunks/{instance-2wcm5qkf.js → tool-xanzpgaf.js} +24 -24
- package/dist/chunks/{instance-evpkjn8p.js → tool-xdepe7a5.js} +10 -10
- package/dist/chunks/{instance-7vc9j9wm.js → tool-xnap109e.js} +15 -15
- package/dist/chunks/{instance-x5tfqtqr.js → tool-xt6vqbst.js} +30 -30
- package/dist/chunks/{instance-h6cfxbqt.js → tool-xz0aj5bv.js} +34 -34
- package/dist/chunks/{instance-3440z6ev.js → tool-y0qtjk0t.js} +11 -11
- package/dist/chunks/{instance-zabjaqgp.js → tool-y0wsg1r3.js} +7 -7
- package/dist/chunks/{instance-y1fvbwt7.js → tool-y1fvbwt7.js} +1 -1
- package/dist/chunks/{instance-5v5531ga.js → tool-y4xwrefb.js} +25 -25
- package/dist/chunks/{instance-y71avatq.js → tool-y71avatq.js} +1 -1
- package/dist/chunks/{instance-gra1ppky.js → tool-yc73ry1q.js} +6 -6
- package/dist/chunks/{instance-r8xr0va3.js → tool-yp2x3t23.js} +4 -4
- package/dist/chunks/{instance-yrhqyw5v.js → tool-yrhqyw5v.js} +1 -1
- package/dist/chunks/{instance-9587dzg1.js → tool-ysd4x4y5.js} +25 -25
- package/dist/chunks/{instance-qdfk511a.js → tool-yvy73jwh.js} +15 -15
- package/dist/chunks/{instance-p0cja4mf.js → tool-ywhnyrnh.js} +5 -5
- package/dist/chunks/{instance-bq373rw2.js → tool-yxz14c3m.js} +39 -39
- package/dist/chunks/{instance-f5dy0vak.js → tool-yyxs5174.js} +9 -9
- package/dist/chunks/{instance-h3ps68as.js → tool-z03197zf.js} +38 -38
- package/dist/chunks/{instance-z0bkrqjs.js → tool-z0bkrqjs.js} +1 -1
- package/dist/chunks/{instance-s7xtjryh.js → tool-z1pfg6df.js} +1 -1
- package/dist/chunks/{instance-tzh4n3sb.js → tool-z9x25qgp.js} +16 -16
- package/dist/chunks/{instance-t9e6e84n.js → tool-zad871sr.js} +1 -1
- package/dist/chunks/{instance-mb44bqwd.js → tool-zbe5vsva.js} +23 -23
- package/dist/chunks/{instance-e2hjzebn.js → tool-zcrspsvn.js} +4 -4
- package/dist/chunks/{instance-rq775frq.js → tool-zeh9ct20.js} +2 -2
- package/dist/chunks/{instance-h7bhx2wj.js → tool-zncx7357.js} +12 -12
- package/dist/chunks/{instance-zr2ceqn5.js → tool-zr2ceqn5.js} +1 -1
- package/dist/chunks/{instance-xjvexad5.js → tool-zxhfgthz.js} +2 -2
- package/dist/chunks/{instance-zxq2ej10.js → tool-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +115 -115
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +113 -113
- 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 +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +64 -64
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +88 -88
- 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 +68 -68
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- 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 +218 -218
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +96 -96
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +89 -89
- package/dist/git.js +3 -3
- 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 +7 -7
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +353 -353
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +84 -84
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +128 -128
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +350 -350
- package/dist/location.js +76 -76
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +97 -97
- package/dist/mcp/instructions.js +120 -120
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +8 -8
- package/dist/models-dev.js +78 -78
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- 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 +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +97 -97
- package/dist/plugin/command.js +92 -92
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +97 -97
- 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/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- 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 +80 -80
- 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 +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -78
- package/dist/plugin/provider/opencode.js +79 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +76 -76
- 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 +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +343 -343
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +80 -80
- package/dist/plugin/vcs/hg.js +80 -80
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +3 -3
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +4 -4
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +75 -75
- 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 +94 -94
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +74 -74
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +77 -77
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +123 -123
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +213 -213
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +75 -75
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +111 -111
- package/dist/session/model-transport.js +5 -5
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +121 -121
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +83 -83
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +206 -206
- package/dist/session/usage.js +1 -1
- package/dist/session.js +207 -207
- 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 +133 -133
- 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 +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +118 -118
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +96 -96
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +106 -106
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/types/rpc.d.ts +1 -0
- 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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- 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 +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/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 +81 -81
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/refresh.js +342 -342
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +8 -8
- package/dist/chunks/instance-0mesazry.js +0 -4
- package/dist/chunks/instance-7fj5dwt0.js +0 -18
- package/dist/chunks/instance-yb2z9g45.js +0 -247
- /package/dist/chunks/{instance-0qkdqm5v.js → tool-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{instance-0zkw76rk.js → tool-0zkw76rk.js} +0 -0
- /package/dist/chunks/{instance-17cy0kzp.js → tool-17cy0kzp.js} +0 -0
- /package/dist/chunks/{instance-1cnp2v09.js → tool-1cnp2v09.js} +0 -0
- /package/dist/chunks/{instance-1kg9ymc8.js → tool-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{instance-2710q6r3.js → tool-2710q6r3.js} +0 -0
- /package/dist/chunks/{instance-2axfhc9x.js → tool-2axfhc9x.js} +0 -0
- /package/dist/chunks/{instance-2c3vjs8z.js → tool-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{instance-359p4xyc.js → tool-359p4xyc.js} +0 -0
- /package/dist/chunks/{instance-3asan66x.js → tool-3asan66x.js} +0 -0
- /package/dist/chunks/{instance-3v8g72cx.js → tool-3v8g72cx.js} +0 -0
- /package/dist/chunks/{instance-3w5fmr99.js → tool-3w5fmr99.js} +0 -0
- /package/dist/chunks/{instance-3wcehsnq.js → tool-3wcehsnq.js} +0 -0
- /package/dist/chunks/{instance-43n2bw4t.js → tool-43n2bw4t.js} +0 -0
- /package/dist/chunks/{instance-4knz6hnm.js → tool-4knz6hnm.js} +0 -0
- /package/dist/chunks/{instance-4y7fprxs.js → tool-4y7fprxs.js} +0 -0
- /package/dist/chunks/{instance-53557ph1.js → tool-53557ph1.js} +0 -0
- /package/dist/chunks/{instance-550bvhaj.js → tool-550bvhaj.js} +0 -0
- /package/dist/chunks/{instance-6prwharc.js → tool-6prwharc.js} +0 -0
- /package/dist/chunks/{instance-7akdwqpd.js → tool-7akdwqpd.js} +0 -0
- /package/dist/chunks/{instance-7m9af43g.js → tool-7m9af43g.js} +0 -0
- /package/dist/chunks/{instance-822emrt2.js → tool-822emrt2.js} +0 -0
- /package/dist/chunks/{instance-88xbtdfr.js → tool-88xbtdfr.js} +0 -0
- /package/dist/chunks/{instance-8n3pysct.js → tool-8n3pysct.js} +0 -0
- /package/dist/chunks/{instance-922hggd3.js → tool-922hggd3.js} +0 -0
- /package/dist/chunks/{instance-9a4afbnw.js → tool-9a4afbnw.js} +0 -0
- /package/dist/chunks/{instance-9rqn6x4v.js → tool-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{instance-a1tpkmh4.js → tool-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{instance-a6k6eb26.js → tool-a6k6eb26.js} +0 -0
- /package/dist/chunks/{instance-af5trqkr.js → tool-af5trqkr.js} +0 -0
- /package/dist/chunks/{instance-afrmfg78.js → tool-afrmfg78.js} +0 -0
- /package/dist/chunks/{instance-aqzs7mqg.js → tool-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{instance-atq7p7m5.js → tool-atq7p7m5.js} +0 -0
- /package/dist/chunks/{instance-bkyjaxrp.js → tool-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{instance-bmr6ed5q.js → tool-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{instance-cf4snx6d.js → tool-cf4snx6d.js} +0 -0
- /package/dist/chunks/{instance-cvy3z8tj.js → tool-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{instance-d9fn303g.js → tool-d9fn303g.js} +0 -0
- /package/dist/chunks/{instance-d9jj8t3e.js → tool-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{instance-dajrwvna.js → tool-dajrwvna.js} +0 -0
- /package/dist/chunks/{instance-dap0rakb.js → tool-dap0rakb.js} +0 -0
- /package/dist/chunks/{instance-df08tz66.js → tool-df08tz66.js} +0 -0
- /package/dist/chunks/{instance-dy18nga0.js → tool-dy18nga0.js} +0 -0
- /package/dist/chunks/{instance-e5kj55wp.js → tool-e5kj55wp.js} +0 -0
- /package/dist/chunks/{instance-e73j6tqm.js → tool-e73j6tqm.js} +0 -0
- /package/dist/chunks/{instance-ec1grn59.js → tool-ec1grn59.js} +0 -0
- /package/dist/chunks/{instance-eh3zwz77.js → tool-eh3zwz77.js} +0 -0
- /package/dist/chunks/{instance-emrn6kk6.js → tool-emrn6kk6.js} +0 -0
- /package/dist/chunks/{instance-f0mxakyp.js → tool-f0mxakyp.js} +0 -0
- /package/dist/chunks/{instance-f6n9ztr4.js → tool-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{instance-faypxj3z.js → tool-faypxj3z.js} +0 -0
- /package/dist/chunks/{instance-fd410y7t.js → tool-fd410y7t.js} +0 -0
- /package/dist/chunks/{instance-fxgpk5d8.js → tool-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{instance-g4wezp1m.js → tool-g4wezp1m.js} +0 -0
- /package/dist/chunks/{instance-g86h250q.js → tool-g86h250q.js} +0 -0
- /package/dist/chunks/{instance-gebd4c9n.js → tool-gebd4c9n.js} +0 -0
- /package/dist/chunks/{instance-gftt206x.js → tool-gftt206x.js} +0 -0
- /package/dist/chunks/{instance-hjbc5kem.js → tool-hjbc5kem.js} +0 -0
- /package/dist/chunks/{instance-hk9envan.js → tool-hk9envan.js} +0 -0
- /package/dist/chunks/{instance-hrnqkpcd.js → tool-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{instance-j2ntwpah.js → tool-j2ntwpah.js} +0 -0
- /package/dist/chunks/{instance-j5zkgpj8.js → tool-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{instance-jr7sbwjy.js → tool-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{instance-jwfs4k6c.js → tool-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{instance-jzg6c2d5.js → tool-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{instance-mp448xyj.js → tool-mp448xyj.js} +0 -0
- /package/dist/chunks/{instance-msx8hqn2.js → tool-msx8hqn2.js} +0 -0
- /package/dist/chunks/{instance-n05xt0ee.js → tool-n05xt0ee.js} +0 -0
- /package/dist/chunks/{instance-n3j8tn72.js → tool-n3j8tn72.js} +0 -0
- /package/dist/chunks/{instance-njntx4h6.js → tool-njntx4h6.js} +0 -0
- /package/dist/chunks/{instance-q3sfg36h.js → tool-q3sfg36h.js} +0 -0
- /package/dist/chunks/{instance-q74kybfr.js → tool-q74kybfr.js} +0 -0
- /package/dist/chunks/{instance-qaymkmh1.js → tool-qaymkmh1.js} +0 -0
- /package/dist/chunks/{instance-qb87gjwd.js → tool-qb87gjwd.js} +0 -0
- /package/dist/chunks/{instance-qfa1cgps.js → tool-qfa1cgps.js} +0 -0
- /package/dist/chunks/{instance-qrg20bc0.js → tool-qrg20bc0.js} +0 -0
- /package/dist/chunks/{instance-rcb2kzg1.js → tool-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{instance-sdp7kfr6.js → tool-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{instance-sk3qaz4a.js → tool-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{instance-ssg3fenm.js → tool-ssg3fenm.js} +0 -0
- /package/dist/chunks/{instance-twg0f83k.js → tool-twg0f83k.js} +0 -0
- /package/dist/chunks/{instance-w803qqfp.js → tool-w803qqfp.js} +0 -0
- /package/dist/chunks/{instance-wer8tq1h.js → tool-wer8tq1h.js} +0 -0
- /package/dist/chunks/{instance-wtztk69x.js → tool-wtztk69x.js} +0 -0
- /package/dist/chunks/{instance-x0ckcb58.js → tool-x0ckcb58.js} +0 -0
- /package/dist/chunks/{instance-x61499pn.js → tool-x61499pn.js} +0 -0
- /package/dist/chunks/{instance-y44na4kk.js → tool-y44na4kk.js} +0 -0
- /package/dist/chunks/{instance-y8cydn3q.js → tool-y8cydn3q.js} +0 -0
- /package/dist/chunks/{instance-ygaqb7jw.js → tool-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{instance-ym463w8f.js → tool-ym463w8f.js} +0 -0
- /package/dist/chunks/{instance-z9919s4g.js → tool-z9919s4g.js} +0 -0
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node52
|
|
5
|
+
} from "./tool-32xz9ffh.js";
|
|
6
6
|
import {
|
|
7
7
|
Service79,
|
|
8
8
|
node84
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-hvcjdrj2.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
11
|
+
ID14,
|
|
12
12
|
aisdk2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./tool-jfpzywp2.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID12,
|
|
16
16
|
VariantID2,
|
|
17
17
|
Family2,
|
|
18
18
|
compatibility2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./tool-jp8xd6mf.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service70,
|
|
22
|
+
node74
|
|
23
|
+
} from "./tool-egp6178n.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./tool-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/models-dev.ts
|
|
29
29
|
var exports_models_dev = {};
|
|
@@ -32,11 +32,11 @@ __export(exports_models_dev, {
|
|
|
32
32
|
Event: () => Event2,
|
|
33
33
|
ModelsDev: () => exports_models_dev,
|
|
34
34
|
Options: () => Options2,
|
|
35
|
-
Service: () =>
|
|
35
|
+
Service: () => Service15,
|
|
36
36
|
bodyDigest: () => bodyDigest2,
|
|
37
37
|
configured: () => configured2,
|
|
38
38
|
layer: () => layer8,
|
|
39
|
-
node: () =>
|
|
39
|
+
node: () => node18
|
|
40
40
|
});
|
|
41
41
|
import { Cause, Context, Duration, Effect, Layer, Option, Schedule, Schema, Semaphore } from "effect";
|
|
42
42
|
import { HttpClient, HttpClientRequest } from "effect/unstable/http";
|
|
@@ -56,7 +56,7 @@ var CatalogModelStatus2 = Schema.Literals(["alpha", "beta", "deprecated"]);
|
|
|
56
56
|
function normalize(input) {
|
|
57
57
|
const providers = [];
|
|
58
58
|
for (const item of Object.values(input)) {
|
|
59
|
-
const providerID =
|
|
59
|
+
const providerID = ID14.make(item.id);
|
|
60
60
|
const info = {
|
|
61
61
|
id: providerID,
|
|
62
62
|
name: item.name,
|
|
@@ -68,10 +68,10 @@ function normalize(input) {
|
|
|
68
68
|
for (const model of Object.values(item.models)) {
|
|
69
69
|
const baseCost = cost(model.cost);
|
|
70
70
|
const variants = reasoningVariants(item, model);
|
|
71
|
-
const id =
|
|
71
|
+
const id = ID12.make(model.id);
|
|
72
72
|
models.push(modelInfo(providerID, id, model, { cost: baseCost, variants }));
|
|
73
73
|
for (const [mode, options] of Object.entries(model.experimental?.modes ?? {})) {
|
|
74
|
-
const modeID =
|
|
74
|
+
const modeID = ID12.make(`${model.id}-${mode}`);
|
|
75
75
|
models.push(modelInfo(providerID, modeID, model, {
|
|
76
76
|
name: modeName(model, mode),
|
|
77
77
|
cost: mergeCost(baseCost, options.cost),
|
|
@@ -449,7 +449,7 @@ function modeName(model, mode) {
|
|
|
449
449
|
function modelInfo(providerID, id, model, input = {}) {
|
|
450
450
|
return {
|
|
451
451
|
id,
|
|
452
|
-
modelID:
|
|
452
|
+
modelID: ID12.make(model.id),
|
|
453
453
|
providerID,
|
|
454
454
|
name: input.name ?? model.name,
|
|
455
455
|
compatibility: compatibility2(model.interleaved),
|
|
@@ -482,7 +482,7 @@ var Options2 = Schema.Struct({
|
|
|
482
482
|
snapshot: Schema.optional(Schema.Boolean)
|
|
483
483
|
});
|
|
484
484
|
|
|
485
|
-
class
|
|
485
|
+
class Service15 extends Context.Service()("@opencode/ModelsDev") {
|
|
486
486
|
}
|
|
487
487
|
var CatalogJson = Schema.fromJsonString(Schema.Record(Schema.String, Schema.Unknown));
|
|
488
488
|
var decodeCatalog = (text) => Schema.decodeUnknownEffect(CatalogJson)(text).pipe(Effect.map((catalog) => catalog));
|
|
@@ -505,11 +505,11 @@ function cacheKey(source) {
|
|
|
505
505
|
function bodyDigest2(text) {
|
|
506
506
|
return Hash.sha256(text);
|
|
507
507
|
}
|
|
508
|
-
var layer8 = (options) => Layer.effect(
|
|
508
|
+
var layer8 = (options) => Layer.effect(Service15, Effect.gen(function* () {
|
|
509
509
|
const fs = yield* FSUtil.Service;
|
|
510
510
|
const bus = yield* Service79;
|
|
511
511
|
const app = yield* Metadata2;
|
|
512
|
-
const kv = yield*
|
|
512
|
+
const kv = yield* Service70;
|
|
513
513
|
const http = HttpClient.filterStatusOk((yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
514
514
|
retryOn: "errors-and-responses",
|
|
515
515
|
times: 2,
|
|
@@ -589,15 +589,15 @@ var layer8 = (options) => Layer.effect(Service13, Effect.gen(function* () {
|
|
|
589
589
|
if (fetch && !process.argv.includes("--get-yargs-completions")) {
|
|
590
590
|
yield* Effect.forkScoped(refresh().pipe(Effect.repeat(Schedule.spaced(ttl)), Effect.ignore));
|
|
591
591
|
}
|
|
592
|
-
return
|
|
592
|
+
return Service15.of({ get, refresh });
|
|
593
593
|
}));
|
|
594
594
|
function configured2(options) {
|
|
595
595
|
return makeGlobalNode({
|
|
596
|
-
service:
|
|
596
|
+
service: Service15,
|
|
597
597
|
layer: layer8(options),
|
|
598
|
-
deps: [FSUtil.node, node84,
|
|
598
|
+
deps: [FSUtil.node, node84, node52, node74, httpClient]
|
|
599
599
|
});
|
|
600
600
|
}
|
|
601
|
-
var
|
|
601
|
+
var node18 = configured2();
|
|
602
602
|
|
|
603
|
-
export { CatalogModelStatus2, Options2,
|
|
603
|
+
export { CatalogModelStatus2, Options2, Service15, bodyDigest2, layer8, configured2, node18, exports_models_dev, Event2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-32xz9ffh.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
ID14
|
|
6
|
+
} from "./tool-jfpzywp2.js";
|
|
7
7
|
import {
|
|
8
8
|
iife2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-1kg9ymc8.js";
|
|
10
10
|
import {
|
|
11
11
|
configuredSettings2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-y0wsg1r3.js";
|
|
13
13
|
|
|
14
14
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
15
15
|
import os from "os";
|
|
16
16
|
import { Effect, Option, Schema } from "effect";
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
18
18
|
import { Form } from "@opencode/schema/form";
|
|
19
|
-
var providerID =
|
|
19
|
+
var providerID = ID14.make("cloudflare-ai-gateway");
|
|
20
20
|
var CloudflareAIGatewayPlugin2 = define({
|
|
21
21
|
id: "opencode.provider.cloudflare.ai.gateway",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/run-coordinator.ts
|
|
6
6
|
var exports_run_coordinator = {};
|
|
7
7
|
__export(exports_run_coordinator, {
|
|
8
8
|
SessionRunCoordinator: () => exports_run_coordinator,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make16
|
|
10
10
|
});
|
|
11
11
|
import { Deferred, Effect, Fiber, FiberSet } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var make16 = (options) => Effect.gen(function* () {
|
|
13
13
|
const executions = new Map;
|
|
14
14
|
const fork = yield* FiberSet.makeRuntime();
|
|
15
15
|
const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
|
|
@@ -89,4 +89,4 @@ var make18 = (options) => Effect.gen(function* () {
|
|
|
89
89
|
};
|
|
90
90
|
});
|
|
91
91
|
|
|
92
|
-
export {
|
|
92
|
+
export { make16, exports_run_coordinator };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service76,
|
|
6
6
|
node81
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-zxhfgthz.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service26,
|
|
10
|
+
node30
|
|
11
|
+
} from "./tool-0z93v4jy.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
14
|
names3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./tool-tcezcvh9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./tool-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: () => Options3,
|
|
25
|
+
Service: () => Service18,
|
|
26
|
+
configured: () => configured3,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer9,
|
|
29
|
+
node: () => node21,
|
|
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 Options3 = Schema.Struct({
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service18 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(
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service18, Effect.gen(function* () {
|
|
62
62
|
const location = yield* Service76;
|
|
63
|
-
const ripgrep = yield*
|
|
63
|
+
const ripgrep = yield* Service26;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -105,14 +105,14 @@ var ripgrepLayer2 = Layer.effect(Service22, 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 Service18.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(
|
|
115
|
+
var fffLayer2 = Layer.effect(Service18, Effect.gen(function* () {
|
|
116
116
|
const location = yield* Service76;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service22, 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 Service18.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service18.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,7 +174,7 @@ var fffLayer2 = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
177
|
+
var layer9 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
178
|
const location = yield* Service76;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
@@ -182,9 +182,9 @@ var layer11 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
|
182
182
|
return ripgrepLayer2;
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
|
-
function
|
|
186
|
-
return makeLocationNode({ service:
|
|
185
|
+
function configured3(options) {
|
|
186
|
+
return makeLocationNode({ service: Service18, layer: layer9(options), deps: [node81, node30] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node21 = configured3();
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Options3, Service18, ripgrepLayer2, fffLayer2, layer9, configured3, node21, exports_search };
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./tool-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service74,
|
|
8
|
+
node78
|
|
9
|
+
} from "./tool-n6pkm576.js";
|
|
10
10
|
import {
|
|
11
11
|
Content2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-g83yhva0.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./tool-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./tool-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service7,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node9,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service7 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -326,13 +326,13 @@ var nthNewline = (bytes, count) => {
|
|
|
326
326
|
return index + 1;
|
|
327
327
|
}
|
|
328
328
|
};
|
|
329
|
-
var layer = Layer.effect(
|
|
330
|
-
const environment = yield*
|
|
331
|
-
return
|
|
329
|
+
var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
330
|
+
const environment = yield* Service74;
|
|
331
|
+
return Service7.of({
|
|
332
332
|
list: environment.files.list,
|
|
333
333
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
334
334
|
});
|
|
335
335
|
}));
|
|
336
|
-
var
|
|
336
|
+
var node9 = makeLocationNode({ service: Service7, layer, deps: [node78] });
|
|
337
337
|
|
|
338
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
338
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service7, read2, node9, exports_read_filesystem };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID14
|
|
3
|
+
} from "./tool-jfpzywp2.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-hjbc5kem.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
|
|
|
14
14
|
effect: Effect.fn(function* (ctx) {
|
|
15
15
|
const npm = yield* Npm.Service;
|
|
16
16
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
17
|
-
if (evt.model.providerID !==
|
|
17
|
+
if (evt.model.providerID !== ID14.make("sap-ai-core"))
|
|
18
18
|
return;
|
|
19
19
|
const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
|
|
20
20
|
if (serviceKey && !process.env.AICORE_SERVICE_KEY)
|
|
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
|
|
|
25
25
|
evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
|
|
26
26
|
}));
|
|
27
27
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
28
|
-
if (evt.model.providerID !==
|
|
28
|
+
if (evt.model.providerID !== ID14.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79,
|
|
6
6
|
node84
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-hvcjdrj2.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
Event19,
|
|
10
|
+
Service71,
|
|
11
11
|
node75
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-83n1dzne.js";
|
|
13
13
|
import {
|
|
14
14
|
Service76,
|
|
15
15
|
node81
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./tool-zxhfgthz.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service74,
|
|
19
|
+
node78
|
|
20
|
+
} from "./tool-n6pkm576.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID6,
|
|
23
|
+
Service53,
|
|
24
|
+
node57
|
|
25
|
+
} from "./tool-ce8ketvm.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./tool-kg06axw8.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID5,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service52,
|
|
34
|
+
node56
|
|
35
|
+
} from "./tool-622ah2gs.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./tool-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
@@ -56,15 +56,15 @@ __export(exports_mcp4, {
|
|
|
56
56
|
ServerInfo: () => ServerInfo2,
|
|
57
57
|
ServerInstructions: () => ServerInstructions2,
|
|
58
58
|
ServerName: () => ServerName2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service35,
|
|
60
60
|
Status: () => Status2,
|
|
61
61
|
Tool: () => Tool3,
|
|
62
62
|
ToolCallError: () => ToolCallError2,
|
|
63
63
|
ToolResult: () => ToolResult2,
|
|
64
64
|
ToolResultContent: () => ToolResultContent2,
|
|
65
65
|
configured: () => configured5,
|
|
66
|
-
layer: () =>
|
|
67
|
-
node: () =>
|
|
66
|
+
layer: () => layer14,
|
|
67
|
+
node: () => node39
|
|
68
68
|
});
|
|
69
69
|
import { Mcp } from "@opencode/schema/mcp";
|
|
70
70
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -81,7 +81,7 @@ var Status2 = Mcp.Status;
|
|
|
81
81
|
class ServerInfo2 extends Schema.Class("MCP.ServerInfo")({
|
|
82
82
|
name: ServerName2,
|
|
83
83
|
status: Status2,
|
|
84
|
-
integrationID:
|
|
84
|
+
integrationID: ID5.pipe(Schema.optional)
|
|
85
85
|
}) {
|
|
86
86
|
}
|
|
87
87
|
|
|
@@ -165,7 +165,7 @@ var GLOBAL_ELICITATION_SESSION_ID = "global";
|
|
|
165
165
|
var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
166
166
|
var cloneConfig = (config) => structuredClone(config);
|
|
167
167
|
|
|
168
|
-
class
|
|
168
|
+
class Service35 extends Context.Service()("@opencode/MCP") {
|
|
169
169
|
}
|
|
170
170
|
var Options5 = Schema.Struct({
|
|
171
171
|
clientInfo: Schema.optional(Schema.Struct({
|
|
@@ -173,13 +173,13 @@ var Options5 = Schema.Struct({
|
|
|
173
173
|
version: Schema.String
|
|
174
174
|
}))
|
|
175
175
|
});
|
|
176
|
-
var
|
|
176
|
+
var layer14 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
177
177
|
const location = yield* Service76;
|
|
178
|
-
const environment = yield*
|
|
178
|
+
const environment = yield* Service74;
|
|
179
179
|
const bus = yield* Service79;
|
|
180
|
-
const forms = yield*
|
|
181
|
-
const integration = yield*
|
|
182
|
-
const credentials = yield*
|
|
180
|
+
const forms = yield* Service53;
|
|
181
|
+
const integration = yield* Service52;
|
|
182
|
+
const credentials = yield* Service71;
|
|
183
183
|
const root = yield* Effect.scope;
|
|
184
184
|
const fork = yield* FiberSet.makeRuntime();
|
|
185
185
|
const entries = new Map;
|
|
@@ -191,7 +191,7 @@ var layer16 = (options) => Layer.effect(Service39, Effect.gen(function* () {
|
|
|
191
191
|
return;
|
|
192
192
|
const remote = entry.config;
|
|
193
193
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
194
|
-
const integrationID =
|
|
194
|
+
const integrationID = ID5.make(suffix);
|
|
195
195
|
entry.integrationID = integrationID;
|
|
196
196
|
owned.add(integrationID);
|
|
197
197
|
const methodID = MethodID2.make(suffix);
|
|
@@ -315,7 +315,7 @@ var layer16 = (options) => Layer.effect(Service39, Effect.gen(function* () {
|
|
|
315
315
|
const elicitation = {
|
|
316
316
|
create: (input) => Effect.gen(function* () {
|
|
317
317
|
if (input.params.mode === "url") {
|
|
318
|
-
const formID =
|
|
318
|
+
const formID = ID6.create();
|
|
319
319
|
const key = input.server + "\x00" + input.params.elicitationId;
|
|
320
320
|
urlElicitations.set(key, formID);
|
|
321
321
|
return yield* forms.ask({
|
|
@@ -433,7 +433,7 @@ var layer16 = (options) => Layer.effect(Service39, Effect.gen(function* () {
|
|
|
433
433
|
entry.scope = scope;
|
|
434
434
|
const authProvider = yield* connectProvider(entry);
|
|
435
435
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
436
|
-
const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
436
|
+
const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service74, environment), Scope.provide(scope), Effect.exit);
|
|
437
437
|
if (Exit.isSuccess(result)) {
|
|
438
438
|
entry.client = result.value.connection;
|
|
439
439
|
entry.tools = result.value.tools.map((def) => toTool(name, entry, def));
|
|
@@ -557,7 +557,7 @@ var layer16 = (options) => Layer.effect(Service39, Effect.gen(function* () {
|
|
|
557
557
|
yield* startServer(name, entry);
|
|
558
558
|
}).pipe(locks.withLock(name));
|
|
559
559
|
});
|
|
560
|
-
fork(bus.subscribe(
|
|
560
|
+
fork(bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
561
561
|
const state = create3({
|
|
562
562
|
name: "mcp",
|
|
563
563
|
initial: () => ({
|
|
@@ -587,7 +587,7 @@ var layer16 = (options) => Layer.effect(Service39, Effect.gen(function* () {
|
|
|
587
587
|
concurrency: "unbounded",
|
|
588
588
|
discard: true
|
|
589
589
|
}));
|
|
590
|
-
return
|
|
590
|
+
return Service35.of({
|
|
591
591
|
transform: state.transform,
|
|
592
592
|
reload: state.reload,
|
|
593
593
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -709,12 +709,12 @@ var layer16 = (options) => Layer.effect(Service39, Effect.gen(function* () {
|
|
|
709
709
|
}));
|
|
710
710
|
function configured5(options) {
|
|
711
711
|
return makeLocationNode({
|
|
712
|
-
service:
|
|
713
|
-
layer:
|
|
714
|
-
deps: [node81,
|
|
712
|
+
service: Service35,
|
|
713
|
+
layer: layer14(options),
|
|
714
|
+
deps: [node81, node78, node84, node57, node56, node75]
|
|
715
715
|
});
|
|
716
716
|
}
|
|
717
|
-
var
|
|
717
|
+
var node39 = configured5();
|
|
718
718
|
function toElicitationField(key, property, required) {
|
|
719
719
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
720
720
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -765,4 +765,4 @@ function toElicitationField(key, property, required) {
|
|
|
765
765
|
}
|
|
766
766
|
}
|
|
767
767
|
|
|
768
|
-
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2,
|
|
768
|
+
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2, Service35, Options5, layer14, configured5, node39, exports_mcp4 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service46
|
|
3
|
+
} from "./tool-h1dazz20.js";
|
|
4
4
|
import {
|
|
5
5
|
Service27
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-dex3nr62.js";
|
|
7
7
|
import {
|
|
8
8
|
text2,
|
|
9
9
|
deliver2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-x1ezjp6w.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./tool-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/session/subagent-job.ts
|
|
16
16
|
var exports_subagent_job = {};
|
|
17
17
|
__export(exports_subagent_job, {
|
|
18
18
|
SubagentJob: () => exports_subagent_job,
|
|
19
|
-
make: () =>
|
|
19
|
+
make: () => make10
|
|
20
20
|
});
|
|
21
21
|
import { Effect, Scope } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var make10 = Effect.gen(function* () {
|
|
23
23
|
const sessions = yield* Service27;
|
|
24
|
-
const jobs = yield*
|
|
24
|
+
const jobs = yield* Service46;
|
|
25
25
|
const scope = yield* Scope.Scope;
|
|
26
26
|
const notifications = new Set;
|
|
27
27
|
const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
|
|
@@ -58,4 +58,4 @@ var make7 = Effect.gen(function* () {
|
|
|
58
58
|
};
|
|
59
59
|
});
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { make10, exports_subagent_job };
|