@opencode/core 0.0.0-dev-19509 → 0.0.0-dev-19510

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 (781) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +72 -72
  7. package/dist/catalog.js +84 -84
  8. package/dist/chunks/{worktree-w428zktn.js → repository-cache-00787bmp.js} +20 -20
  9. package/dist/chunks/{worktree-215v1k75.js → repository-cache-00agp6tm.js} +22 -22
  10. package/dist/chunks/{worktree-w1k39n5e.js → repository-cache-06dxphr1.js} +4 -4
  11. package/dist/chunks/repository-cache-0d99cpb0.js +462 -0
  12. package/dist/chunks/{worktree-y45pkspw.js → repository-cache-0gwdvabh.js} +13 -13
  13. package/dist/chunks/{worktree-pvbb37c4.js → repository-cache-0jpcn9rd.js} +10 -10
  14. package/dist/chunks/{worktree-v600ka5t.js → repository-cache-0mrmze5w.js} +22 -22
  15. package/dist/chunks/{worktree-0paq2nw3.js → repository-cache-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{worktree-0q0f95c6.js → repository-cache-0q0f95c6.js} +1 -1
  17. package/dist/chunks/{worktree-cbbnw05y.js → repository-cache-19ywwdd4.js} +15 -15
  18. package/dist/chunks/{worktree-1acjjqhc.js → repository-cache-1acjjqhc.js} +1 -1
  19. package/dist/chunks/{worktree-1dazxqgg.js → repository-cache-1dazxqgg.js} +2 -2
  20. package/dist/chunks/{worktree-xx6cn220.js → repository-cache-1jj4qxjt.js} +1 -1
  21. package/dist/chunks/{worktree-21r38tys.js → repository-cache-21r38tys.js} +1 -1
  22. package/dist/chunks/{worktree-2a5m3afh.js → repository-cache-2a5m3afh.js} +1 -1
  23. package/dist/chunks/{worktree-xxmv8eye.js → repository-cache-2fn4yps5.js} +9 -9
  24. package/dist/chunks/{worktree-etbytr9f.js → repository-cache-2h82j4a6.js} +20 -20
  25. package/dist/chunks/{worktree-qhrw8p3b.js → repository-cache-2zbv25hc.js} +8 -8
  26. package/dist/chunks/{worktree-42424m2k.js → repository-cache-306db5gv.js} +5 -5
  27. package/dist/chunks/{worktree-w9najb13.js → repository-cache-37grp35b.js} +11 -11
  28. package/dist/chunks/{worktree-gdvy8fx6.js → repository-cache-3fc6dm20.js} +4 -4
  29. package/dist/chunks/{worktree-w90x3s5c.js → repository-cache-3g10qwm7.js} +17 -17
  30. package/dist/chunks/{worktree-3hepkmqq.js → repository-cache-3hepkmqq.js} +1 -1
  31. package/dist/chunks/{worktree-ejdkdwzs.js → repository-cache-3kvk53sn.js} +4 -4
  32. package/dist/chunks/{worktree-s4q1c2dk.js → repository-cache-3n1nkk67.js} +61 -61
  33. package/dist/chunks/{worktree-m8avnk43.js → repository-cache-3r28q6a9.js} +10 -10
  34. package/dist/chunks/{worktree-3smtnn6g.js → repository-cache-3smtnn6g.js} +1 -1
  35. package/dist/chunks/{worktree-3tvqynh2.js → repository-cache-3tvqynh2.js} +1 -1
  36. package/dist/chunks/{worktree-86m78waa.js → repository-cache-3x1xb6f1.js} +7 -7
  37. package/dist/chunks/{worktree-apxk5rve.js → repository-cache-44aqy5gr.js} +30 -30
  38. package/dist/chunks/{worktree-e82z9tr0.js → repository-cache-47gsdddb.js} +4 -4
  39. package/dist/chunks/{worktree-gzswxrvt.js → repository-cache-48cm3azc.js} +45 -45
  40. package/dist/chunks/{worktree-p7d99px1.js → repository-cache-49sc4nfn.js} +8 -8
  41. package/dist/chunks/{worktree-8grtj0b5.js → repository-cache-49snx342.js} +8 -8
  42. package/dist/chunks/{worktree-csebhh29.js → repository-cache-4qrj65j9.js} +9 -9
  43. package/dist/chunks/{worktree-aa3dep6r.js → repository-cache-4taqtrjz.js} +15 -15
  44. package/dist/chunks/{worktree-v7t3chrs.js → repository-cache-4wg4wmjw.js} +34 -34
  45. package/dist/chunks/{worktree-4y66k410.js → repository-cache-4y66k410.js} +2 -2
  46. package/dist/chunks/{worktree-7m5f9412.js → repository-cache-590d2czn.js} +8 -8
  47. package/dist/chunks/{worktree-asz5pcm8.js → repository-cache-5bcahdyk.js} +18 -18
  48. package/dist/chunks/{worktree-wbf78t6w.js → repository-cache-5c13e4gs.js} +29 -29
  49. package/dist/chunks/{worktree-5daktx2q.js → repository-cache-5daktx2q.js} +1 -1
  50. package/dist/chunks/{worktree-b0pfq9rw.js → repository-cache-5ebtz5cw.js} +15 -15
  51. package/dist/chunks/{worktree-5t3nmthw.js → repository-cache-5t3nmthw.js} +2 -2
  52. package/dist/chunks/{worktree-8c3x6q07.js → repository-cache-5wtatr6d.js} +9 -9
  53. package/dist/chunks/{worktree-b46p56xf.js → repository-cache-5y4rn4jv.js} +7 -7
  54. package/dist/chunks/{worktree-669tq793.js → repository-cache-669tq793.js} +1 -1
  55. package/dist/chunks/{worktree-61sb7bcr.js → repository-cache-6acm0bve.js} +14 -14
  56. package/dist/chunks/{worktree-hbe7nj0x.js → repository-cache-6f2p2q0p.js} +37 -37
  57. package/dist/chunks/{worktree-t56rw2gy.js → repository-cache-6fb9pw91.js} +27 -27
  58. package/dist/chunks/{worktree-vvsqdwqz.js → repository-cache-6ftympvp.js} +32 -32
  59. package/dist/chunks/{worktree-2402vzrj.js → repository-cache-6h73sxmp.js} +5 -5
  60. package/dist/chunks/repository-cache-6kdq0pjd.js +4 -0
  61. package/dist/chunks/{worktree-6msgmcgs.js → repository-cache-6msgmcgs.js} +1 -1
  62. package/dist/chunks/{worktree-qyth7dhn.js → repository-cache-6yksd8rj.js} +24 -24
  63. package/dist/chunks/{worktree-xx24n8bp.js → repository-cache-6ytrycwf.js} +26 -26
  64. package/dist/chunks/{worktree-71q4at8m.js → repository-cache-71q4at8m.js} +1 -1
  65. package/dist/chunks/{worktree-ryha7zpe.js → repository-cache-735v08rd.js} +14 -14
  66. package/dist/chunks/{worktree-7bmhse3q.js → repository-cache-7bmhse3q.js} +1 -1
  67. package/dist/chunks/{worktree-pjjrh1z1.js → repository-cache-7btn171d.js} +30 -30
  68. package/dist/chunks/{worktree-7xv0edjs.js → repository-cache-7cb3jwtf.js} +3 -3
  69. package/dist/chunks/{worktree-qgn6gcr1.js → repository-cache-7dqw4kz8.js} +5 -5
  70. package/dist/chunks/{worktree-81swgkk7.js → repository-cache-81swgkk7.js} +2 -2
  71. package/dist/chunks/{worktree-awhv1hxp.js → repository-cache-8d6mzkbv.js} +22 -22
  72. package/dist/chunks/{worktree-8d7r5vzw.js → repository-cache-8d7r5vzw.js} +1 -1
  73. package/dist/chunks/{worktree-v51fjskz.js → repository-cache-8dr3htqb.js} +16 -16
  74. package/dist/chunks/{worktree-wrjmdcd7.js → repository-cache-8h6f7dvd.js} +11 -11
  75. package/dist/chunks/{worktree-8p4f9s12.js → repository-cache-8p4f9s12.js} +2 -2
  76. package/dist/chunks/{worktree-yefxppqx.js → repository-cache-8ssxn5x4.js} +17 -17
  77. package/dist/chunks/{worktree-p2aekm07.js → repository-cache-93rybhbv.js} +83 -83
  78. package/dist/chunks/{worktree-xwd0g7hm.js → repository-cache-948vg2pw.js} +7 -7
  79. package/dist/chunks/{worktree-ej5ddtfv.js → repository-cache-96btrfg2.js} +5 -5
  80. package/dist/chunks/{worktree-1fzw0h16.js → repository-cache-96kghewk.js} +13 -13
  81. package/dist/chunks/{worktree-339ss3x3.js → repository-cache-96wc915e.js} +11 -11
  82. package/dist/chunks/{worktree-gsa99s6r.js → repository-cache-9agdsh9n.js} +11 -11
  83. package/dist/chunks/{worktree-zbjae951.js → repository-cache-9bbt8hg3.js} +27 -27
  84. package/dist/chunks/repository-cache-9c7kcab0.js +247 -0
  85. package/dist/chunks/{worktree-xg9t41r3.js → repository-cache-9jwxq161.js} +2 -2
  86. package/dist/chunks/{worktree-sqwpcrch.js → repository-cache-9pcadkya.js} +162 -162
  87. package/dist/chunks/{worktree-a1bz86dw.js → repository-cache-a1bz86dw.js} +3 -3
  88. package/dist/chunks/{worktree-n4xj6hjn.js → repository-cache-a3zzqvpe.js} +13 -13
  89. package/dist/chunks/{worktree-eb2th8mh.js → repository-cache-a92mnrhm.js} +27 -27
  90. package/dist/chunks/{worktree-aaet6srn.js → repository-cache-aaet6srn.js} +2 -2
  91. package/dist/chunks/{worktree-wyy37vyq.js → repository-cache-afa7f2c6.js} +59 -59
  92. package/dist/chunks/{worktree-vjy2y45p.js → repository-cache-afrwt492.js} +11 -11
  93. package/dist/chunks/{worktree-m3zza4qd.js → repository-cache-agsex9am.js} +8 -8
  94. package/dist/chunks/{worktree-ert0es5w.js → repository-cache-akfths19.js} +46 -46
  95. package/dist/chunks/{worktree-xn8fxkx5.js → repository-cache-arq879wx.js} +3 -3
  96. package/dist/chunks/{worktree-x3et2xth.js → repository-cache-asmz7wyz.js} +8 -8
  97. package/dist/chunks/repository-cache-at2k3fr9.js +22 -0
  98. package/dist/chunks/{worktree-6ygcjmn6.js → repository-cache-ava6n5t5.js} +5 -5
  99. package/dist/chunks/{worktree-n0efajb2.js → repository-cache-aym07vwf.js} +17 -17
  100. package/dist/chunks/{worktree-39z097b6.js → repository-cache-azqcdpv6.js} +41 -41
  101. package/dist/chunks/{worktree-za9cx4qh.js → repository-cache-b1h1c68h.js} +8 -8
  102. package/dist/chunks/{worktree-v30hr118.js → repository-cache-b1jgk49p.js} +9 -9
  103. package/dist/chunks/{worktree-78n98qb4.js → repository-cache-b3q7ckfa.js} +18 -18
  104. package/dist/chunks/{worktree-b6gygkdw.js → repository-cache-b6gygkdw.js} +2 -2
  105. package/dist/chunks/{worktree-tta2m7dp.js → repository-cache-b7vfn6np.js} +14 -14
  106. package/dist/chunks/{worktree-dbyd747x.js → repository-cache-bazcgppa.js} +6 -6
  107. package/dist/chunks/{worktree-jdh6s7jq.js → repository-cache-bby00dsd.js} +8 -8
  108. package/dist/chunks/{worktree-f1mdy5hp.js → repository-cache-bfbs706x.js} +1 -1
  109. package/dist/chunks/{worktree-t1ej9bcf.js → repository-cache-bp29fhze.js} +16 -16
  110. package/dist/chunks/{worktree-pyw57n7w.js → repository-cache-bpdv2q4q.js} +28 -28
  111. package/dist/chunks/repository-cache-by5v678g.js +18 -0
  112. package/dist/chunks/{worktree-ha84e8c9.js → repository-cache-c4b91qws.js} +24 -24
  113. package/dist/chunks/{worktree-t0fxg8b9.js → repository-cache-c78bbtc9.js} +5 -5
  114. package/dist/chunks/{worktree-6zzmvhm0.js → repository-cache-c9qfb572.js} +24 -24
  115. package/dist/chunks/{worktree-4zktfs0e.js → repository-cache-cdvkhjgb.js} +35 -35
  116. package/dist/chunks/{worktree-wc3yqjej.js → repository-cache-cec1zq9m.js} +18 -18
  117. package/dist/chunks/{worktree-1smds1mj.js → repository-cache-cesx3e6j.js} +11 -11
  118. package/dist/chunks/{worktree-cfpkc3c9.js → repository-cache-cfpkc3c9.js} +2 -2
  119. package/dist/chunks/{worktree-ewt4vtrb.js → repository-cache-cmpzft2x.js} +27 -27
  120. package/dist/chunks/{worktree-73xy8fsw.js → repository-cache-cqt2378a.js} +5 -5
  121. package/dist/chunks/{worktree-1dpnrefp.js → repository-cache-crse5cka.js} +28 -28
  122. package/dist/chunks/{worktree-59h2sd9w.js → repository-cache-cssy2j8r.js} +13 -13
  123. package/dist/chunks/{worktree-n5y107kn.js → repository-cache-cvddfarj.js} +14 -14
  124. package/dist/chunks/{worktree-q2t36530.js → repository-cache-cwxby6pr.js} +9 -9
  125. package/dist/chunks/{worktree-p44d8wdy.js → repository-cache-d2aac7k2.js} +5 -5
  126. package/dist/chunks/{worktree-rfnzy394.js → repository-cache-d50f2zf5.js} +1 -1
  127. package/dist/chunks/{worktree-aq5rptpm.js → repository-cache-d66qjsz4.js} +19 -19
  128. package/dist/chunks/{worktree-nx9eezaw.js → repository-cache-d9teafh5.js} +6 -6
  129. package/dist/chunks/{worktree-5q02cxx3.js → repository-cache-dfe8djrf.js} +4 -4
  130. package/dist/chunks/{worktree-myactzt4.js → repository-cache-dk17j58h.js} +40 -40
  131. package/dist/chunks/{worktree-zsn9806r.js → repository-cache-dkqawgjf.js} +4 -4
  132. package/dist/chunks/{worktree-gm9ea5b0.js → repository-cache-dmvzxcj2.js} +20 -20
  133. package/dist/chunks/{worktree-trkat1qx.js → repository-cache-dykm6d0s.js} +45 -45
  134. package/dist/chunks/{worktree-3cdjp2z1.js → repository-cache-e0vtkr8g.js} +6 -6
  135. package/dist/chunks/{worktree-fmskcfx8.js → repository-cache-ec25eqt6.js} +15 -15
  136. package/dist/chunks/{worktree-cafdv0ym.js → repository-cache-eqte1rrt.js} +9 -9
  137. package/dist/chunks/{worktree-etq0c3wd.js → repository-cache-etq0c3wd.js} +1 -1
  138. package/dist/chunks/{worktree-bxss1q04.js → repository-cache-ex4zhymv.js} +33 -33
  139. package/dist/chunks/{worktree-f3m2n1aw.js → repository-cache-f07f5max.js} +20 -20
  140. package/dist/chunks/{worktree-6shvhte3.js → repository-cache-f670kavr.js} +1 -1
  141. package/dist/chunks/{worktree-sj94bf0y.js → repository-cache-f6cernjp.js} +32 -32
  142. package/dist/chunks/{worktree-f828m53h.js → repository-cache-f828m53h.js} +2 -2
  143. package/dist/chunks/{worktree-r1gh3j25.js → repository-cache-fdyt9w1r.js} +10 -10
  144. package/dist/chunks/{worktree-t7bs0stv.js → repository-cache-fe5y4fwd.js} +15 -15
  145. package/dist/chunks/{worktree-6sfzc8j3.js → repository-cache-fm4b3qmy.js} +10 -10
  146. package/dist/chunks/{worktree-fxbjtjnd.js → repository-cache-fxbjtjnd.js} +1 -1
  147. package/dist/chunks/{worktree-84esvpjp.js → repository-cache-fyjrpq2n.js} +11 -11
  148. package/dist/chunks/{worktree-shh6fz4q.js → repository-cache-fyymr9xg.js} +4 -4
  149. package/dist/chunks/{worktree-2j5ah8jf.js → repository-cache-g3pa8mhf.js} +15 -15
  150. package/dist/chunks/{worktree-2dtw8x15.js → repository-cache-gb6c6afg.js} +3 -3
  151. package/dist/chunks/{worktree-gd4qta3r.js → repository-cache-gd4qta3r.js} +1 -1
  152. package/dist/chunks/{worktree-b3psc49m.js → repository-cache-gdmgdw7j.js} +6 -6
  153. package/dist/chunks/{worktree-x0041dth.js → repository-cache-gjbb8j7c.js} +14 -14
  154. package/dist/chunks/{worktree-5cvc0nrh.js → repository-cache-gqr0prwp.js} +4 -4
  155. package/dist/chunks/{worktree-th5km1p3.js → repository-cache-gv6a8nnw.js} +5 -5
  156. package/dist/chunks/{worktree-h03wrkyp.js → repository-cache-h03wrkyp.js} +2 -2
  157. package/dist/chunks/{worktree-h6vf3j39.js → repository-cache-h6vf3j39.js} +1 -1
  158. package/dist/chunks/{worktree-6jnybvqn.js → repository-cache-h7ygw6q4.js} +9 -9
  159. package/dist/chunks/{worktree-ka3v088s.js → repository-cache-h8kpkpct.js} +9 -9
  160. package/dist/chunks/{worktree-zjf5xpx9.js → repository-cache-hf83ja2d.js} +2 -2
  161. package/dist/chunks/{worktree-bha4atvq.js → repository-cache-hfdr1yjj.js} +4 -4
  162. package/dist/chunks/{worktree-7x1jk2s0.js → repository-cache-hhcd6ahx.js} +43 -43
  163. package/dist/chunks/{worktree-v9ht5xd0.js → repository-cache-hj5qcc5b.js} +11 -11
  164. package/dist/chunks/{worktree-bc078hx2.js → repository-cache-hqt9vmcs.js} +18 -18
  165. package/dist/chunks/{worktree-pt3jfr41.js → repository-cache-j5208yae.js} +4 -4
  166. package/dist/chunks/{worktree-j56e64zr.js → repository-cache-j56e64zr.js} +1 -1
  167. package/dist/chunks/{worktree-jnkjkfmr.js → repository-cache-j6camevd.js} +35 -35
  168. package/dist/chunks/{worktree-nbddwgy7.js → repository-cache-jefma2gq.js} +10 -10
  169. package/dist/chunks/{worktree-edrmdtr5.js → repository-cache-jfqtm2ew.js} +7 -7
  170. package/dist/chunks/{worktree-9w4ppqge.js → repository-cache-jgttmm4a.js} +5 -5
  171. package/dist/chunks/{worktree-adm5ft2x.js → repository-cache-jmfdmvz8.js} +18 -18
  172. package/dist/chunks/{worktree-g0rx3fxn.js → repository-cache-jmwjz9ee.js} +89 -89
  173. package/dist/chunks/{worktree-40be3fby.js → repository-cache-jv5mxt3g.js} +14 -14
  174. package/dist/chunks/{worktree-baaqp4zd.js → repository-cache-jvf3yq6v.js} +4 -4
  175. package/dist/chunks/{worktree-zvnk3gn3.js → repository-cache-k4a4y6vh.js} +23 -23
  176. package/dist/chunks/{worktree-6zfbav3y.js → repository-cache-k587grms.js} +14 -14
  177. package/dist/chunks/{worktree-kg06axw8.js → repository-cache-kg06axw8.js} +1 -1
  178. package/dist/chunks/{worktree-xwjytmam.js → repository-cache-kpabkcqn.js} +22 -22
  179. package/dist/chunks/{worktree-z77pcmag.js → repository-cache-kwj37acz.js} +24 -24
  180. package/dist/chunks/{worktree-jv2bdre8.js → repository-cache-m6v021kz.js} +6 -6
  181. package/dist/chunks/{worktree-m9w0rfyh.js → repository-cache-m9w0rfyh.js} +1 -1
  182. package/dist/chunks/{worktree-cavr175a.js → repository-cache-magykp64.js} +4 -4
  183. package/dist/chunks/{worktree-1ygqh575.js → repository-cache-mfqp6xfm.js} +6 -6
  184. package/dist/chunks/{worktree-73tb2d7t.js → repository-cache-mhkvc446.js} +3 -3
  185. package/dist/chunks/{worktree-cx7w19tq.js → repository-cache-mq4fp87a.js} +7 -7
  186. package/dist/chunks/{worktree-xab957cg.js → repository-cache-n1cm9b14.js} +28 -28
  187. package/dist/chunks/{worktree-2t72zxyz.js → repository-cache-nebm0gew.js} +3 -3
  188. package/dist/chunks/{worktree-0tzb1dzm.js → repository-cache-nev2fxrj.js} +24 -24
  189. package/dist/chunks/{worktree-3sdww6fp.js → repository-cache-nkr33rs8.js} +20 -20
  190. package/dist/chunks/{worktree-9abatgz1.js → repository-cache-nm6nhamf.js} +11 -11
  191. package/dist/chunks/{worktree-ddyp6dwd.js → repository-cache-np79qykh.js} +29 -29
  192. package/dist/chunks/{worktree-69t96w4v.js → repository-cache-nyst5tsy.js} +27 -27
  193. package/dist/chunks/{worktree-m2manvsf.js → repository-cache-p0a23dx6.js} +6 -6
  194. package/dist/chunks/{worktree-6npnztgt.js → repository-cache-p2ngd4p5.js} +4 -4
  195. package/dist/chunks/{worktree-0940wtvk.js → repository-cache-p4dkeycc.js} +51 -51
  196. package/dist/chunks/{worktree-46947paf.js → repository-cache-pb28tzs4.js} +25 -25
  197. package/dist/chunks/{worktree-x1w6f45z.js → repository-cache-pdmzt19y.js} +1 -1
  198. package/dist/chunks/{worktree-pjvnvgmy.js → repository-cache-pjvnvgmy.js} +1 -1
  199. package/dist/chunks/{worktree-pknna89w.js → repository-cache-pknna89w.js} +1 -1
  200. package/dist/chunks/{worktree-hbymah4p.js → repository-cache-pkvsb09a.js} +35 -35
  201. package/dist/chunks/{worktree-wvmhx4nb.js → repository-cache-prbnmmzj.js} +2 -2
  202. package/dist/chunks/{worktree-ba58znz1.js → repository-cache-prd8mh8w.js} +25 -25
  203. package/dist/chunks/{worktree-61rrve2h.js → repository-cache-psvs3tm8.js} +23 -23
  204. package/dist/chunks/{worktree-ebc7h8jh.js → repository-cache-q5j1bp2v.js} +4 -4
  205. package/dist/chunks/{worktree-th62sywm.js → repository-cache-q751p06t.js} +27 -27
  206. package/dist/chunks/{worktree-pemhtd8f.js → repository-cache-qdnhjq4f.js} +11 -11
  207. package/dist/chunks/{worktree-gg7pg1rj.js → repository-cache-qn4ba14w.js} +5 -5
  208. package/dist/chunks/{worktree-qsdy395h.js → repository-cache-qsdy395h.js} +1 -1
  209. package/dist/chunks/{worktree-6tpyx64t.js → repository-cache-qse1qpjw.js} +41 -41
  210. package/dist/chunks/{worktree-0ctm8j7h.js → repository-cache-qvxa9qgk.js} +50 -50
  211. package/dist/chunks/{worktree-39pb4tj2.js → repository-cache-r2s0xq0f.js} +33 -33
  212. package/dist/chunks/{worktree-r9mregkx.js → repository-cache-r9mregkx.js} +2 -2
  213. package/dist/chunks/{worktree-vkz51m42.js → repository-cache-rbm1b5j8.js} +32 -32
  214. package/dist/chunks/{worktree-d807hzdp.js → repository-cache-rjt21bs1.js} +29 -29
  215. package/dist/chunks/{worktree-jn9etapn.js → repository-cache-rppmaq1v.js} +23 -23
  216. package/dist/chunks/{worktree-xx704vmn.js → repository-cache-ryef71pm.js} +22 -22
  217. package/dist/chunks/{worktree-721cw5cc.js → repository-cache-s8195qaq.js} +4 -4
  218. package/dist/chunks/{worktree-eaj1djv9.js → repository-cache-s8d7rejh.js} +6 -6
  219. package/dist/chunks/{worktree-qwkytnft.js → repository-cache-s8t4qsw4.js} +6 -6
  220. package/dist/chunks/{worktree-0npjq9jf.js → repository-cache-s99x642n.js} +2 -2
  221. package/dist/chunks/{worktree-m33rf8wm.js → repository-cache-scp3yb2x.js} +23 -23
  222. package/dist/chunks/{worktree-r4emgha1.js → repository-cache-sk7ax4wa.js} +19 -19
  223. package/dist/chunks/{worktree-et0ngb76.js → repository-cache-skvzv4w6.js} +8 -8
  224. package/dist/chunks/{worktree-j7wq2tw5.js → repository-cache-skyymkrr.js} +3 -3
  225. package/dist/chunks/{worktree-yr02nea7.js → repository-cache-ss0awb04.js} +4 -4
  226. package/dist/chunks/{worktree-m3x11w40.js → repository-cache-sz6bnm18.js} +11 -11
  227. package/dist/chunks/{worktree-mja71egn.js → repository-cache-t8vasjyp.js} +20 -20
  228. package/dist/chunks/{worktree-tazgh4e4.js → repository-cache-tazgh4e4.js} +1 -1
  229. package/dist/chunks/{worktree-tcezcvh9.js → repository-cache-tcezcvh9.js} +1 -1
  230. package/dist/chunks/{worktree-tdstcens.js → repository-cache-tdstcens.js} +1 -1
  231. package/dist/chunks/{worktree-6g16d2bh.js → repository-cache-tf3dncy2.js} +5 -5
  232. package/dist/chunks/{worktree-t6bwgaqm.js → repository-cache-thy6r13a.js} +30 -30
  233. package/dist/chunks/{worktree-4x24p3x4.js → repository-cache-tjb6h3w6.js} +5 -5
  234. package/dist/chunks/{worktree-tvtrv512.js → repository-cache-tvtrv512.js} +1 -1
  235. package/dist/chunks/{worktree-t0x5rdq8.js → repository-cache-twy35tz0.js} +9 -9
  236. package/dist/chunks/{worktree-97n9g1za.js → repository-cache-tx2y7v18.js} +37 -37
  237. package/dist/chunks/{worktree-wz5zt972.js → repository-cache-ty9cn3m0.js} +22 -22
  238. package/dist/chunks/{worktree-thp4thqf.js → repository-cache-v1f63sx8.js} +19 -19
  239. package/dist/chunks/{worktree-veqvce7d.js → repository-cache-veqvce7d.js} +1 -1
  240. package/dist/chunks/{worktree-vvgctfdq.js → repository-cache-vpt86awd.js} +12 -12
  241. package/dist/chunks/{worktree-xbrnhvx4.js → repository-cache-vqctwdvd.js} +22 -22
  242. package/dist/chunks/{worktree-dvgdgw3v.js → repository-cache-vsqds22x.js} +11 -11
  243. package/dist/chunks/{worktree-2c9cavng.js → repository-cache-vya36ff7.js} +46 -46
  244. package/dist/chunks/{worktree-vzcthcp8.js → repository-cache-vzcthcp8.js} +1 -1
  245. package/dist/chunks/{worktree-w3wsvvr9.js → repository-cache-w3wsvvr9.js} +1 -1
  246. package/dist/chunks/{worktree-77nksagb.js → repository-cache-w3zz45zz.js} +20 -20
  247. package/dist/chunks/{worktree-x3af3qht.js → repository-cache-w43r5vpk.js} +9 -9
  248. package/dist/chunks/{worktree-8x177ym8.js → repository-cache-w6sqybpe.js} +15 -15
  249. package/dist/chunks/{worktree-wkgmxye7.js → repository-cache-w6xg9mzm.js} +4 -4
  250. package/dist/chunks/{worktree-zw0bbc6p.js → repository-cache-w89kcrbm.js} +57 -57
  251. package/dist/chunks/{worktree-f59qb7z8.js → repository-cache-w9ytv6gf.js} +11 -11
  252. package/dist/chunks/{worktree-v912edbj.js → repository-cache-waxra22z.js} +18 -18
  253. package/dist/chunks/{worktree-5sdemcz3.js → repository-cache-wcjyc11q.js} +8 -8
  254. package/dist/chunks/{worktree-wd87259q.js → repository-cache-wd87259q.js} +1 -1
  255. package/dist/chunks/{worktree-5y5thrnn.js → repository-cache-wnpvw90s.js} +20 -20
  256. package/dist/chunks/{worktree-mm6ytk77.js → repository-cache-wp6wx7ve.js} +8 -8
  257. package/dist/chunks/{worktree-3sz5ktbs.js → repository-cache-wtngjqkb.js} +8 -8
  258. package/dist/chunks/{worktree-mdbdsawz.js → repository-cache-wvat7gb2.js} +9 -9
  259. package/dist/chunks/{worktree-x1ezjp6w.js → repository-cache-x1ezjp6w.js} +1 -1
  260. package/dist/chunks/{worktree-csayd5d3.js → repository-cache-x50bgc5b.js} +1 -1
  261. package/dist/chunks/{worktree-8c13b1f6.js → repository-cache-xcfb136s.js} +7 -7
  262. package/dist/chunks/{worktree-1tjg7tvh.js → repository-cache-xhmq8qgk.js} +9 -9
  263. package/dist/chunks/{worktree-gda53zk6.js → repository-cache-xk29e8eh.js} +14 -14
  264. package/dist/chunks/{worktree-pz1grgc9.js → repository-cache-xkz0p8cz.js} +13 -13
  265. package/dist/chunks/{worktree-g2ww2bbh.js → repository-cache-xywr1wcm.js} +16 -16
  266. package/dist/chunks/{worktree-j47svp76.js → repository-cache-xznwr7ns.js} +10 -10
  267. package/dist/chunks/{worktree-6xv9zrws.js → repository-cache-xztd0cs6.js} +47 -47
  268. package/dist/chunks/{worktree-y1fvbwt7.js → repository-cache-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{worktree-73483k7j.js → repository-cache-y5fw0js9.js} +13 -13
  270. package/dist/chunks/{worktree-y71avatq.js → repository-cache-y71avatq.js} +1 -1
  271. package/dist/chunks/{worktree-cfk5fh02.js → repository-cache-y97nejxf.js} +13 -13
  272. package/dist/chunks/{worktree-8a649t19.js → repository-cache-yahr892z.js} +6 -6
  273. package/dist/chunks/{worktree-w76gpamr.js → repository-cache-yqnz8h4g.js} +14 -14
  274. package/dist/chunks/{worktree-yrhqyw5v.js → repository-cache-yrhqyw5v.js} +1 -1
  275. package/dist/chunks/{worktree-yrznvahk.js → repository-cache-yrznvahk.js} +2 -2
  276. package/dist/chunks/{worktree-bjhqm2jc.js → repository-cache-ythpzqjx.js} +28 -28
  277. package/dist/chunks/{worktree-h7n6nt9k.js → repository-cache-yx2y4h4v.js} +4 -4
  278. package/dist/chunks/{worktree-z0bkrqjs.js → repository-cache-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{worktree-7gf7znvm.js → repository-cache-z4cbs5y4.js} +16 -16
  280. package/dist/chunks/{worktree-z63w68vq.js → repository-cache-z63w68vq.js} +2 -2
  281. package/dist/chunks/{worktree-tjqe909z.js → repository-cache-za3dtc0x.js} +1 -1
  282. package/dist/chunks/{worktree-zhvsjxqr.js → repository-cache-za5pt3d7.js} +4 -4
  283. package/dist/chunks/{worktree-zeh9ct20.js → repository-cache-zeh9ct20.js} +2 -2
  284. package/dist/chunks/{worktree-zr2ceqn5.js → repository-cache-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{worktree-nj09xgek.js → repository-cache-zsa173n5.js} +12 -12
  286. package/dist/chunks/{worktree-zxq2ej10.js → repository-cache-zxq2ej10.js} +1 -1
  287. package/dist/codemode/catalog.js +3 -3
  288. package/dist/codemode/instructions.js +7 -7
  289. package/dist/codemode/tool.js +2 -2
  290. package/dist/command.js +84 -84
  291. package/dist/config/discovery.js +78 -78
  292. package/dist/config/markdown.js +1 -1
  293. package/dist/config/normalize.js +19 -19
  294. package/dist/config/plugin/agent.js +118 -118
  295. package/dist/config/plugin/command.js +210 -210
  296. package/dist/config/plugin/compaction.js +156 -156
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +118 -118
  299. package/dist/config/plugin/image.js +116 -116
  300. package/dist/config/plugin/instruction.js +86 -86
  301. package/dist/config/plugin/location-watcher.js +118 -118
  302. package/dist/config/plugin/mcp.js +127 -127
  303. package/dist/config/plugin/policy.js +115 -115
  304. package/dist/config/plugin/provider.js +114 -114
  305. package/dist/config/plugin/reference.js +118 -118
  306. package/dist/config/plugin/shell.js +119 -119
  307. package/dist/config/plugin/skill-file.js +98 -98
  308. package/dist/config/plugin/skill.js +137 -137
  309. package/dist/config/plugin/snapshot.js +116 -116
  310. package/dist/config/plugin/source.js +118 -118
  311. package/dist/config/plugin/tool-output.js +118 -118
  312. package/dist/config/plugin/websearch.js +116 -116
  313. package/dist/config/plugin/worktree.js +119 -119
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +120 -120
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +84 -84
  319. package/dist/database/database.js +69 -69
  320. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +13 -13
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +14 -14
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration.gen.js +48 -48
  384. package/dist/database/migration.js +50 -50
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +78 -78
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +361 -361
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +1 -1
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +89 -89
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +91 -91
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +73 -73
  408. package/dist/file-access.js +100 -100
  409. package/dist/file-mutation.js +90 -90
  410. package/dist/file-retention.js +1 -1
  411. package/dist/file.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/ignore.js +1 -1
  417. package/dist/filesystem/location-watcher-policy.js +6 -6
  418. package/dist/filesystem/location-watcher.js +223 -223
  419. package/dist/filesystem/protected.js +1 -1
  420. package/dist/filesystem/search.js +90 -90
  421. package/dist/filesystem/watcher-binding.js +1 -1
  422. package/dist/filesystem/watcher.js +13 -13
  423. package/dist/filesystem.js +91 -91
  424. package/dist/form.js +85 -85
  425. package/dist/formatter/builtins.js +4 -4
  426. package/dist/formatter.js +79 -79
  427. package/dist/generate.js +92 -92
  428. package/dist/git.js +7 -7
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +7 -7
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/id/id.js +1 -1
  449. package/dist/image/photon.js +2 -2
  450. package/dist/image.js +6 -6
  451. package/dist/instance/service.js +5 -5
  452. package/dist/instance.js +352 -352
  453. package/dist/instruction-discovery.js +82 -82
  454. package/dist/instructions/builtins.js +79 -79
  455. package/dist/instructions/index.js +3 -3
  456. package/dist/integration/connection.js +1 -1
  457. package/dist/integration.js +87 -87
  458. package/dist/job.js +76 -76
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +72 -72
  461. package/dist/location-activity.js +134 -134
  462. package/dist/location-mutation.js +100 -100
  463. package/dist/location-service-map.js +84 -84
  464. package/dist/location-services.js +349 -349
  465. package/dist/location.js +81 -81
  466. package/dist/mcp/client.js +87 -87
  467. package/dist/mcp/index.js +100 -100
  468. package/dist/mcp/instructions.js +121 -121
  469. package/dist/mcp/oauth.js +3 -3
  470. package/dist/mcp/stdio.js +86 -86
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +7 -7
  473. package/dist/model-resolver.js +87 -87
  474. package/dist/model.js +10 -10
  475. package/dist/models-dev.js +75 -75
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +81 -81
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +109 -109
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +83 -83
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +74 -74
  485. package/dist/plugin/agent.js +100 -100
  486. package/dist/plugin/command.js +97 -97
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +214 -214
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +323 -323
  491. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  492. package/dist/plugin/models-dev.js +76 -76
  493. package/dist/plugin/module.js +7 -7
  494. package/dist/plugin/optimize.js +2 -2
  495. package/dist/plugin/plan.js +98 -98
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/alibaba.js +2 -2
  498. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  499. package/dist/plugin/provider/azure.js +119 -119
  500. package/dist/plugin/provider/cerebras.js +2 -2
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +115 -115
  505. package/dist/plugin/provider/digitalocean.js +80 -80
  506. package/dist/plugin/provider/dynamic.js +2 -2
  507. package/dist/plugin/provider/factory.js +1 -1
  508. package/dist/plugin/provider/gateway.js +2 -2
  509. package/dist/plugin/provider/github-copilot.js +81 -81
  510. package/dist/plugin/provider/gitlab.js +3 -3
  511. package/dist/plugin/provider/google-vertex.js +2 -2
  512. package/dist/plugin/provider/kilo.js +2 -2
  513. package/dist/plugin/provider/llmgateway.js +77 -77
  514. package/dist/plugin/provider/lmstudio.js +118 -118
  515. package/dist/plugin/provider/modal.js +80 -80
  516. package/dist/plugin/provider/nvidia.js +2 -2
  517. package/dist/plugin/provider/ollama.js +118 -118
  518. package/dist/plugin/provider/openai-compatible.js +1 -1
  519. package/dist/plugin/provider/openai.js +79 -79
  520. package/dist/plugin/provider/opencode.js +80 -80
  521. package/dist/plugin/provider/openrouter.js +3 -3
  522. package/dist/plugin/provider/perplexity.js +2 -2
  523. package/dist/plugin/provider/poe.js +77 -77
  524. package/dist/plugin/provider/sap-ai-core.js +3 -3
  525. package/dist/plugin/provider/sdk-factory.js +1 -1
  526. package/dist/plugin/provider/snowflake-cortex.js +118 -118
  527. package/dist/plugin/provider/venice.js +2 -2
  528. package/dist/plugin/provider/vercel.js +2 -2
  529. package/dist/plugin/provider/vllm.js +116 -116
  530. package/dist/plugin/provider/xai.js +78 -78
  531. package/dist/plugin/provider/zenmux.js +2 -2
  532. package/dist/plugin/provider.js +157 -157
  533. package/dist/plugin/sdk.js +75 -75
  534. package/dist/plugin/service.js +3 -3
  535. package/dist/plugin/skill.js +134 -134
  536. package/dist/plugin/source-directory.js +1 -1
  537. package/dist/plugin/supervisor.js +340 -340
  538. package/dist/plugin/update.js +6 -6
  539. package/dist/plugin/variant.js +4 -4
  540. package/dist/plugin/vcs/git.js +83 -83
  541. package/dist/plugin/vcs/hg.js +83 -83
  542. package/dist/plugin/warming.js +113 -113
  543. package/dist/plugin/websearch/exa.js +7 -7
  544. package/dist/plugin/websearch/firecrawl.js +8 -8
  545. package/dist/plugin/websearch/index.js +8 -8
  546. package/dist/plugin/websearch/mcp.js +4 -4
  547. package/dist/plugin/websearch/parallel.js +8 -8
  548. package/dist/plugin/websearch/tavily.js +6 -6
  549. package/dist/plugin.js +219 -219
  550. package/dist/project/schema.js +2 -2
  551. package/dist/project/sql.js +4 -4
  552. package/dist/project.js +80 -80
  553. package/dist/provider.js +7 -7
  554. package/dist/pty/protocol.js +1 -1
  555. package/dist/pty/schema.js +3 -3
  556. package/dist/pty/ticket.js +1 -1
  557. package/dist/pty.js +95 -95
  558. package/dist/reference/instructions.js +83 -83
  559. package/dist/reference.js +83 -83
  560. package/dist/repository-cache.js +77 -77
  561. package/dist/repository.js +3 -3
  562. package/dist/ripgrep/binary.js +2 -2
  563. package/dist/ripgrep.js +92 -92
  564. package/dist/rpc.js +82 -82
  565. package/dist/schema.js +1 -1
  566. package/dist/session/command.js +73 -73
  567. package/dist/session/compaction.js +130 -130
  568. package/dist/session/context.js +148 -148
  569. package/dist/session/environment.js +5 -5
  570. package/dist/session/error.js +5 -5
  571. package/dist/session/event.js +1 -1
  572. package/dist/session/execution/restart.js +220 -220
  573. package/dist/session/execution.js +125 -125
  574. package/dist/session/generate.js +147 -147
  575. package/dist/session/history.js +13 -13
  576. package/dist/session/inbox.js +85 -85
  577. package/dist/session/info.js +3 -3
  578. package/dist/session/instruction-entry.js +74 -74
  579. package/dist/session/instruction-state.js +8 -8
  580. package/dist/session/instructions.js +93 -93
  581. package/dist/session/message-updater.js +2 -2
  582. package/dist/session/message.js +1 -1
  583. package/dist/session/model-request.js +112 -112
  584. package/dist/session/model-transport.js +7 -7
  585. package/dist/session/move.js +127 -127
  586. package/dist/session/projector.js +85 -85
  587. package/dist/session/prompt.js +101 -101
  588. package/dist/session/provider-context.js +3 -3
  589. package/dist/session/revert.js +86 -86
  590. package/dist/session/run-coordinator.js +1 -1
  591. package/dist/session/runner/index.js +3 -3
  592. package/dist/session/runner/llm.js +224 -224
  593. package/dist/session/runner/max-steps.js +1 -1
  594. package/dist/session/runner/model.js +87 -87
  595. package/dist/session/runner/publish-llm-event.js +3 -3
  596. package/dist/session/runner/retry.js +111 -111
  597. package/dist/session/runner/step.js +120 -120
  598. package/dist/session/runner/to-llm-message.js +2 -2
  599. package/dist/session/schema.js +5 -5
  600. package/dist/session/session.js +170 -170
  601. package/dist/session/shell.js +132 -132
  602. package/dist/session/skill.js +99 -99
  603. package/dist/session/sql.js +5 -5
  604. package/dist/session/stats.js +74 -74
  605. package/dist/session/store.js +86 -86
  606. package/dist/session/subagent-completion.js +1 -1
  607. package/dist/session/subagent-job.js +206 -206
  608. package/dist/session/system-prompt.js +3 -3
  609. package/dist/session/title.js +146 -146
  610. package/dist/session/to-session-error.js +108 -108
  611. package/dist/session/transfer.js +219 -219
  612. package/dist/session/usage.js +1 -1
  613. package/dist/session.js +212 -212
  614. package/dist/shell/parse.js +6 -6
  615. package/dist/shell/result.js +1 -1
  616. package/dist/shell/scan.js +1 -1
  617. package/dist/shell/select.js +11 -11
  618. package/dist/shell.js +134 -134
  619. package/dist/skill/discovery.js +6 -6
  620. package/dist/skill/instructions.js +103 -103
  621. package/dist/skill.js +108 -108
  622. package/dist/snapshot.js +89 -89
  623. package/dist/state.js +1 -1
  624. package/dist/tool/html-markdown.js +1 -1
  625. package/dist/tool/http-body.js +1 -1
  626. package/dist/tool/mcp.js +122 -122
  627. package/dist/tool/plugin/edit.js +116 -116
  628. package/dist/tool/plugin/file-diff.js +1 -1
  629. package/dist/tool/plugin/glob.js +113 -113
  630. package/dist/tool/plugin/grep.js +121 -121
  631. package/dist/tool/plugin/opencode.js +3 -3
  632. package/dist/tool/plugin/patch.js +118 -118
  633. package/dist/tool/plugin/question.js +99 -99
  634. package/dist/tool/plugin/read.js +122 -122
  635. package/dist/tool/plugin/shell.js +213 -213
  636. package/dist/tool/plugin/skill.js +107 -107
  637. package/dist/tool/plugin/subagent.js +215 -215
  638. package/dist/tool/plugin/webfetch.js +106 -106
  639. package/dist/tool/plugin/websearch.js +110 -110
  640. package/dist/tool/plugin/write.js +118 -118
  641. package/dist/tool/read-filesystem.js +97 -97
  642. package/dist/tool/runtime.js +1 -1
  643. package/dist/tool-output.js +8 -8
  644. package/dist/tool.js +13 -13
  645. package/dist/util/error-summary.js +1 -1
  646. package/dist/util/error.js +1 -1
  647. package/dist/util/iife.js +1 -1
  648. package/dist/util/lazy.js +1 -1
  649. package/dist/util/slug.js +1 -1
  650. package/dist/util/token.js +1 -1
  651. package/dist/util/which.js +1 -1
  652. package/dist/util/wildcard.js +1 -1
  653. package/dist/v1/config/agent.js +5 -5
  654. package/dist/v1/config/attachment.js +4 -4
  655. package/dist/v1/config/command.js +5 -5
  656. package/dist/v1/config/config.js +16 -16
  657. package/dist/v1/config/error.js +2 -2
  658. package/dist/v1/config/formatter.js +3 -3
  659. package/dist/v1/config/layout.js +1 -1
  660. package/dist/v1/config/lsp.js +3 -3
  661. package/dist/v1/config/mcp.js +4 -4
  662. package/dist/v1/config/migrate.js +4 -4
  663. package/dist/v1/config/permission.js +3 -3
  664. package/dist/v1/config/plugin.js +3 -3
  665. package/dist/v1/config/provider-options.js +1 -1
  666. package/dist/v1/config/provider.js +4 -4
  667. package/dist/v1/config/server.js +2 -2
  668. package/dist/v1/config/skills.js +3 -3
  669. package/dist/v1/permission.js +1 -1
  670. package/dist/vcs/patch.js +1 -1
  671. package/dist/vcs.js +86 -86
  672. package/dist/websearch.js +77 -77
  673. package/dist/wellknown/plugin.js +75 -75
  674. package/dist/wellknown.js +80 -80
  675. package/dist/workspace/driver.js +7 -7
  676. package/dist/workspace/sql.js +1 -1
  677. package/dist/workspace.js +79 -79
  678. package/dist/worktree/directory.js +4 -4
  679. package/dist/worktree/git.js +7 -7
  680. package/dist/worktree/refresh.js +341 -341
  681. package/dist/worktree/sql.js +5 -5
  682. package/dist/worktree.js +92 -92
  683. package/package.json +8 -8
  684. package/dist/chunks/worktree-dxj72tfx.js +0 -18
  685. package/dist/chunks/worktree-rcjnff0b.js +0 -462
  686. package/dist/chunks/worktree-xptez47m.js +0 -247
  687. package/dist/chunks/worktree-z926abd4.js +0 -4
  688. package/dist/chunks/worktree-zw6vqswj.js +0 -22
  689. /package/dist/chunks/{worktree-0qkdqm5v.js → repository-cache-0qkdqm5v.js} +0 -0
  690. /package/dist/chunks/{worktree-0zkw76rk.js → repository-cache-0zkw76rk.js} +0 -0
  691. /package/dist/chunks/{worktree-17cy0kzp.js → repository-cache-17cy0kzp.js} +0 -0
  692. /package/dist/chunks/{worktree-1cnp2v09.js → repository-cache-1cnp2v09.js} +0 -0
  693. /package/dist/chunks/{worktree-1kg9ymc8.js → repository-cache-1kg9ymc8.js} +0 -0
  694. /package/dist/chunks/{worktree-2710q6r3.js → repository-cache-2710q6r3.js} +0 -0
  695. /package/dist/chunks/{worktree-2axfhc9x.js → repository-cache-2axfhc9x.js} +0 -0
  696. /package/dist/chunks/{worktree-2c3vjs8z.js → repository-cache-2c3vjs8z.js} +0 -0
  697. /package/dist/chunks/{worktree-359p4xyc.js → repository-cache-359p4xyc.js} +0 -0
  698. /package/dist/chunks/{worktree-3asan66x.js → repository-cache-3asan66x.js} +0 -0
  699. /package/dist/chunks/{worktree-3v8g72cx.js → repository-cache-3v8g72cx.js} +0 -0
  700. /package/dist/chunks/{worktree-3w5fmr99.js → repository-cache-3w5fmr99.js} +0 -0
  701. /package/dist/chunks/{worktree-3wcehsnq.js → repository-cache-3wcehsnq.js} +0 -0
  702. /package/dist/chunks/{worktree-43n2bw4t.js → repository-cache-43n2bw4t.js} +0 -0
  703. /package/dist/chunks/{worktree-4knz6hnm.js → repository-cache-4knz6hnm.js} +0 -0
  704. /package/dist/chunks/{worktree-4vcrnpx2.js → repository-cache-4vcrnpx2.js} +0 -0
  705. /package/dist/chunks/{worktree-4y7fprxs.js → repository-cache-4y7fprxs.js} +0 -0
  706. /package/dist/chunks/{worktree-53557ph1.js → repository-cache-53557ph1.js} +0 -0
  707. /package/dist/chunks/{worktree-550bvhaj.js → repository-cache-550bvhaj.js} +0 -0
  708. /package/dist/chunks/{worktree-6prwharc.js → repository-cache-6prwharc.js} +0 -0
  709. /package/dist/chunks/{worktree-7akdwqpd.js → repository-cache-7akdwqpd.js} +0 -0
  710. /package/dist/chunks/{worktree-7m9af43g.js → repository-cache-7m9af43g.js} +0 -0
  711. /package/dist/chunks/{worktree-822emrt2.js → repository-cache-822emrt2.js} +0 -0
  712. /package/dist/chunks/{worktree-88xbtdfr.js → repository-cache-88xbtdfr.js} +0 -0
  713. /package/dist/chunks/{worktree-8n3pysct.js → repository-cache-8n3pysct.js} +0 -0
  714. /package/dist/chunks/{worktree-922hggd3.js → repository-cache-922hggd3.js} +0 -0
  715. /package/dist/chunks/{worktree-9a4afbnw.js → repository-cache-9a4afbnw.js} +0 -0
  716. /package/dist/chunks/{worktree-9rqn6x4v.js → repository-cache-9rqn6x4v.js} +0 -0
  717. /package/dist/chunks/{worktree-a6k6eb26.js → repository-cache-a6k6eb26.js} +0 -0
  718. /package/dist/chunks/{worktree-af5trqkr.js → repository-cache-af5trqkr.js} +0 -0
  719. /package/dist/chunks/{worktree-afrmfg78.js → repository-cache-afrmfg78.js} +0 -0
  720. /package/dist/chunks/{worktree-aqzs7mqg.js → repository-cache-aqzs7mqg.js} +0 -0
  721. /package/dist/chunks/{worktree-atq7p7m5.js → repository-cache-atq7p7m5.js} +0 -0
  722. /package/dist/chunks/{worktree-bkyjaxrp.js → repository-cache-bkyjaxrp.js} +0 -0
  723. /package/dist/chunks/{worktree-bmr6ed5q.js → repository-cache-bmr6ed5q.js} +0 -0
  724. /package/dist/chunks/{worktree-cf4snx6d.js → repository-cache-cf4snx6d.js} +0 -0
  725. /package/dist/chunks/{worktree-cvy3z8tj.js → repository-cache-cvy3z8tj.js} +0 -0
  726. /package/dist/chunks/{worktree-d9fn303g.js → repository-cache-d9fn303g.js} +0 -0
  727. /package/dist/chunks/{worktree-d9jj8t3e.js → repository-cache-d9jj8t3e.js} +0 -0
  728. /package/dist/chunks/{worktree-dajrwvna.js → repository-cache-dajrwvna.js} +0 -0
  729. /package/dist/chunks/{worktree-dap0rakb.js → repository-cache-dap0rakb.js} +0 -0
  730. /package/dist/chunks/{worktree-df08tz66.js → repository-cache-df08tz66.js} +0 -0
  731. /package/dist/chunks/{worktree-dy18nga0.js → repository-cache-dy18nga0.js} +0 -0
  732. /package/dist/chunks/{worktree-e5kj55wp.js → repository-cache-e5kj55wp.js} +0 -0
  733. /package/dist/chunks/{worktree-e73j6tqm.js → repository-cache-e73j6tqm.js} +0 -0
  734. /package/dist/chunks/{worktree-ec1grn59.js → repository-cache-ec1grn59.js} +0 -0
  735. /package/dist/chunks/{worktree-eh3zwz77.js → repository-cache-eh3zwz77.js} +0 -0
  736. /package/dist/chunks/{worktree-emrn6kk6.js → repository-cache-emrn6kk6.js} +0 -0
  737. /package/dist/chunks/{worktree-f0mxakyp.js → repository-cache-f0mxakyp.js} +0 -0
  738. /package/dist/chunks/{worktree-f6n9ztr4.js → repository-cache-f6n9ztr4.js} +0 -0
  739. /package/dist/chunks/{worktree-faypxj3z.js → repository-cache-faypxj3z.js} +0 -0
  740. /package/dist/chunks/{worktree-fd410y7t.js → repository-cache-fd410y7t.js} +0 -0
  741. /package/dist/chunks/{worktree-fxgpk5d8.js → repository-cache-fxgpk5d8.js} +0 -0
  742. /package/dist/chunks/{worktree-g4wezp1m.js → repository-cache-g4wezp1m.js} +0 -0
  743. /package/dist/chunks/{worktree-g86h250q.js → repository-cache-g86h250q.js} +0 -0
  744. /package/dist/chunks/{worktree-gebd4c9n.js → repository-cache-gebd4c9n.js} +0 -0
  745. /package/dist/chunks/{worktree-gftt206x.js → repository-cache-gftt206x.js} +0 -0
  746. /package/dist/chunks/{worktree-hjbc5kem.js → repository-cache-hjbc5kem.js} +0 -0
  747. /package/dist/chunks/{worktree-hk9envan.js → repository-cache-hk9envan.js} +0 -0
  748. /package/dist/chunks/{worktree-hrnqkpcd.js → repository-cache-hrnqkpcd.js} +0 -0
  749. /package/dist/chunks/{worktree-j2ntwpah.js → repository-cache-j2ntwpah.js} +0 -0
  750. /package/dist/chunks/{worktree-j5zkgpj8.js → repository-cache-j5zkgpj8.js} +0 -0
  751. /package/dist/chunks/{worktree-jr7sbwjy.js → repository-cache-jr7sbwjy.js} +0 -0
  752. /package/dist/chunks/{worktree-jwfs4k6c.js → repository-cache-jwfs4k6c.js} +0 -0
  753. /package/dist/chunks/{worktree-jzg6c2d5.js → repository-cache-jzg6c2d5.js} +0 -0
  754. /package/dist/chunks/{worktree-mp448xyj.js → repository-cache-mp448xyj.js} +0 -0
  755. /package/dist/chunks/{worktree-msx8hqn2.js → repository-cache-msx8hqn2.js} +0 -0
  756. /package/dist/chunks/{worktree-n05xt0ee.js → repository-cache-n05xt0ee.js} +0 -0
  757. /package/dist/chunks/{worktree-n3j8tn72.js → repository-cache-n3j8tn72.js} +0 -0
  758. /package/dist/chunks/{worktree-njntx4h6.js → repository-cache-njntx4h6.js} +0 -0
  759. /package/dist/chunks/{worktree-paphc93g.js → repository-cache-paphc93g.js} +0 -0
  760. /package/dist/chunks/{worktree-q3sfg36h.js → repository-cache-q3sfg36h.js} +0 -0
  761. /package/dist/chunks/{worktree-q74kybfr.js → repository-cache-q74kybfr.js} +0 -0
  762. /package/dist/chunks/{worktree-qaymkmh1.js → repository-cache-qaymkmh1.js} +0 -0
  763. /package/dist/chunks/{worktree-qb87gjwd.js → repository-cache-qb87gjwd.js} +0 -0
  764. /package/dist/chunks/{worktree-qfa1cgps.js → repository-cache-qfa1cgps.js} +0 -0
  765. /package/dist/chunks/{worktree-qrg20bc0.js → repository-cache-qrg20bc0.js} +0 -0
  766. /package/dist/chunks/{worktree-rcb2kzg1.js → repository-cache-rcb2kzg1.js} +0 -0
  767. /package/dist/chunks/{worktree-sdp7kfr6.js → repository-cache-sdp7kfr6.js} +0 -0
  768. /package/dist/chunks/{worktree-sk3qaz4a.js → repository-cache-sk3qaz4a.js} +0 -0
  769. /package/dist/chunks/{worktree-ssg3fenm.js → repository-cache-ssg3fenm.js} +0 -0
  770. /package/dist/chunks/{worktree-twg0f83k.js → repository-cache-twg0f83k.js} +0 -0
  771. /package/dist/chunks/{worktree-w803qqfp.js → repository-cache-w803qqfp.js} +0 -0
  772. /package/dist/chunks/{worktree-wer8tq1h.js → repository-cache-wer8tq1h.js} +0 -0
  773. /package/dist/chunks/{worktree-wtztk69x.js → repository-cache-wtztk69x.js} +0 -0
  774. /package/dist/chunks/{worktree-x0ckcb58.js → repository-cache-x0ckcb58.js} +0 -0
  775. /package/dist/chunks/{worktree-x61499pn.js → repository-cache-x61499pn.js} +0 -0
  776. /package/dist/chunks/{worktree-y44na4kk.js → repository-cache-y44na4kk.js} +0 -0
  777. /package/dist/chunks/{worktree-y8cydn3q.js → repository-cache-y8cydn3q.js} +0 -0
  778. /package/dist/chunks/{worktree-y8f7s663.js → repository-cache-y8f7s663.js} +0 -0
  779. /package/dist/chunks/{worktree-ygaqb7jw.js → repository-cache-ygaqb7jw.js} +0 -0
  780. /package/dist/chunks/{worktree-ym463w8f.js → repository-cache-ym463w8f.js} +0 -0
  781. /package/dist/chunks/{worktree-z9919s4g.js → repository-cache-z9919s4g.js} +0 -0
@@ -1,69 +1,69 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./worktree-922hggd3.js";
3
+ } from "./repository-cache-922hggd3.js";
4
4
  import {
5
5
  WorktreeError2,
6
- node82
7
- } from "./worktree-nbddwgy7.js";
6
+ node83
7
+ } from "./repository-cache-jefma2gq.js";
8
8
  import {
9
9
  ID18
10
- } from "./worktree-81swgkk7.js";
10
+ } from "./repository-cache-81swgkk7.js";
11
11
  import {
12
12
  Slug2
13
- } from "./worktree-gebd4c9n.js";
13
+ } from "./repository-cache-gebd4c9n.js";
14
+ import {
15
+ Service80,
16
+ node85
17
+ } from "./repository-cache-vsqds22x.js";
14
18
  import {
15
19
  Service79,
16
20
  node84
17
- } from "./worktree-dvgdgw3v.js";
18
- import {
19
- Service78,
20
- node83
21
- } from "./worktree-7gf7znvm.js";
21
+ } from "./repository-cache-z4cbs5y4.js";
22
22
  import {
23
23
  ProjectTable2
24
- } from "./worktree-8p4f9s12.js";
24
+ } from "./repository-cache-8p4f9s12.js";
25
25
  import {
26
26
  WorktreeTable2
27
- } from "./worktree-cfpkc3c9.js";
27
+ } from "./repository-cache-cfpkc3c9.js";
28
28
  import {
29
- Service75,
30
- node80
31
- } from "./worktree-6zfbav3y.js";
29
+ Service76,
30
+ node81
31
+ } from "./repository-cache-k587grms.js";
32
32
  import {
33
33
  DirectoryUnavailableError2,
34
- canonical3
35
- } from "./worktree-th5km1p3.js";
34
+ canonical2
35
+ } from "./repository-cache-gv6a8nnw.js";
36
36
  import {
37
- make20
38
- } from "./worktree-84esvpjp.js";
37
+ make12
38
+ } from "./repository-cache-fyjrpq2n.js";
39
39
  import {
40
40
  create3
41
- } from "./worktree-kg06axw8.js";
41
+ } from "./repository-cache-kg06axw8.js";
42
42
  import {
43
43
  __export
44
- } from "./worktree-9rqn6x4v.js";
44
+ } from "./repository-cache-9rqn6x4v.js";
45
45
 
