@opencode/core 0.0.0-dev-19468 → 0.0.0-dev-19469

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 (785) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +68 -68
  7. package/dist/catalog.js +84 -84
  8. package/dist/chunks/{command-a2ap4c0w.js → reference-01anbdkk.js} +19 -19
  9. package/dist/chunks/{command-qtewthd2.js → reference-05r7bmwp.js} +10 -10
  10. package/dist/chunks/{command-bccb6npm.js → reference-06dxphr1.js} +4 -4
  11. package/dist/chunks/{command-xwnd57w1.js → reference-09aw4jvq.js} +9 -9
  12. package/dist/chunks/{command-0fwh74eg.js → reference-09y6afs0.js} +8 -8
  13. package/dist/chunks/{command-e89xj288.js → reference-0gapa1rm.js} +5 -5
  14. package/dist/chunks/{command-r31hq9tw.js → reference-0htbavtx.js} +17 -17
  15. package/dist/chunks/reference-0mesazry.js +4 -0
  16. package/dist/chunks/{command-p8h51xpj.js → reference-0mhw05h8.js} +10 -10
  17. package/dist/chunks/{command-0paq2nw3.js → reference-0paq2nw3.js} +1 -1
  18. package/dist/chunks/{command-0q0f95c6.js → reference-0q0f95c6.js} +1 -1
  19. package/dist/chunks/{command-jq77w4zw.js → reference-0qe8g8zg.js} +11 -11
  20. package/dist/chunks/{command-vkpd1pcz.js → reference-0t8dc6r8.js} +13 -13
  21. package/dist/chunks/{command-nca7p386.js → reference-10jtetaj.js} +4 -4
  22. package/dist/chunks/{command-xdmx6wv9.js → reference-12kja8s8.js} +11 -11
  23. package/dist/chunks/{command-8nk26xcd.js → reference-15k12kva.js} +4 -4
  24. package/dist/chunks/{command-nre9bmbr.js → reference-15vt8tk0.js} +26 -26
  25. package/dist/chunks/{command-17j9h1rv.js → reference-16cax9zb.js} +11 -11
  26. package/dist/chunks/{command-bn5pg142.js → reference-17bm7pxq.js} +11 -11
  27. package/dist/chunks/{command-fygdb7h7.js → reference-18cztcj7.js} +3 -3
  28. package/dist/chunks/{command-z69s9t6b.js → reference-1ah30sey.js} +5 -5
  29. package/dist/chunks/{command-zk4xc3a5.js → reference-1c83pxjm.js} +8 -8
  30. package/dist/chunks/{command-bvbz56nf.js → reference-1cbphejb.js} +11 -11
  31. package/dist/chunks/{command-1dazxqgg.js → reference-1dazxqgg.js} +2 -2
  32. package/dist/chunks/{command-3tey5e4w.js → reference-1e9w7pgh.js} +10 -10
  33. package/dist/chunks/{command-cf4sgr4m.js → reference-1ezb2zjw.js} +15 -15
  34. package/dist/chunks/{command-6j9ecrq6.js → reference-1gnhaxbw.js} +3 -3
  35. package/dist/chunks/{command-7kqtcfr2.js → reference-1kb45nkz.js} +11 -11
  36. package/dist/chunks/{command-3xwc0nbz.js → reference-1r2rfnkf.js} +30 -30
  37. package/dist/chunks/{command-depwzj9d.js → reference-1tjg7tvh.js} +5 -5
  38. package/dist/chunks/{command-v6gj3a76.js → reference-1xcz5rcm.js} +9 -9
  39. package/dist/chunks/{command-1w9eg795.js → reference-1xd5egdd.js} +15 -15
  40. package/dist/chunks/{command-1ygqh575.js → reference-1ygqh575.js} +2 -2
  41. package/dist/chunks/{command-21r38tys.js → reference-21r38tys.js} +1 -1
  42. package/dist/chunks/{command-5r1zsdx9.js → reference-2336b01z.js} +5 -5
  43. package/dist/chunks/{command-2402vzrj.js → reference-2402vzrj.js} +1 -1
  44. package/dist/chunks/{command-wtgrkprm.js → reference-27cwmj5g.js} +37 -37
  45. package/dist/chunks/{command-9dm3xxv4.js → reference-2a263qgy.js} +6 -6
  46. package/dist/chunks/{command-2a5m3afh.js → reference-2a5m3afh.js} +1 -1
  47. package/dist/chunks/{command-m2d0j7c0.js → reference-2bt6bea8.js} +9 -9
  48. package/dist/chunks/{command-m27pyyd3.js → reference-2d6j2h4j.js} +6 -6
  49. package/dist/chunks/{command-56zp6hen.js → reference-2e96adxv.js} +9 -9
  50. package/dist/chunks/{command-fcrkznn8.js → reference-2k8khapm.js} +5 -5
  51. package/dist/chunks/{command-vwkvnd24.js → reference-2kmxw8hs.js} +37 -37
  52. package/dist/chunks/{command-fvcnrdsd.js → reference-2kr5eys4.js} +2 -2
  53. package/dist/chunks/{command-r80rqf00.js → reference-2nv2m7pf.js} +6 -6
  54. package/dist/chunks/{command-qhzsw49z.js → reference-2rmxd9h0.js} +10 -10
  55. package/dist/chunks/{command-jrrn2k62.js → reference-2wyjv582.js} +4 -4
  56. package/dist/chunks/{command-r9babyk8.js → reference-31dz7cp4.js} +1 -1
  57. package/dist/chunks/{command-awhebgdh.js → reference-35rfs3k1.js} +8 -8
  58. package/dist/chunks/{command-3fc6dm20.js → reference-3fc6dm20.js} +1 -1
  59. package/dist/chunks/{command-3hepkmqq.js → reference-3hepkmqq.js} +1 -1
  60. package/dist/chunks/{command-22j10vgt.js → reference-3hwn07qe.js} +11 -11
  61. package/dist/chunks/{command-csz8m25e.js → reference-3sa4r9dq.js} +17 -17
  62. package/dist/chunks/{command-3smtnn6g.js → reference-3smtnn6g.js} +1 -1
  63. package/dist/chunks/{command-3tvqynh2.js → reference-3tvqynh2.js} +1 -1
  64. package/dist/chunks/{command-4mp12xfm.js → reference-3vnq2gnx.js} +11 -11
  65. package/dist/chunks/{command-z3pw5915.js → reference-3w0fmcng.js} +5 -5
  66. package/dist/chunks/{command-1z06sqnr.js → reference-3whwtej4.js} +6 -6
  67. package/dist/chunks/{command-w2rsnnhh.js → reference-415h19gn.js} +3 -3
  68. package/dist/chunks/{command-11vz36px.js → reference-47fbce8x.js} +64 -64
  69. package/dist/chunks/{command-jq16a9yq.js → reference-4g33vjc1.js} +48 -48
  70. package/dist/chunks/{command-4zan7p04.js → reference-4pq1e7ap.js} +29 -29
  71. package/dist/chunks/{command-mqzwkyay.js → reference-4wkq7p63.js} +8 -8
  72. package/dist/chunks/{command-4y66k410.js → reference-4y66k410.js} +2 -2
  73. package/dist/chunks/{command-t7z3zppm.js → reference-4yg7xpeb.js} +2 -2
  74. package/dist/chunks/{command-7r9nvvan.js → reference-54fz3v2y.js} +15 -15
  75. package/dist/chunks/{command-grw19vv8.js → reference-56e767g1.js} +32 -32
  76. package/dist/chunks/{command-xrv37rzx.js → reference-5d2ab029.js} +11 -11
  77. package/dist/chunks/{command-5daktx2q.js → reference-5daktx2q.js} +1 -1
  78. package/dist/chunks/{command-t5mzcy74.js → reference-5gx2yyfz.js} +18 -18
  79. package/dist/chunks/{command-1w6a0hnx.js → reference-5j82523v.js} +31 -31
  80. package/dist/chunks/{command-ksz0h0wp.js → reference-5jtdmvnp.js} +1 -1
  81. package/dist/chunks/{command-t3bdjydy.js → reference-5qmb0wzx.js} +37 -37
  82. package/dist/chunks/{command-5t3nmthw.js → reference-5t3nmthw.js} +2 -2
  83. package/dist/chunks/{command-atcs2qeq.js → reference-5v02x80t.js} +16 -16
  84. package/dist/chunks/{command-606t1thy.js → reference-5wwh4mg2.js} +4 -4
  85. package/dist/chunks/{command-5133n32a.js → reference-648tfcfv.js} +4 -4
  86. package/dist/chunks/{command-669tq793.js → reference-669tq793.js} +1 -1
  87. package/dist/chunks/{command-6msgmcgs.js → reference-6msgmcgs.js} +1 -1
  88. package/dist/chunks/{command-m8zgfef2.js → reference-6rh2dx9z.js} +5 -5
  89. package/dist/chunks/{command-71q4at8m.js → reference-71q4at8m.js} +1 -1
  90. package/dist/chunks/{command-qbs9wpx5.js → reference-73fcze5p.js} +6 -6
  91. package/dist/chunks/{command-n68r2zkb.js → reference-78qgck3m.js} +12 -12
  92. package/dist/chunks/{command-7bmhse3q.js → reference-7bmhse3q.js} +1 -1
  93. package/dist/chunks/{command-3frp61p1.js → reference-7ec9e7fz.js} +10 -10
  94. package/dist/chunks/{command-rrn4n66a.js → reference-7png34pd.js} +11 -11
  95. package/dist/chunks/{command-623tf1ms.js → reference-7vsprvj1.js} +25 -25
  96. package/dist/chunks/{command-7jdsj2a9.js → reference-7w99qc9d.js} +3 -3
  97. package/dist/chunks/{command-1awm1f41.js → reference-80e0yyk8.js} +12 -12
  98. package/dist/chunks/{command-5xtgfte3.js → reference-844ef7ks.js} +8 -8
  99. package/dist/chunks/{command-8d7r5vzw.js → reference-8d7r5vzw.js} +1 -1
  100. package/dist/chunks/{command-8p4f9s12.js → reference-8p4f9s12.js} +2 -2
  101. package/dist/chunks/{command-k12jm31d.js → reference-8r89cgw5.js} +26 -26
  102. package/dist/chunks/{command-08w2x8wj.js → reference-8zy0pqav.js} +25 -25
  103. package/dist/chunks/{command-gn4w61g6.js → reference-94r5a2b1.js} +9 -9
  104. package/dist/chunks/{command-b3nrcp5c.js → reference-96r2e1w0.js} +20 -20
  105. package/dist/chunks/{command-mqkmkpfj.js → reference-9ny7y94p.js} +10 -10
  106. package/dist/chunks/{command-rk0rec3h.js → reference-9pv0dm11.js} +9 -9
  107. package/dist/chunks/{command-a1bz86dw.js → reference-a1bz86dw.js} +3 -3
  108. package/dist/chunks/{command-43k15f45.js → reference-a4exdnt3.js} +4 -4
  109. package/dist/chunks/{command-j6q1n0sc.js → reference-a4kcyykg.js} +6 -6
  110. package/dist/chunks/{command-aaet6srn.js → reference-aaet6srn.js} +2 -2
  111. package/dist/chunks/{command-3ng855cv.js → reference-ad84r26q.js} +23 -23
  112. package/dist/chunks/{command-ddt2bs9e.js → reference-afdssyjb.js} +4 -4
  113. package/dist/chunks/{command-n093m6g5.js → reference-b38z4m5h.js} +20 -20
  114. package/dist/chunks/{command-w4280d3n.js → reference-b56hman4.js} +47 -47
  115. package/dist/chunks/{command-b6gygkdw.js → reference-b6gygkdw.js} +2 -2
  116. package/dist/chunks/{command-gew808h9.js → reference-bc2jnt26.js} +7 -7
  117. package/dist/chunks/{command-gr4w44ny.js → reference-bg8wk28x.js} +26 -26
  118. package/dist/chunks/{command-y62qmqfa.js → reference-bngkd4f8.js} +9 -9
  119. package/dist/chunks/{command-nbf8yg7d.js → reference-bshbjjhq.js} +30 -30
  120. package/dist/chunks/{command-0rpg7gzc.js → reference-bw03vhcb.js} +4 -4
  121. package/dist/chunks/{command-6kwa84ek.js → reference-bxya9zf1.js} +24 -24
  122. package/dist/chunks/{command-tn44nq14.js → reference-c0j4bwt0.js} +12 -12
  123. package/dist/chunks/{command-qqe6tnq7.js → reference-c5vgnrd2.js} +10 -10
  124. package/dist/chunks/{command-w3qz1p8h.js → reference-cb7jb397.js} +20 -20
  125. package/dist/chunks/{command-cfpkc3c9.js → reference-cfpkc3c9.js} +2 -2
  126. package/dist/chunks/{command-n81d318j.js → reference-ch958ebp.js} +43 -43
  127. package/dist/chunks/{command-02dn8pjv.js → reference-chnmz1hg.js} +8 -8
  128. package/dist/chunks/{command-msgzsd09.js → reference-ctfh8fzz.js} +24 -24
  129. package/dist/chunks/{command-1y7qjh7f.js → reference-cy1a2d0g.js} +23 -23
  130. package/dist/chunks/{command-t23qze4t.js → reference-d50f2zf5.js} +1 -1
  131. package/dist/chunks/{command-82tjt3dw.js → reference-d590qfxf.js} +11 -11
  132. package/dist/chunks/{command-kar9ash6.js → reference-d6cdva8b.js} +85 -85
  133. package/dist/chunks/{command-7atngb88.js → reference-dfe8djrf.js} +4 -4
  134. package/dist/chunks/{command-07q4da3w.js → reference-dfp9n8hb.js} +27 -27
  135. package/dist/chunks/{command-cw6zws1e.js → reference-dpa0gt8g.js} +18 -18
  136. package/dist/chunks/{command-rbzw3czx.js → reference-dqh78jdz.js} +29 -29
  137. package/dist/chunks/{command-2fd5jjda.js → reference-dwqs10ka.js} +34 -34
  138. package/dist/chunks/reference-dxj72tfx.js +18 -0
  139. package/dist/chunks/{command-hjtepwtx.js → reference-dydhxaw9.js} +20 -20
  140. package/dist/chunks/{command-et4cfen6.js → reference-e2d25rr3.js} +20 -20
  141. package/dist/chunks/{command-d1khqved.js → reference-e6hmchc5.js} +5 -5
  142. package/dist/chunks/{command-zcqf6png.js → reference-ebah8r6x.js} +6 -6
  143. package/dist/chunks/{command-etq0c3wd.js → reference-etq0c3wd.js} +1 -1
  144. package/dist/chunks/{command-hct2a0fv.js → reference-f0rar1s7.js} +21 -21
  145. package/dist/chunks/{command-bqx9ejx6.js → reference-f1md5hpv.js} +20 -20
  146. package/dist/chunks/{command-2bvt8f80.js → reference-f250hf8h.js} +13 -13
  147. package/dist/chunks/{command-ab1j02q5.js → reference-f6jnqjkq.js} +34 -34
  148. package/dist/chunks/{command-f828m53h.js → reference-f828m53h.js} +2 -2
  149. package/dist/chunks/{command-f8q7mv7a.js → reference-f9bavhm2.js} +1 -1
  150. package/dist/chunks/{command-qjmsdj0v.js → reference-fa3vxxse.js} +12 -12
  151. package/dist/chunks/reference-favptqsr.js +22 -0
  152. package/dist/chunks/{command-2eyezv9v.js → reference-fbfybm5t.js} +14 -14
  153. package/dist/chunks/{command-2cbvdzk3.js → reference-fdtzxv27.js} +8 -8
  154. package/dist/chunks/{command-k3qnv071.js → reference-fgtf9gwd.js} +8 -8
  155. package/dist/chunks/{command-2vs0bhag.js → reference-fp7m7k50.js} +20 -20
  156. package/dist/chunks/{command-8w2x90d8.js → reference-fsk062cm.js} +27 -27
  157. package/dist/chunks/{command-fxbjtjnd.js → reference-fxbjtjnd.js} +1 -1
  158. package/dist/chunks/{command-6sr3ve8g.js → reference-g190xswt.js} +21 -21
  159. package/dist/chunks/{command-ha44nnvw.js → reference-gc6qaqmt.js} +15 -15
  160. package/dist/chunks/{command-gd4qta3r.js → reference-gd4qta3r.js} +1 -1
  161. package/dist/chunks/{command-m91662m1.js → reference-gj09rpzd.js} +9 -9
  162. package/dist/chunks/{command-kxdgf94m.js → reference-gm03z5wg.js} +36 -36
  163. package/dist/chunks/{command-kh9sx4kg.js → reference-gn2hfjap.js} +8 -8
  164. package/dist/chunks/{command-49dgzs36.js → reference-gtqrsy8f.js} +17 -17
  165. package/dist/chunks/{command-gv6a8nnw.js → reference-gv6a8nnw.js} +2 -2
  166. package/dist/chunks/{command-2ehqxkpw.js → reference-gvphacjb.js} +12 -12
  167. package/dist/chunks/{command-h03wrkyp.js → reference-h03wrkyp.js} +2 -2
  168. package/dist/chunks/{command-zbgm0av8.js → reference-h4bptjw1.js} +3 -3
  169. package/dist/chunks/{command-h6vf3j39.js → reference-h6vf3j39.js} +1 -1
  170. package/dist/chunks/{command-epd1fg1b.js → reference-hfdr1yjj.js} +4 -4
  171. package/dist/chunks/{command-yt0fqk68.js → reference-hkfg6fzm.js} +5 -5
  172. package/dist/chunks/{command-pbmwqkmp.js → reference-hpjzhk5e.js} +18 -18
  173. package/dist/chunks/{command-dyrcy9xv.js → reference-ht96ep0w.js} +17 -17
  174. package/dist/chunks/{command-j56e64zr.js → reference-j56e64zr.js} +1 -1
  175. package/dist/chunks/{command-efje2ph3.js → reference-j8pg3ej3.js} +4 -4
  176. package/dist/chunks/{command-dqw3007c.js → reference-jbbzf1js.js} +10 -10
  177. package/dist/chunks/{command-j7cjz3r7.js → reference-jcthwcnq.js} +27 -27
  178. package/dist/chunks/{command-xe49p51w.js → reference-jd4jebz2.js} +24 -24
  179. package/dist/chunks/{command-qkn0he17.js → reference-jr6f0vph.js} +89 -89
  180. package/dist/chunks/{command-w2wp25j3.js → reference-jx4nweh7.js} +13 -13
  181. package/dist/chunks/{command-96yt6zt0.js → reference-jy16bfac.js} +1 -1
  182. package/dist/chunks/{command-c6e7cwvj.js → reference-k2as7s6q.js} +54 -54
  183. package/dist/chunks/{command-mn5tqr63.js → reference-k5tg8ptt.js} +22 -6
  184. package/dist/chunks/{command-3s0x99s8.js → reference-k8wp12df.js} +21 -21
  185. package/dist/chunks/{command-2gdjp541.js → reference-kb35dtpx.js} +4 -4
  186. package/dist/chunks/{command-mj56dvqn.js → reference-kdgdx0pq.js} +17 -17
  187. package/dist/chunks/{command-kg06axw8.js → reference-kg06axw8.js} +1 -1
  188. package/dist/chunks/{command-ps5pwecj.js → reference-kn35aw4y.js} +13 -13
  189. package/dist/chunks/{command-d40bqwh8.js → reference-krf6f92z.js} +1 -1
  190. package/dist/chunks/{command-pnw8gab2.js → reference-m188z08q.js} +14 -14
  191. package/dist/chunks/{command-cj25t1z9.js → reference-m4gc54s5.js} +32 -32
  192. package/dist/chunks/{command-yjb6gg26.js → reference-m7c4bemr.js} +171 -171
  193. package/dist/chunks/{command-2wxfd3z4.js → reference-m7fm29bt.js} +7 -7
  194. package/dist/chunks/{command-m9w0rfyh.js → reference-m9w0rfyh.js} +1 -1
  195. package/dist/chunks/{command-tqza4b3e.js → reference-ma9zq0m7.js} +56 -56
  196. package/dist/chunks/{command-xzmxhkya.js → reference-mb0geh9n.js} +11 -11
  197. package/dist/chunks/{command-fypfzqg6.js → reference-mcakkx8x.js} +9 -9
  198. package/dist/chunks/{command-1bbkgx8g.js → reference-mhkvc446.js} +3 -3
  199. package/dist/chunks/{command-mkcjrzeh.js → reference-mkcjrzeh.js} +1 -1
  200. package/dist/chunks/{command-88k2vggc.js → reference-ms97y41h.js} +11 -11
  201. package/dist/chunks/{command-jzbwbd34.js → reference-mw9a6czv.js} +4 -4
  202. package/dist/chunks/{command-pk3bwvhp.js → reference-n5ep5dan.js} +25 -25
  203. package/dist/chunks/{command-ce2p0j6g.js → reference-n5my4zzm.js} +36 -36
  204. package/dist/chunks/{command-jfrxj68p.js → reference-n972z8tz.js} +296 -296
  205. package/dist/chunks/{command-1natq340.js → reference-na7vfx71.js} +15 -15
  206. package/dist/chunks/{command-wpsncnrz.js → reference-nfxhw9qw.js} +13 -13
  207. package/dist/chunks/{command-nhy5jxhy.js → reference-nhy5jxhy.js} +1 -1
  208. package/dist/chunks/{command-51jra4mh.js → reference-nng2ktcm.js} +2 -2
  209. package/dist/chunks/{command-gc5k1756.js → reference-nsabaa1m.js} +17 -17
  210. package/dist/chunks/{command-6d9mz4vp.js → reference-p1wf2k30.js} +5 -5
  211. package/dist/chunks/{command-68rj78f5.js → reference-p8q51ffm.js} +24 -24
  212. package/dist/chunks/{command-f2dtw58t.js → reference-p8r4fzyh.js} +16 -16
  213. package/dist/chunks/{command-j935v87r.js → reference-paphc93g.js} +2 -2
  214. package/dist/chunks/{command-5wgc7fb1.js → reference-pazrb1rr.js} +5 -5
  215. package/dist/chunks/{command-6dqz5g6p.js → reference-phdhrp7w.js} +41 -41
  216. package/dist/chunks/{command-pjvnvgmy.js → reference-pjvnvgmy.js} +1 -1
  217. package/dist/chunks/{command-pknna89w.js → reference-pknna89w.js} +1 -1
  218. package/dist/chunks/{command-4xwq6bpx.js → reference-pnk6npkv.js} +16 -16
  219. package/dist/chunks/{command-ce62gj8z.js → reference-ppe0rjzw.js} +16 -16
  220. package/dist/chunks/{command-hph61g7p.js → reference-psm6qbq5.js} +24 -24
  221. package/dist/chunks/{command-cyrm38ka.js → reference-pyg81bkg.js} +4 -4
  222. package/dist/chunks/{command-xg3w2jr6.js → reference-q5xz05ap.js} +11 -11
  223. package/dist/chunks/{command-hyzf9tpp.js → reference-qdxx0g8s.js} +32 -32
  224. package/dist/chunks/{command-nse75xca.js → reference-qgawthcf.js} +46 -46
  225. package/dist/chunks/{command-fgh0kbhd.js → reference-qmr73083.js} +1 -1
  226. package/dist/chunks/{command-tfngb0ww.js → reference-qr27hz8v.js} +4 -4
  227. package/dist/chunks/{command-r7vvp0pq.js → reference-qsam8w8k.js} +19 -19
  228. package/dist/chunks/{command-qsdy395h.js → reference-qsdy395h.js} +1 -1
  229. package/dist/chunks/{command-zwwg1j6t.js → reference-r65k5kbp.js} +12 -12
  230. package/dist/chunks/{command-r9mregkx.js → reference-r9mregkx.js} +2 -2
  231. package/dist/chunks/{command-a0v18vk0.js → reference-rftpfvvg.js} +41 -41
  232. package/dist/chunks/{command-yp2x3t23.js → reference-rhraev7y.js} +4 -4
  233. package/dist/chunks/{command-at5d07az.js → reference-ryr25ayn.js} +4 -4
  234. package/dist/chunks/{command-b8jxd6e3.js → reference-rzz62h8s.js} +6 -6
  235. package/dist/chunks/{command-zd4hnhbr.js → reference-s5wgwj4n.js} +35 -35
  236. package/dist/chunks/{command-0gdmqesm.js → reference-s8d7rejh.js} +4 -4
  237. package/dist/chunks/{command-dsdd247v.js → reference-s8vrwrxy.js} +9 -9
  238. package/dist/chunks/{command-n5rv7k3r.js → reference-sa3n58kn.js} +8 -8
  239. package/dist/chunks/{command-h0vzxx5t.js → reference-sb5pch95.js} +15 -15
  240. package/dist/chunks/{command-3b8gsagm.js → reference-smg7z89f.js} +39 -39
  241. package/dist/chunks/{command-n76fdqym.js → reference-sv9bpgvh.js} +5 -5
  242. package/dist/chunks/{command-c0haxaz1.js → reference-szqgdezh.js} +27 -27
  243. package/dist/chunks/{command-zytqva6s.js → reference-t8vn9brm.js} +10 -10
  244. package/dist/chunks/{command-w632jh98.js → reference-t92920s6.js} +9 -9
  245. package/dist/chunks/{command-tazgh4e4.js → reference-tazgh4e4.js} +1 -1
  246. package/dist/chunks/{command-tcezcvh9.js → reference-tcezcvh9.js} +1 -1
  247. package/dist/chunks/{command-tdstcens.js → reference-tdstcens.js} +1 -1
  248. package/dist/chunks/{command-tvtrv512.js → reference-tvtrv512.js} +1 -1
  249. package/dist/chunks/{command-8wgprd1f.js → reference-v71evwnx.js} +20 -20
  250. package/dist/chunks/{command-k16ay38w.js → reference-v8ch97zc.js} +1 -1
  251. package/dist/chunks/{command-wj6rvh9s.js → reference-v8qyrbfj.js} +5 -5
  252. package/dist/chunks/{command-f6c90htb.js → reference-vcgtdkxa.js} +33 -33
  253. package/dist/chunks/{command-veqvce7d.js → reference-veqvce7d.js} +1 -1
  254. package/dist/chunks/{command-8qbrsgc3.js → reference-vgfzxgad.js} +20 -20
  255. package/dist/chunks/{command-vzcthcp8.js → reference-vzcthcp8.js} +1 -1
  256. package/dist/chunks/{command-c6b6ay3f.js → reference-w3n3y9pr.js} +20 -20
  257. package/dist/chunks/{command-w3wsvvr9.js → reference-w3wsvvr9.js} +1 -1
  258. package/dist/chunks/{command-abx73nef.js → reference-w5s7sg4e.js} +38 -38
  259. package/dist/chunks/{command-wd87259q.js → reference-wd87259q.js} +1 -1
  260. package/dist/chunks/{command-dfzjkmr7.js → reference-wm1ya0ts.js} +20 -20
  261. package/dist/chunks/{command-atywk8py.js → reference-wst8cwqd.js} +25 -25
  262. package/dist/chunks/{command-ek7sb5kq.js → reference-ww4b13kq.js} +18 -18
  263. package/dist/chunks/{command-trnnyg3s.js → reference-wzpdcp4j.js} +14 -14
  264. package/dist/chunks/{command-janxdphz.js → reference-x014fvry.js} +26 -26
  265. package/dist/chunks/{command-x1ezjp6w.js → reference-x1ezjp6w.js} +1 -1
  266. package/dist/chunks/{command-f1yy6z4t.js → reference-x28agkan.js} +5 -5
  267. package/dist/chunks/{command-ktrv770k.js → reference-xgpae3me.js} +16 -16
  268. package/dist/chunks/{command-wq14gy70.js → reference-xj0mj0qg.js} +18 -18
  269. package/dist/chunks/{command-avj4qb0a.js → reference-xs36768n.js} +24 -24
  270. package/dist/chunks/{command-ytbffa2g.js → reference-xt2nr24r.js} +10 -10
  271. package/dist/chunks/{command-t3an8jwj.js → reference-xx1mwrye.js} +24 -24
  272. package/dist/chunks/{command-y1fvbwt7.js → reference-y1fvbwt7.js} +1 -1
  273. package/dist/chunks/{command-53g8qqsb.js → reference-y4hk1f48.js} +23 -23
  274. package/dist/chunks/{command-jff1ryk2.js → reference-y5y3sc4a.js} +33 -33
  275. package/dist/chunks/{command-y71avatq.js → reference-y71avatq.js} +1 -1
  276. package/dist/chunks/{command-7yqjxrmz.js → reference-y8nmaz64.js} +4 -4
  277. package/dist/chunks/{command-q029wpmv.js → reference-yg98y7q8.js} +17 -17
  278. package/dist/chunks/{command-yrhqyw5v.js → reference-yrhqyw5v.js} +1 -1
  279. package/dist/chunks/{command-s4enseaf.js → reference-yrznvahk.js} +2 -2
  280. package/dist/chunks/{command-z0bkrqjs.js → reference-z0bkrqjs.js} +1 -1
  281. package/dist/chunks/{command-8bzwbvaa.js → reference-z0dgpzg6.js} +23 -23
  282. package/dist/chunks/{command-29x78va6.js → reference-z63w68vq.js} +6 -6
  283. package/dist/chunks/{command-58hs0120.js → reference-z9xr9zm9.js} +9 -9
  284. package/dist/chunks/{command-2f45m2dq.js → reference-za77aepr.js} +3 -3
  285. package/dist/chunks/{command-zsvvz215.js → reference-zebdq5r6.js} +7 -7
  286. package/dist/chunks/{command-zeh9ct20.js → reference-zeh9ct20.js} +2 -2
  287. package/dist/chunks/reference-zg1jk378.js +247 -0
  288. package/dist/chunks/{command-zr2ceqn5.js → reference-zr2ceqn5.js} +1 -1
  289. package/dist/chunks/{command-zxq2ej10.js → reference-zxq2ej10.js} +1 -1
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +7 -7
  292. package/dist/codemode/tool.js +2 -2
  293. package/dist/command.js +82 -82
  294. package/dist/config/discovery.js +78 -78
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +19 -19
  297. package/dist/config/plugin/agent.js +116 -116
  298. package/dist/config/plugin/command.js +208 -208
  299. package/dist/config/plugin/compaction.js +156 -156
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +118 -118
  302. package/dist/config/plugin/image.js +116 -116
  303. package/dist/config/plugin/instruction.js +86 -86
  304. package/dist/config/plugin/location-watcher.js +118 -118
  305. package/dist/config/plugin/mcp.js +125 -125
  306. package/dist/config/plugin/policy.js +115 -115
  307. package/dist/config/plugin/provider.js +114 -114
  308. package/dist/config/plugin/reference.js +116 -116
  309. package/dist/config/plugin/shell.js +119 -119
  310. package/dist/config/plugin/skill-file.js +98 -98
  311. package/dist/config/plugin/skill.js +137 -137
  312. package/dist/config/plugin/snapshot.js +114 -114
  313. package/dist/config/plugin/source.js +116 -116
  314. package/dist/config/plugin/tool-output.js +118 -118
  315. package/dist/config/plugin/websearch.js +116 -116
  316. package/dist/config/plugin/worktree.js +119 -119
  317. package/dist/config/variable.js +3 -3
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +120 -120
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +80 -80
  322. package/dist/database/database.js +65 -65
  323. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +13 -13
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +14 -14
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  386. package/dist/database/migration.gen.js +48 -48
  387. package/dist/database/migration.js +50 -50
  388. package/dist/database/path.js +2 -2
  389. package/dist/database/schema.gen.js +1 -1
  390. package/dist/database/schema.sql.js +1 -1
  391. package/dist/database/sqlite.bun.js +1 -1
  392. package/dist/database/sqlite.js +1 -1
  393. package/dist/database/sqlite.node.js +1 -1
  394. package/dist/database/sqlite.workerd.js +1 -1
  395. package/dist/database/v1-migration.bun.js +75 -75
  396. package/dist/database/v1-migration.js +1 -1
  397. package/dist/effect/app-node-builder.js +363 -363
  398. package/dist/effect/app-node-platform.js +2 -2
  399. package/dist/effect/keyed-mutex.js +1 -1
  400. package/dist/effect/websocket-constructor.js +1 -1
  401. package/dist/environment/driver.js +1 -1
  402. package/dist/environment/environment.js +89 -89
  403. package/dist/environment/exec-defaults.js +2 -2
  404. package/dist/environment/files.js +1 -1
  405. package/dist/environment/index.js +89 -89
  406. package/dist/environment/local.js +2 -2
  407. package/dist/environment/memory.js +2 -2
  408. package/dist/environment/unavailable.js +1 -1
  409. package/dist/event/sql.js +1 -1
  410. package/dist/event-logger.js +69 -69
  411. package/dist/file-access.js +100 -100
  412. package/dist/file-mutation.js +90 -90
  413. package/dist/file-retention.js +1 -1
  414. package/dist/file.js +1 -1
  415. package/dist/filesystem/fff.bun.js +2 -2
  416. package/dist/filesystem/fff.js +1 -1
  417. package/dist/filesystem/fff.node.js +2 -2
  418. package/dist/filesystem/fff.workerd.js +2 -2
  419. package/dist/filesystem/ignore.js +1 -1
  420. package/dist/filesystem/location-watcher-policy.js +4 -4
  421. package/dist/filesystem/location-watcher.js +223 -223
  422. package/dist/filesystem/protected.js +1 -1
  423. package/dist/filesystem/search.js +100 -100
  424. package/dist/filesystem/watcher-binding.js +3 -3
  425. package/dist/filesystem/watcher.js +15 -15
  426. package/dist/filesystem.js +101 -101
  427. package/dist/form.js +81 -81
  428. package/dist/formatter/builtins.js +4 -4
  429. package/dist/formatter.js +83 -83
  430. package/dist/generate.js +92 -92
  431. package/dist/git.js +7 -7
  432. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  433. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  434. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  436. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  438. package/dist/github-copilot/copilot-provider.js +17 -17
  439. package/dist/github-copilot/models.js +3 -3
  440. package/dist/github-copilot/openai-compatible-error.js +1 -1
  441. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  442. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  443. package/dist/github-copilot/responses/openai-error.js +1 -1
  444. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  445. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  446. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  447. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  448. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  451. package/dist/id/id.js +1 -1
  452. package/dist/image/photon.js +2 -2
  453. package/dist/image.js +6 -6
  454. package/dist/instance/service.js +5 -5
  455. package/dist/instance.js +354 -354
  456. package/dist/instruction-discovery.js +84 -84
  457. package/dist/instructions/builtins.js +83 -83
  458. package/dist/instructions/index.js +3 -3
  459. package/dist/integration/connection.js +1 -1
  460. package/dist/integration.js +87 -87
  461. package/dist/job.js +78 -78
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +72 -72
  464. package/dist/location-activity.js +129 -129
  465. package/dist/location-mutation.js +100 -100
  466. package/dist/location-service-map.js +82 -82
  467. package/dist/location-services.js +351 -351
  468. package/dist/location.js +85 -85
  469. package/dist/mcp/client.js +87 -87
  470. package/dist/mcp/index.js +104 -104
  471. package/dist/mcp/instructions.js +123 -123
  472. package/dist/mcp/oauth.js +3 -3
  473. package/dist/mcp/stdio.js +86 -86
  474. package/dist/mime.js +1 -1
  475. package/dist/modal/models.js +3 -3
  476. package/dist/model-resolver.js +85 -85
  477. package/dist/model.js +8 -8
  478. package/dist/models-dev.js +87 -87
  479. package/dist/oauth/page.js +1 -1
  480. package/dist/permission/saved.js +81 -81
  481. package/dist/permission/sql.js +5 -5
  482. package/dist/permission.js +109 -109
  483. package/dist/persistent-pty/binary.bun.js +1 -1
  484. package/dist/persistent-pty/daemon.js +1 -1
  485. package/dist/persistent-pty/index.js +83 -83
  486. package/dist/persistent-pty/pty-binding.js +1 -1
  487. package/dist/persistent-pty.js +74 -74
  488. package/dist/plugin/agent.js +98 -98
  489. package/dist/plugin/command.js +95 -95
  490. package/dist/plugin/hooks.js +5 -5
  491. package/dist/plugin/host.js +214 -214
  492. package/dist/plugin/instance.js +5 -5
  493. package/dist/plugin/internal.js +325 -325
  494. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  495. package/dist/plugin/models-dev.js +76 -76
  496. package/dist/plugin/module.js +7 -7
  497. package/dist/plugin/optimize.js +4 -2
  498. package/dist/plugin/plan.js +98 -98
  499. package/dist/plugin/promise.js +1 -1
  500. package/dist/plugin/provider/alibaba.js +2 -2
  501. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  502. package/dist/plugin/provider/anthropic.js +2 -2
  503. package/dist/plugin/provider/azure.js +119 -119
  504. package/dist/plugin/provider/cerebras.js +2 -2
  505. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
  506. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
  507. package/dist/plugin/provider/cohere.js +2 -2
  508. package/dist/plugin/provider/configured.js +115 -115
  509. package/dist/plugin/provider/digitalocean.js +80 -80
  510. package/dist/plugin/provider/dynamic.js +2 -2
  511. package/dist/plugin/provider/factory.js +1 -1
  512. package/dist/plugin/provider/gateway.js +2 -2
  513. package/dist/plugin/provider/github-copilot.js +81 -81
  514. package/dist/plugin/provider/gitlab.js +3 -3
  515. package/dist/plugin/provider/google-vertex.js +2 -2
  516. package/dist/plugin/provider/kilo.js +2 -2
  517. package/dist/plugin/provider/llmgateway.js +77 -77
  518. package/dist/plugin/provider/lmstudio.js +118 -118
  519. package/dist/plugin/provider/mistral.js +2 -2
  520. package/dist/plugin/provider/modal.js +80 -80
  521. package/dist/plugin/provider/nvidia.js +2 -2
  522. package/dist/plugin/provider/ollama.js +118 -118
  523. package/dist/plugin/provider/openai-compatible.js +1 -1
  524. package/dist/plugin/provider/openai.js +79 -79
  525. package/dist/plugin/provider/opencode.js +80 -80
  526. package/dist/plugin/provider/openrouter.js +3 -3
  527. package/dist/plugin/provider/perplexity.js +2 -2
  528. package/dist/plugin/provider/poe.js +77 -77
  529. package/dist/plugin/provider/sap-ai-core.js +3 -3
  530. package/dist/plugin/provider/sdk-factory.js +1 -1
  531. package/dist/plugin/provider/snowflake-cortex.js +118 -118
  532. package/dist/plugin/provider/venice.js +2 -2
  533. package/dist/plugin/provider/vercel.js +2 -2
  534. package/dist/plugin/provider/vllm.js +118 -118
  535. package/dist/plugin/provider/xai.js +78 -78
  536. package/dist/plugin/provider/zenmux.js +2 -2
  537. package/dist/plugin/provider.js +159 -159
  538. package/dist/plugin/sdk.js +75 -75
  539. package/dist/plugin/service.js +3 -3
  540. package/dist/plugin/skill.js +132 -132
  541. package/dist/plugin/source-directory.js +1 -1
  542. package/dist/plugin/supervisor.js +344 -344
  543. package/dist/plugin/update.js +4 -4
  544. package/dist/plugin/variant.js +4 -4
  545. package/dist/plugin/vcs/git.js +83 -83
  546. package/dist/plugin/vcs/hg.js +83 -83
  547. package/dist/plugin/warming.js +113 -113
  548. package/dist/plugin/websearch/exa.js +5 -5
  549. package/dist/plugin/websearch/firecrawl.js +8 -8
  550. package/dist/plugin/websearch/index.js +8 -8
  551. package/dist/plugin/websearch/mcp.js +2 -2
  552. package/dist/plugin/websearch/parallel.js +8 -8
  553. package/dist/plugin/websearch/tavily.js +6 -6
  554. package/dist/plugin.js +225 -225
  555. package/dist/project/schema.js +8 -8
  556. package/dist/project/sql.js +4 -4
  557. package/dist/project.js +86 -86
  558. package/dist/provider.js +5 -5
  559. package/dist/pty/protocol.js +1 -1
  560. package/dist/pty/schema.js +3 -3
  561. package/dist/pty/ticket.js +1 -1
  562. package/dist/pty.js +95 -95
  563. package/dist/reference/instructions.js +85 -85
  564. package/dist/reference.js +87 -87
  565. package/dist/repository-cache.js +77 -77
  566. package/dist/repository.js +1 -1
  567. package/dist/ripgrep/binary.js +2 -2
  568. package/dist/ripgrep.js +94 -94
  569. package/dist/rpc.js +82 -82
  570. package/dist/schema.js +1 -1
  571. package/dist/session/command.js +73 -73
  572. package/dist/session/compaction.js +128 -128
  573. package/dist/session/context.js +148 -148
  574. package/dist/session/environment.js +5 -5
  575. package/dist/session/error.js +7 -7
  576. package/dist/session/event.js +1 -1
  577. package/dist/session/execution/restart.js +217 -217
  578. package/dist/session/execution.js +123 -123
  579. package/dist/session/generate.js +149 -149
  580. package/dist/session/history.js +15 -15
  581. package/dist/session/inbox.js +89 -89
  582. package/dist/session/info.js +3 -3
  583. package/dist/session/instruction-entry.js +78 -78
  584. package/dist/session/instruction-state.js +8 -8
  585. package/dist/session/instructions.js +93 -93
  586. package/dist/session/message-updater.js +2 -2
  587. package/dist/session/message.js +1 -1
  588. package/dist/session/model-request.js +114 -114
  589. package/dist/session/model-transport.js +9 -9
  590. package/dist/session/move.js +127 -127
  591. package/dist/session/projector.js +85 -85
  592. package/dist/session/prompt.js +101 -101
  593. package/dist/session/provider-context.js +3 -3
  594. package/dist/session/revert.js +86 -86
  595. package/dist/session/run-coordinator.js +3 -3
  596. package/dist/session/runner/index.js +3 -3
  597. package/dist/session/runner/llm.js +226 -226
  598. package/dist/session/runner/max-steps.js +1 -1
  599. package/dist/session/runner/model.js +87 -87
  600. package/dist/session/runner/publish-llm-event.js +3 -3
  601. package/dist/session/runner/retry.js +111 -111
  602. package/dist/session/runner/step.js +122 -122
  603. package/dist/session/runner/to-llm-message.js +2 -2
  604. package/dist/session/schema.js +5 -5
  605. package/dist/session/session.js +170 -170
  606. package/dist/session/shell.js +132 -132
  607. package/dist/session/skill.js +99 -99
  608. package/dist/session/sql.js +5 -5
  609. package/dist/session/stats.js +72 -72
  610. package/dist/session/store.js +84 -84
  611. package/dist/session/subagent-completion.js +1 -1
  612. package/dist/session/subagent-job.js +204 -204
  613. package/dist/session/system-prompt.js +1 -1
  614. package/dist/session/title.js +152 -152
  615. package/dist/session/to-session-error.js +108 -108
  616. package/dist/session/transfer.js +213 -213
  617. package/dist/session/usage.js +1 -1
  618. package/dist/session.js +214 -214
  619. package/dist/shell/parse.js +6 -6
  620. package/dist/shell/result.js +1 -1
  621. package/dist/shell/scan.js +1 -1
  622. package/dist/shell/select.js +13 -13
  623. package/dist/shell.js +134 -134
  624. package/dist/skill/discovery.js +6 -6
  625. package/dist/skill/instructions.js +103 -103
  626. package/dist/skill.js +104 -104
  627. package/dist/snapshot.js +87 -87
  628. package/dist/state.js +1 -1
  629. package/dist/tool/html-markdown.js +1 -1
  630. package/dist/tool/http-body.js +1 -1
  631. package/dist/tool/mcp.js +122 -122
  632. package/dist/tool/plugin/edit.js +116 -116
  633. package/dist/tool/plugin/file-diff.js +1 -1
  634. package/dist/tool/plugin/glob.js +119 -119
  635. package/dist/tool/plugin/grep.js +121 -121
  636. package/dist/tool/plugin/opencode.js +3 -3
  637. package/dist/tool/plugin/patch.js +118 -118
  638. package/dist/tool/plugin/question.js +101 -101
  639. package/dist/tool/plugin/read.js +122 -122
  640. package/dist/tool/plugin/shell.js +209 -209
  641. package/dist/tool/plugin/skill.js +107 -107
  642. package/dist/tool/plugin/subagent.js +213 -213
  643. package/dist/tool/plugin/webfetch.js +106 -106
  644. package/dist/tool/plugin/websearch.js +110 -110
  645. package/dist/tool/plugin/write.js +116 -116
  646. package/dist/tool/read-filesystem.js +97 -97
  647. package/dist/tool/runtime.js +1 -1
  648. package/dist/tool-output.js +8 -8
  649. package/dist/tool.js +15 -15
  650. package/dist/types/plugin/optimize.d.ts +2 -1
  651. package/dist/util/error-summary.js +1 -1
  652. package/dist/util/error.js +1 -1
  653. package/dist/util/iife.js +1 -1
  654. package/dist/util/lazy.js +1 -1
  655. package/dist/util/slug.js +1 -1
  656. package/dist/util/token.js +1 -1
  657. package/dist/util/which.js +1 -1
  658. package/dist/util/wildcard.js +1 -1
  659. package/dist/v1/config/agent.js +7 -7
  660. package/dist/v1/config/attachment.js +4 -4
  661. package/dist/v1/config/command.js +3 -3
  662. package/dist/v1/config/config.js +16 -16
  663. package/dist/v1/config/error.js +4 -4
  664. package/dist/v1/config/formatter.js +3 -3
  665. package/dist/v1/config/layout.js +1 -1
  666. package/dist/v1/config/lsp.js +3 -3
  667. package/dist/v1/config/mcp.js +4 -4
  668. package/dist/v1/config/migrate.js +4 -4
  669. package/dist/v1/config/permission.js +7 -7
  670. package/dist/v1/config/plugin.js +3 -3
  671. package/dist/v1/config/provider-options.js +1 -1
  672. package/dist/v1/config/provider.js +4 -4
  673. package/dist/v1/config/server.js +2 -2
  674. package/dist/v1/config/skills.js +3 -3
  675. package/dist/v1/permission.js +1 -1
  676. package/dist/vcs/patch.js +1 -1
  677. package/dist/vcs.js +86 -86
  678. package/dist/websearch.js +81 -81
  679. package/dist/wellknown/plugin.js +75 -75
  680. package/dist/wellknown.js +78 -78
  681. package/dist/workspace/driver.js +7 -7
  682. package/dist/workspace/sql.js +1 -1
  683. package/dist/workspace.js +79 -79
  684. package/dist/worktree/directory.js +2 -2
  685. package/dist/worktree/git.js +7 -7
  686. package/dist/worktree/refresh.js +343 -343
  687. package/dist/worktree/sql.js +5 -5
  688. package/dist/worktree.js +92 -92
  689. package/package.json +8 -8
  690. package/dist/chunks/command-cjk994kr.js +0 -247
  691. package/dist/chunks/command-h47he10w.js +0 -4
  692. package/dist/chunks/command-hgstdy4b.js +0 -22
  693. package/dist/chunks/command-q509s3k3.js +0 -18
  694. /package/dist/chunks/{command-0qkdqm5v.js → reference-0qkdqm5v.js} +0 -0
  695. /package/dist/chunks/{command-0zkw76rk.js → reference-0zkw76rk.js} +0 -0
  696. /package/dist/chunks/{command-17cy0kzp.js → reference-17cy0kzp.js} +0 -0
  697. /package/dist/chunks/{command-1cnp2v09.js → reference-1cnp2v09.js} +0 -0
  698. /package/dist/chunks/{command-1kg9ymc8.js → reference-1kg9ymc8.js} +0 -0
  699. /package/dist/chunks/{command-2710q6r3.js → reference-2710q6r3.js} +0 -0
  700. /package/dist/chunks/{command-2axfhc9x.js → reference-2axfhc9x.js} +0 -0
  701. /package/dist/chunks/{command-2c3vjs8z.js → reference-2c3vjs8z.js} +0 -0
  702. /package/dist/chunks/{command-359p4xyc.js → reference-359p4xyc.js} +0 -0
  703. /package/dist/chunks/{command-3asan66x.js → reference-3asan66x.js} +0 -0
  704. /package/dist/chunks/{command-3v8g72cx.js → reference-3v8g72cx.js} +0 -0
  705. /package/dist/chunks/{command-3w5fmr99.js → reference-3w5fmr99.js} +0 -0
  706. /package/dist/chunks/{command-3wcehsnq.js → reference-3wcehsnq.js} +0 -0
  707. /package/dist/chunks/{command-43n2bw4t.js → reference-43n2bw4t.js} +0 -0
  708. /package/dist/chunks/{command-4knz6hnm.js → reference-4knz6hnm.js} +0 -0
  709. /package/dist/chunks/{command-4vcrnpx2.js → reference-4vcrnpx2.js} +0 -0
  710. /package/dist/chunks/{command-4y7fprxs.js → reference-4y7fprxs.js} +0 -0
  711. /package/dist/chunks/{command-53557ph1.js → reference-53557ph1.js} +0 -0
  712. /package/dist/chunks/{command-550bvhaj.js → reference-550bvhaj.js} +0 -0
  713. /package/dist/chunks/{command-6prwharc.js → reference-6prwharc.js} +0 -0
  714. /package/dist/chunks/{command-7akdwqpd.js → reference-7akdwqpd.js} +0 -0
  715. /package/dist/chunks/{command-7m9af43g.js → reference-7m9af43g.js} +0 -0
  716. /package/dist/chunks/{command-822emrt2.js → reference-822emrt2.js} +0 -0
  717. /package/dist/chunks/{command-88xbtdfr.js → reference-88xbtdfr.js} +0 -0
  718. /package/dist/chunks/{command-8n3pysct.js → reference-8n3pysct.js} +0 -0
  719. /package/dist/chunks/{command-922hggd3.js → reference-922hggd3.js} +0 -0
  720. /package/dist/chunks/{command-9a4afbnw.js → reference-9a4afbnw.js} +0 -0
  721. /package/dist/chunks/{command-9rqn6x4v.js → reference-9rqn6x4v.js} +0 -0
  722. /package/dist/chunks/{command-a6k6eb26.js → reference-a6k6eb26.js} +0 -0
  723. /package/dist/chunks/{command-af5trqkr.js → reference-af5trqkr.js} +0 -0
  724. /package/dist/chunks/{command-afrmfg78.js → reference-afrmfg78.js} +0 -0
  725. /package/dist/chunks/{command-aqzs7mqg.js → reference-aqzs7mqg.js} +0 -0
  726. /package/dist/chunks/{command-atq7p7m5.js → reference-atq7p7m5.js} +0 -0
  727. /package/dist/chunks/{command-bkyjaxrp.js → reference-bkyjaxrp.js} +0 -0
  728. /package/dist/chunks/{command-bmr6ed5q.js → reference-bmr6ed5q.js} +0 -0
  729. /package/dist/chunks/{command-cf4snx6d.js → reference-cf4snx6d.js} +0 -0
  730. /package/dist/chunks/{command-cvy3z8tj.js → reference-cvy3z8tj.js} +0 -0
  731. /package/dist/chunks/{command-d9fn303g.js → reference-d9fn303g.js} +0 -0
  732. /package/dist/chunks/{command-d9jj8t3e.js → reference-d9jj8t3e.js} +0 -0
  733. /package/dist/chunks/{command-dajrwvna.js → reference-dajrwvna.js} +0 -0
  734. /package/dist/chunks/{command-dap0rakb.js → reference-dap0rakb.js} +0 -0
  735. /package/dist/chunks/{command-df08tz66.js → reference-df08tz66.js} +0 -0
  736. /package/dist/chunks/{command-dy18nga0.js → reference-dy18nga0.js} +0 -0
  737. /package/dist/chunks/{command-e5kj55wp.js → reference-e5kj55wp.js} +0 -0
  738. /package/dist/chunks/{command-e73j6tqm.js → reference-e73j6tqm.js} +0 -0
  739. /package/dist/chunks/{command-ec1grn59.js → reference-ec1grn59.js} +0 -0
  740. /package/dist/chunks/{command-eh3zwz77.js → reference-eh3zwz77.js} +0 -0
  741. /package/dist/chunks/{command-emrn6kk6.js → reference-emrn6kk6.js} +0 -0
  742. /package/dist/chunks/{command-f0mxakyp.js → reference-f0mxakyp.js} +0 -0
  743. /package/dist/chunks/{command-f6n9ztr4.js → reference-f6n9ztr4.js} +0 -0
  744. /package/dist/chunks/{command-faypxj3z.js → reference-faypxj3z.js} +0 -0
  745. /package/dist/chunks/{command-fd410y7t.js → reference-fd410y7t.js} +0 -0
  746. /package/dist/chunks/{command-fxgpk5d8.js → reference-fxgpk5d8.js} +0 -0
  747. /package/dist/chunks/{command-g4wezp1m.js → reference-g4wezp1m.js} +0 -0
  748. /package/dist/chunks/{command-g86h250q.js → reference-g86h250q.js} +0 -0
  749. /package/dist/chunks/{command-gebd4c9n.js → reference-gebd4c9n.js} +0 -0
  750. /package/dist/chunks/{command-gftt206x.js → reference-gftt206x.js} +0 -0
  751. /package/dist/chunks/{command-hjbc5kem.js → reference-hjbc5kem.js} +0 -0
  752. /package/dist/chunks/{command-hk9envan.js → reference-hk9envan.js} +0 -0
  753. /package/dist/chunks/{command-hrnqkpcd.js → reference-hrnqkpcd.js} +0 -0
  754. /package/dist/chunks/{command-j2ntwpah.js → reference-j2ntwpah.js} +0 -0
  755. /package/dist/chunks/{command-j5zkgpj8.js → reference-j5zkgpj8.js} +0 -0
  756. /package/dist/chunks/{command-jr7sbwjy.js → reference-jr7sbwjy.js} +0 -0
  757. /package/dist/chunks/{command-jwfs4k6c.js → reference-jwfs4k6c.js} +0 -0
  758. /package/dist/chunks/{command-jzg6c2d5.js → reference-jzg6c2d5.js} +0 -0
  759. /package/dist/chunks/{command-mp448xyj.js → reference-mp448xyj.js} +0 -0
  760. /package/dist/chunks/{command-msx8hqn2.js → reference-msx8hqn2.js} +0 -0
  761. /package/dist/chunks/{command-n05xt0ee.js → reference-n05xt0ee.js} +0 -0
  762. /package/dist/chunks/{command-n3j8tn72.js → reference-n3j8tn72.js} +0 -0
  763. /package/dist/chunks/{command-njntx4h6.js → reference-njntx4h6.js} +0 -0
  764. /package/dist/chunks/{command-q3sfg36h.js → reference-q3sfg36h.js} +0 -0
  765. /package/dist/chunks/{command-q74kybfr.js → reference-q74kybfr.js} +0 -0
  766. /package/dist/chunks/{command-qaymkmh1.js → reference-qaymkmh1.js} +0 -0
  767. /package/dist/chunks/{command-qb87gjwd.js → reference-qb87gjwd.js} +0 -0
  768. /package/dist/chunks/{command-qfa1cgps.js → reference-qfa1cgps.js} +0 -0
  769. /package/dist/chunks/{command-qrg20bc0.js → reference-qrg20bc0.js} +0 -0
  770. /package/dist/chunks/{command-rcb2kzg1.js → reference-rcb2kzg1.js} +0 -0
  771. /package/dist/chunks/{command-sdp7kfr6.js → reference-sdp7kfr6.js} +0 -0
  772. /package/dist/chunks/{command-sk3qaz4a.js → reference-sk3qaz4a.js} +0 -0
  773. /package/dist/chunks/{command-ssg3fenm.js → reference-ssg3fenm.js} +0 -0
  774. /package/dist/chunks/{command-twg0f83k.js → reference-twg0f83k.js} +0 -0
  775. /package/dist/chunks/{command-w803qqfp.js → reference-w803qqfp.js} +0 -0
  776. /package/dist/chunks/{command-wer8tq1h.js → reference-wer8tq1h.js} +0 -0
  777. /package/dist/chunks/{command-wtztk69x.js → reference-wtztk69x.js} +0 -0
  778. /package/dist/chunks/{command-x0ckcb58.js → reference-x0ckcb58.js} +0 -0
  779. /package/dist/chunks/{command-x61499pn.js → reference-x61499pn.js} +0 -0
  780. /package/dist/chunks/{command-y44na4kk.js → reference-y44na4kk.js} +0 -0
  781. /package/dist/chunks/{command-y8cydn3q.js → reference-y8cydn3q.js} +0 -0
  782. /package/dist/chunks/{command-y8f7s663.js → reference-y8f7s663.js} +0 -0
  783. /package/dist/chunks/{command-ygaqb7jw.js → reference-ygaqb7jw.js} +0 -0
  784. /package/dist/chunks/{command-ym463w8f.js → reference-ym463w8f.js} +0 -0
  785. /package/dist/chunks/{command-z9919s4g.js → reference-z9919s4g.js} +0 -0
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./command-922hggd3.js";
3
+ } from "./reference-922hggd3.js";
4
4
  import {
5
5
  Action2
6
- } from "./command-6sr3ve8g.js";
6
+ } from "./reference-g190xswt.js";
7
7
  import {
8
- Info18
9
- } from "./command-17j9h1rv.js";
8
+ Info14
9
+ } from "./reference-16cax9zb.js";
10
10
  import {
11
- Info21
12
- } from "./command-z3pw5915.js";
11
+ Info15
12
+ } from "./reference-3w0fmcng.js";
13
13
  import {
14
- Info24
15
- } from "./command-at5d07az.js";
14
+ Info11
15
+ } from "./reference-ryr25ayn.js";
16
16
  import {
17
- Info17
18
- } from "./command-yt0fqk68.js";
17
+ Info12
18
+ } from "./reference-hkfg6fzm.js";
19
19
  import {
20
20
  Spec2
21
- } from "./command-fcrkznn8.js";
21
+ } from "./reference-2k8khapm.js";
22
22
  import {
23
- Info23
24
- } from "./command-d1khqved.js";
23
+ Info13
24
+ } from "./reference-e6hmchc5.js";
25
25
  import {
26
- Info16
27
- } from "./command-n81d318j.js";
26
+ Info8
27
+ } from "./reference-ch958ebp.js";
28
28
  import {
29
29
  migrate2,
30
30
  normalizeAction2,
@@ -33,10 +33,10 @@ import {
33
33
  migrateMcp2,
34
34
  migrateProvider2,
35
35
  providerID2
36
- } from "./command-tfngb0ww.js";
36
+ } from "./reference-qr27hz8v.js";
37
37
  import {
38
38
  __export
39
- } from "./command-9rqn6x4v.js";
39
+ } from "./reference-9rqn6x4v.js";
40
40
 
