@opencode/core 0.0.0-dev-20063 → 0.0.0-dev-20066

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 (799) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{location-activity-mh939zjr.js → file-0dv41atz.js} +3 -3
  8. package/dist/chunks/{location-activity-rhjbct0v.js → file-0gdmqesm.js} +4 -4
  9. package/dist/chunks/{location-activity-0paq2nw3.js → file-0paq2nw3.js} +1 -1
  10. package/dist/chunks/{location-activity-ma3y0ar2.js → file-0qjcdq53.js} +15 -15
  11. package/dist/chunks/{location-activity-yj6jvem3.js → file-0t2n07hj.js} +7 -7
  12. package/dist/chunks/{location-activity-y737gw18.js → file-1cfhk7sn.js} +57 -57
  13. package/dist/chunks/{location-activity-1dazxqgg.js → file-1dazxqgg.js} +2 -2
  14. package/dist/chunks/{location-activity-xmdegtbq.js → file-1dcnnnbr.js} +3 -3
  15. package/dist/chunks/{location-activity-xbya9qm4.js → file-1dn8ht41.js} +32 -32
  16. package/dist/chunks/{location-activity-zha1n4y3.js → file-1e6560a0.js} +9 -9
  17. package/dist/chunks/{location-activity-gqawmzqm.js → file-1fcrsx1q.js} +8 -8
  18. package/dist/chunks/{location-activity-g4br81qq.js → file-1gdesbhr.js} +29 -29
  19. package/dist/chunks/{location-activity-4kg75r2a.js → file-1gsxrzjh.js} +11 -11
  20. package/dist/chunks/{location-activity-21r38tys.js → file-21r38tys.js} +1 -1
  21. package/dist/chunks/{location-activity-2402vzrj.js → file-2402vzrj.js} +1 -1
  22. package/dist/chunks/{location-activity-14hrbb5d.js → file-28p9c2n7.js} +36 -36
  23. package/dist/chunks/{location-activity-df4v6x34.js → file-28rjj3zm.js} +28 -28
  24. package/dist/chunks/{location-activity-2a5m3afh.js → file-2a5m3afh.js} +1 -1
  25. package/dist/chunks/{location-activity-nenvspp7.js → file-2gvhzvms.js} +13 -13
  26. package/dist/chunks/{location-activity-k6akjfjs.js → file-2k1qvr7q.js} +28 -28
  27. package/dist/chunks/{location-activity-t15cpccw.js → file-2nnkyhgj.js} +4 -4
  28. package/dist/chunks/{location-activity-ss07bkd2.js → file-2qsg2f9e.js} +28 -28
  29. package/dist/chunks/{location-activity-fc5st77a.js → file-30stdhmk.js} +11 -11
  30. package/dist/chunks/{location-activity-j1zwg1qf.js → file-3ejevnbt.js} +29 -29
  31. package/dist/chunks/{location-activity-3fc6dm20.js → file-3fc6dm20.js} +1 -1
  32. package/dist/chunks/{location-activity-3hepkmqq.js → file-3hepkmqq.js} +1 -1
  33. package/dist/chunks/{location-activity-thc2y70h.js → file-3j12ts0c.js} +8 -8
  34. package/dist/chunks/{location-activity-fpq9acqp.js → file-3ppptnan.js} +6 -6
  35. package/dist/chunks/{location-activity-3smtnn6g.js → file-3smtnn6g.js} +1 -1
  36. package/dist/chunks/{location-activity-mqdaae5k.js → file-3tpvs2ax.js} +28 -28
  37. package/dist/chunks/{location-activity-3tvqynh2.js → file-3tvqynh2.js} +1 -1
  38. package/dist/chunks/{location-activity-03dcqpaj.js → file-3x5m1xpp.js} +5 -5
  39. package/dist/chunks/{location-activity-3zsf4n22.js → file-3zsf4n22.js} +1 -1
  40. package/dist/chunks/{location-activity-hw1ctq4m.js → file-3zt59cyk.js} +17 -17
  41. package/dist/chunks/{location-activity-34kw275d.js → file-44bd19a6.js} +25 -25
  42. package/dist/chunks/{location-activity-q4ecx0yd.js → file-48b5k7kh.js} +20 -20
  43. package/dist/chunks/{location-activity-7799vnb2.js → file-4cxjs54m.js} +8 -8
  44. package/dist/chunks/{location-activity-egn9h43e.js → file-4ecq8z8w.js} +30 -30
  45. package/dist/chunks/{location-activity-64myw47f.js → file-4xep0k5d.js} +10 -10
  46. package/dist/chunks/{location-activity-ryhskwyp.js → file-53aen1mc.js} +24 -24
  47. package/dist/chunks/{location-activity-ckecvw8r.js → file-54tcyq79.js} +2 -2
  48. package/dist/chunks/{location-activity-9c4capd3.js → file-55bva0cb.js} +22 -22
  49. package/dist/chunks/{location-activity-ag580yac.js → file-56dkfrzf.js} +4 -4
  50. package/dist/chunks/{location-activity-33w4ejhs.js → file-56gdpj1q.js} +6 -6
  51. package/dist/chunks/{location-activity-9pv0dm11.js → file-57ez7d0k.js} +9 -9
  52. package/dist/chunks/{location-activity-5daktx2q.js → file-5daktx2q.js} +1 -1
  53. package/dist/chunks/{location-activity-5ekn9679.js → file-5ekn9679.js} +1 -1
  54. package/dist/chunks/{location-activity-cpj0znwe.js → file-5mtzsd3b.js} +4 -4
  55. package/dist/chunks/{location-activity-5t3nmthw.js → file-5t3nmthw.js} +2 -2
  56. package/dist/chunks/{location-activity-pj5anp6d.js → file-5vg5mx5r.js} +11 -11
  57. package/dist/chunks/{location-activity-yt3901j4.js → file-605v3z54.js} +36 -36
  58. package/dist/chunks/{location-activity-669tq793.js → file-669tq793.js} +1 -1
  59. package/dist/chunks/{location-activity-8dqywazt.js → file-66pcvekw.js} +31 -31
  60. package/dist/chunks/{location-activity-fy9s6ntj.js → file-67d2xr1y.js} +20 -20
  61. package/dist/chunks/{location-activity-tkjpgj67.js → file-68y7phbn.js} +12 -12
  62. package/dist/chunks/{location-activity-fdbzjfsn.js → file-6ms7eb8z.js} +9 -9
  63. package/dist/chunks/{location-activity-6msgmcgs.js → file-6msgmcgs.js} +1 -1
  64. package/dist/chunks/{location-activity-z4hec619.js → file-6nz9a8mm.js} +4 -4
  65. package/dist/chunks/{location-activity-3tz3ez9v.js → file-6p9d4jjd.js} +24 -24
  66. package/dist/chunks/{location-activity-fkt81cgr.js → file-6vbjy3nf.js} +22 -22
  67. package/dist/chunks/{location-activity-wmm8dv1r.js → file-6vcgy8rt.js} +11 -11
  68. package/dist/chunks/{location-activity-gjhhyng1.js → file-6vysq8xy.js} +18 -18
  69. package/dist/chunks/{location-activity-j6praawb.js → file-71jq3e50.js} +21 -21
  70. package/dist/chunks/{location-activity-rmwhpqen.js → file-79c0cprn.js} +22 -22
  71. package/dist/chunks/{location-activity-7bmhse3q.js → file-7bmhse3q.js} +1 -1
  72. package/dist/chunks/{location-activity-2k8khapm.js → file-7dqw4kz8.js} +5 -5
  73. package/dist/chunks/{location-activity-jxm9g8ke.js → file-7f29k4yc.js} +1 -1
  74. package/dist/chunks/{location-activity-jdaq26vq.js → file-7g3edgp3.js} +31 -31
  75. package/dist/chunks/{location-activity-r1sa43kq.js → file-7nthvdt2.js} +22 -22
  76. package/dist/chunks/{location-activity-ycaxr18x.js → file-7qhbze1a.js} +15 -15
  77. package/dist/chunks/{location-activity-jjnhab29.js → file-80eyc1fc.js} +48 -48
  78. package/dist/chunks/{location-activity-7yve55hb.js → file-80jpmz44.js} +11 -11
  79. package/dist/chunks/{location-activity-8d7r5vzw.js → file-8d7r5vzw.js} +1 -1
  80. package/dist/chunks/{location-activity-yfqvh5hc.js → file-8exbv5ee.js} +17 -17
  81. package/dist/chunks/{location-activity-w1gpz0n4.js → file-8fkqwjdd.js} +9 -9
  82. package/dist/chunks/{location-activity-bmycbdx7.js → file-8nm9s8sj.js} +9 -9
  83. package/dist/chunks/{location-activity-k6445fkp.js → file-8q09v32k.js} +16 -16
  84. package/dist/chunks/{location-activity-8rzt22gh.js → file-8rn5da1k.js} +92 -92
  85. package/dist/chunks/{location-activity-mhc2wkgs.js → file-9283747x.js} +17 -17
  86. package/dist/chunks/{location-activity-rzs3gq0x.js → file-97w5rk9e.js} +8 -8
  87. package/dist/chunks/{location-activity-fkjmw100.js → file-9chhw8ab.js} +2 -2
  88. package/dist/chunks/{location-activity-2xn7zd19.js → file-9kdq5cm5.js} +44 -44
  89. package/dist/chunks/{location-activity-e9vw5rew.js → file-9kqy81kb.js} +11 -11
  90. package/dist/chunks/{location-activity-m4tkdjj2.js → file-9rn8m20s.js} +1 -1
  91. package/dist/chunks/{location-activity-4hctzmxj.js → file-9s342vhy.js} +16 -16
  92. package/dist/chunks/file-9zdhvgqs.js +18 -0
  93. package/dist/chunks/{location-activity-d216944b.js → file-a2ew8a62.js} +7 -7
  94. package/dist/chunks/{location-activity-50mzsvk4.js → file-a8bn8zg0.js} +4 -4
  95. package/dist/chunks/{location-activity-v86d1rgq.js → file-a8zr1srk.js} +8 -8
  96. package/dist/chunks/{location-activity-aaet6srn.js → file-aaet6srn.js} +2 -2
  97. package/dist/chunks/{location-activity-bp8cjhxv.js → file-afae926q.js} +8 -8
  98. package/dist/chunks/{location-activity-fx9e08vj.js → file-am6bd3dm.js} +14 -14
  99. package/dist/chunks/{location-activity-nq8jptq0.js → file-awqs82k3.js} +26 -26
  100. package/dist/chunks/{location-activity-p9w36536.js → file-azgavcp7.js} +27 -27
  101. package/dist/chunks/{location-activity-e2jw5gm9.js → file-b3jd6nbe.js} +38 -38
  102. package/dist/chunks/{location-activity-b6gygkdw.js → file-b6gygkdw.js} +2 -2
  103. package/dist/chunks/{location-activity-gmf6fkqv.js → file-b710rs9d.js} +6 -6
  104. package/dist/chunks/{location-activity-1bh1vgap.js → file-b8v9yxrh.js} +35 -35
  105. package/dist/chunks/{location-activity-ynemb08k.js → file-b9k40ts2.js} +11 -11
  106. package/dist/chunks/{location-activity-1ktgcqzb.js → file-ba4w6g48.js} +12 -12
  107. package/dist/chunks/{location-activity-wsdzd4jz.js → file-bbashmg5.js} +27 -27
  108. package/dist/chunks/{location-activity-pe4q6a9q.js → file-bbme6enf.js} +3 -3
  109. package/dist/chunks/{location-activity-ewshcpys.js → file-bda1vq26.js} +8 -8
  110. package/dist/chunks/{location-activity-cymxymym.js → file-bfcbydry.js} +35 -35
  111. package/dist/chunks/{location-activity-z07pqspn.js → file-bjtzbw4r.js} +3 -3
  112. package/dist/chunks/{location-activity-txvhh9w4.js → file-bkj6m2b4.js} +86 -86
  113. package/dist/chunks/{location-activity-hrexgq4a.js → file-bqgb4xv5.js} +41 -41
  114. package/dist/chunks/{location-activity-9rjpgvvn.js → file-bqxteh86.js} +66 -66
  115. package/dist/chunks/{location-activity-e6pst98e.js → file-c3xqhexw.js} +13 -13
  116. package/dist/chunks/{location-activity-1f1g9bfp.js → file-c6dyb1r1.js} +24 -24
  117. package/dist/chunks/{location-activity-jv6862zv.js → file-c769d21z.js} +6 -6
  118. package/dist/chunks/{location-activity-v10dbevp.js → file-c7sdca4y.js} +15 -15
  119. package/dist/chunks/{location-activity-7bmrmgmj.js → file-cbzqd5vv.js} +18 -18
  120. package/dist/chunks/{location-activity-k8w0np50.js → file-cefeattc.js} +10 -10
  121. package/dist/chunks/{location-activity-gnb728zk.js → file-cnrdk8yx.js} +24 -24
  122. package/dist/chunks/{location-activity-ynd78kyw.js → file-cw09a6zt.js} +27 -27
  123. package/dist/chunks/{location-activity-czfptnv9.js → file-czfptnv9.js} +1 -1
  124. package/dist/chunks/{location-activity-04n29kb5.js → file-d2jkntah.js} +32 -32
  125. package/dist/chunks/{location-activity-vfdgmadz.js → file-d36n6r0a.js} +51 -51
  126. package/dist/chunks/{location-activity-rg55ar54.js → file-d6mxctwy.js} +9 -9
  127. package/dist/chunks/{location-activity-7tr8b183.js → file-d82rywaa.js} +16 -16
  128. package/dist/chunks/{location-activity-s0hza5ac.js → file-d8nc1xcx.js} +4 -4
  129. package/dist/chunks/{location-activity-d1rxd69n.js → file-df7xe9tm.js} +27 -27
  130. package/dist/chunks/{location-activity-drwq78ky.js → file-dkhsgy42.js} +4 -4
  131. package/dist/chunks/{location-activity-y71avatq.js → file-dpkg50ah.js} +4 -4
  132. package/dist/chunks/{location-activity-1tbm2v5y.js → file-dskjz5tz.js} +35 -35
  133. package/dist/chunks/{location-activity-yq564c25.js → file-dvvawg7j.js} +28 -28
  134. package/dist/chunks/{location-activity-tam61k2d.js → file-dwrwq0kr.js} +10 -10
  135. package/dist/chunks/{location-activity-2fx2tzfe.js → file-dyyp5385.js} +20 -20
  136. package/dist/chunks/{location-activity-1024j2x1.js → file-e4pvga2e.js} +3 -3
  137. package/dist/chunks/{location-activity-3qpy5f0j.js → file-e6hsj8k3.js} +13 -13
  138. package/dist/chunks/{location-activity-q8ycz8dj.js → file-e8qbhynk.js} +22 -22
  139. package/dist/chunks/file-e96fckfm.js +252 -0
  140. package/dist/chunks/{location-activity-64fn380f.js → file-eebxfdqy.js} +33 -33
  141. package/dist/chunks/{location-activity-ef5x83kb.js → file-ef5x83kb.js} +1 -1
  142. package/dist/chunks/{location-activity-g1ssvemz.js → file-eqdkrvcq.js} +12 -12
  143. package/dist/chunks/{location-activity-erw5rpbs.js → file-erw5rpbs.js} +2 -2
  144. package/dist/chunks/{location-activity-etq0c3wd.js → file-etq0c3wd.js} +1 -1
  145. package/dist/chunks/{location-activity-3ehtcamn.js → file-ezpe7cx6.js} +47 -47
  146. package/dist/chunks/{location-activity-926caeg8.js → file-ezshsjxy.js} +15 -15
  147. package/dist/chunks/{location-activity-nkj8wer8.js → file-ezy6at35.js} +15 -15
  148. package/dist/chunks/{location-activity-abm6z959.js → file-f2q0nfy3.js} +3 -3
  149. package/dist/chunks/{location-activity-cvbtfyb1.js → file-f5gy8qwh.js} +8 -8
  150. package/dist/chunks/file-fdpm3vhs.js +26 -0
  151. package/dist/chunks/{location-activity-ksfg8aps.js → file-fvx3366n.js} +22 -22
  152. package/dist/chunks/{location-activity-3dvxy880.js → file-g4nzdvdr.js} +3 -3
  153. package/dist/chunks/{location-activity-kbp4b3kq.js → file-g6qn7enb.js} +5 -5
  154. package/dist/chunks/{location-activity-2e64pjdc.js → file-g9nmy09s.js} +42 -42
  155. package/dist/chunks/{location-activity-gd4qta3r.js → file-gd4qta3r.js} +1 -1
  156. package/dist/chunks/{location-activity-94ek1h2f.js → file-gfvb90ym.js} +2 -2
  157. package/dist/chunks/{location-activity-r2m716tb.js → file-gjwgx2c5.js} +9 -9
  158. package/dist/chunks/{location-activity-y07mz5m8.js → file-gv418ss3.js} +26 -26
  159. package/dist/chunks/{location-activity-gv6a8nnw.js → file-gv6a8nnw.js} +2 -2
  160. package/dist/chunks/{location-activity-fwvygk21.js → file-gvzpgxex.js} +5 -5
  161. package/dist/chunks/{location-activity-sxzpbmd8.js → file-gyk2hwcy.js} +28 -28
  162. package/dist/chunks/{location-activity-150yg2gd.js → file-h4z1mxff.js} +5 -5
  163. package/dist/chunks/{location-activity-h6vf3j39.js → file-h6vf3j39.js} +1 -1
  164. package/dist/chunks/{location-activity-qek27vk5.js → file-hnc853s2.js} +16 -16
  165. package/dist/chunks/{location-activity-gg7pg1rj.js → file-hnr5yq9h.js} +5 -5
  166. package/dist/chunks/{location-activity-jx0sxaf8.js → file-hvpdgzkp.js} +23 -23
  167. package/dist/chunks/{location-activity-1bbkgx8g.js → file-j028xdjb.js} +3 -3
  168. package/dist/chunks/{location-activity-p1hpvzdr.js → file-j551d5nt.js} +19 -19
  169. package/dist/chunks/{location-activity-j56e64zr.js → file-j56e64zr.js} +1 -1
  170. package/dist/chunks/{location-activity-9r60mcam.js → file-j7ym9e45.js} +8 -8
  171. package/dist/chunks/{location-activity-pt3jfr41.js → file-j8zzr2am.js} +6 -6
  172. package/dist/chunks/{location-activity-p8e0wkny.js → file-ja31eptw.js} +18 -18
  173. package/dist/chunks/{location-activity-j6fcj7cn.js → file-k475yrwb.js} +33 -33
  174. package/dist/chunks/{location-activity-a0y8x1x9.js → file-kas5k1as.js} +10 -10
  175. package/dist/chunks/{location-activity-zdyg23fs.js → file-kjqsq5n4.js} +17 -17
  176. package/dist/chunks/{location-activity-yr02nea7.js → file-kxpygcw9.js} +6 -6
  177. package/dist/chunks/{location-activity-m3fdjcah.js → file-m3fdjcah.js} +1 -1
  178. package/dist/chunks/{location-activity-m9w0rfyh.js → file-m9w0rfyh.js} +1 -1
  179. package/dist/chunks/{location-activity-yyfgae3q.js → file-myqzkpm0.js} +5 -5
  180. package/dist/chunks/{location-activity-q4jgg3kf.js → file-mys7ftvb.js} +24 -24
  181. package/dist/chunks/{location-activity-adp3t0dd.js → file-n14ayrh8.js} +9 -9
  182. package/dist/chunks/{location-activity-xk747vep.js → file-n35d2xk4.js} +9 -9
  183. package/dist/chunks/{location-activity-xdvzyxsg.js → file-n7e5sdch.js} +4 -4
  184. package/dist/chunks/{location-activity-fznn93sw.js → file-nbm66a7c.js} +15 -15
  185. package/dist/chunks/{location-activity-xp19q54n.js → file-nkstvzp1.js} +58 -58
  186. package/dist/chunks/{location-activity-87np76z4.js → file-nkxenpss.js} +6 -6
  187. package/dist/chunks/{location-activity-c47mvw4e.js → file-nnvbrnj9.js} +43 -43
  188. package/dist/chunks/{location-activity-eh3tre7x.js → file-np95gk1g.js} +5 -5
  189. package/dist/chunks/file-ntzyjqd6.js +503 -0
  190. package/dist/chunks/{location-activity-1acjjqhc.js → file-nxer0yad.js} +4 -4
  191. package/dist/chunks/{location-activity-nzks3jc8.js → file-nzks3jc8.js} +3 -3
  192. package/dist/chunks/{location-activity-ckyn2epw.js → file-p1k7cjr6.js} +8 -8
  193. package/dist/chunks/{location-activity-hkfg6fzm.js → file-p44d8wdy.js} +5 -5
  194. package/dist/chunks/{location-activity-knb90njk.js → file-p9g2yd2c.js} +5 -5
  195. package/dist/chunks/{location-activity-b7v4cx43.js → file-pfq1ksym.js} +5 -5
  196. package/dist/chunks/{location-activity-7rbx6shk.js → file-pghyzkbc.js} +182 -182
  197. package/dist/chunks/{location-activity-pjvnvgmy.js → file-pjvnvgmy.js} +1 -1
  198. package/dist/chunks/{location-activity-pknna89w.js → file-pknna89w.js} +1 -1
  199. package/dist/chunks/{location-activity-pnaxc6j9.js → file-pn3cc07s.js} +8 -8
  200. package/dist/chunks/{location-activity-exdd6hg0.js → file-pp4c4k8z.js} +4 -4
  201. package/dist/chunks/{location-activity-3wvnfhyh.js → file-pr1vsgjy.js} +35 -35
  202. package/dist/chunks/{location-activity-wd3x2cqz.js → file-psazpmmj.js} +2 -2
  203. package/dist/chunks/{location-activity-b026zjym.js → file-pxs200gq.js} +37 -37
  204. package/dist/chunks/{location-activity-377tdzm5.js → file-pxt4kznk.js} +3 -3
  205. package/dist/chunks/{location-activity-r2znzkew.js → file-pyj3yp56.js} +4 -4
  206. package/dist/chunks/{location-activity-hm7nmt8v.js → file-pyjj1jkz.js} +5 -5
  207. package/dist/chunks/{location-activity-6vxqzkte.js → file-q4sh3est.js} +9 -9
  208. package/dist/chunks/{location-activity-r345zd6w.js → file-q5xa8nqs.js} +9 -9
  209. package/dist/chunks/{location-activity-7p1mknrn.js → file-qjrh95de.js} +4 -4
  210. package/dist/chunks/{location-activity-cxtpsf86.js → file-qr7ng78v.js} +12 -12
  211. package/dist/chunks/{location-activity-qsdy395h.js → file-qsdy395h.js} +1 -1
  212. package/dist/chunks/file-qtvmxc8s.js +4 -0
  213. package/dist/chunks/{location-activity-c7n0gy2n.js → file-qx11y599.js} +22 -22
  214. package/dist/chunks/{location-activity-xqh3dn7b.js → file-qxqnn5g6.js} +44 -44
  215. package/dist/chunks/{location-activity-s03qb2ns.js → file-r3rtvjkk.js} +46 -46
  216. package/dist/chunks/{location-activity-p0rpvep3.js → file-r6yqkj2r.js} +7 -7
  217. package/dist/chunks/{location-activity-9my1jb7g.js → file-r811hg4m.js} +11 -11
  218. package/dist/chunks/{location-activity-5q02cxx3.js → file-r98e92ep.js} +4 -4
  219. package/dist/chunks/{location-activity-74nzjkek.js → file-r9njx374.js} +32 -32
  220. package/dist/chunks/{location-activity-rdw6cm16.js → file-rdw6cm16.js} +1 -1
  221. package/dist/chunks/{location-activity-j479vnfw.js → file-rf9b2e2p.js} +9 -9
  222. package/dist/chunks/{location-activity-tkeqt0zy.js → file-rfdhm22r.js} +17 -17
  223. package/dist/chunks/{location-activity-d16qd7aj.js → file-rfkfgx1j.js} +2 -2
  224. package/dist/chunks/{location-activity-m7kk9p21.js → file-rgy7ctyq.js} +6 -6
  225. package/dist/chunks/{location-activity-ss1t0ydj.js → file-rhc6bd81.js} +18 -18
  226. package/dist/chunks/{location-activity-ey6q54wj.js → file-rs94dpxv.js} +27 -27
  227. package/dist/chunks/{location-activity-x4rdan3s.js → file-rsx24g7m.js} +26 -26
  228. package/dist/chunks/{location-activity-10z8m19f.js → file-rvgdez9r.js} +23 -23
  229. package/dist/chunks/{location-activity-28tjsp2t.js → file-rxgx23cf.js} +24 -24
  230. package/dist/chunks/{location-activity-17q0rvyw.js → file-rz7a4p9d.js} +13 -13
  231. package/dist/chunks/{location-activity-qjxevsft.js → file-sfntmzm9.js} +1 -1
  232. package/dist/chunks/{location-activity-hw4e6nah.js → file-sqjb59je.js} +13 -13
  233. package/dist/chunks/{location-activity-gx5qdb8v.js → file-sr7es49j.js} +15 -15
  234. package/dist/chunks/{location-activity-trz4cp0y.js → file-st08tkdm.js} +15 -15
  235. package/dist/chunks/{location-activity-vqynjnv5.js → file-stvehstt.js} +5 -5
  236. package/dist/chunks/{location-activity-75yx4wx5.js → file-t4g7br61.js} +2 -2
  237. package/dist/chunks/{location-activity-tazgh4e4.js → file-tazgh4e4.js} +1 -1
  238. package/dist/chunks/{location-activity-tcezcvh9.js → file-tcezcvh9.js} +1 -1
  239. package/dist/chunks/{location-activity-tdstcens.js → file-tdstcens.js} +1 -1
  240. package/dist/chunks/{location-activity-axenzrc6.js → file-tgrv3arn.js} +45 -45
  241. package/dist/chunks/{location-activity-evbgk2k8.js → file-tn0aqsam.js} +5 -5
  242. package/dist/chunks/{location-activity-yb47thv5.js → file-tnt1t2kr.js} +11 -11
  243. package/dist/chunks/{location-activity-25fn6rqq.js → file-ttf98hsm.js} +19 -19
  244. package/dist/chunks/{location-activity-tvtrv512.js → file-tvtrv512.js} +1 -1
  245. package/dist/chunks/{location-activity-veqvce7d.js → file-veqvce7d.js} +1 -1
  246. package/dist/chunks/{location-activity-ppjpn8dd.js → file-vf909yfy.js} +19 -19
  247. package/dist/chunks/{location-activity-kxjjqxmp.js → file-vh6m29va.js} +21 -21
  248. package/dist/chunks/{location-activity-eap65vxz.js → file-vj0mxn79.js} +14 -14
  249. package/dist/chunks/{location-activity-vtxr0yy2.js → file-vtxr0yy2.js} +2 -2
  250. package/dist/chunks/{location-activity-h6af64dv.js → file-vywjjxxp.js} +17 -17
  251. package/dist/chunks/{location-activity-vzcthcp8.js → file-vzcthcp8.js} +1 -1
  252. package/dist/chunks/{location-activity-w3wsvvr9.js → file-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{location-activity-6h85ktba.js → file-w5aqd7mj.js} +41 -41
  254. package/dist/chunks/{location-activity-rwmg7s8f.js → file-w5rka97k.js} +9 -9
  255. package/dist/chunks/{location-activity-3ebvwzrm.js → file-wb4z42q3.js} +8 -8
  256. package/dist/chunks/{location-activity-wd87259q.js → file-wd87259q.js} +1 -1
  257. package/dist/chunks/{location-activity-10g6xcs2.js → file-whv1wwce.js} +35 -35
  258. package/dist/chunks/{location-activity-dbb8vp5z.js → file-wj76ss2k.js} +4 -4
  259. package/dist/chunks/{location-activity-84r664yw.js → file-wtfahf6y.js} +15 -15
  260. package/dist/chunks/{location-activity-rp6b2dn2.js → file-wwpqqed2.js} +3 -3
  261. package/dist/chunks/{location-activity-x1ezjp6w.js → file-x1ezjp6w.js} +1 -1
  262. package/dist/chunks/{location-activity-yprm8cmd.js → file-xgtymt5b.js} +31 -31
  263. package/dist/chunks/{location-activity-gkcf8h2e.js → file-xqyrxn4h.js} +8 -8
  264. package/dist/chunks/{location-activity-0jq9fyba.js → file-xrpg47n6.js} +9 -9
  265. package/dist/chunks/{location-activity-eh0978h6.js → file-xv7de5q4.js} +11 -11
  266. package/dist/chunks/{location-activity-ywyx2haj.js → file-xvs8r2xn.js} +11 -11
  267. package/dist/chunks/{location-activity-e2hjzebn.js → file-xw0r27ex.js} +4 -4
  268. package/dist/chunks/{location-activity-rc786g95.js → file-xwm5pfwb.js} +10 -10
  269. package/dist/chunks/{location-activity-y1fvbwt7.js → file-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{location-activity-3838ekre.js → file-y35sf2j4.js} +4 -4
  271. package/dist/chunks/{location-activity-qfrf60an.js → file-y7xgn7p7.js} +33 -33
  272. package/dist/chunks/{location-activity-kqm3aza1.js → file-ydgy0jv4.js} +6 -6
  273. package/dist/chunks/{location-activity-fr89z8wq.js → file-yj7a9dsc.js} +7 -7
  274. package/dist/chunks/{location-activity-yz0b1y95.js → file-ykzphz33.js} +12 -12
  275. package/dist/chunks/{location-activity-yrhqyw5v.js → file-yrhqyw5v.js} +1 -1
  276. package/dist/chunks/{location-activity-yrznvahk.js → file-yrznvahk.js} +2 -2
  277. package/dist/chunks/{location-activity-x0bafnv5.js → file-ysyhm521.js} +24 -24
  278. package/dist/chunks/{location-activity-a3zemzkc.js → file-yvt1qck6.js} +6 -6
  279. package/dist/chunks/{location-activity-z0bkrqjs.js → file-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{location-activity-2r95kv5m.js → file-z2n1er87.js} +10 -10
  281. package/dist/chunks/{location-activity-aptwngym.js → file-z36jzmxf.js} +12 -12
  282. package/dist/chunks/{location-activity-z63w68vq.js → file-z63w68vq.js} +2 -2
  283. package/dist/chunks/{location-activity-sb3yhvye.js → file-z99t6cgy.js} +11 -11
  284. package/dist/chunks/{location-activity-zeh9ct20.js → file-zeh9ct20.js} +2 -2
  285. package/dist/chunks/{location-activity-nybr5vrh.js → file-zfx41g5b.js} +5 -5
  286. package/dist/chunks/{location-activity-zwhj34n5.js → file-zgy94vhr.js} +12 -12
  287. package/dist/chunks/{location-activity-as4gnc5h.js → file-zkknr3xm.js} +7 -7
  288. package/dist/chunks/{location-activity-zr2ceqn5.js → file-zr2ceqn5.js} +1 -1
  289. package/dist/chunks/{location-activity-3fmtxraa.js → file-zsr300m5.js} +4 -4
  290. package/dist/chunks/{location-activity-zxq2ej10.js → file-zxq2ej10.js} +1 -1
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +7 -7
  293. package/dist/codemode/tool.js +3 -3
  294. package/dist/codemode/web.js +1 -1
  295. package/dist/command.js +85 -85
  296. package/dist/config/discovery.js +82 -82
  297. package/dist/config/markdown.js +1 -1
  298. package/dist/config/normalize.js +106 -106
  299. package/dist/config/plugin/agent.js +125 -125
  300. package/dist/config/plugin/command.js +214 -214
  301. package/dist/config/plugin/compaction.js +162 -162
  302. package/dist/config/plugin/compatibility.js +141 -141
  303. package/dist/config/plugin/entry-observer.js +1 -1
  304. package/dist/config/plugin/formatter.js +124 -124
  305. package/dist/config/plugin/image.js +123 -123
  306. package/dist/config/plugin/instruction.js +90 -90
  307. package/dist/config/plugin/location-watcher.js +125 -125
  308. package/dist/config/plugin/mcp.js +132 -132
  309. package/dist/config/plugin/policy.js +124 -124
  310. package/dist/config/plugin/provider.js +121 -121
  311. package/dist/config/plugin/reference.js +125 -125
  312. package/dist/config/plugin/shell.js +123 -123
  313. package/dist/config/plugin/skill-file.js +102 -102
  314. package/dist/config/plugin/skill.js +144 -144
  315. package/dist/config/plugin/snapshot.js +123 -123
  316. package/dist/config/plugin/source.js +126 -126
  317. package/dist/config/plugin/tool-output.js +125 -125
  318. package/dist/config/plugin/websearch.js +122 -122
  319. package/dist/config/plugin/worktree.js +125 -125
  320. package/dist/config/variable.js +3 -3
  321. package/dist/config/watch.js +1 -1
  322. package/dist/config.js +128 -128
  323. package/dist/credential/sql.js +2 -2
  324. package/dist/credential.js +83 -83
  325. package/dist/database/database.js +66 -66
  326. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  327. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  328. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  329. package/dist/database/drizzle/index.js +15 -15
  330. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  333. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  340. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  341. package/dist/database/drizzle.js +16 -16
  342. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  343. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  344. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  345. package/dist/database/migration/20260225215848_workspace.js +1 -1
  346. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  347. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  348. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  349. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  350. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  351. package/dist/database/migration/20260323234822_events.js +1 -1
  352. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  353. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  354. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  355. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  356. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  357. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  358. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  359. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  360. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  361. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  362. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  363. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  364. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  365. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  366. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  367. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  368. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  369. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  370. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  371. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  372. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  373. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  374. package/dist/database/migration/20260611035744_credential.js +1 -1
  375. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  376. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  377. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  378. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  379. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  380. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  381. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  382. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  383. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  384. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  385. package/dist/database/migration/20260812213948_worktree.js +1 -1
  386. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  387. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  388. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  389. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  390. package/dist/database/migration.gen.js +49 -49
  391. package/dist/database/migration.js +51 -51
  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 +76 -76
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +370 -370
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +3 -3
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +93 -93
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +95 -95
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +1 -1
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +74 -74
  415. package/dist/file-access.js +104 -104
  416. package/dist/file-mutation.js +94 -94
  417. package/dist/file-retention.js +1 -1
  418. package/dist/file.js +1 -1
  419. package/dist/filesystem/fff.bun.js +2 -2
  420. package/dist/filesystem/fff.js +1 -1
  421. package/dist/filesystem/fff.node.js +2 -2
  422. package/dist/filesystem/fff.workerd.js +2 -2
  423. package/dist/filesystem/ignore.js +1 -1
  424. package/dist/filesystem/location-watcher-policy.js +6 -6
  425. package/dist/filesystem/location-watcher.js +227 -227
  426. package/dist/filesystem/protected.js +1 -1
  427. package/dist/filesystem/search.js +103 -103
  428. package/dist/filesystem/watcher-binding.js +1 -1
  429. package/dist/filesystem/watcher.js +15 -15
  430. package/dist/filesystem.js +100 -100
  431. package/dist/form.js +86 -86
  432. package/dist/formatter/builtins.js +4 -4
  433. package/dist/formatter.js +87 -87
  434. package/dist/generate.js +103 -103
  435. package/dist/git.js +10 -10
  436. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  437. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  438. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  440. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  441. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  442. package/dist/github-copilot/copilot-provider.js +17 -17
  443. package/dist/github-copilot/models.js +91 -91
  444. package/dist/github-copilot/openai-compatible-error.js +1 -1
  445. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  446. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  447. package/dist/github-copilot/responses/openai-error.js +1 -1
  448. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  449. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  450. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  451. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  452. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  455. package/dist/id/id.js +1 -1
  456. package/dist/image/photon.js +2 -2
  457. package/dist/image.js +6 -6
  458. package/dist/instance/service.js +5 -5
  459. package/dist/instance.js +361 -361
  460. package/dist/instruction-discovery.js +85 -85
  461. package/dist/instructions/builtins.js +87 -87
  462. package/dist/instructions/index.js +3 -3
  463. package/dist/integration/connection.js +3 -3
  464. package/dist/integration.js +86 -86
  465. package/dist/job.js +77 -77
  466. package/dist/kv/sql.js +2 -2
  467. package/dist/kv.js +73 -73
  468. package/dist/location-activity.js +135 -135
  469. package/dist/location-lifecycle.js +107 -107
  470. package/dist/location-mutation.js +104 -104
  471. package/dist/location-service-map.js +86 -86
  472. package/dist/location-services.js +358 -358
  473. package/dist/location.js +87 -87
  474. package/dist/managed-policy.js +5 -5
  475. package/dist/mcp/client.js +91 -91
  476. package/dist/mcp/index.js +106 -106
  477. package/dist/mcp/instructions.js +128 -128
  478. package/dist/mcp/oauth.js +78 -78
  479. package/dist/mcp/stdio.js +90 -90
  480. package/dist/mime.js +1 -1
  481. package/dist/modal/models.js +91 -91
  482. package/dist/model-resolver.js +98 -98
  483. package/dist/model.js +100 -100
  484. package/dist/models-dev.js +107 -107
  485. package/dist/oauth/page.js +1 -1
  486. package/dist/permission/saved.js +80 -80
  487. package/dist/permission/sql.js +5 -5
  488. package/dist/permission.js +113 -113
  489. package/dist/persistent-pty/binary.bun.js +1 -1
  490. package/dist/persistent-pty/daemon.js +1 -1
  491. package/dist/persistent-pty/index.js +88 -88
  492. package/dist/persistent-pty/pty-binding.js +1 -1
  493. package/dist/persistent-pty.js +75 -75
  494. package/dist/plugin/agent.js +104 -104
  495. package/dist/plugin/command.js +101 -101
  496. package/dist/plugin/compaction.js +133 -133
  497. package/dist/plugin/hooks.js +5 -5
  498. package/dist/plugin/host.js +218 -218
  499. package/dist/plugin/identity.js +3 -3
  500. package/dist/plugin/instance.js +1 -1
  501. package/dist/plugin/internal.js +332 -332
  502. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  503. package/dist/plugin/models-dev.js +96 -96
  504. package/dist/plugin/module.js +7 -7
  505. package/dist/plugin/optimize.js +2 -2
  506. package/dist/plugin/plan.js +102 -102
  507. package/dist/plugin/promise.js +1 -1
  508. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  509. package/dist/plugin/provider/azure.js +122 -122
  510. package/dist/plugin/provider/cerebras.js +1 -1
  511. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  512. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  513. package/dist/plugin/provider/cohere.js +2 -2
  514. package/dist/plugin/provider/configured.js +119 -119
  515. package/dist/plugin/provider/digitalocean.js +93 -93
  516. package/dist/plugin/provider/dynamic.js +2 -2
  517. package/dist/plugin/provider/factory.js +1 -1
  518. package/dist/plugin/provider/gateway.js +2 -2
  519. package/dist/plugin/provider/github-copilot.js +93 -93
  520. package/dist/plugin/provider/gitlab.js +91 -91
  521. package/dist/plugin/provider/google-vertex.js +90 -90
  522. package/dist/plugin/provider/kilo.js +1 -1
  523. package/dist/plugin/provider/llmgateway.js +77 -77
  524. package/dist/plugin/provider/lmstudio.js +120 -120
  525. package/dist/plugin/provider/modal.js +92 -92
  526. package/dist/plugin/provider/nvidia.js +1 -1
  527. package/dist/plugin/provider/ollama.js +122 -122
  528. package/dist/plugin/provider/openai.js +92 -92
  529. package/dist/plugin/provider/opencode.js +95 -95
  530. package/dist/plugin/provider/openrouter.js +91 -91
  531. package/dist/plugin/provider/perplexity.js +2 -2
  532. package/dist/plugin/provider/poe.js +78 -78
  533. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  534. package/dist/plugin/provider/sap-ai-core.js +91 -91
  535. package/dist/plugin/provider/sdk-factory.js +1 -1
  536. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  537. package/dist/plugin/provider/venice.js +2 -2
  538. package/dist/plugin/provider/vercel.js +90 -90
  539. package/dist/plugin/provider/vllm.js +122 -122
  540. package/dist/plugin/provider/xai.js +91 -91
  541. package/dist/plugin/provider/zenmux.js +1 -1
  542. package/dist/plugin/provider.js +160 -160
  543. package/dist/plugin/sdk.js +72 -72
  544. package/dist/plugin/service.js +3 -3
  545. package/dist/plugin/skill.js +141 -141
  546. package/dist/plugin/source-directory.js +1 -1
  547. package/dist/plugin/supervisor.js +349 -349
  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 +86 -86
  551. package/dist/plugin/vcs/hg.js +86 -86
  552. package/dist/plugin/warming.js +121 -121
  553. package/dist/plugin/websearch/exa.js +7 -7
  554. package/dist/plugin/websearch/firecrawl.js +8 -8
  555. package/dist/plugin/websearch/index.js +9 -9
  556. package/dist/plugin/websearch/mcp.js +4 -4
  557. package/dist/plugin/websearch/parallel.js +8 -8
  558. package/dist/plugin/websearch/tavily.js +6 -6
  559. package/dist/plugin/websearch/tinyfish.js +8 -8
  560. package/dist/plugin.js +229 -229
  561. package/dist/project/schema.js +8 -8
  562. package/dist/project/sql.js +4 -4
  563. package/dist/project.js +90 -90
  564. package/dist/provider.js +101 -101
  565. package/dist/pty/protocol.js +1 -1
  566. package/dist/pty/schema.js +3 -3
  567. package/dist/pty/ticket.js +1 -1
  568. package/dist/pty.js +98 -98
  569. package/dist/reference/instructions.js +87 -87
  570. package/dist/reference.js +89 -89
  571. package/dist/repository-cache.js +81 -81
  572. package/dist/repository.js +1 -1
  573. package/dist/ripgrep/binary.js +2 -2
  574. package/dist/ripgrep.js +97 -97
  575. package/dist/rpc.js +86 -86
  576. package/dist/schema.js +1 -1
  577. package/dist/session/command.js +74 -74
  578. package/dist/session/compaction.js +134 -134
  579. package/dist/session/context.js +152 -152
  580. package/dist/session/diff.js +88 -88
  581. package/dist/session/environment.js +5 -5
  582. package/dist/session/error.js +5 -5
  583. package/dist/session/event.js +1 -1
  584. package/dist/session/execution/restart.js +224 -224
  585. package/dist/session/execution.js +128 -128
  586. package/dist/session/generate.js +151 -151
  587. package/dist/session/history.js +13 -13
  588. package/dist/session/inbox.js +90 -90
  589. package/dist/session/info.js +3 -3
  590. package/dist/session/instruction-entry.js +79 -79
  591. package/dist/session/instruction-state.js +8 -8
  592. package/dist/session/instructions.js +97 -97
  593. package/dist/session/message-updater.js +2 -2
  594. package/dist/session/message.js +1 -1
  595. package/dist/session/model-request.js +119 -119
  596. package/dist/session/model-transport.js +9 -9
  597. package/dist/session/move.js +130 -130
  598. package/dist/session/projector.js +86 -86
  599. package/dist/session/prompt.js +105 -105
  600. package/dist/session/provider-context.js +3 -3
  601. package/dist/session/revert.js +90 -90
  602. package/dist/session/run-coordinator.js +3 -3
  603. package/dist/session/runner/index.js +3 -3
  604. package/dist/session/runner/llm.js +229 -229
  605. package/dist/session/runner/max-steps.js +1 -1
  606. package/dist/session/runner/model.js +98 -98
  607. package/dist/session/runner/publish-llm-event.js +3 -3
  608. package/dist/session/runner/retry.js +112 -112
  609. package/dist/session/runner/step.js +124 -124
  610. package/dist/session/runner/to-llm-message.js +2 -2
  611. package/dist/session/schema.js +5 -5
  612. package/dist/session/session.js +172 -172
  613. package/dist/session/shell.js +138 -138
  614. package/dist/session/skill.js +103 -103
  615. package/dist/session/sql.js +5 -5
  616. package/dist/session/stats.js +73 -73
  617. package/dist/session/store.js +85 -85
  618. package/dist/session/subagent-completion.js +1 -1
  619. package/dist/session/subagent-job.js +208 -208
  620. package/dist/session/system-prompt.js +3 -3
  621. package/dist/session/title.js +156 -156
  622. package/dist/session/to-session-error.js +111 -111
  623. package/dist/session/transfer.js +220 -220
  624. package/dist/session/usage.js +1 -1
  625. package/dist/session.js +218 -218
  626. package/dist/shell/parse.js +6 -6
  627. package/dist/shell/result.js +1 -1
  628. package/dist/shell/scan.js +1 -1
  629. package/dist/shell/select.js +13 -13
  630. package/dist/shell.js +138 -138
  631. package/dist/skill/discovery.js +6 -6
  632. package/dist/skill/instructions.js +105 -105
  633. package/dist/skill.js +110 -110
  634. package/dist/snapshot.js +93 -93
  635. package/dist/state.js +1 -1
  636. package/dist/tool/html-markdown.js +1 -1
  637. package/dist/tool/http-body.js +1 -1
  638. package/dist/tool/mcp.js +125 -125
  639. package/dist/tool/plugin/edit.js +120 -120
  640. package/dist/tool/plugin/file-diff.js +1 -1
  641. package/dist/tool/plugin/glob.js +124 -124
  642. package/dist/tool/plugin/grep.js +124 -124
  643. package/dist/tool/plugin/opencode.js +3 -3
  644. package/dist/tool/plugin/patch.js +120 -120
  645. package/dist/tool/plugin/question.js +103 -103
  646. package/dist/tool/plugin/read.js +125 -125
  647. package/dist/tool/plugin/shell.js +215 -215
  648. package/dist/tool/plugin/skill.js +109 -109
  649. package/dist/tool/plugin/subagent.js +219 -219
  650. package/dist/tool/plugin/webfetch.js +108 -108
  651. package/dist/tool/plugin/websearch.js +110 -110
  652. package/dist/tool/plugin/write.js +122 -122
  653. package/dist/tool/read-filesystem.js +100 -100
  654. package/dist/tool/runtime.js +1 -1
  655. package/dist/tool-output.js +8 -8
  656. package/dist/tool.js +14 -14
  657. package/dist/util/error-summary.js +1 -1
  658. package/dist/util/error.js +1 -1
  659. package/dist/util/git-executable.js +2 -2
  660. package/dist/util/iife.js +1 -1
  661. package/dist/util/lazy.js +1 -1
  662. package/dist/util/slug.js +1 -1
  663. package/dist/util/token.js +1 -1
  664. package/dist/util/which.js +1 -1
  665. package/dist/util/wildcard.js +1 -1
  666. package/dist/v1/config/agent.js +5 -5
  667. package/dist/v1/config/attachment.js +4 -4
  668. package/dist/v1/config/command.js +5 -5
  669. package/dist/v1/config/config.js +16 -16
  670. package/dist/v1/config/error.js +2 -2
  671. package/dist/v1/config/formatter.js +5 -5
  672. package/dist/v1/config/layout.js +1 -1
  673. package/dist/v1/config/lsp.js +5 -5
  674. package/dist/v1/config/mcp.js +4 -4
  675. package/dist/v1/config/migrate.js +92 -92
  676. package/dist/v1/config/permission.js +3 -3
  677. package/dist/v1/config/plugin.js +3 -3
  678. package/dist/v1/config/provider-options.js +1 -1
  679. package/dist/v1/config/provider.js +4 -4
  680. package/dist/v1/config/server.js +2 -2
  681. package/dist/v1/config/skills.js +3 -3
  682. package/dist/v1/permission.js +1 -1
  683. package/dist/variant.js +91 -91
  684. package/dist/vcs/patch.js +1 -1
  685. package/dist/vcs.js +89 -89
  686. package/dist/websearch.js +84 -84
  687. package/dist/wellknown/plugin.js +74 -74
  688. package/dist/wellknown.js +81 -81
  689. package/dist/workspace/driver.js +5 -5
  690. package/dist/workspace/sql.js +1 -1
  691. package/dist/workspace.js +80 -80
  692. package/dist/worktree/directory.js +2 -2
  693. package/dist/worktree/git.js +10 -10
  694. package/dist/worktree/sql.js +5 -5
  695. package/dist/worktree/strategies.js +89 -89
  696. package/dist/worktree.js +98 -98
  697. package/package.json +8 -8
  698. package/dist/chunks/location-activity-0mesazry.js +0 -4
  699. package/dist/chunks/location-activity-8hdnh29e.js +0 -252
  700. package/dist/chunks/location-activity-9sh4wc5j.js +0 -18
  701. package/dist/chunks/location-activity-chy251gt.js +0 -26
  702. package/dist/chunks/location-activity-pr5e2nkq.js +0 -503
  703. /package/dist/chunks/{location-activity-0qkdqm5v.js → file-0qkdqm5v.js} +0 -0
  704. /package/dist/chunks/{location-activity-0zkw76rk.js → file-0zkw76rk.js} +0 -0
  705. /package/dist/chunks/{location-activity-17cy0kzp.js → file-17cy0kzp.js} +0 -0
  706. /package/dist/chunks/{location-activity-1cnp2v09.js → file-1cnp2v09.js} +0 -0
  707. /package/dist/chunks/{location-activity-1kg9ymc8.js → file-1kg9ymc8.js} +0 -0
  708. /package/dist/chunks/{location-activity-24dcb14g.js → file-24dcb14g.js} +0 -0
  709. /package/dist/chunks/{location-activity-2710q6r3.js → file-2710q6r3.js} +0 -0
  710. /package/dist/chunks/{location-activity-2axfhc9x.js → file-2axfhc9x.js} +0 -0
  711. /package/dist/chunks/{location-activity-2c3vjs8z.js → file-2c3vjs8z.js} +0 -0
  712. /package/dist/chunks/{location-activity-34c7v6d4.js → file-34c7v6d4.js} +0 -0
  713. /package/dist/chunks/{location-activity-359p4xyc.js → file-359p4xyc.js} +0 -0
  714. /package/dist/chunks/{location-activity-3asan66x.js → file-3asan66x.js} +0 -0
  715. /package/dist/chunks/{location-activity-3v8g72cx.js → file-3v8g72cx.js} +0 -0
  716. /package/dist/chunks/{location-activity-3w5fmr99.js → file-3w5fmr99.js} +0 -0
  717. /package/dist/chunks/{location-activity-3wcehsnq.js → file-3wcehsnq.js} +0 -0
  718. /package/dist/chunks/{location-activity-43n2bw4t.js → file-43n2bw4t.js} +0 -0
  719. /package/dist/chunks/{location-activity-4knz6hnm.js → file-4knz6hnm.js} +0 -0
  720. /package/dist/chunks/{location-activity-4vcrnpx2.js → file-4vcrnpx2.js} +0 -0
  721. /package/dist/chunks/{location-activity-4y7fprxs.js → file-4y7fprxs.js} +0 -0
  722. /package/dist/chunks/{location-activity-53557ph1.js → file-53557ph1.js} +0 -0
  723. /package/dist/chunks/{location-activity-550bvhaj.js → file-550bvhaj.js} +0 -0
  724. /package/dist/chunks/{location-activity-5qd3pb7m.js → file-5qd3pb7m.js} +0 -0
  725. /package/dist/chunks/{location-activity-6prwharc.js → file-6prwharc.js} +0 -0
  726. /package/dist/chunks/{location-activity-7akdwqpd.js → file-7akdwqpd.js} +0 -0
  727. /package/dist/chunks/{location-activity-7m9af43g.js → file-7m9af43g.js} +0 -0
  728. /package/dist/chunks/{location-activity-822emrt2.js → file-822emrt2.js} +0 -0
  729. /package/dist/chunks/{location-activity-88xbtdfr.js → file-88xbtdfr.js} +0 -0
  730. /package/dist/chunks/{location-activity-8n3pysct.js → file-8n3pysct.js} +0 -0
  731. /package/dist/chunks/{location-activity-8wj87zfr.js → file-8wj87zfr.js} +0 -0
  732. /package/dist/chunks/{location-activity-922hggd3.js → file-922hggd3.js} +0 -0
  733. /package/dist/chunks/{location-activity-9a4afbnw.js → file-9a4afbnw.js} +0 -0
  734. /package/dist/chunks/{location-activity-9rqn6x4v.js → file-9rqn6x4v.js} +0 -0
  735. /package/dist/chunks/{location-activity-a6k6eb26.js → file-a6k6eb26.js} +0 -0
  736. /package/dist/chunks/{location-activity-af5trqkr.js → file-af5trqkr.js} +0 -0
  737. /package/dist/chunks/{location-activity-afrmfg78.js → file-afrmfg78.js} +0 -0
  738. /package/dist/chunks/{location-activity-aqzs7mqg.js → file-aqzs7mqg.js} +0 -0
  739. /package/dist/chunks/{location-activity-atq7p7m5.js → file-atq7p7m5.js} +0 -0
  740. /package/dist/chunks/{location-activity-bkyjaxrp.js → file-bkyjaxrp.js} +0 -0
  741. /package/dist/chunks/{location-activity-bmr6ed5q.js → file-bmr6ed5q.js} +0 -0
  742. /package/dist/chunks/{location-activity-cf4snx6d.js → file-cf4snx6d.js} +0 -0
  743. /package/dist/chunks/{location-activity-cvy3z8tj.js → file-cvy3z8tj.js} +0 -0
  744. /package/dist/chunks/{location-activity-d9fn303g.js → file-d9fn303g.js} +0 -0
  745. /package/dist/chunks/{location-activity-d9jj8t3e.js → file-d9jj8t3e.js} +0 -0
  746. /package/dist/chunks/{location-activity-dajrwvna.js → file-dajrwvna.js} +0 -0
  747. /package/dist/chunks/{location-activity-dap0rakb.js → file-dap0rakb.js} +0 -0
  748. /package/dist/chunks/{location-activity-df08tz66.js → file-df08tz66.js} +0 -0
  749. /package/dist/chunks/{location-activity-dy18nga0.js → file-dy18nga0.js} +0 -0
  750. /package/dist/chunks/{location-activity-e5kj55wp.js → file-e5kj55wp.js} +0 -0
  751. /package/dist/chunks/{location-activity-e73j6tqm.js → file-e73j6tqm.js} +0 -0
  752. /package/dist/chunks/{location-activity-ec1grn59.js → file-ec1grn59.js} +0 -0
  753. /package/dist/chunks/{location-activity-eh3zwz77.js → file-eh3zwz77.js} +0 -0
  754. /package/dist/chunks/{location-activity-emrn6kk6.js → file-emrn6kk6.js} +0 -0
  755. /package/dist/chunks/{location-activity-f0mxakyp.js → file-f0mxakyp.js} +0 -0
  756. /package/dist/chunks/{location-activity-f6n9ztr4.js → file-f6n9ztr4.js} +0 -0
  757. /package/dist/chunks/{location-activity-faypxj3z.js → file-faypxj3z.js} +0 -0
  758. /package/dist/chunks/{location-activity-fd410y7t.js → file-fd410y7t.js} +0 -0
  759. /package/dist/chunks/{location-activity-fxgpk5d8.js → file-fxgpk5d8.js} +0 -0
  760. /package/dist/chunks/{location-activity-g4wezp1m.js → file-g4wezp1m.js} +0 -0
  761. /package/dist/chunks/{location-activity-g86h250q.js → file-g86h250q.js} +0 -0
  762. /package/dist/chunks/{location-activity-gebd4c9n.js → file-gebd4c9n.js} +0 -0
  763. /package/dist/chunks/{location-activity-gftt206x.js → file-gftt206x.js} +0 -0
  764. /package/dist/chunks/{location-activity-hjbc5kem.js → file-hjbc5kem.js} +0 -0
  765. /package/dist/chunks/{location-activity-hk9envan.js → file-hk9envan.js} +0 -0
  766. /package/dist/chunks/{location-activity-j2ntwpah.js → file-j2ntwpah.js} +0 -0
  767. /package/dist/chunks/{location-activity-j5zkgpj8.js → file-j5zkgpj8.js} +0 -0
  768. /package/dist/chunks/{location-activity-jjkms2e6.js → file-jjkms2e6.js} +0 -0
  769. /package/dist/chunks/{location-activity-jr7sbwjy.js → file-jr7sbwjy.js} +0 -0
  770. /package/dist/chunks/{location-activity-jwfs4k6c.js → file-jwfs4k6c.js} +0 -0
  771. /package/dist/chunks/{location-activity-jzg6c2d5.js → file-jzg6c2d5.js} +0 -0
  772. /package/dist/chunks/{location-activity-mp448xyj.js → file-mp448xyj.js} +0 -0
  773. /package/dist/chunks/{location-activity-msx8hqn2.js → file-msx8hqn2.js} +0 -0
  774. /package/dist/chunks/{location-activity-n05xt0ee.js → file-n05xt0ee.js} +0 -0
  775. /package/dist/chunks/{location-activity-n3j8tn72.js → file-n3j8tn72.js} +0 -0
  776. /package/dist/chunks/{location-activity-njntx4h6.js → file-njntx4h6.js} +0 -0
  777. /package/dist/chunks/{location-activity-q3sfg36h.js → file-q3sfg36h.js} +0 -0
  778. /package/dist/chunks/{location-activity-q74kybfr.js → file-q74kybfr.js} +0 -0
  779. /package/dist/chunks/{location-activity-qaymkmh1.js → file-qaymkmh1.js} +0 -0
  780. /package/dist/chunks/{location-activity-qb87gjwd.js → file-qb87gjwd.js} +0 -0
  781. /package/dist/chunks/{location-activity-qfa1cgps.js → file-qfa1cgps.js} +0 -0
  782. /package/dist/chunks/{location-activity-qg3g05ea.js → file-qg3g05ea.js} +0 -0
  783. /package/dist/chunks/{location-activity-qrg20bc0.js → file-qrg20bc0.js} +0 -0
  784. /package/dist/chunks/{location-activity-rcb2kzg1.js → file-rcb2kzg1.js} +0 -0
  785. /package/dist/chunks/{location-activity-sdp7kfr6.js → file-sdp7kfr6.js} +0 -0
  786. /package/dist/chunks/{location-activity-sk3qaz4a.js → file-sk3qaz4a.js} +0 -0
  787. /package/dist/chunks/{location-activity-ssg3fenm.js → file-ssg3fenm.js} +0 -0
  788. /package/dist/chunks/{location-activity-w803qqfp.js → file-w803qqfp.js} +0 -0
  789. /package/dist/chunks/{location-activity-wc3fc9cn.js → file-wc3fc9cn.js} +0 -0
  790. /package/dist/chunks/{location-activity-wer8tq1h.js → file-wer8tq1h.js} +0 -0
  791. /package/dist/chunks/{location-activity-wtztk69x.js → file-wtztk69x.js} +0 -0
  792. /package/dist/chunks/{location-activity-x0ckcb58.js → file-x0ckcb58.js} +0 -0
  793. /package/dist/chunks/{location-activity-x61499pn.js → file-x61499pn.js} +0 -0
  794. /package/dist/chunks/{location-activity-y44na4kk.js → file-y44na4kk.js} +0 -0
  795. /package/dist/chunks/{location-activity-y8cydn3q.js → file-y8cydn3q.js} +0 -0
  796. /package/dist/chunks/{location-activity-y8f7s663.js → file-y8f7s663.js} +0 -0
  797. /package/dist/chunks/{location-activity-ygaqb7jw.js → file-ygaqb7jw.js} +0 -0
  798. /package/dist/chunks/{location-activity-ym463w8f.js → file-ym463w8f.js} +0 -0
  799. /package/dist/chunks/{location-activity-z9919s4g.js → file-z9919s4g.js} +0 -0
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service59
3
- } from "./location-activity-fpq9acqp.js";
2
+ Service40
3
+ } from "./file-3ppptnan.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./location-activity-9sh4wc5j.js";
6
+ } from "./file-9zdhvgqs.js";
7
7
  import {
8
8
  SkillNotFoundError2
9
- } from "./location-activity-jv6862zv.js";
9
+ } from "./file-c769d21z.js";
10
10
  import {
11
- Service52
12
- } from "./location-activity-y07mz5m8.js";
11
+ Service46
12
+ } from "./file-gv418ss3.js";
13
13
  import {
14
14
  __export
15
- } from "./location-activity-9rqn6x4v.js";
15
+ } from "./file-9rqn6x4v.js";
16
16
 
