@opencode/core 0.0.0-dev-19567 → 0.0.0-dev-19568

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 (490) hide show
  1. package/dist/agent.js +67 -67
  2. package/dist/aisdk-native.js +2 -2
  3. package/dist/aisdk.js +6 -6
  4. package/dist/app.js +9 -9
  5. package/dist/bus.js +53 -53
  6. package/dist/catalog.js +67 -67
  7. package/dist/chunks/{filesystem-bccb6npm.js → filesystem-06dxphr1.js} +3 -3
  8. package/dist/chunks/{filesystem-ehhvb1z1.js → filesystem-0b51tgne.js} +23 -23
  9. package/dist/chunks/{filesystem-f8652x2w.js → filesystem-0ezsa6vy.js} +40 -40
  10. package/dist/chunks/{filesystem-vncd6x2p.js → filesystem-0jsm5b6f.js} +18 -18
  11. package/dist/chunks/{filesystem-zdzb03tf.js → filesystem-0yf7gmgh.js} +1 -1
  12. package/dist/chunks/{filesystem-j8yes9fb.js → filesystem-0z4swx6k.js} +13 -13
  13. package/dist/chunks/{filesystem-f2n192rq.js → filesystem-1acjjqhc.js} +3 -3
  14. package/dist/chunks/{filesystem-k5734w4a.js → filesystem-1b5k9ny0.js} +8 -8
  15. package/dist/chunks/{filesystem-078gytam.js → filesystem-1q26ypmg.js} +14 -14
  16. package/dist/chunks/{filesystem-1s6ef6er.js → filesystem-1xzg4q7f.js} +7 -7
  17. package/dist/chunks/{filesystem-6rx9j4b0.js → filesystem-27fbez5x.js} +6 -6
  18. package/dist/chunks/{filesystem-6y0dpk3y.js → filesystem-298asx42.js} +25 -25
  19. package/dist/chunks/{filesystem-xn99z6n2.js → filesystem-2ah6ycde.js} +24 -24
  20. package/dist/chunks/{filesystem-t6xgqy70.js → filesystem-2b6sywcb.js} +10 -10
  21. package/dist/chunks/{filesystem-ywkfy99j.js → filesystem-2bt6bea8.js} +7 -7
  22. package/dist/chunks/{filesystem-vkxpz7g2.js → filesystem-2tfmgkzg.js} +2 -2
  23. package/dist/chunks/{filesystem-56gdpj1q.js → filesystem-33w4ejhs.js} +4 -4
  24. package/dist/chunks/{filesystem-9m209nhj.js → filesystem-3723sw29.js} +4 -4
  25. package/dist/chunks/{filesystem-caw866h7.js → filesystem-3bxse654.js} +9 -9
  26. package/dist/chunks/{filesystem-041s7t4d.js → filesystem-3e73f7fn.js} +18 -18
  27. package/dist/chunks/{filesystem-jjt6g8ec.js → filesystem-3p9h8pr0.js} +10 -10
  28. package/dist/chunks/{filesystem-vwedqk8m.js → filesystem-4as8h3gg.js} +13 -13
  29. package/dist/chunks/{filesystem-ekjywdh4.js → filesystem-4f8bfcxm.js} +10 -10
  30. package/dist/chunks/{filesystem-nh937vtg.js → filesystem-4f92c8s9.js} +16 -16
  31. package/dist/chunks/{filesystem-bezn74c1.js → filesystem-4fbncvv5.js} +6 -6
  32. package/dist/chunks/{filesystem-175mk5tz.js → filesystem-4mwvkeyx.js} +10 -10
  33. package/dist/chunks/{filesystem-9ftserdy.js → filesystem-4p7x74p9.js} +9 -9
  34. package/dist/chunks/{filesystem-439y12vh.js → filesystem-4skj9pjn.js} +2 -2
  35. package/dist/chunks/{filesystem-vsp1fds9.js → filesystem-50mzsvk4.js} +20 -20
  36. package/dist/chunks/{filesystem-ppf6v6e1.js → filesystem-5762gc32.js} +33 -33
  37. package/dist/chunks/{filesystem-ayp6cqfq.js → filesystem-57v6fmny.js} +15 -15
  38. package/dist/chunks/{filesystem-a1bz86dw.js → filesystem-5c4hm403.js} +1 -1
  39. package/dist/chunks/{filesystem-abe16e6q.js → filesystem-5ctrep3m.js} +9 -9
  40. package/dist/chunks/{filesystem-ytapak9r.js → filesystem-5m7h1hre.js} +14 -14
  41. package/dist/chunks/{filesystem-pmr4s4kc.js → filesystem-5q02cxx3.js} +3 -3
  42. package/dist/chunks/{filesystem-mgjabrz5.js → filesystem-5rjrjdee.js} +4 -4
  43. package/dist/chunks/{filesystem-5c91nd8t.js → filesystem-5whwrpxa.js} +8 -8
  44. package/dist/chunks/{filesystem-qgn6gcr1.js → filesystem-607tc6va.js} +4 -4
  45. package/dist/chunks/{filesystem-eyeb23k4.js → filesystem-631045jg.js} +28 -28
  46. package/dist/chunks/{filesystem-gqrjg9m0.js → filesystem-64ddj6v7.js} +1 -1
  47. package/dist/chunks/{filesystem-7qj23typ.js → filesystem-696tvegr.js} +27 -27
  48. package/dist/chunks/{filesystem-khbvvr7x.js → filesystem-6gwpwpyd.js} +22 -22
  49. package/dist/chunks/{filesystem-r1kfjs52.js → filesystem-6gypj2re.js} +23 -23
  50. package/dist/chunks/{filesystem-7n5ebxvb.js → filesystem-6j4fq2cq.js} +9 -9
  51. package/dist/chunks/filesystem-6kdq0pjd.js +4 -0
  52. package/dist/chunks/{filesystem-ssnweha5.js → filesystem-6kkxyhkv.js} +3 -3
  53. package/dist/chunks/{filesystem-gg8vxy2p.js → filesystem-6qxnajbz.js} +23 -23
  54. package/dist/chunks/{filesystem-mgp1xb0f.js → filesystem-6zp4xm1r.js} +22 -22
  55. package/dist/chunks/{filesystem-23279rje.js → filesystem-703jyx7f.js} +7 -7
  56. package/dist/chunks/{filesystem-w105trey.js → filesystem-7061gxvt.js} +23 -23
  57. package/dist/chunks/{filesystem-ecrg2nqv.js → filesystem-72jmdy6r.js} +19 -19
  58. package/dist/chunks/{filesystem-q8qk0cpb.js → filesystem-75va9qk2.js} +9 -9
  59. package/dist/chunks/{filesystem-3c1tgrea.js → filesystem-7bnzk546.js} +5 -5
  60. package/dist/chunks/{filesystem-ad7xdf9r.js → filesystem-7krdaasy.js} +5 -5
  61. package/dist/chunks/{filesystem-yya0sae6.js → filesystem-7nwp8zja.js} +9 -9
  62. package/dist/chunks/{filesystem-wj45sndb.js → filesystem-7pqa36gv.js} +11 -11
  63. package/dist/chunks/{filesystem-dhwr7h25.js → filesystem-7rrn560x.js} +9 -9
  64. package/dist/chunks/{filesystem-4frkg54w.js → filesystem-81swgkk7.js} +7 -7
  65. package/dist/chunks/{filesystem-av1zmrck.js → filesystem-84r56gr5.js} +1 -1
  66. package/dist/chunks/{filesystem-5et2ke9z.js → filesystem-85c4hbm5.js} +22 -22
  67. package/dist/chunks/{filesystem-55yqmepc.js → filesystem-8aabwx5n.js} +17 -17
  68. package/dist/chunks/{filesystem-jacaeees.js → filesystem-8akv9m9x.js} +15 -15
  69. package/dist/chunks/{filesystem-958js9br.js → filesystem-8et7pj57.js} +12 -12
  70. package/dist/chunks/{filesystem-hef24fn2.js → filesystem-8m5v51r2.js} +40 -40
  71. package/dist/chunks/{filesystem-ptytrkeg.js → filesystem-9104srmq.js} +16 -16
  72. package/dist/chunks/{filesystem-krhdd13z.js → filesystem-975yhv65.js} +17 -17
  73. package/dist/chunks/{filesystem-cf3tj770.js → filesystem-9c1k5ss1.js} +8 -8
  74. package/dist/chunks/{filesystem-tmz07czs.js → filesystem-9d82za01.js} +18 -18
  75. package/dist/chunks/{filesystem-zxnzg6kz.js → filesystem-9j5jfgtr.js} +22 -22
  76. package/dist/chunks/{filesystem-x159k7tn.js → filesystem-9qpqmwv0.js} +9 -9
  77. package/dist/chunks/{filesystem-dywhtpsx.js → filesystem-9s312kc4.js} +7 -7
  78. package/dist/chunks/{filesystem-p815bw41.js → filesystem-9v1c99ce.js} +75 -75
  79. package/dist/chunks/{filesystem-z46ew2vq.js → filesystem-a2hw0sqp.js} +45 -45
  80. package/dist/chunks/{filesystem-1ndypj5r.js → filesystem-a3r4dcrj.js} +1 -1
  81. package/dist/chunks/{filesystem-27ekamt2.js → filesystem-akfg16cj.js} +1 -1
  82. package/dist/chunks/{filesystem-9fvhjrgf.js → filesystem-arpbwta6.js} +22 -22
  83. package/dist/chunks/{filesystem-bv2jx7pw.js → filesystem-b1tz6w3s.js} +28 -28
  84. package/dist/chunks/{filesystem-b8mjdg95.js → filesystem-b762qnyw.js} +30 -30
  85. package/dist/chunks/{filesystem-yatbfktz.js → filesystem-bjbm878y.js} +4 -4
  86. package/dist/chunks/{filesystem-6xgghmbk.js → filesystem-bp0xbca5.js} +39 -39
  87. package/dist/chunks/{filesystem-yxc59d7f.js → filesystem-bs4q3tqg.js} +5 -5
  88. package/dist/chunks/{filesystem-v84z85pp.js → filesystem-c8266qxr.js} +11 -11
  89. package/dist/chunks/{filesystem-57gxc5pf.js → filesystem-cerc8atz.js} +16 -16
  90. package/dist/chunks/{filesystem-79h9wc7p.js → filesystem-cpcnfgyy.js} +27 -27
  91. package/dist/chunks/{filesystem-w2yvy5y9.js → filesystem-d979a45b.js} +4 -4
  92. package/dist/chunks/{filesystem-eraanh1f.js → filesystem-da6kr1wx.js} +5 -5
  93. package/dist/chunks/{filesystem-dkvg49fw.js → filesystem-dn7swrv3.js} +29 -29
  94. package/dist/chunks/{filesystem-y71avatq.js → filesystem-dpkg50ah.js} +3 -3
  95. package/dist/chunks/{filesystem-41k02yvh.js → filesystem-dq26kvy6.js} +16 -16
  96. package/dist/chunks/{filesystem-6bckx01s.js → filesystem-dzhcmde1.js} +5 -5
  97. package/dist/chunks/{filesystem-77xgrpmb.js → filesystem-e0tp7zzd.js} +21 -21
  98. package/dist/chunks/{filesystem-12v07r08.js → filesystem-e7tx2v0e.js} +8 -8
  99. package/dist/chunks/{filesystem-4jjph5sa.js → filesystem-e99qm4q4.js} +7 -7
  100. package/dist/chunks/{filesystem-0gdmqesm.js → filesystem-eaj1djv9.js} +7 -7
  101. package/dist/chunks/{filesystem-ntkt8hfw.js → filesystem-eb2yma87.js} +8 -8
  102. package/dist/chunks/{filesystem-sgm801mv.js → filesystem-eb4y5yy0.js} +25 -25
  103. package/dist/chunks/{filesystem-kh4cqp9s.js → filesystem-ecd1f3mq.js} +4 -4
  104. package/dist/chunks/{filesystem-2qxnj2tc.js → filesystem-ecfkvkmx.js} +10 -10
  105. package/dist/chunks/{filesystem-eh1r3epm.js → filesystem-ee5p72rr.js} +3 -3
  106. package/dist/chunks/{filesystem-kk05wj6g.js → filesystem-efttx8x1.js} +5 -5
  107. package/dist/chunks/{filesystem-2da2wngq.js → filesystem-epn31rr5.js} +6 -6
  108. package/dist/chunks/{filesystem-gx8gn256.js → filesystem-erhcz2jb.js} +25 -25
  109. package/dist/chunks/{filesystem-h85jpfa0.js → filesystem-es5dr4fw.js} +7 -7
  110. package/dist/chunks/{filesystem-8z6dw92s.js → filesystem-ethbh4z7.js} +16 -16
  111. package/dist/chunks/{filesystem-2f0bjgcj.js → filesystem-evbgk2k8.js} +3 -3
  112. package/dist/chunks/{filesystem-65tvvp9r.js → filesystem-ez02qrbp.js} +1 -1
  113. package/dist/chunks/{filesystem-6fatt4mk.js → filesystem-f7ehr2sm.js} +8 -8
  114. package/dist/chunks/{filesystem-kkdq4gv9.js → filesystem-fc5gyn3k.js} +8 -8
  115. package/dist/chunks/{filesystem-4xwhw091.js → filesystem-fgsjaxv0.js} +2 -2
  116. package/dist/chunks/{filesystem-9v4y56cw.js → filesystem-fm98w790.js} +8 -8
  117. package/dist/chunks/{filesystem-v36j07s8.js → filesystem-fpnq3hwf.js} +12 -12
  118. package/dist/chunks/{filesystem-trwj2ymr.js → filesystem-fsma24dd.js} +4 -4
  119. package/dist/chunks/{filesystem-ysg8hvve.js → filesystem-ftyr94h4.js} +28 -28
  120. package/dist/chunks/{filesystem-kjc7y5he.js → filesystem-fyvhdr9h.js} +7 -7
  121. package/dist/chunks/{filesystem-rzj44daq.js → filesystem-ga5yzwkb.js} +15 -15
  122. package/dist/chunks/{filesystem-q9sh34kg.js → filesystem-gb4851xq.js} +29 -29
  123. package/dist/chunks/{filesystem-k394pqej.js → filesystem-gea7vc3h.js} +4 -4
  124. package/dist/chunks/{filesystem-qm7jrdpz.js → filesystem-gft05b0a.js} +7 -7
  125. package/dist/chunks/{filesystem-n8dshb08.js → filesystem-h0vwgry8.js} +11 -11
  126. package/dist/chunks/{filesystem-6b0jwvmt.js → filesystem-haa1g6we.js} +27 -27
  127. package/dist/chunks/{filesystem-f828m53h.js → filesystem-hdnk95c8.js} +1 -1
  128. package/dist/chunks/{filesystem-f8rh72t3.js → filesystem-hfk3zaat.js} +9 -9
  129. package/dist/chunks/{filesystem-nhy5jxhy.js → filesystem-hjt4xg1x.js} +3 -3
  130. package/dist/chunks/{filesystem-sk6yq7gh.js → filesystem-jexxy024.js} +3 -3
  131. package/dist/chunks/{filesystem-r7yb2281.js → filesystem-jjf0vtdq.js} +10 -10
  132. package/dist/chunks/{filesystem-87c2hcfn.js → filesystem-jxn345vr.js} +16 -16
  133. package/dist/chunks/{filesystem-4xhf45yx.js → filesystem-k1j6gk9a.js} +6 -6
  134. package/dist/chunks/{filesystem-0z4fxwj8.js → filesystem-k2qtg38n.js} +27 -27
  135. package/dist/chunks/{filesystem-se105tye.js → filesystem-k6z5z3xm.js} +4 -4
  136. package/dist/chunks/{filesystem-4b4yfk1e.js → filesystem-ka7bdmkm.js} +41 -41
  137. package/dist/chunks/{filesystem-6a2hk3n2.js → filesystem-kdsged9e.js} +8 -8
  138. package/dist/chunks/{filesystem-4j9ew2rr.js → filesystem-kfs8rg3h.js} +1 -1
  139. package/dist/chunks/{filesystem-5wvv95xm.js → filesystem-ky7as88a.js} +19 -19
  140. package/dist/chunks/{filesystem-cfpkc3c9.js → filesystem-m0jqrx5p.js} +1 -1
  141. package/dist/chunks/{filesystem-45vv7gab.js → filesystem-m87kjwf8.js} +9 -9
  142. package/dist/chunks/{filesystem-1bbkgx8g.js → filesystem-mhkvc446.js} +2 -2
  143. package/dist/chunks/{filesystem-aycy0v5g.js → filesystem-mmgf1rqt.js} +10 -10
  144. package/dist/chunks/{filesystem-y88ze32q.js → filesystem-mrjzwcm0.js} +9 -9
  145. package/dist/chunks/{filesystem-dsqq6j4y.js → filesystem-mtd6x72z.js} +5 -5
  146. package/dist/chunks/{filesystem-nnwnj3kt.js → filesystem-myekw2gp.js} +10 -10
  147. package/dist/chunks/{filesystem-v5eees2g.js → filesystem-mz2wz6jn.js} +19 -19
  148. package/dist/chunks/{filesystem-rv6e4z41.js → filesystem-mzhavs24.js} +35 -35
  149. package/dist/chunks/{filesystem-axc3cb0n.js → filesystem-n7ghmjtx.js} +7 -7
  150. package/dist/chunks/{filesystem-zzzpg4zy.js → filesystem-n8v6jt5n.js} +11 -11
  151. package/dist/chunks/{filesystem-w9s2bh3f.js → filesystem-nbvvbhgb.js} +74 -74
  152. package/dist/chunks/{filesystem-jaqemzyz.js → filesystem-nhj3pk2g.js} +16 -16
  153. package/dist/chunks/{filesystem-p6hxwm8v.js → filesystem-nm2epvtw.js} +22 -22
  154. package/dist/chunks/{filesystem-hwma07pt.js → filesystem-nrtb1m71.js} +13 -13
  155. package/dist/chunks/{filesystem-wyzh7da2.js → filesystem-p0hmzt3n.js} +7 -7
  156. package/dist/chunks/{filesystem-zf0cgqdy.js → filesystem-p0ydpdje.js} +1 -1
  157. package/dist/chunks/{filesystem-gacr8fx6.js → filesystem-p5w9prz9.js} +24 -24
  158. package/dist/chunks/{filesystem-4fy5a9h5.js → filesystem-p6j6tyky.js} +17 -17
  159. package/dist/chunks/{filesystem-j935v87r.js → filesystem-paphc93g.js} +2 -2
  160. package/dist/chunks/{filesystem-th2mpfrx.js → filesystem-pbky73a2.js} +3 -3
  161. package/dist/chunks/{filesystem-p44d8wdy.js → filesystem-pecb0brz.js} +3 -3
  162. package/dist/chunks/{filesystem-zjyfgt6w.js → filesystem-pge2bfmc.js} +18 -18
  163. package/dist/chunks/{filesystem-0300fd29.js → filesystem-px514bpm.js} +19 -19
  164. package/dist/chunks/{filesystem-1x11rq2a.js → filesystem-q509s3k3.js} +4 -4
  165. package/dist/chunks/{filesystem-4zqmmk7v.js → filesystem-qen1jmg8.js} +32 -32
  166. package/dist/chunks/{filesystem-wbkyxrgf.js → filesystem-qjnxxf51.js} +3 -3
  167. package/dist/chunks/{filesystem-bkfa2z39.js → filesystem-re9amv7g.js} +163 -163
  168. package/dist/chunks/{filesystem-hr4rc9dq.js → filesystem-rfp29srv.js} +23 -23
  169. package/dist/chunks/{filesystem-xvkeykba.js → filesystem-rgrjgzhx.js} +18 -18
  170. package/dist/chunks/{filesystem-jay4nmce.js → filesystem-rgyfsfc5.js} +32 -32
  171. package/dist/chunks/filesystem-rh7ezj45.js +26 -0
  172. package/dist/chunks/{filesystem-87bjq7d8.js → filesystem-rk9hj1v7.js} +47 -47
  173. package/dist/chunks/{filesystem-x6aajhkr.js → filesystem-rnfn6xxq.js} +21 -21
  174. package/dist/chunks/{filesystem-gb7ervf3.js → filesystem-rph3zd4r.js} +5 -5
  175. package/dist/chunks/{filesystem-ndaapn5x.js → filesystem-rr25vpab.js} +8 -8
  176. package/dist/chunks/{filesystem-a9pdx8gz.js → filesystem-rvzfv4w1.js} +7 -7
  177. package/dist/chunks/{filesystem-a4kfj0a0.js → filesystem-rxdk16p3.js} +17 -17
  178. package/dist/chunks/{filesystem-ahnqppdj.js → filesystem-rxjvbk8n.js} +1 -1
  179. package/dist/chunks/{filesystem-jhvzetwt.js → filesystem-s9q5j7ef.js} +39 -39
  180. package/dist/chunks/{filesystem-r8dnm4fk.js → filesystem-sf0gthgt.js} +11 -11
  181. package/dist/chunks/{filesystem-25jf9b0a.js → filesystem-t000jqpf.js} +17 -17
  182. package/dist/chunks/{filesystem-6ck2t1rv.js → filesystem-t0x5rdq8.js} +7 -7
  183. package/dist/chunks/{filesystem-cj0ynpdk.js → filesystem-t15xvjkv.js} +16 -16
  184. package/dist/chunks/{filesystem-12v7y99v.js → filesystem-t7nbeyr2.js} +12 -12
  185. package/dist/chunks/{filesystem-g9mjxn54.js → filesystem-tdk2wfqj.js} +8 -8
  186. package/dist/chunks/{filesystem-h39eyz0q.js → filesystem-thcje0ms.js} +16 -16
  187. package/dist/chunks/{filesystem-88bvrjqm.js → filesystem-tj8y1zy0.js} +14 -14
  188. package/dist/chunks/{filesystem-1g7epwpd.js → filesystem-tkmwgdpd.js} +3 -3
  189. package/dist/chunks/{filesystem-0c4e0yvv.js → filesystem-tm94zk3c.js} +29 -29
  190. package/dist/chunks/{filesystem-gthqyac3.js → filesystem-tryb73nk.js} +3 -3
  191. package/dist/chunks/{filesystem-ey1y6cx4.js → filesystem-tv2fxbte.js} +7 -7
  192. package/dist/chunks/{filesystem-tpw6cwsb.js → filesystem-v4hmzr0r.js} +7 -7
  193. package/dist/chunks/{filesystem-c0msvw2j.js → filesystem-v7t6t3ee.js} +20 -20
  194. package/dist/chunks/filesystem-v8z7968n.js +247 -0
  195. package/dist/chunks/{filesystem-t1waf9zt.js → filesystem-vcybtvp5.js} +7 -7
  196. package/dist/chunks/{filesystem-m142jtgy.js → filesystem-vd431jt0.js} +10 -10
  197. package/dist/chunks/{filesystem-nkvjcq56.js → filesystem-vjstzn3j.js} +12 -12
  198. package/dist/chunks/{filesystem-gzxx6bgm.js → filesystem-vm9edkyf.js} +14 -14
  199. package/dist/chunks/{filesystem-em33emqj.js → filesystem-vywwb7xw.js} +1 -1
  200. package/dist/chunks/{filesystem-dsyn576s.js → filesystem-vz4k8wbp.js} +2 -2
  201. package/dist/chunks/{filesystem-wh1jz8sn.js → filesystem-w2w9rvzr.js} +44 -44
  202. package/dist/chunks/{filesystem-d7swqpa7.js → filesystem-w7cks01r.js} +16 -16
  203. package/dist/chunks/{filesystem-cqk3ba3b.js → filesystem-wbcpzrvz.js} +4 -4
  204. package/dist/chunks/{filesystem-pwxjd99w.js → filesystem-wcft5t0g.js} +17 -17
  205. package/dist/chunks/{filesystem-9grmh3gg.js → filesystem-wcy83pfm.js} +12 -12
  206. package/dist/chunks/{filesystem-sqhed6c7.js → filesystem-wprd8xj9.js} +16 -16
  207. package/dist/chunks/{filesystem-f0q97ex4.js → filesystem-wqntmd11.js} +6 -6
  208. package/dist/chunks/{filesystem-qwwrayhn.js → filesystem-x1cde7tm.js} +10 -10
  209. package/dist/chunks/{filesystem-n2g8w3nt.js → filesystem-x6h9ntm8.js} +25 -25
  210. package/dist/chunks/{filesystem-0vag3j8x.js → filesystem-xb3nqwnp.js} +60 -60
  211. package/dist/chunks/{filesystem-kqn78m91.js → filesystem-xb7w47hd.js} +9 -9
  212. package/dist/chunks/{filesystem-kzs1nj2w.js → filesystem-xbv0k4ba.js} +38 -38
  213. package/dist/chunks/{filesystem-w28ya9nv.js → filesystem-xez80017.js} +17 -17
  214. package/dist/chunks/{filesystem-rdfsynn7.js → filesystem-xg954myy.js} +5 -5
  215. package/dist/chunks/{filesystem-37jfsww8.js → filesystem-xrr0m7w9.js} +15 -15
  216. package/dist/chunks/{filesystem-18e56dsp.js → filesystem-xwwz9aqf.js} +3 -3
  217. package/dist/chunks/{filesystem-8czw5t31.js → filesystem-xxj3pgp3.js} +1 -1
  218. package/dist/chunks/{filesystem-yy6wawb8.js → filesystem-y3xz725g.js} +24 -24
  219. package/dist/chunks/{filesystem-nmedgzjr.js → filesystem-y45wrhxb.js} +6 -6
  220. package/dist/chunks/{filesystem-z2erpwqc.js → filesystem-y80z5qnm.js} +16 -16
  221. package/dist/chunks/{filesystem-2w43xsrz.js → filesystem-y9mn02hf.js} +10 -10
  222. package/dist/chunks/{filesystem-2ctqm5ex.js → filesystem-yawef6kw.js} +1 -1
  223. package/dist/chunks/{filesystem-qxe1e9q5.js → filesystem-ypz4327q.js} +3 -3
  224. package/dist/chunks/{filesystem-av40d20f.js → filesystem-yqtqx2tb.js} +1 -1
  225. package/dist/chunks/{filesystem-ks78zxsa.js → filesystem-yrr26vyh.js} +27 -27
  226. package/dist/chunks/{filesystem-60qw2sva.js → filesystem-yrz8q0k0.js} +5 -5
  227. package/dist/chunks/{filesystem-s4enseaf.js → filesystem-yrznvahk.js} +1 -1
  228. package/dist/chunks/{filesystem-bm5ycmby.js → filesystem-yvrn8c55.js} +9 -9
  229. package/dist/chunks/{filesystem-5y27wggs.js → filesystem-yx6mkdzk.js} +48 -48
  230. package/dist/chunks/{filesystem-8jt463w9.js → filesystem-z2708axn.js} +27 -27
  231. package/dist/chunks/{filesystem-29x78va6.js → filesystem-z63w68vq.js} +4 -4
  232. package/dist/chunks/{filesystem-rnm8ebdw.js → filesystem-zb3fmyt6.js} +300 -300
  233. package/dist/chunks/{filesystem-cdt344wa.js → filesystem-zdx06d9s.js} +32 -32
  234. package/dist/chunks/{filesystem-f8gcejx1.js → filesystem-zqngs88h.js} +12 -12
  235. package/dist/chunks/{filesystem-9ewzbff8.js → filesystem-zshj55xc.js} +23 -23
  236. package/dist/chunks/{filesystem-hn57h045.js → filesystem-zvt5dnpc.js} +3 -3
  237. package/dist/codemode/instructions.js +6 -6
  238. package/dist/command.js +67 -67
  239. package/dist/config/discovery.js +61 -61
  240. package/dist/config/normalize.js +16 -16
  241. package/dist/config/plugin/agent.js +95 -95
  242. package/dist/config/plugin/command.js +180 -180
  243. package/dist/config/plugin/compaction.js +133 -133
  244. package/dist/config/plugin/compatibility.js +111 -111
  245. package/dist/config/plugin/formatter.js +94 -94
  246. package/dist/config/plugin/image.js +93 -93
  247. package/dist/config/plugin/instruction.js +68 -68
  248. package/dist/config/plugin/location-watcher.js +93 -93
  249. package/dist/config/plugin/mcp.js +101 -101
  250. package/dist/config/plugin/policy.js +92 -92
  251. package/dist/config/plugin/provider.js +91 -91
  252. package/dist/config/plugin/reference.js +94 -94
  253. package/dist/config/plugin/shell.js +95 -95
  254. package/dist/config/plugin/skill-file.js +77 -77
  255. package/dist/config/plugin/skill.js +114 -114
  256. package/dist/config/plugin/snapshot.js +93 -93
  257. package/dist/config/plugin/source.js +95 -95
  258. package/dist/config/plugin/tool-output.js +95 -95
  259. package/dist/config/plugin/websearch.js +93 -93
  260. package/dist/config/plugin/worktree.js +96 -96
  261. package/dist/config/variable.js +2 -2
  262. package/dist/config.js +98 -98
  263. package/dist/credential.js +67 -67
  264. package/dist/database/database.js +51 -51
  265. package/dist/database/drizzle/effect-sqlite/driver.js +10 -10
  266. package/dist/database/drizzle/effect-sqlite/index.js +6 -6
  267. package/dist/database/drizzle/effect-sqlite/session.js +7 -7
  268. package/dist/database/drizzle/index.js +11 -11
  269. package/dist/database/drizzle/sqlite-core/effect/db.js +5 -5
  270. package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
  271. package/dist/database/drizzle/sqlite-core/effect/session.js +6 -6
  272. package/dist/database/drizzle.js +11 -11
  273. package/dist/database/migration.gen.js +35 -35
  274. package/dist/database/migration.js +36 -36
  275. package/dist/database/v1-migration.bun.js +11 -11
  276. package/dist/effect/app-node-builder.js +242 -242
  277. package/dist/effect/keyed-mutex.js +3 -3
  278. package/dist/environment/environment.js +68 -68
  279. package/dist/environment/index.js +70 -70
  280. package/dist/event-logger.js +10 -10
  281. package/dist/file-access.js +80 -80
  282. package/dist/file-mutation.js +69 -69
  283. package/dist/filesystem/location-watcher-policy.js +5 -5
  284. package/dist/filesystem/location-watcher.js +190 -190
  285. package/dist/filesystem/search.js +77 -77
  286. package/dist/filesystem/watcher-binding.js +3 -3
  287. package/dist/filesystem/watcher.js +14 -14
  288. package/dist/filesystem.js +76 -76
  289. package/dist/form.js +68 -68
  290. package/dist/formatter/builtins.js +3 -3
  291. package/dist/formatter.js +68 -68
  292. package/dist/generate.js +75 -75
  293. package/dist/git.js +6 -6
  294. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +4 -4
  295. package/dist/github-copilot/copilot-provider.js +3 -3
  296. package/dist/github-copilot/models.js +3 -3
  297. package/dist/github-copilot/responses/openai-responses-language-model.js +5 -5
  298. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +4 -4
  299. package/dist/image/photon.js +1 -1
  300. package/dist/image.js +5 -5
  301. package/dist/instance/service.js +5 -5
  302. package/dist/instance.js +313 -313
  303. package/dist/instruction-discovery.js +68 -68
  304. package/dist/instructions/builtins.js +66 -66
  305. package/dist/instructions/index.js +5 -5
  306. package/dist/integration.js +70 -70
  307. package/dist/job.js +61 -61
  308. package/dist/kv.js +56 -56
  309. package/dist/location-activity.js +59 -59
  310. package/dist/location-mutation.js +35 -35
  311. package/dist/location-service-map.js +65 -65
  312. package/dist/location-services.js +310 -310
  313. package/dist/location.js +68 -68
  314. package/dist/mcp/client.js +20 -20
  315. package/dist/mcp/index.js +81 -81
  316. package/dist/mcp/instructions.js +95 -95
  317. package/dist/mcp/stdio.js +65 -65
  318. package/dist/modal/models.js +3 -3
  319. package/dist/model-resolver.js +70 -70
  320. package/dist/model.js +8 -8
  321. package/dist/models-dev.js +70 -70
  322. package/dist/permission/saved.js +65 -65
  323. package/dist/permission/sql.js +3 -3
  324. package/dist/permission.js +87 -87
  325. package/dist/persistent-pty/index.js +68 -68
  326. package/dist/persistent-pty.js +56 -56
  327. package/dist/plugin/agent.js +80 -80
  328. package/dist/plugin/command.js +76 -76
  329. package/dist/plugin/hooks.js +5 -5
  330. package/dist/plugin/host.js +183 -183
  331. package/dist/plugin/instance.js +5 -5
  332. package/dist/plugin/internal.js +285 -285
  333. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  334. package/dist/plugin/models-dev.js +59 -59
  335. package/dist/plugin/module.js +5 -5
  336. package/dist/plugin/optimize.js +4 -4
  337. package/dist/plugin/plan.js +78 -78
  338. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  339. package/dist/plugin/provider/azure.js +95 -95
  340. package/dist/plugin/provider/cerebras.js +2 -2
  341. package/dist/plugin/provider/cloudflare-ai-gateway.js +95 -95
  342. package/dist/plugin/provider/cloudflare-workers-ai.js +95 -95
  343. package/dist/plugin/provider/configured.js +93 -93
  344. package/dist/plugin/provider/digitalocean.js +62 -62
  345. package/dist/plugin/provider/github-copilot.js +64 -64
  346. package/dist/plugin/provider/gitlab.js +3 -3
  347. package/dist/plugin/provider/google-vertex.js +2 -2
  348. package/dist/plugin/provider/kilo.js +2 -2
  349. package/dist/plugin/provider/llmgateway.js +60 -60
  350. package/dist/plugin/provider/lmstudio.js +96 -96
  351. package/dist/plugin/provider/modal.js +63 -63
  352. package/dist/plugin/provider/nvidia.js +2 -2
  353. package/dist/plugin/provider/ollama.js +96 -96
  354. package/dist/plugin/provider/openai.js +63 -63
  355. package/dist/plugin/provider/opencode.js +62 -62
  356. package/dist/plugin/provider/openrouter.js +3 -3
  357. package/dist/plugin/provider/poe.js +59 -59
  358. package/dist/plugin/provider/sap-ai-core.js +2 -2
  359. package/dist/plugin/provider/snowflake-cortex.js +95 -95
  360. package/dist/plugin/provider/vercel.js +2 -2
  361. package/dist/plugin/provider/vllm.js +96 -96
  362. package/dist/plugin/provider/xai.js +61 -61
  363. package/dist/plugin/provider/zenmux.js +2 -2
  364. package/dist/plugin/provider.js +129 -129
  365. package/dist/plugin/sdk.js +58 -58
  366. package/dist/plugin/service.js +3 -3
  367. package/dist/plugin/skill.js +112 -112
  368. package/dist/plugin/supervisor.js +302 -302
  369. package/dist/plugin/update.js +6 -6
  370. package/dist/plugin/variant.js +4 -4
  371. package/dist/plugin/vcs/git.js +65 -65
  372. package/dist/plugin/vcs/hg.js +65 -65
  373. package/dist/plugin/warming.js +91 -91
  374. package/dist/plugin/websearch/exa.js +6 -6
  375. package/dist/plugin/websearch/firecrawl.js +7 -7
  376. package/dist/plugin/websearch/index.js +8 -8
  377. package/dist/plugin/websearch/mcp.js +3 -3
  378. package/dist/plugin/websearch/parallel.js +7 -7
  379. package/dist/plugin/websearch/tavily.js +6 -6
  380. package/dist/plugin/websearch/tinyfish.js +7 -7
  381. package/dist/plugin.js +194 -194
  382. package/dist/project/schema.js +7 -7
  383. package/dist/project/sql.js +2 -2
  384. package/dist/project.js +69 -69
  385. package/dist/provider.js +5 -5
  386. package/dist/pty/schema.js +3 -3
  387. package/dist/pty.js +74 -74
  388. package/dist/reference/instructions.js +66 -66
  389. package/dist/reference.js +68 -68
  390. package/dist/repository-cache.js +61 -61
  391. package/dist/ripgrep.js +70 -70
  392. package/dist/rpc.js +65 -65
  393. package/dist/session/command.js +58 -58
  394. package/dist/session/compaction.js +105 -105
  395. package/dist/session/context.js +120 -120
  396. package/dist/session/diff.js +66 -66
  397. package/dist/session/environment.js +5 -5
  398. package/dist/session/error.js +4 -4
  399. package/dist/session/execution/restart.js +121 -121
  400. package/dist/session/execution.js +103 -103
  401. package/dist/session/generate.js +121 -121
  402. package/dist/session/history.js +11 -11
  403. package/dist/session/inbox.js +68 -68
  404. package/dist/session/info.js +2 -2
  405. package/dist/session/instruction-entry.js +62 -62
  406. package/dist/session/instruction-state.js +5 -5
  407. package/dist/session/instructions.js +74 -74
  408. package/dist/session/model-request.js +92 -92
  409. package/dist/session/model-transport.js +7 -7
  410. package/dist/session/move.js +106 -106
  411. package/dist/session/projector.js +65 -65
  412. package/dist/session/prompt.js +81 -81
  413. package/dist/session/provider-context.js +3 -3
  414. package/dist/session/revert.js +67 -67
  415. package/dist/session/run-coordinator.js +3 -3
  416. package/dist/session/runner/index.js +3 -3
  417. package/dist/session/runner/llm.js +193 -193
  418. package/dist/session/runner/model.js +70 -70
  419. package/dist/session/runner/retry.js +91 -91
  420. package/dist/session/runner/step.js +98 -98
  421. package/dist/session/runner/to-llm-message.js +2 -2
  422. package/dist/session/schema.js +5 -5
  423. package/dist/session/session.js +142 -142
  424. package/dist/session/shell.js +105 -105
  425. package/dist/session/skill.js +79 -79
  426. package/dist/session/sql.js +3 -3
  427. package/dist/session/stats.js +10 -10
  428. package/dist/session/store.js +68 -68
  429. package/dist/session/subagent-job.js +176 -176
  430. package/dist/session/system-prompt.js +3 -3
  431. package/dist/session/title.js +123 -123
  432. package/dist/session/to-session-error.js +88 -88
  433. package/dist/session/transfer.js +118 -118
  434. package/dist/session.js +178 -178
  435. package/dist/shell/parse.js +3 -3
  436. package/dist/shell/select.js +7 -7
  437. package/dist/shell.js +106 -106
  438. package/dist/skill/discovery.js +5 -5
  439. package/dist/skill/instructions.js +79 -79
  440. package/dist/skill.js +88 -88
  441. package/dist/snapshot.js +68 -68
  442. package/dist/tool/mcp.js +92 -92
  443. package/dist/tool/plugin/edit.js +91 -91
  444. package/dist/tool/plugin/glob.js +91 -91
  445. package/dist/tool/plugin/grep.js +95 -95
  446. package/dist/tool/plugin/opencode.js +3 -3
  447. package/dist/tool/plugin/patch.js +93 -93
  448. package/dist/tool/plugin/question.js +79 -79
  449. package/dist/tool/plugin/read.js +96 -96
  450. package/dist/tool/plugin/shell.js +184 -184
  451. package/dist/tool/plugin/skill.js +89 -89
  452. package/dist/tool/plugin/subagent.js +179 -179
  453. package/dist/tool/plugin/webfetch.js +84 -84
  454. package/dist/tool/plugin/websearch.js +90 -90
  455. package/dist/tool/plugin/write.js +91 -91
  456. package/dist/tool/read-filesystem.js +71 -71
  457. package/dist/tool-output.js +6 -6
  458. package/dist/tool.js +3 -3
  459. package/dist/v1/config/agent.js +6 -6
  460. package/dist/v1/config/attachment.js +3 -3
  461. package/dist/v1/config/command.js +3 -3
  462. package/dist/v1/config/config.js +14 -14
  463. package/dist/v1/config/error.js +3 -3
  464. package/dist/v1/config/formatter.js +7 -7
  465. package/dist/v1/config/lsp.js +5 -5
  466. package/dist/v1/config/mcp.js +3 -3
  467. package/dist/v1/config/migrate.js +3 -3
  468. package/dist/v1/config/permission.js +7 -7
  469. package/dist/v1/config/plugin.js +3 -3
  470. package/dist/v1/config/provider.js +3 -3
  471. package/dist/v1/config/skills.js +3 -3
  472. package/dist/vcs.js +68 -68
  473. package/dist/websearch.js +66 -66
  474. package/dist/wellknown/plugin.js +58 -58
  475. package/dist/wellknown.js +61 -61
  476. package/dist/workspace/driver.js +5 -5
  477. package/dist/workspace.js +64 -64
  478. package/dist/worktree/git.js +5 -5
  479. package/dist/worktree/refresh.js +301 -301
  480. package/dist/worktree/sql.js +3 -3
  481. package/dist/worktree.js +73 -73
  482. package/package.json +8 -8
  483. package/dist/chunks/filesystem-0mesazry.js +0 -4
  484. package/dist/chunks/filesystem-cfbhz4sy.js +0 -26
  485. package/dist/chunks/filesystem-kshn8saw.js +0 -247
  486. /package/dist/chunks/{filesystem-kay20y4r.js → filesystem-4v46yx8e.js} +0 -0
  487. /package/dist/chunks/{filesystem-0dfv01xh.js → filesystem-5nrew705.js} +0 -0
  488. /package/dist/chunks/{filesystem-8p4f9s12.js → filesystem-dj2t23y0.js} +0 -0
  489. /package/dist/chunks/{filesystem-rwdrjh9g.js → filesystem-nyr44rzh.js} +0 -0
  490. /package/dist/chunks/{filesystem-mrrn9raq.js → filesystem-yzpfgjrz.js} +0 -0