46
46
  // src/worktree.ts
47
47
  var exports_worktree2 = {};
48
48
  __export(exports_worktree2, {
49
- CreateInput: () => CreateInput2,
49
+ CreateInput: () => CreateInput3,
50
50
  DestinationExistsError: () => DestinationExistsError2,
51
51
  DirectoryUnavailableError: () => DirectoryUnavailableError2,
52
- Event: () => Event14,
53
- Info: () => Info24,
52
+ Event: () => Event7,
53
+ Info: () => Info5,
54
54
  InvalidDirectoryError: () => InvalidDirectoryError2,
55
55
  List: () => List2,
56
56
  ListEntry: () => ListEntry3,
57
57
  OperationError: () => OperationError2,
58
58
  RefreshResult: () => RefreshResult2,
59
59
  RemoveInput: () => RemoveInput2,
60
- Service: () => Service62,
60
+ Service: () => Service24,
61
61
  SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
62
62
  StrategyID: () => StrategyID2,
63
63
  StrategyUnavailableError: () => StrategyUnavailableError2,
64
64
  UnsupportedLocationError: () => UnsupportedLocationError2,
65
65
  Worktree: () => exports_worktree2,
66
- node: () => node67
66
+ node: () => node28
67
67
  });
68
68
  import { Context, Effect, Layer, Schema } from "effect";
