@opencode-ai/core 0.0.0-dev-19142 → 0.0.0-dev-19145

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 (775) 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 +82 -82
  8. package/dist/chunks/{app-6z2bsf6d.js → file-mutation-01vtss9b.js} +7 -7
  9. package/dist/chunks/{app-z8emj02k.js → file-mutation-06zhcttw.js} +7 -7
  10. package/dist/chunks/{app-0e0xafbb.js → file-mutation-0e0xafbb.js} +2 -2
  11. package/dist/chunks/{app-8y09mrx6.js → file-mutation-0egemd82.js} +6 -6
  12. package/dist/chunks/{app-0paq2nw3.js → file-mutation-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{app-0s9ayhjt.js → file-mutation-0s9ayhjt.js} +1 -1
  14. package/dist/chunks/{app-6dsrej2r.js → file-mutation-0tqc2v94.js} +3 -3
  15. package/dist/chunks/{app-qp4easfw.js → file-mutation-0vyk9fdn.js} +45 -45
  16. package/dist/chunks/{app-2548brk4.js → file-mutation-119my715.js} +13 -13
  17. package/dist/chunks/{app-7wq0tnvg.js → file-mutation-13fpjj1h.js} +23 -23
  18. package/dist/chunks/{app-qg8529j6.js → file-mutation-17yyz20s.js} +27 -27
  19. package/dist/chunks/{app-1ct4r87x.js → file-mutation-1ct4r87x.js} +1 -1
  20. package/dist/chunks/{app-pycndmcz.js → file-mutation-1kvgva6x.js} +24 -24
  21. package/dist/chunks/{app-11ayww28.js → file-mutation-1ypdbbt4.js} +37 -37
  22. package/dist/chunks/{app-21r38tys.js → file-mutation-21r38tys.js} +1 -1
  23. package/dist/chunks/{app-tcszm0ed.js → file-mutation-22xjknbc.js} +20 -20
  24. package/dist/chunks/{app-6h73sxmp.js → file-mutation-2402vzrj.js} +5 -5
  25. package/dist/chunks/{app-29x78va6.js → file-mutation-29x78va6.js} +2 -2
  26. package/dist/chunks/{app-2a5m3afh.js → file-mutation-2a5m3afh.js} +1 -1
  27. package/dist/chunks/{app-w39xyyj8.js → file-mutation-2c009s0k.js} +29 -29
  28. package/dist/chunks/{app-gm0famdj.js → file-mutation-2ed8104q.js} +46 -46
  29. package/dist/chunks/{app-2ht70gj7.js → file-mutation-2ht70gj7.js} +1 -1
  30. package/dist/chunks/{app-2jqmte8w.js → file-mutation-2jqmte8w.js} +2 -2
  31. package/dist/chunks/{app-e6xjfqn1.js → file-mutation-2kq45tcm.js} +12 -12
  32. package/dist/chunks/{app-ggw8ryqa.js → file-mutation-2s6dtgtx.js} +37 -37
  33. package/dist/chunks/{app-3hgkq37t.js → file-mutation-2sk5e31d.js} +32 -32
  34. package/dist/chunks/{app-d904segq.js → file-mutation-2t77ycv7.js} +24 -24
  35. package/dist/chunks/{app-4k4vxknf.js → file-mutation-326th3fr.js} +7 -7
  36. package/dist/chunks/{app-3fc6dm20.js → file-mutation-3fc6dm20.js} +1 -1
  37. package/dist/chunks/{app-6wk3pvpa.js → file-mutation-3gvz0573.js} +15 -15
  38. package/dist/chunks/{app-3hepkmqq.js → file-mutation-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{app-k4jdan51.js → file-mutation-3ks4yd53.js} +9 -9
  40. package/dist/chunks/{app-3qzbfqsy.js → file-mutation-3qzbfqsy.js} +2 -2
  41. package/dist/chunks/{app-3smtnn6g.js → file-mutation-3smtnn6g.js} +1 -1
  42. package/dist/chunks/{app-y78qtzg5.js → file-mutation-3tv1tpm6.js} +49 -49
  43. package/dist/chunks/{app-3tvqynh2.js → file-mutation-3tvqynh2.js} +1 -1
  44. package/dist/chunks/{app-rdgg5j33.js → file-mutation-3ty3h0mk.js} +6 -6
  45. package/dist/chunks/{app-711hfp6y.js → file-mutation-3x6030n9.js} +2 -2
  46. package/dist/chunks/{app-h3y6t4a9.js → file-mutation-440fe95r.js} +25 -25
  47. package/dist/chunks/{app-454k5vzh.js → file-mutation-454k5vzh.js} +1 -1
  48. package/dist/chunks/{app-r8vaxre5.js → file-mutation-45a3e49b.js} +6 -6
  49. package/dist/chunks/{app-tqfvardz.js → file-mutation-45b1kca6.js} +23 -23
  50. package/dist/chunks/{app-2q46cvfz.js → file-mutation-4b1sg654.js} +13 -13
  51. package/dist/chunks/{app-h0v7sv0t.js → file-mutation-4d0qyyca.js} +32 -32
  52. package/dist/chunks/{app-70a7nh0p.js → file-mutation-4j4x9s5w.js} +27 -27
  53. package/dist/chunks/{app-c1g9mjxb.js → file-mutation-4kda9sbw.js} +7 -7
  54. package/dist/chunks/{app-sd7f8jwe.js → file-mutation-4nf6feq9.js} +12 -12
  55. package/dist/chunks/{app-4r2nyarf.js → file-mutation-4r2nyarf.js} +1 -1
  56. package/dist/chunks/{app-11nb5kwh.js → file-mutation-4wbn6k17.js} +9 -9
  57. package/dist/chunks/{app-w2t62r7y.js → file-mutation-4y9q5fy2.js} +5 -5
  58. package/dist/chunks/{app-3xe1zpzw.js → file-mutation-52exjygq.js} +17 -17
  59. package/dist/chunks/{app-9mtkw4g3.js → file-mutation-5aa0x91g.js} +32 -32
  60. package/dist/chunks/{app-92c4reck.js → file-mutation-5c2dffx6.js} +29 -29
  61. package/dist/chunks/{app-5daktx2q.js → file-mutation-5daktx2q.js} +1 -1
  62. package/dist/chunks/{app-epd5s80n.js → file-mutation-5dh6cndq.js} +16 -16
  63. package/dist/chunks/{app-ecn9jhng.js → file-mutation-5es8c9fg.js} +4 -4
  64. package/dist/chunks/{app-5fmxt4p5.js → file-mutation-5fmxt4p5.js} +1 -1
  65. package/dist/chunks/{app-5jvc5tg2.js → file-mutation-5jvc5tg2.js} +1 -1
  66. package/dist/chunks/{app-7mdbrk5c.js → file-mutation-5xeyd98q.js} +15 -15
  67. package/dist/chunks/{app-6qb1jm5z.js → file-mutation-64z8z5x5.js} +6 -6
  68. package/dist/chunks/{app-6abnk40k.js → file-mutation-6abnk40k.js} +2 -2
  69. package/dist/chunks/{app-r64qmg5x.js → file-mutation-6dqhqmxd.js} +10 -10
  70. package/dist/chunks/{app-rrmnk23p.js → file-mutation-6h02bg3y.js} +17 -17
  71. package/dist/chunks/{app-rnbmyxw3.js → file-mutation-6kza5psa.js} +28 -28
  72. package/dist/chunks/{app-dkkesp2b.js → file-mutation-6nd37hr3.js} +13 -13
  73. package/dist/chunks/{app-72nftnjy.js → file-mutation-72nftnjy.js} +2 -2
  74. package/dist/chunks/{app-76r8xxxn.js → file-mutation-73dc4en3.js} +9 -9
  75. package/dist/chunks/{app-ttsb85y1.js → file-mutation-76smfv87.js} +7 -7
  76. package/dist/chunks/{app-1ayxneq2.js → file-mutation-7bh11fvr.js} +24 -24
  77. package/dist/chunks/{app-7bmhse3q.js → file-mutation-7bmhse3q.js} +1 -1
  78. package/dist/chunks/{app-7w74e5nf.js → file-mutation-7cnkxtbd.js} +9 -9
  79. package/dist/chunks/{app-2k8khapm.js → file-mutation-7dqw4kz8.js} +5 -5
  80. package/dist/chunks/{app-wwr3ad35.js → file-mutation-7ng7exzm.js} +1 -1
  81. package/dist/chunks/{app-kkm1c4fb.js → file-mutation-7nxyxket.js} +1 -1
  82. package/dist/chunks/{app-srsjt1nn.js → file-mutation-7ry09vv5.js} +3 -3
  83. package/dist/chunks/{app-dsmcg9zs.js → file-mutation-7rzac2j8.js} +16 -16
  84. package/dist/chunks/{app-j5208yae.js → file-mutation-7w3s9kd0.js} +4 -4
  85. package/dist/chunks/file-mutation-7zk4hah4.js +4 -0
  86. package/dist/chunks/{app-a247e3as.js → file-mutation-81x7eskd.js} +6 -6
  87. package/dist/chunks/{app-51amr62k.js → file-mutation-8xta96ty.js} +6 -6
  88. package/dist/chunks/{app-7rq73qz7.js → file-mutation-91x3tn6q.js} +15 -15
  89. package/dist/chunks/{app-8w717yyx.js → file-mutation-9295dqc9.js} +11 -11
  90. package/dist/chunks/{app-evfdbawk.js → file-mutation-986p65m9.js} +5 -5
  91. package/dist/chunks/{app-a9zfrvqc.js → file-mutation-99vgbsyy.js} +5 -5
  92. package/dist/chunks/{app-7vjwf2sx.js → file-mutation-9g2qkkxg.js} +29 -29
  93. package/dist/chunks/{app-10crkvny.js → file-mutation-9ghjyck9.js} +22 -22
  94. package/dist/chunks/{app-w91bf5kg.js → file-mutation-9pk3p303.js} +8 -8
  95. package/dist/chunks/{app-ztfeypd4.js → file-mutation-9rye7j78.js} +3 -3
  96. package/dist/chunks/{app-q4msk40h.js → file-mutation-9stdvdcq.js} +18 -18
  97. package/dist/chunks/{app-pzjyfgzz.js → file-mutation-9vjz8vaq.js} +26 -26
  98. package/dist/chunks/{app-ag6ev01p.js → file-mutation-9xpfpwey.js} +10 -10
  99. package/dist/chunks/{app-hjwfeaa1.js → file-mutation-9zg8we79.js} +20 -20
  100. package/dist/chunks/{app-25m4ah6t.js → file-mutation-a2ew8a62.js} +7 -7
  101. package/dist/chunks/{app-drxmcvep.js → file-mutation-a975ej57.js} +28 -28
  102. package/dist/chunks/{app-aaet6srn.js → file-mutation-aaet6srn.js} +2 -2
  103. package/dist/chunks/{app-67ztqkdy.js → file-mutation-apjnhj61.js} +3 -3
  104. package/dist/chunks/{app-12m25a1r.js → file-mutation-av1j229j.js} +4 -4
  105. package/dist/chunks/{app-b6gygkdw.js → file-mutation-b6gygkdw.js} +2 -2
  106. package/dist/chunks/{app-b89s2553.js → file-mutation-b8ae5phz.js} +13 -13
  107. package/dist/chunks/{app-b9wsbatv.js → file-mutation-b9wsbatv.js} +1 -1
  108. package/dist/chunks/{app-9asqdat1.js → file-mutation-ba9wjnjy.js} +8 -8
  109. package/dist/chunks/{app-r3j4zcsz.js → file-mutation-babn4frh.js} +11 -11
  110. package/dist/chunks/{app-stachqf2.js → file-mutation-bbngg50h.js} +20 -20
  111. package/dist/chunks/{app-ftp1bkne.js → file-mutation-bby8cgbn.js} +5 -5
  112. package/dist/chunks/{app-43mprarq.js → file-mutation-bgt6msk1.js} +2 -2
  113. package/dist/chunks/{app-y4nzzd5t.js → file-mutation-bxnxw8jj.js} +5 -5
  114. package/dist/chunks/{app-3699wah4.js → file-mutation-c2sa0bfw.js} +8 -8
  115. package/dist/chunks/{app-z9yjs9a7.js → file-mutation-c47pbdfk.js} +30 -30
  116. package/dist/chunks/{app-3v6hx42c.js → file-mutation-cdra1vae.js} +11 -11
  117. package/dist/chunks/file-mutation-chcw50cn.js +460 -0
  118. package/dist/chunks/{app-0b9a3syv.js → file-mutation-cpy6gm2a.js} +6 -6
  119. package/dist/chunks/{app-5gx2hdkx.js → file-mutation-cq35m6me.js} +3 -3
  120. package/dist/chunks/{app-49r12z1f.js → file-mutation-cq7p734r.js} +20 -20
  121. package/dist/chunks/{app-bvy2akch.js → file-mutation-crdp7enc.js} +25 -25
  122. package/dist/chunks/{app-qf33an78.js → file-mutation-cv89hz1h.js} +39 -39
  123. package/dist/chunks/{app-eb93zemk.js → file-mutation-d2peqda8.js} +28 -28
  124. package/dist/chunks/{app-s6sc7xsb.js → file-mutation-dek5y14m.js} +4 -4
  125. package/dist/chunks/{app-an7cqtb7.js → file-mutation-dfe8djrf.js} +4 -4
  126. package/dist/chunks/{app-emesvkpm.js → file-mutation-dkvwewr4.js} +28 -28
  127. package/dist/chunks/{app-0pnstday.js → file-mutation-dkyd48ce.js} +33 -33
  128. package/dist/chunks/{app-abzfqj08.js → file-mutation-dnys7mv6.js} +3 -3
  129. package/dist/chunks/{app-73sszyh7.js → file-mutation-dsstwbg7.js} +16 -16
  130. package/dist/chunks/file-mutation-dxj72tfx.js +18 -0
  131. package/dist/chunks/{app-gy8r63zv.js → file-mutation-dyqxbeha.js} +9 -9
  132. package/dist/chunks/{app-arefmjbx.js → file-mutation-e6v427vd.js} +2 -2
  133. package/dist/chunks/{app-hqbzdwyf.js → file-mutation-eesgpqrv.js} +16 -16
  134. package/dist/chunks/{app-bawrj3b9.js → file-mutation-enamxrz2.js} +2 -2
  135. package/dist/chunks/{app-hw7r5c7p.js → file-mutation-etamtscj.js} +2 -2
  136. package/dist/chunks/{app-1mrma768.js → file-mutation-ev7pq6rs.js} +5 -5
  137. package/dist/chunks/{app-ez5b8bq3.js → file-mutation-ez5b8bq3.js} +1 -1
  138. package/dist/chunks/{app-6wpk4jm3.js → file-mutation-f12kng77.js} +11 -11
  139. package/dist/chunks/{app-d8wfxvdg.js → file-mutation-f36g7wv5.js} +16 -16
  140. package/dist/chunks/{app-rs7d7ay9.js → file-mutation-f9x6rp1j.js} +1 -1
  141. package/dist/chunks/{app-jfzd9m53.js → file-mutation-fmf5kng9.js} +27 -27
  142. package/dist/chunks/{app-k1xbqk76.js → file-mutation-fmhb14bc.js} +9 -9
  143. package/dist/chunks/{app-s9ng70hv.js → file-mutation-fmthvvtq.js} +37 -37
  144. package/dist/chunks/{app-6axwcwgk.js → file-mutation-ftvhvnyg.js} +82 -82
  145. package/dist/chunks/{app-fxbjtjnd.js → file-mutation-fxbjtjnd.js} +1 -1
  146. package/dist/chunks/{app-fxypknc8.js → file-mutation-fxypknc8.js} +1 -1
  147. package/dist/chunks/{app-m5045k8y.js → file-mutation-fz1pdqz4.js} +9 -9
  148. package/dist/chunks/{app-k39vhxmz.js → file-mutation-g20rb2e2.js} +7 -7
  149. package/dist/chunks/{app-g2dy4bvs.js → file-mutation-g2dy4bvs.js} +3 -3
  150. package/dist/chunks/{app-g2gt0w0k.js → file-mutation-g2gt0w0k.js} +2 -2
  151. package/dist/chunks/{app-znp4r3b7.js → file-mutation-g75qfjc9.js} +47 -47
  152. package/dist/chunks/{app-gj4y5m52.js → file-mutation-gb73cz2w.js} +23 -23
  153. package/dist/chunks/{app-gd4qta3r.js → file-mutation-gd4qta3r.js} +1 -1
  154. package/dist/chunks/{app-4qfdps26.js → file-mutation-gq2dhm0f.js} +6 -6
  155. package/dist/chunks/{app-p6mzzxr3.js → file-mutation-gvqp5mcx.js} +15 -15
  156. package/dist/chunks/{app-jhw2yzs0.js → file-mutation-h6hfrtqv.js} +17 -17
  157. package/dist/chunks/{app-h6vf3j39.js → file-mutation-h6vf3j39.js} +1 -1
  158. package/dist/chunks/{app-heyhwy2w.js → file-mutation-heyhwy2w.js} +1 -1
  159. package/dist/chunks/{app-bskj9zs2.js → file-mutation-hfr11a94.js} +9 -9
  160. package/dist/chunks/{app-djybk775.js → file-mutation-hgeb4s25.js} +1 -1
  161. package/dist/chunks/{app-y2cqme3r.js → file-mutation-hhpzk61m.js} +5 -5
  162. package/dist/chunks/{app-hnyf01b0.js → file-mutation-hnyf01b0.js} +2 -2
  163. package/dist/chunks/{app-tppvcy65.js → file-mutation-hpbtcqba.js} +9 -9
  164. package/dist/chunks/{app-cmc3px63.js → file-mutation-hx63qw1f.js} +52 -52
  165. package/dist/chunks/{app-m9nbq4j3.js → file-mutation-j67hz4sr.js} +37 -37
  166. package/dist/chunks/{app-2z4bcakw.js → file-mutation-j8swj2w1.js} +17 -17
  167. package/dist/chunks/{app-7pd6f52x.js → file-mutation-jc9sh6gt.js} +21 -21
  168. package/dist/chunks/{app-8q83hqdf.js → file-mutation-js2ntk6a.js} +13 -13
  169. package/dist/chunks/{app-jwcy2c2z.js → file-mutation-jwcy2c2z.js} +1 -1
  170. package/dist/chunks/{app-6n3kqnmf.js → file-mutation-jzvq323k.js} +64 -64
  171. package/dist/chunks/{app-qb0tn3m5.js → file-mutation-k0g96r8n.js} +4 -4
  172. package/dist/chunks/{app-ytqhcam2.js → file-mutation-k0wt6c02.js} +15 -15
  173. package/dist/chunks/{app-k4bwy1x5.js → file-mutation-k4bwy1x5.js} +1 -1
  174. package/dist/chunks/{app-qa6tzkyt.js → file-mutation-k7g5btme.js} +175 -175
  175. package/dist/chunks/{app-w4600456.js → file-mutation-k8feg6vv.js} +4 -4
  176. package/dist/chunks/{app-r1m5m6n7.js → file-mutation-k9tare26.js} +26 -26
  177. package/dist/chunks/file-mutation-kahasfee.js +247 -0
  178. package/dist/chunks/{app-kg06axw8.js → file-mutation-kg06axw8.js} +1 -1
  179. package/dist/chunks/{app-5fmjy2xb.js → file-mutation-kh3skkyd.js} +11 -11
  180. package/dist/chunks/{app-4w9tmb1q.js → file-mutation-kkxc5154.js} +4 -4
  181. package/dist/chunks/{app-kvsjn1dr.js → file-mutation-kvsjn1dr.js} +2 -2
  182. package/dist/chunks/{app-x1z8np8d.js → file-mutation-kx181zyf.js} +51 -51
  183. package/dist/chunks/{app-7bpzgkas.js → file-mutation-kx4bd44t.js} +6 -6
  184. package/dist/chunks/{app-9v7rjn4h.js → file-mutation-kxnt8qcg.js} +5 -5
  185. package/dist/chunks/{app-c6gpbsrj.js → file-mutation-m7a9j46m.js} +31 -31
  186. package/dist/chunks/{app-bkc8hw0t.js → file-mutation-m7xx730c.js} +13 -13
  187. package/dist/chunks/{app-m9w0rfyh.js → file-mutation-m9w0rfyh.js} +1 -1
  188. package/dist/chunks/{app-42jtes1n.js → file-mutation-mcx7a78c.js} +12 -12
  189. package/dist/chunks/{app-rz31k017.js → file-mutation-mfv0zw27.js} +9 -9
  190. package/dist/chunks/{app-qavd1wvc.js → file-mutation-mfzandgw.js} +22 -22
  191. package/dist/chunks/{app-xechrp4q.js → file-mutation-mpsa3nes.js} +12 -12
  192. package/dist/chunks/{app-28pcbh69.js → file-mutation-mtcjf44p.js} +4 -4
  193. package/dist/chunks/{app-wcevzh1p.js → file-mutation-mv29cp6n.js} +31 -31
  194. package/dist/chunks/{app-mvfsc1pv.js → file-mutation-mvfsc1pv.js} +1 -1
  195. package/dist/chunks/{app-jv7yt568.js → file-mutation-n29tzj9t.js} +23 -23
  196. package/dist/chunks/{app-1cnz31nk.js → file-mutation-n79tw2ag.js} +10 -10
  197. package/dist/chunks/{app-nrcsyr73.js → file-mutation-n9bnhgwz.js} +19 -19
  198. package/dist/chunks/{app-n6mjpdbf.js → file-mutation-ntfpb4pt.js} +11 -11
  199. package/dist/chunks/{app-ng75afqg.js → file-mutation-nx7brarr.js} +4 -4
  200. package/dist/chunks/{app-2jfbx11t.js → file-mutation-pcsdq11k.js} +14 -14
  201. package/dist/chunks/{app-9cfwdcc0.js → file-mutation-pd4v9smd.js} +13 -13
  202. package/dist/chunks/{app-1eg3ajsc.js → file-mutation-pez43mez.js} +9 -9
  203. package/dist/chunks/{app-4dxz6g2t.js → file-mutation-pjvn5h54.js} +14 -14
  204. package/dist/chunks/{app-pjvnvgmy.js → file-mutation-pjvnvgmy.js} +1 -1
  205. package/dist/chunks/{app-pknna89w.js → file-mutation-pknna89w.js} +1 -1
  206. package/dist/chunks/{app-jxqq6ybj.js → file-mutation-ptrtafvx.js} +11 -11
  207. package/dist/chunks/{app-6mbbwrj4.js → file-mutation-pv0a80ht.js} +31 -31
  208. package/dist/chunks/{app-yfthbyyg.js → file-mutation-pv1dbmgw.js} +14 -14
  209. package/dist/chunks/{app-gndgrf2p.js → file-mutation-q1v8m6jv.js} +11 -11
  210. package/dist/chunks/{app-1g3sbppe.js → file-mutation-q732cfnv.js} +17 -17
  211. package/dist/chunks/{app-ah84y693.js → file-mutation-qbyj8qxd.js} +1 -1
  212. package/dist/chunks/{app-xeq5x5py.js → file-mutation-qhmvtman.js} +6 -6
  213. package/dist/chunks/{app-9svx6tw9.js → file-mutation-qrpj1s4j.js} +31 -31
  214. package/dist/chunks/{app-qsdy395h.js → file-mutation-qsdy395h.js} +1 -1
  215. package/dist/chunks/{app-qvbcabdc.js → file-mutation-qvbcabdc.js} +2 -2
  216. package/dist/chunks/{app-p6pyb1k7.js → file-mutation-qzgw1bvz.js} +22 -22
  217. package/dist/chunks/{app-je94mgw6.js → file-mutation-r062cge9.js} +43 -43
  218. package/dist/chunks/{app-yy80zasr.js → file-mutation-r3xt2kax.js} +18 -18
  219. package/dist/chunks/{app-r8dhm0tv.js → file-mutation-r8dhm0tv.js} +1 -1
  220. package/dist/chunks/{app-m4535t75.js → file-mutation-rae26gbb.js} +8 -8
  221. package/dist/chunks/{app-6ryd33xm.js → file-mutation-raxt0ax7.js} +9 -9
  222. package/dist/chunks/{app-x20jfd50.js → file-mutation-rx48f0w5.js} +39 -39
  223. package/dist/chunks/{app-5b58gzej.js → file-mutation-s4z7bqeh.js} +61 -61
  224. package/dist/chunks/{app-sba4qhjf.js → file-mutation-sba4qhjf.js} +1 -1
  225. package/dist/chunks/{app-b5gjhjfs.js → file-mutation-sbnvhk9g.js} +4 -4
  226. package/dist/chunks/{app-b75ft6nf.js → file-mutation-shfaz11f.js} +4 -4
  227. package/dist/chunks/{app-63daw84a.js → file-mutation-shp7mea9.js} +7 -7
  228. package/dist/chunks/{app-wgdphb3s.js → file-mutation-sjnqgbe6.js} +10 -10
  229. package/dist/chunks/{app-93wzm26s.js → file-mutation-sm2vbrgr.js} +8 -8
  230. package/dist/chunks/{app-6rzv01zx.js → file-mutation-sr4h8txr.js} +4 -4
  231. package/dist/chunks/{app-sxhwk0c0.js → file-mutation-sxhwk0c0.js} +1 -1
  232. package/dist/chunks/{app-6yh4f6fv.js → file-mutation-t0h3w515.js} +11 -11
  233. package/dist/chunks/{app-jtkad9sr.js → file-mutation-t2ddn6kb.js} +32 -32
  234. package/dist/chunks/{app-tazgh4e4.js → file-mutation-tazgh4e4.js} +1 -1
  235. package/dist/chunks/{app-1jdc2svp.js → file-mutation-tbhfrc53.js} +16 -16
  236. package/dist/chunks/{app-89znhe33.js → file-mutation-tcezcvh9.js} +4 -4
  237. package/dist/chunks/{app-c5c0bz0t.js → file-mutation-tdpndm1c.js} +5 -5
  238. package/dist/chunks/{app-tjykrgmx.js → file-mutation-tjykrgmx.js} +1 -1
  239. package/dist/chunks/{app-z729fpb2.js → file-mutation-tmd7jntm.js} +43 -43
  240. package/dist/chunks/{app-g02688sb.js → file-mutation-tnxkc6a0.js} +37 -37
  241. package/dist/chunks/{app-prkjxx16.js → file-mutation-ts6w764v.js} +11 -11
  242. package/dist/chunks/{app-khe7zx09.js → file-mutation-ttq12bnp.js} +17 -17
  243. package/dist/chunks/{app-5vv1ktcy.js → file-mutation-txaenkad.js} +25 -25
  244. package/dist/chunks/{app-kght2vh2.js → file-mutation-txs58e9j.js} +36 -36
  245. package/dist/chunks/{app-g1gppypj.js → file-mutation-txtxjcd6.js} +20 -20
  246. package/dist/chunks/{app-cp79y1v1.js → file-mutation-v28ws7kz.js} +13 -13
  247. package/dist/chunks/{app-9k8ga460.js → file-mutation-v8gy3pjr.js} +1 -1
  248. package/dist/chunks/{app-wwwks56p.js → file-mutation-vaqgp3x5.js} +12 -12
  249. package/dist/chunks/{app-z3xgatyd.js → file-mutation-vep9yay1.js} +4 -4
  250. package/dist/chunks/{app-28dgmzze.js → file-mutation-vjwmbaty.js} +26 -26
  251. package/dist/chunks/{app-w3wsvvr9.js → file-mutation-w3wsvvr9.js} +1 -1
  252. package/dist/chunks/{app-wz8xxayn.js → file-mutation-w9q489q5.js} +25 -25
  253. package/dist/chunks/{app-wd87259q.js → file-mutation-wd87259q.js} +1 -1
  254. package/dist/chunks/file-mutation-wsejc6g3.js +22 -0
  255. package/dist/chunks/{app-kbs3ytgs.js → file-mutation-ww2ebcpy.js} +7 -7
  256. package/dist/chunks/{app-5xfb8tt8.js → file-mutation-wwr3ap19.js} +28 -28
  257. package/dist/chunks/{app-x1ezjp6w.js → file-mutation-x1ezjp6w.js} +1 -1
  258. package/dist/chunks/{app-7tw3q1zv.js → file-mutation-xdff1234.js} +54 -54
  259. package/dist/chunks/{app-1jynzpaq.js → file-mutation-xkc72jxy.js} +12 -12
  260. package/dist/chunks/{app-jg5w4ckf.js → file-mutation-xqne8rgr.js} +8 -8
  261. package/dist/chunks/{app-7n7dggr2.js → file-mutation-xspyb9m3.js} +8 -8
  262. package/dist/chunks/{app-yd4mva7c.js → file-mutation-xw0r27ex.js} +4 -4
  263. package/dist/chunks/{app-1ac4g41n.js → file-mutation-xz6pmd8f.js} +17 -17
  264. package/dist/chunks/{app-mc6f4wmg.js → file-mutation-y07pc62d.js} +11 -11
  265. package/dist/chunks/{app-y1fvbwt7.js → file-mutation-y1fvbwt7.js} +1 -1
  266. package/dist/chunks/{app-3xxzp3nh.js → file-mutation-y3f9wfx6.js} +22 -22
  267. package/dist/chunks/{app-cy44mvmp.js → file-mutation-y724s5yt.js} +4 -4
  268. package/dist/chunks/{app-yfbd16n1.js → file-mutation-yfbd16n1.js} +2 -2
  269. package/dist/chunks/{app-yg7sb877.js → file-mutation-yg7sb877.js} +2 -2
  270. package/dist/chunks/file-mutation-yhtqjkzd.js +20 -0
  271. package/dist/chunks/{app-gcvg6c9v.js → file-mutation-ykv0c0be.js} +34 -34
  272. package/dist/chunks/{app-hncf1b4v.js → file-mutation-yp0nmk3h.js} +22 -22
  273. package/dist/chunks/{app-z1k01bn4.js → file-mutation-z1k01bn4.js} +2 -2
  274. package/dist/chunks/{app-h3e45e1k.js → file-mutation-z3s9j4q6.js} +18 -18
  275. package/dist/chunks/{app-wq38yxfv.js → file-mutation-z48dvxa8.js} +1 -1
  276. package/dist/chunks/{app-xtx2skvw.js → file-mutation-z7e42eas.js} +23 -23
  277. package/dist/chunks/{app-46f0x6q8.js → file-mutation-z7zpek7w.js} +11 -11
  278. package/dist/chunks/{app-5qs502xj.js → file-mutation-zc50sfb7.js} +11 -11
  279. package/dist/chunks/{app-j8wswpkz.js → file-mutation-zez4nnyf.js} +7 -7
  280. package/dist/chunks/{app-19zwchw3.js → file-mutation-zset28aw.js} +93 -93
  281. package/dist/chunks/{app-cbzzwm6t.js → file-mutation-zwj404z1.js} +30 -30
  282. package/dist/chunks/{app-zxq2ej10.js → file-mutation-zxq2ej10.js} +1 -1
  283. package/dist/chunks/{app-j3pby61b.js → file-mutation-zzjwypeh.js} +6 -6
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +7 -7
  286. package/dist/codemode/tool.js +2 -2
  287. package/dist/command.js +83 -83
  288. package/dist/config/discovery.js +79 -79
  289. package/dist/config/markdown.js +1 -1
  290. package/dist/config/normalize.js +19 -19
  291. package/dist/config/plugin/agent.js +114 -114
  292. package/dist/config/plugin/command.js +205 -205
  293. package/dist/config/plugin/compaction.js +153 -153
  294. package/dist/config/plugin/entry-observer.js +1 -1
  295. package/dist/config/plugin/formatter.js +116 -116
  296. package/dist/config/plugin/image.js +114 -114
  297. package/dist/config/plugin/instruction.js +85 -85
  298. package/dist/config/plugin/location-watcher.js +114 -114
  299. package/dist/config/plugin/mcp.js +123 -123
  300. package/dist/config/plugin/policy.js +113 -113
  301. package/dist/config/plugin/provider.js +112 -112
  302. package/dist/config/plugin/reference.js +116 -116
  303. package/dist/config/plugin/shell.js +117 -117
  304. package/dist/config/plugin/skill-file.js +96 -96
  305. package/dist/config/plugin/skill.js +134 -134
  306. package/dist/config/plugin/snapshot.js +114 -114
  307. package/dist/config/plugin/source.js +110 -110
  308. package/dist/config/plugin/tool-output.js +116 -116
  309. package/dist/config/plugin/websearch.js +114 -114
  310. package/dist/config/plugin/worktree.js +117 -117
  311. package/dist/config/variable.js +3 -3
  312. package/dist/config/watch.js +1 -1
  313. package/dist/config.js +116 -116
  314. package/dist/credential/sql.js +2 -2
  315. package/dist/credential.js +80 -80
  316. package/dist/database/database.js +68 -68
  317. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  318. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  319. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  320. package/dist/database/drizzle/index.js +13 -13
  321. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  322. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  323. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  324. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  325. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  326. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  332. package/dist/database/drizzle.js +14 -14
  333. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  334. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  335. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  336. package/dist/database/migration/20260225215848_workspace.js +1 -1
  337. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  338. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  339. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  340. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  341. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  342. package/dist/database/migration/20260323234822_events.js +1 -1
  343. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  344. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  345. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  346. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  347. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  348. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  349. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  350. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  351. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  352. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  353. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  354. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  355. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  356. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  357. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  358. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  359. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  360. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  361. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  362. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  363. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  364. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  365. package/dist/database/migration/20260611035744_credential.js +1 -1
  366. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  367. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  368. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  369. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  370. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  371. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  372. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  373. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  374. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  375. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  376. package/dist/database/migration/20260812213948_worktree.js +1 -1
  377. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  378. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  379. package/dist/database/migration.gen.js +47 -47
  380. package/dist/database/migration.js +49 -49
  381. package/dist/database/path.js +2 -2
  382. package/dist/database/schema.gen.js +1 -1
  383. package/dist/database/schema.sql.js +1 -1
  384. package/dist/database/sqlite.bun.js +1 -1
  385. package/dist/database/sqlite.js +1 -1
  386. package/dist/database/sqlite.node.js +1 -1
  387. package/dist/database/sqlite.workerd.js +1 -1
  388. package/dist/database/v1-migration.bun.js +77 -77
  389. package/dist/database/v1-migration.js +1 -1
  390. package/dist/effect/app-node-builder.js +358 -358
  391. package/dist/effect/app-node-platform.js +2 -2
  392. package/dist/effect/keyed-mutex.js +1 -1
  393. package/dist/effect/websocket-constructor.js +1 -1
  394. package/dist/environment/driver.js +1 -1
  395. package/dist/environment/environment.js +88 -88
  396. package/dist/environment/exec-defaults.js +2 -2
  397. package/dist/environment/files.js +1 -1
  398. package/dist/environment/index.js +90 -90
  399. package/dist/environment/local.js +2 -2
  400. package/dist/environment/memory.js +2 -2
  401. package/dist/environment/unavailable.js +1 -1
  402. package/dist/event/sql.js +1 -1
  403. package/dist/event-logger.js +72 -72
  404. package/dist/file-mutation.js +89 -89
  405. package/dist/file-retention.js +1 -1
  406. package/dist/file.js +1 -1
  407. package/dist/filesystem/fff.bun.js +2 -2
  408. package/dist/filesystem/fff.js +1 -1
  409. package/dist/filesystem/fff.node.js +2 -2
  410. package/dist/filesystem/fff.workerd.js +2 -2
  411. package/dist/filesystem/ignore.js +1 -1
  412. package/dist/filesystem/location-watcher-policy.js +6 -6
  413. package/dist/filesystem/location-watcher.js +214 -214
  414. package/dist/filesystem/protected.js +3 -3
  415. package/dist/filesystem/search.js +99 -99
  416. package/dist/filesystem/watcher-binding.js +1 -1
  417. package/dist/filesystem/watcher.js +13 -13
  418. package/dist/filesystem.js +102 -102
  419. package/dist/form.js +82 -82
  420. package/dist/formatter/builtins.js +2 -2
  421. package/dist/formatter.js +78 -78
  422. package/dist/generate.js +88 -88
  423. package/dist/git.js +7 -7
  424. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  425. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  426. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  427. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  428. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  429. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  430. package/dist/github-copilot/copilot-provider.js +17 -17
  431. package/dist/github-copilot/models.js +7 -7
  432. package/dist/github-copilot/openai-compatible-error.js +1 -1
  433. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  434. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  435. package/dist/github-copilot/responses/openai-error.js +1 -1
  436. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  437. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  438. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  439. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  440. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  441. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  442. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  443. package/dist/id/id.js +1 -1
  444. package/dist/image/photon.js +2 -2
  445. package/dist/image.js +6 -6
  446. package/dist/instance/service.js +7 -7
  447. package/dist/instance.js +349 -349
  448. package/dist/instruction-discovery.js +83 -83
  449. package/dist/instructions/builtins.js +82 -82
  450. package/dist/instructions/index.js +3 -3
  451. package/dist/integration/connection.js +1 -1
  452. package/dist/integration.js +85 -85
  453. package/dist/job.js +77 -77
  454. package/dist/kv/sql.js +2 -2
  455. package/dist/kv.js +71 -71
  456. package/dist/location-activity.js +86 -86
  457. package/dist/location-mutation.js +81 -81
  458. package/dist/location-service-map.js +83 -83
  459. package/dist/location-services.js +346 -346
  460. package/dist/location.js +84 -84
  461. package/dist/mcp/client.js +86 -86
  462. package/dist/mcp/index.js +102 -102
  463. package/dist/mcp/instructions.js +120 -120
  464. package/dist/mcp/oauth.js +2 -2
  465. package/dist/mcp/stdio.js +85 -85
  466. package/dist/mime.js +1 -1
  467. package/dist/modal/models.js +7 -7
  468. package/dist/model-resolver.js +85 -85
  469. package/dist/model.js +10 -10
  470. package/dist/models-dev.js +86 -86
  471. package/dist/oauth/page.js +1 -1
  472. package/dist/permission/saved.js +78 -78
  473. package/dist/permission/sql.js +5 -5
  474. package/dist/permission.js +105 -105
  475. package/dist/persistent-pty/binary.bun.js +1 -1
  476. package/dist/persistent-pty/daemon.js +1 -1
  477. package/dist/persistent-pty/index.js +84 -84
  478. package/dist/persistent-pty/pty-binding.js +1 -1
  479. package/dist/persistent-pty.js +73 -73
  480. package/dist/plugin/agent.js +96 -96
  481. package/dist/plugin/command.js +91 -91
  482. package/dist/plugin/hooks.js +5 -5
  483. package/dist/plugin/host.js +211 -211
  484. package/dist/plugin/instance.js +5 -5
  485. package/dist/plugin/internal.js +320 -320
  486. package/dist/plugin/mcp-codemode-exclusion.js +1 -1
  487. package/dist/plugin/models-dev.js +75 -75
  488. package/dist/plugin/module.js +2 -2
  489. package/dist/plugin/plan.js +96 -96
  490. package/dist/plugin/promise.js +1 -1
  491. package/dist/plugin/provider/alibaba.js +2 -2
  492. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  493. package/dist/plugin/provider/anthropic.js +2 -2
  494. package/dist/plugin/provider/azure.js +117 -117
  495. package/dist/plugin/provider/cerebras.js +2 -2
  496. package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
  497. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  498. package/dist/plugin/provider/cohere.js +2 -2
  499. package/dist/plugin/provider/configured.js +113 -113
  500. package/dist/plugin/provider/dynamic.js +2 -2
  501. package/dist/plugin/provider/factory.js +1 -1
  502. package/dist/plugin/provider/gateway.js +2 -2
  503. package/dist/plugin/provider/github-copilot.js +79 -79
  504. package/dist/plugin/provider/gitlab.js +3 -3
  505. package/dist/plugin/provider/google-vertex.js +2 -2
  506. package/dist/plugin/provider/kilo.js +2 -2
  507. package/dist/plugin/provider/llmgateway.js +75 -75
  508. package/dist/plugin/provider/lmstudio.js +114 -114
  509. package/dist/plugin/provider/mistral.js +2 -2
  510. package/dist/plugin/provider/modal.js +78 -78
  511. package/dist/plugin/provider/nvidia.js +2 -2
  512. package/dist/plugin/provider/ollama.js +114 -114
  513. package/dist/plugin/provider/openai-compatible.js +1 -1
  514. package/dist/plugin/provider/openai.js +77 -77
  515. package/dist/plugin/provider/opencode.js +75 -75
  516. package/dist/plugin/provider/openrouter.js +3 -3
  517. package/dist/plugin/provider/perplexity.js +2 -2
  518. package/dist/plugin/provider/sap-ai-core.js +3 -3
  519. package/dist/plugin/provider/sdk-factory.js +1 -1
  520. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  521. package/dist/plugin/provider/venice.js +2 -2
  522. package/dist/plugin/provider/vercel.js +2 -2
  523. package/dist/plugin/provider/vllm.js +114 -114
  524. package/dist/plugin/provider/xai.js +76 -76
  525. package/dist/plugin/provider/zenmux.js +2 -2
  526. package/dist/plugin/provider.js +154 -154
  527. package/dist/plugin/sdk.js +72 -72
  528. package/dist/plugin/service.js +5 -5
  529. package/dist/plugin/skill.js +129 -129
  530. package/dist/plugin/source-directory.js +1 -1
  531. package/dist/plugin/supervisor.js +335 -335
  532. package/dist/plugin/system-prompt.js +1 -1
  533. package/dist/plugin/update.js +6 -6
  534. package/dist/plugin/variant.js +2 -2
  535. package/dist/plugin/vcs/git.js +80 -80
  536. package/dist/plugin/vcs/hg.js +82 -82
  537. package/dist/plugin/warming.js +111 -111
  538. package/dist/plugin/websearch/exa.js +7 -7
  539. package/dist/plugin/websearch/firecrawl.js +8 -8
  540. package/dist/plugin/websearch/index.js +8 -8
  541. package/dist/plugin/websearch/mcp.js +2 -2
  542. package/dist/plugin/websearch/parallel.js +6 -6
  543. package/dist/plugin/websearch/tavily.js +4 -4
  544. package/dist/plugin.js +222 -222
  545. package/dist/project/schema.js +8 -8
  546. package/dist/project/sql.js +4 -4
  547. package/dist/project.js +85 -85
  548. package/dist/provider.js +5 -5
  549. package/dist/pty/protocol.js +1 -1
  550. package/dist/pty/schema.js +3 -3
  551. package/dist/pty/ticket.js +1 -1
  552. package/dist/pty.js +94 -94
  553. package/dist/reference/instructions.js +82 -82
  554. package/dist/reference.js +86 -86
  555. package/dist/repository-cache.js +76 -76
  556. package/dist/repository.js +3 -3
  557. package/dist/ripgrep/binary.js +2 -2
  558. package/dist/ripgrep.js +93 -93
  559. package/dist/rpc.js +81 -81
  560. package/dist/schema.js +1 -1
  561. package/dist/session/command.js +72 -72
  562. package/dist/session/compaction.js +125 -125
  563. package/dist/session/context.js +145 -145
  564. package/dist/session/environment.js +5 -5
  565. package/dist/session/error.js +5 -5
  566. package/dist/session/event.js +1 -1
  567. package/dist/session/execution/restart.js +217 -217
  568. package/dist/session/execution.js +120 -120
  569. package/dist/session/generate.js +144 -144
  570. package/dist/session/history.js +12 -12
  571. package/dist/session/inbox.js +86 -86
  572. package/dist/session/info.js +3 -3
  573. package/dist/session/instruction-entry.js +73 -73
  574. package/dist/session/instruction-state.js +8 -8
  575. package/dist/session/instructions.js +91 -91
  576. package/dist/session/message-updater.js +2 -2
  577. package/dist/session/message.js +1 -1
  578. package/dist/session/model-request.js +110 -110
  579. package/dist/session/model-transport.js +7 -7
  580. package/dist/session/move.js +124 -124
  581. package/dist/session/projector.js +84 -84
  582. package/dist/session/prompt.js +99 -99
  583. package/dist/session/revert.js +85 -85
  584. package/dist/session/run-coordinator.js +3 -3
  585. package/dist/session/runner/index.js +3 -3
  586. package/dist/session/runner/llm.js +221 -221
  587. package/dist/session/runner/max-steps.js +1 -1
  588. package/dist/session/runner/model.js +85 -85
  589. package/dist/session/runner/publish-llm-event.js +3 -3
  590. package/dist/session/runner/retry.js +2 -2
  591. package/dist/session/runner/step.js +117 -117
  592. package/dist/session/runner/to-llm-message.js +1 -1
  593. package/dist/session/schema.js +5 -5
  594. package/dist/session/session.js +167 -167
  595. package/dist/session/shell.js +130 -130
  596. package/dist/session/skill.js +97 -97
  597. package/dist/session/sql.js +5 -5
  598. package/dist/session/stats.js +73 -73
  599. package/dist/session/store.js +84 -84
  600. package/dist/session/subagent-completion.js +1 -1
  601. package/dist/session/subagent-job.js +201 -201
  602. package/dist/session/system-prompt.js +3 -3
  603. package/dist/session/title.js +143 -143
  604. package/dist/session/to-session-error.js +105 -105
  605. package/dist/session/transfer.js +216 -216
  606. package/dist/session/usage.js +1 -1
  607. package/dist/session.js +211 -211
  608. package/dist/shell/parse.js +6 -6
  609. package/dist/shell/result.js +1 -1
  610. package/dist/shell/scan.js +1 -1
  611. package/dist/shell/select.js +9 -9
  612. package/dist/shell.js +132 -132
  613. package/dist/skill/discovery.js +6 -6
  614. package/dist/skill/instructions.js +101 -101
  615. package/dist/skill.js +104 -104
  616. package/dist/snapshot.js +86 -86
  617. package/dist/state.js +1 -1
  618. package/dist/tool/html-markdown.js +1 -1
  619. package/dist/tool/http-body.js +1 -1
  620. package/dist/tool/mcp.js +117 -117
  621. package/dist/tool/plugin/edit.js +114 -114
  622. package/dist/tool/plugin/file-diff.js +1 -1
  623. package/dist/tool/plugin/glob.js +119 -119
  624. package/dist/tool/plugin/grep.js +119 -119
  625. package/dist/tool/plugin/opencode.js +3 -3
  626. package/dist/tool/plugin/patch.js +116 -116
  627. package/dist/tool/plugin/question.js +95 -95
  628. package/dist/tool/plugin/read.js +120 -120
  629. package/dist/tool/plugin/shell.js +206 -206
  630. package/dist/tool/plugin/skill.js +107 -107
  631. package/dist/tool/plugin/subagent.js +212 -212
  632. package/dist/tool/plugin/webfetch.js +104 -104
  633. package/dist/tool/plugin/websearch.js +108 -108
  634. package/dist/tool/plugin/write.js +116 -116
  635. package/dist/tool/read-filesystem.js +96 -96
  636. package/dist/tool/runtime.js +1 -1
  637. package/dist/tool-output.js +8 -8
  638. package/dist/tool.js +15 -15
  639. package/dist/util/error.js +1 -1
  640. package/dist/util/iife.js +1 -1
  641. package/dist/util/lazy.js +1 -1
  642. package/dist/util/slug.js +1 -1
  643. package/dist/util/token.js +1 -1
  644. package/dist/util/which.js +1 -1
  645. package/dist/util/wildcard.js +1 -1
  646. package/dist/v1/config/agent.js +7 -7
  647. package/dist/v1/config/attachment.js +4 -4
  648. package/dist/v1/config/command.js +5 -5
  649. package/dist/v1/config/config.js +16 -16
  650. package/dist/v1/config/error.js +2 -2
  651. package/dist/v1/config/formatter.js +3 -3
  652. package/dist/v1/config/layout.js +1 -1
  653. package/dist/v1/config/lsp.js +5 -5
  654. package/dist/v1/config/mcp.js +4 -4
  655. package/dist/v1/config/migrate.js +4 -4
  656. package/dist/v1/config/permission.js +3 -3
  657. package/dist/v1/config/plugin.js +3 -3
  658. package/dist/v1/config/provider-options.js +1 -1
  659. package/dist/v1/config/provider.js +4 -4
  660. package/dist/v1/config/server.js +2 -2
  661. package/dist/v1/config/skills.js +3 -3
  662. package/dist/v1/permission.js +1 -1
  663. package/dist/vcs/patch.js +1 -1
  664. package/dist/vcs.js +85 -85
  665. package/dist/websearch.js +80 -80
  666. package/dist/wellknown/plugin.js +74 -74
  667. package/dist/wellknown.js +77 -77
  668. package/dist/workspace/driver.js +5 -5
  669. package/dist/workspace/sql.js +1 -1
  670. package/dist/workspace.js +78 -78
  671. package/dist/worktree/directory.js +4 -4
  672. package/dist/worktree/git.js +7 -7
  673. package/dist/worktree/refresh.js +336 -336
  674. package/dist/worktree/sql.js +5 -5
  675. package/dist/worktree.js +91 -91
  676. package/package.json +7 -7
  677. package/dist/chunks/app-3ksgtvjj.js +0 -460
  678. package/dist/chunks/app-4y2hpfj1.js +0 -20
  679. package/dist/chunks/app-77jnt7s6.js +0 -247
  680. package/dist/chunks/app-9zwhrd2p.js +0 -4
  681. package/dist/chunks/app-bwt7bpgq.js +0 -18
  682. package/dist/chunks/app-h16f3rt9.js +0 -22
  683. /package/dist/chunks/{app-0fabt78z.js → file-mutation-0fabt78z.js} +0 -0
  684. /package/dist/chunks/{app-0qkdqm5v.js → file-mutation-0qkdqm5v.js} +0 -0
  685. /package/dist/chunks/{app-0zkw76rk.js → file-mutation-0zkw76rk.js} +0 -0
  686. /package/dist/chunks/{app-17cy0kzp.js → file-mutation-17cy0kzp.js} +0 -0
  687. /package/dist/chunks/{app-1cnp2v09.js → file-mutation-1cnp2v09.js} +0 -0
  688. /package/dist/chunks/{app-1kg9ymc8.js → file-mutation-1kg9ymc8.js} +0 -0
  689. /package/dist/chunks/{app-2710q6r3.js → file-mutation-2710q6r3.js} +0 -0
  690. /package/dist/chunks/{app-2axfhc9x.js → file-mutation-2axfhc9x.js} +0 -0
  691. /package/dist/chunks/{app-2c3vjs8z.js → file-mutation-2c3vjs8z.js} +0 -0
  692. /package/dist/chunks/{app-359p4xyc.js → file-mutation-359p4xyc.js} +0 -0
  693. /package/dist/chunks/{app-3asan66x.js → file-mutation-3asan66x.js} +0 -0
  694. /package/dist/chunks/{app-3t738kvx.js → file-mutation-3t738kvx.js} +0 -0
  695. /package/dist/chunks/{app-3v8g72cx.js → file-mutation-3v8g72cx.js} +0 -0
  696. /package/dist/chunks/{app-3wcehsnq.js → file-mutation-3wcehsnq.js} +0 -0
  697. /package/dist/chunks/{app-41nvscxy.js → file-mutation-41nvscxy.js} +0 -0
  698. /package/dist/chunks/{app-43n2bw4t.js → file-mutation-43n2bw4t.js} +0 -0
  699. /package/dist/chunks/{app-4knz6hnm.js → file-mutation-4knz6hnm.js} +0 -0
  700. /package/dist/chunks/{app-4y7fprxs.js → file-mutation-4y7fprxs.js} +0 -0
  701. /package/dist/chunks/{app-53557ph1.js → file-mutation-53557ph1.js} +0 -0
  702. /package/dist/chunks/{app-550bvhaj.js → file-mutation-550bvhaj.js} +0 -0
  703. /package/dist/chunks/{app-5qd3pb7m.js → file-mutation-5qd3pb7m.js} +0 -0
  704. /package/dist/chunks/{app-6prwharc.js → file-mutation-6prwharc.js} +0 -0
  705. /package/dist/chunks/{app-7akdwqpd.js → file-mutation-7akdwqpd.js} +0 -0
  706. /package/dist/chunks/{app-7m9af43g.js → file-mutation-7m9af43g.js} +0 -0
  707. /package/dist/chunks/{app-822emrt2.js → file-mutation-822emrt2.js} +0 -0
  708. /package/dist/chunks/{app-88xbtdfr.js → file-mutation-88xbtdfr.js} +0 -0
  709. /package/dist/chunks/{app-8n3pysct.js → file-mutation-8n3pysct.js} +0 -0
  710. /package/dist/chunks/{app-982e01ww.js → file-mutation-982e01ww.js} +0 -0
  711. /package/dist/chunks/{app-9a4afbnw.js → file-mutation-9a4afbnw.js} +0 -0
  712. /package/dist/chunks/{app-9rqn6x4v.js → file-mutation-9rqn6x4v.js} +0 -0
  713. /package/dist/chunks/{app-a1tpkmh4.js → file-mutation-a1tpkmh4.js} +0 -0
  714. /package/dist/chunks/{app-af5trqkr.js → file-mutation-af5trqkr.js} +0 -0
  715. /package/dist/chunks/{app-afrmfg78.js → file-mutation-afrmfg78.js} +0 -0
  716. /package/dist/chunks/{app-aqzs7mqg.js → file-mutation-aqzs7mqg.js} +0 -0
  717. /package/dist/chunks/{app-atq7p7m5.js → file-mutation-atq7p7m5.js} +0 -0
  718. /package/dist/chunks/{app-bkyjaxrp.js → file-mutation-bkyjaxrp.js} +0 -0
  719. /package/dist/chunks/{app-bmr6ed5q.js → file-mutation-bmr6ed5q.js} +0 -0
  720. /package/dist/chunks/{app-cf4snx6d.js → file-mutation-cf4snx6d.js} +0 -0
  721. /package/dist/chunks/{app-cvy3z8tj.js → file-mutation-cvy3z8tj.js} +0 -0
  722. /package/dist/chunks/{app-d9fn303g.js → file-mutation-d9fn303g.js} +0 -0
  723. /package/dist/chunks/{app-d9jj8t3e.js → file-mutation-d9jj8t3e.js} +0 -0
  724. /package/dist/chunks/{app-dajrwvna.js → file-mutation-dajrwvna.js} +0 -0
  725. /package/dist/chunks/{app-dap0rakb.js → file-mutation-dap0rakb.js} +0 -0
  726. /package/dist/chunks/{app-df08tz66.js → file-mutation-df08tz66.js} +0 -0
  727. /package/dist/chunks/{app-dy18nga0.js → file-mutation-dy18nga0.js} +0 -0
  728. /package/dist/chunks/{app-e5kj55wp.js → file-mutation-e5kj55wp.js} +0 -0
  729. /package/dist/chunks/{app-e73j6tqm.js → file-mutation-e73j6tqm.js} +0 -0
  730. /package/dist/chunks/{app-eh3zwz77.js → file-mutation-eh3zwz77.js} +0 -0
  731. /package/dist/chunks/{app-emrn6kk6.js → file-mutation-emrn6kk6.js} +0 -0
  732. /package/dist/chunks/{app-f0mxakyp.js → file-mutation-f0mxakyp.js} +0 -0
  733. /package/dist/chunks/{app-f6n9ztr4.js → file-mutation-f6n9ztr4.js} +0 -0
  734. /package/dist/chunks/{app-faypxj3z.js → file-mutation-faypxj3z.js} +0 -0
  735. /package/dist/chunks/{app-fd410y7t.js → file-mutation-fd410y7t.js} +0 -0
  736. /package/dist/chunks/{app-fxgpk5d8.js → file-mutation-fxgpk5d8.js} +0 -0
  737. /package/dist/chunks/{app-g4wezp1m.js → file-mutation-g4wezp1m.js} +0 -0
  738. /package/dist/chunks/{app-g86h250q.js → file-mutation-g86h250q.js} +0 -0
  739. /package/dist/chunks/{app-gebd4c9n.js → file-mutation-gebd4c9n.js} +0 -0
  740. /package/dist/chunks/{app-hk9envan.js → file-mutation-hk9envan.js} +0 -0
  741. /package/dist/chunks/{app-j2ntwpah.js → file-mutation-j2ntwpah.js} +0 -0
  742. /package/dist/chunks/{app-j5zkgpj8.js → file-mutation-j5zkgpj8.js} +0 -0
  743. /package/dist/chunks/{app-jr7sbwjy.js → file-mutation-jr7sbwjy.js} +0 -0
  744. /package/dist/chunks/{app-jwfs4k6c.js → file-mutation-jwfs4k6c.js} +0 -0
  745. /package/dist/chunks/{app-jzg6c2d5.js → file-mutation-jzg6c2d5.js} +0 -0
  746. /package/dist/chunks/{app-mntxs535.js → file-mutation-mntxs535.js} +0 -0
  747. /package/dist/chunks/{app-mp448xyj.js → file-mutation-mp448xyj.js} +0 -0
  748. /package/dist/chunks/{app-msx8hqn2.js → file-mutation-msx8hqn2.js} +0 -0
  749. /package/dist/chunks/{app-n05xt0ee.js → file-mutation-n05xt0ee.js} +0 -0
  750. /package/dist/chunks/{app-n3j8tn72.js → file-mutation-n3j8tn72.js} +0 -0
  751. /package/dist/chunks/{app-njntx4h6.js → file-mutation-njntx4h6.js} +0 -0
  752. /package/dist/chunks/{app-p8qxwesx.js → file-mutation-p8qxwesx.js} +0 -0
  753. /package/dist/chunks/{app-q3sfg36h.js → file-mutation-q3sfg36h.js} +0 -0
  754. /package/dist/chunks/{app-q74kybfr.js → file-mutation-q74kybfr.js} +0 -0
  755. /package/dist/chunks/{app-qaymkmh1.js → file-mutation-qaymkmh1.js} +0 -0
  756. /package/dist/chunks/{app-qb87gjwd.js → file-mutation-qb87gjwd.js} +0 -0
  757. /package/dist/chunks/{app-qfa1cgps.js → file-mutation-qfa1cgps.js} +0 -0
  758. /package/dist/chunks/{app-qrg20bc0.js → file-mutation-qrg20bc0.js} +0 -0
  759. /package/dist/chunks/{app-rcb2kzg1.js → file-mutation-rcb2kzg1.js} +0 -0
  760. /package/dist/chunks/{app-sdp7kfr6.js → file-mutation-sdp7kfr6.js} +0 -0
  761. /package/dist/chunks/{app-se0s1eqw.js → file-mutation-se0s1eqw.js} +0 -0
  762. /package/dist/chunks/{app-sk3qaz4a.js → file-mutation-sk3qaz4a.js} +0 -0
  763. /package/dist/chunks/{app-ssg3fenm.js → file-mutation-ssg3fenm.js} +0 -0
  764. /package/dist/chunks/{app-twg0f83k.js → file-mutation-twg0f83k.js} +0 -0
  765. /package/dist/chunks/{app-w803qqfp.js → file-mutation-w803qqfp.js} +0 -0
  766. /package/dist/chunks/{app-wer8tq1h.js → file-mutation-wer8tq1h.js} +0 -0
  767. /package/dist/chunks/{app-wtztk69x.js → file-mutation-wtztk69x.js} +0 -0
  768. /package/dist/chunks/{app-x0ckcb58.js → file-mutation-x0ckcb58.js} +0 -0
  769. /package/dist/chunks/{app-x1b8g1yb.js → file-mutation-x1b8g1yb.js} +0 -0
  770. /package/dist/chunks/{app-x61499pn.js → file-mutation-x61499pn.js} +0 -0
  771. /package/dist/chunks/{app-y44na4kk.js → file-mutation-y44na4kk.js} +0 -0
  772. /package/dist/chunks/{app-y8cydn3q.js → file-mutation-y8cydn3q.js} +0 -0
  773. /package/dist/chunks/{app-ygaqb7jw.js → file-mutation-ygaqb7jw.js} +0 -0
  774. /package/dist/chunks/{app-z9919s4g.js → file-mutation-z9919s4g.js} +0 -0
  775. /package/dist/chunks/{app-zbjnn3ac.js → file-mutation-zbjnn3ac.js} +0 -0
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  directoryColumn2,
3
3
  pathColumn2
4
- } from "./app-r8dhm0tv.js";
4
+ } from "./file-mutation-r8dhm0tv.js";
5
5
  import {
6
6
  Timestamps2
7
- } from "./app-qfa1cgps.js";
7
+ } from "./file-mutation-qfa1cgps.js";
8
8
  import {
9
9
  ProjectTable2
10
- } from "./app-qvbcabdc.js";
10
+ } from "./file-mutation-qvbcabdc.js";
11
11
 
