@opencode/core 0.0.0-dev-20769 → 0.0.0-dev-20770

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 (785) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +84 -84
  3. package/dist/aisdk-native.js +90 -90
  4. package/dist/aisdk.js +95 -95
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +74 -74
  7. package/dist/chunks/{command-vk72yjfq.js → image-041t82c7.js} +20 -20
  8. package/dist/chunks/{command-jhdf29st.js → image-075nkgpd.js} +1 -1
  9. package/dist/chunks/{command-y09faa16.js → image-09nybzg2.js} +59 -59
  10. package/dist/chunks/{command-jchqn624.js → image-0awd3xbx.js} +20 -20
  11. package/dist/chunks/{command-1k1g10xm.js → image-0ctpqd57.js} +19 -19
  12. package/dist/chunks/{command-vn72gsba.js → image-0dygnakk.js} +4 -4
  13. package/dist/chunks/{command-fcrkznn8.js → image-0jwsre1p.js} +5 -5
  14. package/dist/chunks/{command-0paq2nw3.js → image-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{command-7673qv3a.js → image-0s7nf1m3.js} +40 -40
  16. package/dist/chunks/{command-0vbcp93d.js → image-0vbcp93d.js} +2 -2
  17. package/dist/chunks/{command-qy3rjsqy.js → image-0vch7je2.js} +9 -9
  18. package/dist/chunks/{command-87p4d0xt.js → image-10zndtjr.js} +19 -19
  19. package/dist/chunks/{command-515an3gh.js → image-15czwfxg.js} +12 -12
  20. package/dist/chunks/{command-1dazxqgg.js → image-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{command-z0ztsmt3.js → image-1dnan4rb.js} +25 -25
  22. package/dist/chunks/{command-cyh7wg1w.js → image-1pskmaac.js} +5 -5
  23. package/dist/chunks/{command-9rweq90g.js → image-1yecq4ds.js} +33 -33
  24. package/dist/chunks/{command-56gdpj1q.js → image-1ygqh575.js} +9 -9
  25. package/dist/chunks/{command-zr0jwwm8.js → image-1yj6kr6p.js} +35 -35
  26. package/dist/chunks/{command-he4t8aj9.js → image-22vh467z.js} +63 -63
  27. package/dist/chunks/{command-x661k3y3.js → image-27wkeaxf.js} +4 -4
  28. package/dist/chunks/{command-2a5m3afh.js → image-2a5m3afh.js} +1 -1
  29. package/dist/chunks/{command-1anvkqaj.js → image-2ap47e6v.js} +5 -5
  30. package/dist/chunks/{command-zenppd36.js → image-2h7yfs5w.js} +10 -10
  31. package/dist/chunks/{command-n47613g7.js → image-2nvxdapn.js} +25 -25
  32. package/dist/chunks/{command-9m6ezjpa.js → image-2zwjzpyw.js} +48 -48
  33. package/dist/chunks/{command-aqjx0n1j.js → image-3azbjbrk.js} +13 -13
  34. package/dist/chunks/{command-h2b79v29.js → image-3cegwx68.js} +2 -2
  35. package/dist/chunks/{command-3fc6dm20.js → image-3fc6dm20.js} +1 -1
  36. package/dist/chunks/{command-3hepkmqq.js → image-3hepkmqq.js} +1 -1
  37. package/dist/chunks/{command-6mqt3e2m.js → image-3mvw8hwr.js} +90 -90
  38. package/dist/chunks/{command-3smtnn6g.js → image-3smtnn6g.js} +1 -1
  39. package/dist/chunks/{command-3tvqynh2.js → image-3tvqynh2.js} +1 -1
  40. package/dist/chunks/{command-4pt0f44s.js → image-3y94rg0q.js} +1 -1
  41. package/dist/chunks/{command-2rnsjg8j.js → image-3zktyf06.js} +16 -16
  42. package/dist/chunks/{command-3zsf4n22.js → image-3zsf4n22.js} +1 -1
  43. package/dist/chunks/{command-bj71rb14.js → image-41ept3mq.js} +42 -42
  44. package/dist/chunks/{command-e64rsrma.js → image-440bjxhy.js} +18 -18
  45. package/dist/chunks/{command-vw8671r7.js → image-44btjb7h.js} +15 -15
  46. package/dist/chunks/{command-99pmxzzt.js → image-481ys7d2.js} +18 -18
  47. package/dist/chunks/{command-84m9x9qp.js → image-49aa9tv9.js} +10 -10
  48. package/dist/chunks/{command-0jfkt8vv.js → image-4a0nv7mx.js} +8 -8
  49. package/dist/chunks/{command-x8hrb5ef.js → image-4ejkykhx.js} +13 -13
  50. package/dist/chunks/{command-18ap9tnf.js → image-4rw0bag3.js} +14 -14
  51. package/dist/chunks/{command-623vbcth.js → image-4ssbvhhj.js} +23 -23
  52. package/dist/chunks/{command-2ccvkpx1.js → image-4ts7tf6z.js} +2 -2
  53. package/dist/chunks/{command-wf41wetg.js → image-4wqxch05.js} +4 -4
  54. package/dist/chunks/{command-54ma36ye.js → image-54ma36ye.js} +1 -1
  55. package/dist/chunks/{command-nsmgr25e.js → image-5c9p8ghf.js} +28 -28
  56. package/dist/chunks/{command-cd12z3fw.js → image-5deywexc.js} +11 -11
  57. package/dist/chunks/{command-5m9w47nd.js → image-5m9w47nd.js} +1 -1
  58. package/dist/chunks/{command-92m86vnr.js → image-5q4rawzp.js} +17 -17
  59. package/dist/chunks/{command-e3qxr5gk.js → image-5qd3pb7m.js} +2 -2
  60. package/dist/chunks/{command-5t3nmthw.js → image-5t3nmthw.js} +2 -2
  61. package/dist/chunks/{command-66kp86sb.js → image-5tmevtes.js} +16 -16
  62. package/dist/chunks/{command-6g5g4km8.js → image-5xxxbt3x.js} +11 -11
  63. package/dist/chunks/{command-9hn6k4tm.js → image-5yzzbxa7.js} +8 -8
  64. package/dist/chunks/{command-zqem9qy2.js → image-60y3b2sj.js} +23 -23
  65. package/dist/chunks/{command-0phvz199.js → image-675vp0tw.js} +26 -26
  66. package/dist/chunks/{command-wz2xgq7h.js → image-677aqnj9.js} +22 -22
  67. package/dist/chunks/{command-7vmqzv7e.js → image-6hfyv1b2.js} +20 -20
  68. package/dist/chunks/{command-tkcpjehs.js → image-6remysx9.js} +3 -3
  69. package/dist/chunks/{command-w0bh0r92.js → image-6wc9syvb.js} +9 -9
  70. package/dist/chunks/{command-6xb47vfp.js → image-6xb47vfp.js} +1 -1
  71. package/dist/chunks/{command-2n74xpsv.js → image-6ykges59.js} +11 -11
  72. package/dist/chunks/{command-ck29v63s.js → image-7767gsxs.js} +18 -18
  73. package/dist/chunks/{command-7bmhse3q.js → image-7bmhse3q.js} +1 -1
  74. package/dist/chunks/{command-c0ae7knw.js → image-7nhwhv68.js} +13 -13
  75. package/dist/chunks/{command-xmrt07m4.js → image-7pfb1n47.js} +24 -24
  76. package/dist/chunks/{command-sm5ftd4r.js → image-7vwbk804.js} +13 -13
  77. package/dist/chunks/{command-4ss4nz6v.js → image-7vy9jfn1.js} +89 -89
  78. package/dist/chunks/{command-p84dsdfh.js → image-7w62dbd4.js} +8 -8
  79. package/dist/chunks/{command-0krzpew9.js → image-836pvxvq.js} +16 -16
  80. package/dist/chunks/{command-1dvck2a7.js → image-84h8c373.js} +2 -2
  81. package/dist/chunks/{command-bkrmrvda.js → image-8554gs04.js} +31 -31
  82. package/dist/chunks/{command-vwc4prqk.js → image-86yhqnec.js} +32 -32
  83. package/dist/chunks/{command-tcezcvh9.js → image-89znhe33.js} +4 -4
  84. package/dist/chunks/{command-8d7r5vzw.js → image-8d7r5vzw.js} +1 -1
  85. package/dist/chunks/{command-xbqfgjjd.js → image-8eep2hv1.js} +13 -13
  86. package/dist/chunks/{command-8cr662t3.js → image-8hat6psx.js} +26 -26
  87. package/dist/chunks/{command-8m6m0r52.js → image-8m6m0r52.js} +1 -1
  88. package/dist/chunks/{command-dq1bnfqe.js → image-8mng3aqa.js} +18 -18
  89. package/dist/chunks/{command-06p69rdn.js → image-8q0jeynm.js} +30 -30
  90. package/dist/chunks/{command-rf8e7cth.js → image-8qg44ggg.js} +5 -5
  91. package/dist/chunks/{command-0318w5av.js → image-8tjs3aj8.js} +16 -16
  92. package/dist/chunks/{command-660dypsd.js → image-8wpfbzww.js} +9 -9
  93. package/dist/chunks/{command-pdfz7b8h.js → image-8yq4eec2.js} +6 -6
  94. package/dist/chunks/{command-7de9fsee.js → image-9cf93m84.js} +34 -34
  95. package/dist/chunks/{command-2w45p6vf.js → image-9ddkctfv.js} +6 -6
  96. package/dist/chunks/{command-8104mvwr.js → image-9eprzpvb.js} +22 -22
  97. package/dist/chunks/{command-a01kwcy5.js → image-9m7vv79v.js} +24 -24
  98. package/dist/chunks/{command-1yz7hnxc.js → image-9s6dvtc7.js} +4 -4
  99. package/dist/chunks/{command-7e1b9xgy.js → image-9stqpfrt.js} +5 -5
  100. package/dist/chunks/{command-yhj4pxny.js → image-9vtsvkk2.js} +6 -6
  101. package/dist/chunks/{command-26z9df31.js → image-a5cdehyv.js} +11 -11
  102. package/dist/chunks/{command-aaet6srn.js → image-aaet6srn.js} +2 -2
  103. package/dist/chunks/{command-ngnadpjp.js → image-acrzpgea.js} +18 -18
  104. package/dist/chunks/{command-ahd542yp.js → image-ahd542yp.js} +1 -1
  105. package/dist/chunks/{command-292cc9em.js → image-anr3pw30.js} +15 -15
  106. package/dist/chunks/{command-hf7hhz9b.js → image-arza43z3.js} +31 -31
  107. package/dist/chunks/{command-chazjjtm.js → image-awt48awe.js} +11 -11
  108. package/dist/chunks/{command-qygbw77c.js → image-b3f8fkhc.js} +5 -5
  109. package/dist/chunks/{command-b6gygkdw.js → image-b6gygkdw.js} +2 -2
  110. package/dist/chunks/{command-ffsnjat1.js → image-b76x2m65.js} +11 -11
  111. package/dist/chunks/{command-ysa60zpw.js → image-bamz5q2k.js} +40 -40
  112. package/dist/chunks/{command-3krmkrdj.js → image-bft4sneq.js} +20 -20
  113. package/dist/chunks/{command-6z2ym5vj.js → image-brk5xemp.js} +2 -2
  114. package/dist/chunks/{command-6k0qcnf2.js → image-bsqg9vvc.js} +182 -182
  115. package/dist/chunks/{command-d1b68md1.js → image-bw1xjm31.js} +29 -29
  116. package/dist/chunks/{command-z6c3x22d.js → image-bx0gyb4h.js} +5 -5
  117. package/dist/chunks/{command-wae1eth8.js → image-bxrzb9dv.js} +16 -16
  118. package/dist/chunks/{command-7qqt47jk.js → image-c2yxxqq1.js} +12 -12
  119. package/dist/chunks/{command-5dkn69vz.js → image-c35597j6.js} +4 -4
  120. package/dist/chunks/{command-bc9jga2r.js → image-c8zhxc9r.js} +33 -33
  121. package/dist/chunks/{command-ts23464c.js → image-cfsekr6v.js} +4 -4
  122. package/dist/chunks/{command-kwpv2rkk.js → image-cqjcr0r6.js} +5 -5
  123. package/dist/chunks/image-d8brtrny.js +253 -0
  124. package/dist/chunks/{command-nn4dfddg.js → image-d8kez5rj.js} +14 -14
  125. package/dist/chunks/{command-3qaj4cxb.js → image-dbjvcwrz.js} +32 -32
  126. package/dist/chunks/{command-tdhfktd2.js → image-dgma0v0g.js} +3 -3
  127. package/dist/chunks/{command-qmqgtz8f.js → image-djszqvmq.js} +9 -9
  128. package/dist/chunks/{command-0cmn5rge.js → image-dk5yfsac.js} +7 -7
  129. package/dist/chunks/{command-fhh8xp70.js → image-dkrtd87p.js} +8 -8
  130. package/dist/chunks/{command-t72q4s7p.js → image-dyfd7p19.js} +72 -72
  131. package/dist/chunks/{command-v25eh54h.js → image-e2fft7m7.js} +27 -27
  132. package/dist/chunks/{command-h87jsb94.js → image-e31pc1r0.js} +11 -11
  133. package/dist/chunks/{command-84z82431.js → image-e5dmqxzh.js} +16 -16
  134. package/dist/chunks/{command-ef5x83kb.js → image-ef5x83kb.js} +1 -1
  135. package/dist/chunks/{command-z1m5xnfc.js → image-efn550kk.js} +9 -9
  136. package/dist/chunks/{command-n7r13ptd.js → image-ekxgv8sm.js} +32 -32
  137. package/dist/chunks/{command-e8qyrgb1.js → image-emwywv8g.js} +5 -5
  138. package/dist/chunks/{command-g9hk75ce.js → image-eq3ahw1b.js} +6 -6
  139. package/dist/chunks/{command-etq0c3wd.js → image-etq0c3wd.js} +1 -1
  140. package/dist/chunks/{command-qvc24n4z.js → image-ewjzx6jk.js} +32 -32
  141. package/dist/chunks/{command-h1fdpneg.js → image-ex2cbdg3.js} +43 -43
  142. package/dist/chunks/{command-523vynas.js → image-f241ft5h.js} +10 -10
  143. package/dist/chunks/{command-71az546q.js → image-f75zav2x.js} +2 -2
  144. package/dist/chunks/{command-3zcsje8y.js → image-fd0dxwga.js} +45 -45
  145. package/dist/chunks/{command-2krcd1rw.js → image-fkmw5y64.js} +36 -36
  146. package/dist/chunks/{command-gsc7b8kn.js → image-g064njaw.js} +3 -3
  147. package/dist/chunks/{command-w19d8598.js → image-g5w8qwbj.js} +7 -7
  148. package/dist/chunks/{command-tk14y25j.js → image-g6yfr6ja.js} +5 -5
  149. package/dist/chunks/{command-y4v8413a.js → image-g8hhgq6a.js} +13 -13
  150. package/dist/chunks/{command-gd4qta3r.js → image-gd4qta3r.js} +1 -1
  151. package/dist/chunks/{command-0q1vk8yj.js → image-gfdh8bzj.js} +26 -26
  152. package/dist/chunks/{command-3sax2pat.js → image-gfrj34zz.js} +9 -9
  153. package/dist/chunks/{command-kwh6wrz7.js → image-ggk25htp.js} +23 -23
  154. package/dist/chunks/{command-8reemnws.js → image-gp3jnpha.js} +18 -18
  155. package/dist/chunks/{command-qdcexj3y.js → image-gsre9xy5.js} +35 -35
  156. package/dist/chunks/{command-hwnq7bgp.js → image-h13r9xpt.js} +35 -35
  157. package/dist/chunks/{command-f1jq0k88.js → image-h3texmss.js} +24 -24
  158. package/dist/chunks/{command-79mt7z1c.js → image-h6c7f36b.js} +11 -11
  159. package/dist/chunks/{command-h6vf3j39.js → image-h6vf3j39.js} +1 -1
  160. package/dist/chunks/{command-1k9wxahb.js → image-h9f0bywq.js} +4 -4
  161. package/dist/chunks/{command-z8havtpn.js → image-hbghfsb3.js} +36 -36
  162. package/dist/chunks/{command-ra9x6was.js → image-hd61hmfw.js} +7 -7
  163. package/dist/chunks/{command-mcj5zvwd.js → image-hd6pkj63.js} +5 -5
  164. package/dist/chunks/{command-j56e64zr.js → image-j56e64zr.js} +1 -1
  165. package/dist/chunks/{command-ncv10102.js → image-je5crjvy.js} +22 -22
  166. package/dist/chunks/{command-z5gm0zap.js → image-jervv9x6.js} +11 -11
  167. package/dist/chunks/{command-8pky2mqy.js → image-jjby5vjv.js} +13 -13
  168. package/dist/chunks/{command-mffyeyw6.js → image-jxgn0kws.js} +18 -18
  169. package/dist/chunks/{command-n8sna2wb.js → image-k70p9jzb.js} +9 -9
  170. package/dist/chunks/{command-b27vhd2z.js → image-k76krqzs.js} +4 -4
  171. package/dist/chunks/{command-qd4p8sqz.js → image-k967mgwg.js} +7 -7
  172. package/dist/chunks/{command-tyd32c2a.js → image-k9aczath.js} +32 -32
  173. package/dist/chunks/{command-9e5bzkjp.js → image-kb9j3d72.js} +3 -3
  174. package/dist/chunks/{command-57jasbpr.js → image-kddtsjha.js} +28 -28
  175. package/dist/chunks/{command-m3fdjcah.js → image-m3fdjcah.js} +1 -1
  176. package/dist/chunks/{command-maan0pjm.js → image-m55qy151.js} +10 -10
  177. package/dist/chunks/{command-b859c47q.js → image-m5erm5rf.js} +13 -13
  178. package/dist/chunks/{command-m9w0rfyh.js → image-m9w0rfyh.js} +1 -1
  179. package/dist/chunks/{command-mvfsc1pv.js → image-mhkvc446.js} +3 -3
  180. package/dist/chunks/{command-z3gyfksb.js → image-mjbndmwc.js} +13 -13
  181. package/dist/chunks/{command-zq90ax3z.js → image-mmvvpmn0.js} +15 -15
  182. package/dist/chunks/{command-w5bc32dk.js → image-mvd0spm1.js} +18 -18
  183. package/dist/chunks/{command-054fwxeq.js → image-mxdrjzrw.js} +1 -1
  184. package/dist/chunks/{command-2wqm2tex.js → image-mya2msdv.js} +4 -4
  185. package/dist/chunks/{command-pbg9y4q9.js → image-mzs2gyja.js} +14 -14
  186. package/dist/chunks/image-n3g6rkfy.js +26 -0
  187. package/dist/chunks/{command-3kpv6d7f.js → image-nbanbgc2.js} +25 -25
  188. package/dist/chunks/{command-0gs9ze8y.js → image-nc2cfpfm.js} +27 -27
  189. package/dist/chunks/{command-y5rf7nzv.js → image-ngyhb3xw.js} +4 -4
  190. package/dist/chunks/{command-g17zd597.js → image-nm427c8q.js} +9 -9
  191. package/dist/chunks/{command-m379zx38.js → image-nme1zdtk.js} +3 -3
  192. package/dist/chunks/{command-1e9w0668.js → image-nqdj7vdj.js} +11 -11
  193. package/dist/chunks/{command-6sr3ve8g.js → image-nrdmrqsx.js} +21 -21
  194. package/dist/chunks/{command-2zem7nw1.js → image-nrkkmtgp.js} +11 -11
  195. package/dist/chunks/{command-6jkfkrbh.js → image-nrx3kk23.js} +32 -32
  196. package/dist/chunks/{command-dpkg50ah.js → image-nxm207yx.js} +4 -4
  197. package/dist/chunks/{command-hcbkwrsn.js → image-p0249ayz.js} +14 -14
  198. package/dist/chunks/{command-h02p5s82.js → image-p4vrpbsj.js} +15 -15
  199. package/dist/chunks/{command-vrfdq27c.js → image-p6frxxff.js} +15 -15
  200. package/dist/chunks/{command-c41rsx0v.js → image-pb7necgd.js} +9 -9
  201. package/dist/chunks/image-pf31ssb9.js +18 -0
  202. package/dist/chunks/{command-pjvnvgmy.js → image-pjvnvgmy.js} +1 -1
  203. package/dist/chunks/{command-pknna89w.js → image-pknna89w.js} +1 -1
  204. package/dist/chunks/{command-wj76ss2k.js → image-pmwpe40e.js} +4 -4
  205. package/dist/chunks/{command-0j77ygfz.js → image-q0xm7vwc.js} +6 -6
  206. package/dist/chunks/{command-qa2zjcgn.js → image-q2n8xn6w.js} +20 -20
  207. package/dist/chunks/{command-r3d6wck8.js → image-qb3m0ycb.js} +5 -5
  208. package/dist/chunks/{command-enyc0kgt.js → image-qc8svym5.js} +22 -22
  209. package/dist/chunks/{command-bgh1tqpz.js → image-qkqectah.js} +8 -8
  210. package/dist/chunks/{command-qnc92qwc.js → image-qnc92qwc.js} +1 -1
  211. package/dist/chunks/{command-qsdy395h.js → image-qsdy395h.js} +1 -1
  212. package/dist/chunks/{command-r8xr0va3.js → image-r8xr0va3.js} +1 -1
  213. package/dist/chunks/{command-eqvgx5n8.js → image-rbnwgj7g.js} +45 -45
  214. package/dist/chunks/{command-rdw6cm16.js → image-rdw6cm16.js} +1 -1
  215. package/dist/chunks/{command-9t7a50xb.js → image-rhjbct0v.js} +4 -4
  216. package/dist/chunks/{command-mwmn0x3x.js → image-rxncbpv0.js} +49 -49
  217. package/dist/chunks/{command-negjmbtp.js → image-s1a1jfkm.js} +23 -23
  218. package/dist/chunks/{command-8dsp7m33.js → image-s90f1sgn.js} +25 -25
  219. package/dist/chunks/{command-n724cj1w.js → image-s9e8vyty.js} +4 -4
  220. package/dist/chunks/{command-xjkjqcm9.js → image-skg22tjj.js} +11 -11
  221. package/dist/chunks/{command-d1xd2axh.js → image-skw899y8.js} +11 -11
  222. package/dist/chunks/{command-n0qmhpez.js → image-sp75dm4k.js} +8 -8
  223. package/dist/chunks/{command-h9rm1rrn.js → image-sqbb0ctm.js} +5 -5
  224. package/dist/chunks/{command-zvt5dnpc.js → image-t7n9q6bq.js} +4 -4
  225. package/dist/chunks/{command-v3wg6s96.js → image-t88vcfww.js} +6 -6
  226. package/dist/chunks/{command-ygz1yfbt.js → image-t9n9c00b.js} +11 -11
  227. package/dist/chunks/{command-tazgh4e4.js → image-tazgh4e4.js} +1 -1
  228. package/dist/chunks/{command-606svsg5.js → image-tb43rk40.js} +32 -32
  229. package/dist/chunks/{command-tdstcens.js → image-tdstcens.js} +1 -1
  230. package/dist/chunks/{command-tg7bkhef.js → image-tg7bkhef.js} +2 -2
  231. package/dist/chunks/{command-rh4gr708.js → image-tk3pg1an.js} +6 -6
  232. package/dist/chunks/{command-zvka5ftt.js → image-tnnwgabt.js} +22 -22
  233. package/dist/chunks/{command-kymrd3ak.js → image-ts2sd72x.js} +44 -44
  234. package/dist/chunks/{command-q41jnjxt.js → image-tvth849s.js} +25 -25
  235. package/dist/chunks/{command-nrtr3bxw.js → image-txz9qqe7.js} +40 -40
  236. package/dist/chunks/{command-d6kyyq6d.js → image-tynzv1y7.js} +5 -5
  237. package/dist/chunks/{command-vdxsb2wh.js → image-v35f36ck.js} +4 -4
  238. package/dist/chunks/{command-eqrshdx3.js → image-v4gm4ten.js} +7 -7
  239. package/dist/chunks/{command-whx7qtpm.js → image-v86s500e.js} +18 -18
  240. package/dist/chunks/{command-veqvce7d.js → image-veqvce7d.js} +1 -1
  241. package/dist/chunks/{command-7895kkyh.js → image-vkns81cj.js} +23 -23
  242. package/dist/chunks/{command-bhybrfey.js → image-vrmmyqmt.js} +25 -25
  243. package/dist/chunks/{command-1e9rxs9s.js → image-vxbg6nr8.js} +9 -9
  244. package/dist/chunks/{command-fmcqyzhx.js → image-vynmvp9h.js} +9 -9
  245. package/dist/chunks/{command-vzs5sf6e.js → image-vzs5sf6e.js} +1 -1
  246. package/dist/chunks/{command-w1eejvng.js → image-w1eejvng.js} +1 -1
  247. package/dist/chunks/{command-pf6898c8.js → image-w1xxyy7d.js} +22 -22
  248. package/dist/chunks/{command-vvccsdf3.js → image-w21bzq9q.js} +6 -6
  249. package/dist/chunks/{command-g6075nd9.js → image-w2t661dz.js} +2 -2
  250. package/dist/chunks/{command-w3wsvvr9.js → image-w3wsvvr9.js} +1 -1
  251. package/dist/chunks/{command-833nsgwf.js → image-w9sf4be9.js} +25 -25
  252. package/dist/chunks/{command-wd87259q.js → image-wd87259q.js} +1 -1
  253. package/dist/chunks/{command-4pkqdmes.js → image-wg4cdmsq.js} +4 -4
  254. package/dist/chunks/{command-9hnz87ww.js → image-wjc917hc.js} +38 -38
  255. package/dist/chunks/{command-ka8cnsmp.js → image-wmdmptdr.js} +13 -13
  256. package/dist/chunks/{command-8xs159sw.js → image-wt27nz7e.js} +28 -28
  257. package/dist/chunks/{command-sp1awmdz.js → image-wtvgb6mb.js} +15 -15
  258. package/dist/chunks/{command-8wnsn78t.js → image-x0aqyzcq.js} +10 -10
  259. package/dist/chunks/{command-93shjdj7.js → image-x1gcyfqe.js} +5 -5
  260. package/dist/chunks/{command-8z22cf2g.js → image-x2c6m9mw.js} +15 -15
  261. package/dist/chunks/{command-vg7eqwhf.js → image-x535bvex.js} +29 -29
  262. package/dist/chunks/{command-epq7rbn7.js → image-xby1wn0p.js} +34 -34
  263. package/dist/chunks/{command-zx2992et.js → image-xdkh3vb7.js} +3 -3
  264. package/dist/chunks/{command-xkntkrq7.js → image-xkntkrq7.js} +2 -2
  265. package/dist/chunks/{command-9w20bh8x.js → image-xrrp2a3c.js} +325 -325
  266. package/dist/chunks/{command-330p8r97.js → image-xtxja8j6.js} +9 -9
  267. package/dist/chunks/{command-xyafkbt0.js → image-xyafkbt0.js} +3 -3
  268. package/dist/chunks/{command-chnsmaqq.js → image-y0krzn8k.js} +8 -8
  269. package/dist/chunks/{command-5kwxvsns.js → image-y1btehaa.js} +21 -21
  270. package/dist/chunks/{command-y1fvbwt7.js → image-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{command-svqhbxqt.js → image-ybwa87jg.js} +27 -27
  272. package/dist/chunks/{command-2zdt3ake.js → image-yg3wy2g6.js} +25 -25
  273. package/dist/chunks/{command-g7sjemkb.js → image-yh5dsb81.js} +8 -8
  274. package/dist/chunks/{command-rnej53bg.js → image-yjanq1b2.js} +37 -37
  275. package/dist/chunks/{command-r9w3djhf.js → image-yr715y08.js} +2 -2
  276. package/dist/chunks/{command-722r8bgj.js → image-yzhf6sg2.js} +21 -21
  277. package/dist/chunks/{command-6zsjsj6a.js → image-yzscdfym.js} +16 -16
  278. package/dist/chunks/{command-z0bkrqjs.js → image-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{command-8rsg8px5.js → image-z5kqk1xz.js} +18 -18
  280. package/dist/chunks/{command-89j4xqgy.js → image-z8h2b6zj.js} +17 -17
  281. package/dist/chunks/{command-4bq005st.js → image-zaf7eyje.js} +4 -4
  282. package/dist/chunks/{command-gxnqckf7.js → image-zn1havqb.js} +35 -35
  283. package/dist/chunks/{command-zr2ceqn5.js → image-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{command-zxq2ej10.js → image-zxq2ej10.js} +1 -1
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +9 -9
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +84 -84
  290. package/dist/config/discovery.js +85 -85
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +100 -100
  293. package/dist/config/plugin/agent.js +119 -119
  294. package/dist/config/plugin/command.js +208 -208
  295. package/dist/config/plugin/compaction.js +155 -155
  296. package/dist/config/plugin/compatibility.js +135 -135
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +118 -118
  299. package/dist/config/plugin/image.js +117 -117
  300. package/dist/config/plugin/instruction.js +91 -91
  301. package/dist/config/plugin/location-watcher.js +119 -119
  302. package/dist/config/plugin/mcp.js +126 -126
  303. package/dist/config/plugin/policy.js +118 -118
  304. package/dist/config/plugin/provider.js +117 -117
  305. package/dist/config/plugin/reference.js +119 -119
  306. package/dist/config/plugin/shell.js +119 -119
  307. package/dist/config/plugin/skill-file.js +103 -103
  308. package/dist/config/plugin/skill.js +138 -138
  309. package/dist/config/plugin/snapshot.js +117 -117
  310. package/dist/config/plugin/source.js +120 -120
  311. package/dist/config/plugin/tool-output.js +118 -118
  312. package/dist/config/plugin/websearch.js +118 -118
  313. package/dist/config/plugin/worktree.js +119 -119
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +122 -122
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +80 -80
  319. package/dist/database/database.js +71 -71
  320. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +15 -15
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +16 -16
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  384. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  385. package/dist/database/migration.gen.js +50 -50
  386. package/dist/database/migration.js +52 -52
  387. package/dist/database/path.js +2 -2
  388. package/dist/database/schema.gen.js +1 -1
  389. package/dist/database/schema.sql.js +1 -1
  390. package/dist/database/sqlite.bun.js +1 -1
  391. package/dist/database/sqlite.js +1 -1
  392. package/dist/database/sqlite.node.js +1 -1
  393. package/dist/database/sqlite.workerd.js +1 -1
  394. package/dist/database/v1-migration.bun.js +80 -80
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +366 -366
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +3 -3
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +94 -94
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +94 -94
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +1 -1
  408. package/dist/event/sql.js +1 -1
  409. package/dist/event-logger.js +75 -75
  410. package/dist/file-access.js +105 -105
  411. package/dist/file-mutation.js +95 -95
  412. package/dist/file-retention.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/location-watcher-policy.js +6 -6
  418. package/dist/filesystem/location-watcher.js +219 -219
  419. package/dist/filesystem/protected.js +3 -3
  420. package/dist/filesystem/search.js +104 -104
  421. package/dist/filesystem/watcher-binding.js +3 -3
  422. package/dist/filesystem/watcher.js +15 -15
  423. package/dist/filesystem.js +107 -107
  424. package/dist/form.js +87 -87
  425. package/dist/formatter/builtins.js +4 -4
  426. package/dist/formatter.js +88 -88
  427. package/dist/generate.js +106 -106
  428. package/dist/git.js +10 -10
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +100 -100
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/image/photon.js +2 -2
  449. package/dist/image.js +6 -6
  450. package/dist/instance/service.js +5 -5
  451. package/dist/instance.js +357 -357
  452. package/dist/instruction-discovery.js +86 -86
  453. package/dist/instructions/builtins.js +88 -88
  454. package/dist/instructions/index.js +3 -3
  455. package/dist/integration/connection.js +3 -3
  456. package/dist/integration.js +88 -88
  457. package/dist/job.js +79 -79
  458. package/dist/kv/sql.js +2 -2
  459. package/dist/kv.js +74 -74
  460. package/dist/location-activity.js +135 -135
  461. package/dist/location-lifecycle.js +108 -108
  462. package/dist/location-service-map.js +87 -87
  463. package/dist/location-services.js +354 -354
  464. package/dist/location.js +86 -86
  465. package/dist/managed-policy.js +8 -8
  466. package/dist/mcp/client.js +92 -92
  467. package/dist/mcp/index.js +110 -110
  468. package/dist/mcp/instructions.js +130 -130
  469. package/dist/mcp/oauth.js +76 -76
  470. package/dist/mcp/stdio.js +91 -91
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +100 -100
  473. package/dist/model-resolver.js +97 -97
  474. package/dist/model.js +101 -101
  475. package/dist/models-dev.js +108 -108
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +83 -83
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +118 -118
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +89 -89
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +76 -76
  485. package/dist/plugin/agent.js +77 -77
  486. package/dist/plugin/command.js +103 -103
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +212 -212
  489. package/dist/plugin/identity.js +3 -3
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +329 -329
  492. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  493. package/dist/plugin/models-dev.js +97 -97
  494. package/dist/plugin/module.js +116 -116
  495. package/dist/plugin/optimize.js +2 -2
  496. package/dist/plugin/plan.js +103 -103
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/amazon-bedrock.js +91 -91
  499. package/dist/plugin/provider/azure.js +116 -116
  500. package/dist/plugin/provider/cerebras.js +1 -1
  501. package/dist/plugin/provider/chatgpt.js +95 -95
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +114 -114
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +113 -113
  506. package/dist/plugin/provider/databricks.js +1 -1
  507. package/dist/plugin/provider/digitalocean.js +94 -94
  508. package/dist/plugin/provider/dynamic.js +2 -2
  509. package/dist/plugin/provider/factory.js +1 -1
  510. package/dist/plugin/provider/github-copilot.js +96 -96
  511. package/dist/plugin/provider/gitlab.js +94 -94
  512. package/dist/plugin/provider/google-vertex.js +114 -114
  513. package/dist/plugin/provider/kilo.js +1 -1
  514. package/dist/plugin/provider/llmgateway.js +79 -79
  515. package/dist/plugin/provider/lmstudio.js +117 -117
  516. package/dist/plugin/provider/local.js +114 -114
  517. package/dist/plugin/provider/modal.js +93 -93
  518. package/dist/plugin/provider/neon.js +1 -1
  519. package/dist/plugin/provider/nvidia.js +1 -1
  520. package/dist/plugin/provider/ollama.js +117 -117
  521. package/dist/plugin/provider/openai.js +94 -94
  522. package/dist/plugin/provider/opencode.js +98 -98
  523. package/dist/plugin/provider/openrouter.js +92 -92
  524. package/dist/plugin/provider/perplexity.js +2 -2
  525. package/dist/plugin/provider/poe.js +80 -80
  526. package/dist/plugin/provider/prompt-cache-key.js +91 -91
  527. package/dist/plugin/provider/sap-ai-core.js +92 -92
  528. package/dist/plugin/provider/sdk-factory.js +1 -1
  529. package/dist/plugin/provider/snowflake-cortex.js +116 -116
  530. package/dist/plugin/provider/vercel.js +91 -91
  531. package/dist/plugin/provider/vllm.js +117 -117
  532. package/dist/plugin/provider/xai.js +92 -92
  533. package/dist/plugin/provider/zenmux.js +1 -1
  534. package/dist/plugin/provider.js +159 -159
  535. package/dist/plugin/sdk.js +77 -77
  536. package/dist/plugin/service.js +3 -3
  537. package/dist/plugin/skill.js +135 -135
  538. package/dist/plugin/source-directory.js +1 -1
  539. package/dist/plugin/supervisor.js +344 -344
  540. package/dist/plugin/tool-input-repair.js +4 -4
  541. package/dist/plugin/update.js +2 -2
  542. package/dist/plugin/vcs/git.js +87 -87
  543. package/dist/plugin/vcs/hg.js +87 -87
  544. package/dist/plugin/verbosity.js +94 -94
  545. package/dist/plugin/warming.js +115 -115
  546. package/dist/plugin/websearch/exa.js +7 -7
  547. package/dist/plugin/websearch/firecrawl.js +8 -8
  548. package/dist/plugin/websearch/index.js +9 -9
  549. package/dist/plugin/websearch/mcp.js +6 -6
  550. package/dist/plugin/websearch/parallel.js +6 -6
  551. package/dist/plugin/websearch/tavily.js +6 -6
  552. package/dist/plugin/websearch/tinyfish.js +8 -8
  553. package/dist/plugin.js +217 -217
  554. package/dist/project/schema.js +2 -2
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +85 -85
  557. package/dist/provider.js +102 -102
  558. package/dist/pty/protocol.js +1 -1
  559. package/dist/pty/ticket.js +1 -1
  560. package/dist/pty.js +98 -98
  561. package/dist/reference/instructions.js +88 -88
  562. package/dist/reference.js +86 -86
  563. package/dist/repository-cache.js +82 -82
  564. package/dist/repository.js +1 -1
  565. package/dist/ripgrep/binary.js +2 -2
  566. package/dist/ripgrep.js +98 -98
  567. package/dist/rpc.js +87 -87
  568. package/dist/schema.js +1 -1
  569. package/dist/session/affinity.js +1 -1
  570. package/dist/session/command.js +75 -75
  571. package/dist/session/compaction.js +130 -130
  572. package/dist/session/context.js +154 -154
  573. package/dist/session/diff.js +89 -89
  574. package/dist/session/environment.js +1 -1
  575. package/dist/session/error.js +7 -7
  576. package/dist/session/event.js +1 -1
  577. package/dist/session/execution/restart.js +218 -218
  578. package/dist/session/execution.js +128 -128
  579. package/dist/session/generate.js +155 -155
  580. package/dist/session/history.js +15 -15
  581. package/dist/session/inbox.js +89 -89
  582. package/dist/session/info.js +3 -3
  583. package/dist/session/instruction-entry.js +78 -78
  584. package/dist/session/instruction-state.js +8 -8
  585. package/dist/session/instructions.js +98 -98
  586. package/dist/session/message-updater.js +2 -2
  587. package/dist/session/message.js +1 -1
  588. package/dist/session/model-request.js +119 -119
  589. package/dist/session/model-transport.js +7 -7
  590. package/dist/session/move.js +130 -130
  591. package/dist/session/projector.js +87 -87
  592. package/dist/session/prompt.js +106 -106
  593. package/dist/session/provider-context.js +3 -3
  594. package/dist/session/revert.js +91 -91
  595. package/dist/session/run-coordinator.js +1 -1
  596. package/dist/session/runner/index.js +3 -3
  597. package/dist/session/runner/llm.js +225 -225
  598. package/dist/session/runner/max-steps.js +1 -1
  599. package/dist/session/runner/model.js +99 -99
  600. package/dist/session/runner/publish-llm-event.js +114 -114
  601. package/dist/session/runner/retry.js +4 -4
  602. package/dist/session/runner/step.js +126 -126
  603. package/dist/session/runner/to-llm-message.js +2 -2
  604. package/dist/session/schema.js +5 -5
  605. package/dist/session/session.js +163 -163
  606. package/dist/session/shell.js +131 -131
  607. package/dist/session/skill.js +104 -104
  608. package/dist/session/sql.js +5 -5
  609. package/dist/session/stats.js +76 -76
  610. package/dist/session/store.js +88 -88
  611. package/dist/session/subagent-completion.js +1 -1
  612. package/dist/session/subagent-job.js +204 -204
  613. package/dist/session/system-prompt.js +5 -5
  614. package/dist/session/title.js +158 -158
  615. package/dist/session/to-session-error.js +112 -112
  616. package/dist/session/transfer.js +217 -217
  617. package/dist/session/usage.js +1 -1
  618. package/dist/session.js +214 -214
  619. package/dist/shell/parse.js +6 -6
  620. package/dist/shell/result.js +1 -1
  621. package/dist/shell/scan.js +1 -1
  622. package/dist/shell/select.js +15 -15
  623. package/dist/shell.js +129 -129
  624. package/dist/skill/discovery.js +6 -6
  625. package/dist/skill/instructions.js +108 -108
  626. package/dist/skill.js +111 -111
  627. package/dist/snapshot.js +92 -92
  628. package/dist/state.js +1 -1
  629. package/dist/tool/html-markdown.js +1 -1
  630. package/dist/tool/http-body.js +1 -1
  631. package/dist/tool/mcp.js +129 -129
  632. package/dist/tool/plugin/edit.js +121 -121
  633. package/dist/tool/plugin/file-diff.js +1 -1
  634. package/dist/tool/plugin/glob.js +125 -125
  635. package/dist/tool/plugin/grep.js +125 -125
  636. package/dist/tool/plugin/mcp-resource.js +118 -118
  637. package/dist/tool/plugin/opencode.js +110 -110
  638. package/dist/tool/plugin/patch.js +123 -123
  639. package/dist/tool/plugin/question.js +104 -104
  640. package/dist/tool/plugin/read.js +124 -124
  641. package/dist/tool/plugin/shell.js +211 -211
  642. package/dist/tool/plugin/skill.js +112 -112
  643. package/dist/tool/plugin/subagent.js +213 -213
  644. package/dist/tool/plugin/webfetch.js +113 -113
  645. package/dist/tool/plugin/websearch.js +113 -113
  646. package/dist/tool/plugin/write.js +123 -123
  647. package/dist/tool/read-filesystem.js +101 -101
  648. package/dist/tool/runtime.js +1 -1
  649. package/dist/tool-output.js +7 -7
  650. package/dist/tool.js +16 -16
  651. package/dist/util/error-summary.js +1 -1
  652. package/dist/util/error.js +1 -1
  653. package/dist/util/git-executable.js +2 -2
  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 +7 -7
  661. package/dist/v1/config/command.js +3 -3
  662. package/dist/v1/config/error.js +4 -4
  663. package/dist/v1/config/mcp.js +4 -4
  664. package/dist/v1/config/migrate.js +93 -93
  665. package/dist/v1/config/permission.js +7 -7
  666. package/dist/v1/config/plugin.js +3 -3
  667. package/dist/v1/config/provider-options.js +1 -1
  668. package/dist/v1/config/provider.js +4 -4
  669. package/dist/variant.js +94 -94
  670. package/dist/vcs/patch.js +1 -1
  671. package/dist/vcs.js +90 -90
  672. package/dist/websearch.js +83 -83
  673. package/dist/wellknown/plugin.js +77 -77
  674. package/dist/wellknown.js +82 -82
  675. package/dist/workspace/driver.js +7 -7
  676. package/dist/workspace/sql.js +1 -1
  677. package/dist/workspace.js +81 -81
  678. package/dist/worktree/directory.js +2 -2
  679. package/dist/worktree/git.js +8 -8
  680. package/dist/worktree/sql.js +5 -5
  681. package/dist/worktree/strategies.js +90 -90
  682. package/dist/worktree.js +93 -93
  683. package/package.json +8 -8
  684. package/dist/chunks/command-44mcqb58.js +0 -253
  685. package/dist/chunks/command-4v7qdvcn.js +0 -18
  686. package/dist/chunks/command-szrr4m9g.js +0 -26
  687. /package/dist/chunks/{command-0qkdqm5v.js → image-0qkdqm5v.js} +0 -0
  688. /package/dist/chunks/{command-0zkw76rk.js → image-0zkw76rk.js} +0 -0
  689. /package/dist/chunks/{command-17cy0kzp.js → image-17cy0kzp.js} +0 -0
  690. /package/dist/chunks/{command-1cnp2v09.js → image-1cnp2v09.js} +0 -0
  691. /package/dist/chunks/{command-1kg9ymc8.js → image-1kg9ymc8.js} +0 -0
  692. /package/dist/chunks/{command-24dcb14g.js → image-24dcb14g.js} +0 -0
  693. /package/dist/chunks/{command-2710q6r3.js → image-2710q6r3.js} +0 -0
  694. /package/dist/chunks/{command-2axfhc9x.js → image-2axfhc9x.js} +0 -0
  695. /package/dist/chunks/{command-2c3vjs8z.js → image-2c3vjs8z.js} +0 -0
  696. /package/dist/chunks/{command-34c7v6d4.js → image-34c7v6d4.js} +0 -0
  697. /package/dist/chunks/{command-359p4xyc.js → image-359p4xyc.js} +0 -0
  698. /package/dist/chunks/{command-3asan66x.js → image-3asan66x.js} +0 -0
  699. /package/dist/chunks/{command-3t0ybcrp.js → image-3t0ybcrp.js} +0 -0
  700. /package/dist/chunks/{command-3v8g72cx.js → image-3v8g72cx.js} +0 -0
  701. /package/dist/chunks/{command-3w5fmr99.js → image-3w5fmr99.js} +0 -0
  702. /package/dist/chunks/{command-3wcehsnq.js → image-3wcehsnq.js} +0 -0
  703. /package/dist/chunks/{command-43n2bw4t.js → image-43n2bw4t.js} +0 -0
  704. /package/dist/chunks/{command-4knz6hnm.js → image-4knz6hnm.js} +0 -0
  705. /package/dist/chunks/{command-4vcrnpx2.js → image-4vcrnpx2.js} +0 -0
  706. /package/dist/chunks/{command-4y7fprxs.js → image-4y7fprxs.js} +0 -0
  707. /package/dist/chunks/{command-53557ph1.js → image-53557ph1.js} +0 -0
  708. /package/dist/chunks/{command-550bvhaj.js → image-550bvhaj.js} +0 -0
  709. /package/dist/chunks/{command-6prwharc.js → image-6prwharc.js} +0 -0
  710. /package/dist/chunks/{command-6q2bdcd1.js → image-6q2bdcd1.js} +0 -0
  711. /package/dist/chunks/{command-7akdwqpd.js → image-7akdwqpd.js} +0 -0
  712. /package/dist/chunks/{command-7m9af43g.js → image-7m9af43g.js} +0 -0
  713. /package/dist/chunks/{command-822emrt2.js → image-822emrt2.js} +0 -0
  714. /package/dist/chunks/{command-84wd9syh.js → image-84wd9syh.js} +0 -0
  715. /package/dist/chunks/{command-88xbtdfr.js → image-88xbtdfr.js} +0 -0
  716. /package/dist/chunks/{command-8n3pysct.js → image-8n3pysct.js} +0 -0
  717. /package/dist/chunks/{command-8wj87zfr.js → image-8wj87zfr.js} +0 -0
  718. /package/dist/chunks/{command-9a4afbnw.js → image-9a4afbnw.js} +0 -0
  719. /package/dist/chunks/{command-9rqn6x4v.js → image-9rqn6x4v.js} +0 -0
  720. /package/dist/chunks/{command-a6k6eb26.js → image-a6k6eb26.js} +0 -0
  721. /package/dist/chunks/{command-af5trqkr.js → image-af5trqkr.js} +0 -0
  722. /package/dist/chunks/{command-afrmfg78.js → image-afrmfg78.js} +0 -0
  723. /package/dist/chunks/{command-aqzs7mqg.js → image-aqzs7mqg.js} +0 -0
  724. /package/dist/chunks/{command-atq7p7m5.js → image-atq7p7m5.js} +0 -0
  725. /package/dist/chunks/{command-bkyjaxrp.js → image-bkyjaxrp.js} +0 -0
  726. /package/dist/chunks/{command-bmr6ed5q.js → image-bmr6ed5q.js} +0 -0
  727. /package/dist/chunks/{command-bw78ga2c.js → image-bw78ga2c.js} +0 -0
  728. /package/dist/chunks/{command-cf4snx6d.js → image-cf4snx6d.js} +0 -0
  729. /package/dist/chunks/{command-cvy3z8tj.js → image-cvy3z8tj.js} +0 -0
  730. /package/dist/chunks/{command-d9fn303g.js → image-d9fn303g.js} +0 -0
  731. /package/dist/chunks/{command-d9jj8t3e.js → image-d9jj8t3e.js} +0 -0
  732. /package/dist/chunks/{command-dajrwvna.js → image-dajrwvna.js} +0 -0
  733. /package/dist/chunks/{command-dap0rakb.js → image-dap0rakb.js} +0 -0
  734. /package/dist/chunks/{command-df08tz66.js → image-df08tz66.js} +0 -0
  735. /package/dist/chunks/{command-dy18nga0.js → image-dy18nga0.js} +0 -0
  736. /package/dist/chunks/{command-e5kj55wp.js → image-e5kj55wp.js} +0 -0
  737. /package/dist/chunks/{command-e73j6tqm.js → image-e73j6tqm.js} +0 -0
  738. /package/dist/chunks/{command-ec1grn59.js → image-ec1grn59.js} +0 -0
  739. /package/dist/chunks/{command-eh3zwz77.js → image-eh3zwz77.js} +0 -0
  740. /package/dist/chunks/{command-emrn6kk6.js → image-emrn6kk6.js} +0 -0
  741. /package/dist/chunks/{command-f0mxakyp.js → image-f0mxakyp.js} +0 -0
  742. /package/dist/chunks/{command-f6n9ztr4.js → image-f6n9ztr4.js} +0 -0
  743. /package/dist/chunks/{command-faypxj3z.js → image-faypxj3z.js} +0 -0
  744. /package/dist/chunks/{command-fd410y7t.js → image-fd410y7t.js} +0 -0
  745. /package/dist/chunks/{command-fxgpk5d8.js → image-fxgpk5d8.js} +0 -0
  746. /package/dist/chunks/{command-g4wezp1m.js → image-g4wezp1m.js} +0 -0
  747. /package/dist/chunks/{command-g86h250q.js → image-g86h250q.js} +0 -0
  748. /package/dist/chunks/{command-gebd4c9n.js → image-gebd4c9n.js} +0 -0
  749. /package/dist/chunks/{command-gftt206x.js → image-gftt206x.js} +0 -0
  750. /package/dist/chunks/{command-hk9envan.js → image-hk9envan.js} +0 -0
  751. /package/dist/chunks/{command-j2ntwpah.js → image-j2ntwpah.js} +0 -0
  752. /package/dist/chunks/{command-j5zkgpj8.js → image-j5zkgpj8.js} +0 -0
  753. /package/dist/chunks/{command-jjkms2e6.js → image-jjkms2e6.js} +0 -0
  754. /package/dist/chunks/{command-jr7sbwjy.js → image-jr7sbwjy.js} +0 -0
  755. /package/dist/chunks/{command-jwfs4k6c.js → image-jwfs4k6c.js} +0 -0
  756. /package/dist/chunks/{command-jzg6c2d5.js → image-jzg6c2d5.js} +0 -0
  757. /package/dist/chunks/{command-mp448xyj.js → image-mp448xyj.js} +0 -0
  758. /package/dist/chunks/{command-msx8hqn2.js → image-msx8hqn2.js} +0 -0
  759. /package/dist/chunks/{command-n05xt0ee.js → image-n05xt0ee.js} +0 -0
  760. /package/dist/chunks/{command-n3j8tn72.js → image-n3j8tn72.js} +0 -0
  761. /package/dist/chunks/{command-njntx4h6.js → image-njntx4h6.js} +0 -0
  762. /package/dist/chunks/{command-q3sfg36h.js → image-q3sfg36h.js} +0 -0
  763. /package/dist/chunks/{command-q74kybfr.js → image-q74kybfr.js} +0 -0
  764. /package/dist/chunks/{command-qaymkmh1.js → image-qaymkmh1.js} +0 -0
  765. /package/dist/chunks/{command-qb87gjwd.js → image-qb87gjwd.js} +0 -0
  766. /package/dist/chunks/{command-qfa1cgps.js → image-qfa1cgps.js} +0 -0
  767. /package/dist/chunks/{command-qg3g05ea.js → image-qg3g05ea.js} +0 -0
  768. /package/dist/chunks/{command-qrg20bc0.js → image-qrg20bc0.js} +0 -0
  769. /package/dist/chunks/{command-rcb2kzg1.js → image-rcb2kzg1.js} +0 -0
  770. /package/dist/chunks/{command-sdp7kfr6.js → image-sdp7kfr6.js} +0 -0
  771. /package/dist/chunks/{command-ssg3fenm.js → image-ssg3fenm.js} +0 -0
  772. /package/dist/chunks/{command-ve7vex1e.js → image-ve7vex1e.js} +0 -0
  773. /package/dist/chunks/{command-w803qqfp.js → image-w803qqfp.js} +0 -0
  774. /package/dist/chunks/{command-wc3fc9cn.js → image-wc3fc9cn.js} +0 -0
  775. /package/dist/chunks/{command-wer8tq1h.js → image-wer8tq1h.js} +0 -0
  776. /package/dist/chunks/{command-wtztk69x.js → image-wtztk69x.js} +0 -0
  777. /package/dist/chunks/{command-x0ckcb58.js → image-x0ckcb58.js} +0 -0
  778. /package/dist/chunks/{command-x61499pn.js → image-x61499pn.js} +0 -0
  779. /package/dist/chunks/{command-y44na4kk.js → image-y44na4kk.js} +0 -0
  780. /package/dist/chunks/{command-y8cydn3q.js → image-y8cydn3q.js} +0 -0
  781. /package/dist/chunks/{command-y8f7s663.js → image-y8f7s663.js} +0 -0
  782. /package/dist/chunks/{command-ygaqb7jw.js → image-ygaqb7jw.js} +0 -0
  783. /package/dist/chunks/{command-ym463w8f.js → image-ym463w8f.js} +0 -0
  784. /package/dist/chunks/{command-z5v4ffb3.js → image-z5v4ffb3.js} +0 -0
  785. /package/dist/chunks/{command-z9919s4g.js → image-z9919s4g.js} +0 -0
@@ -1,30 +1,30 @@
1
1
  import {
2
- Service79,
3
- node83
4
- } from "./command-84z82431.js";
2
+ Service80,
3
+ node84
4
+ } from "./image-e5dmqxzh.js";
5
5
  import {
6
6
  environment2
7
- } from "./command-enyc0kgt.js";
7
+ } from "./image-qc8svym5.js";
8
8
  import {
9
9
  makeDaemonTransport2
10
- } from "./command-3t0ybcrp.js";
10
+ } from "./image-3t0ybcrp.js";
11
11
  import {
12
12
  __export
13
- } from "./command-9rqn6x4v.js";
13
+ } from "./image-9rqn6x4v.js";
14
14
 
15
15
  // src/persistent-pty/index.ts
16
16
  var exports_persistent_pty = {};
17
17
  __export(exports_persistent_pty, {
18
18
  Handoff: () => Handoff2,
19
- NotFoundError: () => NotFoundError3,
20
- Options: () => Options3,
19
+ NotFoundError: () => NotFoundError5,
20
+ Options: () => Options7,
21
21
  PersistentPty: () => exports_persistent_pty,
22
- Service: () => Service17,
23
- UnavailableError: () => UnavailableError2,
22
+ Service: () => Service43,
23
+ UnavailableError: () => UnavailableError3,
24
24
  available: () => available2,
25
- configured: () => configured3,
26
- layer: () => layer9,
27
- node: () => node20
25
+ configured: () => configured7,
26
+ layer: () => layer20,
27
+ node: () => node47
28
28
  });
29
29
  import path from "node:path";
30
30
  import { Context, Effect, Layer, Schema } from "effect";
@@ -36,25 +36,25 @@ import { Global } from "@opencode/util/global";
36
36
  import { resolveBinary } from "#persistent-pty-binary";
37
37
  import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
38
38
  import { available as available2 } from "#persistent-pty-binary";
39
- var Options3 = Schema.Struct({
39
+ var Options7 = Schema.Struct({
40
40
  handoff: Schema.optional(Handoff),
41
41
  root: Schema.optional(Schema.String)
42
42
  });
43
43
 
44
- class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
44
+ class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
45
45
  message: Schema.String
46
46
  }) {
47
47
  }
48
48
 
49
- class NotFoundError3 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
49
+ class NotFoundError5 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
50
50
  ptyID: Pty.ID
51
51
  }) {
52
52
  }
