@opencode-ai/core 0.0.0-dev-19216 → 0.0.0-dev-19217

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 (775) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +71 -71
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{file-mutation-35e7m4yx.js → location-services-00x5t0cs.js} +15 -15
  9. package/dist/chunks/{file-mutation-ayghbyc9.js → location-services-011h4yth.js} +13 -13
  10. package/dist/chunks/{file-mutation-hgeb4s25.js → location-services-0cv24hqy.js} +1 -1
  11. package/dist/chunks/{file-mutation-0e0xafbb.js → location-services-0e0xafbb.js} +2 -2
  12. package/dist/chunks/{file-mutation-etamtscj.js → location-services-0etsat71.js} +5 -5
  13. package/dist/chunks/{file-mutation-2phvqca6.js → location-services-0jn70awm.js} +16 -16
  14. package/dist/chunks/{file-mutation-gkvt71jh.js → location-services-0jz3vdqx.js} +9 -9
  15. package/dist/chunks/{file-mutation-0paq2nw3.js → location-services-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{file-mutation-0q0f95c6.js → location-services-0q0f95c6.js} +1 -1
  17. package/dist/chunks/{file-mutation-0s9ayhjt.js → location-services-0s9ayhjt.js} +1 -1
  18. package/dist/chunks/{file-mutation-b2cva8t7.js → location-services-0xv5jnwt.js} +40 -40
  19. package/dist/chunks/{file-mutation-n27y30w6.js → location-services-1149f9m6.js} +41 -41
  20. package/dist/chunks/{file-mutation-kbsyt50d.js → location-services-11ypdpkg.js} +35 -35
  21. package/dist/chunks/{file-mutation-rx7yndt1.js → location-services-13dhzf2r.js} +11 -11
  22. package/dist/chunks/{file-mutation-k3b33mde.js → location-services-14q0m41q.js} +13 -13
  23. package/dist/chunks/{file-mutation-hzzs2yvs.js → location-services-17kes6c3.js} +29 -29
  24. package/dist/chunks/{file-mutation-enamxrz2.js → location-services-19bt37k1.js} +2 -2
  25. package/dist/chunks/{file-mutation-1acjjqhc.js → location-services-1acjjqhc.js} +1 -1
  26. package/dist/chunks/{file-mutation-1ct4r87x.js → location-services-1ct4r87x.js} +1 -1
  27. package/dist/chunks/{file-mutation-1kvgva6x.js → location-services-1hwe4fz6.js} +24 -24
  28. package/dist/chunks/{file-mutation-vdve1s0m.js → location-services-1ycr9rqm.js} +3 -3
  29. package/dist/chunks/{file-mutation-21r38tys.js → location-services-21r38tys.js} +1 -1
  30. package/dist/chunks/{file-mutation-2402vzrj.js → location-services-2402vzrj.js} +1 -1
  31. package/dist/chunks/{file-mutation-thb62adn.js → location-services-27qchnt0.js} +10 -10
  32. package/dist/chunks/{file-mutation-3and2xxf.js → location-services-2a5a6t3a.js} +28 -28
  33. package/dist/chunks/{file-mutation-2a5m3afh.js → location-services-2a5m3afh.js} +1 -1
  34. package/dist/chunks/{file-mutation-s3vrd4d2.js → location-services-2atvjna1.js} +28 -28
  35. package/dist/chunks/{file-mutation-2ht70gj7.js → location-services-2ht70gj7.js} +1 -1
  36. package/dist/chunks/{file-mutation-w7a45d2w.js → location-services-2hwvdazv.js} +23 -23
  37. package/dist/chunks/{file-mutation-998c6hc6.js → location-services-2j81asyh.js} +35 -35
  38. package/dist/chunks/location-services-2t5bfwnz.js +460 -0
  39. package/dist/chunks/{file-mutation-a4rgs0hc.js → location-services-36vsdr69.js} +6 -6
  40. package/dist/chunks/{file-mutation-3fc6dm20.js → location-services-3fc6dm20.js} +1 -1
  41. package/dist/chunks/{file-mutation-3hepkmqq.js → location-services-3hepkmqq.js} +1 -1
  42. package/dist/chunks/{file-mutation-zr1rg8va.js → location-services-3hze1m31.js} +22 -22
  43. package/dist/chunks/{file-mutation-897hzw7d.js → location-services-3jqpdxqh.js} +9 -9
  44. package/dist/chunks/{file-mutation-3qzbfqsy.js → location-services-3qzbfqsy.js} +2 -2
  45. package/dist/chunks/{file-mutation-vj79ke67.js → location-services-3r4cqkhr.js} +29 -29
  46. package/dist/chunks/{file-mutation-3smtnn6g.js → location-services-3smtnn6g.js} +1 -1
  47. package/dist/chunks/{file-mutation-3tvqynh2.js → location-services-3tvqynh2.js} +1 -1
  48. package/dist/chunks/{file-mutation-7nxyxket.js → location-services-3yevh190.js} +1 -1
  49. package/dist/chunks/{file-mutation-6e593aan.js → location-services-41g3dawq.js} +36 -36
  50. package/dist/chunks/{file-mutation-ev7pq6rs.js → location-services-41mncz27.js} +5 -5
  51. package/dist/chunks/{file-mutation-454k5vzh.js → location-services-454k5vzh.js} +1 -1
  52. package/dist/chunks/{file-mutation-fmzy9ynz.js → location-services-4py4wtg5.js} +10 -10
  53. package/dist/chunks/{file-mutation-4r2nyarf.js → location-services-4r2nyarf.js} +1 -1
  54. package/dist/chunks/{file-mutation-hayn59kd.js → location-services-4v96mfas.js} +15 -15
  55. package/dist/chunks/{file-mutation-40jtjs1k.js → location-services-4yp29dye.js} +8 -8
  56. package/dist/chunks/{file-mutation-56gdpj1q.js → location-services-56gdpj1q.js} +2 -2
  57. package/dist/chunks/{file-mutation-z5wp74ca.js → location-services-58x3rwhh.js} +13 -13
  58. package/dist/chunks/{file-mutation-cfbbrnxq.js → location-services-59a9q0c9.js} +11 -11
  59. package/dist/chunks/{file-mutation-5daktx2q.js → location-services-5daktx2q.js} +1 -1
  60. package/dist/chunks/{file-mutation-5fmxt4p5.js → location-services-5fmxt4p5.js} +1 -1
  61. package/dist/chunks/{file-mutation-5jvc5tg2.js → location-services-5jvc5tg2.js} +1 -1
  62. package/dist/chunks/location-services-5y1bcw76.js +22 -0
  63. package/dist/chunks/{file-mutation-s38wv68t.js → location-services-64q9m0nc.js} +22 -22
  64. package/dist/chunks/{file-mutation-nvm3xv8h.js → location-services-6aw1783e.js} +37 -37
  65. package/dist/chunks/{file-mutation-ger17fbp.js → location-services-6zrjyzhx.js} +64 -64
  66. package/dist/chunks/{file-mutation-3x6030n9.js → location-services-711hfp6y.js} +2 -2
  67. package/dist/chunks/{file-mutation-72nftnjy.js → location-services-72nftnjy.js} +2 -2
  68. package/dist/chunks/{file-mutation-6e958v7x.js → location-services-75yf2d83.js} +8 -8
  69. package/dist/chunks/{file-mutation-mq3bjh81.js → location-services-78es4yvf.js} +22 -22
  70. package/dist/chunks/{file-mutation-1fgze8hp.js → location-services-7a9665ac.js} +20 -20
  71. package/dist/chunks/{file-mutation-7bmhse3q.js → location-services-7bmhse3q.js} +1 -1
  72. package/dist/chunks/{file-mutation-7dqw4kz8.js → location-services-7dqw4kz8.js} +1 -1
  73. package/dist/chunks/{file-mutation-sxhwk0c0.js → location-services-7grmgsg7.js} +4 -4
  74. package/dist/chunks/{file-mutation-q36vtzqe.js → location-services-7p8ma9rt.js} +5 -5
  75. package/dist/chunks/{file-mutation-fke00733.js → location-services-7r58dpc0.js} +8 -8
  76. package/dist/chunks/{file-mutation-2sj3c2ad.js → location-services-7rp97fxb.js} +30 -30
  77. package/dist/chunks/{file-mutation-mvfsc1pv.js → location-services-7yh4e7ss.js} +3 -3
  78. package/dist/chunks/{file-mutation-npsbfqmn.js → location-services-7zmvhjgk.js} +27 -27
  79. package/dist/chunks/{file-mutation-0s535w00.js → location-services-818e5b7h.js} +33 -33
  80. package/dist/chunks/{file-mutation-3jxqjar4.js → location-services-842ppk4g.js} +26 -26
  81. package/dist/chunks/{file-mutation-zjx20249.js → location-services-87vzjqvg.js} +4 -4
  82. package/dist/chunks/{file-mutation-47cx0r01.js → location-services-8e0cxs1v.js} +31 -31
  83. package/dist/chunks/{file-mutation-kry5p3r0.js → location-services-8z28gvyf.js} +26 -26
  84. package/dist/chunks/{file-mutation-hhpzk61m.js → location-services-93a8yfjt.js} +2 -2
  85. package/dist/chunks/{file-mutation-01mh49p0.js → location-services-9424kmmy.js} +7 -7
  86. package/dist/chunks/location-services-9cwr0qbq.js +247 -0
  87. package/dist/chunks/{file-mutation-bxnxw8jj.js → location-services-9d4efts8.js} +5 -5
  88. package/dist/chunks/{file-mutation-e4gkhccc.js → location-services-9q7mdqbr.js} +6 -6
  89. package/dist/chunks/{file-mutation-qvbcabdc.js → location-services-9qm9egsn.js} +2 -2
  90. package/dist/chunks/{file-mutation-f40w3zwy.js → location-services-9sb86xv6.js} +40 -40
  91. package/dist/chunks/{file-mutation-c0yyaxk6.js → location-services-9tpb97z2.js} +15 -15
  92. package/dist/chunks/{file-mutation-shfaz11f.js → location-services-9tq58zg8.js} +4 -4
  93. package/dist/chunks/{file-mutation-ptrtafvx.js → location-services-a18qrwy7.js} +11 -11
  94. package/dist/chunks/{file-mutation-99vgbsyy.js → location-services-a9zfrvqc.js} +5 -5
  95. package/dist/chunks/{file-mutation-aaet6srn.js → location-services-aaet6srn.js} +2 -2
  96. package/dist/chunks/{file-mutation-renmeb8y.js → location-services-ag6t9w77.js} +11 -11
  97. package/dist/chunks/{file-mutation-yg7sb877.js → location-services-ajtjthsy.js} +2 -2
  98. package/dist/chunks/{file-mutation-z48dvxa8.js → location-services-at9jh15n.js} +1 -1
  99. package/dist/chunks/{file-mutation-b6gygkdw.js → location-services-b6gygkdw.js} +2 -2
  100. package/dist/chunks/{file-mutation-2bm7eph3.js → location-services-b900m3ym.js} +23 -23
  101. package/dist/chunks/{file-mutation-b9wsbatv.js → location-services-b9wsbatv.js} +1 -1
  102. package/dist/chunks/{file-mutation-7cnkxtbd.js → location-services-bemd59wz.js} +9 -9
  103. package/dist/chunks/{file-mutation-6qvt79ej.js → location-services-bgbwxvyc.js} +24 -24
  104. package/dist/chunks/{file-mutation-x7n6jb1w.js → location-services-bj4vwm3q.js} +18 -18
  105. package/dist/chunks/{file-mutation-dxyd6n6d.js → location-services-br56pb2k.js} +177 -177
  106. package/dist/chunks/{file-mutation-mpsa3nes.js → location-services-brtzwm95.js} +12 -12
  107. package/dist/chunks/{file-mutation-q68wbhj3.js → location-services-bva7vcjq.js} +4 -4
  108. package/dist/chunks/{file-mutation-cr8sbmwr.js → location-services-bw1qan86.js} +43 -43
  109. package/dist/chunks/{file-mutation-fdcmbayr.js → location-services-bx87j58v.js} +17 -17
  110. package/dist/chunks/location-services-by5v678g.js +18 -0
  111. package/dist/chunks/{file-mutation-5mqca3xa.js → location-services-c64qezrb.js} +25 -25
  112. package/dist/chunks/{file-mutation-p33zfxh6.js → location-services-c78av6ax.js} +28 -28
  113. package/dist/chunks/{file-mutation-asb5ddgn.js → location-services-c97n56v4.js} +6 -6
  114. package/dist/chunks/{file-mutation-dk2pae67.js → location-services-c98sk4k2.js} +16 -16
  115. package/dist/chunks/{file-mutation-m5a4zvg4.js → location-services-cad3bs4j.js} +39 -39
  116. package/dist/chunks/{file-mutation-0ek2w54z.js → location-services-cm9r9xbg.js} +10 -10
  117. package/dist/chunks/{file-mutation-ptg06ky0.js → location-services-cmhntd7c.js} +10 -10
  118. package/dist/chunks/{file-mutation-6tnfgw9a.js → location-services-cs8d39tz.js} +25 -25
  119. package/dist/chunks/{file-mutation-g2gt0w0k.js → location-services-d72308c8.js} +2 -2
  120. package/dist/chunks/{file-mutation-w5gv9txn.js → location-services-d80z8c0m.js} +9 -9
  121. package/dist/chunks/{file-mutation-k0g96r8n.js → location-services-dbjehjtf.js} +4 -4
  122. package/dist/chunks/{file-mutation-b92pv2tj.js → location-services-dkshpdss.js} +5 -5
  123. package/dist/chunks/{file-mutation-y71avatq.js → location-services-dpkg50ah.js} +4 -4
  124. package/dist/chunks/{file-mutation-z3s9j4q6.js → location-services-dqvvg7d5.js} +18 -18
  125. package/dist/chunks/{file-mutation-3sy3bhxh.js → location-services-drjjaw3s.js} +8 -8
  126. package/dist/chunks/{file-mutation-w25meggd.js → location-services-dts5axtv.js} +14 -14
  127. package/dist/chunks/{file-mutation-rhqk4sk8.js → location-services-dw6cz3sh.js} +16 -16
  128. package/dist/chunks/{file-mutation-4b1sg654.js → location-services-dw6h8nn9.js} +21 -21
  129. package/dist/chunks/{file-mutation-ks0jjys9.js → location-services-e7tnha1m.js} +10 -10
  130. package/dist/chunks/{file-mutation-6t42cqx7.js → location-services-ebpyyter.js} +32 -32
  131. package/dist/chunks/{file-mutation-gd0bwbeh.js → location-services-ec7wcf70.js} +88 -88
  132. package/dist/chunks/{file-mutation-evj8e4hg.js → location-services-eeap19eg.js} +30 -30
  133. package/dist/chunks/{file-mutation-ny5fc873.js → location-services-en2byfe9.js} +12 -12
  134. package/dist/chunks/{file-mutation-d6k3vpm5.js → location-services-enz1smv7.js} +4 -4
  135. package/dist/chunks/{file-mutation-2z0b56st.js → location-services-ettb2whr.js} +2 -2
  136. package/dist/chunks/{file-mutation-20m0wqts.js → location-services-ev0ent4x.js} +15 -15
  137. package/dist/chunks/{file-mutation-e94r4fk5.js → location-services-ew6s4pdb.js} +92 -92
  138. package/dist/chunks/{file-mutation-vhh9ar68.js → location-services-f021cen3.js} +8 -8
  139. package/dist/chunks/{file-mutation-76smfv87.js → location-services-fk21kn01.js} +7 -7
  140. package/dist/chunks/{file-mutation-hpbtcqba.js → location-services-fqrxtbzb.js} +9 -9
  141. package/dist/chunks/{file-mutation-fxbjtjnd.js → location-services-fxbjtjnd.js} +1 -1
  142. package/dist/chunks/{file-mutation-4k7zmpk3.js → location-services-fxxa7ryp.js} +8 -8
  143. package/dist/chunks/{file-mutation-fxypknc8.js → location-services-fxypknc8.js} +1 -1
  144. package/dist/chunks/{file-mutation-8yqh4j7k.js → location-services-ga85tpka.js} +28 -28
  145. package/dist/chunks/{file-mutation-gd4qta3r.js → location-services-gd4qta3r.js} +1 -1
  146. package/dist/chunks/{file-mutation-tdpndm1c.js → location-services-gfhhve88.js} +5 -5
  147. package/dist/chunks/{file-mutation-y5h9vgb0.js → location-services-ggvh81pv.js} +6 -6
  148. package/dist/chunks/{file-mutation-4xymgjke.js → location-services-ghnh6cjj.js} +20 -20
  149. package/dist/chunks/{file-mutation-62z4m846.js → location-services-gm8dhtry.js} +24 -24
  150. package/dist/chunks/{file-mutation-y724s5yt.js → location-services-gr3vkft5.js} +4 -4
  151. package/dist/chunks/{file-mutation-8ht03v18.js → location-services-gyxtj4g4.js} +4 -4
  152. package/dist/chunks/{file-mutation-y1a5n2r0.js → location-services-h2p9xjbs.js} +19 -19
  153. package/dist/chunks/{file-mutation-y4xjyrf3.js → location-services-h3ddmve3.js} +20 -20
  154. package/dist/chunks/{file-mutation-h6vf3j39.js → location-services-h6vf3j39.js} +1 -1
  155. package/dist/chunks/{file-mutation-b9j3swwv.js → location-services-hc5rdzwx.js} +13 -13
  156. package/dist/chunks/{file-mutation-heyhwy2w.js → location-services-heyhwy2w.js} +1 -1
  157. package/dist/chunks/{file-mutation-sbnvhk9g.js → location-services-hha4zry8.js} +20 -20
  158. package/dist/chunks/{file-mutation-09n63jss.js → location-services-hrem2xze.js} +24 -24
  159. package/dist/chunks/{file-mutation-vnj10zg0.js → location-services-hrq6749d.js} +11 -11
  160. package/dist/chunks/{file-mutation-g2dy4bvs.js → location-services-hrvm11jt.js} +3 -3
  161. package/dist/chunks/{file-mutation-ta5yt3rh.js → location-services-htfs0vqw.js} +34 -34
  162. package/dist/chunks/{file-mutation-64z8z5x5.js → location-services-hvwy79ny.js} +8 -8
  163. package/dist/chunks/{file-mutation-qbyj8qxd.js → location-services-hw16a779.js} +1 -1
  164. package/dist/chunks/{file-mutation-kvsjn1dr.js → location-services-hw4pv20g.js} +2 -2
  165. package/dist/chunks/{file-mutation-ye0hwk1t.js → location-services-j4txnape.js} +7 -7
  166. package/dist/chunks/{file-mutation-hnyf01b0.js → location-services-je9hks3h.js} +5 -5
  167. package/dist/chunks/{file-mutation-k0zpnkm5.js → location-services-jepxwv21.js} +6 -6
  168. package/dist/chunks/{file-mutation-ypexc4gq.js → location-services-jj4chnxp.js} +38 -38
  169. package/dist/chunks/{file-mutation-0wvfwpx6.js → location-services-jv71mprp.js} +28 -28
  170. package/dist/chunks/{file-mutation-fvpasvjq.js → location-services-jwgx2stf.js} +4 -4
  171. package/dist/chunks/{file-mutation-babn4frh.js → location-services-jy1b6ewz.js} +8 -8
  172. package/dist/chunks/{file-mutation-sc1wqa8e.js → location-services-jycq5tmb.js} +28 -28
  173. package/dist/chunks/{file-mutation-xscz55ef.js → location-services-k3zdj9v5.js} +17 -17
  174. package/dist/chunks/{file-mutation-k4bwy1x5.js → location-services-k4bwy1x5.js} +1 -1
  175. package/dist/chunks/{file-mutation-cq35m6me.js → location-services-k6300pcm.js} +3 -3
  176. package/dist/chunks/{file-mutation-nt2vsa9g.js → location-services-k6d03e4p.js} +21 -21
  177. package/dist/chunks/{file-mutation-ada40aw5.js → location-services-kb6kqgh4.js} +44 -44
  178. package/dist/chunks/{file-mutation-kg06axw8.js → location-services-kg06axw8.js} +1 -1
  179. package/dist/chunks/{file-mutation-xspyb9m3.js → location-services-kj7zcbhz.js} +8 -8
  180. package/dist/chunks/{file-mutation-5bch6tfs.js → location-services-knhsbq7n.js} +10 -10
  181. package/dist/chunks/{file-mutation-hjpabd42.js → location-services-ksq55409.js} +17 -17
  182. package/dist/chunks/{file-mutation-k1h3pd12.js → location-services-kz954rct.js} +10 -10
  183. package/dist/chunks/{file-mutation-0amw245z.js → location-services-m1xpw8ab.js} +19 -19
  184. package/dist/chunks/{file-mutation-rae26gbb.js → location-services-m4535t75.js} +8 -8
  185. package/dist/chunks/{file-mutation-fz1pdqz4.js → location-services-m5045k8y.js} +9 -9
  186. package/dist/chunks/{file-mutation-m9w0rfyh.js → location-services-m9w0rfyh.js} +1 -1
  187. package/dist/chunks/{file-mutation-5n978qtj.js → location-services-mb1e1czd.js} +6 -6
  188. package/dist/chunks/{file-mutation-5e624tvg.js → location-services-msggbjmt.js} +9 -9
  189. package/dist/chunks/{file-mutation-y61qnw8a.js → location-services-mxhzfwah.js} +12 -12
  190. package/dist/chunks/{file-mutation-8za182nc.js → location-services-n7sc385v.js} +9 -9
  191. package/dist/chunks/{file-mutation-hjt4xg1x.js → location-services-nhy5jxhy.js} +4 -4
  192. package/dist/chunks/{file-mutation-7w3s9kd0.js → location-services-nkcwakxz.js} +6 -6
  193. package/dist/chunks/{file-mutation-htqkwcnv.js → location-services-nqfx3ba2.js} +10 -10
  194. package/dist/chunks/{file-mutation-wzn1pg97.js → location-services-p0z4cnf4.js} +9 -9
  195. package/dist/chunks/{file-mutation-zjy9mrjh.js → location-services-p519a7hj.js} +17 -17
  196. package/dist/chunks/{file-mutation-3jpejpk8.js → location-services-p8hqp9sy.js} +23 -23
  197. package/dist/chunks/{file-mutation-wy24wt1k.js → location-services-p9qkrcxv.js} +19 -19
  198. package/dist/chunks/{file-mutation-j935v87r.js → location-services-paphc93g.js} +2 -2
  199. package/dist/chunks/{file-mutation-3pt7nqe6.js → location-services-phk1v4hg.js} +51 -51
  200. package/dist/chunks/{file-mutation-pjvnvgmy.js → location-services-pjvnvgmy.js} +1 -1
  201. package/dist/chunks/{file-mutation-pknna89w.js → location-services-pknna89w.js} +1 -1
  202. package/dist/chunks/{file-mutation-2ed8104q.js → location-services-pnec0z95.js} +46 -46
  203. package/dist/chunks/{file-mutation-qswnket4.js → location-services-pnkase04.js} +18 -18
  204. package/dist/chunks/{file-mutation-143qxyja.js → location-services-pvbx7q7g.js} +22 -22
  205. package/dist/chunks/{file-mutation-hn57h045.js → location-services-q5asdkn4.js} +4 -4
  206. package/dist/chunks/{file-mutation-v7r3cw40.js → location-services-q65nf1dj.js} +30 -30
  207. package/dist/chunks/{file-mutation-pjvn5h54.js → location-services-qak3npwc.js} +12 -12
  208. package/dist/chunks/{file-mutation-dds56zbh.js → location-services-qc44gpch.js} +29 -29
  209. package/dist/chunks/{file-mutation-gz5et4ap.js → location-services-qcge6tej.js} +16 -16
  210. package/dist/chunks/{file-mutation-qsdy395h.js → location-services-qsdy395h.js} +1 -1
  211. package/dist/chunks/{file-mutation-7ng7exzm.js → location-services-r2wnyzb0.js} +1 -1
  212. package/dist/chunks/{file-mutation-9pk3p303.js → location-services-r67ewn20.js} +8 -8
  213. package/dist/chunks/{file-mutation-r8dhm0tv.js → location-services-r8dhm0tv.js} +1 -1
  214. package/dist/chunks/{file-mutation-3ap2p86d.js → location-services-reacnbnm.js} +9 -9
  215. package/dist/chunks/{file-mutation-qfv34cas.js → location-services-rfhfqqty.js} +17 -17
  216. package/dist/chunks/{file-mutation-evj94p3t.js → location-services-rmfj7rc5.js} +13 -13
  217. package/dist/chunks/{file-mutation-7ry09vv5.js → location-services-rnynvazd.js} +3 -3
  218. package/dist/chunks/{file-mutation-85490285.js → location-services-rq68kahz.js} +29 -29
  219. package/dist/chunks/{file-mutation-n8dztyn3.js → location-services-rqtk6744.js} +13 -13
  220. package/dist/chunks/{file-mutation-kx9ynrf0.js → location-services-rsde5whr.js} +12 -12
  221. package/dist/chunks/{file-mutation-aa8vhsgg.js → location-services-rvwxxhqs.js} +7 -7
  222. package/dist/chunks/{file-mutation-sba4qhjf.js → location-services-sba4qhjf.js} +1 -1
  223. package/dist/chunks/{file-mutation-bgt6msk1.js → location-services-sfgd47vq.js} +2 -2
  224. package/dist/chunks/{file-mutation-c8k27x3s.js → location-services-snscvb6q.js} +9 -9
  225. package/dist/chunks/{file-mutation-7m9tkefv.js → location-services-stbxxgx1.js} +11 -11
  226. package/dist/chunks/{file-mutation-dfe8djrf.js → location-services-sx1n432n.js} +4 -4
  227. package/dist/chunks/{file-mutation-a2ew8a62.js → location-services-sxz6gkc3.js} +7 -7
  228. package/dist/chunks/{file-mutation-1dbh8d2n.js → location-services-sye64zbn.js} +11 -11
  229. package/dist/chunks/{file-mutation-nxepqw4e.js → location-services-t0pbnp57.js} +20 -20
  230. package/dist/chunks/{file-mutation-rwh0xq6p.js → location-services-t0v8yr3m.js} +15 -15
  231. package/dist/chunks/{file-mutation-kdrneqjw.js → location-services-t9rcpgsh.js} +33 -33
  232. package/dist/chunks/{file-mutation-tazgh4e4.js → location-services-tazgh4e4.js} +1 -1
  233. package/dist/chunks/{file-mutation-tcezcvh9.js → location-services-tcezcvh9.js} +1 -1
  234. package/dist/chunks/{file-mutation-0tqc2v94.js → location-services-thrj3fqh.js} +3 -3
  235. package/dist/chunks/{file-mutation-tjykrgmx.js → location-services-tjykrgmx.js} +1 -1
  236. package/dist/chunks/{file-mutation-kkxc5154.js → location-services-tvtwyg9m.js} +4 -4
  237. package/dist/chunks/{file-mutation-v3gnfvgj.js → location-services-txr8jkjb.js} +11 -11
  238. package/dist/chunks/{file-mutation-c0gy5km3.js → location-services-v2p4rfxw.js} +6 -6
  239. package/dist/chunks/{file-mutation-58hcpyay.js → location-services-v8phnrpr.js} +21 -21
  240. package/dist/chunks/{file-mutation-f9x6rp1j.js → location-services-va63defj.js} +1 -1
  241. package/dist/chunks/{file-mutation-tgnthhz6.js → location-services-vfxc3xsp.js} +25 -25
  242. package/dist/chunks/{file-mutation-fhbjhm8t.js → location-services-vgebfnwn.js} +62 -62
  243. package/dist/chunks/{file-mutation-k3xp7ghz.js → location-services-vhbte2r2.js} +23 -23
  244. package/dist/chunks/{file-mutation-dcgj9q88.js → location-services-vrgvmwy9.js} +28 -28
  245. package/dist/chunks/{file-mutation-986p65m9.js → location-services-vw6n2197.js} +5 -5
  246. package/dist/chunks/{file-mutation-9b3te7cd.js → location-services-vyjks95a.js} +47 -47
  247. package/dist/chunks/{file-mutation-w3wsvvr9.js → location-services-w3wsvvr9.js} +1 -1
  248. package/dist/chunks/{file-mutation-cpy6gm2a.js → location-services-w4arg62q.js} +6 -6
  249. package/dist/chunks/{file-mutation-g8a6h08d.js → location-services-wa8y595e.js} +13 -13
  250. package/dist/chunks/{file-mutation-fw416nha.js → location-services-wbjzz41v.js} +25 -25
  251. package/dist/chunks/{file-mutation-wd87259q.js → location-services-wd87259q.js} +1 -1
  252. package/dist/chunks/{file-mutation-kxnt8qcg.js → location-services-wm0j0wtm.js} +5 -5
  253. package/dist/chunks/{file-mutation-34m8n255.js → location-services-wrcep6h9.js} +6 -6
  254. package/dist/chunks/{file-mutation-qxezqvzm.js → location-services-x0ehmrev.js} +15 -15
  255. package/dist/chunks/{file-mutation-x1ezjp6w.js → location-services-x1ezjp6w.js} +1 -1
  256. package/dist/chunks/{file-mutation-ab39g6be.js → location-services-x6tzgbrz.js} +7 -7
  257. package/dist/chunks/{file-mutation-d4pvcjkk.js → location-services-x9k6tsrg.js} +20 -20
  258. package/dist/chunks/{file-mutation-y8g99sqg.js → location-services-x9metz0b.js} +29 -29
  259. package/dist/chunks/{file-mutation-fj5hcd03.js → location-services-xc8jgndy.js} +35 -35
  260. package/dist/chunks/{file-mutation-e6yvemtv.js → location-services-xezrmqac.js} +69 -69
  261. package/dist/chunks/{file-mutation-w19ppvv8.js → location-services-xgf08a2e.js} +11 -11
  262. package/dist/chunks/{file-mutation-a9e4exys.js → location-services-xp2345da.js} +34 -34
  263. package/dist/chunks/{file-mutation-n0gbmnre.js → location-services-xpx0dzdt.js} +11 -11
  264. package/dist/chunks/{file-mutation-v8gy3pjr.js → location-services-xscznp95.js} +1 -1
  265. package/dist/chunks/{file-mutation-vwq77r6c.js → location-services-xvv8td38.js} +28 -28
  266. package/dist/chunks/{file-mutation-y1fvbwt7.js → location-services-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{file-mutation-06qbn9zd.js → location-services-ycv9gdpt.js} +9 -9
  268. package/dist/chunks/{file-mutation-45a3e49b.js → location-services-ydpy9pg8.js} +9 -9
  269. package/dist/chunks/{file-mutation-yfbd16n1.js → location-services-yfbd16n1.js} +2 -2
  270. package/dist/chunks/{file-mutation-2e3b49a5.js → location-services-yqw5g7gc.js} +24 -24
  271. package/dist/chunks/{file-mutation-0dy783fj.js → location-services-yssexhes.js} +8 -8
  272. package/dist/chunks/{file-mutation-r062cge9.js → location-services-ytep83yp.js} +43 -43
  273. package/dist/chunks/{file-mutation-aeg24s2a.js → location-services-yvcft4ah.js} +5 -5
  274. package/dist/chunks/{file-mutation-a1qwmqqw.js → location-services-yyq5vb4a.js} +13 -13
  275. package/dist/chunks/{file-mutation-z1k01bn4.js → location-services-z1k01bn4.js} +2 -2
  276. package/dist/chunks/{file-mutation-vfhg49f4.js → location-services-z2je33ah.js} +11 -11
  277. package/dist/chunks/{file-mutation-mkajv2tb.js → location-services-z33f84t5.js} +6 -6
  278. package/dist/chunks/{file-mutation-29x78va6.js → location-services-z63w68vq.js} +6 -6
  279. package/dist/chunks/{file-mutation-jykcc5qa.js → location-services-zg79n793.js} +8 -8
  280. package/dist/chunks/{file-mutation-bfr8x9hg.js → location-services-zkpmw5vh.js} +10 -10
  281. package/dist/chunks/{file-mutation-dyqxbeha.js → location-services-zn2cbnfs.js} +11 -11
  282. package/dist/chunks/{file-mutation-j8swj2w1.js → location-services-zrw7ts6n.js} +17 -17
  283. package/dist/chunks/{file-mutation-mfv0zw27.js → location-services-ztnyd3e4.js} +9 -9
  284. package/dist/chunks/{file-mutation-zxq2ej10.js → location-services-zxq2ej10.js} +1 -1
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +7 -7
  287. package/dist/codemode/tool.js +2 -2
  288. package/dist/command.js +83 -83
  289. package/dist/config/discovery.js +77 -77
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +19 -19
  292. package/dist/config/plugin/agent.js +115 -115
  293. package/dist/config/plugin/command.js +206 -206
  294. package/dist/config/plugin/compaction.js +154 -154
  295. package/dist/config/plugin/entry-observer.js +1 -1
  296. package/dist/config/plugin/formatter.js +117 -117
  297. package/dist/config/plugin/image.js +115 -115
  298. package/dist/config/plugin/instruction.js +83 -83
  299. package/dist/config/plugin/location-watcher.js +115 -115
  300. package/dist/config/plugin/mcp.js +124 -124
  301. package/dist/config/plugin/policy.js +114 -114
  302. package/dist/config/plugin/provider.js +113 -113
  303. package/dist/config/plugin/reference.js +117 -117
  304. package/dist/config/plugin/shell.js +116 -116
  305. package/dist/config/plugin/skill-file.js +96 -96
  306. package/dist/config/plugin/skill.js +133 -133
  307. package/dist/config/plugin/snapshot.js +115 -115
  308. package/dist/config/plugin/source.js +111 -111
  309. package/dist/config/plugin/tool-output.js +117 -117
  310. package/dist/config/plugin/websearch.js +113 -113
  311. package/dist/config/plugin/worktree.js +118 -118
  312. package/dist/config/variable.js +3 -3
  313. package/dist/config/watch.js +1 -1
  314. package/dist/config.js +117 -117
  315. package/dist/credential/sql.js +2 -2
  316. package/dist/credential.js +83 -83
  317. package/dist/database/database.js +68 -68
  318. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  319. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  320. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  321. package/dist/database/drizzle/index.js +15 -15
  322. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  323. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  325. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  326. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  327. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  333. package/dist/database/drizzle.js +16 -16
  334. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  335. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  336. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  337. package/dist/database/migration/20260225215848_workspace.js +1 -1
  338. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  339. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  340. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  341. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  342. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  343. package/dist/database/migration/20260323234822_events.js +1 -1
  344. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  345. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  346. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  347. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  348. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  349. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  350. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  351. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  352. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  353. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  354. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  355. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  356. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  357. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  358. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  359. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  360. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  361. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  362. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  363. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  364. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  365. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  366. package/dist/database/migration/20260611035744_credential.js +1 -1
  367. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  368. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  369. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  370. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  371. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  372. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  373. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  374. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  375. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  376. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  377. package/dist/database/migration/20260812213948_worktree.js +1 -1
  378. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  379. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  380. package/dist/database/migration.gen.js +47 -47
  381. package/dist/database/migration.js +49 -49
  382. package/dist/database/path.js +2 -2
  383. package/dist/database/schema.gen.js +1 -1
  384. package/dist/database/schema.sql.js +1 -1
  385. package/dist/database/sqlite.bun.js +1 -1
  386. package/dist/database/sqlite.js +1 -1
  387. package/dist/database/sqlite.node.js +1 -1
  388. package/dist/database/sqlite.workerd.js +1 -1
  389. package/dist/database/v1-migration.bun.js +77 -77
  390. package/dist/database/v1-migration.js +1 -1
  391. package/dist/effect/app-node-builder.js +359 -359
  392. package/dist/effect/app-node-platform.js +2 -2
  393. package/dist/effect/keyed-mutex.js +3 -3
  394. package/dist/effect/websocket-constructor.js +1 -1
  395. package/dist/environment/driver.js +1 -1
  396. package/dist/environment/environment.js +88 -88
  397. package/dist/environment/exec-defaults.js +2 -2
  398. package/dist/environment/files.js +1 -1
  399. package/dist/environment/index.js +90 -90
  400. package/dist/environment/local.js +2 -2
  401. package/dist/environment/memory.js +2 -2
  402. package/dist/environment/unavailable.js +1 -1
  403. package/dist/event/sql.js +1 -1
  404. package/dist/event-logger.js +72 -72
  405. package/dist/file-mutation.js +89 -89
  406. package/dist/file-retention.js +1 -1
  407. package/dist/file.js +1 -1
  408. package/dist/filesystem/fff.bun.js +2 -2
  409. package/dist/filesystem/fff.js +1 -1
  410. package/dist/filesystem/fff.node.js +2 -2
  411. package/dist/filesystem/fff.workerd.js +2 -2
  412. package/dist/filesystem/ignore.js +1 -1
  413. package/dist/filesystem/location-watcher-policy.js +6 -6
  414. package/dist/filesystem/location-watcher.js +219 -219
  415. package/dist/filesystem/protected.js +1 -1
  416. package/dist/filesystem/search.js +97 -97
  417. package/dist/filesystem/watcher-binding.js +3 -3
  418. package/dist/filesystem/watcher.js +13 -13
  419. package/dist/filesystem.js +94 -94
  420. package/dist/form.js +84 -84
  421. package/dist/formatter/builtins.js +4 -4
  422. package/dist/formatter.js +78 -78
  423. package/dist/generate.js +93 -93
  424. package/dist/git.js +7 -7
  425. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  426. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  427. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  428. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  429. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  430. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  431. package/dist/github-copilot/copilot-provider.js +17 -17
  432. package/dist/github-copilot/models.js +7 -7
  433. package/dist/github-copilot/openai-compatible-error.js +1 -1
  434. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  435. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  436. package/dist/github-copilot/responses/openai-error.js +1 -1
  437. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  438. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  439. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  440. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  441. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  442. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  443. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  444. package/dist/id/id.js +1 -1
  445. package/dist/image/photon.js +2 -2
  446. package/dist/image.js +6 -6
  447. package/dist/instance/service.js +5 -5
  448. package/dist/instance.js +350 -350
  449. package/dist/instruction-discovery.js +83 -83
  450. package/dist/instructions/builtins.js +82 -82
  451. package/dist/instructions/index.js +5 -5
  452. package/dist/integration/connection.js +1 -1
  453. package/dist/integration.js +86 -86
  454. package/dist/job.js +75 -75
  455. package/dist/kv/sql.js +2 -2
  456. package/dist/kv.js +71 -71
  457. package/dist/location-activity.js +130 -130
  458. package/dist/location-mutation.js +81 -81
  459. package/dist/location-service-map.js +81 -81
  460. package/dist/location-services.js +347 -347
  461. package/dist/location.js +84 -84
  462. package/dist/mcp/client.js +86 -86
  463. package/dist/mcp/index.js +99 -99
  464. package/dist/mcp/instructions.js +121 -121
  465. package/dist/mcp/oauth.js +3 -3
  466. package/dist/mcp/stdio.js +85 -85
  467. package/dist/mime.js +1 -1
  468. package/dist/modal/models.js +7 -7
  469. package/dist/model-resolver.js +86 -86
  470. package/dist/model.js +8 -8
  471. package/dist/models-dev.js +86 -86
  472. package/dist/oauth/page.js +1 -1
  473. package/dist/permission/saved.js +80 -80
  474. package/dist/permission/sql.js +5 -5
  475. package/dist/permission.js +113 -113
  476. package/dist/persistent-pty/binary.bun.js +1 -1
  477. package/dist/persistent-pty/daemon.js +1 -1
  478. package/dist/persistent-pty/index.js +86 -86
  479. package/dist/persistent-pty/pty-binding.js +1 -1
  480. package/dist/persistent-pty.js +73 -73
  481. package/dist/plugin/agent.js +96 -96
  482. package/dist/plugin/command.js +94 -94
  483. package/dist/plugin/hooks.js +5 -5
  484. package/dist/plugin/host.js +212 -212
  485. package/dist/plugin/instance.js +5 -5
  486. package/dist/plugin/internal.js +321 -321
  487. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  488. package/dist/plugin/models-dev.js +75 -75
  489. package/dist/plugin/module.js +7 -7
  490. package/dist/plugin/optimize.js +4 -4
  491. package/dist/plugin/plan.js +96 -96
  492. package/dist/plugin/promise.js +1 -1
  493. package/dist/plugin/provider/alibaba.js +2 -2
  494. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  495. package/dist/plugin/provider/anthropic.js +2 -2
  496. package/dist/plugin/provider/azure.js +118 -118
  497. package/dist/plugin/provider/cerebras.js +2 -2
  498. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  499. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  500. package/dist/plugin/provider/cohere.js +2 -2
  501. package/dist/plugin/provider/configured.js +114 -114
  502. package/dist/plugin/provider/dynamic.js +2 -2
  503. package/dist/plugin/provider/factory.js +1 -1
  504. package/dist/plugin/provider/gateway.js +2 -2
  505. package/dist/plugin/provider/github-copilot.js +80 -80
  506. package/dist/plugin/provider/gitlab.js +3 -3
  507. package/dist/plugin/provider/google-vertex.js +2 -2
  508. package/dist/plugin/provider/kilo.js +2 -2
  509. package/dist/plugin/provider/llmgateway.js +76 -76
  510. package/dist/plugin/provider/lmstudio.js +117 -117
  511. package/dist/plugin/provider/mistral.js +2 -2
  512. package/dist/plugin/provider/modal.js +79 -79
  513. package/dist/plugin/provider/nvidia.js +2 -2
  514. package/dist/plugin/provider/ollama.js +117 -117
  515. package/dist/plugin/provider/openai-compatible.js +1 -1
  516. package/dist/plugin/provider/openai.js +80 -80
  517. package/dist/plugin/provider/opencode.js +76 -76
  518. package/dist/plugin/provider/openrouter.js +3 -3
  519. package/dist/plugin/provider/perplexity.js +2 -2
  520. package/dist/plugin/provider/sap-ai-core.js +3 -3
  521. package/dist/plugin/provider/sdk-factory.js +1 -1
  522. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  523. package/dist/plugin/provider/venice.js +2 -2
  524. package/dist/plugin/provider/vercel.js +2 -2
  525. package/dist/plugin/provider/vllm.js +117 -117
  526. package/dist/plugin/provider/xai.js +77 -77
  527. package/dist/plugin/provider/zenmux.js +2 -2
  528. package/dist/plugin/provider.js +155 -155
  529. package/dist/plugin/sdk.js +74 -74
  530. package/dist/plugin/service.js +3 -3
  531. package/dist/plugin/skill.js +130 -130
  532. package/dist/plugin/source-directory.js +1 -1
  533. package/dist/plugin/supervisor.js +336 -336
  534. package/dist/plugin/update.js +6 -6
  535. package/dist/plugin/variant.js +4 -4
  536. package/dist/plugin/vcs/git.js +82 -82
  537. package/dist/plugin/vcs/hg.js +82 -82
  538. package/dist/plugin/warming.js +112 -112
  539. package/dist/plugin/websearch/exa.js +7 -7
  540. package/dist/plugin/websearch/firecrawl.js +6 -6
  541. package/dist/plugin/websearch/index.js +8 -8
  542. package/dist/plugin/websearch/mcp.js +2 -2
  543. package/dist/plugin/websearch/parallel.js +8 -8
  544. package/dist/plugin/websearch/tavily.js +6 -6
  545. package/dist/plugin.js +219 -219
  546. package/dist/project/schema.js +8 -8
  547. package/dist/project/sql.js +4 -4
  548. package/dist/project.js +83 -83
  549. package/dist/provider.js +7 -7
  550. package/dist/pty/protocol.js +1 -1
  551. package/dist/pty/schema.js +1 -1
  552. package/dist/pty/ticket.js +1 -1
  553. package/dist/pty.js +88 -88
  554. package/dist/reference/instructions.js +84 -84
  555. package/dist/reference.js +86 -86
  556. package/dist/repository-cache.js +76 -76
  557. package/dist/repository.js +1 -1
  558. package/dist/ripgrep/binary.js +2 -2
  559. package/dist/ripgrep.js +91 -91
  560. package/dist/rpc.js +81 -81
  561. package/dist/schema.js +1 -1
  562. package/dist/session/command.js +72 -72
  563. package/dist/session/compaction.js +128 -128
  564. package/dist/session/context.js +146 -146
  565. package/dist/session/environment.js +5 -5
  566. package/dist/session/error.js +7 -7
  567. package/dist/session/event.js +1 -1
  568. package/dist/session/execution/restart.js +218 -218
  569. package/dist/session/execution.js +121 -121
  570. package/dist/session/generate.js +147 -147
  571. package/dist/session/history.js +14 -14
  572. package/dist/session/inbox.js +86 -86
  573. package/dist/session/info.js +3 -3
  574. package/dist/session/instruction-entry.js +75 -75
  575. package/dist/session/instruction-state.js +8 -8
  576. package/dist/session/instructions.js +87 -87
  577. package/dist/session/message-updater.js +2 -2
  578. package/dist/session/message.js +1 -1
  579. package/dist/session/model-request.js +112 -112
  580. package/dist/session/model-transport.js +9 -9
  581. package/dist/session/move.js +125 -125
  582. package/dist/session/projector.js +84 -84
  583. package/dist/session/prompt.js +99 -99
  584. package/dist/session/revert.js +85 -85
  585. package/dist/session/run-coordinator.js +1 -1
  586. package/dist/session/runner/index.js +3 -3
  587. package/dist/session/runner/llm.js +224 -224
  588. package/dist/session/runner/max-steps.js +1 -1
  589. package/dist/session/runner/model.js +86 -86
  590. package/dist/session/runner/publish-llm-event.js +3 -3
  591. package/dist/session/runner/retry.js +4 -4
  592. package/dist/session/runner/step.js +118 -118
  593. package/dist/session/runner/to-llm-message.js +1 -1
  594. package/dist/session/schema.js +5 -5
  595. package/dist/session/session.js +168 -168
  596. package/dist/session/shell.js +131 -131
  597. package/dist/session/skill.js +97 -97
  598. package/dist/session/sql.js +5 -5
  599. package/dist/session/stats.js +73 -73
  600. package/dist/session/store.js +84 -84
  601. package/dist/session/subagent-completion.js +1 -1
  602. package/dist/session/subagent-job.js +204 -204
  603. package/dist/session/system-prompt.js +3 -3
  604. package/dist/session/title.js +148 -148
  605. package/dist/session/to-session-error.js +106 -106
  606. package/dist/session/transfer.js +217 -217
  607. package/dist/session/usage.js +1 -1
  608. package/dist/session.js +210 -210
  609. package/dist/shell/parse.js +6 -6
  610. package/dist/shell/result.js +1 -1
  611. package/dist/shell/scan.js +1 -1
  612. package/dist/shell/select.js +15 -15
  613. package/dist/shell.js +133 -133
  614. package/dist/skill/discovery.js +6 -6
  615. package/dist/skill/instructions.js +101 -101
  616. package/dist/skill.js +106 -106
  617. package/dist/snapshot.js +82 -82
  618. package/dist/state.js +1 -1
  619. package/dist/tool/html-markdown.js +1 -1
  620. package/dist/tool/http-body.js +1 -1
  621. package/dist/tool/mcp.js +118 -118
  622. package/dist/tool/plugin/edit.js +112 -112
  623. package/dist/tool/plugin/file-diff.js +1 -1
  624. package/dist/tool/plugin/glob.js +119 -119
  625. package/dist/tool/plugin/grep.js +119 -119
  626. package/dist/tool/plugin/opencode.js +3 -3
  627. package/dist/tool/plugin/patch.js +112 -112
  628. package/dist/tool/plugin/question.js +97 -97
  629. package/dist/tool/plugin/read.js +120 -120
  630. package/dist/tool/plugin/shell.js +207 -207
  631. package/dist/tool/plugin/skill.js +105 -105
  632. package/dist/tool/plugin/subagent.js +211 -211
  633. package/dist/tool/plugin/webfetch.js +102 -102
  634. package/dist/tool/plugin/websearch.js +106 -106
  635. package/dist/tool/plugin/write.js +116 -116
  636. package/dist/tool/read-filesystem.js +92 -92
  637. package/dist/tool/runtime.js +1 -1
  638. package/dist/tool-output.js +8 -8
  639. package/dist/tool.js +11 -11
  640. package/dist/util/error-summary.js +1 -1
  641. package/dist/util/error.js +1 -1
  642. package/dist/util/iife.js +1 -1
  643. package/dist/util/lazy.js +1 -1
  644. package/dist/util/slug.js +1 -1
  645. package/dist/util/token.js +1 -1
  646. package/dist/util/which.js +1 -1
  647. package/dist/util/wildcard.js +1 -1
  648. package/dist/v1/config/agent.js +5 -5
  649. package/dist/v1/config/attachment.js +4 -4
  650. package/dist/v1/config/command.js +5 -5
  651. package/dist/v1/config/config.js +16 -16
  652. package/dist/v1/config/error.js +4 -4
  653. package/dist/v1/config/formatter.js +5 -5
  654. package/dist/v1/config/layout.js +1 -1
  655. package/dist/v1/config/lsp.js +5 -5
  656. package/dist/v1/config/mcp.js +4 -4
  657. package/dist/v1/config/migrate.js +4 -4
  658. package/dist/v1/config/permission.js +7 -7
  659. package/dist/v1/config/plugin.js +1 -1
  660. package/dist/v1/config/provider-options.js +1 -1
  661. package/dist/v1/config/provider.js +4 -4
  662. package/dist/v1/config/server.js +2 -2
  663. package/dist/v1/config/skills.js +3 -3
  664. package/dist/v1/permission.js +1 -1
  665. package/dist/vcs/patch.js +1 -1
  666. package/dist/vcs.js +85 -85
  667. package/dist/websearch.js +82 -82
  668. package/dist/wellknown/plugin.js +74 -74
  669. package/dist/wellknown.js +79 -79
  670. package/dist/workspace/driver.js +5 -5
  671. package/dist/workspace/sql.js +1 -1
  672. package/dist/workspace.js +78 -78
  673. package/dist/worktree/directory.js +2 -2
  674. package/dist/worktree/git.js +7 -7
  675. package/dist/worktree/refresh.js +337 -337
  676. package/dist/worktree/sql.js +5 -5
  677. package/dist/worktree.js +89 -89
  678. package/package.json +7 -7
  679. package/dist/chunks/file-mutation-1x11rq2a.js +0 -18
  680. package/dist/chunks/file-mutation-7ctffjx1.js +0 -22
  681. package/dist/chunks/file-mutation-h139r1mg.js +0 -460
  682. package/dist/chunks/file-mutation-ywgxakqv.js +0 -247
  683. /package/dist/chunks/{file-mutation-0fabt78z.js → location-services-0fabt78z.js} +0 -0
  684. /package/dist/chunks/{file-mutation-0qkdqm5v.js → location-services-0qkdqm5v.js} +0 -0
  685. /package/dist/chunks/{file-mutation-0zkw76rk.js → location-services-0zkw76rk.js} +0 -0
  686. /package/dist/chunks/{file-mutation-17cy0kzp.js → location-services-17cy0kzp.js} +0 -0
  687. /package/dist/chunks/{file-mutation-1cnp2v09.js → location-services-1cnp2v09.js} +0 -0
  688. /package/dist/chunks/{file-mutation-1kg9ymc8.js → location-services-1kg9ymc8.js} +0 -0
  689. /package/dist/chunks/{file-mutation-2710q6r3.js → location-services-2710q6r3.js} +0 -0
  690. /package/dist/chunks/{file-mutation-2axfhc9x.js → location-services-2axfhc9x.js} +0 -0
  691. /package/dist/chunks/{file-mutation-2c3vjs8z.js → location-services-2c3vjs8z.js} +0 -0
  692. /package/dist/chunks/{file-mutation-359p4xyc.js → location-services-359p4xyc.js} +0 -0
  693. /package/dist/chunks/{file-mutation-3asan66x.js → location-services-3asan66x.js} +0 -0
  694. /package/dist/chunks/{file-mutation-3t738kvx.js → location-services-3t738kvx.js} +0 -0
  695. /package/dist/chunks/{file-mutation-3v8g72cx.js → location-services-3v8g72cx.js} +0 -0
  696. /package/dist/chunks/{file-mutation-3wcehsnq.js → location-services-3wcehsnq.js} +0 -0
  697. /package/dist/chunks/{file-mutation-41nvscxy.js → location-services-41nvscxy.js} +0 -0
  698. /package/dist/chunks/{file-mutation-43n2bw4t.js → location-services-43n2bw4t.js} +0 -0
  699. /package/dist/chunks/{file-mutation-4knz6hnm.js → location-services-4knz6hnm.js} +0 -0
  700. /package/dist/chunks/{file-mutation-4y7fprxs.js → location-services-4y7fprxs.js} +0 -0
  701. /package/dist/chunks/{file-mutation-53557ph1.js → location-services-53557ph1.js} +0 -0
  702. /package/dist/chunks/{file-mutation-550bvhaj.js → location-services-550bvhaj.js} +0 -0
  703. /package/dist/chunks/{file-mutation-6prwharc.js → location-services-6prwharc.js} +0 -0
  704. /package/dist/chunks/{file-mutation-7akdwqpd.js → location-services-7akdwqpd.js} +0 -0
  705. /package/dist/chunks/{file-mutation-7m9af43g.js → location-services-7m9af43g.js} +0 -0
  706. /package/dist/chunks/{file-mutation-7zk4hah4.js → location-services-7zk4hah4.js} +0 -0
  707. /package/dist/chunks/{file-mutation-822emrt2.js → location-services-822emrt2.js} +0 -0
  708. /package/dist/chunks/{file-mutation-88xbtdfr.js → location-services-88xbtdfr.js} +0 -0
  709. /package/dist/chunks/{file-mutation-8n3pysct.js → location-services-8n3pysct.js} +0 -0
  710. /package/dist/chunks/{file-mutation-982e01ww.js → location-services-982e01ww.js} +0 -0
  711. /package/dist/chunks/{file-mutation-9a4afbnw.js → location-services-9a4afbnw.js} +0 -0
  712. /package/dist/chunks/{file-mutation-9rqn6x4v.js → location-services-9rqn6x4v.js} +0 -0
  713. /package/dist/chunks/{file-mutation-a1tpkmh4.js → location-services-a1tpkmh4.js} +0 -0
  714. /package/dist/chunks/{file-mutation-af5trqkr.js → location-services-af5trqkr.js} +0 -0
  715. /package/dist/chunks/{file-mutation-afrmfg78.js → location-services-afrmfg78.js} +0 -0
  716. /package/dist/chunks/{file-mutation-aqzs7mqg.js → location-services-aqzs7mqg.js} +0 -0
  717. /package/dist/chunks/{file-mutation-atq7p7m5.js → location-services-atq7p7m5.js} +0 -0
  718. /package/dist/chunks/{file-mutation-bkyjaxrp.js → location-services-bkyjaxrp.js} +0 -0
  719. /package/dist/chunks/{file-mutation-bmr6ed5q.js → location-services-bmr6ed5q.js} +0 -0
  720. /package/dist/chunks/{file-mutation-cf4snx6d.js → location-services-cf4snx6d.js} +0 -0
  721. /package/dist/chunks/{file-mutation-cvy3z8tj.js → location-services-cvy3z8tj.js} +0 -0
  722. /package/dist/chunks/{file-mutation-d9fn303g.js → location-services-d9fn303g.js} +0 -0
  723. /package/dist/chunks/{file-mutation-d9jj8t3e.js → location-services-d9jj8t3e.js} +0 -0
  724. /package/dist/chunks/{file-mutation-dajrwvna.js → location-services-dajrwvna.js} +0 -0
  725. /package/dist/chunks/{file-mutation-dap0rakb.js → location-services-dap0rakb.js} +0 -0
  726. /package/dist/chunks/{file-mutation-df08tz66.js → location-services-df08tz66.js} +0 -0
  727. /package/dist/chunks/{file-mutation-dy18nga0.js → location-services-dy18nga0.js} +0 -0
  728. /package/dist/chunks/{file-mutation-e5kj55wp.js → location-services-e5kj55wp.js} +0 -0
  729. /package/dist/chunks/{file-mutation-e73j6tqm.js → location-services-e73j6tqm.js} +0 -0
  730. /package/dist/chunks/{file-mutation-eh3zwz77.js → location-services-eh3zwz77.js} +0 -0
  731. /package/dist/chunks/{file-mutation-emrn6kk6.js → location-services-emrn6kk6.js} +0 -0
  732. /package/dist/chunks/{file-mutation-f0mxakyp.js → location-services-f0mxakyp.js} +0 -0
  733. /package/dist/chunks/{file-mutation-f6n9ztr4.js → location-services-f6n9ztr4.js} +0 -0
  734. /package/dist/chunks/{file-mutation-faypxj3z.js → location-services-faypxj3z.js} +0 -0
  735. /package/dist/chunks/{file-mutation-fd410y7t.js → location-services-fd410y7t.js} +0 -0
  736. /package/dist/chunks/{file-mutation-fxgpk5d8.js → location-services-fxgpk5d8.js} +0 -0
  737. /package/dist/chunks/{file-mutation-g4wezp1m.js → location-services-g4wezp1m.js} +0 -0
  738. /package/dist/chunks/{file-mutation-g86h250q.js → location-services-g86h250q.js} +0 -0
  739. /package/dist/chunks/{file-mutation-gebd4c9n.js → location-services-gebd4c9n.js} +0 -0
  740. /package/dist/chunks/{file-mutation-hk9envan.js → location-services-hk9envan.js} +0 -0
  741. /package/dist/chunks/{file-mutation-j2ntwpah.js → location-services-j2ntwpah.js} +0 -0
  742. /package/dist/chunks/{file-mutation-j5zkgpj8.js → location-services-j5zkgpj8.js} +0 -0
  743. /package/dist/chunks/{file-mutation-jr7sbwjy.js → location-services-jr7sbwjy.js} +0 -0
  744. /package/dist/chunks/{file-mutation-jwfs4k6c.js → location-services-jwfs4k6c.js} +0 -0
  745. /package/dist/chunks/{file-mutation-jzg6c2d5.js → location-services-jzg6c2d5.js} +0 -0
  746. /package/dist/chunks/{file-mutation-mntxs535.js → location-services-mntxs535.js} +0 -0
  747. /package/dist/chunks/{file-mutation-mp448xyj.js → location-services-mp448xyj.js} +0 -0
  748. /package/dist/chunks/{file-mutation-msx8hqn2.js → location-services-msx8hqn2.js} +0 -0
  749. /package/dist/chunks/{file-mutation-n05xt0ee.js → location-services-n05xt0ee.js} +0 -0
  750. /package/dist/chunks/{file-mutation-n3j8tn72.js → location-services-n3j8tn72.js} +0 -0
  751. /package/dist/chunks/{file-mutation-njntx4h6.js → location-services-njntx4h6.js} +0 -0
  752. /package/dist/chunks/{file-mutation-p8qxwesx.js → location-services-p8qxwesx.js} +0 -0
  753. /package/dist/chunks/{file-mutation-q3sfg36h.js → location-services-q3sfg36h.js} +0 -0
  754. /package/dist/chunks/{file-mutation-q74kybfr.js → location-services-q74kybfr.js} +0 -0
  755. /package/dist/chunks/{file-mutation-qaymkmh1.js → location-services-qaymkmh1.js} +0 -0
  756. /package/dist/chunks/{file-mutation-qb87gjwd.js → location-services-qb87gjwd.js} +0 -0
  757. /package/dist/chunks/{file-mutation-qfa1cgps.js → location-services-qfa1cgps.js} +0 -0
  758. /package/dist/chunks/{file-mutation-qrg20bc0.js → location-services-qrg20bc0.js} +0 -0
  759. /package/dist/chunks/{file-mutation-rcb2kzg1.js → location-services-rcb2kzg1.js} +0 -0
  760. /package/dist/chunks/{file-mutation-sdp7kfr6.js → location-services-sdp7kfr6.js} +0 -0
  761. /package/dist/chunks/{file-mutation-se0s1eqw.js → location-services-se0s1eqw.js} +0 -0
  762. /package/dist/chunks/{file-mutation-sk3qaz4a.js → location-services-sk3qaz4a.js} +0 -0
  763. /package/dist/chunks/{file-mutation-ssg3fenm.js → location-services-ssg3fenm.js} +0 -0
  764. /package/dist/chunks/{file-mutation-twg0f83k.js → location-services-twg0f83k.js} +0 -0
  765. /package/dist/chunks/{file-mutation-w803qqfp.js → location-services-w803qqfp.js} +0 -0
  766. /package/dist/chunks/{file-mutation-wer8tq1h.js → location-services-wer8tq1h.js} +0 -0
  767. /package/dist/chunks/{file-mutation-wtztk69x.js → location-services-wtztk69x.js} +0 -0
  768. /package/dist/chunks/{file-mutation-x0ckcb58.js → location-services-x0ckcb58.js} +0 -0
  769. /package/dist/chunks/{file-mutation-x1b8g1yb.js → location-services-x1b8g1yb.js} +0 -0
  770. /package/dist/chunks/{file-mutation-x61499pn.js → location-services-x61499pn.js} +0 -0
  771. /package/dist/chunks/{file-mutation-y44na4kk.js → location-services-y44na4kk.js} +0 -0
  772. /package/dist/chunks/{file-mutation-y8cydn3q.js → location-services-y8cydn3q.js} +0 -0
  773. /package/dist/chunks/{file-mutation-ygaqb7jw.js → location-services-ygaqb7jw.js} +0 -0
  774. /package/dist/chunks/{file-mutation-z9919s4g.js → location-services-z9919s4g.js} +0 -0
  775. /package/dist/chunks/{file-mutation-zbjnn3ac.js → location-services-zbjnn3ac.js} +0 -0
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  ascending2
3
- } from "./file-mutation-k4bwy1x5.js";
3
+ } from "./location-services-k4bwy1x5.js";
4
4
  import {
5
- Service62,
6
- node65
7
- } from "./file-mutation-g8a6h08d.js";
5
+ Service65,
6
+ node70
7
+ } from "./location-services-wa8y595e.js";
8
8
  import {
9
9
  SessionMessage2
10
- } from "./file-mutation-982e01ww.js";
10
+ } from "./location-services-982e01ww.js";
11
11
  import {
12
12
  SessionSchema2
13
- } from "./file-mutation-cq35m6me.js";
13
+ } from "./location-services-k6300pcm.js";
14
14
  import {
15
15
  __export
16
- } from "./file-mutation-9rqn6x4v.js";
16
+ } from "./location-services-9rqn6x4v.js";
17
17
 