41
41
  // src/config/normalize.ts
42
42
  var exports_normalize = {};
@@ -84,10 +84,10 @@ function normalize2(input) {
84
84
  const encoded = {};
85
85
  unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
86
86
  const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
87
- const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info16.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
87
+ const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info8.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
88
88
  const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
89
89
  const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
90
- const legacyMedia = own(input, "attachment") ? decodeValue(Info21, input.attachment, ["attachment"], diagnostics) : undefined;
90
+ const legacyMedia = own(input, "attachment") ? decodeValue(Info15, input.attachment, ["attachment"], diagnostics) : undefined;
91
91
  if (legacyMedia !== undefined) {
92
92
  const migrated = migrate2({ attachment: legacyMedia }).media;
93
93
  if (migrated !== undefined)
@@ -104,7 +104,7 @@ function normalize2(input) {
104
104
  const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
105
105
  const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
106
106
  mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
107
- const legacyCommands = decodeMap(input.command, Info24, ["command"], diagnostics, decodeValue);
107
+ const legacyCommands = decodeMap(input.command, Info11, ["command"], diagnostics, decodeValue);
108
108
  diagnoseSelectionMap(input.command, ["command"], diagnostics);
109
109
  const migratedCommands = mapValues(legacyCommands, (value) => {
110
110
  const migrated = commands2({ value })?.value;
@@ -112,7 +112,7 @@ function normalize2(input) {
112
112
  });
113
113
  const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
114
114
  mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
115
- const legacyAgents = mapValues(decodeMap(input.agent, Info18, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
115
+ const legacyAgents = mapValues(decodeMap(input.agent, Info14, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
116
116
  const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
117
117
  const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
118
118
  if (legacySmallModel && !migratedSmallModel)
@@ -126,7 +126,7 @@ function normalize2(input) {
126
126
  model: migratedSmallModel,
127
127
  ...legacyAgents.title
128
128
  };
129
- const modeAgents = mapValues(decodeMap(input.mode, Info18, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
129
+ const modeAgents = mapValues(decodeMap(input.mode, Info14, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
130
130
  const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
131
131
  const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
132
132
  diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
225
225
  normalizeMcpTimeout(value, timeout, path, diagnostics);
226
226
  return;
227
227
  }
228
- const server = decodeValue(Info17, value, path, diagnostics);
228
+ const server = decodeValue(Info12, value, path, diagnostics);
229
229
  if (server !== undefined)
230
230
  setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
231
231
  });
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
421
421
  diagnoseProviderUnsupported(raw, path, diagnostics);
422
422
  if (invalidProviderOverlays(raw, path, diagnostics))
423
423
  return [];
424
- const provider = decodeValue(Info23, raw, path, diagnostics);
424
+ const provider = decodeValue(Info13, raw, path, diagnostics);
425
425
  if (provider === undefined)
426
426
  return [];
427
427
  const destination = providerID2(name);
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./command-9rqn6x4v.js";
3
+ } from "./reference-9rqn6x4v.js";
4
4
 
5
5
  // src/util/wildcard.ts
6
6
  var exports_wildcard = {};
@@ -2,31 +2,31 @@ import {
2
2
  Key3,
3
3
  removed2,
4
4
  empty3,
5
- make18,
5
+ make21,
6
6
  diffByKey2
7
- } from "./command-0gdmqesm.js";
7
+ } from "./reference-s8d7rejh.js";
8
8
  import {
9
9
  evaluate2
10
- } from "./command-c6e7cwvj.js";
10
+ } from "./reference-k2as7s6q.js";
11
11
  import {
12
- Service22,
13
- node27
14
- } from "./command-jq16a9yq.js";
12
+ Service38,
13
+ node42
14
+ } from "./reference-4g33vjc1.js";
15
15
  import {
16
16
  namespace2,
17
- name13
18
- } from "./command-rbzw3czx.js";
17
+ name14
18
+ } from "./reference-dqh78jdz.js";
19
19
  import {
20
20
  __export
21
- } from "./command-9rqn6x4v.js";
21
+ } from "./reference-9rqn6x4v.js";
22
22
 
23
23
  // src/mcp/instructions.ts
24
- var exports_instructions5 = {};
25
- __export(exports_instructions5, {
26
- McpInstructions: () => exports_instructions5,
27
- Service: () => Service20,
28
- layer: () => layer8,
29
- node: () => node25
24
+ var exports_instructions4 = {};
25
+ __export(exports_instructions4, {
26
+ McpInstructions: () => exports_instructions4,
27
+ Service: () => Service34,
28
+ layer: () => layer14,
29
+ node: () => node38
30
30
  });
31
31
  import { makeLocationNode } from "@opencode/util/effect/app-node";
32
32
  import { Context, Effect, Layer, Schema } from "effect";
@@ -62,16 +62,16 @@ var update = (previous, current) => {
62
62
  `);
63
63
  };
64
64
 
65
- class Service20 extends Context.Service()("@opencode/McpInstructions") {
65
+ class Service34 extends Context.Service()("@opencode/McpInstructions") {
66
66
  }
67
- var layer8 = Layer.effect(Service20, Effect.gen(function* () {
68
- const mcp = yield* Service22;
69
- return Service20.of({
67
+ var layer14 = Layer.effect(Service34, Effect.gen(function* () {
68
+ const mcp = yield* Service38;
69
+ return Service34.of({
70
70
  load: Effect.fn("McpInstructions.load")(function* (selection) {
71
71
  const agent = selection.info;
72
72
  if (!agent)
73
73
  return empty3;
74
- const source = (value) => make18({
74
+ const source = (value) => make21({
75
75
  key: Key3.make("core/mcp-guidance"),
76
76
  codec: Schema.toCodecJson(Schema.Array(Summary)),
77
77
  read: Effect.succeed(value),
@@ -90,7 +90,7 @@ var layer8 = Layer.effect(Service20, Effect.gen(function* () {
90
90
  const codemode = owned[0]?.codemode !== false;
91
91
  if (codemode && !canExecute)
92
92
  return [];
93
- if (!owned.some((tool) => evaluate2(name13(tool.server, tool.name), "*", agent.permissions).effect !== "deny"))
93
+ if (!owned.some((tool) => evaluate2(name14(tool.server, tool.name), "*", agent.permissions).effect !== "deny"))
94
94
  return [];
95
95
  return [
96
96
  codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
@@ -100,6 +100,6 @@ var layer8 = Layer.effect(Service20, Effect.gen(function* () {
100
100
  })
101
101
  });
102
102
  }));
103
- var node25 = makeLocationNode({ service: Service20, layer: layer8, deps: [node27] });
103
+ var node38 = makeLocationNode({ service: Service34, layer: layer14, deps: [node42] });
104
104
 
105
- export { Service20, layer8, node25, exports_instructions5 };
105
+ export { Service34, layer14, node38, exports_instructions4 };
@@ -1,80 +1,80 @@
1
1
  import {
2
2
  Service80
3
- } from "./command-2f45m2dq.js";
3
+ } from "./reference-za77aepr.js";
4
4
  import {
5
5
  Service79
6
- } from "./command-jzbwbd34.js";
6
+ } from "./reference-mw9a6czv.js";
7
7
  import {
8
- Service39
9
- } from "./command-zcqf6png.js";
8
+ Service61
9
+ } from "./reference-ebah8r6x.js";
10
10
  import {
11
11
  userNotification2
12
- } from "./command-fxbjtjnd.js";
12
+ } from "./reference-fxbjtjnd.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./command-gftt206x.js";
15
+ } from "./reference-gftt206x.js";
16
16
  import {
17
- NotFoundError5,
17
+ NotFoundError8,
18
18
  PromptConflictError2,
19
19
  SyntheticConflictError2,
20
20
  CompactionConflictError2,
21
21
  BusyError2,
22
22
  InboxConflictError2
23
- } from "./command-56zp6hen.js";
23
+ } from "./reference-2e96adxv.js";
24
24
  import {
25
25
  SessionEvent2
26
- } from "./command-ec1grn59.js";
26
+ } from "./reference-ec1grn59.js";
27
27
  import {
28
- Service45
29
- } from "./command-2eyezv9v.js";
28
+ Service64
29
+ } from "./reference-fbfybm5t.js";
30
30
  import {
31
31
  Delivery2,
32
32
  SyntheticPayload2,
33
- Service37
34
- } from "./command-avj4qb0a.js";
33
+ Service59
34
+ } from "./reference-xs36768n.js";
35
35
  import {
36
- Service35
37
- } from "./command-t3bdjydy.js";
36
+ Service57
37
+ } from "./reference-5qmb0wzx.js";
38
38
  import {
39
39
  prepare2
40
- } from "./command-4xwq6bpx.js";
40
+ } from "./reference-pnk6npkv.js";
41
41
  import {
42
42
  stage2,
43
43
  clear2,
44
44
  commit2
45
- } from "./command-dfzjkmr7.js";
45
+ } from "./reference-wm1ya0ts.js";
46
46
  import {
47
47
  start2
48
- } from "./command-w632jh98.js";
48
+ } from "./reference-t92920s6.js";
49
49
  import {
50
50
  get4
51
- } from "./command-dsdd247v.js";
51
+ } from "./reference-s8vrwrxy.js";
52
52
  import {
53
53
  __export
54
- } from "./command-9rqn6x4v.js";
54
+ } from "./reference-9rqn6x4v.js";
55
55
 
56
56
  // src/session/session.ts
57
57
  var exports_session2 = {};
58
58
  __export(exports_session2, {
59
59
  Session: () => exports_session2,
60
- make: () => make12
60
+ make: () => make13
61
61
  });
62
62
  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
- var make12 = Effect.fn("Session.make")(function* () {
65
+ var make13 = Effect.fn("Session.make")(function* () {
66
66
  const bus = yield* Service79;
67
67
  const database = yield* Service80;
68
- const store = yield* Service45;
69
- const instances = yield* Service39;
70
- const execution = yield* Service35;
71
- const admission = yield* Service37;
68
+ const store = yield* Service64;
69
+ const instances = yield* Service61;
70
+ const execution = yield* Service57;
71
+ const admission = yield* Service59;
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 NotFoundError5({ sessionID });
77
+ return yield* new NotFoundError8({ 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(Service39, instances), Effect.provideService(FSUtil.Service, fs)));
134
+ const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service61, 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(Service39, instances), Effect.tapError((error) => synthetic(sessionID, {
150
+ const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service61, 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(Service39, instances));
179
+ const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service61, 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(Service39, instances), Effect.provideService(Service80, database), Effect.provideService(Service79, bus));
236
+ return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service61, instances), Effect.provideService(Service80, database), Effect.provideService(Service79, 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(Service39, instances), Effect.provideService(Service79, bus));
242
+ yield* clear2(session).pipe(Effect.provideService(Service61, instances), Effect.provideService(Service79, bus));
243
243
  return yield* execution.wake(sessionID);
244
244
  });
245
245
  const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
@@ -322,4 +322,4 @@ ${error.message}`,
322
322
  return { forSession };
323
323
  });
324
324
 
325
- export { make12, exports_session2 };
325
+ export { make13, exports_session2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./command-9rqn6x4v.js";
3
+ } from "./reference-9rqn6x4v.js";
4
4
 
5
5
  // src/effect/keyed-mutex.ts
6
6
  var exports_keyed_mutex = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./command-9rqn6x4v.js";
3
+ } from "./reference-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/lsp.ts
6
6
  var exports_lsp = {};
@@ -8,7 +8,7 @@ __export(exports_lsp, {
8
8
  ConfigLSPV1: () => exports_lsp,
9
9
  Disabled: () => Disabled2,
10
10
  Entry: () => Entry4,
11
- Info: () => Info22,
11
+ Info: () => Info10,
12
12
  builtinServerIds: () => builtinServerIds2,
13
13
  requiresExtensionsForCustomServers: () => requiresExtensionsForCustomServers2
14
14
  });
@@ -79,6 +79,6 @@ var requiresExtensionsForCustomServers2 = Schema.makeFilter((data) => {
79
79
  });
80
80
  return ok ? undefined : "For custom LSP servers, 'extensions' array is required.";
81
81
  });
82
- var Info22 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry4)]).check(requiresExtensionsForCustomServers2);
82
+ var Info10 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry4)]).check(requiresExtensionsForCustomServers2);
83
83
 
