@opencode/core 0.0.0-dev-21426 → 0.0.0-dev-21441

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 (794) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{config-034tev2y.js → model-034tev2y.js} +2 -2
  8. package/dist/chunks/{config-faecte32.js → model-08jnn3k2.js} +33 -33
  9. package/dist/chunks/{config-e2b9fjdx.js → model-0dhmp2yd.js} +35 -35
  10. package/dist/chunks/{config-20b9eb0y.js → model-0dkhwkzm.js} +13 -13
  11. package/dist/chunks/{config-nt0mbjfb.js → model-0kpm6ny7.js} +30 -19
  12. package/dist/chunks/{config-0asg5kcx.js → model-0ry3h72d.js} +32 -32
  13. package/dist/chunks/{config-0vbcp93d.js → model-0vbcp93d.js} +2 -2
  14. package/dist/chunks/{config-1j2f4qsr.js → model-0xpx2h3j.js} +8 -8
  15. package/dist/chunks/{config-y8ar35d9.js → model-15kwxkkw.js} +34 -34
  16. package/dist/chunks/{config-1ep2p91f.js → model-1ep2p91f.js} +2 -2
  17. package/dist/chunks/{config-pq6k2t1k.js → model-1nxqr4r9.js} +45 -45
  18. package/dist/chunks/{config-kjdm35cs.js → model-1pxz8ven.js} +5 -5
  19. package/dist/chunks/{config-g2g98bkp.js → model-1w8evpxr.js} +7 -7
  20. package/dist/chunks/model-1x11rq2a.js +18 -0
  21. package/dist/chunks/{config-fc6jq9j4.js → model-1xasrt0z.js} +17 -17
  22. package/dist/chunks/{config-1wsr3dh3.js → model-1xc2j506.js} +29 -29
  23. package/dist/chunks/{config-b4ytdsdb.js → model-2395y7e1.js} +11 -11
  24. package/dist/chunks/{config-7z9ajsa5.js → model-27b5n917.js} +5 -5
  25. package/dist/chunks/{config-52kcknyt.js → model-2akrk0qn.js} +3 -3
  26. package/dist/chunks/{config-52hc0txd.js → model-2amemk0s.js} +13 -13
  27. package/dist/chunks/{config-awrk3fb0.js → model-2dk47r97.js} +13 -13
  28. package/dist/chunks/{config-byhx8kym.js → model-2n2s27fs.js} +17 -17
  29. package/dist/chunks/{config-zp3yatdq.js → model-2vtc1qv7.js} +33 -33
  30. package/dist/chunks/{config-x6y6dcgj.js → model-2y6xfkhh.js} +1 -1
  31. package/dist/chunks/{config-8v71k0zv.js → model-2z6g8rew.js} +4 -4
  32. package/dist/chunks/{config-n4rnyzk2.js → model-30xa8m6v.js} +1 -1
  33. package/dist/chunks/{config-595xcfmx.js → model-33hq420q.js} +157 -157
  34. package/dist/chunks/{config-h7ev3d7m.js → model-34596wkg.js} +4 -4
  35. package/dist/chunks/{config-2vqdzajb.js → model-3c7a270v.js} +325 -325
  36. package/dist/chunks/{config-3hepkmqq.js → model-3hepkmqq.js} +1 -1
  37. package/dist/chunks/{config-3hwn7j4h.js → model-3hwn7j4h.js} +2 -2
  38. package/dist/chunks/{config-rs1m2fsr.js → model-3m9ff5cy.js} +14 -14
  39. package/dist/chunks/{config-4envctst.js → model-3tt614cf.js} +12 -12
  40. package/dist/chunks/{config-3tvqynh2.js → model-3tvqynh2.js} +1 -1
  41. package/dist/chunks/{config-w3jg838k.js → model-3z0hjn58.js} +9 -9
  42. package/dist/chunks/{config-3zsf4n22.js → model-3zsf4n22.js} +1 -1
  43. package/dist/chunks/{config-pw3j8gkm.js → model-4qx9rxvs.js} +11 -11
  44. package/dist/chunks/{config-ncf68bzz.js → model-4rqs6yce.js} +8 -8
  45. package/dist/chunks/{config-nwb8xr43.js → model-4tv8d2yj.js} +3 -3
  46. package/dist/chunks/{config-07pek4cx.js → model-4w56xpem.js} +2 -2
  47. package/dist/chunks/{config-b2dv2ce0.js → model-4zjt8g5w.js} +26 -26
  48. package/dist/chunks/{config-a6vnn6sk.js → model-53b0axgb.js} +24 -24
  49. package/dist/chunks/{config-54ma36ye.js → model-54ma36ye.js} +1 -1
  50. package/dist/chunks/{config-kn42yqxp.js → model-54x82z2x.js} +12 -12
  51. package/dist/chunks/{config-vm948sk0.js → model-5a9tc6z0.js} +25 -25
  52. package/dist/chunks/{config-9ma1f7k9.js → model-5b8v8zrf.js} +11 -11
  53. package/dist/chunks/{config-302tx58t.js → model-5ja1d4ns.js} +7 -7
  54. package/dist/chunks/{config-bepc8xst.js → model-5kyqk3pq.js} +22 -22
  55. package/dist/chunks/{config-5m9w47nd.js → model-5m9w47nd.js} +1 -1
  56. package/dist/chunks/{config-e3qxr5gk.js → model-5qd3pb7m.js} +2 -2
  57. package/dist/chunks/{config-x6k018ha.js → model-5vj573xy.js} +19 -19
  58. package/dist/chunks/{config-1bf0fc7d.js → model-5w4y226k.js} +11 -11
  59. package/dist/chunks/{config-6827pfxn.js → model-6827pfxn.js} +1 -1
  60. package/dist/chunks/{config-6gb59z7y.js → model-6ac9zck1.js} +2 -2
  61. package/dist/chunks/{config-6907env3.js → model-6bsfpg63.js} +32 -32
  62. package/dist/chunks/{config-e885zgyg.js → model-6f4br6b4.js} +15 -15
  63. package/dist/chunks/{config-6xb47vfp.js → model-6xb47vfp.js} +1 -1
  64. package/dist/chunks/{config-w0cy9m9e.js → model-6ytk35w5.js} +8 -8
  65. package/dist/chunks/{config-waxg8h9f.js → model-7428ym6e.js} +38 -38
  66. package/dist/chunks/{config-775gj3j1.js → model-775gj3j1.js} +2 -2
  67. package/dist/chunks/{config-pc9qwa86.js → model-77yby8k2.js} +8 -8
  68. package/dist/chunks/{config-7bmhse3q.js → model-7bmhse3q.js} +1 -1
  69. package/dist/chunks/{config-35ng7dkh.js → model-7d2a7xbs.js} +5 -5
  70. package/dist/chunks/{config-dhy8wzd4.js → model-7emsy3e5.js} +11 -11
  71. package/dist/chunks/{config-g92cw1z2.js → model-7fhvptcd.js} +10 -10
  72. package/dist/chunks/{config-4x3ndnvr.js → model-7rsrdkkd.js} +5 -5
  73. package/dist/chunks/{config-txkw7pkq.js → model-81e2q9d2.js} +6 -6
  74. package/dist/chunks/{config-h63x9vp7.js → model-85wqss2v.js} +23 -23
  75. package/dist/chunks/{config-vjyee8yk.js → model-86adn4hf.js} +19 -19
  76. package/dist/chunks/{config-f25fcgnf.js → model-87d4rxkd.js} +25 -25
  77. package/dist/chunks/{config-v3gvycs7.js → model-89bp7pxy.js} +37 -37
  78. package/dist/chunks/{config-tcezcvh9.js → model-89znhe33.js} +4 -4
  79. package/dist/chunks/{config-xcvbpcg3.js → model-8f2rgp07.js} +11 -11
  80. package/dist/chunks/{config-yr1dkphx.js → model-8f3yd2r3.js} +14 -14
  81. package/dist/chunks/{config-3v851aqh.js → model-8faye2d5.js} +3 -3
  82. package/dist/chunks/{config-8m6m0r52.js → model-8m6m0r52.js} +1 -1
  83. package/dist/chunks/{config-8mywswrd.js → model-8mywswrd.js} +1 -1
  84. package/dist/chunks/{config-568n7c7m.js → model-8ppdvrmr.js} +32 -32
  85. package/dist/chunks/{config-e55fgsma.js → model-8xb7wkp5.js} +5 -5
  86. package/dist/chunks/{config-snf3gk9w.js → model-8xxqt97s.js} +12 -12
  87. package/dist/chunks/{config-xj3qrrcf.js → model-8yj6gt86.js} +19 -19
  88. package/dist/chunks/{config-hhjjafxr.js → model-90vjyywb.js} +22 -22
  89. package/dist/chunks/{config-dv1qgsyq.js → model-9hn6k4tm.js} +4 -4
  90. package/dist/chunks/{config-msrd37ae.js → model-9s88q58m.js} +32 -32
  91. package/dist/chunks/{config-9wev2pgg.js → model-9wev2pgg.js} +1 -1
  92. package/dist/chunks/{config-cntk2pgp.js → model-9zh18pxw.js} +14 -14
  93. package/dist/chunks/{config-a20pjse5.js → model-a20pjse5.js} +3 -3
  94. package/dist/chunks/{config-7c4qa9ts.js → model-a3azppd8.js} +20 -20
  95. package/dist/chunks/{config-vv6vh0dz.js → model-am1tmpj5.js} +10 -10
  96. package/dist/chunks/{config-sxp0tgh5.js → model-avhh8dq0.js} +51 -51
  97. package/dist/chunks/{config-am1vdybj.js → model-avvce0kw.js} +4 -4
  98. package/dist/chunks/{config-ztk2zx25.js → model-awq6q12e.js} +16 -16
  99. package/dist/chunks/{config-4xe88sh8.js → model-ay72y2y9.js} +11 -11
  100. package/dist/chunks/{config-x661k3y3.js → model-azwe5p1w.js} +4 -4
  101. package/dist/chunks/{config-461nxmbv.js → model-b4nzaj04.js} +5 -5
  102. package/dist/chunks/{config-sx7k6tns.js → model-b58xtxx6.js} +36 -36
  103. package/dist/chunks/{config-feks9h3c.js → model-b66sbxdz.js} +36 -36
  104. package/dist/chunks/{config-gj0f7hmv.js → model-b8gd3dkx.js} +9 -9
  105. package/dist/chunks/{config-bjx1sjef.js → model-bjx1sjef.js} +2 -2
  106. package/dist/chunks/{config-7cx595n2.js → model-bmr56wjg.js} +9 -9
  107. package/dist/chunks/{config-crwbn2y9.js → model-bpxfg8jv.js} +24 -24
  108. package/dist/chunks/{config-jfy7efkq.js → model-br1q80at.js} +53 -53
  109. package/dist/chunks/{config-fah73bdr.js → model-brrmpkdk.js} +13 -13
  110. package/dist/chunks/{config-qne3fa44.js → model-bx0gyb4h.js} +5 -5
  111. package/dist/chunks/{config-bzeyqsqd.js → model-bzeyqsqd.js} +1 -1
  112. package/dist/chunks/{config-56c3x50a.js → model-c3rxg466.js} +37 -37
  113. package/dist/chunks/{config-dpd3efqc.js → model-c5kkdnkt.js} +21 -21
  114. package/dist/chunks/{config-jkter17d.js → model-c6tn7fe1.js} +24 -24
  115. package/dist/chunks/{config-m70sbz6t.js → model-ca7w653e.js} +4 -4
  116. package/dist/chunks/{config-xmcppnpw.js → model-cgbdwjd7.js} +19 -19
  117. package/dist/chunks/{config-zjahv0kn.js → model-cxnntska.js} +86 -86
  118. package/dist/chunks/{config-205njdx0.js → model-d2e8srxd.js} +20 -20
  119. package/dist/chunks/{config-gm3zmfrd.js → model-d8wdsj84.js} +5 -5
  120. package/dist/chunks/{config-jwsr2jqg.js → model-dbqzdb30.js} +7 -7
  121. package/dist/chunks/{config-dgzq35zb.js → model-dgzq35zb.js} +3 -3
  122. package/dist/chunks/{config-xp5n5vja.js → model-dp7s877j.js} +4 -4
  123. package/dist/chunks/{config-s018hf8z.js → model-dq6h6djq.js} +3 -3
  124. package/dist/chunks/{config-drwq78ky.js → model-drwq78ky.js} +1 -1
  125. package/dist/chunks/{config-qdsg7kg5.js → model-dsbszv0b.js} +5 -5
  126. package/dist/chunks/{config-gjqsfh0v.js → model-dwapqv7g.js} +22 -22
  127. package/dist/chunks/{config-1ar5vknn.js → model-e23enc76.js} +11 -11
  128. package/dist/chunks/{config-zgxkm1v3.js → model-e4w4kj9m.js} +5 -5
  129. package/dist/chunks/{config-e80seqcp.js → model-e80seqcp.js} +1 -1
  130. package/dist/chunks/{config-26fsx0a3.js → model-e9fdq14h.js} +11 -11
  131. package/dist/chunks/{config-ph842b28.js → model-eahhehpg.js} +4 -4
  132. package/dist/chunks/{config-eej6y6fw.js → model-eej6y6fw.js} +2 -2
  133. package/dist/chunks/{config-ef5x83kb.js → model-ef5x83kb.js} +1 -1
  134. package/dist/chunks/{config-w4ac3p39.js → model-ev10eca8.js} +43 -43
  135. package/dist/chunks/{config-8bt0p1st.js → model-exttmg6k.js} +54 -54
  136. package/dist/chunks/{config-mc3j0fpx.js → model-f4bf12x2.js} +37 -37
  137. package/dist/chunks/{config-c42rzcd8.js → model-f68rgk4v.js} +11 -11
  138. package/dist/chunks/{config-9n959v4g.js → model-f8ak2qw6.js} +14 -14
  139. package/dist/chunks/{config-chwf2abb.js → model-fa88cff1.js} +44 -44
  140. package/dist/chunks/{config-fcy631f0.js → model-fcy631f0.js} +1 -1
  141. package/dist/chunks/{config-n37c4crj.js → model-fdms3n6w.js} +9 -9
  142. package/dist/chunks/{config-yqtzk2wa.js → model-fh73kyk7.js} +4 -4
  143. package/dist/chunks/{config-vgx6weyf.js → model-fqhbsnr5.js} +8 -8
  144. package/dist/chunks/{config-cbtvbhw1.js → model-ftyq7w3n.js} +26 -26
  145. package/dist/chunks/{config-80j02cg4.js → model-gctjtgeh.js} +25 -25
  146. package/dist/chunks/{config-gd4qta3r.js → model-gd4qta3r.js} +1 -1
  147. package/dist/chunks/{config-enx3y4vw.js → model-gqpz6z8g.js} +25 -25
  148. package/dist/chunks/{config-hvvwjwyw.js → model-gscfk59s.js} +4 -4
  149. package/dist/chunks/{config-h6vf3j39.js → model-h6vf3j39.js} +1 -1
  150. package/dist/chunks/{config-zn2p44k5.js → model-h9snv32e.js} +25 -25
  151. package/dist/chunks/{config-fn9t717r.js → model-hbb7npd7.js} +3 -3
  152. package/dist/chunks/{config-8fchc7zc.js → model-hcmqm60a.js} +34 -34
  153. package/dist/chunks/{config-hgz4x7wa.js → model-hgz4x7wa.js} +1 -1
  154. package/dist/chunks/{config-9r5hwe0j.js → model-hwdjztbp.js} +23 -23
  155. package/dist/chunks/{config-j5w2yx54.js → model-j5w2yx54.js} +1 -1
  156. package/dist/chunks/{config-87ywznqb.js → model-jcdh4pz8.js} +5 -5
  157. package/dist/chunks/{config-7cxds5z9.js → model-jew53rqn.js} +192 -192
  158. package/dist/chunks/{config-fy1v1v3w.js → model-jgm9yn5c.js} +20 -20
  159. package/dist/chunks/{config-zs8bw0hs.js → model-jn9d9ctp.js} +9 -9
  160. package/dist/chunks/{config-feaxzjj3.js → model-jy4cskw3.js} +12 -12
  161. package/dist/chunks/{config-rvev36qg.js → model-k4rzk3de.js} +23 -23
  162. package/dist/chunks/{config-amqabej0.js → model-k5rzg22z.js} +13 -13
  163. package/dist/chunks/{config-ezf7jcbt.js → model-khvb0rwv.js} +29 -29
  164. package/dist/chunks/{config-20tcvkr4.js → model-kknjmmkb.js} +52 -52
  165. package/dist/chunks/{config-zfpzcwk9.js → model-ktx3g641.js} +27 -27
  166. package/dist/chunks/{config-kwb1v3vj.js → model-kwb1v3vj.js} +1 -1
  167. package/dist/chunks/{config-6favvbp3.js → model-kzfz4mgv.js} +6 -6
  168. package/dist/chunks/{config-20vf2h00.js → model-kzr27bp7.js} +31 -31
  169. package/dist/chunks/{config-dndk2997.js → model-m256j290.js} +43 -43
  170. package/dist/chunks/{config-v9vmdvvc.js → model-m2t04kmm.js} +48 -48
  171. package/dist/chunks/{config-8ntw25jb.js → model-m39x472g.js} +10 -10
  172. package/dist/chunks/{config-n7d88tpn.js → model-m5jcjszt.js} +3 -3
  173. package/dist/chunks/{config-1vmdeh7r.js → model-m5qzm2bd.js} +28 -28
  174. package/dist/chunks/{config-r8jbq22n.js → model-m8v7608e.js} +6 -6
  175. package/dist/chunks/{config-m9w0rfyh.js → model-m9w0rfyh.js} +1 -1
  176. package/dist/chunks/{config-maspj1v3.js → model-maspj1v3.js} +1 -1
  177. package/dist/chunks/{config-f1p7pa8k.js → model-mwbfd4d0.js} +23 -23
  178. package/dist/chunks/{config-fh9gh03y.js → model-mwez8230.js} +23 -23
  179. package/dist/chunks/{config-4987t165.js → model-n16tn8ct.js} +6 -6
  180. package/dist/chunks/{config-3bh6rbdv.js → model-n1vev70q.js} +32 -32
  181. package/dist/chunks/{config-pq0y0frh.js → model-n58kta93.js} +8 -8
  182. package/dist/chunks/{config-qtx6733w.js → model-n9xrk5dn.js} +27 -27
  183. package/dist/chunks/{config-epeaaket.js → model-nckr5t4x.js} +4 -4
  184. package/dist/chunks/{config-s5met55r.js → model-ngts6ef0.js} +8 -8
  185. package/dist/chunks/{config-3dhryxx4.js → model-nhf8j9q0.js} +23 -23
  186. package/dist/chunks/{config-wx0954d0.js → model-njf7xda2.js} +8 -8
  187. package/dist/chunks/{config-hq3c8me3.js → model-ny8edt06.js} +4 -4
  188. package/dist/chunks/{config-9pw60qma.js → model-nyz2bd3h.js} +10 -10
  189. package/dist/chunks/{config-nz56sr1f.js → model-nz56sr1f.js} +2 -2
  190. package/dist/chunks/{config-yz6198zk.js → model-p6mr1rmw.js} +32 -32
  191. package/dist/chunks/{config-59zfea0h.js → model-p7rtpkhv.js} +28 -28
  192. package/dist/chunks/{config-kw6jxsk0.js → model-pew5zx78.js} +5 -5
  193. package/dist/chunks/{config-2hyn57wn.js → model-phs6h013.js} +27 -27
  194. package/dist/chunks/{config-pjvnvgmy.js → model-pjvnvgmy.js} +1 -1
  195. package/dist/chunks/{config-pknna89w.js → model-pknna89w.js} +1 -1
  196. package/dist/chunks/{config-shj7x14z.js → model-pr0snp0j.js} +14 -14
  197. package/dist/chunks/{config-42deak0c.js → model-pw60dnzh.js} +9 -9
  198. package/dist/chunks/{config-ezd1262t.js → model-pw8bav78.js} +8 -8
  199. package/dist/chunks/{config-nvhwy6q6.js → model-pwfw76w7.js} +11 -11
  200. package/dist/chunks/{config-3dzxwfjp.js → model-py3gqn7c.js} +14 -14
  201. package/dist/chunks/{config-bspgb8ad.js → model-q0qyqwgx.js} +20 -20
  202. package/dist/chunks/{config-x94symkw.js → model-q6ad194x.js} +17 -17
  203. package/dist/chunks/{config-xp361r34.js → model-qb0nxf2n.js} +18 -18
  204. package/dist/chunks/{config-7dqw4kz8.js → model-qgn6gcr1.js} +5 -5
  205. package/dist/chunks/{config-349sgcxm.js → model-qkxbdw2e.js} +45 -45
  206. package/dist/chunks/{config-s8a7kdxx.js → model-qn4zc13r.js} +9 -9
  207. package/dist/chunks/{config-3pcv17pz.js → model-qrp2wwz7.js} +26 -26
  208. package/dist/chunks/{config-qsdy395h.js → model-qsdy395h.js} +1 -1
  209. package/dist/chunks/{config-9h0kmg1t.js → model-qx1ath16.js} +22 -22
  210. package/dist/chunks/{config-cwa6csj7.js → model-r2m716tb.js} +9 -9
  211. package/dist/chunks/{config-qa96c720.js → model-r7nsrefv.js} +4 -4
  212. package/dist/chunks/{config-phz50fbd.js → model-ra67jj04.js} +9 -9
  213. package/dist/chunks/{config-bmyy5mys.js → model-rcepm1f5.js} +35 -35
  214. package/dist/chunks/{config-nqbnnj1c.js → model-rdkdw8j4.js} +16 -16
  215. package/dist/chunks/{config-rdw6cm16.js → model-rdw6cm16.js} +1 -1
  216. package/dist/chunks/{config-nb4t1njv.js → model-rgdzsb23.js} +26 -26
  217. package/dist/chunks/{config-6pc27hjz.js → model-rkprpv83.js} +6 -6
  218. package/dist/chunks/{config-vefrakjx.js → model-rnn7w1p4.js} +7 -7
  219. package/dist/chunks/{config-x4m4mg1p.js → model-rrb7xk1e.js} +11 -11
  220. package/dist/chunks/{config-vz4s7aff.js → model-s1qgsmy4.js} +22 -22
  221. package/dist/chunks/{config-w90xvrpk.js → model-skg07gn4.js} +19 -19
  222. package/dist/chunks/{config-pcx0zree.js → model-spzr18gk.js} +10 -10
  223. package/dist/chunks/{config-vdac0er2.js → model-svdetgap.js} +29 -29
  224. package/dist/chunks/{config-syv4x271.js → model-syv4x271.js} +1 -1
  225. package/dist/chunks/{config-zx07qeyt.js → model-t2vetksk.js} +9 -9
  226. package/dist/chunks/{config-s8d7rejh.js → model-t550f9t1.js} +4 -4
  227. package/dist/chunks/{config-1g7epwpd.js → model-t6vsspdg.js} +4 -4
  228. package/dist/chunks/{config-tazgh4e4.js → model-tazgh4e4.js} +1 -1
  229. package/dist/chunks/{config-8hedw0ek.js → model-tbrkfg2j.js} +35 -35
  230. package/dist/chunks/{config-tdstcens.js → model-tdstcens.js} +1 -1
  231. package/dist/chunks/{config-2t62vza4.js → model-te2qnrax.js} +27 -27
  232. package/dist/chunks/{config-w9apwqk6.js → model-te35nyvt.js} +21 -21
  233. package/dist/chunks/{config-mtshcjcm.js → model-tevdrw4n.js} +12 -12
  234. package/dist/chunks/{config-3sfz3gfe.js → model-tg52m06j.js} +4 -4
  235. package/dist/chunks/{config-tm0kqsz3.js → model-tm0kqsz3.js} +1 -1
  236. package/dist/chunks/{config-48q2nkwy.js → model-tsspjr8t.js} +15 -15
  237. package/dist/chunks/{config-tyytaxap.js → model-tyytaxap.js} +1 -1
  238. package/dist/chunks/{config-2p600f2y.js → model-tz64kvcc.js} +15 -15
  239. package/dist/chunks/{config-zsj6gmjs.js → model-tzbng3th.js} +11 -11
  240. package/dist/chunks/{config-sr7jmsgt.js → model-v210v162.js} +7 -7
  241. package/dist/chunks/{config-q4ywch8c.js → model-v2naxce5.js} +17 -17
  242. package/dist/chunks/{config-czs8vvbs.js → model-v37eec1m.js} +8 -8
  243. package/dist/chunks/{config-0tqq5k4f.js → model-v7jr1a0f.js} +18 -18
  244. package/dist/chunks/{config-v7p4zvkq.js → model-v7p4zvkq.js} +2 -2
  245. package/dist/chunks/{config-h6310vsd.js → model-v7z2bvyd.js} +4 -4
  246. package/dist/chunks/{config-vep9yay1.js → model-vep9yay1.js} +1 -1
  247. package/dist/chunks/{config-veqvce7d.js → model-veqvce7d.js} +1 -1
  248. package/dist/chunks/{config-vzs5sf6e.js → model-vzs5sf6e.js} +1 -1
  249. package/dist/chunks/{config-84txncab.js → model-w1eejvng.js} +5 -5
  250. package/dist/chunks/{config-0pey3jm5.js → model-w234dzpk.js} +1 -1
  251. package/dist/chunks/{config-w3wsvvr9.js → model-w3wsvvr9.js} +1 -1
  252. package/dist/chunks/{config-x0ec8gbe.js → model-w77emq9p.js} +18 -18
  253. package/dist/chunks/{config-rn6he5ra.js → model-w8tsas1h.js} +6 -6
  254. package/dist/chunks/{config-wakvkjy4.js → model-wakvkjy4.js} +1 -1
  255. package/dist/chunks/{config-wd87259q.js → model-wd87259q.js} +1 -1
  256. package/dist/chunks/{config-2pq7936q.js → model-wmsy6ejg.js} +47 -47
  257. package/dist/chunks/{config-d5qyj1cx.js → model-wsw3qazc.js} +16 -16
  258. package/dist/chunks/{config-ed399rt4.js → model-wt7gg852.js} +13 -13
  259. package/dist/chunks/{config-e8k3m892.js → model-x9d5zs2r.js} +7 -7
  260. package/dist/chunks/{config-c5zzfjak.js → model-xe4x800z.js} +12 -12
  261. package/dist/chunks/{config-35qg6615.js → model-xftgp53z.js} +12 -12
  262. package/dist/chunks/{config-e7e0kxqn.js → model-xqpjqq35.js} +17 -17
  263. package/dist/chunks/{config-f4p4s2dp.js → model-xqwg9xjb.js} +18 -18
  264. package/dist/chunks/{config-xw9fg8fb.js → model-xw9fg8fb.js} +2 -2
  265. package/dist/chunks/{config-hf0nszqz.js → model-xx1330xd.js} +50 -50
  266. package/dist/chunks/{config-b4gz5vkn.js → model-xx3qrjat.js} +11 -11
  267. package/dist/chunks/{config-y1fvbwt7.js → model-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{config-dpkg50ah.js → model-y71avatq.js} +4 -4
  269. package/dist/chunks/{config-n5ydym07.js → model-y72932aq.js} +15 -15
  270. package/dist/chunks/{config-mq70b39w.js → model-y8hhzqsr.js} +20 -20
  271. package/dist/chunks/{config-9tcbax0s.js → model-yjnk86sx.js} +70 -70
  272. package/dist/chunks/{config-62xe7jwg.js → model-yk480cxy.js} +4 -4
  273. package/dist/chunks/{config-t8r4mfn9.js → model-yqbdvskr.js} +17 -17
  274. package/dist/chunks/{config-ce6zma9w.js → model-ysh87z2r.js} +80 -80
  275. package/dist/chunks/{config-2fnj739t.js → model-yvhtzdrt.js} +11 -11
  276. package/dist/chunks/{config-z0bkrqjs.js → model-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{config-z18fegx4.js → model-z18fegx4.js} +1 -1
  278. package/dist/chunks/{config-m2azh2y0.js → model-z3qwewxj.js} +23 -23
  279. package/dist/chunks/{config-zq3wqe3s.js → model-z6m6eyhw.js} +3 -3
  280. package/dist/chunks/{config-t95zrypp.js → model-z8y91tz7.js} +12 -12
  281. package/dist/chunks/{config-204j7sp1.js → model-z9xssfm8.js} +3 -3
  282. package/dist/chunks/{config-jvt300by.js → model-zbj3bdxr.js} +26 -26
  283. package/dist/chunks/{config-zr2ceqn5.js → model-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{config-w1tfqne5.js → model-ztysxpw9.js} +30 -30
  285. package/dist/chunks/{config-zxq2ej10.js → model-zxq2ej10.js} +1 -1
  286. package/dist/chunks/{config-ngz91grz.js → model-zxqf7zeg.js} +7 -7
  287. package/dist/chunks/{config-hfn6fzew.js → model-zye99vjm.js} +2 -2
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +7 -7
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +85 -85
  293. package/dist/config/discovery.js +86 -86
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +101 -101
  296. package/dist/config/plugin/agent.js +116 -116
  297. package/dist/config/plugin/command.js +212 -212
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/compatibility.js +135 -135
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +117 -117
  302. package/dist/config/plugin/image.js +116 -116
  303. package/dist/config/plugin/instruction.js +116 -116
  304. package/dist/config/plugin/location-watcher.js +116 -116
  305. package/dist/config/plugin/mcp.js +123 -123
  306. package/dist/config/plugin/policy.js +117 -117
  307. package/dist/config/plugin/provider.js +116 -116
  308. package/dist/config/plugin/reference.js +118 -118
  309. package/dist/config/plugin/shell.js +116 -116
  310. package/dist/config/plugin/skill-file.js +104 -104
  311. package/dist/config/plugin/skill-scan.js +1 -1
  312. package/dist/config/plugin/skill.js +136 -136
  313. package/dist/config/plugin/snapshot.js +116 -116
  314. package/dist/config/plugin/source.js +119 -119
  315. package/dist/config/plugin/tool-output.js +117 -117
  316. package/dist/config/plugin/websearch.js +115 -115
  317. package/dist/config/plugin/worktree.js +118 -118
  318. package/dist/config/variable.js +1 -1
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +121 -121
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +85 -85
  323. package/dist/database/database.js +68 -68
  324. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +15 -15
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +16 -16
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  388. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  389. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  390. package/dist/database/migration.gen.js +51 -51
  391. package/dist/database/migration.js +53 -53
  392. package/dist/database/path.js +2 -2
  393. package/dist/database/schema.gen.js +1 -1
  394. package/dist/database/schema.sql.js +1 -1
  395. package/dist/database/sqlite.bun.js +1 -1
  396. package/dist/database/sqlite.js +1 -1
  397. package/dist/database/sqlite.node.js +1 -1
  398. package/dist/database/sqlite.workerd.js +1 -1
  399. package/dist/database/v1-migration.bun.js +78 -78
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +364 -364
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +3 -3
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +95 -95
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +97 -97
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +3 -3
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +76 -76
  415. package/dist/file-access.js +106 -106
  416. package/dist/file-mutation.js +96 -96
  417. package/dist/file-retention.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +225 -225
  424. package/dist/filesystem/protected.js +3 -3
  425. package/dist/filesystem/search.js +105 -105
  426. package/dist/filesystem/watcher-binding.js +3 -3
  427. package/dist/filesystem/watcher.js +15 -15
  428. package/dist/filesystem.js +108 -108
  429. package/dist/form.js +84 -84
  430. package/dist/formatter/builtins.js +2 -2
  431. package/dist/formatter.js +89 -89
  432. package/dist/generate.js +106 -106
  433. package/dist/git.js +10 -10
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +101 -101
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +1 -1
  456. package/dist/instance.js +357 -357
  457. package/dist/instruction-discovery.js +86 -86
  458. package/dist/instructions/builtins.js +89 -89
  459. package/dist/instructions/index.js +3 -3
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +89 -89
  462. package/dist/job.js +78 -78
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +75 -75
  465. package/dist/location-activity.js +158 -158
  466. package/dist/location-lifecycle.js +107 -107
  467. package/dist/location-service-map.js +88 -88
  468. package/dist/location-services.js +358 -358
  469. package/dist/location.js +89 -89
  470. package/dist/managed-policy.js +8 -8
  471. package/dist/mcp/client.js +93 -93
  472. package/dist/mcp/index.js +109 -109
  473. package/dist/mcp/instructions.js +138 -138
  474. package/dist/mcp/oauth.js +80 -80
  475. package/dist/mcp/stdio.js +92 -92
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +101 -101
  478. package/dist/model-resolver.js +100 -100
  479. package/dist/model-retry.js +1 -1
  480. package/dist/model.js +104 -104
  481. package/dist/models-dev.js +107 -107
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +88 -88
  484. package/dist/permission/sql.js +5 -5
  485. package/dist/permission.js +113 -113
  486. package/dist/persistent-pty/binary.bun.js +1 -1
  487. package/dist/persistent-pty/daemon.js +1 -1
  488. package/dist/persistent-pty/index.js +92 -92
  489. package/dist/persistent-pty/pty-binding.js +1 -1
  490. package/dist/persistent-pty.js +77 -77
  491. package/dist/plugin/agent.js +76 -76
  492. package/dist/plugin/command.js +102 -102
  493. package/dist/plugin/hooks.js +5 -5
  494. package/dist/plugin/host.js +218 -218
  495. package/dist/plugin/identity.js +3 -3
  496. package/dist/plugin/instance.js +3 -3
  497. package/dist/plugin/internal.js +332 -332
  498. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  499. package/dist/plugin/models-dev.js +98 -98
  500. package/dist/plugin/module.js +117 -117
  501. package/dist/plugin/optimize.js +4 -4
  502. package/dist/plugin/plan.js +104 -104
  503. package/dist/plugin/promise.js +1 -1
  504. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  505. package/dist/plugin/provider/azure.js +114 -114
  506. package/dist/plugin/provider/cerebras.js +1 -1
  507. package/dist/plugin/provider/chatgpt.js +116 -116
  508. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  509. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  510. package/dist/plugin/provider/cohere.js +2 -2
  511. package/dist/plugin/provider/configured.js +112 -112
  512. package/dist/plugin/provider/databricks.js +1 -1
  513. package/dist/plugin/provider/digitalocean.js +95 -95
  514. package/dist/plugin/provider/dynamic.js +2 -2
  515. package/dist/plugin/provider/factory.js +1 -1
  516. package/dist/plugin/provider/github-copilot.js +97 -97
  517. package/dist/plugin/provider/gitlab.js +95 -95
  518. package/dist/plugin/provider/google-vertex.js +113 -113
  519. package/dist/plugin/provider/kilo.js +1 -1
  520. package/dist/plugin/provider/llmgateway.js +80 -80
  521. package/dist/plugin/provider/lmstudio.js +125 -125
  522. package/dist/plugin/provider/local.js +122 -122
  523. package/dist/plugin/provider/modal.js +94 -94
  524. package/dist/plugin/provider/neon.js +1 -1
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +125 -125
  527. package/dist/plugin/provider/openai.js +118 -118
  528. package/dist/plugin/provider/opencode.js +100 -100
  529. package/dist/plugin/provider/openrouter.js +93 -93
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +81 -81
  532. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  533. package/dist/plugin/provider/sap-ai-core.js +93 -93
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  536. package/dist/plugin/provider/vercel.js +92 -92
  537. package/dist/plugin/provider/vllm.js +123 -123
  538. package/dist/plugin/provider/xai.js +93 -93
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +168 -168
  541. package/dist/plugin/sdk.js +78 -78
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +132 -132
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +351 -351
  546. package/dist/plugin/tool-input-repair.js +4 -4
  547. package/dist/plugin/update.js +6 -6
  548. package/dist/plugin/vcs/git.js +86 -86
  549. package/dist/plugin/vcs/hg.js +86 -86
  550. package/dist/plugin/verbosity.js +95 -95
  551. package/dist/plugin/warming.js +114 -114
  552. package/dist/plugin/websearch/exa.js +7 -7
  553. package/dist/plugin/websearch/firecrawl.js +8 -8
  554. package/dist/plugin/websearch/index.js +9 -9
  555. package/dist/plugin/websearch/mcp.js +2 -2
  556. package/dist/plugin/websearch/parallel.js +8 -8
  557. package/dist/plugin/websearch/tavily.js +6 -6
  558. package/dist/plugin/websearch/tinyfish.js +8 -8
  559. package/dist/plugin.js +225 -225
  560. package/dist/project/schema.js +6 -6
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +90 -90
  563. package/dist/provider.js +101 -101
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +101 -101
  567. package/dist/reference/instructions.js +91 -91
  568. package/dist/reference.js +89 -89
  569. package/dist/repository-cache.js +83 -83
  570. package/dist/repository.js +3 -3
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +97 -97
  573. package/dist/rpc.js +88 -88
  574. package/dist/schema.js +1 -1
  575. package/dist/session/affinity.js +1 -1
  576. package/dist/session/command.js +76 -76
  577. package/dist/session/compaction.js +138 -138
  578. package/dist/session/context.js +164 -164
  579. package/dist/session/diff.js +90 -90
  580. package/dist/session/environment.js +5 -5
  581. package/dist/session/error.js +3 -3
  582. package/dist/session/event.js +1 -1
  583. package/dist/session/execution/restart.js +224 -224
  584. package/dist/session/execution.js +125 -125
  585. package/dist/session/generate.js +164 -164
  586. package/dist/session/history.js +15 -15
  587. package/dist/session/inbox.js +87 -87
  588. package/dist/session/info.js +3 -3
  589. package/dist/session/instruction-entry.js +81 -81
  590. package/dist/session/instruction-state.js +8 -8
  591. package/dist/session/instructions.js +99 -99
  592. package/dist/session/message-updater.js +2 -2
  593. package/dist/session/message.js +1 -1
  594. package/dist/session/model-request.js +120 -120
  595. package/dist/session/model-transport.js +7 -7
  596. package/dist/session/move.js +131 -131
  597. package/dist/session/projector.js +91 -91
  598. package/dist/session/prompt.js +107 -107
  599. package/dist/session/recent-text.js +1 -1
  600. package/dist/session/revert.js +96 -96
  601. package/dist/session/run-coordinator.js +1 -1
  602. package/dist/session/runner/index.js +3 -3
  603. package/dist/session/runner/llm.js +231 -231
  604. package/dist/session/runner/max-steps.js +1 -1
  605. package/dist/session/runner/model.js +100 -100
  606. package/dist/session/runner/publish-llm-event.js +115 -115
  607. package/dist/session/runner/retry.js +3 -3
  608. package/dist/session/runner/step.js +128 -128
  609. package/dist/session/runner/to-llm-message.js +14 -14
  610. package/dist/session/schema.js +5 -5
  611. package/dist/session/session.js +164 -164
  612. package/dist/session/shell.js +130 -130
  613. package/dist/session/skill.js +105 -105
  614. package/dist/session/sql.js +5 -5
  615. package/dist/session/stats.js +75 -75
  616. package/dist/session/store.js +87 -87
  617. package/dist/session/subagent-completion.js +1 -1
  618. package/dist/session/subagent-job.js +212 -212
  619. package/dist/session/system-prompt.js +1 -1
  620. package/dist/session/title.js +168 -168
  621. package/dist/session/to-session-error.js +113 -113
  622. package/dist/session/transfer.js +220 -220
  623. package/dist/session/usage.js +1 -1
  624. package/dist/session.js +216 -216
  625. package/dist/shell/parse.js +6 -6
  626. package/dist/shell/result.js +1 -1
  627. package/dist/shell/scan.js +1 -1
  628. package/dist/shell/select.js +13 -13
  629. package/dist/shell.js +132 -132
  630. package/dist/skill/discovery.js +6 -6
  631. package/dist/skill/instructions.js +107 -107
  632. package/dist/skill.js +112 -112
  633. package/dist/snapshot.js +91 -91
  634. package/dist/state.js +1 -1
  635. package/dist/tool/html-markdown.js +1 -1
  636. package/dist/tool/http-body.js +1 -1
  637. package/dist/tool/mcp.js +135 -135
  638. package/dist/tool/plugin/edit.js +122 -122
  639. package/dist/tool/plugin/file-diff.js +1 -1
  640. package/dist/tool/plugin/glob.js +126 -126
  641. package/dist/tool/plugin/grep.js +126 -126
  642. package/dist/tool/plugin/mcp-resource.js +126 -126
  643. package/dist/tool/plugin/opencode.js +109 -109
  644. package/dist/tool/plugin/patch.js +124 -124
  645. package/dist/tool/plugin/question.js +103 -103
  646. package/dist/tool/plugin/read.js +127 -127
  647. package/dist/tool/plugin/shell.js +215 -215
  648. package/dist/tool/plugin/skill.js +113 -113
  649. package/dist/tool/plugin/subagent.js +219 -219
  650. package/dist/tool/plugin/todo.js +138 -138
  651. package/dist/tool/plugin/webfetch.js +111 -111
  652. package/dist/tool/plugin/websearch.js +114 -114
  653. package/dist/tool/plugin/write.js +124 -124
  654. package/dist/tool/read-filesystem.js +102 -102
  655. package/dist/tool/runtime.js +1 -1
  656. package/dist/tool-output.js +7 -7
  657. package/dist/tool.js +16 -16
  658. package/dist/types/voice.d.ts +12 -1
  659. package/dist/util/error-summary.js +1 -1
  660. package/dist/util/error.js +1 -1
  661. package/dist/util/git-executable.js +2 -2
  662. package/dist/util/iife.js +1 -1
  663. package/dist/util/lazy.js +1 -1
  664. package/dist/util/slug.js +1 -1
  665. package/dist/util/token.js +1 -1
  666. package/dist/util/which.js +1 -1
  667. package/dist/util/wildcard.js +1 -1
  668. package/dist/v1/config/agent.js +7 -7
  669. package/dist/v1/config/command.js +3 -3
  670. package/dist/v1/config/error.js +2 -2
  671. package/dist/v1/config/mcp.js +4 -4
  672. package/dist/v1/config/migrate.js +94 -94
  673. package/dist/v1/config/permission.js +7 -7
  674. package/dist/v1/config/plugin.js +3 -3
  675. package/dist/v1/config/provider-options.js +1 -1
  676. package/dist/v1/config/provider.js +4 -4
  677. package/dist/variant.js +93 -93
  678. package/dist/vcs/patch.js +1 -1
  679. package/dist/vcs.js +91 -91
  680. package/dist/voice.js +88 -88
  681. package/dist/websearch.js +84 -84
  682. package/dist/wellknown/plugin.js +78 -78
  683. package/dist/wellknown.js +83 -83
  684. package/dist/workspace/driver.js +3 -3
  685. package/dist/workspace/sql.js +1 -1
  686. package/dist/workspace.js +84 -84
  687. package/dist/worktree/directory.js +2 -2
  688. package/dist/worktree/git.js +10 -10
  689. package/dist/worktree/sql.js +5 -5
  690. package/dist/worktree/strategies.js +91 -91
  691. package/dist/worktree.js +98 -98
  692. package/package.json +8 -8
  693. package/dist/chunks/config-pf31ssb9.js +0 -18
  694. /package/dist/chunks/{config-0qkdqm5v.js → model-0qkdqm5v.js} +0 -0
  695. /package/dist/chunks/{config-0zkw76rk.js → model-0zkw76rk.js} +0 -0
  696. /package/dist/chunks/{config-17cy0kzp.js → model-17cy0kzp.js} +0 -0
  697. /package/dist/chunks/{config-1cnp2v09.js → model-1cnp2v09.js} +0 -0
  698. /package/dist/chunks/{config-1kg9ymc8.js → model-1kg9ymc8.js} +0 -0
  699. /package/dist/chunks/{config-24dcb14g.js → model-24dcb14g.js} +0 -0
  700. /package/dist/chunks/{config-2710q6r3.js → model-2710q6r3.js} +0 -0
  701. /package/dist/chunks/{config-2axfhc9x.js → model-2axfhc9x.js} +0 -0
  702. /package/dist/chunks/{config-2bv980vf.js → model-2bv980vf.js} +0 -0
  703. /package/dist/chunks/{config-2c3vjs8z.js → model-2c3vjs8z.js} +0 -0
  704. /package/dist/chunks/{config-359p4xyc.js → model-359p4xyc.js} +0 -0
  705. /package/dist/chunks/{config-3asan66x.js → model-3asan66x.js} +0 -0
  706. /package/dist/chunks/{config-3t0ybcrp.js → model-3t0ybcrp.js} +0 -0
  707. /package/dist/chunks/{config-3v8g72cx.js → model-3v8g72cx.js} +0 -0
  708. /package/dist/chunks/{config-3wcehsnq.js → model-3wcehsnq.js} +0 -0
  709. /package/dist/chunks/{config-43n2bw4t.js → model-43n2bw4t.js} +0 -0
  710. /package/dist/chunks/{config-4knz6hnm.js → model-4knz6hnm.js} +0 -0
  711. /package/dist/chunks/{config-4vcrnpx2.js → model-4vcrnpx2.js} +0 -0
  712. /package/dist/chunks/{config-4y7fprxs.js → model-4y7fprxs.js} +0 -0
  713. /package/dist/chunks/{config-53557ph1.js → model-53557ph1.js} +0 -0
  714. /package/dist/chunks/{config-550bvhaj.js → model-550bvhaj.js} +0 -0
  715. /package/dist/chunks/{config-6prwharc.js → model-6prwharc.js} +0 -0
  716. /package/dist/chunks/{config-6q2bdcd1.js → model-6q2bdcd1.js} +0 -0
  717. /package/dist/chunks/{config-7akdwqpd.js → model-7akdwqpd.js} +0 -0
  718. /package/dist/chunks/{config-7m9af43g.js → model-7m9af43g.js} +0 -0
  719. /package/dist/chunks/{config-822emrt2.js → model-822emrt2.js} +0 -0
  720. /package/dist/chunks/{config-84wd9syh.js → model-84wd9syh.js} +0 -0
  721. /package/dist/chunks/{config-88xbtdfr.js → model-88xbtdfr.js} +0 -0
  722. /package/dist/chunks/{config-8n3pysct.js → model-8n3pysct.js} +0 -0
  723. /package/dist/chunks/{config-8wj87zfr.js → model-8wj87zfr.js} +0 -0
  724. /package/dist/chunks/{config-9a4afbnw.js → model-9a4afbnw.js} +0 -0
  725. /package/dist/chunks/{config-9rqn6x4v.js → model-9rqn6x4v.js} +0 -0
  726. /package/dist/chunks/{config-a6k6eb26.js → model-a6k6eb26.js} +0 -0
  727. /package/dist/chunks/{config-af5trqkr.js → model-af5trqkr.js} +0 -0
  728. /package/dist/chunks/{config-afrmfg78.js → model-afrmfg78.js} +0 -0
  729. /package/dist/chunks/{config-aqzs7mqg.js → model-aqzs7mqg.js} +0 -0
  730. /package/dist/chunks/{config-atq7p7m5.js → model-atq7p7m5.js} +0 -0
  731. /package/dist/chunks/{config-bkyjaxrp.js → model-bkyjaxrp.js} +0 -0
  732. /package/dist/chunks/{config-bmr6ed5q.js → model-bmr6ed5q.js} +0 -0
  733. /package/dist/chunks/{config-cf4snx6d.js → model-cf4snx6d.js} +0 -0
  734. /package/dist/chunks/{config-cvy3z8tj.js → model-cvy3z8tj.js} +0 -0
  735. /package/dist/chunks/{config-d9fn303g.js → model-d9fn303g.js} +0 -0
  736. /package/dist/chunks/{config-d9jj8t3e.js → model-d9jj8t3e.js} +0 -0
  737. /package/dist/chunks/{config-dajrwvna.js → model-dajrwvna.js} +0 -0
  738. /package/dist/chunks/{config-dap0rakb.js → model-dap0rakb.js} +0 -0
  739. /package/dist/chunks/{config-df08tz66.js → model-df08tz66.js} +0 -0
  740. /package/dist/chunks/{config-dy18nga0.js → model-dy18nga0.js} +0 -0
  741. /package/dist/chunks/{config-e5kj55wp.js → model-e5kj55wp.js} +0 -0
  742. /package/dist/chunks/{config-e73j6tqm.js → model-e73j6tqm.js} +0 -0
  743. /package/dist/chunks/{config-ec1grn59.js → model-ec1grn59.js} +0 -0
  744. /package/dist/chunks/{config-eh3zwz77.js → model-eh3zwz77.js} +0 -0
  745. /package/dist/chunks/{config-emrn6kk6.js → model-emrn6kk6.js} +0 -0
  746. /package/dist/chunks/{config-f0mxakyp.js → model-f0mxakyp.js} +0 -0
  747. /package/dist/chunks/{config-f6n9ztr4.js → model-f6n9ztr4.js} +0 -0
  748. /package/dist/chunks/{config-faypxj3z.js → model-faypxj3z.js} +0 -0
  749. /package/dist/chunks/{config-fd410y7t.js → model-fd410y7t.js} +0 -0
  750. /package/dist/chunks/{config-g4wezp1m.js → model-g4wezp1m.js} +0 -0
  751. /package/dist/chunks/{config-g86h250q.js → model-g86h250q.js} +0 -0
  752. /package/dist/chunks/{config-gebd4c9n.js → model-gebd4c9n.js} +0 -0
  753. /package/dist/chunks/{config-gftt206x.js → model-gftt206x.js} +0 -0
  754. /package/dist/chunks/{config-hcxmzztb.js → model-hcxmzztb.js} +0 -0
  755. /package/dist/chunks/{config-hk9envan.js → model-hk9envan.js} +0 -0
  756. /package/dist/chunks/{config-j2ntwpah.js → model-j2ntwpah.js} +0 -0
  757. /package/dist/chunks/{config-j5zkgpj8.js → model-j5zkgpj8.js} +0 -0
  758. /package/dist/chunks/{config-jjkms2e6.js → model-jjkms2e6.js} +0 -0
  759. /package/dist/chunks/{config-jr7sbwjy.js → model-jr7sbwjy.js} +0 -0
  760. /package/dist/chunks/{config-jwfs4k6c.js → model-jwfs4k6c.js} +0 -0
  761. /package/dist/chunks/{config-jze0r7bz.js → model-jze0r7bz.js} +0 -0
  762. /package/dist/chunks/{config-jzg6c2d5.js → model-jzg6c2d5.js} +0 -0
  763. /package/dist/chunks/{config-m18g726c.js → model-m18g726c.js} +0 -0
  764. /package/dist/chunks/{config-mp448xyj.js → model-mp448xyj.js} +0 -0
  765. /package/dist/chunks/{config-msx8hqn2.js → model-msx8hqn2.js} +0 -0
  766. /package/dist/chunks/{config-n05xt0ee.js → model-n05xt0ee.js} +0 -0
  767. /package/dist/chunks/{config-n3j8tn72.js → model-n3j8tn72.js} +0 -0
  768. /package/dist/chunks/{config-njntx4h6.js → model-njntx4h6.js} +0 -0
  769. /package/dist/chunks/{config-pkyv6v7h.js → model-pkyv6v7h.js} +0 -0
  770. /package/dist/chunks/{config-pyv0edze.js → model-pyv0edze.js} +0 -0
  771. /package/dist/chunks/{config-q3sfg36h.js → model-q3sfg36h.js} +0 -0
  772. /package/dist/chunks/{config-q74kybfr.js → model-q74kybfr.js} +0 -0
  773. /package/dist/chunks/{config-qaymkmh1.js → model-qaymkmh1.js} +0 -0
  774. /package/dist/chunks/{config-qb87gjwd.js → model-qb87gjwd.js} +0 -0
  775. /package/dist/chunks/{config-qfa1cgps.js → model-qfa1cgps.js} +0 -0
  776. /package/dist/chunks/{config-qg3g05ea.js → model-qg3g05ea.js} +0 -0
  777. /package/dist/chunks/{config-qrg20bc0.js → model-qrg20bc0.js} +0 -0
  778. /package/dist/chunks/{config-rcb2kzg1.js → model-rcb2kzg1.js} +0 -0
  779. /package/dist/chunks/{config-sdp7kfr6.js → model-sdp7kfr6.js} +0 -0
  780. /package/dist/chunks/{config-ssg3fenm.js → model-ssg3fenm.js} +0 -0
  781. /package/dist/chunks/{config-ve7vex1e.js → model-ve7vex1e.js} +0 -0
  782. /package/dist/chunks/{config-w803qqfp.js → model-w803qqfp.js} +0 -0
  783. /package/dist/chunks/{config-wc3fc9cn.js → model-wc3fc9cn.js} +0 -0
  784. /package/dist/chunks/{config-wer8tq1h.js → model-wer8tq1h.js} +0 -0
  785. /package/dist/chunks/{config-wjj7prxr.js → model-wjj7prxr.js} +0 -0
  786. /package/dist/chunks/{config-wtztk69x.js → model-wtztk69x.js} +0 -0
  787. /package/dist/chunks/{config-x0ckcb58.js → model-x0ckcb58.js} +0 -0
  788. /package/dist/chunks/{config-x61499pn.js → model-x61499pn.js} +0 -0
  789. /package/dist/chunks/{config-y44na4kk.js → model-y44na4kk.js} +0 -0
  790. /package/dist/chunks/{config-y8f7s663.js → model-y8f7s663.js} +0 -0
  791. /package/dist/chunks/{config-ygaqb7jw.js → model-ygaqb7jw.js} +0 -0
  792. /package/dist/chunks/{config-ym463w8f.js → model-ym463w8f.js} +0 -0
  793. /package/dist/chunks/{config-z5v4ffb3.js → model-z5v4ffb3.js} +0 -0
  794. /package/dist/chunks/{config-z9919s4g.js → model-z9919s4g.js} +0 -0
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  webSocketConstructor2
3
- } from "./config-775gj3j1.js";
3
+ } from "./model-775gj3j1.js";
4
4
  import {
5
5
  __export
6
- } from "./config-9rqn6x4v.js";
6
+ } from "./model-9rqn6x4v.js";
7
7
 
