@opencode/core 0.0.0-dev-19545 → 0.0.0-dev-19550

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 (782) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +72 -72
  7. package/dist/catalog.js +84 -84
  8. package/dist/chunks/{catalog-2tfmgkzg.js → config-022zszfk.js} +4 -4
  9. package/dist/chunks/{catalog-ejhqf7rv.js → config-041mb03m.js} +12 -12
  10. package/dist/chunks/{catalog-h75erqy0.js → config-04sta6yv.js} +26 -26
  11. package/dist/chunks/{catalog-b8b3f19r.js → config-0996nyz8.js} +9 -9
  12. package/dist/chunks/{catalog-k83b6fmf.js → config-0f4qaedh.js} +12 -12
  13. package/dist/chunks/{catalog-tq5s4jp4.js → config-0fcjdm2s.js} +14 -14
  14. package/dist/chunks/{catalog-qvwk2e62.js → config-0gb6kb4k.js} +1 -1
  15. package/dist/chunks/config-0kwcw7fy.js +4 -0
  16. package/dist/chunks/{catalog-0paq2nw3.js → config-0paq2nw3.js} +1 -1
  17. package/dist/chunks/{catalog-0q0f95c6.js → config-0q0f95c6.js} +1 -1
  18. package/dist/chunks/{catalog-0axr4kr0.js → config-0sd1vqbs.js} +8 -8
  19. package/dist/chunks/{catalog-5whwrpxa.js → config-0zwqsx91.js} +11 -11
  20. package/dist/chunks/{catalog-m7jgjtaj.js → config-14mbsfh7.js} +19 -19
  21. package/dist/chunks/{catalog-xsa1sybh.js → config-17hmve47.js} +32 -32
  22. package/dist/chunks/{catalog-3ad31mwk.js → config-1c0cpxrz.js} +27 -27
  23. package/dist/chunks/{catalog-1dazxqgg.js → config-1dazxqgg.js} +2 -2
  24. package/dist/chunks/{catalog-ef69fgpy.js → config-1en1cjsj.js} +28 -28
  25. package/dist/chunks/{catalog-1fxvxmag.js → config-1f8k45ek.js} +11 -11
  26. package/dist/chunks/{catalog-ccfb28rd.js → config-1qhxs0kr.js} +32 -32
  27. package/dist/chunks/{catalog-pczdf8ey.js → config-1sac38c5.js} +36 -36
  28. package/dist/chunks/{catalog-1826d3tc.js → config-1t6z3xj3.js} +7 -7
  29. package/dist/chunks/{catalog-fsz3pvss.js → config-1wz5dzjv.js} +22 -22
  30. package/dist/chunks/{catalog-1ygqh575.js → config-1ygqh575.js} +2 -2
  31. package/dist/chunks/{catalog-enks4xxx.js → config-2058e169.js} +5 -5
  32. package/dist/chunks/{catalog-21r38tys.js → config-21r38tys.js} +1 -1
  33. package/dist/chunks/{catalog-nddck5fz.js → config-254pmcny.js} +16 -16
  34. package/dist/chunks/{catalog-p568kkra.js → config-25mg6vnq.js} +18 -18
  35. package/dist/chunks/{catalog-rwnd840x.js → config-26nxqbrn.js} +28 -28
  36. package/dist/chunks/{catalog-2a5m3afh.js → config-2a5m3afh.js} +1 -1
  37. package/dist/chunks/{catalog-mha58zyg.js → config-2a7hagjp.js} +6 -6
  38. package/dist/chunks/{catalog-s955fp16.js → config-2bj24c8c.js} +4 -4
  39. package/dist/chunks/{catalog-9xvq3m7s.js → config-2f0bjgcj.js} +5 -5
  40. package/dist/chunks/{catalog-4zx91en2.js → config-2qt7tyn2.js} +32 -32
  41. package/dist/chunks/{catalog-6tyjza09.js → config-2swt1sbx.js} +9 -9
  42. package/dist/chunks/{catalog-nw996z93.js → config-39ez6tgd.js} +10 -10
  43. package/dist/chunks/{catalog-3fc6dm20.js → config-3fc6dm20.js} +1 -1
  44. package/dist/chunks/{catalog-3hepkmqq.js → config-3hepkmqq.js} +1 -1
  45. package/dist/chunks/{catalog-hme08kwh.js → config-3jhdkvje.js} +10 -10
  46. package/dist/chunks/{catalog-8150s0h8.js → config-3ktx1vke.js} +20 -20
  47. package/dist/chunks/{catalog-3smtnn6g.js → config-3smtnn6g.js} +1 -1
  48. package/dist/chunks/{catalog-3n6pm2ty.js → config-3tpxjcg5.js} +26 -26
  49. package/dist/chunks/{catalog-3tvqynh2.js → config-3tvqynh2.js} +1 -1
  50. package/dist/chunks/{catalog-w71bqf9y.js → config-3wvjcseh.js} +17 -17
  51. package/dist/chunks/{catalog-qrk67v0h.js → config-4029myyt.js} +17 -17
  52. package/dist/chunks/{catalog-669zjfh6.js → config-453mx89x.js} +4 -4
  53. package/dist/chunks/{catalog-ex7qjazb.js → config-4kx83z13.js} +3 -3
  54. package/dist/chunks/{catalog-8baymvr8.js → config-4mtmdvvs.js} +1 -1
  55. package/dist/chunks/{catalog-7v03p7nj.js → config-4vqpbft0.js} +30 -30
  56. package/dist/chunks/{catalog-fz94hmd1.js → config-4w62fhaa.js} +26 -26
  57. package/dist/chunks/{catalog-2vkg433n.js → config-4yh8hrgk.js} +14 -14
  58. package/dist/chunks/{catalog-01375378.js → config-4ynbxhwa.js} +2 -2
  59. package/dist/chunks/{catalog-r68206ac.js → config-4zja7gva.js} +17 -17
  60. package/dist/chunks/{catalog-e6nxybdg.js → config-4zrkrsxx.js} +43 -43
  61. package/dist/chunks/{catalog-xbh0n0bt.js → config-589kjr7t.js} +1 -1
  62. package/dist/chunks/{catalog-vdd94nkt.js → config-58za8be0.js} +4 -4
  63. package/dist/chunks/{catalog-dng9x159.js → config-5bgpbyy9.js} +24 -24
  64. package/dist/chunks/{catalog-5daktx2q.js → config-5daktx2q.js} +1 -1
  65. package/dist/chunks/{catalog-wk4tj125.js → config-5jhpxb8j.js} +32 -32
  66. package/dist/chunks/{catalog-01gnzxa7.js → config-5m4y1r5y.js} +33 -33
  67. package/dist/chunks/{catalog-5t3nmthw.js → config-5t3nmthw.js} +2 -2
  68. package/dist/chunks/{catalog-jdah6xw3.js → config-5x64ew67.js} +17 -17
  69. package/dist/chunks/{catalog-9pbycyqj.js → config-62b17yyg.js} +17 -17
  70. package/dist/chunks/{catalog-669tq793.js → config-669tq793.js} +1 -1
  71. package/dist/chunks/{catalog-7z06d2s5.js → config-6b5yt40m.js} +36 -36
  72. package/dist/chunks/{catalog-6h73sxmp.js → config-6h73sxmp.js} +1 -1
  73. package/dist/chunks/{catalog-6msgmcgs.js → config-6msgmcgs.js} +1 -1
  74. package/dist/chunks/{catalog-bq27kere.js → config-6rjjktna.js} +162 -162
  75. package/dist/chunks/{catalog-kexa746j.js → config-6v56qcx3.js} +2 -2
  76. package/dist/chunks/{catalog-fmyjwjxp.js → config-6z70kctk.js} +85 -85
  77. package/dist/chunks/{catalog-71q4at8m.js → config-71q4at8m.js} +1 -1
  78. package/dist/chunks/{catalog-8xzfmnag.js → config-71t4wm4a.js} +13 -13
  79. package/dist/chunks/{catalog-7bmhse3q.js → config-7bmhse3q.js} +1 -1
  80. package/dist/chunks/{catalog-5ajj98ga.js → config-7ccwepmq.js} +14 -14
  81. package/dist/chunks/{catalog-qgn6gcr1.js → config-7dqw4kz8.js} +5 -5
  82. package/dist/chunks/{catalog-s8zy8myc.js → config-7gvwkz6m.js} +5 -5
  83. package/dist/chunks/{catalog-dtry8psn.js → config-7rdpnw90.js} +13 -13
  84. package/dist/chunks/{catalog-wzz0kxab.js → config-7w3s9kd0.js} +7 -7
  85. package/dist/chunks/{catalog-7nh87dmy.js → config-7xr5mnyx.js} +17 -17
  86. package/dist/chunks/{catalog-w03333sy.js → config-7yybbj7q.js} +13 -13
  87. package/dist/chunks/{catalog-81swgkk7.js → config-81swgkk7.js} +2 -2
  88. package/dist/chunks/{catalog-ajmt07x6.js → config-834zj1q7.js} +17 -17
  89. package/dist/chunks/{catalog-wvqgxa1w.js → config-88sbjtg5.js} +25 -25
  90. package/dist/chunks/{catalog-2e5amqsf.js → config-893awk63.js} +4 -4
  91. package/dist/chunks/{catalog-8d7r5vzw.js → config-8d7r5vzw.js} +1 -1
  92. package/dist/chunks/{catalog-50mzsvk4.js → config-8hmgw1ak.js} +4 -4
  93. package/dist/chunks/{catalog-dj2t23y0.js → config-8p4f9s12.js} +2 -2
  94. package/dist/chunks/{catalog-0gr7cw0d.js → config-8s8mxddj.js} +4 -4
  95. package/dist/chunks/{catalog-6fhp10xj.js → config-8ysfvp9f.js} +29 -29
  96. package/dist/chunks/{catalog-capqb2jt.js → config-923n2b6b.js} +32 -32
  97. package/dist/chunks/{catalog-w8rwtwzt.js → config-94d3g4tf.js} +11 -11
  98. package/dist/chunks/{catalog-6jb1cs02.js → config-9h617dca.js} +16 -16
  99. package/dist/chunks/{catalog-k2zws4sn.js → config-9n26bwhx.js} +9 -9
  100. package/dist/chunks/{catalog-cw8m5w0x.js → config-9sgpzjef.js} +3 -3
  101. package/dist/chunks/{catalog-wktyrjrs.js → config-9w2ffxfz.js} +8 -8
  102. package/dist/chunks/{catalog-5c4hm403.js → config-a1bz86dw.js} +3 -3
  103. package/dist/chunks/{catalog-nbzsj80d.js → config-a9ee0v7t.js} +8 -8
  104. package/dist/chunks/{catalog-h749z191.js → config-a9wv187r.js} +4 -4
  105. package/dist/chunks/{catalog-aaet6srn.js → config-aaet6srn.js} +2 -2
  106. package/dist/chunks/{catalog-d9d4f867.js → config-aezks1k8.js} +57 -57
  107. package/dist/chunks/config-afzktpnh.js +247 -0
  108. package/dist/chunks/{catalog-m04bvzgz.js → config-akyqsbh0.js} +11 -11
  109. package/dist/chunks/{catalog-pqptdgd0.js → config-awb4aq70.js} +37 -37
  110. package/dist/chunks/{catalog-b34mrqag.js → config-b2dzfg51.js} +10 -10
  111. package/dist/chunks/{catalog-ydmb3qqr.js → config-b3w4j039.js} +15 -15
  112. package/dist/chunks/{catalog-dg2d7686.js → config-b5k1zrww.js} +6 -6
  113. package/dist/chunks/{catalog-b6gygkdw.js → config-b6gygkdw.js} +2 -2
  114. package/dist/chunks/{catalog-ffwtb6e9.js → config-b843s508.js} +17 -17
  115. package/dist/chunks/{catalog-b4dq27h6.js → config-bbrfjnak.js} +58 -58
  116. package/dist/chunks/{catalog-j83byb14.js → config-bf0ztrs3.js} +4 -4
  117. package/dist/chunks/{catalog-qns7eang.js → config-bn5g03n7.js} +27 -27
  118. package/dist/chunks/{catalog-e5nv3ght.js → config-bndc73cn.js} +5 -5
  119. package/dist/chunks/{catalog-6q4rsvvg.js → config-bt4gjbah.js} +26 -26
  120. package/dist/chunks/{catalog-9rm6sm83.js → config-bvpfq294.js} +12 -12
  121. package/dist/chunks/{catalog-5an23c5v.js → config-c24fcgxs.js} +21 -21
  122. package/dist/chunks/{catalog-m0jqrx5p.js → config-cfpkc3c9.js} +2 -2
  123. package/dist/chunks/{catalog-34n0kdk7.js → config-cswr4h4e.js} +11 -11
  124. package/dist/chunks/{catalog-w0h9h0tj.js → config-cwbbq2p8.js} +5 -5
  125. package/dist/chunks/{catalog-fhnehbw5.js → config-czsydm57.js} +1 -1
  126. package/dist/chunks/{catalog-25wsmeay.js → config-d126q4px.js} +13 -13
  127. package/dist/chunks/{catalog-b20taax2.js → config-dcfqbqkk.js} +46 -46
  128. package/dist/chunks/{catalog-05z1j6pf.js → config-dfggy6a4.js} +24 -24
  129. package/dist/chunks/{catalog-nyh0bxrv.js → config-dj00cq6z.js} +2 -2
  130. package/dist/chunks/{catalog-ycfgbj7h.js → config-dkp48p5n.js} +43 -43
  131. package/dist/chunks/{catalog-xed6wpct.js → config-dnp868cw.js} +3 -3
  132. package/dist/chunks/{catalog-0m0ybc20.js → config-drpyq9gm.js} +4 -4
  133. package/dist/chunks/{catalog-6vfqv7qh.js → config-dspwd2x0.js} +11 -11
  134. package/dist/chunks/{catalog-06tybfx6.js → config-dsqps89d.js} +5 -5
  135. package/dist/chunks/{catalog-x3et2xth.js → config-dv1qgsyq.js} +8 -8
  136. package/dist/chunks/{catalog-80rk325j.js → config-dvjqevxn.js} +93 -93
  137. package/dist/chunks/{catalog-zgs2c9r1.js → config-dxwgt29k.js} +5 -5
  138. package/dist/chunks/{catalog-eqgqstcy.js → config-dzwmfy5m.js} +8 -8
  139. package/dist/chunks/{catalog-eaj1djv9.js → config-eaj1djv9.js} +1 -1
  140. package/dist/chunks/{catalog-ybhbtxjg.js → config-eefhzbjy.js} +6 -6
  141. package/dist/chunks/{catalog-220yzb77.js → config-en10yhxf.js} +22 -22
  142. package/dist/chunks/{catalog-mhkvc446.js → config-eq1pz5kg.js} +3 -3
  143. package/dist/chunks/{catalog-wvmhx4nb.js → config-eraanh1f.js} +4 -4
  144. package/dist/chunks/{catalog-etq0c3wd.js → config-etq0c3wd.js} +1 -1
  145. package/dist/chunks/{catalog-v2kwg42a.js → config-eveyavgq.js} +9 -9
  146. package/dist/chunks/{catalog-9b5adq4s.js → config-f25f9w7r.js} +32 -32
  147. package/dist/chunks/{catalog-f2n192rq.js → config-f2n192rq.js} +1 -1
  148. package/dist/chunks/{catalog-hdnk95c8.js → config-f828m53h.js} +2 -2
  149. package/dist/chunks/{catalog-11qs4yt4.js → config-f98ge00r.js} +297 -297
  150. package/dist/chunks/{catalog-7qmza372.js → config-fa79drrr.js} +7 -7
  151. package/dist/chunks/{catalog-86cq32y3.js → config-fajjya06.js} +8 -8
  152. package/dist/chunks/{catalog-vxk34sr8.js → config-fe8jr5wt.js} +13 -13
  153. package/dist/chunks/{catalog-1674zkpa.js → config-fqw2r1v4.js} +20 -20
  154. package/dist/chunks/{catalog-fxbjtjnd.js → config-fxbjtjnd.js} +1 -1
  155. package/dist/chunks/{catalog-gd4qta3r.js → config-gd4qta3r.js} +1 -1
  156. package/dist/chunks/{catalog-h4vdmpp7.js → config-ghescktn.js} +10 -10
  157. package/dist/chunks/{catalog-ve6nm2s5.js → config-ghk9cxjs.js} +6 -6
  158. package/dist/chunks/{catalog-qe9grzf9.js → config-ghvnbqbv.js} +22 -22
  159. package/dist/chunks/{catalog-c6p18txd.js → config-gk6dqv91.js} +13 -13
  160. package/dist/chunks/{catalog-zcrspsvn.js → config-gst7axd9.js} +4 -4
  161. package/dist/chunks/{catalog-h03wrkyp.js → config-h03wrkyp.js} +2 -2
  162. package/dist/chunks/{catalog-h6vf3j39.js → config-h6vf3j39.js} +1 -1
  163. package/dist/chunks/{catalog-gsx0ryk4.js → config-h7ygw6q4.js} +9 -9
  164. package/dist/chunks/{catalog-efxyyf2r.js → config-h921jg7p.js} +28 -28
  165. package/dist/chunks/{catalog-srxvz5fj.js → config-h9g4qz6w.js} +11 -11
  166. package/dist/chunks/{catalog-qjnxxf51.js → config-hnr5yq9h.js} +5 -5
  167. package/dist/chunks/{catalog-p1wf2k30.js → config-hrvd6t1f.js} +9 -9
  168. package/dist/chunks/{catalog-xqc8gpa8.js → config-hzeaq1fa.js} +51 -51
  169. package/dist/chunks/{catalog-j56e64zr.js → config-j56e64zr.js} +1 -1
  170. package/dist/chunks/{catalog-hzhp00rt.js → config-jg5pnb06.js} +9 -9
  171. package/dist/chunks/{catalog-gjtvc0xj.js → config-jh5bdp6a.js} +9 -9
  172. package/dist/chunks/{catalog-11g0m7xp.js → config-jhb3cebt.js} +18 -18
  173. package/dist/chunks/{catalog-c9n64zbv.js → config-jn05vxxt.js} +10 -10
  174. package/dist/chunks/{catalog-1paefqjy.js → config-jnn9r5kk.js} +9 -9
  175. package/dist/chunks/{catalog-sj8djram.js → config-jxvv7ppt.js} +27 -27
  176. package/dist/chunks/{catalog-06qs63zs.js → config-jxxb4xmb.js} +22 -22
  177. package/dist/chunks/{catalog-hm8czh9s.js → config-k2per3w9.js} +11 -11
  178. package/dist/chunks/{catalog-rnq8x8nm.js → config-k7nyb6ww.js} +23 -23
  179. package/dist/chunks/{catalog-pxqqzx9x.js → config-k9zwtbn5.js} +32 -32
  180. package/dist/chunks/{catalog-hd29wc17.js → config-ka2k270b.js} +8 -8
  181. package/dist/chunks/{catalog-kg06axw8.js → config-kg06axw8.js} +1 -1
  182. package/dist/chunks/{catalog-28veebyk.js → config-khrtsksm.js} +37 -37
  183. package/dist/chunks/{catalog-hfajqttj.js → config-krg3nn78.js} +4 -4
  184. package/dist/chunks/{catalog-128tsnt8.js → config-kw0pvf61.js} +16 -16
  185. package/dist/chunks/{catalog-jntbpxcj.js → config-m27np7t3.js} +8 -8
  186. package/dist/chunks/{catalog-m9w0rfyh.js → config-m9w0rfyh.js} +1 -1
  187. package/dist/chunks/{catalog-h0c0x8q8.js → config-mc3tw875.js} +26 -26
  188. package/dist/chunks/{catalog-tv94ngtf.js → config-mgcx2e31.js} +22 -22
  189. package/dist/chunks/{catalog-7wrfaqvt.js → config-mgzb81zw.js} +22 -22
  190. package/dist/chunks/{catalog-hknvhfn6.js → config-mm2k2cqg.js} +15 -15
  191. package/dist/chunks/{catalog-kr0temvn.js → config-mw00tj0y.js} +4 -4
  192. package/dist/chunks/{catalog-aqm8aqa3.js → config-mw72j0a8.js} +2 -2
  193. package/dist/chunks/{catalog-rjsef671.js → config-n71vtan2.js} +18 -18
  194. package/dist/chunks/{catalog-g80f6tt5.js → config-n9jvack9.js} +29 -29
  195. package/dist/chunks/{catalog-ytzt55e8.js → config-n9tyhvn8.js} +67 -67
  196. package/dist/chunks/{catalog-ebdgq5nz.js → config-neezmqqh.js} +9 -9
  197. package/dist/chunks/{catalog-e82z9tr0.js → config-nhy5jxhy.js} +7 -7
  198. package/dist/chunks/{catalog-7zqbys82.js → config-nn0nken7.js} +24 -24
  199. package/dist/chunks/{catalog-zh24g5f2.js → config-npr3zfhm.js} +3 -3
  200. package/dist/chunks/{catalog-1nfpt5r1.js → config-nqzv378d.js} +1 -1
  201. package/dist/chunks/{catalog-8bcsshks.js → config-nt7bfjdq.js} +44 -44
  202. package/dist/chunks/{catalog-3kwyy090.js → config-nyvd8nyf.js} +5 -5
  203. package/dist/chunks/{catalog-kz70mmnm.js → config-p158fnhc.js} +1 -1
  204. package/dist/chunks/{catalog-jtczh1z7.js → config-p69rgjvz.js} +6 -6
  205. package/dist/chunks/{catalog-za7r8e6b.js → config-p8gy2scj.js} +22 -22
  206. package/dist/chunks/{catalog-06dxphr1.js → config-paegk39x.js} +4 -4
  207. package/dist/chunks/{catalog-epb99101.js → config-pcsvspjz.js} +46 -46
  208. package/dist/chunks/{catalog-y76hh25e.js → config-pe83jqzf.js} +8 -8
  209. package/dist/chunks/{catalog-pjvnvgmy.js → config-pjvnvgmy.js} +1 -1
  210. package/dist/chunks/{catalog-pknna89w.js → config-pknna89w.js} +1 -1
  211. package/dist/chunks/{catalog-q509s3k3.js → config-q509s3k3.js} +1 -1
  212. package/dist/chunks/{catalog-3gbajt8f.js → config-q7gnwvzw.js} +6 -6
  213. package/dist/chunks/{catalog-x361r8ae.js → config-qf2gftrk.js} +32 -32
  214. package/dist/chunks/{catalog-6gh916qn.js → config-qpdvcw0k.js} +17 -17
  215. package/dist/chunks/{catalog-cqfkq5vr.js → config-qqpx5r57.js} +23 -23
  216. package/dist/chunks/{catalog-qsdy395h.js → config-qsdy395h.js} +1 -1
  217. package/dist/chunks/{catalog-w9g1mjvq.js → config-qv7g26jh.js} +7 -7
  218. package/dist/chunks/{catalog-vbnx89y4.js → config-qy8emagx.js} +8 -8
  219. package/dist/chunks/{catalog-08r776ak.js → config-r239f513.js} +10 -10
  220. package/dist/chunks/{catalog-cpy6gm2a.js → config-r33ff4dw.js} +4 -4
  221. package/dist/chunks/{catalog-pt3xaqgj.js → config-r3q6pmcz.js} +6 -6
  222. package/dist/chunks/{catalog-r9mregkx.js → config-r9mregkx.js} +2 -2
  223. package/dist/chunks/{catalog-edrmdtr5.js → config-ratrq7cm.js} +7 -7
  224. package/dist/chunks/{catalog-4agnf5ms.js → config-rffmagh4.js} +15 -15
  225. package/dist/chunks/{catalog-sssgnnew.js → config-rgy4hz2s.js} +11 -11
  226. package/dist/chunks/{catalog-rqtz01yg.js → config-rs74bqqx.js} +9 -9
  227. package/dist/chunks/{catalog-zt03gkt5.js → config-sdc78qer.js} +4 -4
  228. package/dist/chunks/{catalog-a1etm3ae.js → config-sdtrspaj.js} +13 -13
  229. package/dist/chunks/{catalog-whhz8nbh.js → config-stpksnm9.js} +15 -15
  230. package/dist/chunks/{catalog-6gvfc0c7.js → config-t3k96hw7.js} +14 -14
  231. package/dist/chunks/{catalog-4t8agra5.js → config-t3yzn2f5.js} +7 -7
  232. package/dist/chunks/{catalog-z9fg5nst.js → config-t4d4mx00.js} +31 -31
  233. package/dist/chunks/{catalog-rzxjj8wb.js → config-t6w5qgqz.js} +11 -11
  234. package/dist/chunks/{catalog-tazgh4e4.js → config-tazgh4e4.js} +1 -1
  235. package/dist/chunks/{catalog-tcezcvh9.js → config-tcezcvh9.js} +1 -1
  236. package/dist/chunks/{catalog-a3r4dcrj.js → config-tdgd79rq.js} +2 -2
  237. package/dist/chunks/{catalog-tdstcens.js → config-tdstcens.js} +1 -1
  238. package/dist/chunks/{catalog-h5fznqp6.js → config-teyr1f08.js} +11 -11
  239. package/dist/chunks/{catalog-n5e731ms.js → config-tf0cdcd5.js} +12 -12
  240. package/dist/chunks/{catalog-f8sac55d.js → config-tfaj8ne6.js} +13 -13
  241. package/dist/chunks/{catalog-th5km1p3.js → config-th5km1p3.js} +2 -2
  242. package/dist/chunks/{catalog-nrq98zzy.js → config-tspb6gwg.js} +31 -31
  243. package/dist/chunks/{catalog-pyht7yxc.js → config-tstmjat0.js} +22 -22
  244. package/dist/chunks/{catalog-tvtrv512.js → config-tvtrv512.js} +1 -1
  245. package/dist/chunks/{catalog-z8e26yyd.js → config-txe9dcj1.js} +12 -12
  246. package/dist/chunks/{catalog-h7dp09kp.js → config-v3x2jaaw.js} +11 -11
  247. package/dist/chunks/{catalog-0kgtnqhk.js → config-v4aepbmd.js} +29 -29
  248. package/dist/chunks/{catalog-03n94606.js → config-va88dqc9.js} +23 -23
  249. package/dist/chunks/{catalog-v7k02e94.js → config-vaqqakax.js} +20 -20
  250. package/dist/chunks/{catalog-7s808vw1.js → config-vazae2rc.js} +28 -28
  251. package/dist/chunks/{catalog-veqvce7d.js → config-veqvce7d.js} +1 -1
  252. package/dist/chunks/{catalog-jexxy024.js → config-vjnb44yt.js} +3 -3
  253. package/dist/chunks/{catalog-vkt5fbj2.js → config-vkt5fbj2.js} +2 -2
  254. package/dist/chunks/{catalog-tpqtcw3m.js → config-vqnb0j7t.js} +11 -11
  255. package/dist/chunks/{catalog-6xw3seg4.js → config-vrpz8t5t.js} +5 -5
  256. package/dist/chunks/{catalog-9vchpwsg.js → config-vvcg53v8.js} +9 -9
  257. package/dist/chunks/{catalog-vzcthcp8.js → config-vzcthcp8.js} +1 -1
  258. package/dist/chunks/{catalog-w3wsvvr9.js → config-w3wsvvr9.js} +1 -1
  259. package/dist/chunks/{catalog-rmdyxgmk.js → config-w3x9v1nk.js} +8 -8
  260. package/dist/chunks/{catalog-fpzkszv2.js → config-w9z6mc3f.js} +8 -8
  261. package/dist/chunks/{catalog-wd87259q.js → config-wd87259q.js} +1 -1
  262. package/dist/chunks/{catalog-3hh68e08.js → config-wgdp7z4g.js} +11 -11
  263. package/dist/chunks/{catalog-3hj6yb8m.js → config-wm7nt7d4.js} +24 -24
  264. package/dist/chunks/{catalog-spc0aqkq.js → config-wpb26k94.js} +9 -9
  265. package/dist/chunks/{catalog-xzgh0dv6.js → config-wz3x725h.js} +26 -26
  266. package/dist/chunks/{catalog-jt4wm0p5.js → config-wzt5yrke.js} +25 -25
  267. package/dist/chunks/{catalog-kwekj76q.js → config-x0e6qwje.js} +16 -16
  268. package/dist/chunks/{catalog-x1ezjp6w.js → config-x1ezjp6w.js} +1 -1
  269. package/dist/chunks/{catalog-64ddj6v7.js → config-x569bdqa.js} +1 -1
  270. package/dist/chunks/{catalog-5t2tykyh.js → config-xafwvqr4.js} +50 -50
  271. package/dist/chunks/{catalog-d9rt0qeb.js → config-xeyscpm9.js} +47 -47
  272. package/dist/chunks/{catalog-7pqfws5w.js → config-xfnvpyjq.js} +6 -6
  273. package/dist/chunks/{catalog-jj1y1mh8.js → config-xwj464x0.js} +13 -13
  274. package/dist/chunks/{catalog-324c50q4.js → config-xzpmzq69.js} +5 -5
  275. package/dist/chunks/{catalog-y1fvbwt7.js → config-y1fvbwt7.js} +1 -1
  276. package/dist/chunks/{catalog-dpkg50ah.js → config-y71avatq.js} +4 -4
  277. package/dist/chunks/{catalog-rn2bkqyf.js → config-y7wj70kq.js} +18 -18
  278. package/dist/chunks/{catalog-5ee1vhgp.js → config-yf3n5xzz.js} +21 -21
  279. package/dist/chunks/{catalog-yrhqyw5v.js → config-yrhqyw5v.js} +1 -1
  280. package/dist/chunks/{catalog-yrznvahk.js → config-yrznvahk.js} +2 -2
  281. package/dist/chunks/{catalog-z0bkrqjs.js → config-z0bkrqjs.js} +1 -1
  282. package/dist/chunks/{catalog-z63w68vq.js → config-z63w68vq.js} +2 -2
  283. package/dist/chunks/{catalog-zeh9ct20.js → config-zeh9ct20.js} +2 -2
  284. package/dist/chunks/{catalog-5yv6jj0b.js → config-zmwjgf79.js} +18 -18
  285. package/dist/chunks/{catalog-4sgjj86v.js → config-zq81vz9n.js} +12 -12
  286. package/dist/chunks/{catalog-zr2ceqn5.js → config-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{catalog-49jf17ce.js → config-zstx59h3.js} +6 -6
  288. package/dist/chunks/{catalog-zxq2ej10.js → config-zxq2ej10.js} +1 -1
  289. package/dist/codemode/catalog.js +1 -1
  290. package/dist/codemode/instructions.js +11 -11
  291. package/dist/codemode/tool.js +2 -2
  292. package/dist/command.js +84 -84
  293. package/dist/config/discovery.js +79 -79
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +19 -19
  296. package/dist/config/plugin/agent.js +117 -117
  297. package/dist/config/plugin/command.js +210 -210
  298. package/dist/config/plugin/compaction.js +157 -157
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +119 -119
  301. package/dist/config/plugin/image.js +117 -117
  302. package/dist/config/plugin/instruction.js +87 -87
  303. package/dist/config/plugin/location-watcher.js +117 -117
  304. package/dist/config/plugin/mcp.js +126 -126
  305. package/dist/config/plugin/policy.js +116 -116
  306. package/dist/config/plugin/provider.js +115 -115
  307. package/dist/config/plugin/reference.js +119 -119
  308. package/dist/config/plugin/shell.js +120 -120
  309. package/dist/config/plugin/skill-file.js +99 -99
  310. package/dist/config/plugin/skill.js +138 -138
  311. package/dist/config/plugin/snapshot.js +117 -117
  312. package/dist/config/plugin/source.js +119 -119
  313. package/dist/config/plugin/tool-output.js +119 -119
  314. package/dist/config/plugin/websearch.js +117 -117
  315. package/dist/config/plugin/worktree.js +120 -120
  316. package/dist/config/variable.js +3 -3
  317. package/dist/config/watch.js +1 -1
  318. package/dist/config.js +121 -121
  319. package/dist/credential/sql.js +2 -2
  320. package/dist/credential.js +82 -82
  321. package/dist/database/database.js +65 -65
  322. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  325. package/dist/database/drizzle/index.js +15 -15
  326. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  329. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  337. package/dist/database/drizzle.js +16 -16
  338. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  339. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  340. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  341. package/dist/database/migration/20260225215848_workspace.js +1 -1
  342. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  343. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  344. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  345. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  346. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  347. package/dist/database/migration/20260323234822_events.js +1 -1
  348. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  349. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  350. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  351. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  352. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  353. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  354. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  355. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  356. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  357. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  358. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  359. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  360. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  361. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  362. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  363. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  364. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  365. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  366. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  367. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  368. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  369. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  370. package/dist/database/migration/20260611035744_credential.js +1 -1
  371. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  372. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  373. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  374. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  375. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  376. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  377. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  378. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  379. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  380. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  381. package/dist/database/migration/20260812213948_worktree.js +1 -1
  382. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  383. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  384. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  385. package/dist/database/migration.gen.js +48 -48
  386. package/dist/database/migration.js +50 -50
  387. package/dist/database/path.js +2 -2
  388. package/dist/database/schema.gen.js +1 -1
  389. package/dist/database/schema.sql.js +1 -1
  390. package/dist/database/sqlite.bun.js +1 -1
  391. package/dist/database/sqlite.js +1 -1
  392. package/dist/database/sqlite.node.js +1 -1
  393. package/dist/database/sqlite.workerd.js +1 -1
  394. package/dist/database/v1-migration.bun.js +75 -75
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +363 -363
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +3 -3
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +90 -90
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +92 -92
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +1 -1
  408. package/dist/event/sql.js +1 -1
  409. package/dist/event-logger.js +73 -73
  410. package/dist/file-access.js +101 -101
  411. package/dist/file-mutation.js +91 -91
  412. package/dist/file-retention.js +1 -1
  413. package/dist/file.js +1 -1
  414. package/dist/filesystem/fff.bun.js +2 -2
  415. package/dist/filesystem/fff.js +1 -1
  416. package/dist/filesystem/fff.node.js +2 -2
  417. package/dist/filesystem/fff.workerd.js +2 -2
  418. package/dist/filesystem/ignore.js +1 -1
  419. package/dist/filesystem/location-watcher-policy.js +6 -6
  420. package/dist/filesystem/location-watcher.js +222 -222
  421. package/dist/filesystem/protected.js +1 -1
  422. package/dist/filesystem/search.js +101 -101
  423. package/dist/filesystem/watcher-binding.js +1 -1
  424. package/dist/filesystem/watcher.js +15 -15
  425. package/dist/filesystem.js +100 -100
  426. package/dist/form.js +85 -85
  427. package/dist/formatter/builtins.js +4 -4
  428. package/dist/formatter.js +86 -86
  429. package/dist/generate.js +90 -90
  430. package/dist/git.js +8 -8
  431. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  432. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  433. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  435. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  437. package/dist/github-copilot/copilot-provider.js +17 -17
  438. package/dist/github-copilot/models.js +7 -7
  439. package/dist/github-copilot/openai-compatible-error.js +1 -1
  440. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  441. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  442. package/dist/github-copilot/responses/openai-error.js +1 -1
  443. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  444. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  445. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  446. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  447. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  450. package/dist/id/id.js +1 -1
  451. package/dist/image/photon.js +2 -2
  452. package/dist/image.js +6 -6
  453. package/dist/instance/service.js +5 -5
  454. package/dist/instance.js +354 -354
  455. package/dist/instruction-discovery.js +84 -84
  456. package/dist/instructions/builtins.js +84 -84
  457. package/dist/instructions/index.js +1 -1
  458. package/dist/integration/connection.js +1 -1
  459. package/dist/integration.js +85 -85
  460. package/dist/job.js +78 -78
  461. package/dist/kv/sql.js +2 -2
  462. package/dist/kv.js +72 -72
  463. package/dist/location-activity.js +133 -133
  464. package/dist/location-mutation.js +101 -101
  465. package/dist/location-service-map.js +83 -83
  466. package/dist/location-services.js +351 -351
  467. package/dist/location.js +82 -82
  468. package/dist/mcp/client.js +88 -88
  469. package/dist/mcp/index.js +103 -103
  470. package/dist/mcp/instructions.js +124 -124
  471. package/dist/mcp/oauth.js +3 -3
  472. package/dist/mcp/stdio.js +87 -87
  473. package/dist/mime.js +1 -1
  474. package/dist/modal/models.js +7 -7
  475. package/dist/model-resolver.js +87 -87
  476. package/dist/model.js +6 -6
  477. package/dist/models-dev.js +87 -87
  478. package/dist/oauth/page.js +1 -1
  479. package/dist/permission/saved.js +81 -81
  480. package/dist/permission/sql.js +5 -5
  481. package/dist/permission.js +110 -110
  482. package/dist/persistent-pty/binary.bun.js +1 -1
  483. package/dist/persistent-pty/daemon.js +1 -1
  484. package/dist/persistent-pty/index.js +85 -85
  485. package/dist/persistent-pty/pty-binding.js +1 -1
  486. package/dist/persistent-pty.js +74 -74
  487. package/dist/plugin/agent.js +99 -99
  488. package/dist/plugin/command.js +94 -94
  489. package/dist/plugin/hooks.js +5 -5
  490. package/dist/plugin/host.js +215 -215
  491. package/dist/plugin/instance.js +5 -5
  492. package/dist/plugin/internal.js +325 -325
  493. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  494. package/dist/plugin/models-dev.js +76 -76
  495. package/dist/plugin/module.js +7 -7
  496. package/dist/plugin/optimize.js +2 -2
  497. package/dist/plugin/plan.js +97 -97
  498. package/dist/plugin/promise.js +1 -1
  499. package/dist/plugin/provider/alibaba.js +2 -2
  500. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  501. package/dist/plugin/provider/azure.js +120 -120
  502. package/dist/plugin/provider/cerebras.js +2 -2
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +119 -119
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +119 -119
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +116 -116
  507. package/dist/plugin/provider/digitalocean.js +80 -80
  508. package/dist/plugin/provider/dynamic.js +2 -2
  509. package/dist/plugin/provider/factory.js +1 -1
  510. package/dist/plugin/provider/gateway.js +2 -2
  511. package/dist/plugin/provider/github-copilot.js +81 -81
  512. package/dist/plugin/provider/gitlab.js +3 -3
  513. package/dist/plugin/provider/google-vertex.js +2 -2
  514. package/dist/plugin/provider/kilo.js +2 -2
  515. package/dist/plugin/provider/llmgateway.js +77 -77
  516. package/dist/plugin/provider/lmstudio.js +119 -119
  517. package/dist/plugin/provider/modal.js +80 -80
  518. package/dist/plugin/provider/nvidia.js +2 -2
  519. package/dist/plugin/provider/ollama.js +119 -119
  520. package/dist/plugin/provider/openai-compatible.js +1 -1
  521. package/dist/plugin/provider/openai.js +79 -79
  522. package/dist/plugin/provider/opencode.js +80 -80
  523. package/dist/plugin/provider/openrouter.js +3 -3
  524. package/dist/plugin/provider/perplexity.js +2 -2
  525. package/dist/plugin/provider/poe.js +77 -77
  526. package/dist/plugin/provider/sap-ai-core.js +3 -3
  527. package/dist/plugin/provider/sdk-factory.js +1 -1
  528. package/dist/plugin/provider/snowflake-cortex.js +119 -119
  529. package/dist/plugin/provider/venice.js +2 -2
  530. package/dist/plugin/provider/vercel.js +2 -2
  531. package/dist/plugin/provider/vllm.js +117 -117
  532. package/dist/plugin/provider/xai.js +78 -78
  533. package/dist/plugin/provider/zenmux.js +2 -2
  534. package/dist/plugin/provider.js +158 -158
  535. package/dist/plugin/sdk.js +75 -75
  536. package/dist/plugin/service.js +1 -1
  537. package/dist/plugin/skill.js +133 -133
  538. package/dist/plugin/source-directory.js +1 -1
  539. package/dist/plugin/supervisor.js +344 -344
  540. package/dist/plugin/update.js +6 -6
  541. package/dist/plugin/variant.js +4 -4
  542. package/dist/plugin/vcs/git.js +83 -83
  543. package/dist/plugin/vcs/hg.js +83 -83
  544. package/dist/plugin/warming.js +114 -114
  545. package/dist/plugin/websearch/exa.js +3 -3
  546. package/dist/plugin/websearch/firecrawl.js +8 -8
  547. package/dist/plugin/websearch/index.js +9 -9
  548. package/dist/plugin/websearch/mcp.js +2 -2
  549. package/dist/plugin/websearch/parallel.js +4 -4
  550. package/dist/plugin/websearch/tavily.js +2 -2
  551. package/dist/plugin/websearch/tinyfish.js +8 -8
  552. package/dist/plugin.js +224 -224
  553. package/dist/project/schema.js +2 -2
  554. package/dist/project/sql.js +4 -4
  555. package/dist/project.js +81 -81
  556. package/dist/provider.js +7 -7
  557. package/dist/pty/protocol.js +1 -1
  558. package/dist/pty/schema.js +3 -3
  559. package/dist/pty/ticket.js +1 -1
  560. package/dist/pty.js +96 -96
  561. package/dist/reference/instructions.js +84 -84
  562. package/dist/reference.js +84 -84
  563. package/dist/repository-cache.js +78 -78
  564. package/dist/repository.js +1 -1
  565. package/dist/ripgrep/binary.js +2 -2
  566. package/dist/ripgrep.js +93 -93
  567. package/dist/rpc.js +83 -83
  568. package/dist/schema.js +1 -1
  569. package/dist/session/command.js +73 -73
  570. package/dist/session/compaction.js +131 -131
  571. package/dist/session/context.js +149 -149
  572. package/dist/session/diff.js +85 -85
  573. package/dist/session/environment.js +5 -5
  574. package/dist/session/error.js +5 -5
  575. package/dist/session/event.js +1 -1
  576. package/dist/session/execution/restart.js +222 -222
  577. package/dist/session/execution.js +124 -124
  578. package/dist/session/generate.js +148 -148
  579. package/dist/session/history.js +13 -13
  580. package/dist/session/inbox.js +83 -83
  581. package/dist/session/info.js +3 -3
  582. package/dist/session/instruction-entry.js +78 -78
  583. package/dist/session/instruction-state.js +8 -8
  584. package/dist/session/instructions.js +94 -94
  585. package/dist/session/message-updater.js +4 -4
  586. package/dist/session/message.js +1 -1
  587. package/dist/session/model-request.js +115 -115
  588. package/dist/session/model-transport.js +9 -9
  589. package/dist/session/move.js +128 -128
  590. package/dist/session/projector.js +85 -85
  591. package/dist/session/prompt.js +102 -102
  592. package/dist/session/provider-context.js +3 -3
  593. package/dist/session/revert.js +87 -87
  594. package/dist/session/run-coordinator.js +1 -1
  595. package/dist/session/runner/index.js +3 -3
  596. package/dist/session/runner/llm.js +227 -227
  597. package/dist/session/runner/max-steps.js +1 -1
  598. package/dist/session/runner/model.js +87 -87
  599. package/dist/session/runner/publish-llm-event.js +3 -3
  600. package/dist/session/runner/retry.js +112 -112
  601. package/dist/session/runner/step.js +123 -123
  602. package/dist/session/runner/to-llm-message.js +2 -2
  603. package/dist/session/schema.js +5 -5
  604. package/dist/session/session.js +169 -169
  605. package/dist/session/shell.js +133 -133
  606. package/dist/session/skill.js +100 -100
  607. package/dist/session/sql.js +5 -5
  608. package/dist/session/stats.js +72 -72
  609. package/dist/session/store.js +86 -86
  610. package/dist/session/subagent-completion.js +1 -1
  611. package/dist/session/subagent-job.js +208 -208
  612. package/dist/session/system-prompt.js +5 -5
  613. package/dist/session/title.js +153 -153
  614. package/dist/session/to-session-error.js +109 -109
  615. package/dist/session/transfer.js +218 -218
  616. package/dist/session/usage.js +1 -1
  617. package/dist/session.js +216 -216
  618. package/dist/shell/parse.js +6 -6
  619. package/dist/shell/result.js +1 -1
  620. package/dist/shell/scan.js +1 -1
  621. package/dist/shell/select.js +11 -11
  622. package/dist/shell.js +135 -135
  623. package/dist/skill/discovery.js +6 -6
  624. package/dist/skill/instructions.js +100 -100
  625. package/dist/skill.js +103 -103
  626. package/dist/snapshot.js +90 -90
  627. package/dist/state.js +1 -1
  628. package/dist/tool/html-markdown.js +1 -1
  629. package/dist/tool/http-body.js +1 -1
  630. package/dist/tool/mcp.js +123 -123
  631. package/dist/tool/plugin/edit.js +117 -117
  632. package/dist/tool/plugin/file-diff.js +1 -1
  633. package/dist/tool/plugin/glob.js +118 -118
  634. package/dist/tool/plugin/grep.js +114 -114
  635. package/dist/tool/plugin/opencode.js +3 -3
  636. package/dist/tool/plugin/patch.js +119 -119
  637. package/dist/tool/plugin/question.js +100 -100
  638. package/dist/tool/plugin/read.js +123 -123
  639. package/dist/tool/plugin/shell.js +215 -215
  640. package/dist/tool/plugin/skill.js +110 -110
  641. package/dist/tool/plugin/subagent.js +213 -213
  642. package/dist/tool/plugin/webfetch.js +105 -105
  643. package/dist/tool/plugin/websearch.js +109 -109
  644. package/dist/tool/plugin/write.js +117 -117
  645. package/dist/tool/read-filesystem.js +98 -98
  646. package/dist/tool/runtime.js +1 -1
  647. package/dist/tool-output.js +8 -8
  648. package/dist/tool.js +13 -13
  649. package/dist/util/error-summary.js +1 -1
  650. package/dist/util/error.js +1 -1
  651. package/dist/util/iife.js +1 -1
  652. package/dist/util/lazy.js +1 -1
  653. package/dist/util/slug.js +1 -1
  654. package/dist/util/token.js +1 -1
  655. package/dist/util/which.js +1 -1
  656. package/dist/util/wildcard.js +1 -1
  657. package/dist/v1/config/agent.js +5 -5
  658. package/dist/v1/config/attachment.js +4 -4
  659. package/dist/v1/config/command.js +5 -5
  660. package/dist/v1/config/config.js +16 -16
  661. package/dist/v1/config/error.js +2 -2
  662. package/dist/v1/config/formatter.js +5 -5
  663. package/dist/v1/config/layout.js +1 -1
  664. package/dist/v1/config/lsp.js +3 -3
  665. package/dist/v1/config/mcp.js +4 -4
  666. package/dist/v1/config/migrate.js +4 -4
  667. package/dist/v1/config/permission.js +3 -3
  668. package/dist/v1/config/plugin.js +3 -3
  669. package/dist/v1/config/provider-options.js +1 -1
  670. package/dist/v1/config/provider.js +4 -4
  671. package/dist/v1/config/server.js +2 -2
  672. package/dist/v1/config/skills.js +3 -3
  673. package/dist/v1/permission.js +1 -1
  674. package/dist/vcs/patch.js +1 -1
  675. package/dist/vcs.js +86 -86
  676. package/dist/websearch.js +81 -81
  677. package/dist/wellknown/plugin.js +75 -75
  678. package/dist/wellknown.js +80 -80
  679. package/dist/workspace/driver.js +5 -5
  680. package/dist/workspace/sql.js +1 -1
  681. package/dist/workspace.js +79 -79
  682. package/dist/worktree/directory.js +2 -2
  683. package/dist/worktree/git.js +8 -8
  684. package/dist/worktree/refresh.js +343 -343
  685. package/dist/worktree/sql.js +5 -5
  686. package/dist/worktree.js +89 -89
  687. package/package.json +8 -8
  688. package/dist/chunks/catalog-0mesazry.js +0 -4
  689. package/dist/chunks/catalog-1430a4z4.js +0 -247
  690. /package/dist/chunks/{catalog-0qkdqm5v.js → config-0qkdqm5v.js} +0 -0
  691. /package/dist/chunks/{catalog-0zkw76rk.js → config-0zkw76rk.js} +0 -0
  692. /package/dist/chunks/{catalog-17cy0kzp.js → config-17cy0kzp.js} +0 -0
  693. /package/dist/chunks/{catalog-1cnp2v09.js → config-1cnp2v09.js} +0 -0
  694. /package/dist/chunks/{catalog-1kg9ymc8.js → config-1kg9ymc8.js} +0 -0
  695. /package/dist/chunks/{catalog-2710q6r3.js → config-2710q6r3.js} +0 -0
  696. /package/dist/chunks/{catalog-2axfhc9x.js → config-2axfhc9x.js} +0 -0
  697. /package/dist/chunks/{catalog-2c3vjs8z.js → config-2c3vjs8z.js} +0 -0
  698. /package/dist/chunks/{catalog-359p4xyc.js → config-359p4xyc.js} +0 -0
  699. /package/dist/chunks/{catalog-3asan66x.js → config-3asan66x.js} +0 -0
  700. /package/dist/chunks/{catalog-3v8g72cx.js → config-3v8g72cx.js} +0 -0
  701. /package/dist/chunks/{catalog-3w5fmr99.js → config-3w5fmr99.js} +0 -0
  702. /package/dist/chunks/{catalog-3wcehsnq.js → config-3wcehsnq.js} +0 -0
  703. /package/dist/chunks/{catalog-43n2bw4t.js → config-43n2bw4t.js} +0 -0
  704. /package/dist/chunks/{catalog-4knz6hnm.js → config-4knz6hnm.js} +0 -0
  705. /package/dist/chunks/{catalog-4vcrnpx2.js → config-4vcrnpx2.js} +0 -0
  706. /package/dist/chunks/{catalog-4y7fprxs.js → config-4y7fprxs.js} +0 -0
  707. /package/dist/chunks/{catalog-53557ph1.js → config-53557ph1.js} +0 -0
  708. /package/dist/chunks/{catalog-550bvhaj.js → config-550bvhaj.js} +0 -0
  709. /package/dist/chunks/{catalog-6prwharc.js → config-6prwharc.js} +0 -0
  710. /package/dist/chunks/{catalog-7akdwqpd.js → config-7akdwqpd.js} +0 -0
  711. /package/dist/chunks/{catalog-7m9af43g.js → config-7m9af43g.js} +0 -0
  712. /package/dist/chunks/{catalog-822emrt2.js → config-822emrt2.js} +0 -0
  713. /package/dist/chunks/{catalog-88xbtdfr.js → config-88xbtdfr.js} +0 -0
  714. /package/dist/chunks/{catalog-8n3pysct.js → config-8n3pysct.js} +0 -0
  715. /package/dist/chunks/{catalog-922hggd3.js → config-922hggd3.js} +0 -0
  716. /package/dist/chunks/{catalog-9a4afbnw.js → config-9a4afbnw.js} +0 -0
  717. /package/dist/chunks/{catalog-9rqn6x4v.js → config-9rqn6x4v.js} +0 -0
  718. /package/dist/chunks/{catalog-a6k6eb26.js → config-a6k6eb26.js} +0 -0
  719. /package/dist/chunks/{catalog-af5trqkr.js → config-af5trqkr.js} +0 -0
  720. /package/dist/chunks/{catalog-afrmfg78.js → config-afrmfg78.js} +0 -0
  721. /package/dist/chunks/{catalog-aqzs7mqg.js → config-aqzs7mqg.js} +0 -0
  722. /package/dist/chunks/{catalog-atq7p7m5.js → config-atq7p7m5.js} +0 -0
  723. /package/dist/chunks/{catalog-bkyjaxrp.js → config-bkyjaxrp.js} +0 -0
  724. /package/dist/chunks/{catalog-bmr6ed5q.js → config-bmr6ed5q.js} +0 -0
  725. /package/dist/chunks/{catalog-cf4snx6d.js → config-cf4snx6d.js} +0 -0
  726. /package/dist/chunks/{catalog-cvy3z8tj.js → config-cvy3z8tj.js} +0 -0
  727. /package/dist/chunks/{catalog-d9fn303g.js → config-d9fn303g.js} +0 -0
  728. /package/dist/chunks/{catalog-d9jj8t3e.js → config-d9jj8t3e.js} +0 -0
  729. /package/dist/chunks/{catalog-dajrwvna.js → config-dajrwvna.js} +0 -0
  730. /package/dist/chunks/{catalog-dap0rakb.js → config-dap0rakb.js} +0 -0
  731. /package/dist/chunks/{catalog-df08tz66.js → config-df08tz66.js} +0 -0
  732. /package/dist/chunks/{catalog-dy18nga0.js → config-dy18nga0.js} +0 -0
  733. /package/dist/chunks/{catalog-e5kj55wp.js → config-e5kj55wp.js} +0 -0
  734. /package/dist/chunks/{catalog-e73j6tqm.js → config-e73j6tqm.js} +0 -0
  735. /package/dist/chunks/{catalog-ec1grn59.js → config-ec1grn59.js} +0 -0
  736. /package/dist/chunks/{catalog-eh3zwz77.js → config-eh3zwz77.js} +0 -0
  737. /package/dist/chunks/{catalog-emrn6kk6.js → config-emrn6kk6.js} +0 -0
  738. /package/dist/chunks/{catalog-f0mxakyp.js → config-f0mxakyp.js} +0 -0
  739. /package/dist/chunks/{catalog-f6n9ztr4.js → config-f6n9ztr4.js} +0 -0
  740. /package/dist/chunks/{catalog-faypxj3z.js → config-faypxj3z.js} +0 -0
  741. /package/dist/chunks/{catalog-fd410y7t.js → config-fd410y7t.js} +0 -0
  742. /package/dist/chunks/{catalog-fxgpk5d8.js → config-fxgpk5d8.js} +0 -0
  743. /package/dist/chunks/{catalog-g4wezp1m.js → config-g4wezp1m.js} +0 -0
  744. /package/dist/chunks/{catalog-g86h250q.js → config-g86h250q.js} +0 -0
  745. /package/dist/chunks/{catalog-gebd4c9n.js → config-gebd4c9n.js} +0 -0
  746. /package/dist/chunks/{catalog-gftt206x.js → config-gftt206x.js} +0 -0
  747. /package/dist/chunks/{catalog-hjbc5kem.js → config-hjbc5kem.js} +0 -0
  748. /package/dist/chunks/{catalog-hk9envan.js → config-hk9envan.js} +0 -0
  749. /package/dist/chunks/{catalog-hrnqkpcd.js → config-hrnqkpcd.js} +0 -0
  750. /package/dist/chunks/{catalog-j2ntwpah.js → config-j2ntwpah.js} +0 -0
  751. /package/dist/chunks/{catalog-j5zkgpj8.js → config-j5zkgpj8.js} +0 -0
  752. /package/dist/chunks/{catalog-jr7sbwjy.js → config-jr7sbwjy.js} +0 -0
  753. /package/dist/chunks/{catalog-jwfs4k6c.js → config-jwfs4k6c.js} +0 -0
  754. /package/dist/chunks/{catalog-jzg6c2d5.js → config-jzg6c2d5.js} +0 -0
  755. /package/dist/chunks/{catalog-mp448xyj.js → config-mp448xyj.js} +0 -0
  756. /package/dist/chunks/{catalog-msx8hqn2.js → config-msx8hqn2.js} +0 -0
  757. /package/dist/chunks/{catalog-n05xt0ee.js → config-n05xt0ee.js} +0 -0
  758. /package/dist/chunks/{catalog-n3j8tn72.js → config-n3j8tn72.js} +0 -0
  759. /package/dist/chunks/{catalog-njntx4h6.js → config-njntx4h6.js} +0 -0
  760. /package/dist/chunks/{catalog-paphc93g.js → config-paphc93g.js} +0 -0
  761. /package/dist/chunks/{catalog-q3sfg36h.js → config-q3sfg36h.js} +0 -0
  762. /package/dist/chunks/{catalog-q74kybfr.js → config-q74kybfr.js} +0 -0
  763. /package/dist/chunks/{catalog-qaymkmh1.js → config-qaymkmh1.js} +0 -0
  764. /package/dist/chunks/{catalog-qb87gjwd.js → config-qb87gjwd.js} +0 -0
  765. /package/dist/chunks/{catalog-qfa1cgps.js → config-qfa1cgps.js} +0 -0
  766. /package/dist/chunks/{catalog-qrg20bc0.js → config-qrg20bc0.js} +0 -0
  767. /package/dist/chunks/{catalog-rcb2kzg1.js → config-rcb2kzg1.js} +0 -0
  768. /package/dist/chunks/{catalog-sdp7kfr6.js → config-sdp7kfr6.js} +0 -0
  769. /package/dist/chunks/{catalog-sk3qaz4a.js → config-sk3qaz4a.js} +0 -0
  770. /package/dist/chunks/{catalog-ssg3fenm.js → config-ssg3fenm.js} +0 -0
  771. /package/dist/chunks/{catalog-twg0f83k.js → config-twg0f83k.js} +0 -0
  772. /package/dist/chunks/{catalog-w803qqfp.js → config-w803qqfp.js} +0 -0
  773. /package/dist/chunks/{catalog-wer8tq1h.js → config-wer8tq1h.js} +0 -0
  774. /package/dist/chunks/{catalog-wtztk69x.js → config-wtztk69x.js} +0 -0
  775. /package/dist/chunks/{catalog-x0ckcb58.js → config-x0ckcb58.js} +0 -0
  776. /package/dist/chunks/{catalog-x61499pn.js → config-x61499pn.js} +0 -0
  777. /package/dist/chunks/{catalog-y44na4kk.js → config-y44na4kk.js} +0 -0
  778. /package/dist/chunks/{catalog-y8cydn3q.js → config-y8cydn3q.js} +0 -0
  779. /package/dist/chunks/{catalog-y8f7s663.js → config-y8f7s663.js} +0 -0
  780. /package/dist/chunks/{catalog-ygaqb7jw.js → config-ygaqb7jw.js} +0 -0
  781. /package/dist/chunks/{catalog-ym463w8f.js → config-ym463w8f.js} +0 -0
  782. /package/dist/chunks/{catalog-z9919s4g.js → config-z9919s4g.js} +0 -0
@@ -1,57 +1,57 @@
1
1
  import {
2
2
  Service80
3
- } from "./catalog-xed6wpct.js";
3
+ } from "./config-dnp868cw.js";
4
4
  import {
5
- Service79
6
- } from "./catalog-k83b6fmf.js";
5
+ Service78
6
+ } from "./config-0f4qaedh.js";
7
7
  import {
8
- Service43
9
- } from "./catalog-ve6nm2s5.js";
8
+ Service38
9
+ } from "./config-ghk9cxjs.js";
10
10
  import {
11
11
  userNotification2
12
- } from "./catalog-fxbjtjnd.js";
12
+ } from "./config-fxbjtjnd.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./catalog-gftt206x.js";
15
+ } from "./config-gftt206x.js";
16
16
  import {
17
- NotFoundError9,
17
+ NotFoundError10,
18
18
  PromptConflictError2,
19
19
  SyntheticConflictError2,
20
20
  CompactionConflictError2,
21
21
  BusyError2,
22
22
  InboxConflictError2
23
- } from "./catalog-ybhbtxjg.js";
23
+ } from "./config-eefhzbjy.js";
24
24
  import {
25
25
  SessionEvent2
26
- } from "./catalog-ec1grn59.js";
26
+ } from "./config-ec1grn59.js";
27
27
  import {
28
- Service59
29
- } from "./catalog-tq5s4jp4.js";
28
+ Service71
29
+ } from "./config-0fcjdm2s.js";
30
30
  import {
31
31
  Delivery2,
32
32
  SyntheticPayload2,
33
- Service42
34
- } from "./catalog-1674zkpa.js";
33
+ Service39
34
+ } from "./config-fqw2r1v4.js";
35
35
  import {
36
- Service40
37
- } from "./catalog-pqptdgd0.js";
36
+ Service36
37
+ } from "./config-awb4aq70.js";
38
38
  import {
39
39
  prepare2
40
- } from "./catalog-6jb1cs02.js";
40
+ } from "./config-9h617dca.js";
41
41
  import {
42
42
  stage2,
43
43
  clear2,
44
44
  commit2
45
- } from "./catalog-03n94606.js";
45
+ } from "./config-va88dqc9.js";
46
46
  import {
47
47
  start2
48
- } from "./catalog-gjtvc0xj.js";
48
+ } from "./config-jh5bdp6a.js";
49
49
  import {
50
50
  get4
51
- } from "./catalog-k2zws4sn.js";
51
+ } from "./config-9n26bwhx.js";
52
52
  import {
53
53
  __export
54
- } from "./catalog-9rqn6x4v.js";
54
+ } from "./config-9rqn6x4v.js";
55
55
 
