@opencode/core 0.0.0-dev-19274 → 0.0.0-dev-19277

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 +81 -81
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/catalog.js +81 -81
  8. package/dist/chunks/{file-vypqtakx.js → file-mutation-00mqm9kf.js} +1 -1
  9. package/dist/chunks/{file-7xdgscg1.js → file-mutation-06jyfgyp.js} +15 -15
  10. package/dist/chunks/{file-anvxjef4.js → file-mutation-06z9ykg9.js} +4 -4
  11. package/dist/chunks/{file-q73rq2bt.js → file-mutation-0dvs85g7.js} +30 -30
  12. package/dist/chunks/{file-1q5awywt.js → file-mutation-0gapa1rm.js} +5 -5
  13. package/dist/chunks/{file-1dfhrqqs.js → file-mutation-0hpxrkyb.js} +5 -5
  14. package/dist/chunks/file-mutation-0mesazry.js +4 -0
  15. package/dist/chunks/{file-0paq2nw3.js → file-mutation-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{file-0q0f95c6.js → file-mutation-0q0f95c6.js} +1 -1
  17. package/dist/chunks/{file-4qfh6hxk.js → file-mutation-0rkmensh.js} +27 -27
  18. package/dist/chunks/{file-25kqvm6v.js → file-mutation-0wyskpwe.js} +18 -18
  19. package/dist/chunks/{file-xbrgdg50.js → file-mutation-0zraj51v.js} +15 -15
  20. package/dist/chunks/{file-aw3yg1a6.js → file-mutation-10thcfkt.js} +11 -11
  21. package/dist/chunks/{file-2tv38tk1.js → file-mutation-16c289jz.js} +11 -11
  22. package/dist/chunks/{file-f2n192rq.js → file-mutation-1acjjqhc.js} +4 -4
  23. package/dist/chunks/{file-bkqrvamq.js → file-mutation-1c43r3nd.js} +32 -32
  24. package/dist/chunks/{file-1dazxqgg.js → file-mutation-1dazxqgg.js} +2 -2
  25. package/dist/chunks/{file-wkpvzz54.js → file-mutation-1gxa8pvp.js} +9 -9
  26. package/dist/chunks/{file-21r38tys.js → file-mutation-21r38tys.js} +1 -1
  27. package/dist/chunks/file-mutation-222skj7k.js +22 -0
  28. package/dist/chunks/{file-2402vzrj.js → file-mutation-2402vzrj.js} +1 -1
  29. package/dist/chunks/{file-d8drewm4.js → file-mutation-247w7exe.js} +28 -28
  30. package/dist/chunks/{file-y7egkzp6.js → file-mutation-25j8zc8k.js} +15 -15
  31. package/dist/chunks/{file-2a5m3afh.js → file-mutation-2a5m3afh.js} +1 -1
  32. package/dist/chunks/{file-exww9xwg.js → file-mutation-2d2egxgf.js} +6 -6
  33. package/dist/chunks/{file-dv250zvr.js → file-mutation-2f04pwep.js} +3 -3
  34. package/dist/chunks/{file-ttqfmzkf.js → file-mutation-2g1m3br9.js} +4 -4
  35. package/dist/chunks/{file-shsgghb2.js → file-mutation-2gz38ge4.js} +26 -26
  36. package/dist/chunks/{file-wcge806m.js → file-mutation-2tfmgkzg.js} +4 -4
  37. package/dist/chunks/{file-6c7ejz51.js → file-mutation-2xjj231b.js} +2 -2
  38. package/dist/chunks/{file-bdbwpwhn.js → file-mutation-2y7rw762.js} +20 -20
  39. package/dist/chunks/{file-y5cw24ds.js → file-mutation-3104awdf.js} +14 -14
  40. package/dist/chunks/{file-vr4b7vmt.js → file-mutation-35v8zpsc.js} +10 -10
  41. package/dist/chunks/{file-wea26x67.js → file-mutation-367cq7nk.js} +4 -4
  42. package/dist/chunks/{file-1xzdp18p.js → file-mutation-39d2pp1w.js} +36 -36
  43. package/dist/chunks/{file-2bdsn8gv.js → file-mutation-3atm5pec.js} +11 -11
  44. package/dist/chunks/{file-hzvfpvak.js → file-mutation-3az26vt0.js} +4 -4
  45. package/dist/chunks/{file-gdvy8fx6.js → file-mutation-3fc6dm20.js} +4 -4
  46. package/dist/chunks/{file-wwegy27d.js → file-mutation-3fz5m4fk.js} +32 -32
  47. package/dist/chunks/{file-vvxeqa35.js → file-mutation-3g8y8pv7.js} +141 -141
  48. package/dist/chunks/{file-3hepkmqq.js → file-mutation-3hepkmqq.js} +1 -1
  49. package/dist/chunks/{file-sq4v2gnf.js → file-mutation-3r6p895e.js} +9 -9
  50. package/dist/chunks/{file-3smtnn6g.js → file-mutation-3smtnn6g.js} +1 -1
  51. package/dist/chunks/{file-3tvqynh2.js → file-mutation-3tvqynh2.js} +1 -1
  52. package/dist/chunks/{file-a1d2hteq.js → file-mutation-3xgyx5eq.js} +11 -11
  53. package/dist/chunks/{file-h2gyv3sg.js → file-mutation-4066mr2m.js} +1 -1
  54. package/dist/chunks/{file-7be1f342.js → file-mutation-42f597f5.js} +18 -18
  55. package/dist/chunks/{file-c6jw9d6c.js → file-mutation-42sfbp1j.js} +20 -20
  56. package/dist/chunks/{file-dvmnmd5k.js → file-mutation-48dbrct6.js} +50 -50
  57. package/dist/chunks/{file-swasttjx.js → file-mutation-4a9jveby.js} +13 -13
  58. package/dist/chunks/{file-a2zsx8ap.js → file-mutation-4qwq4s91.js} +22 -22
  59. package/dist/chunks/{file-wfpsx1me.js → file-mutation-4xhhjths.js} +8 -8
  60. package/dist/chunks/{file-1ndzzahp.js → file-mutation-4zsgf4s5.js} +3 -3
  61. package/dist/chunks/{file-rq8fnevv.js → file-mutation-51p8cq1d.js} +5 -5
  62. package/dist/chunks/{file-qrbavdvc.js → file-mutation-5937bz6q.js} +15 -15
  63. package/dist/chunks/{file-h2wxq9m6.js → file-mutation-5br4wbzw.js} +31 -31
  64. package/dist/chunks/{file-5c4hm403.js → file-mutation-5c4hm403.js} +3 -3
  65. package/dist/chunks/{file-5daktx2q.js → file-mutation-5daktx2q.js} +1 -1
  66. package/dist/chunks/{file-pq4st5kv.js → file-mutation-5gadzevc.js} +2 -2
  67. package/dist/chunks/{file-cny5rd43.js → file-mutation-5hk4b2g6.js} +8 -8
  68. package/dist/chunks/{file-1s5k653j.js → file-mutation-5jrddqs7.js} +29 -29
  69. package/dist/chunks/{file-endpbns8.js → file-mutation-5n93a29p.js} +6 -6
  70. package/dist/chunks/{file-5t3nmthw.js → file-mutation-5t3nmthw.js} +2 -2
  71. package/dist/chunks/{file-eex81ar0.js → file-mutation-60258f1x.js} +32 -32
  72. package/dist/chunks/{file-zx86nq6m.js → file-mutation-606feepv.js} +13 -13
  73. package/dist/chunks/{file-4g3hne3q.js → file-mutation-60kyphxy.js} +18 -18
  74. package/dist/chunks/{file-669tq793.js → file-mutation-669tq793.js} +1 -1
  75. package/dist/chunks/{file-w85wdfaw.js → file-mutation-6bjqtyfe.js} +19 -19
  76. package/dist/chunks/{file-rkh7tb58.js → file-mutation-6cmsf6vb.js} +13 -13
  77. package/dist/chunks/{file-6msgmcgs.js → file-mutation-6msgmcgs.js} +1 -1
  78. package/dist/chunks/{file-94sf61n7.js → file-mutation-6q1wcpsb.js} +11 -11
  79. package/dist/chunks/{file-j8sknp13.js → file-mutation-6sv6dpsj.js} +20 -20
  80. package/dist/chunks/{file-71q4at8m.js → file-mutation-71q4at8m.js} +1 -1
  81. package/dist/chunks/{file-nx4935gj.js → file-mutation-72tn9ghv.js} +10 -10
  82. package/dist/chunks/{file-vabb23s0.js → file-mutation-79r1wrqa.js} +1 -1
  83. package/dist/chunks/{file-7bmhse3q.js → file-mutation-7bmhse3q.js} +1 -1
  84. package/dist/chunks/{file-3c1tgrea.js → file-mutation-7bnzk546.js} +6 -6
  85. package/dist/chunks/{file-81pg61w1.js → file-mutation-7h5kkf6d.js} +8 -8
  86. package/dist/chunks/{file-t3g2ccp6.js → file-mutation-7p10x1xf.js} +28 -28
  87. package/dist/chunks/{file-pjedbq3k.js → file-mutation-7w3s9kd0.js} +4 -4
  88. package/dist/chunks/{file-y2800yn9.js → file-mutation-7xb7fmfe.js} +4 -4
  89. package/dist/chunks/{file-67e9xs01.js → file-mutation-7y01f8qv.js} +25 -25
  90. package/dist/chunks/{file-mq2071pb.js → file-mutation-7yae232w.js} +19 -19
  91. package/dist/chunks/{file-qz49fwgp.js → file-mutation-7yqjxrmz.js} +4 -4
  92. package/dist/chunks/file-mutation-8133rf48.js +462 -0
  93. package/dist/chunks/{file-81swgkk7.js → file-mutation-81swgkk7.js} +2 -2
  94. package/dist/chunks/{file-em6n8dz9.js → file-mutation-836726zz.js} +46 -46
  95. package/dist/chunks/{file-hznfad64.js → file-mutation-8cta7abr.js} +27 -27
  96. package/dist/chunks/{file-8d7r5vzw.js → file-mutation-8d7r5vzw.js} +1 -1
  97. package/dist/chunks/{file-knac466s.js → file-mutation-8dh3d31y.js} +23 -23
  98. package/dist/chunks/{file-9phvn7ns.js → file-mutation-8drta6s7.js} +3 -3
  99. package/dist/chunks/{file-1xb0henf.js → file-mutation-8ebjx6fe.js} +42 -42
  100. package/dist/chunks/{file-b4n85fcv.js → file-mutation-8ghb20vc.js} +32 -32
  101. package/dist/chunks/{file-sxhqw0xy.js → file-mutation-8j6q4g8w.js} +37 -37
  102. package/dist/chunks/{file-0djf8xh9.js → file-mutation-8jbc784w.js} +3 -3
  103. package/dist/chunks/{file-ra8xed55.js → file-mutation-8qyd7cwr.js} +29 -29
  104. package/dist/chunks/{file-bby00dsd.js → file-mutation-8sghyhzw.js} +8 -8
  105. package/dist/chunks/{file-j5e99w94.js → file-mutation-92gnze2z.js} +22 -22
  106. package/dist/chunks/{file-2f1k6btd.js → file-mutation-94akxnqj.js} +23 -23
  107. package/dist/chunks/{file-s2tycd90.js → file-mutation-9jpw5dy7.js} +23 -23
  108. package/dist/chunks/{file-3m095h8d.js → file-mutation-9mc8gqcg.js} +16 -16
  109. package/dist/chunks/{file-bge4fr1z.js → file-mutation-9rd8ck05.js} +21 -21
  110. package/dist/chunks/file-mutation-9sh4wc5j.js +18 -0
  111. package/dist/chunks/{file-2nhrma10.js → file-mutation-a1pyxhvt.js} +8 -8
  112. package/dist/chunks/{file-zv0544jz.js → file-mutation-a2ew8a62.js} +4 -4
  113. package/dist/chunks/{file-yckky8df.js → file-mutation-a3nznhzv.js} +8 -8
  114. package/dist/chunks/{file-7sgb7w3n.js → file-mutation-a3x7agn0.js} +10 -10
  115. package/dist/chunks/{file-008dah4r.js → file-mutation-a8rhcpbw.js} +46 -46
  116. package/dist/chunks/{file-aaet6srn.js → file-mutation-aaet6srn.js} +2 -2
  117. package/dist/chunks/{file-3cz8rj72.js → file-mutation-af04s6ss.js} +5 -5
  118. package/dist/chunks/{file-ne3jdqry.js → file-mutation-axp4ehpq.js} +6 -6
  119. package/dist/chunks/file-mutation-b48n75y5.js +247 -0
  120. package/dist/chunks/{file-b6gygkdw.js → file-mutation-b6gygkdw.js} +2 -2
  121. package/dist/chunks/{file-s4m5whm3.js → file-mutation-bb3vk36n.js} +42 -42
  122. package/dist/chunks/{file-vg6tfdkt.js → file-mutation-bn9crtcs.js} +15 -15
  123. package/dist/chunks/{file-b4nrwvyj.js → file-mutation-bpestkwk.js} +18 -18
  124. package/dist/chunks/{file-9k2v62xn.js → file-mutation-c3kepfq8.js} +1 -1
  125. package/dist/chunks/{file-jrrn2k62.js → file-mutation-cjsb4aez.js} +4 -4
  126. package/dist/chunks/{file-79175vp8.js → file-mutation-cnev1v43.js} +35 -35
  127. package/dist/chunks/{file-51kk6f2e.js → file-mutation-cts2bt7k.js} +15 -15
  128. package/dist/chunks/{file-ab8td0yc.js → file-mutation-d8w89wm7.js} +47 -47
  129. package/dist/chunks/{file-y0kn4hqx.js → file-mutation-da1r5k86.js} +6 -6
  130. package/dist/chunks/{file-esdnemd6.js → file-mutation-dcj77ap2.js} +1 -1
  131. package/dist/chunks/{file-kbqxyd6c.js → file-mutation-dfjp71nt.js} +13 -13
  132. package/dist/chunks/{file-dj2t23y0.js → file-mutation-dj2t23y0.js} +2 -2
  133. package/dist/chunks/{file-8tef8d4h.js → file-mutation-dmkr9q0x.js} +41 -41
  134. package/dist/chunks/{file-qf00j6dv.js → file-mutation-dmvjy0zd.js} +20 -20
  135. package/dist/chunks/{file-dpkg50ah.js → file-mutation-dpkg50ah.js} +1 -1
  136. package/dist/chunks/{file-ya1b4y87.js → file-mutation-dpkj867d.js} +24 -24
  137. package/dist/chunks/{file-q26tgv94.js → file-mutation-dv1qgsyq.js} +8 -8
  138. package/dist/chunks/{file-2qz021p1.js → file-mutation-dv81esc2.js} +25 -25
  139. package/dist/chunks/{file-ec2j1krk.js → file-mutation-dw27n1fr.js} +36 -36
  140. package/dist/chunks/{file-rhjbct0v.js → file-mutation-eaj1djv9.js} +8 -8
  141. package/dist/chunks/{file-mvfjcd1q.js → file-mutation-eg73htfk.js} +10 -10
  142. package/dist/chunks/{file-2k29q1p2.js → file-mutation-ehc12fd7.js} +61 -61
  143. package/dist/chunks/{file-etq0c3wd.js → file-mutation-etq0c3wd.js} +1 -1
  144. package/dist/chunks/{file-4w7x8wv5.js → file-mutation-ex1n32br.js} +33 -33
  145. package/dist/chunks/{file-0rvyveqe.js → file-mutation-ext9pkk2.js} +20 -20
  146. package/dist/chunks/{file-6kgc56n8.js → file-mutation-ezt9sm97.js} +6 -6
  147. package/dist/chunks/{file-58ax6zm2.js → file-mutation-f8714f1t.js} +12 -12
  148. package/dist/chunks/{file-n5qmychr.js → file-mutation-fabdmt4z.js} +21 -21
  149. package/dist/chunks/{file-7dqw4kz8.js → file-mutation-fcrkznn8.js} +5 -5
  150. package/dist/chunks/{file-tk6q6kp1.js → file-mutation-ftbctthd.js} +19 -19
  151. package/dist/chunks/{file-fxbjtjnd.js → file-mutation-fxbjtjnd.js} +1 -1
  152. package/dist/chunks/{file-pjsmk15p.js → file-mutation-fxp7jvj2.js} +18 -18
  153. package/dist/chunks/{file-3wj4wm80.js → file-mutation-g38wjbjk.js} +83 -83
  154. package/dist/chunks/{file-nrzk1d2g.js → file-mutation-g52xpjny.js} +22 -22
  155. package/dist/chunks/{file-gd4qta3r.js → file-mutation-gd4qta3r.js} +1 -1
  156. package/dist/chunks/{file-t0x5rdq8.js → file-mutation-gfqzzqy5.js} +9 -9
  157. package/dist/chunks/{file-th5km1p3.js → file-mutation-gv6a8nnw.js} +5 -5
  158. package/dist/chunks/{file-bdkz1q2y.js → file-mutation-gx7t6n5h.js} +6 -6
  159. package/dist/chunks/{file-h03wrkyp.js → file-mutation-h03wrkyp.js} +2 -2
  160. package/dist/chunks/{file-h6vf3j39.js → file-mutation-h6vf3j39.js} +1 -1
  161. package/dist/chunks/{file-hdnk95c8.js → file-mutation-hdnk95c8.js} +2 -2
  162. package/dist/chunks/{file-2nck4hg8.js → file-mutation-hh3rdgg0.js} +13 -13
  163. package/dist/chunks/{file-y0bkwhrp.js → file-mutation-hjqx3p8t.js} +20 -20
  164. package/dist/chunks/{file-e82z9tr0.js → file-mutation-hjt4xg1x.js} +7 -7
  165. package/dist/chunks/{file-w645sbyz.js → file-mutation-hmdpr2b6.js} +17 -17
  166. package/dist/chunks/{file-2j4ksk9q.js → file-mutation-hrd90x2a.js} +14 -14
  167. package/dist/chunks/{file-nz54bs3w.js → file-mutation-hxjrekng.js} +25 -25
  168. package/dist/chunks/{file-yca9gk6f.js → file-mutation-hyb8y3ys.js} +19 -19
  169. package/dist/chunks/{file-5vvax2qg.js → file-mutation-j1tv1ftq.js} +23 -23
  170. package/dist/chunks/{file-j56e64zr.js → file-mutation-j56e64zr.js} +1 -1
  171. package/dist/chunks/{file-gsx0ryk4.js → file-mutation-jjs74g98.js} +9 -9
  172. package/dist/chunks/{file-t1n4dhg9.js → file-mutation-jxd5bzpm.js} +9 -9
  173. package/dist/chunks/{file-wdatz8ry.js → file-mutation-jy4hnskt.js} +19 -19
  174. package/dist/chunks/{file-1q2nd9f6.js → file-mutation-jyyxenps.js} +62 -62
  175. package/dist/chunks/{file-axmvebxj.js → file-mutation-k2h4r4s0.js} +21 -21
  176. package/dist/chunks/{file-dsf3jx99.js → file-mutation-k7d0894y.js} +9 -9
  177. package/dist/chunks/{file-kggrcpgh.js → file-mutation-ke6fm163.js} +11 -11
  178. package/dist/chunks/{file-kg06axw8.js → file-mutation-kg06axw8.js} +1 -1
  179. package/dist/chunks/{file-3trbxeqx.js → file-mutation-kmv022h3.js} +1 -1
  180. package/dist/chunks/{file-06x8he3q.js → file-mutation-kne8f3cn.js} +4 -4
  181. package/dist/chunks/{file-enk99f8n.js → file-mutation-kw005k4s.js} +14 -14
  182. package/dist/chunks/{file-m0jqrx5p.js → file-mutation-m0jqrx5p.js} +2 -2
  183. package/dist/chunks/{file-tegrjk77.js → file-mutation-m6yajhq8.js} +11 -11
  184. package/dist/chunks/{file-m9w0rfyh.js → file-mutation-m9w0rfyh.js} +1 -1
  185. package/dist/chunks/{file-4hszn1mb.js → file-mutation-mejqjgjf.js} +29 -29
  186. package/dist/chunks/{file-1ygqh575.js → file-mutation-mfqp6xfm.js} +6 -6
  187. package/dist/chunks/{file-n3wgj171.js → file-mutation-mg72ab2k.js} +27 -27
  188. package/dist/chunks/{file-mhkvc446.js → file-mutation-mhkvc446.js} +1 -1
  189. package/dist/chunks/{file-mkcjrzeh.js → file-mutation-mkcjrzeh.js} +1 -1
  190. package/dist/chunks/{file-e9vyr379.js → file-mutation-mn56vmxg.js} +9 -9
  191. package/dist/chunks/{file-n37c4crj.js → file-mutation-n37c4crj.js} +2 -2
  192. package/dist/chunks/{file-9bey2zpa.js → file-mutation-n3ehebhz.js} +12 -12
  193. package/dist/chunks/{file-4vf981v9.js → file-mutation-nf9faws4.js} +20 -20
  194. package/dist/chunks/{file-jqcc8e1d.js → file-mutation-njwpmmd3.js} +12 -12
  195. package/dist/chunks/{file-cz12sndv.js → file-mutation-nkz4n0yd.js} +14 -14
  196. package/dist/chunks/{file-5vc2whd9.js → file-mutation-nkzsta8f.js} +32 -32
  197. package/dist/chunks/{file-xcp573p8.js → file-mutation-np31jw2q.js} +2 -2
  198. package/dist/chunks/{file-6fdj6kdr.js → file-mutation-p28nmw69.js} +4 -4
  199. package/dist/chunks/{file-vjknh09n.js → file-mutation-p2xftarf.js} +67 -67
  200. package/dist/chunks/{file-dw8dc0pw.js → file-mutation-p39afa95.js} +11 -11
  201. package/dist/chunks/{file-4znd88gj.js → file-mutation-p5needny.js} +32 -32
  202. package/dist/chunks/{file-v4b36nj3.js → file-mutation-p72z5xx6.js} +2 -2
  203. package/dist/chunks/{file-csf2jhsg.js → file-mutation-paegk39x.js} +4 -4
  204. package/dist/chunks/{file-j935v87r.js → file-mutation-paphc93g.js} +2 -2
  205. package/dist/chunks/{file-t5qb37t7.js → file-mutation-pazvw4y1.js} +10 -10
  206. package/dist/chunks/{file-h5pnkca0.js → file-mutation-pb9tbqa1.js} +37 -37
  207. package/dist/chunks/{file-pjvnvgmy.js → file-mutation-pjvnvgmy.js} +1 -1
  208. package/dist/chunks/{file-pknna89w.js → file-mutation-pknna89w.js} +1 -1
  209. package/dist/chunks/{file-xed1dtdk.js → file-mutation-ptzhgr5h.js} +8 -8
  210. package/dist/chunks/{file-pzh16mkn.js → file-mutation-pzh16mkn.js} +2 -2
  211. package/dist/chunks/{file-t9sxjxdg.js → file-mutation-q1a91n7k.js} +8 -8
  212. package/dist/chunks/{file-w6w0btqv.js → file-mutation-q2n4r9w0.js} +6 -6
  213. package/dist/chunks/{file-8gbf9msb.js → file-mutation-q6btqjeq.js} +24 -24
  214. package/dist/chunks/{file-3x6z6rsx.js → file-mutation-qcavarx3.js} +15 -15
  215. package/dist/chunks/{file-mrw4weg4.js → file-mutation-qcfsefxz.js} +5 -5
  216. package/dist/chunks/{file-hw2gt29t.js → file-mutation-qe9w01wa.js} +16 -16
  217. package/dist/chunks/{file-qsdy395h.js → file-mutation-qsdy395h.js} +1 -1
  218. package/dist/chunks/{file-8gkhtxwv.js → file-mutation-qtc2be4y.js} +26 -26
  219. package/dist/chunks/{file-m2shdzh0.js → file-mutation-qvpva3ng.js} +35 -35
  220. package/dist/chunks/{file-s0vw0vjm.js → file-mutation-qzdhe1zn.js} +26 -26
  221. package/dist/chunks/{file-2erbc7c4.js → file-mutation-r8kbebh4.js} +9 -9
  222. package/dist/chunks/{file-jbax583q.js → file-mutation-r907z5k8.js} +1 -1
  223. package/dist/chunks/{file-7atngb88.js → file-mutation-r98e92ep.js} +4 -4
  224. package/dist/chunks/{file-s52qk724.js → file-mutation-rctxm0qc.js} +27 -27
  225. package/dist/chunks/{file-2bk70kd1.js → file-mutation-rqkamac7.js} +13 -13
  226. package/dist/chunks/{file-x513e6jx.js → file-mutation-rsq2zz8k.js} +20 -20
  227. package/dist/chunks/{file-rs226bz6.js → file-mutation-rz0qknjf.js} +5 -5
  228. package/dist/chunks/{file-0rpg7gzc.js → file-mutation-s0hza5ac.js} +4 -4
  229. package/dist/chunks/{file-3nj27wxf.js → file-mutation-s28tf7nw.js} +10 -10
  230. package/dist/chunks/{file-04bp4d3m.js → file-mutation-s2jbkb1q.js} +11 -11
  231. package/dist/chunks/{file-79zsnxkc.js → file-mutation-s8bq04yk.js} +11 -11
  232. package/dist/chunks/{file-hmtfd8e7.js → file-mutation-smky3vmn.js} +11 -11
  233. package/dist/chunks/{file-82594dam.js → file-mutation-sp6dvf2v.js} +9 -9
  234. package/dist/chunks/{file-976ysedg.js → file-mutation-spm6zjyx.js} +15 -15
  235. package/dist/chunks/{file-84tssp1s.js → file-mutation-t69nnh3p.js} +8 -8
  236. package/dist/chunks/{file-kd3m4z14.js → file-mutation-t8dsf4y4.js} +26 -26
  237. package/dist/chunks/{file-tazgh4e4.js → file-mutation-tazgh4e4.js} +1 -1
  238. package/dist/chunks/{file-tcezcvh9.js → file-mutation-tcezcvh9.js} +1 -1
  239. package/dist/chunks/{file-5965tgm9.js → file-mutation-tcyfzrxp.js} +30 -30
  240. package/dist/chunks/{file-tdstcens.js → file-mutation-tdstcens.js} +1 -1
  241. package/dist/chunks/{file-kt5w8vxh.js → file-mutation-tdz9b6vr.js} +10 -10
  242. package/dist/chunks/{file-w59r8svm.js → file-mutation-tdzs1sts.js} +17 -17
  243. package/dist/chunks/{file-z3syage6.js → file-mutation-tjz4jb0t.js} +23 -23
  244. package/dist/chunks/{file-gdrhyezn.js → file-mutation-tn0aqsam.js} +5 -5
  245. package/dist/chunks/{file-rt7tcdqd.js → file-mutation-tn6wbc2f.js} +35 -35
  246. package/dist/chunks/{file-tvtrv512.js → file-mutation-tvtrv512.js} +1 -1
  247. package/dist/chunks/{file-9eqtwdne.js → file-mutation-tyjqv9hn.js} +91 -91
  248. package/dist/chunks/{file-2cws46q3.js → file-mutation-vbqfnkw5.js} +11 -11
  249. package/dist/chunks/{file-vyrr568v.js → file-mutation-veksjtca.js} +9 -9
  250. package/dist/chunks/{file-veqvce7d.js → file-mutation-veqvce7d.js} +1 -1
  251. package/dist/chunks/{file-bjpmp57t.js → file-mutation-vhyew4fq.js} +16 -16
  252. package/dist/chunks/{file-vmq7ehpy.js → file-mutation-vmq7ehpy.js} +2 -2
  253. package/dist/chunks/{file-8ncz7km3.js → file-mutation-vvzkhv7j.js} +5 -5
  254. package/dist/chunks/{file-vzcthcp8.js → file-mutation-vzcthcp8.js} +1 -1
  255. package/dist/chunks/{file-w3wsvvr9.js → file-mutation-w3wsvvr9.js} +1 -1
  256. package/dist/chunks/{file-3jp54z3r.js → file-mutation-w79zsp0s.js} +1 -1
  257. package/dist/chunks/{file-1ajj2c3r.js → file-mutation-wbvqtf6x.js} +36 -36
  258. package/dist/chunks/{file-axh6m6j7.js → file-mutation-wcwgv12t.js} +22 -22
  259. package/dist/chunks/{file-wd87259q.js → file-mutation-wd87259q.js} +1 -1
  260. package/dist/chunks/{file-0ea3rya4.js → file-mutation-whxd3enn.js} +7 -7
  261. package/dist/chunks/{file-w44msefy.js → file-mutation-wnmx9wgd.js} +14 -14
  262. package/dist/chunks/{file-agg557zn.js → file-mutation-wz87yraf.js} +11 -11
  263. package/dist/chunks/{file-x1ezjp6w.js → file-mutation-x1ezjp6w.js} +1 -1
  264. package/dist/chunks/{file-x43y2vfs.js → file-mutation-x43y2vfs.js} +2 -2
  265. package/dist/chunks/{file-c7m8954m.js → file-mutation-x4nm51dm.js} +5 -5
  266. package/dist/chunks/{file-5xhpatkf.js → file-mutation-xb2ts2qy.js} +9 -9
  267. package/dist/chunks/{file-g9ew5f51.js → file-mutation-xckwjtqa.js} +5 -5
  268. package/dist/chunks/{file-z9s268w6.js → file-mutation-xgggc9mx.js} +7 -7
  269. package/dist/chunks/{file-8bpbp254.js → file-mutation-xjy62hxy.js} +44 -44
  270. package/dist/chunks/{file-w5yv7xxz.js → file-mutation-xx4rmm3g.js} +3 -3
  271. package/dist/chunks/{file-y1fvbwt7.js → file-mutation-y1fvbwt7.js} +1 -1
  272. package/dist/chunks/{file-jqcaya3d.js → file-mutation-y29mgp2t.js} +11 -11
  273. package/dist/chunks/{file-arm49q9k.js → file-mutation-y3btstjn.js} +35 -35
  274. package/dist/chunks/{file-csyt93pz.js → file-mutation-y6gtn0j7.js} +8 -8
  275. package/dist/chunks/{file-yrhqyw5v.js → file-mutation-yrhqyw5v.js} +1 -1
  276. package/dist/chunks/{file-7g79e5pr.js → file-mutation-yrrr1c1d.js} +11 -11
  277. package/dist/chunks/{file-s4enseaf.js → file-mutation-yrznvahk.js} +2 -2
  278. package/dist/chunks/{file-z0bkrqjs.js → file-mutation-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{file-4x6ztkk5.js → file-mutation-z1rj0apg.js} +4 -4
  280. package/dist/chunks/{file-29x78va6.js → file-mutation-z63w68vq.js} +6 -6
  281. package/dist/chunks/{file-fq1h1v14.js → file-mutation-z7xj2rat.js} +3 -3
  282. package/dist/chunks/{file-zeh9ct20.js → file-mutation-zeh9ct20.js} +2 -2
  283. package/dist/chunks/{file-jypsjmxy.js → file-mutation-zfq492nr.js} +15 -15
  284. package/dist/chunks/{file-zr2ceqn5.js → file-mutation-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{file-cp5f26bt.js → file-mutation-zsxc4c9d.js} +24 -24
  286. package/dist/chunks/{file-zxq2ej10.js → file-mutation-zxq2ej10.js} +1 -1
  287. package/dist/chunks/{file-c9kt1fwd.js → file-mutation-zy5vpaje.js} +6 -6
  288. package/dist/chunks/{file-d0chnedg.js → file-mutation-zz8a5fkg.js} +41 -41
  289. package/dist/codemode/catalog.js +3 -3
  290. package/dist/codemode/instructions.js +9 -9
  291. package/dist/codemode/tool.js +2 -2
  292. package/dist/command.js +81 -81
  293. package/dist/config/discovery.js +77 -77
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +19 -19
  296. package/dist/config/plugin/agent.js +117 -117
  297. package/dist/config/plugin/command.js +209 -209
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +117 -117
  301. package/dist/config/plugin/image.js +115 -115
  302. package/dist/config/plugin/instruction.js +85 -85
  303. package/dist/config/plugin/location-watcher.js +115 -115
  304. package/dist/config/plugin/mcp.js +126 -126
  305. package/dist/config/plugin/policy.js +114 -114
  306. package/dist/config/plugin/provider.js +113 -113
  307. package/dist/config/plugin/reference.js +117 -117
  308. package/dist/config/plugin/shell.js +118 -118
  309. package/dist/config/plugin/skill-file.js +97 -97
  310. package/dist/config/plugin/skill.js +136 -136
  311. package/dist/config/plugin/snapshot.js +115 -115
  312. package/dist/config/plugin/source.js +117 -117
  313. package/dist/config/plugin/tool-output.js +117 -117
  314. package/dist/config/plugin/websearch.js +115 -115
  315. package/dist/config/plugin/worktree.js +118 -118
  316. package/dist/config/variable.js +3 -3
  317. package/dist/config/watch.js +1 -1
  318. package/dist/config.js +115 -115
  319. package/dist/credential/sql.js +2 -2
  320. package/dist/credential.js +83 -83
  321. package/dist/database/database.js +68 -68
  322. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  323. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  325. package/dist/database/drizzle/index.js +13 -13
  326. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  329. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  337. package/dist/database/drizzle.js +14 -14
  338. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  339. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  340. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  341. package/dist/database/migration/20260225215848_workspace.js +1 -1
  342. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  343. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  344. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  345. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  346. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  347. package/dist/database/migration/20260323234822_events.js +1 -1
  348. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  349. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  350. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  351. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  352. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  353. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  354. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  355. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  356. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  357. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  358. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  359. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  360. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  361. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  362. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  363. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  364. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  365. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  366. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  367. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  368. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  369. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  370. package/dist/database/migration/20260611035744_credential.js +1 -1
  371. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  372. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  373. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  374. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  375. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  376. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  377. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  378. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  379. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  380. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  381. package/dist/database/migration/20260812213948_worktree.js +1 -1
  382. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  383. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  384. package/dist/database/migration.gen.js +47 -47
  385. package/dist/database/migration.js +49 -49
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +77 -77
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +361 -361
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +1 -1
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +88 -88
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +90 -90
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +72 -72
  409. package/dist/file-access.js +99 -99
  410. package/dist/file-mutation.js +89 -89
  411. package/dist/file-retention.js +1 -1
  412. package/dist/file.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/ignore.js +1 -1
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +220 -220
  420. package/dist/filesystem/protected.js +1 -1
  421. package/dist/filesystem/search.js +99 -99
  422. package/dist/filesystem/watcher-binding.js +3 -3
  423. package/dist/filesystem/watcher.js +11 -11
  424. package/dist/filesystem.js +94 -94
  425. package/dist/form.js +84 -84
  426. package/dist/formatter/builtins.js +2 -2
  427. package/dist/formatter.js +82 -82
  428. package/dist/generate.js +89 -89
  429. package/dist/git.js +7 -7
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +3 -3
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/id/id.js +1 -1
  450. package/dist/image/photon.js +2 -2
  451. package/dist/image.js +2 -2
  452. package/dist/instance/service.js +5 -5
  453. package/dist/instance.js +352 -352
  454. package/dist/instruction-discovery.js +83 -83
  455. package/dist/instructions/builtins.js +82 -82
  456. package/dist/instructions/index.js +5 -5
  457. package/dist/integration/connection.js +1 -1
  458. package/dist/integration.js +80 -80
  459. package/dist/job.js +77 -77
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +71 -71
  462. package/dist/location-activity.js +133 -133
  463. package/dist/location-mutation.js +99 -99
  464. package/dist/location-service-map.js +83 -83
  465. package/dist/location-services.js +349 -349
  466. package/dist/location.js +80 -80
  467. package/dist/mcp/client.js +86 -86
  468. package/dist/mcp/index.js +97 -97
  469. package/dist/mcp/instructions.js +118 -118
  470. package/dist/mcp/oauth.js +3 -3
  471. package/dist/mcp/stdio.js +85 -85
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +3 -3
  474. package/dist/model-resolver.js +84 -84
  475. package/dist/model.js +6 -6
  476. package/dist/models-dev.js +86 -86
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +80 -80
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +112 -112
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +86 -86
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +73 -73
  486. package/dist/plugin/agent.js +99 -99
  487. package/dist/plugin/command.js +96 -96
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +213 -213
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +323 -323
  492. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  493. package/dist/plugin/models-dev.js +75 -75
  494. package/dist/plugin/module.js +7 -7
  495. package/dist/plugin/optimize.js +4 -4
  496. package/dist/plugin/plan.js +97 -97
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/alibaba.js +2 -2
  499. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  500. package/dist/plugin/provider/anthropic.js +2 -2
  501. package/dist/plugin/provider/azure.js +118 -118
  502. package/dist/plugin/provider/cerebras.js +2 -2
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +114 -114
  507. package/dist/plugin/provider/digitalocean.js +79 -79
  508. package/dist/plugin/provider/dynamic.js +2 -2
  509. package/dist/plugin/provider/factory.js +1 -1
  510. package/dist/plugin/provider/gateway.js +2 -2
  511. package/dist/plugin/provider/github-copilot.js +80 -80
  512. package/dist/plugin/provider/gitlab.js +3 -3
  513. package/dist/plugin/provider/google-vertex.js +2 -2
  514. package/dist/plugin/provider/kilo.js +2 -2
  515. package/dist/plugin/provider/llmgateway.js +76 -76
  516. package/dist/plugin/provider/lmstudio.js +117 -117
  517. package/dist/plugin/provider/mistral.js +2 -2
  518. package/dist/plugin/provider/modal.js +79 -79
  519. package/dist/plugin/provider/nvidia.js +2 -2
  520. package/dist/plugin/provider/ollama.js +117 -117
  521. package/dist/plugin/provider/openai-compatible.js +1 -1
  522. package/dist/plugin/provider/openai.js +80 -80
  523. package/dist/plugin/provider/opencode.js +76 -76
  524. package/dist/plugin/provider/openrouter.js +3 -3
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/sap-ai-core.js +3 -3
  527. package/dist/plugin/provider/sdk-factory.js +1 -1
  528. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  529. package/dist/plugin/provider/venice.js +2 -2
  530. package/dist/plugin/provider/vercel.js +2 -2
  531. package/dist/plugin/provider/vllm.js +117 -117
  532. package/dist/plugin/provider/xai.js +77 -77
  533. package/dist/plugin/provider/zenmux.js +2 -2
  534. package/dist/plugin/provider.js +156 -156
  535. package/dist/plugin/sdk.js +74 -74
  536. package/dist/plugin/service.js +3 -3
  537. package/dist/plugin/skill.js +133 -133
  538. package/dist/plugin/source-directory.js +1 -1
  539. package/dist/plugin/supervisor.js +338 -338
  540. package/dist/plugin/update.js +2 -2
  541. package/dist/plugin/variant.js +4 -4
  542. package/dist/plugin/vcs/git.js +82 -82
  543. package/dist/plugin/vcs/hg.js +82 -82
  544. package/dist/plugin/warming.js +112 -112
  545. package/dist/plugin/websearch/exa.js +7 -7
  546. package/dist/plugin/websearch/firecrawl.js +6 -6
  547. package/dist/plugin/websearch/index.js +8 -8
  548. package/dist/plugin/websearch/mcp.js +4 -4
  549. package/dist/plugin/websearch/parallel.js +6 -6
  550. package/dist/plugin/websearch/tavily.js +6 -6
  551. package/dist/plugin.js +224 -224
  552. package/dist/project/schema.js +2 -2
  553. package/dist/project/sql.js +4 -4
  554. package/dist/project.js +79 -79
  555. package/dist/provider.js +7 -7
  556. package/dist/pty/protocol.js +1 -1
  557. package/dist/pty/schema.js +3 -3
  558. package/dist/pty/ticket.js +1 -1
  559. package/dist/pty.js +94 -94
  560. package/dist/reference/instructions.js +84 -84
  561. package/dist/reference.js +84 -84
  562. package/dist/repository-cache.js +76 -76
  563. package/dist/repository.js +1 -1
  564. package/dist/ripgrep/binary.js +2 -2
  565. package/dist/ripgrep.js +91 -91
  566. package/dist/rpc.js +81 -81
  567. package/dist/schema.js +1 -1
  568. package/dist/session/command.js +72 -72
  569. package/dist/session/compaction.js +123 -123
  570. package/dist/session/context.js +147 -147
  571. package/dist/session/environment.js +5 -5
  572. package/dist/session/error.js +7 -7
  573. package/dist/session/event.js +1 -1
  574. package/dist/session/execution/restart.js +219 -219
  575. package/dist/session/execution.js +124 -124
  576. package/dist/session/generate.js +146 -146
  577. package/dist/session/history.js +15 -15
  578. package/dist/session/inbox.js +86 -86
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +77 -77
  581. package/dist/session/instruction-state.js +8 -8
  582. package/dist/session/instructions.js +92 -92
  583. package/dist/session/message-updater.js +4 -4
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +113 -113
  586. package/dist/session/model-transport.js +9 -9
  587. package/dist/session/move.js +126 -126
  588. package/dist/session/projector.js +84 -84
  589. package/dist/session/prompt.js +100 -100
  590. package/dist/session/provider-context.js +3 -3
  591. package/dist/session/revert.js +85 -85
  592. package/dist/session/run-coordinator.js +3 -3
  593. package/dist/session/runner/index.js +3 -3
  594. package/dist/session/runner/llm.js +225 -225
  595. package/dist/session/runner/max-steps.js +1 -1
  596. package/dist/session/runner/model.js +86 -86
  597. package/dist/session/runner/publish-llm-event.js +3 -3
  598. package/dist/session/runner/retry.js +110 -110
  599. package/dist/session/runner/step.js +119 -119
  600. package/dist/session/runner/to-llm-message.js +2 -2
  601. package/dist/session/schema.js +5 -5
  602. package/dist/session/session.js +169 -169
  603. package/dist/session/shell.js +131 -131
  604. package/dist/session/skill.js +98 -98
  605. package/dist/session/sql.js +5 -5
  606. package/dist/session/stats.js +73 -73
  607. package/dist/session/store.js +85 -85
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +205 -205
  610. package/dist/session/system-prompt.js +5 -5
  611. package/dist/session/title.js +151 -151
  612. package/dist/session/to-session-error.js +107 -107
  613. package/dist/session/transfer.js +218 -218
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +211 -211
  616. package/dist/shell/parse.js +6 -6
  617. package/dist/shell/result.js +1 -1
  618. package/dist/shell/scan.js +1 -1
  619. package/dist/shell/select.js +13 -13
  620. package/dist/shell.js +133 -133
  621. package/dist/skill/discovery.js +6 -6
  622. package/dist/skill/instructions.js +98 -98
  623. package/dist/skill.js +105 -105
  624. package/dist/snapshot.js +88 -88
  625. package/dist/state.js +1 -1
  626. package/dist/tool/html-markdown.js +1 -1
  627. package/dist/tool/http-body.js +1 -1
  628. package/dist/tool/mcp.js +121 -121
  629. package/dist/tool/plugin/edit.js +115 -115
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +120 -120
  632. package/dist/tool/plugin/grep.js +120 -120
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +117 -117
  635. package/dist/tool/plugin/question.js +98 -98
  636. package/dist/tool/plugin/read.js +121 -121
  637. package/dist/tool/plugin/shell.js +212 -212
  638. package/dist/tool/plugin/skill.js +108 -108
  639. package/dist/tool/plugin/subagent.js +214 -214
  640. package/dist/tool/plugin/webfetch.js +105 -105
  641. package/dist/tool/plugin/websearch.js +109 -109
  642. package/dist/tool/plugin/write.js +117 -117
  643. package/dist/tool/read-filesystem.js +96 -96
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +8 -8
  646. package/dist/tool.js +13 -13
  647. package/dist/util/error-summary.js +1 -1
  648. package/dist/util/error.js +1 -1
  649. package/dist/util/iife.js +1 -1
  650. package/dist/util/lazy.js +1 -1
  651. package/dist/util/slug.js +1 -1
  652. package/dist/util/token.js +1 -1
  653. package/dist/util/which.js +1 -1
  654. package/dist/util/wildcard.js +1 -1
  655. package/dist/v1/config/agent.js +7 -7
  656. package/dist/v1/config/attachment.js +4 -4
  657. package/dist/v1/config/command.js +3 -3
  658. package/dist/v1/config/config.js +16 -16
  659. package/dist/v1/config/error.js +4 -4
  660. package/dist/v1/config/formatter.js +3 -3
  661. package/dist/v1/config/layout.js +1 -1
  662. package/dist/v1/config/lsp.js +3 -3
  663. package/dist/v1/config/mcp.js +4 -4
  664. package/dist/v1/config/migrate.js +4 -4
  665. package/dist/v1/config/permission.js +7 -7
  666. package/dist/v1/config/plugin.js +3 -3
  667. package/dist/v1/config/provider-options.js +1 -1
  668. package/dist/v1/config/provider.js +2 -2
  669. package/dist/v1/config/server.js +2 -2
  670. package/dist/v1/config/skills.js +3 -3
  671. package/dist/v1/permission.js +1 -1
  672. package/dist/vcs/patch.js +1 -1
  673. package/dist/vcs.js +85 -85
  674. package/dist/websearch.js +80 -80
  675. package/dist/wellknown/plugin.js +74 -74
  676. package/dist/wellknown.js +79 -79
  677. package/dist/workspace/driver.js +5 -5
  678. package/dist/workspace/sql.js +1 -1
  679. package/dist/workspace.js +76 -76
  680. package/dist/worktree/directory.js +4 -4
  681. package/dist/worktree/git.js +7 -7
  682. package/dist/worktree/refresh.js +339 -339
  683. package/dist/worktree/sql.js +5 -5
  684. package/dist/worktree.js +91 -91
  685. package/package.json +8 -8
  686. package/dist/chunks/file-2nz9k5ke.js +0 -247
  687. package/dist/chunks/file-4v7qdvcn.js +0 -18
  688. package/dist/chunks/file-h5wzpkcb.js +0 -22
  689. package/dist/chunks/file-rsz0a70p.js +0 -462
  690. package/dist/chunks/file-xrsqh21y.js +0 -4
  691. /package/dist/chunks/{file-0qkdqm5v.js → file-mutation-0qkdqm5v.js} +0 -0
  692. /package/dist/chunks/{file-0zkw76rk.js → file-mutation-0zkw76rk.js} +0 -0
  693. /package/dist/chunks/{file-17cy0kzp.js → file-mutation-17cy0kzp.js} +0 -0
  694. /package/dist/chunks/{file-1cnp2v09.js → file-mutation-1cnp2v09.js} +0 -0
  695. /package/dist/chunks/{file-1kg9ymc8.js → file-mutation-1kg9ymc8.js} +0 -0
  696. /package/dist/chunks/{file-2710q6r3.js → file-mutation-2710q6r3.js} +0 -0
  697. /package/dist/chunks/{file-2axfhc9x.js → file-mutation-2axfhc9x.js} +0 -0
  698. /package/dist/chunks/{file-2c3vjs8z.js → file-mutation-2c3vjs8z.js} +0 -0
  699. /package/dist/chunks/{file-359p4xyc.js → file-mutation-359p4xyc.js} +0 -0
  700. /package/dist/chunks/{file-3asan66x.js → file-mutation-3asan66x.js} +0 -0
  701. /package/dist/chunks/{file-3v8g72cx.js → file-mutation-3v8g72cx.js} +0 -0
  702. /package/dist/chunks/{file-3w5fmr99.js → file-mutation-3w5fmr99.js} +0 -0
  703. /package/dist/chunks/{file-3wcehsnq.js → file-mutation-3wcehsnq.js} +0 -0
  704. /package/dist/chunks/{file-43n2bw4t.js → file-mutation-43n2bw4t.js} +0 -0
  705. /package/dist/chunks/{file-4knz6hnm.js → file-mutation-4knz6hnm.js} +0 -0
  706. /package/dist/chunks/{file-4y7fprxs.js → file-mutation-4y7fprxs.js} +0 -0
  707. /package/dist/chunks/{file-53557ph1.js → file-mutation-53557ph1.js} +0 -0
  708. /package/dist/chunks/{file-550bvhaj.js → file-mutation-550bvhaj.js} +0 -0
  709. /package/dist/chunks/{file-6prwharc.js → file-mutation-6prwharc.js} +0 -0
  710. /package/dist/chunks/{file-7akdwqpd.js → file-mutation-7akdwqpd.js} +0 -0
  711. /package/dist/chunks/{file-7m9af43g.js → file-mutation-7m9af43g.js} +0 -0
  712. /package/dist/chunks/{file-822emrt2.js → file-mutation-822emrt2.js} +0 -0
  713. /package/dist/chunks/{file-88xbtdfr.js → file-mutation-88xbtdfr.js} +0 -0
  714. /package/dist/chunks/{file-8n3pysct.js → file-mutation-8n3pysct.js} +0 -0
  715. /package/dist/chunks/{file-922hggd3.js → file-mutation-922hggd3.js} +0 -0
  716. /package/dist/chunks/{file-9a4afbnw.js → file-mutation-9a4afbnw.js} +0 -0
  717. /package/dist/chunks/{file-9rqn6x4v.js → file-mutation-9rqn6x4v.js} +0 -0
  718. /package/dist/chunks/{file-a1tpkmh4.js → file-mutation-a1tpkmh4.js} +0 -0
  719. /package/dist/chunks/{file-a6k6eb26.js → file-mutation-a6k6eb26.js} +0 -0
  720. /package/dist/chunks/{file-af5trqkr.js → file-mutation-af5trqkr.js} +0 -0
  721. /package/dist/chunks/{file-afrmfg78.js → file-mutation-afrmfg78.js} +0 -0
  722. /package/dist/chunks/{file-aqzs7mqg.js → file-mutation-aqzs7mqg.js} +0 -0
  723. /package/dist/chunks/{file-atq7p7m5.js → file-mutation-atq7p7m5.js} +0 -0
  724. /package/dist/chunks/{file-bkyjaxrp.js → file-mutation-bkyjaxrp.js} +0 -0
  725. /package/dist/chunks/{file-bmr6ed5q.js → file-mutation-bmr6ed5q.js} +0 -0
  726. /package/dist/chunks/{file-cf4snx6d.js → file-mutation-cf4snx6d.js} +0 -0
  727. /package/dist/chunks/{file-cvy3z8tj.js → file-mutation-cvy3z8tj.js} +0 -0
  728. /package/dist/chunks/{file-d9fn303g.js → file-mutation-d9fn303g.js} +0 -0
  729. /package/dist/chunks/{file-d9jj8t3e.js → file-mutation-d9jj8t3e.js} +0 -0
  730. /package/dist/chunks/{file-dajrwvna.js → file-mutation-dajrwvna.js} +0 -0
  731. /package/dist/chunks/{file-dap0rakb.js → file-mutation-dap0rakb.js} +0 -0
  732. /package/dist/chunks/{file-df08tz66.js → file-mutation-df08tz66.js} +0 -0
  733. /package/dist/chunks/{file-dy18nga0.js → file-mutation-dy18nga0.js} +0 -0
  734. /package/dist/chunks/{file-e5kj55wp.js → file-mutation-e5kj55wp.js} +0 -0
  735. /package/dist/chunks/{file-e73j6tqm.js → file-mutation-e73j6tqm.js} +0 -0
  736. /package/dist/chunks/{file-ec1grn59.js → file-mutation-ec1grn59.js} +0 -0
  737. /package/dist/chunks/{file-eh3zwz77.js → file-mutation-eh3zwz77.js} +0 -0
  738. /package/dist/chunks/{file-emrn6kk6.js → file-mutation-emrn6kk6.js} +0 -0
  739. /package/dist/chunks/{file-f0mxakyp.js → file-mutation-f0mxakyp.js} +0 -0
  740. /package/dist/chunks/{file-f6n9ztr4.js → file-mutation-f6n9ztr4.js} +0 -0
  741. /package/dist/chunks/{file-faypxj3z.js → file-mutation-faypxj3z.js} +0 -0
  742. /package/dist/chunks/{file-fd410y7t.js → file-mutation-fd410y7t.js} +0 -0
  743. /package/dist/chunks/{file-fxgpk5d8.js → file-mutation-fxgpk5d8.js} +0 -0
  744. /package/dist/chunks/{file-g4wezp1m.js → file-mutation-g4wezp1m.js} +0 -0
  745. /package/dist/chunks/{file-g86h250q.js → file-mutation-g86h250q.js} +0 -0
  746. /package/dist/chunks/{file-gebd4c9n.js → file-mutation-gebd4c9n.js} +0 -0
  747. /package/dist/chunks/{file-gftt206x.js → file-mutation-gftt206x.js} +0 -0
  748. /package/dist/chunks/{file-hjbc5kem.js → file-mutation-hjbc5kem.js} +0 -0
  749. /package/dist/chunks/{file-hk9envan.js → file-mutation-hk9envan.js} +0 -0
  750. /package/dist/chunks/{file-hrnqkpcd.js → file-mutation-hrnqkpcd.js} +0 -0
  751. /package/dist/chunks/{file-j2ntwpah.js → file-mutation-j2ntwpah.js} +0 -0
  752. /package/dist/chunks/{file-j5zkgpj8.js → file-mutation-j5zkgpj8.js} +0 -0
  753. /package/dist/chunks/{file-jr7sbwjy.js → file-mutation-jr7sbwjy.js} +0 -0
  754. /package/dist/chunks/{file-jwfs4k6c.js → file-mutation-jwfs4k6c.js} +0 -0
  755. /package/dist/chunks/{file-jzg6c2d5.js → file-mutation-jzg6c2d5.js} +0 -0
  756. /package/dist/chunks/{file-mp448xyj.js → file-mutation-mp448xyj.js} +0 -0
  757. /package/dist/chunks/{file-msx8hqn2.js → file-mutation-msx8hqn2.js} +0 -0
  758. /package/dist/chunks/{file-n05xt0ee.js → file-mutation-n05xt0ee.js} +0 -0
  759. /package/dist/chunks/{file-n3j8tn72.js → file-mutation-n3j8tn72.js} +0 -0
  760. /package/dist/chunks/{file-njntx4h6.js → file-mutation-njntx4h6.js} +0 -0
  761. /package/dist/chunks/{file-q3sfg36h.js → file-mutation-q3sfg36h.js} +0 -0
  762. /package/dist/chunks/{file-q74kybfr.js → file-mutation-q74kybfr.js} +0 -0
  763. /package/dist/chunks/{file-qaymkmh1.js → file-mutation-qaymkmh1.js} +0 -0
  764. /package/dist/chunks/{file-qb87gjwd.js → file-mutation-qb87gjwd.js} +0 -0
  765. /package/dist/chunks/{file-qfa1cgps.js → file-mutation-qfa1cgps.js} +0 -0
  766. /package/dist/chunks/{file-qrg20bc0.js → file-mutation-qrg20bc0.js} +0 -0
  767. /package/dist/chunks/{file-rcb2kzg1.js → file-mutation-rcb2kzg1.js} +0 -0
  768. /package/dist/chunks/{file-sdp7kfr6.js → file-mutation-sdp7kfr6.js} +0 -0
  769. /package/dist/chunks/{file-sk3qaz4a.js → file-mutation-sk3qaz4a.js} +0 -0
  770. /package/dist/chunks/{file-ssg3fenm.js → file-mutation-ssg3fenm.js} +0 -0
  771. /package/dist/chunks/{file-twg0f83k.js → file-mutation-twg0f83k.js} +0 -0
  772. /package/dist/chunks/{file-w803qqfp.js → file-mutation-w803qqfp.js} +0 -0
  773. /package/dist/chunks/{file-wer8tq1h.js → file-mutation-wer8tq1h.js} +0 -0
  774. /package/dist/chunks/{file-wtztk69x.js → file-mutation-wtztk69x.js} +0 -0
  775. /package/dist/chunks/{file-x0ckcb58.js → file-mutation-x0ckcb58.js} +0 -0
  776. /package/dist/chunks/{file-x61499pn.js → file-mutation-x61499pn.js} +0 -0
  777. /package/dist/chunks/{file-y44na4kk.js → file-mutation-y44na4kk.js} +0 -0
  778. /package/dist/chunks/{file-y8cydn3q.js → file-mutation-y8cydn3q.js} +0 -0
  779. /package/dist/chunks/{file-ygaqb7jw.js → file-mutation-ygaqb7jw.js} +0 -0
  780. /package/dist/chunks/{file-ym463w8f.js → file-mutation-ym463w8f.js} +0 -0
  781. /package/dist/chunks/{file-z9919s4g.js → file-mutation-z9919s4g.js} +0 -0
@@ -1,32 +1,32 @@
1
1
  import {
2
- Key3,
2
+ Key4,
3
3
  removed2,
4
4
  empty3,
5
- make20,
5
+ make21,
6
6
  diffByKey2
7
- } from "./file-rhjbct0v.js";
7
+ } from "./file-mutation-eaj1djv9.js";
8
8
  import {
9
- ID4,
9
+ ID5,
10
10
  Name2,
11
11
  available2,
12
- Service34,
13
- node38
14
- } from "./file-kd3m4z14.js";
12
+ Service37,
13
+ node41
14
+ } from "./file-mutation-t8dsf4y4.js";
15
15
  import {
16
16
  __export
17
- } from "./file-9rqn6x4v.js";
17
+ } from "./file-mutation-9rqn6x4v.js";
18
18
 