69
69
  import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
@@ -76,13 +76,13 @@ import { AppProcess } from "@opencode/util/process";
76
76
  import { ChildProcess } from "effect/unstable/process";
77
77
  import { OperationError as OperationError2 } from "@opencode/schema/worktree";
78
78
  var StrategyID2 = Worktree.StrategyID;
79
- var CreateInput2 = Worktree.CreateInput;
79
+ var CreateInput3 = Worktree.CreateInput;
80
80
  var RemoveInput2 = Worktree.RemoveInput;
81
81
  var RefreshResult2 = Schema.Struct({
82
82
  updated: Schema.Array(AbsolutePath2),
83
83
  removed: Schema.Array(AbsolutePath2)
84
84
  }).annotate({ identifier: "Worktree.RefreshResult" });
85
- var Info24 = Worktree.Info;
85
+ var Info5 = Worktree.Info;
86
86
  var List2 = Worktree.List;
87
87
  var ListEntry3 = Worktree.ListEntry;
88
88
 
@@ -100,21 +100,21 @@ class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyU
100
100
 
101
101
  class UnsupportedLocationError2 extends Schema.TaggedError()("Worktree.UnsupportedLocationError", { directory: AbsolutePath2 }) {
102
102
  }
103
- var Event14 = Worktree.Event;
103
+ var Event7 = Worktree.Event;
104
104
 