56
56
  // src/session/session.ts
57
57
  var exports_session2 = {};
@@ -63,18 +63,18 @@ import { DateTime, Effect, Fiber, Scope } from "effect";
63
63
  import { Event } from "@opencode/schema/event";
64
64
  import { FSUtil } from "@opencode/util/fs-util";
65
65
  var make12 = Effect.fn("Session.make")(function* () {
66
- const bus = yield* Service79;
66
+ const bus = yield* Service78;
67
67
  const database = yield* Service80;
68
- const store = yield* Service59;
69
- const instances = yield* Service43;
70
- const execution = yield* Service40;
71
- const admission = yield* Service42;
68
+ const store = yield* Service71;
69
+ const instances = yield* Service38;
70
+ const execution = yield* Service36;
71
+ const admission = yield* Service39;
72
72
  const fs = yield* FSUtil.Service;
73
73
  const scope = yield* Scope.Scope;
74
74
  const get = Effect.fn("Session.get")(function* (sessionID) {
75
75
  const session = yield* store.get(sessionID);
76
76
  if (!session)
77
- return yield* new NotFoundError9({ sessionID });
77
+ return yield* new NotFoundError10({ sessionID });
78
78
  return session;
79
79
  });
80
80
  const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
@@ -131,7 +131,7 @@ var make12 = Effect.fn("Session.make")(function* () {
131
131
  });
132
132
  if (existing)
133
133
  return existing;
134
- const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service43, instances), Effect.provideService(FSUtil.Service, fs)));
134
+ const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service38, instances), Effect.provideService(FSUtil.Service, fs)));
135
135
  if (session.revert)