19
19
  // src/skill/instructions.ts
20
- var exports_instructions4 = {};
21
- __export(exports_instructions4, {
20
+ var exports_instructions3 = {};
21
+ __export(exports_instructions3, {
22
22
  Service: () => Service26,
23
- SkillInstructions: () => exports_instructions4,
23
+ SkillInstructions: () => exports_instructions3,
24
24
  node: () => node30
25
25
  });
26
26
  import { makeLocationNode } from "@opencode/util/effect/app-node";
27
27
  import { Context, Effect, Layer, Schema } from "effect";
28
28
  var Summary = Schema.Struct({
29
- id: ID4,
29
+ id: ID5,
30
30
  name: Name2,
31
31
  description: Schema.String
32
32
  });
@@ -63,15 +63,15 @@ var update = (previous, current) => {
63
63
  class Service26 extends Context.Service()("@opencode/SkillInstructions") {
64
64
  }
65
65
  var layer = Layer.effect(Service26, Effect.gen(function* () {
66
- const skills = yield* Service34;
66
+ const skills = yield* Service37;
67
67
  return Service26.of({
68
68
  load: Effect.fn("SkillInstructions.load")(function* (selection) {
69
69
  const agent = selection.info;
70
70
  if (!agent)
71
71
  return empty3;
72
72
  const available = available2(yield* skills.list(), agent).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
73
- return make20({
74
- key: Key3.make("core/skill-guidance"),
73
+ return make21({
74
+ key: Key4.make("core/skill-guidance"),
75
75
  codec: Schema.toCodecJson(Schema.Array(Summary)),
76
76
  read: Effect.succeed(available.length === 0 ? removed2 : available),
77
77
  render: {
@@ -83,6 +83,6 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
83
83
  })
84
84
  });
85
85
  }));
86
- var node30 = makeLocationNode({ service: Service26, layer, deps: [node38] });
86
+ var node30 = makeLocationNode({ service: Service26, layer, deps: [node41] });
87
87
 
88
- export { Service26, node30, exports_instructions4 };
88
+ export { Service26, node30, exports_instructions3 };
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service79,
3
- node84
4
- } from "./file-hw2gt29t.js";
2
+ Service77,
3
+ node82
4
+ } from "./file-mutation-qe9w01wa.js";
5
5
  import {
6
- Service76,
7
- node81
8
- } from "./file-enk99f8n.js";
6
+ Service75,
7
+ node80
8
+ } from "./file-mutation-kw005k4s.js";
9
9
  import {
10
10
  reconcile2,
11
11
  create3
12
- } from "./file-kg06axw8.js";
12
+ } from "./file-mutation-kg06axw8.js";
13
13
  import {
14
14
  PATCH_CONTEXT_LINES2,
15
15
  MAX_TOTAL_PATCH_BYTES2,
16
16
  emptyPatch2
17
- } from "./file-tazgh4e4.js";
17
+ } from "./file-mutation-tazgh4e4.js";
18
18
  import {
19
19
  __export
20
- } from "./file-9rqn6x4v.js";
20
+ } from "./file-mutation-9rqn6x4v.js";
21
21
 
22
22
  // src/vcs.ts
23
23
  var exports_vcs = {};
@@ -26,17 +26,17 @@ __export(exports_vcs, {
26
26
  BranchList: () => BranchList2,
27
27
  DiffError: () => DiffError2,
28
28
  FileStatus: () => FileStatus2,
29
- Info: () => Info15,
29
+ Info: () => Info8,
30
30
  Mode: () => Mode2,
31
- Service: () => Service62,
31
+ Service: () => Service41,
32
32
  Vcs: () => exports_vcs,
33
- node: () => node66
33
+ node: () => node45
34
34
  });
35
35
  import path from "path";
36
36
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
37
37
  import { FileDiff } from "@opencode/schema/file-diff";
38
38
  import { FileSystem } from "@opencode/schema/filesystem";
39
- import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info15, Mode as Mode2 } from "@opencode/schema/vcs";
39
+ import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info8, Mode as Mode2 } from "@opencode/schema/vcs";
40
40
  import { VcsEvent } from "@opencode/schema/vcs-event";
