@opencode/core 0.0.0-dev-20625 → 0.0.0-dev-20626

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 (779) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{workspace-4bf12bpw.js → generate-00sy09sd.js} +5 -5
  8. package/dist/chunks/{workspace-qc4y4x1d.js → generate-02eysref.js} +24 -24
  9. package/dist/chunks/{workspace-nqsd8asp.js → generate-05zs1rdk.js} +43 -43
  10. package/dist/chunks/{workspace-0gh43fvp.js → generate-06v9ekkj.js} +30 -30
  11. package/dist/chunks/{workspace-86km67cx.js → generate-0atswpmv.js} +9 -9
  12. package/dist/chunks/{workspace-6ygyve09.js → generate-0d9njzvw.js} +28 -28
  13. package/dist/chunks/{workspace-0vbcp93d.js → generate-0emb60td.js} +2 -2
  14. package/dist/chunks/{workspace-0paq2nw3.js → generate-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{workspace-49494kth.js → generate-0w5dnmke.js} +16 -16
  16. package/dist/chunks/{workspace-b3vk0wha.js → generate-0y0gsn1j.js} +3 -3
  17. package/dist/chunks/{workspace-g6cj2pz3.js → generate-12cb56mc.js} +3 -3
  18. package/dist/chunks/{workspace-p1f7zze4.js → generate-14abpv5c.js} +20 -20
  19. package/dist/chunks/{workspace-vgfxpara.js → generate-14fzmqmc.js} +88 -88
  20. package/dist/chunks/{workspace-axs6pdy0.js → generate-150yg2gd.js} +5 -5
  21. package/dist/chunks/{workspace-r8xr0va3.js → generate-1acjjqhc.js} +4 -4
  22. package/dist/chunks/{workspace-xh51jhwy.js → generate-1d5w9k4w.js} +21 -21
  23. package/dist/chunks/{workspace-1dazxqgg.js → generate-1dazxqgg.js} +2 -2
  24. package/dist/chunks/{workspace-km0c42ps.js → generate-1dz71ged.js} +11 -11
  25. package/dist/chunks/{workspace-g762atc6.js → generate-1nzh38e4.js} +9 -9
  26. package/dist/chunks/generate-1x11rq2a.js +18 -0
  27. package/dist/chunks/{workspace-2a5m3afh.js → generate-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{workspace-nex76z7d.js → generate-2ar21jkq.js} +15 -15
  29. package/dist/chunks/{workspace-rvf0m9x6.js → generate-2eegacq4.js} +8 -8
  30. package/dist/chunks/{workspace-gamkna2f.js → generate-2r6fqtjg.js} +34 -34
  31. package/dist/chunks/{workspace-sgcq822w.js → generate-2wrchah9.js} +5 -5
  32. package/dist/chunks/{workspace-cscmnd2v.js → generate-2z4yerbz.js} +8 -8
  33. package/dist/chunks/{workspace-56gdpj1q.js → generate-33w4ejhs.js} +6 -6
  34. package/dist/chunks/{workspace-86mjrc9q.js → generate-37ycehja.js} +69 -69
  35. package/dist/chunks/{workspace-vaxgn10g.js → generate-39m96q4s.js} +23 -23
  36. package/dist/chunks/{workspace-3cegwx68.js → generate-3cegwx68.js} +2 -2
  37. package/dist/chunks/{workspace-s6rbynpa.js → generate-3d08qa2y.js} +5 -5
  38. package/dist/chunks/{workspace-3fc6dm20.js → generate-3fc6dm20.js} +1 -1
  39. package/dist/chunks/{workspace-3hepkmqq.js → generate-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{workspace-3qny4s1r.js → generate-3ngkpncc.js} +13 -13
  41. package/dist/chunks/{workspace-3smtnn6g.js → generate-3smtnn6g.js} +1 -1
  42. package/dist/chunks/{workspace-3tvqynh2.js → generate-3tvqynh2.js} +1 -1
  43. package/dist/chunks/{workspace-3zsf4n22.js → generate-3zsf4n22.js} +1 -1
  44. package/dist/chunks/{workspace-w8jg2tm8.js → generate-4daej8pc.js} +39 -39
  45. package/dist/chunks/{workspace-k3sn4jay.js → generate-4eq8w0dz.js} +4 -4
  46. package/dist/chunks/{workspace-atytsmf1.js → generate-4jyvzrab.js} +9 -9
  47. package/dist/chunks/{workspace-0cnpbvek.js → generate-4n6xr198.js} +17 -17
  48. package/dist/chunks/{workspace-ca6v8khj.js → generate-4nfqhbwv.js} +321 -321
  49. package/dist/chunks/{workspace-a3zzg5mb.js → generate-4ptgc4ev.js} +33 -33
  50. package/dist/chunks/{workspace-zrbek4sy.js → generate-4t46r8n6.js} +4 -4
  51. package/dist/chunks/{workspace-4ts7tf6z.js → generate-4ts7tf6z.js} +2 -2
  52. package/dist/chunks/{workspace-t13mbkgb.js → generate-4yj6yfek.js} +21 -21
  53. package/dist/chunks/{workspace-a8bn8zg0.js → generate-50mzsvk4.js} +4 -4
  54. package/dist/chunks/{workspace-jdzksevj.js → generate-53m1k2p4.js} +10 -10
  55. package/dist/chunks/{workspace-54ma36ye.js → generate-54ma36ye.js} +1 -1
  56. package/dist/chunks/{workspace-37gg4rjc.js → generate-55pxd67v.js} +8 -8
  57. package/dist/chunks/{workspace-5daktx2q.js → generate-5daktx2q.js} +1 -1
  58. package/dist/chunks/{workspace-5m9w47nd.js → generate-5m9w47nd.js} +1 -1
  59. package/dist/chunks/{workspace-r9htttdr.js → generate-5pmw3n0c.js} +13 -13
  60. package/dist/chunks/{workspace-5t3nmthw.js → generate-5t3nmthw.js} +2 -2
  61. package/dist/chunks/{workspace-mbnxefga.js → generate-63db42yp.js} +2 -2
  62. package/dist/chunks/{workspace-emx6shzs.js → generate-66raja0a.js} +25 -25
  63. package/dist/chunks/{workspace-2kapx5s0.js → generate-67aj8cse.js} +21 -21
  64. package/dist/chunks/{workspace-sb1pzkvh.js → generate-69t9n7ne.js} +16 -16
  65. package/dist/chunks/{workspace-jvddzxac.js → generate-6eb68wz8.js} +19 -19
  66. package/dist/chunks/{workspace-y2tx55zg.js → generate-6exvrca4.js} +5 -5
  67. package/dist/chunks/{workspace-1v8896a1.js → generate-6m56d8a0.js} +8 -8
  68. package/dist/chunks/{workspace-6xb47vfp.js → generate-6xb47vfp.js} +1 -1
  69. package/dist/chunks/{workspace-mvfsc1pv.js → generate-73tb2d7t.js} +3 -3
  70. package/dist/chunks/{workspace-rksdhb0n.js → generate-757h9dgg.js} +15 -15
  71. package/dist/chunks/{workspace-7bmhse3q.js → generate-7bmhse3q.js} +1 -1
  72. package/dist/chunks/{workspace-4ctbs581.js → generate-7gw9h0sc.js} +18 -18
  73. package/dist/chunks/{workspace-d2ffjrg3.js → generate-7nhmw1yp.js} +7 -7
  74. package/dist/chunks/{workspace-hd75z5fa.js → generate-7xypvt1j.js} +16 -16
  75. package/dist/chunks/{workspace-rrn10n85.js → generate-84532k20.js} +10 -10
  76. package/dist/chunks/{workspace-84h8c373.js → generate-84h8c373.js} +2 -2
  77. package/dist/chunks/{workspace-84txncab.js → generate-84txncab.js} +1 -1
  78. package/dist/chunks/{workspace-58twkbn2.js → generate-8703qa3s.js} +15 -15
  79. package/dist/chunks/{workspace-vrpz8t5t.js → generate-89vjf07m.js} +5 -5
  80. package/dist/chunks/{workspace-mh5wyt4r.js → generate-8cf4ch7y.js} +11 -11
  81. package/dist/chunks/{workspace-8d7r5vzw.js → generate-8d7r5vzw.js} +1 -1
  82. package/dist/chunks/{workspace-kaq877jq.js → generate-8sxy8sy5.js} +15 -15
  83. package/dist/chunks/{workspace-2g06r5p1.js → generate-91tetnyh.js} +17 -17
  84. package/dist/chunks/{workspace-ap1jses2.js → generate-9fnn15g3.js} +20 -20
  85. package/dist/chunks/{workspace-p2wa0wpq.js → generate-9zk0kc6f.js} +33 -33
  86. package/dist/chunks/generate-a9jymq3x.js +253 -0
  87. package/dist/chunks/{workspace-q1v6wmhm.js → generate-a9p6p6nr.js} +10 -10
  88. package/dist/chunks/{workspace-aaet6srn.js → generate-aaet6srn.js} +2 -2
  89. package/dist/chunks/{workspace-aaqcndx2.js → generate-af30chde.js} +45 -45
  90. package/dist/chunks/{workspace-kn0kwb9r.js → generate-anc9qwd0.js} +20 -20
  91. package/dist/chunks/{workspace-kpv8xpp3.js → generate-apddja33.js} +28 -28
  92. package/dist/chunks/{workspace-jktqzjpa.js → generate-b4twkq7r.js} +4 -4
  93. package/dist/chunks/{workspace-b6gygkdw.js → generate-b6gygkdw.js} +2 -2
  94. package/dist/chunks/{workspace-nvdeaskg.js → generate-b7cm6t9c.js} +26 -26
  95. package/dist/chunks/{workspace-v9t2f4tw.js → generate-b9m1sfvm.js} +22 -22
  96. package/dist/chunks/{workspace-8z7vm853.js → generate-bk53ycjv.js} +12 -12
  97. package/dist/chunks/{workspace-1acz6075.js → generate-br69n3tb.js} +13 -13
  98. package/dist/chunks/{workspace-bq7qaacb.js → generate-bt178j64.js} +37 -37
  99. package/dist/chunks/{workspace-bgnv3g07.js → generate-c68ggjv5.js} +19 -19
  100. package/dist/chunks/{workspace-6kkym95p.js → generate-cb5y8w29.js} +175 -175
  101. package/dist/chunks/{workspace-ckn890ey.js → generate-ce0tw18p.js} +32 -32
  102. package/dist/chunks/{workspace-7e820gef.js → generate-chz0abdh.js} +30 -30
  103. package/dist/chunks/{workspace-r01t9b5y.js → generate-cjwramev.js} +4 -4
  104. package/dist/chunks/{workspace-5xtgfte3.js → generate-cmwkp3r5.js} +8 -8
  105. package/dist/chunks/{workspace-6qpyh92k.js → generate-cqjm0j5h.js} +17 -17
  106. package/dist/chunks/{workspace-qj3j2ed4.js → generate-crx1hh5h.js} +18 -18
  107. package/dist/chunks/{workspace-cwa6csj7.js → generate-cwa6csj7.js} +2 -2
  108. package/dist/chunks/{workspace-mhnyy3p3.js → generate-d04ep358.js} +11 -11
  109. package/dist/chunks/{workspace-h2txwa5e.js → generate-d6f20yqx.js} +9 -9
  110. package/dist/chunks/{workspace-hfr420wr.js → generate-d7yzhwrd.js} +30 -30
  111. package/dist/chunks/{workspace-e2h0q4a9.js → generate-d8p7yyc7.js} +8 -8
  112. package/dist/chunks/{workspace-wqzz8241.js → generate-dbztx8wp.js} +23 -23
  113. package/dist/chunks/{workspace-71tv947p.js → generate-dd44dnrs.js} +15 -15
  114. package/dist/chunks/{workspace-xcjenepd.js → generate-deg546m4.js} +37 -37
  115. package/dist/chunks/{workspace-y2bx8ks4.js → generate-dn6ztdfq.js} +23 -23
  116. package/dist/chunks/{workspace-7w38sh68.js → generate-e1vzx0s7.js} +22 -22
  117. package/dist/chunks/{workspace-8gm8r8mn.js → generate-e3sn89yk.js} +17 -17
  118. package/dist/chunks/{workspace-7naznwf1.js → generate-e47yjvcb.js} +3 -3
  119. package/dist/chunks/{workspace-x07w92bc.js → generate-e68b0gvs.js} +6 -6
  120. package/dist/chunks/{workspace-qhjkx6qf.js → generate-e9a6z8qn.js} +22 -22
  121. package/dist/chunks/{workspace-ef5x83kb.js → generate-ef5x83kb.js} +1 -1
  122. package/dist/chunks/{workspace-5t0mhk5g.js → generate-efb4ct6v.js} +5 -5
  123. package/dist/chunks/{workspace-cqqer672.js → generate-en16kr9h.js} +17 -17
  124. package/dist/chunks/{workspace-etq0c3wd.js → generate-etq0c3wd.js} +1 -1
  125. package/dist/chunks/{workspace-w39jehkq.js → generate-ezk2k2nc.js} +5 -5
  126. package/dist/chunks/{workspace-57nggxpn.js → generate-f6dd175t.js} +36 -36
  127. package/dist/chunks/{workspace-f75zav2x.js → generate-f75zav2x.js} +2 -2
  128. package/dist/chunks/{workspace-heymn33v.js → generate-f7w5vbe4.js} +13 -13
  129. package/dist/chunks/{workspace-e107jb5k.js → generate-fcjdzzvk.js} +2 -2
  130. package/dist/chunks/{workspace-24738xn5.js → generate-fctq5jg8.js} +12 -12
  131. package/dist/chunks/{workspace-pghsmdqn.js → generate-ftha1bk5.js} +4 -4
  132. package/dist/chunks/{workspace-6n6n0wbe.js → generate-ftp5qn6j.js} +19 -19
  133. package/dist/chunks/{workspace-bvvmdrd3.js → generate-g2v7xwm2.js} +19 -19
  134. package/dist/chunks/{workspace-w19d8598.js → generate-g5w8qwbj.js} +7 -7
  135. package/dist/chunks/{workspace-077cgkzg.js → generate-g8ncx2kw.js} +23 -23
  136. package/dist/chunks/{workspace-tdx4y9zn.js → generate-gc8gxt55.js} +11 -11
  137. package/dist/chunks/{workspace-gd4qta3r.js → generate-gd4qta3r.js} +1 -1
  138. package/dist/chunks/{workspace-0k0tdk4v.js → generate-gttcx4jr.js} +20 -20
  139. package/dist/chunks/{workspace-bv2qvk3v.js → generate-gw6mp5xk.js} +48 -48
  140. package/dist/chunks/{workspace-3sj8yt8v.js → generate-gw7cjrad.js} +4 -4
  141. package/dist/chunks/{workspace-vhvtqta5.js → generate-h0czhsa2.js} +6 -6
  142. package/dist/chunks/{workspace-x2bhny64.js → generate-h14td4ya.js} +9 -9
  143. package/dist/chunks/{workspace-9jq6257y.js → generate-h4nv5sjw.js} +27 -27
  144. package/dist/chunks/{workspace-5xvy2j9s.js → generate-h50xep47.js} +15 -15
  145. package/dist/chunks/{workspace-h6vf3j39.js → generate-h6vf3j39.js} +1 -1
  146. package/dist/chunks/{workspace-hp2fw5k6.js → generate-hawpggyh.js} +27 -27
  147. package/dist/chunks/{workspace-9rebvyz3.js → generate-hb9ek847.js} +1 -1
  148. package/dist/chunks/{workspace-4jcpse7m.js → generate-hg2kdwy2.js} +20 -20
  149. package/dist/chunks/{workspace-fte4edzz.js → generate-hjypyshd.js} +10 -10
  150. package/dist/chunks/{workspace-94yy4jsn.js → generate-htyjbh6h.js} +4 -4
  151. package/dist/chunks/{workspace-74f6ffmn.js → generate-hvdpr3cg.js} +55 -55
  152. package/dist/chunks/{workspace-x3gqap9d.js → generate-j34bs4nz.js} +4 -4
  153. package/dist/chunks/{workspace-j56e64zr.js → generate-j56e64zr.js} +1 -1
  154. package/dist/chunks/{workspace-07w59vex.js → generate-j5w2yx54.js} +6 -6
  155. package/dist/chunks/{workspace-nfj32nd6.js → generate-j8s7qtnq.js} +9 -9
  156. package/dist/chunks/{workspace-h4ckqw4f.js → generate-jp3y83b8.js} +8 -8
  157. package/dist/chunks/{workspace-tqrjxmaf.js → generate-jpvwx58z.js} +8 -8
  158. package/dist/chunks/{workspace-1fhw6qp6.js → generate-jt0fm9hz.js} +32 -32
  159. package/dist/chunks/{workspace-gr68n6sk.js → generate-jzgb4b60.js} +7 -7
  160. package/dist/chunks/{workspace-h275bwc7.js → generate-k1qrnqst.js} +8 -8
  161. package/dist/chunks/{workspace-kb9j3d72.js → generate-kb9j3d72.js} +3 -3
  162. package/dist/chunks/{workspace-hns92ys1.js → generate-kctcsxwr.js} +10 -10
  163. package/dist/chunks/{workspace-35vpxd0z.js → generate-kskmmsb8.js} +7 -7
  164. package/dist/chunks/{workspace-vjthrvv1.js → generate-ktqh6cjn.js} +14 -14
  165. package/dist/chunks/{workspace-ty9zft9p.js → generate-kv7xr5tr.js} +20 -20
  166. package/dist/chunks/{workspace-m3fdjcah.js → generate-m3fdjcah.js} +1 -1
  167. package/dist/chunks/{workspace-ckf8nxjz.js → generate-m70sbz6t.js} +4 -4
  168. package/dist/chunks/{workspace-m9w0rfyh.js → generate-m9w0rfyh.js} +1 -1
  169. package/dist/chunks/{workspace-yvmkmgn5.js → generate-md4xem4j.js} +23 -23
  170. package/dist/chunks/{workspace-kgzx153c.js → generate-me39y7pc.js} +3 -3
  171. package/dist/chunks/{workspace-k569he40.js → generate-mgkc0wjh.js} +7 -7
  172. package/dist/chunks/{workspace-8fkq3ra9.js → generate-mjgszf3v.js} +16 -16
  173. package/dist/chunks/{workspace-2d4jh34x.js → generate-mxg6t4px.js} +11 -11
  174. package/dist/chunks/{workspace-5ct8ze0w.js → generate-myd4zn31.js} +11 -11
  175. package/dist/chunks/{workspace-k471ddga.js → generate-n7mkwqhg.js} +47 -47
  176. package/dist/chunks/{workspace-6b43n2qe.js → generate-ncp0w3v9.js} +24 -24
  177. package/dist/chunks/{workspace-bt43sfkk.js → generate-ndtjpakn.js} +17 -17
  178. package/dist/chunks/{workspace-ejgp49jg.js → generate-nnf0xkcj.js} +20 -20
  179. package/dist/chunks/{workspace-g79x7y0t.js → generate-ns4c26md.js} +11 -11
  180. package/dist/chunks/{workspace-xa1y625z.js → generate-nt476c1e.js} +20 -20
  181. package/dist/chunks/{workspace-0dygnakk.js → generate-ntd1qsse.js} +4 -4
  182. package/dist/chunks/{workspace-nxm207yx.js → generate-nxm207yx.js} +1 -1
  183. package/dist/chunks/{workspace-0zm4vsbv.js → generate-p2jra9s9.js} +21 -21
  184. package/dist/chunks/{workspace-caf87exy.js → generate-p5cn45b4.js} +32 -32
  185. package/dist/chunks/{workspace-g38n4cbf.js → generate-paqgmmpc.js} +11 -11
  186. package/dist/chunks/{workspace-rd8yy9nb.js → generate-pc1a30g8.js} +86 -86
  187. package/dist/chunks/{workspace-bx0gyb4h.js → generate-pcj7teyq.js} +5 -5
  188. package/dist/chunks/{workspace-pjvnvgmy.js → generate-pjvnvgmy.js} +1 -1
  189. package/dist/chunks/{workspace-pknna89w.js → generate-pknna89w.js} +1 -1
  190. package/dist/chunks/{workspace-sfvft427.js → generate-pm693qae.js} +13 -13
  191. package/dist/chunks/{workspace-v2fwckm2.js → generate-pm8xe67t.js} +15 -15
  192. package/dist/chunks/{workspace-mq716n2q.js → generate-pp2j6nz2.js} +18 -18
  193. package/dist/chunks/{workspace-k30vhdc4.js → generate-pqj23b0q.js} +30 -30
  194. package/dist/chunks/{workspace-msr7hntd.js → generate-pyqd4v2t.js} +4 -4
  195. package/dist/chunks/{workspace-q0xm7vwc.js → generate-q0xm7vwc.js} +2 -2
  196. package/dist/chunks/{workspace-t3039at6.js → generate-q122b658.js} +29 -29
  197. package/dist/chunks/{workspace-se3n8wcd.js → generate-qdhbz2ew.js} +20 -20
  198. package/dist/chunks/{workspace-0jwsre1p.js → generate-qgn6gcr1.js} +5 -5
  199. package/dist/chunks/{workspace-pbp90nbc.js → generate-qn8ykj5w.js} +30 -30
  200. package/dist/chunks/{workspace-qnc92qwc.js → generate-qnc92qwc.js} +1 -1
  201. package/dist/chunks/{workspace-qsdy395h.js → generate-qsdy395h.js} +1 -1
  202. package/dist/chunks/{workspace-efbajcyc.js → generate-qxhjmwpc.js} +36 -36
  203. package/dist/chunks/{workspace-xyafkbt0.js → generate-qxjc9qry.js} +3 -3
  204. package/dist/chunks/{workspace-grtn0enx.js → generate-qycmr1fg.js} +4 -4
  205. package/dist/chunks/{workspace-2eaaba8k.js → generate-r93b7zqt.js} +26 -26
  206. package/dist/chunks/{workspace-b61vcdbg.js → generate-rav032ka.js} +9 -9
  207. package/dist/chunks/{workspace-2cabk1b6.js → generate-rcpb5p8s.js} +14 -14
  208. package/dist/chunks/{workspace-rdw6cm16.js → generate-rdw6cm16.js} +1 -1
  209. package/dist/chunks/{workspace-z0cec5bd.js → generate-rgxvve62.js} +14 -14
  210. package/dist/chunks/{workspace-08t9thee.js → generate-rhvrjctg.js} +5 -5
  211. package/dist/chunks/{workspace-t1fjxj08.js → generate-rn3rbabn.js} +15 -15
  212. package/dist/chunks/{workspace-f7gr38pv.js → generate-rtezw65p.js} +5 -5
  213. package/dist/chunks/{workspace-kzykqk6j.js → generate-s32c0mq7.js} +17 -17
  214. package/dist/chunks/{workspace-5gjk7y31.js → generate-s83c18hn.js} +4 -4
  215. package/dist/chunks/{workspace-hqf62ytx.js → generate-sa1wksxx.js} +5 -5
  216. package/dist/chunks/{workspace-zyk1yjk8.js → generate-scgrse2b.js} +5 -5
  217. package/dist/chunks/{workspace-aw1g0m68.js → generate-sdg5j0gr.js} +3 -3
  218. package/dist/chunks/{workspace-7504msxf.js → generate-shaj6nsr.js} +22 -22
  219. package/dist/chunks/{workspace-30ak4e5k.js → generate-skcnbf3c.js} +8 -8
  220. package/dist/chunks/{workspace-cvgbrmvq.js → generate-sm7h3s2a.js} +35 -35
  221. package/dist/chunks/{workspace-dwnnjgz6.js → generate-sn70zx0f.js} +45 -45
  222. package/dist/chunks/{workspace-rrt0a0ha.js → generate-ss358qx3.js} +3 -3
  223. package/dist/chunks/{workspace-kprvgbka.js → generate-stqch5en.js} +3 -3
  224. package/dist/chunks/{workspace-56hrvcw3.js → generate-t24wgfq5.js} +53 -53
  225. package/dist/chunks/{workspace-t2fc4mz5.js → generate-t2fc4mz5.js} +1 -1
  226. package/dist/chunks/{workspace-r3p59fwg.js → generate-t60q4fa6.js} +4 -4
  227. package/dist/chunks/{workspace-qvb3nf84.js → generate-t89fqycx.js} +8 -8
  228. package/dist/chunks/{workspace-tazgh4e4.js → generate-tazgh4e4.js} +1 -1
  229. package/dist/chunks/{workspace-tcezcvh9.js → generate-tcezcvh9.js} +1 -1
  230. package/dist/chunks/{workspace-tdstcens.js → generate-tdstcens.js} +1 -1
  231. package/dist/chunks/{workspace-z28g1vpv.js → generate-tk6ram5b.js} +32 -32
  232. package/dist/chunks/{workspace-s76r9yk2.js → generate-v04zxm1e.js} +13 -13
  233. package/dist/chunks/{workspace-6j68t7ds.js → generate-v8crwhsy.js} +1 -1
  234. package/dist/chunks/{workspace-veqvce7d.js → generate-veqvce7d.js} +1 -1
  235. package/dist/chunks/{workspace-8p3g3wy0.js → generate-vmbkc7t9.js} +11 -11
  236. package/dist/chunks/{workspace-bx4w3v62.js → generate-vpfh5m6n.js} +44 -44
  237. package/dist/chunks/{workspace-bacyadyn.js → generate-vycw7md4.js} +4 -4
  238. package/dist/chunks/{workspace-m6f5ap24.js → generate-vyq6m5zj.js} +17 -17
  239. package/dist/chunks/{workspace-vzs5sf6e.js → generate-vzs5sf6e.js} +1 -1
  240. package/dist/chunks/generate-w2505z9s.js +26 -0
  241. package/dist/chunks/{workspace-qagmmt9n.js → generate-w3s43czq.js} +35 -35
  242. package/dist/chunks/{workspace-w3wsvvr9.js → generate-w3wsvvr9.js} +1 -1
  243. package/dist/chunks/{workspace-3wfp78gc.js → generate-w59cqdta.js} +6 -6
  244. package/dist/chunks/{workspace-cg7s6gpq.js → generate-w6r6e2t1.js} +30 -30
  245. package/dist/chunks/{workspace-e3gcztwa.js → generate-w9xa6jft.js} +32 -32
  246. package/dist/chunks/{workspace-wd87259q.js → generate-wd87259q.js} +1 -1
  247. package/dist/chunks/{workspace-rfmnp9jb.js → generate-wdkjs4sn.js} +4 -4
  248. package/dist/chunks/{workspace-qx4ps3zc.js → generate-wek9mqa7.js} +20 -20
  249. package/dist/chunks/{workspace-16m64twp.js → generate-wen6mwdk.js} +19 -19
  250. package/dist/chunks/{workspace-3d5pf0rw.js → generate-wj7r9zev.js} +11 -11
  251. package/dist/chunks/{workspace-pqnryrb4.js → generate-wm6dyqg8.js} +9 -9
  252. package/dist/chunks/{workspace-8a6ws7jr.js → generate-wmz9gz0a.js} +9 -9
  253. package/dist/chunks/{workspace-1d4zkfab.js → generate-wtskapw1.js} +40 -40
  254. package/dist/chunks/{workspace-rhjbct0v.js → generate-wv396vej.js} +8 -8
  255. package/dist/chunks/{workspace-n2thn3nx.js → generate-wxyynt4w.js} +1 -1
  256. package/dist/chunks/{workspace-1e10y0rh.js → generate-x2r6qgb2.js} +11 -11
  257. package/dist/chunks/{workspace-desgj5fn.js → generate-x5x2shfn.js} +22 -22
  258. package/dist/chunks/{workspace-f6626pn0.js → generate-xc7geeyn.js} +14 -14
  259. package/dist/chunks/{workspace-v0es1rhs.js → generate-xecxzrdp.js} +2 -2
  260. package/dist/chunks/{workspace-kt4j6m51.js → generate-xfzkycb1.js} +3 -3
  261. package/dist/chunks/{workspace-xkntkrq7.js → generate-xkntkrq7.js} +2 -2
  262. package/dist/chunks/{workspace-ywd8qmyg.js → generate-xm1mczqd.js} +1 -1
  263. package/dist/chunks/{workspace-8t5jjh5c.js → generate-xrhtfqv1.js} +11 -11
  264. package/dist/chunks/{workspace-hr5bc81f.js → generate-xtvvsfs4.js} +5 -5
  265. package/dist/chunks/{workspace-04792bgd.js → generate-y0h8bdjy.js} +11 -11
  266. package/dist/chunks/{workspace-smq3dd2v.js → generate-y0pxv80g.js} +36 -36
  267. package/dist/chunks/{workspace-easapccs.js → generate-y0ty5fha.js} +6 -6
  268. package/dist/chunks/{workspace-y1fvbwt7.js → generate-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{workspace-vbrdpthe.js → generate-y5dj3dxk.js} +6 -6
  270. package/dist/chunks/{workspace-9vprb1nh.js → generate-yeknwk6m.js} +12 -12
  271. package/dist/chunks/{workspace-bf3ep3zf.js → generate-yf954nqe.js} +15 -15
  272. package/dist/chunks/{workspace-c1ka28h1.js → generate-yks7agkx.js} +5 -5
  273. package/dist/chunks/{workspace-2jygvae8.js → generate-yszghjhd.js} +11 -11
  274. package/dist/chunks/{workspace-z0bkrqjs.js → generate-z0bkrqjs.js} +1 -1
  275. package/dist/chunks/{workspace-k2vb740h.js → generate-z9dqbzf9.js} +9 -9
  276. package/dist/chunks/{workspace-bjz294g4.js → generate-zawfarhf.js} +20 -20
  277. package/dist/chunks/{workspace-tdj9jt6q.js → generate-zc3qgdkd.js} +22 -22
  278. package/dist/chunks/{workspace-bj5ap212.js → generate-zf82b8f4.js} +51 -51
  279. package/dist/chunks/{workspace-hgnewnvf.js → generate-zh3bn5vc.js} +3 -3
  280. package/dist/chunks/{workspace-ewx9y0me.js → generate-zkz1dm36.js} +7 -7
  281. package/dist/chunks/{workspace-zr2ceqn5.js → generate-zr2ceqn5.js} +1 -1
  282. package/dist/chunks/{workspace-x661k3y3.js → generate-zw2hpfmh.js} +4 -4
  283. package/dist/chunks/{workspace-zxq2ej10.js → generate-zxq2ej10.js} +1 -1
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +9 -9
  286. package/dist/codemode/tool.js +3 -3
  287. package/dist/codemode/web.js +1 -1
  288. package/dist/command.js +83 -83
  289. package/dist/config/discovery.js +82 -82
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +99 -99
  292. package/dist/config/plugin/agent.js +118 -118
  293. package/dist/config/plugin/command.js +207 -207
  294. package/dist/config/plugin/compaction.js +154 -154
  295. package/dist/config/plugin/compatibility.js +134 -134
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +117 -117
  298. package/dist/config/plugin/image.js +116 -116
  299. package/dist/config/plugin/instruction.js +90 -90
  300. package/dist/config/plugin/location-watcher.js +118 -118
  301. package/dist/config/plugin/mcp.js +125 -125
  302. package/dist/config/plugin/policy.js +117 -117
  303. package/dist/config/plugin/provider.js +116 -116
  304. package/dist/config/plugin/reference.js +118 -118
  305. package/dist/config/plugin/shell.js +116 -116
  306. package/dist/config/plugin/skill-file.js +102 -102
  307. package/dist/config/plugin/skill.js +137 -137
  308. package/dist/config/plugin/snapshot.js +116 -116
  309. package/dist/config/plugin/source.js +119 -119
  310. package/dist/config/plugin/tool-output.js +117 -117
  311. package/dist/config/plugin/websearch.js +115 -115
  312. package/dist/config/plugin/worktree.js +118 -118
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +117 -117
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +85 -85
  318. package/dist/database/database.js +66 -66
  319. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  320. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +13 -13
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +14 -14
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  383. package/dist/database/migration.gen.js +49 -49
  384. package/dist/database/migration.js +51 -51
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +76 -76
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +363 -363
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +1 -1
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +93 -93
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +95 -95
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +70 -70
  408. package/dist/file-access.js +104 -104
  409. package/dist/file-mutation.js +94 -94
  410. package/dist/file-retention.js +1 -1
  411. package/dist/filesystem/fff.bun.js +2 -2
  412. package/dist/filesystem/fff.js +1 -1
  413. package/dist/filesystem/fff.node.js +2 -2
  414. package/dist/filesystem/fff.workerd.js +2 -2
  415. package/dist/filesystem/location-watcher-policy.js +2 -2
  416. package/dist/filesystem/location-watcher.js +220 -220
  417. package/dist/filesystem/protected.js +1 -1
  418. package/dist/filesystem/search.js +103 -103
  419. package/dist/filesystem/watcher-binding.js +1 -1
  420. package/dist/filesystem/watcher.js +13 -13
  421. package/dist/filesystem.js +104 -104
  422. package/dist/form.js +84 -84
  423. package/dist/formatter/builtins.js +4 -4
  424. package/dist/formatter.js +87 -87
  425. package/dist/generate.js +103 -103
  426. package/dist/git.js +10 -10
  427. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  428. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  429. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  430. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  431. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  433. package/dist/github-copilot/copilot-provider.js +17 -17
  434. package/dist/github-copilot/models.js +99 -99
  435. package/dist/github-copilot/openai-compatible-error.js +1 -1
  436. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  437. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  438. package/dist/github-copilot/responses/openai-error.js +1 -1
  439. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  440. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  441. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  442. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  443. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  444. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  446. package/dist/image/photon.js +2 -2
  447. package/dist/image.js +6 -6
  448. package/dist/instance/service.js +5 -5
  449. package/dist/instance.js +354 -354
  450. package/dist/instruction-discovery.js +85 -85
  451. package/dist/instructions/builtins.js +87 -87
  452. package/dist/instructions/index.js +5 -5
  453. package/dist/integration/connection.js +3 -3
  454. package/dist/integration.js +87 -87
  455. package/dist/job.js +76 -76
  456. package/dist/kv/sql.js +2 -2
  457. package/dist/kv.js +73 -73
  458. package/dist/location-activity.js +131 -131
  459. package/dist/location-lifecycle.js +107 -107
  460. package/dist/location-service-map.js +86 -86
  461. package/dist/location-services.js +351 -351
  462. package/dist/location.js +85 -85
  463. package/dist/managed-policy.js +5 -5
  464. package/dist/mcp/client.js +91 -91
  465. package/dist/mcp/index.js +109 -109
  466. package/dist/mcp/instructions.js +129 -129
  467. package/dist/mcp/oauth.js +78 -78
  468. package/dist/mcp/stdio.js +90 -90
  469. package/dist/mime.js +1 -1
  470. package/dist/modal/models.js +99 -99
  471. package/dist/model-resolver.js +98 -98
  472. package/dist/model.js +100 -100
  473. package/dist/models-dev.js +107 -107
  474. package/dist/oauth/page.js +1 -1
  475. package/dist/permission/saved.js +82 -82
  476. package/dist/permission/sql.js +5 -5
  477. package/dist/permission.js +113 -113
  478. package/dist/persistent-pty/binary.bun.js +1 -1
  479. package/dist/persistent-pty/daemon.js +1 -1
  480. package/dist/persistent-pty/index.js +84 -84
  481. package/dist/persistent-pty/pty-binding.js +1 -1
  482. package/dist/persistent-pty.js +75 -75
  483. package/dist/plugin/agent.js +104 -104
  484. package/dist/plugin/command.js +102 -102
  485. package/dist/plugin/hooks.js +5 -5
  486. package/dist/plugin/host.js +211 -211
  487. package/dist/plugin/identity.js +3 -3
  488. package/dist/plugin/instance.js +5 -5
  489. package/dist/plugin/internal.js +326 -326
  490. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  491. package/dist/plugin/models-dev.js +96 -96
  492. package/dist/plugin/module.js +7 -7
  493. package/dist/plugin/optimize.js +2 -2
  494. package/dist/plugin/plan.js +102 -102
  495. package/dist/plugin/promise.js +1 -1
  496. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  497. package/dist/plugin/provider/azure.js +117 -117
  498. package/dist/plugin/provider/cerebras.js +1 -1
  499. package/dist/plugin/provider/chatgpt.js +93 -93
  500. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  501. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  502. package/dist/plugin/provider/cohere.js +2 -2
  503. package/dist/plugin/provider/configured.js +112 -112
  504. package/dist/plugin/provider/digitalocean.js +93 -93
  505. package/dist/plugin/provider/dynamic.js +2 -2
  506. package/dist/plugin/provider/factory.js +1 -1
  507. package/dist/plugin/provider/github-copilot.js +95 -95
  508. package/dist/plugin/provider/gitlab.js +93 -93
  509. package/dist/plugin/provider/google-vertex.js +90 -90
  510. package/dist/plugin/provider/kilo.js +1 -1
  511. package/dist/plugin/provider/llmgateway.js +78 -78
  512. package/dist/plugin/provider/lmstudio.js +116 -116
  513. package/dist/plugin/provider/local.js +113 -113
  514. package/dist/plugin/provider/modal.js +92 -92
  515. package/dist/plugin/provider/nvidia.js +1 -1
  516. package/dist/plugin/provider/ollama.js +116 -116
  517. package/dist/plugin/provider/openai.js +93 -93
  518. package/dist/plugin/provider/opencode.js +96 -96
  519. package/dist/plugin/provider/openrouter.js +91 -91
  520. package/dist/plugin/provider/perplexity.js +2 -2
  521. package/dist/plugin/provider/poe.js +79 -79
  522. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  523. package/dist/plugin/provider/sap-ai-core.js +91 -91
  524. package/dist/plugin/provider/sdk-factory.js +1 -1
  525. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  526. package/dist/plugin/provider/vercel.js +90 -90
  527. package/dist/plugin/provider/vllm.js +114 -114
  528. package/dist/plugin/provider/xai.js +91 -91
  529. package/dist/plugin/provider/zenmux.js +1 -1
  530. package/dist/plugin/provider.js +155 -155
  531. package/dist/plugin/sdk.js +76 -76
  532. package/dist/plugin/service.js +3 -3
  533. package/dist/plugin/skill.js +134 -134
  534. package/dist/plugin/source-directory.js +1 -1
  535. package/dist/plugin/supervisor.js +343 -343
  536. package/dist/plugin/tool-input-repair.js +4 -4
  537. package/dist/plugin/update.js +6 -6
  538. package/dist/plugin/vcs/git.js +86 -86
  539. package/dist/plugin/vcs/hg.js +86 -86
  540. package/dist/plugin/verbosity.js +93 -93
  541. package/dist/plugin/warming.js +114 -114
  542. package/dist/plugin/websearch/exa.js +5 -5
  543. package/dist/plugin/websearch/firecrawl.js +8 -8
  544. package/dist/plugin/websearch/index.js +9 -9
  545. package/dist/plugin/websearch/mcp.js +4 -4
  546. package/dist/plugin/websearch/parallel.js +8 -8
  547. package/dist/plugin/websearch/tavily.js +6 -6
  548. package/dist/plugin/websearch/tinyfish.js +8 -8
  549. package/dist/plugin.js +218 -218
  550. package/dist/project/schema.js +2 -2
  551. package/dist/project/sql.js +4 -4
  552. package/dist/project.js +86 -86
  553. package/dist/provider.js +101 -101
  554. package/dist/pty/protocol.js +1 -1
  555. package/dist/pty/ticket.js +1 -1
  556. package/dist/pty.js +97 -97
  557. package/dist/reference/instructions.js +89 -89
  558. package/dist/reference.js +87 -87
  559. package/dist/repository-cache.js +81 -81
  560. package/dist/repository.js +1 -1
  561. package/dist/ripgrep/binary.js +2 -2
  562. package/dist/ripgrep.js +95 -95
  563. package/dist/rpc.js +86 -86
  564. package/dist/schema.js +1 -1
  565. package/dist/session/affinity.js +1 -1
  566. package/dist/session/command.js +74 -74
  567. package/dist/session/compaction.js +133 -133
  568. package/dist/session/context.js +153 -153
  569. package/dist/session/diff.js +88 -88
  570. package/dist/session/environment.js +5 -5
  571. package/dist/session/error.js +5 -5
  572. package/dist/session/event.js +1 -1
  573. package/dist/session/execution/restart.js +213 -213
  574. package/dist/session/execution.js +127 -127
  575. package/dist/session/generate.js +154 -154
  576. package/dist/session/history.js +13 -13
  577. package/dist/session/inbox.js +88 -88
  578. package/dist/session/info.js +3 -3
  579. package/dist/session/instruction-entry.js +79 -79
  580. package/dist/session/instruction-state.js +8 -8
  581. package/dist/session/instructions.js +97 -97
  582. package/dist/session/message-updater.js +2 -2
  583. package/dist/session/message.js +1 -1
  584. package/dist/session/model-request.js +120 -120
  585. package/dist/session/model-transport.js +9 -9
  586. package/dist/session/move.js +129 -129
  587. package/dist/session/projector.js +86 -86
  588. package/dist/session/prompt.js +105 -105
  589. package/dist/session/provider-context.js +3 -3
  590. package/dist/session/revert.js +90 -90
  591. package/dist/session/run-coordinator.js +3 -3
  592. package/dist/session/runner/index.js +3 -3
  593. package/dist/session/runner/llm.js +224 -224
  594. package/dist/session/runner/max-steps.js +1 -1
  595. package/dist/session/runner/model.js +98 -98
  596. package/dist/session/runner/publish-llm-event.js +113 -113
  597. package/dist/session/runner/retry.js +4 -4
  598. package/dist/session/runner/step.js +123 -123
  599. package/dist/session/runner/to-llm-message.js +2 -2
  600. package/dist/session/schema.js +5 -5
  601. package/dist/session/session.js +162 -162
  602. package/dist/session/shell.js +130 -130
  603. package/dist/session/skill.js +103 -103
  604. package/dist/session/sql.js +5 -5
  605. package/dist/session/stats.js +73 -73
  606. package/dist/session/store.js +87 -87
  607. package/dist/session/subagent-completion.js +1 -1
  608. package/dist/session/subagent-job.js +203 -203
  609. package/dist/session/system-prompt.js +5 -5
  610. package/dist/session/title.js +155 -155
  611. package/dist/session/to-session-error.js +111 -111
  612. package/dist/session/transfer.js +210 -210
  613. package/dist/session/usage.js +1 -1
  614. package/dist/session.js +213 -213
  615. package/dist/shell/parse.js +6 -6
  616. package/dist/shell/result.js +1 -1
  617. package/dist/shell/scan.js +1 -1
  618. package/dist/shell/select.js +7 -7
  619. package/dist/shell.js +132 -132
  620. package/dist/skill/discovery.js +6 -6
  621. package/dist/skill/instructions.js +105 -105
  622. package/dist/skill.js +106 -106
  623. package/dist/snapshot.js +93 -93
  624. package/dist/state.js +1 -1
  625. package/dist/tool/html-markdown.js +1 -1
  626. package/dist/tool/http-body.js +1 -1
  627. package/dist/tool/mcp.js +126 -126
  628. package/dist/tool/plugin/edit.js +120 -120
  629. package/dist/tool/plugin/file-diff.js +1 -1
  630. package/dist/tool/plugin/glob.js +124 -124
  631. package/dist/tool/plugin/grep.js +124 -124
  632. package/dist/tool/plugin/mcp-resource.js +117 -117
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +122 -122
  635. package/dist/tool/plugin/question.js +101 -101
  636. package/dist/tool/plugin/read.js +125 -125
  637. package/dist/tool/plugin/shell.js +208 -208
  638. package/dist/tool/plugin/skill.js +109 -109
  639. package/dist/tool/plugin/subagent.js +212 -212
  640. package/dist/tool/plugin/webfetch.js +110 -110
  641. package/dist/tool/plugin/websearch.js +112 -112
  642. package/dist/tool/plugin/write.js +122 -122
  643. package/dist/tool/read-filesystem.js +100 -100
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +7 -7
  646. package/dist/tool.js +12 -12
  647. package/dist/util/error-summary.js +1 -1
  648. package/dist/util/error.js +1 -1
  649. package/dist/util/git-executable.js +2 -2
  650. package/dist/util/iife.js +1 -1
  651. package/dist/util/lazy.js +1 -1
  652. package/dist/util/slug.js +1 -1
  653. package/dist/util/token.js +1 -1
  654. package/dist/util/which.js +1 -1
  655. package/dist/util/wildcard.js +1 -1
  656. package/dist/v1/config/agent.js +5 -5
  657. package/dist/v1/config/command.js +1 -1
  658. package/dist/v1/config/error.js +2 -2
  659. package/dist/v1/config/mcp.js +4 -4
  660. package/dist/v1/config/migrate.js +92 -92
  661. package/dist/v1/config/permission.js +3 -3
  662. package/dist/v1/config/plugin.js +3 -3
  663. package/dist/v1/config/provider-options.js +1 -1
  664. package/dist/v1/config/provider.js +4 -4
  665. package/dist/variant.js +93 -93
  666. package/dist/vcs/patch.js +1 -1
  667. package/dist/vcs.js +89 -89
  668. package/dist/websearch.js +82 -82
  669. package/dist/wellknown/plugin.js +76 -76
  670. package/dist/wellknown.js +81 -81
  671. package/dist/workspace/driver.js +3 -3
  672. package/dist/workspace/sql.js +1 -1
  673. package/dist/workspace.js +78 -78
  674. package/dist/worktree/directory.js +2 -2
  675. package/dist/worktree/git.js +8 -8
  676. package/dist/worktree/sql.js +5 -5
  677. package/dist/worktree/strategies.js +89 -89
  678. package/dist/worktree.js +96 -96
  679. package/package.json +8 -8
  680. package/dist/chunks/workspace-2qxg5hny.js +0 -253
  681. package/dist/chunks/workspace-619r8v3y.js +0 -18
  682. package/dist/chunks/workspace-j49cp3s0.js +0 -26
  683. /package/dist/chunks/{workspace-0qkdqm5v.js → generate-0qkdqm5v.js} +0 -0
  684. /package/dist/chunks/{workspace-0zkw76rk.js → generate-0zkw76rk.js} +0 -0
  685. /package/dist/chunks/{workspace-17cy0kzp.js → generate-17cy0kzp.js} +0 -0
  686. /package/dist/chunks/{workspace-1cnp2v09.js → generate-1cnp2v09.js} +0 -0
  687. /package/dist/chunks/{workspace-1kg9ymc8.js → generate-1kg9ymc8.js} +0 -0
  688. /package/dist/chunks/{workspace-24dcb14g.js → generate-24dcb14g.js} +0 -0
  689. /package/dist/chunks/{workspace-2710q6r3.js → generate-2710q6r3.js} +0 -0
  690. /package/dist/chunks/{workspace-2axfhc9x.js → generate-2axfhc9x.js} +0 -0
  691. /package/dist/chunks/{workspace-2c3vjs8z.js → generate-2c3vjs8z.js} +0 -0
  692. /package/dist/chunks/{workspace-34c7v6d4.js → generate-34c7v6d4.js} +0 -0
  693. /package/dist/chunks/{workspace-359p4xyc.js → generate-359p4xyc.js} +0 -0
  694. /package/dist/chunks/{workspace-3asan66x.js → generate-3asan66x.js} +0 -0
  695. /package/dist/chunks/{workspace-3t0ybcrp.js → generate-3t0ybcrp.js} +0 -0
  696. /package/dist/chunks/{workspace-3v8g72cx.js → generate-3v8g72cx.js} +0 -0
  697. /package/dist/chunks/{workspace-3w5fmr99.js → generate-3w5fmr99.js} +0 -0
  698. /package/dist/chunks/{workspace-3wcehsnq.js → generate-3wcehsnq.js} +0 -0
  699. /package/dist/chunks/{workspace-43n2bw4t.js → generate-43n2bw4t.js} +0 -0
  700. /package/dist/chunks/{workspace-4knz6hnm.js → generate-4knz6hnm.js} +0 -0
  701. /package/dist/chunks/{workspace-4vcrnpx2.js → generate-4vcrnpx2.js} +0 -0
  702. /package/dist/chunks/{workspace-4y7fprxs.js → generate-4y7fprxs.js} +0 -0
  703. /package/dist/chunks/{workspace-53557ph1.js → generate-53557ph1.js} +0 -0
  704. /package/dist/chunks/{workspace-550bvhaj.js → generate-550bvhaj.js} +0 -0
  705. /package/dist/chunks/{workspace-5qd3pb7m.js → generate-5qd3pb7m.js} +0 -0
  706. /package/dist/chunks/{workspace-6prwharc.js → generate-6prwharc.js} +0 -0
  707. /package/dist/chunks/{workspace-6q2bdcd1.js → generate-6q2bdcd1.js} +0 -0
  708. /package/dist/chunks/{workspace-7akdwqpd.js → generate-7akdwqpd.js} +0 -0
  709. /package/dist/chunks/{workspace-7m9af43g.js → generate-7m9af43g.js} +0 -0
  710. /package/dist/chunks/{workspace-822emrt2.js → generate-822emrt2.js} +0 -0
  711. /package/dist/chunks/{workspace-88xbtdfr.js → generate-88xbtdfr.js} +0 -0
  712. /package/dist/chunks/{workspace-8n3pysct.js → generate-8n3pysct.js} +0 -0
  713. /package/dist/chunks/{workspace-8wj87zfr.js → generate-8wj87zfr.js} +0 -0
  714. /package/dist/chunks/{workspace-9a4afbnw.js → generate-9a4afbnw.js} +0 -0
  715. /package/dist/chunks/{workspace-9rqn6x4v.js → generate-9rqn6x4v.js} +0 -0
  716. /package/dist/chunks/{workspace-a6k6eb26.js → generate-a6k6eb26.js} +0 -0
  717. /package/dist/chunks/{workspace-af5trqkr.js → generate-af5trqkr.js} +0 -0
  718. /package/dist/chunks/{workspace-afrmfg78.js → generate-afrmfg78.js} +0 -0
  719. /package/dist/chunks/{workspace-aqzs7mqg.js → generate-aqzs7mqg.js} +0 -0
  720. /package/dist/chunks/{workspace-atq7p7m5.js → generate-atq7p7m5.js} +0 -0
  721. /package/dist/chunks/{workspace-bkyjaxrp.js → generate-bkyjaxrp.js} +0 -0
  722. /package/dist/chunks/{workspace-bmr6ed5q.js → generate-bmr6ed5q.js} +0 -0
  723. /package/dist/chunks/{workspace-cf4snx6d.js → generate-cf4snx6d.js} +0 -0
  724. /package/dist/chunks/{workspace-cvy3z8tj.js → generate-cvy3z8tj.js} +0 -0
  725. /package/dist/chunks/{workspace-d9fn303g.js → generate-d9fn303g.js} +0 -0
  726. /package/dist/chunks/{workspace-d9jj8t3e.js → generate-d9jj8t3e.js} +0 -0
  727. /package/dist/chunks/{workspace-dajrwvna.js → generate-dajrwvna.js} +0 -0
  728. /package/dist/chunks/{workspace-dap0rakb.js → generate-dap0rakb.js} +0 -0
  729. /package/dist/chunks/{workspace-df08tz66.js → generate-df08tz66.js} +0 -0
  730. /package/dist/chunks/{workspace-dy18nga0.js → generate-dy18nga0.js} +0 -0
  731. /package/dist/chunks/{workspace-e5kj55wp.js → generate-e5kj55wp.js} +0 -0
  732. /package/dist/chunks/{workspace-e73j6tqm.js → generate-e73j6tqm.js} +0 -0
  733. /package/dist/chunks/{workspace-ec1grn59.js → generate-ec1grn59.js} +0 -0
  734. /package/dist/chunks/{workspace-eh3zwz77.js → generate-eh3zwz77.js} +0 -0
  735. /package/dist/chunks/{workspace-emrn6kk6.js → generate-emrn6kk6.js} +0 -0
  736. /package/dist/chunks/{workspace-f0mxakyp.js → generate-f0mxakyp.js} +0 -0
  737. /package/dist/chunks/{workspace-f6n9ztr4.js → generate-f6n9ztr4.js} +0 -0
  738. /package/dist/chunks/{workspace-faypxj3z.js → generate-faypxj3z.js} +0 -0
  739. /package/dist/chunks/{workspace-fd410y7t.js → generate-fd410y7t.js} +0 -0
  740. /package/dist/chunks/{workspace-fxgpk5d8.js → generate-fxgpk5d8.js} +0 -0
  741. /package/dist/chunks/{workspace-g4wezp1m.js → generate-g4wezp1m.js} +0 -0
  742. /package/dist/chunks/{workspace-g86h250q.js → generate-g86h250q.js} +0 -0
  743. /package/dist/chunks/{workspace-gebd4c9n.js → generate-gebd4c9n.js} +0 -0
  744. /package/dist/chunks/{workspace-gftt206x.js → generate-gftt206x.js} +0 -0
  745. /package/dist/chunks/{workspace-hk9envan.js → generate-hk9envan.js} +0 -0
  746. /package/dist/chunks/{workspace-j2ntwpah.js → generate-j2ntwpah.js} +0 -0
  747. /package/dist/chunks/{workspace-j5zkgpj8.js → generate-j5zkgpj8.js} +0 -0
  748. /package/dist/chunks/{workspace-jjkms2e6.js → generate-jjkms2e6.js} +0 -0
  749. /package/dist/chunks/{workspace-jr7sbwjy.js → generate-jr7sbwjy.js} +0 -0
  750. /package/dist/chunks/{workspace-jwfs4k6c.js → generate-jwfs4k6c.js} +0 -0
  751. /package/dist/chunks/{workspace-jzg6c2d5.js → generate-jzg6c2d5.js} +0 -0
  752. /package/dist/chunks/{workspace-mp448xyj.js → generate-mp448xyj.js} +0 -0
  753. /package/dist/chunks/{workspace-msx8hqn2.js → generate-msx8hqn2.js} +0 -0
  754. /package/dist/chunks/{workspace-n05xt0ee.js → generate-n05xt0ee.js} +0 -0
  755. /package/dist/chunks/{workspace-n3j8tn72.js → generate-n3j8tn72.js} +0 -0
  756. /package/dist/chunks/{workspace-njntx4h6.js → generate-njntx4h6.js} +0 -0
  757. /package/dist/chunks/{workspace-q3sfg36h.js → generate-q3sfg36h.js} +0 -0
  758. /package/dist/chunks/{workspace-q74kybfr.js → generate-q74kybfr.js} +0 -0
  759. /package/dist/chunks/{workspace-qaymkmh1.js → generate-qaymkmh1.js} +0 -0
  760. /package/dist/chunks/{workspace-qb87gjwd.js → generate-qb87gjwd.js} +0 -0
  761. /package/dist/chunks/{workspace-qfa1cgps.js → generate-qfa1cgps.js} +0 -0
  762. /package/dist/chunks/{workspace-qg3g05ea.js → generate-qg3g05ea.js} +0 -0
  763. /package/dist/chunks/{workspace-qrg20bc0.js → generate-qrg20bc0.js} +0 -0
  764. /package/dist/chunks/{workspace-rcb2kzg1.js → generate-rcb2kzg1.js} +0 -0
  765. /package/dist/chunks/{workspace-sdp7kfr6.js → generate-sdp7kfr6.js} +0 -0
  766. /package/dist/chunks/{workspace-ssg3fenm.js → generate-ssg3fenm.js} +0 -0
  767. /package/dist/chunks/{workspace-w803qqfp.js → generate-w803qqfp.js} +0 -0
  768. /package/dist/chunks/{workspace-wc3fc9cn.js → generate-wc3fc9cn.js} +0 -0
  769. /package/dist/chunks/{workspace-wer8tq1h.js → generate-wer8tq1h.js} +0 -0
  770. /package/dist/chunks/{workspace-wtztk69x.js → generate-wtztk69x.js} +0 -0
  771. /package/dist/chunks/{workspace-x0ckcb58.js → generate-x0ckcb58.js} +0 -0
  772. /package/dist/chunks/{workspace-x61499pn.js → generate-x61499pn.js} +0 -0
  773. /package/dist/chunks/{workspace-y44na4kk.js → generate-y44na4kk.js} +0 -0
  774. /package/dist/chunks/{workspace-y8cydn3q.js → generate-y8cydn3q.js} +0 -0
  775. /package/dist/chunks/{workspace-y8f7s663.js → generate-y8f7s663.js} +0 -0
  776. /package/dist/chunks/{workspace-ygaqb7jw.js → generate-ygaqb7jw.js} +0 -0
  777. /package/dist/chunks/{workspace-ym463w8f.js → generate-ym463w8f.js} +0 -0
  778. /package/dist/chunks/{workspace-z5v4ffb3.js → generate-z5v4ffb3.js} +0 -0
  779. /package/dist/chunks/{workspace-z9919s4g.js → generate-z9919s4g.js} +0 -0
@@ -1,50 +1,50 @@
1
1
  import {
2
- Service48
3
- } from "./workspace-ejgp49jg.js";
2
+ Service53
3
+ } from "./generate-nnf0xkcj.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./workspace-z5v4ffb3.js";
6
+ } from "./generate-z5v4ffb3.js";
7
7
  import {
8
- Service80
9
- } from "./workspace-2cabk1b6.js";
8
+ Service78
9
+ } from "./generate-rcpb5p8s.js";
10
10
  import {
11
- Service47
12
- } from "./workspace-w8jg2tm8.js";
11
+ Service52
12
+ } from "./generate-4daej8pc.js";
13
13
  import {
14
14
  DirectorySource2,
15
15
  UrlSource2,
16
16
  Source3
17
- } from "./workspace-qj3j2ed4.js";
17
+ } from "./generate-crx1hh5h.js";
18
18
  import {
19
- Service11
20
- } from "./workspace-8a6ws7jr.js";
19
+ Service10
20
+ } from "./generate-wmz9gz0a.js";
21
21
  import {
22
22
  parse2
23
- } from "./workspace-3wfp78gc.js";
23
+ } from "./generate-w59cqdta.js";
24
24
  import {
25
25
  __export
26
- } from "./workspace-9rqn6x4v.js";
26
+ } from "./generate-9rqn6x4v.js";
27
27
 
