@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
- ID11,
2
+ ID13,
3
3
  isAISDK2,
4
4
  packageName2,
5
5
  timeouts2,
6
6
  mergeOverlay2
7
- } from "./vcs-ycdqq8zj.js";
7
+ } from "./integration-936xvph3.js";
8
8
  import {
9
9
  __export
10
- } from "./vcs-9rqn6x4v.js";
10
+ } from "./integration-9rqn6x4v.js";
11
11
 
12
12
  // src/aisdk.ts
13
13
  var exports_aisdk = {};
14
14
  __export(exports_aisdk, {
15
15
  AISDK: () => exports_aisdk,
16
16
  InitError: () => InitError2,
17
- Service: () => Service58,
17
+ Service: () => Service43,
18
18
  locationLayer: () => locationLayer2,
19
- node: () => node60
19
+ node: () => node45
20
20
  });
21
21
  import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { APICallError } from "@ai-sdk/provider";
@@ -151,7 +151,7 @@ function throughMiddleware(store, send, input, init) {
151
151
  var HEADER_TIMEOUT_MESSAGE = "Response headers timed out";
152
152
 
153
153
  class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
154
- providerID: ID11,
154
+ providerID: ID13,
155
155
  cause: Schema.Defect()
156
156
  }) {
157
157
  }
@@ -159,9 +159,9 @@ function initError(providerID) {
159
159
  return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
160
160
  }
161
161
 