41
41
  import { makeLocationNode } from "@opencode/util/effect/app-node";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
@@ -45,12 +45,12 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
45
45
  }) {
46
46
  }
47
47
 
48
- class Service62 extends Context.Service()("@opencode/Vcs") {
48
+ class Service41 extends Context.Service()("@opencode/Vcs") {
49
49
  }
50
- var layer = Layer.effect(Service62, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service41, Effect.gen(function* () {
51
51
  const fs = yield* FSUtil.Service;
52
- const location = yield* Service76;
53
- const bus = yield* Service79;
52
+ const location = yield* Service75;
53
+ const bus = yield* Service77;
54
54
  const root = yield* Effect.scope;
55
55
  const fork = yield* FiberSet.makeRuntime();
56
56
  const vcs = location.vcs;
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
62
62
  canonical: location.project.canonical,
63
63
  ...vcs ? { store: vcs.store } : {}
64
64
  };
65
- const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info15));
65
+ const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info8));
66
66
  const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
67
67
  const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
68
68
  const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
115
115
  const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
116
116
  yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
117
117
  }
118
- return Service62.of({
118
+ return Service41.of({
119
119
  transform: state.transform,
120
120
  reload: state.reload,
121
121
  info: Effect.fn("Vcs.info")(function* () {
@@ -161,10 +161,10 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
161
161
  })
162
162
  });
163
163
  }));
