@opencode/core 0.0.0-dev-20968 → 0.0.0-dev-20970
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/agent.js +70 -70
- package/dist/aisdk-native.js +68 -68
- package/dist/aisdk.js +73 -73
- package/dist/app.js +7 -7
- package/dist/bus.js +59 -59
- package/dist/chunks/{location-service-map-vfd5z52g.js → location-service-map-0e0z4xs4.js} +22 -22
- package/dist/chunks/{location-service-map-t550f9t1.js → location-service-map-0gdmqesm.js} +3 -3
- package/dist/chunks/{location-service-map-2gw07b48.js → location-service-map-0hws4rz6.js} +22 -22
- package/dist/chunks/{location-service-map-4v7ngy20.js → location-service-map-0xqyf95c.js} +3 -3
- package/dist/chunks/{location-service-map-3fgtv7ze.js → location-service-map-15gp8gwp.js} +18 -18
- package/dist/chunks/{location-service-map-wvf4y7rr.js → location-service-map-1cwtqt4r.js} +17 -17
- package/dist/chunks/{location-service-map-bjx1sjef.js → location-service-map-1ffvrpkg.js} +4 -4
- package/dist/chunks/{location-service-map-emxdjm72.js → location-service-map-1g7cdmxb.js} +20 -20
- package/dist/chunks/{location-service-map-a62egxb3.js → location-service-map-1j6f3fcz.js} +4 -4
- package/dist/chunks/{location-service-map-kp5we7ps.js → location-service-map-1nswxt31.js} +24 -24
- package/dist/chunks/{location-service-map-4z58m4b4.js → location-service-map-1rn5pcm9.js} +3 -3
- package/dist/chunks/{location-service-map-mgjjdy5b.js → location-service-map-2f8xmtvs.js} +9 -9
- package/dist/chunks/{location-service-map-a42kkhkg.js → location-service-map-2gbtb9ex.js} +27 -27
- package/dist/chunks/{location-service-map-e334ff5n.js → location-service-map-2kgr186q.js} +17 -17
- package/dist/chunks/{location-service-map-hxtckxf3.js → location-service-map-2sxk7h72.js} +25 -25
- package/dist/chunks/{location-service-map-bpq9gadp.js → location-service-map-2wdjt9g8.js} +12 -12
- package/dist/chunks/{location-service-map-5jvy51wy.js → location-service-map-333jpv82.js} +1 -1
- package/dist/chunks/{location-service-map-vxznmwbn.js → location-service-map-3a7h0qtw.js} +12 -12
- package/dist/chunks/{location-service-map-yjqnk9hn.js → location-service-map-3p5gpzs5.js} +25 -25
- package/dist/chunks/{location-service-map-5pyvwtgy.js → location-service-map-3sw2dssw.js} +12 -12
- package/dist/chunks/{location-service-map-trecwywa.js → location-service-map-3z3xn5yy.js} +18 -18
- package/dist/chunks/{location-service-map-qrabmw5q.js → location-service-map-40jkzs91.js} +44 -44
- package/dist/chunks/{location-service-map-st6tfvct.js → location-service-map-47yqzcwx.js} +28 -28
- package/dist/chunks/{location-service-map-qb7q1f1d.js → location-service-map-4f3wm1ac.js} +12 -12
- package/dist/chunks/{location-service-map-mh8n60fa.js → location-service-map-4h8beb84.js} +42 -42
- package/dist/chunks/{location-service-map-had4kgfk.js → location-service-map-4ns3h2re.js} +3 -3
- package/dist/chunks/{location-service-map-9d2vkprr.js → location-service-map-4ybf7fnk.js} +9 -9
- package/dist/chunks/{location-service-map-exs4tskk.js → location-service-map-50n7yzyq.js} +44 -44
- package/dist/chunks/{location-service-map-4sqgwhvg.js → location-service-map-58sy987p.js} +14 -14
- package/dist/chunks/{location-service-map-8czxvfjx.js → location-service-map-5jz5gmkx.js} +28 -28
- package/dist/chunks/{location-service-map-5cs9fw4j.js → location-service-map-5mq28h2t.js} +13 -13
- package/dist/chunks/{location-service-map-a4hp8e9p.js → location-service-map-5tjn6tpp.js} +15 -15
- package/dist/chunks/{location-service-map-gabsh7yw.js → location-service-map-5wbv3d1w.js} +6 -6
- package/dist/chunks/{location-service-map-9hn6k4tm.js → location-service-map-5xtgfte3.js} +7 -7
- package/dist/chunks/{location-service-map-gd0tnyjc.js → location-service-map-68wqtz75.js} +1 -1
- package/dist/chunks/{location-service-map-x5wrmng7.js → location-service-map-6bjhz71w.js} +3 -3
- package/dist/chunks/{location-service-map-g0xzmjr0.js → location-service-map-6jpm8ex2.js} +16 -16
- package/dist/chunks/{location-service-map-8ykp9xbw.js → location-service-map-79nhj7b6.js} +29 -29
- package/dist/chunks/{location-service-map-2k8khapm.js → location-service-map-7dqw4kz8.js} +4 -4
- package/dist/chunks/{location-service-map-ej81gkeg.js → location-service-map-7k1rdhbp.js} +5 -5
- package/dist/chunks/{location-service-map-hhyv66vq.js → location-service-map-7ph0vnsv.js} +7 -7
- package/dist/chunks/{location-service-map-kdxh9szv.js → location-service-map-7zdn2k09.js} +9 -9
- package/dist/chunks/{location-service-map-k4xdy46r.js → location-service-map-80m1sdbk.js} +314 -314
- package/dist/chunks/{location-service-map-vycw7md4.js → location-service-map-80scg3y3.js} +3 -3
- package/dist/chunks/{location-service-map-dacbrmk2.js → location-service-map-89x5zc49.js} +5 -5
- package/dist/chunks/{location-service-map-najnejyn.js → location-service-map-8acdjqfv.js} +11 -11
- package/dist/chunks/{location-service-map-mt6brxxc.js → location-service-map-8fe0d2sh.js} +1 -1
- package/dist/chunks/{location-service-map-w34bt5ev.js → location-service-map-8v3872mr.js} +4 -4
- package/dist/chunks/{location-service-map-0fzbfnq7.js → location-service-map-8z12w5mn.js} +1 -1
- package/dist/chunks/{location-service-map-6mdwj01c.js → location-service-map-9a1mrhyh.js} +13 -13
- package/dist/chunks/{location-service-map-qe178b41.js → location-service-map-9byyftbt.js} +22 -22
- package/dist/chunks/{location-service-map-kww7pfa5.js → location-service-map-9m4mwgwd.js} +5 -5
- package/dist/chunks/{location-service-map-7fj5dwt0.js → location-service-map-9sh4wc5j.js} +4 -4
- package/dist/chunks/{location-service-map-w75czvp0.js → location-service-map-9t8w0vez.js} +4 -4
- package/dist/chunks/{location-service-map-6xc75jjq.js → location-service-map-a22dk6g9.js} +43 -43
- package/dist/chunks/{location-service-map-jeewe651.js → location-service-map-a5e101j6.js} +4 -4
- package/dist/chunks/{location-service-map-0hw4dk4w.js → location-service-map-a7z0fe8c.js} +1 -1
- package/dist/chunks/{location-service-map-69jqfsnf.js → location-service-map-a8hvaj9p.js} +8 -8
- package/dist/chunks/{location-service-map-x661k3y3.js → location-service-map-addxnjmp.js} +3 -3
- package/dist/chunks/{location-service-map-j5chjq9f.js → location-service-map-agg557zn.js} +9 -9
- package/dist/chunks/{location-service-map-jrzj45fy.js → location-service-map-ah1t51zw.js} +9 -9
- package/dist/chunks/{location-service-map-1xjc3krj.js → location-service-map-ah9s4888.js} +4 -4
- package/dist/chunks/{location-service-map-05hkmm44.js → location-service-map-apbyd0y0.js} +13 -13
- package/dist/chunks/{location-service-map-jvnghvnw.js → location-service-map-at1kfnmk.js} +7 -7
- package/dist/chunks/{location-service-map-nc1ev885.js → location-service-map-av4ka64b.js} +70 -70
- package/dist/chunks/{location-service-map-bh3fdk74.js → location-service-map-avdzqnth.js} +2 -2
- package/dist/chunks/{location-service-map-jpaf2qm1.js → location-service-map-b5ab48k5.js} +41 -41
- package/dist/chunks/{location-service-map-thf5141v.js → location-service-map-bg0scr0s.js} +4 -4
- package/dist/chunks/{location-service-map-t9es0ena.js → location-service-map-bpqmbvp8.js} +17 -17
- package/dist/chunks/{location-service-map-ncp1h5wm.js → location-service-map-brzr8pgk.js} +1 -1
- package/dist/chunks/{location-service-map-xdfgfet0.js → location-service-map-bz1ch3a7.js} +24 -24
- package/dist/chunks/{location-service-map-kcdapykd.js → location-service-map-c67afrq3.js} +6 -6
- package/dist/chunks/{location-service-map-rfnwmvtk.js → location-service-map-c9y76qr3.js} +10 -10
- package/dist/chunks/{location-service-map-r2m716tb.js → location-service-map-cwa6csj7.js} +7 -7
- package/dist/chunks/{location-service-map-mdmc61fe.js → location-service-map-d2s7sfgk.js} +3 -3
- package/dist/chunks/{location-service-map-bjkg2ks4.js → location-service-map-dbd4bcxh.js} +24 -24
- package/dist/chunks/{location-service-map-6bkr64fg.js → location-service-map-ddnd35kk.js} +8 -8
- package/dist/chunks/{location-service-map-9h357zpk.js → location-service-map-djvdn7j4.js} +3 -3
- package/dist/chunks/{location-service-map-z1a6nf3f.js → location-service-map-dn85cbp5.js} +12 -12
- package/dist/chunks/{location-service-map-k6709ays.js → location-service-map-dn8fxr7e.js} +14 -14
- package/dist/chunks/{location-service-map-38x8v0tv.js → location-service-map-dnxwqgza.js} +16 -16
- package/dist/chunks/{location-service-map-y71avatq.js → location-service-map-dpkg50ah.js} +3 -3
- package/dist/chunks/{location-service-map-1hyeesvh.js → location-service-map-dprgbttx.js} +19 -19
- package/dist/chunks/{location-service-map-189fjxnc.js → location-service-map-dqss8s9h.js} +18 -18
- package/dist/chunks/{location-service-map-pck7vvdx.js → location-service-map-drmqggy3.js} +1 -1
- package/dist/chunks/{location-service-map-ktgr00t7.js → location-service-map-drnf6xwf.js} +1 -1
- package/dist/chunks/{location-service-map-h9mky73t.js → location-service-map-dvzj1xmf.js} +9 -9
- package/dist/chunks/{location-service-map-ewf8j77t.js → location-service-map-dwwb2yn6.js} +9 -9
- package/dist/chunks/{location-service-map-sdk84yjp.js → location-service-map-dzj3pesk.js} +5 -5
- package/dist/chunks/{location-service-map-wve2b6s5.js → location-service-map-e59gya24.js} +8 -8
- package/dist/chunks/{location-service-map-h8rphgn6.js → location-service-map-eegn9671.js} +4 -4
- package/dist/chunks/{location-service-map-95kyz0q3.js → location-service-map-ek79twyn.js} +1 -1
- package/dist/chunks/{location-service-map-8cxvr4t8.js → location-service-map-f6vptca4.js} +40 -40
- package/dist/chunks/{location-service-map-whqshyfz.js → location-service-map-fahd1t22.js} +7 -7
- package/dist/chunks/{location-service-map-v6tgae3y.js → location-service-map-fdn2kncn.js} +175 -175
- package/dist/chunks/{location-service-map-7hff53af.js → location-service-map-fjmme1zd.js} +21 -21
- package/dist/chunks/{location-service-map-vh4rw25j.js → location-service-map-fkrwggfj.js} +8 -8
- package/dist/chunks/{location-service-map-7mp49jye.js → location-service-map-ftxqeyfp.js} +22 -22
- package/dist/chunks/{location-service-map-hsvqr7g3.js → location-service-map-fwh25w6r.js} +27 -27
- package/dist/chunks/{location-service-map-ebbyhdvc.js → location-service-map-g16zfax1.js} +29 -29
- package/dist/chunks/{location-service-map-0b5g1ynf.js → location-service-map-gbh65n66.js} +1 -1
- package/dist/chunks/{location-service-map-fkhvp8gb.js → location-service-map-gc30vjt8.js} +19 -19
- package/dist/chunks/{location-service-map-6kpyj4fb.js → location-service-map-gfvfhfth.js} +9 -9
- package/dist/chunks/{location-service-map-9zdssp4n.js → location-service-map-gh8rs6tp.js} +8 -8
- package/dist/chunks/{location-service-map-q4aap459.js → location-service-map-gq9mz0q5.js} +23 -23
- package/dist/chunks/{location-service-map-977pwvh6.js → location-service-map-gvmyet0t.js} +4 -4
- package/dist/chunks/{location-service-map-9vjjhptz.js → location-service-map-gwaf4cyv.js} +7 -7
- package/dist/chunks/{location-service-map-eb5nwvjj.js → location-service-map-gybmckzj.js} +11 -11
- package/dist/chunks/{location-service-map-gv2dj64n.js → location-service-map-h36qpgyc.js} +5 -5
- package/dist/chunks/{location-service-map-61qtfb41.js → location-service-map-h3damvf7.js} +19 -19
- package/dist/chunks/{location-service-map-f50nbvzh.js → location-service-map-h5ctynge.js} +40 -40
- package/dist/chunks/{location-service-map-bhhmebad.js → location-service-map-h796dgtk.js} +11 -11
- package/dist/chunks/{location-service-map-ttbvdjdw.js → location-service-map-hbhk3w7g.js} +14 -14
- package/dist/chunks/{location-service-map-bm095xha.js → location-service-map-hse9bmtq.js} +2 -2
- package/dist/chunks/{location-service-map-hzp768xy.js → location-service-map-htr2xv6b.js} +5 -5
- package/dist/chunks/{location-service-map-vdcsbfm7.js → location-service-map-hw1z087j.js} +6 -6
- package/dist/chunks/{location-service-map-xsccak5w.js → location-service-map-hw81jkqg.js} +17 -17
- package/dist/chunks/{location-service-map-ykdkqy2w.js → location-service-map-hxxxkake.js} +14 -14
- package/dist/chunks/{location-service-map-sfz6vzg3.js → location-service-map-hy35aq5e.js} +9 -9
- package/dist/chunks/{location-service-map-0ycdfwp1.js → location-service-map-j0z1hbm7.js} +10 -10
- package/dist/chunks/{location-service-map-453vx0dg.js → location-service-map-j26e8f99.js} +36 -36
- package/dist/chunks/{location-service-map-zpfqjb86.js → location-service-map-j4xtsjbj.js} +12 -12
- package/dist/chunks/{location-service-map-c6nr29zh.js → location-service-map-jgrj7vpb.js} +9 -9
- package/dist/chunks/{location-service-map-w5rka97k.js → location-service-map-jvvc3tfq.js} +7 -7
- package/dist/chunks/{location-service-map-a41h3yhs.js → location-service-map-jxntzgs7.js} +22 -22
- package/dist/chunks/{location-service-map-07w9enf1.js → location-service-map-jz647r1p.js} +12 -12
- package/dist/chunks/{location-service-map-4pn1xf0p.js → location-service-map-k73fr1k7.js} +19 -19
- package/dist/chunks/{location-service-map-j947zhwf.js → location-service-map-k7wxww75.js} +9 -9
- package/dist/chunks/{location-service-map-gk6ab8mf.js → location-service-map-kc16ztxm.js} +10 -10
- package/dist/chunks/location-service-map-kf3mbpd3.js +253 -0
- package/dist/chunks/{location-service-map-8kzy7b3z.js → location-service-map-kfj9hn6k.js} +20 -20
- package/dist/chunks/{location-service-map-0pj15cwb.js → location-service-map-kg0ryrs1.js} +26 -26
- package/dist/chunks/{location-service-map-qce5rqyv.js → location-service-map-kjttyt96.js} +24 -24
- package/dist/chunks/{location-service-map-jvf3yq6v.js → location-service-map-kne8f3cn.js} +3 -3
- package/dist/chunks/{location-service-map-6npkjnc9.js → location-service-map-krpype3t.js} +14 -14
- package/dist/chunks/{location-service-map-av8cscef.js → location-service-map-kt13rzk4.js} +28 -28
- package/dist/chunks/{location-service-map-qwf29bqw.js → location-service-map-kvh9ex0n.js} +1 -1
- package/dist/chunks/{location-service-map-qezm2w8e.js → location-service-map-kvsv9rq3.js} +19 -19
- package/dist/chunks/{location-service-map-285qnyny.js → location-service-map-kxqng4z4.js} +14 -14
- package/dist/chunks/{location-service-map-y4a0ptp4.js → location-service-map-kz8sfr61.js} +5 -5
- package/dist/chunks/{location-service-map-svcw9x3w.js → location-service-map-m329mjby.js} +1 -1
- package/dist/chunks/{location-service-map-z5rnbfrr.js → location-service-map-m47hdp86.js} +8 -8
- package/dist/chunks/{location-service-map-4c3ndrn6.js → location-service-map-mcwdvdbx.js} +8 -8
- package/dist/chunks/{location-service-map-190mk5vc.js → location-service-map-ms1sgmgt.js} +12 -12
- package/dist/chunks/{location-service-map-51f5btjf.js → location-service-map-mx9vqzsb.js} +5 -5
- package/dist/chunks/{location-service-map-b1a1n7cj.js → location-service-map-my4zabxr.js} +3 -3
- package/dist/chunks/{location-service-map-x852hbsc.js → location-service-map-n3gkh2k8.js} +1 -1
- package/dist/chunks/{location-service-map-wnsxc07p.js → location-service-map-n7chbqxk.js} +19 -19
- package/dist/chunks/{location-service-map-zmr78fwr.js → location-service-map-n8vdnqrc.js} +3 -3
- package/dist/chunks/{location-service-map-3dq15cxk.js → location-service-map-ns04df5e.js} +11 -11
- package/dist/chunks/{location-service-map-zt28r1k4.js → location-service-map-nszkg83g.js} +22 -22
- package/dist/chunks/location-service-map-pc3mwg2h.js +513 -0
- package/dist/chunks/{location-service-map-ra67jj04.js → location-service-map-phz50fbd.js} +7 -7
- package/dist/chunks/{location-service-map-qyvjbqsg.js → location-service-map-pj97maf1.js} +22 -22
- package/dist/chunks/{location-service-map-qgw57eb3.js → location-service-map-pp6tmt8p.js} +5 -5
- package/dist/chunks/{location-service-map-pjykpq9n.js → location-service-map-pp7c1v3z.js} +30 -30
- package/dist/chunks/{location-service-map-e2t7s5t4.js → location-service-map-pxpx7y6c.js} +43 -43
- package/dist/chunks/{location-service-map-8sze2n9a.js → location-service-map-py3kkmfq.js} +4 -4
- package/dist/chunks/{location-service-map-b7hvd3bh.js → location-service-map-pynx3rzn.js} +11 -11
- package/dist/chunks/{location-service-map-s90bytks.js → location-service-map-q15xqe5w.js} +11 -11
- package/dist/chunks/{location-service-map-mpw5hxye.js → location-service-map-qn90mm7z.js} +10 -10
- package/dist/chunks/{location-service-map-1krj7acz.js → location-service-map-qv519ymt.js} +32 -32
- package/dist/chunks/{location-service-map-605e1jbp.js → location-service-map-qwqqzdxk.js} +7 -7
- package/dist/chunks/{location-service-map-nma959mg.js → location-service-map-r2z489rp.js} +2 -2
- package/dist/chunks/{location-service-map-erts2f6e.js → location-service-map-r37wb9bh.js} +9 -9
- package/dist/chunks/{location-service-map-x309wg9x.js → location-service-map-r5p8p72t.js} +6 -6
- package/dist/chunks/{location-service-map-t89fqycx.js → location-service-map-r61qxybf.js} +7 -7
- package/dist/chunks/{location-service-map-q85n4xbh.js → location-service-map-r80kwpvr.js} +8 -8
- package/dist/chunks/{location-service-map-0a3bg0j5.js → location-service-map-r8bwyjs3.js} +25 -25
- package/dist/chunks/{location-service-map-qvcr5dcn.js → location-service-map-ra8aazcz.js} +16 -16
- package/dist/chunks/{location-service-map-v2fstvx9.js → location-service-map-rdb1svpf.js} +26 -26
- package/dist/chunks/{location-service-map-b89jdn4q.js → location-service-map-rwme0grx.js} +16 -16
- package/dist/chunks/{location-service-map-96kn8jjj.js → location-service-map-ry082wg0.js} +1 -1
- package/dist/chunks/{location-service-map-79rgchyy.js → location-service-map-s0gydmaw.js} +19 -19
- package/dist/chunks/{location-service-map-t7n4d1yf.js → location-service-map-s2t00s75.js} +2 -2
- package/dist/chunks/location-service-map-s315gvtx.js +26 -0
- package/dist/chunks/{location-service-map-17t4d4av.js → location-service-map-s68q802c.js} +14 -14
- package/dist/chunks/{location-service-map-5e6vztpv.js → location-service-map-sb86xevf.js} +9 -9
- package/dist/chunks/{location-service-map-zcfatamc.js → location-service-map-shm9gt2y.js} +11 -11
- package/dist/chunks/{location-service-map-w85jx7ef.js → location-service-map-sx3pjf9c.js} +20 -20
- package/dist/chunks/{location-service-map-w7th8kft.js → location-service-map-t58ss6va.js} +9 -9
- package/dist/chunks/{location-service-map-112anbc5.js → location-service-map-t8ne3r2q.js} +18 -18
- package/dist/chunks/{location-service-map-ykxyh7k6.js → location-service-map-tbt5dvb1.js} +12 -12
- package/dist/chunks/{location-service-map-89znhe33.js → location-service-map-tcezcvh9.js} +3 -3
- package/dist/chunks/{location-service-map-8sqat94k.js → location-service-map-tgnnk969.js} +35 -35
- package/dist/chunks/{location-service-map-h83xjv7f.js → location-service-map-tk14y25j.js} +3 -3
- package/dist/chunks/{location-service-map-x94bbvss.js → location-service-map-txd8c2hd.js} +2 -2
- package/dist/chunks/{location-service-map-r3yrqnb5.js → location-service-map-txqtqxhq.js} +11 -11
- package/dist/chunks/{location-service-map-raxjnfg2.js → location-service-map-vb8wgay5.js} +9 -9
- package/dist/chunks/{location-service-map-6c5stfwb.js → location-service-map-vcc1d1p0.js} +1 -1
- package/dist/chunks/{location-service-map-z4qs0yhw.js → location-service-map-vjwphg0n.js} +29 -29
- package/dist/chunks/{location-service-map-kwqk5vnc.js → location-service-map-w0cr6kn3.js} +16 -16
- package/dist/chunks/{location-service-map-vhvv9bf9.js → location-service-map-w76n4hge.js} +8 -8
- package/dist/chunks/{location-service-map-04ttag0w.js → location-service-map-wqptjszz.js} +17 -17
- package/dist/chunks/{location-service-map-1bz87fsm.js → location-service-map-wyazz7bw.js} +13 -13
- package/dist/chunks/{location-service-map-88jjz5re.js → location-service-map-x5hsf6rj.js} +11 -11
- package/dist/chunks/{location-service-map-qavnhd3j.js → location-service-map-xe9ktzb9.js} +26 -26
- package/dist/chunks/{location-service-map-hmdrvyfh.js → location-service-map-xh49hxk7.js} +61 -61
- package/dist/chunks/{location-service-map-d54g0exn.js → location-service-map-xmpwqgz4.js} +7 -7
- package/dist/chunks/{location-service-map-dzrvr4nb.js → location-service-map-xsgpdrvd.js} +40 -40
- package/dist/chunks/{location-service-map-xe6vm9p8.js → location-service-map-y1em8rf3.js} +14 -14
- package/dist/chunks/{location-service-map-6hjx5zpb.js → location-service-map-y56ehv6b.js} +8 -8
- package/dist/chunks/{location-service-map-nqsv03v6.js → location-service-map-ydah9gdn.js} +81 -81
- package/dist/chunks/{location-service-map-yhebgegd.js → location-service-map-yfv96e1b.js} +23 -23
- package/dist/chunks/{location-service-map-cakf0m7d.js → location-service-map-ykw935pc.js} +28 -28
- package/dist/chunks/{location-service-map-0bztnv55.js → location-service-map-yytnj0xn.js} +15 -15
- package/dist/chunks/{location-service-map-dkpnw212.js → location-service-map-z029qf89.js} +7 -7
- package/dist/chunks/{location-service-map-npgv39fj.js → location-service-map-z186befd.js} +1 -1
- package/dist/chunks/{location-service-map-c7s5xd0e.js → location-service-map-z1zdzsfj.js} +37 -37
- package/dist/chunks/{location-service-map-kxssyy3x.js → location-service-map-z2dcak32.js} +30 -30
- package/dist/chunks/{location-service-map-d04ep358.js → location-service-map-z3507kbh.js} +8 -8
- package/dist/chunks/{location-service-map-ayt5007s.js → location-service-map-z37zr1de.js} +4 -4
- package/dist/chunks/{location-service-map-rht436q7.js → location-service-map-z5s28eht.js} +14 -14
- package/dist/chunks/{location-service-map-9tr2qfdk.js → location-service-map-zcf38hqe.js} +7 -7
- package/dist/chunks/{location-service-map-j8ssv6es.js → location-service-map-zh94prq5.js} +10 -10
- package/dist/chunks/{location-service-map-3b16v5tt.js → location-service-map-zjtrsxny.js} +3 -3
- package/dist/chunks/{location-service-map-c87q280n.js → location-service-map-zx2dwjq0.js} +3 -3
- package/dist/codemode/instructions.js +6 -6
- package/dist/command.js +70 -70
- package/dist/config/discovery.js +66 -66
- package/dist/config/normalize.js +75 -75
- package/dist/config/plugin/agent.js +88 -88
- package/dist/config/plugin/command.js +166 -166
- package/dist/config/plugin/compaction.js +120 -120
- package/dist/config/plugin/compatibility.js +102 -102
- package/dist/config/plugin/formatter.js +89 -89
- package/dist/config/plugin/image.js +88 -88
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +90 -90
- package/dist/config/plugin/mcp.js +95 -95
- package/dist/config/plugin/policy.js +88 -88
- package/dist/config/plugin/provider.js +88 -88
- package/dist/config/plugin/reference.js +89 -89
- package/dist/config/plugin/shell.js +90 -90
- package/dist/config/plugin/skill-file.js +78 -78
- package/dist/config/plugin/skill.js +105 -105
- package/dist/config/plugin/snapshot.js +88 -88
- package/dist/config/plugin/source.js +91 -91
- package/dist/config/plugin/tool-output.js +88 -88
- package/dist/config/plugin/websearch.js +89 -89
- package/dist/config/plugin/worktree.js +89 -89
- package/dist/config.js +90 -90
- package/dist/credential.js +71 -71
- package/dist/database/database.js +57 -57
- package/dist/database/drizzle/effect-sqlite/driver.js +10 -10
- package/dist/database/drizzle/effect-sqlite/index.js +6 -6
- package/dist/database/drizzle/effect-sqlite/session.js +7 -7
- package/dist/database/drizzle/index.js +11 -11
- package/dist/database/drizzle/sqlite-core/effect/db.js +5 -5
- package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +6 -6
- package/dist/database/drizzle.js +11 -11
- package/dist/database/migration.gen.js +40 -40
- package/dist/database/migration.js +42 -42
- package/dist/database/v1-migration.bun.js +9 -9
- package/dist/effect/app-node-builder.js +228 -228
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/environment/environment.js +70 -70
- package/dist/environment/index.js +70 -70
- package/dist/event-logger.js +10 -10
- package/dist/file-access.js +79 -79
- package/dist/file-mutation.js +71 -71
- package/dist/filesystem/location-watcher-policy.js +5 -5
- package/dist/filesystem/location-watcher.js +181 -181
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +79 -79
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +82 -82
- package/dist/form.js +68 -68
- package/dist/formatter/builtins.js +3 -3
- package/dist/formatter.js +66 -66
- package/dist/generate.js +80 -80
- package/dist/git.js +2 -2
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +4 -4
- package/dist/github-copilot/copilot-provider.js +3 -3
- package/dist/github-copilot/models.js +78 -78
- package/dist/github-copilot/responses/openai-responses-language-model.js +7 -7
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +4 -4
- package/dist/image/photon.js +1 -1
- package/dist/image.js +5 -5
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +308 -308
- package/dist/instruction-discovery.js +69 -69
- package/dist/instructions/builtins.js +69 -69
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +74 -74
- package/dist/job.js +66 -66
- package/dist/kv.js +62 -62
- package/dist/location-activity.js +52 -52
- package/dist/location-lifecycle.js +84 -84
- package/dist/location-service-map.js +68 -68
- package/dist/location-services.js +305 -305
- package/dist/location.js +63 -63
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +25 -18
- package/dist/mcp/index.js +82 -82
- package/dist/mcp/instructions.js +102 -102
- package/dist/mcp/oauth.js +14 -14
- package/dist/mcp/stdio.js +67 -67
- package/dist/modal/models.js +78 -78
- package/dist/model-resolver.js +77 -77
- package/dist/model.js +79 -79
- package/dist/models-dev.js +85 -85
- package/dist/permission/saved.js +66 -66
- package/dist/permission.js +86 -86
- package/dist/persistent-pty/index.js +75 -75
- package/dist/persistent-pty.js +61 -61
- package/dist/plugin/agent.js +63 -63
- package/dist/plugin/command.js +77 -77
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +172 -172
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +281 -281
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +74 -74
- package/dist/plugin/module.js +88 -88
- package/dist/plugin/optimize.js +3 -3
- package/dist/plugin/plan.js +79 -79
- package/dist/plugin/provider/amazon-bedrock.js +69 -69
- package/dist/plugin/provider/azure.js +89 -89
- package/dist/plugin/provider/chatgpt.js +87 -87
- package/dist/plugin/provider/cloudflare-ai-gateway.js +86 -86
- package/dist/plugin/provider/cloudflare-workers-ai.js +86 -86
- package/dist/plugin/provider/configured.js +85 -85
- package/dist/plugin/provider/digitalocean.js +71 -71
- package/dist/plugin/provider/github-copilot.js +73 -73
- package/dist/plugin/provider/gitlab.js +71 -71
- package/dist/plugin/provider/google-vertex.js +86 -86
- package/dist/plugin/provider/llmgateway.js +65 -65
- package/dist/plugin/provider/lmstudio.js +96 -96
- package/dist/plugin/provider/local.js +93 -93
- package/dist/plugin/provider/modal.js +71 -71
- package/dist/plugin/provider/ollama.js +94 -94
- package/dist/plugin/provider/openai.js +89 -89
- package/dist/plugin/provider/opencode.js +74 -74
- package/dist/plugin/provider/openrouter.js +70 -70
- package/dist/plugin/provider/poe.js +65 -65
- package/dist/plugin/provider/sap-ai-core.js +69 -69
- package/dist/plugin/provider/snowflake-cortex.js +87 -87
- package/dist/plugin/provider/vercel.js +69 -69
- package/dist/plugin/provider/vllm.js +96 -96
- package/dist/plugin/provider/xai.js +70 -70
- package/dist/plugin/provider.js +130 -130
- package/dist/plugin/sdk.js +66 -66
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +103 -103
- package/dist/plugin/supervisor.js +299 -299
- package/dist/plugin/tool-input-repair.js +3 -3
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +67 -67
- package/dist/plugin/vcs/hg.js +67 -67
- package/dist/plugin/verbosity.js +72 -72
- package/dist/plugin/warming.js +87 -87
- package/dist/plugin/websearch/exa.js +6 -6
- package/dist/plugin/websearch/firecrawl.js +7 -7
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +3 -3
- package/dist/plugin/websearch/parallel.js +7 -7
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +7 -7
- package/dist/plugin.js +185 -185
- package/dist/project.js +62 -62
- package/dist/provider.js +78 -78
- package/dist/pty.js +79 -79
- package/dist/reference/instructions.js +72 -72
- package/dist/reference.js +74 -74
- package/dist/repository-cache.js +63 -63
- package/dist/ripgrep.js +73 -73
- package/dist/rpc.js +68 -68
- package/dist/session/command.js +63 -63
- package/dist/session/compaction.js +107 -107
- package/dist/session/context.js +123 -123
- package/dist/session/diff.js +67 -67
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +2 -2
- package/dist/session/execution/restart.js +103 -103
- package/dist/session/execution.js +98 -98
- package/dist/session/generate.js +124 -124
- package/dist/session/history.js +6 -6
- package/dist/session/inbox.js +68 -68
- package/dist/session/info.js +2 -2
- package/dist/session/instruction-entry.js +63 -63
- package/dist/session/instruction-state.js +2 -2
- package/dist/session/instructions.js +76 -76
- package/dist/session/model-request.js +96 -96
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +100 -100
- package/dist/session/projector.js +68 -68
- package/dist/session/prompt.js +82 -82
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +68 -68
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +182 -182
- package/dist/session/runner/model.js +73 -73
- package/dist/session/runner/publish-llm-event.js +87 -87
- package/dist/session/runner/step.js +98 -98
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +130 -130
- package/dist/session/shell.js +100 -100
- package/dist/session/skill.js +80 -80
- package/dist/session/stats.js +8 -8
- package/dist/session/store.js +69 -69
- package/dist/session/subagent-job.js +166 -166
- package/dist/session/title.js +126 -126
- package/dist/session/to-session-error.js +86 -86
- package/dist/session/transfer.js +97 -97
- package/dist/session.js +171 -171
- package/dist/shell/parse.js +2 -2
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +103 -103
- package/dist/skill/discovery.js +5 -5
- package/dist/skill/instructions.js +84 -84
- package/dist/skill.js +89 -89
- package/dist/snapshot.js +68 -68
- package/dist/tool/mcp.js +101 -101
- package/dist/tool/plugin/edit.js +86 -86
- package/dist/tool/plugin/glob.js +95 -95
- package/dist/tool/plugin/grep.js +97 -97
- package/dist/tool/plugin/mcp-resource.js +90 -90
- package/dist/tool/plugin/opencode.js +84 -84
- package/dist/tool/plugin/patch.js +94 -94
- package/dist/tool/plugin/question.js +82 -82
- package/dist/tool/plugin/read.js +98 -98
- package/dist/tool/plugin/shell.js +172 -172
- package/dist/tool/plugin/skill.js +88 -88
- package/dist/tool/plugin/subagent.js +173 -173
- package/dist/tool/plugin/webfetch.js +87 -87
- package/dist/tool/plugin/websearch.js +90 -90
- package/dist/tool/plugin/write.js +94 -94
- package/dist/tool/read-filesystem.js +76 -76
- package/dist/tool-output.js +5 -5
- package/dist/tool.js +11 -11
- package/dist/v1/config/agent.js +3 -3
- package/dist/v1/config/mcp.js +3 -3
- package/dist/v1/config/migrate.js +70 -70
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider.js +3 -3
- package/dist/variant.js +70 -70
- package/dist/vcs.js +70 -70
- package/dist/websearch.js +72 -72
- package/dist/wellknown/plugin.js +65 -65
- package/dist/wellknown.js +70 -70
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace.js +70 -70
- package/dist/worktree/git.js +3 -3
- package/dist/worktree/strategies.js +69 -69
- package/dist/worktree.js +75 -75
- package/package.json +8 -8
- package/dist/chunks/location-service-map-1g906he0.js +0 -26
- package/dist/chunks/location-service-map-asevcyq5.js +0 -253
- package/dist/chunks/location-service-map-v2exr8cw.js +0 -513
- /package/dist/chunks/{location-service-map-t4jzmwkk.js → location-service-map-3z39tkdq.js} +0 -0
- /package/dist/chunks/{location-service-map-s6a94ykt.js → location-service-map-44asg7d3.js} +0 -0
- /package/dist/chunks/{location-service-map-btec747f.js → location-service-map-b7v4cx43.js} +0 -0
- /package/dist/chunks/{location-service-map-jxr5ks98.js → location-service-map-pd14fbdd.js} +0 -0
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./location-service-map-
|
|
2
|
+
Service79
|
|
3
|
+
} from "./location-service-map-dn85cbp5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./location-service-map-
|
|
5
|
+
Service49
|
|
6
|
+
} from "./location-service-map-4h8beb84.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID5,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./location-service-map-
|
|
13
|
+
Service41
|
|
14
|
+
} from "./location-service-map-gq9mz0q5.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
17
|
} from "./location-service-map-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
|
-
var
|
|
21
|
-
__export(
|
|
22
|
-
Input: () =>
|
|
20
|
+
var exports_websearch = {};
|
|
21
|
+
__export(exports_websearch, {
|
|
22
|
+
Input: () => Input7,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
25
|
-
WebSearchTool: () =>
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
24
|
+
Plugin: () => Plugin9,
|
|
25
|
+
WebSearchTool: () => exports_websearch,
|
|
26
|
+
description: () => description4,
|
|
27
|
+
name: () => name7
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/http";
|
|
32
|
-
var
|
|
32
|
+
var name7 = "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 description4 = `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 Input7 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
|
-
provider:
|
|
46
|
+
provider: ID5,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin9 = {
|
|
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* Service49;
|
|
53
|
+
const forms = yield* Service79;
|
|
54
|
+
const websearch = yield* Service41;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name7,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description4,
|
|
59
|
+
input: Input7,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name7,
|
|
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[name7];
|
|
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 { name7, NO_RESULTS2, description4, Input7, Plugin9, exports_websearch };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./location-service-map-
|
|
4
|
+
} from "./location-service-map-hse9bmtq.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
7
|
} from "./location-service-map-rert0e01.js";
|
|
@@ -13,21 +13,21 @@ import {
|
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
16
|
+
ID: () => ID7,
|
|
17
17
|
Info: () => Info10,
|
|
18
|
-
ListInput: () =>
|
|
18
|
+
ListInput: () => ListInput5,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service51,
|
|
21
|
+
node: () => node53
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
28
|
+
var ID7 = PermissionSaved.ID;
|
|
29
29
|
var Info10 = PermissionSaved.Info;
|
|
30
|
-
var
|
|
30
|
+
var ListInput5 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
33
33
|
var AddInput2 = Schema.Struct({
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service51 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service85).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
57
57
|
if (!input.resources.length)
|
|
58
58
|
return;
|
|
59
59
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
60
|
-
id:
|
|
60
|
+
id: ID7.create(),
|
|
61
61
|
project_id: input.projectID,
|
|
62
62
|
action: input.action,
|
|
63
63
|
resource
|
|
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
66
66
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
67
67
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service51.of({ list, add, remove });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
71
|
+
var node53 = makeGlobalNode({ service: Service51, layer, deps: [node89] });
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { ID7, Info10, ListInput5, AddInput2, Service51, node53, exports_saved };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./location-service-map-
|
|
3
|
+
} from "./location-service-map-hse9bmtq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./location-service-map-
|
|
5
|
+
Service45
|
|
6
|
+
} from "./location-service-map-mx9vqzsb.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./location-service-map-
|
|
9
|
+
} from "./location-service-map-9sh4wc5j.js";
|
|
10
10
|
import {
|
|
11
11
|
provenance2
|
|
12
|
-
} from "./location-service-map-
|
|
12
|
+
} from "./location-service-map-1rn5pcm9.js";
|
|
13
13
|
import {
|
|
14
14
|
preview2
|
|
15
|
-
} from "./location-service-map-
|
|
15
|
+
} from "./location-service-map-7k1rdhbp.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./location-service-map-
|
|
18
|
+
} from "./location-service-map-ykw935pc.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./location-service-map-
|
|
20
|
+
Service27
|
|
21
|
+
} from "./location-service-map-ydah9gdn.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
24
|
} from "./location-service-map-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
|
-
var
|
|
28
|
-
__export(
|
|
29
|
-
SessionGenerate: () =>
|
|
27
|
+
var exports_generate = {};
|
|
28
|
+
__export(exports_generate, {
|
|
29
|
+
SessionGenerate: () => exports_generate,
|
|
30
30
|
generate: () => generate2
|
|
31
31
|
});
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service45;
|
|
36
36
|
const database = yield* Service85;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service27;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
|
|
@@ -71,4 +71,4 @@ var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
|
71
71
|
}).pipe(instances.provide(input.session));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
export { generate2,
|
|
74
|
+
export { generate2, exports_generate };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./location-service-map-
|
|
2
|
+
Service57,
|
|
3
|
+
node60
|
|
4
|
+
} from "./location-service-map-40jkzs91.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./location-service-map-
|
|
7
|
+
} from "./location-service-map-my4zabxr.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
10
|
} from "./location-service-map-9rqn6x4v.js";
|
|
@@ -55,7 +55,7 @@ var resolved2 = (model, options) => ({
|
|
|
55
55
|
transport: options.transport
|
|
56
56
|
});
|
|
57
57
|
var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
58
|
-
const resolver = yield*
|
|
58
|
+
const resolver = yield* Service57;
|
|
59
59
|
return Service46.of({
|
|
60
60
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
61
61
|
if (!session.model) {
|
|
@@ -74,6 +74,6 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
76
|
}));
|
|
77
|
-
var node48 = makeLocationNode({ service: Service46, layer, deps: [
|
|
77
|
+
var node48 = makeLocationNode({ service: Service46, layer, deps: [node60] });
|
|
78
78
|
|
|
79
79
|
export { ModelNotSelectedError2, ModelUnavailableError2, Service46, resolved2, node48, exports_model };
|
|
@@ -6,17 +6,17 @@ import {
|
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service4,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node6
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service4 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node6 = makeLocationNode({
|
|
19
|
+
service: Service4,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service4, Service4.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service4, node6, bound2, exports_instance2 };
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
var exports_agent4 = {};
|
|
14
14
|
__export(exports_agent4, {
|
|
15
15
|
ConfigAgentV1: () => exports_agent4,
|
|
16
|
-
Info: () =>
|
|
16
|
+
Info: () => Info14
|
|
17
17
|
});
|
|
18
18
|
import { Schema, SchemaGetter } from "effect";
|
|
19
19
|
var Color = Schema.Union([
|
|
@@ -64,9 +64,9 @@ var normalize = (agent) => {
|
|
|
64
64
|
const steps = agent.steps ?? agent.maxSteps;
|
|
65
65
|
return { ...agent, options, permission: [...permission], ...steps !== undefined ? { steps } : {} };
|
|
66
66
|
};
|
|
67
|
-
var
|
|
67
|
+
var Info14 = AgentSchema.pipe(Schema.decodeTo(Schema.toType(AgentSchema), {
|
|
68
68
|
decode: SchemaGetter.transform(normalize),
|
|
69
69
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
70
70
|
})).annotate({ identifier: "AgentConfig" });
|
|
71
71
|
|
|
72
|
-
export {
|
|
72
|
+
export { Info14, exports_agent4 };
|
|
@@ -16,11 +16,11 @@ import {
|
|
|
16
16
|
import {
|
|
17
17
|
Service81,
|
|
18
18
|
node85
|
|
19
|
-
} from "./location-service-map-
|
|
19
|
+
} from "./location-service-map-8z12w5mn.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./location-service-map-
|
|
21
|
+
Service73,
|
|
22
|
+
node76
|
|
23
|
+
} from "./location-service-map-kjttyt96.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
26
|
} from "./location-service-map-9rqn6x4v.js";
|
|
@@ -29,8 +29,8 @@ import {
|
|
|
29
29
|
var exports_environment2 = {};
|
|
30
30
|
__export(exports_environment2, {
|
|
31
31
|
EnvironmentService: () => exports_environment2,
|
|
32
|
-
Service: () =>
|
|
33
|
-
node: () =>
|
|
32
|
+
Service: () => Service72,
|
|
33
|
+
node: () => node75
|
|
34
34
|
});
|
|
35
35
|
import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,13 +43,13 @@ __export(exports_environment3, {
|
|
|
43
43
|
Environment: () => exports_environment3,
|
|
44
44
|
Failed: () => Failed2,
|
|
45
45
|
NotFound: () => NotFound3,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service72,
|
|
47
47
|
WrongKind: () => WrongKind2,
|
|
48
48
|
execDefaults: () => execDefaults2,
|
|
49
49
|
makeFiles: () => makeFiles2,
|
|
50
50
|
makeLocalDriver: () => makeLocalDriver2,
|
|
51
51
|
makeMemoryDriver: () => makeMemoryDriver2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node75,
|
|
53
53
|
typeFollowing: () => typeFollowing2
|
|
54
54
|
});
|
|
55
55
|
var makeFiles2 = (driver) => ({
|
|
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
|
|
|
58
58
|
});
|
|
59
59
|
|
|
60
60
|
// src/environment/environment.ts
|
|
61
|
-
class
|
|
61
|
+
class Service72 extends Context.Service()("@opencode/Environment") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
63
|
+
var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
64
64
|
const spawner = yield* ChildProcessSpawner;
|
|
65
65
|
const location = yield* Service81;
|
|
66
|
-
const workspace = yield*
|
|
66
|
+
const workspace = yield* Service73;
|
|
67
67
|
const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
|
|
68
|
-
return
|
|
68
|
+
return Service72.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
69
69
|
}));
|
|
70
|
-
var
|
|
71
|
-
service:
|
|
70
|
+
var node75 = makeLocationNode({
|
|
71
|
+
service: Service72,
|
|
72
72
|
layer,
|
|
73
|
-
deps: [CrossSpawnSpawner.node, node85,
|
|
73
|
+
deps: [CrossSpawnSpawner.node, node85, node76]
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Service72, node75, exports_environment2, makeFiles2, exports_environment3 };
|
|
@@ -6,11 +6,11 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
Service81,
|
|
8
8
|
node85
|
|
9
|
-
} from "./location-service-map-
|
|
9
|
+
} from "./location-service-map-8z12w5mn.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./location-service-map-
|
|
11
|
+
Service21,
|
|
12
|
+
node23
|
|
13
|
+
} from "./location-service-map-r8bwyjs3.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
16
|
} from "./location-service-map-9rqn6x4v.js";
|
|
@@ -18,26 +18,26 @@ import {
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
20
20
|
__export(exports_filesystem, {
|
|
21
|
-
Content: () =>
|
|
21
|
+
Content: () => Content2,
|
|
22
22
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
23
23
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
24
24
|
DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
|
|
25
25
|
DirectoryNotFoundError: () => DirectoryNotFoundError2,
|
|
26
26
|
Entry: () => Entry2,
|
|
27
|
-
Event: () =>
|
|
27
|
+
Event: () => Event3,
|
|
28
28
|
FileSystem: () => exports_filesystem,
|
|
29
29
|
FindInput: () => FindInput2,
|
|
30
30
|
GlobInput: () => GlobInput2,
|
|
31
31
|
GrepInput: () => GrepInput2,
|
|
32
|
-
ListInput: () =>
|
|
32
|
+
ListInput: () => ListInput2,
|
|
33
33
|
Match: () => Match2,
|
|
34
|
-
NotFoundError: () =>
|
|
34
|
+
NotFoundError: () => NotFoundError2,
|
|
35
35
|
ReadInput: () => ReadInput2,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service20,
|
|
37
37
|
Submatch: () => Submatch2,
|
|
38
38
|
Write: () => Write2,
|
|
39
39
|
WriteInput: () => WriteInput2,
|
|
40
|
-
node: () =>
|
|
40
|
+
node: () => node22
|
|
41
41
|
});
|
|
42
42
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
43
43
|
import path from "path";
|
|
@@ -53,7 +53,7 @@ var WriteInput2 = Schema.Struct({
|
|
|
53
53
|
data: Schema.Uint8Array
|
|
54
54
|
});
|
|
55
55
|
|
|
56
|
-
class
|
|
56
|
+
class NotFoundError2 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
57
57
|
path: RelativePath2
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
@@ -75,14 +75,14 @@ class DirectoryAccessDeniedError2 extends Schema.TaggedError()("FileSystem.Direc
|
|
|
75
75
|
return `Access denied to directory: ${this.directory}`;
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
|
-
var
|
|
78
|
+
var Content2 = Schema.Struct({
|
|
79
79
|
uri: Schema.String,
|
|
80
80
|
name: Schema.String.pipe(Schema.optional),
|
|
81
81
|
content: Schema.String,
|
|
82
82
|
encoding: Schema.Literals(["utf8", "base64"]),
|
|
83
83
|
mime: Schema.String
|
|
84
84
|
}).annotate({ identifier: "FileSystem.Content" });
|
|
85
|
-
var
|
|
85
|
+
var ListInput2 = Schema.Struct({
|
|
86
86
|
path: Schema.String.pipe(Schema.optional)
|
|
87
87
|
});
|
|
88
88
|
var DEFAULT_SEARCH_LIMIT2 = 100;
|
|
@@ -105,14 +105,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
105
105
|
limit: Schema.optionalKey(PositiveInt2)
|
|
106
106
|
}) {
|
|
107
107
|
}
|
|
108
|
-
var
|
|
108
|
+
var Event3 = FileSystem.Event;
|
|
109
109
|
|
|
110
|
-
class
|
|
110
|
+
class Service20 extends Context.Service()("@opencode/FileSystem") {
|
|
111
111
|
}
|
|
112
|
-
var baseLayer = Layer.effect(
|
|
112
|
+
var baseLayer = Layer.effect(Service20, Effect.gen(function* () {
|
|
113
113
|
const fs = yield* FSUtil.Service;
|
|
114
114
|
const location = yield* Service81;
|
|
115
|
-
const search = yield*
|
|
115
|
+
const search = yield* Service21;
|
|
116
116
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.catch((cause) => {
|
|
117
117
|
if (cause.reason._tag === "NotFound")
|
|
118
118
|
return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
|
|
@@ -122,22 +122,22 @@ var baseLayer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
122
122
|
}));
|
|
123
123
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
124
124
|
if (input.includes("\x00"))
|
|
125
|
-
return yield* Effect.fail(new
|
|
125
|
+
return yield* Effect.fail(new NotFoundError2({ path: input }));
|
|
126
126
|
const absolute = path.resolve(location.directory, input);
|
|
127
127
|
if (!FSUtil.contains(location.directory, absolute))
|
|
128
|
-
return yield* Effect.fail(new
|
|
129
|
-
const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
128
|
+
return yield* Effect.fail(new NotFoundError2({ path: input }));
|
|
129
|
+
const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input })), (_, error) => Effect.die(error)));
|
|
130
130
|
if (!FSUtil.contains(root, real))
|
|
131
|
-
return yield* Effect.fail(new
|
|
131
|
+
return yield* Effect.fail(new NotFoundError2({ path: input }));
|
|
132
132
|
return { absolute, real, directory: location.directory };
|
|
133
133
|
});
|
|
134
|
-
return
|
|
134
|
+
return Service20.of({
|
|
135
135
|
find: search.find,
|
|
136
136
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
137
137
|
const target = yield* resolve(input.path);
|
|
138
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
138
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
|
|
139
139
|
if (info.type !== "File")
|
|
140
|
-
return yield* Effect.fail(new
|
|
140
|
+
return yield* Effect.fail(new NotFoundError2({ path: input.path }));
|
|
141
141
|
return {
|
|
142
142
|
mime: FSUtil.mimeType(target.real),
|
|
143
143
|
size: Number(info.size),
|
|
@@ -147,7 +147,7 @@ var baseLayer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
147
147
|
}),
|
|
148
148
|
list: Effect.fn("FileSystem.list")(function* (input = {}) {
|
|
149
149
|
const directory = path.resolve(location.directory, input.path ?? ".");
|
|
150
|
-
const missing = new
|
|
150
|
+
const missing = new NotFoundError2({ path: RelativePath2.make(input.path ?? ".") });
|
|
151
151
|
const info = yield* fs.stat(directory).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(missing), (_, error) => Effect.die(error)));
|
|
152
152
|
if (info.type !== "Directory")
|
|
153
153
|
return yield* missing;
|
|
@@ -171,10 +171,10 @@ var baseLayer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
171
171
|
})
|
|
172
172
|
});
|
|
173
173
|
}));
|
|
174
|
-
var
|
|
175
|
-
service:
|
|
174
|
+
var node22 = makeLocationNode({
|
|
175
|
+
service: Service20,
|
|
176
176
|
layer: baseLayer,
|
|
177
|
-
deps: [FSUtil.node, node85,
|
|
177
|
+
deps: [FSUtil.node, node85, node23]
|
|
178
178
|
});
|
|
179
179
|
|
|
180
|
-
export { FindInput2, Write2, ReadInput2, WriteInput2,
|
|
180
|
+
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError2, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event3, Service20, node22, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -6,11 +6,11 @@ import {
|
|
|
6
6
|
var exports_plugin3 = {};
|
|
7
7
|
__export(exports_plugin3, {
|
|
8
8
|
ConfigPluginV1: () => exports_plugin3,
|
|
9
|
-
Options: () =>
|
|
9
|
+
Options: () => Options9,
|
|
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 Options9 = Schema.Record(Schema.String, Schema.Unknown);
|
|
14
|
+
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options9]))]);
|
|
15
15
|
|
|
16
|
-
export {
|
|
16
|
+
export { Options9, Spec2, exports_plugin3 };
|
|
@@ -3,26 +3,26 @@ import {
|
|
|
3
3
|
} from "./location-service-map-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./location-service-map-
|
|
6
|
+
} from "./location-service-map-my4zabxr.js";
|
|
7
7
|
import {
|
|
8
8
|
MessageDecodeError2
|
|
9
|
-
} from "./location-service-map-
|
|
9
|
+
} from "./location-service-map-ry082wg0.js";
|
|
10
10
|
import {
|
|
11
11
|
InitializationBlocked2,
|
|
12
12
|
read3
|
|
13
|
-
} from "./location-service-map-
|
|
13
|
+
} from "./location-service-map-0gdmqesm.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
16
|
} from "./location-service-map-c1fqxshp.js";
|
|
17
17
|
import {
|
|
18
18
|
initial2,
|
|
19
19
|
preview3
|
|
20
|
-
} from "./location-service-map-
|
|
20
|
+
} from "./location-service-map-gbh65n66.js";
|
|
21
21
|
import {
|
|
22
22
|
compatible2,
|
|
23
23
|
isCheckpoint2,
|
|
24
24
|
validate2
|
|
25
|
-
} from "./location-service-map-
|
|
25
|
+
} from "./location-service-map-1rn5pcm9.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
28
|
} from "./location-service-map-9rqn6x4v.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./location-service-map-
|
|
3
|
+
} from "./location-service-map-1ffvrpkg.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
6
|
} from "./location-service-map-9rqn6x4v.js";
|
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin18,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint3
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint3 = "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 Plugin18 = 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 Plugin7 = 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(endpoint3);
|
|
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 { endpoint3, Plugin18, exports_exa };
|