@opencode/core 0.0.0-dev-19633 → 0.0.0-dev-19634

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 (783) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{file-trfk6ytm.js → location-activity-03k0eexa.js} +27 -27
  8. package/dist/chunks/{file-csf2jhsg.js → location-activity-06dxphr1.js} +4 -4
  9. package/dist/chunks/{file-reaqst9e.js → location-activity-08nh5zn9.js} +16 -16
  10. package/dist/chunks/{file-1jxs8g3d.js → location-activity-0cepvv5p.js} +6 -6
  11. package/dist/chunks/{file-57ez7d0k.js → location-activity-0ke265bw.js} +5 -5
  12. package/dist/chunks/location-activity-0mesazry.js +4 -0
  13. package/dist/chunks/{file-fqk05stv.js → location-activity-0n7g6cj7.js} +15 -15
  14. package/dist/chunks/{file-0paq2nw3.js → location-activity-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{file-0q0f95c6.js → location-activity-0q0f95c6.js} +1 -1
  16. package/dist/chunks/{file-bct739vz.js → location-activity-0v53mg2y.js} +4 -4
  17. package/dist/chunks/{file-ywv8d6na.js → location-activity-0vk5t9pc.js} +3 -3
  18. package/dist/chunks/{file-yktx02z7.js → location-activity-17zqhntc.js} +10 -10
  19. package/dist/chunks/{file-ggggb6p4.js → location-activity-1ahg1sh0.js} +4 -4
  20. package/dist/chunks/{file-1dazxqgg.js → location-activity-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{file-ratrq7cm.js → location-activity-1g7epwpd.js} +7 -7
  22. package/dist/chunks/{file-tk3067ym.js → location-activity-1t5xpz08.js} +6 -6
  23. package/dist/chunks/{file-v39rhahm.js → location-activity-1w07c5qm.js} +4 -4
  24. package/dist/chunks/{file-21r38tys.js → location-activity-21r38tys.js} +1 -1
  25. package/dist/chunks/{file-2402vzrj.js → location-activity-2402vzrj.js} +1 -1
  26. package/dist/chunks/{file-2a5m3afh.js → location-activity-2a5m3afh.js} +1 -1
  27. package/dist/chunks/{file-bjmdedkt.js → location-activity-2e96adxv.js} +9 -9
  28. package/dist/chunks/{file-ysqbqr9v.js → location-activity-2hhwva0q.js} +9 -9
  29. package/dist/chunks/{file-jyx8080g.js → location-activity-2je136h8.js} +11 -11
  30. package/dist/chunks/{file-btpzzfa7.js → location-activity-2vzzw6jp.js} +28 -28
  31. package/dist/chunks/{file-dwq6ryhm.js → location-activity-3104ney4.js} +8 -8
  32. package/dist/chunks/{file-56gdpj1q.js → location-activity-33w4ejhs.js} +6 -6
  33. package/dist/chunks/{file-3fc6dm20.js → location-activity-3fc6dm20.js} +1 -1
  34. package/dist/chunks/{file-xhdd11xv.js → location-activity-3ga8xbd5.js} +3 -3
  35. package/dist/chunks/{file-3hepkmqq.js → location-activity-3hepkmqq.js} +1 -1
  36. package/dist/chunks/{file-vxkh401z.js → location-activity-3nzecmrt.js} +14 -14
  37. package/dist/chunks/{file-3smtnn6g.js → location-activity-3smtnn6g.js} +1 -1
  38. package/dist/chunks/{file-3tvqynh2.js → location-activity-3tvqynh2.js} +1 -1
  39. package/dist/chunks/{file-22qgyz1x.js → location-activity-43pnnnvw.js} +43 -43
  40. package/dist/chunks/{file-xc3e9g44.js → location-activity-458t80zw.js} +30 -30
  41. package/dist/chunks/{file-cd03251h.js → location-activity-45z7vb86.js} +22 -22
  42. package/dist/chunks/{file-vr7gxye5.js → location-activity-485fr60v.js} +9 -9
  43. package/dist/chunks/{file-q6p28vg6.js → location-activity-4ac3qaja.js} +24 -24
  44. package/dist/chunks/{file-y1qqcj8h.js → location-activity-4c8bw516.js} +8 -8
  45. package/dist/chunks/{file-h6r3nrb9.js → location-activity-4dgbcxzg.js} +4 -4
  46. package/dist/chunks/{file-0mwr2md3.js → location-activity-4rp2yav4.js} +10 -10
  47. package/dist/chunks/{file-qfv7kwmk.js → location-activity-4t0fhshb.js} +86 -86
  48. package/dist/chunks/{file-h8te88f7.js → location-activity-4ty2qzq0.js} +32 -32
  49. package/dist/chunks/{file-mpsnqy3c.js → location-activity-4v16ejc8.js} +47 -47
  50. package/dist/chunks/{file-v2jewarz.js → location-activity-4vmfdbff.js} +24 -24
  51. package/dist/chunks/{file-388ha1kr.js → location-activity-4vzm117m.js} +11 -11
  52. package/dist/chunks/{file-hrfc27x2.js → location-activity-4z00zrw6.js} +56 -56
  53. package/dist/chunks/{file-aecg16pk.js → location-activity-59p8qdqp.js} +15 -15
  54. package/dist/chunks/{file-5c70fjhz.js → location-activity-5c70fjhz.js} +1 -1
  55. package/dist/chunks/{file-5daktx2q.js → location-activity-5daktx2q.js} +1 -1
  56. package/dist/chunks/{file-c4xsvfhx.js → location-activity-5dbhyfh5.js} +2 -2
  57. package/dist/chunks/{file-5bw4mdqz.js → location-activity-5e5w41rp.js} +6 -6
  58. package/dist/chunks/{file-hfm7y40f.js → location-activity-5es8r5yy.js} +18 -18
  59. package/dist/chunks/{file-e3qxr5gk.js → location-activity-5qd3pb7m.js} +2 -2
  60. package/dist/chunks/{file-6j5sab4m.js → location-activity-5qz30sk6.js} +14 -14
  61. package/dist/chunks/{file-5rtg8v4f.js → location-activity-5rtg8v4f.js} +2 -2
  62. package/dist/chunks/{file-5t3nmthw.js → location-activity-5t3nmthw.js} +2 -2
  63. package/dist/chunks/{file-w81nape4.js → location-activity-5xsytjsa.js} +13 -13
  64. package/dist/chunks/{file-havg7an4.js → location-activity-5ykxsbpd.js} +22 -22
  65. package/dist/chunks/{file-ketnx304.js → location-activity-5ytz7yek.js} +3 -3
  66. package/dist/chunks/{file-jp2aae4f.js → location-activity-60apdgrg.js} +17 -17
  67. package/dist/chunks/{file-v7kq0jqq.js → location-activity-624sbt55.js} +18 -18
  68. package/dist/chunks/{file-q1c6gfm2.js → location-activity-64j4absa.js} +22 -22
  69. package/dist/chunks/{file-669tq793.js → location-activity-669tq793.js} +1 -1
  70. package/dist/chunks/{file-rza1nmht.js → location-activity-6797k0jx.js} +54 -54
  71. package/dist/chunks/{file-v7rddagg.js → location-activity-67j7x2y9.js} +15 -15
  72. package/dist/chunks/{file-08gdyecf.js → location-activity-68awae68.js} +15 -15
  73. package/dist/chunks/{file-7yqjxrmz.js → location-activity-6ersrjne.js} +4 -4
  74. package/dist/chunks/{file-a4encqx6.js → location-activity-6h2kpdsd.js} +22 -22
  75. package/dist/chunks/{file-6msgmcgs.js → location-activity-6msgmcgs.js} +1 -1
  76. package/dist/chunks/{file-estyg5p5.js → location-activity-6wp7q8m3.js} +19 -19
  77. package/dist/chunks/{file-36ne1e23.js → location-activity-6zzgfnnp.js} +43 -43
  78. package/dist/chunks/{file-dvbce6e0.js → location-activity-74dyz2va.js} +9 -9
  79. package/dist/chunks/{file-7yk17z6w.js → location-activity-76j2zkm1.js} +8 -8
  80. package/dist/chunks/{file-gw8pa80z.js → location-activity-77em19ny.js} +3 -3
  81. package/dist/chunks/{file-7bmhse3q.js → location-activity-7bmhse3q.js} +1 -1
  82. package/dist/chunks/{file-z1mqgmhk.js → location-activity-7mnesavp.js} +28 -28
  83. package/dist/chunks/{file-nnfbgt4m.js → location-activity-7vvyzmxr.js} +15 -15
  84. package/dist/chunks/{file-24zw8df7.js → location-activity-828jb2vs.js} +3 -3
  85. package/dist/chunks/{file-h71w788e.js → location-activity-82rhge12.js} +9 -9
  86. package/dist/chunks/{file-q09ks72y.js → location-activity-82smkxr2.js} +9 -9
  87. package/dist/chunks/{file-qx85yg7y.js → location-activity-857s70jj.js} +14 -14
  88. package/dist/chunks/{file-nh8yrv9m.js → location-activity-86v6ay1d.js} +9 -9
  89. package/dist/chunks/{file-kn86f5kn.js → location-activity-88qemxbw.js} +11 -11
  90. package/dist/chunks/{file-8d7r5vzw.js → location-activity-8d7r5vzw.js} +1 -1
  91. package/dist/chunks/{file-1hzb5dnf.js → location-activity-8kg2aj4x.js} +38 -38
  92. package/dist/chunks/{file-8p4f9s12.js → location-activity-8p4f9s12.js} +2 -2
  93. package/dist/chunks/{file-hwcf7hy3.js → location-activity-8rbv3bp6.js} +16 -16
  94. package/dist/chunks/{file-n8vja0c5.js → location-activity-8tn4xam9.js} +41 -41
  95. package/dist/chunks/{file-63rgkb2p.js → location-activity-8zj8062m.js} +13 -13
  96. package/dist/chunks/{file-f0kq08np.js → location-activity-906sagcd.js} +16 -16
  97. package/dist/chunks/{file-8ts4f0wa.js → location-activity-97kz9v19.js} +24 -24
  98. package/dist/chunks/{file-f52r61pg.js → location-activity-9a1ma9rw.js} +8 -8
  99. package/dist/chunks/{file-33jbksaf.js → location-activity-9byb4ycz.js} +41 -41
  100. package/dist/chunks/location-activity-9sh4wc5j.js +18 -0
  101. package/dist/chunks/{file-a1bz86dw.js → location-activity-a1bz86dw.js} +3 -3
  102. package/dist/chunks/{file-93h1d1zs.js → location-activity-a4h7akap.js} +6 -6
  103. package/dist/chunks/{file-vsp1fds9.js → location-activity-a8bn8zg0.js} +21 -21
  104. package/dist/chunks/{file-aaet6srn.js → location-activity-aaet6srn.js} +2 -2
  105. package/dist/chunks/{file-b5p7kkhd.js → location-activity-ad5n2mj6.js} +25 -25
  106. package/dist/chunks/{file-asrky1px.js → location-activity-aesb1r43.js} +16 -16
  107. package/dist/chunks/{file-9kb4ne1f.js → location-activity-af63xr5m.js} +35 -35
  108. package/dist/chunks/{file-d1z55vfk.js → location-activity-ajr48ztt.js} +9 -9
  109. package/dist/chunks/{file-jb9s1h96.js → location-activity-aw0bkw4n.js} +20 -20
  110. package/dist/chunks/{file-pkhtpr4x.js → location-activity-b21a51b0.js} +8 -8
  111. package/dist/chunks/{file-b6gygkdw.js → location-activity-b6gygkdw.js} +2 -2
  112. package/dist/chunks/{file-z38cfxs8.js → location-activity-b6ve8meh.js} +26 -26
  113. package/dist/chunks/{file-zfyzxy80.js → location-activity-bhxbyefv.js} +20 -20
  114. package/dist/chunks/{file-3qqhfkar.js → location-activity-bmje757x.js} +9 -9
  115. package/dist/chunks/{file-kz1rrfb1.js → location-activity-bra494j4.js} +10 -10
  116. package/dist/chunks/{file-fjvydvzm.js → location-activity-bscb95cy.js} +4 -4
  117. package/dist/chunks/{file-9qg8fg04.js → location-activity-bygegc7p.js} +19 -19
  118. package/dist/chunks/{file-ts2x07a1.js → location-activity-bz85s9hh.js} +1 -1
  119. package/dist/chunks/{file-c5dg5qah.js → location-activity-c4v5m1fb.js} +3 -3
  120. package/dist/chunks/{file-rmwvaztm.js → location-activity-c51pxcj4.js} +19 -19
  121. package/dist/chunks/{file-k0b1k2q1.js → location-activity-cdy9nwq0.js} +1 -1
  122. package/dist/chunks/{file-cfpkc3c9.js → location-activity-cfpkc3c9.js} +2 -2
  123. package/dist/chunks/{file-5jjjy8t8.js → location-activity-cgfbfj64.js} +10 -10
  124. package/dist/chunks/{file-apyhee51.js → location-activity-cjvkrytv.js} +32 -32
  125. package/dist/chunks/{file-4aywyc6v.js → location-activity-ctsyabgt.js} +5 -5
  126. package/dist/chunks/{file-cwa6csj7.js → location-activity-cwa6csj7.js} +2 -2
  127. package/dist/chunks/{file-gfda2rw4.js → location-activity-d0k04ae2.js} +16 -16
  128. package/dist/chunks/{file-pfbhhdtd.js → location-activity-d1fgk40q.js} +11 -11
  129. package/dist/chunks/{file-hestywzr.js → location-activity-d7gawgh4.js} +4 -4
  130. package/dist/chunks/{file-xc31d4e1.js → location-activity-daqfafcx.js} +17 -17
  131. package/dist/chunks/{file-qwrktqhq.js → location-activity-dbw68bey.js} +20 -20
  132. package/dist/chunks/{file-myw9zgpz.js → location-activity-ddx28pkg.js} +15 -15
  133. package/dist/chunks/{file-bbjrdapj.js → location-activity-denegxrg.js} +3 -3
  134. package/dist/chunks/{file-amxqwxb9.js → location-activity-dgvw86mt.js} +1 -1
  135. package/dist/chunks/{file-mck6zt6s.js → location-activity-djy4s3w8.js} +54 -54
  136. package/dist/chunks/{file-cmwkp3r5.js → location-activity-dv1qgsyq.js} +8 -8
  137. package/dist/chunks/{file-cpkr92p5.js → location-activity-e0g359b6.js} +8 -8
  138. package/dist/chunks/{file-zcrspsvn.js → location-activity-e2hjzebn.js} +4 -4
  139. package/dist/chunks/{file-e5nv3ght.js → location-activity-e5nv3ght.js} +2 -2
  140. package/dist/chunks/{file-a9geq6an.js → location-activity-ed1bc2fk.js} +26 -26
  141. package/dist/chunks/{file-ef5x83kb.js → location-activity-ef5x83kb.js} +1 -1
  142. package/dist/chunks/{file-cym3vtn1.js → location-activity-eh1pcsjb.js} +7 -7
  143. package/dist/chunks/{file-20gnpxcd.js → location-activity-eheadbcn.js} +2 -2
  144. package/dist/chunks/{file-r5x6zcsm.js → location-activity-eq1pz5kg.js} +3 -3
  145. package/dist/chunks/{file-etq0c3wd.js → location-activity-etq0c3wd.js} +1 -1
  146. package/dist/chunks/{file-rwr42tkk.js → location-activity-ewrkvhdm.js} +17 -17
  147. package/dist/chunks/{file-f828m53h.js → location-activity-f828m53h.js} +2 -2
  148. package/dist/chunks/{file-8qvyn53n.js → location-activity-f82gsy3s.js} +11 -11
  149. package/dist/chunks/{file-2k8khapm.js → location-activity-fcrkznn8.js} +5 -5
  150. package/dist/chunks/{file-tgjsfk5w.js → location-activity-fe0sgkgp.js} +12 -12
  151. package/dist/chunks/{file-nez2y5es.js → location-activity-fm3rdqht.js} +17 -17
  152. package/dist/chunks/{file-51f5btjf.js → location-activity-fpq9acqp.js} +6 -6
  153. package/dist/chunks/{file-fxbjtjnd.js → location-activity-fxbjtjnd.js} +1 -1
  154. package/dist/chunks/{file-g7jvb7c9.js → location-activity-g17wn8cw.js} +12 -12
  155. package/dist/chunks/{file-qv7q8zdk.js → location-activity-g9fxbq4t.js} +8 -8
  156. package/dist/chunks/{file-22rr13z9.js → location-activity-gbbkjfay.js} +5 -5
  157. package/dist/chunks/{file-gd4qta3r.js → location-activity-gd4qta3r.js} +1 -1
  158. package/dist/chunks/{file-2nf7qav7.js → location-activity-gp3kd06s.js} +10 -10
  159. package/dist/chunks/{file-jpat3yz2.js → location-activity-gqbhnfc6.js} +21 -21
  160. package/dist/chunks/{file-kmfs3jc4.js → location-activity-gv25b9hk.js} +26 -26
  161. package/dist/chunks/{file-gv6a8nnw.js → location-activity-gv6a8nnw.js} +2 -2
  162. package/dist/chunks/{file-rsdpy3wf.js → location-activity-gzvp2enz.js} +47 -47
  163. package/dist/chunks/{file-h03wrkyp.js → location-activity-h03wrkyp.js} +2 -2
  164. package/dist/chunks/{file-vf8h0b9e.js → location-activity-h0d5zpw8.js} +2 -2
  165. package/dist/chunks/{file-h6vf3j39.js → location-activity-h6vf3j39.js} +1 -1
  166. package/dist/chunks/{file-ec8389mk.js → location-activity-h6z8d5tn.js} +4 -4
  167. package/dist/chunks/{file-mdv2xdqa.js → location-activity-hcjrr87k.js} +32 -32
  168. package/dist/chunks/{file-7ssa17s4.js → location-activity-hcsnm3w3.js} +11 -11
  169. package/dist/chunks/{file-bajakh74.js → location-activity-hfdr1yjj.js} +4 -4
  170. package/dist/chunks/{file-9053hp5s.js → location-activity-hj9g8gj7.js} +24 -24
  171. package/dist/chunks/{file-hjt4xg1x.js → location-activity-hjt4xg1x.js} +1 -1
  172. package/dist/chunks/{file-sjf89ma5.js → location-activity-hk1c8vyd.js} +4 -4
  173. package/dist/chunks/{file-5gvwq26r.js → location-activity-hnzxsa26.js} +15 -15
  174. package/dist/chunks/{file-xv5q61nr.js → location-activity-hrzb5a4q.js} +46 -46
  175. package/dist/chunks/{file-ex563nqe.js → location-activity-j0hg1fhw.js} +15 -15
  176. package/dist/chunks/{file-6d916rqt.js → location-activity-j1c46xdf.js} +9 -9
  177. package/dist/chunks/{file-j56e64zr.js → location-activity-j56e64zr.js} +1 -1
  178. package/dist/chunks/{file-3098jbw5.js → location-activity-jk093xc7.js} +20 -20
  179. package/dist/chunks/{file-qp80rvch.js → location-activity-jm6h2r7k.js} +10 -10
  180. package/dist/chunks/{file-yv7s2srq.js → location-activity-jr96ebry.js} +11 -11
  181. package/dist/chunks/{file-jv01nqvq.js → location-activity-jv01nqvq.js} +2 -2
  182. package/dist/chunks/{file-99fd2cyh.js → location-activity-k0s3vght.js} +14 -14
  183. package/dist/chunks/{file-dbdrkm7d.js → location-activity-k4x8m3jx.js} +11 -11
  184. package/dist/chunks/{file-12s5y6q5.js → location-activity-ka91825f.js} +24 -24
  185. package/dist/chunks/{file-w08fgf6n.js → location-activity-kgryvjyb.js} +24 -24
  186. package/dist/chunks/location-activity-kjwcy8ba.js +247 -0
  187. package/dist/chunks/{file-wsvc6zbt.js → location-activity-kyqhqh76.js} +20 -20
  188. package/dist/chunks/{file-mb48mf1e.js → location-activity-kza62csq.js} +9 -9
  189. package/dist/chunks/{file-a9ws9tp6.js → location-activity-m473011f.js} +149 -149
  190. package/dist/chunks/{file-ah70y75m.js → location-activity-m5z73ybf.js} +4 -4
  191. package/dist/chunks/{file-m9w0rfyh.js → location-activity-m9w0rfyh.js} +1 -1
  192. package/dist/chunks/{file-0w7q9ets.js → location-activity-mek6yvvy.js} +13 -13
  193. package/dist/chunks/{file-5fgw95me.js → location-activity-mg95cf2p.js} +24 -24
  194. package/dist/chunks/{file-6p7btwhh.js → location-activity-mss6c2nq.js} +28 -28
  195. package/dist/chunks/{file-zakcdkb2.js → location-activity-mwfp9aa9.js} +11 -11
  196. package/dist/chunks/{file-0j37mfc2.js → location-activity-mymwj47g.js} +10 -10
  197. package/dist/chunks/{file-znfm1bq2.js → location-activity-n8qb34cr.js} +3 -3
  198. package/dist/chunks/{file-dfv5nr8w.js → location-activity-nekcz3xb.js} +29 -29
  199. package/dist/chunks/{file-6kgc56n8.js → location-activity-nj9fmwgy.js} +6 -6
  200. package/dist/chunks/{file-bzryrp9c.js → location-activity-njce05kc.js} +4 -4
  201. package/dist/chunks/{file-nng2ktcm.js → location-activity-nng2ktcm.js} +2 -2
  202. package/dist/chunks/{file-nscznvay.js → location-activity-nscznvay.js} +2 -2
  203. package/dist/chunks/{file-fz6z0z24.js → location-activity-p2tjnj4y.js} +26 -26
  204. package/dist/chunks/{file-h2tct5hm.js → location-activity-p3ffc6th.js} +3 -3
  205. package/dist/chunks/{file-avm8jn6n.js → location-activity-p44d8wdy.js} +5 -5
  206. package/dist/chunks/{file-h3fpqjd9.js → location-activity-p9bf82zb.js} +15 -15
  207. package/dist/chunks/{file-gssz6jt1.js → location-activity-pcfw4ytb.js} +13 -13
  208. package/dist/chunks/{file-2bbg8wfw.js → location-activity-pjt0tmyv.js} +13 -13
  209. package/dist/chunks/{file-pjvnvgmy.js → location-activity-pjvnvgmy.js} +1 -1
  210. package/dist/chunks/{file-pknna89w.js → location-activity-pknna89w.js} +1 -1
  211. package/dist/chunks/{file-236n6ceq.js → location-activity-prj1dfna.js} +10 -10
  212. package/dist/chunks/{file-x05tasj6.js → location-activity-pttq9aty.js} +27 -27
  213. package/dist/chunks/{file-n5t1yewa.js → location-activity-px3g1yhz.js} +11 -11
  214. package/dist/chunks/{file-xdx7acry.js → location-activity-px76j0pk.js} +9 -9
  215. package/dist/chunks/{file-25tbh0a9.js → location-activity-pxzgjcae.js} +35 -35
  216. package/dist/chunks/{file-y4gsk34f.js → location-activity-q1gpg2vw.js} +20 -20
  217. package/dist/chunks/{file-tj0w0ggk.js → location-activity-q6an3wbr.js} +30 -30
  218. package/dist/chunks/{file-83shcc6r.js → location-activity-q6df46tn.js} +34 -34
  219. package/dist/chunks/{file-c9qrq06s.js → location-activity-q95mpdhc.js} +24 -24
  220. package/dist/chunks/{file-ccex73ek.js → location-activity-qdqcp7gy.js} +13 -13
  221. package/dist/chunks/{file-6d18bct7.js → location-activity-qhhpdnq3.js} +10 -10
  222. package/dist/chunks/{file-gz7yhg24.js → location-activity-qk50xyb4.js} +26 -26
  223. package/dist/chunks/{file-qsdy395h.js → location-activity-qsdy395h.js} +1 -1
  224. package/dist/chunks/{file-y3pfkng4.js → location-activity-qv2g90k7.js} +25 -25
  225. package/dist/chunks/{file-5mt8epf5.js → location-activity-qwd5gyh3.js} +22 -22
  226. package/dist/chunks/{file-qe5hvpyx.js → location-activity-r5nctdyj.js} +11 -11
  227. package/dist/chunks/{file-yp2x3t23.js → location-activity-r8xr0va3.js} +4 -4
  228. package/dist/chunks/{file-r9mregkx.js → location-activity-r9mregkx.js} +2 -2
  229. package/dist/chunks/{file-rdw6cm16.js → location-activity-rdw6cm16.js} +1 -1
  230. package/dist/chunks/{file-7x76c1sj.js → location-activity-rfz3en0a.js} +3 -3
  231. package/dist/chunks/{file-s95gtvp0.js → location-activity-rmdsgb4c.js} +34 -34
  232. package/dist/chunks/location-activity-rz06d95t.js +474 -0
  233. package/dist/chunks/{file-cjwramev.js → location-activity-s4anq1bw.js} +8 -8
  234. package/dist/chunks/{file-t550f9t1.js → location-activity-s8d7rejh.js} +4 -4
  235. package/dist/chunks/{file-dya7y50p.js → location-activity-sbcsw7x3.js} +30 -30
  236. package/dist/chunks/{file-cqc56ez4.js → location-activity-ss7b8w3x.js} +6 -6
  237. package/dist/chunks/{file-qfdya410.js → location-activity-t25tx0ny.js} +7 -7
  238. package/dist/chunks/{file-fv79fttw.js → location-activity-t5cp6zrj.js} +1 -1
  239. package/dist/chunks/{file-tazgh4e4.js → location-activity-tazgh4e4.js} +1 -1
  240. package/dist/chunks/{file-tcezcvh9.js → location-activity-tcezcvh9.js} +1 -1
  241. package/dist/chunks/{file-tdstcens.js → location-activity-tdstcens.js} +1 -1
  242. package/dist/chunks/{file-z3pw5915.js → location-activity-tn0aqsam.js} +5 -5
  243. package/dist/chunks/{file-564ycq4z.js → location-activity-tqt9saaw.js} +23 -23
  244. package/dist/chunks/{file-tvtrv512.js → location-activity-tvtrv512.js} +1 -1
  245. package/dist/chunks/{file-cgng3gqm.js → location-activity-twg49p76.js} +20 -20
  246. package/dist/chunks/{file-2hg7403c.js → location-activity-tz8rbmya.js} +17 -17
  247. package/dist/chunks/{file-m4bjxehm.js → location-activity-v0cp65xe.js} +30 -30
  248. package/dist/chunks/{file-9eg4jjgq.js → location-activity-v27f6r8c.js} +5 -5
  249. package/dist/chunks/location-activity-va9hbjm6.js +26 -0
  250. package/dist/chunks/{file-veqvce7d.js → location-activity-veqvce7d.js} +1 -1
  251. package/dist/chunks/{file-vzcthcp8.js → location-activity-vzcthcp8.js} +1 -1
  252. package/dist/chunks/{file-w3wsvvr9.js → location-activity-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{file-wd87259q.js → location-activity-wd87259q.js} +1 -1
  254. package/dist/chunks/{file-qcx0cfj6.js → location-activity-wpc3sj2f.js} +18 -18
  255. package/dist/chunks/{file-gp1zxvd9.js → location-activity-wy5fhmgr.js} +23 -23
  256. package/dist/chunks/{file-jrw4dqw4.js → location-activity-wyw011zf.js} +11 -11
  257. package/dist/chunks/{file-fvhy57rz.js → location-activity-x0hexr7s.js} +18 -18
  258. package/dist/chunks/{file-x1ezjp6w.js → location-activity-x1ezjp6w.js} +1 -1
  259. package/dist/chunks/{file-4a0nv7mx.js → location-activity-x353b1jt.js} +8 -8
  260. package/dist/chunks/{file-305s6fsh.js → location-activity-xbahze9c.js} +22 -22
  261. package/dist/chunks/{file-z5b2tyzk.js → location-activity-xcr2005v.js} +10 -10
  262. package/dist/chunks/{file-m10hdbyk.js → location-activity-xfrj9n77.js} +24 -24
  263. package/dist/chunks/{file-sr1664q2.js → location-activity-xkqk101e.js} +36 -36
  264. package/dist/chunks/{file-9g3kc011.js → location-activity-xm1e10md.js} +12 -12
  265. package/dist/chunks/{file-mfxefjzv.js → location-activity-xt1m3p2v.js} +84 -84
  266. package/dist/chunks/{file-y1fvbwt7.js → location-activity-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{file-y71avatq.js → location-activity-y71avatq.js} +1 -1
  268. package/dist/chunks/{file-dhwr7h25.js → location-activity-y7x142mt.js} +11 -11
  269. package/dist/chunks/{file-j9psxn98.js → location-activity-ybb10w0w.js} +32 -32
  270. package/dist/chunks/{file-5x56vrz6.js → location-activity-yh6estck.js} +36 -36
  271. package/dist/chunks/{file-srdy1k96.js → location-activity-ykhkzagw.js} +1 -1
  272. package/dist/chunks/{file-dxv1v3h4.js → location-activity-ypaa3ddc.js} +20 -20
  273. package/dist/chunks/{file-yrhqyw5v.js → location-activity-yrhqyw5v.js} +1 -1
  274. package/dist/chunks/{file-s4enseaf.js → location-activity-yrznvahk.js} +2 -2
  275. package/dist/chunks/{file-z0bkrqjs.js → location-activity-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{file-mzhbp9vf.js → location-activity-z2ccthd6.js} +22 -22
  277. package/dist/chunks/{file-29x78va6.js → location-activity-z63w68vq.js} +6 -6
  278. package/dist/chunks/{file-0akazjeg.js → location-activity-z6jgj9qh.js} +5 -5
  279. package/dist/chunks/{file-zeh9ct20.js → location-activity-zeh9ct20.js} +2 -2
  280. package/dist/chunks/{file-fegk541e.js → location-activity-zk8c4w5t.js} +5 -5
  281. package/dist/chunks/{file-zr2ceqn5.js → location-activity-zr2ceqn5.js} +1 -1
  282. package/dist/chunks/{file-5mmf2z69.js → location-activity-zvtx7z4t.js} +4 -4
  283. package/dist/chunks/{file-zxq2ej10.js → location-activity-zxq2ej10.js} +1 -1
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +5 -5
  286. package/dist/codemode/tool.js +2 -2
  287. package/dist/command.js +84 -84
  288. package/dist/config/discovery.js +81 -81
  289. package/dist/config/markdown.js +1 -1
  290. package/dist/config/normalize.js +105 -105
  291. package/dist/config/plugin/agent.js +124 -124
  292. package/dist/config/plugin/command.js +212 -212
  293. package/dist/config/plugin/compaction.js +158 -158
  294. package/dist/config/plugin/compatibility.js +140 -140
  295. package/dist/config/plugin/entry-observer.js +1 -1
  296. package/dist/config/plugin/formatter.js +123 -123
  297. package/dist/config/plugin/image.js +122 -122
  298. package/dist/config/plugin/instruction.js +89 -89
  299. package/dist/config/plugin/location-watcher.js +122 -122
  300. package/dist/config/plugin/mcp.js +131 -131
  301. package/dist/config/plugin/policy.js +122 -122
  302. package/dist/config/plugin/provider.js +122 -122
  303. package/dist/config/plugin/reference.js +124 -124
  304. package/dist/config/plugin/shell.js +122 -122
  305. package/dist/config/plugin/skill-file.js +101 -101
  306. package/dist/config/plugin/skill.js +143 -143
  307. package/dist/config/plugin/snapshot.js +122 -122
  308. package/dist/config/plugin/source.js +125 -125
  309. package/dist/config/plugin/tool-output.js +124 -124
  310. package/dist/config/plugin/websearch.js +121 -121
  311. package/dist/config/plugin/worktree.js +124 -124
  312. package/dist/config/variable.js +3 -3
  313. package/dist/config/watch.js +1 -1
  314. package/dist/config.js +127 -127
  315. package/dist/credential/sql.js +2 -2
  316. package/dist/credential.js +80 -80
  317. package/dist/database/database.js +65 -65
  318. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  319. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  320. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  321. package/dist/database/drizzle/index.js +13 -13
  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 +14 -14
  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/20260910120000_clear_v1_session_permission.js +1 -1
  381. package/dist/database/migration.gen.js +48 -48
  382. package/dist/database/migration.js +50 -50
  383. package/dist/database/path.js +2 -2
  384. package/dist/database/schema.gen.js +1 -1
  385. package/dist/database/schema.sql.js +1 -1
  386. package/dist/database/sqlite.bun.js +1 -1
  387. package/dist/database/sqlite.js +1 -1
  388. package/dist/database/sqlite.node.js +1 -1
  389. package/dist/database/sqlite.workerd.js +1 -1
  390. package/dist/database/v1-migration.bun.js +75 -75
  391. package/dist/database/v1-migration.js +1 -1
  392. package/dist/effect/app-node-builder.js +362 -362
  393. package/dist/effect/app-node-platform.js +2 -2
  394. package/dist/effect/keyed-mutex.js +1 -1
  395. package/dist/effect/websocket-constructor.js +1 -1
  396. package/dist/environment/driver.js +1 -1
  397. package/dist/environment/environment.js +92 -92
  398. package/dist/environment/exec-defaults.js +2 -2
  399. package/dist/environment/files.js +1 -1
  400. package/dist/environment/index.js +94 -94
  401. package/dist/environment/local.js +2 -2
  402. package/dist/environment/memory.js +2 -2
  403. package/dist/environment/unavailable.js +1 -1
  404. package/dist/event/sql.js +1 -1
  405. package/dist/event-logger.js +69 -69
  406. package/dist/file-access.js +103 -103
  407. package/dist/file-mutation.js +93 -93
  408. package/dist/file-retention.js +1 -1
  409. package/dist/file.js +1 -1
  410. package/dist/filesystem/fff.bun.js +2 -2
  411. package/dist/filesystem/fff.js +1 -1
  412. package/dist/filesystem/fff.node.js +2 -2
  413. package/dist/filesystem/fff.workerd.js +2 -2
  414. package/dist/filesystem/ignore.js +1 -1
  415. package/dist/filesystem/location-watcher-policy.js +2 -2
  416. package/dist/filesystem/location-watcher.js +223 -223
  417. package/dist/filesystem/protected.js +1 -1
  418. package/dist/filesystem/search.js +102 -102
  419. package/dist/filesystem/watcher-binding.js +3 -3
  420. package/dist/filesystem/watcher.js +13 -13
  421. package/dist/filesystem.js +105 -105
  422. package/dist/form.js +83 -83
  423. package/dist/formatter/builtins.js +4 -4
  424. package/dist/formatter.js +86 -86
  425. package/dist/generate.js +100 -100
  426. package/dist/git.js +10 -10
  427. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  428. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  429. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  430. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  431. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  433. package/dist/github-copilot/copilot-provider.js +17 -17
  434. package/dist/github-copilot/models.js +98 -98
  435. package/dist/github-copilot/openai-compatible-error.js +1 -1
  436. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  437. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  438. package/dist/github-copilot/responses/openai-error.js +1 -1
  439. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  440. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  441. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  442. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  443. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  444. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  446. package/dist/id/id.js +1 -1
  447. package/dist/image/photon.js +2 -2
  448. package/dist/image.js +6 -6
  449. package/dist/instance/service.js +5 -5
  450. package/dist/instance.js +353 -353
  451. package/dist/instruction-discovery.js +84 -84
  452. package/dist/instructions/builtins.js +86 -86
  453. package/dist/instructions/index.js +3 -3
  454. package/dist/integration/connection.js +3 -3
  455. package/dist/integration.js +83 -83
  456. package/dist/job.js +78 -78
  457. package/dist/kv/sql.js +2 -2
  458. package/dist/kv.js +72 -72
  459. package/dist/location-activity.js +131 -131
  460. package/dist/location-mutation.js +103 -103
  461. package/dist/location-service-map.js +85 -85
  462. package/dist/location-services.js +350 -350
  463. package/dist/location.js +84 -84
  464. package/dist/mcp/client.js +90 -90
  465. package/dist/mcp/index.js +105 -105
  466. package/dist/mcp/instructions.js +124 -124
  467. package/dist/mcp/oauth.js +77 -77
  468. package/dist/mcp/stdio.js +89 -89
  469. package/dist/mime.js +1 -1
  470. package/dist/modal/models.js +98 -98
  471. package/dist/model-resolver.js +97 -97
  472. package/dist/model.js +99 -99
  473. package/dist/models-dev.js +106 -106
  474. package/dist/oauth/page.js +1 -1
  475. package/dist/permission/saved.js +81 -81
  476. package/dist/permission/sql.js +5 -5
  477. package/dist/permission.js +112 -112
  478. package/dist/persistent-pty/binary.bun.js +1 -1
  479. package/dist/persistent-pty/daemon.js +1 -1
  480. package/dist/persistent-pty/index.js +85 -85
  481. package/dist/persistent-pty/pty-binding.js +1 -1
  482. package/dist/persistent-pty.js +74 -74
  483. package/dist/plugin/agent.js +103 -103
  484. package/dist/plugin/command.js +100 -100
  485. package/dist/plugin/hooks.js +5 -5
  486. package/dist/plugin/host.js +216 -216
  487. package/dist/plugin/instance.js +5 -5
  488. package/dist/plugin/internal.js +325 -325
  489. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  490. package/dist/plugin/models-dev.js +95 -95
  491. package/dist/plugin/module.js +5 -5
  492. package/dist/plugin/optimize.js +2 -2
  493. package/dist/plugin/plan.js +101 -101
  494. package/dist/plugin/promise.js +1 -1
  495. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  496. package/dist/plugin/provider/azure.js +121 -121
  497. package/dist/plugin/provider/cerebras.js +1 -1
  498. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  499. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  500. package/dist/plugin/provider/cohere.js +2 -2
  501. package/dist/plugin/provider/configured.js +118 -118
  502. package/dist/plugin/provider/digitalocean.js +92 -92
  503. package/dist/plugin/provider/dynamic.js +2 -2
  504. package/dist/plugin/provider/factory.js +1 -1
  505. package/dist/plugin/provider/gateway.js +2 -2
  506. package/dist/plugin/provider/github-copilot.js +92 -92
  507. package/dist/plugin/provider/gitlab.js +90 -90
  508. package/dist/plugin/provider/google-vertex.js +89 -89
  509. package/dist/plugin/provider/kilo.js +1 -1
  510. package/dist/plugin/provider/llmgateway.js +76 -76
  511. package/dist/plugin/provider/lmstudio.js +121 -121
  512. package/dist/plugin/provider/modal.js +91 -91
  513. package/dist/plugin/provider/nvidia.js +1 -1
  514. package/dist/plugin/provider/ollama.js +121 -121
  515. package/dist/plugin/provider/openai.js +91 -91
  516. package/dist/plugin/provider/opencode.js +92 -92
  517. package/dist/plugin/provider/openrouter.js +90 -90
  518. package/dist/plugin/provider/perplexity.js +2 -2
  519. package/dist/plugin/provider/poe.js +77 -77
  520. package/dist/plugin/provider/sap-ai-core.js +90 -90
  521. package/dist/plugin/provider/sdk-factory.js +1 -1
  522. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  523. package/dist/plugin/provider/venice.js +2 -2
  524. package/dist/plugin/provider/vercel.js +89 -89
  525. package/dist/plugin/provider/vllm.js +121 -121
  526. package/dist/plugin/provider/xai.js +90 -90
  527. package/dist/plugin/provider/zenmux.js +1 -1
  528. package/dist/plugin/provider.js +157 -157
  529. package/dist/plugin/sdk.js +75 -75
  530. package/dist/plugin/service.js +3 -3
  531. package/dist/plugin/skill.js +140 -140
  532. package/dist/plugin/source-directory.js +1 -1
  533. package/dist/plugin/supervisor.js +342 -342
  534. package/dist/plugin/update.js +6 -6
  535. package/dist/plugin/vcs/git.js +85 -85
  536. package/dist/plugin/vcs/hg.js +85 -85
  537. package/dist/plugin/warming.js +120 -120
  538. package/dist/plugin/websearch/exa.js +7 -7
  539. package/dist/plugin/websearch/firecrawl.js +8 -8
  540. package/dist/plugin/websearch/index.js +9 -9
  541. package/dist/plugin/websearch/mcp.js +4 -4
  542. package/dist/plugin/websearch/parallel.js +6 -6
  543. package/dist/plugin/websearch/tavily.js +6 -6
  544. package/dist/plugin/websearch/tinyfish.js +8 -8
  545. package/dist/plugin.js +227 -227
  546. package/dist/project/schema.js +4 -4
  547. package/dist/project/sql.js +4 -4
  548. package/dist/project.js +83 -83
  549. package/dist/provider.js +96 -96
  550. package/dist/pty/protocol.js +1 -1
  551. package/dist/pty/schema.js +3 -3
  552. package/dist/pty/ticket.js +1 -1
  553. package/dist/pty.js +97 -97
  554. package/dist/reference/instructions.js +88 -88
  555. package/dist/reference.js +88 -88
  556. package/dist/repository-cache.js +80 -80
  557. package/dist/repository.js +1 -1
  558. package/dist/ripgrep/binary.js +2 -2
  559. package/dist/ripgrep.js +96 -96
  560. package/dist/rpc.js +85 -85
  561. package/dist/schema.js +1 -1
  562. package/dist/session/command.js +73 -73
  563. package/dist/session/compaction.js +132 -132
  564. package/dist/session/context.js +150 -150
  565. package/dist/session/diff.js +87 -87
  566. package/dist/session/environment.js +5 -5
  567. package/dist/session/error.js +7 -7
  568. package/dist/session/event.js +1 -1
  569. package/dist/session/execution/restart.js +219 -219
  570. package/dist/session/execution.js +127 -127
  571. package/dist/session/generate.js +149 -149
  572. package/dist/session/history.js +15 -15
  573. package/dist/session/inbox.js +89 -89
  574. package/dist/session/info.js +3 -3
  575. package/dist/session/instruction-entry.js +78 -78
  576. package/dist/session/instruction-state.js +8 -8
  577. package/dist/session/instructions.js +96 -96
  578. package/dist/session/message-updater.js +2 -2
  579. package/dist/session/message.js +1 -1
  580. package/dist/session/model-request.js +117 -117
  581. package/dist/session/model-transport.js +9 -9
  582. package/dist/session/move.js +129 -129
  583. package/dist/session/projector.js +85 -85
  584. package/dist/session/prompt.js +104 -104
  585. package/dist/session/provider-context.js +3 -3
  586. package/dist/session/revert.js +89 -89
  587. package/dist/session/run-coordinator.js +3 -3
  588. package/dist/session/runner/index.js +3 -3
  589. package/dist/session/runner/llm.js +226 -226
  590. package/dist/session/runner/max-steps.js +1 -1
  591. package/dist/session/runner/model.js +97 -97
  592. package/dist/session/runner/publish-llm-event.js +3 -3
  593. package/dist/session/runner/retry.js +113 -113
  594. package/dist/session/runner/step.js +122 -122
  595. package/dist/session/runner/to-llm-message.js +2 -2
  596. package/dist/session/schema.js +1 -1
  597. package/dist/session/session.js +169 -169
  598. package/dist/session/shell.js +137 -137
  599. package/dist/session/skill.js +102 -102
  600. package/dist/session/sql.js +5 -5
  601. package/dist/session/stats.js +72 -72
  602. package/dist/session/store.js +86 -86
  603. package/dist/session/subagent-completion.js +1 -1
  604. package/dist/session/subagent-job.js +208 -208
  605. package/dist/session/system-prompt.js +1 -1
  606. package/dist/session/title.js +148 -148
  607. package/dist/session/to-session-error.js +110 -110
  608. package/dist/session/transfer.js +213 -213
  609. package/dist/session/usage.js +1 -1
  610. package/dist/session.js +214 -214
  611. package/dist/shell/parse.js +6 -6
  612. package/dist/shell/result.js +1 -1
  613. package/dist/shell/scan.js +1 -1
  614. package/dist/shell/select.js +15 -15
  615. package/dist/shell.js +139 -139
  616. package/dist/skill/discovery.js +2 -2
  617. package/dist/skill/instructions.js +104 -104
  618. package/dist/skill.js +109 -109
  619. package/dist/snapshot.js +92 -92
  620. package/dist/state.js +1 -1
  621. package/dist/tool/html-markdown.js +1 -1
  622. package/dist/tool/http-body.js +1 -1
  623. package/dist/tool/mcp.js +123 -123
  624. package/dist/tool/plugin/edit.js +119 -119
  625. package/dist/tool/plugin/file-diff.js +1 -1
  626. package/dist/tool/plugin/glob.js +123 -123
  627. package/dist/tool/plugin/grep.js +121 -121
  628. package/dist/tool/plugin/opencode.js +1 -1
  629. package/dist/tool/plugin/patch.js +121 -121
  630. package/dist/tool/plugin/question.js +104 -104
  631. package/dist/tool/plugin/read.js +122 -122
  632. package/dist/tool/plugin/shell.js +213 -213
  633. package/dist/tool/plugin/skill.js +110 -110
  634. package/dist/tool/plugin/subagent.js +217 -217
  635. package/dist/tool/plugin/webfetch.js +109 -109
  636. package/dist/tool/plugin/websearch.js +111 -111
  637. package/dist/tool/plugin/write.js +119 -119
  638. package/dist/tool/read-filesystem.js +99 -99
  639. package/dist/tool/runtime.js +1 -1
  640. package/dist/tool-output.js +8 -8
  641. package/dist/tool.js +13 -13
  642. package/dist/util/error-summary.js +1 -1
  643. package/dist/util/error.js +1 -1
  644. package/dist/util/git-executable.js +2 -2
  645. package/dist/util/iife.js +1 -1
  646. package/dist/util/lazy.js +1 -1
  647. package/dist/util/slug.js +1 -1
  648. package/dist/util/token.js +1 -1
  649. package/dist/util/which.js +1 -1
  650. package/dist/util/wildcard.js +1 -1
  651. package/dist/v1/config/agent.js +7 -7
  652. package/dist/v1/config/attachment.js +4 -4
  653. package/dist/v1/config/command.js +5 -5
  654. package/dist/v1/config/config.js +16 -16
  655. package/dist/v1/config/error.js +4 -4
  656. package/dist/v1/config/formatter.js +3 -3
  657. package/dist/v1/config/layout.js +1 -1
  658. package/dist/v1/config/lsp.js +3 -3
  659. package/dist/v1/config/mcp.js +4 -4
  660. package/dist/v1/config/migrate.js +91 -91
  661. package/dist/v1/config/permission.js +7 -7
  662. package/dist/v1/config/plugin.js +3 -3
  663. package/dist/v1/config/provider-options.js +1 -1
  664. package/dist/v1/config/provider.js +2 -2
  665. package/dist/v1/config/server.js +2 -2
  666. package/dist/v1/config/skills.js +3 -3
  667. package/dist/v1/permission.js +1 -1
  668. package/dist/variant.js +90 -90
  669. package/dist/vcs/patch.js +1 -1
  670. package/dist/vcs.js +88 -88
  671. package/dist/websearch.js +83 -83
  672. package/dist/wellknown/plugin.js +75 -75
  673. package/dist/wellknown.js +80 -80
  674. package/dist/workspace/driver.js +7 -7
  675. package/dist/workspace/sql.js +1 -1
  676. package/dist/workspace.js +79 -79
  677. package/dist/worktree/directory.js +2 -2
  678. package/dist/worktree/git.js +8 -8
  679. package/dist/worktree/sql.js +5 -5
  680. package/dist/worktree/strategies.js +88 -88
  681. package/dist/worktree.js +95 -95
  682. package/package.json +8 -8
  683. package/dist/chunks/file-619r8v3y.js +0 -18
  684. package/dist/chunks/file-9jbarykq.js +0 -26
  685. package/dist/chunks/file-h47he10w.js +0 -4
  686. package/dist/chunks/file-tqgcjhcb.js +0 -247
  687. package/dist/chunks/file-xz51q8fv.js +0 -474
  688. /package/dist/chunks/{file-0qkdqm5v.js → location-activity-0qkdqm5v.js} +0 -0
  689. /package/dist/chunks/{file-0zkw76rk.js → location-activity-0zkw76rk.js} +0 -0
  690. /package/dist/chunks/{file-17cy0kzp.js → location-activity-17cy0kzp.js} +0 -0
  691. /package/dist/chunks/{file-1cnp2v09.js → location-activity-1cnp2v09.js} +0 -0
  692. /package/dist/chunks/{file-1kg9ymc8.js → location-activity-1kg9ymc8.js} +0 -0
  693. /package/dist/chunks/{file-24dcb14g.js → location-activity-24dcb14g.js} +0 -0
  694. /package/dist/chunks/{file-2710q6r3.js → location-activity-2710q6r3.js} +0 -0
  695. /package/dist/chunks/{file-2axfhc9x.js → location-activity-2axfhc9x.js} +0 -0
  696. /package/dist/chunks/{file-2c3vjs8z.js → location-activity-2c3vjs8z.js} +0 -0
  697. /package/dist/chunks/{file-359p4xyc.js → location-activity-359p4xyc.js} +0 -0
  698. /package/dist/chunks/{file-3asan66x.js → location-activity-3asan66x.js} +0 -0
  699. /package/dist/chunks/{file-3v8g72cx.js → location-activity-3v8g72cx.js} +0 -0
  700. /package/dist/chunks/{file-3w5fmr99.js → location-activity-3w5fmr99.js} +0 -0
  701. /package/dist/chunks/{file-3wcehsnq.js → location-activity-3wcehsnq.js} +0 -0
  702. /package/dist/chunks/{file-43n2bw4t.js → location-activity-43n2bw4t.js} +0 -0
  703. /package/dist/chunks/{file-4knz6hnm.js → location-activity-4knz6hnm.js} +0 -0
  704. /package/dist/chunks/{file-4vcrnpx2.js → location-activity-4vcrnpx2.js} +0 -0
  705. /package/dist/chunks/{file-4y7fprxs.js → location-activity-4y7fprxs.js} +0 -0
  706. /package/dist/chunks/{file-53557ph1.js → location-activity-53557ph1.js} +0 -0
  707. /package/dist/chunks/{file-550bvhaj.js → location-activity-550bvhaj.js} +0 -0
  708. /package/dist/chunks/{file-6prwharc.js → location-activity-6prwharc.js} +0 -0
  709. /package/dist/chunks/{file-7akdwqpd.js → location-activity-7akdwqpd.js} +0 -0
  710. /package/dist/chunks/{file-7m9af43g.js → location-activity-7m9af43g.js} +0 -0
  711. /package/dist/chunks/{file-7w99qc9d.js → location-activity-7w99qc9d.js} +0 -0
  712. /package/dist/chunks/{file-822emrt2.js → location-activity-822emrt2.js} +0 -0
  713. /package/dist/chunks/{file-88xbtdfr.js → location-activity-88xbtdfr.js} +0 -0
  714. /package/dist/chunks/{file-8n3pysct.js → location-activity-8n3pysct.js} +0 -0
  715. /package/dist/chunks/{file-922hggd3.js → location-activity-922hggd3.js} +0 -0
  716. /package/dist/chunks/{file-9a4afbnw.js → location-activity-9a4afbnw.js} +0 -0
  717. /package/dist/chunks/{file-9rqn6x4v.js → location-activity-9rqn6x4v.js} +0 -0
  718. /package/dist/chunks/{file-a6k6eb26.js → location-activity-a6k6eb26.js} +0 -0
  719. /package/dist/chunks/{file-af5trqkr.js → location-activity-af5trqkr.js} +0 -0
  720. /package/dist/chunks/{file-afrmfg78.js → location-activity-afrmfg78.js} +0 -0
  721. /package/dist/chunks/{file-aqzs7mqg.js → location-activity-aqzs7mqg.js} +0 -0
  722. /package/dist/chunks/{file-atq7p7m5.js → location-activity-atq7p7m5.js} +0 -0
  723. /package/dist/chunks/{file-bkyjaxrp.js → location-activity-bkyjaxrp.js} +0 -0
  724. /package/dist/chunks/{file-bmr6ed5q.js → location-activity-bmr6ed5q.js} +0 -0
  725. /package/dist/chunks/{file-cf4snx6d.js → location-activity-cf4snx6d.js} +0 -0
  726. /package/dist/chunks/{file-cvy3z8tj.js → location-activity-cvy3z8tj.js} +0 -0
  727. /package/dist/chunks/{file-d9fn303g.js → location-activity-d9fn303g.js} +0 -0
  728. /package/dist/chunks/{file-d9jj8t3e.js → location-activity-d9jj8t3e.js} +0 -0
  729. /package/dist/chunks/{file-dajrwvna.js → location-activity-dajrwvna.js} +0 -0
  730. /package/dist/chunks/{file-dap0rakb.js → location-activity-dap0rakb.js} +0 -0
  731. /package/dist/chunks/{file-df08tz66.js → location-activity-df08tz66.js} +0 -0
  732. /package/dist/chunks/{file-dy18nga0.js → location-activity-dy18nga0.js} +0 -0
  733. /package/dist/chunks/{file-e5kj55wp.js → location-activity-e5kj55wp.js} +0 -0
  734. /package/dist/chunks/{file-e73j6tqm.js → location-activity-e73j6tqm.js} +0 -0
  735. /package/dist/chunks/{file-ec1grn59.js → location-activity-ec1grn59.js} +0 -0
  736. /package/dist/chunks/{file-eh3zwz77.js → location-activity-eh3zwz77.js} +0 -0
  737. /package/dist/chunks/{file-emrn6kk6.js → location-activity-emrn6kk6.js} +0 -0
  738. /package/dist/chunks/{file-f0mxakyp.js → location-activity-f0mxakyp.js} +0 -0
  739. /package/dist/chunks/{file-f6n9ztr4.js → location-activity-f6n9ztr4.js} +0 -0
  740. /package/dist/chunks/{file-faypxj3z.js → location-activity-faypxj3z.js} +0 -0
  741. /package/dist/chunks/{file-fd410y7t.js → location-activity-fd410y7t.js} +0 -0
  742. /package/dist/chunks/{file-fxgpk5d8.js → location-activity-fxgpk5d8.js} +0 -0
  743. /package/dist/chunks/{file-g4wezp1m.js → location-activity-g4wezp1m.js} +0 -0
  744. /package/dist/chunks/{file-g86h250q.js → location-activity-g86h250q.js} +0 -0
  745. /package/dist/chunks/{file-gebd4c9n.js → location-activity-gebd4c9n.js} +0 -0
  746. /package/dist/chunks/{file-gftt206x.js → location-activity-gftt206x.js} +0 -0
  747. /package/dist/chunks/{file-hjbc5kem.js → location-activity-hjbc5kem.js} +0 -0
  748. /package/dist/chunks/{file-hk9envan.js → location-activity-hk9envan.js} +0 -0
  749. /package/dist/chunks/{file-j2ntwpah.js → location-activity-j2ntwpah.js} +0 -0
  750. /package/dist/chunks/{file-j5zkgpj8.js → location-activity-j5zkgpj8.js} +0 -0
  751. /package/dist/chunks/{file-jjkms2e6.js → location-activity-jjkms2e6.js} +0 -0
  752. /package/dist/chunks/{file-jr7sbwjy.js → location-activity-jr7sbwjy.js} +0 -0
  753. /package/dist/chunks/{file-jwfs4k6c.js → location-activity-jwfs4k6c.js} +0 -0
  754. /package/dist/chunks/{file-jzg6c2d5.js → location-activity-jzg6c2d5.js} +0 -0
  755. /package/dist/chunks/{file-mp448xyj.js → location-activity-mp448xyj.js} +0 -0
  756. /package/dist/chunks/{file-msx8hqn2.js → location-activity-msx8hqn2.js} +0 -0
  757. /package/dist/chunks/{file-n05xt0ee.js → location-activity-n05xt0ee.js} +0 -0
  758. /package/dist/chunks/{file-n3j8tn72.js → location-activity-n3j8tn72.js} +0 -0
  759. /package/dist/chunks/{file-njntx4h6.js → location-activity-njntx4h6.js} +0 -0
  760. /package/dist/chunks/{file-q3sfg36h.js → location-activity-q3sfg36h.js} +0 -0
  761. /package/dist/chunks/{file-q74kybfr.js → location-activity-q74kybfr.js} +0 -0
  762. /package/dist/chunks/{file-qaymkmh1.js → location-activity-qaymkmh1.js} +0 -0
  763. /package/dist/chunks/{file-qb87gjwd.js → location-activity-qb87gjwd.js} +0 -0
  764. /package/dist/chunks/{file-qfa1cgps.js → location-activity-qfa1cgps.js} +0 -0
  765. /package/dist/chunks/{file-qg3g05ea.js → location-activity-qg3g05ea.js} +0 -0
  766. /package/dist/chunks/{file-qrg20bc0.js → location-activity-qrg20bc0.js} +0 -0
  767. /package/dist/chunks/{file-rcb2kzg1.js → location-activity-rcb2kzg1.js} +0 -0
  768. /package/dist/chunks/{file-sdp7kfr6.js → location-activity-sdp7kfr6.js} +0 -0
  769. /package/dist/chunks/{file-sk3qaz4a.js → location-activity-sk3qaz4a.js} +0 -0
  770. /package/dist/chunks/{file-ssg3fenm.js → location-activity-ssg3fenm.js} +0 -0
  771. /package/dist/chunks/{file-twg0f83k.js → location-activity-twg0f83k.js} +0 -0
  772. /package/dist/chunks/{file-w803qqfp.js → location-activity-w803qqfp.js} +0 -0
  773. /package/dist/chunks/{file-wc3fc9cn.js → location-activity-wc3fc9cn.js} +0 -0
  774. /package/dist/chunks/{file-wer8tq1h.js → location-activity-wer8tq1h.js} +0 -0
  775. /package/dist/chunks/{file-wtztk69x.js → location-activity-wtztk69x.js} +0 -0
  776. /package/dist/chunks/{file-x0ckcb58.js → location-activity-x0ckcb58.js} +0 -0
  777. /package/dist/chunks/{file-x61499pn.js → location-activity-x61499pn.js} +0 -0
  778. /package/dist/chunks/{file-y44na4kk.js → location-activity-y44na4kk.js} +0 -0
  779. /package/dist/chunks/{file-y8cydn3q.js → location-activity-y8cydn3q.js} +0 -0
  780. /package/dist/chunks/{file-y8f7s663.js → location-activity-y8f7s663.js} +0 -0
  781. /package/dist/chunks/{file-ygaqb7jw.js → location-activity-ygaqb7jw.js} +0 -0
  782. /package/dist/chunks/{file-ym463w8f.js → location-activity-ym463w8f.js} +0 -0
  783. /package/dist/chunks/{file-z9919s4g.js → location-activity-z9919s4g.js} +0 -0
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./file-2a5m3afh.js";
3
+ } from "./location-activity-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./file-922hggd3.js";
6
+ } from "./location-activity-922hggd3.js";
7
7
  import {
8
- Service78
9
- } from "./file-6j5sab4m.js";
8
+ Service76
9
+ } from "./location-activity-5qz30sk6.js";
10
10
  import {
11
- Service69
12
- } from "./file-m10hdbyk.js";
11
+ Service52
12
+ } from "./location-activity-xfrj9n77.js";
13
13
  import {
14
- Service58
15
- } from "./file-qcx0cfj6.js";
14
+ Service26
15
+ } from "./location-activity-wpc3sj2f.js";
16
16
  import {
17
17
  DEFAULT_SEARCH_LIMIT2,
18
18
  DEFAULT_SEARCH_TIMEOUT_MS2,
19
19
  GlobInput2,
20
20
  Entry2
21
- } from "./file-m4bjxehm.js";
21
+ } from "./location-activity-v0cp65xe.js";
22
22
  import {
23
- Service45
24
- } from "./file-mck6zt6s.js";
23
+ Service61
24
+ } from "./location-activity-djy4s3w8.js";
25
25
  import {
26
- Service18
27
- } from "./file-hfm7y40f.js";
26
+ Service24
27
+ } from "./location-activity-5es8r5yy.js";
28
28
  import {
29
29
  __export
30
- } from "./file-9rqn6x4v.js";
30
+ } from "./location-activity-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/glob.ts
33
33
  var exports_glob = {};