@@ -14,13 +14,13 @@ import {
14
14
  makeMemoryDriver2
15
15
  } from "./filesystem-aaet6srn.js";
16
16
  import {
17
- Service68,
18
- node73
19
- } from "./filesystem-8z6dw92s.js";
17
+ Service76,
18
+ node81
19
+ } from "./filesystem-ethbh4z7.js";
20
20
  import {
21
- Service66,
22
- node70
23
- } from "./filesystem-xn99z6n2.js";
21
+ Service72,
22
+ node76
23
+ } from "./filesystem-2ah6ycde.js";
24
24
  import {
25
25
  __export
26
26
  } from "./filesystem-9rqn6x4v.js";
@@ -29,8 +29,8 @@ import {
29
29
  var exports_environment2 = {};
30
30
  __export(exports_environment2, {
31
31
  EnvironmentService: () => exports_environment2,
32
- Service: () => Service65,
33
- node: () => node69
32
+ Service: () => Service71,
33
+ node: () => node75
34
34
  });
35
35
  import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
36
36
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -43,13 +43,13 @@ __export(exports_environment3, {
43
43
  Environment: () => exports_environment3,
44
44
  Failed: () => Failed2,
45
45
  NotFound: () => NotFound2,
46
- Service: () => Service65,
46
+ Service: () => Service71,
47
47
  WrongKind: () => WrongKind2,
48
48
  execDefaults: () => execDefaults2,
49
49
  makeFiles: () => makeFiles2,
50
50
  makeLocalDriver: () => makeLocalDriver2,
51
51
  makeMemoryDriver: () => makeMemoryDriver2,
52
- node: () => node69,
52
+ node: () => node75,
53
53
  typeFollowing: () => typeFollowing2
54
54
  });
55
55
  var makeFiles2 = (driver) => ({
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
58
58
  });
59
59
 
60
60
  // src/environment/environment.ts
61
- class Service65 extends Context.Service()("@opencode/Environment") {
61
+ class Service71 extends Context.Service()("@opencode/Environment") {
62
62
  }
63
- var layer = Layer.effect(Service65, Effect.gen(function* () {
63
+ var layer = Layer.effect(Service71, Effect.gen(function* () {
64
64
  const spawner = yield* ChildProcessSpawner;
65
- const location = yield* Service68;
66
- const workspace = yield* Service66;
65
+ const location = yield* Service76;
66
+ const workspace = yield* Service72;
67
67
  const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
68
- return Service65.of({ files: makeFiles2(driver), spawner: driver.spawner });
68
+ return Service71.of({ files: makeFiles2(driver), spawner: driver.spawner });
69
69
  }));
70
- var node69 = makeLocationNode({
71
- service: Service65,
70
+ var node75 = makeLocationNode({
71
+ service: Service71,
72
72
  layer,
73
- deps: [CrossSpawnSpawner.node, node73, node70]
73
+ deps: [CrossSpawnSpawner.node, node81, node76]
74
74
  });
75
75
 
76
- export { Service65, node69, exports_environment2, makeFiles2, exports_environment3 };
76
+ export { Service71, node75, exports_environment2, makeFiles2, exports_environment3 };
@@ -1,42 +1,42 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./filesystem-4xwhw091.js";
4
+ } from "./filesystem-fgsjaxv0.js";
5
5
  import {
6
6
  Service79,
7
7
  node84
8
- } from "./filesystem-dsyn576s.js";
8
+ } from "./filesystem-vz4k8wbp.js";
9
9
  import {
10
- Service42,
11
- node45
12
- } from "./filesystem-gzxx6bgm.js";
10
+ Service49,
11
+ node53
12
+ } from "./filesystem-vm9edkyf.js";
13
13
  import {
14
- Service41,
15
- node44
16
- } from "./filesystem-3c1tgrea.js";
14
+ Service46,
15
+ node50
16
+ } from "./filesystem-7bnzk546.js";
17
17
  import {
18
18
  SessionEvent2
19
19
  } from "./filesystem-ec1grn59.js";
20
20
  import {
21
- make15
22
- } from "./filesystem-f2n192rq.js";
21
+ make17
22
+ } from "./filesystem-1acjjqhc.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service38
26
- } from "./filesystem-hn57h045.js";
25
+ Service44
26
+ } from "./filesystem-zvt5dnpc.js";
27
27
  import {
28
28
  UserInterruptedError2
29
- } from "./filesystem-6bckx01s.js";
29
+ } from "./filesystem-dzhcmde1.js";
30
30
  import {
31
- Service45,
32
- node48
33
- } from "./filesystem-jacaeees.js";
31
+ Service55,
32
+ node59
33
+ } from "./filesystem-8akv9m9x.js";
34
34
  import {
35
35
  toSessionError2
36
- } from "./filesystem-cqk3ba3b.js";
36
+ } from "./filesystem-wbcpzrvz.js";
37
37
  import {
38
38
  nextPromotable2
39
- } from "./filesystem-krhdd13z.js";
39
+ } from "./filesystem-975yhv65.js";
40
40
  import {
41
41
  __export
42
42
  } from "./filesystem-9rqn6x4v.js";