164
- var node66 = makeLocationNode({
165
- service: Service62,
164
+ var node45 = makeLocationNode({
165
+ service: Service41,
166
166
  layer,
167
- deps: [FSUtil.node, node81, node84]
167
+ deps: [FSUtil.node, node80, node82]
168
168
  });
169
169
 
170
- export { Base2, BranchList2, FileStatus2, Info15, Mode2, DiffError2, Service62, node66, exports_vcs };
170
+ export { Base2, BranchList2, FileStatus2, Info8, Mode2, DiffError2, Service41, node45, exports_vcs };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./file-922hggd3.js";
3
+ } from "./file-mutation-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./file-9rqn6x4v.js";
6
+ } from "./file-mutation-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/attachment.ts
9
9
  var exports_attachment = {};
10
10
  __export(exports_attachment, {
11
11
  ConfigAttachmentV1: () => exports_attachment,
12
12
  Image: () => Image2,
13
- Info: () => Info26
13
+ Info: () => Info17
14
14
  });
15
15
  import { Schema } from "effect";
16
16
  var Image2 = Schema.Struct({
@@ -27,8 +27,8 @@ var Image2 = Schema.Struct({
27
27
  description: "Maximum base64 payload bytes for an image attachment (default: 5242880)"
28
28
  })
29
29
  }).annotate({ identifier: "ImageAttachmentConfig" });