18
18
  // src/job.ts
19
19
  var exports_job = {};
20
20
  __export(exports_job, {
21
21
  Job: () => exports_job,
22
- Service: () => Service42,
22
+ Service: () => Service58,
23
23
  make: () => make18,
24
- node: () => node45
24
+ node: () => node62
25
25
  });
26
26
  import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
27
27
  import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
@@ -50,7 +50,7 @@ var Background = Schema.Struct({
50
50
  var decodeBackground = Schema.decodeUnknownResult(Background);
51
51
  var backgroundPrefix = "job.background/";
52
52
 
53
- class Service42 extends Context.Service()("@opencode/Job") {
53
+ class Service58 extends Context.Service()("@opencode/Job") {
54
54
  }
55
55
  function snapshot(job) {
56
56
  return {
@@ -78,7 +78,7 @@ function decrementSession(input, sessionID) {
78
78
  return next;
79
79
  }
80
80
  var make18 = Effect.gen(function* () {
81
- const kv = yield* Service62;
81
+ const kv = yield* Service65;
82
82
  const state = {
83
83
  jobs: yield* SynchronizedRef.make(new Map),
84
84
  scope: yield* Scope.Scope
@@ -307,7 +307,7 @@ var make18 = Effect.gen(function* () {
307
307
  return recovered;
308
308
  }).pipe(Effect.withSpan("Job.pendingBackground"));
309
309
  const completeBackground = Effect.fn("Job.completeBackground")((notificationID) => kv.remove(`${backgroundPrefix}${notificationID}`));
310
- return Service42.of({
310
+ return Service58.of({
311
311
  get,
312
312
  start,
313
313
  wait,
@@ -319,7 +319,7 @@ var make18 = Effect.gen(function* () {
319
319
  completeBackground
320
320
  });
321
321
  });
322
- var layer = Layer.effect(Service42, make18);
323
- var node45 = makeGlobalNode({ service: Service42, layer, deps: [node65] });
322
+ var layer = Layer.effect(Service58, make18);
323
+ var node62 = makeGlobalNode({ service: Service58, layer, deps: [node70] });
324
324
 
325
- export { Service42, make18, node45, exports_job };
325
+ export { Service58, make18, node62, exports_job };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-mutation-9rqn6x4v.js";
3
+ } from "./location-services-9rqn6x4v.js";
4
4
 
5
5
  // src/session/subagent-completion.ts
6
6
  var exports_subagent_completion = {};
@@ -1,13 +1,13 @@
1
1
  import {
2
- Service67,
3
- node72
4
- } from "./file-mutation-zjy9mrjh.js";
2
+ Service75,
3
+ node80
4
+ } from "./location-services-p519a7hj.js";
5
5
  import {
6
6
  create3
7
- } from "./file-mutation-kg06axw8.js";
7
+ } from "./location-services-kg06axw8.js";
8
8
  import {
9
9
  __export
10
- } from "./file-mutation-9rqn6x4v.js";
10
+ } from "./location-services-9rqn6x4v.js";
11
11
 
12
12
  // src/formatter.ts
13
13
  var exports_formatter2 = {};
@@ -24,7 +24,7 @@ import { AppProcess } from "@opencode-ai/util/process";
24
24
  class Service14 extends Context.Service()("@opencode/v2/Formatter") {
25
25
  }
26
26
  var layer = Layer.effect(Service14, Effect.gen(function* () {
27
- const location = yield* Service67;
27
+ const location = yield* Service75;
28
28
  const processes = yield* AppProcess.Service;
29
29
  const commands = new WeakMap;
30
30
  const state = create3({
@@ -90,7 +90,7 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
90
90
  var node17 = makeLocationNode({
91
91
  service: Service14,
92
92
  layer,
93
- deps: [node72, AppProcess.node]
93
+ deps: [node80, AppProcess.node]
94
94
  });
95
95
 
96
96
  export { Service14, node17, exports_formatter2 };
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service51,
3
- node54
4
- } from "./file-mutation-vj79ke67.js";
2
+ Service38,
3
+ node42
4
+ } from "./location-services-3r4cqkhr.js";
5
5
  import {
6
- Key3,
6
+ Key4,
7
7
  removed2,
8
- make19,
8
+ make21,
9
9
  diffByKey2
10
- } from "./file-mutation-6e958v7x.js";
10
+ } from "./location-services-75yf2d83.js";
11
11
  import {
12
12
  __export
13
- } from "./file-mutation-9rqn6x4v.js";
13
+ } from "./location-services-9rqn6x4v.js";
14
14
 
15
15
  // src/reference/instructions.ts
16
- var exports_instructions2 = {};
17
- __export(exports_instructions2, {
18
- ReferenceInstructions: () => exports_instructions2,
19
- Service: () => Service23,
20
- node: () => node28
16
+ var exports_instructions3 = {};
17
+ __export(exports_instructions3, {
18
+ ReferenceInstructions: () => exports_instructions3,
19
+ Service: () => Service29,
20
+ node: () => node34
21
21
  });
22
22
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
23
23
  import { Context, Effect, Layer, Schema } from "effect";
@@ -57,19 +57,19 @@ var update = (previous, current) => {
57
57
  `);
58
58
  };
59
59
 
60
- class Service23 extends Context.Service()("@opencode/ReferenceInstructions") {
60
+ class Service29 extends Context.Service()("@opencode/ReferenceInstructions") {
61
61
  }
62
- var layer = Layer.effect(Service23, Effect.gen(function* () {
63
- const references = yield* Service51;
64
- return Service23.of({
62
+ var layer = Layer.effect(Service29, Effect.gen(function* () {
63
+ const references = yield* Service38;
64
+ return Service29.of({
65
65
  load: Effect.fn("ReferenceInstructions.load")(function* () {
66
66
  const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
67
67
  name: reference.name,
68
68
  path: reference.path,
69
69
  description: reference.description
70
70
  })).toSorted((a, b) => a.name.localeCompare(b.name));
71
- return make19({
72
- key: Key3.make("core/reference-guidance"),
71
+ return make21({
72
+ key: Key4.make("core/reference-guidance"),
73
73
  codec: Schema.toCodecJson(Schema.Array(Summary)),
74
74
  read: Effect.succeed(available.length === 0 ? removed2 : available),
75
75
  render: {
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
81
81
  })
82
82
  });
83
83
  }));
84
- var node28 = makeLocationNode({ service: Service23, layer, deps: [node54] });
84
+ var node34 = makeLocationNode({ service: Service29, layer, deps: [node42] });
85
85
 
86
- export { Service23, node28, exports_instructions2 };
86
+ export { Service29, node34, exports_instructions3 };
@@ -1,10 +1,10 @@
1
1
  import {
2
- Service78,
3
- node83
4
- } from "./file-mutation-2phvqca6.js";
2
+ Service79,
3
+ node84
4
+ } from "./location-services-0jn70awm.js";
5
5
  import {
6
6
  __export
7
- } from "./file-mutation-9rqn6x4v.js";
7
+ } from "./location-services-9rqn6x4v.js";
8
8
 
9
9
  // src/form.ts
10
10
  var exports_form = {};
@@ -12,40 +12,40 @@ __export(exports_form, {
12
12
  AlreadyExistsError: () => AlreadyExistsError2,
13
13
  AlreadySettledError: () => AlreadySettledError2,
14
14
  Answer: () => Answer2,
15
- Event: () => Event18,
15
+ Event: () => Event12,
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
19
- ID: () => ID14,
20
- Info: () => Info28,
19
+ ID: () => ID8,
20
+ Info: () => Info20,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
- NotFoundError: () => NotFoundError10,
24
- Reply: () => Reply3,
25
- Service: () => Service75,
23
+ NotFoundError: () => NotFoundError6,
24
+ Reply: () => Reply2,
25
+ Service: () => Service63,
26
26
  State: () => State3,
27
27
  When: () => When2,
28
- layer: () => layer25,
29
- node: () => node80,
28
+ layer: () => layer22,
29
+ node: () => node67,
30
30
  validateAnswer: () => validateAnswer2,
31
31
  validateFields: () => validateFields2
32
32
  });
33
33
  import { Form } from "@opencode-ai/schema/form";
34
34
  import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
35
35
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
36
- import { Event as Event18 } from "@opencode-ai/schema/form";
36
+ import { Event as Event12 } from "@opencode-ai/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
- var ID14 = Form.ID;
39
- var Info28 = Form.Info;
38
+ var ID8 = Form.ID;
39
+ var Info20 = Form.Info;
40
40
  var Field2 = Form.Field;
41
41
  var Fields2 = Form.Fields;
42
42
  var When2 = Form.When;
43
43
  var State3 = Form.State;
44
44
  var Answer2 = Form.Answer;
45
- var Reply3 = Form.Reply;
45
+ var Reply2 = Form.Reply;
46
46
 
47
- class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
48
- id: ID14
47
+ class NotFoundError6 extends Schema.TaggedError()("Form.NotFoundError", {
48
+ id: ID8
49
49
  }) {
50
50
  get message() {
51
51
  return `Form not found: ${this.id}`;
@@ -53,7 +53,7 @@ class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
53
53
  }
54
54
 
55
55
  class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
56
- id: ID14
56
+ id: ID8
57
57
  }) {
58
58
  get message() {
59
59
  return `Form already settled: ${this.id}`;
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
61
61
  }
62
62
 
63
63
  class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
64
- id: ID14
64
+ id: ID8
65
65
  }) {
66
66
  get message() {
67
67
  return `Form already exists: ${this.id}`;
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
69
69
  }
70
70
 
71
71
  class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
72
- id: ID14,
72
+ id: ID8,
73
73
  message: Schema.String
74
74
  }) {
75
75
  }
@@ -79,17 +79,17 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
79
79
  }) {
80
80
  }
81
81
 
82
- class Service75 extends Context.Service()("@opencode/Form") {
82
+ class Service63 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer25 = Layer.effect(Service75, Effect.gen(function* () {
85
- const bus = yield* Service78;
84
+ var layer22 = Layer.effect(Service63, Effect.gen(function* () {
85
+ const bus = yield* Service79;
86
86
  const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
87
87
  capacity: Number.MAX_SAFE_INTEGER,
88
88
  timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
89
89
  });
90
- const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError10({ id })))));
90
+ const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError6({ id })))));
91
91
  const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
92
- const id = input.id ?? ID14.create();
92
+ const id = input.id ?? ID8.create();
93
93
  const existing = yield* Cache.getSuccess(forms, id);
94
94
  if (Option.isSome(existing))
95
95
  return yield* new AlreadyExistsError2({ id });
@@ -153,9 +153,9 @@ var layer25 = Layer.effect(Service75, Effect.gen(function* () {
153
153
  yield* Deferred.succeed(entry.deferred, next);
154
154
  })));
155
155
  yield* Effect.addFinalizer(() => Cache.values(forms).pipe(Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true }))));
156
- return Service75.of({ create, ask, get, list, state, reply, cancel });
156
+ return Service63.of({ create, ask, get, list, state, reply, cancel });
157
157
  }));
158
- var node80 = makeLocationNode({ service: Service75, layer: layer25, deps: [node83] });
158
+ var node67 = makeLocationNode({ service: Service63, layer: layer22, deps: [node84] });
159
159
  function validateAnswer2(form, answer) {
160
160
  const fields = new Map(form.map((field) => [field.key, field]));
161
161
  for (const key of Object.keys(answer)) {
@@ -307,4 +307,4 @@ function isDateTime(value) {
307
307
  return !Number.isNaN(new Date(value).getTime());
308
308
  }
309
309
 
310
- export { ID14, Info28, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service75, layer25, node80, validateAnswer2, validateFields2, exports_form, Event18 };
310
+ export { ID8, Info20, Field2, Fields2, When2, State3, Answer2, Reply2, NotFoundError6, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service63, layer22, node67, validateAnswer2, validateFields2, exports_form, Event12 };
@@ -1,52 +1,52 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./file-mutation-2a5m3afh.js";
3
+ } from "./location-services-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./file-mutation-p8qxwesx.js";
6
+ } from "./location-services-p8qxwesx.js";
7
7
  import {
8
- Service67
9
- } from "./file-mutation-zjy9mrjh.js";
8
+ Service75
9
+ } from "./location-services-p519a7hj.js";
10
10
  import {
11
- Service64
12
- } from "./file-mutation-62z4m846.js";
11
+ Service47
12
+ } from "./location-services-gm8dhtry.js";
13
13
  import {
14
14
  InvalidPatternError2,
15
- Service18
16
- } from "./file-mutation-w25meggd.js";
15
+ Service20
16
+ } from "./location-services-dts5axtv.js";
17
17
  import {
18
18
  DEFAULT_SEARCH_LIMIT2,
19
19
  DEFAULT_SEARCH_TIMEOUT_MS2,
20
20
  GrepInput2,
21
21
  Entry2,
22
22
  Match2
23
- } from "./file-mutation-0amw245z.js";
23
+ } from "./location-services-m1xpw8ab.js";
24
24
  import {
25
25
  externalDirectoryPermission2,
26
- Service66
27
- } from "./file-mutation-dk2pae67.js";
26
+ Service22
27
+ } from "./location-services-c98sk4k2.js";
28
28
  import {
29
- Service45
30
- } from "./file-mutation-ger17fbp.js";
29
+ Service69
30
+ } from "./location-services-6zrjyzhx.js";
31
31
  import {
32
32
  __export
33
- } from "./file-mutation-9rqn6x4v.js";
33
+ } from "./location-services-9rqn6x4v.js";
34
34
 
35
35
  // src/tool/plugin/grep.ts
36
36
  var exports_grep = {};
37
37
  __export(exports_grep, {
38
38
  GrepTool: () => exports_grep,
39
- Input: () => Input12,
40
- Output: () => Output8,
41
- Plugin: () => Plugin30,
42
- name: () => name12,
43
- toModelContent: () => toModelContent6
39
+ Input: () => Input3,
40
+ Output: () => Output3,
41
+ Plugin: () => Plugin20,
42
+ name: () => name3,
43
+ toModelContent: () => toModelContent3
44
44
  });
45
45
  import { ToolFailure } from "@opencode-ai/ai";
46
46
  import { Effect, Schema } from "effect";
47
47
  import path from "path";
48
- var name12 = "grep";
49
- var Input12 = Schema.Struct({
48
+ var name3 = "grep";
49
+ var Input3 = Schema.Struct({
50
50
  pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
51
51
  description: "Regular expression or literal text to match in file contents."
52
52
  }),
@@ -66,8 +66,8 @@ var Input12 = Schema.Struct({
66
66
  description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
67
67
  })
68
68
  });
69
- var Output8 = Schema.Array(Match2);
70
- var toModelContent6 = (matches, truncated = false) => {
69
+ var Output3 = Schema.Array(Match2);
70
+ var toModelContent3 = (matches, truncated = false) => {
71
71
  const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
72
72
  let current = "";
73
73
  for (const match of matches) {
@@ -84,20 +84,20 @@ var toModelContent6 = (matches, truncated = false) => {
84
84
  return lines.join(`
85
85
  `);
86
86
  };
87
- var Plugin30 = {
87
+ var Plugin20 = {
88
88
  id: "opencode.tool.grep",
89
89
  effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
90
- const environment = yield* Service64;
91
- const ripgrep = yield* Service18;
92
- const location = yield* Service67;
93
- const mutation = yield* Service66;
94
- const permission = yield* Service45;
90
+ const environment = yield* Service47;
91
+ const ripgrep = yield* Service20;
92
+ const location = yield* Service75;
93
+ const mutation = yield* Service22;
94
+ const permission = yield* Service69;
95
95
  yield* ctx.tool.transform((editor) => editor.add({
96
- name: name12,
96
+ name: name3,
97
97
  options: { codemode: false },
98
98
  description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
99
- input: Input12,
100
- output: Output8,
99
+ input: Input3,
100
+ output: Output3,
101
101
  execute: (input, context) => Effect.gen(function* () {
102
102
  const source = { type: "tool", messageID: context.messageID, id: context.id };
103
103
  const target = yield* mutation.resolve({ path: input.path ?? "." });
@@ -109,7 +109,7 @@ var Plugin30 = {
109
109
  source
110
110
  });
111
111
  yield* permission.assert({
112
- action: name12,
112
+ action: name3,
113
113
  resources: [input.pattern],
114
114
  save: ["*"],
115
115
  metadata: {
@@ -151,7 +151,7 @@ var Plugin30 = {
151
151
  return { matches: matches.slice(0, limit), truncated: matches.length > limit };
152
152
  }).pipe(Effect.map((result) => ({
153
153
  output: result.matches,
154
- content: toModelContent6(result.matches.map((match) => ({
154
+ content: toModelContent3(result.matches.map((match) => ({
155
155
  ...match,
156
156
  entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
157
157
  })), result.truncated),
@@ -161,4 +161,4 @@ var Plugin30 = {
161
161
  })
162
162
  };
163
163
 
164
- export { name12, Input12, Output8, toModelContent6, Plugin30, exports_grep };
164
+ export { name3, Input3, Output3, toModelContent3, Plugin20, exports_grep };