@opencode/core 0.0.0-dev-20495 → 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 (781) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{agent-7s2tn799.js → state-00x4qneg.js} +8 -8
  8. package/dist/chunks/{agent-spx8c6ms.js → state-036v1hvj.js} +6 -6
  9. package/dist/chunks/{agent-qc1xg33w.js → state-0evtapph.js} +23 -23
  10. package/dist/chunks/{agent-xmsh8y1f.js → state-0habsvra.js} +43 -43
  11. package/dist/chunks/{agent-0paq2nw3.js → state-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{agent-qx178q0k.js → state-0t6gahkk.js} +15 -15
  13. package/dist/chunks/{agent-0emb60td.js → state-0vbcp93d.js} +2 -2
  14. package/dist/chunks/{agent-g74z9j9z.js → state-0vmmzasy.js} +18 -18
  15. package/dist/chunks/{agent-pvax30d3.js → state-1184ktb1.js} +45 -45
  16. package/dist/chunks/{agent-05qm76tv.js → state-11jr2j0r.js} +8 -8
  17. package/dist/chunks/{agent-v1wz7cyc.js → state-156pf76f.js} +22 -22
  18. package/dist/chunks/{agent-71y1mzkm.js → state-1bqfkzv3.js} +10 -10
  19. package/dist/chunks/{agent-1dazxqgg.js → state-1dazxqgg.js} +2 -2
  20. package/dist/chunks/{agent-s4v9x9re.js → state-1dqwkdsj.js} +26 -26
  21. package/dist/chunks/{agent-84h8c373.js → state-1dvck2a7.js} +2 -2
  22. package/dist/chunks/{agent-1pk6jmbv.js → state-1e734s2r.js} +5 -5
  23. package/dist/chunks/{agent-ry082wg0.js → state-1gpb38yh.js} +9 -9
  24. package/dist/chunks/{agent-0fmjwecz.js → state-1nn5drgz.js} +5 -5
  25. package/dist/chunks/{agent-50c2qfar.js → state-1qqsgqx8.js} +16 -16
  26. package/dist/chunks/{agent-p52b6053.js → state-1sv0vpv6.js} +15 -15
  27. package/dist/chunks/{agent-ya7p2kne.js → state-2227vqj9.js} +20 -20
  28. package/dist/chunks/{agent-5zfe1hs5.js → state-2318s8bz.js} +30 -30
  29. package/dist/chunks/{agent-zxxvxyna.js → state-25fpdh8d.js} +12 -12
  30. package/dist/chunks/{agent-7379n787.js → state-28hqs9y2.js} +34 -34
  31. package/dist/chunks/{agent-jgpg880r.js → state-2a2w6e8b.js} +22 -22
  32. package/dist/chunks/{agent-2a5m3afh.js → state-2a5m3afh.js} +1 -1
  33. package/dist/chunks/{agent-c4hxtsjn.js → state-2a67ew1x.js} +18 -18
  34. package/dist/chunks/state-2dkqpbz0.js +26 -0
  35. package/dist/chunks/{agent-f717gdek.js → state-2dmzcsnk.js} +19 -19
  36. package/dist/chunks/{agent-sw2s00mc.js → state-2gjcxze4.js} +16 -16
  37. package/dist/chunks/{agent-3fc6dm20.js → state-3fc6dm20.js} +1 -1
  38. package/dist/chunks/{agent-3hepkmqq.js → state-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{agent-ve4zfcma.js → state-3hewh51z.js} +11 -11
  40. package/dist/chunks/{agent-3smtnn6g.js → state-3smtnn6g.js} +1 -1
  41. package/dist/chunks/{agent-c7tg5ahm.js → state-3t0ybcrp.js} +1 -1
  42. package/dist/chunks/{agent-3tvqynh2.js → state-3tvqynh2.js} +1 -1
  43. package/dist/chunks/{agent-9qkyr202.js → state-3wbg2ndj.js} +88 -88
  44. package/dist/chunks/{agent-x75ma0cf.js → state-3zbwexce.js} +11 -11
  45. package/dist/chunks/{agent-3zsf4n22.js → state-3zsf4n22.js} +1 -1
  46. package/dist/chunks/{agent-8tsdq50x.js → state-4bm5ja14.js} +4 -4
  47. package/dist/chunks/{agent-281yg8g7.js → state-4dqr7rbq.js} +4 -4
  48. package/dist/chunks/{agent-jjjc0chz.js → state-4gdcnkn7.js} +24 -24
  49. package/dist/chunks/{agent-fje83gfw.js → state-4h35skqa.js} +33 -33
  50. package/dist/chunks/{agent-rmvpnps6.js → state-4kzv2d1h.js} +35 -35
  51. package/dist/chunks/{agent-8y3049xf.js → state-4q6hdv07.js} +24 -24
  52. package/dist/chunks/{agent-180kw0bq.js → state-4r5b2nkg.js} +18 -18
  53. package/dist/chunks/{agent-2ccvkpx1.js → state-4ts7tf6z.js} +2 -2
  54. package/dist/chunks/{agent-c5c0bz0t.js → state-4v4bfvma.js} +5 -5
  55. package/dist/chunks/{agent-etzmzv32.js → state-4vqt517m.js} +10 -10
  56. package/dist/chunks/{agent-c651xxjb.js → state-4wwqnvbr.js} +4 -4
  57. package/dist/chunks/{agent-pevp0vkc.js → state-4xrh0rhr.js} +20 -20
  58. package/dist/chunks/{agent-harr5xv8.js → state-4yajm3g0.js} +26 -26
  59. package/dist/chunks/{agent-54ma36ye.js → state-54ma36ye.js} +1 -1
  60. package/dist/chunks/{agent-56gdpj1q.js → state-56gdpj1q.js} +2 -2
  61. package/dist/chunks/{agent-n94yfme4.js → state-5a1vmb6m.js} +9 -9
  62. package/dist/chunks/{agent-5daktx2q.js → state-5daktx2q.js} +1 -1
  63. package/dist/chunks/{agent-e3qxr5gk.js → state-5qd3pb7m.js} +2 -2
  64. package/dist/chunks/{agent-0b54nqfq.js → state-5qm7xrem.js} +4 -4
  65. package/dist/chunks/{agent-5t3nmthw.js → state-5t3nmthw.js} +2 -2
  66. package/dist/chunks/{agent-tt3j5xxe.js → state-624q30ze.js} +30 -30
  67. package/dist/chunks/{agent-2ejavyye.js → state-62j9fngz.js} +20 -20
  68. package/dist/chunks/{agent-9jb08jxh.js → state-644qpva7.js} +15 -15
  69. package/dist/chunks/{agent-669tq793.js → state-669tq793.js} +1 -1
  70. package/dist/chunks/{agent-bkxyw0dr.js → state-66fqs2ya.js} +9 -9
  71. package/dist/chunks/{agent-1wjt2sv4.js → state-6axd00vm.js} +2 -2
  72. package/dist/chunks/{agent-xpf13hnw.js → state-6b2hcgdj.js} +23 -23
  73. package/dist/chunks/{agent-f5gy8qwh.js → state-6ysrkrkr.js} +8 -8
  74. package/dist/chunks/{agent-f75zav2x.js → state-71az546q.js} +2 -2
  75. package/dist/chunks/{agent-7bmhse3q.js → state-7bmhse3q.js} +1 -1
  76. package/dist/chunks/{agent-2k8khapm.js → state-7dqw4kz8.js} +5 -5
  77. package/dist/chunks/{agent-0969ms2e.js → state-7e0wtkms.js} +20 -20
  78. package/dist/chunks/{agent-6jsnjtd7.js → state-7tfh8s6m.js} +29 -29
  79. package/dist/chunks/{agent-84txncab.js → state-84txncab.js} +1 -1
  80. package/dist/chunks/{agent-vaatkb7m.js → state-86pzz8c4.js} +20 -20
  81. package/dist/chunks/{agent-enbxprp7.js → state-88sjpthe.js} +7 -7
  82. package/dist/chunks/{agent-zwywmq97.js → state-89hqkma4.js} +16 -16
  83. package/dist/chunks/{agent-pwbc1eft.js → state-8c0dth6r.js} +33 -33
  84. package/dist/chunks/{agent-8d7r5vzw.js → state-8d7r5vzw.js} +1 -1
  85. package/dist/chunks/{agent-y9t2v59g.js → state-8eyw4fk8.js} +10 -10
  86. package/dist/chunks/{agent-hvcgaqb3.js → state-8h1j60r2.js} +20 -20
  87. package/dist/chunks/{agent-sb3bqbj6.js → state-8ntxr6aa.js} +11 -11
  88. package/dist/chunks/{agent-kbkg0dr4.js → state-8pngkf8q.js} +15 -15
  89. package/dist/chunks/{agent-bw7n94es.js → state-8qc73tc2.js} +182 -182
  90. package/dist/chunks/{agent-wb2syegf.js → state-8snfv42w.js} +26 -26
  91. package/dist/chunks/{agent-cb44h7a0.js → state-8t6qyhyp.js} +25 -25
  92. package/dist/chunks/{agent-rvxarf9v.js → state-8vnprxe7.js} +4 -4
  93. package/dist/chunks/{agent-dcr03msm.js → state-909kf17w.js} +20 -20
  94. package/dist/chunks/{agent-myymb6xt.js → state-93gtw0bd.js} +11 -11
  95. package/dist/chunks/{agent-hqhgbs2g.js → state-94wqyd0k.js} +3 -3
  96. package/dist/chunks/{agent-9f7pkh13.js → state-973dr9hw.js} +11 -11
  97. package/dist/chunks/{agent-dw4v8saq.js → state-9b8xxv86.js} +15 -15
  98. package/dist/chunks/{agent-kb9j3d72.js → state-9e5bzkjp.js} +3 -3
  99. package/dist/chunks/{agent-a04xb9v5.js → state-9fre5sse.js} +27 -27
  100. package/dist/chunks/{agent-pzjh1fyp.js → state-9hwaqfsw.js} +5 -5
  101. package/dist/chunks/state-9zdhvgqs.js +18 -0
  102. package/dist/chunks/{agent-79db117c.js → state-9zsw43zy.js} +25 -25
  103. package/dist/chunks/{agent-aaet6srn.js → state-aaet6srn.js} +2 -2
  104. package/dist/chunks/{agent-c60ns7m9.js → state-ac3w4tg1.js} +11 -11
  105. package/dist/chunks/{agent-ydxjpy93.js → state-b0m0sqtv.js} +13 -13
  106. package/dist/chunks/{agent-jvp7p798.js → state-b5f29xgx.js} +21 -21
  107. package/dist/chunks/{agent-b6gygkdw.js → state-b6gygkdw.js} +2 -2
  108. package/dist/chunks/{agent-wv8a670q.js → state-b762k26z.js} +71 -71
  109. package/dist/chunks/{agent-ma9td961.js → state-b9j1h4rt.js} +38 -38
  110. package/dist/chunks/{agent-hcf0s5h1.js → state-bfs290yx.js} +11 -11
  111. package/dist/chunks/{agent-eys57y9b.js → state-br0tr5aq.js} +8 -8
  112. package/dist/chunks/{agent-8n04mb3d.js → state-bv6pjsgs.js} +24 -24
  113. package/dist/chunks/{agent-w7fnhhq6.js → state-byvwhsqc.js} +9 -9
  114. package/dist/chunks/{agent-6b2kn43a.js → state-c71c51b7.js} +6 -6
  115. package/dist/chunks/{agent-5wtwrezn.js → state-cavr175a.js} +21 -21
  116. package/dist/chunks/{agent-1225krvv.js → state-cbmd897h.js} +48 -48
  117. package/dist/chunks/{agent-f5a9xnpw.js → state-csm73x4e.js} +10 -10
  118. package/dist/chunks/{agent-es3gwfzz.js → state-d5cem32y.js} +32 -32
  119. package/dist/chunks/{agent-nf0836sh.js → state-d945dqfg.js} +12 -12
  120. package/dist/chunks/{agent-8percxtt.js → state-dan13dt5.js} +10 -10
  121. package/dist/chunks/{agent-06extccp.js → state-dbmreddm.js} +3 -3
  122. package/dist/chunks/{agent-y218q3m0.js → state-dn8q5098.js} +14 -14
  123. package/dist/chunks/{agent-pydjced1.js → state-dpdfbyc3.js} +10 -10
  124. package/dist/chunks/{agent-dpkg50ah.js → state-dpkg50ah.js} +1 -1
  125. package/dist/chunks/{agent-drnf6xwf.js → state-drnf6xwf.js} +2 -2
  126. package/dist/chunks/{agent-3e0m7cwy.js → state-dtjwaa49.js} +36 -36
  127. package/dist/chunks/{agent-xgrk1snk.js → state-e971aeta.js} +26 -26
  128. package/dist/chunks/{agent-kxtv85c3.js → state-e9vvwa2x.js} +16 -16
  129. package/dist/chunks/{agent-c4ns4q6k.js → state-e9zkcnq0.js} +327 -327
  130. package/dist/chunks/{agent-bsytyf4b.js → state-ea7tr73m.js} +13 -13
  131. package/dist/chunks/{agent-8bjjjscb.js → state-ecx4enea.js} +24 -24
  132. package/dist/chunks/{agent-ef5x83kb.js → state-ef5x83kb.js} +1 -1
  133. package/dist/chunks/{agent-a2rpfkac.js → state-espax8zg.js} +4 -4
  134. package/dist/chunks/{agent-etq0c3wd.js → state-etq0c3wd.js} +1 -1
  135. package/dist/chunks/{agent-7mtf2ng8.js → state-eydxt9pj.js} +19 -19
  136. package/dist/chunks/{agent-5mde3jdk.js → state-f21xsg09.js} +13 -13
  137. package/dist/chunks/{agent-3wd3ybnr.js → state-f5hm9jph.js} +32 -32
  138. package/dist/chunks/{agent-x2h9s1mq.js → state-f8tsdbed.js} +28 -28
  139. package/dist/chunks/{agent-c50maqbp.js → state-fmcpxxk1.js} +5 -5
  140. package/dist/chunks/{agent-15zv1stq.js → state-fp0qye03.js} +3 -3
  141. package/dist/chunks/{agent-w47smtgf.js → state-fwxwf8vc.js} +29 -29
  142. package/dist/chunks/{agent-7mwqrr0g.js → state-fy6qjb7w.js} +3 -3
  143. package/dist/chunks/{agent-rmrqxqxb.js → state-g1fss3aa.js} +20 -20
  144. package/dist/chunks/{agent-0vyq000p.js → state-g7djzk09.js} +10 -10
  145. package/dist/chunks/{agent-jwtynxd2.js → state-g8j3nkq1.js} +3 -3
  146. package/dist/chunks/{agent-gd4qta3r.js → state-gd4qta3r.js} +1 -1
  147. package/dist/chunks/{agent-aw71md39.js → state-gdgwqvb1.js} +51 -51
  148. package/dist/chunks/{agent-0keq86b3.js → state-gqngt8w2.js} +3 -3
  149. package/dist/chunks/{agent-30846h32.js → state-gs3s1a1g.js} +8 -8
  150. package/dist/chunks/{agent-f3g7k472.js → state-h0ax5cdq.js} +24 -24
  151. package/dist/chunks/{agent-3cegwx68.js → state-h2b79v29.js} +2 -2
  152. package/dist/chunks/{agent-h6vf3j39.js → state-h6vf3j39.js} +1 -1
  153. package/dist/chunks/{agent-aq1vxrpg.js → state-h8m34f5a.js} +4 -4
  154. package/dist/chunks/{agent-0ee9cpen.js → state-hd6j8gz4.js} +17 -17
  155. package/dist/chunks/{agent-b3f8fkhc.js → state-hdkng2sj.js} +5 -5
  156. package/dist/chunks/{agent-9sb0gsac.js → state-hsyrampd.js} +26 -26
  157. package/dist/chunks/{agent-f7jtcmdh.js → state-hv7bcywx.js} +20 -20
  158. package/dist/chunks/{agent-qp7thzpe.js → state-hxwjf4m1.js} +11 -11
  159. package/dist/chunks/{agent-j56e64zr.js → state-j56e64zr.js} +1 -1
  160. package/dist/chunks/{agent-r9w3djhf.js → state-j58c5xyq.js} +9 -9
  161. package/dist/chunks/{agent-zykjx2tp.js → state-j9sjb22p.js} +84 -84
  162. package/dist/chunks/{agent-8jpf4asr.js → state-jfdg5rtg.js} +18 -18
  163. package/dist/chunks/{agent-81q1psws.js → state-jhc49e06.js} +16 -16
  164. package/dist/chunks/{agent-k6geg3g4.js → state-jhqcthf8.js} +7 -7
  165. package/dist/chunks/{agent-chhwftq5.js → state-jj2sh7zv.js} +33 -33
  166. package/dist/chunks/{agent-x2n4r1b6.js → state-jngrqr67.js} +17 -17
  167. package/dist/chunks/{agent-cdnk6ftw.js → state-jrzdhf5b.js} +13 -13
  168. package/dist/chunks/{agent-rfrf17aw.js → state-jte75k51.js} +12 -12
  169. package/dist/chunks/{agent-ywrxzmrq.js → state-k1ga895a.js} +24 -24
  170. package/dist/chunks/{agent-axs6pdy0.js → state-kbqjp078.js} +5 -5
  171. package/dist/chunks/{agent-jzsegfhb.js → state-kqcenne1.js} +4 -4
  172. package/dist/chunks/state-kqps6bad.js +253 -0
  173. package/dist/chunks/{agent-frfw21hw.js → state-kqq88ggn.js} +17 -17
  174. package/dist/chunks/{agent-pm3rvpnw.js → state-kt2nv8m7.js} +11 -11
  175. package/dist/chunks/{agent-m3fdjcah.js → state-m3fdjcah.js} +1 -1
  176. package/dist/chunks/{agent-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
  177. package/dist/chunks/{agent-rwb52vrc.js → state-mbaznf29.js} +55 -55
  178. package/dist/chunks/{agent-am625cf0.js → state-mc3v3pa2.js} +25 -25
  179. package/dist/chunks/{agent-q1c6gfm2.js → state-mj0s41ck.js} +22 -22
  180. package/dist/chunks/{agent-dtz9s4b3.js → state-mypwhdkk.js} +6 -6
  181. package/dist/chunks/{agent-5dkn69vz.js → state-n1n192bv.js} +4 -4
  182. package/dist/chunks/{agent-q3hqp1sp.js → state-n4qnjn2y.js} +3 -3
  183. package/dist/chunks/{agent-f0wzsm6w.js → state-n8p82dhe.js} +30 -30
  184. package/dist/chunks/{agent-nnegx4ye.js → state-n9phctzh.js} +34 -34
  185. package/dist/chunks/{agent-x8qwh5yk.js → state-nqz1z0h7.js} +1 -1
  186. package/dist/chunks/{agent-h5w29vws.js → state-ns3eape4.js} +1 -1
  187. package/dist/chunks/{agent-cv7vxd11.js → state-ny88m09p.js} +11 -11
  188. package/dist/chunks/{agent-xmbvsbqy.js → state-p231z86d.js} +11 -11
  189. package/dist/chunks/{agent-1egsrvyz.js → state-p3ywy9md.js} +9 -9
  190. package/dist/chunks/{agent-3ynasgj1.js → state-p46w8f27.js} +3 -3
  191. package/dist/chunks/{agent-er7bzzx2.js → state-p4eehdyd.js} +8 -8
  192. package/dist/chunks/{agent-8gccp9jq.js → state-p7e0sywk.js} +46 -46
  193. package/dist/chunks/{agent-5manh0gh.js → state-p9gcp42t.js} +54 -54
  194. package/dist/chunks/{agent-xyzvdesr.js → state-pfw3e90a.js} +9 -9
  195. package/dist/chunks/{agent-pjvnvgmy.js → state-pjvnvgmy.js} +1 -1
  196. package/dist/chunks/{agent-pknna89w.js → state-pknna89w.js} +1 -1
  197. package/dist/chunks/{agent-qhsygc0r.js → state-pkzjbd09.js} +5 -5
  198. package/dist/chunks/{agent-mmqb0ckj.js → state-pmykgg8c.js} +8 -8
  199. package/dist/chunks/{agent-78qt3sj1.js → state-px82hka4.js} +27 -27
  200. package/dist/chunks/{agent-b4twkq7r.js → state-py3kkmfq.js} +6 -6
  201. package/dist/chunks/{agent-kjyqzbch.js → state-pz5sph25.js} +26 -26
  202. package/dist/chunks/{agent-0j77ygfz.js → state-q0xm7vwc.js} +6 -6
  203. package/dist/chunks/{agent-j245gaa0.js → state-q1ee63dc.js} +8 -8
  204. package/dist/chunks/{agent-gx8qcdc6.js → state-q6khfqja.js} +5 -5
  205. package/dist/chunks/{agent-56wxwffs.js → state-qc1gh2j1.js} +10 -10
  206. package/dist/chunks/{agent-r2m716tb.js → state-qmqgtz8f.js} +9 -9
  207. package/dist/chunks/{agent-qnc92qwc.js → state-qnc92qwc.js} +1 -1
  208. package/dist/chunks/{agent-xecxzrdp.js → state-qr6f2pwv.js} +9 -9
  209. package/dist/chunks/{agent-qsdy395h.js → state-qsdy395h.js} +1 -1
  210. package/dist/chunks/{agent-xyafkbt0.js → state-qxjc9qry.js} +3 -3
  211. package/dist/chunks/{agent-vdeedkq6.js → state-r40bckrt.js} +11 -11
  212. package/dist/chunks/{agent-mx9vqzsb.js → state-r5wgqceq.js} +6 -6
  213. package/dist/chunks/{agent-eq1pz5kg.js → state-r5x6zcsm.js} +3 -3
  214. package/dist/chunks/{agent-t0d6zw4z.js → state-raw9brj8.js} +9 -9
  215. package/dist/chunks/{agent-rdw6cm16.js → state-rdw6cm16.js} +1 -1
  216. package/dist/chunks/{agent-fe7h0mm2.js → state-rew73zxc.js} +11 -11
  217. package/dist/chunks/{agent-rg23r00q.js → state-rhgpg4e0.js} +42 -42
  218. package/dist/chunks/{agent-1acjjqhc.js → state-rhraev7y.js} +4 -4
  219. package/dist/chunks/{agent-kjfdeayr.js → state-rtathh62.js} +5 -5
  220. package/dist/chunks/{agent-fkcqrwcb.js → state-rvs38pn0.js} +9 -9
  221. package/dist/chunks/{agent-rhjbct0v.js → state-s8d7rejh.js} +4 -4
  222. package/dist/chunks/{agent-fmpajtcd.js → state-s95j5qxz.js} +15 -15
  223. package/dist/chunks/{agent-90kkfwkk.js → state-sa6q0sr8.js} +17 -17
  224. package/dist/chunks/{agent-bsn5q6aq.js → state-sg9fmgqt.js} +42 -42
  225. package/dist/chunks/{agent-zm5gxt3d.js → state-sn21bnb2.js} +17 -17
  226. package/dist/chunks/{agent-7j08c9r1.js → state-sp8t9wc6.js} +13 -13
  227. package/dist/chunks/{agent-9mwv3506.js → state-sraxnq5r.js} +26 -26
  228. package/dist/chunks/{agent-pnhxssdf.js → state-st3bvm3z.js} +1 -1
  229. package/dist/chunks/{agent-bgwt1ext.js → state-sy0mtapm.js} +8 -8
  230. package/dist/chunks/{agent-qa3qhgw8.js → state-t2fc4mz5.js} +4 -4
  231. package/dist/chunks/{agent-tazgh4e4.js → state-tazgh4e4.js} +1 -1
  232. package/dist/chunks/{agent-tcezcvh9.js → state-tcezcvh9.js} +1 -1
  233. package/dist/chunks/{agent-tdstcens.js → state-tdstcens.js} +1 -1
  234. package/dist/chunks/{agent-snw8yyk6.js → state-tjw6xf46.js} +28 -28
  235. package/dist/chunks/{agent-rmwzrvg6.js → state-tk1fp2k0.js} +10 -10
  236. package/dist/chunks/{agent-h1c96afk.js → state-tw9sy4ky.js} +11 -11
  237. package/dist/chunks/{agent-2tfjmdh5.js → state-v03amwsg.js} +16 -16
  238. package/dist/chunks/{agent-ct17t7wc.js → state-v3kds7by.js} +21 -21
  239. package/dist/chunks/{agent-56zcmy0x.js → state-v9gds4fw.js} +46 -46
  240. package/dist/chunks/{agent-7fxnnqbh.js → state-vaj4218p.js} +5 -5
  241. package/dist/chunks/{agent-veqvce7d.js → state-veqvce7d.js} +1 -1
  242. package/dist/chunks/{agent-wzkdy7pq.js → state-vfsag6yk.js} +9 -9
  243. package/dist/chunks/{agent-f4ydgy3z.js → state-vg7wcjck.js} +14 -14
  244. package/dist/chunks/{agent-q3ersh05.js → state-vhk0cnae.js} +4 -4
  245. package/dist/chunks/{agent-b3wt4537.js → state-vktb4bc8.js} +18 -18
  246. package/dist/chunks/{agent-vzcthcp8.js → state-vzcthcp8.js} +1 -1
  247. package/dist/chunks/{agent-vzs5sf6e.js → state-vzs5sf6e.js} +1 -1
  248. package/dist/chunks/{agent-d7hcd0ym.js → state-w0pbycsx.js} +11 -11
  249. package/dist/chunks/{agent-yebk9b1k.js → state-w39jehkq.js} +5 -5
  250. package/dist/chunks/{agent-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
  251. package/dist/chunks/{agent-rmbj2ecd.js → state-w8r2knnq.js} +24 -24
  252. package/dist/chunks/{agent-xjphdyj0.js → state-wa8c4pwg.js} +5 -5
  253. package/dist/chunks/{agent-3adj5p0b.js → state-wby16mgw.js} +5 -5
  254. package/dist/chunks/{agent-wd87259q.js → state-wd87259q.js} +1 -1
  255. package/dist/chunks/{agent-5ctfgyhd.js → state-wqa2ds3j.js} +11 -11
  256. package/dist/chunks/{agent-2r2egdr4.js → state-wsb67xeh.js} +12 -12
  257. package/dist/chunks/{agent-0tcn2edf.js → state-wt1200yk.js} +4 -4
  258. package/dist/chunks/{agent-x1ezjp6w.js → state-x1ezjp6w.js} +1 -1
  259. package/dist/chunks/{agent-ghq8k3p0.js → state-x1y3x1aj.js} +5 -5
  260. package/dist/chunks/{agent-addxnjmp.js → state-x661k3y3.js} +4 -4
  261. package/dist/chunks/{agent-nq59jwz9.js → state-x9e8217n.js} +16 -16
  262. package/dist/chunks/{agent-g5w8qwbj.js → state-xfkkasph.js} +4 -4
  263. package/dist/chunks/{agent-dmqcgk4z.js → state-xkntkrq7.js} +5 -5
  264. package/dist/chunks/{agent-gnes5cxx.js → state-xpzvwsxq.js} +9 -9
  265. package/dist/chunks/{agent-6gvmk3q1.js → state-xxtx82bf.js} +12 -12
  266. package/dist/chunks/{agent-vdd4vb6q.js → state-xxyjb3m7.js} +37 -37
  267. package/dist/chunks/{agent-y1fvbwt7.js → state-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{agent-ee7hath9.js → state-ybgh13y4.js} +42 -42
  269. package/dist/chunks/{agent-rmr3r19k.js → state-ymz5hgvb.js} +4 -4
  270. package/dist/chunks/{agent-gnvs0enq.js → state-ypzxwbyd.js} +3 -3
  271. package/dist/chunks/{agent-cey1m555.js → state-yq5dzq7s.js} +11 -11
  272. package/dist/chunks/{agent-yrhqyw5v.js → state-yrhqyw5v.js} +1 -1
  273. package/dist/chunks/{agent-sv2c0njk.js → state-yrxxtv3n.js} +27 -27
  274. package/dist/chunks/{agent-n1mmzv0t.js → state-ys6344d6.js} +10 -10
  275. package/dist/chunks/{agent-9tgqm29x.js → state-ysd7vb1z.js} +20 -20
  276. package/dist/chunks/{agent-assaykk3.js → state-yxwprvvc.js} +11 -11
  277. package/dist/chunks/{agent-z0bkrqjs.js → state-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{agent-eejvp2f2.js → state-z3tfttx3.js} +25 -25
  279. package/dist/chunks/{agent-e8y5teeb.js → state-zawmcqxv.js} +32 -32
  280. package/dist/chunks/{agent-kne8f3cn.js → state-zee1rnkq.js} +4 -4
  281. package/dist/chunks/{agent-f6b7e72t.js → state-zfs8ae4p.js} +4 -4
  282. package/dist/chunks/{agent-zr2ceqn5.js → state-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{agent-y9e856tf.js → state-ztn91se7.js} +32 -32
  284. package/dist/chunks/{agent-zxq2ej10.js → state-zxq2ej10.js} +1 -1
  285. package/dist/chunks/{agent-961aaqfq.js → state-zyznzm79.js} +45 -45
  286. package/dist/codemode/catalog.js +1 -1
  287. package/dist/codemode/instructions.js +7 -7
  288. package/dist/codemode/tool.js +3 -3
  289. package/dist/codemode/web.js +1 -1
  290. package/dist/command.js +79 -79
  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 +116 -116
  295. package/dist/config/plugin/command.js +205 -205
  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 +123 -123
  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 +121 -121
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +83 -83
  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 +3 -3
  422. package/dist/filesystem/watcher.js +15 -15
  423. package/dist/filesystem.js +106 -106
  424. package/dist/form.js +82 -82
  425. package/dist/formatter/builtins.js +4 -4
  426. package/dist/formatter.js +87 -87
  427. package/dist/generate.js +103 -103
  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 +91 -91
  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 +3 -3
  455. package/dist/integration/connection.js +3 -3
  456. package/dist/integration.js +85 -85
  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 +91 -91
  473. package/dist/model-resolver.js +96 -96
  474. package/dist/model.js +98 -98
  475. package/dist/models-dev.js +107 -107
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +82 -82
  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 +102 -102
  486. package/dist/plugin/command.js +100 -100
  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 +4 -4
  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 +95 -95
  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 +130 -130
  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 +5 -5
  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 +2 -2
  549. package/dist/plugin/websearch/parallel.js +8 -8
  550. package/dist/plugin/websearch/tavily.js +4 -4
  551. package/dist/plugin/websearch/tinyfish.js +8 -8
  552. package/dist/plugin.js +222 -222
  553. package/dist/project/schema.js +8 -8
  554. package/dist/project/sql.js +4 -4
  555. package/dist/project.js +90 -90
  556. package/dist/provider.js +97 -97
  557. package/dist/pty/protocol.js +1 -1
  558. package/dist/pty/ticket.js +1 -1
  559. package/dist/pty.js +99 -99
  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 +1 -1
  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 +7 -7
  575. package/dist/session/event.js +1 -1
  576. package/dist/session/execution/restart.js +214 -214
  577. package/dist/session/execution.js +127 -127
  578. package/dist/session/generate.js +154 -154
  579. package/dist/session/history.js +15 -15
  580. package/dist/session/inbox.js +88 -88
  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 +97 -97
  585. package/dist/session/message-updater.js +4 -4
  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 +1 -1
  604. package/dist/session/session.js +164 -164
  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 +87 -87
  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 +3 -3
  613. package/dist/session/title.js +157 -157
  614. package/dist/session/to-session-error.js +111 -111
  615. package/dist/session/transfer.js +208 -208
  616. package/dist/session/usage.js +1 -1
  617. package/dist/session.js +209 -209
  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 +15 -15
  622. package/dist/shell.js +132 -132
  623. package/dist/skill/discovery.js +4 -4
  624. package/dist/skill/instructions.js +107 -107
  625. package/dist/skill.js +112 -112
  626. package/dist/snapshot.js +91 -91
  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 +122 -122
  634. package/dist/tool/plugin/grep.js +122 -122
  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 +113 -113
  642. package/dist/tool/plugin/subagent.js +212 -212
  643. package/dist/tool/plugin/webfetch.js +110 -110
  644. package/dist/tool/plugin/websearch.js +112 -112
  645. package/dist/tool/plugin/write.js +120 -120
  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/util/error-summary.js +1 -1
  651. package/dist/util/error.js +1 -1
  652. package/dist/util/git-executable.js +2 -2
  653. package/dist/util/iife.js +1 -1
  654. package/dist/util/lazy.js +1 -1
  655. package/dist/util/slug.js +1 -1
  656. package/dist/util/token.js +1 -1
  657. package/dist/util/which.js +1 -1
  658. package/dist/util/wildcard.js +1 -1
  659. package/dist/v1/config/agent.js +7 -7
  660. package/dist/v1/config/command.js +3 -3
  661. package/dist/v1/config/error.js +4 -4
  662. package/dist/v1/config/mcp.js +4 -4
  663. package/dist/v1/config/migrate.js +92 -92
  664. package/dist/v1/config/permission.js +7 -7
  665. package/dist/v1/config/plugin.js +3 -3
  666. package/dist/v1/config/provider-options.js +1 -1
  667. package/dist/v1/config/provider.js +4 -4
  668. package/dist/variant.js +91 -91
  669. package/dist/vcs/patch.js +1 -1
  670. package/dist/vcs.js +89 -89
  671. package/dist/websearch.js +84 -84
  672. package/dist/wellknown/plugin.js +76 -76
  673. package/dist/wellknown.js +81 -81
  674. package/dist/workspace/driver.js +3 -3
  675. package/dist/workspace/sql.js +1 -1
  676. package/dist/workspace.js +80 -80
  677. package/dist/worktree/directory.js +2 -2
  678. package/dist/worktree/git.js +10 -10
  679. package/dist/worktree/sql.js +5 -5
  680. package/dist/worktree/strategies.js +89 -89
  681. package/dist/worktree.js +98 -98
  682. package/package.json +8 -8
  683. package/dist/chunks/agent-619r8v3y.js +0 -18
  684. package/dist/chunks/agent-vbqmraq8.js +0 -253
  685. package/dist/chunks/agent-z2gne1tr.js +0 -26
  686. /package/dist/chunks/{agent-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
  687. /package/dist/chunks/{agent-0zkw76rk.js → state-0zkw76rk.js} +0 -0
  688. /package/dist/chunks/{agent-17cy0kzp.js → state-17cy0kzp.js} +0 -0
  689. /package/dist/chunks/{agent-1cnp2v09.js → state-1cnp2v09.js} +0 -0
  690. /package/dist/chunks/{agent-1kg9ymc8.js → state-1kg9ymc8.js} +0 -0
  691. /package/dist/chunks/{agent-24dcb14g.js → state-24dcb14g.js} +0 -0
  692. /package/dist/chunks/{agent-2710q6r3.js → state-2710q6r3.js} +0 -0
  693. /package/dist/chunks/{agent-2axfhc9x.js → state-2axfhc9x.js} +0 -0
  694. /package/dist/chunks/{agent-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
  695. /package/dist/chunks/{agent-34c7v6d4.js → state-34c7v6d4.js} +0 -0
  696. /package/dist/chunks/{agent-359p4xyc.js → state-359p4xyc.js} +0 -0
  697. /package/dist/chunks/{agent-3asan66x.js → state-3asan66x.js} +0 -0
  698. /package/dist/chunks/{agent-3v8g72cx.js → state-3v8g72cx.js} +0 -0
  699. /package/dist/chunks/{agent-3w5fmr99.js → state-3w5fmr99.js} +0 -0
  700. /package/dist/chunks/{agent-3wcehsnq.js → state-3wcehsnq.js} +0 -0
  701. /package/dist/chunks/{agent-43n2bw4t.js → state-43n2bw4t.js} +0 -0
  702. /package/dist/chunks/{agent-4knz6hnm.js → state-4knz6hnm.js} +0 -0
  703. /package/dist/chunks/{agent-4vcrnpx2.js → state-4vcrnpx2.js} +0 -0
  704. /package/dist/chunks/{agent-4y7fprxs.js → state-4y7fprxs.js} +0 -0
  705. /package/dist/chunks/{agent-53557ph1.js → state-53557ph1.js} +0 -0
  706. /package/dist/chunks/{agent-550bvhaj.js → state-550bvhaj.js} +0 -0
  707. /package/dist/chunks/{agent-6prwharc.js → state-6prwharc.js} +0 -0
  708. /package/dist/chunks/{agent-7akdwqpd.js → state-7akdwqpd.js} +0 -0
  709. /package/dist/chunks/{agent-7m9af43g.js → state-7m9af43g.js} +0 -0
  710. /package/dist/chunks/{agent-822emrt2.js → state-822emrt2.js} +0 -0
  711. /package/dist/chunks/{agent-88xbtdfr.js → state-88xbtdfr.js} +0 -0
  712. /package/dist/chunks/{agent-8n3pysct.js → state-8n3pysct.js} +0 -0
  713. /package/dist/chunks/{agent-8wj87zfr.js → state-8wj87zfr.js} +0 -0
  714. /package/dist/chunks/{agent-9a4afbnw.js → state-9a4afbnw.js} +0 -0
  715. /package/dist/chunks/{agent-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
  716. /package/dist/chunks/{agent-a6k6eb26.js → state-a6k6eb26.js} +0 -0
  717. /package/dist/chunks/{agent-af5trqkr.js → state-af5trqkr.js} +0 -0
  718. /package/dist/chunks/{agent-afrmfg78.js → state-afrmfg78.js} +0 -0
  719. /package/dist/chunks/{agent-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
  720. /package/dist/chunks/{agent-atq7p7m5.js → state-atq7p7m5.js} +0 -0
  721. /package/dist/chunks/{agent-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
  722. /package/dist/chunks/{agent-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
  723. /package/dist/chunks/{agent-cf4snx6d.js → state-cf4snx6d.js} +0 -0
  724. /package/dist/chunks/{agent-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
  725. /package/dist/chunks/{agent-d9fn303g.js → state-d9fn303g.js} +0 -0
  726. /package/dist/chunks/{agent-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
  727. /package/dist/chunks/{agent-dajrwvna.js → state-dajrwvna.js} +0 -0
  728. /package/dist/chunks/{agent-dap0rakb.js → state-dap0rakb.js} +0 -0
  729. /package/dist/chunks/{agent-df08tz66.js → state-df08tz66.js} +0 -0
  730. /package/dist/chunks/{agent-dy18nga0.js → state-dy18nga0.js} +0 -0
  731. /package/dist/chunks/{agent-e5kj55wp.js → state-e5kj55wp.js} +0 -0
  732. /package/dist/chunks/{agent-e73j6tqm.js → state-e73j6tqm.js} +0 -0
  733. /package/dist/chunks/{agent-ec1grn59.js → state-ec1grn59.js} +0 -0
  734. /package/dist/chunks/{agent-eh3zwz77.js → state-eh3zwz77.js} +0 -0
  735. /package/dist/chunks/{agent-emrn6kk6.js → state-emrn6kk6.js} +0 -0
  736. /package/dist/chunks/{agent-f0mxakyp.js → state-f0mxakyp.js} +0 -0
  737. /package/dist/chunks/{agent-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
  738. /package/dist/chunks/{agent-faypxj3z.js → state-faypxj3z.js} +0 -0
  739. /package/dist/chunks/{agent-fd410y7t.js → state-fd410y7t.js} +0 -0
  740. /package/dist/chunks/{agent-fxgpk5d8.js → state-fxgpk5d8.js} +0 -0
  741. /package/dist/chunks/{agent-g4wezp1m.js → state-g4wezp1m.js} +0 -0
  742. /package/dist/chunks/{agent-g86h250q.js → state-g86h250q.js} +0 -0
  743. /package/dist/chunks/{agent-gebd4c9n.js → state-gebd4c9n.js} +0 -0
  744. /package/dist/chunks/{agent-gftt206x.js → state-gftt206x.js} +0 -0
  745. /package/dist/chunks/{agent-hjbc5kem.js → state-hjbc5kem.js} +0 -0
  746. /package/dist/chunks/{agent-hk9envan.js → state-hk9envan.js} +0 -0
  747. /package/dist/chunks/{agent-j2ntwpah.js → state-j2ntwpah.js} +0 -0
  748. /package/dist/chunks/{agent-j5zkgpj8.js → state-j5zkgpj8.js} +0 -0
  749. /package/dist/chunks/{agent-jjkms2e6.js → state-jjkms2e6.js} +0 -0
  750. /package/dist/chunks/{agent-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
  751. /package/dist/chunks/{agent-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
  752. /package/dist/chunks/{agent-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
  753. /package/dist/chunks/{agent-mp448xyj.js → state-mp448xyj.js} +0 -0
  754. /package/dist/chunks/{agent-msx8hqn2.js → state-msx8hqn2.js} +0 -0
  755. /package/dist/chunks/{agent-my4zabxr.js → state-my4zabxr.js} +0 -0
  756. /package/dist/chunks/{agent-n05xt0ee.js → state-n05xt0ee.js} +0 -0
  757. /package/dist/chunks/{agent-n3j8tn72.js → state-n3j8tn72.js} +0 -0
  758. /package/dist/chunks/{agent-njntx4h6.js → state-njntx4h6.js} +0 -0
  759. /package/dist/chunks/{agent-q3sfg36h.js → state-q3sfg36h.js} +0 -0
  760. /package/dist/chunks/{agent-q74kybfr.js → state-q74kybfr.js} +0 -0
  761. /package/dist/chunks/{agent-qaymkmh1.js → state-qaymkmh1.js} +0 -0
  762. /package/dist/chunks/{agent-qb87gjwd.js → state-qb87gjwd.js} +0 -0
  763. /package/dist/chunks/{agent-qfa1cgps.js → state-qfa1cgps.js} +0 -0
  764. /package/dist/chunks/{agent-qg3g05ea.js → state-qg3g05ea.js} +0 -0
  765. /package/dist/chunks/{agent-qrg20bc0.js → state-qrg20bc0.js} +0 -0
  766. /package/dist/chunks/{agent-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
  767. /package/dist/chunks/{agent-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
  768. /package/dist/chunks/{agent-ssg3fenm.js → state-ssg3fenm.js} +0 -0
  769. /package/dist/chunks/{agent-w803qqfp.js → state-w803qqfp.js} +0 -0
  770. /package/dist/chunks/{agent-wc3fc9cn.js → state-wc3fc9cn.js} +0 -0
  771. /package/dist/chunks/{agent-wer8tq1h.js → state-wer8tq1h.js} +0 -0
  772. /package/dist/chunks/{agent-wtztk69x.js → state-wtztk69x.js} +0 -0
  773. /package/dist/chunks/{agent-x0ckcb58.js → state-x0ckcb58.js} +0 -0
  774. /package/dist/chunks/{agent-x61499pn.js → state-x61499pn.js} +0 -0
  775. /package/dist/chunks/{agent-y44na4kk.js → state-y44na4kk.js} +0 -0
  776. /package/dist/chunks/{agent-y8cydn3q.js → state-y8cydn3q.js} +0 -0
  777. /package/dist/chunks/{agent-y8f7s663.js → state-y8f7s663.js} +0 -0
  778. /package/dist/chunks/{agent-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
  779. /package/dist/chunks/{agent-ym463w8f.js → state-ym463w8f.js} +0 -0
  780. /package/dist/chunks/{agent-z5v4ffb3.js → state-z5v4ffb3.js} +0 -0
  781. /package/dist/chunks/{agent-z9919s4g.js → state-z9919s4g.js} +0 -0
@@ -1,125 +1,125 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./agent-q3hqp1sp.js";
4
+ } from "./state-n4qnjn2y.js";
5
5
  import {
6
6
  Service83,
7
7
  node87
8
- } from "./agent-0tcn2edf.js";
8
+ } from "./state-wt1200yk.js";
9
9
  import {
10
10
  SessionMessage2
11
- } from "./agent-gftt206x.js";
11
+ } from "./state-gftt206x.js";
12
12
  import {
13
13
  StepFailedError2
14
- } from "./agent-ry082wg0.js";
14
+ } from "./state-1gpb38yh.js";
15
15
  import {
16
16
  SessionEvent2
17
- } from "./agent-ec1grn59.js";
17
+ } from "./state-ec1grn59.js";
18
18
  import {
19
19
  SessionMessageTable2
20
- } from "./agent-kb9j3d72.js";
20
+ } from "./state-9e5bzkjp.js";
21
21
  import {
22
22
  prepare4
23
- } from "./agent-f6b7e72t.js";
23
+ } from "./state-zfs8ae4p.js";
24
24
  import {
25
25
  provenance2
26
- } from "./agent-5dkn69vz.js";
26
+ } from "./state-n1n192bv.js";
27
27
  import {
28
28
  decodeMessageRow2,
29
29
  preview2
30
- } from "./agent-vdeedkq6.js";
30
+ } from "./state-r40bckrt.js";
31
31
  import {
32
- Service53,
33
- node56
34
- } from "./agent-nq59jwz9.js";
32
+ Service67,
33
+ node70
34
+ } from "./state-x9e8217n.js";
35
35
  import {
36
- Service13,
37
- node15
38
- } from "./agent-fje83gfw.js";
36
+ Service16,
37
+ node18
38
+ } from "./state-4h35skqa.js";
39
39
  import {
40
40
  llmClient2
41
- } from "./agent-5t3nmthw.js";
41
+ } from "./state-5t3nmthw.js";
42
42
  import {
43
- Service36,
44
- node38
45
- } from "./agent-d7hcd0ym.js";
43
+ Service25,
44
+ node29
45
+ } from "./state-w0pbycsx.js";
46
46
  import {
47
47
  baseTranscript2
48
- } from "./agent-pwbc1eft.js";
48
+ } from "./state-8c0dth6r.js";
49
49
  import {
50
- make10
51
- } from "./agent-b3f8fkhc.js";
50
+ make6
51
+ } from "./state-hdkng2sj.js";
52
52
  import {
53
53
  toSessionError2
54
- } from "./agent-1pk6jmbv.js";
54
+ } from "./state-1e734s2r.js";
55
55
  import {
56
- Service10,
57
- node12,
56
+ Service6,
57
+ node8,
58
58
  estimatePrompt2
59
- } from "./agent-snw8yyk6.js";
59
+ } from "./state-tjw6xf46.js";
60
60
  import {
61
- Service27,
62
- node30
63
- } from "./agent-zykjx2tp.js";
61
+ Service20,
62
+ node24
63
+ } from "./state-j9sjb22p.js";
64
64
  import {
65
65
  serialized2,
66
66
  nextPromotable2,
67
67
  promote2
68
- } from "./agent-v1wz7cyc.js";
68
+ } from "./state-156pf76f.js";
69
69
  import {
70
- Service12,
70
+ Service2,
71
71
  isUntitled2,
72
- node14
73
- } from "./agent-s4v9x9re.js";
72
+ node3
73
+ } from "./state-1dqwkdsj.js";
74
74
  import {
75
75
  DrainResult2,
76
- Service43
77
- } from "./agent-kne8f3cn.js";
76
+ Service60
77
+ } from "./state-zee1rnkq.js";
78
78
  import {
79
- node61
80
- } from "./agent-am625cf0.js";
79
+ node46
80
+ } from "./state-mc3v3pa2.js";
81
81
  import {
82
- node68
83
- } from "./agent-c60ns7m9.js";
82
+ node54
83
+ } from "./state-ac3w4tg1.js";
84
84
  import {
85
85
  Outcome2,
86
- make9
87
- } from "./agent-pevp0vkc.js";
86
+ make3
87
+ } from "./state-4xrh0rhr.js";
88
88
  import {
89
- Service35
90
- } from "./agent-619r8v3y.js";
89
+ Service30
90
+ } from "./state-9zdhvgqs.js";
91
91
  import {
92
- node17
93
- } from "./agent-0969ms2e.js";
92
+ node20
93
+ } from "./state-7e0wtkms.js";
94
94
  import {
95
95
  MAX_STEPS_PROMPT2
96
- } from "./agent-y44na4kk.js";
96
+ } from "./state-y44na4kk.js";
97
97
  import {
98
98
  __export
99
- } from "./agent-9rqn6x4v.js";
99
+ } from "./state-9rqn6x4v.js";
100
100
 