105
- class Service62 extends Context.Service()("@opencode/v2/Worktree") {
105
+ class Service24 extends Context.Service()("@opencode/v2/Worktree") {
106
106
  }
107
- var layer = Layer.effect(Service62, Effect.gen(function* () {
107
+ var layer = Layer.effect(Service24, Effect.gen(function* () {
108
108
  const fs = yield* FSUtil.Service;
109
- const database = yield* Service79;
109
+ const database = yield* Service80;
110
110
  const db = database.db;
111
- const bus = yield* Service78;
111
+ const bus = yield* Service79;
112
112
  const processService = yield* AppProcess.Service;
113
- const location = yield* Service75;
113
+ const location = yield* Service76;
114
114
  const global = yield* Global.Service;
115
115
  const projectID = location.project.id;
116
116
  const local = location.workspaceID ? Effect.fail(new UnsupportedLocationError2({ directory: location.directory })) : Effect.void;
117
- const gitStrategy = yield* make20;
117
+ const gitStrategy = yield* make12;
118
118
  const state = create3({
119
119
  name: "worktree",
120
120
  initial: () => ({
@@ -135,7 +135,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
135
135
  });
136
136
  const changed = Effect.fnUntraced(function* (update) {
137
137
  if (update)
138
- yield* bus.publish(Event14.Updated, { projectID });
138
+ yield* bus.publish(Event7.Updated, { projectID });
139
139
  });
140
140
  const ops = {
141
141
  list: Effect.fnUntraced(function* () {
@@ -161,7 +161,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
161
161
  };
162
162
  const source = Effect.fnUntraced(function* (input) {
163
163
  const sourceDirectory = input ?? location.project.directory;
164
- const resolved = yield* canonical3(fs, sourceDirectory);
164
+ const resolved = yield* canonical2(fs, sourceDirectory);
165
165
  if ((yield* ops.find(resolved)) === undefined)
166
166
  return yield* new SourceDirectoryNotFoundError2({ projectID, directory: resolved });
167
167
  return resolved;
@@ -193,7 +193,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
193
193
  sourceDirectory,
194
194
  branch: input.branch
195
195
  }).pipe(Effect.mapError((error) => operationError(selected.id, "create", error)));
196
- const result = { directory: yield* canonical3(fs, created.directory) };
196
+ const result = { directory: yield* canonical2(fs, created.directory) };
197
197
  yield* changed(yield* ops.create({
198
198
  directory: result.directory,
199
199
  strategy: selected.id,
@@ -218,7 +218,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
218
218
  });
219
219
  const remove = Effect.fn("Worktree.remove")(function* (input) {
220
220
  yield* local;
221
- const worktreeDirectory = yield* canonical3(fs, input.directory);
221
+ const worktreeDirectory = yield* canonical2(fs, input.directory);
222
222
  const stored = yield* ops.find(worktreeDirectory);
223
223
  if (!stored?.strategy)
224
224
  return yield* new InvalidDirectoryError2({ directory: worktreeDirectory });
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
239
239
  for (const strategy of strategies) {
240
240
  const entries = yield* strategy.list(location.project.directory).pipe(Effect.mapError((error) => operationError(strategy.id, "list", error)), Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.succeed([])));
241
241
  for (const entry of entries) {
242
- const directory = yield* canonical3(fs, entry.directory).pipe(Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.undefined));
242
+ const directory = yield* canonical2(fs, entry.directory).pipe(Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.undefined));
243
243
  if (!directory || discovered.has(directory))
244
244
  continue;
245
245
  discovered.set(directory, {
@@ -257,7 +257,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
257
257
  yield* changed(changes.updated.length > 0 || changes.removed.length > 0);
258
258
  return changes;
259
259
  });
260
- return Service62.of({
260
+ return Service24.of({
261
261
  transform: state.transform,
262
262
  reload: state.reload,
263
263
  list: Effect.fn("Worktree.list")(function* () {
@@ -269,10 +269,10 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
269
269
  refresh
270
270
  });
271
271
  }));
272
- var node67 = makeLocationNode({
273
- service: Service62,
272
+ var node28 = makeLocationNode({
273
+ service: Service24,
274
274
  layer,
275
- deps: [FSUtil.node, node82, node83, node84, AppProcess.node, node80, Global.node]
275
+ deps: [FSUtil.node, node83, node84, node85, AppProcess.node, node81, Global.node]
276
276
  });
277
277
  function operationError(strategy, operation, error) {
278
278
  if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
@@ -282,4 +282,4 @@ function operationError(strategy, operation, error) {
282
282
  });
283
283
  }
284
284
 
285
- export { StrategyID2, CreateInput2, RemoveInput2, RefreshResult2, Info24, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, UnsupportedLocationError2, Event14, Service62, node67, exports_worktree2, OperationError2 };
285
+ export { StrategyID2, CreateInput3, RemoveInput2, RefreshResult2, Info5, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, UnsupportedLocationError2, Event7, Service24, node28, exports_worktree2, OperationError2 };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  useragent2
3
- } from "./worktree-f59qb7z8.js";
3
+ } from "./repository-cache-w9ytv6gf.js";
4
4
  import {
5
5
  __export
6
- } from "./worktree-9rqn6x4v.js";
6
+ } from "./repository-cache-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/tavily.ts
9
9
  var exports_tavily = {};
10
10
  __export(exports_tavily, {
11
- Plugin: () => Plugin4,
11
+ Plugin: () => Plugin24,
12
12
  WebSearchTavily: () => exports_tavily,
13
- endpoint: () => endpoint2
13
+ endpoint: () => endpoint5
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
16
16
  import { Duration, Effect, Schema } from "effect";
17
17
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
18
- var endpoint2 = "https://api.tavily.com/search";
18
+ var endpoint5 = "https://api.tavily.com/search";
19
19
  var SearchRequest = Schema.Struct({
20
20
  query: Schema.String,
21
21
  search_depth: Schema.Literal("basic"),
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
29
29
  content: Schema.String
30
30
  }))
31
31
  });
32
- var Plugin4 = define({
32
+ var Plugin24 = define({
33
33
  id: "opencode.websearch.tavily",
34
34
  effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
35
35
  const http = yield* HttpClient.HttpClient;
@@ -51,7 +51,7 @@ var Plugin4 = define({
51
51
  execute: (input) => Effect.gen(function* () {
52
52
  const connection = yield* ctx.integration.connection.active("tavily");
53
53
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
54
- const request = yield* HttpClientRequest.post(endpoint2).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
54
+ const request = yield* HttpClientRequest.post(endpoint5).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
55
55
  "User-Agent": useragent2(ctx.app),
56
56
  "X-Client-Name": "opencode2",
57
57
  ...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
@@ -77,4 +77,4 @@ var Plugin4 = define({
77
77
  })
78
78
  });
79
79
 
80
- export { endpoint2, Plugin4, exports_tavily };
80
+ export { endpoint5, Plugin24, exports_tavily };
@@ -1,15 +1,15 @@
1
1
  import {
2
- Service63
3
- } from "./worktree-bjhqm2jc.js";
2
+ Service51
3
+ } from "./repository-cache-ythpzqjx.js";
4
4
  import {
5
- Service53
6
- } from "./worktree-m2manvsf.js";
5
+ Service45
6
+ } from "./repository-cache-p0a23dx6.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./worktree-dxj72tfx.js";
9
+ } from "./repository-cache-by5v678g.js";
10
10
  import {
11
11
  __export
12
- } from "./worktree-9rqn6x4v.js";
12
+ } from "./repository-cache-9rqn6x4v.js";
13
13
 
14
14
  // src/session/command.ts
15
15
  var exports_command3 = {};
@@ -19,8 +19,8 @@ __export(exports_command3, {
19
19
  });
20
20
  import { Effect } from "effect";
21
21
  var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
22
- const instances = yield* Service53;
23
- const commands = yield* awaitActivation2.pipe(Effect.andThen(Service63), instances.provide(input.session));
22
+ const instances = yield* Service45;
23
+ const commands = yield* awaitActivation2.pipe(Effect.andThen(Service51), instances.provide(input.session));
24
24
  yield* commands.execute({
25
25
  name: input.command,
26
26
  invocation: {
@@ -1,34 +1,34 @@
1
1
  import {
2
- Service75
3
- } from "./worktree-6zfbav3y.js";
2
+ Service76
3
+ } from "./repository-cache-k587grms.js";
4
4
  import {
5
5
  PATCH_CONTEXT_LINES2,
6
6
  MAX_PATCH_BYTES2,
7
7
  MAX_TOTAL_PATCH_BYTES2,
8
8
  emptyPatch2,
9
9
  chunksByFile2
10
- } from "./worktree-tazgh4e4.js";
10
+ } from "./repository-cache-tazgh4e4.js";
11
11
  import {
12
12
  DiffError2
13
- } from "./worktree-zvnk3gn3.js";
13
+ } from "./repository-cache-k4a4y6vh.js";
14
14
  import {
15
15
  __export
16
- } from "./worktree-9rqn6x4v.js";
16
+ } from "./repository-cache-9rqn6x4v.js";
17
17
 
18
18
  // src/plugin/vcs/git.ts
19
19
  var exports_git = {};
20
20
  __export(exports_git, {
21
- Plugin: () => Plugin2,
21
+ Plugin: () => Plugin21,
22
22
  VcsGitPlugin: () => exports_git
23
23
  });
24
24
  import { define } from "@opencode/plugin/effect/plugin";
25
25
  import { Effect } from "effect";
26
26
  import { ChildProcess } from "effect/unstable/process";
27
27
  import { AppProcess } from "@opencode/util/process";
28
- var Plugin2 = define({
28
+ var Plugin21 = define({
29
29
  id: "opencode.vcs.git",
30
30
  effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
31
- const location = yield* Service75;
31
+ const location = yield* Service76;
32
32
  if (location.vcs?.type !== "git")
33
33
  return;
34
34
  const processes = yield* AppProcess.Service;
@@ -467,4 +467,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
467
467
  return yield* diffAgainstRef(ctx, ref, options);
468
468
  });
469
469
 
470
- export { Plugin2, exports_git };
470
+ export { Plugin21, exports_git };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  useragent2
3
- } from "./worktree-f59qb7z8.js";
3
+ } from "./repository-cache-w9ytv6gf.js";
4
4
  import {
5
- Service78
6
- } from "./worktree-7gf7znvm.js";
5
+ Service79
6
+ } from "./repository-cache-z4cbs5y4.js";
7
7
  import {
8
8
  OAuth3,
9
- Event12
10
- } from "./worktree-jnkjkfmr.js";
9
+ Event19
10
+ } from "./repository-cache-j6camevd.js";
11
11
  import {
12
- ID8,
12
+ ID11,
13
13
  MethodID2
14
- } from "./worktree-bxss1q04.js";
14
+ } from "./repository-cache-ex4zhymv.js";
15
15
  import {
16
- ID11
17
- } from "./worktree-mm6ytk77.js";
16
+ ID14
17
+ } from "./repository-cache-wp6wx7ve.js";
18
18
  import {
19
19
  Family2
20
- } from "./worktree-gda53zk6.js";
20
+ } from "./repository-cache-xk29e8eh.js";
21
21
  import {
22
22
  bootstrap2
23
- } from "./worktree-pjvnvgmy.js";
23
+ } from "./repository-cache-pjvnvgmy.js";
24
24
 
25
25
  // src/plugin/provider/digitalocean.ts
26
26
  import { define } from "@opencode/plugin/effect/plugin";
27
27
  import { Clock, Deferred, Effect, Option, Schedule, Schema, Semaphore, Stream } from "effect";
28
28
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
29
- var providerID = ID11.make("digitalocean");
30
- var integrationID = ID8.make("digitalocean");
29
+ var providerID = ID14.make("digitalocean");
30
+ var integrationID = ID11.make("digitalocean");
31
31
  var methodID = MethodID2.make("browser");
32
32
  var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
33
33
  var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
@@ -115,7 +115,7 @@ var oauth = {
115
115
  var DigitalOceanPlugin2 = define({
116
116
  id: "opencode.provider.digitalocean",
117
117
  effect: Effect.fn(function* (ctx) {
118
- const bus = yield* Service78;
118
+ const bus = yield* Service79;
119
119
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
120
120
  const loading = Semaphore.makeUnsafe(1);
121
121
  const loaded = { routers: [] };
@@ -158,7 +158,7 @@ var DigitalOceanPlugin2 = define({
158
158
  }
159
159
  });
160
160
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
161
- yield* bus.subscribe(Event12.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
161
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
162
162
  yield* refresh().pipe(Effect.repeat(Schedule.spaced("5 minutes")), Effect.forkScoped);
163
163
  })
164
164
  });
@@ -2,45 +2,45 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./worktree-2a5m3afh.js";
5
+ } from "./repository-cache-2a5m3afh.js";
6
6
  import {
7
- Service75
8
- } from "./worktree-6zfbav3y.js";
7
+ Service76
8
+ } from "./repository-cache-k587grms.js";
9
9
  import {
10
- Service43
11
- } from "./worktree-z77pcmag.js";
10
+ Service60
11
+ } from "./repository-cache-kwj37acz.js";
12
12
  import {
13
13
  Service15
14
- } from "./worktree-8c13b1f6.js";
14
+ } from "./repository-cache-xcfb136s.js";
15
15
  import {
16
- Service17,
16
+ Service21,
17
17
  readText2,
18
18
  syncTextBom2
19
- } from "./worktree-59h2sd9w.js";
19
+ } from "./repository-cache-cssy2j8r.js";
20
20
  import {
21
- Service71
22
- } from "./worktree-zw0bbc6p.js";
21
+ Service64
22
+ } from "./repository-cache-w89kcrbm.js";
23
23
  import {
24
- Service70,
24
+ Service26,
25
25
  resolvePath2
26
- } from "./worktree-adm5ft2x.js";
26
+ } from "./repository-cache-jmfdmvz8.js";
27
27
  import {
28
28
  fileDiff2
29
- } from "./worktree-6prwharc.js";
29
+ } from "./repository-cache-6prwharc.js";
30
30
  import {
31
31
  __export
32
- } from "./worktree-9rqn6x4v.js";
32
+ } from "./repository-cache-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/patch.ts
35
35
  var exports_patch = {};
