@opencode/core 2.1.3 → 2.1.4

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 (821) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +97 -97
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{instruction-discovery-5fkm8khv.js → location-005psrwt.js} +9 -9
  8. package/dist/chunks/location-00ve6mdn.js +18 -0
  9. package/dist/chunks/{instruction-discovery-034tev2y.js → location-034tev2y.js} +2 -2
  10. package/dist/chunks/{instruction-discovery-2ph54kq6.js → location-0928y98p.js} +2 -2
  11. package/dist/chunks/{instruction-discovery-ymqv4qqa.js → location-09wmedhs.js} +9 -9
  12. package/dist/chunks/{instruction-discovery-9r0x1bva.js → location-0gbb59p9.js} +9 -9
  13. package/dist/chunks/{instruction-discovery-v3tkh1aj.js → location-0hpjzkz5.js} +5 -5
  14. package/dist/chunks/{instruction-discovery-46r0wh18.js → location-0pm6fm3r.js} +16 -16
  15. package/dist/chunks/{instruction-discovery-6vnjn6e3.js → location-1bmrwaa5.js} +9 -9
  16. package/dist/chunks/{instruction-discovery-1dqke238.js → location-1dqke238.js} +3 -3
  17. package/dist/chunks/{instruction-discovery-1ep2p91f.js → location-1ep2p91f.js} +2 -2
  18. package/dist/chunks/{instruction-discovery-kdbzq6ew.js → location-1qtv120j.js} +9 -9
  19. package/dist/chunks/{instruction-discovery-1x2knyw4.js → location-1x2knyw4.js} +1 -1
  20. package/dist/chunks/{instruction-discovery-tmqhwsdc.js → location-1xwgv2nq.js} +3 -3
  21. package/dist/chunks/{instruction-discovery-1y0wdj51.js → location-1y0wdj51.js} +1 -1
  22. package/dist/chunks/{instruction-discovery-1yq9hg58.js → location-1yq9hg58.js} +1 -1
  23. package/dist/chunks/{instruction-discovery-pp5hwqdy.js → location-239z01gj.js} +3 -3
  24. package/dist/chunks/{instruction-discovery-ba1860as.js → location-2ahfrs74.js} +11 -11
  25. package/dist/chunks/{instruction-discovery-zhtsgqh5.js → location-2brc2rvy.js} +4 -4
  26. package/dist/chunks/{instruction-discovery-b5j1fcax.js → location-2bymr7vt.js} +21 -21
  27. package/dist/chunks/{instruction-discovery-bcyzxrby.js → location-2cjxs9ry.js} +15 -15
  28. package/dist/chunks/{instruction-discovery-a6r83rnm.js → location-2d2g0mpf.js} +28 -28
  29. package/dist/chunks/{instruction-discovery-j4mjn1pq.js → location-2ggqsqg3.js} +5 -5
  30. package/dist/chunks/{instruction-discovery-0dw5cvz7.js → location-2h6s5afk.js} +7 -7
  31. package/dist/chunks/{instruction-discovery-2azy8kv6.js → location-2jq4ff38.js} +4 -4
  32. package/dist/chunks/{instruction-discovery-a12mwymm.js → location-2n0y9ar2.js} +13 -13
  33. package/dist/chunks/{instruction-discovery-8p073n4r.js → location-2s6r54qs.js} +7 -7
  34. package/dist/chunks/{instruction-discovery-b9p9sb5m.js → location-2satw072.js} +15 -15
  35. package/dist/chunks/{instruction-discovery-2z1j29yd.js → location-2z1j29yd.js} +1 -1
  36. package/dist/chunks/{instruction-discovery-043wk7y2.js → location-3043t2hd.js} +12 -12
  37. package/dist/chunks/{instruction-discovery-00vfyfmg.js → location-30bn4rx3.js} +16 -16
  38. package/dist/chunks/{instruction-discovery-v466f70q.js → location-37c15ztt.js} +5 -5
  39. package/dist/chunks/{instruction-discovery-qhhs3wjj.js → location-37d4mgj3.js} +24 -24
  40. package/dist/chunks/{instruction-discovery-6zh9yw36.js → location-3e8nvsz7.js} +3 -3
  41. package/dist/chunks/{instruction-discovery-3hepkmqq.js → location-3hepkmqq.js} +1 -1
  42. package/dist/chunks/{instruction-discovery-mn6tycs6.js → location-3j92816q.js} +2 -2
  43. package/dist/chunks/{instruction-discovery-6c5cd6ez.js → location-3mgb105e.js} +9 -9
  44. package/dist/chunks/{instruction-discovery-3nnrz6f6.js → location-3nnrz6f6.js} +1 -1
  45. package/dist/chunks/{instruction-discovery-rtqr9ste.js → location-3sfq932m.js} +10 -10
  46. package/dist/chunks/{instruction-discovery-kb0avjr6.js → location-3wef9mrz.js} +8 -8
  47. package/dist/chunks/{instruction-discovery-1887s9ws.js → location-3y1df9hb.js} +3 -3
  48. package/dist/chunks/{instruction-discovery-vw33scy9.js → location-3yy2vhmn.js} +17 -17
  49. package/dist/chunks/{instruction-discovery-r41sfy63.js → location-40za9wsf.js} +6 -6
  50. package/dist/chunks/{instruction-discovery-pk22050n.js → location-42hxtx4a.js} +2 -2
  51. package/dist/chunks/{instruction-discovery-w76j0mqj.js → location-4bvc8sjz.js} +2 -2
  52. package/dist/chunks/{instruction-discovery-ekeaw6g8.js → location-4c6ksw65.js} +27 -27
  53. package/dist/chunks/{instruction-discovery-mbvnayvm.js → location-4fspmagn.js} +242 -103
  54. package/dist/chunks/{instruction-discovery-0kjn1fz0.js → location-4jbtvrw1.js} +14 -14
  55. package/dist/chunks/{instruction-discovery-f8fq6sgx.js → location-4kb4jvb8.js} +11 -11
  56. package/dist/chunks/{instruction-discovery-4v008n1t.js → location-4v008n1t.js} +1 -1
  57. package/dist/chunks/{instruction-discovery-4wn1snmt.js → location-4v3515yy.js} +32 -32
  58. package/dist/chunks/{instruction-discovery-4xvmh7wp.js → location-4xvmh7wp.js} +3 -3
  59. package/dist/chunks/{instruction-discovery-wh2p867q.js → location-4y92vxjf.js} +39 -39
  60. package/dist/chunks/{instruction-discovery-qz04j05z.js → location-584rjm98.js} +1 -1
  61. package/dist/chunks/{instruction-discovery-5m9w47nd.js → location-5m9w47nd.js} +1 -1
  62. package/dist/chunks/{instruction-discovery-8d991bzx.js → location-5nankzt7.js} +3 -3
  63. package/dist/chunks/{instruction-discovery-11xg13et.js → location-5qebhevh.js} +7 -7
  64. package/dist/chunks/{instruction-discovery-7m02jy4j.js → location-5ysrq0ad.js} +2 -2
  65. package/dist/chunks/{instruction-discovery-0rmtycpk.js → location-633qbm06.js} +10 -10
  66. package/dist/chunks/{instruction-discovery-20e5g7bx.js → location-6b66j3w1.js} +23 -23
  67. package/dist/chunks/{instruction-discovery-6esdw8yj.js → location-6esdw8yj.js} +1 -1
  68. package/dist/chunks/{instruction-discovery-3wvbe35v.js → location-6p8ga3wk.js} +13 -13
  69. package/dist/chunks/{instruction-discovery-43jry69q.js → location-6pe7vn7p.js} +13 -13
  70. package/dist/chunks/{instruction-discovery-6pjqjmy2.js → location-6pjqjmy2.js} +1 -1
  71. package/dist/chunks/{instruction-discovery-vp60xasa.js → location-6qtdkhme.js} +1 -1
  72. package/dist/chunks/{instruction-discovery-fhjfpzy5.js → location-6z79x2sm.js} +11 -11
  73. package/dist/chunks/{instruction-discovery-76cb1hcw.js → location-76cb1hcw.js} +1 -1
  74. package/dist/chunks/{instruction-discovery-zygdztbw.js → location-7bgh3hsv.js} +7 -7
  75. package/dist/chunks/{instruction-discovery-7bmhse3q.js → location-7bmhse3q.js} +1 -1
  76. package/dist/chunks/{instruction-discovery-d0bfceqm.js → location-7hk3fzbx.js} +27 -27
  77. package/dist/chunks/{instruction-discovery-ad4wbrpy.js → location-7jg3h9xc.js} +11 -11
  78. package/dist/chunks/{instruction-discovery-4x3py1rw.js → location-7jrmq8v4.js} +18 -18
  79. package/dist/chunks/{instruction-discovery-7fyd11se.js → location-7th4r57j.js} +12 -12
  80. package/dist/chunks/{instruction-discovery-c0emejqt.js → location-7vd4enbp.js} +13 -13
  81. package/dist/chunks/{instruction-discovery-7w2ypzdf.js → location-7w2ypzdf.js} +1 -1
  82. package/dist/chunks/{instruction-discovery-jsbhksmn.js → location-80cqk4v7.js} +13 -13
  83. package/dist/chunks/{instruction-discovery-2vnhppnj.js → location-81va5nb7.js} +25 -19
  84. package/dist/chunks/location-8230236v.js +257 -0
  85. package/dist/chunks/{instruction-discovery-4x6wmwcx.js → location-830bkp7y.js} +17 -17
  86. package/dist/chunks/{instruction-discovery-0txtbpzw.js → location-86439gfw.js} +30 -30
  87. package/dist/chunks/{instruction-discovery-rx7ecff6.js → location-89c7n5pz.js} +3 -3
  88. package/dist/chunks/{instruction-discovery-rjw99gz0.js → location-8bf8d73q.js} +9 -9
  89. package/dist/chunks/{instruction-discovery-4shrmavh.js → location-8c8xwrnt.js} +14 -14
  90. package/dist/chunks/{instruction-discovery-8jztxfpf.js → location-8jztxfpf.js} +1 -1
  91. package/dist/chunks/{instruction-discovery-76ncshtz.js → location-8vjz6zkc.js} +23 -23
  92. package/dist/chunks/{instruction-discovery-8wtp7s3z.js → location-8wtp7s3z.js} +1 -1
  93. package/dist/chunks/{instruction-discovery-91rj84md.js → location-91rj84md.js} +1 -1
  94. package/dist/chunks/{instruction-discovery-956c56jz.js → location-997dsrmm.js} +4 -4
  95. package/dist/chunks/{instruction-discovery-998yhzzq.js → location-998yhzzq.js} +3 -3
  96. package/dist/chunks/{instruction-discovery-1vdntpm3.js → location-9b28cy4d.js} +5 -5
  97. package/dist/chunks/{instruction-discovery-y8a8xdaa.js → location-9dxz0jcc.js} +9 -9
  98. package/dist/chunks/{instruction-discovery-fnw4y167.js → location-9mrr08ev.js} +4 -4
  99. package/dist/chunks/{instruction-discovery-w0ap69e3.js → location-9p7ryr2b.js} +7 -7
  100. package/dist/chunks/{instruction-discovery-jme6sax1.js → location-9s6wb0ev.js} +9 -9
  101. package/dist/chunks/{instruction-discovery-t8qa7zg5.js → location-9ypen6gf.js} +5 -5
  102. package/dist/chunks/{instruction-discovery-5091jnev.js → location-9zetw7am.js} +78 -78
  103. package/dist/chunks/{instruction-discovery-avzkbq4q.js → location-a5h3ke48.js} +43 -43
  104. package/dist/chunks/{instruction-discovery-e65cdmhb.js → location-a7hcemwv.js} +6 -6
  105. package/dist/chunks/{instruction-discovery-6y263vp8.js → location-afmnpta1.js} +5 -5
  106. package/dist/chunks/{instruction-discovery-x62216mf.js → location-aft2va8r.js} +11 -11
  107. package/dist/chunks/{instruction-discovery-e2mf0cbs.js → location-akfw3dm8.js} +25 -25
  108. package/dist/chunks/{instruction-discovery-c2sed5cq.js → location-axe3mf62.js} +3 -3
  109. package/dist/chunks/{instruction-discovery-ayjs7tqn.js → location-ayjs7tqn.js} +2 -2
  110. package/dist/chunks/{instruction-discovery-b0mv4wxm.js → location-b0mv4wxm.js} +2 -2
  111. package/dist/chunks/{instruction-discovery-2dh20r6m.js → location-b259twyp.js} +14 -14
  112. package/dist/chunks/{instruction-discovery-1x75wf9g.js → location-b29mbqx6.js} +5 -5
  113. package/dist/chunks/{instruction-discovery-cqmfkhmj.js → location-b46dzrwk.js} +34 -34
  114. package/dist/chunks/{instruction-discovery-b6vsg801.js → location-b6vsg801.js} +2 -2
  115. package/dist/chunks/{instruction-discovery-z81weg6a.js → location-b93307df.js} +24 -24
  116. package/dist/chunks/{instruction-discovery-zba5tm1j.js → location-bjhzkqyk.js} +4 -4
  117. package/dist/chunks/{instruction-discovery-f0st8ac1.js → location-bm60t44w.js} +3 -3
  118. package/dist/chunks/{instruction-discovery-bstexjd6.js → location-bstexjd6.js} +1 -1
  119. package/dist/chunks/{instruction-discovery-kj7e2tww.js → location-c34bh8hr.js} +105 -28
  120. package/dist/chunks/{instruction-discovery-c3cfh5w6.js → location-c3cfh5w6.js} +2 -2
  121. package/dist/chunks/{instruction-discovery-mt3ysty9.js → location-c8666r4c.js} +3 -3
  122. package/dist/chunks/{instruction-discovery-scaas24c.js → location-ckr4b3py.js} +31 -31
  123. package/dist/chunks/{instruction-discovery-znn5w31e.js → location-cp65cvxr.js} +9 -9
  124. package/dist/chunks/{instruction-discovery-v1wb27er.js → location-cxat4xx2.js} +31 -31
  125. package/dist/chunks/{instruction-discovery-ssfehs1z.js → location-d2887f8n.js} +4 -4
  126. package/dist/chunks/{instruction-discovery-d4v9tmah.js → location-d4v9tmah.js} +2 -2
  127. package/dist/chunks/{instruction-discovery-5hny5v5k.js → location-d5m0d1jd.js} +81 -81
  128. package/dist/chunks/{instruction-discovery-nttn14j9.js → location-ddwaa558.js} +4 -4
  129. package/dist/chunks/{instruction-discovery-y299mpjs.js → location-dg6zbqet.js} +48 -48
  130. package/dist/chunks/{instruction-discovery-3ffdjm8e.js → location-dgj49q4q.js} +10 -10
  131. package/dist/chunks/{instruction-discovery-gq24h8g9.js → location-dqc1xg2h.js} +15 -15
  132. package/dist/chunks/{instruction-discovery-ffdw0et2.js → location-dvpv1qqw.js} +3 -3
  133. package/dist/chunks/{instruction-discovery-2annm2pv.js → location-dxbw252c.js} +23 -18
  134. package/dist/chunks/{instruction-discovery-2m2g9ynh.js → location-e45fk36t.js} +4 -4
  135. package/dist/chunks/{instruction-discovery-t633519e.js → location-e6ke8dsh.js} +31 -31
  136. package/dist/chunks/{instruction-discovery-e834z07m.js → location-e834z07m.js} +1 -1
  137. package/dist/chunks/{instruction-discovery-ef5x83kb.js → location-ef5x83kb.js} +1 -1
  138. package/dist/chunks/{instruction-discovery-hyynj17b.js → location-eggkdbge.js} +1 -1
  139. package/dist/chunks/{instruction-discovery-7yv7aars.js → location-eh71ek0g.js} +68 -63
  140. package/dist/chunks/{instruction-discovery-nxsjqf5t.js → location-et9e0jv5.js} +11 -11
  141. package/dist/chunks/{instruction-discovery-scfq87m9.js → location-f7ma11rg.js} +6 -6
  142. package/dist/chunks/{instruction-discovery-kdmjmd4e.js → location-fcfxs1zj.js} +3 -3
  143. package/dist/chunks/{instruction-discovery-fffv3p7h.js → location-fffv3p7h.js} +1 -1
  144. package/dist/chunks/{instruction-discovery-1acn2yrp.js → location-fjngd7fj.js} +9 -9
  145. package/dist/chunks/{instruction-discovery-ewjr930z.js → location-fjnhz8nn.js} +4 -4
  146. package/dist/chunks/{instruction-discovery-k5dps1se.js → location-fphnwtmq.js} +11 -11
  147. package/dist/chunks/{instruction-discovery-jjbtbvzd.js → location-fqzd2d2r.js} +13 -13
  148. package/dist/chunks/{instruction-discovery-k61mxn43.js → location-g3avwj86.js} +11 -11
  149. package/dist/chunks/{instruction-discovery-g5h9c0rr.js → location-g5h9c0rr.js} +2 -2
  150. package/dist/chunks/{instruction-discovery-m37sd98t.js → location-g7esga4v.js} +7 -7
  151. package/dist/chunks/{instruction-discovery-n4jvz8kw.js → location-gb9gmc0j.js} +8 -8
  152. package/dist/chunks/{instruction-discovery-n5194rg1.js → location-ght5gt7k.js} +16 -16
  153. package/dist/chunks/{instruction-discovery-wkr28yqr.js → location-gnkrmvzs.js} +4 -4
  154. package/dist/chunks/{instruction-discovery-w194z9kg.js → location-h8rac0eh.js} +10 -10
  155. package/dist/chunks/{instruction-discovery-ta8jwj2a.js → location-hfkcnh3h.js} +16 -16
  156. package/dist/chunks/{instruction-discovery-p8t554mv.js → location-hgn7fvrd.js} +28 -28
  157. package/dist/chunks/{instruction-discovery-6z2tyrnm.js → location-hqgpx30z.js} +21 -21
  158. package/dist/chunks/{instruction-discovery-psq905b5.js → location-hwqvnpa6.js} +9 -9
  159. package/dist/chunks/{instruction-discovery-jzmsqkqv.js → location-hyvp8sn8.js} +1 -1
  160. package/dist/chunks/{instruction-discovery-k6hny6gd.js → location-hzsp1kxy.js} +18 -18
  161. package/dist/chunks/{instruction-discovery-j113cymg.js → location-j113cymg.js} +1 -1
  162. package/dist/chunks/{instruction-discovery-2cjmrnhq.js → location-j2cjg2qt.js} +11 -11
  163. package/dist/chunks/{instruction-discovery-ztzjzgcq.js → location-j6sw43tq.js} +12 -12
  164. package/dist/chunks/{instruction-discovery-x2c3sws5.js → location-j8pg8rcr.js} +22 -22
  165. package/dist/chunks/location-jbt1xm3n.js +523 -0
  166. package/dist/chunks/{instruction-discovery-7w0k7xvm.js → location-jdcya02q.js} +13 -13
  167. package/dist/chunks/{instruction-discovery-bwg9673r.js → location-jh9pmtvm.js} +16 -16
  168. package/dist/chunks/{instruction-discovery-jneg3k74.js → location-jneg3k74.js} +1 -1
  169. package/dist/chunks/{instruction-discovery-sm5tp0dc.js → location-jw4xm41e.js} +10 -10
  170. package/dist/chunks/{instruction-discovery-x2sbbjmw.js → location-jz6d5c41.js} +119 -119
  171. package/dist/chunks/{instruction-discovery-etwrvj6f.js → location-jznc3yn3.js} +11 -11
  172. package/dist/chunks/{instruction-discovery-5t4dhsbz.js → location-k6wybhe4.js} +30 -30
  173. package/dist/chunks/{instruction-discovery-jc512s3p.js → location-k732j073.js} +8 -8
  174. package/dist/chunks/{instruction-discovery-k814nvkf.js → location-k814nvkf.js} +1 -1
  175. package/dist/chunks/{instruction-discovery-wp4rg1a9.js → location-kb4gstwj.js} +5 -5
  176. package/dist/chunks/{instruction-discovery-7d1g1zxa.js → location-ke7vzy3f.js} +13 -12
  177. package/dist/chunks/location-khh5ttga.js +26 -0
  178. package/dist/chunks/{instruction-discovery-3z193f8y.js → location-kjb4x69f.js} +1 -1
  179. package/dist/chunks/{instruction-discovery-kmzgegqq.js → location-kmzgegqq.js} +1 -1
  180. package/dist/chunks/{instruction-discovery-v2dnm4n9.js → location-kp4ctdbn.js} +11 -11
  181. package/dist/chunks/{instruction-discovery-bzfg3f7z.js → location-ky7vvs7w.js} +23 -23
  182. package/dist/chunks/{instruction-discovery-jf30r1rb.js → location-m0gv7qej.js} +14 -14
  183. package/dist/chunks/{instruction-discovery-m1714858.js → location-m1714858.js} +1 -1
  184. package/dist/chunks/{instruction-discovery-ryq7zjd3.js → location-m5nnd4yj.js} +12 -12
  185. package/dist/chunks/{instruction-discovery-6j214bp7.js → location-m9ga4zyy.js} +9 -9
  186. package/dist/chunks/{instruction-discovery-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
  187. package/dist/chunks/{instruction-discovery-maspj1v3.js → location-maspj1v3.js} +1 -1
  188. package/dist/chunks/{instruction-discovery-y09thtp3.js → location-mh30raav.js} +4 -4
  189. package/dist/chunks/{instruction-discovery-5v9evq2g.js → location-mjey6v08.js} +6 -6
  190. package/dist/chunks/{instruction-discovery-mg3zv8ep.js → location-mx81xwtn.js} +23 -23
  191. package/dist/chunks/{instruction-discovery-n0p0277s.js → location-n0p0277s.js} +1 -1
  192. package/dist/chunks/{instruction-discovery-p3ram5kx.js → location-n1ryh798.js} +31 -31
  193. package/dist/chunks/{instruction-discovery-770pw0s1.js → location-nah043kf.js} +4 -4
  194. package/dist/chunks/{instruction-discovery-wbmymcea.js → location-nb3nrvbh.js} +8 -8
  195. package/dist/chunks/{instruction-discovery-m46e9dn8.js → location-nbvb24gq.js} +14 -14
  196. package/dist/chunks/{instruction-discovery-0mhrw39n.js → location-nes0ks30.js} +16 -16
  197. package/dist/chunks/{instruction-discovery-8k3r5dp0.js → location-nfdwtzhc.js} +25 -25
  198. package/dist/chunks/{instruction-discovery-cqxf2v2j.js → location-nm4377q9.js} +8 -8
  199. package/dist/chunks/{instruction-discovery-cgwzn4dm.js → location-nte6bvsd.js} +17 -17
  200. package/dist/chunks/{instruction-discovery-p015t6z3.js → location-p015t6z3.js} +2 -2
  201. package/dist/chunks/{instruction-discovery-a4b9rhwe.js → location-p184mqc5.js} +21 -14
  202. package/dist/chunks/{instruction-discovery-d63q5jb9.js → location-p894etz3.js} +44 -44
  203. package/dist/chunks/{instruction-discovery-pc1v25hk.js → location-pc1v25hk.js} +1 -1
  204. package/dist/chunks/{instruction-discovery-pknna89w.js → location-pknna89w.js} +1 -1
  205. package/dist/chunks/{instruction-discovery-hq055v4c.js → location-pt3agb94.js} +10 -10
  206. package/dist/chunks/{instruction-discovery-c1tsfj35.js → location-ptcpq2hv.js} +6 -6
  207. package/dist/chunks/{instruction-discovery-vfjveysg.js → location-q1rqw855.js} +5 -5
  208. package/dist/chunks/{instruction-discovery-1m4hc5mh.js → location-q55b1wrz.js} +13 -13
  209. package/dist/chunks/{instruction-discovery-kkh84317.js → location-q89bkvf2.js} +2 -2
  210. package/dist/chunks/{instruction-discovery-1cx70z4q.js → location-qbgwvbz8.js} +8 -8
  211. package/dist/chunks/{instruction-discovery-8mhma7yw.js → location-qbm0r1ap.js} +6 -5
  212. package/dist/chunks/{instruction-discovery-ygtqa21c.js → location-qyx1nkkd.js} +19 -19
  213. package/dist/chunks/{instruction-discovery-r0yr0wbs.js → location-r0yr0wbs.js} +1 -1
  214. package/dist/chunks/{instruction-discovery-55tcnysh.js → location-r1s8qxhz.js} +9 -9
  215. package/dist/chunks/{instruction-discovery-4n11yhw4.js → location-r20swzxr.js} +21 -21
  216. package/dist/chunks/{instruction-discovery-ddbr5e5j.js → location-r3083m8p.js} +22 -22
  217. package/dist/chunks/{instruction-discovery-6pg400w5.js → location-ran0pwn3.js} +17 -17
  218. package/dist/chunks/{instruction-discovery-t31xmjpq.js → location-raq1s93x.js} +21 -21
  219. package/dist/chunks/{instruction-discovery-rb9dy4dg.js → location-rb9dy4dg.js} +1 -1
  220. package/dist/chunks/location-rgyfs092.js +58 -0
  221. package/dist/chunks/{instruction-discovery-gcjdgkn2.js → location-rjnacbrz.js} +9 -9
  222. package/dist/chunks/{instruction-discovery-mfa5g8gf.js → location-rkdfvdar.js} +16 -16
  223. package/dist/chunks/{instruction-discovery-pthf9bv3.js → location-rkvk32bt.js} +10 -10
  224. package/dist/chunks/{instruction-discovery-rt5dr6hb.js → location-rt5dr6hb.js} +1 -1
  225. package/dist/chunks/{instruction-discovery-kr28pkn3.js → location-rttdb5jp.js} +36 -32
  226. package/dist/chunks/{instruction-discovery-y78a4wcp.js → location-rxz7t1tx.js} +21 -21
  227. package/dist/chunks/{instruction-discovery-r6ff3mpm.js → location-s1t9wfqz.js} +8 -8
  228. package/dist/chunks/{instruction-discovery-97cewran.js → location-s2pfznc4.js} +6 -6
  229. package/dist/chunks/{instruction-discovery-rh2kdvv3.js → location-s56jz2hb.js} +16 -16
  230. package/dist/chunks/{instruction-discovery-pytpe3gf.js → location-s9ty2h8k.js} +11 -11
  231. package/dist/chunks/{instruction-discovery-zspgb8vt.js → location-scdee33y.js} +2 -2
  232. package/dist/chunks/{instruction-discovery-6q77emv1.js → location-sk6vvdwr.js} +18 -18
  233. package/dist/chunks/{instruction-discovery-xac4ky40.js → location-snh71vez.js} +19 -19
  234. package/dist/chunks/{instruction-discovery-sqjzf8x2.js → location-sqjzf8x2.js} +1 -1
  235. package/dist/chunks/{instruction-discovery-7ayzy530.js → location-t09yj0zj.js} +4 -4
  236. package/dist/chunks/{instruction-discovery-exc8xa65.js → location-t35vpv8z.js} +22 -22
  237. package/dist/chunks/{instruction-discovery-0afbw91q.js → location-t6dn99ca.js} +23 -18
  238. package/dist/chunks/{instruction-discovery-b8mk3enz.js → location-t9sf4w0m.js} +11 -11
  239. package/dist/chunks/{instruction-discovery-tczq8hjw.js → location-tczq8hjw.js} +1 -1
  240. package/dist/chunks/{instruction-discovery-3p713cmj.js → location-tseqrb92.js} +37 -37
  241. package/dist/chunks/{instruction-discovery-tw8zr1ps.js → location-tw8zr1ps.js} +1 -1
  242. package/dist/chunks/{instruction-discovery-twv2r8f4.js → location-twv2r8f4.js} +2 -2
  243. package/dist/chunks/{instruction-discovery-pd3xbwyj.js → location-tx9vmxa7.js} +15 -15
  244. package/dist/chunks/{instruction-discovery-010690t7.js → location-txg5xg0c.js} +25 -25
  245. package/dist/chunks/{instruction-discovery-2p8pcvpp.js → location-v0ajt838.js} +10 -10
  246. package/dist/chunks/{instruction-discovery-mjatteds.js → location-v0h1q5gr.js} +18 -18
  247. package/dist/chunks/{instruction-discovery-me5bcav6.js → location-v2r1d0zg.js} +2 -2
  248. package/dist/chunks/{instruction-discovery-b974jjnj.js → location-v3q8ezdd.js} +13 -13
  249. package/dist/chunks/{instruction-discovery-nad4mkqt.js → location-v6h5bgwd.js} +8 -8
  250. package/dist/chunks/{instruction-discovery-vd3b3yk9.js → location-vd3b3yk9.js} +1 -1
  251. package/dist/chunks/{instruction-discovery-veqvce7d.js → location-veqvce7d.js} +1 -1
  252. package/dist/chunks/{instruction-discovery-08c8nzsh.js → location-vqpjc3nz.js} +15 -15
  253. package/dist/chunks/{instruction-discovery-5yzc6bj8.js → location-vxybbfew.js} +11 -11
  254. package/dist/chunks/{instruction-discovery-jzrtge32.js → location-w00s5rdr.js} +4 -4
  255. package/dist/chunks/{instruction-discovery-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
  256. package/dist/chunks/{instruction-discovery-62mdyzxb.js → location-w67r90k6.js} +5 -5
  257. package/dist/chunks/{instruction-discovery-fznmdakp.js → location-w687dnns.js} +4 -4
  258. package/dist/chunks/{instruction-discovery-wakvkjy4.js → location-wakvkjy4.js} +1 -1
  259. package/dist/chunks/{instruction-discovery-wd87259q.js → location-wd87259q.js} +1 -1
  260. package/dist/chunks/{instruction-discovery-7nepz6ee.js → location-wedh6qfb.js} +4 -4
  261. package/dist/chunks/{instruction-discovery-hdgh8tc2.js → location-wf8nwwfn.js} +13 -11
  262. package/dist/chunks/{instruction-discovery-p4az2c5k.js → location-wxy5qeqz.js} +11 -11
  263. package/dist/chunks/{instruction-discovery-a9n89zg4.js → location-x2adk3yy.js} +20 -20
  264. package/dist/chunks/{instruction-discovery-xg53n6nb.js → location-x3w3gr0t.js} +8 -8
  265. package/dist/chunks/{instruction-discovery-18b8n2mx.js → location-x6zjgj80.js} +9 -9
  266. package/dist/chunks/{instruction-discovery-v4gdxem8.js → location-xewrm1yq.js} +32 -32
  267. package/dist/chunks/{instruction-discovery-j035ke4x.js → location-xr94g6d3.js} +26 -26
  268. package/dist/chunks/{instruction-discovery-ffcwgx2p.js → location-xy22cvcr.js} +50 -50
  269. package/dist/chunks/{instruction-discovery-9hbqwfdp.js → location-xyswfhq2.js} +35 -35
  270. package/dist/chunks/{instruction-discovery-pmz5xcbe.js → location-xzb17nsd.js} +8 -8
  271. package/dist/chunks/{instruction-discovery-8a6bse1c.js → location-y2hbnz15.js} +24 -24
  272. package/dist/chunks/{instruction-discovery-y9awcm76.js → location-y9awcm76.js} +5 -5
  273. package/dist/chunks/{instruction-discovery-yb20nhc3.js → location-yb20nhc3.js} +1 -1
  274. package/dist/chunks/{instruction-discovery-ma4p4v89.js → location-ye1xrrbs.js} +18 -18
  275. package/dist/chunks/{instruction-discovery-kbp23r6j.js → location-ytsgm675.js} +7 -7
  276. package/dist/chunks/{instruction-discovery-tzjzgnfr.js → location-ytvhabzn.js} +10 -10
  277. package/dist/chunks/{instruction-discovery-x0kw00z1.js → location-yx8gesms.js} +10 -12
  278. package/dist/chunks/{instruction-discovery-mpx851pd.js → location-z06f5xk1.js} +23 -23
  279. package/dist/chunks/{instruction-discovery-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{instruction-discovery-wcs0vwrk.js → location-z1f2n5q4.js} +20 -20
  281. package/dist/chunks/{instruction-discovery-hxbv21kt.js → location-z24fzt3x.js} +21 -21
  282. package/dist/chunks/{instruction-discovery-gwkpgrwq.js → location-z359x3zf.js} +17 -17
  283. package/dist/chunks/{instruction-discovery-z38nccrw.js → location-z38nccrw.js} +1 -1
  284. package/dist/chunks/{instruction-discovery-7d2ezwbt.js → location-zakhs7qb.js} +20 -20
  285. package/dist/chunks/{instruction-discovery-98t435zw.js → location-zfwjf24c.js} +8 -8
  286. package/dist/chunks/{instruction-discovery-zkg84ctx.js → location-zkg84ctx.js} +1 -1
  287. package/dist/chunks/{instruction-discovery-w7zjqt6n.js → location-zkgq49d1.js} +4 -4
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +9 -9
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +83 -83
  293. package/dist/config/discovery.js +84 -84
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +101 -101
  296. package/dist/config/plugin/agent.js +116 -116
  297. package/dist/config/plugin/command.js +212 -212
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/compatibility.js +135 -135
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +117 -117
  302. package/dist/config/plugin/image.js +116 -116
  303. package/dist/config/plugin/instruction.js +116 -116
  304. package/dist/config/plugin/location-watcher.js +116 -116
  305. package/dist/config/plugin/mcp.js +123 -123
  306. package/dist/config/plugin/policy.js +117 -117
  307. package/dist/config/plugin/provider.js +114 -114
  308. package/dist/config/plugin/reference.js +118 -118
  309. package/dist/config/plugin/shell.js +118 -118
  310. package/dist/config/plugin/skill-file.js +104 -104
  311. package/dist/config/plugin/skill-scan.js +3 -3
  312. package/dist/config/plugin/skill.js +138 -138
  313. package/dist/config/plugin/snapshot.js +116 -116
  314. package/dist/config/plugin/source.js +117 -117
  315. package/dist/config/plugin/tool-output.js +117 -117
  316. package/dist/config/plugin/websearch.js +117 -117
  317. package/dist/config/plugin/worktree.js +118 -118
  318. package/dist/config/variable.js +1 -1
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +117 -117
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +77 -77
  323. package/dist/database/database.js +68 -68
  324. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +13 -13
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +14 -14
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  388. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  389. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  390. package/dist/database/migration.gen.js +51 -51
  391. package/dist/database/migration.js +53 -53
  392. package/dist/database/path.js +2 -2
  393. package/dist/database/schema.gen.js +1 -1
  394. package/dist/database/schema.sql.js +1 -1
  395. package/dist/database/sqlite.bun.js +1 -1
  396. package/dist/database/sqlite.js +1 -1
  397. package/dist/database/sqlite.node.js +1 -1
  398. package/dist/database/sqlite.workerd.js +1 -1
  399. package/dist/database/v1-migration.bun.js +154 -86
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +370 -369
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +1 -1
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +95 -95
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +97 -97
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +3 -3
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +72 -72
  415. package/dist/file-access.js +102 -102
  416. package/dist/file-mutation.js +96 -96
  417. package/dist/file-retention.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +225 -225
  424. package/dist/filesystem/protected.js +1 -1
  425. package/dist/filesystem/search.js +101 -101
  426. package/dist/filesystem/watcher-binding.js +1 -1
  427. package/dist/filesystem/watcher.js +9 -9
  428. package/dist/filesystem.js +104 -104
  429. package/dist/form.js +74 -74
  430. package/dist/formatter/builtins.js +2 -2
  431. package/dist/formatter.js +89 -89
  432. package/dist/generate.js +107 -107
  433. package/dist/git.js +6 -6
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +93 -93
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +361 -360
  457. package/dist/instruction-discovery.js +86 -86
  458. package/dist/instructions/builtins.js +89 -89
  459. package/dist/instructions/index.js +1 -1
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +81 -81
  462. package/dist/job.js +80 -80
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +75 -75
  465. package/dist/location-activity.js +156 -156
  466. package/dist/location-lifecycle.js +109 -109
  467. package/dist/location-service-map.js +88 -88
  468. package/dist/location-services.js +358 -357
  469. package/dist/location.js +83 -83
  470. package/dist/managed-policy.js +8 -8
  471. package/dist/mcp/client.js +114 -106
  472. package/dist/mcp/index.js +105 -105
  473. package/dist/mcp/instructions.js +138 -138
  474. package/dist/mcp/oauth.js +86 -80
  475. package/dist/mcp/socket-client.js +71 -0
  476. package/dist/mcp/stdio.js +92 -92
  477. package/dist/mime.js +1 -1
  478. package/dist/modal/models.js +93 -93
  479. package/dist/model-resolver.js +101 -101
  480. package/dist/model-retry.js +1 -1
  481. package/dist/model.js +102 -102
  482. package/dist/models-dev.js +101 -101
  483. package/dist/oauth/page.js +1 -1
  484. package/dist/permission/saved.js +82 -82
  485. package/dist/permission/sql.js +5 -5
  486. package/dist/permission.js +109 -109
  487. package/dist/persistent-pty/binary.bun.js +1 -1
  488. package/dist/persistent-pty/daemon.js +1 -1
  489. package/dist/persistent-pty/index.js +78 -78
  490. package/dist/persistent-pty/pty-binding.js +1 -1
  491. package/dist/persistent-pty.js +77 -77
  492. package/dist/plugin/agent.js +76 -76
  493. package/dist/plugin/command.js +102 -102
  494. package/dist/plugin/hooks.js +5 -5
  495. package/dist/plugin/host.js +218 -218
  496. package/dist/plugin/identity.js +3 -3
  497. package/dist/plugin/instance.js +1 -1
  498. package/dist/plugin/internal.js +333 -332
  499. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  500. package/dist/plugin/models-dev.js +98 -98
  501. package/dist/plugin/module.js +115 -115
  502. package/dist/plugin/optimize.js +2 -2
  503. package/dist/plugin/plan.js +104 -104
  504. package/dist/plugin/promise.js +1 -1
  505. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  506. package/dist/plugin/provider/azure.js +116 -116
  507. package/dist/plugin/provider/cerebras.js +1 -1
  508. package/dist/plugin/provider/chatgpt.js +116 -116
  509. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  510. package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
  511. package/dist/plugin/provider/cohere.js +2 -2
  512. package/dist/plugin/provider/configured.js +112 -112
  513. package/dist/plugin/provider/databricks.js +1 -1
  514. package/dist/plugin/provider/digitalocean.js +95 -95
  515. package/dist/plugin/provider/dynamic.js +2 -2
  516. package/dist/plugin/provider/factory.js +1 -1
  517. package/dist/plugin/provider/github-copilot.js +97 -97
  518. package/dist/plugin/provider/gitlab.js +95 -95
  519. package/dist/plugin/provider/google-vertex.js +113 -113
  520. package/dist/plugin/provider/kilo.js +1 -1
  521. package/dist/plugin/provider/llmgateway.js +80 -80
  522. package/dist/plugin/provider/lmstudio.js +125 -125
  523. package/dist/plugin/provider/local.js +122 -122
  524. package/dist/plugin/provider/modal.js +94 -94
  525. package/dist/plugin/provider/neon.js +1 -1
  526. package/dist/plugin/provider/nvidia.js +1 -1
  527. package/dist/plugin/provider/ollama.js +125 -125
  528. package/dist/plugin/provider/openai-context-caps.js +97 -0
  529. package/dist/plugin/provider/openai.js +116 -116
  530. package/dist/plugin/provider/opencode.js +103 -103
  531. package/dist/plugin/provider/openrouter.js +93 -93
  532. package/dist/plugin/provider/perplexity.js +2 -2
  533. package/dist/plugin/provider/poe.js +81 -81
  534. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  535. package/dist/plugin/provider/sap-ai-core.js +93 -93
  536. package/dist/plugin/provider/sdk-factory.js +1 -1
  537. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  538. package/dist/plugin/provider/vercel.js +92 -92
  539. package/dist/plugin/provider/vllm.js +123 -123
  540. package/dist/plugin/provider/xai.js +93 -93
  541. package/dist/plugin/provider/zenmux.js +1 -1
  542. package/dist/plugin/provider.js +171 -170
  543. package/dist/plugin/sdk.js +76 -76
  544. package/dist/plugin/service.js +3 -3
  545. package/dist/plugin/skill.js +134 -134
  546. package/dist/plugin/source-directory.js +1 -1
  547. package/dist/plugin/supervisor.js +348 -347
  548. package/dist/plugin/tool-input-repair.js +4 -4
  549. package/dist/plugin/update.js +6 -6
  550. package/dist/plugin/vcs/git.js +88 -88
  551. package/dist/plugin/vcs/hg.js +88 -88
  552. package/dist/plugin/verbosity.js +95 -95
  553. package/dist/plugin/warming.js +114 -114
  554. package/dist/plugin/websearch/exa.js +7 -7
  555. package/dist/plugin/websearch/firecrawl.js +8 -8
  556. package/dist/plugin/websearch/index.js +9 -9
  557. package/dist/plugin/websearch/mcp.js +4 -4
  558. package/dist/plugin/websearch/parallel.js +8 -8
  559. package/dist/plugin/websearch/tavily.js +6 -6
  560. package/dist/plugin/websearch/tinyfish.js +8 -8
  561. package/dist/plugin.js +223 -223
  562. package/dist/project/schema.js +2 -2
  563. package/dist/project/sql.js +4 -4
  564. package/dist/project.js +82 -82
  565. package/dist/provider.js +97 -97
  566. package/dist/pty/protocol.js +1 -1
  567. package/dist/pty/ticket.js +11 -4
  568. package/dist/pty.js +91 -91
  569. package/dist/reference/instructions.js +89 -89
  570. package/dist/reference.js +91 -91
  571. package/dist/repository-cache.js +79 -79
  572. package/dist/repository.js +1 -1
  573. package/dist/ripgrep/binary.js +2 -2
  574. package/dist/ripgrep.js +99 -99
  575. package/dist/rpc.js +88 -88
  576. package/dist/schema.js +1 -1
  577. package/dist/session/affinity.js +1 -1
  578. package/dist/session/command.js +76 -76
  579. package/dist/session/compaction.js +136 -136
  580. package/dist/session/context.js +164 -164
  581. package/dist/session/diff.js +90 -90
  582. package/dist/session/environment.js +5 -5
  583. package/dist/session/error.js +3 -3
  584. package/dist/session/event.js +1 -1
  585. package/dist/session/execution/restart.js +221 -221
  586. package/dist/session/execution.js +126 -126
  587. package/dist/session/generate.js +164 -164
  588. package/dist/session/history.js +13 -13
  589. package/dist/session/inbox.js +95 -95
  590. package/dist/session/info.js +3 -3
  591. package/dist/session/instruction-entry.js +81 -81
  592. package/dist/session/instruction-state.js +8 -8
  593. package/dist/session/instructions.js +99 -99
  594. package/dist/session/message-updater.js +2 -2
  595. package/dist/session/message.js +1 -1
  596. package/dist/session/model-request.js +122 -122
  597. package/dist/session/model-transport.js +9 -9
  598. package/dist/session/move.js +132 -132
  599. package/dist/session/projector.js +91 -91
  600. package/dist/session/prompt.js +107 -107
  601. package/dist/session/recent-text.js +1 -1
  602. package/dist/session/revert.js +96 -96
  603. package/dist/session/run-coordinator.js +3 -3
  604. package/dist/session/runner/index.js +3 -3
  605. package/dist/session/runner/llm.js +231 -231
  606. package/dist/session/runner/max-steps.js +1 -1
  607. package/dist/session/runner/model.js +102 -101
  608. package/dist/session/runner/publish-llm-event.js +116 -116
  609. package/dist/session/runner/retry.js +3 -3
  610. package/dist/session/runner/step.js +126 -126
  611. package/dist/session/runner/to-llm-message.js +14 -14
  612. package/dist/session/schema.js +5 -5
  613. package/dist/session/session.js +165 -165
  614. package/dist/session/shell.js +130 -130
  615. package/dist/session/skill.js +105 -105
  616. package/dist/session/sql.js +5 -5
  617. package/dist/session/stats.js +75 -75
  618. package/dist/session/store.js +87 -87
  619. package/dist/session/subagent-completion.js +1 -1
  620. package/dist/session/subagent-job.js +212 -212
  621. package/dist/session/system-prompt.js +5 -5
  622. package/dist/session/title.js +164 -164
  623. package/dist/session/to-session-error.js +114 -114
  624. package/dist/session/transfer.js +214 -214
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +216 -216
  627. package/dist/shell/parse.js +8 -8
  628. package/dist/shell/result.js +1 -1
  629. package/dist/shell/scan.js +1 -1
  630. package/dist/shell/select.js +13 -13
  631. package/dist/shell.js +130 -130
  632. package/dist/skill/discovery.js +6 -6
  633. package/dist/skill/instructions.js +107 -107
  634. package/dist/skill.js +112 -112
  635. package/dist/snapshot.js +93 -93
  636. package/dist/state.js +1 -1
  637. package/dist/tool/html-markdown.js +1 -1
  638. package/dist/tool/http-body.js +1 -1
  639. package/dist/tool/mcp.js +139 -139
  640. package/dist/tool/plugin/edit.js +122 -122
  641. package/dist/tool/plugin/file-diff.js +1 -1
  642. package/dist/tool/plugin/glob.js +126 -126
  643. package/dist/tool/plugin/grep.js +126 -126
  644. package/dist/tool/plugin/mcp-resource.js +126 -126
  645. package/dist/tool/plugin/opencode.js +111 -111
  646. package/dist/tool/plugin/patch.js +120 -120
  647. package/dist/tool/plugin/question.js +105 -105
  648. package/dist/tool/plugin/read.js +127 -127
  649. package/dist/tool/plugin/shell.js +217 -217
  650. package/dist/tool/plugin/skill.js +113 -113
  651. package/dist/tool/plugin/subagent.js +219 -219
  652. package/dist/tool/plugin/todo.js +138 -138
  653. package/dist/tool/plugin/webfetch.js +115 -115
  654. package/dist/tool/plugin/websearch.js +114 -114
  655. package/dist/tool/plugin/write.js +124 -124
  656. package/dist/tool/read-filesystem.js +102 -102
  657. package/dist/tool/runtime.js +1 -1
  658. package/dist/tool-output.js +7 -7
  659. package/dist/tool.js +12 -12
  660. package/dist/types/database/v1-migration.bun.d.ts +4 -2
  661. package/dist/types/github-copilot/responses/openai-responses-language-model.d.ts +2 -2
  662. package/dist/types/image/photon-wasm.bun.d.ts +1 -1
  663. package/dist/types/job.d.ts +1 -4
  664. package/dist/types/mcp/client.d.ts +8 -281
  665. package/dist/types/mcp/index.d.ts +8 -1
  666. package/dist/types/mcp/socket-client.d.ts +28 -0
  667. package/dist/types/permission.d.ts +0 -1
  668. package/dist/types/persistent-pty/daemon.d.ts +0 -6
  669. package/dist/types/plugin/provider/openai-context-caps.d.ts +2 -0
  670. package/dist/types/project.d.ts +6 -2
  671. package/dist/types/pty/ticket.d.ts +7 -1
  672. package/dist/types/session/compaction.d.ts +7 -0
  673. package/dist/types/session/diff.d.ts +0 -1
  674. package/dist/types/session/error.d.ts +6 -16
  675. package/dist/types/session/history.d.ts +269 -269
  676. package/dist/types/session/inbox.d.ts +1 -1
  677. package/dist/types/session/runner/model.d.ts +0 -1
  678. package/dist/types/session/schema.d.ts +6 -12
  679. package/dist/types/session/stats.d.ts +12 -11
  680. package/dist/types/session/store.d.ts +0 -6
  681. package/dist/types/session/transfer.d.ts +19 -25
  682. package/dist/types/session.d.ts +0 -6
  683. package/dist/types/shell/parser-wasm.bun.d.ts +3 -3
  684. package/dist/types/tool/plugin/opencode.d.ts +0 -2
  685. package/dist/types/tool/plugin/subagent.d.ts +0 -2
  686. package/dist/types/v1/config/migrate.d.ts +1 -1
  687. package/dist/util/error-summary.js +1 -1
  688. package/dist/util/git-executable.js +2 -2
  689. package/dist/util/lazy.js +1 -1
  690. package/dist/util/slug.js +1 -1
  691. package/dist/util/token.js +1 -1
  692. package/dist/util/which.js +1 -1
  693. package/dist/util/wildcard.js +1 -1
  694. package/dist/v1/config/agent.js +5 -5
  695. package/dist/v1/config/command.js +3 -3
  696. package/dist/v1/config/mcp.js +4 -4
  697. package/dist/v1/config/migrate.js +94 -94
  698. package/dist/v1/config/permission.js +1 -1
  699. package/dist/v1/config/plugin.js +1 -1
  700. package/dist/v1/config/provider-options.js +1 -1
  701. package/dist/v1/config/provider.js +4 -4
  702. package/dist/variant.js +93 -93
  703. package/dist/vcs/patch.js +1 -1
  704. package/dist/vcs.js +91 -91
  705. package/dist/voice.js +90 -90
  706. package/dist/websearch.js +80 -80
  707. package/dist/wellknown/plugin.js +78 -78
  708. package/dist/wellknown.js +81 -81
  709. package/dist/workspace/driver.js +7 -7
  710. package/dist/workspace/sql.js +1 -1
  711. package/dist/workspace.js +84 -84
  712. package/dist/worktree/directory.js +2 -2
  713. package/dist/worktree/git.js +8 -8
  714. package/dist/worktree/sql.js +5 -5
  715. package/dist/worktree/strategies.js +91 -91
  716. package/dist/worktree.js +94 -94
  717. package/package.json +13 -12
  718. package/dist/chunks/instruction-discovery-8wc7jg0k.js +0 -26
  719. package/dist/chunks/instruction-discovery-grzehpz7.js +0 -18
  720. package/dist/chunks/instruction-discovery-h50tsds5.js +0 -257
  721. package/dist/chunks/instruction-discovery-zyp4ce26.js +0 -523
  722. /package/dist/chunks/{instruction-discovery-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
  723. /package/dist/chunks/{instruction-discovery-0zkw76rk.js → location-0zkw76rk.js} +0 -0
  724. /package/dist/chunks/{instruction-discovery-17cy0kzp.js → location-17cy0kzp.js} +0 -0
  725. /package/dist/chunks/{instruction-discovery-1cnp2v09.js → location-1cnp2v09.js} +0 -0
  726. /package/dist/chunks/{instruction-discovery-24dcb14g.js → location-24dcb14g.js} +0 -0
  727. /package/dist/chunks/{instruction-discovery-2710q6r3.js → location-2710q6r3.js} +0 -0
  728. /package/dist/chunks/{instruction-discovery-2bv980vf.js → location-2bv980vf.js} +0 -0
  729. /package/dist/chunks/{instruction-discovery-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
  730. /package/dist/chunks/{instruction-discovery-359p4xyc.js → location-359p4xyc.js} +0 -0
  731. /package/dist/chunks/{instruction-discovery-3asan66x.js → location-3asan66x.js} +0 -0
  732. /package/dist/chunks/{instruction-discovery-3v8g72cx.js → location-3v8g72cx.js} +0 -0
  733. /package/dist/chunks/{instruction-discovery-3wcehsnq.js → location-3wcehsnq.js} +0 -0
  734. /package/dist/chunks/{instruction-discovery-43n2bw4t.js → location-43n2bw4t.js} +0 -0
  735. /package/dist/chunks/{instruction-discovery-4knz6hnm.js → location-4knz6hnm.js} +0 -0
  736. /package/dist/chunks/{instruction-discovery-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
  737. /package/dist/chunks/{instruction-discovery-4y7fprxs.js → location-4y7fprxs.js} +0 -0
  738. /package/dist/chunks/{instruction-discovery-53557ph1.js → location-53557ph1.js} +0 -0
  739. /package/dist/chunks/{instruction-discovery-550bvhaj.js → location-550bvhaj.js} +0 -0
  740. /package/dist/chunks/{instruction-discovery-5fjb7ams.js → location-5fjb7ams.js} +0 -0
  741. /package/dist/chunks/{instruction-discovery-5qd3pb7m.js → location-5qd3pb7m.js} +0 -0
  742. /package/dist/chunks/{instruction-discovery-6prwharc.js → location-6prwharc.js} +0 -0
  743. /package/dist/chunks/{instruction-discovery-6q2bdcd1.js → location-6q2bdcd1.js} +0 -0
  744. /package/dist/chunks/{instruction-discovery-7akdwqpd.js → location-7akdwqpd.js} +0 -0
  745. /package/dist/chunks/{instruction-discovery-7m9af43g.js → location-7m9af43g.js} +0 -0
  746. /package/dist/chunks/{instruction-discovery-822emrt2.js → location-822emrt2.js} +0 -0
  747. /package/dist/chunks/{instruction-discovery-84wd9syh.js → location-84wd9syh.js} +0 -0
  748. /package/dist/chunks/{instruction-discovery-88xbtdfr.js → location-88xbtdfr.js} +0 -0
  749. /package/dist/chunks/{instruction-discovery-8n3pysct.js → location-8n3pysct.js} +0 -0
  750. /package/dist/chunks/{instruction-discovery-8wj87zfr.js → location-8wj87zfr.js} +0 -0
  751. /package/dist/chunks/{instruction-discovery-9a4afbnw.js → location-9a4afbnw.js} +0 -0
  752. /package/dist/chunks/{instruction-discovery-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
  753. /package/dist/chunks/{instruction-discovery-a058387c.js → location-a058387c.js} +0 -0
  754. /package/dist/chunks/{instruction-discovery-a6k6eb26.js → location-a6k6eb26.js} +0 -0
  755. /package/dist/chunks/{instruction-discovery-af5trqkr.js → location-af5trqkr.js} +0 -0
  756. /package/dist/chunks/{instruction-discovery-afrmfg78.js → location-afrmfg78.js} +0 -0
  757. /package/dist/chunks/{instruction-discovery-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
  758. /package/dist/chunks/{instruction-discovery-atq7p7m5.js → location-atq7p7m5.js} +0 -0
  759. /package/dist/chunks/{instruction-discovery-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
  760. /package/dist/chunks/{instruction-discovery-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
  761. /package/dist/chunks/{instruction-discovery-cf4snx6d.js → location-cf4snx6d.js} +0 -0
  762. /package/dist/chunks/{instruction-discovery-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
  763. /package/dist/chunks/{instruction-discovery-d9fn303g.js → location-d9fn303g.js} +0 -0
  764. /package/dist/chunks/{instruction-discovery-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
  765. /package/dist/chunks/{instruction-discovery-dajrwvna.js → location-dajrwvna.js} +0 -0
  766. /package/dist/chunks/{instruction-discovery-dap0rakb.js → location-dap0rakb.js} +0 -0
  767. /package/dist/chunks/{instruction-discovery-df08tz66.js → location-df08tz66.js} +0 -0
  768. /package/dist/chunks/{instruction-discovery-dy18nga0.js → location-dy18nga0.js} +0 -0
  769. /package/dist/chunks/{instruction-discovery-e5kj55wp.js → location-e5kj55wp.js} +0 -0
  770. /package/dist/chunks/{instruction-discovery-e73j6tqm.js → location-e73j6tqm.js} +0 -0
  771. /package/dist/chunks/{instruction-discovery-ec1grn59.js → location-ec1grn59.js} +0 -0
  772. /package/dist/chunks/{instruction-discovery-eh3zwz77.js → location-eh3zwz77.js} +0 -0
  773. /package/dist/chunks/{instruction-discovery-emrn6kk6.js → location-emrn6kk6.js} +0 -0
  774. /package/dist/chunks/{instruction-discovery-f0mxakyp.js → location-f0mxakyp.js} +0 -0
  775. /package/dist/chunks/{instruction-discovery-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
  776. /package/dist/chunks/{instruction-discovery-faypxj3z.js → location-faypxj3z.js} +0 -0
  777. /package/dist/chunks/{instruction-discovery-fd410y7t.js → location-fd410y7t.js} +0 -0
  778. /package/dist/chunks/{instruction-discovery-g4wezp1m.js → location-g4wezp1m.js} +0 -0
  779. /package/dist/chunks/{instruction-discovery-g86h250q.js → location-g86h250q.js} +0 -0
  780. /package/dist/chunks/{instruction-discovery-gebd4c9n.js → location-gebd4c9n.js} +0 -0
  781. /package/dist/chunks/{instruction-discovery-gftt206x.js → location-gftt206x.js} +0 -0
  782. /package/dist/chunks/{instruction-discovery-hcxmzztb.js → location-hcxmzztb.js} +0 -0
  783. /package/dist/chunks/{instruction-discovery-hk9envan.js → location-hk9envan.js} +0 -0
  784. /package/dist/chunks/{instruction-discovery-j2ntwpah.js → location-j2ntwpah.js} +0 -0
  785. /package/dist/chunks/{instruction-discovery-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
  786. /package/dist/chunks/{instruction-discovery-jjkms2e6.js → location-jjkms2e6.js} +0 -0
  787. /package/dist/chunks/{instruction-discovery-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
  788. /package/dist/chunks/{instruction-discovery-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
  789. /package/dist/chunks/{instruction-discovery-jze0r7bz.js → location-jze0r7bz.js} +0 -0
  790. /package/dist/chunks/{instruction-discovery-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
  791. /package/dist/chunks/{instruction-discovery-m18g726c.js → location-m18g726c.js} +0 -0
  792. /package/dist/chunks/{instruction-discovery-mp448xyj.js → location-mp448xyj.js} +0 -0
  793. /package/dist/chunks/{instruction-discovery-msx8hqn2.js → location-msx8hqn2.js} +0 -0
  794. /package/dist/chunks/{instruction-discovery-n05xt0ee.js → location-n05xt0ee.js} +0 -0
  795. /package/dist/chunks/{instruction-discovery-n3j8tn72.js → location-n3j8tn72.js} +0 -0
  796. /package/dist/chunks/{instruction-discovery-njntx4h6.js → location-njntx4h6.js} +0 -0
  797. /package/dist/chunks/{instruction-discovery-pkyv6v7h.js → location-pkyv6v7h.js} +0 -0
  798. /package/dist/chunks/{instruction-discovery-q3sfg36h.js → location-q3sfg36h.js} +0 -0
  799. /package/dist/chunks/{instruction-discovery-q74kybfr.js → location-q74kybfr.js} +0 -0
  800. /package/dist/chunks/{instruction-discovery-qaymkmh1.js → location-qaymkmh1.js} +0 -0
  801. /package/dist/chunks/{instruction-discovery-qb87gjwd.js → location-qb87gjwd.js} +0 -0
  802. /package/dist/chunks/{instruction-discovery-qfa1cgps.js → location-qfa1cgps.js} +0 -0
  803. /package/dist/chunks/{instruction-discovery-qg3g05ea.js → location-qg3g05ea.js} +0 -0
  804. /package/dist/chunks/{instruction-discovery-qrg20bc0.js → location-qrg20bc0.js} +0 -0
  805. /package/dist/chunks/{instruction-discovery-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
  806. /package/dist/chunks/{instruction-discovery-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
  807. /package/dist/chunks/{instruction-discovery-ssg3fenm.js → location-ssg3fenm.js} +0 -0
  808. /package/dist/chunks/{instruction-discovery-ve7vex1e.js → location-ve7vex1e.js} +0 -0
  809. /package/dist/chunks/{instruction-discovery-w803qqfp.js → location-w803qqfp.js} +0 -0
  810. /package/dist/chunks/{instruction-discovery-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
  811. /package/dist/chunks/{instruction-discovery-wer8tq1h.js → location-wer8tq1h.js} +0 -0
  812. /package/dist/chunks/{instruction-discovery-wjj7prxr.js → location-wjj7prxr.js} +0 -0
  813. /package/dist/chunks/{instruction-discovery-wtztk69x.js → location-wtztk69x.js} +0 -0
  814. /package/dist/chunks/{instruction-discovery-x0ckcb58.js → location-x0ckcb58.js} +0 -0
  815. /package/dist/chunks/{instruction-discovery-x61499pn.js → location-x61499pn.js} +0 -0
  816. /package/dist/chunks/{instruction-discovery-y44na4kk.js → location-y44na4kk.js} +0 -0
  817. /package/dist/chunks/{instruction-discovery-y8f7s663.js → location-y8f7s663.js} +0 -0
  818. /package/dist/chunks/{instruction-discovery-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
  819. /package/dist/chunks/{instruction-discovery-ym463w8f.js → location-ym463w8f.js} +0 -0
  820. /package/dist/chunks/{instruction-discovery-z5v4ffb3.js → location-z5v4ffb3.js} +0 -0
  821. /package/dist/chunks/{instruction-discovery-z9919s4g.js → location-z9919s4g.js} +0 -0
@@ -2,20 +2,20 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./instruction-discovery-z5v4ffb3.js";
5
+ } from "./location-z5v4ffb3.js";
6
6
  import {
7
- Service48,
8
- node52
9
- } from "./instruction-discovery-4n11yhw4.js";
7
+ Service60,
8
+ node62
9
+ } from "./location-r20swzxr.js";
10
10
  import {
11
11
  Content2
12
- } from "./instruction-discovery-d0bfceqm.js";
12
+ } from "./location-7hk3fzbx.js";
13
13
  import {
14
14
  detect2
15
- } from "./instruction-discovery-2z1j29yd.js";
15
+ } from "./location-2z1j29yd.js";
16
16
  import {
17
17
  __export
18
- } from "./instruction-discovery-9rqn6x4v.js";
18
+ } from "./location-9rqn6x4v.js";
19
19
 
20
20
  // src/tool/read-filesystem.ts
21
21
  var exports_read_filesystem = {};
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
33
33
  PageInput: () => PageInput2,
34
34
  PathKindError: () => PathKindError2,
35
35
  ReadToolFileSystem: () => exports_read_filesystem,
36
- Service: () => Service33,
36
+ Service: () => Service38,
37
37
  TextPage: () => TextPage2,
38
- node: () => node37,
38
+ node: () => node41,
39
39
  read: () => read2
40
40
  });
41
41
  import path from "path";
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
114
114
  }) {
115
115
  }
116
116
 
117
- class Service33 extends Context.Service()("@opencode/ReadToolFileSystem") {
117
+ class Service38 extends Context.Service()("@opencode/ReadToolFileSystem") {
118
118
  }
119
119
  var mimeType = (value) => lookup(value) || "application/octet-stream";
120
120
  var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
330
330
  return index + 1;
331
331
  }
332
332
  };
333
- var layer = Layer.effect(Service33, Effect.gen(function* () {
334
- const environment = yield* Service48;
335
- return Service33.of({
333
+ var layer = Layer.effect(Service38, Effect.gen(function* () {
334
+ const environment = yield* Service60;
335
+ return Service38.of({
336
336
  list: environment.files.list,
337
337
  read: (path2, resource, page) => read2(environment.files, path2, resource, page)
338
338
  });
339
339
  }));
340
- var node37 = makeLocationNode({ service: Service33, layer, deps: [node52] });
340
+ var node41 = makeLocationNode({ service: Service38, layer, deps: [node62] });
341
341
 
342
- export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry3, ListPage2, Service33, read2, node37, exports_read_filesystem };
342
+ export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry3, ListPage2, Service38, read2, node41, exports_read_filesystem };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./instruction-discovery-z5v4ffb3.js";
4
+ } from "./location-z5v4ffb3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
8
  Service84,
9
9
  node88
10
- } from "./instruction-discovery-y9awcm76.js";
10
+ } from "./location-y9awcm76.js";
11
11
  import {
12
12
  Service82,
13
13
  node86
14
- } from "./instruction-discovery-7m02jy4j.js";
14
+ } from "./location-5ysrq0ad.js";
15
15
  import {
16
16
  create3
17
- } from "./instruction-discovery-vd3b3yk9.js";
17
+ } from "./location-vd3b3yk9.js";
18
18
  import {
19
19
  __export
20
- } from "./instruction-discovery-9rqn6x4v.js";
20
+ } from "./location-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error4,
26
- ID: () => ID6,
27
- Service: () => Service50,
25
+ Error: () => Error2,
26
+ ID: () => ID5,
27
+ Service: () => Service41,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node55,
29
+ node: () => node44,
30
30
  noopLayer: () => noopLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -34,18 +34,18 @@ import path from "path";
34
34
  import { Clock, Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID6 } from "@opencode/schema/snapshot";
37
+ import { ID as ID5 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error4 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error2 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service50 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service41 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service50, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service41, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
50
  const git = yield* Service84;
51
51
  const global = yield* Global.Service;
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error4({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error2({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
72
72
  const repository = repositoryFiber.pipe(Effect.uninterruptible, Effect.flatMap(Fiber.join));
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  if (!FSUtil.contains(worktree, location.directory))
75
- return yield* new Error4({ operation: "capture", message: "Location is outside the project" });
75
+ return yield* new Error2({ operation: "capture", message: "Location is outside the project" });
76
76
  return RelativePath2.make(path.relative(worktree, location.directory).replaceAll("\\", "/") || ".");
77
77
  });
78
78
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
96
96
  maximumUntrackedFileBytes: 2 * 1024 * 1024
97
97
  });
98
98
  yield* packWhenDue(repo.snapshotRepository);
99
- return ID6.make(tree);
99
+ return ID5.make(tree);
100
100
  }).pipe(Effect.catch((cause) => Effect.logWarning("failed to capture snapshot", { cause }).pipe(Effect.as(undefined))));
101
101
  });
102
102
  const comparison = Effect.fnUntraced(function* (operation, input) {
@@ -141,25 +141,25 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
141
141
  for (const [file, snapshot] of input.files) {
142
142
  const absolute = path.resolve(worktree, file);
143
143
  if (!FSUtil.contains(worktree, absolute))
144
- return yield* new Error4({ operation: "restore", message: `Path escapes the project: ${file}` });
144
+ return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
145
145
  files.set(file, TreeID2.make(snapshot));
146
146
  }
147
147
  return files;
148
148
  });
149
149
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
150
150
  if (!enabled())
151
- return yield* new Error4({ operation: "restore", message: "Snapshots are disabled" });
151
+ return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
152
152
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
153
153
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
154
154
  });
155
- return Service50.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
155
+ return Service41.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
156
156
  }).pipe(Effect.withSpan("Snapshot.boot")));
