@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,49 +1,49 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./location-activity-922hggd3.js";
3
+ } from "./file-922hggd3.js";
4
4
  import {
5
5
  Service84,
6
6
  node88
7
- } from "./location-activity-xmdegtbq.js";
7
+ } from "./file-1dcnnnbr.js";
8
+ import {
9
+ Service83,
10
+ node87
11
+ } from "./file-z36jzmxf.js";
8
12
  import {
9
13
  Service82,
10
14
  node86
11
- } from "./location-activity-aptwngym.js";
12
- import {
13
- Service79,
14
- node83
15
- } from "./location-activity-tkjpgj67.js";
15
+ } from "./file-68y7phbn.js";
16
16
  import {
17
- ID17,
17
+ ID18,
18
18
  Current3,
19
- Info32,
19
+ Info34,
20
20
  UpdateInput4,
21
- Event19,
21
+ Event21,
22
22
  Vcs3
23
- } from "./location-activity-9pv0dm11.js";
23
+ } from "./file-57ez7d0k.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./location-activity-wd3x2cqz.js";
27
+ } from "./file-psazpmmj.js";
28
28
  import {
29
29
  WorktreeTable2
30
- } from "./location-activity-94ek1h2f.js";
30
+ } from "./file-gfvb90ym.js";
31
31
  import {
32
32
  __export
33
- } from "./location-activity-9rqn6x4v.js";
33
+ } from "./file-9rqn6x4v.js";
34
34
 
35
35
  // src/project.ts
36
36
  var exports_project = {};
37
37
  __export(exports_project, {
38
38
  Current: () => Current2,
39
- ID: () => ID16,
40
- Info: () => Info31,
41
- NotFoundError: () => NotFoundError10,
39
+ ID: () => ID17,
40
+ Info: () => Info33,
41
+ NotFoundError: () => NotFoundError11,
42
42
  Project: () => exports_project,
43
- Service: () => Service78,
43
+ Service: () => Service81,
44
44
  UpdateInput: () => UpdateInput3,
45
45
  Vcs: () => Vcs2,
46
- node: () => node82,
46
+ node: () => node85,
47
47
  root: () => root2
48
48
  });
49
49
  import { Context, Effect, Layer, Schema } from "effect";
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
55
55
  import { AppProcess } from "@opencode/util/process";
56
56
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
57
57
  import { Hash } from "@opencode/util/hash";
58
- var ID16 = ID17;
58
+ var ID17 = ID18;
59
59
  var Vcs2 = Vcs3;
60
60
  var Current2 = Current3;
61
- var Info31 = Info32;
61
+ var Info33 = Info34;
62
62
  var UpdateInput3 = UpdateInput4;
63
63
 
64
- class NotFoundError10 extends Schema.TaggedError()("Project.NotFoundError", {
65
- projectID: ID16
64
+ class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
65
+ projectID: ID17
66
66
  }) {
67
67
  }
68
68
  var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
@@ -72,7 +72,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
72
72
  });
73
73
  var ACTIVATE_INTERVAL = 60000;
74
74
 