12
12
  // src/session/sql.ts
13
13
  import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./app-qfa1cgps.js";
3
+ } from "./file-mutation-qfa1cgps.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./app-qvbcabdc.js";
6
+ } from "./file-mutation-qvbcabdc.js";
7
7
 
8
8
  // src/permission/sql.ts
9
9
  import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./app-p8qxwesx.js";
4
- import {
5
- Service80,
6
- node85
7
- } from "./app-3v6hx42c.js";
8
- import {
9
- Service76,
10
- node81
11
- } from "./app-73sszyh7.js";
3
+ } from "./file-mutation-p8qxwesx.js";
12
4
  import {
13
5
  Service79,
14
6
  node84
15
- } from "./app-r64qmg5x.js";
7
+ } from "./file-mutation-cdra1vae.js";
8
+ import {
9
+ Service78,
10
+ node83
11
+ } from "./file-mutation-dsstwbg7.js";
12
+ import {
13
+ Service69,
14
+ node74
15
+ } from "./file-mutation-6dqhqmxd.js";
16
16
  import {
17
- ID18,
17
+ ID12,
18
18
  Current3,
19
- Info32,
19
+ Info26,
20
20
  UpdateInput4,
21
- Event20,
21
+ Event15,
22
22
  Vcs3
23
- } from "./app-tppvcy65.js";
23
+ } from "./file-mutation-hpbtcqba.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./app-qvbcabdc.js";
27
+ } from "./file-mutation-qvbcabdc.js";
28
28
  import {
29
29
  WorktreeTable2
30
- } from "./app-yg7sb877.js";
30
+ } from "./file-mutation-yg7sb877.js";
31
31
  import {
32
32
  __export
33
- } from "./app-9rqn6x4v.js";
33
+ } from "./file-mutation-9rqn6x4v.js";
34
34
 