36
36
  __export(exports_patch, {
37
37
  Applied: () => Applied2,
38
- Input: () => Input8,
39
- Output: () => Output5,
38
+ Input: () => Input7,
39
+ Output: () => Output6,
40
40
  PatchTool: () => exports_patch,
41
- Plugin: () => Plugin22,
42
- name: () => name8,
43
- toModelContent: () => toModelContent3
41
+ Plugin: () => Plugin37,
42
+ name: () => name7,
43
+ toModelContent: () => toModelContent4
44
44
  });
45
45
  import { ToolFailure } from "@opencode/ai";
46
46
  import { FileDiff } from "@opencode/schema/file-diff";
@@ -85,8 +85,8 @@ It is important to remember:
85
85
  `;
86
86
 
87
87
  // src/tool/plugin/patch.ts
88
- var name8 = "patch";
89
- var Input8 = Schema.Struct({
88
+ var name7 = "patch";
89
+ var Input7 = Schema.Struct({
90
90
  patchText: Schema.String.annotate({
91
91
  description: "The full patch text describing add, update, and delete operations"
92
92
  })
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
96
96
  resource: Schema.String,
97
97
  target: Schema.String
98
98
  });
99
- var Output5 = Schema.Struct({
99
+ var Output6 = Schema.Struct({
100
100
  applied: Schema.Array(Applied2),
101
101
  files: Schema.Array(FileDiff.Info)
102
102
  });
103
- var toModelContent3 = (output) => [
103
+ var toModelContent4 = (output) => [
104
104
  "Success. Updated the following files:",
105
105
  ...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
106
106
  ].join(`