84
- export { Disabled2, Entry4, builtinServerIds2, requiresExtensionsForCustomServers2, Info22, exports_lsp };
84
+ export { Disabled2, Entry4, builtinServerIds2, requiresExtensionsForCustomServers2, Info10, exports_lsp };
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service70,
3
- node75
4
- } from "./command-a0v18vk0.js";
2
+ Service75,
3
+ node80
4
+ } from "./reference-rftpfvvg.js";
5
5
  import {
6
6
  __export
7
- } from "./command-9rqn6x4v.js";
7
+ } from "./reference-9rqn6x4v.js";
8
8
 
9
9
  // src/location.ts
10
10
  var exports_location = {};
11
11
  __export(exports_location, {
12
- Info: () => Info26,
12
+ Info: () => Info30,
13
13
  Location: () => exports_location,
14
- Ref: () => Ref2,
15
- Service: () => Service69,
14
+ Ref: () => Ref4,
15
+ Service: () => Service74,
16
16
  boundNode: () => boundNode2,
17
- node: () => node74,
17
+ node: () => node79,
18
18
  response: () => response2
19
19
  });
20
20
  import { Context, Effect, Layer } from "effect";
21
- import { Info as Info26, Ref as Ref2, response as response2 } from "@opencode/schema/location";
21
+ import { Info as Info30, Ref as Ref4, response as response2 } from "@opencode/schema/location";
22
22
  import { LayerNode } from "@opencode/util/effect/layer-node";