17
17
  // src/session/skill.ts
18
18
  var exports_skill4 = {};
@@ -22,8 +22,8 @@ __export(exports_skill4, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var get4 = Effect.fn("SessionSkill.get")(function* (input) {
25
- const instances = yield* Service59;
26
- const skills = yield* awaitActivation2.pipe(Effect.andThen(Service52), instances.provide(input.session));
25
+ const instances = yield* Service40;
26
+ const skills = yield* awaitActivation2.pipe(Effect.andThen(Service46), instances.provide(input.session));
27
27
  const skill = yield* skills.get(input.skill);
28
28
  if (!skill)
29
29
  return yield* new SkillNotFoundError2({ skill: input.skill });
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  useragent2
3
- } from "./location-activity-2r95kv5m.js";
3
+ } from "./file-z2n1er87.js";
4
4
  import {
5
- Service82
6
- } from "./location-activity-aptwngym.js";
5
+ Service83
6
+ } from "./file-z36jzmxf.js";
7
7
  import {
8
8
  OAuth3,
9
- Event21
10
- } from "./location-activity-jdaq26vq.js";
9
+ Event18
10
+ } from "./file-7g3edgp3.js";
11
11
  import {
12
- ID10,
12
+ ID11,
13
13
  MethodID2
14
- } from "./location-activity-yq564c25.js";
14
+ } from "./file-dvvawg7j.js";
15
15
  import {
16
- ID9
17
- } from "./location-activity-1tbm2v5y.js";
16
+ ID10
17
+ } from "./file-dskjz5tz.js";
18
18
  import {
19
- ID8,
19
+ ID9,
20
20
  Family2
21
- } from "./location-activity-qfrf60an.js";
21
+ } from "./file-y7xgn7p7.js";
22
22
  import {
23
23
  bootstrap2
24
- } from "./location-activity-pjvnvgmy.js";
24
+ } from "./file-pjvnvgmy.js";
25
25
 