8
8
  // src/session/model-transport.ts
9
9
  var exports_model_transport = {};
10
10
  __export(exports_model_transport, {
11
- Service: () => Service28,
11
+ Service: () => Service25,
12
12
  SessionModelTransport: () => exports_model_transport,
13
13
  layer: () => layer13,
14
14
  makeLayer: () => makeLayer2,
15
- node: () => node31
15
+ node: () => node29
16
16
  });
17
17
  import {
18
18
  WebSocketTransport
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
33
33
  });
34
34
  var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
35
35
 
36
- class Service28 extends Context.Service()("@opencode/SessionModelTransport") {
36
+ class Service25 extends Context.Service()("@opencode/SessionModelTransport") {
37
37
  }
38
38
  var transportError = (message, input) => new AIError({
39
39
  reason: new TransportError({ message, transport: "websocket", ...input })
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
57
57
  return Effect.fail(observation.error);
58
58
  };
59
59
  var observationTerminal = (observation) => observation.type !== "frame";
60
- var makeLayer2 = (connector) => Layer.effect(Service28, Effect.gen(function* () {
60
+ var makeLayer2 = (connector) => Layer.effect(Service25, Effect.gen(function* () {
61
61
  const scope = yield* Scope.Scope;
62
62
  const states = new Map;
63
63
  const state = (sessionID) => {
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service28, Effect.gen(function* ()
367
367
  }, { discard: true });
368
368
  });
369
369
  yield* Effect.addFinalizer(() => closeAll);
370
- return Service28.of({ bind, close, closeAll });
370
+ return Service25.of({ bind, close, closeAll });
371
371
  }));
372
372
  var layer13 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
373
373
  open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
374
374
  })));