34
34
  __export(exports_glob, {
35
35
  GlobTool: () => exports_glob,
36
- Input: () => Input12,
37
- Output: () => Output8,
38
- Plugin: () => Plugin13,
39
- name: () => name12,
40
- toModelContent: () => toModelContent6
36
+ Input: () => Input5,
37
+ Output: () => Output2,
38
+ Plugin: () => Plugin6,
39
+ name: () => name5,
40
+ toModelContent: () => toModelContent3
41
41
  });
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import path from "path";
45
- var name12 = "glob";
46
- var Input12 = Schema.Struct({
45
+ var name5 = "glob";
46
+ var Input5 = Schema.Struct({
47
47
  pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
48
48
  path: Schema.optionalKey(RelativePath2).annotate({
49
49
  description: "Directory to search. Defaults to the current working directory."
@@ -55,35 +55,35 @@ var Input12 = Schema.Struct({
55
55
  description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
56
56
  })
57
57
  });
58
- var Output8 = Schema.Array(Entry2);
59
- var toModelContent6 = (entries, truncated = false) => {
58
+ var Output2 = Schema.Array(Entry2);
59
+ var toModelContent3 = (entries, truncated = false) => {
60
60
  const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
61
61
  if (truncated)
62
62
  lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
63
63
  return lines.join(`
64
64
  `);
65
65
  };
66
- var Plugin13 = {
66
+ var Plugin6 = {
67
67
  id: "opencode.tool.glob",
68
68
  effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
69
- const environment = yield* Service69;
70
- const ripgrep = yield* Service58;
71
- const location = yield* Service78;
72
- const access = yield* Service18;
73
- const permission = yield* Service45;
69
+ const environment = yield* Service52;
70
+ const ripgrep = yield* Service26;
71
+ const location = yield* Service76;
72
+ const access = yield* Service24;
73
+ const permission = yield* Service61;
74
74
  yield* ctx.tool.transform((editor) => editor.add({
75
- name: name12,
75
+ name: name5,
76
76
  options: { codemode: false },
77
77
  description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
78
- input: Input12,
79
- output: Output8,
78
+ input: Input5,
79
+ output: Output2,
80
80
  execute: (input, context) => Effect.gen(function* () {
81
81
  const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
82
82
  const source = { type: "tool", messageID: context.messageID, id: context.id };
83
83
  const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
84
84
  yield* access.authorizeExternal([target], context);
85
85
  yield* permission.assert({
86
- action: name12,
86
+ action: name5,
87
87
  resources: [input.pattern],
88
88
  save: ["*"],
89
89
  metadata: {
@@ -118,11 +118,11 @@ var Plugin13 = {
118
118
  return { entries: entries.slice(0, limit), truncated: entries.length > limit };
119
119
  }).pipe(Effect.map((result) => ({
120
120
  output: result.entries,
121
- content: toModelContent6(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
121
+ content: toModelContent3(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
122
122
  metadata: { count: result.entries.length, truncated: result.truncated }
123
123
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
124
124
  })).pipe(Effect.orDie);
125
125
  })
126
126
  };
127
127
 
128
- export { name12, Input12, Output8, toModelContent6, Plugin13, exports_glob };
128
+ export { name5, Input5, Output2, toModelContent3, Plugin6, exports_glob };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  Service81,
3
3
  node85
4
- } from "./file-v39rhahm.js";
4
+ } from "./location-activity-1w07c5qm.js";
5
5
  import {
6
6
  PATCH_CONTEXT_LINES2,
7
7
  MAX_TOTAL_PATCH_BYTES2,
8
8
  emptyPatch2
9
- } from "./file-tazgh4e4.js";
9
+ } from "./location-activity-tazgh4e4.js";
10
10
  import {
11
- Service78,
12
- node82
13
- } from "./file-6j5sab4m.js";
11
+ Service76,
12
+ node80
13
+ } from "./location-activity-5qz30sk6.js";
14
14
  import {
15
15
  reconcile2,
16
16
  create3
17
- } from "./file-rdw6cm16.js";
17
+ } from "./location-activity-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./file-9rqn6x4v.js";
20
+ } from "./location-activity-9rqn6x4v.js";
21
21
 
22
22
  // src/vcs.ts
23
23
  var exports_vcs = {};
@@ -26,17 +26,17 @@ __export(exports_vcs, {
26
26
  BranchList: () => BranchList2,
27
27
  DiffError: () => DiffError2,
28
28
  FileStatus: () => FileStatus2,
29
- Info: () => Info3,
29
+ Info: () => Info5,
30
30
  Mode: () => Mode2,
31
- Service: () => Service19,
31
+ Service: () => Service21,
32
32
  Vcs: () => exports_vcs,
33
- node: () => node22
33
+ node: () => node24
34
34
  });
35
35
  import path from "path";
36
36
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
37
37
  import { FileDiff } from "@opencode/schema/file-diff";
38
38
  import { FileSystem } from "@opencode/schema/filesystem";
39
- import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info3, Mode as Mode2 } from "@opencode/schema/vcs";
39
+ import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info5, Mode as Mode2 } from "@opencode/schema/vcs";
40
40
  import { VcsEvent } from "@opencode/schema/vcs-event";
41
41
  import { makeLocationNode } from "@opencode/util/effect/app-node";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
@@ -45,11 +45,11 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
45
45
  }) {
46
46
  }
47
47
 
48
- class Service19 extends Context.Service()("@opencode/Vcs") {
48
+ class Service21 extends Context.Service()("@opencode/Vcs") {
49
49
  }
50
- var layer = Layer.effect(Service19, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service21, Effect.gen(function* () {
51
51
  const fs = yield* FSUtil.Service;
52
- const location = yield* Service78;
52
+ const location = yield* Service76;
53
53
  const bus = yield* Service81;
54
54
  const root = yield* Effect.scope;
55
55
  const fork = yield* FiberSet.makeRuntime();
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
62
62
  canonical: location.project.canonical,
63
63
  ...vcs ? { store: vcs.store } : {}
64
64
  };
65
- const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info3));
65
+ const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info5));
66
66
  const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
67
67
  const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
68
68
  const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
115
115
  const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
116
116
  yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
117
117
  }
118
- return Service19.of({
118
+ return Service21.of({
119
119
  transform: state.transform,
120
120
  reload: state.reload,
121
121
  info: Effect.fn("Vcs.info")(function* () {
@@ -161,10 +161,10 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
161
161
  })
162
162
  });
163
163
  }));
164
- var node22 = makeLocationNode({
165
- service: Service19,
164
+ var node24 = makeLocationNode({
165
+ service: Service21,
166
166
  layer,
167
- deps: [FSUtil.node, node82, node85]
167
+ deps: [FSUtil.node, node80, node85]
168
168
  });
169
169
 
170
- export { Base2, BranchList2, FileStatus2, Info3, Mode2, DiffError2, Service19, node22, exports_vcs };
170
+ export { Base2, BranchList2, FileStatus2, Info5, Mode2, DiffError2, Service21, node24, exports_vcs };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  RelativePath2
3
- } from "./file-922hggd3.js";
3
+ } from "./location-activity-922hggd3.js";
4
4
  import {
5
- Service78,
6
- node82
7
- } from "./file-6j5sab4m.js";
5
+ Service76,
6
+ node80
7
+ } from "./location-activity-5qz30sk6.js";
8
8
  import {
9
- Service58,
10
- node60
11
- } from "./file-qcx0cfj6.js";
9
+ Service26,
10
+ node29
11
+ } from "./location-activity-wpc3sj2f.js";
12
12
  import {
13
13
  isHome2,
14
14
  names3
15
- } from "./file-tcezcvh9.js";
15
+ } from "./location-activity-tcezcvh9.js";
16
16
  import {
17
17
  __export
18
- } from "./file-9rqn6x4v.js";
18
+ } from "./location-activity-9rqn6x4v.js";
19
19
 