@@ -44,16 +44,16 @@ import {
44
44
  // src/session/execution.ts
45
45
  var exports_execution = {};
46
46
  __export(exports_execution, {
47
- Service: () => Service37,
47
+ Service: () => Service43,
48
48
  SessionExecution: () => exports_execution,
49
- layer: () => layer15,
50
- node: () => node41,
49
+ layer: () => layer18,
50
+ node: () => node48,
51
51
  noopLayer: () => noopLayer2,
52
52
  terminal: () => terminal2
53
53
  });
54
54
  import { Cause, Context, Effect, Exit, Layer } from "effect";
55
55
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
56
- class Service37 extends Context.Service()("@opencode/SessionExecution") {
56
+ class Service43 extends Context.Service()("@opencode/SessionExecution") {
57
57
  }
58
58
  function terminal2(exit, reason) {
59
59
  if (Exit.isSuccess(exit))
@@ -65,11 +65,11 @@ function terminal2(exit, reason) {
65
65
  return { type: "interrupted", reason: "user" };
66
66
  return { type: "failed", error: toSessionError2(failure) };
67
67
  }
68
- var layer15 = Layer.effect(Service37, Effect.gen(function* () {
69
- const store = yield* Service45;
70
- const instances = yield* Service41;
68
+ var layer18 = Layer.effect(Service43, Effect.gen(function* () {
69
+ const store = yield* Service55;
70
+ const instances = yield* Service46;
71
71
  const bus = yield* Service79;
72
- const jobs = yield* Service42;
72
+ const jobs = yield* Service49;
73
73
  const db = (yield* Service80).db;
74
74
  const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
75
75
  const claimOnCommit = (sessionID) => ({
@@ -82,13 +82,13 @@ var layer15 = Layer.effect(Service37, Effect.gen(function* () {
82
82
  const session = yield* store.get(sessionID);
83
83
  if (!session)
84
84
  return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
85
- const result = yield* Service38.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
85
+ const result = yield* Service44.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
86
86
  return yield* DrainResult2.$match(result, {
87
87
  Complete: () => Effect.void,
88
88
  Moved: (result) => drain(sessionID, false, result.continuation, promotable)
89
89
  });
90
90
  });
91
- const coordinator = yield* make15({
91
+ const coordinator = yield* make17({
92
92
  started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
93
93
  drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
94
94
  settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
@@ -109,7 +109,7 @@ var layer15 = Layer.effect(Service37, Effect.gen(function* () {
109
109
  }, releaseOnCommit(sessionID));
110
110
  }))
111
111
  });
112
- return Service37.of({
112
+ return Service43.of({
113
113
  active: coordinator.active,
114
114
  isActive: coordinator.isActive,
115
115
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -128,12 +128,12 @@ var layer15 = Layer.effect(Service37, Effect.gen(function* () {
128
128
  awaitIdle: coordinator.awaitIdle
129
129
  });
130
130
  }));
131
- var node41 = makeGlobalNode({
132
- service: Service37,
133
- layer: layer15,
134
- deps: [node48, node44, node84, node85, node45]
131
+ var node48 = makeGlobalNode({
132
+ service: Service43,
133
+ layer: layer18,
134
+ deps: [node59, node50, node84, node85, node53]
135
135
  });
136
- var noopLayer2 = Layer.succeed(Service37, Service37.of({
136
+ var noopLayer2 = Layer.succeed(Service43, Service43.of({
137
137
  active: Effect.succeed(new Set),
138
138
  isActive: () => Effect.succeed(false),
139
139
  resume: () => Effect.void,
@@ -142,4 +142,4 @@ var noopLayer2 = Layer.succeed(Service37, Service37.of({
142
142
  awaitIdle: () => Effect.void
143
143
  }));
144
144
 
145
- export { Service37, terminal2, layer15, node41, noopLayer2, exports_execution };
145
+ export { Service43, terminal2, layer18, node48, noopLayer2, exports_execution };
@@ -9,11 +9,11 @@ import {
9
9
  chunksByFile2
10
10
  } from "./filesystem-tazgh4e4.js";
11
11
  import {
12
- Service68
13
- } from "./filesystem-8z6dw92s.js";
12
+ Service76
13
+ } from "./filesystem-ethbh4z7.js";
14
14
  import {
15
15
  DiffError2
16
- } from "./filesystem-w28ya9nv.js";
16
+ } from "./filesystem-xez80017.js";
17
17
  import {
18
18
  __export
19
19
  } from "./filesystem-9rqn6x4v.js";
@@ -21,7 +21,7 @@ import {
21
21
  // src/plugin/vcs/hg.ts
22
22
  var exports_hg = {};
23
23
  __export(exports_hg, {
24
- Plugin: () => Plugin33,
24
+ Plugin: () => Plugin17,
25
25
  VcsHgPlugin: () => exports_hg
26
26
  });
27
27
  import path from "path";
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/unstable/process";
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { FSUtil } from "@opencode/util/fs-util";
32
32
  import { AppProcess } from "@opencode/util/process";
33
- var Plugin33 = define({
33
+ var Plugin17 = define({
34
34
  id: "opencode.vcs.hg",
35
35
  effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
36
- const location = yield* Service68;
36
+ const location = yield* Service76;
37
37
  if (location.vcs?.type !== "hg")
38
38
  return;
39
39
  const processes = yield* AppProcess.Service;
@@ -188,4 +188,4 @@ function makeHg(proc, worktree) {
188
188
  return { status, diff, branch, ancestor, cat };
189
189
  }
190
190
 
191
- export { Plugin33, exports_hg };
191
+ export { Plugin17, exports_hg };
@@ -4,9 +4,9 @@ import {
4
4
  RelativePath2
5
5
  } from "./filesystem-922hggd3.js";
6
6
  import {
7
- Service65,
8
- node69
9
- } from "./filesystem-v5eees2g.js";
7
+ Service71,
8
+ node75
9
+ } from "./filesystem-mz2wz6jn.js";
10
10
  import {
11
11
  RipgrepBinary2
12
12
  } from "./filesystem-8d7r5vzw.js";
@@ -20,8 +20,8 @@ __export(exports_ripgrep, {
20
20
  Error: () => Error3,
21
21
  InvalidPatternError: () => InvalidPatternError2,
22
22
  Ripgrep: () => exports_ripgrep,
23
- Service: () => Service61,
24
- node: () => node65
23
+ Service: () => Service70,
24
+ node: () => node74
25
25
  });
26
26
  import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
27
27
  import { ChildProcess } from "effect/unstable/process";
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
58
58
  }) {
59
59
  }
60
60
 
61
- class Service61 extends Context.Service()("@opencode/Ripgrep") {
61
+ class Service70 extends Context.Service()("@opencode/Ripgrep") {
62
62
  }
63
63
  var failure = (message, cause) => new Error3({ message, cause });
64
64
  var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
65
65
  var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
66
- var layer = Layer.effect(Service61, Effect.gen(function* () {
67
- const environment = yield* Service65;
66
+ var layer = Layer.effect(Service70, Effect.gen(function* () {
67
+ const environment = yield* Service71;
68
68
  const binary = yield* RipgrepBinary2.Service;
69
69
  const run = (input) => {
70
70
  const program = Effect.scoped(Effect.gen(function* () {
@@ -92,7 +92,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
92
92
  const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
93
93
  return abortable.pipe(Effect.mapError((cause) => cause instanceof Error3 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
94
94
  };
95
- return Service61.of({
95
+ return Service70.of({
96
96
  glob: (input) => run({
97
97
  cwd: input.cwd,
98
98
  limit: input.limit,
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
175
175
  }))))
176
176
  });
177
177
  }));
178
- var node65 = makeLocationNode({ service: Service61, layer, deps: [node69, RipgrepBinary2.node] });
178
+ var node74 = makeLocationNode({ service: Service70, layer, deps: [node75, RipgrepBinary2.node] });
179
179
 
180
- export { Error3, InvalidPatternError2, Service61, node65, exports_ripgrep };
180
+ export { Error3, InvalidPatternError2, Service70, node74, exports_ripgrep };
@@ -1,54 +1,54 @@
1
1
  import {
2
- ID7,
3
- Info10,
2
+ ID11,
3
+ Info25,
4
4
  SessionSchema2
5
- } from "./filesystem-sk6yq7gh.js";
5
+ } from "./filesystem-jexxy024.js";
6
6
  import {
7
7
  RelativePath2
8
8
  } from "./filesystem-922hggd3.js";
9
9
  import {
10
10
  Service80,
11
11
  node85
12
- } from "./filesystem-4xwhw091.js";
12
+ } from "./filesystem-fgsjaxv0.js";
13
13
  import {
14
14
  isSynced2,
15
15
  Service79,
16
16
  node84
17
- } from "./filesystem-dsyn576s.js";
17
+ } from "./filesystem-vz4k8wbp.js";
18
18
  import {
19
- Service69,
20
- node74
21
- } from "./filesystem-jhvzetwt.js";
19
+ Service77,
20
+ node82
21
+ } from "./filesystem-s9q5j7ef.js";
22
22
  import {
23
- Service41,
24
- node44
25
- } from "./filesystem-3c1tgrea.js";
23
+ Service46,
24
+ node50
25
+ } from "./filesystem-7bnzk546.js";
26
26
  import {
27
27
  SessionEvent2
28
28
  } from "./filesystem-ec1grn59.js";
29
29
  import {
30
30
  SessionMessageTable2
31
- } from "./filesystem-a1bz86dw.js";
31
+ } from "./filesystem-5c4hm403.js";
32
32
  import {
33
- node42
34
- } from "./filesystem-krhdd13z.js";
33
+ node49
34
+ } from "./filesystem-975yhv65.js";
35
35
  import {
36
36
  current2
37
- } from "./filesystem-vkxpz7g2.js";
37
+ } from "./filesystem-2tfmgkzg.js";
38
38
  import {
39
39
  snapshot2
40
- } from "./filesystem-jaqemzyz.js";
40
+ } from "./filesystem-nhj3pk2g.js";
41
41
  import {
42
42
  Slug2
43
43
  } from "./filesystem-gebd4c9n.js";
44
44
  import {
45
45
  SessionAlreadyProjected2,
46
- node23
47
- } from "./filesystem-2w43xsrz.js";
46
+ node24
47
+ } from "./filesystem-y9mn02hf.js";
48
48
  import {
49
49
  Metadata2,
50
- node61
51
- } from "./filesystem-t6xgqy70.js";
50
+ node42
51
+ } from "./filesystem-2b6sywcb.js";
52
52
  import {
53
53
  NotFoundError6,
54
54
  MessageNotFoundError2,
@@ -61,55 +61,55 @@ import {
61
61
  BusyError2,
62
62
  InboxConflictError2,
63
63
  SkillNotFoundError2
64
- } from "./filesystem-6bckx01s.js";
64
+ } from "./filesystem-dzhcmde1.js";
65
65
  import {
66
- ListInput4,
67
- Service45,
68
- node48
69
- } from "./filesystem-jacaeees.js";
66
+ ListInput3,
67
+ Service55,
68
+ node59
69
+ } from "./filesystem-8akv9m9x.js";
70
70
  import {
71
- Service42,
72
- node45
73
- } from "./filesystem-gzxx6bgm.js";
71
+ Service49,
72
+ node53
73
+ } from "./filesystem-vm9edkyf.js";
74
74
  import {
75
- Service37,
76
- node41
77
- } from "./filesystem-rv6e4z41.js";
75
+ Service43,
76
+ node48
77
+ } from "./filesystem-mzhavs24.js";
78
78
  import {
79
79
  llmClient2
80
80
  } from "./filesystem-5t3nmthw.js";
81
81
  import {
82
- Service29,
83
- node33
84
- } from "./filesystem-caw866h7.js";
82
+ Service27,
83
+ node31
84
+ } from "./filesystem-3bxse654.js";
85
85
  import {
86
86
  generate3
87
- } from "./filesystem-ayp6cqfq.js";
87
+ } from "./filesystem-57v6fmny.js";
88
88
  import {
89
89
  execute2
90
- } from "./filesystem-h85jpfa0.js";
90
+ } from "./filesystem-es5dr4fw.js";
91
91
  import {
92
- Service56,
93
- node59
94
- } from "./filesystem-abe16e6q.js";
92
+ Service53,
93
+ node57
94
+ } from "./filesystem-5ctrep3m.js";
95
95
  import {
96
96
  DestinationNotFoundError2,
97
97
  DestinationNotDirectoryError2,
98
98
  DestinationUnavailableError2,
99
- Service18,
100
- node22
101
- } from "./filesystem-5y27wggs.js";
99
+ Service19,
100
+ node23
101
+ } from "./filesystem-yx6mkdzk.js";
102
102
  import {
103
- Service33,
104
- node37
105
- } from "./filesystem-23279rje.js";
103
+ Service31,
104
+ node35
105
+ } from "./filesystem-703jyx7f.js";
106
106
  import {
107
- make12
108
- } from "./filesystem-6b0jwvmt.js";
107
+ make13
108
+ } from "./filesystem-haa1g6we.js";
109
109
  import {
110
110
  TurnRangeError2,
111
111
  turn2
112
- } from "./filesystem-q8qk0cpb.js";
112
+ } from "./filesystem-75va9qk2.js";
113
113
  import {
114
114
  __export
115
115
  } from "./filesystem-9rqn6x4v.js";
@@ -123,9 +123,9 @@ __export(exports_session, {
123
123
  DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
124
124
  DestinationNotFoundError: () => DestinationNotFoundError2,
125
125
  DestinationUnavailableError: () => DestinationUnavailableError2,
126
- ID: () => ID7,
126
+ ID: () => ID11,
127
127
  InboxConflictError: () => InboxConflictError2,
128
- Info: () => Info10,
128
+ Info: () => Info25,
129
129
  ListAnchor: () => ListAnchor2,
130
130
  ListInput: () => ListInput2,
131
131
  MessageDecodeError: () => MessageDecodeError2,
@@ -148,7 +148,7 @@ import { Model } from "@opencode/schema/model";
148
148
  import path from "path";
149
149
  import { Node } from "@opencode/util/effect/app-node";
150
150
  import { FSUtil } from "@opencode/util/fs-util";
151
- var ListInput2 = ListInput4;
151
+ var ListInput2 = ListInput3;
152
152
  class Service17 extends Context.Service()("@opencode/Session") {
153
153
  }
154
154
  var layer = Layer.effect(Service17, Effect.gen(function* () {
@@ -156,17 +156,17 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
156
156
  const database = yield* Service80;
157
157
  const db = database.db;
158
158
  const bus = yield* Service79;
159
- const projects = yield* Service69;
160
- const execution = yield* Service37;
159
+ const projects = yield* Service77;
160
+ const execution = yield* Service43;
161
161
  const llm = yield* LLMClient.Service;
162
- const transport = yield* Service29;
163
- const store = yield* Service45;
164
- const instances = yield* Service41;
165
- const moves = yield* Service18;
166
- const jobs = yield* Service42;
167
- const environments = yield* Service33;
168
- const locations = yield* Service56;
169
- const sessions = yield* make12();
162
+ const transport = yield* Service27;
163
+ const store = yield* Service55;
164
+ const instances = yield* Service46;
165
+ const moves = yield* Service19;
166
+ const jobs = yield* Service49;
167
+ const environments = yield* Service31;
168
+ const locations = yield* Service53;
169
+ const sessions = yield* make13();
170
170
  const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
171
171
  const result = Service17.of({
172
172
  create: Effect.fn("Session.create")(function* (input) {
@@ -281,11 +281,11 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
281
281
  prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
282
282
  generate: Effect.fn("Session.generate")(function* (input) {
283
283
  const session = yield* result.get(input.sessionID);
284
- return yield* generate3({ session, prompt: input.prompt }).pipe(Effect.provideService(Service41, instances), Effect.provideService(Service80, database), Effect.provideService(LLMClient.Service, llm));
284
+ return yield* generate3({ session, prompt: input.prompt }).pipe(Effect.provideService(Service46, instances), Effect.provideService(Service80, database), Effect.provideService(LLMClient.Service, llm));
285
285
  }),
286
286
  command: Effect.fn("Session.command")(function* (input) {
287
287
  const session = yield* result.get(input.sessionID);
288
- return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service41, instances));
288
+ return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service46, instances));
289
289
  }),
290
290
  shell: (input) => sessions.forSession(input.sessionID).shell(input),
291
291
  skill: (input) => sessions.forSession(input.sessionID).skill(input),
@@ -330,22 +330,22 @@ var node21 = Node.makeGlobalNode({
330
330
  service: Service17,
331
331
  layer,
332
332
  deps: [
333
- node45,
334
- node37,
333
+ node53,
334
+ node35,
335
335
  node85,
336
336
  node84,
337
- node74,
338
- node41,
339
- node33,
340
- llmClient2,
337
+ node82,
341
338
  node48,
342
- node44,
343
- node42,
344
- node22,
345
- node23,
339
+ node31,
340
+ llmClient2,
346
341
  node59,
342
+ node50,
343
+ node49,
344
+ node23,
345
+ node24,
346
+ node57,
347
347
  FSUtil.node,
348
- node61
348
+ node42
349
349
  ]
350
350
  });
351
351
 
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./filesystem-4xwhw091.js";
4
+ } from "./filesystem-fgsjaxv0.js";
5
5
  import {
6
- Key3,
6
+ Key4,
7
7
  removed2,
8
- make18,
8
+ make21,
9
9
  combine2
10
- } from "./filesystem-0gdmqesm.js";
10
+ } from "./filesystem-eaj1djv9.js";
11
11
  import {
12
12
  InstructionEntryTable2
13
- } from "./filesystem-a1bz86dw.js";
13
+ } from "./filesystem-5c4hm403.js";
14
14
  import {
15
15
  __export
16
16
  } from "./filesystem-9rqn6x4v.js";
@@ -18,15 +18,15 @@ import {
18
18
  // src/session/instruction-entry.ts
19
19
  var exports_instruction_entry = {};
20
20
  __export(exports_instruction_entry, {
21
- Info: () => Info4,
21
+ Info: () => Info5,
22
22
  InstructionEntry: () => exports_instruction_entry,
23
23
  Key: () => Key2,
24
24
  MaxValueBytes: () => MaxValueBytes2,
25
- Service: () => Service26,
25
+ Service: () => Service20,
26
26
  Snapshot: () => Snapshot2,
27
27
  ValueTooLargeError: () => ValueTooLargeError2,
28
28
  initialize: () => initialize2,
29
- node: () => node31,
29
+ node: () => node25,
30
30
  snapshot: () => snapshot2
31
31
  });
32
32
  import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
34
34
  import { InstructionEntry } from "@opencode/schema/instruction-entry";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
36
  var Key2 = InstructionEntry.Key;
37
- var Info4 = InstructionEntry.Info;
37
+ var Info5 = InstructionEntry.Info;
38
38
  var Snapshot2 = InstructionEntry.Snapshot;
39
39
  var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
40
40
  var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
@@ -56,13 +56,13 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
56
56
  }))).run().pipe(Effect.orDie), { discard: true });
57
57
  });
58
58
 
59
- class Service26 extends Context.Service()("@opencode/InstructionEntry") {
59
+ class Service20 extends Context.Service()("@opencode/InstructionEntry") {
60
60
  }
61
61
  var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
62
62
  var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
63
63
  `);
64
- var source = (entry) => make18({
65
- key: Key3.make(`api/${entry.key}`),
64
+ var source = (entry) => make21({
65
+ key: Key4.make(`api/${entry.key}`),
66
66
  codec: Schema.toCodecJson(Schema.Json),
67
67
  read: Effect.succeed(entry.removed ? removed2 : entry.value),
68
68
  render: {
@@ -75,7 +75,7 @@ var source = (entry) => make18({
75
75
  removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
76
76
  }
77
77
  });
78
- var layer = Layer.effect(Service26, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service20, Effect.gen(function* () {
79
79
  const { db } = yield* Service80;
80
80
  const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
81
81
  return yield* db.select({
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
108
108
  const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
109
109
  return combine2((yield* rows(sessionID, true)).map(source));
110
110
  });
111
- return Service26.of({ list, put, remove, load });
111
+ return Service20.of({ list, put, remove, load });
112
112
  }));
113
- var node31 = makeLocationNode({ service: Service26, layer, deps: [node85] });
113
+ var node25 = makeLocationNode({ service: Service20, layer, deps: [node85] });
114
114
 
115
- export { Key2, Info4, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service26, node31, exports_instruction_entry };
115
+ export { Key2, Info5, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service20, node25, exports_instruction_entry };