@opencode/core 0.0.0-dev-20930 → 0.0.0-dev-20931

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 (788) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{vcs-h3jhj2xa.js → integration-075r751x.js} +22 -22
  8. package/dist/chunks/{vcs-959n08kb.js → integration-0a5svcmh.js} +21 -21
  9. package/dist/chunks/{vcs-640qxpd1.js → integration-0f7d753h.js} +27 -27
  10. package/dist/chunks/{vcs-q0xm7vwc.js → integration-0j77ygfz.js} +6 -6
  11. package/dist/chunks/{vcs-82rhge12.js → integration-0jq9fyba.js} +9 -9
  12. package/dist/chunks/{vcs-g7rd7fyk.js → integration-0khr6rqs.js} +32 -32
  13. package/dist/chunks/{vcs-0emb60td.js → integration-0vbcp93d.js} +2 -2
  14. package/dist/chunks/{vcs-7zrk7djy.js → integration-0wz9q52x.js} +11 -11
  15. package/dist/chunks/{vcs-kb66r164.js → integration-1113as0s.js} +9 -9
  16. package/dist/chunks/{vcs-1vv4j6r1.js → integration-122em65s.js} +37 -37
  17. package/dist/chunks/{vcs-d688a3nx.js → integration-13frkkp2.js} +5 -5
  18. package/dist/chunks/{vcs-txm3e8qz.js → integration-1j6m29mr.js} +9 -9
  19. package/dist/chunks/{vcs-nxe4pcap.js → integration-1rn5pcm9.js} +4 -4
  20. package/dist/chunks/integration-1x11rq2a.js +18 -0
  21. package/dist/chunks/{vcs-q6yya7b3.js → integration-23kefcxh.js} +5 -5
  22. package/dist/chunks/{vcs-pp3afwvg.js → integration-2867kdp4.js} +34 -34
  23. package/dist/chunks/{vcs-4ts7tf6z.js → integration-2ccvkpx1.js} +2 -2
  24. package/dist/chunks/{vcs-ewkyd3xf.js → integration-2h81vr2k.js} +1 -1
  25. package/dist/chunks/{vcs-mz89zh3j.js → integration-2k9fjx65.js} +5 -5
  26. package/dist/chunks/{vcs-50x795jv.js → integration-2my82rfs.js} +14 -14
  27. package/dist/chunks/{vcs-prg9xvqw.js → integration-2n79kke4.js} +11 -11
  28. package/dist/chunks/{vcs-c07ssfks.js → integration-35b68s5f.js} +31 -31
  29. package/dist/chunks/{vcs-vjjaysxc.js → integration-35ja2k0w.js} +2 -2
  30. package/dist/chunks/{vcs-w5a76q94.js → integration-39yhh44v.js} +46 -46
  31. package/dist/chunks/{vcs-4tjr60b8.js → integration-3aqjt3pg.js} +5 -5
  32. package/dist/chunks/{vcs-j3k7xgch.js → integration-3cxe7pe8.js} +18 -18
  33. package/dist/chunks/{vcs-3fc6dm20.js → integration-3fc6dm20.js} +1 -1
  34. package/dist/chunks/{vcs-3hepkmqq.js → integration-3hepkmqq.js} +1 -1
  35. package/dist/chunks/{vcs-3hwn7j4h.js → integration-3hwn7j4h.js} +2 -2
  36. package/dist/chunks/{vcs-zh36sqcy.js → integration-3qbrybdc.js} +32 -32
  37. package/dist/chunks/{vcs-3smtnn6g.js → integration-3smtnn6g.js} +1 -1
  38. package/dist/chunks/{vcs-3tvqynh2.js → integration-3tvqynh2.js} +1 -1
  39. package/dist/chunks/{vcs-0nx0j33j.js → integration-3wemrpgf.js} +18 -18
  40. package/dist/chunks/{vcs-3zsf4n22.js → integration-3zsf4n22.js} +1 -1
  41. package/dist/chunks/{vcs-zwjz4pbc.js → integration-46523z4v.js} +3 -3
  42. package/dist/chunks/{vcs-ffjarpe8.js → integration-4e0ywfbv.js} +4 -4
  43. package/dist/chunks/{vcs-2p0vx0df.js → integration-4f5ba015.js} +20 -20
  44. package/dist/chunks/{vcs-7t1q934f.js → integration-4n721j5p.js} +10 -10
  45. package/dist/chunks/{vcs-31z5wm9z.js → integration-4p54rqs4.js} +13 -13
  46. package/dist/chunks/{vcs-sfsey46c.js → integration-4x42dj42.js} +22 -22
  47. package/dist/chunks/{vcs-jqrmqyhf.js → integration-4y2z14sc.js} +3 -3
  48. package/dist/chunks/{vcs-gw8g3a8n.js → integration-52gk8ct8.js} +29 -29
  49. package/dist/chunks/{vcs-54ma36ye.js → integration-54ma36ye.js} +1 -1
  50. package/dist/chunks/{vcs-5m9w47nd.js → integration-5m9w47nd.js} +1 -1
  51. package/dist/chunks/{vcs-trtty4av.js → integration-5vaf1r8z.js} +21 -21
  52. package/dist/chunks/{vcs-h4txjgx3.js → integration-61tfqrb2.js} +21 -21
  53. package/dist/chunks/{vcs-ymsb3n01.js → integration-63km2k09.js} +14 -14
  54. package/dist/chunks/{vcs-6xcvt31d.js → integration-68wqtz75.js} +1 -1
  55. package/dist/chunks/{vcs-jwa44fjy.js → integration-6erg9bqb.js} +22 -22
  56. package/dist/chunks/{vcs-p6p0ds8a.js → integration-6gwzkkk2.js} +4 -4
  57. package/dist/chunks/{vcs-z67m2mck.js → integration-6vmt69ah.js} +6 -6
  58. package/dist/chunks/{vcs-mx61yyya.js → integration-6w5czgjy.js} +35 -35
  59. package/dist/chunks/{vcs-6xb47vfp.js → integration-6xb47vfp.js} +1 -1
  60. package/dist/chunks/{vcs-qwhbyzhp.js → integration-742a0vbq.js} +11 -11
  61. package/dist/chunks/{vcs-775gj3j1.js → integration-775gj3j1.js} +2 -2
  62. package/dist/chunks/{vcs-em3yhwbg.js → integration-7b9jrt6y.js} +17 -17
  63. package/dist/chunks/{vcs-7bmhse3q.js → integration-7bmhse3q.js} +1 -1
  64. package/dist/chunks/{vcs-z7k5sp21.js → integration-7f125cag.js} +24 -24
  65. package/dist/chunks/{vcs-2haft7pr.js → integration-7kphep4n.js} +7 -7
  66. package/dist/chunks/{vcs-8aaqm6qj.js → integration-7rwqf82v.js} +8 -8
  67. package/dist/chunks/{vcs-3ag8ase7.js → integration-7scdz1wy.js} +9 -9
  68. package/dist/chunks/{vcs-x04y3h7q.js → integration-7zcs5bwm.js} +23 -23
  69. package/dist/chunks/{vcs-1y283654.js → integration-80scg3y3.js} +4 -4
  70. package/dist/chunks/{vcs-84txncab.js → integration-84txncab.js} +1 -1
  71. package/dist/chunks/{vcs-6qtegkg3.js → integration-86qjnnqk.js} +11 -11
  72. package/dist/chunks/{vcs-hyr8tqae.js → integration-8gkj0cby.js} +24 -24
  73. package/dist/chunks/{vcs-e65qf95s.js → integration-8gn5005p.js} +22 -22
  74. package/dist/chunks/{vcs-jjwt9gb5.js → integration-8hxtpvs0.js} +9 -9
  75. package/dist/chunks/{vcs-mj8fnwpt.js → integration-8k70me0z.js} +32 -32
  76. package/dist/chunks/{vcs-8m6m0r52.js → integration-8m6m0r52.js} +1 -1
  77. package/dist/chunks/{vcs-8sze2n9a.js → integration-8sze2n9a.js} +2 -2
  78. package/dist/chunks/{vcs-91qna3x0.js → integration-91qna3x0.js} +3 -3
  79. package/dist/chunks/{vcs-ycdqq8zj.js → integration-936xvph3.js} +316 -316
  80. package/dist/chunks/{vcs-c3wxzxxt.js → integration-95hjd82g.js} +14 -14
  81. package/dist/chunks/{vcs-8714avm2.js → integration-98kt03jn.js} +4 -4
  82. package/dist/chunks/{vcs-6fzpscvt.js → integration-9e55pg5q.js} +41 -41
  83. package/dist/chunks/{vcs-9kyabpxr.js → integration-9haechzb.js} +29 -29
  84. package/dist/chunks/{vcs-a4sqqhtm.js → integration-9kjxzw1r.js} +79 -79
  85. package/dist/chunks/{vcs-hr1xc807.js → integration-9n61d5ky.js} +49 -49
  86. package/dist/chunks/{vcs-01h1cd23.js → integration-9y9g9nyh.js} +15 -15
  87. package/dist/chunks/{vcs-edrmdtr5.js → integration-a46v4e4v.js} +7 -7
  88. package/dist/chunks/{vcs-2f2kky6g.js → integration-a5q1zm4x.js} +23 -23
  89. package/dist/chunks/{vcs-mxvxcxwy.js → integration-addxnjmp.js} +4 -4
  90. package/dist/chunks/{vcs-qjh2dgdf.js → integration-ak9qm6ac.js} +84 -84
  91. package/dist/chunks/{vcs-13d0fw4d.js → integration-ardvwy48.js} +3 -3
  92. package/dist/chunks/{vcs-8qg5srkn.js → integration-ax5snzm5.js} +13 -13
  93. package/dist/chunks/{vcs-ggz4hs15.js → integration-axcgc2pe.js} +8 -8
  94. package/dist/chunks/{vcs-shd9e764.js → integration-b1kzy2v1.js} +13 -13
  95. package/dist/chunks/{vcs-nd2cwz73.js → integration-b64mf6hy.js} +22 -22
  96. package/dist/chunks/{vcs-1qjaf7q9.js → integration-b9xg611c.js} +11 -11
  97. package/dist/chunks/{vcs-sragp8dr.js → integration-bd183rbz.js} +5 -5
  98. package/dist/chunks/{vcs-dvzj1xmf.js → integration-bf4gbvg4.js} +5 -5
  99. package/dist/chunks/{vcs-fdjnkqp0.js → integration-bf76vypg.js} +11 -11
  100. package/dist/chunks/{vcs-wb2x3bfx.js → integration-bhazafz4.js} +20 -20
  101. package/dist/chunks/{vcs-6c6pn2sh.js → integration-bkv2ee1r.js} +27 -27
  102. package/dist/chunks/{vcs-a881zpfh.js → integration-bkxyw0dr.js} +9 -9
  103. package/dist/chunks/{vcs-ajsx4q8w.js → integration-bkyz4bb0.js} +17 -17
  104. package/dist/chunks/{vcs-2p1hpqj8.js → integration-bm76h7t2.js} +15 -15
  105. package/dist/chunks/{vcs-f0y3hrmm.js → integration-btnpmhdq.js} +11 -11
  106. package/dist/chunks/integration-bvc07b1t.js +253 -0
  107. package/dist/chunks/{vcs-b4a4df0m.js → integration-bwvbm3pe.js} +11 -11
  108. package/dist/chunks/{vcs-es1vcfrp.js → integration-c1fqxshp.js} +3 -3
  109. package/dist/chunks/{vcs-wp94metk.js → integration-cmk24ybg.js} +45 -45
  110. package/dist/chunks/{vcs-a2rpfkac.js → integration-cp937pt4.js} +4 -4
  111. package/dist/chunks/{vcs-tf45wne3.js → integration-crn1v2gs.js} +12 -12
  112. package/dist/chunks/{vcs-eghc6w1b.js → integration-d10j2gb9.js} +2 -2
  113. package/dist/chunks/{vcs-v1c3gq9j.js → integration-dg4w6che.js} +35 -35
  114. package/dist/chunks/{vcs-tc4g7eq4.js → integration-dhyfr8yj.js} +28 -28
  115. package/dist/chunks/{vcs-2sejkfem.js → integration-djszqvmq.js} +9 -9
  116. package/dist/chunks/{vcs-dtk1yfnn.js → integration-dkaf93xt.js} +18 -18
  117. package/dist/chunks/{vcs-dc9sh8np.js → integration-dq83cx3g.js} +13 -13
  118. package/dist/chunks/{vcs-k351gqed.js → integration-dqd9td72.js} +12 -12
  119. package/dist/chunks/{vcs-dqxsqydv.js → integration-dqxsqydv.js} +1 -1
  120. package/dist/chunks/{vcs-7pfe8y1s.js → integration-dw9c7k0z.js} +30 -30
  121. package/dist/chunks/{vcs-5qd3pb7m.js → integration-e3qxr5gk.js} +2 -2
  122. package/dist/chunks/{vcs-srv0gx85.js → integration-e4w46ks9.js} +14 -14
  123. package/dist/chunks/{vcs-h691v7v0.js → integration-e70k3x73.js} +12 -12
  124. package/dist/chunks/{vcs-ed1g29hy.js → integration-e80seqcp.js} +3 -3
  125. package/dist/chunks/{vcs-dn8cvzj6.js → integration-ea46vrq0.js} +19 -19
  126. package/dist/chunks/{vcs-eej6y6fw.js → integration-eej6y6fw.js} +2 -2
  127. package/dist/chunks/{vcs-ef5x83kb.js → integration-ef5x83kb.js} +1 -1
  128. package/dist/chunks/{vcs-kdezk8ga.js → integration-ejnm8fa5.js} +1 -1
  129. package/dist/chunks/{vcs-9qt0ajd2.js → integration-ew7eqw32.js} +4 -4
  130. package/dist/chunks/{vcs-hf9zz0cr.js → integration-f3aj5rkw.js} +45 -45
  131. package/dist/chunks/{vcs-2k8khapm.js → integration-fcrkznn8.js} +5 -5
  132. package/dist/chunks/{vcs-yq797vpt.js → integration-fhkyqja4.js} +329 -329
  133. package/dist/chunks/{vcs-tapzysky.js → integration-fks1tada.js} +21 -21
  134. package/dist/chunks/{vcs-17svp89c.js → integration-fqeqenmh.js} +3 -3
  135. package/dist/chunks/{vcs-khmqacep.js → integration-fxaymqdw.js} +4 -4
  136. package/dist/chunks/{vcs-0sqvq5f5.js → integration-fzf4e9h4.js} +4 -4
  137. package/dist/chunks/{vcs-9g0h0kex.js → integration-g0t7snpe.js} +46 -46
  138. package/dist/chunks/{vcs-qvdcjn92.js → integration-g5n5wprh.js} +12 -12
  139. package/dist/chunks/{vcs-g3et1r9g.js → integration-g8c299f8.js} +19 -19
  140. package/dist/chunks/{vcs-gd4qta3r.js → integration-gd4qta3r.js} +1 -1
  141. package/dist/chunks/{vcs-1tadxgh6.js → integration-gmc3gxvb.js} +21 -21
  142. package/dist/chunks/{vcs-tmwxzkc5.js → integration-gr5wcx1y.js} +11 -11
  143. package/dist/chunks/{vcs-dcw3vkc0.js → integration-gsh5zsa2.js} +16 -16
  144. package/dist/chunks/{vcs-61tjv46k.js → integration-gsjeqjb2.js} +6 -6
  145. package/dist/chunks/{vcs-0tccdhza.js → integration-h3968h22.js} +15 -15
  146. package/dist/chunks/{vcs-h6vf3j39.js → integration-h6vf3j39.js} +1 -1
  147. package/dist/chunks/{vcs-h7s7r6s9.js → integration-h7s7r6s9.js} +2 -2
  148. package/dist/chunks/{vcs-shhyvxrq.js → integration-hb8krrmj.js} +13 -13
  149. package/dist/chunks/{vcs-vpycaasy.js → integration-herrfec1.js} +21 -21
  150. package/dist/chunks/{vcs-hgz4x7wa.js → integration-hgz4x7wa.js} +1 -1
  151. package/dist/chunks/{vcs-6r0vq68t.js → integration-hh1dt53r.js} +16 -16
  152. package/dist/chunks/{vcs-mng7gjgz.js → integration-hkp6ymgy.js} +23 -23
  153. package/dist/chunks/{vcs-43x15q73.js → integration-hp5hxv81.js} +7 -7
  154. package/dist/chunks/{vcs-r18p0vf7.js → integration-hzqck04w.js} +12 -12
  155. package/dist/chunks/{vcs-hthv5jgd.js → integration-j6x6e543.js} +2 -2
  156. package/dist/chunks/{vcs-ps8k6c3y.js → integration-jgb4whm5.js} +18 -18
  157. package/dist/chunks/{vcs-sxzvkvgj.js → integration-jhf3jymm.js} +6 -6
  158. package/dist/chunks/{vcs-xc6sx546.js → integration-jksafvem.js} +11 -11
  159. package/dist/chunks/{vcs-8xc0ff7b.js → integration-jn4txd9r.js} +43 -43
  160. package/dist/chunks/{vcs-63g8n8e9.js → integration-jsn3ar0v.js} +28 -28
  161. package/dist/chunks/{vcs-4j5c83jz.js → integration-jxx2adkw.js} +27 -27
  162. package/dist/chunks/{vcs-e7yzyp2p.js → integration-k8b2wsrv.js} +14 -14
  163. package/dist/chunks/{vcs-0ybbsf06.js → integration-k8s7jp5m.js} +9 -9
  164. package/dist/chunks/{vcs-npb06z3t.js → integration-k9car22n.js} +28 -28
  165. package/dist/chunks/{vcs-8h8yzxqj.js → integration-keay7n7p.js} +4 -4
  166. package/dist/chunks/{vcs-3y45vew5.js → integration-kj2528qg.js} +6 -6
  167. package/dist/chunks/{vcs-v854f2p9.js → integration-kmc5179c.js} +53 -53
  168. package/dist/chunks/{vcs-6x89tf4f.js → integration-kqx1b4hy.js} +4 -4
  169. package/dist/chunks/{vcs-8deh7c6q.js → integration-kxaktcx2.js} +7 -7
  170. package/dist/chunks/{vcs-m9w0rfyh.js → integration-m9w0rfyh.js} +1 -1
  171. package/dist/chunks/{vcs-maspj1v3.js → integration-maspj1v3.js} +1 -1
  172. package/dist/chunks/{vcs-fphvadrz.js → integration-mn88zmzx.js} +11 -11
  173. package/dist/chunks/{vcs-d9jtx293.js → integration-mnp2ym1z.js} +6 -6
  174. package/dist/chunks/{vcs-f2rv6855.js → integration-mvhk56d4.js} +43 -43
  175. package/dist/chunks/{vcs-drw8pd7a.js → integration-mxqz6rkr.js} +15 -15
  176. package/dist/chunks/{vcs-8c5w71gj.js → integration-n4ybcttp.js} +4 -4
  177. package/dist/chunks/{vcs-fe2tea80.js → integration-nchmws89.js} +11 -11
  178. package/dist/chunks/{vcs-04p8m0tj.js → integration-ndgyzz9d.js} +9 -9
  179. package/dist/chunks/{vcs-z2qhp8mt.js → integration-npjdgtzp.js} +7 -7
  180. package/dist/chunks/{vcs-hzrfc1p4.js → integration-nvxqht09.js} +2 -2
  181. package/dist/chunks/{vcs-19xes010.js → integration-p1jt2dnw.js} +50 -50
  182. package/dist/chunks/{vcs-pzfxmw7k.js → integration-p2rbr5nq.js} +5 -5
  183. package/dist/chunks/{vcs-pa8pe2x7.js → integration-p37cw4rj.js} +8 -8
  184. package/dist/chunks/{vcs-1sh9vfpc.js → integration-p6ca3w3j.js} +20 -20
  185. package/dist/chunks/{vcs-9fm9zjg3.js → integration-p9kbpa46.js} +33 -33
  186. package/dist/chunks/{vcs-202vsb7e.js → integration-pazcjgz3.js} +5 -5
  187. package/dist/chunks/{vcs-7rzsvbkj.js → integration-pck7vvdx.js} +5 -5
  188. package/dist/chunks/{vcs-pjvnvgmy.js → integration-pjvnvgmy.js} +1 -1
  189. package/dist/chunks/{vcs-pknna89w.js → integration-pknna89w.js} +1 -1
  190. package/dist/chunks/{vcs-tam2w0b0.js → integration-pnt2mqac.js} +18 -18
  191. package/dist/chunks/{vcs-g7x33k41.js → integration-pp4rcfw0.js} +20 -20
  192. package/dist/chunks/{vcs-4gx4de6d.js → integration-pv8k32fw.js} +11 -11
  193. package/dist/chunks/integration-pw8prt84.js +26 -0
  194. package/dist/chunks/{vcs-x640gzss.js → integration-pwh5ap6x.js} +28 -28
  195. package/dist/chunks/{vcs-t781ex0h.js → integration-q7f3h75y.js} +5 -5
  196. package/dist/chunks/{vcs-pn3cc07s.js → integration-qby9dwvd.js} +8 -8
  197. package/dist/chunks/{vcs-bjfb5pqm.js → integration-qd0qqa4s.js} +47 -47
  198. package/dist/chunks/{vcs-0r7t0cpv.js → integration-qgn9hdfm.js} +20 -20
  199. package/dist/chunks/{vcs-mf6tqe69.js → integration-qkrw6axx.js} +11 -11
  200. package/dist/chunks/{vcs-qnc92qwc.js → integration-qnc92qwc.js} +1 -1
  201. package/dist/chunks/{vcs-qsdy395h.js → integration-qsdy395h.js} +1 -1
  202. package/dist/chunks/{vcs-1x73a69w.js → integration-qxxnpvek.js} +10 -10
  203. package/dist/chunks/{vcs-kxtwbv1b.js → integration-r01t9b5y.js} +6 -6
  204. package/dist/chunks/{vcs-cebgx87p.js → integration-r0p2m64d.js} +4 -4
  205. package/dist/chunks/{vcs-nr27fqtv.js → integration-r20scrd8.js} +13 -13
  206. package/dist/chunks/{vcs-73hq82r2.js → integration-r3bw8wf5.js} +3 -3
  207. package/dist/chunks/{vcs-k6pj38bh.js → integration-r5tsbqp4.js} +15 -15
  208. package/dist/chunks/{vcs-c86xa7f1.js → integration-r7sf6fb8.js} +25 -25
  209. package/dist/chunks/{vcs-ekzq6bp1.js → integration-r9495x2r.js} +30 -30
  210. package/dist/chunks/{vcs-4jy3z28a.js → integration-r9jtscav.js} +40 -40
  211. package/dist/chunks/{vcs-rdw6cm16.js → integration-rdw6cm16.js} +1 -1
  212. package/dist/chunks/{vcs-tkb22qbm.js → integration-rert0e01.js} +2 -2
  213. package/dist/chunks/{vcs-s14a018q.js → integration-rfzmte1w.js} +18 -18
  214. package/dist/chunks/{vcs-0gdmqesm.js → integration-rhjbct0v.js} +4 -4
  215. package/dist/chunks/{vcs-c41wscbt.js → integration-rj3eygr5.js} +2 -2
  216. package/dist/chunks/{vcs-9t99p3cv.js → integration-rq04gqh0.js} +5 -5
  217. package/dist/chunks/{vcs-xsqeaj90.js → integration-rqasrdk8.js} +172 -172
  218. package/dist/chunks/{vcs-6cb0k5fs.js → integration-rsshs73c.js} +8 -8
  219. package/dist/chunks/{vcs-e6xzsx93.js → integration-rt2qy71r.js} +9 -9
  220. package/dist/chunks/{vcs-wb44jxr9.js → integration-rvtxy3cd.js} +14 -14
  221. package/dist/chunks/{vcs-g8n2q3ca.js → integration-s1ahwq19.js} +3 -3
  222. package/dist/chunks/{vcs-z4zy5fwe.js → integration-s706fh8z.js} +32 -32
  223. package/dist/chunks/{vcs-5paa9ef2.js → integration-s7nbb837.js} +13 -13
  224. package/dist/chunks/{vcs-0r5qpn88.js → integration-s9w6dcwz.js} +8 -8
  225. package/dist/chunks/{vcs-c8ax2afj.js → integration-sa8ekw3f.js} +2 -2
  226. package/dist/chunks/{vcs-hdkng2sj.js → integration-scgrse2b.js} +5 -5
  227. package/dist/chunks/{vcs-j9mp9csx.js → integration-sdmkkwk6.js} +31 -31
  228. package/dist/chunks/{vcs-085246bx.js → integration-sna59257.js} +75 -75
  229. package/dist/chunks/{vcs-2egm12cz.js → integration-srz5vn3p.js} +5 -5
  230. package/dist/chunks/{vcs-113dr2ww.js → integration-st8w1s27.js} +28 -28
  231. package/dist/chunks/{vcs-xhsv9n96.js → integration-svcw9x3w.js} +12 -12
  232. package/dist/chunks/{vcs-yd2v78na.js → integration-sveg4fqe.js} +14 -14
  233. package/dist/chunks/{vcs-syv4x271.js → integration-syv4x271.js} +1 -1
  234. package/dist/chunks/{vcs-42wenp1t.js → integration-t41sszjr.js} +24 -24
  235. package/dist/chunks/{vcs-tazgh4e4.js → integration-tazgh4e4.js} +1 -1
  236. package/dist/chunks/{vcs-ntkdha38.js → integration-tc82y08z.js} +11 -11
  237. package/dist/chunks/{vcs-tcezcvh9.js → integration-tcezcvh9.js} +1 -1
  238. package/dist/chunks/{vcs-tdstcens.js → integration-tdstcens.js} +1 -1
  239. package/dist/chunks/{vcs-fb8ejb83.js → integration-tk14y25j.js} +5 -5
  240. package/dist/chunks/{vcs-tm0kqsz3.js → integration-tm0kqsz3.js} +1 -1
  241. package/dist/chunks/{vcs-axxpgx3s.js → integration-txcdme70.js} +47 -47
  242. package/dist/chunks/{vcs-tyytaxap.js → integration-tyytaxap.js} +1 -1
  243. package/dist/chunks/{vcs-06x8he3q.js → integration-tz4n1mmd.js} +4 -4
  244. package/dist/chunks/{vcs-xecxzrdp.js → integration-v0es1rhs.js} +2 -2
  245. package/dist/chunks/{vcs-v7p4zvkq.js → integration-v7p4zvkq.js} +2 -2
  246. package/dist/chunks/{vcs-66enaw2c.js → integration-v89z4kp7.js} +1 -1
  247. package/dist/chunks/{vcs-veqvce7d.js → integration-veqvce7d.js} +1 -1
  248. package/dist/chunks/{vcs-xn2dpj90.js → integration-vpavjd7r.js} +18 -18
  249. package/dist/chunks/{vcs-vzs5sf6e.js → integration-vzs5sf6e.js} +1 -1
  250. package/dist/chunks/{vcs-w3wsvvr9.js → integration-w3wsvvr9.js} +1 -1
  251. package/dist/chunks/{vcs-ec9rznf1.js → integration-w3y421c5.js} +27 -27
  252. package/dist/chunks/{vcs-8xwc2may.js → integration-wbvfmsvn.js} +19 -19
  253. package/dist/chunks/{vcs-wd87259q.js → integration-wd87259q.js} +1 -1
  254. package/dist/chunks/{vcs-fz2076pd.js → integration-wh1r923y.js} +23 -23
  255. package/dist/chunks/{vcs-4myngvt6.js → integration-whe6hvck.js} +21 -21
  256. package/dist/chunks/{vcs-ywt8jp22.js → integration-wjr9rjd7.js} +6 -6
  257. package/dist/chunks/{vcs-fx0f4b0e.js → integration-wkfp0bdm.js} +33 -33
  258. package/dist/chunks/{vcs-d4ra3eqj.js → integration-wqjep7r8.js} +12 -12
  259. package/dist/chunks/{vcs-p8x5jtpv.js → integration-x5wrmng7.js} +11 -11
  260. package/dist/chunks/{vcs-w14c85af.js → integration-x75czxqv.js} +22 -22
  261. package/dist/chunks/{vcs-jk9hw03k.js → integration-xf0y7t09.js} +14 -14
  262. package/dist/chunks/{vcs-xfkkasph.js → integration-xfkkasph.js} +1 -1
  263. package/dist/chunks/{vcs-339z2p0x.js → integration-xh3w1m2r.js} +30 -30
  264. package/dist/chunks/{vcs-v2z9amn0.js → integration-xjbmwp8c.js} +3 -3
  265. package/dist/chunks/{vcs-2sbm49xc.js → integration-xsde275j.js} +10 -10
  266. package/dist/chunks/{vcs-y1fvbwt7.js → integration-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{vcs-drbpyr92.js → integration-y2cswm8c.js} +8 -8
  268. package/dist/chunks/{vcs-2fassr37.js → integration-y672t3f6.js} +18 -18
  269. package/dist/chunks/{vcs-y71avatq.js → integration-y71avatq.js} +1 -1
  270. package/dist/chunks/{vcs-z7g9232g.js → integration-y89aycjh.js} +15 -15
  271. package/dist/chunks/{vcs-snpb5q77.js → integration-ycpec0gb.js} +10 -10
  272. package/dist/chunks/{vcs-cw35edym.js → integration-ydbcqtja.js} +11 -11
  273. package/dist/chunks/{vcs-avkamz5m.js → integration-yddr7m1n.js} +3 -3
  274. package/dist/chunks/{vcs-yp2x3t23.js → integration-yp2x3t23.js} +1 -1
  275. package/dist/chunks/{vcs-05en277q.js → integration-ytp4a2gy.js} +11 -11
  276. package/dist/chunks/{vcs-a5wxatek.js → integration-ywsf3z8v.js} +5 -5
  277. package/dist/chunks/{vcs-z0bkrqjs.js → integration-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{vcs-f3q0mxg4.js → integration-z0qw1pwg.js} +15 -15
  279. package/dist/chunks/{vcs-k5stwhrj.js → integration-zfaw8e2q.js} +11 -11
  280. package/dist/chunks/{vcs-qjx1ax0j.js → integration-zmhzecev.js} +5 -5
  281. package/dist/chunks/{vcs-jspk3b6b.js → integration-zr1m2fsx.js} +12 -12
  282. package/dist/chunks/{vcs-zr2ceqn5.js → integration-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{vcs-hsv4me1j.js → integration-zwbg5n9v.js} +11 -11
  284. package/dist/chunks/{vcs-zxq2ej10.js → integration-zxq2ej10.js} +1 -1
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +3 -3
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +87 -87
  290. package/dist/config/discovery.js +84 -84
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +101 -101
  293. package/dist/config/plugin/agent.js +118 -118
  294. package/dist/config/plugin/command.js +207 -207
  295. package/dist/config/plugin/compaction.js +156 -156
  296. package/dist/config/plugin/compatibility.js +136 -136
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +119 -119
  299. package/dist/config/plugin/image.js +118 -118
  300. package/dist/config/plugin/instruction.js +92 -92
  301. package/dist/config/plugin/location-watcher.js +120 -120
  302. package/dist/config/plugin/mcp.js +125 -125
  303. package/dist/config/plugin/policy.js +119 -119
  304. package/dist/config/plugin/provider.js +118 -118
  305. package/dist/config/plugin/reference.js +120 -120
  306. package/dist/config/plugin/shell.js +120 -120
  307. package/dist/config/plugin/skill-file.js +104 -104
  308. package/dist/config/plugin/skill.js +137 -137
  309. package/dist/config/plugin/snapshot.js +118 -118
  310. package/dist/config/plugin/source.js +121 -121
  311. package/dist/config/plugin/tool-output.js +119 -119
  312. package/dist/config/plugin/websearch.js +119 -119
  313. package/dist/config/plugin/worktree.js +120 -120
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +123 -123
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +83 -83
  319. package/dist/database/database.js +68 -68
  320. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +13 -13
  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 +14 -14
  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/20261010180456_project_time_archived.js +1 -1
  386. package/dist/database/migration.gen.js +51 -51
  387. package/dist/database/migration.js +53 -53
  388. package/dist/database/path.js +2 -2
  389. package/dist/database/schema.gen.js +1 -1
  390. package/dist/database/schema.sql.js +1 -1
  391. package/dist/database/sqlite.bun.js +1 -1
  392. package/dist/database/sqlite.js +1 -1
  393. package/dist/database/sqlite.node.js +1 -1
  394. package/dist/database/sqlite.workerd.js +1 -1
  395. package/dist/database/v1-migration.bun.js +78 -78
  396. package/dist/database/v1-migration.js +1 -1
  397. package/dist/effect/app-node-builder.js +368 -368
  398. package/dist/effect/app-node-platform.js +2 -2
  399. package/dist/effect/keyed-mutex.js +1 -1
  400. package/dist/effect/websocket-constructor.js +1 -1
  401. package/dist/environment/driver.js +1 -1
  402. package/dist/environment/environment.js +95 -95
  403. package/dist/environment/exec-defaults.js +2 -2
  404. package/dist/environment/files.js +1 -1
  405. package/dist/environment/index.js +97 -97
  406. package/dist/environment/local.js +2 -2
  407. package/dist/environment/memory.js +2 -2
  408. package/dist/environment/unavailable.js +3 -3
  409. package/dist/event/sql.js +1 -1
  410. package/dist/event-logger.js +76 -76
  411. package/dist/file-access.js +106 -106
  412. package/dist/file-mutation.js +96 -96
  413. package/dist/file-retention.js +1 -1
  414. package/dist/filesystem/fff.bun.js +2 -2
  415. package/dist/filesystem/fff.js +1 -1
  416. package/dist/filesystem/fff.node.js +2 -2
  417. package/dist/filesystem/fff.workerd.js +2 -2
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +222 -222
  420. package/dist/filesystem/protected.js +1 -1
  421. package/dist/filesystem/search.js +105 -105
  422. package/dist/filesystem/watcher-binding.js +3 -3
  423. package/dist/filesystem/watcher.js +15 -15
  424. package/dist/filesystem.js +104 -104
  425. package/dist/form.js +82 -82
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +89 -89
  428. package/dist/generate.js +105 -105
  429. package/dist/git.js +10 -10
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +101 -101
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/image/photon.js +2 -2
  450. package/dist/image.js +6 -6
  451. package/dist/instance/service.js +5 -5
  452. package/dist/instance.js +359 -359
  453. package/dist/instruction-discovery.js +87 -87
  454. package/dist/instructions/builtins.js +87 -87
  455. package/dist/instructions/index.js +3 -3
  456. package/dist/integration/connection.js +3 -3
  457. package/dist/integration.js +87 -87
  458. package/dist/job.js +80 -80
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +75 -75
  461. package/dist/location-activity.js +136 -136
  462. package/dist/location-lifecycle.js +109 -109
  463. package/dist/location-service-map.js +88 -88
  464. package/dist/location-services.js +356 -356
  465. package/dist/location.js +83 -83
  466. package/dist/managed-policy.js +8 -8
  467. package/dist/mcp/client.js +93 -93
  468. package/dist/mcp/index.js +111 -111
  469. package/dist/mcp/instructions.js +129 -129
  470. package/dist/mcp/oauth.js +80 -80
  471. package/dist/mcp/stdio.js +92 -92
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +101 -101
  474. package/dist/model-resolver.js +100 -100
  475. package/dist/model.js +100 -100
  476. package/dist/models-dev.js +109 -109
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +80 -80
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +113 -113
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +92 -92
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +77 -77
  486. package/dist/plugin/agent.js +76 -76
  487. package/dist/plugin/command.js +102 -102
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +213 -213
  490. package/dist/plugin/identity.js +3 -3
  491. package/dist/plugin/instance.js +5 -5
  492. package/dist/plugin/internal.js +331 -331
  493. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  494. package/dist/plugin/models-dev.js +98 -98
  495. package/dist/plugin/module.js +119 -119
  496. package/dist/plugin/optimize.js +2 -2
  497. package/dist/plugin/plan.js +104 -104
  498. package/dist/plugin/promise.js +1 -1
  499. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  500. package/dist/plugin/provider/azure.js +118 -118
  501. package/dist/plugin/provider/cerebras.js +1 -1
  502. package/dist/plugin/provider/chatgpt.js +118 -118
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +114 -114
  507. package/dist/plugin/provider/databricks.js +1 -1
  508. package/dist/plugin/provider/digitalocean.js +95 -95
  509. package/dist/plugin/provider/dynamic.js +2 -2
  510. package/dist/plugin/provider/factory.js +1 -1
  511. package/dist/plugin/provider/github-copilot.js +97 -97
  512. package/dist/plugin/provider/gitlab.js +95 -95
  513. package/dist/plugin/provider/google-vertex.js +115 -115
  514. package/dist/plugin/provider/kilo.js +1 -1
  515. package/dist/plugin/provider/llmgateway.js +80 -80
  516. package/dist/plugin/provider/lmstudio.js +127 -127
  517. package/dist/plugin/provider/local.js +124 -124
  518. package/dist/plugin/provider/modal.js +94 -94
  519. package/dist/plugin/provider/neon.js +1 -1
  520. package/dist/plugin/provider/nvidia.js +1 -1
  521. package/dist/plugin/provider/ollama.js +125 -125
  522. package/dist/plugin/provider/openai.js +118 -118
  523. package/dist/plugin/provider/opencode.js +99 -99
  524. package/dist/plugin/provider/openrouter.js +93 -93
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +81 -81
  527. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  528. package/dist/plugin/provider/sap-ai-core.js +93 -93
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  531. package/dist/plugin/provider/vercel.js +92 -92
  532. package/dist/plugin/provider/vllm.js +127 -127
  533. package/dist/plugin/provider/xai.js +93 -93
  534. package/dist/plugin/provider/zenmux.js +1 -1
  535. package/dist/plugin/provider.js +169 -169
  536. package/dist/plugin/sdk.js +76 -76
  537. package/dist/plugin/service.js +3 -3
  538. package/dist/plugin/skill.js +136 -136
  539. package/dist/plugin/source-directory.js +1 -1
  540. package/dist/plugin/supervisor.js +350 -350
  541. package/dist/plugin/tool-input-repair.js +4 -4
  542. package/dist/plugin/update.js +6 -6
  543. package/dist/plugin/vcs/git.js +88 -88
  544. package/dist/plugin/vcs/hg.js +88 -88
  545. package/dist/plugin/verbosity.js +95 -95
  546. package/dist/plugin/warming.js +116 -116
  547. package/dist/plugin/websearch/exa.js +7 -7
  548. package/dist/plugin/websearch/firecrawl.js +8 -8
  549. package/dist/plugin/websearch/index.js +9 -9
  550. package/dist/plugin/websearch/mcp.js +4 -4
  551. package/dist/plugin/websearch/parallel.js +6 -6
  552. package/dist/plugin/websearch/tavily.js +4 -4
  553. package/dist/plugin/websearch/tinyfish.js +6 -6
  554. package/dist/plugin.js +224 -224
  555. package/dist/project/schema.js +2 -2
  556. package/dist/project/sql.js +4 -4
  557. package/dist/project.js +82 -82
  558. package/dist/provider.js +99 -99
  559. package/dist/pty/protocol.js +1 -1
  560. package/dist/pty/ticket.js +1 -1
  561. package/dist/pty.js +101 -101
  562. package/dist/reference/instructions.js +91 -91
  563. package/dist/reference.js +91 -91
  564. package/dist/repository-cache.js +83 -83
  565. package/dist/repository.js +1 -1
  566. package/dist/ripgrep/binary.js +2 -2
  567. package/dist/ripgrep.js +99 -99
  568. package/dist/rpc.js +88 -88
  569. package/dist/schema.js +1 -1
  570. package/dist/session/affinity.js +1 -1
  571. package/dist/session/command.js +76 -76
  572. package/dist/session/compaction.js +135 -135
  573. package/dist/session/context.js +155 -155
  574. package/dist/session/diff.js +90 -90
  575. package/dist/session/environment.js +5 -5
  576. package/dist/session/error.js +7 -7
  577. package/dist/session/event.js +1 -1
  578. package/dist/session/execution/restart.js +219 -219
  579. package/dist/session/execution.js +125 -125
  580. package/dist/session/generate.js +154 -154
  581. package/dist/session/history.js +15 -15
  582. package/dist/session/inbox.js +86 -86
  583. package/dist/session/info.js +3 -3
  584. package/dist/session/instruction-entry.js +81 -81
  585. package/dist/session/instruction-state.js +8 -8
  586. package/dist/session/instructions.js +99 -99
  587. package/dist/session/message-updater.js +2 -2
  588. package/dist/session/message.js +1 -1
  589. package/dist/session/model-request.js +122 -122
  590. package/dist/session/model-transport.js +9 -9
  591. package/dist/session/move.js +131 -131
  592. package/dist/session/projector.js +88 -88
  593. package/dist/session/prompt.js +107 -107
  594. package/dist/session/provider-context.js +3 -3
  595. package/dist/session/revert.js +92 -92
  596. package/dist/session/run-coordinator.js +1 -1
  597. package/dist/session/runner/index.js +3 -3
  598. package/dist/session/runner/llm.js +226 -226
  599. package/dist/session/runner/max-steps.js +1 -1
  600. package/dist/session/runner/model.js +100 -100
  601. package/dist/session/runner/publish-llm-event.js +115 -115
  602. package/dist/session/runner/retry.js +4 -4
  603. package/dist/session/runner/step.js +127 -127
  604. package/dist/session/runner/to-llm-message.js +2 -2
  605. package/dist/session/schema.js +3 -3
  606. package/dist/session/session.js +164 -164
  607. package/dist/session/shell.js +132 -132
  608. package/dist/session/skill.js +105 -105
  609. package/dist/session/sql.js +5 -5
  610. package/dist/session/stats.js +75 -75
  611. package/dist/session/store.js +87 -87
  612. package/dist/session/subagent-completion.js +1 -1
  613. package/dist/session/subagent-job.js +207 -207
  614. package/dist/session/system-prompt.js +1 -1
  615. package/dist/session/title.js +159 -159
  616. package/dist/session/to-session-error.js +113 -113
  617. package/dist/session/transfer.js +210 -210
  618. package/dist/session/usage.js +1 -1
  619. package/dist/session.js +211 -211
  620. package/dist/shell/parse.js +6 -6
  621. package/dist/shell/result.js +1 -1
  622. package/dist/shell/scan.js +1 -1
  623. package/dist/shell/select.js +9 -9
  624. package/dist/shell.js +134 -134
  625. package/dist/skill/discovery.js +6 -6
  626. package/dist/skill/instructions.js +109 -109
  627. package/dist/skill.js +110 -110
  628. package/dist/snapshot.js +93 -93
  629. package/dist/state.js +1 -1
  630. package/dist/tool/html-markdown.js +1 -1
  631. package/dist/tool/http-body.js +1 -1
  632. package/dist/tool/mcp.js +128 -128
  633. package/dist/tool/plugin/edit.js +122 -122
  634. package/dist/tool/plugin/file-diff.js +1 -1
  635. package/dist/tool/plugin/glob.js +126 -126
  636. package/dist/tool/plugin/grep.js +124 -124
  637. package/dist/tool/plugin/mcp-resource.js +119 -119
  638. package/dist/tool/plugin/opencode.js +111 -111
  639. package/dist/tool/plugin/patch.js +122 -122
  640. package/dist/tool/plugin/question.js +105 -105
  641. package/dist/tool/plugin/read.js +125 -125
  642. package/dist/tool/plugin/shell.js +212 -212
  643. package/dist/tool/plugin/skill.js +107 -107
  644. package/dist/tool/plugin/subagent.js +214 -214
  645. package/dist/tool/plugin/webfetch.js +112 -112
  646. package/dist/tool/plugin/websearch.js +116 -116
  647. package/dist/tool/plugin/write.js +124 -124
  648. package/dist/tool/read-filesystem.js +102 -102
  649. package/dist/tool/runtime.js +1 -1
  650. package/dist/tool-output.js +7 -7
  651. package/dist/tool.js +14 -14
  652. package/dist/util/error-summary.js +1 -1
  653. package/dist/util/error.js +1 -1
  654. package/dist/util/git-executable.js +2 -2
  655. package/dist/util/iife.js +1 -1
  656. package/dist/util/lazy.js +1 -1
  657. package/dist/util/slug.js +1 -1
  658. package/dist/util/token.js +1 -1
  659. package/dist/util/which.js +1 -1
  660. package/dist/util/wildcard.js +1 -1
  661. package/dist/v1/config/agent.js +7 -7
  662. package/dist/v1/config/command.js +5 -5
  663. package/dist/v1/config/error.js +4 -4
  664. package/dist/v1/config/mcp.js +4 -4
  665. package/dist/v1/config/migrate.js +94 -94
  666. package/dist/v1/config/permission.js +7 -7
  667. package/dist/v1/config/plugin.js +3 -3
  668. package/dist/v1/config/provider-options.js +1 -1
  669. package/dist/v1/config/provider.js +4 -4
  670. package/dist/variant.js +93 -93
  671. package/dist/vcs/patch.js +1 -1
  672. package/dist/vcs.js +91 -91
  673. package/dist/websearch.js +82 -82
  674. package/dist/wellknown/plugin.js +78 -78
  675. package/dist/wellknown.js +81 -81
  676. package/dist/workspace/driver.js +5 -5
  677. package/dist/workspace/sql.js +1 -1
  678. package/dist/workspace.js +84 -84
  679. package/dist/worktree/directory.js +2 -2
  680. package/dist/worktree/git.js +8 -8
  681. package/dist/worktree/sql.js +5 -5
  682. package/dist/worktree/strategies.js +91 -91
  683. package/dist/worktree.js +100 -100
  684. package/package.json +8 -8
  685. package/dist/chunks/vcs-kvsxepmb.js +0 -26
  686. package/dist/chunks/vcs-mrjwzkn5.js +0 -253
  687. package/dist/chunks/vcs-qc068m1q.js +0 -18
  688. /package/dist/chunks/{vcs-0qkdqm5v.js → integration-0qkdqm5v.js} +0 -0
  689. /package/dist/chunks/{vcs-0zkw76rk.js → integration-0zkw76rk.js} +0 -0
  690. /package/dist/chunks/{vcs-17cy0kzp.js → integration-17cy0kzp.js} +0 -0
  691. /package/dist/chunks/{vcs-1cnp2v09.js → integration-1cnp2v09.js} +0 -0
  692. /package/dist/chunks/{vcs-1kg9ymc8.js → integration-1kg9ymc8.js} +0 -0
  693. /package/dist/chunks/{vcs-24dcb14g.js → integration-24dcb14g.js} +0 -0
  694. /package/dist/chunks/{vcs-2710q6r3.js → integration-2710q6r3.js} +0 -0
  695. /package/dist/chunks/{vcs-2axfhc9x.js → integration-2axfhc9x.js} +0 -0
  696. /package/dist/chunks/{vcs-2bv980vf.js → integration-2bv980vf.js} +0 -0
  697. /package/dist/chunks/{vcs-2c3vjs8z.js → integration-2c3vjs8z.js} +0 -0
  698. /package/dist/chunks/{vcs-359p4xyc.js → integration-359p4xyc.js} +0 -0
  699. /package/dist/chunks/{vcs-3asan66x.js → integration-3asan66x.js} +0 -0
  700. /package/dist/chunks/{vcs-3t0ybcrp.js → integration-3t0ybcrp.js} +0 -0
  701. /package/dist/chunks/{vcs-3v8g72cx.js → integration-3v8g72cx.js} +0 -0
  702. /package/dist/chunks/{vcs-3wcehsnq.js → integration-3wcehsnq.js} +0 -0
  703. /package/dist/chunks/{vcs-43n2bw4t.js → integration-43n2bw4t.js} +0 -0
  704. /package/dist/chunks/{vcs-4knz6hnm.js → integration-4knz6hnm.js} +0 -0
  705. /package/dist/chunks/{vcs-4vcrnpx2.js → integration-4vcrnpx2.js} +0 -0
  706. /package/dist/chunks/{vcs-4y7fprxs.js → integration-4y7fprxs.js} +0 -0
  707. /package/dist/chunks/{vcs-53557ph1.js → integration-53557ph1.js} +0 -0
  708. /package/dist/chunks/{vcs-550bvhaj.js → integration-550bvhaj.js} +0 -0
  709. /package/dist/chunks/{vcs-6prwharc.js → integration-6prwharc.js} +0 -0
  710. /package/dist/chunks/{vcs-6q2bdcd1.js → integration-6q2bdcd1.js} +0 -0
  711. /package/dist/chunks/{vcs-7akdwqpd.js → integration-7akdwqpd.js} +0 -0
  712. /package/dist/chunks/{vcs-7m9af43g.js → integration-7m9af43g.js} +0 -0
  713. /package/dist/chunks/{vcs-822emrt2.js → integration-822emrt2.js} +0 -0
  714. /package/dist/chunks/{vcs-84wd9syh.js → integration-84wd9syh.js} +0 -0
  715. /package/dist/chunks/{vcs-88xbtdfr.js → integration-88xbtdfr.js} +0 -0
  716. /package/dist/chunks/{vcs-8n3pysct.js → integration-8n3pysct.js} +0 -0
  717. /package/dist/chunks/{vcs-8wj87zfr.js → integration-8wj87zfr.js} +0 -0
  718. /package/dist/chunks/{vcs-9a4afbnw.js → integration-9a4afbnw.js} +0 -0
  719. /package/dist/chunks/{vcs-9rqn6x4v.js → integration-9rqn6x4v.js} +0 -0
  720. /package/dist/chunks/{vcs-a6k6eb26.js → integration-a6k6eb26.js} +0 -0
  721. /package/dist/chunks/{vcs-af5trqkr.js → integration-af5trqkr.js} +0 -0
  722. /package/dist/chunks/{vcs-afrmfg78.js → integration-afrmfg78.js} +0 -0
  723. /package/dist/chunks/{vcs-aqzs7mqg.js → integration-aqzs7mqg.js} +0 -0
  724. /package/dist/chunks/{vcs-atq7p7m5.js → integration-atq7p7m5.js} +0 -0
  725. /package/dist/chunks/{vcs-bkyjaxrp.js → integration-bkyjaxrp.js} +0 -0
  726. /package/dist/chunks/{vcs-bmr6ed5q.js → integration-bmr6ed5q.js} +0 -0
  727. /package/dist/chunks/{vcs-cf4snx6d.js → integration-cf4snx6d.js} +0 -0
  728. /package/dist/chunks/{vcs-cvy3z8tj.js → integration-cvy3z8tj.js} +0 -0
  729. /package/dist/chunks/{vcs-d9fn303g.js → integration-d9fn303g.js} +0 -0
  730. /package/dist/chunks/{vcs-d9jj8t3e.js → integration-d9jj8t3e.js} +0 -0
  731. /package/dist/chunks/{vcs-dajrwvna.js → integration-dajrwvna.js} +0 -0
  732. /package/dist/chunks/{vcs-dap0rakb.js → integration-dap0rakb.js} +0 -0
  733. /package/dist/chunks/{vcs-df08tz66.js → integration-df08tz66.js} +0 -0
  734. /package/dist/chunks/{vcs-dy18nga0.js → integration-dy18nga0.js} +0 -0
  735. /package/dist/chunks/{vcs-e5kj55wp.js → integration-e5kj55wp.js} +0 -0
  736. /package/dist/chunks/{vcs-e73j6tqm.js → integration-e73j6tqm.js} +0 -0
  737. /package/dist/chunks/{vcs-ec1grn59.js → integration-ec1grn59.js} +0 -0
  738. /package/dist/chunks/{vcs-eh3zwz77.js → integration-eh3zwz77.js} +0 -0
  739. /package/dist/chunks/{vcs-emrn6kk6.js → integration-emrn6kk6.js} +0 -0
  740. /package/dist/chunks/{vcs-f0mxakyp.js → integration-f0mxakyp.js} +0 -0
  741. /package/dist/chunks/{vcs-f6n9ztr4.js → integration-f6n9ztr4.js} +0 -0
  742. /package/dist/chunks/{vcs-faypxj3z.js → integration-faypxj3z.js} +0 -0
  743. /package/dist/chunks/{vcs-fd410y7t.js → integration-fd410y7t.js} +0 -0
  744. /package/dist/chunks/{vcs-g4wezp1m.js → integration-g4wezp1m.js} +0 -0
  745. /package/dist/chunks/{vcs-g86h250q.js → integration-g86h250q.js} +0 -0
  746. /package/dist/chunks/{vcs-gebd4c9n.js → integration-gebd4c9n.js} +0 -0
  747. /package/dist/chunks/{vcs-gftt206x.js → integration-gftt206x.js} +0 -0
  748. /package/dist/chunks/{vcs-hcxmzztb.js → integration-hcxmzztb.js} +0 -0
  749. /package/dist/chunks/{vcs-hk9envan.js → integration-hk9envan.js} +0 -0
  750. /package/dist/chunks/{vcs-j2ntwpah.js → integration-j2ntwpah.js} +0 -0
  751. /package/dist/chunks/{vcs-j5zkgpj8.js → integration-j5zkgpj8.js} +0 -0
  752. /package/dist/chunks/{vcs-jjkms2e6.js → integration-jjkms2e6.js} +0 -0
  753. /package/dist/chunks/{vcs-jr7sbwjy.js → integration-jr7sbwjy.js} +0 -0
  754. /package/dist/chunks/{vcs-jwfs4k6c.js → integration-jwfs4k6c.js} +0 -0
  755. /package/dist/chunks/{vcs-jze0r7bz.js → integration-jze0r7bz.js} +0 -0
  756. /package/dist/chunks/{vcs-jzg6c2d5.js → integration-jzg6c2d5.js} +0 -0
  757. /package/dist/chunks/{vcs-m18g726c.js → integration-m18g726c.js} +0 -0
  758. /package/dist/chunks/{vcs-mp448xyj.js → integration-mp448xyj.js} +0 -0
  759. /package/dist/chunks/{vcs-msx8hqn2.js → integration-msx8hqn2.js} +0 -0
  760. /package/dist/chunks/{vcs-n05xt0ee.js → integration-n05xt0ee.js} +0 -0
  761. /package/dist/chunks/{vcs-n3j8tn72.js → integration-n3j8tn72.js} +0 -0
  762. /package/dist/chunks/{vcs-njntx4h6.js → integration-njntx4h6.js} +0 -0
  763. /package/dist/chunks/{vcs-pkyv6v7h.js → integration-pkyv6v7h.js} +0 -0
  764. /package/dist/chunks/{vcs-pyv0edze.js → integration-pyv0edze.js} +0 -0
  765. /package/dist/chunks/{vcs-q3sfg36h.js → integration-q3sfg36h.js} +0 -0
  766. /package/dist/chunks/{vcs-q74kybfr.js → integration-q74kybfr.js} +0 -0
  767. /package/dist/chunks/{vcs-qaymkmh1.js → integration-qaymkmh1.js} +0 -0
  768. /package/dist/chunks/{vcs-qb87gjwd.js → integration-qb87gjwd.js} +0 -0
  769. /package/dist/chunks/{vcs-qfa1cgps.js → integration-qfa1cgps.js} +0 -0
  770. /package/dist/chunks/{vcs-qg3g05ea.js → integration-qg3g05ea.js} +0 -0
  771. /package/dist/chunks/{vcs-qrg20bc0.js → integration-qrg20bc0.js} +0 -0
  772. /package/dist/chunks/{vcs-rcb2kzg1.js → integration-rcb2kzg1.js} +0 -0
  773. /package/dist/chunks/{vcs-sdp7kfr6.js → integration-sdp7kfr6.js} +0 -0
  774. /package/dist/chunks/{vcs-ssg3fenm.js → integration-ssg3fenm.js} +0 -0
  775. /package/dist/chunks/{vcs-ve7vex1e.js → integration-ve7vex1e.js} +0 -0
  776. /package/dist/chunks/{vcs-w803qqfp.js → integration-w803qqfp.js} +0 -0
  777. /package/dist/chunks/{vcs-wc3fc9cn.js → integration-wc3fc9cn.js} +0 -0
  778. /package/dist/chunks/{vcs-wer8tq1h.js → integration-wer8tq1h.js} +0 -0
  779. /package/dist/chunks/{vcs-wjj7prxr.js → integration-wjj7prxr.js} +0 -0
  780. /package/dist/chunks/{vcs-wtztk69x.js → integration-wtztk69x.js} +0 -0
  781. /package/dist/chunks/{vcs-x0ckcb58.js → integration-x0ckcb58.js} +0 -0
  782. /package/dist/chunks/{vcs-x61499pn.js → integration-x61499pn.js} +0 -0
  783. /package/dist/chunks/{vcs-y44na4kk.js → integration-y44na4kk.js} +0 -0
  784. /package/dist/chunks/{vcs-y8f7s663.js → integration-y8f7s663.js} +0 -0
  785. /package/dist/chunks/{vcs-ygaqb7jw.js → integration-ygaqb7jw.js} +0 -0
  786. /package/dist/chunks/{vcs-ym463w8f.js → integration-ym463w8f.js} +0 -0
  787. /package/dist/chunks/{vcs-z5v4ffb3.js → integration-z5v4ffb3.js} +0 -0
  788. /package/dist/chunks/{vcs-z9919s4g.js → integration-z9919s4g.js} +0 -0
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./vcs-9rqn6x4v.js";
3
+ } from "./integration-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/instance.ts
6
6
  var exports_instance2 = {};
7
7
  __export(exports_instance2, {
8
8
  InstancePlugins: () => exports_instance2,
9
- Service: () => Service6,
9
+ Service: () => Service4,
10
10
  bound: () => bound2,
11
- node: () => node8
11
+ node: () => node5
12
12
  });
13
13
  import { Context, Layer } from "effect";
14
14
  import { makeLocationNode } from "@opencode/util/effect/app-node";
15
15
 
16
- class Service6 extends Context.Service()("@opencode/InstancePlugins") {
16
+ class Service4 extends Context.Service()("@opencode/InstancePlugins") {
17
17
  }
18
- var node8 = makeLocationNode({
19
- service: Service6,
18
+ var node5 = makeLocationNode({
19
+ service: Service4,
20
20
  layer: bound2([]),
21
21
  deps: []
22
22
  });
@@ -26,7 +26,7 @@ function bound2(plugins) {
26
26
  throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
27
27
  }
28
28
  const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
29
- return Layer.succeed(Service6, Service6.of({ all: () => stamped }));
29
+ return Layer.succeed(Service4, Service4.of({ all: () => stamped }));
30
30
  }
31
31
 
32
- export { Service6, node8, bound2, exports_instance2 };
32
+ export { Service4, node5, bound2, exports_instance2 };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./vcs-z5v4ffb3.js";
3
+ } from "./integration-z5v4ffb3.js";
4
4
  import {
5
- Service84,
6
- node88
7
- } from "./vcs-xhsv9n96.js";
5
+ Service83,
6
+ node87
7
+ } from "./integration-svcw9x3w.js";
8
8
  import {
9
9
  parse4,
10
10
  validateBranch3,
11
11
  cachePath2,
12
12
  same2
13
- } from "./vcs-84txncab.js";
13
+ } from "./integration-84txncab.js";
14
14
  import {
15
- Service73,
16
- node75
17
- } from "./vcs-1x73a69w.js";
15
+ Service76,
16
+ node80
17
+ } from "./integration-qxxnpvek.js";
18
18
  import {
19
19
  __export
20
- } from "./vcs-9rqn6x4v.js";
20
+ } from "./integration-9rqn6x4v.js";
21
21
 