162
- class Service58 extends Context.Service()("@opencode/AISDK") {
162
+ class Service43 extends Context.Service()("@opencode/AISDK") {
163
163
  }
164
- var locationLayer2 = Layer.effect(Service58, Effect.gen(function* () {
164
+ var locationLayer2 = Layer.effect(Service43, Effect.gen(function* () {
165
165
  let sdkHooks = [];
166
166
  let languageHooks = [];
167
167
  const languages = new Map;
@@ -199,7 +199,7 @@ var locationLayer2 = Layer.effect(Service58, Effect.gen(function* () {
199
199
  }
200
200
  return event;
201
201
  });
202
- const service = Service58.of({
202
+ const service = Service43.of({
203
203
  hook: {
204
204
  sdk: register(() => sdkHooks, (next) => sdkHooks = next),
205
205
  language: register(() => languageHooks, (next) => languageHooks = next)
@@ -874,6 +874,6 @@ function providerErrorMessage(error) {
874
874
  const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
875
875
  return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
876
876
  }
877
- var node60 = makeLocationNode({ service: Service58, layer: locationLayer2, deps: [] });
877
+ var node45 = makeLocationNode({ service: Service43, layer: locationLayer2, deps: [] });
878
878
 
879
- export { InitError2, Service58, locationLayer2, node60, exports_aisdk };
879
+ export { InitError2, Service43, locationLayer2, node45, exports_aisdk };
@@ -2,44 +2,44 @@ import {
2
2
  NotFound3,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./vcs-hgz4x7wa.js";
5
+ } from "./integration-hgz4x7wa.js";
6
6
  import {
7
7
  Service81
8
- } from "./vcs-hthv5jgd.js";
8
+ } from "./integration-j6x6e543.js";
9
9
  import {
10
- Service77
11
- } from "./vcs-h4txjgx3.js";
10
+ Service67
11
+ } from "./integration-61tfqrb2.js";
12
12
  import {
13
- Service21
14
- } from "./vcs-cw35edym.js";
13
+ Service62
14
+ } from "./integration-ydbcqtja.js";
15
15
  import {
16
- Service17,
16
+ Service16,
17
17
  readText2,
18
18
  syncTextBom2
19
- } from "./vcs-31z5wm9z.js";
19
+ } from "./integration-4p54rqs4.js";
20
20
  import {
21
- Service60
22
- } from "./vcs-wp94metk.js";
21
+ Service54
22
+ } from "./integration-cmk24ybg.js";
23
23
  import {
24
- Service18,
24
+ Service40,
25
25
  resolvePath2
26
- } from "./vcs-k6pj38bh.js";
26
+ } from "./integration-r5tsbqp4.js";
27
27
  import {
28
28
  fileDiff2
29
- } from "./vcs-6prwharc.js";
29
+ } from "./integration-6prwharc.js";
30
30
  import {
31
31
  __export
32
- } from "./vcs-9rqn6x4v.js";
32
+ } from "./integration-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/patch.ts
35
35
  var exports_patch = {};
36
36
  __export(exports_patch, {
37
37
  Applied: () => Applied2,
38
- Input: () => Input2,
39
- Output: () => Output2,
38
+ Input: () => Input4,
39
+ Output: () => Output4,
40
40
  PatchTool: () => exports_patch,
41
- Plugin: () => Plugin2,
42
- name: () => name2,
41
+ Plugin: () => Plugin39,
42
+ name: () => name4,
43
43
  toModelContent: () => toModelContent2
44
44
  });
45
45
  import { ToolFailure } from "@opencode/ai";
@@ -85,8 +85,8 @@ It is important to remember:
85
85
  `;
86
86
 
87
87
  // src/tool/plugin/patch.ts
88
- var name2 = "patch";
89
- var Input2 = Schema.Struct({
88
+ var name4 = "patch";
89
+ var Input4 = Schema.Struct({
90
90
  patchText: Schema.String.annotate({
91
91
  description: "The full patch text describing add, update, and delete operations"
92
92
  })
@@ -96,7 +96,7 @@ var Applied2 = Schema.Struct({
96
96
  resource: Schema.String,
97
97
  target: Schema.String
98
98
  });
99
- var Output2 = Schema.Struct({
99
+ var Output4 = Schema.Struct({
100
100
  applied: Schema.Array(Applied2),
101
101
  files: Schema.Array(FileDiff.Info)
102
102
  });
@@ -105,21 +105,21 @@ var toModelContent2 = (output) => [
105
105
  ...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
106
106
  ].join(`
107
107
  `);
108
- var Plugin2 = {
108
+ var Plugin39 = {
109
109
  id: "opencode.tool.patch",
110
110
  effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
111
- const environment = yield* Service77;
112
- const access = yield* Service18;
113
- const fileMutation = yield* Service17;
114
- const formatter = yield* Service21;
111
+ const environment = yield* Service67;
112
+ const access = yield* Service40;
113
+ const fileMutation = yield* Service16;
114
+ const formatter = yield* Service62;
115
115
  const location = yield* Service81;
116
- const permission = yield* Service60;
116
+ const permission = yield* Service54;
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name2,
118
+ name: name4,
119
119
  options: { codemode: false, permission: "edit" },
120
120
  description: patch_default,
121
- input: Input2,
122
- output: Output2,
121
+ input: Input4,
122
+ output: Output4,
123
123
  execute: (input, context) => {
124
124
  const applied = [];
125
125
  const parsed = Patch.parse(input.patchText);
@@ -326,4 +326,4 @@ function trimDiff(diff) {
326
326
  `);
327
327
  }
328
328
 
329
- export { name2, Input2, Applied2, Output2, toModelContent2, Plugin2, exports_patch };
329
+ export { name4, Input4, Applied2, Output4, toModelContent2, Plugin39, exports_patch };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./vcs-z5v4ffb3.js";
4
+ } from "./integration-z5v4ffb3.js";
5
5
  import {
6
6
  SessionSchema2
7
- } from "./vcs-hzrfc1p4.js";
7
+ } from "./integration-nvxqht09.js";
8
8
 
9
9
  // src/session/info.ts