23
23
  import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
24
- class Service69 extends Context.Service()("@opencode/Location") {
24
+ class Service74 extends Context.Service()("@opencode/Location") {
25
25
  }
26
- var node74 = LayerNode.unbound(Service69, tags.values.location);
27
- var layer = (ref, options) => Layer.effect(Service69, Effect.gen(function* () {
28
- const project = yield* Service70;
26
+ var node79 = LayerNode.unbound(Service74, tags.values.location);
27
+ var layer = (ref, options) => Layer.effect(Service74, Effect.gen(function* () {
28
+ const project = yield* Service75;
29
29
  const resolved = yield* project.resolve(ref.directory, options);
30
- return Service69.of({
30
+ return Service74.of({
31
31
  directory: ref.directory,
32
32
  workspaceID: ref.workspaceID,
33
33
  project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
@@ -35,9 +35,9 @@ var layer = (ref, options) => Layer.effect(Service69, Effect.gen(function* () {
35
35
  });
36
36
  }));
37
37
  var boundNode2 = (ref, options) => makeLocationNode({
38
- service: Service69,
38
+ service: Service74,
39
39
  layer: layer(ref, options),
40
- deps: [node75]
40
+ deps: [node80]
41
41
  });
42
42
 
43
- export { Info26, Ref2, response2, Service69, node74, boundNode2, exports_location };
43
+ export { Info30, Ref4, response2, Service74, node79, boundNode2, exports_location };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./command-ym463w8f.js";
3
+ } from "./reference-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/venice.ts
6
6
  var VenicePlugin2 = createProviderPlugin2({
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  InvalidError2
3
- } from "./command-29x78va6.js";
3
+ } from "./reference-z63w68vq.js";
4
4
  import {
5
5
  __export
6
- } from "./command-9rqn6x4v.js";
6
+ } from "./reference-9rqn6x4v.js";
7
7
 
8
8
  // src/config/variable.ts
9
9
  var exports_variable = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./command-ym463w8f.js";
3
+ } from "./reference-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/cohere.ts
6
6
  var CoherePlugin2 = createProviderPlugin2({
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./command-jzbwbd34.js";
4
+ } from "./reference-mw9a6czv.js";
5
5
  import {
6
6
  __export
7
- } from "./command-9rqn6x4v.js";
7
+ } from "./reference-9rqn6x4v.js";
8
8
 
9
9
  // src/form.ts
10
10
  var exports_form = {};
@@ -12,31 +12,31 @@ __export(exports_form, {
12
12
  AlreadyExistsError: () => AlreadyExistsError2,
13
13
  AlreadySettledError: () => AlreadySettledError2,
14
14
  Answer: () => Answer2,
15
- Event: () => Event19,
15
+ Event: () => Event18,
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
19
- ID: () => ID15,
20
- Info: () => Info30,
19
+ ID: () => ID13,
20
+ Info: () => Info27,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
- NotFoundError: () => NotFoundError10,
23
+ NotFoundError: () => NotFoundError9,
24
24
  Reply: () => Reply3,
25
- Service: () => Service76,
25
+ Service: () => Service72,
26
26
  State: () => State3,
27
27
  When: () => When2,
28
28
  layer: () => layer25,
29
- node: () => node81,
29
+ node: () => node77,
30
30
  validateAnswer: () => validateAnswer2,
31
31
  validateFields: () => validateFields2
32
32
  });
33
33
  import { Form } from "@opencode/schema/form";
34
34
  import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
- import { Event as Event19 } from "@opencode/schema/form";
36
+ import { Event as Event18 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
- var ID15 = Form.ID;
39
- var Info30 = Form.Info;
38
+ var ID13 = Form.ID;
39
+ var Info27 = Form.Info;
40
40
  var Field2 = Form.Field;
41
41
  var Fields2 = Form.Fields;
42
42
  var When2 = Form.When;
@@ -44,8 +44,8 @@ var State3 = Form.State;
44
44
  var Answer2 = Form.Answer;
45
45
  var Reply3 = Form.Reply;
46
46
 
47
- class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
48
- id: ID15
47
+ class NotFoundError9 extends Schema.TaggedError()("Form.NotFoundError", {
48
+ id: ID13
49
49
  }) {
50
50
  get message() {
51
51
  return `Form not found: ${this.id}`;
@@ -53,7 +53,7 @@ class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
53
53
  }
54
54
 
55
55
  class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
56
- id: ID15
56
+ id: ID13
57
57
  }) {
58
58
  get message() {
59
59
  return `Form already settled: ${this.id}`;
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
61
61
  }
62
62
 
63
63
  class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
64
- id: ID15
64
+ id: ID13
65
65
  }) {
66
66
  get message() {
67
67
  return `Form already exists: ${this.id}`;
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
69
69
  }
70
70
 
71
71
  class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
72
- id: ID15,
72
+ id: ID13,
73
73
  message: Schema.String
74
74
  }) {
75
75
  }
@@ -79,17 +79,17 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
79
79
  }) {
80
80
  }
81
81
 
82
- class Service76 extends Context.Service()("@opencode/Form") {
82
+ class Service72 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer25 = Layer.effect(Service76, Effect.gen(function* () {
84
+ var layer25 = Layer.effect(Service72, Effect.gen(function* () {
85
85
  const bus = yield* Service79;
86
86
  const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
87
87
  capacity: Number.MAX_SAFE_INTEGER,
88
88
  timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
89
89
  });
90
- const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError10({ id })))));
90
+ const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError9({ id })))));
91
91
  const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