26
26
  // src/plugin/provider/digitalocean.ts
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { Clock, Deferred, Effect, Option, Schedule, Schema, Semaphore, Stream } from "effect";
29
29
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
30
- var providerID = ID9.make("digitalocean");
31
- var integrationID = ID10.make("digitalocean");
30
+ var providerID = ID10.make("digitalocean");
31
+ var integrationID = ID11.make("digitalocean");
32
32
  var methodID = MethodID2.make("browser");
33
33
  var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
34
34
  var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
@@ -116,7 +116,7 @@ var oauth = {
116
116
  var DigitalOceanPlugin2 = define({
117
117
  id: "opencode.provider.digitalocean",
118
118
  effect: Effect.fn(function* (ctx) {
119
- const bus = yield* Service82;
119
+ const bus = yield* Service83;
120
120
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
121
121
  const loading = Semaphore.makeUnsafe(1);
122
122
  const loaded = { routers: [] };
@@ -148,7 +148,7 @@ var DigitalOceanPlugin2 = define({
148
148
  return;
149
149
  for (const router of loaded.routers) {
150
150
  const id = `router:${router.name}`;
151
- if (evt.get(providerID)?.models.has(ID8.make(id)))
151
+ if (evt.get(providerID)?.models.has(ID9.make(id)))
152
152
  continue;
153
153
  evt.models.update(providerID, id, (draft) => {
154
154
  draft.name = router.name;
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
159
159
  }
160
160
  });
161
161
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
162
- yield* bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
162
+ yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
163
163
  yield* refresh().pipe(Effect.repeat(Schedule.spaced("5 minutes")), Effect.forkScoped);
164
164
  })
165
165
  });
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./location-activity-922hggd3.js";
4
+ } from "./file-922hggd3.js";
5
5
  import {
6
6
  SessionSchema2
7
- } from "./location-activity-377tdzm5.js";
7
+ } from "./file-pxt4kznk.js";
8
8
 
9
9
  // src/session/info.ts
10
10
  import { DateTime, Schema } from "effect";
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  convertToOpenAICompatibleChatMessages2
3
- } from "./location-activity-fxgpk5d8.js";
3
+ } from "./file-fxgpk5d8.js";
4
4
  import {
5
5
  getResponseMetadata2
6
- } from "./location-activity-g4wezp1m.js";
6
+ } from "./file-g4wezp1m.js";
7
7
  import {
8
8
  mapOpenAICompatibleFinishReason2
9
- } from "./location-activity-x61499pn.js";
9
+ } from "./file-x61499pn.js";
10
10
  import {
11
11
  openaiCompatibleProviderOptions2
12
- } from "./location-activity-af5trqkr.js";
12
+ } from "./file-af5trqkr.js";
13
13
  import {
14
14
  defaultOpenAICompatibleErrorStructure2
15
- } from "./location-activity-afrmfg78.js";
15
+ } from "./file-afrmfg78.js";
16
16
  import {
17
17
  prepareTools2
18
- } from "./location-activity-x0ckcb58.js";
18
+ } from "./file-x0ckcb58.js";
19
19
 