157
- var node55 = makeLocationNode({
158
- service: Service50,
157
+ var node44 = makeLocationNode({
158
+ service: Service41,
159
159
  layer,
160
160
  deps: [FSUtil.node, node88, Global.node, node86]
161
161
  });
162
- var noopLayer2 = Layer.succeed(Service50, Service50.of({
162
+ var noopLayer2 = Layer.succeed(Service41, Service41.of({
163
163
  transform: () => Effect.succeed({ dispose: Effect.void }),
164
164
  reload: () => Effect.void,
165
165
  capture: () => Effect.undefined,
@@ -168,13 +168,13 @@ var noopLayer2 = Layer.succeed(Service50, Service50.of({
168
168
  restore: () => Effect.void
169
169
  }));
170
170
  function failure(operation, cause) {
171
- if (cause instanceof Error4 && cause.operation === operation)
171
+ if (cause instanceof Error2 && cause.operation === operation)
172
172
  return cause;
173
- return new Error4({
173
+ return new Error2({
174
174
  operation,
175
175
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
176
176
  cause
177
177
  });
178
178
  }
179
179
 
180
- export { ID6, Error4, Service50, node55, noopLayer2, exports_snapshot2 };
180
+ export { ID5, Error2, Service41, node44, noopLayer2, exports_snapshot2 };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./instruction-discovery-8d991bzx.js";
4
+ } from "./location-5nankzt7.js";
5
5
  import {
6
6
  Service85,
7
7
  node89
8
- } from "./instruction-discovery-7nepz6ee.js";
8
+ } from "./location-wedh6qfb.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./instruction-discovery-pknna89w.js";
11
+ } from "./location-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./instruction-discovery-m1714858.js";
14
+ } from "./location-m1714858.js";
15
15
  import {
16
16
  __export
17
- } from "./instruction-discovery-9rqn6x4v.js";
17
+ } from "./location-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
@@ -23,7 +23,7 @@ __export(exports_credential, {
23
23
  Event: () => Event19,
24
24
  External: () => External2,
25
25
  ID: () => ID16,
26
- Info: () => Info25,
26
+ Info: () => Info26,
27
27
  Key: () => Key4,
28
28
  OAuth: () => OAuth3,
29
29
  Service: () => Service80,
@@ -43,7 +43,7 @@ var External2 = Credential.External;
43
43
  var Value2 = Credential.Value;
44
44
  var Event19 = Credential.Event;
45
45
 
46
- class Info25 extends Schema.Class("Credential.Info")({
46
+ class Info26 extends Schema.Class("Credential.Info")({
47
47
  id: ID16,
48
48
  integrationID: Integration.ID,
49
49
  label: Schema.String,
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
60
60
  const stored = (row) => {
61
61
  if (!row.integration_id)
62
62
  return;
63
- return new Info25({
63
+ return new Info26({
64
64
  id: row.id,
65
65
  integrationID: row.integration_id,
66
66
  label: row.label,
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
79
79
  return row ? stored(row) : undefined;
80
80
  }),
81
81
  create: Effect.fn("Credential.create")(function* (input) {
82
- const credential = new Info25({
82
+ const credential = new Info26({
83
83
  id: input.id ?? ID16.create(),
84
84
  integrationID: input.integrationID,
85
85
  label: input.label ?? "default",
@@ -206,4 +206,4 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
206
206
  }));
207
207
  var node84 = makeGlobalNode({ service: Service80, layer, deps: [node90, node89] });
208
208
 
209
- export { ID16, OAuth3, Key4, External2, Value2, Event19, Info25, Service80, node84, exports_credential };
209
+ export { ID16, OAuth3, Key4, External2, Value2, Event19, Info26, Service80, node84, exports_credential };
@@ -2,26 +2,26 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./instruction-discovery-z5v4ffb3.js";
5
+ } from "./location-z5v4ffb3.js";
6
6
  import {
7
- Service48,
8
- node52
9
- } from "./instruction-discovery-4n11yhw4.js";
7
+ Service60,
8
+ node62
9
+ } from "./location-r20swzxr.js";
10
10
  import {
11
11
  RipgrepBinary2
12
- } from "./instruction-discovery-maspj1v3.js";
12
+ } from "./location-maspj1v3.js";
13
13
  import {
14
14
  __export
15
- } from "./instruction-discovery-9rqn6x4v.js";
15
+ } from "./location-9rqn6x4v.js";
16
16
 
17
17
  // src/ripgrep.ts
18
18
  var exports_ripgrep = {};
19
19
  __export(exports_ripgrep, {
20
- Error: () => Error2,
20
+ Error: () => Error3,
21
21
  InvalidPatternError: () => InvalidPatternError2,
22
22
  Ripgrep: () => exports_ripgrep,
23
- Service: () => Service47,
24
- node: () => node51
23
+ Service: () => Service54,
24
+ node: () => node56
25
25
  });
26
26
  import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
27
27
  import { ChildProcess } from "effect/process";
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
46
46
  });
47
47
  var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
48
48
 
49
- class Error2 extends Schema.TaggedError()("Ripgrep.Error", {
49
+ class Error3 extends Schema.TaggedError()("Ripgrep.Error", {
50
50
  message: Schema.String,
51
51
  cause: Schema.optional(Schema.Defect())
52
52
  }) {
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
58
58
  }) {
59
59
  }
60
60
 
61
- class Service47 extends Context.Service()("@opencode/Ripgrep") {
61
+ class Service54 extends Context.Service()("@opencode/Ripgrep") {
62
62
  }
63
- var failure = (message, cause) => new Error2({ message, cause });
63
+ var failure = (message, cause) => new Error3({ message, cause });
64
64
  var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
65
65
  var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
66
- var layer = Layer.effect(Service47, Effect.gen(function* () {
67
- const environment = yield* Service48;
66
+ var layer = Layer.effect(Service54, Effect.gen(function* () {
67
+ const environment = yield* Service60;
68
68
  const binary = yield* RipgrepBinary2.Service;
69
69
  const run = (input) => {
70
70
  const program = Effect.scoped(Effect.gen(function* () {
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
90
90
  return code === 1 ? [] : rows;
91
91
  }));
92
92
  const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
93
- return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
93
+ return abortable.pipe(Effect.mapError((cause) => cause instanceof Error3 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
94
94
  };
95
- return Service47.of({
95
+ return Service54.of({
96
96
  glob: (input) => run({
97
97
  cwd: input.cwd,
98
98
  limit: input.limit,
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
175
175
  }))))
176
176
  });
177
177
  }));
178
- var node51 = makeLocationNode({ service: Service47, layer, deps: [node52, RipgrepBinary2.node] });
178
+ var node56 = makeLocationNode({ service: Service54, layer, deps: [node62, RipgrepBinary2.node] });
179
179
 
180
- export { Error2, InvalidPatternError2, Service47, node51, exports_ripgrep };
180
+ export { Error3, InvalidPatternError2, Service54, node56, exports_ripgrep };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./instruction-discovery-9rqn6x4v.js";
3
+ } from "./location-9rqn6x4v.js";
4
4
 
5
5
  // src/session/recent-text.ts
6
6
  var exports_recent_text = {};
@@ -35,7 +35,7 @@ ${skill.text}`]) ?? [];
35
35
  if (part.type === "text")
36
36
  return [`[Assistant]: ${part.text}`];
37
37
  if (part.type === "reasoning")
38
- return part.text ? [`[Assistant reasoning]: ${part.text}`] : [];
38
+ return [];
39
39
  const input = typeof part.state.input === "string" ? part.state.input : JSON.stringify(part.state.input);
40
40
  const call = `[Assistant tool call]: ${part.name}(${input})`;
41
41
  if (part.state.status === "completed") {
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./instruction-discovery-8jztxfpf.js";
3
+ } from "./location-8jztxfpf.js";
4
4
  import {
5
- Service48,
6
- node52
7
- } from "./instruction-discovery-4n11yhw4.js";
5
+ Service60,
6
+ node62
7
+ } from "./location-r20swzxr.js";
8
8
  import {
9
9
  __export
10
- } from "./instruction-discovery-9rqn6x4v.js";
10
+ } from "./location-9rqn6x4v.js";
11
11
 
12
12
  // src/file-mutation.ts
13
13
  var exports_file_mutation = {};
14
14
  __export(exports_file_mutation, {
15
15
  FileMutation: () => exports_file_mutation,
16
- Service: () => Service16,
17
- node: () => node18,
16
+ Service: () => Service17,
17
+ node: () => node19,
18
18
  readText: () => readText2,
19
19
  syncTextBom: () => syncTextBom2
20
20
  });
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, Effect, Layer } from "effect";
23
23
  import { FSUtil } from "@opencode/util/fs-util";
24
24
  import { Bom } from "@opencode/util/bom";
25
- class Service16 extends Context.Service()("@opencode/FileMutation") {
25
+ class Service17 extends Context.Service()("@opencode/FileMutation") {
26
26
  }
27
27
  var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
28
28
  return Bom.decodeBytes((yield* files.read(target)).bytes);
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
34
34
  return synced.text;
35
35
  });
36
36
  var transactionLocks = makeUnsafe2();
37
- var layer = Layer.effect(Service16, Effect.gen(function* () {
38
- const environment = yield* Service48;
37
+ var layer = Layer.effect(Service17, Effect.gen(function* () {
38
+ const environment = yield* Service60;
39
39
  const locks = makeUnsafe2();
40
40
  const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
41
41
  const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
56
56
  yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
57
57
  return writeResult(input.target, current !== undefined);
58
58
  })));
59
- return Service16.of({ withLock, write, writeTextPreservingBom });
59
+ return Service17.of({ withLock, write, writeTextPreservingBom });
60
60
  }));
61
- var node18 = makeLocationNode({ service: Service16, layer, deps: [node52] });
61
+ var node19 = makeLocationNode({ service: Service17, layer, deps: [node62] });
62
62
 
63
- export { Service16, readText2, syncTextBom2, node18, exports_file_mutation };
63
+ export { Service17, readText2, syncTextBom2, node19, exports_file_mutation };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./instruction-discovery-9rqn6x4v.js";
3
+ } from "./location-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/hooks.ts
6
6
  var exports_hooks = {};
7
7
  __export(exports_hooks, {
8
8
  PluginHooks: () => exports_hooks,
9
- Service: () => Service71,
10
- node: () => node75
9
+ Service: () => Service76,
10
+ node: () => node80
11
11
  });
12
12
  import { Context, Effect, Layer, Scope } from "effect";
13
13
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
20
20
  return typeof model.providerID === "string" ? model.providerID : undefined;
21
21
  };
22
22
 
23
- class Service71 extends Context.Service()("@opencode/PluginHooks") {
23
+ class Service76 extends Context.Service()("@opencode/PluginHooks") {
24
24
  }
25
- var layer = Layer.effect(Service71, Effect.gen(function* () {
25
+ var layer = Layer.effect(Service76, Effect.gen(function* () {
26
26
  const callbacks = new Map;
27
27
  const key = (domain, name) => `${domain}.${String(name)}`;
28
28
  const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
54
54
  return event;
55
55
  });
56
56
  const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
57
- return Service71.of({ has, register, trigger });
57
+ return Service76.of({ has, register, trigger });
58
58
  }));
59
- var node75 = makeLocationNode({ service: Service71, layer, deps: [] });
59
+ var node80 = makeLocationNode({ service: Service76, layer, deps: [] });
60
60
 
61
- export { Service71, node75, exports_hooks };
61
+ export { Service76, node80, exports_hooks };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./instruction-discovery-9rqn6x4v.js";
3
+ } from "./location-9rqn6x4v.js";
4
4
 
5
5
  // src/state.ts
6
6
  var exports_state = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./instruction-discovery-ym463w8f.js";
3
+ } from "./location-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/perplexity.ts
6
6
  var PerplexityPlugin2 = createProviderPlugin2({
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service63
3
- } from "./instruction-discovery-rh2kdvv3.js";
2
+ Service59
3
+ } from "./location-s56jz2hb.js";
4
4
  import {
5
5
  Service82
6
- } from "./instruction-discovery-7m02jy4j.js";
6
+ } from "./location-5ysrq0ad.js";
7
7
  import {
8
- Service62
9
- } from "./instruction-discovery-4wn1snmt.js";
8
+ Service58
9
+ } from "./location-4v3515yy.js";
10
10
  import {
11
11
  unavailable3
12
- } from "./instruction-discovery-jneg3k74.js";
12
+ } from "./location-jneg3k74.js";
13
13
  import {
14
14
  File2,
15
- Service55
16
- } from "./instruction-discovery-b5j1fcax.js";
15
+ Service43
16
+ } from "./location-2bymr7vt.js";
17
17
  import {
18
18
  __export
19
- } from "./instruction-discovery-9rqn6x4v.js";
19
+ } from "./location-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/instruction.ts
22
22
  var exports_instruction = {};
23
23
  __export(exports_instruction, {
24
24
  ConfigInstructionPlugin: () => exports_instruction,
25
- Plugin: () => Plugin45
25
+ Plugin: () => Plugin22
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
@@ -31,17 +31,17 @@ import { sameDirectory } from "@opencode/util/path";
31
31
  import path, { dirname, join } from "path";
32
32
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
33
33
  import { HttpClient, HttpClientRequest } from "effect/http";
34
- var Plugin45 = define({
34
+ var Plugin22 = define({
35
35
  id: "opencode.config.instruction",
36
36
  effect: Effect.fn(function* (ctx) {
37
- const discovery = yield* Service55;
37
+ const discovery = yield* Service43;
38
38
  yield* Effect.gen(function* () {
39
- const config = yield* Service62;
39
+ const config = yield* Service58;
40
40
  const fs = yield* FSUtil.Service;
41
41
  const global = yield* Global.Service;
42
42
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
43
43
  const location = yield* Service82;
44
- const watcher = yield* Service63;
44
+ const watcher = yield* Service59;
45
45
  const changes = yield* PubSub.sliding(1);
46
46
  const watches = yield* FiberMap.make();
47
47
  const lock = Semaphore.makeUnsafe(1);
@@ -174,4 +174,4 @@ function isUrl(source) {
174
174
  return URL.canParse(source) && /^https?:$/.test(new URL(source).protocol);
175
175
  }
176
176
 
177
- export { Plugin45, exports_instruction };
177
+ export { Plugin22, exports_instruction };
@@ -2,31 +2,31 @@ import {
2
2
  Resource2,
3
3
  ResourceTemplate2,
4
4
  ResourceContent2,
5
- Service36
6
- } from "./instruction-discovery-kj7e2tww.js";
5
+ Service39
6
+ } from "./location-c34bh8hr.js";
7
7
  import {
8
- Service66
9
- } from "./instruction-discovery-3p713cmj.js";
8
+ Service72
9
+ } from "./location-tseqrb92.js";
10
10
  import {
11
11
  MEDIA_MIMES2
12
- } from "./instruction-discovery-pd3xbwyj.js";
12
+ } from "./location-tx9vmxa7.js";
13
13
  import {
14
14
  __export
15
- } from "./instruction-discovery-9rqn6x4v.js";
15
+ } from "./location-9rqn6x4v.js";
16
16
 
17
17
  // src/tool/plugin/mcp-resource.ts
18
18
  var exports_mcp_resource = {};
19
19
  __export(exports_mcp_resource, {
20
20
  McpResourceTools: () => exports_mcp_resource,
21
- Plugin: () => Plugin16
21
+ Plugin: () => Plugin37
22
22
  });
23
23
  import { ToolFailure } from "@opencode/ai";
24
24
  import { Effect, Schema } from "effect";
25
- var Plugin16 = {
25
+ var Plugin37 = {
26
26
  id: "opencode.tools.mcp-resources",
27
27
  effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
28
- const mcp = yield* Service36;
29
- const permission = yield* Service66;
28
+ const mcp = yield* Service39;
29
+ const permission = yield* Service72;
30
30
  yield* ctx.tool.transform((editor) => {
31
31
  editor.add({
32
32
  name: "list_mcp_resources",
@@ -96,4 +96,4 @@ var Plugin16 = {
96
96
  })
97
97
  };
98
98
 
99
- export { Plugin16, exports_mcp_resource };
99
+ export { Plugin37, exports_mcp_resource };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  openaiFailedResponseHandler2
3
- } from "./instruction-discovery-550bvhaj.js";
3
+ } from "./location-550bvhaj.js";
4
4
  import {
5
5
  convertToOpenAIResponsesInput2
6
- } from "./instruction-discovery-j5zkgpj8.js";
6
+ } from "./location-j5zkgpj8.js";
7
7
  import {
8
8
  mapOpenAIResponseFinishReason2
9
- } from "./instruction-discovery-3asan66x.js";
9
+ } from "./location-3asan66x.js";
10
10
  import {
11
11
  prepareResponsesTools2
12
- } from "./instruction-discovery-1x75wf9g.js";
12
+ } from "./location-b29mbqx6.js";
13
13
 
14
14
  // src/github-copilot/responses/openai-responses-language-model.ts
15
15
  import {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getTableColumnsRuntime2,
3
3
  orderSelectedFields2
4
- } from "./instruction-discovery-emrn6kk6.js";
4
+ } from "./location-emrn6kk6.js";
5
5
 
6
6
  // src/database/drizzle/sqlite-core/effect/delete.ts
7
7
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";