136
136
  yield* commit2(bus, session);
137
137
  return yield* admission.admit({
@@ -147,7 +147,7 @@ var make12 = Effect.fn("Session.make")(function* () {
147
147
  const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
148
148
  const session = yield* get(sessionID);
149
149
  const running = yield* Effect.gen(function* () {
150
- const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service43, instances), Effect.tapError((error) => synthetic(sessionID, {
150
+ const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service38, instances), Effect.tapError((error) => synthetic(sessionID, {
151
151
  text: `User shell command failed to start:
152
152
  ${input.command}
153
153
 
@@ -176,7 +176,7 @@ ${error.message}`,
176
176
  });
177
177
  const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
178
178
  const session = yield* get(sessionID);
179
- const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service43, instances));
179
+ const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service38, instances));
180
180
  yield* bus.publish(SessionEvent2.Skill.Activated, {
181
181
  sessionID,
182
182
  id: skill.id,
@@ -233,13 +233,13 @@ ${error.message}`,
233
233
  const session = yield* get(sessionID);
234
234
  if (yield* execution.isActive(sessionID))
235
235
  return yield* new BusyError2({ sessionID });
236
- return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service43, instances), Effect.provideService(Service80, database), Effect.provideService(Service79, bus));
236
+ return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service38, instances), Effect.provideService(Service80, database), Effect.provideService(Service78, bus));
237
237
  });
238
238
  const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
239
239
  const session = yield* get(sessionID);
240
240
  if (yield* execution.isActive(sessionID))
241
241
  return yield* new BusyError2({ sessionID });
242
- yield* clear2(session).pipe(Effect.provideService(Service43, instances), Effect.provideService(Service79, bus));
242
+ yield* clear2(session).pipe(Effect.provideService(Service38, instances), Effect.provideService(Service78, bus));
243
243
  return yield* execution.wake(sessionID);
244
244
  });
245
245
  const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service38,
3
- node42
4
- } from "./catalog-fsz3pvss.js";
2
+ Service64,
3
+ node68
4
+ } from "./config-1wz5dzjv.js";
5
5
  import {
6
- Service76,
7
- node81
8
- } from "./catalog-2vkg433n.js";
6
+ Service75,
7
+ node80
8
+ } from "./config-4yh8hrgk.js";
9
9
  import {
10
- Service37,
11
- node41
12
- } from "./catalog-epb99101.js";
10
+ Service63,
11
+ node67
12
+ } from "./config-pcsvspjz.js";
13
13
  import {
14
14
  names2,
15
15
  discover2
16
- } from "./catalog-zxq2ej10.js";
16
+ } from "./config-zxq2ej10.js";
17
17
  import {
18
18
  __export
19
- } from "./catalog-9rqn6x4v.js";
19
+ } from "./config-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/source.ts
22
22
  var exports_source = {};
23
23
  __export(exports_source, {
24
24
  ConfigPluginSource: () => exports_source,
25
- Service: () => Service10,
25
+ Service: () => Service9,
26
26
  empty: () => empty2,
27
- layer: () => layer7,
28
- node: () => node13
27
+ layer: () => layer6,
28
+ node: () => node12
29
29
  });
30
30
  import { FSUtil } from "@opencode/util/fs-util";
31
31
  import { Host } from "@opencode/plugin/host";
@@ -33,13 +33,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
34
34
  import path from "path";
35
35
  import { fileURLToPath, pathToFileURL } from "url";
36
- class Service10 extends Context.Service()("@opencode/ConfigPluginSource") {
36
+ class Service9 extends Context.Service()("@opencode/ConfigPluginSource") {
37
37
  }
38
- var layer7 = Layer.effect(Service10, Effect.gen(function* () {
39
- const config = yield* Service37;
40
- const watcher = yield* Service38;
38
+ var layer6 = Layer.effect(Service9, Effect.gen(function* () {
39
+ const config = yield* Service63;
40
+ const watcher = yield* Service64;
41
41
  const fs = yield* FSUtil.Service;
42
- const location = yield* Service76;
42
+ const location = yield* Service75;
43
43
  const configuredChanges = yield* PubSub.unbounded();
44
44
  const watched = new Set;
45
45
  const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
@@ -58,7 +58,7 @@ var layer7 = Layer.effect(Service10, Effect.gen(function* () {
58
58
  yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
59
59
  }
60
60
  });
61
- return Service10.of({
61
+ return Service9.of({
62
62
  operations: Effect.fn("ConfigPluginSource.operations")(function* () {
63
63
  const entries = yield* config.entries();
64
64
  const operations = yield* scan(fs, location, entries);
@@ -70,14 +70,14 @@ var layer7 = Layer.effect(Service10, Effect.gen(function* () {
70
70
  })), Stream.fromPubSub(configuredChanges))
71
71
  });
72
72
  }));
73
- var node13 = makeLocationNode({
74
- service: Service10,
75
- layer: layer7,
76
- deps: [node41, FSUtil.node, node42, node81]
73
+ var node12 = makeLocationNode({
74
+ service: Service9,
75
+ layer: layer6,
76
+ deps: [node67, FSUtil.node, node68, node80]
77
77
  });
78
78
  var empty2 = makeLocationNode({
79
- service: Service10,
80
- layer: Layer.succeed(Service10, Service10.of({
79
+ service: Service9,
80
+ layer: Layer.succeed(Service9, Service9.of({
81
81
  operations: () => Effect.succeed([]),
82
82
  changes: () => Stream.never
83
83
  })),
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
137
137
  return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
138
138
  }
139
139
 
140
- export { Service10, layer7, node13, empty2, exports_source };
140
+ export { Service9, layer6, node12, empty2, exports_source };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./catalog-2a5m3afh.js";
5
+ } from "./config-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./catalog-9rqn6x4v.js";
8
+ } from "./config-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/exec-defaults.ts
11
11
  var exports_exec_defaults = {};
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service79,
3
- node84
4
- } from "./catalog-k83b6fmf.js";
2
+ Service78,
3
+ node83
4
+ } from "./config-0f4qaedh.js";
5
5
  import {
6
6
  create3
7
- } from "./catalog-kg06axw8.js";
7
+ } from "./config-kg06axw8.js";
8
8
  import {
9
9
  __export
10
- } from "./catalog-9rqn6x4v.js";
10
+ } from "./config-9rqn6x4v.js";
11
11
 
12
12
  // src/command.ts
13
- var exports_command5 = {};
14
- __export(exports_command5, {
15
- Command: () => exports_command5,
16
- Event: () => Event9,
13
+ var exports_command4 = {};
14
+ __export(exports_command4, {
15
+ Command: () => exports_command4,
16
+ Event: () => Event6,
17
17
  ExecutionError: () => ExecutionError2,
18
- Info: () => Info18,
19
- NotFoundError: () => NotFoundError6,
20
- Service: () => Service47,
21
- layer: () => layer19,
22
- node: () => node50
18
+ Info: () => Info5,
19
+ NotFoundError: () => NotFoundError5,
20
+ Service: () => Service42,
21
+ layer: () => layer20,
22
+ node: () => node45
23
23
  });
24
24
  import { Command } from "@opencode/schema/command";
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
- import { Event as Event9 } from "@opencode/schema/command";
28
- var Info18 = Command.Info;
27
+ import { Event as Event6 } from "@opencode/schema/command";
28
+ var Info5 = Command.Info;
29
29
 
30
- class NotFoundError6 extends Schema.TaggedError()("Command.NotFoundError", {
30
+ class NotFoundError5 extends Schema.TaggedError()("Command.NotFoundError", {
31
31
  command: Schema.String,
32
32
  message: Schema.String
33
33
  }) {
@@ -39,10 +39,10 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
39
39
  }) {
40
40
  }
41
41
 
42
- class Service47 extends Context.Service()("@opencode/Command") {
42
+ class Service42 extends Context.Service()("@opencode/Command") {
43
43
  }
44
- var layer19 = Layer.effect(Service47, Effect.gen(function* () {
45
- const bus = yield* Service79;
44
+ var layer20 = Layer.effect(Service42, Effect.gen(function* () {
45
+ const bus = yield* Service78;
46
46
  const state = create3({
47
47
  name: "command",
48
48
  initial: () => new Map,
@@ -51,11 +51,11 @@ var layer19 = Layer.effect(Service47, Effect.gen(function* () {
51
51
  }),
52
52
  notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
53
53
  });
54
- const info = (definition) => Info18.make({
54
+ const info = (definition) => Info5.make({
55
55
  name: definition.name,
56
56
  description: definition.description
57
57
  });
58
- return Service47.of({
58
+ return Service42.of({
59
59
  reload: state.reload,
60
60
  transform: state.transform,
61
61
  get: Effect.fn("Command.get")((name) => Effect.sync(() => {
@@ -66,15 +66,15 @@ var layer19 = Layer.effect(Service47, Effect.gen(function* () {
66
66
  execute: Effect.fn("Command.execute")(function* (input) {
67
67
  const definition = state.get().get(input.name);
68
68
  if (!definition)
69
- return yield* new NotFoundError6({ command: input.name, message: `Command not found: ${input.name}` });
69
+ return yield* new NotFoundError5({ command: input.name, message: `Command not found: ${input.name}` });
70
70
  return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
71
71
  })
72
72
  });
73
73
  }));
74
- var node50 = makeLocationNode({
75
- service: Service47,
76
- layer: layer19,
77
- deps: [node84]
74
+ var node45 = makeLocationNode({
75
+ service: Service42,
76
+ layer: layer20,
77
+ deps: [node83]
78
78
  });
79
79
  function errorMessage(error) {
80
80
  if (error instanceof Error)
@@ -86,4 +86,4 @@ function errorMessage(error) {
86
86
  return "Command execution failed";
87
87
  }
88
88
 
89
- export { Info18, NotFoundError6, ExecutionError2, Service47, layer19, node50, exports_command5, Event9 };
89
+ export { Info5, NotFoundError5, ExecutionError2, Service42, layer20, node45, exports_command4, Event6 };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  PATCH_CONTEXT_LINES2
3
- } from "./catalog-tazgh4e4.js";
3
+ } from "./config-tazgh4e4.js";
4
4
  import {
5
- ID6,
6
- Service56
7
- } from "./catalog-01gnzxa7.js";
5
+ ID3,
6
+ Service33
7
+ } from "./config-5m4y1r5y.js";
8
8
  import {
9
9
  SessionSchema2
10
- } from "./catalog-jexxy024.js";
10
+ } from "./config-vjnb44yt.js";
11
11
  import {
12
12
  MessageNotFoundError2
13
- } from "./catalog-ybhbtxjg.js";
13
+ } from "./config-eefhzbjy.js";
14
14
  import {
15
15
  SessionMessageTable2
16
- } from "./catalog-5c4hm403.js";
16
+ } from "./config-a1bz86dw.js";
17
17
  import {
18
18
  __export
19
- } from "./catalog-9rqn6x4v.js";
19
+ } from "./config-9rqn6x4v.js";
20
20
 
21
21
  // src/session/diff.ts
22
22
  var exports_diff = {};
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
81
81
  const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
82
82
  const recorded = steps.findLast((step) => step.end)?.end;
83
83
  return yield* Effect.gen(function* () {
84
- const snapshot = yield* Service56;
84
+ const snapshot = yield* Service33;
85
85
  const running = input.active && final.completed === null;
86
86
  const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
87
87
  if (!to)
88
88
  return [];
89
89
  return yield* snapshot.diff({
90
- from: ID6.make(from),
91
- to: ID6.make(to),
90
+ from: ID3.make(from),
91
+ to: ID3.make(to),
92
92
  context: input.context ?? PATCH_CONTEXT_LINES2
93
93
  });
94
94
  }).pipe(Effect.provide(locations.get(location)));
@@ -1,47 +1,47 @@
1
1
  import {
2
- Service79,
3
- node84
4
- } from "./catalog-k83b6fmf.js";
2
+ Service78,
3
+ node83
4
+ } from "./config-0f4qaedh.js";
5
5
  import {
6
- Service33,
7
- node37
8
- } from "./catalog-5t2tykyh.js";
6
+ Service29,
7
+ node33
8
+ } from "./config-xafwvqr4.js";
9
9
  import {
10
- Service58,
11
- node63
12
- } from "./catalog-d9d4f867.js";
10
+ Service69,
11
+ node74
12
+ } from "./config-aezks1k8.js";
13
13
  import {
14
- Service65,
15
- node70
16
- } from "./catalog-3hj6yb8m.js";
14
+ Service34,
15
+ node38
16
+ } from "./config-wm7nt7d4.js";
17
17
  import {
18
18
  __export
19
- } from "./catalog-9rqn6x4v.js";
19
+ } from "./config-9rqn6x4v.js";
20
20
 
21
21
  // src/tool/mcp.ts
22
22
  var exports_mcp3 = {};
23
23
  __export(exports_mcp3, {
24
24
  McpTool: () => exports_mcp3,
25
- Service: () => Service32,
26
- layer: () => layer13,
27
- name: () => name14,
25
+ Service: () => Service22,
26
+ layer: () => layer12,
27
+ name: () => name13,
28
28
  namespace: () => namespace2,
29
- node: () => node36
29
+ node: () => node26
30
30
  });
31
31
  import { ToolFailure } from "@opencode/ai";
32
32
  import { McpEvent } from "@opencode/schema/mcp-event";
33
33
  import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
34
34
  import { makeLocationNode } from "@opencode/util/effect/app-node";
35
35
  var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
36
- var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
36
+ var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
37
37
 
38
- class Service32 extends Context.Service()("@opencode/McpTool") {
38
+ class Service22 extends Context.Service()("@opencode/McpTool") {
39
39
  }
40
- var layer13 = Layer.effect(Service32, Effect.gen(function* () {
41
- const mcp = yield* Service33;
42
- const tools = yield* Service65;
43
- const bus = yield* Service79;
44
- const permission = yield* Service58;
40
+ var layer12 = Layer.effect(Service22, Effect.gen(function* () {
41
+ const mcp = yield* Service29;
42
+ const tools = yield* Service34;
43
+ const bus = yield* Service78;
44
+ const permission = yield* Service69;
45
45
  const lock = Semaphore.makeUnsafe(1);
46
46
  let discovered = [];
47
47
  const initial = yield* lock.withPermit(Effect.gen(function* () {
@@ -62,7 +62,7 @@ var layer13 = Layer.effect(Service32, Effect.gen(function* () {
62
62
  output: tool.outputSchema ?? {},
63
63
  execute: (input, context) => Effect.gen(function* () {
64
64
  yield* permission.assert({
65
- action: name14(tool.server, tool.name),
65
+ action: name13(tool.server, tool.name),
66
66
  resources: ["*"],
67
67
  save: ["*"],
68
68
  metadata: {},
@@ -111,7 +111,7 @@ var layer13 = Layer.effect(Service32, Effect.gen(function* () {
111
111
  output: output(),
112
112
  ...content.length === 0 ? {} : { content }
113
113
  };
114
- }).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name14(tool.server, tool.name)}` })))
114
+ }).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name13(tool.server, tool.name)}` })))
115
115
  });
116
116
  }
117
117
  });
@@ -124,12 +124,12 @@ var layer13 = Layer.effect(Service32, Effect.gen(function* () {
124
124
  yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
125
125
  const updates = yield* PubSub.subscribe(changes);
126
126
  yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
127
- return Service32.of({ flush: Effect.asVoid(Fiber.await(initial)) });
127
+ return Service22.of({ flush: Effect.asVoid(Fiber.await(initial)) });
128
128
  }));
129
- var node36 = makeLocationNode({
130
- service: Service32,
131
- layer: layer13,
132
- deps: [node70, node37, node84, node63]
129
+ var node26 = makeLocationNode({
130
+ service: Service22,
131
+ layer: layer12,
132
+ deps: [node38, node33, node83, node74]
133
133
  });
134
134
 
135
- export { namespace2, name14, Service32, layer13, node36, exports_mcp3 };
135
+ export { namespace2, name13, Service22, layer12, node26, exports_mcp3 };
@@ -2,45 +2,45 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./catalog-2a5m3afh.js";
5
+ } from "./config-2a5m3afh.js";
6
6
  import {
7
- Service76
8
- } from "./catalog-2vkg433n.js";
7
+ Service75
8
+ } from "./config-4yh8hrgk.js";
9
9
  import {
10
- Service53
11
- } from "./catalog-dng9x159.js";
10
+ Service57
11
+ } from "./config-5bgpbyy9.js";
12
12
  import {
13
- Service75
14
- } from "./catalog-11g0m7xp.js";
13
+ Service16
14
+ } from "./config-jhb3cebt.js";
15
15
  import {
16
- Service52,
16
+ Service56,
17
17
  readText2,
18
18
  syncTextBom2
19
- } from "./catalog-dtry8psn.js";
19
+ } from "./config-7rdpnw90.js";
20
20
  import {
21
- Service58
22
- } from "./catalog-d9d4f867.js";
21
+ Service69
22
+ } from "./config-aezks1k8.js";
23
23
  import {
24
- Service15,
24
+ Service67,
25
25
  resolvePath2
26
- } from "./catalog-p568kkra.js";
26
+ } from "./config-25mg6vnq.js";
27
27
  import {
28
28
  fileDiff2
29
- } from "./catalog-6prwharc.js";
29
+ } from "./config-6prwharc.js";
30
30
  import {
31
31
  __export
32
- } from "./catalog-9rqn6x4v.js";
32
+ } from "./config-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/patch.ts
35
35
  var exports_patch = {};
36
36
  __export(exports_patch, {
37
37
  Applied: () => Applied2,
38
- Input: () => Input8,
39
- Output: () => Output6,
38
+ Input: () => Input2,
39
+ Output: () => Output2,
40
40
  PatchTool: () => exports_patch,
41
- Plugin: () => Plugin41,
42
- name: () => name8,
43
- toModelContent: () => toModelContent4
41
+ Plugin: () => Plugin17,
42
+ name: () => name2,
43
+ toModelContent: () => toModelContent2
44
44
  });
45
45
  import { ToolFailure } from "@opencode/ai";
46
46
  import { FileDiff } from "@opencode/schema/file-diff";
@@ -85,8 +85,8 @@ It is important to remember:
85
85
  `;
