@opencode-ai/core 0.0.0-beta-19157 → 0.0.0-beta-19187

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 (777) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  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/{wellknown-wctfcgtb.js → snapshot-020j3mp2.js} +6 -6
  9. package/dist/chunks/{wellknown-w8hr26yt.js → snapshot-024d3rq7.js} +16 -16
  10. package/dist/chunks/{wellknown-0e0xafbb.js → snapshot-0e0xafbb.js} +2 -2
  11. package/dist/chunks/{wellknown-0paq2nw3.js → snapshot-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{wellknown-0s9ayhjt.js → snapshot-0s9ayhjt.js} +1 -1
  13. package/dist/chunks/{wellknown-mfmy0k16.js → snapshot-1372cpk1.js} +8 -8
  14. package/dist/chunks/{wellknown-a4bdw771.js → snapshot-15m9k394.js} +25 -25
  15. package/dist/chunks/{wellknown-yw9364ag.js → snapshot-16r38w9g.js} +4 -4
  16. package/dist/chunks/{wellknown-sx1n432n.js → snapshot-1a6p2twq.js} +4 -4
  17. package/dist/chunks/{wellknown-dapwfvd2.js → snapshot-1apakymg.js} +41 -41
  18. package/dist/chunks/{wellknown-xnxegkmr.js → snapshot-1c8x35y2.js} +52 -52
  19. package/dist/chunks/{wellknown-1ct4r87x.js → snapshot-1ct4r87x.js} +1 -1
  20. package/dist/chunks/{wellknown-8s80arjs.js → snapshot-1e7rwcw0.js} +12 -12
  21. package/dist/chunks/{wellknown-6ba29tk2.js → snapshot-1hj0ecw2.js} +22 -22
  22. package/dist/chunks/{wellknown-5zc2x0sb.js → snapshot-1hy241bm.js} +3 -3
  23. package/dist/chunks/{wellknown-m5045k8y.js → snapshot-1n116cmy.js} +9 -9
  24. package/dist/chunks/{wellknown-c7s9k239.js → snapshot-1p8bnmch.js} +4 -4
  25. package/dist/chunks/{wellknown-h5xdhsym.js → snapshot-1rm0drdm.js} +4 -2
  26. package/dist/chunks/{wellknown-2j3d2w2t.js → snapshot-1tbefb4e.js} +13 -13
  27. package/dist/chunks/{wellknown-n95nq84g.js → snapshot-1ydgq2r4.js} +5 -5
  28. package/dist/chunks/{wellknown-na7k47ng.js → snapshot-21kgjbv4.js} +8 -8
  29. package/dist/chunks/{wellknown-21r38tys.js → snapshot-21r38tys.js} +1 -1
  30. package/dist/chunks/{wellknown-0krgqetd.js → snapshot-23dqznfd.js} +46 -46
  31. package/dist/chunks/{wellknown-g94f0f01.js → snapshot-23vtnxct.js} +18 -18
  32. package/dist/chunks/{wellknown-ba723ajb.js → snapshot-24hkfxm1.js} +8 -8
  33. package/dist/chunks/{wellknown-2a5m3afh.js → snapshot-2a5m3afh.js} +1 -1
  34. package/dist/chunks/{wellknown-2d57kztd.js → snapshot-2d57kztd.js} +1 -1
  35. package/dist/chunks/{wellknown-2ht70gj7.js → snapshot-2ht70gj7.js} +1 -1
  36. package/dist/chunks/{wellknown-jxc8y161.js → snapshot-2j3vet75.js} +31 -30
  37. package/dist/chunks/{wellknown-gbmaq3ra.js → snapshot-2m3ere56.js} +46 -46
  38. package/dist/chunks/{wellknown-3n69mpxt.js → snapshot-2n9af97f.js} +4 -4
  39. package/dist/chunks/{wellknown-6ta01fq9.js → snapshot-2w6bfmvf.js} +1 -1
  40. package/dist/chunks/{wellknown-c2j3fvxb.js → snapshot-30gfay9h.js} +16 -16
  41. package/dist/chunks/{wellknown-hhfqndnr.js → snapshot-38dpc6qc.js} +24 -24
  42. package/dist/chunks/{wellknown-kbndngdv.js → snapshot-3ew6g826.js} +23 -23
  43. package/dist/chunks/{wellknown-bfdnm1te.js → snapshot-3f2705k6.js} +9 -9
  44. package/dist/chunks/{wellknown-3fc6dm20.js → snapshot-3fc6dm20.js} +1 -1
  45. package/dist/chunks/{wellknown-3hepkmqq.js → snapshot-3hepkmqq.js} +1 -1
  46. package/dist/chunks/{wellknown-3qzbfqsy.js → snapshot-3qzbfqsy.js} +2 -2
  47. package/dist/chunks/{wellknown-3smtnn6g.js → snapshot-3smtnn6g.js} +1 -1
  48. package/dist/chunks/{wellknown-q7805caa.js → snapshot-3szn5xn9.js} +4 -4
  49. package/dist/chunks/{wellknown-3tvqynh2.js → snapshot-3tvqynh2.js} +1 -1
  50. package/dist/chunks/{wellknown-nmdpg4hr.js → snapshot-40t5htn2.js} +30 -30
  51. package/dist/chunks/{wellknown-41mncz27.js → snapshot-41mncz27.js} +2 -2
  52. package/dist/chunks/{wellknown-454k5vzh.js → snapshot-454k5vzh.js} +1 -1
  53. package/dist/chunks/{wellknown-g5wgwrzw.js → snapshot-4c61nftm.js} +2 -2
  54. package/dist/chunks/{wellknown-kjm195mv.js → snapshot-4d2pz62c.js} +20 -20
  55. package/dist/chunks/{wellknown-zmye7hbx.js → snapshot-4gc90xj1.js} +20 -20
  56. package/dist/chunks/{wellknown-4r2nyarf.js → snapshot-4r2nyarf.js} +1 -1
  57. package/dist/chunks/{wellknown-jfvmqd5d.js → snapshot-4vch2zdd.js} +11 -11
  58. package/dist/chunks/{wellknown-mhyp03ce.js → snapshot-55snk687.js} +8 -8
  59. package/dist/chunks/{wellknown-7wp9r7ba.js → snapshot-5725naen.js} +32 -32
  60. package/dist/chunks/{wellknown-5daktx2q.js → snapshot-5daktx2q.js} +1 -1
  61. package/dist/chunks/{wellknown-5fmxt4p5.js → snapshot-5fmxt4p5.js} +1 -1
  62. package/dist/chunks/{wellknown-187zhppa.js → snapshot-5gkgjc9e.js} +10 -10
  63. package/dist/chunks/{wellknown-z9d8dnaf.js → snapshot-5hk7d8ve.js} +9 -9
  64. package/dist/chunks/{wellknown-5jvc5tg2.js → snapshot-5jvc5tg2.js} +1 -1
  65. package/dist/chunks/{wellknown-m1c4gy78.js → snapshot-5pbfg4es.js} +33 -33
  66. package/dist/chunks/{wellknown-4br8j3xe.js → snapshot-5s5s3mdf.js} +38 -38
  67. package/dist/chunks/{wellknown-3n75mgw6.js → snapshot-5vbsxe1b.js} +19 -19
  68. package/dist/chunks/{wellknown-j3pby61b.js → snapshot-67dbm4zp.js} +4 -4
  69. package/dist/chunks/{wellknown-avahfm6t.js → snapshot-6ggr1646.js} +26 -26
  70. package/dist/chunks/{wellknown-2402vzrj.js → snapshot-6h73sxmp.js} +5 -5
  71. package/dist/chunks/{wellknown-wz4fbqay.js → snapshot-6m616b53.js} +34 -34
  72. package/dist/chunks/{wellknown-n149779n.js → snapshot-6wsw2by1.js} +16 -16
  73. package/dist/chunks/{wellknown-jbzwckha.js → snapshot-6y030jv9.js} +22 -22
  74. package/dist/chunks/{wellknown-6abnk40k.js → snapshot-6z5bwd8g.js} +9 -9
  75. package/dist/chunks/{wellknown-3e5q22gm.js → snapshot-703t54qh.js} +28 -28
  76. package/dist/chunks/{wellknown-711hfp6y.js → snapshot-711hfp6y.js} +2 -2
  77. package/dist/chunks/{wellknown-72nftnjy.js → snapshot-72nftnjy.js} +2 -2
  78. package/dist/chunks/{wellknown-28pcbh69.js → snapshot-75yf2d83.js} +8 -8
  79. package/dist/chunks/{wellknown-0n6t9trj.js → snapshot-768z0hjh.js} +1 -1
  80. package/dist/chunks/{wellknown-7bmhse3q.js → snapshot-7bmhse3q.js} +1 -1
  81. package/dist/chunks/{wellknown-rszzns79.js → snapshot-7re8x0er.js} +24 -24
  82. package/dist/chunks/{wellknown-bth0hr76.js → snapshot-7ts527p8.js} +23 -23
  83. package/dist/chunks/snapshot-7wsg6hf8.js +247 -0
  84. package/dist/chunks/{wellknown-kademwqx.js → snapshot-880d1yvd.js} +11 -11
  85. package/dist/chunks/{wellknown-r8w8bq91.js → snapshot-8cwz8zkd.js} +26 -26
  86. package/dist/chunks/{wellknown-9e966tng.js → snapshot-8cxqnk20.js} +27 -27
  87. package/dist/chunks/{wellknown-vhg4wxph.js → snapshot-8n7pcwmv.js} +28 -28
  88. package/dist/chunks/{wellknown-dmwgd9rj.js → snapshot-8rfm27zh.js} +11 -11
  89. package/dist/chunks/{wellknown-93wzm26s.js → snapshot-8z5rgnjd.js} +8 -8
  90. package/dist/chunks/{wellknown-rsvs0vjg.js → snapshot-909grfy1.js} +11 -11
  91. package/dist/chunks/{wellknown-r6cgjeqn.js → snapshot-91ze4v0n.js} +10 -10
  92. package/dist/chunks/{wellknown-y2cqme3r.js → snapshot-93a8yfjt.js} +5 -5
  93. package/dist/chunks/{wellknown-adysj9cr.js → snapshot-96yjb8st.js} +13 -13
  94. package/dist/chunks/{wellknown-q1md1zjj.js → snapshot-988pjtx7.js} +7 -7
  95. package/dist/chunks/{wellknown-n52mxx0b.js → snapshot-9cm69fc1.js} +24 -24
  96. package/dist/chunks/{wellknown-ry16e5g7.js → snapshot-9kbsf2gn.js} +11 -11
  97. package/dist/chunks/{wellknown-9qm9egsn.js → snapshot-9qm9egsn.js} +2 -2
  98. package/dist/chunks/{wellknown-37ct2frz.js → snapshot-9vsg5cp7.js} +2 -2
  99. package/dist/chunks/{wellknown-7thqmzsc.js → snapshot-a16zj9be.js} +80 -80
  100. package/dist/chunks/{wellknown-pxc9rw6c.js → snapshot-a1earc5n.js} +39 -39
  101. package/dist/chunks/{wellknown-aaet6srn.js → snapshot-aaet6srn.js} +2 -2
  102. package/dist/chunks/{wellknown-t2az9yje.js → snapshot-ag4rn41e.js} +4 -4
  103. package/dist/chunks/{wellknown-rae26gbb.js → snapshot-ajphwd6y.js} +8 -8
  104. package/dist/chunks/{wellknown-ajtjthsy.js → snapshot-ajtjthsy.js} +2 -2
  105. package/dist/chunks/{wellknown-aaf6tv83.js → snapshot-ar56ndp2.js} +4 -4
  106. package/dist/chunks/{wellknown-jenf2w30.js → snapshot-arf90xej.js} +23 -23
  107. package/dist/chunks/{wellknown-y55kwzvm.js → snapshot-avc0zheg.js} +8 -8
  108. package/dist/chunks/{wellknown-3g2y1byn.js → snapshot-awqyf91x.js} +5 -5
  109. package/dist/chunks/{wellknown-6jdg21kp.js → snapshot-b3n2eqtx.js} +45 -36
  110. package/dist/chunks/{wellknown-2jqmte8w.js → snapshot-b3vyfvjr.js} +43 -12
  111. package/dist/chunks/{wellknown-sba2xw4p.js → snapshot-b4dzx2gd.js} +11 -11
  112. package/dist/chunks/{wellknown-b6gygkdw.js → snapshot-b6gygkdw.js} +2 -2
  113. package/dist/chunks/{wellknown-b9wsbatv.js → snapshot-b9wsbatv.js} +1 -1
  114. package/dist/chunks/{wellknown-hnyf01b0.js → snapshot-bcezcar3.js} +5 -5
  115. package/dist/chunks/{wellknown-hnpt5b9g.js → snapshot-bgn4bef1.js} +36 -36
  116. package/dist/chunks/{wellknown-03z534ys.js → snapshot-bgw31bhk.js} +9 -9
  117. package/dist/chunks/{wellknown-mt6mcg2h.js → snapshot-bpnz08mb.js} +2 -2
  118. package/dist/chunks/{wellknown-rhwwv70e.js → snapshot-c92n51tt.js} +11 -11
  119. package/dist/chunks/{wellknown-987p19s4.js → snapshot-cb49kykp.js} +13 -13
  120. package/dist/chunks/{wellknown-sxrpqsmr.js → snapshot-cfgww4x1.js} +9 -9
  121. package/dist/chunks/{wellknown-r7t96r8n.js → snapshot-cjr8pdvn.js} +39 -39
  122. package/dist/chunks/{wellknown-917dq7d6.js → snapshot-d1a1bt21.js} +5 -5
  123. package/dist/chunks/{wellknown-e9z9h9yy.js → snapshot-d6n0x6yy.js} +14 -14
  124. package/dist/chunks/{wellknown-d72308c8.js → snapshot-d72308c8.js} +2 -2
  125. package/dist/chunks/{wellknown-z3njjm07.js → snapshot-d7z6y9ja.js} +21 -21
  126. package/dist/chunks/{wellknown-5d17xbav.js → snapshot-d9wzmzc3.js} +5 -5
  127. package/dist/chunks/{wellknown-jk4n7dck.js → snapshot-dcxt3b0h.js} +11 -11
  128. package/dist/chunks/{wellknown-6w9g96bv.js → snapshot-dext7g0m.js} +24 -24
  129. package/dist/chunks/{wellknown-jwcy2c2z.js → snapshot-dpkg50ah.js} +4 -4
  130. package/dist/chunks/snapshot-dxj72tfx.js +18 -0
  131. package/dist/chunks/{wellknown-9wt3tsrn.js → snapshot-e0h0gh3e.js} +28 -28
  132. package/dist/chunks/{wellknown-174menj9.js → snapshot-e81fpqd0.js} +28 -28
  133. package/dist/chunks/{wellknown-23ym420b.js → snapshot-en9d43be.js} +31 -31
  134. package/dist/chunks/snapshot-enw72f67.js +20 -0
  135. package/dist/chunks/{wellknown-frb89zj9.js → snapshot-etzd0975.js} +15 -15
  136. package/dist/chunks/{wellknown-q961dm7m.js → snapshot-f0zn10rw.js} +161 -161
  137. package/dist/chunks/{wellknown-kcz3kyzp.js → snapshot-f52kkt2b.js} +23 -23
  138. package/dist/chunks/{wellknown-vy9axbw1.js → snapshot-fc9k9wz0.js} +17 -17
  139. package/dist/chunks/{wellknown-2k8khapm.js → snapshot-fcrkznn8.js} +5 -5
  140. package/dist/chunks/{wellknown-ny9q6q4v.js → snapshot-fnvew4yj.js} +20 -20
  141. package/dist/chunks/{wellknown-fxbjtjnd.js → snapshot-fxbjtjnd.js} +1 -1
  142. package/dist/chunks/{wellknown-fxypknc8.js → snapshot-fxypknc8.js} +1 -1
  143. package/dist/chunks/{wellknown-hwhktdy4.js → snapshot-g8e0epaw.js} +24 -24
  144. package/dist/chunks/{wellknown-fkwg44rt.js → snapshot-g9wx1hct.js} +15 -15
  145. package/dist/chunks/{wellknown-nykyeqwq.js → snapshot-gafyc7gz.js} +7 -7
  146. package/dist/chunks/{wellknown-mp00anfa.js → snapshot-ganjyh73.js} +6 -6
  147. package/dist/chunks/{wellknown-gd4qta3r.js → snapshot-gd4qta3r.js} +1 -1
  148. package/dist/chunks/{wellknown-1a0y61fc.js → snapshot-gfym1ca3.js} +11 -11
  149. package/dist/chunks/{wellknown-ycfbty71.js → snapshot-gmj1gppr.js} +12 -12
  150. package/dist/chunks/{wellknown-sr0zn850.js → snapshot-gndhbexs.js} +7 -7
  151. package/dist/chunks/{wellknown-rfq7xs4d.js → snapshot-gxc000b8.js} +9 -9
  152. package/dist/chunks/{wellknown-4afpmjwz.js → snapshot-gya8cf0v.js} +48 -42
  153. package/dist/chunks/{wellknown-qw8c6yqg.js → snapshot-h5vhzp21.js} +35 -35
  154. package/dist/chunks/{wellknown-h6vf3j39.js → snapshot-h6vf3j39.js} +1 -1
  155. package/dist/chunks/{wellknown-q0xzcr7f.js → snapshot-h8xjeven.js} +295 -295
  156. package/dist/chunks/{wellknown-nhjpgrh4.js → snapshot-haknmdce.js} +20 -20
  157. package/dist/chunks/{wellknown-gw5qc7da.js → snapshot-hcfyj39r.js} +13 -13
  158. package/dist/chunks/{wellknown-heyhwy2w.js → snapshot-heyhwy2w.js} +1 -1
  159. package/dist/chunks/{wellknown-w5a8z9r2.js → snapshot-hf8ns2dd.js} +4 -4
  160. package/dist/chunks/{wellknown-qbzb1j1c.js → snapshot-hg6q2aep.js} +11 -11
  161. package/dist/chunks/{wellknown-v50e20c6.js → snapshot-hh1d3sxx.js} +32 -32
  162. package/dist/chunks/{wellknown-xkxektkz.js → snapshot-hkfxbmge.js} +21 -21
  163. package/dist/chunks/{wellknown-hrvm11jt.js → snapshot-hrvm11jt.js} +3 -3
  164. package/dist/chunks/{wellknown-j8fxhnqh.js → snapshot-ht2crakh.js} +22 -22
  165. package/dist/chunks/{wellknown-yqzjyyxs.js → snapshot-hvey9wt0.js} +21 -21
  166. package/dist/chunks/{wellknown-hw4pv20g.js → snapshot-hw4pv20g.js} +2 -2
  167. package/dist/chunks/{wellknown-pgt0fkwt.js → snapshot-hwvag5jb.js} +15 -15
  168. package/dist/chunks/{wellknown-vk9s0zr3.js → snapshot-hzhsscf8.js} +23 -23
  169. package/dist/chunks/{wellknown-k2kb66cj.js → snapshot-hzymbmey.js} +3 -3
  170. package/dist/chunks/snapshot-j1vjmznv.js +22 -0
  171. package/dist/chunks/{wellknown-ngabqghr.js → snapshot-j58zjd36.js} +17 -17
  172. package/dist/chunks/{wellknown-tmfnh1q5.js → snapshot-jd3azxa6.js} +82 -82
  173. package/dist/chunks/{wellknown-8a3y5q1n.js → snapshot-jdk5bzr4.js} +30 -30
  174. package/dist/chunks/{wellknown-cmdp56dw.js → snapshot-jnmmvqjs.js} +1 -1
  175. package/dist/chunks/{wellknown-bwm9kjcw.js → snapshot-jsrm0jes.js} +47 -47
  176. package/dist/chunks/{wellknown-hcx11q7e.js → snapshot-jxzd6v7d.js} +44 -44
  177. package/dist/chunks/{wellknown-s3rbnf14.js → snapshot-k2r69zh9.js} +14 -14
  178. package/dist/chunks/{wellknown-k4bwy1x5.js → snapshot-k4bwy1x5.js} +1 -1
  179. package/dist/chunks/{wellknown-041mrh4x.js → snapshot-ka43tmws.js} +21 -21
  180. package/dist/chunks/{wellknown-2w4chj1g.js → snapshot-ka5snxjp.js} +4 -4
  181. package/dist/chunks/{wellknown-99m4pprq.js → snapshot-kahjggx0.js} +10 -10
  182. package/dist/chunks/{wellknown-smy8j9tb.js → snapshot-kfs2vgth.js} +17 -17
  183. package/dist/chunks/{wellknown-kg06axw8.js → snapshot-kg06axw8.js} +1 -1
  184. package/dist/chunks/{wellknown-76xf8n6j.js → snapshot-kk60f5rs.js} +4 -4
  185. package/dist/chunks/{wellknown-d2x6rcjx.js → snapshot-kp5z882f.js} +12 -12
  186. package/dist/chunks/{wellknown-xtmm7gkk.js → snapshot-kvqvfjxg.js} +10 -10
  187. package/dist/chunks/{wellknown-8r5whp28.js → snapshot-kx5cpq08.js} +4 -4
  188. package/dist/chunks/{wellknown-s06xe5v4.js → snapshot-m2j9w2q8.js} +13 -13
  189. package/dist/chunks/{wellknown-m9w0rfyh.js → snapshot-m9w0rfyh.js} +1 -1
  190. package/dist/chunks/{wellknown-mvfsc1pv.js → snapshot-mhkvc446.js} +3 -3
  191. package/dist/chunks/{wellknown-jbhh2rmh.js → snapshot-mkeycc06.js} +11 -11
  192. package/dist/chunks/{wellknown-a4cbam25.js → snapshot-mp5abn5e.js} +20 -20
  193. package/dist/chunks/{wellknown-bmr4rzrd.js → snapshot-mq9r6drf.js} +3 -3
  194. package/dist/chunks/{wellknown-888k7gfv.js → snapshot-mycvpxn8.js} +10 -10
  195. package/dist/chunks/{wellknown-mafkkaev.js → snapshot-n6wnzfnt.js} +6 -6
  196. package/dist/chunks/{wellknown-t1d80fqj.js → snapshot-nexs1z18.js} +6 -6
  197. package/dist/chunks/{wellknown-x545et0z.js → snapshot-nmycpjj8.js} +3 -3
  198. package/dist/chunks/{wellknown-024e4rjz.js → snapshot-p6yzb5ay.js} +7 -7
  199. package/dist/chunks/{wellknown-wa6q3vex.js → snapshot-p81w81mb.js} +54 -54
  200. package/dist/chunks/{wellknown-nn46x40y.js → snapshot-p8tabr57.js} +3 -3
  201. package/dist/chunks/{wellknown-sfyg8jca.js → snapshot-pa6mt9gp.js} +17 -17
  202. package/dist/chunks/{wellknown-njfaq3nk.js → snapshot-pan7s928.js} +28 -28
  203. package/dist/chunks/{wellknown-j935v87r.js → snapshot-paphc93g.js} +2 -2
  204. package/dist/chunks/{wellknown-p7eywz5b.js → snapshot-pawcwqnj.js} +22 -22
  205. package/dist/chunks/{wellknown-n2dzf7ax.js → snapshot-pdv7zmmj.js} +11 -11
  206. package/dist/chunks/{wellknown-pjvnvgmy.js → snapshot-pjvnvgmy.js} +1 -1
  207. package/dist/chunks/{wellknown-pknna89w.js → snapshot-pknna89w.js} +1 -1
  208. package/dist/chunks/{wellknown-9ttajpzr.js → snapshot-pp0xeafz.js} +18 -18
  209. package/dist/chunks/{wellknown-zf2mdqhr.js → snapshot-pqy10p6r.js} +10 -10
  210. package/dist/chunks/{wellknown-yk5chycy.js → snapshot-pt7wq7x0.js} +1 -1
  211. package/dist/chunks/{wellknown-nz7wfeq1.js → snapshot-q8vzjd10.js} +37 -37
  212. package/dist/chunks/{wellknown-3z627vwq.js → snapshot-qqk5wyw8.js} +9 -9
  213. package/dist/chunks/{wellknown-96tsfsen.js → snapshot-qs4avvkb.js} +1 -1
  214. package/dist/chunks/{wellknown-qsdy395h.js → snapshot-qsdy395h.js} +1 -1
  215. package/dist/chunks/{wellknown-tph2mkjf.js → snapshot-qw2p7f7e.js} +7 -7
  216. package/dist/chunks/{wellknown-4a5fwm7b.js → snapshot-qyahze0k.js} +16 -16
  217. package/dist/chunks/{wellknown-rhbe1v15.js → snapshot-r2aw8hfz.js} +18 -18
  218. package/dist/chunks/{wellknown-2kj0pn7y.js → snapshot-r38jmka9.js} +14 -14
  219. package/dist/chunks/{wellknown-rz31k017.js → snapshot-r5w2ssxe.js} +9 -9
  220. package/dist/chunks/{wellknown-r8dhm0tv.js → snapshot-r8dhm0tv.js} +1 -1
  221. package/dist/chunks/{wellknown-v5dkyp31.js → snapshot-ratrq7cm.js} +4 -4
  222. package/dist/chunks/{wellknown-46v7nc60.js → snapshot-re6cjhs8.js} +14 -14
  223. package/dist/chunks/{wellknown-pmnt38wb.js → snapshot-rnzmhn3n.js} +14 -14
  224. package/dist/chunks/{wellknown-nga86p6q.js → snapshot-rvb2zp0m.js} +6 -6
  225. package/dist/chunks/{wellknown-663b6dh9.js → snapshot-rwszmxta.js} +7 -7
  226. package/dist/chunks/{wellknown-qm8ev4wm.js → snapshot-rxez074z.js} +8 -8
  227. package/dist/chunks/{wellknown-g585tkj2.js → snapshot-rz7hn0qq.js} +4 -4
  228. package/dist/chunks/{wellknown-q9792xnb.js → snapshot-rzbakfyr.js} +1 -1
  229. package/dist/chunks/{wellknown-gqy8qs28.js → snapshot-s3f6t33f.js} +11 -11
  230. package/dist/chunks/{wellknown-sba4qhjf.js → snapshot-sba4qhjf.js} +1 -1
  231. package/dist/chunks/{wellknown-dk9a5vne.js → snapshot-skd000tr.js} +5 -5
  232. package/dist/chunks/{wellknown-gb89bdhv.js → snapshot-swmjfjpy.js} +15 -15
  233. package/dist/chunks/{wellknown-98rh1jc3.js → snapshot-t3ba3m2z.js} +11 -11
  234. package/dist/chunks/{wellknown-7nh4ntd5.js → snapshot-t50egam6.js} +14 -14
  235. package/dist/chunks/{wellknown-qqvjzcxr.js → snapshot-t840r6y8.js} +29 -29
  236. package/dist/chunks/{wellknown-tazgh4e4.js → snapshot-tazgh4e4.js} +1 -1
  237. package/dist/chunks/{wellknown-tcezcvh9.js → snapshot-tcezcvh9.js} +1 -1
  238. package/dist/chunks/{wellknown-h0ehx5mk.js → snapshot-te6rn4e4.js} +11 -11
  239. package/dist/chunks/{wellknown-6jcrhkhg.js → snapshot-thf49529.js} +14 -14
  240. package/dist/chunks/{wellknown-tjykrgmx.js → snapshot-tjykrgmx.js} +1 -1
  241. package/dist/chunks/{wellknown-0nk2sz5z.js → snapshot-tnbsa9ys.js} +23 -23
  242. package/dist/chunks/{wellknown-tppvcy65.js → snapshot-tppvcy65.js} +2 -2
  243. package/dist/chunks/{wellknown-rtm4n6fb.js → snapshot-tt4wv3c1.js} +3 -3
  244. package/dist/chunks/{wellknown-nqmxhx1w.js → snapshot-txc69p28.js} +27 -27
  245. package/dist/chunks/{wellknown-66y1b5dw.js → snapshot-veapvh03.js} +9 -9
  246. package/dist/chunks/{wellknown-djtdz80w.js → snapshot-vep9yay1.js} +4 -4
  247. package/dist/chunks/{wellknown-h7shmymb.js → snapshot-vky4d6kn.js} +15 -15
  248. package/dist/chunks/{wellknown-39sgaahe.js → snapshot-vprecwf5.js} +27 -27
  249. package/dist/chunks/{wellknown-920cr0mh.js → snapshot-w10c8kxq.js} +18 -18
  250. package/dist/chunks/{wellknown-w3wsvvr9.js → snapshot-w3wsvvr9.js} +1 -1
  251. package/dist/chunks/{wellknown-pgnp76q4.js → snapshot-wcwzqypc.js} +22 -22
  252. package/dist/chunks/{wellknown-wd87259q.js → snapshot-wd87259q.js} +1 -1
  253. package/dist/chunks/{wellknown-mjzbwbtj.js → snapshot-wn4t0eg6.js} +32 -32
  254. package/dist/chunks/{wellknown-apn8f15b.js → snapshot-wnmqtqbz.js} +4 -4
  255. package/dist/chunks/{wellknown-pedw5n3n.js → snapshot-wqnpacsy.js} +66 -66
  256. package/dist/chunks/{wellknown-hha4zry8.js → snapshot-wtm3m4mv.js} +4 -4
  257. package/dist/chunks/{wellknown-49hz62j1.js → snapshot-wzs3fvsw.js} +22 -22
  258. package/dist/chunks/{wellknown-x1ezjp6w.js → snapshot-x1ezjp6w.js} +1 -1
  259. package/dist/chunks/{wellknown-3d43f50e.js → snapshot-xgm6gat2.js} +6 -6
  260. package/dist/chunks/{wellknown-hhvbpypa.js → snapshot-xyz60e6p.js} +13 -13
  261. package/dist/chunks/{wellknown-pwnnz8en.js → snapshot-xzpf9br7.js} +39 -39
  262. package/dist/chunks/{wellknown-barxnhzp.js → snapshot-y08fmh3j.js} +4 -4
  263. package/dist/chunks/{wellknown-y1fvbwt7.js → snapshot-y1fvbwt7.js} +1 -1
  264. package/dist/chunks/snapshot-y86ghdgz.js +51 -0
  265. package/dist/chunks/{wellknown-bskj9zs2.js → snapshot-ycv9gdpt.js} +9 -9
  266. package/dist/chunks/{wellknown-raycc6w1.js → snapshot-ydp0xqxw.js} +3 -3
  267. package/dist/chunks/{wellknown-yanbnw58.js → snapshot-yenvjmh1.js} +10 -10
  268. package/dist/chunks/{wellknown-kk3rr3qh.js → snapshot-yfbd16n1.js} +5 -5
  269. package/dist/chunks/{wellknown-vj82my2s.js → snapshot-yj3e99fm.js} +1 -1
  270. package/dist/chunks/{wellknown-qxe975hr.js → snapshot-ymaccxa6.js} +15 -15
  271. package/dist/chunks/{wellknown-67gs2z40.js → snapshot-z1ggamk1.js} +15 -15
  272. package/dist/chunks/{wellknown-z1k01bn4.js → snapshot-z1k01bn4.js} +2 -2
  273. package/dist/chunks/{wellknown-75ws2xfr.js → snapshot-z5f26pen.js} +7 -7
  274. package/dist/chunks/{wellknown-z63w68vq.js → snapshot-z63w68vq.js} +2 -2
  275. package/dist/chunks/{wellknown-4hh0p0ng.js → snapshot-zajwd6at.js} +5 -5
  276. package/dist/chunks/{wellknown-zywh7q6e.js → snapshot-zazfhf2t.js} +29 -29
  277. package/dist/chunks/{wellknown-0z4qk8xt.js → snapshot-zdagzmws.js} +4 -4
  278. package/dist/chunks/{wellknown-1zjgdmhv.js → snapshot-zejwj74g.js} +16 -16
  279. package/dist/chunks/{wellknown-ceqnmb02.js → snapshot-zh1vshbg.js} +5 -5
  280. package/dist/chunks/{wellknown-tz1mz783.js → snapshot-zhn53cwh.js} +29 -29
  281. package/dist/chunks/{wellknown-rhp4699a.js → snapshot-zsa9p6rj.js} +7 -7
  282. package/dist/chunks/{wellknown-wbvq8g8t.js → snapshot-zvz3f5e8.js} +13 -13
  283. package/dist/chunks/{wellknown-zxq2ej10.js → snapshot-zxq2ej10.js} +1 -1
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +9 -9
  286. package/dist/codemode/tool.js +2 -2
  287. package/dist/command.js +79 -79
  288. package/dist/config/discovery.js +77 -77
  289. package/dist/config/markdown.js +1 -1
  290. package/dist/config/normalize.js +19 -19
  291. package/dist/config/plugin/agent.js +116 -116
  292. package/dist/config/plugin/command.js +207 -207
  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 +116 -116
  299. package/dist/config/plugin/mcp.js +125 -125
  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 +132 -132
  306. package/dist/config/plugin/snapshot.js +114 -114
  307. package/dist/config/plugin/source.js +116 -116
  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 +118 -118
  314. package/dist/credential/sql.js +2 -2
  315. package/dist/credential.js +82 -82
  316. package/dist/database/database.js +64 -64
  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 +74 -74
  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 +3 -3
  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 +220 -220
  414. package/dist/filesystem/protected.js +1 -1
  415. package/dist/filesystem/search.js +99 -99
  416. package/dist/filesystem/watcher-binding.js +3 -3
  417. package/dist/filesystem/watcher.js +15 -15
  418. package/dist/filesystem.js +96 -96
  419. package/dist/form.js +84 -84
  420. package/dist/formatter/builtins.js +4 -4
  421. package/dist/formatter.js +82 -82
  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 +3 -3
  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 +5 -5
  451. package/dist/integration/connection.js +1 -1
  452. package/dist/integration.js +85 -85
  453. package/dist/job.js +75 -75
  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 +77 -77
  458. package/dist/location-service-map.js +83 -83
  459. package/dist/location-services.js +346 -346
  460. package/dist/location.js +76 -76
  461. package/dist/mcp/client.js +86 -86
  462. package/dist/mcp/index.js +100 -100
  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 +3 -3
  468. package/dist/model-resolver.js +83 -83
  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 +98 -98
  481. package/dist/plugin/command.js +95 -95
  482. package/dist/plugin/hooks.js +5 -5
  483. package/dist/plugin/host.js +213 -213
  484. package/dist/plugin/instance.js +5 -5
  485. package/dist/plugin/internal.js +320 -320
  486. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  487. package/dist/plugin/models-dev.js +75 -75
  488. package/dist/plugin/module.js +7 -4
  489. package/dist/plugin/optimize.js +21 -0
  490. package/dist/plugin/plan.js +96 -96
  491. package/dist/plugin/promise.js +1 -1
  492. package/dist/plugin/provider/alibaba.js +2 -2
  493. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  494. package/dist/plugin/provider/anthropic.js +2 -2
  495. package/dist/plugin/provider/azure.js +117 -117
  496. package/dist/plugin/provider/cerebras.js +2 -2
  497. package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
  498. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  499. package/dist/plugin/provider/cohere.js +2 -2
  500. package/dist/plugin/provider/configured.js +113 -113
  501. package/dist/plugin/provider/dynamic.js +2 -2
  502. package/dist/plugin/provider/factory.js +1 -1
  503. package/dist/plugin/provider/gateway.js +2 -2
  504. package/dist/plugin/provider/github-copilot.js +79 -79
  505. package/dist/plugin/provider/gitlab.js +3 -3
  506. package/dist/plugin/provider/google-vertex.js +2 -2
  507. package/dist/plugin/provider/kilo.js +2 -2
  508. package/dist/plugin/provider/llmgateway.js +75 -75
  509. package/dist/plugin/provider/lmstudio.js +114 -114
  510. package/dist/plugin/provider/mistral.js +2 -2
  511. package/dist/plugin/provider/modal.js +78 -78
  512. package/dist/plugin/provider/nvidia.js +2 -2
  513. package/dist/plugin/provider/ollama.js +116 -116
  514. package/dist/plugin/provider/openai-compatible.js +1 -1
  515. package/dist/plugin/provider/openai.js +79 -79
  516. package/dist/plugin/provider/opencode.js +75 -75
  517. package/dist/plugin/provider/openrouter.js +3 -3
  518. package/dist/plugin/provider/perplexity.js +2 -2
  519. package/dist/plugin/provider/sap-ai-core.js +3 -3
  520. package/dist/plugin/provider/sdk-factory.js +1 -1
  521. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  522. package/dist/plugin/provider/venice.js +2 -2
  523. package/dist/plugin/provider/vercel.js +2 -2
  524. package/dist/plugin/provider/vllm.js +116 -116
  525. package/dist/plugin/provider/xai.js +76 -76
  526. package/dist/plugin/provider/zenmux.js +2 -2
  527. package/dist/plugin/provider.js +154 -154
  528. package/dist/plugin/sdk.js +74 -74
  529. package/dist/plugin/service.js +5 -5
  530. package/dist/plugin/skill.js +131 -131
  531. package/dist/plugin/source-directory.js +1 -1
  532. package/dist/plugin/supervisor.js +337 -337
  533. package/dist/plugin/update.js +6 -6
  534. package/dist/plugin/variant.js +4 -4
  535. package/dist/plugin/vcs/git.js +82 -82
  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 +6 -6
  542. package/dist/plugin/websearch/parallel.js +8 -8
  543. package/dist/plugin/websearch/tavily.js +6 -6
  544. package/dist/plugin.js +218 -218
  545. package/dist/project/schema.js +2 -2
  546. package/dist/project/sql.js +4 -4
  547. package/dist/project.js +75 -75
  548. package/dist/provider.js +5 -5
  549. package/dist/pty/protocol.js +1 -1
  550. package/dist/pty/schema.js +1 -1
  551. package/dist/pty/ticket.js +1 -1
  552. package/dist/pty.js +88 -88
  553. package/dist/reference/instructions.js +84 -84
  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 +216 -216
  568. package/dist/session/execution.js +120 -120
  569. package/dist/session/generate.js +144 -144
  570. package/dist/session/history.js +14 -14
  571. package/dist/session/inbox.js +86 -86
  572. package/dist/session/info.js +3 -3
  573. package/dist/session/instruction-entry.js +77 -77
  574. package/dist/session/instruction-state.js +8 -8
  575. package/dist/session/instructions.js +91 -91
  576. package/dist/session/message-updater.js +4 -4
  577. package/dist/session/message.js +1 -1
  578. package/dist/session/model-request.js +112 -112
  579. package/dist/session/model-transport.js +9 -9
  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 +223 -223
  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 +4 -4
  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 +71 -71
  599. package/dist/session/store.js +82 -82
  600. package/dist/session/subagent-completion.js +1 -1
  601. package/dist/session/subagent-job.js +203 -203
  602. package/dist/session/system-prompt.js +5 -5
  603. package/dist/session/title.js +147 -147
  604. package/dist/session/to-session-error.js +105 -105
  605. package/dist/session/transfer.js +210 -210
  606. package/dist/session/usage.js +1 -1
  607. package/dist/session.js +209 -209
  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 +11 -11
  612. package/dist/shell.js +132 -132
  613. package/dist/skill/discovery.js +6 -6
  614. package/dist/skill/instructions.js +99 -99
  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 +117 -117
  624. package/dist/tool/plugin/grep.js +113 -113
  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 +210 -210
  630. package/dist/tool/plugin/skill.js +107 -107
  631. package/dist/tool/plugin/subagent.js +210 -210
  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 +11 -11
  639. package/dist/types/plugin/module.d.ts +36 -34
  640. package/dist/types/plugin/{system-prompt.d.ts → optimize.d.ts} +3 -1
  641. package/dist/util/error.js +1 -1
  642. package/dist/util/iife.js +1 -1
  643. package/dist/util/lazy.js +1 -1
  644. package/dist/util/slug.js +1 -1
  645. package/dist/util/token.js +1 -1
  646. package/dist/util/which.js +1 -1
  647. package/dist/util/wildcard.js +1 -1
  648. package/dist/v1/config/agent.js +5 -5
  649. package/dist/v1/config/attachment.js +4 -4
  650. package/dist/v1/config/command.js +3 -3
  651. package/dist/v1/config/config.js +16 -16
  652. package/dist/v1/config/error.js +2 -2
  653. package/dist/v1/config/formatter.js +3 -3
  654. package/dist/v1/config/layout.js +1 -1
  655. package/dist/v1/config/lsp.js +1 -1
  656. package/dist/v1/config/mcp.js +4 -4
  657. package/dist/v1/config/migrate.js +4 -4
  658. package/dist/v1/config/permission.js +3 -3
  659. package/dist/v1/config/plugin.js +3 -3
  660. package/dist/v1/config/provider-options.js +1 -1
  661. package/dist/v1/config/provider.js +2 -2
  662. package/dist/v1/config/server.js +2 -2
  663. package/dist/v1/config/skills.js +3 -3
  664. package/dist/v1/permission.js +1 -1
  665. package/dist/vcs/patch.js +1 -1
  666. package/dist/vcs.js +85 -85
  667. package/dist/websearch.js +78 -78
  668. package/dist/wellknown/plugin.js +74 -74
  669. package/dist/wellknown.js +75 -75
  670. package/dist/workspace/driver.js +3 -3
  671. package/dist/workspace/sql.js +1 -1
  672. package/dist/workspace.js +76 -76
  673. package/dist/worktree/directory.js +4 -4
  674. package/dist/worktree/git.js +7 -7
  675. package/dist/worktree/refresh.js +338 -338
  676. package/dist/worktree/sql.js +5 -5
  677. package/dist/worktree.js +89 -89
  678. package/package.json +7 -9
  679. package/dist/chunks/wellknown-5310qyg9.js +0 -18
  680. package/dist/chunks/wellknown-5hannepb.js +0 -103
  681. package/dist/chunks/wellknown-bxw8fhk8.js +0 -247
  682. package/dist/chunks/wellknown-kpe4sfyz.js +0 -20
  683. package/dist/chunks/wellknown-te378a9x.js +0 -22
  684. package/dist/plugin/system-prompt.js +0 -17
  685. /package/dist/chunks/{wellknown-0fabt78z.js → snapshot-0fabt78z.js} +0 -0
  686. /package/dist/chunks/{wellknown-0qkdqm5v.js → snapshot-0qkdqm5v.js} +0 -0
  687. /package/dist/chunks/{wellknown-0zkw76rk.js → snapshot-0zkw76rk.js} +0 -0
  688. /package/dist/chunks/{wellknown-17cy0kzp.js → snapshot-17cy0kzp.js} +0 -0
  689. /package/dist/chunks/{wellknown-1cnp2v09.js → snapshot-1cnp2v09.js} +0 -0
  690. /package/dist/chunks/{wellknown-1kg9ymc8.js → snapshot-1kg9ymc8.js} +0 -0
  691. /package/dist/chunks/{wellknown-2710q6r3.js → snapshot-2710q6r3.js} +0 -0
  692. /package/dist/chunks/{wellknown-2axfhc9x.js → snapshot-2axfhc9x.js} +0 -0
  693. /package/dist/chunks/{wellknown-2c3vjs8z.js → snapshot-2c3vjs8z.js} +0 -0
  694. /package/dist/chunks/{wellknown-359p4xyc.js → snapshot-359p4xyc.js} +0 -0
  695. /package/dist/chunks/{wellknown-3asan66x.js → snapshot-3asan66x.js} +0 -0
  696. /package/dist/chunks/{wellknown-3t738kvx.js → snapshot-3t738kvx.js} +0 -0
  697. /package/dist/chunks/{wellknown-3v8g72cx.js → snapshot-3v8g72cx.js} +0 -0
  698. /package/dist/chunks/{wellknown-3wcehsnq.js → snapshot-3wcehsnq.js} +0 -0
  699. /package/dist/chunks/{wellknown-41nvscxy.js → snapshot-41nvscxy.js} +0 -0
  700. /package/dist/chunks/{wellknown-43n2bw4t.js → snapshot-43n2bw4t.js} +0 -0
  701. /package/dist/chunks/{wellknown-4knz6hnm.js → snapshot-4knz6hnm.js} +0 -0
  702. /package/dist/chunks/{wellknown-4y7fprxs.js → snapshot-4y7fprxs.js} +0 -0
  703. /package/dist/chunks/{wellknown-53557ph1.js → snapshot-53557ph1.js} +0 -0
  704. /package/dist/chunks/{wellknown-550bvhaj.js → snapshot-550bvhaj.js} +0 -0
  705. /package/dist/chunks/{wellknown-6prwharc.js → snapshot-6prwharc.js} +0 -0
  706. /package/dist/chunks/{wellknown-7akdwqpd.js → snapshot-7akdwqpd.js} +0 -0
  707. /package/dist/chunks/{wellknown-7m9af43g.js → snapshot-7m9af43g.js} +0 -0
  708. /package/dist/chunks/{wellknown-7zk4hah4.js → snapshot-7zk4hah4.js} +0 -0
  709. /package/dist/chunks/{wellknown-822emrt2.js → snapshot-822emrt2.js} +0 -0
  710. /package/dist/chunks/{wellknown-88xbtdfr.js → snapshot-88xbtdfr.js} +0 -0
  711. /package/dist/chunks/{wellknown-8n3pysct.js → snapshot-8n3pysct.js} +0 -0
  712. /package/dist/chunks/{wellknown-982e01ww.js → snapshot-982e01ww.js} +0 -0
  713. /package/dist/chunks/{wellknown-9a4afbnw.js → snapshot-9a4afbnw.js} +0 -0
  714. /package/dist/chunks/{wellknown-9rqn6x4v.js → snapshot-9rqn6x4v.js} +0 -0
  715. /package/dist/chunks/{wellknown-a1tpkmh4.js → snapshot-a1tpkmh4.js} +0 -0
  716. /package/dist/chunks/{wellknown-af5trqkr.js → snapshot-af5trqkr.js} +0 -0
  717. /package/dist/chunks/{wellknown-afrmfg78.js → snapshot-afrmfg78.js} +0 -0
  718. /package/dist/chunks/{wellknown-aqzs7mqg.js → snapshot-aqzs7mqg.js} +0 -0
  719. /package/dist/chunks/{wellknown-atq7p7m5.js → snapshot-atq7p7m5.js} +0 -0
  720. /package/dist/chunks/{wellknown-bkyjaxrp.js → snapshot-bkyjaxrp.js} +0 -0
  721. /package/dist/chunks/{wellknown-bmr6ed5q.js → snapshot-bmr6ed5q.js} +0 -0
  722. /package/dist/chunks/{wellknown-cf4snx6d.js → snapshot-cf4snx6d.js} +0 -0
  723. /package/dist/chunks/{wellknown-cvy3z8tj.js → snapshot-cvy3z8tj.js} +0 -0
  724. /package/dist/chunks/{wellknown-d9fn303g.js → snapshot-d9fn303g.js} +0 -0
  725. /package/dist/chunks/{wellknown-d9jj8t3e.js → snapshot-d9jj8t3e.js} +0 -0
  726. /package/dist/chunks/{wellknown-dajrwvna.js → snapshot-dajrwvna.js} +0 -0
  727. /package/dist/chunks/{wellknown-dap0rakb.js → snapshot-dap0rakb.js} +0 -0
  728. /package/dist/chunks/{wellknown-df08tz66.js → snapshot-df08tz66.js} +0 -0
  729. /package/dist/chunks/{wellknown-dy18nga0.js → snapshot-dy18nga0.js} +0 -0
  730. /package/dist/chunks/{wellknown-e5kj55wp.js → snapshot-e5kj55wp.js} +0 -0
  731. /package/dist/chunks/{wellknown-e73j6tqm.js → snapshot-e73j6tqm.js} +0 -0
  732. /package/dist/chunks/{wellknown-eh3zwz77.js → snapshot-eh3zwz77.js} +0 -0
  733. /package/dist/chunks/{wellknown-emrn6kk6.js → snapshot-emrn6kk6.js} +0 -0
  734. /package/dist/chunks/{wellknown-f0mxakyp.js → snapshot-f0mxakyp.js} +0 -0
  735. /package/dist/chunks/{wellknown-f6n9ztr4.js → snapshot-f6n9ztr4.js} +0 -0
  736. /package/dist/chunks/{wellknown-faypxj3z.js → snapshot-faypxj3z.js} +0 -0
  737. /package/dist/chunks/{wellknown-fd410y7t.js → snapshot-fd410y7t.js} +0 -0
  738. /package/dist/chunks/{wellknown-fxgpk5d8.js → snapshot-fxgpk5d8.js} +0 -0
  739. /package/dist/chunks/{wellknown-g4wezp1m.js → snapshot-g4wezp1m.js} +0 -0
  740. /package/dist/chunks/{wellknown-g86h250q.js → snapshot-g86h250q.js} +0 -0
  741. /package/dist/chunks/{wellknown-gebd4c9n.js → snapshot-gebd4c9n.js} +0 -0
  742. /package/dist/chunks/{wellknown-hk9envan.js → snapshot-hk9envan.js} +0 -0
  743. /package/dist/chunks/{wellknown-j2ntwpah.js → snapshot-j2ntwpah.js} +0 -0
  744. /package/dist/chunks/{wellknown-j5zkgpj8.js → snapshot-j5zkgpj8.js} +0 -0
  745. /package/dist/chunks/{wellknown-jr7sbwjy.js → snapshot-jr7sbwjy.js} +0 -0
  746. /package/dist/chunks/{wellknown-jwfs4k6c.js → snapshot-jwfs4k6c.js} +0 -0
  747. /package/dist/chunks/{wellknown-jzg6c2d5.js → snapshot-jzg6c2d5.js} +0 -0
  748. /package/dist/chunks/{wellknown-mntxs535.js → snapshot-mntxs535.js} +0 -0
  749. /package/dist/chunks/{wellknown-mp448xyj.js → snapshot-mp448xyj.js} +0 -0
  750. /package/dist/chunks/{wellknown-msx8hqn2.js → snapshot-msx8hqn2.js} +0 -0
  751. /package/dist/chunks/{wellknown-n05xt0ee.js → snapshot-n05xt0ee.js} +0 -0
  752. /package/dist/chunks/{wellknown-n3j8tn72.js → snapshot-n3j8tn72.js} +0 -0
  753. /package/dist/chunks/{wellknown-njntx4h6.js → snapshot-njntx4h6.js} +0 -0
  754. /package/dist/chunks/{wellknown-p8qxwesx.js → snapshot-p8qxwesx.js} +0 -0
  755. /package/dist/chunks/{wellknown-q3sfg36h.js → snapshot-q3sfg36h.js} +0 -0
  756. /package/dist/chunks/{wellknown-q74kybfr.js → snapshot-q74kybfr.js} +0 -0
  757. /package/dist/chunks/{wellknown-qaymkmh1.js → snapshot-qaymkmh1.js} +0 -0
  758. /package/dist/chunks/{wellknown-qb87gjwd.js → snapshot-qb87gjwd.js} +0 -0
  759. /package/dist/chunks/{wellknown-qfa1cgps.js → snapshot-qfa1cgps.js} +0 -0
  760. /package/dist/chunks/{wellknown-qrg20bc0.js → snapshot-qrg20bc0.js} +0 -0
  761. /package/dist/chunks/{wellknown-rcb2kzg1.js → snapshot-rcb2kzg1.js} +0 -0
  762. /package/dist/chunks/{wellknown-sdp7kfr6.js → snapshot-sdp7kfr6.js} +0 -0
  763. /package/dist/chunks/{wellknown-se0s1eqw.js → snapshot-se0s1eqw.js} +0 -0
  764. /package/dist/chunks/{wellknown-sk3qaz4a.js → snapshot-sk3qaz4a.js} +0 -0
  765. /package/dist/chunks/{wellknown-ssg3fenm.js → snapshot-ssg3fenm.js} +0 -0
  766. /package/dist/chunks/{wellknown-twg0f83k.js → snapshot-twg0f83k.js} +0 -0
  767. /package/dist/chunks/{wellknown-w803qqfp.js → snapshot-w803qqfp.js} +0 -0
  768. /package/dist/chunks/{wellknown-wer8tq1h.js → snapshot-wer8tq1h.js} +0 -0
  769. /package/dist/chunks/{wellknown-wtztk69x.js → snapshot-wtztk69x.js} +0 -0
  770. /package/dist/chunks/{wellknown-x0ckcb58.js → snapshot-x0ckcb58.js} +0 -0
  771. /package/dist/chunks/{wellknown-x1b8g1yb.js → snapshot-x1b8g1yb.js} +0 -0
  772. /package/dist/chunks/{wellknown-x61499pn.js → snapshot-x61499pn.js} +0 -0
  773. /package/dist/chunks/{wellknown-y44na4kk.js → snapshot-y44na4kk.js} +0 -0
  774. /package/dist/chunks/{wellknown-y8cydn3q.js → snapshot-y8cydn3q.js} +0 -0
  775. /package/dist/chunks/{wellknown-ygaqb7jw.js → snapshot-ygaqb7jw.js} +0 -0
  776. /package/dist/chunks/{wellknown-z9919s4g.js → snapshot-z9919s4g.js} +0 -0
  777. /package/dist/chunks/{wellknown-zbjnn3ac.js → snapshot-zbjnn3ac.js} +0 -0
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./wellknown-p8qxwesx.js";
4
+ } from "./snapshot-p8qxwesx.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service78,
9
- node83
10
- } from "./wellknown-888k7gfv.js";
8
+ Service79,
9
+ node84
10
+ } from "./snapshot-mycvpxn8.js";
11
11
  import {
12
12
  Service76,
13
13
  node81
14
- } from "./wellknown-37ct2frz.js";
14
+ } from "./snapshot-9vsg5cp7.js";
15
15
  import {
16
16
  create3
17
- } from "./wellknown-kg06axw8.js";
17
+ } from "./snapshot-kg06axw8.js";
18
18
  import {
19
19
  __export
20
- } from "./wellknown-9rqn6x4v.js";
20
+ } from "./snapshot-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error2,
26
- ID: () => ID6,
27
- Service: () => Service49,
25
+ Error: () => Error4,
26
+ ID: () => ID10,
27
+ Service: () => Service64,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node52,
29
+ node: () => node68,
30
30
  noopLayer: () => noopLayer3
