@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,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
6
|
+
var exports_permission2 = {};
|
|
7
|
+
__export(exports_permission2, {
|
|
8
8
|
Action: () => Action2,
|
|
9
|
-
ConfigPermissionV1: () =>
|
|
9
|
+
ConfigPermissionV1: () => exports_permission2,
|
|
10
10
|
Entries: () => Entries2,
|
|
11
|
-
Info: () =>
|
|
11
|
+
Info: () => Info19,
|
|
12
12
|
Object: () => Object2,
|
|
13
|
-
Rule: () =>
|
|
13
|
+
Rule: () => Rule3
|
|
14
14
|
});
|
|
15
15
|
import { Schema, SchemaGetter } from "effect";
|
|
16
16
|
var Action2 = Schema.Literals(["ask", "allow", "deny"]).annotate({ identifier: "PermissionActionConfig" });
|
|
@@ -19,13 +19,13 @@ var Entries2 = (value) => Schema.ObjectKeyword.check(Schema.makeFilter((input) =
|
|
|
19
19
|
encode: SchemaGetter.transform((entries) => globalThis.Object.fromEntries(entries))
|
|
20
20
|
}));
|
|
21
21
|
var Object2 = Entries2(Action2).annotate({ identifier: "PermissionObjectConfig" });
|
|
22
|
-
var
|
|
22
|
+
var Rule3 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
|
|
23
23
|
var actionOnly = new Set(["question", "websearch", "doom_loop"]);
|
|
24
|
-
var
|
|
24
|
+
var Info19 = Schema.Union([Action2, Schema.ObjectKeyword]).pipe(Schema.decodeTo(Entries2(Rule3), {
|
|
25
25
|
decode: SchemaGetter.transform((input) => typeof input === "string" ? { "*": input } : input),
|
|
26
26
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
27
27
|
})).check(Schema.makeFilter((rules) => rules.every(([key, rule]) => !actionOnly.has(key) || typeof rule === "string"), {
|
|
28
28
|
expected: "question, websearch, and doom_loop to be ask, allow, or deny"
|
|
29
29
|
})).annotate({ identifier: "PermissionConfig" });
|
|
30
30
|
|
|
31
|
-
export { Action2, Entries2, Object2,
|
|
31
|
+
export { Action2, Entries2, Object2, Rule3, Info19, exports_permission2 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service81,
|
|
6
|
+
node85
|
|
7
|
+
} from "./location-service-map-88hkx883.js";
|
|
8
8
|
import {
|
|
9
9
|
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-service-map-84txncab.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service78,
|
|
16
|
+
node82
|
|
17
|
+
} from "./location-service-map-hh2z7ns7.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service55,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node58,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service55 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service81;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service78;
|
|
110
|
+
return Service55.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node58 = makeGlobalNode({
|
|
171
|
+
service: Service55,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node85, Global.node, node82]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service55, isError2, validateBranch2, node58, exports_repository_cache };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info8,
|
|
6
|
+
ID6,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-service-map-z9x3zg0s.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service71
|
|
11
|
+
} from "./location-service-map-m6k32p3q.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
17
|
var exports_skill3 = {};
|
|
18
18
|
__export(exports_skill3, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin42,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
23
|
SkillPlugin: () => exports_skill3
|
|
24
24
|
});
|
|
@@ -425,20 +425,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
425
425
|
var ReportContent2 = report_default;
|
|
426
426
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
427
427
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
428
|
-
var
|
|
428
|
+
var Plugin42 = define({
|
|
429
429
|
id: "opencode.skill",
|
|
430
430
|
effect: Effect.fn(function* (ctx) {
|
|
431
431
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
432
432
|
yield* ctx.skill.transform((editor) => {
|
|
433
|
-
editor.add(
|
|
434
|
-
id:
|
|
433
|
+
editor.add(Info8.make({
|
|
434
|
+
id: ID6.make("opencode"),
|
|
435
435
|
name: Name2.make("OpenCode"),
|
|
436
436
|
description: OpencodeDescription2,
|
|
437
437
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
438
438
|
content: OpencodeContent2
|
|
439
439
|
}));
|
|
440
|
-
editor.add(
|
|
441
|
-
id:
|
|
440
|
+
editor.add(Info8.make({
|
|
441
|
+
id: ID6.make("report"),
|
|
442
442
|
name: Name2.make("Report"),
|
|
443
443
|
description: REPORT_DESCRIPTION,
|
|
444
444
|
path: AbsolutePath2.make("/builtin/report.md"),
|
|
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
466
466
|
`);
|
|
467
467
|
});
|
|
468
468
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
469
|
-
const config = yield*
|
|
469
|
+
const config = yield* Service71;
|
|
470
470
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
471
471
|
});
|
|
472
472
|
function terminal() {
|
|
@@ -480,4 +480,4 @@ function shell() {
|
|
|
480
480
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
483
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin42, exports_skill3 };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WorktreeError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-88hkx883.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service63
|
|
6
|
+
} from "./location-service-map-87eyk158.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service15
|
|
9
|
+
} from "./location-service-map-1gdvatv8.js";
|
|
10
10
|
import {
|
|
11
11
|
DirectoryUnavailableError2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-service-map-0vbcp93d.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Info4,
|
|
15
15
|
List2,
|
|
16
16
|
InvalidDirectoryError2,
|
|
17
17
|
StrategyUnavailableError2,
|
|
18
18
|
OperationError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-service-map-pvpckbfy.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/tool/plugin/opencode.ts
|
|
25
25
|
var exports_opencode = {};
|
|
@@ -27,7 +27,7 @@ __export(exports_opencode, {
|
|
|
27
27
|
ModelsInput: () => ModelsInput2,
|
|
28
28
|
MoveInput: () => MoveInput2,
|
|
29
29
|
OpenCodeTools: () => exports_opencode,
|
|
30
|
-
Plugin: () =>
|
|
30
|
+
Plugin: () => Plugin10,
|
|
31
31
|
RenameInput: () => RenameInput2,
|
|
32
32
|
WorktreeCreateInput: () => WorktreeCreateInput2,
|
|
33
33
|
WorktreeRemoveInput: () => WorktreeRemoveInput2
|
|
@@ -97,11 +97,11 @@ var ModelsOutput = Schema.Struct({
|
|
|
97
97
|
total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
|
|
98
98
|
next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
|
|
99
99
|
});
|
|
100
|
-
var
|
|
100
|
+
var Plugin10 = {
|
|
101
101
|
id: "opencode.tools",
|
|
102
102
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
103
|
-
const access = yield*
|
|
104
|
-
const permission = yield*
|
|
103
|
+
const access = yield* Service15;
|
|
104
|
+
const permission = yield* Service63;
|
|
105
105
|
const hook = (event) => Effect.sync(() => {
|
|
106
106
|
event.system.push(SystemPart.make("When you create a worktree outside the current working directory and intend to use it as your primary working directory, consider using `execute` to call `tools.opencode.session_move` and make the worktree the session's working directory."));
|
|
107
107
|
});
|
|
@@ -153,7 +153,7 @@ var Plugin15 = {
|
|
|
153
153
|
name: "worktree_create",
|
|
154
154
|
description: "Create a named worktree. Returns its directory.",
|
|
155
155
|
input: WorktreeCreateInput2,
|
|
156
|
-
output:
|
|
156
|
+
output: Info4,
|
|
157
157
|
options: { namespace: "opencode", codemode: true, pinned: true },
|
|
158
158
|
execute: (input) => ctx.worktree.create({ projectID: ctx.location.project.id, name: input.name }).pipe(Effect.map((output) => ({ output, content: `Created worktree in ${output.directory}.` })), Effect.mapError((error) => new ToolFailure({ message: `Unable to create worktree ${input.name}`, error })))
|
|
159
159
|
});
|
|
@@ -250,4 +250,4 @@ function removeFailure(directory, error) {
|
|
|
250
250
|
return `Unable to remove worktree ${directory}.`;
|
|
251
251
|
}
|
|
252
252
|
|
|
253
|
-
export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2,
|
|
253
|
+
export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2, Plugin10, exports_opencode };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID12,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
timeouts2,
|
|
6
6
|
mergeOverlay2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-service-map-rpfdbzf4.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/aisdk.ts
|
|
13
13
|
var exports_aisdk = {};
|
|
14
14
|
__export(exports_aisdk, {
|
|
15
15
|
AISDK: () => exports_aisdk,
|
|
16
16
|
InitError: () => InitError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service69,
|
|
18
18
|
locationLayer: () => locationLayer2,
|
|
19
|
-
node: () =>
|
|
19
|
+
node: () => node73
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -151,7 +151,7 @@ function throughMiddleware(store, send, input, init) {
|
|
|
151
151
|
var HEADER_TIMEOUT_MESSAGE = "Response headers timed out";
|
|
152
152
|
|
|
153
153
|
class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
|
|
154
|
-
providerID:
|
|
154
|
+
providerID: ID12,
|
|
155
155
|
cause: Schema.Defect()
|
|
156
156
|
}) {
|
|
157
157
|
}
|
|
@@ -159,9 +159,9 @@ function initError(providerID) {
|
|
|
159
159
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
-
class
|
|
162
|
+
class Service69 extends Context.Service()("@opencode/AISDK") {
|
|
163
163
|
}
|
|
164
|
-
var locationLayer2 = Layer.effect(
|
|
164
|
+
var locationLayer2 = Layer.effect(Service69, Effect.gen(function* () {
|
|
165
165
|
let sdkHooks = [];
|
|
166
166
|
let languageHooks = [];
|
|
167
167
|
const languages = new Map;
|
|
@@ -199,7 +199,7 @@ var locationLayer2 = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
return event;
|
|
201
201
|
});
|
|
202
|
-
const service =
|
|
202
|
+
const service = Service69.of({
|
|
203
203
|
hook: {
|
|
204
204
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
205
205
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -874,6 +874,6 @@ function providerErrorMessage(error) {
|
|
|
874
874
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
875
875
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
876
876
|
}
|
|
877
|
-
var
|
|
877
|
+
var node73 = makeLocationNode({ service: Service69, layer: locationLayer2, deps: [] });
|
|
878
878
|
|
|
879
|
-
export { InitError2,
|
|
879
|
+
export { InitError2, Service69, locationLayer2, node73, exports_aisdk };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-s8d7rejh.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID6,
|
|
9
9
|
Name2,
|
|
10
10
|
available3,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service47,
|
|
12
|
+
node50
|
|
13
|
+
} from "./location-service-map-z9x3zg0s.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/skill/instructions.ts
|
|
19
|
-
var
|
|
20
|
-
__export(
|
|
21
|
-
Service: () =>
|
|
22
|
-
SkillInstructions: () =>
|
|
23
|
-
node: () =>
|
|
19
|
+
var exports_instructions3 = {};
|
|
20
|
+
__export(exports_instructions3, {
|
|
21
|
+
Service: () => Service37,
|
|
22
|
+
SkillInstructions: () => exports_instructions3,
|
|
23
|
+
node: () => node40
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
27
|
var Summary = Schema.Struct({
|
|
28
|
-
id:
|
|
28
|
+
id: ID6,
|
|
29
29
|
name: Name2,
|
|
30
30
|
description: Schema.String
|
|
31
31
|
});
|
|
@@ -60,14 +60,14 @@ var update = (previous, current) => {
|
|
|
60
60
|
`);
|
|
61
61
|
};
|
|
62
62
|
|
|
63
|
-
class
|
|
63
|
+
class Service37 extends Context.Service()("@opencode/SkillInstructions") {
|
|
64
64
|
}
|
|
65
|
-
var layer = Layer.effect(
|
|
66
|
-
const skills = yield*
|
|
67
|
-
return
|
|
65
|
+
var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
66
|
+
const skills = yield* Service47;
|
|
67
|
+
return Service37.of({
|
|
68
68
|
load: Effect.fn("SkillInstructions.load")(function* (permissions) {
|
|
69
69
|
const available = available3(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
|
|
70
|
-
return
|
|
70
|
+
return make21({
|
|
71
71
|
key: Key3.make("core/skill-guidance"),
|
|
72
72
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
73
73
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
@@ -80,6 +80,6 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
80
80
|
})
|
|
81
81
|
});
|
|
82
82
|
}));
|
|
83
|
-
var
|
|
83
|
+
var node40 = makeLocationNode({ service: Service37, layer, deps: [node50] });
|
|
84
84
|
|
|
85
|
-
export {
|
|
85
|
+
export { Service37, node40, exports_instructions3 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-jsz5n3ba.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
5
|
+
ID18,
|
|
6
|
+
Event21,
|
|
7
|
+
Service83
|
|
8
|
+
} from "./location-service-map-rt7sntmp.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID12
|
|
11
|
+
} from "./location-service-map-rpfdbzf4.js";
|
|
12
12
|
import {
|
|
13
13
|
configuredSettings2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-service-map-hd2bethg.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/provider/google-vertex.ts
|
|
17
17
|
import { Effect, Option, Schema, Stream } from "effect";
|
|
@@ -41,7 +41,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
41
41
|
id: "opencode.provider.google.vertex",
|
|
42
42
|
effect: Effect.fn(function* (ctx) {
|
|
43
43
|
const fs = yield* FSUtil.Service;
|
|
44
|
-
const credentials = yield*
|
|
44
|
+
const credentials = yield* Service83;
|
|
45
45
|
const bus = yield* Service84;
|
|
46
46
|
const read = (file) => fs.readFileStringSafe(file).pipe(Effect.orElseSucceed(() => {
|
|
47
47
|
return;
|
|
@@ -51,7 +51,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
51
51
|
const configs = (yield* fs.readDirectory(path.join(gcloud, "configurations")).pipe(Effect.orElseSucceed(() => []))).filter((name) => name.startsWith("config_")).toSorted((a, b) => Number(b === active) - Number(a === active) || a.localeCompare(b));
|
|
52
52
|
const contents = yield* Effect.forEach(configs, (name) => read(path.join(gcloud, "configurations", name)));
|
|
53
53
|
const adcFile = yield* read(path.join(gcloud, "application_default_credentials.json"));
|
|
54
|
-
const configured = (yield* configuredSettings2(
|
|
54
|
+
const configured = (yield* configuredSettings2(ID12.googleVertex)) ?? {};
|
|
55
55
|
const projects = Array.from(new Set([
|
|
56
56
|
resolveProject(configured),
|
|
57
57
|
...contents.map((content) => content?.match(/^project\s*=\s*(\S+)/m)?.[1]),
|
|
@@ -65,8 +65,8 @@ var GoogleVertexPlugin2 = define({
|
|
|
65
65
|
...contents.flatMap((content) => Array.from((content ?? "").matchAll(/^region\s*=\s*(\S+)/gm), (match) => match[1]))
|
|
66
66
|
]));
|
|
67
67
|
const load = Effect.fn("GoogleVertexPlugin.load")(function* () {
|
|
68
|
-
const connection = yield* ctx.integration.connection.active(
|
|
69
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
68
|
+
const connection = yield* ctx.integration.connection.active(ID12.googleVertex);
|
|
69
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID18.make(connection.id)) : undefined;
|
|
70
70
|
if (stored?.value.type !== "external" || stored.value.methodID !== ADC_METHOD)
|
|
71
71
|
return {};
|
|
72
72
|
return { project: stored.value.metadata?.project, location: stored.value.metadata?.location };
|
|
@@ -74,15 +74,15 @@ var GoogleVertexPlugin2 = define({
|
|
|
74
74
|
const selected = { settings: yield* load() };
|
|
75
75
|
const settingsFor = (provider) => ({
|
|
76
76
|
...provider.settings,
|
|
77
|
-
...(provider.integrationID ?? provider.id) ===
|
|
77
|
+
...(provider.integrationID ?? provider.id) === ID12.googleVertex ? selected.settings : {}
|
|
78
78
|
});
|
|
79
79
|
yield* ctx.integration.transform((editor) => {
|
|
80
80
|
editor.method.update({
|
|
81
|
-
integrationID:
|
|
81
|
+
integrationID: ID12.googleVertex,
|
|
82
82
|
method: { type: "env", names: ["GOOGLE_VERTEX_API_KEY"] }
|
|
83
83
|
});
|
|
84
84
|
editor.method.update({
|
|
85
|
-
integrationID:
|
|
85
|
+
integrationID: ID12.googleVertex,
|
|
86
86
|
method: {
|
|
87
87
|
id: ADC_METHOD,
|
|
88
88
|
type: "external",
|
|
@@ -120,7 +120,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
120
120
|
});
|
|
121
121
|
yield* ctx.provider.transform((evt) => {
|
|
122
122
|
for (const item of evt.list()) {
|
|
123
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
123
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID12.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
124
124
|
continue;
|
|
125
125
|
const settings = settingsFor(item.provider);
|
|
126
126
|
const project = resolveProject(settings);
|
|
@@ -139,7 +139,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
139
139
|
});
|
|
140
140
|
yield* ctx.model.transform((models) => {
|
|
141
141
|
for (const item of models.provider.list()) {
|
|
142
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
142
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID12.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
143
143
|
continue;
|
|
144
144
|
const settings = settingsFor(item.provider);
|
|
145
145
|
const project = resolveProject(settings);
|
|
@@ -156,7 +156,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
156
156
|
}
|
|
157
157
|
}
|
|
158
158
|
});
|
|
159
|
-
yield* bus.subscribe([
|
|
159
|
+
yield* bus.subscribe([Event21.Updated, Event21.Switched]).pipe(Stream.runForEach(() => Effect.gen(function* () {
|
|
160
160
|
const next = yield* load();
|
|
161
161
|
if (JSON.stringify(next) === JSON.stringify(selected.settings))
|
|
162
162
|
return;
|