10
10
  import { DateTime, Schema } from "effect";
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./vcs-z5v4ffb3.js";
3
+ } from "./integration-z5v4ffb3.js";
4
4
  import {
5
5
  latest2,
6
- Service51
7
- } from "./vcs-6fzpscvt.js";
6
+ Service72
7
+ } from "./integration-9e55pg5q.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./vcs-hgz4x7wa.js";
11
- import {
12
- Service77
13
- } from "./vcs-h4txjgx3.js";
10
+ } from "./integration-hgz4x7wa.js";
14
11
  import {
15
12
  Service67
16
- } from "./vcs-dcw3vkc0.js";
13
+ } from "./integration-61tfqrb2.js";
14
+ import {
15
+ Service50
16
+ } from "./integration-gsh5zsa2.js";
17
17
  import {
18
- Service60
19
- } from "./vcs-wp94metk.js";
18
+ Service54
19
+ } from "./integration-cmk24ybg.js";
20
20
  import {
21
- Service18,
21
+ Service40,
22
22
  resolvePath2
23
- } from "./vcs-k6pj38bh.js";
23
+ } from "./integration-r5tsbqp4.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./vcs-vzs5sf6e.js";
29
+ } from "./integration-vzs5sf6e.js";
30
30
  import {
31
- Service55,
31
+ Service71,
32
32
  name15
33
- } from "./vcs-5paa9ef2.js";
33
+ } from "./integration-s7nbb837.js";
34
34
  import {
35
- NotFoundError5,
36
- Service47
37
- } from "./vcs-axxpgx3s.js";
35
+ NotFoundError8,
36
+ Service64
37
+ } from "./integration-txcdme70.js";
38
38
  import {
39
- Service26
40
- } from "./vcs-qjh2dgdf.js";
39
+ Service20
40
+ } from "./integration-ak9qm6ac.js";
41
41
  import {
42
42
  scan2
43
- } from "./vcs-0sqvq5f5.js";
43
+ } from "./integration-fzf4e9h4.js";
44
44
  import {
45
45
  __export
46
- } from "./vcs-9rqn6x4v.js";
46
+ } from "./integration-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
- var exports_shell = {};
50
- __export(exports_shell, {
49
+ var exports_shell2 = {};
50
+ __export(exports_shell2, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input7,
53
- Plugin: () => Plugin8,
54
- ShellTool: () => exports_shell,
55
- name: () => name7
52
+ Input: () => Input10,
53
+ Plugin: () => Plugin46,
54
+ ShellTool: () => exports_shell2,
55
+ name: () => name10
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
59
  import { shellParserWasm } from "#shell-parser-wasm";
60
- var name7 = "shell";
60
+ var name10 = "shell";
61
61
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
62
62
  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.";
63
63
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -71,7 +71,7 @@ var description = (shell) => [
71
71
  "Commands accept an optional timeout, background commands have no timeout by default.",
72
72
  "Background commands return immediately, and you will be notified when they complete."
73
73
  ].join(" ");
74
- var Input7 = Schema.Struct({
74
+ var Input10 = Schema.Struct({
75
75
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
76
76
  workdir: Schema.optionalKey(Schema.String).annotate({
77
77
  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."
@@ -117,19 +117,19 @@ Output is streaming to: ${file}`,
117
117
  truncated: false,
118
118
  status: "running"
119
119
  });
120
- var Plugin8 = {
120
+ var Plugin46 = {
121
121
  id: "opencode.tool.shell",
122
122
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
123
- const sessions = yield* Service26;
124
- const jobs = yield* Service67;
123
+ const sessions = yield* Service20;
124
+ const jobs = yield* Service50;
125
125
  const scope = yield* Scope.Scope;
126
- const environment = yield* Service77;
127
- const access = yield* Service18;
128
- const shell = yield* Service47;
129
- const shellSelect = yield* Service55;
126
+ const environment = yield* Service67;
127
+ const access = yield* Service40;
128
+ const shell = yield* Service64;
129
+ const shellSelect = yield* Service71;
130
130
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
131
- const permission = yield* Service60;
132
- const config = yield* Service51;
131
+ const permission = yield* Service54;
132
+ const config = yield* Service72;
133
133
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
134
134
  const source = {
135
135
  type: "tool",
@@ -148,7 +148,7 @@ var Plugin8 = {
148
148
  yield* access.authorizeExternal([target, ...directories], context);
149
149
  if (parsed.commands.length > 0)
150
150
  yield* permission.assert({
151
- action: name7,
151
+ action: name10,
152
152
  resources: parsed.commands.map((command) => command.resource),
153
153
  save: parsed.commands.map((command) => command.save),
154
154
  sessionID: context.sessionID,
@@ -185,10 +185,10 @@ var Plugin8 = {
185
185
  yield* jobs.completeBackground(info.notificationID);
186
186
  }, Effect.forkIn(scope, { startImmediately: true }));
187
187
  yield* ctx.tool.transform((editor) => editor.add({
188
- name: name7,
188
+ name: name10,
189
189
  options: { codemode: false },
190
190
  description: description(),
191
- input: Input7,
191
+ input: Input10,
192
192
  output: Output,
193
193
  execute: (input, context) => Effect.gen(function* () {
194
194
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -211,7 +211,7 @@ var Plugin8 = {
211
211
  const run = Effect.gen(function* () {
212
212
  const result = yield* shell.result(info);
213
213
  if (!result.capture)
214
- return yield* new NotFoundError5({ id: info.id });
214
+ return yield* new NotFoundError8({ id: info.id });
215
215
  const output = output2(result);
216
216
  return {
217
217
  ...output,
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
225
225
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
226
226
  const job = yield* jobs.start({
227
227
  id: info.id,
228
- type: name7,
228
+ type: name10,
229
229
  title: info.command,
230
230
  metadata: { sessionID: context.sessionID, shellID: info.id },
231
231
  recovery: {
@@ -255,7 +255,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
255
255
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
256
256
  })).pipe(Effect.orDie);
257
257
  const hook = (event) => Effect.gen(function* () {
258
- const tool = event.tools[name7];
258
+ const tool = event.tools[name10];
259
259
  if (!tool)
260
260
  return;
261
261
  tool.description = description(name15(yield* compatibleShell));
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
266
266
  })
267
267
  };
268
268
 
269
- export { name7, DEFAULT_TIMEOUT_MS2, Input7, Plugin8, exports_shell };
269
+ export { name10, DEFAULT_TIMEOUT_MS2, Input10, Plugin46, exports_shell2 };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  OAuth3
3
- } from "./vcs-2f2kky6g.js";
3
+ } from "./integration-a5q1zm4x.js";
4
4
  import {
5
- ID12,
5
+ ID14,
6
6
  MethodID2
7
- } from "./vcs-6c6pn2sh.js";
7
+ } from "./integration-bkv2ee1r.js";
8
8
  import {
9
9
  success2,
10
10
  error2
11
- } from "./vcs-pjvnvgmy.js";
11
+ } from "./integration-pjvnvgmy.js";
12
12
 
13
13
  // src/plugin/provider/poe.ts
14
14
  import { define } from "@opencode/plugin/effect/plugin";
15
15
  import { Clock, Deferred, Effect, Option, Schema } from "effect";
16
16
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
17
- var integrationID = ID12.make("poe");
17
+ var integrationID = ID14.make("poe");
18
18
  var methodID = MethodID2.make("browser");
19
19
  var clientID = "client_728290227fc048cc9262091a1ea197ea";
20
20
  var issuer = "https://poe.com";
@@ -2,26 +2,26 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./vcs-z5v4ffb3.js";
5
+ } from "./integration-z5v4ffb3.js";
6
6
  import {
7
- Service77,
8
- node80
9
- } from "./vcs-h4txjgx3.js";
7
+ Service67,
8
+ node70
9
+ } from "./integration-61tfqrb2.js";
10
10
  import {
11
11
  RipgrepBinary2
12
- } from "./vcs-maspj1v3.js";
12
+ } from "./integration-maspj1v3.js";
13
13
  import {
14
14
  __export
15
- } from "./vcs-9rqn6x4v.js";
15
+ } from "./integration-9rqn6x4v.js";
16
16
 
17
17
  // src/ripgrep.ts
18
18
  var exports_ripgrep = {};
19
19
  __export(exports_ripgrep, {
20
- Error: () => Error3,
20
+ Error: () => Error4,
21
21
  InvalidPatternError: () => InvalidPatternError2,
22
22
  Ripgrep: () => exports_ripgrep,
23
- Service: () => Service76,
24
- node: () => node79
23
+ Service: () => Service59,
24
+ node: () => node62
25
25
  });
26
26
  import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
27
27
  import { ChildProcess } from "effect/process";
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
46
46
  });
47
47
  var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
48
48
 
49
- class Error3 extends Schema.TaggedError()("Ripgrep.Error", {
49
+ class Error4 extends Schema.TaggedError()("Ripgrep.Error", {
50
50
  message: Schema.String,
51
51
  cause: Schema.optional(Schema.Defect())
52
52
  }) {
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
58
58
  }) {
59
59
  }
60
60
 
61
- class Service76 extends Context.Service()("@opencode/Ripgrep") {
61
+ class Service59 extends Context.Service()("@opencode/Ripgrep") {
62
62
  }
63
- var failure = (message, cause) => new Error3({ message, cause });
63
+ var failure = (message, cause) => new Error4({ message, cause });
64
64
  var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
65
65
  var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
66
- var layer = Layer.effect(Service76, Effect.gen(function* () {
67
- const environment = yield* Service77;
66
+ var layer = Layer.effect(Service59, Effect.gen(function* () {
67
+ const environment = yield* Service67;
68
68
  const binary = yield* RipgrepBinary2.Service;
69
69
  const run = (input) => {
70
70
  const program = Effect.scoped(Effect.gen(function* () {
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
90
90
  return code === 1 ? [] : rows;
91
91
  }));
92
92
  const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
93
- return abortable.pipe(Effect.mapError((cause) => cause instanceof Error3 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
93
+ return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
94
94
  };
95
- return Service76.of({
95
+ return Service59.of({
96
96
  glob: (input) => run({
97
97
  cwd: input.cwd,
98
98
  limit: input.limit,
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
175
175
  }))))
176
176
  });
177
177
  }));
178
- var node79 = makeLocationNode({ service: Service76, layer, deps: [node80, RipgrepBinary2.node] });
178
+ var node62 = makeLocationNode({ service: Service59, layer, deps: [node70, RipgrepBinary2.node] });
179
179
 
180
- export { Error3, InvalidPatternError2, Service76, node79, exports_ripgrep };
180
+ export { Error4, InvalidPatternError2, Service59, node62, exports_ripgrep };
@@ -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/codemode/catalog.ts
6
6
  var exports_catalog = {};
@@ -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/kv/sql.ts
6
6
  import { sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -2,10 +2,10 @@ import {
2
2
  NotFound3,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./vcs-hgz4x7wa.js";
5
+ } from "./integration-hgz4x7wa.js";
6
6
  import {
7
7
  __export
8
- } from "./vcs-9rqn6x4v.js";
8
+ } from "./integration-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/local.ts
11
11
  var exports_local = {};
@@ -1,72 +1,72 @@
1
1
  import {
2
- Service77
3
- } from "./vcs-h4txjgx3.js";
2
+ Service67
3
+ } from "./integration-61tfqrb2.js";
4
4
  import {
5
- Service17,
5
+ Service16,
6
6
  readText2,
7
7
  syncTextBom2
8
- } from "./vcs-31z5wm9z.js";
8
+ } from "./integration-4p54rqs4.js";
9
9
  import {
10
- Service21
11
- } from "./vcs-cw35edym.js";
10
+ Service62
11
+ } from "./integration-ydbcqtja.js";
12
12
  import {
13
- Service60
14
- } from "./vcs-wp94metk.js";
13
+ Service54
14
+ } from "./integration-cmk24ybg.js";
15
15
  import {
16
- Service18
17
- } from "./vcs-k6pj38bh.js";
16
+ Service40
17
+ } from "./integration-r5tsbqp4.js";
18
18
  import {
19
19
  fileDiff2
20
- } from "./vcs-6prwharc.js";
20
+ } from "./integration-6prwharc.js";
21
21
  import {
22
22
  __export
23
- } from "./vcs-9rqn6x4v.js";
23
+ } from "./integration-9rqn6x4v.js";
24
24
 
25
25
  // src/tool/plugin/write.ts
26
26
  var exports_write = {};
27
27
  __export(exports_write, {
28
- Input: () => Input6,
29
- Output: () => Output6,
30
- Plugin: () => Plugin7,
28
+ Input: () => Input5,
29
+ Output: () => Output5,
30
+ Plugin: () => Plugin41,
31
31
  WriteTool: () => exports_write,
32
- name: () => name6,
33
- toModelContent: () => toModelContent4
32
+ name: () => name5,
33
+ toModelContent: () => toModelContent3
34
34
  });
35
35
  import { ToolFailure } from "@opencode/ai";
36
36
  import { Effect, Schema } from "effect";
37
37
  import { Bom } from "@opencode/util/bom";
38
- var name6 = "write";
39
- var Input6 = Schema.Struct({
38
+ var name5 = "write";
39
+ var Input5 = Schema.Struct({
40
40
  path: Schema.String.annotate({
41
41
  description: "Path to the file to write to"
42
42
  }),
43
43
  content: Schema.String.annotate({ description: "Content to write to the file" })
44
44
  });
45
- var Output6 = Schema.Struct({
45
+ var Output5 = Schema.Struct({
46
46
  operation: Schema.Literal("write"),
47
47
  target: Schema.String,
48
48
  resource: Schema.String,
49
49
  existed: Schema.Boolean
50
50
  });
51
- var toModelContent4 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
- var Plugin7 = {
51
+ var toModelContent3 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
+ var Plugin41 = {
53
53
  id: "opencode.tool.write",
54
54
  effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
55
- const access = yield* Service18;
56
- const fileMutation = yield* Service17;
57
- const environment = yield* Service77;
58
- const formatter = yield* Service21;
59
- const permission = yield* Service60;
55
+ const access = yield* Service40;
56
+ const fileMutation = yield* Service16;
57
+ const environment = yield* Service67;
58
+ const formatter = yield* Service62;
59
+ const permission = yield* Service54;
60
60
  yield* ctx.tool.transform((editor) => editor.add({
61
- name: name6,
61
+ name: name5,
62
62
  options: { codemode: false, permission: "edit" },
63
63
  description: `Writes a file to the local filesystem, overwriting if one exists.
64
64
 
65
65
  Missing parent directories are created automatically.
66
66
 
67
67
  Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
68
- input: Input6,
69
- output: Output6,
68
+ input: Input5,
69
+ output: Output5,
70
70
  execute: (input, context) => Effect.gen(function* () {
71
71
  const source = {
72
72
  type: "tool",
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
93
93
  yield* syncTextBom2(environment.files, target.absolute, bom);
94
94
  }
95
95
  return result;
96
- }).pipe(Effect.map((output) => ({ output, content: toModelContent4(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
96
+ }).pipe(Effect.map((output) => ({ output, content: toModelContent3(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
97
97
  })).pipe(Effect.orDie);
98
98
  })
99
99
  };
100
100
 
101
- export { name6, Input6, Output6, toModelContent4, Plugin7, exports_write };
101
+ export { name5, Input5, Output5, toModelContent3, Plugin41, exports_write };
@@ -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/mime.ts
6
6
  var exports_mime = {};
@@ -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/database/v1-migration.ts
6
6
  var exports_v1_migration = {};