92
- const id = input.id ?? ID15.create();
92
+ const id = input.id ?? ID13.create();
93
93
  const existing = yield* Cache.getSuccess(forms, id);
94
94
  if (Option.isSome(existing))
95
95
  return yield* new AlreadyExistsError2({ id });
@@ -153,9 +153,9 @@ var layer25 = Layer.effect(Service76, Effect.gen(function* () {
153
153
  yield* Deferred.succeed(entry.deferred, next);
154
154
  })));
155
155
  yield* Effect.addFinalizer(() => Cache.values(forms).pipe(Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true }))));
156
- return Service76.of({ create, ask, get, list, state, reply, cancel });
156
+ return Service72.of({ create, ask, get, list, state, reply, cancel });
157
157
  }));
158
- var node81 = makeLocationNode({ service: Service76, layer: layer25, deps: [node84] });
158
+ var node77 = makeLocationNode({ service: Service72, layer: layer25, deps: [node84] });
159
159
  function validateAnswer2(form, answer) {
160
160
  const fields = new Map(form.map((field) => [field.key, field]));
161
161
  for (const key of Object.keys(answer)) {
@@ -307,4 +307,4 @@ function isDateTime(value) {
307
307
  return !Number.isNaN(new Date(value).getTime());
308
308
  }
309
309
 
310
- export { ID15, Info30, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service76, layer25, node81, validateAnswer2, validateFields2, exports_form, Event19 };
310
+ export { ID13, Info27, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError9, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service72, layer25, node77, validateAnswer2, validateFields2, exports_form, Event18 };
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  NamedError2
3
- } from "./command-2axfhc9x.js";
3
+ } from "./reference-2axfhc9x.js";
4
4
  import {
5
5
  __export
6
- } from "./command-9rqn6x4v.js";
6
+ } from "./reference-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/error.ts
9
- var exports_error2 = {};
10
- __export(exports_error2, {
11
- ConfigErrorV1: () => exports_error2,
9
+ var exports_error = {};
10
+ __export(exports_error, {
11
+ ConfigErrorV1: () => exports_error,
12
12
  DirectoryTypoError: () => DirectoryTypoError2,
13
13
  FrontmatterError: () => FrontmatterError2,
14
14
  InvalidError: () => InvalidError2,
@@ -43,4 +43,4 @@ var RemoteAuthError2 = NamedError2.create("ConfigRemoteAuthError", {
43
43
  remote: Schema.String
44
44
  });
45
45
 
46
- export { JsonError2, InvalidError2, FrontmatterError2, DirectoryTypoError2, RemoteAuthError2, exports_error2 };
46
+ export { JsonError2, InvalidError2, FrontmatterError2, DirectoryTypoError2, RemoteAuthError2, exports_error };