22
22
  // src/repository-cache.ts
23
23
  var exports_repository_cache = {};
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
30
30
  LockFailedError: () => LockFailedError2,
31
31
  RepositoryCache: () => exports_repository_cache,
32
32
  ResetFailedError: () => ResetFailedError2,
33
- Service: () => Service45,
33
+ Service: () => Service58,
34
34
  isError: () => isError2,
35
- node: () => node47,
35
+ node: () => node61,
36
36
  validateBranch: () => validateBranch2
37
37
  });
38
38
  import path from "path";
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
90
90
  }) {
91
91
  }
92
92
 
93
- class Service45 extends Context.Service()("@opencode/RepositoryCache") {
93
+ class Service58 extends Context.Service()("@opencode/RepositoryCache") {
94
94
  }
95
95
  function isError2(error) {
96
96
  return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
101
101
  catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
102
102
  });
103
103
  });
104
- var layer = Layer.effect(Service45, Effect.gen(function* () {
104
+ var layer = Layer.effect(Service58, Effect.gen(function* () {
105
105
  const fs = yield* FSUtil.Service;
106
- const git = yield* Service84;
106
+ const git = yield* Service83;
107
107
  const flock = yield* EffectFlock.Service;
108
108
  const global = yield* Global.Service;
109
- const kv = yield* Service73;
110
- return Service45.of({
109
+ const kv = yield* Service76;
110
+ return Service58.of({
111
111
  ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
112
112
  if (input.branch)
113
113
  yield* validateBranch2(input.branch);
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
167
167
  })
168
168
  });
169
169
  }));
170
- var node47 = makeGlobalNode({
171
- service: Service45,
170
+ var node61 = makeGlobalNode({
171
+ service: Service58,
172
172
  layer,
173
- deps: [EffectFlock.node, FSUtil.node, node88, Global.node, node75]
173
+ deps: [EffectFlock.node, FSUtil.node, node87, Global.node, node80]
174
174
  });
175
175
  function errorMessage(error) {
176
176
  return error instanceof globalThis.Error ? error.message : String(error);
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
179
179
  return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
180
180
  }
181
181
 
182
- export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service45, isError2, validateBranch2, node47, exports_repository_cache };
182
+ export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service58, isError2, validateBranch2, node61, exports_repository_cache };
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./vcs-hgz4x7wa.js";
3
+ } from "./integration-hgz4x7wa.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./vcs-z5v4ffb3.js";
6
+ } from "./integration-z5v4ffb3.js";
7
7
  import {
8
8
  Service81
9
- } from "./vcs-hthv5jgd.js";
9
+ } from "./integration-j6x6e543.js";
10
10
  import {
11
- Service77
12
- } from "./vcs-h4txjgx3.js";
11
+ Service67
12
+ } from "./integration-61tfqrb2.js";
13
13
  import {
14
- Service76
15
- } from "./vcs-j3k7xgch.js";
14
+ Service59
15
+ } from "./integration-3cxe7pe8.js";
16
16
  import {
17
17
  DEFAULT_SEARCH_LIMIT2,
18
18
  DEFAULT_SEARCH_TIMEOUT_MS2,
19
19
  GlobInput2,
20
20
  Entry2
21
- } from "./vcs-4j5c83jz.js";
21
+ } from "./integration-jxx2adkw.js";
22
22
  import {
23
- Service60
24
- } from "./vcs-wp94metk.js";
23
+ Service54
24
+ } from "./integration-cmk24ybg.js";
25
25
  import {
26
- Service18
27
- } from "./vcs-k6pj38bh.js";
26
+ Service40
27
+ } from "./integration-r5tsbqp4.js";
28
28
  import {
29
29
  __export
30
- } from "./vcs-9rqn6x4v.js";
30
+ } from "./integration-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/glob.ts
33
33
  var exports_glob = {};