31
31
  });
32
32
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
@@ -34,20 +34,20 @@ import path from "path";
34
34
  import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode-ai/util/fs-util";
36
36
  import { Global } from "@opencode-ai/util/global";
37
- import { ID as ID6 } from "@opencode-ai/schema/snapshot";
37
+ import { ID as ID10 } from "@opencode-ai/schema/snapshot";
38
38
  import { Hash } from "@opencode-ai/util/hash";
39
- class Error2 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error4 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service49 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service64 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service49, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service64, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service78;
50
+ const git = yield* Service79;
51
51
  const global = yield* Global.Service;
52
52
  const location = yield* Service76;
53
53
  const lifetime = yield* Scope.Scope;
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error2({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error4({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  const relative = path.relative(worktree, location.directory);
75
75
  if (relative.startsWith("..") || path.isAbsolute(relative))
76
- return yield* new Error2({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error4({ operation: "capture", message: "Location is outside the project" });
77
77
  return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
78
78
  });
79
79
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
82
82
  return;
83
83
  return yield* Effect.gen(function* () {
84
84
  const repo = yield* repository;
85
- return ID6.make(yield* git.tree.capture({
85
+ return ID10.make(yield* git.tree.capture({
86
86
  repository: repo.snapshotRepository,
87
87
  scopes: [yield* scope(repo.worktree)],
88
88
  ignores: repo.source,
@@ -122,25 +122,25 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
122
122
  for (const [file, snapshot] of input.files) {
123
123
  const absolute = path.resolve(worktree, file);
124
124
  if (!FSUtil.contains(worktree, absolute))
125
- return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
125
+ return yield* new Error4({ operation: "restore", message: `Path escapes the project: ${file}` });
126
126
  files.set(file, TreeID2.make(snapshot));
127
127
  }
128
128
  return files;
129
129
  });
130
130
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
131
131
  if (!enabled())
132
- return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
132
+ return yield* new Error4({ operation: "restore", message: "Snapshots are disabled" });
133
133
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
134
134
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
135
135
  });
136
- return Service49.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
136
+ return Service64.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
137
137
  }).pipe(Effect.withSpan("Snapshot.boot")));
138
- var node52 = makeLocationNode({
139
- service: Service49,
138
+ var node68 = makeLocationNode({
139
+ service: Service64,
140
140
  layer,
141
- deps: [FSUtil.node, node83, Global.node, node81]
141
+ deps: [FSUtil.node, node84, Global.node, node81]
142
142
  });
143
- var noopLayer3 = Layer.succeed(Service49, Service49.of({
143
+ var noopLayer3 = Layer.succeed(Service64, Service64.of({
144
144
  transform: () => Effect.succeed({ dispose: Effect.void }),
145
145
  reload: () => Effect.void,
146
146
  capture: () => Effect.undefined,
@@ -149,13 +149,13 @@ var noopLayer3 = Layer.succeed(Service49, Service49.of({
149
149
  restore: () => Effect.void
150
150
  }));
151
151
  function failure(operation, cause) {
152
- if (cause instanceof Error2 && cause.operation === operation)
152
+ if (cause instanceof Error4 && cause.operation === operation)
153
153
  return cause;
154
- return new Error2({
154
+ return new Error4({
155
155
  operation,
156
156
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
157
157
  cause
158
158
  });
159
159
  }
160
160
 
161
- export { ID6, Error2, Service49, node52, noopLayer3, exports_snapshot2 };
161
+ export { ID10, Error4, Service64, node68, noopLayer3, exports_snapshot2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./wellknown-9rqn6x4v.js";
3
+ } from "./snapshot-9rqn6x4v.js";
4
4
 
5
5
  // src/vcs/patch.ts
6
6
  var exports_patch2 = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./wellknown-9rqn6x4v.js";
3
+ } from "./snapshot-9rqn6x4v.js";
4
4
 
5
5
  // src/filesystem/protected.ts
6
6
  var exports_protected = {};
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service46
3
- } from "./wellknown-dapwfvd2.js";
2
+ Service60
3
+ } from "./snapshot-1apakymg.js";
4
4
  import {
5
- Service61
6
- } from "./wellknown-3z627vwq.js";
5
+ Service49
6
+ } from "./snapshot-qqk5wyw8.js";
7
7
  import {
8
8
  observe2
9
- } from "./wellknown-qsdy395h.js";
9
+ } from "./snapshot-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./wellknown-9rqn6x4v.js";
12
+ } from "./snapshot-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/image.ts
15
15
  var exports_image = {};
16
16
  __export(exports_image, {
17
17
  ConfigImagePlugin: () => exports_image,
18
- Plugin: () => Plugin27
18
+ Plugin: () => Plugin28
19
19
  });
20
20
  import { define } from "@opencode-ai/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin27 = define({
22
+ var Plugin28 = define({
23
23
  id: "opencode.config.image",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service46;
26
- const image = yield* Service61;
25
+ const config = yield* Service60;
26
+ const image = yield* Service49;
27
27
  const loaded = yield* observe2(config, ctx.event, image.reload());
28
28
  yield* image.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -43,4 +43,4 @@ var Plugin27 = define({
43
43
  })
44
44
  });
45
45
 
46
- export { Plugin27, exports_image };
46
+ export { Plugin28, exports_image };
@@ -1,22 +1,22 @@
1
1
  import {
2
- Service79
3
- } from "./wellknown-ycfbty71.js";
2
+ Service78
3
+ } from "./snapshot-gmj1gppr.js";
4
4
  import {
5
5
  Service76
6
- } from "./wellknown-37ct2frz.js";
6
+ } from "./snapshot-9vsg5cp7.js";
7
7
  import {
8
8
  PromptsChanged2,
9
- Service39
10
- } from "./wellknown-bwm9kjcw.js";
9
+ Service41
10
+ } from "./snapshot-jsrm0jes.js";
11
11
  import {
12
12
  __export
13
- } from "./wellknown-9rqn6x4v.js";
13
+ } from "./snapshot-9rqn6x4v.js";
14
14
 
15
15
  // src/plugin/command.ts
16
- var exports_command2 = {};
17
- __export(exports_command2, {
18
- CommandPlugin: () => exports_command2,
19
- Plugin: () => Plugin38
16
+ var exports_command = {};
17
+ __export(exports_command, {
18
+ CommandPlugin: () => exports_command,
19
+ Plugin: () => Plugin4
20
20
  });
21
21
  import { define } from "@opencode-ai/plugin/effect/plugin";
22
22
  import { Effect, Stream } from "effect";
@@ -193,12 +193,12 @@ If you're uncertain about something and can't verify it with these tools, say "I
193
193
  `;
194
194
 
195
195
  // src/plugin/command.ts
196
- var Plugin38 = define({
196
+ var Plugin4 = define({
197
197
  id: "opencode.command",
198
198
  effect: Effect.fn(function* (ctx) {
199
199
  const location = yield* Service76;
200
- const mcp = yield* Service39;
201
- const bus = yield* Service79;
200
+ const mcp = yield* Service41;
201
+ const bus = yield* Service78;
202
202
  const loaded = { prompts: [] };
203
203
  yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
204
204
  loaded.prompts = yield* mcp.prompts();
@@ -280,4 +280,4 @@ function sanitize(value) {
280
280
  var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
281
281
  var quoteTrimRegex = /^["']|["']$/g;
282
282
 
283
- export { Plugin38, exports_command2 };
283
+ export { Plugin4, exports_command };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./wellknown-9rqn6x4v.js";
3
+ } from "./snapshot-9rqn6x4v.js";
4
4
 
5
5
  // src/session/usage.ts
6
6
  var exports_usage = {};
@@ -1,32 +1,32 @@
1
1
  import {
2
- Key3,
2
+ Key4,
3
3
  removed2,
4
4
  empty3,
5
- make17,
5
+ make21,
6
6
  diffByKey2
7
- } from "./wellknown-28pcbh69.js";
7
+ } from "./snapshot-75yf2d83.js";
8
8
  import {
9
9
  evaluate2
10
- } from "./wellknown-xnxegkmr.js";
10
+ } from "./snapshot-1c8x35y2.js";
11
11
  import {
12
- Service39,
13
- node42
14
- } from "./wellknown-bwm9kjcw.js";
12
+ Service41,
13
+ node44
14
+ } from "./snapshot-jsrm0jes.js";
15
15
  import {
16
16
  namespace2,
17
17
  name14
18
- } from "./wellknown-9wt3tsrn.js";
18
+ } from "./snapshot-e0h0gh3e.js";
19
19
  import {
20
20
  __export
21
- } from "./wellknown-9rqn6x4v.js";
21
+ } from "./snapshot-9rqn6x4v.js";
22
22
 
23
23
  // src/mcp/instructions.ts
24
- var exports_instructions5 = {};
25
- __export(exports_instructions5, {
26
- McpInstructions: () => exports_instructions5,
27
- Service: () => Service36,
28
- layer: () => layer15,
29
- node: () => node40
24
+ var exports_instructions2 = {};
25
+ __export(exports_instructions2, {
26
+ McpInstructions: () => exports_instructions2,
27
+ Service: () => Service33,
28
+ layer: () => layer14,
29
+ node: () => node36
30
30
  });
31
31
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
32
32
  import { Context, Effect, Layer, Schema } from "effect";
@@ -62,17 +62,17 @@ var update = (previous, current) => {
62
62
  `);
63
63
  };
64
64
 
65
- class Service36 extends Context.Service()("@opencode/McpInstructions") {
65
+ class Service33 extends Context.Service()("@opencode/McpInstructions") {
66
66
  }
67
- var layer15 = Layer.effect(Service36, Effect.gen(function* () {
68
- const mcp = yield* Service39;
69
- return Service36.of({
67
+ var layer14 = Layer.effect(Service33, Effect.gen(function* () {
68
+ const mcp = yield* Service41;
69
+ return Service33.of({
70
70
  load: Effect.fn("McpInstructions.load")(function* (selection) {
71
71
  const agent = selection.info;
72
72
  if (!agent)
73
73
  return empty3;
74
- const source = (value) => make17({
75
- key: Key3.make("core/mcp-guidance"),
74
+ const source = (value) => make21({
75
+ key: Key4.make("core/mcp-guidance"),
76
76
  codec: Schema.toCodecJson(Schema.Array(Summary)),
77
77
  read: Effect.succeed(value),
78
78
  render: {
@@ -100,6 +100,6 @@ var layer15 = Layer.effect(Service36, Effect.gen(function* () {
100
100
  })
101
101
  });
102
102
  }));
103
- var node40 = makeLocationNode({ service: Service36, layer: layer15, deps: [node42] });
103
+ var node36 = makeLocationNode({ service: Service33, layer: layer14, deps: [node44] });
104
104
 
105
- export { Service36, layer15, node40, exports_instructions5 };
105
+ export { Service33, layer14, node36, exports_instructions2 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./wellknown-p8qxwesx.js";
3
+ } from "./snapshot-p8qxwesx.js";
4
4
  import {
5
5
  __export
6
- } from "./wellknown-9rqn6x4v.js";
6
+ } from "./snapshot-9rqn6x4v.js";
7
7
 
8
8
  // src/project/schema.ts
9
9
  var exports_schema = {};
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  jitCompatCheck2
3
- } from "./wellknown-emrn6kk6.js";
3
+ } from "./snapshot-emrn6kk6.js";
4
4
  import {
5
5
  SQLiteEffectDatabase2
6
- } from "./wellknown-q1md1zjj.js";
6
+ } from "./snapshot-988pjtx7.js";
7
7
  import {
8
8
  EffectSQLiteSession2
9
- } from "./wellknown-q9792xnb.js";
9
+ } from "./snapshot-rzbakfyr.js";
10
10
 
11
11
  // src/database/drizzle/effect-sqlite/driver.ts
12
12
  import * as Effect from "effect/Effect";
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./wellknown-p8qxwesx.js";
3
+ } from "./snapshot-p8qxwesx.js";
4
4
  import {
5
5
  Service76
6
- } from "./wellknown-37ct2frz.js";
6
+ } from "./snapshot-9vsg5cp7.js";
7
7
  import {
8
8
  externalDirectoryPermission2,
9
9
  Service17
10
- } from "./wellknown-76xf8n6j.js";
10
+ } from "./snapshot-kk60f5rs.js";
11
11
  import {
12
- Service50
13
- } from "./wellknown-xnxegkmr.js";
12
+ Service67
13
+ } from "./snapshot-1c8x35y2.js";
14
14
  import {
15
- Service10
16
- } from "./wellknown-3n75mgw6.js";
15
+ Service9
16
+ } from "./snapshot-5vbsxe1b.js";
17
17
  import {
18
18
  NotFound2
19
- } from "./wellknown-2a5m3afh.js";
19
+ } from "./snapshot-2a5m3afh.js";
20
20
  import {
21
21
  MEDIA_MIMES2,
22
22
  BinaryFileError2,
@@ -27,26 +27,26 @@ import {
27
27
  FileContent2,
28
28
  TextPage2,
29
29
  ListPage2,
30
- Service6
31
- } from "./wellknown-h7shmymb.js";
30
+ Service10
31
+ } from "./snapshot-vky4d6kn.js";
32
32
  import {
33
33
  __export
34
- } from "./wellknown-9rqn6x4v.js";
34
+ } from "./snapshot-9rqn6x4v.js";
35
35
 
36
36
  // src/tool/plugin/read.ts
37
37
  var exports_read = {};
38
38
  __export(exports_read, {
39
- Input: () => Input2,
40
- Plugin: () => Plugin2,
39
+ Input: () => Input6,
40
+ Plugin: () => Plugin37,
41
41
  ReadTool: () => exports_read,
42
- name: () => name2,
43
- toModelContent: () => toModelContent2
42
+ name: () => name6,
43
+ toModelContent: () => toModelContent4
44
44
  });
45
45
  import { basename, dirname, join } from "path";
46
46
  import { ToolFailure } from "@opencode-ai/ai";
47
47
  import { Effect, Schema } from "effect";
48
48
  import { FSUtil } from "@opencode-ai/util/fs-util";
49
- var name2 = "read";
49
+ var name6 = "read";
50
50
  var FILENAME = "AGENTS.md";
51
51
  var LocationInput = Schema.Struct({
52
52
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -57,22 +57,22 @@ var LocationInput = Schema.Struct({
57
57
  description: "The maximum number of lines or directory entries to read (defaults to 2000)"
58
58
  })
59
59
  });
60
- var Input2 = LocationInput;
60
+ var Input6 = LocationInput;
61
61
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
62
- var Plugin2 = {
62
+ var Plugin37 = {
63
63
  id: "opencode.tool.read",
64
64
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
65
- const reader = yield* Service6;
65
+ const reader = yield* Service10;
66
66
  const mutation = yield* Service17;
67
- const permission = yield* Service50;
68
- const sessionInstructions = yield* Service10;
67
+ const permission = yield* Service67;
68
+ const sessionInstructions = yield* Service9;
69
69
  const fs = yield* FSUtil.Service;
70
70
  const location = yield* Service76;
71
71
  yield* ctx.tool.transform((editor) => editor.add({
72
- name: name2,
72
+ name: name6,
73
73
  options: { codemode: false },
74
74
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
75
- input: Input2,
75
+ input: Input6,
76
76
  output: Output,
77
77
  execute: (input, context) => {
78
78
  return Effect.gen(function* () {
@@ -90,7 +90,7 @@ var Plugin2 = {
90
90
  source
91
91
  });
92
92
  yield* permission.assert({
93
- action: name2,
93
+ action: name6,
94
94
  resources: [target.resource],
95
95
  save: ["*"],
96
96
  sessionID: context.sessionID,
@@ -141,7 +141,7 @@ var Plugin2 = {
141
141
  return { output: result.content, path: result.path };
142
142
  }).pipe(Effect.map((result) => ({
143
143
  output: result.output,
144
- content: toModelContent2(result.path, input.offset, result.output),
144
+ content: toModelContent4(result.path, input.offset, result.output),
145
145
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
146
146
  })), Effect.mapError((error) => {
147
147
  if (error instanceof ToolFailure)
@@ -173,7 +173,7 @@ ${suggestions.join(`
173
173
  });
174
174
  })
175
175
  };
176
- var toModelContent2 = (path, offset, output) => {
176
+ var toModelContent4 = (path, offset, output) => {
177
177
  if (output.type === "file" && output.encoding === "base64")
178
178
  return [
179
179
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -208,4 +208,4 @@ var toModelContent2 = (path, offset, output) => {
208
208
  `);
209
209
  };
210
210
 
211
- export { name2, Input2, Plugin2, toModelContent2, exports_read };
211
+ export { name6, Input6, Plugin37, toModelContent4, exports_read };
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service46
3
- } from "./wellknown-dapwfvd2.js";
2
+ Service60
3
+ } from "./snapshot-1apakymg.js";
4
4
  import {
5
5
  match2
6
- } from "./wellknown-y1fvbwt7.js";
6
+ } from "./snapshot-y1fvbwt7.js";
7
7
  import {
8
8
  observe2
9
- } from "./wellknown-qsdy395h.js";
9
+ } from "./snapshot-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./wellknown-9rqn6x4v.js";
12
+ } from "./snapshot-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/policy.ts
15
15
  var exports_policy = {};
16
16
  __export(exports_policy, {
17
17
  ConfigPolicyPlugin: () => exports_policy,
18
- Plugin: () => Plugin15
18
+ Plugin: () => Plugin24
19
19
  });
20
20
  import { define } from "@opencode-ai/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin15 = define({
22
+ var Plugin24 = define({
23
23
  id: "opencode.config.policy",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service46;
25
+ const config = yield* Service60;
26
26
  const loaded = yield* observe2(config, ctx.event, ctx.catalog.reload());
27
27
  yield* ctx.catalog.transform((catalog) => {
28
28
  const policies = loaded.entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => entry.info.experimental?.policies ?? []);
@@ -35,4 +35,4 @@ var Plugin15 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin15, exports_policy };
38
+ export { Plugin24, exports_policy };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./wellknown-9rqn6x4v.js";
3
+ } from "./snapshot-9rqn6x4v.js";
4
4
 
5
5
  // src/session/run-coordinator.ts
6
6
  var exports_run_coordinator = {};
7
7
  __export(exports_run_coordinator, {
8
8
  SessionRunCoordinator: () => exports_run_coordinator,
9
- make: () => make14
9
+ make: () => make15
10
10
  });
11
11
  import { Deferred, Effect, Fiber, FiberSet } from "effect";
12
- var make14 = (options) => Effect.gen(function* () {
12
+ var make15 = (options) => Effect.gen(function* () {
13
13
  const executions = new Map;
14
14
  const fork = yield* FiberSet.makeRuntime();
15
15
  const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
@@ -79,4 +79,4 @@ var make14 = (options) => Effect.gen(function* () {
79
79
  return { active: Effect.sync(() => new Set(executions.keys())), isActive, run, wake, interrupt, awaitIdle };
80
80
  });
81
81
 
82
- export { make14, exports_run_coordinator };
82
+ export { make15, exports_run_coordinator };
@@ -2,20 +2,20 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./wellknown-p8qxwesx.js";
5
+ } from "./snapshot-p8qxwesx.js";
6
6
  import {
7
- Service72,
8
- node76
9
- } from "./wellknown-z3njjm07.js";
7
+ Service65,
8
+ node69
9
+ } from "./snapshot-d7z6y9ja.js";
10
10
  import {
11
11
  Content2
12
- } from "./wellknown-920cr0mh.js";
12
+ } from "./snapshot-w10c8kxq.js";
13
13
  import {
14
14
  detect2
15
- } from "./wellknown-3smtnn6g.js";
15
+ } from "./snapshot-3smtnn6g.js";
16
16
  import {
17
17
  __export
18
- } from "./wellknown-9rqn6x4v.js";
18
+ } from "./snapshot-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: () => Service6,
36
+ Service: () => Service10,
37
37
  TextPage: () => TextPage2,
38
- node: () => node9,
38
+ node: () => node13,
39
39
  read: () => read2
40
40
  });
41
41
  import path from "path";
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
114
114
  }) {
115
115
  }
116
116
 
117
- class Service6 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(Service6, Effect.gen(function* () {
330
- const environment = yield* Service72;
331
- return Service6.of({
329
+ var layer = Layer.effect(Service10, Effect.gen(function* () {
330
+ const environment = yield* Service65;
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 node9 = makeLocationNode({ service: Service6, layer, deps: [node76] });
336
+ var node13 = makeLocationNode({ service: Service10, layer, deps: [node69] });
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, Service6, read2, node9, 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 };