35
35
  // src/project.ts
36
36
  var exports_project = {};
37
37
  __export(exports_project, {
38
38
  Current: () => Current2,
39
- ID: () => ID17,
40
- Info: () => Info31,
41
- NotFoundError: () => NotFoundError10,
39
+ ID: () => ID11,
40
+ Info: () => Info25,
41
+ NotFoundError: () => NotFoundError9,
42
42
  Project: () => exports_project,
43
- Service: () => Service75,
43
+ Service: () => Service68,
44
44
  UpdateInput: () => UpdateInput3,
45
45
  Vcs: () => Vcs2,
46
- node: () => node80,
46
+ node: () => node73,
47
47
  root: () => root2
48
48
  });
49
49
  import { Context, Effect, Layer, Schema } from "effect";
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode-ai/util/fs-util";
55
55
  import { AppProcess } from "@opencode-ai/util/process";
56
56
  import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
57
57
  import { Hash } from "@opencode-ai/util/hash";
58
- var ID17 = ID18;
58
+ var ID11 = ID12;
59
59
  var Vcs2 = Vcs3;
60
60
  var Current2 = Current3;
61
- var Info31 = Info32;
61
+ var Info25 = Info26;
62
62
  var UpdateInput3 = UpdateInput4;
63
63
 
64
- class NotFoundError10 extends Schema.TaggedError()("Project.NotFoundError", {
65
- projectID: ID17
64
+ class NotFoundError9 extends Schema.TaggedError()("Project.NotFoundError", {
65
+ projectID: ID11
66
66
  }) {
67
67
  }
68
68
  var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
71
71
  }));