375
- var node31 = makeGlobalNode({ service: Service28, layer: layer13, deps: [webSocketConstructor2] });
375
+ var node29 = makeGlobalNode({ service: Service25, layer: layer13, deps: [webSocketConstructor2] });
376
376
 
377
- export { Service28, makeLayer2, layer13, node31, exports_model_transport };
377
+ export { Service25, makeLayer2, layer13, node29, exports_model_transport };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  collectBoundedResponseBody2
3
- } from "./config-3v8g72cx.js";
3
+ } from "./model-3v8g72cx.js";
4
4
  import {
5
5
  __export
6
- } from "./config-9rqn6x4v.js";
6
+ } from "./model-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/mcp.ts
9
9
  var exports_mcp = {};
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  __export
3
- } from "./config-9rqn6x4v.js";
3
+ } from "./model-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/permission.ts
6
- var exports_permission2 = {};
7
- __export(exports_permission2, {
6
+ var exports_permission = {};
7
+ __export(exports_permission, {
8
8
  Action: () => Action2,
9
- ConfigPermissionV1: () => exports_permission2,
9
+ ConfigPermissionV1: () => exports_permission,
10
10
  Entries: () => Entries2,
11
- Info: () => Info19,
11
+ Info: () => Info11,
12
12
  Object: () => Object2,
13
- Rule: () => Rule3
13
+ Rule: () => Rule2
14
14
  });
15
15
  import { Schema, SchemaGetter } from "effect";
16
16
  var Action2 = Schema.Literals(["ask", "allow", "deny"]).annotate({ identifier: "PermissionActionConfig" });
@@ -19,13 +19,13 @@ var Entries2 = (value) => Schema.ObjectKeyword.check(Schema.makeFilter((input) =
19
19
  encode: SchemaGetter.transform((entries) => globalThis.Object.fromEntries(entries))
20
20
  }));
21
21
  var Object2 = Entries2(Action2).annotate({ identifier: "PermissionObjectConfig" });
22
- var Rule3 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
22
+ var Rule2 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
23
23
  var actionOnly = new Set(["question", "websearch", "doom_loop"]);
24
- var Info19 = Schema.Union([Action2, Schema.ObjectKeyword]).pipe(Schema.decodeTo(Entries2(Rule3), {
24
+ var Info11 = Schema.Union([Action2, Schema.ObjectKeyword]).pipe(Schema.decodeTo(Entries2(Rule2), {
25
25
  decode: SchemaGetter.transform((input) => typeof input === "string" ? { "*": input } : input),
26
26
  encode: SchemaGetter.passthrough({ strict: false })
27
27
  })).check(Schema.makeFilter((rules) => rules.every(([key, rule]) => !actionOnly.has(key) || typeof rule === "string"), {
28
28
  expected: "question, websearch, and doom_loop to be ask, allow, or deny"
29
29
  })).annotate({ identifier: "PermissionConfig" });
30
30
 
31
- export { Action2, Entries2, Object2, Rule3, Info19, exports_permission2 };
31
+ export { Action2, Entries2, Object2, Rule2, Info11, exports_permission };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  lazy2
3
- } from "./config-88xbtdfr.js";
3
+ } from "./model-88xbtdfr.js";
4
4
  import {
5
- load5
6
- } from "./config-e3qxr5gk.js";
5
+ load4
6
+ } from "./model-5qd3pb7m.js";
7
7
  import {
8
8
  __export
9
- } from "./config-9rqn6x4v.js";
9
+ } from "./model-9rqn6x4v.js";
10
10
 
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
13
13
  __export(exports_watcher, {
14
- Event: () => Event13,
14
+ Event: () => Event5,
15
15
  Native: () => Native3,
16
- Options: () => Options10,
17
- Service: () => Service69,
16
+ Options: () => Options6,
17
+ Service: () => Service44,
18
18
  Test: () => Test3,
19
19
  Watcher: () => exports_watcher,
20
- configured: () => configured11,
20
+ configured: () => configured6,
21
21
  hasNativeBinding: () => hasNativeBinding2,
22
- layer: () => layer24,
22
+ layer: () => layer21,
23
23
  nativeLayer: () => nativeLayer2,
24
24
  nativeNode: () => nativeNode2,
25
- node: () => node73,
25
+ node: () => node46,
26
26
  testLayer: () => testLayer3
27
27
  });
