@opencode/core 0.0.0-dev-20789 → 0.0.0-dev-20791

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 (784) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +90 -90
  4. package/dist/aisdk.js +95 -95
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +74 -74
  7. package/dist/chunks/{skill-0yfwxyck.js → provider-03g00rc2.js} +11 -11
  8. package/dist/chunks/{skill-hzjbd8ja.js → provider-047jqq3p.js} +28 -28
  9. package/dist/chunks/{skill-5gctr7pz.js → provider-0d84vz2x.js} +15 -15
  10. package/dist/chunks/{skill-gen6e5ga.js → provider-0ftbr9pt.js} +4 -4
  11. package/dist/chunks/{skill-b5mrbpzb.js → provider-0hb4wmm5.js} +6 -6
  12. package/dist/chunks/{skill-0paq2nw3.js → provider-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{skill-0vbcp93d.js → provider-0vbcp93d.js} +2 -2
  14. package/dist/chunks/{skill-x2cv103a.js → provider-0vtm6bxs.js} +12 -12
  15. package/dist/chunks/{skill-vfjhn2wd.js → provider-0xqyf95c.js} +4 -4
  16. package/dist/chunks/{skill-z41ms5aa.js → provider-0xwgk9vz.js} +3 -3
  17. package/dist/chunks/{skill-aspk6a8p.js → provider-1281thgj.js} +18 -18
  18. package/dist/chunks/{skill-q1gfrjka.js → provider-14y0d454.js} +16 -16
  19. package/dist/chunks/{skill-f2n192rq.js → provider-1acjjqhc.js} +4 -4
  20. package/dist/chunks/{skill-p37cw4rj.js → provider-1ajx6rf5.js} +8 -8
  21. package/dist/chunks/{skill-wjr9rjd7.js → provider-1ffvrpkg.js} +9 -9
  22. package/dist/chunks/{skill-71mzqg8a.js → provider-1fgp8xwn.js} +23 -23
  23. package/dist/chunks/{skill-wnqeyzq4.js → provider-1pb85ckn.js} +3 -3
  24. package/dist/chunks/{skill-5adtfy05.js → provider-1sw2bjqg.js} +26 -26
  25. package/dist/chunks/{skill-00arqr3w.js → provider-1z89szcw.js} +24 -24
  26. package/dist/chunks/{skill-jyxdmbfn.js → provider-1zvzsdwq.js} +4 -4
  27. package/dist/chunks/{skill-mvyxbeb7.js → provider-26zrht65.js} +5 -5
  28. package/dist/chunks/{skill-zajq5fj4.js → provider-29wxprpz.js} +11 -11
  29. package/dist/chunks/{skill-xa2w9q8x.js → provider-2aftvdxj.js} +20 -20
  30. package/dist/chunks/{skill-6azt9ew3.js → provider-2cbec54g.js} +47 -47
  31. package/dist/chunks/{skill-cr9jtv1m.js → provider-2e7wrvcp.js} +5 -5
  32. package/dist/chunks/{skill-wcty64ct.js → provider-2h977fq8.js} +58 -58
  33. package/dist/chunks/{skill-fhdpcka2.js → provider-2kqaa06v.js} +28 -28
  34. package/dist/chunks/{skill-zhqfqnam.js → provider-2ptgxraj.js} +18 -18
  35. package/dist/chunks/{skill-2vvh33eb.js → provider-2vvh33eb.js} +2 -2
  36. package/dist/chunks/{skill-m4wcbn95.js → provider-30405gqp.js} +7 -7
  37. package/dist/chunks/{skill-dg6zp6za.js → provider-32qtf6eh.js} +44 -44
  38. package/dist/chunks/{skill-6rgf6b6h.js → provider-335g9ndw.js} +45 -45
  39. package/dist/chunks/{skill-dt46c1re.js → provider-3403f573.js} +11 -11
  40. package/dist/chunks/{skill-e5m1de66.js → provider-37rmtkzf.js} +11 -11
  41. package/dist/chunks/{skill-fepbnb8j.js → provider-38adaqc0.js} +5 -5
  42. package/dist/chunks/{skill-h2b79v29.js → provider-3cegwx68.js} +2 -2
  43. package/dist/chunks/{skill-cp112310.js → provider-3f6waj75.js} +36 -36
  44. package/dist/chunks/{skill-3fc6dm20.js → provider-3fc6dm20.js} +1 -1
  45. package/dist/chunks/{skill-3hepkmqq.js → provider-3hepkmqq.js} +1 -1
  46. package/dist/chunks/{skill-08g6pvj0.js → provider-3hrm5za2.js} +17 -17
  47. package/dist/chunks/{skill-3hwn7j4h.js → provider-3hwn7j4h.js} +2 -2
  48. package/dist/chunks/{skill-3smtnn6g.js → provider-3smtnn6g.js} +1 -1
  49. package/dist/chunks/{skill-3tvqynh2.js → provider-3tvqynh2.js} +1 -1
  50. package/dist/chunks/{skill-6h28ha74.js → provider-3vyzva02.js} +49 -49
  51. package/dist/chunks/{skill-hcgg574b.js → provider-3xks077t.js} +9 -9
  52. package/dist/chunks/{skill-3zsf4n22.js → provider-3zsf4n22.js} +1 -1
  53. package/dist/chunks/{skill-wtz46evs.js → provider-45hw2ke2.js} +6 -6
  54. package/dist/chunks/{skill-yvfc4kz5.js → provider-49q5ax9f.js} +23 -23
  55. package/dist/chunks/{skill-n81k1gxp.js → provider-4b6t6vp9.js} +11 -11
  56. package/dist/chunks/{skill-gce79w0q.js → provider-4d2ssmng.js} +19 -19
  57. package/dist/chunks/{skill-f0ykjh2k.js → provider-4gnvd7qm.js} +9 -9
  58. package/dist/chunks/{skill-emr3wtvp.js → provider-4jgvg5sf.js} +50 -50
  59. package/dist/chunks/{skill-ggw8f2hf.js → provider-4spa2hfp.js} +5 -5
  60. package/dist/chunks/{skill-4ts7tf6z.js → provider-4ts7tf6z.js} +2 -2
  61. package/dist/chunks/{skill-8ktnpv6s.js → provider-4wbp889g.js} +8 -8
  62. package/dist/chunks/{skill-vrrq7v3g.js → provider-4xpgt2w9.js} +5 -5
  63. package/dist/chunks/{skill-3hjytx3g.js → provider-4yyqrevp.js} +27 -27
  64. package/dist/chunks/{skill-qqjkr9a4.js → provider-52y26bc1.js} +11 -11
  65. package/dist/chunks/{skill-54ma36ye.js → provider-54ma36ye.js} +1 -1
  66. package/dist/chunks/provider-58247qtm.js +26 -0
  67. package/dist/chunks/{skill-5m9w47nd.js → provider-5m9w47nd.js} +1 -1
  68. package/dist/chunks/{skill-7tb6jmww.js → provider-5xd5tp9x.js} +37 -37
  69. package/dist/chunks/{skill-cngx66nk.js → provider-5zageasv.js} +11 -11
  70. package/dist/chunks/{skill-kv7cqvsa.js → provider-62jnxtzq.js} +13 -13
  71. package/dist/chunks/{skill-swvvsswy.js → provider-62vm8mpr.js} +27 -27
  72. package/dist/chunks/{skill-vjjaysxc.js → provider-63db42yp.js} +2 -2
  73. package/dist/chunks/{skill-snm9vxbg.js → provider-660vws5y.js} +11 -11
  74. package/dist/chunks/{skill-8kj5v6pp.js → provider-6an8s7fn.js} +4 -4
  75. package/dist/chunks/{skill-vs07pngr.js → provider-6dktpyb5.js} +36 -36
  76. package/dist/chunks/{skill-ftaw7sa4.js → provider-6e3qzxz7.js} +45 -45
  77. package/dist/chunks/{skill-6m371703.js → provider-6m6pfhdc.js} +4 -4
  78. package/dist/chunks/{skill-smp627vn.js → provider-6p4dxar3.js} +11 -11
  79. package/dist/chunks/{skill-g2vm2m1v.js → provider-6rf3xdqr.js} +7 -7
  80. package/dist/chunks/{skill-w5g91xe9.js → provider-6t6v4r2b.js} +29 -29
  81. package/dist/chunks/{skill-6xb47vfp.js → provider-6xb47vfp.js} +1 -1
  82. package/dist/chunks/{skill-btvbq7ph.js → provider-70kn96kt.js} +14 -14
  83. package/dist/chunks/{skill-2smt9sqp.js → provider-76geegwy.js} +32 -32
  84. package/dist/chunks/{skill-7bmhse3q.js → provider-7bmhse3q.js} +1 -1
  85. package/dist/chunks/{skill-9e40jta8.js → provider-7ev5skf9.js} +15 -15
  86. package/dist/chunks/{skill-9430thwq.js → provider-7f2fthed.js} +8 -8
  87. package/dist/chunks/{skill-7feea0h6.js → provider-7feea0h6.js} +2 -2
  88. package/dist/chunks/{skill-82v73sw7.js → provider-82v73sw7.js} +3 -3
  89. package/dist/chunks/{skill-1dvck2a7.js → provider-84h8c373.js} +2 -2
  90. package/dist/chunks/{skill-84txncab.js → provider-84txncab.js} +1 -1
  91. package/dist/chunks/{skill-1grmk9rr.js → provider-85b4mqzk.js} +6 -6
  92. package/dist/chunks/{skill-a881zpfh.js → provider-880p7epb.js} +9 -9
  93. package/dist/chunks/{skill-1b5fmrz5.js → provider-8gn0smby.js} +14 -14
  94. package/dist/chunks/{skill-32q8qkzs.js → provider-8k33st31.js} +31 -31
  95. package/dist/chunks/{skill-8m6m0r52.js → provider-8m6m0r52.js} +1 -1
  96. package/dist/chunks/{skill-atw21n6r.js → provider-8r1jb4je.js} +3 -3
  97. package/dist/chunks/{skill-cvg5z9hw.js → provider-8saax5z0.js} +3 -3
  98. package/dist/chunks/{skill-rkprpv83.js → provider-8sze2n9a.js} +6 -6
  99. package/dist/chunks/{skill-qz85bdjt.js → provider-8xxzf2da.js} +2 -2
  100. package/dist/chunks/{skill-m4cqym4f.js → provider-92vpqabm.js} +38 -38
  101. package/dist/chunks/{skill-weypcjsg.js → provider-95fdcy0x.js} +3 -3
  102. package/dist/chunks/{skill-v62npd1m.js → provider-9cppds89.js} +18 -18
  103. package/dist/chunks/{skill-wsa6nz93.js → provider-9h4qydt5.js} +16 -16
  104. package/dist/chunks/{skill-sjdnb4tv.js → provider-9hgbqvyk.js} +20 -20
  105. package/dist/chunks/{skill-ea2cjnvh.js → provider-9kc6pycg.js} +21 -21
  106. package/dist/chunks/{skill-vtdbq9f7.js → provider-9v6yecg3.js} +9 -9
  107. package/dist/chunks/{skill-2hqxtjqw.js → provider-9yq3t2hf.js} +1 -1
  108. package/dist/chunks/{skill-x353b1jt.js → provider-a2qe2ev9.js} +8 -8
  109. package/dist/chunks/{skill-q7a3w1qy.js → provider-a9gv15q4.js} +35 -35
  110. package/dist/chunks/{skill-ptk5q1an.js → provider-amxsreew.js} +3 -3
  111. package/dist/chunks/{skill-pfnhpyy1.js → provider-apq16njp.js} +45 -45
  112. package/dist/chunks/{skill-h51scejt.js → provider-ashwz6j6.js} +24 -24
  113. package/dist/chunks/{skill-meetr4ga.js → provider-atm02tjg.js} +23 -23
  114. package/dist/chunks/{skill-78xe48n9.js → provider-avqctdqx.js} +13 -13
  115. package/dist/chunks/{skill-enzp79dy.js → provider-b42z8asq.js} +20 -20
  116. package/dist/chunks/{skill-hmvn8skc.js → provider-b65scesz.js} +18 -18
  117. package/dist/chunks/{skill-ygdna4kr.js → provider-b674v2dg.js} +5 -5
  118. package/dist/chunks/{skill-6dbdcyf3.js → provider-bfsxa3aj.js} +9 -9
  119. package/dist/chunks/{skill-g8vgyxq1.js → provider-bkec5w72.js} +17 -17
  120. package/dist/chunks/{skill-1d306zj7.js → provider-bnhfyrbt.js} +16 -16
  121. package/dist/chunks/{skill-mv783v7m.js → provider-bvmsv81p.js} +23 -23
  122. package/dist/chunks/{skill-by5v678g.js → provider-by5v678g.js} +1 -1
  123. package/dist/chunks/{skill-rr6gbw65.js → provider-c59j4z19.js} +49 -49
  124. package/dist/chunks/{skill-xkaq2mgm.js → provider-cd6yk4zv.js} +23 -23
  125. package/dist/chunks/{skill-qarhv81h.js → provider-cjggxxw5.js} +5 -5
  126. package/dist/chunks/{skill-9av8whcn.js → provider-ck5v4t4h.js} +13 -13
  127. package/dist/chunks/{skill-gdjh7nny.js → provider-cn00qjjk.js} +33 -33
  128. package/dist/chunks/{skill-3y9439dg.js → provider-cngbv4vx.js} +12 -12
  129. package/dist/chunks/{skill-5df3pshv.js → provider-cscw30g0.js} +23 -23
  130. package/dist/chunks/{skill-r2m716tb.js → provider-cwa6csj7.js} +9 -9
  131. package/dist/chunks/{skill-pm94sc92.js → provider-d883x9cj.js} +31 -31
  132. package/dist/chunks/{skill-jh2p3cej.js → provider-dg0xkvw5.js} +42 -42
  133. package/dist/chunks/{skill-xw33hjet.js → provider-dj10tw80.js} +12 -12
  134. package/dist/chunks/{skill-y71avatq.js → provider-dpkg50ah.js} +4 -4
  135. package/dist/chunks/{skill-j2y740qz.js → provider-dtkcvn89.js} +26 -26
  136. package/dist/chunks/{skill-qvsfm0cn.js → provider-dv078rhj.js} +22 -22
  137. package/dist/chunks/{skill-00mpf3fe.js → provider-dvf4d4yx.js} +7 -7
  138. package/dist/chunks/{skill-hgc4c8g5.js → provider-dzzj39sc.js} +27 -27
  139. package/dist/chunks/{skill-tzr9m6ew.js → provider-e5bq21fb.js} +39 -39
  140. package/dist/chunks/{skill-c7zza6wf.js → provider-e80seqcp.js} +3 -3
  141. package/dist/chunks/{skill-0ybbsf06.js → provider-e8vwfchq.js} +6 -6
  142. package/dist/chunks/{skill-rhjbct0v.js → provider-eaj1djv9.js} +8 -8
  143. package/dist/chunks/{skill-a18c1dz5.js → provider-ebwxn0bv.js} +8 -8
  144. package/dist/chunks/{skill-eej6y6fw.js → provider-eej6y6fw.js} +2 -2
  145. package/dist/chunks/{skill-ef5x83kb.js → provider-ef5x83kb.js} +1 -1
  146. package/dist/chunks/{skill-empzf135.js → provider-eh0k18hk.js} +26 -26
  147. package/dist/chunks/provider-ejhexyp6.js +253 -0
  148. package/dist/chunks/{skill-sgcan731.js → provider-emrckeyb.js} +28 -28
  149. package/dist/chunks/{skill-n1n192bv.js → provider-f29mbr7f.js} +4 -4
  150. package/dist/chunks/{skill-e6n3n32a.js → provider-f3njbn8g.js} +37 -37
  151. package/dist/chunks/{skill-71az546q.js → provider-f75zav2x.js} +2 -2
  152. package/dist/chunks/{skill-1ghf8zs3.js → provider-f78dsz6n.js} +11 -11
  153. package/dist/chunks/{skill-7dqw4kz8.js → provider-fcrkznn8.js} +5 -5
  154. package/dist/chunks/{skill-ds79b92t.js → provider-fff0xyha.js} +19 -19
  155. package/dist/chunks/{skill-7gb6bbw5.js → provider-fj6865vy.js} +20 -20
  156. package/dist/chunks/{skill-md0w14xr.js → provider-fjw2kstf.js} +35 -35
  157. package/dist/chunks/{skill-shbwr51e.js → provider-fmp9231c.js} +5 -5
  158. package/dist/chunks/{skill-0jq9fyba.js → provider-fwwk8vbp.js} +9 -9
  159. package/dist/chunks/{skill-rf11ewf6.js → provider-g249fj17.js} +5 -5
  160. package/dist/chunks/{skill-ra67jj04.js → provider-g686f6pq.js} +9 -9
  161. package/dist/chunks/{skill-c536jfwj.js → provider-g7758hjd.js} +33 -33
  162. package/dist/chunks/{skill-gd4qta3r.js → provider-gd4qta3r.js} +1 -1
  163. package/dist/chunks/{skill-gk8qb678.js → provider-gk8qb678.js} +1 -1
  164. package/dist/chunks/{skill-vg5ng587.js → provider-gtkn8gkd.js} +28 -28
  165. package/dist/chunks/{skill-q391smpk.js → provider-h2jbhxpy.js} +10 -10
  166. package/dist/chunks/{skill-h6vf3j39.js → provider-h6vf3j39.js} +1 -1
  167. package/dist/chunks/{skill-n0qca65e.js → provider-h7a371x4.js} +27 -27
  168. package/dist/chunks/{skill-h7s7r6s9.js → provider-h7s7r6s9.js} +2 -2
  169. package/dist/chunks/{skill-hgz4x7wa.js → provider-hgz4x7wa.js} +1 -1
  170. package/dist/chunks/{skill-x4tfj1b6.js → provider-hhgjrq7n.js} +4 -4
  171. package/dist/chunks/{skill-j56e64zr.js → provider-j56e64zr.js} +1 -1
  172. package/dist/chunks/{skill-370emgfb.js → provider-j9cyargr.js} +8 -8
  173. package/dist/chunks/{skill-dxcmn7gv.js → provider-j9sn2hmy.js} +58 -58
  174. package/dist/chunks/{skill-tt0td6bw.js → provider-jthxwa51.js} +4 -4
  175. package/dist/chunks/{skill-4x0qy855.js → provider-jxjmkhwe.js} +69 -69
  176. package/dist/chunks/{skill-2dsmk9dz.js → provider-k621mz99.js} +9 -9
  177. package/dist/chunks/{skill-enxcwg50.js → provider-kancfa1f.js} +10 -10
  178. package/dist/chunks/{skill-9e5bzkjp.js → provider-kb9j3d72.js} +3 -3
  179. package/dist/chunks/{skill-mnzexygb.js → provider-ke3v7s92.js} +4 -4
  180. package/dist/chunks/{skill-77qc4jg9.js → provider-kkq6mwcr.js} +14 -14
  181. package/dist/chunks/{skill-8134vgq8.js → provider-kmyvz7s7.js} +187 -187
  182. package/dist/chunks/{skill-8p3svrjv.js → provider-m30y0s1n.js} +7 -7
  183. package/dist/chunks/{skill-m3fdjcah.js → provider-m3fdjcah.js} +1 -1
  184. package/dist/chunks/{skill-aaynj67q.js → provider-m98yqj1g.js} +13 -13
  185. package/dist/chunks/{skill-m9w0rfyh.js → provider-m9w0rfyh.js} +1 -1
  186. package/dist/chunks/{skill-pxfjkbst.js → provider-mkdknv6v.js} +90 -90
  187. package/dist/chunks/{skill-sm965ndy.js → provider-mp6d0dty.js} +8 -8
  188. package/dist/chunks/{skill-h8nhsb3s.js → provider-mv3a9vfa.js} +31 -31
  189. package/dist/chunks/{skill-ck0279kv.js → provider-mxc9h5jw.js} +11 -11
  190. package/dist/chunks/{skill-pg6wempa.js → provider-myz3c1x1.js} +14 -14
  191. package/dist/chunks/{skill-axfvp7va.js → provider-n5yd7gvm.js} +8 -8
  192. package/dist/chunks/{skill-sa0pf6kw.js → provider-n9henkkh.js} +31 -31
  193. package/dist/chunks/{skill-e430y7md.js → provider-nggw558s.js} +32 -32
  194. package/dist/chunks/{skill-jtgksb6t.js → provider-nk5pjz5k.js} +25 -25
  195. package/dist/chunks/{skill-9gzxjqw2.js → provider-nzqd0z95.js} +18 -18
  196. package/dist/chunks/{skill-1hjdtj4f.js → provider-p2kw5rbw.js} +6 -6
  197. package/dist/chunks/{skill-y2ft0csz.js → provider-p6hhy8bg.js} +22 -22
  198. package/dist/chunks/{skill-g5tm6mc8.js → provider-pawgp0r2.js} +23 -23
  199. package/dist/chunks/{skill-pjvnvgmy.js → provider-pjvnvgmy.js} +1 -1
  200. package/dist/chunks/{skill-pknna89w.js → provider-pknna89w.js} +1 -1
  201. package/dist/chunks/{skill-h1mnhnd9.js → provider-pr7pa2x1.js} +8 -8
  202. package/dist/chunks/{skill-3kdj2wrp.js → provider-pssynsjy.js} +13 -13
  203. package/dist/chunks/{skill-j9zs8hdq.js → provider-pt6k7v6r.js} +15 -15
  204. package/dist/chunks/{skill-c4g0n60f.js → provider-pv6pvbp0.js} +16 -16
  205. package/dist/chunks/{skill-q0xm7vwc.js → provider-q0xm7vwc.js} +2 -2
  206. package/dist/chunks/{skill-hdd6nsph.js → provider-q2zbepsx.js} +28 -28
  207. package/dist/chunks/{skill-3g8j9he4.js → provider-q5e7cmwt.js} +1 -1
  208. package/dist/chunks/{skill-41ae5dp3.js → provider-q5xvhvda.js} +6 -6
  209. package/dist/chunks/{skill-5e7cbs51.js → provider-q95xegsv.js} +46 -46
  210. package/dist/chunks/{skill-ee5fywxb.js → provider-qjqmwmzb.js} +10 -10
  211. package/dist/chunks/{skill-qnc92qwc.js → provider-qnc92qwc.js} +1 -1
  212. package/dist/chunks/{skill-6zt0yphx.js → provider-qrhkshcm.js} +25 -25
  213. package/dist/chunks/{skill-qsdy395h.js → provider-qsdy395h.js} +1 -1
  214. package/dist/chunks/{skill-xz56r2t1.js → provider-qwgxfp2a.js} +5 -5
  215. package/dist/chunks/{skill-xjprcrhm.js → provider-r4kk7qr4.js} +41 -41
  216. package/dist/chunks/{skill-6tsdpw4y.js → provider-r5w6n4cv.js} +22 -22
  217. package/dist/chunks/{skill-j8wnfk71.js → provider-r7jvaf8c.js} +332 -332
  218. package/dist/chunks/{skill-yd1kt14t.js → provider-rc8hhhh7.js} +18 -18
  219. package/dist/chunks/{skill-rdw6cm16.js → provider-rdw6cm16.js} +1 -1
  220. package/dist/chunks/{skill-hnreq56c.js → provider-rf8f0yt3.js} +8 -8
  221. package/dist/chunks/{skill-1j56twd0.js → provider-rmjt2b52.js} +39 -39
  222. package/dist/chunks/{skill-qm0v3jhh.js → provider-ryr25ayn.js} +7 -7
  223. package/dist/chunks/{skill-a5cjz17g.js → provider-s1dh365q.js} +5 -5
  224. package/dist/chunks/{skill-80scg3y3.js → provider-s26hbv8p.js} +4 -4
  225. package/dist/chunks/{skill-bs7692vd.js → provider-s9qpn53w.js} +15 -15
  226. package/dist/chunks/{skill-b3f8fkhc.js → provider-scgrse2b.js} +5 -5
  227. package/dist/chunks/{skill-qz02d4gv.js → provider-sds13m34.js} +13 -13
  228. package/dist/chunks/{skill-fk73qj2b.js → provider-shrjyxtz.js} +1 -1
  229. package/dist/chunks/{skill-hzrfc1p4.js → provider-ss358qx3.js} +3 -3
  230. package/dist/chunks/{skill-5c60w89n.js → provider-sv3kqa3f.js} +75 -75
  231. package/dist/chunks/{skill-105tfwjb.js → provider-t1ab5pxs.js} +15 -15
  232. package/dist/chunks/{skill-zjwzhnbf.js → provider-t6waa6vr.js} +22 -22
  233. package/dist/chunks/{skill-jvf3yq6v.js → provider-t7n9q6bq.js} +4 -4
  234. package/dist/chunks/{skill-hpc7c59x.js → provider-t91hcw5k.js} +20 -20
  235. package/dist/chunks/{skill-tazgh4e4.js → provider-tazgh4e4.js} +1 -1
  236. package/dist/chunks/{skill-7gqw55ax.js → provider-tby2y51h.js} +5 -5
  237. package/dist/chunks/{skill-tcezcvh9.js → provider-tcezcvh9.js} +1 -1
  238. package/dist/chunks/{skill-n2f72mwv.js → provider-td1bkjex.js} +20 -20
  239. package/dist/chunks/{skill-tdstcens.js → provider-tdstcens.js} +1 -1
  240. package/dist/chunks/{skill-vr35wzvx.js → provider-thm5q0xs.js} +22 -22
  241. package/dist/chunks/{skill-zkar08me.js → provider-tjnp7r6e.js} +15 -15
  242. package/dist/chunks/{skill-tyytaxap.js → provider-tyytaxap.js} +1 -1
  243. package/dist/chunks/{skill-fpecnkgp.js → provider-v0es1rhs.js} +9 -9
  244. package/dist/chunks/{skill-v7p4zvkq.js → provider-v7p4zvkq.js} +2 -2
  245. package/dist/chunks/{skill-9qjx46b1.js → provider-vee0vrgv.js} +9 -9
  246. package/dist/chunks/{skill-xnc2fnjt.js → provider-vejsh113.js} +29 -29
  247. package/dist/chunks/{skill-veqvce7d.js → provider-veqvce7d.js} +1 -1
  248. package/dist/chunks/{skill-w6cpfezs.js → provider-vk40tmth.js} +10 -10
  249. package/dist/chunks/{skill-90f4gfvd.js → provider-vsnf9nwj.js} +17 -17
  250. package/dist/chunks/{skill-mx9vqzsb.js → provider-vvccsdf3.js} +6 -6
  251. package/dist/chunks/{skill-vzs5sf6e.js → provider-vzs5sf6e.js} +1 -1
  252. package/dist/chunks/{skill-ncb659dg.js → provider-w144htxh.js} +4 -4
  253. package/dist/chunks/{skill-w3wsvvr9.js → provider-w3wsvvr9.js} +1 -1
  254. package/dist/chunks/{skill-yadxnt8q.js → provider-w4jn1cxa.js} +11 -11
  255. package/dist/chunks/{skill-97aeaand.js → provider-waskdk5r.js} +4 -4
  256. package/dist/chunks/{skill-npmzekpt.js → provider-wcgx21r5.js} +20 -20
  257. package/dist/chunks/{skill-wd87259q.js → provider-wd87259q.js} +1 -1
  258. package/dist/chunks/{skill-c2285g23.js → provider-weqgmzm7.js} +21 -21
  259. package/dist/chunks/{skill-cjd91dpb.js → provider-wh8ssgqw.js} +20 -20
  260. package/dist/chunks/{skill-e509ft0y.js → provider-ws53rjxg.js} +24 -24
  261. package/dist/chunks/{skill-mp3rbb49.js → provider-wt1nksa6.js} +12 -12
  262. package/dist/chunks/{skill-mvcqbvqp.js → provider-wzwfmfap.js} +4 -4
  263. package/dist/chunks/{skill-vq34yhbc.js → provider-x0q5m72f.js} +8 -8
  264. package/dist/chunks/{skill-b6gr20b6.js → provider-x2arpr3q.js} +34 -34
  265. package/dist/chunks/{skill-p6ms1qj3.js → provider-xa42b6m5.js} +13 -13
  266. package/dist/chunks/{skill-s0b7t9fd.js → provider-xasyx0as.js} +4 -4
  267. package/dist/chunks/{skill-drwq78ky.js → provider-xfkkasph.js} +4 -4
  268. package/dist/chunks/{skill-meetrtdx.js → provider-xnfh7z4s.js} +24 -24
  269. package/dist/chunks/{skill-mj9byv44.js → provider-xxbftrs5.js} +11 -11
  270. package/dist/chunks/{skill-y1fvbwt7.js → provider-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{skill-7t68mjgs.js → provider-y6fmmag9.js} +11 -11
  272. package/dist/chunks/{skill-2wncw716.js → provider-y7f9yaqr.js} +13 -13
  273. package/dist/chunks/{skill-3cc556wd.js → provider-yykvs157.js} +20 -20
  274. package/dist/chunks/{skill-z0bkrqjs.js → provider-z0bkrqjs.js} +1 -1
  275. package/dist/chunks/{skill-ccxrkxzs.js → provider-zdj1medq.js} +19 -19
  276. package/dist/chunks/{skill-gvg9dw6p.js → provider-zec2tej3.js} +9 -9
  277. package/dist/chunks/{skill-sw9e8akq.js → provider-zee0z0hh.js} +14 -14
  278. package/dist/chunks/{skill-zjtrsxny.js → provider-zjtrsxny.js} +2 -2
  279. package/dist/chunks/{skill-y5v0xzkg.js → provider-zkzvxy35.js} +16 -16
  280. package/dist/chunks/{skill-zr2ceqn5.js → provider-zr2ceqn5.js} +1 -1
  281. package/dist/chunks/{skill-mxvxcxwy.js → provider-zw2hpfmh.js} +4 -4
  282. package/dist/chunks/{skill-a32h2kad.js → provider-zxjj126v.js} +17 -17
  283. package/dist/chunks/{skill-zxq2ej10.js → provider-zxq2ej10.js} +1 -1
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +7 -7
  286. package/dist/codemode/tool.js +3 -3
  287. package/dist/codemode/web.js +1 -1
  288. package/dist/command.js +86 -86
  289. package/dist/config/discovery.js +83 -83
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +100 -100
  292. package/dist/config/plugin/agent.js +119 -119
  293. package/dist/config/plugin/command.js +208 -208
  294. package/dist/config/plugin/compaction.js +155 -155
  295. package/dist/config/plugin/compatibility.js +135 -135
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +118 -118
  298. package/dist/config/plugin/image.js +117 -117
  299. package/dist/config/plugin/instruction.js +91 -91
  300. package/dist/config/plugin/location-watcher.js +119 -119
  301. package/dist/config/plugin/mcp.js +126 -126
  302. package/dist/config/plugin/policy.js +118 -118
  303. package/dist/config/plugin/provider.js +117 -117
  304. package/dist/config/plugin/reference.js +119 -119
  305. package/dist/config/plugin/shell.js +119 -119
  306. package/dist/config/plugin/skill-file.js +103 -103
  307. package/dist/config/plugin/skill.js +138 -138
  308. package/dist/config/plugin/snapshot.js +117 -117
  309. package/dist/config/plugin/source.js +120 -120
  310. package/dist/config/plugin/tool-output.js +118 -118
  311. package/dist/config/plugin/websearch.js +118 -118
  312. package/dist/config/plugin/worktree.js +119 -119
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +122 -122
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +84 -84
  318. package/dist/database/database.js +67 -67
  319. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  320. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +15 -15
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +16 -16
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  383. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  384. package/dist/database/migration.gen.js +50 -50
  385. package/dist/database/migration.js +52 -52
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +77 -77
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +366 -366
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +3 -3
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +94 -94
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +96 -96
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +75 -75
  409. package/dist/file-access.js +105 -105
  410. package/dist/file-mutation.js +95 -95
  411. package/dist/file-retention.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/location-watcher-policy.js +6 -6
  417. package/dist/filesystem/location-watcher.js +221 -221
  418. package/dist/filesystem/protected.js +1 -1
  419. package/dist/filesystem/search.js +104 -104
  420. package/dist/filesystem/watcher-binding.js +1 -1
  421. package/dist/filesystem/watcher.js +15 -15
  422. package/dist/filesystem.js +101 -101
  423. package/dist/form.js +83 -83
  424. package/dist/formatter/builtins.js +4 -4
  425. package/dist/formatter.js +88 -88
  426. package/dist/generate.js +106 -106
  427. package/dist/git.js +10 -10
  428. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  429. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  430. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  431. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  432. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  434. package/dist/github-copilot/copilot-provider.js +17 -17
  435. package/dist/github-copilot/models.js +100 -100
  436. package/dist/github-copilot/openai-compatible-error.js +1 -1
  437. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  438. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  439. package/dist/github-copilot/responses/openai-error.js +1 -1
  440. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  441. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  442. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  443. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  444. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  447. package/dist/image/photon.js +2 -2
  448. package/dist/image.js +6 -6
  449. package/dist/instance/service.js +5 -5
  450. package/dist/instance.js +357 -357
  451. package/dist/instruction-discovery.js +84 -84
  452. package/dist/instructions/builtins.js +84 -84
  453. package/dist/instructions/index.js +5 -5
  454. package/dist/integration/connection.js +3 -3
  455. package/dist/integration.js +86 -86
  456. package/dist/job.js +79 -79
  457. package/dist/kv/sql.js +2 -2
  458. package/dist/kv.js +74 -74
  459. package/dist/location-activity.js +135 -135
  460. package/dist/location-lifecycle.js +108 -108
  461. package/dist/location-service-map.js +87 -87
  462. package/dist/location-services.js +354 -354
  463. package/dist/location.js +88 -88
  464. package/dist/managed-policy.js +8 -8
  465. package/dist/mcp/client.js +92 -92
  466. package/dist/mcp/index.js +108 -108
  467. package/dist/mcp/instructions.js +130 -130
  468. package/dist/mcp/oauth.js +79 -79
  469. package/dist/mcp/stdio.js +91 -91
  470. package/dist/mime.js +1 -1
  471. package/dist/modal/models.js +100 -100
  472. package/dist/model-resolver.js +99 -99
  473. package/dist/model.js +101 -101
  474. package/dist/models-dev.js +108 -108
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +83 -83
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +114 -114
  479. package/dist/persistent-pty/binary.bun.js +1 -1
  480. package/dist/persistent-pty/daemon.js +1 -1
  481. package/dist/persistent-pty/index.js +89 -89
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +76 -76
  484. package/dist/plugin/agent.js +77 -77
  485. package/dist/plugin/command.js +103 -103
  486. package/dist/plugin/hooks.js +5 -5
  487. package/dist/plugin/host.js +212 -212
  488. package/dist/plugin/identity.js +3 -3
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +329 -329
  491. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  492. package/dist/plugin/models-dev.js +97 -97
  493. package/dist/plugin/module.js +118 -118
  494. package/dist/plugin/optimize.js +4 -4
  495. package/dist/plugin/plan.js +103 -103
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/amazon-bedrock.js +91 -91
  498. package/dist/plugin/provider/azure.js +118 -118
  499. package/dist/plugin/provider/cerebras.js +1 -1
  500. package/dist/plugin/provider/chatgpt.js +95 -95
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +114 -114
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +113 -113
  505. package/dist/plugin/provider/databricks.js +1 -1
  506. package/dist/plugin/provider/digitalocean.js +94 -94
  507. package/dist/plugin/provider/dynamic.js +2 -2
  508. package/dist/plugin/provider/factory.js +1 -1
  509. package/dist/plugin/provider/github-copilot.js +96 -96
  510. package/dist/plugin/provider/gitlab.js +94 -94
  511. package/dist/plugin/provider/google-vertex.js +114 -114
  512. package/dist/plugin/provider/kilo.js +1 -1
  513. package/dist/plugin/provider/llmgateway.js +79 -79
  514. package/dist/plugin/provider/lmstudio.js +117 -117
  515. package/dist/plugin/provider/local.js +114 -114
  516. package/dist/plugin/provider/modal.js +93 -93
  517. package/dist/plugin/provider/neon.js +1 -1
  518. package/dist/plugin/provider/nvidia.js +1 -1
  519. package/dist/plugin/provider/ollama.js +117 -117
  520. package/dist/plugin/provider/openai.js +96 -96
  521. package/dist/plugin/provider/opencode.js +98 -98
  522. package/dist/plugin/provider/openrouter.js +92 -92
  523. package/dist/plugin/provider/perplexity.js +2 -2
  524. package/dist/plugin/provider/poe.js +80 -80
  525. package/dist/plugin/provider/prompt-cache-key.js +91 -91
  526. package/dist/plugin/provider/sap-ai-core.js +92 -92
  527. package/dist/plugin/provider/sdk-factory.js +1 -1
  528. package/dist/plugin/provider/snowflake-cortex.js +116 -116
  529. package/dist/plugin/provider/vercel.js +91 -91
  530. package/dist/plugin/provider/vllm.js +117 -117
  531. package/dist/plugin/provider/xai.js +92 -92
  532. package/dist/plugin/provider/zenmux.js +1 -1
  533. package/dist/plugin/provider.js +159 -159
  534. package/dist/plugin/sdk.js +73 -73
  535. package/dist/plugin/service.js +1 -1
  536. package/dist/plugin/skill.js +133 -133
  537. package/dist/plugin/source-directory.js +1 -1
  538. package/dist/plugin/supervisor.js +348 -348
  539. package/dist/plugin/tool-input-repair.js +2 -2
  540. package/dist/plugin/update.js +6 -6
  541. package/dist/plugin/vcs/git.js +87 -87
  542. package/dist/plugin/vcs/hg.js +87 -87
  543. package/dist/plugin/verbosity.js +94 -94
  544. package/dist/plugin/warming.js +115 -115
  545. package/dist/plugin/websearch/exa.js +7 -7
  546. package/dist/plugin/websearch/firecrawl.js +8 -8
  547. package/dist/plugin/websearch/index.js +9 -9
  548. package/dist/plugin/websearch/mcp.js +6 -6
  549. package/dist/plugin/websearch/parallel.js +8 -8
  550. package/dist/plugin/websearch/tavily.js +6 -6
  551. package/dist/plugin/websearch/tinyfish.js +6 -6
  552. package/dist/plugin.js +221 -221
  553. package/dist/project/schema.js +8 -8
  554. package/dist/project/sql.js +4 -4
  555. package/dist/project.js +89 -89
  556. package/dist/provider.js +100 -100
  557. package/dist/pty/protocol.js +1 -1
  558. package/dist/pty/ticket.js +1 -1
  559. package/dist/pty.js +100 -100
  560. package/dist/reference/instructions.js +90 -90
  561. package/dist/reference.js +90 -90
  562. package/dist/repository-cache.js +82 -82
  563. package/dist/repository.js +1 -1
  564. package/dist/ripgrep/binary.js +2 -2
  565. package/dist/ripgrep.js +92 -92
  566. package/dist/rpc.js +87 -87
  567. package/dist/schema.js +1 -1
  568. package/dist/session/affinity.js +1 -1
  569. package/dist/session/command.js +75 -75
  570. package/dist/session/compaction.js +136 -136
  571. package/dist/session/context.js +154 -154
  572. package/dist/session/diff.js +89 -89
  573. package/dist/session/environment.js +5 -5
  574. package/dist/session/error.js +5 -5
  575. package/dist/session/event.js +1 -1
  576. package/dist/session/execution/restart.js +218 -218
  577. package/dist/session/execution.js +126 -126
  578. package/dist/session/generate.js +155 -155
  579. package/dist/session/history.js +13 -13
  580. package/dist/session/inbox.js +89 -89
  581. package/dist/session/info.js +3 -3
  582. package/dist/session/instruction-entry.js +76 -76
  583. package/dist/session/instruction-state.js +8 -8
  584. package/dist/session/instructions.js +98 -98
  585. package/dist/session/message-updater.js +2 -2
  586. package/dist/session/message.js +1 -1
  587. package/dist/session/model-request.js +115 -115
  588. package/dist/session/model-transport.js +3 -3
  589. package/dist/session/move.js +130 -130
  590. package/dist/session/projector.js +87 -87
  591. package/dist/session/prompt.js +106 -106
  592. package/dist/session/provider-context.js +3 -3
  593. package/dist/session/revert.js +91 -91
  594. package/dist/session/run-coordinator.js +3 -3
  595. package/dist/session/runner/index.js +3 -3
  596. package/dist/session/runner/llm.js +225 -225
  597. package/dist/session/runner/max-steps.js +1 -1
  598. package/dist/session/runner/model.js +99 -99
  599. package/dist/session/runner/publish-llm-event.js +114 -114
  600. package/dist/session/runner/retry.js +4 -4
  601. package/dist/session/runner/step.js +126 -126
  602. package/dist/session/runner/to-llm-message.js +2 -2
  603. package/dist/session/schema.js +5 -5
  604. package/dist/session/session.js +165 -165
  605. package/dist/session/shell.js +131 -131
  606. package/dist/session/skill.js +104 -104
  607. package/dist/session/sql.js +5 -5
  608. package/dist/session/stats.js +74 -74
  609. package/dist/session/store.js +88 -88
  610. package/dist/session/subagent-completion.js +1 -1
  611. package/dist/session/subagent-job.js +206 -206
  612. package/dist/session/system-prompt.js +3 -3
  613. package/dist/session/title.js +158 -158
  614. package/dist/session/to-session-error.js +112 -112
  615. package/dist/session/transfer.js +214 -214
  616. package/dist/session/usage.js +1 -1
  617. package/dist/session.js +212 -212
  618. package/dist/shell/parse.js +6 -6
  619. package/dist/shell/result.js +1 -1
  620. package/dist/shell/scan.js +1 -1
  621. package/dist/shell/select.js +13 -13
  622. package/dist/shell.js +133 -133
  623. package/dist/skill/discovery.js +6 -6
  624. package/dist/skill/instructions.js +108 -108
  625. package/dist/skill.js +109 -109
  626. package/dist/snapshot.js +90 -90
  627. package/dist/state.js +1 -1
  628. package/dist/tool/html-markdown.js +1 -1
  629. package/dist/tool/http-body.js +1 -1
  630. package/dist/tool/mcp.js +127 -127
  631. package/dist/tool/plugin/edit.js +121 -121
  632. package/dist/tool/plugin/file-diff.js +1 -1
  633. package/dist/tool/plugin/glob.js +125 -125
  634. package/dist/tool/plugin/grep.js +125 -125
  635. package/dist/tool/plugin/mcp-resource.js +118 -118
  636. package/dist/tool/plugin/opencode.js +110 -110
  637. package/dist/tool/plugin/patch.js +123 -123
  638. package/dist/tool/plugin/question.js +102 -102
  639. package/dist/tool/plugin/read.js +126 -126
  640. package/dist/tool/plugin/shell.js +211 -211
  641. package/dist/tool/plugin/skill.js +114 -114
  642. package/dist/tool/plugin/subagent.js +213 -213
  643. package/dist/tool/plugin/webfetch.js +113 -113
  644. package/dist/tool/plugin/websearch.js +115 -115
  645. package/dist/tool/plugin/write.js +123 -123
  646. package/dist/tool/read-filesystem.js +101 -101
  647. package/dist/tool/runtime.js +1 -1
  648. package/dist/tool-output.js +7 -7
  649. package/dist/tool.js +12 -12
  650. package/dist/util/error-summary.js +1 -1
  651. package/dist/util/error.js +1 -1
  652. package/dist/util/git-executable.js +2 -2
  653. package/dist/util/iife.js +1 -1
  654. package/dist/util/lazy.js +1 -1
  655. package/dist/util/slug.js +1 -1
  656. package/dist/util/token.js +1 -1
  657. package/dist/util/which.js +1 -1
  658. package/dist/util/wildcard.js +1 -1
  659. package/dist/v1/config/agent.js +5 -5
  660. package/dist/v1/config/command.js +5 -5
  661. package/dist/v1/config/error.js +2 -2
  662. package/dist/v1/config/mcp.js +4 -4
  663. package/dist/v1/config/migrate.js +93 -93
  664. package/dist/v1/config/permission.js +3 -3
  665. package/dist/v1/config/plugin.js +3 -3
  666. package/dist/v1/config/provider-options.js +1 -1
  667. package/dist/v1/config/provider.js +4 -4
  668. package/dist/variant.js +92 -92
  669. package/dist/vcs/patch.js +1 -1
  670. package/dist/vcs.js +90 -90
  671. package/dist/websearch.js +83 -83
  672. package/dist/wellknown/plugin.js +77 -77
  673. package/dist/wellknown.js +82 -82
  674. package/dist/workspace/driver.js +5 -5
  675. package/dist/workspace/sql.js +1 -1
  676. package/dist/workspace.js +83 -83
  677. package/dist/worktree/directory.js +2 -2
  678. package/dist/worktree/git.js +10 -10
  679. package/dist/worktree/sql.js +5 -5
  680. package/dist/worktree/strategies.js +90 -90
  681. package/dist/worktree.js +99 -99
  682. package/package.json +8 -8
  683. package/dist/chunks/skill-5h3ye409.js +0 -26
  684. package/dist/chunks/skill-zm1zmdrb.js +0 -253
  685. /package/dist/chunks/{skill-0qkdqm5v.js → provider-0qkdqm5v.js} +0 -0
  686. /package/dist/chunks/{skill-0zkw76rk.js → provider-0zkw76rk.js} +0 -0
  687. /package/dist/chunks/{skill-17cy0kzp.js → provider-17cy0kzp.js} +0 -0
  688. /package/dist/chunks/{skill-1cnp2v09.js → provider-1cnp2v09.js} +0 -0
  689. /package/dist/chunks/{skill-1kg9ymc8.js → provider-1kg9ymc8.js} +0 -0
  690. /package/dist/chunks/{skill-24dcb14g.js → provider-24dcb14g.js} +0 -0
  691. /package/dist/chunks/{skill-2710q6r3.js → provider-2710q6r3.js} +0 -0
  692. /package/dist/chunks/{skill-2axfhc9x.js → provider-2axfhc9x.js} +0 -0
  693. /package/dist/chunks/{skill-2c3vjs8z.js → provider-2c3vjs8z.js} +0 -0
  694. /package/dist/chunks/{skill-34c7v6d4.js → provider-34c7v6d4.js} +0 -0
  695. /package/dist/chunks/{skill-359p4xyc.js → provider-359p4xyc.js} +0 -0
  696. /package/dist/chunks/{skill-3asan66x.js → provider-3asan66x.js} +0 -0
  697. /package/dist/chunks/{skill-3t0ybcrp.js → provider-3t0ybcrp.js} +0 -0
  698. /package/dist/chunks/{skill-3v8g72cx.js → provider-3v8g72cx.js} +0 -0
  699. /package/dist/chunks/{skill-3wcehsnq.js → provider-3wcehsnq.js} +0 -0
  700. /package/dist/chunks/{skill-43n2bw4t.js → provider-43n2bw4t.js} +0 -0
  701. /package/dist/chunks/{skill-4knz6hnm.js → provider-4knz6hnm.js} +0 -0
  702. /package/dist/chunks/{skill-4vcrnpx2.js → provider-4vcrnpx2.js} +0 -0
  703. /package/dist/chunks/{skill-4y7fprxs.js → provider-4y7fprxs.js} +0 -0
  704. /package/dist/chunks/{skill-53557ph1.js → provider-53557ph1.js} +0 -0
  705. /package/dist/chunks/{skill-550bvhaj.js → provider-550bvhaj.js} +0 -0
  706. /package/dist/chunks/{skill-5qd3pb7m.js → provider-5qd3pb7m.js} +0 -0
  707. /package/dist/chunks/{skill-6prwharc.js → provider-6prwharc.js} +0 -0
  708. /package/dist/chunks/{skill-6q2bdcd1.js → provider-6q2bdcd1.js} +0 -0
  709. /package/dist/chunks/{skill-7akdwqpd.js → provider-7akdwqpd.js} +0 -0
  710. /package/dist/chunks/{skill-7m9af43g.js → provider-7m9af43g.js} +0 -0
  711. /package/dist/chunks/{skill-822emrt2.js → provider-822emrt2.js} +0 -0
  712. /package/dist/chunks/{skill-84wd9syh.js → provider-84wd9syh.js} +0 -0
  713. /package/dist/chunks/{skill-88xbtdfr.js → provider-88xbtdfr.js} +0 -0
  714. /package/dist/chunks/{skill-8n3pysct.js → provider-8n3pysct.js} +0 -0
  715. /package/dist/chunks/{skill-8wj87zfr.js → provider-8wj87zfr.js} +0 -0
  716. /package/dist/chunks/{skill-9a4afbnw.js → provider-9a4afbnw.js} +0 -0
  717. /package/dist/chunks/{skill-9rqn6x4v.js → provider-9rqn6x4v.js} +0 -0
  718. /package/dist/chunks/{skill-a6k6eb26.js → provider-a6k6eb26.js} +0 -0
  719. /package/dist/chunks/{skill-af5trqkr.js → provider-af5trqkr.js} +0 -0
  720. /package/dist/chunks/{skill-afrmfg78.js → provider-afrmfg78.js} +0 -0
  721. /package/dist/chunks/{skill-aqzs7mqg.js → provider-aqzs7mqg.js} +0 -0
  722. /package/dist/chunks/{skill-atq7p7m5.js → provider-atq7p7m5.js} +0 -0
  723. /package/dist/chunks/{skill-bkyjaxrp.js → provider-bkyjaxrp.js} +0 -0
  724. /package/dist/chunks/{skill-bmr6ed5q.js → provider-bmr6ed5q.js} +0 -0
  725. /package/dist/chunks/{skill-bw78ga2c.js → provider-bw78ga2c.js} +0 -0
  726. /package/dist/chunks/{skill-cf4snx6d.js → provider-cf4snx6d.js} +0 -0
  727. /package/dist/chunks/{skill-cvy3z8tj.js → provider-cvy3z8tj.js} +0 -0
  728. /package/dist/chunks/{skill-d9fn303g.js → provider-d9fn303g.js} +0 -0
  729. /package/dist/chunks/{skill-d9jj8t3e.js → provider-d9jj8t3e.js} +0 -0
  730. /package/dist/chunks/{skill-dajrwvna.js → provider-dajrwvna.js} +0 -0
  731. /package/dist/chunks/{skill-dap0rakb.js → provider-dap0rakb.js} +0 -0
  732. /package/dist/chunks/{skill-df08tz66.js → provider-df08tz66.js} +0 -0
  733. /package/dist/chunks/{skill-dy18nga0.js → provider-dy18nga0.js} +0 -0
  734. /package/dist/chunks/{skill-e5kj55wp.js → provider-e5kj55wp.js} +0 -0
  735. /package/dist/chunks/{skill-e73j6tqm.js → provider-e73j6tqm.js} +0 -0
  736. /package/dist/chunks/{skill-ec1grn59.js → provider-ec1grn59.js} +0 -0
  737. /package/dist/chunks/{skill-eh3zwz77.js → provider-eh3zwz77.js} +0 -0
  738. /package/dist/chunks/{skill-emrn6kk6.js → provider-emrn6kk6.js} +0 -0
  739. /package/dist/chunks/{skill-f0mxakyp.js → provider-f0mxakyp.js} +0 -0
  740. /package/dist/chunks/{skill-f6n9ztr4.js → provider-f6n9ztr4.js} +0 -0
  741. /package/dist/chunks/{skill-faypxj3z.js → provider-faypxj3z.js} +0 -0
  742. /package/dist/chunks/{skill-fd410y7t.js → provider-fd410y7t.js} +0 -0
  743. /package/dist/chunks/{skill-fxgpk5d8.js → provider-fxgpk5d8.js} +0 -0
  744. /package/dist/chunks/{skill-g4wezp1m.js → provider-g4wezp1m.js} +0 -0
  745. /package/dist/chunks/{skill-g86h250q.js → provider-g86h250q.js} +0 -0
  746. /package/dist/chunks/{skill-gebd4c9n.js → provider-gebd4c9n.js} +0 -0
  747. /package/dist/chunks/{skill-gftt206x.js → provider-gftt206x.js} +0 -0
  748. /package/dist/chunks/{skill-hk9envan.js → provider-hk9envan.js} +0 -0
  749. /package/dist/chunks/{skill-j2ntwpah.js → provider-j2ntwpah.js} +0 -0
  750. /package/dist/chunks/{skill-j5zkgpj8.js → provider-j5zkgpj8.js} +0 -0
  751. /package/dist/chunks/{skill-jjkms2e6.js → provider-jjkms2e6.js} +0 -0
  752. /package/dist/chunks/{skill-jr7sbwjy.js → provider-jr7sbwjy.js} +0 -0
  753. /package/dist/chunks/{skill-jwfs4k6c.js → provider-jwfs4k6c.js} +0 -0
  754. /package/dist/chunks/{skill-jze0r7bz.js → provider-jze0r7bz.js} +0 -0
  755. /package/dist/chunks/{skill-jzg6c2d5.js → provider-jzg6c2d5.js} +0 -0
  756. /package/dist/chunks/{skill-mp448xyj.js → provider-mp448xyj.js} +0 -0
  757. /package/dist/chunks/{skill-msx8hqn2.js → provider-msx8hqn2.js} +0 -0
  758. /package/dist/chunks/{skill-n05xt0ee.js → provider-n05xt0ee.js} +0 -0
  759. /package/dist/chunks/{skill-n3j8tn72.js → provider-n3j8tn72.js} +0 -0
  760. /package/dist/chunks/{skill-njntx4h6.js → provider-njntx4h6.js} +0 -0
  761. /package/dist/chunks/{skill-pyv0edze.js → provider-pyv0edze.js} +0 -0
  762. /package/dist/chunks/{skill-q3sfg36h.js → provider-q3sfg36h.js} +0 -0
  763. /package/dist/chunks/{skill-q74kybfr.js → provider-q74kybfr.js} +0 -0
  764. /package/dist/chunks/{skill-qaymkmh1.js → provider-qaymkmh1.js} +0 -0
  765. /package/dist/chunks/{skill-qb87gjwd.js → provider-qb87gjwd.js} +0 -0
  766. /package/dist/chunks/{skill-qfa1cgps.js → provider-qfa1cgps.js} +0 -0
  767. /package/dist/chunks/{skill-qg3g05ea.js → provider-qg3g05ea.js} +0 -0
  768. /package/dist/chunks/{skill-qrg20bc0.js → provider-qrg20bc0.js} +0 -0
  769. /package/dist/chunks/{skill-rcb2kzg1.js → provider-rcb2kzg1.js} +0 -0
  770. /package/dist/chunks/{skill-sdp7kfr6.js → provider-sdp7kfr6.js} +0 -0
  771. /package/dist/chunks/{skill-ssg3fenm.js → provider-ssg3fenm.js} +0 -0
  772. /package/dist/chunks/{skill-ve7vex1e.js → provider-ve7vex1e.js} +0 -0
  773. /package/dist/chunks/{skill-w803qqfp.js → provider-w803qqfp.js} +0 -0
  774. /package/dist/chunks/{skill-wc3fc9cn.js → provider-wc3fc9cn.js} +0 -0
  775. /package/dist/chunks/{skill-wer8tq1h.js → provider-wer8tq1h.js} +0 -0
  776. /package/dist/chunks/{skill-wtztk69x.js → provider-wtztk69x.js} +0 -0
  777. /package/dist/chunks/{skill-x0ckcb58.js → provider-x0ckcb58.js} +0 -0
  778. /package/dist/chunks/{skill-x61499pn.js → provider-x61499pn.js} +0 -0
  779. /package/dist/chunks/{skill-y44na4kk.js → provider-y44na4kk.js} +0 -0
  780. /package/dist/chunks/{skill-y8f7s663.js → provider-y8f7s663.js} +0 -0
  781. /package/dist/chunks/{skill-ygaqb7jw.js → provider-ygaqb7jw.js} +0 -0
  782. /package/dist/chunks/{skill-ym463w8f.js → provider-ym463w8f.js} +0 -0
  783. /package/dist/chunks/{skill-z5v4ffb3.js → provider-z5v4ffb3.js} +0 -0
  784. /package/dist/chunks/{skill-z9919s4g.js → provider-z9919s4g.js} +0 -0
@@ -1,62 +1,62 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./skill-z5v4ffb3.js";
3
+ } from "./provider-z5v4ffb3.js";
4
4
  import {
5
5
  latest2,
6
- Service46
7
- } from "./skill-dg6zp6za.js";
6
+ Service61
7
+ } from "./provider-32qtf6eh.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./skill-hgz4x7wa.js";
10
+ } from "./provider-hgz4x7wa.js";
11
11
  import {
12
- Service39
13
- } from "./skill-h51scejt.js";
12
+ Service59
13
+ } from "./provider-ashwz6j6.js";
14
14
  import {
15
- Service67
16
- } from "./skill-c4g0n60f.js";
15
+ Service50
16
+ } from "./provider-pv6pvbp0.js";
17
17
  import {
18
- Service62
19
- } from "./skill-wcty64ct.js";
18
+ Service75
19
+ } from "./provider-2h977fq8.js";
20
20
  import {
21
- Service23,
21
+ Service72,
22
22
  resolvePath2
23
- } from "./skill-yd1kt14t.js";
23
+ } from "./provider-rc8hhhh7.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./skill-vzs5sf6e.js";
29
+ } from "./provider-vzs5sf6e.js";
30
30
  import {
31
- Service79,
31
+ Service60,
32
32
  name15
33
- } from "./skill-gce79w0q.js";
33
+ } from "./provider-4d2ssmng.js";
34
34
  import {
35
- NotFoundError5,
36
- Service37
37
- } from "./skill-emr3wtvp.js";
35
+ NotFoundError7,
36
+ Service56
37
+ } from "./provider-4jgvg5sf.js";
38
38
  import {
39
- Service24
40
- } from "./skill-pxfjkbst.js";
39
+ Service25
40
+ } from "./provider-mkdknv6v.js";
41
41
  import {
42
42
  scan2
43
- } from "./skill-mvcqbvqp.js";
43
+ } from "./provider-wzwfmfap.js";
44
44
  import {
45
45
  __export
46
- } from "./skill-9rqn6x4v.js";
46
+ } from "./provider-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
- var exports_shell2 = {};
50
- __export(exports_shell2, {
49
+ var exports_shell = {};
50
+ __export(exports_shell, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input3,
53
- Plugin: () => Plugin38,
54
- ShellTool: () => exports_shell2,
55
- name: () => name3
52
+ Input: () => Input5,
53
+ Plugin: () => Plugin7,
54
+ ShellTool: () => exports_shell,
55
+ name: () => name5
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
- var name3 = "shell";
59
+ var name5 = "shell";
60
60
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
61
61
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
62
62
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -70,7 +70,7 @@ var description = (shell) => [
70
70
  "Commands accept an optional timeout, background commands have no timeout by default.",
71
71
  "Background commands return immediately, and you will be notified when they complete."
72
72
  ].join(" ");
73
- var Input3 = Schema.Struct({
73
+ var Input5 = Schema.Struct({
74
74
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
75
75
  workdir: Schema.optionalKey(Schema.String).annotate({
76
76
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -116,19 +116,19 @@ Output is streaming to: ${file}`,
116
116
  truncated: false,
117
117
  status: "running"
118
118
  });
119
- var Plugin38 = {
119
+ var Plugin7 = {
120
120
  id: "opencode.tool.shell",
121
121
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
122
- const sessions = yield* Service24;
123
- const jobs = yield* Service67;
122
+ const sessions = yield* Service25;
123
+ const jobs = yield* Service50;
124
124
  const scope = yield* Scope.Scope;
125
- const environment = yield* Service39;
126
- const access = yield* Service23;
127
- const shell = yield* Service37;
128
- const shellSelect = yield* Service79;
125
+ const environment = yield* Service59;
126
+ const access = yield* Service72;
127
+ const shell = yield* Service56;
128
+ const shellSelect = yield* Service60;
129
129
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
130
- const permission = yield* Service62;
131
- const config = yield* Service46;
130
+ const permission = yield* Service75;
131
+ const config = yield* Service61;
132
132
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
133
133
  const source = {
134
134
  type: "tool",
@@ -147,7 +147,7 @@ var Plugin38 = {
147
147
  yield* access.authorizeExternal([target, ...directories], context);
148
148
  if (parsed.commands.length > 0)
149
149
  yield* permission.assert({
150
- action: name3,
150
+ action: name5,
151
151
  resources: parsed.commands.map((command) => command.resource),
152
152
  save: parsed.commands.map((command) => command.save),
153
153
  sessionID: context.sessionID,
@@ -184,10 +184,10 @@ var Plugin38 = {
184
184
  yield* jobs.completeBackground(info.notificationID);
185
185
  }, Effect.forkIn(scope, { startImmediately: true }));
186
186
  yield* ctx.tool.transform((editor) => editor.add({
187
- name: name3,
187
+ name: name5,
188
188
  options: { codemode: false },
189
189
  description: description(),
190
- input: Input3,
190
+ input: Input5,
191
191
  output: Output,
192
192
  execute: (input, context) => Effect.gen(function* () {
193
193
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -210,7 +210,7 @@ var Plugin38 = {
210
210
  const run = Effect.gen(function* () {
211
211
  const result = yield* shell.result(info);
212
212
  if (!result.capture)
213
- return yield* new NotFoundError5({ id: info.id });
213
+ return yield* new NotFoundError7({ id: info.id });
214
214
  const output = output2(result);
215
215
  return {
216
216
  ...output,
@@ -224,7 +224,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
224
224
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
225
225
  const job = yield* jobs.start({
226
226
  id: info.id,
227
- type: name3,
227
+ type: name5,
228
228
  title: info.command,
229
229
  metadata: { sessionID: context.sessionID, shellID: info.id },
230
230
  recovery: {
@@ -254,7 +254,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
254
254
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
255
255
  })).pipe(Effect.orDie);
256
256
  const hook = (event) => Effect.gen(function* () {
257
- const tool = event.tools[name3];
257
+ const tool = event.tools[name5];
258
258
  if (!tool)
259
259
  return;
260
260
  tool.description = description(name15(yield* compatibleShell));
@@ -265,4 +265,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
265
265
  })
266
266
  };
267
267
 
268
- export { name3, DEFAULT_TIMEOUT_MS2, Input3, Plugin38, exports_shell2 };
268
+ export { name5, DEFAULT_TIMEOUT_MS2, Input5, Plugin7, exports_shell };
@@ -5,24 +5,24 @@ import {
5
5
  emptyPatch2,
6
6
  splitGitPatch2,
7
7
  chunksByFile2
8
- } from "./skill-tazgh4e4.js";
8
+ } from "./provider-tazgh4e4.js";
9
9
  import {
10
10
  gitExecutable2
11
- } from "./skill-ef5x83kb.js";
11
+ } from "./provider-ef5x83kb.js";
12
12
  import {
13
- Service80
14
- } from "./skill-1d306zj7.js";
13
+ Service81
14
+ } from "./provider-bnhfyrbt.js";
15
15
  import {
16
16
  DiffError2
17
- } from "./skill-00arqr3w.js";
17
+ } from "./provider-1z89szcw.js";
18
18
  import {
19
19
  __export
20
- } from "./skill-9rqn6x4v.js";
20
+ } from "./provider-9rqn6x4v.js";
21
21
 
22
22
  // src/plugin/vcs/git.ts
23
23
  var exports_git = {};
24
24
  __export(exports_git, {
25
- Plugin: () => Plugin24,
25
+ Plugin: () => Plugin21,
26
26
  VcsGitPlugin: () => exports_git
27
27
  });
28
28
  import { randomUUID } from "crypto";
@@ -33,10 +33,10 @@ import { define } from "@opencode/plugin/effect/plugin";
33
33
  import { Effect } from "effect";
34
34
  import { ChildProcess } from "effect/process";
35
35
  import { AppProcess } from "@opencode/util/process";
36
- var Plugin24 = define({
36
+ var Plugin21 = define({
37
37
  id: "opencode.vcs.git",
38
38
  effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
39
- const location = yield* Service80;
39
+ const location = yield* Service81;
40
40
  if (location.vcs && location.vcs.type !== "git")
41
41
  return;
42
42
  const processes = yield* AppProcess.Service;
@@ -553,4 +553,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
553
553
  return yield* diffAgainstRef(ctx, ref, options);
554
554
  });
555
555
 
556
- export { Plugin24, exports_git };
556
+ export { Plugin21, exports_git };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./skill-z5v4ffb3.js";
3
+ } from "./provider-z5v4ffb3.js";
4
4
 
5
5
  // src/database/path.ts
6
6
  import nodePath from "path";
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./skill-z41ms5aa.js";
4
+ } from "./provider-0xwgk9vz.js";
5
5
  import {
6
- Service84,
7
- node88
8
- } from "./skill-x2cv103a.js";
6
+ Service83,
7
+ node87
8
+ } from "./provider-0vtm6bxs.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./skill-pknna89w.js";
11
+ } from "./provider-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./skill-3zsf4n22.js";
14
+ } from "./provider-3zsf4n22.js";
15
15
  import {
16
16
  __export
17
- } from "./skill-9rqn6x4v.js";
17
+ } from "./provider-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
@@ -22,44 +22,44 @@ __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
23
  Event: () => Event17,
24
24
  External: () => External2,
25
- ID: () => ID13,
26
- Info: () => Info23,
27
- Key: () => Key4,
25
+ ID: () => ID9,
26
+ Info: () => Info19,
27
+ Key: () => Key3,
28
28
  OAuth: () => OAuth3,
29
- Service: () => Service75,
29
+ Service: () => Service69,
30
30
  Value: () => Value2,
31
- node: () => node79
31
+ node: () => node72
32
32
  });
33
33
  import { asc, desc, eq } from "drizzle-orm";
34
34
  import { Cause, Context, Effect, Layer, Schema } from "effect";
35
35
  import { Credential } from "@opencode/schema/credential";
36
36
  import { Integration } from "@opencode/schema/integration";
37
37
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
38
- var ID13 = Credential.ID;
38
+ var ID9 = Credential.ID;
39
39
  var OAuth3 = Credential.OAuth;
40
- var Key4 = Credential.Key;
40
+ var Key3 = Credential.Key;
41
41
  var External2 = Credential.External;
42
42
  var Value2 = Credential.Value;
43
43
  var Event17 = Credential.Event;
44
44
 
45
- class Info23 extends Schema.Class("Credential.Info")({
46
- id: ID13,
45
+ class Info19 extends Schema.Class("Credential.Info")({
46
+ id: ID9,
47
47
  integrationID: Integration.ID,
48
48
  label: Schema.String,
49
49
  value: Value2
50
50
  }) {
51
51
  }
52
52
 
53
- class Service75 extends Context.Service()("@opencode/Credential") {
53
+ class Service69 extends Context.Service()("@opencode/Credential") {
54
54
  }
55
- var layer = Layer.effect(Service75, Effect.gen(function* () {
55
+ var layer = Layer.effect(Service69, Effect.gen(function* () {
56
56
  const db = (yield* Service85).db;
57
- const bus = yield* Service84;
57
+ const bus = yield* Service83;
58
58
  const decode = Schema.decodeUnknownSync(Value2);
59
59
  const stored = (row) => {
60
60
  if (!row.integration_id)
61
61
  return;
62
- return new Info23({
62
+ return new Info19({
63
63
  id: row.id,
64
64
  integrationID: row.integration_id,
65
65
  label: row.label,
@@ -70,7 +70,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
70
70
  const credential = stored(row);
71
71
  return credential ? [credential] : [];
72
72
  });
73
- return Service75.of({
73
+ return Service69.of({
74
74
  all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
75
75
  list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
76
76
  get: Effect.fn("Credential.get")(function* (id) {
@@ -78,8 +78,8 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
78
78
  return row ? stored(row) : undefined;
79
79
  }),
80
80
  create: Effect.fn("Credential.create")(function* (input) {
81
- const credential = new Info23({
82
- id: input.id ?? ID13.create(),
81
+ const credential = new Info19({
82
+ id: input.id ?? ID9.create(),
83
83
  integrationID: input.integrationID,
84
84
  label: input.label ?? "default",
85
85
  value: input.value
@@ -203,6 +203,6 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
203
203
  })
204
204
  });
205
205
  }));
206
- var node79 = makeGlobalNode({ service: Service75, layer, deps: [node89, node88] });
206
+ var node72 = makeGlobalNode({ service: Service69, layer, deps: [node89, node87] });
207
207
 
208
- export { ID13, OAuth3, Key4, External2, Value2, Event17, Info23, Service75, node79, exports_credential };
208
+ export { ID9, OAuth3, Key3, External2, Value2, Event17, Info19, Service69, node72, exports_credential };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./skill-9rqn6x4v.js";
3
+ } from "./provider-9rqn6x4v.js";
4
4
 
5
5
  // src/config/plugin/entry-observer.ts
6
6
  var exports_entry_observer = {};
@@ -2,16 +2,16 @@ import {
2
2
  managesTransactionsNatively2,
3
3
  EffectSQLiteSession2,
4
4
  EffectSQLiteTransaction2
5
- } from "./skill-2hqxtjqw.js";
5
+ } from "./provider-9yq3t2hf.js";
6
6
  import {
7
7
  EffectSQLiteDatabase2,
8
8
  DefaultServices2,
9
- make23,
9
+ make22,
10
10
  makeWithDefaults2
11
- } from "./skill-b5mrbpzb.js";
11
+ } from "./provider-0hb4wmm5.js";
12
12
  import {
13
13
  __export
14
- } from "./skill-9rqn6x4v.js";
14
+ } from "./provider-9rqn6x4v.js";
15
15
 
16
16
  // src/database/drizzle/index.ts
17
17
  var exports_drizzle = {};
@@ -22,7 +22,7 @@ __export(exports_drizzle, {
22
22
  EffectSQLiteDatabase: () => EffectSQLiteDatabase2,
23
23
  EffectSQLiteSession: () => EffectSQLiteSession2,
24
24
  EffectSQLiteTransaction: () => EffectSQLiteTransaction2,
25
- make: () => make23,
25
+ make: () => make22,
26
26
  makeWithDefaults: () => makeWithDefaults2,
27
27
  managesTransactionsNatively: () => managesTransactionsNatively2
28
28
  });
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./skill-z5v4ffb3.js";
3
+ } from "./provider-z5v4ffb3.js";
4
4
  import {
5
5
  Service85,
6
6
  node89
7
- } from "./skill-z41ms5aa.js";
7
+ } from "./provider-0xwgk9vz.js";
8
+ import {
9
+ Service83,
10
+ node87
11
+ } from "./provider-0vtm6bxs.js";
8
12
  import {
9
13
  Service84,
10
14
  node88
11
- } from "./skill-x2cv103a.js";
12
- import {
13
- Service82,
14
- node86
15
- } from "./skill-mp3rbb49.js";
15
+ } from "./provider-wt1nksa6.js";
16
16
  import {
17
- ID17,
17
+ ID18,
18
18
  Current3,
19
- Info28,
19
+ Info29,
20
20
  UpdateInput4,
21
- Event20,
21
+ Event21,
22
22
  Vcs3
23
- } from "./skill-fpecnkgp.js";
23
+ } from "./provider-v0es1rhs.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./skill-h2b79v29.js";
27
+ } from "./provider-3cegwx68.js";
28
28
  import {
29
29
  WorktreeTable2
30
- } from "./skill-1dvck2a7.js";
30
+ } from "./provider-84h8c373.js";
31
31
  import {
32
32
  __export
33
- } from "./skill-9rqn6x4v.js";
33
+ } from "./provider-9rqn6x4v.js";
34
34
 
35
35
  // src/project.ts
36
36
  var exports_project = {};
37
37
  __export(exports_project, {
38
38
  Current: () => Current2,
39
- ID: () => ID16,
40
- Info: () => Info27,
39
+ ID: () => ID17,
40
+ Info: () => Info28,
41
41
  NotFoundError: () => NotFoundError11,
42
42
  Project: () => exports_project,
43
- Service: () => Service81,
43
+ Service: () => Service82,
44
44
  UpdateInput: () => UpdateInput3,
45
45
  Vcs: () => Vcs2,
46
- node: () => node85,
46
+ node: () => node86,
47
47
  root: () => root2
48
48
  });
49
49
  import { Context, Effect, Layer, Schema } from "effect";
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
55
55
  import { AppProcess } from "@opencode/util/process";
56
56
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
57
57
  import { Hash } from "@opencode/util/hash";
58
- var ID16 = ID17;
58
+ var ID17 = ID18;
59
59
  var Vcs2 = Vcs3;
60
60
  var Current2 = Current3;
61
- var Info27 = Info28;
61
+ var Info28 = Info29;
62
62
  var UpdateInput3 = UpdateInput4;
63
63
 
64
64
  class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
65
- projectID: ID16
65
+ projectID: ID17
66
66
  }) {
67
67
  }
68
68
  var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
@@ -72,7 +72,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
72
72
  });
73
73
  var ACTIVATE_INTERVAL = 60000;
74
74
 
75
- class Service81 extends Context.Service()("@opencode/Project") {
75
+ class Service82 extends Context.Service()("@opencode/Project") {
76
76
  }
77
77
  function fromRow(row) {
78
78
  const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
@@ -95,11 +95,11 @@ function fromRow(row) {
95
95
  sandboxes: row.sandboxes
96
96
  };
97
97
  }
98
- var layer = Layer.effect(Service81, Effect.gen(function* () {
98
+ var layer = Layer.effect(Service82, Effect.gen(function* () {
99
99
  const fs = yield* FSUtil.Service;
100
- const git = yield* Service82;
100
+ const git = yield* Service84;
101
101
  const proc = yield* AppProcess.Service;
102
- const bus = yield* Service84;
102
+ const bus = yield* Service83;
103
103
  const db = (yield* Service85).db;
104
104
  const announcing = new Set;
105
105
  const persist = Effect.fnUntraced(function* (project) {
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
108
108
  if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
109
109
  const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
110
110
  if (row)
111
- yield* bus.publish(Event20.Updated, fromRow(row));
111
+ yield* bus.publish(Event21.Updated, fromRow(row));
112
112
  }
113
113
  if (!project.vcs)
114
114
  return project;
@@ -145,7 +145,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
145
145
  yield* bus.publish(Worktree.Event.Resolved, {
146
146
  projectID: item.projectID,
147
147
  directory: item.directory,
148
- previous: project.previous ?? ID16.global,
148
+ previous: project.previous ?? ID17.global,
149
149
  ...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
150
150
  }, {
151
151
  commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
@@ -170,7 +170,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
170
170
  if (!row)
171
171
  return yield* new NotFoundError11({ projectID: input.projectID });
172
172
  const project = fromRow(row);
173
- yield* bus.publish(Event20.Updated, project);
173
+ yield* bus.publish(Event21.Updated, project);
174
174
  return project;
175
175
  });
176
176
  const activated = new Map;
@@ -181,10 +181,10 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
181
181
  activated.set(projectID, now);
182
182
  const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
183
183
  if (row)
184
- yield* bus.publish(Event20.Updated, fromRow(row));
184
+ yield* bus.publish(Event21.Updated, fromRow(row));
185
185
  });
186
186
  const cached = Effect.fnUntraced(function* (dir) {
187
- return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID16.make(value) : undefined), Effect.orElseSucceed(() => {
187
+ return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
188
188
  return;
189
189
  }));
190
190
  });
@@ -195,7 +195,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
195
195
  const normalized = url(origin);
196
196
  if (!normalized)
197
197
  return;
198
- return ID16.make(Hash.fast(`git-remote:${normalized}`));
198
+ return ID17.make(Hash.fast(`git-remote:${normalized}`));
199
199
  });
200
200
  function url(input) {
201
201
  const value = input.trim();
@@ -220,7 +220,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
220
220
  }
221
221
  const rootCommit = Effect.fnUntraced(function* (repo) {
222
222
  const root = (yield* git.history.rootCommits(repo))[0];
223
- return root ? ID16.make(root) : undefined;
223
+ return root ? ID17.make(root) : undefined;
224
224
  });
225
225
  const hgRoot = Effect.fnUntraced(function* (worktree) {
226
226
  const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
@@ -236,7 +236,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
236
236
  return;
237
237
  const node = result.stdout.toString("utf8").split(`
238
238
  `).map((item) => item.trim()).filter(Boolean).toSorted()[0];
239
- return node ? ID16.make(node) : undefined;
239
+ return node ? ID17.make(node) : undefined;
240
240
  });
241
241
  const hgDiscover = Effect.fnUntraced(function* (dotHg) {
242
242
  const worktree = AbsolutePath2.make(path.dirname(dotHg));
@@ -245,7 +245,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
245
245
  const id = previous ?? (yield* hgRoot(worktree));
246
246
  return {
247
247
  previous,
248
- id: id ?? ID16.global,
248
+ id: id ?? ID17.global,
249
249
  directory: worktree,
250
250
  vcs: { type: "hg", store }
251
251
  };
@@ -262,7 +262,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
262
262
  const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
263
263
  return yield* persist({
264
264
  previous,
265
- id: id ?? ID16.global,
265
+ id: id ?? ID17.global,
266
266
  directory: repo.worktree,
267
267
  canonical,
268
268
  vcs: { type: "git", store: repo.commonDirectory }
@@ -276,18 +276,18 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
276
276
  });
277
277
  }
278
278
  return yield* persist({
279
- id: ID16.make(Hash.fast(`directory:${directory}`)),
279
+ id: ID17.make(Hash.fast(`directory:${directory}`)),
280
280
  directory,
281
281
  canonical: directory,
282
282
  vcs: undefined
283
283
  });
284
284
  });
285
- return Service81.of({ list, update, activate, resolve });
285
+ return Service82.of({ list, update, activate, resolve });
286
286
  }));
287
- var node85 = makeGlobalNode({
288
- service: Service81,
287
+ var node86 = makeGlobalNode({
288
+ service: Service82,
289
289
  layer,
290
- deps: [node88, node89, FSUtil.node, node86, AppProcess.node]
290
+ deps: [node87, node89, FSUtil.node, node88, AppProcess.node]
291
291
  });
292
292
 
293
- export { ID16, Vcs2, Current2, Info27, UpdateInput3, NotFoundError11, root2, Service81, node85, exports_project };
293
+ export { ID17, Vcs2, Current2, Info28, UpdateInput3, NotFoundError11, root2, Service82, node86, exports_project };