75
- class Service78 extends Context.Service()("@opencode/Project") {
75
+ class Service81 extends Context.Service()("@opencode/Project") {
76
76
  }
77
77
  function fromRow(row) {
78
78
  const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
@@ -95,11 +95,11 @@ function fromRow(row) {
95
95
  sandboxes: row.sandboxes
96
96
  };
97
97
  }
98
- var layer = Layer.effect(Service78, Effect.gen(function* () {
98
+ var layer = Layer.effect(Service81, Effect.gen(function* () {
99
99
  const fs = yield* FSUtil.Service;
100
- const git = yield* Service79;
100
+ const git = yield* Service82;
101
101
  const proc = yield* AppProcess.Service;
102
- const bus = yield* Service82;
102
+ const bus = yield* Service83;
103
103
  const db = (yield* Service84).db;
104
104
  const announcing = new Set;
105
105
  const persist = Effect.fnUntraced(function* (project) {
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
108
108
  if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
109
109
  const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
110
110
  if (row)
111
- yield* bus.publish(Event19.Updated, fromRow(row));
111
+ yield* bus.publish(Event21.Updated, fromRow(row));
112
112
  }
113
113
  if (!project.vcs)
114
114
  return project;
@@ -145,7 +145,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
145
145
  yield* bus.publish(Worktree.Event.Resolved, {
146
146
  projectID: item.projectID,
147
147
  directory: item.directory,
148
- previous: project.previous ?? ID16.global,
148
+ previous: project.previous ?? ID17.global,
149
149
  ...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
150
150
  }, {
151
151
  commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
@@ -168,9 +168,9 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
168
168
  time_updated: Date.now()
169
169
  }).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
170
170
  if (!row)
171
- return yield* new NotFoundError10({ projectID: input.projectID });
171
+ return yield* new NotFoundError11({ projectID: input.projectID });
172
172
  const project = fromRow(row);
173
- yield* bus.publish(Event19.Updated, project);
173
+ yield* bus.publish(Event21.Updated, project);
174
174
  return project;
175
175
  });
176
176
  const activated = new Map;
@@ -181,10 +181,10 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
181
181
  activated.set(projectID, now);
182
182
  const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
183
183
  if (row)
184
- yield* bus.publish(Event19.Updated, fromRow(row));
184
+ yield* bus.publish(Event21.Updated, fromRow(row));
185
185
  });
186
186
  const cached = Effect.fnUntraced(function* (dir) {
187
- return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID16.make(value) : undefined), Effect.orElseSucceed(() => {
187
+ return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
188
188
  return;
189
189
  }));
190
190
  });
@@ -195,7 +195,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
195
195
  const normalized = url(origin);
196
196
  if (!normalized)
197
197
  return;
198
- return ID16.make(Hash.fast(`git-remote:${normalized}`));
198
+ return ID17.make(Hash.fast(`git-remote:${normalized}`));
199
199
  });
200
200
  function url(input) {
201
201
  const value = input.trim();
@@ -220,7 +220,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
220
220
  }
221
221
  const rootCommit = Effect.fnUntraced(function* (repo) {
222
222
  const root = (yield* git.history.rootCommits(repo))[0];
223
- return root ? ID16.make(root) : undefined;
223
+ return root ? ID17.make(root) : undefined;
224
224
  });
225
225
  const hgRoot = Effect.fnUntraced(function* (worktree) {
226
226
  const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
@@ -236,7 +236,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
236
236
  return;
237
237
  const node = result.stdout.toString("utf8").split(`
238
238
  `).map((item) => item.trim()).filter(Boolean).toSorted()[0];
239
- return node ? ID16.make(node) : undefined;
239
+ return node ? ID17.make(node) : undefined;
240
240
  });
241
241
  const hgDiscover = Effect.fnUntraced(function* (dotHg) {
242
242
  const worktree = AbsolutePath2.make(path.dirname(dotHg));
@@ -245,7 +245,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
245
245
  const id = previous ?? (yield* hgRoot(worktree));
246
246
  return {
247
247
  previous,
248
- id: id ?? ID16.global,
248
+ id: id ?? ID17.global,
249
249
  directory: worktree,
250
250
  vcs: { type: "hg", store }
251
251
  };
@@ -262,7 +262,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
262
262
  const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
263
263
  return yield* persist({
264
264
  previous,
265
- id: id ?? ID16.global,
265
+ id: id ?? ID17.global,
266
266
  directory: repo.worktree,
267
267
  canonical,
268
268
  vcs: { type: "git", store: repo.commonDirectory }
@@ -276,18 +276,18 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
276
276
  });
277
277
  }
278
278
  return yield* persist({
279
- id: ID16.make(Hash.fast(`directory:${directory}`)),
279
+ id: ID17.make(Hash.fast(`directory:${directory}`)),
280
280
  directory,
281
281
  canonical: directory,
282
282
  vcs: undefined
283
283
  });
284
284
  });
285
- return Service78.of({ list, update, activate, resolve });
285
+ return Service81.of({ list, update, activate, resolve });
286
286
  }));