28
28
  import { createWrapper } from "@parcel/watcher/wrapper.js";
@@ -33,10 +33,10 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
33
33
  import { watch } from "node:fs";
34
34
  import path from "path";
35
35
  var SUBSCRIBE_TIMEOUT_MS = 1e4;
36
- var Event13 = { Updated: FileSystem.Event.Changed };
36
+ var Event5 = { Updated: FileSystem.Event.Changed };
37
37
  var watcher = lazy2(() => {
38
38
  try {
39
- return createWrapper(load5());
39
+ return createWrapper(load4());
40
40
  } catch {
41
41
  return;
42
42
  }
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
53
53
 
54
54
  class Native3 extends Context.Service()("@opencode/Watcher/Native") {
55
55
  }
56
- var Options10 = Schema.Struct({
56
+ var Options6 = Schema.Struct({
57
57
  enabled: Schema.optional(Schema.Boolean)
58
58
  });
59
59
 
60
- class Service69 extends Context.Service()("@opencode/Watcher") {
60
+ class Service44 extends Context.Service()("@opencode/Watcher") {
61
61
  }
62
62
 
63
63
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
64
64
  }
65
- var layer24 = (options) => Layer.effect(Service69, Effect.gen(function* () {
65
+ var layer21 = (options) => Layer.effect(Service44, Effect.gen(function* () {
66
66
  if (options?.enabled === false) {
67
- return Service69.of({ subscribe: () => Effect.succeed(Stream.empty) });
67
+ return Service44.of({ subscribe: () => Effect.succeed(Stream.empty) });
68
68
  }
69
69
  const native = yield* Native3;
70
70
  const watchers = yield* RcMap.make({
@@ -105,7 +105,7 @@ var layer24 = (options) => Layer.effect(Service69, Effect.gen(function* () {
105
105
  return Stream.fromSubscription(subscription);
106
106
  }));
107
107
  });
108
- return Service69.of({ subscribe });
108
+ return Service44.of({ subscribe });
109
109
  }));
110
110
  var testLayer3 = Layer.effectContext(Effect.gen(function* () {
111
111
  const subscriptions = [];
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
129
129
  };
130
130
  })
131
131
  });
132
- const context = yield* Layer.build(layer24().pipe(Layer.provide(Layer.succeed(Native3, native))));
132
+ const context = yield* Layer.build(layer21().pipe(Layer.provide(Layer.succeed(Native3, native))));
133
133
  const test = Test3.of({
134
- subscribe: Context.get(context, Service69).subscribe,
134
+ subscribe: Context.get(context, Service44).subscribe,
135
135
  emit: (update) => Effect.sync(() => {
136
136
  const target = path.resolve(update.path);
137
137
  active.forEach((matches, publish) => {
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
141
141
  }),
142
142
  subscriptions: () => Effect.sync(() => [...subscriptions])
143
143
  });
144
- return Context.empty().pipe(Context.add(Service69, test), Context.add(Test3, test));
144
+ return Context.empty().pipe(Context.add(Service44, test), Context.add(Test3, test));
145
145
  }));
146
146
  var nativeLayer2 = Layer.succeed(Native3, Native3.of({
147
147
  subscribe: (input) => {
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
164
164
  }
165
165
  }));
166
166
  var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
167
- function configured11(options) {
168
- return makeGlobalNode({ service: Service69, layer: layer24(options), deps: [nativeNode2] });
167
+ function configured6(options) {
168
+ return makeGlobalNode({ service: Service44, layer: layer21(options), deps: [nativeNode2] });
169
169
  }
170
- var node73 = configured11();
170
+ var node46 = configured6();
171
171
  function subscribeDirectory(native, backend, directory, ignore, publish) {
172
172
  if (!native || !backend) {
173
173
  return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
187
187
  }).pipe(Effect.as(undefined))));
188
188
  }
189
189
 
190
- export { Event13, hasNativeBinding2, Native3, Options10, Service69, Test3, layer24, testLayer3, nativeLayer2, nativeNode2, configured11, node73, exports_watcher };
190
+ export { Event5, hasNativeBinding2, Native3, Options6, Service44, Test3, layer21, testLayer3, nativeLayer2, nativeNode2, configured6, node46, exports_watcher };
@@ -1,57 +1,57 @@
1
1
  import {
2
- Service85,
3
- node89
4
- } from "./config-mtshcjcm.js";
2
+ Service82,
3
+ node86
4
+ } from "./model-tevdrw4n.js";
5
5
  import {
6
- Event19,
7
- Service79,
8
- node83
9
- } from "./config-20vf2h00.js";
6
+ Event15,
7
+ Service66,
8
+ node69
9
+ } from "./model-kzr27bp7.js";
10
10
  import {
11
- Service69,
12
- node73
13
- } from "./config-crwbn2y9.js";
11
+ Service44,
12
+ node46
13
+ } from "./model-bpxfg8jv.js";
14
14
  import {
15
15
  AbsolutePath2
16
- } from "./config-z5v4ffb3.js";
16
+ } from "./model-z5v4ffb3.js";
17
17
  import {
18
- Service81,
19
- node85
20
- } from "./config-ztk2zx25.js";
18
+ Service80,
19
+ node84
20
+ } from "./model-awq6q12e.js";
21
21
  import {
22
22
  substitute2
23
- } from "./config-kwb1v3vj.js";
23
+ } from "./model-kwb1v3vj.js";
24
24
  import {
25
25
  normalize2
26
- } from "./config-f4p4s2dp.js";
26
+ } from "./model-xqwg9xjb.js";
27
27
  import {
28
- names4,
28
+ names3,
29
29
  stripPreferenceMetadata2,
30
30
  discover3
31
- } from "./config-g92cw1z2.js";
31
+ } from "./model-7fhvptcd.js";
32
32
  import {
33
33
  plan2
34
- } from "./config-6827pfxn.js";
34
+ } from "./model-6827pfxn.js";
35
35
  import {
36
- Service70,
37
- Event14,
38
- node74
39
- } from "./config-fh9gh03y.js";
36
+ Service69,
37
+ Event17,
38
+ node72
39
+ } from "./model-mwez8230.js";
40
40
  import {
41
41
  __export
42
- } from "./config-9rqn6x4v.js";
42
+ } from "./model-9rqn6x4v.js";
43
43
 