20
20
  // src/github-copilot/chat/openai-compatible-chat-language-model.ts
21
21
  import {
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./location-activity-922hggd3.js";
3
+ } from "./file-922hggd3.js";
4
4
  import {
5
- Info17,
6
- ID6,
5
+ Info8,
6
+ ID4,
7
7
  Name2
8
- } from "./location-activity-y07mz5m8.js";
8
+ } from "./file-gv418ss3.js";
9
9
  import {
10
- Service42
11
- } from "./location-activity-s03qb2ns.js";
10
+ Service55
11
+ } from "./file-r3rtvjkk.js";
12
12
  import {
13
13
  __export
14
- } from "./location-activity-9rqn6x4v.js";
14
+ } from "./file-9rqn6x4v.js";
15
15
 
16
16
  // src/plugin/skill.ts
17
- var exports_skill2 = {};
18
- __export(exports_skill2, {
17
+ var exports_skill3 = {};
18
+ __export(exports_skill3, {
19
19
  OpencodeContent: () => OpencodeContent2,
20
20
  OpencodeDescription: () => OpencodeDescription2,
21
- Plugin: () => Plugin29,
21
+ Plugin: () => Plugin41,
22
22
  ReportContent: () => ReportContent2,
23
- SkillPlugin: () => exports_skill2
23
+ SkillPlugin: () => exports_skill3
24
24
  });
25
25
  import { define } from "@opencode/plugin/effect/plugin";
26
26
  import { Effect } from "effect";
@@ -425,20 +425,20 @@ var OpencodeContent2 = opencode_default;
425
425
  var ReportContent2 = report_default;
426
426
  var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
427
427
  var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
428
- var Plugin29 = define({
428
+ var Plugin41 = define({
429
429
  id: "opencode.skill",
430
430
  effect: Effect.fn(function* (ctx) {
431
431
  const reportContent = yield* reportContentWithDiagnostics(ctx.app);
432
432
  yield* ctx.skill.transform((editor) => {
433
- editor.add(Info17.make({
434
- id: ID6.make("opencode"),
433
+ editor.add(Info8.make({
434
+ id: ID4.make("opencode"),
435
435
  name: Name2.make("OpenCode"),
436
436
  description: OpencodeDescription2,
437
437
  path: AbsolutePath2.make("/builtin/opencode.md"),
438
438
  content: OpencodeContent2
439
439
  }));
440
- editor.add(Info17.make({
441
- id: ID6.make("report"),
440
+ editor.add(Info8.make({
441
+ id: ID4.make("report"),
442
442
  name: Name2.make("Report"),
443
443
  description: REPORT_DESCRIPTION,
444
444
  path: AbsolutePath2.make("/builtin/report.md"),
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
466
466
  `);
467
467
  });
468
468
  var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
469
- const config = yield* Service42;
469
+ const config = yield* Service55;
470
470
  return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
471
471
  });
472
472
  function terminal() {
@@ -480,4 +480,4 @@ function shell() {
480
480
  return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
481
481
  }
482
482
 
483
- export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin29, exports_skill2 };
483
+ export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin41, exports_skill3 };
@@ -1,25 +1,25 @@
1
- import {
2
- Service82,
3
- node86
4
- } from "./location-activity-aptwngym.js";
5
1
  import {
6
2
  Service83,
7
3
  node87
8
- } from "./location-activity-k8w0np50.js";
4
+ } from "./file-z36jzmxf.js";
5
+ import {
6
+ Service65,
7
+ node67
8
+ } from "./file-cefeattc.js";
9
9
  import {
10
10
  create3
11
- } from "./location-activity-rdw6cm16.js";
11
+ } from "./file-rdw6cm16.js";
12
12
  import {
13
13
  __export
14
- } from "./location-activity-9rqn6x4v.js";
14
+ } from "./file-9rqn6x4v.js";
15
15
 
16
16
  // src/websearch.ts
17
17
  var exports_websearch3 = {};
18
18
  __export(exports_websearch3, {
19
19
  DisabledError: () => DisabledError2,
20
- Event: () => Event10,
21
- ID: () => ID7,
22
- Input: () => Input14,
20
+ Event: () => Event6,
21
+ ID: () => ID3,
22
+ Input: () => Input13,
23
23
  Provider: () => Provider2,
24
24
  ProviderKey: () => ProviderKey2,
25
25
  ProviderNotFoundError: () => ProviderNotFoundError2,
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
28
28
  Response: () => Response2,
29
29
  Result: () => Result2,
30
30
  Selection: () => Selection2,
31
- Service: () => Service53,
31
+ Service: () => Service23,
32
32
  WebSearch: () => exports_websearch3,
33
- node: () => node58
33
+ node: () => node26
34
34
  });
35
35
  import { WebSearch } from "@opencode/schema/websearch";
36
36
  import { SessionEvent } from "@opencode/schema/session-event";
37
37
  import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
38
38
  import { HttpClientError } from "effect/unstable/http";
39
39
  import { makeLocationNode } from "@opencode/util/effect/app-node";
40
- import { Event as Event10 } from "@opencode/schema/websearch";
41
- var ID7 = WebSearch.ID;
40
+ import { Event as Event6 } from "@opencode/schema/websearch";
41
+ var ID3 = WebSearch.ID;
42
42
  var Provider2 = WebSearch.Provider;
43
- var Input14 = WebSearch.Input;
43
+ var Input13 = WebSearch.Input;
44
44
  var Result2 = WebSearch.Result;
45
45
  var Response2 = WebSearch.Response;
46
46
  var ProviderKey2 = "websearch:provider";
47
- var Selection2 = Schema.Union([ID7, Schema.Literal("random"), Schema.Literal(false)]);
47
+ var Selection2 = Schema.Union([ID3, Schema.Literal("random"), Schema.Literal(false)]);
48
48
 
49
49
  class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
50
50
  }
51
51
 
52
52
  class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
53
- providerID: ID7
53
+ providerID: ID3
54
54
  }) {
55
55
  }
56
56
 
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
58
58
  }
59
59
 
60
60
  class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
61
- providerID: ID7,
61
+ providerID: ID3,
62
62
  cause: Schema.Defect()
63
63
  }) {
64
64
  }
65
65
 
66
- class Service53 extends Context.Service()("@opencode/WebSearch") {
66
+ class Service23 extends Context.Service()("@opencode/WebSearch") {
67
67
  }
68
- var layer = Layer.effect(Service53, Effect.gen(function* () {
69
- const bus = yield* Service82;
70
- const kv = yield* Service83;
68
+ var layer = Layer.effect(Service23, Effect.gen(function* () {
69
+ const bus = yield* Service83;
70
+ const kv = yield* Service65;
71
71
  const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
72
72
  const cooldowns = new Map;
73
73
  const preferred = new Map;
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
124
124
  }
125
125
  return choice ? state.get().providers.get(choice) : undefined;
126
126
  });
127
- return Service53.of({
127
+ return Service23.of({
128
128
  transform: state.transform,
129
129
  reload: state.reload,
130
130
  providers: Effect.fn("WebSearch.providers")(function* () {
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
184
184
  const date = Date.parse(value);
185
185
  return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
186
186
  }
187
- var node58 = makeLocationNode({
188
- service: Service53,
187
+ var node26 = makeLocationNode({
188
+ service: Service23,
189
189
  layer,
190
- deps: [node86, node87]
190
+ deps: [node87, node67]
191
191
  });
192
192
 
193
- export { ID7, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service53, node58, exports_websearch3, Event10 };
193
+ export { ID3, Provider2, Input13, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service23, node26, exports_websearch3, Event6 };
@@ -1,35 +1,35 @@
1
1
  import {
2
- ID14,
3
- Service71
4
- } from "./location-activity-gnb728zk.js";
2
+ ID7,
3
+ Service62
4
+ } from "./file-cnrdk8yx.js";
5
5
  import {
6
- Service77
7
- } from "./location-activity-7tr8b183.js";
6
+ Service80
7
+ } from "./file-d82rywaa.js";
8
8
  import {
9
- Service42
10
- } from "./location-activity-s03qb2ns.js";
9
+ Service55
10
+ } from "./file-r3rtvjkk.js";
11
11
  import {
12
- Service51,
12
+ Service76,
13
13
  args2
14
- } from "./location-activity-fy9s6ntj.js";
14
+ } from "./file-67d2xr1y.js";
15
15
  import {
16
- Service22
17
- } from "./location-activity-8rzt22gh.js";
16
+ Service25
17
+ } from "./file-8rn5da1k.js";
18
18
  import {
19
19
  make9
20
- } from "./location-activity-thc2y70h.js";
20
+ } from "./file-3j12ts0c.js";
21
21
  import {
22
22
  parseOption2
23
- } from "./location-activity-5daktx2q.js";
23
+ } from "./file-5daktx2q.js";
24
24
  import {
25
25
  __export
26
- } from "./location-activity-9rqn6x4v.js";
26
+ } from "./file-9rqn6x4v.js";
27
27
 
28
28
  // src/config/plugin/command.ts
29
- var exports_command2 = {};
30
- __export(exports_command2, {
31
- ConfigCommandPlugin: () => exports_command2,
32
- Plugin: () => Plugin45
29
+ var exports_command = {};
30
+ __export(exports_command, {
31
+ ConfigCommandPlugin: () => exports_command,
32
+ Plugin: () => Plugin22
33
33
  });
34
34
  import { define } from "@opencode/plugin/effect/plugin";
35
35
  import { ConfigCommand } from "@opencode/schema/config/command";
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
41
41
  import { ChildProcess } from "effect/unstable/process";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
43
43
  var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
44
- var Plugin45 = define({
44
+ var Plugin22 = define({
45
45
  id: "opencode.config.command",
46
46
  effect: Effect.fn(function* (ctx) {
47
- const config = yield* Service42;
47
+ const config = yield* Service55;
48
48
  const fs = yield* FSUtil.Service;
49
49
  const loadEntry = Effect.fnUntraced(function* (entry) {
50
50
  if (entry.type === "document")
@@ -54,11 +54,11 @@ var Plugin45 = define({
54
54
  const commands = yield* loadDirectory(fs, entry.path);
55
55
  return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
56
56
  });
57
- const location = yield* Service77;
57
+ const location = yield* Service80;
58
58
  const processes = yield* AppProcess.Service;
59
- const shell = yield* Service51;
60
- const sessions = yield* Service22;
61
- const agents = yield* Service71;
59
+ const shell = yield* Service76;
60
+ const sessions = yield* Service25;
61
+ const agents = yield* Service62;
62
62
  const subagents = yield* make9;
63
63
  const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
64
64
  return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
@@ -80,7 +80,7 @@ var Plugin45 = define({
80
80
  name,
81
81
  description: command.description,
82
82
  execute: (input) => Effect.gen(function* () {
83
- const agent = command.agent === undefined ? undefined : ID14.make(command.agent);
83
+ const agent = command.agent === undefined ? undefined : ID7.make(command.agent);
84
84
  const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
85
85
  const model = command.model === undefined ? commandAgent?.model : {
86
86
  id: Model.ID.make(command.model.model),
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
204
204
  var quoteTrimRegex = /^["']|["']$/g;
205
205
  var shellRegex = /!`([^`]+)`/g;
206
206
 
207
- export { Plugin45, exports_command2 };
207
+ export { Plugin22, exports_command };
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  Service84
3
- } from "./location-activity-xmdegtbq.js";
3
+ } from "./file-1dcnnnbr.js";
4
4
  import {
5
- Service82
6
- } from "./location-activity-aptwngym.js";
5
+ Service83
6
+ } from "./file-z36jzmxf.js";
7
7
  import {
8
- Service59
9
- } from "./location-activity-fpq9acqp.js";
8
+ Service40
9
+ } from "./file-3ppptnan.js";
10
10
  import {
11
11
  RelativePath2
12
- } from "./location-activity-922hggd3.js";
12
+ } from "./file-922hggd3.js";
13
13
  import {
14
- ID4,
15
- Service39
16
- } from "./location-activity-64fn380f.js";
14
+ ID14,
15
+ Service74
16
+ } from "./file-eebxfdqy.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./location-activity-ec1grn59.js";
19
+ } from "./file-ec1grn59.js";
20
20
  import {
21
21
  SessionMessage2
22
- } from "./location-activity-gftt206x.js";
22
+ } from "./file-gftt206x.js";
23
23
  import {
24
24
  MessageNotFoundError2
25
- } from "./location-activity-jv6862zv.js";
25
+ } from "./file-c769d21z.js";
26
26
  import {
27
27
  SessionMessageTable2
28
- } from "./location-activity-z07pqspn.js";
28
+ } from "./file-bjtzbw4r.js";
29
29
  import {
30
30
  __export
31
- } from "./location-activity-9rqn6x4v.js";
31
+ } from "./file-9rqn6x4v.js";
32
32
 
33
33
  // src/session/revert.ts
34
34
  var exports_revert = {};
@@ -42,12 +42,12 @@ __export(exports_revert, {
42
42
  import { and, asc, eq, gt } from "drizzle-orm";
43
43
  import { Effect, Schema } from "effect";
44
44
  var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
45
- const instances = yield* Service59;
45
+ const instances = yield* Service40;
46
46
  const database = yield* Service84;
47
- const bus = yield* Service82;
47
+ const bus = yield* Service83;
48
48
  return yield* Effect.gen(function* () {
49
- const snapshot = yield* Service39;
50
- const original = input.session.revert?.snapshot ? ID4.make(input.session.revert.snapshot) : yield* snapshot.capture();
49
+ const snapshot = yield* Service74;
50
+ const original = input.session.revert?.snapshot ? ID14.make(input.session.revert.snapshot) : yield* snapshot.capture();
51
51
  const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
52
52
  const restore = new Map;
53
53
  if (original) {
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
74
74
  }).pipe(instances.provide(input.session));
75
75
  });
76
76
  var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
77
- const instances = yield* Service59;
78
- const bus = yield* Service82;
77
+ const instances = yield* Service40;
78
+ const bus = yield* Service83;
79
79
  yield* Effect.gen(function* () {
80
- const snapshot = yield* Service39;
80
+ const snapshot = yield* Service74;
81
81
  if (!session.revert)
82
82
  return;
83
- const original = session.revert.snapshot ? ID4.make(session.revert.snapshot) : undefined;
83
+ const original = session.revert.snapshot ? ID14.make(session.revert.snapshot) : undefined;
84
84
  if (original)
85
85
  yield* snapshot.restore({
86
86
  files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
111
111
  continue;
112
112
  for (const file of message.snapshot.files ?? [])
113
113
  if (!files.has(file))
114
- files.set(file, ID4.make(message.snapshot.start));
114
+ files.set(file, ID14.make(message.snapshot.start));
115
115
  }
116
116
  return files;
117
117
  });
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  useragent2
3
- } from "./location-activity-2r95kv5m.js";
3
+ } from "./file-z2n1er87.js";
4
4
  import {
5
- Service82
6
- } from "./location-activity-aptwngym.js";
5
+ Service83
6
+ } from "./file-z36jzmxf.js";
7
7
  import {
8
8
  OAuth3,
9
- Event21
10
- } from "./location-activity-jdaq26vq.js";
9
+ Event18
10
+ } from "./file-7g3edgp3.js";
11
11
  import {
12
- ID10,
12
+ ID11,
13
13
  MethodID2
14
- } from "./location-activity-yq564c25.js";
14
+ } from "./file-dvvawg7j.js";
15
15
  import {
16
16
  key2
17
- } from "./location-activity-cpj0znwe.js";
17
+ } from "./file-5mtzsd3b.js";
18
18
  import {
19
- Service72
20
- } from "./location-activity-cvbtfyb1.js";
19
+ Service14
20
+ } from "./file-f5gy8qwh.js";
21
21
  import {
22
- ID9,
22
+ ID10,
23
23
  mergeOverlay2,
24
24
  mergeHeaders2
25
- } from "./location-activity-1tbm2v5y.js";
25
+ } from "./file-dskjz5tz.js";
26
26
  import {
27
- ID7,
28
- Input14,
27
+ ID3,
28
+ Input13,
29
29
  Response2
30
- } from "./location-activity-ey6q54wj.js";
30
+ } from "./file-rs94dpxv.js";
31
31
 
32
32
  // src/plugin/provider/opencode.ts
33
33
  import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
@@ -42,7 +42,7 @@ var methodID = MethodID2.make("device");
42
42
  var RemoteResponse = Schema.Struct({
43
43
  providers: Schema.Record(Schema.String, ConfigProvider.Info),
44
44
  websearch: Schema.Struct({
45
- providerID: ID7
45
+ providerID: ID3
46
46
  }).pipe(Schema.optional),
47
47
  experimental: Schema.Struct({
48
48
  policies: Schema.Array(ConfigPolicy.Info).pipe(Schema.optional)
@@ -67,7 +67,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
67
67
  var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
68
68
  function oauth(http) {
69
69
  return {
70
- integrationID: ID10.make("opencode"),
70
+ integrationID: ID11.make("opencode"),
71
71
  method: {
72
72
  id: methodID,
73
73
  type: "oauth",
@@ -121,10 +121,10 @@ function oauth(http) {
121
121
  var OpencodePlugin2 = define({
122
122
  id: "opencode.provider.opencode",
123
123
  effect: Effect.fn(function* (ctx) {
124
- const bus = yield* Service82;
124
+ const bus = yield* Service83;
125
125
  const client = yield* HttpClient.HttpClient;
126
126
  const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
127
- const managed = yield* Service72;
127
+ const managed = yield* Service14;
128
128
  const loading = Semaphore.makeUnsafe(1);
129
129
  let snapshot = { config: undefined, connection: undefined, organization: undefined };
130
130
  const load = Effect.fn("OpencodePlugin.load")(function* () {
@@ -157,7 +157,7 @@ var OpencodePlugin2 = define({
157
157
  providers.update(providerID, (provider) => {
158
158
  if (source && source.provider !== provider)
159
159
  Object.assign(provider, structuredClone(source.provider), { id: provider.id });
160
- provider.integrationID = ID10.make("opencode");
160
+ provider.integrationID = ID11.make("opencode");
161
161
  if (item.canonical !== undefined)
162
162
  provider.canonical = item.canonical;
163
163
  if (item.name !== undefined)
@@ -227,7 +227,7 @@ var OpencodePlugin2 = define({
227
227
  sourceConnection: snapshot.connection
228
228
  });
229
229
  }
230
- const item = providers.get(ID9.opencode);
230
+ const item = providers.get(ID10.opencode);
231
231
  if (!item)
232
232
  return;
233
233
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
@@ -239,7 +239,7 @@ var OpencodePlugin2 = define({
239
239
  });
240
240
  });
241
241
  yield* ctx.model.transform((models) => {
242
- const item = models.provider.get(ID9.opencode);
242
+ const item = models.provider.get(ID10.opencode);
243
243
  if (!item)
244
244
  return;
245
245
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
@@ -273,7 +273,7 @@ var OpencodePlugin2 = define({
273
273
  const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
274
274
  const token = credential.type === "oauth" ? credential.access : credential.key;
275
275
  const server = yield* normalizeServer(serverUrl(credential));
276
- const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
276
+ const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
277
277
  query: input.query,
278
278
  providerID: descriptor.providerID
279
279
  }));
@@ -295,7 +295,7 @@ var OpencodePlugin2 = define({
295
295
  yield* Effect.all([ctx.provider.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
296
296
  });
297
297
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
298
- yield* bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
298
+ yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID11.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
299
299
  yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
300
300
  })
301
301
  });