287
- var node82 = makeGlobalNode({
288
- service: Service78,
287
+ var node85 = makeGlobalNode({
288
+ service: Service81,
289
289
  layer,
290
- deps: [node86, node88, FSUtil.node, node83, AppProcess.node]
290
+ deps: [node87, node88, FSUtil.node, node86, AppProcess.node]
291
291
  });
292
292
 
293
- export { ID16, Vcs2, Current2, Info31, UpdateInput3, NotFoundError10, root2, Service78, node82, exports_project };
293
+ export { ID17, Vcs2, Current2, Info33, UpdateInput3, NotFoundError11, root2, Service81, node85, exports_project };
@@ -1,56 +1,56 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./location-activity-aptwngym.js";
2
+ Service83,
3
+ node87
4
+ } from "./file-z36jzmxf.js";
5
5
  import {
6
- Event21,
7
- Service81,
8
- node85
9
- } from "./location-activity-jdaq26vq.js";
6
+ Event18,
7
+ Service72,
8
+ node75
9
+ } from "./file-7g3edgp3.js";
10
10
  import {
11
- Service43,
12
- node46
13
- } from "./location-activity-rmwhpqen.js";
11
+ Service56,
12
+ node58
13
+ } from "./file-79c0cprn.js";
14
14
  import {
15
15
  AbsolutePath2
16
- } from "./location-activity-922hggd3.js";
16
+ } from "./file-922hggd3.js";
17
17
  import {
18
- Service77,
19
- node81
20
- } from "./location-activity-7tr8b183.js";
18
+ Service80,
19
+ node84
20
+ } from "./file-d82rywaa.js";
21
21
  import {
22
22
  substitute2
23
- } from "./location-activity-yrznvahk.js";
23
+ } from "./file-yrznvahk.js";
24
24
  import {
25
25
  normalize2
26
- } from "./location-activity-3tz3ez9v.js";
26
+ } from "./file-6p9d4jjd.js";
27
27
  import {
28
28
  names4,
29
29
  discover3
30
- } from "./location-activity-fwvygk21.js";
30
+ } from "./file-gvzpgxex.js";
31
31
  import {
32
32
  plan2
33
- } from "./location-activity-j56e64zr.js";
33
+ } from "./file-j56e64zr.js";
34
34
  import {
35
- Service73,
36
- Event17,
37
- node77
38
- } from "./location-activity-r1sa43kq.js";
35
+ Service57,
36
+ Event12,
37
+ node59
38
+ } from "./file-7nthvdt2.js";
39
39
  import {
40
40
  __export
41
- } from "./location-activity-9rqn6x4v.js";
41
+ } from "./file-9rqn6x4v.js";
42
42
 
43
43
  // src/config.ts
44
44
  var exports_config = {};
45
45
  __export(exports_config, {
46
46
  Config: () => exports_config,
47
- Options: () => Options6,
48
- Service: () => Service42,
47
+ Options: () => Options7,
48
+ Service: () => Service55,
49
49
  Test: () => Test2,
50
- configured: () => configured6,
50
+ configured: () => configured7,
51
51
  latest: () => latest2,
52
- layer: () => layer16,
53
- node: () => node45,
52
+ layer: () => layer20,
53
+ node: () => node57,
54
54
  testLayer: () => testLayer2
55
55
  });
56
56
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -64,14 +64,14 @@ import { Global } from "@opencode/util/global";
64
64
  function latest2(entries, key) {
65
65
  return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
66
66
  }
