@opencode/core 0.0.0-dev-21504 → 0.0.0-dev-21506

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 (791) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +97 -97
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{command-02mvvr71.js → model-02mvvr71.js} +3 -3
  8. package/dist/chunks/{command-t550f9t1.js → model-02nrjc1r.js} +8 -8
  9. package/dist/chunks/{command-aj7mw0zk.js → model-034tev2y.js} +2 -2
  10. package/dist/chunks/{command-967benbv.js → model-059731j3.js} +11 -11
  11. package/dist/chunks/{command-wkhzxvmr.js → model-097nk7jj.js} +22 -22
  12. package/dist/chunks/{command-96z498kx.js → model-0eje4krr.js} +13 -13
  13. package/dist/chunks/{command-qd788sr8.js → model-0jqcpeea.js} +38 -38
  14. package/dist/chunks/{command-0vbcp93d.js → model-0vbcp93d.js} +2 -2
  15. package/dist/chunks/{command-qcmbay3g.js → model-0w0e9t10.js} +22 -22
  16. package/dist/chunks/{command-1e096zfv.js → model-119vrnyz.js} +35 -35
  17. package/dist/chunks/{command-na13574c.js → model-144xy37h.js} +27 -27
  18. package/dist/chunks/{command-bqzx1cnv.js → model-17h5khbx.js} +2 -2
  19. package/dist/chunks/{command-27w5k9zf.js → model-1ep2p91f.js} +2 -2
  20. package/dist/chunks/{command-bzeyqsqd.js → model-1ep4rre3.js} +4 -4
  21. package/dist/chunks/{command-ejrgmtaq.js → model-1pbps8gm.js} +7 -7
  22. package/dist/chunks/{command-ayyhc25y.js → model-1qzqd7y9.js} +12 -12
  23. package/dist/chunks/{command-a76s9319.js → model-26speyvc.js} +29 -29
  24. package/dist/chunks/{command-ws4zn9x6.js → model-281sgaqb.js} +11 -11
  25. package/dist/chunks/{command-y7cneyn5.js → model-2ckxs07g.js} +21 -21
  26. package/dist/chunks/{command-chpbykcw.js → model-2hawg8d6.js} +7 -7
  27. package/dist/chunks/{command-58qhexmz.js → model-2k1yrrb9.js} +21 -21
  28. package/dist/chunks/{command-g5b8j3v4.js → model-2k5pzv8p.js} +17 -17
  29. package/dist/chunks/{command-02pca900.js → model-2re5xsb3.js} +90 -90
  30. package/dist/chunks/{command-52ae0j7r.js → model-2t1cejgk.js} +11 -11
  31. package/dist/chunks/{command-e6knj4ky.js → model-2y4y574v.js} +15 -15
  32. package/dist/chunks/{command-zahm10sn.js → model-375hpnnp.js} +17 -17
  33. package/dist/chunks/{command-9vgsddc0.js → model-38c2t0gr.js} +5 -5
  34. package/dist/chunks/{command-6y9j254c.js → model-39fz5gq7.js} +8 -8
  35. package/dist/chunks/{command-hnmmt9bt.js → model-3apxagx1.js} +16 -16
  36. package/dist/chunks/{command-fkj9mczz.js → model-3e18q7y0.js} +9 -9
  37. package/dist/chunks/{command-6n0t37d6.js → model-3eqfzzpc.js} +23 -23
  38. package/dist/chunks/{command-3hepkmqq.js → model-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{command-3hwn7j4h.js → model-3hwn7j4h.js} +2 -2
  40. package/dist/chunks/{command-xsxxgc5h.js → model-3mz3s9dw.js} +28 -28
  41. package/dist/chunks/{command-1tmptvb5.js → model-3p7wkzsm.js} +37 -37
  42. package/dist/chunks/{command-0z7sm6e6.js → model-3p9fx5xs.js} +20 -20
  43. package/dist/chunks/{command-3tvqynh2.js → model-3tvqynh2.js} +1 -1
  44. package/dist/chunks/{command-3zsf4n22.js → model-3zsf4n22.js} +1 -1
  45. package/dist/chunks/{command-3ggeeyj8.js → model-46z6bbc3.js} +8 -8
  46. package/dist/chunks/{command-0ejg1h3y.js → model-47hbj2pp.js} +35 -35
  47. package/dist/chunks/{command-47jkzegy.js → model-47jkzegy.js} +2 -2
  48. package/dist/chunks/{command-3n39cpdf.js → model-4akb30p9.js} +17 -17
  49. package/dist/chunks/{command-zbwvew5n.js → model-4cgvcnqc.js} +14 -14
  50. package/dist/chunks/{command-kqef9432.js → model-4cqzk04t.js} +4 -4
  51. package/dist/chunks/{command-kt3b3w9s.js → model-4kkgmn48.js} +24 -24
  52. package/dist/chunks/{command-xkxvzqg5.js → model-4pk5qdp0.js} +29 -29
  53. package/dist/chunks/{command-zqgkxsdx.js → model-4vxbzg96.js} +12 -12
  54. package/dist/chunks/{command-54ma36ye.js → model-54ma36ye.js} +1 -1
  55. package/dist/chunks/{command-jpjpmxdq.js → model-5jd37bg5.js} +5 -5
  56. package/dist/chunks/{command-5m9w47nd.js → model-5m9w47nd.js} +1 -1
  57. package/dist/chunks/{command-9bs1c7ey.js → model-5q6zkt9t.js} +4 -4
  58. package/dist/chunks/{command-e3qxr5gk.js → model-5qd3pb7m.js} +2 -2
  59. package/dist/chunks/{command-qznp475s.js → model-5qspxpfa.js} +14 -14
  60. package/dist/chunks/{command-nhxs7ffw.js → model-5w3hrgwv.js} +14 -14
  61. package/dist/chunks/{command-3egpthbr.js → model-65xqj3gf.js} +26 -26
  62. package/dist/chunks/{command-6827pfxn.js → model-6827pfxn.js} +1 -1
  63. package/dist/chunks/{command-fp13yrwa.js → model-6bh8c15d.js} +9 -9
  64. package/dist/chunks/{command-xsgk040k.js → model-6vca1abt.js} +20 -20
  65. package/dist/chunks/{command-djqf971v.js → model-6vembv3h.js} +26 -26
  66. package/dist/chunks/{command-zq2x8b87.js → model-6vjn048p.js} +12 -12
  67. package/dist/chunks/{command-6xb47vfp.js → model-6xb47vfp.js} +1 -1
  68. package/dist/chunks/{command-dqrbwv0a.js → model-6y0zycxh.js} +45 -45
  69. package/dist/chunks/{command-6yz0wx8n.js → model-6yz0wx8n.js} +2 -2
  70. package/dist/chunks/{command-95mrps0w.js → model-6zrgpeqf.js} +13 -13
  71. package/dist/chunks/{command-775gj3j1.js → model-775gj3j1.js} +2 -2
  72. package/dist/chunks/{command-1k45a7y4.js → model-7bj5zk0h.js} +27 -27
  73. package/dist/chunks/{command-7bmhse3q.js → model-7bmhse3q.js} +1 -1
  74. package/dist/chunks/{command-yjekck1e.js → model-7jabcg2v.js} +48 -48
  75. package/dist/chunks/{command-jg57jh00.js → model-7pz44b56.js} +13 -13
  76. package/dist/chunks/{command-jjpxm7bv.js → model-7x77f1v0.js} +20 -20
  77. package/dist/chunks/{command-84txncab.js → model-84txncab.js} +1 -1
  78. package/dist/chunks/{command-xyr4e3r8.js → model-888zzhja.js} +15 -15
  79. package/dist/chunks/{command-283cyrsj.js → model-8952chzp.js} +1 -1
  80. package/dist/chunks/{command-22rvfkr8.js → model-8dtwfnm6.js} +5 -5
  81. package/dist/chunks/{command-8m6m0r52.js → model-8m6m0r52.js} +1 -1
  82. package/dist/chunks/{command-8mywswrd.js → model-8mywswrd.js} +1 -1
  83. package/dist/chunks/{command-s4q0hzws.js → model-8p9mr4ny.js} +44 -42
  84. package/dist/chunks/{command-ptak7ehw.js → model-8pah9whb.js} +2 -2
  85. package/dist/chunks/{command-8nr013c3.js → model-8vamb002.js} +28 -28
  86. package/dist/chunks/{command-t3znd8m3.js → model-93h83n4j.js} +32 -32
  87. package/dist/chunks/{command-dvj9ct8m.js → model-998yhzzq.js} +3 -3
  88. package/dist/chunks/{command-nbbt34nq.js → model-9a2f8bab.js} +5 -5
  89. package/dist/chunks/{command-ect4475a.js → model-9g86fe8k.js} +27 -27
  90. package/dist/chunks/model-9hrj064r.js +26 -0
  91. package/dist/chunks/{command-9wev2pgg.js → model-9wev2pgg.js} +1 -1
  92. package/dist/chunks/{command-y0mtf7j7.js → model-9yty7s6b.js} +5 -5
  93. package/dist/chunks/{command-qby9dwvd.js → model-a2qe2ev9.js} +8 -8
  94. package/dist/chunks/{command-jm03v3tw.js → model-a4se8z2x.js} +6 -6
  95. package/dist/chunks/{command-a4pbv56j.js → model-ag9wmf18.js} +23 -23
  96. package/dist/chunks/{command-63kpjth9.js → model-anf0zms1.js} +9 -9
  97. package/dist/chunks/{command-6k581ess.js → model-arzs74za.js} +6 -6
  98. package/dist/chunks/{command-83dfmwhh.js → model-at643fqj.js} +27 -27
  99. package/dist/chunks/{command-addxnjmp.js → model-azwe5p1w.js} +4 -4
  100. package/dist/chunks/{command-b11a7tx7.js → model-b11a7tx7.js} +1 -1
  101. package/dist/chunks/{command-n6ngdxpd.js → model-b1cfp7e8.js} +23 -23
  102. package/dist/chunks/{command-3f1rw1kg.js → model-b9ehgbqb.js} +4 -4
  103. package/dist/chunks/{command-bxqk5pf5.js → model-bacj9t34.js} +9 -9
  104. package/dist/chunks/{command-mv3xkgvr.js → model-bhqc6ztw.js} +6 -6
  105. package/dist/chunks/{command-wjr9rjd7.js → model-bjx1sjef.js} +6 -6
  106. package/dist/chunks/{command-qjxnsekw.js → model-bpxj61qy.js} +22 -22
  107. package/dist/chunks/{command-4aqng94r.js → model-bsznzx2j.js} +29 -29
  108. package/dist/chunks/{command-0gapa1rm.js → model-btec747f.js} +5 -5
  109. package/dist/chunks/{command-9r15s34d.js → model-bw9zjykr.js} +6 -6
  110. package/dist/chunks/{command-jhk62tbh.js → model-bxrpwnhh.js} +5 -5
  111. package/dist/chunks/{command-kkm66dmx.js → model-bysh3wsf.js} +7 -7
  112. package/dist/chunks/{command-p5pcm5fj.js → model-c08hck0b.js} +11 -11
  113. package/dist/chunks/{command-jjcahp0d.js → model-c5xv6gzt.js} +10 -10
  114. package/dist/chunks/{command-g0445xdp.js → model-cmwkp3r5.js} +4 -4
  115. package/dist/chunks/{command-mx1fmt33.js → model-csphqezw.js} +50 -50
  116. package/dist/chunks/{command-z0aj456m.js → model-d858xzj7.js} +4 -4
  117. package/dist/chunks/{command-e9zd77c1.js → model-d8vyx0bf.js} +22 -22
  118. package/dist/chunks/{command-hr3ck4k2.js → model-dac595nq.js} +14 -14
  119. package/dist/chunks/{command-0g6q6pfz.js → model-dbxp0fmc.js} +4 -4
  120. package/dist/chunks/{command-8rs56nfj.js → model-ddf4n6wt.js} +24 -24
  121. package/dist/chunks/{command-r9w3djhf.js → model-depwzj9d.js} +8 -8
  122. package/dist/chunks/{command-cpneeje0.js → model-djszqvmq.js} +9 -9
  123. package/dist/chunks/{command-4bzs8rv8.js → model-dkmgwdej.js} +3 -3
  124. package/dist/chunks/{command-drwq78ky.js → model-drwq78ky.js} +1 -1
  125. package/dist/chunks/{command-cf25jgjj.js → model-e4ed32bz.js} +35 -35
  126. package/dist/chunks/{command-b7k2jn9m.js → model-e5g7rz9z.js} +23 -23
  127. package/dist/chunks/{command-z9h9mhtp.js → model-e7gxn9p4.js} +17 -17
  128. package/dist/chunks/{command-s81df8he.js → model-e89rsxqp.js} +11 -11
  129. package/dist/chunks/{command-4kj8c1s4.js → model-ebs90ymd.js} +34 -34
  130. package/dist/chunks/{command-eej6y6fw.js → model-eej6y6fw.js} +2 -2
  131. package/dist/chunks/{command-ef5x83kb.js → model-ef5x83kb.js} +1 -1
  132. package/dist/chunks/{command-ybc3kgcz.js → model-efg2qyjc.js} +15 -15
  133. package/dist/chunks/{command-v0g0brx6.js → model-egbnj0d7.js} +61 -61
  134. package/dist/chunks/model-f40v7vve.js +257 -0
  135. package/dist/chunks/{command-qqjrwnjf.js → model-f567p7kr.js} +19 -19
  136. package/dist/chunks/{command-89f0qmxx.js → model-f6eb70w4.js} +4 -4
  137. package/dist/chunks/{command-72c5e6kf.js → model-f9gdjgpy.js} +19 -19
  138. package/dist/chunks/{command-fcrkznn8.js → model-fcrkznn8.js} +1 -1
  139. package/dist/chunks/{command-fcy631f0.js → model-fcy631f0.js} +1 -1
  140. package/dist/chunks/{command-ge44mx5n.js → model-ffhn27st.js} +50 -50
  141. package/dist/chunks/{command-ratrq7cm.js → model-fm2qvscf.js} +4 -4
  142. package/dist/chunks/{command-tt8gc4fv.js → model-fn9t717r.js} +6 -6
  143. package/dist/chunks/{command-cevbxveq.js → model-fp7gkmgg.js} +3 -3
  144. package/dist/chunks/{command-9nyvt9wv.js → model-fpr4zhmy.js} +12 -12
  145. package/dist/chunks/{command-et0erakc.js → model-ft76mxxj.js} +4 -4
  146. package/dist/chunks/{command-sxjy2bbv.js → model-fx1vnbe7.js} +14 -14
  147. package/dist/chunks/{command-1hy1achk.js → model-g31edv3s.js} +25 -25
  148. package/dist/chunks/{command-kks3c8v7.js → model-g3vtahr4.js} +19 -19
  149. package/dist/chunks/{command-3vvdcvz1.js → model-g634x94t.js} +25 -25
  150. package/dist/chunks/{command-z9d3cvam.js → model-g9cxqbhm.js} +2 -2
  151. package/dist/chunks/{command-gd4qta3r.js → model-gd4qta3r.js} +1 -1
  152. package/dist/chunks/{command-r54ry9rd.js → model-gee0q842.js} +28 -28
  153. package/dist/chunks/{command-h1k4kx5h.js → model-gfe9tc4x.js} +11 -11
  154. package/dist/chunks/{command-z5bz21w3.js → model-gg18brya.js} +70 -70
  155. package/dist/chunks/{command-qk8cm41f.js → model-gm80t6jn.js} +30 -30
  156. package/dist/chunks/{command-pkcmhgjr.js → model-gq1w7sb6.js} +8 -8
  157. package/dist/chunks/{command-e5cywx9b.js → model-gs5g8sst.js} +10 -10
  158. package/dist/chunks/model-gyce5qg1.js +18 -0
  159. package/dist/chunks/{command-xx33v6n7.js → model-h53p44pz.js} +18 -18
  160. package/dist/chunks/{command-qkgtmd8v.js → model-h5w80xhp.js} +18 -18
  161. package/dist/chunks/{command-jpqeh2wc.js → model-h6310vsd.js} +4 -4
  162. package/dist/chunks/{command-h6vf3j39.js → model-h6vf3j39.js} +1 -1
  163. package/dist/chunks/{command-hbbqk0nf.js → model-hbc5tqp3.js} +8 -8
  164. package/dist/chunks/{command-hgz4x7wa.js → model-hgz4x7wa.js} +1 -1
  165. package/dist/chunks/{command-j7aq1t3e.js → model-hhyv66vq.js} +8 -8
  166. package/dist/chunks/{command-pwfkmcqs.js → model-hkhzft4n.js} +29 -29
  167. package/dist/chunks/{command-7ean6v8x.js → model-hy9g3ct7.js} +11 -11
  168. package/dist/chunks/{command-56zeqtav.js → model-j0g1y14w.js} +11 -11
  169. package/dist/chunks/{command-w8wm14nc.js → model-j4p30vk2.js} +9 -9
  170. package/dist/chunks/{command-8sse9e5v.js → model-jb678r5y.js} +16 -16
  171. package/dist/chunks/{command-pv162s98.js → model-jj5620az.js} +4 -4
  172. package/dist/chunks/{command-g02fgy81.js → model-jqyzchqw.js} +6 -6
  173. package/dist/chunks/{command-c61wj0cv.js → model-jr2ksrq3.js} +7 -7
  174. package/dist/chunks/{command-x0mpvren.js → model-jvkh9b4k.js} +14 -14
  175. package/dist/chunks/{command-a4xtrzqb.js → model-jyhmc03f.js} +11 -11
  176. package/dist/chunks/{command-r014m902.js → model-kecgep65.js} +11 -11
  177. package/dist/chunks/{command-1m2v2j5e.js → model-kee9xs5a.js} +10 -10
  178. package/dist/chunks/{command-e39nsbtg.js → model-kektvt0t.js} +9 -9
  179. package/dist/chunks/{command-fxaymqdw.js → model-khmqacep.js} +4 -4
  180. package/dist/chunks/{command-cgh16r15.js → model-kkwkmtv3.js} +11 -11
  181. package/dist/chunks/{command-kwb1v3vj.js → model-kwb1v3vj.js} +1 -1
  182. package/dist/chunks/{command-dcncen4d.js → model-ky6xty6m.js} +16 -16
  183. package/dist/chunks/{command-g8qdqr0p.js → model-kyq9yddx.js} +35 -35
  184. package/dist/chunks/{command-m9w0rfyh.js → model-m9w0rfyh.js} +1 -1
  185. package/dist/chunks/{command-maspj1v3.js → model-maspj1v3.js} +1 -1
  186. package/dist/chunks/{command-q13f50ex.js → model-mcxd1mvb.js} +33 -33
  187. package/dist/chunks/{command-pgyp9qgz.js → model-mfk0mvfz.js} +3 -3
  188. package/dist/chunks/{command-kqv3x6rj.js → model-mqqhst8y.js} +9 -9
  189. package/dist/chunks/{command-nt51sm0f.js → model-mzeqcj4y.js} +5 -5
  190. package/dist/chunks/{command-97kmb959.js → model-nb2z81by.js} +30 -30
  191. package/dist/chunks/{command-vdp67131.js → model-nfpte2eb.js} +18 -18
  192. package/dist/chunks/{command-w2v961ax.js → model-ngh7x0hb.js} +33 -35
  193. package/dist/chunks/{command-389fpadm.js → model-nhg8br5k.js} +15 -15
  194. package/dist/chunks/{command-0depx116.js → model-nvrn0rpc.js} +37 -37
  195. package/dist/chunks/{command-sr1qwj5a.js → model-nx4dbdvx.js} +347 -347
  196. package/dist/chunks/{command-nz56sr1f.js → model-nz56sr1f.js} +2 -2
  197. package/dist/chunks/{command-ck6mh85g.js → model-p03rm6sa.js} +16 -16
  198. package/dist/chunks/{command-asnmz69s.js → model-p1dsckbq.js} +9 -9
  199. package/dist/chunks/{command-wkpdpa51.js → model-p2237knj.js} +20 -20
  200. package/dist/chunks/{command-dh62xe4r.js → model-pc1v25hk.js} +3 -3
  201. package/dist/chunks/{command-pjvnvgmy.js → model-pjvnvgmy.js} +1 -1
  202. package/dist/chunks/{command-pknna89w.js → model-pknna89w.js} +1 -1
  203. package/dist/chunks/{command-v2m8q0xf.js → model-pqtz87qt.js} +17 -17
  204. package/dist/chunks/{command-hqhd8mr3.js → model-pvgxn4e8.js} +13 -13
  205. package/dist/chunks/{command-2g8sxgxk.js → model-q3wfvgvt.js} +19 -19
  206. package/dist/chunks/{command-2me2cgjk.js → model-qdf5x4hh.js} +9 -9
  207. package/dist/chunks/{command-va3y7zmk.js → model-qga2y2xr.js} +56 -56
  208. package/dist/chunks/{command-n1dcq2q6.js → model-qmw2t4sc.js} +12 -12
  209. package/dist/chunks/{command-1q5vfyvt.js → model-qn9wnv8g.js} +28 -28
  210. package/dist/chunks/{command-qsdy395h.js → model-qsdy395h.js} +1 -1
  211. package/dist/chunks/{command-3wyzm26w.js → model-qsjwargm.js} +48 -48
  212. package/dist/chunks/{command-f8e526k5.js → model-qv0sc65t.js} +3 -3
  213. package/dist/chunks/{command-90mddc2j.js → model-qwk3m3t3.js} +26 -26
  214. package/dist/chunks/{command-37q05ven.js → model-qwpgb8t5.js} +18 -18
  215. package/dist/chunks/{command-xwqx1eeb.js → model-qx0ddeyr.js} +18 -18
  216. package/dist/chunks/{command-3c8ew9jt.js → model-r09mn59h.js} +52 -52
  217. package/dist/chunks/{command-wbsnpf72.js → model-r47k2kcx.js} +48 -48
  218. package/dist/chunks/{command-wpm2rk0p.js → model-r63j37j6.js} +8 -8
  219. package/dist/chunks/{command-rdw6cm16.js → model-rdw6cm16.js} +1 -1
  220. package/dist/chunks/{command-6pc27hjz.js → model-rkprpv83.js} +6 -6
  221. package/dist/chunks/{command-fkhc0ppg.js → model-rpavaw06.js} +25 -25
  222. package/dist/chunks/{command-tk1wxqb9.js → model-rrvj5mm5.js} +34 -34
  223. package/dist/chunks/{command-yph07088.js → model-rs2p4h37.js} +5 -5
  224. package/dist/chunks/{command-eh4k6x00.js → model-rw8ryefd.js} +22 -22
  225. package/dist/chunks/{command-zp3b7061.js → model-rwz8d33h.js} +24 -24
  226. package/dist/chunks/{command-dwr5n885.js → model-s15sfq84.js} +81 -81
  227. package/dist/chunks/{command-q7jg6b3k.js → model-s2ayqtyj.js} +14 -14
  228. package/dist/chunks/{command-77qajvn3.js → model-s85y7g3v.js} +21 -21
  229. package/dist/chunks/{command-w7ef2pdc.js → model-sc122w87.js} +4 -4
  230. package/dist/chunks/{command-zdzmwh5k.js → model-seqcyr36.js} +4 -4
  231. package/dist/chunks/{command-16swm0z2.js → model-sjng2d8s.js} +6 -6
  232. package/dist/chunks/{command-8br0tfcm.js → model-sr417449.js} +4 -4
  233. package/dist/chunks/{command-5epte933.js → model-ss358qx3.js} +3 -3
  234. package/dist/chunks/{command-y99cwb6p.js → model-svs75v6z.js} +22 -22
  235. package/dist/chunks/{command-wsphkq72.js → model-sxffc3gc.js} +12 -12
  236. package/dist/chunks/{command-syv4x271.js → model-syv4x271.js} +1 -1
  237. package/dist/chunks/{command-32ca7668.js → model-t1d8dt4n.js} +21 -21
  238. package/dist/chunks/{command-fkcvtbd2.js → model-t1hdc2tq.js} +11 -11
  239. package/dist/chunks/{command-v9txjfgp.js → model-t9618mt3.js} +16 -16
  240. package/dist/chunks/{command-tazgh4e4.js → model-tazgh4e4.js} +1 -1
  241. package/dist/chunks/{command-tcezcvh9.js → model-tcezcvh9.js} +1 -1
  242. package/dist/chunks/{command-ecmkrhds.js → model-tcncyrvt.js} +23 -23
  243. package/dist/chunks/{command-tdstcens.js → model-tdstcens.js} +1 -1
  244. package/dist/chunks/{command-73t188jy.js → model-tk9ew89t.js} +8 -8
  245. package/dist/chunks/{command-mgwe8qfe.js → model-tm7f4x12.js} +5 -5
  246. package/dist/chunks/{command-4w7ecc6g.js → model-tmz9z8jm.js} +30 -30
  247. package/dist/chunks/{command-tyytaxap.js → model-tyytaxap.js} +1 -1
  248. package/dist/chunks/{command-qhm64xy3.js → model-tz8n52kk.js} +41 -41
  249. package/dist/chunks/{command-0javqkgf.js → model-v210v162.js} +9 -9
  250. package/dist/chunks/{command-948dh3hk.js → model-v27y90m9.js} +24 -24
  251. package/dist/chunks/{command-y26vasy8.js → model-v4fy3qk9.js} +29 -29
  252. package/dist/chunks/{command-v7p4zvkq.js → model-v7p4zvkq.js} +2 -2
  253. package/dist/chunks/{command-as1q5j0q.js → model-vcf39g69.js} +13 -13
  254. package/dist/chunks/{command-veqvce7d.js → model-veqvce7d.js} +1 -1
  255. package/dist/chunks/{command-vzs5sf6e.js → model-vzs5sf6e.js} +1 -1
  256. package/dist/chunks/{command-w3wsvvr9.js → model-w3wsvvr9.js} +1 -1
  257. package/dist/chunks/{command-wakvkjy4.js → model-wakvkjy4.js} +1 -1
  258. package/dist/chunks/{command-wd87259q.js → model-wd87259q.js} +1 -1
  259. package/dist/chunks/{command-8gazrhqj.js → model-wh7c4t4p.js} +36 -36
  260. package/dist/chunks/{command-m4rj2mnd.js → model-wnfhhngp.js} +45 -45
  261. package/dist/chunks/{command-9h6sayvh.js → model-wpmx8zxk.js} +33 -33
  262. package/dist/chunks/{command-mez53n4j.js → model-wsncy6g1.js} +13 -13
  263. package/dist/chunks/{command-dy3angj7.js → model-wx5pdzv2.js} +13 -13
  264. package/dist/chunks/{command-tdrv5nbk.js → model-x1z449jw.js} +44 -44
  265. package/dist/chunks/{command-tfsj72j2.js → model-x5yt3945.js} +19 -19
  266. package/dist/chunks/{command-emyrjxnr.js → model-x9qrfn9j.js} +20 -20
  267. package/dist/chunks/{command-mmqg1qye.js → model-xax4r61v.js} +23 -23
  268. package/dist/chunks/{command-zttg29zn.js → model-xqsr3wks.js} +35 -35
  269. package/dist/chunks/{command-8vcf4cwr.js → model-xw9fg8fb.js} +2 -2
  270. package/dist/chunks/{command-t7e2bcer.js → model-xyx6322v.js} +47 -47
  271. package/dist/chunks/{command-n6mnjzyz.js → model-xzfxv41j.js} +7 -7
  272. package/dist/chunks/{command-y1fvbwt7.js → model-y1fvbwt7.js} +1 -1
  273. package/dist/chunks/{command-dpkg50ah.js → model-y71avatq.js} +4 -4
  274. package/dist/chunks/{command-mnves5jb.js → model-yftbr5kk.js} +30 -30
  275. package/dist/chunks/{command-k9yvbbgh.js → model-yjc5w60m.js} +7 -7
  276. package/dist/chunks/{command-s5fqv55p.js → model-yjg8p8vw.js} +14 -14
  277. package/dist/chunks/{command-4rsh6n8g.js → model-yjp1gbyy.js} +12 -12
  278. package/dist/chunks/{command-r3npp4de.js → model-yjr10ne3.js} +17 -17
  279. package/dist/chunks/{command-z0bkrqjs.js → model-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{command-e7gxy7fd.js → model-z0ydvj27.js} +4 -4
  281. package/dist/chunks/{command-z18fegx4.js → model-z18fegx4.js} +1 -1
  282. package/dist/chunks/{command-jad02azz.js → model-zdfm1n8e.js} +191 -191
  283. package/dist/chunks/{command-ckf8nxjz.js → model-zee1rnkq.js} +4 -4
  284. package/dist/chunks/{command-whq7nv3n.js → model-zqp45qky.js} +1 -1
  285. package/dist/chunks/{command-zr2ceqn5.js → model-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{command-t8afp1a1.js → model-ztxz8wab.js} +9 -9
  287. package/dist/chunks/{command-zxq2ej10.js → model-zxq2ej10.js} +1 -1
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +3 -3
  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 +84 -84
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +101 -101
  296. package/dist/config/plugin/agent.js +118 -118
  297. package/dist/config/plugin/command.js +214 -214
  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 +118 -118
  305. package/dist/config/plugin/mcp.js +125 -125
  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 +118 -118
  310. package/dist/config/plugin/skill-file.js +104 -104
  311. package/dist/config/plugin/skill-scan.js +3 -3
  312. package/dist/config/plugin/skill.js +138 -138
  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 +117 -117
  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 +119 -119
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +87 -87
  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 +369 -369
  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 +1 -1
  425. package/dist/filesystem/search.js +105 -105
  426. package/dist/filesystem/watcher-binding.js +3 -3
  427. package/dist/filesystem/watcher.js +13 -13
  428. package/dist/filesystem.js +104 -104
  429. package/dist/form.js +86 -86
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +89 -89
  432. package/dist/generate.js +105 -105
  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 +5 -5
  456. package/dist/instance.js +360 -360
  457. package/dist/instruction-discovery.js +86 -86
  458. package/dist/instructions/builtins.js +85 -85
  459. package/dist/instructions/index.js +5 -5
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +89 -89
  462. package/dist/job.js +80 -80
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +75 -75
  465. package/dist/location-activity.js +159 -159
  466. package/dist/location-lifecycle.js +109 -109
  467. package/dist/location-service-map.js +88 -88
  468. package/dist/location-services.js +357 -357
  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 +101 -101
  479. package/dist/model-retry.js +1 -1
  480. package/dist/model.js +102 -102
  481. package/dist/models-dev.js +101 -101
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +86 -86
  484. package/dist/permission/sql.js +5 -5
  485. package/dist/permission.js +119 -119
  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 +88 -88
  489. package/dist/persistent-pty/pty-binding.js +1 -1
  490. package/dist/persistent-pty.js +77 -77
  491. package/dist/plugin/agent.js +78 -78
  492. package/dist/plugin/command.js +104 -104
  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 +116 -116
  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 +113 -113
  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 +103 -103
  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 +125 -125
  538. package/dist/plugin/provider/xai.js +93 -93
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +170 -170
  541. package/dist/plugin/sdk.js +76 -76
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +134 -134
  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 +4 -4
  548. package/dist/plugin/vcs/git.js +88 -88
  549. package/dist/plugin/vcs/hg.js +88 -88
  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 +4 -4
  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 +229 -229
  560. package/dist/project/schema.js +8 -8
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +92 -92
  563. package/dist/provider.js +103 -103
  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 +89 -89
  568. package/dist/reference.js +91 -91
  569. package/dist/repository-cache.js +83 -83
  570. package/dist/repository.js +1 -1
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +99 -99
  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 +134 -134
  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 +126 -126
  585. package/dist/session/generate.js +164 -164
  586. package/dist/session/history.js +15 -15
  587. package/dist/session/inbox.js +93 -93
  588. package/dist/session/info.js +3 -3
  589. package/dist/session/instruction-entry.js +79 -79
  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 +122 -122
  595. package/dist/session/model-transport.js +9 -9
  596. package/dist/session/move.js +132 -132
  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 +3 -3
  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 +101 -101
  606. package/dist/session/runner/publish-llm-event.js +116 -116
  607. package/dist/session/runner/retry.js +5 -5
  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 +163 -163
  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 +89 -89
  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 +114 -114
  622. package/dist/session/transfer.js +220 -220
  623. package/dist/session/usage.js +1 -1
  624. package/dist/session.js +214 -214
  625. package/dist/shell/parse.js +8 -8
  626. package/dist/shell/result.js +1 -1
  627. package/dist/shell/scan.js +1 -1
  628. package/dist/shell/select.js +11 -11
  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 +137 -137
  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 +111 -111
  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 +217 -217
  648. package/dist/tool/plugin/skill.js +115 -115
  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 +113 -113
  652. package/dist/tool/plugin/websearch.js +116 -116
  653. package/dist/tool/plugin/write.js +122 -122
  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/session/model-request.d.ts +1 -1
  659. package/dist/util/error-summary.js +1 -1
  660. package/dist/util/git-executable.js +2 -2
  661. package/dist/util/lazy.js +1 -1
  662. package/dist/util/slug.js +1 -1
  663. package/dist/util/token.js +1 -1
  664. package/dist/util/which.js +1 -1
  665. package/dist/util/wildcard.js +1 -1
  666. package/dist/v1/config/agent.js +7 -7
  667. package/dist/v1/config/command.js +3 -3
  668. package/dist/v1/config/mcp.js +2 -2
  669. package/dist/v1/config/migrate.js +94 -94
  670. package/dist/v1/config/permission.js +7 -7
  671. package/dist/v1/config/plugin.js +1 -1
  672. package/dist/v1/config/provider-options.js +1 -1
  673. package/dist/v1/config/provider.js +2 -2
  674. package/dist/variant.js +95 -95
  675. package/dist/vcs/patch.js +1 -1
  676. package/dist/vcs.js +91 -91
  677. package/dist/voice.js +88 -88
  678. package/dist/websearch.js +84 -84
  679. package/dist/wellknown/plugin.js +78 -78
  680. package/dist/wellknown.js +81 -81
  681. package/dist/workspace/driver.js +7 -7
  682. package/dist/workspace/sql.js +1 -1
  683. package/dist/workspace.js +84 -84
  684. package/dist/worktree/directory.js +2 -2
  685. package/dist/worktree/git.js +10 -10
  686. package/dist/worktree/sql.js +5 -5
  687. package/dist/worktree/strategies.js +91 -91
  688. package/dist/worktree.js +100 -100
  689. package/package.json +8 -8
  690. package/dist/chunks/command-06zctecw.js +0 -257
  691. package/dist/chunks/command-kj2kg6z0.js +0 -26
  692. package/dist/chunks/command-phz3h32g.js +0 -18
  693. /package/dist/chunks/{command-0qkdqm5v.js → model-0qkdqm5v.js} +0 -0
  694. /package/dist/chunks/{command-0zkw76rk.js → model-0zkw76rk.js} +0 -0
  695. /package/dist/chunks/{command-17cy0kzp.js → model-17cy0kzp.js} +0 -0
  696. /package/dist/chunks/{command-1cnp2v09.js → model-1cnp2v09.js} +0 -0
  697. /package/dist/chunks/{command-24dcb14g.js → model-24dcb14g.js} +0 -0
  698. /package/dist/chunks/{command-2710q6r3.js → model-2710q6r3.js} +0 -0
  699. /package/dist/chunks/{command-2bv980vf.js → model-2bv980vf.js} +0 -0
  700. /package/dist/chunks/{command-2c3vjs8z.js → model-2c3vjs8z.js} +0 -0
  701. /package/dist/chunks/{command-359p4xyc.js → model-359p4xyc.js} +0 -0
  702. /package/dist/chunks/{command-3asan66x.js → model-3asan66x.js} +0 -0
  703. /package/dist/chunks/{command-3t0ybcrp.js → model-3t0ybcrp.js} +0 -0
  704. /package/dist/chunks/{command-3v8g72cx.js → model-3v8g72cx.js} +0 -0
  705. /package/dist/chunks/{command-3wcehsnq.js → model-3wcehsnq.js} +0 -0
  706. /package/dist/chunks/{command-43n2bw4t.js → model-43n2bw4t.js} +0 -0
  707. /package/dist/chunks/{command-4knz6hnm.js → model-4knz6hnm.js} +0 -0
  708. /package/dist/chunks/{command-4vcrnpx2.js → model-4vcrnpx2.js} +0 -0
  709. /package/dist/chunks/{command-4y7fprxs.js → model-4y7fprxs.js} +0 -0
  710. /package/dist/chunks/{command-53557ph1.js → model-53557ph1.js} +0 -0
  711. /package/dist/chunks/{command-550bvhaj.js → model-550bvhaj.js} +0 -0
  712. /package/dist/chunks/{command-5fjb7ams.js → model-5fjb7ams.js} +0 -0
  713. /package/dist/chunks/{command-6prwharc.js → model-6prwharc.js} +0 -0
  714. /package/dist/chunks/{command-6q2bdcd1.js → model-6q2bdcd1.js} +0 -0
  715. /package/dist/chunks/{command-7akdwqpd.js → model-7akdwqpd.js} +0 -0
  716. /package/dist/chunks/{command-7m9af43g.js → model-7m9af43g.js} +0 -0
  717. /package/dist/chunks/{command-822emrt2.js → model-822emrt2.js} +0 -0
  718. /package/dist/chunks/{command-84wd9syh.js → model-84wd9syh.js} +0 -0
  719. /package/dist/chunks/{command-88xbtdfr.js → model-88xbtdfr.js} +0 -0
  720. /package/dist/chunks/{command-8n3pysct.js → model-8n3pysct.js} +0 -0
  721. /package/dist/chunks/{command-8wj87zfr.js → model-8wj87zfr.js} +0 -0
  722. /package/dist/chunks/{command-9a4afbnw.js → model-9a4afbnw.js} +0 -0
  723. /package/dist/chunks/{command-9rqn6x4v.js → model-9rqn6x4v.js} +0 -0
  724. /package/dist/chunks/{command-a6k6eb26.js → model-a6k6eb26.js} +0 -0
  725. /package/dist/chunks/{command-af5trqkr.js → model-af5trqkr.js} +0 -0
  726. /package/dist/chunks/{command-afrmfg78.js → model-afrmfg78.js} +0 -0
  727. /package/dist/chunks/{command-aqzs7mqg.js → model-aqzs7mqg.js} +0 -0
  728. /package/dist/chunks/{command-atq7p7m5.js → model-atq7p7m5.js} +0 -0
  729. /package/dist/chunks/{command-bkyjaxrp.js → model-bkyjaxrp.js} +0 -0
  730. /package/dist/chunks/{command-bmr6ed5q.js → model-bmr6ed5q.js} +0 -0
  731. /package/dist/chunks/{command-cf4snx6d.js → model-cf4snx6d.js} +0 -0
  732. /package/dist/chunks/{command-cvy3z8tj.js → model-cvy3z8tj.js} +0 -0
  733. /package/dist/chunks/{command-d9fn303g.js → model-d9fn303g.js} +0 -0
  734. /package/dist/chunks/{command-d9jj8t3e.js → model-d9jj8t3e.js} +0 -0
  735. /package/dist/chunks/{command-dajrwvna.js → model-dajrwvna.js} +0 -0
  736. /package/dist/chunks/{command-dap0rakb.js → model-dap0rakb.js} +0 -0
  737. /package/dist/chunks/{command-df08tz66.js → model-df08tz66.js} +0 -0
  738. /package/dist/chunks/{command-dy18nga0.js → model-dy18nga0.js} +0 -0
  739. /package/dist/chunks/{command-e5kj55wp.js → model-e5kj55wp.js} +0 -0
  740. /package/dist/chunks/{command-e73j6tqm.js → model-e73j6tqm.js} +0 -0
  741. /package/dist/chunks/{command-ec1grn59.js → model-ec1grn59.js} +0 -0
  742. /package/dist/chunks/{command-eh3zwz77.js → model-eh3zwz77.js} +0 -0
  743. /package/dist/chunks/{command-emrn6kk6.js → model-emrn6kk6.js} +0 -0
  744. /package/dist/chunks/{command-f0mxakyp.js → model-f0mxakyp.js} +0 -0
  745. /package/dist/chunks/{command-f6n9ztr4.js → model-f6n9ztr4.js} +0 -0
  746. /package/dist/chunks/{command-faypxj3z.js → model-faypxj3z.js} +0 -0
  747. /package/dist/chunks/{command-fd410y7t.js → model-fd410y7t.js} +0 -0
  748. /package/dist/chunks/{command-g4wezp1m.js → model-g4wezp1m.js} +0 -0
  749. /package/dist/chunks/{command-g86h250q.js → model-g86h250q.js} +0 -0
  750. /package/dist/chunks/{command-gebd4c9n.js → model-gebd4c9n.js} +0 -0
  751. /package/dist/chunks/{command-gftt206x.js → model-gftt206x.js} +0 -0
  752. /package/dist/chunks/{command-hcxmzztb.js → model-hcxmzztb.js} +0 -0
  753. /package/dist/chunks/{command-hk9envan.js → model-hk9envan.js} +0 -0
  754. /package/dist/chunks/{command-j2ntwpah.js → model-j2ntwpah.js} +0 -0
  755. /package/dist/chunks/{command-j5zkgpj8.js → model-j5zkgpj8.js} +0 -0
  756. /package/dist/chunks/{command-jjkms2e6.js → model-jjkms2e6.js} +0 -0
  757. /package/dist/chunks/{command-jr7sbwjy.js → model-jr7sbwjy.js} +0 -0
  758. /package/dist/chunks/{command-jwfs4k6c.js → model-jwfs4k6c.js} +0 -0
  759. /package/dist/chunks/{command-jze0r7bz.js → model-jze0r7bz.js} +0 -0
  760. /package/dist/chunks/{command-jzg6c2d5.js → model-jzg6c2d5.js} +0 -0
  761. /package/dist/chunks/{command-m18g726c.js → model-m18g726c.js} +0 -0
  762. /package/dist/chunks/{command-mp448xyj.js → model-mp448xyj.js} +0 -0
  763. /package/dist/chunks/{command-msx8hqn2.js → model-msx8hqn2.js} +0 -0
  764. /package/dist/chunks/{command-n05xt0ee.js → model-n05xt0ee.js} +0 -0
  765. /package/dist/chunks/{command-n3j8tn72.js → model-n3j8tn72.js} +0 -0
  766. /package/dist/chunks/{command-njntx4h6.js → model-njntx4h6.js} +0 -0
  767. /package/dist/chunks/{command-pkyv6v7h.js → model-pkyv6v7h.js} +0 -0
  768. /package/dist/chunks/{command-q3sfg36h.js → model-q3sfg36h.js} +0 -0
  769. /package/dist/chunks/{command-q74kybfr.js → model-q74kybfr.js} +0 -0
  770. /package/dist/chunks/{command-qaymkmh1.js → model-qaymkmh1.js} +0 -0
  771. /package/dist/chunks/{command-qb87gjwd.js → model-qb87gjwd.js} +0 -0
  772. /package/dist/chunks/{command-qfa1cgps.js → model-qfa1cgps.js} +0 -0
  773. /package/dist/chunks/{command-qg3g05ea.js → model-qg3g05ea.js} +0 -0
  774. /package/dist/chunks/{command-qrg20bc0.js → model-qrg20bc0.js} +0 -0
  775. /package/dist/chunks/{command-rcb2kzg1.js → model-rcb2kzg1.js} +0 -0
  776. /package/dist/chunks/{command-sdp7kfr6.js → model-sdp7kfr6.js} +0 -0
  777. /package/dist/chunks/{command-ssg3fenm.js → model-ssg3fenm.js} +0 -0
  778. /package/dist/chunks/{command-ve7vex1e.js → model-ve7vex1e.js} +0 -0
  779. /package/dist/chunks/{command-w803qqfp.js → model-w803qqfp.js} +0 -0
  780. /package/dist/chunks/{command-wc3fc9cn.js → model-wc3fc9cn.js} +0 -0
  781. /package/dist/chunks/{command-wer8tq1h.js → model-wer8tq1h.js} +0 -0
  782. /package/dist/chunks/{command-wjj7prxr.js → model-wjj7prxr.js} +0 -0
  783. /package/dist/chunks/{command-wtztk69x.js → model-wtztk69x.js} +0 -0
  784. /package/dist/chunks/{command-x0ckcb58.js → model-x0ckcb58.js} +0 -0
  785. /package/dist/chunks/{command-x61499pn.js → model-x61499pn.js} +0 -0
  786. /package/dist/chunks/{command-y44na4kk.js → model-y44na4kk.js} +0 -0
  787. /package/dist/chunks/{command-y8f7s663.js → model-y8f7s663.js} +0 -0
  788. /package/dist/chunks/{command-ygaqb7jw.js → model-ygaqb7jw.js} +0 -0
  789. /package/dist/chunks/{command-ym463w8f.js → model-ym463w8f.js} +0 -0
  790. /package/dist/chunks/{command-z5v4ffb3.js → model-z5v4ffb3.js} +0 -0
  791. /package/dist/chunks/{command-z9919s4g.js → model-z9919s4g.js} +0 -0
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./command-z5v4ffb3.js";
3
+ } from "./model-z5v4ffb3.js";
4
4
  import {
5
- Info7,
6
- ID6,
5
+ Info11,
6
+ ID7,
7
7
  Name2
8
- } from "./command-3egpthbr.js";
8
+ } from "./model-65xqj3gf.js";
9
9
  import {
10
- Service67
11
- } from "./command-3wyzm26w.js";
10
+ Service64
11
+ } from "./model-qsjwargm.js";
12
12
  import {
13
13
  __export
14
- } from "./command-9rqn6x4v.js";
14
+ } from "./model-9rqn6x4v.js";
15
15
 
