@opencode/core 0.0.0-dev-20798 → 0.0.0-dev-20801
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +82 -82
- package/dist/aisdk-native.js +90 -90
- package/dist/aisdk.js +95 -95
- package/dist/app.js +9 -9
- package/dist/bus.js +70 -70
- package/dist/chunks/{permission-q0xm7vwc.js → location-service-map-0j77ygfz.js} +6 -6
- package/dist/chunks/{permission-x5q60wvw.js → location-service-map-0mevmm6k.js} +3 -3
- package/dist/chunks/{permission-tshys90f.js → location-service-map-0mn8rd50.js} +4 -4
- package/dist/chunks/{permission-0paq2nw3.js → location-service-map-0paq2nw3.js} +1 -1
- package/dist/chunks/{permission-0vbcp93d.js → location-service-map-0vbcp93d.js} +2 -2
- package/dist/chunks/{permission-99y5njfe.js → location-service-map-0xc0wntc.js} +3 -3
- package/dist/chunks/{permission-bzz8wrte.js → location-service-map-1165c09c.js} +7 -7
- package/dist/chunks/{permission-yp2x3t23.js → location-service-map-1acjjqhc.js} +4 -4
- package/dist/chunks/{permission-1dvck2a7.js → location-service-map-1dvck2a7.js} +2 -2
- package/dist/chunks/{permission-xs8shqq6.js → location-service-map-1fa42107.js} +81 -81
- package/dist/chunks/{permission-mjb5p1qt.js → location-service-map-1gdvatv8.js} +17 -17
- package/dist/chunks/{permission-8sze2n9a.js → location-service-map-1p07q0wb.js} +8 -8
- package/dist/chunks/{permission-18yqp4d1.js → location-service-map-1xf08g7c.js} +24 -24
- package/dist/chunks/{permission-5m63j0x9.js → location-service-map-1z6w7b3h.js} +9 -9
- package/dist/chunks/{permission-jftd83kv.js → location-service-map-23jc72tn.js} +16 -16
- package/dist/chunks/{permission-v3437zz8.js → location-service-map-28zth9xm.js} +11 -11
- package/dist/chunks/{permission-4ts7tf6z.js → location-service-map-2ccvkpx1.js} +2 -2
- package/dist/chunks/{permission-fa06sfaa.js → location-service-map-2eyh21c7.js} +21 -21
- package/dist/chunks/{permission-jd4785vb.js → location-service-map-2r9t25hy.js} +9 -9
- package/dist/chunks/{permission-djszqvmq.js → location-service-map-2sejkfem.js} +9 -9
- package/dist/chunks/{permission-2vvh33eb.js → location-service-map-2vvh33eb.js} +2 -2
- package/dist/chunks/{permission-bve6qjkp.js → location-service-map-31c79hqa.js} +9 -9
- package/dist/chunks/{permission-5m84d531.js → location-service-map-361xt909.js} +8 -8
- package/dist/chunks/{permission-s9yx8wdb.js → location-service-map-3errj18w.js} +5 -5
- package/dist/chunks/{permission-xh4fy60y.js → location-service-map-3fbj0cxp.js} +5 -5
- package/dist/chunks/{permission-3fc6dm20.js → location-service-map-3fc6dm20.js} +1 -1
- package/dist/chunks/{permission-3hepkmqq.js → location-service-map-3hepkmqq.js} +1 -1
- package/dist/chunks/{permission-3hwn7j4h.js → location-service-map-3hwn7j4h.js} +2 -2
- package/dist/chunks/{permission-gsy01x3h.js → location-service-map-3jc17mvm.js} +48 -48
- package/dist/chunks/{permission-3smtnn6g.js → location-service-map-3smtnn6g.js} +1 -1
- package/dist/chunks/{permission-gjat5q9s.js → location-service-map-3tnzxa2y.js} +8 -8
- package/dist/chunks/{permission-3tvqynh2.js → location-service-map-3tvqynh2.js} +1 -1
- package/dist/chunks/{permission-8qfsvs7t.js → location-service-map-3vyq9jg0.js} +25 -12
- package/dist/chunks/{permission-3zsf4n22.js → location-service-map-3zsf4n22.js} +1 -1
- package/dist/chunks/{permission-aq7275dt.js → location-service-map-433skmxr.js} +13 -13
- package/dist/chunks/{permission-19bvb7ap.js → location-service-map-44w12kf8.js} +6 -6
- package/dist/chunks/{permission-ppj5zt05.js → location-service-map-46wz3f32.js} +25 -25
- package/dist/chunks/{permission-myxpwbc1.js → location-service-map-4jpjqsrx.js} +15 -15
- package/dist/chunks/{permission-54ma36ye.js → location-service-map-54ma36ye.js} +1 -1
- package/dist/chunks/{permission-nqfeqft8.js → location-service-map-55nzz6xb.js} +8 -8
- package/dist/chunks/{permission-xfkkasph.js → location-service-map-57b9ws8p.js} +7 -7
- package/dist/chunks/{permission-fktxf9jh.js → location-service-map-57snjcj7.js} +13 -13
- package/dist/chunks/{permission-v8dvbsx3.js → location-service-map-58k5xxy9.js} +20 -20
- package/dist/chunks/{permission-5m9w47nd.js → location-service-map-5m9w47nd.js} +1 -1
- package/dist/chunks/{permission-5rzwp8tz.js → location-service-map-5rzwp8tz.js} +1 -1
- package/dist/chunks/{permission-ff8twdz4.js → location-service-map-5twrj1xt.js} +16 -16
- package/dist/chunks/{permission-2p8kcfzp.js → location-service-map-5vbhpx63.js} +35 -35
- package/dist/chunks/{permission-1nc875hk.js → location-service-map-5ydghqfr.js} +23 -23
- package/dist/chunks/{permission-gpxncbys.js → location-service-map-66m9kez4.js} +23 -23
- package/dist/chunks/{permission-88btmr7f.js → location-service-map-6fg15rp7.js} +16 -16
- package/dist/chunks/{permission-skzynr4s.js → location-service-map-6fnfe7br.js} +21 -21
- package/dist/chunks/{permission-6xb47vfp.js → location-service-map-6xb47vfp.js} +1 -1
- package/dist/chunks/{permission-wh6zw745.js → location-service-map-6yz0wx8n.js} +5 -5
- package/dist/chunks/{permission-5pyjqqve.js → location-service-map-706phk7x.js} +2 -2
- package/dist/chunks/{permission-71az546q.js → location-service-map-71az546q.js} +2 -2
- package/dist/chunks/{permission-dbweq2g3.js → location-service-map-71dgzv1y.js} +21 -21
- package/dist/chunks/{permission-82v73sw7.js → location-service-map-72sxpf59.js} +3 -3
- package/dist/chunks/{permission-k3cjg3rv.js → location-service-map-75vk4dpz.js} +3 -3
- package/dist/chunks/{permission-erc8hxye.js → location-service-map-7ak5snhj.js} +3 -3
- package/dist/chunks/{permission-7bmhse3q.js → location-service-map-7bmhse3q.js} +1 -1
- package/dist/chunks/{permission-cx8j2kw4.js → location-service-map-7c1dbfgq.js} +2 -2
- package/dist/chunks/{permission-1mymedw7.js → location-service-map-7c80c8sp.js} +45 -45
- package/dist/chunks/{permission-sz15zhhw.js → location-service-map-7cx595n2.js} +9 -9
- package/dist/chunks/{permission-set8mr7x.js → location-service-map-7e7armbs.js} +20 -20
- package/dist/chunks/{permission-5hes5pr6.js → location-service-map-7ge0js6a.js} +15 -15
- package/dist/chunks/{permission-wpdnty0e.js → location-service-map-7mhq6j8k.js} +15 -15
- package/dist/chunks/{permission-tfzms4hw.js → location-service-map-7mpn4658.js} +11 -11
- package/dist/chunks/{permission-j81g7ypj.js → location-service-map-7rvtndc1.js} +20 -20
- package/dist/chunks/{permission-0rgt9zzt.js → location-service-map-7ze973h4.js} +18 -18
- package/dist/chunks/{permission-84txncab.js → location-service-map-84txncab.js} +1 -1
- package/dist/chunks/{permission-4dhmsxq6.js → location-service-map-87eyk158.js} +46 -46
- package/dist/chunks/{permission-svcw9x3w.js → location-service-map-88hkx883.js} +12 -12
- package/dist/chunks/{permission-9mpf12xv.js → location-service-map-89embc53.js} +6 -6
- package/dist/chunks/{permission-cx4cpdm8.js → location-service-map-8f283hkt.js} +26 -26
- package/dist/chunks/{permission-8m6m0r52.js → location-service-map-8m6m0r52.js} +1 -1
- package/dist/chunks/{permission-3sbnpzmt.js → location-service-map-8tj6dfpd.js} +35 -35
- package/dist/chunks/{permission-kkp8zx71.js → location-service-map-8tsdq50x.js} +4 -4
- package/dist/chunks/{permission-842gc1q9.js → location-service-map-8w4e1847.js} +17 -17
- package/dist/chunks/{permission-qcd4fcp0.js → location-service-map-92m6ady5.js} +28 -28
- package/dist/chunks/{permission-s6q4m3rw.js → location-service-map-96d8sv6n.js} +22 -22
- package/dist/chunks/{permission-es4zr9pq.js → location-service-map-96kj8cwg.js} +8 -8
- package/dist/chunks/{permission-2xwkyk0m.js → location-service-map-994b2pxg.js} +5 -5
- package/dist/chunks/{permission-18r7tqwc.js → location-service-map-9cbg87x5.js} +20 -20
- package/dist/chunks/{permission-9e5bzkjp.js → location-service-map-9e5bzkjp.js} +3 -3
- package/dist/chunks/{permission-f2bepxa4.js → location-service-map-9jm2baf7.js} +11 -11
- package/dist/chunks/{permission-m08g2nfv.js → location-service-map-9np2jy3t.js} +17 -17
- package/dist/chunks/{permission-121pyapq.js → location-service-map-9xg5tdtq.js} +50 -50
- package/dist/chunks/{permission-dsqwq135.js → location-service-map-a3w7zwjp.js} +7 -7
- package/dist/chunks/{permission-j6xyqk3q.js → location-service-map-ad2nqy1t.js} +11 -11
- package/dist/chunks/{permission-fvsf627r.js → location-service-map-ah16e13m.js} +28 -28
- package/dist/chunks/{permission-2djegtem.js → location-service-map-aner4yt8.js} +4 -4
- package/dist/chunks/{permission-crprrqm9.js → location-service-map-awcdnv69.js} +28 -28
- package/dist/chunks/{permission-rg1e8n1n.js → location-service-map-awfjv812.js} +1 -1
- package/dist/chunks/{permission-7desqmmy.js → location-service-map-b1va8wh2.js} +21 -21
- package/dist/chunks/{permission-xtb1gs3j.js → location-service-map-b2kvt9pg.js} +16 -16
- package/dist/chunks/{permission-xftgx4ts.js → location-service-map-b6y5gre9.js} +78 -78
- package/dist/chunks/{permission-thehtxep.js → location-service-map-b9dnqm0v.js} +11 -11
- package/dist/chunks/{permission-x21zgmep.js → location-service-map-ba1chkmt.js} +50 -50
- package/dist/chunks/{permission-4z7naazd.js → location-service-map-bas1vgmj.js} +52 -52
- package/dist/chunks/{permission-x9xg8x40.js → location-service-map-becgvfp5.js} +24 -24
- package/dist/chunks/{permission-eeaf82dq.js → location-service-map-bh0zzf2s.js} +8 -8
- package/dist/chunks/{permission-t1g75zb1.js → location-service-map-bt5x3z5v.js} +24 -24
- package/dist/chunks/{permission-mr1x1312.js → location-service-map-btk9fr07.js} +20 -20
- package/dist/chunks/{permission-v0es1rhs.js → location-service-map-btvs9fn2.js} +9 -9
- package/dist/chunks/{permission-ap89vq3r.js → location-service-map-c4xgbqak.js} +22 -22
- package/dist/chunks/{permission-kjvjp12z.js → location-service-map-c9vfw4h0.js} +13 -13
- package/dist/chunks/{permission-y5qqa7my.js → location-service-map-carj08b7.js} +10 -10
- package/dist/chunks/{permission-acvz0gda.js → location-service-map-ck8vrs8t.js} +3 -3
- package/dist/chunks/{permission-xtey03m7.js → location-service-map-ctqxc5qb.js} +13 -13
- package/dist/chunks/location-service-map-cv4t6fed.js +94 -0
- package/dist/chunks/{permission-f4x7tdmc.js → location-service-map-cw5hxmre.js} +6 -6
- package/dist/chunks/{permission-tn5vzadn.js → location-service-map-dbbdp4nt.js} +11 -11
- package/dist/chunks/{permission-jy4c01cs.js → location-service-map-ddfnwkqp.js} +9 -9
- package/dist/chunks/{permission-wkvczzh5.js → location-service-map-detd8ckx.js} +9 -9
- package/dist/chunks/{permission-4nadmqk6.js → location-service-map-dgaabqr5.js} +18 -18
- package/dist/chunks/{permission-hf70zf3n.js → location-service-map-dr0w99yk.js} +15 -15
- package/dist/chunks/{permission-mhhhgcje.js → location-service-map-dt89m1xn.js} +24 -24
- package/dist/chunks/{permission-0a64wyvf.js → location-service-map-dtnrfw1y.js} +11 -11
- package/dist/chunks/{permission-edx1299v.js → location-service-map-dxpeytp7.js} +25 -25
- package/dist/chunks/{permission-5qd3pb7m.js → location-service-map-e3qxr5gk.js} +2 -2
- package/dist/chunks/{permission-tm0d2req.js → location-service-map-ecyc96a7.js} +27 -27
- package/dist/chunks/{permission-eej6y6fw.js → location-service-map-eej6y6fw.js} +2 -2
- package/dist/chunks/{permission-ef5x83kb.js → location-service-map-ef5x83kb.js} +1 -1
- package/dist/chunks/{permission-43mhxncg.js → location-service-map-f4fvt4fb.js} +16 -16
- package/dist/chunks/location-service-map-f5kdsmxt.js +253 -0
- package/dist/chunks/{permission-9wnb64mk.js → location-service-map-f8gz7yg5.js} +4 -4
- package/dist/chunks/{permission-7dqw4kz8.js → location-service-map-fcrkznn8.js} +5 -5
- package/dist/chunks/{permission-h9s04ysn.js → location-service-map-ft5bq997.js} +28 -28
- package/dist/chunks/{permission-wg4745h2.js → location-service-map-fwhecrey.js} +4 -4
- package/dist/chunks/{permission-bacj9t34.js → location-service-map-g686f6pq.js} +9 -9
- package/dist/chunks/{permission-879pdkpw.js → location-service-map-gd0z3kav.js} +46 -46
- package/dist/chunks/{permission-gd4qta3r.js → location-service-map-gd4qta3r.js} +1 -1
- package/dist/chunks/{permission-cax823b0.js → location-service-map-gdv62nb9.js} +5 -5
- package/dist/chunks/{permission-jrhws6fd.js → location-service-map-gewe6jf6.js} +10 -10
- package/dist/chunks/{permission-v2679nm9.js → location-service-map-gf04c5rv.js} +13 -13
- package/dist/chunks/{permission-q58mka6k.js → location-service-map-gffqj91w.js} +9 -9
- package/dist/chunks/location-service-map-ghjcmzsq.js +26 -0
- package/dist/chunks/{permission-gk8qb678.js → location-service-map-gk8qb678.js} +1 -1
- package/dist/chunks/{permission-c8fzga1g.js → location-service-map-gp5z9a0b.js} +189 -189
- package/dist/chunks/{permission-fz14dcjq.js → location-service-map-gqj8kawb.js} +17 -17
- package/dist/chunks/{permission-z79kqqnc.js → location-service-map-gr6vhd7y.js} +5 -5
- package/dist/chunks/{permission-r3jj6dc1.js → location-service-map-gzr50nfj.js} +18 -18
- package/dist/chunks/{permission-h2b79v29.js → location-service-map-h2b79v29.js} +2 -2
- package/dist/chunks/{permission-h6vf3j39.js → location-service-map-h6vf3j39.js} +1 -1
- package/dist/chunks/{permission-h7s7r6s9.js → location-service-map-h7s7r6s9.js} +2 -2
- package/dist/chunks/{permission-yrcj3v3g.js → location-service-map-h9wp8z5w.js} +4 -4
- package/dist/chunks/{permission-2p9k1bxm.js → location-service-map-hd2bethg.js} +6 -6
- package/dist/chunks/{permission-hgz4x7wa.js → location-service-map-hgz4x7wa.js} +1 -1
- package/dist/chunks/{permission-rsqqs00a.js → location-service-map-hh2z7ns7.js} +10 -10
- package/dist/chunks/{permission-fwhqfwqn.js → location-service-map-hwe7x4em.js} +6 -6
- package/dist/chunks/{permission-qwwmtqky.js → location-service-map-j2jk7dpe.js} +7 -7
- package/dist/chunks/{permission-j56e64zr.js → location-service-map-j56e64zr.js} +1 -1
- package/dist/chunks/{permission-pz91bm7f.js → location-service-map-j9smc2b3.js} +45 -45
- package/dist/chunks/{permission-pxfh3dfs.js → location-service-map-jbhsa3d2.js} +11 -11
- package/dist/chunks/{permission-6pmrennt.js → location-service-map-je13hchp.js} +39 -39
- package/dist/chunks/{permission-6g0am89f.js → location-service-map-jh5d2e01.js} +4 -4
- package/dist/chunks/{permission-v0rmr13d.js → location-service-map-jmtk6pe3.js} +23 -23
- package/dist/chunks/{permission-jqh9b0xq.js → location-service-map-jqh9b0xq.js} +1 -1
- package/dist/chunks/{permission-wkm5w91q.js → location-service-map-jqpt2939.js} +26 -26
- package/dist/chunks/{permission-xfp8ry6z.js → location-service-map-jr72ype2.js} +4 -4
- package/dist/chunks/{permission-pa71v4xs.js → location-service-map-jsz5n3ba.js} +4 -4
- package/dist/chunks/{permission-11zxpxmk.js → location-service-map-jy63csdy.js} +11 -11
- package/dist/chunks/{permission-ag1vmkq5.js → location-service-map-k0w1apbg.js} +5 -5
- package/dist/chunks/{permission-hff4xq6b.js → location-service-map-k24w61n2.js} +24 -24
- package/dist/chunks/{permission-0w62qmxp.js → location-service-map-k3kxt7h3.js} +6 -6
- package/dist/chunks/{permission-fbvp0k6e.js → location-service-map-kad71q59.js} +15 -15
- package/dist/chunks/{permission-hzyqe4zz.js → location-service-map-kh1ckaj3.js} +15 -15
- package/dist/chunks/location-service-map-khmqacep.js +22 -0
- package/dist/chunks/{permission-afdssyjb.js → location-service-map-kne8f3cn.js} +4 -4
- package/dist/chunks/{permission-jyhn569w.js → location-service-map-kt85bzct.js} +24 -24
- package/dist/chunks/{permission-m3fdjcah.js → location-service-map-m3fdjcah.js} +1 -1
- package/dist/chunks/{permission-q8d01tfe.js → location-service-map-m3tby6h3.js} +6 -6
- package/dist/chunks/{permission-1b3hp9sm.js → location-service-map-m6k32p3q.js} +43 -43
- package/dist/chunks/{permission-dwg50gpj.js → location-service-map-m72013sh.js} +15 -15
- package/dist/chunks/{permission-m9w0rfyh.js → location-service-map-m9w0rfyh.js} +1 -1
- package/dist/chunks/{permission-q2an6qgh.js → location-service-map-mya54eym.js} +36 -36
- package/dist/chunks/{permission-vx3jgdek.js → location-service-map-n7d88tpn.js} +3 -3
- package/dist/chunks/{permission-g7eh4ee8.js → location-service-map-nf9x7vvg.js} +5 -5
- package/dist/chunks/{permission-yvxejzvs.js → location-service-map-nhqnjw8w.js} +13 -13
- package/dist/chunks/{permission-7g7d1a0d.js → location-service-map-nm0vfxwf.js} +34 -34
- package/dist/chunks/{permission-df46w92m.js → location-service-map-nq9xdcve.js} +24 -24
- package/dist/chunks/{permission-0867ny8p.js → location-service-map-nr86a4aa.js} +26 -26
- package/dist/chunks/{permission-rk7s9xkn.js → location-service-map-nw91k3fh.js} +4 -4
- package/dist/chunks/{permission-bsprd9wx.js → location-service-map-nwyx06m3.js} +7 -7
- package/dist/chunks/{permission-pjvnvgmy.js → location-service-map-pjvnvgmy.js} +1 -1
- package/dist/chunks/{permission-vdead4g8.js → location-service-map-pjy78br0.js} +8 -8
- package/dist/chunks/{permission-pknna89w.js → location-service-map-pknna89w.js} +1 -1
- package/dist/chunks/{permission-kjrnpcqs.js → location-service-map-ppgeajdt.js} +11 -11
- package/dist/chunks/location-service-map-pvkdwwyp.js +513 -0
- package/dist/chunks/{permission-w0tnwptq.js → location-service-map-pvpckbfy.js} +36 -36
- package/dist/chunks/{permission-91y72fzf.js → location-service-map-pwpxvnsv.js} +8 -8
- package/dist/chunks/{permission-sm50yx05.js → location-service-map-q24zdy77.js} +5 -5
- package/dist/chunks/{permission-bnkkg5p8.js → location-service-map-q4cx2nd9.js} +21 -21
- package/dist/chunks/{permission-4ap3exgq.js → location-service-map-qa16p51s.js} +35 -35
- package/dist/chunks/{permission-dzxtww8h.js → location-service-map-qcedr0bd.js} +18 -18
- package/dist/chunks/{permission-tnn2zr7p.js → location-service-map-qmfan5p8.js} +20 -20
- package/dist/chunks/{permission-qnc92qwc.js → location-service-map-qnc92qwc.js} +1 -1
- package/dist/chunks/{permission-47jkzegy.js → location-service-map-qne3fa44.js} +5 -5
- package/dist/chunks/{permission-3fdbr0t9.js → location-service-map-qpb7bxgp.js} +9 -9
- package/dist/chunks/{permission-1cawmmgw.js → location-service-map-qpm5hp9p.js} +7 -7
- package/dist/chunks/{permission-qg3mqya1.js → location-service-map-qrnt87r4.js} +34 -34
- package/dist/chunks/{permission-qsdy395h.js → location-service-map-qsdy395h.js} +1 -1
- package/dist/chunks/{permission-578hyz0h.js → location-service-map-r7hb9m1a.js} +5 -5
- package/dist/chunks/{permission-t2fc4mz5.js → location-service-map-ratrq7cm.js} +4 -4
- package/dist/chunks/{permission-rdw6cm16.js → location-service-map-rdw6cm16.js} +1 -1
- package/dist/chunks/{permission-49q6xr1d.js → location-service-map-rgk6zsy7.js} +24 -24
- package/dist/chunks/{permission-xep3ze1y.js → location-service-map-rgsaj6md.js} +5 -5
- package/dist/chunks/{permission-zkv4zs3q.js → location-service-map-rp3y8q2h.js} +23 -23
- package/dist/chunks/{permission-zbrcmnr9.js → location-service-map-rpfdbzf4.js} +30 -30
- package/dist/chunks/{permission-dkwxev37.js → location-service-map-rpz6cytj.js} +36 -36
- package/dist/chunks/{permission-hc3jk0qp.js → location-service-map-rt7sntmp.js} +28 -28
- package/dist/chunks/{permission-phk6wrew.js → location-service-map-rxs07z00.js} +15 -15
- package/dist/chunks/{permission-4a0nv7mx.js → location-service-map-s5met55r.js} +8 -8
- package/dist/chunks/{permission-rtqbsk82.js → location-service-map-s716ynet.js} +19 -19
- package/dist/chunks/{permission-6y1gtmaj.js → location-service-map-s72appec.js} +26 -26
- package/dist/chunks/{permission-t550f9t1.js → location-service-map-s8d7rejh.js} +4 -4
- package/dist/chunks/{permission-a71dp01s.js → location-service-map-sabhanq5.js} +1 -1
- package/dist/chunks/{permission-nfp6qa8f.js → location-service-map-sbwbtvpe.js} +5 -5
- package/dist/chunks/{permission-8mr9hc7m.js → location-service-map-scyd4zqv.js} +20 -20
- package/dist/chunks/{permission-e12zrfjk.js → location-service-map-scz9kh8s.js} +17 -17
- package/dist/chunks/{permission-xtba51zg.js → location-service-map-sp4rp1vg.js} +14 -14
- package/dist/chunks/{permission-p9pz60nm.js → location-service-map-sxt5p7a7.js} +9 -9
- package/dist/chunks/{permission-5dsfe2fx.js → location-service-map-t2m7x8m9.js} +3 -3
- package/dist/chunks/{permission-tazgh4e4.js → location-service-map-tazgh4e4.js} +1 -1
- package/dist/chunks/{permission-g1ghggvv.js → location-service-map-tbm98svr.js} +11 -11
- package/dist/chunks/{permission-tcezcvh9.js → location-service-map-tcezcvh9.js} +1 -1
- package/dist/chunks/{permission-tdstcens.js → location-service-map-tdstcens.js} +1 -1
- package/dist/chunks/{permission-e4g6rnfs.js → location-service-map-thtzhryg.js} +12 -12
- package/dist/chunks/{permission-tpw6cwsb.js → location-service-map-tpw6cwsb.js} +1 -1
- package/dist/chunks/{permission-f215snft.js → location-service-map-tr86pv5k.js} +11 -11
- package/dist/chunks/{permission-ej41exat.js → location-service-map-ttxdgb8t.js} +7 -7
- package/dist/chunks/{permission-tyytaxap.js → location-service-map-tyytaxap.js} +1 -1
- package/dist/chunks/{permission-v7p4zvkq.js → location-service-map-v7p4zvkq.js} +2 -2
- package/dist/chunks/{permission-dhtaqzk7.js → location-service-map-v8k59dvq.js} +11 -11
- package/dist/chunks/{permission-zy52m0s9.js → location-service-map-v8zetzh7.js} +16 -16
- package/dist/chunks/{permission-veqvce7d.js → location-service-map-veqvce7d.js} +1 -1
- package/dist/chunks/{permission-adw3bn0q.js → location-service-map-vers3xd6.js} +14 -14
- package/dist/chunks/{permission-29y7gdct.js → location-service-map-vgbf06ff.js} +4 -4
- package/dist/chunks/{permission-havdyj78.js → location-service-map-vsm0c6m6.js} +11 -11
- package/dist/chunks/{permission-ttdqgenf.js → location-service-map-vvt30vkv.js} +13 -13
- package/dist/chunks/{permission-vzs5sf6e.js → location-service-map-vzs5sf6e.js} +1 -1
- package/dist/chunks/{permission-w3wsvvr9.js → location-service-map-w3wsvvr9.js} +1 -1
- package/dist/chunks/{permission-wd87259q.js → location-service-map-wd87259q.js} +1 -1
- package/dist/chunks/{permission-kep13917.js → location-service-map-wdhzpvak.js} +6 -6
- package/dist/chunks/{permission-n49d9j3n.js → location-service-map-wgqfafw9.js} +26 -26
- package/dist/chunks/{permission-h71w788e.js → location-service-map-wk5z6jzv.js} +9 -9
- package/dist/chunks/{permission-n58fwfj9.js → location-service-map-wsh9mqvf.js} +17 -17
- package/dist/chunks/{permission-kak8azr3.js → location-service-map-wzq12bc0.js} +10 -10
- package/dist/chunks/{permission-addxnjmp.js → location-service-map-x661k3y3.js} +4 -4
- package/dist/chunks/{permission-7tfntwgh.js → location-service-map-x8gmk19p.js} +10 -10
- package/dist/chunks/{permission-z5tdqdjp.js → location-service-map-xabqshkb.js} +39 -39
- package/dist/chunks/{permission-eq9cbjh1.js → location-service-map-xg276sb2.js} +37 -37
- package/dist/chunks/{permission-b04gvtaq.js → location-service-map-xhjk5q61.js} +33 -32
- package/dist/chunks/{permission-s5esxmbf.js → location-service-map-xmkdm31h.js} +23 -23
- package/dist/chunks/{permission-cxryejnk.js → location-service-map-xnhfr7vz.js} +17 -17
- package/dist/chunks/{permission-71748gaj.js → location-service-map-xrfewb9d.js} +11 -11
- package/dist/chunks/{permission-mwac1kvk.js → location-service-map-xsqp8vj3.js} +19 -19
- package/dist/chunks/{permission-67w3b3c1.js → location-service-map-xvaq9pn2.js} +25 -25
- package/dist/chunks/{permission-y1fvbwt7.js → location-service-map-y1fvbwt7.js} +1 -1
- package/dist/chunks/{permission-9warehvz.js → location-service-map-y5bmbxsz.js} +15 -15
- package/dist/chunks/{permission-y71avatq.js → location-service-map-y71avatq.js} +1 -1
- package/dist/chunks/{permission-bsxt7ke4.js → location-service-map-yaf201e8.js} +14 -14
- package/dist/chunks/{permission-bh2h312c.js → location-service-map-ycw2k4m5.js} +11 -11
- package/dist/chunks/{permission-ys0pbpvc.js → location-service-map-ydfxryx4.js} +3 -3
- package/dist/chunks/{permission-j24gjvrt.js → location-service-map-ygxdexa0.js} +11 -11
- package/dist/chunks/{permission-4mn4pdq4.js → location-service-map-ykbfgt2m.js} +15 -15
- package/dist/chunks/{permission-ydk4cx33.js → location-service-map-ypmktead.js} +30 -30
- package/dist/chunks/{permission-pnzf6mjf.js → location-service-map-yqc6bamn.js} +1 -1
- package/dist/chunks/{permission-d41v1r24.js → location-service-map-ys8mr2ec.js} +15 -15
- package/dist/chunks/{permission-ywt8jp22.js → location-service-map-ywt8jp22.js} +2 -2
- package/dist/chunks/{permission-pck7vvdx.js → location-service-map-yzwajjfv.js} +5 -5
- package/dist/chunks/{permission-z0bkrqjs.js → location-service-map-z0bkrqjs.js} +1 -1
- package/dist/chunks/{permission-dxtjfr5w.js → location-service-map-z9x3zg0s.js} +24 -24
- package/dist/chunks/{permission-c5gx90bd.js → location-service-map-zdpjb49n.js} +49 -49
- package/dist/chunks/{permission-2m8jawch.js → location-service-map-zfs8ae4p.js} +4 -4
- package/dist/chunks/{permission-zr2ceqn5.js → location-service-map-zr2ceqn5.js} +1 -1
- package/dist/chunks/{permission-1061b640.js → location-service-map-zta3kt9v.js} +19 -19
- package/dist/chunks/{permission-zxq2ej10.js → location-service-map-zxq2ej10.js} +1 -1
- package/dist/chunks/{permission-zyk1yjk8.js → location-service-map-zyk1yjk8.js} +2 -2
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +100 -100
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +206 -206
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +117 -117
- package/dist/config/plugin/instruction.js +91 -91
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +118 -118
- package/dist/config/plugin/provider.js +117 -117
- package/dist/config/plugin/reference.js +119 -119
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +103 -103
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +117 -117
- package/dist/config/plugin/source.js +114 -114
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +116 -116
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +122 -122
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +69 -69
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration.gen.js +50 -50
- package/dist/database/migration.js +52 -52
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +77 -77
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +367 -366
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +94 -94
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +96 -96
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +6 -21
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +71 -71
- package/dist/file-access.js +105 -105
- package/dist/file-mutation.js +95 -95
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +215 -215
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +100 -100
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +101 -101
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +88 -88
- package/dist/generate.js +104 -104
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +100 -100
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +358 -357
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +88 -88
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +88 -88
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +74 -74
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +108 -108
- package/dist/location-service-map.js +87 -87
- package/dist/location-services.js +355 -354
- package/dist/location.js +88 -88
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +92 -92
- package/dist/mcp/index.js +110 -110
- package/dist/mcp/instructions.js +130 -130
- package/dist/mcp/oauth.js +79 -79
- package/dist/mcp/stdio.js +91 -91
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +100 -100
- package/dist/model-resolver.js +99 -99
- package/dist/model.js +101 -101
- package/dist/models-dev.js +108 -108
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +110 -110
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +83 -83
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +76 -76
- package/dist/plugin/agent.js +75 -75
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +214 -214
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +330 -329
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +97 -97
- package/dist/plugin/module.js +116 -116
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +103 -103
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +91 -91
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +95 -95
- package/dist/plugin/provider/cloudflare-ai-gateway.js +114 -114
- package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +94 -94
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +96 -96
- package/dist/plugin/provider/gitlab.js +94 -94
- package/dist/plugin/provider/google-vertex.js +114 -114
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +79 -79
- package/dist/plugin/provider/lmstudio.js +126 -117
- package/dist/plugin/provider/local.js +123 -114
- package/dist/plugin/provider/modal.js +93 -93
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +126 -117
- package/dist/plugin/provider/openai.js +96 -96
- package/dist/plugin/provider/opencode.js +98 -98
- package/dist/plugin/provider/openrouter.js +92 -92
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +80 -80
- package/dist/plugin/provider/prompt-cache-key.js +91 -91
- package/dist/plugin/provider/sap-ai-core.js +92 -92
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +116 -116
- package/dist/plugin/provider/vercel.js +91 -91
- package/dist/plugin/provider/vllm.js +126 -117
- package/dist/plugin/provider/xai.js +92 -92
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -159
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +345 -344
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/verbosity.js +94 -94
- package/dist/plugin/warming.js +115 -115
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +4 -4
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +221 -221
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +100 -100
- package/dist/reference/instructions.js +90 -90
- package/dist/reference.js +92 -92
- package/dist/repository-cache.js +82 -82
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +87 -87
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +75 -75
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +154 -154
- package/dist/session/diff.js +89 -89
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +214 -214
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +155 -155
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +91 -91
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +80 -80
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +94 -94
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -117
- package/dist/session/model-transport.js +5 -5
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +87 -87
- package/dist/session/prompt.js +106 -106
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +91 -91
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +223 -223
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +99 -99
- package/dist/session/runner/publish-llm-event.js +114 -114
- package/dist/session/runner/retry.js +2 -2
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +163 -163
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +104 -104
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +152 -152
- package/dist/session/to-session-error.js +112 -112
- package/dist/session/transfer.js +211 -211
- package/dist/session/usage.js +1 -1
- package/dist/session.js +210 -210
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +108 -108
- package/dist/skill.js +113 -113
- package/dist/snapshot.js +90 -90
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +129 -129
- package/dist/tool/plugin/edit.js +117 -117
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +125 -125
- package/dist/tool/plugin/grep.js +125 -125
- package/dist/tool/plugin/mcp-resource.js +118 -118
- package/dist/tool/plugin/opencode.js +110 -110
- package/dist/tool/plugin/patch.js +123 -123
- package/dist/tool/plugin/question.js +106 -106
- package/dist/tool/plugin/read.js +126 -126
- package/dist/tool/plugin/shell.js +203 -203
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +119 -119
- package/dist/tool/read-filesystem.js +97 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/types/shell/parse.d.ts +2 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +93 -93
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +94 -94
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +90 -90
- package/dist/websearch.js +85 -85
- package/dist/wellknown/plugin.js +77 -77
- package/dist/wellknown.js +82 -82
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +83 -83
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +90 -90
- package/dist/worktree.js +99 -99
- package/package.json +11 -11
- package/dist/chunks/permission-6yerckma.js +0 -26
- package/dist/chunks/permission-8k7d7nrh.js +0 -513
- package/dist/chunks/permission-e53qrayz.js +0 -253
- package/dist/chunks/permission-yd8r87h6.js +0 -89
- /package/dist/chunks/{permission-0qkdqm5v.js → location-service-map-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{permission-0zkw76rk.js → location-service-map-0zkw76rk.js} +0 -0
- /package/dist/chunks/{permission-17cy0kzp.js → location-service-map-17cy0kzp.js} +0 -0
- /package/dist/chunks/{permission-1cnp2v09.js → location-service-map-1cnp2v09.js} +0 -0
- /package/dist/chunks/{permission-1kg9ymc8.js → location-service-map-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{permission-24dcb14g.js → location-service-map-24dcb14g.js} +0 -0
- /package/dist/chunks/{permission-2710q6r3.js → location-service-map-2710q6r3.js} +0 -0
- /package/dist/chunks/{permission-2axfhc9x.js → location-service-map-2axfhc9x.js} +0 -0
- /package/dist/chunks/{permission-2bv980vf.js → location-service-map-2bv980vf.js} +0 -0
- /package/dist/chunks/{permission-2c3vjs8z.js → location-service-map-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{permission-34c7v6d4.js → location-service-map-34c7v6d4.js} +0 -0
- /package/dist/chunks/{permission-359p4xyc.js → location-service-map-359p4xyc.js} +0 -0
- /package/dist/chunks/{permission-3asan66x.js → location-service-map-3asan66x.js} +0 -0
- /package/dist/chunks/{permission-3t0ybcrp.js → location-service-map-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{permission-3v8g72cx.js → location-service-map-3v8g72cx.js} +0 -0
- /package/dist/chunks/{permission-3wcehsnq.js → location-service-map-3wcehsnq.js} +0 -0
- /package/dist/chunks/{permission-43n2bw4t.js → location-service-map-43n2bw4t.js} +0 -0
- /package/dist/chunks/{permission-4knz6hnm.js → location-service-map-4knz6hnm.js} +0 -0
- /package/dist/chunks/{permission-4vcrnpx2.js → location-service-map-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{permission-4y7fprxs.js → location-service-map-4y7fprxs.js} +0 -0
- /package/dist/chunks/{permission-53557ph1.js → location-service-map-53557ph1.js} +0 -0
- /package/dist/chunks/{permission-550bvhaj.js → location-service-map-550bvhaj.js} +0 -0
- /package/dist/chunks/{permission-6prwharc.js → location-service-map-6prwharc.js} +0 -0
- /package/dist/chunks/{permission-6q2bdcd1.js → location-service-map-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{permission-7akdwqpd.js → location-service-map-7akdwqpd.js} +0 -0
- /package/dist/chunks/{permission-7m9af43g.js → location-service-map-7m9af43g.js} +0 -0
- /package/dist/chunks/{permission-822emrt2.js → location-service-map-822emrt2.js} +0 -0
- /package/dist/chunks/{permission-84wd9syh.js → location-service-map-84wd9syh.js} +0 -0
- /package/dist/chunks/{permission-88xbtdfr.js → location-service-map-88xbtdfr.js} +0 -0
- /package/dist/chunks/{permission-8n3pysct.js → location-service-map-8n3pysct.js} +0 -0
- /package/dist/chunks/{permission-8wj87zfr.js → location-service-map-8wj87zfr.js} +0 -0
- /package/dist/chunks/{permission-9a4afbnw.js → location-service-map-9a4afbnw.js} +0 -0
- /package/dist/chunks/{permission-9rqn6x4v.js → location-service-map-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{permission-a6k6eb26.js → location-service-map-a6k6eb26.js} +0 -0
- /package/dist/chunks/{permission-af5trqkr.js → location-service-map-af5trqkr.js} +0 -0
- /package/dist/chunks/{permission-afrmfg78.js → location-service-map-afrmfg78.js} +0 -0
- /package/dist/chunks/{permission-aqzs7mqg.js → location-service-map-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{permission-atq7p7m5.js → location-service-map-atq7p7m5.js} +0 -0
- /package/dist/chunks/{permission-bkyjaxrp.js → location-service-map-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{permission-bmr6ed5q.js → location-service-map-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{permission-bw78ga2c.js → location-service-map-bw78ga2c.js} +0 -0
- /package/dist/chunks/{permission-cf4snx6d.js → location-service-map-cf4snx6d.js} +0 -0
- /package/dist/chunks/{permission-cvy3z8tj.js → location-service-map-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{permission-d9fn303g.js → location-service-map-d9fn303g.js} +0 -0
- /package/dist/chunks/{permission-d9jj8t3e.js → location-service-map-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{permission-dajrwvna.js → location-service-map-dajrwvna.js} +0 -0
- /package/dist/chunks/{permission-dap0rakb.js → location-service-map-dap0rakb.js} +0 -0
- /package/dist/chunks/{permission-df08tz66.js → location-service-map-df08tz66.js} +0 -0
- /package/dist/chunks/{permission-dy18nga0.js → location-service-map-dy18nga0.js} +0 -0
- /package/dist/chunks/{permission-e5kj55wp.js → location-service-map-e5kj55wp.js} +0 -0
- /package/dist/chunks/{permission-e73j6tqm.js → location-service-map-e73j6tqm.js} +0 -0
- /package/dist/chunks/{permission-ec1grn59.js → location-service-map-ec1grn59.js} +0 -0
- /package/dist/chunks/{permission-eh3zwz77.js → location-service-map-eh3zwz77.js} +0 -0
- /package/dist/chunks/{permission-emrn6kk6.js → location-service-map-emrn6kk6.js} +0 -0
- /package/dist/chunks/{permission-f0mxakyp.js → location-service-map-f0mxakyp.js} +0 -0
- /package/dist/chunks/{permission-f6n9ztr4.js → location-service-map-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{permission-faypxj3z.js → location-service-map-faypxj3z.js} +0 -0
- /package/dist/chunks/{permission-fd410y7t.js → location-service-map-fd410y7t.js} +0 -0
- /package/dist/chunks/{permission-g4wezp1m.js → location-service-map-g4wezp1m.js} +0 -0
- /package/dist/chunks/{permission-g86h250q.js → location-service-map-g86h250q.js} +0 -0
- /package/dist/chunks/{permission-gebd4c9n.js → location-service-map-gebd4c9n.js} +0 -0
- /package/dist/chunks/{permission-gftt206x.js → location-service-map-gftt206x.js} +0 -0
- /package/dist/chunks/{permission-hk9envan.js → location-service-map-hk9envan.js} +0 -0
- /package/dist/chunks/{permission-j2ntwpah.js → location-service-map-j2ntwpah.js} +0 -0
- /package/dist/chunks/{permission-j5zkgpj8.js → location-service-map-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{permission-jjkms2e6.js → location-service-map-jjkms2e6.js} +0 -0
- /package/dist/chunks/{permission-jr7sbwjy.js → location-service-map-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{permission-jwfs4k6c.js → location-service-map-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{permission-jze0r7bz.js → location-service-map-jze0r7bz.js} +0 -0
- /package/dist/chunks/{permission-jzg6c2d5.js → location-service-map-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{permission-mp448xyj.js → location-service-map-mp448xyj.js} +0 -0
- /package/dist/chunks/{permission-msx8hqn2.js → location-service-map-msx8hqn2.js} +0 -0
- /package/dist/chunks/{permission-n05xt0ee.js → location-service-map-n05xt0ee.js} +0 -0
- /package/dist/chunks/{permission-n3j8tn72.js → location-service-map-n3j8tn72.js} +0 -0
- /package/dist/chunks/{permission-njntx4h6.js → location-service-map-njntx4h6.js} +0 -0
- /package/dist/chunks/{permission-pyv0edze.js → location-service-map-pyv0edze.js} +0 -0
- /package/dist/chunks/{permission-q3sfg36h.js → location-service-map-q3sfg36h.js} +0 -0
- /package/dist/chunks/{permission-q74kybfr.js → location-service-map-q74kybfr.js} +0 -0
- /package/dist/chunks/{permission-qaymkmh1.js → location-service-map-qaymkmh1.js} +0 -0
- /package/dist/chunks/{permission-qb87gjwd.js → location-service-map-qb87gjwd.js} +0 -0
- /package/dist/chunks/{permission-qfa1cgps.js → location-service-map-qfa1cgps.js} +0 -0
- /package/dist/chunks/{permission-qg3g05ea.js → location-service-map-qg3g05ea.js} +0 -0
- /package/dist/chunks/{permission-qrg20bc0.js → location-service-map-qrg20bc0.js} +0 -0
- /package/dist/chunks/{permission-rcb2kzg1.js → location-service-map-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{permission-sdp7kfr6.js → location-service-map-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{permission-ssg3fenm.js → location-service-map-ssg3fenm.js} +0 -0
- /package/dist/chunks/{permission-ve7vex1e.js → location-service-map-ve7vex1e.js} +0 -0
- /package/dist/chunks/{permission-w803qqfp.js → location-service-map-w803qqfp.js} +0 -0
- /package/dist/chunks/{permission-wc3fc9cn.js → location-service-map-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{permission-wer8tq1h.js → location-service-map-wer8tq1h.js} +0 -0
- /package/dist/chunks/{permission-wtztk69x.js → location-service-map-wtztk69x.js} +0 -0
- /package/dist/chunks/{permission-x0ckcb58.js → location-service-map-x0ckcb58.js} +0 -0
- /package/dist/chunks/{permission-x61499pn.js → location-service-map-x61499pn.js} +0 -0
- /package/dist/chunks/{permission-y44na4kk.js → location-service-map-y44na4kk.js} +0 -0
- /package/dist/chunks/{permission-y8f7s663.js → location-service-map-y8f7s663.js} +0 -0
- /package/dist/chunks/{permission-ygaqb7jw.js → location-service-map-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{permission-ym463w8f.js → location-service-map-ym463w8f.js} +0 -0
- /package/dist/chunks/{permission-z5v4ffb3.js → location-service-map-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{permission-z9919s4g.js → location-service-map-z9919s4g.js} +0 -0
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84,
|
|
6
6
|
node88
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-service-map-jsz5n3ba.js";
|
|
8
|
+
import {
|
|
9
|
+
Event21,
|
|
10
|
+
Service83,
|
|
11
|
+
node87
|
|
12
|
+
} from "./location-service-map-rt7sntmp.js";
|
|
8
13
|
import {
|
|
9
|
-
Event19,
|
|
10
14
|
Service79,
|
|
11
15
|
node83
|
|
12
|
-
} from "./
|
|
13
|
-
import {
|
|
14
|
-
Service81,
|
|
15
|
-
node85
|
|
16
|
-
} from "./permission-jftd83kv.js";
|
|
16
|
+
} from "./location-service-map-23jc72tn.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service52,
|
|
19
|
+
node55
|
|
20
|
+
} from "./location-service-map-becgvfp5.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID14,
|
|
23
|
+
Service76,
|
|
24
|
+
node80
|
|
25
|
+
} from "./location-service-map-71dgzv1y.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-service-map-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID13,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service75,
|
|
34
|
+
node79
|
|
35
|
+
} from "./location-service-map-wgqfafw9.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError5,
|
|
45
|
+
Options: () => Options5,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service40,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
|
-
configured: () =>
|
|
56
|
-
layer: () =>
|
|
57
|
-
node: () =>
|
|
55
|
+
configured: () => configured5,
|
|
56
|
+
layer: () => layer17,
|
|
57
|
+
node: () => node43
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
|
|
|
72
72
|
var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
73
73
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class NotFoundError5 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
76
76
|
server: ServerName2
|
|
77
77
|
}) {
|
|
78
78
|
get message() {
|
|
@@ -103,21 +103,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
103
103
|
var endpointLoads = makeUnsafe2();
|
|
104
104
|
var cloneConfig = (config) => structuredClone(config);
|
|
105
105
|
|
|
106
|
-
class
|
|
106
|
+
class Service40 extends Context.Service()("@opencode/MCP") {
|
|
107
107
|
}
|
|
108
|
-
var
|
|
108
|
+
var Options5 = Schema.Struct({
|
|
109
109
|
clientInfo: Schema.optional(Schema.Struct({
|
|
110
110
|
name: Schema.String,
|
|
111
111
|
version: Schema.String
|
|
112
112
|
}))
|
|
113
113
|
});
|
|
114
|
-
var
|
|
115
|
-
const location = yield*
|
|
116
|
-
const environment = yield*
|
|
114
|
+
var layer17 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
115
|
+
const location = yield* Service79;
|
|
116
|
+
const environment = yield* Service52;
|
|
117
117
|
const bus = yield* Service84;
|
|
118
|
-
const forms = yield*
|
|
119
|
-
const integration = yield*
|
|
120
|
-
const credentials = yield*
|
|
118
|
+
const forms = yield* Service76;
|
|
119
|
+
const integration = yield* Service75;
|
|
120
|
+
const credentials = yield* Service83;
|
|
121
121
|
const root = yield* Effect.scope;
|
|
122
122
|
const fork = yield* FiberSet.makeRuntime();
|
|
123
123
|
const entries = new Map;
|
|
@@ -129,7 +129,7 @@ var layer14 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
129
129
|
return;
|
|
130
130
|
const remote = entry.config;
|
|
131
131
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
132
|
-
const integrationID =
|
|
132
|
+
const integrationID = ID13.make(suffix);
|
|
133
133
|
entry.integrationID = integrationID;
|
|
134
134
|
owned.add(integrationID);
|
|
135
135
|
const methodID = MethodID2.make(suffix);
|
|
@@ -145,7 +145,7 @@ var layer14 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
145
145
|
method: { id: methodID, type: "oauth", label: name },
|
|
146
146
|
authorize: () => Effect.gen(function* () {
|
|
147
147
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
148
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
148
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service83, credentials));
|
|
149
149
|
})
|
|
150
150
|
});
|
|
151
151
|
}).pipe(Scope.provide(scope));
|
|
@@ -154,19 +154,19 @@ var layer14 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
154
154
|
const name = ServerName2.make(server);
|
|
155
155
|
const entry = entries.get(name);
|
|
156
156
|
if (!entry)
|
|
157
|
-
return yield* new
|
|
157
|
+
return yield* new NotFoundError5({ server: name });
|
|
158
158
|
return { name, entry };
|
|
159
159
|
});
|
|
160
160
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
161
161
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
162
162
|
return;
|
|
163
163
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
164
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
164
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service83, credentials));
|
|
165
165
|
});
|
|
166
166
|
const elicitation = {
|
|
167
167
|
create: (input) => Effect.gen(function* () {
|
|
168
168
|
if (input.params.mode === "url") {
|
|
169
|
-
const formID =
|
|
169
|
+
const formID = ID14.create();
|
|
170
170
|
const elicitationID = input.params.elicitationId;
|
|
171
171
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
172
172
|
if (key)
|
|
@@ -269,7 +269,7 @@ var layer14 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
269
269
|
entry.scope = scope;
|
|
270
270
|
const authProvider = yield* connectProvider(entry);
|
|
271
271
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
272
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
272
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service52, environment), Scope.provide(scope));
|
|
273
273
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
274
274
|
if (Exit.isSuccess(result)) {
|
|
275
275
|
entry.client = result.value.connection;
|
|
@@ -394,7 +394,7 @@ var layer14 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
394
394
|
yield* startServer(name, entry);
|
|
395
395
|
}).pipe(locks.withLock(name));
|
|
396
396
|
});
|
|
397
|
-
fork(bus.subscribe(
|
|
397
|
+
fork(bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
398
398
|
const state = create3({
|
|
399
399
|
name: "mcp",
|
|
400
400
|
initial: () => ({
|
|
@@ -420,7 +420,7 @@ var layer14 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
420
420
|
}),
|
|
421
421
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
422
422
|
});
|
|
423
|
-
return
|
|
423
|
+
return Service40.of({
|
|
424
424
|
transform: state.transform,
|
|
425
425
|
reload: state.reload,
|
|
426
426
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -530,14 +530,14 @@ function mergeCatalogs(catalogs) {
|
|
|
530
530
|
templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
|
|
531
531
|
});
|
|
532
532
|
}
|
|
533
|
-
function
|
|
533
|
+
function configured5(options) {
|
|
534
534
|
return makeLocationNode({
|
|
535
|
-
service:
|
|
536
|
-
layer:
|
|
537
|
-
deps: [
|
|
535
|
+
service: Service40,
|
|
536
|
+
layer: layer17(options),
|
|
537
|
+
deps: [node83, node55, node88, node80, node79, node87]
|
|
538
538
|
});
|
|
539
539
|
}
|
|
540
|
-
var
|
|
540
|
+
var node43 = configured5();
|
|
541
541
|
function toElicitationField(key, property, required) {
|
|
542
542
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
543
543
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -588,4 +588,4 @@ function toElicitationField(key, property, required) {
|
|
|
588
588
|
}
|
|
589
589
|
}
|
|
590
590
|
|
|
591
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2,
|
|
591
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError5, ToolCallError2, Service40, Options5, layer17, configured5, node43, exports_mcp4 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service71
|
|
4
|
+
} from "./location-service-map-m6k32p3q.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/warming.ts
|
|
10
10
|
var exports_warming = {};
|
|
11
11
|
__export(exports_warming, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin48,
|
|
13
13
|
WarmingPlugin: () => exports_warming
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -19,10 +19,10 @@ var defaults = {
|
|
|
19
19
|
interval: Duration.minutes(4),
|
|
20
20
|
duration: Duration.minutes(30)
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var Plugin48 = define({
|
|
23
23
|
id: "opencode.warming",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service71;
|
|
26
26
|
const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
|
|
27
27
|
const warming = latest2(yield* config.entries(), "warming");
|
|
28
28
|
if (!warming)
|
|
@@ -96,4 +96,4 @@ var Plugin47 = define({
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
|
|
99
|
-
export {
|
|
99
|
+
export { Plugin48, exports_warming };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service72
|
|
3
|
+
} from "./location-service-map-1xf08g7c.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service71
|
|
6
|
+
} from "./location-service-map-m6k32p3q.js";
|
|
7
7
|
import {
|
|
8
8
|
parse2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-service-map-cw5hxmre.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compatibility.ts
|
|
15
15
|
var exports_compatibility = {};
|
|
16
16
|
__export(exports_compatibility, {
|
|
17
17
|
ConfigCompatibilityPlugin: () => exports_compatibility,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin25
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
22
22
|
import path from "path";
|
|
23
23
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
24
|
-
var
|
|
24
|
+
var Plugin25 = define({
|
|
25
25
|
id: "opencode.config.compatibility",
|
|
26
26
|
effect: Effect.fn(function* (ctx) {
|
|
27
|
-
const config = yield*
|
|
27
|
+
const config = yield* Service71;
|
|
28
28
|
const fs = yield* FSUtil.Service;
|
|
29
|
-
const watcher = yield*
|
|
29
|
+
const watcher = yield* Service72;
|
|
30
30
|
const watches = yield* FiberMap.make();
|
|
31
31
|
const changes = yield* PubSub.sliding(1);
|
|
32
32
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -73,4 +73,4 @@ var Plugin19 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Plugin25, exports_compatibility };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-service-map-jsz5n3ba.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service40,
|
|
7
|
+
node43
|
|
8
|
+
} from "./location-service-map-9xg5tdtq.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
10
|
+
Service63,
|
|
11
11
|
node67
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-service-map-87eyk158.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service58,
|
|
15
|
+
node62
|
|
16
|
+
} from "./location-service-map-kt85bzct.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
name: () =>
|
|
25
|
+
Service: () => Service39,
|
|
26
|
+
layer: () => layer16,
|
|
27
|
+
name: () => name14,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node42
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
33
33
|
import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
|
-
var
|
|
36
|
+
var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service39 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
40
|
+
var layer16 = Layer.effect(Service39, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service40;
|
|
42
|
+
const tools = yield* Service58;
|
|
43
43
|
const bus = yield* Service84;
|
|
44
|
-
const permission = yield*
|
|
44
|
+
const permission = yield* Service63;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -56,7 +56,7 @@ var layer11 = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
56
56
|
output: tool.outputSchema ?? {},
|
|
57
57
|
execute: (input, context) => Effect.gen(function* () {
|
|
58
58
|
yield* permission.assert({
|
|
59
|
-
action:
|
|
59
|
+
action: name14(tool.server, tool.name),
|
|
60
60
|
resources: ["*"],
|
|
61
61
|
save: ["*"],
|
|
62
62
|
metadata: {},
|
|
@@ -105,7 +105,7 @@ var layer11 = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
105
105
|
output: output(),
|
|
106
106
|
...content.length === 0 ? {} : { content }
|
|
107
107
|
};
|
|
108
|
-
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${
|
|
108
|
+
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name14(tool.server, tool.name)}` })))
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
111
|
});
|
|
@@ -118,12 +118,12 @@ var layer11 = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
118
118
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
119
119
|
const updates = yield* PubSub.subscribe(changes);
|
|
120
120
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
121
|
-
return
|
|
121
|
+
return Service39.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
122
122
|
}));
|
|
123
|
-
var
|
|
124
|
-
service:
|
|
125
|
-
layer:
|
|
126
|
-
deps: [
|
|
123
|
+
var node42 = makeLocationNode({
|
|
124
|
+
service: Service39,
|
|
125
|
+
layer: layer16,
|
|
126
|
+
deps: [node62, node43, node88, node67]
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
export { namespace2,
|
|
129
|
+
export { namespace2, name14, Service39, layer16, node42, exports_mcp3 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-3vyq9jg0.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/lmstudio.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -19,7 +19,7 @@ var RemoteModel = Schema.Struct({
|
|
|
19
19
|
}).pipe(Schema.optional)
|
|
20
20
|
});
|
|
21
21
|
var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
|
|
22
|
-
var
|
|
22
|
+
var make10 = createLocalProviderPlugin2({
|
|
23
23
|
id: "opencode.provider.lmstudio",
|
|
24
24
|
providerID: "lmstudio",
|
|
25
25
|
name: "LM Studio",
|
|
@@ -38,6 +38,6 @@ var make8 = createLocalProviderPlugin2({
|
|
|
38
38
|
context: item.loaded_instances.length === 0 ? item.max_context_length : Math.min(...item.loaded_instances.map((instance) => instance.config.context_length))
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
|
-
var LMStudioPlugin2 =
|
|
41
|
+
var LMStudioPlugin2 = make10();
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { make10, LMStudioPlugin2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-1165c09c.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-jsz5n3ba.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service44
|
|
9
|
+
} from "./location-service-map-hwe7x4em.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-service-map-vzs5sf6e.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-service-map-gftt206x.js";
|
|
16
16
|
import {
|
|
17
17
|
NotFoundError9,
|
|
18
18
|
PromptConflictError2,
|
|
@@ -20,38 +20,38 @@ import {
|
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-service-map-nwyx06m3.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-service-map-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service64
|
|
29
|
+
} from "./location-service-map-nhqnjw8w.js";
|
|
30
30
|
import {
|
|
31
31
|
Delivery2,
|
|
32
32
|
SyntheticPayload2,
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Service45
|
|
34
|
+
} from "./location-service-map-nq9xdcve.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service42
|
|
37
|
+
} from "./location-service-map-5vbhpx63.js";
|
|
38
38
|
import {
|
|
39
39
|
prepare2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./location-service-map-v8zetzh7.js";
|
|
41
41
|
import {
|
|
42
42
|
stage2,
|
|
43
43
|
clear2,
|
|
44
44
|
commit2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./location-service-map-btk9fr07.js";
|
|
46
46
|
import {
|
|
47
47
|
start2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./location-service-map-2r9t25hy.js";
|
|
49
49
|
import {
|
|
50
50
|
get4
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./location-service-map-1z6w7b3h.js";
|
|
52
52
|
import {
|
|
53
53
|
__export
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
55
55
|
|
|
56
56
|
// src/session/session.ts
|
|
57
57
|
var exports_session2 = {};
|
|
@@ -65,10 +65,10 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
65
65
|
var make13 = Effect.fn("Session.make")(function* () {
|
|
66
66
|
const bus = yield* Service84;
|
|
67
67
|
const database = yield* Service85;
|
|
68
|
-
const store = yield*
|
|
69
|
-
const instances = yield*
|
|
70
|
-
const execution = yield*
|
|
71
|
-
const admission = yield*
|
|
68
|
+
const store = yield* Service64;
|
|
69
|
+
const instances = yield* Service44;
|
|
70
|
+
const execution = yield* Service42;
|
|
71
|
+
const admission = yield* Service45;
|
|
72
72
|
const fs = yield* FSUtil.Service;
|
|
73
73
|
const scope = yield* Scope.Scope;
|
|
74
74
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
@@ -135,7 +135,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
135
135
|
});
|
|
136
136
|
if (existing)
|
|
137
137
|
return existing;
|
|
138
|
-
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(
|
|
138
|
+
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service44, instances), Effect.provideService(FSUtil.Service, fs)));
|
|
139
139
|
if (session.revert)
|
|
140
140
|
yield* commit2(bus, session);
|
|
141
141
|
return yield* admission.admit({
|
|
@@ -151,7 +151,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
151
151
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
152
152
|
const session = yield* get(sessionID);
|
|
153
153
|
const running = yield* Effect.gen(function* () {
|
|
154
|
-
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(
|
|
154
|
+
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service44, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
155
155
|
text: `User shell command failed to start:
|
|
156
156
|
${input.command}
|
|
157
157
|
|
|
@@ -180,7 +180,7 @@ ${error.message}`,
|
|
|
180
180
|
});
|
|
181
181
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
182
182
|
const session = yield* get(sessionID);
|
|
183
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
183
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service44, instances));
|
|
184
184
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
185
185
|
sessionID,
|
|
186
186
|
id: skill.id,
|
|
@@ -237,13 +237,13 @@ ${error.message}`,
|
|
|
237
237
|
const session = yield* get(sessionID);
|
|
238
238
|
if (yield* execution.isActive(sessionID))
|
|
239
239
|
return yield* new BusyError2({ sessionID });
|
|
240
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
240
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service44, instances), Effect.provideService(Service85, database), Effect.provideService(Service84, bus));
|
|
241
241
|
});
|
|
242
242
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
243
243
|
const session = yield* get(sessionID);
|
|
244
244
|
if (yield* execution.isActive(sessionID))
|
|
245
245
|
return yield* new BusyError2({ sessionID });
|
|
246
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
246
|
+
yield* clear2(session).pipe(Effect.provideService(Service44, instances), Effect.provideService(Service84, bus));
|
|
247
247
|
return yield* execution.wake(sessionID);
|
|
248
248
|
});
|
|
249
249
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
SQLiteEffectPreparedQuery2,
|
|
3
3
|
SQLiteEffectSession2,
|
|
4
4
|
SQLiteEffectTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-service-map-7c1dbfgq.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/effect-sqlite/session.ts
|
|
8
8
|
import * as Context from "effect/Context";
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
5
|
-
import {
|
|
6
|
-
Service83,
|
|
7
|
-
node87
|
|
8
|
-
} from "./permission-svcw9x3w.js";
|
|
4
|
+
} from "./location-service-map-jsz5n3ba.js";
|
|
9
5
|
import {
|
|
10
6
|
Service81,
|
|
11
7
|
node85
|
|
12
|
-
} from "./
|
|
8
|
+
} from "./location-service-map-88hkx883.js";
|
|
9
|
+
import {
|
|
10
|
+
Service79,
|
|
11
|
+
node83
|
|
12
|
+
} from "./location-service-map-23jc72tn.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-service-map-jqh9b0xq.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service72,
|
|
18
|
+
node76
|
|
19
|
+
} from "./location-service-map-1xf08g7c.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node18
|
|
22
|
+
} from "./location-service-map-xnhfr7vz.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service11,
|
|
25
|
+
node13
|
|
26
|
+
} from "./location-service-map-2sejkfem.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
32
|
var exports_location_watcher = {};
|
|
@@ -43,12 +43,12 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
43
43
|
class Service3 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
45
|
var layer = Layer.effect(Service3, Effect.gen(function* () {
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
46
|
+
const location = yield* Service79;
|
|
47
|
+
const watcher = yield* Service72;
|
|
48
48
|
const bus = yield* Service84;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
51
|
-
const policy = yield*
|
|
50
|
+
const git = yield* Service81;
|
|
51
|
+
const policy = yield* Service11;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
54
54
|
event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
|
|
@@ -105,7 +105,7 @@ var layer = Layer.effect(Service3, Effect.gen(function* () {
|
|
|
105
105
|
var node4 = makeLocationNode({
|
|
106
106
|
service: Service3,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node76, FSUtil.node, node83, node85, node88, node18, node13]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
111
|
export { Service3, node4, exports_location_watcher };
|