67
- var Options6 = Schema.Struct({
67
+ var Options7 = Schema.Struct({
68
68
  project: Schema.optional(Schema.Boolean),
69
69
  global: Schema.optional(Schema.Boolean),
70
70
  file: Schema.optional(Schema.String),
71
71
  content: Schema.optional(Schema.String)
72
72
  });
73
73
 
74
- class Service42 extends Context.Service()("@opencode/Config") {
74
+ class Service55 extends Context.Service()("@opencode/Config") {
75
75
  }
76
76
 
77
77
  class Test2 extends Context.Service()("@opencode/Config/Test") {
@@ -89,16 +89,16 @@ var testLayer2 = (initial = [], compatibility = {
89
89
  setEntries: (next) => Ref.set(entries, next),
90
90
  emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
91
91
  });
92
- return Context.empty().pipe(Context.add(Service42, service), Context.add(Test2, service));
92
+ return Context.empty().pipe(Context.add(Service55, service), Context.add(Test2, service));
93
93
  }));
94
- var layer16 = (options) => Layer.effect(Service42, Effect.gen(function* () {
94
+ var layer20 = (options) => Layer.effect(Service55, Effect.gen(function* () {
95
95
  const fs = yield* FSUtil.Service;
96
- const location = yield* Service77;
97
- const watcher = yield* Service43;
98
- const bus = yield* Service82;
99
- const credentials = yield* Service81;
96
+ const location = yield* Service80;
97
+ const watcher = yield* Service56;
98
+ const bus = yield* Service83;
99
+ const credentials = yield* Service72;
100
100
  const globalService = yield* Global.Service;
101
- const wellknown = yield* Service73;
101
+ const wellknown = yield* Service57;
102
102
  const reloadLock = Semaphore.makeUnsafe(1);
103
103
  const updateLock = Semaphore.makeUnsafe(1);
104
104
  const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
@@ -221,8 +221,8 @@ var layer16 = (options) => Layer.effect(Service42, Effect.gen(function* () {
221
221
  }, (effect) => reloadLock.withPermit(effect));
222
222
  const pendingReloads = yield* PubSub.subscribe(reloads);
223
223
  yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
224
- yield* bus.subscribe(Event21.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
225
- yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
224
+ yield* bus.subscribe(Event18.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
225
+ yield* bus.subscribe(Event12.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
226
226
  yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
227
227
  if (!wellknown.snapshot().length)
228
228
  return Effect.void;
@@ -250,7 +250,7 @@ var layer16 = (options) => Layer.effect(Service42, Effect.gen(function* () {
250
250
  `);
251
251
  yield* requestReload;
252
252
  }, (effect) => updateLock.withPermit(effect));
253
- return Service42.of({
253
+ return Service55.of({
254
254
  entries: Effect.fnUntraced(function* () {
255
255
  return configs;
256
256
  }),
@@ -262,13 +262,13 @@ var layer16 = (options) => Layer.effect(Service42, Effect.gen(function* () {
262
262
  update
263
263
  });
264
264
  }));
265
- function configured6(options) {
265
+ function configured7(options) {
266
266
  return makeLocationNode({
267
- service: Service42,
268
- layer: layer16(options),
269
- deps: [node46, node86, FSUtil.node, Global.node, node81, node85, node77]
267
+ service: Service55,
268
+ layer: layer20(options),
269
+ deps: [node58, node87, FSUtil.node, Global.node, node84, node75, node59]
270
270
  });
271
271
  }
272
- var node45 = configured6();
272
+ var node57 = configured7();
273
273
 
274
- export { latest2, Options6, Service42, Test2, testLayer2, layer16, configured6, node45, exports_config };
274
+ export { latest2, Options7, Service55, Test2, testLayer2, layer20, configured7, node57, exports_config };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  latest2,
3
- Service42
4
- } from "./location-activity-s03qb2ns.js";
3
+ Service55
4
+ } from "./file-r3rtvjkk.js";
5
5
  import {
6
6
  __export
7
- } from "./location-activity-9rqn6x4v.js";
7
+ } from "./file-9rqn6x4v.js";
8
8
 
9
9
  // src/plugin/warming.ts
10
10
  var exports_warming = {};
11
11
  __export(exports_warming, {
12
- Plugin: () => Plugin25,
12
+ Plugin: () => Plugin42,
13
13
  WarmingPlugin: () => exports_warming
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
@@ -19,10 +19,10 @@ var defaults = {
19
19
  interval: Duration.minutes(4),
20
20
  duration: Duration.minutes(30)
21
21
  };
22
- var Plugin25 = define({
22
+ var Plugin42 = define({
23
23
  id: "opencode.warming",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service42;
25
+ const config = yield* Service55;
26
26
  const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
27
27
  const warming = latest2(yield* config.entries(), "warming");
28
28
  if (!warming)
@@ -96,4 +96,4 @@ var Plugin25 = define({
96
96
  })
97
97
  });
98
98
 
99
- export { Plugin25, exports_warming };
99
+ export { Plugin42, exports_warming };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  PATCH_CONTEXT_LINES2
3
- } from "./location-activity-tazgh4e4.js";
3
+ } from "./file-tazgh4e4.js";
4
4
  import {
5
- ID4,
6
- Service39
7
- } from "./location-activity-64fn380f.js";
5
+ ID14,
6
+ Service74
7
+ } from "./file-eebxfdqy.js";
8
8
  import {
9
9
  SessionSchema2
10
- } from "./location-activity-377tdzm5.js";
10
+ } from "./file-pxt4kznk.js";
11
11
  import {
12
12
  MessageNotFoundError2
13
- } from "./location-activity-jv6862zv.js";
13
+ } from "./file-c769d21z.js";
14
14
  import {
15
15
  SessionMessageTable2
16
- } from "./location-activity-z07pqspn.js";
16
+ } from "./file-bjtzbw4r.js";
17
17
  import {
18
18
  __export
19
- } from "./location-activity-9rqn6x4v.js";
19
+ } from "./file-9rqn6x4v.js";
20
20
 
21
21
  // src/session/diff.ts
22
22
  var exports_diff = {};
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
81
81
  const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
82
82
  const recorded = steps.findLast((step) => step.end)?.end;
83
83
  return yield* Effect.gen(function* () {
84
- const snapshot = yield* Service39;
84
+ const snapshot = yield* Service74;
85
85
  const running = input.active && final.completed === null;
86
86
  const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
87
87
  if (!to)
88
88
  return [];
89
89
  return yield* snapshot.diff({
90
- from: ID4.make(from),
91
- to: ID4.make(to),
90
+ from: ID14.make(from),
91
+ to: ID14.make(to),
92
92
  context: input.context ?? PATCH_CONTEXT_LINES2
93
93
  });
94
94
  }).pipe(Effect.provide(locations.get(location)));
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./location-activity-9rqn6x4v.js";
3
+ } from "./file-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/skills.ts
6
6
  var exports_skills = {};
7
7
  __export(exports_skills, {
8
8
  ConfigSkillsV1: () => exports_skills,
9
- Info: () => Info7
9
+ Info: () => Info19
10
10
  });
11
11
  import { Schema } from "effect";
12
- var Info7 = Schema.Struct({
12
+ var Info19 = Schema.Struct({
13
13
  paths: Schema.optional(Schema.Array(Schema.String)).annotate({
14
14
  description: "Additional paths to skill folders"
15
15
  }),
@@ -18,4 +18,4 @@ var Info7 = Schema.Struct({
18
18
  })
19
19
  });
20
20
 
21
- export { Info7, exports_skills };
21
+ export { Info19, exports_skills };
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  Metadata2,
3
3
  useragent2,
4
- node49
5
- } from "./location-activity-2r95kv5m.js";
4
+ node68
5
+ } from "./file-z2n1er87.js";
6
6
  import {
7
7
  provenance2,
8
8
  compatible2
9
- } from "./location-activity-ag580yac.js";
9
+ } from "./file-56dkfrzf.js";
10
10
  import {
11
- Service70,
12
- node74
13
- } from "./location-activity-pnaxc6j9.js";
11
+ Service63,
12
+ node65
13
+ } from "./file-pn3cc07s.js";
14
14
  import {
15
15
  DeclinedError2
16
- } from "./location-activity-xp19q54n.js";
16
+ } from "./file-nkstvzp1.js";
17
17
  import {
18
18
  CancelledError2
19
- } from "./location-activity-eh0978h6.js";
19
+ } from "./file-xv7de5q4.js";
20
20
  import {
21
- Error3
22
- } from "./location-activity-ryhskwyp.js";
21
+ Error2
22
+ } from "./file-53aen1mc.js";
23
23
  import {
24
- Service30,
25
- node34
26
- } from "./location-activity-e9vw5rew.js";
24
+ Service43,
25
+ node45
26
+ } from "./file-9kqy81kb.js";
27
27
  import {
28
- make14
29
- } from "./location-activity-drwq78ky.js";
28
+ make17
29
+ } from "./file-dkhsgy42.js";
30
30
  import {
31
31
  toLLMMessages2
32
- } from "./location-activity-qjxevsft.js";
32
+ } from "./file-sfntmzm9.js";
33
33
  import {
34
34
  __export
35
- } from "./location-activity-9rqn6x4v.js";
35
+ } from "./file-9rqn6x4v.js";
36
36
 
37
37
  // src/session/model-request.ts
38
38
  var exports_model_request = {};
39
39
  __export(exports_model_request, {
40
- Service: () => Service29,
40
+ Service: () => Service42,
41
41
  SessionModelRequest: () => exports_model_request,
42
42
  baseTranscript: () => baseTranscript2,
43
43
  boundImages: () => boundImages2,
44
- layer: () => layer13,
45
- node: () => node33,
44
+ layer: () => layer16,
45
+ node: () => node44,
46
46
  unsupportedParts: () => unsupportedParts2
47
47
  });
48
48
  import {
@@ -66,7 +66,7 @@ var baseTranscript2 = (input) => {
66
66
  return {
67
67
  providerMetadataKey,
68
68
  system: [
69
- input.agent.system ? input.agent.system : make14(input.tools.definitions.map((tool) => tool.name)),
69
+ input.agent.system ? input.agent.system : make17(input.tools.definitions.map((tool) => tool.name)),
70
70
  input.initial
71
71
  ].filter((part) => part.length > 0).map(SystemPart.make),
72
72
  messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
@@ -156,11 +156,11 @@ var boundImages2 = (messages) => {
156
156
  }));
157
157
  };
158
158
 
159
- class Service29 extends Context.Service()("@opencode/SessionModelRequest") {
159
+ class Service42 extends Context.Service()("@opencode/SessionModelRequest") {
160
160
  }
161
- var layer13 = Layer.effect(Service29, Effect.gen(function* () {
162
- const hooks = yield* Service70;
163
- const transport = yield* Service30;
161
+ var layer16 = Layer.effect(Service42, Effect.gen(function* () {
162
+ const hooks = yield* Service63;
163
+ const transport = yield* Service43;
164
164
  const app = yield* Metadata2;
165
165
  const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
166
166
  const session = input.session;
@@ -168,7 +168,7 @@ var layer13 = Layer.effect(Service29, Effect.gen(function* () {
168
168
  const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
169
169
  const tools = input.tools ?? {
170
170
  definitions: [],
171
- execute: () => new Error3({ message: "Tools are not available for this request" })
171
+ execute: () => new Error2({ message: "Tools are not available for this request" })
172
172
  };
173
173
  const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
174
174
  const shaped = yield* shape({ sessionID: session.id, model: model.ref, system: input.system, messages: input.messages, options: {} }, Object.fromEntries(Array.from(given, ([d, t]) => [t.name, d])));
@@ -258,17 +258,17 @@ var layer13 = Layer.effect(Service29, Effect.gen(function* () {
258
258
  };
259
259
  });
260
260
  const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
261
- return Service29.of({
261
+ return Service42.of({
262
262
  primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
263
263
  compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
264
264
  generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
265
265
  title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
266
266
  });
267
267
  }));
268
- var node33 = makeLocationNode({
269
- service: Service29,
270
- layer: layer13,
271
- deps: [node74, node34, node49]
268
+ var node44 = makeLocationNode({
269
+ service: Service42,
270
+ layer: layer16,
271
+ deps: [node65, node45, node68]
272
272
  });
273
273
 
274
- export { baseTranscript2, unsupportedParts2, boundImages2, Service29, layer13, node33, exports_model_request };
274
+ export { baseTranscript2, unsupportedParts2, boundImages2, Service42, layer16, node44, exports_model_request };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-activity-9rqn6x4v.js";
3
+ } from "./file-9rqn6x4v.js";
4
4
 
5
5
  // src/state.ts
6
6
  var exports_state = {};