34
34
  __export(exports_glob, {
35
35
  GlobTool: () => exports_glob,
36
- Input: () => Input5,
37
- Output: () => Output5,
38
- Plugin: () => Plugin6,
39
- name: () => name5,
40
- toModelContent: () => toModelContent3
36
+ Input: () => Input12,
37
+ Output: () => Output8,
38
+ Plugin: () => Plugin49,
39
+ name: () => name12,
40
+ toModelContent: () => toModelContent6
41
41
  });
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import path from "path";
45
- var name5 = "glob";
46
- var Input5 = Schema.Struct({
45
+ var name12 = "glob";
46
+ var Input12 = Schema.Struct({
47
47
  pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
48
48
  path: Schema.optionalKey(RelativePath2).annotate({
49
49
  description: "Directory to search. Defaults to the current working directory."
@@ -55,35 +55,35 @@ var Input5 = Schema.Struct({
55
55
  description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
56
56
  })
57
57
  });
58
- var Output5 = Schema.Array(Entry2);
59
- var toModelContent3 = (entries, truncated = false) => {
58
+ var Output8 = Schema.Array(Entry2);
59
+ var toModelContent6 = (entries, truncated = false) => {
60
60
  const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
61
61
  if (truncated)
62
62
  lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
63
63
  return lines.join(`
64
64
  `);
65
65
  };
66
- var Plugin6 = {
66
+ var Plugin49 = {
67
67
  id: "opencode.tool.glob",
68
68
  effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
69
- const environment = yield* Service77;
70
- const ripgrep = yield* Service76;
69
+ const environment = yield* Service67;
70
+ const ripgrep = yield* Service59;
71
71
  const location = yield* Service81;
72
- const access = yield* Service18;
73
- const permission = yield* Service60;
72
+ const access = yield* Service40;
73
+ const permission = yield* Service54;
74
74
  yield* ctx.tool.transform((editor) => editor.add({
75
- name: name5,
75
+ name: name12,
76
76
  options: { codemode: false },
77
77
  description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
78
- input: Input5,
79
- output: Output5,
78
+ input: Input12,
79
+ output: Output8,
80
80
  execute: (input, context) => Effect.gen(function* () {
81
81
  const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
82
82
  const source = { type: "tool", messageID: context.messageID, id: context.id };
83
83
  const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
84
84
  yield* access.authorizeExternal([target], context);
85
85
  yield* permission.assert({
86
- action: name5,
86
+ action: name12,
87
87
  resources: [input.pattern],
88
88
  save: ["*"],
89
89
  metadata: {
@@ -118,11 +118,11 @@ var Plugin6 = {
118
118
  return { entries: entries.slice(0, limit), truncated: entries.length > limit };
119
119
  }).pipe(Effect.map((result) => ({
120
120
  output: result.entries,
121
- content: toModelContent3(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
121
+ content: toModelContent6(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
122
122
  metadata: { count: result.entries.length, truncated: result.truncated }
123
123
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
124
124
  })).pipe(Effect.orDie);
125
125
  })
126
126
  };
127
127
 
128
- export { name5, Input5, Output5, toModelContent3, Plugin6, exports_glob };
128
+ export { name12, Input12, Output8, toModelContent6, Plugin49, exports_glob };
@@ -1,7 +1,7 @@
1
1
  import {
2
- ID12,
3
- Service70
4
- } from "./vcs-6c6pn2sh.js";
2
+ ID14,
3
+ Service78
4
+ } from "./integration-bkv2ee1r.js";
5
5
 
6
6
  // src/plugin/provider/llmgateway.ts
7
7
  import { Effect } from "effect";
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
9
9
  var LLMGatewayPlugin2 = define({
10
10
  id: "opencode.provider.llmgateway",
11
11
  effect: Effect.fn(function* (ctx) {
12
- const integrations = yield* Service70;
12
+ const integrations = yield* Service78;
13
13
  const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
14
14
  yield* ctx.provider.transform((evt) => {
15
15
  for (const item of evt.list()) {
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
19
19
  continue;
20
20
  if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
21
21
  continue;
22
- if (!configured.has(ID12.make(item.provider.id)))
22
+ if (!configured.has(ID14.make(item.provider.id)))
23
23
  continue;
24
24
  evt.update(item.provider.id, (provider) => {
25
25
  provider.headers = {
@@ -1,13 +1,13 @@
1
1
  import {
2
- Service84
3
- } from "./vcs-xhsv9n96.js";
2
+ Service83
3
+ } from "./integration-svcw9x3w.js";
4
4
  import {
5
5
  DirectoryUnavailableError2,
6
6
  canonical2
7
- } from "./vcs-0emb60td.js";
7
+ } from "./integration-0vbcp93d.js";
8
8
  import {
9
9
  __export
10
- } from "./vcs-9rqn6x4v.js";
10
+ } from "./integration-9rqn6x4v.js";
11
11
 
12
12
  // src/worktree/git.ts
13
13
  var exports_git2 = {};
@@ -20,7 +20,7 @@ import { Worktree } from "@opencode/schema/worktree";
20
20
  import { FSUtil } from "@opencode/util/fs-util";
21
21
  var make12 = Effect.gen(function* () {
22
22
  const fs = yield* FSUtil.Service;
23
- const git = yield* Service84;
23
+ const git = yield* Service83;
24
24
  return {
25
25
  id: Worktree.StrategyID.make("git"),
26
26
  create: Effect.fn("Worktree.Git.create")(function* (input) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./vcs-9rqn6x4v.js";
3
+ } from "./integration-9rqn6x4v.js";
4
4
 
5
5
  // src/oauth/page.ts
6
6
  var exports_page = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./vcs-qfa1cgps.js";
3
+ } from "./integration-qfa1cgps.js";
4
4
 
5
5
  // src/credential/sql.ts
6
6
  import { integer, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,17 +1,17 @@
1
1
  import {
2
- Service83
3
- } from "./vcs-r18p0vf7.js";
2
+ Service84
3
+ } from "./integration-hzqck04w.js";
4
4
  import {
5
- ID14,
5
+ ID16,
6
6
  Event20,
7
- Service72
8
- } from "./vcs-2f2kky6g.js";
7
+ Service80
8
+ } from "./integration-a5q1zm4x.js";
9
9
  import {
10
- ID11
11
- } from "./vcs-ycdqq8zj.js";
10
+ ID13
11
+ } from "./integration-936xvph3.js";
12
12
  import {
13
13
  configuredSettings2
14
- } from "./vcs-3y45vew5.js";
14
+ } from "./integration-kj2528qg.js";
15
15
 
16
16
  // src/plugin/provider/google-vertex.ts
17
17
  import { Effect, Option, Schema, Stream } from "effect";
@@ -41,8 +41,8 @@ var GoogleVertexPlugin2 = define({
41
41
  id: "opencode.provider.google.vertex",
42
42
  effect: Effect.fn(function* (ctx) {
43
43
  const fs = yield* FSUtil.Service;
44
- const credentials = yield* Service72;
45
- const bus = yield* Service83;
44
+ const credentials = yield* Service80;
45
+ const bus = yield* Service84;
46
46
  const read = (file) => fs.readFileStringSafe(file).pipe(Effect.orElseSucceed(() => {
47
47
  return;
48
48
  }));
@@ -51,7 +51,7 @@ var GoogleVertexPlugin2 = define({
51
51
  const configs = (yield* fs.readDirectory(path.join(gcloud, "configurations")).pipe(Effect.orElseSucceed(() => []))).filter((name) => name.startsWith("config_")).toSorted((a, b) => Number(b === active) - Number(a === active) || a.localeCompare(b));
52
52
  const contents = yield* Effect.forEach(configs, (name) => read(path.join(gcloud, "configurations", name)));
53
53
  const adcFile = yield* read(path.join(gcloud, "application_default_credentials.json"));
54
- const configured = (yield* configuredSettings2(ID11.googleVertex)) ?? {};
54
+ const configured = (yield* configuredSettings2(ID13.googleVertex)) ?? {};
55
55
  const projects = Array.from(new Set([
56
56
  resolveProject(configured),
57
57
  ...contents.map((content) => content?.match(/^project\s*=\s*(\S+)/m)?.[1]),
@@ -65,8 +65,8 @@ var GoogleVertexPlugin2 = define({
65
65
  ...contents.flatMap((content) => Array.from((content ?? "").matchAll(/^region\s*=\s*(\S+)/gm), (match) => match[1]))
66
66
  ]));
67
67
  const load = Effect.fn("GoogleVertexPlugin.load")(function* () {
68
- const connection = yield* ctx.integration.connection.active(ID11.googleVertex);
69
- const stored = connection?.type === "credential" ? yield* credentials.get(ID14.make(connection.id)) : undefined;
68
+ const connection = yield* ctx.integration.connection.active(ID13.googleVertex);
69
+ const stored = connection?.type === "credential" ? yield* credentials.get(ID16.make(connection.id)) : undefined;
70
70
  if (stored?.value.type !== "external" || stored.value.methodID !== ADC_METHOD)
71
71
  return {};
72
72
  return { project: stored.value.metadata?.project, location: stored.value.metadata?.location };
@@ -74,15 +74,15 @@ var GoogleVertexPlugin2 = define({
74
74
  const selected = { settings: yield* load() };
75
75
  const settingsFor = (provider) => ({
76
76
  ...provider.settings,
77
- ...(provider.integrationID ?? provider.id) === ID11.googleVertex ? selected.settings : {}
77
+ ...(provider.integrationID ?? provider.id) === ID13.googleVertex ? selected.settings : {}
78
78
  });
79
79
  yield* ctx.integration.transform((editor) => {
80
80
  editor.method.update({
81
- integrationID: ID11.googleVertex,
81
+ integrationID: ID13.googleVertex,
82
82
  method: { type: "env", names: ["GOOGLE_VERTEX_API_KEY"] }
83
83
  });
84
84
  editor.method.update({
85
- integrationID: ID11.googleVertex,
85
+ integrationID: ID13.googleVertex,
86
86
  method: {
87
87
  id: ADC_METHOD,
88
88
  type: "external",
@@ -120,7 +120,7 @@ var GoogleVertexPlugin2 = define({
120
120
  });
121
121
  yield* ctx.provider.transform((evt) => {
122
122
  for (const item of evt.list()) {
123
- if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID11.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
123
+ if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
124
124
  continue;
125
125
  const settings = settingsFor(item.provider);
126
126
  const project = resolveProject(settings);
@@ -139,7 +139,7 @@ var GoogleVertexPlugin2 = define({
139
139
  });
140
140
  yield* ctx.model.transform((models) => {
141
141
  for (const item of models.provider.list()) {
142
- if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID11.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
142
+ if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
143
143
  continue;
144
144
  const settings = settingsFor(item.provider);
145
145
  const project = resolveProject(settings);
@@ -1,44 +1,44 @@
1
1
  import {
2
- Service60
3
- } from "./vcs-wp94metk.js";
2
+ Service54
3
+ } from "./integration-cmk24ybg.js";
4
4
  import {
5
5
  MAX_MARKDOWN_BYTES2,
6
6
  convertHTMLToMarkdown2
7
- } from "./vcs-4vcrnpx2.js";
7
+ } from "./integration-4vcrnpx2.js";
8
8
  import {
9
9
  collectBoundedResponseBody2
10
- } from "./vcs-3v8g72cx.js";
10
+ } from "./integration-3v8g72cx.js";
11
11
  import {
12
12
  __export
13
- } from "./vcs-9rqn6x4v.js";
13
+ } from "./integration-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/webfetch.ts
16
16
  var exports_webfetch = {};
17
17
  __export(exports_webfetch, {
18
18
  DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
19
- Input: () => Input10,
20
- MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
19
+ Input: () => Input9,
20
+ MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
21
21
  MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
22
- Plugin: () => Plugin11,
22
+ Plugin: () => Plugin45,
23
23
  WebFetchTool: () => exports_webfetch,
24
24
  convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
25
25
  description: () => description5,
26
26
  extractTextFromHTML: () => extractTextFromHTML2,
27
- name: () => name10
27
+ name: () => name9
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Duration, Effect, Schema } from "effect";
31
31
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
32
32
  import { Parser } from "htmlparser2";
33
- var name10 = "webfetch";
34
- var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
33
+ var name9 = "webfetch";
34
+ var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
35
35
  var DEFAULT_TIMEOUT_SECONDS2 = 30;
36
36
  var MAX_TIMEOUT_SECONDS2 = 120;
37
37
  var description5 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
38
38
 
39
39
  Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
40
40
  var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
41
- var Input10 = Schema.Struct({
41
+ var Input9 = Schema.Struct({
42
42
  url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
43
43
  format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
44
44
  timeout: Schema.optionalKey(Timeout).annotate({
@@ -48,7 +48,7 @@ var Input10 = Schema.Struct({
48
48
  var Output = Schema.Struct({
49
49
  url: Schema.String,
50
50
  contentType: Schema.String,
51
- format: Input10.fields.format,
51
+ format: Input9.fields.format,
52
52
  output: Schema.String
53
53
  });
54
54
  var acceptHeader = (format) => {
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
79
79
  throw new Error("URL must use http:// or https://");
80
80
  };
81
81
  var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
82
- var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} byte limit)`));
82
+ var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES3} byte limit)`));
83
83
  var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
84
84
  var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
85
85
  var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
92
92
  return extractTextFromHTML2(content);
93
93
  return content;
94
94
  };
95
- var Plugin11 = {
95
+ var Plugin45 = {
96
96
  id: "opencode.tool.webfetch",
97
97
  effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
98
98
  const http = yield* HttpClient.HttpClient;
99
- const permission = yield* Service60;
99
+ const permission = yield* Service54;
100
100
  yield* ctx.tool.transform((editor) => editor.add({
101
- name: name10,
101
+ name: name9,
102
102
  options: { codemode: false },
103
103
  description: description5,
104
- input: Input10,
104
+ input: Input9,
105
105
  output: Output,
106
106
  execute: (input, context) => Effect.gen(function* () {
107
107
  yield* Effect.try({
@@ -109,7 +109,7 @@ var Plugin11 = {
109
109
  catch: (error) => error
110
110
  });
111
111
  yield* permission.assert({
112
- action: name10,
112
+ action: name9,
113
113
  resources: [input.url],
114
114
  save: ["*"],
115
115
  metadata: input,
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
167
167
  parser.end();
168
168
  return text.trim();
169
169
  }
170
- export { name10, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description5, Input10, Plugin11, extractTextFromHTML2, exports_webfetch };
170
+ export { name9, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description5, Input9, Plugin45, extractTextFromHTML2, exports_webfetch };
@@ -1,22 +1,22 @@
1
1
  import {
2
- Service83
3
- } from "./vcs-r18p0vf7.js";
2
+ Service84
3
+ } from "./integration-hzqck04w.js";
4
4
  import {
5
5
  Service81
6
- } from "./vcs-hthv5jgd.js";
6
+ } from "./integration-j6x6e543.js";
7
7
  import {
8
8
  PromptsChanged2,
9
- Service43
10
- } from "./vcs-hr1xc807.js";
9
+ Service31
10
+ } from "./integration-9n61d5ky.js";
11
11
  import {
12
12
  __export
13
- } from "./vcs-9rqn6x4v.js";
13
+ } from "./integration-9rqn6x4v.js";
14
14
 
15
15
  // src/plugin/command.ts
16
16
  var exports_command2 = {};
17
17
  __export(exports_command2, {
18
18
  CommandPlugin: () => exports_command2,
19
- Plugin: () => Plugin49
19
+ Plugin: () => Plugin30
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect, Stream } from "effect";
@@ -193,12 +193,12 @@ If you're uncertain about something and can't verify it with these tools, say "I
193
193
  `;
194
194
 
195
195
  // src/plugin/command.ts
196
- var Plugin49 = define({
196
+ var Plugin30 = define({
197
197
  id: "opencode.command",
198
198
  effect: Effect.fn(function* (ctx) {
199
199
  const location = yield* Service81;
200
- const mcp = yield* Service43;
201
- const bus = yield* Service83;
200
+ const mcp = yield* Service31;
201
+ const bus = yield* Service84;
202
202
  const loaded = { prompts: [] };
203
203
  yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
204
204
  loaded.prompts = yield* mcp.prompts();
@@ -280,4 +280,4 @@ function sanitize(value) {
280
280
  var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
281
281
  var quoteTrimRegex = /^["']|["']$/g;
282
282
 
283
- export { Plugin49, exports_command2 };
283
+ export { Plugin30, exports_command2 };
@@ -0,0 +1,26 @@
1
+ import {
2
+ Plugin26
3
+ } from "./integration-s9w6dcwz.js";
4
+ import {
5
+ Plugin23
6
+ } from "./integration-1113as0s.js";
7
+ import {
8
+ Plugin22
9
+ } from "./integration-6vmt69ah.js";
10
+ import {
11
+ Plugin24
12
+ } from "./integration-p2rbr5nq.js";
13
+ import {
14
+ Plugin25
15
+ } from "./integration-gsjeqjb2.js";
16
+
17
+ // src/plugin/websearch/index.ts
18
+ var WebSearchPlugins2 = [
19
+ Plugin26,
20
+ Plugin23,
21
+ Plugin22,
22
+ Plugin24,
23
+ Plugin25
24
+ ];
25
+
26
+ export { WebSearchPlugins2 };