28
28
  // src/config/plugin/skill.ts
29
- var exports_skill2 = {};
30
- __export(exports_skill2, {
31
- ConfigSkillPlugin: () => exports_skill2,
32
- Plugin: () => Plugin18
29
+ var exports_skill3 = {};
30
+ __export(exports_skill3, {
31
+ ConfigSkillPlugin: () => exports_skill3,
32
+ Plugin: () => Plugin38
33
33
  });
34
34
  import { define } from "@opencode/plugin/effect/plugin";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
37
  import path from "path";
38
38
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
39
- var Plugin18 = define({
39
+ var Plugin38 = define({
40
40
  id: "opencode.config.skill",
41
41
  effect: Effect.fn(function* (ctx) {
42
- const config = yield* Service47;
43
- const discovery = yield* Service11;
42
+ const config = yield* Service52;
43
+ const discovery = yield* Service10;
44
44
  const fs = yield* FSUtil.Service;
45
45
  const global = yield* Global.Service;
46
- const location = yield* Service80;
47
- const watcher = yield* Service48;
46
+ const location = yield* Service78;
47
+ const watcher = yield* Service53;
48
48
  const loaded = {
49
49
  entries: yield* config.entries(),
50
50
  skills: []
@@ -176,4 +176,4 @@ var Plugin18 = define({
176
176
  })
177
177
  });
178
178
 
179
- export { Plugin18, exports_skill2 };
179
+ export { Plugin38, exports_skill3 };
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./workspace-gftt206x.js";
3
+ } from "./generate-gftt206x.js";
4
4
  import {
5
5
  SessionSchema2
6
- } from "./workspace-rrt0a0ha.js";
6
+ } from "./generate-ss358qx3.js";
7
7
  import {
8
8
  MessageDecodeError2
9
- } from "./workspace-easapccs.js";
9
+ } from "./generate-y0ty5fha.js";
10
10
  import {
11
11
  InitializationBlocked2,
12
12
  read3
13
- } from "./workspace-rhjbct0v.js";
13
+ } from "./generate-wv396vej.js";
14
14
  import {
15
15
  SessionMessageTable2
16
- } from "./workspace-kb9j3d72.js";
16
+ } from "./generate-kb9j3d72.js";
17
17
  import {
18
18
  initial2,
19
19
  preview3
20
- } from "./workspace-0dygnakk.js";
20
+ } from "./generate-ntd1qsse.js";
21
21
  import {
22
22
  compatible2,
23
23
  isCheckpoint2,
24
24
  validate2
25
- } from "./workspace-3sj8yt8v.js";
25
+ } from "./generate-gw7cjrad.js";
26
26
  import {
27
27
  __export
28
- } from "./workspace-9rqn6x4v.js";
28
+ } from "./generate-9rqn6x4v.js";
29
29
 