16
16
  // src/plugin/skill.ts
17
- var exports_skill2 = {};
18
- __export(exports_skill2, {
17
+ var exports_skill = {};
18
+ __export(exports_skill, {
19
19
  OpencodeContent: () => OpencodeContent2,
20
20
  OpencodeDescription: () => OpencodeDescription2,
21
- Plugin: () => Plugin28,
21
+ Plugin: () => Plugin15,
22
22
  ReportContent: () => ReportContent2,
23
- SkillPlugin: () => exports_skill2
23
+ SkillPlugin: () => exports_skill
24
24
  });
25
25
  import { define } from "@opencode/plugin/effect/plugin";
26
26
  import { Effect } from "effect";
@@ -424,20 +424,20 @@ var OpencodeContent2 = opencode_default;
424
424
  var ReportContent2 = report_default;
425
425
  var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
426
426
  var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
427
- var Plugin28 = define({
427
+ var Plugin15 = define({
428
428
  id: "opencode.skill",
429
429
  effect: Effect.fn(function* (ctx) {
430
430
  const reportContent = yield* reportContentWithDiagnostics(ctx.app);
431
431
  yield* ctx.skill.transform((editor) => {
432
- editor.add(Info7.make({
433
- id: ID6.make("opencode"),
432
+ editor.add(Info11.make({
433
+ id: ID7.make("opencode"),
434
434
  name: Name2.make("OpenCode"),
435
435
  description: OpencodeDescription2,
436
436
  path: AbsolutePath2.make("/builtin/opencode.md"),
437
437
  content: OpencodeContent2
438
438
  }));
439
- editor.add(Info7.make({
440
- id: ID6.make("report"),
439
+ editor.add(Info11.make({
440
+ id: ID7.make("report"),
441
441
  name: Name2.make("Report"),
442
442
  description: REPORT_DESCRIPTION,
443
443
  path: AbsolutePath2.make("/builtin/report.md"),
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
466
466
  `);
467
467
  });
468
468
  var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
469
- const config = yield* Service67;
469
+ const config = yield* Service64;
470
470
  return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
471
471
  });
472
472
  function terminal() {
@@ -480,4 +480,4 @@ function shell() {
480
480
  return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
481
481
  }
482
482
 
483
- export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin28, exports_skill2 };
483
+ export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin15, exports_skill };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./command-z5v4ffb3.js";
3
+ } from "./model-z5v4ffb3.js";
4
4
  import {
5
5
  root2
6
- } from "./command-yjekck1e.js";
6
+ } from "./model-7jabcg2v.js";
7
7
  import {
8
- Service81,
9
- node85
10
- } from "./command-hnmmt9bt.js";
8
+ Service82,
9
+ node86
10
+ } from "./model-3apxagx1.js";
11
11
  import {
12
- Service62,
13
- node65
14
- } from "./command-v0g0brx6.js";
12
+ Service75,
13
+ node79
14
+ } from "./model-egbnj0d7.js";
15
15
  import {
16
16
  __export
17
- } from "./command-9rqn6x4v.js";
17
+ } from "./model-9rqn6x4v.js";
18
18
 
19
19
  // src/file-access.ts
20
20
  var exports_file_access = {};
@@ -22,8 +22,8 @@ __export(exports_file_access, {
22
22
  FileAccess: () => exports_file_access,
23
23
  Kind: () => Kind2,
24
24
  ResolveInput: () => ResolveInput2,
25
- Service: () => Service19,
26
- node: () => node21,
25
+ Service: () => Service49,
26
+ node: () => node53,
27
27
  resolvePath: () => resolvePath2
28
28
  });
29
29
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -37,7 +37,7 @@ var ResolveInput2 = Schema.Struct({
37
37
  kind: Kind2.pipe(Schema.optional)
38
38
  });
39
39
 
40
- class Service19 extends Context.Service()("@opencode/FileAccess") {
40
+ class Service49 extends Context.Service()("@opencode/FileAccess") {
41
41
  }
42
42
  var resolvePath2 = (directory, input, home = Global.Path.home) => {
43
43
  const normalized = FSUtil.windowsPath(input);
@@ -49,10 +49,10 @@ var invocation = (context) => ({
49
49
  agent: context.agent,
50
50
  source: { type: "tool", messageID: context.messageID, id: context.id }
51
51
  });
52
- var layer = Layer.effect(Service19, Effect.gen(function* () {
52
+ var layer = Layer.effect(Service49, Effect.gen(function* () {
53
53
  const fs = yield* FSUtil.Service;
54
- const location = yield* Service81;
55
- const permission = yield* Service62;
54
+ const location = yield* Service82;
55
+ const permission = yield* Service75;
56
56
  const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
57
57
  const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
58
58
  const worktree = path.resolve(location.project.directory);
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
101
101
  });
102
102
  return target;
103
103
  });
104
- return Service19.of({ resolve, authorizeExternal, authorizeRead });
104
+ return Service49.of({ resolve, authorizeExternal, authorizeRead });
105
105
  }));
106
- var node21 = makeLocationNode({ service: Service19, layer, deps: [FSUtil.node, node85, node65] });
106
+ var node53 = makeLocationNode({ service: Service49, layer, deps: [FSUtil.node, node86, node79] });
107
107
 
108
- export { Kind2, ResolveInput2, Service19, resolvePath2, node21, exports_file_access };
108
+ export { Kind2, ResolveInput2, Service49, resolvePath2, node53, exports_file_access };
@@ -1,60 +1,60 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./command-dpkg50ah.js";
3
+ } from "./model-y71avatq.js";
4
4
  import {
5
- Service85,
6
- node89
7
- } from "./command-n1dcq2q6.js";
5
+ Service84,
6
+ node88
7
+ } from "./model-qmw2t4sc.js";
8
8
  import {
9
- Event19,
10
- Service80,
11
- node84
12
- } from "./command-q13f50ex.js";
9
+ Event18,
10
+ Service74,
11
+ node78
12
+ } from "./model-mcxd1mvb.js";
13
13
  import {
14
- Service81,
15
- node85
16
- } from "./command-hnmmt9bt.js";
14
+ Service82,
15
+ node86
16
+ } from "./model-3apxagx1.js";
17
17
  import {
18
- Service75,
19
- node78
20
- } from "./command-8rs56nfj.js";
18
+ Service51,
19
+ node55
20
+ } from "./model-ddf4n6wt.js";
21
21
  import {
22
- ID18,
23
- Service84,
24
- node88
25
- } from "./command-8nr013c3.js";
22
+ ID11,
23
+ Service73,
24
+ node77
25
+ } from "./model-8vamb002.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./command-rdw6cm16.js";
29
+ } from "./model-rdw6cm16.js";
30
30
  import {
31
- ID14,
31
+ ID10,
32
32
  MethodID2,
33
- Service79,
34
- node83
35
- } from "./command-9h6sayvh.js";
33
+ Service72,
34
+ node76
35
+ } from "./model-wpmx8zxk.js";
36
36
  import {
37
37
  __export
38
- } from "./command-9rqn6x4v.js";
38
+ } from "./model-9rqn6x4v.js";
39
39
 
40
40
  // src/mcp/index.ts
41
41
  var exports_mcp4 = {};
42
42
  __export(exports_mcp4, {
43
43
  Mcp: () => exports_mcp4,
44
- NotFoundError: () => NotFoundError4,
45
- Options: () => Options4,
44
+ NotFoundError: () => NotFoundError2,
45
+ Options: () => Options3,
46
46
  PromptsChanged: () => PromptsChanged2,
47
47
  Resource: () => Resource2,
48
48
  ResourceCatalog: () => ResourceCatalog2,
49
49
  ResourceContent: () => ResourceContent2,
50
50
  ResourceTemplate: () => ResourceTemplate2,
51
51
  ServerName: () => ServerName2,
52
- Service: () => Service30,
52
+ Service: () => Service29,
53
53
  Status: () => Status2,
54
54
  ToolCallError: () => ToolCallError2,
55
- configured: () => configured4,
55
+ configured: () => configured3,
56
56
  layer: () => layer15,
57
- node: () => node33
57
+ node: () => node32
58
58
  });
59
59
  import { Mcp } from "@opencode/schema/mcp";
60
60
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
72
72
  var ResourceCatalog2 = Mcp.ResourceCatalog;
73
73
  var ResourceContent2 = Mcp.ResourceContent;
74
74
 
75
- class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
75
+ class NotFoundError2 extends Schema.TaggedError()("MCP.NotFoundError", {
76
76
  server: ServerName2
77
77
  }) {
78
78
  get message() {
@@ -103,21 +103,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
103
103
  var endpointLoads = makeUnsafe2();
104
104
  var cloneConfig = (config) => structuredClone(config);
105
105
 
106
- class Service30 extends Context.Service()("@opencode/MCP") {
106
+ class Service29 extends Context.Service()("@opencode/MCP") {
107
107
  }
108
- var Options4 = Schema.Struct({
108
+ var Options3 = Schema.Struct({
109
109
  clientInfo: Schema.optional(Schema.Struct({
110
110
  name: Schema.String,
111
111
  version: Schema.String
112
112
  }))
113
113
  });
114
- var layer15 = (options) => Layer.effect(Service30, Effect.gen(function* () {
115
- const location = yield* Service81;
116
- const environment = yield* Service75;
117
- const bus = yield* Service85;
118
- const forms = yield* Service84;
119
- const integration = yield* Service79;
120
- const credentials = yield* Service80;
114
+ var layer15 = (options) => Layer.effect(Service29, Effect.gen(function* () {
115
+ const location = yield* Service82;
116
+ const environment = yield* Service51;
117
+ const bus = yield* Service84;
118
+ const forms = yield* Service73;
119
+ const integration = yield* Service72;
120
+ const credentials = yield* Service74;
121
121
  const root = yield* Effect.scope;
122
122
  const fork = yield* FiberSet.makeRuntime();
123
123
  const entries = new Map;
@@ -129,7 +129,7 @@ var layer15 = (options) => Layer.effect(Service30, Effect.gen(function* () {
129
129
  return;
130
130
  const remote = entry.config;
131
131
  const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
132
- const integrationID = ID14.make(suffix);
132
+ const integrationID = ID10.make(suffix);
133
133
  entry.integrationID = integrationID;
134
134
  owned.add(integrationID);
135
135
  const methodID = MethodID2.make(suffix);
@@ -145,7 +145,7 @@ var layer15 = (options) => Layer.effect(Service30, Effect.gen(function* () {
145
145
  method: { id: methodID, type: "oauth", label: name },
146
146
  authorize: () => Effect.gen(function* () {
147
147
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
148
- return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service80, credentials));
148
+ return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service74, credentials));
149
149
  })
150
150
  });
151
151
  }).pipe(Scope.provide(scope));
@@ -154,19 +154,19 @@ var layer15 = (options) => Layer.effect(Service30, Effect.gen(function* () {
154
154
  const name = ServerName2.make(server);
155
155
  const entry = entries.get(name);
156
156
  if (!entry)
157
- return yield* new NotFoundError4({ server: name });
157
+ return yield* new NotFoundError2({ server: name });
158
158
  return { name, entry };
159
159
  });
160
160
  const connectProvider = Effect.fnUntraced(function* (entry) {
161
161
  if (entry.config.type !== "remote" || !entry.integrationID)
162
162
  return;
163
163
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
164
- return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service80, credentials));
164
+ return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service74, credentials));
165
165
  });
166
166
  const elicitation = {
167
167
  create: (input) => Effect.gen(function* () {
168
168
  if (input.params.mode === "url") {
169
- const formID = ID18.create();
169
+ const formID = ID11.create();
170
170
  const elicitationID = input.params.elicitationId;
171
171
  const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
172
172
  if (key)
@@ -269,7 +269,7 @@ var layer15 = (options) => Layer.effect(Service30, Effect.gen(function* () {
269
269
  entry.scope = scope;
270
270
  const authProvider = yield* connectProvider(entry);
271
271
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
272
- const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service75, environment), Scope.provide(scope));
272
+ const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service51, environment), Scope.provide(scope));
273
273
  const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
274
274
  if (Exit.isSuccess(result)) {
275
275
  entry.client = result.value.connection;
@@ -394,7 +394,7 @@ var layer15 = (options) => Layer.effect(Service30, Effect.gen(function* () {
394
394
  yield* startServer(name, entry);
395
395
  }).pipe(locks.withLock(name));
396
396
  });
397
- fork(bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
397
+ fork(bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
398
398
  const state = create3({
399
399
  name: "mcp",
400
400
  initial: () => ({
@@ -420,7 +420,7 @@ var layer15 = (options) => Layer.effect(Service30, Effect.gen(function* () {
420
420
  }),
421
421
  notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
422
422
  });
423
- return Service30.of({
423
+ return Service29.of({
424
424
  transform: state.transform,
425
425
  reload: state.reload,
426
426
  servers: Effect.fn("MCP.servers")(function* () {
@@ -530,14 +530,14 @@ function mergeCatalogs(catalogs) {
530
530
  templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
531
531
  });
532
532
  }
533
- function configured4(options) {
533
+ function configured3(options) {
534
534
  return makeLocationNode({
535
- service: Service30,
535
+ service: Service29,
536
536
  layer: layer15(options),
537
- deps: [node85, node78, node89, node88, node83, node84]
537
+ deps: [node86, node55, node88, node77, node76, node78]
538
538
  });
539
539
  }
540
- var node33 = configured4();
540
+ var node32 = configured3();
541
541
  function toElicitationField(key, property, required) {
542
542
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
543
543
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -588,4 +588,4 @@ function toElicitationField(key, property, required) {
588
588
  }
589
589
  }
590
590
 
591
- export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2, Service30, Options4, layer15, configured4, node33, exports_mcp4 };
591
+ export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError2, ToolCallError2, Service29, Options3, layer15, configured3, node32, exports_mcp4 };
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./command-z5v4ffb3.js";
3
+ } from "./model-z5v4ffb3.js";
4
4
  import {
5
5
  latest2,
6
- Service67
7
- } from "./command-3wyzm26w.js";
6
+ Service64
7
+ } from "./model-qsjwargm.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./command-hgz4x7wa.js";
10
+ } from "./model-hgz4x7wa.js";
11
11
  import {
12
- Service75
13
- } from "./command-8rs56nfj.js";
12
+ Service51
13
+ } from "./model-ddf4n6wt.js";
14
14
  import {
15
- Service61
16
- } from "./command-ck6mh85g.js";
15
+ Service80
16
+ } from "./model-p03rm6sa.js";
17
17
  import {
18
- Service62
19
- } from "./command-v0g0brx6.js";
18
+ Service75
19
+ } from "./model-egbnj0d7.js";
20
20
  import {
21
- Service19,
21
+ Service49,
22
22
  resolvePath2
23
- } from "./command-xwqx1eeb.js";
23
+ } from "./model-qx0ddeyr.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./command-vzs5sf6e.js";
29
+ } from "./model-vzs5sf6e.js";
30
30
  import {
31
- Service52,
31
+ Service44,
32
32
  name16
33
- } from "./command-3n39cpdf.js";
33
+ } from "./model-4akb30p9.js";
34
34
  import {
35
- NotFoundError7,
36
- Service50
37
- } from "./command-mx1fmt33.js";
35
+ NotFoundError3,
36
+ Service30
37
+ } from "./model-csphqezw.js";
38
38
  import {
39
- Service21
40
- } from "./command-02pca900.js";
39
+ Service16
40
+ } from "./model-2re5xsb3.js";
41
41
  import {
42
- scan3
43
- } from "./command-n6mnjzyz.js";
42
+ scan2
43
+ } from "./model-xzfxv41j.js";
44
44
  import {
45
45
  __export
46
- } from "./command-9rqn6x4v.js";
46
+ } from "./model-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
- var exports_shell2 = {};
50
- __export(exports_shell2, {
49
+ var exports_shell = {};
50
+ __export(exports_shell, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input9,
53
- Plugin: () => Plugin45,
54
- ShellTool: () => exports_shell2,
55
- name: () => name9
52
+ Input: () => Input2,
53
+ Plugin: () => Plugin18,
54
+ ShellTool: () => exports_shell,
55
+ name: () => name2
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
59
  import { shellParserWasm } from "#shell-parser-wasm";
60
- var name9 = "shell";
60
+ var name2 = "shell";
61
61
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
62
62
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
63
63
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -71,7 +71,7 @@ var description = (shell) => [
71
71
  "Commands accept an optional timeout, background commands have no timeout by default.",
72
72
  "Background commands return immediately, and you will be notified when they complete."
73
73
  ].join(" ");
74
- var Input9 = Schema.Struct({
74
+ var Input2 = Schema.Struct({
75
75
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
76
76
  workdir: Schema.optionalKey(Schema.String).annotate({
77
77
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -117,19 +117,19 @@ Output is streaming to: ${file}`,
117
117
  truncated: false,
118
118
  status: "running"
119
119
  });
120
- var Plugin45 = {
120
+ var Plugin18 = {
121
121
  id: "opencode.tool.shell",
122
122
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
123
- const sessions = yield* Service21;
124
- const jobs = yield* Service61;
123
+ const sessions = yield* Service16;
124
+ const jobs = yield* Service80;
125
125
  const scope = yield* Scope.Scope;
126
- const environment = yield* Service75;
127
- const access = yield* Service19;
128
- const shell = yield* Service50;
129
- const shellSelect = yield* Service52;
126
+ const environment = yield* Service51;
127
+ const access = yield* Service49;
128
+ const shell = yield* Service30;
129
+ const shellSelect = yield* Service44;
130
130
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
131
- const permission = yield* Service62;
132
- const config = yield* Service67;
131
+ const permission = yield* Service75;
132
+ const config = yield* Service64;
133
133
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
134
134
  const source = {
135
135
  type: "tool",
@@ -140,7 +140,7 @@ var Plugin45 = {
140
140
  invocation.cwd = target.absolute;
141
141
  const timeout = invocation.timeout;
142
142
  const portable = latest2(yield* config.entries(), "experimental")?.portable_shell_scanner ?? (shellParserWasm.bash === "" || ctx.app.channel === "local" || ctx.app.channel === "dev");
143
- const parsed = yield* scan3(invocation.command, invocation.shell, target.absolute, { portable });
143
+ const parsed = yield* scan2(invocation.command, invocation.shell, target.absolute, { portable });
144
144
  const directories = yield* Effect.forEach(parsed.directories, (directory) => access.resolve({
145
145
  path: resolvePath2(target.absolute, directory),
146
146
  kind: "directory"
@@ -148,7 +148,7 @@ var Plugin45 = {
148
148
  yield* access.authorizeExternal([target, ...directories], context);
149
149
  if (parsed.commands.length > 0)
150
150
  yield* permission.assert({
151
- action: name9,
151
+ action: name2,
152
152
  resources: parsed.commands.map((command) => command.resource),
153
153
  save: parsed.commands.map((command) => command.save),
154
154
  sessionID: context.sessionID,
@@ -185,10 +185,10 @@ var Plugin45 = {
185
185
  yield* jobs.completeBackground(info.notificationID);
186
186
  }, Effect.forkIn(scope, { startImmediately: true }));
187
187
  yield* ctx.tool.transform((editor) => editor.add({
188
- name: name9,
188
+ name: name2,
189
189
  options: { codemode: false },
190
190
  description: description(),
191
- input: Input9,
191
+ input: Input2,
192
192
  output: Output,
193
193
  execute: (input, context) => Effect.gen(function* () {
194
194
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -211,7 +211,7 @@ var Plugin45 = {
211
211
  const run = Effect.gen(function* () {
212
212
  const result = yield* shell.result(info);
213
213
  if (!result.capture)
214
- return yield* new NotFoundError7({ id: info.id });
214
+ return yield* new NotFoundError3({ id: info.id });
215
215
  const output = output2(result);
216
216
  return {
217
217
  ...output,
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
225
225
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
226
226
  const job = yield* jobs.start({
227
227
  id: info.id,
228
- type: name9,
228
+ type: name2,
229
229
  title: info.command,
230
230
  metadata: { sessionID: context.sessionID, shellID: info.id },
231
231
  recovery: {
@@ -255,7 +255,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
255
255
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
256
256
  })).pipe(Effect.orDie);
257
257
  const hook = (event) => Effect.gen(function* () {
258
- const tool = event.tools[name9];
258
+ const tool = event.tools[name2];
259
259
  if (!tool)
260
260
  return;
261
261
  tool.description = description(name16(yield* compatibleShell));
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
266
266
  })
267
267
  };
268
268
 
269
- export { name9, DEFAULT_TIMEOUT_MS2, Input9, Plugin45, exports_shell2 };
269
+ export { name2, DEFAULT_TIMEOUT_MS2, Input2, Plugin18, exports_shell };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  __export
3
- } from "./command-9rqn6x4v.js";
3
+ } from "./model-9rqn6x4v.js";
4
4
 
5
5
  // src/workspace/driver.ts
6
6
  var exports_driver = {};
7
7
  __export(exports_driver, {
8
8
  Binding: () => Binding2,
9
- Error: () => Error5,
9
+ Error: () => Error4,
10
10
  ProviderNotFound: () => ProviderNotFound2,
11
11
  RegistryService: () => RegistryService2,
12
12
  WorkspaceDriver: () => exports_driver,
13
- make: () => make21,
14
- node: () => node80,
13
+ make: () => make17,
14
+ node: () => node57,
15
15
  registry: () => registry2,
16
16
  registryNode: () => registryNode2
17
17
  });
@@ -19,7 +19,7 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
19
19
  import { Context, Effect, Layer, Schema } from "effect";
20
20
  var Binding2 = Schema.Record(Schema.String, Schema.Json);
21
21
 
22
- class Error5 extends Schema.TaggedError()("WorkspaceDriver.Error", {
22
+ class Error4 extends Schema.TaggedError()("WorkspaceDriver.Error", {
23
23
  message: Schema.optional(Schema.String),
24
24
  cause: Schema.optional(Schema.Defect())
25
25
  }) {
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
29
29
  provider: Schema.String
30
30
  }) {
31
31
  }
32
- var make21 = (driver) => driver;
32
+ var make17 = (driver) => driver;
33
33
 
34
34
  class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
35
35
  }
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
44
44
  layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
45
45
  deps: []
46
46
  });
47
- var node80 = registryNode2({});
47
+ var node57 = registryNode2({});
48
48
 
49
- export { Binding2, Error5, ProviderNotFound2, make21, RegistryService2, registry2, registryNode2, node80, exports_driver };
49
+ export { Binding2, Error4, ProviderNotFound2, make17, RegistryService2, registry2, registryNode2, node57, exports_driver };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./command-9rqn6x4v.js";
3
+ } from "./model-9rqn6x4v.js";
4
4
 
5
5
  // src/state.ts
6
6
  var exports_state = {};