30
- var Info26 = Schema.Struct({
30
+ var Info17 = Schema.Struct({
31
31
  image: Schema.optional(Image2).annotate({ description: "Image attachment configuration" })
32
32
  }).annotate({ identifier: "AttachmentConfig" });
33
33
 
34
- export { Image2, Info26, exports_attachment };
34
+ export { Image2, Info17, exports_attachment };
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./file-2a5m3afh.js";
3
+ } from "./file-mutation-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./file-922hggd3.js";
6
+ } from "./file-mutation-922hggd3.js";
7
7
  import {
8
- Service76
9
- } from "./file-enk99f8n.js";
8
+ Service75
9
+ } from "./file-mutation-kw005k4s.js";
10
10
  import {
11
- Service66
12
- } from "./file-cp5f26bt.js";
11
+ Service65
12
+ } from "./file-mutation-zsxc4c9d.js";
13
13
  import {
14
- Service16
15
- } from "./file-2j4ksk9q.js";
14
+ Service18
15
+ } from "./file-mutation-hrd90x2a.js";
16
16
  import {
17
17
  DEFAULT_SEARCH_LIMIT2,
18
18
  DEFAULT_SEARCH_TIMEOUT_MS2,
19
19
  GlobInput2,
20
20
  Entry2
21
- } from "./file-w85wdfaw.js";
21
+ } from "./file-mutation-6bjqtyfe.js";
22
22
  import {
23
- Service55
24
- } from "./file-1q2nd9f6.js";
23
+ Service70
24
+ } from "./file-mutation-jyyxenps.js";
25
25
  import {
26
- Service54
27
- } from "./file-7be1f342.js";
26
+ Service69
27
+ } from "./file-mutation-42f597f5.js";
28
28
  import {
29
29
  __export
30
- } from "./file-9rqn6x4v.js";
30
+ } from "./file-mutation-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/glob.ts
33
33
  var exports_glob = {};