72
72
  });
73
73
 
74
- class Service75 extends Context.Service()("@opencode/Project") {
74
+ class Service68 extends Context.Service()("@opencode/Project") {
75
75
  }
76
76
  function fromRow(row) {
77
77
  const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
@@ -94,12 +94,12 @@ function fromRow(row) {
94
94
  sandboxes: row.sandboxes
95
95
  };
96
96
  }
97
- var layer = Layer.effect(Service75, Effect.gen(function* () {
97
+ var layer = Layer.effect(Service68, Effect.gen(function* () {
98
98
  const fs = yield* FSUtil.Service;
99
- const git = yield* Service79;
99
+ const git = yield* Service69;
100
100
  const proc = yield* AppProcess.Service;
101
- const bus = yield* Service76;
102
- const db = (yield* Service80).db;
101
+ const bus = yield* Service78;
102
+ const db = (yield* Service79).db;
103
103
  const announcing = new Set;
104
104
  const persist = Effect.fnUntraced(function* (project) {
105
105
  const previous = yield* db.select({ canonical: ProjectTable2.worktree }).from(ProjectTable2).where(eq(ProjectTable2.id, project.id)).get().pipe(Effect.orDie);
@@ -107,7 +107,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
107
107
  if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
108
108
  const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
109
109
  if (row)
110
- yield* bus.publish(Event20.Updated, fromRow(row));
110
+ yield* bus.publish(Event15.Updated, fromRow(row));
111
111
  }
112
112
  if (!project.vcs)
113
113
  return project;
@@ -144,7 +144,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
144
144
  yield* bus.publish(Worktree.Event.Resolved, {
145
145
  projectID: item.projectID,
146
146
  directory: item.directory,
147
- previous: project.previous ?? ID17.global,
147
+ previous: project.previous ?? ID11.global,
148
148
  ...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
149
149
  }, {
150
150
  commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
@@ -166,13 +166,13 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
166
166
  time_updated: Date.now()
167
167
  }).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
168
168
  if (!row)
169
- return yield* new NotFoundError10({ projectID: input.projectID });
169
+ return yield* new NotFoundError9({ projectID: input.projectID });
170
170
  const project = fromRow(row);
171
- yield* bus.publish(Event20.Updated, project);
171
+ yield* bus.publish(Event15.Updated, project);
172
172
  return project;
173
173
  });
174
174
  const cached = Effect.fnUntraced(function* (dir) {
175
- return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
175
+ return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID11.make(value) : undefined), Effect.orElseSucceed(() => {
176
176
  return;
177
177
  }));
178
178
  });
@@ -183,7 +183,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
183
183
  const normalized = url(origin);
184
184
  if (!normalized)
185
185
  return;
186
- return ID17.make(Hash.fast(`git-remote:${normalized}`));
186
+ return ID11.make(Hash.fast(`git-remote:${normalized}`));
187
187
  });
188
188
  function url(input) {
189
189
  const value = input.trim();
@@ -208,7 +208,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
208
208
  }
209
209
  const rootCommit = Effect.fnUntraced(function* (repo) {
210
210
  const root = (yield* git.history.rootCommits(repo))[0];
211
- return root ? ID17.make(root) : undefined;
211
+ return root ? ID11.make(root) : undefined;
212
212
  });
213
213
  const hgRoot = Effect.fnUntraced(function* (worktree) {
214
214
  const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
@@ -224,7 +224,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
224
224
  return;
225
225
  const node = result.stdout.toString("utf8").split(`
226
226
  `).map((item) => item.trim()).filter(Boolean).toSorted()[0];
227
- return node ? ID17.make(node) : undefined;
227
+ return node ? ID11.make(node) : undefined;
228
228
  });
229
229
  const hgDiscover = Effect.fnUntraced(function* (dotHg) {
230
230
  const worktree = AbsolutePath2.make(path.dirname(dotHg));
@@ -233,7 +233,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
233
233
  const id = previous ?? (yield* hgRoot(worktree));
234
234
  return {
235
235
  previous,
236
- id: id ?? ID17.global,
236
+ id: id ?? ID11.global,
237
237
  directory: worktree,
238
238
  vcs: { type: "hg", store }
239
239
  };
@@ -250,7 +250,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
250
250
  const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
251
251
  return yield* persist({
252
252
  previous,
253
- id: id ?? ID17.global,
253
+ id: id ?? ID11.global,
254
254
  directory: repo.worktree,
255
255
  canonical,
256
256
  vcs: { type: "git", store: repo.commonDirectory }
@@ -264,18 +264,18 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
264
264
  });
265
265
  }
266
266
  return yield* persist({
267
- id: ID17.make(Hash.fast(`directory:${directory}`)),
267
+ id: ID11.make(Hash.fast(`directory:${directory}`)),
268
268
  directory,
269
269
  canonical: directory,
270
270
  vcs: undefined
271
271
  });
272
272
  });
273
- return Service75.of({ list, update, resolve });
273
+ return Service68.of({ list, update, resolve });
274
274
  }));