101
101
  // src/session/runner/llm.ts
102
102
  var exports_llm = {};
103
103
  __export(exports_llm, {
104
104
  SessionRunnerLLM: () => exports_llm,
105
- node: () => node11
105
+ node: () => node2
106
106
  });
107
107
  import { Message } from "@opencode/ai";
108
108
  import { and, desc, eq, sql } from "drizzle-orm";
109
109
  import { Cause, Effect, Exit, FiberMap, Layer } from "effect";
110
110
  import { makeLocationNode } from "@opencode/util/effect/app-node";
111
111
  var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
112
- var layer = Layer.effect(Service43, Effect.gen(function* () {
112
+ var layer = Layer.effect(Service60, Effect.gen(function* () {
113
113
  const bus = yield* Service83;
114
- const lifecycle = yield* Service13;
115
- const store = yield* Service53;
116
- const context = yield* Service27;
117
- const modelTransport = yield* Service36;
114
+ const lifecycle = yield* Service16;
115
+ const store = yield* Service67;
116
+ const context = yield* Service20;
117
+ const modelTransport = yield* Service25;
118
118
  const db = (yield* Service84).db;
119
- const compaction = yield* Service10;
120
- const plugins = yield* Service35;
121
- const title = yield* Service12;
122
- const steps = yield* make9;
119
+ const compaction = yield* Service6;
120
+ const plugins = yield* Service30;
121
+ const title = yield* Service2;
122
+ const steps = yield* make3;
123
123
  const titles = yield* FiberMap.make();
124
124
  const drain = Effect.fn("SessionRunner.drain")(function* (input) {
125
125
  const sessionID = input.sessionID;
@@ -240,7 +240,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
240
240
  const runStep = Effect.fn("SessionRunner.runStep")(function* (first, step) {
241
241
  const sessionID = first.session.id;
242
242
  let assistantMessageID = SessionMessage2.ID.create();
243
- const retry = yield* make10(bus, sessionID);
243
+ const retry = yield* make6(bus, sessionID);
244
244
  let initial = first;
245
245
  let recoverOverflow = true;
246
246
  let recoverContinuation = true;
@@ -356,25 +356,25 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
356
356
  }
357
357
  }
358
358
  });
359
- return Service43.of({ drain });
359
+ return Service60.of({ drain });
360
360
  }));
361
- var node11 = makeLocationNode({
362
- service: Service43,
361
+ var node2 = makeLocationNode({
362
+ service: Service60,
363
363
  layer,
364
364
  deps: [
365
365
  node87,
366
- node15,
366
+ node18,
367
367
  llmClient2,
368
- node30,
369
- node38,
370
- node56,
371
- node12,
372
- node17,
373
- node14,
374
- node61,
375
- node68,
368
+ node24,
369
+ node29,
370
+ node70,
371
+ node8,
372
+ node20,
373
+ node3,
374
+ node46,
375
+ node54,
376
376
  node88
377
377
  ]
378
378
  });
379
379
 
380
- export { node11, exports_llm };
380
+ export { node2, exports_llm };
@@ -1,67 +1,67 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./agent-z5v4ffb3.js";
3
+ } from "./state-z5v4ffb3.js";
4
4
  import {
5
5
  WorktreeError2
6
- } from "./agent-rfrf17aw.js";
6
+ } from "./state-jte75k51.js";
7
7
  import {
8
8
  Slug2
9
- } from "./agent-gebd4c9n.js";
9
+ } from "./state-gebd4c9n.js";
10
10
  import {
11
11
  Service84,
12
12
  node88
13
- } from "./agent-q3hqp1sp.js";
13
+ } from "./state-n4qnjn2y.js";
14
14
  import {
15
15
  Service83,
16
16
  node87
17
- } from "./agent-0tcn2edf.js";
17
+ } from "./state-wt1200yk.js";
18
18
  import {
19
19
  ProjectTable2
20
- } from "./agent-3cegwx68.js";
20
+ } from "./state-h2b79v29.js";
21
21
  import {
22
22
  WorktreeTable2
23
- } from "./agent-84h8c373.js";
23
+ } from "./state-1dvck2a7.js";
24
24
  import {
25
- ID17,
26
- NotFoundError11
27
- } from "./agent-ee7hath9.js";
25
+ ID15,
26
+ NotFoundError10
27
+ } from "./state-ybgh13y4.js";
28
28
  import {
29
29
  Ref4
30
- } from "./agent-2tfjmdh5.js";
30
+ } from "./state-v03amwsg.js";
31
31
  import {
32
- Service47,
33
- node49
34
- } from "./agent-t0d6zw4z.js";
32
+ Service71,
33
+ node74
34
+ } from "./state-raw9brj8.js";
35
35
  import {
36
36
  DirectoryUnavailableError2,
37
37
  canonical2
38
- } from "./agent-0emb60td.js";
38
+ } from "./state-0vbcp93d.js";
39
39
  import {
40
- Service19
41
- } from "./agent-ct17t7wc.js";
40
+ Service55
41
+ } from "./state-v3kds7by.js";
42
42
  import {
43
43
  __export
44
- } from "./agent-9rqn6x4v.js";
44
+ } from "./state-9rqn6x4v.js";
45
45
 