44
44
  // src/config.ts
45
45
  var exports_config = {};
46
46
  __export(exports_config, {
47
47
  Config: () => exports_config,
48
- Options: () => Options8,
49
- Service: () => Service68,
48
+ Options: () => Options5,
49
+ Service: () => Service43,
50
50
  Test: () => Test2,
51
- configured: () => configured10,
51
+ configured: () => configured5,
52
52
  latest: () => latest2,
53
- layer: () => layer23,
54
- node: () => node72,
53
+ layer: () => layer20,
54
+ node: () => node45,
55
55
  testLayer: () => testLayer2
56
56
  });
57
57
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -67,7 +67,7 @@ import { ChildProcess } from "effect/process";
67
67
  function latest2(entries, key) {
68
68
  return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
69
69
  }
70
- var Options8 = Schema.Struct({
70
+ var Options5 = Schema.Struct({
71
71
  project: Schema.optional(Schema.Boolean),
72
72
  global: Schema.optional(Schema.Boolean),
73
73
  system: Schema.optional(Schema.Union([Schema.Boolean, Schema.String])),
@@ -76,7 +76,7 @@ var Options8 = Schema.Struct({
76
76
  content: Schema.optional(Schema.String)
77
77
  });
78
78
 
79
- class Service68 extends Context.Service()("@opencode/Config") {
79
+ class Service43 extends Context.Service()("@opencode/Config") {
80
80
  }
81
81
 
82
82
  class Test2 extends Context.Service()("@opencode/Config/Test") {
@@ -94,16 +94,16 @@ var testLayer2 = (initial = [], compatibility = {
94
94
  setEntries: (next) => Ref.set(entries, next),
95
95
  emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
96
96
  });
97
- return Context.empty().pipe(Context.add(Service68, service), Context.add(Test2, service));
97
+ return Context.empty().pipe(Context.add(Service43, service), Context.add(Test2, service));
98
98
  }));
99
- var layer23 = (options) => Layer.effect(Service68, Effect.gen(function* () {
99
+ var layer20 = (options) => Layer.effect(Service43, Effect.gen(function* () {
100
100
  const fs = yield* FSUtil.Service;
101
- const location = yield* Service81;
102
- const watcher = yield* Service69;
103
- const bus = yield* Service85;
104
- const credentials = yield* Service79;
101
+ const location = yield* Service80;
102
+ const watcher = yield* Service44;
103
+ const bus = yield* Service82;
104
+ const credentials = yield* Service66;
105
105
  const globalService = yield* Global.Service;
106
- const wellknown = yield* Service70;
106
+ const wellknown = yield* Service69;
107
107
  const processes = yield* AppProcess.Service;
108
108
  const reloadLock = Semaphore.makeUnsafe(1);
109
109
  const updateLock = Semaphore.makeUnsafe(1);
@@ -186,7 +186,7 @@ var layer23 = (options) => Layer.effect(Service68, Effect.gen(function* () {
186
186
  });
187
187
  const loadDirectory = Effect.fnUntraced(function* (directory) {
188
188
  return [
189
- ...yield* Effect.forEach(names4, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
189
+ ...yield* Effect.forEach(names3, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
190
190
  new Directory({ type: "directory", path: directory })
191
191
  ];
192
192
  });
@@ -254,8 +254,8 @@ var layer23 = (options) => Layer.effect(Service68, Effect.gen(function* () {
254
254
  }, (effect) => reloadLock.withPermit(effect));
255
255
  const pendingReloads = yield* PubSub.subscribe(reloads);
256
256
  yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
257
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
258
- yield* bus.subscribe(Event14.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
257
+ yield* bus.subscribe(Event15.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
258
+ yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
259
259
  yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
260
260
  if (!wellknown.snapshot().length)
261
261
  return Effect.void;
@@ -268,7 +268,7 @@ var layer23 = (options) => Layer.effect(Service68, Effect.gen(function* () {
268
268
  yield* reloadLock.withPermit(reconcile(initial));
269
269
  const update = Effect.fn("Config.update")(function* (patch) {
270
270
  const directory = initial.global ?? AbsolutePath2.make(globalService.config);
271
- const candidates = names4.map((name) => path.join(directory, name));
271
+ const candidates = names3.map((name) => path.join(directory, name));
272
272
  const filepath = (yield* Effect.filter(candidates, fs.isFile)).at(-1) ?? path.join(directory, "opencode.jsonc");
273
273
  const text = (yield* fs.readFileStringSafe(filepath)) ?? `{}
274
274
  `;
@@ -283,7 +283,7 @@ var layer23 = (options) => Layer.effect(Service68, Effect.gen(function* () {
283
283
  `);
284
284
  yield* requestReload;
285
285
  }, (effect) => updateLock.withPermit(effect));
286
- return Service68.of({
286
+ return Service43.of({
287
287
  entries: Effect.fnUntraced(function* () {
288
288
  return configs;
289
289
  }),
@@ -295,22 +295,22 @@ var layer23 = (options) => Layer.effect(Service68, Effect.gen(function* () {
295
295
  update
296
296
  });
297
297
  }));
298
- function configured10(options) {
298
+ function configured5(options) {
299
299
  return makeLocationNode({
300
- service: Service68,
301
- layer: layer23(options),
300
+ service: Service43,
301
+ layer: layer20(options),
302
302
  deps: [
303
- node73,
304
- node89,
303
+ node46,
304
+ node86,
305
305
  FSUtil.node,
306
306
  Global.node,
307
- node85,
308
- node83,
309
- node74,
307
+ node84,
308
+ node69,
309
+ node72,
310
310
  AppProcess.node
311
311
  ]
312
312
  });
313
313
  }
314
- var node72 = configured10();
314
+ var node45 = configured5();
315
315
 
316
- export { latest2, Options8, Service68, Test2, testLayer2, layer23, configured10, node72, exports_config };
316
+ export { latest2, Options5, Service43, Test2, testLayer2, layer20, configured5, node45, exports_config };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./config-dpkg50ah.js";
3
+ } from "./model-y71avatq.js";
4
4
  import {
5
- Service56,
6
- node59
7
- } from "./config-jkter17d.js";
5
+ Service73,
6
+ node76
7
+ } from "./model-c6tn7fe1.js";
8
8
  import {
9
9
  __export
10
- } from "./config-9rqn6x4v.js";
10
+ } from "./model-9rqn6x4v.js";
11
11
 
12
12
  // src/file-mutation.ts
13
13
  var exports_file_mutation = {};
14
14
  __export(exports_file_mutation, {
15
15
  FileMutation: () => exports_file_mutation,
16
- Service: () => Service13,
17
- node: () => node16,
16
+ Service: () => Service15,
17
+ node: () => node17,
18
18
  readText: () => readText2,
19
19
  syncTextBom: () => syncTextBom2
20
20
  });
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, Effect, Layer } from "effect";
23
23
  import { FSUtil } from "@opencode/util/fs-util";
24
24
  import { Bom } from "@opencode/util/bom";
25
- class Service13 extends Context.Service()("@opencode/FileMutation") {
25
+ class Service15 extends Context.Service()("@opencode/FileMutation") {
26
26
  }
27
27
  var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
28
28
  return Bom.decodeBytes((yield* files.read(target)).bytes);
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
34
34
  return synced.text;
35
35
  });
36
36
  var transactionLocks = makeUnsafe2();
37
- var layer = Layer.effect(Service13, Effect.gen(function* () {
38
- const environment = yield* Service56;
37
+ var layer = Layer.effect(Service15, Effect.gen(function* () {
38
+ const environment = yield* Service73;
39
39
  const locks = makeUnsafe2();
40
40
  const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
41
41
  const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
56
56
  yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
57
57
  return writeResult(input.target, current !== undefined);
58
58
  })));
59
- return Service13.of({ withLock, write, writeTextPreservingBom });
59
+ return Service15.of({ withLock, write, writeTextPreservingBom });
60
60
  }));
61
- var node16 = makeLocationNode({ service: Service13, layer, deps: [node59] });
61
+ var node17 = makeLocationNode({ service: Service15, layer, deps: [node76] });
62
62
 
63
- export { Service13, readText2, syncTextBom2, node16, exports_file_mutation };
63
+ export { Service15, readText2, syncTextBom2, node17, exports_file_mutation };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./config-z5v4ffb3.js";
3
+ } from "./model-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./config-9rqn6x4v.js";
6
+ } from "./model-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/provider.ts
9
9
  var exports_provider2 = {};
10
10
  __export(exports_provider2, {
11
11
  ConfigProviderV1: () => exports_provider2,
12
- Info: () => Info17,
12
+ Info: () => Info8,
13
13
  Model: () => Model2,
14
14
  ModelStatus: () => ModelStatus2
15
15
  });
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
61
61
  disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
62
62
  }), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
63
63
  });
64
- var Info17 = Schema.Struct({
64
+ var Info8 = Schema.Struct({
65
65
  api: Schema.optional(Schema.String),
66
66
  name: Schema.optional(Schema.String),
67
67
  env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
@@ -95,4 +95,4 @@ var Info17 = Schema.Struct({
95
95
  models: Schema.optional(Schema.Record(Schema.String, Model2))
96
96
  }).annotate({ identifier: "ProviderConfig" });
97
97
 
98
- export { ModelStatus2, Model2, Info17, exports_provider2 };
98
+ export { ModelStatus2, Model2, Info8, exports_provider2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./config-9rqn6x4v.js";
3
+ } from "./model-9rqn6x4v.js";
4
4
 
5
5
  // src/config/plugin/skill-scan.ts
6
6
  var exports_skill_scan = {};
@@ -1,65 +1,65 @@
1
1
  import {
2
- Service85,
3
- node89
4
- } from "./config-mtshcjcm.js";
2
+ Service82,
3
+ node86
4
+ } from "./model-tevdrw4n.js";
5
5
  import {
6
- Service81,
7
- node85
8
- } from "./config-ztk2zx25.js";
6
+ Service80,
7
+ node84
8
+ } from "./model-awq6q12e.js";
9
9
  import {
10
- Service59,
10
+ Service76,
11
11
  login2,
12
- node63
13
- } from "./config-xj3qrrcf.js";
12
+ node80
13
+ } from "./model-8yj6gt86.js";
14
14
  import {
15
15
  lazy2
16
- } from "./config-88xbtdfr.js";
16
+ } from "./model-88xbtdfr.js";
17
17
  import {
18
18
  __export
19
- } from "./config-9rqn6x4v.js";
19
+ } from "./model-9rqn6x4v.js";
20
20
 
21
21
  // src/pty.ts
22
22
  var exports_pty = {};
23
23
  __export(exports_pty, {
24
24
  CreateInput: () => CreateInput2,
25
- Event: () => Event3,
25
+ Event: () => Event19,
26
26
  ExitedError: () => ExitedError2,
27
- ID: () => ID3,
28
- Info: () => Info4,
29
- NotFoundError: () => NotFoundError3,
27
+ ID: () => ID16,
28
+ Info: () => Info25,
29
+ NotFoundError: () => NotFoundError11,
30
30
  Pty: () => exports_pty,
31
- Service: () => Service17,
32
- UpdateInput: () => UpdateInput2,
33
- node: () => node20
31
+ Service: () => Service75,
32
+ UpdateInput: () => UpdateInput3,
33
+ node: () => node79
34
34
  });
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
36
  import { Context, Effect, Layer, Schema } from "effect";
37
37
  import { Pty } from "@opencode/schema/pty";
38
- import { Event as Event3 } from "@opencode/schema/pty";
38
+ import { Event as Event19 } from "@opencode/schema/pty";
39
39
  var BUFFER_LIMIT = 1024 * 1024 * 2;
40
40
  var EXITED_LIMIT = 25;
41
41
  var pty = lazy2(() => import("#pty"));
42
- var ID3 = Pty.ID;
43
- var Info4 = Pty.Info;
42
+ var ID16 = Pty.ID;
43
+ var Info25 = Pty.Info;
44
44
  var CreateInput2 = Pty.CreateInput;
45
- var UpdateInput2 = Pty.UpdateInput;
45
+ var UpdateInput3 = Pty.UpdateInput;
46
46
 
47
- class NotFoundError3 extends Schema.TaggedError()("Pty.NotFoundError", {
48
- ptyID: ID3
47
+ class NotFoundError11 extends Schema.TaggedError()("Pty.NotFoundError", {
48
+ ptyID: ID16
49
49
  }) {
50
50
  }
51
51
 
52
52
  class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
53
- ptyID: ID3
53
+ ptyID: ID16
54
54
  }) {
55
55
  }
56
56
 
57
- class Service17 extends Context.Service()("@opencode/Pty") {
57
+ class Service75 extends Context.Service()("@opencode/Pty") {
58
58
  }
59
- var layer = Layer.effect(Service17, Effect.gen(function* () {
60
- const bus = yield* Service85;
61
- const location = yield* Service81;
62
- const shell = yield* Service59;
59
+ var layer = Layer.effect(Service75, Effect.gen(function* () {
60
+ const bus = yield* Service82;
61
+ const location = yield* Service80;
62
+ const shell = yield* Service76;
63
63
  const context = yield* Effect.context();
64
64
  const runFork = Effect.runForkWith(context);
65
65
  const sessions = new Map;
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
96
96
  const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
97
97
  const session = sessions.get(id);
98
98
  if (!session)
99
- return yield* new NotFoundError3({ ptyID: id });
99
+ return yield* new NotFoundError11({ ptyID: id });
100
100
  return session;
101
101
  });
102
102
  const removeSession = Effect.fnUntraced(function* (id) {
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
122
122
  return (yield* requireSession(id)).info;
123
123
  });
124
124
  const create = Effect.fn("Pty.create")(function* (input) {
125
- const id = ID3.ascending();
125
+ const id = ID16.ascending();
126
126
  const command = input.command || (yield* shell.resolve({ priority: "config" }));
127
127
  const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
128
128
  const cwd = input.cwd || location.directory;
@@ -267,12 +267,12 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
267
267
  }
268
268
  };
269
269
  });
270
- return Service17.of({ list, get, create, update, remove, write, attach });
270
+ return Service75.of({ list, get, create, update, remove, write, attach });
271
271
  }));
272
- var node20 = makeLocationNode({
273
- service: Service17,
272
+ var node79 = makeLocationNode({
273
+ service: Service75,
274
274
  layer,
275
- deps: [node89, node85, node63]
275
+ deps: [node86, node84, node80]
276
276
  });
277
277
 
278
- export { ID3, Info4, CreateInput2, UpdateInput2, NotFoundError3, ExitedError2, Service17, node20, exports_pty, Event3 };
278
+ export { ID16, Info25, CreateInput2, UpdateInput3, NotFoundError11, ExitedError2, Service75, node79, exports_pty, Event19 };