30
30
  // src/session/history.ts
31
31
  var exports_history = {};
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./workspace-2a5m3afh.js";
3
+ } from "./generate-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./workspace-z5v4ffb3.js";
6
+ } from "./generate-z5v4ffb3.js";
7
7
  import {
8
- Service80
9
- } from "./workspace-2cabk1b6.js";
8
+ Service78
9
+ } from "./generate-rcpb5p8s.js";
10
10
  import {
11
- Service45
12
- } from "./workspace-qhjkx6qf.js";
11
+ Service57
12
+ } from "./generate-e9a6z8qn.js";
13
13
  import {
14
14
  InvalidPatternError2,
15
- Service15
16
- } from "./workspace-z0cec5bd.js";
15
+ Service41
16
+ } from "./generate-rgxvve62.js";
17
17
  import {
18
18
  DEFAULT_SEARCH_LIMIT2,
19
19
  DEFAULT_SEARCH_TIMEOUT_MS2,
20
20
  GrepInput2,
21
21
  Entry2,
22
22
  Match2
23
- } from "./workspace-kpv8xpp3.js";
23
+ } from "./generate-apddja33.js";
24
24
  import {
25
- Service60
26
- } from "./workspace-74f6ffmn.js";
25
+ Service73
26
+ } from "./generate-hvdpr3cg.js";
27
27
  import {
28
- Service17
29
- } from "./workspace-4ctbs581.js";
28
+ Service72
29
+ } from "./generate-7gw9h0sc.js";
30
30
  import {
31
31
  __export
32
- } from "./workspace-9rqn6x4v.js";
32
+ } from "./generate-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/grep.ts
35
35
  var exports_grep = {};