86
86
 
87
87
  // src/tool/plugin/patch.ts
88
- var name8 = "patch";
89
- var Input8 = Schema.Struct({
88
+ var name2 = "patch";
89
+ var Input2 = Schema.Struct({
90
90
  patchText: Schema.String.annotate({
91
91
  description: "The full patch text describing add, update, and delete operations"
92
92
  })
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
96
96
  resource: Schema.String,
97
97
  target: Schema.String
98
98
  });
99
- var Output6 = Schema.Struct({
99
+ var Output2 = Schema.Struct({
100
100
  applied: Schema.Array(Applied2),
101
101
  files: Schema.Array(FileDiff.Info)
102
102
  });
103
- var toModelContent4 = (output) => [
103
+ var toModelContent2 = (output) => [
104
104
  "Success. Updated the following files:",
105
105
  ...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
106
106
  ].join(`
107
107
  `);
108
- var Plugin41 = {
108
+ var Plugin17 = {
109
109
  id: "opencode.tool.patch",
110
110
  effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
111
- const environment = yield* Service53;
112
- const access = yield* Service15;
113
- const fileMutation = yield* Service52;
114
- const formatter = yield* Service75;
115
- const location = yield* Service76;
116
- const permission = yield* Service58;
111
+ const environment = yield* Service57;
112
+ const access = yield* Service67;
113
+ const fileMutation = yield* Service56;
114
+ const formatter = yield* Service16;
115
+ const location = yield* Service75;
116
+ const permission = yield* Service69;
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name8,
118
+ name: name2,
119
119
  options: { codemode: false, permission: "edit" },
120
120
  description: patch_default,
121
- input: Input8,
122
- output: Output6,
121
+ input: Input2,
122
+ output: Output2,
123
123
  execute: (input, context) => {
124
124
  const applied = [];
125
125
  const parsed = Patch.parse(input.patchText);
@@ -266,7 +266,7 @@ var Plugin41 = {
266
266
  return { applied, files };
267
267
  }).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
268
268
  output,
269
- content: toModelContent4(output),
269
+ content: toModelContent2(output),
270
270
  metadata: { files: output.files }
271
271
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
272
272
  }
@@ -326,4 +326,4 @@ function trimDiff(diff) {
326
326
  `);
327
327
  }
328
328
 
329
- export { name8, Input8, Applied2, Output6, toModelContent4, Plugin41, exports_patch };
329
+ export { name2, Input2, Applied2, Output2, toModelContent2, Plugin17, exports_patch };