275
- var node80 = makeGlobalNode({
276
- service: Service75,
275
+ var node73 = makeGlobalNode({
276
+ service: Service68,
277
277
  layer,
278
- deps: [node81, node85, FSUtil.node, node84, AppProcess.node]
278
+ deps: [node83, node84, FSUtil.node, node74, AppProcess.node]
279
279
  });
280
280
 
281
- export { ID17, Vcs2, Current2, Info31, UpdateInput3, NotFoundError10, root2, Service75, node80, exports_project };
281
+ export { ID11, Vcs2, Current2, Info25, UpdateInput3, NotFoundError9, root2, Service68, node73, exports_project };
@@ -1,50 +1,50 @@
1
1
  import {
2
- Service76,
3
- node81
4
- } from "./app-73sszyh7.js";
2
+ Service78,
3
+ node83
4
+ } from "./file-mutation-dsstwbg7.js";
5
5
  import {
6
6
  llmClient2
7
- } from "./app-0e0xafbb.js";
7
+ } from "./file-mutation-0e0xafbb.js";
8
8
  import {
9
9
  SessionEvent2
10
- } from "./app-mntxs535.js";
10
+ } from "./file-mutation-mntxs535.js";
11
11
  import {
12
12
  create3
13
- } from "./app-kg06axw8.js";
13
+ } from "./file-mutation-kg06axw8.js";
14
14
  import {
15
15
  toLLMMessages2
16
- } from "./app-zbjnn3ac.js";
16
+ } from "./file-mutation-zbjnn3ac.js";
17
17
  import {
18
18
  baseTranscript2,
19
19
  unsupportedParts2
20
- } from "./app-92c4reck.js";
20
+ } from "./file-mutation-5c2dffx6.js";
21
21
  import {
22
22
  isRetryable2,
23
23
  policy2
24
- } from "./app-hnyf01b0.js";
24
+ } from "./file-mutation-hnyf01b0.js";
25
25
  import {
26
26
  toSessionError2
27
- } from "./app-s6sc7xsb.js";
27
+ } from "./file-mutation-dek5y14m.js";
28
28
  import {
29
29
  estimate2
30
- } from "./app-h6vf3j39.js";
30
+ } from "./file-mutation-h6vf3j39.js";
31
31
  import {
32
32
  record2,
33
33
  add2
34
- } from "./app-tjykrgmx.js";
34
+ } from "./file-mutation-tjykrgmx.js";
35
35
  import {
36
36
  __export
37
- } from "./app-9rqn6x4v.js";
37
+ } from "./file-mutation-9rqn6x4v.js";
38
38
 