34
34
  __export(exports_glob, {
35
35
  GlobTool: () => exports_glob,
36
- Input: () => Input3,
37
- Output: () => Output3,
38
- Plugin: () => Plugin16,
39
- name: () => name3,
40
- toModelContent: () => toModelContent2
36
+ Input: () => Input6,
37
+ Output: () => Output5,
38
+ Plugin: () => Plugin37,
39
+ name: () => name6,
40
+ toModelContent: () => toModelContent4
41
41
  });
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import path from "path";
45
- var name3 = "glob";
46
- var Input3 = Schema.Struct({
45
+ var name6 = "glob";
46
+ var Input6 = Schema.Struct({
47
47
  pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
48
48
  path: Schema.optionalKey(RelativePath2).annotate({
49
49
  description: "Directory to search. Defaults to the current working directory."
@@ -55,35 +55,35 @@ var Input3 = Schema.Struct({
55
55
  description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
56
56
  })
57
57
  });
58
- var Output3 = Schema.Array(Entry2);
59
- var toModelContent2 = (entries, truncated = false) => {
58
+ var Output5 = Schema.Array(Entry2);
59
+ var toModelContent4 = (entries, truncated = false) => {
60
60
  const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
61
61
  if (truncated)
62
62
  lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
63
63
  return lines.join(`
64
64
  `);
65
65
  };
66
- var Plugin16 = {
66
+ var Plugin37 = {
67
67
  id: "opencode.tool.glob",
68
68
  effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
69
- const environment = yield* Service66;
70
- const ripgrep = yield* Service16;
71
- const location = yield* Service76;
72
- const access = yield* Service54;
73
- const permission = yield* Service55;
69
+ const environment = yield* Service65;
70
+ const ripgrep = yield* Service18;
71
+ const location = yield* Service75;
72
+ const access = yield* Service69;
73
+ const permission = yield* Service70;
74
74
  yield* ctx.tool.transform((editor) => editor.add({
75
- name: name3,
75
+ name: name6,
76
76
  options: { codemode: false },
77
77
  description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
78
- input: Input3,
79
- output: Output3,
78
+ input: Input6,
79
+ output: Output5,
80
80
  execute: (input, context) => Effect.gen(function* () {
81
81
  const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
82
82
  const source = { type: "tool", messageID: context.messageID, id: context.id };
83
83
  const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
84
84
  yield* access.authorizeExternal([target], context);
85
85
  yield* permission.assert({
86
- action: name3,
86
+ action: name6,
87
87
  resources: [input.pattern],
88
88
  save: ["*"],
89
89
  metadata: {
@@ -118,11 +118,11 @@ var Plugin16 = {
118
118
  return { entries: entries.slice(0, limit), truncated: entries.length > limit };
119
119
  }).pipe(Effect.map((result) => ({
120
120
  output: result.entries,
121
- content: toModelContent2(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
121
+ content: toModelContent4(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
122
122
  metadata: { count: result.entries.length, truncated: result.truncated }
123
123
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
124
124
  })).pipe(Effect.orDie);
125
125
  })
126
126
  };
127
127
 
128
- export { name3, Input3, Output3, toModelContent2, Plugin16, exports_glob };
128
+ export { name6, Input6, Output5, toModelContent4, Plugin37, exports_glob };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-9rqn6x4v.js";
3
+ } from "./file-mutation-9rqn6x4v.js";
4
4
 
5
5
  // src/id/id.ts
6
6
  var exports_id = {};
@@ -1,56 +1,56 @@
1
1
  import {
2
- ID13,
3
- Info17,
2
+ ID16,
3
+ Info30,
4
4
  SessionSchema2
5
- } from "./file-dv250zvr.js";
5
+ } from "./file-mutation-2f04pwep.js";
6
6
  import {
7
7
  RelativePath2
8
- } from "./file-922hggd3.js";
8
+ } from "./file-mutation-922hggd3.js";
9
9
  import {
10
- Service80,
11
- node85
12
- } from "./file-2tv38tk1.js";
10
+ Service78,
11
+ node83
12
+ } from "./file-mutation-16c289jz.js";
13
13
  import {
14
14
  isSynced2,
15
- Service79,
16
- node84
17
- } from "./file-hw2gt29t.js";
18
- import {
19
15
  Service77,
20
16
  node82
21
- } from "./file-2qz021p1.js";
17
+ } from "./file-mutation-qe9w01wa.js";
18
+ import {
19
+ Service76,
20
+ node81
21
+ } from "./file-mutation-dv81esc2.js";
22
22
  import {
23
- Service41,
24
- node44
25
- } from "./file-3c1tgrea.js";
23
+ Service46,
24
+ node50
25
+ } from "./file-mutation-7bnzk546.js";
26
26
  import {
27
27
  SessionEvent2
28
- } from "./file-ec1grn59.js";
28
+ } from "./file-mutation-ec1grn59.js";
29
29
  import {
30
30
  SessionMessageTable2
31
- } from "./file-5c4hm403.js";
31
+ } from "./file-mutation-5c4hm403.js";
32
32
  import {
33
- node43
34
- } from "./file-shsgghb2.js";
33
+ node49
34
+ } from "./file-mutation-2gz38ge4.js";
35
35
  import {
36
36
  current2
37
- } from "./file-wcge806m.js";
37
+ } from "./file-mutation-2tfmgkzg.js";
38
38
  import {
39
39
  snapshot2
40
- } from "./file-c6jw9d6c.js";
40
+ } from "./file-mutation-42sfbp1j.js";
41
41
  import {
42
42
  Slug2
43
- } from "./file-gebd4c9n.js";
43
+ } from "./file-mutation-gebd4c9n.js";
44
44
  import {
45
45
  SessionAlreadyProjected2,
46
- node32
47
- } from "./file-ya1b4y87.js";
46
+ node36
47
+ } from "./file-mutation-dpkj867d.js";
48
48
  import {
49
49
  Metadata2,
50
- node55
51
- } from "./file-agg557zn.js";
50
+ node46
51
+ } from "./file-mutation-wz87yraf.js";
52
52
  import {
53
- NotFoundError6,
53
+ NotFoundError9,
54
54
  MessageNotFoundError2,
55
55
  MessageNotAssistantError2,
56
56
  MessageIncompleteError2,
@@ -64,50 +64,50 @@ import {
64
64
  BusyError2,
65
65
  InboxConflictError2,
66
66
  SkillNotFoundError2
67
- } from "./file-dsf3jx99.js";
67
+ } from "./file-mutation-k7d0894y.js";
68
68
  import {
69
- ListInput5,
70
- Service57,
71
- node61
72
- } from "./file-yca9gk6f.js";
69
+ ListInput4,
70
+ Service71,
71
+ node76
72
+ } from "./file-mutation-hyb8y3ys.js";
73
73
  import {
74
- Service43,
75
- node46
76
- } from "./file-w645sbyz.js";
74
+ Service56,
75
+ node60
76
+ } from "./file-mutation-hmdpr2b6.js";
77
77
  import {
78
- Service38,
79
- node42
80
- } from "./file-8bpbp254.js";
78
+ Service42,
79
+ node47
80
+ } from "./file-mutation-xjy62hxy.js";
81
81
  import {
82
82
  llmClient2
83
- } from "./file-5t3nmthw.js";
83
+ } from "./file-mutation-5t3nmthw.js";
84
84
  import {
85
- Service32,
86
- node36
87
- } from "./file-94sf61n7.js";
85
+ Service30,
86
+ node34
87
+ } from "./file-mutation-6q1wcpsb.js";
88
88
  import {
89
89
  generate3
90
- } from "./file-cz12sndv.js";
90
+ } from "./file-mutation-nkz4n0yd.js";
91
91
  import {
92
92
  execute2
93
- } from "./file-2nhrma10.js";
93
+ } from "./file-mutation-a1pyxhvt.js";
94
94
  import {
95
95
  DestinationNotFoundError2,
96
96
  DestinationNotDirectoryError2,
97
97
  DestinationUnavailableError2,
98
- Service27,
99
- node31
100
- } from "./file-2k29q1p2.js";
98
+ Service31,
99
+ node35
100
+ } from "./file-mutation-ehc12fd7.js";
101
101
  import {
102
- Service64,
103
- node68
104
- } from "./file-cny5rd43.js";
102
+ Service60,
103
+ node64
104
+ } from "./file-mutation-5hk4b2g6.js";
105
105
  import {
106
- make12
107
- } from "./file-h5pnkca0.js";
106
+ make13
107
+ } from "./file-mutation-pb9tbqa1.js";
108
108
  import {
109
109
  __export
110
- } from "./file-9rqn6x4v.js";
110
+ } from "./file-mutation-9rqn6x4v.js";
111
111
 