46
46
  // src/worktree.ts
47
47
  var exports_worktree2 = {};
48
48
  __export(exports_worktree2, {
49
- CreateInput: () => CreateInput2,
49
+ CreateInput: () => CreateInput3,
50
50
  DestinationExistsError: () => DestinationExistsError2,
51
51
  DirectoryUnavailableError: () => DirectoryUnavailableError2,
52
- Event: () => Event4,
53
- Info: () => Info4,
52
+ Event: () => Event13,
53
+ Info: () => Info14,
54
54
  InvalidDirectoryError: () => InvalidDirectoryError2,
55
55
  List: () => List2,
56
56
  ListEntry: () => ListEntry3,
57
57
  OperationError: () => OperationError2,
58
58
  RemoveInput: () => RemoveInput2,
59
- Service: () => Service18,
59
+ Service: () => Service54,
60
60
  SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
61
61
  StrategyID: () => StrategyID2,
62
62
  StrategyUnavailableError: () => StrategyUnavailableError2,
63
63
  Worktree: () => exports_worktree2,
64
- node: () => node21
64
+ node: () => node58
65
65
  });
66
66
  import { Context, Effect, Layer, Schema } from "effect";
67
67
  import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
@@ -73,13 +73,13 @@ import { AppProcess } from "@opencode/util/process";
73
73
  import { ChildProcess } from "effect/unstable/process";