39
39
  // src/session/compaction.ts
40
40
  var exports_compaction2 = {};
41
41
  __export(exports_compaction2, {
42
- Service: () => Service9,
42
+ Service: () => Service8,
43
43
  SessionCompaction: () => exports_compaction2,
44
44
  buildPrompt: () => buildPrompt2,
45
45
  estimateTokens: () => estimateTokens2,
46
46
  layer: () => layer6,
47
- node: () => node12,
47
+ node: () => node11,
48
48
  serializeToolContent: () => serializeToolContent2,
49
49
  truncateToolOutput: () => truncateToolOutput2
50
50
  });
@@ -108,7 +108,7 @@ var SUMMARY_RULES = `Rules:
108
108
  var SUMMARY_HEADINGS = SUMMARY_TEMPLATE.split(`
109
109
  `).filter((line) => line.startsWith("##"));
110
110
 
111
- class Service9 extends Context.Service()("@opencode/SessionCompaction") {
111
+ class Service8 extends Context.Service()("@opencode/SessionCompaction") {
112
112
  }
113
113
  var estimateTokens2 = (input) => {
114
114
  const index = input.messages.findLastIndex((message) => message.type === "assistant" && !message.error && message.tokens !== undefined && message.tokens.input + message.tokens.cache.read + message.tokens.cache.write > 0);
@@ -262,8 +262,8 @@ var buildPrompt2 = (update) => {
262
262
  };
263
263
  var hasSummarySection = (summary) => summary.split(`
