@opencode/core 0.0.0-dev-20489 → 0.0.0-dev-20497

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 (783) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{plugin-qvb3nf84.js → state-00x4qneg.js} +8 -8
  8. package/dist/chunks/{plugin-3ag6mk8n.js → state-036v1hvj.js} +6 -6
  9. package/dist/chunks/{plugin-hgqax4q6.js → state-0evtapph.js} +25 -25
  10. package/dist/chunks/{plugin-xn3aq1vn.js → state-0habsvra.js} +38 -38
  11. package/dist/chunks/{plugin-0paq2nw3.js → state-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{plugin-m6g91zyk.js → state-0t6gahkk.js} +15 -15
  13. package/dist/chunks/{plugin-0vbcp93d.js → state-0vbcp93d.js} +2 -2
  14. package/dist/chunks/{plugin-q553k2y0.js → state-0vmmzasy.js} +18 -18
  15. package/dist/chunks/{plugin-h2mrpd9j.js → state-1184ktb1.js} +45 -45
  16. package/dist/chunks/{plugin-0st2k7bp.js → state-11jr2j0r.js} +8 -8
  17. package/dist/chunks/{plugin-jagbr6h4.js → state-156pf76f.js} +24 -24
  18. package/dist/chunks/{plugin-p9dr31ta.js → state-1bqfkzv3.js} +10 -10
  19. package/dist/chunks/{plugin-1dazxqgg.js → state-1dazxqgg.js} +2 -2
  20. package/dist/chunks/{plugin-6vge9h39.js → state-1dqwkdsj.js} +26 -26
  21. package/dist/chunks/{plugin-84h8c373.js → state-1dvck2a7.js} +2 -2
  22. package/dist/chunks/{plugin-552dhgzm.js → state-1e734s2r.js} +5 -5
  23. package/dist/chunks/{plugin-y5f3qdbg.js → state-1gpb38yh.js} +6 -6
  24. package/dist/chunks/{plugin-c7s4vxbp.js → state-1nn5drgz.js} +5 -5
  25. package/dist/chunks/{plugin-tbdf39ae.js → state-1qqsgqx8.js} +19 -19
  26. package/dist/chunks/{plugin-wbhkz6w4.js → state-1sv0vpv6.js} +15 -15
  27. package/dist/chunks/{plugin-b00njkv4.js → state-2227vqj9.js} +20 -20
  28. package/dist/chunks/{plugin-2sjdad61.js → state-2318s8bz.js} +30 -30
  29. package/dist/chunks/{plugin-aqcsk7k7.js → state-25fpdh8d.js} +12 -12
  30. package/dist/chunks/{plugin-88wfbx9b.js → state-28hqs9y2.js} +32 -32
  31. package/dist/chunks/{plugin-a9bdmzgt.js → state-2a2w6e8b.js} +22 -22
  32. package/dist/chunks/{plugin-2a5m3afh.js → state-2a5m3afh.js} +1 -1
  33. package/dist/chunks/{plugin-y7cqqg6m.js → state-2a67ew1x.js} +16 -16
  34. package/dist/chunks/state-2dkqpbz0.js +26 -0
  35. package/dist/chunks/{plugin-w224pj40.js → state-2dmzcsnk.js} +12 -12
  36. package/dist/chunks/{plugin-snnkctvy.js → state-2gjcxze4.js} +16 -16
  37. package/dist/chunks/{plugin-3fc6dm20.js → state-3fc6dm20.js} +1 -1
  38. package/dist/chunks/{plugin-3hepkmqq.js → state-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{plugin-gdgk23je.js → state-3hewh51z.js} +22 -22
  40. package/dist/chunks/{plugin-3smtnn6g.js → state-3smtnn6g.js} +1 -1
  41. package/dist/chunks/{plugin-sk3qaz4a.js → state-3t0ybcrp.js} +58 -20
  42. package/dist/chunks/{plugin-3tvqynh2.js → state-3tvqynh2.js} +1 -1
  43. package/dist/chunks/{plugin-8am2xe2c.js → state-3wbg2ndj.js} +89 -89
  44. package/dist/chunks/{plugin-h4ckqw4f.js → state-3zbwexce.js} +8 -8
  45. package/dist/chunks/{plugin-3zsf4n22.js → state-3zsf4n22.js} +1 -1
  46. package/dist/chunks/{plugin-dbmc5gjs.js → state-4bm5ja14.js} +4 -4
  47. package/dist/chunks/{plugin-9tv1ghsx.js → state-4dqr7rbq.js} +4 -4
  48. package/dist/chunks/{plugin-5w1jn6g6.js → state-4gdcnkn7.js} +30 -30
  49. package/dist/chunks/{plugin-pte6hzve.js → state-4h35skqa.js} +33 -33
  50. package/dist/chunks/{plugin-6ncs3jcp.js → state-4kzv2d1h.js} +29 -29
  51. package/dist/chunks/{plugin-q4aqwj73.js → state-4q6hdv07.js} +19 -19
  52. package/dist/chunks/{plugin-jhmdvha7.js → state-4r5b2nkg.js} +18 -18
  53. package/dist/chunks/{plugin-4ts7tf6z.js → state-4ts7tf6z.js} +2 -2
  54. package/dist/chunks/{plugin-engkm2d6.js → state-4v4bfvma.js} +5 -5
  55. package/dist/chunks/{plugin-0he9bta8.js → state-4vqt517m.js} +10 -10
  56. package/dist/chunks/{plugin-5qwkxp89.js → state-4wwqnvbr.js} +4 -4
  57. package/dist/chunks/{plugin-9dbt7z73.js → state-4xrh0rhr.js} +20 -20
  58. package/dist/chunks/{plugin-2920kkda.js → state-4yajm3g0.js} +32 -32
  59. package/dist/chunks/{plugin-54ma36ye.js → state-54ma36ye.js} +1 -1
  60. package/dist/chunks/{plugin-33w4ejhs.js → state-56gdpj1q.js} +6 -6
  61. package/dist/chunks/{plugin-ywp84kpb.js → state-5a1vmb6m.js} +9 -9
  62. package/dist/chunks/{plugin-5daktx2q.js → state-5daktx2q.js} +1 -1
  63. package/dist/chunks/{plugin-qe2mh3tq.js → state-5qm7xrem.js} +6 -6
  64. package/dist/chunks/{plugin-5t3nmthw.js → state-5t3nmthw.js} +2 -2
  65. package/dist/chunks/{plugin-qf3mq4ra.js → state-624q30ze.js} +30 -30
  66. package/dist/chunks/{plugin-bh48mnt2.js → state-62j9fngz.js} +26 -26
  67. package/dist/chunks/{plugin-xqb26yp8.js → state-644qpva7.js} +15 -15
  68. package/dist/chunks/{plugin-669tq793.js → state-669tq793.js} +1 -1
  69. package/dist/chunks/{plugin-sqmzwr9m.js → state-66fqs2ya.js} +9 -9
  70. package/dist/chunks/{plugin-gxer4289.js → state-6axd00vm.js} +2 -2
  71. package/dist/chunks/{plugin-jgaj827t.js → state-6b2hcgdj.js} +26 -26
  72. package/dist/chunks/{plugin-eneefzjq.js → state-6ysrkrkr.js} +8 -8
  73. package/dist/chunks/{plugin-f75zav2x.js → state-71az546q.js} +2 -2
  74. package/dist/chunks/{plugin-7bmhse3q.js → state-7bmhse3q.js} +1 -1
  75. package/dist/chunks/{plugin-7dqw4kz8.js → state-7dqw4kz8.js} +1 -1
  76. package/dist/chunks/{plugin-mzpqzxtj.js → state-7e0wtkms.js} +18 -18
  77. package/dist/chunks/{plugin-w25fr9f9.js → state-7tfh8s6m.js} +32 -32
  78. package/dist/chunks/{plugin-w1eejvng.js → state-84txncab.js} +5 -5
  79. package/dist/chunks/{plugin-c59ctwfg.js → state-86pzz8c4.js} +9 -9
  80. package/dist/chunks/{plugin-9ck34fdg.js → state-88sjpthe.js} +7 -7
  81. package/dist/chunks/{plugin-zpd5qt32.js → state-89hqkma4.js} +16 -16
  82. package/dist/chunks/{plugin-wsw9xjjb.js → state-8c0dth6r.js} +31 -31
  83. package/dist/chunks/{plugin-8d7r5vzw.js → state-8d7r5vzw.js} +1 -1
  84. package/dist/chunks/{plugin-z6e4akrq.js → state-8eyw4fk8.js} +10 -10
  85. package/dist/chunks/{plugin-g99crknm.js → state-8h1j60r2.js} +20 -20
  86. package/dist/chunks/{plugin-e4qyxvqk.js → state-8ntxr6aa.js} +11 -11
  87. package/dist/chunks/{plugin-ydgym1xa.js → state-8pngkf8q.js} +17 -17
  88. package/dist/chunks/{plugin-n389n8yy.js → state-8qc73tc2.js} +185 -185
  89. package/dist/chunks/{plugin-g2qsvwwh.js → state-8snfv42w.js} +28 -28
  90. package/dist/chunks/{plugin-jebqk7jw.js → state-8t6qyhyp.js} +25 -25
  91. package/dist/chunks/{plugin-bqq66rcm.js → state-8vnprxe7.js} +4 -4
  92. package/dist/chunks/{plugin-nge6e8t3.js → state-909kf17w.js} +17 -17
  93. package/dist/chunks/{plugin-aqg4cax4.js → state-93gtw0bd.js} +11 -11
  94. package/dist/chunks/{plugin-qj72p9h2.js → state-94wqyd0k.js} +3 -3
  95. package/dist/chunks/{plugin-rhwq70n6.js → state-973dr9hw.js} +11 -11
  96. package/dist/chunks/{plugin-gkj81yr6.js → state-9b8xxv86.js} +15 -15
  97. package/dist/chunks/{plugin-kb9j3d72.js → state-9e5bzkjp.js} +3 -3
  98. package/dist/chunks/{plugin-ndp479ha.js → state-9fre5sse.js} +25 -25
  99. package/dist/chunks/{plugin-ygdna4kr.js → state-9hwaqfsw.js} +5 -5
  100. package/dist/chunks/state-9zdhvgqs.js +18 -0
  101. package/dist/chunks/{plugin-rghnzapf.js → state-9zsw43zy.js} +28 -28
  102. package/dist/chunks/{plugin-aaet6srn.js → state-aaet6srn.js} +2 -2
  103. package/dist/chunks/{plugin-mhnyy3p3.js → state-ac3w4tg1.js} +11 -11
  104. package/dist/chunks/{plugin-a1tj4w97.js → state-b0m0sqtv.js} +17 -17
  105. package/dist/chunks/{plugin-a546qe5c.js → state-b5f29xgx.js} +21 -21
  106. package/dist/chunks/{plugin-b6gygkdw.js → state-b6gygkdw.js} +2 -2
  107. package/dist/chunks/{plugin-hh2jxtdr.js → state-b762k26z.js} +68 -68
  108. package/dist/chunks/{plugin-9bk9cnp5.js → state-b9j1h4rt.js} +36 -36
  109. package/dist/chunks/{plugin-n7fvg6tv.js → state-bfs290yx.js} +11 -11
  110. package/dist/chunks/{plugin-p37cw4rj.js → state-br0tr5aq.js} +8 -8
  111. package/dist/chunks/{plugin-bxwnqnzf.js → state-bv6pjsgs.js} +23 -23
  112. package/dist/chunks/{plugin-jvq0khv9.js → state-byvwhsqc.js} +18 -18
  113. package/dist/chunks/{plugin-afabwxgp.js → state-c71c51b7.js} +6 -6
  114. package/dist/chunks/{plugin-a8bn8zg0.js → state-cavr175a.js} +4 -4
  115. package/dist/chunks/{plugin-0ghtmzcp.js → state-cbmd897h.js} +48 -48
  116. package/dist/chunks/{plugin-mpfqpskx.js → state-csm73x4e.js} +10 -10
  117. package/dist/chunks/{plugin-maheee0q.js → state-d5cem32y.js} +35 -35
  118. package/dist/chunks/{plugin-58avdj84.js → state-d945dqfg.js} +23 -23
  119. package/dist/chunks/{plugin-bwwwqt94.js → state-dan13dt5.js} +10 -10
  120. package/dist/chunks/{plugin-s2rhz4ah.js → state-dbmreddm.js} +3 -3
  121. package/dist/chunks/{plugin-g5nesaam.js → state-dn8q5098.js} +14 -14
  122. package/dist/chunks/{plugin-530jjp36.js → state-dpdfbyc3.js} +10 -10
  123. package/dist/chunks/{plugin-dpkg50ah.js → state-dpkg50ah.js} +1 -1
  124. package/dist/chunks/{plugin-4a2kvcyx.js → state-drnf6xwf.js} +2 -2
  125. package/dist/chunks/{plugin-8x81hhm0.js → state-dtjwaa49.js} +36 -36
  126. package/dist/chunks/{plugin-1xw4ekgp.js → state-e971aeta.js} +29 -29
  127. package/dist/chunks/{plugin-dmrh8gvy.js → state-e9vvwa2x.js} +24 -24
  128. package/dist/chunks/{plugin-gcbvw9h7.js → state-e9zkcnq0.js} +326 -326
  129. package/dist/chunks/{plugin-kh2dz1qf.js → state-ea7tr73m.js} +13 -13
  130. package/dist/chunks/{plugin-p4k59x61.js → state-ecx4enea.js} +26 -26
  131. package/dist/chunks/{plugin-ef5x83kb.js → state-ef5x83kb.js} +1 -1
  132. package/dist/chunks/{plugin-zy43x3f1.js → state-espax8zg.js} +4 -4
  133. package/dist/chunks/{plugin-etq0c3wd.js → state-etq0c3wd.js} +1 -1
  134. package/dist/chunks/{plugin-42ada8tk.js → state-eydxt9pj.js} +17 -17
  135. package/dist/chunks/{plugin-nje5s9z6.js → state-f21xsg09.js} +13 -13
  136. package/dist/chunks/{plugin-s4vv33mq.js → state-f5hm9jph.js} +36 -36
  137. package/dist/chunks/{plugin-pn55wrwy.js → state-f8tsdbed.js} +30 -30
  138. package/dist/chunks/{plugin-s66tm1sq.js → state-fmcpxxk1.js} +5 -5
  139. package/dist/chunks/{plugin-knqt1fk3.js → state-fp0qye03.js} +3 -3
  140. package/dist/chunks/{plugin-1rpvqjb2.js → state-fwxwf8vc.js} +29 -29
  141. package/dist/chunks/{plugin-k3kq5fdz.js → state-fy6qjb7w.js} +3 -3
  142. package/dist/chunks/{plugin-mmha00yr.js → state-g1fss3aa.js} +23 -23
  143. package/dist/chunks/{plugin-gvf59224.js → state-g7djzk09.js} +13 -13
  144. package/dist/chunks/{plugin-vdgc7sk8.js → state-g8j3nkq1.js} +3 -3
  145. package/dist/chunks/{plugin-gd4qta3r.js → state-gd4qta3r.js} +1 -1
  146. package/dist/chunks/{plugin-3ah5pgmr.js → state-gdgwqvb1.js} +51 -51
  147. package/dist/chunks/{plugin-xqkkqd5t.js → state-gqngt8w2.js} +3 -3
  148. package/dist/chunks/{plugin-sk5hrgtc.js → state-gs3s1a1g.js} +8 -8
  149. package/dist/chunks/{plugin-aby4nxsj.js → state-h0ax5cdq.js} +30 -32
  150. package/dist/chunks/{plugin-3cegwx68.js → state-h2b79v29.js} +2 -2
  151. package/dist/chunks/{plugin-h6vf3j39.js → state-h6vf3j39.js} +1 -1
  152. package/dist/chunks/{plugin-vpgtgc27.js → state-h8m34f5a.js} +4 -4
  153. package/dist/chunks/{plugin-q5sv98z1.js → state-hd6j8gz4.js} +15 -15
  154. package/dist/chunks/{plugin-b3f8fkhc.js → state-hdkng2sj.js} +5 -5
  155. package/dist/chunks/{plugin-svykb2th.js → state-hsyrampd.js} +32 -32
  156. package/dist/chunks/{plugin-vxh2w9az.js → state-hv7bcywx.js} +24 -24
  157. package/dist/chunks/{plugin-vjx4dhe3.js → state-hxwjf4m1.js} +11 -11
  158. package/dist/chunks/{plugin-j56e64zr.js → state-j56e64zr.js} +1 -1
  159. package/dist/chunks/{plugin-prq7hedt.js → state-j58c5xyq.js} +9 -9
  160. package/dist/chunks/{plugin-seybfen1.js → state-j9sjb22p.js} +87 -87
  161. package/dist/chunks/{plugin-3gmgegrq.js → state-jfdg5rtg.js} +20 -20
  162. package/dist/chunks/{plugin-w8zxs343.js → state-jhc49e06.js} +16 -16
  163. package/dist/chunks/{plugin-fy55jrv2.js → state-jhqcthf8.js} +7 -7
  164. package/dist/chunks/{plugin-cfymty4z.js → state-jj2sh7zv.js} +30 -30
  165. package/dist/chunks/{plugin-ttn9g19g.js → state-jngrqr67.js} +17 -17
  166. package/dist/chunks/{plugin-keq0amzm.js → state-jrzdhf5b.js} +13 -13
  167. package/dist/chunks/{plugin-r44petzp.js → state-jte75k51.js} +12 -12
  168. package/dist/chunks/{plugin-592e04rw.js → state-k1ga895a.js} +24 -24
  169. package/dist/chunks/{plugin-qvreyy9g.js → state-kbqjp078.js} +5 -5
  170. package/dist/chunks/{plugin-wpfn465e.js → state-kqcenne1.js} +4 -4
  171. package/dist/chunks/state-kqps6bad.js +253 -0
  172. package/dist/chunks/{plugin-n0qch2gr.js → state-kqq88ggn.js} +17 -17
  173. package/dist/chunks/{plugin-py01hhmc.js → state-kt2nv8m7.js} +11 -11
  174. package/dist/chunks/{plugin-m3fdjcah.js → state-m3fdjcah.js} +1 -1
  175. package/dist/chunks/{plugin-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
  176. package/dist/chunks/{plugin-pr301zdv.js → state-mbaznf29.js} +55 -55
  177. package/dist/chunks/{plugin-e2ts7srd.js → state-mc3v3pa2.js} +30 -30
  178. package/dist/chunks/{plugin-29eykq4v.js → state-mj0s41ck.js} +18 -18
  179. package/dist/chunks/{plugin-btfhnvjh.js → state-my4zabxr.js} +3 -3
  180. package/dist/chunks/{plugin-cnvcdvk7.js → state-mypwhdkk.js} +6 -6
  181. package/dist/chunks/{plugin-4j4tgtq5.js → state-n1n192bv.js} +4 -4
  182. package/dist/chunks/{plugin-59t371j7.js → state-n4qnjn2y.js} +3 -3
  183. package/dist/chunks/{plugin-k9wzpze3.js → state-n8p82dhe.js} +29 -29
  184. package/dist/chunks/{plugin-7k9nbph5.js → state-n9phctzh.js} +22 -22
  185. package/dist/chunks/{plugin-ns6nxdj3.js → state-nqz1z0h7.js} +1 -1
  186. package/dist/chunks/{plugin-hd8vw2pw.js → state-ns3eape4.js} +1 -1
  187. package/dist/chunks/{plugin-g6tzv9ct.js → state-ny88m09p.js} +14 -14
  188. package/dist/chunks/{plugin-gf5746j9.js → state-p231z86d.js} +11 -11
  189. package/dist/chunks/{plugin-32hdvsd1.js → state-p3ywy9md.js} +9 -9
  190. package/dist/chunks/{plugin-w4dx7hzn.js → state-p46w8f27.js} +3 -3
  191. package/dist/chunks/{plugin-5eqgw8nb.js → state-p4eehdyd.js} +8 -8
  192. package/dist/chunks/{plugin-h3gq0wn1.js → state-p7e0sywk.js} +44 -44
  193. package/dist/chunks/{plugin-g3khgvgp.js → state-p9gcp42t.js} +54 -54
  194. package/dist/chunks/{plugin-9f659gft.js → state-pfw3e90a.js} +9 -9
  195. package/dist/chunks/{plugin-pjvnvgmy.js → state-pjvnvgmy.js} +1 -1
  196. package/dist/chunks/{plugin-pknna89w.js → state-pknna89w.js} +1 -1
  197. package/dist/chunks/{plugin-4p82swk3.js → state-pkzjbd09.js} +5 -5
  198. package/dist/chunks/{plugin-7bwettt8.js → state-pmykgg8c.js} +8 -8
  199. package/dist/chunks/{plugin-gm6expwy.js → state-px82hka4.js} +25 -25
  200. package/dist/chunks/{plugin-py3kkmfq.js → state-py3kkmfq.js} +2 -2
  201. package/dist/chunks/{plugin-aepc0ehj.js → state-pz5sph25.js} +25 -25
  202. package/dist/chunks/{plugin-q0xm7vwc.js → state-q0xm7vwc.js} +2 -2
  203. package/dist/chunks/{plugin-6b8kbxwq.js → state-q1ee63dc.js} +9 -9
  204. package/dist/chunks/{plugin-9j62v1na.js → state-q6khfqja.js} +5 -5
  205. package/dist/chunks/{plugin-bn6g6p4n.js → state-qc1gh2j1.js} +10 -10
  206. package/dist/chunks/{plugin-djszqvmq.js → state-qmqgtz8f.js} +9 -9
  207. package/dist/chunks/{plugin-qnc92qwc.js → state-qnc92qwc.js} +1 -1
  208. package/dist/chunks/{plugin-0bg0bx69.js → state-qr6f2pwv.js} +7 -7
  209. package/dist/chunks/{plugin-qsdy395h.js → state-qsdy395h.js} +1 -1
  210. package/dist/chunks/{plugin-xyafkbt0.js → state-qxjc9qry.js} +3 -3
  211. package/dist/chunks/{plugin-hgt7erew.js → state-r40bckrt.js} +8 -8
  212. package/dist/chunks/{plugin-2a6rn6yr.js → state-r5wgqceq.js} +6 -6
  213. package/dist/chunks/{plugin-mhkvc446.js → state-r5x6zcsm.js} +3 -3
  214. package/dist/chunks/{plugin-xk6sbjp1.js → state-raw9brj8.js} +9 -9
  215. package/dist/chunks/{plugin-rdw6cm16.js → state-rdw6cm16.js} +1 -1
  216. package/dist/chunks/{plugin-wc1qr0sj.js → state-rew73zxc.js} +11 -11
  217. package/dist/chunks/{plugin-9m5s7xmk.js → state-rhgpg4e0.js} +37 -37
  218. package/dist/chunks/{plugin-yp2x3t23.js → state-rhraev7y.js} +4 -4
  219. package/dist/chunks/{plugin-y6kccm89.js → state-rtathh62.js} +8 -8
  220. package/dist/chunks/{plugin-xp6rvhe2.js → state-rvs38pn0.js} +9 -9
  221. package/dist/chunks/{plugin-wv396vej.js → state-s8d7rejh.js} +8 -8
  222. package/dist/chunks/{plugin-te665yay.js → state-s95j5qxz.js} +15 -15
  223. package/dist/chunks/{plugin-rkse2x0j.js → state-sa6q0sr8.js} +17 -17
  224. package/dist/chunks/{plugin-qes05c22.js → state-sg9fmgqt.js} +44 -44
  225. package/dist/chunks/{plugin-whbvrzaq.js → state-sn21bnb2.js} +20 -20
  226. package/dist/chunks/{plugin-h7zfyhdd.js → state-sp8t9wc6.js} +13 -13
  227. package/dist/chunks/{plugin-5xs2yarg.js → state-sraxnq5r.js} +26 -26
  228. package/dist/chunks/{plugin-7cr7kbfa.js → state-st3bvm3z.js} +1 -1
  229. package/dist/chunks/{plugin-9njedpex.js → state-sy0mtapm.js} +8 -8
  230. package/dist/chunks/{plugin-qm0v3jhh.js → state-t2fc4mz5.js} +7 -7
  231. package/dist/chunks/{plugin-tazgh4e4.js → state-tazgh4e4.js} +1 -1
  232. package/dist/chunks/{plugin-tcezcvh9.js → state-tcezcvh9.js} +1 -1
  233. package/dist/chunks/{plugin-tdstcens.js → state-tdstcens.js} +1 -1
  234. package/dist/chunks/{plugin-pt41nrzb.js → state-tjw6xf46.js} +26 -26
  235. package/dist/chunks/{plugin-62hsdztg.js → state-tk1fp2k0.js} +10 -10
  236. package/dist/chunks/{plugin-sjhf83m2.js → state-tw9sy4ky.js} +11 -11
  237. package/dist/chunks/{plugin-g0eqw7vj.js → state-v03amwsg.js} +16 -16
  238. package/dist/chunks/{plugin-6nam3y6a.js → state-v3kds7by.js} +21 -21
  239. package/dist/chunks/{plugin-mdwkzxwq.js → state-v9gds4fw.js} +46 -46
  240. package/dist/chunks/{plugin-w43yw030.js → state-vaj4218p.js} +5 -5
  241. package/dist/chunks/{plugin-veqvce7d.js → state-veqvce7d.js} +1 -1
  242. package/dist/chunks/{plugin-p8v7gray.js → state-vfsag6yk.js} +9 -9
  243. package/dist/chunks/{plugin-29g2crnb.js → state-vg7wcjck.js} +14 -14
  244. package/dist/chunks/{plugin-ak9msbxp.js → state-vhk0cnae.js} +6 -6
  245. package/dist/chunks/{plugin-gy1e9esd.js → state-vktb4bc8.js} +18 -18
  246. package/dist/chunks/{plugin-vzcthcp8.js → state-vzcthcp8.js} +1 -1
  247. package/dist/chunks/{plugin-vzs5sf6e.js → state-vzs5sf6e.js} +1 -1
  248. package/dist/chunks/{plugin-7x15szr3.js → state-w0pbycsx.js} +11 -11
  249. package/dist/chunks/{plugin-1pxz8ven.js → state-w39jehkq.js} +5 -5
  250. package/dist/chunks/{plugin-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
  251. package/dist/chunks/{plugin-bz068n2q.js → state-w8r2knnq.js} +21 -21
  252. package/dist/chunks/{plugin-7mvfv48b.js → state-wa8c4pwg.js} +5 -5
  253. package/dist/chunks/{plugin-yssjxqzx.js → state-wby16mgw.js} +8 -8
  254. package/dist/chunks/{plugin-wd87259q.js → state-wd87259q.js} +1 -1
  255. package/dist/chunks/{plugin-qkb64swz.js → state-wqa2ds3j.js} +11 -11
  256. package/dist/chunks/{plugin-yz16v67g.js → state-wsb67xeh.js} +11 -11
  257. package/dist/chunks/{plugin-r2s5mzj1.js → state-wt1200yk.js} +4 -4
  258. package/dist/chunks/{plugin-x1ezjp6w.js → state-x1ezjp6w.js} +1 -1
  259. package/dist/chunks/{plugin-08tmw935.js → state-x1y3x1aj.js} +5 -5
  260. package/dist/chunks/{plugin-k22b66k8.js → state-x661k3y3.js} +4 -4
  261. package/dist/chunks/{plugin-b6h23dgp.js → state-x9e8217n.js} +12 -12
  262. package/dist/chunks/{plugin-xfkkasph.js → state-xfkkasph.js} +1 -1
  263. package/dist/chunks/{plugin-xkntkrq7.js → state-xkntkrq7.js} +2 -2
  264. package/dist/chunks/{plugin-8wvbgzhc.js → state-xpzvwsxq.js} +9 -9
  265. package/dist/chunks/{plugin-9v7q5m1c.js → state-xxtx82bf.js} +15 -15
  266. package/dist/chunks/{plugin-k4wmp9nh.js → state-xxyjb3m7.js} +36 -36
  267. package/dist/chunks/{plugin-y1fvbwt7.js → state-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{plugin-yy6k95dt.js → state-ybgh13y4.js} +38 -38
  269. package/dist/chunks/{plugin-wpvpdrjr.js → state-ymz5hgvb.js} +4 -4
  270. package/dist/chunks/{plugin-js7acmhb.js → state-ypzxwbyd.js} +3 -3
  271. package/dist/chunks/{plugin-37n8qkst.js → state-yq5dzq7s.js} +11 -11
  272. package/dist/chunks/{plugin-yrhqyw5v.js → state-yrhqyw5v.js} +1 -1
  273. package/dist/chunks/{plugin-6ne101av.js → state-yrxxtv3n.js} +27 -27
  274. package/dist/chunks/{plugin-7sjb06ew.js → state-ys6344d6.js} +11 -11
  275. package/dist/chunks/{plugin-w81m6cf9.js → state-ysd7vb1z.js} +25 -25
  276. package/dist/chunks/{plugin-cn6q53zc.js → state-yxwprvvc.js} +11 -11
  277. package/dist/chunks/{plugin-z0bkrqjs.js → state-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{plugin-g7pyd2xg.js → state-z3tfttx3.js} +25 -25
  279. package/dist/chunks/{plugin-53751w34.js → state-zawmcqxv.js} +32 -32
  280. package/dist/chunks/{plugin-t7n9q6bq.js → state-zee1rnkq.js} +4 -4
  281. package/dist/chunks/{plugin-0me0fk48.js → state-zfs8ae4p.js} +4 -4
  282. package/dist/chunks/{plugin-zr2ceqn5.js → state-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{plugin-na8rrp7m.js → state-ztn91se7.js} +35 -35
  284. package/dist/chunks/{plugin-zxq2ej10.js → state-zxq2ej10.js} +1 -1
  285. package/dist/chunks/{plugin-w758s7nv.js → state-zyznzm79.js} +39 -39
  286. package/dist/codemode/catalog.js +1 -1
  287. package/dist/codemode/instructions.js +5 -5
  288. package/dist/codemode/tool.js +3 -3
  289. package/dist/codemode/web.js +1 -1
  290. package/dist/command.js +85 -85
  291. package/dist/config/discovery.js +82 -82
  292. package/dist/config/markdown.js +1 -1
  293. package/dist/config/normalize.js +99 -99
  294. package/dist/config/plugin/agent.js +118 -118
  295. package/dist/config/plugin/command.js +207 -207
  296. package/dist/config/plugin/compaction.js +154 -154
  297. package/dist/config/plugin/compatibility.js +134 -134
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +117 -117
  300. package/dist/config/plugin/image.js +116 -116
  301. package/dist/config/plugin/instruction.js +90 -90
  302. package/dist/config/plugin/location-watcher.js +116 -116
  303. package/dist/config/plugin/mcp.js +125 -125
  304. package/dist/config/plugin/policy.js +117 -117
  305. package/dist/config/plugin/provider.js +116 -116
  306. package/dist/config/plugin/reference.js +118 -118
  307. package/dist/config/plugin/shell.js +118 -118
  308. package/dist/config/plugin/skill-file.js +102 -102
  309. package/dist/config/plugin/skill.js +137 -137
  310. package/dist/config/plugin/snapshot.js +116 -116
  311. package/dist/config/plugin/source.js +119 -119
  312. package/dist/config/plugin/tool-output.js +117 -117
  313. package/dist/config/plugin/websearch.js +117 -117
  314. package/dist/config/plugin/worktree.js +118 -118
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +117 -117
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +85 -85
  320. package/dist/database/database.js +66 -66
  321. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +13 -13
  325. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  328. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  330. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  336. package/dist/database/drizzle.js +14 -14
  337. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  338. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  339. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  340. package/dist/database/migration/20260225215848_workspace.js +1 -1
  341. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  342. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  343. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  344. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  345. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  346. package/dist/database/migration/20260323234822_events.js +1 -1
  347. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  348. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  349. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  350. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  351. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  352. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  353. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  354. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  355. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  356. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  357. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  358. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  359. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  360. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  361. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  362. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  363. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  364. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  365. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  366. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  367. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  368. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  369. package/dist/database/migration/20260611035744_credential.js +1 -1
  370. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  371. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  372. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  373. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  374. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  375. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  376. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  377. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  378. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  379. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  380. package/dist/database/migration/20260812213948_worktree.js +1 -1
  381. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  382. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  383. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  384. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  385. package/dist/database/migration.gen.js +49 -49
  386. package/dist/database/migration.js +51 -51
  387. package/dist/database/path.js +2 -2
  388. package/dist/database/schema.gen.js +1 -1
  389. package/dist/database/schema.sql.js +1 -1
  390. package/dist/database/sqlite.bun.js +1 -1
  391. package/dist/database/sqlite.js +1 -1
  392. package/dist/database/sqlite.node.js +1 -1
  393. package/dist/database/sqlite.workerd.js +1 -1
  394. package/dist/database/v1-migration.bun.js +76 -76
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +364 -364
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +1 -1
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +93 -93
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +95 -95
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +1 -1
  408. package/dist/event/sql.js +1 -1
  409. package/dist/event-logger.js +70 -70
  410. package/dist/file-access.js +104 -104
  411. package/dist/file-mutation.js +94 -94
  412. package/dist/file-retention.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/location-watcher-policy.js +6 -6
  418. package/dist/filesystem/location-watcher.js +218 -218
  419. package/dist/filesystem/protected.js +1 -1
  420. package/dist/filesystem/search.js +103 -103
  421. package/dist/filesystem/watcher-binding.js +1 -1
  422. package/dist/filesystem/watcher.js +11 -11
  423. package/dist/filesystem.js +106 -106
  424. package/dist/form.js +86 -86
  425. package/dist/formatter/builtins.js +4 -4
  426. package/dist/formatter.js +87 -87
  427. package/dist/generate.js +105 -105
  428. package/dist/git.js +10 -10
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +99 -99
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/image/photon.js +2 -2
  449. package/dist/image.js +6 -6
  450. package/dist/instance/service.js +5 -5
  451. package/dist/instance.js +355 -355
  452. package/dist/instruction-discovery.js +85 -85
  453. package/dist/instructions/builtins.js +87 -87
  454. package/dist/instructions/index.js +5 -5
  455. package/dist/integration/connection.js +3 -3
  456. package/dist/integration.js +87 -87
  457. package/dist/job.js +78 -78
  458. package/dist/kv/sql.js +2 -2
  459. package/dist/kv.js +73 -73
  460. package/dist/location-activity.js +131 -131
  461. package/dist/location-lifecycle.js +107 -107
  462. package/dist/location-service-map.js +86 -86
  463. package/dist/location-services.js +352 -352
  464. package/dist/location.js +87 -87
  465. package/dist/managed-policy.js +5 -5
  466. package/dist/mcp/client.js +91 -91
  467. package/dist/mcp/index.js +109 -109
  468. package/dist/mcp/instructions.js +129 -129
  469. package/dist/mcp/oauth.js +78 -78
  470. package/dist/mcp/stdio.js +90 -90
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +99 -99
  473. package/dist/model-resolver.js +98 -98
  474. package/dist/model.js +102 -102
  475. package/dist/models-dev.js +101 -101
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +80 -80
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +113 -113
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +88 -88
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +75 -75
  485. package/dist/plugin/agent.js +104 -104
  486. package/dist/plugin/command.js +102 -102
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +211 -211
  489. package/dist/plugin/identity.js +3 -3
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +327 -327
  492. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  493. package/dist/plugin/models-dev.js +96 -96
  494. package/dist/plugin/module.js +7 -7
  495. package/dist/plugin/optimize.js +2 -2
  496. package/dist/plugin/plan.js +102 -102
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  499. package/dist/plugin/provider/azure.js +117 -117
  500. package/dist/plugin/provider/cerebras.js +1 -1
  501. package/dist/plugin/provider/chatgpt.js +93 -93
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +112 -112
  506. package/dist/plugin/provider/digitalocean.js +93 -93
  507. package/dist/plugin/provider/dynamic.js +2 -2
  508. package/dist/plugin/provider/factory.js +1 -1
  509. package/dist/plugin/provider/gateway.js +2 -2
  510. package/dist/plugin/provider/github-copilot.js +95 -95
  511. package/dist/plugin/provider/gitlab.js +93 -93
  512. package/dist/plugin/provider/google-vertex.js +90 -90
  513. package/dist/plugin/provider/kilo.js +1 -1
  514. package/dist/plugin/provider/llmgateway.js +78 -78
  515. package/dist/plugin/provider/lmstudio.js +115 -115
  516. package/dist/plugin/provider/modal.js +92 -92
  517. package/dist/plugin/provider/nvidia.js +1 -1
  518. package/dist/plugin/provider/ollama.js +115 -115
  519. package/dist/plugin/provider/openai.js +93 -93
  520. package/dist/plugin/provider/opencode.js +96 -96
  521. package/dist/plugin/provider/openrouter.js +91 -91
  522. package/dist/plugin/provider/perplexity.js +2 -2
  523. package/dist/plugin/provider/poe.js +79 -79
  524. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  525. package/dist/plugin/provider/sap-ai-core.js +91 -91
  526. package/dist/plugin/provider/sdk-factory.js +1 -1
  527. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  528. package/dist/plugin/provider/venice.js +2 -2
  529. package/dist/plugin/provider/vercel.js +90 -90
  530. package/dist/plugin/provider/vllm.js +115 -115
  531. package/dist/plugin/provider/xai.js +91 -91
  532. package/dist/plugin/provider/zenmux.js +1 -1
  533. package/dist/plugin/provider.js +156 -156
  534. package/dist/plugin/sdk.js +76 -76
  535. package/dist/plugin/service.js +3 -3
  536. package/dist/plugin/skill.js +134 -134
  537. package/dist/plugin/source-directory.js +1 -1
  538. package/dist/plugin/supervisor.js +346 -346
  539. package/dist/plugin/tool-input-repair.js +4 -4
  540. package/dist/plugin/update.js +6 -6
  541. package/dist/plugin/vcs/git.js +86 -86
  542. package/dist/plugin/vcs/hg.js +86 -86
  543. package/dist/plugin/verbosity.js +93 -93
  544. package/dist/plugin/warming.js +114 -114
  545. package/dist/plugin/websearch/exa.js +7 -7
  546. package/dist/plugin/websearch/firecrawl.js +8 -8
  547. package/dist/plugin/websearch/index.js +9 -9
  548. package/dist/plugin/websearch/mcp.js +4 -4
  549. package/dist/plugin/websearch/parallel.js +8 -8
  550. package/dist/plugin/websearch/tavily.js +6 -6
  551. package/dist/plugin/websearch/tinyfish.js +8 -8
  552. package/dist/plugin.js +218 -218
  553. package/dist/project/schema.js +6 -6
  554. package/dist/project/sql.js +4 -4
  555. package/dist/project.js +90 -90
  556. package/dist/provider.js +101 -101
  557. package/dist/pty/protocol.js +1 -1
  558. package/dist/pty/ticket.js +1 -1
  559. package/dist/pty.js +91 -91
  560. package/dist/reference/instructions.js +89 -89
  561. package/dist/reference.js +91 -91
  562. package/dist/repository-cache.js +81 -81
  563. package/dist/repository.js +3 -3
  564. package/dist/ripgrep/binary.js +2 -2
  565. package/dist/ripgrep.js +97 -97
  566. package/dist/rpc.js +86 -86
  567. package/dist/schema.js +1 -1
  568. package/dist/session/affinity.js +1 -1
  569. package/dist/session/command.js +74 -74
  570. package/dist/session/compaction.js +133 -133
  571. package/dist/session/context.js +153 -153
  572. package/dist/session/diff.js +88 -88
  573. package/dist/session/environment.js +5 -5
  574. package/dist/session/error.js +5 -5
  575. package/dist/session/event.js +1 -1
  576. package/dist/session/execution/restart.js +214 -214
  577. package/dist/session/execution.js +125 -125
  578. package/dist/session/generate.js +154 -154
  579. package/dist/session/history.js +13 -13
  580. package/dist/session/inbox.js +90 -90
  581. package/dist/session/info.js +3 -3
  582. package/dist/session/instruction-entry.js +79 -79
  583. package/dist/session/instruction-state.js +8 -8
  584. package/dist/session/instructions.js +93 -93
  585. package/dist/session/message-updater.js +2 -2
  586. package/dist/session/message.js +1 -1
  587. package/dist/session/model-request.js +120 -120
  588. package/dist/session/model-transport.js +9 -9
  589. package/dist/session/move.js +129 -129
  590. package/dist/session/projector.js +86 -86
  591. package/dist/session/prompt.js +105 -105
  592. package/dist/session/provider-context.js +3 -3
  593. package/dist/session/revert.js +90 -90
  594. package/dist/session/run-coordinator.js +3 -3
  595. package/dist/session/runner/index.js +3 -3
  596. package/dist/session/runner/llm.js +224 -224
  597. package/dist/session/runner/max-steps.js +1 -1
  598. package/dist/session/runner/model.js +98 -98
  599. package/dist/session/runner/publish-llm-event.js +113 -113
  600. package/dist/session/runner/retry.js +4 -4
  601. package/dist/session/runner/step.js +125 -125
  602. package/dist/session/runner/to-llm-message.js +2 -2
  603. package/dist/session/schema.js +5 -5
  604. package/dist/session/session.js +162 -162
  605. package/dist/session/shell.js +130 -130
  606. package/dist/session/skill.js +103 -103
  607. package/dist/session/sql.js +5 -5
  608. package/dist/session/stats.js +73 -73
  609. package/dist/session/store.js +85 -85
  610. package/dist/session/subagent-completion.js +1 -1
  611. package/dist/session/subagent-job.js +203 -203
  612. package/dist/session/system-prompt.js +1 -1
  613. package/dist/session/title.js +157 -157
  614. package/dist/session/to-session-error.js +111 -111
  615. package/dist/session/transfer.js +210 -210
  616. package/dist/session/usage.js +1 -1
  617. package/dist/session.js +211 -211
  618. package/dist/shell/parse.js +6 -6
  619. package/dist/shell/result.js +1 -1
  620. package/dist/shell/scan.js +1 -1
  621. package/dist/shell/select.js +13 -13
  622. package/dist/shell.js +132 -132
  623. package/dist/skill/discovery.js +6 -6
  624. package/dist/skill/instructions.js +107 -107
  625. package/dist/skill.js +114 -114
  626. package/dist/snapshot.js +89 -89
  627. package/dist/state.js +1 -1
  628. package/dist/tool/html-markdown.js +1 -1
  629. package/dist/tool/http-body.js +1 -1
  630. package/dist/tool/mcp.js +128 -128
  631. package/dist/tool/plugin/edit.js +120 -120
  632. package/dist/tool/plugin/file-diff.js +1 -1
  633. package/dist/tool/plugin/glob.js +124 -124
  634. package/dist/tool/plugin/grep.js +124 -124
  635. package/dist/tool/plugin/mcp-resource.js +117 -117
  636. package/dist/tool/plugin/opencode.js +3 -3
  637. package/dist/tool/plugin/patch.js +122 -122
  638. package/dist/tool/plugin/question.js +105 -105
  639. package/dist/tool/plugin/read.js +125 -125
  640. package/dist/tool/plugin/shell.js +210 -210
  641. package/dist/tool/plugin/skill.js +111 -111
  642. package/dist/tool/plugin/subagent.js +208 -208
  643. package/dist/tool/plugin/webfetch.js +104 -104
  644. package/dist/tool/plugin/websearch.js +114 -114
  645. package/dist/tool/plugin/write.js +122 -122
  646. package/dist/tool/read-filesystem.js +100 -100
  647. package/dist/tool/runtime.js +1 -1
  648. package/dist/tool-output.js +7 -7
  649. package/dist/tool.js +16 -16
  650. package/dist/types/persistent-pty/daemon.d.ts +4 -4
  651. package/dist/types/persistent-pty/index.d.ts +2 -0
  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 +5 -5
  662. package/dist/v1/config/command.js +5 -5
  663. package/dist/v1/config/error.js +2 -2
  664. package/dist/v1/config/mcp.js +4 -4
  665. package/dist/v1/config/migrate.js +92 -92
  666. package/dist/v1/config/permission.js +3 -3
  667. package/dist/v1/config/plugin.js +1 -1
  668. package/dist/v1/config/provider-options.js +1 -1
  669. package/dist/v1/config/provider.js +4 -4
  670. package/dist/variant.js +91 -91
  671. package/dist/vcs/patch.js +1 -1
  672. package/dist/vcs.js +89 -89
  673. package/dist/websearch.js +84 -84
  674. package/dist/wellknown/plugin.js +76 -76
  675. package/dist/wellknown.js +77 -77
  676. package/dist/workspace/driver.js +5 -5
  677. package/dist/workspace/sql.js +1 -1
  678. package/dist/workspace.js +80 -80
  679. package/dist/worktree/directory.js +2 -2
  680. package/dist/worktree/git.js +10 -10
  681. package/dist/worktree/sql.js +5 -5
  682. package/dist/worktree/strategies.js +89 -89
  683. package/dist/worktree.js +96 -96
  684. package/package.json +10 -10
  685. package/dist/chunks/plugin-619r8v3y.js +0 -18
  686. package/dist/chunks/plugin-9pk6az91.js +0 -26
  687. package/dist/chunks/plugin-pjqdv965.js +0 -253
  688. /package/dist/chunks/{plugin-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
  689. /package/dist/chunks/{plugin-0zkw76rk.js → state-0zkw76rk.js} +0 -0
  690. /package/dist/chunks/{plugin-17cy0kzp.js → state-17cy0kzp.js} +0 -0
  691. /package/dist/chunks/{plugin-1cnp2v09.js → state-1cnp2v09.js} +0 -0
  692. /package/dist/chunks/{plugin-1kg9ymc8.js → state-1kg9ymc8.js} +0 -0
  693. /package/dist/chunks/{plugin-24dcb14g.js → state-24dcb14g.js} +0 -0
  694. /package/dist/chunks/{plugin-2710q6r3.js → state-2710q6r3.js} +0 -0
  695. /package/dist/chunks/{plugin-2axfhc9x.js → state-2axfhc9x.js} +0 -0
  696. /package/dist/chunks/{plugin-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
  697. /package/dist/chunks/{plugin-34c7v6d4.js → state-34c7v6d4.js} +0 -0
  698. /package/dist/chunks/{plugin-359p4xyc.js → state-359p4xyc.js} +0 -0
  699. /package/dist/chunks/{plugin-3asan66x.js → state-3asan66x.js} +0 -0
  700. /package/dist/chunks/{plugin-3v8g72cx.js → state-3v8g72cx.js} +0 -0
  701. /package/dist/chunks/{plugin-3w5fmr99.js → state-3w5fmr99.js} +0 -0
  702. /package/dist/chunks/{plugin-3wcehsnq.js → state-3wcehsnq.js} +0 -0
  703. /package/dist/chunks/{plugin-43n2bw4t.js → state-43n2bw4t.js} +0 -0
  704. /package/dist/chunks/{plugin-4knz6hnm.js → state-4knz6hnm.js} +0 -0
  705. /package/dist/chunks/{plugin-4vcrnpx2.js → state-4vcrnpx2.js} +0 -0
  706. /package/dist/chunks/{plugin-4y7fprxs.js → state-4y7fprxs.js} +0 -0
  707. /package/dist/chunks/{plugin-53557ph1.js → state-53557ph1.js} +0 -0
  708. /package/dist/chunks/{plugin-550bvhaj.js → state-550bvhaj.js} +0 -0
  709. /package/dist/chunks/{plugin-5qd3pb7m.js → state-5qd3pb7m.js} +0 -0
  710. /package/dist/chunks/{plugin-6prwharc.js → state-6prwharc.js} +0 -0
  711. /package/dist/chunks/{plugin-7akdwqpd.js → state-7akdwqpd.js} +0 -0
  712. /package/dist/chunks/{plugin-7m9af43g.js → state-7m9af43g.js} +0 -0
  713. /package/dist/chunks/{plugin-822emrt2.js → state-822emrt2.js} +0 -0
  714. /package/dist/chunks/{plugin-88xbtdfr.js → state-88xbtdfr.js} +0 -0
  715. /package/dist/chunks/{plugin-8n3pysct.js → state-8n3pysct.js} +0 -0
  716. /package/dist/chunks/{plugin-8wj87zfr.js → state-8wj87zfr.js} +0 -0
  717. /package/dist/chunks/{plugin-9a4afbnw.js → state-9a4afbnw.js} +0 -0
  718. /package/dist/chunks/{plugin-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
  719. /package/dist/chunks/{plugin-a6k6eb26.js → state-a6k6eb26.js} +0 -0
  720. /package/dist/chunks/{plugin-af5trqkr.js → state-af5trqkr.js} +0 -0
  721. /package/dist/chunks/{plugin-afrmfg78.js → state-afrmfg78.js} +0 -0
  722. /package/dist/chunks/{plugin-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
  723. /package/dist/chunks/{plugin-atq7p7m5.js → state-atq7p7m5.js} +0 -0
  724. /package/dist/chunks/{plugin-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
  725. /package/dist/chunks/{plugin-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
  726. /package/dist/chunks/{plugin-cf4snx6d.js → state-cf4snx6d.js} +0 -0
  727. /package/dist/chunks/{plugin-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
  728. /package/dist/chunks/{plugin-d9fn303g.js → state-d9fn303g.js} +0 -0
  729. /package/dist/chunks/{plugin-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
  730. /package/dist/chunks/{plugin-dajrwvna.js → state-dajrwvna.js} +0 -0
  731. /package/dist/chunks/{plugin-dap0rakb.js → state-dap0rakb.js} +0 -0
  732. /package/dist/chunks/{plugin-df08tz66.js → state-df08tz66.js} +0 -0
  733. /package/dist/chunks/{plugin-dy18nga0.js → state-dy18nga0.js} +0 -0
  734. /package/dist/chunks/{plugin-e5kj55wp.js → state-e5kj55wp.js} +0 -0
  735. /package/dist/chunks/{plugin-e73j6tqm.js → state-e73j6tqm.js} +0 -0
  736. /package/dist/chunks/{plugin-ec1grn59.js → state-ec1grn59.js} +0 -0
  737. /package/dist/chunks/{plugin-eh3zwz77.js → state-eh3zwz77.js} +0 -0
  738. /package/dist/chunks/{plugin-emrn6kk6.js → state-emrn6kk6.js} +0 -0
  739. /package/dist/chunks/{plugin-f0mxakyp.js → state-f0mxakyp.js} +0 -0
  740. /package/dist/chunks/{plugin-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
  741. /package/dist/chunks/{plugin-faypxj3z.js → state-faypxj3z.js} +0 -0
  742. /package/dist/chunks/{plugin-fd410y7t.js → state-fd410y7t.js} +0 -0
  743. /package/dist/chunks/{plugin-fxgpk5d8.js → state-fxgpk5d8.js} +0 -0
  744. /package/dist/chunks/{plugin-g4wezp1m.js → state-g4wezp1m.js} +0 -0
  745. /package/dist/chunks/{plugin-g86h250q.js → state-g86h250q.js} +0 -0
  746. /package/dist/chunks/{plugin-gebd4c9n.js → state-gebd4c9n.js} +0 -0
  747. /package/dist/chunks/{plugin-gftt206x.js → state-gftt206x.js} +0 -0
  748. /package/dist/chunks/{plugin-hjbc5kem.js → state-hjbc5kem.js} +0 -0
  749. /package/dist/chunks/{plugin-hk9envan.js → state-hk9envan.js} +0 -0
  750. /package/dist/chunks/{plugin-j2ntwpah.js → state-j2ntwpah.js} +0 -0
  751. /package/dist/chunks/{plugin-j5zkgpj8.js → state-j5zkgpj8.js} +0 -0
  752. /package/dist/chunks/{plugin-jjkms2e6.js → state-jjkms2e6.js} +0 -0
  753. /package/dist/chunks/{plugin-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
  754. /package/dist/chunks/{plugin-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
  755. /package/dist/chunks/{plugin-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
  756. /package/dist/chunks/{plugin-mp448xyj.js → state-mp448xyj.js} +0 -0
  757. /package/dist/chunks/{plugin-msx8hqn2.js → state-msx8hqn2.js} +0 -0
  758. /package/dist/chunks/{plugin-n05xt0ee.js → state-n05xt0ee.js} +0 -0
  759. /package/dist/chunks/{plugin-n3j8tn72.js → state-n3j8tn72.js} +0 -0
  760. /package/dist/chunks/{plugin-njntx4h6.js → state-njntx4h6.js} +0 -0
  761. /package/dist/chunks/{plugin-q3sfg36h.js → state-q3sfg36h.js} +0 -0
  762. /package/dist/chunks/{plugin-q74kybfr.js → state-q74kybfr.js} +0 -0
  763. /package/dist/chunks/{plugin-qaymkmh1.js → state-qaymkmh1.js} +0 -0
  764. /package/dist/chunks/{plugin-qb87gjwd.js → state-qb87gjwd.js} +0 -0
  765. /package/dist/chunks/{plugin-qfa1cgps.js → state-qfa1cgps.js} +0 -0
  766. /package/dist/chunks/{plugin-qg3g05ea.js → state-qg3g05ea.js} +0 -0
  767. /package/dist/chunks/{plugin-qrg20bc0.js → state-qrg20bc0.js} +0 -0
  768. /package/dist/chunks/{plugin-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
  769. /package/dist/chunks/{plugin-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
  770. /package/dist/chunks/{plugin-ssg3fenm.js → state-ssg3fenm.js} +0 -0
  771. /package/dist/chunks/{plugin-w803qqfp.js → state-w803qqfp.js} +0 -0
  772. /package/dist/chunks/{plugin-wc3fc9cn.js → state-wc3fc9cn.js} +0 -0
  773. /package/dist/chunks/{plugin-wer8tq1h.js → state-wer8tq1h.js} +0 -0
  774. /package/dist/chunks/{plugin-wtztk69x.js → state-wtztk69x.js} +0 -0
  775. /package/dist/chunks/{plugin-x0ckcb58.js → state-x0ckcb58.js} +0 -0
  776. /package/dist/chunks/{plugin-x61499pn.js → state-x61499pn.js} +0 -0
  777. /package/dist/chunks/{plugin-y44na4kk.js → state-y44na4kk.js} +0 -0
  778. /package/dist/chunks/{plugin-y8cydn3q.js → state-y8cydn3q.js} +0 -0
  779. /package/dist/chunks/{plugin-y8f7s663.js → state-y8f7s663.js} +0 -0
  780. /package/dist/chunks/{plugin-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
  781. /package/dist/chunks/{plugin-ym463w8f.js → state-ym463w8f.js} +0 -0
  782. /package/dist/chunks/{plugin-z5v4ffb3.js → state-z5v4ffb3.js} +0 -0
  783. /package/dist/chunks/{plugin-z9919s4g.js → state-z9919s4g.js} +0 -0
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  Service83
3
- } from "./plugin-r2s5mzj1.js";
3
+ } from "./state-wt1200yk.js";
4
4
  import {
5
- Service66
6
- } from "./plugin-z6e4akrq.js";
5
+ Service70
6
+ } from "./state-8eyw4fk8.js";
7
7
  import {
8
8
  group2,
9
9
  batch2,
10
10
  shutdown2,
11
11
  inherit2
12
- } from "./plugin-rdw6cm16.js";
12
+ } from "./state-rdw6cm16.js";
13
13
  import {
14
- Service35,
14
+ Service30,
15
15
  awaitActivation2
16
- } from "./plugin-619r8v3y.js";
16
+ } from "./state-9zdhvgqs.js";
17
17
  import {
18
18
  make12,
19
19
  requirements3,
20
20
  storage2
21
- } from "./plugin-n389n8yy.js";
21
+ } from "./state-8qc73tc2.js";
22
22
  import {
23
23
  __export
24
- } from "./plugin-9rqn6x4v.js";
24
+ } from "./state-9rqn6x4v.js";
25
25
 
26
26
  // src/plugin.ts
27
27
  var exports_plugin2 = {};
28
28
  __export(exports_plugin2, {
29
- Event: () => Event5,
29
+ Event: () => Event4,
30
30
  ID: () => ID3,
31
31
  Info: () => Info3,
32
32
  Plugin: () => exports_plugin2,
33
- Service: () => Service35,
33
+ Service: () => Service30,
34
34
  Source: () => Source2,
35
35
  State: () => State2,
36
36
  awaitActivation: () => awaitActivation2,
37
- node: () => node24
37
+ node: () => node20
38
38
  });
39
- import { Event as Event5, ID as ID3, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
39
+ import { Event as Event4, ID as ID3, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
40
40
  import { Plugin } from "@opencode/schema/plugin";
41
41
  import { Node } from "@opencode/util/effect/app-node";
42
42
  import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
43
- var layer = Layer.effect(Service35, Effect.gen(function* () {
43
+ var layer = Layer.effect(Service30, Effect.gen(function* () {
44
44
  const bus = yield* Service83;
45
- const kv = yield* Service66;
45
+ const kv = yield* Service70;
46
46
  const scope = yield* Scope.make();
47
47
  const active = new Map;
48
48
  const lock = Semaphore.makeUnsafe(1);
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
205
205
  yield* shutdown2(Scope.close(scope, exit));
206
206
  }));
207
207
  yield* Effect.addFinalizer(close);
208
- return Service35.of({
208
+ return Service30.of({
209
209
  activate,
210
210
  close,
211
211
  awaitActivation: ready.await,
@@ -222,10 +222,10 @@ function slotInfo(slot) {
222
222
  features: { server: true, ...slot.plugin.features }
223
223
  };
224
224
  }
225
- var node24 = Node.makeLocationNode({
226
- service: Service35,
225
+ var node20 = Node.makeLocationNode({
226
+ service: Service30,
227
227
  layer,
228
228
  deps: [requirements3]
229
229
  });
230
230
 
231
- export { node24, exports_plugin2, Event5, ID3, Info3, Source2, State2 };
231
+ export { node20, exports_plugin2, Event4, ID3, Info3, Source2, State2 };
@@ -1,72 +1,72 @@
1
1
  import {
2
- Service77
3
- } from "./plugin-bxwnqnzf.js";
2
+ Service58
3
+ } from "./state-bv6pjsgs.js";
4
4
  import {
5
- Service18,
5
+ Service57,
6
6
  readText2,
7
7
  syncTextBom2
8
- } from "./plugin-keq0amzm.js";
8
+ } from "./state-jrzdhf5b.js";
9
9
  import {
10
- Service16
11
- } from "./plugin-wbhkz6w4.js";
10
+ Service14
11
+ } from "./state-1sv0vpv6.js";
12
12
  import {
13
- Service68
14
- } from "./plugin-pr301zdv.js";
13
+ Service65
14
+ } from "./state-mbaznf29.js";
15
15
  import {
16
- Service15
17
- } from "./plugin-q553k2y0.js";
16
+ Service44
17
+ } from "./state-0vmmzasy.js";
18
18
  import {
19
19
  fileDiff2
20
- } from "./plugin-6prwharc.js";
20
+ } from "./state-6prwharc.js";
21
21
  import {
22
22
  __export
23
- } from "./plugin-9rqn6x4v.js";
23
+ } from "./state-9rqn6x4v.js";
24
24
 
25
25
  // src/tool/plugin/write.ts
26
26
  var exports_write = {};
27
27
  __export(exports_write, {
28
- Input: () => Input11,
29
- Output: () => Output7,
30
- Plugin: () => Plugin12,
28
+ Input: () => Input2,
29
+ Output: () => Output2,
30
+ Plugin: () => Plugin22,
31
31
  WriteTool: () => exports_write,
32
- name: () => name11,
33
- toModelContent: () => toModelContent6
32
+ name: () => name2,
33
+ toModelContent: () => toModelContent2
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 name11 = "write";
39
- var Input11 = Schema.Struct({
38
+ var name2 = "write";
39
+ var Input2 = 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 Output7 = Schema.Struct({
45
+ var Output2 = 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 toModelContent6 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
- var Plugin12 = {
51
+ var toModelContent2 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
+ var Plugin22 = {
53
53
  id: "opencode.tool.write",
54
54
  effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
55
- const access = yield* Service15;
56
- const fileMutation = yield* Service18;
57
- const environment = yield* Service77;
58
- const formatter = yield* Service16;
59
- const permission = yield* Service68;
55
+ const access = yield* Service44;
56
+ const fileMutation = yield* Service57;
57
+ const environment = yield* Service58;
58
+ const formatter = yield* Service14;
59
+ const permission = yield* Service65;
60
60
  yield* ctx.tool.transform((editor) => editor.add({
61
- name: name11,
61
+ name: name2,
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: Input11,
69
- output: Output7,
68
+ input: Input2,
69
+ output: Output2,
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: toModelContent6(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
96
+ }).pipe(Effect.map((output) => ({ output, content: toModelContent2(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 { name11, Input11, Output7, toModelContent6, Plugin12, exports_write };
101
+ export { name2, Input2, Output2, toModelContent2, Plugin22, exports_write };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./plugin-9rqn6x4v.js";
3
+ } from "./state-9rqn6x4v.js";
4
4
 
5
5
  // src/repository.ts
6
6
  var exports_repository = {};
@@ -13,7 +13,7 @@ __export(exports_repository, {
13
13
  cachePath: () => cachePath2,
14
14
  isFile: () => isFile2,
15
15
  isRemote: () => isRemote2,
16
- parse: () => parse5,
16
+ parse: () => parse4,
17
17
  parseRemote: () => parseRemote2,
18
18
  same: () => same2,
19
19
  validateBranch: () => validateBranch3
@@ -39,7 +39,7 @@ class InvalidBranchError3 extends Schema.TaggedError()("RepositoryInvalidBranchE
39
39
  message: Schema.String
40
40
  }) {
41
41
  }
42
- function parse5(input) {
42
+ function parse4(input) {
43
43
  const cleaned = normalizeInput(input);
44
44
  if (!cleaned)
45
45
  return;
@@ -72,7 +72,7 @@ function parse5(input) {
72
72
  }
73
73
  }
74
74
  function parseRemote2(input) {
75
- const reference = parse5(input);
75
+ const reference = parse4(input);
76
76
  if (!reference) {
77
77
  throw new InvalidReferenceError2({
78
78
  repository: input,
@@ -172,4 +172,4 @@ function buildFile(input) {
172
172
  };
173
173
  }
174
174
 
175
- export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3, parse5, parseRemote2, validateBranch3, isFile2, isRemote2, cachePath2, cacheIdentity2, same2, exports_repository };
175
+ export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3, parse4, parseRemote2, validateBranch3, isFile2, isRemote2, cachePath2, cacheIdentity2, same2, exports_repository };
@@ -1,16 +1,16 @@
1
1
  import {
2
- Service68
3
- } from "./plugin-pr301zdv.js";
2
+ Service65
3
+ } from "./state-mbaznf29.js";
4
4
  import {
5
5
  MAX_MARKDOWN_BYTES2,
6
6
  convertHTMLToMarkdown2
7
- } from "./plugin-4vcrnpx2.js";
7
+ } from "./state-4vcrnpx2.js";
8
8
  import {
9
9
  collectBoundedResponseBody2
10
- } from "./plugin-3v8g72cx.js";
10
+ } from "./state-3v8g72cx.js";
11
11
  import {
12
12
  __export
13
- } from "./plugin-9rqn6x4v.js";
13
+ } from "./state-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/webfetch.ts
16
16
  var exports_webfetch = {};
@@ -19,7 +19,7 @@ __export(exports_webfetch, {
19
19
  Input: () => Input4,
20
20
  MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
21
21
  MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
22
- Plugin: () => Plugin4,
22
+ Plugin: () => Plugin25,
23
23
  WebFetchTool: () => exports_webfetch,
24
24
  convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
25
25
  description: () => description2,
@@ -92,11 +92,11 @@ var convert = (content, contentType, format) => {
92
92
  return extractTextFromHTML2(content);
93
93
  return content;
94
94
  };
95
- var Plugin4 = {
95
+ var Plugin25 = {
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* Service68;
99
+ const permission = yield* Service65;
100
100
  yield* ctx.tool.transform((editor) => editor.add({
101
101
  name: name4,
102
102
  options: { codemode: false },
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
167
167
  parser.end();
168
168
  return text.trim();
169
169
  }
170
- export { name4, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description2, Input4, Plugin4, extractTextFromHTML2, exports_webfetch };
170
+ export { name4, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description2, Input4, Plugin25, extractTextFromHTML2, exports_webfetch };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  latest2,
3
- Service53
4
- } from "./plugin-xn3aq1vn.js";
3
+ Service51
4
+ } from "./state-0habsvra.js";
5
5
  import {
6
6
  __export
7
- } from "./plugin-9rqn6x4v.js";
7
+ } from "./state-9rqn6x4v.js";
8
8
 
9
9
  // src/plugin/warming.ts
10
10
  var exports_warming = {};
11
11
  __export(exports_warming, {
12
- Plugin: () => Plugin25,
12
+ Plugin: () => Plugin44,
13
13
  WarmingPlugin: () => exports_warming
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
@@ -19,10 +19,10 @@ var defaults = {
19
19
  interval: Duration.minutes(4),
20
20
  duration: Duration.minutes(30)
21
21
  };
22
- var Plugin25 = define({
22
+ var Plugin44 = define({
23
23
  id: "opencode.warming",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service53;
25
+ const config = yield* Service51;
26
26
  const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
27
27
  const warming = latest2(yield* config.entries(), "warming");
28
28
  if (!warming)
@@ -96,4 +96,4 @@ var Plugin25 = define({
96
96
  })
97
97
  });
98
98
 
99
- export { Plugin25, exports_warming };
99
+ export { Plugin44, exports_warming };
@@ -1,43 +1,43 @@
1
1
  import {
2
2
  Service84
3
- } from "./plugin-59t371j7.js";
3
+ } from "./state-n4qnjn2y.js";
4
4
  import {
5
- Service47
6
- } from "./plugin-2a6rn6yr.js";
5
+ Service63
6
+ } from "./state-r5wgqceq.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./plugin-619r8v3y.js";
9
+ } from "./state-9zdhvgqs.js";
10
10
  import {
11
11
  provenance2
12
- } from "./plugin-4j4tgtq5.js";
12
+ } from "./state-n1n192bv.js";
13
13
  import {
14
14
  preview2
15
- } from "./plugin-hgt7erew.js";
15
+ } from "./state-r40bckrt.js";
16
16
  import {
17
17
  baseTranscript2
18
- } from "./plugin-wsw9xjjb.js";
18
+ } from "./state-8c0dth6r.js";
19
19
  import {
20
- Service29
21
- } from "./plugin-seybfen1.js";
20
+ Service20
21
+ } from "./state-j9sjb22p.js";
22
22
  import {
23
23
  __export
24
- } from "./plugin-9rqn6x4v.js";
24
+ } from "./state-9rqn6x4v.js";
25
25
 
26
26
  // src/session/generate.ts
27
- var exports_generate2 = {};
28
- __export(exports_generate2, {
29
- SessionGenerate: () => exports_generate2,
27
+ var exports_generate = {};
28
+ __export(exports_generate, {
29
+ SessionGenerate: () => exports_generate,
30
30
  generate: () => generate2
31
31
  });
32
32
  import { LLMClient, Message } from "@opencode/ai";
33
33
  import { Effect } from "effect";
34
34
  var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
35
- const instances = yield* Service47;
35
+ const instances = yield* Service63;
36
36
  const database = yield* Service84;
37
37
  const llm = yield* LLMClient.Service;
38
38
  return yield* Effect.gen(function* () {
39
39
  yield* awaitActivation2;
40
- const context = yield* Service29;
40
+ const context = yield* Service20;
41
41
  const selection = yield* context.select(input.session.id);
42
42
  const model = yield* context.resolveModel(selection.session);
43
43
  const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
@@ -71,4 +71,4 @@ var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
71
71
  }).pipe(instances.provide(input.session));
72
72
  });
73
73
 
74
- export { generate2, exports_generate2 };
74
+ export { generate2, exports_generate };
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  Metadata2,
3
3
  useragent2,
4
- node78
5
- } from "./plugin-7sjb06ew.js";
4
+ node40
5
+ } from "./state-ys6344d6.js";
6
6
  import {
7
7
  provenance2,
8
8
  compatible2
9
- } from "./plugin-4j4tgtq5.js";
9
+ } from "./state-n1n192bv.js";
10
10
  import {
11
- Service72,
12
- node74
13
- } from "./plugin-sk5hrgtc.js";
11
+ Service69,
12
+ node72
13
+ } from "./state-gs3s1a1g.js";
14
14
  import {
15
15
  DeclinedError2
16
- } from "./plugin-pr301zdv.js";
16
+ } from "./state-mbaznf29.js";
17
17
  import {
18
18
  CancelledError2
19
- } from "./plugin-29g2crnb.js";
19
+ } from "./state-vg7wcjck.js";
20
20
  import {
21
- Error3
22
- } from "./plugin-g7pyd2xg.js";
21
+ Error2
22
+ } from "./state-z3tfttx3.js";
23
23
  import {
24
24
  get5
25
- } from "./plugin-54ma36ye.js";
25
+ } from "./state-54ma36ye.js";
26
26
  import {
27
- Service39,
28
- node42
29
- } from "./plugin-7x15szr3.js";
27
+ Service25,
28
+ node29
29
+ } from "./state-w0pbycsx.js";
30
30
  import {
31
31
  make15
32
- } from "./plugin-xfkkasph.js";
32
+ } from "./state-xfkkasph.js";
33
33
  import {
34
34
  toLLMMessages2
35
- } from "./plugin-hd8vw2pw.js";
35
+ } from "./state-ns3eape4.js";
36
36
  import {
37
37
  __export
38
- } from "./plugin-9rqn6x4v.js";
38
+ } from "./state-9rqn6x4v.js";
39
39
 
40
40
  // src/session/model-request.ts
41
41
  var exports_model_request = {};
42
42
  __export(exports_model_request, {
43
- Service: () => Service38,
43
+ Service: () => Service24,
44
44
  SessionModelRequest: () => exports_model_request,
45
45
  baseTranscript: () => baseTranscript2,
46
46
  boundImages: () => boundImages2,
47
- layer: () => layer15,
48
- node: () => node41,
47
+ layer: () => layer10,
48
+ node: () => node28,
49
49
  unsupportedParts: () => unsupportedParts2
50
50
  });
51
51
  import {
@@ -151,11 +151,11 @@ var boundImages2 = (messages) => {
151
151
  });
152
152
  };
153
153
 
154
- class Service38 extends Context.Service()("@opencode/SessionModelRequest") {
154
+ class Service24 extends Context.Service()("@opencode/SessionModelRequest") {
155
155
  }
156
- var layer15 = Layer.effect(Service38, Effect.gen(function* () {
157
- const hooks = yield* Service72;
158
- const transport = yield* Service39;
156
+ var layer10 = Layer.effect(Service24, Effect.gen(function* () {
157
+ const hooks = yield* Service69;
158
+ const transport = yield* Service25;
159
159
  const app = yield* Metadata2;
160
160
  const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
161
161
  const session = input.session;
@@ -163,7 +163,7 @@ var layer15 = Layer.effect(Service38, Effect.gen(function* () {
163
163
  const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
164
164
  const tools = input.tools ?? {
165
165
  definitions: [],
166
- execute: () => new Error3({ message: "Tools are not available for this request" })
166
+ execute: () => new Error2({ message: "Tools are not available for this request" })
167
167
  };
168
168
  const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
169
169
  const shaped = yield* shape({
@@ -260,17 +260,17 @@ var layer15 = Layer.effect(Service38, Effect.gen(function* () {
260
260
  };
261
261
  });
262
262
  const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
263
- return Service38.of({
263
+ return Service24.of({
264
264
  primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
265
265
  compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
266
266
  generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
267
267
  title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
268
268
  });
269
269
  }));
270
- var node41 = makeLocationNode({
271
- service: Service38,
272
- layer: layer15,
273
- deps: [node74, node42, node78]
270
+ var node28 = makeLocationNode({
271
+ service: Service24,
272
+ layer: layer10,
273
+ deps: [node72, node29, node40]
274
274
  });
275
275
 
276
- export { baseTranscript2, unsupportedParts2, boundImages2, Service38, layer15, node41, exports_model_request };
276
+ export { baseTranscript2, unsupportedParts2, boundImages2, Service24, layer10, node28, exports_model_request };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  which2
3
- } from "./plugin-qaymkmh1.js";
3
+ } from "./state-qaymkmh1.js";
4
4
 
5
5
  // src/ripgrep/binary.ts
6
6
  import path from "path";
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./plugin-59t371j7.js";
4
+ } from "./state-n4qnjn2y.js";
5
5
  import {
6
6
  KVTable2
7
- } from "./plugin-3hepkmqq.js";
7
+ } from "./state-3hepkmqq.js";
8
8
  import {
9
9
  __export
10
- } from "./plugin-9rqn6x4v.js";
10
+ } from "./state-9rqn6x4v.js";
11
11
 
12
12
  // src/kv.ts
13
13
  var exports_kv = {};
14
14
  __export(exports_kv, {
15
15
  KV: () => exports_kv,
16
- Service: () => Service66,
17
- node: () => node68
16
+ Service: () => Service70,
17
+ node: () => node73
18
18
  });
19
19
  import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
20
20
  import { Context, Effect, Layer } from "effect";
21
21
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
22
- class Service66 extends Context.Service()("@opencode/KV") {
22
+ class Service70 extends Context.Service()("@opencode/KV") {
23
23
  }
24
- var layer = Layer.effect(Service66, Effect.gen(function* () {
24
+ var layer = Layer.effect(Service70, Effect.gen(function* () {
25
25
  const db = (yield* Service84).db;
26
- return Service66.of({
26
+ return Service70.of({
27
27
  get: Effect.fn("KV.get")(function* (key) {
28
28
  return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
29
29
  }),
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
51
51
  return;
52
52
  return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
53
53
  }
54
- var node68 = makeGlobalNode({ service: Service66, layer, deps: [node88] });
54
+ var node73 = makeGlobalNode({ service: Service70, layer, deps: [node88] });
55
55
 
56
- export { Service66, node68, exports_kv };
56
+ export { Service70, node73, exports_kv };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  useragent2
3
- } from "./plugin-7sjb06ew.js";
3
+ } from "./state-ys6344d6.js";
4
4
  import {
5
5
  Service83
6
- } from "./plugin-r2s5mzj1.js";
6
+ } from "./state-wt1200yk.js";
7
7
  import {
8
8
  OAuth3,
9
- Event14
10
- } from "./plugin-pn55wrwy.js";
9
+ Event19
10
+ } from "./state-f8tsdbed.js";
11
11
  import {
12
12
  key2
13
- } from "./plugin-k22b66k8.js";
13
+ } from "./state-x661k3y3.js";
14
14
  import {
15
- ID8,
15
+ ID13,
16
16
  MethodID2
17
- } from "./plugin-5w1jn6g6.js";
17
+ } from "./state-4gdcnkn7.js";
18
18
  import {
19
- ID7,
19
+ ID12,
20
20
  aisdk2,
21
- Service61
22
- } from "./plugin-svykb2th.js";
21
+ Service75
22
+ } from "./state-hsyrampd.js";
23
23
  import {
24
- ID6,
25
- Info14
26
- } from "./plugin-2920kkda.js";
24
+ ID11,
25
+ Info20
26
+ } from "./state-4yajm3g0.js";
27
27
  import {
28
28
  success2,
29
29
  error2
30
- } from "./plugin-pjvnvgmy.js";
30
+ } from "./state-pjvnvgmy.js";
31
31
 
32
32
  // src/plugin/provider/gitlab.ts
33
33
  import os from "os";
@@ -35,8 +35,8 @@ import { Clock, Deferred, Effect, Exit, Option, Schema, Semaphore, Stream } from
35
35
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
36
36
  import { define } from "@opencode/plugin/effect/plugin";
37
37
  import { Form } from "@opencode/schema/form";
38
- var providerID = ID7.gitlab;
39
- var integrationID = ID8.make("gitlab");
38
+ var providerID = ID12.gitlab;
39
+ var integrationID = ID13.make("gitlab");
40
40
  var methodID = MethodID2.make("pkce");
41
41
  var bundledClientID = "fd180700a8f9c5d5557aca231632dd0611a1135a3bb510a741d5a988a3394fa7";
42
42
  var legacyClientID = "1d89f9fdb23ee96d4e603201f6861dab6e143c5c3c00469a018a2d94bdc03d4e";
@@ -57,7 +57,7 @@ var refreshRetention = 60000;
57
57
  var GitLabPlugin2 = define({
58
58
  id: "opencode.provider.gitlab",
59
59
  effect: Effect.fn(function* (ctx) {
60
- const providers = yield* Service61;
60
+ const providers = yield* Service75;
61
61
  const bus = yield* Service83;
62
62
  const http = yield* HttpClient.HttpClient;
63
63
  const loading = Semaphore.makeUnsafe(1);
@@ -185,7 +185,7 @@ var GitLabPlugin2 = define({
185
185
  models: [
186
186
  ...item.models.values(),
187
187
  ...loaded.models.filter((model) => !item.models.has(model.id)).map((model) => ({
188
- ...Info14.default(providerID, ID6.make(model.id)),
188
+ ...Info20.default(providerID, ID11.make(model.id)),
189
189
  name: `Agent Platform (${model.name})`,
190
190
  package: aisdk2("gitlab-ai-provider"),
191
191
  settings: { workflowRef: model.ref },
@@ -196,7 +196,7 @@ var GitLabPlugin2 = define({
196
196
  });
197
197
  });
198
198
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
199
- yield* bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
199
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
200
200
  yield* refresh().pipe(Effect.forkScoped);
201
201
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
202
202
  if (evt.package !== "gitlab-ai-provider")
@@ -219,7 +219,7 @@ var GitLabPlugin2 = define({
219
219
  });
220
220
  }));
221
221
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
222
- if (evt.model.providerID !== ID7.gitlab)
222
+ if (evt.model.providerID !== ID12.gitlab)
223
223
  return;
224
224
  const featureFlags = typeof evt.options.featureFlags === "object" && evt.options.featureFlags ? evt.options.featureFlags : {};
225
225
  const id = evt.model.modelID ?? evt.model.id;