107
107
  `);
108
- var Plugin22 = {
108
+ var Plugin37 = {
109
109
  id: "opencode.tool.patch",
110
110
  effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
111
- const environment = yield* Service43;
112
- const access = yield* Service70;
113
- const fileMutation = yield* Service17;
111
+ const environment = yield* Service60;
112
+ const access = yield* Service26;
113
+ const fileMutation = yield* Service21;
114
114
  const formatter = yield* Service15;
115
- const location = yield* Service75;
116
- const permission = yield* Service71;
115
+ const location = yield* Service76;
116
+ const permission = yield* Service64;
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name8,
118
+ name: name7,
119
119
  options: { codemode: false, permission: "edit" },
120
120
  description: patch_default,
121
- input: Input8,
122
- output: Output5,
121
+ input: Input7,
122
+ output: Output6,
123
123
  execute: (input, context) => {
124
124
  const applied = [];
125
125
  const parsed = Patch.parse(input.patchText);
@@ -266,7 +266,7 @@ var Plugin22 = {
266
266
  return { applied, files };
267
267
  }).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
268
268
  output,
269
- content: toModelContent3(output),
269
+ content: toModelContent4(output),
270
270
  metadata: { files: output.files }
271
271
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
272
272
  }
@@ -323,4 +323,4 @@ function trimDiff(diff) {
323
323
  `);
