@opencode/core 0.0.0-dev-20801 → 0.0.0-dev-20803

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.
Files changed (787) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +90 -90
  4. package/dist/aisdk.js +95 -95
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +76 -76
  7. package/dist/chunks/{location-service-map-s8d7rejh.js → kv-02nrjc1r.js} +8 -8
  8. package/dist/chunks/{location-service-map-x8gmk19p.js → kv-097cmpqj.js} +7 -7
  9. package/dist/chunks/{location-service-map-7mpn4658.js → kv-0f0v92e3.js} +11 -11
  10. package/dist/chunks/{location-service-map-dr0w99yk.js → kv-0jxpf7nz.js} +18 -18
  11. package/dist/chunks/{location-service-map-carj08b7.js → kv-0krxawfx.js} +10 -10
  12. package/dist/chunks/{location-service-map-0paq2nw3.js → kv-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{location-service-map-qne3fa44.js → kv-0r3c1bmw.js} +5 -5
  14. package/dist/chunks/{location-service-map-aner4yt8.js → kv-0rp0jwtv.js} +4 -4
  15. package/dist/chunks/{location-service-map-0vbcp93d.js → kv-0vbcp93d.js} +2 -2
  16. package/dist/chunks/{location-service-map-8f283hkt.js → kv-179j5xfr.js} +32 -32
  17. package/dist/chunks/{location-service-map-jqpt2939.js → kv-18eahbmf.js} +22 -22
  18. package/dist/chunks/{location-service-map-9jm2baf7.js → kv-18na98pb.js} +11 -11
  19. package/dist/chunks/{location-service-map-1dvck2a7.js → kv-1dvck2a7.js} +2 -2
  20. package/dist/chunks/{location-service-map-ywt8jp22.js → kv-1ffvrpkg.js} +6 -6
  21. package/dist/chunks/{location-service-map-qpb7bxgp.js → kv-1h7reqxf.js} +6 -6
  22. package/dist/chunks/{location-service-map-rgsaj6md.js → kv-1nhge9b3.js} +5 -5
  23. package/dist/chunks/{location-service-map-v8k59dvq.js → kv-1v945k49.js} +11 -11
  24. package/dist/chunks/{location-service-map-nm0vfxwf.js → kv-21m8jdjt.js} +15 -15
  25. package/dist/chunks/{location-service-map-xmkdm31h.js → kv-29jfy9fm.js} +33 -33
  26. package/dist/chunks/{location-service-map-7ze973h4.js → kv-2k12d77b.js} +20 -20
  27. package/dist/chunks/{location-service-map-fcrkznn8.js → kv-2k8khapm.js} +5 -5
  28. package/dist/chunks/{location-service-map-qmfan5p8.js → kv-2rvve3xk.js} +22 -22
  29. package/dist/chunks/{location-service-map-2vvh33eb.js → kv-2vvh33eb.js} +2 -2
  30. package/dist/chunks/{location-service-map-c9vfw4h0.js → kv-2ywftmzs.js} +13 -13
  31. package/dist/chunks/{location-service-map-h7s7r6s9.js → kv-31xfzrxg.js} +5 -5
  32. package/dist/chunks/{location-service-map-jy63csdy.js → kv-332k48pc.js} +16 -16
  33. package/dist/chunks/{location-service-map-wsh9mqvf.js → kv-35p4wqwd.js} +22 -22
  34. package/dist/chunks/{location-service-map-3fc6dm20.js → kv-3fc6dm20.js} +1 -1
  35. package/dist/chunks/{location-service-map-3hepkmqq.js → kv-3hepkmqq.js} +1 -1
  36. package/dist/chunks/{location-service-map-3hwn7j4h.js → kv-3hwn7j4h.js} +2 -2
  37. package/dist/chunks/{location-service-map-wdhzpvak.js → kv-3r5sjmkn.js} +9 -9
  38. package/dist/chunks/{location-service-map-3smtnn6g.js → kv-3smtnn6g.js} +1 -1
  39. package/dist/chunks/{location-service-map-3tvqynh2.js → kv-3tvqynh2.js} +1 -1
  40. package/dist/chunks/{location-service-map-92m6ady5.js → kv-3yxrtm4f.js} +25 -25
  41. package/dist/chunks/{location-service-map-3zsf4n22.js → kv-3zsf4n22.js} +1 -1
  42. package/dist/chunks/{location-service-map-9np2jy3t.js → kv-4cbvgt05.js} +19 -19
  43. package/dist/chunks/kv-4hj7k2fv.js +26 -0
  44. package/dist/chunks/{location-service-map-1xf08g7c.js → kv-4k0mny89.js} +24 -24
  45. package/dist/chunks/{location-service-map-2ccvkpx1.js → kv-4ts7tf6z.js} +2 -2
  46. package/dist/chunks/{location-service-map-rpz6cytj.js → kv-55ecggx1.js} +36 -36
  47. package/dist/chunks/{location-service-map-6fg15rp7.js → kv-59b1e2pm.js} +21 -21
  48. package/dist/chunks/{location-service-map-pjy78br0.js → kv-5cc8s6k5.js} +8 -8
  49. package/dist/chunks/{location-service-map-5m9w47nd.js → kv-5m9w47nd.js} +1 -1
  50. package/dist/chunks/{location-service-map-8tj6dfpd.js → kv-5nbem83a.js} +30 -30
  51. package/dist/chunks/{location-service-map-7c80c8sp.js → kv-5ncnyb2r.js} +43 -43
  52. package/dist/chunks/{location-service-map-e3qxr5gk.js → kv-5qd3pb7m.js} +2 -2
  53. package/dist/chunks/{location-service-map-tbm98svr.js → kv-5rmvgf7a.js} +11 -11
  54. package/dist/chunks/{location-service-map-sxt5p7a7.js → kv-5w6eanth.js} +9 -9
  55. package/dist/chunks/{location-service-map-nr86a4aa.js → kv-67tnw0sj.js} +32 -32
  56. package/dist/chunks/{location-service-map-ppgeajdt.js → kv-6aq6rxq6.js} +11 -11
  57. package/dist/chunks/{location-service-map-wk5z6jzv.js → kv-6hjx5zpb.js} +9 -9
  58. package/dist/chunks/{location-service-map-1p07q0wb.js → kv-6pc27hjz.js} +8 -8
  59. package/dist/chunks/{location-service-map-nw91k3fh.js → kv-6rm5yzkt.js} +4 -4
  60. package/dist/chunks/{location-service-map-44w12kf8.js → kv-6tge909y.js} +3 -3
  61. package/dist/chunks/{location-service-map-6xb47vfp.js → kv-6xb47vfp.js} +1 -1
  62. package/dist/chunks/{location-service-map-31c79hqa.js → kv-70swtfkw.js} +13 -13
  63. package/dist/chunks/{location-service-map-71az546q.js → kv-71az546q.js} +2 -2
  64. package/dist/chunks/{location-service-map-58k5xxy9.js → kv-71bdkqs8.js} +24 -24
  65. package/dist/chunks/{location-service-map-k3kxt7h3.js → kv-74z377kx.js} +6 -6
  66. package/dist/chunks/{location-service-map-7bmhse3q.js → kv-7bmhse3q.js} +1 -1
  67. package/dist/chunks/{location-service-map-thtzhryg.js → kv-7ejdeqms.js} +20 -20
  68. package/dist/chunks/{location-service-map-sbwbtvpe.js → kv-7k9f2xm5.js} +5 -5
  69. package/dist/chunks/{location-service-map-r7hb9m1a.js → kv-7kg1cej0.js} +5 -5
  70. package/dist/chunks/{location-service-map-c4xgbqak.js → kv-7vabrfjp.js} +19 -19
  71. package/dist/chunks/{location-service-map-6fnfe7br.js → kv-7zkwb82j.js} +24 -24
  72. package/dist/chunks/{location-service-map-72sxpf59.js → kv-82v73sw7.js} +3 -3
  73. package/dist/chunks/{location-service-map-55nzz6xb.js → kv-845yp122.js} +8 -8
  74. package/dist/chunks/{location-service-map-y5bmbxsz.js → kv-85mkkr1j.js} +15 -15
  75. package/dist/chunks/{location-service-map-mya54eym.js → kv-86kgdsfv.js} +40 -40
  76. package/dist/chunks/{location-service-map-4jpjqsrx.js → kv-89pw95xg.js} +17 -17
  77. package/dist/chunks/{location-service-map-zfs8ae4p.js → kv-8c7secgm.js} +4 -4
  78. package/dist/chunks/{location-service-map-jbhsa3d2.js → kv-8ck4qvpq.js} +11 -11
  79. package/dist/chunks/{location-service-map-2r9t25hy.js → kv-8e30trb4.js} +7 -7
  80. package/dist/chunks/{location-service-map-xsqp8vj3.js → kv-8f678fnw.js} +23 -23
  81. package/dist/chunks/{location-service-map-8m6m0r52.js → kv-8m6m0r52.js} +1 -1
  82. package/dist/chunks/{location-service-map-qrnt87r4.js → kv-8nty2cvy.js} +34 -34
  83. package/dist/chunks/{location-service-map-kt85bzct.js → kv-8x2cscjj.js} +24 -24
  84. package/dist/chunks/{location-service-map-yzwajjfv.js → kv-8y0yg40f.js} +5 -5
  85. package/dist/chunks/{location-service-map-66m9kez4.js → kv-8yyjdjsz.js} +25 -25
  86. package/dist/chunks/{location-service-map-3jc17mvm.js → kv-90ry6nhj.js} +35 -35
  87. package/dist/chunks/{location-service-map-7cx595n2.js → kv-97aeaand.js} +9 -9
  88. package/dist/chunks/{location-service-map-71dgzv1y.js → kv-99hedzh4.js} +27 -27
  89. package/dist/chunks/{location-service-map-9e5bzkjp.js → kv-9e5bzkjp.js} +3 -3
  90. package/dist/chunks/{location-service-map-zdpjb49n.js → kv-9z1r8vb3.js} +49 -49
  91. package/dist/chunks/{location-service-map-ft5bq997.js → kv-a2w96xvv.js} +22 -22
  92. package/dist/chunks/{location-service-map-nf9x7vvg.js → kv-a3gjz6ta.js} +4 -4
  93. package/dist/chunks/{location-service-map-vvt30vkv.js → kv-a628wcjv.js} +11 -11
  94. package/dist/chunks/{location-service-map-hh2z7ns7.js → kv-aah5wtyj.js} +10 -10
  95. package/dist/chunks/{location-service-map-hwe7x4em.js → kv-acd4vkpt.js} +6 -6
  96. package/dist/chunks/{location-service-map-xabqshkb.js → kv-aevqq3v7.js} +41 -41
  97. package/dist/chunks/{location-service-map-hd2bethg.js → kv-aewm4t7v.js} +6 -6
  98. package/dist/chunks/{location-service-map-sp4rp1vg.js → kv-b1wktnxt.js} +11 -11
  99. package/dist/chunks/{location-service-map-zyk1yjk8.js → kv-b3f8fkhc.js} +5 -5
  100. package/dist/chunks/{location-service-map-0mevmm6k.js → kv-b3ptrng8.js} +3 -3
  101. package/dist/chunks/{location-service-map-f4fvt4fb.js → kv-b4qztptv.js} +14 -14
  102. package/dist/chunks/{location-service-map-m6k32p3q.js → kv-b4xjmrbp.js} +46 -46
  103. package/dist/chunks/{location-service-map-bh0zzf2s.js → kv-bh0zzf2s.js} +1 -1
  104. package/dist/chunks/{location-service-map-m72013sh.js → kv-bm142rwp.js} +15 -15
  105. package/dist/chunks/{location-service-map-rxs07z00.js → kv-bn0p8pab.js} +28 -28
  106. package/dist/chunks/{location-service-map-7c1dbfgq.js → kv-c32dxtt1.js} +2 -2
  107. package/dist/chunks/{location-service-map-23jc72tn.js → kv-ccthn8e8.js} +16 -16
  108. package/dist/chunks/{location-service-map-s5met55r.js → kv-cmmdg65p.js} +8 -8
  109. package/dist/chunks/{location-service-map-becgvfp5.js → kv-cyx8pe1r.js} +24 -24
  110. package/dist/chunks/{location-service-map-tpw6cwsb.js → kv-czfptnv9.js} +8 -8
  111. package/dist/chunks/{location-service-map-xg276sb2.js → kv-d0xs1264.js} +38 -38
  112. package/dist/chunks/kv-d6nt18tj.js +513 -0
  113. package/dist/chunks/{location-service-map-994b2pxg.js → kv-d9wzmzc3.js} +5 -5
  114. package/dist/chunks/{location-service-map-x661k3y3.js → kv-db2wf4at.js} +4 -4
  115. package/dist/chunks/{location-service-map-gffqj91w.js → kv-dda0p7y7.js} +9 -9
  116. package/dist/chunks/{location-service-map-b2kvt9pg.js → kv-dedjb6j5.js} +19 -19
  117. package/dist/chunks/{location-service-map-f8gz7yg5.js → kv-defnq6yq.js} +4 -4
  118. package/dist/chunks/{location-service-map-ba1chkmt.js → kv-df8znrks.js} +57 -57
  119. package/dist/chunks/{location-service-map-8tsdq50x.js → kv-dj68pnee.js} +4 -4
  120. package/dist/chunks/{location-service-map-yaf201e8.js → kv-dmj30839.js} +17 -17
  121. package/dist/chunks/{location-service-map-57b9ws8p.js → kv-drwq78ky.js} +5 -5
  122. package/dist/chunks/{location-service-map-46wz3f32.js → kv-ds834g89.js} +26 -26
  123. package/dist/chunks/{location-service-map-ctqxc5qb.js → kv-dxarthn3.js} +13 -13
  124. package/dist/chunks/{location-service-map-kne8f3cn.js → kv-e2hjzebn.js} +4 -4
  125. package/dist/chunks/{location-service-map-xrfewb9d.js → kv-ec8m5png.js} +11 -11
  126. package/dist/chunks/{location-service-map-eej6y6fw.js → kv-eej6y6fw.js} +2 -2
  127. package/dist/chunks/{location-service-map-ef5x83kb.js → kv-ef5x83kb.js} +1 -1
  128. package/dist/chunks/{location-service-map-xnhfr7vz.js → kv-erkwq75e.js} +20 -20
  129. package/dist/chunks/{location-service-map-rp3y8q2h.js → kv-etfe1zn9.js} +27 -27
  130. package/dist/chunks/{location-service-map-75vk4dpz.js → kv-ev1zapjj.js} +3 -3
  131. package/dist/chunks/{location-service-map-btk9fr07.js → kv-ewjmr5mk.js} +23 -23
  132. package/dist/chunks/{location-service-map-9cbg87x5.js → kv-exz5nhcy.js} +23 -23
  133. package/dist/chunks/{location-service-map-3vyq9jg0.js → kv-f03pzbe3.js} +14 -14
  134. package/dist/chunks/{location-service-map-h9wp8z5w.js → kv-f29mbr7f.js} +4 -4
  135. package/dist/chunks/{location-service-map-5twrj1xt.js → kv-f2xfasxy.js} +12 -12
  136. package/dist/chunks/{location-service-map-s72appec.js → kv-f2y0esh4.js} +23 -23
  137. package/dist/chunks/{location-service-map-jr72ype2.js → kv-f3a7f95v.js} +4 -4
  138. package/dist/chunks/kv-f81tjggh.js +18 -0
  139. package/dist/chunks/{location-service-map-7mhq6j8k.js → kv-fbwt6v8j.js} +12 -12
  140. package/dist/chunks/{location-service-map-5vbhpx63.js → kv-ffjgvd35.js} +40 -40
  141. package/dist/chunks/{location-service-map-kh1ckaj3.js → kv-fgtw61v5.js} +14 -14
  142. package/dist/chunks/{location-service-map-zta3kt9v.js → kv-fj958thf.js} +19 -19
  143. package/dist/chunks/{location-service-map-7ge0js6a.js → kv-fpzt6bzc.js} +18 -18
  144. package/dist/chunks/{location-service-map-ck8vrs8t.js → kv-fr3xav96.js} +9 -9
  145. package/dist/chunks/{location-service-map-qcedr0bd.js → kv-fr73h8xd.js} +17 -17
  146. package/dist/chunks/{location-service-map-wgqfafw9.js → kv-fywtqf87.js} +31 -31
  147. package/dist/chunks/{location-service-map-a3w7zwjp.js → kv-fz9v4nyy.js} +7 -7
  148. package/dist/chunks/{location-service-map-g686f6pq.js → kv-g686f6pq.js} +2 -2
  149. package/dist/chunks/{location-service-map-gd4qta3r.js → kv-gd4qta3r.js} +1 -1
  150. package/dist/chunks/{location-service-map-xvaq9pn2.js → kv-ggv0c9x6.js} +19 -19
  151. package/dist/chunks/{location-service-map-scz9kh8s.js → kv-ghw176k1.js} +12 -12
  152. package/dist/chunks/{location-service-map-gk8qb678.js → kv-gk8qb678.js} +1 -1
  153. package/dist/chunks/{location-service-map-awfjv812.js → kv-gktrhw02.js} +1 -1
  154. package/dist/chunks/{location-service-map-k0w1apbg.js → kv-gm31ynds.js} +5 -5
  155. package/dist/chunks/{location-service-map-fwhecrey.js → kv-gn02s22d.js} +4 -4
  156. package/dist/chunks/{location-service-map-2eyh21c7.js → kv-gns61vxs.js} +17 -17
  157. package/dist/chunks/{location-service-map-q24zdy77.js → kv-gswrqrmx.js} +5 -5
  158. package/dist/chunks/{location-service-map-ttxdgb8t.js → kv-gv58btj9.js} +10 -10
  159. package/dist/chunks/{location-service-map-jmtk6pe3.js → kv-gw5h0ejx.js} +24 -24
  160. package/dist/chunks/{location-service-map-0mn8rd50.js → kv-gxn7v165.js} +4 -4
  161. package/dist/chunks/{location-service-map-dxpeytp7.js → kv-gxwd64za.js} +22 -22
  162. package/dist/chunks/{location-service-map-9xg5tdtq.js → kv-gy7jxges.js} +54 -54
  163. package/dist/chunks/{location-service-map-rgk6zsy7.js → kv-h1a3h9fj.js} +22 -22
  164. package/dist/chunks/{location-service-map-h2b79v29.js → kv-h2b79v29.js} +2 -2
  165. package/dist/chunks/{location-service-map-h6vf3j39.js → kv-h6vf3j39.js} +1 -1
  166. package/dist/chunks/{location-service-map-gewe6jf6.js → kv-h8kakj28.js} +12 -12
  167. package/dist/chunks/{location-service-map-hgz4x7wa.js → kv-hgz4x7wa.js} +1 -1
  168. package/dist/chunks/{location-service-map-57snjcj7.js → kv-hw40zd5y.js} +13 -13
  169. package/dist/chunks/{location-service-map-awcdnv69.js → kv-j3wnve26.js} +36 -36
  170. package/dist/chunks/{location-service-map-j56e64zr.js → kv-j56e64zr.js} +1 -1
  171. package/dist/chunks/{location-service-map-7e7armbs.js → kv-j61gmbbd.js} +23 -23
  172. package/dist/chunks/{location-service-map-q4cx2nd9.js → kv-j78jacrw.js} +25 -25
  173. package/dist/chunks/{location-service-map-89embc53.js → kv-jwv7ab79.js} +6 -6
  174. package/dist/chunks/{location-service-map-qpm5hp9p.js → kv-jzbvpyra.js} +9 -9
  175. package/dist/chunks/{location-service-map-j9smc2b3.js → kv-k2gn8633.js} +40 -40
  176. package/dist/chunks/{location-service-map-bt5x3z5v.js → kv-kdn6ag71.js} +27 -27
  177. package/dist/chunks/{location-service-map-nwyx06m3.js → kv-kgvvfrqy.js} +9 -9
  178. package/dist/chunks/{location-service-map-vsm0c6m6.js → kv-khd2efa6.js} +14 -14
  179. package/dist/chunks/{location-service-map-0xc0wntc.js → kv-m31y1t78.js} +3 -3
  180. package/dist/chunks/{location-service-map-m3fdjcah.js → kv-m3fdjcah.js} +1 -1
  181. package/dist/chunks/{location-service-map-v8zetzh7.js → kv-m3nz4q65.js} +16 -16
  182. package/dist/chunks/{location-service-map-m9w0rfyh.js → kv-m9w0rfyh.js} +1 -1
  183. package/dist/chunks/{location-service-map-gdv62nb9.js → kv-mcze36gg.js} +5 -5
  184. package/dist/chunks/{location-service-map-5ydghqfr.js → kv-mfvcxhke.js} +23 -23
  185. package/dist/chunks/{location-service-map-m3tby6h3.js → kv-mme951fp.js} +11 -11
  186. package/dist/chunks/{location-service-map-pvpckbfy.js → kv-mw52v8dk.js} +36 -36
  187. package/dist/chunks/{location-service-map-je13hchp.js → kv-mxcpkhvt.js} +44 -44
  188. package/dist/chunks/{location-service-map-z9x3zg0s.js → kv-n0dqmjd7.js} +26 -26
  189. package/dist/chunks/{location-service-map-361xt909.js → kv-n61013np.js} +8 -8
  190. package/dist/chunks/{location-service-map-s716ynet.js → kv-nhk4fd07.js} +11 -11
  191. package/dist/chunks/{location-service-map-5rzwp8tz.js → kv-nma959mg.js} +3 -3
  192. package/dist/chunks/{location-service-map-gf04c5rv.js → kv-nr1c2xed.js} +13 -13
  193. package/dist/chunks/{location-service-map-khmqacep.js → kv-ny8edt06.js} +4 -4
  194. package/dist/chunks/{location-service-map-pwpxvnsv.js → kv-pc2pm9fb.js} +8 -8
  195. package/dist/chunks/{location-service-map-ypmktead.js → kv-pe0mwqpx.js} +31 -31
  196. package/dist/chunks/{location-service-map-88hkx883.js → kv-pewbjeww.js} +12 -12
  197. package/dist/chunks/{location-service-map-pjvnvgmy.js → kv-pjvnvgmy.js} +1 -1
  198. package/dist/chunks/{location-service-map-pknna89w.js → kv-pknna89w.js} +1 -1
  199. package/dist/chunks/{location-service-map-jsz5n3ba.js → kv-pn8qj2g4.js} +14 -14
  200. package/dist/chunks/{location-service-map-rpfdbzf4.js → kv-pnwf0k20.js} +31 -31
  201. package/dist/chunks/{location-service-map-n7d88tpn.js → kv-pt1ss6jy.js} +3 -3
  202. package/dist/chunks/{location-service-map-scyd4zqv.js → kv-pz68ah3r.js} +22 -22
  203. package/dist/chunks/{location-service-map-0j77ygfz.js → kv-q0xm7vwc.js} +6 -6
  204. package/dist/chunks/{location-service-map-yqc6bamn.js → kv-q5e7cmwt.js} +1 -1
  205. package/dist/chunks/{location-service-map-433skmxr.js → kv-q687e1zt.js} +13 -13
  206. package/dist/chunks/{location-service-map-dgaabqr5.js → kv-q6jgdmce.js} +18 -18
  207. package/dist/chunks/{location-service-map-3fbj0cxp.js → kv-q8jgnm4x.js} +5 -5
  208. package/dist/chunks/{location-service-map-dt89m1xn.js → kv-qaa9qhxv.js} +20 -20
  209. package/dist/chunks/{location-service-map-gqj8kawb.js → kv-qcyg9wsp.js} +20 -20
  210. package/dist/chunks/{location-service-map-706phk7x.js → kv-qmgn8zg7.js} +2 -2
  211. package/dist/chunks/{location-service-map-qnc92qwc.js → kv-qnc92qwc.js} +1 -1
  212. package/dist/chunks/{location-service-map-jh5d2e01.js → kv-qpnaxz3q.js} +4 -4
  213. package/dist/chunks/{location-service-map-xhjk5q61.js → kv-qq88yzqh.js} +39 -39
  214. package/dist/chunks/{location-service-map-qsdy395h.js → kv-qsdy395h.js} +1 -1
  215. package/dist/chunks/{location-service-map-nhqnjw8w.js → kv-qwe2mhgr.js} +16 -16
  216. package/dist/chunks/{location-service-map-rt7sntmp.js → kv-qwyj34g8.js} +33 -33
  217. package/dist/chunks/{location-service-map-2sejkfem.js → kv-r2m716tb.js} +9 -9
  218. package/dist/chunks/{location-service-map-gr6vhd7y.js → kv-r8eecgky.js} +5 -5
  219. package/dist/chunks/{location-service-map-54ma36ye.js → kv-r94pvvab.js} +4 -4
  220. package/dist/chunks/{location-service-map-rdw6cm16.js → kv-rdw6cm16.js} +1 -1
  221. package/dist/chunks/{location-service-map-vers3xd6.js → kv-rhf89g7g.js} +13 -13
  222. package/dist/chunks/{location-service-map-ah16e13m.js → kv-rj1q5wk1.js} +32 -32
  223. package/dist/chunks/{location-service-map-b1va8wh2.js → kv-rqmj2j1g.js} +32 -32
  224. package/dist/chunks/{location-service-map-ad2nqy1t.js → kv-rrcvy1kp.js} +11 -11
  225. package/dist/chunks/{location-service-map-ratrq7cm.js → kv-ryr25ayn.js} +4 -4
  226. package/dist/chunks/{location-service-map-87eyk158.js → kv-ryy1tv3k.js} +60 -60
  227. package/dist/chunks/{location-service-map-qa16p51s.js → kv-s8y61785.js} +22 -22
  228. package/dist/chunks/{location-service-map-b6y5gre9.js → kv-sc83fajd.js} +89 -89
  229. package/dist/chunks/{location-service-map-cw5hxmre.js → kv-sdj6ye0y.js} +6 -6
  230. package/dist/chunks/{location-service-map-b9dnqm0v.js → kv-swr8xay4.js} +14 -14
  231. package/dist/chunks/{location-service-map-7ak5snhj.js → kv-t26nt5g3.js} +3 -3
  232. package/dist/chunks/{location-service-map-tazgh4e4.js → kv-tazgh4e4.js} +1 -1
  233. package/dist/chunks/{location-service-map-tcezcvh9.js → kv-tcezcvh9.js} +1 -1
  234. package/dist/chunks/{location-service-map-tdstcens.js → kv-tdstcens.js} +1 -1
  235. package/dist/chunks/{location-service-map-3tnzxa2y.js → kv-teg22ked.js} +8 -8
  236. package/dist/chunks/{location-service-map-ecyc96a7.js → kv-tejrpg58.js} +45 -45
  237. package/dist/chunks/{location-service-map-8w4e1847.js → kv-tfhpz3sz.js} +19 -19
  238. package/dist/chunks/{location-service-map-1fa42107.js → kv-thkq665f.js} +83 -83
  239. package/dist/chunks/{location-service-map-dbbdp4nt.js → kv-thzwf92f.js} +22 -22
  240. package/dist/chunks/{location-service-map-vgbf06ff.js → kv-tmm3eqes.js} +4 -4
  241. package/dist/chunks/{location-service-map-tyytaxap.js → kv-tyytaxap.js} +1 -1
  242. package/dist/chunks/{location-service-map-btvs9fn2.js → kv-v0es1rhs.js} +9 -9
  243. package/dist/chunks/kv-v10hv8b6.js +253 -0
  244. package/dist/chunks/{location-service-map-v7p4zvkq.js → kv-v7p4zvkq.js} +2 -2
  245. package/dist/chunks/{location-service-map-wzq12bc0.js → kv-vebh4w59.js} +13 -13
  246. package/dist/chunks/{location-service-map-veqvce7d.js → kv-veqvce7d.js} +1 -1
  247. package/dist/chunks/{location-service-map-ydfxryx4.js → kv-vgn8ffrp.js} +3 -3
  248. package/dist/chunks/{location-service-map-7rvtndc1.js → kv-vnm975cv.js} +24 -24
  249. package/dist/chunks/{location-service-map-ys8mr2ec.js → kv-vryt29t9.js} +15 -15
  250. package/dist/chunks/{location-service-map-ycw2k4m5.js → kv-vzbxwz1d.js} +11 -11
  251. package/dist/chunks/{location-service-map-vzs5sf6e.js → kv-vzs5sf6e.js} +1 -1
  252. package/dist/chunks/{location-service-map-84txncab.js → kv-w1eejvng.js} +5 -5
  253. package/dist/chunks/{location-service-map-w3wsvvr9.js → kv-w3wsvvr9.js} +1 -1
  254. package/dist/chunks/{location-service-map-sabhanq5.js → kv-w40gtye2.js} +1 -1
  255. package/dist/chunks/{location-service-map-wd87259q.js → kv-wd87259q.js} +1 -1
  256. package/dist/chunks/{location-service-map-kad71q59.js → kv-wh45bpan.js} +15 -15
  257. package/dist/chunks/{location-service-map-6yz0wx8n.js → kv-wh6zw745.js} +5 -5
  258. package/dist/chunks/{location-service-map-ygxdexa0.js → kv-wjdah6d6.js} +11 -11
  259. package/dist/chunks/{location-service-map-1z6w7b3h.js → kv-wqv9pw60.js} +12 -12
  260. package/dist/chunks/{location-service-map-1165c09c.js → kv-wsh4qmqs.js} +3 -3
  261. package/dist/chunks/{location-service-map-1gdvatv8.js → kv-wyf9p2tq.js} +18 -18
  262. package/dist/chunks/{location-service-map-28zth9xm.js → kv-x67va1k1.js} +9 -9
  263. package/dist/chunks/{location-service-map-96d8sv6n.js → kv-x7hdbwj8.js} +22 -22
  264. package/dist/chunks/{location-service-map-ddfnwkqp.js → kv-x81akh75.js} +9 -9
  265. package/dist/chunks/{location-service-map-cv4t6fed.js → kv-xpbjw4w5.js} +36 -36
  266. package/dist/chunks/{location-service-map-3errj18w.js → kv-xtp6x8sm.js} +5 -5
  267. package/dist/chunks/{location-service-map-t2m7x8m9.js → kv-xwpskw4d.js} +3 -3
  268. package/dist/chunks/{location-service-map-y1fvbwt7.js → kv-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{location-service-map-j2jk7dpe.js → kv-y4stezpd.js} +7 -7
  270. package/dist/chunks/{location-service-map-y71avatq.js → kv-y71avatq.js} +1 -1
  271. package/dist/chunks/{location-service-map-k24w61n2.js → kv-y85ny7jm.js} +33 -33
  272. package/dist/chunks/{location-service-map-96kj8cwg.js → kv-yc8hc8f5.js} +8 -8
  273. package/dist/chunks/{location-service-map-gd0z3kav.js → kv-yhf5ra7e.js} +48 -48
  274. package/dist/chunks/{location-service-map-dtnrfw1y.js → kv-yk440vae.js} +11 -11
  275. package/dist/chunks/{location-service-map-1acjjqhc.js → kv-yp2x3t23.js} +4 -4
  276. package/dist/chunks/{location-service-map-bas1vgmj.js → kv-yphr3tm0.js} +69 -69
  277. package/dist/chunks/{location-service-map-ykbfgt2m.js → kv-yzn3yq27.js} +27 -27
  278. package/dist/chunks/{location-service-map-z0bkrqjs.js → kv-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{location-service-map-gzr50nfj.js → kv-z0nzgh6v.js} +33 -33
  280. package/dist/chunks/{location-service-map-gp5z9a0b.js → kv-z4n08jzm.js} +175 -175
  281. package/dist/chunks/{location-service-map-detd8ckx.js → kv-z6hj8gmz.js} +15 -15
  282. package/dist/chunks/{location-service-map-tr86pv5k.js → kv-za0530t8.js} +11 -11
  283. package/dist/chunks/{location-service-map-nq9xdcve.js → kv-zbac9cjn.js} +23 -23
  284. package/dist/chunks/{location-service-map-zr2ceqn5.js → kv-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{location-service-map-zxq2ej10.js → kv-zxq2ej10.js} +1 -1
  286. package/dist/codemode/catalog.js +1 -1
  287. package/dist/codemode/instructions.js +11 -11
  288. package/dist/codemode/tool.js +3 -3
  289. package/dist/codemode/web.js +1 -1
  290. package/dist/command.js +84 -84
  291. package/dist/config/discovery.js +83 -83
  292. package/dist/config/markdown.js +1 -1
  293. package/dist/config/normalize.js +100 -100
  294. package/dist/config/plugin/agent.js +119 -119
  295. package/dist/config/plugin/command.js +208 -208
  296. package/dist/config/plugin/compaction.js +155 -155
  297. package/dist/config/plugin/compatibility.js +135 -135
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +116 -116
  300. package/dist/config/plugin/image.js +117 -117
  301. package/dist/config/plugin/instruction.js +91 -91
  302. package/dist/config/plugin/location-watcher.js +117 -117
  303. package/dist/config/plugin/mcp.js +126 -126
  304. package/dist/config/plugin/policy.js +118 -118
  305. package/dist/config/plugin/provider.js +117 -117
  306. package/dist/config/plugin/reference.js +119 -119
  307. package/dist/config/plugin/shell.js +117 -117
  308. package/dist/config/plugin/skill-file.js +103 -103
  309. package/dist/config/plugin/skill.js +138 -138
  310. package/dist/config/plugin/snapshot.js +117 -117
  311. package/dist/config/plugin/source.js +120 -120
  312. package/dist/config/plugin/tool-output.js +118 -118
  313. package/dist/config/plugin/websearch.js +116 -116
  314. package/dist/config/plugin/worktree.js +119 -119
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +122 -122
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +86 -86
  320. package/dist/database/database.js +67 -67
  321. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +13 -13
  325. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  328. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  330. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  336. package/dist/database/drizzle.js +14 -14
  337. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  338. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  339. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  340. package/dist/database/migration/20260225215848_workspace.js +1 -1
  341. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  342. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  343. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  344. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  345. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  346. package/dist/database/migration/20260323234822_events.js +1 -1
  347. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  348. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  349. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  350. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  351. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  352. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  353. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  354. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  355. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  356. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  357. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  358. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  359. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  360. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  361. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  362. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  363. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  364. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  365. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  366. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  367. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  368. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  369. package/dist/database/migration/20260611035744_credential.js +1 -1
  370. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  371. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  372. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  373. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  374. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  375. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  376. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  377. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  378. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  379. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  380. package/dist/database/migration/20260812213948_worktree.js +1 -1
  381. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  382. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  383. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  384. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  385. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  386. package/dist/database/migration.gen.js +50 -50
  387. package/dist/database/migration.js +52 -52
  388. package/dist/database/path.js +2 -2
  389. package/dist/database/schema.gen.js +1 -1
  390. package/dist/database/schema.sql.js +1 -1
  391. package/dist/database/sqlite.bun.js +1 -1
  392. package/dist/database/sqlite.js +1 -1
  393. package/dist/database/sqlite.node.js +1 -1
  394. package/dist/database/sqlite.workerd.js +1 -1
  395. package/dist/database/v1-migration.bun.js +77 -77
  396. package/dist/database/v1-migration.js +1 -1
  397. package/dist/effect/app-node-builder.js +367 -367
  398. package/dist/effect/app-node-platform.js +2 -2
  399. package/dist/effect/keyed-mutex.js +1 -1
  400. package/dist/effect/websocket-constructor.js +1 -1
  401. package/dist/environment/driver.js +1 -1
  402. package/dist/environment/environment.js +94 -94
  403. package/dist/environment/exec-defaults.js +2 -2
  404. package/dist/environment/files.js +1 -1
  405. package/dist/environment/index.js +94 -94
  406. package/dist/environment/local.js +2 -2
  407. package/dist/environment/memory.js +2 -2
  408. package/dist/environment/unavailable.js +3 -3
  409. package/dist/event/sql.js +1 -1
  410. package/dist/event-logger.js +75 -75
  411. package/dist/file-access.js +105 -105
  412. package/dist/file-mutation.js +95 -95
  413. package/dist/file-retention.js +1 -1
  414. package/dist/filesystem/fff.bun.js +2 -2
  415. package/dist/filesystem/fff.js +1 -1
  416. package/dist/filesystem/fff.node.js +2 -2
  417. package/dist/filesystem/fff.workerd.js +2 -2
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +219 -219
  420. package/dist/filesystem/protected.js +1 -1
  421. package/dist/filesystem/search.js +98 -98
  422. package/dist/filesystem/watcher-binding.js +3 -3
  423. package/dist/filesystem/watcher.js +15 -15
  424. package/dist/filesystem.js +99 -99
  425. package/dist/form.js +85 -85
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +88 -88
  428. package/dist/generate.js +104 -104
  429. package/dist/git.js +10 -10
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +100 -100
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/image/photon.js +2 -2
  450. package/dist/image.js +6 -6
  451. package/dist/instance/service.js +5 -5
  452. package/dist/instance.js +358 -358
  453. package/dist/instruction-discovery.js +84 -84
  454. package/dist/instructions/builtins.js +88 -88
  455. package/dist/instructions/index.js +5 -5
  456. package/dist/integration/connection.js +3 -3
  457. package/dist/integration.js +86 -86
  458. package/dist/job.js +77 -77
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +74 -74
  461. package/dist/location-activity.js +135 -135
  462. package/dist/location-lifecycle.js +108 -108
  463. package/dist/location-service-map.js +87 -87
  464. package/dist/location-services.js +355 -355
  465. package/dist/location.js +88 -88
  466. package/dist/managed-policy.js +8 -8
  467. package/dist/mcp/client.js +92 -92
  468. package/dist/mcp/index.js +110 -110
  469. package/dist/mcp/instructions.js +130 -130
  470. package/dist/mcp/oauth.js +79 -79
  471. package/dist/mcp/stdio.js +91 -91
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +100 -100
  474. package/dist/model-resolver.js +97 -97
  475. package/dist/model.js +101 -101
  476. package/dist/models-dev.js +108 -108
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +83 -83
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +116 -116
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +91 -91
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +76 -76
  486. package/dist/plugin/agent.js +77 -77
  487. package/dist/plugin/command.js +103 -103
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +212 -212
  490. package/dist/plugin/identity.js +3 -3
  491. package/dist/plugin/instance.js +5 -5
  492. package/dist/plugin/internal.js +330 -330
  493. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  494. package/dist/plugin/models-dev.js +97 -97
  495. package/dist/plugin/module.js +118 -118
  496. package/dist/plugin/optimize.js +4 -4
  497. package/dist/plugin/plan.js +103 -103
  498. package/dist/plugin/promise.js +1 -1
  499. package/dist/plugin/provider/amazon-bedrock.js +91 -91
  500. package/dist/plugin/provider/azure.js +118 -118
  501. package/dist/plugin/provider/cerebras.js +1 -1
  502. package/dist/plugin/provider/chatgpt.js +95 -95
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +114 -114
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +113 -113
  507. package/dist/plugin/provider/databricks.js +1 -1
  508. package/dist/plugin/provider/digitalocean.js +94 -94
  509. package/dist/plugin/provider/dynamic.js +2 -2
  510. package/dist/plugin/provider/factory.js +1 -1
  511. package/dist/plugin/provider/github-copilot.js +96 -96
  512. package/dist/plugin/provider/gitlab.js +94 -94
  513. package/dist/plugin/provider/google-vertex.js +114 -114
  514. package/dist/plugin/provider/kilo.js +1 -1
  515. package/dist/plugin/provider/llmgateway.js +79 -79
  516. package/dist/plugin/provider/lmstudio.js +126 -126
  517. package/dist/plugin/provider/local.js +123 -123
  518. package/dist/plugin/provider/modal.js +93 -93
  519. package/dist/plugin/provider/neon.js +1 -1
  520. package/dist/plugin/provider/nvidia.js +1 -1
  521. package/dist/plugin/provider/ollama.js +126 -126
  522. package/dist/plugin/provider/openai.js +96 -96
  523. package/dist/plugin/provider/opencode.js +98 -98
  524. package/dist/plugin/provider/openrouter.js +92 -92
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +80 -80
  527. package/dist/plugin/provider/prompt-cache-key.js +91 -91
  528. package/dist/plugin/provider/sap-ai-core.js +92 -92
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +116 -116
  531. package/dist/plugin/provider/vercel.js +91 -91
  532. package/dist/plugin/provider/vllm.js +126 -126
  533. package/dist/plugin/provider/xai.js +92 -92
  534. package/dist/plugin/provider/zenmux.js +1 -1
  535. package/dist/plugin/provider.js +168 -168
  536. package/dist/plugin/sdk.js +77 -77
  537. package/dist/plugin/service.js +3 -3
  538. package/dist/plugin/skill.js +135 -135
  539. package/dist/plugin/source-directory.js +1 -1
  540. package/dist/plugin/supervisor.js +349 -349
  541. package/dist/plugin/tool-input-repair.js +4 -4
  542. package/dist/plugin/update.js +6 -6
  543. package/dist/plugin/vcs/git.js +87 -87
  544. package/dist/plugin/vcs/hg.js +87 -87
  545. package/dist/plugin/verbosity.js +94 -94
  546. package/dist/plugin/warming.js +115 -115
  547. package/dist/plugin/websearch/exa.js +7 -7
  548. package/dist/plugin/websearch/firecrawl.js +8 -8
  549. package/dist/plugin/websearch/index.js +9 -9
  550. package/dist/plugin/websearch/mcp.js +4 -4
  551. package/dist/plugin/websearch/parallel.js +8 -8
  552. package/dist/plugin/websearch/tavily.js +6 -6
  553. package/dist/plugin/websearch/tinyfish.js +6 -6
  554. package/dist/plugin.js +219 -219
  555. package/dist/project/schema.js +8 -8
  556. package/dist/project/sql.js +4 -4
  557. package/dist/project.js +91 -91
  558. package/dist/provider.js +100 -100
  559. package/dist/pty/protocol.js +1 -1
  560. package/dist/pty/ticket.js +1 -1
  561. package/dist/pty.js +86 -86
  562. package/dist/reference/instructions.js +90 -90
  563. package/dist/reference.js +86 -86
  564. package/dist/repository-cache.js +82 -82
  565. package/dist/repository.js +3 -3
  566. package/dist/ripgrep/binary.js +2 -2
  567. package/dist/ripgrep.js +94 -94
  568. package/dist/rpc.js +87 -87
  569. package/dist/schema.js +1 -1
  570. package/dist/session/affinity.js +3 -3
  571. package/dist/session/command.js +75 -75
  572. package/dist/session/compaction.js +132 -132
  573. package/dist/session/context.js +152 -152
  574. package/dist/session/diff.js +89 -89
  575. package/dist/session/environment.js +1 -1
  576. package/dist/session/error.js +7 -7
  577. package/dist/session/event.js +1 -1
  578. package/dist/session/execution/restart.js +218 -218
  579. package/dist/session/execution.js +128 -128
  580. package/dist/session/generate.js +153 -153
  581. package/dist/session/history.js +15 -15
  582. package/dist/session/inbox.js +89 -89
  583. package/dist/session/info.js +3 -3
  584. package/dist/session/instruction-entry.js +78 -78
  585. package/dist/session/instruction-state.js +8 -8
  586. package/dist/session/instructions.js +98 -98
  587. package/dist/session/message-updater.js +4 -4
  588. package/dist/session/message.js +1 -1
  589. package/dist/session/model-request.js +121 -121
  590. package/dist/session/model-transport.js +9 -9
  591. package/dist/session/move.js +130 -130
  592. package/dist/session/projector.js +87 -87
  593. package/dist/session/prompt.js +106 -106
  594. package/dist/session/provider-context.js +3 -3
  595. package/dist/session/revert.js +91 -91
  596. package/dist/session/run-coordinator.js +3 -3
  597. package/dist/session/runner/index.js +3 -3
  598. package/dist/session/runner/llm.js +225 -225
  599. package/dist/session/runner/max-steps.js +1 -1
  600. package/dist/session/runner/model.js +99 -99
  601. package/dist/session/runner/publish-llm-event.js +114 -114
  602. package/dist/session/runner/retry.js +4 -4
  603. package/dist/session/runner/step.js +126 -126
  604. package/dist/session/runner/to-llm-message.js +2 -2
  605. package/dist/session/schema.js +5 -5
  606. package/dist/session/session.js +165 -165
  607. package/dist/session/shell.js +131 -131
  608. package/dist/session/skill.js +106 -106
  609. package/dist/session/sql.js +5 -5
  610. package/dist/session/stats.js +74 -74
  611. package/dist/session/store.js +88 -88
  612. package/dist/session/subagent-completion.js +1 -1
  613. package/dist/session/subagent-job.js +202 -202
  614. package/dist/session/system-prompt.js +3 -3
  615. package/dist/session/title.js +158 -158
  616. package/dist/session/to-session-error.js +112 -112
  617. package/dist/session/transfer.js +214 -214
  618. package/dist/session/usage.js +1 -1
  619. package/dist/session.js +212 -212
  620. package/dist/shell/parse.js +6 -6
  621. package/dist/shell/result.js +1 -1
  622. package/dist/shell/scan.js +1 -1
  623. package/dist/shell/select.js +13 -13
  624. package/dist/shell.js +127 -127
  625. package/dist/skill/discovery.js +2 -2
  626. package/dist/skill/instructions.js +108 -108
  627. package/dist/skill.js +111 -111
  628. package/dist/snapshot.js +94 -94
  629. package/dist/state.js +1 -1
  630. package/dist/tool/html-markdown.js +1 -1
  631. package/dist/tool/http-body.js +1 -1
  632. package/dist/tool/mcp.js +129 -129
  633. package/dist/tool/plugin/edit.js +121 -121
  634. package/dist/tool/plugin/file-diff.js +1 -1
  635. package/dist/tool/plugin/glob.js +121 -121
  636. package/dist/tool/plugin/grep.js +117 -117
  637. package/dist/tool/plugin/mcp-resource.js +116 -116
  638. package/dist/tool/plugin/opencode.js +108 -108
  639. package/dist/tool/plugin/patch.js +123 -123
  640. package/dist/tool/plugin/question.js +104 -104
  641. package/dist/tool/plugin/read.js +126 -126
  642. package/dist/tool/plugin/shell.js +209 -209
  643. package/dist/tool/plugin/skill.js +110 -110
  644. package/dist/tool/plugin/subagent.js +211 -211
  645. package/dist/tool/plugin/webfetch.js +107 -107
  646. package/dist/tool/plugin/websearch.js +113 -113
  647. package/dist/tool/plugin/write.js +123 -123
  648. package/dist/tool/read-filesystem.js +101 -101
  649. package/dist/tool/runtime.js +1 -1
  650. package/dist/tool-output.js +7 -7
  651. package/dist/tool.js +14 -14
  652. package/dist/util/error-summary.js +1 -1
  653. package/dist/util/error.js +1 -1
  654. package/dist/util/git-executable.js +2 -2
  655. package/dist/util/iife.js +1 -1
  656. package/dist/util/lazy.js +1 -1
  657. package/dist/util/slug.js +1 -1
  658. package/dist/util/token.js +1 -1
  659. package/dist/util/which.js +1 -1
  660. package/dist/util/wildcard.js +1 -1
  661. package/dist/v1/config/agent.js +5 -5
  662. package/dist/v1/config/command.js +3 -3
  663. package/dist/v1/config/error.js +4 -4
  664. package/dist/v1/config/mcp.js +4 -4
  665. package/dist/v1/config/migrate.js +93 -93
  666. package/dist/v1/config/permission.js +7 -7
  667. package/dist/v1/config/plugin.js +3 -3
  668. package/dist/v1/config/provider-options.js +1 -1
  669. package/dist/v1/config/provider.js +4 -4
  670. package/dist/variant.js +92 -92
  671. package/dist/vcs/patch.js +1 -1
  672. package/dist/vcs.js +86 -86
  673. package/dist/websearch.js +79 -79
  674. package/dist/wellknown/plugin.js +77 -77
  675. package/dist/wellknown.js +82 -82
  676. package/dist/workspace/driver.js +5 -5
  677. package/dist/workspace/sql.js +1 -1
  678. package/dist/workspace.js +81 -81
  679. package/dist/worktree/directory.js +2 -2
  680. package/dist/worktree/git.js +8 -8
  681. package/dist/worktree/sql.js +5 -5
  682. package/dist/worktree/strategies.js +90 -90
  683. package/dist/worktree.js +95 -95
  684. package/package.json +8 -8
  685. package/dist/chunks/location-service-map-f5kdsmxt.js +0 -253
  686. package/dist/chunks/location-service-map-ghjcmzsq.js +0 -26
  687. package/dist/chunks/location-service-map-jqh9b0xq.js +0 -18
  688. package/dist/chunks/location-service-map-pvkdwwyp.js +0 -513
  689. /package/dist/chunks/{location-service-map-0qkdqm5v.js → kv-0qkdqm5v.js} +0 -0
  690. /package/dist/chunks/{location-service-map-0zkw76rk.js → kv-0zkw76rk.js} +0 -0
  691. /package/dist/chunks/{location-service-map-17cy0kzp.js → kv-17cy0kzp.js} +0 -0
  692. /package/dist/chunks/{location-service-map-1cnp2v09.js → kv-1cnp2v09.js} +0 -0
  693. /package/dist/chunks/{location-service-map-1kg9ymc8.js → kv-1kg9ymc8.js} +0 -0
  694. /package/dist/chunks/{location-service-map-24dcb14g.js → kv-24dcb14g.js} +0 -0
  695. /package/dist/chunks/{location-service-map-2710q6r3.js → kv-2710q6r3.js} +0 -0
  696. /package/dist/chunks/{location-service-map-2axfhc9x.js → kv-2axfhc9x.js} +0 -0
  697. /package/dist/chunks/{location-service-map-2bv980vf.js → kv-2bv980vf.js} +0 -0
  698. /package/dist/chunks/{location-service-map-2c3vjs8z.js → kv-2c3vjs8z.js} +0 -0
  699. /package/dist/chunks/{location-service-map-34c7v6d4.js → kv-34c7v6d4.js} +0 -0
  700. /package/dist/chunks/{location-service-map-359p4xyc.js → kv-359p4xyc.js} +0 -0
  701. /package/dist/chunks/{location-service-map-3asan66x.js → kv-3asan66x.js} +0 -0
  702. /package/dist/chunks/{location-service-map-3t0ybcrp.js → kv-3t0ybcrp.js} +0 -0
  703. /package/dist/chunks/{location-service-map-3v8g72cx.js → kv-3v8g72cx.js} +0 -0
  704. /package/dist/chunks/{location-service-map-3wcehsnq.js → kv-3wcehsnq.js} +0 -0
  705. /package/dist/chunks/{location-service-map-43n2bw4t.js → kv-43n2bw4t.js} +0 -0
  706. /package/dist/chunks/{location-service-map-4knz6hnm.js → kv-4knz6hnm.js} +0 -0
  707. /package/dist/chunks/{location-service-map-4vcrnpx2.js → kv-4vcrnpx2.js} +0 -0
  708. /package/dist/chunks/{location-service-map-4y7fprxs.js → kv-4y7fprxs.js} +0 -0
  709. /package/dist/chunks/{location-service-map-53557ph1.js → kv-53557ph1.js} +0 -0
  710. /package/dist/chunks/{location-service-map-550bvhaj.js → kv-550bvhaj.js} +0 -0
  711. /package/dist/chunks/{location-service-map-6prwharc.js → kv-6prwharc.js} +0 -0
  712. /package/dist/chunks/{location-service-map-6q2bdcd1.js → kv-6q2bdcd1.js} +0 -0
  713. /package/dist/chunks/{location-service-map-7akdwqpd.js → kv-7akdwqpd.js} +0 -0
  714. /package/dist/chunks/{location-service-map-7m9af43g.js → kv-7m9af43g.js} +0 -0
  715. /package/dist/chunks/{location-service-map-822emrt2.js → kv-822emrt2.js} +0 -0
  716. /package/dist/chunks/{location-service-map-84wd9syh.js → kv-84wd9syh.js} +0 -0
  717. /package/dist/chunks/{location-service-map-88xbtdfr.js → kv-88xbtdfr.js} +0 -0
  718. /package/dist/chunks/{location-service-map-8n3pysct.js → kv-8n3pysct.js} +0 -0
  719. /package/dist/chunks/{location-service-map-8wj87zfr.js → kv-8wj87zfr.js} +0 -0
  720. /package/dist/chunks/{location-service-map-9a4afbnw.js → kv-9a4afbnw.js} +0 -0
  721. /package/dist/chunks/{location-service-map-9rqn6x4v.js → kv-9rqn6x4v.js} +0 -0
  722. /package/dist/chunks/{location-service-map-a6k6eb26.js → kv-a6k6eb26.js} +0 -0
  723. /package/dist/chunks/{location-service-map-af5trqkr.js → kv-af5trqkr.js} +0 -0
  724. /package/dist/chunks/{location-service-map-afrmfg78.js → kv-afrmfg78.js} +0 -0
  725. /package/dist/chunks/{location-service-map-aqzs7mqg.js → kv-aqzs7mqg.js} +0 -0
  726. /package/dist/chunks/{location-service-map-atq7p7m5.js → kv-atq7p7m5.js} +0 -0
  727. /package/dist/chunks/{location-service-map-bkyjaxrp.js → kv-bkyjaxrp.js} +0 -0
  728. /package/dist/chunks/{location-service-map-bmr6ed5q.js → kv-bmr6ed5q.js} +0 -0
  729. /package/dist/chunks/{location-service-map-bw78ga2c.js → kv-bw78ga2c.js} +0 -0
  730. /package/dist/chunks/{location-service-map-cf4snx6d.js → kv-cf4snx6d.js} +0 -0
  731. /package/dist/chunks/{location-service-map-cvy3z8tj.js → kv-cvy3z8tj.js} +0 -0
  732. /package/dist/chunks/{location-service-map-d9fn303g.js → kv-d9fn303g.js} +0 -0
  733. /package/dist/chunks/{location-service-map-d9jj8t3e.js → kv-d9jj8t3e.js} +0 -0
  734. /package/dist/chunks/{location-service-map-dajrwvna.js → kv-dajrwvna.js} +0 -0
  735. /package/dist/chunks/{location-service-map-dap0rakb.js → kv-dap0rakb.js} +0 -0
  736. /package/dist/chunks/{location-service-map-df08tz66.js → kv-df08tz66.js} +0 -0
  737. /package/dist/chunks/{location-service-map-dy18nga0.js → kv-dy18nga0.js} +0 -0
  738. /package/dist/chunks/{location-service-map-e5kj55wp.js → kv-e5kj55wp.js} +0 -0
  739. /package/dist/chunks/{location-service-map-e73j6tqm.js → kv-e73j6tqm.js} +0 -0
  740. /package/dist/chunks/{location-service-map-ec1grn59.js → kv-ec1grn59.js} +0 -0
  741. /package/dist/chunks/{location-service-map-eh3zwz77.js → kv-eh3zwz77.js} +0 -0
  742. /package/dist/chunks/{location-service-map-emrn6kk6.js → kv-emrn6kk6.js} +0 -0
  743. /package/dist/chunks/{location-service-map-f0mxakyp.js → kv-f0mxakyp.js} +0 -0
  744. /package/dist/chunks/{location-service-map-f6n9ztr4.js → kv-f6n9ztr4.js} +0 -0
  745. /package/dist/chunks/{location-service-map-faypxj3z.js → kv-faypxj3z.js} +0 -0
  746. /package/dist/chunks/{location-service-map-fd410y7t.js → kv-fd410y7t.js} +0 -0
  747. /package/dist/chunks/{location-service-map-g4wezp1m.js → kv-g4wezp1m.js} +0 -0
  748. /package/dist/chunks/{location-service-map-g86h250q.js → kv-g86h250q.js} +0 -0
  749. /package/dist/chunks/{location-service-map-gebd4c9n.js → kv-gebd4c9n.js} +0 -0
  750. /package/dist/chunks/{location-service-map-gftt206x.js → kv-gftt206x.js} +0 -0
  751. /package/dist/chunks/{location-service-map-hk9envan.js → kv-hk9envan.js} +0 -0
  752. /package/dist/chunks/{location-service-map-j2ntwpah.js → kv-j2ntwpah.js} +0 -0
  753. /package/dist/chunks/{location-service-map-j5zkgpj8.js → kv-j5zkgpj8.js} +0 -0
  754. /package/dist/chunks/{location-service-map-jjkms2e6.js → kv-jjkms2e6.js} +0 -0
  755. /package/dist/chunks/{location-service-map-jr7sbwjy.js → kv-jr7sbwjy.js} +0 -0
  756. /package/dist/chunks/{location-service-map-jwfs4k6c.js → kv-jwfs4k6c.js} +0 -0
  757. /package/dist/chunks/{location-service-map-jze0r7bz.js → kv-jze0r7bz.js} +0 -0
  758. /package/dist/chunks/{location-service-map-jzg6c2d5.js → kv-jzg6c2d5.js} +0 -0
  759. /package/dist/chunks/{location-service-map-mp448xyj.js → kv-mp448xyj.js} +0 -0
  760. /package/dist/chunks/{location-service-map-msx8hqn2.js → kv-msx8hqn2.js} +0 -0
  761. /package/dist/chunks/{location-service-map-n05xt0ee.js → kv-n05xt0ee.js} +0 -0
  762. /package/dist/chunks/{location-service-map-n3j8tn72.js → kv-n3j8tn72.js} +0 -0
  763. /package/dist/chunks/{location-service-map-njntx4h6.js → kv-njntx4h6.js} +0 -0
  764. /package/dist/chunks/{location-service-map-pyv0edze.js → kv-pyv0edze.js} +0 -0
  765. /package/dist/chunks/{location-service-map-q3sfg36h.js → kv-q3sfg36h.js} +0 -0
  766. /package/dist/chunks/{location-service-map-q74kybfr.js → kv-q74kybfr.js} +0 -0
  767. /package/dist/chunks/{location-service-map-qaymkmh1.js → kv-qaymkmh1.js} +0 -0
  768. /package/dist/chunks/{location-service-map-qb87gjwd.js → kv-qb87gjwd.js} +0 -0
  769. /package/dist/chunks/{location-service-map-qfa1cgps.js → kv-qfa1cgps.js} +0 -0
  770. /package/dist/chunks/{location-service-map-qg3g05ea.js → kv-qg3g05ea.js} +0 -0
  771. /package/dist/chunks/{location-service-map-qrg20bc0.js → kv-qrg20bc0.js} +0 -0
  772. /package/dist/chunks/{location-service-map-rcb2kzg1.js → kv-rcb2kzg1.js} +0 -0
  773. /package/dist/chunks/{location-service-map-sdp7kfr6.js → kv-sdp7kfr6.js} +0 -0
  774. /package/dist/chunks/{location-service-map-ssg3fenm.js → kv-ssg3fenm.js} +0 -0
  775. /package/dist/chunks/{location-service-map-ve7vex1e.js → kv-ve7vex1e.js} +0 -0
  776. /package/dist/chunks/{location-service-map-w803qqfp.js → kv-w803qqfp.js} +0 -0
  777. /package/dist/chunks/{location-service-map-wc3fc9cn.js → kv-wc3fc9cn.js} +0 -0
  778. /package/dist/chunks/{location-service-map-wer8tq1h.js → kv-wer8tq1h.js} +0 -0
  779. /package/dist/chunks/{location-service-map-wtztk69x.js → kv-wtztk69x.js} +0 -0
  780. /package/dist/chunks/{location-service-map-x0ckcb58.js → kv-x0ckcb58.js} +0 -0
  781. /package/dist/chunks/{location-service-map-x61499pn.js → kv-x61499pn.js} +0 -0
  782. /package/dist/chunks/{location-service-map-y44na4kk.js → kv-y44na4kk.js} +0 -0
  783. /package/dist/chunks/{location-service-map-y8f7s663.js → kv-y8f7s663.js} +0 -0
  784. /package/dist/chunks/{location-service-map-ygaqb7jw.js → kv-ygaqb7jw.js} +0 -0
  785. /package/dist/chunks/{location-service-map-ym463w8f.js → kv-ym463w8f.js} +0 -0
  786. /package/dist/chunks/{location-service-map-z5v4ffb3.js → kv-z5v4ffb3.js} +0 -0
  787. /package/dist/chunks/{location-service-map-z9919s4g.js → kv-z9919s4g.js} +0 -0
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./location-service-map-z5v4ffb3.js";
3
+ } from "./kv-z5v4ffb3.js";
4
4
  import {
5
5
  latest2,
6
- Service71
7
- } from "./location-service-map-m6k32p3q.js";
6
+ Service50
7
+ } from "./kv-b4xjmrbp.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./location-service-map-hgz4x7wa.js";
10
+ } from "./kv-hgz4x7wa.js";
11
11
  import {
12
- Service52
13
- } from "./location-service-map-becgvfp5.js";
12
+ Service62
13
+ } from "./kv-cyx8pe1r.js";
14
14
  import {
15
- Service56
16
- } from "./location-service-map-f4fvt4fb.js";
15
+ Service64
16
+ } from "./kv-b4qztptv.js";
17
17
  import {
18
- Service63
19
- } from "./location-service-map-87eyk158.js";
18
+ Service70
19
+ } from "./kv-ryy1tv3k.js";
20
20
  import {
21
- Service15,
21
+ Service23,
22
22
  resolvePath2
23
- } from "./location-service-map-1gdvatv8.js";
23
+ } from "./kv-wyf9p2tq.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./location-service-map-vzs5sf6e.js";
29
+ } from "./kv-vzs5sf6e.js";
30
30
  import {
31
- Service50,
31
+ Service80,
32
32
  name15
33
- } from "./location-service-map-c4xgbqak.js";
33
+ } from "./kv-7vabrfjp.js";
34
34
  import {
35
35
  NotFoundError6,
36
36
  Service48
37
- } from "./location-service-map-3jc17mvm.js";
37
+ } from "./kv-90ry6nhj.js";
38
38
  import {
39
- Service28
40
- } from "./location-service-map-b6y5gre9.js";
39
+ Service30
40
+ } from "./kv-sc83fajd.js";
41
41
  import {
42
42
  scan2
43
- } from "./location-service-map-nf9x7vvg.js";
43
+ } from "./kv-a3gjz6ta.js";
44
44
  import {
45
45
  __export
46
- } from "./location-service-map-9rqn6x4v.js";
46
+ } from "./kv-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
49
  var exports_shell = {};
