@opencode/core 0.0.0-dev-19563 → 0.0.0-dev-19565

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 (787) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +68 -68
  7. package/dist/catalog.js +84 -84
  8. package/dist/chunks/{rpc-h2hjeshg.js → shell-00sskvcy.js} +28 -28
  9. package/dist/chunks/{rpc-t0nby5tn.js → shell-0kb3qxfv.js} +13 -13
  10. package/dist/chunks/shell-0mesazry.js +4 -0
  11. package/dist/chunks/{rpc-5pbbnjst.js → shell-0p1crd9d.js} +16 -16
  12. package/dist/chunks/{rpc-0paq2nw3.js → shell-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{rpc-0q0f95c6.js → shell-0q0f95c6.js} +1 -1
  14. package/dist/chunks/{rpc-5x59cjg9.js → shell-170g143j.js} +10 -10
  15. package/dist/chunks/{rpc-1dazxqgg.js → shell-1dazxqgg.js} +2 -2
  16. package/dist/chunks/{rpc-b5xr9r4a.js → shell-1jygqsyg.js} +4 -4
  17. package/dist/chunks/{rpc-e171vef2.js → shell-1k2dysg5.js} +25 -25
  18. package/dist/chunks/{rpc-fhq59srp.js → shell-1rmp5py1.js} +28 -28
  19. package/dist/chunks/{rpc-egrr39fs.js → shell-1vr0zdnx.js} +6 -6
  20. package/dist/chunks/{rpc-azwf31fh.js → shell-2130zj7j.js} +3 -3
  21. package/dist/chunks/{rpc-21r38tys.js → shell-21r38tys.js} +1 -1
  22. package/dist/chunks/{rpc-15zevn5w.js → shell-23pqda6t.js} +6 -6
  23. package/dist/chunks/{rpc-6h73sxmp.js → shell-2402vzrj.js} +5 -5
  24. package/dist/chunks/{rpc-2a5m3afh.js → shell-2a5m3afh.js} +1 -1
  25. package/dist/chunks/{rpc-3ztdxds0.js → shell-2arervvz.js} +1 -1
  26. package/dist/chunks/{rpc-q8qja58b.js → shell-2bt6bea8.js} +9 -9
  27. package/dist/chunks/{rpc-ensxwhj5.js → shell-2dhdmezd.js} +14 -14
  28. package/dist/chunks/{rpc-hgk9zqwm.js → shell-2drtf3nf.js} +23 -23
  29. package/dist/chunks/{rpc-7etsmvw3.js → shell-2gg8k579.js} +11 -11
  30. package/dist/chunks/{rpc-607tc6va.js → shell-2k8khapm.js} +5 -5
  31. package/dist/chunks/{rpc-dq8t8fv9.js → shell-2s58e736.js} +11 -11
  32. package/dist/chunks/{rpc-zctxc6dq.js → shell-2wy29r93.js} +24 -24
  33. package/dist/chunks/{rpc-f5paykxm.js → shell-2xsz5w2j.js} +10 -10
  34. package/dist/chunks/{rpc-awy0m2ht.js → shell-39nqk1vw.js} +7 -7
  35. package/dist/chunks/{rpc-9zvw9xqf.js → shell-3ax3r0kt.js} +14 -14
  36. package/dist/chunks/{rpc-645wt9kv.js → shell-3bqh7sdc.js} +8 -8
  37. package/dist/chunks/{rpc-y3gka0kp.js → shell-3dn8q124.js} +3 -3
  38. package/dist/chunks/{rpc-3fc6dm20.js → shell-3fc6dm20.js} +1 -1
  39. package/dist/chunks/{rpc-3hepkmqq.js → shell-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{rpc-4ssmbb9f.js → shell-3msn02vx.js} +23 -23
  41. package/dist/chunks/{rpc-zy7p2nkg.js → shell-3q16w0pe.js} +23 -23
  42. package/dist/chunks/{rpc-3smtnn6g.js → shell-3smtnn6g.js} +1 -1
  43. package/dist/chunks/{rpc-v95aebz8.js → shell-3t75jh19.js} +18 -18
  44. package/dist/chunks/{rpc-magykp64.js → shell-3t8eac1t.js} +4 -4
  45. package/dist/chunks/{rpc-3tvqynh2.js → shell-3tvqynh2.js} +1 -1
  46. package/dist/chunks/{rpc-09d6vmh1.js → shell-40nnwqw1.js} +9 -9
  47. package/dist/chunks/{rpc-49mee5h8.js → shell-498f1par.js} +15 -15
  48. package/dist/chunks/{rpc-et9a5mt7.js → shell-4j2free1.js} +29 -29
  49. package/dist/chunks/shell-4v7qdvcn.js +18 -0
  50. package/dist/chunks/{rpc-29ykcmqg.js → shell-50q5na77.js} +53 -53
  51. package/dist/chunks/{rpc-1ygqh575.js → shell-56gdpj1q.js} +9 -9
  52. package/dist/chunks/{rpc-x4az3p4k.js → shell-58mrke4p.js} +15 -15
  53. package/dist/chunks/{rpc-yrxgw5z8.js → shell-5cd5fjqe.js} +1 -1
  54. package/dist/chunks/{rpc-7k1v1939.js → shell-5cwpbnzf.js} +27 -27
  55. package/dist/chunks/{rpc-5daktx2q.js → shell-5daktx2q.js} +1 -1
  56. package/dist/chunks/{rpc-41f61ev5.js → shell-5hpynvw8.js} +6 -6
  57. package/dist/chunks/{rpc-04rqewrt.js → shell-5j1hak98.js} +5 -5
  58. package/dist/chunks/{rpc-4xr4bg31.js → shell-5r0fea1g.js} +8 -8
  59. package/dist/chunks/{rpc-5vsdfptq.js → shell-5se65zms.js} +1 -1
  60. package/dist/chunks/{rpc-7jjvc4sd.js → shell-5t1bt779.js} +13 -13
  61. package/dist/chunks/{rpc-5t3nmthw.js → shell-5t3nmthw.js} +2 -2
  62. package/dist/chunks/{rpc-6sf48m2m.js → shell-5t96p4mv.js} +18 -18
  63. package/dist/chunks/{rpc-669tq793.js → shell-669tq793.js} +1 -1
  64. package/dist/chunks/{rpc-7jdjd6ea.js → shell-6dgetf94.js} +32 -32
  65. package/dist/chunks/{rpc-4ns3h2re.js → shell-6ea2fwcg.js} +6 -6
  66. package/dist/chunks/{rpc-czfakrh3.js → shell-6ff0ccqs.js} +3 -3
  67. package/dist/chunks/{rpc-6msgmcgs.js → shell-6msgmcgs.js} +1 -1
  68. package/dist/chunks/{rpc-65h43r7m.js → shell-6sdmw969.js} +9 -9
  69. package/dist/chunks/{rpc-71q4at8m.js → shell-71q4at8m.js} +1 -1
  70. package/dist/chunks/{rpc-73tb2d7t.js → shell-73tb2d7t.js} +1 -1
  71. package/dist/chunks/{rpc-3cwb9jzf.js → shell-757464b7.js} +8 -8
  72. package/dist/chunks/{rpc-56s2cdtz.js → shell-785qyyg3.js} +38 -38
  73. package/dist/chunks/{rpc-k9h47z0e.js → shell-79at1x9v.js} +9 -9
  74. package/dist/chunks/{rpc-7bmhse3q.js → shell-7bmhse3q.js} +1 -1
  75. package/dist/chunks/{rpc-x3ry4399.js → shell-7dqea38v.js} +22 -22
  76. package/dist/chunks/{rpc-yjtcv9b8.js → shell-7gvwkz6m.js} +5 -5
  77. package/dist/chunks/{rpc-ymcp9qdd.js → shell-7hnvxcfq.js} +20 -20
  78. package/dist/chunks/{rpc-3cg5qkzz.js → shell-7smec0s7.js} +13 -13
  79. package/dist/chunks/{rpc-fe21mgs2.js → shell-7wvqhqmf.js} +2 -2
  80. package/dist/chunks/{rpc-j6tr09r7.js → shell-8330sdex.js} +26 -26
  81. package/dist/chunks/{rpc-fb3dn1g4.js → shell-83c1hrrs.js} +10 -10
  82. package/dist/chunks/{rpc-e7dhmq2r.js → shell-84znd991.js} +43 -43
  83. package/dist/chunks/{rpc-9nbg9rgn.js → shell-8behwj1p.js} +300 -300
  84. package/dist/chunks/{rpc-8d7r5vzw.js → shell-8d7r5vzw.js} +1 -1
  85. package/dist/chunks/{rpc-f04pyqpn.js → shell-8hpa1fbg.js} +8 -8
  86. package/dist/chunks/{rpc-dj2t23y0.js → shell-8p4f9s12.js} +2 -2
  87. package/dist/chunks/{rpc-9pa4pdaw.js → shell-90debe3t.js} +25 -25
  88. package/dist/chunks/{rpc-s3be4ryk.js → shell-92d8765r.js} +19 -19
  89. package/dist/chunks/shell-951egb0q.js +26 -0
  90. package/dist/chunks/{rpc-adgw0vx1.js → shell-98wx3ph6.js} +20 -20
  91. package/dist/chunks/{rpc-s51qhtww.js → shell-9axecy8x.js} +32 -32
  92. package/dist/chunks/{rpc-ep0qqy8y.js → shell-9k5ea8vn.js} +9 -9
  93. package/dist/chunks/{rpc-720ed7zc.js → shell-9n54j36e.js} +38 -38
  94. package/dist/chunks/{rpc-5c4hm403.js → shell-a1bz86dw.js} +3 -3
  95. package/dist/chunks/{rpc-wm96jmrs.js → shell-a1cqmkke.js} +34 -34
  96. package/dist/chunks/{rpc-900rp600.js → shell-a4bf359j.js} +37 -37
  97. package/dist/chunks/{rpc-aaet6srn.js → shell-aaet6srn.js} +2 -2
  98. package/dist/chunks/{rpc-hrb636hh.js → shell-ajf5b5m2.js} +11 -11
  99. package/dist/chunks/{rpc-aq925jnm.js → shell-anjgpdmv.js} +15 -15
  100. package/dist/chunks/{rpc-h2kayq98.js → shell-aqh0ftsf.js} +6 -6
  101. package/dist/chunks/{rpc-x3et2xth.js → shell-asmz7wyz.js} +8 -8
  102. package/dist/chunks/{rpc-q5zm5rbh.js → shell-b4yscnm6.js} +168 -168
  103. package/dist/chunks/{rpc-b6gygkdw.js → shell-b6gygkdw.js} +2 -2
  104. package/dist/chunks/{rpc-b8b3f19r.js → shell-b8b3f19r.js} +2 -2
  105. package/dist/chunks/{rpc-3ard968h.js → shell-barpxaxt.js} +15 -15
  106. package/dist/chunks/{rpc-sdbkfcvv.js → shell-bha4atvq.js} +4 -4
  107. package/dist/chunks/{rpc-phrpww5q.js → shell-bkpbcw5z.js} +6 -6
  108. package/dist/chunks/{rpc-yn742pxh.js → shell-bq71cpr0.js} +12 -12
  109. package/dist/chunks/shell-bra2cn2r.js +247 -0
  110. package/dist/chunks/{rpc-mc7c43gw.js → shell-c6gt1vgb.js} +24 -24
  111. package/dist/chunks/{rpc-37m66rke.js → shell-c9de5jy7.js} +24 -24
  112. package/dist/chunks/{rpc-fbprdydg.js → shell-cdb3968r.js} +4 -4
  113. package/dist/chunks/{rpc-m0jqrx5p.js → shell-cfpkc3c9.js} +2 -2
  114. package/dist/chunks/{rpc-bqttd0y0.js → shell-cgfvx4w1.js} +21 -21
  115. package/dist/chunks/{rpc-awbdwcvp.js → shell-cntxze1n.js} +9 -9
  116. package/dist/chunks/{rpc-wq9p3fvr.js → shell-csvt3qn2.js} +19 -19
  117. package/dist/chunks/{rpc-v30ysbtp.js → shell-cvacbsd4.js} +24 -24
  118. package/dist/chunks/{rpc-n1abx18w.js → shell-cwae0t4a.js} +3 -3
  119. package/dist/chunks/{rpc-04mfqke3.js → shell-dgyag7b9.js} +3 -3
  120. package/dist/chunks/{rpc-c0qvan2f.js → shell-dnyx0jag.js} +66 -47
  121. package/dist/chunks/{rpc-dpkg50ah.js → shell-dpkg50ah.js} +1 -1
  122. package/dist/chunks/{rpc-3h752403.js → shell-ds7hspst.js} +17 -17
  123. package/dist/chunks/{rpc-vn9kcpf2.js → shell-dx67ej23.js} +4 -4
  124. package/dist/chunks/{rpc-v4hh8mmn.js → shell-e01x8cvy.js} +79 -79
  125. package/dist/chunks/{rpc-wtzvqa7t.js → shell-e275f37r.js} +32 -32
  126. package/dist/chunks/{rpc-bndc73cn.js → shell-e5nv3ght.js} +5 -5
  127. package/dist/chunks/{rpc-z05rcarj.js → shell-e5nx0vxc.js} +11 -11
  128. package/dist/chunks/{rpc-ak9cgfv8.js → shell-e9ctdnam.js} +26 -26
  129. package/dist/chunks/{rpc-t550f9t1.js → shell-eaj1djv9.js} +8 -8
  130. package/dist/chunks/{rpc-m7y1vdp5.js → shell-eh4y4983.js} +22 -22
  131. package/dist/chunks/{rpc-m5j6zs5f.js → shell-ekxg4hsx.js} +15 -15
  132. package/dist/chunks/{rpc-vhkqx8kk.js → shell-epf086r6.js} +11 -11
  133. package/dist/chunks/{rpc-etq0c3wd.js → shell-etq0c3wd.js} +1 -1
  134. package/dist/chunks/{rpc-4xbskmpe.js → shell-evbgk2k8.js} +5 -5
  135. package/dist/chunks/{rpc-t4dwhhvw.js → shell-ew149jxv.js} +17 -17
  136. package/dist/chunks/{rpc-1acjjqhc.js → shell-f2n192rq.js} +4 -4
  137. package/dist/chunks/{rpc-tfpzm518.js → shell-f3b3gm2h.js} +9 -9
  138. package/dist/chunks/{rpc-hdnk95c8.js → shell-f828m53h.js} +2 -2
  139. package/dist/chunks/{rpc-1js01x30.js → shell-fb1d3fys.js} +34 -34
  140. package/dist/chunks/{rpc-jkttvqfz.js → shell-ffnvdd3a.js} +4 -4
  141. package/dist/chunks/{rpc-sxz6gkc3.js → shell-fm2qvscf.js} +7 -7
  142. package/dist/chunks/{rpc-c14aw737.js → shell-frgtas0g.js} +16 -16
  143. package/dist/chunks/{rpc-ezv1a6xh.js → shell-fwex87m5.js} +4 -4
  144. package/dist/chunks/{rpc-6pdgntxq.js → shell-fxb8x6py.js} +41 -41
  145. package/dist/chunks/{rpc-fxbjtjnd.js → shell-fxbjtjnd.js} +1 -1
  146. package/dist/chunks/{rpc-gnqpece3.js → shell-g114gkg7.js} +27 -27
  147. package/dist/chunks/{rpc-evc8ed70.js → shell-g6etydj3.js} +25 -25
  148. package/dist/chunks/{rpc-f2kyhx0b.js → shell-g7845yqx.js} +9 -9
  149. package/dist/chunks/{rpc-k4ar8njc.js → shell-g9x8z6es.js} +37 -37
  150. package/dist/chunks/{rpc-gd4qta3r.js → shell-gd4qta3r.js} +1 -1
  151. package/dist/chunks/{rpc-5za0zb7s.js → shell-gds7y9rb.js} +26 -26
  152. package/dist/chunks/{rpc-e2vkambt.js → shell-gmqwtf9m.js} +20 -20
  153. package/dist/chunks/{rpc-78qgck3m.js → shell-gqcgtd7m.js} +12 -12
  154. package/dist/chunks/{rpc-kvh0q0w5.js → shell-gsa21a22.js} +26 -26
  155. package/dist/chunks/{rpc-embw8kgh.js → shell-gst7axd9.js} +4 -4
  156. package/dist/chunks/{rpc-yyb7tjpc.js → shell-gv6a8nnw.js} +2 -2
  157. package/dist/chunks/{rpc-qc9m528a.js → shell-gy297mxz.js} +9 -9
  158. package/dist/chunks/{rpc-h03wrkyp.js → shell-h03wrkyp.js} +2 -2
  159. package/dist/chunks/{rpc-fve14tsv.js → shell-h3gtxjhp.js} +12 -12
  160. package/dist/chunks/{rpc-4jyw83yv.js → shell-h5a39vxc.js} +7 -7
  161. package/dist/chunks/{rpc-h6vf3j39.js → shell-h6vf3j39.js} +1 -1
  162. package/dist/chunks/{rpc-8tgg60xp.js → shell-h9ah0y31.js} +4 -4
  163. package/dist/chunks/{rpc-mpjjaxhm.js → shell-hcn7vb16.js} +8 -8
  164. package/dist/chunks/{rpc-8fbcvdxz.js → shell-he81y1nr.js} +18 -18
  165. package/dist/chunks/{rpc-qra50pcy.js → shell-hhsefzea.js} +6 -6
  166. package/dist/chunks/{rpc-8cmvxv2n.js → shell-hnr5yq9h.js} +5 -5
  167. package/dist/chunks/{rpc-ra10epn0.js → shell-hqzvbh4h.js} +4 -4
  168. package/dist/chunks/{rpc-2336b01z.js → shell-hr5bc81f.js} +8 -8
  169. package/dist/chunks/{rpc-24zysf4r.js → shell-hr87xv3p.js} +1 -1
  170. package/dist/chunks/{rpc-d4wz6bh8.js → shell-hwcbwms2.js} +24 -24
  171. package/dist/chunks/{rpc-ybj7n8sc.js → shell-hxbwmv2e.js} +20 -20
  172. package/dist/chunks/{rpc-jada9zq5.js → shell-j2x4pfpm.js} +5 -5
  173. package/dist/chunks/{rpc-j56e64zr.js → shell-j56e64zr.js} +1 -1
  174. package/dist/chunks/{rpc-8q7cq0y1.js → shell-j7wq2tw5.js} +3 -3
  175. package/dist/chunks/{rpc-b0awdqvx.js → shell-j8zzr2am.js} +9 -9
  176. package/dist/chunks/{rpc-dbekd7wq.js → shell-jgs86n5s.js} +17 -17
  177. package/dist/chunks/{rpc-16ryaddz.js → shell-jqzha493.js} +13 -13
  178. package/dist/chunks/{rpc-7z7az0f5.js → shell-jva4mgym.js} +4 -4
  179. package/dist/chunks/{rpc-72cpxe3g.js → shell-jx66ev93.js} +9 -9
  180. package/dist/chunks/{rpc-6wbdxn87.js → shell-jzmeek8x.js} +19 -19
  181. package/dist/chunks/{rpc-y5gmhs7b.js → shell-k6n7t8rh.js} +4 -4
  182. package/dist/chunks/{rpc-kg06axw8.js → shell-kg06axw8.js} +1 -1
  183. package/dist/chunks/{rpc-16fh04ec.js → shell-kn1ewh61.js} +13 -13
  184. package/dist/chunks/{rpc-xjk8cg32.js → shell-m1xnp8jy.js} +8 -8
  185. package/dist/chunks/{rpc-m9w0rfyh.js → shell-m9w0rfyh.js} +1 -1
  186. package/dist/chunks/{rpc-8dff8bqa.js → shell-ma15yhyh.js} +5 -5
  187. package/dist/chunks/{rpc-919kr58w.js → shell-maj69pyd.js} +18 -18
  188. package/dist/chunks/{rpc-pfhnemj1.js → shell-mhke193m.js} +11 -11
  189. package/dist/chunks/{rpc-jyd6wsh8.js → shell-mjyvg60v.js} +11 -11
  190. package/dist/chunks/{rpc-ghtm10aa.js → shell-mypwhdkk.js} +6 -6
  191. package/dist/chunks/{rpc-s6q7j8c1.js → shell-mzg5sf4x.js} +10 -10
  192. package/dist/chunks/{rpc-x2ec7fj2.js → shell-n0mh3p3r.js} +16 -16
  193. package/dist/chunks/{rpc-as02qwds.js → shell-na9d8qqg.js} +1 -1
  194. package/dist/chunks/{rpc-nhy5jxhy.js → shell-nhy5jxhy.js} +1 -1
  195. package/dist/chunks/{rpc-gd1sanb3.js → shell-nt9efg4s.js} +33 -33
  196. package/dist/chunks/{rpc-eraanh1f.js → shell-nv5vn7qx.js} +6 -6
  197. package/dist/chunks/{rpc-at188k7x.js → shell-nxwydvzq.js} +32 -32
  198. package/dist/chunks/{rpc-kd92mjtq.js → shell-pczwz8kr.js} +1 -1
  199. package/dist/chunks/{rpc-2gq7g35w.js → shell-pe83jqzf.js} +8 -8
  200. package/dist/chunks/{rpc-4aqwh667.js → shell-pfx2qrrs.js} +20 -20
  201. package/dist/chunks/{rpc-pjvnvgmy.js → shell-pjvnvgmy.js} +1 -1
  202. package/dist/chunks/{rpc-pknna89w.js → shell-pknna89w.js} +1 -1
  203. package/dist/chunks/{rpc-zdmpy1w1.js → shell-pyajk535.js} +15 -15
  204. package/dist/chunks/{rpc-4gbc8xkz.js → shell-q7y6yj4h.js} +6 -6
  205. package/dist/chunks/{rpc-6hdhgy3w.js → shell-qdvd9fa3.js} +9 -9
  206. package/dist/chunks/{rpc-2gvej5bs.js → shell-qfehbndj.js} +22 -22
  207. package/dist/chunks/{rpc-v8jfbz3g.js → shell-qfzde7bh.js} +6 -6
  208. package/dist/chunks/{rpc-vaz4vjgg.js → shell-qp1sevpr.js} +20 -20
  209. package/dist/chunks/{rpc-qsdy395h.js → shell-qsdy395h.js} +1 -1
  210. package/dist/chunks/{rpc-9vqpc88m.js → shell-qse8x9va.js} +43 -43
  211. package/dist/chunks/{rpc-4hct64pd.js → shell-r2j209s7.js} +18 -18
  212. package/dist/chunks/{rpc-gsepd1qv.js → shell-r7wttt38.js} +11 -11
  213. package/dist/chunks/{rpc-w6393bmh.js → shell-r8m16k99.js} +7 -7
  214. package/dist/chunks/{rpc-1zjf9yvn.js → shell-r8tp4xng.js} +37 -37
  215. package/dist/chunks/{rpc-r9mregkx.js → shell-r9mregkx.js} +2 -2
  216. package/dist/chunks/{rpc-ttmwpwhe.js → shell-s24xwzhn.js} +21 -21
  217. package/dist/chunks/{rpc-0w5xhpes.js → shell-s594x3a1.js} +17 -17
  218. package/dist/chunks/{rpc-keedsq9y.js → shell-sba7bcww.js} +20 -20
  219. package/dist/chunks/{rpc-mkf7r8vc.js → shell-sbrky0je.js} +5 -5
  220. package/dist/chunks/{rpc-p4zt19y4.js → shell-sccxx93j.js} +11 -11
  221. package/dist/chunks/{rpc-fkgz1789.js → shell-sp5ebaa4.js} +8 -8
  222. package/dist/chunks/{rpc-why2nj5b.js → shell-srhw5zxk.js} +8 -8
  223. package/dist/chunks/{rpc-9tp6rg03.js → shell-ssybasmv.js} +55 -55
  224. package/dist/chunks/{rpc-286te107.js → shell-svh6bksy.js} +46 -46
  225. package/dist/chunks/{rpc-hrvd6t1f.js → shell-t0x5rdq8.js} +9 -9
  226. package/dist/chunks/{rpc-pkcwckcb.js → shell-t7295w2z.js} +87 -87
  227. package/dist/chunks/{rpc-4jmdj23e.js → shell-t89hfesc.js} +5 -5
  228. package/dist/chunks/{rpc-vkd6hz7d.js → shell-t97t2t7r.js} +16 -16
  229. package/dist/chunks/{rpc-tazgh4e4.js → shell-tazgh4e4.js} +1 -1
  230. package/dist/chunks/{rpc-46t3hpnf.js → shell-tb2t6pfk.js} +11 -11
  231. package/dist/chunks/{rpc-89znhe33.js → shell-tcezcvh9.js} +4 -4
  232. package/dist/chunks/{rpc-tdstcens.js → shell-tdstcens.js} +1 -1
  233. package/dist/chunks/{rpc-500m5zw2.js → shell-tjn88awr.js} +5 -5
  234. package/dist/chunks/{rpc-gbtk5xpy.js → shell-tjvj2ye7.js} +14 -14
  235. package/dist/chunks/{rpc-dnz2amen.js → shell-tsmdsbrt.js} +4 -4
  236. package/dist/chunks/{rpc-gmt7v2f0.js → shell-tvqztyf1.js} +25 -25
  237. package/dist/chunks/{rpc-tvtrv512.js → shell-tvtrv512.js} +1 -1
  238. package/dist/chunks/{rpc-524b8jaz.js → shell-txmzda4v.js} +5 -5
  239. package/dist/chunks/{rpc-qzfy2ng8.js → shell-v261m4vn.js} +14 -14
  240. package/dist/chunks/{rpc-6kjxaxcs.js → shell-v38hr624.js} +9 -9
  241. package/dist/chunks/{rpc-ekej3swh.js → shell-v7n01w8h.js} +13 -13
  242. package/dist/chunks/{rpc-pg92xra1.js → shell-vag79jb7.js} +20 -20
  243. package/dist/chunks/{rpc-sx1n432n.js → shell-ve4pfa0n.js} +4 -4
  244. package/dist/chunks/{rpc-veqvce7d.js → shell-veqvce7d.js} +1 -1
  245. package/dist/chunks/{rpc-c2z3ng5v.js → shell-vm5yje8t.js} +15 -15
  246. package/dist/chunks/{rpc-jyes105x.js → shell-vmtg2jww.js} +26 -26
  247. package/dist/chunks/{rpc-zsdfvbwd.js → shell-vyt7er0z.js} +8 -8
  248. package/dist/chunks/{rpc-rq0td61g.js → shell-vyzzed90.js} +10 -10
  249. package/dist/chunks/{rpc-vzcthcp8.js → shell-vzcthcp8.js} +1 -1
  250. package/dist/chunks/{rpc-81czwxpn.js → shell-w1k39n5e.js} +4 -4
  251. package/dist/chunks/{rpc-w3wsvvr9.js → shell-w3wsvvr9.js} +1 -1
  252. package/dist/chunks/{rpc-9qxv0saq.js → shell-w5e0rffm.js} +47 -47
  253. package/dist/chunks/{rpc-wd87259q.js → shell-wd87259q.js} +1 -1
  254. package/dist/chunks/{rpc-e4mg6za6.js → shell-wd8n4s43.js} +25 -25
  255. package/dist/chunks/{rpc-t04z7qz2.js → shell-we16zy36.js} +48 -48
  256. package/dist/chunks/{rpc-eac5h0qb.js → shell-wk8z1bqt.js} +27 -27
  257. package/dist/chunks/{rpc-njqd2r1p.js → shell-wnxjx791.js} +54 -54
  258. package/dist/chunks/{rpc-an5xxpg3.js → shell-wrjtwt5e.js} +16 -16
  259. package/dist/chunks/{rpc-b3wv5y56.js → shell-wrnhm9vn.js} +6 -6
  260. package/dist/chunks/{rpc-x1ezjp6w.js → shell-x1ezjp6w.js} +1 -1
  261. package/dist/chunks/{rpc-vbpsb3q0.js → shell-x3d4jfyq.js} +6 -6
  262. package/dist/chunks/{rpc-n8pzc7q0.js → shell-x7pryeww.js} +5 -5
  263. package/dist/chunks/{rpc-ecstd3x3.js → shell-xegjm1yz.js} +19 -19
  264. package/dist/chunks/{rpc-5frpvc34.js → shell-xg9t41r3.js} +2 -2
  265. package/dist/chunks/{rpc-wegwrt47.js → shell-xh2y7gdn.js} +18 -18
  266. package/dist/chunks/{rpc-y1fvbwt7.js → shell-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{rpc-jz2xfere.js → shell-y27npyv3.js} +33 -33
  268. package/dist/chunks/{rpc-9fvtqfah.js → shell-y6cbkzy7.js} +28 -28
  269. package/dist/chunks/{rpc-t97x3sry.js → shell-y6vkn53y.js} +2 -2
  270. package/dist/chunks/{rpc-etjfar9p.js → shell-ybb32c7q.js} +11 -11
  271. package/dist/chunks/{rpc-0mvp0mh7.js → shell-ye4pzvdc.js} +18 -18
  272. package/dist/chunks/{rpc-5tstk5gw.js → shell-yedr9c85.js} +17 -17
  273. package/dist/chunks/{rpc-mqqw7r41.js → shell-ym00f2st.js} +10 -10
  274. package/dist/chunks/{rpc-w0r53wm9.js → shell-yp48q4z8.js} +8 -8
  275. package/dist/chunks/{rpc-yrhqyw5v.js → shell-yrhqyw5v.js} +1 -1
  276. package/dist/chunks/{rpc-yrznvahk.js → shell-yrznvahk.js} +2 -2
  277. package/dist/chunks/{rpc-kkxr41sk.js → shell-yyqmvdec.js} +16 -16
  278. package/dist/chunks/{rpc-z0bkrqjs.js → shell-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{rpc-z63w68vq.js → shell-z63w68vq.js} +2 -2
  280. package/dist/chunks/{rpc-d11nd7zh.js → shell-z76rvear.js} +4 -4
  281. package/dist/chunks/{rpc-rq775frq.js → shell-zeh9ct20.js} +2 -2
  282. package/dist/chunks/{rpc-2pfz77pe.js → shell-zfj5hy1g.js} +23 -23
  283. package/dist/chunks/{rpc-m060z7eb.js → shell-zgavb9cq.js} +16 -16
  284. package/dist/chunks/{rpc-f7bvpx2e.js → shell-zgda001e.js} +11 -11
  285. package/dist/chunks/{rpc-k6vfasqn.js → shell-zqhama0g.js} +1 -1
  286. package/dist/chunks/{rpc-tkptyfyx.js → shell-zqw1zjbk.js} +46 -46
  287. package/dist/chunks/{rpc-zr2ceqn5.js → shell-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{rpc-xwk582wh.js → shell-zwxne7nm.js} +30 -30
  289. package/dist/chunks/{rpc-zxq2ej10.js → shell-zxq2ej10.js} +1 -1
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +9 -9
  292. package/dist/codemode/tool.js +2 -2
  293. package/dist/command.js +84 -84
  294. package/dist/config/discovery.js +81 -81
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +19 -19
  297. package/dist/config/plugin/agent.js +119 -119
  298. package/dist/config/plugin/command.js +212 -212
  299. package/dist/config/plugin/compaction.js +157 -157
  300. package/dist/config/plugin/compatibility.js +135 -135
  301. package/dist/config/plugin/entry-observer.js +1 -1
  302. package/dist/config/plugin/formatter.js +119 -119
  303. package/dist/config/plugin/image.js +117 -117
  304. package/dist/config/plugin/instruction.js +87 -87
  305. package/dist/config/plugin/location-watcher.js +117 -117
  306. package/dist/config/plugin/mcp.js +128 -128
  307. package/dist/config/plugin/policy.js +116 -116
  308. package/dist/config/plugin/provider.js +115 -115
  309. package/dist/config/plugin/reference.js +119 -119
  310. package/dist/config/plugin/shell.js +120 -120
  311. package/dist/config/plugin/skill-file.js +99 -99
  312. package/dist/config/plugin/skill.js +138 -138
  313. package/dist/config/plugin/snapshot.js +117 -117
  314. package/dist/config/plugin/source.js +119 -119
  315. package/dist/config/plugin/tool-output.js +119 -119
  316. package/dist/config/plugin/websearch.js +117 -117
  317. package/dist/config/plugin/worktree.js +120 -120
  318. package/dist/config/variable.js +3 -3
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +121 -121
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +82 -82
  323. package/dist/database/database.js +65 -65
  324. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +13 -13
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +14 -14
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration.gen.js +48 -48
  388. package/dist/database/migration.js +50 -50
  389. package/dist/database/path.js +2 -2
  390. package/dist/database/schema.gen.js +1 -1
  391. package/dist/database/schema.sql.js +1 -1
  392. package/dist/database/sqlite.bun.js +1 -1
  393. package/dist/database/sqlite.js +1 -1
  394. package/dist/database/sqlite.node.js +1 -1
  395. package/dist/database/sqlite.workerd.js +1 -1
  396. package/dist/database/v1-migration.bun.js +75 -75
  397. package/dist/database/v1-migration.js +1 -1
  398. package/dist/effect/app-node-builder.js +364 -364
  399. package/dist/effect/app-node-platform.js +2 -2
  400. package/dist/effect/keyed-mutex.js +1 -1
  401. package/dist/effect/websocket-constructor.js +1 -1
  402. package/dist/environment/driver.js +1 -1
  403. package/dist/environment/environment.js +90 -90
  404. package/dist/environment/exec-defaults.js +2 -2
  405. package/dist/environment/files.js +1 -1
  406. package/dist/environment/index.js +92 -92
  407. package/dist/environment/local.js +2 -2
  408. package/dist/environment/memory.js +2 -2
  409. package/dist/environment/unavailable.js +1 -1
  410. package/dist/event/sql.js +1 -1
  411. package/dist/event-logger.js +69 -69
  412. package/dist/file-access.js +101 -101
  413. package/dist/file-mutation.js +91 -91
  414. package/dist/file-retention.js +1 -1
  415. package/dist/file.js +1 -1
  416. package/dist/filesystem/fff.bun.js +2 -2
  417. package/dist/filesystem/fff.js +1 -1
  418. package/dist/filesystem/fff.node.js +2 -2
  419. package/dist/filesystem/fff.workerd.js +2 -2
  420. package/dist/filesystem/ignore.js +1 -1
  421. package/dist/filesystem/location-watcher-policy.js +6 -6
  422. package/dist/filesystem/location-watcher.js +220 -220
  423. package/dist/filesystem/protected.js +3 -3
  424. package/dist/filesystem/search.js +101 -101
  425. package/dist/filesystem/watcher-binding.js +1 -1
  426. package/dist/filesystem/watcher.js +15 -15
  427. package/dist/filesystem.js +106 -106
  428. package/dist/form.js +85 -85
  429. package/dist/formatter/builtins.js +2 -2
  430. package/dist/formatter.js +86 -86
  431. package/dist/generate.js +92 -92
  432. package/dist/git.js +8 -8
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +3 -3
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/id/id.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +4 -4
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +355 -355
  457. package/dist/instruction-discovery.js +84 -84
  458. package/dist/instructions/builtins.js +84 -84
  459. package/dist/instructions/index.js +5 -5
  460. package/dist/integration/connection.js +1 -1
  461. package/dist/integration.js +85 -85
  462. package/dist/job.js +78 -78
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +72 -72
  465. package/dist/location-activity.js +130 -130
  466. package/dist/location-mutation.js +101 -101
  467. package/dist/location-service-map.js +83 -83
  468. package/dist/location-services.js +352 -352
  469. package/dist/location.js +84 -84
  470. package/dist/mcp/client.js +88 -88
  471. package/dist/mcp/index.js +103 -103
  472. package/dist/mcp/instructions.js +124 -124
  473. package/dist/mcp/oauth.js +3 -3
  474. package/dist/mcp/stdio.js +87 -87
  475. package/dist/mime.js +1 -1
  476. package/dist/modal/models.js +3 -3
  477. package/dist/model-resolver.js +87 -87
  478. package/dist/model.js +8 -8
  479. package/dist/models-dev.js +79 -79
  480. package/dist/oauth/page.js +1 -1
  481. package/dist/permission/saved.js +79 -79
  482. package/dist/permission/sql.js +5 -5
  483. package/dist/permission.js +110 -110
  484. package/dist/persistent-pty/binary.bun.js +1 -1
  485. package/dist/persistent-pty/daemon.js +1 -1
  486. package/dist/persistent-pty/index.js +83 -83
  487. package/dist/persistent-pty/pty-binding.js +1 -1
  488. package/dist/persistent-pty.js +74 -74
  489. package/dist/plugin/agent.js +101 -101
  490. package/dist/plugin/command.js +98 -98
  491. package/dist/plugin/hooks.js +5 -5
  492. package/dist/plugin/host.js +215 -215
  493. package/dist/plugin/instance.js +5 -5
  494. package/dist/plugin/internal.js +326 -326
  495. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  496. package/dist/plugin/models-dev.js +76 -76
  497. package/dist/plugin/module.js +5 -5
  498. package/dist/plugin/optimize.js +4 -4
  499. package/dist/plugin/plan.js +99 -99
  500. package/dist/plugin/promise.js +1 -1
  501. package/dist/plugin/provider/alibaba.js +2 -2
  502. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  503. package/dist/plugin/provider/azure.js +120 -120
  504. package/dist/plugin/provider/cerebras.js +2 -2
  505. package/dist/plugin/provider/cloudflare-ai-gateway.js +119 -119
  506. package/dist/plugin/provider/cloudflare-workers-ai.js +119 -119
  507. package/dist/plugin/provider/cohere.js +2 -2
  508. package/dist/plugin/provider/configured.js +116 -116
  509. package/dist/plugin/provider/digitalocean.js +80 -80
  510. package/dist/plugin/provider/dynamic.js +2 -2
  511. package/dist/plugin/provider/factory.js +1 -1
  512. package/dist/plugin/provider/gateway.js +2 -2
  513. package/dist/plugin/provider/github-copilot.js +81 -81
  514. package/dist/plugin/provider/gitlab.js +3 -3
  515. package/dist/plugin/provider/google-vertex.js +2 -2
  516. package/dist/plugin/provider/kilo.js +2 -2
  517. package/dist/plugin/provider/llmgateway.js +77 -77
  518. package/dist/plugin/provider/lmstudio.js +119 -119
  519. package/dist/plugin/provider/modal.js +80 -80
  520. package/dist/plugin/provider/nvidia.js +2 -2
  521. package/dist/plugin/provider/ollama.js +119 -119
  522. package/dist/plugin/provider/openai-compatible.js +1 -1
  523. package/dist/plugin/provider/openai.js +81 -81
  524. package/dist/plugin/provider/opencode.js +80 -80
  525. package/dist/plugin/provider/openrouter.js +3 -3
  526. package/dist/plugin/provider/perplexity.js +2 -2
  527. package/dist/plugin/provider/poe.js +77 -77
  528. package/dist/plugin/provider/sap-ai-core.js +3 -3
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +119 -119
  531. package/dist/plugin/provider/venice.js +2 -2
  532. package/dist/plugin/provider/vercel.js +2 -2
  533. package/dist/plugin/provider/vllm.js +119 -119
  534. package/dist/plugin/provider/xai.js +78 -78
  535. package/dist/plugin/provider/zenmux.js +2 -2
  536. package/dist/plugin/provider.js +158 -158
  537. package/dist/plugin/sdk.js +71 -71
  538. package/dist/plugin/service.js +3 -3
  539. package/dist/plugin/skill.js +135 -135
  540. package/dist/plugin/source-directory.js +1 -1
  541. package/dist/plugin/supervisor.js +341 -341
  542. package/dist/plugin/update.js +2 -2
  543. package/dist/plugin/variant.js +4 -4
  544. package/dist/plugin/vcs/git.js +83 -83
  545. package/dist/plugin/vcs/hg.js +83 -83
  546. package/dist/plugin/warming.js +114 -114
  547. package/dist/plugin/websearch/exa.js +7 -7
  548. package/dist/plugin/websearch/firecrawl.js +8 -8
  549. package/dist/plugin/websearch/index.js +9 -9
  550. package/dist/plugin/websearch/mcp.js +6 -6
  551. package/dist/plugin/websearch/parallel.js +8 -8
  552. package/dist/plugin/websearch/tavily.js +6 -6
  553. package/dist/plugin/websearch/tinyfish.js +8 -8
  554. package/dist/plugin.js +226 -226
  555. package/dist/project/schema.js +8 -8
  556. package/dist/project/sql.js +4 -4
  557. package/dist/project.js +85 -85
  558. package/dist/provider.js +7 -7
  559. package/dist/pty/protocol.js +1 -1
  560. package/dist/pty/schema.js +3 -3
  561. package/dist/pty/ticket.js +1 -1
  562. package/dist/pty.js +96 -96
  563. package/dist/reference/instructions.js +86 -86
  564. package/dist/reference.js +84 -84
  565. package/dist/repository-cache.js +78 -78
  566. package/dist/repository.js +3 -3
  567. package/dist/ripgrep/binary.js +2 -2
  568. package/dist/ripgrep.js +95 -95
  569. package/dist/rpc.js +83 -83
  570. package/dist/schema.js +1 -1
  571. package/dist/session/command.js +73 -73
  572. package/dist/session/compaction.js +131 -131
  573. package/dist/session/context.js +147 -147
  574. package/dist/session/diff.js +85 -85
  575. package/dist/session/environment.js +5 -5
  576. package/dist/session/error.js +5 -5
  577. package/dist/session/event.js +1 -1
  578. package/dist/session/execution/restart.js +219 -219
  579. package/dist/session/execution.js +126 -126
  580. package/dist/session/generate.js +150 -150
  581. package/dist/session/history.js +13 -13
  582. package/dist/session/inbox.js +85 -85
  583. package/dist/session/info.js +3 -3
  584. package/dist/session/instruction-entry.js +78 -78
  585. package/dist/session/instruction-state.js +8 -8
  586. package/dist/session/instructions.js +94 -94
  587. package/dist/session/message-updater.js +4 -4
  588. package/dist/session/message.js +1 -1
  589. package/dist/session/model-request.js +111 -111
  590. package/dist/session/model-transport.js +5 -5
  591. package/dist/session/move.js +128 -128
  592. package/dist/session/projector.js +85 -85
  593. package/dist/session/prompt.js +102 -102
  594. package/dist/session/provider-context.js +3 -3
  595. package/dist/session/revert.js +87 -87
  596. package/dist/session/run-coordinator.js +3 -3
  597. package/dist/session/runner/index.js +3 -3
  598. package/dist/session/runner/llm.js +227 -227
  599. package/dist/session/runner/max-steps.js +1 -1
  600. package/dist/session/runner/model.js +87 -87
  601. package/dist/session/runner/publish-llm-event.js +3 -3
  602. package/dist/session/runner/retry.js +112 -112
  603. package/dist/session/runner/step.js +121 -121
  604. package/dist/session/runner/to-llm-message.js +2 -2
  605. package/dist/session/schema.js +5 -5
  606. package/dist/session/session.js +171 -171
  607. package/dist/session/shell.js +133 -133
  608. package/dist/session/skill.js +100 -100
  609. package/dist/session/sql.js +5 -5
  610. package/dist/session/stats.js +72 -72
  611. package/dist/session/store.js +86 -86
  612. package/dist/session/subagent-completion.js +1 -1
  613. package/dist/session/subagent-job.js +208 -208
  614. package/dist/session/system-prompt.js +1 -1
  615. package/dist/session/title.js +149 -149
  616. package/dist/session/to-session-error.js +109 -109
  617. package/dist/session/transfer.js +215 -215
  618. package/dist/session/usage.js +1 -1
  619. package/dist/session.js +216 -216
  620. package/dist/shell/parse.js +6 -6
  621. package/dist/shell/result.js +1 -1
  622. package/dist/shell/scan.js +1 -1
  623. package/dist/shell/select.js +13 -13
  624. package/dist/shell.js +135 -135
  625. package/dist/skill/discovery.js +6 -6
  626. package/dist/skill/instructions.js +104 -104
  627. package/dist/skill.js +109 -109
  628. package/dist/snapshot.js +88 -88
  629. package/dist/state.js +1 -1
  630. package/dist/tool/html-markdown.js +1 -1
  631. package/dist/tool/http-body.js +1 -1
  632. package/dist/tool/mcp.js +119 -119
  633. package/dist/tool/plugin/edit.js +117 -117
  634. package/dist/tool/plugin/file-diff.js +1 -1
  635. package/dist/tool/plugin/glob.js +122 -122
  636. package/dist/tool/plugin/grep.js +122 -122
  637. package/dist/tool/plugin/opencode.js +3 -3
  638. package/dist/tool/plugin/patch.js +117 -117
  639. package/dist/tool/plugin/question.js +100 -100
  640. package/dist/tool/plugin/read.js +123 -123
  641. package/dist/tool/plugin/shell.js +215 -215
  642. package/dist/tool/plugin/skill.js +108 -108
  643. package/dist/tool/plugin/subagent.js +217 -217
  644. package/dist/tool/plugin/webfetch.js +105 -105
  645. package/dist/tool/plugin/websearch.js +111 -111
  646. package/dist/tool/plugin/write.js +119 -119
  647. package/dist/tool/read-filesystem.js +98 -98
  648. package/dist/tool/runtime.js +1 -1
  649. package/dist/tool-output.js +8 -8
  650. package/dist/tool.js +15 -15
  651. package/dist/types/config.d.ts +3 -1
  652. package/dist/util/error-summary.js +1 -1
  653. package/dist/util/error.js +1 -1
  654. package/dist/util/iife.js +1 -1
  655. package/dist/util/lazy.js +1 -1
  656. package/dist/util/slug.js +1 -1
  657. package/dist/util/token.js +1 -1
  658. package/dist/util/which.js +1 -1
  659. package/dist/util/wildcard.js +1 -1
  660. package/dist/v1/config/agent.js +5 -5
  661. package/dist/v1/config/attachment.js +4 -4
  662. package/dist/v1/config/command.js +5 -5
  663. package/dist/v1/config/config.js +16 -16
  664. package/dist/v1/config/error.js +2 -2
  665. package/dist/v1/config/formatter.js +7 -7
  666. package/dist/v1/config/layout.js +1 -1
  667. package/dist/v1/config/lsp.js +5 -5
  668. package/dist/v1/config/mcp.js +4 -4
  669. package/dist/v1/config/migrate.js +4 -4
  670. package/dist/v1/config/permission.js +3 -3
  671. package/dist/v1/config/plugin.js +3 -3
  672. package/dist/v1/config/provider-options.js +1 -1
  673. package/dist/v1/config/provider.js +4 -4
  674. package/dist/v1/config/server.js +2 -2
  675. package/dist/v1/config/skills.js +3 -3
  676. package/dist/v1/permission.js +1 -1
  677. package/dist/vcs/patch.js +1 -1
  678. package/dist/vcs.js +86 -86
  679. package/dist/websearch.js +83 -83
  680. package/dist/wellknown/plugin.js +75 -75
  681. package/dist/wellknown.js +80 -80
  682. package/dist/workspace/driver.js +5 -5
  683. package/dist/workspace/sql.js +1 -1
  684. package/dist/workspace.js +79 -79
  685. package/dist/worktree/directory.js +2 -2
  686. package/dist/worktree/git.js +8 -8
  687. package/dist/worktree/refresh.js +344 -344
  688. package/dist/worktree/sql.js +5 -5
  689. package/dist/worktree.js +93 -93
  690. package/package.json +8 -8
  691. package/dist/chunks/rpc-4s989epk.js +0 -247
  692. package/dist/chunks/rpc-68fqf9yb.js +0 -4
  693. package/dist/chunks/rpc-fka8kn59.js +0 -26
  694. package/dist/chunks/rpc-vnkjks7b.js +0 -18
  695. /package/dist/chunks/{rpc-0qkdqm5v.js → shell-0qkdqm5v.js} +0 -0
  696. /package/dist/chunks/{rpc-0zkw76rk.js → shell-0zkw76rk.js} +0 -0
  697. /package/dist/chunks/{rpc-17cy0kzp.js → shell-17cy0kzp.js} +0 -0
  698. /package/dist/chunks/{rpc-1cnp2v09.js → shell-1cnp2v09.js} +0 -0
  699. /package/dist/chunks/{rpc-1kg9ymc8.js → shell-1kg9ymc8.js} +0 -0
  700. /package/dist/chunks/{rpc-2710q6r3.js → shell-2710q6r3.js} +0 -0
  701. /package/dist/chunks/{rpc-2axfhc9x.js → shell-2axfhc9x.js} +0 -0
  702. /package/dist/chunks/{rpc-2c3vjs8z.js → shell-2c3vjs8z.js} +0 -0
  703. /package/dist/chunks/{rpc-359p4xyc.js → shell-359p4xyc.js} +0 -0
  704. /package/dist/chunks/{rpc-3asan66x.js → shell-3asan66x.js} +0 -0
  705. /package/dist/chunks/{rpc-3v8g72cx.js → shell-3v8g72cx.js} +0 -0
  706. /package/dist/chunks/{rpc-3w5fmr99.js → shell-3w5fmr99.js} +0 -0
  707. /package/dist/chunks/{rpc-3wcehsnq.js → shell-3wcehsnq.js} +0 -0
  708. /package/dist/chunks/{rpc-43n2bw4t.js → shell-43n2bw4t.js} +0 -0
  709. /package/dist/chunks/{rpc-4knz6hnm.js → shell-4knz6hnm.js} +0 -0
  710. /package/dist/chunks/{rpc-4vcrnpx2.js → shell-4vcrnpx2.js} +0 -0
  711. /package/dist/chunks/{rpc-4y7fprxs.js → shell-4y7fprxs.js} +0 -0
  712. /package/dist/chunks/{rpc-53557ph1.js → shell-53557ph1.js} +0 -0
  713. /package/dist/chunks/{rpc-550bvhaj.js → shell-550bvhaj.js} +0 -0
  714. /package/dist/chunks/{rpc-6prwharc.js → shell-6prwharc.js} +0 -0
  715. /package/dist/chunks/{rpc-7akdwqpd.js → shell-7akdwqpd.js} +0 -0
  716. /package/dist/chunks/{rpc-7m9af43g.js → shell-7m9af43g.js} +0 -0
  717. /package/dist/chunks/{rpc-822emrt2.js → shell-822emrt2.js} +0 -0
  718. /package/dist/chunks/{rpc-88xbtdfr.js → shell-88xbtdfr.js} +0 -0
  719. /package/dist/chunks/{rpc-8n3pysct.js → shell-8n3pysct.js} +0 -0
  720. /package/dist/chunks/{rpc-922hggd3.js → shell-922hggd3.js} +0 -0
  721. /package/dist/chunks/{rpc-9a4afbnw.js → shell-9a4afbnw.js} +0 -0
  722. /package/dist/chunks/{rpc-9rqn6x4v.js → shell-9rqn6x4v.js} +0 -0
  723. /package/dist/chunks/{rpc-a6k6eb26.js → shell-a6k6eb26.js} +0 -0
  724. /package/dist/chunks/{rpc-af5trqkr.js → shell-af5trqkr.js} +0 -0
  725. /package/dist/chunks/{rpc-afrmfg78.js → shell-afrmfg78.js} +0 -0
  726. /package/dist/chunks/{rpc-aqzs7mqg.js → shell-aqzs7mqg.js} +0 -0
  727. /package/dist/chunks/{rpc-atq7p7m5.js → shell-atq7p7m5.js} +0 -0
  728. /package/dist/chunks/{rpc-bkyjaxrp.js → shell-bkyjaxrp.js} +0 -0
  729. /package/dist/chunks/{rpc-bmr6ed5q.js → shell-bmr6ed5q.js} +0 -0
  730. /package/dist/chunks/{rpc-cf4snx6d.js → shell-cf4snx6d.js} +0 -0
  731. /package/dist/chunks/{rpc-cvy3z8tj.js → shell-cvy3z8tj.js} +0 -0
  732. /package/dist/chunks/{rpc-d9fn303g.js → shell-d9fn303g.js} +0 -0
  733. /package/dist/chunks/{rpc-d9jj8t3e.js → shell-d9jj8t3e.js} +0 -0
  734. /package/dist/chunks/{rpc-dajrwvna.js → shell-dajrwvna.js} +0 -0
  735. /package/dist/chunks/{rpc-dap0rakb.js → shell-dap0rakb.js} +0 -0
  736. /package/dist/chunks/{rpc-df08tz66.js → shell-df08tz66.js} +0 -0
  737. /package/dist/chunks/{rpc-dy18nga0.js → shell-dy18nga0.js} +0 -0
  738. /package/dist/chunks/{rpc-e5kj55wp.js → shell-e5kj55wp.js} +0 -0
  739. /package/dist/chunks/{rpc-e73j6tqm.js → shell-e73j6tqm.js} +0 -0
  740. /package/dist/chunks/{rpc-ec1grn59.js → shell-ec1grn59.js} +0 -0
  741. /package/dist/chunks/{rpc-eh3zwz77.js → shell-eh3zwz77.js} +0 -0
  742. /package/dist/chunks/{rpc-emrn6kk6.js → shell-emrn6kk6.js} +0 -0
  743. /package/dist/chunks/{rpc-f0mxakyp.js → shell-f0mxakyp.js} +0 -0
  744. /package/dist/chunks/{rpc-f6n9ztr4.js → shell-f6n9ztr4.js} +0 -0
  745. /package/dist/chunks/{rpc-faypxj3z.js → shell-faypxj3z.js} +0 -0
  746. /package/dist/chunks/{rpc-fd410y7t.js → shell-fd410y7t.js} +0 -0
  747. /package/dist/chunks/{rpc-fxgpk5d8.js → shell-fxgpk5d8.js} +0 -0
  748. /package/dist/chunks/{rpc-g4wezp1m.js → shell-g4wezp1m.js} +0 -0
  749. /package/dist/chunks/{rpc-g86h250q.js → shell-g86h250q.js} +0 -0
  750. /package/dist/chunks/{rpc-gebd4c9n.js → shell-gebd4c9n.js} +0 -0
  751. /package/dist/chunks/{rpc-gftt206x.js → shell-gftt206x.js} +0 -0
  752. /package/dist/chunks/{rpc-hjbc5kem.js → shell-hjbc5kem.js} +0 -0
  753. /package/dist/chunks/{rpc-hk9envan.js → shell-hk9envan.js} +0 -0
  754. /package/dist/chunks/{rpc-hrnqkpcd.js → shell-hrnqkpcd.js} +0 -0
  755. /package/dist/chunks/{rpc-j2ntwpah.js → shell-j2ntwpah.js} +0 -0
  756. /package/dist/chunks/{rpc-j5zkgpj8.js → shell-j5zkgpj8.js} +0 -0
  757. /package/dist/chunks/{rpc-jr7sbwjy.js → shell-jr7sbwjy.js} +0 -0
  758. /package/dist/chunks/{rpc-jwfs4k6c.js → shell-jwfs4k6c.js} +0 -0
  759. /package/dist/chunks/{rpc-jzg6c2d5.js → shell-jzg6c2d5.js} +0 -0
  760. /package/dist/chunks/{rpc-mp448xyj.js → shell-mp448xyj.js} +0 -0
  761. /package/dist/chunks/{rpc-msx8hqn2.js → shell-msx8hqn2.js} +0 -0
  762. /package/dist/chunks/{rpc-n05xt0ee.js → shell-n05xt0ee.js} +0 -0
  763. /package/dist/chunks/{rpc-n3j8tn72.js → shell-n3j8tn72.js} +0 -0
  764. /package/dist/chunks/{rpc-njntx4h6.js → shell-njntx4h6.js} +0 -0
  765. /package/dist/chunks/{rpc-paphc93g.js → shell-paphc93g.js} +0 -0
  766. /package/dist/chunks/{rpc-q3sfg36h.js → shell-q3sfg36h.js} +0 -0
  767. /package/dist/chunks/{rpc-q74kybfr.js → shell-q74kybfr.js} +0 -0
  768. /package/dist/chunks/{rpc-qaymkmh1.js → shell-qaymkmh1.js} +0 -0
  769. /package/dist/chunks/{rpc-qb87gjwd.js → shell-qb87gjwd.js} +0 -0
  770. /package/dist/chunks/{rpc-qfa1cgps.js → shell-qfa1cgps.js} +0 -0
  771. /package/dist/chunks/{rpc-qrg20bc0.js → shell-qrg20bc0.js} +0 -0
  772. /package/dist/chunks/{rpc-rcb2kzg1.js → shell-rcb2kzg1.js} +0 -0
  773. /package/dist/chunks/{rpc-sdp7kfr6.js → shell-sdp7kfr6.js} +0 -0
  774. /package/dist/chunks/{rpc-sk3qaz4a.js → shell-sk3qaz4a.js} +0 -0
  775. /package/dist/chunks/{rpc-ssg3fenm.js → shell-ssg3fenm.js} +0 -0
  776. /package/dist/chunks/{rpc-twg0f83k.js → shell-twg0f83k.js} +0 -0
  777. /package/dist/chunks/{rpc-w803qqfp.js → shell-w803qqfp.js} +0 -0
  778. /package/dist/chunks/{rpc-wer8tq1h.js → shell-wer8tq1h.js} +0 -0
  779. /package/dist/chunks/{rpc-wtztk69x.js → shell-wtztk69x.js} +0 -0
  780. /package/dist/chunks/{rpc-x0ckcb58.js → shell-x0ckcb58.js} +0 -0
  781. /package/dist/chunks/{rpc-x61499pn.js → shell-x61499pn.js} +0 -0
  782. /package/dist/chunks/{rpc-y44na4kk.js → shell-y44na4kk.js} +0 -0
  783. /package/dist/chunks/{rpc-y8cydn3q.js → shell-y8cydn3q.js} +0 -0
  784. /package/dist/chunks/{rpc-y8f7s663.js → shell-y8f7s663.js} +0 -0
  785. /package/dist/chunks/{rpc-ygaqb7jw.js → shell-ygaqb7jw.js} +0 -0
  786. /package/dist/chunks/{rpc-ym463w8f.js → shell-ym463w8f.js} +0 -0
  787. /package/dist/chunks/{rpc-z9919s4g.js → shell-z9919s4g.js} +0 -0
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./rpc-dpkg50ah.js";
3
+ } from "./shell-dpkg50ah.js";
4
4
  import {
5
5
  Service79,
6
6
  node84
7
- } from "./rpc-dnz2amen.js";
7
+ } from "./shell-tsmdsbrt.js";
8
8
  import {
9
- Event17,
10
- Service61,
11
- node64
12
- } from "./rpc-ak9cgfv8.js";
9
+ Event15,
10
+ Service67,
11
+ node71
12
+ } from "./shell-e9ctdnam.js";
13
13
  import {
14
- Service76,
15
- node81
16
- } from "./rpc-m060z7eb.js";
14
+ Service73,
15
+ node78
16
+ } from "./shell-zgavb9cq.js";
17
17
  import {
18
- Service71,
19
- node75
20
- } from "./rpc-v30ysbtp.js";
18
+ Service63,
19
+ node66
20
+ } from "./shell-cvacbsd4.js";
21
21
  import {
22
- ID11,
23
- Service60,
24
- node63
25
- } from "./rpc-jyes105x.js";
22
+ ID6,
23
+ Service49,
24
+ node52
25
+ } from "./shell-vmtg2jww.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./rpc-kg06axw8.js";
29
+ } from "./shell-kg06axw8.js";
30
30
  import {
31
- ID10,
31
+ ID5,
32
32
  MethodID2,
33
- Service59,
34
- node62
35
- } from "./rpc-9fvtqfah.js";
33
+ Service48,
34
+ node51
35
+ } from "./shell-y6cbkzy7.js";
36
36
  import {
37
37
  __export
38
- } from "./rpc-9rqn6x4v.js";
38
+ } from "./shell-9rqn6x4v.js";
39
39
 