74
74
  import { OperationError as OperationError2 } from "@opencode/schema/worktree";
75
75
  var StrategyID2 = Worktree.StrategyID;
76
- var CreateInput2 = Worktree.CreateInput;
76
+ var CreateInput3 = Worktree.CreateInput;
77
77
  var RemoveInput2 = Worktree.RemoveInput;
78
- var Info4 = Worktree.Info;
78
+ var Info14 = Worktree.Info;
79
79
  var List2 = Worktree.List;
80
80
  var ListEntry3 = Worktree.ListEntry;
81
81
 
82
- class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID17, directory: Schema.optional(AbsolutePath2) }) {
82
+ class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID15, directory: Schema.optional(AbsolutePath2) }) {
83
83
  }
84
84
 
85
85
  class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
@@ -90,21 +90,21 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
90
90
 
91
91
  class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
92
92
  }
93
- var Event4 = Worktree.Event;
93
+ var Event13 = Worktree.Event;
94
94
 
95
- class Service18 extends Context.Service()("@opencode/Worktree") {
95
+ class Service54 extends Context.Service()("@opencode/Worktree") {
96
96
  }
97
- var layer = Layer.effect(Service18, Effect.gen(function* () {
97
+ var layer = Layer.effect(Service54, Effect.gen(function* () {
98
98
  const fs = yield* FSUtil.Service;
99
99
  const database = yield* Service84;
100
100
  const db = database.db;
101
101
  const bus = yield* Service83;
102
102
  const processService = yield* AppProcess.Service;
103
- const locations = yield* Service47;
103
+ const locations = yield* Service71;
104
104
  const project = Effect.fnUntraced(function* (projectID) {
105
105
  const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
106
106
  if (!row)
107
- return yield* new NotFoundError11({ projectID });
107
+ return yield* new NotFoundError10({ projectID });
108
108
  return row;
109
109
  });
110
110
  const load = Effect.fnUntraced(function* (directory, current) {
@@ -115,11 +115,11 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
115
115
  const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
116
116
  const context = yield* locations.contextEffect(Ref4.make({ directory }));
117
117
  yield* Context.get(context, Plugin.Service).awaitActivation;
118
- return Context.get(context, Service19).get();
118
+ return Context.get(context, Service55).get();
119
119
  });
120
120
  const changed = Effect.fnUntraced(function* (projectID, update) {
121
121
  if (update)
122
- yield* bus.publish(Event4.Updated, { projectID });
122
+ yield* bus.publish(Event13.Updated, { projectID });
123
123
  });
124
124
  const ops = {
125
125
  list: Effect.fnUntraced(function* (projectID) {
@@ -246,7 +246,7 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
246
246
  })).pipe(Effect.orDie);
247
247
  yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
248
248
  }, Effect.scoped);
249
- return Service18.of({
249
+ return Service54.of({
250
250
  list: Effect.fn("Worktree.list")(function* (input) {
251
251
  yield* project(input.projectID);
252
252
  return yield* ops.list(input.projectID);
@@ -256,10 +256,10 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
256
256
  refresh
257
257
  });
258
258
  }));
259
- var node21 = Node.makeGlobalNode({
260
- service: Service18,
259
+ var node58 = Node.makeGlobalNode({
260
+ service: Service54,
261
261
  layer,
262
- deps: [FSUtil.node, node87, node88, AppProcess.node, node49]
262
+ deps: [FSUtil.node, node87, node88, AppProcess.node, node74]
263
263
  });
264
264
  function operationError(strategy, operation, error) {
265
265
  if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
@@ -269,4 +269,4 @@ function operationError(strategy, operation, error) {
269
269
  });
270
270
  }
271
271
 
272
- export { StrategyID2, CreateInput2, RemoveInput2, Info4, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event4, Service18, node21, exports_worktree2, OperationError2 };
272
+ export { StrategyID2, CreateInput3, RemoveInput2, Info14, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event13, Service54, node58, exports_worktree2, OperationError2 };
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service55
3
- } from "./agent-81q1psws.js";
2
+ Service64
3
+ } from "./state-jhc49e06.js";
4
4
  import {
5
- Service25
6
- } from "./agent-9qkyr202.js";
5
+ Service18
6
+ } from "./state-3wbg2ndj.js";
7
7
  import {
8
8
  text2,
9
9
  deliver2
10
- } from "./agent-x1ezjp6w.js";
10
+ } from "./state-x1ezjp6w.js";
11
11
  import {
12
12
  __export
13
- } from "./agent-9rqn6x4v.js";
13
+ } from "./state-9rqn6x4v.js";
14
14
 
15
15
  // src/session/subagent-job.ts
16
16
  var exports_subagent_job = {};
17
17
  __export(exports_subagent_job, {
18
18
  SubagentJob: () => exports_subagent_job,
19
- make: () => make11
19
+ make: () => make7
20
20
  });
21
21
  import { Effect, Scope } from "effect";
22
- var make11 = Effect.gen(function* () {
23
- const sessions = yield* Service25;
24
- const jobs = yield* Service55;
22
+ var make7 = Effect.gen(function* () {
23
+ const sessions = yield* Service18;
24
+ const jobs = yield* Service64;
25
25
  const scope = yield* Scope.Scope;
26
26
  const notifications = new Set;
27
27
  const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
@@ -58,4 +58,4 @@ var make11 = Effect.gen(function* () {
58
58
  };
59
59
  });
60
60
 
61
- export { make11, exports_subagent_job };
61
+ export { make7, exports_subagent_job };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./agent-9rqn6x4v.js";
3
+ } from "./state-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/instance.ts
6
6
  var exports_instance2 = {};
7
7
  __export(exports_instance2, {
8
8
  InstancePlugins: () => exports_instance2,
9
- Service: () => Service8,
9
+ Service: () => Service12,
10
10
  bound: () => bound2,
11
- node: () => node9
11
+ node: () => node14
12
12
  });
13
13
  import { Context, Layer } from "effect";
14
14
  import { makeLocationNode } from "@opencode/util/effect/app-node";
15
15
 
16
- class Service8 extends Context.Service()("@opencode/InstancePlugins") {
16
+ class Service12 extends Context.Service()("@opencode/InstancePlugins") {
17
17
  }
18
- var node9 = makeLocationNode({
19
- service: Service8,
18
+ var node14 = makeLocationNode({
19
+ service: Service12,
20
20
  layer: bound2([]),
21
21
  deps: []
22
22
  });
@@ -26,7 +26,7 @@ function bound2(plugins) {
26
26
  throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
27
27
  }
28
28
  const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
29
- return Layer.succeed(Service8, Service8.of({ all: () => stamped }));
29
+ return Layer.succeed(Service12, Service12.of({ all: () => stamped }));
30
30
  }
31
31
 
32
- export { Service8, node9, bound2, exports_instance2 };
32
+ export { Service12, node14, bound2, exports_instance2 };
@@ -3,34 +3,34 @@ import {
3
3
  WrongKind2,
4
4
  Failed2,
5
5
  typeFollowing2
6
- } from "./agent-2a5m3afh.js";
6
+ } from "./state-2a5m3afh.js";
7
7
  import {
8
8
  execDefaults2
9
- } from "./agent-1dazxqgg.js";
9
+ } from "./state-1dazxqgg.js";
10
10
  import {
11
11
  makeLocalDriver2
12
- } from "./agent-b6gygkdw.js";
12
+ } from "./state-b6gygkdw.js";
13
13
  import {
14
14
  makeMemoryDriver2
15
- } from "./agent-aaet6srn.js";
15
+ } from "./state-aaet6srn.js";
16
16
  import {
17
- Service80,
18
- node84
19
- } from "./agent-2tfjmdh5.js";
17
+ Service78,
18
+ node81
19
+ } from "./state-v03amwsg.js";
20
20
  import {
21
- Service70,
22
- node73
23
- } from "./agent-9mwv3506.js";
21
+ Service81,
22
+ node84
23
+ } from "./state-sraxnq5r.js";
24
24
  import {
25
25
  __export
26
- } from "./agent-9rqn6x4v.js";
26
+ } from "./state-9rqn6x4v.js";
27
27
 