50
50
  __export(exports_shell, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input7,
53
- Plugin: () => Plugin8,
52
+ Input: () => Input11,
53
+ Plugin: () => Plugin14,
54
54
  ShellTool: () => exports_shell,
55
- name: () => name7
55
+ name: () => name11
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
59
  import { shellParserWasm } from "#shell-parser-wasm";
60
- var name7 = "shell";
60
+ var name11 = "shell";
61
61
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
62
62
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
63
63
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -71,7 +71,7 @@ var description = (shell) => [
71
71
  "Commands accept an optional timeout, background commands have no timeout by default.",
72
72
  "Background commands return immediately, and you will be notified when they complete."
73
73
  ].join(" ");
74
- var Input7 = Schema.Struct({
74
+ var Input11 = Schema.Struct({
75
75
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
76
76
  workdir: Schema.optionalKey(Schema.String).annotate({
77
77
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -117,19 +117,19 @@ Output is streaming to: ${file}`,
117
117
  truncated: false,
118
118
  status: "running"
119
119
  });
120
- var Plugin8 = {
120
+ var Plugin14 = {
121
121
  id: "opencode.tool.shell",
122
122
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
123
- const sessions = yield* Service28;
124
- const jobs = yield* Service56;
123
+ const sessions = yield* Service30;
124
+ const jobs = yield* Service64;
125
125
  const scope = yield* Scope.Scope;
126
- const environment = yield* Service52;
127
- const access = yield* Service15;
126
+ const environment = yield* Service62;
127
+ const access = yield* Service23;
128
128
  const shell = yield* Service48;
129
- const shellSelect = yield* Service50;
129
+ const shellSelect = yield* Service80;
130
130
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
131
- const permission = yield* Service63;
132
- const config = yield* Service71;
131
+ const permission = yield* Service70;
132
+ const config = yield* Service50;
133
133
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
134
134
  const source = {
135
135
  type: "tool",
@@ -148,7 +148,7 @@ var Plugin8 = {
148
148
  yield* access.authorizeExternal([target, ...directories], context);
149
149
  if (parsed.commands.length > 0)
150
150
  yield* permission.assert({
151
- action: name7,
151
+ action: name11,
152
152
  resources: parsed.commands.map((command) => command.resource),
153
153
  save: parsed.commands.map((command) => command.save),
154
154
  sessionID: context.sessionID,
@@ -185,10 +185,10 @@ var Plugin8 = {
185
185
  yield* jobs.completeBackground(info.notificationID);
186
186
  }, Effect.forkIn(scope, { startImmediately: true }));
187
187
  yield* ctx.tool.transform((editor) => editor.add({
188
- name: name7,
188
+ name: name11,
189
189
  options: { codemode: false },
190
190
  description: description(),
191
- input: Input7,
191
+ input: Input11,
192
192
  output: Output,
193
193
  execute: (input, context) => Effect.gen(function* () {
194
194
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
225
225
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
226
226
  const job = yield* jobs.start({
227
227
  id: info.id,
228
- type: name7,
228
+ type: name11,
229
229
  title: info.command,
230
230
  metadata: { sessionID: context.sessionID, shellID: info.id },
231
231
  recovery: {
@@ -255,7 +255,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
255
255
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
256
256
  })).pipe(Effect.orDie);
257
257
  const hook = (event) => Effect.gen(function* () {
258
- const tool = event.tools[name7];
258
+ const tool = event.tools[name11];
259
259
  if (!tool)
260
260
  return;
261
261
  tool.description = description(name15(yield* compatibleShell));
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
266
266
  })
267
267
  };
268
268
 
269
- export { name7, DEFAULT_TIMEOUT_MS2, Input7, Plugin8, exports_shell };
269
+ export { name11, DEFAULT_TIMEOUT_MS2, Input11, Plugin14, exports_shell };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-service-map-9rqn6x4v.js";
3
+ } from "./kv-9rqn6x4v.js";
4
4
 
5
5
  // src/config/plugin/entry-observer.ts
6
6
  var exports_entry_observer = {};
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./location-service-map-1165c09c.js";
4
+ } from "./kv-wsh4qmqs.js";
5
5
  import {
6
6
  SessionTable2,
7
7
  SessionMessageTable2
8
- } from "./location-service-map-9e5bzkjp.js";
8
+ } from "./kv-9e5bzkjp.js";
9
9
  import {
10
10
  decodeMessageRow2,
11
- load4
12
- } from "./location-service-map-v8k59dvq.js";
11
+ load5
12
+ } from "./kv-1v945k49.js";
13
13
  import {
14
14
  fromRow2
15
- } from "./location-service-map-706phk7x.js";
15
+ } from "./kv-qmgn8zg7.js";
16
16
  import {
17
17
  __export
18
- } from "./location-service-map-9rqn6x4v.js";
18
+ } from "./kv-9rqn6x4v.js";
19
19
 
20
20
  // src/session/store.ts
21
21
  var exports_store = {};
22
22
  __export(exports_store, {
23
- ListInput: () => ListInput4,
24
- Service: () => Service64,
23
+ ListInput: () => ListInput5,
24
+ Service: () => Service72,
25
25
  SessionStore: () => exports_store,
26
- node: () => node68
26
+ node: () => node75
27
27
  });
28
28
  import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
29
29
  import { Context, Effect, Layer, Schema } from "effect";
@@ -50,13 +50,13 @@ var ListProjectInput = Schema.Struct({
50
50
  subpath: RelativePath.pipe(Schema.optional)
51
51
  });
52
52
  var ListAllInput = Schema.Struct(ListInputBase);
53
- var ListInput4 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
53
+ var ListInput5 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
54
54
 
55
- class Service64 extends Context.Service()("@opencode/SessionStore") {
55
+ class Service72 extends Context.Service()("@opencode/SessionStore") {
56
56
  }
57
- var layer = Layer.effect(Service64, Effect.gen(function* () {
57
+ var layer = Layer.effect(Service72, Effect.gen(function* () {
58
58
  const { db } = yield* Service85;
59
- return Service64.of({
59
+ return Service72.of({
60
60
  get: Effect.fnUntraced(function* (sessionID) {
61
61
  const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
62
62
  return row ? fromRow2(row) : undefined;
@@ -98,7 +98,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
98
98
  const rows = yield* (input.limit === undefined ? query.all() : query.limit(input.limit).all()).pipe(Effect.orDie);
99
99
  return yield* Effect.forEach(direction === "previous" ? rows.toReversed() : rows, decodeMessageRow2);
100
100
  }),
101
- context: Effect.fn("SessionStore.context")((sessionID) => load4(db, sessionID, "latest")),
101
+ context: Effect.fn("SessionStore.context")((sessionID) => load5(db, sessionID, "latest")),
102
102
  message: Effect.fn("SessionStore.message")(function* (messageID) {
103
103
  const row = yield* db.select().from(SessionMessageTable2).where(eq(SessionMessageTable2.id, messageID)).get().pipe(Effect.orDie);
104
104
  return row ? {
@@ -125,6 +125,6 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
125
125
  })
126
126
  });
127
127
  }));
128
- var node68 = makeGlobalNode({ service: Service64, layer, deps: [node89] });
128
+ var node75 = makeGlobalNode({ service: Service72, layer, deps: [node89] });
129
129
 
130
- export { ListInput4, Service64, node68, exports_store };
130
+ export { ListInput5, Service72, node75, exports_store };
@@ -1,65 +1,65 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./location-service-map-1165c09c.js";
4
+ } from "./kv-wsh4qmqs.js";
5
5
  import {
6
- Service84,
7
- node88
8
- } from "./location-service-map-jsz5n3ba.js";
6
+ Service81,
7
+ node84
8
+ } from "./kv-pn8qj2g4.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./location-service-map-pknna89w.js";
11
+ } from "./kv-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./location-service-map-3zsf4n22.js";
14
+ } from "./kv-3zsf4n22.js";
15
15
  import {
16
16
  __export
17
- } from "./location-service-map-9rqn6x4v.js";
17
+ } from "./kv-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event21,
23
+ Event: () => Event17,
24
24
  External: () => External2,
25
- ID: () => ID18,
26
- Info: () => Info29,
27
- Key: () => Key4,
25
+ ID: () => ID10,
26
+ Info: () => Info21,
27
+ Key: () => Key3,
28
28
  OAuth: () => OAuth3,
29
- Service: () => Service83,
29
+ Service: () => Service69,
30
30
  Value: () => Value2,
31
- node: () => node87
31
+ node: () => node72
32
32
  });
33
33
  import { asc, desc, eq } from "drizzle-orm";
34
34
  import { Cause, Context, Effect, Layer, Schema } from "effect";
35
35
  import { Credential } from "@opencode/schema/credential";
36
36
  import { Integration } from "@opencode/schema/integration";
37
37
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
38
- var ID18 = Credential.ID;
38
+ var ID10 = Credential.ID;
39
39
  var OAuth3 = Credential.OAuth;
40
- var Key4 = Credential.Key;
40
+ var Key3 = Credential.Key;
41
41
  var External2 = Credential.External;
42
42
  var Value2 = Credential.Value;
43
- var Event21 = Credential.Event;
43
+ var Event17 = Credential.Event;
44
44
 
45
- class Info29 extends Schema.Class("Credential.Info")({
46
- id: ID18,
45
+ class Info21 extends Schema.Class("Credential.Info")({
46
+ id: ID10,
47
47
  integrationID: Integration.ID,
48
48
  label: Schema.String,
49
49
  value: Value2
50
50
  }) {
51
51
  }
52
52
 
53
- class Service83 extends Context.Service()("@opencode/Credential") {
53
+ class Service69 extends Context.Service()("@opencode/Credential") {
54
54
  }
55
- var layer = Layer.effect(Service83, Effect.gen(function* () {
55
+ var layer = Layer.effect(Service69, Effect.gen(function* () {
56
56
  const db = (yield* Service85).db;
57
- const bus = yield* Service84;
57
+ const bus = yield* Service81;
58
58
  const decode = Schema.decodeUnknownSync(Value2);
59
59
  const stored = (row) => {
60
60
  if (!row.integration_id)
61
61
  return;
62
- return new Info29({
62
+ return new Info21({
63
63
  id: row.id,
64
64
  integrationID: row.integration_id,
65
65
  label: row.label,
@@ -70,7 +70,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
70
70
  const credential = stored(row);
71
71
  return credential ? [credential] : [];
72
72
  });
73
- return Service83.of({
73
+ return Service69.of({
74
74
  all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
75
75
  list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
76
76
  get: Effect.fn("Credential.get")(function* (id) {
@@ -78,8 +78,8 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
78
78
  return row ? stored(row) : undefined;
79
79
  }),
80
80
  create: Effect.fn("Credential.create")(function* (input) {
81
- const credential = new Info29({
82
- id: input.id ?? ID18.create(),
81
+ const credential = new Info21({
82
+ id: input.id ?? ID10.create(),
83
83
  integrationID: input.integrationID,
84
84
  label: input.label ?? "default",
85
85
  value: input.value
@@ -110,9 +110,9 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
110
110
  type: credential.value.type,
111
111
  active: activated
112
112
  });
113
- yield* bus.publish(Event21.Updated, {}, { global: true });
113
+ yield* bus.publish(Event17.Updated, {}, { global: true });
114
114
  if (activated)
115
- yield* bus.publish(Event21.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
115
+ yield* bus.publish(Event17.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
116
116
  return credential;
117
117
  }),
118
118
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -132,7 +132,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
132
132
  })), Effect.orDie);
133
133
  if (integrationID) {
134
134
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
135
- yield* bus.publish(Event21.Switched, { integrationID, credentialID: id }, { global: true });
135
+ yield* bus.publish(Event17.Switched, { integrationID, credentialID: id }, { global: true });
136
136
  }
137
137
  }),
138
138
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -164,7 +164,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
164
164
  labelChanged: updates.label !== undefined && updates.label !== credential.label
165
165
  });
166
166
  if (updates.label !== undefined && updates.label !== credential.label)
167
- yield* bus.publish(Event21.Updated, {}, { global: true });
167
+ yield* bus.publish(Event17.Updated, {}, { global: true });
168
168
  }),
169
169
  remove: Effect.fn("Credential.remove")(function* (id) {
170
170
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -197,12 +197,12 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
197
197
  active: removed.switched,
198
198
  ...removed.switched ? { replacementID: removed.credentialID } : {}
199
199
  });
200
- yield* bus.publish(Event21.Updated, {}, { global: true });
200
+ yield* bus.publish(Event17.Updated, {}, { global: true });
201
201
  if (removed.switched)
202
- yield* bus.publish(Event21.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
202
+ yield* bus.publish(Event17.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
203
203
  })
204
204
  });
205
205
  }));
206
- var node87 = makeGlobalNode({ service: Service83, layer, deps: [node89, node88] });
206
+ var node72 = makeGlobalNode({ service: Service69, layer, deps: [node89, node84] });
207
207
 
208
- export { ID18, OAuth3, Key4, External2, Value2, Event21, Info29, Service83, node87, exports_credential };
208
+ export { ID10, OAuth3, Key3, External2, Value2, Event17, Info21, Service69, node72, exports_credential };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  create3
3
- } from "./location-service-map-rdw6cm16.js";
3
+ } from "./kv-rdw6cm16.js";
4
4
  import {
5
5
  __export
6
- } from "./location-service-map-9rqn6x4v.js";
6
+ } from "./kv-9rqn6x4v.js";
7
7
 
8
8
  // src/filesystem/location-watcher-policy.ts
9
9
  var exports_location_watcher_policy = {};
10
10
  __export(exports_location_watcher_policy, {
11
11
  LocationWatcherPolicy: () => exports_location_watcher_policy,
12
- Service: () => Service11,
13
- node: () => node13
12
+ Service: () => Service7,
13
+ node: () => node8
14
14
  });
15
15
  import { makeLocationNode } from "@opencode/util/effect/app-node";
16
16
  import { Context, Effect, Layer, Scope } from "effect";
17
- class Service11 extends Context.Service()("@opencode/LocationWatcherPolicy") {
17
+ class Service7 extends Context.Service()("@opencode/LocationWatcherPolicy") {
18
18
  }
19
- var layer = Layer.effect(Service11, Effect.gen(function* () {
19
+ var layer = Layer.effect(Service7, Effect.gen(function* () {
20
20
  const listeners = new Set;
21
21
  const state = create3({
22
22
  name: "location-watcher-policy",
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service11, Effect.gen(function* () {
41
41
  yield* Scope.addFinalizer(scope, dispose);
42
42
  return { dispose };
43
43
  });
44
- return Service11.of({
44
+ return Service7.of({
45
45
  transform: state.transform,
46
46
  reload: state.reload,
47
47
  current,
48
48
  observe
49
49
  });
50
50
  }));
51
- var node13 = makeLocationNode({ service: Service11, layer, deps: [] });
51
+ var node8 = makeLocationNode({ service: Service7, layer, deps: [] });
52
52
 
53
- export { Service11, node13, exports_location_watcher_policy };
53
+ export { Service7, node8, exports_location_watcher_policy };
@@ -1,9 +1,9 @@
1
1
  import {
2
- ID12
3
- } from "./location-service-map-rpfdbzf4.js";
2
+ ID8
3
+ } from "./kv-pnwf0k20.js";
4
4
  import {
5
5
  loadSDKFactory2
6
- } from "./location-service-map-6q2bdcd1.js";
6
+ } from "./kv-6q2bdcd1.js";
7
7
 
8
8
  // src/plugin/provider/sap-ai-core.ts
9
9
  import { Effect } from "effect";
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
14
14
  effect: Effect.fn(function* (ctx) {
15
15
  const npm = yield* Npm.Service;
16
16
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
17
- if (evt.model.providerID !== ID12.make("sap-ai-core"))
17
+ if (evt.model.providerID !== ID8.make("sap-ai-core"))
18
18
  return;
19
19
  const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
20
20
  if (serviceKey && !process.env.AICORE_SERVICE_KEY)
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
25
25
  evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
26
26
  }));
27
27
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
28
- if (evt.model.providerID !== ID12.make("sap-ai-core"))
28
+ if (evt.model.providerID !== ID8.make("sap-ai-core"))
29
29
  return;
30
30
  evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
31
31
  }));
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./location-service-map-9rqn6x4v.js";
3
+ } from "./kv-9rqn6x4v.js";
4
4
 
5
5
  // src/session/affinity.ts
6
6
  var exports_affinity = {};
7
7
  __export(exports_affinity, {
8
8
  SessionAffinity: () => exports_affinity,
9
- get: () => get5
9
+ get: () => get4
10
10
  });
11
- var get5 = (session) => session.parentID ?? session.fork?.sessionID ?? session.id;
11
+ var get4 = (session) => session.parentID ?? session.fork?.sessionID ?? session.id;
12
12
 
13
- export { get5, exports_affinity };
13
+ export { get4, exports_affinity };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-service-map-9rqn6x4v.js";
3
+ } from "./kv-9rqn6x4v.js";
4
4
 
5
5
  // src/state.ts
6
6
  var exports_state = {};
@@ -2,17 +2,17 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./location-service-map-z5v4ffb3.js";
5
+ } from "./kv-z5v4ffb3.js";
6
6
  import {
7
- Service52,
8
- node55
9
- } from "./location-service-map-becgvfp5.js";
7
+ Service62,
8
+ node64
9
+ } from "./kv-cyx8pe1r.js";
10
10
  import {
11
11
  RipgrepBinary2
12
- } from "./location-service-map-gk8qb678.js";
12
+ } from "./kv-gk8qb678.js";
13
13
  import {
14
14
  __export
15
- } from "./location-service-map-9rqn6x4v.js";
15
+ } from "./kv-9rqn6x4v.js";
16
16
 
17
17
  // src/ripgrep.ts
18
18
  var exports_ripgrep = {};
@@ -20,7 +20,7 @@ __export(exports_ripgrep, {
20
20
  Error: () => Error2,
21
21
  InvalidPatternError: () => InvalidPatternError2,
22
22
  Ripgrep: () => exports_ripgrep,
23
- Service: () => Service19,
23
+ Service: () => Service20,
24
24
  node: () => node22
25
25
  });
26
26
  import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
58
58
  }) {
59
59
  }
60
60
 
61
- class Service19 extends Context.Service()("@opencode/Ripgrep") {
61
+ class Service20 extends Context.Service()("@opencode/Ripgrep") {
62
62
  }
63
63
  var failure = (message, cause) => new Error2({ message, cause });
64
64
  var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
65
65
  var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
66
- var layer = Layer.effect(Service19, Effect.gen(function* () {
67
- const environment = yield* Service52;
66
+ var layer = Layer.effect(Service20, Effect.gen(function* () {
67
+ const environment = yield* Service62;
68
68
  const binary = yield* RipgrepBinary2.Service;
69
69
  const run = (input) => {
70
70
  const program = Effect.scoped(Effect.gen(function* () {
@@ -92,7 +92,7 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
92
92
  const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
93
93
  return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
94
94
  };
95
- return Service19.of({
95
+ return Service20.of({
96
96
  glob: (input) => run({
97
97
  cwd: input.cwd,
98
98
  limit: input.limit,
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
175
175
  }))))
176
176
  });
177
177
  }));
178
- var node22 = makeLocationNode({ service: Service19, layer, deps: [node55, RipgrepBinary2.node] });
178
+ var node22 = makeLocationNode({ service: Service20, layer, deps: [node64, RipgrepBinary2.node] });
179
179
 
180
- export { Error2, InvalidPatternError2, Service19, node22, exports_ripgrep };
180
+ export { Error2, InvalidPatternError2, Service20, node22, exports_ripgrep };