264
264
  `).some((line) => SUMMARY_HEADINGS.includes(line.trim()));
265
- var layer6 = Layer.effect(Service9, Effect.gen(function* () {
266
- const bus = yield* Service76;
265
+ var layer6 = Layer.effect(Service8, Effect.gen(function* () {
266
+ const bus = yield* Service78;
267
267
  const llm = yield* LLMClient.Service;
268
268
  const state = create3({
269
269
  name: "session-compaction",
@@ -479,7 +479,7 @@ var layer6 = Layer.effect(Service9, Effect.gen(function* () {
479
479
  })
480
480
  }));
481
481
  });
482
- return Service9.of({
482
+ return Service8.of({
483
483
  transform: state.transform,
484
484
  reload: state.reload,
485
485
  enabled: () => state.get().auto,
@@ -488,10 +488,10 @@ var layer6 = Layer.effect(Service9, Effect.gen(function* () {
488
488
  compactManual
489
489
  });
490
490
  }));
491
- var node12 = makeLocationNode({
492
- service: Service9,
491
+ var node11 = makeLocationNode({
492
+ service: Service8,
493
493
  layer: layer6,
494
- deps: [node81, llmClient2]
494
+ deps: [node83, llmClient2]
495
495
  });
496
496
 
497
- export { Service9, estimateTokens2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer6, node12, exports_compaction2 };
497
+ export { Service8, estimateTokens2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer6, node11, exports_compaction2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./app-9rqn6x4v.js";
3
+ } from "./file-mutation-9rqn6x4v.js";
4
4
 
5
5
  // src/file-retention.ts
6
6
  var exports_file_retention = {};
@@ -1,11 +1,11 @@
1
1
  import {
2
- ID10,
3
- Service57
4
- } from "./app-w39xyyj8.js";
2
+ ID13,
3
+ Service73
4
+ } from "./file-mutation-2c009s0k.js";
5
5
  import {
6
6
  isAISDK2,
7
7
  packageName2
8
- } from "./app-6qb1jm5z.js";
8
+ } from "./file-mutation-64z8z5x5.js";
9
9
 
10
10
  // src/plugin/provider/llmgateway.ts
11
11
  import { Effect } from "effect";
@@ -13,7 +13,7 @@ import { define } from "@opencode-ai/plugin/effect/plugin";
13
13
  var LLMGatewayPlugin2 = define({
14
14
  id: "opencode.provider.llmgateway",
15
15
  effect: Effect.fn(function* (ctx) {
16
- const integrations = yield* Service57;
16
+ const integrations = yield* Service73;
17
17
  const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
18
18
  yield* ctx.catalog.transform((evt) => {
19
19
  for (const item of evt.provider.list()) {
@@ -25,7 +25,7 @@ var LLMGatewayPlugin2 = define({
25
25
  continue;
26
26
  if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
27
27
  continue;
28
- if (!configured.has(ID10.make(item.provider.id)))
28
+ if (!configured.has(ID13.make(item.provider.id)))
29
29
  continue;
30
30
  evt.provider.update(item.provider.id, (provider) => {
31
31
  provider.headers = {
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./app-p8qxwesx.js";
3
+ } from "./file-mutation-p8qxwesx.js";
4
4
  import {
5
- Info6,
6
- ID3,
5
+ Info7,
6
+ ID4,
7
7
  Name2
8
- } from "./app-28dgmzze.js";
8
+ } from "./file-mutation-vjwmbaty.js";
9
9
  import {
10
- Service62
11
- } from "./app-qp4easfw.js";
10
+ Service56
11
+ } from "./file-mutation-0vyk9fdn.js";
12
12
  import {
13
13
  __export
14
- } from "./app-9rqn6x4v.js";
14
+ } from "./file-mutation-9rqn6x4v.js";
15
15
 
16
16
  // src/plugin/skill.ts
17
17
  var exports_skill3 = {};
18
18
  __export(exports_skill3, {
19
19
  OpencodeContent: () => OpencodeContent2,
20
20
  OpencodeDescription: () => OpencodeDescription2,
21
- Plugin: () => Plugin38,
21
+ Plugin: () => Plugin34,
22
22
  ReportContent: () => ReportContent2,
23
23
  SkillPlugin: () => exports_skill3
24
24
  });
@@ -422,20 +422,20 @@ var OpencodeContent2 = opencode_default;
422
422
  var ReportContent2 = report_default;
423
423
  var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
424
424
  var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
425
- var Plugin38 = define({
425
+ var Plugin34 = define({
426
426
  id: "opencode.skill",
427
427
  effect: Effect.fn(function* (ctx) {
428
428
  const reportContent = yield* reportContentWithDiagnostics(ctx.app);
429
429
  yield* ctx.skill.transform((editor) => {
430
- editor.add(Info6.make({
431
- id: ID3.make("opencode"),
430
+ editor.add(Info7.make({
431
+ id: ID4.make("opencode"),
432
432
  name: Name2.make("OpenCode"),
433
433
  description: OpencodeDescription2,
434
434
  location: AbsolutePath2.make("/builtin/opencode.md"),
435
435
  content: OpencodeContent2
436
436
  }));
437
- editor.add(Info6.make({
438
- id: ID3.make("report"),
437
+ editor.add(Info7.make({
438
+ id: ID4.make("report"),
439
439
  name: Name2.make("Report"),
440
440
  description: REPORT_DESCRIPTION,
441
441
  slash: true,
@@ -464,7 +464,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
464
464
  `);