112
112
  // src/session.ts
113
113
  var exports_session = {};
@@ -118,9 +118,9 @@ __export(exports_session, {
118
118
  DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
119
119
  DestinationNotFoundError: () => DestinationNotFoundError2,
120
120
  DestinationUnavailableError: () => DestinationUnavailableError2,
121
- ID: () => ID13,
121
+ ID: () => ID16,
122
122
  InboxConflictError: () => InboxConflictError2,
123
- Info: () => Info17,
123
+ Info: () => Info30,
124
124
  ListAnchor: () => ListAnchor2,
125
125
  ListInput: () => ListInput3,
126
126
  MessageDecodeError: () => MessageDecodeError2,
@@ -128,14 +128,14 @@ __export(exports_session, {
128
128
  MessageNotAssistantError: () => MessageNotAssistantError2,
129
129
  MessageNotFoundError: () => MessageNotFoundError2,
130
130
  MessageToolIncompleteError: () => MessageToolIncompleteError2,
131
- NotFoundError: () => NotFoundError6,
131
+ NotFoundError: () => NotFoundError9,
132
132
  PromptConflictError: () => PromptConflictError2,
133
- Service: () => Service21,
133
+ Service: () => Service23,
134
134
  Session: () => exports_session,
135
135
  SessionSchema: () => SessionSchema2,
136
136
  SkillNotFoundError: () => SkillNotFoundError2,
137
137
  SyntheticConflictError: () => SyntheticConflictError2,
138
- node: () => node25
138
+ node: () => node27
139
139
  });
140
140
  import { Effect, Layer, Schema, Context, Stream } from "effect";
141
141
  import { LLMClient } from "@opencode/ai";
@@ -145,26 +145,26 @@ import { Model } from "@opencode/schema/model";
145
145
  import path from "path";
146
146
  import { Node } from "@opencode/util/effect/app-node";
147
147
  import { FSUtil } from "@opencode/util/fs-util";
148
- var ListInput3 = ListInput5;
149
- class Service21 extends Context.Service()("@opencode/Session") {
148
+ var ListInput3 = ListInput4;
149
+ class Service23 extends Context.Service()("@opencode/Session") {
150
150
  }
151
- var layer = Layer.effect(Service21, Effect.gen(function* () {
151
+ var layer = Layer.effect(Service23, Effect.gen(function* () {
152
152
  const app = yield* Metadata2;
153
- const database = yield* Service80;
153
+ const database = yield* Service78;
154
154
  const db = database.db;
155
- const bus = yield* Service79;
156
- const projects = yield* Service77;
157
- const execution = yield* Service38;
155
+ const bus = yield* Service77;
156
+ const projects = yield* Service76;
157
+ const execution = yield* Service42;
158
158
  const llm = yield* LLMClient.Service;
159
- const transport = yield* Service32;
160
- const store = yield* Service57;
161
- const instances = yield* Service41;
162
- const moves = yield* Service27;
163
- const jobs = yield* Service43;
164
- const environments = yield* Service64;
165
- const sessions = yield* make12();
159
+ const transport = yield* Service30;
160
+ const store = yield* Service71;
161
+ const instances = yield* Service46;
162
+ const moves = yield* Service31;
163
+ const jobs = yield* Service56;
164
+ const environments = yield* Service60;
165
+ const sessions = yield* make13();
166
166
  const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
167
- const result = Service21.of({
167
+ const result = Service23.of({
168
168
  create: Effect.fn("Session.create")(function* (input) {
169
169
  const sessionID = input.id ?? SessionSchema2.ID.create();
170
170
  const recorded = yield* store.get(sessionID);
@@ -172,7 +172,7 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
172
172
  return recorded;
173
173
  const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
174
174
  if (input.parentID && parent === undefined)
175
- return yield* new NotFoundError6({ sessionID: input.parentID });
175
+ return yield* new NotFoundError9({ sessionID: input.parentID });
176
176
  const location = parent?.location ?? input.location;
177
177
  if (location === undefined)
178
178
  return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
@@ -266,11 +266,11 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
266
266
  prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
267
267
  generate: Effect.fn("Session.generate")(function* (input) {
268
268
  const session = yield* result.get(input.sessionID);
269
- return yield* generate3({ session, prompt: input.prompt }).pipe(Effect.provideService(Service41, instances), Effect.provideService(Service80, database), Effect.provideService(LLMClient.Service, llm));
269
+ return yield* generate3({ session, prompt: input.prompt }).pipe(Effect.provideService(Service46, instances), Effect.provideService(Service78, database), Effect.provideService(LLMClient.Service, llm));
270
270
  }),
271
271
  command: Effect.fn("Session.command")(function* (input) {
272
272
  const session = yield* result.get(input.sessionID);
273
- return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service41, instances));
273
+ return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service46, instances));
274
274
  }),
275
275
  shell: (input) => sessions.forSession(input.sessionID).shell(input),
276
276
  skill: (input) => sessions.forSession(input.sessionID).skill(input),
@@ -310,26 +310,26 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
310
310
  });
311
311
  return result;
312
312
  }));
313
- var node25 = Node.makeGlobalNode({
314
- service: Service21,
313
+ var node27 = Node.makeGlobalNode({
314
+ service: Service23,
315
315
  layer,
316
316
  deps: [
317
- node46,
318
- node68,
319
- node85,
320
- node84,
317
+ node60,
318
+ node64,
319
+ node83,
321
320
  node82,
322
- node42,
323
- node36,
321
+ node81,
322
+ node47,
323
+ node34,
324
324
  llmClient2,
325
- node61,
326
- node44,
327
- node43,
328
- node31,
329
- node32,
325
+ node76,
326
+ node50,
327
+ node49,
328
+ node35,
329
+ node36,
330
330
  FSUtil.node,
331
- node55
331
+ node46
332
332
  ]
333
333
  });
334
334
 
335
- export { ListAnchor2, ListInput3, Service21, node25, exports_session };
335
+ export { ListAnchor2, ListInput3, Service23, node27, exports_session };