40
40
  // src/mcp/index.ts
41
41
  var exports_mcp4 = {};
42
42
  __export(exports_mcp4, {
43
43
  Mcp: () => exports_mcp4,
44
- NotFoundError: () => NotFoundError2,
45
- Options: () => Options3,
44
+ NotFoundError: () => NotFoundError4,
45
+ Options: () => Options4,
46
46
  Prompt: () => Prompt2,
47
47
  PromptArgument: () => PromptArgument2,
48
48
  PromptMessage: () => PromptMessage2,
@@ -56,15 +56,15 @@ __export(exports_mcp4, {
56
56
  ServerInfo: () => ServerInfo2,
57
57
  ServerInstructions: () => ServerInstructions2,
58
58
  ServerName: () => ServerName2,
59
- Service: () => Service29,
59
+ Service: () => Service30,
60
60
  Status: () => Status2,
61
61
  Tool: () => Tool3,
62
62
  ToolCallError: () => ToolCallError2,
63
63
  ToolResult: () => ToolResult2,
64
64
  ToolResultContent: () => ToolResultContent2,
65
- configured: () => configured3,
65
+ configured: () => configured4,
66
66
  layer: () => layer14,
67
- node: () => node33
67
+ node: () => node34
68
68
  });
69
69
  import { Mcp } from "@opencode/schema/mcp";
70
70
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -81,7 +81,7 @@ var Status2 = Mcp.Status;
81
81
  class ServerInfo2 extends Schema.Class("MCP.ServerInfo")({
82
82
  name: ServerName2,
83
83
  status: Status2,
84
- integrationID: ID10.pipe(Schema.optional)
84
+ integrationID: ID5.pipe(Schema.optional)
85
85
  }) {
86
86
  }
87
87
 
@@ -147,7 +147,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
147
147
  var ResourceContentPart2 = Mcp.ResourceContentPart;
148
148
  var ResourceContent2 = Mcp.ResourceContent;
149
149
 
150
- class NotFoundError2 extends Schema.TaggedError()("MCP.NotFoundError", {
150
+ class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
151
151
  server: ServerName2
152
152
  }) {
153
153
  get message() {
@@ -165,21 +165,21 @@ var GLOBAL_ELICITATION_SESSION_ID = "global";
165
165
  var URL_ELICITATION_FIELD_KEY = "elicitation";
166
166
  var cloneConfig = (config) => structuredClone(config);
167
167
 
168
- class Service29 extends Context.Service()("@opencode/MCP") {
168
+ class Service30 extends Context.Service()("@opencode/MCP") {
169
169
  }
170
- var Options3 = Schema.Struct({
170
+ var Options4 = Schema.Struct({
171
171
  clientInfo: Schema.optional(Schema.Struct({
172
172
  name: Schema.String,
173
173
  version: Schema.String
174
174
  }))
175
175
  });
176
- var layer14 = (options) => Layer.effect(Service29, Effect.gen(function* () {
177
- const location = yield* Service76;
178
- const environment = yield* Service71;
176
+ var layer14 = (options) => Layer.effect(Service30, Effect.gen(function* () {
177
+ const location = yield* Service73;
178
+ const environment = yield* Service63;
179
179
  const bus = yield* Service79;
180
- const forms = yield* Service60;
181
- const integration = yield* Service59;
182
- const credentials = yield* Service61;
180
+ const forms = yield* Service49;
181
+ const integration = yield* Service48;
182
+ const credentials = yield* Service67;
183
183
  const root = yield* Effect.scope;
184
184
  const fork = yield* FiberSet.makeRuntime();
185
185
  const entries = new Map;
@@ -191,7 +191,7 @@ var layer14 = (options) => Layer.effect(Service29, Effect.gen(function* () {
191
191
  return;
192
192
  const remote = entry.config;
193
193
  const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
194
- const integrationID = ID10.make(suffix);
194
+ const integrationID = ID5.make(suffix);
195
195
  entry.integrationID = integrationID;
196
196
  owned.add(integrationID);
197
197
  const methodID = MethodID2.make(suffix);
@@ -216,7 +216,7 @@ var layer14 = (options) => Layer.effect(Service29, Effect.gen(function* () {
216
216
  const name = ServerName2.make(server);
217
217
  const entry = entries.get(name);
218
218
  if (!entry)
219
- return yield* new NotFoundError2({ server: name });
219
+ return yield* new NotFoundError4({ server: name });
220
220
  return { name, entry };
221
221
  });
222
222
  const connectProvider = Effect.fnUntraced(function* (entry) {
@@ -315,7 +315,7 @@ var layer14 = (options) => Layer.effect(Service29, Effect.gen(function* () {
315
315
  const elicitation = {
316
316
  create: (input) => Effect.gen(function* () {
317
317
  if (input.params.mode === "url") {
318
- const formID = ID11.create();
318
+ const formID = ID6.create();
319
319
  const key = input.server + "\x00" + input.params.elicitationId;
320
320
  urlElicitations.set(key, formID);
321
321
  return yield* forms.ask({
@@ -433,7 +433,7 @@ var layer14 = (options) => Layer.effect(Service29, Effect.gen(function* () {
433
433
  entry.scope = scope;
434
434
  const authProvider = yield* connectProvider(entry);
435
435
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
436
- const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service71, environment), Scope.provide(scope), Effect.exit);
436
+ const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service63, environment), Scope.provide(scope), Effect.exit);
437
437
  if (Exit.isSuccess(result)) {
438
438
  entry.client = result.value.connection;
439
439
  entry.tools = result.value.tools.map((def) => toTool(name, entry, def));
@@ -557,7 +557,7 @@ var layer14 = (options) => Layer.effect(Service29, Effect.gen(function* () {
557
557
  yield* startServer(name, entry);
558
558
  }).pipe(locks.withLock(name));
559
559
  });
560
- fork(bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
560
+ fork(bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
561
561
  const state = create3({
562
562
  name: "mcp",
563
563
  initial: () => ({
@@ -587,7 +587,7 @@ var layer14 = (options) => Layer.effect(Service29, Effect.gen(function* () {
587
587
  concurrency: "unbounded",
588
588
  discard: true
589
589
  }));
590
- return Service29.of({
590
+ return Service30.of({
591
591
  transform: state.transform,
592
592
  reload: state.reload,
593
593
  servers: Effect.fn("MCP.servers")(function* () {
@@ -707,14 +707,14 @@ var layer14 = (options) => Layer.effect(Service29, Effect.gen(function* () {
707
707
  })
708
708
  });
709
709
  }));
710
- function configured3(options) {
710
+ function configured4(options) {
711
711
  return makeLocationNode({
712
- service: Service29,
712
+ service: Service30,
713
713
  layer: layer14(options),
714
- deps: [node81, node75, node84, node63, node62, node64]
714
+ deps: [node78, node66, node84, node52, node51, node71]
715
715
  });
716
716
  }
717
- var node33 = configured3();
717
+ var node34 = configured4();
718
718
  function toElicitationField(key, property, required) {
719
719
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
720
720
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -765,4 +765,4 @@ function toElicitationField(key, property, required) {
765
765
  }
766
766
  }
767
767
 
768
- export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError2, ToolCallError2, Service29, Options3, layer14, configured3, node33, exports_mcp4 };
768
+ export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2, Service30, Options4, layer14, configured4, node34, exports_mcp4 };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./rpc-922hggd3.js";
3
+ } from "./shell-922hggd3.js";
4
4
  import {
5
- Service76
6
- } from "./rpc-m060z7eb.js";
5
+ Service73
6
+ } from "./shell-zgavb9cq.js";
7
7
  import {
8
- Service42
9
- } from "./rpc-v95aebz8.js";
8
+ Service58
9
+ } from "./shell-3t75jh19.js";
10
10
  import {
11
- Service8
12
- } from "./rpc-s3be4ryk.js";
11
+ Service9
12
+ } from "./shell-92d8765r.js";
13
13
  import {
14
14
  NotFound2
15
- } from "./rpc-2a5m3afh.js";
15
+ } from "./shell-2a5m3afh.js";
16
16
  import {
17
17
  MEDIA_MIMES2,
18
18
  BinaryFileError2,
@@ -23,26 +23,26 @@ import {
23
23
  FileContent2,
24
24
  TextPage2,
25
25
  ListPage2,
26
- Service7
27
- } from "./rpc-t4dwhhvw.js";
26
+ Service10
27
+ } from "./shell-ew149jxv.js";
28
28
  import {
29
29
  __export
30
- } from "./rpc-9rqn6x4v.js";
30
+ } from "./shell-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/read.ts
33
33
  var exports_read = {};
34
34
  __export(exports_read, {
35
- Input: () => Input2,
36
- Plugin: () => Plugin16,
35
+ Input: () => Input6,
36
+ Plugin: () => Plugin24,
37
37
  ReadTool: () => exports_read,
38
- name: () => name2,
39
- toModelContent: () => toModelContent2
38
+ name: () => name6,
39
+ toModelContent: () => toModelContent4
40
40
  });
41
41
  import { basename, dirname, join } from "path";
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import { FSUtil } from "@opencode/util/fs-util";
45
- var name2 = "read";
45
+ var name6 = "read";
46
46
  var FILENAME = "AGENTS.md";
47
47
  var LocationInput = Schema.Struct({
48
48
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
53
53
  description: "The maximum number of lines or directory entries to read (defaults to 2000)"
54
54
  })
55
55
  });
56
- var Input2 = LocationInput;
56
+ var Input6 = LocationInput;
57
57
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
58
- var Plugin16 = {
58
+ var Plugin24 = {
59
59
  id: "opencode.tool.read",
60
60
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
61
- const reader = yield* Service7;
62
- const access = yield* Service42;
63
- const sessionInstructions = yield* Service8;
61
+ const reader = yield* Service10;
62
+ const access = yield* Service58;
63
+ const sessionInstructions = yield* Service9;
64
64
  const fs = yield* FSUtil.Service;
65
- const location = yield* Service76;
65
+ const location = yield* Service73;
66
66
  yield* ctx.tool.transform((editor) => editor.add({
67
- name: name2,
67
+ name: name6,
68
68
  options: { codemode: false },
69
69
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
70
- input: Input2,
70
+ input: Input6,
71
71
  output: Output,
72
72
  execute: (input, context) => {
73
73
  return Effect.gen(function* () {
@@ -112,7 +112,7 @@ var Plugin16 = {
112
112
  return { output: result.content, path: result.path };
113
113
  }).pipe(Effect.map((result) => ({
114
114
  output: result.output,
115
- content: toModelContent2(result.path, input.offset, result.output),
115
+ content: toModelContent4(result.path, input.offset, result.output),
116
116
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
117
117
  })), Effect.mapError((error) => {
118
118
  if (error instanceof ToolFailure)
@@ -144,7 +144,7 @@ ${suggestions.join(`
144
144
  });
145
145
  })
146
146
  };
147
- var toModelContent2 = (path, offset, output) => {
147
+ var toModelContent4 = (path, offset, output) => {
148
148
  if (output.type === "file" && output.encoding === "base64")
149
149
  return [
150
150
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -180,4 +180,4 @@ var toModelContent2 = (path, offset, output) => {
180
180
  `);
181
181
  };
182
182
 
183
- export { name2, Input2, Plugin16, toModelContent2, exports_read };
183
+ export { name6, Input6, Plugin24, toModelContent4, exports_read };
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./rpc-azwf31fh.js";
4
+ } from "./shell-2130zj7j.js";
5
5
  import {
6
6
  Service79,
7
7
  node84
8
- } from "./rpc-dnz2amen.js";
8
+ } from "./shell-tsmdsbrt.js";
9
9
  import {
10
- Service49,
11
- node52
12
- } from "./rpc-v8jfbz3g.js";
10
+ Service40,
11
+ node43
12
+ } from "./shell-qfzde7bh.js";
13
13
  import {
14
14
  AbsolutePath2,
15
15
  RelativePath2
16
- } from "./rpc-922hggd3.js";
16
+ } from "./shell-922hggd3.js";
17
17
  import {
18
- Service77,
19
- node82
20
- } from "./rpc-56s2cdtz.js";
18
+ Service74,
19
+ node79
20
+ } from "./shell-785qyyg3.js";
21
21
  import {
22
22
  Ref4
23
- } from "./rpc-m060z7eb.js";
23
+ } from "./shell-zgavb9cq.js";
24
24
  import {
25
- Service73,
26
- node78
27
- } from "./rpc-mpjjaxhm.js";
25
+ Service53,
26
+ node56
27
+ } from "./shell-hcn7vb16.js";
28
28
  import {
29
29
  SessionMessage2
30
- } from "./rpc-gftt206x.js";
30
+ } from "./shell-gftt206x.js";
31
31
  import {
32
- NotFoundError7
33
- } from "./rpc-egrr39fs.js";
32
+ NotFoundError10
33
+ } from "./shell-1vr0zdnx.js";
34
34
  import {
35
35
  SessionEvent2
36
- } from "./rpc-ec1grn59.js";
36
+ } from "./shell-ec1grn59.js";
37
37
  import {
38
- Service47
39
- } from "./rpc-embw8kgh.js";
38
+ Service37
39
+ } from "./shell-gst7axd9.js";
40
40
  import {
41
- Service54,
42
- node57
43
- } from "./rpc-qzfy2ng8.js";
41
+ Service71,
42
+ node76
43
+ } from "./shell-v261m4vn.js";
44
44
  import {
45
45
  Item2,
46
46
  serialized2,
47
- Service48,
48
- node51,
47
+ Service39,
48
+ node42,
49
49
  moveIDs2
50
- } from "./rpc-0mvp0mh7.js";
50
+ } from "./shell-ye4pzvdc.js";
51
51
  import {
52
- Service46,
53
- node50
54
- } from "./rpc-720ed7zc.js";
52
+ Service36,
53
+ node40
54
+ } from "./shell-9n54j36e.js";
55
55
  import {
56
- node23
57
- } from "./rpc-4hct64pd.js";
56
+ node29
57
+ } from "./shell-r2j209s7.js";
58
58
  import {
59
59
  __export
60
- } from "./rpc-9rqn6x4v.js";
60
+ } from "./shell-9rqn6x4v.js";
61
61
 
62
62
  // src/session/move.ts
63
63
  var exports_move = {};
@@ -65,9 +65,9 @@ __export(exports_move, {
65
65
  DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
66
66
  DestinationNotFoundError: () => DestinationNotFoundError2,
67
67
  DestinationUnavailableError: () => DestinationUnavailableError2,
68
- Service: () => Service18,
68
+ Service: () => Service19,
69
69
  SessionMove: () => exports_move,
70
- node: () => node22
70
+ node: () => node23
71
71
  });
72
72
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
73
73
  import { FSUtil } from "@opencode/util/fs-util";
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
83
83
  class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
84
84
  }
85
85
 
86
- class Service18 extends Context.Service()("@opencode/SessionMove") {
86
+ class Service19 extends Context.Service()("@opencode/SessionMove") {
87
87
  }
88
- var layer = Layer.effect(Service18, Effect.gen(function* () {
88
+ var layer = Layer.effect(Service19, Effect.gen(function* () {
89
89
  const fs = yield* FSUtil.Service;
90
90
  const global = yield* Global.Service;
91
- const projects = yield* Service77;
92
- const locations = yield* Service73;
93
- const store = yield* Service54;
94
- const execution = yield* Service46;
95
- const instances = yield* Service49;
96
- const admission = yield* Service48;
91
+ const projects = yield* Service74;
92
+ const locations = yield* Service53;
93
+ const store = yield* Service71;
94
+ const execution = yield* Service36;
95
+ const instances = yield* Service40;
96
+ const admission = yield* Service39;
97
97
  const database = yield* Service80;
98
98
  const bus = yield* Service79;
99
99
  const get = Effect.fn("SessionMove.get")(function* (sessionID) {
100
100
  const session = yield* store.get(sessionID);
101
101
  if (!session)
102
- return yield* new NotFoundError7({ sessionID });
102
+ return yield* new NotFoundError10({ sessionID });
103
103
  return session;
104
104
  });
105
105
  const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
131
131
  return false;
132
132
  if (!(yield* fs.isDir(session.location.directory)))
133
133
  return true;
134
- return yield* Service47.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
134
+ return yield* Service37.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
135
135
  });
136
- return Service18.of({
136
+ return Service19.of({
137
137
  move: Effect.fn("SessionMove.move")(function* (input) {
138
138
  const session = yield* get(input.sessionID);
139
139
  const destination = yield* resolveDestination(session, input);
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
163
163
  })
164
164
  });
165
165
  }));
166
- var node22 = makeGlobalNode({
167
- service: Service18,
166
+ var node23 = makeGlobalNode({
167
+ service: Service19,
168
168
  layer,
169
169
  deps: [
170
170
  FSUtil.node,
171
171
  Global.node,
172
- node82,
173
- node78,
174
- node57,
175
- node50,
176
- node52,
177
- node51,
172
+ node79,
173
+ node56,
174
+ node76,
175
+ node40,
176
+ node43,
177
+ node42,
178
178
  node85,
179
179
  node84,
180
- node23
180
+ node29
181
181
  ]
182
182
  });
183
183
 
184
- export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service18, node22, exports_move };
184
+ export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service19, node23, exports_move };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  Service79
3
- } from "./rpc-dnz2amen.js";
3
+ } from "./shell-tsmdsbrt.js";
4
4
  import {
5
5
  OAuth3,
6
- Event17
7
- } from "./rpc-ak9cgfv8.js";
6
+ Event15
7
+ } from "./shell-e9ctdnam.js";
8
8
  import {
9
- ID10,
9
+ ID5,
10
10
  MethodID2
11
- } from "./rpc-9fvtqfah.js";
11
+ } from "./shell-y6cbkzy7.js";
12
12
  import {
13
- ID15,
13
+ ID9,
14
14
  mergeOverlay2,
15
15
  mergeHeaders2
16
- } from "./rpc-xjk8cg32.js";
16
+ } from "./shell-m1xnp8jy.js";
17
17
  import {
18
- ID3,
19
- Input13,
18
+ ID7,
19
+ Input14,
20
20
  Response2
21
- } from "./rpc-evc8ed70.js";
21
+ } from "./shell-g6etydj3.js";
22
22
 
23
23
  // src/plugin/provider/opencode.ts
24
24
  import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
@@ -32,7 +32,7 @@ var methodID = MethodID2.make("device");
32
32
  var RemoteResponse = Schema.Struct({
33
33
  providers: Schema.Record(Schema.String, ConfigProvider.Info),
34
34
  websearch: Schema.Struct({
35
- providerID: ID3
35
+ providerID: ID7
36
36
  }).pipe(Schema.optional)
37
37
  });
38
38
  var Device = Schema.Struct({
@@ -54,7 +54,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
54
54
  var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
55
55
  function oauth(http) {
56
56
  return {
57
- integrationID: ID10.make("opencode"),
57
+ integrationID: ID5.make("opencode"),
58
58
  method: {
59
59
  id: methodID,
60
60
  type: "oauth",
@@ -125,7 +125,7 @@ var OpencodePlugin2 = define({
125
125
  catalog.provider.update(providerID, (provider) => {
126
126
  if (source && source.provider !== provider)
127
127
  Object.assign(provider, structuredClone(source.provider), { id: provider.id });
128
- provider.integrationID = ID10.make("opencode");
128
+ provider.integrationID = ID5.make("opencode");
129
129
  if (item.canonical !== undefined)
130
130
  provider.canonical = item.canonical;
131
131
  if (item.name !== undefined)
@@ -188,7 +188,7 @@ var OpencodePlugin2 = define({
188
188
  });
189
189
  }
190
190
  }
191
- const item = catalog.provider.get(ID15.opencode);
191
+ const item = catalog.provider.get(ID9.opencode);
192
192
  if (!item)
193
193
  return;
194
194
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
@@ -228,7 +228,7 @@ var OpencodePlugin2 = define({
228
228
  const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
229
229
  const token = credential.type === "oauth" ? credential.access : credential.key;
230
230
  const server = yield* normalizeServer(serverUrl(credential));
231
- const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
231
+ const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
232
232
  query: input.query,
233
233
  providerID: descriptor.providerID
234
234
  }));
@@ -249,7 +249,7 @@ var OpencodePlugin2 = define({
249
249
  yield* Effect.all([ctx.catalog.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
250
250
  });
251
251
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
252
- yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
252
+ yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID5.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
253
253
  yield* Effect.sleep(Duration.minutes(10)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
254
254
  })
255
255
  });
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  parseOption2
3
- } from "./rpc-5daktx2q.js";
3
+ } from "./shell-5daktx2q.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./rpc-922hggd3.js";
6
+ } from "./shell-922hggd3.js";
7
7
  import {
8
- ID5,
8
+ ID12,
9
9
  Name2
10
- } from "./rpc-d4wz6bh8.js";
10
+ } from "./shell-hwcbwms2.js";
11
11
  import {
12
12
  __export
13
- } from "./rpc-9rqn6x4v.js";
13
+ } from "./shell-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/skill-file.ts
16
16
  var exports_skill_file = {};
@@ -55,7 +55,7 @@ function parse2(directory, filepath, content) {
55
55
  return {
56
56
  _tag: "Parsed",
57
57
  skill: {
58
- id: ID5.make(id),
58
+ id: ID12.make(id),
59
59
  name: Name2.make(frontmatter.name ?? id),
60
60
  ...frontmatter.description === undefined ? {} : { description: frontmatter.description },
61
61
  ...autoinvoke === undefined ? {} : { autoinvoke },
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./rpc-9rqn6x4v.js";
3
+ } from "./shell-9rqn6x4v.js";
4
4
 
5
5
  // src/session/subagent-completion.ts
6
6
  var exports_subagent_completion = {};
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  useragent2
3
- } from "./rpc-2gq7g35w.js";
3
+ } from "./shell-pe83jqzf.js";
4
4
  import {
5
- ID15
6
- } from "./rpc-xjk8cg32.js";
5
+ ID9
6
+ } from "./shell-m1xnp8jy.js";
7
7
  import {
8
8
  iife2
9
- } from "./rpc-1kg9ymc8.js";
9
+ } from "./shell-1kg9ymc8.js";
10
10
  import {
11
11
  configuredSettings2
12
- } from "./rpc-awy0m2ht.js";
12
+ } from "./shell-39nqk1vw.js";
13
13
 
14
14
  // src/plugin/provider/cloudflare-ai-gateway.ts
15
15
  import os from "os";
16
16
  import { Effect, Option, Schema } from "effect";
17
17
  import { define } from "@opencode/plugin/effect/plugin";
18
18
  import { Form } from "@opencode/schema/form";
19
- var providerID = ID15.make("cloudflare-ai-gateway");
19
+ var providerID = ID9.make("cloudflare-ai-gateway");
20
20
  var CloudflareAIGatewayPlugin2 = define({
21
21
  id: "opencode.provider.cloudflare.ai.gateway",
22
22
  effect: Effect.fn(function* (ctx) {