465
465
  });
466
466
  var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
467
- const config = yield* Service62;
467
+ const config = yield* Service56;
468
468
  return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
469
469
  });
470
470
  function terminal() {
@@ -478,4 +478,4 @@ function shell() {
478
478
  return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
479
479
  }
480
480
 
481
- export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin38, exports_skill3 };
481
+ export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin34, exports_skill3 };
@@ -2,20 +2,20 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./app-p8qxwesx.js";
5
+ } from "./file-mutation-p8qxwesx.js";
6
6
  import {
7
- Service72,
8
- node76
9
- } from "./app-1ayxneq2.js";
7
+ Service64,
8
+ node67
9
+ } from "./file-mutation-7bh11fvr.js";
10
10
  import {
11
- Content3
12
- } from "./app-qg8529j6.js";
11
+ Content2
12
+ } from "./file-mutation-17yyz20s.js";
13
13
  import {
14
14
  detect2
15
- } from "./app-3smtnn6g.js";
15
+ } from "./file-mutation-3smtnn6g.js";
16
16
  import {
17
17
  __export
18
- } from "./app-9rqn6x4v.js";
18
+ } from "./file-mutation-9rqn6x4v.js";
19
19
 
20
20
  // src/tool/read-filesystem.ts
21
21
  var exports_read_filesystem = {};
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
33
33
  PageInput: () => PageInput2,
34
34
  PathKindError: () => PathKindError2,
35
35
  ReadToolFileSystem: () => exports_read_filesystem,
36
- Service: () => Service5,
36
+ Service: () => Service10,
37
37
  TextPage: () => TextPage2,
38
- node: () => node8,
38
+ node: () => node13,
39
39
  read: () => read2
40
40
  });
41
41
  import path from "path";
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
89
89
  });
90
90
  var FileContent2 = Schema.Struct({
91
91
  type: Schema.Literal("file"),
92
- ...Content3.fields
92
+ ...Content2.fields
93
93
  }).annotate({ identifier: "ReadTool.FileContent" });
94
94
 
95
95
  class TextPage2 extends Schema.Class("ReadTool.TextPage")({
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
114
114
  }) {
115
115
  }
116
116
 
117
- class Service5 extends Context.Service()("@opencode/ReadToolFileSystem") {
117
+ class Service10 extends Context.Service()("@opencode/ReadToolFileSystem") {
118
118
  }
119
119
  var mimeType = (value) => lookup(value) || "application/octet-stream";
120
120
  var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
@@ -326,13 +326,13 @@ var nthNewline = (bytes, count) => {
326
326
  return index + 1;
327
327
  }
328
328
  };
329
- var layer = Layer.effect(Service5, Effect.gen(function* () {
330
- const environment = yield* Service72;
331
- return Service5.of({
329
+ var layer = Layer.effect(Service10, Effect.gen(function* () {
330
+ const environment = yield* Service64;
331
+ return Service10.of({
332
332
  list: environment.files.list,
333
333
  read: (path2, resource, page) => read2(environment.files, path2, resource, page)
334
334
  });
335
335
  }));
336
- var node8 = makeLocationNode({ service: Service5, layer, deps: [node76] });
336
+ var node13 = makeLocationNode({ service: Service10, layer, deps: [node67] });
337
337
 
338
- export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service5, read2, node8, exports_read_filesystem };
338
+ export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service10, read2, node13, exports_read_filesystem };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./app-9rqn6x4v.js";
3
+ } from "./file-mutation-9rqn6x4v.js";
4
4
 
5
5
  // src/util/token.ts
6
6
  var exports_token = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./app-se0s1eqw.js";
3
+ } from "./file-mutation-se0s1eqw.js";
4
4
 
5
5
  // src/plugin/provider/perplexity.ts
6
6
  var PerplexityPlugin2 = createProviderPlugin2({
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./app-jwcy2c2z.js";
3
+ } from "./file-mutation-jwcy2c2z.js";
4
4
  import {
5
5
  __export
6
- } from "./app-9rqn6x4v.js";
6
+ } from "./file-mutation-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/update.ts
9
9
  var exports_update = {};
10
10
  __export(exports_update, {
11
11
  PluginUpdate: () => exports_update,
12
- Service: () => Service11,
13
- node: () => node14
12
+ Service: () => Service6,
13
+ node: () => node9
14
14
  });
15
15
  import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
16
16
  import { Npm } from "@opencode-ai/util/npm";
17
17
  import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
18
18
  var interval = 24 * 60 * 60 * 1000;
19
19
 
20
- class Service11 extends Context.Service()("@opencode/PluginUpdate") {
20
+ class Service6 extends Context.Service()("@opencode/PluginUpdate") {
21
21
  }
22
- var layer = Layer.effect(Service11, Effect.gen(function* () {
22
+ var layer = Layer.effect(Service6, Effect.gen(function* () {
23
23
  const npm = yield* Npm.Service;
24
24
  const locks = makeUnsafe2();
25
25
  const status = new Map;
26
26
  const changes = yield* PubSub.unbounded();
27
- return Service11.of({
27
+ return Service6.of({
28
28
  check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
29
29
  const checkedAt = yield* Clock.currentTimeMillis;
30
30
  const current = status.get(target);
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service11, Effect.gen(function* () {
49
49
  changes: () => Stream.fromPubSub(changes)
50
50
  });
51
51
  }));
52
- var node14 = makeGlobalNode({ service: Service11, layer, deps: [Npm.node] });
52
+ var node9 = makeGlobalNode({ service: Service6, layer, deps: [Npm.node] });
53
53
 
54
- export { Service11, node14, exports_update };
54
+ export { Service6, node9, exports_update };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./app-6qb1jm5z.js";
4
+ } from "./file-mutation-64z8z5x5.js";
5
5
 
6
6
  // src/plugin/provider/anthropic.ts
7
7
  import { Effect } from "effect";
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./app-p8qxwesx.js";
3
+ } from "./file-mutation-p8qxwesx.js";
4
4
  import {
5
5
  __export
6
- } from "./app-9rqn6x4v.js";
6
+ } from "./file-mutation-9rqn6x4v.js";
7
7
 
8
8
  // src/worktree/directory.ts
9
9
  var exports_directory = {};
10
10
  __export(exports_directory, {
11
11
  DirectoryUnavailableError: () => DirectoryUnavailableError2,
12
12
  WorktreeDirectory: () => exports_directory,
13
- canonical: () => canonical3
13
+ canonical: () => canonical2
14
14
  });
15
15
  import { Effect, Schema } from "effect";
16
16
  class DirectoryUnavailableError2 extends Schema.TaggedError()("Worktree.DirectoryUnavailableError", { directory: AbsolutePath2 }) {
17
17
  }
18
- var canonical3 = Effect.fnUntraced(function* (fs, input) {
18
+ var canonical2 = Effect.fnUntraced(function* (fs, input) {
19
19
  const resolved = AbsolutePath2.make(yield* fs.resolve(input));
20
20
  if (!(yield* fs.isDir(resolved)))
21
21
  return yield* new DirectoryUnavailableError2({ directory: input });
22
22
  return resolved;
23
23
  });
24
24
 
25
- export { DirectoryUnavailableError2, canonical3, exports_directory };
25
+ export { DirectoryUnavailableError2, canonical2, exports_directory };