53
53
 
54
- class Service17 extends Context.Service()("@opencode/PersistentPty") {
54
+ class Service43 extends Context.Service()("@opencode/PersistentPty") {
55
55
  }
56
- var makeLayer = (options = {}) => Layer.effect(Service17, Effect.gen(function* () {
57
- const bus = yield* Service79;
56
+ var makeLayer = (options = {}) => Layer.effect(Service43, Effect.gen(function* () {
57
+ const bus = yield* Service80;
58
58
  const global = yield* Global.Service;
59
59
  const context = yield* Effect.context();
60
60
  const runFork = Effect.runForkWith(context);
@@ -76,7 +76,7 @@ var makeLayer = (options = {}) => Layer.effect(Service17, Effect.gen(function* (
76
76
  const get = Effect.fn("PersistentPty.get")(function* (id) {
77
77
  const found = (yield* list()).find((terminal) => terminal.id === id);
78
78
  if (!found)
79
- return yield* new NotFoundError3({ ptyID: id });
79
+ return yield* new NotFoundError5({ ptyID: id });
80
80
  return found;
81
81
  });
82
82
  const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
@@ -166,7 +166,7 @@ var makeLayer = (options = {}) => Layer.effect(Service17, Effect.gen(function* (
166
166
  });
167
167
  const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
168
168
  if (lines !== undefined && !Schema.is(ReadLines)(lines))
169
- return yield* new UnavailableError2({ message: "lines must be an integer between 1 and 65535" });
169
+ return yield* new UnavailableError3({ message: "lines must be an integer between 1 and 65535" });
170
170
  const id = current.get(sessionID);
171
171
  if (!id)
172
172
  return null;
@@ -243,7 +243,7 @@ var makeLayer = (options = {}) => Layer.effect(Service17, Effect.gen(function* (
243
243
  detach: attachment.detach
244
244
  };
245
245
  });
246
- return Service17.of({
246
+ return Service43.of({
247
247
  list,
248
248
  get,
249
249
  create,
@@ -259,17 +259,17 @@ var makeLayer = (options = {}) => Layer.effect(Service17, Effect.gen(function* (
259
259
  attach
260
260
  });
261
261
  }));
262
- var layer9 = makeLayer();
263
- var configured3 = (options) => makeGlobalNode({
264
- service: Service17,
265
- layer: options === undefined ? layer9 : makeLayer(options),
266
- deps: [node83, Global.node]
262
+ var layer20 = makeLayer();
263
+ var configured7 = (options) => makeGlobalNode({
264
+ service: Service43,
265
+ layer: options === undefined ? layer20 : makeLayer(options),
266
+ deps: [node84, Global.node]
267
267
  });
268
- var node20 = configured3();
268
+ var node47 = configured7();
269
269
  var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
270
270
  var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
271
- var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
272
- var unavailable = (error) => new UnavailableError2({ message: error instanceof Error ? error.message : String(error) });
271
+ var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
272
+ var unavailable = (error) => new UnavailableError3({ message: error instanceof Error ? error.message : String(error) });
273
273
  function toInfo(value) {
274
274
  const status = value.lifecycle.status;
275
275
  return {
@@ -301,4 +301,4 @@ function fromID(value) {
301
301
  return parsed;
302
302
  }
303
303
 
304
- export { Options3, UnavailableError2, NotFoundError3, Service17, layer9, configured3, node20, exports_persistent_pty, Handoff2, available2 };
304
+ export { Options7, UnavailableError3, NotFoundError5, Service43, layer20, configured7, node47, exports_persistent_pty, Handoff2, available2 };
@@ -1,47 +1,47 @@
1
1
  import {
2
- Service79,
3
- node83
4
- } from "./command-84z82431.js";
2
+ Service80,
3
+ node84
4
+ } from "./image-e5dmqxzh.js";
5
5
  import {
6
- Service25,
7
- node29
8
- } from "./command-9m6ezjpa.js";
6
+ Service33,
7
+ node36
8
+ } from "./image-2zwjzpyw.js";
9
9
  import {
10
- Service53,
11
- node57
12
- } from "./command-he4t8aj9.js";
10
+ Service65,
11
+ node68
12
+ } from "./image-22vh467z.js";
13
13
  import {
14
- Service81,
15
- node85
16
- } from "./command-bhybrfey.js";
14
+ Service37,
15
+ node41
16
+ } from "./image-vrmmyqmt.js";
17
17
  import {
18
18
  __export
19
- } from "./command-9rqn6x4v.js";
19
+ } from "./image-9rqn6x4v.js";
20
20
 
21
21
  // src/tool/mcp.ts
22
22
  var exports_mcp3 = {};
23
23
  __export(exports_mcp3, {
24
24
  McpTool: () => exports_mcp3,
25
- Service: () => Service24,
26
- layer: () => layer11,
27
- name: () => name13,
25
+ Service: () => Service32,
26
+ layer: () => layer14,
27
+ name: () => name14,
28
28
  namespace: () => namespace2,
29
- node: () => node28
29
+ node: () => node35
30
30
  });
31
31
  import { ToolFailure } from "@opencode/ai";
32
32
  import { McpEvent } from "@opencode/schema/mcp-event";
33
33
  import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
34
34
  import { makeLocationNode } from "@opencode/util/effect/app-node";
35
35
  var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
36
- var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
36
+ var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
37
37
 
38
- class Service24 extends Context.Service()("@opencode/McpTool") {
38
+ class Service32 extends Context.Service()("@opencode/McpTool") {
39
39
  }
40
- var layer11 = Layer.effect(Service24, Effect.gen(function* () {
41
- const mcp = yield* Service25;
42
- const tools = yield* Service81;
43
- const bus = yield* Service79;
44
- const permission = yield* Service53;
40
+ var layer14 = Layer.effect(Service32, Effect.gen(function* () {
41
+ const mcp = yield* Service33;
42
+ const tools = yield* Service37;
43
+ const bus = yield* Service80;
44
+ const permission = yield* Service65;
45
45
  const lock = Semaphore.makeUnsafe(1);
46
46
  let discovered = [];
47
47
  const initial = yield* lock.withPermit(Effect.gen(function* () {
@@ -56,7 +56,7 @@ var layer11 = Layer.effect(Service24, Effect.gen(function* () {
56
56
  output: tool.outputSchema ?? {},
57
57
  execute: (input, context) => Effect.gen(function* () {
58
58
  yield* permission.assert({
59
- action: name13(tool.server, tool.name),
59
+ action: name14(tool.server, tool.name),
60
60
  resources: ["*"],
61
61
  save: ["*"],
62
62
  metadata: {},
@@ -105,7 +105,7 @@ var layer11 = Layer.effect(Service24, Effect.gen(function* () {
105
105
  output: output(),
106
106
  ...content.length === 0 ? {} : { content }
107
107
  };
108
- }).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name13(tool.server, tool.name)}` })))
108
+ }).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name14(tool.server, tool.name)}` })))
109
109
  });
110
110
  }
111
111
  });
@@ -118,12 +118,12 @@ var layer11 = Layer.effect(Service24, Effect.gen(function* () {
118
118
  yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
119
119
  const updates = yield* PubSub.subscribe(changes);
120
120
  yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
121
- return Service24.of({ flush: Effect.asVoid(Fiber.await(initial)) });
121
+ return Service32.of({ flush: Effect.asVoid(Fiber.await(initial)) });
122
122
  }));
123
- var node28 = makeLocationNode({
124
- service: Service24,
125
- layer: layer11,
126
- deps: [node85, node29, node83, node57]
123
+ var node35 = makeLocationNode({
124
+ service: Service32,
125
+ layer: layer14,
126
+ deps: [node41, node36, node84, node68]
127
127
  });
128
128
 
129
- export { namespace2, name13, Service24, layer11, node28, exports_mcp3 };
129
+ export { namespace2, name14, Service32, layer14, node35, exports_mcp3 };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./command-9rqn6x4v.js";
3
+ } from "./image-9rqn6x4v.js";
4
4
 
5
5
  // src/filesystem/protected.ts
6
6
  var exports_protected = {};
7
7
  __export(exports_protected, {
8
8
  Protected: () => exports_protected,
9
9
  isHome: () => isHome2,
10
- names: () => names3,
10
+ names: () => names4,
11
11
  paths: () => paths2
12
12
  });
13
13
  import os from "os";
@@ -41,7 +41,7 @@ var DARWIN_LIBRARY = [
41
41
  ];
42
42
  var DARWIN_ROOT = ["/.DocumentRevisions-V100", "/.Spotlight-V100", "/.Trashes", "/.fseventsd"];
43
43
  var WIN32_HOME = ["AppData", "Downloads", "Desktop", "Documents", "Pictures", "Music", "Videos", "OneDrive"];
44
- function names3() {
44
+ function names4() {
45
45
  if (process.platform === "darwin")
46
46
  return new Set(DARWIN_HOME);
47
47
  if (process.platform === "win32")
@@ -60,4 +60,4 @@ function paths2() {
60
60
  return [];
61
61
  }
62
62
 
63
- export { isHome2, names3, paths2, exports_protected };
63
+ export { isHome2, names4, paths2, exports_protected };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  which2
3
- } from "./command-qaymkmh1.js";
3
+ } from "./image-qaymkmh1.js";
4
4
 
5
5
  // src/ripgrep/binary.ts
6
6
  import path from "path";
@@ -1,38 +1,38 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./command-z5v4ffb3.js";
3
+ } from "./image-z5v4ffb3.js";
4
4
  import {
5
- Service73
6
- } from "./command-hcbkwrsn.js";
5
+ Service77
6
+ } from "./image-p0249ayz.js";
7
7
  import {
8
- Service64
9
- } from "./command-3zcsje8y.js";
8
+ Service40
9
+ } from "./image-fd0dxwga.js";
10
10
  import {
11
11
  LocalSource2,
12
12
  GitSource2
13
- } from "./command-722r8bgj.js";
13
+ } from "./image-yzhf6sg2.js";
14
14
  import {
15
15
  observe2
16
- } from "./command-qsdy395h.js";
16
+ } from "./image-qsdy395h.js";
17
17
  import {
18
18
  __export
19
- } from "./command-9rqn6x4v.js";
19
+ } from "./image-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/reference.ts
22
22
  var exports_reference = {};
23
23
  __export(exports_reference, {
24
24
  ConfigReferencePlugin: () => exports_reference,
25
- Plugin: () => Plugin16
25
+ Plugin: () => Plugin47
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import path from "path";
29
29
  import { Effect } from "effect";
30
30
  import { Global } from "@opencode/util/global";
31
- var Plugin16 = define({
31
+ var Plugin47 = define({
32
32
  id: "opencode.config.reference",
33
33
  effect: Effect.fn(function* (ctx) {
34
- const config = yield* Service64;
35
- const location = yield* Service73;
34
+ const config = yield* Service40;
35
+ const location = yield* Service77;
36
36
  const global = yield* Global.Service;
37
37
  const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
38
38
  yield* ctx.reference.transform((editor) => {
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
72
72
  return path.isAbsolute(value) ? value : path.resolve(directory, value);
73
73
  }
74
74
 
75
- export { Plugin16, exports_reference };
75
+ export { Plugin47, exports_reference };
@@ -1,35 +1,35 @@
1
1
  import {
2
- Service71
3
- } from "./command-vg7eqwhf.js";
2
+ Service55
3
+ } from "./image-x535bvex.js";
4
4
  import {
5
- Service53
6
- } from "./command-he4t8aj9.js";
5
+ Service65
6
+ } from "./image-22vh467z.js";
7
7
  import {
8
- ID10,
8
+ ID7,
9
9
  Result2,
10
10
  ProviderRequiredError2,
11
11
  DisabledError2,
12
12
  RequestError2,
13
- Service57
14
- } from "./command-0q1vk8yj.js";
13
+ Service56
14
+ } from "./image-gfdh8bzj.js";
15
15
  import {
16
16
  __export
17
- } from "./command-9rqn6x4v.js";
17
+ } from "./image-9rqn6x4v.js";
18
18
 
19
19
  // src/tool/plugin/websearch.ts
20
- var exports_websearch2 = {};
21
- __export(exports_websearch2, {
22
- Input: () => Input12,
20
+ var exports_websearch = {};
21
+ __export(exports_websearch, {
22
+ Input: () => Input7,
23
23
  NO_RESULTS: () => NO_RESULTS2,
24
- Plugin: () => Plugin34,
25
- WebSearchTool: () => exports_websearch2,
24
+ Plugin: () => Plugin24,
25
+ WebSearchTool: () => exports_websearch,
26
26
  description: () => description5,
27
- name: () => name12
27
+ name: () => name7
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Effect, Schema, Semaphore } from "effect";
31
31
  import { HttpClientError } from "effect/unstable/http";
32
- var name12 = "websearch";
32
+ var name7 = "websearch";
33
33
  var NO_RESULTS2 = "No search results found. Please try a different query.";
34
34
  var providerSelectionLock = Semaphore.makeUnsafe(1);
35
35
  var httpErrors = new Map([
@@ -39,28 +39,28 @@ var httpErrors = new Map([
39
39
  var description5 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
40
40
 
41
41
  The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
42
- var Input12 = Schema.Struct({
42
+ var Input7 = Schema.Struct({
43
43
  query: Schema.String.annotate({ description: "Websearch query" })
44
44
  });
45
45
  var Output = Schema.Struct({
46
- provider: ID10,
46
+ provider: ID7,
47
47
  results: Schema.Array(Result2)
48
48
  });
49
- var Plugin34 = {
49
+ var Plugin24 = {
50
50
  id: "opencode.tool.websearch",
51
51
  effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
52
- const permission = yield* Service53;
53
- const forms = yield* Service71;
54
- const websearch = yield* Service57;
52
+ const permission = yield* Service65;
53
+ const forms = yield* Service55;
54
+ const websearch = yield* Service56;
55
55
  yield* ctx.tool.transform((editor) => editor.add({
56
- name: name12,
56
+ name: name7,
57
57
  options: { codemode: false },
58
58
  description: description5,
59
- input: Input12,
59
+ input: Input7,
60
60
  output: Output,
61
61
  execute: (input, context) => Effect.gen(function* () {
62
62
  yield* permission.assert({
63
- action: name12,
63
+ action: name7,
64
64
  resources: [input.query],
65
65
  save: ["*"],
66
66
  metadata: input,
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
176
176
  const hook = (event) => Effect.gen(function* () {
177
177
  const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
178
178
  if (disabled)
179
- delete event.tools[name12];
179
+ delete event.tools[name7];
180
180
  });
181
181
  yield* ctx.session.hook("context", hook);
182
182
  yield* ctx.session.hook("compaction", hook);
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
184
184
  })
185
185
  };
186
186
 
187
- export { name12, NO_RESULTS2, description5, Input12, Plugin34, exports_websearch2 };
187
+ export { name7, NO_RESULTS2, description5, Input7, Plugin24, exports_websearch };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./command-9rqn6x4v.js";
3
+ } from "./image-9rqn6x4v.js";
4
4
 
5
5
  // src/config/markdown.ts
6
6
  var exports_markdown = {};
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./command-z5v4ffb3.js";
3
+ } from "./image-z5v4ffb3.js";
4
4
  import {
5
5
  root2
6
- } from "./command-q41jnjxt.js";
6
+ } from "./image-tvth849s.js";
7
7
  import {
8
- Service73,
9
- node77
10
- } from "./command-hcbkwrsn.js";
8
+ Service77,
9
+ node81
10
+ } from "./image-p0249ayz.js";
11
11
  import {
12
- Service53,
13
- node57
14
- } from "./command-he4t8aj9.js";
12
+ Service65,
13
+ node68
14
+ } from "./image-22vh467z.js";
15
15
  import {
16
16
  __export
17
- } from "./command-9rqn6x4v.js";
17
+ } from "./image-9rqn6x4v.js";
18
18
 
19
19
  // src/file-access.ts
20
20
  var exports_file_access = {};
@@ -22,8 +22,8 @@ __export(exports_file_access, {
22
22
  FileAccess: () => exports_file_access,
23
23
  Kind: () => Kind2,
24
24
  ResolveInput: () => ResolveInput2,
25
- Service: () => Service38,
26
- node: () => node41,
25
+ Service: () => Service14,
26
+ node: () => node16,
27
27
  resolvePath: () => resolvePath2
28
28
  });
29
29
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -37,7 +37,7 @@ var ResolveInput2 = Schema.Struct({
37
37
  kind: Kind2.pipe(Schema.optional)
38
38
  });
39
39
 
40
- class Service38 extends Context.Service()("@opencode/FileAccess") {
40
+ class Service14 extends Context.Service()("@opencode/FileAccess") {
41
41
  }
42
42
  var resolvePath2 = (directory, input, home = Global.Path.home) => {
43
43
  const normalized = FSUtil.windowsPath(input);
@@ -49,10 +49,10 @@ var invocation = (context) => ({
49
49
  agent: context.agent,
50
50
  source: { type: "tool", messageID: context.messageID, id: context.id }
51
51
  });
52
- var layer = Layer.effect(Service38, Effect.gen(function* () {
52
+ var layer = Layer.effect(Service14, Effect.gen(function* () {
53
53
  const fs = yield* FSUtil.Service;
54
- const location = yield* Service73;
55
- const permission = yield* Service53;
54
+ const location = yield* Service77;
55
+ const permission = yield* Service65;
56
56
  const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
57
57
  const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
58
58
  const worktree = path.resolve(location.project.directory);
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
101
101
  });
102
102
  return target;
103
103
  });
104
- return Service38.of({ resolve, authorizeExternal, authorizeRead });
104
+ return Service14.of({ resolve, authorizeExternal, authorizeRead });
105
105
  }));
106
- var node41 = makeLocationNode({ service: Service38, layer, deps: [FSUtil.node, node77, node57] });
106
+ var node16 = makeLocationNode({ service: Service14, layer, deps: [FSUtil.node, node81, node68] });
107
107
 
108
- export { Kind2, ResolveInput2, Service38, resolvePath2, node41, exports_file_access };
108
+ export { Kind2, ResolveInput2, Service14, resolvePath2, node16, exports_file_access };
@@ -1,50 +1,50 @@
1
1
  import {
2
2
  Metadata2,
3
3
  useragent2,
4
- node45
5
- } from "./command-bgh1tqpz.js";
4
+ node40
5
+ } from "./image-qkqectah.js";
6
6
  import {
7
7
  provenance2,
8
8
  compatible2
9
- } from "./command-5dkn69vz.js";
9
+ } from "./image-c35597j6.js";
10
10
  import {
11
- Service82,
12
- node86
13
- } from "./command-0jfkt8vv.js";
11
+ Service68,
12
+ node71
13
+ } from "./image-4a0nv7mx.js";
14
14
  import {
15
15
  DeclinedError2
16
- } from "./command-he4t8aj9.js";
16
+ } from "./image-22vh467z.js";
17
17
  import {
18
18
  CancelledError2
19
- } from "./command-h87jsb94.js";
19
+ } from "./image-e31pc1r0.js";
20
20
  import {
21
- Error5
22
- } from "./command-bhybrfey.js";
21
+ Error2
22
+ } from "./image-vrmmyqmt.js";
23
23
  import {
24
24
  get5
25
- } from "./command-54ma36ye.js";
25
+ } from "./image-54ma36ye.js";
26
26
  import {
27
- Service27,
27
+ Service28,
28
28
  node31
29
- } from "./command-zenppd36.js";
29
+ } from "./image-2h7yfs5w.js";
30
30
  import {
31
- make15
32
- } from "./command-w19d8598.js";
31
+ make16
32
+ } from "./image-g5w8qwbj.js";
33
33
  import {
34
34
  toLLMMessages2
35
- } from "./command-jhdf29st.js";
35
+ } from "./image-075nkgpd.js";
36
36
  import {
37
37
  __export
38
- } from "./command-9rqn6x4v.js";
38
+ } from "./image-9rqn6x4v.js";
39
39
 
40
40
  // src/session/model-request.ts
41
41
  var exports_model_request = {};
42
42
  __export(exports_model_request, {
43
- Service: () => Service26,
43
+ Service: () => Service27,
44
44
  SessionModelRequest: () => exports_model_request,
45
45
  baseTranscript: () => baseTranscript2,
46
46
  boundImages: () => boundImages2,
47
- layer: () => layer13,
47
+ layer: () => layer11,
48
48
  node: () => node30,
49
49
  unsupportedParts: () => unsupportedParts2
50
50
  });
@@ -82,7 +82,7 @@ var baseTranscript2 = (input) => {
82
82
  return {
83
83
  providerMetadataKey,
84
84
  system: [
85
- input.agent.system ? input.agent.system : make15(input.tools.definitions.map((tool) => tool.name)),
85
+ input.agent.system ? input.agent.system : make16(input.tools.definitions.map((tool) => tool.name)),
86
86
  input.initial
87
87
  ].filter((part) => part.length > 0).map(SystemPart.make),
88
88
  messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
@@ -155,11 +155,11 @@ var boundImages2 = (messages) => {
155
155
  });
156
156
  };
157
157
 
158
- class Service26 extends Context.Service()("@opencode/SessionModelRequest") {
158
+ class Service27 extends Context.Service()("@opencode/SessionModelRequest") {
159
159
  }
160
- var layer13 = Layer.effect(Service26, Effect.gen(function* () {
161
- const hooks = yield* Service82;
162
- const transport = yield* Service27;
160
+ var layer11 = Layer.effect(Service27, Effect.gen(function* () {
161
+ const hooks = yield* Service68;
162
+ const transport = yield* Service28;
163
163
  const app = yield* Metadata2;
164
164
  const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
165
165
  const session = input.session;
@@ -167,7 +167,7 @@ var layer13 = Layer.effect(Service26, Effect.gen(function* () {
167
167
  const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
168
168
  const tools = input.tools ?? {
169
169
  definitions: [],
170
- execute: () => new Error5({ message: "Tools are not available for this request" })
170
+ execute: () => new Error2({ message: "Tools are not available for this request" })
171
171
  };
172
172
  const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
173
173
  const shaped = yield* shape({
@@ -264,7 +264,7 @@ var layer13 = Layer.effect(Service26, Effect.gen(function* () {
264
264
  };
265
265
  });
266
266
  const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
267
- return Service26.of({
267
+ return Service27.of({
268
268
  primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
269
269
  compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
270
270
  generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
@@ -272,9 +272,9 @@ var layer13 = Layer.effect(Service26, Effect.gen(function* () {
272
272
  });
273
273
  }));
274
274
  var node30 = makeLocationNode({
275
- service: Service26,
276
- layer: layer13,
277
- deps: [node86, node31, node45]
275
+ service: Service27,
276
+ layer: layer11,
277
+ deps: [node71, node31, node40]
278
278
  });
279
279
 
280
- export { baseTranscript2, unsupportedParts2, boundImages2, Service26, layer13, node30, exports_model_request };
280
+ export { baseTranscript2, unsupportedParts2, boundImages2, Service27, layer11, node30, exports_model_request };