324
324
  }
325
325
 
326
- export { name8, Input8, Applied2, Output5, toModelContent3, Plugin22, exports_patch };
326
+ export { name7, Input7, Applied2, Output6, toModelContent4, Plugin37, exports_patch };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./worktree-gftt206x.js";
3
+ } from "./repository-cache-gftt206x.js";
4
4
  import {
5
5
  __export
6
- } from "./worktree-9rqn6x4v.js";
6
+ } from "./repository-cache-9rqn6x4v.js";
7
7
 
8
8
  // src/session/message-updater.ts
9
9
  var exports_message_updater = {};
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./worktree-9rqn6x4v.js";
3
+ } from "./repository-cache-9rqn6x4v.js";
4
4
 
5
5
  // src/session/environment.ts
6
6
  var exports_environment = {};
7
7
  __export(exports_environment, {
8
- Service: () => Service38,
8
+ Service: () => Service55,
9
9
  SessionEnvironment: () => exports_environment,
10
- node: () => node42
10
+ node: () => node59
11
11
  });
12
12
  import { Context, Effect, Layer } from "effect";
13
13
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
14
14
 
15
- class Service38 extends Context.Service()("@opencode/SessionEnvironment") {
15
+ class Service55 extends Context.Service()("@opencode/SessionEnvironment") {
16
16
  }
17
- var layer = Layer.sync(Service38, () => {
17
+ var layer = Layer.sync(Service55, () => {
18
18
  const environments = new Map;
19
- return Service38.of({
19
+ return Service55.of({
20
20
  get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
21
21
  set: (sessionID, variables) => Effect.sync(() => {
22
22
  environments.set(sessionID, { ...variables });
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service38, () => {
26
26
  })
27
27
  });
28
28
  });
29
- var node42 = makeGlobalNode({ service: Service38, layer, deps: [] });
29
+ var node59 = makeGlobalNode({ service: Service55, layer, deps: [] });
30
30
 
31
- export { Service38, node42, exports_environment };
31
+ export { Service55, node59, exports_environment };
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service54,
3
- node59,
4
- canonical2
5
- } from "./worktree-6sfzc8j3.js";
2
+ Service52,
3
+ node56,
4
+ canonical3
5
+ } from "./repository-cache-fm4b3qmy.js";
6
6
  import {
7
- Service53,
8
- node58
9
- } from "./worktree-m2manvsf.js";
7
+ Service45,
8
+ node49
9
+ } from "./repository-cache-p0a23dx6.js";
10
10
  import {
11
- Service21
12
- } from "./worktree-v912edbj.js";
11
+ Service19
12
+ } from "./repository-cache-waxra22z.js";
13
13
  import {
14
14
  layer2
15
- } from "./worktree-xptez47m.js";
15
+ } from "./repository-cache-9c7kcab0.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(Service54, Effect.gen(function* () {
20
+ return Layer.effect(Service52, 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, Service21).close;
31
+ build.close = Context.get(exit.value, Service19).close;
32
32
  return Effect.void;
33
33
  }
