@opencode/core 0.0.0-dev-19758 → 0.0.0-dev-19761
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 +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +5 -5
- package/dist/bus.js +72 -72
- package/dist/chunks/{bus-gcsw9y0t.js → file-mutation-0191c115.js} +8 -8
- package/dist/chunks/{bus-p139kq9c.js → file-mutation-038hfwp6.js} +25 -25
- package/dist/chunks/{bus-t2ps0g64.js → file-mutation-05hvfspe.js} +9 -9
- package/dist/chunks/{bus-3838ekre.js → file-mutation-0en0hh3r.js} +4 -4
- package/dist/chunks/file-mutation-0mesazry.js +4 -0
- package/dist/chunks/{bus-0paq2nw3.js → file-mutation-0paq2nw3.js} +1 -1
- package/dist/chunks/{bus-0q0f95c6.js → file-mutation-0q0f95c6.js} +1 -1
- package/dist/chunks/{bus-mc494fkv.js → file-mutation-0veef661.js} +22 -22
- package/dist/chunks/{bus-4wmfdqaa.js → file-mutation-12wcs7zv.js} +17 -17
- package/dist/chunks/{bus-10jtetaj.js → file-mutation-19yq3b24.js} +6 -6
- package/dist/chunks/{bus-dv1qgsyq.js → file-mutation-1ajx6rf5.js} +8 -8
- package/dist/chunks/{bus-1dazxqgg.js → file-mutation-1dazxqgg.js} +2 -2
- package/dist/chunks/{bus-n4avssqr.js → file-mutation-1k4apf30.js} +24 -24
- package/dist/chunks/{bus-rfj6pkw1.js → file-mutation-1ptkcd49.js} +35 -35
- package/dist/chunks/{bus-21r38tys.js → file-mutation-21r38tys.js} +1 -1
- package/dist/chunks/{bus-ge6x8gv9.js → file-mutation-23r5xw0j.js} +19 -19
- package/dist/chunks/{bus-wz82dyvb.js → file-mutation-25f8r58f.js} +23 -23
- package/dist/chunks/{bus-qf472px8.js → file-mutation-261r5e4n.js} +23 -23
- package/dist/chunks/{bus-sgz639f1.js → file-mutation-26ejc4a2.js} +13 -13
- package/dist/chunks/{bus-ja2b05k4.js → file-mutation-29t5f74k.js} +27 -27
- package/dist/chunks/{bus-2a5m3afh.js → file-mutation-2a5m3afh.js} +1 -1
- package/dist/chunks/{bus-hdab2k61.js → file-mutation-2a6rn6yr.js} +6 -6
- package/dist/chunks/{bus-33dbnsft.js → file-mutation-2dxbdfvq.js} +9 -9
- package/dist/chunks/{bus-cwa6csj7.js → file-mutation-2mq1h16s.js} +9 -9
- package/dist/chunks/{bus-hfdr1yjj.js → file-mutation-2tfmgkzg.js} +4 -4
- package/dist/chunks/{bus-dg3w1nd5.js → file-mutation-2vvhwkt5.js} +5 -5
- package/dist/chunks/{bus-pykab6j4.js → file-mutation-36f0d0z6.js} +11 -11
- package/dist/chunks/{bus-y7nx0r49.js → file-mutation-3dcz9ejy.js} +25 -25
- package/dist/chunks/{bus-3fc6dm20.js → file-mutation-3fc6dm20.js} +1 -1
- package/dist/chunks/{bus-f57shvpt.js → file-mutation-3fzqgf3j.js} +35 -35
- package/dist/chunks/{bus-3hepkmqq.js → file-mutation-3hepkmqq.js} +1 -1
- package/dist/chunks/{bus-xxq58sya.js → file-mutation-3jnr8qh1.js} +13 -13
- package/dist/chunks/{bus-2e96adxv.js → file-mutation-3ktbe3hf.js} +6 -6
- package/dist/chunks/{bus-drwba54j.js → file-mutation-3nyyq7xg.js} +14 -14
- package/dist/chunks/{bus-3smtnn6g.js → file-mutation-3smtnn6g.js} +1 -1
- package/dist/chunks/{bus-mmj3etnc.js → file-mutation-3sn28wb8.js} +11 -11
- package/dist/chunks/{bus-3tvqynh2.js → file-mutation-3tvqynh2.js} +1 -1
- package/dist/chunks/{bus-hjbpbmpy.js → file-mutation-490myrvf.js} +27 -27
- package/dist/chunks/{bus-67mc9q1p.js → file-mutation-4a7w1hwq.js} +6 -6
- package/dist/chunks/{bus-bz85s9hh.js → file-mutation-4jc5c4h4.js} +1 -1
- package/dist/chunks/{bus-c4mstr5p.js → file-mutation-4m13kmf8.js} +1 -1
- package/dist/chunks/{bus-nkcyb48x.js → file-mutation-4qc9h5b4.js} +37 -37
- package/dist/chunks/{bus-2tth53p7.js → file-mutation-4w6fs8m4.js} +34 -34
- package/dist/chunks/{bus-h4sy77rb.js → file-mutation-4wsvpbqa.js} +17 -17
- package/dist/chunks/{bus-g0b57gve.js → file-mutation-53hfenjt.js} +41 -41
- package/dist/chunks/{bus-57ez7d0k.js → file-mutation-57ez7d0k.js} +2 -2
- package/dist/chunks/{bus-a1bz86dw.js → file-mutation-5c4hm403.js} +3 -3
- package/dist/chunks/{bus-ayg85fpn.js → file-mutation-5cj2v5s1.js} +5 -5
- package/dist/chunks/{bus-5daktx2q.js → file-mutation-5daktx2q.js} +1 -1
- package/dist/chunks/{bus-098d3mqp.js → file-mutation-5dr71pny.js} +21 -21
- package/dist/chunks/{bus-hmhpv68n.js → file-mutation-5g5p3a4z.js} +11 -11
- package/dist/chunks/{bus-h8j3vz9y.js → file-mutation-5g9n2b99.js} +9 -9
- package/dist/chunks/{bus-zawb9p3e.js → file-mutation-5s9b6sk1.js} +11 -11
- package/dist/chunks/{bus-5t3nmthw.js → file-mutation-5t3nmthw.js} +2 -2
- package/dist/chunks/{bus-mxg2czg2.js → file-mutation-62n8bkpp.js} +18 -18
- package/dist/chunks/{bus-669tq793.js → file-mutation-669tq793.js} +1 -1
- package/dist/chunks/{bus-38ac530a.js → file-mutation-68sx5bg2.js} +11 -11
- package/dist/chunks/{bus-gprn4qe6.js → file-mutation-6ar6m3bc.js} +16 -16
- package/dist/chunks/{bus-y05z3yvm.js → file-mutation-6fw138dj.js} +32 -32
- package/dist/chunks/{bus-2402vzrj.js → file-mutation-6h73sxmp.js} +5 -5
- package/dist/chunks/{bus-6msgmcgs.js → file-mutation-6msgmcgs.js} +1 -1
- package/dist/chunks/{bus-dpehwp0a.js → file-mutation-6naga41q.js} +13 -13
- package/dist/chunks/{bus-dq56eeb5.js → file-mutation-6pgbgpfd.js} +25 -25
- package/dist/chunks/{bus-w0ksh1wc.js → file-mutation-6s2w4xdb.js} +39 -39
- package/dist/chunks/{bus-c7beamen.js → file-mutation-6tqx5jbv.js} +7 -7
- package/dist/chunks/{bus-yqmax6eh.js → file-mutation-6x2kf1yf.js} +4 -4
- package/dist/chunks/{bus-dc69t32x.js → file-mutation-77g1rdh8.js} +14 -14
- package/dist/chunks/{bus-7bmhse3q.js → file-mutation-7bmhse3q.js} +1 -1
- package/dist/chunks/{bus-y5df08dr.js → file-mutation-7np6y5v9.js} +12 -12
- package/dist/chunks/{bus-tcezcvh9.js → file-mutation-89znhe33.js} +4 -4
- package/dist/chunks/{bus-jzy2rg4w.js → file-mutation-8crgj5r9.js} +15 -15
- package/dist/chunks/{bus-8d7r5vzw.js → file-mutation-8d7r5vzw.js} +1 -1
- package/dist/chunks/{bus-kprffh1k.js → file-mutation-8etrbmzw.js} +10 -10
- package/dist/chunks/{bus-1rfd4xxr.js → file-mutation-8f4tg2r9.js} +2 -2
- package/dist/chunks/{bus-xfe7h115.js → file-mutation-8fatmd01.js} +23 -23
- package/dist/chunks/{bus-q6gqpcae.js → file-mutation-8w32c8rg.js} +10 -10
- package/dist/chunks/{bus-xxbvdv54.js → file-mutation-8zfh6ja9.js} +7 -7
- package/dist/chunks/{bus-gv0zjanc.js → file-mutation-930xmq4h.js} +2 -2
- package/dist/chunks/{bus-6vaawb56.js → file-mutation-98kxh760.js} +56 -56
- package/dist/chunks/{bus-mvr5bn4j.js → file-mutation-9kr5jrcq.js} +12 -12
- package/dist/chunks/{bus-jjapnhx6.js → file-mutation-9pxd6j34.js} +3 -3
- package/dist/chunks/file-mutation-9qfwj0p7.js +478 -0
- package/dist/chunks/{bus-zvtp3jyd.js → file-mutation-9xk5h4y7.js} +26 -26
- package/dist/chunks/{bus-zk0vgq9k.js → file-mutation-a0025xpp.js} +15 -15
- package/dist/chunks/{bus-aaet6srn.js → file-mutation-aaet6srn.js} +2 -2
- package/dist/chunks/{bus-d84x1h8e.js → file-mutation-agkgk856.js} +26 -26
- package/dist/chunks/{bus-kmphysr3.js → file-mutation-argj9g0a.js} +15 -15
- package/dist/chunks/{bus-44jp0xn3.js → file-mutation-b5e2r92p.js} +16 -16
- package/dist/chunks/{bus-saatj7sj.js → file-mutation-b5f1m11j.js} +11 -11
- package/dist/chunks/{bus-b6gygkdw.js → file-mutation-b6gygkdw.js} +2 -2
- package/dist/chunks/{bus-7q2t57ev.js → file-mutation-bd6pnar5.js} +47 -47
- package/dist/chunks/{bus-td6h23sg.js → file-mutation-bhxm5nqe.js} +8 -8
- package/dist/chunks/{bus-100ecgng.js → file-mutation-c3t2pxbx.js} +7 -7
- package/dist/chunks/{bus-gbhek550.js → file-mutation-c43xdfev.js} +13 -13
- package/dist/chunks/{bus-rped87jq.js → file-mutation-c8axtkt9.js} +40 -40
- package/dist/chunks/{bus-hdf6015e.js → file-mutation-c8xwdywd.js} +37 -37
- package/dist/chunks/{bus-2s6k9xab.js → file-mutation-cc4mce2f.js} +7 -7
- package/dist/chunks/{bus-ck8c2f3r.js → file-mutation-cdpv32dq.js} +22 -22
- package/dist/chunks/{bus-yeh1225a.js → file-mutation-cdqffv3e.js} +19 -19
- package/dist/chunks/{bus-yqphrj09.js → file-mutation-cjjxcne9.js} +4 -4
- package/dist/chunks/{bus-6s3pmmk2.js → file-mutation-dhpnwncd.js} +8 -8
- package/dist/chunks/{bus-8p4f9s12.js → file-mutation-dj2t23y0.js} +2 -2
- package/dist/chunks/{bus-y71avatq.js → file-mutation-dpkg50ah.js} +4 -4
- package/dist/chunks/{bus-xee2b91r.js → file-mutation-dvw9aka0.js} +12 -12
- package/dist/chunks/{bus-gn047571.js → file-mutation-dz1qt43r.js} +29 -29
- package/dist/chunks/{bus-ztvng5ec.js → file-mutation-dz3w7159.js} +16 -16
- package/dist/chunks/{bus-dapfwjck.js → file-mutation-e1psbap5.js} +32 -32
- package/dist/chunks/{bus-hnr5yq9h.js → file-mutation-e6hmchc5.js} +5 -5
- package/dist/chunks/{bus-72macrbw.js → file-mutation-e9kr5pq0.js} +55 -55
- package/dist/chunks/{bus-s8d7rejh.js → file-mutation-eaj1djv9.js} +6 -6
- package/dist/chunks/{bus-d3s8mw9x.js → file-mutation-ed0qr85z.js} +32 -32
- package/dist/chunks/{bus-9c3np669.js → file-mutation-eeaf82dq.js} +8 -8
- package/dist/chunks/{bus-ef5x83kb.js → file-mutation-ef5x83kb.js} +1 -1
- package/dist/chunks/{bus-456sctqq.js → file-mutation-eq20ba7x.js} +8 -8
- package/dist/chunks/{bus-erw5rpbs.js → file-mutation-erw5rpbs.js} +2 -2
- package/dist/chunks/{bus-25bb1hc4.js → file-mutation-eshnyej4.js} +13 -13
- package/dist/chunks/{bus-etq0c3wd.js → file-mutation-etq0c3wd.js} +1 -1
- package/dist/chunks/{bus-q6a741vd.js → file-mutation-eyh2t1hv.js} +6 -6
- package/dist/chunks/{bus-qgw0maww.js → file-mutation-f5a4ckrp.js} +25 -25
- package/dist/chunks/{bus-9bzaahhz.js → file-mutation-fcrgjy0e.js} +24 -24
- package/dist/chunks/{bus-x7ksmd0v.js → file-mutation-fqv15qzw.js} +174 -174
- package/dist/chunks/{bus-aeb4sny1.js → file-mutation-fwfdmgk0.js} +5 -5
- package/dist/chunks/{bus-82rhge12.js → file-mutation-fwwk8vbp.js} +2 -2
- package/dist/chunks/{bus-fxbjtjnd.js → file-mutation-fxbjtjnd.js} +1 -1
- package/dist/chunks/{bus-d6mgh4yr.js → file-mutation-fxzs1me6.js} +8 -8
- package/dist/chunks/{bus-ymh54tbp.js → file-mutation-g1jht461.js} +19 -19
- package/dist/chunks/{bus-n1y7d7jv.js → file-mutation-g1yjvpwh.js} +5 -5
- package/dist/chunks/{bus-j8ajybmk.js → file-mutation-g2x9qc47.js} +11 -11
- package/dist/chunks/{bus-7dz8p9xt.js → file-mutation-g8head04.js} +32 -32
- package/dist/chunks/{bus-gd4qta3r.js → file-mutation-gd4qta3r.js} +1 -1
- package/dist/chunks/{bus-0c8m848g.js → file-mutation-gjfveh7j.js} +16 -16
- package/dist/chunks/{bus-gv6a8nnw.js → file-mutation-gv6a8nnw.js} +2 -2
- package/dist/chunks/{bus-z45f81hm.js → file-mutation-h0bsdgs8.js} +14 -14
- package/dist/chunks/{bus-h6vf3j39.js → file-mutation-h6vf3j39.js} +1 -1
- package/dist/chunks/{bus-1fn7qz6r.js → file-mutation-hcn8jsvf.js} +11 -11
- package/dist/chunks/{bus-f828m53h.js → file-mutation-hdnk95c8.js} +2 -2
- package/dist/chunks/{bus-vskbemtc.js → file-mutation-he1yacd3.js} +22 -22
- package/dist/chunks/{bus-adq3kxc0.js → file-mutation-hgfd4343.js} +5 -5
- package/dist/chunks/{bus-yt0fqk68.js → file-mutation-hkfg6fzm.js} +5 -5
- package/dist/chunks/{bus-0j9y03t3.js → file-mutation-hqp0mznc.js} +46 -46
- package/dist/chunks/{bus-v9j9833d.js → file-mutation-hs0crkaq.js} +3 -3
- package/dist/chunks/{bus-vbs1nqmn.js → file-mutation-hvx6p1wp.js} +22 -22
- package/dist/chunks/{bus-cwbe6ym8.js → file-mutation-hzemm2m2.js} +16 -16
- package/dist/chunks/{bus-54spjwjz.js → file-mutation-j1dch7pk.js} +28 -28
- package/dist/chunks/{bus-j56e64zr.js → file-mutation-j56e64zr.js} +1 -1
- package/dist/chunks/{bus-a4rjqnpf.js → file-mutation-j7z9c6ef.js} +11 -11
- package/dist/chunks/{bus-vy4e6tmv.js → file-mutation-jb2apxnp.js} +22 -22
- package/dist/chunks/{bus-f4sjgpj8.js → file-mutation-jbrrk9sm.js} +34 -34
- package/dist/chunks/{bus-nng2ktcm.js → file-mutation-jca4demv.js} +2 -2
- package/dist/chunks/{bus-4a6e8mmv.js → file-mutation-jnfbbasv.js} +19 -19
- package/dist/chunks/{bus-q4jz9h3x.js → file-mutation-jphjmkq6.js} +29 -29
- package/dist/chunks/{bus-7qgwwy7f.js → file-mutation-jx2pe4cz.js} +13 -13
- package/dist/chunks/{bus-hrns00hc.js → file-mutation-jxbs1d80.js} +3 -3
- package/dist/chunks/{bus-q9jgfmem.js → file-mutation-jxs4965q.js} +28 -28
- package/dist/chunks/{bus-whw3a6ka.js → file-mutation-jyerrpx0.js} +11 -11
- package/dist/chunks/{bus-za9cx4qh.js → file-mutation-k0gdq8ga.js} +8 -8
- package/dist/chunks/{bus-nzks3jc8.js → file-mutation-k3c624dm.js} +3 -3
- package/dist/chunks/{bus-3tq5qxbk.js → file-mutation-k9kj6xed.js} +4 -4
- package/dist/chunks/{bus-d5j16axh.js → file-mutation-kaa0v2ms.js} +15 -15
- package/dist/chunks/{bus-rvgr0dnq.js → file-mutation-kejfs2t8.js} +8 -8
- package/dist/chunks/{bus-4fccdz1z.js → file-mutation-kk9fvz0g.js} +47 -47
- package/dist/chunks/{bus-cyg049pt.js → file-mutation-kp9dcx9z.js} +5 -5
- package/dist/chunks/{bus-ypmjrw8q.js → file-mutation-kvx1rpnk.js} +39 -39
- package/dist/chunks/{bus-kg0nn6m1.js → file-mutation-kxxr9yc4.js} +3 -3
- package/dist/chunks/{bus-0qzv51dm.js → file-mutation-kzmnf39s.js} +35 -35
- package/dist/chunks/{bus-cfpkc3c9.js → file-mutation-m0jqrx5p.js} +2 -2
- package/dist/chunks/{bus-m3fdjcah.js → file-mutation-m3fdjcah.js} +1 -1
- package/dist/chunks/{bus-m9w0rfyh.js → file-mutation-m9w0rfyh.js} +1 -1
- package/dist/chunks/{bus-qbfpstdc.js → file-mutation-mc8fvfg2.js} +11 -11
- package/dist/chunks/{bus-33w4ejhs.js → file-mutation-mfqp6xfm.js} +9 -9
- package/dist/chunks/{bus-mhkvc446.js → file-mutation-mhkvc446.js} +1 -1
- package/dist/chunks/{bus-441xk2wv.js → file-mutation-mkw2wvv0.js} +15 -15
- package/dist/chunks/{bus-17gne236.js → file-mutation-mv7q07d5.js} +4 -4
- package/dist/chunks/{bus-tehawftv.js → file-mutation-mx05ep7f.js} +30 -30
- package/dist/chunks/{bus-7azjdvpr.js → file-mutation-nfp31767.js} +11 -11
- package/dist/chunks/{bus-xj3yf2be.js → file-mutation-nk6nqe1f.js} +12 -12
- package/dist/chunks/{bus-nbtewark.js → file-mutation-nn804z9e.js} +15 -15
- package/dist/chunks/file-mutation-nr40dc33.js +26 -0
- package/dist/chunks/{bus-qg0jgkcp.js → file-mutation-nscznvay.js} +9 -9
- package/dist/chunks/{bus-ya6jt93q.js → file-mutation-nt5s6xes.js} +9 -9
- package/dist/chunks/{bus-h6r3nrb9.js → file-mutation-nzyhnfxz.js} +4 -4
- package/dist/chunks/{bus-9nepbqpa.js → file-mutation-p14ptj3g.js} +6 -6
- package/dist/chunks/{bus-p28j5sbe.js → file-mutation-p28j5sbe.js} +2 -2
- package/dist/chunks/{bus-cktevt8v.js → file-mutation-pfcs87zg.js} +49 -49
- package/dist/chunks/{bus-n3akjfbb.js → file-mutation-phhf31qs.js} +3 -3
- package/dist/chunks/{bus-pjvnvgmy.js → file-mutation-pjvnvgmy.js} +1 -1
- package/dist/chunks/{bus-pknna89w.js → file-mutation-pknna89w.js} +1 -1
- package/dist/chunks/{bus-m2btv783.js → file-mutation-pz7nssfe.js} +11 -11
- package/dist/chunks/{bus-6xckhbd5.js → file-mutation-q2etyd9a.js} +15 -15
- package/dist/chunks/{bus-7w99qc9d.js → file-mutation-q3t37ft6.js} +3 -3
- package/dist/chunks/{bus-1956heqa.js → file-mutation-q6d53jre.js} +8 -8
- package/dist/chunks/{bus-2x1qdj5q.js → file-mutation-q9w8ad9e.js} +11 -11
- package/dist/chunks/{bus-2k8khapm.js → file-mutation-qgn6gcr1.js} +5 -5
- package/dist/chunks/{bus-cavr175a.js → file-mutation-qj8eh1ht.js} +4 -4
- package/dist/chunks/{bus-rhykyrb3.js → file-mutation-qnfp5vp9.js} +29 -29
- package/dist/chunks/{bus-heexpby2.js → file-mutation-qnxv3j9m.js} +15 -15
- package/dist/chunks/{bus-1s3p39g4.js → file-mutation-qqtwvk4z.js} +6 -6
- package/dist/chunks/{bus-qsdy395h.js → file-mutation-qsdy395h.js} +1 -1
- package/dist/chunks/{bus-ezbx256a.js → file-mutation-r503nhm6.js} +32 -32
- package/dist/chunks/{bus-55xf98n8.js → file-mutation-r5j3adnk.js} +12 -12
- package/dist/chunks/{bus-696j2597.js → file-mutation-ragexb62.js} +73 -73
- package/dist/chunks/file-mutation-rap9a73h.js +18 -0
- package/dist/chunks/{bus-g8d3gcyj.js → file-mutation-ratrq7cm.js} +5 -5
- package/dist/chunks/{bus-z2m37x9y.js → file-mutation-rda0977t.js} +18 -18
- package/dist/chunks/{bus-rdw6cm16.js → file-mutation-rdw6cm16.js} +1 -1
- package/dist/chunks/{bus-h3g6m2mf.js → file-mutation-rknfjh7e.js} +1 -1
- package/dist/chunks/{bus-gf7f2369.js → file-mutation-rmxzq7f5.js} +5 -5
- package/dist/chunks/{bus-jj64m3ds.js → file-mutation-rr9a01jb.js} +5 -5
- package/dist/chunks/{bus-feyb32n1.js → file-mutation-rry1p14s.js} +24 -24
- package/dist/chunks/{bus-qhxefk9a.js → file-mutation-rv7ejzpq.js} +14 -14
- package/dist/chunks/{bus-wb3k4ach.js → file-mutation-stpq40nd.js} +5 -5
- package/dist/chunks/{bus-2msw9s5m.js → file-mutation-sttmbcgd.js} +11 -11
- package/dist/chunks/{bus-sskj22e4.js → file-mutation-sxgvjrqz.js} +32 -32
- package/dist/chunks/{bus-fbwcgawc.js → file-mutation-t2bexvdy.js} +11 -11
- package/dist/chunks/{bus-aeck6645.js → file-mutation-ta2zm0w6.js} +8 -8
- package/dist/chunks/{bus-tazgh4e4.js → file-mutation-tazgh4e4.js} +1 -1
- package/dist/chunks/{bus-tggcyvkj.js → file-mutation-tdebhbgf.js} +20 -20
- package/dist/chunks/{bus-tdstcens.js → file-mutation-tdstcens.js} +1 -1
- package/dist/chunks/{bus-yyhbbs14.js → file-mutation-tjt7rmbv.js} +13 -13
- package/dist/chunks/{bus-5bmybb02.js → file-mutation-tjzphfhm.js} +31 -31
- package/dist/chunks/{bus-37s12vcn.js → file-mutation-tn0aqsam.js} +5 -5
- package/dist/chunks/{bus-3nse7x66.js → file-mutation-trmcxas4.js} +20 -20
- package/dist/chunks/{bus-tvtrv512.js → file-mutation-tvtrv512.js} +1 -1
- package/dist/chunks/{bus-x353b1jt.js → file-mutation-tx9w5tca.js} +8 -8
- package/dist/chunks/{bus-4bj7sh8v.js → file-mutation-ty5fs5j6.js} +94 -94
- package/dist/chunks/{bus-d4g3vwm5.js → file-mutation-tyx8wm26.js} +21 -21
- package/dist/chunks/{bus-a471nxk4.js → file-mutation-v4d0xtvr.js} +28 -28
- package/dist/chunks/{bus-ff8g97f7.js → file-mutation-v8a45twc.js} +6 -6
- package/dist/chunks/{bus-fp3b2tyn.js → file-mutation-vb4sbr14.js} +24 -24
- package/dist/chunks/{bus-vncycja5.js → file-mutation-ve4pfa0n.js} +4 -4
- package/dist/chunks/{bus-veqvce7d.js → file-mutation-veqvce7d.js} +1 -1
- package/dist/chunks/{bus-xrfzp3qw.js → file-mutation-vv1kzm65.js} +21 -21
- package/dist/chunks/{bus-yzrekgkv.js → file-mutation-vwnqjcv5.js} +5 -5
- package/dist/chunks/{bus-vzcthcp8.js → file-mutation-vzcthcp8.js} +1 -1
- package/dist/chunks/{bus-06dxphr1.js → file-mutation-w1k39n5e.js} +4 -4
- package/dist/chunks/{bus-vgmgvddh.js → file-mutation-w1kcaz1j.js} +29 -29
- package/dist/chunks/{bus-sscd0z9x.js → file-mutation-w21rnkyj.js} +4 -4
- package/dist/chunks/{bus-c019crvg.js → file-mutation-w2a1qfyt.js} +18 -18
- package/dist/chunks/{bus-w3wsvvr9.js → file-mutation-w3wsvvr9.js} +1 -1
- package/dist/chunks/{bus-gffqj91w.js → file-mutation-w5rka97k.js} +9 -9
- package/dist/chunks/{bus-110m9arz.js → file-mutation-w6q7j1y8.js} +17 -17
- package/dist/chunks/{bus-6b0wr2gn.js → file-mutation-w9km2t8f.js} +23 -23
- package/dist/chunks/{bus-0cm1nqy3.js → file-mutation-wa4wttm3.js} +20 -20
- package/dist/chunks/{bus-wd87259q.js → file-mutation-wd87259q.js} +1 -1
- package/dist/chunks/{bus-7xx1524k.js → file-mutation-wdg1qc82.js} +44 -44
- package/dist/chunks/{bus-x4aqctta.js → file-mutation-wg6s600h.js} +4 -4
- package/dist/chunks/{bus-kcdjsgm9.js → file-mutation-whj48kk1.js} +7 -7
- package/dist/chunks/{bus-xm4abfw6.js → file-mutation-wrzj8c0x.js} +31 -31
- package/dist/chunks/{bus-x1ezjp6w.js → file-mutation-x1ezjp6w.js} +1 -1
- package/dist/chunks/{bus-2chdexej.js → file-mutation-x8azae4j.js} +17 -17
- package/dist/chunks/{bus-b4tzb99z.js → file-mutation-xekxpj28.js} +4 -4
- package/dist/chunks/{bus-57b9ws8p.js → file-mutation-xfkkasph.js} +7 -7
- package/dist/chunks/{bus-1c4h0esh.js → file-mutation-xfr883hz.js} +6 -6
- package/dist/chunks/{bus-nzeerxgc.js → file-mutation-xsex6r0c.js} +10 -10
- package/dist/chunks/{bus-qr8h26wd.js → file-mutation-y0dw7cqc.js} +11 -11
- package/dist/chunks/{bus-gm7vvz5v.js → file-mutation-y0v1p1dt.js} +17 -17
- package/dist/chunks/{bus-y1fvbwt7.js → file-mutation-y1fvbwt7.js} +1 -1
- package/dist/chunks/{bus-xjk1tc7r.js → file-mutation-y1qgdahb.js} +22 -22
- package/dist/chunks/{bus-0cbj8ajh.js → file-mutation-y93vdqe0.js} +13 -13
- package/dist/chunks/{bus-ns2eanfy.js → file-mutation-ycq1j8r4.js} +25 -25
- package/dist/chunks/{bus-s0fe0qa9.js → file-mutation-yexxf089.js} +6 -6
- package/dist/chunks/{bus-5y3kegep.js → file-mutation-yngsm5fg.js} +4 -4
- package/dist/chunks/{bus-yp2x3t23.js → file-mutation-yp2x3t23.js} +1 -1
- package/dist/chunks/{bus-yrhqyw5v.js → file-mutation-yrhqyw5v.js} +1 -1
- package/dist/chunks/{bus-yrznvahk.js → file-mutation-yrznvahk.js} +2 -2
- package/dist/chunks/{bus-nb9p6b26.js → file-mutation-z0aj456m.js} +4 -4
- package/dist/chunks/{bus-z0bkrqjs.js → file-mutation-z0bkrqjs.js} +1 -1
- package/dist/chunks/{bus-47xrm495.js → file-mutation-z1pn07yf.js} +83 -83
- package/dist/chunks/{bus-7vvypxen.js → file-mutation-z35a98pe.js} +7 -7
- package/dist/chunks/{bus-z63w68vq.js → file-mutation-z63w68vq.js} +2 -2
- package/dist/chunks/{bus-8jr144xf.js → file-mutation-z74yzpyb.js} +9 -9
- package/dist/chunks/{bus-0b0th7s4.js → file-mutation-zanef7gq.js} +13 -13
- package/dist/chunks/{bus-zeh9ct20.js → file-mutation-zeh9ct20.js} +2 -2
- package/dist/chunks/{bus-p7r1y5kx.js → file-mutation-zh8xyr5z.js} +6 -6
- package/dist/chunks/{bus-h6z8d5tn.js → file-mutation-zj09a0ew.js} +4 -4
- package/dist/chunks/file-mutation-zn2zb1e7.js +252 -0
- package/dist/chunks/{bus-zr2ceqn5.js → file-mutation-zr2ceqn5.js} +1 -1
- package/dist/chunks/{bus-8gxqpgph.js → file-mutation-zvt5dnpc.js} +4 -4
- package/dist/chunks/{bus-25trdgaf.js → file-mutation-zxpkpj7m.js} +29 -29
- package/dist/chunks/{bus-zxq2ej10.js → file-mutation-zxq2ej10.js} +1 -1
- package/dist/chunks/{bus-f010ntnv.js → file-mutation-zz8tbzf4.js} +22 -22
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +69 -69
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +366 -366
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +103 -103
- package/dist/file-mutation.js +93 -93
- 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 +226 -226
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +107 -107
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +86 -86
- package/dist/generate.js +102 -102
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +90 -90
- 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 +357 -357
- package/dist/instruction-discovery.js +76 -76
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +103 -103
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +354 -354
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +101 -101
- package/dist/models-dev.js +102 -102
- 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 +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +79 -79
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +328 -328
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +119 -119
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- 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 +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +345 -345
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +228 -228
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +100 -100
- 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 +97 -97
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- 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 +151 -151
- package/dist/session/diff.js +87 -87
- 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 +223 -223
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +85 -85
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- 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 +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- 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 +11 -11
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +90 -90
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +126 -126
- package/dist/tool/plugin/edit.js +113 -113
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +113 -113
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- 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 +91 -91
- package/dist/v1/config/permission.js +3 -3
- 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/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +7 -7
- 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 +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/bus-2h9152w8.js +0 -252
- package/dist/chunks/bus-2r959258.js +0 -478
- package/dist/chunks/bus-619r8v3y.js +0 -18
- package/dist/chunks/bus-6kdq0pjd.js +0 -4
- package/dist/chunks/bus-m5kkt6zs.js +0 -26
- /package/dist/chunks/{bus-0qkdqm5v.js → file-mutation-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{bus-0zkw76rk.js → file-mutation-0zkw76rk.js} +0 -0
- /package/dist/chunks/{bus-17cy0kzp.js → file-mutation-17cy0kzp.js} +0 -0
- /package/dist/chunks/{bus-1cnp2v09.js → file-mutation-1cnp2v09.js} +0 -0
- /package/dist/chunks/{bus-1kg9ymc8.js → file-mutation-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{bus-24dcb14g.js → file-mutation-24dcb14g.js} +0 -0
- /package/dist/chunks/{bus-2710q6r3.js → file-mutation-2710q6r3.js} +0 -0
- /package/dist/chunks/{bus-2axfhc9x.js → file-mutation-2axfhc9x.js} +0 -0
- /package/dist/chunks/{bus-2c3vjs8z.js → file-mutation-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{bus-359p4xyc.js → file-mutation-359p4xyc.js} +0 -0
- /package/dist/chunks/{bus-3asan66x.js → file-mutation-3asan66x.js} +0 -0
- /package/dist/chunks/{bus-3v8g72cx.js → file-mutation-3v8g72cx.js} +0 -0
- /package/dist/chunks/{bus-3w5fmr99.js → file-mutation-3w5fmr99.js} +0 -0
- /package/dist/chunks/{bus-3wcehsnq.js → file-mutation-3wcehsnq.js} +0 -0
- /package/dist/chunks/{bus-43n2bw4t.js → file-mutation-43n2bw4t.js} +0 -0
- /package/dist/chunks/{bus-4knz6hnm.js → file-mutation-4knz6hnm.js} +0 -0
- /package/dist/chunks/{bus-4vcrnpx2.js → file-mutation-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{bus-4y7fprxs.js → file-mutation-4y7fprxs.js} +0 -0
- /package/dist/chunks/{bus-53557ph1.js → file-mutation-53557ph1.js} +0 -0
- /package/dist/chunks/{bus-550bvhaj.js → file-mutation-550bvhaj.js} +0 -0
- /package/dist/chunks/{bus-5qd3pb7m.js → file-mutation-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{bus-6prwharc.js → file-mutation-6prwharc.js} +0 -0
- /package/dist/chunks/{bus-7akdwqpd.js → file-mutation-7akdwqpd.js} +0 -0
- /package/dist/chunks/{bus-7m9af43g.js → file-mutation-7m9af43g.js} +0 -0
- /package/dist/chunks/{bus-822emrt2.js → file-mutation-822emrt2.js} +0 -0
- /package/dist/chunks/{bus-88xbtdfr.js → file-mutation-88xbtdfr.js} +0 -0
- /package/dist/chunks/{bus-8n3pysct.js → file-mutation-8n3pysct.js} +0 -0
- /package/dist/chunks/{bus-922hggd3.js → file-mutation-922hggd3.js} +0 -0
- /package/dist/chunks/{bus-9a4afbnw.js → file-mutation-9a4afbnw.js} +0 -0
- /package/dist/chunks/{bus-9rqn6x4v.js → file-mutation-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{bus-a6k6eb26.js → file-mutation-a6k6eb26.js} +0 -0
- /package/dist/chunks/{bus-af5trqkr.js → file-mutation-af5trqkr.js} +0 -0
- /package/dist/chunks/{bus-afrmfg78.js → file-mutation-afrmfg78.js} +0 -0
- /package/dist/chunks/{bus-aqzs7mqg.js → file-mutation-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{bus-atq7p7m5.js → file-mutation-atq7p7m5.js} +0 -0
- /package/dist/chunks/{bus-bkyjaxrp.js → file-mutation-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{bus-bmr6ed5q.js → file-mutation-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{bus-cf4snx6d.js → file-mutation-cf4snx6d.js} +0 -0
- /package/dist/chunks/{bus-cvy3z8tj.js → file-mutation-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{bus-d9fn303g.js → file-mutation-d9fn303g.js} +0 -0
- /package/dist/chunks/{bus-d9jj8t3e.js → file-mutation-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{bus-dajrwvna.js → file-mutation-dajrwvna.js} +0 -0
- /package/dist/chunks/{bus-dap0rakb.js → file-mutation-dap0rakb.js} +0 -0
- /package/dist/chunks/{bus-df08tz66.js → file-mutation-df08tz66.js} +0 -0
- /package/dist/chunks/{bus-dy18nga0.js → file-mutation-dy18nga0.js} +0 -0
- /package/dist/chunks/{bus-e5kj55wp.js → file-mutation-e5kj55wp.js} +0 -0
- /package/dist/chunks/{bus-e73j6tqm.js → file-mutation-e73j6tqm.js} +0 -0
- /package/dist/chunks/{bus-ec1grn59.js → file-mutation-ec1grn59.js} +0 -0
- /package/dist/chunks/{bus-eh3zwz77.js → file-mutation-eh3zwz77.js} +0 -0
- /package/dist/chunks/{bus-emrn6kk6.js → file-mutation-emrn6kk6.js} +0 -0
- /package/dist/chunks/{bus-f0mxakyp.js → file-mutation-f0mxakyp.js} +0 -0
- /package/dist/chunks/{bus-f6n9ztr4.js → file-mutation-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{bus-faypxj3z.js → file-mutation-faypxj3z.js} +0 -0
- /package/dist/chunks/{bus-fd410y7t.js → file-mutation-fd410y7t.js} +0 -0
- /package/dist/chunks/{bus-fxgpk5d8.js → file-mutation-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{bus-g4wezp1m.js → file-mutation-g4wezp1m.js} +0 -0
- /package/dist/chunks/{bus-g86h250q.js → file-mutation-g86h250q.js} +0 -0
- /package/dist/chunks/{bus-gebd4c9n.js → file-mutation-gebd4c9n.js} +0 -0
- /package/dist/chunks/{bus-gftt206x.js → file-mutation-gftt206x.js} +0 -0
- /package/dist/chunks/{bus-hjbc5kem.js → file-mutation-hjbc5kem.js} +0 -0
- /package/dist/chunks/{bus-hk9envan.js → file-mutation-hk9envan.js} +0 -0
- /package/dist/chunks/{bus-j2ntwpah.js → file-mutation-j2ntwpah.js} +0 -0
- /package/dist/chunks/{bus-j5zkgpj8.js → file-mutation-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{bus-jjkms2e6.js → file-mutation-jjkms2e6.js} +0 -0
- /package/dist/chunks/{bus-jr7sbwjy.js → file-mutation-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{bus-jwfs4k6c.js → file-mutation-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{bus-jzg6c2d5.js → file-mutation-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{bus-mp448xyj.js → file-mutation-mp448xyj.js} +0 -0
- /package/dist/chunks/{bus-msx8hqn2.js → file-mutation-msx8hqn2.js} +0 -0
- /package/dist/chunks/{bus-n05xt0ee.js → file-mutation-n05xt0ee.js} +0 -0
- /package/dist/chunks/{bus-n3j8tn72.js → file-mutation-n3j8tn72.js} +0 -0
- /package/dist/chunks/{bus-njntx4h6.js → file-mutation-njntx4h6.js} +0 -0
- /package/dist/chunks/{bus-q3sfg36h.js → file-mutation-q3sfg36h.js} +0 -0
- /package/dist/chunks/{bus-q74kybfr.js → file-mutation-q74kybfr.js} +0 -0
- /package/dist/chunks/{bus-qaymkmh1.js → file-mutation-qaymkmh1.js} +0 -0
- /package/dist/chunks/{bus-qb87gjwd.js → file-mutation-qb87gjwd.js} +0 -0
- /package/dist/chunks/{bus-qfa1cgps.js → file-mutation-qfa1cgps.js} +0 -0
- /package/dist/chunks/{bus-qg3g05ea.js → file-mutation-qg3g05ea.js} +0 -0
- /package/dist/chunks/{bus-qrg20bc0.js → file-mutation-qrg20bc0.js} +0 -0
- /package/dist/chunks/{bus-rcb2kzg1.js → file-mutation-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{bus-sdp7kfr6.js → file-mutation-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{bus-sk3qaz4a.js → file-mutation-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{bus-ssg3fenm.js → file-mutation-ssg3fenm.js} +0 -0
- /package/dist/chunks/{bus-twg0f83k.js → file-mutation-twg0f83k.js} +0 -0
- /package/dist/chunks/{bus-w803qqfp.js → file-mutation-w803qqfp.js} +0 -0
- /package/dist/chunks/{bus-wc3fc9cn.js → file-mutation-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{bus-wer8tq1h.js → file-mutation-wer8tq1h.js} +0 -0
- /package/dist/chunks/{bus-wtztk69x.js → file-mutation-wtztk69x.js} +0 -0
- /package/dist/chunks/{bus-x0ckcb58.js → file-mutation-x0ckcb58.js} +0 -0
- /package/dist/chunks/{bus-x61499pn.js → file-mutation-x61499pn.js} +0 -0
- /package/dist/chunks/{bus-y44na4kk.js → file-mutation-y44na4kk.js} +0 -0
- /package/dist/chunks/{bus-y8cydn3q.js → file-mutation-y8cydn3q.js} +0 -0
- /package/dist/chunks/{bus-y8f7s663.js → file-mutation-y8f7s663.js} +0 -0
- /package/dist/chunks/{bus-ygaqb7jw.js → file-mutation-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{bus-ym463w8f.js → file-mutation-ym463w8f.js} +0 -0
- /package/dist/chunks/{bus-z9919s4g.js → file-mutation-z9919s4g.js} +0 -0
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service81,
|
|
6
|
+
node85
|
|
7
|
+
} from "./file-mutation-b5e2r92p.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event17,
|
|
10
|
+
Service68,
|
|
11
|
+
node71
|
|
12
|
+
} from "./file-mutation-kzmnf39s.js";
|
|
13
13
|
import {
|
|
14
14
|
Service79,
|
|
15
15
|
node83
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-mutation-8f4tg2r9.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service72,
|
|
19
|
+
node75
|
|
20
|
+
} from "./file-mutation-tyx8wm26.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID10,
|
|
23
|
+
Service67,
|
|
24
|
+
node70
|
|
25
|
+
} from "./file-mutation-dz1qt43r.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./file-mutation-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID9,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service66,
|
|
34
|
+
node69
|
|
35
|
+
} from "./file-mutation-g8head04.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError4,
|
|
45
|
+
Options: () => Options4,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
@@ -50,12 +50,12 @@ __export(exports_mcp4, {
|
|
|
50
50
|
ResourceContentPart: () => ResourceContentPart2,
|
|
51
51
|
ResourceTemplate: () => ResourceTemplate2,
|
|
52
52
|
ServerName: () => ServerName2,
|
|
53
|
-
Service: () =>
|
|
53
|
+
Service: () => Service37,
|
|
54
54
|
Status: () => Status2,
|
|
55
55
|
ToolCallError: () => ToolCallError2,
|
|
56
|
-
configured: () =>
|
|
56
|
+
configured: () => configured4,
|
|
57
57
|
layer: () => layer15,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node40
|
|
59
59
|
});
|
|
60
60
|
import { Mcp } from "@opencode/schema/mcp";
|
|
61
61
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -74,7 +74,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
|
74
74
|
var ResourceContentPart2 = Mcp.ResourceContentPart;
|
|
75
75
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
78
78
|
server: ServerName2
|
|
79
79
|
}) {
|
|
80
80
|
get message() {
|
|
@@ -93,21 +93,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
93
93
|
var endpointLoads = makeUnsafe2();
|
|
94
94
|
var cloneConfig = (config) => structuredClone(config);
|
|
95
95
|
|
|
96
|
-
class
|
|
96
|
+
class Service37 extends Context.Service()("@opencode/MCP") {
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var Options4 = Schema.Struct({
|
|
99
99
|
clientInfo: Schema.optional(Schema.Struct({
|
|
100
100
|
name: Schema.String,
|
|
101
101
|
version: Schema.String
|
|
102
102
|
}))
|
|
103
103
|
});
|
|
104
|
-
var layer15 = (options) => Layer.effect(
|
|
104
|
+
var layer15 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
105
105
|
const location = yield* Service79;
|
|
106
|
-
const environment = yield*
|
|
107
|
-
const bus = yield*
|
|
108
|
-
const forms = yield*
|
|
109
|
-
const integration = yield*
|
|
110
|
-
const credentials = yield*
|
|
106
|
+
const environment = yield* Service72;
|
|
107
|
+
const bus = yield* Service81;
|
|
108
|
+
const forms = yield* Service67;
|
|
109
|
+
const integration = yield* Service66;
|
|
110
|
+
const credentials = yield* Service68;
|
|
111
111
|
const root = yield* Effect.scope;
|
|
112
112
|
const fork = yield* FiberSet.makeRuntime();
|
|
113
113
|
const entries = new Map;
|
|
@@ -119,7 +119,7 @@ var layer15 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
119
119
|
return;
|
|
120
120
|
const remote = entry.config;
|
|
121
121
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
122
|
-
const integrationID =
|
|
122
|
+
const integrationID = ID9.make(suffix);
|
|
123
123
|
entry.integrationID = integrationID;
|
|
124
124
|
owned.add(integrationID);
|
|
125
125
|
const methodID = MethodID2.make(suffix);
|
|
@@ -135,7 +135,7 @@ var layer15 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
135
135
|
method: { id: methodID, type: "oauth", label: name },
|
|
136
136
|
authorize: () => Effect.gen(function* () {
|
|
137
137
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
138
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
138
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service68, credentials));
|
|
139
139
|
})
|
|
140
140
|
});
|
|
141
141
|
}).pipe(Scope.provide(scope));
|
|
@@ -144,19 +144,19 @@ var layer15 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
144
144
|
const name = ServerName2.make(server);
|
|
145
145
|
const entry = entries.get(name);
|
|
146
146
|
if (!entry)
|
|
147
|
-
return yield* new
|
|
147
|
+
return yield* new NotFoundError4({ server: name });
|
|
148
148
|
return { name, entry };
|
|
149
149
|
});
|
|
150
150
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
151
151
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
152
152
|
return;
|
|
153
153
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
154
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
154
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service68, credentials));
|
|
155
155
|
});
|
|
156
156
|
const elicitation = {
|
|
157
157
|
create: (input) => Effect.gen(function* () {
|
|
158
158
|
if (input.params.mode === "url") {
|
|
159
|
-
const formID =
|
|
159
|
+
const formID = ID10.create();
|
|
160
160
|
const elicitationID = input.params.elicitationId;
|
|
161
161
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
162
162
|
if (key)
|
|
@@ -240,7 +240,7 @@ var layer15 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
240
240
|
entry.scope = scope;
|
|
241
241
|
const authProvider = yield* connectProvider(entry);
|
|
242
242
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
243
|
-
const load = 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(
|
|
243
|
+
const load = 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(Service72, environment), Scope.provide(scope));
|
|
244
244
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
245
245
|
if (Exit.isSuccess(result)) {
|
|
246
246
|
entry.client = result.value.connection;
|
|
@@ -365,7 +365,7 @@ var layer15 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
365
365
|
yield* startServer(name, entry);
|
|
366
366
|
}).pipe(locks.withLock(name));
|
|
367
367
|
});
|
|
368
|
-
fork(bus.subscribe(
|
|
368
|
+
fork(bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
369
369
|
const state = create3({
|
|
370
370
|
name: "mcp",
|
|
371
371
|
initial: () => ({
|
|
@@ -391,7 +391,7 @@ var layer15 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
391
391
|
}),
|
|
392
392
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
393
393
|
});
|
|
394
|
-
return
|
|
394
|
+
return Service37.of({
|
|
395
395
|
transform: state.transform,
|
|
396
396
|
reload: state.reload,
|
|
397
397
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -510,14 +510,14 @@ var layer15 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
510
510
|
})
|
|
511
511
|
});
|
|
512
512
|
}));
|
|
513
|
-
function
|
|
513
|
+
function configured4(options) {
|
|
514
514
|
return makeLocationNode({
|
|
515
|
-
service:
|
|
515
|
+
service: Service37,
|
|
516
516
|
layer: layer15(options),
|
|
517
|
-
deps: [node83,
|
|
517
|
+
deps: [node83, node75, node85, node70, node69, node71]
|
|
518
518
|
});
|
|
519
519
|
}
|
|
520
|
-
var
|
|
520
|
+
var node40 = configured4();
|
|
521
521
|
function toElicitationField(key, property, required) {
|
|
522
522
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
523
523
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -568,4 +568,4 @@ function toElicitationField(key, property, required) {
|
|
|
568
568
|
}
|
|
569
569
|
}
|
|
570
570
|
|
|
571
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2,
|
|
571
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2, Service37, Options4, layer15, configured4, node40, exports_mcp4 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID8
|
|
3
|
+
} from "./file-mutation-sxgvjrqz.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/amazon-bedrock.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -18,7 +18,7 @@ var AmazonBedrockPlugin2 = define({
|
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
19
19
|
yield* ctx.integration.transform((editor) => {
|
|
20
20
|
editor.method.update({
|
|
21
|
-
integrationID:
|
|
21
|
+
integrationID: ID8.amazonBedrock,
|
|
22
22
|
method: { type: "env", names: ["AWS_BEARER_TOKEN_BEDROCK"] }
|
|
23
23
|
});
|
|
24
24
|
});
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-tazgh4e4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID6,
|
|
6
|
+
Service60
|
|
7
|
+
} from "./file-mutation-zxpkpj7m.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-mutation-q3t37ft6.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-mutation-3ktbe3hf.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-mutation-5c4hm403.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service60;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID6.make(from),
|
|
91
|
+
to: ID6.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
|
-
Options: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Options: () => Options8,
|
|
15
|
+
Service: () => Service56,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured7,
|
|
19
19
|
environment: () => environment2,
|
|
20
20
|
gitbash: () => gitbash2,
|
|
21
21
|
list: () => list4,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name15,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node58,
|
|
25
25
|
ps: () => ps2,
|
|
26
26
|
resolve: () => resolve3
|
|
27
27
|
});
|
|
@@ -43,11 +43,11 @@ var META = {
|
|
|
43
43
|
sh: { login: true },
|
|
44
44
|
zsh: { login: true }
|
|
45
45
|
};
|
|
46
|
-
var
|
|
46
|
+
var Options8 = Schema.Struct({
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service56 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -188,7 +188,7 @@ async function list4(options, bin) {
|
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service56, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service67, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service56.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
205
|
resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin)),
|
|
206
206
|
list: () => Effect.promise(() => list4(options, global.bin))
|
|
207
207
|
});
|
|
208
208
|
}));
|
|
209
|
-
function
|
|
210
|
-
return makeLocationNode({ service:
|
|
209
|
+
function configured7(options) {
|
|
210
|
+
return makeLocationNode({ service: Service56, layer: layer(options), deps: [Global.node] });
|
|
211
211
|
}
|
|
212
|
-
var
|
|
212
|
+
var node58 = configured7();
|
|
213
213
|
|
|
214
|
-
export {
|
|
214
|
+
export { Options8, Service56, gitbash2, name15, login2, ps2, args2, environment2, resolve3, list4, configured7, node58, exports_select };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/session/schema.ts
|
|
2
2
|
import * as SessionSchema2 from "@opencode/schema/session";
|
|
3
3
|
import { Session } from "@opencode/schema/session";
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var ID15 = Session.ID;
|
|
5
|
+
var Info30 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { ID15, Info30, SessionSchema2 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-mfqp6xfm.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin25,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint5
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint5 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin25 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin16 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint5);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint5, Plugin25, exports_exa };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID8,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-mutation-sxgvjrqz.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID7,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Info21
|
|
11
|
+
} from "./file-mutation-6fw138dj.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
17
|
var exports_models = {};
|
|
@@ -94,7 +94,7 @@ function derive2(baseURL, remote, existing) {
|
|
|
94
94
|
result.set(id, build(id, current, baseURL, model));
|
|
95
95
|
}
|
|
96
96
|
for (const [id, model] of remote) {
|
|
97
|
-
const key =
|
|
97
|
+
const key = ID7.make(id);
|
|
98
98
|
if (result.has(key))
|
|
99
99
|
continue;
|
|
100
100
|
result.set(key, build(key, model, baseURL));
|
|
@@ -118,11 +118,11 @@ function build(id, remote, baseURL, previous) {
|
|
|
118
118
|
const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
|
|
119
119
|
const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
|
|
120
120
|
const released = previous?.time.released || Date.parse(version);
|
|
121
|
-
return
|
|
122
|
-
...
|
|
121
|
+
return Info21.make({
|
|
122
|
+
...Info21.default(ID8.githubCopilot, id),
|
|
123
123
|
id,
|
|
124
|
-
modelID:
|
|
125
|
-
providerID:
|
|
124
|
+
modelID: ID7.make(remote.id),
|
|
125
|
+
providerID: ID8.githubCopilot,
|
|
126
126
|
family: previous?.family ?? Family2.make(remote.capabilities.family),
|
|
127
127
|
name: previous?.name ?? remote.name,
|
|
128
128
|
package: messages ? "@opencode/ai/providers/anthropic" : aisdk2("@ai-sdk/github-copilot"),
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/plugin.ts
|
|
6
6
|
var exports_plugin3 = {};
|
|
7
7
|
__export(exports_plugin3, {
|
|
8
8
|
ConfigPluginV1: () => exports_plugin3,
|
|
9
|
-
Options: () =>
|
|
9
|
+
Options: () => Options7,
|
|
10
10
|
Spec: () => Spec2
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
14
|
-
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String,
|
|
13
|
+
var Options7 = Schema.Record(Schema.String, Schema.Unknown);
|
|
14
|
+
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options7]))]);
|
|
15
15
|
|
|
16
|
-
export {
|
|
16
|
+
export { Options7, Spec2, exports_plugin3 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
6
|
var exports_permission = {};
|
|
7
7
|
__export(exports_permission, {
|
|
8
8
|
Action: () => Action2,
|
|
9
9
|
ConfigPermissionV1: () => exports_permission,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info19,
|
|
11
11
|
Object: () => Object2,
|
|
12
12
|
Rule: () => Rule2
|
|
13
13
|
});
|
|
@@ -33,9 +33,9 @@ var InputObject = Schema.StructWithRest(Schema.Struct({
|
|
|
33
33
|
}), [Schema.Record(Schema.String, Rule2)]);
|
|
34
34
|
var InputSchema = Schema.Union([Action2, InputObject]);
|
|
35
35
|
var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
|
|
36
|
-
var
|
|
36
|
+
var Info19 = InputSchema.pipe(Schema.decodeTo(InputObject, {
|
|
37
37
|
decode: SchemaGetter.transform(normalizeInput),
|
|
38
38
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
39
39
|
})).annotate({ identifier: "PermissionConfig" });
|
|
40
40
|
|
|
41
|
-
export { Action2, Object2, Rule2,
|
|
41
|
+
export { Action2, Object2, Rule2, Info19, exports_permission };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service67
|
|
3
|
+
} from "./file-mutation-dz1qt43r.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service74
|
|
6
|
+
} from "./file-mutation-e9kr5pq0.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID4,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service20
|
|
14
|
+
} from "./file-mutation-9xk5h4y7.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
|
-
var
|
|
21
|
-
__export(
|
|
22
|
-
Input: () =>
|
|
20
|
+
var exports_websearch2 = {};
|
|
21
|
+
__export(exports_websearch2, {
|
|
22
|
+
Input: () => Input4,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
25
|
-
WebSearchTool: () =>
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
24
|
+
Plugin: () => Plugin37,
|
|
25
|
+
WebSearchTool: () => exports_websearch2,
|
|
26
|
+
description: () => description2,
|
|
27
|
+
name: () => name4
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/unstable/http";
|
|
32
|
-
var
|
|
32
|
+
var name4 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description2 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input4 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
|
-
provider:
|
|
46
|
+
provider: ID4,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin37 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service74;
|
|
53
|
+
const forms = yield* Service67;
|
|
54
|
+
const websearch = yield* Service20;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name4,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description2,
|
|
59
|
+
input: Input4,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name4,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
const hook = (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name4];
|
|
180
180
|
});
|
|
181
181
|
yield* ctx.session.hook("context", hook);
|
|
182
182
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
|
|
|
184
184
|
})
|
|
185
185
|
};
|
|
186
186
|
|
|
187
|
-
export {
|
|
187
|
+
export { name4, NO_RESULTS2, description2, Input4, Plugin37, exports_websearch2 };
|