36
36
  __export(exports_grep, {
37
37
  GrepTool: () => exports_grep,
38
- Input: () => Input4,
39
- Output: () => Output4,
40
- Plugin: () => Plugin5,
41
- name: () => name4,
42
- toModelContent: () => toModelContent2
38
+ Input: () => Input9,
39
+ Output: () => Output6,
40
+ Plugin: () => Plugin12,
41
+ name: () => name9,
42
+ toModelContent: () => toModelContent5
43
43
  });
44
44
  import { ToolFailure } from "@opencode/ai";
45
45
  import { Effect, Schema } from "effect";
46
46
  import path from "path";
47
- var name4 = "grep";
48
- var Input4 = Schema.Struct({
47
+ var name9 = "grep";
48
+ var Input9 = Schema.Struct({
49
49
  pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
50
50
  description: "Regular expression or literal text to match in file contents."
51
51
  }),
@@ -65,8 +65,8 @@ var Input4 = Schema.Struct({
65
65
  description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
66
66
  })
67
67
  });
68
- var Output4 = Schema.Array(Match2);
69
- var toModelContent2 = (matches, truncated = false) => {
68
+ var Output6 = Schema.Array(Match2);
69
+ var toModelContent5 = (matches, truncated = false) => {
70
70
  const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
71
71
  let current = "";
72
72
  for (const match of matches) {
@@ -83,26 +83,26 @@ var toModelContent2 = (matches, truncated = false) => {
83
83
  return lines.join(`
84
84
  `);
85
85
  };
86
- var Plugin5 = {
86
+ var Plugin12 = {
87
87
  id: "opencode.tool.grep",
88
88
  effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
89
- const environment = yield* Service45;
90
- const ripgrep = yield* Service15;
91
- const location = yield* Service80;
92
- const access = yield* Service17;
93
- const permission = yield* Service60;
89
+ const environment = yield* Service57;
90
+ const ripgrep = yield* Service41;
91
+ const location = yield* Service78;
92
+ const access = yield* Service72;
93
+ const permission = yield* Service73;
94
94
  yield* ctx.tool.transform((editor) => editor.add({
95
- name: name4,
95
+ name: name9,
96
96
  options: { codemode: false },
97
97
  description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
98
- input: Input4,
99
- output: Output4,
98
+ input: Input9,
99
+ output: Output6,
100
100
  execute: (input, context) => Effect.gen(function* () {
101
101
  const source = { type: "tool", messageID: context.messageID, id: context.id };
102
102
  const target = yield* access.resolve({ path: input.path ?? "." });
103
103
  yield* access.authorizeExternal([target], context);
104
104
  yield* permission.assert({
105
- action: name4,
105
+ action: name9,
106
106
  resources: [input.pattern],
107
107
  save: ["*"],
108
108
  metadata: {
@@ -144,7 +144,7 @@ var Plugin5 = {
144
144
  return { matches: matches.slice(0, limit), truncated: matches.length > limit };
145
145
  }).pipe(Effect.map((result) => ({
146
146
  output: result.matches,
147
- content: toModelContent2(result.matches.map((match) => ({
147
+ content: toModelContent5(result.matches.map((match) => ({
148
148
  ...match,
149
149
  entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
150
150
  })), result.truncated),
@@ -154,4 +154,4 @@ var Plugin5 = {
154
154
  })
155
155
  };
156
156
 
157
- export { name4, Input4, Output4, toModelContent2, Plugin5, exports_grep };
157
+ export { name9, Input9, Output6, toModelContent5, Plugin12, exports_grep };
@@ -1,51 +1,51 @@
1
1
  import {
2
- ID9,
3
- Service63
4
- } from "./workspace-2kapx5s0.js";
2
+ ID15,
3
+ Service76
4
+ } from "./generate-67aj8cse.js";
5
5
  import {
6
6
  Ref2,
7
- Service69
8
- } from "./workspace-pbp90nbc.js";
7
+ Service64
8
+ } from "./generate-qn8ykj5w.js";
9
9
  import {
10
10
  latest2,
11
- Service47
12
- } from "./workspace-w8jg2tm8.js";
11
+ Service52
12
+ } from "./generate-4daej8pc.js";
13
13
  import {
14
14
  SessionSchema2
15
- } from "./workspace-rrt0a0ha.js";
15
+ } from "./generate-ss358qx3.js";
16
16
  import {
17
- Service59
18
- } from "./workspace-bf3ep3zf.js";
17
+ Service58
18
+ } from "./generate-yf954nqe.js";
19
19
  import {
20
20
  evaluate2,
21
- Service60
22
- } from "./workspace-74f6ffmn.js";
21
+ Service73
22
+ } from "./generate-hvdpr3cg.js";
23
23
  import {
24
- Service25
25
- } from "./workspace-vgfxpara.js";
24
+ Service18
25
+ } from "./generate-14fzmqmc.js";
26
26
  import {
27
27
  NO_TEXT2
28
- } from "./workspace-6xb47vfp.js";
28
+ } from "./generate-6xb47vfp.js";
29
29
  import {
30
- make6
31
- } from "./workspace-04792bgd.js";
30
+ make11
31
+ } from "./generate-y0h8bdjy.js";
32
32
  import {
33
33
  __export
34
- } from "./workspace-9rqn6x4v.js";
34
+ } from "./generate-9rqn6x4v.js";
35
35
 
36
36
  // src/tool/plugin/subagent.ts
37
37
  var exports_subagent = {};
38
38
  __export(exports_subagent, {
39
- Input: () => Input3,
40
- Output: () => Output3,
41
- Plugin: () => Plugin4,
39
+ Input: () => Input10,
40
+ Output: () => Output7,
41
+ Plugin: () => Plugin13,
42
42
  SubagentTool: () => exports_subagent,
43
- description: () => description2,
44
- name: () => name3
43
+ description: () => description4,
44
+ name: () => name10
45
45
  });
46
46
  import { ToolFailure } from "@opencode/ai";
47
47
  import { Effect, Predicate, Schema } from "effect";
48
- var name3 = "subagent";
48
+ var name10 = "subagent";
49
49
  var backgroundResult = (sessionID) => ({
50
50
  sessionID,
51
51
  status: "running",
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
56
56
  ].join(`
57
57
  `)
58
58
  });
59
- var Input3 = Schema.Struct({
59
+ var Input10 = Schema.Struct({
60
60
  agent: Schema.String.annotate({
61
61
  description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
62
62
  }),
@@ -72,12 +72,12 @@ var Input3 = Schema.Struct({
72
72
  description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
73
73
  })
74
74
  });
75
- var Output3 = Schema.Struct({
75
+ var Output7 = Schema.Struct({
76
76
  sessionID: SessionSchema2.ID,
77
77
  status: Schema.Literals(["completed", "running"]),
78
78
  output: Schema.String
79
79
  });
80
- var description2 = [
80
+ var description4 = [
81
81
  "Spawns an agent in a child session to work on the specified task.",
82
82
  "The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
83
83
  "New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
@@ -86,16 +86,16 @@ var description2 = [
86
86
  "Use background only for independent work that can run while you continue elsewhere."
87
87
  ].join(`
88
88
  `);
89
- var Plugin4 = {
89
+ var Plugin13 = {
90
90
  id: "opencode.tool.subagent",
91
91
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
92
- const sessions = yield* Service25;
93
- const jobs = yield* Service59;
94
- const agents = yield* Service63;
95
- const config = yield* Service47;
96
- const permission = yield* Service60;
97
- const models = yield* Service69;
98
- const subagents = yield* make6;
92
+ const sessions = yield* Service18;
93
+ const jobs = yield* Service58;
94
+ const agents = yield* Service76;
95
+ const config = yield* Service52;
96
+ const permission = yield* Service73;
97
+ const models = yield* Service64;
98
+ const subagents = yield* make11;
99
99
  const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
100
100
  const ref = yield* Effect.try({
101
101
  try: () => Ref2.parse(input),
@@ -115,11 +115,11 @@ var Plugin4 = {
115
115
  return ref;
116
116
  });
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name3,
118
+ name: name10,
119
119
  options: { codemode: false },
120
- description: description2,
121
- input: Input3,
122
- output: Output3,
120
+ description: description4,
121
+ input: Input10,
122
+ output: Output7,
123
123
  execute: (input, context) => Effect.gen(function* () {
124
124
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
125
125
  let current = parent;
@@ -139,7 +139,7 @@ var Plugin4 = {
139
139
  if (agent.mode === "primary")
140
140
  return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
141
141
  yield* permission.assert({
142
- action: name3,
142
+ action: name10,
143
143
  resources: [agent.id],
144
144
  save: [agent.id],
145
145
  sessionID: context.sessionID,
@@ -168,7 +168,7 @@ var Plugin4 = {
168
168
  const child = existing ?? (yield* sessions.create({
169
169
  parentID: context.sessionID,
170
170
  title: input.description,
171
- agent: ID9.make(input.agent),
171
+ agent: ID15.make(input.agent),
172
172
  model
173
173
  }).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
174
174
  const background = input.background === true;
@@ -218,7 +218,7 @@ ${output.output}
218
218
  })))
219
219
  })).pipe(Effect.orDie);
220
220
  yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
221
- if (event.tool !== name3 || !Predicate.isObject(event.input))
221
+ if (event.tool !== name10 || !Predicate.isObject(event.input))
222
222
  return;
223
223
  if (event.input.model !== "" && event.input.sessionID !== "")
224
224
  return;
@@ -230,13 +230,13 @@ ${output.output}
230
230
  event.input = input;
231
231
  }));
232
232
  const hook = (event) => Effect.gen(function* () {
233
- const tool = event.tools[name3];
233
+ const tool = event.tools[name10];
234
234
  if (!tool)
235
235
  return;
236
236
  const selected = yield* agents.resolve(event.agent);
237
237
  if (!selected)
238
238
  return;
239
- const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name3, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
239
+ const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name10, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
240
240
  if (available.length === 0)
241
241
  return;
242
242
  tool.description = [
@@ -253,4 +253,4 @@ ${output.output}
253
253
  })
254
254
  };
255
255
 
256
- export { name3, Input3, Output3, description2, Plugin4, exports_subagent };
256
+ export { name10, Input10, Output7, description4, Plugin13, exports_subagent };
@@ -1,7 +1,7 @@
1
1
  // src/session/schema.ts
2
2
  import * as SessionSchema2 from "@opencode/schema/session";
3
3
  import { Session } from "@opencode/schema/session";
4
- var ID8 = Session.ID;
5
- var Info17 = Session.Info;
4
+ var ID16 = Session.ID;
5
+ var Info26 = Session.Info;
6
6
 
7
- export { ID8, Info17, SessionSchema2 };
7
+ export { ID16, Info26, SessionSchema2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID10
3
- } from "./workspace-pbp90nbc.js";
2
+ ID7
3
+ } from "./generate-qn8ykj5w.js";
4
4
 
5
5
  // src/plugin/provider/openrouter.ts
6
6
  import { Effect } from "effect";
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
21
21
  for (const item of models.provider.list()) {
22
22
  if (item.provider.package !== "@opencode/ai/providers/openrouter")
23
23
  continue;
24
- for (const modelID of [ID10.make("gpt-5-chat-latest"), ID10.make("openai/gpt-5-chat")]) {
24
+ for (const modelID of [ID7.make("gpt-5-chat-latest"), ID7.make("openai/gpt-5-chat")]) {
25
25
  if (!models.get(item.provider.id, modelID))
26
26
  continue;
27
27
  models.update(item.provider.id, modelID, (model) => {
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./workspace-kgzx153c.js";
4
+ } from "./generate-me39y7pc.js";
5
5
  import {
6
6
  Service83,
7
7
  node87
8
- } from "./workspace-rfmnp9jb.js";
8
+ } from "./generate-wdkjs4sn.js";
9
9
  import {
10
- Service58,
11
- node60
12
- } from "./workspace-07w59vex.js";
10
+ Service36,
11
+ node38
12
+ } from "./generate-j5w2yx54.js";
13
13
  import {
14
14
  AbsolutePath2,
15
15
  RelativePath2
16
- } from "./workspace-z5v4ffb3.js";
16
+ } from "./generate-z5v4ffb3.js";
17
17
  import {
18
- Service81,
19
- node85
20
- } from "./workspace-wqzz8241.js";
18
+ Service79,
19
+ node83
20
+ } from "./generate-dbztx8wp.js";
21
21
  import {
22
22
  Ref4
23
- } from "./workspace-2cabk1b6.js";
23
+ } from "./generate-rcpb5p8s.js";
24
24
  import {
25
- Service79,
26
- node83
27
- } from "./workspace-b61vcdbg.js";
25
+ Service69,
26
+ node72
27
+ } from "./generate-rav032ka.js";
28
28
  import {
29
29
  SessionMessage2
30
- } from "./workspace-gftt206x.js";
30
+ } from "./generate-gftt206x.js";
31
31
  import {
32
- NotFoundError7
33
- } from "./workspace-easapccs.js";
32
+ NotFoundError9
33
+ } from "./generate-y0ty5fha.js";
34
34
  import {
35
35
  SessionEvent2
36
- } from "./workspace-ec1grn59.js";
36
+ } from "./generate-ec1grn59.js";
37
37
  import {
38
- Service55
39
- } from "./workspace-ckf8nxjz.js";
38
+ Service34
39
+ } from "./generate-m70sbz6t.js";
40
40
  import {
41
- Service61,
42
- node63
43
- } from "./workspace-f6626pn0.js";
41
+ Service75,
42
+ node79
43
+ } from "./generate-xc7geeyn.js";
44
44
  import {
45
45
  Item2,
46
46
  serialized2,
47
- Service56,
48
- node58,
47
+ Service35,
48
+ node37,
49
49
  moveIDs2
50
- } from "./workspace-qx4ps3zc.js";
50
+ } from "./generate-wek9mqa7.js";
51
51
  import {
52
- Service54,
53
- node57
54
- } from "./workspace-57nggxpn.js";
52
+ Service33,
53
+ node36
54
+ } from "./generate-f6dd175t.js";
55
55
  import {
56
- node33
57
- } from "./workspace-sb1pzkvh.js";
56
+ node23
57
+ } from "./generate-69t9n7ne.js";
58
58
  import {
59
59
  __export
60
- } from "./workspace-9rqn6x4v.js";
60
+ } from "./generate-9rqn6x4v.js";
61
61
 
62
62
  // src/session/move.ts
63
63
  var exports_move = {};
@@ -65,9 +65,9 @@ __export(exports_move, {
65
65
  DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
66
66
  DestinationNotFoundError: () => DestinationNotFoundError2,
67
67
  DestinationUnavailableError: () => DestinationUnavailableError2,
68
- Service: () => Service29,
68
+ Service: () => Service19,
69
69
  SessionMove: () => exports_move,
70
- node: () => node32
70
+ node: () => node22
71
71
  });
72
72
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
73
73
  import { FSUtil } from "@opencode/util/fs-util";
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
83
83
  class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
84
84
  }
