@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
|
@@ -13,13 +13,13 @@ import {
|
|
|
13
13
|
create3
|
|
14
14
|
} from "./location-service-map-rdw6cm16.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./location-service-map-
|
|
16
|
+
Service63,
|
|
17
|
+
node66
|
|
18
|
+
} from "./location-service-map-jvvc3tfq.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./location-service-map-
|
|
20
|
+
Service74,
|
|
21
|
+
node78
|
|
22
|
+
} from "./location-service-map-at1kfnmk.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
25
|
} from "./location-service-map-y1fvbwt7.js";
|
|
@@ -31,16 +31,16 @@ import {
|
|
|
31
31
|
var exports_tool = {};
|
|
32
32
|
__export(exports_tool, {
|
|
33
33
|
CallID: () => CallID2,
|
|
34
|
-
Content: () =>
|
|
35
|
-
Error: () =>
|
|
34
|
+
Content: () => Content3,
|
|
35
|
+
Error: () => Error4,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service62,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node65
|
|
42
42
|
});
|
|
43
|
-
import { CallID as CallID2, Content as
|
|
43
|
+
import { CallID as CallID2, Content as Content3, Error as Error4, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode/ai";
|
|
45
45
|
import { Tool } from "@opencode/schema/tool";
|
|
46
46
|
import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service62 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const hooks = yield*
|
|
58
|
-
const image = yield*
|
|
56
|
+
var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service74;
|
|
58
|
+
const image = yield* Service63;
|
|
59
59
|
const normalizeImages = Effect.fnUntraced(function* (content) {
|
|
60
60
|
const normalized = yield* Effect.forEach(content, (item) => {
|
|
61
61
|
if (item.type !== "file" || !item.mime.startsWith("image/"))
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
184
184
|
}), { discard: true });
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
return
|
|
187
|
+
return Service62.of({
|
|
188
188
|
transform: state.transform,
|
|
189
189
|
reload: state.reload,
|
|
190
190
|
list: () => Effect.sync(() => Array.from(state.get().tools.values())),
|
|
@@ -273,10 +273,10 @@ function namespaceError(name) {
|
|
|
273
273
|
return;
|
|
274
274
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
275
275
|
}
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node65 = makeLocationNode({
|
|
277
|
+
service: Service62,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [
|
|
279
|
+
deps: [node78, node66]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export { RegistrationError2,
|
|
282
|
+
export { RegistrationError2, Service62, node65, exports_tool, CallID2, Content3, Error4, FileContent3, TextContent2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./location-service-map-
|
|
2
|
+
ID13
|
|
3
|
+
} from "./location-service-map-80m1sdbk.js";
|
|
4
4
|
import {
|
|
5
5
|
iife2
|
|
6
6
|
} from "./location-service-map-1kg9ymc8.js";
|
|
7
7
|
import {
|
|
8
8
|
configuredSettings2
|
|
9
|
-
} from "./location-service-map-
|
|
9
|
+
} from "./location-service-map-c67afrq3.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
14
14
|
import { Form } from "@opencode/schema/form";
|
|
15
|
-
var providerID =
|
|
15
|
+
var providerID = ID13.make("cloudflare-workers-ai");
|
|
16
16
|
var CloudflareWorkersAIPlugin2 = define({
|
|
17
17
|
id: "opencode.provider.cloudflare.workers.ai",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./location-service-map-
|
|
3
|
+
} from "./location-service-map-agg557zn.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84
|
|
6
|
-
} from "./location-service-map-
|
|
6
|
+
} from "./location-service-map-s2t00s75.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./location-service-map-
|
|
9
|
+
Event20
|
|
10
|
+
} from "./location-service-map-3p5gpzs5.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./location-service-map-
|
|
13
|
+
} from "./location-service-map-addxnjmp.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID14,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./location-service-map-
|
|
18
|
+
} from "./location-service-map-dbd4bcxh.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./location-service-map-
|
|
20
|
+
Service16
|
|
21
|
+
} from "./location-service-map-gwaf4cyv.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID13,
|
|
24
24
|
mergeOverlay2,
|
|
25
25
|
mergeHeaders2
|
|
26
|
-
} from "./location-service-map-
|
|
26
|
+
} from "./location-service-map-80m1sdbk.js";
|
|
27
27
|
import {
|
|
28
28
|
mergeCapabilities2
|
|
29
|
-
} from "./location-service-map-
|
|
29
|
+
} from "./location-service-map-rdb1svpf.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
ID5,
|
|
32
|
+
Input14,
|
|
33
33
|
Response2
|
|
34
|
-
} from "./location-service-map-
|
|
34
|
+
} from "./location-service-map-gq9mz0q5.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/opencode.ts
|
|
37
37
|
import { Duration, Effect, Equal, Option, Schema, SchemaGetter, Scope, Semaphore, Stream } from "effect";
|
|
@@ -57,7 +57,7 @@ var RemotePolicies = Schema.Array(Schema.Unknown).pipe(Schema.decodeTo(Schema.Un
|
|
|
57
57
|
var RemoteResponse = Schema.Struct({
|
|
58
58
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
59
59
|
websearch: Schema.Struct({
|
|
60
|
-
providerID:
|
|
60
|
+
providerID: ID5
|
|
61
61
|
}).pipe(Schema.optional),
|
|
62
62
|
mcp: Schema.Struct({
|
|
63
63
|
servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
|
|
@@ -108,7 +108,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
108
108
|
}
|
|
109
109
|
function oauth(http) {
|
|
110
110
|
return {
|
|
111
|
-
integrationID:
|
|
111
|
+
integrationID: ID14.make("opencode"),
|
|
112
112
|
method: {
|
|
113
113
|
id: methodID,
|
|
114
114
|
type: "oauth",
|
|
@@ -175,7 +175,7 @@ var OpencodePlugin2 = define({
|
|
|
175
175
|
const bus = yield* Service84;
|
|
176
176
|
const client = yield* HttpClient.HttpClient;
|
|
177
177
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
178
|
-
const managed = yield*
|
|
178
|
+
const managed = yield* Service16;
|
|
179
179
|
const scope = yield* Scope.Scope;
|
|
180
180
|
const loading = Semaphore.makeUnsafe(1);
|
|
181
181
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
@@ -227,7 +227,7 @@ var OpencodePlugin2 = define({
|
|
|
227
227
|
providers.update(providerID, (provider) => {
|
|
228
228
|
if (source && source.provider !== provider)
|
|
229
229
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
230
|
-
provider.integrationID =
|
|
230
|
+
provider.integrationID = ID14.make("opencode");
|
|
231
231
|
if (item.canonical !== undefined)
|
|
232
232
|
provider.canonical = item.canonical;
|
|
233
233
|
if (item.name !== undefined)
|
|
@@ -293,7 +293,7 @@ var OpencodePlugin2 = define({
|
|
|
293
293
|
sourceConnection: snapshot.connection
|
|
294
294
|
});
|
|
295
295
|
}
|
|
296
|
-
const item = providers.get(
|
|
296
|
+
const item = providers.get(ID13.opencode);
|
|
297
297
|
if (!item)
|
|
298
298
|
return;
|
|
299
299
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -305,7 +305,7 @@ var OpencodePlugin2 = define({
|
|
|
305
305
|
});
|
|
306
306
|
});
|
|
307
307
|
yield* ctx.model.transform((models) => {
|
|
308
|
-
const item = models.provider.get(
|
|
308
|
+
const item = models.provider.get(ID13.opencode);
|
|
309
309
|
if (!item)
|
|
310
310
|
return;
|
|
311
311
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -339,7 +339,7 @@ var OpencodePlugin2 = define({
|
|
|
339
339
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
340
340
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
341
341
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
342
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
342
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
|
|
343
343
|
query: input.query,
|
|
344
344
|
providerID: descriptor.providerID
|
|
345
345
|
}));
|
|
@@ -394,10 +394,10 @@ var OpencodePlugin2 = define({
|
|
|
394
394
|
});
|
|
395
395
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
396
396
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
397
|
-
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
397
|
+
explainers = yield* Effect.forEach(next.connection ? new Set([ID13.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
398
398
|
});
|
|
399
399
|
yield* guard(snapshot);
|
|
400
|
-
yield* bus.subscribe(
|
|
400
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
401
401
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(check()), Effect.forever, Effect.forkScoped);
|
|
402
402
|
})
|
|
403
403
|
});
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
// src/session/provider-context.ts
|
|
6
6
|
var exports_provider_context = {};
|
|
7
7
|
__export(exports_provider_context, {
|
|
8
|
-
Info: () =>
|
|
8
|
+
Info: () => Info9,
|
|
9
9
|
SessionProviderContext: () => exports_provider_context,
|
|
10
10
|
compatible: () => compatible2,
|
|
11
11
|
decode: () => decode2,
|
|
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
|
|
|
19
19
|
import { Predicate, Schema } from "effect";
|
|
20
20
|
import { isDeepStrictEqual } from "node:util";
|
|
21
21
|
import { Hash } from "@opencode/util/hash";
|
|
22
|
-
var
|
|
22
|
+
var Info9 = SessionProviderContext.Info;
|
|
23
23
|
var messages = Schema.toCodecJson(Schema.Array(Message));
|
|
24
24
|
function provenance2(resolved) {
|
|
25
25
|
const model = resolved.model;
|
|
@@ -66,4 +66,4 @@ function upgradeLegacyMedia(input) {
|
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { Info9, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./location-service-map-
|
|
2
|
+
Service68
|
|
3
|
+
} from "./location-service-map-z1zdzsfj.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./location-service-map-
|
|
5
|
+
Service38
|
|
6
|
+
} from "./location-service-map-f6vptca4.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
9
|
} from "./location-service-map-9rqn6x4v.js";
|
|
@@ -12,20 +12,20 @@ import {
|
|
|
12
12
|
var exports_mcp2 = {};
|
|
13
13
|
__export(exports_mcp2, {
|
|
14
14
|
ConfigMcpPlugin: () => exports_mcp2,
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin33,
|
|
16
16
|
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin33 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register2(ctx.event.subscribe());
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
26
|
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
-
const config = yield*
|
|
28
|
-
const mcp = yield*
|
|
27
|
+
const config = yield* Service68;
|
|
28
|
+
const mcp = yield* Service38;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin33, register2, exports_mcp2 };
|
|
@@ -6,25 +6,25 @@ import {
|
|
|
6
6
|
} from "./location-service-map-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
8
|
Service81
|
|
9
|
-
} from "./location-service-map-
|
|
9
|
+
} from "./location-service-map-8z12w5mn.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./location-service-map-
|
|
11
|
+
Service72
|
|
12
|
+
} from "./location-service-map-6jpm8ex2.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./location-service-map-
|
|
14
|
+
Service22
|
|
15
|
+
} from "./location-service-map-yytnj0xn.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
20
|
Entry2
|
|
21
|
-
} from "./location-service-map-
|
|
21
|
+
} from "./location-service-map-79nhj7b6.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./location-service-map-
|
|
23
|
+
Service49
|
|
24
|
+
} from "./location-service-map-4h8beb84.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./location-service-map-
|
|
26
|
+
Service17
|
|
27
|
+
} from "./location-service-map-3sw2dssw.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
30
|
} from "./location-service-map-9rqn6x4v.js";
|
|
@@ -33,17 +33,17 @@ import {
|
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
|
-
Input: () =>
|
|
37
|
-
Output: () =>
|
|
38
|
-
Plugin: () =>
|
|
39
|
-
name: () =>
|
|
36
|
+
Input: () => Input9,
|
|
37
|
+
Output: () => Output7,
|
|
38
|
+
Plugin: () => Plugin11,
|
|
39
|
+
name: () => name9,
|
|
40
40
|
toModelContent: () => toModelContent5
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import path from "path";
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var name9 = "glob";
|
|
46
|
+
var Input9 = Schema.Struct({
|
|
47
47
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
48
48
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
49
49
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -55,7 +55,7 @@ var Input10 = Schema.Struct({
|
|
|
55
55
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
var
|
|
58
|
+
var Output7 = Schema.Array(Entry2);
|
|
59
59
|
var toModelContent5 = (entries, truncated = false) => {
|
|
60
60
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
61
61
|
if (truncated)
|
|
@@ -63,27 +63,27 @@ var toModelContent5 = (entries, truncated = false) => {
|
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin11 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
70
|
-
const ripgrep = yield*
|
|
69
|
+
const environment = yield* Service72;
|
|
70
|
+
const ripgrep = yield* Service22;
|
|
71
71
|
const location = yield* Service81;
|
|
72
|
-
const access = yield*
|
|
73
|
-
const permission = yield*
|
|
72
|
+
const access = yield* Service17;
|
|
73
|
+
const permission = yield* Service49;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name9,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input9,
|
|
79
|
+
output: Output7,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
82
82
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
83
83
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
84
84
|
yield* access.authorizeExternal([target], context);
|
|
85
85
|
yield* permission.assert({
|
|
86
|
-
action:
|
|
86
|
+
action: name9,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -125,4 +125,4 @@ var Plugin47 = {
|
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { name9, Input9, Output7, toModelContent5, Plugin11, exports_glob };
|
|
@@ -2,14 +2,14 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service84,
|
|
4
4
|
node88
|
|
5
|
-
} from "./location-service-map-
|
|
5
|
+
} from "./location-service-map-s2t00s75.js";
|
|
6
6
|
import {
|
|
7
7
|
Key3,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
|
-
|
|
10
|
+
make18,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./location-service-map-
|
|
12
|
+
} from "./location-service-map-0gdmqesm.js";
|
|
13
13
|
import {
|
|
14
14
|
create3
|
|
15
15
|
} from "./location-service-map-rdw6cm16.js";
|
|
@@ -20,14 +20,14 @@ import {
|
|
|
20
20
|
// src/instruction-discovery.ts
|
|
21
21
|
var exports_instruction_discovery = {};
|
|
22
22
|
__export(exports_instruction_discovery, {
|
|
23
|
-
Event: () =>
|
|
23
|
+
Event: () => Event8,
|
|
24
24
|
File: () => File2,
|
|
25
25
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
26
26
|
Options: () => Options5,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service40,
|
|
28
28
|
configured: () => configured5,
|
|
29
|
-
layer: () =>
|
|
30
|
-
node: () =>
|
|
29
|
+
layer: () => layer17,
|
|
30
|
+
node: () => node43
|
|
31
31
|
});
|
|
32
32
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
33
33
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -39,7 +39,7 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
39
39
|
}
|
|
40
40
|
var Files = Schema.Array(File2);
|
|
41
41
|
var key = Key3.make("core/instructions");
|
|
42
|
-
var
|
|
42
|
+
var Event8 = {
|
|
43
43
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
44
44
|
};
|
|
45
45
|
var Options5 = Schema.Struct({
|
|
@@ -47,9 +47,9 @@ var Options5 = Schema.Struct({
|
|
|
47
47
|
global: Schema.optional(Schema.Boolean)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service40 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
51
51
|
}
|
|
52
|
-
var
|
|
52
|
+
var layer17 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
53
53
|
const bus = yield* Service84;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "instruction-discovery",
|
|
@@ -69,9 +69,9 @@ var layer18 = (options) => Layer.effect(Service39, Effect.gen(function* () {
|
|
|
69
69
|
editor.available = false;
|
|
70
70
|
}
|
|
71
71
|
}),
|
|
72
|
-
notify: () => bus.publish(
|
|
72
|
+
notify: () => bus.publish(Event8.Updated, {}).pipe(Effect.asVoid)
|
|
73
73
|
});
|
|
74
|
-
const source = (value) =>
|
|
74
|
+
const source = (value) => make18({
|
|
75
75
|
key,
|
|
76
76
|
codec: Schema.toCodecJson(Files),
|
|
77
77
|
read: Effect.succeed(value),
|
|
@@ -87,7 +87,7 @@ var layer18 = (options) => Layer.effect(Service39, Effect.gen(function* () {
|
|
|
87
87
|
return unavailable3;
|
|
88
88
|
return Array.from(current.files.values());
|
|
89
89
|
});
|
|
90
|
-
return
|
|
90
|
+
return Service40.of({
|
|
91
91
|
project: options?.project !== false,
|
|
92
92
|
global: options?.global !== false,
|
|
93
93
|
transform: state.transform,
|
|
@@ -103,12 +103,12 @@ var layer18 = (options) => Layer.effect(Service39, Effect.gen(function* () {
|
|
|
103
103
|
}));
|
|
104
104
|
function configured5(options) {
|
|
105
105
|
return makeLocationNode({
|
|
106
|
-
service:
|
|
107
|
-
layer:
|
|
106
|
+
service: Service40,
|
|
107
|
+
layer: layer17(options),
|
|
108
108
|
deps: [node88]
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
|
-
var
|
|
111
|
+
var node43 = configured5();
|
|
112
112
|
function render(files) {
|
|
113
113
|
return files.map((file) => `Instructions from: ${file.path}
|
|
114
114
|
${file.content}`).join(`
|
|
@@ -139,4 +139,4 @@ ${render([after])}`;
|
|
|
139
139
|
`);
|
|
140
140
|
}
|
|
141
141
|
|
|
142
|
-
export { File2,
|
|
142
|
+
export { File2, Event8, Options5, Service40, layer17, configured5, node43, exports_instruction_discovery };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./location-service-map-
|
|
4
|
+
} from "./location-service-map-s2t00s75.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./location-service-map-
|
|
6
|
+
Service79,
|
|
7
|
+
node83
|
|
8
|
+
} from "./location-service-map-dn85cbp5.js";
|
|
9
9
|
import {
|
|
10
10
|
Service82,
|
|
11
11
|
node86
|
|
12
|
-
} from "./location-service-map-
|
|
12
|
+
} from "./location-service-map-djvdn7j4.js";
|
|
13
13
|
import {
|
|
14
14
|
Ref4,
|
|
15
15
|
Service81,
|
|
16
16
|
node85
|
|
17
|
-
} from "./location-service-map-
|
|
17
|
+
} from "./location-service-map-8z12w5mn.js";
|
|
18
18
|
import {
|
|
19
19
|
canonical3
|
|
20
|
-
} from "./location-service-map-
|
|
20
|
+
} from "./location-service-map-m47hdp86.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionEvent2
|
|
23
23
|
} from "./location-service-map-ec1grn59.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./location-service-map-
|
|
25
|
+
Service49,
|
|
26
|
+
node51
|
|
27
|
+
} from "./location-service-map-4h8beb84.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./location-service-map-
|
|
29
|
+
Service47,
|
|
30
|
+
node49
|
|
31
|
+
} from "./location-service-map-sb86xevf.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
34
|
} from "./location-service-map-9rqn6x4v.js";
|
|
@@ -37,22 +37,22 @@ import {
|
|
|
37
37
|
var exports_location_lifecycle = {};
|
|
38
38
|
__export(exports_location_lifecycle, {
|
|
39
39
|
LocationLifecycle: () => exports_location_lifecycle,
|
|
40
|
-
Service: () =>
|
|
41
|
-
node: () =>
|
|
40
|
+
Service: () => Service15,
|
|
41
|
+
node: () => node17
|
|
42
42
|
});
|
|
43
43
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
44
44
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
45
45
|
import { LocationEvent } from "@opencode/schema/location-event";
|
|
46
46
|
var isSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service15 extends Context.Service()("@opencode/LocationLifecycle") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
51
51
|
const bus = yield* Service84;
|
|
52
52
|
const location = yield* Service81;
|
|
53
|
-
const permission = yield*
|
|
54
|
-
const forms = yield*
|
|
55
|
-
const rpc = yield*
|
|
53
|
+
const permission = yield* Service49;
|
|
54
|
+
const forms = yield* Service79;
|
|
55
|
+
const rpc = yield* Service47;
|
|
56
56
|
const project = yield* Service82;
|
|
57
57
|
const scope = yield* Effect.scope;
|
|
58
58
|
yield* project.activate(location.project.id);
|
|
@@ -80,15 +80,15 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
80
80
|
});
|
|
81
81
|
}).pipe(Effect.ensuring(Deferred.succeed(done, undefined)));
|
|
82
82
|
}).pipe(Effect.uninterruptible);
|
|
83
|
-
return
|
|
83
|
+
return Service15.of({
|
|
84
84
|
isClosed: () => closed,
|
|
85
85
|
shutdown
|
|
86
86
|
});
|
|
87
87
|
}));
|
|
88
|
-
var
|
|
89
|
-
service:
|
|
88
|
+
var node17 = makeLocationNode({
|
|
89
|
+
service: Service15,
|
|
90
90
|
layer,
|
|
91
|
-
deps: [node88, node85,
|
|
91
|
+
deps: [node88, node85, node51, node86, node83, node49]
|
|
92
92
|
});
|
|
93
93
|
|
|
94
|
-
export {
|
|
94
|
+
export { Service15, node17, exports_location_lifecycle };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./location-service-map-
|
|
2
|
+
Service68
|
|
3
|
+
} from "./location-service-map-z1zdzsfj.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./location-service-map-
|
|
5
|
+
Service12
|
|
6
|
+
} from "./location-service-map-cwa6csj7.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
9
|
} from "./location-service-map-qsdy395h.js";
|
|
@@ -12,18 +12,18 @@ import {
|
|
|
12
12
|
} from "./location-service-map-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/location-watcher.ts
|
|
15
|
-
var
|
|
16
|
-
__export(
|
|
17
|
-
ConfigLocationWatcherPlugin: () =>
|
|
18
|
-
Plugin: () =>
|
|
15
|
+
var exports_location_watcher2 = {};
|
|
16
|
+
__export(exports_location_watcher2, {
|
|
17
|
+
ConfigLocationWatcherPlugin: () => exports_location_watcher2,
|
|
18
|
+
Plugin: () => Plugin40
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin40 = define({
|
|
23
23
|
id: "opencode.config.location-watcher",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const policy = yield*
|
|
25
|
+
const config = yield* Service68;
|
|
26
|
+
const policy = yield* Service12;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, policy.reload());
|
|
28
28
|
yield* policy.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -35,4 +35,4 @@ var Plugin17 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin40, exports_location_watcher2 };
|