34
34
  MutableHashMap.remove(builds, ref);
@@ -39,22 +39,22 @@ function buildLocationServiceMap2(replacements = []) {
39
39
  }, { idleTimeToLive: Duration.infinity });
40
40
  const map = {
41
41
  ...inner,
42
- get: (ref) => inner.get(canonical2(ref)),
43
- contextEffect: (ref) => inner.contextEffect(canonical2(ref)),
44
- contextEffectOption: (ref) => inner.contextEffectOption(canonical2(ref)),
42
+ get: (ref) => inner.get(canonical3(ref)),
43
+ contextEffect: (ref) => inner.contextEffect(canonical3(ref)),
44
+ contextEffectOption: (ref) => inner.contextEffectOption(canonical3(ref)),
45
45
  invalidate: (ref) => Effect.suspend(() => {
46
- const key = canonical2(ref);
46
+ const key = canonical3(ref);
47
47
  const build = Option.getOrUndefined(MutableHashMap.get(builds, key));
48
48
  MutableHashMap.remove(builds, key);
49
49
  return inner.invalidate(key).pipe(Effect.andThen(build?.close ?? Effect.void));
50
50
  })
51
51
  };
52
52
  const bindings = [
53
- node58.replace(Layer.succeed(Service53, {
53
+ node49.replace(Layer.succeed(Service45, {
54
54
  provide: (session) => Effect.provide(map.get(session.location))
55
55
  })),
56
56
  ...replacements,
57
- node59.replace(Layer.succeed(Service54, map))
57
+ node56.replace(Layer.succeed(Service52, map))
58
58
  ];
59
59
  return map;
60
60
  }));