85
85
 
86
- class Service29 extends Context.Service()("@opencode/SessionMove") {
86
+ class Service19 extends Context.Service()("@opencode/SessionMove") {
87
87
  }
88
- var layer = Layer.effect(Service29, Effect.gen(function* () {
88
+ var layer = Layer.effect(Service19, Effect.gen(function* () {
89
89
  const fs = yield* FSUtil.Service;
90
90
  const global = yield* Global.Service;
91
- const projects = yield* Service81;
92
- const locations = yield* Service79;
93
- const store = yield* Service61;
94
- const execution = yield* Service54;
95
- const instances = yield* Service58;
96
- const admission = yield* Service56;
91
+ const projects = yield* Service79;
92
+ const locations = yield* Service69;
93
+ const store = yield* Service75;
94
+ const execution = yield* Service33;
95
+ const instances = yield* Service36;
96
+ const admission = yield* Service35;
97
97
  const database = yield* Service84;
98
98
  const bus = yield* Service83;
99
99
  const get = Effect.fn("SessionMove.get")(function* (sessionID) {
100
100
  const session = yield* store.get(sessionID);
101
101
  if (!session)
102
- return yield* new NotFoundError7({ sessionID });
102
+ return yield* new NotFoundError9({ sessionID });
103
103
  return session;
104
104
  });
105
105
  const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
131
131
  return false;
132
132
  if (!(yield* fs.isDir(session.location.directory)))
133
133
  return true;
134
- return yield* Service55.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(Cause.fromReasons(cause.reasons.filter(Cause.isInterruptReason))) : Effect.succeed(true)));
134
+ return yield* Service34.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(Cause.fromReasons(cause.reasons.filter(Cause.isInterruptReason))) : Effect.succeed(true)));
135
135
  });
136
- return Service29.of({
136
+ return Service19.of({
137
137
  move: Effect.fn("SessionMove.move")(function* (input) {
138
138
  const session = yield* get(input.sessionID);
139
139
  const destination = yield* resolveDestination(session, input);
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
163
163
  })
164
164
  });
165
165
  }));
166
- var node32 = makeGlobalNode({
167
- service: Service29,
166
+ var node22 = makeGlobalNode({
167
+ service: Service19,
168
168
  layer,
169
169
  deps: [
170
170
  FSUtil.node,
171
171
  Global.node,
172
- node85,
173
172
  node83,
174
- node63,
175
- node57,
176
- node60,
177
- node58,
173
+ node72,
174
+ node79,
175
+ node36,
176
+ node38,
177
+ node37,
178
178
  node88,
179
179
  node87,
180
- node33
180
+ node23
181
181
  ]
182
182
  });
183
183
 
184
- export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service29, node32, exports_move };
184
+ export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service19, node22, exports_move };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./workspace-9rqn6x4v.js";
3
+ } from "./generate-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/command.ts
6
6
  var exports_command5 = {};