28
28
  // src/environment/environment.ts
29
29
  var exports_environment2 = {};
30
30
  __export(exports_environment2, {
31
31
  EnvironmentService: () => exports_environment2,
32
- Service: () => Service69,
33
- node: () => node72
32
+ Service: () => Service58,
33
+ node: () => node62
34
34
  });
35
35
  import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
36
36
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -43,13 +43,13 @@ __export(exports_environment3, {
43
43
  Environment: () => exports_environment3,
44
44
  Failed: () => Failed2,
45
45
  NotFound: () => NotFound2,
46
- Service: () => Service69,
46
+ Service: () => Service58,
47
47
  WrongKind: () => WrongKind2,
48
48
  execDefaults: () => execDefaults2,
49
49
  makeFiles: () => makeFiles2,
50
50
  makeLocalDriver: () => makeLocalDriver2,
51
51
  makeMemoryDriver: () => makeMemoryDriver2,
52
- node: () => node72,
52
+ node: () => node62,
53
53
  typeFollowing: () => typeFollowing2
54
54
  });
55
55
  var makeFiles2 = (driver) => ({
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
58
58
  });
59
59
 
60
60
  // src/environment/environment.ts
61
- class Service69 extends Context.Service()("@opencode/Environment") {
61
+ class Service58 extends Context.Service()("@opencode/Environment") {
62
62
  }
63
- var layer = Layer.effect(Service69, Effect.gen(function* () {
63
+ var layer = Layer.effect(Service58, Effect.gen(function* () {
64
64
  const spawner = yield* ChildProcessSpawner;
65
- const location = yield* Service80;
66
- const workspace = yield* Service70;
65
+ const location = yield* Service78;
66
+ const workspace = yield* Service81;
67
67
  const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
68
- return Service69.of({ files: makeFiles2(driver), spawner: driver.spawner });
68
+ return Service58.of({ files: makeFiles2(driver), spawner: driver.spawner });
69
69
  }));
70
- var node72 = makeLocationNode({
71
- service: Service69,
70
+ var node62 = makeLocationNode({
71
+ service: Service58,
72
72
  layer,
73
- deps: [CrossSpawnSpawner.node, node84, node73]
73
+ deps: [CrossSpawnSpawner.node, node81, node84]
74
74
  });
75
75
 
76
- export { Service69, node72, exports_environment2, makeFiles2, exports_environment3 };
76
+ export { Service58, node62, exports_environment2, makeFiles2, exports_environment3 };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./agent-z5v4ffb3.js";
3
+ } from "./state-z5v4ffb3.js";
4
4
  import {
5
- Info7,
5
+ Info5,
6
6
  ID4,
7
7
  Name2
8
- } from "./agent-2ejavyye.js";
8
+ } from "./state-62j9fngz.js";
9
9
  import {
10
- Service63
11
- } from "./agent-xmsh8y1f.js";
10
+ Service51
11
+ } from "./state-0habsvra.js";
12
12
  import {
13
13
  __export
14
- } from "./agent-9rqn6x4v.js";
14
+ } from "./state-9rqn6x4v.js";
15
15
 
16
16
  // src/plugin/skill.ts
17
17
  var exports_skill3 = {};
@@ -430,14 +430,14 @@ var Plugin41 = define({
430
430
  effect: Effect.fn(function* (ctx) {
431
431
  const reportContent = yield* reportContentWithDiagnostics(ctx.app);
432
432
  yield* ctx.skill.transform((editor) => {
433
- editor.add(Info7.make({
433
+ editor.add(Info5.make({
434
434
  id: ID4.make("opencode"),
435
435
  name: Name2.make("OpenCode"),
436
436
  description: OpencodeDescription2,
437
437
  path: AbsolutePath2.make("/builtin/opencode.md"),
438
438
  content: OpencodeContent2
439
439
  }));
440
- editor.add(Info7.make({
440
+ editor.add(Info5.make({
441
441
  id: ID4.make("report"),
442
442
  name: Name2.make("Report"),
443
443
  description: REPORT_DESCRIPTION,
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
466
466
  `);
467
467
  });
468
468
  var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
469
- const config = yield* Service63;
469
+ const config = yield* Service51;
470
470
  return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
471
471
  });
472
472
  function terminal() {
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Service83
3
- } from "./agent-0tcn2edf.js";
3
+ } from "./state-wt1200yk.js";
4
4
  import {
5
- Service21,
6
- Event5
7
- } from "./agent-rmvpnps6.js";
5
+ Service17,
6
+ Event3
7
+ } from "./state-4kzv2d1h.js";
8
8
 
9
9
  // src/plugin/models-dev.ts
10
10
  import { define } from "@opencode/plugin/effect/plugin";
@@ -29,7 +29,7 @@ var BEDROCK_PROFILE_ONLY_IDS = [
29
29
  var ModelsDevPlugin2 = define({
30
30
  id: "opencode.models.dev",
31
31
  effect: Effect.fn(function* (ctx) {
32
- const modelsDev = yield* Service21;
32
+ const modelsDev = yield* Service17;
33
33
  const bus = yield* Service83;
34
34
  const loaded = { data: snapshots(yield* modelsDev.get()) };
35
35
  yield* ctx.integration.transform((integrations) => {
@@ -63,7 +63,7 @@ var ModelsDevPlugin2 = define({
63
63
  loaded.data = snapshots(data);
64
64
  return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
65
65
  };
66
- yield* bus.subscribe(Event5.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
66
+ yield* bus.subscribe(Event3.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
67
67
  const latest = yield* modelsDev.get();
68
68
  if (snapshots(latest) !== loaded.data)
69
69
  yield* apply(latest);