20
20
  // src/filesystem/search.ts
21
21
  var exports_search = {};
22
22
  __export(exports_search, {
23
23
  FileSystemSearch: () => exports_search,
24
- Options: () => Options5,
25
- Service: () => Service57,
26
- configured: () => configured5,
24
+ Options: () => Options4,
25
+ Service: () => Service23,
26
+ configured: () => configured4,
27
27
  fffLayer: () => fffLayer2,
28
- layer: () => layer20,
29
- node: () => node59,
28
+ layer: () => layer10,
29
+ node: () => node26,
30
30
  ripgrepLayer: () => ripgrepLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
35
35
  import { Fff } from "#fff";
36
36
  import fuzzysort from "fuzzysort";
37
37
  import { FileSystem } from "@opencode/schema/filesystem";
38
- var Options5 = Schema.Struct({
38
+ var Options4 = Schema.Struct({
39
39
  fff: Schema.optional(Schema.Boolean)
40
40
  });
41
41
 
42
- class Service57 extends Context.Service()("@opencode/FileSystem/Search") {
42
+ class Service23 extends Context.Service()("@opencode/FileSystem/Search") {
43
43
  }
44
44
  var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
45
45
  function emptyIndex() {
@@ -58,9 +58,9 @@ function search(index, input) {
58
58
  });
59
59
  });
60
60
  }
61
- var ripgrepLayer2 = Layer.effect(Service57, Effect.gen(function* () {
62
- const location = yield* Service78;
63
- const ripgrep = yield* Service58;
61
+ var ripgrepLayer2 = Layer.effect(Service23, Effect.gen(function* () {
62
+ const location = yield* Service76;
63
+ const ripgrep = yield* Service26;
64
64
  const scope = yield* Scope.Scope;
65
65
  const clock = yield* Clock.Clock;
66
66
  const home = isHome2(location.directory);
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service57, Effect.gen(function* () {
105
105
  Deferred.doneUnsafe(attempt, exit);
106
106
  })), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
107
107
  });
108
- return Service57.of({
108
+ return Service23.of({
109
109
  find: (input) => Effect.gen(function* () {
110
110
  yield* refresh;
111
111
  return search(index, input);
112
112
  })
113
113
  });
114
114
  }));
115
- var fffLayer2 = Layer.effect(Service57, Effect.gen(function* () {
116
- const location = yield* Service78;
115
+ var fffLayer2 = Layer.effect(Service23, Effect.gen(function* () {
116
+ const location = yield* Service76;
117
117
  const result = yield* Effect.try({
118
118
  try: () => Fff.create({
119
119
  basePath: location.directory,
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service57, Effect.gen(function* () {
126
126
  if (!result?.ok) {
127
127
  if (result)
128
128
  yield* Effect.logWarning("failed to initialize fff", { error: result.error });
129
- return Service57.of({
129
+ return Service23.of({
130
130
  find: () => Effect.succeed([])
131
131
  });
132
132
  }
133
133
  yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
134
- return Service57.of({
134
+ return Service23.of({
135
135
  find: (input) => Effect.sync(() => {
136
136
  const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
137
137
  const items = (() => {
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service57, Effect.gen(function* () {
174
174
  })
175
175
  });
176
176
  }));
177
- var layer20 = (options) => Layer.unwrap(Effect.gen(function* () {
178
- const location = yield* Service78;
177
+ var layer10 = (options) => Layer.unwrap(Effect.gen(function* () {
178
+ const location = yield* Service76;
179
179
  if (location.workspaceID)
180
180
  return ripgrepLayer2;
181
181
  if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
182
182
  return ripgrepLayer2;
183
183
  return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
184
184
  }));
185
- function configured5(options) {
186
- return makeLocationNode({ service: Service57, layer: layer20(options), deps: [node82, node60] });
185
+ function configured4(options) {
186
+ return makeLocationNode({ service: Service23, layer: layer10(options), deps: [node80, node29] });
187
187
  }
188
- var node59 = configured5();
188
+ var node26 = configured4();
189
189
 
190
- export { Options5, Service57, ripgrepLayer2, fffLayer2, layer20, configured5, node59, exports_search };
190
+ export { Options4, Service23, ripgrepLayer2, fffLayer2, layer10, configured4, node26, exports_search };
@@ -1,66 +1,66 @@
1
1
  import {
2
2
  Service81,
3
3
  node85
4
- } from "./file-v39rhahm.js";
4
+ } from "./location-activity-1w07c5qm.js";
5
5
  import {
6
- Service78,
7
- node82
8
- } from "./file-6j5sab4m.js";
6
+ Service76,
7
+ node80
8
+ } from "./location-activity-5qz30sk6.js";
9
9
  import {
10
- ID9
11
- } from "./file-h47he10w.js";
10
+ ID2
11
+ } from "./location-activity-0mesazry.js";
12
12
  import {
13
- Service71,
13
+ Service44,
14
14
  login2,
15
- node75
16
- } from "./file-q1c6gfm2.js";
15
+ node48
16
+ } from "./location-activity-64j4absa.js";
17
17
  import {
18
18
  lazy2
19
- } from "./file-88xbtdfr.js";
19
+ } from "./location-activity-88xbtdfr.js";
20
20
  import {
21
21
  __export
22
- } from "./file-9rqn6x4v.js";
22
+ } from "./location-activity-9rqn6x4v.js";
23
23
 
24
24
  // src/pty.ts
25
25
  var exports_pty = {};
26
26
  __export(exports_pty, {
27
- CreateInput: () => CreateInput3,
28
- Event: () => Event12,
27
+ CreateInput: () => CreateInput2,
28
+ Event: () => Event2,
29
29
  ExitedError: () => ExitedError2,
30
- Info: () => Info13,
31
- NotFoundError: () => NotFoundError8,
30
+ Info: () => Info2,
31
+ NotFoundError: () => NotFoundError2,
32
32
  Pty: () => exports_pty,
33
- Service: () => Service59,
33
+ Service: () => Service15,
34
34
  UpdateInput: () => UpdateInput2,
35
- node: () => node61
35
+ node: () => node17
36
36
  });
37
37
  import { makeLocationNode } from "@opencode/util/effect/app-node";
38
38
  import { Context, Effect, Layer, Schema } from "effect";
39
39
  import { Pty } from "@opencode/schema/pty";
40
- import { Event as Event12 } from "@opencode/schema/pty";
40
+ import { Event as Event2 } from "@opencode/schema/pty";
41
41
  var BUFFER_LIMIT = 1024 * 1024 * 2;
42
42
  var EXITED_LIMIT = 25;
43
43
  var pty = lazy2(() => import("#pty"));
44
- var Info13 = Pty.Info;
45
- var CreateInput3 = Pty.CreateInput;
44
+ var Info2 = Pty.Info;
45
+ var CreateInput2 = Pty.CreateInput;
46
46
  var UpdateInput2 = Pty.UpdateInput;
47
47
 
48
- class NotFoundError8 extends Schema.TaggedError()("Pty.NotFoundError", {
49
- ptyID: ID9
48
+ class NotFoundError2 extends Schema.TaggedError()("Pty.NotFoundError", {
49
+ ptyID: ID2
50
50
  }) {
51
51
  }
52
52
 
53
53
  class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
54
- ptyID: ID9
54
+ ptyID: ID2
55
55
  }) {
56
56
  }
57
57
 
58
- class Service59 extends Context.Service()("@opencode/Pty") {
58
+ class Service15 extends Context.Service()("@opencode/Pty") {
59
59
  }
60
- var layer = Layer.effect(Service59, Effect.gen(function* () {
60
+ var layer = Layer.effect(Service15, Effect.gen(function* () {
61
61
  const bus = yield* Service81;
62
- const location = yield* Service78;
63
- const shell = yield* Service71;
62
+ const location = yield* Service76;
63
+ const shell = yield* Service44;
64
64
  const context = yield* Effect.context();
65
65
  const runFork = Effect.runForkWith(context);
66
66
  const sessions = new Map;
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
97
97
  const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
98
98
  const session = sessions.get(id);
99
99
  if (!session)
100
- return yield* new NotFoundError8({ ptyID: id });
100
+ return yield* new NotFoundError2({ ptyID: id });
101
101
  return session;
102
102
  });
103
103
  const removeSession = Effect.fnUntraced(function* (id) {
@@ -123,7 +123,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
123
123
  return (yield* requireSession(id)).info;
124
124
  });
125
125
  const create = Effect.fn("Pty.create")(function* (input) {
126
- const id = ID9.ascending();
126
+ const id = ID2.ascending();
127
127
  const command = input.command || (yield* shell.resolve({ priority: "config" }));
128
128
  const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
129
129
  const cwd = input.cwd || location.directory;
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
268
268
  }
269
269
  };
270
270
  });
271
- return Service59.of({ list, get, create, update, remove, write, attach });
271
+ return Service15.of({ list, get, create, update, remove, write, attach });
272
272
  }));
273
- var node61 = makeLocationNode({
274
- service: Service59,
273
+ var node17 = makeLocationNode({
274
+ service: Service15,
275
275
  layer,
276
- deps: [node85, node82, node75]
276
+ deps: [node85, node80, node48]
277
277
  });
278
278
 
279
- export { Info13, CreateInput3, UpdateInput2, NotFoundError8, ExitedError2, Service59, node61, exports_pty, Event12 };
279
+ export { Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service15, node17, exports_pty, Event2 };
@@ -2,35 +2,35 @@ import {
2
2
  ephemeral2,
3
3
  Service81,
4
4
  node85
5
- } from "./file-v39rhahm.js";
5
+ } from "./location-activity-1w07c5qm.js";
6
6
  import {
7
7
  Key3,
8
8
  unavailable3,
9
9
  removed2,
10
- make19,
10
+ make21,
11
11
  diffByKey2
12
- } from "./file-t550f9t1.js";
12
+ } from "./location-activity-s8d7rejh.js";
13
13
  import {
14
14
  AbsolutePath2
15
- } from "./file-922hggd3.js";
15
+ } from "./location-activity-922hggd3.js";
16
16
  import {
17
17
  create3
18
- } from "./file-rdw6cm16.js";
18
+ } from "./location-activity-rdw6cm16.js";
19
19
  import {
20
20
  __export
21
- } from "./file-9rqn6x4v.js";
21
+ } from "./location-activity-9rqn6x4v.js";
22
22
 
23
23
  // src/instruction-discovery.ts
24
24
  var exports_instruction_discovery = {};
25
25
  __export(exports_instruction_discovery, {
26
- Event: () => Event10,
26
+ Event: () => Event7,
27
27
  File: () => File2,
28
28
  InstructionDiscovery: () => exports_instruction_discovery,
29
- Options: () => Options4,
30
- Service: () => Service50,
31
- configured: () => configured4,
32
- layer: () => layer18,
33
- node: () => node52
29
+ Options: () => Options6,
30
+ Service: () => Service40,
31
+ configured: () => configured6,
32
+ layer: () => layer17,
33
+ node: () => node43
34
34
  });
35
35
  import { Context, Effect, Layer, Schema } from "effect";
36
36
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -42,17 +42,17 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
42
42
  }
43
43
  var Files = Schema.Array(File2);
44
44
  var key = Key3.make("core/instructions");
45
- var Event10 = {
45
+ var Event7 = {
46
46
  Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
47
47
  };
48
- var Options4 = Schema.Struct({
48
+ var Options6 = Schema.Struct({
49
49
  project: Schema.optional(Schema.Boolean),
50
50
  global: Schema.optional(Schema.Boolean)
51
51
  });
52
52
 
53
- class Service50 extends Context.Service()("@opencode/InstructionDiscovery") {
53
+ class Service40 extends Context.Service()("@opencode/InstructionDiscovery") {
54
54
  }
55
- var layer18 = (options) => Layer.effect(Service50, Effect.gen(function* () {
55
+ var layer17 = (options) => Layer.effect(Service40, Effect.gen(function* () {
56
56
  const bus = yield* Service81;
57
57
  const state = create3({
58
58
  name: "instruction-discovery",
@@ -72,9 +72,9 @@ var layer18 = (options) => Layer.effect(Service50, Effect.gen(function* () {
72
72
  editor.available = false;
73
73
  }
74
74
  }),
75
- notify: () => bus.publish(Event10.Updated, {}).pipe(Effect.asVoid)
75
+ notify: () => bus.publish(Event7.Updated, {}).pipe(Effect.asVoid)
76
76
  });
77
- const source = (value) => make19({
77
+ const source = (value) => make21({
78
78
  key,
79
79
  codec: Schema.toCodecJson(Files),
80
80
  read: Effect.succeed(value),
@@ -90,7 +90,7 @@ var layer18 = (options) => Layer.effect(Service50, Effect.gen(function* () {
90
90
  return unavailable3;
91
91
  return Array.from(current.files.values());
92
92
  });
93
- return Service50.of({
93
+ return Service40.of({
94
94
  project: options?.project !== false,
95
95
  global: options?.global !== false,
96
96
  transform: state.transform,
@@ -104,14 +104,14 @@ var layer18 = (options) => Layer.effect(Service50, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  }));
107
- function configured4(options) {
107
+ function configured6(options) {
108
108
  return makeLocationNode({
109
- service: Service50,
110
- layer: layer18(options),
109
+ service: Service40,
110
+ layer: layer17(options),
111
111
  deps: [node85]
112
112
  });
113
113
  }
114
- var node52 = configured4();
114
+ var node43 = configured6();
115
115
  function render(files) {
116
116
  return files.map((file) => `Instructions from: ${file.path}
117
117
  ${file.content}`).join(`
@@ -142,4 +142,4 @@ ${render([after])}`;
142
142
  `);
143
143
  }
144
144
 
145
- export { File2, Event10, Options4, Service50, layer18, configured4, node52, exports_instruction_discovery };
145
+ export { File2, Event7, Options6, Service40, layer17, configured6, node43, exports_instruction_discovery };
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service51,
3
- node53,
2
+ Service66,
3
+ node70,
4
4
  canonical3
5
- } from "./file-f52r61pg.js";
5
+ } from "./location-activity-9a1ma9rw.js";
6
6
  import {
7
- Service44,
8
- node46
9
- } from "./file-51f5btjf.js";
7
+ Service59,
8
+ node63
9
+ } from "./location-activity-fpq9acqp.js";
10
10
  import {
11
- Service20
12
- } from "./file-08gdyecf.js";
11
+ Service17
12
+ } from "./location-activity-68awae68.js";
13
13
  import {
14
14
  layer2
15
- } from "./file-tqgcjhcb.js";
15
+ } from "./location-activity-kjwcy8ba.js";
16
16
 
17
17
  // src/location-services.ts
18
18
  import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
19
19
  function buildLocationServiceMap2(replacements = []) {
20
- return Layer.effect(Service51, Effect.gen(function* () {
20
+ return Layer.effect(Service66, Effect.gen(function* () {
21
21
  const owner = yield* Effect.scope;
22
22
  const builds = MutableHashMap.empty();
23
23
  const inner = yield* LayerMap.make((ref) => {
@@ -28,7 +28,7 @@ function buildLocationServiceMap2(replacements = []) {
28
28
  if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
29
29
  return Effect.void;
30
30
  if (Exit.isSuccess(exit)) {
31
- build.close = Context.get(exit.value, Service20).close;
31
+ build.close = Context.get(exit.value, Service17).close;
32
32
  return Effect.void;
33
33
  }
34
34
  MutableHashMap.remove(builds, ref);
@@ -50,11 +50,11 @@ function buildLocationServiceMap2(replacements = []) {
50
50
  })
51
51
  };
52
52
  const bindings = [
53
- node46.replace(Layer.succeed(Service44, {
53
+ node63.replace(Layer.succeed(Service59, {
54
54
  provide: (session) => Effect.provide(map.get(session.location))
55
55
  })),
56
56
  ...replacements,
57
- node53.replace(Layer.succeed(Service51, map))
57
+ node70.replace(Layer.succeed(Service66, map))
58
58
  ];
59
59
  return map;
60
60
  }));